diff --git a/cmd/gopcomm/yap/markdown-vue/README.md b/cmd/gopcomm/yap/markdown-vue/README.md new file mode 100644 index 0000000..e62e093 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/README.md @@ -0,0 +1,7 @@ +# Vue 3 + Vite + +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` + + + + + \ No newline at end of file diff --git a/cmd/gopcomm/yap/markdown-vue/gop.html b/cmd/gopcomm/yap/markdown-vue/gop.html new file mode 100644 index 0000000..370a5ef --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/gop.html @@ -0,0 +1,84 @@ + + + + + + + + fields := [ + "engineering", + "STEM education", + "and data science", + ] + + println "The Go+ language for", fields.join(", ") + + + + \ No newline at end of file diff --git a/cmd/gopcomm/yap/markdown-vue/index.html b/cmd/gopcomm/yap/markdown-vue/index.html new file mode 100644 index 0000000..ff076c9 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/index.html @@ -0,0 +1,12 @@ + + + + + + Markdown + + +
+ + + diff --git a/cmd/gopcomm/yap/markdown-vue/package-lock.json b/cmd/gopcomm/yap/markdown-vue/package-lock.json new file mode 100644 index 0000000..3ea968f --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/package-lock.json @@ -0,0 +1,5428 @@ +{ + "name": "vue-cherry", + "version": "0.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "vue-cherry", + "version": "0.0.0", + "dependencies": { + "@ant-design/icons-vue": "^7.0.1", + "ant-design-vue": "^4.1.1", + "axios": "^1.6.5", + "cherry-markdown": "^0.8.35", + "http-server": "^14.1.1", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "typescript": "^5.3.3", + "vue": "^3.3.11", + "vue-meta": "^2.4.0", + "vuera": "^0.2.7" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^4.5.2", + "naive-ui": "^2.37.3", + "sass": "^1.69.7", + "vfonts": "^0.0.3", + "vite": "^5.0.8" + } + }, + "node_modules/@ant-design/colors": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/@ant-design/colors/-/colors-6.0.0.tgz", + "integrity": "sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==", + "dependencies": { + "@ctrl/tinycolor": "^3.4.0" + } + }, + "node_modules/@ant-design/icons-svg": { + "version": "4.3.2", + "resolved": "https://registry.npmmirror.com/@ant-design/icons-svg/-/icons-svg-4.3.2.tgz", + "integrity": "sha512-s9WV19cXTC/Tux/XpDru/rCfPZQhGaho36B+9RrN1v5YsaKmE6dJ+fq6LQnXVBVYjzkqykEEK+1XG+SYiottTQ==" + }, + "node_modules/@ant-design/icons-vue": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/@ant-design/icons-vue/-/icons-vue-7.0.1.tgz", + "integrity": "sha512-eCqY2unfZK6Fe02AwFlDHLfoyEFreP6rBwAZMIJ1LugmfMiVgwWDYlp1YsRugaPtICYOabV1iWxXdP12u9U43Q==", + "dependencies": { + "@ant-design/colors": "^6.0.0", + "@ant-design/icons-svg": "^4.2.1" + }, + "peerDependencies": { + "vue": ">=3.0.3" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.6", + "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.23.8", + "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.23.8.tgz", + "integrity": "sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw==", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@braintree/sanitize-url": { + "version": "6.0.4", + "resolved": "https://registry.npmmirror.com/@braintree/sanitize-url/-/sanitize-url-6.0.4.tgz", + "integrity": "sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==", + "optional": true + }, + "node_modules/@css-render/plugin-bem": { + "version": "0.15.12", + "resolved": "https://registry.npmmirror.com/@css-render/plugin-bem/-/plugin-bem-0.15.12.tgz", + "integrity": "sha512-Lq2jSOZn+wYQtsyaFj6QRz2EzAnd3iW5fZeHO1WSXQdVYwvwGX0ZiH3X2JQgtgYLT1yeGtrwrqJdNdMEUD2xTw==", + "dev": true, + "peerDependencies": { + "css-render": "~0.15.12" + } + }, + "node_modules/@css-render/vue3-ssr": { + "version": "0.15.12", + "resolved": "https://registry.npmmirror.com/@css-render/vue3-ssr/-/vue3-ssr-0.15.12.tgz", + "integrity": "sha512-AQLGhhaE0F+rwybRCkKUdzBdTEM/5PZBYy+fSYe1T9z9+yxMuV/k7ZRqa4M69X+EI1W8pa4kc9Iq2VjQkZx4rg==", + "dev": true, + "peerDependencies": { + "vue": "^3.0.11" + } + }, + "node_modules/@ctrl/tinycolor": { + "version": "3.6.1", + "resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", + "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/@emotion/hash": { + "version": "0.8.0", + "resolved": "https://registry.npmmirror.com/@emotion/hash/-/hash-0.8.0.tgz", + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==", + "dev": true + }, + "node_modules/@emotion/unitless": { + "version": "0.8.1", + "resolved": "https://registry.npmmirror.com/@emotion/unitless/-/unitless-0.8.1.tgz", + "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", + "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.19.11.tgz", + "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", + "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.19.11.tgz", + "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", + "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", + "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", + "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", + "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", + "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", + "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", + "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", + "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", + "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", + "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", + "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", + "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", + "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", + "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", + "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", + "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", + "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", + "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", + "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "node_modules/@juggle/resize-observer": { + "version": "3.4.0", + "resolved": "https://registry.npmmirror.com/@juggle/resize-observer/-/resize-observer-3.4.0.tgz", + "integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==", + "dev": true + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.5.tgz", + "integrity": "sha512-idWaG8xeSRCfRq9KpRysDHJ/rEHBEXcHuJ82XY0yYFIWnLMjZv9vF/7DOq8djQ2n3Lk6+3qfSH8AqlmHlmi1MA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.5.tgz", + "integrity": "sha512-f14d7uhAMtsCGjAYwZGv6TwuS3IFaM4ZnGMUn3aCBgkcHAYErhV1Ad97WzBvS2o0aaDv4mVz+syiN0ElMyfBPg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.5.tgz", + "integrity": "sha512-ndoXeLx455FffL68OIUrVr89Xu1WLzAG4n65R8roDlCoYiQcGGg6MALvs2Ap9zs7AHg8mpHtMpwC8jBBjZrT/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.5.tgz", + "integrity": "sha512-UmElV1OY2m/1KEEqTlIjieKfVwRg0Zwg4PLgNf0s3glAHXBN99KLpw5A5lrSYCa1Kp63czTpVll2MAqbZYIHoA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.5.tgz", + "integrity": "sha512-Q0LcU61v92tQB6ae+udZvOyZ0wfpGojtAKrrpAaIqmJ7+psq4cMIhT/9lfV6UQIpeItnq/2QDROhNLo00lOD1g==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.5.tgz", + "integrity": "sha512-dkRscpM+RrR2Ee3eOQmRWFjmV/payHEOrjyq1VZegRUa5OrZJ2MAxBNs05bZuY0YCtpqETDy1Ix4i/hRqX98cA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.5.tgz", + "integrity": "sha512-QaKFVOzzST2xzY4MAmiDmURagWLFh+zZtttuEnuNn19AiZ0T3fhPyjPPGwLNdiDT82ZE91hnfJsUiDwF9DClIQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.5.tgz", + "integrity": "sha512-HeGqmRJuyVg6/X6MpE2ur7GbymBPS8Np0S/vQFHDmocfORT+Zt76qu+69NUoxXzGqVP1pzaY6QIi0FJWLC3OPA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.5.tgz", + "integrity": "sha512-Dq1bqBdLaZ1Gb/l2e5/+o3B18+8TI9ANlA1SkejZqDgdU/jK/ThYaMPMJpVMMXy2uRHvGKbkz9vheVGdq3cJfA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.5.tgz", + "integrity": "sha512-ezyFUOwldYpj7AbkwyW9AJ203peub81CaAIVvckdkyH8EvhEIoKzaMFJj0G4qYJ5sw3BpqhFrsCc30t54HV8vg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.5.tgz", + "integrity": "sha512-aHSsMnUw+0UETB0Hlv7B/ZHOGY5bQdwMKJSzGfDfvyhnpmVxLMGnQPGNE9wgqkLUs3+gbG1Qx02S2LLfJ5GaRQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.5.tgz", + "integrity": "sha512-AiqiLkb9KSf7Lj/o1U3SEP9Zn+5NuVKgFdRIZkvd4N0+bYrTOovVd0+LmYCPQGbocT4kvFyK+LXCDiXPBF3fyA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.5.tgz", + "integrity": "sha512-1q+mykKE3Vot1kaFJIDoUFv5TuW+QQVaf2FmTT9krg86pQrGStOSJJ0Zil7CFagyxDuouTepzt5Y5TVzyajOdQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@simonwep/pickr": { + "version": "1.8.2", + "resolved": "https://registry.npmmirror.com/@simonwep/pickr/-/pickr-1.8.2.tgz", + "integrity": "sha512-/l5w8BIkrpP6n1xsetx9MWPWlU6OblN5YgZZphxan0Tq4BByTCETL6lyIeY8lagalS2Nbt4F2W034KHLIiunKA==", + "dependencies": { + "core-js": "^3.15.1", + "nanopop": "^2.1.0" + } + }, + "node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "engines": { + "node": ">= 10" + } + }, + "node_modules/@types/codemirror": { + "version": "0.0.108", + "resolved": "https://registry.npmmirror.com/@types/codemirror/-/codemirror-0.0.108.tgz", + "integrity": "sha512-3FGFcus0P7C2UOGCNUVENqObEb4SFk+S8Dnxq7K6aIsLVs/vDtlangl3PEO0ykaKXyK56swVF6Nho7VsA44uhw==", + "dependencies": { + "@types/tern": "*" + } + }, + "node_modules/@types/dompurify": { + "version": "2.4.0", + "resolved": "https://registry.npmmirror.com/@types/dompurify/-/dompurify-2.4.0.tgz", + "integrity": "sha512-IDBwO5IZhrKvHFUl+clZxgf3hn2b/lU6H1KaBShPkQyGJUQ0xwebezIPSuiyGwfz1UzJWQl4M7BDxtHtCCPlTg==", + "dependencies": { + "@types/trusted-types": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" + }, + "node_modules/@types/katex": { + "version": "0.16.7", + "resolved": "https://registry.npmmirror.com/@types/katex/-/katex-0.16.7.tgz", + "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==", + "dev": true + }, + "node_modules/@types/lodash": { + "version": "4.14.202", + "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.202.tgz", + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", + "dev": true + }, + "node_modules/@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", + "dev": true, + "dependencies": { + "@types/lodash": "*" + } + }, + "node_modules/@types/tern": { + "version": "0.23.9", + "resolved": "https://registry.npmmirror.com/@types/tern/-/tern-0.23.9.tgz", + "integrity": "sha512-ypzHFE/wBzh+BlH6rrBgS5I/Z7RD21pGhZ2rltb/+ZrVM1awdZwjx7hE5XfuYgHWk9uvV5HLZN3SloevCAp3Bw==", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmmirror.com/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" + }, + "node_modules/@vitejs/plugin-vue": { + "version": "4.6.2", + "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-4.6.2.tgz", + "integrity": "sha512-kqf7SGFoG+80aZG6Pf+gsZIVvGSCKE98JbiWqcCV9cThtg91Jav0yvYFC9Zb+jKetNGF6ZKeoaxgZfND21fWKw==", + "dev": true, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.0.0 || ^5.0.0", + "vue": "^3.2.25" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.4.13.tgz", + "integrity": "sha512-zGUdmB3j3Irn9z51GXLJ5s0EAHxmsm5/eXl0y6MBaajMeOAaiT4+zaDoxui4Ets98dwIRr8BBaqXXHtHSfm+KA==", + "dependencies": { + "@babel/parser": "^7.23.6", + "@vue/shared": "3.4.13", + "entities": "^4.5.0", + "estree-walker": "^2.0.2", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-dom": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.4.13.tgz", + "integrity": "sha512-XSNbpr5Rs3kCfVAmBqMu/HDwOS+RL6y28ZZjDlnDUuf146pRWt2sQkwhsOYc9uu2lxjjJy2NcyOkK7MBLVEc7w==", + "dependencies": { + "@vue/compiler-core": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.4.13.tgz", + "integrity": "sha512-SkpmQN8xIFBd5onT413DFSDdjxULJf6jmJg/t3w/DZ9I8ZzyNlLIBLO0qFLewVHyHCiAgpPZlWqSRZXYrawk3Q==", + "dependencies": { + "@babel/parser": "^7.23.6", + "@vue/compiler-core": "3.4.13", + "@vue/compiler-dom": "3.4.13", + "@vue/compiler-ssr": "3.4.13", + "@vue/shared": "3.4.13", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.5", + "postcss": "^8.4.32", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.4.13.tgz", + "integrity": "sha512-rwnw9SVBgD6eGKh8UucnwztieQo/R3RQrEGpE0b0cxb2xxvJeLs/fe7DoYlhEfaSyzM/qD5odkK87hl3G3oW+A==", + "dependencies": { + "@vue/compiler-dom": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "node_modules/@vue/reactivity": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.4.13.tgz", + "integrity": "sha512-/ZdUOrGKkGVONzVJkfDqNcn2fLMvaa5VlYx2KwTbnRbX06YZ4GJE0PVTmWzIxtBYdpSTLLXgw3pDggO+96KXzg==", + "dependencies": { + "@vue/shared": "3.4.13" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.4.13.tgz", + "integrity": "sha512-Ov4d4At7z3goxqzSqQxdfVYEcN5HY4dM1uDYL6Hu/Es9Za9BEN602zyjWhhi2+BEki5F9NizRSvn02k/tqNWlg==", + "dependencies": { + "@vue/reactivity": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.4.13.tgz", + "integrity": "sha512-ynde9p16eEV3u1VCxUre2e0nKzD0l3NzH0r599+bXeLT1Yhac8Atcot3iL9XNqwolxYCI89KBII+2MSVzfrz6w==", + "dependencies": { + "@vue/runtime-core": "3.4.13", + "@vue/shared": "3.4.13", + "csstype": "^3.1.3" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.4.13.tgz", + "integrity": "sha512-hkw+UQyDZZtSn1q30nObMfc8beVEQv2pG08nghigxGw+iOWodR+tWSuJak0mzWAHlP/xt/qLc//dG6igfgvGEA==", + "dependencies": { + "@vue/compiler-ssr": "3.4.13", + "@vue/shared": "3.4.13" + }, + "peerDependencies": { + "vue": "3.4.13" + } + }, + "node_modules/@vue/shared": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.4.13.tgz", + "integrity": "sha512-56crFKLPpzk85WXX1L1c0QzPOuoapWlPVys8eMG8kkRmqdMjWUqK8KpFdE2d7BQA4CEbXwyyHPq6MpFr8H9rcg==" + }, + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "deprecated": "Use your platform's native atob() and btoa() methods instead" + }, + "node_modules/acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "node_modules/acorn-globals/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ant-design-vue": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/ant-design-vue/-/ant-design-vue-4.1.1.tgz", + "integrity": "sha512-YLhDHhGvegGEczxDqIiiZIJsTHh3dge5Rf94n17sp24gAcey0hDaLtYWM0Z/+N8EheAcM0w3fePvYGMxwGxSDg==", + "dependencies": { + "@ant-design/colors": "^6.0.0", + "@ant-design/icons-vue": "^7.0.0", + "@babel/runtime": "^7.10.5", + "@ctrl/tinycolor": "^3.5.0", + "@emotion/hash": "^0.9.0", + "@emotion/unitless": "^0.8.0", + "@simonwep/pickr": "~1.8.0", + "array-tree-filter": "^2.1.0", + "async-validator": "^4.0.0", + "csstype": "^3.1.1", + "dayjs": "^1.10.5", + "dom-align": "^1.12.1", + "dom-scroll-into-view": "^2.0.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.15", + "resize-observer-polyfill": "^1.5.1", + "scroll-into-view-if-needed": "^2.2.25", + "shallow-equal": "^1.0.0", + "stylis": "^4.1.3", + "throttle-debounce": "^5.0.0", + "vue-types": "^3.0.0", + "warning": "^4.0.0" + }, + "engines": { + "node": ">=12.22.0" + }, + "peerDependencies": { + "vue": ">=3.2.0" + } + }, + "node_modules/ant-design-vue/node_modules/@emotion/hash": { + "version": "0.9.1", + "resolved": "https://registry.npmmirror.com/@emotion/hash/-/hash-0.9.1.tgz", + "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/array-tree-filter": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/array-tree-filter/-/array-tree-filter-2.1.0.tgz", + "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==" + }, + "node_modules/async": { + "version": "2.6.4", + "resolved": "https://registry.npmmirror.com/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/async-validator": { + "version": "4.2.5", + "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-4.2.5.tgz", + "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/axios": { + "version": "1.6.5", + "resolved": "https://registry.npmmirror.com/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "dependencies": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/basic-auth": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/basic-auth/-/basic-auth-2.0.1.tgz", + "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" + }, + "node_modules/call-bind": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "dependencies": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cherry-markdown": { + "version": "0.8.35", + "resolved": "https://registry.npmmirror.com/cherry-markdown/-/cherry-markdown-0.8.35.tgz", + "integrity": "sha512-TBvrMGSsmiQH1XiUXca1gdypNZFb0Wk0ANRDuVT6IGuD8qEqSGG8xYpkAysu6iTkuSyfantIKlYuXG81g6AwCQ==", + "dependencies": { + "@types/codemirror": "^0.0.108", + "@types/dompurify": "^2.2.3", + "jsdom": "~19.0.0" + }, + "engines": { + "node": ">=14" + }, + "optionalDependencies": { + "mermaid": "9.4.3" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "optional": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/compute-scroll-into-view": { + "version": "1.0.20", + "resolved": "https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==" + }, + "node_modules/core-js": { + "version": "3.35.1", + "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.35.1.tgz", + "integrity": "sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==", + "hasInstallScript": true + }, + "node_modules/corser": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/corser/-/corser-2.0.1.tgz", + "integrity": "sha512-utCYNzRSQIZNPIcGZdQc92UVJYAhtGAteCFg0yRaFm8f0P+CPtyGyHXJcGXnffjCybUCEx3FQ2G7U3/o9eIkVQ==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/cose-base": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/cose-base/-/cose-base-1.0.3.tgz", + "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==", + "optional": true, + "dependencies": { + "layout-base": "^1.0.0" + } + }, + "node_modules/css-render": { + "version": "0.15.12", + "resolved": "https://registry.npmmirror.com/css-render/-/css-render-0.15.12.tgz", + "integrity": "sha512-eWzS66patiGkTTik+ipO9qNGZ+uNuGyTmnz6/+EJIiFg8+3yZRpnMwgFo8YdXhQRsiePzehnusrxVvugNjXzbw==", + "dev": true, + "dependencies": { + "@emotion/hash": "~0.8.0", + "csstype": "~3.0.5" + } + }, + "node_modules/css-render/node_modules/csstype": { + "version": "3.0.11", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.0.11.tgz", + "integrity": "sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==", + "dev": true + }, + "node_modules/cssom": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/cssom/-/cssom-0.5.0.tgz", + "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==" + }, + "node_modules/cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmmirror.com/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, + "node_modules/cytoscape": { + "version": "3.28.1", + "resolved": "https://registry.npmmirror.com/cytoscape/-/cytoscape-3.28.1.tgz", + "integrity": "sha512-xyItz4O/4zp9/239wCcH8ZcFuuZooEeF8KHRmzjDfGdXsj3OG9MFSMA0pJE0uX3uCN/ygof6hHf4L7lst+JaDg==", + "optional": true, + "dependencies": { + "heap": "^0.2.6", + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/cytoscape-cose-bilkent": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz", + "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==", + "optional": true, + "dependencies": { + "cose-base": "^1.0.0" + }, + "peerDependencies": { + "cytoscape": "^3.2.0" + } + }, + "node_modules/cytoscape-fcose": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz", + "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==", + "optional": true, + "dependencies": { + "cose-base": "^2.2.0" + }, + "peerDependencies": { + "cytoscape": "^3.2.0" + } + }, + "node_modules/cytoscape-fcose/node_modules/cose-base": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/cose-base/-/cose-base-2.2.0.tgz", + "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==", + "optional": true, + "dependencies": { + "layout-base": "^2.0.0" + } + }, + "node_modules/cytoscape-fcose/node_modules/layout-base": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/layout-base/-/layout-base-2.0.1.tgz", + "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==", + "optional": true + }, + "node_modules/d3": { + "version": "7.8.5", + "resolved": "https://registry.npmmirror.com/d3/-/d3-7.8.5.tgz", + "integrity": "sha512-JgoahDG51ncUfJu6wX/1vWQEqOflgXyl4MaHqlcSruTez7yhaRKR9i8VjjcQGeS2en/jnFivXuaIMnseMMt0XA==", + "optional": true, + "dependencies": { + "d3-array": "3", + "d3-axis": "3", + "d3-brush": "3", + "d3-chord": "3", + "d3-color": "3", + "d3-contour": "4", + "d3-delaunay": "6", + "d3-dispatch": "3", + "d3-drag": "3", + "d3-dsv": "3", + "d3-ease": "3", + "d3-fetch": "3", + "d3-force": "3", + "d3-format": "3", + "d3-geo": "3", + "d3-hierarchy": "3", + "d3-interpolate": "3", + "d3-path": "3", + "d3-polygon": "3", + "d3-quadtree": "3", + "d3-random": "3", + "d3-scale": "4", + "d3-scale-chromatic": "3", + "d3-selection": "3", + "d3-shape": "3", + "d3-time": "3", + "d3-time-format": "4", + "d3-timer": "3", + "d3-transition": "3", + "d3-zoom": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmmirror.com/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "optional": true, + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-axis": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-axis/-/d3-axis-3.0.0.tgz", + "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-brush": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-brush/-/d3-brush-3.0.0.tgz", + "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", + "optional": true, + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "3", + "d3-transition": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-chord": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-chord/-/d3-chord-3.0.1.tgz", + "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==", + "optional": true, + "dependencies": { + "d3-path": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-contour": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/d3-contour/-/d3-contour-4.0.2.tgz", + "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==", + "optional": true, + "dependencies": { + "d3-array": "^3.2.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-delaunay": { + "version": "6.0.4", + "resolved": "https://registry.npmmirror.com/d3-delaunay/-/d3-delaunay-6.0.4.tgz", + "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==", + "optional": true, + "dependencies": { + "delaunator": "5" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dispatch": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-dispatch/-/d3-dispatch-3.0.1.tgz", + "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-drag": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-drag/-/d3-drag-3.0.0.tgz", + "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", + "optional": true, + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-selection": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dsv": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-dsv/-/d3-dsv-3.0.1.tgz", + "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", + "optional": true, + "dependencies": { + "commander": "7", + "iconv-lite": "0.6", + "rw": "1" + }, + "bin": { + "csv2json": "bin/dsv2json.js", + "csv2tsv": "bin/dsv2dsv.js", + "dsv2dsv": "bin/dsv2dsv.js", + "dsv2json": "bin/dsv2json.js", + "json2csv": "bin/json2dsv.js", + "json2dsv": "bin/json2dsv.js", + "json2tsv": "bin/json2dsv.js", + "tsv2csv": "bin/dsv2dsv.js", + "tsv2json": "bin/dsv2json.js" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-ease": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-ease/-/d3-ease-3.0.1.tgz", + "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-fetch": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-fetch/-/d3-fetch-3.0.1.tgz", + "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==", + "optional": true, + "dependencies": { + "d3-dsv": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-force": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-force/-/d3-force-3.0.0.tgz", + "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", + "optional": true, + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-quadtree": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-geo": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-geo/-/d3-geo-3.1.0.tgz", + "integrity": "sha512-JEo5HxXDdDYXCaWdwLRt79y7giK8SbhZJbFWXqbRTolCHFI5jRqteLzCsq51NKbUoX0PjBVSohxrx+NoOUujYA==", + "optional": true, + "dependencies": { + "d3-array": "2.5.0 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-hierarchy": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", + "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "optional": true, + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-polygon": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-polygon/-/d3-polygon-3.0.1.tgz", + "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-quadtree": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-quadtree/-/d3-quadtree-3.0.1.tgz", + "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-random": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-random/-/d3-random-3.0.1.tgz", + "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", + "optional": true, + "dependencies": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-scale-chromatic": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-scale-chromatic/-/d3-scale-chromatic-3.0.0.tgz", + "integrity": "sha512-Lx9thtxAKrO2Pq6OO2Ua474opeziKr279P/TKZsMAhYyNDD3EnCffdbgeSYN5O7m2ByQsxtuP2CSDczNUIZ22g==", + "optional": true, + "dependencies": { + "d3-color": "1 - 3", + "d3-interpolate": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-selection": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-selection/-/d3-selection-3.0.0.tgz", + "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "optional": true, + "dependencies": { + "d3-path": "^3.1.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", + "optional": true, + "dependencies": { + "d3-array": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time-format": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/d3-time-format/-/d3-time-format-4.1.0.tgz", + "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", + "optional": true, + "dependencies": { + "d3-time": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-timer": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-timer/-/d3-timer-3.0.1.tgz", + "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-transition": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-transition/-/d3-transition-3.0.1.tgz", + "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", + "optional": true, + "dependencies": { + "d3-color": "1 - 3", + "d3-dispatch": "1 - 3", + "d3-ease": "1 - 3", + "d3-interpolate": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "d3-selection": "2 - 3" + } + }, + "node_modules/d3-zoom": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-zoom/-/d3-zoom-3.0.0.tgz", + "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", + "optional": true, + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "2 - 3", + "d3-transition": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/dagre-d3-es": { + "version": "7.0.9", + "resolved": "https://registry.npmmirror.com/dagre-d3-es/-/dagre-d3-es-7.0.9.tgz", + "integrity": "sha512-rYR4QfVmy+sR44IBDvVtcAmOReGBvRCWDpO2QjYwqgh9yijw6eSHBqaPG/LIOEy7aBsniLvtMW6pg19qJhq60w==", + "optional": true, + "dependencies": { + "d3": "^7.8.2", + "lodash-es": "^4.17.21" + } + }, + "node_modules/data-urls": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/data-urls/-/data-urls-3.0.2.tgz", + "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", + "dependencies": { + "abab": "^2.0.6", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^11.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/data-urls/node_modules/whatwg-url": { + "version": "11.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", + "dependencies": { + "tr46": "^3.0.0", + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmmirror.com/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.21.0" + }, + "engines": { + "node": ">=0.11" + } + }, + "node_modules/date-fns-tz": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/date-fns-tz/-/date-fns-tz-2.0.0.tgz", + "integrity": "sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==", + "dev": true, + "peerDependencies": { + "date-fns": ">=2.0.0" + } + }, + "node_modules/dayjs": { + "version": "1.11.10", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==" + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decimal.js": { + "version": "10.4.3", + "resolved": "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz", + "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/delaunator": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/delaunator/-/delaunator-5.0.0.tgz", + "integrity": "sha512-AyLvtyJdbv/U1GkiS6gUUzclRoAY4Gs75qkMygJJhU75LW4DNuSF2RMzpxs9jw9Oz1BobHjTdkG3zdP55VxAqw==", + "optional": true, + "dependencies": { + "robust-predicates": "^3.0.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/dom-align": { + "version": "1.12.4", + "resolved": "https://registry.npmmirror.com/dom-align/-/dom-align-1.12.4.tgz", + "integrity": "sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==" + }, + "node_modules/dom-scroll-into-view": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/dom-scroll-into-view/-/dom-scroll-into-view-2.0.1.tgz", + "integrity": "sha512-bvVTQe1lfaUr1oFzZX80ce9KLDlZ3iU+XGNE/bz9HnGdklTieqsbmsLHe+rT2XWqopvL0PckkYqN7ksmm5pe3w==" + }, + "node_modules/domexception": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/domexception/-/domexception-4.0.0.tgz", + "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", + "deprecated": "Use your platform's native DOMException instead", + "dependencies": { + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/dompurify": { + "version": "2.4.3", + "resolved": "https://registry.npmmirror.com/dompurify/-/dompurify-2.4.3.tgz", + "integrity": "sha512-q6QaLcakcRjebxjg8/+NP+h0rPfatOgOzc46Fst9VAA3jF2ApfKBNKMzdP4DYTqtUMXSCd5pRS/8Po/OmoCHZQ==", + "optional": true + }, + "node_modules/elkjs": { + "version": "0.8.2", + "resolved": "https://registry.npmmirror.com/elkjs/-/elkjs-0.8.2.tgz", + "integrity": "sha512-L6uRgvZTH+4OF5NE/MBbzQx/WYpru1xCBE9respNj6qznEewGUIfhzmm7horWWxbNO2M0WckQypGctR8lH79xQ==", + "optional": true + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + } + }, + "node_modules/esbuild": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.19.11.tgz", + "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.11", + "@esbuild/android-arm": "0.19.11", + "@esbuild/android-arm64": "0.19.11", + "@esbuild/android-x64": "0.19.11", + "@esbuild/darwin-arm64": "0.19.11", + "@esbuild/darwin-x64": "0.19.11", + "@esbuild/freebsd-arm64": "0.19.11", + "@esbuild/freebsd-x64": "0.19.11", + "@esbuild/linux-arm": "0.19.11", + "@esbuild/linux-arm64": "0.19.11", + "@esbuild/linux-ia32": "0.19.11", + "@esbuild/linux-loong64": "0.19.11", + "@esbuild/linux-mips64el": "0.19.11", + "@esbuild/linux-ppc64": "0.19.11", + "@esbuild/linux-riscv64": "0.19.11", + "@esbuild/linux-s390x": "0.19.11", + "@esbuild/linux-x64": "0.19.11", + "@esbuild/netbsd-x64": "0.19.11", + "@esbuild/openbsd-x64": "0.19.11", + "@esbuild/sunos-x64": "0.19.11", + "@esbuild/win32-arm64": "0.19.11", + "@esbuild/win32-ia32": "0.19.11", + "@esbuild/win32-x64": "0.19.11" + } + }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + }, + "node_modules/evtd": { + "version": "0.2.4", + "resolved": "https://registry.npmmirror.com/evtd/-/evtd-0.2.4.tgz", + "integrity": "sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==", + "dev": true + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.5", + "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" + }, + "node_modules/get-intrinsic": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "dependencies": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "dependencies": { + "get-intrinsic": "^1.2.2" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "bin": { + "he": "bin/he" + } + }, + "node_modules/heap": { + "version": "0.2.7", + "resolved": "https://registry.npmmirror.com/heap/-/heap-0.2.7.tgz", + "integrity": "sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==", + "optional": true + }, + "node_modules/highlight.js": { + "version": "11.9.0", + "resolved": "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.9.0.tgz", + "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/html-encoding-sniffer": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", + "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", + "dependencies": { + "whatwg-encoding": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmmirror.com/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/http-server": { + "version": "14.1.1", + "resolved": "https://registry.npmmirror.com/http-server/-/http-server-14.1.1.tgz", + "integrity": "sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A==", + "dependencies": { + "basic-auth": "^2.0.1", + "chalk": "^4.1.2", + "corser": "^2.0.1", + "he": "^1.2.0", + "html-encoding-sniffer": "^3.0.0", + "http-proxy": "^1.18.1", + "mime": "^1.6.0", + "minimist": "^1.2.6", + "opener": "^1.5.1", + "portfinder": "^1.0.28", + "secure-compare": "3.0.1", + "union": "~0.5.0", + "url-join": "^4.0.1" + }, + "bin": { + "http-server": "bin/http-server" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/immutable": { + "version": "4.3.4", + "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.4.tgz", + "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==", + "dev": true + }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-object": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-3.0.1.tgz", + "integrity": "sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/jsdom": { + "version": "19.0.0", + "resolved": "https://registry.npmmirror.com/jsdom/-/jsdom-19.0.0.tgz", + "integrity": "sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==", + "dependencies": { + "abab": "^2.0.5", + "acorn": "^8.5.0", + "acorn-globals": "^6.0.0", + "cssom": "^0.5.0", + "cssstyle": "^2.3.0", + "data-urls": "^3.0.1", + "decimal.js": "^10.3.1", + "domexception": "^4.0.0", + "escodegen": "^2.0.0", + "form-data": "^4.0.0", + "html-encoding-sniffer": "^3.0.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^3.0.0", + "webidl-conversions": "^7.0.0", + "whatwg-encoding": "^2.0.0", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^10.0.0", + "ws": "^8.2.3", + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/khroma": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/khroma/-/khroma-2.1.0.tgz", + "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==", + "optional": true + }, + "node_modules/layout-base": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/layout-base/-/layout-base-1.0.2.tgz", + "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==", + "optional": true + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/magic-string": { + "version": "0.30.5", + "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.5.tgz", + "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/mermaid": { + "version": "9.4.3", + "resolved": "https://registry.npmmirror.com/mermaid/-/mermaid-9.4.3.tgz", + "integrity": "sha512-TLkQEtqhRSuEHSE34lh5bCa94KATCyluAXmFnNI2PRZwOpXFeqiJWwZl+d2CcemE1RS6QbbueSSq9QIg8Uxcyw==", + "optional": true, + "dependencies": { + "@braintree/sanitize-url": "^6.0.0", + "cytoscape": "^3.23.0", + "cytoscape-cose-bilkent": "^4.1.0", + "cytoscape-fcose": "^2.1.0", + "d3": "^7.4.0", + "dagre-d3-es": "7.0.9", + "dayjs": "^1.11.7", + "dompurify": "2.4.3", + "elkjs": "^0.8.2", + "khroma": "^2.0.0", + "lodash-es": "^4.17.21", + "non-layered-tidy-tree-layout": "^2.0.2", + "stylis": "^4.1.2", + "ts-dedent": "^2.2.0", + "uuid": "^9.0.0", + "web-worker": "^1.2.0" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/naive-ui": { + "version": "2.37.3", + "resolved": "https://registry.npmmirror.com/naive-ui/-/naive-ui-2.37.3.tgz", + "integrity": "sha512-aUkHFXVIluSi8Me+npbcsdv1NYhVMj5t9YaruoCESlqmfqspj+R2QHEVXkTtUI1kQwVrABMCtAGq/wountqjZA==", + "dev": true, + "dependencies": { + "@css-render/plugin-bem": "^0.15.12", + "@css-render/vue3-ssr": "^0.15.12", + "@types/katex": "^0.16.2", + "@types/lodash": "^4.14.198", + "@types/lodash-es": "^4.17.9", + "async-validator": "^4.2.5", + "css-render": "^0.15.12", + "csstype": "^3.1.3", + "date-fns": "^2.30.0", + "date-fns-tz": "^2.0.0", + "evtd": "^0.2.4", + "highlight.js": "^11.8.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "seemly": "^0.3.8", + "treemate": "^0.3.11", + "vdirs": "^0.1.8", + "vooks": "^0.2.12", + "vueuc": "^0.4.58" + }, + "peerDependencies": { + "vue": "^3.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/nanopop": { + "version": "2.4.1", + "resolved": "https://registry.npmmirror.com/nanopop/-/nanopop-2.4.1.tgz", + "integrity": "sha512-hhtYHTaQPmclHHCWmh2EJpWQ9FCA47kj2r/vXqI0ACeMi/qR9qFYDQRSx+luami7qw1OkBR4luJqS6ADoC3FPQ==" + }, + "node_modules/non-layered-tidy-tree-layout": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/non-layered-tidy-tree-layout/-/non-layered-tidy-tree-layout-2.0.2.tgz", + "integrity": "sha512-gkXMxRzUH+PB0ax9dUN0yYF0S25BqeAYqhgMaLUFmpXLEk7Fcu8f4emJuOAY0V8kjDICxROIKsTAKsV/v355xw==", + "optional": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nwsapi": { + "version": "2.2.7", + "resolved": "https://registry.npmmirror.com/nwsapi/-/nwsapi-2.2.7.tgz", + "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==" + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==" + }, + "node_modules/opener": { + "version": "1.5.2", + "resolved": "https://registry.npmmirror.com/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", + "bin": { + "opener": "bin/opener-bin.js" + } + }, + "node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/portfinder": { + "version": "1.0.32", + "resolved": "https://registry.npmmirror.com/portfinder/-/portfinder-1.0.32.tgz", + "integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==", + "dependencies": { + "async": "^2.6.4", + "debug": "^3.2.7", + "mkdirp": "^0.5.6" + }, + "engines": { + "node": ">= 0.12.0" + } + }, + "node_modules/portfinder/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/postcss": { + "version": "8.4.33", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.33.tgz", + "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "node_modules/psl": { + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/psl/-/psl-1.9.0.tgz", + "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.11.2", + "resolved": "https://registry.npmmirror.com/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/querystringify": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/querystringify/-/querystringify-2.2.0.tgz", + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" + }, + "node_modules/react": { + "version": "18.2.0", + "resolved": "https://registry.npmmirror.com/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmmirror.com/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + }, + "peerDependencies": { + "react": "^18.2.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" + }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" + }, + "node_modules/robust-predicates": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.2.tgz", + "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==", + "optional": true + }, + "node_modules/rollup": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.9.5.tgz", + "integrity": "sha512-E4vQW0H/mbNMw2yLSqJyjtkHY9dslf/p0zuT1xehNRqUTBOFMqEjguDvqhXr7N7r/4ttb2jr4T41d3dncmIgbQ==", + "dev": true, + "dependencies": { + "@types/estree": "1.0.5" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.9.5", + "@rollup/rollup-android-arm64": "4.9.5", + "@rollup/rollup-darwin-arm64": "4.9.5", + "@rollup/rollup-darwin-x64": "4.9.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.5", + "@rollup/rollup-linux-arm64-gnu": "4.9.5", + "@rollup/rollup-linux-arm64-musl": "4.9.5", + "@rollup/rollup-linux-riscv64-gnu": "4.9.5", + "@rollup/rollup-linux-x64-gnu": "4.9.5", + "@rollup/rollup-linux-x64-musl": "4.9.5", + "@rollup/rollup-win32-arm64-msvc": "4.9.5", + "@rollup/rollup-win32-ia32-msvc": "4.9.5", + "@rollup/rollup-win32-x64-msvc": "4.9.5", + "fsevents": "~2.3.2" + } + }, + "node_modules/rw": { + "version": "1.3.3", + "resolved": "https://registry.npmmirror.com/rw/-/rw-1.3.3.tgz", + "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==", + "optional": true + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/sass": { + "version": "1.69.7", + "resolved": "https://registry.npmmirror.com/sass/-/sass-1.69.7.tgz", + "integrity": "sha512-rzj2soDeZ8wtE2egyLXgOOHQvaC2iosZrkF6v3EUG+tBwEvhqUCzm0VP3k9gHF9LXbSrRhT5SksoI56Iw8NPnQ==", + "dev": true, + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmmirror.com/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/scroll-into-view-if-needed": { + "version": "2.2.31", + "resolved": "https://registry.npmmirror.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz", + "integrity": "sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==", + "dependencies": { + "compute-scroll-into-view": "^1.0.20" + } + }, + "node_modules/secure-compare": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/secure-compare/-/secure-compare-3.0.1.tgz", + "integrity": "sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==" + }, + "node_modules/seemly": { + "version": "0.3.8", + "resolved": "https://registry.npmmirror.com/seemly/-/seemly-0.3.8.tgz", + "integrity": "sha512-MW8Qs6vbzo0pHmDpFSYPna+lwpZ6Zk1ancbajw/7E8TKtHdV+1DfZZD+kKJEhG/cAoB/i+LiT+5msZOqj0DwRA==", + "dev": true + }, + "node_modules/set-function-length": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/set-function-length/-/set-function-length-1.2.0.tgz", + "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", + "dependencies": { + "define-data-property": "^1.1.1", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.2", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/shallow-equal": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/shallow-equal/-/shallow-equal-1.2.1.tgz", + "integrity": "sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==" + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylis": { + "version": "4.3.1", + "resolved": "https://registry.npmmirror.com/stylis/-/stylis-4.3.1.tgz", + "integrity": "sha512-EQepAV+wMsIaGVGX1RECzgrcqRRU/0sYOHkeLsZ3fzHaHXZy4DaOOX0vOlGQdlsjkh3mFHAIlVimpwAs4dslyQ==" + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmmirror.com/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" + }, + "node_modules/throttle-debounce": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-5.0.0.tgz", + "integrity": "sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==", + "engines": { + "node": ">=12.22" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tough-cookie": { + "version": "4.1.3", + "resolved": "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-4.1.3.tgz", + "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tr46": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/tr46/-/tr46-3.0.0.tgz", + "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/treemate": { + "version": "0.3.11", + "resolved": "https://registry.npmmirror.com/treemate/-/treemate-0.3.11.tgz", + "integrity": "sha512-M8RGFoKtZ8dF+iwJfAJTOH/SM4KluKOKRJpjCMhI8bG3qB74zrFoArKZ62ll0Fr3mqkMJiQOmWYkdYgDeITYQg==", + "dev": true + }, + "node_modules/ts-dedent": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/ts-dedent/-/ts-dedent-2.2.0.tgz", + "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==", + "optional": true, + "engines": { + "node": ">=6.10" + } + }, + "node_modules/typescript": { + "version": "5.3.3", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/union": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/union/-/union-0.5.0.tgz", + "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", + "dependencies": { + "qs": "^6.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/universalify": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/universalify/-/universalify-0.2.0.tgz", + "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/url-join": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/url-join/-/url-join-4.0.1.tgz", + "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==" + }, + "node_modules/url-parse": { + "version": "1.5.10", + "resolved": "https://registry.npmmirror.com/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/vdirs": { + "version": "0.1.8", + "resolved": "https://registry.npmmirror.com/vdirs/-/vdirs-0.1.8.tgz", + "integrity": "sha512-H9V1zGRLQZg9b+GdMk8MXDN2Lva0zx72MPahDKc30v+DtwKjfyOSXWRIX4t2mhDubM1H09gPhWeth/BJWPHGUw==", + "dev": true, + "dependencies": { + "evtd": "^0.2.2" + }, + "peerDependencies": { + "vue": "^3.0.11" + } + }, + "node_modules/vfonts": { + "version": "0.0.3", + "resolved": "https://registry.npmmirror.com/vfonts/-/vfonts-0.0.3.tgz", + "integrity": "sha512-nguyw8L6Un8eelg1vQ31vIU2ESxqid7EYmy8V+MDeMaHBqaRSkg3dTBToC1PR00D89UzS/SLkfYPnx0Wf23IQQ==", + "dev": true + }, + "node_modules/vite": { + "version": "5.0.11", + "resolved": "https://registry.npmmirror.com/vite/-/vite-5.0.11.tgz", + "integrity": "sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==", + "dev": true, + "dependencies": { + "esbuild": "^0.19.3", + "postcss": "^8.4.32", + "rollup": "^4.2.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vooks": { + "version": "0.2.12", + "resolved": "https://registry.npmmirror.com/vooks/-/vooks-0.2.12.tgz", + "integrity": "sha512-iox0I3RZzxtKlcgYaStQYKEzWWGAduMmq+jS7OrNdQo1FgGfPMubGL3uGHOU9n97NIvfFDBGnpSvkWyb/NSn/Q==", + "dev": true, + "dependencies": { + "evtd": "^0.2.2" + }, + "peerDependencies": { + "vue": "^3.0.0" + } + }, + "node_modules/vue": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/vue/-/vue-3.4.13.tgz", + "integrity": "sha512-FE3UZ0p+oUZTwz+SzlH/hDFg+XsVRFvwmx0LXjdD1pRK/cO4fu5v6ltAZji4za4IBih3dV78elUK3di8v3pWIg==", + "dependencies": { + "@vue/compiler-dom": "3.4.13", + "@vue/compiler-sfc": "3.4.13", + "@vue/runtime-dom": "3.4.13", + "@vue/server-renderer": "3.4.13", + "@vue/shared": "3.4.13" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vue-meta": { + "version": "2.4.0", + "resolved": "https://registry.npmmirror.com/vue-meta/-/vue-meta-2.4.0.tgz", + "integrity": "sha512-XEeZUmlVeODclAjCNpWDnjgw+t3WA6gdzs6ENoIAgwO1J1d5p1tezDhtteLUFwcaQaTtayRrsx7GL6oXp/m2Jw==", + "dependencies": { + "deepmerge": "^4.2.2" + } + }, + "node_modules/vue-types": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/vue-types/-/vue-types-3.0.2.tgz", + "integrity": "sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==", + "dependencies": { + "is-plain-object": "3.0.1" + }, + "engines": { + "node": ">=10.15.0" + }, + "peerDependencies": { + "vue": "^3.0.0" + } + }, + "node_modules/vuera": { + "version": "0.2.7", + "resolved": "https://registry.npmmirror.com/vuera/-/vuera-0.2.7.tgz", + "integrity": "sha512-MZErNEK+xXjxBzIDFL9cdEtX3TDZk4pMJGB+WLrlFOVro9okS/FeOSpdPFkpdyZUImZN/or4CrmztA932ChGEQ==", + "peerDependencies": { + "react": ">= 15.2.0", + "react-dom": ">= 15.2.0", + "vue": ">= 2.2" + } + }, + "node_modules/vueuc": { + "version": "0.4.58", + "resolved": "https://registry.npmmirror.com/vueuc/-/vueuc-0.4.58.tgz", + "integrity": "sha512-Wnj/N8WbPRSxSt+9ji1jtDHPzda5h2OH/0sFBhvdxDRuyCZbjGg3/cKMaKqEoe+dErTexG2R+i6Q8S/Toq1MYg==", + "dev": true, + "dependencies": { + "@css-render/vue3-ssr": "^0.15.10", + "@juggle/resize-observer": "^3.3.1", + "css-render": "^0.15.10", + "evtd": "^0.2.4", + "seemly": "^0.3.6", + "vdirs": "^0.1.4", + "vooks": "^0.2.4" + }, + "peerDependencies": { + "vue": "^3.0.11" + } + }, + "node_modules/w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "deprecated": "Use your platform's native performance.now() and performance.timeOrigin.", + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "node_modules/w3c-xmlserializer": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz", + "integrity": "sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==", + "dependencies": { + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/warning": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/warning/-/warning-4.0.3.tgz", + "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "node_modules/web-worker": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/web-worker/-/web-worker-1.3.0.tgz", + "integrity": "sha512-BSR9wyRsy/KOValMgd5kMyr3JzpdeoR9KVId8u5GVlTTAtNChlsE4yTxeY7zMdNSyOmoKBv8NH2qeRY9Tg+IaA==", + "optional": true + }, + "node_modules/webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", + "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", + "dependencies": { + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-mimetype": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", + "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-url": { + "version": "10.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-10.0.0.tgz", + "integrity": "sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==", + "dependencies": { + "tr46": "^3.0.0", + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/ws": { + "version": "8.16.0", + "resolved": "https://registry.npmmirror.com/ws/-/ws-8.16.0.tgz", + "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "engines": { + "node": ">=12" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" + } + }, + "dependencies": { + "@ant-design/colors": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/@ant-design/colors/-/colors-6.0.0.tgz", + "integrity": "sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==", + "requires": { + "@ctrl/tinycolor": "^3.4.0" + } + }, + "@ant-design/icons-svg": { + "version": "4.3.2", + "resolved": "https://registry.npmmirror.com/@ant-design/icons-svg/-/icons-svg-4.3.2.tgz", + "integrity": "sha512-s9WV19cXTC/Tux/XpDru/rCfPZQhGaho36B+9RrN1v5YsaKmE6dJ+fq6LQnXVBVYjzkqykEEK+1XG+SYiottTQ==" + }, + "@ant-design/icons-vue": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/@ant-design/icons-vue/-/icons-vue-7.0.1.tgz", + "integrity": "sha512-eCqY2unfZK6Fe02AwFlDHLfoyEFreP6rBwAZMIJ1LugmfMiVgwWDYlp1YsRugaPtICYOabV1iWxXdP12u9U43Q==", + "requires": { + "@ant-design/colors": "^6.0.0", + "@ant-design/icons-svg": "^4.2.1" + } + }, + "@babel/parser": { + "version": "7.23.6", + "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==" + }, + "@babel/runtime": { + "version": "7.23.8", + "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.23.8.tgz", + "integrity": "sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw==", + "requires": { + "regenerator-runtime": "^0.14.0" + } + }, + "@braintree/sanitize-url": { + "version": "6.0.4", + "resolved": "https://registry.npmmirror.com/@braintree/sanitize-url/-/sanitize-url-6.0.4.tgz", + "integrity": "sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==", + "optional": true + }, + "@css-render/plugin-bem": { + "version": "0.15.12", + "resolved": "https://registry.npmmirror.com/@css-render/plugin-bem/-/plugin-bem-0.15.12.tgz", + "integrity": "sha512-Lq2jSOZn+wYQtsyaFj6QRz2EzAnd3iW5fZeHO1WSXQdVYwvwGX0ZiH3X2JQgtgYLT1yeGtrwrqJdNdMEUD2xTw==", + "dev": true, + "requires": {} + }, + "@css-render/vue3-ssr": { + "version": "0.15.12", + "resolved": "https://registry.npmmirror.com/@css-render/vue3-ssr/-/vue3-ssr-0.15.12.tgz", + "integrity": "sha512-AQLGhhaE0F+rwybRCkKUdzBdTEM/5PZBYy+fSYe1T9z9+yxMuV/k7ZRqa4M69X+EI1W8pa4kc9Iq2VjQkZx4rg==", + "dev": true, + "requires": {} + }, + "@ctrl/tinycolor": { + "version": "3.6.1", + "resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", + "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==" + }, + "@emotion/hash": { + "version": "0.8.0", + "resolved": "https://registry.npmmirror.com/@emotion/hash/-/hash-0.8.0.tgz", + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==", + "dev": true + }, + "@emotion/unitless": { + "version": "0.8.1", + "resolved": "https://registry.npmmirror.com/@emotion/unitless/-/unitless-0.8.1.tgz", + "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + }, + "@esbuild/aix-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", + "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.19.11.tgz", + "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", + "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", + "dev": true, + "optional": true + }, + "@esbuild/android-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.19.11.tgz", + "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", + "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", + "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", + "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", + "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", + "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", + "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", + "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", + "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-mips64el": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", + "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", + "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-riscv64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", + "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-s390x": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", + "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", + "dev": true, + "optional": true + }, + "@esbuild/linux-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", + "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", + "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", + "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", + "dev": true, + "optional": true + }, + "@esbuild/sunos-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", + "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", + "dev": true, + "optional": true + }, + "@esbuild/win32-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", + "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", + "dev": true, + "optional": true + }, + "@esbuild/win32-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", + "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", + "dev": true, + "optional": true + }, + "@esbuild/win32-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", + "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", + "dev": true, + "optional": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "@juggle/resize-observer": { + "version": "3.4.0", + "resolved": "https://registry.npmmirror.com/@juggle/resize-observer/-/resize-observer-3.4.0.tgz", + "integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==", + "dev": true + }, + "@rollup/rollup-android-arm-eabi": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.5.tgz", + "integrity": "sha512-idWaG8xeSRCfRq9KpRysDHJ/rEHBEXcHuJ82XY0yYFIWnLMjZv9vF/7DOq8djQ2n3Lk6+3qfSH8AqlmHlmi1MA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-android-arm64": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.5.tgz", + "integrity": "sha512-f14d7uhAMtsCGjAYwZGv6TwuS3IFaM4ZnGMUn3aCBgkcHAYErhV1Ad97WzBvS2o0aaDv4mVz+syiN0ElMyfBPg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-darwin-arm64": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.5.tgz", + "integrity": "sha512-ndoXeLx455FffL68OIUrVr89Xu1WLzAG4n65R8roDlCoYiQcGGg6MALvs2Ap9zs7AHg8mpHtMpwC8jBBjZrT/w==", + "dev": true, + "optional": true + }, + "@rollup/rollup-darwin-x64": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.5.tgz", + "integrity": "sha512-UmElV1OY2m/1KEEqTlIjieKfVwRg0Zwg4PLgNf0s3glAHXBN99KLpw5A5lrSYCa1Kp63czTpVll2MAqbZYIHoA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.5.tgz", + "integrity": "sha512-Q0LcU61v92tQB6ae+udZvOyZ0wfpGojtAKrrpAaIqmJ7+psq4cMIhT/9lfV6UQIpeItnq/2QDROhNLo00lOD1g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm64-gnu": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.5.tgz", + "integrity": "sha512-dkRscpM+RrR2Ee3eOQmRWFjmV/payHEOrjyq1VZegRUa5OrZJ2MAxBNs05bZuY0YCtpqETDy1Ix4i/hRqX98cA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm64-musl": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.5.tgz", + "integrity": "sha512-QaKFVOzzST2xzY4MAmiDmURagWLFh+zZtttuEnuNn19AiZ0T3fhPyjPPGwLNdiDT82ZE91hnfJsUiDwF9DClIQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-riscv64-gnu": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.5.tgz", + "integrity": "sha512-HeGqmRJuyVg6/X6MpE2ur7GbymBPS8Np0S/vQFHDmocfORT+Zt76qu+69NUoxXzGqVP1pzaY6QIi0FJWLC3OPA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-x64-gnu": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.5.tgz", + "integrity": "sha512-Dq1bqBdLaZ1Gb/l2e5/+o3B18+8TI9ANlA1SkejZqDgdU/jK/ThYaMPMJpVMMXy2uRHvGKbkz9vheVGdq3cJfA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-x64-musl": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.5.tgz", + "integrity": "sha512-ezyFUOwldYpj7AbkwyW9AJ203peub81CaAIVvckdkyH8EvhEIoKzaMFJj0G4qYJ5sw3BpqhFrsCc30t54HV8vg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-arm64-msvc": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.5.tgz", + "integrity": "sha512-aHSsMnUw+0UETB0Hlv7B/ZHOGY5bQdwMKJSzGfDfvyhnpmVxLMGnQPGNE9wgqkLUs3+gbG1Qx02S2LLfJ5GaRQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-ia32-msvc": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.5.tgz", + "integrity": "sha512-AiqiLkb9KSf7Lj/o1U3SEP9Zn+5NuVKgFdRIZkvd4N0+bYrTOovVd0+LmYCPQGbocT4kvFyK+LXCDiXPBF3fyA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-x64-msvc": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.5.tgz", + "integrity": "sha512-1q+mykKE3Vot1kaFJIDoUFv5TuW+QQVaf2FmTT9krg86pQrGStOSJJ0Zil7CFagyxDuouTepzt5Y5TVzyajOdQ==", + "dev": true, + "optional": true + }, + "@simonwep/pickr": { + "version": "1.8.2", + "resolved": "https://registry.npmmirror.com/@simonwep/pickr/-/pickr-1.8.2.tgz", + "integrity": "sha512-/l5w8BIkrpP6n1xsetx9MWPWlU6OblN5YgZZphxan0Tq4BByTCETL6lyIeY8lagalS2Nbt4F2W034KHLIiunKA==", + "requires": { + "core-js": "^3.15.1", + "nanopop": "^2.1.0" + } + }, + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==" + }, + "@types/codemirror": { + "version": "0.0.108", + "resolved": "https://registry.npmmirror.com/@types/codemirror/-/codemirror-0.0.108.tgz", + "integrity": "sha512-3FGFcus0P7C2UOGCNUVENqObEb4SFk+S8Dnxq7K6aIsLVs/vDtlangl3PEO0ykaKXyK56swVF6Nho7VsA44uhw==", + "requires": { + "@types/tern": "*" + } + }, + "@types/dompurify": { + "version": "2.4.0", + "resolved": "https://registry.npmmirror.com/@types/dompurify/-/dompurify-2.4.0.tgz", + "integrity": "sha512-IDBwO5IZhrKvHFUl+clZxgf3hn2b/lU6H1KaBShPkQyGJUQ0xwebezIPSuiyGwfz1UzJWQl4M7BDxtHtCCPlTg==", + "requires": { + "@types/trusted-types": "*" + } + }, + "@types/estree": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" + }, + "@types/katex": { + "version": "0.16.7", + "resolved": "https://registry.npmmirror.com/@types/katex/-/katex-0.16.7.tgz", + "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==", + "dev": true + }, + "@types/lodash": { + "version": "4.14.202", + "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.202.tgz", + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", + "dev": true + }, + "@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", + "dev": true, + "requires": { + "@types/lodash": "*" + } + }, + "@types/tern": { + "version": "0.23.9", + "resolved": "https://registry.npmmirror.com/@types/tern/-/tern-0.23.9.tgz", + "integrity": "sha512-ypzHFE/wBzh+BlH6rrBgS5I/Z7RD21pGhZ2rltb/+ZrVM1awdZwjx7hE5XfuYgHWk9uvV5HLZN3SloevCAp3Bw==", + "requires": { + "@types/estree": "*" + } + }, + "@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmmirror.com/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" + }, + "@vitejs/plugin-vue": { + "version": "4.6.2", + "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-4.6.2.tgz", + "integrity": "sha512-kqf7SGFoG+80aZG6Pf+gsZIVvGSCKE98JbiWqcCV9cThtg91Jav0yvYFC9Zb+jKetNGF6ZKeoaxgZfND21fWKw==", + "dev": true, + "requires": {} + }, + "@vue/compiler-core": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.4.13.tgz", + "integrity": "sha512-zGUdmB3j3Irn9z51GXLJ5s0EAHxmsm5/eXl0y6MBaajMeOAaiT4+zaDoxui4Ets98dwIRr8BBaqXXHtHSfm+KA==", + "requires": { + "@babel/parser": "^7.23.6", + "@vue/shared": "3.4.13", + "entities": "^4.5.0", + "estree-walker": "^2.0.2", + "source-map-js": "^1.0.2" + } + }, + "@vue/compiler-dom": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.4.13.tgz", + "integrity": "sha512-XSNbpr5Rs3kCfVAmBqMu/HDwOS+RL6y28ZZjDlnDUuf146pRWt2sQkwhsOYc9uu2lxjjJy2NcyOkK7MBLVEc7w==", + "requires": { + "@vue/compiler-core": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "@vue/compiler-sfc": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.4.13.tgz", + "integrity": "sha512-SkpmQN8xIFBd5onT413DFSDdjxULJf6jmJg/t3w/DZ9I8ZzyNlLIBLO0qFLewVHyHCiAgpPZlWqSRZXYrawk3Q==", + "requires": { + "@babel/parser": "^7.23.6", + "@vue/compiler-core": "3.4.13", + "@vue/compiler-dom": "3.4.13", + "@vue/compiler-ssr": "3.4.13", + "@vue/shared": "3.4.13", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.5", + "postcss": "^8.4.32", + "source-map-js": "^1.0.2" + } + }, + "@vue/compiler-ssr": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.4.13.tgz", + "integrity": "sha512-rwnw9SVBgD6eGKh8UucnwztieQo/R3RQrEGpE0b0cxb2xxvJeLs/fe7DoYlhEfaSyzM/qD5odkK87hl3G3oW+A==", + "requires": { + "@vue/compiler-dom": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "@vue/reactivity": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.4.13.tgz", + "integrity": "sha512-/ZdUOrGKkGVONzVJkfDqNcn2fLMvaa5VlYx2KwTbnRbX06YZ4GJE0PVTmWzIxtBYdpSTLLXgw3pDggO+96KXzg==", + "requires": { + "@vue/shared": "3.4.13" + } + }, + "@vue/runtime-core": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.4.13.tgz", + "integrity": "sha512-Ov4d4At7z3goxqzSqQxdfVYEcN5HY4dM1uDYL6Hu/Es9Za9BEN602zyjWhhi2+BEki5F9NizRSvn02k/tqNWlg==", + "requires": { + "@vue/reactivity": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "@vue/runtime-dom": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.4.13.tgz", + "integrity": "sha512-ynde9p16eEV3u1VCxUre2e0nKzD0l3NzH0r599+bXeLT1Yhac8Atcot3iL9XNqwolxYCI89KBII+2MSVzfrz6w==", + "requires": { + "@vue/runtime-core": "3.4.13", + "@vue/shared": "3.4.13", + "csstype": "^3.1.3" + } + }, + "@vue/server-renderer": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.4.13.tgz", + "integrity": "sha512-hkw+UQyDZZtSn1q30nObMfc8beVEQv2pG08nghigxGw+iOWodR+tWSuJak0mzWAHlP/xt/qLc//dG6igfgvGEA==", + "requires": { + "@vue/compiler-ssr": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "@vue/shared": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.4.13.tgz", + "integrity": "sha512-56crFKLPpzk85WXX1L1c0QzPOuoapWlPVys8eMG8kkRmqdMjWUqK8KpFdE2d7BQA4CEbXwyyHPq6MpFr8H9rcg==" + }, + "abab": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==" + }, + "acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==" + }, + "acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "requires": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + }, + "dependencies": { + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + } + } + }, + "acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "requires": { + "debug": "4" + } + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "ant-design-vue": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/ant-design-vue/-/ant-design-vue-4.1.1.tgz", + "integrity": "sha512-YLhDHhGvegGEczxDqIiiZIJsTHh3dge5Rf94n17sp24gAcey0hDaLtYWM0Z/+N8EheAcM0w3fePvYGMxwGxSDg==", + "requires": { + "@ant-design/colors": "^6.0.0", + "@ant-design/icons-vue": "^7.0.0", + "@babel/runtime": "^7.10.5", + "@ctrl/tinycolor": "^3.5.0", + "@emotion/hash": "^0.9.0", + "@emotion/unitless": "^0.8.0", + "@simonwep/pickr": "~1.8.0", + "array-tree-filter": "^2.1.0", + "async-validator": "^4.0.0", + "csstype": "^3.1.1", + "dayjs": "^1.10.5", + "dom-align": "^1.12.1", + "dom-scroll-into-view": "^2.0.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.15", + "resize-observer-polyfill": "^1.5.1", + "scroll-into-view-if-needed": "^2.2.25", + "shallow-equal": "^1.0.0", + "stylis": "^4.1.3", + "throttle-debounce": "^5.0.0", + "vue-types": "^3.0.0", + "warning": "^4.0.0" + }, + "dependencies": { + "@emotion/hash": { + "version": "0.9.1", + "resolved": "https://registry.npmmirror.com/@emotion/hash/-/hash-0.9.1.tgz", + "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + } + } + }, + "anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "array-tree-filter": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/array-tree-filter/-/array-tree-filter-2.1.0.tgz", + "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==" + }, + "async": { + "version": "2.6.4", + "resolved": "https://registry.npmmirror.com/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "requires": { + "lodash": "^4.17.14" + } + }, + "async-validator": { + "version": "4.2.5", + "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-4.2.5.tgz", + "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "axios": { + "version": "1.6.5", + "resolved": "https://registry.npmmirror.com/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "requires": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "basic-auth": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/basic-auth/-/basic-auth-2.0.1.tgz", + "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", + "requires": { + "safe-buffer": "5.1.2" + } + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" + }, + "call-bind": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "requires": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "cherry-markdown": { + "version": "0.8.35", + "resolved": "https://registry.npmmirror.com/cherry-markdown/-/cherry-markdown-0.8.35.tgz", + "integrity": "sha512-TBvrMGSsmiQH1XiUXca1gdypNZFb0Wk0ANRDuVT6IGuD8qEqSGG8xYpkAysu6iTkuSyfantIKlYuXG81g6AwCQ==", + "requires": { + "@types/codemirror": "^0.0.108", + "@types/dompurify": "^2.2.3", + "jsdom": "~19.0.0", + "mermaid": "9.4.3" + } + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "optional": true + }, + "compute-scroll-into-view": { + "version": "1.0.20", + "resolved": "https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==" + }, + "core-js": { + "version": "3.35.1", + "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.35.1.tgz", + "integrity": "sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==" + }, + "corser": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/corser/-/corser-2.0.1.tgz", + "integrity": "sha512-utCYNzRSQIZNPIcGZdQc92UVJYAhtGAteCFg0yRaFm8f0P+CPtyGyHXJcGXnffjCybUCEx3FQ2G7U3/o9eIkVQ==" + }, + "cose-base": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/cose-base/-/cose-base-1.0.3.tgz", + "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==", + "optional": true, + "requires": { + "layout-base": "^1.0.0" + } + }, + "css-render": { + "version": "0.15.12", + "resolved": "https://registry.npmmirror.com/css-render/-/css-render-0.15.12.tgz", + "integrity": "sha512-eWzS66patiGkTTik+ipO9qNGZ+uNuGyTmnz6/+EJIiFg8+3yZRpnMwgFo8YdXhQRsiePzehnusrxVvugNjXzbw==", + "dev": true, + "requires": { + "@emotion/hash": "~0.8.0", + "csstype": "~3.0.5" + }, + "dependencies": { + "csstype": { + "version": "3.0.11", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.0.11.tgz", + "integrity": "sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==", + "dev": true + } + } + }, + "cssom": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/cssom/-/cssom-0.5.0.tgz", + "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==" + }, + "cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "requires": { + "cssom": "~0.3.6" + }, + "dependencies": { + "cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmmirror.com/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" + } + } + }, + "csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, + "cytoscape": { + "version": "3.28.1", + "resolved": "https://registry.npmmirror.com/cytoscape/-/cytoscape-3.28.1.tgz", + "integrity": "sha512-xyItz4O/4zp9/239wCcH8ZcFuuZooEeF8KHRmzjDfGdXsj3OG9MFSMA0pJE0uX3uCN/ygof6hHf4L7lst+JaDg==", + "optional": true, + "requires": { + "heap": "^0.2.6", + "lodash": "^4.17.21" + } + }, + "cytoscape-cose-bilkent": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz", + "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==", + "optional": true, + "requires": { + "cose-base": "^1.0.0" + } + }, + "cytoscape-fcose": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz", + "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==", + "optional": true, + "requires": { + "cose-base": "^2.2.0" + }, + "dependencies": { + "cose-base": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/cose-base/-/cose-base-2.2.0.tgz", + "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==", + "optional": true, + "requires": { + "layout-base": "^2.0.0" + } + }, + "layout-base": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/layout-base/-/layout-base-2.0.1.tgz", + "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==", + "optional": true + } + } + }, + "d3": { + "version": "7.8.5", + "resolved": "https://registry.npmmirror.com/d3/-/d3-7.8.5.tgz", + "integrity": "sha512-JgoahDG51ncUfJu6wX/1vWQEqOflgXyl4MaHqlcSruTez7yhaRKR9i8VjjcQGeS2en/jnFivXuaIMnseMMt0XA==", + "optional": true, + "requires": { + "d3-array": "3", + "d3-axis": "3", + "d3-brush": "3", + "d3-chord": "3", + "d3-color": "3", + "d3-contour": "4", + "d3-delaunay": "6", + "d3-dispatch": "3", + "d3-drag": "3", + "d3-dsv": "3", + "d3-ease": "3", + "d3-fetch": "3", + "d3-force": "3", + "d3-format": "3", + "d3-geo": "3", + "d3-hierarchy": "3", + "d3-interpolate": "3", + "d3-path": "3", + "d3-polygon": "3", + "d3-quadtree": "3", + "d3-random": "3", + "d3-scale": "4", + "d3-scale-chromatic": "3", + "d3-selection": "3", + "d3-shape": "3", + "d3-time": "3", + "d3-time-format": "4", + "d3-timer": "3", + "d3-transition": "3", + "d3-zoom": "3" + } + }, + "d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmmirror.com/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "optional": true, + "requires": { + "internmap": "1 - 2" + } + }, + "d3-axis": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-axis/-/d3-axis-3.0.0.tgz", + "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==", + "optional": true + }, + "d3-brush": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-brush/-/d3-brush-3.0.0.tgz", + "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", + "optional": true, + "requires": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "3", + "d3-transition": "3" + } + }, + "d3-chord": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-chord/-/d3-chord-3.0.1.tgz", + "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==", + "optional": true, + "requires": { + "d3-path": "1 - 3" + } + }, + "d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "optional": true + }, + "d3-contour": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/d3-contour/-/d3-contour-4.0.2.tgz", + "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==", + "optional": true, + "requires": { + "d3-array": "^3.2.0" + } + }, + "d3-delaunay": { + "version": "6.0.4", + "resolved": "https://registry.npmmirror.com/d3-delaunay/-/d3-delaunay-6.0.4.tgz", + "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==", + "optional": true, + "requires": { + "delaunator": "5" + } + }, + "d3-dispatch": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-dispatch/-/d3-dispatch-3.0.1.tgz", + "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", + "optional": true + }, + "d3-drag": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-drag/-/d3-drag-3.0.0.tgz", + "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", + "optional": true, + "requires": { + "d3-dispatch": "1 - 3", + "d3-selection": "3" + } + }, + "d3-dsv": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-dsv/-/d3-dsv-3.0.1.tgz", + "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", + "optional": true, + "requires": { + "commander": "7", + "iconv-lite": "0.6", + "rw": "1" + } + }, + "d3-ease": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-ease/-/d3-ease-3.0.1.tgz", + "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", + "optional": true + }, + "d3-fetch": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-fetch/-/d3-fetch-3.0.1.tgz", + "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==", + "optional": true, + "requires": { + "d3-dsv": "1 - 3" + } + }, + "d3-force": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-force/-/d3-force-3.0.0.tgz", + "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", + "optional": true, + "requires": { + "d3-dispatch": "1 - 3", + "d3-quadtree": "1 - 3", + "d3-timer": "1 - 3" + } + }, + "d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "optional": true + }, + "d3-geo": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-geo/-/d3-geo-3.1.0.tgz", + "integrity": "sha512-JEo5HxXDdDYXCaWdwLRt79y7giK8SbhZJbFWXqbRTolCHFI5jRqteLzCsq51NKbUoX0PjBVSohxrx+NoOUujYA==", + "optional": true, + "requires": { + "d3-array": "2.5.0 - 3" + } + }, + "d3-hierarchy": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", + "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", + "optional": true + }, + "d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "optional": true, + "requires": { + "d3-color": "1 - 3" + } + }, + "d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "optional": true + }, + "d3-polygon": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-polygon/-/d3-polygon-3.0.1.tgz", + "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==", + "optional": true + }, + "d3-quadtree": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-quadtree/-/d3-quadtree-3.0.1.tgz", + "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", + "optional": true + }, + "d3-random": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-random/-/d3-random-3.0.1.tgz", + "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==", + "optional": true + }, + "d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", + "optional": true, + "requires": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + } + }, + "d3-scale-chromatic": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-scale-chromatic/-/d3-scale-chromatic-3.0.0.tgz", + "integrity": "sha512-Lx9thtxAKrO2Pq6OO2Ua474opeziKr279P/TKZsMAhYyNDD3EnCffdbgeSYN5O7m2ByQsxtuP2CSDczNUIZ22g==", + "optional": true, + "requires": { + "d3-color": "1 - 3", + "d3-interpolate": "1 - 3" + } + }, + "d3-selection": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-selection/-/d3-selection-3.0.0.tgz", + "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", + "optional": true + }, + "d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "optional": true, + "requires": { + "d3-path": "^3.1.0" + } + }, + "d3-time": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", + "optional": true, + "requires": { + "d3-array": "2 - 3" + } + }, + "d3-time-format": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/d3-time-format/-/d3-time-format-4.1.0.tgz", + "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", + "optional": true, + "requires": { + "d3-time": "1 - 3" + } + }, + "d3-timer": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-timer/-/d3-timer-3.0.1.tgz", + "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", + "optional": true + }, + "d3-transition": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-transition/-/d3-transition-3.0.1.tgz", + "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", + "optional": true, + "requires": { + "d3-color": "1 - 3", + "d3-dispatch": "1 - 3", + "d3-ease": "1 - 3", + "d3-interpolate": "1 - 3", + "d3-timer": "1 - 3" + } + }, + "d3-zoom": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-zoom/-/d3-zoom-3.0.0.tgz", + "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", + "optional": true, + "requires": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "2 - 3", + "d3-transition": "2 - 3" + } + }, + "dagre-d3-es": { + "version": "7.0.9", + "resolved": "https://registry.npmmirror.com/dagre-d3-es/-/dagre-d3-es-7.0.9.tgz", + "integrity": "sha512-rYR4QfVmy+sR44IBDvVtcAmOReGBvRCWDpO2QjYwqgh9yijw6eSHBqaPG/LIOEy7aBsniLvtMW6pg19qJhq60w==", + "optional": true, + "requires": { + "d3": "^7.8.2", + "lodash-es": "^4.17.21" + } + }, + "data-urls": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/data-urls/-/data-urls-3.0.2.tgz", + "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", + "requires": { + "abab": "^2.0.6", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^11.0.0" + }, + "dependencies": { + "whatwg-url": { + "version": "11.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", + "requires": { + "tr46": "^3.0.0", + "webidl-conversions": "^7.0.0" + } + } + } + }, + "date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmmirror.com/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.21.0" + } + }, + "date-fns-tz": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/date-fns-tz/-/date-fns-tz-2.0.0.tgz", + "integrity": "sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==", + "dev": true, + "requires": {} + }, + "dayjs": { + "version": "1.11.10", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==" + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "decimal.js": { + "version": "10.4.3", + "resolved": "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz", + "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" + }, + "deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==" + }, + "define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "requires": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, + "delaunator": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/delaunator/-/delaunator-5.0.0.tgz", + "integrity": "sha512-AyLvtyJdbv/U1GkiS6gUUzclRoAY4Gs75qkMygJJhU75LW4DNuSF2RMzpxs9jw9Oz1BobHjTdkG3zdP55VxAqw==", + "optional": true, + "requires": { + "robust-predicates": "^3.0.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + }, + "dom-align": { + "version": "1.12.4", + "resolved": "https://registry.npmmirror.com/dom-align/-/dom-align-1.12.4.tgz", + "integrity": "sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==" + }, + "dom-scroll-into-view": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/dom-scroll-into-view/-/dom-scroll-into-view-2.0.1.tgz", + "integrity": "sha512-bvVTQe1lfaUr1oFzZX80ce9KLDlZ3iU+XGNE/bz9HnGdklTieqsbmsLHe+rT2XWqopvL0PckkYqN7ksmm5pe3w==" + }, + "domexception": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/domexception/-/domexception-4.0.0.tgz", + "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", + "requires": { + "webidl-conversions": "^7.0.0" + } + }, + "dompurify": { + "version": "2.4.3", + "resolved": "https://registry.npmmirror.com/dompurify/-/dompurify-2.4.3.tgz", + "integrity": "sha512-q6QaLcakcRjebxjg8/+NP+h0rPfatOgOzc46Fst9VAA3jF2ApfKBNKMzdP4DYTqtUMXSCd5pRS/8Po/OmoCHZQ==", + "optional": true + }, + "elkjs": { + "version": "0.8.2", + "resolved": "https://registry.npmmirror.com/elkjs/-/elkjs-0.8.2.tgz", + "integrity": "sha512-L6uRgvZTH+4OF5NE/MBbzQx/WYpru1xCBE9respNj6qznEewGUIfhzmm7horWWxbNO2M0WckQypGctR8lH79xQ==", + "optional": true + }, + "entities": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==" + }, + "esbuild": { + "version": "0.19.11", + "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.19.11.tgz", + "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.19.11", + "@esbuild/android-arm": "0.19.11", + "@esbuild/android-arm64": "0.19.11", + "@esbuild/android-x64": "0.19.11", + "@esbuild/darwin-arm64": "0.19.11", + "@esbuild/darwin-x64": "0.19.11", + "@esbuild/freebsd-arm64": "0.19.11", + "@esbuild/freebsd-x64": "0.19.11", + "@esbuild/linux-arm": "0.19.11", + "@esbuild/linux-arm64": "0.19.11", + "@esbuild/linux-ia32": "0.19.11", + "@esbuild/linux-loong64": "0.19.11", + "@esbuild/linux-mips64el": "0.19.11", + "@esbuild/linux-ppc64": "0.19.11", + "@esbuild/linux-riscv64": "0.19.11", + "@esbuild/linux-s390x": "0.19.11", + "@esbuild/linux-x64": "0.19.11", + "@esbuild/netbsd-x64": "0.19.11", + "@esbuild/openbsd-x64": "0.19.11", + "@esbuild/sunos-x64": "0.19.11", + "@esbuild/win32-arm64": "0.19.11", + "@esbuild/win32-ia32": "0.19.11", + "@esbuild/win32-x64": "0.19.11" + } + }, + "escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + }, + "estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + }, + "evtd": { + "version": "0.2.4", + "resolved": "https://registry.npmmirror.com/evtd/-/evtd-0.2.4.tgz", + "integrity": "sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==", + "dev": true + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "follow-redirects": { + "version": "1.15.5", + "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" + }, + "get-intrinsic": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "requires": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "requires": { + "get-intrinsic": "^1.1.3" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "requires": { + "get-intrinsic": "^1.2.2" + } + }, + "has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + }, + "hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "requires": { + "function-bind": "^1.1.2" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" + }, + "heap": { + "version": "0.2.7", + "resolved": "https://registry.npmmirror.com/heap/-/heap-0.2.7.tgz", + "integrity": "sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==", + "optional": true + }, + "highlight.js": { + "version": "11.9.0", + "resolved": "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.9.0.tgz", + "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==", + "dev": true + }, + "html-encoding-sniffer": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", + "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", + "requires": { + "whatwg-encoding": "^2.0.0" + } + }, + "http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmmirror.com/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "requires": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, + "http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "requires": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + } + }, + "http-server": { + "version": "14.1.1", + "resolved": "https://registry.npmmirror.com/http-server/-/http-server-14.1.1.tgz", + "integrity": "sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A==", + "requires": { + "basic-auth": "^2.0.1", + "chalk": "^4.1.2", + "corser": "^2.0.1", + "he": "^1.2.0", + "html-encoding-sniffer": "^3.0.0", + "http-proxy": "^1.18.1", + "mime": "^1.6.0", + "minimist": "^1.2.6", + "opener": "^1.5.1", + "portfinder": "^1.0.28", + "secure-compare": "3.0.1", + "union": "~0.5.0", + "url-join": "^4.0.1" + } + }, + "https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "immutable": { + "version": "4.3.4", + "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.4.tgz", + "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==", + "dev": true + }, + "internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "optional": true + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-plain-object": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-3.0.1.tgz", + "integrity": "sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==" + }, + "is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "jsdom": { + "version": "19.0.0", + "resolved": "https://registry.npmmirror.com/jsdom/-/jsdom-19.0.0.tgz", + "integrity": "sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==", + "requires": { + "abab": "^2.0.5", + "acorn": "^8.5.0", + "acorn-globals": "^6.0.0", + "cssom": "^0.5.0", + "cssstyle": "^2.3.0", + "data-urls": "^3.0.1", + "decimal.js": "^10.3.1", + "domexception": "^4.0.0", + "escodegen": "^2.0.0", + "form-data": "^4.0.0", + "html-encoding-sniffer": "^3.0.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^3.0.0", + "webidl-conversions": "^7.0.0", + "whatwg-encoding": "^2.0.0", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^10.0.0", + "ws": "^8.2.3", + "xml-name-validator": "^4.0.0" + } + }, + "khroma": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/khroma/-/khroma-2.1.0.tgz", + "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==", + "optional": true + }, + "layout-base": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/layout-base/-/layout-base-1.0.2.tgz", + "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==", + "optional": true + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "magic-string": { + "version": "0.30.5", + "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.5.tgz", + "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", + "requires": { + "@jridgewell/sourcemap-codec": "^1.4.15" + } + }, + "mermaid": { + "version": "9.4.3", + "resolved": "https://registry.npmmirror.com/mermaid/-/mermaid-9.4.3.tgz", + "integrity": "sha512-TLkQEtqhRSuEHSE34lh5bCa94KATCyluAXmFnNI2PRZwOpXFeqiJWwZl+d2CcemE1RS6QbbueSSq9QIg8Uxcyw==", + "optional": true, + "requires": { + "@braintree/sanitize-url": "^6.0.0", + "cytoscape": "^3.23.0", + "cytoscape-cose-bilkent": "^4.1.0", + "cytoscape-fcose": "^2.1.0", + "d3": "^7.4.0", + "dagre-d3-es": "7.0.9", + "dayjs": "^1.11.7", + "dompurify": "2.4.3", + "elkjs": "^0.8.2", + "khroma": "^2.0.0", + "lodash-es": "^4.17.21", + "non-layered-tidy-tree-layout": "^2.0.2", + "stylis": "^4.1.2", + "ts-dedent": "^2.2.0", + "uuid": "^9.0.0", + "web-worker": "^1.2.0" + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "requires": { + "mime-db": "1.52.0" + } + }, + "minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" + }, + "mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "requires": { + "minimist": "^1.2.6" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "naive-ui": { + "version": "2.37.3", + "resolved": "https://registry.npmmirror.com/naive-ui/-/naive-ui-2.37.3.tgz", + "integrity": "sha512-aUkHFXVIluSi8Me+npbcsdv1NYhVMj5t9YaruoCESlqmfqspj+R2QHEVXkTtUI1kQwVrABMCtAGq/wountqjZA==", + "dev": true, + "requires": { + "@css-render/plugin-bem": "^0.15.12", + "@css-render/vue3-ssr": "^0.15.12", + "@types/katex": "^0.16.2", + "@types/lodash": "^4.14.198", + "@types/lodash-es": "^4.17.9", + "async-validator": "^4.2.5", + "css-render": "^0.15.12", + "csstype": "^3.1.3", + "date-fns": "^2.30.0", + "date-fns-tz": "^2.0.0", + "evtd": "^0.2.4", + "highlight.js": "^11.8.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "seemly": "^0.3.8", + "treemate": "^0.3.11", + "vdirs": "^0.1.8", + "vooks": "^0.2.12", + "vueuc": "^0.4.58" + } + }, + "nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" + }, + "nanopop": { + "version": "2.4.1", + "resolved": "https://registry.npmmirror.com/nanopop/-/nanopop-2.4.1.tgz", + "integrity": "sha512-hhtYHTaQPmclHHCWmh2EJpWQ9FCA47kj2r/vXqI0ACeMi/qR9qFYDQRSx+luami7qw1OkBR4luJqS6ADoC3FPQ==" + }, + "non-layered-tidy-tree-layout": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/non-layered-tidy-tree-layout/-/non-layered-tidy-tree-layout-2.0.2.tgz", + "integrity": "sha512-gkXMxRzUH+PB0ax9dUN0yYF0S25BqeAYqhgMaLUFmpXLEk7Fcu8f4emJuOAY0V8kjDICxROIKsTAKsV/v355xw==", + "optional": true + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "nwsapi": { + "version": "2.2.7", + "resolved": "https://registry.npmmirror.com/nwsapi/-/nwsapi-2.2.7.tgz", + "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==" + }, + "object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==" + }, + "opener": { + "version": "1.5.2", + "resolved": "https://registry.npmmirror.com/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==" + }, + "parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "portfinder": { + "version": "1.0.32", + "resolved": "https://registry.npmmirror.com/portfinder/-/portfinder-1.0.32.tgz", + "integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==", + "requires": { + "async": "^2.6.4", + "debug": "^3.2.7", + "mkdirp": "^0.5.6" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "postcss": { + "version": "8.4.33", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.33.tgz", + "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", + "requires": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "psl": { + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/psl/-/psl-1.9.0.tgz", + "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" + }, + "punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" + }, + "qs": { + "version": "6.11.2", + "resolved": "https://registry.npmmirror.com/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "requires": { + "side-channel": "^1.0.4" + } + }, + "querystringify": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/querystringify/-/querystringify-2.2.0.tgz", + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" + }, + "react": { + "version": "18.2.0", + "resolved": "https://registry.npmmirror.com/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "requires": { + "loose-envify": "^1.1.0" + } + }, + "react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmmirror.com/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "requires": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" + }, + "resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" + }, + "robust-predicates": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.2.tgz", + "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==", + "optional": true + }, + "rollup": { + "version": "4.9.5", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.9.5.tgz", + "integrity": "sha512-E4vQW0H/mbNMw2yLSqJyjtkHY9dslf/p0zuT1xehNRqUTBOFMqEjguDvqhXr7N7r/4ttb2jr4T41d3dncmIgbQ==", + "dev": true, + "requires": { + "@rollup/rollup-android-arm-eabi": "4.9.5", + "@rollup/rollup-android-arm64": "4.9.5", + "@rollup/rollup-darwin-arm64": "4.9.5", + "@rollup/rollup-darwin-x64": "4.9.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.5", + "@rollup/rollup-linux-arm64-gnu": "4.9.5", + "@rollup/rollup-linux-arm64-musl": "4.9.5", + "@rollup/rollup-linux-riscv64-gnu": "4.9.5", + "@rollup/rollup-linux-x64-gnu": "4.9.5", + "@rollup/rollup-linux-x64-musl": "4.9.5", + "@rollup/rollup-win32-arm64-msvc": "4.9.5", + "@rollup/rollup-win32-ia32-msvc": "4.9.5", + "@rollup/rollup-win32-x64-msvc": "4.9.5", + "@types/estree": "1.0.5", + "fsevents": "~2.3.2" + } + }, + "rw": { + "version": "1.3.3", + "resolved": "https://registry.npmmirror.com/rw/-/rw-1.3.3.tgz", + "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==", + "optional": true + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sass": { + "version": "1.69.7", + "resolved": "https://registry.npmmirror.com/sass/-/sass-1.69.7.tgz", + "integrity": "sha512-rzj2soDeZ8wtE2egyLXgOOHQvaC2iosZrkF6v3EUG+tBwEvhqUCzm0VP3k9gHF9LXbSrRhT5SksoI56Iw8NPnQ==", + "dev": true, + "requires": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + } + }, + "saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "requires": { + "xmlchars": "^2.2.0" + } + }, + "scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmmirror.com/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "requires": { + "loose-envify": "^1.1.0" + } + }, + "scroll-into-view-if-needed": { + "version": "2.2.31", + "resolved": "https://registry.npmmirror.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz", + "integrity": "sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==", + "requires": { + "compute-scroll-into-view": "^1.0.20" + } + }, + "secure-compare": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/secure-compare/-/secure-compare-3.0.1.tgz", + "integrity": "sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==" + }, + "seemly": { + "version": "0.3.8", + "resolved": "https://registry.npmmirror.com/seemly/-/seemly-0.3.8.tgz", + "integrity": "sha512-MW8Qs6vbzo0pHmDpFSYPna+lwpZ6Zk1ancbajw/7E8TKtHdV+1DfZZD+kKJEhG/cAoB/i+LiT+5msZOqj0DwRA==", + "dev": true + }, + "set-function-length": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/set-function-length/-/set-function-length-1.2.0.tgz", + "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", + "requires": { + "define-data-property": "^1.1.1", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.2", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + } + }, + "shallow-equal": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/shallow-equal/-/shallow-equal-1.2.1.tgz", + "integrity": "sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==" + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + }, + "stylis": { + "version": "4.3.1", + "resolved": "https://registry.npmmirror.com/stylis/-/stylis-4.3.1.tgz", + "integrity": "sha512-EQepAV+wMsIaGVGX1RECzgrcqRRU/0sYOHkeLsZ3fzHaHXZy4DaOOX0vOlGQdlsjkh3mFHAIlVimpwAs4dslyQ==" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + }, + "symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmmirror.com/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" + }, + "throttle-debounce": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-5.0.0.tgz", + "integrity": "sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "tough-cookie": { + "version": "4.1.3", + "resolved": "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-4.1.3.tgz", + "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "requires": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + } + }, + "tr46": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/tr46/-/tr46-3.0.0.tgz", + "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", + "requires": { + "punycode": "^2.1.1" + } + }, + "treemate": { + "version": "0.3.11", + "resolved": "https://registry.npmmirror.com/treemate/-/treemate-0.3.11.tgz", + "integrity": "sha512-M8RGFoKtZ8dF+iwJfAJTOH/SM4KluKOKRJpjCMhI8bG3qB74zrFoArKZ62ll0Fr3mqkMJiQOmWYkdYgDeITYQg==", + "dev": true + }, + "ts-dedent": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/ts-dedent/-/ts-dedent-2.2.0.tgz", + "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==", + "optional": true + }, + "typescript": { + "version": "5.3.3", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==" + }, + "union": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/union/-/union-0.5.0.tgz", + "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", + "requires": { + "qs": "^6.4.0" + } + }, + "universalify": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/universalify/-/universalify-0.2.0.tgz", + "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==" + }, + "url-join": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/url-join/-/url-join-4.0.1.tgz", + "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==" + }, + "url-parse": { + "version": "1.5.10", + "resolved": "https://registry.npmmirror.com/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", + "requires": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "optional": true + }, + "vdirs": { + "version": "0.1.8", + "resolved": "https://registry.npmmirror.com/vdirs/-/vdirs-0.1.8.tgz", + "integrity": "sha512-H9V1zGRLQZg9b+GdMk8MXDN2Lva0zx72MPahDKc30v+DtwKjfyOSXWRIX4t2mhDubM1H09gPhWeth/BJWPHGUw==", + "dev": true, + "requires": { + "evtd": "^0.2.2" + } + }, + "vfonts": { + "version": "0.0.3", + "resolved": "https://registry.npmmirror.com/vfonts/-/vfonts-0.0.3.tgz", + "integrity": "sha512-nguyw8L6Un8eelg1vQ31vIU2ESxqid7EYmy8V+MDeMaHBqaRSkg3dTBToC1PR00D89UzS/SLkfYPnx0Wf23IQQ==", + "dev": true + }, + "vite": { + "version": "5.0.11", + "resolved": "https://registry.npmmirror.com/vite/-/vite-5.0.11.tgz", + "integrity": "sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==", + "dev": true, + "requires": { + "esbuild": "^0.19.3", + "fsevents": "~2.3.3", + "postcss": "^8.4.32", + "rollup": "^4.2.0" + } + }, + "vooks": { + "version": "0.2.12", + "resolved": "https://registry.npmmirror.com/vooks/-/vooks-0.2.12.tgz", + "integrity": "sha512-iox0I3RZzxtKlcgYaStQYKEzWWGAduMmq+jS7OrNdQo1FgGfPMubGL3uGHOU9n97NIvfFDBGnpSvkWyb/NSn/Q==", + "dev": true, + "requires": { + "evtd": "^0.2.2" + } + }, + "vue": { + "version": "3.4.13", + "resolved": "https://registry.npmmirror.com/vue/-/vue-3.4.13.tgz", + "integrity": "sha512-FE3UZ0p+oUZTwz+SzlH/hDFg+XsVRFvwmx0LXjdD1pRK/cO4fu5v6ltAZji4za4IBih3dV78elUK3di8v3pWIg==", + "requires": { + "@vue/compiler-dom": "3.4.13", + "@vue/compiler-sfc": "3.4.13", + "@vue/runtime-dom": "3.4.13", + "@vue/server-renderer": "3.4.13", + "@vue/shared": "3.4.13" + } + }, + "vue-meta": { + "version": "2.4.0", + "resolved": "https://registry.npmmirror.com/vue-meta/-/vue-meta-2.4.0.tgz", + "integrity": "sha512-XEeZUmlVeODclAjCNpWDnjgw+t3WA6gdzs6ENoIAgwO1J1d5p1tezDhtteLUFwcaQaTtayRrsx7GL6oXp/m2Jw==", + "requires": { + "deepmerge": "^4.2.2" + } + }, + "vue-types": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/vue-types/-/vue-types-3.0.2.tgz", + "integrity": "sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==", + "requires": { + "is-plain-object": "3.0.1" + } + }, + "vuera": { + "version": "0.2.7", + "resolved": "https://registry.npmmirror.com/vuera/-/vuera-0.2.7.tgz", + "integrity": "sha512-MZErNEK+xXjxBzIDFL9cdEtX3TDZk4pMJGB+WLrlFOVro9okS/FeOSpdPFkpdyZUImZN/or4CrmztA932ChGEQ==", + "requires": {} + }, + "vueuc": { + "version": "0.4.58", + "resolved": "https://registry.npmmirror.com/vueuc/-/vueuc-0.4.58.tgz", + "integrity": "sha512-Wnj/N8WbPRSxSt+9ji1jtDHPzda5h2OH/0sFBhvdxDRuyCZbjGg3/cKMaKqEoe+dErTexG2R+i6Q8S/Toq1MYg==", + "dev": true, + "requires": { + "@css-render/vue3-ssr": "^0.15.10", + "@juggle/resize-observer": "^3.3.1", + "css-render": "^0.15.10", + "evtd": "^0.2.4", + "seemly": "^0.3.6", + "vdirs": "^0.1.4", + "vooks": "^0.2.4" + } + }, + "w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "requires": { + "browser-process-hrtime": "^1.0.0" + } + }, + "w3c-xmlserializer": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz", + "integrity": "sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==", + "requires": { + "xml-name-validator": "^4.0.0" + } + }, + "warning": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/warning/-/warning-4.0.3.tgz", + "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "requires": { + "loose-envify": "^1.0.0" + } + }, + "web-worker": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/web-worker/-/web-worker-1.3.0.tgz", + "integrity": "sha512-BSR9wyRsy/KOValMgd5kMyr3JzpdeoR9KVId8u5GVlTTAtNChlsE4yTxeY7zMdNSyOmoKBv8NH2qeRY9Tg+IaA==", + "optional": true + }, + "webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==" + }, + "whatwg-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", + "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", + "requires": { + "iconv-lite": "0.6.3" + } + }, + "whatwg-mimetype": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", + "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==" + }, + "whatwg-url": { + "version": "10.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-10.0.0.tgz", + "integrity": "sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==", + "requires": { + "tr46": "^3.0.0", + "webidl-conversions": "^7.0.0" + } + }, + "ws": { + "version": "8.16.0", + "resolved": "https://registry.npmmirror.com/ws/-/ws-8.16.0.tgz", + "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", + "requires": {} + }, + "xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==" + }, + "xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" + } + } +} diff --git a/cmd/gopcomm/yap/markdown-vue/package.json b/cmd/gopcomm/yap/markdown-vue/package.json new file mode 100644 index 0000000..2489ac9 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/package.json @@ -0,0 +1,31 @@ +{ + "name": "vue-cherry", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "@ant-design/icons-vue": "^7.0.1", + "ant-design-vue": "^4.1.1", + "axios": "^1.6.5", + "cherry-markdown": "^0.8.35", + "http-server": "^14.1.1", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "typescript": "^5.3.3", + "vue": "^3.3.11", + "vue-meta": "^2.4.0", + "vuera": "^0.2.7" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^4.5.2", + "naive-ui": "^2.37.3", + "sass": "^1.69.7", + "vfonts": "^0.0.3", + "vite": "^5.0.8" + } +} diff --git a/cmd/gopcomm/yap/markdown-vue/public/code.477d84dbc9b3d8c599fe.js b/cmd/gopcomm/yap/markdown-vue/public/code.477d84dbc9b3d8c599fe.js new file mode 100644 index 0000000..c9ff580 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/public/code.477d84dbc9b3d8c599fe.js @@ -0,0 +1,31599 @@ +/******/ (function() { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ 640: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +console.log("hhhhh") +var deselectCurrent = __webpack_require__(1742); + +var clipboardToIE11Formatting = { + "text/plain": "Text", + "text/html": "Url", + "default": "Text" +} + +var defaultMessage = "Copy to clipboard: #{key}, Enter"; + +function format(message) { + var copyKey = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C"; + return message.replace(/#{\s*key\s*}/g, copyKey); +} + +function copy(text, options) { + var debug, + message, + reselectPrevious, + range, + selection, + mark, + success = false; + if (!options) { + options = {}; + } + debug = options.debug || false; + try { + reselectPrevious = deselectCurrent(); + + range = document.createRange(); + selection = document.getSelection(); + + mark = document.createElement("span"); + mark.textContent = text; + // reset user styles for span element + mark.style.all = "unset"; + // prevents scrolling to the end of the page + mark.style.position = "fixed"; + mark.style.top = 0; + mark.style.clip = "rect(0, 0, 0, 0)"; + // used to preserve spaces and line breaks + mark.style.whiteSpace = "pre"; + // do not inherit user-select (it may be `none`) + mark.style.webkitUserSelect = "text"; + mark.style.MozUserSelect = "text"; + mark.style.msUserSelect = "text"; + mark.style.userSelect = "text"; + mark.addEventListener("copy", function(e) { + e.stopPropagation(); + if (options.format) { + e.preventDefault(); + if (typeof e.clipboardData === "undefined") { // IE 11 + debug && console.warn("unable to use e.clipboardData"); + debug && console.warn("trying IE specific stuff"); + window.clipboardData.clearData(); + var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"] + window.clipboardData.setData(format, text); + } else { // all other browsers + e.clipboardData.clearData(); + e.clipboardData.setData(options.format, text); + } + } + if (options.onCopy) { + e.preventDefault(); + options.onCopy(e.clipboardData); + } + }); + + document.body.appendChild(mark); + + range.selectNodeContents(mark); + selection.addRange(range); + + var successful = document.execCommand("copy"); + if (!successful) { + throw new Error("copy command was unsuccessful"); + } + success = true; + } catch (err) { + debug && console.error("unable to copy using execCommand: ", err); + debug && console.warn("trying IE specific stuff"); + try { + window.clipboardData.setData(options.format || "text", text); + options.onCopy && options.onCopy(window.clipboardData); + success = true; + } catch (err) { + debug && console.error("unable to copy using clipboardData: ", err); + debug && console.error("falling back to prompt"); + message = format("message" in options ? options.message : defaultMessage); + window.prompt(message, text); + } + } finally { + if (selection) { + if (typeof selection.removeRange == "function") { + selection.removeRange(range); + } else { + selection.removeAllRanges(); + } + } + + if (mark) { + document.body.removeChild(mark); + } + reselectPrevious(); + } + + return success; +} + +module.exports = copy; + + +/***/ }), + +/***/ 8892: +/***/ (function(module) { + +"use strict"; + + +module.exports = parse + +var search = /[#.]/g + +// Create a hast element from a simple CSS selector. +function parse(selector, defaultTagName) { + var value = selector || '' + var name = defaultTagName || 'div' + var props = {} + var start = 0 + var subvalue + var previous + var match + + while (start < value.length) { + search.lastIndex = start + match = search.exec(value) + subvalue = value.slice(start, match ? match.index : value.length) + + if (subvalue) { + if (!previous) { + name = subvalue + } else if (previous === '#') { + props.id = subvalue + } else if (props.className) { + props.className.push(subvalue) + } else { + props.className = [subvalue] + } + + start += subvalue.length + } + + if (match) { + previous = match[0] + start++ + } + } + + return {type: 'element', tagName: name, properties: props, children: []} +} + + +/***/ }), + +/***/ 2502: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var find = __webpack_require__(5575) +var normalize = __webpack_require__(4977) +var parseSelector = __webpack_require__(8892) +var spaces = (__webpack_require__(2473)/* .parse */ .Q) +var commas = (__webpack_require__(4395)/* .parse */ .Q) + +module.exports = factory + +var own = {}.hasOwnProperty + +function factory(schema, defaultTagName, caseSensitive) { + var adjust = caseSensitive ? createAdjustMap(caseSensitive) : null + + return h + + // Hyperscript compatible DSL for creating virtual hast trees. + function h(selector, properties) { + var node = parseSelector(selector, defaultTagName) + var children = Array.prototype.slice.call(arguments, 2) + var name = node.tagName.toLowerCase() + var property + + node.tagName = adjust && own.call(adjust, name) ? adjust[name] : name + + if (properties && isChildren(properties, node)) { + children.unshift(properties) + properties = null + } + + if (properties) { + for (property in properties) { + addProperty(node.properties, property, properties[property]) + } + } + + addChild(node.children, children) + + if (node.tagName === 'template') { + node.content = {type: 'root', children: node.children} + node.children = [] + } + + return node + } + + function addProperty(properties, key, value) { + var info + var property + var result + + // Ignore nullish and NaN values. + if (value === null || value === undefined || value !== value) { + return + } + + info = find(schema, key) + property = info.property + result = value + + // Handle list values. + if (typeof result === 'string') { + if (info.spaceSeparated) { + result = spaces(result) + } else if (info.commaSeparated) { + result = commas(result) + } else if (info.commaOrSpaceSeparated) { + result = spaces(commas(result).join(' ')) + } + } + + // Accept `object` on style. + if (property === 'style' && typeof value !== 'string') { + result = style(result) + } + + // Class-names (which can be added both on the `selector` and here). + if (property === 'className' && properties.className) { + result = properties.className.concat(result) + } + + properties[property] = parsePrimitives(info, property, result) + } +} + +function isChildren(value, node) { + return ( + typeof value === 'string' || + 'length' in value || + isNode(node.tagName, value) + ) +} + +function isNode(tagName, value) { + var type = value.type + + if (tagName === 'input' || !type || typeof type !== 'string') { + return false + } + + if (typeof value.children === 'object' && 'length' in value.children) { + return true + } + + type = type.toLowerCase() + + if (tagName === 'button') { + return ( + type !== 'menu' && + type !== 'submit' && + type !== 'reset' && + type !== 'button' + ) + } + + return 'value' in value +} + +function addChild(nodes, value) { + var index + var length + + if (typeof value === 'string' || typeof value === 'number') { + nodes.push({type: 'text', value: String(value)}) + return + } + + if (typeof value === 'object' && 'length' in value) { + index = -1 + length = value.length + + while (++index < length) { + addChild(nodes, value[index]) + } + + return + } + + if (typeof value !== 'object' || !('type' in value)) { + throw new Error('Expected node, nodes, or string, got `' + value + '`') + } + + nodes.push(value) +} + +// Parse a (list of) primitives. +function parsePrimitives(info, name, value) { + var index + var length + var result + + if (typeof value !== 'object' || !('length' in value)) { + return parsePrimitive(info, name, value) + } + + length = value.length + index = -1 + result = [] + + while (++index < length) { + result[index] = parsePrimitive(info, name, value[index]) + } + + return result +} + +// Parse a single primitives. +function parsePrimitive(info, name, value) { + var result = value + + if (info.number || info.positiveNumber) { + if (!isNaN(result) && result !== '') { + result = Number(result) + } + } else if (info.boolean || info.overloadedBoolean) { + // Accept `boolean` and `string`. + if ( + typeof result === 'string' && + (result === '' || normalize(value) === normalize(name)) + ) { + result = true + } + } + + return result +} + +function style(value) { + var result = [] + var key + + for (key in value) { + result.push([key, value[key]].join(': ')) + } + + return result.join('; ') +} + +function createAdjustMap(values) { + var length = values.length + var index = -1 + var result = {} + var value + + while (++index < length) { + value = values[index] + result[value.toLowerCase()] = value + } + + return result +} + + +/***/ }), + +/***/ 2579: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var schema = __webpack_require__(8055) +var factory = __webpack_require__(2502) + +var html = factory(schema, 'div') +html.displayName = 'html' + +module.exports = html + + +/***/ }), + +/***/ 4862: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +module.exports = __webpack_require__(2579) + + +/***/ }), + +/***/ 4395: +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; +var __webpack_unused_export__; + + +exports.Q = parse +__webpack_unused_export__ = stringify + +var comma = ',' +var space = ' ' +var empty = '' + +// Parse comma-separated tokens to an array. +function parse(value) { + var values = [] + var input = String(value || empty) + var index = input.indexOf(comma) + var lastIndex = 0 + var end = false + var val + + while (!end) { + if (index === -1) { + index = input.length + end = true + } + + val = input.slice(lastIndex, index).trim() + + if (val || !end) { + values.push(val) + } + + lastIndex = index + 1 + index = input.indexOf(comma, lastIndex) + } + + return values +} + +// Compile an array to comma-separated tokens. +// `options.padLeft` (default: `true`) pads a space left of each token, and +// `options.padRight` (default: `false`) pads a space to the right of each token. +function stringify(values, options) { + var settings = options || {} + var left = settings.padLeft === false ? empty : space + var right = settings.padRight ? space : empty + + // Ensure the last empty entry is seen. + if (values[values.length - 1] === empty) { + values = values.concat(empty) + } + + return values.join(right + comma + left).trim() +} + + +/***/ }), + +/***/ 5575: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var normalize = __webpack_require__(4977) +var DefinedInfo = __webpack_require__(8444) +var Info = __webpack_require__(313) + +var data = 'data' + +module.exports = find + +var valid = /^data[-\w.:]+$/i +var dash = /-[a-z]/g +var cap = /[A-Z]/g + +function find(schema, value) { + var normal = normalize(value) + var prop = value + var Type = Info + + if (normal in schema.normal) { + return schema.property[schema.normal[normal]] + } + + if (normal.length > 4 && normal.slice(0, 4) === data && valid.test(value)) { + // Attribute or property. + if (value.charAt(4) === '-') { + prop = datasetToProperty(value) + } else { + value = datasetToAttribute(value) + } + + Type = DefinedInfo + } + + return new Type(prop, value) +} + +function datasetToProperty(attribute) { + var value = attribute.slice(5).replace(dash, camelcase) + return data + value.charAt(0).toUpperCase() + value.slice(1) +} + +function datasetToAttribute(property) { + var value = property.slice(4) + + if (dash.test(value)) { + return property + } + + value = value.replace(cap, kebab) + + if (value.charAt(0) !== '-') { + value = '-' + value + } + + return data + value +} + +function kebab($0) { + return '-' + $0.toLowerCase() +} + +function camelcase($0) { + return $0.charAt(1).toUpperCase() +} + + +/***/ }), + +/***/ 8055: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var merge = __webpack_require__(6230) +var xlink = __webpack_require__(3970) +var xml = __webpack_require__(629) +var xmlns = __webpack_require__(647) +var aria = __webpack_require__(1305) +var html = __webpack_require__(2537) + +module.exports = merge([xml, xlink, xmlns, aria, html]) + + +/***/ }), + +/***/ 1305: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var types = __webpack_require__(1422) +var create = __webpack_require__(7589) + +var booleanish = types.booleanish +var number = types.number +var spaceSeparated = types.spaceSeparated + +module.exports = create({ + transform: ariaTransform, + properties: { + ariaActiveDescendant: null, + ariaAtomic: booleanish, + ariaAutoComplete: null, + ariaBusy: booleanish, + ariaChecked: booleanish, + ariaColCount: number, + ariaColIndex: number, + ariaColSpan: number, + ariaControls: spaceSeparated, + ariaCurrent: null, + ariaDescribedBy: spaceSeparated, + ariaDetails: null, + ariaDisabled: booleanish, + ariaDropEffect: spaceSeparated, + ariaErrorMessage: null, + ariaExpanded: booleanish, + ariaFlowTo: spaceSeparated, + ariaGrabbed: booleanish, + ariaHasPopup: null, + ariaHidden: booleanish, + ariaInvalid: null, + ariaKeyShortcuts: null, + ariaLabel: null, + ariaLabelledBy: spaceSeparated, + ariaLevel: number, + ariaLive: null, + ariaModal: booleanish, + ariaMultiLine: booleanish, + ariaMultiSelectable: booleanish, + ariaOrientation: null, + ariaOwns: spaceSeparated, + ariaPlaceholder: null, + ariaPosInSet: number, + ariaPressed: booleanish, + ariaReadOnly: booleanish, + ariaRelevant: null, + ariaRequired: booleanish, + ariaRoleDescription: spaceSeparated, + ariaRowCount: number, + ariaRowIndex: number, + ariaRowSpan: number, + ariaSelected: booleanish, + ariaSetSize: number, + ariaSort: null, + ariaValueMax: number, + ariaValueMin: number, + ariaValueNow: number, + ariaValueText: null, + role: null + } +}) + +function ariaTransform(_, prop) { + return prop === 'role' ? prop : 'aria-' + prop.slice(4).toLowerCase() +} + + +/***/ }), + +/***/ 2537: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var types = __webpack_require__(1422) +var create = __webpack_require__(7589) +var caseInsensitiveTransform = __webpack_require__(9348) + +var boolean = types.boolean +var overloadedBoolean = types.overloadedBoolean +var booleanish = types.booleanish +var number = types.number +var spaceSeparated = types.spaceSeparated +var commaSeparated = types.commaSeparated + +module.exports = create({ + space: 'html', + attributes: { + acceptcharset: 'accept-charset', + classname: 'class', + htmlfor: 'for', + httpequiv: 'http-equiv' + }, + transform: caseInsensitiveTransform, + mustUseProperty: ['checked', 'multiple', 'muted', 'selected'], + properties: { + // Standard Properties. + abbr: null, + accept: commaSeparated, + acceptCharset: spaceSeparated, + accessKey: spaceSeparated, + action: null, + allow: null, + allowFullScreen: boolean, + allowPaymentRequest: boolean, + allowUserMedia: boolean, + alt: null, + as: null, + async: boolean, + autoCapitalize: null, + autoComplete: spaceSeparated, + autoFocus: boolean, + autoPlay: boolean, + capture: boolean, + charSet: null, + checked: boolean, + cite: null, + className: spaceSeparated, + cols: number, + colSpan: null, + content: null, + contentEditable: booleanish, + controls: boolean, + controlsList: spaceSeparated, + coords: number | commaSeparated, + crossOrigin: null, + data: null, + dateTime: null, + decoding: null, + default: boolean, + defer: boolean, + dir: null, + dirName: null, + disabled: boolean, + download: overloadedBoolean, + draggable: booleanish, + encType: null, + enterKeyHint: null, + form: null, + formAction: null, + formEncType: null, + formMethod: null, + formNoValidate: boolean, + formTarget: null, + headers: spaceSeparated, + height: number, + hidden: boolean, + high: number, + href: null, + hrefLang: null, + htmlFor: spaceSeparated, + httpEquiv: spaceSeparated, + id: null, + imageSizes: null, + imageSrcSet: commaSeparated, + inputMode: null, + integrity: null, + is: null, + isMap: boolean, + itemId: null, + itemProp: spaceSeparated, + itemRef: spaceSeparated, + itemScope: boolean, + itemType: spaceSeparated, + kind: null, + label: null, + lang: null, + language: null, + list: null, + loading: null, + loop: boolean, + low: number, + manifest: null, + max: null, + maxLength: number, + media: null, + method: null, + min: null, + minLength: number, + multiple: boolean, + muted: boolean, + name: null, + nonce: null, + noModule: boolean, + noValidate: boolean, + onAbort: null, + onAfterPrint: null, + onAuxClick: null, + onBeforePrint: null, + onBeforeUnload: null, + onBlur: null, + onCancel: null, + onCanPlay: null, + onCanPlayThrough: null, + onChange: null, + onClick: null, + onClose: null, + onContextMenu: null, + onCopy: null, + onCueChange: null, + onCut: null, + onDblClick: null, + onDrag: null, + onDragEnd: null, + onDragEnter: null, + onDragExit: null, + onDragLeave: null, + onDragOver: null, + onDragStart: null, + onDrop: null, + onDurationChange: null, + onEmptied: null, + onEnded: null, + onError: null, + onFocus: null, + onFormData: null, + onHashChange: null, + onInput: null, + onInvalid: null, + onKeyDown: null, + onKeyPress: null, + onKeyUp: null, + onLanguageChange: null, + onLoad: null, + onLoadedData: null, + onLoadedMetadata: null, + onLoadEnd: null, + onLoadStart: null, + onMessage: null, + onMessageError: null, + onMouseDown: null, + onMouseEnter: null, + onMouseLeave: null, + onMouseMove: null, + onMouseOut: null, + onMouseOver: null, + onMouseUp: null, + onOffline: null, + onOnline: null, + onPageHide: null, + onPageShow: null, + onPaste: null, + onPause: null, + onPlay: null, + onPlaying: null, + onPopState: null, + onProgress: null, + onRateChange: null, + onRejectionHandled: null, + onReset: null, + onResize: null, + onScroll: null, + onSecurityPolicyViolation: null, + onSeeked: null, + onSeeking: null, + onSelect: null, + onSlotChange: null, + onStalled: null, + onStorage: null, + onSubmit: null, + onSuspend: null, + onTimeUpdate: null, + onToggle: null, + onUnhandledRejection: null, + onUnload: null, + onVolumeChange: null, + onWaiting: null, + onWheel: null, + open: boolean, + optimum: number, + pattern: null, + ping: spaceSeparated, + placeholder: null, + playsInline: boolean, + poster: null, + preload: null, + readOnly: boolean, + referrerPolicy: null, + rel: spaceSeparated, + required: boolean, + reversed: boolean, + rows: number, + rowSpan: number, + sandbox: spaceSeparated, + scope: null, + scoped: boolean, + seamless: boolean, + selected: boolean, + shape: null, + size: number, + sizes: null, + slot: null, + span: number, + spellCheck: booleanish, + src: null, + srcDoc: null, + srcLang: null, + srcSet: commaSeparated, + start: number, + step: null, + style: null, + tabIndex: number, + target: null, + title: null, + translate: null, + type: null, + typeMustMatch: boolean, + useMap: null, + value: booleanish, + width: number, + wrap: null, + + // Legacy. + // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis + align: null, // Several. Use CSS `text-align` instead, + aLink: null, // ``. Use CSS `a:active {color}` instead + archive: spaceSeparated, // ``. List of URIs to archives + axis: null, // `` and ``. Use `scope` on `` + background: null, // ``. Use CSS `background-image` instead + bgColor: null, // `` and table elements. Use CSS `background-color` instead + border: number, // ``. Use CSS `border-width` instead, + borderColor: null, // `
`. Use CSS `border-color` instead, + bottomMargin: number, // `` + cellPadding: null, // `
` + cellSpacing: null, // `
` + char: null, // Several table elements. When `align=char`, sets the character to align on + charOff: null, // Several table elements. When `char`, offsets the alignment + classId: null, // `` + clear: null, // `
`. Use CSS `clear` instead + code: null, // `` + codeBase: null, // `` + codeType: null, // `` + color: null, // `` and `
`. Use CSS instead + compact: boolean, // Lists. Use CSS to reduce space between items instead + declare: boolean, // `` + event: null, // ` + + + + + + diff --git a/cmd/gopcomm/yap/markdown-vue/src/assets/background.svg b/cmd/gopcomm/yap/markdown-vue/src/assets/background.svg new file mode 100644 index 0000000..0181ca1 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/assets/background.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/cmd/gopcomm/yap/markdown-vue/src/assets/vue.svg b/cmd/gopcomm/yap/markdown-vue/src/assets/vue.svg new file mode 100644 index 0000000..770e9d3 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/assets/vue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/cmd/gopcomm/yap/markdown-vue/src/components/Cherry.vue b/cmd/gopcomm/yap/markdown-vue/src/components/Cherry.vue new file mode 100644 index 0000000..a6d5c63 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/components/Cherry.vue @@ -0,0 +1,928 @@ + + + + + + + + \ No newline at end of file diff --git a/cmd/gopcomm/yap/markdown-vue/src/components/HelloWorld.vue b/cmd/gopcomm/yap/markdown-vue/src/components/HelloWorld.vue new file mode 100644 index 0000000..f5e4f53 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/components/HelloWorld.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/cmd/gopcomm/yap/markdown-vue/src/components/c.vue b/cmd/gopcomm/yap/markdown-vue/src/components/c.vue new file mode 100644 index 0000000..05eaee3 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/components/c.vue @@ -0,0 +1 @@ + // 'justify', // 对齐方式,默认不推荐这么“复杂”的样式要求 diff --git a/cmd/gopcomm/yap/markdown-vue/src/components/gop.vue b/cmd/gopcomm/yap/markdown-vue/src/components/gop.vue new file mode 100644 index 0000000..00359c3 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/components/gop.vue @@ -0,0 +1,73 @@ + + + \ No newline at end of file diff --git a/cmd/gopcomm/yap/markdown-vue/src/main.js b/cmd/gopcomm/yap/markdown-vue/src/main.js new file mode 100644 index 0000000..89d270e --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/main.js @@ -0,0 +1,13 @@ +import { createApp } from 'vue' +import './style.css' +import App from './App.vue' +import Cherry from 'cherry-markdown' + +import Antd from 'ant-design-vue'; +import 'ant-design-vue/dist/reset.css'; + + + +createApp(App).use(Antd).mount('#app') + + diff --git a/cmd/gopcomm/yap/markdown-vue/src/style.css b/cmd/gopcomm/yap/markdown-vue/src/style.css new file mode 100644 index 0000000..64e1761 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/src/style.css @@ -0,0 +1,79 @@ +:root { + font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; + line-height: 1.5; + font-weight: 400; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +a { + font-weight: 500; + color: #646cff; + text-decoration: inherit; +} +a:hover { + color: #535bf2; +} + +body { + margin: 0; + display: flex; + place-items: center; + min-width: 320px; + min-height: 100vh; +} + +h1 { + font-size: 3.2em; + line-height: 1.1; +} + +button { + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; +} +button:hover { + border-color: #646cff; +} +button:focus, +button:focus-visible { + outline: 4px auto -webkit-focus-ring-color; +} + +.card { + padding: 2em; +} + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: left; +} + +@media (prefers-color-scheme: light) { + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } +} diff --git a/cmd/gopcomm/yap/markdown-vue/vite.config.js b/cmd/gopcomm/yap/markdown-vue/vite.config.js new file mode 100644 index 0000000..74450e7 --- /dev/null +++ b/cmd/gopcomm/yap/markdown-vue/vite.config.js @@ -0,0 +1,65 @@ +import { defineConfig, loadEnv } from 'vite' +import vue from '@vitejs/plugin-vue' + +// import { fileURLToPath, URL } from 'node:url' + +// import {viteSingleFile} from "vite-plugin-singlefile"; +// import AutoImport from 'unplugin-auto-import/vite'; +// import Components from 'unplugin-vue-components/vite'; +// import {ElementPlusResolver} from "unplugin-vue-components/resolvers"; + + + +// https://vitejs.dev/config/ +// export default defineConfig(({mode}) => { +// const env = loadEnv(mode, __dirname) +// return { +// plugins: [ +// vue(), +// ], +// // base: env.VITE_MODE === 'production' ? './' : '/', +// base: './', +// resolve: { +// alias: { +// //resolve.alias设置别称 解决@绝对路径引入问题 +// "@": fileURLToPath(new URL('./src', import.meta.url)) +// }, +// } +// } + +// }) + +export default defineConfig({ + plugins: [ + vue(), + // viteSingleFile(), + // AutoImport({ + // resolvers: [ElementPlusResolver()], + // }), + // Components({ + // resolvers: [ElementPlusResolver()], + // }), + ], + // build: { + // minify: false, + // }, + + // resolve: { + // alias: { + // '@': fileURLToPath(new URL('./src', import.meta.url)) + // } + // }, + server: { + cors: true, // 默认启用并允许任何源 + open: true, // 在服务器启动时自动在浏览器中打开应用程序 + //反向代理配置,注意rewrite写法,开始没看文档在这里踩了坑 + proxy: {// 本地开发环境通过代理实现跨域,生产环境使用 nginx 转发 + '/api': { + target: 'http://localhost:8080', // 通过代理接口访问实际地址。这里是实际访问的地址。vue会通过代理服务器来代理请求 + changeOrigin: true, + ws: true, // 允许websocket代理 + rewrite: (path) => path.replace(/^\/api/, '') // 将api替换为空 + } + } + } +}) diff --git a/cmd/gopcomm/yap/markdown.html b/cmd/gopcomm/yap/markdown.html new file mode 100644 index 0000000..c539977 --- /dev/null +++ b/cmd/gopcomm/yap/markdown.html @@ -0,0 +1,13 @@ + + + + + + Markdown + + + + +
+ + diff --git a/cmd/gopcomm/yap/static/assets/background-6Ml1ZoJJ.svg b/cmd/gopcomm/yap/static/assets/background-6Ml1ZoJJ.svg new file mode 100644 index 0000000..0181ca1 --- /dev/null +++ b/cmd/gopcomm/yap/static/assets/background-6Ml1ZoJJ.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/cmd/gopcomm/yap/static/assets/index-2uz3vrDa.js b/cmd/gopcomm/yap/static/assets/index-2uz3vrDa.js new file mode 100644 index 0000000..7844525 --- /dev/null +++ b/cmd/gopcomm/yap/static/assets/index-2uz3vrDa.js @@ -0,0 +1,2494 @@ +var gFn=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var HHr=gFn((Yf,qf)=>{(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function i(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(s){if(s.ep)return;s.ep=!0;const u=i(s);fetch(s.href,u)}})();/** +* @vue/shared v3.4.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function JGe(t,n){const i=new Set(t.split(","));return n?o=>i.has(o.toLowerCase()):o=>i.has(o)}const Z1={},FW=[],I6=()=>{},pFn=()=>!1,C5e=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ZGe=t=>t.startsWith("onUpdate:"),vA=Object.assign,eYe=(t,n)=>{const i=t.indexOf(n);i>-1&&t.splice(i,1)},AFn=Object.prototype.hasOwnProperty,gh=(t,n)=>AFn.call(t,n),Ic=Array.isArray,_oe=t=>T5e(t)==="[object Map]",mFn=t=>T5e(t)==="[object Set]",lu=t=>typeof t=="function",dm=t=>typeof t=="string",S5e=t=>typeof t=="symbol",ap=t=>t!==null&&typeof t=="object",WGt=t=>(ap(t)||lu(t))&&lu(t.then)&&lu(t.catch),vFn=Object.prototype.toString,T5e=t=>vFn.call(t),bFn=t=>T5e(t).slice(8,-1),yFn=t=>T5e(t)==="[object Object]",tYe=t=>dm(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Cye=JGe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E5e=t=>{const n=Object.create(null);return i=>n[i]||(n[i]=t(i))},wFn=/-(\w)/g,U9=E5e(t=>t.replace(wFn,(n,i)=>i?i.toUpperCase():"")),xFn=/\B([A-Z])/g,ZX=E5e(t=>t.replace(xFn,"-$1").toLowerCase()),k5e=E5e(t=>t.charAt(0).toUpperCase()+t.slice(1)),xQe=E5e(t=>t?`on${k5e(t)}`:""),TL=(t,n)=>!Object.is(t,n),CQe=(t,n)=>{for(let i=0;i{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value:i})},CFn=t=>{const n=parseFloat(t);return isNaN(n)?t:n},SFn=t=>{const n=dm(t)?Number(t):NaN;return isNaN(n)?t:n};let wPt;const XGt=()=>wPt||(wPt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nYe(t){if(Ic(t)){const n={};for(let i=0;i{if(i){const o=i.split(EFn);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n}function rYe(t){let n="";if(dm(t))n=t;else if(Ic(t))for(let i=0;i=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),PQ()}return this._dirtyLevel>=2}set dirty(n){this._dirtyLevel=n?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let n=AL,i=YH;try{return AL=!0,YH=this,this._runnings++,xPt(this),this.fn()}finally{CPt(this),this._runnings--,YH=i,AL=n}}stop(){var n;this.active&&(xPt(this),CPt(this),(n=this.onStop)==null||n.call(this),this.active=!1)}}function PFn(t){return t.value}function xPt(t){t._trackId++,t._depsLength=0}function CPt(t){if(t.deps&&t.deps.length>t._depsLength){for(let n=t._depsLength;n{const i=new Map;return i.cleanup=t,i.computed=n,i},h3e=new WeakMap,qH=Symbol(""),YKe=Symbol("");function K3(t,n,i){if(AL&&YH){let o=h3e.get(t);o||h3e.set(t,o=new Map);let s=o.get(i);s||o.set(i,s=tYt(()=>o.delete(i))),ZGt(YH,s)}}function k$(t,n,i,o,s,u){const d=h3e.get(t);if(!d)return;let f=[];if(n==="clear")f=[...d.values()];else if(i==="length"&&Ic(t)){const g=Number(o);d.forEach((m,b)=>{(b==="length"||!S5e(b)&&b>=g)&&f.push(m)})}else switch(i!==void 0&&f.push(d.get(i)),n){case"add":Ic(t)?tYe(i)&&f.push(d.get("length")):(f.push(d.get(qH)),_oe(t)&&f.push(d.get(YKe)));break;case"delete":Ic(t)||(f.push(d.get(qH)),_oe(t)&&f.push(d.get(YKe)));break;case"set":_oe(t)&&f.push(d.get(qH));break}oYe();for(const g of f)g&&eYt(g,2);aYe()}function LFn(t,n){var i;return(i=h3e.get(t))==null?void 0:i.get(n)}const DFn=JGe("__proto__,__v_isRef,__isVue"),nYt=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(S5e)),SPt=FFn();function FFn(){const t={};return["includes","indexOf","lastIndexOf"].forEach(n=>{t[n]=function(...i){const o=Js(this);for(let u=0,d=this.length;u{t[n]=function(...i){MQ(),oYe();const o=Js(this)[n].apply(this,i);return aYe(),PQ(),o}}),t}function NFn(t){const n=Js(this);return K3(n,"has",t),n.hasOwnProperty(t)}class rYt{constructor(n=!1,i=!1){this._isReadonly=n,this._shallow=i}get(n,i,o){const s=this._isReadonly,u=this._shallow;if(i==="__v_isReactive")return!s;if(i==="__v_isReadonly")return s;if(i==="__v_isShallow")return u;if(i==="__v_raw")return o===(s?u?qFn:sYt:u?aYt:oYt).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(o)?n:void 0;const d=Ic(n);if(!s){if(d&&gh(SPt,i))return Reflect.get(SPt,i,o);if(i==="hasOwnProperty")return NFn}const f=Reflect.get(n,i,o);return(S5e(i)?nYt.has(i):DFn(i))||(s||K3(n,"get",i),u)?f:tv(f)?d&&tYe(i)?f:f.value:ap(f)?s?lYt(f):cu(f):f}}class iYt extends rYt{constructor(n=!1){super(!1,n)}set(n,i,o,s){let u=n[i];if(!this._shallow){const g=hX(u);if(!f3e(o)&&!hX(o)&&(u=Js(u),o=Js(o)),!Ic(n)&&tv(u)&&!tv(o))return g?!1:(u.value=o,!0)}const d=Ic(n)&&tYe(i)?Number(i)t,B5e=t=>Reflect.getPrototypeOf(t);function Lbe(t,n,i=!1,o=!1){t=t.__v_raw;const s=Js(t),u=Js(n);i||(TL(n,u)&&K3(s,"get",n),K3(s,"get",u));const{has:d}=B5e(s),f=o?sYe:i?uYe:Cae;if(d.call(s,n))return f(t.get(n));if(d.call(s,u))return f(t.get(u));t!==s&&t.get(n)}function Dbe(t,n=!1){const i=this.__v_raw,o=Js(i),s=Js(t);return n||(TL(t,s)&&K3(o,"has",t),K3(o,"has",s)),t===s?i.has(t):i.has(t)||i.has(s)}function Fbe(t,n=!1){return t=t.__v_raw,!n&&K3(Js(t),"iterate",qH),Reflect.get(t,"size",t)}function TPt(t){t=Js(t);const n=Js(this);return B5e(n).has.call(n,t)||(n.add(t),k$(n,"add",t,t)),this}function EPt(t,n){n=Js(n);const i=Js(this),{has:o,get:s}=B5e(i);let u=o.call(i,t);u||(t=Js(t),u=o.call(i,t));const d=s.call(i,t);return i.set(t,n),u?TL(n,d)&&k$(i,"set",t,n):k$(i,"add",t,n),this}function kPt(t){const n=Js(this),{has:i,get:o}=B5e(n);let s=i.call(n,t);s||(t=Js(t),s=i.call(n,t)),o&&o.call(n,t);const u=n.delete(t);return s&&k$(n,"delete",t,void 0),u}function BPt(){const t=Js(this),n=t.size!==0,i=t.clear();return n&&k$(t,"clear",void 0,void 0),i}function Nbe(t,n){return function(o,s){const u=this,d=u.__v_raw,f=Js(d),g=n?sYe:t?uYe:Cae;return!t&&K3(f,"iterate",qH),d.forEach((m,b)=>o.call(s,g(m),g(b),u))}}function Rbe(t,n,i){return function(...o){const s=this.__v_raw,u=Js(s),d=_oe(u),f=t==="entries"||t===Symbol.iterator&&d,g=t==="keys"&&d,m=s[t](...o),b=i?sYe:n?uYe:Cae;return!n&&K3(u,"iterate",g?YKe:qH),{next(){const{value:w,done:C}=m.next();return C?{value:w,done:C}:{value:f?[b(w[0]),b(w[1])]:b(w),done:C}},[Symbol.iterator](){return this}}}}function MP(t){return function(...n){return t==="delete"?!1:t==="clear"?void 0:this}}function UFn(){const t={get(u){return Lbe(this,u)},get size(){return Fbe(this)},has:Dbe,add:TPt,set:EPt,delete:kPt,clear:BPt,forEach:Nbe(!1,!1)},n={get(u){return Lbe(this,u,!1,!0)},get size(){return Fbe(this)},has:Dbe,add:TPt,set:EPt,delete:kPt,clear:BPt,forEach:Nbe(!1,!0)},i={get(u){return Lbe(this,u,!0)},get size(){return Fbe(this,!0)},has(u){return Dbe.call(this,u,!0)},add:MP("add"),set:MP("set"),delete:MP("delete"),clear:MP("clear"),forEach:Nbe(!0,!1)},o={get(u){return Lbe(this,u,!0,!0)},get size(){return Fbe(this,!0)},has(u){return Dbe.call(this,u,!0)},add:MP("add"),set:MP("set"),delete:MP("delete"),clear:MP("clear"),forEach:Nbe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(u=>{t[u]=Rbe(u,!1,!1),i[u]=Rbe(u,!0,!1),n[u]=Rbe(u,!1,!0),o[u]=Rbe(u,!0,!0)}),[t,i,n,o]}const[zFn,KFn,VFn,WFn]=UFn();function lYe(t,n){const i=n?t?WFn:VFn:t?KFn:zFn;return(o,s,u)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?o:Reflect.get(gh(i,s)&&s in o?i:o,s,u)}const XFn={get:lYe(!1,!1)},GFn={get:lYe(!1,!0)},YFn={get:lYe(!0,!1)},oYt=new WeakMap,aYt=new WeakMap,sYt=new WeakMap,qFn=new WeakMap;function JFn(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ZFn(t){return t.__v_skip||!Object.isExtensible(t)?0:JFn(bFn(t))}function cu(t){return hX(t)?t:cYe(t,!1,HFn,XFn,oYt)}function eNn(t){return cYe(t,!1,jFn,GFn,aYt)}function lYt(t){return cYe(t,!0,QFn,YFn,sYt)}function cYe(t,n,i,o,s){if(!ap(t)||t.__v_raw&&!(n&&t.__v_isReactive))return t;const u=s.get(t);if(u)return u;const d=ZFn(t);if(d===0)return t;const f=new Proxy(t,d===2?o:i);return s.set(t,f),f}function NW(t){return hX(t)?NW(t.__v_raw):!!(t&&t.__v_isReactive)}function hX(t){return!!(t&&t.__v_isReadonly)}function f3e(t){return!!(t&&t.__v_isShallow)}function cYt(t){return NW(t)||hX(t)}function Js(t){const n=t&&t.__v_raw;return n?Js(n):t}function uYt(t){return d3e(t,"__v_skip",!0),t}const Cae=t=>ap(t)?cu(t):t,uYe=t=>ap(t)?lYt(t):t;class dYt{constructor(n,i,o,s){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new iYe(()=>n(this._value),()=>g3e(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const n=Js(this);return(!n._cacheable||n.effect.dirty)&&TL(n._value,n._value=n.effect.run())&&g3e(n,2),hYt(n),n._value}set value(n){this._setter(n)}get _dirty(){return this.effect.dirty}set _dirty(n){this.effect.dirty=n}}function tNn(t,n,i=!1){let o,s;const u=lu(t);return u?(o=t,s=I6):(o=t.get,s=t.set),new dYt(o,s,u||!s,i)}function hYt(t){AL&&YH&&(t=Js(t),ZGt(YH,t.dep||(t.dep=tYt(()=>t.dep=void 0,t instanceof dYt?t:void 0))))}function g3e(t,n=2,i){t=Js(t);const o=t.dep;o&&eYt(o,n)}function tv(t){return!!(t&&t.__v_isRef===!0)}function hn(t){return fYt(t,!1)}function en(t){return fYt(t,!0)}function fYt(t,n){return tv(t)?t:new nNn(t,n)}class nNn{constructor(n,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?n:Js(n),this._value=i?n:Cae(n)}get value(){return hYt(this),this._value}set value(n){const i=this.__v_isShallow||f3e(n)||hX(n);n=i?n:Js(n),TL(n,this._rawValue)&&(this._rawValue=n,this._value=i?n:Cae(n),g3e(this,2))}}function gYt(t){g3e(t,2)}function uA(t){return tv(t)?t.value:t}const rNn={get:(t,n,i)=>uA(Reflect.get(t,n,i)),set:(t,n,i,o)=>{const s=t[n];return tv(s)&&!tv(i)?(s.value=i,!0):Reflect.set(t,n,i,o)}};function pYt(t){return NW(t)?t:new Proxy(t,rNn)}function P9(t){const n=Ic(t)?new Array(t.length):{};for(const i in t)n[i]=AYt(t,i);return n}class iNn{constructor(n,i,o){this._object=n,this._key=i,this._defaultValue=o,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}get dep(){return LFn(Js(this._object),this._key)}}class oNn{constructor(n){this._getter=n,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Va(t,n,i){return tv(t)?t:lu(t)?new oNn(t):ap(t)&&arguments.length>1?AYt(t,n,i):hn(t)}function AYt(t,n,i){const o=t[n];return tv(o)?o:new iNn(t,n,i)}/** +* @vue/runtime-core v3.4.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function mL(t,n,i,o){let s;try{s=o?t(...o):t()}catch(u){_5e(u,n,i)}return s}function M6(t,n,i,o){if(lu(t)){const u=mL(t,n,i,o);return u&&WGt(u)&&u.catch(d=>{_5e(d,n,i)}),u}const s=[];for(let u=0;u>>1,s=t2[o],u=Tae(s);uk9&&t2.splice(n,1)}function cNn(t){Ic(t)?RW.push(...t):(!qP||!qP.includes(t,t.allowRecurse?kH+1:kH))&&RW.push(t),vYt()}function _Pt(t,n,i=Sae?k9+1:0){for(;iTae(i)-Tae(o));if(RW.length=0,qP){qP.push(...n);return}for(qP=n,kH=0;kHt.id==null?1/0:t.id,uNn=(t,n)=>{const i=Tae(t)-Tae(n);if(i===0){if(t.pre&&!n.pre)return-1;if(n.pre&&!t.pre)return 1}return i};function yYt(t){qKe=!1,Sae=!0,t2.sort(uNn);try{for(k9=0;k9dm(T)?T.trim():T)),w&&(s=i.map(CFn))}let f,g=o[f=xQe(n)]||o[f=xQe(U9(n))];!g&&u&&(g=o[f=xQe(ZX(n))]),g&&M6(g,t,6,s);const m=o[f+"Once"];if(m){if(!t.emitted)t.emitted={};else if(t.emitted[f])return;t.emitted[f]=!0,M6(m,t,6,s)}}function wYt(t,n,i=!1){const o=n.emitsCache,s=o.get(t);if(s!==void 0)return s;const u=t.emits;let d={},f=!1;if(!lu(t)){const g=m=>{const b=wYt(m,n,!0);b&&(f=!0,vA(d,b))};!i&&n.mixins.length&&n.mixins.forEach(g),t.extends&&g(t.extends),t.mixins&&t.mixins.forEach(g)}return!u&&!f?(ap(t)&&o.set(t,null),null):(Ic(u)?u.forEach(g=>d[g]=null):vA(d,u),ap(t)&&o.set(t,d),d)}function $5e(t,n){return!t||!C5e(n)?!1:(n=n.slice(2).replace(/Once$/,""),gh(t,n[0].toLowerCase()+n.slice(1))||gh(t,ZX(n))||gh(t,n))}let um=null,xYt=null;function p3e(t){const n=um;return um=t,xYt=t&&t.type.__scopeId||null,n}function Yv(t,n=um,i){if(!n||t._n)return t;const o=(...s)=>{o._d&&UPt(-1);const u=p3e(n);let d;try{d=t(...s)}finally{p3e(u),o._d&&UPt(1)}return d};return o._n=!0,o._c=!0,o._d=!0,o}function SQe(t){const{type:n,vnode:i,proxy:o,withProxy:s,props:u,propsOptions:[d],slots:f,attrs:g,emit:m,render:b,renderCache:w,data:C,setupState:T,ctx:k,inheritAttrs:$}=t;let O,B;const P=p3e(t);try{if(i.shapeFlag&4){const L=s||o,R=L;O=S9(b.call(R,L,w,u,T,C,k)),B=g}else{const L=n;O=S9(L.length>1?L(u,{attrs:g,slots:f,emit:m}):L(u,null)),B=n.props?g:hNn(g)}}catch(L){Moe.length=0,_5e(L,t,1),O=W(P6)}let N=O;if(B&&$!==!1){const L=Object.keys(B),{shapeFlag:R}=N;L.length&&R&7&&(d&&L.some(ZGe)&&(B=fNn(B,d)),N=nv(N,B))}return i.dirs&&(N=nv(N),N.dirs=N.dirs?N.dirs.concat(i.dirs):i.dirs),i.transition&&(N.transition=i.transition),O=N,p3e(P),O}const hNn=t=>{let n;for(const i in t)(i==="class"||i==="style"||C5e(i))&&((n||(n={}))[i]=t[i]);return n},fNn=(t,n)=>{const i={};for(const o in t)(!ZGe(o)||!(o.slice(9)in n))&&(i[o]=t[o]);return i};function gNn(t,n,i){const{props:o,children:s,component:u}=t,{props:d,children:f,patchFlag:g}=n,m=u.emitsOptions;if(n.dirs||n.transition)return!0;if(i&&g>=0){if(g&1024)return!0;if(g&16)return o?$Pt(o,d,m):!!d;if(g&8){const b=n.dynamicProps;for(let w=0;wt.__isSuspense;function yNn(t,n){n&&n.pendingBranch?Ic(t)?n.effects.push(...t):n.effects.push(t):cNn(t)}const wNn=Symbol.for("v-scx"),xNn=()=>Ss(wNn);function Wa(t,n){return fYe(t,null,n)}const Hbe={};function Ar(t,n,i){return fYe(t,n,i)}function fYe(t,n,{immediate:i,deep:o,flush:s,once:u,onTrack:d,onTrigger:f}=Z1){if(n&&u){const H=n;n=(...Q)=>{H(...Q),R()}}const g=tb,m=H=>o===!0?H:QH(H,o===!1?1:void 0);let b,w=!1,C=!1;if(tv(t)?(b=()=>t.value,w=f3e(t)):NW(t)?(b=()=>m(t),w=!0):Ic(t)?(C=!0,w=t.some(H=>NW(H)||f3e(H)),b=()=>t.map(H=>{if(tv(H))return H.value;if(NW(H))return m(H);if(lu(H))return mL(H,g,2)})):lu(t)?n?b=()=>mL(t,g,2):b=()=>(T&&T(),M6(t,g,3,[k])):b=I6,n&&o){const H=b;b=()=>QH(H())}let T,k=H=>{T=N.onStop=()=>{mL(H,g,4),T=N.onStop=void 0}},$;if(F5e)if(k=I6,n?i&&M6(n,g,3,[b(),C?[]:void 0,k]):b(),s==="sync"){const H=xNn();$=H.__watcherHandles||(H.__watcherHandles=[])}else return I6;let O=C?new Array(t.length).fill(Hbe):Hbe;const B=()=>{if(!(!N.active||!N.dirty))if(n){const H=N.run();(o||w||(C?H.some((Q,q)=>TL(Q,O[q])):TL(H,O)))&&(T&&T(),M6(n,g,3,[H,O===Hbe?void 0:C&&O[0]===Hbe?[]:O,k]),O=H)}else N.run()};B.allowRecurse=!!n;let P;s==="sync"?P=B:s==="post"?P=()=>$3(B,g&&g.suspense):(B.pre=!0,g&&(B.id=g.uid),P=()=>hYe(B));const N=new iYe(b,I6,P),L=YGt(),R=()=>{N.stop(),L&&eYe(L.effects,N)};return n?i?B():O=N.run():s==="post"?$3(N.run.bind(N),g&&g.suspense):N.run(),$&&$.push(R),R}function CNn(t,n,i){const o=this.proxy,s=dm(t)?t.includes(".")?TYt(o,t):()=>o[t]:t.bind(o,o);let u;lu(n)?u=n:(u=n.handler,i=n);const d=Nse(this),f=fYe(s,u.bind(o),i);return d(),f}function TYt(t,n){const i=n.split(".");return()=>{let o=t;for(let s=0;s0){if(i>=n)return t;i++}if(o=o||new Set,o.has(t))return t;if(o.add(t),tv(t))QH(t.value,n,i,o);else if(Ic(t))for(let s=0;s{QH(s,n,i,o)});else if(yFn(t))for(const s in t)QH(t[s],n,i,o);return t}function sp(t,n){if(um===null)return t;const i=N5e(um)||um.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s{t.isMounted=!0}),Hs(()=>{t.isUnmounting=!0}),t}const g6=[Function,Array],kYt={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:g6,onEnter:g6,onAfterEnter:g6,onEnterCancelled:g6,onBeforeLeave:g6,onLeave:g6,onAfterLeave:g6,onLeaveCancelled:g6,onBeforeAppear:g6,onAppear:g6,onAfterAppear:g6,onAppearCancelled:g6},SNn={name:"BaseTransition",props:kYt,setup(t,{slots:n}){const i=ab(),o=EYt();let s;return()=>{const u=n.default&&gYe(n.default(),!0);if(!u||!u.length)return;let d=u[0];if(u.length>1){for(const $ of u)if($.type!==P6){d=$;break}}const f=Js(t),{mode:g}=f;if(o.isLeaving)return TQe(d);const m=OPt(d);if(!m)return TQe(d);const b=Eae(m,f,o,i);kae(m,b);const w=i.subTree,C=w&&OPt(w);let T=!1;const{getTransitionKey:k}=m.type;if(k){const $=k();s===void 0?s=$:$!==s&&(s=$,T=!0)}if(C&&C.type!==P6&&(!BH(m,C)||T)){const $=Eae(C,f,o,i);if(kae(C,$),g==="out-in")return o.isLeaving=!0,$.afterLeave=()=>{o.isLeaving=!1,i.update.active!==!1&&(i.effect.dirty=!0,i.update())},TQe(d);g==="in-out"&&m.type!==P6&&($.delayLeave=(O,B,P)=>{const N=BYt(o,C);N[String(C.key)]=C,O[JP]=()=>{B(),O[JP]=void 0,delete b.delayedLeave},b.delayedLeave=P})}return d}}},TNn=SNn;function BYt(t,n){const{leavingVNodes:i}=t;let o=i.get(n.type);return o||(o=Object.create(null),i.set(n.type,o)),o}function Eae(t,n,i,o){const{appear:s,mode:u,persisted:d=!1,onBeforeEnter:f,onEnter:g,onAfterEnter:m,onEnterCancelled:b,onBeforeLeave:w,onLeave:C,onAfterLeave:T,onLeaveCancelled:k,onBeforeAppear:$,onAppear:O,onAfterAppear:B,onAppearCancelled:P}=n,N=String(t.key),L=BYt(i,t),R=(q,X)=>{q&&M6(q,o,9,X)},H=(q,X)=>{const re=X[1];R(q,X),Ic(q)?q.every(J=>J.length<=1)&&re():q.length<=1&&re()},Q={mode:u,persisted:d,beforeEnter(q){let X=f;if(!i.isMounted)if(s)X=$||f;else return;q[JP]&&q[JP](!0);const re=L[N];re&&BH(t,re)&&re.el[JP]&&re.el[JP](),R(X,[q])},enter(q){let X=g,re=m,J=b;if(!i.isMounted)if(s)X=O||g,re=B||m,J=P||b;else return;let V=!1;const ue=q[Qbe]=Y=>{V||(V=!0,Y?R(J,[q]):R(re,[q]),Q.delayedLeave&&Q.delayedLeave(),q[Qbe]=void 0)};X?H(X,[q,ue]):ue()},leave(q,X){const re=String(t.key);if(q[Qbe]&&q[Qbe](!0),i.isUnmounting)return X();R(w,[q]);let J=!1;const V=q[JP]=ue=>{J||(J=!0,X(),ue?R(k,[q]):R(T,[q]),q[JP]=void 0,L[re]===t&&delete L[re])};L[re]=t,C?H(C,[q,V]):V()},clone(q){return Eae(q,n,i,o)}};return Q}function TQe(t){if(I5e(t))return t=nv(t),t.children=null,t}function OPt(t){return I5e(t)?t.children?t.children[0]:void 0:t}function kae(t,n){t.shapeFlag&6&&t.component?kae(t.component.subTree,n):t.shapeFlag&128?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}function gYe(t,n=!1,i){let o=[],s=0;for(let u=0;u1)for(let u=0;u!!t.type.__asyncLoader,I5e=t=>t.type.__isKeepAlive;function O5e(t,n){$Yt(t,"a",n)}function _Yt(t,n){$Yt(t,"da",n)}function $Yt(t,n,i=tb){const o=t.__wdc||(t.__wdc=()=>{let s=i;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(M5e(n,o,i),i){let s=i.parent;for(;s&&s.parent;)I5e(s.parent.vnode)&&ENn(o,n,i,s),s=s.parent}}function ENn(t,n,i,o){const s=M5e(n,t,o,!0);d2(()=>{eYe(o[n],s)},i)}function M5e(t,n,i=tb,o=!1){if(i){const s=i[t]||(i[t]=[]),u=n.__weh||(n.__weh=(...d)=>{if(i.isUnmounted)return;MQ();const f=Nse(i),g=M6(n,i,t,d);return f(),PQ(),g});return o?s.unshift(u):s.push(u),u}}const W$=t=>(n,i=tb)=>(!F5e||t==="sp")&&M5e(t,(...o)=>n(...o),i),P5e=W$("bm"),rs=W$("m"),L5e=W$("bu"),u2=W$("u"),Hs=W$("bum"),d2=W$("um"),kNn=W$("sp"),BNn=W$("rtg"),_Nn=W$("rtc");function $Nn(t,n=tb){M5e("ec",t,n)}function INn(t,n,i={},o,s){if(um.isCE||um.parent&&$oe(um.parent)&&um.parent.isCE)return n!=="default"&&(i.name=n),W("slot",i,o&&o());let u=t[n];u&&u._c&&(u._d=!1),bYe();const d=u&&IYt(u(i)),f=jYt(Za,{key:i.key||d&&d.key||`_${n}`},d||(o?o():[]),d&&t._===1?64:-2);return!s&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),u&&u._c&&(u._d=!0),f}function IYt(t){return t.some(n=>AA(n)?!(n.type===P6||n.type===Za&&!IYt(n.children)):!0)?t:null}const JKe=t=>t?zYt(t)?N5e(t)||t.proxy:JKe(t.parent):null,Ioe=vA(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>JKe(t.parent),$root:t=>JKe(t.root),$emit:t=>t.emit,$options:t=>pYe(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,hYe(t.update)}),$nextTick:t=>t.n||(t.n=jl.bind(t.proxy)),$watch:t=>CNn.bind(t)}),EQe=(t,n)=>t!==Z1&&!t.__isScriptSetup&&gh(t,n),ONn={get({_:t},n){const{ctx:i,setupState:o,data:s,props:u,accessCache:d,type:f,appContext:g}=t;let m;if(n[0]!=="$"){const T=d[n];if(T!==void 0)switch(T){case 1:return o[n];case 2:return s[n];case 4:return i[n];case 3:return u[n]}else{if(EQe(o,n))return d[n]=1,o[n];if(s!==Z1&&gh(s,n))return d[n]=2,s[n];if((m=t.propsOptions[0])&&gh(m,n))return d[n]=3,u[n];if(i!==Z1&&gh(i,n))return d[n]=4,i[n];ZKe&&(d[n]=0)}}const b=Ioe[n];let w,C;if(b)return n==="$attrs"&&K3(t,"get",n),b(t);if((w=f.__cssModules)&&(w=w[n]))return w;if(i!==Z1&&gh(i,n))return d[n]=4,i[n];if(C=g.config.globalProperties,gh(C,n))return C[n]},set({_:t},n,i){const{data:o,setupState:s,ctx:u}=t;return EQe(s,n)?(s[n]=i,!0):o!==Z1&&gh(o,n)?(o[n]=i,!0):gh(t.props,n)||n[0]==="$"&&n.slice(1)in t?!1:(u[n]=i,!0)},has({_:{data:t,setupState:n,accessCache:i,ctx:o,appContext:s,propsOptions:u}},d){let f;return!!i[d]||t!==Z1&&gh(t,d)||EQe(n,d)||(f=u[0])&&gh(f,d)||gh(o,d)||gh(Ioe,d)||gh(s.config.globalProperties,d)},defineProperty(t,n,i){return i.get!=null?t._.accessCache[n]=0:gh(i,"value")&&this.set(t,n,i.value,null),Reflect.defineProperty(t,n,i)}};function MNn(){return PNn().attrs}function PNn(){const t=ab();return t.setupContext||(t.setupContext=VYt(t))}function MPt(t){return Ic(t)?t.reduce((n,i)=>(n[i]=null,n),{}):t}let ZKe=!0;function LNn(t){const n=pYe(t),i=t.proxy,o=t.ctx;ZKe=!1,n.beforeCreate&&PPt(n.beforeCreate,t,"bc");const{data:s,computed:u,methods:d,watch:f,provide:g,inject:m,created:b,beforeMount:w,mounted:C,beforeUpdate:T,updated:k,activated:$,deactivated:O,beforeDestroy:B,beforeUnmount:P,destroyed:N,unmounted:L,render:R,renderTracked:H,renderTriggered:Q,errorCaptured:q,serverPrefetch:X,expose:re,inheritAttrs:J,components:V,directives:ue,filters:Y}=n;if(m&&DNn(m,o,null),d)for(const Z in d){const Ae=d[Z];lu(Ae)&&(o[Z]=Ae.bind(i))}if(s){const Z=s.call(i,i);ap(Z)&&(t.data=cu(Z))}if(ZKe=!0,u)for(const Z in u){const Ae=u[Z],Se=lu(Ae)?Ae.bind(i,i):lu(Ae.get)?Ae.get.bind(i,i):I6,ke=!lu(Ae)&&lu(Ae.set)?Ae.set.bind(i):I6,Be=Ie({get:Se,set:ke});Object.defineProperty(o,Z,{enumerable:!0,configurable:!0,get:()=>Be.value,set:we=>Be.value=we})}if(f)for(const Z in f)OYt(f[Z],o,i,Z);if(g){const Z=lu(g)?g.call(i):g;Reflect.ownKeys(Z).forEach(Ae=>{Os(Ae,Z[Ae])})}b&&PPt(b,t,"c");function te(Z,Ae){Ic(Ae)?Ae.forEach(Se=>Z(Se.bind(i))):Ae&&Z(Ae.bind(i))}if(te(P5e,w),te(rs,C),te(L5e,T),te(u2,k),te(O5e,$),te(_Yt,O),te($Nn,q),te(_Nn,H),te(BNn,Q),te(Hs,P),te(d2,L),te(kNn,X),Ic(re))if(re.length){const Z=t.exposed||(t.exposed={});re.forEach(Ae=>{Object.defineProperty(Z,Ae,{get:()=>i[Ae],set:Se=>i[Ae]=Se})})}else t.exposed||(t.exposed={});R&&t.render===I6&&(t.render=R),J!=null&&(t.inheritAttrs=J),V&&(t.components=V),ue&&(t.directives=ue)}function DNn(t,n,i=I6){Ic(t)&&(t=eVe(t));for(const o in t){const s=t[o];let u;ap(s)?"default"in s?u=Ss(s.from||o,s.default,!0):u=Ss(s.from||o):u=Ss(s),tv(u)?Object.defineProperty(n,o,{enumerable:!0,configurable:!0,get:()=>u.value,set:d=>u.value=d}):n[o]=u}}function PPt(t,n,i){M6(Ic(t)?t.map(o=>o.bind(n.proxy)):t.bind(n.proxy),n,i)}function OYt(t,n,i,o){const s=o.includes(".")?TYt(i,o):()=>i[o];if(dm(t)){const u=n[t];lu(u)&&Ar(s,u)}else if(lu(t))Ar(s,t.bind(i));else if(ap(t))if(Ic(t))t.forEach(u=>OYt(u,n,i,o));else{const u=lu(t.handler)?t.handler.bind(i):n[t.handler];lu(u)&&Ar(s,u,t)}}function pYe(t){const n=t.type,{mixins:i,extends:o}=n,{mixins:s,optionsCache:u,config:{optionMergeStrategies:d}}=t.appContext,f=u.get(n);let g;return f?g=f:!s.length&&!i&&!o?g=n:(g={},s.length&&s.forEach(m=>A3e(g,m,d,!0)),A3e(g,n,d)),ap(n)&&u.set(n,g),g}function A3e(t,n,i,o=!1){const{mixins:s,extends:u}=n;u&&A3e(t,u,i,!0),s&&s.forEach(d=>A3e(t,d,i,!0));for(const d in n)if(!(o&&d==="expose")){const f=FNn[d]||i&&i[d];t[d]=f?f(t[d],n[d]):n[d]}return t}const FNn={data:LPt,props:DPt,emits:DPt,methods:noe,computed:noe,beforeCreate:Ty,created:Ty,beforeMount:Ty,mounted:Ty,beforeUpdate:Ty,updated:Ty,beforeDestroy:Ty,beforeUnmount:Ty,destroyed:Ty,unmounted:Ty,activated:Ty,deactivated:Ty,errorCaptured:Ty,serverPrefetch:Ty,components:noe,directives:noe,watch:RNn,provide:LPt,inject:NNn};function LPt(t,n){return n?t?function(){return vA(lu(t)?t.call(this,this):t,lu(n)?n.call(this,this):n)}:n:t}function NNn(t,n){return noe(eVe(t),eVe(n))}function eVe(t){if(Ic(t)){const n={};for(let i=0;i1)return i&&lu(n)?n.call(o&&o.proxy):n}}function jNn(t,n,i,o=!1){const s={},u={};d3e(u,D5e,1),t.propsDefaults=Object.create(null),PYt(t,n,s,u);for(const d in t.propsOptions[0])d in s||(s[d]=void 0);i?t.props=o?s:eNn(s):t.type.props?t.props=s:t.props=u,t.attrs=u}function UNn(t,n,i,o){const{props:s,attrs:u,vnode:{patchFlag:d}}=t,f=Js(s),[g]=t.propsOptions;let m=!1;if((o||d>0)&&!(d&16)){if(d&8){const b=t.vnode.dynamicProps;for(let w=0;w{g=!0;const[C,T]=LYt(w,n,!0);vA(d,C),T&&f.push(...T)};!i&&n.mixins.length&&n.mixins.forEach(b),t.extends&&b(t.extends),t.mixins&&t.mixins.forEach(b)}if(!u&&!g)return ap(t)&&o.set(t,FW),FW;if(Ic(u))for(let b=0;b-1,T[1]=$<0||k<$,(k>-1||gh(T,"default"))&&f.push(w)}}}const m=[d,f];return ap(t)&&o.set(t,m),m}function FPt(t){return t[0]!=="$"}function NPt(t){const n=t&&t.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:t===null?"null":""}function RPt(t,n){return NPt(t)===NPt(n)}function HPt(t,n){return Ic(n)?n.findIndex(i=>RPt(i,t)):lu(n)&&RPt(n,t)?0:-1}const DYt=t=>t[0]==="_"||t==="$stable",AYe=t=>Ic(t)?t.map(S9):[S9(t)],zNn=(t,n,i)=>{if(n._n)return n;const o=Yv((...s)=>AYe(n(...s)),i);return o._c=!1,o},FYt=(t,n,i)=>{const o=t._ctx;for(const s in t){if(DYt(s))continue;const u=t[s];if(lu(u))n[s]=zNn(s,u,o);else if(u!=null){const d=AYe(u);n[s]=()=>d}}},NYt=(t,n)=>{const i=AYe(n);t.slots.default=()=>i},KNn=(t,n)=>{if(t.vnode.shapeFlag&32){const i=n._;i?(t.slots=Js(n),d3e(n,"_",i)):FYt(n,t.slots={})}else t.slots={},n&&NYt(t,n);d3e(t.slots,D5e,1)},VNn=(t,n,i)=>{const{vnode:o,slots:s}=t;let u=!0,d=Z1;if(o.shapeFlag&32){const f=n._;f?i&&f===1?u=!1:(vA(s,n),!i&&f===1&&delete s._):(u=!n.$stable,FYt(n,s)),d=n}else n&&(NYt(t,n),d={default:1});if(u)for(const f in s)!DYt(f)&&d[f]==null&&delete s[f]};function nVe(t,n,i,o,s=!1){if(Ic(t)){t.forEach((C,T)=>nVe(C,n&&(Ic(n)?n[T]:n),i,o,s));return}if($oe(o)&&!s)return;const u=o.shapeFlag&4?N5e(o.component)||o.component.proxy:o.el,d=s?null:u,{i:f,r:g}=t,m=n&&n.r,b=f.refs===Z1?f.refs={}:f.refs,w=f.setupState;if(m!=null&&m!==g&&(dm(m)?(b[m]=null,gh(w,m)&&(w[m]=null)):tv(m)&&(m.value=null)),lu(g))mL(g,f,12,[d,b]);else{const C=dm(g),T=tv(g);if(C||T){const k=()=>{if(t.f){const $=C?gh(w,g)?w[g]:b[g]:g.value;s?Ic($)&&eYe($,u):Ic($)?$.includes(u)||$.push(u):C?(b[g]=[u],gh(w,g)&&(w[g]=b[g])):(g.value=[u],t.k&&(b[t.k]=g.value))}else C?(b[g]=d,gh(w,g)&&(w[g]=d)):T&&(g.value=d,t.k&&(b[t.k]=d))};d?(k.id=-1,$3(k,i)):k()}}}const $3=yNn;function WNn(t){return XNn(t)}function XNn(t,n){const i=XGt();i.__VUE__=!0;const{insert:o,remove:s,patchProp:u,createElement:d,createText:f,createComment:g,setText:m,setElementText:b,parentNode:w,nextSibling:C,setScopeId:T=I6,insertStaticContent:k}=t,$=(De,it,je,_t=null,Fe=null,vt=null,st=void 0,Ot=null,Ht=!!it.dynamicChildren)=>{if(De===it)return;De&&!BH(De,it)&&(_t=ht(De),we(De,Fe,vt,!0),De=null),it.patchFlag===-2&&(Ht=!1,it.dynamicChildren=null);const{type:It,ref:Lt,shapeFlag:Vt}=it;switch(It){case NL:O(De,it,je,_t);break;case P6:B(De,it,je,_t);break;case BQe:De==null&&P(it,je,_t,st);break;case Za:V(De,it,je,_t,Fe,vt,st,Ot,Ht);break;default:Vt&1?R(De,it,je,_t,Fe,vt,st,Ot,Ht):Vt&6?ue(De,it,je,_t,Fe,vt,st,Ot,Ht):(Vt&64||Vt&128)&&It.process(De,it,je,_t,Fe,vt,st,Ot,Ht,Ge)}Lt!=null&&Fe&&nVe(Lt,De&&De.ref,vt,it||De,!it)},O=(De,it,je,_t)=>{if(De==null)o(it.el=f(it.children),je,_t);else{const Fe=it.el=De.el;it.children!==De.children&&m(Fe,it.children)}},B=(De,it,je,_t)=>{De==null?o(it.el=g(it.children||""),je,_t):it.el=De.el},P=(De,it,je,_t)=>{[De.el,De.anchor]=k(De.children,it,je,_t,De.el,De.anchor)},N=({el:De,anchor:it},je,_t)=>{let Fe;for(;De&&De!==it;)Fe=C(De),o(De,je,_t),De=Fe;o(it,je,_t)},L=({el:De,anchor:it})=>{let je;for(;De&&De!==it;)je=C(De),s(De),De=je;s(it)},R=(De,it,je,_t,Fe,vt,st,Ot,Ht)=>{it.type==="svg"?st="svg":it.type==="math"&&(st="mathml"),De==null?H(it,je,_t,Fe,vt,st,Ot,Ht):X(De,it,Fe,vt,st,Ot,Ht)},H=(De,it,je,_t,Fe,vt,st,Ot)=>{let Ht,It;const{props:Lt,shapeFlag:Vt,transition:Ct,dirs:kt}=De;if(Ht=De.el=d(De.type,vt,Lt&&Lt.is,Lt),Vt&8?b(Ht,De.children):Vt&16&&q(De.children,Ht,null,_t,Fe,kQe(De,vt),st,Ot),kt&&tH(De,null,_t,"created"),Q(Ht,De,De.scopeId,st,_t),Lt){for(const fn in Lt)fn!=="value"&&!Cye(fn)&&u(Ht,fn,null,Lt[fn],vt,De.children,_t,Fe,ze);"value"in Lt&&u(Ht,"value",null,Lt.value,vt),(It=Lt.onVnodeBeforeMount)&&h9(It,_t,De)}kt&&tH(De,null,_t,"beforeMount");const wt=GNn(Fe,Ct);wt&&Ct.beforeEnter(Ht),o(Ht,it,je),((It=Lt&&Lt.onVnodeMounted)||wt||kt)&&$3(()=>{It&&h9(It,_t,De),wt&&Ct.enter(Ht),kt&&tH(De,null,_t,"mounted")},Fe)},Q=(De,it,je,_t,Fe)=>{if(je&&T(De,je),_t)for(let vt=0;vt<_t.length;vt++)T(De,_t[vt]);if(Fe){let vt=Fe.subTree;if(it===vt){const st=Fe.vnode;Q(De,st,st.scopeId,st.slotScopeIds,Fe.parent)}}},q=(De,it,je,_t,Fe,vt,st,Ot,Ht=0)=>{for(let It=Ht;It{const Ot=it.el=De.el;let{patchFlag:Ht,dynamicChildren:It,dirs:Lt}=it;Ht|=De.patchFlag&16;const Vt=De.props||Z1,Ct=it.props||Z1;let kt;if(je&&nH(je,!1),(kt=Ct.onVnodeBeforeUpdate)&&h9(kt,je,it,De),Lt&&tH(it,De,je,"beforeUpdate"),je&&nH(je,!0),It?re(De.dynamicChildren,It,Ot,je,_t,kQe(it,Fe),vt):st||Ae(De,it,Ot,null,je,_t,kQe(it,Fe),vt,!1),Ht>0){if(Ht&16)J(Ot,it,Vt,Ct,je,_t,Fe);else if(Ht&2&&Vt.class!==Ct.class&&u(Ot,"class",null,Ct.class,Fe),Ht&4&&u(Ot,"style",Vt.style,Ct.style,Fe),Ht&8){const wt=it.dynamicProps;for(let fn=0;fn{kt&&h9(kt,je,it,De),Lt&&tH(it,De,je,"updated")},_t)},re=(De,it,je,_t,Fe,vt,st)=>{for(let Ot=0;Ot{if(je!==_t){if(je!==Z1)for(const Ot in je)!Cye(Ot)&&!(Ot in _t)&&u(De,Ot,je[Ot],null,st,it.children,Fe,vt,ze);for(const Ot in _t){if(Cye(Ot))continue;const Ht=_t[Ot],It=je[Ot];Ht!==It&&Ot!=="value"&&u(De,Ot,It,Ht,st,it.children,Fe,vt,ze)}"value"in _t&&u(De,"value",je.value,_t.value,st)}},V=(De,it,je,_t,Fe,vt,st,Ot,Ht)=>{const It=it.el=De?De.el:f(""),Lt=it.anchor=De?De.anchor:f("");let{patchFlag:Vt,dynamicChildren:Ct,slotScopeIds:kt}=it;kt&&(Ot=Ot?Ot.concat(kt):kt),De==null?(o(It,je,_t),o(Lt,je,_t),q(it.children||[],je,Lt,Fe,vt,st,Ot,Ht)):Vt>0&&Vt&64&&Ct&&De.dynamicChildren?(re(De.dynamicChildren,Ct,je,Fe,vt,st,Ot),(it.key!=null||Fe&&it===Fe.subTree)&&mYe(De,it,!0)):Ae(De,it,je,Lt,Fe,vt,st,Ot,Ht)},ue=(De,it,je,_t,Fe,vt,st,Ot,Ht)=>{it.slotScopeIds=Ot,De==null?it.shapeFlag&512?Fe.ctx.activate(it,je,_t,st,Ht):Y(it,je,_t,Fe,vt,st,Ht):le(De,it,Ht)},Y=(De,it,je,_t,Fe,vt,st)=>{const Ot=De.component=sRn(De,_t,Fe);if(I5e(De)&&(Ot.ctx.renderer=Ge),lRn(Ot),Ot.asyncDep){if(Fe&&Fe.registerDep(Ot,te),!De.el){const Ht=Ot.subTree=W(P6);B(null,Ht,it,je)}}else te(Ot,De,it,je,Fe,vt,st)},le=(De,it,je)=>{const _t=it.component=De.component;if(gNn(De,it,je))if(_t.asyncDep&&!_t.asyncResolved){Z(_t,it,je);return}else _t.next=it,lNn(_t.update),_t.effect.dirty=!0,_t.update();else it.el=De.el,_t.vnode=it},te=(De,it,je,_t,Fe,vt,st)=>{const Ot=()=>{if(De.isMounted){let{next:Lt,bu:Vt,u:Ct,parent:kt,vnode:wt}=De;{const Mn=RYt(De);if(Mn){Lt&&(Lt.el=wt.el,Z(De,Lt,st)),Mn.asyncDep.then(()=>{De.isUnmounted||Ot()});return}}let fn=Lt,vn;nH(De,!1),Lt?(Lt.el=wt.el,Z(De,Lt,st)):Lt=wt,Vt&&CQe(Vt),(vn=Lt.props&&Lt.props.onVnodeBeforeUpdate)&&h9(vn,kt,Lt,wt),nH(De,!0);const or=SQe(De),pn=De.subTree;De.subTree=or,$(pn,or,w(pn.el),ht(pn),De,Fe,vt),Lt.el=or.el,fn===null&&pNn(De,or.el),Ct&&$3(Ct,Fe),(vn=Lt.props&&Lt.props.onVnodeUpdated)&&$3(()=>h9(vn,kt,Lt,wt),Fe)}else{let Lt;const{el:Vt,props:Ct}=it,{bm:kt,m:wt,parent:fn}=De,vn=$oe(it);if(nH(De,!1),kt&&CQe(kt),!vn&&(Lt=Ct&&Ct.onVnodeBeforeMount)&&h9(Lt,fn,it),nH(De,!0),Vt&>){const or=()=>{De.subTree=SQe(De),gt(Vt,De.subTree,De,Fe,null)};vn?it.type.__asyncLoader().then(()=>!De.isUnmounted&&or()):or()}else{const or=De.subTree=SQe(De);$(null,or,je,_t,De,Fe,vt),it.el=or.el}if(wt&&$3(wt,Fe),!vn&&(Lt=Ct&&Ct.onVnodeMounted)){const or=it;$3(()=>h9(Lt,fn,or),Fe)}(it.shapeFlag&256||fn&&$oe(fn.vnode)&&fn.vnode.shapeFlag&256)&&De.a&&$3(De.a,Fe),De.isMounted=!0,it=je=_t=null}},Ht=De.effect=new iYe(Ot,I6,()=>hYe(It),De.scope),It=De.update=()=>{Ht.dirty&&Ht.run()};It.id=De.uid,nH(De,!0),It()},Z=(De,it,je)=>{it.component=De;const _t=De.vnode.props;De.vnode=it,De.next=null,UNn(De,it.props,_t,je),VNn(De,it.children,je),MQ(),_Pt(De),PQ()},Ae=(De,it,je,_t,Fe,vt,st,Ot,Ht=!1)=>{const It=De&&De.children,Lt=De?De.shapeFlag:0,Vt=it.children,{patchFlag:Ct,shapeFlag:kt}=it;if(Ct>0){if(Ct&128){ke(It,Vt,je,_t,Fe,vt,st,Ot,Ht);return}else if(Ct&256){Se(It,Vt,je,_t,Fe,vt,st,Ot,Ht);return}}kt&8?(Lt&16&&ze(It,Fe,vt),Vt!==It&&b(je,Vt)):Lt&16?kt&16?ke(It,Vt,je,_t,Fe,vt,st,Ot,Ht):ze(It,Fe,vt,!0):(Lt&8&&b(je,""),kt&16&&q(Vt,je,_t,Fe,vt,st,Ot,Ht))},Se=(De,it,je,_t,Fe,vt,st,Ot,Ht)=>{De=De||FW,it=it||FW;const It=De.length,Lt=it.length,Vt=Math.min(It,Lt);let Ct;for(Ct=0;CtLt?ze(De,Fe,vt,!0,!1,Vt):q(it,je,_t,Fe,vt,st,Ot,Ht,Vt)},ke=(De,it,je,_t,Fe,vt,st,Ot,Ht)=>{let It=0;const Lt=it.length;let Vt=De.length-1,Ct=Lt-1;for(;It<=Vt&&It<=Ct;){const kt=De[It],wt=it[It]=Ht?ZP(it[It]):S9(it[It]);if(BH(kt,wt))$(kt,wt,je,null,Fe,vt,st,Ot,Ht);else break;It++}for(;It<=Vt&&It<=Ct;){const kt=De[Vt],wt=it[Ct]=Ht?ZP(it[Ct]):S9(it[Ct]);if(BH(kt,wt))$(kt,wt,je,null,Fe,vt,st,Ot,Ht);else break;Vt--,Ct--}if(It>Vt){if(It<=Ct){const kt=Ct+1,wt=ktCt)for(;It<=Vt;)we(De[It],Fe,vt,!0),It++;else{const kt=It,wt=It,fn=new Map;for(It=wt;It<=Ct;It++){const An=it[It]=Ht?ZP(it[It]):S9(it[It]);An.key!=null&&fn.set(An.key,It)}let vn,or=0;const pn=Ct-wt+1;let Mn=!1,dr=0;const jn=new Array(pn);for(It=0;It=pn){we(An,Fe,vt,!0);continue}let _n;if(An.key!=null)_n=fn.get(An.key);else for(vn=wt;vn<=Ct;vn++)if(jn[vn-wt]===0&&BH(An,it[vn])){_n=vn;break}_n===void 0?we(An,Fe,vt,!0):(jn[_n-wt]=It+1,_n>=dr?dr=_n:Mn=!0,$(An,it[_n],je,null,Fe,vt,st,Ot,Ht),or++)}const $r=Mn?YNn(jn):FW;for(vn=$r.length-1,It=pn-1;It>=0;It--){const An=wt+It,_n=it[An],yr=An+1{const{el:vt,type:st,transition:Ot,children:Ht,shapeFlag:It}=De;if(It&6){Be(De.component.subTree,it,je,_t);return}if(It&128){De.suspense.move(it,je,_t);return}if(It&64){st.move(De,it,je,Ge);return}if(st===Za){o(vt,it,je);for(let Vt=0;VtOt.enter(vt),Fe);else{const{leave:Vt,delayLeave:Ct,afterLeave:kt}=Ot,wt=()=>o(vt,it,je),fn=()=>{Vt(vt,()=>{wt(),kt&&kt()})};Ct?Ct(vt,wt,fn):fn()}else o(vt,it,je)},we=(De,it,je,_t=!1,Fe=!1)=>{const{type:vt,props:st,ref:Ot,children:Ht,dynamicChildren:It,shapeFlag:Lt,patchFlag:Vt,dirs:Ct}=De;if(Ot!=null&&nVe(Ot,null,je,De,!0),Lt&256){it.ctx.deactivate(De);return}const kt=Lt&1&&Ct,wt=!$oe(De);let fn;if(wt&&(fn=st&&st.onVnodeBeforeUnmount)&&h9(fn,it,De),Lt&6)Ve(De.component,je,_t);else{if(Lt&128){De.suspense.unmount(je,_t);return}kt&&tH(De,null,it,"beforeUnmount"),Lt&64?De.type.remove(De,it,je,Fe,Ge,_t):It&&(vt!==Za||Vt>0&&Vt&64)?ze(It,it,je,!1,!0):(vt===Za&&Vt&384||!Fe&&Lt&16)&&ze(Ht,it,je),_t&&Ce(De)}(wt&&(fn=st&&st.onVnodeUnmounted)||kt)&&$3(()=>{fn&&h9(fn,it,De),kt&&tH(De,null,it,"unmounted")},je)},Ce=De=>{const{type:it,el:je,anchor:_t,transition:Fe}=De;if(it===Za){Qe(je,_t);return}if(it===BQe){L(De);return}const vt=()=>{s(je),Fe&&!Fe.persisted&&Fe.afterLeave&&Fe.afterLeave()};if(De.shapeFlag&1&&Fe&&!Fe.persisted){const{leave:st,delayLeave:Ot}=Fe,Ht=()=>st(je,vt);Ot?Ot(De.el,vt,Ht):Ht()}else vt()},Qe=(De,it)=>{let je;for(;De!==it;)je=C(De),s(De),De=je;s(it)},Ve=(De,it,je)=>{const{bum:_t,scope:Fe,update:vt,subTree:st,um:Ot}=De;_t&&CQe(_t),Fe.stop(),vt&&(vt.active=!1,we(st,De,it,je)),Ot&&$3(Ot,it),$3(()=>{De.isUnmounted=!0},it),it&&it.pendingBranch&&!it.isUnmounted&&De.asyncDep&&!De.asyncResolved&&De.suspenseId===it.pendingId&&(it.deps--,it.deps===0&&it.resolve())},ze=(De,it,je,_t=!1,Fe=!1,vt=0)=>{for(let st=vt;stDe.shapeFlag&6?ht(De.component.subTree):De.shapeFlag&128?De.suspense.next():C(De.anchor||De.el);let nt=!1;const lt=(De,it,je)=>{De==null?it._vnode&&we(it._vnode,null,null,!0):$(it._vnode||null,De,it,null,null,null,je),nt||(nt=!0,_Pt(),bYt(),nt=!1),it._vnode=De},Ge={p:$,um:we,m:Be,r:Ce,mt:Y,mc:q,pc:Ae,pbc:re,n:ht,o:t};let rt,gt;return n&&([rt,gt]=n(Ge)),{render:lt,hydrate:rt,createApp:QNn(lt,rt)}}function kQe({type:t,props:n},i){return i==="svg"&&t==="foreignObject"||i==="mathml"&&t==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:i}function nH({effect:t,update:n},i){t.allowRecurse=n.allowRecurse=i}function GNn(t,n){return(!t||t&&!t.pendingBranch)&&n&&!n.persisted}function mYe(t,n,i=!1){const o=t.children,s=n.children;if(Ic(o)&&Ic(s))for(let u=0;u>1,t[i[f]]0&&(n[o]=i[u-1]),i[u]=o)}}for(u=i.length,d=i[u-1];u-- >0;)i[u]=d,d=n[d];return i}function RYt(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:RYt(n)}const qNn=t=>t.__isTeleport,Ooe=t=>t&&(t.disabled||t.disabled===""),QPt=t=>typeof SVGElement<"u"&&t instanceof SVGElement,jPt=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,rVe=(t,n)=>{const i=t&&t.to;return dm(i)?n?n(i):null:i},JNn={name:"Teleport",__isTeleport:!0,process(t,n,i,o,s,u,d,f,g,m){const{mc:b,pc:w,pbc:C,o:{insert:T,querySelector:k,createText:$,createComment:O}}=m,B=Ooe(n.props);let{shapeFlag:P,children:N,dynamicChildren:L}=n;if(t==null){const R=n.el=$(""),H=n.anchor=$("");T(R,i,o),T(H,i,o);const Q=n.target=rVe(n.props,k),q=n.targetAnchor=$("");Q&&(T(q,Q),d==="svg"||QPt(Q)?d="svg":(d==="mathml"||jPt(Q))&&(d="mathml"));const X=(re,J)=>{P&16&&b(N,re,J,s,u,d,f,g)};B?X(i,H):Q&&X(Q,q)}else{n.el=t.el;const R=n.anchor=t.anchor,H=n.target=t.target,Q=n.targetAnchor=t.targetAnchor,q=Ooe(t.props),X=q?i:H,re=q?R:Q;if(d==="svg"||QPt(H)?d="svg":(d==="mathml"||jPt(H))&&(d="mathml"),L?(C(t.dynamicChildren,L,X,s,u,d,f),mYe(t,n,!0)):g||w(t,n,X,re,s,u,d,f,!1),B)q?n.props&&t.props&&n.props.to!==t.props.to&&(n.props.to=t.props.to):jbe(n,i,R,m,1);else if((n.props&&n.props.to)!==(t.props&&t.props.to)){const J=n.target=rVe(n.props,k);J&&jbe(n,J,null,m,0)}else q&&jbe(n,H,Q,m,1)}HYt(n)},remove(t,n,i,o,{um:s,o:{remove:u}},d){const{shapeFlag:f,children:g,anchor:m,targetAnchor:b,target:w,props:C}=t;if(w&&u(b),d&&u(m),f&16){const T=d||!Ooe(C);for(let k=0;k0?k7||FW:null,eRn(),Bae>0&&k7&&k7.push(t),t}function tRn(t,n,i,o,s,u){return QYt(B$(t,n,i,o,s,u,!0))}function jYt(t,n,i,o,s){return QYt(W(t,n,i,o,s,!0))}function AA(t){return t?t.__v_isVNode===!0:!1}function BH(t,n){return t.type===n.type&&t.key===n.key}const D5e="__vInternal",UYt=({key:t})=>t??null,Sye=({ref:t,ref_key:n,ref_for:i})=>(typeof t=="number"&&(t=""+t),t!=null?dm(t)||tv(t)||lu(t)?{i:um,r:t,k:n,f:!!i}:t:null);function B$(t,n=null,i=null,o=0,s=null,u=t===Za?0:1,d=!1,f=!1){const g={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&UYt(n),ref:n&&Sye(n),scopeId:xYt,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:um};return f?(yYe(g,i),u&128&&t.normalize(g)):i&&(g.shapeFlag|=dm(i)?8:16),Bae>0&&!d&&k7&&(g.patchFlag>0||u&6)&&g.patchFlag!==32&&k7.push(g),g}const W=nRn;function nRn(t,n=null,i=null,o=0,s=null,u=!1){if((!t||t===mNn)&&(t=P6),AA(t)){const f=nv(t,n,!0);return i&&yYe(f,i),Bae>0&&!u&&k7&&(f.shapeFlag&6?k7[k7.indexOf(t)]=f:k7.push(f)),f.patchFlag|=-2,f}if(hRn(t)&&(t=t.__vccOpts),n){n=rRn(n);let{class:f,style:g}=n;f&&!dm(f)&&(n.class=rYe(f)),ap(g)&&(cYt(g)&&!Ic(g)&&(g=vA({},g)),n.style=nYe(g))}const d=dm(t)?1:bNn(t)?128:qNn(t)?64:ap(t)?4:lu(t)?2:0;return B$(t,n,i,o,s,d,u,!0)}function rRn(t){return t?cYt(t)||D5e in t?vA({},t):t:null}function nv(t,n,i=!1){const{props:o,ref:s,patchFlag:u,children:d}=t,f=n?iRn(o||{},n):o;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:f,key:f&&UYt(f),ref:n&&n.ref?i&&s?Ic(s)?s.concat(Sye(n)):[s,Sye(n)]:Sye(n):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:d,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:n&&t.type!==Za?u===-1?16:u|16:u,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&nv(t.ssContent),ssFallback:t.ssFallback&&nv(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function O0(t=" ",n=0){return W(NL,null,t,n)}function S9(t){return t==null||typeof t=="boolean"?W(P6):Ic(t)?W(Za,null,t.slice()):typeof t=="object"?ZP(t):W(NL,null,String(t))}function ZP(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:nv(t)}function yYe(t,n){let i=0;const{shapeFlag:o}=t;if(n==null)n=null;else if(Ic(n))i=16;else if(typeof n=="object")if(o&65){const s=n.default;s&&(s._c&&(s._d=!1),yYe(t,s()),s._c&&(s._d=!0));return}else{i=32;const s=n._;!s&&!(D5e in n)?n._ctx=um:s===3&&um&&(um.slots._===1?n._=1:(n._=2,t.patchFlag|=1024))}else lu(n)?(n={default:n,_ctx:um},i=32):(n=String(n),o&64?(i=16,n=[O0(n)]):i=8);t.children=n,t.shapeFlag|=i}function iRn(...t){const n={};for(let i=0;itb||um;let v3e,iVe;{const t=XGt(),n=(i,o)=>{let s;return(s=t[i])||(s=t[i]=[]),s.push(o),u=>{s.length>1?s.forEach(d=>d(u)):s[0](u)}};v3e=n("__VUE_INSTANCE_SETTERS__",i=>tb=i),iVe=n("__VUE_SSR_SETTERS__",i=>F5e=i)}const Nse=t=>{const n=tb;return v3e(t),t.scope.on(),()=>{t.scope.off(),v3e(n)}},zPt=()=>{tb&&tb.scope.off(),v3e(null)};function zYt(t){return t.vnode.shapeFlag&4}let F5e=!1;function lRn(t,n=!1){n&&iVe(n);const{props:i,children:o}=t.vnode,s=zYt(t);jNn(t,i,s,n),KNn(t,o);const u=s?cRn(t,n):void 0;return n&&iVe(!1),u}function cRn(t,n){const i=t.type;t.accessCache=Object.create(null),t.proxy=uYt(new Proxy(t.ctx,ONn));const{setup:o}=i;if(o){const s=t.setupContext=o.length>1?VYt(t):null,u=Nse(t);MQ();const d=mL(o,t,0,[t.props,s]);if(PQ(),u(),WGt(d)){if(d.then(zPt,zPt),n)return d.then(f=>{KPt(t,f,n)}).catch(f=>{_5e(f,t,0)});t.asyncDep=d}else KPt(t,d,n)}else KYt(t,n)}function KPt(t,n,i){lu(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:ap(n)&&(t.setupState=pYt(n)),KYt(t,i)}let VPt;function KYt(t,n,i){const o=t.type;if(!t.render){if(!n&&VPt&&!o.render){const s=o.template||pYe(t).template;if(s){const{isCustomElement:u,compilerOptions:d}=t.appContext.config,{delimiters:f,compilerOptions:g}=o,m=vA(vA({isCustomElement:u,delimiters:f},d),g);o.render=VPt(s,m)}}t.render=o.render||I6}{const s=Nse(t);MQ();try{LNn(t)}finally{PQ(),s()}}}function uRn(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(n,i){return K3(t,"get","$attrs"),n[i]}}))}function VYt(t){const n=i=>{t.exposed=i||{}};return{get attrs(){return uRn(t)},slots:t.slots,emit:t.emit,expose:n}}function N5e(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(pYt(uYt(t.exposed)),{get(n,i){if(i in n)return n[i];if(i in Ioe)return Ioe[i](t)},has(n,i){return i in n||i in Ioe}}))}function dRn(t,n=!0){return lu(t)?t.displayName||t.name:t.name||n&&t.__name}function hRn(t){return lu(t)&&"__vccOpts"in t}const Ie=(t,n)=>tNn(t,n,F5e);function b3e(t,n,i){const o=arguments.length;return o===2?ap(n)&&!Ic(n)?AA(n)?W(t,null,[n]):W(t,n):W(t,null,n):(o>3?i=Array.prototype.slice.call(arguments,2):o===3&&AA(i)&&(i=[i]),W(t,n,i))}const fRn="3.4.13";/** +* @vue/runtime-dom v3.4.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const gRn="http://www.w3.org/2000/svg",pRn="http://www.w3.org/1998/Math/MathML",eL=typeof document<"u"?document:null,WPt=eL&&eL.createElement("template"),ARn={insert:(t,n,i)=>{n.insertBefore(t,i||null)},remove:t=>{const n=t.parentNode;n&&n.removeChild(t)},createElement:(t,n,i,o)=>{const s=n==="svg"?eL.createElementNS(gRn,t):n==="mathml"?eL.createElementNS(pRn,t):eL.createElement(t,i?{is:i}:void 0);return t==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:t=>eL.createTextNode(t),createComment:t=>eL.createComment(t),setText:(t,n)=>{t.nodeValue=n},setElementText:(t,n)=>{t.textContent=n},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>eL.querySelector(t),setScopeId(t,n){t.setAttribute(n,"")},insertStaticContent(t,n,i,o,s,u){const d=i?i.previousSibling:n.lastChild;if(s&&(s===u||s.nextSibling))for(;n.insertBefore(s.cloneNode(!0),i),!(s===u||!(s=s.nextSibling)););else{WPt.innerHTML=o==="svg"?`${t}`:o==="mathml"?`${t}`:t;const f=WPt.content;if(o==="svg"||o==="mathml"){const g=f.firstChild;for(;g.firstChild;)f.appendChild(g.firstChild);f.removeChild(g)}n.insertBefore(f,i)}return[d?d.nextSibling:n.firstChild,i?i.previousSibling:n.lastChild]}},PP="transition",Aie="animation",fX=Symbol("_vtc"),L0=(t,{slots:n})=>b3e(TNn,XYt(t),n);L0.displayName="Transition";const WYt={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},mRn=L0.props=vA({},kYt,WYt),rH=(t,n=[])=>{Ic(t)?t.forEach(i=>i(...n)):t&&t(...n)},XPt=t=>t?Ic(t)?t.some(n=>n.length>1):t.length>1:!1;function XYt(t){const n={};for(const V in t)V in WYt||(n[V]=t[V]);if(t.css===!1)return n;const{name:i="v",type:o,duration:s,enterFromClass:u=`${i}-enter-from`,enterActiveClass:d=`${i}-enter-active`,enterToClass:f=`${i}-enter-to`,appearFromClass:g=u,appearActiveClass:m=d,appearToClass:b=f,leaveFromClass:w=`${i}-leave-from`,leaveActiveClass:C=`${i}-leave-active`,leaveToClass:T=`${i}-leave-to`}=t,k=vRn(s),$=k&&k[0],O=k&&k[1],{onBeforeEnter:B,onEnter:P,onEnterCancelled:N,onLeave:L,onLeaveCancelled:R,onBeforeAppear:H=B,onAppear:Q=P,onAppearCancelled:q=N}=n,X=(V,ue,Y)=>{VP(V,ue?b:f),VP(V,ue?m:d),Y&&Y()},re=(V,ue)=>{V._isLeaving=!1,VP(V,w),VP(V,T),VP(V,C),ue&&ue()},J=V=>(ue,Y)=>{const le=V?Q:P,te=()=>X(ue,V,Y);rH(le,[ue,te]),GPt(()=>{VP(ue,V?g:u),q_(ue,V?b:f),XPt(le)||YPt(ue,o,$,te)})};return vA(n,{onBeforeEnter(V){rH(B,[V]),q_(V,u),q_(V,d)},onBeforeAppear(V){rH(H,[V]),q_(V,g),q_(V,m)},onEnter:J(!1),onAppear:J(!0),onLeave(V,ue){V._isLeaving=!0;const Y=()=>re(V,ue);q_(V,w),YYt(),q_(V,C),GPt(()=>{V._isLeaving&&(VP(V,w),q_(V,T),XPt(L)||YPt(V,o,O,Y))}),rH(L,[V,Y])},onEnterCancelled(V){X(V,!1),rH(N,[V])},onAppearCancelled(V){X(V,!0),rH(q,[V])},onLeaveCancelled(V){re(V),rH(R,[V])}})}function vRn(t){if(t==null)return null;if(ap(t))return[_Qe(t.enter),_Qe(t.leave)];{const n=_Qe(t);return[n,n]}}function _Qe(t){return SFn(t)}function q_(t,n){n.split(/\s+/).forEach(i=>i&&t.classList.add(i)),(t[fX]||(t[fX]=new Set)).add(n)}function VP(t,n){n.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const i=t[fX];i&&(i.delete(n),i.size||(t[fX]=void 0))}function GPt(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let bRn=0;function YPt(t,n,i,o){const s=t._endId=++bRn,u=()=>{s===t._endId&&o()};if(i)return setTimeout(u,i);const{type:d,timeout:f,propCount:g}=GYt(t,n);if(!d)return o();const m=d+"end";let b=0;const w=()=>{t.removeEventListener(m,C),u()},C=T=>{T.target===t&&++b>=g&&w()};setTimeout(()=>{b(i[k]||"").split(", "),s=o(`${PP}Delay`),u=o(`${PP}Duration`),d=qPt(s,u),f=o(`${Aie}Delay`),g=o(`${Aie}Duration`),m=qPt(f,g);let b=null,w=0,C=0;n===PP?d>0&&(b=PP,w=d,C=u.length):n===Aie?m>0&&(b=Aie,w=m,C=g.length):(w=Math.max(d,m),b=w>0?d>m?PP:Aie:null,C=b?b===PP?u.length:g.length:0);const T=b===PP&&/\b(transform|all)(,|$)/.test(o(`${PP}Property`).toString());return{type:b,timeout:w,propCount:C,hasTransform:T}}function qPt(t,n){for(;t.lengthJPt(i)+JPt(t[o])))}function JPt(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function YYt(){return document.body.offsetHeight}function yRn(t,n,i){const o=t[fX];o&&(n=(n?[n,...o]:[...o]).join(" ")),n==null?t.removeAttribute("class"):i?t.setAttribute("class",n):t.className=n}const wYe=Symbol("_vod"),s2={beforeMount(t,{value:n},{transition:i}){t[wYe]=t.style.display==="none"?"":t.style.display,i&&n?i.beforeEnter(t):mie(t,n)},mounted(t,{value:n},{transition:i}){i&&n&&i.enter(t)},updated(t,{value:n,oldValue:i},{transition:o}){!n!=!i&&(o?n?(o.beforeEnter(t),mie(t,!0),o.enter(t)):o.leave(t,()=>{mie(t,!1)}):mie(t,n))},beforeUnmount(t,{value:n}){mie(t,n)}};function mie(t,n){t.style.display=n?t[wYe]:"none"}const wRn=Symbol("");function xRn(t,n,i){const o=t.style,s=o.display,u=dm(i);if(i&&!u){if(n&&!dm(n))for(const d in n)i[d]==null&&oVe(o,d,"");for(const d in i)oVe(o,d,i[d])}else if(u){if(n!==i){const d=o[wRn];d&&(i+=";"+d),o.cssText=i}}else n&&t.removeAttribute("style");wYe in t&&(o.display=s)}const ZPt=/\s*!important$/;function oVe(t,n,i){if(Ic(i))i.forEach(o=>oVe(t,n,o));else if(i==null&&(i=""),n.startsWith("--"))t.setProperty(n,i);else{const o=CRn(t,n);ZPt.test(i)?t.setProperty(ZX(o),i.replace(ZPt,""),"important"):t[o]=i}}const eLt=["Webkit","Moz","ms"],$Qe={};function CRn(t,n){const i=$Qe[n];if(i)return i;let o=U9(n);if(o!=="filter"&&o in t)return $Qe[n]=o;o=k5e(o);for(let s=0;sIQe||($Rn.then(()=>IQe=0),IQe=Date.now());function ORn(t,n){const i=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=i.attached)return;M6(MRn(o,i.value),n,5,[o])};return i.value=t,i.attached=IRn(),i}function MRn(t,n){if(Ic(n)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},n.map(o=>s=>!s._stopped&&o&&o(s))}else return n}const iLt=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,PRn=(t,n,i,o,s,u,d,f,g)=>{const m=s==="svg";n==="class"?yRn(t,o,m):n==="style"?xRn(t,i,o):C5e(n)?ZGe(n)||BRn(t,n,i,o,d):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):LRn(t,n,o,m))?TRn(t,n,o,u,d,f,g):(n==="true-value"?t._trueValue=o:n==="false-value"&&(t._falseValue=o),SRn(t,n,o,m))};function LRn(t,n,i,o){if(o)return!!(n==="innerHTML"||n==="textContent"||n in t&&iLt(n)&&lu(i));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&t.tagName==="INPUT"||n==="type"&&t.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return iLt(n)&&dm(i)?!1:n in t}const qYt=new WeakMap,JYt=new WeakMap,y3e=Symbol("_moveCb"),oLt=Symbol("_enterCb"),ZYt={name:"TransitionGroup",props:vA({},mRn,{tag:String,moveClass:String}),setup(t,{slots:n}){const i=ab(),o=EYt();let s,u;return u2(()=>{if(!s.length)return;const d=t.moveClass||`${t.name||"v"}-move`;if(!HRn(s[0].el,i.vnode.el,d))return;s.forEach(FRn),s.forEach(NRn);const f=s.filter(RRn);YYt(),f.forEach(g=>{const m=g.el,b=m.style;q_(m,d),b.transform=b.webkitTransform=b.transitionDuration="";const w=m[y3e]=C=>{C&&C.target!==m||(!C||/transform$/.test(C.propertyName))&&(m.removeEventListener("transitionend",w),m[y3e]=null,VP(m,d))};m.addEventListener("transitionend",w)})}),()=>{const d=Js(t),f=XYt(d);let g=d.tag||Za;s=u,u=n.default?gYe(n.default()):[];for(let m=0;mdelete t.mode;ZYt.props;const R5e=ZYt;function FRn(t){const n=t.el;n[y3e]&&n[y3e](),n[oLt]&&n[oLt]()}function NRn(t){JYt.set(t,t.el.getBoundingClientRect())}function RRn(t){const n=qYt.get(t),i=JYt.get(t),o=n.left-i.left,s=n.top-i.top;if(o||s){const u=t.el.style;return u.transform=u.webkitTransform=`translate(${o}px,${s}px)`,u.transitionDuration="0s",t}}function HRn(t,n,i){const o=t.cloneNode(),s=t[fX];s&&s.forEach(f=>{f.split(/\s+/).forEach(g=>g&&o.classList.remove(g))}),i.split(/\s+/).forEach(f=>f&&o.classList.add(f)),o.style.display="none";const u=n.nodeType===1?n:n.parentNode;u.appendChild(o);const{hasTransform:d}=GYt(o);return u.removeChild(o),d}const QRn=["ctrl","shift","alt","meta"],jRn={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,n)=>QRn.some(i=>t[`${i}Key`]&&!n.includes(i))},aLt=(t,n)=>{const i=t._withMods||(t._withMods={}),o=n.join(".");return i[o]||(i[o]=(s,...u)=>{for(let d=0;d{eqt().render(...t)},tqt=(...t)=>{const n=eqt().createApp(...t),{mount:i}=n;return n.mount=o=>{const s=KRn(o);if(!s)return;const u=n._component;!lu(u)&&!u.render&&!u.template&&(u.template=s.innerHTML),s.innerHTML="";const d=i(s,!1,zRn(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),d},n};function zRn(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function KRn(t){return dm(t)?document.querySelector(t):t}var r2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function LQ(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Jc(t,n){return t(n={exports:{}},n.exports),n.exports}function OQe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var LP,Tye,Ube=function(t){return t&&t.Math==Math&&t},Fi=Ube(typeof globalThis=="object"&&globalThis)||Ube(typeof window=="object"&&window)||Ube(typeof self=="object"&&self)||Ube(typeof r2=="object"&&r2)||function(){return this}()||Function("return this")(),Xu=function(t){try{return!!t()}catch{return!0}},eG=!Xu(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),nqt=Function.prototype,lLt=nqt.apply,cLt=nqt.call,_$=typeof Reflect=="object"&&Reflect.apply||(eG?cLt.bind(lLt):function(){return cLt.apply(lLt,arguments)}),rqt=Function.prototype,VRn=rqt.bind,aVe=rqt.call,WRn=eG&&VRn.bind(aVe,aVe),Ta=eG?function(t){return t&&WRn(t)}:function(t){return t&&function(){return aVe.apply(t,arguments)}},ah=function(t){return typeof t=="function"},Xd=!Xu(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),zbe=Function.prototype.call,Yl=eG?zbe.bind(zbe):function(){return zbe.apply(zbe,arguments)},uLt={}.propertyIsEnumerable,dLt=Object.getOwnPropertyDescriptor,Rse={f:dLt&&!uLt.call({1:2},1)?function(t){var n=dLt(this,t);return!!n&&n.enumerable}:uLt},X5=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},XRn=Ta({}.toString),GRn=Ta("".slice),L9=function(t){return GRn(XRn(t),8,-1)},MQe=Fi.Object,YRn=Ta("".split),H5e=Xu(function(){return!MQe("z").propertyIsEnumerable(0)})?function(t){return L9(t)=="String"?YRn(t,""):MQe(t)}:MQe,qRn=Fi.TypeError,RL=function(t){if(t==null)throw qRn("Can't call method on "+t);return t},W3=function(t){return H5e(RL(t))},g1=function(t){return typeof t=="object"?t!==null:ah(t)},jc={},hLt=function(t){return ah(t)?t:void 0},rv=function(t,n){return arguments.length<2?hLt(jc[t])||hLt(Fi[t]):jc[t]&&jc[t][n]||Fi[t]&&Fi[t][n]},of=Ta({}.isPrototypeOf),D9=rv("navigator","userAgent")||"",fLt=Fi.process,gLt=Fi.Deno,pLt=fLt&&fLt.versions||gLt&&gLt.version,ALt=pLt&&pLt.v8;ALt&&(Tye=(LP=ALt.split("."))[0]>0&&LP[0]<4?1:+(LP[0]+LP[1])),!Tye&&D9&&(!(LP=D9.match(/Edge\/(\d+)/))||LP[1]>=74)&&(LP=D9.match(/Chrome\/(\d+)/))&&(Tye=+LP[1]);var z9=Tye,$6=!!Object.getOwnPropertySymbols&&!Xu(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&z9&&z9<41}),xYe=$6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",JRn=Fi.Object,gX=xYe?function(t){return typeof t=="symbol"}:function(t){var n=rv("Symbol");return ah(n)&&of(n.prototype,JRn(t))},ZRn=Fi.String,Hse=function(t){try{return ZRn(t)}catch{return"Object"}},eHn=Fi.TypeError,xd=function(t){if(ah(t))return t;throw eHn(Hse(t)+" is not a function")},w3e=function(t,n){var i=t[n];return i==null?void 0:xd(i)},tHn=Fi.TypeError,nHn=Object.defineProperty,mLt="__core-js_shared__",vL=Fi[mLt]||function(t,n){try{nHn(Fi,t,{value:n,configurable:!0,writable:!0})}catch{Fi[t]=n}return n}(mLt,{}),HL=Jc(function(t){(t.exports=function(n,i){return vL[n]||(vL[n]=i!==void 0?i:{})})("versions",[]).push({version:"3.22.6",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE",source:"https://github.com/zloirock/core-js"})}),rHn=Fi.Object,X3=function(t){return rHn(RL(t))},iHn=Ta({}.hasOwnProperty),Gl=Object.hasOwn||function(t,n){return iHn(X3(t),n)},oHn=0,aHn=Math.random(),sHn=Ta(1 .toString),_ae=function(t){return"Symbol("+(t===void 0?"":t)+")_"+sHn(++oHn+aHn,36)},vie=HL("wks"),JH=Fi.Symbol,vLt=JH&&JH.for,lHn=xYe?JH:JH&&JH.withoutSetter||_ae,tg=function(t){if(!Gl(vie,t)||!$6&&typeof vie[t]!="string"){var n="Symbol."+t;$6&&Gl(JH,t)?vie[t]=JH[t]:vie[t]=xYe&&vLt?vLt(n):lHn(n)}return vie[t]},cHn=Fi.TypeError,uHn=tg("toPrimitive"),dHn=function(t,n){if(!g1(t)||gX(t))return t;var i,o=w3e(t,uHn);if(o){if(n===void 0&&(n="default"),i=Yl(o,t,n),!g1(i)||gX(i))return i;throw cHn("Can't convert object to primitive value")}return n===void 0&&(n="number"),function(s,u){var d,f;if(u==="string"&&ah(d=s.toString)&&!g1(f=Yl(d,s))||ah(d=s.valueOf)&&!g1(f=Yl(d,s))||u!=="string"&&ah(d=s.toString)&&!g1(f=Yl(d,s)))return f;throw tHn("Can't convert object to primitive value")}(t,n)},dQ=function(t){var n=dHn(t,"string");return gX(n)?n:n+""},sVe=Fi.document,hHn=g1(sVe)&&g1(sVe.createElement),x3e=function(t){return hHn?sVe.createElement(t):{}},iqt=!Xd&&!Xu(function(){return Object.defineProperty(x3e("div"),"a",{get:function(){return 7}}).a!=7}),bLt=Object.getOwnPropertyDescriptor,G9={f:Xd?bLt:function(t,n){if(t=W3(t),n=dQ(n),iqt)try{return bLt(t,n)}catch{}if(Gl(t,n))return X5(!Yl(Rse.f,t,n),t[n])}},fHn=/#|\.prototype\./,Qse=function(t,n){var i=pHn[gHn(t)];return i==mHn||i!=AHn&&(ah(n)?Xu(n):!!n)},gHn=Qse.normalize=function(t){return String(t).replace(fHn,".").toLowerCase()},pHn=Qse.data={},AHn=Qse.NATIVE="N",mHn=Qse.POLYFILL="P",oqt=Qse,vHn=Ta(Ta.bind),mA=function(t,n){return xd(t),n===void 0?t:eG?vHn(t,n):function(){return t.apply(n,arguments)}},aqt=Xd&&Xu(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),bHn=Fi.String,yHn=Fi.TypeError,Cd=function(t){if(g1(t))return t;throw yHn(bHn(t)+" is not an object")},wHn=Fi.TypeError,PQe=Object.defineProperty,xHn=Object.getOwnPropertyDescriptor,LQe="enumerable",DQe="configurable",FQe="writable",Ny={f:Xd?aqt?function(t,n,i){if(Cd(t),n=dQ(n),Cd(i),typeof t=="function"&&n==="prototype"&&"value"in i&&FQe in i&&!i[FQe]){var o=xHn(t,n);o&&o[FQe]&&(t[n]=i.value,i={configurable:DQe in i?i[DQe]:o[DQe],enumerable:LQe in i?i[LQe]:o[LQe],writable:!1})}return PQe(t,n,i)}:PQe:function(t,n,i){if(Cd(t),n=dQ(n),Cd(i),iqt)try{return PQe(t,n,i)}catch{}if("get"in i||"set"in i)throw wHn("Accessors not supported");return"value"in i&&(t[n]=i.value),t}},Zb=Xd?function(t,n,i){return Ny.f(t,n,X5(1,i))}:function(t,n,i){return t[n]=i,t},CHn=G9.f,SHn=function(t){var n=function(i,o,s){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,o)}return new t(i,o,s)}return _$(t,this,arguments)};return n.prototype=t.prototype,n},Ho=function(t,n){var i,o,s,u,d,f,g,m,b=t.target,w=t.global,C=t.stat,T=t.proto,k=w?Fi:C?Fi[b]:(Fi[b]||{}).prototype,$=w?jc:jc[b]||Zb(jc,b,{})[b],O=$.prototype;for(s in n)i=!oqt(w?s:b+(C?".":"#")+s,t.forced)&&k&&Gl(k,s),d=$[s],i&&(f=t.dontCallGetSet?(m=CHn(k,s))&&m.value:k[s]),u=i&&f?f:n[s],i&&typeof d==typeof u||(g=t.bind&&i?mA(u,Fi):t.wrap&&i?SHn(u):T&&ah(u)?Ta(u):u,(t.sham||u&&u.sham||d&&d.sham)&&Zb(g,"sham",!0),Zb($,s,g),T&&(Gl(jc,o=b+"Prototype")||Zb(jc,o,{}),Zb(jc[o],s,u),t.real&&O&&!O[s]&&Zb(O,s,u)))},EL=Ta([].slice),yLt=Fi.Function,THn=Ta([].concat),EHn=Ta([].join),NQe={},lVe=eG?yLt.bind:function(t){var n=xd(this),i=n.prototype,o=EL(arguments,1),s=function(){var u=THn(o,EL(arguments));return this instanceof s?function(d,f,g){if(!Gl(NQe,f)){for(var m=[],b=0;b0?DHn:LHn)(n)},tG=function(t){var n=+t;return n!=n||n===0?0:FHn(n)},NHn=Math.max,RHn=Math.min,P$=function(t,n){var i=tG(t);return i<0?NHn(i+n,0):RHn(i,n)},HHn=Math.min,EYe=function(t){return t>0?HHn(tG(t),9007199254740991):0},rx=function(t){return EYe(t.length)},wLt=function(t){return function(n,i,o){var s,u=W3(n),d=rx(u),f=P$(o,d);if(t&&i!=i){for(;d>f;)if((s=u[f++])!=s)return!0}else for(;d>f;f++)if((t||f in u)&&u[f]===i)return t||f||0;return!t&&-1}},kYe={includes:wLt(!0),indexOf:wLt(!1)},nG={},QHn=kYe.indexOf,xLt=Ta([].push),dqt=function(t,n){var i,o=W3(t),s=0,u=[];for(i in o)!Gl(nG,i)&&Gl(o,i)&&xLt(u,i);for(;n.length>s;)Gl(o,i=n[s++])&&(~QHn(u,i)||xLt(u,i));return u},S3e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$$=Object.keys||function(t){return dqt(t,S3e)},jHn=Xd&&!aqt?Object.defineProperties:function(t,n){Cd(t);for(var i,o=W3(n),s=$$(n),u=s.length,d=0;u>d;)Ny.f(t,i=s[d++],o[i]);return t},BYe={f:jHn},cVe=rv("document","documentElement"),CLt=HL("keys"),j5e=function(t){return CLt[t]||(CLt[t]=_ae(t))},uVe="prototype",dVe="script",hqt=j5e("IE_PROTO"),RQe=function(){},fqt=function(t){return"<"+dVe+">"+t+""},SLt=function(t){t.write(fqt("")),t.close();var n=t.parentWindow.Object;return t=null,n},Eye=function(){try{Kbe=new ActiveXObject("htmlfile")}catch{}var t,n,i;Eye=typeof document<"u"?document.domain&&Kbe?SLt(Kbe):(n=x3e("iframe"),i="java"+dVe+":",n.style.display="none",cVe.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(fqt("document.F=Object")),t.close(),t.F):SLt(Kbe);for(var o=S3e.length;o--;)delete Eye[uVe][S3e[o]];return Eye()};nG[hqt]=!0;var q5=Object.create||function(t,n){var i;return t!==null?(RQe[uVe]=Cd(t),i=new RQe,RQe[uVe]=null,i[hqt]=t):i=Eye(),n===void 0?i:BYe.f(i,n)},_Ye=rv("Reflect","construct"),UHn=Object.prototype,zHn=[].push,gqt=Xu(function(){function t(){}return!(_Ye(function(){},[],t)instanceof t)}),pqt=!Xu(function(){_Ye(function(){})}),TLt=gqt||pqt;Ho({target:"Reflect",stat:!0,forced:TLt,sham:TLt},{construct:function(t,n){C3e(t),Cd(n);var i=arguments.length<3?t:C3e(arguments[2]);if(pqt&&!gqt)return _Ye(t,n,i);if(t==i){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var o=[null];return _$(zHn,o,n),new(_$(lVe,t,o))}var s=i.prototype,u=q5(g1(s)?s:UHn),d=_$(t,u,n);return g1(d)?d:u}});var Aqt=jc.Reflect.construct,$t=Aqt,KHn=Xu(function(){$$(1)});Ho({target:"Object",stat:!0,forced:KHn},{keys:function(t){return $$(X3(t))}});var T3e,Poe,E3e,mqt=jc.Object.keys,ad=mqt,VHn=Fi.String,Wu=function(t){if(QL(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return VHn(t)},WHn=S3e.concat("length","prototype"),$ae={f:Object.getOwnPropertyNames||function(t){return dqt(t,WHn)}},kL=function(t,n,i){var o=dQ(n);o in t?Ny.f(t,o,X5(0,i)):t[o]=i},XHn=Fi.Array,GHn=Math.max,I3=function(t,n,i){for(var o=rx(t),s=P$(n,o),u=P$(i===void 0?o:i,o),d=XHn(GHn(u-s,0)),f=0;sP;P++)if((f||P in $)&&(T=O(C=$[P],P,k),t))if(n)L[P]=T;else if(T)switch(t){case 3:return!0;case 5:return C;case 6:return P;case 2:MLt(L,C)}else switch(t){case 4:return!1;case 7:MLt(L,C)}return u?-1:o||s?s:L}},X$={forEach:DP(0),map:DP(1),filter:DP(2),some:DP(3),every:DP(4),find:DP(5),findIndex:DP(6),filterReject:DP(7)},z5e=X$.forEach,D3=j5e("hidden"),k3e="Symbol",Iae="prototype",iQn=sb.set,PLt=sb.getterFor(k3e),B7=Object[Iae],_H=Fi.Symbol,roe=_H&&_H[Iae],oQn=Fi.TypeError,HQe=Fi.QObject,bqt=G9.f,iL=Ny.f,yqt=$Ye.f,aQn=Rse.f,wqt=Ta([].push),F$=HL("symbols"),Use=HL("op-symbols"),sQn=HL("wks"),QQe=!HQe||!HQe[Iae]||!HQe[Iae].findChild,fVe=Xd&&Xu(function(){return q5(iL({},"a",{get:function(){return iL(this,"a",{value:7}).a}})).a!=7})?function(t,n,i){var o=bqt(B7,n);o&&delete B7[n],iL(t,n,i),o&&t!==B7&&iL(B7,n,o)}:iL,jQe=function(t,n){var i=F$[t]=q5(roe);return iQn(i,{type:k3e,tag:t,description:n}),Xd||(i.description=n),i},B3e=function(t,n,i){t===B7&&B3e(Use,n,i),Cd(t);var o=dQ(n);return Cd(i),Gl(F$,o)?(i.enumerable?(Gl(t,D3)&&t[D3][o]&&(t[D3][o]=!1),i=q5(i,{enumerable:X5(0,!1)})):(Gl(t,D3)||iL(t,D3,X5(1,{})),t[D3][o]=!0),fVe(t,o,i)):iL(t,o,i)},UQe=function(t,n){Cd(t);var i=W3(n),o=$$(i).concat(Cqt(i));return z5e(o,function(s){Xd&&!Yl(xqt,i,s)||B3e(t,s,i[s])}),t},xqt=function(t){var n=dQ(t),i=Yl(aQn,this,n);return!(this===B7&&Gl(F$,n)&&!Gl(Use,n))&&(!(i||!Gl(this,n)||!Gl(F$,n)||Gl(this,D3)&&this[D3][n])||i)},LLt=function(t,n){var i=W3(t),o=dQ(n);if(i!==B7||!Gl(F$,o)||Gl(Use,o)){var s=bqt(i,o);return!s||!Gl(F$,o)||Gl(i,D3)&&i[D3][o]||(s.enumerable=!0),s}},DLt=function(t){var n=yqt(W3(t)),i=[];return z5e(n,function(o){Gl(F$,o)||Gl(nG,o)||wqt(i,o)}),i},Cqt=function(t){var n=t===B7,i=yqt(n?Use:W3(t)),o=[];return z5e(i,function(s){!Gl(F$,s)||n&&!Gl(B7,s)||wqt(o,F$[s])}),o};$6||(_H=function(){if(of(roe,this))throw oQn("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?Wu(arguments[0]):void 0,n=_ae(t),i=function(o){this===B7&&Yl(i,Use,o),Gl(this,D3)&&Gl(this[D3],n)&&(this[D3][n]=!1),fVe(this,n,X5(1,o))};return Xd&&QQe&&fVe(B7,n,{configurable:!0,set:i}),jQe(n,t)},roe=_H[Iae],Q3(roe,"toString",function(){return PLt(this).tag}),Q3(_H,"withoutSetter",function(t){return jQe(_ae(t),t)}),Rse.f=xqt,Ny.f=B3e,BYe.f=UQe,G9.f=LLt,$ae.f=$Ye.f=DLt,jse.f=Cqt,IYe.f=function(t){return jQe(tg(t),t)},Xd&&iL(roe,"description",{configurable:!0,get:function(){return PLt(this).description}})),Ho({global:!0,constructor:!0,wrap:!0,forced:!$6,sham:!$6},{Symbol:_H}),z5e($$(sQn),function(t){_0(t)}),Ho({target:k3e,stat:!0,forced:!$6},{useSetter:function(){QQe=!0},useSimple:function(){QQe=!1}}),Ho({target:"Object",stat:!0,forced:!$6,sham:!Xd},{create:function(t,n){return n===void 0?q5(t):UQe(q5(t),n)},defineProperty:B3e,defineProperties:UQe,getOwnPropertyDescriptor:LLt}),Ho({target:"Object",stat:!0,forced:!$6},{getOwnPropertyNames:DLt}),vqt(),L$(_H,k3e),nG[D3]=!0;var Sqt=$6&&!!Symbol.for&&!!Symbol.keyFor,zQe=HL("string-to-symbol-registry"),lQn=HL("symbol-to-string-registry");Ho({target:"Symbol",stat:!0,forced:!Sqt},{for:function(t){var n=Wu(t);if(Gl(zQe,n))return zQe[n];var i=rv("Symbol")(n);return zQe[n]=i,lQn[i]=n,i}});var FLt=HL("symbol-to-string-registry");Ho({target:"Symbol",stat:!0,forced:!Sqt},{keyFor:function(t){if(!gX(t))throw TypeError(Hse(t)+" is not a symbol");if(Gl(FLt,t))return FLt[t]}});var bL=rv("JSON","stringify"),Vbe=Ta(/./.exec),NLt=Ta("".charAt),cQn=Ta("".charCodeAt),uQn=Ta("".replace),dQn=Ta(1 .toString),hQn=/[\uD800-\uDFFF]/g,RLt=/^[\uD800-\uDBFF]$/,HLt=/^[\uDC00-\uDFFF]$/,QLt=!$6||Xu(function(){var t=rv("Symbol")();return bL([t])!="[null]"||bL({a:t})!="{}"||bL(Object(t))!="{}"}),jLt=Xu(function(){return bL("\uDF06\uD834")!=='"\\udf06\\ud834"'||bL("\uDEAD")!=='"\\udead"'}),fQn=function(t,n){var i=EL(arguments),o=n;if((g1(n)||t!==void 0)&&!gX(t))return D$(n)||(n=function(s,u){if(ah(o)&&(u=Yl(o,this,s,u)),!gX(u))return u}),i[1]=n,_$(bL,null,i)},gQn=function(t,n,i){var o=NLt(i,n-1),s=NLt(i,n+1);return Vbe(RLt,t)&&!Vbe(HLt,s)||Vbe(HLt,t)&&!Vbe(RLt,o)?"\\u"+dQn(cQn(t,0),16):t};bL&&Ho({target:"JSON",stat:!0,arity:3,forced:QLt||jLt},{stringify:function(t,n,i){var o=EL(arguments),s=_$(QLt?fQn:bL,null,o);return jLt&&typeof s=="string"?uQn(s,hQn,gQn):s}});var pQn=!$6||Xu(function(){jse.f(1)});Ho({target:"Object",stat:!0,forced:pQn},{getOwnPropertySymbols:function(t){var n=jse.f;return n?n(X3(t)):[]}});var Tqt=jc.Object.getOwnPropertySymbols,P1=Tqt,AQn=tg("species"),zse=function(t){return z9>=51||!Xu(function(){var n=[];return(n.constructor={})[AQn]=function(){return{foo:1}},n[t](Boolean).foo!==1})},mQn=X$.filter,vQn=zse("filter");Ho({target:"Array",proto:!0,forced:!vQn},{filter:function(t){return mQn(this,t,arguments.length>1?arguments[1]:void 0)}});var Ig=function(t){return jc[t+"Prototype"]},bQn=Ig("Array").filter,KQe=Array.prototype,Jf=function(t){var n=t.filter;return t===KQe||of(KQe,t)&&n===KQe.filter?bQn:n},Eqt=G9.f,yQn=Xu(function(){Eqt(1)});Ho({target:"Object",stat:!0,forced:!Xd||yQn,sham:!Xd},{getOwnPropertyDescriptor:function(t,n){return Eqt(W3(t),n)}});var cL,ULt,zLt,wQn=Jc(function(t){var n=jc.Object,i=t.exports=function(o,s){return n.getOwnPropertyDescriptor(o,s)};n.getOwnPropertyDescriptor.sham&&(i.sham=!0)}),kqt=wQn,Og=kqt,N$={},Bqt=Function.prototype,xQn=Xd&&Object.getOwnPropertyDescriptor,VQe=Gl(Bqt,"name"),_qt={EXISTS:VQe,PROPER:VQe&&(function(){}).name==="something",CONFIGURABLE:VQe&&(!Xd||Xd&&xQn(Bqt,"name").configurable)},$qt=!Xu(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),KLt=j5e("IE_PROTO"),gVe=Fi.Object,CQn=gVe.prototype,hQ=$qt?gVe.getPrototypeOf:function(t){var n=X3(t);if(Gl(n,KLt))return n[KLt];var i=n.constructor;return ah(i)&&n instanceof i?i.prototype:n instanceof gVe?CQn:null},pVe=tg("iterator"),Iqt=!1;[].keys&&("next"in(zLt=[].keys())?(ULt=hQ(hQ(zLt)))!==Object.prototype&&(cL=ULt):Iqt=!0);var SQn=cL==null||Xu(function(){var t={};return cL[pVe].call(t)!==t});cL=SQn?{}:q5(cL),ah(cL[pVe])||Q3(cL,pVe,function(){return this});var Oqt={IteratorPrototype:cL,BUGGY_SAFARI_ITERATORS:Iqt},TQn=Oqt.IteratorPrototype,EQn=function(){return this},Mqt=function(t,n,i,o){var s=n+" Iterator";return t.prototype=q5(TQn,{next:X5(+!o,i)}),L$(t,s,!1,!0),N$[s]=EQn,t},kQn=Fi.String,BQn=Fi.TypeError,Oae=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,i={};try{(t=Ta(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),n=i instanceof Array}catch{}return function(o,s){return Cd(o),function(u){if(typeof u=="object"||ah(u))return u;throw BQn("Can't set "+kQn(u)+" as a prototype")}(s),n?t(o,s):o.__proto__=s,o}}():void 0),_Qn=_qt.PROPER,Wbe=Oqt.BUGGY_SAFARI_ITERATORS,WQe=tg("iterator"),VLt="keys",Xbe="values",WLt="entries",$Qn=function(){return this},OYe=function(t,n,i,o,s,u,d){Mqt(i,n,o);var f,g,m,b=function(B){if(B===s&&$)return $;if(!Wbe&&B in T)return T[B];switch(B){case VLt:case Xbe:case WLt:return function(){return new i(this,B)}}return function(){return new i(this)}},w=n+" Iterator",C=!1,T=t.prototype,k=T[WQe]||T["@@iterator"]||s&&T[s],$=!Wbe&&k||b(s),O=n=="Array"&&T.entries||k;if(O&&(f=hQ(O.call(new t)))!==Object.prototype&&f.next&&(L$(f,w,!0,!0),N$[w]=$Qn),_Qn&&s==Xbe&&k&&k.name!==Xbe&&(C=!0,$=function(){return Yl(k,this)}),s)if(g={values:b(Xbe),keys:u?$:b(VLt),entries:b(WLt)},d)for(m in g)(Wbe||C||!(m in T))&&Q3(T,m,g[m]);else Ho({target:n,proto:!0,forced:Wbe||C},g);return d&&T[WQe]!==$&&Q3(T,WQe,$,{name:s}),N$[n]=$,g};Ny.f;var Pqt="Array Iterator",IQn=sb.set,OQn=sb.getterFor(Pqt);OYe(Array,"Array",function(t,n){IQn(this,{type:Pqt,target:W3(t),index:0,kind:n})},function(){var t=OQn(this),n=t.target,i=t.kind,o=t.index++;return!n||o>=n.length?(t.target=void 0,{value:void 0,done:!0}):i=="keys"?{value:o,done:!1}:i=="values"?{value:n[o],done:!1}:{value:[o,n[o]],done:!1}},"values"),N$.Arguments=N$.Array;var XLt=tg("toStringTag");for(var XQe in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var GLt=Fi[XQe],GQe=GLt&&GLt.prototype;GQe&&QL(GQe)!==XLt&&Zb(GQe,XLt,XQe),N$[XQe]=N$.Array}var rG=function(t,n){var i=[][t];return!!i&&Xu(function(){i.call(null,n||function(){return 1},1)})},MQn=X$.forEach,YLt=rG("forEach")?[].forEach:function(t){return MQn(this,t,arguments.length>1?arguments[1]:void 0)};Ho({target:"Array",proto:!0,forced:[].forEach!=YLt},{forEach:YLt});var PQn=Ig("Array").forEach,YQe=Array.prototype,LQn={DOMTokenList:!0,NodeList:!0},Lqt=function(t){var n=t.forEach;return t===YQe||of(YQe,t)&&n===YQe.forEach||Gl(LQn,QL(t))?PQn:n},Wo=Lqt,DQn=Ta([].concat),Dqt=rv("Reflect","ownKeys")||function(t){var n=$ae.f(Cd(t)),i=jse.f;return i?DQn(n,i(t)):n};Ho({target:"Object",stat:!0,sham:!Xd},{getOwnPropertyDescriptors:function(t){for(var n,i,o=W3(t),s=G9.f,u=Dqt(o),d={},f=0;u.length>f;)(i=s(o,n=u[f++]))!==void 0&&kL(d,n,i);return d}});var $g=jc.Object.getOwnPropertyDescriptors,qLt=BYe.f;Ho({target:"Object",stat:!0,forced:Object.defineProperties!==qLt,sham:!Xd},{defineProperties:qLt});var FQn=Jc(function(t){var n=jc.Object,i=t.exports=function(o,s){return n.defineProperties(o,s)};n.defineProperties.sham&&(i.sham=!0)}),z6=FQn,JLt=Ny.f;Ho({target:"Object",stat:!0,forced:Object.defineProperty!==JLt,sham:!Xd},{defineProperty:JLt});var Fqt=Jc(function(t){var n=jc.Object,i=t.exports=function(o,s,u){return n.defineProperty(o,s,u)};n.defineProperty.sham&&(i.sham=!0)}),Dy=Fqt;function vi(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var Kse=Fqt;function ZLt(t,n){for(var i=0;i=51||!Xu(function(){var t=[];return t[Rqt]=!1,t.concat()[0]!==t}),HQn=zse("concat"),QQn=function(t){if(!g1(t))return!1;var n=t[Rqt];return n!==void 0?!!n:D$(t)};Ho({target:"Array",proto:!0,arity:1,forced:!RQn||!HQn},{concat:function(t){var n,i,o,s,u,d=X3(this),f=U5e(d,0),g=0;for(n=-1,o=arguments.length;neDt)throw nDt(tDt);for(i=0;i=eDt)throw nDt(tDt);kL(f,g++,u)}return f.length=g,f}}),_0("asyncIterator"),_0("hasInstance"),_0("isConcatSpreadable"),_0("iterator"),_0("match"),_0("matchAll"),_0("replace"),_0("search"),_0("species"),_0("split"),_0("toPrimitive"),vqt(),_0("toStringTag"),L$(rv("Symbol"),"Symbol"),_0("unscopables"),L$(Fi.JSON,"JSON",!0);var Hqt=jc.Symbol,jQn=Hqt;_0("asyncDispose"),_0("dispose"),_0("matcher"),_0("metadata"),_0("observable"),_0("patternMatch"),_0("replaceAll");var O6=jQn,UQn=Ta("".charAt),rDt=Ta("".charCodeAt),zQn=Ta("".slice),iDt=function(t){return function(n,i){var o,s,u=Wu(RL(n)),d=tG(i),f=u.length;return d<0||d>=f?t?"":void 0:(o=rDt(u,d))<55296||o>56319||d+1===f||(s=rDt(u,d+1))<56320||s>57343?t?UQn(u,d):o:t?zQn(u,d,d+2):s-56320+(o-55296<<10)+65536}},Qqt={codeAt:iDt(!1),charAt:iDt(!0)},KQn=Qqt.charAt,jqt="String Iterator",VQn=sb.set,WQn=sb.getterFor(jqt);OYe(String,"String",function(t){VQn(this,{type:jqt,string:Wu(t),index:0})},function(){var t,n=WQn(this),i=n.string,o=n.index;return o>=i.length?{value:void 0,done:!0}:(t=KQn(i,o),n.index+=t.length,{value:t,done:!1})});var Uqt=IYe.f("iterator"),zqt=Uqt;function Uc(t){return Uc=typeof O6=="function"&&typeof zqt=="symbol"?function(n){return typeof n}:function(n){return n&&typeof O6=="function"&&n.constructor===O6&&n!==O6.prototype?"symbol":typeof n},Uc(t)}function xo(t,n){if(n&&(Uc(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Rs(t)}var XQn=Xu(function(){hQ(1)});Ho({target:"Object",stat:!0,forced:XQn,sham:!$qt},{getPrototypeOf:function(t){return hQ(X3(t))}});var Kqt=jc.Object.getPrototypeOf,Doe=Kqt;function Kn(t){return Kn=_3e?Doe:function(n){return n.__proto__||Doe(n)},Kn(t)}function Ni(t,n,i){return n in t?Kse(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var GQn=Ig("Array").concat,qQe=Array.prototype,St=function(t){var n=t.concat;return t===qQe||of(qQe,t)&&n===qQe.concat?GQn:n};Ho({target:"Function",proto:!0,forced:Function.bind!==lVe},{bind:lVe});var YQn=Ig("Function").bind,JQe=Function.prototype,Vqt=function(t){var n=t.bind;return t===JQe||of(JQe,t)&&n===JQe.bind?YQn:n},va=Vqt,qQn=Fi.TypeError,a$=function(t,n){if(t2,s=ah(n)?n:ZQn(n),u=o?EL(arguments,2):void 0;return t(o?function(){_$(s,this,u)}:s,i)}:t},Wqt={setTimeout:oDt(Fi.setTimeout),setInterval:oDt(Fi.setInterval)},aDt=Wqt.setInterval;Ho({global:!0,bind:!0,forced:Fi.setInterval!==aDt},{setInterval:aDt});var sDt=Wqt.setTimeout;Ho({global:!0,bind:!0,forced:Fi.setTimeout!==sDt},{setTimeout:sDt});var gA=jc.setTimeout,ejn=function(){this.__data__=[],this.size=0},K5e=function(t,n){return t===n||t!=t&&n!=n},V5e=function(t,n){for(var i=t.length;i--;)if(K5e(t[i][0],n))return i;return-1},tjn=Array.prototype.splice,njn=function(t){var n=this.__data__,i=V5e(n,t);return!(i<0)&&(i==n.length-1?n.pop():tjn.call(n,i,1),--this.size,!0)},rjn=function(t){var n=this.__data__,i=V5e(n,t);return i<0?void 0:n[i][1]},ijn=function(t){return V5e(this.__data__,t)>-1},ojn=function(t,n){var i=this.__data__,o=V5e(i,t);return o<0?(++this.size,i.push([t,n])):i[o][1]=n,this};function iW(t){var n=-1,i=t==null?0:t.length;for(this.clear();++n-1&&t%1==0&&t<=9007199254740991},G5e=function(t){return t!=null&&rJt(t.length)&&!MYe(t)},Gjn=function(t){return jL(t)&&G5e(t)},Yjn=function(){return!1},NYe=Jc(function(t,n){var i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i?Q7.Buffer:void 0,u=(s?s.isBuffer:void 0)||Yjn;t.exports=u}),qjn=Function.prototype,Jjn=Object.prototype,iJt=qjn.toString,Zjn=Jjn.hasOwnProperty,eUn=iJt.call(Object),tUn=function(t){if(!jL(t)||DQ(t)!="[object Object]")return!1;var n=DYe(t);if(n===null)return!0;var i=Zjn.call(n,"constructor")&&n.constructor;return typeof i=="function"&&i instanceof i&&iJt.call(i)==eUn},Y1={};Y1["[object Float32Array]"]=Y1["[object Float64Array]"]=Y1["[object Int8Array]"]=Y1["[object Int16Array]"]=Y1["[object Int32Array]"]=Y1["[object Uint8Array]"]=Y1["[object Uint8ClampedArray]"]=Y1["[object Uint16Array]"]=Y1["[object Uint32Array]"]=!0,Y1["[object Arguments]"]=Y1["[object Array]"]=Y1["[object ArrayBuffer]"]=Y1["[object Boolean]"]=Y1["[object DataView]"]=Y1["[object Date]"]=Y1["[object Error]"]=Y1["[object Function]"]=Y1["[object Map]"]=Y1["[object Number]"]=Y1["[object Object]"]=Y1["[object RegExp]"]=Y1["[object Set]"]=Y1["[object String]"]=Y1["[object WeakMap]"]=!1;var nUn=function(t){return jL(t)&&rJt(t.length)&&!!Y1[DQ(t)]},RYe=function(t){return function(n){return t(n)}},AX=Jc(function(t,n){var i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i&&Xqt.process,u=function(){try{var d=o&&o.require&&o.require("util").types;return d||s&&s.binding&&s.binding("util")}catch{}}();t.exports=u}),gDt=AX&&AX.isTypedArray,oJt=gDt?RYe(gDt):nUn,vVe=function(t,n){if((n!=="constructor"||typeof t[n]!="function")&&n!="__proto__")return t[n]},rUn=Object.prototype.hasOwnProperty,aJt=function(t,n,i){var o=t[n];rUn.call(t,n)&&K5e(o,i)&&(i!==void 0||n in t)||PYe(t,n,i)},Vse=function(t,n,i,o){var s=!i;i||(i={});for(var u=-1,d=n.length;++u-1&&t%1==0&&t0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},yUn=bUn(mUn),wUn=function(t,n){return yUn(gUn(t,n,cJt),t+"")},xUn=function(t,n,i){if(!L7(i))return!1;var o=typeof n;return!!(o=="number"?G5e(i)&&sJt(n,i.length):o=="string"&&n in i)&&K5e(i[n],t)},CUn=function(t){return wUn(function(n,i){var o=-1,s=i.length,u=s>1?i[s-1]:void 0,d=s>2?i[2]:void 0;for(u=t.length>3&&typeof u=="function"?(s--,u):void 0,d&&xUn(i[0],i[1],d)&&(u=s<3?void 0:u,s=1),n=Object(n);++o1?arguments[1]:void 0;return mDt?bVe(this,t,n)||0:TUn(this,t,n)}});var kUn=Ig("Array").indexOf,eje=Array.prototype,uJt=function(t){var n=t.indexOf;return t===eje||of(eje,t)&&n===eje.indexOf?kUn:n},yVe=uJt,BUn=mqt;function _Un(t,n){if(t==null)return{};var i,o,s=function(d,f){if(d==null)return{};var g,m,b={},w=BUn(d);for(m=0;m=0||(b[g]=d[g]);return b}(t,n);if(ADt){var u=ADt(t);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i])}return s}var NV=Object.assign,vDt=Object.defineProperty,$Un=Ta([].concat),Dae=!NV||Xu(function(){if(Xd&&NV({b:1},NV(vDt({},"a",{enumerable:!0,get:function(){vDt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},n={},i=Symbol(),o="abcdefghijklmnopqrst";return t[i]=7,o.split("").forEach(function(s){n[s]=s}),NV({},t)[i]!=7||$$(NV({},n)).join("")!=o})?function(t,n){for(var i=X3(t),o=arguments.length,s=1,u=jse.f,d=Rse.f;o>s;)for(var f,g=H5e(arguments[s++]),m=u?$Un($$(g),u(g)):$$(g),b=m.length,w=0;b>w;)f=m[w++],Xd&&!Yl(d,g,f)||(i[f]=g[f]);return i}:NV;Ho({target:"Object",stat:!0,arity:2,forced:Object.assign!==Dae},{assign:Dae});var dJt=jc.Object.assign,m$=dJt;jc.JSON||(jc.JSON={stringify:JSON.stringify});var QYe=function(t,n,i){return _$(jc.JSON.stringify,null,arguments)},IUn=X$.find,bDt="find",yDt=!0;bDt in[]&&Array(1)[bDt](function(){yDt=!1}),Ho({target:"Array",proto:!0,forced:yDt},{find:function(t){return IUn(this,t,arguments.length>1?arguments[1]:void 0)}});var wie,OUn=Ig("Array").find,tje=Array.prototype,Fae=function(t){var n=t.find;return t===tje||of(tje,t)&&n===tje.find?OUn:n},mX=` +\v\f\r                 \u2028\u2029\uFEFF`,wDt=Ta("".replace),I3e="["+mX+"]",MUn=RegExp("^"+I3e+I3e+"*"),PUn=RegExp(I3e+I3e+"*$"),nje=function(t){return function(n){var i=Wu(RL(n));return 1&t&&(i=wDt(i,MUn,"")),2&t&&(i=wDt(i,PUn,"")),i}},jYe={start:nje(1),end:nje(2),trim:nje(3)},LUn=_qt.PROPER,DUn=jYe.trim;Ho({target:"String",proto:!0,forced:(wie="trim",Xu(function(){return!!mX[wie]()||"​…᠎"[wie]()!=="​…᠎"||LUn&&mX[wie].name!==wie}))},{trim:function(){return DUn(this)}});var FUn=Ig("String").trim,rje=String.prototype,Ra=function(t){var n=t.trim;return typeof t=="string"||t===rje||of(rje,t)&&n===rje.trim?FUn:n},wVe=function(t,n,i){var o,s;Cd(t);try{if(!(o=w3e(t,"return"))){if(n==="throw")throw i;return i}o=Yl(o,t)}catch(u){s=!0,o=u}if(n==="throw")throw i;if(s)throw o;return Cd(o),i},NUn=function(t,n,i,o){try{return o?n(Cd(i)[0],i[1]):n(i)}catch(s){wVe(t,"throw",s)}},RUn=tg("iterator"),HUn=Array.prototype,hJt=function(t){return t!==void 0&&(N$.Array===t||HUn[RUn]===t)},QUn=tg("iterator"),Xse=function(t){if(t!=null)return w3e(t,QUn)||w3e(t,"@@iterator")||N$[QL(t)]},jUn=Fi.TypeError,fQ=function(t,n){var i=arguments.length<2?Xse(t):n;if(xd(i))return Cd(Yl(i,t));throw jUn(Hse(t)+" is not iterable")},xDt=Fi.Array,vH=function(t){var n=X3(t),i=Q5e(this),o=arguments.length,s=o>1?arguments[1]:void 0,u=s!==void 0;u&&(s=mA(s,o>2?arguments[2]:void 0));var d,f,g,m,b,w,C=Xse(n),T=0;if(!C||this==xDt&&hJt(C))for(d=rx(n),f=i?new this(d):xDt(d);d>T;T++)w=u?s(n[T],T):n[T],kL(f,T,w);else for(b=(m=fQ(n,C)).next,f=i?new this:[];!(g=Yl(b,m)).done;T++)w=u?NUn(m,s,[g.value,T],!0):g.value,kL(f,T,w);return f.length=T,f},fJt=tg("iterator"),gJt=!1;try{var UUn=0,CDt={next:function(){return{done:!!UUn++}},return:function(){gJt=!0}};CDt[fJt]=function(){return this},Array.from(CDt,function(){throw 2})}catch{}var pJt=function(t,n){if(!n&&!gJt)return!1;var i=!1;try{var o={};o[fJt]=function(){return{next:function(){return{done:i=!0}}}},t(o)}catch{}return i},zUn=!pJt(function(t){Array.from(t)});Ho({target:"Array",stat:!0,forced:zUn},{from:vH});var AJt=jc.Array.from,mu=AJt,KUn=tg("match"),VUn=Fi.TypeError,UYe=function(t){if(function(n){var i;return g1(n)&&((i=n[KUn])!==void 0?!!i:L9(n)=="RegExp")}(t))throw VUn("The method doesn't accept regular expressions");return t},WUn=tg("match"),zYe=function(t){var n=/./;try{"/./"[t](n)}catch{try{return n[WUn]=!1,"/./"[t](n)}catch{}}return!1};G9.f;var SDt=Ta("".startsWith),XUn=Ta("".slice),GUn=Math.min,YUn=zYe("startsWith");Ho({target:"String",proto:!0,forced:!YUn},{startsWith:function(t){var n=Wu(RL(this));UYe(t);var i=EYe(GUn(arguments.length>1?arguments[1]:void 0,n.length)),o=Wu(t);return SDt?SDt(n,o,i):XUn(n,i,i+o.length)===o}});var qUn=Ig("String").startsWith,ije=String.prototype,vX=function(t){var n=t.startsWith;return typeof t=="string"||t===ije||of(ije,t)&&n===ije.startsWith?qUn:n},ev=Jc(function(t,n){t.exports=function(){var i=navigator.userAgent,o=navigator.platform,s=/gecko\/\d/i.test(i),u=/MSIE \d/.test(i),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(i),f=/Edge\/(\d+)/.exec(i),g=u||d||f,m=g&&(u?document.documentMode||6:+(f||d)[1]),b=!f&&/WebKit\//.test(i),w=b&&/Qt\/\d+\.\d+/.test(i),C=!f&&/Chrome\//.test(i),T=/Opera\//.test(i),k=/Apple Computer/.test(navigator.vendor),$=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(i),O=/PhantomJS/.test(i),B=!f&&/AppleWebKit/.test(i)&&/Mobile\/\w+/.test(i),P=/Android/.test(i),N=B||P||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(i),L=B||/Mac/.test(o),R=/\bCrOS\b/.test(i),H=/win/i.test(o),Q=T&&i.match(/Version\/(\d*\.\d*)/);Q&&(Q=Number(Q[1])),Q&&Q>=15&&(T=!1,b=!0);var q=L&&(w||T&&(Q==null||Q<12.11)),X=s||g&&m>=9;function re(_){return new RegExp("(^|\\s)"+_+"(?:$|\\s)\\s*")}var J,V=function(_,F){var oe=_.className,ee=re(F).exec(oe);if(ee){var de=oe.slice(ee.index+ee[0].length);_.className=oe.slice(0,ee.index)+(de?ee[1]+de:"")}};function ue(_){for(var F=_.childNodes.length;F>0;--F)_.removeChild(_.firstChild);return _}function Y(_,F){return ue(_).appendChild(F)}function le(_,F,oe,ee){var de=document.createElement(_);if(oe&&(de.className=oe),ee&&(de.style.cssText=ee),typeof F=="string")de.appendChild(document.createTextNode(F));else if(F)for(var Ee=0;Ee=F)return Ue+(F-Ee);Ue+=qe-Ee,Ue+=oe-Ue%oe,Ee=qe+1}}B?Be=function(_){_.selectionStart=0,_.selectionEnd=_.value.length}:g&&(Be=function(_){try{_.select()}catch{}});var Ve=function(){this.id=null,this.f=null,this.time=0,this.handler=we(this.onTimeout,this)};function ze(_,F){for(var oe=0;oe<_.length;++oe)if(_[oe]==F)return oe;return-1}Ve.prototype.onTimeout=function(_){_.id=0,_.time<=+new Date?_.f():setTimeout(_.handler,_.time-+new Date)},Ve.prototype.set=function(_,F){this.f=F;var oe=+new Date+_;(!this.id||oe=F)return ee+Math.min(Ue,F-de);if(de+=Ee-ee,ee=Ee+1,(de+=oe-de%oe)>=F)return ee}}var De=[""];function it(_){for(;De.length<=_;)De.push(je(De)+" ");return De[_]}function je(_){return _[_.length-1]}function _t(_,F){for(var oe=[],ee=0;ee<_.length;ee++)oe[ee]=F(_[ee],ee);return oe}function Fe(_,F,oe){for(var ee=0,de=oe(F);ee<_.length&&oe(_[ee])<=de;)ee++;_.splice(ee,0,F)}function vt(){}function st(_,F){var oe;return Object.create?oe=Object.create(_):(vt.prototype=_,oe=new vt),F&&Ce(F,oe),oe}var Ot=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Ht(_){return/\w/.test(_)||_>"€"&&(_.toUpperCase()!=_.toLowerCase()||Ot.test(_))}function It(_,F){return F?!!(F.source.indexOf("\\w")>-1&&Ht(_))||F.test(_):Ht(_)}function Lt(_){for(var F in _)if(_.hasOwnProperty(F)&&_[F])return!1;return!0}var Vt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ct(_){return _.charCodeAt(0)>=768&&Vt.test(_)}function kt(_,F,oe){for(;(oe<0?F>0:F<_.length)&&Ct(_.charAt(F));)F+=oe;return F}function wt(_,F,oe){for(var ee=F>oe?-1:1;;){if(F==oe)return F;var de=(F+oe)/2,Ee=ee<0?Math.ceil(de):Math.floor(de);if(Ee==F)return _(Ee)?F:oe;_(Ee)?oe=Ee:F=Ee+ee}}function fn(_,F,oe,ee){if(!_)return ee(F,oe,"ltr",0);for(var de=!1,Ee=0;Ee<_.length;++Ee){var Ue=_[Ee];(Ue.fromF||F==oe&&Ue.to==F)&&(ee(Math.max(Ue.from,F),Math.min(Ue.to,oe),Ue.level==1?"rtl":"ltr",Ee),de=!0)}de||ee(F,oe,"ltr")}var vn=null;function or(_,F,oe){var ee;vn=null;for(var de=0;de<_.length;++de){var Ee=_[de];if(Ee.fromF)return de;Ee.to==F&&(Ee.from!=Ee.to&&oe=="before"?ee=de:vn=de),Ee.from==F&&(Ee.from!=Ee.to&&oe!="before"?ee=de:vn=de)}return ee??vn}var pn=function(){var _="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",F="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function oe(pt){return pt<=247?_.charAt(pt):1424<=pt&&pt<=1524?"R":1536<=pt&&pt<=1785?F.charAt(pt-1536):1774<=pt&&pt<=2220?"r":8192<=pt&&pt<=8203?"w":pt==8204?"b":"L"}var ee=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,de=/[stwN]/,Ee=/[LRr]/,Ue=/[Lb1n]/,qe=/[1n]/;function ct(pt,ln,nn){this.level=pt,this.from=ln,this.to=nn}return function(pt,ln){var nn=ln=="ltr"?"L":"R";if(pt.length==0||ln=="ltr"&&!ee.test(pt))return!1;for(var Un=pt.length,rr=[],Br=0;Br-1&&(ee[F]=de.slice(0,Ee).concat(de.slice(Ee+1)))}}}function _n(_,F){var oe=$r(_,F);if(oe.length)for(var ee=Array.prototype.slice.call(arguments,2),de=0;de0}function En(_){_.prototype.on=function(F,oe){jn(this,F,oe)},_.prototype.off=function(F,oe){An(this,F,oe)}}function go(_){_.preventDefault?_.preventDefault():_.returnValue=!1}function pr(_){_.stopPropagation?_.stopPropagation():_.cancelBubble=!0}function po(_){return _.defaultPrevented!=null?_.defaultPrevented:_.returnValue==0}function aa(_){go(_),pr(_)}function Ti(_){return _.target||_.srcElement}function Ji(_){var F=_.which;return F==null&&(1&_.button?F=1:2&_.button?F=3:4&_.button&&(F=2)),L&&_.ctrlKey&&F==1&&(F=3),F}var qo,da,Ba=function(){if(g&&m<9)return!1;var _=le("div");return"draggable"in _||"dragDrop"in _}();function Pa(_){if(qo==null){var F=le("span","​");Y(_,le("span",[F,document.createTextNode("x")])),_.firstChild.offsetHeight!=0&&(qo=F.offsetWidth<=1&&F.offsetHeight>2&&!(g&&m<8))}var oe=qo?le("span","​"):le("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return oe.setAttribute("cm-text",""),oe}function ls(_){if(da!=null)return da;var F=Y(_,document.createTextNode("AخA")),oe=J(F,0,1).getBoundingClientRect(),ee=J(F,1,2).getBoundingClientRect();return ue(_),!(!oe||oe.left==oe.right)&&(da=ee.right-oe.right<3)}var Vn,Qo=` + +b`.split(/\n/).length!=3?function(_){for(var F=0,oe=[],ee=_.length;F<=ee;){var de=_.indexOf(` +`,F);de==-1&&(de=_.length);var Ee=_.slice(F,_.charAt(de-1)=="\r"?de-1:de),Ue=Ee.indexOf("\r");Ue!=-1?(oe.push(Ee.slice(0,Ue)),F+=Ue+1):(oe.push(Ee),F=de+1)}return oe}:function(_){return _.split(/\r\n?|\n/)},Ii=window.getSelection?function(_){try{return _.selectionStart!=_.selectionEnd}catch{return!1}}:function(_){var F;try{F=_.ownerDocument.selection.createRange()}catch{}return!(!F||F.parentElement()!=_)&&F.compareEndPoints("StartToEnd",F)!=0},za="oncopy"in(Vn=le("div"))||(Vn.setAttribute("oncopy","return;"),typeof Vn.oncopy=="function"),Qi=null;function Fa(_){if(Qi!=null)return Qi;var F=Y(_,le("span","x")),oe=F.getBoundingClientRect(),ee=J(F,0,1).getBoundingClientRect();return Qi=Math.abs(oe.left-ee.left)>1}var Oc={},Gs={};function ql(_,F){arguments.length>2&&(F.dependencies=Array.prototype.slice.call(arguments,2)),Oc[_]=F}function Ec(_,F){Gs[_]=F}function Zs(_){if(typeof _=="string"&&Gs.hasOwnProperty(_))_=Gs[_];else if(_&&typeof _.name=="string"&&Gs.hasOwnProperty(_.name)){var F=Gs[_.name];typeof F=="string"&&(F={name:F}),(_=st(F,_)).name=F.name}else{if(typeof _=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(_))return Zs("application/xml");if(typeof _=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(_))return Zs("application/json")}return typeof _=="string"?{name:_}:_||{name:"null"}}function is(_,F){F=Zs(F);var oe=Oc[F.name];if(!oe)return is(_,"text/plain");var ee=oe(_,F);if(Qs.hasOwnProperty(F.name)){var de=Qs[F.name];for(var Ee in de)de.hasOwnProperty(Ee)&&(ee.hasOwnProperty(Ee)&&(ee["_"+Ee]=ee[Ee]),ee[Ee]=de[Ee])}if(ee.name=F.name,F.helperType&&(ee.helperType=F.helperType),F.modeProps)for(var Ue in F.modeProps)ee[Ue]=F.modeProps[Ue];return ee}var Qs={};function _l(_,F){Ce(F,Qs.hasOwnProperty(_)?Qs[_]:Qs[_]={})}function hs(_,F){if(F===!0)return F;if(_.copyState)return _.copyState(F);var oe={};for(var ee in F){var de=F[ee];de instanceof Array&&(de=de.concat([])),oe[ee]=de}return oe}function uc(_,F){for(var oe;_.innerMode&&(oe=_.innerMode(F))&&oe.mode!=_;)F=oe.state,_=oe.mode;return oe||{mode:_,state:F}}function cs(_,F,oe){return!_.startState||_.startState(F,oe)}var Bs=function(_,F,oe){this.pos=this.start=0,this.string=_,this.tabSize=F||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=oe};function Ei(_,F){if((F-=_.first)<0||F>=_.size)throw new Error("There is no line "+(F+_.first)+" in the document.");for(var oe=_;!oe.lines;)for(var ee=0;;++ee){var de=oe.children[ee],Ee=de.chunkSize();if(F=_.first&&F<_.first+_.size}function Ps(_,F){return String(_.lineNumberFormatter(F+_.firstLineNumber))}function Sr(_,F,oe){if(oe===void 0&&(oe=null),!(this instanceof Sr))return new Sr(_,F,oe);this.line=_,this.ch=F,this.sticky=oe}function zr(_,F){return _.line-F.line||_.ch-F.ch}function Ha(_,F){return _.sticky==F.sticky&&zr(_,F)==0}function bn(_){return Sr(_.line,_.ch)}function lh(_,F){return zr(_,F)<0?F:_}function Nn(_,F){return zr(_,F)<0?_:F}function Cl(_,F){return Math.max(_.first,Math.min(F,_.first+_.size-1))}function _a(_,F){if(F.line<_.first)return Sr(_.first,0);var oe=_.first+_.size-1;return F.line>oe?Sr(oe,Ei(_,oe).text.length):zh(F,Ei(_,F.line).text.length)}function zh(_,F){var oe=_.ch;return oe==null||oe>F?Sr(_.line,F):oe<0?Sr(_.line,0):_}function lr(_,F){for(var oe=[],ee=0;ee=this.string.length},Bs.prototype.sol=function(){return this.pos==this.lineStart},Bs.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Bs.prototype.next=function(){if(this.posF},Bs.prototype.eatSpace=function(){for(var _=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>_},Bs.prototype.skipToEnd=function(){this.pos=this.string.length},Bs.prototype.skipTo=function(_){var F=this.string.indexOf(_,this.pos);if(F>-1)return this.pos=F,!0},Bs.prototype.backUp=function(_){this.pos-=_},Bs.prototype.column=function(){return this.lastColumnPos0?null:(ee&&F!==!1&&(this.pos+=ee[0].length),ee)}var de=function(Ee){return oe?Ee.toLowerCase():Ee};if(de(this.string.substr(this.pos,_.length))==de(_))return F!==!1&&(this.pos+=_.length),!0},Bs.prototype.current=function(){return this.string.slice(this.start,this.pos)},Bs.prototype.hideFirstChars=function(_,F){this.lineStart+=_;try{return F()}finally{this.lineStart-=_}},Bs.prototype.lookAhead=function(_){var F=this.lineOracle;return F&&F.lookAhead(_)},Bs.prototype.baseToken=function(){var _=this.lineOracle;return _&&_.baseToken(this.pos)};var ri=function(_,F){this.state=_,this.lookAhead=F},ti=function(_,F,oe,ee){this.state=F,this.doc=_,this.line=oe,this.maxLookAhead=ee||0,this.baseTokens=null,this.baseTokenPos=1};function qr(_,F,oe,ee){var de=[_.state.modeGen],Ee={};Kh(_,F.text,_.doc.mode,oe,function(pt,ln){return de.push(pt,ln)},Ee,ee);for(var Ue=oe.state,qe=function(pt){oe.baseTokens=de;var ln=_.state.overlays[pt],nn=1,Un=0;oe.state=!0,Kh(_,F.text,ln.mode,oe,function(rr,Br){for(var ci=nn;Unrr&&de.splice(nn,1,rr,de[nn+1],Li),nn+=2,Un=Math.min(rr,Li)}if(Br)if(ln.opaque)de.splice(ci,nn-ci,rr,"overlay "+Br),nn=ci+2;else for(;ci_.options.maxHighlightLength&&hs(_.doc.mode,ee.state),Ee=qr(_,F,ee);de&&(ee.state=de),F.stateAfter=ee.save(!de),F.styles=Ee.styles,Ee.classes?F.styleClasses=Ee.classes:F.styleClasses&&(F.styleClasses=null),oe===_.doc.highlightFrontier&&(_.doc.modeFrontier=Math.max(_.doc.modeFrontier,++_.doc.highlightFrontier))}return F.styles}function bo(_,F,oe){var ee=_.doc,de=_.display;if(!ee.mode.startState)return new ti(ee,!0,F);var Ee=dc(_,F,oe),Ue=Ee>ee.first&&Ei(ee,Ee-1).stateAfter,qe=Ue?ti.fromSaved(ee,Ue,Ee):new ti(ee,cs(ee.mode),Ee);return ee.iter(Ee,F,function(ct){jo(_,ct.text,qe);var pt=qe.line;ct.stateAfter=pt==F-1||pt%5==0||pt>=de.viewFrom&&ptF.start)return Ee}throw new Error("Mode "+_.name+" failed to advance stream.")}ti.prototype.lookAhead=function(_){var F=this.doc.getLine(this.line+_);return F!=null&&_>this.maxLookAhead&&(this.maxLookAhead=_),F},ti.prototype.baseToken=function(_){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=_;)this.baseTokenPos+=2;var F=this.baseTokens[this.baseTokenPos+1];return{type:F&&F.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-_}},ti.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ti.fromSaved=function(_,F,oe){return F instanceof ri?new ti(_,hs(_.mode,F.state),oe,F.lookAhead):new ti(_,hs(_.mode,F),oe)},ti.prototype.save=function(_){var F=_!==!1?hs(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ri(F,this.maxLookAhead):F};var Ul=function(_,F,oe){this.start=_.start,this.end=_.pos,this.string=_.current(),this.type=F||null,this.state=oe};function Gu(_,F,oe,ee){var de,Ee,Ue=_.doc,qe=Ue.mode,ct=Ei(Ue,(F=_a(Ue,F)).line),pt=bo(_,F.line,oe),ln=new Bs(ct.text,_.options.tabSize,pt);for(ee&&(Ee=[]);(ee||ln.pos_.options.maxHighlightLength?(qe=!1,Ue&&jo(_,F,ee,nn.pos),nn.pos=F.length,ct=null):ct=Mc(Ca(oe,nn,ee.state,Un),Ee),Un){var rr=Un[0].name;rr&&(ct="m-"+(ct?rr+" "+ct:rr))}if(!qe||ln!=ct){for(;ptUe;--qe){if(qe<=Ee.first)return Ee.first;var ct=Ei(Ee,qe-1),pt=ct.stateAfter;if(pt&&(!oe||qe+(pt instanceof ri?pt.lookAhead:0)<=Ee.modeFrontier))return qe;var ln=Qe(ct.text,null,_.options.tabSize);(de==null||ee>ln)&&(de=qe-1,ee=ln)}return de}function e1(_,F){if(_.modeFrontier=Math.min(_.modeFrontier,F),!(_.highlightFrontieroe;ee--){var de=Ei(_,ee).stateAfter;if(de&&(!(de instanceof ri)||ee+de.lookAhead=F:Ee.to>F);(ee||(ee=[])).push(new af(Ue,Ee.from,qe?null:Ee.to))}}return ee}function ph(_,F,oe){var ee;if(_)for(var de=0;de<_.length;++de){var Ee=_[de],Ue=Ee.marker;if(Ee.to==null||(Ue.inclusiveRight?Ee.to>=F:Ee.to>F)||Ee.from==F&&Ue.type=="bookmark"&&(!oe||Ee.marker.insertLeft)){var qe=Ee.from==null||(Ue.inclusiveLeft?Ee.from<=F:Ee.from0&&qe)for(var Ao=0;Ao0)){var ln=[ct,1],nn=zr(pt.from,qe.from),Un=zr(pt.to,qe.to);(nn<0||!Ue.inclusiveLeft&&!nn)&&ln.push({from:pt.from,to:qe.from}),(Un>0||!Ue.inclusiveRight&&!Un)&&ln.push({from:qe.to,to:pt.to}),de.splice.apply(de,ln),ct+=ln.length-3}}return de}function kn(_){var F=_.markedSpans;if(F){for(var oe=0;oeF)&&(!oe||ec(oe,Ee.marker)<0)&&(oe=Ee.marker)}return oe}function Oh(_,F,oe,ee,de){var Ee=Ei(_,F),Ue=xc&&Ee.markedSpans;if(Ue)for(var qe=0;qe=0&&nn<=0||ln<=0&&nn>=0)&&(ln<=0&&(ct.marker.inclusiveRight&&de.inclusiveLeft?zr(pt.to,oe)>=0:zr(pt.to,oe)>0)||ln>=0&&(ct.marker.inclusiveRight&&de.inclusiveLeft?zr(pt.from,ee)<=0:zr(pt.from,ee)<0)))return!0}}}function lp(_){for(var F;F=_f(_);)_=F.find(-1,!0).line;return _}function Tn(_){for(var F;F=n1(_);)_=F.find(1,!0).line;return _}function mo(_){for(var F,oe;F=n1(_);)_=F.find(1,!0).line,(oe||(oe=[])).push(_);return oe}function Zo(_,F){var oe=Ei(_,F),ee=lp(oe);return oe==ee?F:pl(ee)}function Kc(_,F){if(F>_.lastLine())return F;var oe,ee=Ei(_,F);if(!Lu(_,ee))return F;for(;oe=n1(ee);)ee=oe.find(1,!0).line;return pl(ee)+1}function Lu(_,F){var oe=xc&&F.markedSpans;if(oe){for(var ee=void 0,de=0;deF.maxLineLength&&(F.maxLineLength=de,F.maxLine=ee)})}var $f=function(_,F,oe){this.text=_,Jo(this,F),this.height=oe?oe(this):1};function V6(_,F,oe,ee){_.text=F,_.stateAfter&&(_.stateAfter=null),_.styles&&(_.styles=null),_.order!=null&&(_.order=null),kn(_),Jo(_,oe);var de=ee?ee(_):1;de!=_.height&&sh(_,de)}function Z9(_){_.parent=null,kn(_)}$f.prototype.lineNo=function(){return pl(this)},En($f);var X7={},tI={};function ek(_,F){if(!_||/^\s*$/.test(_))return null;var oe=F.addModeClass?tI:X7;return oe[_]||(oe[_]=_.replace(/\S+/g,"cm-$&"))}function sx(_,F){var oe=te("span",null,null,b?"padding-right: .1px":null),ee={pre:te("pre",[oe],"CodeMirror-line"),content:oe,col:0,pos:0,cm:_,trailingSpace:!1,splitSpaces:_.getOption("lineWrapping")};F.measure={};for(var de=0;de<=(F.rest?F.rest.length:0);de++){var Ee=de?F.rest[de-1]:F.line,Ue=void 0;ee.pos=0,ee.addToken=Z3,ls(_.display.measure)&&(Ue=Mn(Ee,_.doc.direction))&&(ee.addToken=W6(ee.addToken,Ue)),ee.map=[],rI(Ee,ee,oo(_,Ee,F!=_.display.externalMeasured&&pl(Ee))),Ee.styleClasses&&(Ee.styleClasses.bgClass&&(ee.bgClass=ke(Ee.styleClasses.bgClass,ee.bgClass||"")),Ee.styleClasses.textClass&&(ee.textClass=ke(Ee.styleClasses.textClass,ee.textClass||""))),ee.map.length==0&&ee.map.push(0,0,ee.content.appendChild(Pa(_.display.measure))),de==0?(F.measure.map=ee.map,F.measure.cache={}):((F.measure.maps||(F.measure.maps=[])).push(ee.map),(F.measure.caches||(F.measure.caches=[])).push({}))}if(b){var qe=ee.content.lastChild;(/\bcm-tab\b/.test(qe.className)||qe.querySelector&&qe.querySelector(".cm-tab"))&&(ee.content.className="cm-tab-wrap-hack")}return _n(_,"renderLine",_,F.line,ee.pre),ee.pre.className&&(ee.textClass=ke(ee.pre.className,ee.textClass||"")),ee}function tk(_){var F=le("span","•","cm-invalidchar");return F.title="\\u"+_.charCodeAt(0).toString(16),F.setAttribute("aria-label",F.title),F}function Z3(_,F,oe,ee,de,Ee,Ue){if(F){var qe,ct=_.splitSpaces?nI(F,_.trailingSpace):F,pt=_.cm.state.specialChars,ln=!1;if(pt.test(F)){qe=document.createDocumentFragment();for(var nn=0;;){pt.lastIndex=nn;var Un=pt.exec(F),rr=Un?Un.index-nn:F.length-nn;if(rr){var Br=document.createTextNode(ct.slice(nn,nn+rr));g&&m<9?qe.appendChild(le("span",[Br])):qe.appendChild(Br),_.map.push(_.pos,_.pos+rr,Br),_.col+=rr,_.pos+=rr}if(!Un)break;nn+=rr+1;var ci=void 0;if(Un[0]==" "){var Li=_.cm.options.tabSize,Pr=Li-_.col%Li;(ci=qe.appendChild(le("span",it(Pr),"cm-tab"))).setAttribute("role","presentation"),ci.setAttribute("cm-text"," "),_.col+=Pr}else Un[0]=="\r"||Un[0]==` +`?((ci=qe.appendChild(le("span",Un[0]=="\r"?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",Un[0]),_.col+=1):((ci=_.cm.options.specialCharPlaceholder(Un[0])).setAttribute("cm-text",Un[0]),g&&m<9?qe.appendChild(le("span",[ci])):qe.appendChild(ci),_.col+=1);_.map.push(_.pos,_.pos+1,ci),_.pos++}}else _.col+=F.length,qe=document.createTextNode(ct),_.map.push(_.pos,_.pos+F.length,qe),g&&m<9&&(ln=!0),_.pos+=F.length;if(_.trailingSpace=ct.charCodeAt(F.length-1)==32,oe||ee||de||ln||Ee||Ue){var ra=oe||"";ee&&(ra+=ee),de&&(ra+=de);var Ao=le("span",[qe],ra,Ee);if(Ue)for(var sa in Ue)Ue.hasOwnProperty(sa)&&sa!="style"&&sa!="class"&&Ao.setAttribute(sa,Ue[sa]);return _.content.appendChild(Ao)}_.content.appendChild(qe)}}function nI(_,F){if(_.length>1&&!/ /.test(_))return _;for(var oe=F,ee="",de=0;de<_.length;de++){var Ee=_.charAt(de);Ee!=" "||!oe||de!=_.length-1&&_.charCodeAt(de+1)!=32||(Ee=" "),ee+=Ee,oe=Ee==" "}return ee}function W6(_,F){return function(oe,ee,de,Ee,Ue,qe,ct){de=de?de+" cm-force-border":"cm-force-border";for(var pt=oe.pos,ln=pt+ee.length;;){for(var nn=void 0,Un=0;Unpt&&nn.from<=pt);Un++);if(nn.to>=ln)return _(oe,ee,de,Ee,Ue,qe,ct);_(oe,ee.slice(0,nn.to-pt),de,Ee,null,qe,ct),Ee=null,ee=ee.slice(nn.to-pt),pt=nn.to}}}function nk(_,F,oe,ee){var de=!ee&&oe.widgetNode;de&&_.map.push(_.pos,_.pos+F,de),!ee&&_.cm.display.input.needsContentAttribute&&(de||(de=_.content.appendChild(document.createElement("span"))),de.setAttribute("cm-marker",oe.id)),de&&(_.cm.display.input.setUneditable(de),_.content.appendChild(de)),_.pos+=F,_.trailingSpace=!1}function rI(_,F,oe){var ee=_.markedSpans,de=_.text,Ee=0;if(ee)for(var Ue,qe,ct,pt,ln,nn,Un,rr=de.length,Br=0,ci=1,Li="",Pr=0;;){if(Pr==Br){ct=pt=ln=qe="",Un=null,nn=null,Pr=1/0;for(var ra=[],Ao=void 0,sa=0;saBr||Fo.collapsed&&Da.to==Br&&Da.from==Br)){if(Da.to!=null&&Da.to!=Br&&Pr>Da.to&&(Pr=Da.to,pt=""),Fo.className&&(ct+=" "+Fo.className),Fo.css&&(qe=(qe?qe+";":"")+Fo.css),Fo.startStyle&&Da.from==Br&&(ln+=" "+Fo.startStyle),Fo.endStyle&&Da.to==Pr&&(Ao||(Ao=[])).push(Fo.endStyle,Da.to),Fo.title&&((Un||(Un={})).title=Fo.title),Fo.attributes)for(var xu in Fo.attributes)(Un||(Un={}))[xu]=Fo.attributes[xu];Fo.collapsed&&(!nn||ec(nn.marker,Fo)<0)&&(nn=Da)}else Da.from>Br&&Pr>Da.from&&(Pr=Da.from)}if(Ao)for(var Cu=0;Cu=rr)break;for(var Yd=Math.min(rr,Pr);;){if(Li){var b1=Br+Li.length;if(!nn){var N1=b1>Yd?Li.slice(0,Yd-Br):Li;F.addToken(F,N1,Ue?Ue+ct:ct,ln,Br+N1.length==Pr?pt:"",qe,Un)}if(b1>=Yd){Li=Li.slice(Yd-Br),Br=Yd;break}Br=b1,ln=""}Li=de.slice(Ee,Ee=oe[ci++]),Ue=ek(oe[ci++],F.cm.options)}}else for(var Wh=1;Wh2&&Ee.push((ct.bottom+pt.top)/2-oe.top)}}Ee.push(oe.bottom-oe.top)}}function L1(_,F,oe){if(_.line==F)return{map:_.measure.map,cache:_.measure.cache};for(var ee=0;ee<_.rest.length;ee++)if(_.rest[ee]==F)return{map:_.measure.maps[ee],cache:_.measure.caches[ee]};for(var de=0;de<_.rest.length;de++)if(pl(_.rest[de])>oe)return{map:_.measure.maps[de],cache:_.measure.caches[de],before:!0}}function uv(_,F){var oe=pl(F=lp(F)),ee=_.display.externalMeasured=new rk(_.doc,F,oe);ee.lineN=oe;var de=ee.built=sx(_,ee);return ee.text=de.pre,Y(_.display.lineMeasure,de.pre),ee}function q7(_,F,oe,ee){return rg(_,Gp(_,F),oe,ee)}function cp(_,F){if(F>=_.display.viewFrom&&F<_.display.viewTo)return _.display.view[Zy(_,F)];var oe=_.display.externalMeasured;return oe&&F>=oe.lineN&&FF)&&(de=(Ee=ct-qe)-1,F>=ct&&(Ue="right")),de!=null){if(ee=_[pt+2],qe==ct&&oe==(ee.insertLeft?"left":"right")&&(Ue=oe),oe=="left"&&de==0)for(;pt&&_[pt-2]==_[pt-3]&&_[pt-1].insertLeft;)ee=_[2+(pt-=3)],Ue="left";if(oe=="right"&&de==ct-qe)for(;pt<_.length-3&&_[pt+3]==_[pt+4]&&!_[pt+5].insertLeft;)ee=_[(pt+=3)+2],Ue="right";break}return{node:ee,start:de,end:Ee,collapse:Ue,coverStart:qe,coverEnd:ct}}function cb(_,F){var oe=R0;if(F=="left")for(var ee=0;ee<_.length&&(oe=_[ee]).left==oe.right;ee++);else for(var de=_.length-1;de>=0&&(oe=_[de]).left==oe.right;de--);return oe}function Wy(_,F,oe,ee){var de,Ee=lx(F.map,oe,ee),Ue=Ee.node,qe=Ee.start,ct=Ee.end,pt=Ee.collapse;if(Ue.nodeType==3){for(var ln=0;ln<4;ln++){for(;qe&&Ct(F.line.text.charAt(Ee.coverStart+qe));)--qe;for(;Ee.coverStart+ct0&&(pt=ee="right"),de=_.options.lineWrapping&&(nn=Ue.getClientRects()).length>1?nn[ee=="right"?nn.length-1:0]:Ue.getBoundingClientRect()}if(g&&m<9&&!qe&&(!de||!de.left&&!de.right)){var Un=Ue.parentNode.getClientRects()[0];de=Un?{left:Un.left,right:Un.left+Yy(_.display),top:Un.top,bottom:Un.bottom}:R0}for(var rr=de.top-F.rect.top,Br=de.bottom-F.rect.top,ci=(rr+Br)/2,Li=F.view.measure.heights,Pr=0;Pr=ee.text.length?(ct=ee.text.length,pt="before"):ct<=0&&(ct=0,pt="after"),!qe)return Ue(pt=="before"?ct-1:ct,pt=="before");function ln(Br,ci,Li){return Ue(Li?Br-1:Br,qe[ci].level==1!=Li)}var nn=or(qe,ct,pt),Un=vn,rr=ln(ct,nn,pt=="before");return Un!=null&&(rr.other=ln(ct,Un,pt!="before")),rr}function J7(_,F){var oe=0;F=_a(_.doc,F),_.options.lineWrapping||(oe=Yy(_.display)*F.ch);var ee=Ei(_.doc,F.line),de=Mh(ee)+xA(_.display);return{left:oe,right:oe,top:de,bottom:de+ee.height}}function q6(_,F,oe,ee,de){var Ee=Sr(_,F,oe);return Ee.xRel=de,ee&&(Ee.outside=ee),Ee}function A2(_,F,oe){var ee=_.doc;if((oe+=_.display.viewOffset)<0)return q6(ee.first,0,null,-1,-1);var de=sd(ee,oe),Ee=ee.first+ee.size-1;if(de>Ee)return q6(ee.first+ee.size-1,Ei(ee,Ee).text.length,null,1,1);F<0&&(F=0);for(var Ue=Ei(ee,de);;){var qe=Z6(_,Ue,de,F,oe),ct=Mg(Ue,qe.ch+(qe.xRel>0||qe.outside>0?1:0));if(!ct)return qe;var pt=ct.find(1);if(pt.line==de)return pt;Ue=Ei(ee,de=pt.line)}}function r4(_,F,oe,ee){ee-=p2(F);var de=F.text.length,Ee=wt(function(Ue){return rg(_,oe,Ue-1).bottom<=ee},de,0);return{begin:Ee,end:de=wt(function(Ue){return rg(_,oe,Ue).top>ee},Ee,de)}}function Xy(_,F,oe,ee){return oe||(oe=Gp(_,F)),r4(_,F,oe,n4(_,F,rg(_,oe,ee),"line").top)}function J6(_,F,oe,ee){return!(_.bottom<=oe)&&(_.top>oe||(ee?_.left:_.right)>F)}function Z6(_,F,oe,ee,de){de-=Mh(F);var Ee=Gp(_,F),Ue=p2(F),qe=0,ct=F.text.length,pt=!0,ln=Mn(F,_.doc.direction);if(ln){var nn=(_.options.lineWrapping?uk:ck)(_,F,oe,Ee,ln,ee,de);qe=(pt=nn.level!=1)?nn.from:nn.to-1,ct=pt?nn.to:nn.from-1}var Un,rr,Br=null,ci=null,Li=wt(function(Da){var Fo=rg(_,Ee,Da);return Fo.top+=Ue,Fo.bottom+=Ue,!!J6(Fo,ee,de,!1)&&(Fo.top<=de&&Fo.left<=ee&&(Br=Da,ci=Fo),!0)},qe,ct),Pr=!1;if(ci){var ra=ee-ci.left=sa.bottom?1:0}return q6(oe,Li=kt(F.text,Li,1),rr,Pr,ee-Un)}function ck(_,F,oe,ee,de,Ee,Ue){var qe=wt(function(nn){var Un=de[nn],rr=Un.level!=1;return J6(Of(_,Sr(oe,rr?Un.to:Un.from,rr?"before":"after"),"line",F,ee),Ee,Ue,!0)},0,de.length-1),ct=de[qe];if(qe>0){var pt=ct.level!=1,ln=Of(_,Sr(oe,pt?ct.from:ct.to,pt?"after":"before"),"line",F,ee);J6(ln,Ee,Ue,!0)&&ln.top>Ue&&(ct=de[qe-1])}return ct}function uk(_,F,oe,ee,de,Ee,Ue){var qe=r4(_,F,ee,Ue),ct=qe.begin,pt=qe.end;/\s/.test(F.text.charAt(pt-1))&&pt--;for(var ln=null,nn=null,Un=0;Un=pt||rr.to<=ct)){var Br=rg(_,ee,rr.level!=1?Math.min(pt,rr.to)-1:Math.max(ct,rr.from)).right,ci=Brci)&&(ln=rr,nn=ci)}}return ln||(ln=de[de.length-1]),ln.frompt&&(ln={from:ln.from,to:pt,level:ln.level}),ln}function Gy(_){if(_.cachedTextHeight!=null)return _.cachedTextHeight;if(ld==null){ld=le("pre",null,"CodeMirror-line-like");for(var F=0;F<49;++F)ld.appendChild(document.createTextNode("x")),ld.appendChild(le("br"));ld.appendChild(document.createTextNode("x"))}Y(_.measure,ld);var oe=ld.offsetHeight/50;return oe>3&&(_.cachedTextHeight=oe),ue(_.measure),oe||1}function Yy(_){if(_.cachedCharWidth!=null)return _.cachedCharWidth;var F=le("span","xxxxxxxxxx"),oe=le("pre",[F],"CodeMirror-line-like");Y(_.measure,oe);var ee=F.getBoundingClientRect(),de=(ee.right-ee.left)/10;return de>2&&(_.cachedCharWidth=de),de||10}function dx(_){for(var F=_.display,oe={},ee={},de=F.gutters.clientLeft,Ee=F.gutters.firstChild,Ue=0;Ee;Ee=Ee.nextSibling,++Ue){var qe=_.display.gutterSpecs[Ue].className;oe[qe]=Ee.offsetLeft+Ee.clientLeft+de,ee[qe]=Ee.clientWidth}return{fixedPos:eS(F),gutterTotalWidth:F.gutters.offsetWidth,gutterLeft:oe,gutterWidth:ee,wrapperWidth:F.wrapper.clientWidth}}function eS(_){return _.scroller.getBoundingClientRect().left-_.sizer.getBoundingClientRect().left}function dk(_){var F=Gy(_.display),oe=_.options.lineWrapping,ee=oe&&Math.max(5,_.display.scroller.clientWidth/Yy(_.display)-3);return function(de){if(Lu(_.doc,de))return 0;var Ee=0;if(de.widgets)for(var Ue=0;Ue0&&(ct=Ei(_.doc,pt.line).text).length==pt.ch){var ln=Qe(ct,ct.length,_.options.tabSize)-ct.length;pt=Sr(pt.line,Math.max(0,Math.round((Ee-Gd(_.display).left)/Yy(_.display))-ln))}return pt}function Zy(_,F){if(F>=_.display.viewTo||(F-=_.display.viewFrom)<0)return null;for(var oe=_.display.view,ee=0;eeF)&&(de.updateLineNumbers=F),_.curOp.viewChanged=!0,F>=de.viewTo)xc&&Zo(_.doc,F)de.viewFrom?qp(_):(de.viewFrom+=ee,de.viewTo+=ee);else if(F<=de.viewFrom&&oe>=de.viewTo)qp(_);else if(F<=de.viewFrom){var Ee=hx(_,oe,oe+ee,1);Ee?(de.view=de.view.slice(Ee.index),de.viewFrom=Ee.lineN,de.viewTo+=ee):qp(_)}else if(oe>=de.viewTo){var Ue=hx(_,F,F,-1);Ue?(de.view=de.view.slice(0,Ue.index),de.viewTo=Ue.lineN):qp(_)}else{var qe=hx(_,F,F,-1),ct=hx(_,oe,oe+ee,1);qe&&ct?(de.view=de.view.slice(0,qe.index).concat(Ry(_,qe.lineN,ct.lineN)).concat(de.view.slice(ct.index)),de.viewTo+=ee):qp(_)}var pt=de.externalMeasured;pt&&(oe=de.lineN&&F=ee.viewTo)){var Ee=ee.view[Zy(_,F)];if(Ee.node!=null){var Ue=Ee.changes||(Ee.changes=[]);ze(Ue,oe)==-1&&Ue.push(oe)}}}function qp(_){_.display.viewFrom=_.display.viewTo=_.doc.first,_.display.view=[],_.display.viewOffset=0}function hx(_,F,oe,ee){var de,Ee=Zy(_,F),Ue=_.display.view;if(!xc||oe==_.doc.first+_.doc.size)return{index:Ee,lineN:oe};for(var qe=_.display.viewFrom,ct=0;ct0){if(Ee==Ue.length-1)return null;de=qe+Ue[Ee].size-F,Ee++}else de=qe-F;F+=de,oe+=de}for(;Zo(_.doc,oe)!=oe;){if(Ee==(ee<0?0:Ue.length-1))return null;oe+=ee*Ue[Ee-(ee<0?1:0)].size,Ee+=ee}return{index:Ee,lineN:oe}}function iI(_,F,oe){var ee=_.display;ee.view.length==0||F>=ee.viewTo||oe<=ee.viewFrom?(ee.view=Ry(_,F,oe),ee.viewFrom=F):(ee.viewFrom>F?ee.view=Ry(_,F,ee.viewFrom).concat(ee.view):ee.viewFromoe&&(ee.view=ee.view.slice(0,Zy(_,oe)))),ee.viewTo=oe}function Z7(_){for(var F=_.display.view,oe=0,ee=0;ee=_.display.viewTo||qe.to().line<_.display.viewFrom)){var ct=qe.empty();(ct||_.options.showCursorWhenSelecting)&&hk(_,qe.head,de),ct||fx(_,qe,Ee)}}return ee}function hk(_,F,oe){var ee=Of(_,F,"div",null,null,!_.options.singleCursorHeightPerLine),de=oe.appendChild(le("div"," ","CodeMirror-cursor"));if(de.style.left=ee.left+"px",de.style.top=ee.top+"px",de.style.height=Math.max(0,ee.bottom-ee.top)*_.options.cursorHeight+"px",ee.other){var Ee=oe.appendChild(le("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));Ee.style.display="",Ee.style.left=ee.other.left+"px",Ee.style.top=ee.other.top+"px",Ee.style.height=.85*(ee.other.bottom-ee.other.top)+"px"}}function ew(_,F){return _.top-F.top||_.left-F.left}function fx(_,F,oe){var ee=_.display,de=_.doc,Ee=document.createDocumentFragment(),Ue=Gd(_.display),qe=Ue.left,ct=Math.max(ee.sizerWidth,g2(_)-ee.sizer.offsetLeft)-Ue.right,pt=de.direction=="ltr";function ln(Ao,sa,Da,Fo){sa<0&&(sa=0),sa=Math.round(sa),Fo=Math.round(Fo),Ee.appendChild(le("div",null,"CodeMirror-selected","position: absolute; left: "+Ao+`px; + top: `+sa+"px; width: "+(Da??ct-Ao)+`px; + height: `+(Fo-sa)+"px"))}function nn(Ao,sa,Da){var Fo,xu,Cu=Ei(de,Ao),F1=Cu.text.length;function Yd(Wh,ag){return ux(_,Sr(Ao,Wh),"div",Cu,ag)}function b1(Wh,ag,Lg){var Hd=Xy(_,Cu,null,Wh),Ph=ag=="ltr"==(Lg=="after")?"left":"right";return Yd(Lg=="after"?Hd.begin:Hd.end-(/\s/.test(Cu.text.charAt(Hd.end-1))?2:1),Ph)[Ph]}var N1=Mn(Cu,de.direction);return fn(N1,sa||0,Da??F1,function(Wh,ag,Lg,Hd){var Ph=Lg=="ltr",cf=Yd(Wh,Ph?"left":"right"),Dg=Yd(ag-1,Ph?"right":"left"),ym=sa==null&&Wh==0,SA=Da==null&&ag==F1,sg=Hd==0,uf=!N1||Hd==N1.length-1;if(Dg.top-cf.top<=3){var ES=(pt?SA:ym)&&uf,Q0=(pt?ym:SA)&&sg?qe:(Ph?cf:Dg).left,bv=ES?ct:(Ph?Dg:cf).right;ln(Q0,cf.top,bv-Q0,cf.bottom)}else{var wm,qd,O2,vw;Ph?(wm=pt&&ym&&sg?qe:cf.left,qd=pt?ct:b1(Wh,Lg,"before"),O2=pt?qe:b1(ag,Lg,"after"),vw=pt&&SA&&uf?ct:Dg.right):(wm=pt?b1(Wh,Lg,"before"):qe,qd=!pt&&ym&&sg?ct:cf.right,O2=!pt&&SA&&uf?qe:Dg.left,vw=pt?b1(ag,Lg,"after"):ct),ln(wm,cf.top,qd-wm,cf.bottom),cf.bottom0?F.blinker=setInterval(function(){_.hasFocus()||ub(_),F.cursorDiv.style.visibility=(oe=!oe)?"":"hidden"},_.options.cursorBlinkRate):_.options.cursorBlinkRate<0&&(F.cursorDiv.style.visibility="hidden")}}function b2(_){_.state.focused||(_.display.input.focus(),gx(_))}function fk(_){_.state.delayingBlurEvent=!0,setTimeout(function(){_.state.delayingBlurEvent&&(_.state.delayingBlurEvent=!1,ub(_))},100)}function gx(_,F){_.state.delayingBlurEvent&&(_.state.delayingBlurEvent=!1),_.options.readOnly!="nocursor"&&(_.state.focused||(_n(_,"focus",_,F),_.state.focused=!0,Se(_.display.wrapper,"CodeMirror-focused"),_.curOp||_.display.selForContextMenu==_.doc.sel||(_.display.input.reset(),b&&setTimeout(function(){return _.display.input.reset(!0)},20)),_.display.input.receivedFocus()),v2(_))}function ub(_,F){_.state.delayingBlurEvent||(_.state.focused&&(_n(_,"blur",_,F),_.state.focused=!1,V(_.display.wrapper,"CodeMirror-focused")),clearInterval(_.display.blinker),setTimeout(function(){_.state.focused||(_.display.shift=!1)},150))}function o4(_){for(var F=_.display,oe=F.lineDiv.offsetTop,ee=0;ee.005||ln<-.005)&&(sh(de.line,Ue),a4(de.line),de.rest))for(var nn=0;nn_.display.sizerWidth){var Un=Math.ceil(qe/Yy(_.display));Un>_.display.maxLineLength&&(_.display.maxLineLength=Un,_.display.maxLine=de.line,_.display.maxLineChanged=!0)}}}}function a4(_){if(_.widgets)for(var F=0;F<_.widgets.length;++F){var oe=_.widgets[F],ee=oe.node.parentNode;ee&&(oe.height=ee.offsetHeight)}}function px(_,F,oe){var ee=oe&&oe.top!=null?Math.max(0,oe.top):_.scroller.scrollTop;ee=Math.floor(ee-xA(_));var de=oe&&oe.bottom!=null?oe.bottom:ee+_.wrapper.clientHeight,Ee=sd(F,ee),Ue=sd(F,de);if(oe&&oe.ensure){var qe=oe.ensure.from.line,ct=oe.ensure.to.line;qe=Ue&&(Ee=sd(F,Mh(Ei(F,ct))-_.wrapper.clientHeight),Ue=ct)}return{from:Ee,to:Math.max(Ue,Ee+1)}}function oI(_,F){if(!yr(_,"scrollCursorIntoView")){var oe=_.display,ee=oe.sizer.getBoundingClientRect(),de=null;if(F.top+ee.top<0?de=!0:F.bottom+ee.top>(window.innerHeight||document.documentElement.clientHeight)&&(de=!1),de!=null&&!O){var Ee=le("div","​",null,`position: absolute; + top: `+(F.top-oe.viewOffset-xA(_.display))+`px; + height: `+(F.bottom-F.top+pm(_)+oe.barHeight)+`px; + left: `+F.left+"px; width: "+Math.max(2,F.right-F.left)+"px;");_.display.lineSpace.appendChild(Ee),Ee.scrollIntoView(de),_.display.lineSpace.removeChild(Ee)}}}function aI(_,F,oe,ee){var de;ee==null&&(ee=0),_.options.lineWrapping||F!=oe||(oe=(F=F.ch?Sr(F.line,F.sticky=="before"?F.ch-1:F.ch,"after"):F).sticky=="before"?Sr(F.line,F.ch+1,"before"):F);for(var Ee=0;Ee<5;Ee++){var Ue=!1,qe=Of(_,F),ct=oe&&oe!=F?Of(_,oe):qe,pt=tw(_,de={left:Math.min(qe.left,ct.left),top:Math.min(qe.top,ct.top)-ee,right:Math.max(qe.left,ct.left),bottom:Math.max(qe.bottom,ct.bottom)+ee}),ln=_.doc.scrollTop,nn=_.doc.scrollLeft;if(pt.scrollTop!=null&&(l4(_,pt.scrollTop),Math.abs(_.doc.scrollTop-ln)>1&&(Ue=!0)),pt.scrollLeft!=null&&(rw(_,pt.scrollLeft),Math.abs(_.doc.scrollLeft-nn)>1&&(Ue=!0)),!Ue)break}return de}function sI(_,F){var oe=tw(_,F);oe.scrollTop!=null&&l4(_,oe.scrollTop),oe.scrollLeft!=null&&rw(_,oe.scrollLeft)}function tw(_,F){var oe=_.display,ee=Gy(_.display);F.top<0&&(F.top=0);var de=_.curOp&&_.curOp.scrollTop!=null?_.curOp.scrollTop:oe.scroller.scrollTop,Ee=G6(_),Ue={};F.bottom-F.top>Ee&&(F.bottom=F.top+Ee);var qe=_.doc.height+Vy(oe),ct=F.topqe-ee;if(F.topde+Ee){var ln=Math.min(F.top,(pt?qe:F.bottom)-Ee);ln!=de&&(Ue.scrollTop=ln)}var nn=_.options.fixedGutter?0:oe.gutters.offsetWidth,Un=_.curOp&&_.curOp.scrollLeft!=null?_.curOp.scrollLeft:oe.scroller.scrollLeft-nn,rr=g2(_)-oe.gutters.offsetWidth,Br=F.right-F.left>rr;return Br&&(F.right=F.left+rr),F.left<10?Ue.scrollLeft=0:F.leftrr+Un-3&&(Ue.scrollLeft=F.right+(Br?0:10)-rr),Ue}function tS(_,F){F!=null&&(nw(_),_.curOp.scrollTop=(_.curOp.scrollTop==null?_.doc.scrollTop:_.curOp.scrollTop)+F)}function s4(_){nw(_);var F=_.getCursor();_.curOp.scrollToPos={from:F,to:F,margin:_.options.cursorScrollMargin}}function Ax(_,F,oe){F==null&&oe==null||nw(_),F!=null&&(_.curOp.scrollLeft=F),oe!=null&&(_.curOp.scrollTop=oe)}function lI(_,F){nw(_),_.curOp.scrollToPos=F}function nw(_){var F=_.curOp.scrollToPos;F&&(_.curOp.scrollToPos=null,gk(_,J7(_,F.from),J7(_,F.to),F.margin))}function gk(_,F,oe,ee){var de=tw(_,{left:Math.min(F.left,oe.left),top:Math.min(F.top,oe.top)-ee,right:Math.max(F.right,oe.right),bottom:Math.max(F.bottom,oe.bottom)+ee});Ax(_,de.scrollLeft,de.scrollTop)}function l4(_,F){Math.abs(_.doc.scrollTop-F)<2||(s||rS(_,{top:F}),pk(_,F,!0),s&&rS(_),Am(_,100))}function pk(_,F,oe){F=Math.max(0,Math.min(_.display.scroller.scrollHeight-_.display.scroller.clientHeight,F)),(_.display.scroller.scrollTop!=F||oe)&&(_.doc.scrollTop=F,_.display.scrollbars.setScrollTop(F),_.display.scroller.scrollTop!=F&&(_.display.scroller.scrollTop=F))}function rw(_,F,oe,ee){F=Math.max(0,Math.min(F,_.display.scroller.scrollWidth-_.display.scroller.clientWidth)),(oe?F==_.doc.scrollLeft:Math.abs(_.doc.scrollLeft-F)<2)&&!ee||(_.doc.scrollLeft=F,iS(_),_.display.scroller.scrollLeft!=F&&(_.display.scroller.scrollLeft=F),_.display.scrollbars.setScrollLeft(F))}function mx(_){var F=_.display,oe=F.gutters.offsetWidth,ee=Math.round(_.doc.height+Vy(_.display));return{clientHeight:F.scroller.clientHeight,viewHeight:F.wrapper.clientHeight,scrollWidth:F.scroller.scrollWidth,clientWidth:F.scroller.clientWidth,viewWidth:F.wrapper.clientWidth,barLeft:_.options.fixedGutter?oe:0,docHeight:ee,scrollHeight:ee+pm(_)+F.barHeight,nativeBarWidth:F.nativeBarWidth,gutterWidth:oe}}var iw=function(_,F,oe){this.cm=oe;var ee=this.vert=le("div",[le("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),de=this.horiz=le("div",[le("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ee.tabIndex=de.tabIndex=-1,_(ee),_(de),jn(ee,"scroll",function(){ee.clientHeight&&F(ee.scrollTop,"vertical")}),jn(de,"scroll",function(){de.clientWidth&&F(de.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,g&&m<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};iw.prototype.update=function(_){var F=_.scrollWidth>_.clientWidth+1,oe=_.scrollHeight>_.clientHeight+1,ee=_.nativeBarWidth;if(oe){this.vert.style.display="block",this.vert.style.bottom=F?ee+"px":"0";var de=_.viewHeight-(F?ee:0);this.vert.firstChild.style.height=Math.max(0,_.scrollHeight-_.clientHeight+de)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(F){this.horiz.style.display="block",this.horiz.style.right=oe?ee+"px":"0",this.horiz.style.left=_.barLeft+"px";var Ee=_.viewWidth-_.barLeft-(oe?ee:0);this.horiz.firstChild.style.width=Math.max(0,_.scrollWidth-_.clientWidth+Ee)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&_.clientHeight>0&&(ee==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:oe?ee:0,bottom:F?ee:0}},iw.prototype.setScrollLeft=function(_){this.horiz.scrollLeft!=_&&(this.horiz.scrollLeft=_),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},iw.prototype.setScrollTop=function(_){this.vert.scrollTop!=_&&(this.vert.scrollTop=_),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},iw.prototype.zeroWidthHack=function(){var _=L&&!$?"12px":"18px";this.horiz.style.height=this.vert.style.width=_,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ve,this.disableVert=new Ve},iw.prototype.enableZeroWidthBar=function(_,F,oe){function ee(){var de=_.getBoundingClientRect();(oe=="vert"?document.elementFromPoint(de.right-1,(de.top+de.bottom)/2):document.elementFromPoint((de.right+de.left)/2,de.bottom-1))!=_?_.style.pointerEvents="none":F.set(1e3,ee)}_.style.pointerEvents="auto",F.set(1e3,ee)},iw.prototype.clear=function(){var _=this.horiz.parentNode;_.removeChild(this.horiz),_.removeChild(this.vert)};var c4=function(){};function db(_,F){F||(F=mx(_));var oe=_.display.barWidth,ee=_.display.barHeight;Ak(_,F);for(var de=0;de<4&&oe!=_.display.barWidth||ee!=_.display.barHeight;de++)oe!=_.display.barWidth&&_.options.lineWrapping&&o4(_),Ak(_,mx(_)),oe=_.display.barWidth,ee=_.display.barHeight}function Ak(_,F){var oe=_.display,ee=oe.scrollbars.update(F);oe.sizer.style.paddingRight=(oe.barWidth=ee.right)+"px",oe.sizer.style.paddingBottom=(oe.barHeight=ee.bottom)+"px",oe.heightForcer.style.borderBottom=ee.bottom+"px solid transparent",ee.right&&ee.bottom?(oe.scrollbarFiller.style.display="block",oe.scrollbarFiller.style.height=ee.bottom+"px",oe.scrollbarFiller.style.width=ee.right+"px"):oe.scrollbarFiller.style.display="",ee.bottom&&_.options.coverGutterNextToScrollbar&&_.options.fixedGutter?(oe.gutterFiller.style.display="block",oe.gutterFiller.style.height=ee.bottom+"px",oe.gutterFiller.style.width=F.gutterWidth+"px"):oe.gutterFiller.style.display=""}c4.prototype.update=function(){return{bottom:0,right:0}},c4.prototype.setScrollLeft=function(){},c4.prototype.setScrollTop=function(){},c4.prototype.clear=function(){};var mk={native:iw,null:c4};function ow(_){_.display.scrollbars&&(_.display.scrollbars.clear(),_.display.scrollbars.addClass&&V(_.display.wrapper,_.display.scrollbars.addClass)),_.display.scrollbars=new mk[_.options.scrollbarStyle](function(F){_.display.wrapper.insertBefore(F,_.display.scrollbarFiller),jn(F,"mousedown",function(){_.state.focused&&setTimeout(function(){return _.display.input.focus()},0)}),F.setAttribute("cm-not-content","true")},function(F,oe){oe=="horizontal"?rw(_,F):l4(_,F)},_),_.display.scrollbars.addClass&&Se(_.display.wrapper,_.display.scrollbars.addClass)}var cI=0;function aw(_){_.curOp={cm:_,viewChanged:!1,startHeight:_.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++cI},ik(_.curOp)}function y2(_){var F=_.curOp;F&&Qy(F,function(oe){for(var ee=0;ee=oe.viewTo)||oe.maxLineChanged&&F.options.lineWrapping,_.update=_.mustUpdate&&new bx(F,_.mustUpdate&&{top:_.scrollTop,ensure:_.scrollToPos},_.forceUpdate)}function tT(_){_.updatedDisplay=_.mustUpdate&&nS(_.cm,_.update)}function vx(_){var F=_.cm,oe=F.display;_.updatedDisplay&&o4(F),_.barMeasure=mx(F),oe.maxLineChanged&&!F.options.lineWrapping&&(_.adjustWidthTo=q7(F,oe.maxLine,oe.maxLine.text.length).left+3,F.display.sizerWidth=_.adjustWidthTo,_.barMeasure.scrollWidth=Math.max(oe.scroller.clientWidth,oe.sizer.offsetLeft+_.adjustWidthTo+pm(F)+F.display.barWidth),_.maxScrollLeft=Math.max(0,oe.sizer.offsetLeft+_.adjustWidthTo-g2(F))),(_.updatedDisplay||_.selectionChanged)&&(_.preparedSelection=oe.input.prepareSelection())}function hI(_){var F=_.cm;_.adjustWidthTo!=null&&(F.display.sizer.style.minWidth=_.adjustWidthTo+"px",_.maxScrollLeft=_.display.viewTo)){var oe=+new Date+_.options.workTime,ee=bo(_,F.highlightFrontier),de=[];F.iter(ee.line,Math.min(F.first+F.size,_.display.viewTo+500),function(Ee){if(ee.line>=_.display.viewFrom){var Ue=Ee.styles,qe=Ee.text.length>_.options.maxHighlightLength?hs(F.mode,ee.state):null,ct=qr(_,Ee,ee,!0);qe&&(ee.state=qe),Ee.styles=ct.styles;var pt=Ee.styleClasses,ln=ct.classes;ln?Ee.styleClasses=ln:pt&&(Ee.styleClasses=null);for(var nn=!Ue||Ue.length!=Ee.styles.length||pt!=ln&&(!pt||!ln||pt.bgClass!=ln.bgClass||pt.textClass!=ln.textClass),Un=0;!nn&&Unoe)return Am(_,_.options.workDelay),!0}),F.highlightFrontier=ee.line,F.modeFrontier=Math.max(F.modeFrontier,ee.line),de.length&&Jp(_,function(){for(var Ee=0;Ee=oe.viewFrom&&F.visible.to<=oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>=oe.viewTo)&&oe.renderedView==oe.view&&Z7(_)==0)return!1;dv(_)&&(qp(_),F.dims=dx(_));var de=ee.first+ee.size,Ee=Math.max(F.visible.from-_.options.viewportMargin,ee.first),Ue=Math.min(de,F.visible.to+_.options.viewportMargin);oe.viewFromUe&&oe.viewTo-Ue<20&&(Ue=Math.min(de,oe.viewTo)),xc&&(Ee=Zo(_.doc,Ee),Ue=Kc(_.doc,Ue));var qe=Ee!=oe.viewFrom||Ue!=oe.viewTo||oe.lastWrapHeight!=F.wrapperHeight||oe.lastWrapWidth!=F.wrapperWidth;iI(_,Ee,Ue),oe.viewOffset=Mh(Ei(_.doc,oe.viewFrom)),_.display.mover.style.top=oe.viewOffset+"px";var ct=Z7(_);if(!qe&&ct==0&&!F.force&&oe.renderedView==oe.view&&(oe.updateLineNumbers==null||oe.updateLineNumbers>=oe.viewTo))return!1;var pt=wk(_);return ct>4&&(oe.lineDiv.style.display="none"),xk(_,oe.updateLineNumbers,F.dims),ct>4&&(oe.lineDiv.style.display=""),oe.renderedView=oe.view,hb(pt),ue(oe.cursorDiv),ue(oe.selectionDiv),oe.gutters.style.height=oe.sizer.style.minHeight=0,qe&&(oe.lastWrapHeight=F.wrapperHeight,oe.lastWrapWidth=F.wrapperWidth,Am(_,400)),oe.updateLineNumbers=null,!0}function nT(_,F){for(var oe=F.viewport,ee=!0;;ee=!1){if(ee&&_.options.lineWrapping&&F.oldDisplayWidth!=g2(_))ee&&(F.visible=px(_.display,_.doc,oe));else if(oe&&oe.top!=null&&(oe={top:Math.min(_.doc.height+Vy(_.display)-G6(_),oe.top)}),F.visible=px(_.display,_.doc,oe),F.visible.from>=_.display.viewFrom&&F.visible.to<=_.display.viewTo)break;if(!nS(_,F))break;o4(_);var de=mx(_);i4(_),db(_,de),w2(_,de),F.force=!1}F.signal(_,"update",_),_.display.viewFrom==_.display.reportedViewFrom&&_.display.viewTo==_.display.reportedViewTo||(F.signal(_,"viewportChange",_,_.display.viewFrom,_.display.viewTo),_.display.reportedViewFrom=_.display.viewFrom,_.display.reportedViewTo=_.display.viewTo)}function rS(_,F){var oe=new bx(_,F);if(nS(_,oe)){o4(_),nT(_,oe);var ee=mx(_);i4(_),db(_,ee),w2(_,ee),oe.finish()}}function xk(_,F,oe){var ee=_.display,de=_.options.lineNumbers,Ee=ee.lineDiv,Ue=Ee.firstChild;function qe(Br){var ci=Br.nextSibling;return b&&L&&_.display.currentWheelTarget==Br?Br.style.display="none":Br.parentNode.removeChild(Br),ci}for(var ct=ee.view,pt=ee.viewFrom,ln=0;ln-1&&(Un=!1),e4(_,nn,pt,oe)),Un&&(ue(nn.lineNumber),nn.lineNumber.appendChild(document.createTextNode(Ps(_.options,pt)))),Ue=nn.node.nextSibling}else{var rr=Y7(_,nn,pt,oe);Ee.insertBefore(rr,Ue)}pt+=nn.size}for(;Ue;)Ue=qe(Ue)}function rT(_){var F=_.gutters.offsetWidth;_.sizer.style.marginLeft=F+"px"}function w2(_,F){_.display.sizer.style.minHeight=F.docHeight+"px",_.display.heightForcer.style.top=F.docHeight+"px",_.display.gutters.style.height=F.docHeight+_.display.barHeight+pm(_)+"px"}function iS(_){var F=_.display,oe=F.view;if(F.alignWidgets||F.gutters.firstChild&&_.options.fixedGutter){for(var ee=eS(F)-F.scroller.scrollLeft+_.doc.scrollLeft,de=F.gutters.offsetWidth,Ee=ee+"px",Ue=0;UeUe.clientWidth,ct=Ue.scrollHeight>Ue.clientHeight;if(ee&&qe||de&&ct){if(de&&L&&b){e:for(var pt=F.target,ln=Ee.view;pt!=Ue;pt=pt.parentNode)for(var nn=0;nn=0&&zr(_,ee.to())<=0)return oe}return-1};var Du=function(_,F){this.anchor=_,this.head=F};function mm(_,F,oe){var ee=_&&_.options.selectionsMayTouch,de=F[oe];F.sort(function(Un,rr){return zr(Un.from(),rr.from())}),oe=ze(F,de);for(var Ee=1;Ee0:ct>=0){var pt=Nn(qe.from(),Ue.from()),ln=lh(qe.to(),Ue.to()),nn=qe.empty()?Ue.from()==Ue.head:qe.from()==qe.head;Ee<=oe&&--oe,F.splice(--Ee,2,new Du(nn?ln:pt,nn?pt:ln))}}return new H0(F,oe)}function C2(_,F){return new H0([new Du(_,F||_)],0)}function S2(_){return _.text?Sr(_.from.line+_.text.length-1,je(_.text).length+(_.text.length==1?_.from.ch:0)):_.to}function lf(_,F){if(zr(_,F.from)<0)return _;if(zr(_,F.to)<=0)return S2(F);var oe=_.line+F.text.length-(F.to.line-F.from.line)-1,ee=_.ch;return _.line==F.to.line&&(ee+=S2(F).ch-F.to.ch),Sr(oe,ee)}function aS(_,F){for(var oe=[],ee=0;ee<_.sel.ranges.length;ee++){var de=_.sel.ranges[ee];oe.push(new Du(lf(de.anchor,F),lf(de.head,F)))}return mm(_.cm,oe,_.sel.primIndex)}function Ek(_,F,oe){return _.line==F.line?Sr(oe.line,_.ch-F.ch+oe.ch):Sr(oe.line+(_.line-F.line),_.ch)}function pI(_,F,oe){for(var ee=[],de=Sr(_.first,0),Ee=de,Ue=0;Ue1&&_.remove(qe.line+1,Br-1),_.insert(qe.line+1,Pr)}Vc(_,"change",_,F)}function T2(_,F,oe){function ee(de,Ee,Ue){if(de.linked)for(var qe=0;qe1&&!_.done[_.done.length-2].ranges?(_.done.pop(),je(_.done)):void 0}function sT(_,F,oe,ee){var de=_.history;de.undone.length=0;var Ee,Ue,qe=+new Date;if((de.lastOp==ee||de.lastOrigin==F.origin&&F.origin&&(F.origin.charAt(0)=="+"&&de.lastModTime>qe-(_.cm?_.cm.options.historyEventDelay:500)||F.origin.charAt(0)=="*"))&&(Ee=mI(de,de.lastOp==ee)))Ue=je(Ee.changes),zr(F.from,F.to)==0&&zr(F.from,Ue.to)==0?Ue.to=S2(F):Ee.changes.push(wx(_,F));else{var ct=je(de.done);for(ct&&ct.ranges||uS(_.sel,de.done),Ee={changes:[wx(_,F)],generation:de.generation},de.done.push(Ee);de.done.length>de.undoDepth;)de.done.shift(),de.done[0].ranges||de.done.shift()}de.done.push(oe),de.generation=++de.maxGeneration,de.lastModTime=de.lastSelTime=qe,de.lastOp=de.lastSelOp=ee,de.lastOrigin=de.lastSelOrigin=F.origin,Ue||_n(_,"historyAdded")}function cS(_,F,oe,ee){var de=F.charAt(0);return de=="*"||de=="+"&&oe.ranges.length==ee.ranges.length&&oe.somethingSelected()==ee.somethingSelected()&&new Date-_.history.lastSelTime<=(_.cm?_.cm.options.historyEventDelay:500)}function hv(_,F,oe,ee){var de=_.history,Ee=ee&&ee.origin;oe==de.lastSelOp||Ee&&de.lastSelOrigin==Ee&&(de.lastModTime==de.lastSelTime&&de.lastOrigin==Ee||cS(_,Ee,je(de.done),F))?de.done[de.done.length-1]=F:uS(F,de.done),de.lastSelTime=+new Date,de.lastSelOrigin=Ee,de.lastSelOp=oe,ee&&ee.clearRedo!==!1&&Ea(de.undone)}function uS(_,F){var oe=je(F);oe&&oe.ranges&&oe.equals(_)||F.push(_)}function xx(_,F,oe,ee){var de=F["spans_"+_.id],Ee=0;_.iter(Math.max(_.first,oe),Math.min(_.first+_.size,ee),function(Ue){Ue.markedSpans&&((de||(de=F["spans_"+_.id]={}))[Ee]=Ue.markedSpans),++Ee})}function Cx(_){if(!_)return null;for(var F,oe=0;oe<_.length;++oe)_[oe].marker.explicitlyCleared?F||(F=_.slice(0,oe)):F&&F.push(_[oe]);return F?F.length?F:null:_}function E2(_,F){var oe=F["spans_"+_.id];if(!oe)return null;for(var ee=[],de=0;de-1&&(je(qe)[nn]=pt[nn],delete pt[nn])}}}return ee}function lT(_,F,oe,ee){if(ee){var de=_.anchor;if(oe){var Ee=zr(F,de)<0;Ee!=zr(oe,de)<0?(de=F,F=oe):Ee!=zr(F,oe)<0&&(F=oe)}return new Du(de,F)}return new Du(oe||F,F)}function fv(_,F,oe,ee,de){de==null&&(de=_.cm&&(_.cm.display.shift||_.extend)),og(_,new H0([lT(_.sel.primary(),F,oe,de)],0),ee)}function Sx(_,F,oe){for(var ee=[],de=_.cm&&(_.cm.display.shift||_.extend),Ee=0;Ee<_.sel.ranges.length;Ee++)ee[Ee]=lT(_.sel.ranges[Ee],F[Ee],null,de);og(_,mm(_.cm,ee,_.sel.primIndex),oe)}function Tx(_,F,oe,ee){var de=_.sel.ranges.slice(0);de[F]=oe,og(_,mm(_.cm,de,_.sel.primIndex),ee)}function cT(_,F,oe,ee){og(_,C2(F,oe),ee)}function uT(_,F,oe){var ee={ranges:F.ranges,update:function(de){this.ranges=[];for(var Ee=0;Ee=F.ch:qe.to>F.ch))){if(de&&(_n(ct,"beforeCursorEnter"),ct.explicitlyCleared)){if(Ee.markedSpans){--Ue;continue}break}if(!ct.atomic)continue;if(oe){var nn=ct.find(ee<0?1:-1),Un=void 0;if((ee<0?ln:pt)&&(nn=sw(_,nn,-ee,nn&&nn.line==F.line?Ee:null)),nn&&nn.line==F.line&&(Un=zr(nn,oe))&&(ee<0?Un<0:Un>0))return d4(_,nn,F,ee,de)}var rr=ct.find(ee<0?-1:1);return(ee<0?pt:ln)&&(rr=sw(_,rr,ee,rr.line==F.line?Ee:null)),rr?d4(_,rr,F,ee,de):null}}return F}function Ex(_,F,oe,ee,de){var Ee=ee||1,Ue=d4(_,F,oe,Ee,de)||!de&&d4(_,F,oe,Ee,!0)||d4(_,F,oe,-Ee,de)||!de&&d4(_,F,oe,-Ee,!0);return Ue||(_.cantEdit=!0,Sr(_.first,0))}function sw(_,F,oe,ee){return oe<0&&F.ch==0?F.line>_.first?_a(_,Sr(F.line-1)):null:oe>0&&F.ch==(ee||Ei(_,F.line)).text.length?F.line<_.first+_.size-1?Sr(F.line+1,0):null:new Sr(F.line,F.ch+oe)}function h4(_){_.setSelection(Sr(_.firstLine(),0),Sr(_.lastLine()),lt)}function f4(_,F,oe){var ee={canceled:!1,from:F.from,to:F.to,text:F.text,origin:F.origin,cancel:function(){return ee.canceled=!0}};return oe&&(ee.update=function(de,Ee,Ue,qe){de&&(ee.from=_a(_,de)),Ee&&(ee.to=_a(_,Ee)),Ue&&(ee.text=Ue),qe!==void 0&&(ee.origin=qe)}),_n(_,"beforeChange",_,ee),_.cm&&_n(_.cm,"beforeChange",_.cm,ee),ee.canceled?(_.cm&&(_.cm.curOp.updateInput=2),null):{from:ee.from,to:ee.to,text:ee.text,origin:ee.origin}}function g4(_,F,oe){if(_.cm){if(!_.cm.curOp)return A1(_.cm,g4)(_,F,oe);if(_.cm.state.suppressEdits)return}if(!(oi(_,"beforeChange")||_.cm&&oi(_.cm,"beforeChange"))||(F=f4(_,F,!0))){var ee=du&&!oe&&Wp(_,F.from,F.to);if(ee)for(var de=ee.length-1;de>=0;--de)hS(_,{from:ee[de].from,to:ee[de].to,text:de?[""]:F.text,origin:F.origin});else hS(_,F)}}function hS(_,F){if(F.text.length!=1||F.text[0]!=""||zr(F.from,F.to)!=0){var oe=aS(_,F);sT(_,F,oe,_.cm?_.cm.curOp.id:NaN),fb(_,F,oe,ng(_,F));var ee=[];T2(_,function(de,Ee){Ee||ze(ee,de.history)!=-1||(fT(de.history,F),ee.push(de.history)),fb(de,F,null,ng(de,F))})}}function lw(_,F,oe){var ee=_.cm&&_.cm.state.suppressEdits;if(!ee||oe){for(var de,Ee=_.history,Ue=_.sel,qe=F=="undo"?Ee.done:Ee.undone,ct=F=="undo"?Ee.undone:Ee.done,pt=0;pt=0;--rr){var Br=Un(rr);if(Br)return Br.v}}}}function hT(_,F){if(F!=0&&(_.first+=F,_.sel=new H0(_t(_.sel.ranges,function(de){return new Du(Sr(de.anchor.line+F,de.anchor.ch),Sr(de.head.line+F,de.head.ch))}),_.sel.primIndex),_.cm)){ig(_.cm,_.first,_.first-F,F);for(var oe=_.cm.display,ee=oe.viewFrom;ee_.lastLine())){if(F.from.line<_.first){var de=F.text.length-1-(_.first-F.from.line);hT(_,de),F={from:Sr(_.first,0),to:Sr(F.to.line+de,F.to.ch),text:[je(F.text)],origin:F.origin}}var Ee=_.lastLine();F.to.line>Ee&&(F={from:F.from,to:Sr(Ee,Ei(_,Ee).text.length),text:[F.text[0]],origin:F.origin}),F.removed=Nd(_,F.from,F.to),oe||(oe=aS(_,F)),_.cm?vI(_.cm,F,ee):aT(_,F,ee),dS(_,oe,lt),_.cantEdit&&Ex(_,Sr(_.firstLine(),0))&&(_.cantEdit=!1)}}function vI(_,F,oe){var ee=_.doc,de=_.display,Ee=F.from,Ue=F.to,qe=!1,ct=Ee.line;_.options.lineWrapping||(ct=pl(lp(Ei(ee,Ee.line))),ee.iter(ct,Ue.line+1,function(rr){if(rr==de.maxLine)return qe=!0,!0})),ee.sel.contains(F.from,F.to)>-1&&cr(_),aT(ee,F,oe,dk(_)),_.options.lineWrapping||(ee.iter(ct,Ee.line+F.text.length,function(rr){var Br=lv(rr);Br>de.maxLineLength&&(de.maxLine=rr,de.maxLineLength=Br,de.maxLineChanged=!0,qe=!1)}),qe&&(_.curOp.updateMaxLine=!0)),e1(ee,Ee.line),Am(_,400);var pt=F.text.length-(Ue.line-Ee.line)-1;F.full?ig(_):Ee.line!=Ue.line||F.text.length!=1||sS(_.doc,F)?ig(_,Ee.line,Ue.line+1,pt):m2(_,Ee.line,"text");var ln=oi(_,"changes"),nn=oi(_,"change");if(nn||ln){var Un={from:Ee,to:Ue,text:F.text,removed:F.removed,origin:F.origin};nn&&Vc(_,"change",_,Un),ln&&(_.curOp.changeObjs||(_.curOp.changeObjs=[])).push(Un)}_.display.selForContextMenu=null}function cw(_,F,oe,ee,de){var Ee;ee||(ee=oe),zr(ee,oe)<0&&(oe=(Ee=[ee,oe])[0],ee=Ee[1]),typeof F=="string"&&(F=_.splitLines(F)),g4(_,{from:oe,to:ee,text:F,origin:de})}function fS(_,F,oe,ee){oe<_.line?_.line+=ee:F<_.line&&(_.line=F,_.ch=0)}function gS(_,F,oe,ee){for(var de=0;de<_.length;++de){var Ee=_[de],Ue=!0;if(Ee.ranges){Ee.copied||((Ee=_[de]=Ee.deepCopy()).copied=!0);for(var qe=0;qe1||!(this.children[0]instanceof A4))){var qe=[];this.collapse(qe),this.children=[new A4(qe)],this.children[0].parent=this}},collapse:function(_){for(var F=0;F50){for(var Ue=de.lines.length%25+25,qe=Ue;qe10);_.parent.maybeSpill()}},iterN:function(_,F,oe){for(var ee=0;ee0||Ue==0&&Ee.clearWhenEmpty!==!1)return Ee;if(Ee.replacedWith&&(Ee.collapsed=!0,Ee.widgetNode=te("span",[Ee.replacedWith],"CodeMirror-widget"),ee.handleMouseEvents||Ee.widgetNode.setAttribute("cm-ignore-events","true"),ee.insertLeft&&(Ee.widgetNode.insertLeft=!0)),Ee.collapsed){if(Oh(_,F.line,F,oe,Ee)||F.line!=oe.line&&Oh(_,oe.line,F,oe,Ee))throw new Error("Inserting collapsed marker partially overlapping an existing one");lb()}Ee.addToHistory&&sT(_,{from:F,to:oe,origin:"markText"},_.sel,NaN);var qe,ct=F.line,pt=_.cm;if(_.iter(ct,oe.line+1,function(nn){pt&&Ee.collapsed&&!pt.options.lineWrapping&&lp(nn)==pt.display.maxLine&&(qe=!0),Ee.collapsed&&ct!=F.line&&sh(nn,0),t1(nn,new af(Ee,ct==F.line?F.ch:null,ct==oe.line?oe.ch:null)),++ct}),Ee.collapsed&&_.iter(F.line,oe.line+1,function(nn){Lu(_,nn)&&sh(nn,0)}),Ee.clearOnEnter&&jn(Ee,"beforeCursorEnter",function(){return Ee.clear()}),Ee.readOnly&&(zl(),(_.history.done.length||_.history.undone.length)&&_.clearHistory()),Ee.collapsed&&(Ee.id=++Pk,Ee.atomic=!0),pt){if(qe&&(pt.curOp.updateMaxLine=!0),Ee.collapsed)ig(pt,F.line,oe.line+1);else if(Ee.className||Ee.startStyle||Ee.endStyle||Ee.css||Ee.attributes||Ee.title)for(var ln=F.line;ln<=oe.line;ln++)m2(pt,ln,"text");Ee.atomic&&Ik(pt.doc),Vc(pt,"markerAdded",pt,Ee)}return Ee}m1.prototype.clear=function(){if(!this.explicitlyCleared){var _=this.doc.cm,F=_&&!_.curOp;if(F&&aw(_),oi(this,"clear")){var oe=this.find();oe&&Vc(this,"clear",oe.from,oe.to)}for(var ee=null,de=null,Ee=0;Ee_.display.maxLineLength&&(_.display.maxLine=pt,_.display.maxLineLength=ln,_.display.maxLineChanged=!0)}ee!=null&&_&&this.collapsed&&ig(_,ee,de+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,_&&Ik(_.doc)),_&&Vc(_,"markerCleared",_,this,ee,de),F&&y2(_),this.parent&&this.parent.clear()}},m1.prototype.find=function(_,F){var oe,ee;_==null&&this.type=="bookmark"&&(_=1);for(var de=0;de=0;ct--)g4(this,ee[ct]);qe?$k(this,qe):this.cm&&s4(this.cm)}),undo:sf(function(){lw(this,"undo")}),redo:sf(function(){lw(this,"redo")}),undoSelection:sf(function(){lw(this,"undo",!0)}),redoSelection:sf(function(){lw(this,"redo",!0)}),setExtending:function(_){this.extend=_},getExtending:function(){return this.extend},historySize:function(){for(var _=this.history,F=0,oe=0,ee=0;ee<_.done.length;ee++)_.done[ee].ranges||++F;for(var de=0;de<_.undone.length;de++)_.undone[de].ranges||++oe;return{undo:F,redo:oe}},clearHistory:function(){var _=this;this.history=new lS(this.history.maxGeneration),T2(this,function(F){return F.history=_.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(_){return _&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(_){return this.history.generation==(_||this.cleanGeneration)},getHistory:function(){return{done:u4(this.history.done),undone:u4(this.history.undone)}},setHistory:function(_){var F=this.history=new lS(this.history.maxGeneration);F.done=u4(_.done.slice(0),null,!0),F.undone=u4(_.undone.slice(0),null,!0)},setGutterMarker:sf(function(_,F,oe){return p4(this,_,"gutter",function(ee){var de=ee.gutterMarkers||(ee.gutterMarkers={});return de[F]=oe,!oe&&Lt(de)&&(ee.gutterMarkers=null),!0})}),clearGutter:sf(function(_){var F=this;this.iter(function(oe){oe.gutterMarkers&&oe.gutterMarkers[_]&&p4(F,oe,"gutter",function(){return oe.gutterMarkers[_]=null,Lt(oe.gutterMarkers)&&(oe.gutterMarkers=null),!0})})}),lineInfo:function(_){var F;if(typeof _=="number"){if(!io(this,_)||(F=_,!(_=Ei(this,_))))return null}else if((F=pl(_))==null)return null;return{line:F,handle:_,text:_.text,gutterMarkers:_.gutterMarkers,textClass:_.textClass,bgClass:_.bgClass,wrapClass:_.wrapClass,widgets:_.widgets}},addLineClass:sf(function(_,F,oe){return p4(this,_,F=="gutter"?"gutter":"class",function(ee){var de=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass";if(ee[de]){if(re(oe).test(ee[de]))return!1;ee[de]+=" "+oe}else ee[de]=oe;return!0})}),removeLineClass:sf(function(_,F,oe){return p4(this,_,F=="gutter"?"gutter":"class",function(ee){var de=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass",Ee=ee[de];if(!Ee)return!1;if(oe==null)ee[de]=null;else{var Ue=Ee.match(re(oe));if(!Ue)return!1;var qe=Ue.index+Ue[0].length;ee[de]=Ee.slice(0,Ue.index)+(Ue.index&&qe!=Ee.length?" ":"")+Ee.slice(qe)||null}return!0})}),addLineWidget:sf(function(_,F,oe){return v4(this,_,F,oe)}),removeLineWidget:function(_){_.clear()},markText:function(_,F,oe){return k2(this,_a(this,_),_a(this,F),oe,oe&&oe.type||"range")},setBookmark:function(_,F){var oe={replacedWith:F&&(F.nodeType==null?F.widget:F),insertLeft:F&&F.insertLeft,clearWhenEmpty:!1,shared:F&&F.shared,handleMouseEvents:F&&F.handleMouseEvents};return k2(this,_=_a(this,_),_,oe,"bookmark")},findMarksAt:function(_){var F=[],oe=Ei(this,(_=_a(this,_)).line).markedSpans;if(oe)for(var ee=0;ee=_.ch)&&F.push(de.marker.parent||de.marker)}return F},findMarks:function(_,F,oe){_=_a(this,_),F=_a(this,F);var ee=[],de=_.line;return this.iter(_.line,F.line+1,function(Ee){var Ue=Ee.markedSpans;if(Ue)for(var qe=0;qe=ct.to||ct.from==null&&de!=_.line||ct.from!=null&&de==F.line&&ct.from>=F.ch||oe&&!oe(ct.marker)||ee.push(ct.marker.parent||ct.marker)}++de}),ee},getAllMarks:function(){var _=[];return this.iter(function(F){var oe=F.markedSpans;if(oe)for(var ee=0;ee_)return F=_,!0;_-=Ee,++oe}),_a(this,Sr(oe,F))},indexFromPos:function(_){var F=(_=_a(this,_)).ch;if(_.lineF&&(F=_.from),_.to!=null&&_.to-1)return F.state.draggingText(_),void setTimeout(function(){return F.display.input.focus()},20);try{var ln=_.dataTransfer.getData("Text");if(ln){var nn;if(F.state.draggingText&&!F.state.draggingText.copy&&(nn=F.listSelections()),dS(F.doc,C2(oe,oe)),nn)for(var Un=0;Un=0;qe--)cw(_.doc,"",ee[qe].from,ee[qe].to,"+delete");s4(_)})}function $x(_,F,oe){var ee=kt(_.text,F+oe,oe);return ee<0||ee>_.text.length?null:ee}function y4(_,F,oe){var ee=$x(_,F.ch,oe);return ee==null?null:new Sr(F.line,ee,oe<0?"after":"before")}function AT(_,F,oe,ee,de){if(_){F.doc.direction=="rtl"&&(de=-de);var Ee=Mn(oe,F.doc.direction);if(Ee){var Ue,qe=de<0?je(Ee):Ee[0],ct=de<0==(qe.level==1)?"after":"before";if(qe.level>0||F.doc.direction=="rtl"){var pt=Gp(F,oe);Ue=de<0?oe.text.length-1:0;var ln=rg(F,pt,Ue).top;Ue=wt(function(nn){return rg(F,pt,nn).top==ln},de<0==(qe.level==1)?qe.from:qe.to-1,Ue),ct=="before"&&(Ue=$x(oe,Ue,1))}else Ue=de<0?qe.to:qe.from;return new Sr(ee,Ue,ct)}}return new Sr(ee,de<0?oe.text.length:0,de<0?"before":"after")}function kI(_,F,oe,ee){var de=Mn(F,_.doc.direction);if(!de)return y4(F,oe,ee);oe.ch>=F.text.length?(oe.ch=F.text.length,oe.sticky="before"):oe.ch<=0&&(oe.ch=0,oe.sticky="after");var Ee=or(de,oe.ch,oe.sticky),Ue=de[Ee];if(_.doc.direction=="ltr"&&Ue.level%2==0&&(ee>0?Ue.to>oe.ch:Ue.from=Ue.from&&Un>=ln.begin)){var rr=nn?"before":"after";return new Sr(oe.line,Un,rr)}}var Br=function(Pr,ra,Ao){for(var sa=function(Cu,F1){return F1?new Sr(oe.line,ct(Cu,1),"before"):new Sr(oe.line,Cu,"after")};Pr>=0&&Pr0==(Da.level!=1),xu=Fo?Ao.begin:ct(Ao.end,-1);if(Da.from<=xu&&xu0?ln.end:ct(ln.begin,-1);return Li==null||ee>0&&Li==F.text.length||!(ci=Br(ee>0?0:de.length-1,ee,pt(Li)))?null:ci}gb.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},gb.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},gb.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},gb.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},gb.default=L?gb.macDefault:gb.pcDefault;var w4={selectAll:h4,singleSelection:function(_){return _.setSelection(_.getCursor("anchor"),_.getCursor("head"),lt)},killLine:function(_){return B2(_,function(F){if(F.empty()){var oe=Ei(_.doc,F.head.line).text.length;return F.head.ch==oe&&F.head.line<_.lastLine()?{from:F.head,to:Sr(F.head.line+1,0)}:{from:F.head,to:Sr(F.head.line,oe)}}return{from:F.from(),to:F.to()}})},deleteLine:function(_){return B2(_,function(F){return{from:Sr(F.from().line,0),to:_a(_.doc,Sr(F.to().line+1,0))}})},delLineLeft:function(_){return B2(_,function(F){return{from:Sr(F.from().line,0),to:F.from()}})},delWrappedLineLeft:function(_){return B2(_,function(F){var oe=_.charCoords(F.head,"div").top+5;return{from:_.coordsChar({left:0,top:oe},"div"),to:F.from()}})},delWrappedLineRight:function(_){return B2(_,function(F){var oe=_.charCoords(F.head,"div").top+5,ee=_.coordsChar({left:_.display.lineDiv.offsetWidth+100,top:oe},"div");return{from:F.from(),to:ee}})},undo:function(_){return _.undo()},redo:function(_){return _.redo()},undoSelection:function(_){return _.undoSelection()},redoSelection:function(_){return _.redoSelection()},goDocStart:function(_){return _.extendSelection(Sr(_.firstLine(),0))},goDocEnd:function(_){return _.extendSelection(Sr(_.lastLine()))},goLineStart:function(_){return _.extendSelectionsBy(function(F){return bS(_,F.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(_){return _.extendSelectionsBy(function(F){return fw(_,F.head)},{origin:"+move",bias:1})},goLineEnd:function(_){return _.extendSelectionsBy(function(F){return hw(_,F.head.line)},{origin:"+move",bias:-1})},goLineRight:function(_){return _.extendSelectionsBy(function(F){var oe=_.cursorCoords(F.head,"div").top+5;return _.coordsChar({left:_.display.lineDiv.offsetWidth+100,top:oe},"div")},rt)},goLineLeft:function(_){return _.extendSelectionsBy(function(F){var oe=_.cursorCoords(F.head,"div").top+5;return _.coordsChar({left:0,top:oe},"div")},rt)},goLineLeftSmart:function(_){return _.extendSelectionsBy(function(F){var oe=_.cursorCoords(F.head,"div").top+5,ee=_.coordsChar({left:0,top:oe},"div");return ee.ch<_.getLine(ee.line).search(/\S/)?fw(_,F.head):ee},rt)},goLineUp:function(_){return _.moveV(-1,"line")},goLineDown:function(_){return _.moveV(1,"line")},goPageUp:function(_){return _.moveV(-1,"page")},goPageDown:function(_){return _.moveV(1,"page")},goCharLeft:function(_){return _.moveH(-1,"char")},goCharRight:function(_){return _.moveH(1,"char")},goColumnLeft:function(_){return _.moveH(-1,"column")},goColumnRight:function(_){return _.moveH(1,"column")},goWordLeft:function(_){return _.moveH(-1,"word")},goGroupRight:function(_){return _.moveH(1,"group")},goGroupLeft:function(_){return _.moveH(-1,"group")},goWordRight:function(_){return _.moveH(1,"word")},delCharBefore:function(_){return _.deleteH(-1,"codepoint")},delCharAfter:function(_){return _.deleteH(1,"char")},delWordBefore:function(_){return _.deleteH(-1,"word")},delWordAfter:function(_){return _.deleteH(1,"word")},delGroupBefore:function(_){return _.deleteH(-1,"group")},delGroupAfter:function(_){return _.deleteH(1,"group")},indentAuto:function(_){return _.indentSelection("smart")},indentMore:function(_){return _.indentSelection("add")},indentLess:function(_){return _.indentSelection("subtract")},insertTab:function(_){return _.replaceSelection(" ")},insertSoftTab:function(_){for(var F=[],oe=_.listSelections(),ee=_.options.tabSize,de=0;de0)de=new Sr(de.line,de.ch+1),_.replaceRange(Ee.charAt(de.ch-1)+Ee.charAt(de.ch-2),Sr(de.line,de.ch-2),de,"+transpose");else if(de.line>_.doc.first){var Ue=Ei(_.doc,de.line-1).text;Ue&&(de=new Sr(de.line,1),_.replaceRange(Ee.charAt(0)+_.doc.lineSeparator()+Ue.charAt(Ue.length-1),Sr(de.line-1,Ue.length-1),de,"+transpose"))}}oe.push(new Du(de,de))}_.setSelections(oe)})},newlineAndIndent:function(_){return Jp(_,function(){for(var F=_.listSelections(),oe=F.length-1;oe>=0;oe--)_.replaceRange(_.doc.lineSeparator(),F[oe].anchor,F[oe].head,"+input");F=_.listSelections();for(var ee=0;ee-1&&(zr((de=Ue.ranges[de]).from(),F)<0||F.xRel>0)&&(zr(de.to(),F)>0||F.xRel<0)?yT(_,ee,F,Ee):Wk(_,ee,F,Ee)}function yT(_,F,oe,ee){var de=_.display,Ee=!1,Ue=A1(_,function(pt){b&&(de.scroller.draggable=!1),_.state.draggingText=!1,An(de.wrapper.ownerDocument,"mouseup",Ue),An(de.wrapper.ownerDocument,"mousemove",qe),An(de.scroller,"dragstart",ct),An(de.scroller,"drop",Ue),Ee||(go(pt),ee.addNew||fv(_.doc,oe,null,null,ee.extend),b&&!k||g&&m==9?setTimeout(function(){de.wrapper.ownerDocument.body.focus({preventScroll:!0}),de.input.focus()},20):de.input.focus())}),qe=function(pt){Ee=Ee||Math.abs(F.clientX-pt.clientX)+Math.abs(F.clientY-pt.clientY)>=10},ct=function(){return Ee=!0};b&&(de.scroller.draggable=!0),_.state.draggingText=Ue,Ue.copy=!ee.moveOnDrag,de.scroller.dragDrop&&de.scroller.dragDrop(),jn(de.wrapper.ownerDocument,"mouseup",Ue),jn(de.wrapper.ownerDocument,"mousemove",qe),jn(de.scroller,"dragstart",ct),jn(de.scroller,"drop",Ue),fk(_),setTimeout(function(){return de.input.focus()},20)}function wT(_,F,oe){if(oe=="char")return new Du(F,F);if(oe=="word")return _.findWordAt(F);if(oe=="line")return new Du(Sr(F.line,0),_a(_.doc,Sr(F.line+1,0)));var ee=oe(_,F);return new Du(ee.from,ee.to)}function Wk(_,F,oe,ee){var de=_.display,Ee=_.doc;go(F);var Ue,qe,ct=Ee.sel,pt=ct.ranges;if(ee.addNew&&!ee.extend?(qe=Ee.sel.contains(oe),Ue=qe>-1?pt[qe]:new Du(oe,oe)):(Ue=Ee.sel.primary(),qe=Ee.sel.primIndex),ee.unit=="rectangle")ee.addNew||(Ue=new Du(oe,oe)),oe=Jy(_,F,!0,!0),qe=-1;else{var ln=wT(_,oe,ee.unit);Ue=ee.extend?lT(Ue,ln.anchor,ln.head,ee.extend):ln}ee.addNew?qe==-1?(qe=pt.length,og(Ee,mm(_,pt.concat([Ue]),qe),{scroll:!1,origin:"*mouse"})):pt.length>1&&pt[qe].empty()&&ee.unit=="char"&&!ee.extend?(og(Ee,mm(_,pt.slice(0,qe).concat(pt.slice(qe+1)),0),{scroll:!1,origin:"*mouse"}),ct=Ee.sel):Tx(Ee,qe,Ue,Ge):(qe=0,og(Ee,new H0([Ue],0),Ge),ct=Ee.sel);var nn=oe;function Un(Ao){if(zr(nn,Ao)!=0)if(nn=Ao,ee.unit=="rectangle"){for(var sa=[],Da=_.options.tabSize,Fo=Qe(Ei(Ee,oe.line).text,oe.ch,Da),xu=Qe(Ei(Ee,Ao.line).text,Ao.ch,Da),Cu=Math.min(Fo,xu),F1=Math.max(Fo,xu),Yd=Math.min(oe.line,Ao.line),b1=Math.min(_.lastLine(),Math.max(oe.line,Ao.line));Yd<=b1;Yd++){var N1=Ei(Ee,Yd).text,Wh=gt(N1,Cu,Da);Cu==F1?sa.push(new Du(Sr(Yd,Wh),Sr(Yd,Wh))):N1.length>Wh&&sa.push(new Du(Sr(Yd,Wh),Sr(Yd,gt(N1,F1,Da))))}sa.length||sa.push(new Du(oe,oe)),og(Ee,mm(_,ct.ranges.slice(0,qe).concat(sa),qe),{origin:"*mouse",scroll:!1}),_.scrollIntoView(Ao)}else{var ag,Lg=Ue,Hd=wT(_,Ao,ee.unit),Ph=Lg.anchor;zr(Hd.anchor,Ph)>0?(ag=Hd.head,Ph=Nn(Lg.from(),Hd.anchor)):(ag=Hd.anchor,Ph=lh(Lg.to(),Hd.head));var cf=ct.ranges.slice(0);cf[qe]=xT(_,new Du(_a(Ee,Ph),ag)),og(Ee,mm(_,cf,qe),Ge)}}var rr=de.wrapper.getBoundingClientRect(),Br=0;function ci(Ao){var sa=++Br,Da=Jy(_,Ao,!0,ee.unit=="rectangle");if(Da)if(zr(Da,nn)!=0){_.curOp.focus=Ae(),Un(Da);var Fo=px(de,Ee);(Da.line>=Fo.to||Da.linerr.bottom?20:0;xu&&setTimeout(A1(_,function(){Br==sa&&(de.scroller.scrollTop+=xu,ci(Ao))}),50)}}function Li(Ao){_.state.selectingText=!1,Br=1/0,Ao&&(go(Ao),de.input.focus()),An(de.wrapper.ownerDocument,"mousemove",Pr),An(de.wrapper.ownerDocument,"mouseup",ra),Ee.history.lastSelOrigin=null}var Pr=A1(_,function(Ao){Ao.buttons!==0&&Ji(Ao)?ci(Ao):Li(Ao)}),ra=A1(_,Li);_.state.selectingText=ra,jn(de.wrapper.ownerDocument,"mousemove",Pr),jn(de.wrapper.ownerDocument,"mouseup",ra)}function xT(_,F){var oe=F.anchor,ee=F.head,de=Ei(_.doc,oe.line);if(zr(oe,ee)==0&&oe.sticky==ee.sticky)return F;var Ee=Mn(de);if(!Ee)return F;var Ue=or(Ee,oe.ch,oe.sticky),qe=Ee[Ue];if(qe.from!=oe.ch&&qe.to!=oe.ch)return F;var ct,pt=Ue+(qe.from==oe.ch==(qe.level!=1)?0:1);if(pt==0||pt==Ee.length)return F;if(ee.line!=oe.line)ct=(ee.line-oe.line)*(_.doc.direction=="ltr"?1:-1)>0;else{var ln=or(Ee,ee.ch,ee.sticky),nn=ln-Ue||(ee.ch-oe.ch)*(qe.level==1?-1:1);ct=ln==pt-1||ln==pt?nn<0:nn>0}var Un=Ee[pt+(ct?-1:0)],rr=ct==(Un.level==1),Br=rr?Un.from:Un.to,ci=rr?"after":"before";return oe.ch==Br&&oe.sticky==ci?F:new Du(new Sr(oe.line,Br,ci),ee)}function CT(_,F,oe,ee){var de,Ee;if(F.touches)de=F.touches[0].clientX,Ee=F.touches[0].clientY;else try{de=F.clientX,Ee=F.clientY}catch{return!1}if(de>=Math.floor(_.display.gutters.getBoundingClientRect().right))return!1;ee&&go(F);var Ue=_.display,qe=Ue.lineDiv.getBoundingClientRect();if(Ee>qe.bottom||!oi(_,oe))return po(F);Ee-=qe.top-Ue.viewOffset;for(var ct=0;ct<_.display.gutterSpecs.length;++ct){var pt=Ue.gutters.childNodes[ct];if(pt&&pt.getBoundingClientRect().right>=de)return _n(_,oe,_,sd(_.doc,Ee),_.display.gutterSpecs[ct].className,F),po(F)}}function CS(_,F){return CT(_,F,"gutterClick",!0)}function Xk(_,F){wA(_.display,F)||wu(_,F)||yr(_,F,"contextmenu")||X||_.display.input.onContextMenu(F)}function wu(_,F){return!!oi(_,"gutterContextMenu")&&CT(_,F,"gutterContextMenu",!1)}function Ix(_){_.display.wrapper.className=_.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+_.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Yp(_)}S4.prototype.compare=function(_,F,oe){return this.time+bT>_&&zr(F,this.pos)==0&&oe==this.button};var Av={toString:function(){return"CodeMirror.Init"}},Zc={},Yu={};function La(_){var F=_.optionHandlers;function oe(ee,de,Ee,Ue){_.defaults[ee]=de,Ee&&(F[ee]=Ue?function(qe,ct,pt){pt!=Av&&Ee(qe,ct,pt)}:Ee)}_.defineOption=oe,_.Init=Av,oe("value","",function(ee,de){return ee.setValue(de)},!0),oe("mode",null,function(ee,de){ee.doc.modeOption=de,oT(ee)},!0),oe("indentUnit",2,oT,!0),oe("indentWithTabs",!1),oe("smartIndent",!0),oe("tabSize",4,function(ee){yx(ee),Yp(ee),ig(ee)},!0),oe("lineSeparator",null,function(ee,de){if(ee.doc.lineSep=de,de){var Ee=[],Ue=ee.doc.first;ee.doc.iter(function(ct){for(var pt=0;;){var ln=ct.text.indexOf(de,pt);if(ln==-1)break;pt=ln+de.length,Ee.push(Sr(Ue,ln))}Ue++});for(var qe=Ee.length-1;qe>=0;qe--)cw(ee.doc,de,Ee[qe],Sr(Ee[qe].line,Ee[qe].ch+de.length))}}),oe("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ee,de,Ee){ee.state.specialChars=new RegExp(de.source+(de.test(" ")?"":"| "),"g"),Ee!=Av&&ee.refresh()}),oe("specialCharPlaceholder",tk,function(ee){return ee.refresh()},!0),oe("electricChars",!0),oe("inputStyle",N?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),oe("spellcheck",!1,function(ee,de){return ee.getInputField().spellcheck=de},!0),oe("autocorrect",!1,function(ee,de){return ee.getInputField().autocorrect=de},!0),oe("autocapitalize",!1,function(ee,de){return ee.getInputField().autocapitalize=de},!0),oe("rtlMoveVisually",!H),oe("wholeLineUpdateBefore",!0),oe("theme","default",function(ee){Ix(ee),x2(ee)},!0),oe("keyMap","default",function(ee,de,Ee){var Ue=_x(de),qe=Ee!=Av&&_x(Ee);qe&&qe.detach&&qe.detach(ee,Ue),Ue.attach&&Ue.attach(ee,qe||null)}),oe("extraKeys",null),oe("configureMouse",null),oe("lineWrapping",!1,_I,!0),oe("gutters",[],function(ee,de){ee.display.gutterSpecs=iT(de,ee.options.lineNumbers),x2(ee)},!0),oe("fixedGutter",!0,function(ee,de){ee.display.gutters.style.left=de?eS(ee.display)+"px":"0",ee.refresh()},!0),oe("coverGutterNextToScrollbar",!1,function(ee){return db(ee)},!0),oe("scrollbarStyle","native",function(ee){ow(ee),db(ee),ee.display.scrollbars.setScrollTop(ee.doc.scrollTop),ee.display.scrollbars.setScrollLeft(ee.doc.scrollLeft)},!0),oe("lineNumbers",!1,function(ee,de){ee.display.gutterSpecs=iT(ee.options.gutters,de),x2(ee)},!0),oe("firstLineNumber",1,x2,!0),oe("lineNumberFormatter",function(ee){return ee},x2,!0),oe("showCursorWhenSelecting",!1,i4,!0),oe("resetSelectionOnContextMenu",!0),oe("lineWiseCopyCut",!0),oe("pasteLinesPerSelection",!0),oe("selectionsMayTouch",!1),oe("readOnly",!1,function(ee,de){de=="nocursor"&&(ub(ee),ee.display.input.blur()),ee.display.input.readOnlyChanged(de)}),oe("screenReaderLabel",null,function(ee,de){de=de===""?null:de,ee.display.input.screenReaderLabelChanged(de)}),oe("disableInput",!1,function(ee,de){de||ee.display.input.reset()},!0),oe("dragDrop",!0,SS),oe("allowDropFileTypes",null),oe("cursorBlinkRate",530),oe("cursorScrollMargin",0),oe("cursorHeight",1,i4,!0),oe("singleCursorHeightPerLine",!0,i4,!0),oe("workTime",100),oe("workDelay",100),oe("flattenSpans",!0,yx,!0),oe("addModeClass",!1,yx,!0),oe("pollInterval",100),oe("undoDepth",200,function(ee,de){return ee.doc.history.undoDepth=de}),oe("historyEventDelay",1250),oe("viewportMargin",10,function(ee){return ee.refresh()},!0),oe("maxHighlightLength",1e4,yx,!0),oe("moveInputWithCursor",!0,function(ee,de){de||ee.display.input.resetPosition()}),oe("tabindex",null,function(ee,de){return ee.display.input.getField().tabIndex=de||""}),oe("autofocus",null),oe("direction","ltr",function(ee,de){return ee.doc.setDirection(de)},!0),oe("phrases",null)}function SS(_,F,oe){if(!F!=!(oe&&oe!=Av)){var ee=_.display.dragFunctions,de=F?jn:An;de(_.display.scroller,"dragstart",ee.start),de(_.display.scroller,"dragenter",ee.enter),de(_.display.scroller,"dragover",ee.over),de(_.display.scroller,"dragleave",ee.leave),de(_.display.scroller,"drop",ee.drop)}}function _I(_){_.options.lineWrapping?(Se(_.display.wrapper,"CodeMirror-wrap"),_.display.sizer.style.minWidth="",_.display.sizerWidth=null):(V(_.display.wrapper,"CodeMirror-wrap"),F0(_)),qy(_),ig(_),Yp(_),setTimeout(function(){return db(_)},100)}function mh(_,F){var oe=this;if(!(this instanceof mh))return new mh(_,F);this.options=F=F?Ce(F):{},Ce(Zc,F,!1);var ee=F.value;typeof ee=="string"?ee=new up(ee,F.mode,null,F.lineSeparator,F.direction):F.mode&&(ee.modeOption=F.mode),this.doc=ee;var de=new mh.inputStyles[F.inputStyle](this),Ee=this.display=new fI(_,ee,de,F);for(var Ue in Ee.wrapper.CodeMirror=this,Ix(this),F.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ow(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Ve,keySeq:null,specialChars:null},F.autofocus&&!N&&Ee.input.focus(),g&&m<11&&setTimeout(function(){return oe.display.input.reset(!0)},20),T4(this),gv(),aw(this),this.curOp.forceUpdate=!0,kk(this,ee),F.autofocus&&!N||this.hasFocus()?setTimeout(function(){oe.hasFocus()&&!oe.state.focused&&gx(oe)},20):ub(this),Yu)Yu.hasOwnProperty(Ue)&&Yu[Ue](this,F[Ue],Av);dv(this),F.finishInit&&F.finishInit(this);for(var qe=0;qe400}jn(F.scroller,"touchstart",function(ct){if(!yr(_,ct)&&!Ee(ct)&&!CS(_,ct)){F.input.ensurePolled(),clearTimeout(oe);var pt=+new Date;F.activeTouch={start:pt,moved:!1,prev:pt-ee.end<=300?ee:null},ct.touches.length==1&&(F.activeTouch.left=ct.touches[0].pageX,F.activeTouch.top=ct.touches[0].pageY)}}),jn(F.scroller,"touchmove",function(){F.activeTouch&&(F.activeTouch.moved=!0)}),jn(F.scroller,"touchend",function(ct){var pt=F.activeTouch;if(pt&&!wA(F,ct)&&pt.left!=null&&!pt.moved&&new Date-pt.start<300){var ln,nn=_.coordsChar(F.activeTouch,"page");ln=!pt.prev||Ue(pt,pt.prev)?new Du(nn,nn):!pt.prev.prev||Ue(pt,pt.prev.prev)?_.findWordAt(nn):new Du(Sr(nn.line,0),_a(_.doc,Sr(nn.line+1,0))),_.setSelection(ln.anchor,ln.head),_.focus(),go(ct)}de()}),jn(F.scroller,"touchcancel",de),jn(F.scroller,"scroll",function(){F.scroller.clientHeight&&(l4(_,F.scroller.scrollTop),rw(_,F.scroller.scrollLeft,!0),_n(_,"scroll",_))}),jn(F.scroller,"mousewheel",function(ct){return Tk(_,ct)}),jn(F.scroller,"DOMMouseScroll",function(ct){return Tk(_,ct)}),jn(F.wrapper,"scroll",function(){return F.wrapper.scrollTop=F.wrapper.scrollLeft=0}),F.dragFunctions={enter:function(ct){yr(_,ct)||aa(ct)},over:function(ct){yr(_,ct)||(CI(_,ct),aa(ct))},start:function(ct){return Fk(_,ct)},drop:A1(_,xI),leave:function(ct){yr(_,ct)||AS(_)}};var qe=F.input.getField();jn(qe,"keyup",function(ct){return jk.call(_,ct)}),jn(qe,"keydown",A1(_,Hk)),jn(qe,"keypress",A1(_,Uk)),jn(qe,"focus",function(ct){return gx(_,ct)}),jn(qe,"blur",function(ct){return ub(_,ct)})}mh.defaults=Zc,mh.optionHandlers=Yu;var pb=[];function Fu(_,F,oe,ee){var de,Ee=_.doc;oe==null&&(oe="add"),oe=="smart"&&(Ee.mode.indent?de=bo(_,F).state:oe="prev");var Ue=_.options.tabSize,qe=Ei(Ee,F),ct=Qe(qe.text,null,Ue);qe.stateAfter&&(qe.stateAfter=null);var pt,ln=qe.text.match(/^\s*/)[0];if(ee||/\S/.test(qe.text)){if(oe=="smart"&&((pt=Ee.mode.indent(de,qe.text.slice(ln.length),qe.text))==nt||pt>150)){if(!ee)return;oe="prev"}}else pt=0,oe="not";oe=="prev"?pt=F>Ee.first?Qe(Ei(Ee,F-1).text,null,Ue):0:oe=="add"?pt=ct+_.options.indentUnit:oe=="subtract"?pt=ct-_.options.indentUnit:typeof oe=="number"&&(pt=ct+oe),pt=Math.max(0,pt);var nn="",Un=0;if(_.options.indentWithTabs)for(var rr=Math.floor(pt/Ue);rr;--rr)Un+=Ue,nn+=" ";if(UnUe,ct=Qo(F),pt=null;if(qe&&ee.ranges.length>1)if(v1&&v1.text.join(` +`)==F){if(ee.ranges.length%v1.text.length==0){pt=[];for(var ln=0;ln=0;Un--){var rr=ee.ranges[Un],Br=rr.from(),ci=rr.to();rr.empty()&&(oe&&oe>0?Br=Sr(Br.line,Br.ch-oe):_.state.overwrite&&!qe?ci=Sr(ci.line,Math.min(Ei(Ee,ci.line).text.length,ci.ch+je(ct).length)):qe&&v1&&v1.lineWise&&v1.text.join(` +`)==ct.join(` +`)&&(Br=ci=Sr(Br.line,0)));var Li={from:Br,to:ci,text:pt?pt[Un%pt.length]:ct,origin:de||(qe?"paste":_.state.cutIncoming>Ue?"cut":"+input")};g4(_.doc,Li),Vc(_,"inputRead",_,Li)}F&&!qe&&E4(_,F),s4(_),_.curOp.updateInput<2&&(_.curOp.updateInput=nn),_.curOp.typing=!0,_.state.pasteIncoming=_.state.cutIncoming=-1}function Ab(_,F){var oe=_.clipboardData&&_.clipboardData.getData("Text");if(oe)return _.preventDefault(),F.isReadOnly()||F.options.disableInput||Jp(F,function(){return mv(F,oe,0,null,"paste")}),!0}function E4(_,F){if(_.options.electricChars&&_.options.smartIndent)for(var oe=_.doc.sel,ee=oe.ranges.length-1;ee>=0;ee--){var de=oe.ranges[ee];if(!(de.head.ch>100||ee&&oe.ranges[ee-1].head.line==de.head.line)){var Ee=_.getModeAt(de.head),Ue=!1;if(Ee.electricChars){for(var qe=0;qe-1){Ue=Fu(_,de.head.line,"smart");break}}else Ee.electricInput&&Ee.electricInput.test(Ei(_.doc,de.head.line).text.slice(0,de.head.ch))&&(Ue=Fu(_,de.head.line,"smart"));Ue&&Vc(_,"electricInput",_,de.head.line)}}}function vv(_){for(var F=[],oe=[],ee=0;ee<_.doc.sel.ranges.length;ee++){var de=_.doc.sel.ranges[ee].head.line,Ee={anchor:Sr(de,0),head:Sr(de+1,0)};oe.push(Ee),F.push(_.getRange(Ee.anchor,Ee.head))}return{text:F,ranges:oe}}function TS(_,F,oe,ee){_.setAttribute("autocorrect",oe?"":"off"),_.setAttribute("autocapitalize",ee?"":"off"),_.setAttribute("spellcheck",!!F)}function ST(){var _=le("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),F=le("div",[_],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return b?_.style.width="1000px":_.setAttribute("wrap","off"),B&&(_.style.border="1px solid black"),TS(_),F}function Gk(_){var F=_.optionHandlers,oe=_.helpers={};_.prototype={constructor:_,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ee,de){var Ee=this.options,Ue=Ee[ee];Ee[ee]==de&&ee!="mode"||(Ee[ee]=de,F.hasOwnProperty(ee)&&A1(this,F[ee])(this,de,Ue),_n(this,"optionChange",this,ee))},getOption:function(ee){return this.options[ee]},getDoc:function(){return this.doc},addKeyMap:function(ee,de){this.state.keyMaps[de?"push":"unshift"](_x(ee))},removeKeyMap:function(ee){for(var de=this.state.keyMaps,Ee=0;EeEe&&(Fu(this,qe.head.line,ee,!0),Ee=qe.head.line,Ue==this.doc.sel.primIndex&&s4(this));else{var ct=qe.from(),pt=qe.to(),ln=Math.max(Ee,ct.line);Ee=Math.min(this.lastLine(),pt.line-(pt.ch?0:1))+1;for(var nn=ln;nn0&&Tx(this.doc,Ue,new Du(ct,Un[Ue].to()),lt)}}}),getTokenAt:function(ee,de){return Gu(this,ee,de)},getLineTokens:function(ee,de){return Gu(this,Sr(ee),de,!0)},getTokenTypeAt:function(ee){ee=_a(this.doc,ee);var de,Ee=oo(this,Ei(this.doc,ee.line)),Ue=0,qe=(Ee.length-1)/2,ct=ee.ch;if(ct==0)de=Ee[2];else for(;;){var pt=Ue+qe>>1;if((pt?Ee[2*pt-1]:0)>=ct)qe=pt;else{if(!(Ee[2*pt+1]ct&&(ee=ct,qe=!0),Ue=Ei(this.doc,ee)}else Ue=ee;return n4(this,Ue,{top:0,left:0},de||"page",Ee||qe).top+(qe?this.doc.height-Mh(Ue):0)},defaultTextHeight:function(){return Gy(this.display)},defaultCharWidth:function(){return Yy(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ee,de,Ee,Ue,qe){var ct=this.display,pt=(ee=Of(this,_a(this.doc,ee))).bottom,ln=ee.left;if(de.style.position="absolute",de.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(de),ct.sizer.appendChild(de),Ue=="over")pt=ee.top;else if(Ue=="above"||Ue=="near"){var nn=Math.max(ct.wrapper.clientHeight,this.doc.height),Un=Math.max(ct.sizer.clientWidth,ct.lineSpace.clientWidth);(Ue=="above"||ee.bottom+de.offsetHeight>nn)&&ee.top>de.offsetHeight?pt=ee.top-de.offsetHeight:ee.bottom+de.offsetHeight<=nn&&(pt=ee.bottom),ln+de.offsetWidth>Un&&(ln=Un-de.offsetWidth)}de.style.top=pt+"px",de.style.left=de.style.right="",qe=="right"?(ln=ct.sizer.clientWidth-de.offsetWidth,de.style.right="0px"):(qe=="left"?ln=0:qe=="middle"&&(ln=(ct.sizer.clientWidth-de.offsetWidth)/2),de.style.left=ln+"px"),Ee&&sI(this,{left:ln,top:pt,right:ln+de.offsetWidth,bottom:pt+de.offsetHeight})},triggerOnKeyDown:Pg(Hk),triggerOnKeyPress:Pg(Uk),triggerOnKeyUp:jk,triggerOnMouseDown:Pg(zk),execCommand:function(ee){if(w4.hasOwnProperty(ee))return w4[ee].call(null,this)},triggerElectric:Pg(function(ee){E4(this,ee)}),findPosH:function(ee,de,Ee,Ue){var qe=1;de<0&&(qe=-1,de=-de);for(var ct=_a(this.doc,ee),pt=0;pt0&&pt(de.charAt(Ee-1));)--Ee;for(;Ue.5||this.options.lineWrapping)&&qy(this),_n(this,"refresh",this)}),swapDoc:Pg(function(ee){var de=this.doc;return de.cm=null,this.state.selectingText&&this.state.selectingText(),kk(this,ee),Yp(this),this.display.input.reset(),Ax(this,ee.scrollLeft,ee.scrollTop),this.curOp.forceScroll=!0,Vc(this,"swapDoc",this,de),de}),phrase:function(ee){var de=this.options.phrases;return de&&Object.prototype.hasOwnProperty.call(de,ee)?de[ee]:ee},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},En(_),_.registerHelper=function(ee,de,Ee){oe.hasOwnProperty(ee)||(oe[ee]=_[ee]={_global:[]}),oe[ee][de]=Ee},_.registerGlobalHelper=function(ee,de,Ee,Ue){_.registerHelper(ee,de,Ue),oe[ee]._global.push({pred:Ee,val:Ue})}}function pw(_,F,oe,ee,de){var Ee=F,Ue=oe,qe=Ei(_,F.line),ct=de&&_.direction=="rtl"?-oe:oe;function pt(){var ra=F.line+ct;return!(ra<_.first||ra>=_.first+_.size)&&(F=new Sr(ra,F.ch,F.sticky),qe=Ei(_,ra))}function ln(ra){var Ao;if(ee=="codepoint"){var sa=qe.text.charCodeAt(F.ch+(ee>0?0:-1));Ao=isNaN(sa)?null:new Sr(F.line,Math.max(0,Math.min(qe.text.length,F.ch+oe*(sa>=55296&&sa<56320?2:1))),-oe)}else Ao=de?kI(_.cm,qe,F,oe):y4(qe,F,oe);if(Ao==null){if(ra||!pt())return!1;F=AT(de,_.cm,qe,F.line,ct)}else F=Ao;return!0}if(ee=="char"||ee=="codepoint")ln();else if(ee=="column")ln(!0);else if(ee=="word"||ee=="group")for(var nn=null,Un=ee=="group",rr=_.cm&&_.cm.getHelper(F,"wordChars"),Br=!0;!(oe<0)||ln(!Br);Br=!1){var ci=qe.text.charAt(F.ch)||` +`,Li=It(ci,rr)?"w":Un&&ci==` +`?"n":!Un||/\s/.test(ci)?null:"p";if(!Un||Br||Li||(Li="s"),nn&&nn!=Li){oe<0&&(oe=1,ln(),F.sticky="after");break}if(Li&&(nn=Li),oe>0&&!ln(!Br))break}var Pr=Ex(_,F,Ee,Ue,!0);return Ha(Ee,Pr)&&(Pr.hitSide=!0),Pr}function k4(_,F,oe,ee){var de,Ee,Ue=_.doc,qe=F.left;if(ee=="page"){var ct=Math.min(_.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),pt=Math.max(ct-.5*Gy(_.display),3);de=(oe>0?F.bottom:F.top)+oe*pt}else ee=="line"&&(de=oe>0?F.bottom+3:F.top-3);for(;(Ee=A2(_,qe,de)).outside;){if(oe<0?de<=0:de>=Ue.height){Ee.hitSide=!0;break}de+=5*oe}return Ee}var Fs=function(_){this.cm=_,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ve,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Sd(_,F){var oe=cp(_,F.line);if(!oe||oe.hidden)return null;var ee=Ei(_.doc,F.line),de=L1(oe,ee,F.line),Ee=Mn(ee,_.doc.direction),Ue="left";Ee&&(Ue=or(Ee,F.ch)%2?"right":"left");var qe=lx(de.map,F.ch,Ue);return qe.offset=qe.collapse=="right"?qe.end:qe.start,qe}function cd(_){for(var F=_;F;F=F.parentNode)if(/CodeMirror-gutter-wrapper/.test(F.className))return!0;return!1}function B4(_,F){return F&&(_.bad=!0),_}function $2(_,F,oe,ee,de){var Ee="",Ue=!1,qe=_.doc.lineSeparator(),ct=!1;function pt(rr){return function(Br){return Br.id==rr}}function ln(){Ue&&(Ee+=qe,ct&&(Ee+=qe),Ue=ct=!1)}function nn(rr){rr&&(ln(),Ee+=rr)}function Un(rr){if(rr.nodeType==1){var Br=rr.getAttribute("cm-text");if(Br)return void nn(Br);var ci,Li=rr.getAttribute("cm-marker");if(Li){var Pr=_.findMarks(Sr(ee,0),Sr(de+1,0),pt(+Li));return void(Pr.length&&(ci=Pr[0].find(0))&&nn(Nd(_.doc,ci.from,ci.to).join(qe)))}if(rr.getAttribute("contenteditable")=="false")return;var ra=/^(pre|div|p|li|table|br)$/i.test(rr.nodeName);if(!/^br$/i.test(rr.nodeName)&&rr.textContent.length==0)return;ra&&ln();for(var Ao=0;Ao=F.display.viewTo||de.line=F.display.viewFrom&&Sd(F,ee)||{node:qe[0].measure.map[2],offset:0},pt=de.lineee.firstLine()&&(Ue=Sr(Ue.line-1,Ei(ee.doc,Ue.line-1).length)),qe.ch==Ei(ee.doc,qe.line).text.length&&qe.linede.viewTo-1)return!1;Ue.line==de.viewFrom||(_=Zy(ee,Ue.line))==0?(F=pl(de.view[0].line),oe=de.view[0].node):(F=pl(de.view[_].line),oe=de.view[_-1].node.nextSibling);var ct,pt,ln=Zy(ee,qe.line);if(ln==de.view.length-1?(ct=de.viewTo-1,pt=de.lineDiv.lastChild):(ct=pl(de.view[ln+1].line)-1,pt=de.view[ln+1].node.previousSibling),!oe)return!1;for(var nn=ee.doc.splitLines($2(ee,oe,pt,F,ct)),Un=Nd(ee.doc,Sr(F,0),Sr(ct,Ei(ee.doc,ct).text.length));nn.length>1&&Un.length>1;)if(je(nn)==je(Un))nn.pop(),Un.pop(),ct--;else{if(nn[0]!=Un[0])break;nn.shift(),Un.shift(),F++}for(var rr=0,Br=0,ci=nn[0],Li=Un[0],Pr=Math.min(ci.length,Li.length);rrUe.ch&&ra.charCodeAt(ra.length-Br-1)==Ao.charCodeAt(Ao.length-Br-1);)rr--,Br++;nn[nn.length-1]=ra.slice(0,ra.length-Br).replace(/^\u200b+/,""),nn[0]=nn[0].slice(rr).replace(/\u200b+$/,"");var Da=Sr(F,rr),Fo=Sr(ct,Un.length?je(Un).length-Br:0);return nn.length>1||nn[0]||zr(Da,Fo)?(cw(ee.doc,nn,Da,Fo,"+input"),!0):void 0},Fs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Fs.prototype.reset=function(){this.forceCompositionEnd()},Fs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Fs.prototype.readFromDOMSoon=function(){var _=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(_.readDOMTimeout=null,_.composing){if(!_.composing.done)return;_.composing=null}_.updateFromDOM()},80))},Fs.prototype.updateFromDOM=function(){var _=this;!this.cm.isReadOnly()&&this.pollContent()||Jp(this.cm,function(){return ig(_.cm)})},Fs.prototype.setUneditable=function(_){_.contentEditable="false"},Fs.prototype.onKeyPress=function(_){_.charCode==0||this.composing||(_.preventDefault(),this.cm.isReadOnly()||A1(this.cm,mv)(this.cm,String.fromCharCode(_.charCode==null?_.keyCode:_.charCode),0))},Fs.prototype.readOnlyChanged=function(_){this.div.contentEditable=String(_!="nocursor")},Fs.prototype.onContextMenu=function(){},Fs.prototype.resetPosition=function(){},Fs.prototype.needsContentAttribute=!0;var ch=function(_){this.cm=_,this.prevInput="",this.pollingFast=!1,this.polling=new Ve,this.hasSelection=!1,this.composing=null};function Aw(_,F){if((F=F?Ce(F):{}).value=_.value,!F.tabindex&&_.tabIndex&&(F.tabindex=_.tabIndex),!F.placeholder&&_.placeholder&&(F.placeholder=_.placeholder),F.autofocus==null){var oe=Ae();F.autofocus=oe==_||_.getAttribute("autofocus")!=null&&oe==document.body}function ee(){_.value=qe.getValue()}var de;if(_.form&&(jn(_.form,"submit",ee),!F.leaveSubmitMethodAlone)){var Ee=_.form;de=Ee.submit;try{var Ue=Ee.submit=function(){ee(),Ee.submit=de,Ee.submit(),Ee.submit=Ue}}catch{}}F.finishInit=function(ct){ct.save=ee,ct.getTextArea=function(){return _},ct.toTextArea=function(){ct.toTextArea=isNaN,ee(),_.parentNode.removeChild(ct.getWrapperElement()),_.style.display="",_.form&&(An(_.form,"submit",ee),F.leaveSubmitMethodAlone||typeof _.form.submit!="function"||(_.form.submit=de))}},_.style.display="none";var qe=mh(function(ct){return _.parentNode.insertBefore(ct,_.nextSibling)},F);return qe}function dp(_){_.off=An,_.on=jn,_.wheelEventPixels=gI,_.Doc=up,_.splitLines=Qo,_.countColumn=Qe,_.findColumn=gt,_.isWordChar=Ht,_.Pass=nt,_.signal=_n,_.Line=$f,_.changeEnd=S2,_.scrollbarModel=mk,_.Pos=Sr,_.cmpPos=zr,_.modes=Oc,_.mimeModes=Gs,_.resolveMode=Zs,_.getMode=is,_.modeExtensions=Qs,_.extendMode=_l,_.copyState=hs,_.startState=cs,_.innerMode=uc,_.commands=w4,_.keyMap=gb,_.keyName=vS,_.isModifierKey=pT,_.lookupKey=b4,_.normalizeKeyMap=EI,_.StringStream=Bs,_.SharedTextMarker=kx,_.TextMarker=m1,_.LineWidget=uw,_.e_preventDefault=go,_.e_stopPropagation=pr,_.e_stop=aa,_.addClass=Se,_.contains=Z,_.rmClass=V,_.keyNames=vm}ch.prototype.init=function(_){var F=this,oe=this,ee=this.cm;this.createField(_);var de=this.textarea;function Ee(Ue){if(!yr(ee,Ue)){if(ee.somethingSelected())Qn({lineWise:!1,text:ee.getSelections()});else{if(!ee.options.lineWiseCopyCut)return;var qe=vv(ee);Qn({lineWise:!0,text:qe.text}),Ue.type=="cut"?ee.setSelections(qe.ranges,null,lt):(oe.prevInput="",de.value=qe.text.join(` +`),Be(de))}Ue.type=="cut"&&(ee.state.cutIncoming=+new Date)}}_.wrapper.insertBefore(this.wrapper,_.wrapper.firstChild),B&&(de.style.width="0px"),jn(de,"input",function(){g&&m>=9&&F.hasSelection&&(F.hasSelection=null),oe.poll()}),jn(de,"paste",function(Ue){yr(ee,Ue)||Ab(Ue,ee)||(ee.state.pasteIncoming=+new Date,oe.fastPoll())}),jn(de,"cut",Ee),jn(de,"copy",Ee),jn(_.scroller,"paste",function(Ue){if(!wA(_,Ue)&&!yr(ee,Ue)){if(!de.dispatchEvent)return ee.state.pasteIncoming=+new Date,void oe.focus();var qe=new Event("paste");qe.clipboardData=Ue.clipboardData,de.dispatchEvent(qe)}}),jn(_.lineSpace,"selectstart",function(Ue){wA(_,Ue)||go(Ue)}),jn(de,"compositionstart",function(){var Ue=ee.getCursor("from");oe.composing&&oe.composing.range.clear(),oe.composing={start:Ue,range:ee.markText(Ue,ee.getCursor("to"),{className:"CodeMirror-composing"})}}),jn(de,"compositionend",function(){oe.composing&&(oe.poll(),oe.composing.range.clear(),oe.composing=null)})},ch.prototype.createField=function(_){this.wrapper=ST(),this.textarea=this.wrapper.firstChild},ch.prototype.screenReaderLabelChanged=function(_){_?this.textarea.setAttribute("aria-label",_):this.textarea.removeAttribute("aria-label")},ch.prototype.prepareSelection=function(){var _=this.cm,F=_.display,oe=_.doc,ee=eT(_);if(_.options.moveInputWithCursor){var de=Of(_,oe.sel.primary().head,"div"),Ee=F.wrapper.getBoundingClientRect(),Ue=F.lineDiv.getBoundingClientRect();ee.teTop=Math.max(0,Math.min(F.wrapper.clientHeight-10,de.top+Ue.top-Ee.top)),ee.teLeft=Math.max(0,Math.min(F.wrapper.clientWidth-10,de.left+Ue.left-Ee.left))}return ee},ch.prototype.showSelection=function(_){var F=this.cm.display;Y(F.cursorDiv,_.cursors),Y(F.selectionDiv,_.selection),_.teTop!=null&&(this.wrapper.style.top=_.teTop+"px",this.wrapper.style.left=_.teLeft+"px")},ch.prototype.reset=function(_){if(!this.contextMenuPending&&!this.composing){var F=this.cm;if(F.somethingSelected()){this.prevInput="";var oe=F.getSelection();this.textarea.value=oe,F.state.focused&&Be(this.textarea),g&&m>=9&&(this.hasSelection=oe)}else _||(this.prevInput=this.textarea.value="",g&&m>=9&&(this.hasSelection=null))}},ch.prototype.getField=function(){return this.textarea},ch.prototype.supportsTouch=function(){return!1},ch.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!N||Ae()!=this.textarea))try{this.textarea.focus()}catch{}},ch.prototype.blur=function(){this.textarea.blur()},ch.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ch.prototype.receivedFocus=function(){this.slowPoll()},ch.prototype.slowPoll=function(){var _=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){_.poll(),_.cm.state.focused&&_.slowPoll()})},ch.prototype.fastPoll=function(){var _=!1,F=this;function oe(){F.poll()||_?(F.pollingFast=!1,F.slowPoll()):(_=!0,F.polling.set(60,oe))}F.pollingFast=!0,F.polling.set(20,oe)},ch.prototype.poll=function(){var _=this,F=this.cm,oe=this.textarea,ee=this.prevInput;if(this.contextMenuPending||!F.state.focused||Ii(oe)&&!ee&&!this.composing||F.isReadOnly()||F.options.disableInput||F.state.keySeq)return!1;var de=oe.value;if(de==ee&&!F.somethingSelected())return!1;if(g&&m>=9&&this.hasSelection===de||L&&/[\uf700-\uf7ff]/.test(de))return F.display.input.reset(),!1;if(F.doc.sel==F.display.selForContextMenu){var Ee=de.charCodeAt(0);if(Ee!=8203||ee||(ee="​"),Ee==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ue=0,qe=Math.min(ee.length,de.length);Ue1e3||de.indexOf(` +`)>-1?oe.value=_.prevInput="":_.prevInput=de,_.composing&&(_.composing.range.clear(),_.composing.range=F.markText(_.composing.start,F.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ch.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ch.prototype.onKeyPress=function(){g&&m>=9&&(this.hasSelection=null),this.fastPoll()},ch.prototype.onContextMenu=function(_){var F=this,oe=F.cm,ee=oe.display,de=F.textarea;F.contextMenuPending&&F.contextMenuPending();var Ee=Jy(oe,_),Ue=ee.scroller.scrollTop;if(Ee&&!T){oe.options.resetSelectionOnContextMenu&&oe.doc.sel.contains(Ee)==-1&&A1(oe,og)(oe.doc,C2(Ee),lt);var qe,ct=de.style.cssText,pt=F.wrapper.style.cssText,ln=F.wrapper.offsetParent.getBoundingClientRect();if(F.wrapper.style.cssText="position: static",de.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(_.clientY-ln.top-5)+"px; left: "+(_.clientX-ln.left-5)+`px; + z-index: 1000; background: `+(g?"rgba(255, 255, 255, .05)":"transparent")+`; + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`,b&&(qe=window.scrollY),ee.input.focus(),b&&window.scrollTo(null,qe),ee.input.reset(),oe.somethingSelected()||(de.value=F.prevInput=" "),F.contextMenuPending=rr,ee.selForContextMenu=oe.doc.sel,clearTimeout(ee.detectingSelectAll),g&&m>=9&&Un(),X){aa(_);var nn=function(){An(window,"mouseup",nn),setTimeout(rr,20)};jn(window,"mouseup",nn)}else setTimeout(rr,50)}function Un(){if(de.selectionStart!=null){var Br=oe.somethingSelected(),ci="​"+(Br?de.value:"");de.value="⇚",de.value=ci,F.prevInput=Br?"":"​",de.selectionStart=1,de.selectionEnd=ci.length,ee.selForContextMenu=oe.doc.sel}}function rr(){if(F.contextMenuPending==rr&&(F.contextMenuPending=!1,F.wrapper.style.cssText=pt,de.style.cssText=ct,g&&m<9&&ee.scrollbars.setScrollTop(ee.scroller.scrollTop=Ue),de.selectionStart!=null)){(!g||g&&m<9)&&Un();var Br=0,ci=function(){ee.selForContextMenu==oe.doc.sel&&de.selectionStart==0&&de.selectionEnd>0&&F.prevInput=="​"?A1(oe,h4)(oe):Br++<10?ee.detectingSelectAll=setTimeout(ci,500):(ee.selForContextMenu=null,ee.input.reset())};ee.detectingSelectAll=setTimeout(ci,200)}}},ch.prototype.readOnlyChanged=function(_){_||this.reset(),this.textarea.disabled=_=="nocursor",this.textarea.readOnly=!!_},ch.prototype.setUneditable=function(){},ch.prototype.needsContentAttribute=!1,La(mh),Gk(mh);var _4="iter insert remove copy getEditor constructor".split(" ");for(var mw in up.prototype)up.prototype.hasOwnProperty(mw)&&ze(_4,mw)<0&&(mh.prototype[mw]=function(_){return function(){return _.apply(this.doc,arguments)}}(up.prototype[mw]));return En(up),mh.inputStyles={textarea:ch,contenteditable:Fs},mh.defineMode=function(_){mh.defaults.mode||_=="null"||(mh.defaults.mode=_),ql.apply(this,arguments)},mh.defineMIME=Ec,mh.defineMode("null",function(){return{token:function(_){return _.skipToEnd()}}}),mh.defineMIME("text/plain","null"),mh.defineExtension=function(_,F){mh.prototype[_]=F},mh.defineDocExtension=function(_,F){up.prototype[_]=F},mh.fromTextArea=Aw,dp(mh),mh.version="5.58.2",mh}()});Jc(function(t,n){var i,o,s;o={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},s={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},(i=ev).defineMode("xml",function(u,d){var f,g,m=u.indentUnit,b={},w=d.htmlMode?o:s;for(var C in w)b[C]=w[C];for(var C in d)b[C]=d[C];function T(Y,le){function te(Ae){return le.tokenize=Ae,Ae(Y,le)}var Z=Y.next();return Z=="<"?Y.eat("!")?Y.eat("[")?Y.match("CDATA[")?te(O("atom","]]>")):null:Y.match("--")?te(O("comment","-->")):Y.match("DOCTYPE",!0,!0)?(Y.eatWhile(/[\w\._\-]/),te(B(1))):null:Y.eat("?")?(Y.eatWhile(/[\w\._\-]/),le.tokenize=O("meta","?>"),"meta"):(f=Y.eat("/")?"closeTag":"openTag",le.tokenize=k,"tag bracket"):Z=="&"?(Y.eat("#")?Y.eat("x")?Y.eatWhile(/[a-fA-F\d]/)&&Y.eat(";"):Y.eatWhile(/[\d]/)&&Y.eat(";"):Y.eatWhile(/[\w\.\-:]/)&&Y.eat(";"))?"atom":"error":(Y.eatWhile(/[^&<]/),null)}function k(Y,le){var te=Y.next();if(te==">"||te=="/"&&Y.eat(">"))return le.tokenize=T,f=te==">"?"endTag":"selfcloseTag","tag bracket";if(te=="=")return f="equals",null;if(te=="<"){le.tokenize=T,le.state=R,le.tagName=le.tagStart=null;var Z=le.tokenize(Y,le);return Z?Z+" tag error":"tag error"}return/[\'\"]/.test(te)?(le.tokenize=$(te),le.stringStartCol=Y.column(),le.tokenize(Y,le)):(Y.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function $(Y){var le=function(te,Z){for(;!te.eol();)if(te.next()==Y){Z.tokenize=k;break}return"string"};return le.isInAttribute=!0,le}function O(Y,le){return function(te,Z){for(;!te.eol();){if(te.match(le)){Z.tokenize=T;break}te.next()}return Y}}function B(Y){return function(le,te){for(var Z;(Z=le.next())!=null;){if(Z=="<")return te.tokenize=B(Y+1),te.tokenize(le,te);if(Z==">"){if(Y==1){te.tokenize=T;break}return te.tokenize=B(Y-1),te.tokenize(le,te)}}return"meta"}}function P(Y,le,te){this.prev=Y.context,this.tagName=le,this.indent=Y.indented,this.startOfLine=te,(b.doNotIndent.hasOwnProperty(le)||Y.context&&Y.context.noIndent)&&(this.noIndent=!0)}function N(Y){Y.context&&(Y.context=Y.context.prev)}function L(Y,le){for(var te;;){if(!Y.context||(te=Y.context.tagName,!b.contextGrabbers.hasOwnProperty(te)||!b.contextGrabbers[te].hasOwnProperty(le)))return;N(Y)}}function R(Y,le,te){return Y=="openTag"?(te.tagStart=le.column(),H):Y=="closeTag"?Q:R}function H(Y,le,te){return Y=="word"?(te.tagName=le.current(),g="tag",re):b.allowMissingTagName&&Y=="endTag"?(g="tag bracket",re(Y,le,te)):(g="error",H)}function Q(Y,le,te){if(Y=="word"){var Z=le.current();return te.context&&te.context.tagName!=Z&&b.implicitlyClosed.hasOwnProperty(te.context.tagName)&&N(te),te.context&&te.context.tagName==Z||b.matchClosing===!1?(g="tag",q):(g="tag error",X)}return b.allowMissingTagName&&Y=="endTag"?(g="tag bracket",q(Y,le,te)):(g="error",X)}function q(Y,le,te){return Y!="endTag"?(g="error",q):(N(te),R)}function X(Y,le,te){return g="error",q(Y,le,te)}function re(Y,le,te){if(Y=="word")return g="attribute",J;if(Y=="endTag"||Y=="selfcloseTag"){var Z=te.tagName,Ae=te.tagStart;return te.tagName=te.tagStart=null,Y=="selfcloseTag"||b.autoSelfClosers.hasOwnProperty(Z)?L(te,Z):(L(te,Z),te.context=new P(te,Z,Ae==te.indented)),R}return g="error",re}function J(Y,le,te){return Y=="equals"?V:(b.allowMissing||(g="error"),re(Y,le,te))}function V(Y,le,te){return Y=="string"?ue:Y=="word"&&b.allowUnquoted?(g="string",re):(g="error",re(Y,le,te))}function ue(Y,le,te){return Y=="string"?ue:re(Y,le,te)}return T.isInText=!0,{startState:function(Y){var le={tokenize:T,state:R,indented:Y||0,tagName:null,tagStart:null,context:null};return Y!=null&&(le.baseIndent=Y),le},token:function(Y,le){if(!le.tagName&&Y.sol()&&(le.indented=Y.indentation()),Y.eatSpace())return null;f=null;var te=le.tokenize(Y,le);return(te||f)&&te!="comment"&&(g=null,le.state=le.state(f||te,Y,le),g&&(te=g=="error"?te+" error":g)),te},indent:function(Y,le,te){var Z=Y.context;if(Y.tokenize.isInAttribute)return Y.tagStart==Y.indented?Y.stringStartCol+1:Y.indented+m;if(Z&&Z.noIndent)return i.Pass;if(Y.tokenize!=k&&Y.tokenize!=T)return te?te.match(/^(\s*)/)[0].length:0;if(Y.tagName)return b.multilineTagIndentPastTag!==!1?Y.tagStart+Y.tagName.length+2:Y.tagStart+m*(b.multilineTagIndentFactor||1);if(b.alignCDATA&&/$/,blockCommentStart:"",configuration:b.htmlMode?"html":"xml",helperType:b.htmlMode?"html":"xml",skipAttribute:function(Y){Y.state==V&&(Y.state=re)},xmlCurrentTag:function(Y){return Y.tagName?{name:Y.tagName,close:Y.type=="closeTag"}:null},xmlCurrentContext:function(Y){for(var le=[],te=Y.context;te;te=te.prev)te.tagName&&le.push(te.tagName);return le.reverse()}}}),i.defineMIME("text/xml","xml"),i.defineMIME("application/xml","xml"),i.mimeModes.hasOwnProperty("text/html")||i.defineMIME("text/html",{name:"xml",htmlMode:!0})}),Jc(function(t,n){(function(i){i.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var o=0;o-1&&u.substring(g+1,u.length);if(m)return i.findModeByExtension(m)},i.findModeByName=function(u){u=u.toLowerCase();for(var d=0;d` "'(~:]+/,O=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,B=/^\s*\[[^\]]+?\]:.*$/,P=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,N=" ";function L(we,Ce,Qe){return Ce.f=Ce.inline=Qe,Qe(we,Ce)}function R(we,Ce,Qe){return Ce.f=Ce.block=Qe,Qe(we,Ce)}function H(we){return!we||!/\S/.test(we.string)}function Q(we){if(we.linkTitle=!1,we.linkHref=!1,we.linkText=!1,we.em=!1,we.strong=!1,we.strikethrough=!1,we.quote=0,we.indentedCode=!1,we.f==X){var Ce=d;if(!Ce){var Qe=i.innerMode(u,we.htmlState);Ce=Qe.mode.name=="xml"&&Qe.state.tagStart===null&&!Qe.state.context&&Qe.state.tokenize.isInText}Ce&&(we.f=ue,we.block=q,we.htmlState=null)}return we.trailingSpace=0,we.trailingSpaceNewLine=!1,we.prevLine=we.thisLine,we.thisLine={stream:null},null}function q(we,Ce){var Qe=we.column()===Ce.indentation,Ve=H(Ce.prevLine.stream),ze=Ce.indentedCode,ht=Ce.prevLine.hr,nt=Ce.list!==!1,lt=(Ce.listStack[Ce.listStack.length-1]||0)+3;Ce.indentedCode=!1;var Ge=Ce.indentation;if(Ce.indentationDiff===null&&(Ce.indentationDiff=Ce.indentation,nt)){for(Ce.list=null;Ge=4&&(ze||Ce.prevLine.fencedCodeEnd||Ce.prevLine.header||Ve))return we.skipToEnd(),Ce.indentedCode=!0,g.code;if(we.eatSpace())return null;if(Qe&&Ce.indentation<=lt&&(De=we.match(T))&&De[1].length<=6)return Ce.quote=0,Ce.header=De[1].length,Ce.thisLine.header=!0,s.highlightFormatting&&(Ce.formatting="header"),Ce.f=Ce.inline,J(Ce);if(Ce.indentation<=lt&&we.eat(">"))return Ce.quote=Qe?1:Ce.quote+1,s.highlightFormatting&&(Ce.formatting="quote"),we.eatSpace(),J(Ce);if(!gt&&!Ce.setext&&Qe&&Ce.indentation<=lt&&(De=we.match(w))){var it=De[1]?"ol":"ul";return Ce.indentation=Ge+we.current().length,Ce.list=!0,Ce.quote=0,Ce.listStack.push(Ce.indentation),Ce.em=!1,Ce.strong=!1,Ce.code=!1,Ce.strikethrough=!1,s.taskLists&&we.match(C,!1)&&(Ce.taskList=!0),Ce.f=Ce.inline,s.highlightFormatting&&(Ce.formatting=["list","list-"+it]),J(Ce)}return Qe&&Ce.indentation<=lt&&(De=we.match(O,!0))?(Ce.quote=0,Ce.fencedEndRE=new RegExp(De[1]+"+ *$"),Ce.localMode=s.fencedCodeBlockHighlighting&&f(De[2]||s.fencedCodeBlockDefaultMode),Ce.localMode&&(Ce.localState=i.startState(Ce.localMode)),Ce.f=Ce.block=re,s.highlightFormatting&&(Ce.formatting="code-block"),Ce.code=-1,J(Ce)):Ce.setext||!(rt&&nt||Ce.quote||Ce.list!==!1||Ce.code||gt||B.test(we.string))&&(De=we.lookAhead(1))&&(De=De.match(k))?(Ce.setext?(Ce.header=Ce.setext,Ce.setext=0,we.skipToEnd(),s.highlightFormatting&&(Ce.formatting="header")):(Ce.header=De[0].charAt(0)=="="?1:2,Ce.setext=Ce.header),Ce.thisLine.header=!0,Ce.f=Ce.inline,J(Ce)):gt?(we.skipToEnd(),Ce.hr=!0,Ce.thisLine.hr=!0,g.hr):we.peek()==="["?L(we,Ce,Ae):L(we,Ce,Ce.inline)}function X(we,Ce){var Qe=u.token(we,Ce.htmlState);if(!d){var Ve=i.innerMode(u,Ce.htmlState);(Ve.mode.name=="xml"&&Ve.state.tagStart===null&&!Ve.state.context&&Ve.state.tokenize.isInText||Ce.md_inside&&we.current().indexOf(">")>-1)&&(Ce.f=ue,Ce.block=q,Ce.htmlState=null)}return Qe}function re(we,Ce){var Qe,Ve=Ce.listStack[Ce.listStack.length-1]||0,ze=Ce.indentation=we.quote?Ce.push(g.formatting+"-"+we.formatting[Qe]+"-"+we.quote):Ce.push("error"))}if(we.taskOpen)return Ce.push("meta"),Ce.length?Ce.join(" "):null;if(we.taskClosed)return Ce.push("property"),Ce.length?Ce.join(" "):null;if(we.linkHref?Ce.push(g.linkHref,"url"):(we.strong&&Ce.push(g.strong),we.em&&Ce.push(g.em),we.strikethrough&&Ce.push(g.strikethrough),we.emoji&&Ce.push(g.emoji),we.linkText&&Ce.push(g.linkText),we.code&&Ce.push(g.code),we.image&&Ce.push(g.image),we.imageAltText&&Ce.push(g.imageAltText,"link"),we.imageMarker&&Ce.push(g.imageMarker)),we.header&&Ce.push(g.header,g.header+"-"+we.header),we.quote&&(Ce.push(g.quote),!s.maxBlockquoteDepth||s.maxBlockquoteDepth>=we.quote?Ce.push(g.quote+"-"+we.quote):Ce.push(g.quote+"-"+s.maxBlockquoteDepth)),we.list!==!1){var Ve=(we.listStack.length-1)%3;Ve?Ve===1?Ce.push(g.list2):Ce.push(g.list3):Ce.push(g.list1)}return we.trailingSpaceNewLine?Ce.push("trailing-space-new-line"):we.trailingSpace&&Ce.push("trailing-space-"+(we.trailingSpace%2?"a":"b")),Ce.length?Ce.join(" "):null}function V(we,Ce){if(we.match($,!0))return J(Ce)}function ue(we,Ce){var Qe=Ce.text(we,Ce);if(Qe!==void 0)return Qe;if(Ce.list)return Ce.list=null,J(Ce);if(Ce.taskList)return we.match(C,!0)[1]===" "?Ce.taskOpen=!0:Ce.taskClosed=!0,s.highlightFormatting&&(Ce.formatting="task"),Ce.taskList=!1,J(Ce);if(Ce.taskOpen=!1,Ce.taskClosed=!1,Ce.header&&we.match(/^#+$/,!0))return s.highlightFormatting&&(Ce.formatting="header"),J(Ce);var Ve=we.next();if(Ce.linkTitle){Ce.linkTitle=!1;var ze=Ve;Ve==="("&&(ze=")");var ht="^\\s*(?:[^"+(ze=(ze+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+ze;if(we.match(new RegExp(ht),!0))return g.linkHref}if(Ve==="`"){var nt=Ce.formatting;s.highlightFormatting&&(Ce.formatting="code"),we.eatWhile("`");var lt=we.current().length;if(Ce.code!=0||Ce.quote&<!=1){if(lt==Ce.code){var Ge=J(Ce);return Ce.code=0,Ge}return Ce.formatting=nt,J(Ce)}return Ce.code=lt,J(Ce)}if(Ce.code)return J(Ce);if(Ve==="\\"&&(we.next(),s.highlightFormatting)){var rt=J(Ce),gt=g.formatting+"-escape";return rt?rt+" "+gt:gt}if(Ve==="!"&&we.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ce.imageMarker=!0,Ce.image=!0,s.highlightFormatting&&(Ce.formatting="image"),J(Ce);if(Ve==="["&&Ce.imageMarker&&we.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ce.imageMarker=!1,Ce.imageAltText=!0,s.highlightFormatting&&(Ce.formatting="image"),J(Ce);if(Ve==="]"&&Ce.imageAltText){s.highlightFormatting&&(Ce.formatting="image");var rt=J(Ce);return Ce.imageAltText=!1,Ce.image=!1,Ce.inline=Ce.f=le,rt}if(Ve==="["&&!Ce.image)return Ce.linkText&&we.match(/^.*?\]/)||(Ce.linkText=!0,s.highlightFormatting&&(Ce.formatting="link")),J(Ce);if(Ve==="]"&&Ce.linkText){s.highlightFormatting&&(Ce.formatting="link");var rt=J(Ce);return Ce.linkText=!1,Ce.inline=Ce.f=we.match(/\(.*?\)| ?\[.*?\]/,!1)?le:ue,rt}if(Ve==="<"&&we.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return Ce.f=Ce.inline=Y,s.highlightFormatting&&(Ce.formatting="link"),(rt=J(Ce))?rt+=" ":rt="",rt+g.linkInline;if(Ve==="<"&&we.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return Ce.f=Ce.inline=Y,s.highlightFormatting&&(Ce.formatting="link"),(rt=J(Ce))?rt+=" ":rt="",rt+g.linkEmail;if(s.xml&&Ve==="<"&&we.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var De=we.string.indexOf(">",we.pos);if(De!=-1){var it=we.string.substring(we.start,De);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(it)&&(Ce.md_inside=!0)}return we.backUp(1),Ce.htmlState=i.startState(u),R(we,Ce,X)}if(s.xml&&Ve==="<"&&we.match(/^\/\w*?>/))return Ce.md_inside=!1,"tag";if(Ve==="*"||Ve==="_"){for(var je=1,_t=we.pos==1?" ":we.string.charAt(we.pos-2);je<3&&we.eat(Ve);)je++;var Fe=we.peek()||" ",vt=!/\s/.test(Fe)&&(!P.test(Fe)||/\s/.test(_t)||P.test(_t)),st=!/\s/.test(_t)&&(!P.test(_t)||/\s/.test(Fe)||P.test(Fe)),Ot=null,Ht=null;if(je%2&&(Ce.em||!vt||Ve!=="*"&&st&&!P.test(_t)?Ce.em!=Ve||!st||Ve!=="*"&&vt&&!P.test(Fe)||(Ot=!1):Ot=!0),je>1&&(Ce.strong||!vt||Ve!=="*"&&st&&!P.test(_t)?Ce.strong!=Ve||!st||Ve!=="*"&&vt&&!P.test(Fe)||(Ht=!1):Ht=!0),Ht!=null||Ot!=null)return s.highlightFormatting&&(Ce.formatting=Ot==null?"strong":Ht==null?"em":"strong em"),Ot===!0&&(Ce.em=Ve),Ht===!0&&(Ce.strong=Ve),Ge=J(Ce),Ot===!1&&(Ce.em=!1),Ht===!1&&(Ce.strong=!1),Ge}else if(Ve===" "&&(we.eat("*")||we.eat("_"))){if(we.peek()===" ")return J(Ce);we.backUp(1)}if(s.strikethrough){if(Ve==="~"&&we.eatWhile(Ve)){if(Ce.strikethrough)return s.highlightFormatting&&(Ce.formatting="strikethrough"),Ge=J(Ce),Ce.strikethrough=!1,Ge;if(we.match(/^[^\s]/,!1))return Ce.strikethrough=!0,s.highlightFormatting&&(Ce.formatting="strikethrough"),J(Ce)}else if(Ve===" "&&we.match(/^~~/,!0)){if(we.peek()===" ")return J(Ce);we.backUp(2)}}if(s.emoji&&Ve===":"&&we.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ce.emoji=!0,s.highlightFormatting&&(Ce.formatting="emoji");var It=J(Ce);return Ce.emoji=!1,It}return Ve===" "&&(we.match(/^ +$/,!1)?Ce.trailingSpace++:Ce.trailingSpace&&(Ce.trailingSpaceNewLine=!0)),J(Ce)}function Y(we,Ce){if(we.next()===">"){Ce.f=Ce.inline=ue,s.highlightFormatting&&(Ce.formatting="link");var Qe=J(Ce);return Qe?Qe+=" ":Qe="",Qe+g.linkInline}return we.match(/^[^>]+/,!0),g.linkInline}function le(we,Ce){if(we.eatSpace())return null;var Qe=we.next();return Qe==="("||Qe==="["?(Ce.f=Ce.inline=Z(Qe==="("?")":"]"),s.highlightFormatting&&(Ce.formatting="link-string"),Ce.linkHref=!0,J(Ce)):"error"}var te={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Z(we){return function(Ce,Qe){if(Ce.next()===we){Qe.f=Qe.inline=ue,s.highlightFormatting&&(Qe.formatting="link-string");var Ve=J(Qe);return Qe.linkHref=!1,Ve}return Ce.match(te[we]),Qe.linkHref=!0,J(Qe)}}function Ae(we,Ce){return we.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ce.f=Se,we.next(),s.highlightFormatting&&(Ce.formatting="link"),Ce.linkText=!0,J(Ce)):L(we,Ce,ue)}function Se(we,Ce){if(we.match(/^\]:/,!0)){Ce.f=Ce.inline=ke,s.highlightFormatting&&(Ce.formatting="link");var Qe=J(Ce);return Ce.linkText=!1,Qe}return we.match(/^([^\]\\]|\\.)+/,!0),g.linkText}function ke(we,Ce){return we.eatSpace()?null:(we.match(/^[^\s]+/,!0),we.peek()===void 0?Ce.linkTitle=!0:we.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ce.f=Ce.inline=ue,g.linkHref+" url")}var Be={startState:function(){return{f:q,prevLine:{stream:null},thisLine:{stream:null},block:q,htmlState:null,indentation:0,inline:ue,text:V,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(we){return{f:we.f,prevLine:we.prevLine,thisLine:we.thisLine,block:we.block,htmlState:we.htmlState&&i.copyState(u,we.htmlState),indentation:we.indentation,localMode:we.localMode,localState:we.localMode?i.copyState(we.localMode,we.localState):null,inline:we.inline,text:we.text,formatting:!1,linkText:we.linkText,linkTitle:we.linkTitle,linkHref:we.linkHref,code:we.code,em:we.em,strong:we.strong,strikethrough:we.strikethrough,emoji:we.emoji,header:we.header,setext:we.setext,hr:we.hr,taskList:we.taskList,list:we.list,listStack:we.listStack.slice(0),quote:we.quote,indentedCode:we.indentedCode,trailingSpace:we.trailingSpace,trailingSpaceNewLine:we.trailingSpaceNewLine,md_inside:we.md_inside,fencedEndRE:we.fencedEndRE}},token:function(we,Ce){if(Ce.formatting=!1,we!=Ce.thisLine.stream){if(Ce.header=0,Ce.hr=!1,we.match(/^\s*$/,!0))return Q(Ce),null;if(Ce.prevLine=Ce.thisLine,Ce.thisLine={stream:we},Ce.taskList=!1,Ce.trailingSpace=0,Ce.trailingSpaceNewLine=!1,!Ce.localState&&(Ce.f=Ce.block,Ce.f!=X)){var Qe=we.match(/^\s*/,!0)[0].replace(/\t/g,N).length;if(Ce.indentation=Qe,Ce.indentationDiff=null,Qe>0)return null}}return Ce.f(we,Ce)},innerMode:function(we){return we.block==X?{state:we.htmlState,mode:u}:we.localState?{state:we.localState,mode:we.localMode}:{state:we,mode:Be}},indent:function(we,Ce,Qe){return we.block==X&&u.indent?u.indent(we.htmlState,Ce,Qe):we.localState&&we.localMode.indent?we.localMode.indent(we.localState,Ce,Qe):i.Pass},blankLine:Q,getType:J,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Be},"xml"),i.defineMIME("text/markdown","markdown"),i.defineMIME("text/x-markdown","markdown")}),Jc(function(t,n){var i;(i=ev).overlayMode=function(o,s,u){return{startState:function(){return{base:i.startState(o),overlay:i.startState(s),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(d){return{base:i.copyState(o,d.base),overlay:i.copyState(s,d.overlay),basePos:d.basePos,baseCur:null,overlayPos:d.overlayPos,overlayCur:null}},token:function(d,f){return(d!=f.streamSeen||Math.min(f.basePos,f.overlayPos)]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i,(i=ev).defineMode("gfm",function(s,u){var d=0;function f(w){return w.code=!1,null}var g={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(w){return{code:w.code,codeBlock:w.codeBlock,ateSpace:w.ateSpace}},token:function(w,C){if(C.combineTokens=null,C.codeBlock)return w.match(/^```+/)?(C.codeBlock=!1,null):(w.skipToEnd(),null);if(w.sol()&&(C.code=!1),w.sol()&&w.match(/^```+/))return w.skipToEnd(),C.codeBlock=!0,null;if(w.peek()==="`"){w.next();var T=w.pos;w.eatWhile("`");var k=1+w.pos-T;return C.code?k===d&&(C.code=!1):(d=k,C.code=!0),null}return C.code?(w.next(),null):w.eatSpace()?(C.ateSpace=!0,null):(w.sol()||C.ateSpace)&&(C.ateSpace=!1,u.gitHubSpice!==!1)&&(w.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)||w.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))||w.match(o)&&w.string.slice(w.start-2,w.start)!="]("&&(w.start==0||/\W/.test(w.string.charAt(w.start-1)))?(C.combineTokens=!0,"link"):(w.next(),null)},blankLine:f},m={taskLists:!0,strikethrough:!0,emoji:!0};for(var b in u)m[b]=u[b];return m.name="markdown",i.overlayMode(i.getMode(s,m),g)},"markdown"),i.defineMIME("text/x-gfm","gfm")}),Jc(function(t,n){(function(i){var o=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,s=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,u=/[*+-]\s/;function d(f,g){var m=g.line,b=0,w=0,C=o.exec(f.getLine(m)),T=C[1];do{var k=m+(b+=1),$=f.getLine(k),O=o.exec($);if(O){var B=O[1],P=parseInt(C[3],10)+b-w,N=parseInt(O[3],10),L=N;if(T!==B||isNaN(N)){if(T.length>B.length||T.lengthN&&(L=P+1),f.replaceRange($.replace(o,B+L+O[4]+O[5]),{line:k,ch:0},{line:k,ch:$.length})}}while(O)}i.commands.newlineAndIndentContinueMarkdownList=function(f){if(f.getOption("disableInput"))return i.Pass;for(var g=f.listSelections(),m=[],b=0;b\s*$/.test(O),L=!/>\s*$/.test(O);(N||L)&&f.replaceRange("",{line:w.line,ch:0},{line:w.line,ch:w.ch+1}),m[b]=` +`}else{var R=B[1],H=B[5],Q=!(u.test(B[2])||B[2].indexOf(">")>=0),q=Q?parseInt(B[3],10)+1+B[4]:B[2].replace("x"," ");m[b]=` +`+R+q+H,Q&&d(f,w)}}f.replaceSelections(m)}})(ev)});Jc(function(t,n){(function(i){var o=i.Pos;function s(B,P){return B.line-P.line||B.ch-P.ch}var u="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",d=new RegExp("<(/?)(["+u+"]["+u+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function f(B,P,N,L){this.line=P,this.ch=N,this.cm=B,this.text=B.getLine(P),this.min=L?Math.max(L.from,B.firstLine()):B.firstLine(),this.max=L?Math.min(L.to-1,B.lastLine()):B.lastLine()}function g(B,P){var N=B.cm.getTokenTypeAt(o(B.line,P));return N&&/\btag\b/.test(N)}function m(B){if(!(B.line>=B.max))return B.ch=0,B.text=B.cm.getLine(++B.line),!0}function b(B){if(!(B.line<=B.min))return B.text=B.cm.getLine(--B.line),B.ch=B.text.length,!0}function w(B){for(;;){var P=B.text.indexOf(">",B.ch);if(P==-1){if(m(B))continue;return}if(g(B,P+1)){var N=B.text.lastIndexOf("/",P),L=N>-1&&!/\S/.test(B.text.slice(N+1,P));return B.ch=P+1,L?"selfClose":"regular"}B.ch=P+1}}function C(B){for(;;){var P=B.ch?B.text.lastIndexOf("<",B.ch-1):-1;if(P==-1){if(b(B))continue;return}if(g(B,P+1)){d.lastIndex=P,B.ch=P;var N=d.exec(B.text);if(N&&N.index==P)return N}else B.ch=P}}function T(B){for(;;){d.lastIndex=B.ch;var P=d.exec(B.text);if(!P){if(m(B))continue;return}if(g(B,P.index+1))return B.ch=P.index+P[0].length,P;B.ch=P.index+1}}function k(B){for(;;){var P=B.ch?B.text.lastIndexOf(">",B.ch-1):-1;if(P==-1){if(b(B))continue;return}if(g(B,P+1)){var N=B.text.lastIndexOf("/",P),L=N>-1&&!/\S/.test(B.text.slice(N+1,P));return B.ch=P+1,L?"selfClose":"regular"}B.ch=P}}function $(B,P){for(var N=[];;){var L,R=T(B),H=B.line,Q=B.ch-(R?R[0].length:0);if(!R||!(L=w(B)))return;if(L!="selfClose")if(R[1]){for(var q=N.length-1;q>=0;--q)if(N[q]==R[2]){N.length=q;break}if(q<0&&(!P||P==R[2]))return{tag:R[2],from:o(H,Q),to:o(B.line,B.ch)}}else N.push(R[2])}}function O(B,P){for(var N=[];;){var L=k(B);if(!L)return;if(L!="selfClose"){var R=B.line,H=B.ch,Q=C(B);if(!Q)return;if(Q[1])N.push(Q[2]);else{for(var q=N.length-1;q>=0;--q)if(N[q]==Q[2]){N.length=q;break}if(q<0&&(!P||P==Q[2]))return{tag:Q[2],from:o(B.line,B.ch),to:o(R,H)}}}else C(B)}}i.registerHelper("fold","xml",function(B,P){for(var N=new f(B,P.line,0);;){var L=T(N);if(!L||N.line!=P.line)return;var R=w(N);if(!R)return;if(!L[1]&&R!="selfClose"){var H=o(N.line,N.ch),Q=$(N,L[2]);return Q&&s(Q.from,H)>0?{from:H,to:Q.from}:null}}}),i.findMatchingTag=function(B,P,N){var L=new f(B,P.line,P.ch,N);if(L.text.indexOf(">")!=-1||L.text.indexOf("<")!=-1){var R=w(L),H=R&&o(L.line,L.ch),Q=R&&C(L);if(R&&Q&&!(s(L,P)>0)){var q={from:o(L.line,L.ch),to:H,tag:Q[2]};return R=="selfClose"?{open:q,close:null,at:"open"}:Q[1]?{open:O(L,Q[2]),close:q,at:"close"}:{open:q,close:$(L=new f(B,H.line,H.ch,N),Q[2]),at:"open"}}}},i.findEnclosingTag=function(B,P,N,L){for(var R=new f(B,P.line,P.ch,N);;){var H=O(R,L);if(!H)break;var Q=$(new f(B,P.line,P.ch,N),H.tag);if(Q)return{open:H,close:Q}}},i.scanForClosingTag=function(B,P,N,L){return $(new f(B,P.line,P.ch,L?{from:0,to:L}:null),N)}})(ev)});Jc(function(t,n){(function(i){i.defineOption("autoCloseTags",!1,function(b,w,C){if(C!=i.Init&&C&&b.removeKeyMap("autoCloseTags"),w){var T={name:"autoCloseTags"};typeof w=="object"&&w.whenClosing===!1||(T["'/'"]=function(k){return f(k)}),typeof w=="object"&&w.whenOpening===!1||(T["'>'"]=function(k){return u(k)}),b.addKeyMap(T)}});var o=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],s=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function u(b){if(b.getOption("disableInput"))return i.Pass;for(var w=b.listSelections(),C=[],T=b.getOption("autoCloseTags"),k=0;k$.ch&&(L=L.slice(0,L.length-O.end+$.ch));var q=L.toLowerCase();if(!L||O.type=="string"&&(O.end!=$.ch||!/[\"\']/.test(O.string.charAt(O.string.length-1))||O.string.length==1)||O.type=="tag"&&N.close||O.string.indexOf("/")==$.ch-O.start-1||H&&g(H,q)>-1||m(b,B.mode.xmlCurrentContext&&B.mode.xmlCurrentContext(P)||[],L,$,!0))return i.Pass;var X=typeof T=="object"&&T.emptyTags;if(X&&g(X,L)>-1)C[k]={text:"/>",newPos:i.Pos($.line,$.ch+2)};else{var re=Q&&g(Q,q)>-1;C[k]={indent:re,text:">"+(re?` + +`:"")+"",newPos:re?i.Pos($.line+1,0):i.Pos($.line,$.ch+1)}}}var J=typeof T=="object"&&T.dontIndentOnAutoClose;for(k=w.length-1;k>=0;k--){var V=C[k];b.replaceRange(V.text,w[k].head,w[k].anchor,"+insert");var ue=b.listSelections().slice(0);ue[k]={head:V.newPos,anchor:V.newPos},b.setSelections(ue),!J&&V.indent&&(b.indentLine(V.newPos.line,null,!0),b.indentLine(V.newPos.line+1,null,!0))}}function d(b,w){for(var C=b.listSelections(),T=[],k=w?"/":""&&(H+=">"),T[B]=H}if(b.replaceSelections(T),C=b.listSelections(),!O)for(B=0;B=0&&w[P]==C;P--)++B;for(T=O.to,P=1;Pq);X++){var re=P.getLine(Q++);R=R==null?re:R+` +`+re}H*=2,N.lastIndex=L.ch;var J=N.exec(R);if(J){var V=R.slice(0,J.index).split(` +`),ue=J[0].split(` +`),Y=L.line+V.length-1,le=V[V.length-1].length;return{from:u(Y,le),to:u(Y+ue.length-1,ue.length==1?le+ue[0].length:ue[ue.length-1].length),match:J}}}}function w(P,N,L){for(var R,H=0;H<=P.length;){N.lastIndex=H;var Q=N.exec(P);if(!Q)break;var q=Q.index+Q[0].length;if(q>P.length-L)break;(!R||q>R.index+R[0].length)&&(R=Q),H=Q.index+1}return R}function C(P,N,L){N=f(N,"g");for(var R=L.line,H=L.ch,Q=P.firstLine();R>=Q;R--,H=-1){var q=P.getLine(R),X=w(q,N,H<0?0:q.length-H);if(X)return{from:u(R,X.index),to:u(R,X.index+X[0].length),match:X}}}function T(P,N,L){if(!g(N))return C(P,N,L);N=f(N,"gm");for(var R,H=1,Q=P.getLine(L.line).length-L.ch,q=L.line,X=P.firstLine();q>=X;){for(var re=0;re=X;re++){var J=P.getLine(q--);R=R==null?J:J+` +`+R}H*=2;var V=w(R,N,Q);if(V){var ue=R.slice(0,V.index).split(` +`),Y=V[0].split(` +`),le=q+ue.length,te=ue[ue.length-1].length;return{from:u(le,te),to:u(le+Y.length-1,Y.length==1?te+Y[0].length:Y[Y.length-1].length),match:V}}}}function k(P,N,L,R){if(P.length==N.length)return L;for(var H=0,Q=L+Math.max(0,P.length-N.length);;){if(H==Q)return H;var q=H+Q>>1,X=R(P.slice(0,q)).length;if(X==L)return q;X>L?Q=q:H=q+1}}function $(P,N,L,R){if(!N.length)return null;var H=R?o:s,Q=H(N).split(/\r|\n\r?/);e:for(var q=L.line,X=L.ch,re=P.lastLine()+1-Q.length;q<=re;q++,X=0){var J=P.getLine(q).slice(X),V=H(J);if(Q.length==1){var ue=V.indexOf(Q[0]);if(ue==-1)continue e;return L=k(J,V,ue,H)+X,{from:u(q,k(J,V,ue,H)+X),to:u(q,k(J,V,ue+Q[0].length,H)+X)}}var Y=V.length-Q[0].length;if(V.slice(Y)==Q[0]){for(var le=1;le=re;q--,X=-1){var J=P.getLine(q);X>-1&&(J=J.slice(0,X));var V=H(J);if(Q.length==1){var ue=V.lastIndexOf(Q[0]);if(ue==-1)continue e;return{from:u(q,k(J,V,ue,H)),to:u(q,k(J,V,ue+Q[0].length,H))}}var Y=Q[Q.length-1];if(V.slice(0,Y.length)==Y){var le=1;for(L=q-Q.length+1;le0);)L.push({anchor:R.from(),head:R.to()});L.length&&this.setSelections(L,0)})})(ev)});Jc(function(t,n){(function(i){function o(m){m.state.placeholder&&(m.state.placeholder.parentNode.removeChild(m.state.placeholder),m.state.placeholder=null)}function s(m){o(m);var b=m.state.placeholder=document.createElement("pre");b.style.cssText="height: 0; overflow: visible",b.style.direction=m.getOption("direction"),b.className="CodeMirror-placeholder CodeMirror-line-like";var w=m.getOption("placeholder");typeof w=="string"&&(w=document.createTextNode(w)),b.appendChild(w),m.display.lineSpace.insertBefore(b,m.display.lineSpace.firstChild)}function u(m){setTimeout(function(){var b=!1,w=m.getInputField();w.nodeName=="TEXTAREA"?b=!w.value:m.lineCount()==1&&(b=!/[^\u200b]/.test(w.querySelector(".CodeMirror-line").textContent)),b?s(m):o(m)},20)}function d(m){g(m)&&s(m)}function f(m){var b=m.getWrapperElement(),w=g(m);b.className=b.className.replace(" CodeMirror-empty","")+(w?" CodeMirror-empty":""),w?s(m):o(m)}function g(m){return m.lineCount()===1&&m.getLine(0)===""}i.defineOption("placeholder","",function(m,b,w){var C=w&&w!=i.Init;if(b&&!C)m.on("blur",d),m.on("change",f),m.on("swapDoc",f),i.on(m.getInputField(),"compositionupdate",m.state.placeholderCompose=function(){u(m)}),f(m);else if(!b&&C){m.off("blur",d),m.off("change",f),m.off("swapDoc",f),i.off(m.getInputField(),"compositionupdate",m.state.placeholderCompose),o(m);var T=m.getWrapperElement();T.className=T.className.replace(" CodeMirror-empty","")}b&&!m.hasFocus()&&d(m)})})(ev)});Jc(function(t,n){(function(i){var o=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),s=i.Pos,u={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function d(w){return w&&w.bracketRegex||/[(){}[\]]/}function f(w,C,T){var k=w.getLineHandle(C.line),$=C.ch-1,O=T&&T.afterCursor;O==null&&(O=/(^| )cm-fat-cursor($| )/.test(w.getWrapperElement().className));var B=d(T),P=!O&&$>=0&&B.test(k.text.charAt($))&&u[k.text.charAt($)]||B.test(k.text.charAt($+1))&&u[k.text.charAt(++$)];if(!P)return null;var N=P.charAt(1)==">"?1:-1;if(T&&T.strict&&N>0!=($==C.ch))return null;var L=w.getTokenTypeAt(s(C.line,$+1)),R=g(w,s(C.line,$+(N>0?1:0)),N,L||null,T);return R==null?null:{from:s(C.line,$),to:R&&R.pos,match:R&&R.ch==P.charAt(0),forward:N>0}}function g(w,C,T,k,$){for(var O=$&&$.maxScanLineLength||1e4,B=$&&$.maxScanLines||1e3,P=[],N=d($),L=T>0?Math.min(C.line+B,w.lastLine()+1):Math.max(w.firstLine()-1,C.line-B),R=C.line;R!=L;R+=T){var H=w.getLine(R);if(H){var Q=T>0?0:H.length-1,q=T>0?H.length:-1;if(!(H.length>O))for(R==C.line&&(Q=C.ch-(T<0?1:0));Q!=q;Q+=T){var X=H.charAt(Q);if(N.test(X)&&(k===void 0||w.getTokenTypeAt(s(R,Q+1))==k)){var re=u[X];if(re&&re.charAt(1)==">"==T>0)P.push(X);else{if(!P.length)return{pos:s(R,Q),ch:X};P.pop()}}}}}return R-T!=(T>0?w.lastLine():w.firstLine())&&null}function m(w,C,T){for(var k=w.state.matchBrackets.maxHighlightLineLength||1e3,$=[],O=w.listSelections(),B=0;B0&&R.ch>=Q.length)return L.clipPos(s(R.line+1,0));for(var q,X="start",re=R.ch,J=re,V=H<0?0:Q.length,ue=0;J!=V;J+=H,ue++){var Y=Q.charAt(H<0?J-1:J),le=Y!="_"&&i.isWordChar(Y)?"w":"o";if(le=="w"&&Y.toUpperCase()==Y&&(le="W"),X=="start")le!="o"?(X="in",q=le):re=J+H;else if(X=="in"&&q!=le){if(q=="w"&&le=="W"&&H<0&&J--,q=="W"&&le=="w"&&H>0){if(J==re+1){q="w";continue}J--}break}}return s(R.line,J)}function d(L,R){L.extendSelectionsBy(function(H){return L.display.shift||L.doc.extend||H.empty()?u(L.doc,H.head,R):R<0?H.from():H.to()})}function f(L,R){if(L.isReadOnly())return i.Pass;L.operation(function(){for(var H=L.listSelections().length,Q=[],q=-1,X=0;X=H&&L.execCommand("goLineUp")}L.scrollTo(null,R.top-L.defaultTextHeight())},o.scrollLineDown=function(L){var R=L.getScrollInfo();if(!L.somethingSelected()){var H=L.lineAtHeight(R.top,"local")+1;L.getCursor().line<=H&&L.execCommand("goLineDown")}L.scrollTo(null,R.top+L.defaultTextHeight())},o.splitSelectionByLine=function(L){for(var R=L.listSelections(),H=[],Q=0;Qq.line&&re==X.line&&X.ch==0||H.push({anchor:re==q.line?q:s(re,0),head:re==X.line?X:s(re)});L.setSelections(H,0)},o.singleSelectionTop=function(L){var R=L.listSelections()[0];L.setSelection(R.anchor,R.head,{scroll:!1})},o.selectLine=function(L){for(var R=L.listSelections(),H=[],Q=0;Q=0;X--){var J=H[Q[X]];if(!(re&&i.cmpPos(J.head,re)>0)){var V=g(L,J.head);re=V.from,L.replaceRange(R(V.word),V.from,V.to)}}})}function O(L){var R=L.getCursor("from"),H=L.getCursor("to");if(i.cmpPos(R,H)==0){var Q=g(L,R);if(!Q.word)return;R=Q.from,H=Q.to}return{from:R,to:H,query:L.getRange(R,H),word:Q}}function B(L,R){var H=O(L);if(H){var Q=H.query,q=L.getSearchCursor(Q,R?H.to:H.from);(R?q.findNext():q.findPrevious())?L.setSelection(q.from(),q.to()):(q=L.getSearchCursor(Q,R?s(L.firstLine(),0):L.clipPos(s(L.lastLine()))),(R?q.findNext():q.findPrevious())?L.setSelection(q.from(),q.to()):H.word&&L.setSelection(H.from,H.to))}}o.selectScope=function(L){C(L)||L.execCommand("selectAll")},o.selectBetweenBrackets=function(L){if(!C(L))return i.Pass},o.goToBracket=function(L){L.extendSelectionsBy(function(R){var H=L.scanForBracket(R.head,1,T(L.getTokenTypeAt(R.head)));if(H&&i.cmpPos(H.pos,R.head)!=0)return H.pos;var Q=L.scanForBracket(R.head,-1,T(L.getTokenTypeAt(s(R.head.line,R.head.ch+1))));return Q&&s(Q.pos.line,Q.pos.ch+1)||R.head})},o.swapLineUp=function(L){if(L.isReadOnly())return i.Pass;for(var R=L.listSelections(),H=[],Q=L.firstLine()-1,q=[],X=0;XQ?H.push(J,V):H.length&&(H[H.length-1]=V),Q=V}L.operation(function(){for(var ue=0;ueL.lastLine()?L.replaceRange(` +`+te,s(L.lastLine()),null,"+swapLine"):L.replaceRange(te+` +`,s(le,0),null,"+swapLine")}L.setSelections(q),L.scrollIntoView()})},o.swapLineDown=function(L){if(L.isReadOnly())return i.Pass;for(var R=L.listSelections(),H=[],Q=L.lastLine()+1,q=R.length-1;q>=0;q--){var X=R[q],re=X.to().line+1,J=X.from().line;X.to().ch!=0||X.empty()||re--,re=0;V-=2){var ue=H[V],Y=H[V+1],le=L.getLine(ue);ue==L.lastLine()?L.replaceRange("",s(ue-1),s(ue),"+swapLine"):L.replaceRange("",s(ue,0),s(ue+1,0),"+swapLine"),L.replaceRange(le+` +`,s(Y,0),null,"+swapLine")}L.scrollIntoView()})},o.toggleCommentIndented=function(L){L.toggleComment({indent:!0})},o.joinLines=function(L){for(var R=L.listSelections(),H=[],Q=0;Q=0;Q--){var q=R[Q].head,X=L.getRange({line:q.line,ch:0},q),re=i.countColumn(X,null,L.getOption("tabSize")),J=L.findPosH(q,-1,"char",!1);if(X&&!/\S/.test(X)&&re%H==0){var V=new s(q.line,i.findColumn(X,re-H,H));V.ch!=q.ch&&(J=V)}L.replaceRange("",J,q,"+delete")}})},o.delLineRight=function(L){L.operation(function(){for(var R=L.listSelections(),H=R.length-1;H>=0;H--)L.replaceRange("",R[H].anchor,s(R[H].to().line),"+delete");L.scrollIntoView()})},o.upcaseAtCursor=function(L){$(L,function(R){return R.toUpperCase()})},o.downcaseAtCursor=function(L){$(L,function(R){return R.toLowerCase()})},o.setSublimeMark=function(L){L.state.sublimeMark&&L.state.sublimeMark.clear(),L.state.sublimeMark=L.setBookmark(L.getCursor())},o.selectToSublimeMark=function(L){var R=L.state.sublimeMark&&L.state.sublimeMark.find();R&&L.setSelection(L.getCursor(),R)},o.deleteToSublimeMark=function(L){var R=L.state.sublimeMark&&L.state.sublimeMark.find();if(R){var H=L.getCursor(),Q=R;if(i.cmpPos(H,Q)>0){var q=Q;Q=H,H=q}L.state.sublimeKilled=L.getRange(H,Q),L.replaceRange("",H,Q)}},o.swapWithSublimeMark=function(L){var R=L.state.sublimeMark&&L.state.sublimeMark.find();R&&(L.state.sublimeMark.clear(),L.state.sublimeMark=L.setBookmark(L.getCursor()),L.setCursor(R))},o.sublimeYank=function(L){L.state.sublimeKilled!=null&&L.replaceSelection(L.state.sublimeKilled,null,"paste")},o.showInCenter=function(L){var R=L.cursorCoords(null,"local");L.scrollTo(null,(R.top+R.bottom)/2-L.getScrollInfo().clientHeight/2)},o.findUnder=function(L){B(L,!0)},o.findUnderPrevious=function(L){B(L,!1)},o.findAllUnder=function(L){var R=O(L);if(R){for(var H=L.getSearchCursor(R.query),Q=[],q=-1;H.findNext();)Q.push({anchor:H.from(),head:H.to()}),H.from().line<=R.from.line&&H.from().ch<=R.from.ch&&q++;L.setSelections(Q,q)}};var P=i.keyMap;P.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},i.normalizeKeyMap(P.macSublime),P.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},i.normalizeKeyMap(P.pcSublime);var N=P.default==P.macDefault;P.sublime=N?P.macSublime:P.pcSublime})(ev)}),Jc(function(t,n){(function(i){var o;function s(m){var b=this;function w(J){b.searchBox=J.querySelector(".ace_search_form"),b.replaceBox=J.querySelector(".ace_replace_form"),b.searchOptions=J.querySelector(".ace_search_options"),b.regExpOption=J.querySelector("[action=toggleRegexpMode]"),b.caseSensitiveOption=J.querySelector("[action=toggleCaseSensitive]"),b.wholeWordOption=J.querySelector("[action=toggleWholeWords]"),b.searchInput=b.searchBox.querySelector(".ace_search_field"),b.replaceInput=b.replaceBox.querySelector(".ace_search_field")}function C(){var J=b.element=re();X(),w(J),T(),J.addEventListener("mousedown",function(V){setTimeout(function(){b.activeInput.focus()},0),V.stopPropagation()}),J.addEventListener("click",function(V){var ue=(V.target||V.srcElement).getAttribute("action");ue&&b[ue]?b[ue]():b.commands[ue]&&b.commands[ue](),V.stopPropagation()}),b.searchInput.addEventListener("input",function(){b.$onChange.schedule(20)}),b.searchInput.addEventListener("focus",function(){b.activeInput=b.searchInput}),b.replaceInput.addEventListener("focus",function(){b.activeInput=b.replaceInput}),b.$onChange=d(function(){b.find(!1,!1)})}function T(){var J=b,V={"Ctrl-F|Cmd-F|Ctrl-H|Command-Alt-F":function(){var ue=J.isReplace=!J.isReplace;J.replaceBox.style.display=ue?"":"none",J[ue?"replaceInput":"searchInput"].focus()},"Ctrl-G|Cmd-G":function(){J.findNext()},"Ctrl-Shift-G|Cmd-Shift-G":function(){J.findPrev()},Esc:function(){setTimeout(function(){J.hide()})},Enter:function(){J.activeInput===J.replaceInput&&J.replace(),J.findNext()},"Shift-Enter":function(){J.activeInput===J.replaceInput&&J.replace(),J.findPrev()},"Alt-Enter":function(){J.activeInput===J.replaceInput&&J.replaceAll(),J.findAll()},Tab:function(){b.activeInput===b.replaceInput?b.searchInput.focus():b.replaceInput.focus()}};b.element.addEventListener("keydown",function(ue){Object.keys(V).some(function(Y){var le=f(Y,ue);return le&&(ue.stopPropagation(),ue.preventDefault(),V[Y](ue)),le})})}function k(J,V,ue){if(!J)return Q(m),void q();var Y,le,te,Z,Ae,Se,ke,Be=J,we=V,Ce=!0,Qe=we.caseSensitive,Ve=we.regExp,ze=we.wholeWord;Ve&&(Be=Be.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")),ze&&(Be=Qe?Be=RegExp("\\b"+Be+"\\b"):RegExp("\\b"+Be+"\\b","i")),Ve&&(Be=RegExp(Be)),Q(m),$(m,Be,Qe),q(),ke=we.backwards?we.skipCurrent?"from":"to":we.skipCurrent?"to":"from",Se=m.getCursor(ke),Z=(te=m.getSearchCursor(Be,Se,!Qe)).findNext.bind(te),Ae=te.findPrevious.bind(te),te.matches.bind(te),we.backwards&&!Ae()?(Ce=Z())&&(m.setCursor(m.doc.size-1,0),k(J,V,ue),Y=!0):we.backwards||Z()||(Ce=Ae())&&(m.setCursor(0,0),k(J,V,ue),Y=!0),le=!Ce&&b.searchInput.value,u(b.searchBox,"ace_nomatch",le),!Y&&Ce&&ue(te)}function $(J,V,ue){var Y=H(J),le=V;le&&le!==Y.queryText&&(P(J,Y,le,ue),Y.posFrom=Y.posTo=J.getCursor())}function O(J){return J.replace(/\\([nrt\\])/g,function(V,ue){return ue=="n"?` +`:ue=="r"?"\r":ue=="t"?" ":ue=="\\"?"\\":V})}function B(J){var V=(typeof J=="object"?J.toString():J).match(/^\/(.*)\/([a-z]*)$/);if(V)try{J=new RegExp(V[1],V[2].indexOf("i")==-1?"":"i")}catch{}else J=O(J);return(typeof J=="string"?J=="":J.test(""))&&(J=/x^/),J}function P(J,V,ue,Y){V.queryText=ue,V.query=B(ue),J.removeOverlay(V.overlay,N(V.query,Y)),V.overlay=L(V.query,N(V.query,Y)),J.addOverlay(V.overlay),J.showMatchesOnScrollbar&&(V.annotate&&(V.annotate.clear(),V.annotate=null),V.annotate=J.showMatchesOnScrollbar(V.query,N(V.query,Y)))}function N(J,V){return typeof J=="string"&&!V}function L(J,V){return typeof J=="string"?J=new RegExp(J.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),V?"gi":"g"):J.global||(J=new RegExp(J.source,J.ignoreCase?"gi":"g")),{token:function(ue){J.lastIndex=ue.pos;var Y=J.exec(ue.string);if(Y&&Y.index==ue.pos)return ue.pos+=Y[0].length||1,"searching";Y?ue.pos=Y.index:ue.skipToEnd()}}}function R(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function H(J){return J.state.search||(J.state.search=new R)}function Q(J){J.operation(function(){var V=H(J);V.lastQuery=V.query,V.query&&(V.query=V.queryText=null,J.removeOverlay(V.overlay),V.annotate&&(V.annotate.clear(),V.annotate=null))})}function q(){var J,V=b.searchInput.value,ue=[];V&&(V=V.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),J=b.caseSensitiveOption.checked?RegExp(V,"g"):RegExp(V,"gi"),b.wholeWordOption.checked&&(J=b.caseSensitiveOption.checked?RegExp("\\b"+V+"\\b","g"):RegExp("\\b"+V+"\\b","gi")),b.regExpOption.checked&&(J=RegExp(V,"gi")),ue=m.getValue().match(J));var Y=ue?ue.length:0,le=m.display.wrapper.parentElement.querySelector(".ace_search_counter");le&&(le.innerText=Y+" matches found."),Y===0&&m.setSelection({ch:0,line:0},{ch:0,line:0})}function X(){var J=document.createElement("style"),V=[".ace_search {","color: black;","background-color: #ddd;","border: 1px solid #cbcbcb;","border-top: 0 none;","max-width: 325px;","overflow: hidden;","margin: 0;","padding: 4px;","padding-right: 6px;","padding-bottom: 0;","position: absolute;","top: 0px;","z-index: 99;","white-space: normal;","font-size: 12px;","}",".ace_search.left {","border-left: 0 none;","border-radius: 0px 0px 5px 0px;","left: 0;","}",".ace_search.right {","border-radius: 0px 0px 0px 5px;","border-right: 0 none;","right: 0;","}",".ace_search_form, .ace_replace_form {","border-radius: 3px;","border: 1px solid #cbcbcb;","float: left;","margin-bottom: 4px;","overflow: hidden;","}",".ace_search_form.ace_nomatch {","outline: 1px solid red;","}",".ace_search_field {","background-color: white;","border-right: 1px solid #cbcbcb;","border: 0 none;","-webkit-box-sizing: border-box;","-moz-box-sizing: border-box;","box-sizing: border-box;","float: left;","height: 22px;","outline: 0;","padding: 0 7px;","width: 238px;","margin: 0;","}",".ace_searchbtn,",".ace_replacebtn {","background: #fff;","border: 0 none;","border-left: 1px solid #dcdcdc;","cursor: pointer;","float: left;","height: 22px;","padding: 0 5px;","margin: 0;","position: relative;","}",".ace_searchbtn:last-child,",".ace_replacebtn:last-child {","border-top-right-radius: 3px;","border-bottom-right-radius: 3px;","}",".ace_searchbtn:disabled {","background: none;","cursor: default;","}",".ace_searchbtn {","background-position: 50% 50%;","background-repeat: no-repeat;","width: 27px;","}",".ace_searchbtn.prev {","background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=); ","}",".ace_searchbtn.next {","background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=); ","}",".ace_searchbtn_close {","background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;","border-radius: 50%;","border: 0 none;","color: #656565;","cursor: pointer;","float: right;","font: 16px/16px Arial;","height: 14px;","margin: 5px 1px 9px 5px;","padding: 0;","text-align: center;","width: 14px;","}",".ace_searchbtn_close:hover {","background-color: #656565;","background-position: 50% 100%;","color: white;","}",".ace_replacebtn.prev {","width: 54px","}",".ace_replacebtn.next {","width: 27px","}",".ace_button {","margin-left: 2px;","cursor: pointer;","-webkit-user-select: none;","-moz-user-select: none;","-o-user-select: none;","-ms-user-select: none;","user-select: none;","overflow: hidden;","opacity: 0.7;","border: 1px solid rgba(100,100,100,0.23);","padding: 1px;","-moz-box-sizing: border-box;","box-sizing: border-box;","color: black;","}",".ace_button:hover {","background-color: #eee;","opacity:1;","}",".ace_button:active {","background-color: #ddd;","}",".ace_button.checked {","border-color: #3399ff;","opacity:1;","}",".ace_search_options{","clear: both;","margin: 4px 0;","text-align: right;","-webkit-user-select: none;","-moz-user-select: none;","-o-user-select: none;","-ms-user-select: none;","user-select: none;","}",".replace_toggle{","float: left;","margin-top: -2px;","padding: 0 5px;"," }",".ace_search_counter{","float: left;","font-family: arial;","padding: 0 8px;","}","button svg,path {","pointer-events: none;","}"].join("");J.setAttribute("data-name","js-searchbox"),J.textContent=V,document.head.appendChild(J)}function re(){var J,V=m.getWrapperElement(),ue=document.createElement("div"),Y=['"].join("");return ue.innerHTML=Y,J=ue.firstChild,V.appendChild(J),J}C(),this.commands={toggleRegexpMode:function(){b.regExpOption.checked=!b.regExpOption.checked,b.$syncOptions()},toggleCaseSensitive:function(){b.caseSensitiveOption.checked=!b.caseSensitiveOption.checked,b.$syncOptions()},toggleWholeWords:function(){b.wholeWordOption.checked=!b.wholeWordOption.checked,b.$syncOptions()}},this.$syncOptions=function(){u(this.regExpOption,"checked",this.regExpOption.checked),u(this.wholeWordOption,"checked",this.wholeWordOption.checked),u(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.find(!1,!1)},this.find=function(J,V){k(this.searchInput.value,{skipCurrent:J,backwards:V,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked},function(ue){var Y=ue.matches(!1,ue.from());m.setSelection(Y.from,Y.to)})},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var J=this.searchInput.value,V=this.searchInput.value;u(this.searchBox,"ace_nomatch",V),m.showMatchesOnScrollbar&&m.showMatchesOnScrollbar(J),this.hide()},this.replace=function(){var J=m.getOption("readOnly"),V=!!m.getSelection();!J&&V&&m.replaceSelection(this.replaceInput.value,"start"),q()},this.replaceAndFindNext=function(){m.getOption("readOnly")||(this.replace(),this.findNext())},this.replaceAll=function(){var J,V,ue=this.searchInput.value,Y=this.replaceInput.value,le=RegExp(ue,this.caseSensitiveOption.checked?"g":"gi");this.wholeWordOption.checked&&!this.regExpOption.checked&&(le=this.caseSensitiveOption.checked?RegExp("\\b"+ue+"\\b","g"):RegExp("\\b"+ue+"\\b","gi")),!m.getOption("readOnly")&&m.getSelection()&&(V=m.getCursor(),J=(J=m.getValue()).replace(le,Y),m.setValue(J),m.setCursor(V)),q()},this.toggleReplace=function(){var J=m.display.wrapper;J.parentElement.querySelector("[action=toggleReplace]").innerText==="+"?(J.parentElement.querySelector("[action=toggleReplace]").innerText="-",this.replaceBox.style.display="",this.isReplace=!0):(J.parentElement.querySelector("[action=toggleReplace]").innerText="+",this.replaceBox.style.display="none",this.isReplace=!1)},this.hide=function(){Q(m);var J=m.getWrapperElement();o=null,J.removeChild(this.element),m.focus()},this.isVisible=function(){return this.element.style.display===""},this.show=function(J,V){this.element.style.display="",V||(this.replaceBox.style.display=V?"":"none"),this.isReplace=V,J&&(this.searchInput.value=J,this.find(!1,!1)),this.searchInput.focus(),this.searchInput.select()},this.isFocused=function(){var J=document.activeElement;return J===this.searchInput||J===this.replaceInput}}function u(m,b,w){m.classList[w?"add":"remove"](b)}function d(m,b){var w,C=function(){w=null,m()},T=function(k){w||(w=setTimeout(C,k||b))};return T.delay=function(k){w&&clearTimeout(w),w=setTimeout(C,k||b)},T.schedule=T,T.call=function(){this.cancel(),m()},T.cancel=function(){w&&clearTimeout(w),w=null},T.isPending=function(){return w},T}function f(m,b){var w,C={BACKSPACE:8,TAB:9,ENTER:13,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,UP:38,DOWN:40,INSERT:45,DELETE:46,INSERT_MAC:96,ASTERISK:106,PLUS:107,MINUS:109,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,SLASH:191,TRA:192,BACKSLASH:220};return g(m,b),w=m.split("|").some(function(T){var k;return k=T.split("-").some(function($){var O;switch($){case"Ctrl":O=b.ctrlKey;break;case"Shift":O=b.shiftKey;break;case"Alt":O=b.altKey;break;case"Cmd":O=b.metaKey;break;default:$.length===1?O=b.keyCode===$.charCodeAt(0):Object.keys(C).some(function(B){$.toUpperCase()===B&&(O=b.keyCode===C[B])})}return!O}),!k}),w}function g(m,b){if(typeof m!="string")throw Error("str should be string!");if(typeof b!="object")throw Error("event should be object!")}i.defineOption("searchbox",!1,function(m){m.addKeyMap({"Ctrl-F":function(){var b=m.display.wrapper;o&&b.parentElement.contains(o.searchBox)||(o=new s(m));var w=!1;b.parentElement.querySelector("[action=toggleReplace]")&&(w=b.parentElement.querySelector("[action=toggleReplace]").innerText==="-"),o.show(m.getSelection(),w)},Esc:function(){if(!o||!o.isVisible())return i.Pass;o.hide(),typeof event<"u"&&event.stopPropagation()},"Cmd-F":function(){var b=m.display.wrapper;o&&b.parentElement.contains(o.searchBox)||(o=new s(m));var w=!1;b.parentElement.querySelector("[action=toggleReplace]")&&(w=b.parentElement.querySelector("[action=toggleReplace]").innerText==="-"),o.show(m.getSelection(),w)}})})})(ev)});Jc(function(t,n){(function(i){function o(s,u){function d(g){clearTimeout(f.doRedraw),f.doRedraw=setTimeout(function(){f.redraw()},g)}this.cm=s,this.options=u,this.buttonHeight=u.scrollButtonHeight||s.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=s.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var f=this;s.on("refresh",this.resizeHandler=function(){clearTimeout(f.doUpdate),f.doUpdate=setTimeout(function(){f.computeScale()&&d(20)},100)}),s.on("markerAdded",this.resizeHandler),s.on("markerCleared",this.resizeHandler),u.listenForChanges!==!1&&s.on("changes",this.changeHandler=function(){d(250)})}i.defineExtension("annotateScrollbar",function(s){return typeof s=="string"&&(s={className:s}),new o(this,s)}),i.defineOption("scrollButtonHeight",0),o.prototype.computeScale=function(){var s=this.cm,u=(s.getWrapperElement().clientHeight-s.display.barHeight-2*this.buttonHeight)/s.getScrollerElement().scrollHeight;if(u!=this.hScale)return this.hScale=u,!0},o.prototype.update=function(s){this.annotations=s,this.redraw()},o.prototype.redraw=function(s){s!==!1&&this.computeScale();var u=this.cm,d=this.hScale,f=document.createDocumentFragment(),g=this.annotations,m=u.getOption("lineWrapping"),b=m&&1.5*u.defaultTextHeight(),w=null,C=null;function T(H,Q){if(w!=H.line){w=H.line,C=u.getLineHandle(H.line);var q=u.getLineHandleVisualStart(C);q!=C&&(w=u.getLineNumber(q),C=q)}return C.widgets&&C.widgets.length||m&&C.height>b?u.charCoords(H,"local")[Q?"top":"bottom"]:u.heightAtLine(C,"local")+(Q?0:C.height)}var k=u.lastLine();if(u.display.barWidth)for(var $,O=0;Ok)){for(var P=$||T(B.from,!0)*d,N=T(B.to,!1)*d;Ok)&&!(($=T(g[O+1].from,!0)*d)>N+.9);)N=T((B=g[++O]).to,!1)*d;if(N!=P){var L=Math.max(N-P,3),R=f.appendChild(document.createElement("div"));R.style.cssText="position: absolute; right: 0px; width: "+Math.max(u.display.barWidth-1,2)+"px; top: "+(P+this.buttonHeight)+"px; height: "+L+"px",R.className=this.options.className,B.id&&R.setAttribute("annotation-id",B.id)}}}this.div.textContent="",this.div.appendChild(f)},o.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}})(ev)});Jc(function(t,n){(function(i){function o(d,f,g,m){this.cm=d,this.options=m;var b={listenForChanges:!1};for(var w in m)b[w]=m[w];b.className||(b.className="CodeMirror-search-match"),this.annotation=d.annotateScrollbar(b),this.query=f,this.caseFold=g,this.gap={from:d.firstLine(),to:d.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var C=this;d.on("change",this.changeHandler=function(T,k){C.onChange(k)})}i.defineExtension("showMatchesOnScrollbar",function(d,f,g){return typeof g=="string"&&(g={className:g}),g||(g={}),new o(this,d,f,g)});var s=1e3;function u(d,f,g){return d<=f?d:Math.max(f,d+g)}o.prototype.findMatches=function(){if(this.gap){for(var d=0;d=this.gap.to);d++)m.to.line>=this.gap.from&&this.matches.splice(d--,1);for(var f=this.cm.getSearchCursor(this.query,i.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),g=this.options&&this.options.maxMatches||s;f.findNext();){var m;if((m={from:f.from(),to:f.to()}).from.line>=this.gap.to||(this.matches.splice(d++,0,m),this.matches.length>g))break}this.gap=null}},o.prototype.onChange=function(d){var f=d.from.line,g=i.changeEnd(d).line,m=g-d.to.line;if(this.gap?(this.gap.from=Math.min(u(this.gap.from,f,m),d.from.line),this.gap.to=Math.max(u(this.gap.to,f,m),d.from.line)):this.gap={from:d.from.line,to:g+1},m)for(var b=0;bt.length)&&(n=t.length);for(var i=0,o=new Array(n);i>>0||(rzn(SJt,i)?16:10))}:xie;Ho({global:!0,forced:parseInt!=kDt},{parseInt:kDt});var i2=jc.parseInt,izn=Fi.RangeError;Ho({target:"String",proto:!0},{repeat:function(t){var n=Wu(RL(this)),i="",o=tG(t);if(o<0||o==1/0)throw izn("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(i+=n);return i}});var ozn=Ig("String").repeat,sje=String.prototype,Gf=function(t){var n=t.repeat;return typeof t=="string"||t===sje||of(sje,t)&&n===sje.repeat?ozn:n},azn={run:function(t){var n,i="
".concat(t,"
");this.tagParser.formatEngine=this.mdFormatEngine,i=i.replace(//g,"");var o=this.htmlParser.parseHtml(i);return o=this.paragraphStyleClear(o),Ra(n=this.$dealHtml(o).replace(/\n{3,}/g,` + + +`).replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&")).call(n,` +`)},$dealHtml:function(t){for(var n="",i=0;i0&&(n+=o.content.replace(/ /g," ").replace(/[\n]+/g,` +`).replace(/^[ \t\n]+\n\s*$/,` +`))}return n},$handleTagObject:function(t,n){var i,o=n;return t.attrs.class&&/(ch-icon-square|ch-icon-check)/.test(t.attrs.class)?vu(i=t.attrs.class).call(i,"ch-icon-check")>=0?o+="[x]":o+="[ ]":t.attrs.class&&/cherry-code-preview-lang-select/.test(t.attrs.class)?o+="":o+=this.$dealTag(t),o},$dealTag:function(t){var n=this,i="";return t.children&&(i=n.$dealHtml(t.children)),/(style|meta|link|script)/.test(t.name)?"":t.name==="code"||t.name==="pre"?n.tagParser.codeParser(t,n.$dealCodeTag(t),t.name==="pre"):typeof n.tagParser["".concat(t.name,"Parser")]=="function"?n.tagParser["".concat(t.name,"Parser")](t,i):i},$dealCodeTag:function(t){if(t.children.length<0)return"";for(var n="",i=0;i])+>/g,empty:Nae?Nae(null):{},parseTags:function(t){var n,i=this,o=0,s={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return t.replace(this.attrRE,function(u){o%2?n=u:o===0?((i.lookup[u]||t.charAt(t.length-2)==="/")&&(s.voidElement=!0),s.name=u):s.attrs[n]=u.replace(/['"]/g,""),o+=1}),s},parseHtml:function(t,n){var i=this,o=n||{};o.components||(o.components=this.empty);var s,u=[],d=-1,f=[],g={},m=!1;return t.replace(this.tagRE,function(b,w){if(m){if(b!==""))return;m=!1}var C,T=b.charAt(1)!=="/",k=w+b.length,$=t.charAt(k);T&&(d+=1,(s=i.parseTags(b)).type==="tag"&&o.components[s.name]&&(s.type="component",m=!0),s.voidElement||m||!$||$==="<"||s.children.push({type:"text",content:Eo(t).call(t,k,vu(t).call(t,"<",k))}),g[s.tagName]=s,d===0&&u.push(s),(C=f[d-1])&&C.children.push(s),f[d]=s),T&&!s.voidElement||(d-=1,!m&&$!=="<"&&$&&f[d]&&f[d].children.push({type:"text",content:Eo(t).call(t,k,vu(t).call(t,"<",k))}))}),u}},tagParser:{formatEngine:{},pParser:function(t,n){var i=n;return/\n$/.test(i)?i:"".concat(i,` +`)},divParser:function(t,n){var i=n;return/\n$/.test(i)?i:"".concat(i,` +`)},spanParser:function(t,n){var i=n.replace(/\t/g,"").replace(/\n/g," ");return t.attrs&&t.attrs.style,i},codeParser:function(t,n){var i=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.formatEngine.convertCode(n,i)},brParser:function(t,n){return this.formatEngine.convertBr(n,` +`)},imgParser:function(t,n){return t.attrs&&t.attrs["data-control"]==="tapd-graph"?this.formatEngine.convertGraph(t.attrs.title,t.attrs.src,t.attrs["data-origin-xml"],t):t.attrs&&t.attrs.src?this.formatEngine.convertImg(t.attrs.alt,t.attrs.src):void 0},videoParser:function(t,n){if(t.attrs&&t.attrs.src)return this.formatEngine.convertVideo(n,t.attrs.src,t.attrs.poster,t.attrs.title)},bParser:function(t,n){for(var i=n.split(` +`),o=[],s=0;s0?o:""}return""},bgColorAttrParser:function(t){var n=t.match(/background-color:\s*([^;]+?);/);if(n&&n[1]){var i="";if(/rgb\([ 0-9]+,[ 0-9]+,[ 0-9]+\)/.test(n[1])){var o,s,u,d,f,g=n[1].match(/rgb\(([ 0-9]+),([ 0-9]+),([ 0-9]+)\)/);g[1]&&g[2]&&g[3]&&(g[1]=i2(Ra(o=g[1]).call(o),10),g[2]=i2(Ra(s=g[2]).call(s),10),g[3]=i2(Ra(u=g[3]).call(u),10),i=St(d=St(f="#".concat(g[1].toString(16))).call(f,g[2].toString(16))).call(d,g[3].toString(16)))}else i=od(n,2)[1];return i}return""}}},mdFormatEngine:{convertColor:function(t,n){var i,o=Ra(t).call(t);return!o||/\n/.test(o)?o:n?St(i="!!".concat(n," ")).call(i,o,"!!"):o},convertSize:function(t,n){var i,o=Ra(t).call(t);return!o||/\n/.test(o)?o:n?St(i="!".concat(n," ")).call(i,o,"!"):o},convertBgColor:function(t,n){var i,o=Ra(t).call(t);return!o||/\n/.test(o)?o:n?St(i="!!!".concat(n," ")).call(i,o,"!!!"):o},convertBr:function(t,n){return t+n},convertCode:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return/\n/.test(t)||n?"```\n".concat(t.replace(/\n+$/,""),"\n```"):"`".concat(t.replace(/`/g,"\\`"),"`")},convertB:function(t){return/^\s*$/.test(t)?"":"**".concat(t,"**")},convertI:function(t){return/^\s*$/.test(t)?"":"*".concat(t,"*")},convertU:function(t){return/^\s*$/.test(t)?"":" /".concat(t,"/ ")},convertImg:function(t,n){var i,o=t&&t.length>0?t:"image";return St(i="![".concat(o,"](")).call(i,n,")")},convertGraph:function(t,n,i,o){var s,u,d,f=t&&t.length>0?t:"graph",g="";if(o)try{var m,b=o.attrs;Wo(m=ad(b)).call(m,function(w){var C;Object.prototype.hasOwnProperty.call(b,w)&&vu(w).call(w,"data-graph-")>=0&&b[w]&&(g+=St(C=" ".concat(w,"=")).call(C,b[w]))})}catch{}return St(s=St(u=St(d="![".concat(f,"](")).call(d,n,"){data-control=tapd-graph data-origin-xml=")).call(u,i)).call(s,g,"}")},convertVideo:function(t,n,i,o){var s,u,d=o&&o.length>0?o:"video";return St(s=St(u="!video[".concat(d,"](")).call(u,n,"){poster=")).call(s,i,"}")},convertA:function(t,n){var i;if(t===n)return"".concat(t," ");var o=Ra(t).call(t);return o&&St(i="[".concat(o,"](")).call(i,n,")")},convertSup:function(t){return"^".concat(Ra(t).call(t).replace(/\^/g,"\\^"),"^")},convertSub:function(t){return"^^".concat(Ra(t).call(t).replace(/\^\^/g,"\\^\\^"),"^^")},convertTd:function(t){return"~|".concat(Ra(t).call(t).replace(/\n{1,}/g,"
").replace(/ /g,"~s~")," ~|")},convertTh:function(t){return/^\s*$/.test(t)?"":"~|".concat(Ra(t).call(t).replace(/\n{1,}/g,"
")," ~|")},convertTr:function(t){return/^\s*$/.test(t)?"":"".concat(Ra(t).call(t).replace(/\n/g,""),` +`)},convertThead:function(t){var n,i="".concat(t.replace(/[ \t]+/g,"").replace(/~\|~\|/g,"~|").replace(/~\|/g,"|"),` +`),o=i.match(/\|/g).length-1;return St(n="".concat(i,"|")).call(n,Gf(":-:|").call(":-:|",o),` +`)},convertTable:function(t){var n=` +`.concat(t.replace(/[ \t]+/g,"").replace(/~\|~\|/g,"~|").replace(/~\|/g,"|"),` +`).replace(/\n{2,}/g,` +`).replace(/\n[ \t]+\n/g,` +`).replace(/~s~/g," ");if(!/\|:-:\|/.test(n)){var i,o,s=n.match(/^\n[^\n]+\n/)[0].match(/\|/g).length-1;n=St(i=St(o=` +|`.concat(Gf(" |").call(" |",s),` +|`)).call(o,Gf(":-:|").call(":-:|",s))).call(i,n)}return n},convertLi:function(t){return"- ".concat(t.replace(/^\n/,"").replace(/\n+$/,"").replace(/\n+/g,` + `),` +`)},convertUl:function(t){return"".concat(t,` +`)},convertOl:function(t){for(var n=t.split(` +`),i=1,o=0;o".concat(Ra(t).call(t),` + +`)},convertAddress:function(t){return">".concat(Ra(t).call(t),` + +`)}},paragraphStyleClear:function(t){for(var n=0;n1)for(var d=0;d=0?i:i>=0?i+o:Math.min(i,o)}function uzn(t){var n=t.previousElementSibling,i=t.nextElementSibling;if(!n){var o=getComputedStyle(t),s=t.getBoundingClientRect();if(!i)return{height:Math.max(Jm(o.marginTop)+s.height+Jm(o.marginBottom),0),offsetTop:t.offsetTop-Math.abs(Jm(o.marginTop))};var u=getComputedStyle(i),d=IDt(o.marginBottom,u.marginTop);return{height:Math.max(Jm(o.marginTop)+s.height+d,0),offsetTop:t.offsetTop-Math.abs(Jm(o.marginTop))}}var f=getComputedStyle(t),g=t.getBoundingClientRect(),m=function(C,T){var k=Jm(C),$=Jm(T);return $<0?0:k>=0?Math.max($-k,0):$}(getComputedStyle(n).marginBottom,f.marginTop);if(!i)return{height:Math.max(m+g.height+Jm(f.marginBottom),0),offsetTop:t.offsetTop-Math.abs(Jm(f.marginTop))};var b=getComputedStyle(i),w=IDt(f.marginBottom,b.marginTop);return{height:Math.max(m+g.height+w,0),offsetTop:t.offsetTop-Math.abs(m)}}function EJt(t,n){if(!t||!t.tagName)return"";var i,o,s=document.createElement("div");return s.appendChild(t.cloneNode(!1)),i=s.innerHTML,n&&(o=vu(i).call(i,">")+1,i=i.substring(0,o)+t.innerHTML+i.substring(o)),s=null,i}function Vu(t){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=document.createElement(t);return s.className=i,o!==void 0&&Wo(n=ad(o)).call(n,function(u){var d=o[u];if(vX(u).call(u,"data-")){var f=u.replace(/^data-/,"");s.dataset[f]=d}else s.setAttribute(u,d)}),s}var dzn={showSwitchBtnAfterPasteHtml:function(t,n,i,o,s){Ra(o).call(o)!==Ra(s).call(s)&&(this.init(t,n,i,o,s),this.setSelection(),this.bindListener(),this.initBubble(),this.showBubble(),this.getTypeFromLocalStorage()==="text"&&this.switchTextClick())},init:function(t,n,i,o,s){this.$cherry=t,this.html=o,this.md=s,this.codemirror=i,this.currentCursor=n,this.locale=t.locale},getTypeFromLocalStorage:function(){return typeof localStorage>"u"?"md":localStorage.getItem("cherry-paste-type")||"md"},setTypeToLocalStorage:function(t){typeof localStorage<"u"&&localStorage.setItem("cherry-paste-type",t)},setSelection:function(){var t=CVe({},this.codemirror.getCursor()),n=this.currentCursor;this.codemirror.setSelection(n,t)},bindListener:function(){var t=this;if(this.hasBindListener)return!0;this.hasBindListener=!0,this.codemirror.on("beforeSelectionChange",function(n,i){t.hideBubble()}),this.codemirror.on("beforeChange",function(n,i){t.hideBubble()}),this.codemirror.on("scroll",function(n){t.updatePositionWhenScroll()})},isHidden:function(){return this.bubbleDom.style.display==="none"},toggleBubbleDisplay:function(){this.isHidden()?this.bubbleDom.style.display="":this.bubbleDom.style.display="none"},hideBubble:function(){if(this.noHide)return!0;this.isHidden()||this.toggleBubbleDisplay()},updatePositionWhenScroll:function(){if(!this.isHidden()){var t=this.bubbleDom.dataset.scrollTop-this.getScrollTop();this.bubbleDom.style.marginTop="".concat(t,"px")}},getScrollTop:function(){return this.codemirror.getScrollInfo().top},showBubble:function(){var t=this.getLastSelectedPosition().top;this.isHidden()&&(this.toggleBubbleDisplay(),this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=this.getScrollTop()),t>this.codemirror.getWrapperElement().clientHeight-this.bubbleDom.getBoundingClientRect().height-15?(this.bubbleDom.style.top="",this.bubbleDom.style.bottom="".concat(15,"px")):(this.bubbleDom.style.top="".concat(t,"px"),this.bubbleDom.style.bottom="")},initBubble:function(){var t,n;if(this.bubbleDom)return this.bubbleDom.setAttribute("data-type","md"),!0;var i=Vu("div","cherry-bubble cherry-bubble--centered cherry-switch-paste");i.style.display="none";var o=Vu("span","cherry-toolbar-button cherry-text-btn",{title:this.locale.pastePlain});o.innerText="TEXT";var s=Vu("span","cherry-toolbar-button cherry-md-btn",{title:this.locale.pasteMarkdown});s.innerText="Markdown";var u=Vu("span","switch-btn--bg");this.bubbleDom=i,this.switchText=o,this.switchMd=s,this.switchBG=u,this.bubbleDom.appendChild(o),this.bubbleDom.appendChild(s),this.bubbleDom.appendChild(u),this.bubbleDom.setAttribute("data-type","md"),this.codemirror.getWrapperElement().appendChild(this.bubbleDom),this.switchMd.addEventListener("click",va(t=this.switchMDClick).call(t,this)),this.switchText.addEventListener("click",va(n=this.switchTextClick).call(n,this))},switchMDClick:function(t){this.setTypeToLocalStorage("md"),this.bubbleDom.getAttribute("data-type")!=="md"&&(this.noHide=!0,this.bubbleDom.setAttribute("data-type","md"),this.codemirror.doc.replaceSelection(this.md),this.setSelection(),this.showBubble(),this.noHide=!1)},switchTextClick:function(t){this.setTypeToLocalStorage("text"),this.bubbleDom.getAttribute("data-type")!=="text"&&(this.noHide=!0,this.bubbleDom.setAttribute("data-type","text"),this.codemirror.doc.replaceSelection(this.html),this.setSelection(),this.showBubble(),this.noHide=!1)},getLastSelectedPosition:function(){var t=mu(this.codemirror.getWrapperElement().getElementsByClassName("CodeMirror-selected")),n=0,i=0;if(t.length<=0)return this.hideBubble(),{};for(var o=0;oi&&u>=n&&(i=d),u>n&&(n=u)}return{top:i}}},hzn=dzn;function WP(t,n,i,o){return t.addEventListener?(t.addEventListener(n,i,o),!0):t.attachEvent?t.attachEvent("on".concat(n),i):void(t["on".concat(n)]=i)}function lje(t,n,i,o){if(t.removeEventListener)t.removeEventListener(n,i,o);else{if(t.detachEvent)return t.detachEvent("on".concat(n),i);t["on".concat(n)]=null}}var Py=new Proxy({},{get:function(t,n,i){return function(){}}}),wl=new(function(){function t(){var n;vi(this,t),Ni(this,"Events",{previewerClose:"previewer:close",previewerOpen:"previewer:open",editorClose:"editor:close",editorOpen:"editor:open",toolbarHide:"toolbar:hide",toolbarShow:"toolbar:show",cleanAllSubMenus:"cleanAllSubMenus"}),Ni(this,"emitter",{all:n=n||new Map,on:function(i,o){var s=n.get(i);s?s.push(o):n.set(i,[o])},off:function(i,o){var s=n.get(i);s&&(o?s.splice(s.indexOf(o)>>>0,1):n.set(i,[]))},emit:function(i,o){var s=n.get(i);s&&s.slice().map(function(u){u(o)}),(s=n.get("*"))&&s.slice().map(function(u){u(i,o)})}})}return bi(t,[{key:"on",value:function(n,i,o){var s;this.emitter.on(St(s="".concat(n,":")).call(s,i),o)}},{key:"emit",value:function(n,i){var o;this.emitter.emit(St(o="".concat(n,":")).call(o,i))}}]),t}());function iG(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"image",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"*",o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=document.createElement("input");s.type="file",s.id="fileUpload",s.value="",s.style.display="none",s.accept=i,s.addEventListener("change",function(u){var d=od(u.target.files,1)[0];t.options.fileUpload(d,function(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof f=="string"&&f){if(o)return o(d.name,f,g);var m,b="";if(n==="image")b=St(m="![".concat(d.name,"](")).call(m,f,")");else if(n==="video"){var w;b=St(w="!video[".concat(d.name,"](")).call(w,f,")")}else if(n==="audio"){var C;b=St(C="!audio[".concat(d.name,"](")).call(C,f,")")}else{var T;b=St(T="[".concat(d.name,"](")).call(T,f,")")}t.editor.doc.replaceSelection(b)}})}),s.click()}function Y5e(t){var n=[];return t!=null&&t.isBorder&&n.push("#B"),t!=null&&t.isShadow&&n.push("#S"),t!=null&&t.isRadius&&n.push("#R"),t!=null&&t.width&&n.push("#".concat(t.width)),t!=null&&t.height&&(t.width||n.push("#auto"),n.push("#".concat(t.height))),n.join(" ")}function ODt(t,n,i){var o,s,u,d,f,g=(o=n==null?void 0:n.name)!==null&&o!==void 0?o:i.name,m="",b="";/video/i.test(i.type)&&(m="!video",b=n!=null&&n.poster?"{poster=".concat(n.poster,"}"):""),/audio/i.test(i.type)&&(m="!audio"),/image/i.test(i.type)&&(m="!");var w=m?Y5e(n):"";return St(s=St(u=St(d=St(f="".concat(m,"[")).call(f,g)).call(d,w,"](")).call(u,t,")")).call(s,b)}function MDt(t,n){var i=ad(t);if(P1){var o=P1(t);n&&(o=Jf(o).call(o,function(s){return Og(t,s).enumerable})),i.push.apply(i,o)}return i}function PDt(t){for(var n=1;n\\x00-\\x1f"\\(\\)]*)?'),_Jt=new RegExp("(?:\\/\\/)".concat(VYe.source)),FDt=new RegExp("^".concat(VYe.source,"$")),NDt=new RegExp("^".concat(_Jt.source,"$")),$Jt=/^([ \t]*)([*+-][ ](\[[ x]\])?|[0-9一二三四五六七八九十零]+\.|[a-z]\.|\b(?:M{0,3}(?:CM|CD|D?C{0,3})(?:XC|XL|L?X{0,3})(?:IX|IV|V?I{0,3}))\b\.)([^\r\n]*)/;function q5e(){var t,n=arguments.length>0&&arguments[0]!==void 0&&arguments[0],i={begin:"(?:^|\\n)(\\n*)",content:["(\\h*\\|[^\\n]+\\|?\\h*)","\\n","(?:(?:\\h*\\|\\h*:?[-]{1,}:?\\h*)+\\|?\\h*)","((\\n\\h*\\|[^\\n]+\\|?\\h*)*)"].join(""),end:"(?=$|\\n)"};i.reg=rb(i,"g",!0);var o={begin:"(?:^|\\n)(\\n*)",content:["(\\|?[^\\n|]+(\\|[^\\n|]+)+\\|?)","\\n","(?:\\|?\\h*:?[-]{1,}:?[\\h]*(?:\\|[\\h]*:?[-]{1,}:?\\h*)+\\|?)","((\\n\\|?([^\\n|]+(\\|[^\\n|]*)+)\\|?)*)"].join(""),end:"(?=$|\\n)"};return o.reg=rb(o,"g",!0),n===!1?{strict:i,loose:o}:rb({begin:"",content:St(t="(?:".concat(i.begin+i.content+i.end,"|")).call(t,o.begin+o.content+o.end,")"),end:""},"g",!0)}function J5e(){var t={begin:/(?:^|\n)(\n*((?:>[\t ]*)*)(?:[^\S\n]*))(`{3,})([^`]*?)\n/,content:/([\w\W]*?)/,end:/[^\S\n]*\3[ \t]*(?=$|\n+)/,reg:new RegExp("")};return t.reg=new RegExp(t.begin.source+t.content.source+t.end.source,"g"),PDt(PDt({},t),{},{begin:t.begin.source,content:t.content.source,end:t.end.source})}function Z5e(t,n){var i=t||`Item 1 + Item 1.1 +Item 2`;i=i.replace(/^\n+/,"").replace(/\n+$/,"");var o="1.";switch(n){case"ol":o="1.";break;case"ul":o="-";break;case"checklist":o="- [x]"}if(i=i.replace(/^(\s*)([0-9a-zA-Z]+\.|- \[x\]|- \[ \]|-) /gm,"$1"),o==="1."){var s={};i=i.replace(/^(\s*)(\S[\s\S]*?)$/gm,function(u,d,f){var g,m,b,w=((g=d.match(/[ \t]/g))===null||g===void 0?void 0:g.length)||0;return s[w]=s[w]?s[w]+1:1,St(m=St(b="".concat(d)).call(b,s[w],". ")).call(m,f)})}else i=i.replace(/^(\s*)(\S[\s\S]*?)$/gm,"$1".concat(o," $2"));return i}function WYe(){var t={begin:/(?:^|\n)(\n*(?:[^\S\n]*)):::([^:][^\n]+?)\s*\n/,content:/([\w\W]*?)/,end:/\n[ \t]*:::[ \t]*(?=$|\n+)/};return t.reg=new RegExp(t.begin.source+t.content.source+t.end.source,"g"),t}function IJt(){var t={begin:/(?:^|\n)(\n*(?:[^\S\n]*))\+\+\+([-]{0,1})\s+([^\n]+)\n/,content:/([\w\W]+?)/,end:/\n[ \t]*\+\+\+[ \t]*(?=$|\n+)/};return t.reg=new RegExp(t.begin.source+t.content.source+t.end.source,"g"),t}var fzn=/(\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,)([^)]+)\)/g,gzn=/(!\[[^\n]*?\]\([^)]+\)\{[^}]* data-xml=)([^}]+)\}/g,RDt=/(!\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,[^)]+\)\{data-type=drawio data-xml=[^}]+\})/g,kye=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").replace(J5e().reg,function(t){return t.replace(/^.*$/gm,"/n")}).replace(/(`+)(.+?(?:\n.+?)*?)\1/g,function(t){return t.replace(/[![\]()]/g,".")})};function pzn(t){(function(n){var i=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)/,o=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)$/;if(n.getOption("disableInput"))return!1;for(var s=n.listSelections(),u=[],d=0;d0)){var N=Vu("span","cm-string ".concat(d),{title:T});N.textContent=T,i.noChange=!0,f.markText(B,P,{replacedWith:N,atomic:!0})}}}}),Ni(this,"onKeyup",function(u,d){var f=d.getCursor().line;i.previewer.highlightLine(f+1)}),Ni(this,"onScroll",function(u){if(wl.emit(i.instanceId,wl.Events.cleanAllSubMenus),i.disableScrollListener)i.disableScrollListener=!1;else{var d=u.getScrollerElement();if(d.scrollTop<=0)i.previewer.scrollToLineNum(0);else if(d.scrollTop+d.clientHeight>=d.scrollHeight-20)i.previewer.scrollToLineNum(null);else{var f=u.getScrollInfo().top,g=u.lineAtHeight(f,"local"),m=u.charCoords({line:g,ch:0},"local"),b=u.getLineHandle(g).height,w=100*(f-(m.bottom-b))/b/100;i.previewer.scrollToLineNum(g+1,w)}}}),Ni(this,"onMouseDown",function(u,d){wl.emit(i.instanceId,wl.Events.cleanAllSubMenus);var f=u.getCursor().line,g=Math.abs(d.y-u.getWrapperElement().getBoundingClientRect().y);i.previewer.scrollToLineNumWithOffset(f+1,g),i.toHalfWidth(u,d)}),Ni(this,"onCursorActivity",function(){i.refreshWritingStatus()}),this.options={id:"code",name:"code",autoSave2Textarea:!1,editorDom:document.createElement("div"),wrapperDom:null,autoScrollByCursor:!0,convertWhenPaste:!0,codemirror:{lineNumbers:!1,cursorHeight:.85,indentUnit:4,tabSize:4,mode:"gfm",lineWrapping:!0,indentWithTabs:!0,autofocus:!0,theme:"default",autoCloseTags:!0,extraKeys:{Enter:pzn},matchTags:{bothTags:!0},placeholder:"",keyMap:"sublime"},toolbars:{},onKeydown:function(){},onChange:function(){},onFocus:function(){},onBlur:function(){},onPaste:this.onPaste,onScroll:this.onScroll},this.animation={};var o=n.codemirror,s=_Un(n,Azn);o&&m$(this.options.codemirror,o),m$(this.options,s),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId()}return bi(t,[{key:"formatFullWidthMark",value:function(){var n,i=this.editor,o=/[·¥、:“”【】()《》]/,s=i.getSearchCursor(o),u=s.findNext();for(Wo(n=i.getAllMarks()).call(n,function(b){if(b.className==="cm-fullWidth"){var w=JSON.parse(QYe(Fae(b).call(b))),C=i.getRange(w.from,w.to);o.test(C)||b.clear()}});u!==!1;u=s.findNext()){var d,f=s.from();if(f){var g={line:f.line,ch:f.ch},m={line:f.line,ch:f.ch+1};Jf(d=i.findMarks(g,m)).call(d,function(b){return b.className==="cm-fullWidth"}).length===0&&i.markText(g,m,{className:"cm-fullWidth",title:"按住Ctrl/Cmd点击切换成半角(Hold down Ctrl/Cmd and click to switch to half-width)"})}}}},{key:"toHalfWidth",value:function(n,i){var o=i.target;if(o instanceof HTMLElement&&o.classList.contains("cm-fullWidth")&&(i.ctrlKey||i.metaKey)&&i.buttons===1){var s=o.getBoundingClientRect(),u=n.coordsChar({left:s.left,top:s.top}),d={line:u.line,ch:u.ch+1};n.setSelection(u,d),n.replaceSelection(o.innerText.replace("·","`").replace("¥","$").replace("、","/").replace(":",":").replace("“",'"').replace("”",'"').replace("【","[").replace("】","]").replace("(","(").replace(")",")").replace("《","<").replace("》",">"))}}},{key:"onPaste",value:function(n,i){var o=n.clipboardData;o?this.handlePaste(n,o,i):(o=window.clipboardData,this.handlePaste(n,o,i))}},{key:"handlePaste",value:function(n,i,o){var s=this;this.pasterHtml=!1;for(var u=i.items,d=i.types||[],f=o.getDoc(),g=0;g1&&arguments[1]!==void 0?arguments[1]:{},O);if(s.pasterHtml){var N=o.getCursor(),L=N.line,R=N.ch;o.setSelection({line:L,ch:R},{line:L,ch:R}),f.replaceSelection(` +`.concat(P),"end")}else f.replaceSelection(P)}}),n.preventDefault()}()}var b=i.getData("text/plain"),w=i.getData("Text/Html");if(!w||!this.options.convertWhenPaste)return!0;var C=document.createElement("DIV");C.innerHTML=w,w=C.innerHTML;var T=TJt.run(w);if(typeof T=="string"&&Ra(T).call(T).length>0){this.pasterHtml=!0;var k=o.listSelections();if(o.getSelections().length<=1&&k[0]&&k[0].anchor){var $={};$.line=k[0].anchor.line,$.ch=k[0].anchor.ch,f.replaceSelection(T),hzn.showSwitchBtnAfterPasteHtml(this.$cherry,$,o,b,T)}else f.replaceSelection(T);n.preventDefault()}C=null}},{key:"storeDocumentScroll",value:function(){this.options.keepDocumentScrollAfterInit&&(this.needRestoreDocumentScroll=!0,this.documentElementScrollTop=document.documentElement.scrollTop,this.documentElementScrollLeft=document.documentElement.scrollLeft)}},{key:"restoreDocumentScroll",value:function(){this.options.keepDocumentScrollAfterInit&&this.needRestoreDocumentScroll&&(this.needRestoreDocumentScroll=!1,window.scrollTo(this.documentElementScrollLeft,this.documentElementScrollTop))}},{key:"init",value:function(n){var i=this;this.storeDocumentScroll();var o=this.options.editorDom.querySelector("#".concat(this.options.id));if(!(o instanceof HTMLTextAreaElement))throw new Error("The specific element is not a textarea.");var s=ev.fromTextArea(o,this.options.codemirror);s.addOverlay({name:"invisibles",token:function(u){var d,f=0,g=u.peek()===" ";if(g){for(;g&&f0&&gA(function(){for(var g=function(b){var w=f[b],C=w.type||"";if(C===""||/^text/i.test(C))return"continue";i.options.fileUpload(w,function(T){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof T=="string"){u.setSelection(u.getCursor());var $=ODt(T,k,w),O=b>0?` +`.concat($," "):"".concat($," ");u.replaceSelection(O),i.dealSpecialWords()}})},m=0;m0){if(g>=s.animation.destinationTop)return void(s.animation.timer=0);s.disableScrollListener=!0,s.editor.scrollTo(null,g+b)}else{if(!(m<0)||g<=s.animation.destinationTop||g<=0)return void(s.animation.timer=0);s.disableScrollListener=!0,s.editor.scrollTo(null,g-b)}g===s.editor.getScrollInfo().top||b>=Math.abs(m)?s.animation.timer=0:s.animation.timer=requestAnimationFrame(f)}))}},{key:"scrollToLineNum",value:function(n,i,o){if(n!==null){var s=Math.max(0,n);this.jumpToLine(s,i,o),Py.log("滚动预览区域,左侧应scroll to ",s)}else this.jumpToLine(null)}},{key:"getEditorDom",value:function(){return this.options.editorDom}},{key:"addListener",value:function(n,i){this.editor.on(n,i)}},{key:"initWritingStyle",value:function(){var n,i,o=this.options.writingStyle,s="cherry-editor-writing-style--".concat(o),u=this.getEditorDom();Wo(n=Jf(i=mu(u.classList)).call(i,function(d){return vX(d).call(d,"cherry-editor-writing-style--")})).call(n,function(d){return u.classList.remove(d)}),o!=="normal"&&(u.classList.add(s),this.refreshWritingStatus())}},{key:"refreshWritingStatus",value:function(){var n,i,o=this.options.writingStyle;if(o==="focus"||o==="typewriter"){var s="cherry-editor-writing-style--".concat(o),u=document.querySelector("#cherry-editor-writing-style")||document.createElement("style");u.id="cherry-editor-writing-style",Fae(n=mu(document.head.childNodes)).call(n,function(P){return P===u})||document.head.appendChild(u);var d=u.sheet;if(Wo(i=mu(Array(d.cssRules.length))).call(i,function(){return d.deleteRule(0)}),o==="focus"){var f,g,m=this.getEditorDom().getBoundingClientRect(),b=this.editor.charCoords(this.editor.getCursor()),w=b.top,C=b.bottom,T=w-m.top,k=m.height-(C-m.top);d.insertRule(St(f=".".concat(s,"::before { height: ")).call(f,T>0?T:0,"px; }"),0),d.insertRule(St(g=".".concat(s,"::after { height: ")).call(g,k>0?k:0,"px; }"),0)}if(o==="typewriter"){var $,O,B=this.editor.getScrollInfo().clientHeight/2;d.insertRule(St($=".".concat(s," .CodeMirror-lines::before { height: ")).call($,B,"px; }"),0),d.insertRule(St(O=".".concat(s," .CodeMirror-lines::after { height: ")).call(O,B,"px; }"),0),this.editor.scrollTo(null,this.editor.cursorCoords(null,"local").top-B)}}}},{key:"setWritingStyle",value:function(n){this.options.writingStyle=n,this.initWritingStyle()}}]),t}(),vzn=X$.findIndex,HDt="findIndex",QDt=!0;HDt in[]&&Array(1)[HDt](function(){QDt=!1}),Ho({target:"Array",proto:!0,forced:QDt},{findIndex:function(t){return vzn(this,t,arguments.length>1?arguments[1]:void 0)}});var bzn=Ig("Array").findIndex,uje=Array.prototype,O3e=function(t){var n=t.findIndex;return t===uje||of(uje,t)&&n===uje.findIndex?bzn:n},yzn=zse("splice"),wzn=Fi.TypeError,xzn=Math.max,Czn=Math.min;Ho({target:"Array",proto:!0,forced:!yzn},{splice:function(t,n){var i,o,s,u,d,f,g=X3(this),m=rx(g),b=P$(t,m),w=arguments.length;if(w===0?i=o=0:w===1?(i=0,o=m-b):(i=w-2,o=Czn(xzn(tG(n),0),m-b)),m+i-o>9007199254740991)throw wzn("Maximum allowed length exceeded");for(s=U5e(g,o),u=0;um-o+i;u--)delete g[u-1]}else if(i>o)for(u=m-o;u>b;u--)f=u+i-1,(d=u+o-1)in g?g[f]=g[d]:delete g[f];for(u=0;u1?arguments[1]:void 0)}});var kzn=Ig("Array").map,hje=Array.prototype,Ws=function(t){var n=t.map;return t===hje||of(hje,t)&&n===hje.map?kzn:n};function gQ(t,n){var i,o,s,u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return/^\n/.test(t)?u?((i=(o=t.match(/^\n+/g))===null||o===void 0||(s=o[0])===null||s===void 0?void 0:s.length)!==null&&i!==void 0?i:0)>1?` + +`.concat(n):` +`.concat(n):` + +`.concat(n):n}function TVe(t,n){var i=(t.match(/\n/g)||[]).length;return t!==""&&(i-=2),i+n}var J5=mJt;function Bzn(t,n){if(J5(n))return n}function XYe(t){return typeof localStorage<"u"&&localStorage.getItem("cherry-".concat(t))!==null}function M3e(){var t="false";return typeof localStorage<"u"&&(t=localStorage.getItem("cherry-classicBr")),t==="true"}function EVe(){var t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],n="default";if(typeof localStorage<"u"){var i=localStorage.getItem("cherry-theme");i&&(n=i)}return t?"theme__".concat(n):n}function OJt(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=(n||EVe()).replace(/^.*theme__/,""),o=" theme__".concat(i);t.wrapperDom.className=t.wrapperDom.className.replace(/ theme__[^ $]+?( |$)/g," ")+o,t.previewer.getDomContainer().className=t.previewer.getDomContainer().className.replace(/ theme__[^ $]+?( |$)/g," ")+o,function(s){typeof localStorage<"u"&&localStorage.setItem("cherry-theme",s)}(i)}var _zn=Fi.RangeError,UDt=String.fromCharCode,zDt=String.fromCodePoint,$zn=Ta([].join),Izn=!!zDt&&zDt.length!=1;Ho({target:"String",stat:!0,arity:1,forced:Izn},{fromCodePoint:function(t){for(var n,i=[],o=arguments.length,s=0;o>s;){if(n=+arguments[s++],P$(n,1114111)!==n)throw _zn(n+" is not a valid code point");i[s]=n<65536?UDt(n):UDt(55296+((n-=65536)>>10),n%1024+56320)}return $zn(i,"")}});var KDt,VDt,kVe=jc.String.fromCodePoint;function WDt(t,n){var i=ad(t);if(P1){var o=P1(t);n&&(o=Jf(o).call(o,function(s){return Og(t,s).enumerable})),i.push.apply(i,o)}return i}function RV(t){for(var n=1;n":">","&":"&",'"':""","'":"'"},Ozn={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},GYe=RV(RV(RV(RV(RV(RV({},{34:""",38:"&",39:"'",60:"<",62:">"}),{192:"À",193:"Á",194:"Â",195:"Ã",196:"Ä",197:"Å",198:"Æ",199:"Ç",200:"È",201:"É",202:"Ê",203:"Ë",204:"Ì",205:"Í",206:"Î",207:"Ï",208:"Ð",209:"Ñ",210:"Ò",211:"Ó",212:"Ô",213:"Õ",214:"Ö",216:"Ø",217:"Ù",218:"Ú",219:"Û",220:"Ü",221:"Ý",222:"Þ",223:"ß",224:"à",225:"á",226:"â",227:"ã",228:"ä",229:"å",230:"æ",231:"ç",232:"è",233:"é",234:"ê",235:"ë",236:"ì",237:"í",238:"î",239:"ï",240:"ð",241:"ñ",242:"ò",243:"ó",244:"ô",245:"õ",246:"ö",248:"ø",249:"ù",250:"ú",251:"û",252:"ü",253:"ý",254:"þ",255:"ÿ"}),{160:" ",161:"¡",162:"¢",163:"£",164:"¤",165:"¥",166:"¦",167:"§",168:"¨",169:"©",170:"ª",171:"«",172:"¬",173:"­",174:"®",175:"¯",176:"°",177:"±",178:"²",179:"³",180:"´",181:"µ",182:"¶",184:"¸",185:"¹",186:"º",187:"»",188:"¼",189:"½",190:"¾",191:"¿",215:"×",247:"÷"}),{8704:"∀",8706:"∂",8707:"∃",8709:"∅",8711:"∇",8712:"∈",8713:"∉",8715:"∋",8719:"∏",8721:"∑",8722:"−",8727:"∗",8730:"√",8733:"∝",8734:"∞",8736:"∠",8743:"∧",8744:"∨",8745:"∩",8746:"∪",8747:"∫",8756:"∴",8764:"∼",8773:"≅",8776:"≈",8800:"≠",8801:"≡",8804:"≤",8805:"≥",8834:"⊂",8835:"⊃",8836:"⊄",8838:"⊆",8839:"⊇",8853:"⊕",8855:"⊗",8869:"⊥",8901:"⋅"}),{913:"Α",914:"Β",915:"Γ",916:"Δ",917:"Ε",918:"Ζ",919:"Η",920:"Θ",921:"Ι",922:"Κ",923:"Λ",924:"Μ",925:"Ν",926:"Ξ",927:"Ο",928:"Π",929:"Ρ",931:"Σ",932:"Τ",933:"Υ",934:"Φ",935:"Χ",936:"Ψ",937:"Ω",945:"α",946:"β",947:"γ",948:"δ",949:"ε",950:"ζ",951:"η",952:"θ",953:"ι",954:"κ",955:"λ",956:"μ",957:"ν",958:"ξ",959:"ο",960:"π",961:"ρ",962:"ς",963:"σ",964:"τ",965:"υ",966:"φ",967:"χ",968:"ψ",969:"ω",977:"ϑ",978:"ϒ",982:"ϖ"}),{338:"Œ",339:"œ",352:"Š",353:"š",376:"Ÿ",402:"ƒ",710:"ˆ",732:"˜",8194:" ",8195:" ",8201:" ",8204:"‌",8205:"‍",8206:"‎",8207:"‏",8211:"–",8212:"—",8216:"‘",8217:"’",8218:"‚",8220:"“",8221:"”",8222:"„",8224:"†",8225:"‡",8226:"•",8230:"…",8240:"‰",8242:"′",8243:"″",8249:"‹",8250:"›",8254:"‾",8364:"€",8482:"™",8592:"←",8593:"↑",8594:"→",8595:"↓",8596:"↔",8629:"↵",8968:"⌈",8969:"⌉",8970:"⌊",8971:"⌋",9674:"◊",9824:"♠",9827:"♣",9829:"♥",9830:"♦"}),GDt=ad(GYe),YDt=Ws(GDt).call(GDt,function(t){return GYe[t].replace(/^&(\w+);$/g,function(n,i){return i.toLowerCase()})}),BVe=function(t){return typeof t!="string"||t.length<=0},qDt=function(t){try{var n=kVe(t);return!BVe(n)}catch{return!1}},Gse=["h1|h2|h3|h4|h5|h6","ul|ol|li|dd|dl|dt","table|thead|tbody|tfoot|col|colgroup|th|td|tr","div|article|section|footer|aside|details|summary|code|audio|video|canvas|figure","address|center|cite|p|pre|blockquote|marquee|caption|figcaption|track|source|output|svg"].join("|"),Mzn=["span|a|link|b|s|i|del|u|em|strong|sup|sub|kbd","nav|font|bdi|samp|map|area|small|time|bdo|var|wbr|meter|dfn","ruby|rt|rp|mark|q|progress|input|textarea|select|ins"].join("|"),Pzn=new RegExp(St(KDt=St(VDt="^(".concat(Gse,"|")).call(VDt,Mzn,"|")).call(KDt,"br|img|hr",")( |$|/)"),"i");function yX(t,n){return typeof t!="string"?"":n?t.replace(/[<>&]/g,function(i){return XDt[i]||i}):t.replace(/[<>&"']/g,function(i){return XDt[i]||i})}function H3(t,n){if(typeof t!="string")return"";var i=MJt(t);return i=function(o){return typeof o!="string"?"":o.replace(/&(\w+);?/g,function(s,u){return Ozn[u]||s})}(i),yX(i,n)}function MJt(t){return t.replace(/&#(\d+);?/g,function(n,i){return GYe[i]||n})}function Lzn(t){var n=function(s){return s.replace(/&#x([0-9a-f]+);?/gi,function(u,d){var f=i2("0x".concat(d),16);try{return kVe(f)}catch{return u}})}(function(s){return s.replace(/&#(\d+);?/g,function(u,d){try{return kVe(d)}catch{return u}})}(t)).match(/^\s*([\w\W]+?)(?=:)/i);if(!n)return!0;var i=["javascript","data"],o=n[1].replace(/[\s]/g,"");return vu(i).call(i,o.toLowerCase())===-1}function uL(t){return encodeURI(t).replace(/%25/g,"%")}function Dzn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var JDt=0,_g=function(t){Io(i,Up);var n=Dzn(i);function i(){var o,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{needCache:!1},u=s.needCache,d=s.defaultCache,f=d===void 0?{}:d;return vi(this,i),(o=n.call(this,{})).needCache=!!u,o.sign="",u&&(o.cache=f||{},o.cacheKey="~~C".concat(JDt),JDt+=1),o}return bi(i,[{key:"initBrReg",value:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.classicBr=XYe("classicBr")?M3e():o,this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(o){var s=o.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?s:this.joinRawHtml(s).replace(/\n/g,"
").replace(/\r/g,` +`)}},{key:"joinRawHtml",value:function(o){if(!this.removeBrAfterBlock){var s,u,d,f,g=(s=(u=this.$engine.htmlWhiteListAppend)===null||u===void 0?void 0:u.split("|"))!==null&&s!==void 0?s:[];g=Jf(d=Ws(g).call(g,function(b){return/[a-z-]+/gi.test(b)?b:null})).call(d,function(b){return b!==null});var m=St(g).call(g,Gse).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(m,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(m,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(St(f="<\\/(".concat(m,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(f,m,")(>| [^>]*?>)"),"ig")}return o.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"").replace(this.removeNewlinesBetweenTags,"\r$2<$3$4")}},{key:"toHtml",value:function(o,s){return o}},{key:"makeHtml",value:function(o,s){return s(o).html}},{key:"afterMakeHtml",value:function(o){return this.restoreCache(o)}},{key:"isContainsCache",value:function(o,s){if(s){var u=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(o),d=new RegExp("~~C\\d+I".concat(i.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(o);return u&&!d}return new RegExp("~~C\\d+I(?!".concat(i.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(o)}},{key:"$splitHtmlByCache",value:function(o){var s=new RegExp("\\n*~~C\\d+I(?!".concat(i.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:o.match(s),contents:o.split(s)}}},{key:"makeExcludingCached",value:function(o,s){for(var u=this.$splitHtmlByCache(o),d=u.caches,f=u.contents,g=Ws(f).call(f,s),m="",b=0;b2&&arguments[2]!==void 0&&arguments[2],C=(u=(d=s.match(/^\n+/))===null||d===void 0?void 0:d[0])!==null&&u!==void 0?u:"",T=(f=(g=s.match(/\n+$/))===null||g===void 0?void 0:g[0])!==null&&f!==void 0?f:"";return w?gQ(s,o):St(m=St(b="".concat(C)).call(b,o)).call(m,T)}},{key:"getLineCount",value:function(o){var s,u,d,f=o,g=(s=(u=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:"").match(/^\n+/g))===null||u===void 0||(d=u[0])===null||d===void 0?void 0:d.length)!==null&&s!==void 0?s:0;g=g===1?1:0,f=f.replace(/^\n+/g,"");var m=new RegExp(` +*~~C\\d+I(?:`.concat(i.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),b=0;return f=f.replace(m,function(w,C){return b+=i2(C,10),w.replace(/^\n+/g,"")}),g+b+(f.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(o){var s,u,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.needCache){var g=d||this.$engine.md5(o);return this.cache[g]={content:o,using:!0},St(s=St(u="".concat(this.cacheKey,"I")).call(u,g,"_L")).call(s,f,"$")}}},{key:"popCache",value:function(o){if(this.needCache)return this.cache[o].content||""}},{key:"resetCache",value:function(){if(this.needCache){for(var o=0,s=ad(this.cache);o2&&arguments[2]!==void 0?arguments[2]:0;return this.sign=this.$engine.md5(o),this.cache[this.sign]?(this.cache[this.sign].using=!0,St(u=St(d="".concat(this.cacheKey,"I")).call(d,this.sign,"_L")).call(u,f,"$")):this.toHtml(o,s)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(o){return!1}}]),i}();Ni(_g,"HOOK_TYPE",bX.PAR),Ni(_g,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),Ni(_g,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var ZDt=Xu(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Ybe=Object.isExtensible,fje=Xu(function(){Ybe(1)})||ZDt?function(t){return!!g1(t)&&(!ZDt||L9(t)!="ArrayBuffer")&&(!Ybe||Ybe(t))}:Ybe,PJt=!Xu(function(){return Object.isExtensible(Object.preventExtensions({}))}),jH=Jc(function(t){var n=Ny.f,i=!1,o=_ae("meta"),s=0,u=function(f){n(f,o,{value:{objectID:"O"+s++,weakData:{}}})},d=t.exports={enable:function(){d.enable=function(){},i=!0;var f=$ae.f,g=Ta([].splice),m={};m[o]=1,f(m).length&&($ae.f=function(b){for(var w=f(b),C=0,T=w.length;Cu;u++)if((f=O(t[u]))&&of(eFt,f))return f;return new Bye(!1)}o=fQ(t,s)}for(g=o.next;!(m=Yl(g,o)).done;){try{f=O(m.value)}catch(B){wVe(o,"throw",B)}if(typeof f=="object"&&f&&of(eFt,f))return f}return new Bye(!1)},Nzn=Fi.TypeError,oG=function(t,n){if(of(n,t))return t;throw Nzn("Incorrect invocation")},Rzn=Ny.f,Hzn=X$.forEach,Qzn=sb.set,jzn=sb.getterFor,_Ve=function(t,n,i){for(var o in n)i&&i.unsafe&&t[o]?t[o]=n[o]:Q3(t,o,n[o],i);return t},tFt=tg("species"),LJt=function(t){var n=rv(t),i=Ny.f;Xd&&n&&!n[tFt]&&i(n,tFt,{configurable:!0,get:function(){return this}})},Uzn=Ny.f,nFt=jH.fastKey,rFt=sb.set,gje=sb.getterFor,zzn={getConstructor:function(t,n,i,o){var s=t(function(m,b){oG(m,u),rFt(m,{type:n,index:q5(null),first:void 0,last:void 0,size:0}),Xd||(m.size=0),b!=null&&Qp(b,m[o],{that:m,AS_ENTRIES:i})}),u=s.prototype,d=gje(n),f=function(m,b,w){var C,T,k=d(m),$=g(m,b);return $?$.value=w:(k.last=$={index:T=nFt(b,!0),key:b,value:w,previous:C=k.last,next:void 0,removed:!1},k.first||(k.first=$),C&&(C.next=$),Xd?k.size++:m.size++,T!=="F"&&(k.index[T]=$)),m},g=function(m,b){var w,C=d(m),T=nFt(b);if(T!=="F")return C.index[T];for(w=C.first;w;w=w.next)if(w.key==b)return w};return _Ve(u,{clear:function(){for(var m=d(this),b=m.index,w=m.first;w;)w.removed=!0,w.previous&&(w.previous=w.previous.next=void 0),delete b[w.index],w=w.next;m.first=m.last=void 0,Xd?m.size=0:this.size=0},delete:function(m){var b=this,w=d(b),C=g(b,m);if(C){var T=C.next,k=C.previous;delete w.index[C.index],C.removed=!0,k&&(k.next=T),T&&(T.previous=k),w.first==C&&(w.first=T),w.last==C&&(w.last=k),Xd?w.size--:b.size--}return!!C},forEach:function(m){for(var b,w=d(this),C=mA(m,arguments.length>1?arguments[1]:void 0);b=b?b.next:w.first;)for(C(b.value,b.key,this);b&&b.removed;)b=b.previous},has:function(m){return!!g(this,m)}}),_Ve(u,i?{get:function(m){var b=g(this,m);return b&&b.value},set:function(m,b){return f(this,m===0?0:m,b)}}:{add:function(m){return f(this,m=m===0?0:m,m)}}),Xd&&Uzn(u,"size",{get:function(){return d(this).size}}),s},setStrong:function(t,n,i){var o=n+" Iterator",s=gje(n),u=gje(o);OYe(t,n,function(d,f){rFt(this,{type:o,target:d,state:s(d),kind:f,last:void 0})},function(){for(var d=u(this),f=d.kind,g=d.last;g&&g.removed;)g=g.previous;return d.target&&(d.last=g=g?g.next:d.state.first)?f=="keys"?{value:g.key,done:!1}:f=="values"?{value:g.value,done:!1}:{value:[g.key,g.value],done:!1}:(d.target=void 0,{value:void 0,done:!0})},i?"entries":"values",!i,!0),LJt(n)}};(function(t,n,i){var o,s=t.indexOf("Map")!==-1,u=t.indexOf("Weak")!==-1,d=s?"set":"add",f=Fi[t],g=f&&f.prototype,m={};if(Xd&&ah(f)&&(u||g.forEach&&!Xu(function(){new f().entries().next()}))){var b=(o=n(function(C,T){Qzn(oG(C,b),{type:t,collection:new f}),T!=null&&Qp(T,C[d],{that:C,AS_ENTRIES:s})})).prototype,w=jzn(t);Hzn(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(C){var T=C=="add"||C=="set";!(C in g)||u&&C=="clear"||Zb(b,C,function(k,$){var O=w(this).collection;if(!T&&u&&!g1(k))return C=="get"&&void 0;var B=O[C](k===0?0:k,$);return T?this:B})}),u||Rzn(b,"size",{configurable:!0,get:function(){return w(this).collection.size}})}else o=i.getConstructor(n,t,s,d),jH.enable();L$(o,t,!1,!0),m[t]=o,Ho({global:!0,forced:!0},m),u||i.setStrong(o,t,s)})("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},zzn);var DJt=jc.Map,Kzn=DJt,iFt=[].push;Ho({target:"Map",stat:!0,forced:!0},{from:function(t){var n,i,o,s,u=arguments.length,d=u>1?arguments[1]:void 0;return C3e(this),(n=d!==void 0)&&xd(d),t==null?new this:(i=[],n?(o=0,s=mA(d,u>2?arguments[2]:void 0),Qp(t,function(f){Yl(iFt,i,s(f,o++))})):Qp(t,iFt,{that:i}),new this(i))}});Ho({target:"Map",stat:!0,forced:!0},{of:function(){return new this(EL(arguments))}});Ho({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,n=Cd(this),i=xd(n.delete),o=!0,s=0,u=arguments.length;s1?arguments[1]:void 0);return!Qp(i,function(s,u,d){if(!o(u,s,n))return d()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var Vzn=tg("species"),Rae=function(t,n){var i,o=Cd(t).constructor;return o===void 0||(i=Cd(o)[Vzn])==null?n:C3e(i)};Ho({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var n=Cd(this),i=B9(n),o=mA(t,arguments.length>1?arguments[1]:void 0),s=new(Rae(n,rv("Map"))),u=xd(s.set);return Qp(i,function(d,f){o(f,d,n)&&Yl(u,s,d,f)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),s}}),Ho({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var n=Cd(this),i=B9(n),o=mA(t,arguments.length>1?arguments[1]:void 0);return Qp(i,function(s,u,d){if(o(u,s,n))return d(u)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),Ho({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var n=Cd(this),i=B9(n),o=mA(t,arguments.length>1?arguments[1]:void 0);return Qp(i,function(s,u,d){if(o(u,s,n))return d(s)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var Wzn=Ta([].push);Ho({target:"Map",stat:!0,forced:!0},{groupBy:function(t,n){xd(n);var i=fQ(t),o=new this,s=xd(o.has),u=xd(o.get),d=xd(o.set);return Qp(i,function(f){var g=n(f);Yl(s,o,g)?Wzn(Yl(u,o,g),f):Yl(d,o,g,[f])},{IS_ITERATOR:!0}),o}});Ho({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return Qp(B9(Cd(this)),function(n,i,o){if(function(s,u){return s===u||s!=s&&u!=u}(i,t))return o()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),Ho({target:"Map",stat:!0,forced:!0},{keyBy:function(t,n){var i=new this;xd(n);var o=xd(i.set);return Qp(t,function(s){Yl(o,i,n(s),s)}),i}}),Ho({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){return Qp(B9(Cd(this)),function(n,i,o){if(i===t)return o(n)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),Ho({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var n=Cd(this),i=B9(n),o=mA(t,arguments.length>1?arguments[1]:void 0),s=new(Rae(n,rv("Map"))),u=xd(s.set);return Qp(i,function(d,f){Yl(u,s,o(f,d,n),f)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),s}}),Ho({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var n=Cd(this),i=B9(n),o=mA(t,arguments.length>1?arguments[1]:void 0),s=new(Rae(n,rv("Map"))),u=xd(s.set);return Qp(i,function(d,f){Yl(u,s,d,o(f,d,n))},{AS_ENTRIES:!0,IS_ITERATOR:!0}),s}}),Ho({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var n=Cd(this),i=xd(n.set),o=arguments.length,s=0;s1?arguments[1]:void 0);return Qp(i,function(s,u,d){if(o(u,s,n))return d()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var Gzn=Fi.TypeError;Ho({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,n){var i=Cd(this),o=xd(i.get),s=xd(i.has),u=xd(i.set),d=arguments.length;xd(n);var f=Yl(s,i,t);if(!f&&d<3)throw Gzn("Updating absent value");var g=f?Yl(o,i,t):xd(d>2?arguments[2]:void 0)(t,i);return Yl(u,i,t,n(g,t,i)),i}});var Yzn=Fi.TypeError,oFt=function(t,n){var i,o=Cd(this),s=xd(o.get),u=xd(o.has),d=xd(o.set),f=arguments.length>2?arguments[2]:void 0;if(!ah(n)&&!ah(f))throw Yzn("At least one callback required");return Yl(u,o,t)?(i=Yl(s,o,t),ah(n)&&(i=n(i),Yl(d,o,t,i))):ah(f)&&(i=f(),Yl(d,o,t,i)),i};Ho({target:"Map",proto:!0,real:!0,forced:!0},{upsert:oFt}),Ho({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:oFt});var aFt=Kzn,qbe=Aqt,qzn=Vqt;function P3e(t,n,i){return P3e=function(){if(typeof Reflect>"u"||!qbe||qbe.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(qbe(Boolean,[],function(){})),!0}catch{return!1}}()?qbe:function(o,s,u){var d=[null];d.push.apply(d,s);var f=new(qzn(Function).apply(o,d));return u&&Mae(f,u.prototype),f},P3e.apply(null,arguments)}function $Ve(t){var n=typeof aFt=="function"?new aFt:void 0;return $Ve=function(i){if(i===null||!function(s){var u;return yVe(u=Function.toString.call(s)).call(u,"[native code]")!==-1}(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(n!==void 0){if(n.has(i))return n.get(i);n.set(i,o)}function o(){return P3e(i,arguments,Kn(this).constructor)}return o.prototype=Loe(i.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Mae(o,i)},$Ve(t)}function Jzn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var $H=function(t,n){if(!J5(t)&&Uc(t)!==n.name.toLowerCase()||!J5(t)&&n.name.toLowerCase()==="array")throw new TypeError("parameter given must be ".concat(n.name));return!0},sFt=function(t,n){if(!(t instanceof n))throw new Error("the hook does not correctly inherit");return!0},Zzn=function(t){if(Uc(t)!=="object")throw new Error("the hook must be a instance, not a class");return!0},_ye=function(t){Io(i,$Ve(Error));var n=Jzn(i);function i(o,s){var u;return vi(this,i),(u=n.call(this,o)).name="Error",u.stack=u.buildStackTrace(s),u}return bi(i,[{key:"buildStackTrace",value:function(o){var s,u=o&&o.stack?o.stack:"";return St(s="".concat(this.stack,` +Caused By: `)).call(s,u)}}]),i}();function lFt(t,n,i){var o,s;if(t===-1)Py.warn(St(o=St(s="Duplicate hook name [".concat(n.HOOK_NAME,"] found, hook [")).call(s,n.toString(),"] ")).call(o,isNaN(i)?"":"at index [".concat(i,"] "),"will not take effect."));else if(t===-2){var u;Py.warn(St(u="Hook [".concat(n.toString(),"] ")).call(u,isNaN(i)?"":"at index [".concat(i,"] "),"is not a valid hook, and will not take effect."))}}function $ye(t){return IVe(t)||FJt(t)}function IVe(t){return Object.prototype.isPrototypeOf.call(Up,t)}function FJt(t){return Object.prototype.isPrototypeOf.call(_g,t)}function pje(t){return $ye(t)&&(t==null?void 0:t.Cherry$$CUSTOM)===!0}var eKn=function(){function t(n,i,o){vi(this,t),this.$locale=o.locale,this.hookList={},this.hookNameList={},$H(n,Array),this.registerInternalHooks(n,i),this.registerCustomHooks(i.engine.customSyntax,i)}return bi(t,[{key:"registerInternalHooks",value:function(n,i){var o=this;Wo(n).call(n,function(s,u){lFt(o.register(s,i),s,u)})}},{key:"registerCustomHooks",value:function(n,i){var o=this;if(n){var s=ad(n);Wo(s).call(s,function(u){var d,f,g,m,b={},w=n[u];if(IVe(w))f=w;else{if(!IVe(m=(g=w)==null?void 0:g.syntaxClass)&&!FJt(m))return;f=w.syntaxClass,b.force=!!w.force,w.before?b.before=w.before:w.after&&(b.after=w.after)}$ye(f)?(Dy(f,"Cherry$$CUSTOM",{enumerable:!1,configurable:!1,writable:!1,value:!0}),d=o.register(f,i,b)):d=-2,lFt(d,f,void 0)})}}},{key:"getHookList",value:function(){return this.hookList}},{key:"getHookNameList",value:function(){return this.hookNameList}},{key:"register",value:function(n,i,o){var s,u,d=this,f=i.externals,g=i.engine,m=g.syntax;if($ye(n)){u=n.HOOK_NAME;var b=(m==null?void 0:m[u])||{};(s=new n({externals:f,config:b,globalConfig:g.global})).afterInit(function(){s.setLocale(d.$locale)})}else{if(typeof n!="function"||!(s=n(i))||!$ye(s.constructor))return-2;u=s.getName()}if(m[u]!==!1||pje(n)){var w=s.getType();if(this.hookNameList[u]){var C;if(!pje(n)||!o.force)return-1;var T=this.hookNameList[u].type;this.hookList[T]=Jf(C=this.hookList[T]).call(C,function(L){return L.getName()!==u})}if(this.hookNameList[u]={type:w},this.hookList[w]=this.hookList[w]||[],pje(n)){var k,$,O,B=-1;if(o.before)(B=O3e(k=this.hookList[w]).call(k,function(L){return L.getName()===o.before}))===-1&&Py.warn(St($="Cannot find hook named [".concat(o.before,`], + custom hook [`)).call($,u,"] will append to the end of the hooks."));else if(o.after){var P,N;(B=O3e(P=this.hookList[w]).call(P,function(L){return L.getName()===o.after}))===-1?Py.warn(St(N="Cannot find hook named [".concat(o.after,`], + custom hook [`)).call(N,u,"] will append to the end of the hooks.")):B+=1}B<0||B>=this.hookList[w].length?this.hookList[w].push(s):z5(O=this.hookList[w]).call(O,B,0,s)}else this.hookList[w].push(s)}}}]),t}();function NJt(t){if(O6!==void 0&&UL(t)!=null||t["@@iterator"]!=null)return xJt(t)}function _L(t){return function(n){if(vJt(n))return xVe(n)}(t)||NJt(t)||KYe(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function RJt(t){return bJt(t)||NJt(t)||KYe(t)||CJt()}function cFt(t,n){var i=ad(t);if(P1){var o=P1(t);n&&(o=Jf(o).call(o,function(s){return Og(t,s).enumerable})),i.push.apply(i,o)}return i}function uFt(t){for(var n=1;n3&&arguments[3]!==void 0&&arguments[3],u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1;if(!n)return t;n.lastIndex=0;for(var d=0,f=[];(o=n.exec(t))!==null;){var g={begin:o.index,length:o[0].length};if(s&&o.index===d-u){var m,b=RJt(o),w=b[0],C=Eo(b).call(b,2);f.push({begin:g.begin+u,length:g.length-u,replacedText:i.apply(void 0,St(m=[Eo(w).call(w,u),""]).call(m,_L(C)))})}else f.push(uFt(uFt({},g),{},{replacedText:i.apply(void 0,_L(o))}));d=n.lastIndex,n.lastIndex-=u}return n.lastIndex=0,function(T,k){if(!k.length)return T;var $=[],O=0;return Wo(k).call(k,function(B,P){$.push(Eo(T).call(T,O,B.begin)),$.push(B.replacedText),O=B.begin+B.length,P===k.length-1&&$.push(Eo(T).call(T,O))}),$.join("")}(t,f)}function tKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var HJt=function(t){Io(i,Up);var n=tKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"toHtml",value:function(o,s,u,d){var f,g;return St(f=St(g="".concat(s,'')).call(f,d,"")}},{key:"makeHtml",value:function(o){return jp()?o.replace(this.RULE.reg,this.toHtml):D7(o,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var o={begin:jp()?"((?"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(HJt,"HOOK_NAME","fontColor");var QJt=function(t){Io(i,Up);var n=nKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"toHtml",value:function(o,s,u,d){var f,g;return St(f=St(g="".concat(s,'')).call(f,d,"")}},{key:"makeHtml",value:function(o){return jp()?o.replace(this.RULE.reg,this.toHtml):D7(o,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var o={begin:jp()?"((?"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(QJt,"HOOK_NAME","bgColor");var jJt=function(t){Io(i,Up);var n=rKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"toHtml",value:function(o,s,u,d){var f,g;return St(f=St(g="".concat(s,'')).call(f,d,"")}},{key:"makeHtml",value:function(o){return this.test(o)?jp()?o.replace(this.RULE.reg,this.toHtml):D7(o,this.RULE.reg,this.toHtml,!0,1):o}},{key:"rule",value:function(){var o={begin:jp()?"((?"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(jJt,"HOOK_NAME","fontSize");var UJt=function(t){Io(i,Up);var n=iKn(i);function i(){var o,s=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;return vi(this,i),o=n.call(this,{config:s}),s?(o.needWhitespace=!!s.needWhitespace,o):xo(o)}return bi(i,[{key:"makeHtml",value:function(o){return this.test(o)?o.replace(this.RULE.reg,"$1$2"):o}},{key:"rule",value:function(){var o={};return(o=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config.needWhitespace?Jbe(Jbe({},o),{},{begin:"(^|[\\s])\\~T\\~T",end:"\\~T\\~T(?=\\s|$)",content:"([\\w\\W]+?)"}):Jbe(Jbe({},o),{},{begin:"(^|[^\\\\])\\~T\\~T",end:"\\~T\\~T",content:"([\\w\\W]+?)"})).reg=new RegExp(o.begin+o.content+o.end,"g"),o}}]),i}();function oKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(UJt,"HOOK_NAME","strikethrough");var zJt=function(t){Io(i,Up);var n=oKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"toHtml",value:function(o,s,u){var d;return St(d="".concat(s,"")).call(d,u,"")}},{key:"makeHtml",value:function(o){return jp()?o.replace(this.RULE.reg,this.toHtml):D7(o,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var o={begin:jp()?"((?"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(zJt,"HOOK_NAME","sup");var KJt=function(t){Io(i,Up);var n=aKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"toHtml",value:function(o,s,u){var d;return St(d="".concat(s,"")).call(d,u,"")}},{key:"makeHtml",value:function(o){return jp()?o.replace(this.RULE.reg,this.toHtml):D7(o,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var o={begin:jp()?"((?"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(N){var O=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(N.stack)||[])[1];if(O){var B=document.getElementsByTagName("script");for(var P in B)if(B[P].src==O)return B[P]}return null}},isActive:function(O,B,P){for(var N="no-"+B;O;){var L=O.classList;if(L.contains(B))return!0;if(L.contains(N))return!1;O=O.parentElement}return!!P}},languages:{plain:u,plaintext:u,text:u,txt:u,extend:function(O,B){var P=d.util.clone(d.languages[O]);for(var N in B)P[N]=B[N];return P},insertBefore:function(O,B,P,N){var L=(N=N||d.languages)[O],R={};for(var H in L)if(L.hasOwnProperty(H)){if(H==B)for(var Q in P)P.hasOwnProperty(Q)&&(R[Q]=P[Q]);P.hasOwnProperty(H)||(R[H]=L[H])}var q=N[O];return N[O]=R,d.languages.DFS(d.languages,function(X,re){re===q&&X!=O&&(this[X]=R)}),R},DFS:function O(B,P,N,L){L=L||{};var R=d.util.objId;for(var H in B)if(B.hasOwnProperty(H)){P.call(B,H,B[H],N||H);var Q=B[H],q=d.util.type(Q);q!=="Object"||L[R(Q)]?q!=="Array"||L[R(Q)]||(L[R(Q)]=!0,O(Q,P,H,L)):(L[R(Q)]=!0,O(Q,P,null,L))}}},plugins:{},highlightAll:function(O,B){d.highlightAllUnder(document,O,B)},highlightAllUnder:function(O,B,P){var N={callback:P,container:O,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};d.hooks.run("before-highlightall",N),N.elements=Array.prototype.slice.apply(N.container.querySelectorAll(N.selector)),d.hooks.run("before-all-elements-highlight",N);for(var L,R=0;L=N.elements[R++];)d.highlightElement(L,B===!0,N.callback)},highlightElement:function(O,B,P){var N=d.util.getLanguage(O),L=d.languages[N];d.util.setLanguage(O,N);var R=O.parentElement;R&&R.nodeName.toLowerCase()==="pre"&&d.util.setLanguage(R,N);var H={element:O,language:N,grammar:L,code:O.textContent};function Q(X){H.highlightedCode=X,d.hooks.run("before-insert",H),H.element.innerHTML=H.highlightedCode,d.hooks.run("after-highlight",H),d.hooks.run("complete",H),P&&P.call(H.element)}if(d.hooks.run("before-sanity-check",H),(R=H.element.parentElement)&&R.nodeName.toLowerCase()==="pre"&&!R.hasAttribute("tabindex")&&R.setAttribute("tabindex","0"),!H.code)return d.hooks.run("complete",H),void(P&&P.call(H.element));if(d.hooks.run("before-highlight",H),H.grammar)if(B&&i.Worker){var q=new Worker(d.filename);q.onmessage=function(X){Q(X.data)},q.postMessage(JSON.stringify({language:H.language,code:H.code,immediateClose:!0}))}else Q(d.highlight(H.code,H.grammar,H.language));else Q(d.util.encode(H.code))},highlight:function(O,B,P){var N={code:O,grammar:B,language:P};if(d.hooks.run("before-tokenize",N),!N.grammar)throw new Error('The language "'+N.language+'" has no grammar.');return N.tokens=d.tokenize(N.code,N.grammar),d.hooks.run("after-tokenize",N),f.stringify(d.util.encode(N.tokens),N.language)},tokenize:function(O,B){var P=B.rest;if(P){for(var N in P)B[N]=P[N];delete B.rest}var L=new b;return w(L,L.head,O),m(O,L,B,L.head,0),function(R){for(var H=[],Q=R.head.next;Q!==R.tail;)H.push(Q.value),Q=Q.next;return H}(L)},hooks:{all:{},add:function(O,B){var P=d.hooks.all;P[O]=P[O]||[],P[O].push(B)},run:function(O,B){var P=d.hooks.all[O];if(P&&P.length)for(var N,L=0;N=P[L++];)N(B)}},Token:f};function f(O,B,P,N){this.type=O,this.content=B,this.alias=P,this.length=0|(N||"").length}function g(O,B,P,N){O.lastIndex=B;var L=O.exec(P);if(L&&N&&L[1]){var R=L[1].length;L.index+=R,L[0]=L[0].slice(R)}return L}function m(O,B,P,N,L,R){for(var H in P)if(P.hasOwnProperty(H)&&P[H]){var Q=P[H];Q=Array.isArray(Q)?Q:[Q];for(var q=0;q=R.reach);Z+=te.value.length,te=te.next){var Ae=te.value;if(B.length>O.length)return;if(!(Ae instanceof f)){var Se,ke=1;if(V){if(!(Se=g(le,Z,O,J))||Se.index>=O.length)break;var Be=Se.index,we=Se.index+Se[0].length,Ce=Z;for(Ce+=te.value.length;Be>=Ce;)Ce+=(te=te.next).value.length;if(Z=Ce-=te.value.length,te.value instanceof f)continue;for(var Qe=te;Qe!==B.tail&&(CeR.reach&&(R.reach=nt);var lt=te.prev;if(ze&&(lt=w(B,lt,ze),Z+=ze.length),C(B,lt,ke),te=w(B,lt,new f(H,re?d.tokenize(Ve,re):Ve,ue,Ve)),ht&&w(B,te,ht),ke>1){var Ge={cause:H+","+q,reach:nt};m(O,B,P,te.prev,Z,Ge),R&&Ge.reach>R.reach&&(R.reach=Ge.reach)}}}}}}function b(){var O={value:null,prev:null,next:null},B={value:null,prev:O,next:null};O.next=B,this.head=O,this.tail=B,this.length=0}function w(O,B,P){var N=B.next,L={value:P,prev:B,next:N};return B.next=L,N.prev=L,O.length++,L}function C(O,B,P){for(var N=B.next,L=0;L"+L.content+""},!i.document)return i.addEventListener&&(d.disableWorkerMessageHandler||i.addEventListener("message",function(O){var B=JSON.parse(O.data),P=B.language,N=B.code,L=B.immediateClose;i.postMessage(d.highlight(N,d.languages[P],P)),L&&i.close()},!1)),d;var T=d.util.currentScript();function k(){d.manual||d.highlightAll()}if(T&&(d.filename=T.src,T.hasAttribute("data-manual")&&(d.manual=!0)),!d.manual){var $=document.readyState;$==="loading"||$==="interactive"&&T&&T.defer?document.addEventListener("DOMContentLoaded",k):window.requestAnimationFrame?window.requestAnimationFrame(k):window.setTimeout(k,16)}return d}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=n),r2!==void 0&&(r2.Prism=n)});function hFt(t,n){var i=ad(t);if(P1){var o=P1(t);n&&(o=Jf(o).call(o,function(s){return Og(t,s).enumerable})),i.push.apply(i,o)}return i}function sKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean,function(t){function n(we,Ce){return we.replace(/<<(\d+)>>/g,function(Qe,Ve){return"(?:"+Ce[+Ve]+")"})}function i(we,Ce,Qe){return RegExp(n(we,Ce),Qe||"")}function o(we,Ce){for(var Qe=0;Qe>/g,function(){return"(?:"+we+")"});return we.replace(/<>/g,"[^\\s\\S]")}var s="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",u="class enum interface record struct",d="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",f="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function g(we){return"\\b(?:"+we.trim().replace(/ /g,"|")+")\\b"}var m=g(u),b=RegExp(g(s+" "+u+" "+d+" "+f)),w=g(u+" "+d+" "+f),C=g(s+" "+u+" "+f),T=o(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),k=o(/\((?:[^()]|<>)*\)/.source,2),$=/@?\b[A-Za-z_]\w*\b/.source,O=n(/<<0>>(?:\s*<<1>>)?/.source,[$,T]),B=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[w,O]),P=/\[\s*(?:,\s*)*\]/.source,N=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[B,P]),L=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[T,k,P]),R=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[L]),H=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[R,B,P]),Q={keyword:b,punctuation:/[<>()?,.:[\]]/},q=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,X=/"(?:\\.|[^\\"\r\n])*"/.source,re=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:i(/(^|[^$\\])<<0>>/.source,[re]),lookbehind:!0,greedy:!0},{pattern:i(/(^|[^@$\\])<<0>>/.source,[X]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:i(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[B]),lookbehind:!0,inside:Q},{pattern:i(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[$,H]),lookbehind:!0,inside:Q},{pattern:i(/(\busing\s+)<<0>>(?=\s*=)/.source,[$]),lookbehind:!0},{pattern:i(/(\b<<0>>\s+)<<1>>/.source,[m,O]),lookbehind:!0,inside:Q},{pattern:i(/(\bcatch\s*\(\s*)<<0>>/.source,[B]),lookbehind:!0,inside:Q},{pattern:i(/(\bwhere\s+)<<0>>/.source,[$]),lookbehind:!0},{pattern:i(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[N]),lookbehind:!0,inside:Q},{pattern:i(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[H,C,$]),inside:Q}],keyword:b,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:i(/([(,]\s*)<<0>>(?=\s*:)/.source,[$]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:i(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[$]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:i(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[k]),lookbehind:!0,alias:"class-name",inside:Q},"return-type":{pattern:i(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[H,B]),inside:Q,alias:"class-name"},"constructor-invocation":{pattern:i(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[H]),lookbehind:!0,inside:Q,alias:"class-name"},"generic-method":{pattern:i(/<<0>>\s*<<1>>(?=\s*\()/.source,[$,T]),inside:{function:i(/^<<0>>/.source,[$]),generic:{pattern:RegExp(T),alias:"class-name",inside:Q}}},"type-list":{pattern:i(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[m,O,$,H,b.source,k,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:i(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[O,k]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:b,"class-name":{pattern:RegExp(H),greedy:!0,inside:Q},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var J=X+"|"+q,V=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[J]),ue=o(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[V]),2),Y=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,le=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[B,ue]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:i(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Y,le]),lookbehind:!0,greedy:!0,inside:{target:{pattern:i(/^<<0>>(?=\s*:)/.source,[Y]),alias:"keyword"},"attribute-arguments":{pattern:i(/\(<<0>>*\)/.source,[ue]),inside:t.languages.csharp},"class-name":{pattern:RegExp(B),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var te=/:[^}\r\n]+/.source,Z=o(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[V]),2),Ae=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Z,te]),Se=o(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[J]),2),ke=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Se,te]);function Be(we,Ce){return{interpolation:{pattern:i(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[we]),lookbehind:!0,inside:{"format-string":{pattern:i(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Ce,te]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:i(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Ae]),lookbehind:!0,greedy:!0,inside:Be(Ae,Z)},{pattern:i(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[ke]),lookbehind:!0,greedy:!0,inside:Be(ke,Se)}],char:{pattern:RegExp(q),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(Prism),function(t){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return n.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return n.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(Prism),Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,n){var i={};i["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[n]},i.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:i}};o["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var s={};s[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:o},Prism.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(t,n){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:Prism.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var i=t.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}(Prism),function(t){var n=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],i=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(i+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};t.languages.dart=t.languages.extend("clike",{"class-name":[o,{pattern:RegExp(i+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),t.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.dart}}},string:/[\s\S]+/}},string:void 0}),t.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),t.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":o,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism),function(t){t.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(i){var o=n[i],s=[];/^\w+$/.test(i)||s.push(/\w+/.exec(i)[0]),i==="diff"&&s.push("bold"),t.languages.diff[i]={pattern:RegExp("^(?:["+o+`].*(?:\r +?| +|(?![\\s\\S])))+`,"m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(i)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})}(Prism),function(t){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,i=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return n}),o=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return o}),u={pattern:RegExp(o),greedy:!0},d={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function f(g,m){return g=g.replace(//g,function(){return s}).replace(//g,function(){return i}),RegExp(g,m)}t.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:f(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[u,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:f(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:f(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:f(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:d,string:u,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:d},t.languages.dockerfile=t.languages.docker}(Prism),Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},Prism.languages.glsl=Prism.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/}),Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"],Prism.languages["go-mod"]=Prism.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/},function(t){var n=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+i.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+i.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),u=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function d(f,g){g=(g||"").replace(/m/g,"")+"m";var m=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return f});return RegExp(m,g)}t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return"(?:"+s+"|"+u+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:d(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:d(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:d(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:d(u),lookbehind:!0,greedy:!0},number:{pattern:d(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml}(Prism),function(t){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(m){return m=m.replace(//g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+m+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),u=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+u+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+u+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+u+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(m){["url","bold","italic","strike","code-snippet"].forEach(function(b){m!==b&&(t.languages.markdown[m].inside.content.inside[b]=t.languages.markdown[b])})}),t.hooks.add("after-tokenize",function(m){m.language!=="markdown"&&m.language!=="md"||function b(w){if(w&&typeof w!="string")for(var C=0,T=w.length;C",quot:'"'},g=String.fromCodePoint||String.fromCharCode;t.languages.md=t.languages.markdown}(Prism),Prism.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Prism.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},Prism.hooks.add("after-tokenize",function(t){if(t.language==="graphql")for(var n=t.tokens.filter(function(k){return typeof k!="string"&&k.type!=="comment"&&k.type!=="scalar"}),i=0;i0)){var f=C(/^\{$/,/^\}$/);if(f===-1)continue;for(var g=i;g=0&&T(m,"variable-input")}}}}function b(k){return n[i+k]}function w(k,$){$=$||0;for(var O=0;O|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var i="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",o=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+i+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+o),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+o+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+i),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+i),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.languages.ruby}(Prism),function(t){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},i=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,o="(?:[^\\\\-]|"+i.source+")",s=RegExp(o+"-"+o),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};t.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:i,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:i}},"special-escape":n,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:i,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]||&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,function(t){function n(i,o){return"___"+i.toUpperCase()+o+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(i,o,s,u){if(i.language===o){var d=i.tokenStack=[];i.code=i.code.replace(s,function(f){if(typeof u=="function"&&!u(f))return f;for(var g,m=d.length;i.code.indexOf(g=n(o,m))!==-1;)++m;return d[m]=f,g}),i.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(i,o){if(i.language===o&&i.tokenStack){i.grammar=t.languages[o];var s=0,u=Object.keys(i.tokenStack);(function d(f){for(var g=0;g=u.length);g++){var m=f[g];if(typeof m=="string"||m.content&&typeof m.content=="string"){var b=u[s],w=i.tokenStack[b],C=typeof m=="string"?m:m.content,T=n(o,b),k=C.indexOf(T);if(k>-1){++s;var $=C.substring(0,k),O=new t.Token(o,t.tokenize(w,i.grammar),"language-"+o,w),B=C.substring(k+T.length),P=[];$&&P.push.apply(P,d([$])),P.push(O),B&&P.push.apply(P,d([B])),typeof m=="string"?f.splice.apply(f,[g,1].concat(P)):m.content=P}}else m.content&&d(m.content)}return f})(i.tokens)}}}})}(Prism),Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.languages.scss,function(t){t.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:t.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:t.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:t.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:t.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:t.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:t.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var n=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},o=0,s=n.length;o=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,i=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(/(^|[^\w.])/.source+i+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[o,{pattern:RegExp(/(^|[^\w.])/.source+i+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:o.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+i+/[A-Z]\w*\b/.source),lookbehind:!0,inside:o.inside}],keyword:n,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":o,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+i+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:o.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+i+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:o.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json,function(t){var n=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;t.languages.json5=t.languages.extend("json",{property:[{pattern:RegExp(n.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:n,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/},function(t){var n=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],i="(?:"+(n=n.map(function(o){return o.replace("$","\\$")})).join("|")+")\\b";t.languages.mongodb=t.languages.extend("javascript",{}),t.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),t.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},t.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(Prism),function(t){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:n}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:n}},punctuation:/[{};]/}}(Prism),Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec,Prism.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},Prism.languages.pascal.asm.inside=Prism.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),Prism.languages.objectpascal=Prism.languages.pascal,function(t){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,u=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:u};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},f=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}];t.languages.insertBefore("php","variable",{string:f,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:f,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,number:o,operator:s,punctuation:u}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(g){/<\?/.test(g.code)&&t.languages["markup-templating"].buildPlaceholders(g,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),t.hooks.add("after-tokenize",function(g){t.languages["markup-templating"].tokenizePlaceholders(g,"php")})}(Prism),function(t){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;t.languages.protobuf=t.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),t.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:n}},builtin:n,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(Prism),Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/},function(t){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,i=0;i<2;i++)n=n.replace(//g,function(){return n});n=n.replace(//g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string}(Prism),Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var n=t.languages.extend("typescript",{});delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),t.languages.ts=t.languages.typescript}(Prism),function(t){var n=t.util.clone(t.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function u(g,m){return g=g.replace(//g,function(){return i}).replace(//g,function(){return o}).replace(//g,function(){return s}),RegExp(g,m)}s=u(s).source,t.languages.jsx=t.languages.extend("markup",n),t.languages.jsx.tag.pattern=u(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=n.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:u(//.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:u(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var d=function(g){return g?typeof g=="string"?g:typeof g.content=="string"?g.content:g.content.map(d).join(""):""},f=function(g){for(var m=[],b=0;b0&&m[m.length-1].tagName===d(w.content[0].content[1])&&m.pop():w.content[w.content.length-1].content==="/>"||m.push({tagName:d(w.content[0].content[1]),openedBraces:0}):m.length>0&&w.type==="punctuation"&&w.content==="{"?m[m.length-1].openedBraces++:m.length>0&&m[m.length-1].openedBraces>0&&w.type==="punctuation"&&w.content==="}"?m[m.length-1].openedBraces--:C=!0),(C||typeof w=="string")&&m.length>0&&m[m.length-1].openedBraces===0){var T=d(w);b0&&(typeof g[b-1]=="string"||g[b-1].type==="plain-text")&&(T=d(g[b-1])+T,g.splice(b-1,1),b--),g[b]=new t.Token("plain-text",T,null,T)}w.content&&typeof w.content!="string"&&f(w.content)}};t.hooks.add("after-tokenize",function(g){g.language!=="jsx"&&g.language!=="tsx"||f(g.tokens)})}(Prism),function(t){var n=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var i=t.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0}(Prism),function(t){t.languages.sass=t.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete t.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,i=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];t.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:i}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:i,important:t.languages.sass.important}}}),delete t.languages.sass.property,delete t.languages.sass.important,t.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(Prism),function(t){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:i,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=t.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],u=o.variable[1].inside,d=0;d]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=Prism.languages.swift}),Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},Iye.manual=!0;var lKn={figure:"figure"},HW=function(t){Io(i,_g);var n=sKn(i);function i(o){var s;o.externals;var u,d=o.config;return vi(this,i),s=n.call(this,{needCache:!0}),i.inlineCodeCache={},s.codeCache={},s.customLang=[],s.customParser={},s.wrap=d.wrap,s.lineNumber=d.lineNumber,s.copyCode=d.copyCode,s.editCode=d.editCode,s.changeLang=d.changeLang,s.mermaid=d.mermaid,s.indentedCodeBlock=d.indentedCodeBlock===void 0||d.indentedCodeBlock,s.INLINE_CODE_REGEX=/(`+)(.+?(?:\n.+?)*?)\1/g,d&&d.customRenderer&&(s.customLang=Ws(u=ad(d.customRenderer)).call(u,function(f){return f.toLowerCase()}),s.customParser=function(f){for(var g=1;g40&&(this.codeCache.length=0),!1)}},{key:"parseCustomLanguage",value:function(o,s,u){var d,f,g,m,b,w=this.customParser[o];if(!w||typeof w.render!="function")return!1;var C=w.render(s,u.sign,this.$engine,this.mermaid);if(!C)return!1;var T=lKn[w.constructor.TYPE]||"div";return St(d=St(f=St(g=St(m=St(b="<".concat(T,' data-sign="')).call(b,u.sign,'" data-type="')).call(m,o,'" data-lines="')).call(g,u.lines,'">')).call(f,C,"")}},{key:"fillTag",value:function(o){var s=[];return Ws(o).call(o,function(u){if(!u)return"";for(var d=u;s.length;){var f,g=s.pop();d=St(f="".concat(g)).call(f,d)}var m=d.match(/|<\/span>/g),b=0;if(!m)return d;for(;m.length;){var w=m.pop();/<\/span>/.test(w)?b+=1:b?b-=1:s.unshift(w.match(//)[0])}for(var C=0;C");return d})}},{key:"renderLineNumber",value:function(o){if(!this.lineNumber)return o;var s=o.split(` +`);return s.pop(),s=this.fillTag(s),''.concat(s.join(` +`),"")}},{key:"isInternalCustomLangCovered",value:function(o){var s;return vu(s=this.customLang).call(s,o)!==-1}},{key:"computeLines",value:function(o,s,u){var d=s,f=this.getLineCount(o,d);return{sign:this.$engine.md5(o.replace(/^\n+/,"")+f),lines:f}}},{key:"appendMermaid",value:function(o,s){var u=o,d=s;if(/^flow([ ](TD|LR))?$/i.test(d)&&!this.isInternalCustomLangCovered(d)){var f,g=d.match(/^flow(?:[ ](TD|LR))?$/i)||[];u=St(f="graph ".concat(g[1]||"TD",` +`)).call(f,u),d="mermaid"}return/^seq$/i.test(d)&&!this.isInternalCustomLangCovered(d)&&(u=`sequenceDiagram +`.concat(u),d="mermaid"),d==="mermaid"&&(u=u.replace(/(^[\s]*)stateDiagram-v2\n/,`$1stateDiagram +`)),[u,d]}},{key:"wrapCode",value:function(o,s){var u,d;return St(u=St(d='')).call(u,o,"")}},{key:"renderCodeBlock",value:function(o,s,u,d){var f,g,m,b,w,C,T,k=o,$=s;return this.customHighlighter?k=this.customHighlighter(k,$):($&&Iye.languages[$]||($="javascript"),k=Iye.highlight(k,Iye.languages[$],$),k=this.renderLineNumber(k)),k=St(f=St(g=St(m=St(b=St(w=St(C=St(T=`
+
')).call(f,this.wrapCode(k,$),`
+
`)}},{key:"$getIndentedCodeReg",value:function(){return new RegExp("(?:^|\\n\\s*\\n)(?: {4}|\\t)([\\s\\S]+?)(?=$|\\n( {0,3}[^ \\t\\n]|\\n[^ \\t\\n]))","g")}},{key:"$getIndentCodeBlock",value:function(o){var s=this;return this.indentedCodeBlock?this.$recoverCodeInIndent(o).replace(this.$getIndentedCodeReg(),function(u,d){var f,g,m=(u.match(/\n/g)||[]).length,b=s.$engine.md5(u),w=St(f=St(g='
')).call(f,yX(d.replace(/\n( {4}|\t)/g,`
+`)),"
");return gQ(u,s.pushCache(w,b,m))}):o}},{key:"$replaceCodeInIndent",value:function(o){return this.indentedCodeBlock?o.replace(this.$getIndentedCodeReg(),function(s){return s.replace(/`/g,"~~~IndentCode")}):o}},{key:"$recoverCodeInIndent",value:function(o){return this.indentedCodeBlock?o.replace(this.$getIndentedCodeReg(),function(s){return s.replace(/~~~IndentCode/g,"`")}):o}},{key:"beforeMakeHtml",value:function(o,s,u){var d=this,f=o;return f=(f=this.$replaceCodeInIndent(f)).replace(this.RULE.reg,function(g,m,b,w,C,T){var k,$,O;function B(Y){if(b){var le=new RegExp(`^ +*`,""),te=Y.match(le)[0];Y=te+b+Y.replace(le,function(Z){return""})}return Y}var P=T,N=d.computeLines(g,m,T),L=N.sign,R=N.lines,H=d.$codeCache(L);if(H&&H!=="")return B(d.getCacheWithSpace(d.pushCache(H,L,R),g));P=(P=(P=d.$recoverCodeInIndent(P)).replace(/~D/g,"$")).replace(/~T/g,"~");var Q=(k=m==null||($=m.match(/[ ]/g))===null||$===void 0?void 0:$.length)!==null&&k!==void 0?k:0;if(Q>0){var q=new RegExp("(^|\\n)[ ]{1,".concat(Q,"}"),"g");P=P.replace(q,"$1")}if(b){var X=new RegExp("(^|\\n)".concat(b),"g");P=P.replace(X,"$1")}var re=Ra(C).call(C);if(/^(math|katex|latex)$/i.test(re)&&!d.isInternalCustomLangCovered(re)){var J,V=g.match(/^\s*/g);return St(J="".concat(V,`~D~D +`)).call(J,P,"~D~D")}var ue=od(d.appendMermaid(P,re),2);return P=ue[0],re=ue[1],vu(O=d.customLang).call(O,re.toLowerCase())!==-1&&(H=d.parseCustomLanguage(re,P,{lines:R,sign:L}))&&H!==""?(d.$codeCache(L,H),d.getCacheWithSpace(d.pushCache(H,L,R),g)):(P=P.replace(/~X/g,"\\`"),H=(H=d.renderCodeBlock(P,re,L,R)).replace(/\\/g,"\\\\"),H=d.$codeCache(L,H),B(d.getCacheWithSpace(d.pushCache(H,L,R),g)))}),f=f.replace(q5e(!0),function(g){var m;return Ws(m=g.split("|")).call(m,function(b){return d.makeInlineCode(b)}).join("|").replace(/`/g,"\\`")}),f=this.makeInlineCode(f),f=this.$getIndentCodeBlock(f)}},{key:"makeInlineCode",value:function(o){var s=this,u=o;return this.INLINE_CODE_REGEX.test(u)&&(u=(u=u.replace(/\\`/g,"~~not~inlineCode")).replace(this.INLINE_CODE_REGEX,function(d,f,g){if(Ra(g).call(g)==="`")return d;var m=g.replace(/~~not~inlineCode/g,"\\`");m=(m=s.$replaceSpecialChar(m)).replace(/\\/g,"\\\\");var b="".concat(yX(m),""),w=s.$engine.md5(b);return i.inlineCodeCache[w]=b,"~~CODE".concat(w,"$")}),u=u.replace(/~~not~inlineCode/g,"\\`")),u}},{key:"makeHtml",value:function(o){return o}},{key:"$replaceSpecialChar",value:function(o){var s=o.replace(/~Q/g,"\\~");return s=(s=(s=(s=s.replace(/~Y/g,"\\!")).replace(/~Z/g,"\\#")).replace(/~&/g,"\\&")).replace(/~K/g,"\\/")}},{key:"rule",value:function(){return J5e()}},{key:"mounted",value:function(o){}}]),i}();function cKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(HW,"HOOK_NAME","codeBlock"),Ni(HW,"inlineCodeCache",{});var VJt=function(t){Io(i,_g);var n=cKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"makeHtml",value:function(o){return o}},{key:"afterMakeHtml",value:function(o){var s=o;return ad(HW.inlineCodeCache).length>0&&(s=s.replace(/~~CODE([0-9a-zA-Z]+)\$/g,function(u,d){return HW.inlineCodeCache[d]}),HW.inlineCodeCache={}),s}},{key:"rule",value:function(){var o={begin:"(`+)[ ]*",end:"[ ]*\\1",content:"(.+?(?:\\n.+?)*?)"};return o.reg=rb(o,"g"),o}}]),i}();Ni(VJt,"HOOK_NAME","inlineCode");var uKn=Jc(function(t){(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(o,s){return o<>>32-s},rotr:function(o,s){return o<<32-s|o>>>s},endian:function(o){if(o.constructor==Number)return 16711935&i.rotl(o,8)|4278255360&i.rotl(o,24);for(var s=0;s0;o--)s.push(Math.floor(256*Math.random()));return s},bytesToWords:function(o){for(var s=[],u=0,d=0;u>>5]|=o[u]<<24-d%32;return s},wordsToBytes:function(o){for(var s=[],u=0;u<32*o.length;u+=8)s.push(o[u>>>5]>>>24-u%32&255);return s},bytesToHex:function(o){for(var s=[],u=0;u>>4).toString(16)),s.push((15&o[u]).toString(16));return s.join("")},hexToBytes:function(o){for(var s=[],u=0;u>>6*(3-f)&63)):s.push("=");return s.join("")},base64ToBytes:function(o){o=o.replace(/[^A-Z0-9+\/]/gi,"");for(var s=[],u=0,d=0;u>>6-2*d);return s}};t.exports=i})()}),OVe={utf8:{stringToBytes:function(t){return OVe.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(OVe.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],i=0;i>>24)|4278255360&(g[k]<<24|g[k]>>>8);g[m>>>5]|=128<>>9<<4)]=m;var $=u._ff,O=u._gg,B=u._hh,P=u._ii;for(k=0;k>>0,w=w+L>>>0,C=C+R>>>0,T=T+H>>>0}return n.endian([b,w,C,T])};u._ff=function(d,f,g,m,b,w,C){var T=d+(f&g|~f&m)+(b>>>0)+C;return(T<>>32-w)+f},u._gg=function(d,f,g,m,b,w,C){var T=d+(f&m|g&~m)+(b>>>0)+C;return(T<>>32-w)+f},u._hh=function(d,f,g,m,b,w,C){var T=d+(f^g^m)+(b>>>0)+C;return(T<>>32-w)+f},u._ii=function(d,f,g,m,b,w,C){var T=d+(g^(f|~m))+(b>>>0)+C;return(T<>>32-w)+f},u._blocksize=16,u._digestsize=16,t.exports=function(d,f){if(d==null)throw new Error("Illegal argument "+d);var g=n.wordsToBytes(u(d,f));return f&&f.asBytes?g:f&&f.asString?s.bytesToString(g):n.bytesToHex(g)}})()}),Zbe={},Aje=/^cherry-inner:\/\/([0-9a-f]+)$/i,I$=function(){function t(){vi(this,t)}return bi(t,null,[{key:"isInnerLink",value:function(n){return Aje.test(n)}},{key:"set",value:function(n){var i=YYe(n);return Zbe[i]=n,"cherry-inner://".concat(i)}},{key:"get",value:function(n){var i,o=od((i=n.match(Aje))!==null&&i!==void 0?i:[],2)[1];if(o)return Zbe[o]}},{key:"replace",value:function(n,i){var o,s=od((o=n.match(Aje))!==null&&o!==void 0?o:[],2)[1];if(s)return Zbe[s]=i,n}},{key:"restoreAll",value:function(n){var i=n.replace(/cherry-inner:\/\/([0-9a-f]+)/gi,function(o){return t.get(o)||o});return i}},{key:"clear",value:function(){Zbe={}}}]),t}();function hKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var WJt=function(t){Io(i,Up);var n=hKn(i);function i(o){var s,u=o.config,d=o.globalConfig;return vi(this,i),(s=n.call(this,{config:u})).urlProcessor=d.urlProcessor,s.target=u.target?'target="'.concat(u.target,'"'):u.openNewPage?'target="_blank"':"",s.rel=u.rel?'rel="'.concat(u.rel,'"'):"",s}return bi(i,[{key:"checkBrackets",value:function(o){for(var s=[],u="[".concat(o,"]"),d=function(g){return 1&Eo(u).call(u,0,g).match(/\\*$/)[0].length},f=u.length-1;u[f]&&(f!==u.length-1||!d(f));f--)if(u[f]!=="]"||d(f)||s.push("]"),u[f]==="["&&!d(f)&&(s.pop(),!s.length))return{isValid:!0,coreText:Eo(u).call(u,f+1,u.length-1),extraLeadingChar:Eo(u).call(u,0,f)};return{isValid:!1,coreText:o,extraLeadingChar:""}}},{key:"toHtml",value:function(o,s,u,d,f,g,m){var b=d===void 0?"ref":"url",w="";if(b==="ref")return o;if(b==="url"){var C,T=this.checkBrackets(u),k=T.isValid,$=T.coreText,O=T.extraLeadingChar;if(!k)return o;w=f&&Ra(f).call(f)!==""?' title="'.concat(yX(f.replace(/["']/g,"")),'"'):"",m?w+=' target="'.concat(m.replace(/{target\s*=\s*(.*?)}/,"$1"),'"'):this.target&&(w+=" ".concat(this.target));var B,P,N,L,R=Ra(d).call(d).replace(/~1D/g,"~D"),H=$.replace(/~1D/g,"~D");return Lzn(R)?(R=uL(R=this.urlProcessor(R,"link")),St(B=St(P=St(N=St(L="".concat(s+O,'")).call(B,H,"")):St(C="".concat(s+O,"")).call(C,u,"")}return o}},{key:"toStdMarkdown",value:function(o){return o}},{key:"makeHtml",value:function(o){var s,u,d=o.replace(this.RULE.reg,function(f){return f.replace(/~D/g,"~1D")});return jp()?d=d.replace(this.RULE.reg,va(s=this.toHtml).call(s,this)):d=D7(d,this.RULE.reg,va(u=this.toHtml).call(u,this),!0,1),d=d.replace(this.RULE.reg,function(f){return f.replace(/~1D/g,"~D")}),d}},{key:"rule",value:function(){var o={begin:jp()?"((?"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(WJt,"HOOK_NAME","link");var XJt=function(t){Io(i,Up);var n=fKn(i);function i(){var o,s=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;return vi(this,i),o=n.call(this,{config:s}),s?(o.allowWhitespace=!!s.allowWhitespace,o):xo(o)}return bi(i,[{key:"makeHtml",value:function(o,s){var u=function(f,g,m,b){var w,C,T,k=m.length%2==1?"em":"strong",$=Math.floor(m.length/2),O=Gf("").call("",$),B=Gf("").call("",$);return k==="em"&&(O+="",B="".concat(B)),St(w=St(C=St(T="".concat(g)).call(T,O)).call(C,s(b).html.replace(/_/g,"~U"))).call(w,B)},d=o;return d=(d=this.allowWhitespace?(d=(d=d.replace(/(^|\n[\s]*)(\*)([^\s*](?:.*?)(?:(?:\n.*?)*?))\*/g,u)).replace(/(^|\n[\s]*)(\*{2,})((?:.*?)(?:(?:\n.*?)*?))\2/g,u)).replace(/([^\n*\\\s][ ]*)(\*+)((?:.*?)(?:(?:\n.*?)*?))\2/g,u):d.replace(this.RULE.asterisk.reg,u)).replace(this.RULE.underscore.reg,function(f,g,m,b,w,C){var T,k,$;if(Ra(b).call(b)==="")return f;var O=m.length%2==1?"em":"strong",B=Math.floor(m.length/2),P=Gf("").call("",B),N=Gf("").call("",B),L=s(b).html;return O==="em"&&(P+="",N="".concat(N)),St(T=St(k=St($="".concat(g)).call($,P)).call(k,L)).call(T,N)}),d.replace(/~U/g,"_")}},{key:"test",value:function(o,s){return this.RULE[s].reg&&this.RULE[s].reg.test(o)}},{key:"rule",value:function(){var o=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config,s=!!o&&!!o.allowWhitespace,u=function(g,m){var b,w,C,T="[^".concat(m,"\\s]");return g?"(?:.*?)(?:(?:\\n.*?)*?)":St(b=St(w=St(C="(".concat(T,"|")).call(C,T,`(.*?( +`)).call(w,T,".*)*)")).call(b,T,")")},d={begin:"(^|[^\\\\])([*]+)",content:"(".concat(u(s,"*"),")"),end:"\\2"},f={begin:"(^|".concat(DDt,")(_+)"),content:"(".concat(u(s,"_"),")"),end:"\\2(?=".concat(DDt,"|$)")};return d.reg=rb(d,"g"),f.reg=rb(f,"g"),{asterisk:d,underscore:f}}}]),i}();function gKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(XJt,"HOOK_NAME","fontEmphasis");var GJt=function(t){Io(i,_g);var n=gKn(i);function i(o){var s;return vi(this,i),(s=n.call(this)).initBrReg(o.globalConfig.classicBr),s}return bi(i,[{key:"makeHtml",value:function(o,s){var u=this;return this.test(o)?o.replace(this.RULE.reg,function(d,f,g){var m;if(u.isContainsCache(d,!0))return d;var b,w=function(C){var T,k,$,O,B,P;if(Ra(C).call(C)==="")return"";var N=s(C),L=N.sign,R=N.html,H="p";new RegExp("<(".concat(Gse,")[^>]*>"),"i").test(R)&&(H="div");var Q=u.getLineCount(C,C);return St(T=St(k=St($=St(O=St(B=St(P="<".concat(H,' data-sign="')).call(P,L)).call(B,Q,'" data-type="')).call(O,H,'" data-lines="')).call($,Q,'">')).call(k,u.$cleanParagraph(R),"")};return u.isContainsCache(g)?u.makeExcludingCached(St(b="".concat(f)).call(b,g),w):w(St(m="".concat(f)).call(m,g))}):o}},{key:"rule",value:function(){var o={begin:"(?:^|\\n)(\\n*)",end:"(?=\\s*$|\\n\\n)",content:"([\\s\\S]+?)"};return o.reg=new RegExp(o.begin+o.content+o.end,"g"),o}}]),i}();Ni(GJt,"HOOK_NAME","normalParagraph");Ho({target:"Reflect",stat:!0},{get:function t(n,i){var o,s,u=arguments.length<3?n:arguments[2];return Cd(n)===u?n[i]:(o=G9.f(n,i))?function(d){return d!==void 0&&(Gl(d,"value")||Gl(d,"writable"))}(o)?o.value:o.get===void 0?void 0:Yl(o.get,u):g1(s=hQ(n))?t(s,i,u):void 0}});var pFt=jc.Reflect.get,pKn=kqt;function T9(){return T9=typeof Reflect<"u"&&pFt?pFt:function(t,n,i){var o=function(u,d){for(;!Object.prototype.hasOwnProperty.call(u,d)&&(u=Kn(u))!==null;);return u}(t,n);if(o){var s=pKn(o,n);return s.get?s.get.call(arguments.length<3?t:i):s.value}},T9.apply(this,arguments)}function AKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var e2e="atx",t2e="setext",mKn=/[\s\-_]/,vKn=/[A-Za-z]/,bKn=/[0-9]/,YJt=function(t){Io(i,_g);var n=AKn(i);function i(){var o,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0,externals:void 0};s.externals;var u=s.config;return vi(this,i),(o=n.call(this,{needCache:!0})).strict=!u||!!u.strict,o.RULE=o.rule(),o.headerIDCache=[],o.headerIDCounter={},o.config=u||{},o}return bi(i,[{key:"$parseTitleText",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return typeof o!="string"?"":o.replace(/<.*?>/g,"").replace(/</g,"<").replace(/>/g,">")}},{key:"$generateId",value:function(o){for(var s=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],u=o.length,d="",f=0;f255)try{d+=encodeURIComponent(g)}catch{}}return d}},{key:"generateIDNoDup",value:function(o){var s,u=o.replace(/</g,"<").replace(/>/g,">"),d=this.$generateId(u,!0),f=vu(s=this.headerIDCache).call(s,d);if(f!==-1)this.headerIDCounter[f]+=1,d+="-".concat(this.headerIDCounter[f]+1);else{var g=this.headerIDCache.push(d);this.headerIDCounter[g-1]=1}return d}},{key:"$wrapHeader",value:function(o,s,u,d){var f,g,m,b,w,C,T,k=d(Ra(o).call(o)),$=k.html,O=$.match(/\s+\{#([A-Za-z0-9-]+)\}$/);O!==null&&($=$.substring(0,O.index),T=od(O,2)[1]);var B=this.$parseTitleText($);T||(T=this.generateIDNoDup(B.replace(/~fn#([0-9]+)#/g,"")));var P="safe_".concat(T),N=this.$engine.md5(St(f=St(g=St(m="".concat(s,"-")).call(m,k.sign,"-")).call(g,T,"-")).call(f,u));return{html:[St(b=St(w=St(C="'),this.$getAnchor(T),"".concat($),"")].join(""),sign:"".concat(N)}}},{key:"$getAnchor",value:function(o){return(this.config.anchorStyle||"default")==="none"?"":'')}},{key:"beforeMakeHtml",value:function(o){var s=this,u=o;return this.test(u,e2e)&&(u=u.replace(this.RULE[e2e].reg,function(d,f,g,m){return Ra(m).call(m)===""?d:s.getCacheWithSpace(s.pushCache(d),d,!0)})),this.test(u,t2e)&&(u=u.replace(this.RULE[t2e].reg,function(d,f,g){return Ra(g).call(g)===""||s.isContainsCache(g)?d:s.getCacheWithSpace(s.pushCache(d),d,!0)})),u}},{key:"makeHtml",value:function(o,s){var u=this,d=this.restoreCache(o);return this.test(d,e2e)&&(d=d.replace(this.RULE[e2e].reg,function(f,g,m,b){var w=TVe(g,u.getLineCount(f.replace(/^\n+/,""))),C=b.replace(/\s+#+\s*$/,""),T=u.$wrapHeader(C,m.length,w,s),k=T.html,$=T.sign;return u.getCacheWithSpace(u.pushCache(k,$,w),f,!0)})),this.test(d,t2e)&&(d=d.replace(this.RULE[t2e].reg,function(f,g,m,b){if(u.isContainsCache(m))return f;var w=TVe(g,u.getLineCount(f.replace(/^\n+/,""))),C=b[0]==="-"?2:1,T=u.$wrapHeader(m,C,w,s),k=T.html,$=T.sign;return u.getCacheWithSpace(u.pushCache(k,$,w),f,!0)})),d}},{key:"afterMakeHtml",value:function(o){var s=T9(Kn(i.prototype),"afterMakeHtml",this).call(this,o);return this.headerIDCache=[],this.headerIDCounter={},s}},{key:"test",value:function(o,s){return this.RULE[s].reg&&this.RULE[s].reg.test(o)}},{key:"rule",value:function(){var o={begin:"(?:^|\\n)(\\n*)",content:["(?:\\h*","(.+)",")\\n","(?:\\h*","([=]+|[-]+)",")"].join(""),end:"(?=$|\\n)"};o.reg=rb(o,"g",!0);var s={begin:"(?:^|\\n)(\\n*)(?:\\h*(#{1,6}))",content:"(.+?)",end:"(?=$|\\n)"};return this.strict&&(s.begin+="(?=\\h+)"),s.reg=rb(s,"g",!0),{setext:o,atx:s}}}]),i}();function yKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(YJt,"HOOK_NAME","header");var qJt=function(t){Io(i,Up);var n=yKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"rule",value:function(){return{begin:"",content:"",end:"",reg:new RegExp("")}}},{key:"beforeMakeHtml",value:function(o){return o.replace(/\\\n/g,`\\ +`)}},{key:"afterMakeHtml",value:function(o){var s=o.replace(/~Q/g,"~");return s=(s=(s=(s=(s=s.replace(/~X/g,"`")).replace(/~Y/g,"!")).replace(/~Z/g,"#")).replace(/~&/g,"&")).replace(/~K/g,"/")}}]),i}();Ni(qJt,"HOOK_NAME","transfer");var wKn=Fi.TypeError,AFt=function(t){return function(n,i,o,s){xd(i);var u=X3(n),d=H5e(u),f=rx(u),g=t?f-1:0,m=t?-1:1;if(o<2)for(;;){if(g in d){s=d[g],g+=m;break}if(g+=m,t?g<0:f<=g)throw wKn("Reduce of empty array with no initial value")}for(;t?g>=0:f>g;g+=m)g in d&&(s=i(s,d[g],g,u));return s}},xKn={left:AFt(!1),right:AFt(!0)},O$=L9(Fi.process)=="process",CKn=xKn.left,SKn=rG("reduce");Ho({target:"Array",proto:!0,forced:!SKn||!O$&&z9>79&&z9<83},{reduce:function(t){var n=arguments.length;return CKn(this,t,n,n>1?arguments[1]:void 0)}});var TKn=Ig("Array").reduce,mje=Array.prototype,R$=function(t){var n=t.reduce;return t===mje||of(mje,t)&&n===mje.reduce?TKn:n};function mFt(t,n){var i=ad(t);if(P1){var o=P1(t);n&&(o=Jf(o).call(o,function(s){return Og(t,s).enumerable})),i.push.apply(i,o)}return i}function n2e(t){for(var n=1;n"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var vFt="loose",bFt="strict",JJt=function(t){Io(i,_g);var n=EKn(i);function i(o){var s,u=o.externals,d=o.config;vi(this,i),s=n.call(this,{needCache:!0});var f=d.enableChart,g=d.chartRenderEngine,m=d.externals,b=d.chartEngineOptions,w=b===void 0?{}:b;if(s.chartRenderEngine=null,f===!0)try{s.chartRenderEngine=new g(n2e(n2e({},u&&m instanceof Array&&R$(m).call(m,function(C,T){return delete w[T],n2e(n2e({},C),{},Ni({},T,u[T]))},{})),{},{renderer:"svg",width:500,height:300},w))}catch(C){console.warn(C)}return s}return bi(i,[{key:"$extendColumns",value:function(o,s){var u=s-o.length;return u<1?o:St(o).call(o,Gf(" |").call(" |",u).split("|",u))}},{key:"$parseChartOptions",value:function(o){if(!this.chartRenderEngine)return null;var s=/^[ ]*:(\w+):(?:[ ]*{(.*?)}[ ]*)?$/;if(!s.test(o))return null;var u=od(o.match(s),3),d=u[1],f=u[2];return{type:d,options:f?f.split(/\s*,\s*/):["x","y"]}}},{key:"$parseColumnAlignRules",value:function(o){var s=["U","L","R","C"];return{textAlignRules:Ws(o).call(o,function(u){var d=Ra(u).call(u),f=0;return/^:/.test(d)&&(f+=1),/:$/.test(d)&&(f+=2),s[f]}),COLUMN_ALIGN_MAP:{L:"left",R:"right",C:"center"}}}},{key:"$parseTable",value:function(o,s,u){var d,f,g,m,b,w,C=this,T=0,k=Ws(o).call(o,function(re,J){var V=re.replace(/\\\|/g,"~CS").split("|");return V[0]===""&&V.shift(),V[V.length-1]===""&&V.pop(),J!==1&&(T=Math.max(T,V.length)),V}),$=this.$parseColumnAlignRules(k[1]),O=$.textAlignRules,B=$.COLUMN_ALIGN_MAP,P={header:[],rows:[],colLength:T,rowLength:k.length-2},N=this.$parseChartOptions(k[0][0]),L=this.$engine.md5(k[0][0]);N&&(k[0][0]="");var R=Ws(d=this.$extendColumns(k[0],T)).call(d,function(re,J){var V,ue;P.header.push(re.replace(/~CS/g,"\\|"));var Y=s(Ra(V=re.replace(/~CS/g,"\\|")).call(V)).html;return St(ue="~CTH".concat(O[J]||"U"," ")).call(ue,Y," ~CTH$")}).join(""),H=R$(k).call(k,function(re,J,V){var ue;if(V<=1)return re;var Y=V-2;P.rows[Y]=[];var le=Ws(ue=C.$extendColumns(J,T)).call(ue,function(te,Z){var Ae,Se;P.rows[Y].push(te.replace(/~CS/g,"\\|"));var ke=s(Ra(Ae=te.replace(/~CS/g,"\\|")).call(Ae)).html;return St(Se="~CTD".concat(O[Z]||"U"," ")).call(Se,ke," ~CTD$")});return re.push("~CTR".concat(le.join(""),"~CTR$")),re},[]).join(""),Q=this.$renderTable(B,R,H,u);if(!N)return Q;var q=this.chartRenderEngine.render(N.type,N.options,P),X=St(f=St(g=St(m=St(b='
')).call(f,q,"
");return{html:St(w="".concat(X)).call(w,Q.html),sign:L+Q.sign}}},{key:"$testHeadEmpty",value:function(o){var s=o.replace(/ /g,"").replace(/\s/g,"").replace(/(~CTH\$|~CTHU|~CTHL|~CTHR|~CTHC)/g,"");return(s==null?void 0:s.length)>0}},{key:"$renderTable",value:function(o,s,u,d){var f,g,m,b,w=this.$testHeadEmpty(s)?St(f="~CTHD".concat(s,"~CTHD$~CTBD")).call(f,u,"~CTBD$"):"~CTBD".concat(u,"~CTBD$"),C=this.$engine.md5(w),T=w.replace(/~CTHD\$/g,"").replace(/~CTHD/g,"
").replace(/~CTBD\$/g,"").replace(/~CTBD/g,"").replace(/~CTR\$/g,"").replace(/~CTR/g,"").replace(/[ ]?~CTH\$/g,"").replace(/[ ]?~CTD\$/g,"").replace(/~CT(D|H)(L|R|C|U)[ ]?/g,function(k,$,O){var B="":' align="'.concat(o[O],'">')}).replace(/\\\|/g,"|");return{html:St(g=St(m=St(b='
+
`)).call(g,T,"
"),sign:C}}},{key:"makeHtml",value:function(o,s){var u=this,d=o;return this.test(d,bFt)&&(d=d.replace(this.RULE[bFt].reg,function(f,g){var m,b=u.getLineCount(f,g),w=Ws(m=Ra(f).call(f).split(/\n/)).call(m,function($){var O;return Ra(O=String($)).call(O)}),C=u.$parseTable(w,s,b),T=C.html,k=C.sign;return u.getCacheWithSpace(u.pushCache(T,k,b),f)})),this.test(d,vFt)&&(d=d.replace(this.RULE[vFt].reg,function(f,g){var m,b=u.getLineCount(f,g),w=Ws(m=Ra(f).call(f).split(/\n/)).call(m,function($){var O;return Ra(O=String($)).call(O)}),C=u.$parseTable(w,s,b),T=C.html,k=C.sign;return u.getCacheWithSpace(u.pushCache(T,k,b),f)})),d}},{key:"test",value:function(o,s){return this.RULE[s].reg&&this.RULE[s].reg.test(o)}},{key:"rule",value:function(){return q5e()}}]),i}();function G5(){return(typeof window>"u"?"undefined":Uc(window))==="object"}function kKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(JJt,"HOOK_NAME","table");var ZJt=function(t){Io(i,_g);var n=kKn(i);function i(o){var s;return vi(this,i),(s=n.call(this,{needCache:!0})).classicBr=XYe("classicBr")?M3e():o.globalConfig.classicBr,s}return bi(i,[{key:"beforeMakeHtml",value:function(o){var s=this;return this.test(o)?o.replace(this.RULE.reg,function(u,d,f){var g,m;if(f===0)return u;var b,w,C=(g=(m=d.match(/\n/g))===null||m===void 0?void 0:m.length)!==null&&g!==void 0?g:0,T="br".concat(C),k="";G5()?k=s.classicBr?St(b=''):St(w='

 

'):k=s.classicBr?"":"
";var $=s.pushCache(k,T,C);return` + +`.concat($,` +`)}):o}},{key:"makeHtml",value:function(o,s){return o}},{key:"rule",value:function(){var o={begin:"(?:\\n)",end:"",content:"((?:\\h*\\n){2,})"};return o.reg=rb(o,"g",!0),o}}]),i}();function BKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(ZJt,"HOOK_NAME","br");var eZt=function(t){Io(i,_g);var n=BKn(i);function i(){return vi(this,i),n.call(this,{needCache:!0})}return bi(i,[{key:"beforeMakeHtml",value:function(o){var s=this;return o.replace(this.RULE.reg,function(u,d){var f,g=(d.match(/\n/g)||[]).length+1,m="hr".concat(g);return gQ(u,s.pushCache(St(f='
'),m))})}},{key:"makeHtml",value:function(o,s){return o}},{key:"rule",value:function(){var o={begin:"(?:^|\\n)(\\n*)[ ]*",end:"(?=$|\\n)",content:"((?:-[ \\t]*){3,}|(?:\\*[ \\t]*){3,}|(?:_[ \\t]*){3,})"};return o.reg=new RegExp(o.begin+o.content+o.end,"g"),o}}]),i}();Ni(eZt,"HOOK_NAME","hr");var _Kn={processExtendAttributesInAlt:function(t){var n=t.match(/#([0-9]+(px|em|pt|pc|in|mm|cm|ex|%)|auto)/g);if(!n)return"";var i="",o=od(n,2),s=o[0],u=o[1];return s&&(i=' width="'.concat(s.replace(/[ #]*/g,""),'"')),u&&(i+=' height="'.concat(u.replace(/[ #]*/g,""),'"')),i},processExtendStyleInAlt:function(t){var n=this.$getAlignment(t),i="",o=t.match(/#(border|shadow|radius|B|S|R)/g);if(o)for(var s=0;s"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var wFt=function(t,n,i,o,s,u,d,f,g){var m=s===void 0?"ref":"url",b="";if(m==="ref")return n;if(m==="url"){var w,C,T,k,$,O,B,P,N=L3e.processExtendAttributesInAlt(o),L=L3e.processExtendStyleInAlt(o),R=L.extendStyles,H=L.extendClasses;R&&(R=' style="'.concat(R,'" ')),H&&(H=' class="'.concat(H,'" ')),b=u&&Ra(u).call(u)!==""?' title="'.concat(H3(u),'"'):"",d&&(b+=' poster="'.concat(uL(d),'"'));var Q=g.urlProcessor(s,t),q=St(w=St(C=St(T=St(k=St($=St(O=St(B="<".concat(t,' src="')).call(B,I$.set(uL(Q)),'"')).call(O,b," ")).call($,N," ")).call(k,R," ")).call(T,H,' controls="controls">')).call(C,H3(o||""),"");return St(P="".concat(i)).call(P,f.videoWrapper?f.videoWrapper(s):q)}return n},tZt=function(t){Io(i,Up);var n=$Kn(i);function i(o){var s,u=o.config,d=o.globalConfig;return vi(this,i),(s=n.call(this,null)).urlProcessor=d.urlProcessor,s.extendMedia={tag:["video","audio"],replacer:{video:function(f,g,m,b,w,C){return wFt("video",f,g,m,b,w,C,u,d)},audio:function(f,g,m,b,w,C){return wFt("audio",f,g,m,b,w,C,u,d)}}},s.RULE=s.rule(s.extendMedia),s}return bi(i,[{key:"toHtml",value:function(o,s,u,d,f,g,m){var b=d===void 0?"ref":"url",w="";if(b==="ref")return o;if(b==="url"){var C,T,k,$,O,B,P,N,L=L3e.processExtendAttributesInAlt(u),R=L3e.processExtendStyleInAlt(u),H=R.extendStyles,Q=R.extendClasses;H&&(H=' style="'.concat(H,'" ')),Q&&(Q=' class="'.concat(Q,'" ')),w=f&&Ra(f).call(f)!==""?' title="'.concat(H3(f.replace(/["']/g,"")),'"'):"";var q,X="src",re=this.$engine.$cherry.options;if(re.callback&&re.callback.beforeImageMounted){var J=re.callback.beforeImageMounted(X,d);X=J.srcProp||X,q=J.src||d}var V=m?m.replace(/[{}]/g,"").replace(/([^=\s]+)=([^\s]+)/g,'$1="$2"').replace(/&/g,"&"):"";return St(C=St(T=St(k=St($=St(O=St(B=St(P=St(N="".concat(s,"')).call(k,H3(u||")}return o}},{key:"toMediaHtml",value:function(o,s,u,d,f,g,m,b,w){var C,T;if(!this.extendMedia.replacer[u])return o;for(var k=arguments.length,$=new Array(k>9?k-9:0),O=9;O"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(tZt,"HOOK_NAME","image");function SFt(t){var n;if(Uc(t)!=="object"&&ad(t).length<1)return"";var i=[""];return Wo(n=ad(t)).call(n,function(o){var s;i.push(St(s="".concat(o,'="')).call(s,t[o],'"'))}),i.join(" ")}function OKn(t,n){for(var i=/^(\t|[ ])/,o=t;i.test(o);)n.space+=o[0]===" "?4:1,o=o.replace(i,"");return o}function MKn(t,n){var i=/^((([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]*?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/;return i.test(t)?t.replace(i,function(o,s,u,d,f){return n.type=u.search(/[*+-]/g)>-1?"ul":"ol",n.listStyle=function(g){return/^[a-z]/.test(g)?"lower-greek":/^[一二三四五六七八九十]/.test(g)?"cjk-ideographic":/^I/.test(g)?"upper-roman":/^\+/.test(g)?"circle":/^\*/.test(g)?"square":"default"}(u),n.start=Number(u.replace(".",""))?Number(u.replace(".","")):1,f}):(n.type="blank",t)}var PKn=bi(function t(){vi(this,t),this.index=0,this.space=0,this.type="",this.start=1,this.listStyle="",this.strs=[],this.children=[],this.lines=0}),nZt=function(t){Io(i,_g);var n=IKn(i);function i(o){var s,u=o.config;return vi(this,i),(s=n.call(this,{needCache:!0})).config=u||{},s.tree=[],s.emptyLines=0,s.indentSpace=Math.max(s.config.indentSpace,2),s}return bi(i,[{key:"addNode",value:function(o,s,u,d){o.type==="blank"?this.tree[d].strs.push(o.strs[0]):(this.tree[u].children.push(s),this.tree[s]=CFt(CFt({},o),{},{parent:u}))}},{key:"buildTree",value:function(o,s){var u=o.split(` +`);this.tree=[],u.unshift("");for(var d=o.match(/\n*$/g)[0].length,f=0;fg.space;)m-=1;var b=g.space,w=this.tree[m].space;b".concat(P.strs.join("
"),"

");P.lines+=m.getLineCount(P.strs.join(` +`));var R=P.children.length?m.renderTree(k):"";return o.lines+=P.lines,b+=P.lines,/<\/span>/.test(L)&&(N.class+=" check-list-item"),St($=St(O=St(B="".concat(T,"")).call(O,L)).call($,R,"")},"");return o.parent===void 0&&(w["data-lines"]=o.index===0?b+this.emptyLines:b,w["data-sign"]=this.sign),s[0]&&u==="ol"&&(w.start=this.tree[s[0]].start),w.class="cherry-list__".concat(this.tree[s[0]].listStyle),St(d=St(f=St(g="<".concat(u)).call(g,SFt(w),">")).call(f,C,"")}},{key:"renderTree",value:function(o){var s=this,u=0,d=this.tree[o],f=d.children;return R$(f).call(f,function(g,m,b){if(b===0||s.tree[f[b]].type===s.tree[f[b-1]].type)return g;var w=s.renderSubTree(d,Eo(f).call(f,u,b),s.tree[f[b-1]].type);return u=b,g+w},"")+(f.length?this.renderSubTree(d,Eo(f).call(f,u,f.length),this.tree[f[f.length-1]].type):"")}},{key:"toHtml",value:function(o,s){var u,d;this.emptyLines=(u=(d=o.match(/^\n\n/))===null||d===void 0?void 0:d.length)!==null&&u!==void 0?u:0;var f=o.replace(/~0$/g,"").replace(/^\n+/,"");this.buildTree(function(m){return m.replace(/^((?:|[\t ]+)[*+-]\s+)\[(\s|x)\]/gm,function(b,w,C){var T,k=/\s/.test(C)?'':'';return St(T="".concat(w)).call(T,k)})}(f),s);var g=this.renderTree(0);return this.pushCache(g,this.sign,this.$getLineNum(o))}},{key:"$getLineNum",value:function(o){var s,u,d,f,g=(s=(u=o.match(/^\n\n/))===null||u===void 0?void 0:u.length)!==null&&s!==void 0?s:0;return(d=(f=o.replace(/^\n+/,"").replace(/\n+$/,` +`).match(/\n/g))===null||f===void 0?void 0:f.length)!==null&&d!==void 0?d:0+g}},{key:"makeHtml",value:function(o,s){var u=this,d="".concat(o,"~0");return this.test(d)&&(d=d.replace(this.RULE.reg,function(f){return u.getCacheWithSpace(u.checkCache(f,s,u.$getLineNum(f)),f)})),d=d.replace(/~0$/g,"")}},{key:"rule",value:function(){var o={begin:`(?:^| +)( +*)(([ ]{0,3}([*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)`,content:"([^\\r]+?)",end:"(~0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)))"};return o.reg=new RegExp(o.begin+o.content+o.end,"gm"),o}}]),i}();function LKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}function TFt(t){for(var n=/^(\t|[ ]{1,4})/,i=t,o=0;n.test(i);)i=i.replace(/^(\t|[ ]{1,4})/g,""),o+=1;return o}Ni(nZt,"HOOK_NAME","list");var rZt=function(t){Io(i,_g);var n=LKn(i);function i(){return vi(this,i),n.call(this,{needCache:!0})}return bi(i,[{key:"handleMatch",value:function(o,s){var u=this;return o.replace(this.RULE.reg,function(d,f,g){for(var m,b,w=s(g),C=w.sign,T=w.html,k=u.signWithCache(T)||C,$=u.getLineCount(d,f),O=/^(([ \t]{0,3}([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]+?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/,B=TFt(f),P=T.split(` +`),N=/^[>\s]+/,L=/>/g,R=1,H=0,Q=St(m=St(b='
'),q=0;P[q];q++){if(q!==0){var X=TFt(P[q]);if(X<=B&&O.test(P[q]))break;B=X}var re=P[q].replace(N,function(J){var V=J.match(L);return H=V&&V.length>R?V.length:R,""});R===H&&q!==0&&(Q+="
"),R").call("
",H-R),R=H),Q+=re}return Q+=Gf("
").call("
",R),u.getCacheWithSpace(u.pushCache(Q,k,$),d)})}},{key:"makeHtml",value:function(o,s){return this.test(o)?this.handleMatch(o,s):o}},{key:"rule",value:function(){var o={begin:"(?:^|\\n)(\\s*)",content:["(",">(?:.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))(?:>*.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))*(?:>*.+?)","|",">(?:.+?)",")"].join(""),end:"(?=(\\n)|$)"};return o.reg=rb(o,"g"),o}}]),i}();function DKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(rZt,"HOOK_NAME","blockquote");var iZt=function(t){Io(i,Up);var n=DKn(i);function i(o){var s,u=o.config,d=o.globalConfig;return vi(this,i),(s=n.call(this,{config:u})).urlProcessor=d.urlProcessor,s.enableShortLink=!!u.enableShortLink,s.shortLinkLength=u.shortLinkLength,s.target=u.target?'target="'.concat(u.target,'"'):u.openNewPage?'target="_blank"':"",s.rel=u.rel?'rel="'.concat(u.rel,'"'):"",s}return bi(i,[{key:"isLinkInHtmlAttribute",value:function(o,s,u){for(var d,f=new RegExp(["<","([a-zA-Z][a-zA-Z0-9-]*)","(",["\\s+[a-zA-Z_:][a-zA-Z0-9_.:-]*","(",["\\s*=\\s*","(",["([^\\s\"'=<>`]+)","('[^']*')",'("[^"]*")'].join("|"),")"].join(""),")?"].join(""),")*","\\s*[/]?>"].join(""),"g");(d=f.exec(o))!==null&&!(d.index>s+u);)if(d.index=s+u)return!0;return!1}},{key:"isLinkInATag",value:function(o,s,u){for(var d,f=/[^<]*<\/a>/g;(d=f.exec(o))!==null&&!(d.index>s+u);)if(d.index=s+u)return!0;return!1}},{key:"makeHtml",value:function(o,s){var u=this;return this.test(o)&&(SVe.test(o)||VYe.test(o))?o.replace(this.RULE.reg,function(d,f,g,m,b,w,C){var T,k,$;if(u.isLinkInHtmlAttribute(C,w,g.length+m.length)||u.isLinkInATag(C,w,g.length+m.length))return d;var O=g.toLowerCase(),B="",P="",N=!0;if((f!=="<"&&f!=="<"||b!==">"&&b!==">")&&(B=f,P=b,N=!1),Ra(m).call(m)===""||!N&&O===""&&!/www\./.test(m))return d;switch(O){case"javascript:":return d;case"mailto:":var L,R,H,Q,q,X;return cje.test(m)?St(L=St(R=St(H=St(Q=St(q="".concat(B,'")).call(R,H3(m),"")).call(L,P):d;case"":var re,J,V,ue,Y,le,te,Z,Ae,Se;if(B===P||!N)return cje.test(m)?St(re=St(J=St(V=St(ue=St(Y="".concat(B,'")).call(J,H3(m),"")).call(re,P):FDt.test(m)?St(le=St(te="".concat(B)).call(te,u.renderLink("//".concat(m),m))).call(le,P):d;if(N)return cje.test(m)?St(Z=St(Ae=St(Se='")).call(Z,H3(m),""):NDt.test(m)||FDt.test(m)?u.renderLink(m):d;default:return NDt.test(m)?St(T=St(k="".concat(B)).call(k,u.renderLink(St($="".concat(O)).call($,m)))).call(T,P):d}return d}):o}},{key:"rule",value:function(){var o,s={begin:"(?)"};return s.reg=rb(s,"ig"),s}},{key:"renderLink",value:function(o,s){var u,d,f,g,m=s;if(typeof m!="string")if(this.enableShortLink){var b,w=o.replace(/^https?:\/\//i,"");m=St(b="".concat(w.substring(0,this.shortLinkLength))).call(b,w.length>this.shortLinkLength?"...":"")}else m=o;var C=this.urlProcessor(o,"autolink");return St(u=St(d=St(f=St(g="')).call(u,H3(m).replace(/_/g,"\\_"),"")}}]),i}();function D3e(){var t,n,i,o;G5()&&(this.katex=(t=(n=this.externals)===null||n===void 0?void 0:n.katex)!==null&&t!==void 0?t:window.katex,this.MathJax=(i=(o=this.externals)===null||o===void 0?void 0:o.MathJax)!==null&&i!==void 0?i:window.MathJax)}Ni(iZt,"HOOK_NAME","autoLink");var EFt=["&","<",">",'"',"'"],oZt=function(t){var n=t.replace(new RegExp(BJt,"g"),function(i){return vu(EFt).call(EFt,i)!==-1?yX(i):"\\".concat(i)});return n},FKn=Jc(function(t,n){t.exports=function(){const{entries:i,setPrototypeOf:o,isFrozen:s,getPrototypeOf:u,getOwnPropertyDescriptor:d}=Object;let{freeze:f,seal:g,create:m}=Object,{apply:b,construct:w}=typeof Reflect<"u"&&Reflect;f||(f=function(vt){return vt}),g||(g=function(vt){return vt}),b||(b=function(vt,st,Ot){return vt.apply(st,Ot)}),w||(w=function(vt,st){return new vt(...st)});const C=Q(Array.prototype.forEach),T=Q(Array.prototype.pop),k=Q(Array.prototype.push),$=Q(String.prototype.toLowerCase),O=Q(String.prototype.toString),B=Q(String.prototype.match),P=Q(String.prototype.replace),N=Q(String.prototype.indexOf),L=Q(String.prototype.trim),R=Q(RegExp.prototype.test),H=q(TypeError);function Q(vt){return function(st){for(var Ot=arguments.length,Ht=new Array(Ot>1?Ot-1:0),It=1;It2&&arguments[2]!==void 0?arguments[2]:$;o&&o(vt,null);let Ht=st.length;for(;Ht--;){let It=st[Ht];if(typeof It=="string"){const Lt=Ot(It);Lt!==It&&(s(st)||(st[Ht]=Lt),It=Lt)}vt[It]=!0}return vt}function re(vt){for(let st=0;st/gm),ze=g(/\${[\w\W]*}/gm),ht=g(/^data-[\-\w.\u00B7-\uFFFF]/),nt=g(/^aria-[\-\w]+$/),lt=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ge=g(/^(?:\w+script|data):/i),rt=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=g(/^html$/i);var De=Object.freeze({__proto__:null,MUSTACHE_EXPR:Qe,ERB_EXPR:Ve,TMPLIT_EXPR:ze,DATA_ATTR:ht,ARIA_ATTR:nt,IS_ALLOWED_URI:lt,IS_SCRIPT_OR_DATA:Ge,ATTR_WHITESPACE:rt,DOCTYPE_NAME:gt});const it=function(){return typeof window>"u"?null:window},je=function(vt,st){if(typeof vt!="object"||typeof vt.createPolicy!="function")return null;let Ot=null;const Ht="data-tt-policy-suffix";st&&st.hasAttribute(Ht)&&(Ot=st.getAttribute(Ht));const It="dompurify"+(Ot?"#"+Ot:"");try{return vt.createPolicy(It,{createHTML:Lt=>Lt,createScriptURL:Lt=>Lt})}catch{return console.warn("TrustedTypes policy "+It+" could not be created."),null}};function _t(){let vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:it();const st=kn=>_t(kn);if(st.version="3.0.8",st.removed=[],!vt||!vt.document||vt.document.nodeType!==9)return st.isSupported=!1,st;let{document:Ot}=vt;const Ht=Ot,It=Ht.currentScript,{DocumentFragment:Lt,HTMLTemplateElement:Vt,Node:Ct,Element:kt,NodeFilter:wt,NamedNodeMap:fn=vt.NamedNodeMap||vt.MozNamedAttrMap,HTMLFormElement:vn,DOMParser:or,trustedTypes:pn}=vt,Mn=kt.prototype,dr=V(Mn,"cloneNode"),jn=V(Mn,"nextSibling"),$r=V(Mn,"childNodes"),An=V(Mn,"parentNode");if(typeof Vt=="function"){const kn=Ot.createElement("template");kn.content&&kn.content.ownerDocument&&(Ot=kn.content.ownerDocument)}let _n,yr="";const{implementation:cr,createNodeIterator:oi,createDocumentFragment:En,getElementsByTagName:go}=Ot,{importNode:pr}=Ht;let po={};st.isSupported=typeof i=="function"&&typeof An=="function"&&cr&&cr.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:aa,ERB_EXPR:Ti,TMPLIT_EXPR:Ji,DATA_ATTR:qo,ARIA_ATTR:da,IS_SCRIPT_OR_DATA:Ba,ATTR_WHITESPACE:Pa}=De;let{IS_ALLOWED_URI:ls}=De,Vn=null;const Qo=X({},[...ue,...Y,...le,...Z,...Se]);let Ii=null;const za=X({},[...ke,...Be,...we,...Ce]);let Qi=Object.seal(m(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Fa=null,Oc=null,Gs=!0,ql=!0,Ec=!1,Zs=!0,is=!1,Qs=!1,_l=!1,hs=!1,uc=!1,cs=!1,Bs=!1,Ei=!0,Nd=!1;const yu="user-content-";let sh=!0,pl=!1,sd={},io=null;const Ps=X({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Sr=null;const zr=X({},["audio","video","img","source","image","track"]);let Ha=null;const bn=X({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),lh="http://www.w3.org/1998/Math/MathML",Nn="http://www.w3.org/2000/svg",Cl="http://www.w3.org/1999/xhtml";let _a=Cl,zh=!1,lr=null;const ri=X({},[lh,Nn,Cl],O);let ti=null;const qr=["application/xhtml+xml","text/html"],oo="text/html";let bo=null,jo=null;const _s=Ot.createElement("form"),Ca=function(kn){return kn instanceof RegExp||kn instanceof Function},Ul=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!jo||jo!==kn){if(kn&&typeof kn=="object"||(kn={}),kn=J(kn),ti=qr.indexOf(kn.PARSER_MEDIA_TYPE)===-1?oo:kn.PARSER_MEDIA_TYPE,bo=ti==="application/xhtml+xml"?O:$,Vn="ALLOWED_TAGS"in kn?X({},kn.ALLOWED_TAGS,bo):Qo,Ii="ALLOWED_ATTR"in kn?X({},kn.ALLOWED_ATTR,bo):za,lr="ALLOWED_NAMESPACES"in kn?X({},kn.ALLOWED_NAMESPACES,O):ri,Ha="ADD_URI_SAFE_ATTR"in kn?X(J(bn),kn.ADD_URI_SAFE_ATTR,bo):bn,Sr="ADD_DATA_URI_TAGS"in kn?X(J(zr),kn.ADD_DATA_URI_TAGS,bo):zr,io="FORBID_CONTENTS"in kn?X({},kn.FORBID_CONTENTS,bo):Ps,Fa="FORBID_TAGS"in kn?X({},kn.FORBID_TAGS,bo):{},Oc="FORBID_ATTR"in kn?X({},kn.FORBID_ATTR,bo):{},sd="USE_PROFILES"in kn&&kn.USE_PROFILES,Gs=kn.ALLOW_ARIA_ATTR!==!1,ql=kn.ALLOW_DATA_ATTR!==!1,Ec=kn.ALLOW_UNKNOWN_PROTOCOLS||!1,Zs=kn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,is=kn.SAFE_FOR_TEMPLATES||!1,Qs=kn.WHOLE_DOCUMENT||!1,uc=kn.RETURN_DOM||!1,cs=kn.RETURN_DOM_FRAGMENT||!1,Bs=kn.RETURN_TRUSTED_TYPE||!1,hs=kn.FORCE_BODY||!1,Ei=kn.SANITIZE_DOM!==!1,Nd=kn.SANITIZE_NAMED_PROPS||!1,sh=kn.KEEP_CONTENT!==!1,pl=kn.IN_PLACE||!1,ls=kn.ALLOWED_URI_REGEXP||lt,_a=kn.NAMESPACE||Cl,Qi=kn.CUSTOM_ELEMENT_HANDLING||{},kn.CUSTOM_ELEMENT_HANDLING&&Ca(kn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Qi.tagNameCheck=kn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),kn.CUSTOM_ELEMENT_HANDLING&&Ca(kn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Qi.attributeNameCheck=kn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),kn.CUSTOM_ELEMENT_HANDLING&&typeof kn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Qi.allowCustomizedBuiltInElements=kn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),is&&(ql=!1),cs&&(uc=!0),sd&&(Vn=X({},Se),Ii=[],sd.html===!0&&(X(Vn,ue),X(Ii,ke)),sd.svg===!0&&(X(Vn,Y),X(Ii,Be),X(Ii,Ce)),sd.svgFilters===!0&&(X(Vn,le),X(Ii,Be),X(Ii,Ce)),sd.mathMl===!0&&(X(Vn,Z),X(Ii,we),X(Ii,Ce))),kn.ADD_TAGS&&(Vn===Qo&&(Vn=J(Vn)),X(Vn,kn.ADD_TAGS,bo)),kn.ADD_ATTR&&(Ii===za&&(Ii=J(Ii)),X(Ii,kn.ADD_ATTR,bo)),kn.ADD_URI_SAFE_ATTR&&X(Ha,kn.ADD_URI_SAFE_ATTR,bo),kn.FORBID_CONTENTS&&(io===Ps&&(io=J(io)),X(io,kn.FORBID_CONTENTS,bo)),sh&&(Vn["#text"]=!0),Qs&&X(Vn,["html","head","body"]),Vn.table&&(X(Vn,["tbody"]),delete Fa.tbody),kn.TRUSTED_TYPES_POLICY){if(typeof kn.TRUSTED_TYPES_POLICY.createHTML!="function")throw H('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof kn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw H('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_n=kn.TRUSTED_TYPES_POLICY,yr=_n.createHTML("")}else _n===void 0&&(_n=je(pn,It)),_n!==null&&typeof yr=="string"&&(yr=_n.createHTML(""));f&&f(kn),jo=kn}},Gu=X({},["mi","mo","mn","ms","mtext"]),Mc=X({},["foreignobject","desc","title","annotation-xml"]),Kh=X({},["title","style","font","a","script"]),dc=X({},[...Y,...le,...te]),e1=X({},[...Z,...Ae]),du=function(kn){let Jo=An(kn);Jo&&Jo.tagName||(Jo={namespaceURI:_a,tagName:"template"});const Do=$(kn.tagName),$l=$(Jo.tagName);return!!lr[kn.namespaceURI]&&(kn.namespaceURI===Nn?Jo.namespaceURI===Cl?Do==="svg":Jo.namespaceURI===lh?Do==="svg"&&($l==="annotation-xml"||Gu[$l]):!!dc[Do]:kn.namespaceURI===lh?Jo.namespaceURI===Cl?Do==="math":Jo.namespaceURI===Nn?Do==="math"&&Mc[$l]:!!e1[Do]:kn.namespaceURI===Cl?!(Jo.namespaceURI===Nn&&!Mc[$l])&&!(Jo.namespaceURI===lh&&!Gu[$l])&&!e1[Do]&&(Kh[Do]||!dc[Do]):!(ti!=="application/xhtml+xml"||!lr[kn.namespaceURI]))},xc=function(kn){k(st.removed,{element:kn});try{kn.parentNode.removeChild(kn)}catch{kn.remove()}},zl=function(kn,Jo){try{k(st.removed,{attribute:Jo.getAttributeNode(kn),from:Jo})}catch{k(st.removed,{attribute:null,from:Jo})}if(Jo.removeAttribute(kn),kn==="is"&&!Ii[kn])if(uc||cs)try{xc(Jo)}catch{}else try{Jo.setAttribute(kn,"")}catch{}},lb=function(kn){let Jo=null,Do=null;if(hs)kn=""+kn;else{const zc=B(kn,/^[\r\n\t ]+/);Do=zc&&zc[0]}ti==="application/xhtml+xml"&&_a===Cl&&(kn=''+kn+"");const $l=_n?_n.createHTML(kn):kn;if(_a===Cl)try{Jo=new or().parseFromString($l,ti)}catch{}if(!Jo||!Jo.documentElement){Jo=cr.createDocument(_a,"template",null);try{Jo.documentElement.innerHTML=zh?yr:$l}catch{}}const ec=Jo.body||Jo.documentElement;return kn&&Do&&ec.insertBefore(Ot.createTextNode(Do),ec.childNodes[0]||null),_a===Cl?go.call(Jo,Qs?"html":"body")[0]:Qs?Jo.documentElement:ec},af=function(kn){return oi.call(kn.ownerDocument||kn,kn,wt.SHOW_ELEMENT|wt.SHOW_COMMENT|wt.SHOW_TEXT,null)},Rd=function(kn){return kn instanceof vn&&(typeof kn.nodeName!="string"||typeof kn.textContent!="string"||typeof kn.removeChild!="function"||!(kn.attributes instanceof fn)||typeof kn.removeAttribute!="function"||typeof kn.setAttribute!="function"||typeof kn.namespaceURI!="string"||typeof kn.insertBefore!="function"||typeof kn.hasChildNodes!="function")},yA=function(kn){return typeof Ct=="function"&&kn instanceof Ct},t1=function(kn,Jo,Do){po[kn]&&C(po[kn],$l=>{$l.call(st,Jo,Do,jo)})},h2=function(kn){let Jo=null;if(t1("beforeSanitizeElements",kn,null),Rd(kn))return xc(kn),!0;const Do=bo(kn.nodeName);if(t1("uponSanitizeElement",kn,{tagName:Do,allowedTags:Vn}),kn.hasChildNodes()&&!yA(kn.firstElementChild)&&R(/<[/\w]/g,kn.innerHTML)&&R(/<[/\w]/g,kn.textContent))return xc(kn),!0;if(!Vn[Do]||Fa[Do]){if(!Fa[Do]&&ng(Do)&&(Qi.tagNameCheck instanceof RegExp&&R(Qi.tagNameCheck,Do)||Qi.tagNameCheck instanceof Function&&Qi.tagNameCheck(Do)))return!1;if(sh&&!io[Do]){const $l=An(kn)||kn.parentNode,ec=$r(kn)||kn.childNodes;if(ec&&$l)for(let zc=ec.length-1;zc>=0;--zc)$l.insertBefore(dr(ec[zc],!0),jn(kn))}return xc(kn),!0}return kn instanceof kt&&!du(kn)?(xc(kn),!0):Do!=="noscript"&&Do!=="noembed"&&Do!=="noframes"||!R(/<\/no(script|embed|frames)/i,kn.innerHTML)?(is&&kn.nodeType===3&&(Jo=kn.textContent,C([aa,Ti,Ji],$l=>{Jo=P(Jo,$l," ")}),kn.textContent!==Jo&&(k(st.removed,{element:kn.cloneNode()}),kn.textContent=Jo)),t1("afterSanitizeElements",kn,null),!1):(xc(kn),!0)},ph=function(kn,Jo,Do){if(Ei&&(Jo==="id"||Jo==="name")&&(Do in Ot||Do in _s))return!1;if(!(ql&&!Oc[Jo]&&R(qo,Jo))){if(!(Gs&&R(da,Jo))){if(!Ii[Jo]||Oc[Jo]){if(!(ng(kn)&&(Qi.tagNameCheck instanceof RegExp&&R(Qi.tagNameCheck,kn)||Qi.tagNameCheck instanceof Function&&Qi.tagNameCheck(kn))&&(Qi.attributeNameCheck instanceof RegExp&&R(Qi.attributeNameCheck,Jo)||Qi.attributeNameCheck instanceof Function&&Qi.attributeNameCheck(Jo))||Jo==="is"&&Qi.allowCustomizedBuiltInElements&&(Qi.tagNameCheck instanceof RegExp&&R(Qi.tagNameCheck,Do)||Qi.tagNameCheck instanceof Function&&Qi.tagNameCheck(Do))))return!1}else if(!Ha[Jo]){if(!R(ls,P(Do,Pa,""))){if((Jo!=="src"&&Jo!=="xlink:href"&&Jo!=="href"||kn==="script"||N(Do,"data:")!==0||!Sr[kn])&&!(Ec&&!R(Ba,P(Do,Pa,"")))){if(Do)return!1}}}}}return!0},ng=function(kn){return kn.indexOf("-")>0},sv=function(kn){t1("beforeSanitizeAttributes",kn,null);const{attributes:Jo}=kn;if(!Jo)return;const Do={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ii};let $l=Jo.length;for(;$l--;){const ec=Jo[$l],{name:zc,namespaceURI:_f,value:n1}=ec,Mg=bo(zc);let Oh=zc==="value"?n1:L(n1);if(Do.attrName=Mg,Do.attrValue=Oh,Do.keepAttr=!0,Do.forceKeepAttr=void 0,t1("uponSanitizeAttribute",kn,Do),Oh=Do.attrValue,Do.forceKeepAttr||(zl(zc,kn),!Do.keepAttr))continue;if(!Zs&&R(/\/>/i,Oh)){zl(zc,kn);continue}is&&C([aa,Ti,Ji],Tn=>{Oh=P(Oh,Tn," ")});const lp=bo(kn.nodeName);if(ph(lp,Mg,Oh)){if(!Nd||Mg!=="id"&&Mg!=="name"||(zl(zc,kn),Oh=yu+Oh),_n&&typeof pn=="object"&&typeof pn.getAttributeType=="function"&&!_f)switch(pn.getAttributeType(lp,Mg)){case"TrustedHTML":Oh=_n.createHTML(Oh);break;case"TrustedScriptURL":Oh=_n.createScriptURL(Oh)}try{_f?kn.setAttributeNS(_f,zc,Oh):kn.setAttribute(zc,Oh),T(st.removed)}catch{}}}t1("afterSanitizeAttributes",kn,null)},Wp=function kn(Jo){let Do=null;const $l=af(Jo);for(t1("beforeSanitizeShadowDOM",Jo,null);Do=$l.nextNode();)t1("uponSanitizeShadowNode",Do,null),h2(Do)||(Do.content instanceof Lt&&kn(Do.content),sv(Do));t1("afterSanitizeShadowDOM",Jo,null)};return st.sanitize=function(kn){let Jo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Do=null,$l=null,ec=null,zc=null;if(zh=!kn,zh&&(kn=""),typeof kn!="string"&&!yA(kn)){if(typeof kn.toString!="function")throw H("toString is not a function");if(typeof(kn=kn.toString())!="string")throw H("dirty is not a string, aborting")}if(!st.isSupported)return kn;if(_l||Ul(Jo),st.removed=[],typeof kn=="string"&&(pl=!1),pl){if(kn.nodeName){const Mg=bo(kn.nodeName);if(!Vn[Mg]||Fa[Mg])throw H("root node is forbidden and cannot be sanitized in-place")}}else if(kn instanceof Ct)Do=lb(""),$l=Do.ownerDocument.importNode(kn,!0),$l.nodeType===1&&$l.nodeName==="BODY"||$l.nodeName==="HTML"?Do=$l:Do.appendChild($l);else{if(!uc&&!is&&!Qs&&kn.indexOf("<")===-1)return _n&&Bs?_n.createHTML(kn):kn;if(Do=lb(kn),!Do)return uc?null:Bs?yr:""}Do&&hs&&xc(Do.firstChild);const _f=af(pl?kn:Do);for(;ec=_f.nextNode();)h2(ec)||(ec.content instanceof Lt&&Wp(ec.content),sv(ec));if(pl)return kn;if(uc){if(cs)for(zc=En.call(Do.ownerDocument);Do.firstChild;)zc.appendChild(Do.firstChild);else zc=Do;return(Ii.shadowroot||Ii.shadowrootmode)&&(zc=pr.call(Ht,zc,!0)),zc}let n1=Qs?Do.outerHTML:Do.innerHTML;return Qs&&Vn["!doctype"]&&Do.ownerDocument&&Do.ownerDocument.doctype&&Do.ownerDocument.doctype.name&&R(gt,Do.ownerDocument.doctype.name)&&(n1=" +`+n1),is&&C([aa,Ti,Ji],Mg=>{n1=P(n1,Mg," ")}),_n&&Bs?_n.createHTML(n1):n1},st.setConfig=function(){Ul(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),_l=!0},st.clearConfig=function(){jo=null,_l=!1},st.isValidAttribute=function(kn,Jo,Do){jo||Ul({});const $l=bo(kn),ec=bo(Jo);return ph($l,ec,Do)},st.addHook=function(kn,Jo){typeof Jo=="function"&&(po[kn]=po[kn]||[],k(po[kn],Jo))},st.removeHook=function(kn){if(po[kn])return T(po[kn])},st.removeHooks=function(kn){po[kn]&&(po[kn]=[])},st.removeAllHooks=function(){po={}},st}var Fe=_t();return Fe}()}),exe=FKn(window);function NKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var qYe=function(t){Io(i,_g);var n=NKn(i);function i(o){var s,u,d=o.config;return vi(this,i),Ni(Rs(u=n.call(this,{needCache:!0})),"engine","MathJax"),Ni(Rs(u),"katex",void 0),Ni(Rs(u),"MathJax",void 0),u.engine=G5()?(s=d.engine)!==null&&s!==void 0?s:"MathJax":"node",u}return bi(i,[{key:"toHtml",value:function(o,s,u,d){var f,g,m;va(D3e).call(D3e,this)("engine");var b=o.replace(/^[ \f\r\t\v]*/,"").replace(/\s*$/,""),w=s.replace(/^[ \f\r\t\v]*\n/,""),C=this.$engine.md5(o),T=this.getLineCount(b,w);/\n/.test(s)||(T-=1),/\n\s*$/.test(o)||(T-=1),T=T>0?T:0;var k=St(f=St(g='
$$')).call(f,oZt(d),"$$
");if(this.engine==="katex"){var $,O,B=this.katex.renderToString(d,{throwOnError:!1,displayMode:!0});k=St($=St(O='
')).call($,B,"
")}if((m=this.MathJax)!==null&&m!==void 0&&m.tex2svg){var P,N,L=EJt(this.MathJax.tex2svg(d),!0);k=St(P=St(N='
')).call(P,L,"
")}return k=exe.sanitize(k),u+this.getCacheWithSpace(this.pushCache(k,C,T),o)}},{key:"beforeMakeHtml",value:function(o){var s,u;return jp()?o.replace(this.RULE.reg,va(u=this.toHtml).call(u,this)):D7(o,this.RULE.reg,va(s=this.toHtml).call(s,this),!0,1)}},{key:"makeHtml",value:function(o){return o}},{key:"rule",value:function(){var o={begin:jp()?"(\\s*)((?"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(qYe,"HOOK_NAME","mathBlock");var aZt=function(t){Io(i,_g);var n=RKn(i);function i(o){var s,u,d=o.config;return vi(this,i),Ni(Rs(u=n.call(this,{needCache:!0})),"engine","MathJax"),Ni(Rs(u),"katex",void 0),Ni(Rs(u),"MathJax",void 0),u.engine=G5()?(s=d.engine)!==null&&s!==void 0?s:"MathJax":"node",u}return bi(i,[{key:"toHtml",value:function(o,s,u){var d,f,g,m;if(!u)return o;va(D3e).call(D3e,this)("engine");var b=u.match(/\n/g),w=b?b.length+2:2,C=this.$engine.md5(o),T=St(d=St(f="".concat(s,`$')).call(d,oZt(u),"$");if(this.engine==="katex"&&(g=this.katex)!==null&&g!==void 0&&g.renderToString){var k,$,O=this.katex.renderToString(u,{throwOnError:!1});T=St(k=St($="".concat(s,'')).call(k,O,"")}if((m=this.MathJax)!==null&&m!==void 0&&m.tex2svg){var B,P,N=EJt(this.MathJax.tex2svg(u,{em:12,ex:6,display:!1}),!0);T=St(B=St(P="".concat(s,'')).call(B,N,"")}return T=exe.sanitize(T),this.pushCache(T,_g.IN_PARAGRAPH_CACHE_KEY_PREFIX+C)}},{key:"beforeMakeHtml",value:function(o){var s=this,u=o;return u=u.replace(q5e(!0),function(d){var f;return Ws(f=d.split("|")).call(f,function(g){return s.makeInlineMath(g)}).join("|").replace(/\\~D/g,"~D").replace(/~D/g,"\\~D")}),this.makeInlineMath(u)}},{key:"makeInlineMath",value:function(o){var s,u;return this.test(o)?jp()?o.replace(this.RULE.reg,va(u=this.toHtml).call(u,this)):D7(o,this.RULE.reg,va(s=this.toHtml).call(s,this),!0,1):o}},{key:"makeHtml",value:function(o){return o}},{key:"rule",value:function(){var o={begin:jp()?"((?1?arguments[1]:void 0,i),u=o>2?arguments[2]:void 0,d=u===void 0?i:P$(u,i);d>s;)n[s++]=t;return n}});var HKn=Ig("Array").fill,vje=Array.prototype,wX=function(t){var n=t.fill;return t===vje||of(vje,t)&&n===vje.fill?HKn:n};function QKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}function sZt(t){return t}var kFt={tocStyle:"plain",tocNodeClass:"toc-li",tocContainerClass:"toc",tocTitleClass:"toc-title",linkProcessor:sZt},BFt='

 

',lZt=function(t){Io(i,_g);var n=QKn(i);function i(o){var s,u;o.externals;var d=o.config;return vi(this,i),Ni(Rs(u=n.call(this,{needCache:!0})),"tocStyle","nested"),Ni(Rs(u),"tocNodeClass","toc-li"),Ni(Rs(u),"tocContainerClass","toc"),Ni(Rs(u),"tocTitleClass","toc-title"),Ni(Rs(u),"linkProcessor",sZt),Ni(Rs(u),"baseLevel",1),Ni(Rs(u),"isFirstTocToken",!0),Ni(Rs(u),"allowMultiToc",!1),Wo(s=ad(kFt)).call(s,function(f){u[f]=d[f]||kFt[f]}),u}return bi(i,[{key:"beforeMakeHtml",value:function(o){var s=this,u=o;return this.test(u,"extend")&&(u=u.replace(this.RULE.extend.reg,function(d,f,g){var m;if(!s.allowMultiToc&&!s.isFirstTocToken)return St(m=` +`.concat(f)).call(m,BFt);var b=s.pushCache(d);return s.isFirstTocToken=!1,gQ(d,b)})),this.test(u,"standard")&&(u=u.replace(this.RULE.standard.reg,function(d,f,g){var m;return s.allowMultiToc||s.isFirstTocToken?(s.isFirstTocToken=!1,gQ(d,s.pushCache(d))):St(m=` +`.concat(f)).call(m,BFt)})),u}},{key:"makeHtml",value:function(o){return o}},{key:"$makeLevel",value:function(o){for(var s="",u=this.baseLevel;u2&&arguments[2]!==void 0)||arguments[2],w="";s&&(w=this.$makeLevel(o.level));var C=this.linkProcessor("#".concat(o.id).replace(/safe_/g,""));return St(u=St(d=St(f=St(g=St(m='
  • ')).call(m,w,'')).call(d,o.text,"")).call(u,b?"
  • ":"")}},{key:"$makePlainToc",value:function(o){var s=this,u=Ws(o).call(o,function(d){return s.$makeTocItem(d,!0)});return u.join("")}},{key:"$makeNestedToc",value:function(o){var s,u,d=this,f=0,g=wX(s=new Array(7)).call(s,!1),m=wX(u=new Array(7)).call(u,!1),b="";Wo(o).call(o,function(C){var T=C.level;if(f===0){for(var k=T;k>=d.baseLevel;k--)b+="
      ",m[k]=!0;return b+=d.$makeTocItem(C,!1,!1),g[T]=!0,void(f=T)}if(T=T;$--)g[$]&&(b+="",g[$]=!1),m[$]&&$>T&&(b+="
    ",m[$]=!1);g[T]=!0,b+=d.$makeTocItem(C,!1,!1),f=T}else if(T===f)g[f]&&(b+=""),b+=d.$makeTocItem(C,!1,!1),g[T]=!0,m[T]=!0;else{for(var O=f+1;O<=T;O++)b+="
      ",m[O]=!0;g[T]=!0,b+=d.$makeTocItem(C,!1,!1),f=T}});for(var w=f;w>=this.baseLevel;w--)g[w]&&(b+="",g[w]=!1),m[w]&&(b+="
    ",m[w]=!1);return b}},{key:"$makeToc",value:function(o,s,u){var d,f,g,m=TVe(u,1),b=St(d=St(f=St(g='');return b+='

    目录

    '),o.length<=0?"":(this.baseLevel=Math.min.apply(Math,_L(Ws(o).call(o,function(w){return w.level}))),this.tocStyle==="nested"?b+=this.$makeNestedToc(o):b+=this.$makePlainToc(o),b+="
    ")}},{key:"afterMakeHtml",value:function(o){var s=this,u=T9(Kn(i.prototype),"afterMakeHtml",this).call(this,o),d=[],f="";return u.replace(/]*? id="([^"]+?)"[^>]*?>(?:|)(.+?)<\/h\1>/g,function(g,m,b,w){var C,T=w.replace(/~fn#[0-9]+#/g,"");d.push({level:+m,id:b,text:T}),f+=St(C="".concat(m)).call(C,b)}),f=this.$engine.md5(f),u=u.replace(/(?:^|\n)(\[\[|\[|【【)(toc|TOC)(\]\]|\]|】】)([<~])/,function(g){return g.replace(/(\]\]|\]|】】)([<~])/,`$1 +$2`)}),u=(u=u.replace(this.RULE.extend.reg,function(g,m){return s.$makeToc(d,f,m)})).replace(this.RULE.standard.reg,function(g,m){return s.$makeToc(d,f,m)}),this.isFirstTocToken=!0,u}},{key:"test",value:function(o,s){return!!this.RULE[s].reg&&this.RULE[s].reg.test(o)}},{key:"rule",value:function(){var o={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*((?:【【|\\[\\[)(?:toc|TOC)(?:\\]\\]|】】))[ ]*"};o.reg=new RegExp(o.begin+o.content+o.end,"g");var s={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*(\\[(?:toc|TOC)\\])[ ]*"};return s.reg=new RegExp(s.begin+s.content+s.end,"g"),{extend:o,standard:s}}}]),i}();function jKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(lZt,"HOOK_NAME","toc");var cZt=function(t){Io(i,_g);var n=jKn(i);function i(o){var s;return o.externals,o.config,vi(this,i),(s=n.call(this)).footnoteCache={},s.footnoteMap={},s.footnote=[],s}return bi(i,[{key:"$cleanCache",value:function(){this.footnoteCache={},this.footnoteMap={},this.footnote=[]}},{key:"pushFootnoteCache",value:function(o,s){this.footnoteCache[o]=s}},{key:"getFootnoteCache",value:function(o){return this.footnoteCache[o]||null}},{key:"pushFootNote",value:function(o,s){var u,d,f,g,m,b;if(this.footnoteMap[o])return this.footnoteMap[o];var w=this.footnote.length+1,C={};C.fn=St(u=St(d=St(f='[')).call(u,w,"]"),C.fnref=St(g=St(m=St(b='[')).call(g,w,"]"),C.num=w,C.note=Ra(s).call(s),this.footnote.push(C);var T="\0~fn#".concat(w-1,"#\0");return this.footnoteMap[o]=T,T}},{key:"getFootNote",value:function(){return this.footnote}},{key:"formatFootNote",value:function(){var o,s=this.getFootNote();if(s.length<=0)return"";var u=Ws(s).call(s,function(f){var g;return St(g=`
    +`.concat(f.fnref)).call(g,f.note,` +
    `)}).join(""),d=this.$engine.md5(u);return u=St(o='
    脚注
    ')).call(o,u,"
    ")}},{key:"beforeMakeHtml",value:function(o){var s=this,u=o;return this.test(u)&&(u=u.replace(this.RULE.reg,function(d,f,g,m){return s.pushFootnoteCache(g,m),(d.match(/\n/g)||[]).join("")}),u=u.replace(/\[\^([^\]]+?)\](?!:)/g,function(d,f){var g=s.getFootnoteCache(f);return g?s.pushFootNote(f,g):d}),u+=this.formatFootNote()),u}},{key:"makeHtml",value:function(o,s){return o}},{key:"afterMakeHtml",value:function(o){var s=this.getFootNote(),u=o.replace(/\0~fn#([0-9]+)#\0/g,function(d,f){return s[f].fn});return this.$cleanCache(),u}},{key:"rule",value:function(){var o={begin:"(^|\\n)[ ]*",content:["\\[\\^([^\\]]+?)\\]:\\h*","([\\s\\S]+?)"].join(""),end:"(?=\\s*$|\\n\\n)"};return o.reg=rb(o,"g",!0),o}}]),i}();function UKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(cZt,"HOOK_NAME","footnote");var uZt=function(t){Io(i,_g);var n=UKn(i);function i(o){var s;return o.externals,o.config,vi(this,i),(s=n.call(this)).commentCache={},s}return bi(i,[{key:"$cleanCache",value:function(){this.commentCache={}}},{key:"pushCommentReferenceCache",value:function(o,s){var u,d=RJt(s.split(/[ ]+/g)),f=d[0],g=Eo(d).call(d,1),m=I$.set(f);this.commentCache["".concat(o).toLowerCase()]=St(u=[m]).call(u,_L(g)).join(" ")}},{key:"getCommentReferenceCache",value:function(o){return this.commentCache["".concat(o).toLowerCase()]||null}},{key:"beforeMakeHtml",value:function(o){var s=this,u=o;return this.test(u)&&(u=u.replace(this.RULE.reg,function(d,f,g,m){var b;return s.pushCommentReferenceCache(g,m),((b=d.match(/\n/g))!==null&&b!==void 0?b:[]).join("")}),u=u.replace(/(\[[^\]\n]+?\])?(?:\[([^\]\n]+?)\])/g,function(d,f,g){var m,b,w=s.getCommentReferenceCache(g);return w?f?St(b="".concat(f,"(")).call(b,w,")"):St(m="[".concat(g,"](")).call(m,w,")"):d}),this.$cleanCache()),u}},{key:"makeHtml",value:function(o,s){return o}},{key:"afterMakeHtml",value:function(o){return I$.restoreAll(o)}},{key:"rule",value:function(){var o={begin:"(^|\\n)[ ]*",content:["\\[([^^][^\\]]*?)\\]:\\h*","([^\\n]+?)"].join(""),end:"(?=$|\\n)"};return o.reg=rb(o,"g",!0),o}}]),i}();Ni(uZt,"HOOK_NAME","commentReference");var zKn=X$.some,KKn=rG("some");Ho({target:"Array",proto:!0,forced:!KKn},{some:function(t){return zKn(this,t,arguments.length>1?arguments[1]:void 0)}});var VKn=Ig("Array").some,bje=Array.prototype,WKn=function(t){var n=t.some;return t===bje||of(bje,t)&&n===bje.some?VKn:n};function XKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var _Ft=["href","src"];exe.addHook("afterSanitizeAttributes",function(t){Wo(_Ft).call(_Ft,function(n){if(t.hasAttribute(n)){var i=t.getAttribute(n);t.setAttribute(n,i.replace(/\\/g,"%5c"))}})});var dZt=function(t){Io(i,_g);var n=XKn(i);function i(){return vi(this,i),n.call(this,{needCache:!0})}return bi(i,[{key:"isAutoLinkTag",value:function(o){var s=[/^<([a-z][a-z0-9+.-]{1,31}:\/\/[^<> `]+)>$/i,/^<(mailto:[^<> `]+)>$/i,/^<([^()<>[\]:'@\\,"\s`]+@[^()<>[\]:'@\\,"\s`.]+\.[^()<>[\]:'@\\,"\s`]+)>$/i];return WKn(s).call(s,function(u){return u.test(o)})}},{key:"isHtmlComment",value:function(o){return/^$/.test(o)}},{key:"beforeMakeHtml",value:function(o,s){var u=this;this.$engine.htmlWhiteListAppend?(this.htmlWhiteListAppend=new RegExp("^(".concat(this.$engine.htmlWhiteListAppend,")( |$|/)"),"i"),this.htmlWhiteList=this.$engine.htmlWhiteListAppend.split("|")):(this.htmlWhiteListAppend=!1,this.htmlWhiteList=[]);var d=o;return d=function(f){if(typeof f!="string")return"";var g=f.replace(/&(\w+);?/g,function(m,b){return vu(m).call(m,";")===-1||vu(YDt).call(YDt,b.toLowerCase())===-1?m.replace(/&/g,"&"):m});return g=g.replace(/&#(?!x)(\d*);?/gi,function(m,b){return BVe(b)||vu(m).call(m,";")===-1||b.lenth>7||!qDt(b)?m.replace(/&/g,"&"):m}),g=g.replace(/&#x([0-9a-f]*);?/gi,function(m,b){if(BVe(b))return m.replace(/&/g,"&");var w="0x".concat(b),C=i2(w,16);return isNaN(C)||vu(m).call(m,";")===-1||b.lenth>6||!qDt(w)?m.replace(/&/g,"&"):m}),g}(d=MJt(d)),d=(d=(d=d.replace(/<[/]?(.*?)>/g,function(f,g){return Pzn.test(g)||u.isAutoLinkTag(f)||u.isHtmlComment(f)||u.htmlWhiteListAppend!==!1&&u.htmlWhiteListAppend.test(g)?f.replace(//g,"$#62;"):f.replace(//g,">")})).replace(/<(?=\/?(\w|\n|$))/g,"<")).replace(/\$#60;/g,"<").replace(/\$#62;/g,">")}},{key:"makeHtml",value:function(o,s){return o}},{key:"afterMakeHtml",value:function(o){var s=o,u={ALLOW_UNKNOWN_PROTOCOLS:!0,ADD_ATTR:["target"]};if(this.htmlWhiteListAppend!==!1){var d;if(u.ADD_TAGS=this.htmlWhiteList,(this.htmlWhiteListAppend.test("style")||this.htmlWhiteListAppend.test("ALL"))&&(s=s.replace(/| [^>]*>).*?<\/style>/gi,function(f){return f.replace(/
    /gi,"")})),(this.htmlWhiteListAppend.test("iframe")||this.htmlWhiteListAppend.test("ALL"))&&(u.ADD_ATTR=St(d=u.ADD_ATTR).call(d,["align","frameborder","height","longdesc","marginheight","marginwidth","name","sandbox","scrolling","seamless","src","srcdoc","width"]),u.SANITIZE_DOM=!1,s=s.replace(/| [^>]*>).*?<\/iframe>/gi,function(f){return f.replace(/
    /gi,"").replace(/\n/g,"")})),this.htmlWhiteListAppend.test("script")||this.htmlWhiteListAppend.test("ALL"))return s=s.replace(/| [^>]*>).*?<\/script>/gi,function(f){return f.replace(/
    /gi,"")}),s}return G5()||(u.FORBID_ATTR=["data-sign","data-lines"]),exe.sanitize(s,u)}}]),i}();Ni(dZt,"HOOK_NAME","htmlBlock");var GKn={"+1":"1f44d","-1":"1f44e",100:"1f4af",1234:"1f522","1st_place_medal":"1f947","2nd_place_medal":"1f948","3rd_place_medal":"1f949","8ball":"1f3b1",a:"1f170",ab:"1f18e",abacus:"1f9ee",abc:"1f524",abcd:"1f521",accept:"1f251",adhesive_bandage:"1fa79",adult:"1f9d1",aerial_tramway:"1f6a1",afghanistan:"1f1e6-1f1eb",airplane:"2708",aland_islands:"1f1e6-1f1fd",alarm_clock:"23f0",albania:"1f1e6-1f1f1",alembic:"2697",algeria:"1f1e9-1f1ff",alien:"1f47d",ambulance:"1f691",american_samoa:"1f1e6-1f1f8",amphora:"1f3fa",anchor:"2693",andorra:"1f1e6-1f1e9",angel:"1f47c",anger:"1f4a2",angola:"1f1e6-1f1f4",angry:"1f620",anguilla:"1f1e6-1f1ee",anguished:"1f627",ant:"1f41c",antarctica:"1f1e6-1f1f6",antigua_barbuda:"1f1e6-1f1ec",apple:"1f34e",aquarius:"2652",argentina:"1f1e6-1f1f7",aries:"2648",armenia:"1f1e6-1f1f2",arrow_backward:"25c0",arrow_double_down:"23ec",arrow_double_up:"23eb",arrow_down:"2b07",arrow_down_small:"1f53d",arrow_forward:"25b6",arrow_heading_down:"2935",arrow_heading_up:"2934",arrow_left:"2b05",arrow_lower_left:"2199",arrow_lower_right:"2198",arrow_right:"27a1",arrow_right_hook:"21aa",arrow_up:"2b06",arrow_up_down:"2195",arrow_up_small:"1f53c",arrow_upper_left:"2196",arrow_upper_right:"2197",arrows_clockwise:"1f503",arrows_counterclockwise:"1f504",art:"1f3a8",articulated_lorry:"1f69b",artificial_satellite:"1f6f0",artist:"1f9d1-1f3a8",aruba:"1f1e6-1f1fc",ascension_island:"1f1e6-1f1e8",asterisk:"002a-20e3",astonished:"1f632",astronaut:"1f9d1-1f680",athletic_shoe:"1f45f",atm:"1f3e7",atom_symbol:"269b",australia:"1f1e6-1f1fa",austria:"1f1e6-1f1f9",auto_rickshaw:"1f6fa",avocado:"1f951",axe:"1fa93",azerbaijan:"1f1e6-1f1ff",b:"1f171",baby:"1f476",baby_bottle:"1f37c",baby_chick:"1f424",baby_symbol:"1f6bc",back:"1f519",bacon:"1f953",badger:"1f9a1",badminton:"1f3f8",bagel:"1f96f",baggage_claim:"1f6c4",baguette_bread:"1f956",bahamas:"1f1e7-1f1f8",bahrain:"1f1e7-1f1ed",balance_scale:"2696",bald_man:"1f468-1f9b2",bald_woman:"1f469-1f9b2",ballet_shoes:"1fa70",balloon:"1f388",ballot_box:"1f5f3",ballot_box_with_check:"2611",bamboo:"1f38d",banana:"1f34c",bangbang:"203c",bangladesh:"1f1e7-1f1e9",banjo:"1fa95",bank:"1f3e6",bar_chart:"1f4ca",barbados:"1f1e7-1f1e7",barber:"1f488",baseball:"26be",basket:"1f9fa",basketball:"1f3c0",basketball_man:"26f9-2642",basketball_woman:"26f9-2640",bat:"1f987",bath:"1f6c0",bathtub:"1f6c1",battery:"1f50b",beach_umbrella:"1f3d6",bear:"1f43b",bearded_person:"1f9d4",bed:"1f6cf",bee:"1f41d",beer:"1f37a",beers:"1f37b",beetle:"1f41e",beginner:"1f530",belarus:"1f1e7-1f1fe",belgium:"1f1e7-1f1ea",belize:"1f1e7-1f1ff",bell:"1f514",bellhop_bell:"1f6ce",benin:"1f1e7-1f1ef",bento:"1f371",bermuda:"1f1e7-1f1f2",beverage_box:"1f9c3",bhutan:"1f1e7-1f1f9",bicyclist:"1f6b4",bike:"1f6b2",biking_man:"1f6b4-2642",biking_woman:"1f6b4-2640",bikini:"1f459",billed_cap:"1f9e2",biohazard:"2623",bird:"1f426",birthday:"1f382",black_circle:"26ab",black_flag:"1f3f4",black_heart:"1f5a4",black_joker:"1f0cf",black_large_square:"2b1b",black_medium_small_square:"25fe",black_medium_square:"25fc",black_nib:"2712",black_small_square:"25aa",black_square_button:"1f532",blond_haired_man:"1f471-2642",blond_haired_person:"1f471",blond_haired_woman:"1f471-2640",blonde_woman:"1f471-2640",blossom:"1f33c",blowfish:"1f421",blue_book:"1f4d8",blue_car:"1f699",blue_heart:"1f499",blue_square:"1f7e6",blush:"1f60a",boar:"1f417",boat:"26f5",bolivia:"1f1e7-1f1f4",bomb:"1f4a3",bone:"1f9b4",book:"1f4d6",bookmark:"1f516",bookmark_tabs:"1f4d1",books:"1f4da",boom:"1f4a5",boot:"1f462",bosnia_herzegovina:"1f1e7-1f1e6",botswana:"1f1e7-1f1fc",bouncing_ball_man:"26f9-2642",bouncing_ball_person:"26f9",bouncing_ball_woman:"26f9-2640",bouquet:"1f490",bouvet_island:"1f1e7-1f1fb",bow:"1f647",bow_and_arrow:"1f3f9",bowing_man:"1f647-2642",bowing_woman:"1f647-2640",bowl_with_spoon:"1f963",bowling:"1f3b3",boxing_glove:"1f94a",boy:"1f466",brain:"1f9e0",brazil:"1f1e7-1f1f7",bread:"1f35e",breast_feeding:"1f931",bricks:"1f9f1",bride_with_veil:"1f470",bridge_at_night:"1f309",briefcase:"1f4bc",british_indian_ocean_territory:"1f1ee-1f1f4",british_virgin_islands:"1f1fb-1f1ec",broccoli:"1f966",broken_heart:"1f494",broom:"1f9f9",brown_circle:"1f7e4",brown_heart:"1f90e",brown_square:"1f7eb",brunei:"1f1e7-1f1f3",bug:"1f41b",building_construction:"1f3d7",bulb:"1f4a1",bulgaria:"1f1e7-1f1ec",bullettrain_front:"1f685",bullettrain_side:"1f684",burkina_faso:"1f1e7-1f1eb",burrito:"1f32f",burundi:"1f1e7-1f1ee",bus:"1f68c",business_suit_levitating:"1f574",busstop:"1f68f",bust_in_silhouette:"1f464",busts_in_silhouette:"1f465",butter:"1f9c8",butterfly:"1f98b",cactus:"1f335",cake:"1f370",calendar:"1f4c6",call_me_hand:"1f919",calling:"1f4f2",cambodia:"1f1f0-1f1ed",camel:"1f42b",camera:"1f4f7",camera_flash:"1f4f8",cameroon:"1f1e8-1f1f2",camping:"1f3d5",canada:"1f1e8-1f1e6",canary_islands:"1f1ee-1f1e8",cancer:"264b",candle:"1f56f",candy:"1f36c",canned_food:"1f96b",canoe:"1f6f6",cape_verde:"1f1e8-1f1fb",capital_abcd:"1f520",capricorn:"2651",car:"1f697",card_file_box:"1f5c3",card_index:"1f4c7",card_index_dividers:"1f5c2",caribbean_netherlands:"1f1e7-1f1f6",carousel_horse:"1f3a0",carrot:"1f955",cartwheeling:"1f938",cat:"1f431",cat2:"1f408",cayman_islands:"1f1f0-1f1fe",cd:"1f4bf",central_african_republic:"1f1e8-1f1eb",ceuta_melilla:"1f1ea-1f1e6",chad:"1f1f9-1f1e9",chains:"26d3",chair:"1fa91",champagne:"1f37e",chart:"1f4b9",chart_with_downwards_trend:"1f4c9",chart_with_upwards_trend:"1f4c8",checkered_flag:"1f3c1",cheese:"1f9c0",cherries:"1f352",cherry_blossom:"1f338",chess_pawn:"265f",chestnut:"1f330",chicken:"1f414",child:"1f9d2",children_crossing:"1f6b8",chile:"1f1e8-1f1f1",chipmunk:"1f43f",chocolate_bar:"1f36b",chopsticks:"1f962",christmas_island:"1f1e8-1f1fd",christmas_tree:"1f384",church:"26ea",cinema:"1f3a6",circus_tent:"1f3aa",city_sunrise:"1f307",city_sunset:"1f306",cityscape:"1f3d9",cl:"1f191",clamp:"1f5dc",clap:"1f44f",clapper:"1f3ac",classical_building:"1f3db",climbing:"1f9d7",climbing_man:"1f9d7-2642",climbing_woman:"1f9d7-2640",clinking_glasses:"1f942",clipboard:"1f4cb",clipperton_island:"1f1e8-1f1f5",clock1:"1f550",clock10:"1f559",clock1030:"1f565",clock11:"1f55a",clock1130:"1f566",clock12:"1f55b",clock1230:"1f567",clock130:"1f55c",clock2:"1f551",clock230:"1f55d",clock3:"1f552",clock330:"1f55e",clock4:"1f553",clock430:"1f55f",clock5:"1f554",clock530:"1f560",clock6:"1f555",clock630:"1f561",clock7:"1f556",clock730:"1f562",clock8:"1f557",clock830:"1f563",clock9:"1f558",clock930:"1f564",closed_book:"1f4d5",closed_lock_with_key:"1f510",closed_umbrella:"1f302",cloud:"2601",cloud_with_lightning:"1f329",cloud_with_lightning_and_rain:"26c8",cloud_with_rain:"1f327",cloud_with_snow:"1f328",clown_face:"1f921",clubs:"2663",cn:"1f1e8-1f1f3",coat:"1f9e5",cocktail:"1f378",coconut:"1f965",cocos_islands:"1f1e8-1f1e8",coffee:"2615",coffin:"26b0",cold_face:"1f976",cold_sweat:"1f630",collision:"1f4a5",colombia:"1f1e8-1f1f4",comet:"2604",comoros:"1f1f0-1f1f2",compass:"1f9ed",computer:"1f4bb",computer_mouse:"1f5b1",confetti_ball:"1f38a",confounded:"1f616",confused:"1f615",congo_brazzaville:"1f1e8-1f1ec",congo_kinshasa:"1f1e8-1f1e9",congratulations:"3297",construction:"1f6a7",construction_worker:"1f477",construction_worker_man:"1f477-2642",construction_worker_woman:"1f477-2640",control_knobs:"1f39b",convenience_store:"1f3ea",cook:"1f9d1-1f373",cook_islands:"1f1e8-1f1f0",cookie:"1f36a",cool:"1f192",cop:"1f46e",copyright:"00a9",corn:"1f33d",costa_rica:"1f1e8-1f1f7",cote_divoire:"1f1e8-1f1ee",couch_and_lamp:"1f6cb",couple:"1f46b",couple_with_heart:"1f491",couple_with_heart_man_man:"1f468-2764-1f468",couple_with_heart_woman_man:"1f469-2764-1f468",couple_with_heart_woman_woman:"1f469-2764-1f469",couplekiss:"1f48f",couplekiss_man_man:"1f468-2764-1f48b-1f468",couplekiss_man_woman:"1f469-2764-1f48b-1f468",couplekiss_woman_woman:"1f469-2764-1f48b-1f469",cow:"1f42e",cow2:"1f404",cowboy_hat_face:"1f920",crab:"1f980",crayon:"1f58d",credit_card:"1f4b3",crescent_moon:"1f319",cricket:"1f997",cricket_game:"1f3cf",croatia:"1f1ed-1f1f7",crocodile:"1f40a",croissant:"1f950",crossed_fingers:"1f91e",crossed_flags:"1f38c",crossed_swords:"2694",crown:"1f451",cry:"1f622",crying_cat_face:"1f63f",crystal_ball:"1f52e",cuba:"1f1e8-1f1fa",cucumber:"1f952",cup_with_straw:"1f964",cupcake:"1f9c1",cupid:"1f498",curacao:"1f1e8-1f1fc",curling_stone:"1f94c",curly_haired_man:"1f468-1f9b1",curly_haired_woman:"1f469-1f9b1",curly_loop:"27b0",currency_exchange:"1f4b1",curry:"1f35b",cursing_face:"1f92c",custard:"1f36e",customs:"1f6c3",cut_of_meat:"1f969",cyclone:"1f300",cyprus:"1f1e8-1f1fe",czech_republic:"1f1e8-1f1ff",dagger:"1f5e1",dancer:"1f483",dancers:"1f46f",dancing_men:"1f46f-2642",dancing_women:"1f46f-2640",dango:"1f361",dark_sunglasses:"1f576",dart:"1f3af",dash:"1f4a8",date:"1f4c5",de:"1f1e9-1f1ea",deaf_man:"1f9cf-2642",deaf_person:"1f9cf",deaf_woman:"1f9cf-2640",deciduous_tree:"1f333",deer:"1f98c",denmark:"1f1e9-1f1f0",department_store:"1f3ec",derelict_house:"1f3da",desert:"1f3dc",desert_island:"1f3dd",desktop_computer:"1f5a5",detective:"1f575",diamond_shape_with_a_dot_inside:"1f4a0",diamonds:"2666",diego_garcia:"1f1e9-1f1ec",disappointed:"1f61e",disappointed_relieved:"1f625",diving_mask:"1f93f",diya_lamp:"1fa94",dizzy:"1f4ab",dizzy_face:"1f635",djibouti:"1f1e9-1f1ef",dna:"1f9ec",do_not_litter:"1f6af",dog:"1f436",dog2:"1f415",dollar:"1f4b5",dolls:"1f38e",dolphin:"1f42c",dominica:"1f1e9-1f1f2",dominican_republic:"1f1e9-1f1f4",door:"1f6aa",doughnut:"1f369",dove:"1f54a",dragon:"1f409",dragon_face:"1f432",dress:"1f457",dromedary_camel:"1f42a",drooling_face:"1f924",drop_of_blood:"1fa78",droplet:"1f4a7",drum:"1f941",duck:"1f986",dumpling:"1f95f",dvd:"1f4c0","e-mail":"1f4e7",eagle:"1f985",ear:"1f442",ear_of_rice:"1f33e",ear_with_hearing_aid:"1f9bb",earth_africa:"1f30d",earth_americas:"1f30e",earth_asia:"1f30f",ecuador:"1f1ea-1f1e8",egg:"1f95a",eggplant:"1f346",egypt:"1f1ea-1f1ec",eight:"0038-20e3",eight_pointed_black_star:"2734",eight_spoked_asterisk:"2733",eject_button:"23cf",el_salvador:"1f1f8-1f1fb",electric_plug:"1f50c",elephant:"1f418",elf:"1f9dd",elf_man:"1f9dd-2642",elf_woman:"1f9dd-2640",email:"2709",end:"1f51a",england:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",envelope:"2709",envelope_with_arrow:"1f4e9",equatorial_guinea:"1f1ec-1f1f6",eritrea:"1f1ea-1f1f7",es:"1f1ea-1f1f8",estonia:"1f1ea-1f1ea",ethiopia:"1f1ea-1f1f9",eu:"1f1ea-1f1fa",euro:"1f4b6",european_castle:"1f3f0",european_post_office:"1f3e4",european_union:"1f1ea-1f1fa",evergreen_tree:"1f332",exclamation:"2757",exploding_head:"1f92f",expressionless:"1f611",eye:"1f441",eye_speech_bubble:"1f441-1f5e8",eyeglasses:"1f453",eyes:"1f440",face_with_head_bandage:"1f915",face_with_thermometer:"1f912",facepalm:"1f926",facepunch:"1f44a",factory:"1f3ed",factory_worker:"1f9d1-1f3ed",fairy:"1f9da",fairy_man:"1f9da-2642",fairy_woman:"1f9da-2640",falafel:"1f9c6",falkland_islands:"1f1eb-1f1f0",fallen_leaf:"1f342",family:"1f46a",family_man_boy:"1f468-1f466",family_man_boy_boy:"1f468-1f466-1f466",family_man_girl:"1f468-1f467",family_man_girl_boy:"1f468-1f467-1f466",family_man_girl_girl:"1f468-1f467-1f467",family_man_man_boy:"1f468-1f468-1f466",family_man_man_boy_boy:"1f468-1f468-1f466-1f466",family_man_man_girl:"1f468-1f468-1f467",family_man_man_girl_boy:"1f468-1f468-1f467-1f466",family_man_man_girl_girl:"1f468-1f468-1f467-1f467",family_man_woman_boy:"1f468-1f469-1f466",family_man_woman_boy_boy:"1f468-1f469-1f466-1f466",family_man_woman_girl:"1f468-1f469-1f467",family_man_woman_girl_boy:"1f468-1f469-1f467-1f466",family_man_woman_girl_girl:"1f468-1f469-1f467-1f467",family_woman_boy:"1f469-1f466",family_woman_boy_boy:"1f469-1f466-1f466",family_woman_girl:"1f469-1f467",family_woman_girl_boy:"1f469-1f467-1f466",family_woman_girl_girl:"1f469-1f467-1f467",family_woman_woman_boy:"1f469-1f469-1f466",family_woman_woman_boy_boy:"1f469-1f469-1f466-1f466",family_woman_woman_girl:"1f469-1f469-1f467",family_woman_woman_girl_boy:"1f469-1f469-1f467-1f466",family_woman_woman_girl_girl:"1f469-1f469-1f467-1f467",farmer:"1f9d1-1f33e",faroe_islands:"1f1eb-1f1f4",fast_forward:"23e9",fax:"1f4e0",fearful:"1f628",feet:"1f43e",female_detective:"1f575-2640",female_sign:"2640",ferris_wheel:"1f3a1",ferry:"26f4",field_hockey:"1f3d1",fiji:"1f1eb-1f1ef",file_cabinet:"1f5c4",file_folder:"1f4c1",film_projector:"1f4fd",film_strip:"1f39e",finland:"1f1eb-1f1ee",fire:"1f525",fire_engine:"1f692",fire_extinguisher:"1f9ef",firecracker:"1f9e8",firefighter:"1f9d1-1f692",fireworks:"1f386",first_quarter_moon:"1f313",first_quarter_moon_with_face:"1f31b",fish:"1f41f",fish_cake:"1f365",fishing_pole_and_fish:"1f3a3",fist:"270a",fist_left:"1f91b",fist_oncoming:"1f44a",fist_raised:"270a",fist_right:"1f91c",five:"0035-20e3",flags:"1f38f",flamingo:"1f9a9",flashlight:"1f526",flat_shoe:"1f97f",fleur_de_lis:"269c",flight_arrival:"1f6ec",flight_departure:"1f6eb",flipper:"1f42c",floppy_disk:"1f4be",flower_playing_cards:"1f3b4",flushed:"1f633",flying_disc:"1f94f",flying_saucer:"1f6f8",fog:"1f32b",foggy:"1f301",foot:"1f9b6",football:"1f3c8",footprints:"1f463",fork_and_knife:"1f374",fortune_cookie:"1f960",fountain:"26f2",fountain_pen:"1f58b",four:"0034-20e3",four_leaf_clover:"1f340",fox_face:"1f98a",fr:"1f1eb-1f1f7",framed_picture:"1f5bc",free:"1f193",french_guiana:"1f1ec-1f1eb",french_polynesia:"1f1f5-1f1eb",french_southern_territories:"1f1f9-1f1eb",fried_egg:"1f373",fried_shrimp:"1f364",fries:"1f35f",frog:"1f438",frowning:"1f626",frowning_face:"2639",frowning_man:"1f64d-2642",frowning_person:"1f64d",frowning_woman:"1f64d-2640",fu:"1f595",fuelpump:"26fd",full_moon:"1f315",full_moon_with_face:"1f31d",funeral_urn:"26b1",gabon:"1f1ec-1f1e6",gambia:"1f1ec-1f1f2",game_die:"1f3b2",garlic:"1f9c4",gb:"1f1ec-1f1e7",gear:"2699",gem:"1f48e",gemini:"264a",genie:"1f9de",genie_man:"1f9de-2642",genie_woman:"1f9de-2640",georgia:"1f1ec-1f1ea",ghana:"1f1ec-1f1ed",ghost:"1f47b",gibraltar:"1f1ec-1f1ee",gift:"1f381",gift_heart:"1f49d",giraffe:"1f992",girl:"1f467",globe_with_meridians:"1f310",gloves:"1f9e4",goal_net:"1f945",goat:"1f410",goggles:"1f97d",golf:"26f3",golfing:"1f3cc",golfing_man:"1f3cc-2642",golfing_woman:"1f3cc-2640",gorilla:"1f98d",grapes:"1f347",greece:"1f1ec-1f1f7",green_apple:"1f34f",green_book:"1f4d7",green_circle:"1f7e2",green_heart:"1f49a",green_salad:"1f957",green_square:"1f7e9",greenland:"1f1ec-1f1f1",grenada:"1f1ec-1f1e9",grey_exclamation:"2755",grey_question:"2754",grimacing:"1f62c",grin:"1f601",grinning:"1f600",guadeloupe:"1f1ec-1f1f5",guam:"1f1ec-1f1fa",guard:"1f482",guardsman:"1f482-2642",guardswoman:"1f482-2640",guatemala:"1f1ec-1f1f9",guernsey:"1f1ec-1f1ec",guide_dog:"1f9ae",guinea:"1f1ec-1f1f3",guinea_bissau:"1f1ec-1f1fc",guitar:"1f3b8",gun:"1f52b",guyana:"1f1ec-1f1fe",haircut:"1f487",haircut_man:"1f487-2642",haircut_woman:"1f487-2640",haiti:"1f1ed-1f1f9",hamburger:"1f354",hammer:"1f528",hammer_and_pick:"2692",hammer_and_wrench:"1f6e0",hamster:"1f439",hand:"270b",hand_over_mouth:"1f92d",handbag:"1f45c",handball_person:"1f93e",handshake:"1f91d",hankey:"1f4a9",hash:"0023-20e3",hatched_chick:"1f425",hatching_chick:"1f423",headphones:"1f3a7",health_worker:"1f9d1-2695",hear_no_evil:"1f649",heard_mcdonald_islands:"1f1ed-1f1f2",heart:"2764",heart_decoration:"1f49f",heart_eyes:"1f60d",heart_eyes_cat:"1f63b",heartbeat:"1f493",heartpulse:"1f497",hearts:"2665",heavy_check_mark:"2714",heavy_division_sign:"2797",heavy_dollar_sign:"1f4b2",heavy_exclamation_mark:"2757",heavy_heart_exclamation:"2763",heavy_minus_sign:"2796",heavy_multiplication_x:"2716",heavy_plus_sign:"2795",hedgehog:"1f994",helicopter:"1f681",herb:"1f33f",hibiscus:"1f33a",high_brightness:"1f506",high_heel:"1f460",hiking_boot:"1f97e",hindu_temple:"1f6d5",hippopotamus:"1f99b",hocho:"1f52a",hole:"1f573",honduras:"1f1ed-1f1f3",honey_pot:"1f36f",honeybee:"1f41d",hong_kong:"1f1ed-1f1f0",horse:"1f434",horse_racing:"1f3c7",hospital:"1f3e5",hot_face:"1f975",hot_pepper:"1f336",hotdog:"1f32d",hotel:"1f3e8",hotsprings:"2668",hourglass:"231b",hourglass_flowing_sand:"23f3",house:"1f3e0",house_with_garden:"1f3e1",houses:"1f3d8",hugs:"1f917",hungary:"1f1ed-1f1fa",hushed:"1f62f",ice_cream:"1f368",ice_cube:"1f9ca",ice_hockey:"1f3d2",ice_skate:"26f8",icecream:"1f366",iceland:"1f1ee-1f1f8",id:"1f194",ideograph_advantage:"1f250",imp:"1f47f",inbox_tray:"1f4e5",incoming_envelope:"1f4e8",india:"1f1ee-1f1f3",indonesia:"1f1ee-1f1e9",infinity:"267e",information_desk_person:"1f481",information_source:"2139",innocent:"1f607",interrobang:"2049",iphone:"1f4f1",iran:"1f1ee-1f1f7",iraq:"1f1ee-1f1f6",ireland:"1f1ee-1f1ea",isle_of_man:"1f1ee-1f1f2",israel:"1f1ee-1f1f1",it:"1f1ee-1f1f9",izakaya_lantern:"1f3ee",jack_o_lantern:"1f383",jamaica:"1f1ef-1f1f2",japan:"1f5fe",japanese_castle:"1f3ef",japanese_goblin:"1f47a",japanese_ogre:"1f479",jeans:"1f456",jersey:"1f1ef-1f1ea",jigsaw:"1f9e9",jordan:"1f1ef-1f1f4",joy:"1f602",joy_cat:"1f639",joystick:"1f579",jp:"1f1ef-1f1f5",judge:"1f9d1-2696",juggling_person:"1f939",kaaba:"1f54b",kangaroo:"1f998",kazakhstan:"1f1f0-1f1ff",kenya:"1f1f0-1f1ea",key:"1f511",keyboard:"2328",keycap_ten:"1f51f",kick_scooter:"1f6f4",kimono:"1f458",kiribati:"1f1f0-1f1ee",kiss:"1f48b",kissing:"1f617",kissing_cat:"1f63d",kissing_closed_eyes:"1f61a",kissing_heart:"1f618",kissing_smiling_eyes:"1f619",kite:"1fa81",kiwi_fruit:"1f95d",kneeling_man:"1f9ce-2642",kneeling_person:"1f9ce",kneeling_woman:"1f9ce-2640",knife:"1f52a",koala:"1f428",koko:"1f201",kosovo:"1f1fd-1f1f0",kr:"1f1f0-1f1f7",kuwait:"1f1f0-1f1fc",kyrgyzstan:"1f1f0-1f1ec",lab_coat:"1f97c",label:"1f3f7",lacrosse:"1f94d",lantern:"1f3ee",laos:"1f1f1-1f1e6",large_blue_circle:"1f535",large_blue_diamond:"1f537",large_orange_diamond:"1f536",last_quarter_moon:"1f317",last_quarter_moon_with_face:"1f31c",latin_cross:"271d",latvia:"1f1f1-1f1fb",laughing:"1f606",leafy_green:"1f96c",leaves:"1f343",lebanon:"1f1f1-1f1e7",ledger:"1f4d2",left_luggage:"1f6c5",left_right_arrow:"2194",left_speech_bubble:"1f5e8",leftwards_arrow_with_hook:"21a9",leg:"1f9b5",lemon:"1f34b",leo:"264c",leopard:"1f406",lesotho:"1f1f1-1f1f8",level_slider:"1f39a",liberia:"1f1f1-1f1f7",libra:"264e",libya:"1f1f1-1f1fe",liechtenstein:"1f1f1-1f1ee",light_rail:"1f688",link:"1f517",lion:"1f981",lips:"1f444",lipstick:"1f484",lithuania:"1f1f1-1f1f9",lizard:"1f98e",llama:"1f999",lobster:"1f99e",lock:"1f512",lock_with_ink_pen:"1f50f",lollipop:"1f36d",loop:"27bf",lotion_bottle:"1f9f4",lotus_position:"1f9d8",lotus_position_man:"1f9d8-2642",lotus_position_woman:"1f9d8-2640",loud_sound:"1f50a",loudspeaker:"1f4e2",love_hotel:"1f3e9",love_letter:"1f48c",love_you_gesture:"1f91f",low_brightness:"1f505",luggage:"1f9f3",luxembourg:"1f1f1-1f1fa",lying_face:"1f925",m:"24c2",macau:"1f1f2-1f1f4",macedonia:"1f1f2-1f1f0",madagascar:"1f1f2-1f1ec",mag:"1f50d",mag_right:"1f50e",mage:"1f9d9",mage_man:"1f9d9-2642",mage_woman:"1f9d9-2640",magnet:"1f9f2",mahjong:"1f004",mailbox:"1f4eb",mailbox_closed:"1f4ea",mailbox_with_mail:"1f4ec",mailbox_with_no_mail:"1f4ed",malawi:"1f1f2-1f1fc",malaysia:"1f1f2-1f1fe",maldives:"1f1f2-1f1fb",male_detective:"1f575-2642",male_sign:"2642",mali:"1f1f2-1f1f1",malta:"1f1f2-1f1f9",man:"1f468",man_artist:"1f468-1f3a8",man_astronaut:"1f468-1f680",man_cartwheeling:"1f938-2642",man_cook:"1f468-1f373",man_dancing:"1f57a",man_facepalming:"1f926-2642",man_factory_worker:"1f468-1f3ed",man_farmer:"1f468-1f33e",man_firefighter:"1f468-1f692",man_health_worker:"1f468-2695",man_in_manual_wheelchair:"1f468-1f9bd",man_in_motorized_wheelchair:"1f468-1f9bc",man_in_tuxedo:"1f935",man_judge:"1f468-2696",man_juggling:"1f939-2642",man_mechanic:"1f468-1f527",man_office_worker:"1f468-1f4bc",man_pilot:"1f468-2708",man_playing_handball:"1f93e-2642",man_playing_water_polo:"1f93d-2642",man_scientist:"1f468-1f52c",man_shrugging:"1f937-2642",man_singer:"1f468-1f3a4",man_student:"1f468-1f393",man_teacher:"1f468-1f3eb",man_technologist:"1f468-1f4bb",man_with_gua_pi_mao:"1f472",man_with_probing_cane:"1f468-1f9af",man_with_turban:"1f473-2642",mandarin:"1f34a",mango:"1f96d",mans_shoe:"1f45e",mantelpiece_clock:"1f570",manual_wheelchair:"1f9bd",maple_leaf:"1f341",marshall_islands:"1f1f2-1f1ed",martial_arts_uniform:"1f94b",martinique:"1f1f2-1f1f6",mask:"1f637",massage:"1f486",massage_man:"1f486-2642",massage_woman:"1f486-2640",mate:"1f9c9",mauritania:"1f1f2-1f1f7",mauritius:"1f1f2-1f1fa",mayotte:"1f1fe-1f1f9",meat_on_bone:"1f356",mechanic:"1f9d1-1f527",mechanical_arm:"1f9be",mechanical_leg:"1f9bf",medal_military:"1f396",medal_sports:"1f3c5",medical_symbol:"2695",mega:"1f4e3",melon:"1f348",memo:"1f4dd",men_wrestling:"1f93c-2642",menorah:"1f54e",mens:"1f6b9",mermaid:"1f9dc-2640",merman:"1f9dc-2642",merperson:"1f9dc",metal:"1f918",metro:"1f687",mexico:"1f1f2-1f1fd",microbe:"1f9a0",micronesia:"1f1eb-1f1f2",microphone:"1f3a4",microscope:"1f52c",middle_finger:"1f595",milk_glass:"1f95b",milky_way:"1f30c",minibus:"1f690",minidisc:"1f4bd",mobile_phone_off:"1f4f4",moldova:"1f1f2-1f1e9",monaco:"1f1f2-1f1e8",money_mouth_face:"1f911",money_with_wings:"1f4b8",moneybag:"1f4b0",mongolia:"1f1f2-1f1f3",monkey:"1f412",monkey_face:"1f435",monocle_face:"1f9d0",monorail:"1f69d",montenegro:"1f1f2-1f1ea",montserrat:"1f1f2-1f1f8",moon:"1f314",moon_cake:"1f96e",morocco:"1f1f2-1f1e6",mortar_board:"1f393",mosque:"1f54c",mosquito:"1f99f",motor_boat:"1f6e5",motor_scooter:"1f6f5",motorcycle:"1f3cd",motorized_wheelchair:"1f9bc",motorway:"1f6e3",mount_fuji:"1f5fb",mountain:"26f0",mountain_bicyclist:"1f6b5",mountain_biking_man:"1f6b5-2642",mountain_biking_woman:"1f6b5-2640",mountain_cableway:"1f6a0",mountain_railway:"1f69e",mountain_snow:"1f3d4",mouse:"1f42d",mouse2:"1f401",movie_camera:"1f3a5",moyai:"1f5ff",mozambique:"1f1f2-1f1ff",mrs_claus:"1f936",muscle:"1f4aa",mushroom:"1f344",musical_keyboard:"1f3b9",musical_note:"1f3b5",musical_score:"1f3bc",mute:"1f507",myanmar:"1f1f2-1f1f2",nail_care:"1f485",name_badge:"1f4db",namibia:"1f1f3-1f1e6",national_park:"1f3de",nauru:"1f1f3-1f1f7",nauseated_face:"1f922",nazar_amulet:"1f9ff",necktie:"1f454",negative_squared_cross_mark:"274e",nepal:"1f1f3-1f1f5",nerd_face:"1f913",netherlands:"1f1f3-1f1f1",neutral_face:"1f610",new:"1f195",new_caledonia:"1f1f3-1f1e8",new_moon:"1f311",new_moon_with_face:"1f31a",new_zealand:"1f1f3-1f1ff",newspaper:"1f4f0",newspaper_roll:"1f5de",next_track_button:"23ed",ng:"1f196",ng_man:"1f645-2642",ng_woman:"1f645-2640",nicaragua:"1f1f3-1f1ee",niger:"1f1f3-1f1ea",nigeria:"1f1f3-1f1ec",night_with_stars:"1f303",nine:"0039-20e3",niue:"1f1f3-1f1fa",no_bell:"1f515",no_bicycles:"1f6b3",no_entry:"26d4",no_entry_sign:"1f6ab",no_good:"1f645",no_good_man:"1f645-2642",no_good_woman:"1f645-2640",no_mobile_phones:"1f4f5",no_mouth:"1f636",no_pedestrians:"1f6b7",no_smoking:"1f6ad","non-potable_water":"1f6b1",norfolk_island:"1f1f3-1f1eb",north_korea:"1f1f0-1f1f5",northern_mariana_islands:"1f1f2-1f1f5",norway:"1f1f3-1f1f4",nose:"1f443",notebook:"1f4d3",notebook_with_decorative_cover:"1f4d4",notes:"1f3b6",nut_and_bolt:"1f529",o:"2b55",o2:"1f17e",ocean:"1f30a",octopus:"1f419",oden:"1f362",office:"1f3e2",office_worker:"1f9d1-1f4bc",oil_drum:"1f6e2",ok:"1f197",ok_hand:"1f44c",ok_man:"1f646-2642",ok_person:"1f646",ok_woman:"1f646-2640",old_key:"1f5dd",older_adult:"1f9d3",older_man:"1f474",older_woman:"1f475",om:"1f549",oman:"1f1f4-1f1f2",on:"1f51b",oncoming_automobile:"1f698",oncoming_bus:"1f68d",oncoming_police_car:"1f694",oncoming_taxi:"1f696",one:"0031-20e3",one_piece_swimsuit:"1fa71",onion:"1f9c5",open_book:"1f4d6",open_file_folder:"1f4c2",open_hands:"1f450",open_mouth:"1f62e",open_umbrella:"2602",ophiuchus:"26ce",orange:"1f34a",orange_book:"1f4d9",orange_circle:"1f7e0",orange_heart:"1f9e1",orange_square:"1f7e7",orangutan:"1f9a7",orthodox_cross:"2626",otter:"1f9a6",outbox_tray:"1f4e4",owl:"1f989",ox:"1f402",oyster:"1f9aa",package:"1f4e6",page_facing_up:"1f4c4",page_with_curl:"1f4c3",pager:"1f4df",paintbrush:"1f58c",pakistan:"1f1f5-1f1f0",palau:"1f1f5-1f1fc",palestinian_territories:"1f1f5-1f1f8",palm_tree:"1f334",palms_up_together:"1f932",panama:"1f1f5-1f1e6",pancakes:"1f95e",panda_face:"1f43c",paperclip:"1f4ce",paperclips:"1f587",papua_new_guinea:"1f1f5-1f1ec",parachute:"1fa82",paraguay:"1f1f5-1f1fe",parasol_on_ground:"26f1",parking:"1f17f",parrot:"1f99c",part_alternation_mark:"303d",partly_sunny:"26c5",partying_face:"1f973",passenger_ship:"1f6f3",passport_control:"1f6c2",pause_button:"23f8",paw_prints:"1f43e",peace_symbol:"262e",peach:"1f351",peacock:"1f99a",peanuts:"1f95c",pear:"1f350",pen:"1f58a",pencil:"1f4dd",pencil2:"270f",penguin:"1f427",pensive:"1f614",people_holding_hands:"1f9d1-1f91d-1f9d1",performing_arts:"1f3ad",persevere:"1f623",person_bald:"1f9d1-1f9b2",person_curly_hair:"1f9d1-1f9b1",person_fencing:"1f93a",person_in_manual_wheelchair:"1f9d1-1f9bd",person_in_motorized_wheelchair:"1f9d1-1f9bc",person_red_hair:"1f9d1-1f9b0",person_white_hair:"1f9d1-1f9b3",person_with_probing_cane:"1f9d1-1f9af",person_with_turban:"1f473",peru:"1f1f5-1f1ea",petri_dish:"1f9eb",philippines:"1f1f5-1f1ed",phone:"260e",pick:"26cf",pie:"1f967",pig:"1f437",pig2:"1f416",pig_nose:"1f43d",pill:"1f48a",pilot:"1f9d1-2708",pinching_hand:"1f90f",pineapple:"1f34d",ping_pong:"1f3d3",pirate_flag:"1f3f4-2620",pisces:"2653",pitcairn_islands:"1f1f5-1f1f3",pizza:"1f355",place_of_worship:"1f6d0",plate_with_cutlery:"1f37d",play_or_pause_button:"23ef",pleading_face:"1f97a",point_down:"1f447",point_left:"1f448",point_right:"1f449",point_up:"261d",point_up_2:"1f446",poland:"1f1f5-1f1f1",police_car:"1f693",police_officer:"1f46e",policeman:"1f46e-2642",policewoman:"1f46e-2640",poodle:"1f429",poop:"1f4a9",popcorn:"1f37f",portugal:"1f1f5-1f1f9",post_office:"1f3e3",postal_horn:"1f4ef",postbox:"1f4ee",potable_water:"1f6b0",potato:"1f954",pouch:"1f45d",poultry_leg:"1f357",pound:"1f4b7",pout:"1f621",pouting_cat:"1f63e",pouting_face:"1f64e",pouting_man:"1f64e-2642",pouting_woman:"1f64e-2640",pray:"1f64f",prayer_beads:"1f4ff",pregnant_woman:"1f930",pretzel:"1f968",previous_track_button:"23ee",prince:"1f934",princess:"1f478",printer:"1f5a8",probing_cane:"1f9af",puerto_rico:"1f1f5-1f1f7",punch:"1f44a",purple_circle:"1f7e3",purple_heart:"1f49c",purple_square:"1f7ea",purse:"1f45b",pushpin:"1f4cc",put_litter_in_its_place:"1f6ae",qatar:"1f1f6-1f1e6",question:"2753",rabbit:"1f430",rabbit2:"1f407",raccoon:"1f99d",racehorse:"1f40e",racing_car:"1f3ce",radio:"1f4fb",radio_button:"1f518",radioactive:"2622",rage:"1f621",railway_car:"1f683",railway_track:"1f6e4",rainbow:"1f308",rainbow_flag:"1f3f3-1f308",raised_back_of_hand:"1f91a",raised_eyebrow:"1f928",raised_hand:"270b",raised_hand_with_fingers_splayed:"1f590",raised_hands:"1f64c",raising_hand:"1f64b",raising_hand_man:"1f64b-2642",raising_hand_woman:"1f64b-2640",ram:"1f40f",ramen:"1f35c",rat:"1f400",razor:"1fa92",receipt:"1f9fe",record_button:"23fa",recycle:"267b",red_car:"1f697",red_circle:"1f534",red_envelope:"1f9e7",red_haired_man:"1f468-1f9b0",red_haired_woman:"1f469-1f9b0",red_square:"1f7e5",registered:"00ae",relaxed:"263a",relieved:"1f60c",reminder_ribbon:"1f397",repeat:"1f501",repeat_one:"1f502",rescue_worker_helmet:"26d1",restroom:"1f6bb",reunion:"1f1f7-1f1ea",revolving_hearts:"1f49e",rewind:"23ea",rhinoceros:"1f98f",ribbon:"1f380",rice:"1f35a",rice_ball:"1f359",rice_cracker:"1f358",rice_scene:"1f391",right_anger_bubble:"1f5ef",ring:"1f48d",ringed_planet:"1fa90",robot:"1f916",rocket:"1f680",rofl:"1f923",roll_eyes:"1f644",roll_of_paper:"1f9fb",roller_coaster:"1f3a2",romania:"1f1f7-1f1f4",rooster:"1f413",rose:"1f339",rosette:"1f3f5",rotating_light:"1f6a8",round_pushpin:"1f4cd",rowboat:"1f6a3",rowing_man:"1f6a3-2642",rowing_woman:"1f6a3-2640",ru:"1f1f7-1f1fa",rugby_football:"1f3c9",runner:"1f3c3",running:"1f3c3",running_man:"1f3c3-2642",running_shirt_with_sash:"1f3bd",running_woman:"1f3c3-2640",rwanda:"1f1f7-1f1fc",sa:"1f202",safety_pin:"1f9f7",safety_vest:"1f9ba",sagittarius:"2650",sailboat:"26f5",sake:"1f376",salt:"1f9c2",samoa:"1f1fc-1f1f8",san_marino:"1f1f8-1f1f2",sandal:"1f461",sandwich:"1f96a",santa:"1f385",sao_tome_principe:"1f1f8-1f1f9",sari:"1f97b",sassy_man:"1f481-2642",sassy_woman:"1f481-2640",satellite:"1f4e1",satisfied:"1f606",saudi_arabia:"1f1f8-1f1e6",sauna_man:"1f9d6-2642",sauna_person:"1f9d6",sauna_woman:"1f9d6-2640",sauropod:"1f995",saxophone:"1f3b7",scarf:"1f9e3",school:"1f3eb",school_satchel:"1f392",scientist:"1f9d1-1f52c",scissors:"2702",scorpion:"1f982",scorpius:"264f",scotland:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",scream:"1f631",scream_cat:"1f640",scroll:"1f4dc",seat:"1f4ba",secret:"3299",see_no_evil:"1f648",seedling:"1f331",selfie:"1f933",senegal:"1f1f8-1f1f3",serbia:"1f1f7-1f1f8",service_dog:"1f415-1f9ba",seven:"0037-20e3",seychelles:"1f1f8-1f1e8",shallow_pan_of_food:"1f958",shamrock:"2618",shark:"1f988",shaved_ice:"1f367",sheep:"1f411",shell:"1f41a",shield:"1f6e1",shinto_shrine:"26e9",ship:"1f6a2",shirt:"1f455",poo:"1f4a9",shoe:"1f45e",shopping:"1f6cd",shopping_cart:"1f6d2",shorts:"1fa73",shower:"1f6bf",shrimp:"1f990",shrug:"1f937",shushing_face:"1f92b",sierra_leone:"1f1f8-1f1f1",signal_strength:"1f4f6",singapore:"1f1f8-1f1ec",singer:"1f9d1-1f3a4",sint_maarten:"1f1f8-1f1fd",six:"0036-20e3",six_pointed_star:"1f52f",skateboard:"1f6f9",ski:"1f3bf",skier:"26f7",skull:"1f480",skull_and_crossbones:"2620",skunk:"1f9a8",sled:"1f6f7",sleeping:"1f634",sleeping_bed:"1f6cc",sleepy:"1f62a",slightly_frowning_face:"1f641",slightly_smiling_face:"1f642",slot_machine:"1f3b0",sloth:"1f9a5",slovakia:"1f1f8-1f1f0",slovenia:"1f1f8-1f1ee",small_airplane:"1f6e9",small_blue_diamond:"1f539",small_orange_diamond:"1f538",small_red_triangle:"1f53a",small_red_triangle_down:"1f53b",smile:"1f604",smile_cat:"1f638",smiley:"1f603",smiley_cat:"1f63a",smiling_face_with_three_hearts:"1f970",smiling_imp:"1f608",smirk:"1f60f",smirk_cat:"1f63c",smoking:"1f6ac",snail:"1f40c",snake:"1f40d",sneezing_face:"1f927",snowboarder:"1f3c2",snowflake:"2744",snowman:"26c4",snowman_with_snow:"2603",soap:"1f9fc",sob:"1f62d",soccer:"26bd",socks:"1f9e6",softball:"1f94e",solomon_islands:"1f1f8-1f1e7",somalia:"1f1f8-1f1f4",soon:"1f51c",sos:"1f198",sound:"1f509",south_africa:"1f1ff-1f1e6",south_georgia_south_sandwich_islands:"1f1ec-1f1f8",south_sudan:"1f1f8-1f1f8",space_invader:"1f47e",spades:"2660",spaghetti:"1f35d",sparkle:"2747",sparkler:"1f387",sparkles:"2728",sparkling_heart:"1f496",speak_no_evil:"1f64a",speaker:"1f508",speaking_head:"1f5e3",speech_balloon:"1f4ac",speedboat:"1f6a4",spider:"1f577",spider_web:"1f578",spiral_calendar:"1f5d3",spiral_notepad:"1f5d2",sponge:"1f9fd",spoon:"1f944",squid:"1f991",sri_lanka:"1f1f1-1f1f0",st_barthelemy:"1f1e7-1f1f1",st_helena:"1f1f8-1f1ed",st_kitts_nevis:"1f1f0-1f1f3",st_lucia:"1f1f1-1f1e8",st_martin:"1f1f2-1f1eb",st_pierre_miquelon:"1f1f5-1f1f2",st_vincent_grenadines:"1f1fb-1f1e8",stadium:"1f3df",standing_man:"1f9cd-2642",standing_person:"1f9cd",standing_woman:"1f9cd-2640",star:"2b50",star2:"1f31f",star_and_crescent:"262a",star_of_david:"2721",star_struck:"1f929",stars:"1f320",station:"1f689",statue_of_liberty:"1f5fd",steam_locomotive:"1f682",stethoscope:"1fa7a",stew:"1f372",stop_button:"23f9",stop_sign:"1f6d1",stopwatch:"23f1",straight_ruler:"1f4cf",strawberry:"1f353",stuck_out_tongue:"1f61b",stuck_out_tongue_closed_eyes:"1f61d",stuck_out_tongue_winking_eye:"1f61c",student:"1f9d1-1f393",studio_microphone:"1f399",stuffed_flatbread:"1f959",sudan:"1f1f8-1f1e9",sun_behind_large_cloud:"1f325",sun_behind_rain_cloud:"1f326",sun_behind_small_cloud:"1f324",sun_with_face:"1f31e",sunflower:"1f33b",sunglasses:"1f60e",sunny:"2600",sunrise:"1f305",sunrise_over_mountains:"1f304",superhero:"1f9b8",superhero_man:"1f9b8-2642",superhero_woman:"1f9b8-2640",supervillain:"1f9b9",supervillain_man:"1f9b9-2642",supervillain_woman:"1f9b9-2640",surfer:"1f3c4",surfing_man:"1f3c4-2642",surfing_woman:"1f3c4-2640",suriname:"1f1f8-1f1f7",sushi:"1f363",suspension_railway:"1f69f",svalbard_jan_mayen:"1f1f8-1f1ef",swan:"1f9a2",swaziland:"1f1f8-1f1ff",sweat:"1f613",sweat_drops:"1f4a6",sweat_smile:"1f605",sweden:"1f1f8-1f1ea",sweet_potato:"1f360",swim_brief:"1fa72",swimmer:"1f3ca",swimming_man:"1f3ca-2642",swimming_woman:"1f3ca-2640",switzerland:"1f1e8-1f1ed",symbols:"1f523",synagogue:"1f54d",syria:"1f1f8-1f1fe",syringe:"1f489","t-rex":"1f996",taco:"1f32e",tada:"1f389",taiwan:"1f1f9-1f1fc",tajikistan:"1f1f9-1f1ef",takeout_box:"1f961",tanabata_tree:"1f38b",tangerine:"1f34a",tanzania:"1f1f9-1f1ff",taurus:"2649",taxi:"1f695",tea:"1f375",teacher:"1f9d1-1f3eb",technologist:"1f9d1-1f4bb",teddy_bear:"1f9f8",telephone:"260e",telephone_receiver:"1f4de",telescope:"1f52d",tennis:"1f3be",tent:"26fa",test_tube:"1f9ea",thailand:"1f1f9-1f1ed",thermometer:"1f321",thinking:"1f914",thought_balloon:"1f4ad",thread:"1f9f5",three:"0033-20e3",thumbsdown:"1f44e",thumbsup:"1f44d",ticket:"1f3ab",tickets:"1f39f",tiger:"1f42f",tiger2:"1f405",timer_clock:"23f2",timor_leste:"1f1f9-1f1f1",tipping_hand_man:"1f481-2642",tipping_hand_person:"1f481",tipping_hand_woman:"1f481-2640",tired_face:"1f62b",tm:"2122",togo:"1f1f9-1f1ec",toilet:"1f6bd",tokelau:"1f1f9-1f1f0",tokyo_tower:"1f5fc",tomato:"1f345",tonga:"1f1f9-1f1f4",tongue:"1f445",toolbox:"1f9f0",tooth:"1f9b7",top:"1f51d",tophat:"1f3a9",tornado:"1f32a",tr:"1f1f9-1f1f7",trackball:"1f5b2",tractor:"1f69c",traffic_light:"1f6a5",train:"1f68b",train2:"1f686",tram:"1f68a",triangular_flag_on_post:"1f6a9",triangular_ruler:"1f4d0",trident:"1f531",trinidad_tobago:"1f1f9-1f1f9",tristan_da_cunha:"1f1f9-1f1e6",triumph:"1f624",trolleybus:"1f68e",trophy:"1f3c6",tropical_drink:"1f379",tropical_fish:"1f420",truck:"1f69a",trumpet:"1f3ba",tshirt:"1f455",tulip:"1f337",tumbler_glass:"1f943",tunisia:"1f1f9-1f1f3",turkey:"1f983",turkmenistan:"1f1f9-1f1f2",turks_caicos_islands:"1f1f9-1f1e8",turtle:"1f422",tuvalu:"1f1f9-1f1fb",tv:"1f4fa",twisted_rightwards_arrows:"1f500",two:"0032-20e3",two_hearts:"1f495",two_men_holding_hands:"1f46c",two_women_holding_hands:"1f46d",u5272:"1f239",u5408:"1f234",u55b6:"1f23a",u6307:"1f22f",u6708:"1f237",u6709:"1f236",u6e80:"1f235",u7121:"1f21a",u7533:"1f238",u7981:"1f232",u7a7a:"1f233",uganda:"1f1fa-1f1ec",uk:"1f1ec-1f1e7",ukraine:"1f1fa-1f1e6",umbrella:"2614",unamused:"1f612",underage:"1f51e",unicorn:"1f984",united_arab_emirates:"1f1e6-1f1ea",united_nations:"1f1fa-1f1f3",unlock:"1f513",up:"1f199",upside_down_face:"1f643",uruguay:"1f1fa-1f1fe",us:"1f1fa-1f1f8",us_outlying_islands:"1f1fa-1f1f2",us_virgin_islands:"1f1fb-1f1ee",uzbekistan:"1f1fa-1f1ff",v:"270c",vampire:"1f9db",vampire_man:"1f9db-2642",vampire_woman:"1f9db-2640",vanuatu:"1f1fb-1f1fa",vatican_city:"1f1fb-1f1e6",venezuela:"1f1fb-1f1ea",vertical_traffic_light:"1f6a6",vhs:"1f4fc",vibration_mode:"1f4f3",video_camera:"1f4f9",video_game:"1f3ae",vietnam:"1f1fb-1f1f3",violin:"1f3bb",virgo:"264d",volcano:"1f30b",volleyball:"1f3d0",vomiting_face:"1f92e",vs:"1f19a",vulcan_salute:"1f596",waffle:"1f9c7",wales:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",walking:"1f6b6",walking_man:"1f6b6-2642",walking_woman:"1f6b6-2640",wallis_futuna:"1f1fc-1f1eb",waning_crescent_moon:"1f318",waning_gibbous_moon:"1f316",warning:"26a0",wastebasket:"1f5d1",watch:"231a",water_buffalo:"1f403",water_polo:"1f93d",watermelon:"1f349",wave:"1f44b",wavy_dash:"3030",waxing_crescent_moon:"1f312",waxing_gibbous_moon:"1f314",wc:"1f6be",weary:"1f629",wedding:"1f492",weight_lifting:"1f3cb",weight_lifting_man:"1f3cb-2642",weight_lifting_woman:"1f3cb-2640",western_sahara:"1f1ea-1f1ed",whale:"1f433",whale2:"1f40b",wheel_of_dharma:"2638",wheelchair:"267f",white_check_mark:"2705",white_circle:"26aa",white_flag:"1f3f3",white_flower:"1f4ae",white_haired_man:"1f468-1f9b3",white_haired_woman:"1f469-1f9b3",white_heart:"1f90d",white_large_square:"2b1c",white_medium_small_square:"25fd",white_medium_square:"25fb",white_small_square:"25ab",white_square_button:"1f533",wilted_flower:"1f940",wind_chime:"1f390",wind_face:"1f32c",wine_glass:"1f377",wink:"1f609",wolf:"1f43a",woman:"1f469",woman_artist:"1f469-1f3a8",woman_astronaut:"1f469-1f680",woman_cartwheeling:"1f938-2640",woman_cook:"1f469-1f373",woman_dancing:"1f483",woman_facepalming:"1f926-2640",woman_factory_worker:"1f469-1f3ed",woman_farmer:"1f469-1f33e",woman_firefighter:"1f469-1f692",woman_health_worker:"1f469-2695",woman_in_manual_wheelchair:"1f469-1f9bd",woman_in_motorized_wheelchair:"1f469-1f9bc",woman_judge:"1f469-2696",woman_juggling:"1f939-2640",woman_mechanic:"1f469-1f527",woman_office_worker:"1f469-1f4bc",woman_pilot:"1f469-2708",woman_playing_handball:"1f93e-2640",woman_playing_water_polo:"1f93d-2640",woman_scientist:"1f469-1f52c",woman_shrugging:"1f937-2640",woman_singer:"1f469-1f3a4",woman_student:"1f469-1f393",woman_teacher:"1f469-1f3eb",woman_technologist:"1f469-1f4bb",woman_with_headscarf:"1f9d5",woman_with_probing_cane:"1f469-1f9af",woman_with_turban:"1f473-2640",womans_clothes:"1f45a",womans_hat:"1f452",women_wrestling:"1f93c-2640",womens:"1f6ba",woozy_face:"1f974",world_map:"1f5fa",worried:"1f61f",wrench:"1f527",wrestling:"1f93c",writing_hand:"270d",x:"274c",yarn:"1f9f6",yawning_face:"1f971",yellow_circle:"1f7e1",yellow_heart:"1f49b",yellow_square:"1f7e8",yemen:"1f1fe-1f1ea",yen:"1f4b4",yin_yang:"262f",yo_yo:"1fa80",yum:"1f60b",zambia:"1f1ff-1f1f2",zany_face:"1f92a",zap:"26a1",zebra:"1f993",zero:"0030-20e3",zimbabwe:"1f1ff-1f1fc",zipper_mouth_face:"1f910",zombie:"1f9df",zombie_man:"1f9df-2642",zombie_woman:"1f9df-2640",zzz:"1f4a4"};function $Ft(t,n){var i=ad(t);if(P1){var o=P1(t);n&&(o=Jf(o).call(o,function(s){return Og(t,s).enumerable})),i.push.apply(i,o)}return i}function YKn(t){for(var n=1;n"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}function JKn(){for(var t=[],n=0,i="",o=0,s=arguments.length;o!==s;++o){var u=+(o<0||arguments.length<=o?void 0:arguments[o]);if(!(u<1114111&&u>>>0===u))throw new RangeError("Invalid code point: ".concat(u));u<=65535?n=t.push(u):(u-=65536,n=t.push(55296+(u>>10),u%1024+56320)),n>=16383&&(i+=String.fromCharCode.apply(null,t),t.length=0)}return i+String.fromCharCode.apply(null,t)}var hZt=function(t){Io(i,Up);var n=qKn(i);function i(){var o,s=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;if(vi(this,i),(o=n.call(this,{config:s})).options={useUnicode:!0,upperCase:!1,customHandled:!1,resourceURL:"https://github.githubassets.com/images/icons/emoji/unicode/${code}.png?v8",emojis:YKn({},GKn)},Uc(s)!=="object")return xo(o);var u=s.useUnicode,d=s.customResourceURL,f=s.customRenderer,g=s.upperCase;return o.options.useUnicode=typeof u=="boolean"?u:o.options.useUnicode,o.options.upperCase=typeof g=="boolean"?g:o.options.upperCase,u===!1&&typeof d=="string"&&(o.options.resourceURL=d),typeof f=="function"&&(o.options.customHandled=!0,o.options.customRenderer=f),o}return bi(i,[{key:"makeHtml",value:function(o,s){var u=this;return this.test(o)?o.replace(this.RULE.reg,function(d,f){var g;if(u.options.customHandled&&typeof u.options.customRenderer=="function")return u.options.customRenderer(f);var m=u.options.emojis[f];if(typeof m!="string")return d;if(u.options.useUnicode){var b,w=Ws(b=m.split("-")).call(b,function(T){return"0x".concat(T)});return JKn.apply(void 0,_L(w))}u.options.upperCase&&(m=m.toUpperCase());var C=u.options.resourceURL.replace(/\$\{code\}/g,m);return St(g='')).call(g,H3(f),'')}):o}},{key:"rule",value:function(){var o={begin:":",content:"([a-zA-Z0-9+_]+?)",end:":"};return o.reg=rb(o,"g"),o}}]),i}();function ZKn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(hZt,"HOOK_NAME","emoji");var fZt=function(t){Io(i,Up);var n=ZKn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"makeHtml",value:function(o){return this.test(o)?o.replace(this.RULE.reg,'$1$2$3'):o}},{key:"rule",value:function(){var o={begin:"(^| )\\/",end:"\\/( |$)",content:"([^\\n]+?)"};return o.reg=new RegExp(o.begin+o.content+o.end,"g"),o}}]),i}();function eVn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(fZt,"HOOK_NAME","underline");var gZt=function(t){Io(i,Up);var n=eVn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"makeHtml",value:function(o){return this.test(o)?o.replace(this.RULE.reg,"$1$2$3"):o}},{key:"rule",value:function(){var o={begin:"(^| )==",end:"==( |$|\\n)",content:"([^\\n]+?)"};return o.reg=new RegExp(o.begin+o.content+o.end,"g"),o}}]),i}();Ni(gZt,"HOOK_NAME","highLight");var aG=Hqt,tVn=kYe.includes,nVn=Xu(function(){return!Array(1).includes()});Ho({target:"Array",proto:!0,forced:nVn},{includes:function(t){return tVn(this,t,arguments.length>1?arguments[1]:void 0)}});var rVn=Ig("Array").includes,iVn=Ta("".indexOf);Ho({target:"String",proto:!0,forced:!zYe("includes")},{includes:function(t){return!!~iVn(Wu(RL(this)),Wu(UYe(t)),arguments.length>1?arguments[1]:void 0)}});var oVn=Ig("String").includes,yje=Array.prototype,wje=String.prototype,F3e=function(t){var n=t.includes;return t===yje||of(yje,t)&&n===yje.includes?rVn:typeof t=="string"||t===wje||of(wje,t)&&n===wje.includes?oVn:n},aVn=function(t,n){for(var i=-1,o=t==null?0:t.length,s=Array(o);++i",keyword:"》",value:">"}],fVn=[{icon:"FullWidth",label:"[]",keyword:"【】",value:"[]",goLeft:1},{icon:"FullWidth",label:"【】",keyword:"【",value:"【】",goLeft:1},{icon:"link",label:"Link",keyword:"【】",value:"[title](https://url)",selection:{from:19,to:14}},{icon:"FullWidth",label:"()",keyword:"(",value:"()",goLeft:1},{icon:"FullWidth",label:"()",keyword:"(",value:"()",goLeft:1},{icon:"FullWidth",label:"<>",keyword:"《》",value:"<>",goLeft:1},{icon:"FullWidth",label:"《》",keyword:"《》",value:"《》",goLeft:1},{icon:"FullWidth",label:'""',keyword:"“”",value:'""',goLeft:1},{icon:"FullWidth",label:"“”",keyword:"“”",value:"”“",goLeft:1}],gVn=St(MFt).call(MFt,fVn),pVn=function(){return"CodeMirror.Pass"};function AVn(t,n){var i=aG!==void 0&&UL(t)||t["@@iterator"];if(!i){if(J5(t)||(i=function(g,m){var b;if(g){if(typeof g=="string")return PFt(g,m);var w=Eo(b=Object.prototype.toString.call(g)).call(b,8,-1);if(w==="Object"&&g.constructor&&(w=g.constructor.name),w==="Map"||w==="Set")return mu(g);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return PFt(g,m)}}(t))||n&&t&&typeof t.length=="number"){i&&(t=i);var o=0,s=function(){};return{s,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(g){throw g},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,d=!0,f=!1;return{s:function(){i=i.call(t)},n:function(){var g=i.next();return d=g.done,g},e:function(g){f=!0,u=g},f:function(){try{d||i.return==null||i.return()}finally{if(f)throw u}}}}function PFt(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);i"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var mZt=function(t){Io(i,Up);var n=mVn(i);function i(o){var s,u=o.config;return vi(this,i),(s=n.call(this,{needCache:!0})).config=u,s.RULE=s.rule(),s.suggesterPanel=new vVn,s}return bi(i,[{key:"afterInit",value:function(o){G5()&&(typeof o=="function"&&o(),this.initConfig(this.config))}},{key:"initConfig",value:function(o){var s=this,u=o.suggester;this.suggester={};var d,f=[],g=AVn(dVn);try{var m=function(){var b=d.value;f.push({keyword:b,suggestList:function(w,C){var T=w.toLowerCase(),k=function(P,N){var L,R,H,Q=St(L=[]).call(L,hVn),q=St(R=[]).call(R,gVn);return Wo(Q).call(Q,function(X){X.label=N?N[X.label]:X.label}),Wo(q).call(q,function(X){X.label=N?N[X.label]:X.label}),(P[0]==="/"||P[0]==="、"||F3e("#").call("#",P[0]))&&Wo(Q).call(Q,function(X){X.keyword="".concat(P[0],X.keyword)}),Jf(H=St(q).call(q,Q)).call(H,function(X){var re;return vX(re=X.keyword).call(re,P[0])})}(b,this.$locale);if(/^\s$/.test(T))C(!1);else{var $=T.replace(/\s+/g,"").replace(new RegExp("^".concat(b),"g"),"").split("").join(".*?"),O=new RegExp("^.*?".concat($,".*?$"),"i"),B=Jf(k).call(k,function(P){return!T||O.test(P.keyword)});C(B.length!==0&&B)}}})};for(g.s();!(d=g.n()).done;)m()}catch(b){g.e(b)}finally{g.f()}u=u?St(u).call(u,f):f,Wo(u).call(u,function(b){b.suggestList?(b.keyword||(b.keyword="@"),s.suggester[b.keyword]=b):console.warn("[cherry-suggester]: the suggestList of config is missing.")}),this.suggesterPanel.hasEditor()&&(this.suggesterPanel.editor=null)}},{key:"makeHtml",value:function(o){var s,u;if(!this.RULE.reg)return o;if(!this.suggesterPanel.hasEditor()&&G5()){var d=this.$engine.$cherry.editor;this.suggesterPanel.setEditor(d),this.suggesterPanel.setSuggester(this.suggester),this.suggesterPanel.bindEvent()}return jp()?o.replace(this.RULE.reg,va(u=this.toHtml).call(u,this)):D7(o,this.RULE.reg,va(s=this.toHtml).call(s,this),!0,1)}},{key:"toHtml",value:function(o,s,u,d){var f,g,m,b,w;return d?((g=this.suggester[u])===null||g===void 0||(m=g.echo)===null||m===void 0?void 0:m.call(this,d))||St(b=St(w="".concat(s,'')).call(w,u)).call(b,d,""):((f=this.suggester[u])===null||f===void 0?void 0:f.echo)===!1?"".concat(s):this.suggester[u]?d?s+d:"".concat(s):s+d}},{key:"rule",value:function(){var o,s,u;if(!this.suggester||ad(this.suggester).length<=0)return{};var d=Ws(o=ad(this.suggester)).call(o,function(f){return uVn(f)}).join("|");return{reg:new RegExp(St(s=St(u="".concat(jp()?"((?'),this.searchCache=!1,this.searchKeyCache=[],this.optionList=[],this.cursorMove=!0,this.suggesterConfig={}}return bi(t,[{key:"tryCreatePanel",value:function(){var n,i,o;!this.$suggesterPanel&&G5()&&document&&((n=document)===null||n===void 0||(i=n.body)===null||i===void 0||i.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=(o=document)===null||o===void 0?void 0:o.querySelector(".cherry-suggester-panel"))}},{key:"hasEditor",value:function(){return!!this.editor&&!!this.editor.editor.display&&!!this.editor.editor.display.wrapper}},{key:"setEditor",value:function(n){this.editor=n}},{key:"setSuggester",value:function(n){this.suggesterConfig=n}},{key:"bindEvent",value:function(){var n=this,i=!1;this.editor.editor.on("change",function(u,d){i=!0,n.onCodeMirrorChange(u,d)}),this.editor.editor.on("keydown",function(u,d){i=!0,n.enableRelate()&&n.onKeyDown(u,d)}),this.editor.editor.on("cursorActivity",function(){i||n.stopRelate(),i=!1});var o=this.editor.editor.getOption("extraKeys"),s=["Up","Down","Enter"];Wo(s).call(s,function(u){if(typeof o[u]=="function"){var d=o[u];o[u]=function(g){if(n.cursorMove){var m=d.call(g,g);if(m)return m}}}else if(o[u]){if(typeof o[u]=="string"){var f=o[u];o[u]=function(g){n.cursorMove&&n.editor.editor.execCommand(f)}}}else o[u]=function(){if(n.cursorMove)return pVn()}}),this.editor.editor.setOption("extraKeys",o),this.editor.editor.on("scroll",function(u,d){n.searchCache&&n.relocatePanel(n.editor.editor)}),this.onClickPanelItem()}},{key:"onClickPanelItem",value:function(){var n=this;this.tryCreatePanel(),this.$suggesterPanel.addEventListener("click",function(i){var o=function(s,u){var d,f=-1;return Wo(d=s.childNodes).call(d,function(g,m){return g===u?f=m:""}),f}(n.$suggesterPanel,i.target);o>-1&&n.pasteSelectResult(o),n.stopRelate()},!1)}},{key:"showSuggesterPanel",value:function(n){var i=n.left,o=n.top,s=n.items;this.tryCreatePanel(),!this.$suggesterPanel&&G5()&&(document.body.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=document.querySelector(".cherry-suggester-panel")),this.updatePanel(s),this.$suggesterPanel.style.left="".concat(i,"px"),this.$suggesterPanel.style.top="".concat(o,"px"),this.$suggesterPanel.style.display="block",this.$suggesterPanel.style.position="absolute",this.$suggesterPanel.style.zIndex="100"}},{key:"hideSuggesterPanel",value:function(){this.tryCreatePanel(),this.$suggesterPanel&&(this.$suggesterPanel.style.display="none")}},{key:"updatePanel",value:function(n){var i=this;this.tryCreatePanel();var o=Ws(n).call(n,function(u,d){if(Uc(u)==="object"&&u!==null){var f,g=u.label;return u!=null&&u.icon&&(g=St(f='')).call(f,g)),i.renderPanelItem(g,d===0)}return i.renderPanelItem(u,d===0)}).join(""),s=this.suggesterConfig[this.keyword];s&&typeof s.suggestListRender=="function"&&(o=s.suggestListRender.call(this,n)||o),this.$suggesterPanel.innerHTML="",typeof o=="string"?this.$suggesterPanel.innerHTML=o:J5(o)&&o.length>0?Wo(o).call(o,function(u){i.$suggesterPanel.appendChild(u)}):Uc(o)==="object"&&o.nodeType===1&&this.$suggesterPanel.appendChild(o)}},{key:"renderPanelItem",value:function(n,i){return i?'
    '.concat(n,"
    "):'
    '.concat(n,"
    ")}},{key:"createDom",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";this.template||(this.template=document.createElement("div")),this.template.innerHTML=Ra(n).call(n);var i=document.createDocumentFragment();return Ws(Array.prototype).call(this.template.childNodes,function(o,s){i.appendChild(o)}),i}},{key:"relocatePanel",value:function(n){var i=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(i||(i=document.querySelector(".CodeMirror-selected")),!i)return!1;var o=n.getCursor(),s=n.lineInfo(o.line).handle.height,u=i.getBoundingClientRect(),d=u.top+s,f=u.left;this.showSuggesterPanel({left:f,top:d,items:this.optionList})}},{key:"getCursorPos",value:function(n){var i=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(!i)return null;var o=n.getCursor(),s=n.lineInfo(o.line).handle.height,u=i.getBoundingClientRect(),d=u.top+s;return{left:u.left,top:d}}},{key:"startRelate",value:function(n,i,o){this.cursorFrom=o,this.keyword=i,this.searchCache=!0,this.relocatePanel(n)}},{key:"stopRelate",value:function(){this.hideSuggesterPanel(),this.cursorFrom=null,this.cursorTo=null,this.keyword="",this.searchKeyCache=[],this.searchCache=!1,this.cursorMove=!0,this.optionList=[]}},{key:"pasteSelectResult",value:function(n,i){if(this.cursorTo&&this.cursorTo!==this.cursorFrom||(this.cursorTo=JSON.parse(QYe(this.cursorFrom))),this.cursorTo){this.cursorTo.ch+=1;var o=this.cursorFrom,s=this.cursorTo;if(this.optionList[n]){var u="";if(Uc(this.optionList[n])==="object"&&this.optionList[n]!==null&&typeof this.optionList[n].value=="string")u=this.optionList[n].value;else if(Uc(this.optionList[n])==="object"&&this.optionList[n]!==null&&typeof this.optionList[n].value=="function")u=this.optionList[n].value();else if(typeof this.optionList[n]=="string")u="".concat(this.optionList[n]," ");else{var d;u=St(d=" ".concat(this.keyword)).call(d,this.optionList[n]," ")}if(u&&this.editor.editor.replaceRange(u,o,s),this.optionList[n].goLeft){var f=this.editor.editor.getCursor();this.editor.editor.setCursor(f.line,f.ch-this.optionList[n].goLeft)}if(this.optionList[n].selection){var g=this.editor.editor.getCursor().line,m=this.editor.editor.getCursor().ch;this.editor.editor.setSelection({line:g,ch:m-this.optionList[n].selection.from},{line:g,ch:m-this.optionList[n].selection.to})}}}}},{key:"findSelectedItemIndex",value:function(){return O3e(Array.prototype).call(this.$suggesterPanel.childNodes,function(n){return n.classList.contains("cherry-suggester-panel__item--selected")})}},{key:"enableRelate",value:function(){return this.searchCache}},{key:"onCodeMirrorChange",value:function(n,i){var o=this,s=i.text,u=i.from,d=i.to,f=i.origin,g=s.length===1?s[0]:"";if(!this.enableRelate()&&this.suggesterConfig[g]&&this.startRelate(n,g,u),this.enableRelate()&&(g||f==="+delete")){var m;if(this.cursorTo=d,g)this.searchKeyCache.push(g);else if(f==="+delete"&&(this.searchKeyCache.pop(),this.searchKeyCache.length===0))return void this.stopRelate();typeof((m=this.suggesterConfig[this.keyword])===null||m===void 0?void 0:m.suggestList)=="function"&&this.suggesterConfig[this.keyword].suggestList(this.searchKeyCache.join(""),function(b){b!==!1?(o.optionList=b&&b.length?b:[],o.updatePanel(o.optionList)):o.stopRelate()})}}},{key:"onKeyDown",value:function(n,i){var o,s=this;if(this.tryCreatePanel(),!this.$suggesterPanel)return!1;var u=i.keyCode;if(F3e(o=[38,40]).call(o,u)){if(this.optionList.length===0)return void gA(function(){s.stopRelate()},0);this.cursorMove=!1;var d=this.$suggesterPanel.querySelector(".cherry-suggester-panel__item--selected"),f=null;u!==38||d.previousElementSibling?u!==40||d.nextElementSibling?u===38?f=d.previousElementSibling:u===40&&(f=d.nextElementSibling):f=this.$suggesterPanel.firstElementChild:f=this.$suggesterPanel.lastElementChild,d.classList.remove("cherry-suggester-panel__item--selected"),f.classList.add("cherry-suggester-panel__item--selected")}else u===13?(i.stopPropagation(),this.cursorMove=!1,this.pasteSelectResult(this.findSelectedItemIndex(),i),n.focus(),gA(function(){s.stopRelate()},0)):u!==27&&u!==37&&u!==39||(i.stopPropagation(),n.focus(),gA(function(){s.stopRelate()},0))}}]),t}();function bVn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var vZt=function(t){Io(i,Up);var n=bVn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"makeHtml",value:function(o){return this.test(o)?o.replace(this.RULE.reg,"$1$2$3$4"):o}},{key:"rule",value:function(){var o={begin:"(^| )\\{",end:"\\}( |$)",content:`([^ +]+?)\\|([^ +]+?)`};return o.reg=new RegExp(o.begin+o.content+o.end,"g"),o}}]),i}();function yVn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(vZt,"HOOK_NAME","ruby");var bZt=function(t){Io(i,_g);var n=yVn(i);function i(o){var s;return vi(this,i),(s=n.call(this,{needCache:!0})).initBrReg(o.globalConfig.classicBr),s}return bi(i,[{key:"makeHtml",value:function(o,s){var u=this;return o.replace(this.RULE.reg,function(d,f,g,m){var b,w,C,T,k,$=u.getLineCount(d,f),O=u.$engine.md5(d),B=u.$getPanelInfo(g,m,s),P=B.title,N=B.body,L=B.appendStyle,R=B.className;return gQ(d,u.pushCache(St(b=St(w=St(C=St(T=St(k='
    ")).call(w,P)).call(b,N,"
    "),O,$))})}},{key:"$getClassByType",value:function(o){return/(left|right|center)/i.test(o)?"cherry-text-align cherry-text-align__".concat(o):"cherry-panel cherry-panel__".concat(o)}},{key:"$getPanelInfo",value:function(o,s,u){var d,f=this,g={type:this.$getTargetType(o),title:u(this.$getTitle(o)).html,body:s,appendStyle:"",className:""};g.className=this.$getClassByType(g.type),/(left|right|center)/i.test(g.type)&&(g.appendStyle='style="text-align:'.concat(g.type,';"')),g.title=St(d='
    ')).call(d,g.title,"
    ");var m=function(w){var C,T;if(Ra(w).call(w)==="")return"";var k=u(w).html,$="p";return new RegExp("<(".concat(Gse,")[^>]*>"),"i").test(k)&&($="div"),St(C=St(T="<".concat($,">")).call(T,f.$cleanParagraph(k),"")},b="";return b=this.isContainsCache(g.body)?this.makeExcludingCached(g.body,m):m(g.body),g.body='
    '.concat(b,"
    "),g}},{key:"$getTitle",value:function(o){var s=Ra(o).call(o);return/\s/.test(s)?s.replace(/[^\s]+\s/,""):""}},{key:"$getTargetType",value:function(o){var s=/\s/.test(Ra(o).call(o))?Ra(o).call(o).replace(/\s.*$/,""):o;switch(Ra(s).call(s).toLowerCase()){case"primary":case"p":default:return"primary";case"info":case"i":return"info";case"warning":case"w":return"warning";case"danger":case"d":return"danger";case"success":case"s":return"success";case"right":case"r":return"right";case"center":case"c":return"center";case"left":case"l":return"left"}}},{key:"rule",value:function(){return WYe()}}]),i}();function wVn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(bZt,"HOOK_NAME","panel");var yZt=function(t){Io(i,_g);var n=wVn(i);function i(){return vi(this,i),n.call(this,{needCache:!0})}return bi(i,[{key:"makeHtml",value:function(o,s){var u=this;return o.replace(this.RULE.reg,function(d,f,g,m,b){var w,C,T,k=u.getLineCount(d,f),$=u.$engine.md5(d),O=u.$getDetailInfo(g,m,b,s),B=O.type,P=O.html;return gQ(d,u.pushCache(St(w=St(C=St(T='
    ')).call(w,P,"
    "),$,k))})}},{key:"$getDetailInfo",value:function(o,s,u,d){var f=this,g=/\n\s*(\+\+|\+\+-)\s*[^\n]+\n/.test(u)?"multiple":"single",m=u.split(/\n\s*(\+\+[-]{0,1}\s*[^\n]+)\n/),b=o==="-",w=s,C="";return g==="multiple"?Wo(m).call(m,function(T){if(/\+\+/.test(T))return b=/\+\+-/.test(T),w=T.replace(/\+\+[-]{0,1}\s*([^\n]+)$/,"$1"),!0;C+=f.$getDetailHtml(b,w,T,d)}):C=this.$getDetailHtml(b,w,u,d),{type:g,html:C}}},{key:"$getDetailHtml",value:function(o,s,u,d){var f=this,g="
    "),m=function(w){var C,T;if(Ra(w).call(w)==="")return"";var k=d(w).html,$="p";return new RegExp("<(".concat(Gse,")[^>]*>"),"i").test(k)&&($="div"),St(C=St(T="<".concat($,">")).call(T,f.$cleanParagraph(k),"")};g+="".concat(d(s).html,"");var b="";return b=this.isContainsCache(u)?this.makeExcludingCached(u,m):m(u),g+='
    '.concat(b,"
    "),g+="
    "}},{key:"rule",value:function(){return IJt()}}]),i}();Ni(yZt,"HOOK_NAME","detail");var LFt=[HW,VJt,qYe,aZt,dZt,cZt,uZt,qJt,ZJt,JJt,rZt,lZt,YJt,eZt,nZt,yZt,bZt,GJt,hZt,tZt,WJt,iZt,XJt,QJt,HJt,jJt,KJt,zJt,vZt,UJt,fZt,gZt,mZt],xVn=function(){function t(n,i){vi(this,t),this.$cherry=i,Dy(this,"_cherry",{get:function(){return Py.warn("`_engine._cherry` is deprecated. Use `$engine.$cherry` instead."),this.$cherry}}),this.initMath(n),this.$configInit(n),this.hookCenter=new eKn(LFt,n,i),this.hooks=this.hookCenter.getHookList(),this.md5Cache={},this.md5StrMap={},this.markdownParams=n,this.currentStrMd5=[],this.htmlWhiteListAppend=n.engine.global.htmlWhiteList}return bi(t,[{key:"initMath",value:function(n){var i=n.externals,o=n.engine.syntax,s=o.mathBlock.plugins;if(G5()&&(o.mathBlock.src||o.inlineMath.src)&&!i.MathJax&&!window.MathJax){(function(d){if(G5()){var f=d?["input/asciimath","[tex]/noerrors","[tex]/cancel","[tex]/color","[tex]/boldsymbol"]:[];window.MathJax={startup:{elements:[".Cherry-Math",".Cherry-InlineMath"],typeset:!0},tex:{inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],tags:"ams",packages:{"[+]":["noerrors","cancel","color"]},macros:{bm:["{\\boldsymbol{#1}}",1]}},options:{skipHtmlTags:["script","noscript","style","textarea","pre","code","a"],ignoreHtmlClass:"tex2jax_ignore",processHtmlClass:"tex2jax_process",enableMenu:!1},loader:{load:f}}}})(s);var u=document.createElement("script");u.src=o.mathBlock.src?o.mathBlock.src:o.inlineMath.src,u.async=!0,u.src&&document.head.appendChild(u)}}},{key:"$configInit",value:function(n){if(n.hooksConfig&&$H(n.hooksConfig.hooksList,Array))for(var i=0;i>>0:d>>>0;(g=u.exec(s))&&!((m=g.index+g[0].length)>T&&(w.push(s.slice(T,g.index)),!o&&g.length>1&&g[0].replace(f,function(){for(var k=1;k1&&g.index=d));)u.lastIndex===g.index&&u.lastIndex++;return T===s.length?!b&&u.test("")||w.push(""):w.push(s.slice(T)),w.length>d?w.slice(0,d):w},n}(),_Vn=/([\.#]?[a-zA-Z0-9\u007F-\uFFFF_:-]+)/,$Vn=/^\.|#/,IVn=function(t,n){if(!t)return"DIV";var i,o,s,u,d=!n.hasOwnProperty("id"),f=BVn(t,_Vn),g=null;for($Vn.test(f[1])&&(g="DIV"),u=0;u=X.length?H.length:X[ue],ke=0;ke=Se&&V.push(Be)}for(var we,Ce=V.slice(),Qe=0,Ve=[],ze=[],ht=0;htO?$:O,P=0;P>0],u===d)return s>=n&&s<=i;if(si))return!0;d=o-1}}return!1}function UVn(t,n){return t>n?1:-1}var zVn=function(t,n){return O7(t)&&O7(n)?"name"in t&&"name"in n?t.id===n.id:t.init===n.init:!1},YFt=function(t,n,i){var o=t.type,s=t.vNode,u=t.patch;switch(o){case $h.REMOVE:return function(d,f){var g=d.parentNode;return g&&g.removeChild(d),qFt(d,f),null}(n,s);case $h.INSERT:return function(d,f,g){var m=g.render(f,g);return d&&d.appendChild(m),d}(n,u,i);case $h.VTEXT:return function(d,f,g,m){var b;if(d.nodeType===3)d.replaceData(0,d.length,g.text),b=d;else{var w=d.parentNode;b=m.render(g,m),w&&b!==d&&w.replaceChild(b,d)}return b}(n,0,u,i);case $h.WIDGET:return function(d,f,g,m){var b,w=zVn(f,g);b=w?g.update(f,d)||d:m.render(g,m);var C=d.parentNode;return C&&b!==d&&C.replaceChild(b,d),w||qFt(d,f),b}(n,s,u,i);case $h.VNODE:return function(d,f,g,m){var b=d.parentNode,w=m.render(g,m);return b&&w!==d&&b.replaceChild(w,d),w}(n,0,u,i);case $h.ORDER:return function(d,f){for(var g,m,b,w=d.childNodes,C={},T=0;T=k++?null:w[b.to])}(n,u),n;case $h.PROPS:return _Zt(n,u,s.properties),n;case $h.THUNK:return function(d,f){return d&&f&&d!==f&&d.parentNode&&d.parentNode.replaceChild(f,d),f}(n,i.patch(n,u,i));default:return n}};function qFt(t,n){typeof n.destroy=="function"&&O7(n)&&n.destroy(t)}var KVn=function t(n,i,o){return(o=o||{}).patch=o.patch&&o.patch!==t?o.patch:VVn,o.render=o.render||HVn,o.patch(n,i,o)};function VVn(t,n,i){var o=function(g){var m=[];for(var b in g)b!=="a"&&m.push(Number(b));return m}(n);if(o.length===0)return t;var s=jVn(t,n.a,o),u=t.ownerDocument;i.document||u===BZt||(i.document=u);for(var d=0;d=s&&$>=o)return f[g]=m,this.$backtraceSnakes(f,o,s,g)}f[g]=m}return[]}},{key:"$backtraceSnakes",value:function(n,i,o,s){for(var u=[],d={x:o,y:i},f=s;f>0;f--){var g=n[f],m=n[f-1],b=d.x-d.y,w=g[b],C=b===-f||b!==f&&m[b+1]>m[b-1],T=C?b+1:b-1,k=m[T],$=k-T,O=C?k:k+1;u.unshift({xStart:k,xMid:O,xEnd:w}),d.x=k,d.y=$}return u}},{key:"assembleResult",value:function(n,i,o){var s,u=this,d="color: gray",f="",g=[],m=0,b=[],w={},C={},T={};return Wo(n).call(n,function(k,$){var O=k.xStart;if($===0&&k.xStart!==0)for(var B=0;B>1,t+=mW(t/n);t>455;)t=mW(t/35),o+=36;return mW(o+36*t/(t+38))},rWn=function(t){var n=[];t=function(B){for(var P=[],N=0,L=B.length;N=55296&&R<=56319&&N=u&&omW((Sje-d)/w))throw ZFt(JFt);for(d+=(b-u)*w,u=b,i=0;iSje)throw ZFt(JFt);if(o==u){for(var C=d,T=36;;){var k=T<=f?1:T>=f+26?26:T-f;if(C0;)t[o]=t[--o];o!==u++&&(t[o]=i)}return t},aWn=function(t,n,i,o){for(var s=n.length,u=i.length,d=0,f=0;d0?arguments[0]:void 0))},ioe=H3e.prototype;if(_Ve(ioe,{append:function(t,n){a$(arguments.length,2);var i=m7(this);UH(i.entries,{key:Wu(t),value:Wu(n)}),i.updateURL()},delete:function(t){a$(arguments.length,1);for(var n=m7(this),i=n.entries,o=Wu(t),s=0;si.key?1:-1}),t.updateURL()},forEach:function(t){for(var n,i=m7(this).entries,o=mA(t,arguments.length>1?arguments[1]:void 0),s=0;s1?uNt(arguments[1]):{})}}),ah(R3e)){var Bje=function(t){return oG(this,Eje),new R3e(t,arguments.length>1?uNt(arguments[1]):{})};Eje.constructor=Bje,Bje.prototype=Eje,Ho({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Bje})}}var A6,NZt={URLSearchParams:H3e,getState:m7},SWn=Qqt.codeAt,TWn=sb.set,Q3e=sb.getterFor("URL"),EWn=NZt.URLSearchParams,kWn=NZt.getState,Cie=Fi.URL,NVe=Fi.TypeError,i2e=Fi.parseInt,BWn=Math.floor,dNt=Math.pow,k6=Ta("".charAt),g7=Ta(/./.exec),ooe=Ta([].join),_Wn=Ta(1 .toString),$Wn=Ta([].pop),HV=Ta([].push),hNt=Ta("".replace),IWn=Ta([].shift),OWn=Ta("".split),aoe=Ta("".slice),Mye=Ta("".toLowerCase),MWn=Ta([].unshift),_je="Invalid scheme",oH="Invalid host",fNt="Invalid port",RZt=/[a-z]/i,PWn=/[\d+-.a-z]/i,$je=/\d/,LWn=/^0x/i,DWn=/^[0-7]+$/,FWn=/^\d+$/,gNt=/^[\da-f]+$/i,NWn=/[\0\t\n\r #%/:<>?@[\\\]^|]/,RWn=/[\0\t\n\r #/:<>?@[\\\]^|]/,HWn=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,QWn=/[\t\n\r]/g,Sie=function(t){var n,i,o,s;if(typeof t=="number"){for(n=[],i=0;i<4;i++)MWn(n,t%256),t=BWn(t/256);return ooe(n,".")}if(typeof t=="object"){for(n="",o=function(u){for(var d=null,f=1,g=null,m=0,b=0;b<8;b++)u[b]!==0?(m>f&&(d=g,f=m),g=null,m=0):(g===null&&(g=b),++m);return m>f&&(d=g,f=m),d}(t),i=0;i<8;i++)s&&t[i]===0||(s&&(s=!1),o===i?(n+=i?":":"::",s=!0):(n+=_Wn(t[i],16),i<7&&(n+=":")));return"["+n+"]"}return t},Pye={},HZt=Dae({},Pye,{" ":1,'"':1,"<":1,">":1,"`":1}),QZt=Dae({},HZt,{"#":1,"?":1,"{":1,"}":1}),Ije=Dae({},QZt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),FP=function(t,n){var i=SWn(t,0);return i>32&&i<127&&!Gl(n,t)?t:encodeURIComponent(t)},o2e={ftp:21,file:null,http:80,https:443,ws:80,wss:443},soe=function(t,n){var i;return t.length==2&&g7(RZt,k6(t,0))&&((i=k6(t,1))==":"||!n&&i=="|")},pNt=function(t){var n;return t.length>1&&soe(aoe(t,0,2))&&(t.length==2||(n=k6(t,2))==="/"||n==="\\"||n==="?"||n==="#")},jWn=function(t){return t==="."||Mye(t)==="%2e"},Oje={},ANt={},Mje={},mNt={},vNt={},Pje={},bNt={},yNt={},a2e={},s2e={},Lje={},Dje={},Fje={},Nje={},wNt={},Rje={},QV={},f9={},xNt={},aH={},j_={},eqe=function(t,n,i){var o,s,u,d=Wu(t);if(n){if(s=this.parse(d))throw NVe(s);this.searchParams=null}else{if(i!==void 0&&(o=new eqe(i,!0)),s=this.parse(d,null,o))throw NVe(s);(u=kWn(new EWn)).bindURL(this),this.searchParams=u}};eqe.prototype={type:"URL",parse:function(t,n,i){var o,s,u,d,f,g=this,m=n||Oje,b=0,w="",C=!1,T=!1,k=!1;for(t=Wu(t),n||(g.scheme="",g.username="",g.password="",g.host=null,g.port=null,g.path=[],g.query=null,g.fragment=null,g.cannotBeABaseURL=!1,t=hNt(t,HWn,"")),t=hNt(t,QWn,""),o=vH(t);b<=o.length;){switch(s=o[b],m){case Oje:if(!s||!g7(RZt,s)){if(n)return _je;m=Mje;continue}w+=Mye(s),m=ANt;break;case ANt:if(s&&(g7(PWn,s)||s=="+"||s=="-"||s=="."))w+=Mye(s);else{if(s!=":"){if(n)return _je;w="",m=Mje,b=0;continue}if(n&&(g.isSpecial()!=Gl(o2e,w)||w=="file"&&(g.includesCredentials()||g.port!==null)||g.scheme=="file"&&!g.host))return;if(g.scheme=w,n)return void(g.isSpecial()&&o2e[g.scheme]==g.port&&(g.port=null));w="",g.scheme=="file"?m=Nje:g.isSpecial()&&i&&i.scheme==g.scheme?m=mNt:g.isSpecial()?m=yNt:o[b+1]=="/"?(m=vNt,b++):(g.cannotBeABaseURL=!0,HV(g.path,""),m=xNt)}break;case Mje:if(!i||i.cannotBeABaseURL&&s!="#")return _je;if(i.cannotBeABaseURL&&s=="#"){g.scheme=i.scheme,g.path=I3(i.path),g.query=i.query,g.fragment="",g.cannotBeABaseURL=!0,m=j_;break}m=i.scheme=="file"?Nje:Pje;continue;case mNt:if(s!="/"||o[b+1]!="/"){m=Pje;continue}m=a2e,b++;break;case vNt:if(s=="/"){m=s2e;break}m=f9;continue;case Pje:if(g.scheme=i.scheme,s==A6)g.username=i.username,g.password=i.password,g.host=i.host,g.port=i.port,g.path=I3(i.path),g.query=i.query;else if(s=="/"||s=="\\"&&g.isSpecial())m=bNt;else if(s=="?")g.username=i.username,g.password=i.password,g.host=i.host,g.port=i.port,g.path=I3(i.path),g.query="",m=aH;else{if(s!="#"){g.username=i.username,g.password=i.password,g.host=i.host,g.port=i.port,g.path=I3(i.path),g.path.length--,m=f9;continue}g.username=i.username,g.password=i.password,g.host=i.host,g.port=i.port,g.path=I3(i.path),g.query=i.query,g.fragment="",m=j_}break;case bNt:if(!g.isSpecial()||s!="/"&&s!="\\"){if(s!="/"){g.username=i.username,g.password=i.password,g.host=i.host,g.port=i.port,m=f9;continue}m=s2e}else m=a2e;break;case yNt:if(m=a2e,s!="/"||k6(w,b+1)!="/")continue;b++;break;case a2e:if(s!="/"&&s!="\\"){m=s2e;continue}break;case s2e:if(s=="@"){C&&(w="%40"+w),C=!0,u=vH(w);for(var $=0;$65535)return fNt;g.port=g.isSpecial()&&P===o2e[g.scheme]?null:P,w=""}if(n)return;m=QV;continue}return fNt}w+=s;break;case Nje:if(g.scheme="file",s=="/"||s=="\\")m=wNt;else{if(!i||i.scheme!="file"){m=f9;continue}if(s==A6)g.host=i.host,g.path=I3(i.path),g.query=i.query;else if(s=="?")g.host=i.host,g.path=I3(i.path),g.query="",m=aH;else{if(s!="#"){pNt(ooe(I3(o,b),""))||(g.host=i.host,g.path=I3(i.path),g.shortenPath()),m=f9;continue}g.host=i.host,g.path=I3(i.path),g.query=i.query,g.fragment="",m=j_}}break;case wNt:if(s=="/"||s=="\\"){m=Rje;break}i&&i.scheme=="file"&&!pNt(ooe(I3(o,b),""))&&(soe(i.path[0],!0)?HV(g.path,i.path[0]):g.host=i.host),m=f9;continue;case Rje:if(s==A6||s=="/"||s=="\\"||s=="?"||s=="#"){if(!n&&soe(w))m=f9;else if(w==""){if(g.host="",n)return;m=QV}else{if(d=g.parseHost(w))return d;if(g.host=="localhost"&&(g.host=""),n)return;w="",m=QV}continue}w+=s;break;case QV:if(g.isSpecial()){if(m=f9,s!="/"&&s!="\\")continue}else if(n||s!="?")if(n||s!="#"){if(s!=A6&&(m=f9,s!="/"))continue}else g.fragment="",m=j_;else g.query="",m=aH;break;case f9:if(s==A6||s=="/"||s=="\\"&&g.isSpecial()||!n&&(s=="?"||s=="#")){if((f=Mye(f=w))===".."||f==="%2e."||f===".%2e"||f==="%2e%2e"?(g.shortenPath(),s=="/"||s=="\\"&&g.isSpecial()||HV(g.path,"")):jWn(w)?s=="/"||s=="\\"&&g.isSpecial()||HV(g.path,""):(g.scheme=="file"&&!g.path.length&&soe(w)&&(g.host&&(g.host=""),w=k6(w,0)+":"),HV(g.path,w)),w="",g.scheme=="file"&&(s==A6||s=="?"||s=="#"))for(;g.path.length>1&&g.path[0]==="";)IWn(g.path);s=="?"?(g.query="",m=aH):s=="#"&&(g.fragment="",m=j_)}else w+=FP(s,QZt);break;case xNt:s=="?"?(g.query="",m=aH):s=="#"?(g.fragment="",m=j_):s!=A6&&(g.path[0]+=FP(s,Pye));break;case aH:n||s!="#"?s!=A6&&(s=="'"&&g.isSpecial()?g.query+="%27":g.query+=s=="#"?"%23":FP(s,Pye)):(g.fragment="",m=j_);break;case j_:s!=A6&&(g.fragment+=FP(s,HZt))}b++}},parseHost:function(t){var n,i,o;if(k6(t,0)=="["){if(k6(t,t.length-1)!="]"||(n=function(s){var u,d,f,g,m,b,w,C=[0,0,0,0,0,0,0,0],T=0,k=null,$=0,O=function(){return k6(s,$)};if(O()==":"){if(k6(s,1)!=":")return;$+=2,k=++T}for(;O();){if(T==8)return;if(O()!=":"){for(u=d=0;d<4&&g7(gNt,O());)u=16*u+i2e(O(),16),$++,d++;if(O()=="."){if(d==0||($-=d,T>6))return;for(f=0;O();){if(g=null,f>0){if(!(O()=="."&&f<4))return;$++}if(!g7($je,O()))return;for(;g7($je,O());){if(m=i2e(O(),10),g===null)g=m;else{if(g==0)return;g=10*g+m}if(g>255)return;$++}C[T]=256*C[T]+g,++f!=2&&f!=4||T++}if(f!=4)return;break}if(O()==":"){if($++,!O())return}else if(O())return;C[T++]=u}else{if(k!==null)return;$++,k=++T}}if(k!==null)for(b=T-k,T=7;T!=0&&b>0;)w=C[T],C[T--]=C[k+b-1],C[k+--b]=w;else if(T!=8)return;return C}(aoe(t,1,-1)),!n))return oH;this.host=n}else if(this.isSpecial()){if(t=function(s){var u,d,f=[],g=eWn(ZVn(tWn(s),IZt,"."),".");for(u=0;u4)return s;for(d=[],f=0;f1&&k6(g,0)=="0"&&(m=g7(LWn,g)?16:8,g=aoe(g,m==8?1:2)),g==="")b=0;else{if(!g7(m==10?FWn:m==8?DWn:gNt,g))return s;b=i2e(g,m)}HV(d,b)}for(f=0;f=dNt(256,5-u))return null}else if(b>255)return null;for(w=$Wn(d),f=0;f1?arguments[1]:void 0,o=TWn(n,new eqe(t,!1,i));Xd||(n.href=o.serialize(),n.origin=o.getOrigin(),n.protocol=o.getProtocol(),n.username=o.getUsername(),n.password=o.getPassword(),n.host=o.getHost(),n.hostname=o.getHostname(),n.port=o.getPort(),n.pathname=o.getPathname(),n.search=o.getSearch(),n.searchParams=o.getSearchParams(),n.hash=o.getHash())},Ey=CX.prototype,m6=function(t,n){return{get:function(){return Q3e(this)[t]()},set:n&&function(i){return Q3e(this)[n](i)},configurable:!0,enumerable:!0}};if(Xd&&(p6(Ey,"href",m6("serialize","setHref")),p6(Ey,"origin",m6("getOrigin")),p6(Ey,"protocol",m6("getProtocol","setProtocol")),p6(Ey,"username",m6("getUsername","setUsername")),p6(Ey,"password",m6("getPassword","setPassword")),p6(Ey,"host",m6("getHost","setHost")),p6(Ey,"hostname",m6("getHostname","setHostname")),p6(Ey,"port",m6("getPort","setPort")),p6(Ey,"pathname",m6("getPathname","setPathname")),p6(Ey,"search",m6("getSearch","setSearch")),p6(Ey,"searchParams",m6("getSearchParams")),p6(Ey,"hash",m6("getHash","setHash"))),Q3(Ey,"toJSON",function(){return Q3e(this).serialize()},{enumerable:!0}),Q3(Ey,"toString",function(){return Q3e(this).serialize()},{enumerable:!0}),Cie){var CNt=Cie.createObjectURL,SNt=Cie.revokeObjectURL;CNt&&Q3(CX,"createObjectURL",mA(CNt,Cie)),SNt&&Q3(CX,"revokeObjectURL",mA(SNt,Cie))}L$(CX,"URL"),Ho({global:!0,constructor:!0,forced:!LVe,sham:!Xd},{URL:CX});var vW=jc.URL,UWn=Jc(function(t,n){t.exports=function(){var i=function(ve,fe){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ye,be){ye.__proto__=be}||function(ye,be){for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&(ye[He]=be[He])},i(ve,fe)};function o(ve,fe){if(typeof fe!="function"&&fe!==null)throw new TypeError("Class extends value "+String(fe)+" is not a constructor or null");function ye(){this.constructor=ve}i(ve,fe),ve.prototype=fe===null?Object.create(fe):(ye.prototype=fe.prototype,new ye)}var s=function(){return s=Object.assign||function(ve){for(var fe,ye=1,be=arguments.length;ye0&&He[He.length-1])||Hn[0]!==6&&Hn[0]!==2)){Tt=0;continue}if(Hn[0]===3&&(!He||Hn[1]>He[0]&&Hn[1]=55296&&He<=56319&&ye>10),Tt%1024+56320)),(He+1===ye||be.length>16384)&&(ut+=String.fromCharCode.apply(String,be),be.length=0)}return ut},T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k=typeof Uint8Array>"u"?[]:new Uint8Array(256),$=0;$"u"?[]:new Uint8Array(256),P=0;P>4,Wn[Yt++]=(15&be)<<4|He>>2,Wn[Yt++]=(3&He)<<6|63&ut;return Hn},L=function(ve){for(var fe=ve.length,ye=[],be=0;be>H,re=(1<>H)+32,V=65536>>Q,ue=(1<=0){if(fe<55296||fe>56319&&fe<=65535)return ye=((ye=this.index[fe>>H])<>H)])<>Q),ye=this.index[ye],ye+=fe>>H&ue,ye=((ye=this.index[ye])<"u"?[]:new Uint8Array(256),ke=0;keBe?(He.push(!0),tn-=Be):He.push(!1),["normal","auto","loose"].indexOf(fe)!==-1&&[8208,8211,12316,12448].indexOf(ut)!==-1)return be.push(Tt),ye.push(_t);if(tn===Ve||tn===rt){if(Tt===0)return be.push(Tt),ye.push(or);var Yt=ye[Tt-1];return Vn.indexOf(Yt)===-1?(be.push(be[Tt-1]),ye.push(Yt)):(be.push(Tt),ye.push(or))}return be.push(Tt),tn===pn?ye.push(fe==="strict"?Ht:_n):tn===go||tn===vn?ye.push(or):tn===pr?ut>=131072&&ut<=196605||ut>=196608&&ut<=262141?ye.push(_n):ye.push(or):void ye.push(tn)}),[be,ye,He]},Qi=function(ve,fe,ye,be){var He=be[ye];if(Array.isArray(ve)?ve.indexOf(He)!==-1:ve===He)for(var ut=ye;ut<=be.length;){if((Yt=be[++ut])===fe)return!0;if(Yt!==Ge)break}if(He===Ge)for(ut=ye;ut>0;){var Tt=be[--ut];if(Array.isArray(ve)?ve.indexOf(Tt)!==-1:ve===Tt)for(var tn=ye;tn<=be.length;){var Yt;if((Yt=be[++tn])===fe)return!0;if(Yt!==Ge)break}if(Tt!==Ge)break}return!1},Fa=function(ve,fe){for(var ye=ve;ye>=0;){var be=fe[ye];if(be!==Ge)return be;ye--}return 0},Oc=function(ve,fe,ye,be,He){if(ye[be]===0)return Ti;var ut=be-1;if(Array.isArray(He)&&He[ut]===!0)return Ti;var Tt=ut-1,tn=ut+1,Yt=fe[ut],Hn=Tt>=0?fe[Tt]:0,Wn=fe[tn];if(Yt===Ce&&Wn===Qe)return Ti;if(Ba.indexOf(Yt)!==-1)return aa;if(Ba.indexOf(Wn)!==-1||Pa.indexOf(Wn)!==-1)return Ti;if(Fa(ut,fe)===nt)return Ji;if(qo.get(ve[ut])===rt||(Yt===Mn||Yt===dr)&&qo.get(ve[tn])===rt||Yt===ht||Wn===ht||Yt===lt||[Ge,De,je].indexOf(Yt)===-1&&Wn===lt||[Fe,vt,st,Vt,fn].indexOf(Wn)!==-1||Fa(ut,fe)===It||Qi(Lt,It,ut,fe)||Qi([Fe,vt],Ht,ut,fe)||Qi(gt,gt,ut,fe))return Ti;if(Yt===Ge)return Ji;if(Yt===Lt||Wn===Lt)return Ti;if(Wn===_t||Yt===_t)return Ji;if([De,je,Ht].indexOf(Wn)!==-1||Yt===it||Hn===An&&Ii.indexOf(Yt)!==-1||Yt===fn&&Wn===An||Wn===Ot||da.indexOf(Wn)!==-1&&Yt===Ct||da.indexOf(Yt)!==-1&&Wn===Ct||Yt===wt&&[_n,Mn,dr].indexOf(Wn)!==-1||[_n,Mn,dr].indexOf(Yt)!==-1&&Wn===kt||da.indexOf(Yt)!==-1&&ls.indexOf(Wn)!==-1||ls.indexOf(Yt)!==-1&&da.indexOf(Wn)!==-1||[wt,kt].indexOf(Yt)!==-1&&(Wn===Ct||[It,je].indexOf(Wn)!==-1&&fe[tn+1]===Ct)||[It,je].indexOf(Yt)!==-1&&Wn===Ct||Yt===Ct&&[Ct,fn,Vt].indexOf(Wn)!==-1)return Ti;if([Ct,fn,Vt,Fe,vt].indexOf(Wn)!==-1)for(var Kr=ut;Kr>=0;){if((Wr=fe[Kr])===Ct)return Ti;if([fn,Vt].indexOf(Wr)===-1)break;Kr--}if([wt,kt].indexOf(Wn)!==-1)for(Kr=[Fe,vt].indexOf(Yt)!==-1?Tt:ut;Kr>=0;){var Wr;if((Wr=fe[Kr])===Ct)return Ti;if([fn,Vt].indexOf(Wr)===-1)break;Kr--}if(yr===Yt&&[yr,cr,jn,$r].indexOf(Wn)!==-1||[cr,jn].indexOf(Yt)!==-1&&[cr,oi].indexOf(Wn)!==-1||[oi,$r].indexOf(Yt)!==-1&&Wn===oi||Qo.indexOf(Yt)!==-1&&[Ot,kt].indexOf(Wn)!==-1||Qo.indexOf(Wn)!==-1&&Yt===wt||da.indexOf(Yt)!==-1&&da.indexOf(Wn)!==-1||Yt===Vt&&da.indexOf(Wn)!==-1||da.concat(Ct).indexOf(Yt)!==-1&&Wn===It&&po.indexOf(ve[tn])===-1||da.concat(Ct).indexOf(Wn)!==-1&&Yt===vt)return Ti;if(Yt===En&&Wn===En){for(var Zi=ye[ut],yo=1;Zi>0&&fe[--Zi]===En;)yo++;if(yo%2!=0)return Ti}return Yt===Mn&&Wn===dr?Ti:Ji},Gs=function(ve,fe){fe||(fe={lineBreak:"normal",wordBreak:"normal"});var ye=za(ve,fe.lineBreak),be=ye[0],He=ye[1],ut=ye[2];fe.wordBreak!=="break-all"&&fe.wordBreak!=="break-word"||(He=He.map(function(tn){return[Ct,or,go].indexOf(tn)!==-1?_n:tn}));var Tt=fe.wordBreak==="keep-all"?ut.map(function(tn,Yt){return tn&&ve[Yt]>=19968&&ve[Yt]<=40959}):void 0;return[be,He,Tt]},ql=function(){function ve(fe,ye,be,He){this.codePoints=fe,this.required=ye===aa,this.start=be,this.end=He}return ve.prototype.slice=function(){return C.apply(void 0,this.codePoints.slice(this.start,this.end))},ve}(),Ec=function(ve,fe){var ye=w(ve),be=Gs(ye,fe),He=be[0],ut=be[1],Tt=be[2],tn=ye.length,Yt=0,Hn=0;return{next:function(){if(Hn>=tn)return{done:!0,value:null};for(var Wn=Ti;Hn=yA&&ve<=57},zc=function(ve){return ve>=55296&&ve<=57343},_f=function(ve){return ec(ve)||ve>=Wp&&ve<=Jo||ve>=t1&&ve<=ph},n1=function(ve){return ve>=t1&&ve<=sv},Mg=function(ve){return ve>=Wp&&ve<=$l},Oh=function(ve){return n1(ve)||Mg(ve)},lp=function(ve){return ve>=jo},Tn=function(ve){return ve===hs||ve===Bs||ve===Ei},mo=function(ve){return Oh(ve)||lp(ve)||ve===zr},Zo=function(ve){return mo(ve)||ec(ve)||ve===Ha},Kc=function(ve){return ve>=e1&&ve<=du||ve===xc||ve>=zl&&ve<=lb||ve===af},Lu=function(ve,fe){return ve===cs&&fe!==hs},Ah=function(ve,fe,ye){return ve===Ha?mo(fe)||Lu(fe,ye):!!mo(ve)||!(ve!==cs||!Lu(ve,fe))},Mh=function(ve,fe,ye){return ve===Ul||ve===Ha?!!ec(fe)||fe===dc&&ec(ye):ec(ve===dc?fe:ve)},lv=function(ve){var fe=0,ye=1;ve[fe]!==Ul&&ve[fe]!==Ha||(ve[fe]===Ha&&(ye=-1),fe++);for(var be=[];ec(ve[fe]);)be.push(ve[fe++]);var He=be.length?parseInt(C.apply(void 0,be),10):0;ve[fe]===dc&&fe++;for(var ut=[];ec(ve[fe]);)ut.push(ve[fe++]);var Tt=ut.length,tn=Tt?parseInt(C.apply(void 0,ut),10):0;ve[fe]!==kn&&ve[fe]!==h2||fe++;var Yt=1;ve[fe]!==Ul&&ve[fe]!==Ha||(ve[fe]===Ha&&(Yt=-1),fe++);for(var Hn=[];ec(ve[fe]);)Hn.push(ve[fe++]);var Wn=Hn.length?parseInt(C.apply(void 0,Hn),10):0;return ye*(He+tn*Math.pow(10,-Tt))*Math.pow(10,Yt*Wn)},F0={type:2},$f={type:3},V6={type:4},Z9={type:13},X7={type:8},tI={type:21},ek={type:9},sx={type:10},tk={type:11},Z3={type:12},nI={type:14},W6={type:23},nk={type:1},rI={type:25},rk={type:24},Ry={type:26},f2={type:27},ik={type:28},Hy={type:29},Qy={type:31},jy={type:32},Vc=function(){function ve(){this._value=[]}return ve.prototype.write=function(fe){this._value=this._value.concat(w(fe))},ve.prototype.read=function(){for(var fe=[],ye=this.consumeToken();ye!==jy;)fe.push(ye),ye=this.consumeToken();return fe},ve.prototype.consumeToken=function(){var fe=this.consumeCodePoint();switch(fe){case Nd:return this.consumeStringToken(Nd);case sh:var ye=this.peekCodePoint(0),be=this.peekCodePoint(1),He=this.peekCodePoint(2);if(Zo(ye)||Lu(be,He)){var ut=Ah(ye,be,He)?is:Zs;return{type:5,value:this.consumeName(),flags:ut}}break;case pl:if(this.peekCodePoint(0)===yu)return this.consumeCodePoint(),Z9;break;case io:return this.consumeStringToken(io);case Ps:return F0;case Sr:return $f;case Ca:if(this.peekCodePoint(0)===yu)return this.consumeCodePoint(),nI;break;case Ul:if(Mh(fe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(fe),this.consumeNumericToken();break;case Gu:return V6;case Ha:var Tt=fe,tn=this.peekCodePoint(0),Yt=this.peekCodePoint(1);if(Mh(Tt,tn,Yt))return this.reconsumeCodePoint(fe),this.consumeNumericToken();if(Ah(Tt,tn,Yt))return this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();if(tn===Ha&&Yt===Nn)return this.consumeCodePoint(),this.consumeCodePoint(),rk;break;case dc:if(Mh(fe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(fe),this.consumeNumericToken();break;case uc:if(this.peekCodePoint(0)===Ca)for(this.consumeCodePoint();;){var Hn=this.consumeCodePoint();if(Hn===Ca&&(Hn=this.consumeCodePoint())===uc)return this.consumeToken();if(Hn===Rd)return this.consumeToken()}break;case Mc:return Ry;case Kh:return f2;case lh:if(this.peekCodePoint(0)===bn&&this.peekCodePoint(1)===Ha&&this.peekCodePoint(2)===Ha)return this.consumeCodePoint(),this.consumeCodePoint(),rI;break;case Cl:var Wn=this.peekCodePoint(0),Kr=this.peekCodePoint(1),Wr=this.peekCodePoint(2);if(Ah(Wn,Kr,Wr))return{type:7,value:this.consumeName()};break;case _a:return ik;case cs:if(Lu(fe,this.peekCodePoint(0)))return this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();break;case zh:return Hy;case lr:if(this.peekCodePoint(0)===yu)return this.consumeCodePoint(),X7;break;case ri:return tk;case qr:return Z3;case ng:case Do:var Zi=this.peekCodePoint(0),yo=this.peekCodePoint(1);return Zi!==Ul||!_f(yo)&&yo!==ti||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();case oo:if(this.peekCodePoint(0)===yu)return this.consumeCodePoint(),ek;if(this.peekCodePoint(0)===oo)return this.consumeCodePoint(),tI;break;case bo:if(this.peekCodePoint(0)===yu)return this.consumeCodePoint(),sx;break;case Rd:return jy}return Tn(fe)?(this.consumeWhiteSpace(),Qy):ec(fe)?(this.reconsumeCodePoint(fe),this.consumeNumericToken()):mo(fe)?(this.reconsumeCodePoint(fe),this.consumeIdentLikeToken()):{type:6,value:C(fe)}},ve.prototype.consumeCodePoint=function(){var fe=this._value.shift();return fe===void 0?-1:fe},ve.prototype.reconsumeCodePoint=function(fe){this._value.unshift(fe)},ve.prototype.peekCodePoint=function(fe){return fe>=this._value.length?-1:this._value[fe]},ve.prototype.consumeUnicodeRangeToken=function(){for(var fe=[],ye=this.consumeCodePoint();_f(ye)&&fe.length<6;)fe.push(ye),ye=this.consumeCodePoint();for(var be=!1;ye===ti&&fe.length<6;)fe.push(ye),ye=this.consumeCodePoint(),be=!0;if(be)return{type:30,start:parseInt(C.apply(void 0,fe.map(function(Tt){return Tt===ti?yA:Tt})),16),end:parseInt(C.apply(void 0,fe.map(function(Tt){return Tt===ti?Jo:Tt})),16)};var He=parseInt(C.apply(void 0,fe),16);if(this.peekCodePoint(0)===Ha&&_f(this.peekCodePoint(1))){this.consumeCodePoint(),ye=this.consumeCodePoint();for(var ut=[];_f(ye)&&ut.length<6;)ut.push(ye),ye=this.consumeCodePoint();return{type:30,start:He,end:parseInt(C.apply(void 0,ut),16)}}return{type:30,start:He,end:He}},ve.prototype.consumeIdentLikeToken=function(){var fe=this.consumeName();return fe.toLowerCase()==="url"&&this.peekCodePoint(0)===Ps?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ps?(this.consumeCodePoint(),{type:19,value:fe}):{type:20,value:fe}},ve.prototype.consumeUrlToken=function(){var fe=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rd)return{type:22,value:""};var ye=this.peekCodePoint(0);if(ye===io||ye===Nd){var be=this.consumeStringToken(this.consumeCodePoint());return be.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rd||this.peekCodePoint(0)===Sr)?(this.consumeCodePoint(),{type:22,value:be.value}):(this.consumeBadUrlRemnants(),W6)}for(;;){var He=this.consumeCodePoint();if(He===Rd||He===Sr)return{type:22,value:C.apply(void 0,fe)};if(Tn(He))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Rd||this.peekCodePoint(0)===Sr?(this.consumeCodePoint(),{type:22,value:C.apply(void 0,fe)}):(this.consumeBadUrlRemnants(),W6);if(He===Nd||He===io||He===Ps||Kc(He))return this.consumeBadUrlRemnants(),W6;if(He===cs){if(!Lu(He,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),W6;fe.push(this.consumeEscapedCodePoint())}else fe.push(He)}},ve.prototype.consumeWhiteSpace=function(){for(;Tn(this.peekCodePoint(0));)this.consumeCodePoint()},ve.prototype.consumeBadUrlRemnants=function(){for(;;){var fe=this.consumeCodePoint();if(fe===Sr||fe===Rd)return;Lu(fe,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ve.prototype.consumeStringSlice=function(fe){for(var ye=5e4,be="";fe>0;){var He=Math.min(ye,fe);be+=C.apply(void 0,this._value.splice(0,He)),fe-=He}return this._value.shift(),be},ve.prototype.consumeStringToken=function(fe){for(var ye="",be=0;;){var He=this._value[be];if(He===Rd||He===void 0||He===fe)return{type:0,value:ye+=this.consumeStringSlice(be)};if(He===hs)return this._value.splice(0,be),nk;if(He===cs){var ut=this._value[be+1];ut!==Rd&&ut!==void 0&&(ut===hs?(ye+=this.consumeStringSlice(be),be=-1,this._value.shift()):Lu(He,ut)&&(ye+=this.consumeStringSlice(be),ye+=C(this.consumeEscapedCodePoint()),be=-1))}be++}},ve.prototype.consumeNumber=function(){var fe=[],ye=Qs,be=this.peekCodePoint(0);for(be!==Ul&&be!==Ha||fe.push(this.consumeCodePoint());ec(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());be=this.peekCodePoint(0);var He=this.peekCodePoint(1);if(be===dc&&ec(He))for(fe.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=_l;ec(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());be=this.peekCodePoint(0),He=this.peekCodePoint(1);var ut=this.peekCodePoint(2);if((be===kn||be===h2)&&((He===Ul||He===Ha)&&ec(ut)||ec(He)))for(fe.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=_l;ec(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());return[lv(fe),ye]},ve.prototype.consumeNumericToken=function(){var fe=this.consumeNumber(),ye=fe[0],be=fe[1],He=this.peekCodePoint(0),ut=this.peekCodePoint(1),Tt=this.peekCodePoint(2);return Ah(He,ut,Tt)?{type:15,number:ye,flags:be,unit:this.consumeName()}:He===sd?(this.consumeCodePoint(),{type:16,number:ye,flags:be}):{type:17,number:ye,flags:be}},ve.prototype.consumeEscapedCodePoint=function(){var fe=this.consumeCodePoint();if(_f(fe)){for(var ye=C(fe);_f(this.peekCodePoint(0))&&ye.length<6;)ye+=C(this.consumeCodePoint());Tn(this.peekCodePoint(0))&&this.consumeCodePoint();var be=parseInt(ye,16);return be===0||zc(be)||be>1114111?_s:be}return fe===Rd?_s:fe},ve.prototype.consumeName=function(){for(var fe="";;){var ye=this.consumeCodePoint();if(Zo(ye))fe+=C(ye);else{if(!Lu(ye,this.peekCodePoint(0)))return this.reconsumeCodePoint(ye),fe;fe+=C(this.consumeEscapedCodePoint())}}},ve}(),Uy=function(){function ve(fe){this._tokens=fe}return ve.create=function(fe){var ye=new Vc;return ye.write(fe),new ve(ye.read())},ve.parseValue=function(fe){return ve.create(fe).parseComponentValue()},ve.parseValues=function(fe){return ve.create(fe).parseComponentValues()},ve.prototype.parseComponentValue=function(){for(var fe=this.consumeToken();fe.type===31;)fe=this.consumeToken();if(fe.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(fe);var ye=this.consumeComponentValue();do fe=this.consumeToken();while(fe.type===31);if(fe.type===32)return ye;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ve.prototype.parseComponentValues=function(){for(var fe=[];;){var ye=this.consumeComponentValue();if(ye.type===32)return fe;fe.push(ye),fe.push()}},ve.prototype.consumeComponentValue=function(){var fe=this.consumeToken();switch(fe.type){case 11:case 28:case 2:return this.consumeSimpleBlock(fe.type);case 19:return this.consumeFunction(fe)}return fe},ve.prototype.consumeSimpleBlock=function(fe){for(var ye={type:fe,values:[]},be=this.consumeToken();;){if(be.type===32||Y7(be,fe))return ye;this.reconsumeToken(be),ye.values.push(this.consumeComponentValue()),be=this.consumeToken()}},ve.prototype.consumeFunction=function(fe){for(var ye={name:fe.value,values:[],type:18};;){var be=this.consumeToken();if(be.type===32||be.type===3)return ye;this.reconsumeToken(be),ye.values.push(this.consumeComponentValue())}},ve.prototype.consumeToken=function(){var fe=this._tokens.shift();return fe===void 0?jy:fe},ve.prototype.reconsumeToken=function(fe){this._tokens.unshift(fe)},ve}(),e4=function(ve){return ve.type===15},Xp=function(ve){return ve.type===17},tc=function(ve){return ve.type===20},ok=function(ve){return ve.type===0},G7=function(ve,fe){return tc(ve)&&ve.value===fe},X6=function(ve){return ve.type!==31},zy=function(ve){return ve.type!==31&&ve.type!==4},N0=function(ve){var fe=[],ye=[];return ve.forEach(function(be){if(be.type===4){if(ye.length===0)throw new Error("Error parsing function args, zero tokens for arg");return fe.push(ye),void(ye=[])}be.type!==31&&ye.push(be)}),ye.length&&fe.push(ye),fe},Y7=function(ve,fe){return fe===11&&ve.type===12||fe===28&&ve.type===29||fe===2&&ve.type===3},cv=function(ve){return ve.type===17||ve.type===15},Vh=function(ve){return ve.type===16||cv(ve)},Ky=function(ve){return ve.length>1?[ve[0],ve[1]]:[ve[0]]},If={type:17,number:0,flags:Qs},wA={type:16,number:50,flags:Qs},xA={type:16,number:100,flags:Qs},Vy=function(ve,fe,ye){var be=ve[0],He=ve[1];return[Gd(be,fe),Gd(He!==void 0?He:be,ye)]},Gd=function(ve,fe){if(ve.type===16)return ve.number/100*fe;if(e4(ve))switch(ve.unit){case"rem":case"em":return 16*ve.number;default:return ve.number}return ve.number},pm="deg",g2="grad",G6="rad",ak="turn",L1={name:"angle",parse:function(ve,fe){if(fe.type===15)switch(fe.unit){case pm:return Math.PI*fe.number/180;case g2:return Math.PI/200*fe.number;case G6:return fe.number;case ak:return 2*Math.PI*fe.number}throw new Error("Unsupported angle type")}},uv=function(ve){return ve.type===15&&(ve.unit===pm||ve.unit===g2||ve.unit===G6||ve.unit===ak)},q7=function(ve){switch(ve.filter(tc).map(function(fe){return fe.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[If,If];case"to top":case"bottom":return cp(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[If,xA];case"to right":case"left":return cp(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[xA,xA];case"to bottom":case"top":return cp(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[xA,If];case"to left":case"right":return cp(270)}return 0},cp=function(ve){return Math.PI*ve/180},Gp={name:"color",parse:function(ve,fe){if(fe.type===18){var ye=cx[fe.name];if(ye===void 0)throw new Error('Attempting to parse an unsupported color function "'+fe.name+'"');return ye(ve,fe.values)}if(fe.type===5){if(fe.value.length===3){var be=fe.value.substring(0,1),He=fe.value.substring(1,2),ut=fe.value.substring(2,3);return R0(parseInt(be+be,16),parseInt(He+He,16),parseInt(ut+ut,16),1)}if(fe.value.length===4){be=fe.value.substring(0,1),He=fe.value.substring(1,2),ut=fe.value.substring(2,3);var Tt=fe.value.substring(3,4);return R0(parseInt(be+be,16),parseInt(He+He,16),parseInt(ut+ut,16),parseInt(Tt+Tt,16)/255)}if(fe.value.length===6)return be=fe.value.substring(0,2),He=fe.value.substring(2,4),ut=fe.value.substring(4,6),R0(parseInt(be,16),parseInt(He,16),parseInt(ut,16),1);if(fe.value.length===8)return be=fe.value.substring(0,2),He=fe.value.substring(2,4),ut=fe.value.substring(4,6),Tt=fe.value.substring(6,8),R0(parseInt(be,16),parseInt(He,16),parseInt(ut,16),parseInt(Tt,16)/255)}if(fe.type===20){var tn=Yp[fe.value.toUpperCase()];if(tn!==void 0)return tn}return Yp.TRANSPARENT}},rg=function(ve){return(255&ve)==0},ld=function(ve){var fe=255&ve,ye=255&ve>>8,be=255&ve>>16,He=255&ve>>24;return fe<255?"rgba("+He+","+be+","+ye+","+fe/255+")":"rgb("+He+","+be+","+ye+")"},R0=function(ve,fe,ye,be){return(ve<<24|fe<<16|ye<<8|Math.round(255*be)<<0)>>>0},lx=function(ve,fe){if(ve.type===17)return ve.number;if(ve.type===16){var ye=fe===3?1:255;return fe===3?ve.number/100*ye:Math.round(ve.number/100*ye)}return 0},cb=function(ve,fe){var ye=fe.filter(zy);if(ye.length===3){var be=ye.map(lx),He=be[0],ut=be[1],Tt=be[2];return R0(He,ut,Tt,1)}if(ye.length===4){var tn=ye.map(lx),Yt=(He=tn[0],ut=tn[1],Tt=tn[2],tn[3]);return R0(He,ut,Tt,Yt)}return 0};function Wy(ve,fe,ye){return ye<0&&(ye+=1),ye>=1&&(ye-=1),ye<1/6?(fe-ve)*ye*6+ve:ye<.5?fe:ye<2/3?6*(fe-ve)*(2/3-ye)+ve:ve}var sk=function(ve,fe){var ye=fe.filter(zy),be=ye[0],He=ye[1],ut=ye[2],Tt=ye[3],tn=(be.type===17?cp(be.number):L1.parse(ve,be))/(2*Math.PI),Yt=Vh(He)?He.number/100:0,Hn=Vh(ut)?ut.number/100:0,Wn=Tt!==void 0&&Vh(Tt)?Gd(Tt,1):1;if(Yt===0)return R0(255*Hn,255*Hn,255*Hn,1);var Kr=Hn<=.5?Hn*(Yt+1):Hn+Yt-Hn*Yt,Wr=2*Hn-Kr,Zi=Wy(Wr,Kr,tn+1/3),yo=Wy(Wr,Kr,tn),ba=Wy(Wr,Kr,tn-1/3);return R0(255*Zi,255*yo,255*ba,Wn)},cx={hsl:sk,hsla:sk,rgb:cb,rgba:cb},r1=function(ve,fe){return Gp.parse(ve,Uy.create(fe).parseComponentValue())},Yp={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Y6={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ve,fe){return fe.map(function(ye){if(tc(ye))switch(ye.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},t4={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},p2=function(ve,fe){var ye=Gp.parse(ve,fe[0]),be=fe[1];return be&&Vh(be)?{color:ye,stop:be}:{color:ye,stop:null}},n4=function(ve,fe){var ye=ve[0],be=ve[ve.length-1];ye.stop===null&&(ye.stop=If),be.stop===null&&(be.stop=xA);for(var He=[],ut=0,Tt=0;Ttut?He.push(Yt):He.push(ut),ut=Yt}else He.push(null)}var Hn=null;for(Tt=0;Ttut.optimumDistance)?{optimumCorner:Tt,optimumDistance:Hn}:ut},{optimumDistance:He?1/0:-1/0,optimumCorner:null}).optimumCorner},q6=function(ve,fe,ye,be,He){var ut=0,Tt=0;switch(ve.size){case 0:ve.shape===0?ut=Tt=Math.min(Math.abs(fe),Math.abs(fe-be),Math.abs(ye),Math.abs(ye-He)):ve.shape===1&&(ut=Math.min(Math.abs(fe),Math.abs(fe-be)),Tt=Math.min(Math.abs(ye),Math.abs(ye-He)));break;case 2:if(ve.shape===0)ut=Tt=Math.min(Of(fe,ye),Of(fe,ye-He),Of(fe-be,ye),Of(fe-be,ye-He));else if(ve.shape===1){var tn=Math.min(Math.abs(ye),Math.abs(ye-He))/Math.min(Math.abs(fe),Math.abs(fe-be)),Yt=J7(be,He,fe,ye,!0),Hn=Yt[0],Wn=Yt[1];Tt=tn*(ut=Of(Hn-fe,(Wn-ye)/tn))}break;case 1:ve.shape===0?ut=Tt=Math.max(Math.abs(fe),Math.abs(fe-be),Math.abs(ye),Math.abs(ye-He)):ve.shape===1&&(ut=Math.max(Math.abs(fe),Math.abs(fe-be)),Tt=Math.max(Math.abs(ye),Math.abs(ye-He)));break;case 3:if(ve.shape===0)ut=Tt=Math.max(Of(fe,ye),Of(fe,ye-He),Of(fe-be,ye),Of(fe-be,ye-He));else if(ve.shape===1){tn=Math.max(Math.abs(ye),Math.abs(ye-He))/Math.max(Math.abs(fe),Math.abs(fe-be));var Kr=J7(be,He,fe,ye,!1);Hn=Kr[0],Wn=Kr[1],Tt=tn*(ut=Of(Hn-fe,(Wn-ye)/tn))}}return Array.isArray(ve.size)&&(ut=Gd(ve.size[0],be),Tt=ve.size.length===2?Gd(ve.size[1],He):ut),[ut,Tt]},A2=function(ve,fe){var ye=cp(180),be=[];return N0(fe).forEach(function(He,ut){if(ut===0){var Tt=He[0];if(Tt.type===20&&Tt.value==="to")return void(ye=q7(He));if(uv(Tt))return void(ye=L1.parse(ve,Tt))}var tn=p2(ve,He);be.push(tn)}),{angle:ye,stops:be,type:1}},r4=function(ve,fe){var ye=cp(180),be=[];return N0(fe).forEach(function(He,ut){if(ut===0){var Tt=He[0];if(Tt.type===20&&["top","left","right","bottom"].indexOf(Tt.value)!==-1)return void(ye=q7(He));if(uv(Tt))return void(ye=(L1.parse(ve,Tt)+cp(270))%cp(360))}var tn=p2(ve,He);be.push(tn)}),{angle:ye,stops:be,type:1}},Xy=function(ve,fe){var ye=cp(180),be=[],He=1,ut=0,Tt=3,tn=[];return N0(fe).forEach(function(Yt,Hn){var Wn=Yt[0];if(Hn===0){if(tc(Wn)&&Wn.value==="linear")return void(He=1);if(tc(Wn)&&Wn.value==="radial")return void(He=2)}if(Wn.type===18){if(Wn.name==="from"){var Kr=Gp.parse(ve,Wn.values[0]);be.push({stop:If,color:Kr})}else if(Wn.name==="to")Kr=Gp.parse(ve,Wn.values[0]),be.push({stop:xA,color:Kr});else if(Wn.name==="color-stop"){var Wr=Wn.values.filter(zy);if(Wr.length===2){Kr=Gp.parse(ve,Wr[1]);var Zi=Wr[0];Xp(Zi)&&be.push({stop:{type:16,number:100*Zi.number,flags:Zi.flags},color:Kr})}}}}),He===1?{angle:(ye+cp(180))%cp(360),stops:be,type:He}:{size:Tt,shape:ut,stops:be,position:tn,type:He}},J6="closest-side",Z6="farthest-side",ck="closest-corner",uk="farthest-corner",Gy="circle",Yy="ellipse",dx="cover",eS="contain",dk=function(ve,fe){var ye=0,be=3,He=[],ut=[];return N0(fe).forEach(function(Tt,tn){var Yt=!0;if(tn===0){var Hn=!1;Yt=Tt.reduce(function(Kr,Wr){if(Hn)if(tc(Wr))switch(Wr.value){case"center":return ut.push(wA),Kr;case"top":case"left":return ut.push(If),Kr;case"right":case"bottom":return ut.push(xA),Kr}else(Vh(Wr)||cv(Wr))&&ut.push(Wr);else if(tc(Wr))switch(Wr.value){case Gy:return ye=0,!1;case Yy:return ye=1,!1;case"at":return Hn=!0,!1;case J6:return be=0,!1;case dx:case Z6:return be=1,!1;case eS:case ck:return be=2,!1;case uk:return be=3,!1}else if(cv(Wr)||Vh(Wr))return Array.isArray(be)||(be=[]),be.push(Wr),!1;return Kr},Yt)}if(Yt){var Wn=p2(ve,Tt);He.push(Wn)}}),{size:be,shape:ye,stops:He,position:ut,type:2}},qy=function(ve,fe){var ye=0,be=3,He=[],ut=[];return N0(fe).forEach(function(Tt,tn){var Yt=!0;if(tn===0?Yt=Tt.reduce(function(Wn,Kr){if(tc(Kr))switch(Kr.value){case"center":return ut.push(wA),!1;case"top":case"left":return ut.push(If),!1;case"right":case"bottom":return ut.push(xA),!1}else if(Vh(Kr)||cv(Kr))return ut.push(Kr),!1;return Wn},Yt):tn===1&&(Yt=Tt.reduce(function(Wn,Kr){if(tc(Kr))switch(Kr.value){case Gy:return ye=0,!1;case Yy:return ye=1,!1;case eS:case J6:return be=0,!1;case Z6:return be=1,!1;case ck:return be=2,!1;case dx:case uk:return be=3,!1}else if(cv(Kr)||Vh(Kr))return Array.isArray(be)||(be=[]),be.push(Kr),!1;return Wn},Yt)),Yt){var Hn=p2(ve,Tt);He.push(Hn)}}),{size:be,shape:ye,stops:He,position:ut,type:2}},Jy=function(ve){return ve.type===1},Zy=function(ve){return ve.type===2},ig={name:"image",parse:function(ve,fe){if(fe.type===22){var ye={url:fe.value,type:0};return ve.cache.addImage(fe.value),ye}if(fe.type===18){var be=hx[fe.name];if(be===void 0)throw new Error('Attempting to parse an unsupported image function "'+fe.name+'"');return be(ve,fe.values)}throw new Error("Unsupported image type "+fe.type)}};function m2(ve){return!(ve.type===20&&ve.value==="none"||ve.type===18&&!hx[ve.name])}var qp,hx={"linear-gradient":A2,"-moz-linear-gradient":r4,"-ms-linear-gradient":r4,"-o-linear-gradient":r4,"-webkit-linear-gradient":r4,"radial-gradient":dk,"-moz-radial-gradient":qy,"-ms-radial-gradient":qy,"-o-radial-gradient":qy,"-webkit-radial-gradient":qy,"-webkit-gradient":Xy},iI={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ve,fe){if(fe.length===0)return[];var ye=fe[0];return ye.type===20&&ye.value==="none"?[]:fe.filter(function(be){return zy(be)&&m2(be)}).map(function(be){return ig.parse(ve,be)})}},Z7={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ve,fe){return fe.map(function(ye){if(tc(ye))switch(ye.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},i4={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ve,fe){return N0(fe).map(function(ye){return ye.filter(Vh)}).map(Ky)}},eT={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ve,fe){return N0(fe).map(function(ye){return ye.filter(tc).map(function(be){return be.value}).join(" ")}).map(hk)}},hk=function(ve){switch(ve){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};(function(ve){ve.AUTO="auto",ve.CONTAIN="contain",ve.COVER="cover"})(qp||(qp={}));var ew,fx={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ve,fe){return N0(fe).map(function(ye){return ye.filter(v2)})}},v2=function(ve){return tc(ve)||Vh(ve)},b2=function(ve){return{name:"border-"+ve+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},fk=b2("top"),gx=b2("right"),ub=b2("bottom"),o4=b2("left"),a4=function(ve){return{name:"border-radius-"+ve,initialValue:"0 0",prefix:!1,type:1,parse:function(fe,ye){return Ky(ye.filter(Vh))}}},px=a4("top-left"),oI=a4("top-right"),aI=a4("bottom-right"),sI=a4("bottom-left"),tw=function(ve){return{name:"border-"+ve+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(fe,ye){switch(ye){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},tS=tw("top"),s4=tw("right"),Ax=tw("bottom"),lI=tw("left"),nw=function(ve){return{name:"border-"+ve+"-width",initialValue:"0",type:0,prefix:!1,parse:function(fe,ye){return e4(ye)?ye.number:0}}},gk=nw("top"),l4=nw("right"),pk=nw("bottom"),rw=nw("left"),mx={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},iw={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ve,fe){return fe==="rtl"?1:0}},c4={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ve,fe){return fe.filter(tc).reduce(function(ye,be){return ye|db(be.value)},0)}},db=function(ve){switch(ve){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ak={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ve,fe){switch(fe){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},mk={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ve,fe){return fe.type===20&&fe.value==="normal"?0:fe.type===17||fe.type===15?fe.number:0}};(function(ve){ve.NORMAL="normal",ve.STRICT="strict"})(ew||(ew={}));var ow,cI={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ve,fe){return fe==="strict"?ew.STRICT:ew.NORMAL}},aw={name:"line-height",initialValue:"normal",prefix:!1,type:4},y2=function(ve,fe){return tc(ve)&&ve.value==="normal"?1.2*fe:ve.type===17?fe*ve.number:Vh(ve)?Gd(ve,fe):fe},uI={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ve,fe){return fe.type===20&&fe.value==="none"?null:ig.parse(ve,fe)}},dI={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ve,fe){return fe==="inside"?0:1}},tT={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ve,fe){switch(fe){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},vx=function(ve){return{name:"margin-"+ve,initialValue:"0",prefix:!1,type:4}},hI=vx("top"),vk=vx("right"),Jp=vx("bottom"),A1=vx("left"),Pg={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ve,fe){return fe.filter(tc).map(function(ye){switch(ye.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},sf={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ve,fe){return fe==="break-word"?"break-word":"normal"}},Am=function(ve){return{name:"padding-"+ve,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},bk=Am("top"),bx=Am("right"),yk=Am("bottom"),wk=Am("left"),hb={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ve,fe){switch(fe){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},nS={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ve,fe){switch(fe){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},nT={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ve,fe){return fe.length===1&&G7(fe[0],"none")?[]:N0(fe).map(function(ye){for(var be={color:Yp.TRANSPARENT,offsetX:If,offsetY:If,blur:If},He=0,ut=0;ut1?1:0],this.overflowWrap=Ea(fe,sf,ye.overflowWrap),this.paddingTop=Ea(fe,bk,ye.paddingTop),this.paddingRight=Ea(fe,bx,ye.paddingRight),this.paddingBottom=Ea(fe,yk,ye.paddingBottom),this.paddingLeft=Ea(fe,wk,ye.paddingLeft),this.paintOrder=Ea(fe,T2,ye.paintOrder),this.position=Ea(fe,nS,ye.position),this.textAlign=Ea(fe,hb,ye.textAlign),this.textDecorationColor=Ea(fe,gI,(be=ye.textDecorationColor)!==null&&be!==void 0?be:ye.color),this.textDecorationLine=Ea(fe,Tk,(He=ye.textDecorationLine)!==null&&He!==void 0?He:ye.textDecoration),this.textShadow=Ea(fe,nT,ye.textShadow),this.textTransform=Ea(fe,rS,ye.textTransform),this.transform=Ea(fe,xk,ye.transform),this.transformOrigin=Ea(fe,Ck,ye.transformOrigin),this.visibility=Ea(fe,x2,ye.visibility),this.webkitTextStrokeColor=Ea(fe,kk,ye.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ea(fe,Bk,ye.webkitTextStrokeWidth),this.wordBreak=Ea(fe,fI,ye.wordBreak),this.zIndex=Ea(fe,oS,ye.zIndex)}return ve.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ve.prototype.isTransparent=function(){return rg(this.backgroundColor)},ve.prototype.isTransformed=function(){return this.transform!==null},ve.prototype.isPositioned=function(){return this.position!==0},ve.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ve.prototype.isFloating=function(){return this.float!==0},ve.prototype.isInlineLevel=function(){return lf(this.display,4)||lf(this.display,33554432)||lf(this.display,268435456)||lf(this.display,536870912)||lf(this.display,67108864)||lf(this.display,134217728)},ve}(),lS=function(){function ve(fe,ye){this.content=Ea(fe,aS,ye.content),this.quotes=Ea(fe,yx,ye.quotes)}return ve}(),wx=function(){function ve(fe,ye){this.counterIncrement=Ea(fe,Ek,ye.counterIncrement),this.counterReset=Ea(fe,pI,ye.counterReset)}return ve}(),Ea=function(ve,fe,ye){var be=new Vc,He=ye!=null?ye.toString():fe.initialValue;be.write(He);var ut=new Uy(be.read());switch(fe.type){case 2:var Tt=ut.parseComponentValue();return fe.parse(ve,tc(Tt)?Tt.value:fe.initialValue);case 0:return fe.parse(ve,ut.parseComponentValue());case 1:return fe.parse(ve,ut.parseComponentValues());case 4:return ut.parseComponentValue();case 3:switch(fe.format){case"angle":return L1.parse(ve,ut.parseComponentValue());case"color":return Gp.parse(ve,ut.parseComponentValue());case"image":return ig.parse(ve,ut.parseComponentValue());case"length":var tn=ut.parseComponentValue();return cv(tn)?tn:If;case"length-percentage":var Yt=ut.parseComponentValue();return Vh(Yt)?Yt:If;case"time":return Zp.parse(ve,ut.parseComponentValue())}}},mI="data-html2canvas-debug",sT=function(ve){switch(ve.getAttribute(mI)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},cS=function(ve,fe){var ye=sT(ve);return ye===1||fe===ye},hv=function(){function ve(fe,ye){this.context=fe,this.textNodes=[],this.elements=[],this.flags=0,cS(ye,3),this.styles=new AI(fe,window.getComputedStyle(ye,null)),bT(ye)&&(this.styles.animationDuration.some(function(be){return be>0})&&(ye.style.animationDuration="0s"),this.styles.transform!==null&&(ye.style.transform="none")),this.bounds=m(this.context,ye),cS(ye,4)&&(this.flags|=16)}return ve}(),uS="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",xx="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cx=typeof Uint8Array>"u"?[]:new Uint8Array(256),E2=0;E2>4,Wn[Yt++]=(15&be)<<4|He>>2,Wn[Yt++]=(3&He)<<6|63&ut;return Hn},u4=function(ve){for(var fe=ve.length,ye=[],be=0;be>fv,uT=(1<>fv)+32,og=65536>>Sx,dS=(1<=0){if(fe<55296||fe>56319&&fe<=65535)return ye=((ye=this.index[fe>>fv])<>fv)])<>Sx),ye=this.index[ye],ye+=fe>>fv&dS,ye=((ye=this.index[ye])<"u"?[]:new Uint8Array(256),h4=0;h4=55296&&He<=56319&&ye>10),Tt%1024+56320)),(He+1===ye||be.length>16384)&&(ut+=String.fromCharCode.apply(String,be),be.length=0)}return ut},Pk=Ok(uS),m1="×",k2="÷",kx=function(ve){return Pk.get(ve)},bI=function(ve,fe,ye){var be=ye-2,He=fe[be],ut=fe[ye-1],Tt=fe[ye];if(ut===hS&&Tt===lw)return m1;if(ut===hS||ut===lw||ut===hT||Tt===hS||Tt===lw||Tt===hT)return k2;if(ut===cw&&[cw,fS,fT,p4].indexOf(Tt)!==-1||!(ut!==fT&&ut!==fS||Tt!==fS&&Tt!==gS)||(ut===p4||ut===gS)&&Tt===gS||Tt===A4||Tt===fb||Tt===vI||ut===g4)return m1;if(ut===A4&&Tt===m4){for(;He===fb;)He=fe[--be];if(He===m4)return m1}if(ut===uw&&Tt===uw){for(var tn=0;He===uw;)tn++,He=fe[--be];if(tn%2==0)return m1}return k2},Lk=function(ve){var fe=Mk(ve),ye=fe.length,be=0,He=0,ut=fe.map(kx);return{next:function(){if(be>=ye)return{done:!0,value:null};for(var Tt=m1;beTt.x||Wn.y>Tt.y;return Tt=Wn,Hn===0||Kr});return ve.body.removeChild(fe),tn},up=function(){return new Image().crossOrigin!==void 0},Dk=function(){return typeof new XMLHttpRequest().responseType=="string"},xI=function(ve){var fe=new Image,ye=ve.createElement("canvas"),be=ye.getContext("2d");if(!be)return!1;fe.src="data:image/svg+xml,";try{be.drawImage(fe,0,0),ye.toDataURL()}catch{return!1}return!0},Fk=function(ve){return ve[0]===0&&ve[1]===255&&ve[2]===0&&ve[3]===255},CI=function(ve){var fe=ve.createElement("canvas"),ye=100;fe.width=ye,fe.height=ye;var be=fe.getContext("2d");if(!be)return Promise.reject(!1);be.fillStyle="rgb(0, 255, 0)",be.fillRect(0,0,ye,ye);var He=new Image,ut=fe.toDataURL();He.src=ut;var Tt=AS(ye,ye,0,0,He);return be.fillStyle="red",be.fillRect(0,0,ye,ye),gT(Tt).then(function(tn){be.drawImage(tn,0,0);var Yt=be.getImageData(0,0,ye,ye).data;be.fillStyle="red",be.fillRect(0,0,ye,ye);var Hn=ve.createElement("div");return Hn.style.backgroundImage="url("+ut+")",Hn.style.height=ye+"px",Fk(Yt)?gT(AS(ye,ye,0,0,Hn)):Promise.reject(!1)}).then(function(tn){return be.drawImage(tn,0,0),Fk(be.getImageData(0,0,ye,ye).data)}).catch(function(){return!1})},AS=function(ve,fe,ye,be,He){var ut="http://www.w3.org/2000/svg",Tt=document.createElementNS(ut,"svg"),tn=document.createElementNS(ut,"foreignObject");return Tt.setAttributeNS(null,"width",ve.toString()),Tt.setAttributeNS(null,"height",fe.toString()),tn.setAttributeNS(null,"width","100%"),tn.setAttributeNS(null,"height","100%"),tn.setAttributeNS(null,"x",ye.toString()),tn.setAttributeNS(null,"y",be.toString()),tn.setAttributeNS(null,"externalResourcesRequired","true"),Tt.appendChild(tn),tn.appendChild(He),Tt},gT=function(ve){return new Promise(function(fe,ye){var be=new Image;be.onload=function(){return fe(be)},be.onerror=ye,be.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ve))})},D1={get SUPPORT_RANGE_BOUNDS(){var ve=wI(document);return Object.defineProperty(D1,"SUPPORT_RANGE_BOUNDS",{value:ve}),ve},get SUPPORT_WORD_BREAKING(){var ve=D1.SUPPORT_RANGE_BOUNDS&&pS(document);return Object.defineProperty(D1,"SUPPORT_WORD_BREAKING",{value:ve}),ve},get SUPPORT_SVG_DRAWING(){var ve=xI(document);return Object.defineProperty(D1,"SUPPORT_SVG_DRAWING",{value:ve}),ve},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ve=typeof Array.from=="function"&&typeof window.fetch=="function"?CI(document):Promise.resolve(!1);return Object.defineProperty(D1,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ve}),ve},get SUPPORT_CORS_IMAGES(){var ve=up();return Object.defineProperty(D1,"SUPPORT_CORS_IMAGES",{value:ve}),ve},get SUPPORT_RESPONSE_TYPE(){var ve=Dk();return Object.defineProperty(D1,"SUPPORT_RESPONSE_TYPE",{value:ve}),ve},get SUPPORT_CORS_XHR(){var ve="withCredentials"in new XMLHttpRequest;return Object.defineProperty(D1,"SUPPORT_CORS_XHR",{value:ve}),ve},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ve=!(typeof Intl>"u"||!Intl.Segmenter);return Object.defineProperty(D1,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ve}),ve}},gv=function(){function ve(fe,ye){this.text=fe,this.bounds=ye}return ve}(),Nk=function(ve,fe,ye,be){var He=Bx(fe,ye),ut=[],Tt=0;return He.forEach(function(tn){if(ye.textDecorationLine.length||tn.trim().length>0)if(D1.SUPPORT_RANGE_BOUNDS){var Yt=vm(be,Tt,tn.length).getClientRects();if(Yt.length>1){var Hn=dw(tn),Wn=0;Hn.forEach(function(Wr){ut.push(new gv(Wr,g.fromDOMRectList(ve,vm(be,Wn+Tt,Wr.length).getClientRects()))),Wn+=Wr.length})}else ut.push(new gv(tn,g.fromDOMRectList(ve,Yt)))}else{var Kr=be.splitText(tn.length);ut.push(new gv(tn,SI(ve,be))),be=Kr}else D1.SUPPORT_RANGE_BOUNDS||(be=be.splitText(tn.length));Tt+=tn.length}),ut},SI=function(ve,fe){var ye=fe.ownerDocument;if(ye){var be=ye.createElement("html2canvaswrapper");be.appendChild(fe.cloneNode(!0));var He=fe.parentNode;if(He){He.replaceChild(be,fe);var ut=m(ve,be);return be.firstChild&&He.replaceChild(be.firstChild,be),ut}}return g.EMPTY},vm=function(ve,fe,ye){var be=ve.ownerDocument;if(!be)throw new Error("Node has no owner document");var He=be.createRange();return He.setStart(ve,fe),He.setEnd(ve,fe+ye),He},dw=function(ve){if(D1.SUPPORT_NATIVE_TEXT_SEGMENTATION){var fe=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(fe.segment(ve)).map(function(ye){return ye.segment})}return yI(ve)},mS=function(ve,fe){if(D1.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ye=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ye.segment(ve)).map(function(be){return be.segment})}return TI(ve,fe)},Bx=function(ve,fe){return fe.letterSpacing!==0?dw(ve):mS(ve,fe)},gb=[32,160,4961,65792,65793,4153,4241],TI=function(ve,fe){for(var ye,be=Ec(ve,{lineBreak:fe.lineBreak,wordBreak:fe.overflowWrap==="break-word"?"break-word":fe.wordBreak}),He=[],ut=function(){if(ye.value){var Tt=ye.value.slice(),tn=w(Tt),Yt="";tn.forEach(function(Hn){gb.indexOf(Hn)===-1?Yt+=C(Hn):(Yt.length&&He.push(Yt),He.push(C(Hn)),Yt="")}),Yt.length&&He.push(Yt)}};!(ye=be.next()).done;)ut();return He},EI=function(){function ve(fe,ye,be){this.text=b4(ye.data,be.textTransform),this.textBounds=Nk(fe,this.text,be,ye)}return ve}(),b4=function(ve,fe){switch(fe){case 1:return ve.toLowerCase();case 3:return ve.replace(pT,Rk);case 2:return ve.toUpperCase();default:return ve}},pT=/(^|\s|:|-|\(|\))([a-z])/g,Rk=function(ve,fe,ye){return ve.length>0?fe+ye.toUpperCase():ve},vS=function(ve){function fe(ye,be){var He=ve.call(this,ye,be)||this;return He.src=be.currentSrc||be.src,He.intrinsicWidth=be.naturalWidth,He.intrinsicHeight=be.naturalHeight,He.context.cache.addImage(He.src),He}return o(fe,ve),fe}(hv),_x=function(ve){function fe(ye,be){var He=ve.call(this,ye,be)||this;return He.canvas=be,He.intrinsicWidth=be.width,He.intrinsicHeight=be.height,He}return o(fe,ve),fe}(hv),B2=function(ve){function fe(ye,be){var He=ve.call(this,ye,be)||this,ut=new XMLSerializer,Tt=m(ye,be);return be.setAttribute("width",Tt.width+"px"),be.setAttribute("height",Tt.height+"px"),He.svg="data:image/svg+xml,"+encodeURIComponent(ut.serializeToString(be)),He.intrinsicWidth=be.width.baseVal.value,He.intrinsicHeight=be.height.baseVal.value,He.context.cache.addImage(He.svg),He}return o(fe,ve),fe}(hv),$x=function(ve){function fe(ye,be){var He=ve.call(this,ye,be)||this;return He.value=be.value,He}return o(fe,ve),fe}(hv),y4=function(ve){function fe(ye,be){var He=ve.call(this,ye,be)||this;return He.start=be.start,He.reversed=typeof be.reversed=="boolean"&&be.reversed===!0,He}return o(fe,ve),fe}(hv),AT=[{type:15,flags:0,unit:"px",number:3}],kI=[{type:16,flags:0,number:50}],w4=function(ve){return ve.width>ve.height?new g(ve.left+(ve.width-ve.height)/2,ve.top,ve.height,ve.height):ve.width0)ye.textNodes.push(new EI(ve,He,ye.styles));else if(pv(He))if(Av(He)&&He.assignedNodes)He.assignedNodes().forEach(function(tn){return gw(ve,tn,ye,be)});else{var Tt=Hk(ve,He);Tt.styles.isVisible()&&(jk(He,Tt,be)?Tt.flags|=4:Uk(Tt.styles)&&(Tt.flags|=2),BI.indexOf(He.tagName)!==-1&&(Tt.flags|=8),ye.elements.push(Tt),He.slot,He.shadowRoot?gw(ve,He.shadowRoot,Tt,be):wu(He)||Vk(He)||Ix(He)||gw(ve,He,Tt,be))}},Hk=function(ve,fe){return xT(fe)?new vS(ve,fe):wT(fe)?new _x(ve,fe):Vk(fe)?new B2(ve,fe):CA(fe)?new $x(ve,fe):zk(fe)?new y4(ve,fe):_2(fe)?new mT(ve,fe):Ix(fe)?new x4(ve,fe):wu(fe)?new vT(ve,fe):CT(fe)?new xS(ve,fe):new hv(ve,fe)},Qk=function(ve,fe){var ye=Hk(ve,fe);return ye.flags|=4,gw(ve,fe,ye,ye),ye},jk=function(ve,fe,ye){return fe.styles.isPositionedWithZIndex()||fe.styles.opacity<1||fe.styles.isTransformed()||yT(ve)&&ye.styles.isTransparent()},Uk=function(ve){return ve.isPositioned()||ve.isFloating()},C4=function(ve){return ve.nodeType===Node.TEXT_NODE},pv=function(ve){return ve.nodeType===Node.ELEMENT_NODE},bT=function(ve){return pv(ve)&&ve.style!==void 0&&!S4(ve)},S4=function(ve){return typeof ve.className=="object"},CA=function(ve){return ve.tagName==="LI"},zk=function(ve){return ve.tagName==="OL"},_2=function(ve){return ve.tagName==="INPUT"},Kk=function(ve){return ve.tagName==="HTML"},Vk=function(ve){return ve.tagName==="svg"},yT=function(ve){return ve.tagName==="BODY"},wT=function(ve){return ve.tagName==="CANVAS"},Wk=function(ve){return ve.tagName==="VIDEO"},xT=function(ve){return ve.tagName==="IMG"},CT=function(ve){return ve.tagName==="IFRAME"},CS=function(ve){return ve.tagName==="STYLE"},Xk=function(ve){return ve.tagName==="SCRIPT"},wu=function(ve){return ve.tagName==="TEXTAREA"},Ix=function(ve){return ve.tagName==="SELECT"},Av=function(ve){return ve.tagName==="SLOT"},Zc=function(ve){return ve.tagName.indexOf("-")>0},Yu=function(){function ve(){this.counters={}}return ve.prototype.getCounterValue=function(fe){var ye=this.counters[fe];return ye&&ye.length?ye[ye.length-1]:1},ve.prototype.getCounterValues=function(fe){var ye=this.counters[fe];return ye||[]},ve.prototype.pop=function(fe){var ye=this;fe.forEach(function(be){return ye.counters[be].pop()})},ve.prototype.parse=function(fe){var ye=this,be=fe.counterIncrement,He=fe.counterReset,ut=!0;be!==null&&be.forEach(function(tn){var Yt=ye.counters[tn.counter];Yt&&tn.increment!==0&&(ut=!1,Yt.length||Yt.push(1),Yt[Math.max(0,Yt.length-1)]+=tn.increment)});var Tt=[];return ut&&He.forEach(function(tn){var Yt=ye.counters[tn.counter];Tt.push(tn.counter),Yt||(Yt=ye.counters[tn.counter]=[]),Yt.push(tn.reset)}),Tt},ve}(),La={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},SS={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},_I={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},mh={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},T4=function(ve,fe,ye,be,He,ut){return veye?k4(ve,He,ut.length>0):be.integers.reduce(function(Tt,tn,Yt){for(;ve>=tn;)ve-=tn,Tt+=be.values[Yt];return Tt},"")+ut},pb=function(ve,fe,ye,be){var He="";do ye||ve--,He=be(ve)+He,ve/=fe;while(ve*fe>=fe);return He},Fu=function(ve,fe,ye,be,He){var ut=ye-fe+1;return(ve<0?"-":"")+(pb(Math.abs(ve),ut,be,function(Tt){return C(Math.floor(Tt%ut)+fe)})+He)},v1=function(ve,fe,ye){ye===void 0&&(ye=". ");var be=fe.length;return pb(Math.abs(ve),be,!1,function(He){return fe[Math.floor(He%be)]})+ye},Qn=1,mv=2,Ab=4,E4=8,vv=function(ve,fe,ye,be,He,ut){if(ve<-9999||ve>9999)return k4(ve,4,He.length>0);var Tt=Math.abs(ve),tn=He;if(Tt===0)return fe[0]+tn;for(var Yt=0;Tt>0&&Yt<=4;Yt++){var Hn=Tt%10;Hn===0&&lf(ut,Qn)&&tn!==""?tn=fe[Hn]+tn:Hn>1||Hn===1&&Yt===0||Hn===1&&Yt===1&&lf(ut,mv)||Hn===1&&Yt===1&&lf(ut,Ab)&&ve>100||Hn===1&&Yt>1&&lf(ut,E4)?tn=fe[Hn]+(Yt>0?ye[Yt-1]:"")+tn:Hn===1&&Yt>0&&(tn=ye[Yt-1]+tn),Tt=Math.floor(Tt/10)}return(ve<0?be:"")+tn},TS="十百千萬",ST="拾佰仟萬",Gk="マイナス",pw="마이너스",k4=function(ve,fe,ye){var be=ye?". ":"",He=ye?"、":"",ut=ye?", ":"",Tt=ye?" ":"";switch(fe){case 0:return"•"+Tt;case 1:return"◦"+Tt;case 2:return"◾"+Tt;case 5:var tn=Fu(ve,48,57,!0,be);return tn.length<4?"0"+tn:tn;case 4:return v1(ve,"〇一二三四五六七八九",He);case 6:return T4(ve,1,3999,La,3,be).toLowerCase();case 7:return T4(ve,1,3999,La,3,be);case 8:return Fu(ve,945,969,!1,be);case 9:return Fu(ve,97,122,!1,be);case 10:return Fu(ve,65,90,!1,be);case 11:return Fu(ve,1632,1641,!0,be);case 12:case 49:return T4(ve,1,9999,SS,3,be);case 35:return T4(ve,1,9999,SS,3,be).toLowerCase();case 13:return Fu(ve,2534,2543,!0,be);case 14:case 30:return Fu(ve,6112,6121,!0,be);case 15:return v1(ve,"子丑寅卯辰巳午未申酉戌亥",He);case 16:return v1(ve,"甲乙丙丁戊己庚辛壬癸",He);case 17:case 48:return vv(ve,"零一二三四五六七八九",TS,"負",He,mv|Ab|E4);case 47:return vv(ve,"零壹貳參肆伍陸柒捌玖",ST,"負",He,Qn|mv|Ab|E4);case 42:return vv(ve,"零一二三四五六七八九",TS,"负",He,mv|Ab|E4);case 41:return vv(ve,"零壹贰叁肆伍陆柒捌玖",ST,"负",He,Qn|mv|Ab|E4);case 26:return vv(ve,"〇一二三四五六七八九","十百千万",Gk,He,0);case 25:return vv(ve,"零壱弐参四伍六七八九","拾百千万",Gk,He,Qn|mv|Ab);case 31:return vv(ve,"영일이삼사오육칠팔구","십백천만",pw,ut,Qn|mv|Ab);case 33:return vv(ve,"零一二三四五六七八九","十百千萬",pw,ut,0);case 32:return vv(ve,"零壹貳參四五六七八九","拾百千",pw,ut,Qn|mv|Ab);case 18:return Fu(ve,2406,2415,!0,be);case 20:return T4(ve,1,19999,mh,3,be);case 21:return Fu(ve,2790,2799,!0,be);case 22:return Fu(ve,2662,2671,!0,be);case 22:return T4(ve,1,10999,_I,3,be);case 23:return v1(ve,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return v1(ve,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Fu(ve,3302,3311,!0,be);case 28:return v1(ve,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",He);case 29:return v1(ve,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",He);case 34:return Fu(ve,3792,3801,!0,be);case 37:return Fu(ve,6160,6169,!0,be);case 38:return Fu(ve,4160,4169,!0,be);case 39:return Fu(ve,2918,2927,!0,be);case 40:return Fu(ve,1776,1785,!0,be);case 43:return Fu(ve,3046,3055,!0,be);case 44:return Fu(ve,3174,3183,!0,be);case 45:return Fu(ve,3664,3673,!0,be);case 46:return Fu(ve,3872,3881,!0,be);default:return Fu(ve,48,57,!0,be)}},Fs="data-html2canvas-ignore",Sd=function(){function ve(fe,ye,be){if(this.context=fe,this.options=be,this.scrolledElements=[],this.referenceElement=ye,this.counters=new Yu,this.quoteDepth=0,!ye.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ye.ownerDocument.documentElement,!1)}return ve.prototype.toIFrame=function(fe,ye){var be=this,He=B4(fe,ye);if(!He.contentWindow)return Promise.reject("Unable to find iframe window");var ut=fe.defaultView.pageXOffset,Tt=fe.defaultView.pageYOffset,tn=He.contentWindow,Yt=tn.document,Hn=I2(He).then(function(){return u(be,void 0,void 0,function(){var Wn,Kr;return d(this,function(Wr){switch(Wr.label){case 0:return this.scrolledElements.forEach(mw),tn&&(tn.scrollTo(ye.left,ye.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||tn.scrollY===ye.top&&tn.scrollX===ye.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(tn.scrollX-ye.left,tn.scrollY-ye.top,0,0))),Wn=this.options.onclone,(Kr=this.clonedReferenceElement)===void 0?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Yt.fonts&&Yt.fonts.ready?[4,Yt.fonts.ready]:[3,2];case 1:Wr.sent(),Wr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,bm(Yt)]:[3,4];case 3:Wr.sent(),Wr.label=4;case 4:return typeof Wn=="function"?[2,Promise.resolve().then(function(){return Wn(Yt,Kr)}).then(function(){return He})]:[2,He]}})})});return Yt.open(),Yt.write(dp(document.doctype)+""),_4(this.referenceElement.ownerDocument,ut,Tt),Yt.replaceChild(Yt.adoptNode(this.documentElement),Yt.documentElement),Yt.close(),Hn},ve.prototype.createElementClone=function(fe){if(cS(fe,2),wT(fe))return this.createCanvasClone(fe);if(Wk(fe))return this.createVideoClone(fe);if(CS(fe))return this.createStyleClone(fe);var ye=fe.cloneNode(!1);return xT(ye)&&(xT(fe)&&fe.currentSrc&&fe.currentSrc!==fe.src&&(ye.src=fe.currentSrc,ye.srcset=""),ye.loading==="lazy"&&(ye.loading="eager")),Zc(ye)?this.createCustomElementClone(ye):ye},ve.prototype.createCustomElementClone=function(fe){var ye=document.createElement("html2canvascustomelement");return Aw(fe.style,ye),ye},ve.prototype.createStyleClone=function(fe){try{var ye=fe.sheet;if(ye&&ye.cssRules){var be=[].slice.call(ye.cssRules,0).reduce(function(ut,Tt){return Tt&&typeof Tt.cssText=="string"?ut+Tt.cssText:ut},""),He=fe.cloneNode(!1);return He.textContent=be,He}}catch(ut){if(this.context.logger.error("Unable to access cssRules property",ut),ut.name!=="SecurityError")throw ut}return fe.cloneNode(!1)},ve.prototype.createCanvasClone=function(fe){var ye;if(this.options.inlineImages&&fe.ownerDocument){var be=fe.ownerDocument.createElement("img");try{return be.src=fe.toDataURL(),be}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",fe)}}var He=fe.cloneNode(!1);try{He.width=fe.width,He.height=fe.height;var ut=fe.getContext("2d"),Tt=He.getContext("2d");if(Tt)if(!this.options.allowTaint&&ut)Tt.putImageData(ut.getImageData(0,0,fe.width,fe.height),0,0);else{var tn=(ye=fe.getContext("webgl2"))!==null&&ye!==void 0?ye:fe.getContext("webgl");if(tn){var Yt=tn.getContextAttributes();(Yt==null?void 0:Yt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",fe)}Tt.drawImage(fe,0,0)}return He}catch{this.context.logger.info("Unable to clone canvas as it is tainted",fe)}return He},ve.prototype.createVideoClone=function(fe){var ye=fe.ownerDocument.createElement("canvas");ye.width=fe.offsetWidth,ye.height=fe.offsetHeight;var be=ye.getContext("2d");try{return be&&(be.drawImage(fe,0,0,ye.width,ye.height),this.options.allowTaint||be.getImageData(0,0,ye.width,ye.height)),ye}catch{this.context.logger.info("Unable to clone video as it is tainted",fe)}var He=fe.ownerDocument.createElement("canvas");return He.width=fe.offsetWidth,He.height=fe.offsetHeight,He},ve.prototype.appendChildNode=function(fe,ye,be){pv(ye)&&(Xk(ye)||ye.hasAttribute(Fs)||typeof this.options.ignoreElements=="function"&&this.options.ignoreElements(ye))||this.options.copyStyles&&pv(ye)&&CS(ye)||fe.appendChild(this.cloneNode(ye,be))},ve.prototype.cloneChildNodes=function(fe,ye,be){for(var He=this,ut=fe.shadowRoot?fe.shadowRoot.firstChild:fe.firstChild;ut;ut=ut.nextSibling)if(pv(ut)&&Av(ut)&&typeof ut.assignedNodes=="function"){var Tt=ut.assignedNodes();Tt.length&&Tt.forEach(function(tn){return He.appendChildNode(ye,tn,be)})}else this.appendChildNode(ye,ut,be)},ve.prototype.cloneNode=function(fe,ye){if(C4(fe))return document.createTextNode(fe.data);if(!fe.ownerDocument)return fe.cloneNode(!1);var be=fe.ownerDocument.defaultView;if(be&&pv(fe)&&(bT(fe)||S4(fe))){var He=this.createElementClone(fe);He.style.transitionProperty="none";var ut=be.getComputedStyle(fe),Tt=be.getComputedStyle(fe,":before"),tn=be.getComputedStyle(fe,":after");this.referenceElement===fe&&bT(He)&&(this.clonedReferenceElement=He),yT(He)&&Ee(He);var Yt=this.counters.parse(new wx(this.context,ut)),Hn=this.resolvePseudoContent(fe,He,Tt,f4.BEFORE);Zc(fe)&&(ye=!0),Wk(fe)||this.cloneChildNodes(fe,He,ye),Hn&&He.insertBefore(Hn,He.firstChild);var Wn=this.resolvePseudoContent(fe,He,tn,f4.AFTER);return Wn&&He.appendChild(Wn),this.counters.pop(Yt),(ut&&(this.options.copyStyles||S4(fe))&&!CT(fe)||ye)&&Aw(ut,He),fe.scrollTop===0&&fe.scrollLeft===0||this.scrolledElements.push([He,fe.scrollLeft,fe.scrollTop]),(wu(fe)||Ix(fe))&&(wu(He)||Ix(He))&&(He.value=fe.value),He}return fe.cloneNode(!1)},ve.prototype.resolvePseudoContent=function(fe,ye,be,He){var ut=this;if(be){var Tt=be.content,tn=ye.ownerDocument;if(tn&&Tt&&Tt!=="none"&&Tt!=="-moz-alt-content"&&be.display!=="none"){this.counters.parse(new wx(this.context,be));var Yt=new lS(this.context,be),Hn=tn.createElement("html2canvaspseudoelement");Aw(be,Hn),Yt.content.forEach(function(Kr){if(Kr.type===0)Hn.appendChild(tn.createTextNode(Kr.value));else if(Kr.type===22){var Wr=tn.createElement("img");Wr.src=Kr.value,Wr.style.opacity="1",Hn.appendChild(Wr)}else if(Kr.type===18){if(Kr.name==="attr"){var Zi=Kr.values.filter(tc);Zi.length&&Hn.appendChild(tn.createTextNode(fe.getAttribute(Zi[0].value)||""))}else if(Kr.name==="counter"){var yo=Kr.values.filter(zy),ba=yo[0],eu=yo[1];if(ba&&tc(ba)){var Aa=ut.counters.getCounterValue(ba.value),Ls=eu&&tc(eu)?tT.parse(ut.context,eu.value):3;Hn.appendChild(tn.createTextNode(k4(Aa,Ls,!1)))}}else if(Kr.name==="counters"){var uh=Kr.values.filter(zy),Dl=(ba=uh[0],uh[1]);if(eu=uh[2],ba&&tc(ba)){var Al=ut.counters.getCounterValues(ba.value),cl=eu&&tc(eu)?tT.parse(ut.context,eu.value):3,hu=Dl&&Dl.type===0?Dl.value:"",qu=Al.map(function(ml){return k4(ml,cl,!1)}).join(hu);Hn.appendChild(tn.createTextNode(qu))}}}else if(Kr.type===20)switch(Kr.value){case"open-quote":Hn.appendChild(tn.createTextNode(sS(Yt.quotes,ut.quoteDepth++,!0)));break;case"close-quote":Hn.appendChild(tn.createTextNode(sS(Yt.quotes,--ut.quoteDepth,!1)));break;default:Hn.appendChild(tn.createTextNode(Kr.value))}}),Hn.className=oe+" "+ee;var Wn=He===f4.BEFORE?" "+oe:" "+ee;return S4(ye)?ye.className.baseValue+=Wn:ye.className+=Wn,Hn}}},ve.destroy=function(fe){return!!fe.parentNode&&(fe.parentNode.removeChild(fe),!0)},ve}();(function(ve){ve[ve.BEFORE=0]="BEFORE",ve[ve.AFTER=1]="AFTER"})(f4||(f4={}));var cd,B4=function(ve,fe){var ye=ve.createElement("iframe");return ye.className="html2canvas-container",ye.style.visibility="hidden",ye.style.position="fixed",ye.style.left="-10000px",ye.style.top="0px",ye.style.border="0",ye.width=fe.width.toString(),ye.height=fe.height.toString(),ye.scrolling="no",ye.setAttribute(Fs,"true"),ve.body.appendChild(ye),ye},$2=function(ve){return new Promise(function(fe){ve.complete?fe():ve.src?(ve.onload=fe,ve.onerror=fe):fe()})},bm=function(ve){return Promise.all([].slice.call(ve.images,0).map($2))},I2=function(ve){return new Promise(function(fe,ye){var be=ve.contentWindow;if(!be)return ye("No window assigned for iframe");var He=be.document;be.onload=ve.onload=function(){be.onload=ve.onload=null;var ut=setInterval(function(){He.body.childNodes.length>0&&He.readyState==="complete"&&(clearInterval(ut),fe(ve))},50)}})},ch=["all","d","content"],Aw=function(ve,fe){for(var ye=ve.length-1;ye>=0;ye--){var be=ve.item(ye);ch.indexOf(be)===-1&&fe.style.setProperty(be,ve.getPropertyValue(be))}return fe},dp=function(ve){var fe="";return ve&&(fe+=""),fe},_4=function(ve,fe,ye){ve&&ve.defaultView&&(fe!==ve.defaultView.pageXOffset||ye!==ve.defaultView.pageYOffset)&&ve.defaultView.scrollTo(fe,ye)},mw=function(ve){var fe=ve[0],ye=ve[1],be=ve[2];fe.scrollLeft=ye,fe.scrollTop=be},_=":before",F=":after",oe="___html2canvas___pseudoelement_before",ee="___html2canvas___pseudoelement_after",de=`{ + content: "" !important; + display: none !important; +}`,Ee=function(ve){Ue(ve,"."+oe+_+de+` + .`+ee+F+de)},Ue=function(ve,fe){var ye=ve.ownerDocument;if(ye){var be=ye.createElement("style");be.textContent=fe,ve.appendChild(be)}},qe=function(){function ve(){}return ve.getOrigin=function(fe){var ye=ve._link;return ye?(ye.href=fe,ye.href=ye.href,ye.protocol+ye.hostname+ye.port):"about:blank"},ve.isSameOrigin=function(fe){return ve.getOrigin(fe)===ve._origin},ve.setContext=function(fe){ve._link=fe.document.createElement("a"),ve._origin=ve.getOrigin(fe.location.href)},ve._origin="about:blank",ve}(),ct=function(){function ve(fe,ye){this.context=fe,this._options=ye,this._cache={}}return ve.prototype.addImage=function(fe){var ye=Promise.resolve();return this.has(fe)||(ci(fe)||Un(fe))&&(this._cache[fe]=this.loadImage(fe)).catch(function(){}),ye},ve.prototype.match=function(fe){return this._cache[fe]},ve.prototype.loadImage=function(fe){return u(this,void 0,void 0,function(){var ye,be,He,ut,Tt=this;return d(this,function(tn){switch(tn.label){case 0:return ye=qe.isSameOrigin(fe),be=!rr(fe)&&this._options.useCORS===!0&&D1.SUPPORT_CORS_IMAGES&&!ye,He=!rr(fe)&&!ye&&!ci(fe)&&typeof this._options.proxy=="string"&&D1.SUPPORT_CORS_XHR&&!be,ye||this._options.allowTaint!==!1||rr(fe)||ci(fe)||He||be?(ut=fe,He?[4,this.proxy(ut)]:[3,2]):[2];case 1:ut=tn.sent(),tn.label=2;case 2:return this.context.logger.debug("Added image "+fe.substring(0,256)),[4,new Promise(function(Yt,Hn){var Wn=new Image;Wn.onload=function(){return Yt(Wn)},Wn.onerror=Hn,(Br(ut)||be)&&(Wn.crossOrigin="anonymous"),Wn.src=ut,Wn.complete===!0&&setTimeout(function(){return Yt(Wn)},500),Tt._options.imageTimeout>0&&setTimeout(function(){return Hn("Timed out ("+Tt._options.imageTimeout+"ms) loading image")},Tt._options.imageTimeout)})];case 3:return[2,tn.sent()]}})})},ve.prototype.has=function(fe){return this._cache[fe]!==void 0},ve.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ve.prototype.proxy=function(fe){var ye=this,be=this._options.proxy;if(!be)throw new Error("No proxy defined");var He=fe.substring(0,256);return new Promise(function(ut,Tt){var tn=D1.SUPPORT_RESPONSE_TYPE?"blob":"text",Yt=new XMLHttpRequest;Yt.onload=function(){if(Yt.status===200)if(tn==="text")ut(Yt.response);else{var Kr=new FileReader;Kr.addEventListener("load",function(){return ut(Kr.result)},!1),Kr.addEventListener("error",function(Wr){return Tt(Wr)},!1),Kr.readAsDataURL(Yt.response)}else Tt("Failed to proxy resource "+He+" with status code "+Yt.status)},Yt.onerror=Tt;var Hn=be.indexOf("?")>-1?"&":"?";if(Yt.open("GET",""+be+Hn+"url="+encodeURIComponent(fe)+"&responseType="+tn),tn!=="text"&&Yt instanceof XMLHttpRequest&&(Yt.responseType=tn),ye._options.imageTimeout){var Wn=ye._options.imageTimeout;Yt.timeout=Wn,Yt.ontimeout=function(){return Tt("Timed out ("+Wn+"ms) proxying "+He)}}Yt.send()})},ve}(),pt=/^data:image\/svg\+xml/i,ln=/^data:image\/.*;base64,/i,nn=/^data:image\/.*/i,Un=function(ve){return D1.SUPPORT_SVG_DRAWING||!Li(ve)},rr=function(ve){return nn.test(ve)},Br=function(ve){return ln.test(ve)},ci=function(ve){return ve.substr(0,4)==="blob"},Li=function(ve){return ve.substr(-3).toLowerCase()==="svg"||pt.test(ve)},Pr=function(){function ve(fe,ye){this.type=0,this.x=fe,this.y=ye}return ve.prototype.add=function(fe,ye){return new ve(this.x+fe,this.y+ye)},ve}(),ra=function(ve,fe,ye){return new Pr(ve.x+(fe.x-ve.x)*ye,ve.y+(fe.y-ve.y)*ye)},Ao=function(){function ve(fe,ye,be,He){this.type=1,this.start=fe,this.startControl=ye,this.endControl=be,this.end=He}return ve.prototype.subdivide=function(fe,ye){var be=ra(this.start,this.startControl,fe),He=ra(this.startControl,this.endControl,fe),ut=ra(this.endControl,this.end,fe),Tt=ra(be,He,fe),tn=ra(He,ut,fe),Yt=ra(Tt,tn,fe);return ye?new ve(this.start,be,Tt,Yt):new ve(Yt,tn,ut,this.end)},ve.prototype.add=function(fe,ye){return new ve(this.start.add(fe,ye),this.startControl.add(fe,ye),this.endControl.add(fe,ye),this.end.add(fe,ye))},ve.prototype.reverse=function(){return new ve(this.end,this.endControl,this.startControl,this.start)},ve}(),sa=function(ve){return ve.type===1},Da=function(){function ve(fe){var ye=fe.styles,be=fe.bounds,He=Vy(ye.borderTopLeftRadius,be.width,be.height),ut=He[0],Tt=He[1],tn=Vy(ye.borderTopRightRadius,be.width,be.height),Yt=tn[0],Hn=tn[1],Wn=Vy(ye.borderBottomRightRadius,be.width,be.height),Kr=Wn[0],Wr=Wn[1],Zi=Vy(ye.borderBottomLeftRadius,be.width,be.height),yo=Zi[0],ba=Zi[1],eu=[];eu.push((ut+Yt)/be.width),eu.push((yo+Kr)/be.width),eu.push((Tt+ba)/be.height),eu.push((Hn+Wr)/be.height);var Aa=Math.max.apply(Math,eu);Aa>1&&(ut/=Aa,Tt/=Aa,Yt/=Aa,Hn/=Aa,Kr/=Aa,Wr/=Aa,yo/=Aa,ba/=Aa);var Ls=be.width-Yt,uh=be.height-Wr,Dl=be.width-Kr,Al=be.height-ba,cl=ye.borderTopWidth,hu=ye.borderRightWidth,qu=ye.borderBottomWidth,ml=ye.borderLeftWidth,Fg=Gd(ye.paddingTop,fe.bounds.width),yv=Gd(ye.paddingRight,fe.bounds.width),e0=Gd(ye.paddingBottom,fe.bounds.width),vh=Gd(ye.paddingLeft,fe.bounds.width);this.topLeftBorderDoubleOuterBox=ut>0||Tt>0?Fo(be.left+ml/3,be.top+cl/3,ut-ml/3,Tt-cl/3,cd.TOP_LEFT):new Pr(be.left+ml/3,be.top+cl/3),this.topRightBorderDoubleOuterBox=ut>0||Tt>0?Fo(be.left+Ls,be.top+cl/3,Yt-hu/3,Hn-cl/3,cd.TOP_RIGHT):new Pr(be.left+be.width-hu/3,be.top+cl/3),this.bottomRightBorderDoubleOuterBox=Kr>0||Wr>0?Fo(be.left+Dl,be.top+uh,Kr-hu/3,Wr-qu/3,cd.BOTTOM_RIGHT):new Pr(be.left+be.width-hu/3,be.top+be.height-qu/3),this.bottomLeftBorderDoubleOuterBox=yo>0||ba>0?Fo(be.left+ml/3,be.top+Al,yo-ml/3,ba-qu/3,cd.BOTTOM_LEFT):new Pr(be.left+ml/3,be.top+be.height-qu/3),this.topLeftBorderDoubleInnerBox=ut>0||Tt>0?Fo(be.left+2*ml/3,be.top+2*cl/3,ut-2*ml/3,Tt-2*cl/3,cd.TOP_LEFT):new Pr(be.left+2*ml/3,be.top+2*cl/3),this.topRightBorderDoubleInnerBox=ut>0||Tt>0?Fo(be.left+Ls,be.top+2*cl/3,Yt-2*hu/3,Hn-2*cl/3,cd.TOP_RIGHT):new Pr(be.left+be.width-2*hu/3,be.top+2*cl/3),this.bottomRightBorderDoubleInnerBox=Kr>0||Wr>0?Fo(be.left+Dl,be.top+uh,Kr-2*hu/3,Wr-2*qu/3,cd.BOTTOM_RIGHT):new Pr(be.left+be.width-2*hu/3,be.top+be.height-2*qu/3),this.bottomLeftBorderDoubleInnerBox=yo>0||ba>0?Fo(be.left+2*ml/3,be.top+Al,yo-2*ml/3,ba-2*qu/3,cd.BOTTOM_LEFT):new Pr(be.left+2*ml/3,be.top+be.height-2*qu/3),this.topLeftBorderStroke=ut>0||Tt>0?Fo(be.left+ml/2,be.top+cl/2,ut-ml/2,Tt-cl/2,cd.TOP_LEFT):new Pr(be.left+ml/2,be.top+cl/2),this.topRightBorderStroke=ut>0||Tt>0?Fo(be.left+Ls,be.top+cl/2,Yt-hu/2,Hn-cl/2,cd.TOP_RIGHT):new Pr(be.left+be.width-hu/2,be.top+cl/2),this.bottomRightBorderStroke=Kr>0||Wr>0?Fo(be.left+Dl,be.top+uh,Kr-hu/2,Wr-qu/2,cd.BOTTOM_RIGHT):new Pr(be.left+be.width-hu/2,be.top+be.height-qu/2),this.bottomLeftBorderStroke=yo>0||ba>0?Fo(be.left+ml/2,be.top+Al,yo-ml/2,ba-qu/2,cd.BOTTOM_LEFT):new Pr(be.left+ml/2,be.top+be.height-qu/2),this.topLeftBorderBox=ut>0||Tt>0?Fo(be.left,be.top,ut,Tt,cd.TOP_LEFT):new Pr(be.left,be.top),this.topRightBorderBox=Yt>0||Hn>0?Fo(be.left+Ls,be.top,Yt,Hn,cd.TOP_RIGHT):new Pr(be.left+be.width,be.top),this.bottomRightBorderBox=Kr>0||Wr>0?Fo(be.left+Dl,be.top+uh,Kr,Wr,cd.BOTTOM_RIGHT):new Pr(be.left+be.width,be.top+be.height),this.bottomLeftBorderBox=yo>0||ba>0?Fo(be.left,be.top+Al,yo,ba,cd.BOTTOM_LEFT):new Pr(be.left,be.top+be.height),this.topLeftPaddingBox=ut>0||Tt>0?Fo(be.left+ml,be.top+cl,Math.max(0,ut-ml),Math.max(0,Tt-cl),cd.TOP_LEFT):new Pr(be.left+ml,be.top+cl),this.topRightPaddingBox=Yt>0||Hn>0?Fo(be.left+Math.min(Ls,be.width-hu),be.top+cl,Ls>be.width+hu?0:Math.max(0,Yt-hu),Math.max(0,Hn-cl),cd.TOP_RIGHT):new Pr(be.left+be.width-hu,be.top+cl),this.bottomRightPaddingBox=Kr>0||Wr>0?Fo(be.left+Math.min(Dl,be.width-ml),be.top+Math.min(uh,be.height-qu),Math.max(0,Kr-hu),Math.max(0,Wr-qu),cd.BOTTOM_RIGHT):new Pr(be.left+be.width-hu,be.top+be.height-qu),this.bottomLeftPaddingBox=yo>0||ba>0?Fo(be.left+ml,be.top+Math.min(Al,be.height-qu),Math.max(0,yo-ml),Math.max(0,ba-qu),cd.BOTTOM_LEFT):new Pr(be.left+ml,be.top+be.height-qu),this.topLeftContentBox=ut>0||Tt>0?Fo(be.left+ml+vh,be.top+cl+Fg,Math.max(0,ut-(ml+vh)),Math.max(0,Tt-(cl+Fg)),cd.TOP_LEFT):new Pr(be.left+ml+vh,be.top+cl+Fg),this.topRightContentBox=Yt>0||Hn>0?Fo(be.left+Math.min(Ls,be.width+ml+vh),be.top+cl+Fg,Ls>be.width+ml+vh?0:Yt-ml+vh,Hn-(cl+Fg),cd.TOP_RIGHT):new Pr(be.left+be.width-(hu+yv),be.top+cl+Fg),this.bottomRightContentBox=Kr>0||Wr>0?Fo(be.left+Math.min(Dl,be.width-(ml+vh)),be.top+Math.min(uh,be.height+cl+Fg),Math.max(0,Kr-(hu+yv)),Wr-(qu+e0),cd.BOTTOM_RIGHT):new Pr(be.left+be.width-(hu+yv),be.top+be.height-(qu+e0)),this.bottomLeftContentBox=yo>0||ba>0?Fo(be.left+ml+vh,be.top+Al,Math.max(0,yo-(ml+vh)),ba-(qu+e0),cd.BOTTOM_LEFT):new Pr(be.left+ml+vh,be.top+be.height-(qu+e0))}return ve}();(function(ve){ve[ve.TOP_LEFT=0]="TOP_LEFT",ve[ve.TOP_RIGHT=1]="TOP_RIGHT",ve[ve.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ve[ve.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(cd||(cd={}));var Fo=function(ve,fe,ye,be,He){var ut=(Math.sqrt(2)-1)/3*4,Tt=ye*ut,tn=be*ut,Yt=ve+ye,Hn=fe+be;switch(He){case cd.TOP_LEFT:return new Ao(new Pr(ve,Hn),new Pr(ve,Hn-tn),new Pr(Yt-Tt,fe),new Pr(Yt,fe));case cd.TOP_RIGHT:return new Ao(new Pr(ve,fe),new Pr(ve+Tt,fe),new Pr(Yt,Hn-tn),new Pr(Yt,Hn));case cd.BOTTOM_RIGHT:return new Ao(new Pr(Yt,fe),new Pr(Yt,fe+tn),new Pr(ve+Tt,Hn),new Pr(ve,Hn));case cd.BOTTOM_LEFT:default:return new Ao(new Pr(Yt,Hn),new Pr(Yt-Tt,Hn),new Pr(ve,fe+tn),new Pr(ve,fe))}},xu=function(ve){return[ve.topLeftBorderBox,ve.topRightBorderBox,ve.bottomRightBorderBox,ve.bottomLeftBorderBox]},Cu=function(ve){return[ve.topLeftContentBox,ve.topRightContentBox,ve.bottomRightContentBox,ve.bottomLeftContentBox]},F1=function(ve){return[ve.topLeftPaddingBox,ve.topRightPaddingBox,ve.bottomRightPaddingBox,ve.bottomLeftPaddingBox]},Yd=function(){function ve(fe,ye,be){this.offsetX=fe,this.offsetY=ye,this.matrix=be,this.type=0,this.target=6}return ve}(),b1=function(){function ve(fe,ye){this.path=fe,this.target=ye,this.type=1}return ve}(),N1=function(){function ve(fe){this.opacity=fe,this.type=2,this.target=6}return ve}(),Wh=function(ve){return ve.type===0},ag=function(ve){return ve.type===1},Lg=function(ve){return ve.type===2},Hd=function(ve,fe){return ve.length===fe.length&&ve.some(function(ye,be){return ye===fe[be]})},Ph=function(ve,fe,ye,be,He){return ve.map(function(ut,Tt){switch(Tt){case 0:return ut.add(fe,ye);case 1:return ut.add(fe+be,ye);case 2:return ut.add(fe+be,ye+He);case 3:return ut.add(fe,ye+He)}return ut})},cf=function(){function ve(fe){this.element=fe,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ve}(),Dg=function(){function ve(fe,ye){if(this.container=fe,this.parent=ye,this.effects=[],this.curves=new Da(this.container),this.container.styles.opacity<1&&this.effects.push(new N1(this.container.styles.opacity)),this.container.styles.transform!==null){var be=this.container.bounds.left+this.container.styles.transformOrigin[0].number,He=this.container.bounds.top+this.container.styles.transformOrigin[1].number,ut=this.container.styles.transform;this.effects.push(new Yd(be,He,ut))}if(this.container.styles.overflowX!==0){var Tt=xu(this.curves),tn=F1(this.curves);Hd(Tt,tn)?this.effects.push(new b1(Tt,6)):(this.effects.push(new b1(Tt,2)),this.effects.push(new b1(tn,4)))}}return ve.prototype.getEffects=function(fe){for(var ye=[2,3].indexOf(this.container.styles.position)===-1,be=this.parent,He=this.effects.slice(0);be;){var ut=be.effects.filter(function(Yt){return!ag(Yt)});if(ye||be.container.styles.position!==0||!be.parent){if(He.unshift.apply(He,ut),ye=[2,3].indexOf(be.container.styles.position)===-1,be.container.styles.overflowX!==0){var Tt=xu(be.curves),tn=F1(be.curves);Hd(Tt,tn)||He.unshift(new b1(tn,6))}}else He.unshift.apply(He,ut);be=be.parent}return He.filter(function(Yt){return lf(Yt.target,fe)})},ve}(),ym=function(ve,fe,ye,be){ve.container.elements.forEach(function(He){var ut=lf(He.flags,4),Tt=lf(He.flags,2),tn=new Dg(He,ve);lf(He.styles.display,2048)&&be.push(tn);var Yt=lf(He.flags,8)?[]:be;if(ut||Tt){var Hn=ut||He.styles.isPositioned()?ye:fe,Wn=new cf(tn);if(He.styles.isPositioned()||He.styles.opacity<1||He.styles.isTransformed()){var Kr=He.styles.zIndex.order;if(Kr<0){var Wr=0;Hn.negativeZIndex.some(function(yo,ba){return Kr>yo.element.container.styles.zIndex.order?(Wr=ba,!1):Wr>0}),Hn.negativeZIndex.splice(Wr,0,Wn)}else if(Kr>0){var Zi=0;Hn.positiveZIndex.some(function(yo,ba){return Kr>=yo.element.container.styles.zIndex.order?(Zi=ba+1,!1):Zi>0}),Hn.positiveZIndex.splice(Zi,0,Wn)}else Hn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Wn)}else He.styles.isFloating()?Hn.nonPositionedFloats.push(Wn):Hn.nonPositionedInlineLevel.push(Wn);ym(tn,Wn,ut?Wn:ye,Yt)}else He.styles.isInlineLevel()?fe.inlineLevel.push(tn):fe.nonInlineLevel.push(tn),ym(tn,fe,ye,Yt);lf(He.flags,8)&&SA(He,Yt)})},SA=function(ve,fe){for(var ye=ve instanceof y4?ve.start:1,be=ve instanceof y4&&ve.reversed,He=0;He0&&ye.intrinsicHeight>0){var ut=vw(ye),Tt=F1(be);this.path(Tt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(He,0,0,ye.intrinsicWidth,ye.intrinsicHeight,ut.left,ut.top,ut.width,ut.height),this.ctx.restore()}},fe.prototype.renderNodeContent=function(ye){return u(this,void 0,void 0,function(){var be,He,ut,Tt,tn,Yt,Hn,Wn,Kr,Wr,Zi,yo,ba,eu,Aa,Ls,uh,Dl;return d(this,function(Al){switch(Al.label){case 0:this.applyEffects(ye.getEffects(4)),be=ye.container,He=ye.curves,ut=be.styles,Tt=0,tn=be.textNodes,Al.label=1;case 1:return Tt0&&fp>0&&(qu=ut.ctx.createPattern(Al,"repeat"),ut.renderRepeat(Fg,qu,wv,xv))):Zy(Wn)&&(ml=M2(ye,be,[null,null,null]),Fg=ml[0],yv=ml[1],e0=ml[2],vh=ml[3],fp=ml[4],mb=Wn.position.length===0?[wA]:Wn.position,wv=Gd(mb[0],vh),xv=Gd(mb[mb.length-1],fp),bw=q6(Wn,wv,xv,vh,fp),xm=bw[0],Mf=bw[1],xm>0&&Mf>0&&(vb=ut.ctx.createRadialGradient(yv+wv,e0+xv,0,yv+wv,e0+xv,xm),n4(Wn.stops,2*xm).forEach(function(kT){return vb.addColorStop(kT.stop,ld(kT.color))}),ut.path(Fg),ut.ctx.fillStyle=vb,xm!==Mf?(Mx=ye.bounds.left+.5*ye.bounds.width,yw=ye.bounds.top+.5*ye.bounds.height,ET=1/($4=Mf/xm),ut.ctx.save(),ut.ctx.translate(Mx,yw),ut.ctx.transform(1,0,0,$4,0,0),ut.ctx.translate(-Mx,-yw),ut.ctx.fillRect(yv,ET*(e0-yw)+yw,vh,fp*ET),ut.ctx.restore()):ut.ctx.fill())),_S.label=6;case 6:return be--,[2]}})},ut=this,Tt=0,tn=ye.styles.backgroundImage.slice(0).reverse(),Hn.label=1;case 1:return Tt0?Wn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Wn.color,Wn.width,tn,ye.curves,2)]:[3,11]:[3,13];case 4:return Wr.sent(),[3,11];case 5:return Wn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Wn.color,Wn.width,tn,ye.curves,3)];case 6:return Wr.sent(),[3,11];case 7:return Wn.style!==4?[3,9]:[4,this.renderDoubleBorder(Wn.color,Wn.width,tn,ye.curves)];case 8:return Wr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Wn.color,tn,ye.curves)];case 10:Wr.sent(),Wr.label=11;case 11:tn++,Wr.label=12;case 12:return Yt++,[3,3];case 13:return[2]}})})},fe.prototype.renderDashedDottedBorder=function(ye,be,He,ut,Tt){return u(this,void 0,void 0,function(){var tn,Yt,Hn,Wn,Kr,Wr,Zi,yo,ba,eu,Aa,Ls,uh,Dl,Al,cl;return d(this,function(hu){return this.ctx.save(),tn=bv(ut,He),Yt=uf(ut,He),Tt===2&&(this.path(Yt),this.ctx.clip()),sa(Yt[0])?(Hn=Yt[0].start.x,Wn=Yt[0].start.y):(Hn=Yt[0].x,Wn=Yt[0].y),sa(Yt[1])?(Kr=Yt[1].end.x,Wr=Yt[1].end.y):(Kr=Yt[1].x,Wr=Yt[1].y),Zi=Math.abs(He===0||He===2?Hn-Kr:Wn-Wr),this.ctx.beginPath(),Tt===3?this.formatPath(tn):this.formatPath(Yt.slice(0,2)),yo=be<3?3*be:2*be,ba=be<3?2*be:be,Tt===3&&(yo=be,ba=be),eu=!0,Zi<=2*yo?eu=!1:Zi<=2*yo+ba?(yo*=Aa=Zi/(2*yo+ba),ba*=Aa):(Ls=Math.floor((Zi+ba)/(yo+ba)),uh=(Zi-Ls*yo)/(Ls-1),ba=(Dl=(Zi-(Ls+1)*yo)/Ls)<=0||Math.abs(ba-uh)0&&arguments[0]!==void 0?arguments[0]:[];Wo(f=mu(document.body.children)).call(f,function(m,b){g[b]!==void 0&&(m.style.display=g[b])})}(u),document.body.style.overflow=d})};function zWn(t,n){jZt(t,function(i,o){window.scrollTo(0,0),UWn(i,{allowTaint:!0,height:i.clientHeight,width:i.clientWidth,scrollY:0,scrollX:0}).then(function(s){(function(u,d){var f=document.createElement("a");f.style.display="none",f.href=u,f.download="".concat(d,".png"),document.body.appendChild(f),f.click(),document.body.removeChild(f)})(s.toDataURL("image/jpeg"),n),o()})})}var KWn=Rse.f,VWn=Ta(KWn),WWn=Ta([].push),TNt=function(t){return function(n){for(var i,o=W3(n),s=$$(o),u=s.length,d=0,f=[];u>d;)i=s[d++],Xd&&!VWn(o,i)||WWn(f,t?[i,o[i]]:o[i]);return f}},UZt={entries:TNt(!0),values:TNt(!1)},XWn=UZt.values;Ho({target:"Object",stat:!0},{values:function(t){return XWn(t)}});var jV=jc.Object.values,GWn=UZt.entries;Ho({target:"Object",stat:!0},{entries:function(t){return GWn(t)}});var zae=jc.Object.entries,YWn={mouseResize:{},getImgPosition:function(){var t=this.img.getBoundingClientRect(),n=this.previewerDom.parentNode.getBoundingClientRect(),i=Jm(this.img.style.padding)||0;return{bottom:t.bottom-n.bottom,top:t.top-n.top+1.5*i,height:t.height,width:t.width,right:t.right-n.right,left:t.left-n.left+1.5*i,x:t.x-n.x,y:t.y-n.y}},initBubbleButtons:function(){var t=this.getImgPosition();return{points:{arr:["leftTop","leftBottom","rightTop","rightBottom","leftMiddle","middleBottom","middleTop","rightMiddle"],arrInfo:{leftTop:{name:"20",left:0,top:0},leftBottom:{name:"00",left:0,top:0},rightTop:{name:"22",left:0,top:0},rightBottom:{name:"02",left:0,top:0},leftMiddle:{name:"10",left:0,top:0},middleBottom:{name:"01",left:0,top:0},middleTop:{name:"21",left:0,top:0},rightMiddle:{name:"12",left:0,top:0}}},imgSrc:this.img.src,style:{width:this.img.width,height:this.img.height,left:t.left-1,top:t.top-1,marginTop:0,marginLeft:0},scrollTop:this.previewerDom.scrollTop,position:t}},showBubble:function(t,n,i){this.$isResizing()||(this.img=t,this.previewerDom=i,this.container=n,this.buts=this.initBubbleButtons(),this.drawBubbleButs())},emit:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};switch(t){case"mousedown":return this.resizeBegin(n);case"mouseup":return this.resizeStop(n);case"mousemove":return this.resizeWorking(n);case"scroll":return this.dealScroll(n);case"remove":return this.remove();case"previewUpdate":return this.previewUpdate(n)}},previewUpdate:function(t){this.$isResizing()||(this.remove(),t())},drawBubbleButs:function(){var t,n=this;return this.butsLayout||(this.butsLayout=this.container,this.butsImg=document.createElement("div"),this.butsImg.className="cherry-previewer-img-size-handler__background",this.butsImg.style.backgroundImage="url(".concat(this.buts.imgSrc,")"),this.butsLayout.appendChild(this.butsImg),this.butsPoints={},Wo(t=ad(this.buts.points.arr)).call(t,function(i){var o=n.buts.points.arr[i],s=document.createElement("div");s.className=["cherry-previewer-img-size-handler__points","cherry-previewer-img-size-handler__points-".concat(o)].join(" "),s.dataset.name=o,n.butsLayout.appendChild(s),n.butsPoints["pints-".concat(o)]=s})),this.updateBubbleButs()},remove:function(){this.butsLayout=!1},updateBubbleButs:function(){var t,n,i=this;this.$updatePointsInfo(),Wo(t=ad(this.buts.style)).call(t,function(o){i.butsLayout.style[o]="".concat(i.buts.style[o],"px")}),Wo(n=ad(this.buts.points.arr)).call(n,function(o){var s=i.buts.points.arr[o];i.butsPoints["pints-".concat(s)].style.top="".concat(i.buts.points.arrInfo[s].top,"px"),i.butsPoints["pints-".concat(s)].style.left="".concat(i.buts.points.arrInfo[s].left,"px")})},$updatePointsInfo:function(){var t,n=this,i=this.buts.style.width,o=this.buts.style.height,s=this.$getPointsInfo(i,o);Wo(t=ad(this.buts.points.arr)).call(t,function(u){var d=n.buts.points.arr[u];n.buts.points.arrInfo[d].left!==s[d].left&&(n.buts.points.arrInfo[d].left=s[d].left),n.buts.points.arrInfo[d].top!==s[d].top&&(n.buts.points.arrInfo[d].top=s[d].top)})},$getPointsInfo:function(t,n){return{leftTop:{left:0,top:0},leftBottom:{left:0,top:n},rightTop:{left:t,top:0},rightBottom:{left:t,top:n},leftMiddle:{left:0,top:n/2},middleBottom:{left:t/2,top:n},middleTop:{left:t/2,top:0},rightMiddle:{left:t,top:n/2}}},$isResizing:function(){return this.mouseResize.resize},dealScroll:function(t){var n=this.getImgPosition();this.butsLayout.style.marginTop!==n.top-this.buts.position.top&&(this.butsLayout.style.marginTop="".concat(n.top-this.buts.position.top,"px"),this.buts.style.marginTop="".concat(n.top-this.buts.position.top,"px")),this.butsLayout.style.marginLeft!==n.left-this.buts.position.left&&(this.butsLayout.style.marginLeft="".concat(n.left-this.buts.position.left,"px"),this.buts.style.marginLeft="".concat(n.left-this.buts.position.left,"px"))},initMouse:function(){return{left:0,top:0,resize:!1,name:""}},resizeBegin:function(t){var n=t.target;if(!n.classList.contains("cherry-previewer-img-size-handler__points"))return!1;this.mouseResize.left=t.clientX,this.mouseResize.top=t.clientY,this.mouseResize.resize=!0,this.mouseResize.name=n.getAttribute("data-name"),this.previewerDom.classList.add("doing-resize-img")},resizeStop:function(t,n,i,o){if(!this.$isResizing())return!1;this.img.style.width="".concat(this.buts.style.width,"px"),this.img.style.height="".concat(this.buts.style.height,"px"),this.buts.style.marginTop=0,this.buts.style.marginLeft=0,this.updateBubbleButs(),this.mouseResize.resize=!1,this.previewerDom.classList.remove("doing-resize-img"),this.change()},resizeWorking:function(t,n){if(this.$isResizing()){var i=t.clientX-this.mouseResize.left,o=t.clientY-this.mouseResize.top,s={};switch(this.mouseResize.name){case"leftTop":case"leftBottom":case"leftMiddle":s=this.$getChange(i,o,"x"),this.buts.style.width=this.buts.position.width-s.changeX,this.mouseResize.name!=="leftMiddle"&&(this.buts.style.height=this.buts.position.height-s.changeY);break;case"rightTop":case"rightBottom":case"rightMiddle":s=this.$getChange(i,o,"x"),this.buts.style.width=this.buts.position.width+s.changeX,this.mouseResize.name!=="rightMiddle"&&(this.buts.style.height=this.buts.position.height+s.changeY);break;case"middleTop":s=this.$getChange(i,o,"y"),this.buts.style.height=this.buts.position.height-s.changeY;break;case"middleBottom":s=this.$getChange(i,o,"y"),this.buts.style.height=this.buts.position.height+s.changeY}this.updateBubbleButs(),this.change()}},change:function(){this.emitChange(this.img,{width:this.buts.style.width,height:this.buts.style.height})},bindChange:function(t){this.emitChange=t},$getChange:function(t,n,i){var o={changeX:0,changeY:0};return i==="y"?(o.changeY=n,o.changeX=n*this.buts.position.width/this.buts.position.height):(o.changeX=t,o.changeY=t*this.buts.position.height/this.buts.position.width),o}},Hje=YWn,qWn=X$.every,JWn=rG("every");Ho({target:"Array",proto:!0,forced:!JWn},{every:function(t){return qWn(this,t,arguments.length>1?arguments[1]:void 0)}});var ZWn=Ig("Array").every,Qje=Array.prototype,QW=function(t){var n=t.every;return t===Qje||of(Qje,t)&&n===Qje.every?ZWn:n},eXn=Fi.TypeError,zZt=function(t,n,i,o,s,u,d,f){for(var g,m,b=s,w=0,C=!!d&&mA(d,f);w0&&D$(g))m=rx(g),b=zZt(t,n,g,m,b,u-1)-1;else{if(b>=9007199254740991)throw eXn("Exceed the acceptable array length");t[b]=g}b++}w++}return b},tXn=zZt;Ho({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,n=X3(this),i=rx(n),o=U5e(n,0);return o.length=tXn(o,n,n,i,0,t===void 0?1:tG(t)),o}});var nXn=Ig("Array").flat,jje=Array.prototype,rXn=function(t){var n=t.flat;return t===jje||of(jje,t)&&n===jje.flat?nXn:n},iXn=function(){function t(n,i,o,s,u,d){vi(this,t),Ni(this,"tableEditor",{info:{},tableCodes:[],editorDom:{}}),this.trigger=n,this.target=i,this.previewerDom=s,this.container=o,this.codeMirror=u,this.$initReg(),this.$findTableInEditor(),this.tableElement=d}return bi(t,[{key:"emit",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};switch(n){case"keyup":return this.trigger==="click"&&this.$onInputChange(i);case"remove":return this.$remove();case"scroll":case"previewUpdate":return this.$refreshPosition();case"mousedown":return;case"mouseup":return this.trigger==="click"&&this.$tryRemoveMe(i,o)}}},{key:"$tryRemoveMe",value:function(n,i){/textarea/i.test(n.target.tagName)||(this.$remove(),i())}},{key:"$getPosition",value:function(){var n=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.tableEditor.info.tdNode).getBoundingClientRect(),i=this.previewerDom.parentNode.getBoundingClientRect();return{top:n.top-i.top,height:n.height,width:n.width,left:n.left-i.left,maxHeight:i.height}}},{key:"setStyle",value:function(n,i,o){n.getBoundingClientRect()[i]!==o&&(n.style[i]=o)}},{key:"$setInputOffset",value:function(){var n=this.$getPosition(),i=this.tableEditor.editorDom.inputDiv;this.setStyle(i,"width","".concat(n.width,"px")),this.setStyle(i,"height","".concat(n.height,"px")),this.setStyle(i,"top","".concat(n.top,"px")),this.setStyle(i,"left","".concat(n.left,"px"));var o=n.top>=0&&n.top+n.height<=n.maxHeight;this.setStyle(i,"display",o?"":"none")}},{key:"$setSymbolOffset",value:function(){var n,i=this,o=this.tableEditor.editorDom.symbolContainer,s=this.tableEditor.info,u=s.tableNode,d=s.trNode,f=s.isTHead,g=this.$getPosition(u),m=this.$getPosition(d),b=this.$getPosition(),w=this.previewerDom.getBoundingClientRect();this.setStyle(this.container,"width","".concat(g.width,"px")),this.setStyle(this.container,"height","".concat(g.height,"px")),this.setStyle(this.container,"top","".concat(g.top,"px")),this.setStyle(this.container,"left","".concat(g.left,"px")),Wo(n=o.childNodes).call(n,function(C){var T,k=C.dataset,$=k.index,O=k.type,B=k.dir,P=20,N=7;i.setStyle(C,{Row:["left","right"],Col:["top","bottom"]}[B][$],"-".concat(P,"px")),i.setStyle(C,"display","");var L={LastRow:function(){return i.setStyle(C,"top","".concat(m.top-g.top-N,"px"))},NextRow:function(){return i.setStyle(C,"top","".concat(m.top-g.top+m.height-N,"px"))},LastCol:function(){return i.setStyle(C,"left","".concat(b.left-g.left-N,"px"))},NextCol:function(){return i.setStyle(C,"left","".concat(b.left-g.left+b.width-N,"px"))}},R=St(T="".concat(O)).call(T,B);L[R](),i.setStyle(C,"display",function(H){var Q,q=H.getBoundingClientRect(),X={top:[w.top,w.top+w.height-q.height],left:[w.left,w.left+w.width-q.width]};return QW(Q=zae(X)).call(Q,function(re){var J=od(re,2),V=J[0],ue=od(J[1],2),Y=ue[0],le=ue[1];return q[V]>=Y&&q[V]<=le})}(C)?"":"none"),f&&R==="LastRow"&&i.setStyle(C,"display","none")})}},{key:"$refreshPosition",value:function(){this.trigger!=="click"?this.$setSymbolOffset():this.$setInputOffset()}},{key:"$remove",value:function(){this.tableEditor={info:{},tableCodes:[],editorDom:{}}}},{key:"$collectTableCode",value:function(){var n=[];this.codeMirror.getValue().replace(this.codeBlockReg,function(i){return i.replace(/\|/g,".")}).replace(this.tableReg,function(i){var o,s=i.replace(/^\n*/,""),u=((o=(arguments.length<=1?0:arguments.length-1)-2+1)<1||arguments.length<=o?void 0:arguments[o])+i.match(/^\n*/)[0].length;n.push({code:s,offset:u})}),this.tableEditor.tableCodes=n}},{key:"$collectTableDom",value:function(){var n,i,o,s=mu(this.previewerDom.querySelectorAll("table.cherry-table")),u=this.$getClosestNode(this.target,"TABLE");if(u===!1)return!1;var d=Jf(n=mu(this.target.parentElement.childNodes)).call(n,function(f){return f.tagName.toLowerCase()==="td"}).length;this.tableEditor.info={tableNode:u,tdNode:this.target,trNode:this.target.parentElement,tdIndex:vu(i=mu(this.target.parentElement.childNodes)).call(i,this.target),trIndex:vu(o=mu(this.target.parentElement.parentElement.childNodes)).call(o,this.target.parentElement),isTHead:this.target.parentElement.parentElement.tagName!=="TBODY",totalTables:s.length,tableIndex:vu(s).call(s,u),tableText:u.textContent.replace(/[\s]/g,""),columns:d}}},{key:"$setSelection",value:function(n){var i,o,s,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"table",d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],f=this.tableEditor.tableCodes[n],g=this.codeMirror.getValue(),m=this.tableEditor.info,b=(i=(o=Eo(g).call(g,0,f.offset).match(/\n/g))===null||o===void 0?void 0:o.length)!==null&&i!==void 0?i:0,w=this.$getTdOffset(f.code,m.isTHead,m.trIndex,m.tdIndex),C=w.preLine,T=w.preCh,k=w.plusCh,$=w.currentTd;if(u==="table"){var O=b+f.code.match(/\n/g).length,B=f.code.match(/[^\n]+\n*$/)[0].length;this.tableEditor.info.selection=[{line:b,ch:0},{line:O,ch:B}]}else this.tableEditor.info.selection=[{line:b+C,ch:T},{line:b+C,ch:T+k}];d&&(s=this.codeMirror).setSelection.apply(s,_L(this.tableEditor.info.selection)),this.tableEditor.info.code=$}},{key:"$getTdOffset",value:function(n,i,o,s){for(var u=i?0:o+2,d=n.split(/\n/)[u].split(/\|/),f=/^\s*$/.test(d[0]),g=f?s+1:s,m=d[g],b=[],w=0;w/g,` +`),this.tableEditor.editorDom.inputDom.focus()}},{key:"$onInputChange",value:function(n){n.target.tagName==="TEXTAREA"&&this.codeMirror.replaceSelection(n.target.value.replace(/\n/g,"
    "),"around")}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var n=getComputedStyle(this.tableEditor.info.tdNode);this.tableEditor.editorDom.inputDom.style.textAlign=n.textAlign||"left",this.tableEditor.editorDom.inputDom.style.fontSize=n.fontSize||"16px",this.tableEditor.editorDom.inputDom.style.fontFamily=n.fontFamily,this.tableEditor.editorDom.inputDom.style.lineHeight=n.lineHeight,this.tableEditor.editorDom.inputDom.style.padding=n.padding,/left/.test(n.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingRight="0px"),/right/.test(n.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingLeft="0px"),/center/.test(n.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingLeft="0px",this.tableEditor.editorDom.inputDom.style.paddingRight="0px"),this.tableEditor.editorDom.inputDom.style.paddingBottom="0px"}},{key:"$getClosestNode",value:function(n,i){return n.tagName===i?n:n.parentNode.tagName!=="BODY"&&this.$getClosestNode(n.parentNode,i)}},{key:"$drawSymbol",value:function(){var n,i=this,o=["Last","Next"],s=["Row","Col"],u={Row:"行",Col:"列"},d=rXn(n=Ws(s).call(s,function(g,m){return Ws(o).call(o,function(b){return Ws(s).call(s,function(w){return["".concat(m),b,w]})})})).call(n,2),f=document.createElement("ul");f.className="cherry-previewer-table-hover-handler-container",Wo(d).call(d,function(g){var m=od(g,3),b=m[0],w=m[1],C=m[2],T=document.createElement("li");T.setAttribute("data-index",b),T.setAttribute("data-type",w),T.setAttribute("data-dir",C),T.className="cherry-previewer-table-hover-handler__symbol",T.title="添加".concat(u[C]),T.innerHTML="+",T.addEventListener("click",function(k){var $,O=k.target;if(O instanceof HTMLElement){var B=O.dataset,P=B.type,N=B.dir;i[St($="$add".concat(P)).call($,N)]()}}),f.appendChild(T)},!0),this.tableEditor.editorDom.symbolContainer=f,this.container.appendChild(this.tableEditor.editorDom.symbolContainer),this.$setSymbolOffset()}},{key:"$addLastRow",value:function(){var n=od(this.tableEditor.info.selection,1)[0].line,i="".concat(Gf("|").call("|",this.tableEditor.info.columns),` +`);this.codeMirror.replaceRange(i,{line:n,ch:0}),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"td")}},{key:"$addNextRow",value:function(){var n=od(this.tableEditor.info.selection,2)[1].line,i="".concat(Gf("|").call("|",this.tableEditor.info.columns),` +`);this.codeMirror.replaceRange(i,{line:n+1,ch:0}),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"td")}},{key:"$addLastCol",value:function(){var n=this;this.$setSelection(this.tableEditor.info.tableIndex,"table");var i=this.codeMirror.getSelection().split(` +`),o=Ws(i).call(i,function(u,d){var f=u.split("|"),g=d===1?":-:":"";return z5(f).call(f,n.tableEditor.info.tdIndex+1,0,g),f.join("|")}),s=o.join(` +`);this.codeMirror.replaceSelection(s),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"table")}},{key:"$addNextCol",value:function(){var n=this;this.$setSelection(this.tableEditor.info.tableIndex,"table");var i=this.codeMirror.getSelection().split(` +`),o=Ws(i).call(i,function(u,d){var f=u.split("|"),g=d===1?":-:":"";return z5(f).call(f,n.tableEditor.info.tdIndex+2,0,g),f.join("|")}),s=o.join(` +`);this.codeMirror.replaceSelection(s),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"table")}},{key:"$drawDrag",value:function(){var n=this.tableEditor.info.isTHead;this.$setSelection(this.tableEditor.info.tableIndex,"table"),n?this.$dragCol():this.$dragLine()}},{key:"$dragCol",value:function(){var n=this.tableEditor.info.tdIndex,i=this.target.parentElement,o=this.codeMirror.getSelection().split(/\n/),s=this.tableEditor.info.tdNode,u=this;s.setAttribute("draggable",!0),i.addEventListener("dragleave",function(d){u.setStyle(d.target,"border","1px solid #dfe6ee")}),i.addEventListener("dragover",function(d){var f;d.preventDefault();var g=vu(f=mu(d.target.parentElement.childNodes)).call(f,d.target);u.$dragSymbol(d.target,n,g)}),i.addEventListener("drop",function(d){var f;d.preventDefault();var g=vu(f=mu(d.target.parentElement.childNodes)).call(f,d.target),m=Ws(o).call(o,function(w,C){var T,k=Jf(T=w.split("|")).call(T,function($,O){return $!==""});return"|".concat(u.$operateLines(n,g,k).join("|"),"|")}),b=m.join(` +`);u.codeMirror.replaceSelection(b),u.setStyle(d.target,"border","1px solid #dfe6ee"),u.$findTableInEditor(),u.$setSelection(u.tableEditor.info.tableIndex,"table")})}},{key:"$dragLine",value:function(){var n=this.tableEditor.info.trNode;n.setAttribute("draggable",!0),this.$setSelection(this.tableEditor.info.tableIndex,"table");var i=this.tableEditor.info.trIndex+2,o=n.parentElement,s=this.codeMirror.getSelection().split(/\n/),u=this;o.addEventListener("dragleave",function(d){u.setStyle(d.target.parentElement,"border","1px solid #dfe6ee")}),o.addEventListener("dragover",function(d){var f;d.preventDefault();var g=vu(f=mu(d.target.parentElement.parentElement.childNodes)).call(f,d.target.parentElement)+2;u.$dragSymbol(d.target,i,g)}),o.addEventListener("drop",function(d){var f;d.preventDefault();var g=vu(f=mu(d.target.parentElement.parentElement.childNodes)).call(f,d.target.parentElement)+2,m=u.$operateLines(i,g,s).join(` +`);u.codeMirror.replaceSelection(m),u.$findTableInEditor(),u.$setSelection(u.tableEditor.info.tableIndex,"table"),u.setStyle(d.target.parentElement,"border","1px solid #dfe6ee")})}},{key:"$dragSymbol",value:function(n,i,o){var s=this.target;s!==n&&i!==o&&(s.tagName==="TH"?io&&(this.setStyle(n,"border","1px solid #dfe6ee"),this.setStyle(n,"border-left","2px solid #6897bb")):s.tagName==="TD"&&(io&&(this.setStyle(n.parentElement,"border","1px solid #dfe6ee"),this.setStyle(n.parentElement,"border-top","2px solid #6897bb"))))}},{key:"$operateLines",value:function(n,i,o){if(ni){var s=o[n];z5(o).call(o,n,1),z5(o).call(o,i,0,s)}return o}}]),t}(),ENt=["javascript","typescript","html","css","shell","python","golang","java","c","c++","c#","php","ruby","swift","kotlin","scala","rust","dart","elixir","haskell","lua","perl","r","sql"],KZt=Error,oXn=Ta("".replace),aXn=String(KZt("zxcasd").stack),VZt=/\n\s*at [^:]*:[^\n]*/,sXn=VZt.test(aXn),lXn=!Xu(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",X5(1,7)),t.stack!==7)}),cXn=tg("toStringTag"),j3e=Fi.Error,uXn=[].push,Kae=function(t,n){var i,o=arguments.length>2?arguments[2]:void 0,s=of(Uje,this);Oae?i=Oae(new j3e,s?hQ(this):Uje):(i=s?this:q5(Uje),Zb(i,cXn,"Error")),n!==void 0&&Zb(i,"message",function(d,f){return d===void 0?arguments.length<2?"":f:Wu(d)}(n)),lXn&&Zb(i,"stack",function(d,f){if(sXn&&typeof d=="string"&&!KZt.prepareStackTrace)for(;f--;)d=oXn(d,VZt,"");return d}(i.stack,1)),function(d,f){g1(f)&&"cause"in f&&Zb(d,"cause",f.cause)}(i,o);var u=[];return Qp(t,uXn,{that:u}),Zb(i,"errors",u),i};Oae?Oae(Kae,j3e):function(t,n,i){for(var o=Dqt(n),s=Ny.f,u=G9.f,d=0;d=51&&/native code/.test(t))return!1;var i=new Ly(function(s){s(1)}),o=function(s){s(function(){},function(){})};return(i.constructor={})[bXn]=o,!(qZt=i.then(function(){})instanceof o)||!n&&vXn&&!JZt}),lG={CONSTRUCTOR:yXn,REJECTION_EVENT:JZt,SUBCLASSING:qZt},wXn=function(t){var n,i;this.promise=new t(function(o,s){if(n!==void 0||i!==void 0)throw TypeError("Bad Promise constructor");n=o,i=s}),this.resolve=xd(n),this.reject=xd(i)},H$={f:function(t){return new wXn(t)}},ZZt=XZt.set,Lye="Promise",RNt=lG.CONSTRUCTOR,xXn=lG.REJECTION_EVENT,Zje=sb.getterFor(Lye),CXn=sb.set,SXn=Ly&&Ly.prototype,Eie=Ly,eUe=SXn,een=Fi.TypeError,QVe=Fi.document,rqe=Fi.process,jVe=H$.f,TXn=jVe,EXn=!!(QVe&&QVe.createEvent&&Fi.dispatchEvent),ten="unhandledrejection",nen=function(t){var n;return!(!g1(t)||!ah(n=t.then))&&n},ren=function(t,n){var i,o,s,u=n.value,d=n.state==1,f=d?t.ok:t.fail,g=t.resolve,m=t.reject,b=t.domain;try{f?(d||(n.rejection===2&&BXn(n),n.rejection=1),f===!0?i=u:(b&&b.enter(),i=f(u),b&&(b.exit(),s=!0)),i===t.promise?m(een("Promise-chain cycle")):(o=nen(i))?Yl(o,i,g,m):g(i)):m(u)}catch(w){b&&!s&&b.exit(),m(w)}},ien=function(t,n){t.notified||(t.notified=!0,nqe(function(){for(var i,o=t.reactions;i=o.get();)ren(i,t);t.notified=!1,n&&!t.rejection&&kXn(t)}))},oen=function(t,n,i){var o,s;EXn?((o=QVe.createEvent("Event")).promise=n,o.reason=i,o.initEvent(t,!1,!0),Fi.dispatchEvent(o)):o={promise:n,reason:i},!xXn&&(s=Fi["on"+t])?s(o):t===ten&&function(u,d){var f=Fi.console;f&&f.error&&(arguments.length==1?f.error(u):f.error(u,d))}("Unhandled promise rejection",i)},kXn=function(t){Yl(ZZt,Fi,function(){var n,i=t.facade,o=t.value;if(HNt(t)&&(n=sG(function(){O$?rqe.emit("unhandledRejection",o,i):oen(ten,i,o)}),t.rejection=O$||HNt(t)?2:1,n.error))throw n.value})},HNt=function(t){return t.rejection!==1&&!t.parent},BXn=function(t){Yl(ZZt,Fi,function(){var n=t.facade;O$?rqe.emit("rejectionHandled",n):oen("rejectionhandled",n,t.value)})},bW=function(t,n,i){return function(o){t(n,o,i)}},jW=function(t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,ien(t,!0))},UVe=function(t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===n)throw een("Promise can't be resolved itself");var o=nen(n);o?nqe(function(){var s={done:!1};try{Yl(o,n,bW(UVe,s,t),bW(jW,s,t))}catch(u){jW(s,u,t)}}):(t.value=n,t.state=1,ien(t,!1))}catch(s){jW({done:!1},s,t)}}};RNt&&(eUe=(Eie=function(t){oG(this,eUe),xd(t),Yl(Jje,this);var n=Zje(this);try{t(bW(UVe,n),bW(jW,n))}catch(i){jW(n,i)}}).prototype,(Jje=function(t){CXn(this,{type:Lye,done:!1,notified:!1,parent:!1,reactions:new mXn,rejection:!1,state:0,value:void 0})}).prototype=Q3(eUe,"then",function(t,n){var i=Zje(this),o=jVe(Rae(this,Eie));return i.parent=!0,o.ok=!ah(t)||t,o.fail=ah(n)&&n,o.domain=O$?rqe.domain:void 0,i.state==0?i.reactions.add(o):nqe(function(){ren(o,i)}),o.promise}),FNt=function(){var t=new Jje,n=Zje(t);this.promise=t,this.resolve=bW(UVe,n),this.reject=bW(jW,n)},H$.f=jVe=function(t){return t===Eie||t===void 0?new FNt(t):TXn(t)}),Ho({global:!0,constructor:!0,wrap:!0,forced:RNt},{Promise:Eie}),L$(Eie,Lye,!1,!0),LJt(Lye);var aen=lG.CONSTRUCTOR||!pJt(function(t){Ly.all(t).then(void 0,function(){})});Ho({target:"Promise",stat:!0,forced:aen},{all:function(t){var n=this,i=H$.f(n),o=i.resolve,s=i.reject,u=sG(function(){var d=xd(n.resolve),f=[],g=0,m=1;Qp(t,function(b){var w=g++,C=!1;m++,Yl(d,n,b).then(function(T){C||(C=!0,f[w]=T,--m||o(f))},s)}),--m||o(f)});return u.error&&s(u.value),i.promise}});var _Xn=lG.CONSTRUCTOR;Ly&&Ly.prototype,Ho({target:"Promise",proto:!0,forced:_Xn,real:!0},{catch:function(t){return this.then(void 0,t)}}),Ho({target:"Promise",stat:!0,forced:aen},{race:function(t){var n=this,i=H$.f(n),o=i.reject,s=sG(function(){var u=xd(n.resolve);Qp(t,function(d){Yl(u,n,d).then(i.resolve,o)})});return s.error&&o(s.value),i.promise}}),Ho({target:"Promise",stat:!0,forced:lG.CONSTRUCTOR},{reject:function(t){var n=H$.f(this);return Yl(n.reject,void 0,t),n.promise}});var zVe=function(t,n){if(Cd(t),g1(n)&&n.constructor===t)return n;var i=H$.f(t);return(0,i.resolve)(n),i.promise},$Xn=lG.CONSTRUCTOR,IXn=rv("Promise"),OXn=!$Xn;Ho({target:"Promise",stat:!0,forced:!0},{resolve:function(t){return zVe(OXn&&this===IXn?Ly:this,t)}}),Ho({target:"Promise",stat:!0},{allSettled:function(t){var n=this,i=H$.f(n),o=i.resolve,s=i.reject,u=sG(function(){var d=xd(n.resolve),f=[],g=0,m=1;Qp(t,function(b){var w=g++,C=!1;m++,Yl(d,n,b).then(function(T){C||(C=!0,f[w]={status:"fulfilled",value:T},--m||o(f))},function(T){C||(C=!0,f[w]={status:"rejected",reason:T},--m||o(f))})}),--m||o(f)});return u.error&&s(u.value),i.promise}});var QNt="No one promise resolved";Ho({target:"Promise",stat:!0},{any:function(t){var n=this,i=rv("AggregateError"),o=H$.f(n),s=o.resolve,u=o.reject,d=sG(function(){var f=xd(n.resolve),g=[],m=0,b=1,w=!1;Qp(t,function(C){var T=m++,k=!1;b++,Yl(f,n,C).then(function($){k||w||(w=!0,s($))},function($){k||w||(k=!0,g[T]=$,--b||u(new i(g,QNt)))})}),--b||u(new i(g,QNt))});return d.error&&u(d.value),o.promise}});var MXn=Ly&&Ly.prototype,PXn=!!Ly&&Xu(function(){MXn.finally.call({then:function(){}},function(){})});Ho({target:"Promise",proto:!0,real:!0,forced:PXn},{finally:function(t){var n=Rae(this,rv("Promise")),i=ah(t);return this.then(i?function(o){return zVe(n,t()).then(function(){return o})}:t,i?function(o){return zVe(n,t()).then(function(){throw o})}:t)}});var sen=jc.Promise,LXn=sen;Ho({target:"Promise",stat:!0,forced:!0},{try:function(t){var n=H$.f(this),i=sG(t);return(i.error?n.reject:n.resolve)(i.value),n.promise}});var iqe=LXn;function jNt(t,n,i,o,s,u,d){try{var f=t[u](d),g=f.value}catch(m){return void i(m)}f.done?n(g):iqe.resolve(g).then(o,s)}function len(t){return function(){var n=this,i=arguments;return new iqe(function(o,s){var u=t.apply(n,i);function d(g){jNt(u,o,s,d,f,"next",g)}function f(g){jNt(u,o,s,d,f,"throw",g)}d(void 0)})}}var cen=Jc(function(t){function n(i){return t.exports=n=typeof O6=="function"&&typeof zqt=="symbol"?function(o){return typeof o}:function(o){return o&&typeof O6=="function"&&o.constructor===O6&&o!==O6.prototype?"symbol":typeof o},t.exports.__esModule=!0,t.exports.default=t.exports,n(i)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports});LQ(cen);var tUe=Lqt,DXn=Ta([].reverse),UNt=[1,2];Ho({target:"Array",proto:!0,forced:String(UNt)===String(UNt.reverse())},{reverse:function(){return D$(this)&&(this.length=this.length),DXn(this)}});var FXn=Ig("Array").reverse,nUe=Array.prototype,uen=function(t){var n=t.reverse;return t===nUe||of(nUe,t)&&n===nUe.reverse?FXn:n},NXn=uen,den=Jc(function(t){var n=cen.default;function i(){t.exports=i=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var o={},s=Object.prototype,u=s.hasOwnProperty,d=typeof O6=="function"?O6:{},f=d.iterator||"@@iterator",g=d.asyncIterator||"@@asyncIterator",m=d.toStringTag||"@@toStringTag";function b(V,ue,Y){return Kse(V,ue,{value:Y,enumerable:!0,configurable:!0,writable:!0}),V[ue]}try{b({},"")}catch{b=function(ue,Y,le){return ue[Y]=le}}function w(V,ue,Y,le){var te=ue&&ue.prototype instanceof k?ue:k,Z=Loe(te.prototype),Ae=new X(le||[]);return Z._invoke=function(Se,ke,Be){var we="suspendedStart";return function(Ce,Qe){if(we==="executing")throw new Error("Generator is already running");if(we==="completed"){if(Ce==="throw")throw Qe;return J()}for(Be.method=Ce,Be.arg=Qe;;){var Ve=Be.delegate;if(Ve){var ze=H(Ve,Be);if(ze){if(ze===T)continue;return ze}}if(Be.method==="next")Be.sent=Be._sent=Be.arg;else if(Be.method==="throw"){if(we==="suspendedStart")throw we="completed",Be.arg;Be.dispatchException(Be.arg)}else Be.method==="return"&&Be.abrupt("return",Be.arg);we="executing";var ht=C(Se,ke,Be);if(ht.type==="normal"){if(we=Be.done?"completed":"suspendedYield",ht.arg===T)continue;return{value:ht.arg,done:Be.done}}ht.type==="throw"&&(we="completed",Be.method="throw",Be.arg=ht.arg)}}}(V,Y,Ae),Z}function C(V,ue,Y){try{return{type:"normal",arg:V.call(ue,Y)}}catch(le){return{type:"throw",arg:le}}}o.wrap=w;var T={};function k(){}function $(){}function O(){}var B={};b(B,f,function(){return this});var P=Doe&&Doe(Doe(re([])));P&&P!==s&&u.call(P,f)&&(B=P);var N=O.prototype=k.prototype=Loe(B);function L(V){var ue;tUe(ue=["next","throw","return"]).call(ue,function(Y){b(V,Y,function(le){return this._invoke(Y,le)})})}function R(V,ue){function Y(te,Z,Ae,Se){var ke=C(V[te],V,Z);if(ke.type!=="throw"){var Be=ke.arg,we=Be.value;return we&&n(we)=="object"&&u.call(we,"__await")?ue.resolve(we.__await).then(function(Ce){Y("next",Ce,Ae,Se)},function(Ce){Y("throw",Ce,Ae,Se)}):ue.resolve(we).then(function(Ce){Be.value=Ce,Ae(Be)},function(Ce){return Y("throw",Ce,Ae,Se)})}Se(ke.arg)}var le;this._invoke=function(te,Z){function Ae(){return new ue(function(Se,ke){Y(te,Z,Se,ke)})}return le=le?le.then(Ae,Ae):Ae()}}function H(V,ue){var Y=V.iterator[ue.method];if(Y===void 0){if(ue.delegate=null,ue.method==="throw"){if(V.iterator.return&&(ue.method="return",ue.arg=void 0,H(V,ue),ue.method==="throw"))return T;ue.method="throw",ue.arg=new TypeError("The iterator does not provide a 'throw' method")}return T}var le=C(Y,V.iterator,ue.arg);if(le.type==="throw")return ue.method="throw",ue.arg=le.arg,ue.delegate=null,T;var te=le.arg;return te?te.done?(ue[V.resultName]=te.value,ue.next=V.nextLoc,ue.method!=="return"&&(ue.method="next",ue.arg=void 0),ue.delegate=null,T):te:(ue.method="throw",ue.arg=new TypeError("iterator result is not an object"),ue.delegate=null,T)}function Q(V){var ue={tryLoc:V[0]};1 in V&&(ue.catchLoc=V[1]),2 in V&&(ue.finallyLoc=V[2],ue.afterLoc=V[3]),this.tryEntries.push(ue)}function q(V){var ue=V.completion||{};ue.type="normal",delete ue.arg,V.completion=ue}function X(V){this.tryEntries=[{tryLoc:"root"}],tUe(V).call(V,Q,this),this.reset(!0)}function re(V){if(V){var ue=V[f];if(ue)return ue.call(V);if(typeof V.next=="function")return V;if(!isNaN(V.length)){var Y=-1,le=function te(){for(;++Y=0;--le){var te=this.tryEntries[le],Z=te.completion;if(te.tryLoc==="root")return Y("end");if(te.tryLoc<=this.prev){var Ae=u.call(te,"catchLoc"),Se=u.call(te,"finallyLoc");if(Ae&&Se){if(this.prev=0;--Y){var le=this.tryEntries[Y];if(le.tryLoc<=this.prev&&u.call(le,"finallyLoc")&&this.prev=0;--ue){var Y=this.tryEntries[ue];if(Y.finallyLoc===V)return this.complete(Y.completion,Y.afterLoc),q(Y),T}},catch:function(V){for(var ue=this.tryEntries.length-1;ue>=0;--ue){var Y=this.tryEntries[ue];if(Y.tryLoc===V){var le=Y.completion;if(le.type==="throw"){var te=le.arg;q(Y)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(V,ue,Y){return this.delegate={iterator:re(V),resultName:ue,nextLoc:Y},this.method==="next"&&(this.arg=void 0),T}},o}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports});LQ(den);var SX=den();function hen(t){function n(i){i.clipboardData.setData("text/html",t),i.clipboardData.setData("text/plain",t),i.preventDefault()}document.addEventListener("copy",n),document.execCommand("copy"),document.removeEventListener("copy",n)}function RXn(t){var n=document.createElement("input");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n)}function sH(t){return KVe.apply(this,arguments)}function KVe(){return KVe=len(SX.mark(function t(n){return SX.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(navigator.clipboard){i.next=3;break}return RXn(n),i.abrupt("return");case 3:return i.next=5,navigator.clipboard.writeText(n);case 5:return i.abrupt("return",i.sent);case 6:case"end":return i.stop()}},t)})),KVe.apply(this,arguments)}var HXn=function(){function t(n,i,o,s,u,d){vi(this,t),Ni(this,"codeBlockEditor",{info:{},editorDom:{}}),this.trigger=n,this.target=i,this.previewerDom=s,this.container=o,this.codeMirror=u,this.$cherry=d.previewer.$cherry,this.parent=d,this.$initReg()}return bi(t,[{key:"$initReg",value:function(){this.codeBlockReg=this.codeBlockReg?this.codeBlockReg:J5e().reg}},{key:"emit",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};switch(n){case"remove":return this.$remove();case"scroll":return this.$updateContainerPosition();case"previewUpdate":return this.$updateContainerPosition(),void(this.editing&&this.$setInputOffset());case"mouseup":return this.$tryRemoveMe(i,o)}}},{key:"$remove",value:function(){this.codeBlockEditor={info:{},codeBlockCodes:[],editorDom:{}}}},{key:"$tryRemoveMe",value:function(n,i){var o=this.codeBlockEditor.editorDom.inputDiv;this.editing&&o&&!o.contains(n.target)&&(this.editing=!1,this.$remove(),i())}},{key:"$findCodeInEditor",value:function(){var n=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.$collectCodeBlockDom(),this.$collectCodeBlockCode(),n?this.$setLangSelection(this.codeBlockEditor.info.codeBlockIndex):this.$setBlockSelection(this.codeBlockEditor.info.codeBlockIndex)}},{key:"$collectCodeBlockDom",value:function(){var n=mu(this.previewerDom.querySelectorAll('[data-type="codeBlock"]'));this.codeBlockEditor.info={codeBlockNode:this.target,codeBlockIndex:vu(n).call(n,this.target)}}},{key:"$collectCodeBlockCode",value:function(){var n=[];this.codeMirror.getValue().replace(this.codeBlockReg,function(i){var o,s=i.replace(/^\n*/,""),u=((o=(arguments.length<=1?0:arguments.length-1)-2+1)<1||arguments.length<=o?void 0:arguments[o])+i.match(/^\n*/)[0].length;vX(s).call(s,"```mermaid")||n.push({code:s,offset:u})}),this.codeBlockEditor.codeBlockCodes=n}},{key:"$setBlockSelection",value:function(n){var i,o,s,u,d=this.codeBlockEditor.codeBlockCodes[n],f=this.codeMirror.getValue(),g=(i=(o=Eo(f).call(f,0,d.offset).match(/\n/g))===null||o===void 0?void 0:o.length)!==null&&i!==void 0?i:0,m=g+d.code.match(/\n/g).length,b=Eo(s=d.code).call(s,0,-3).match(/[^\n]+\n*$/)[0].length;this.codeBlockEditor.info.selection=[{line:m-1,ch:b},{line:g+1,ch:0}],(u=this.codeMirror).setSelection.apply(u,_L(this.codeBlockEditor.info.selection))}},{key:"$setLangSelection",value:function(n){var i,o,s,u,d=this.codeBlockEditor.codeBlockCodes[n],f=this.codeMirror.getValue(),g=(i=(o=Eo(f).call(f,0,d.offset).match(/\n/g))===null||o===void 0?void 0:o.length)!==null&&i!==void 0?i:0,m=((s=d.code.match(/```\s*[^\n]+/)[0])!==null&&s!==void 0?s:"```").length;this.codeBlockEditor.info.selection=[{line:g,ch:3},{line:g,ch:m}],(u=this.codeMirror).setSelection.apply(u,_L(this.codeBlockEditor.info.selection))}},{key:"showBubble",value:function(){var n=this,i=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];this.$updateContainerPosition(),this.trigger==="hover"&&this.$showBtn(i),this.trigger==="click"&&this.$showContentEditor(),this.container.addEventListener("wheel",function(o){o.stopPropagation(),o.preventDefault(),n.previewerDom.scrollTop+=o.deltaY/3})}},{key:"$showContentEditor",value:function(){this.editing=!0,this.$findCodeInEditor(),this.$drawEditor()}},{key:"$showBtn",value:function(n){var i=this,o=this.target.dataset,s=o.changeLang,u=o.editCode,d=o.copyCode,f=o.lang;if(this.container.innerHTML="",s==="true"&&n){this.container.innerHTML=function(w){var C=Ws(ENt).call(ENt,function(T){var k,$;return w===T?St($='"):St(k='")});return'`)}(f);var g=this.container.querySelector("#code-preview-lang-select");this.changeLangDom=g,this.changeLangDom.addEventListener("change",function(w){w.preventDefault(),w.stopPropagation(),i.parent.$removeAllPreviewerBubbles("click"),i.$changeLang(w.target.value||"")})}if(u==="true"&&n){var m=document.createElement("div");m.className="cherry-edit-code-block",m.innerHTML='',this.container.appendChild(m),m.addEventListener("click",function(w){w.preventDefault(),w.stopPropagation(),i.$hideAllBtn(),i.parent.$removeAllPreviewerBubbles("click"),i.parent.showCodeBlockPreviewerBubbles("click",i.target)}),this.editDom=m}if(d==="true"){var b=document.createElement("div");b.className="cherry-copy-code-block",b.innerHTML='',this.container.appendChild(b),b.addEventListener("click",function(w){w.preventDefault(),w.stopPropagation(),i.parent.$removeAllPreviewerBubbles("click"),i.$copyCodeBlock()}),this.copyDom=b}}},{key:"$hideAllBtn",value:function(){var n,i,o,s,u,d;(n=this.changeLangDom)!==null&&n!==void 0&&(i=n.style)!==null&&i!==void 0&&i.display&&(this.changeLangDom.style.display="none"),(o=this.editDom)!==null&&o!==void 0&&(s=o.style)!==null&&s!==void 0&&s.display&&(this.editDom.style.display="none"),(u=this.copyDom)!==null&&u!==void 0&&(d=u.style)!==null&&d!==void 0&&d.display&&(this.copyDom.style.display="none")}},{key:"$changeLang",value:function(n){this.$findCodeInEditor(!0),this.codeMirror.replaceSelection(n,"around")}},{key:"$drawEditor",value:function(){var n=document.createElement("div");n.className="cherry-previewer-codeBlock-content-handler__input";var i=document.createElement("textarea");i.id="codeMirrorEditor",n.appendChild(i);var o=ev.fromTextArea(i,{mode:"",theme:"default",scrollbarStyle:"null",lineNumbers:!0,autofocus:!0,lineWrapping:!0,cursorHeight:.85,indentUnit:4,tabSize:4,keyMap:"sublime"}),s=this.codeMirror;o.on("change",function(){s.replaceSelection(o.getValue(),"around")}),this.codeBlockEditor.editorDom.inputDiv=n,this.codeBlockEditor.editorDom.inputDom=o,this.$updateEditorPosition(),this.container.appendChild(this.codeBlockEditor.editorDom.inputDiv),this.codeBlockEditor.editorDom.inputDom.focus(),this.codeBlockEditor.editorDom.inputDom.refresh(),o.setValue(this.codeMirror.getSelection())}},{key:"$copyCodeBlock",value:function(){var n=this.target.lastElementChild.innerText,i=this.$cherry.options.callback.onCopyCode({target:this.target},n);if(i===!1)return!1;var o=this.copyDom.querySelector("i.ch-icon-copy");o&&(o.className=o.className.replace("copy","ok"),gA(function(){o.className=o.className.replace("ok","copy")},1e3)),hen(i)}},{key:"$updateContainerPosition",value:function(){this.codeBlockEditor.info.codeBlockNode=this.target;var n=this.$getPosition();this.setStyle(this.container,"width","".concat(n.width,"px")),this.setStyle(this.container,"top","".concat(n.top,"px")),this.setStyle(this.container,"left","".concat(n.left,"px"))}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var n=getComputedStyle(this.codeBlockEditor.info.codeBlockNode),i=this.codeBlockEditor.editorDom.inputDom.getWrapperElement();this.setStyle(i,"fontSize",n.fontSize||"16px"),this.setStyle(i,"fontFamily",n.fontFamily),this.setStyle(i,"lineHeight","1.8em"),this.setStyle(i,"zIndex","1")}},{key:"$setInputOffset",value:function(){var n=this.$getPosition(),i=this.codeBlockEditor.editorDom.inputDiv;this.setStyle(i,"width","".concat(n.width,"px")),this.setStyle(i,"height","".concat(n.height+10,"px"))}},{key:"setStyle",value:function(n,i,o){n.getBoundingClientRect()[i]!==o&&(n.style[i]=o)}},{key:"$getPosition",value:function(){var n=this.codeBlockEditor.info.codeBlockNode.getBoundingClientRect(),i=this.previewerDom.parentNode.getBoundingClientRect();return{top:n.top-i.top,height:n.height,width:n.width,left:n.left-i.left,maxHeight:i.height}}}]),t}(),zNt=function(t,n,i){return Math.min(Math.max(t,n),i)},KNt={open:function(){this.resetStyle(),this.dom.style.display="block",this.postMessage("ready?")},close:function(){this.dom.style.display="none"},postMessage:function(t){var n,i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(n=this.iframeDom)===null||n===void 0||(i=n.contentWindow)===null||i===void 0||i.postMessage({eventName:t,value:o},"*")},resetStyle:function(){var t=this.dom;t.style.left="10%",t.style.top="10%"},bindEvents:function(){this.bindClickEvents(),this.bindDNDEvents()},bindClickEvents:function(){var t=this;this.headCloseButton.addEventListener("click",function(){t.close()}),this.footSureButton.addEventListener("click",function(){t.postMessage("getData")})},bindDNDEvents:function(){var t,n,i=this.dom,o=this.head,s=this.body,u=function(f){f.preventDefault();var g=zNt(f.clientX-t,0,window.innerWidth-16),m=zNt(f.clientY-n,0,window.innerHeight-16);i.style.left="".concat(g,"px"),i.style.top="".concat(m,"px")},d=function f(g){o.style.cursor="grab",s.style.pointerEvents=null,document.removeEventListener("mousemove",u),document.removeEventListener("mousemove",f)};o.addEventListener("mousedown",function(f){f.target.classList.contains("cherry-dialog--close")||(t=f.clientX-i.offsetLeft,n=f.clientY-i.offsetTop,o.style.cursor="grabbing",s.style.pointerEvents="none",document.addEventListener("mousemove",u),document.addEventListener("mouseup",d))})},draw:function(t,n,i){var o=this,s=t.iframeSrc,u=t.title;if(this.onSubmit=i,this.onReady=n,this.dom)return new RegExp("".concat(s,"$"),"i").test(this.iframeDom.src)||(this.iframeDom.src=s),void this.open();window.addEventListener("message",function(d){if(d.data&&d.data.eventName)switch(d.data.eventName){case"getData:success":o.onSubmit(d.data.value),o.close();case"ready":o.onReady()}}),this.iframeDom=Vu("iframe","cherry-dialog-iframe",{src:s,style:"border: none;"}),this.dom=Vu("div","cherry-dialog",{style:["z-index:9999","display: block","position: absolute","top: 10%;left: 10%;width: 80%;height: 80%;","background-color: #FFF","box-shadow: 0px 50px 100px -12px rgba(0,0,0,.05),0px 30px 60px -30px rgba(0,0,0,.1)","border-radius: 6px","border: 1px solid #ddd;"].join(";")}),this.head=Vu("div","cherry-dialog--head",{style:["height: 30px","line-height: 30px","padding-left: 10px","padding-right: 10px","cursor: grab;"].join(";")}),this.body=Vu("div","cherry-dialog--body",{style:["position: absolute","bottom: 30px","top: 30px","left: 0","right: 0","overflow: hidden"].join(";")}),this.foot=Vu("div","cherry-dialog--foot",{style:["height: 30px","line-height: 30px","padding-left: 10px","padding-right: 10px","position: absolute","bottom: 0","left: 0","right: 0"].join(";")}),this.headTitle=Vu("span","cherry-dialog--title",{style:"user-select:none;"}),this.headCloseButton=Vu("i","cherry-dialog--close ch-icon ch-icon-close",{style:"float: right;font-size: 12px;cursor: pointer;"}),this.footSureButton=Vu("button","cherry-dialog--sure",{style:["float: right","cursor: pointer","margin: 3px","background-color: #4d90fe","color: #FFF","border: 1px solid #4d90fe","border-radius: 2px","padding: 2px 15px","user-select:none"].join(";")}),this.headCloseButton.title="关闭",this.footSureButton.textContent="确定",this.headTitle.textContent=u,this.head.appendChild(this.headTitle),this.head.appendChild(this.headCloseButton),this.foot.appendChild(this.footSureButton),this.body.appendChild(this.iframeDom),this.dom.appendChild(this.head),this.dom.appendChild(this.body),this.dom.appendChild(this.foot),this.bindEvents(),document.body.appendChild(this.dom)}};function fen(){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i={iframeSrc:arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",title:"draw.io"};KNt.draw(i,function(){KNt.postMessage("setData",t)},function(o){n(o)})}var rUe=function(){return Q7.Date.now()},QXn=/\s/,jXn=function(t){for(var n=t.length;n--&&QXn.test(t.charAt(n)););return n},UXn=/^\s+/,zXn=function(t){return t&&t.slice(0,jXn(t)+1).replace(UXn,"")},KXn=/^[-+]0x[0-9a-f]+$/i,VXn=/^0b[01]+$/i,WXn=/^0o[0-7]+$/i,XXn=parseInt,VNt=function(t){if(typeof t=="number")return t;if(pZt(t))return NaN;if(L7(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=L7(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=zXn(t);var i=VXn.test(t);return i||WXn.test(t)?XXn(t.slice(2),i?2:8):KXn.test(t)?NaN:+t},GXn=Math.max,YXn=Math.min,qXn=function(t,n,i){var o,s,u,d,f,g,m=0,b=!1,w=!1,C=!0;if(typeof t!="function")throw new TypeError("Expected a function");function T(P){var N=o,L=s;return o=s=void 0,m=P,d=t.apply(L,N)}function k(P){var N=P-g;return g===void 0||N>=n||N<0||w&&P-m>=u}function $(){var P=rUe();if(k(P))return O(P);f=setTimeout($,function(N){var L=n-(N-g);return w?YXn(L,u-(N-m)):L}(P))}function O(P){return f=void 0,C&&o?T(P):(o=s=void 0,d)}function B(){var P=rUe(),N=k(P);if(o=arguments,s=this,g=P,N){if(f===void 0)return function(L){return m=L,f=setTimeout($,n),b?T(L):d}(g);if(w)return clearTimeout(f),f=setTimeout($,n),T(g)}return f===void 0&&(f=setTimeout($,n)),d}return n=VNt(n)||0,L7(i)&&(b=!!i.leading,u=(w="maxWait"in i)?GXn(VNt(i.maxWait)||0,n):u,C="trailing"in i?!!i.trailing:C),B.cancel=function(){f!==void 0&&clearTimeout(f),m=0,o=g=s=f=void 0},B.flush=function(){return f===void 0?d:O(rUe())},B};function WNt(t,n){var i=document.createElement("a");i.href=t,i.download=n,i.click(),i.remove()}function JXn(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.format!=="svg"){var i=n.width,o=i===void 0?t.width.baseVal.value:i,s=n.height,u=s===void 0?t.height.baseVal.value:s,d=n.scale,f=d===void 0?5:d,g=n.quality,m=g===void 0?1:g,b=n.backgroundColor,w=b===void 0?"white":b,C=n.filename,T=C===void 0?"formula":C,k=n.format,$=k===void 0?"png":k,O=n.mimeType,B=O===void 0?"image/png":O,P=VVe(t),N=document.createElement("canvas"),L=N.getContext("2d"),R=new Image;R.src="data:image/svg+xml;base64,".concat(btoa(unescape(encodeURIComponent(P)))),R.onload=function(){N.width=o*f,N.height=u*f,L.fillStyle=w,L.fillRect(0,0,N.width,N.height),L.drawImage(R,0,0,N.width,N.height),N.toBlob(function(Q){var q,X=vW.createObjectURL(Q);WNt(X,St(q="".concat(T,".")).call(q,$)),vW.revokeObjectURL(X)},B,m)}}else{var H;(function(Q,q){var X=VVe(Q),re=new Blob([X],{type:"image/svg+xml;charset=utf-8"}),J=vW.createObjectURL(re);WNt(J,q),vW.revokeObjectURL(J)})(t,(H=n.filename)!==null&&H!==void 0?H:"formula.svg")}}function VVe(t){return new XMLSerializer().serializeToString(t)}var ZXn=function(){function t(n,i,o,s,u){vi(this,t),Ni(this,"bubbleContainer",null),this.trigger=n,this.target=i,this.container=o,this.previewerDom=s,this.editor=u}return bi(t,[{key:"emit",value:function(n,i){switch(n){case"remove":case"scroll":return this.remove()}}},{key:"drawBubble",value:function(){var n,i,o,s=document.createElement("div");s.innerHTML=`
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    `,s.id="formula-utils-bubble-container",s.className=["formula-utils-bubble-container"].join(" "),this.bubbleContainer=s,this==null||(n=this.editor)===null||n===void 0||(i=n.$cherry)===null||i===void 0||(o=i.wrapperDom)===null||o===void 0||o.appendChild(s)}},{key:"showBubble",value:function(n,i){var o,s,u,d,f,g=this==null||(o=this.editor)===null||o===void 0||(s=o.$cherry)===null||s===void 0||(u=s.wrapperDom)===null||u===void 0||(d=u.children)===null||d===void 0?void 0:d.namedItem("formula-utils-bubble-container"),m=this.target.getBoundingClientRect();g instanceof HTMLElement?this.bubbleContainer=g:this.drawBubble(),this.bubbleContainer.style.display="flex",this.bubbleContainer.style.top="".concat(i||m.top,"px"),this.bubbleContainer.style.left="".concat(n||m.left,"px"),this.bubbleContainer.addEventListener("click",va(f=this.bubbleClickHandler).call(f,this),{once:!0}),this.collectFormulaCode()}},{key:"collectFormulaCode",value:function(){var n=[];this.editor.editor.getValue().replace(/(\$+)\s*([\w\W]*?)\s*(\1)/g,function(i,o,s,u,d){n.push({code:s,offset:d})}),this.formulaCode=n}},{key:"remove",value:function(){this.bubbleContainer&&(this.bubbleContainer.style.display="none")}},{key:"bubbleClickHandler",value:function(n){var i=this;n.preventDefault(),n.stopPropagation();var o=n.target;if(o instanceof HTMLButtonElement){var s=o.dataset.name,u=s===void 0?"":s;switch(u){case"svg":case"png":case"jpg":this.target instanceof SVGSVGElement&&JXn(this.target,{format:u});break;case"html":case"svgcode":if(this.target instanceof SVGSVGElement)if(u==="svgcode")sH(VVe(this.target));else{var d=this.target.parentElement.querySelector("math");d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),sH(d.outerHTML)}break;case"\\":case"$":case"$$":case"latex":case"mathml":case"docx":var f=this.previewerDom.querySelectorAll("mjx-container"),g=-1;if(Wo(f).call(f,function(N,L){N===i.target.parentElement&&(g=L)}),g>=0&&this.formulaCode[g]){var m=this.formulaCode[g].code;if(u==="mathml"||u==="docx"){var b,w,C,T,k=Fae(b=this.editor.$cherry.engine.hooks.paragraph).call(b,function(N){return N instanceof qYe});k&&k.engine==="MathJax"&&((w=window.MathJax)===null||w===void 0||w.texReset(),(C=window.MathJax)===null||C===void 0||(T=C.tex2mmlPromise)===null||T===void 0||T.call(C,m,{display:!0}).then(function(N){u==="mathml"&&sH(N)}))}else if(u==="latex")sH(m);else if(u==="$"){var $,O;sH(St($=St(O="".concat(u)).call(O,m)).call($,u))}else if(u==="$$"){var B,P;sH(St(B=St(P="".concat(u,` +`)).call(P,m,` +`)).call(B,u))}else u==="\\"&&sH("\\".concat(m))}}}this.remove()}}]),t}();G9.f;var XNt=Ta("".endsWith),eGn=Ta("".slice),tGn=Math.min,nGn=zYe("endsWith");Ho({target:"String",proto:!0,forced:!nGn},{endsWith:function(t){var n=Wu(RL(this));UYe(t);var i=arguments.length>1?arguments[1]:void 0,o=n.length,s=i===void 0?o:tGn(EYe(i),o),u=Wu(t);return XNt?XNt(n,u,s):eGn(n,s-u.length,s)===u}});var rGn=Ig("String").endsWith,iUe=String.prototype,iGn=function(t){var n=t.endsWith;return typeof t=="string"||t===iUe||of(iUe,t)&&n===iUe.endsWith?rGn:n},oGn=function(){function t(n,i,o,s,u){var d,f;vi(this,t),Ni(this,"bubbleContainer",null),Ni(this,"regList",$Jt),Ni(this,"range",[]),Ni(this,"position",{line:0,ch:0}),Ni(this,"input",!1),Ni(this,"isCheckbox",!1),this.trigger=n,this.target=i,this.container=o,this.previewerDom=s,this.editor=u,this.handleEditablesInputBinded=va(d=this.handleEditablesInput).call(d,this),this.handleEditablesUnfocusBinded=va(f=this.handleEditablesUnfocus).call(f,this),this.target.addEventListener("input",this.handleEditablesInputBinded,!1),this.target.addEventListener("focusout",this.handleEditablesUnfocusBinded,!1),this.setSelection()}return bi(t,[{key:"emit",value:function(n,i){if(n==="remove")return this.remove()}},{key:"remove",value:function(){this.bubbleContainer&&(this.bubbleContainer.style.display="none",this.bubbleContainer.children[0]instanceof HTMLTextAreaElement&&(this.bubbleContainer.children[0].value="")),this.target.removeAttribute("contenteditable"),this.target.removeEventListener("input",this.handleEditablesInputBinded,!1),this.target.removeEventListener("focusout",this.handleEditablesUnfocusBinded,!1);var n=this.editor.editor.getCursor();this.editor.editor.setSelection(n,n)}},{key:"setSelection",value:function(){var n,i,o=this,s=mu(this.previewerDom.querySelectorAll("li.cherry-list-item")),u=O3e(s).call(s,function(T){return T===o.target.parentElement});if(u!==-1){var d=(n=(i=kye(this==null?void 0:this.editor.editor.getValue()))===null||i===void 0?void 0:i.split(` +`))!==null&&n!==void 0?n:[],f=0,g=-1,m=-1,b="";Wo(d).call(d,function(T,k){if(T&&T!=="/n"){var $=o.regList.exec(T);if($!==null){var O=od($,5),B=O[1],P=O[2],N=O[3],L=O[4];f===u&&B!==void 0&&(g=k,b=L,m=vu(T).call(T,b),P!=null&&iGn(P).call(P,".")&&(m+=1),N&&(o.isCheckbox=!0)),f+=1}}});var w={line:g,ch:m},C={line:g,ch:m+b.length};this.editor.editor.setSelection(w,C),this.range=[w,C],this.position=this.editor.editor.getCursor()}}},{key:"handleEditablesInput",value:function(n){this.input=!0,n.stopPropagation(),n.preventDefault(),n.target instanceof HTMLParagraphElement&&(n.inputType!=="insertParagraph"&&n.inputType!=="insertLineBreak"||this.handleInsertLineBreak())}},{key:"handleEditablesUnfocus",value:function(n){if(n.stopPropagation(),n.preventDefault(),n.target instanceof HTMLParagraphElement){if(this.input){var i=this.isCheckbox?n.target.innerHTML.replace(/<\/span>/,""):n.target.innerHTML,o=this.editor.$cherry.engine.makeMarkdown(i),s=od(this.range,2),u=s[0],d=s[1];this.editor.editor.replaceRange(o,u,d),this.isCheckbox=!1,this.input=!1}this.remove()}}},{key:"handleInsertLineBreak",value:function(){var n,i,o=this.editor.editor.getCursor(),s=this.editor.editor.getLine(o.line),u=this.regList.exec(s),d=` +- `;u!==null&&(d=St(n=` +`.concat(u[1])).call(n,(i=u[2])===null||i===void 0?void 0:i.replace("[x]","[ ] "))),this.editor.editor.replaceRange(d,{line:o.line,ch:this.editor.editor.getLine(o.line).length}),this.editor.editor.setCursor({line:o.line+1,ch:d.length+1}),this.editor.editor.focus(),this.remove()}}]),t}(),aGn=function(){function t(n){vi(this,t),this.previewer=n,this.editor=n.editor,this.previewerDom=this.previewer.getDom(),this.enablePreviewerBubble=this.previewer.options.enablePreviewerBubble,this.bubble={},this.bubbleHandler={},this.init()}return bi(t,[{key:"init",value:function(){var n,i,o,s=this;this.oldWrapperDomOverflow=this.previewer.$cherry.wrapperDom.style.overflow,this.previewerDom.addEventListener("click",va(n=this.$onClick).call(n,this)),this.previewerDom.addEventListener("mouseover",va(i=this.$onMouseOver).call(i,this)),document.addEventListener("mousedown",function(u){var d;Wo(d=jV(s.bubbleHandler)).call(d,function(f){return f.emit("mousedown",u)})}),document.addEventListener("mouseup",function(u){var d;Wo(d=jV(s.bubbleHandler)).call(d,function(f){return f.emit("mouseup",u,function(){return s.$removeAllPreviewerBubbles("click")})})}),document.addEventListener("mousemove",function(u){var d;Wo(d=jV(s.bubbleHandler)).call(d,function(f){return f.emit("mousemove",u)})}),document.addEventListener("keyup",function(u){var d;Wo(d=jV(s.bubbleHandler)).call(d,function(f){return f.emit("keyup",u)})}),this.previewerDom.addEventListener("scroll",function(u){var d;Wo(d=jV(s.bubbleHandler)).call(d,function(f){return f.emit("scroll",u)})},!0),wl.on(this.previewer.instanceId,wl.Events.previewerClose,function(){return s.$removeAllPreviewerBubbles()}),this.previewer.options.afterUpdateCallBack.push(function(){var u;Wo(u=jV(s.bubbleHandler)).call(u,function(d){return d.emit("previewUpdate",function(){return s.$removeAllPreviewerBubbles()})})}),this.previewerDom.addEventListener("change",va(o=this.$onChange).call(o,this)),this.removeHoverBubble=qXn(function(){return s.$removeAllPreviewerBubbles("hover")},400)}},{key:"isCherryCodeBlock",value:function(n){if(n.nodeName==="DIV"&&n.dataset.type==="codeBlock")return n;var i=this.$getClosestNode(n,"DIV");return i!==!1&&i.dataset.type==="codeBlock"&&i}},{key:"isCherryTable",value:function(n){var i=this.$getClosestNode(n,"DIV");return i!==!1&&!(/simple-table/.test(i.className)||!/cherry-table-container/.test(i.className))&&i}},{key:"$isEnableBubbleAndEditorShow",value:function(){return!!this.enablePreviewerBubble&&this.previewer.$cherry.getStatus().editor!=="hide"}},{key:"$onMouseOver",value:function(n){var i=n.target;if(i instanceof Element&&i.tagName!==void 0){switch(i.tagName){case"TD":case"TH":if(!this.$isEnableBubbleAndEditorShow())return;var o=this.isCherryTable(n.target);return o===!1?void 0:(this.removeHoverBubble.cancel(),this.$removeAllPreviewerBubbles("hover"),void this.$showTablePreviewerBubbles("hover",n.target,o));case"PRE":case"CODE":case"SPAN":case"DIV":var s=this.isCherryCodeBlock(n.target);return s===!1?void 0:void this.showCodeBlockPreviewerBubbles("hover",s)}this.removeHoverBubble()}}},{key:"$onMouseOut",value:function(){this.enablePreviewerBubble&&this.previewer.$cherry.getStatus().editor}},{key:"$dealCheckboxClick",value:function(n){var i=this,o=n.target,s=mu(this.previewerDom.querySelectorAll(".ch-icon-square, .ch-icon-check"));this.checkboxIdx=vu(s).call(s,o);var u=kye(this.editor.editor.getValue()).split(` +`),d=0,f=-1,g=-1;Wo(u).call(u,function(m,b){var w=Ra(m).call(m);(vX(w).call(w,"- [ ]")||vX(w).call(w,"- [x]"))&&(d===i.checkboxIdx&&(f=b,g=vu(m).call(m,"- [")+3),d+=1)}),f!==-1&&(this.editor.editor.setSelection({line:f,ch:g},{line:f,ch:g+1}),this.editor.editor.replaceSelection(this.editor.editor.getSelection()===" "?"x":" ","around"))}},{key:"$onClick",value:function(n){var i,o=this,s=n.target,u=this.previewer.$cherry.getStatus();if(u.editor!=="hide"&&s instanceof Element){if(s instanceof HTMLImageElement&&s.tagName==="IMG"&&s.getAttribute("data-type")==="drawio"){if(!this.beginChangeDrawioImg(s))return;var d=decodeURI(s.getAttribute("data-xml"));fen(this.previewer.$cherry.options.drawioIframeUrl,d,function(g){var m,b=g.xmlData,w=g.base64;o.editor.editor.replaceSelection(St(m="(".concat(w,"){data-type=drawio data-xml=")).call(m,encodeURI(b),"}"),"around")})}else if(this.enablePreviewerBubble&&(s.className!=="ch-icon ch-icon-square"&&s.className!=="ch-icon ch-icon-check"||this.$dealCheckboxClick(n),this.$removeAllPreviewerBubbles("click"),s.tagName!==void 0))switch(s.tagName){case"IMG":s instanceof HTMLImageElement&&this.$showImgPreviewerBubbles(s);break;case"TD":case"TH":if(s instanceof HTMLElement){var f=this.isCherryTable(s);if(f===!1)return;this.$showTablePreviewerBubbles("click",s,f)}break;case"svg":(s==null||(i=s.parentElement)===null||i===void 0?void 0:i.tagName)==="MJX-CONTAINER"&&this.$showFormulaPreviewerBubbles("click",s,{x:n.pageX,y:n.pageY});break;case"A":n.stopPropagation();break;case"P":s instanceof HTMLParagraphElement&&s.parentElement instanceof HTMLLIElement&&(s.children.length!==0&&(n.preventDefault(),n.stopPropagation()),s.setAttribute("contenteditable","true"),s.focus(),this.$showListPreviewerBubbles("click",s))}}else u.previewer==="show"&&this.previewer.$cherry.options.callback.onClickPreview&&this.previewer.$cherry.options.callback.onClickPreview(n)}},{key:"$onChange",value:function(n){}},{key:"$getClosestNode",value:function(n,i){return n.tagName===i?n:n.parentNode.tagName!=="BODY"&&this.$getClosestNode(n.parentNode,i)}},{key:"$removeAllPreviewerBubbles",value:function(){var n,i,o,s,u=this,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";Wo(n=Jf(i=zae(this.bubble)).call(i,function(f){var g=od(f,1)[0];return!d||d===g})).call(n,function(f){var g=od(f,2),m=g[0];g[1].remove(),delete u.bubble[m]}),Wo(o=Jf(s=zae(this.bubbleHandler)).call(s,function(f){var g=od(f,1)[0];return!d||d===g})).call(o,function(f){var g=od(f,2),m=g[0];g[1].emit("remove"),delete u.bubbleHandler[m]}),ad(this.bubbleHandler).length<=0&&(this.previewer.$cherry.wrapperDom.style.overflow=this.oldWrapperDomOverflow||"")}},{key:"$showTablePreviewerBubbles",value:function(n,i,o){if(this.bubbleHandler[n]&&this.bubbleHandler[n].tableElement===o)this.bubbleHandler[n].showBubble();else{this.$createPreviewerBubbles(n,n==="click"?"table-content-handler":"table-hover-handler");var s=new iXn(n,i,this.bubble[n],this.previewerDom,this.editor.editor,o);s.showBubble(),this.bubbleHandler[n]=s}}},{key:"showCodeBlockPreviewerBubbles",value:function(n,i){if(this.bubbleHandler[n]&&this.bubbleHandler[n].target===i)this.removeHoverBubble.cancel();else{this.$removeAllPreviewerBubbles("hover"),this.$createPreviewerBubbles(n,"codeBlock-".concat(n,"-handler"));var o=new HXn(n,i,this.bubble[n],this.previewerDom,this.editor.editor,this);o.showBubble(this.$isEnableBubbleAndEditorShow()),this.bubbleHandler[n]=o}}},{key:"$showImgPreviewerBubbles",value:function(n){var i;this.$createPreviewerBubbles();var o=mu(this.previewerDom.querySelectorAll("img"));if(this.totalImgs=o.length,this.imgIndex=vu(o).call(o,n),!this.beginChangeImgValue(n))return{emit:function(){}};Hje.showBubble(n,this.bubble.click,this.previewerDom),Hje.bindChange(va(i=this.changeImgValue).call(i,this)),this.bubbleHandler.click=Hje}},{key:"$showFormulaPreviewerBubbles",value:function(n,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.$createPreviewerBubbles(n,"formula-hover-handler");var s=new ZXn(n,i,this.bubble[n],this.previewerDom,this.editor);s.showBubble((o==null?void 0:o.x)||0,(o==null?void 0:o.y)||0),this.bubbleHandler[n]=s}},{key:"$showListPreviewerBubbles",value:function(n,i){this.$createPreviewerBubbles(n,"list-hover-handler");var o=new oGn(n,i,this.bubble[n],this.previewerDom,this.editor);this.bubbleHandler[n]=o}},{key:"beginChangeDrawioImg",value:function(n){var i,o=mu(this.previewerDom.querySelectorAll('img[data-type="drawio"]')),s=o.length,u=vu(o).call(o,n),d=kye(this.editor.editor.getValue()),f=d.match(RDt),g=f[u]?Ra(i=f[u].replace(/^!\[.*?\]\((.*?)\)/,"$1")).call(i):"";if(f.length===s||n.getAttribute("src")===g)for(var m=d.split(RDt),b=0,w=0,C=0,T=0,k=0;k0&&arguments[0]!==void 0?arguments[0]:"click",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"img-size-handler";this.bubble[n]||(this.bubble[n]=document.createElement("div"),this.bubble[n].className="cherry-previewer-".concat(i),this.previewerDom.after(this.bubble[n]),n==="hover"&&(this.bubble[n].addEventListener("mouseover",this.removeHoverBubble.cancel),this.bubble[n].addEventListener("mouseout",this.removeHoverBubble)),this.previewer.$cherry.wrapperDom.style.overflow="hidden")}},{key:"$showBorderBubbles",value:function(){}},{key:"$showBtnBubbles",value:function(){}}]),t}(),gen=jc.setInterval,sGn=function(){function t(n,i){vi(this,t),Ni(this,"options",{loadingImgPath:"",maxNumPerTime:2,noLoadImgNum:5,autoLoadImgNum:5,maxTryTimesPerSrc:2,beforeLoadOneImgCallback:function(o){},failLoadOneImgCallback:function(o){},afterLoadOneImgCallback:function(o){},afterLoadAllImgCallback:function(){}}),m$(this.options,n),this.previewer=i,this.srcLoadedList=[],this.srcFailLoadedList={},this.srcLoadingList=[],this.srcList=[],this.loadingImgNum=0,this.lastLoadAllNum=0,this.previewerDom=this.previewer.getDomContainer()}return bi(t,[{key:"isLoaded",value:function(n){var i;return F3e(i=this.srcLoadedList).call(i,n)}},{key:"isLoading",value:function(n){var i;return F3e(i=this.srcLoadingList).call(i,n)}},{key:"loadFailed",value:function(n){this.srcFailLoadedList[n]=this.srcFailLoadedList[n]?this.srcFailLoadedList[n]+1:1}},{key:"isFailLoadedMax",value:function(n){return this.srcFailLoadedList[n]&&this.srcFailLoadedList[n]>this.options.maxTryTimesPerSrc}},{key:"isLoadedAllDone",value:function(){var n=this.previewerDom.querySelectorAll("img[data-src]"),i=this.srcLoadedList.length;return n.length<=0&&this.lastLoadAllNum=w&&P.top<=b,L=o.srcList.length=o.options.maxNumPerTime)return{v:!1};var H,Q=o.options.beforeLoadOneImgCallback(B);if(Q!==void 0&&!Q)return o.loadFailed(R),"continue";R=(H=B.getAttribute("data-src"))!==null&&H!==void 0?H:R,o.loadingImgNum+=1,o.srcList.push(R),o.srcLoadingList.push(R),o.tryLoadOneImg(R,function(){var q,X;B.setAttribute("src",R),B.removeAttribute("data-src"),o.srcLoadedList.push(R),o.loadingImgNum-=1,z5(q=o.srcLoadingList).call(q,vu(X=o.srcLoadingList).call(X,R),1),o.options.afterLoadOneImgCallback(B),o.loadOneImg()},function(){var q,X;o.loadFailed(R),o.loadingImgNum-=1,z5(q=o.srcLoadingList).call(q,vu(X=o.srcLoadingList).call(X,R),1),o.options.failLoadOneImgCallback(B),o.loadOneImg()})},k=0;k]*?)data-src="([^"]+)"([^>]*?)>/g,function(o,s,u,d){var f,g;return St(f=St(g="").replace(/ {2,}/g," ")})}},{key:"changeLoadedDataSrc2Src",value:function(n){var i=this;return n.replace(/]*?)data-src="([^"]+)"([^>]*?)>/g,function(o,s,u,d){var f,g;return i.isLoaded(u)?St(f=St(g="").replace(/ {2,}/g," "):o})}},{key:"$removeSrc",value:function(n){return" ".concat(n).replace(/^(.*?) src=".*?"(.*?$)/,"$1$2")}},{key:"changeSrc2DataSrc",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],s=this.options.loadingImgPath,u=this.options.noLoadImgNum,d=0;return n.replace(/]*?)src="([^"]+)"([^>]*?)>/g,function(f,g,m,b){var w,C,T,k,$;if(/data-src="/.test(f)||!/ src="/.test(f)||u<0)return f;if(o===!1){if(d"):St(w=St(C="")})}}]),t}(),oUe=function(){},lGn=function(){function t(n){vi(this,t),Ni(this,"applyingDomChanges",!1),Ni(this,"syncScrollLockTimer",0),Ni(this,"isMobilePreview",!1),this.options={previewerDom:document.createElement("div"),virtualDragLineDom:document.createElement("div"),editorMaskDom:document.createElement("div"),previewerMaskDom:document.createElement("div"),minBlockPercentage:.2,value:"",enablePreviewerBubble:!0,afterUpdateCallBack:[],isPreviewOnly:!1,previewerCache:{html:"",htmlChanged:!1,layout:{}},lazyLoadImg:{loadingImgPath:"",maxNumPerTime:2,noLoadImgNum:5,autoLoadImgNum:5,maxTryTimesPerSrc:2,beforeLoadOneImgCallback:function(i){},failLoadOneImgCallback:function(i){},afterLoadOneImgCallback:function(i){},afterLoadAllImgCallback:function(){}}},m$(this.options,n),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId(),this.animation={}}return bi(t,[{key:"init",value:function(n){this.disableScrollListener=!1,this.bindScroll(),this.editor=n,this.bindDrag(),this.$initPreviewerBubble(),this.lazyLoadImg=new sGn(this.options.lazyLoadImg,this),this.lazyLoadImg.doLazyLoad(),this.onMouseDown()}},{key:"$initPreviewerBubble",value:function(){this.previewerBubble=new aGn(this)}},{key:"getDomContainer",value:function(){return this.isMobilePreview?this.options.previewerDom.querySelector(".cherry-mobile-previewer-content"):this.options.previewerDom}},{key:"getDom",value:function(){return this.options.previewerDom}},{key:"getValue",value:function(){var n,i,o=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],s="";if(s=this.isPreviewerHidden()?this.options.previewerCache.html:this.getDomContainer().innerHTML,s=this.lazyLoadImg.changeDataSrc2Src(s),!o||!this.$cherry.wrapperDom)return s;var u=this.$cherry.wrapperDom.getAttribute("data-inline-code-theme"),d=this.$cherry.wrapperDom.getAttribute("data-code-block-theme");return St(n=St(i='
    ')).call(n,s,"
    ")}},{key:"isPreviewerHidden",value:function(){return this.options.previewerDom.classList.contains("cherry-previewer--hidden")}},{key:"calculateRealLayout",value:function(n){var i=+(n/(this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width)).toFixed(3);i1-this.options.minBlockPercentage&&(i=+(1-this.options.minBlockPercentage).toFixed(3));var o=+(1-i).toFixed(3);return{editorPercentage:"".concat(100*i,"%"),previewerPercentage:"".concat(100*o,"%")}}},{key:"setRealLayout",value:function(n,i){var o=n,s=i;o&&s||(o="50%",s="50%"),this.editor.options.editorDom.style.width=o,this.options.previewerDom.style.width=s,this.syncVirtualLayoutFromReal()}},{key:"syncVirtualLayoutFromReal",value:function(){var n=this.editor.options.editorDom.getBoundingClientRect(),i=this.options.previewerDom.getBoundingClientRect(),o=n.height,s=this.editor.options.editorDom.offsetTop,u=n.left,d=n.width,f=i.left?i.left-u:0,g=i.width||0,m=this.options,b=m.editorMaskDom,w=m.previewerMaskDom,C=m.virtualDragLineDom;C.style.top="".concat(s,"px"),C.style.left="".concat(f,"px"),C.style.bottom="0px",b.style.height="".concat(o,"px"),b.style.top="".concat(s,"px"),b.style.left="0px",b.style.width="".concat(d,"px"),w.style.height="".concat(o,"px"),w.style.top="".concat(s,"px"),w.style.left="".concat(f,"px"),w.style.width="".concat(g,"px")}},{key:"calculateVirtualLayout",value:function(n,i){var o=this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width,s=n.toFixed(0),u=i-n;uo*(1-this.options.minBlockPercentage)&&(u=+(o*(1-this.options.minBlockPercentage)).toFixed(0));var d=o-u;return{startWidth:i2(s,10),leftWidth:u,rightWidth:d}}},{key:"setVirtualLayout",value:function(n,i,o){var s=this.options,u=s.editorMaskDom,d=s.previewerMaskDom,f=s.virtualDragLineDom;u.style.left="".concat(0,"px"),u.style.width="".concat(i,"px"),f.style.left="".concat(0+i,"px"),d.style.left="".concat(0+i,"px"),d.style.width="".concat(o,"px")}},{key:"bindDrag",value:function(){var n,i=this,o=function(u){u&&u.stopPropagation?u.stopPropagation():u.cancelBubble=!0,u.preventDefault?u.preventDefault():window.event.returnValue=!1;var d=i.editor.options.editorDom.getBoundingClientRect().left,f=u.clientX,g=i.calculateVirtualLayout(d,f);return i.setVirtualLayout(g.startWidth,g.leftWidth,g.rightWidth),!1},s=function u(d){d&&d.stopPropagation?d.stopPropagation():d.cancelBubble=!0,d.preventDefault?d.preventDefault():window.event.returnValue=!1;var f=i.editor.options.editorDom.getBoundingClientRect().left,g=d.clientX,m=i.calculateRealLayout(g-f);return i.setRealLayout(m.editorPercentage,m.previewerPercentage),i.editor.options.editorDom.classList.remove("no-select"),i.options.previewerDom.classList.remove("no-select"),i.options.editorMaskDom.classList.remove("cherry-editor-mask--show"),i.options.previewerMaskDom.classList.remove("cherry-previewer-mask--show"),i.options.virtualDragLineDom.classList.remove("cherry-drag--show"),i.editor.editor.refresh(),lje(document,"mousemove",o,!1),lje(document,"mouseup",u,!1),!1};WP(this.options.virtualDragLineDom,"mousedown",function(u){u&&u.stopPropagation?u.stopPropagation():u.cancelBubble=!0,u.preventDefault?u.preventDefault():window.event.returnValue=!1,i.syncVirtualLayoutFromReal();var d=i.editor.options.editorDom.getBoundingClientRect().left,f=u.clientX,g=i.calculateVirtualLayout(d,f);return i.setVirtualLayout(g.startWidth,g.leftWidth,g.rightWidth),i.options.virtualDragLineDom.classList.contains("cherry-drag--show")||(i.options.virtualDragLineDom.classList.add("cherry-drag--show"),i.options.editorMaskDom.classList.add("cherry-editor-mask--show"),i.options.previewerMaskDom.classList.add("cherry-previewer-mask--show"),i.options.previewerDom.classList.add("no-select"),i.editor.options.editorDom.classList.add("no-select"),WP(document,"mousemove",o,!1),WP(document,"mouseup",s,!1)),!1},!1),WP(window,"resize",va(n=this.syncVirtualLayoutFromReal).call(n,this),!1),this.setRealLayout()}},{key:"bindScroll",value:function(){var n=this,i=this.getDomContainer();oUe=function(){if(n.applyingDomChanges)Py.log(new Date,"sync scroll locked");else if(n.disableScrollListener)n.disableScrollListener=!1;else if(i.scrollTop<=0)n.editor.scrollToLineNum(0,0,1);else if(i.scrollTop+i.offsetHeight+10>i.scrollHeight)n.editor.scrollToLineNum(null);else{for(var o,s=i.getBoundingClientRect(),u={x:s.left+s.width/2,y:s.top+1},d=function(N,L){if(typeof document.elementsFromPoint=="function")return document.elementsFromPoint(N,L);if(typeof document.msElementsFromPoint=="function"){var R=document.msElementsFromPoint(N,L);return R!==null?mu(R):R}var H,Q=[],q=[];do{var X=document.elementFromPoint(N,L);H!==X?(H=X,Q.push(H),q.push(H.style.pointerEvents),H.style.pointerEvents="none"):H=null}while(H);return Wo(Q).call(Q,function(re,J){re.style.pointerEvents=q[J]}),Q}(u.x,u.y),f=0;f0)for(var d=0;d0&&(Wo(n).call(n,function(u,d){var f;Eo(f=u.sign).call(f,0,12)===Eo(i).call(i,0,12)&&d>o&&(s={index:d>o?d:o,sign:i})}),s)}},{key:"$dealWithMyersDiffResult",value:function(n,i,o,s){var u=this;Wo(n).call(n,function(d){switch(o[d.newIndex].dom&&(o[d.newIndex].dom.innerHTML=u.lazyLoadImg.changeLoadedDataSrc2Src(o[d.newIndex].dom.innerHTML)),d.type){case"delete":s.removeChild(i[d.oldIndex].dom);break;case"insert":i[d.oldIndex]?s.insertBefore(o[d.newIndex].dom,i[d.oldIndex].dom):s.appendChild(o[d.newIndex].dom);break;case"update":try{if(o[d.newIndex].dom.querySelector("svg"))throw new Error;u.$updateDom(o[d.newIndex].dom,i[d.oldIndex].dom)}catch{s.insertBefore(o[d.newIndex].dom,i[d.oldIndex].dom),s.removeChild(i[d.oldIndex].dom)}}})}},{key:"$dealUpdate",value:function(n,i,o){if(o.list!==i.list){if(o.list.length&&i.list.length){var s=new GVn(o.list,i.list,function(f,g){return f[g].sign}).doDiff();Py.log(s),this.$dealWithMyersDiffResult(s,i.list,o.list,n)}else if(o.list.length&&!i.list.length){var u;Py.log("add all"),Wo(u=o.list).call(u,function(f){n.appendChild(f.dom)})}else if(!o.list.length&&i.list.length){var d;Py.log("delete all"),Wo(d=i.list).call(d,function(f){n.removeChild(f.dom)})}}}},{key:"refresh",value:function(n){this.getDomContainer().innerHTML=n}},{key:"update",value:function(n){var i=this,o=this.lazyLoadImg.changeSrc2DataSrc(n);if(this.isPreviewerHidden())this.doHtmlCache(o);else{window.clearTimeout(this.syncScrollLockTimer),this.applyingDomChanges=!0;var s=document.createElement("div"),u=this.getDomContainer();s.innerHTML=o;var d=this.$getSignData(s),f=this.$getSignData(u);try{this.$dealUpdate(u,f,d),this.afterUpdate()}finally{this.syncScrollLockTimer=gA(function(){i.applyingDomChanges=!1},50)}}}},{key:"$dealEditAndPreviewOnly",value:function(){var n=this,i=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],o={editorPercentage:"0%",previewerPercentage:"100%"};i&&(o={editorPercentage:"100%",previewerPercentage:"0%"});var s=this.editor.options.editorDom.getBoundingClientRect().width,u=this.calculateRealLayout(s);this.options.previewerCache.layout=u,this.setRealLayout(o.editorPercentage,o.previewerPercentage),this.options.virtualDragLineDom.classList.add("cherry-drag--hidden");var d=this.options.previewerDom,f=this.editor.options.editorDom;i?(d.classList.add("cherry-previewer--hidden"),f.classList.add("cherry-editor--full"),d.classList.remove("cherry-preview--full"),f.classList.remove("cherry-editor--hidden")):(d.classList.add("cherry-preview--full"),f.classList.add("cherry-editor--hidden"),d.classList.remove("cherry-previewer--hidden"),f.classList.remove("cherry-editor--full")),gA(function(){return n.editor.editor.refresh()},0)}},{key:"previewOnly",value:function(){this.$dealEditAndPreviewOnly(!1),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),wl.emit(this.instanceId,wl.Events.previewerOpen),wl.emit(this.instanceId,wl.Events.editorClose)}},{key:"editOnly",value:function(){this.$dealEditAndPreviewOnly(!0),this.cleanHtmlCache(),wl.emit(this.instanceId,wl.Events.previewerClose),wl.emit(this.instanceId,wl.Events.editorOpen)}},{key:"recoverPreviewer",value:function(){var n=this;this.options.previewerDom.classList.remove("cherry-previewer--hidden"),this.options.virtualDragLineDom.classList.remove("cherry-drag--hidden"),this.editor.options.editorDom.classList.remove("cherry-editor--full");var i=this.options.previewerCache.layout;this.setRealLayout(i.editorPercentage,i.previewerPercentage),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),wl.emit(this.instanceId,wl.Events.previewerOpen),wl.emit(this.instanceId,wl.Events.editorOpen),gA(function(){return n.editor.editor.refresh()},0)}},{key:"doHtmlCache",value:function(n){this.options.previewerCache.html=n,this.options.previewerCache.htmlChanged=!0}},{key:"cleanHtmlCache",value:function(){this.options.previewerCache.html="",this.options.previewerCache.htmlChanged=!1,this.options.previewerCache.layout={}}},{key:"afterUpdate",value:function(){var n;Ws(n=this.options.afterUpdateCallBack).call(n,function(i){return i()}),this.highlightLineNum===void 0&&(this.highlightLineNum=0),this.highlightLine(this.highlightLineNum)}},{key:"registerAfterUpdate",value:function(n){if(J5(n)){var i;this.options.afterUpdateCallBack=St(i=this.options.afterUpdateCallBack).call(i,n)}else{if(!n)throw new Error("[markdown error]: Previewer registerAfterUpdate params are undefined");this.options.afterUpdateCallBack.push(n)}}},{key:"$getTopByLineNum",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this.getDomContainer();if(n===null)return o.scrollHeight;for(var s=typeof n=="number"?n:i2(n,10),u=o.querySelectorAll("[data-sign]"),d=0,f=o.offsetTop,g=0;g1&&(T=C+(m-Math.abs(s-(d+m))-1)/m*w+w/m*i),T}d+=m}return o.scrollHeight}},{key:"highlightLine",value:function(n){var i,o,s,u,d,f=this.getDomContainer();if(Wo(i=f.querySelectorAll(".cherry-highlight-line")).call(i,function(C){C.classList.remove("cherry-highlight-line")}),((o=this.$cherry)===null||o===void 0||(s=o.status)===null||s===void 0?void 0:s.previewer)==="show"&&((u=this.$cherry)===null||u===void 0||(d=u.status)===null||d===void 0?void 0:d.editor)==="show"){for(var g=f.querySelectorAll("[data-sign]"),m=0,b=0;b=s.scrollHeight||f>Math.abs(d))return cancelAnimationFrame(i.animation.timer),void(i.animation.timer=0);i.disableScrollListener=!0,i.getDomContainer().scrollTo(null,u+d/Math.abs(d)*f),i.animation.timer=requestAnimationFrame(o)}))}},{key:"scrollToLineNum",value:function(n,i){var o=this.$getTopByLineNum(n,i);this.$scrollAnimation(o)}},{key:"onMouseDown",value:function(){var n=this;WP(this.getDomContainer(),"mousedown",function(){gA(function(){wl.emit(n.instanceId,wl.Events.cleanAllSubMenus)})})}},{key:"export",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pdf",i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:"")||this.getDomContainer().innerText.match(/^\s*([^\s][^\n]*)\n/)[1]||"cherry-export";n==="pdf"?function(o,s){var u=document.title;document.title=s,jZt(o,function(d,f){window.print(),f(),document.title=u})}(this.getDomContainer(),i):n==="screenShot"||n==="img"?zWn(this.getDomContainer(),i):n==="markdown"?function(o,s){var u=new Blob([o],{type:"text/markdown;charset=utf-8"}),d=document.createElement("a");d.style.display="none",d.href=vW.createObjectURL(u),d.download="".concat(s,".md"),document.body.appendChild(d),d.click(),document.body.removeChild(d)}(this.$cherry.getMarkdown(),i):n==="html"&&function(o,s){var u=new Blob([o],{type:"text/markdown;charset=utf-8"}),d=document.createElement("a");d.style.display="none",d.href=vW.createObjectURL(u),d.download="".concat(s,".html"),document.body.appendChild(d),d.click(),document.body.removeChild(d)}(this.getValue(),i)}}]),t}(),pQ=navigator.userAgent,cGn=navigator.platform,GNt=/MSIE \d/.test(pQ),YNt=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(pQ),WVe=/Edge\/(\d+)/.exec(pQ);(GNt||YNt||WVe)&&(GNt?document.documentMode:(WVe||YNt)[1]);var pen=/Opera\//.test(pQ),uGn=!WVe&&/AppleWebKit/.test(pQ)&&/Mobile\/\w+/.test(pQ),dGn=uGn||/Mac/.test(cGn),kie=pen&&pQ.match(/Version\/(\d*\.\d*)/);function hGn(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"absolute",i=t.getBoundingClientRect();return n==="fixed"?i:n==="sidebar"?{left:xl.getTargetParentByButton(t).offsetLeft-130+i.width,top:t.offsetTop+i.height/2,width:i.width,height:i.height}:{left:t.offsetLeft,top:t.offsetTop,width:i.width,height:i.height}}kie&&(kie=Number(kie[1])),kie&&kie>=15&&(pen=!1);var xl=function(){function t(n){vi(this,t),Ni(this,"_onClick",void 0),this.$cherry=n,this.bubbleMenu=!1,this.subMenu=null,this.name="",this.editor=n.editor,this.locale=n.locale,this.dom=null,this.updateMarkdown=!0,this.subMenuConfig=[],this.noIcon=!1,this.cacheOnce=!1,this.positionModel="absolute",typeof this._onClick=="function"&&(Py.warn("`MenuBase._onClick` is deprecated. Override `fire` instead"),this.fire=this._onClick)}return bi(t,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"setName",value:function(n,i){this.name=n,this.iconName=i}},{key:"setCacheOnce",value:function(n){this.cacheOnce=n}},{key:"getAndCleanCacheOnce",value:function(){this.updateMarkdown=!0;var n=this.cacheOnce;return this.cacheOnce=!1,n}},{key:"hasCacheOnce",value:function(){return this.cacheOnce!==!1}},{key:"createBtn",value:function(){var n=arguments.length>0&&arguments[0]!==void 0&&arguments[0],i=Vu("span",n?"cherry-dropdown-item":"cherry-toolbar-button cherry-toolbar-".concat(this.iconName?this.iconName:this.name),{title:this.locale[this.name]||H3(this.name)});if(this.iconName&&!this.noIcon){var o=Vu("i","ch-icon ch-icon-".concat(this.iconName));i.appendChild(o)}return(n||this.noIcon)&&(i.innerHTML+=this.locale[this.name]||H3(this.name)),n||this.dom||(this.dom=i),i}},{key:"createSubBtnByConfig",value:function(n){var i=n.name,o=n.iconName,s=n.onclick,u=Vu("span","cherry-dropdown-item",{title:this.locale[i]||H3(i)});if(o){var d=Vu("i","ch-icon ch-icon-".concat(o));u.appendChild(d)}return u.innerHTML+=this.locale[i]||H3(i),u.addEventListener("click",s,!1),u}},{key:"fire",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(n==null||n.stopPropagation(),typeof this.onClick=="function"){var s=this.editor.editor.getSelections();this.isSelections=s.length>1;var u=Ws(s).call(s,function(d,f,g){return i.onClick(d,o,n)||g[f]});!this.bubbleMenu&&this.updateMarkdown&&(this.editor.editor.replaceSelections(u,"around"),this.editor.editor.focus(),this.$afterClick())}}},{key:"$getSelectionRange",value:function(){var n=this.editor.editor.listSelections()[0],i=n.anchor,o=n.head;return i.line===o.line&&i.ch>o.ch||i.line>o.line?{begin:o,end:i}:{begin:i,end:o}}},{key:"registerAfterClickCb",value:function(n){this.afterClickCb=n}},{key:"$afterClick",value:function(){typeof this.afterClickCb!="function"||this.isSelections||(this.afterClickCb(),this.afterClickCb=null)}},{key:"setLessSelection",value:function(n,i){var o,s,u,d,f=this.editor.editor,g=this.$getSelectionRange(),m=g.begin,b=g.end,w={line:((o=n.match(/\n/g))===null||o===void 0?void 0:o.length)>0?m.line+n.match(/\n/g).length:m.line,ch:((s=n.match(/\n/g))===null||s===void 0?void 0:s.length)>0?n.replace(/^[\s\S]*?\n([^\n]*)$/,"$1").length:m.ch+n.length},C=((u=i.match(/\n/g))===null||u===void 0?void 0:u.length)>0?b.line-i.match(/\n/g).length:b.line,T={line:C,ch:((d=i.match(/\n/g))===null||d===void 0?void 0:d.length)>0?f.getLine(C).length:b.ch-i.length};f.setSelection(w,T)}},{key:"getMoreSelection",value:function(n,i,o){var s=this.editor.editor,u=this.$getSelectionRange(),d=u.begin,f=u.end,g=/\n/.test(n)?0:d.ch-n.length;g=g<0?0:g;var m,b=/\n/.test(n)?d.line-n.match(/\n/g).length:d.line,w={line:b=b<0?0:b,ch:g},C=f.line,T=f.ch;/\n/.test(i)?(C=f.line+i.match(/\n/g).length,T=(m=s.getLine(C))===null||m===void 0?void 0:m.length):T=s.getLine(f.line).length1&&arguments[1]!==void 0?arguments[1]:"word",o=arguments.length>2&&arguments[2]!==void 0&&arguments[2],s=this.editor.editor;if(this.isSelections||n&&!o)return n;if(i==="line"){var u=this.$getSelectionRange(),d=u.begin,f=u.end;return s.setSelection({line:d.line,ch:0},{line:f.line,ch:s.getLine(f.line).length}),s.getSelection()}if(i==="word"){var g=s.findWordAt(s.getCursor()),m=g.anchor,b=g.head;return s.setSelection(m,b),s.getSelection()}}},{key:"bindSubClick",value:function(n,i){return this.fire(null,n)}},{key:"onClick",value:function(n,i,o){return n}},{key:"shortcutKeys",get:function(){return[]}},{key:"getMenuPosition",value:function(){var n=t.getTargetParentByButton(this.dom),i=/cherry-sidebar/.test(n.className);return/cherry-bubble/.test(n.className)||/cherry-floatmenu/.test(n.className)?this.positionModel="fixed":this.positionModel=i?"sidebar":"absolute",hGn(this.dom,this.positionModel)}}],[{key:"getTargetParentByButton",value:function(n){var i=n.parentElement;return/toolbar-(left|right)/.test(i.className)&&(i=i.parentElement),i}}]),t}();function fGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var gGn=function(t){Io(i,xl);var n=fGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("bold","bold"),s}return bi(i,[{key:"$testIsBold",value:function(o){return/^\s*(\*\*|__)[\s\S]+(\1)/.test(o)}},{key:"onClick",value:function(o){var s=this,u=this.getSelection(o)||this.locale.bold;return this.isSelections||this.$testIsBold(u)||this.getMoreSelection("**","**",function(){var d=s.editor.editor.getSelection(),f=s.$testIsBold(d);return f&&(u=d),f}),this.$testIsBold(u)?u.replace(/(^)(\s*)(\*\*|__)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){s.setLessSelection("**","**")}),u.replace(/(^)([^\n]+)($)/gm,"$1**$2**$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-b"]}}]),i}();function pGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var AGn=function(t){Io(i,xl);var n=pGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("italic","italic"),s}return bi(i,[{key:"$testIsItalic",value:function(o){return/^\s*(\*|_)[\s\S]+(\1)/.test(o)}},{key:"onClick",value:function(o){var s=this,u=this.getSelection(o)||this.locale.italic;return this.isSelections||this.$testIsItalic(u)||this.getMoreSelection("*","*",function(){var d=s.editor.editor.getSelection(),f=s.$testIsItalic(d);return f&&(u=d),f}),this.$testIsItalic(u)?u.replace(/(^)(\s*)(\*|_)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){s.setLessSelection("*","*")}),u.replace(/(^)([^\n]+)($)/gm,"$1*$2*$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-i"]}}]),i}();function mGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var vGn=function(t){Io(i,xl);var n=mGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("split","|"),s}return bi(i,[{key:"createBtn",value:function(){var o=document.createElement("i");return o.className="cherry-toolbar-button cherry-toolbar-split",o}}]),i}();function iv(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"word",o=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(t.getSelections().length>1||n&&!o)return n;if(i==="line"){var s=t.listSelections()[0],u=s.anchor,d=s.head;return u.line===d.line&&u.ch>d.ch||u.line>d.line?t.setSelection({line:d.line,ch:0},{line:u.line,ch:t.getLine(u.line).length}):t.setSelection({line:u.line,ch:0},{line:d.line,ch:t.getLine(d.line).length}),t.getSelection()}if(i==="word"){var f=t.findWordAt(t.getCursor()),g=f.anchor,m=f.head;return t.setSelection(g,m),t.getSelection()}}function bGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var yGn=function(t){Io(i,xl);var n=bGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("strikethrough","strike"),s}return bi(i,[{key:"$testIsStrike",value:function(o){return/(~~)[\s\S]+(\1)/.test(o)}},{key:"onClick",value:function(o){var s,u,d,f,g,m,b=this,w=iv(this.editor.editor,o)||this.locale.strikethrough,C=!((s=this.$cherry)===null||s===void 0||(u=s.options)===null||u===void 0||(d=u.engine)===null||d===void 0||(f=d.syntax)===null||f===void 0||(g=f.strikethrough)===null||g===void 0)&&g.needWhitespace?" ":"";return this.isSelections||this.$testIsStrike(w)||this.getMoreSelection("".concat(C,"~~"),"~~".concat(C),function(){var T=b.editor.editor.getSelection(),k=b.$testIsStrike(T);return k&&(w=T),k}),this.$testIsStrike(w)?o.replace(/[\s]*(~~)([\s\S]+)(\1)[\s]*/g,"$2"):(this.registerAfterClickCb(function(){b.setLessSelection("".concat(C,"~~"),"~~".concat(C))}),w.replace(/(^)[\s]*([\s\S]+?)[\s]*($)/g,St(m="$1".concat(C,"~~$2~~")).call(m,C,"$3")))}},{key:"shortcutKeys",get:function(){return["Ctrl-d"]}}]),i}();function wGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var xGn=function(t){Io(i,xl);var n=wGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("sub","sub"),s}return bi(i,[{key:"$testIsSub",value:function(o){return/^\s*(\^\^)[\s\S]+(\1)/.test(o)}},{key:"onClick",value:function(o){var s=this,u=iv(this.editor.editor,o)||this.locale.sub;return this.isSelections||this.$testIsSub(u)||this.getMoreSelection("^^","^^",function(){var d=s.editor.editor.getSelection(),f=s.$testIsSub(d);return f&&(u=d),f}),this.$testIsSub(u)?u.replace(/(^)(\s*)(\^\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){s.setLessSelection("^^","^^")}),u.replace(/(^)([^\n]+)($)/gm,"$1^^$2^^$3"))}}]),i}();function CGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var SGn=function(t){Io(i,xl);var n=CGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("sup","sup"),s}return bi(i,[{key:"$testIsSup",value:function(o){return/^\s*(\^)[\s\S]+(\1)/.test(o)}},{key:"onClick",value:function(o){var s=this,u=iv(this.editor.editor,o)||this.locale.sup;return this.isSelections||this.$testIsSup(u)||this.getMoreSelection("^","^",function(){var d=s.editor.editor.getSelection(),f=s.$testIsSup(d);return f&&(u=d),f}),this.$testIsSup(u)?o.replace(/(^)(\s*)(\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){s.setLessSelection("^","^")}),u.replace(/(^)([^\n]+)($)/gm,"$1^$2^$3"))}}]),i}();function TGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var EGn=function(t){Io(i,xl);var n=TGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("color","color"),s.bubbleColor=new kGn(o),s}return bi(i,[{key:"$testIsColor",value:function(o,s){var u=/^\s*!!![^\s]+ [\s\S]+!!!\s*$/;return o==="text"?/^\s*!![^\s]+ [\s\S]+!!\s*$/.test(s)&&!u.test(s):u.test(s)}},{key:"onClick",value:function(o){var s=this,u=arguments.length>2?arguments[2]:void 0,d=iv(this.editor.editor,o)||this.locale.color;if(this.hasCacheOnce()){var f,g,m=this.getAndCleanCacheOnce(),b=m.type,w=m.color,C=b==="text"?"!!".concat(w," "):"!!!".concat(w," "),T=b==="text"?"!!":"!!!";if(this.isSelections||this.$testIsColor(b,d)||this.getMoreSelection(C,T,function(){var q=s.editor.editor.getSelection();return!!s.$testIsColor(b,q)&&(d=q,!0)}),this.$testIsColor(b,d)){var k,$=new RegExp(St(k="(^\\s*".concat(T,")([^\\s]+) ([\\s\\S]+")).call(k,T,"\\s*$)"),"gm"),O=!0,B=d.replace($,function(q,X,re,J){var V,ue;return O=!!O&&re===w,St(V=St(ue="".concat(X)).call(ue,w," ")).call(V,J)});return O?d.replace($,"$3").replace(/!+\s*$/gm,""):(this.registerAfterClickCb(function(){s.setLessSelection(C,T)}),B)}return this.registerAfterClickCb(function(){s.setLessSelection(C,T)}),St(f=St(g="".concat(C)).call(g,d)).call(f,T)}var P=0,N=0;if(u.target.closest(".cherry-bubble")){var L=u.target.closest(".cherry-bubble"),R=L.getBoundingClientRect();P=R.top+L.offsetHeight,N=u.target.closest(".cherry-toolbar-color").offsetLeft+R.left}else{var H=u.target.closest(".cherry-toolbar-color"),Q=H.getBoundingClientRect();P=Q.top+H.offsetHeight,N=Q.left}this.updateMarkdown=!1,this.bubbleColor.show({left:N,top:P,$color:this})}}]),i}(),kGn=function(){function t(n){vi(this,t),Ni(this,"colorStack",["#000000","#444444","#666666","#999999","#cccccc","#eeeeee","#f3f3f3","#ffffff","#ff0000","#ff9900","#ffff00","#00ff00","#00ffff","#0000ff","#9900ff","#ff00ff","#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc","#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd","#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0","#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79","#990000","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47","#660000","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]),this.editor=n.editor,this.init(),this.initAction()}return bi(t,[{key:"setSelection",value:function(n){this.selection=n}},{key:"getFontColorDom",value:function(n){var i,o,s=Ws(i=this.colorStack).call(i,function(u){var d,f;return St(d=St(f='')}).join("");return St(o="

    ".concat(n,"

    ")).call(o,s)}},{key:"getDom",value:function(){var n=document.createElement("div");n.classList.add("cherry-color-wrap"),n.classList.add("cherry-dropdown");var i=document.createElement("div");i.classList.add("cherry-color-text"),i.innerHTML=this.getFontColorDom("文本颜色"),n.appendChild(i);var o=document.createElement("div");return o.classList.add("cherry-color-bg"),o.innerHTML=this.getFontColorDom("背景颜色"),n.appendChild(o),n}},{key:"init",value:function(){this.dom=this.getDom(),this.editor.options.wrapperDom.appendChild(this.dom)}},{key:"onClick",value:function(){var n,i;return this.type==="text"?/^!!#\S+ [\s\S]+?!!/.test(this.selection)?this.selection.replace(/^!!#\S+ ([\s\S]+?)!!/,"!!".concat(this.colorValue," $1!!")):St(i="!!".concat(this.colorValue," ")).call(i,this.selection,"!!"):/^!!!#\S+ [\s\S]+?!!!/.test(this.selection)?this.selection.replace(/^!!!#\S+ ([\s\S]+?)!!!/,"!!!".concat(this.colorValue," $1!!!")):St(n="!!!".concat(this.colorValue," ")).call(n,this.selection,"!!!")}},{key:"initAction",value:function(){var n=this;this.dom.addEventListener("click",function(i){var o=i.target;if(n.colorValue=o.getAttribute("data-val"),!n.colorValue)return!1;n.type=o.closest(".cherry-color-text")?"text":"bg",n.$color.setCacheOnce({type:n.type,color:n.colorValue}),n.$color.fire(null)},!1),this.dom.addEventListener("EditorHideToolbarSubMenu",function(){n.dom.style.display!=="none"&&(n.dom.style.display="none")})}},{key:"show",value:function(n){var i=n.left,o=n.top,s=n.$color;this.dom.style.left="".concat(i,"px"),this.dom.style.top="".concat(o,"px"),this.dom.style.display="block",this.$color=s}}]),t}();function BGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var _Gn=function(t){Io(i,xl);var n=BGn(i);function i(o){var s,u,d,f,g,m;return vi(this,i),(m=n.call(this,o)).setName("header","header"),m.subMenuConfig=[{iconName:"h1",name:"h1",onclick:va(s=m.bindSubClick).call(s,Rs(m),"1")},{iconName:"h2",name:"h2",onclick:va(u=m.bindSubClick).call(u,Rs(m),"2")},{iconName:"h3",name:"h3",onclick:va(d=m.bindSubClick).call(d,Rs(m),"3")},{iconName:"h4",name:"h4",onclick:va(f=m.bindSubClick).call(f,Rs(m),"4")},{iconName:"h5",name:"h5",onclick:va(g=m.bindSubClick).call(g,Rs(m),"5")}],m}return bi(i,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"$getFlagStr",value:function(o){var s=+(typeof o=="string"?o.replace(/[^0-9]+([0-9])/g,"$1"):o);return Gf("#").call("#",s||1)}},{key:"$testIsHead",value:function(o){return/^\s*(#+)\s*.+/.test(o)}},{key:"onClick",value:function(o){var s=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=iv(this.editor.editor,o,"line",!0)||this.locale.header,f=this.$getFlagStr(u);if(this.isSelections||this.$testIsHead(d)||this.getMoreSelection(` +`,"",function(){var b=s.editor.editor.getSelection(),w=s.$testIsHead(b);return w&&(d=b),w}),this.$testIsHead(d)){var g=!0,m=d.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(b,w,C,T,k){var $,O,B;return g=!!g&&C.length===f.length,St($=St(O=St(B="".concat(w)).call(B,f)).call(O,T)).call($,k)});return g?d.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){s.setLessSelection("".concat(f," "),"")}),m)}return this.registerAfterClickCb(function(){s.setLessSelection("".concat(f," "),"")}),d.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(f," $3$4"))}},{key:"shortcutKeys",get:function(){return["Ctrl-1","Ctrl-2","Ctrl-3","Ctrl-4","Ctrl-5","Ctrl-6"]}}]),i}(),$Gn=function(t,n){var i,o=document.createElement("td");return o.className=n||"table-item",Wo(i=ad(t)).call(i,function(s){o.dataset[s]=t[s]}),o},Aen=function(){function t(n,i){var o=n.row,s=n.col;vi(this,t),this.init(o,s,i),this.initEventListeners(),this.afterClick=function(){}}return bi(t,[{key:"init",value:function(n,i,o){var s=this,u=document.createElement("table"),d=[];u.className=["cherry-insert-table-menu","cherry-dropdown"].join(" ");for(var f=1;f<=n;f++){var g=document.createElement("tr");g.className="cherry-insert-table-menu-row",d[f-1]=[];for(var m=1;m<=i;m++){var b=$Gn({row:f,col:m},"cherry-insert-table-menu-item");g.appendChild(b),d[f-1][m-1]=b}u.appendChild(g)}return u.style.display="none",u.addEventListener("EditorHideToolbarSubMenu",function(){s.hide()}),this.dom=u,this.cell=d,this.maxRow=n,this.maxCol=i,this.activeRow=0,this.activeCol=0,this.dom}},{key:"initEventListeners",value:function(){var n,i;this.dom.addEventListener("mousemove",va(n=this.handleMouseMove).call(n,this),!1),this.dom.addEventListener("mouseup",va(i=this.handleMouseUp).call(i,this))}},{key:"setActiveCell",value:function(n,i){if(this.activeRow!==n||this.activeCol!==i){var o=Math.min(this.activeRow,n),s=Math.max(this.activeRow,n);if(o!==s)for(var u=s;u>o;u--)for(var d=1;d<=this.activeCol;d++)this.cell[u-1][d-1].classList.toggle("active");var f=Math.min(this.activeCol,i),g=Math.max(this.activeCol,i);if(f!==g)for(var m=g;m>f;m--)for(var b=1;b<=n;b++)this.cell[b-1][m-1].classList.toggle("active");this.activeRow=n,this.activeCol=i}}},{key:"handleMouseMove",value:function(n){var i=n.target;i!==this.dom&&(i.classList.contains("cherry-insert-table-menu-item")||(i=i.querySelector(".cherry-insert-table-menu-item")),i&&this.setActiveCell(i.dataset.row,i.dataset.col))}},{key:"handleMouseUp",value:function(n){var i=n.target;return i===this.dom||i.classList.contains("cherry-insert-table-menu-item")||(i=i.querySelector(".cherry-insert-table-menu-item")),this.afterClick(this.activeRow,this.activeCol),void this.hide()}},{key:"show",value:function(n){this.dom.style.display="block",this.afterClick=n}},{key:"hide",value:function(){this.dom.style.display="none";for(var n=0;n"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var OGn=function(t){Io(i,xl);var n=IGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("insert","insert"),s.noIcon=!0,s.subBubbleTableMenu=new Aen({row:9,col:9}),o.editor.options.wrapperDom.appendChild(s.subBubbleTableMenu.dom),s}return bi(i,[{key:"handleUpload",value:function(){var o=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"image",u=document.createElement("input");u.type="file",u.id="fileUpload",u.value="",u.style.display="none",u.addEventListener("change",function(d){var f=od(d.target.files,1)[0];o.$cherry.options.fileUpload(f,function(g){if(typeof g=="string"&&g){var m,b="";if(s==="image")b=St(m="![".concat(f.name,"](")).call(m,g,")");else if(s==="video"){var w;b=St(w="!video[".concat(f.name,"](")).call(w,g,")")}else if(s==="audio"){var C;b=St(C="!audio[".concat(f.name,"](")).call(C,g,")")}else{var T;b=St(T="[".concat(f.name,"](")).call(T,g,")")}o.$cherry.$cherry.doc.replaceSelection(b)}})}),u.click()}},{key:"onClick",value:function(o){var s,u,d,f,g,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",b=arguments.length>2?arguments[2]:void 0;if(/normal-table/.test(m)){var w,C,T,k=m.match(/([0-9]+)[^0-9]([0-9]+)/),$=k?+k[1]:3,O=k?+k[2]:5,B=Gf(" Header |").call(" Header |",O),P=Gf(" ------ |").call(" ------ |",O),N=` +|`.concat(Gf(" Sample |").call(" Sample |",O));return St(w=St(C=St(T="".concat(o,` + +|`)).call(T,B,` +|`)).call(C,P)).call(w,Gf(N).call(N,$),` + +`)}var L=iv(this.editor.editor,o);switch(m){case"hr":return"".concat(o,` + +--- +`);case"br":return"".concat(o,"
    ");case"code":return"\n``` \n".concat(o||"code...","\n```\n");case"formula":return"".concat(o,` + +$ e=mc^2 $ + +`);case"checklist":return"".concat(o,` + +- [x] Item 1 +- [ ] Item 2 +- [ ] Item 3 +`);case"toc":return"".concat(o,` + +[[toc]] +`);case"link":return St(s="".concat(o,"[")).call(s,this.locale.link,"](http://url.com) ");case"image":return this.handleUpload("image"),o;case"video":return this.handleUpload("video"),o;case"audio":return this.handleUpload("audio"),o;case"table":return this.subBubbleTableMenu.dom.style.left=this.subMenu.dom.style.left,this.subBubbleTableMenu.dom.style.top=this.subMenu.dom.style.top,void this.subBubbleTableMenu.show(function(R,H){var Q,q,X,re=Gf(" Header |").call(" Header |",H),J=Gf(" ------ |").call(" ------ |",H),V=` +|`.concat(Gf(" Sample |").call(" Sample |",H)),ue=St(Q=St(q=St(X="".concat(o,` + +|`)).call(X,re,` +|`)).call(q,J)).call(Q,Gf(V).call(V,R),` + +`);b(ue)});case"line-table":return St(u="".concat(o,` + +`)).call(u,["| :line: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join(` +`),` + +`);case"bar-table":return St(d="".concat(o,` + +`)).call(d,["| :bar: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join(` +`),` + +`);case"headlessTable":return this.subBubbleTableMenu.dom.style.left=this.subMenu.dom.style.left,this.subBubbleTableMenu.dom.style.top=this.subMenu.dom.style.top,void this.subBubbleTableMenu.show(function(R,H){var Q,q,X,re=St(Q=St(q="".concat(o,` + +||`)).call(q,Gf(" ~Header ||").call(" ~Header ||",H))).call(Q,Gf(X=` +||`.concat(Gf(" SampleT ||").call(" SampleT ||",H))).call(X,R-1),` + +`);b(re)});case"pdf":return this.handleUpload("pdf"),o;case"word":return this.handleUpload("word"),o;case"ruby":return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(L)?L.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1"):St(f=" { ".concat(L," | ")).call(f,Ra(g=this.editor.$cherry.options.callback.changeString2Pinyin(L)).call(g)," } ")}}}]),i}();function MGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var PGn=function(t){Io(i,xl);var n=MGn(i);function i(o){var s,u,d,f;return vi(this,i),(f=n.call(this,o)).setName("list","list"),f.subMenuConfig=[{iconName:"ol",name:"ol",onclick:va(s=f.bindSubClick).call(s,Rs(f),"1")},{iconName:"ul",name:"ul",onclick:va(u=f.bindSubClick).call(u,Rs(f),"2")},{iconName:"checklist",name:"checklist",onclick:va(d=f.bindSubClick).call(d,Rs(f),"3")}],f}return bi(i,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(o){var s,u,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",f=[null,"ol","ul","checklist"],g=iv(this.editor.editor,o,"line",!0),m=od(g.match(/^\n*/),1)[0],b=od(g.match(/\n*$/),1)[0],w=f[d]?f[d]:d;return w&&/^(ol|ul|checklist)$/.test(w)?St(s=St(u="".concat(m)).call(u,Z5e(g,w))).call(s,b):g}}]),i}();function LGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var DGn=function(t){Io(i,xl);var n=LGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("ol","ol"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d=iv(this.editor.editor,o,"line",!0)||`Item 1 + Item 1.1 +Item 2`,f=od(d.match(/^\n*/),1)[0],g=od(d.match(/\n*$/),1)[0];return St(s=St(u="".concat(f)).call(u,Z5e(d,"ol"))).call(s,g)}}]),i}();function FGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var NGn=function(t){Io(i,xl);var n=FGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("ul","ul"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d=iv(this.editor.editor,o,"line",!0)||`Item 1 + Item 1.1 +Item 2`,f=od(d.match(/^\n*/),1)[0],g=od(d.match(/\n*$/),1)[0];return St(s=St(u="".concat(f)).call(u,Z5e(d,"ul"))).call(s,g)}}]),i}();function RGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var HGn=function(t){Io(i,xl);var n=RGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("checklist","checklist"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d=iv(this.editor.editor,o,"line",!0)||`Item 1 + Item 1.1 +Item 2`,f=od(d.match(/^\n*/),1)[0],g=od(d.match(/\n*$/),1)[0];return St(s=St(u="".concat(f)).call(u,Z5e(d,"checklist"))).call(s,g)}}]),i}();function QGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}function P3(t,n){return[t,"```mermaid",n,"```"].join(` +`)}var qNt=[" A[公司] -->| 下 班 | B(菜市场)"," B --> C{看见
    卖西瓜的}"," C -->|Yes| D[买一个包子]"," C -->|No| E[买一斤包子]"].join(` +`),JNt=[" A[Company] -->| Finish work | B(Grocery Store)"," B --> C{See
    Watermelon Seller}"," C -->|Yes| D[Buy a bun]"," C -->|No| E[Buy a kilogram of buns]"].join(` +`),jGn={flow:["FlowChart",P3("左右结构",`graph LR +`.concat(qNt)),P3("上下结构",`graph TD +`.concat(qNt))].join(` +`),sequence:P3("SequenceDiagram",["sequenceDiagram","autonumber","A-->A: 文本1","A->>B: 文本2","loop 循环1","loop 循环2","A->B: 文本3","end","loop 循环3","B -->>A: 文本4","end","B -->> B: 文本5","end"].join(` +`)),state:P3("StateDiagram",["stateDiagram-v2","[*] --> A","A --> B","A --> C","state A {"," [*] --> D"," D --> [*]","}","B --> [*]","C --> [*]"].join(` +`)),class:P3("ClassDiagram",["classDiagram","Base <|-- One","Base <|-- Two","Base : +String name","Base: +getName()","Base: +setName(String name)","class One{"," +String newName"," +getNewName()","}","class Two{"," -int id"," -getId()","}"].join(` +`)),pie:P3("PieChart",["pie","title 饼图",'"A" : 100','"B" : 80','"C" : 40','"D" : 30'].join(` +`)),gantt:P3("GanttChart",["gantt"," title 敏捷研发流程"," section 迭代前"," 交互设计 :a1, 2020-03-01, 4d"," UI设计 :after a1, 5d"," 需求评审 : 1d"," section 迭代中"," 详细设计 :a2, 2020-03-11, 2d"," 开发 :2020-03-15, 7d"," 测试 :2020-03-22, 5d"," section 迭代后"," 发布: 1d"," 验收: 2d"," 回顾: 1d"].join(` +`))},UGn={flow:["FlowChart",P3("Left-right structure",`graph LR +`.concat(JNt)),P3("Top-bottom structure",`graph TD +`.concat(JNt))].join(` +`),sequence:P3("SequenceDiagram",["sequenceDiagram","autonumber","A-->A: text1","A->>B: text2","loop loop1","loop loop2","A->B: text3","end","loop loop3","B -->>A: text4","end","B -->> B: text5","end"].join(` +`)),state:P3("StateDiagram",["stateDiagram-v2","[*] --> A","A --> B","A --> C","state A {"," [*] --> D"," D --> [*]","}","B --> [*]","C --> [*]"].join(` +`)),class:P3("ClassDiagram",["classDiagram","Base <|-- One","Base <|-- Two","Base : +String name","Base: +getName()","Base: +setName(String name)","class One{"," +String newName"," +getNewName()","}","class Two{"," -int id"," -getId()","}"].join(` +`)),pie:P3("PieChart",["pie","title pie",'"A" : 100','"B" : 80','"C" : 40','"D" : 30'].join(` +`)),gantt:P3("GanttChart",["gantt"," title work"," section session 1"," work1 :a1, 2020-03-01, 4d"," work2 :after a1, 5d"," work3 : 1d"," section session 2"," work4 :a2, 2020-03-11, 2d"," work5 :2020-03-15, 7d"," work6 :2020-03-22, 5d"," section session 3"," work7: 1d"," work8: 2d"," work9: 1d"].join(` +`))},zGn=function(t){Io(i,xl);var n=QGn(i);function i(o){var s,u,d,f,g,m,b;return vi(this,i),(b=n.call(this,o)).setName("graph","insertChart"),b.noIcon=!0,b.localeName=o.options.locale,b.subMenuConfig=[{iconName:"insertFlow",name:"insertFlow",onclick:va(s=b.bindSubClick).call(s,Rs(b),"1")},{iconName:"insertSeq",name:"insertSeq",onclick:va(u=b.bindSubClick).call(u,Rs(b),"2")},{iconName:"insertState",name:"insertState",onclick:va(d=b.bindSubClick).call(d,Rs(b),"3")},{iconName:"insertClass",name:"insertClass",onclick:va(f=b.bindSubClick).call(f,Rs(b),"4")},{iconName:"insertPie",name:"insertPie",onclick:va(g=b.bindSubClick).call(g,Rs(b),"5")},{iconName:"insertGantt",name:"insertGantt",onclick:va(m=b.bindSubClick).call(m,Rs(b),"6")}],b}return bi(i,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(o){var s=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=[null,"flow","sequence","state","class","pie","gantt"],f=d[u]?d[u]:u;if(f&&/^(flow|sequence|state|class|pie|gantt)$/.test(f))return this.registerAfterClickCb(function(){s.setLessSelection(` + + + + +`,` + +`)}),` + +`.concat(this.$getSampleCode(f),` +`)}},{key:"$getSampleCode",value:function(o){var s,u;return this.localeName!=="zh-CN"&&this.localeName!=="zh_CN"?(u=UGn[o])===null||u===void 0?void 0:u.replace(/\t/g," "):(s=jGn[o])===null||s===void 0?void 0:s.replace(/\t/g," ")}}]),i}();function KGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var VGn=function(t){Io(i,xl);var n=KGn(i);function i(o){var s,u,d,f,g;return vi(this,i),(g=n.call(this,o)).setName("size","size"),g.subMenuConfig=[{name:"小",noIcon:!0,onclick:va(s=g.bindSubClick).call(s,Rs(g),"12")},{name:"中",noIcon:!0,onclick:va(u=g.bindSubClick).call(u,Rs(g),"17")},{name:"大",noIcon:!0,onclick:va(d=g.bindSubClick).call(d,Rs(g),"24")},{name:"特大",noIcon:!0,onclick:va(f=g.bindSubClick).call(f,Rs(g),"32")}],g.shortKeyMap={"Alt-1":"12","Alt-2":"17","Alt-3":"24","Alt-4":"32"},g}return bi(i,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"_getFlagStr",value:function(o){for(var s=o.replace(/[^0-9]+([0-9])/g,"$1"),u="#",d=1;d1&&arguments[1]!==void 0?arguments[1]:"17",d=this.$getSizeByShortKey(u),f=iv(this.editor.editor,o)||"字号";if(this.isSelections||this.$testIsSize(f)||this.getMoreSelection("!32 ","!",function(){var b=s.editor.editor.getSelection();return!!s.$testIsSize(b)&&(f=b,!0)}),this.$testIsSize(f)){var g=!0,m=f.replace(/(^)(\s*)(![0-9]+)([^\n]+)(!)(\s*)($)/gm,function(b,w,C,T,k,$,O,B){var P,N,L,R,H,Q;return g=!!g&&T==="!".concat(d),St(P=St(N=St(L=St(R=St(H=St(Q="".concat(w)).call(Q,C,"!")).call(H,d)).call(R,k)).call(L,$)).call(N,O)).call(P,B)});return g?f.replace(/(^)(\s*)(![0-9]+\s*)([^\n]+)(!)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){s.setLessSelection("!".concat(d," "),"!")}),m)}return this.registerAfterClickCb(function(){s.setLessSelection("!".concat(d," "),"!")}),f.replace(/(^)([^\n]+)($)/gm,"$1!".concat(d," $2!$3"))}},{key:"shortcutKeys",get:function(){return["Alt-1","Alt-2","Alt-3","Alt-4"]}}]),i}();function WGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var XGn=function(t){Io(i,xl);var n=WGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("h1","h1"),s}return bi(i,[{key:"$testIsHead",value:function(o){return/^\s*(#+)\s*.+/.test(o)}},{key:"onClick",value:function(o){var s=this,u=iv(this.editor.editor,o,"line",!0)||this.locale.h1,d="#";if(this.isSelections||this.$testIsHead(u)||this.getMoreSelection(` +`,"",function(){var m=s.editor.editor.getSelection(),b=s.$testIsHead(m);return b&&(u=m),b}),this.$testIsHead(u)){var f=!0,g=u.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(m,b,w,C,T){var k,$,O;return f=!!f&&w.length===1,St(k=St($=St(O="".concat(b)).call(O,d)).call($,C)).call(k,T)});return f?u.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){s.setLessSelection("".concat(d," "),"")}),g)}return this.registerAfterClickCb(function(){s.setLessSelection("".concat(d," "),"")}),u.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),i}();function GGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var YGn=function(t){Io(i,xl);var n=GGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("h2","h2"),s}return bi(i,[{key:"$testIsHead",value:function(o){return/^\s*(#+)\s*.+/.test(o)}},{key:"onClick",value:function(o){var s=this,u=iv(this.editor.editor,o,"line",!0)||this.locale.h2,d="##";if(this.isSelections||this.$testIsHead(u)||this.getMoreSelection(` +`,"",function(){var m=s.editor.editor.getSelection(),b=s.$testIsHead(m);return b&&(u=m),b}),this.$testIsHead(u)){var f=!0,g=u.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(m,b,w,C,T){var k,$,O;return f=!!f&&w.length===2,St(k=St($=St(O="".concat(b)).call(O,d)).call($,C)).call(k,T)});return f?u.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){s.setLessSelection("".concat(d," "),"")}),g)}return this.registerAfterClickCb(function(){s.setLessSelection("".concat(d," "),"")}),u.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),i}();function qGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var JGn=function(t){Io(i,xl);var n=qGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("h3","h3"),s}return bi(i,[{key:"$testIsHead",value:function(o){return/^\s*(#+)\s*.+/.test(o)}},{key:"onClick",value:function(o){var s=this,u=iv(this.editor.editor,o,"line",!0)||this.locale.h3,d="###";if(this.isSelections||this.$testIsHead(u)||this.getMoreSelection(` +`,"",function(){var m=s.editor.editor.getSelection(),b=s.$testIsHead(m);return b&&(u=m),b}),this.$testIsHead(u)){var f=!0,g=u.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(m,b,w,C,T){var k,$,O;return f=!!f&&w.length===3,St(k=St($=St(O="".concat(b)).call(O,d)).call($,C)).call(k,T)});return f?u.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){s.setLessSelection("".concat(d," "),"")}),g)}return this.registerAfterClickCb(function(){s.setLessSelection("".concat(d," "),"")}),u.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),i}();function ZGn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var eYn=function(t){Io(i,xl);var n=ZGn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("quote","blockquote"),s}return bi(i,[{key:"onClick",value:function(o){var s,u=this,d=iv(this.editor.editor,o,"line",!0)||this.locale.quote,f=QW(s=d.split(` +`)).call(s,function(g){return/^\s*>[^\n]+$/.exec(g)});return f?d.replace(/(^\s*)>\s*([^\n]+)($)/gm,"$1$2$3").replace(/\n+$/,` + +`):(this.registerAfterClickCb(function(){u.setLessSelection("> ","")}),d.replace(/(^)([^\n]+)($)/gm,"$1> $2$3").replace(/\n+$/,` + +`))}}]),i}();function tYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var nYn=function(t){Io(i,xl);var n=tYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("quickTable","table"),s}return bi(i,[{key:"onClick",value:function(o){return"".concat(o,`| LeftAlignedCol | CenterAlignedCol | RightAlignedCol | +`)+`| :--- | :---: | ---: | +| sampleText | sampleText | sampleText | +| **left**Text | centered Text | *right*Text | +`}}]),i}();function rYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var iYn=function(t){Io(i,xl);var n=rYn(i);function i(o){var s;return vi(this,i),Ni(Rs(s=n.call(this,o)),"$previewerHidden",!1),s.setName("previewClose","previewClose"),s.instanceId=o.instanceId,s.updateMarkdown=!1,s.attachEventListeners(),s}return bi(i,[{key:"attachEventListeners",value:function(){var o=this;wl.on(this.instanceId,wl.Events.previewerClose,function(){o.isHidden=!0}),wl.on(this.instanceId,wl.Events.previewerOpen,function(){o.isHidden=!1})}},{key:"isHidden",get:function(){return this.$previewerHidden},set:function(o){if(o!==this.$previewerHidden){var s=this.dom.querySelector("i");o?(s.classList.toggle("ch-icon-previewClose",!1),s.classList.toggle("ch-icon-preview",!0),s.title=this.locale.togglePreview):(s.classList.toggle("ch-icon-previewClose",!0),s.classList.toggle("ch-icon-preview",!1),s.title=this.locale.previewClose),this.$previewerHidden=o}}},{key:"onClick",value:function(){this.editor.previewer.isPreviewerHidden()?(this.editor.previewer.recoverPreviewer(!0),this.isHidden=!1):(this.editor.previewer.editOnly(!0),this.isHidden=!0)}}]),i}();function oYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var aYn=function(t){Io(i,xl);var n=oYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).updateMarkdown=!1,s.setName("fullScreen","fullscreen"),s}return bi(i,[{key:"onClick",value:function(){for(var o=this.editor.options.editorDom.parentElement.classList,s=document.querySelector(".cherry-toolbar-fullscreen");s.firstChild;)s.removeChild(s.firstChild);if(o.contains("fullscreen")){var u=Vu("i","ch-icon ch-icon-fullscreen");s.appendChild(u),o.remove("fullscreen")}else{var d=Vu("i","ch-icon ch-icon-minscreen");s.appendChild(d),o.add("fullscreen")}this.editor.editor.refresh()}}]),i}();function sYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var lYn=function(t){Io(i,xl);var n=sYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("undo","undo"),s}return bi(i,[{key:"onClick",value:function(){this.editor.editor.undo()}}]),i}();function cYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var uYn=function(t){Io(i,xl);var n=cYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("redo","redo"),s}return bi(i,[{key:"onClick",value:function(){this.editor.editor.redo()}}]),i}();function dYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var hYn=function(t){Io(i,xl);var n=dYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("code","code"),s}return bi(i,[{key:"onClick",value:function(o){var s=this,u=o||"code...";return this.registerAfterClickCb(function(){s.setLessSelection("\n``` \n","\n```\n")}),"\n``` \n".concat(u,"\n```\n")}},{key:"shortcutKeys",get:function(){return["Ctrl-k"]}}]),i}();function fYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var gYn=function(t){Io(i,xl);var n=fYn(i);function i(o){var s,u,d,f,g,m,b,w,C;return vi(this,i),(C=n.call(this,o)).setName("codeTheme"),C.updateMarkdown=!1,C.noIcon=!0,C.subMenuConfig=[{noIcon:!0,name:"default",onclick:va(s=C.bindSubClick).call(s,Rs(C),"default")},{noIcon:!0,name:"dark",onclick:va(u=C.bindSubClick).call(u,Rs(C),"dark")},{noIcon:!0,name:"funky",onclick:va(d=C.bindSubClick).call(d,Rs(C),"funky")},{noIcon:!0,name:"okaidia",onclick:va(f=C.bindSubClick).call(f,Rs(C),"okaidia")},{noIcon:!0,name:"twilight",onclick:va(g=C.bindSubClick).call(g,Rs(C),"twilight")},{noIcon:!0,name:"coy",onclick:va(m=C.bindSubClick).call(m,Rs(C),"coy")},{noIcon:!0,name:"solarized light",onclick:va(b=C.bindSubClick).call(b,Rs(C),"solarized-light")},{noIcon:!0,name:"tomorrow night",onclick:va(w=C.bindSubClick).call(w,Rs(C),"tomorrow-night")}],C}return bi(i,[{key:"onClick",value:function(){var o=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry").setAttribute("data-code-block-theme",o)}}]),i}();function pYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var AYn=function(t){Io(i,xl);var n=pYn(i);function i(o){var s,u,d,f,g;return vi(this,i),(g=n.call(this,o)).setName("export"),g.noIcon=!0,g.updateMarkdown=!1,g.subMenuConfig=[{noIcon:!0,name:"exportToPdf",onclick:va(s=g.bindSubClick).call(s,Rs(g),"pdf")},{noIcon:!0,name:"exportScreenshot",onclick:va(u=g.bindSubClick).call(u,Rs(g),"screenShot")},{noIcon:!0,name:"exportMarkdownFile",onclick:va(d=g.bindSubClick).call(d,Rs(g),"markdown")},{noIcon:!0,name:"exportHTMLFile",onclick:va(f=g.bindSubClick).call(f,Rs(g),"html")}],g}return bi(i,[{key:"onClick",value:function(){var o=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry-dropdown[name=export]")&&(document.querySelector(".cherry-dropdown[name=export]").style.display="none");var s=this.$cherry.previewer,u="";u=s.isPreviewerHidden()?s.options.previewerCache.html:s.getDomContainer().innerHTML,u=s.lazyLoadImg.changeDataSrc2Src(u),s.refresh(u),s.export(o)}}]),i}();function mYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var vYn=function(t){Io(i,xl);var n=mYn(i);function i(o){var s,u,d,f,g;vi(this,i),(g=n.call(this,o)).setName("settings","settings"),g.updateMarkdown=!1,g.engine=o.engine;var m=XYe("classicBr")?M3e():(s=g.engine.$cherry.options.engine.global)===null||s===void 0?void 0:s.classicBr,b=o.editor.options.defaultModel,w=m?"br":"normal",C=m?"classicBr":"normalBr",T=b==="editOnly"?"preview":"previewClose",k=b==="editOnly"?"togglePreview":"previewClose";return g.instanceId=o.instanceId,g.subMenuConfig=[{iconName:w,name:C,onclick:va(u=g.bindSubClick).call(u,Rs(g),"classicBr")},{iconName:T,name:k,onclick:va(d=g.bindSubClick).call(d,Rs(g),"previewClose")},{iconName:"",name:"hide",onclick:va(f=g.bindSubClick).call(f,Rs(g),"toggleToolbar")}],g.attachEventListeners(),g.shortcutKeyMaps=[{shortKey:"toggleToolbar",shortcutKey:"Ctrl-0"}],g}return bi(i,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"bindSubClick",value:function(o,s,u,d){return u?this.onClick(s,o,d):this.onClick(s,o)}},{key:"togglePreviewBtn",value:function(o){var s=this,u=o?"previewClose":"preview",d=o?"previewClose":"togglePreview";if(this.subMenu){var f=document.querySelector('.cherry-dropdown[name="settings"]');if(f){var g=f.querySelector(".ch-icon-previewClose,.ch-icon-preview");g.classList.toggle("ch-icon-previewClose"),g.classList.toggle("ch-icon-preview"),g.title=this.locale[d],g.parentElement.innerHTML=g.parentElement.innerHTML.replace(/<\/i>.+$/,"".concat(this.locale[d]))}}else{var m;this.subMenuConfig=Ws(m=this.subMenuConfig).call(m,function(b){var w;return b.iconName==="previewClose"||b.iconName==="preview"?{iconName:u,name:d,onclick:va(w=s.bindSubClick).call(w,s,"previewClose")}:b})}}},{key:"attachEventListeners",value:function(){var o=this;wl.on(this.instanceId,wl.Events.previewerClose,function(){o.togglePreviewBtn(!1)}),wl.on(this.instanceId,wl.Events.previewerOpen,function(){o.togglePreviewBtn(!0)})}},{key:"onClick",value:function(o){var s,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if((u=this.matchShortcutKey(u))==="classicBr"){var d,f=!M3e();s=f,typeof localStorage<"u"&&localStorage.setItem("cherry-classicBr",s?"true":"false"),this.engine.$cherry.options.engine.global.classicBr=f,Wo(d=this.engine.hookCenter.hookList.paragraph).call(d,function(m){m.classicBr=f});var g=this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-normal");g=g||this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-br"),f?(g.classList.replace("ch-icon-normal","ch-icon-br"),g.parentElement.childNodes[1].textContent=this.locale.classicBr):(g.classList.replace("ch-icon-br","ch-icon-normal"),g.parentElement.childNodes[1].textContent=this.locale.normalBr),this.engine.$cherry.previewer.update(""),this.engine.$cherry.initText(this.engine.$cherry.editor.editor)}else u==="previewClose"?this.editor.previewer.isPreviewerHidden()?this.editor.previewer.recoverPreviewer(!0):this.editor.previewer.editOnly(!0):u==="toggleToolbar"&&this.toggleToolbar();return o}},{key:"matchShortcutKey",value:function(o){var s,u=Fae(s=this.shortcutKeyMaps).call(s,function(d){return d.shortcutKey===o});return u!==void 0?u.shortKey:o}},{key:"toggleToolbar",value:function(){var o=this.engine.$cherry.wrapperDom;if(o instanceof HTMLDivElement){var s,u=this.engine.$cherry.toolbar.instanceId;vu(s=o.className).call(s,"cherry--no-toolbar")>-1?(o.classList.remove("cherry--no-toolbar"),wl.emit(u,wl.Events.toolbarShow)):(o.classList.add("cherry--no-toolbar"),wl.emit(u,wl.Events.toolbarHide))}}},{key:"shortcutKeys",get:function(){var o;return Ws(o=this.shortcutKeyMaps).call(o,function(s){return s.shortcutKey})}}]),i}();function bYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var yYn=function(t){Io(i,xl);var n=bYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("underline","underline"),s}return bi(i,[{key:"$testIsUnderline",value:function(o){return/^\s*(\/)[\s\S]+(\1)/.test(o)}},{key:"onClick",value:function(o){var s=this,u=o||this.locale.underline;return this.isSelections||this.$testIsUnderline(u)||this.getMoreSelection(" /","/ ",function(){var d=s.editor.editor.getSelection(),f=s.$testIsUnderline(d);return f&&(u=d),f}),this.$testIsUnderline(u)?u.replace(/(^)(\s*)(\/)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){s.setLessSelection(" /","/ ")}),u.replace(/(^)([^\n]+)($)/gm,"$1 /$2/ $3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-u"]}}]),i}();function wYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var xYn=function(t){Io(i,xl);var n=wYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("switchPreview"),s.instanceId=o.instanceId,s.attachEventListeners(),s}return bi(i,[{key:"attachEventListeners",value:function(){var o=this;wl.on(this.instanceId,wl.Events.toolbarHide,function(){o.dom.textContent=o.locale.switchEdit}),wl.on(this.instanceId,wl.Events.toolbarShow,function(){o.dom.textContent=o.locale.switchPreview})}},{key:"onClick",value:function(){this.editor.previewer.isPreviewerHidden()?(this.editor.previewer.previewOnly(),this.dom.parentElement.parentElement.classList.add("preview-only"),this.dom.textContent=this.locale.switchEdit):(this.editor.previewer.editOnly(!0),this.dom.parentElement.parentElement.classList.remove("preview-only"),this.dom.textContent=this.locale.switchPreview)}}]),i}();function CYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var SYn=function(t){Io(i,xl);var n=CYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("image","image"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d,f=this;if(this.hasCacheOnce()){var g,m,b=this.getAndCleanCacheOnce(),w=b.name,C=b.url,T=b.params,k="](".concat(C,")");this.registerAfterClickCb(function(){f.setLessSelection("![",k)});var $=T.name?T.name:w;return St(g=St(m="".concat("![").concat($)).call(m,Y5e(T))).call(g,k)}var O=(s=(u=this.$cherry.options)===null||u===void 0||(d=u.fileTypeLimitMap)===null||d===void 0?void 0:d.image)!==null&&s!==void 0?s:"*";return iG(this.editor,"image",O,function(B,P,N){f.setCacheOnce({name:B,url:P,params:N}),f.fire(null)}),this.updateMarkdown=!1,o}},{key:"shortcutKeys",get:function(){return["Ctrl-g"]}}]),i}();function TYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var EYn=function(t){Io(i,xl);var n=TYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("audio","video"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d,f=this;if(this.hasCacheOnce()){var g,m,b=this.getAndCleanCacheOnce(),w=b.name,C=b.url,T=b.params,k="!audio[",$="](".concat(C,")");this.registerAfterClickCb(function(){f.setLessSelection(k,$)});var O=T.name?T.name:w;return St(g=St(m="".concat(k).concat(O)).call(m,Y5e(T))).call(g,$)}var B=(s=(u=this.$cherry.options)===null||u===void 0||(d=u.fileTypeLimitMap)===null||d===void 0?void 0:d.audio)!==null&&s!==void 0?s:"*";return iG(this.editor,"audio",B,function(P,N,L){f.setCacheOnce({name:P,url:N,params:L}),f.fire(null)}),this.updateMarkdown=!1,o}}]),i}();function kYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var BYn=function(t){Io(i,xl);var n=kYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("video","video"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d,f=this;if(this.hasCacheOnce()){var g,m,b,w=this.getAndCleanCacheOnce(),C=w.name,T=w.url,k=w.params,$="!video[",O=k.poster?St(g="](".concat(T,"){poster=")).call(g,k.poster,"}"):"](".concat(T,")");this.registerAfterClickCb(function(){f.setLessSelection($,O)});var B=k.name?k.name:C;return St(m=St(b="".concat($).concat(B)).call(b,Y5e(k))).call(m,O)}var P=(s=(u=this.$cherry.options)===null||u===void 0||(d=u.fileTypeLimitMap)===null||d===void 0?void 0:d.video)!==null&&s!==void 0?s:"*";return iG(this.editor,"video",P,function(N,L,R){f.setCacheOnce({name:N,url:L,params:R}),f.fire(null)}),this.updateMarkdown=!1,o}}]),i}();function _Yn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var $Yn=function(t){Io(i,xl);var n=_Yn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("br","br"),s}return bi(i,[{key:"onClick",value:function(o){return"".concat(o,"
    ")}}]),i}();function IYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var OYn=function(t){Io(i,xl);var n=IYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("hr","line"),s}return bi(i,[{key:"onClick",value:function(o){return"".concat(o,` + +--- +`)}}]),i}(),MYn=function(){function t(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vi(this,t),Ni(this,"formulaConfig",{toolbar:{title:"快捷工具",subCategory:{sqrt:{title:"根式角标",formulas:[{name:"根式 Radicals",img:"",latex:""},{name:"",img:'',latex:"\\sqrt[n]{x^{a}}"},{name:"上下标 Sub&Super",img:"",latex:""},{name:"",img:'',latex:"\\sideset{_1^2}{_3^4}X_a^b"}]},limit:{title:"极限对数",formulas:[{name:"极限 Limits",img:"",latex:""},{name:"",img:'',latex:` +\\lim_{x \\to \\infty} a`},{name:"",img:'',latex:"\\log_{a}{b}"}]}}},template:{title:"公式模板",subCategory:{algebra:{title:"代数",formulas:[{name:"",img:'',latex:"\\sqrt{a^2+b^2}"},{name:"",img:'',latex:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{name:"",img:'',latex:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{name:"",img:'',latex:` +\\left\\{\\begin{matrix} + x=a + r\\text{cos}\\theta \\\\ + y=b + r\\text{sin}\\theta +\\end{matrix}\\right.`}]},array:{title:"矩阵",formulas:[{name:"",img:'',latex:` +\\begin{pmatrix} + 1 & 0 \\\\ + 0 & 1 +\\end{pmatrix}`},{name:"",img:'',latex:` +\\begin{pmatrix} + a_{11} & \\cdots & a_{1n} \\\\ + \\vdots & \\ddots & \\vdots \\\\ + a_{m1} & \\cdots & a_{mn} +\\end{pmatrix}`},{name:"",img:'',latex:` +A_{m\\times n}= +\\begin{bmatrix} + a_{11}& a_{12}& \\cdots & a_{1n} \\\\ + a_{21}& a_{22}& \\cdots & a_{2n} \\\\ + \\vdots & \\vdots & \\ddots & \\vdots \\\\ + a_{m1}& a_{m2}& \\cdots & a_{mn} +\\end{bmatrix} +=\\left [ a_{ij}\\right ]`},{name:"",img:'',latex:` +\\mathbf{V}_1 \\times \\mathbf{V}_2 = +\\begin{vmatrix} + \\mathbf{i}& \\mathbf{j}& \\mathbf{k} \\\\ + \\frac{\\partial X}{\\partial u}& \\frac{\\partial Y}{\\partial u}& 0 \\\\ + \\frac{\\partial X}{\\partial v}& \\frac{\\partial Y}{\\partial v}& 0 \\\\ +\\end{vmatrix}`}]}}}}),Ni(this,"showLatexLive",!0),ad(n).length&&(this.formulaConfig=n.templateConfig||this.formulaConfig,this.showLatexLive=n.showLatexLive),this.init(),this.initEventListeners()}return bi(t,[{key:"afterClick",value:function(n){}},{key:"generateBubbleFormulaHtmlStr",value:function(){var n,i,o=zae(this.formulaConfig||{}),s=Ws(o).call(o,function(g,m){var b,w,C=od(g,2),T=C[0],k=C[1].title;return St(b=St(w='
  • ')).call(b,k,"
  • ")}).join(""),u='
      '.concat(s,"
    "),d=Ws(o).call(o,function(g,m){var b,w,C,T,k=od(g,2),$=k[0],O=k[1],B=(b=zae((O==null?void 0:O.subCategory)||{}))===null||b===void 0?void 0:Ws(b).call(b,function(P){var N,L,R,H,Q,q,X=od(P,2),re=X[0],J=X[1],V=J==null||(N=J.formulas)===null||N===void 0?void 0:Ws(N).call(N,function(le){var te,Z;if(le.latex==="")return'
    '.concat(le.name,"
    ");var Ae=le.img||"";return St(te=St(Z='
    ')).call(te,Ae||le.name,"
    ")}).join(""),ue=St(L='
    ')).call(L,V,"
    "),Y=St(R='");return St(H=St(Q=St(q='
    ')).call(Q,Y)).call(H,ue,"
    ")}).join("");return St(w=St(C=St(T='
    ')).call(w,B,"
    ")}).join(""),f=this.showLatexLive?'
    查看更多:www.latexlive.com
    ':"";return St(n=St(i="".concat(u)).call(i,d)).call(n,f)}},{key:"init",value:function(){ad(this.formulaConfig).length&&(this.dom=document.createElement("div"),this.dom.className=["cherry-dropdown","cherry-insert-formula","cherry-insert-formula-wrappler"].join(" "),this.dom.innerHTML=this.generateBubbleFormulaHtmlStr(),this.dom.style.display="none")}},{key:"show",value:function(n){this.dom.style.removeProperty("display"),this.afterClick=n}},{key:"hide",value:function(){this.dom.style.display="none"}},{key:"isShow",value:function(){return this.dom.style.display==="block"}},{key:"isHide",value:function(){return this.dom.style.display==="none"}},{key:"initEventListeners",value:function(){var n,i,o,s=this;(n=this.dom.querySelector(".cherry-insert-formula-tabs"))===null||n===void 0||n.addEventListener("click",va(i=this.handleClickFormulaTabs).call(i,this)),(o=this.dom.querySelectorAll(".cherry-insert-formula-categary__func-item"))===null||o===void 0||Wo(o).call(o,function(u){var d;return u==null?void 0:u.addEventListener("click",va(d=s.handleClickFormulaSelect).call(d,s))})}},{key:"handleClickFormulaTabs",value:function(n){n.preventDefault(),n.stopPropagation();var i=n.target;if(i instanceof HTMLLIElement||i instanceof HTMLSpanElement){var o=i instanceof HTMLSpanElement?i.parentElement:i,s=o.dataset.name,u=document.querySelector(".cherry-insert-formula-select[data-name=".concat(s,"]")),d=document.querySelector(".cherry-insert-formula-tab.active"),f=document.querySelector(".cherry-insert-formula-select.active");d==null||d.classList.remove("active"),f==null||f.classList.remove("active"),o.classList.add("active"),u.classList.add("active")}}},{key:"handleClickFormulaSelect",value:function(n){n.preventDefault(),n.stopPropagation();var i=n.target;if(i instanceof HTMLElement){var o=i.dataset.formulaCode,s=o===void 0?"":o;this.afterClick(s),this.hide()}}}]),t}();function PYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var LYn=function(t){Io(i,xl);var n=PYn(i);function i(o){var s,u,d,f;return vi(this,i),(f=n.call(this,o)).setName("formula","insertFormula"),f.subBubbleFormulaMenu=new MYn(o==null||(s=o.options)===null||s===void 0||(u=s.toolbars)===null||u===void 0||(d=u.config)===null||d===void 0?void 0:d.formula),o.editor.options.wrapperDom.appendChild(f.subBubbleFormulaMenu.dom),f.catchOnce="",f}return bi(i,[{key:"onClick",value:function(o){var s=this;if(this.subBubbleFormulaMenu.isHide()||!this.hasCacheOnce()){var u=this.dom.getBoundingClientRect();return this.subBubbleFormulaMenu.dom.style.left="".concat(u.left+u.width,"px"),this.subBubbleFormulaMenu.dom.style.top="".concat(u.top+u.height,"px"),this.subBubbleFormulaMenu.show(function(d){var f,g,m=/\n/.test(d)?"".concat(/\n$/.test(o)?o:"".concat(o,` +`),"$$"):"".concat(o," $ "),b=/\n/.test(d)?` +$$ `:" $ ";s.registerAfterClickCb(function(){s.setLessSelection(m,b)});var w=St(f=St(g="".concat(m)).call(g,d)).call(f,b);s.setCacheOnce(w),s.fire(null)}),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}},{key:"shortcutKeys",get:function(){return["Ctrl-m"]}}]),i}();function DYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var FYn=function(t){Io(i,xl);var n=DYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("link","link"),s}return bi(i,[{key:"onClick",value:function(o){var s;if(/^http/.test(o))return St(s="[".concat(this.locale.link,"](")).call(s,o,")");var u=o||this.locale.link;return"[".concat(u,"](http://url.com) ")}},{key:"shortcutKeys",get:function(){return["Ctrl-l"]}}]),i}();function NYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var RYn=function(t){Io(i,xl);var n=NYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("table","table"),s.subBubbleTableMenu=new Aen({row:9,col:9}),o.editor.options.wrapperDom.appendChild(s.subBubbleTableMenu.dom),s.catchOnce="",s}return bi(i,[{key:"onClick",value:function(o){var s=this;if(this.subBubbleTableMenu.dom.style.display==="none"||!this.hasCacheOnce()){var u=this.dom.getBoundingClientRect();return this.subBubbleTableMenu.dom.style.left="".concat(u.left+u.width,"px"),this.subBubbleTableMenu.dom.style.top="".concat(u.top+u.height,"px"),this.subBubbleTableMenu.show(function(d,f){var g,m,b,w=Gf(" Header |").call(" Header |",f),C=Gf(" ------ |").call(" ------ |",f),T=` +|`.concat(Gf(" Sample |").call(" Sample |",f)),k=St(g=St(m=St(b="".concat(o,` + +|`)).call(b,w,` +|`)).call(m,C)).call(g,Gf(T).call(T,d),` + +`);s.setCacheOnce(k),s.fire(null)}),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}}]),i}();function HYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var QYn=function(t){Io(i,xl);var n=HYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("toc","toc"),s}return bi(i,[{key:"onClick",value:function(o){return"".concat(o,` + +[[toc]] +`)}}]),i}();function jYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var UYn=function(t){Io(i,xl);var n=jYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("lineTable","table"),s}return bi(i,[{key:"onClick",value:function(o){var s;return St(s="".concat(o,` + +`)).call(s,["| :line: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join(` +`),` + +`)}}]),i}();function zYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var KYn=function(t){Io(i,xl);var n=zYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("brTable","table"),s}return bi(i,[{key:"onClick",value:function(o){var s;return St(s="".concat(o,` + +`)).call(s,["| :bar: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join(` +`),` + +`)}}]),i}();function VYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var WYn=function(t){Io(i,xl);var n=VYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("pdf","pdf"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d,f=this;if(this.hasCacheOnce()){var g,m=this.getAndCleanCacheOnce(),b=m.name,w=m.url,C=m.params,T="](".concat(w,")");this.registerAfterClickCb(function(){f.setLessSelection("[",T)});var k=C.name?C.name:b;return St(g="".concat("[").concat(k)).call(g,T)}var $=(s=(u=this.$cherry.options)===null||u===void 0||(d=u.fileTypeLimitMap)===null||d===void 0?void 0:d.pdf)!==null&&s!==void 0?s:"*";return iG(this.editor,"pdf",$,function(O,B,P){f.setCacheOnce({name:O,url:B,params:P}),f.fire(null)}),this.updateMarkdown=!1,o}}]),i}();function XYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var GYn=function(t){Io(i,xl);var n=XYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("file","phone"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d,f=this;if(this.hasCacheOnce()){var g,m=this.getAndCleanCacheOnce(),b=m.name,w=m.url,C=m.params,T="](".concat(w,")");this.registerAfterClickCb(function(){f.setLessSelection("[",T)});var k=C.name?C.name:b;return St(g="".concat("[").concat(k)).call(g,T)}var $=(s=(u=this.$cherry.options)===null||u===void 0||(d=u.fileTypeLimitMap)===null||d===void 0?void 0:d.file)!==null&&s!==void 0?s:"*";return iG(this.editor,"file",$,function(O,B,P){f.setCacheOnce({name:O,url:B,params:P}),f.fire(null)}),this.updateMarkdown=!1,o}}]),i}();function YYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var qYn=function(t){Io(i,xl);var n=YYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("word","word"),s}return bi(i,[{key:"onClick",value:function(o){var s,u,d,f=this;if(this.hasCacheOnce()){var g,m=this.getAndCleanCacheOnce(),b=m.name,w=m.url,C=m.params,T="](".concat(w,")");this.registerAfterClickCb(function(){f.setLessSelection("[",T)});var k=C.name?C.name:b;return St(g="".concat("[").concat(k)).call(g,T)}var $=(s=(u=this.$cherry.options)===null||u===void 0||(d=u.fileTypeLimitMap)===null||d===void 0?void 0:d.word)!==null&&s!==void 0?s:"*";return iG(this.editor,"word",$,function(O,B,P){f.setCacheOnce({name:O,url:B,params:P}),f.fire(null)}),this.updateMarkdown=!1,o}}]),i}();function JYn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var ZYn=function(t){Io(i,xl);var n=JYn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("pinyin","pinyin"),s}return bi(i,[{key:"$testIsRuby",value:function(o){return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(o)}},{key:"onClick",value:function(o){var s,u,d=this,f=iv(this.editor.editor,o)||"拼音";if(this.isSelections||this.$testIsRuby(f)||this.getMoreSelection(" { "," } ",function(){var m=d.editor.editor.getSelection(),b=d.$testIsRuby(m);return b&&(f=m),b}),this.$testIsRuby(f))return f.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1");var g=Ra(s=this.editor.$cherry.options.callback.changeString2Pinyin(f)||"pin yin").call(s);return this.registerAfterClickCb(function(){d.setLessSelection(" { "," } ")}),St(u=" { ".concat(f," | ")).call(u,g," } ")}}]),i}();function eqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var tqn=function(t){Io(i,xl);var n=eqn(i);function i(o){var s,u;vi(this,i),(u=n.call(this,o)).setName("theme","insertChart"),u.subMenuConfig=[];var d=Rs(u);return Wo(s=o.options.theme).call(s,function(f){var g;d.subMenuConfig.push({iconName:f.className,name:f.label,onclick:va(g=d.bindSubClick).call(g,d,f.className)})}),u}return bi(i,[{key:"onClick",value:function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return OJt(this.$cherry,s),this.updateMarkdown=!1,""}}]),i}();function nqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var rqn=function(t){Io(i,xl);var n=nqn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("wordCount","wordCount"),s.noIcon=!0,s.countState=0,s.countEvent=new Event("count"),s}return bi(i,[{key:"onClick",value:function(o){var s=this,u=document.querySelector(".cherry-toolbar-button.cherry-toolbar-wordCount");if(this.countState===0){u.addEventListener("count",function(){var f=s.$cherry.getMarkdown(),g=s.wordCount(f),m=g.characters,b=g.words,w=g.paragraphs;s.countState===1?u.innerHTML="P ".concat(w):s.countState===2?u.innerHTML="W ".concat(b):u.innerHTML="C ".concat(m)});var d=null;this.editor.editor.on("change",function(){d&&clearTimeout(d),d=gA(function(){u.dispatchEvent(s.countEvent),d=null},500)})}return this.countState=(this.countState+1)%3+1,u.dispatchEvent(this.countEvent),o}},{key:"wordCount",value:function(o){var s,u,d=/[\u4e00-\u9fa5]|[\u3001\u3002\uff01\uff0c\uff1b\uff1a\u201c\u201d\u2018\u2019\u300a\u300b\u3008\u3009\u3010\u3011\u300e\u300f\u300c\u300d\uff08\uff09\u2014\u2026\u2013\uff0e]/g,f=o.replace(/\n|\s/g,"").length,g=(o.match(d)||[]).length+Jf(s=o.replace(d," ").split(/[\s\n]+/)).call(s,Boolean).length,m=Jf(u=o.split(/\n{2,}/)).call(u,function(b){return Ra(b).call(b)!==""}).length;return{characters:f,words:g,paragraphs:m}}}]),i}();function iqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var oqn=function(t){Io(i,xl);var n=iqn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).previewer=o.previewer,s.updateMarkdown=!1,s.setName("mobilePreview","phone"),s}return bi(i,[{key:"onClick",value:function(){this.previewer.removeScroll();var o=this.previewer.getDomContainer();this.previewer.isMobilePreview?o.parentNode.innerHTML=o.innerHTML:o.innerHTML="
    ".concat(o.innerHTML,"
    "),this.previewer.isMobilePreview=!this.previewer.isMobilePreview,this.previewer.bindScroll()}}]),i}(),oqe=sen;function aqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var sqn=function(t){Io(o,xl);var n,i=aqn(o);function o(s){var u;return vi(this,o),(u=i.call(this,s)).previewer=s.previewer,u.isLoading=!1,u.updateMarkdown=!1,u.setName("copy","copy"),u}return bi(o,[{key:"adaptWechat",value:(n=len(SX.mark(function s(u){var d,f,g,m,b;return SX.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return d=/(
    .*?<\/figure>)/g,f=u.replace(d,function(C,T,k,$){var O,B;return St(O=St(B="".concat(T,"p")).call(B,k,"p")).call(O,$)}),g=/()/g,m=[],f.replace(g,function(C,T,k){m.push(lqn(k))}),w.next=7,oqe.all(m);case 7:return b=w.sent,w.abrupt("return",f.replace(g,function(C,T,k,$){return T+b.shift()+$}));case 9:case"end":return w.stop()}},s)})),function(s){return n.apply(this,arguments)})},{key:"getStyleFromSheets",value:function(s){var u,d=Jf(u=mu(document.styleSheets)).call(u,function(f){var g;return f.cssRules[0]&&vu(g=f.cssRules[0].cssText).call(g,s)>-1});return"")}},{key:"computeStyle",value:function(){return{mathStyle:this.getStyleFromSheets("mjx-container"),echartStyle:"",cherryStyle:this.getStyleFromSheets("cherry")}}},{key:"toggleLoading",value:function(){this.isLoading?document.querySelector(".icon-loading").outerHTML=''):document.querySelector(".ch-icon-copy").outerHTML='
    ',this.isLoading=!this.isLoading}},{key:"onClick",value:function(s){var u=this;this.toggleLoading();var d=document.querySelector(".cherry").getAttribute("data-inline-code-theme"),f=document.querySelector(".cherry").getAttribute("data-code-block-theme"),g=this.computeStyle(),m=g.mathStyle,b=g.echartStyle,w=g.cherryStyle,C=this.previewer.isPreviewerHidden()?this.previewer.options.previewerCache.html:this.previewer.getValue();this.adaptWechat(C).then(function(T){var k,$,O;hen(St(k=St($=St(O="".concat(m+b+w,` +
    +
    `)).call(k,T,`
    +
    `)),u.toggleLoading()})}}]),o}();function lqn(t,n,i){return new oqe(function(o){var s=document.createElement("CANVAS"),u=s.getContext("2d"),d=new Image;d.crossOrigin="Anonymous",d.onload=function(){s.height=d.height,s.width=d.width,u.drawImage(d,0,0);var f=s.toDataURL(i||"image/png");o(f),s=null},d.src=t})}function cqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var men=function(t){Io(i,xl);var n=cqn(i);function i(o){var s,u,d,f,g,m;return vi(this,i),(m=n.call(this,o)).setName("panel","tips"),m.panelRule=WYe().reg,m.subMenuConfig=[{iconName:"tips",name:"tips",onclick:va(s=m.bindSubClick).call(s,Rs(m),"primary")},{iconName:"info",name:"info",onclick:va(u=m.bindSubClick).call(u,Rs(m),"info")},{iconName:"warning",name:"warning",onclick:va(d=m.bindSubClick).call(d,Rs(m),"warning")},{iconName:"danger",name:"danger",onclick:va(f=m.bindSubClick).call(f,Rs(m),"danger")},{iconName:"success",name:"success",onclick:va(g=m.bindSubClick).call(g,Rs(m),"success")}],m}return bi(i,[{key:"$getNameFromStr",value:function(o){var s=!1;return this.panelRule.lastIndex=0,o.replace(this.panelRule,function(u,d,f,g){var m=/\s/.test(Ra(f).call(f))?Ra(f).call(f).replace(/\s.*$/,""):f;return s=m?Ra(m).call(m).toLowerCase():"",u}),s}},{key:"$getTitle",value:function(o){return this.panelRule.lastIndex=0,o.replace(this.panelRule,function(s,u,d,f){var g=Ra(d).call(d);return/\s/.test(g)?g.replace(/[^\s]+\s/,""):""}),""}},{key:"onClick",value:function(o){var s,u,d=this,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",g=iv(this.editor.editor,o,"line",!0)||"内容",m=this.$getNameFromStr(g),b=this.$getTitle(g);return m===!1&&this.getMoreSelection("::: ",` +`,function(){var w=d.editor.editor.getSelection(),C=d.$getNameFromStr(w);return C!==!1&&(g=w,m=C,b=d.$getTitle(w)),C!==!1}),m!==!1?m===f?(this.panelRule.lastIndex=0,g.replace(this.panelRule,function(w,C,T,k){var $,O=Ra(T).call(T),B=/\s/.test(O)?O.replace(/[^\s]+\s/,""):"";return St($="".concat(B,` +`)).call($,k)})):(this.registerAfterClickCb(function(){d.setLessSelection("::: ",` +`)}),this.panelRule.lastIndex=0,g.replace(this.panelRule,function(w,C,T,k){var $,O,B=Ra(T).call(T),P=/\s/.test(B)?B.replace(/[^\s]+\s/,""):"";return St($=St(O="::: ".concat(f," ")).call(O,P,` +`)).call($,k.replace(/\n+$/,""),` +:::`)})):(this.registerAfterClickCb(function(){d.setLessSelection("::: ",` +`)}),g=g.replace(/^\n+/,""),/\n/.test(g)?b||(b=g.replace(/\n[\w\W]+$/,""),g=g.replace(/^[^\n]+\n/,"")):b=b||"标题",St(s=St(u="::: ".concat(f," ")).call(u,b,` +`)).call(s,g,` +:::`).replace(/\n{2,}:::/g,` +:::`))}}]),i}();function uqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var dqn=function(t){Io(i,men);var n=uqn(i);function i(o){var s,u,d,f,g,m,b;vi(this,i),(b=n.call(this,o)).setName("justify","justify"),b.panelRule=WYe().reg;var w=b.$cherry.locale;return b.subMenuConfig=[{iconName:"justifyLeft",name:(s=w==null?void 0:w.justifyLeft)!==null&&s!==void 0?s:"左对齐",onclick:va(u=b.bindSubClick).call(u,Rs(b),"left")},{iconName:"justifyCenter",name:(d=w==null?void 0:w.justifyCenter)!==null&&d!==void 0?d:"居中",onclick:va(f=b.bindSubClick).call(f,Rs(b),"center")},{iconName:"justifyRight",name:(g=w==null?void 0:w.justifyRight)!==null&&g!==void 0?g:"右对齐",onclick:va(m=b.bindSubClick).call(m,Rs(b),"right")}],b}return bi(i,[{key:"$getTitle",value:function(){return" "}}]),i}();function hqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var fqn=function(t){Io(i,xl);var n=hqn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("detail","insertFlow"),s.detailRule=IJt().reg,s}return bi(i,[{key:"onClick",value:function(o){var s,u=this,d=iv(this.editor.editor,o,"line",!0)||`点击展开更多 +内容 +++- 默认展开 +内容 +++ 默认收起 +内容`;return this.detailRule.lastIndex=0,this.detailRule.test(d)||this.getMoreSelection("+++ ",` +`,function(){var f=u.editor.editor.getSelection();u.detailRule.lastIndex=0;var g=u.detailRule.test(f);return g!==!1&&(d=f),g!==!1}),this.detailRule.lastIndex=0,this.detailRule.test(d)?(this.detailRule.lastIndex=0,d.replace(this.detailRule,function(f,g,m,b,w){var C;return St(C="".concat(b,` +`)).call(C,w)})):(d=d.replace(/^\s+/,""),/\n/.test(d)||(d=St(s="".concat(d,` +`)).call(s,d)),this.registerAfterClickCb(function(){u.setLessSelection("+++ ",` +`)}),"+++ ".concat(d,` ++++`).replace(/\n{2,}\+\+\+/g,` ++++`))}}]),i}();function gqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var pqn=function(t){Io(i,xl);var n=gqn(i);function i(o){var s;return vi(this,i),(s=n.call(this,o)).setName("draw.io","draw.io"),s.noIcon=!0,s.drawioIframeUrl=o.options.drawioIframeUrl,s}return bi(i,[{key:"onClick",value:function(o){var s=this;if(!this.drawioIframeUrl)return o;if(this.hasCacheOnce()){var u,d=this.getAndCleanCacheOnce(),f=d.xmlData,g=d.base64,m=St(u="](".concat(g,"){data-type=drawio data-xml=")).call(u,encodeURI(f),"}");return this.registerAfterClickCb(function(){s.setLessSelection("![",m)}),"".concat("![","在预览区点击图片重新编辑draw.io").concat(m)}return fen(this.drawioIframeUrl,"",function(b){s.setCacheOnce(b),s.fire(null)}),this.updateMarkdown=!1,o}}]),i}(),ZNt={bold:gGn,italic:AGn,"|":vGn,strikethrough:yGn,sub:xGn,sup:SGn,header:_Gn,insert:OGn,list:PGn,ol:DGn,ul:NGn,checklist:HGn,graph:zGn,size:VGn,h1:XGn,h2:YGn,h3:JGn,color:EGn,quote:eYn,quickTable:nYn,togglePreview:iYn,code:hYn,codeTheme:gYn,export:AYn,settings:vYn,fullScreen:aYn,mobilePreview:oqn,copy:sqn,undo:lYn,redo:uYn,underline:yYn,switchModel:xYn,image:SYn,audio:EYn,video:BYn,br:$Yn,hr:OYn,formula:LYn,link:FYn,table:RYn,toc:QYn,lineTable:UYn,barTable:KYn,pdf:WYn,word:qYn,ruby:ZYn,theme:tqn,file:GYn,panel:men,justify:dqn,detail:fqn,drawIo:pqn,wordCount:rqn},Aqn=function(){function t(n){vi(this,t),this.toolbar=n,this.hooks={},this.allMenusName=[],this.level1MenusName=[],this.level2MenusName={},this.init()}return bi(t,[{key:"$newMenu",value:function(n){if(!this.hooks[n]){var i=this.toolbar.options,o=i.$cherry,s=i.customMenu;ZNt[n]?(this.allMenusName.push(n),this.hooks[n]=new ZNt[n](o)):s!=null&&s[n]&&(this.allMenusName.push(n),this.hooks[n]=new s[n](o))}}},{key:"init",value:function(){var n=this,i=this.toolbar.options.buttonConfig;Wo(i).call(i,function(o){if(typeof o=="string")n.level1MenusName.push(o),n.$newMenu(o);else if(Uc(o)==="object"){var s=ad(o);if(s.length===1){var u,d=od(s,1)[0];n.level1MenusName.push(d),n.$newMenu(d),n.level2MenusName[d]=o[d],Wo(u=o[d]).call(u,function(f){n.$newMenu(f)})}}})}}]),t}(),qse=function(){function t(n){vi(this,t),Ni(this,"toolbarHandlers",{}),this.menus={},this.shortcutKeyMap={},this.subMenus={},this.options={dom:document.createElement("div"),buttonConfig:["bold"],customMenu:[]},m$(this.options,n),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.instanceId,this.menus=new Aqn(this),this.drawMenus(),this.collectShortcutKey(),this.collectToolbarHandler(),this.init()}return bi(t,[{key:"init",value:function(){var n=this;wl.on(this.instanceId,wl.Events.cleanAllSubMenus,function(){return n.hideAllSubMenu()})}},{key:"previewOnly",value:function(){this.options.dom.classList.add("preview-only"),this.$cherry.wrapperDom.classList.add("cherry--no-toolbar"),wl.emit(this.instanceId,wl.Events.toolbarHide)}},{key:"showToolbar",value:function(){this.options.dom.classList.remove("preview-only"),this.$cherry.wrapperDom.classList.remove("cherry--no-toolbar"),wl.emit(this.instanceId,wl.Events.toolbarShow)}},{key:"isHasLevel2Menu",value:function(n){return this.menus.level2MenusName[n]}},{key:"isHasConfigMenu",value:function(n){return this.menus.hooks[n].subMenuConfig||[]}},{key:"isHasSubMenu",value:function(n){return!!(this.isHasLevel2Menu(n)||this.isHasConfigMenu(n).length>0)}},{key:"drawMenus",value:function(){var n,i=this,o=document.createDocumentFragment();Wo(n=this.menus.level1MenusName).call(n,function(s){var u=i.menus.hooks[s].createBtn();(typeof window>"u"?"undefined":Uc(window))==="object"&&"onpointerup"in window?(u.addEventListener("pointerdown",function(){i.isPointerDown=!0},!1),u.addEventListener("pointerup",function(d){i.isPointerDown&&i.onClick(d,s),i.isPointerDown=!1},!1)):u.addEventListener("click",function(d){i.onClick(d,s)},!1),i.isHasSubMenu(s)&&u.classList.add("cherry-toolbar-dropdown"),o.appendChild(u)}),this.appendMenusToDom(o)}},{key:"appendMenusToDom",value:function(n){var i=Vu("div","toolbar-left");i.appendChild(n),this.options.dom.appendChild(i)}},{key:"setSubMenuPosition",value:function(n,i){var o=n.getMenuPosition();i.style.left="".concat(o.left+o.width/2,"px"),i.style.top="".concat(o.top+o.height,"px"),i.style.position=n.positionModel}},{key:"drawSubMenus",value:function(n){var i=this;this.subMenus[n]=Vu("div","cherry-dropdown",{name:n}),this.setSubMenuPosition(this.menus.hooks[n],this.subMenus[n]);var o=this.isHasLevel2Menu(n);o&&Wo(o).call(o,function(u){var d=i.menus.hooks[u];if(d!==void 0&&typeof d.createBtn=="function"){var f=d.createBtn(!0);d.dom=d.dom?d.dom:i.menus.hooks[n].dom,f.addEventListener("click",function(g){return i.onClick(g,u,!0)},!1),i.subMenus[n].appendChild(f)}});var s=this.isHasConfigMenu(n);s.length>0&&Wo(s).call(s,function(u){var d=i.menus.hooks[n].createSubBtnByConfig(u);d.addEventListener("click",function(){return i.hideAllSubMenu()},!1),i.subMenus[n].appendChild(d)}),this.$cherry.wrapperDom.appendChild(this.subMenus[n])}},{key:"onClick",value:function(n,i){var o=arguments.length>2&&arguments[2]!==void 0&&arguments[2],s=this.menus.hooks[i];s&&(this.isHasSubMenu(i)&&!o?this.toggleSubMenu(i):(this.hideAllSubMenu(),s.fire(n,i)))}},{key:"toggleSubMenu",value:function(n){if(!this.subMenus[n])return this.hideAllSubMenu(),this.drawSubMenus(n),void(this.subMenus[n].style.display="block");this.subMenus[n].style.display==="none"?(this.hideAllSubMenu(),this.subMenus[n].style.display="block",this.setSubMenuPosition(this.menus.hooks[n],this.subMenus[n])):this.subMenus[n].style.display="none"}},{key:"hideAllSubMenu",value:function(){var n;Wo(n=this.$cherry.wrapperDom.querySelectorAll(".cherry-dropdown")).call(n,function(i){i.style.display="none"})}},{key:"collectMenuInfo",value:function(n){this.toolbarHandlers=m$({},this.toolbarHandlers,n.toolbarHandlers),this.menus.hooks=m$({},n.menus.hooks,this.menus.hooks),(!this.options.shortcutKey||ad(this.options.shortcutKey).length<=0)&&(this.shortcutKeyMap=m$({},this.shortcutKeyMap,n.shortcutKeyMap))}},{key:"collectShortcutKey",value:function(){var n,i=this;this.options.shortcutKey&&ad(this.options.shortcutKey).length>0?this.shortcutKeyMap=this.options.shortcutKey:Wo(n=this.menus.allMenusName).call(n,function(o){var s;(s=i.menus.hooks[o].shortcutKeys)===null||s===void 0||Wo(s).call(s,function(u){i.shortcutKeyMap[u]=o})})}},{key:"collectToolbarHandler",value:function(){var n,i=this;this.toolbarHandlers=R$(n=this.menus.allMenusName).call(n,function(o,s){var u=i.menus.hooks[s];return u&&(o[s]=function(d,f){typeof f=="function"&&Py.warn("MenuBase#onClick param callback is no longer supported. Please register the callback via MenuBase#registerAfterClickCb instead."),u.fire.call(u,void 0,d)}),o},{})}},{key:"matchShortcutKey",value:function(n){return!!this.shortcutKeyMap[this.getCurrentKey(n)]}},{key:"fireShortcutKey",value:function(n){var i,o=this.getCurrentKey(n);(i=this.menus.hooks[this.shortcutKeyMap[o]])===null||i===void 0||i.fire(n,o)}},{key:"getCurrentKey",value:function(n){var i="";return n.ctrlKey&&(i+="Ctrl-"),n.altKey&&(i+="Alt-"),n.metaKey&&dGn&&(i+="Ctrl-"),n.shiftKey&&(i+="Shift-"),n.key&&n.key.toLowerCase()!=="shift"&&(i+=n.key.toLowerCase()),i}}]),t}();function mqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var ven=function(t){Io(i,qse);var n=mqn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"visible",get:function(){var o=window.getComputedStyle(this.bubbleDom);return o.display!=="none"&&o.visibility!=="hidden"},set:function(o){var s=window.getComputedStyle(this.bubbleDom);o?s.display==="none"&&(this.bubbleDom.style.display=i.displayType):s.display!=="none"&&(this.bubbleDom.style.display="none")}},{key:"init",value:function(){this.options.editor=this.$cherry.editor,this.addSelectionChangeListener(),this.bubbleDom=this.options.dom,this.editorDom=this.options.editor.getEditorDom(),this.initBubbleDom(),this.editorDom.querySelector(".CodeMirror").appendChild(this.bubbleDom)}},{key:"appendMenusToDom",value:function(o){this.options.dom.appendChild(o)}},{key:"getScrollTop",value:function(){return this.options.editor.editor.getScrollInfo().top}},{key:"updatePositionWhenScroll",value:function(){this.bubbleDom.style.display===i.displayType&&(this.bubbleDom.style.marginTop="".concat(Jm(this.bubbleDom.dataset.scrollTop)-this.getScrollTop(),"px"))}},{key:"showBubble",value:function(o,s){this.visible||(this.visible=!0,this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=String(this.getScrollTop()));var u=this.editorDom.querySelector(".CodeMirror-lines").firstChild.getBoundingClientRect(),d=this.editorDom.getBoundingClientRect(),f=u.left-d.left,g=u.width+f,m=o;m<2*this.bubbleDom.offsetHeight?(m+=this.bubbleDom.offsetHeight-this.bubbleTop.getBoundingClientRect().height,this.bubbleTop.style.display="block",this.bubbleBottom.style.display="none"):(m-=this.bubbleDom.offsetHeight+2*this.bubbleBottom.getBoundingClientRect().height,this.bubbleTop.style.display="none",this.bubbleBottom.style.display="block"),this.bubbleDom.style.top="".concat(m,"px");var b=s-this.bubbleDom.offsetWidth/2;bg?(b=g-this.bubbleDom.offsetWidth,this.$setBubbleCursorPosition("".concat(s-b,"px"))):this.$setBubbleCursorPosition("50%"),this.bubbleDom.style.left="".concat(Math.max(20,b),"px")}},{key:"hideBubble",value:function(){this.visible=!1}},{key:"$setBubbleCursorPosition",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"50%";if(o==="50%")this.bubbleTop.style.left="50%",this.bubbleBottom.style.left="50%";else{var s=Jm(o)<10?"10px":o;this.bubbleTop.style.left=s,this.bubbleBottom.style.left=s}}},{key:"initBubbleDom",value:function(){var o=document.createElement("div");o.className="cherry-bubble-top";var s=document.createElement("div");s.className="cherry-bubble-bottom",this.bubbleTop=o,this.bubbleBottom=s,this.bubbleDom.appendChild(o),this.bubbleDom.appendChild(s),this.visible=!1}},{key:"getBubbleDom",value:function(){return this.bubbleDom}},{key:"addSelectionChangeListener",value:function(){var o=this;this.options.editor.addListener("change",function(s){o.hideBubble()}),this.options.editor.addListener("refresh",function(s){o.hideBubble()}),this.options.editor.addListener("scroll",function(s){o.updatePositionWhenScroll()}),this.options.editor.addListener("beforeSelectionChange",function(s,u){if(u.origin!=="*mouse"&&(u.origin!==null||u.origin===void 0)||!u.ranges[0])return!0;var d=1e6*u.ranges[0].anchor.line+u.ranges[0].anchor.ch,f=1e6*u.ranges[0].head.line+u.ranges[0].head.ch,g="asc";d>f&&(g="desc"),gA(function(){if(s.getSelections().join("").length<=0)o.hideBubble();else{var m=s.getWrapperElement().getElementsByClassName("CodeMirror-selected"),b=o.editorDom.getBoundingClientRect(),w=0,C=0;if(Uc(m)!=="object"||m.length<=0)o.hideBubble();else{for(var T=0;T=C&&(C=$,w=k.left-b.left+k.width/2):($<=C||C<=0)&&(C=$,w=k.left-b.left+k.width/2)}o.showBubble(C,w)}}},10)})}}]),i}();function vqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(ven,"displayType","flex");var bqn=function(t){Io(i,qse);var n=vqn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"init",value:function(){this.editor=this.$cherry.editor,this.editorDom=this.editor.getEditorDom(),this.editorDom.querySelector(".CodeMirror-scroll").appendChild(this.options.dom),this.initAction()}},{key:"appendMenusToDom",value:function(o){this.options.dom.appendChild(o)}},{key:"initAction",value:function(){var o=this;this.editor.addListener("cursorActivity",function(s,u){o.cursorActivity(u,s)}),this.editor.addListener("update",function(s,u){o.cursorActivity(u,s)}),this.editor.addListener("refresh",function(s,u){gA(function(){o.cursorActivity(u,s)},0)})}},{key:"update",value:function(o,s){var u=s.getCursor();if(this.isHidden(u.line,s))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block"}},{key:"cursorActivity",value:function(o,s){var u=s.getCursor(),d=document.querySelector(".cherry-editor .CodeMirror-lines");if(!d)return!1;var f=getComputedStyle(d),g=Jm(f.paddingLeft),m=Jm(f.paddingTop);if(this.isHidden(u.line,s))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block",this.options.dom.style.left="".concat(g,"px"),this.options.dom.style.top="".concat(this.getLineHeight(u.line,s)+m,"px")}},{key:"isHidden",value:function(o,s){return s.getSelections().length>1||s.getSelection().length>0||!!s.getLine(o)}},{key:"getLineHeight",value:function(o,s){var u=0;return s.getDoc().eachLine(0,o,function(d){u+=d.height}),u}}]),i}();function yqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var wqn=function(t){Io(i,qse);var n=yqn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"appendMenusToDom",value:function(o){var s=Vu("div","toolbar-right");s.appendChild(o),this.options.dom.appendChild(s)}}]),i}(),xqn=function(){function t(n){var i,o;vi(this,t),this.$cherry=n.$cherry,this.editor=n.$cherry.editor.editor,this.tocStr="",this.updateLocationHash=(i=n.updateLocationHash)===null||i===void 0||i,this.defaultModel=(o=n.defaultModel)!==null&&o!==void 0?o:"full",this.init()}return bi(t,[{key:"init",value:function(){var n=this;this.drawDom(),this.timer=gA(function(){n.updateTocList()},300),this.editor.on("change",function(i,o){clearTimeout(n.timer),n.timer=gA(function(){n.updateTocList(),n.$switchModel(n.model)},300)}),this.$switchModel(this.getModelFromLocalStorage())}},{key:"getModelFromLocalStorage",value:function(){return typeof localStorage>"u"?this.defaultModel:localStorage.getItem("cherry-toc-model")||this.defaultModel}},{key:"setModelToLocalStorage",value:function(n){typeof localStorage<"u"&&localStorage.setItem("cherry-toc-model",n)}},{key:"drawDom",value:function(){var n=Vu("div","cherry-flex-toc cherry-flex-toc__pure"),i=Vu("div","cherry-toc-head"),o=Vu("span","cherry-toc-title");o.append(this.$cherry.locale.toc);var s=Vu("i","ch-icon ch-icon-chevronsRight"),u=Vu("i","ch-icon ch-icon-chevronsLeft");this.tocClose=s,this.tocOpen=u,i.appendChild(o),i.appendChild(s),i.appendChild(u),n.appendChild(i);var d=Vu("div","cherry-toc-list");this.tocListDom=d,n.appendChild(d),this.tocDom=n,this.$cherry.wrapperDom.appendChild(n),this.bindClickEvent()}},{key:"bindClickEvent",value:function(){var n=this;this.tocDom.addEventListener("click",function(i){var o=n.$getClosestNode(i.target,"A");if(o!==!1&&/cherry-toc-one-a/.test(o.className)){var s=o.dataset,u=s.id,d=s.index;if(n.$cherry.status.previewer==="hide"){for(var f=n.$cherry.editor.editor.getSearchCursor(/(?:^|\n)\n*((?:[ \t\u00a0]*#{1,6}).+?|(?:[ \t\u00a0]*.+)\n(?:[ \t\u00a0]*[=]+|[-]+))(?=$|\n)/g),g=0;g<=d;g++)f.findNext();var m=f.from();n.$cherry.editor.scrollToLineNum(m.line,m.line+1,0)}else{var b,w=n.$cherry.previewer.getDomContainer(),C=(b=w.querySelectorAll("h1,h2,h3,h4,h5,h6,h7,h8")[d])!==null&&b!==void 0&&b;if(C!==!1){var T=w.scrollTop+C.getBoundingClientRect().y-w.getBoundingClientRect().y-20;w.scrollTo({top:T,left:0,behavior:"smooth"})}}n.updateLocationHash&&(location.href=u)}}),this.tocClose.addEventListener("click",function(i){n.$switchModel("pure"),n.setModelToLocalStorage("pure")}),this.tocOpen.addEventListener("click",function(i){n.$switchModel("full"),n.setModelToLocalStorage("full")}),window&&window.addEventListener("resize",function(){n.$switchModel(n.model)}),this.editor.on("scroll",function(i,o){n.updateTocList(!0)}),this.$cherry.previewer.getDomContainer().addEventListener("scroll",function(){n.updateTocList(!0)})}},{key:"$switchModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pure";this.model=n;var i="cherry-flex-toc__".concat(n);this.tocDom.classList.contains(i)||(this.tocDom.classList.remove("cherry-flex-toc__pure"),this.tocDom.classList.remove("cherry-flex-toc__full"),this.tocDom.classList.add(i));var o=this.tocListDom.querySelectorAll(".cherry-toc-one-a");if(o.length>0){var s=28;if(n==="pure"){var u=this.tocListDom.getBoundingClientRect().height,d=Math.floor((u-3*o.length)/o.length);s=d<3?3:d>10?10:d}for(var f=0;f0&&arguments[0]!==void 0&&arguments[0])!==!0){var n=this.$cherry.getToc(),i="";if(Ws(n).call(n,function(m){return i+=m.text,m}),i=YYe(i),this.tocStr!==i){this.tocStr=i;var o="",s=0;Ws(n).call(n,function(m){var b,w,C,T,k=m.text.replace(//g,""),$=k.replace(/<[^>]+?>/g,"");return o+=St(b=St(w=St(C=St(T='`)).call(b,k,""),s+=1,m}),this.tocListDom.innerHTML=o}}if(this.$cherry.status.previewer!=="hide"){for(var u,d=this.$cherry.previewer.getDomContainer().getBoundingClientRect().y,f=this.$cherry.previewer.getDomContainer().querySelectorAll("h1,h2,h3,h4,h5,h6,h7,h8"),g=0;gd+20);g++);g=g>0?g-1:g,Wo(u=this.tocListDom.querySelectorAll(".cherry-toc-one-a")).call(u,function(m,b){b===g?m.classList.add("current"):m.classList.remove("current")})}}}]),t}();function Cqn(t){var n=function(){if(typeof Reflect>"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}var Sqn=function(t){Io(i,qse);var n=Cqn(i);function i(){return vi(this,i),n.apply(this,arguments)}return bi(i,[{key:"appendMenusToDom",value:function(o){this.options.dom.appendChild(o)}}]),i}(),_9=-1,x7=1,F3=0;function Wae(t,n,i,o){if(t===n)return t?[[F3,t]]:[];if(i!=null){var s=function(m,b,w){var C=typeof w=="number"?{index:w,length:0}:w.oldRange,T=typeof w=="number"?null:w.newRange,k=m.length,$=b.length;if(C.length===0&&(T===null||T.length===0)){var O=C.index,B=m.slice(0,O),P=m.slice(O),N=T?T.index:null,L=O+$-k;if((N===null||N===L)&&!(L<0||L>$)){var R=b.slice(0,L);if((q=b.slice(L))===P){var H=Math.min(O,L);if((re=B.slice(0,H))===(V=R.slice(0,H)))return aUe(re,B.slice(H),R.slice(H),P)}}if(N===null||N===O){var Q=O,q=(R=b.slice(0,Q),b.slice(Q));if(R===B){var X=Math.min(k-Q,$-Q);if((J=P.slice(P.length-X))===(ue=q.slice(q.length-X)))return aUe(B,P.slice(0,P.length-X),q.slice(0,q.length-X),J)}}}if(C.length>0&&T&&T.length===0){var re=m.slice(0,C.index),J=m.slice(C.index+C.length);if(!($<(H=re.length)+(X=J.length))){var V=b.slice(0,H),ue=b.slice($-X);if(re===V&&J===ue)return aUe(re,m.slice(H,k-X),b.slice(H,$-X),J)}}return null}(t,n,i);if(s)return s}var u=XVe(t,n),d=t.substring(0,u);u=GVe(t=t.substring(u),n=n.substring(u));var f=t.substring(t.length-u),g=function(m,b){var w;if(!m)return[[x7,b]];if(!b)return[[_9,m]];var C=m.length>b.length?m:b,T=m.length>b.length?b:m,k=C.indexOf(T);if(k!==-1)return w=[[x7,C.substring(0,k)],[F3,T],[x7,C.substring(k+T.length)]],m.length>b.length&&(w[0][0]=w[2][0]=_9),w;if(T.length===1)return[[_9,m],[x7,b]];var $=function(Q,q){var X=Q.length>q.length?Q:q,re=Q.length>q.length?q:Q;if(X.length<4||2*re.length=ke.length?[Ce,Qe,Ve,ze,lt]:null}var V,ue,Y,le,te,Z=J(X,re,Math.ceil(X.length/4)),Ae=J(X,re,Math.ceil(X.length/2));if(!Z&&!Ae)return null;V=Ae?Z&&Z[4].length>Ae[4].length?Z:Ae:Z,Q.length>q.length?(ue=V[0],Y=V[1],le=V[2],te=V[3]):(le=V[0],te=V[1],ue=V[2],Y=V[3]);var Se=V[4];return[ue,Y,le,te,Se]}(m,b);if($){var O=$[0],B=$[1],P=$[2],N=$[3],L=$[4],R=Wae(O,P),H=Wae(B,N);return R.concat([[F3,L]],H)}return function(Q,q){for(var X=Q.length,re=q.length,J=Math.ceil((X+re)/2),V=J,ue=2*J,Y=new Array(ue),le=new Array(ue),te=0;teX)ke+=2;else if(ze>re)Se+=2;else if(Ae&&(lt=V+Z-Qe)>=0&<=(nt=X-le[lt]))return eRt(Q,q,rt,ze)}for(var ht=-Ce+Be;ht<=Ce-we;ht+=2){for(var nt,lt=V+ht,Ge=(nt=ht===-Ce||ht!==Ce&&le[lt-1]X)we+=2;else if(Ge>re)Be+=2;else if(!Ae&&(Ve=V+Z-ht)>=0&&Ve=(nt=X-nt))return eRt(Q,q,rt,ze)}}}return[[_9,Q],[x7,q]]}(m,b)}(t=t.substring(0,t.length-u),n=n.substring(0,n.length-u));return d&&g.unshift([F3,d]),f&&g.push([F3,f]),ben(g,o),g}function eRt(t,n,i,o){var s=t.substring(0,i),u=n.substring(0,o),d=t.substring(i),f=n.substring(o),g=Wae(s,u),m=Wae(d,f);return g.concat(m)}function XVe(t,n){if(!t||!n||t.charAt(0)!==n.charAt(0))return 0;for(var i=0,o=Math.min(t.length,n.length),s=o,u=0;i=0&&Cen(t[g][1])){var m=t[g][1].slice(-1);if(t[g][1]=t[g][1].slice(0,-1),d=m+d,f=m+f,!t[g][1]){t.splice(g,1),o--;var b=g-1;t[b]&&t[b][0]===x7&&(u++,f=t[b][1]+f,b--),t[b]&&t[b][0]===_9&&(s++,d=t[b][1]+d,b--),g=b}}xen(t[o][1])&&(m=t[o][1].charAt(0),t[o][1]=t[o][1].slice(1),d+=m,f+=m)}if(o0||f.length>0){d.length>0&&f.length>0&&((i=XVe(f,d))!==0&&(g>=0?t[g][1]+=f.substring(0,i):(t.splice(0,0,[F3,f.substring(0,i)]),o++),f=f.substring(i),d=d.substring(i)),(i=GVe(f,d))!==0&&(t[o][1]=f.substring(f.length-i)+t[o][1],f=f.substring(0,f.length-i),d=d.substring(0,d.length-i)));var w=u+s;d.length===0&&f.length===0?(t.splice(o-w,w),o-=w):d.length===0?(t.splice(o-w,w,[x7,f]),o=o-w+1):f.length===0?(t.splice(o-w,w,[_9,d]),o=o-w+1):(t.splice(o-w,w,[_9,d],[x7,f]),o=o-w+2)}o!==0&&t[o-1][0]===F3?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,u=0,s=0,d="",f=""}t[t.length-1][1]===""&&t.pop();var C=!1;for(o=1;o=55296&&t<=56319}function wen(t){return t>=56320&&t<=57343}function xen(t){return wen(t.charCodeAt(0))}function Cen(t){return yen(t.charCodeAt(t.length-1))}function aUe(t,n,i,o){return Cen(t)||xen(o)?null:function(s){for(var u=[],d=0;d0&&u.push(s[d]);return u}([[F3,t],[_9,n],[x7,i],[F3,o]])}function Dye(t,n,i){return Wae(t,n,i,!0)}Dye.INSERT=x7,Dye.DELETE=_9,Dye.EQUAL=F3;var c2e=Dye,Tqn=function(t,n){for(var i=-1,o=t==null?0:t.length;++i"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}function hRt(t,n,i){var o,s={};return Wo(o=ad(t)).call(o,function(u){vu(n).call(n,u)!==-1&&(Uc(i)==="object"?typeof i[u]=="string"?Uc(t[u])===i[u]&&(s[u]=t[u]):t[u]instanceof i[u]&&(s[u]=t[u]):typeof i=="string"&&Uc(t[u])===i&&(s[u]=t[u]))}),s}var iJn={HOOKS_TYPE_LIST:bX},fRt=[];G5()||Wo(fRt).call(fRt,function(t){});var loe=function(){function t(){vi(this,t)}return bi(t,null,[{key:"usePlugin",value:function(n){var i;if(this===t)throw new Error("`usePlugin` is not allowed to called through CherryStatic class.");if(this.initialized)throw new Error("The function `usePlugin` should be called before Cherry is instantiated.");if(n.$cherry$mounted!==!0){for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u"u"||!$t||$t.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call($t(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var i,o=Kn(t);if(n){var s=Kn(this).constructor;i=$t(o,arguments,s)}else i=o.apply(this,arguments);return xo(this,i)}}Ni(loe,"createSyntaxHook",function(t,n,i){var o,s=n===bX.PAR?_g:Up,u=hRt(i,["beforeMakeHtml","makeHtml","afterMakeHtml","rule","test"],"function"),d={needCache:i.needCache,defaultCache:i.defaultCache};return o=function(f){Io(m,f);var g=dRt(m);function m(){var b,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return vi(this,m),(b=n===bX.PAR?g.call(this,{needCache:!!d.needCache,defaultCache:d.defaultCache}):g.call(this)).config=w.config,xo(b)}return bi(m,[{key:"beforeMakeHtml",value:function(){for(var b,w,C=arguments.length,T=new Array(C),k=0;k0&&arguments[0]!==void 0?arguments[0]:"edit&preview"){case"edit&preview":this.previewer&&(this.previewer.editOnly(!0),this.previewer.recoverPreviewer()),this.toolbar&&this.toolbar.showToolbar(),this.wrapperDom.classList.remove("cherry--no-toolbar");break;case"editOnly":this.previewer.isPreviewerHidden()||this.previewer.editOnly(!0),this.toolbar&&this.toolbar.showToolbar(),this.wrapperDom.classList.remove("cherry--no-toolbar");break;case"previewOnly":this.previewer.previewOnly(),this.toolbar&&this.toolbar.previewOnly(),this.wrapperDom.classList.add("cherry--no-toolbar")}}},{key:"getInstanceId",value:function(){return this.instanceId}},{key:"getStatus",value:function(){return this.status}},{key:"getValue",value:function(){return this.editor.editor.getValue()}},{key:"getMarkdown",value:function(){return this.getValue()}},{key:"getCodeMirror",value:function(){return this.editor.editor}},{key:"getHtml",value:function(){var o=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.previewer.getValue(o)}},{key:"getPreviewer",value:function(){return this.previewer}},{key:"getToc",value:function(){var o=this.getHtml(),s=[];return o.replace(/(.+?)<\/h[0-6]>/g,function(u,d,f,g){return s.push({level:+d,id:f,text:g.replace(//,"")}),u}),s}},{key:"setValue",value:function(o){var s=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.editor.storeDocumentScroll(),s===!1)return this.editor.editor.setValue(o);var u=this.editor.editor,d=this.getValue(),f=function(m,b,w){for(var C=c2e(b,w),T=m,k=m,$=0;$1&&arguments[1]!==void 0&&arguments[1],u=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];u&&this.editor.editor.setSelection({line:u[0],ch:u[1]},{line:u[0],ch:u[1]}),this.editor.editor.replaceSelection(o,s?"around":"end"),d&&this.editor.editor.focus()}},{key:"insertValue",value:function(o){var s=arguments.length>1&&arguments[1]!==void 0&&arguments[1],u=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];return this.insert(o,s,u,d)}},{key:"refreshPreviewer",value:function(){try{var o=this.getValue(),s=this.engine.makeHtml(o);this.previewer.refresh(s)}catch(u){throw new _ye(u)}}},{key:"setMarkdown",value:function(o){var s=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.setValue(o,s)}},{key:"createWrapper",value:function(){var o=this.options.toolbars.theme==="dark"?"dark":"",s=this.options.engine.syntax.inlineCode.theme,u=this.options.engine.syntax.codeBlock.theme;u==="dark"?u="tomorrow-night":u==="light"&&(u="solarized-light");var d=Vu("div",["cherry","clearfix",EVe(!0)].join(" "),{"data-toolbarTheme":o,"data-inlineCodeTheme":s,"data-codeBlockTheme":u});return this.wrapperDom=d,d}},{key:"createToolbar",value:function(){var o=Vu("div","cherry-toolbar");return this.toolbarContainer=o,this.toolbar=new qse({dom:o,$cherry:this,buttonConfig:this.options.toolbars.toolbar,customMenu:this.options.toolbars.customMenu,shortcutKey:this.options.toolbars.shortcutKey}),this.toolbar}},{key:"createToolbarRight",value:function(){return this.toolbarRight=new wqn({dom:this.toolbarContainer,$cherry:this,buttonConfig:this.options.toolbars.toolbarRight,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.toolbarRight),this.toolbarRight}},{key:"createSidebar",value:function(o){if(this.options.toolbars.sidebar){$H(this.options.toolbars.sidebar,Array);var s=this.options.toolbars.theme==="dark"?"dark":"",u=Vu("div","cherry-sidebar ".concat(s));this.sidebar=new Sqn({dom:u,$cherry:this,buttonConfig:this.options.toolbars.sidebar,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.sidebar),o.appendChild(this.sidebar.options.dom)}}},{key:"createFloatMenu",value:function(){if(this.options.toolbars.float){var o=Vu("div","cherry-floatmenu");$H(this.options.toolbars.float,Array),this.floatMenu=new bqn({dom:o,$cherry:this,buttonConfig:this.options.toolbars.float,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.floatMenu)}}},{key:"createBubble",value:function(){if(this.options.toolbars.bubble){var o=Vu("div","cherry-bubble");$H(this.options.toolbars.bubble,Array),this.bubble=new ven({dom:o,$cherry:this,buttonConfig:this.options.toolbars.bubble,customMenu:this.options.toolbars.customMenu,engine:this.engine}),this.toolbar.collectMenuInfo(this.bubble)}}},{key:"createEditor",value:function(){var o,s,u,d,f=Vu("textarea","",{id:(o=this.options.editor.id)!==null&&o!==void 0?o:"code",name:(s=this.options.editor.name)!==null&&s!==void 0?s:"code"});f.textContent=this.options.value;var g=Vu("div","cherry-editor");return g.appendChild(f),this.editor=new mzn(function(m){for(var b=1;b0&&arguments[0]!==void 0?arguments[0]:"pdf",s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";this.previewer.export(o,s)}},{key:"setTheme",value:function(){OJt(this,arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default")}},{key:"setWritingStyle",value:function(o){this.editor.setWritingStyle(o)}}]),i}();Ni(Fye,"initialized",!1),Ni(Fye,"config",{defaults:nJn}),window&&(window.Cherry=Fye);var tL=Fye;function pRt(t,n){var i=ad(t);if(P1){var o=P1(t);n&&(o=Jf(o).call(o,function(s){return Og(t,s).enumerable})),i.push.apply(i,o)}return i}function ARt(t){for(var n=1;n0&&arguments[0]!==void 0?arguments[0]:{};vi(this,t),Ni(this,"mermaidAPIRefs",null),Ni(this,"options",mRt),Ni(this,"dom",null),Ni(this,"mermaidCanvas",null);var i=n.mermaid,o=n.mermaidAPI;if(!(o||window.mermaidAPI||i&&i.mermaidAPI||window.mermaid&&window.mermaid.mermaidAPI))throw new Error("code-block-mermaid-plugin[init]: Package mermaid or mermaidAPI not found.");this.options=ARt(ARt({},mRt),n||{}),this.mermaidAPIRefs=o||window.mermaidAPI||i.mermaidAPI||window.mermaid.mermaidAPI,delete this.options.mermaid,delete this.options.mermaidAPI,this.mermaidAPIRefs.initialize(this.options)}return bi(t,[{key:"mountMermaidCanvas",value:function(n){this.mermaidCanvas&&document.body.contains(this.mermaidCanvas)||(this.mermaidCanvas=document.createElement("div"),this.mermaidCanvas.style="width:1024px;opacity:0;position:fixed;top:100%;",(n.$cherry.wrapperDom||document.body).appendChild(this.mermaidCanvas))}},{key:"convertMermaidSvgToImg",value:function(n,i){var o,s=new DOMParser,u=function(C){return C.replace("')}}else o=u(n)}catch{o=u(n)}return o}},{key:"render",value:function(n,i,o){var s,u,d,f=this,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},m=i;m||(m=Math.round(1e8*Math.random())),this.mountMermaidCanvas(o);var b=St(s="mermaid-".concat(m,"-")).call(s,new Date().getTime());this.svg2img=(u=g==null?void 0:g.svg2img)!==null&&u!==void 0&&u;try{this.mermaidAPIRefs.render(b,n,function(w){var C=w.replace(/\s*markerUnits="0"/g,"").replace(/\s*x="NaN"/g,"").replace(/
    /g,"
    ");d=f.convertMermaidSvgToImg(C,b)},this.mermaidCanvas)}catch(w){return w==null?void 0:w.str}return d}}],[{key:"install",value:function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s>>8):(Zs(255&lr),Zs(lr>>>8))}function Qs(){k=(k<>7)])}function uc(lr,ri,ti){return lr[ri].fc$r?L-$r:Mn,_s=L+kt,Ca=f[oo+bo-1],Ul=f[oo+bo];N>=J&&(qr>>=2);do if(f[(ri=lr)+bo]==Ul&&f[ri+bo-1]==Ca&&f[ri]==f[oo]&&f[++ri]==f[oo+1]){oo+=2,ri++;do;while(f[++oo]==f[++ri]&&f[++oo]==f[++ri]&&f[++oo]==f[++ri]&&f[++oo]==f[++ri]&&f[++oo]==f[++ri]&&f[++oo]==f[++ri]&&f[++oo]==f[++ri]&&f[++oo]==f[++ri]&&oo<_s);if(ti=kt-(_s-oo),oo=_s-kt,ti>bo){if(R=lr,bo=ti,ti>=kt)break;Ca=f[oo+bo-1],Ul=f[oo+bo]}}while((lr=b[lr&pn])>jo&&--qr!=0);return bo}function Ei(){var lr,ri,ti=Vt-Q-L;if(ti==-1)ti--;else if(L>=st+$r){for(lr=0;lr=st?ri-st:Mn);for(lr=0;lr=st?ri-st:Mn;ti+=st}H||((lr=cs(f,L+Q,ti))<=0?H=!0:Q+=lr)}function Nd(){H||(w=0,C=0,function(){var lr,ri,ti,qr,oo;if(le[0].dl==0){for(Z.dyn_tree=V,Z.static_tree=Y,Z.extra_bits=Ii,Z.extra_base=oi+1,Z.elems=go,Z.max_length=_n,Z.max_code=0,Ae.dyn_tree=ue,Ae.static_tree=le,Ae.extra_bits=za,Ae.extra_base=0,Ae.elems=pr,Ae.max_length=_n,Ae.max_code=0,Se.dyn_tree=te,Se.static_tree=null,Se.extra_bits=Qi,Se.extra_base=0,Se.elems=po,Se.max_length=yr,Se.max_code=0,ti=0,qr=0;qr>=7;qrQ&&(P=Q),P>=Ct)if(oo=bn(L-R,P-Ct),Q-=P,P<=X){P--;do L++,Qs();while(--P!=0);L++}else L+=P,P=0,k=((k=255&f[L])<Q&&(P=Q),P==Ct&&L-R>dr&&P--),N>=Ct&&P<=N){var oo;oo=bn(L-1-O,N-Ct),Q-=N-1,N-=2;do L++,Qs();while(--N!=0);B=0,P=Ct-1,L++,oo&&(Ha(0),T=L)}else B!=0?(bn(0,255&f[L-1])&&(Ha(0),T=L),L++,Q--):(B=1,L++,Q--);for(;Qn.len&&(oo=n.len),bo=0;bos-u&&(oo=s-u),bo=0;bo>1;ri>=1;ri--)sd(qr,ri);do ri=Be[An],Be[An]=Be[we--],sd(qr,An),ti=Be[An],Be[--Ce]=ri,Be[--Ce]=ti,qr[_s].fc=qr[ri].fc+qr[ti].fc,Qe[ri]>Qe[ti]+1?Qe[_s]=Qe[ri]:Qe[_s]=Qe[ti]+1,qr[ri].dl=qr[ti].dl=_s,Be[An]=_s++,sd(qr,An);while(we>=2);Be[--Ce]=Be[An],function(Ul){var Gu,Mc,Kh,dc,e1,du,xc=Ul.dyn_tree,zl=Ul.extra_bits,lb=Ul.extra_base,af=Ul.max_code,Rd=Ul.max_length,yA=Ul.static_tree,t1=0;for(dc=0;dc<=_n;dc++)ke[dc]=0;for(xc[Be[Ce]].dl=0,Gu=Ce+1;GuRd&&(dc=Rd,t1++),xc[Mc].dl=dc,Mc>af||(ke[dc]++,e1=0,Mc>=lb&&(e1=zl[Mc-lb]),du=xc[Mc].fc,je+=du*(dc+e1),yA!=null&&(_t+=du*(yA[Mc].dl+e1)));if(t1!=0){do{for(dc=Rd-1;ke[dc]==0;)dc--;ke[dc]--,ke[dc+1]+=2,ke[Rd]--,t1-=2}while(t1>0);for(dc=Rd;dc!=0;dc--)for(Mc=ke[dc];Mc!=0;)(Kh=Be[--Gu])>af||(xc[Kh].dl!=dc&&(je+=(dc-xc[Kh].dl)*xc[Kh].fc,xc[Kh].fc=dc),Mc--)}}(lr),io(qr,jo)}function Sr(lr,ri){var ti,qr,oo=-1,bo=lr[0].dl,jo=0,_s=7,Ca=4;for(bo==0&&(_s=138,Ca=3),lr[ri+1].dl=65535,ti=0;ti<=ri;ti++)qr=bo,bo=lr[ti+1].dl,++jo<_s&&qr==bo||(jo=3&&te[Fa[jo]].dl==0;jo--);return je+=3*(jo+1)+5+5+4,jo}(),(ti=_t+3+7>>3)<=(ri=je+3+7>>3)&&(ri=ti),oo+4<=ri&&T>=0)for(Cl((Ot<<1)+lr,3),zh(),is(oo),is(~oo),bo=0;bo2&&(4095&Ge)==0){var ti,qr=8*Ge,oo=L-T;for(ti=0;ti>=3,rt>=1;while(joNn-ri?(is(w|=lr<>Nn-C,C+=ri-Nn):(w|=lr<>=1,ti<<=1;while(--ri>0);return ti>>1}function zh(){C>8?is(w):C>0&&Zs(w),w=0,C=0}return function(lr,ri){var ti,qr;Fe=lr,vt=0,ri===void 0&&(ri=6),function(_s){var Ca;if(_s?_s<1?_s=1:_s>9&&(_s=9):_s=6,re=_s,o=!1,H=!1,Ba==null){for(t=n=i=null,Ba=new Array(Lt),f=new Array(Vt),g=new Array(fn),m=new Array(32832),b=new Array(65536),V=new Array(qo),Ca=0;Ca0;){var jo=new Array(ti);for(qr=0;qr>4,s=(15&n)<<2|i>>6,u=63&i,d="";return d+=u2e(63&t>>2),d+=u2e(63&o),d+=u2e(63&s),d+=u2e(63&u)}function u2e(t){var n=t;return n<10?String.fromCharCode(48+n):(n-=10)<26?String.fromCharCode(65+n):(n-=26)<26?String.fromCharCode(97+n):(n-=26)===0?"-":n===1?"_":"?"}function lJn(t,n){var i,o=unescape(encodeURIComponent(t));return St(i="".concat(n,"/svg/")).call(i,function(s){for(var u="",d=0;d0&&arguments[0]!==void 0?arguments[0]:{};vi(this,t),this.baseUrl=(n=i.baseUrl)!==null&&n!==void 0?n:"http://www.plantuml.com/plantuml"}return bi(t,[{key:"render",value:function(n,i){var o,s,u=i;u||(u=Math.round(1e8*Math.random()));var d=St(o="plantuml-".concat(u,"-")).call(o,new Date().getTime());return St(s='')}}],[{key:"install",value:function(n,i){var o;HYe(n,{engine:{syntax:{codeBlock:{customRenderer:{plantuml:new t(bRt(bRt({},i),(o=n.engine.syntax.plantuml)!==null&&o!==void 0?o:{}))}}}}})}}]),t}();function Men(t){for(var n=[],i=1;i=Y?ue:""+Array(Y+1-te.length).join(le)+ue},L={s:N,z:function(ue){var Y=-ue.utcOffset(),le=Math.abs(Y),te=Math.floor(le/60),Z=le%60;return(Y<=0?"+":"-")+N(te,2,"0")+":"+N(Z,2,"0")},m:function ue(Y,le){if(Y.date()1)return ue(Se[0])}else{var ke=Y.name;H[ke]=Y,Z=ke}return!te&&Z&&(R=Z),Z||!te&&R},X=function(ue,Y){if(Q(ue))return ue.clone();var le=typeof Y=="object"?Y:{};return le.date=ue,le.args=arguments,new J(le)},re=L;re.l=q,re.i=Q,re.w=function(ue,Y){return X(ue,{locale:Y.$L,utc:Y.$u,x:Y.$x,$offset:Y.$offset})};var J=function(){function ue(le){this.$L=q(le.locale,null,!0),this.parse(le)}var Y=ue.prototype;return Y.parse=function(le){this.$d=function(te){var Z=te.date,Ae=te.utc;if(Z===null)return new Date(NaN);if(re.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var Se=Z.match(O);if(Se){var ke=Se[2]-1||0,Be=(Se[7]||"0").substring(0,3);return Ae?new Date(Date.UTC(Se[1],ke,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Be)):new Date(Se[1],ke,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Be)}}return new Date(Z)}(le),this.$x=le.x||{},this.init()},Y.init=function(){var le=this.$d;this.$y=le.getFullYear(),this.$M=le.getMonth(),this.$D=le.getDate(),this.$W=le.getDay(),this.$H=le.getHours(),this.$m=le.getMinutes(),this.$s=le.getSeconds(),this.$ms=le.getMilliseconds()},Y.$utils=function(){return re},Y.isValid=function(){return this.$d.toString()!==$},Y.isSame=function(le,te){var Z=X(le);return this.startOf(te)<=Z&&Z<=this.endOf(te)},Y.isAfter=function(le,te){return X(le)-1}(g))return g;var m=g.match(u);if(!m)return g;var b=m[0];return i.test(b)?"about:blank":g}});LQ(Pen);var AQ=Pen.sanitizeUrl;function Nye(t,n){return t==null||n==null?NaN:tn?1:t>=n?0:NaN}function uJn(t,n){return t==null||n==null?NaN:nt?1:n>=t?0:NaN}function cqe(t){var n,i,o;function s(u,d){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:u.length;if(f>>1;i(u[m],d)<0?f=m+1:g=m}while(f2&&arguments[2]!==void 0?arguments[2]:0,g=s(u,d,f,(arguments.length>3&&arguments[3]!==void 0?arguments[3]:u.length)-1);return g>f&&o(u[g-1],d)>-o(u[g],d)?g-1:g},right:function(u,d){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:u.length;if(f>>1;i(u[m],d)<=0?f=m+1:g=m}while(f3)){if(pJn)return!0;if(TRt)return TRt<603;var t,n,i,o,s="";for(t=65;t<76;t++){switch(n=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(o=0;o<47;o++)dL.push({k:n+o,v:i})}for(dL.sort(function(u,d){return d.v-u.v}),o=0;oWu(g)?1:-1}}(t)),i=s.length,o=0;o=TJn?10:g>=EJn?5:g>=kJn?2:1;return f<0?(u=Math.pow(10,-f)/m,(o=Math.round(t*u))/un&&--s,u=-u):(u=Math.pow(10,f)*m,(o=Math.round(t/u))*un&&--s),s=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(g){throw g},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,d=!0,f=!1;return{s:function(){i=i.call(t)},n:function(){var g=i.next();return d=g.done,g},e:function(g){f=!0,u=g},f:function(){try{d||i.return==null||i.return()}finally{if(f)throw u}}}}function _Rt(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);i=u)&&(i=u)}}catch(b){s.e(b)}finally{s.f()}}else{var d,f=-1,g=BRt(t);try{for(g.s();!(d=g.n()).done;){var m=d.value;(m=n(m,++f,t))!=null&&(i=m)&&(i=m)}}catch(b){g.e(b)}finally{g.f()}}return i}function $Rt(t,n){var i=aG!==void 0&&UL(t)||t["@@iterator"];if(!i){if(J5(t)||(i=function(g,m){var b;if(g){if(typeof g=="string")return IRt(g,m);var w=Eo(b=Object.prototype.toString.call(g)).call(b,8,-1);if(w==="Object"&&g.constructor&&(w=g.constructor.name),w==="Map"||w==="Set")return mu(g);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return IRt(g,m)}}(t))||n&&t&&typeof t.length=="number"){i&&(t=i);var o=0,s=function(){};return{s,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(g){throw g},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,d=!0,f=!1;return{s:function(){i=i.call(t)},n:function(){var g=i.next();return d=g.done,g},e:function(g){f=!0,u=g},f:function(){try{d||i.return==null||i.return()}finally{if(f)throw u}}}}function IRt(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);iu||i===void 0&&u>=u)&&(i=u)}}catch(b){s.e(b)}finally{s.f()}}else{var d,f=-1,g=$Rt(t);try{for(g.s();!(d=g.n()).done;){var m=d.value;(m=n(m,++f,t))!=null&&(i>m||i===void 0&&m>=m)&&(i=m)}}catch(b){g.e(b)}finally{g.f()}}return i}var Q$=uen;function $Jn(t){return t}var Rye=1,cUe=2,nWe=3,d2e=4,ORt=1e-6;function IJn(t){return"translate("+t+",0)"}function OJn(t){return"translate(0,"+t+")"}function MJn(t){return function(n){return+t(n)}}function PJn(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),function(i){return+t(i)+n}}function LJn(){return!this.__axis}function MRt(t,n){var i=[],o=null,s=null,u=6,d=6,f=3,g=typeof window<"u"&&window.devicePixelRatio>1?0:.5,m=t===Rye||t===d2e?-1:1,b=t===d2e||t===cUe?"x":"y",w=t===Rye||t===nWe?IJn:OJn;function C(T){var k=o??(n.ticks?n.ticks.apply(n,i):n.domain()),$=s??(n.tickFormat?n.tickFormat.apply(n,i):$Jn),O=Math.max(u,0)+f,B=n.range(),P=+B[0]+g,N=+B[B.length-1]+g,L=(n.bandwidth?PJn:MJn)(n.copy(),g),R=T.selection?T.selection():T,H=R.selectAll(".domain").data([null]),Q=R.selectAll(".tick").data(k,n).order(),q=Q.exit(),X=Q.enter().append("g").attr("class","tick"),re=Q.select("line"),J=Q.select("text");H=H.merge(H.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Q=Q.merge(X),re=re.merge(X.append("line").attr("stroke","currentColor").attr(b+"2",m*u)),J=J.merge(X.append("text").attr("fill","currentColor").attr(b,m*O).attr("dy",t===Rye?"0em":t===nWe?"0.71em":"0.32em")),T!==R&&(H=H.transition(T),Q=Q.transition(T),re=re.transition(T),J=J.transition(T),q=q.transition(T).attr("opacity",ORt).attr("transform",function(V){return isFinite(V=L(V))?w(V+g):this.getAttribute("transform")}),X.attr("opacity",ORt).attr("transform",function(V){var ue=this.parentNode.__axis;return w((ue&&isFinite(ue=ue(V))?ue:L(V))+g)})),q.remove(),H.attr("d",t===d2e||t===cUe?d?"M"+m*d+","+P+"H"+g+"V"+N+"H"+m*d:"M"+g+","+P+"V"+N:d?"M"+P+","+m*d+"V"+g+"H"+N+"V"+m*d:"M"+P+","+g+"H"+N),Q.attr("opacity",1).attr("transform",function(V){return w(L(V)+g)}),re.attr(b+"2",m*u),J.attr(b,m*O).text($),Jf(R).call(R,LJn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===cUe?"start":t===d2e?"end":"middle"),R.each(function(){this.__axis=L})}return C.scale=function(T){return arguments.length?(n=T,C):n},C.ticks=function(){return i=mu(arguments),C},C.tickArguments=function(T){return arguments.length?(i=T==null?[]:mu(T),C):Eo(i).call(i)},C.tickValues=function(T){return arguments.length?(o=T==null?null:mu(T),C):o&&Eo(o).call(o)},C.tickFormat=function(T){return arguments.length?(s=T,C):s},C.tickSize=function(T){return arguments.length?(u=d=+T,C):u},C.tickSizeInner=function(T){return arguments.length?(u=+T,C):u},C.tickSizeOuter=function(T){return arguments.length?(d=+T,C):d},C.tickPadding=function(T){return arguments.length?(f=+T,C):f},C.offset=function(T){return arguments.length?(g=+T,C):g},C}var DJn={value:function(){}};function Len(){for(var t,n=0,i=arguments.length,o={};n=0&&(w=Eo(b).call(b,C+1),b=Eo(b).call(b,0,C)),b&&!g.hasOwnProperty(b))throw new Error("unknown type: "+b);return{type:b,name:w}})}(t+"",o),u=-1,d=s.length;if(!(arguments.length<2)){if(n!=null&&typeof n!="function")throw new Error("invalid callback: "+n);for(;++u0)for(var i,o,s=new Array(i),u=0;u=0&&(n=Eo(t).call(t,0,i))!=="xmlns"&&(t=Eo(t).call(t,i+1)),LRt.hasOwnProperty(n)?{space:LRt[n],local:t}:t}function NJn(t){return function(){var n=this.ownerDocument,i=this.namespaceURI;return i===rWe&&n.documentElement.namespaceURI===rWe?n.createElement(t):n.createElementNS(i,t)}}function RJn(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function DRt(t){var n=z3e(t);return(n.local?RJn:NJn)(n)}var Den=Uqt;function HJn(){}function iWe(t){return t==null?HJn:function(){return this.querySelector(t)}}function Fen(t){return t==null?[]:J5(t)?t:mu(t)}function QJn(){return[]}function Nen(t){return t==null?QJn:function(){return this.querySelectorAll(t)}}function Ren(t){return function(){return this.matches(t)}}function FRt(t){return function(n){return n.matches(t)}}var jJn=Fae(Array.prototype);function UJn(){return this.firstElementChild}var zJn=Jf(Array.prototype);function KJn(){return mu(this.children)}var Hen=DJt;function NRt(t){return new Array(t.length)}function K3e(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function VJn(t,n,i,o,s,u){for(var d,f=0,g=n.length,m=u.length;fn?1:t>=n?0:NaN}function qJn(t,n){var i=aG!==void 0&&UL(t)||t["@@iterator"];if(!i){if(J5(t)||(i=function(g,m){var b;if(g){if(typeof g=="string")return RRt(g,m);var w=Eo(b=Object.prototype.toString.call(g)).call(b,8,-1);if(w==="Object"&&g.constructor&&(w=g.constructor.name),w==="Map"||w==="Set")return mu(g);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return RRt(g,m)}}(t))||n&&t&&typeof t.length=="number"){i&&(t=i);var o=0,s=function(){};return{s,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(g){throw g},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,d=!0,f=!1;return{s:function(){i=i.call(t)},n:function(){var g=i.next();return d=g.done,g},e:function(g){f=!0,u=g},f:function(){try{d||i.return==null||i.return()}finally{if(f)throw u}}}}function RRt(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);i=0&&(z5(i=this._names).call(i,o,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){var n;return vu(n=this._names).call(n,t)>=0}};var _Zn=SX.mark(Wen);function Wen(){var t,n,i,o,s,u,d;return SX.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:t=this._groups,n=0,i=t.length;case 1:if(!(n=L&&(L=N+1);!(P=O[L])&&++L=0;)(o=s[u])&&(d&&4^o.compareDocumentPosition(d)&&d.parentNode.insertBefore(o,d),d=o);return this},sort:function(t){function n(w,C){return w&&C?t(w.__data__,C.__data__):!w-!C}t||(t=YJn);for(var i=this._groups,o=i.length,s=new Array(o),u=0;u1?this.each((n==null?iZn:typeof n=="function"?aZn:oZn)(t,n,i??"")):cW(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((n==null?sZn:typeof n=="function"?cZn:lZn)(t,n)):this.node()[t]},classed:function(t,n){var i=jen(t+"");if(arguments.length<2){for(var o=uqe(this.node()),s=-1,u=i.length;++s=0&&(k=Eo(T).call(T,$+1),T=Eo(T).call(T,0,$)),{type:T,name:k}})}(t+""),d=u.length;if(!(arguments.length<2)){for(f=n?EZn:TZn,o=0;o>8&15|i>>4&240,i>>4&15|240&i,(15&i)<<4|15&i,1):o===8?f2e(i>>24&255,i>>16&255,i>>8&255,(255&i)/255):o===4?f2e(i>>12&15|i>>8&240,i>>8&15|i>>4&240,i>>4&15|240&i,((15&i)<<4|15&i)/255):null):(i=IZn.exec(t))?new n2(i[1],i[2],i[3],1):(i=OZn.exec(t))?new n2(255*i[1]/100,255*i[2]/100,255*i[3]/100,1):(i=MZn.exec(t))?f2e(i[1],i[2],i[3],i[4]):(i=PZn.exec(t))?f2e(255*i[1]/100,255*i[2]/100,255*i[3]/100,i[4]):(i=LZn.exec(t))?tHt(i[1],i[2]/100,i[3]/100,1):(i=DZn.exec(t))?tHt(i[1],i[2]/100,i[3]/100,i[4]):GRt.hasOwnProperty(t)?JRt(GRt[t]):t==="transparent"?new n2(NaN,NaN,NaN,0):null}function JRt(t){return new n2(t>>16&255,t>>8&255,255&t,1)}function f2e(t,n,i,o){return o<=0&&(t=n=i=NaN),new n2(t,n,i,o)}function Gen(t){return t instanceof ZH||(t=mQ(t)),t?new n2((t=t.rgb()).r,t.g,t.b,t.opacity):new n2}function oWe(t,n,i,o){return arguments.length===1?Gen(t):new n2(t,n,i,o??1)}function n2(t,n,i,o){this.r=+t,this.g=+n,this.b=+i,this.opacity=+o}function ZRt(){var t,n;return St(t=St(n="#".concat(zH(this.r))).call(n,zH(this.g))).call(t,zH(this.b))}function eHt(){var t,n,i,o,s=Qye(this.opacity);return St(t=St(n=St(i=St(o="".concat(s===1?"rgb(":"rgba(")).call(o,eQ(this.r),", ")).call(i,eQ(this.g),", ")).call(n,eQ(this.b))).call(t,s===1?")":", ".concat(s,")"))}function Qye(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function eQ(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function zH(t){return((t=eQ(t))<16?"0":"")+t.toString(16)}function tHt(t,n,i,o){return o<=0?t=n=i=NaN:i<=0||i>=1?t=n=NaN:n<=0&&(t=NaN),new C7(t,n,i,o)}function nHt(t){if(t instanceof C7)return new C7(t.h,t.s,t.l,t.opacity);if(t instanceof ZH||(t=mQ(t)),!t)return new C7;if(t instanceof C7)return t;var n=(t=t.rgb()).r/255,i=t.g/255,o=t.b/255,s=Math.min(n,i,o),u=Math.max(n,i,o),d=NaN,f=u-s,g=(u+s)/2;return f?(d=n===u?(i-o)/f+6*(i0&&g<1?0:d,new C7(d,f,g,t.opacity)}function C7(t,n,i,o){this.h=+t,this.s=+n,this.l=+i,this.opacity=+o}function rHt(t){return(t=(t||0)%360)<0?t+360:t}function g2e(t){return Math.max(0,Math.min(1,t||0))}function uUe(t,n,i){return 255*(t<60?n+(i-n)*t/60:t<180?i:t<240?n+(i-n)*(240-t)/60:n)}Hoe(ZH,mQ,{copy:function(t){return m$(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:YRt,formatHex:YRt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return nHt(this).formatHsl()},formatRgb:qRt,toString:qRt}),Hoe(n2,oWe,V3e(ZH,{brighter:function(t){return t=t==null?h2e:Math.pow(h2e,t),new n2(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?coe:Math.pow(coe,t),new n2(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new n2(eQ(this.r),eQ(this.g),eQ(this.b),Qye(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ZRt,formatHex:ZRt,formatHex8:function(){var t,n,i;return St(t=St(n=St(i="#".concat(zH(this.r))).call(i,zH(this.g))).call(n,zH(this.b))).call(t,zH(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:eHt,toString:eHt})),Hoe(C7,function(t,n,i,o){return arguments.length===1?nHt(t):new C7(t,n,i,o??1)},V3e(ZH,{brighter:function(t){return t=t==null?h2e:Math.pow(h2e,t),new C7(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?coe:Math.pow(coe,t),new C7(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,o=i+(i<.5?i:1-i)*n,s=2*i-o;return new n2(uUe(t>=240?t-240:t+120,s,o),uUe(t,s,o),uUe(t<120?t+240:t-120,s,o),this.opacity)},clamp:function(){return new C7(rHt(this.h),g2e(this.s),g2e(this.l),Qye(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t,n,i,o,s=Qye(this.opacity);return St(t=St(n=St(i=St(o="".concat(s===1?"hsl(":"hsla(")).call(o,rHt(this.h),", ")).call(i,100*g2e(this.s),"%, ")).call(n,100*g2e(this.l),"%")).call(t,s===1?")":", ".concat(s,")"))}}));var FZn=Math.PI/180,NZn=180/Math.PI,Yen=.96422,qen=1,Jen=.82521,Zen=4/29,zW=6/29,etn=3*zW*zW,RZn=zW*zW*zW;function ttn(t){if(t instanceof $9)return new $9(t.l,t.a,t.b,t.opacity);if(t instanceof c$)return ntn(t);t instanceof n2||(t=Gen(t));var n,i,o=gUe(t.r),s=gUe(t.g),u=gUe(t.b),d=dUe((.2225045*o+.7168786*s+.0606169*u)/qen);return o===s&&s===u?n=i=d:(n=dUe((.4360747*o+.3850649*s+.1430804*u)/Yen),i=dUe((.0139322*o+.0971045*s+.7141733*u)/Jen)),new $9(116*d-16,500*(n-d),200*(d-i),t.opacity)}function $9(t,n,i,o){this.l=+t,this.a=+n,this.b=+i,this.opacity=+o}function dUe(t){return t>RZn?Math.pow(t,1/3):t/etn+Zen}function hUe(t){return t>zW?t*t*t:etn*(t-Zen)}function fUe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function gUe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function aWe(t,n,i,o){return arguments.length===1?function(s){if(s instanceof c$)return new c$(s.h,s.c,s.l,s.opacity);if(s instanceof $9||(s=ttn(s)),s.a===0&&s.b===0)return new c$(NaN,0u&&(s=Eo(n).call(n,u,s),f[d]?f[d]+=s:f[++d]=s),(i=i[0])===(o=o[0])?f[d]?f[d]+=o:f[++d]=o:(f[++d]=null,g.push({i:d,x:y7(i,o)})),u=pUe.lastIndex;return u180?b+=360:b-m>180&&(m+=360),C.push({i:w.push(s(w)+"rotate(",null,o)-2,x:y7(m,b)})):b&&w.push(s(w)+"rotate("+b+o)}(u.rotate,d.rotate,f,g),function(m,b,w,C){m!==b?C.push({i:w.push(s(w)+"skewX(",null,o)-2,x:y7(m,b)}):b&&w.push(s(w)+"skewX("+b+o)}(u.skewX,d.skewX,f,g),function(m,b,w,C,T,k){if(m!==w||b!==C){var $=T.push(s(T)+"scale(",null,",",null,")");k.push({i:$-4,x:y7(m,w)},{i:$-2,x:y7(b,C)})}else w===1&&C===1||T.push(s(T)+"scale("+w+","+C+")")}(u.scaleX,u.scaleY,d.scaleX,d.scaleY,f,g),u=d=null,function(m){for(var b,w=-1,C=g.length;++w180||i<-180?i-360*Math.round(i/360):i):nxe(isNaN(t)?n:t)}),yW=0,doe=0,Bie=0,stn=1e3,X3e=0,tQ=0,rxe=0,qae=(typeof performance>"u"?"undefined":Uc(performance))==="object"&&performance.now?performance:Date,ltn=(typeof window>"u"?"undefined":Uc(window))==="object"&&window.requestAnimationFrame?va(oHt=window.requestAnimationFrame).call(oHt,window):function(t){gA(t,17)};function fqe(){return tQ||(ltn(GZn),tQ=qae.now()+rxe)}function GZn(){tQ=0}function G3e(){this._call=this._time=this._next=null}function ctn(t,n,i){var o=new G3e;return o.restart(t,n,i),o}function aHt(){tQ=(X3e=qae.now())+rxe,yW=doe=0;try{(function(){fqe(),++yW;for(var t,n=jye;n;)(t=tQ-n._time)>=0&&n._call.call(void 0,t),n=n._next;--yW})()}finally{yW=0,function(){for(var t,n,i=jye,o=1/0;i;)i._call?(o>i._time&&(o=i._time),t=i,i=i._next):(n=i._next,i._next=null,i=t?t._next=n:jye=n);uoe=t,cWe(o)}(),tQ=0}}function YZn(){var t=qae.now(),n=t-X3e;n>stn&&(rxe-=n,X3e=t)}function cWe(t){yW||(doe&&(doe=clearTimeout(doe)),t-tQ>24?(t<1/0&&(doe=gA(aHt,t-qae.now()-rxe)),Bie&&(Bie=clearInterval(Bie))):(Bie||(X3e=qae.now(),Bie=gen(YZn,stn)),yW=1,ltn(aHt)))}function sHt(t,n,i){var o=new G3e;return n=n==null?0:+n,o.restart(function(s){o.stop(),t(s+n)},n,i),o}G3e.prototype=ctn.prototype={constructor:G3e,restart:function(t,n,i){if(typeof t!="function")throw new TypeError("callback is not a function");i=(i==null?fqe():+i)+(n==null?0:+n),this._next||uoe===this||(uoe?uoe._next=this:jye=this,uoe=this),this._call=t,this._time=i,cWe()},stop:function(){this._call&&(this._call=null,this._time=1/0,cWe())}};var qZn=Len("start","end","cancel","interrupt"),JZn=[],utn=0,lHt=1,uWe=2,Uye=3,cHt=4,dWe=5,zye=6;function Kye(t,n,i,o,s,u){var d=t.__transition;if(d){if(i in d)return}else t.__transition={};(function(f,g,m){var b,w=f.__transition;function C(O){m.state=lHt,m.timer.restart(T,m.delay,m.time),m.delay<=O&&T(O-m.delay)}function T(O){var B,P,N,L;if(m.state!==lHt)return $();for(B in w)if((L=w[B]).name===m.name){if(L.state===Uye)return sHt(T);L.state===cHt?(L.state=zye,L.timer.stop(),L.on.call("interrupt",f,f.__data__,L.index,L.group),delete w[B]):+Butn)throw new Error("too late; already scheduled");return i}function I9(t,n){var i=b7(t,n);if(i.state>Uye)throw new Error("too late; already running");return i}function b7(t,n){var i=t.__transition;if(!i||!(i=i[n]))throw new Error("transition not found");return i}function ZZn(t,n){var i,o;return function(){var s=I9(this,t),u=s.tween;if(u!==i){for(var d=0,f=(o=i=u).length;d=0&&(m=Eo(m).call(m,0,b)),!m||m==="start"})}(n)?gqe:I9;return function(){var d=u(this,t),f=d.on;f!==o&&(s=(o=f).copy()).on(n,i),d.on=s}}var ger=Gae.prototype.constructor;function dHt(t){return function(){this.style.removeProperty(t)}}var per=0;function t$(t,n,i,o){this._groups=t,this._parents=n,this._name=i,this._id=o}function dtn(){return++per}var U_=Gae.prototype;t$.prototype=Ni({constructor:t$,select:function(t){var n=this._name,i=this._id;typeof t!="function"&&(t=iWe(t));for(var o=this._groups,s=o.length,u=new Array(s),d=0;duWe&&o.stateyH)if(Math.abs(b*f-g*m)>yH&&s){var C=i-u,T=o-d,k=f*f+g*g,$=C*C+T*T,O=Math.sqrt(k),B=Math.sqrt(w),P=s*Math.tan((hWe-Math.acos((k+w-$)/(2*O*B)))/2),N=P/B,L=P/O;Math.abs(N-1)>yH&&(this._+="L"+(t+N*m)+","+(n+N*b)),this._+="A"+s+","+s+",0,0,"+ +(b*C>m*T)+","+(this._x1=t+L*f)+","+(this._y1=n+L*g)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,i,o,s,u){t=+t,n=+n,u=!!u;var d=(i=+i)*Math.cos(o),f=i*Math.sin(o),g=t+d,m=n+f,b=1^u,w=u?o-s:s-o;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+g+","+m:(Math.abs(this._x1-g)>yH||Math.abs(this._y1-m)>yH)&&(this._+="L"+g+","+m),i&&(w<0&&(w=w%fWe+fWe),w>ver?this._+="A"+i+","+i+",0,1,"+b+","+(t-d)+","+(n-f)+"A"+i+","+i+",0,1,"+b+","+(this._x1=g)+","+(this._y1=m):w>yH&&(this._+="A"+i+","+i+",0,"+ +(w>=hWe)+","+b+","+(this._x1=t+i*Math.cos(s))+","+(this._y1=n+i*Math.sin(s))))},rect:function(t,n,i,o){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +i+"v"+ +o+"h"+-i+"Z"},toString:function(){return this._}};var pHt=Math.hypot,ber=Math.abs,yer=Math.sqrt,wer=!!pHt&&pHt(1/0,NaN)!==1/0;Ho({target:"Math",stat:!0,arity:2,forced:wer},{hypot:function(t,n){for(var i,o,s=0,u=0,d=arguments.length,f=0;u0?(o=i/f)*o:i;return f===1/0?1/0:f*yer(s)}}),jc.Math.hypot;function Y3e(t,n){var i;if((o=vu(i=t=n?t.toExponential(n-1):t.toExponential()).call(i,"e"))<0)return null;var o,s=Eo(t).call(t,0,o);return[s.length>1?s[0]+Eo(s).call(s,2):s,+Eo(t).call(t,o+1)]}function uW(t){return(t=Y3e(Math.abs(t)))?t[1]:NaN}var htn,xer=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function q3e(t){var n,i;if(!(i=xer.exec(t)))throw new Error("invalid format: "+t);return new pWe({fill:i[1],align:i[2],sign:i[3],symbol:i[4],zero:i[5],width:i[6],comma:i[7],precision:i[8]&&Eo(n=i[8]).call(n,1),trim:i[9],type:i[10]})}function pWe(t){this.fill=wX(t)===void 0?" ":wX(t)+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!Ra(t),this.type=t.type===void 0?"":t.type+""}function AHt(t,n){var i=Y3e(t,n);if(!i)return t+"";var o=i[0],s=i[1];return s<0?"0."+new Array(-s).join("0")+o:o.length>s+1?Eo(o).call(o,0,s+1)+"."+Eo(o).call(o,s+1):o+new Array(s-o.length+2).join("0")}q3e.prototype=pWe.prototype,pWe.prototype.toString=function(){return wX(this)+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(Ra(this)?"~":"")+this.type};var mHt={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return AHt(100*t,n)},r:AHt,s:function(t,n){var i=Y3e(t,n);if(!i)return t+"";var o=i[0],s=i[1],u=s-(htn=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,d=o.length;return u===d?o:u>d?o+new Array(u-d+1).join("0"):u>0?Eo(o).call(o,0,u)+"."+Eo(o).call(o,u):"0."+new Array(1-u).join("0")+Y3e(t,Math.max(0,n+u-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function vHt(t){return t}var vUe,ftn,gtn,bHt=Ws(Array.prototype),yHt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Cer(t){var n,i,o=t.grouping===void 0||t.thousands===void 0?vHt:(n=bHt.call(t.grouping,Number),i=t.thousands+"",function(C,T){for(var k=C.length,$=[],O=0,B=n[0],P=0;k>0&&B>0&&(P+B+1>T&&(B=Math.max(1,T-P)),$.push(C.substring(k-=B,k+B)),!((P+=B+1)>T));)B=n[O=(O+1)%n.length];return Q$($).call($).join(i)}),s=t.currency===void 0?"":t.currency[0]+"",u=t.currency===void 0?"":t.currency[1]+"",d=t.decimal===void 0?".":t.decimal+"",f=t.numerals===void 0?vHt:function(C){return function(T){return T.replace(/[0-9]/g,function(k){return C[+k]})}}(bHt.call(t.numerals,String)),g=t.percent===void 0?"%":t.percent+"",m=t.minus===void 0?"−":t.minus+"",b=t.nan===void 0?"NaN":t.nan+"";function w(C){C=q3e(C);var T=wX(C),k=C.align,$=C.sign,O=C.symbol,B=C.zero,P=C.width,N=C.comma,L=C.precision,R=Ra(C),H=C.type;H==="n"?(N=!0,H="g"):mHt[H]||(L===void 0&&(L=12),R=!0,H="g"),(B||T==="0"&&k==="=")&&(B=!0,T="0",k="=");var Q=O==="$"?s:O==="#"&&/[boxX]/.test(H)?"0"+H.toLowerCase():"",q=O==="$"?u:/[%p]/.test(H)?g:"",X=mHt[H],re=/[defgprs%]/.test(H);function J(V){var ue,Y,le,te=Q,Z=q;if(H==="c")Z=X(V)+Z,V="";else{var Ae=(V=+V)<0||1/V<0;if(V=isNaN(V)?b:X(Math.abs(V),L),R&&(V=function(Be){e:for(var we,Ce=Be.length,Qe=1,Ve=-1;Qe0&&(Ve=0)}return Ve>0?Eo(Be).call(Be,0,Ve)+Eo(Be).call(Be,we+1):Be}(V)),Ae&&+V==0&&$!=="+"&&(Ae=!1),te=(Ae?$==="("?$:m:$==="-"||$==="("?"":$)+te,Z=(H==="s"?yHt[8+htn/3]:"")+Z+(Ae&&$==="("?")":""),re){for(ue=-1,Y=V.length;++ue(le=V.charCodeAt(ue))||le>57){Z=(le===46?d+Eo(V).call(V,ue+1):Eo(V).call(V,ue))+Z,V=Eo(V).call(V,0,ue);break}}}N&&!B&&(V=o(V,1/0));var Se=te.length+V.length+Z.length,ke=Se>1)+te+V+Z+Eo(ke).call(ke,Se);break;default:V=ke+te+V+Z}return f(V)}return L=L===void 0?6:/[gprs]/.test(H)?Math.max(1,Math.min(21,L)):Math.max(0,Math.min(20,L)),J.toString=function(){return C+""},J}return{format:w,formatPrefix:function(C,T){var k=w(((C=q3e(C)).type="f",C)),$=3*Math.max(-8,Math.min(8,Math.floor(uW(T)/3))),O=Math.pow(10,-$),B=yHt[8+$/3];return function(P){return k(O*P)+B}}}}function Aqe(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function Ser(t,n){var i=aG!==void 0&&UL(t)||t["@@iterator"];if(!i){if(J5(t)||(i=function(g,m){var b;if(g){if(typeof g=="string")return wHt(g,m);var w=Eo(b=Object.prototype.toString.call(g)).call(b,8,-1);if(w==="Object"&&g.constructor&&(w=g.constructor.name),w==="Map"||w==="Set")return mu(g);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return wHt(g,m)}}(t))||n&&t&&typeof t.length=="number"){i&&(t=i);var o=0,s=function(){};return{s,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(g){throw g},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,d=!0,f=!1;return{s:function(){i=i.call(t)},n:function(){var g=i.next();return d=g.done,g},e:function(g){f=!0,u=g},f:function(){try{d||i.return==null||i.return()}finally{if(f)throw u}}}}function wHt(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);iT&&(k=C,C=T,T=k),m=function(O){return Math.max(C,Math.min(T,O))}),o=$>2?ker:Eer,s=u=null,w}function w(C){return C==null||isNaN(C=+C)?i:(s||(s=o(Ws(d).call(d,t),f,g)))(t(m(C)))}return w.invert=function(C){return m(n((u||(u=o(f,Ws(d).call(d,t),y7)))(C)))},w.domain=function(C){return arguments.length?(d=mu(C,Ter),b()):Eo(d).call(d)},w.range=function(C){return arguments.length?(f=mu(C),b()):Eo(f).call(f)},w.rangeRound=function(C){return f=mu(C),g=KZn,b()},w.clamp=function(C){return arguments.length?(m=!!C||wW,b()):m!==wW},w.interpolate=function(C){return arguments.length?(g=C,b()):g},w.unknown=function(C){return arguments.length?(i=C,w):i},function(C,T){return t=C,n=T,b()}}function mtn(){return Ber()(wW,wW)}function _er(t,n,i,o){var s,u=tWe(t,n,i);switch((o=q3e(o??",f")).type){case"s":var d=Math.max(Math.abs(t),Math.abs(n));return o.precision!=null||isNaN(s=function(f,g){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(uW(g)/3)))-uW(Math.abs(f)))}(u,d))||(o.precision=s),gtn(o,d);case"":case"e":case"g":case"p":case"r":o.precision!=null||isNaN(s=function(f,g){return f=Math.abs(f),g=Math.abs(g)-f,Math.max(0,uW(g)-uW(f))+1}(u,Math.max(Math.abs(t),Math.abs(n))))||(o.precision=s-(o.type==="e"));break;case"f":case"%":o.precision!=null||isNaN(s=function(f){return Math.max(0,-uW(Math.abs(f)))}(u))||(o.precision=s-2*(o.type==="%"))}return ftn(o)}function $er(t){var n=t.domain;return t.ticks=function(i){var o=n();return function(s,u,d){if(!((d=+d)>0))return[];if((s=+s)==(u=+u))return[s];var f=u=m))return[];var C=b-m+1,T=new Array(C);if(f)if(w<0)for(var k=0;k0;){if((s=eWe(g,m,i))===o)return u[d]=g,u[f]=m,n(u);if(s>0)g=Math.floor(g/s)*s,m=Math.ceil(m/s)*s;else{if(!(s<0))break;g=Math.ceil(g*s)/s,m=Math.floor(m*s)/s}o=s}return t},t}function vtn(){var t=mtn();return t.copy=function(){return Atn(t,vtn())},Aqe.apply(t,arguments),$er(t)}var bUe=new Date,yUe=new Date;function ov(t,n,i,o){function s(u){return t(u=arguments.length===0?new Date:new Date(+u)),u}return s.floor=function(u){return t(u=new Date(+u)),u},s.ceil=function(u){return t(u=new Date(u-1)),n(u,1),t(u),u},s.round=function(u){var d=s(u),f=s.ceil(u);return u-d0))return m;do m.push(g=new Date(+u)),n(u,f),t(u);while(g=d)for(;t(d),!u(d);)d.setTime(d-1)},function(d,f){if(d>=d)if(f<0)for(;++f<=0;)for(;n(d,-1),!u(d););else for(;--f>=0;)for(;n(d,1),!u(d););})},i&&(s.count=function(u,d){return bUe.setTime(+u),yUe.setTime(+d),t(bUe),t(yUe),Math.floor(i(bUe,yUe))},s.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?Jf(s).call(s,o?function(d){return o(d)%u==0}:function(d){return s.count(0,d)%u==0}):s:null}),s}var J3e=ov(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});J3e.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?ov(function(n){n.setTime(Math.floor(n/t)*t)},function(n,i){n.setTime(+n+i*t)},function(n,i){return(i-n)/t}):J3e:null};var SHt=J3e;J3e.range;var Jae=1e3,IL=6e4,Zae=36e5,mqe=864e5,vqe=6048e5,Ier=2592e6,wUe=31536e6,btn=ov(function(t){t.setTime(t-t.getMilliseconds())},function(t,n){t.setTime(+t+n*Jae)},function(t,n){return(n-t)/Jae},function(t){return t.getUTCSeconds()}),hoe=btn;btn.range;var ytn=ov(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Jae)},function(t,n){t.setTime(+t+n*IL)},function(t,n){return(n-t)/IL},function(t){return t.getMinutes()}),Vye=ytn;ytn.range;var wtn=ov(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Jae-t.getMinutes()*IL)},function(t,n){t.setTime(+t+n*Zae)},function(t,n){return(n-t)/Zae},function(t){return t.getHours()}),Wye=wtn;wtn.range;var xtn=ov(function(t){return t.setHours(0,0,0,0)},function(t,n){return t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*IL)/mqe},function(t){return t.getDate()-1}),KW=xtn;function RQ(t){return ov(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(n,i){n.setDate(n.getDate()+7*i)},function(n,i){return(i-n-(i.getTimezoneOffset()-n.getTimezoneOffset())*IL)/vqe})}xtn.range;var VW=RQ(0),Z3e=RQ(1),Oer=RQ(2),Mer=RQ(3),TX=RQ(4),Per=RQ(5),Ler=RQ(6);VW.range,Z3e.range,Oer.range,Mer.range,TX.range,Per.range,Ler.range;var Ctn=ov(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),Xye=Ctn;Ctn.range;var bqe=ov(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});bqe.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ov(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,i){n.setFullYear(n.getFullYear()+i*t)}):null};var vQ=bqe;bqe.range;var Stn=ov(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*IL)},function(t,n){return(n-t)/IL},function(t){return t.getUTCMinutes()}),Der=Stn;Stn.range;var Ttn=ov(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*Zae)},function(t,n){return(n-t)/Zae},function(t){return t.getUTCHours()}),Fer=Ttn;Ttn.range;var Etn=ov(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/mqe},function(t){return t.getUTCDate()-1}),yqe=Etn;function HQ(t){return ov(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(n,i){n.setUTCDate(n.getUTCDate()+7*i)},function(n,i){return(i-n)/vqe})}Etn.range;var wqe=HQ(0),e4e=HQ(1),Ner=HQ(2),Rer=HQ(3),EX=HQ(4),Her=HQ(5),Qer=HQ(6);wqe.range,e4e.range,Ner.range,Rer.range,EX.range,Her.range,Qer.range;var ktn=ov(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),jer=ktn;ktn.range;var xqe=ov(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});xqe.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ov(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,i){n.setUTCFullYear(n.getUTCFullYear()+i*t)}):null};var kX=xqe;function Btn(t,n,i,o,s,u){var d=[[hoe,1,Jae],[hoe,5,5e3],[hoe,15,15e3],[hoe,30,3e4],[u,1,IL],[u,5,3e5],[u,15,9e5],[u,30,18e5],[s,1,Zae],[s,3,108e5],[s,6,216e5],[s,12,432e5],[o,1,mqe],[o,2,1728e5],[i,1,vqe],[n,1,Ier],[n,3,7776e6],[t,1,wUe]];function f(g,m,b){var w=Math.abs(m-g)/b,C=cqe(function(O){return od(O,3)[2]}).right(d,w);if(C===d.length)return QW(t).call(t,tWe(g/wUe,m/wUe,b));if(C===0)return QW(SHt).call(SHt,Math.max(tWe(g,m,b),1));var T=od(d[w/d[C-1][2]68?1900:2e3),i+o[0].length):-1}function Zer(t,n,i){var o=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Eo(n).call(n,i,i+6));return o?(t.Z=o[1]?0:-(o[2]+(o[3]||"00")),i+o[0].length):-1}function etr(t,n,i){var o=av.exec(Eo(n).call(n,i,i+1));return o?(t.q=3*o[0]-3,i+o[0].length):-1}function ttr(t,n,i){var o=av.exec(Eo(n).call(n,i,i+2));return o?(t.m=o[0]-1,i+o[0].length):-1}function _Ht(t,n,i){var o=av.exec(Eo(n).call(n,i,i+2));return o?(t.d=+o[0],i+o[0].length):-1}function ntr(t,n,i){var o=av.exec(Eo(n).call(n,i,i+3));return o?(t.m=0,t.d=+o[0],i+o[0].length):-1}function $Ht(t,n,i){var o=av.exec(Eo(n).call(n,i,i+2));return o?(t.H=+o[0],i+o[0].length):-1}function rtr(t,n,i){var o=av.exec(Eo(n).call(n,i,i+2));return o?(t.M=+o[0],i+o[0].length):-1}function itr(t,n,i){var o=av.exec(Eo(n).call(n,i,i+2));return o?(t.S=+o[0],i+o[0].length):-1}function otr(t,n,i){var o=av.exec(Eo(n).call(n,i,i+3));return o?(t.L=+o[0],i+o[0].length):-1}function atr(t,n,i){var o=av.exec(Eo(n).call(n,i,i+6));return o?(t.L=Math.floor(o[0]/1e3),i+o[0].length):-1}function str(t,n,i){var o=Ker.exec(Eo(n).call(n,i,i+1));return o?i+o[0].length:-1}function ltr(t,n,i){var o=av.exec(Eo(n).call(n,i));return o?(t.Q=+o[0],i+o[0].length):-1}function ctr(t,n,i){var o=av.exec(Eo(n).call(n,i));return o?(t.s=+o[0],i+o[0].length):-1}function IHt(t,n){return Ih(t.getDate(),n,2)}function utr(t,n){return Ih(t.getHours(),n,2)}function dtr(t,n){return Ih(t.getHours()%12||12,n,2)}function htr(t,n){return Ih(1+KW.count(vQ(t),t),n,3)}function $tn(t,n){return Ih(t.getMilliseconds(),n,3)}function ftr(t,n){return $tn(t,n)+"000"}function gtr(t,n){return Ih(t.getMonth()+1,n,2)}function ptr(t,n){return Ih(t.getMinutes(),n,2)}function Atr(t,n){return Ih(t.getSeconds(),n,2)}function mtr(t){var n=t.getDay();return n===0?7:n}function vtr(t,n){return Ih(VW.count(vQ(t)-1,t),n,2)}function Itn(t){var n=t.getDay();return n>=4||n===0?TX(t):TX.ceil(t)}function btr(t,n){return t=Itn(t),Ih(TX.count(vQ(t),t)+(vQ(t).getDay()===4),n,2)}function ytr(t){return t.getDay()}function wtr(t,n){return Ih(Z3e.count(vQ(t)-1,t),n,2)}function xtr(t,n){return Ih(t.getFullYear()%100,n,2)}function Ctr(t,n){return Ih((t=Itn(t)).getFullYear()%100,n,2)}function Str(t,n){return Ih(t.getFullYear()%1e4,n,4)}function Ttr(t,n){var i=t.getDay();return Ih((t=i>=4||i===0?TX(t):TX.ceil(t)).getFullYear()%1e4,n,4)}function Etr(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ih(n/60|0,"0",2)+Ih(n%60,"0",2)}function OHt(t,n){return Ih(t.getUTCDate(),n,2)}function ktr(t,n){return Ih(t.getUTCHours(),n,2)}function Btr(t,n){return Ih(t.getUTCHours()%12||12,n,2)}function _tr(t,n){return Ih(1+yqe.count(kX(t),t),n,3)}function Otn(t,n){return Ih(t.getUTCMilliseconds(),n,3)}function $tr(t,n){return Otn(t,n)+"000"}function Itr(t,n){return Ih(t.getUTCMonth()+1,n,2)}function Otr(t,n){return Ih(t.getUTCMinutes(),n,2)}function Mtr(t,n){return Ih(t.getUTCSeconds(),n,2)}function Ptr(t){var n=t.getUTCDay();return n===0?7:n}function Ltr(t,n){return Ih(wqe.count(kX(t)-1,t),n,2)}function Mtn(t){var n=t.getUTCDay();return n>=4||n===0?EX(t):EX.ceil(t)}function Dtr(t,n){return t=Mtn(t),Ih(EX.count(kX(t),t)+(kX(t).getUTCDay()===4),n,2)}function Ftr(t){return t.getUTCDay()}function Ntr(t,n){return Ih(e4e.count(kX(t)-1,t),n,2)}function Rtr(t,n){return Ih(t.getUTCFullYear()%100,n,2)}function Htr(t,n){return Ih((t=Mtn(t)).getUTCFullYear()%100,n,2)}function Qtr(t,n){return Ih(t.getUTCFullYear()%1e4,n,4)}function jtr(t,n){var i=t.getUTCDay();return Ih((t=i>=4||i===0?EX(t):EX.ceil(t)).getUTCFullYear()%1e4,n,4)}function Utr(){return"+0000"}function MHt(){return"%"}function PHt(t){return+t}function LHt(t){return Math.floor(+t/1e3)}function ztr(t){return new Date(t)}function Ktr(t){return t instanceof Date?+t:+new Date(+t)}function Ptn(t,n,i,o,s,u,d,f,g,m){var b=mtn(),w=b.invert,C=b.domain,T=m(".%L"),k=m(":%S"),$=m("%I:%M"),O=m("%I %p"),B=m("%a %d"),P=m("%b %d"),N=m("%B"),L=m("%Y");function R(H){return(g(H)=12)]},q:function(re){return 1+~~(re.getMonth()/3)},Q:PHt,s:LHt,S:Atr,u:mtr,U:vtr,V:btr,w:ytr,W:wtr,x:null,X:null,y:xtr,Y:Str,Z:Etr,"%":MHt},R={a:function(re){return f[re.getUTCDay()]},A:function(re){return d[re.getUTCDay()]},b:function(re){return m[re.getUTCMonth()]},B:function(re){return g[re.getUTCMonth()]},c:null,d:OHt,e:OHt,f:$tr,g:Htr,G:jtr,H:ktr,I:Btr,j:_tr,L:Otn,m:Itr,M:Otr,p:function(re){return u[+(re.getUTCHours()>=12)]},q:function(re){return 1+~~(re.getUTCMonth()/3)},Q:PHt,s:LHt,S:Mtr,u:Ptr,U:Ltr,V:Dtr,w:Ftr,W:Ntr,x:null,X:null,y:Rtr,Y:Qtr,Z:Utr,"%":MHt},H={a:function(re,J,V){var ue=k.exec(Eo(J).call(J,V));return ue?(re.w=$.get(ue[0].toLowerCase()),V+ue[0].length):-1},A:function(re,J,V){var ue=C.exec(Eo(J).call(J,V));return ue?(re.w=T.get(ue[0].toLowerCase()),V+ue[0].length):-1},b:function(re,J,V){var ue=P.exec(Eo(J).call(J,V));return ue?(re.m=N.get(ue[0].toLowerCase()),V+ue[0].length):-1},B:function(re,J,V){var ue=O.exec(Eo(J).call(J,V));return ue?(re.m=B.get(ue[0].toLowerCase()),V+ue[0].length):-1},c:function(re,J,V){return X(re,i,J,V)},d:_Ht,e:_Ht,f:atr,g:BHt,G:kHt,H:$Ht,I:$Ht,j:ntr,L:otr,m:ttr,M:rtr,p:function(re,J,V){var ue=b.exec(Eo(J).call(J,V));return ue?(re.p=w.get(ue[0].toLowerCase()),V+ue[0].length):-1},q:etr,Q:ltr,s:ctr,S:itr,u:Ger,U:Yer,V:qer,w:Xer,W:Jer,x:function(re,J,V){return X(re,o,J,V)},X:function(re,J,V){return X(re,s,J,V)},y:BHt,Y:kHt,Z:Zer,"%":str};function Q(re,J){return function(V){var ue,Y,le,te=[],Z=-1,Ae=0,Se=re.length;for(V instanceof Date||(V=new Date(+V));++Z53)return null;"w"in le||(le.w=1),"Z"in le?(Y=(ue=CUe(_ie(le.y,0,1))).getUTCDay(),ue=Y>4||Y===0?e4e.ceil(ue):e4e(ue),ue=yqe.offset(ue,7*(le.V-1)),le.y=ue.getUTCFullYear(),le.m=ue.getUTCMonth(),le.d=ue.getUTCDate()+(le.w+6)%7):(Y=(ue=xUe(_ie(le.y,0,1))).getDay(),ue=Y>4||Y===0?Z3e.ceil(ue):Z3e(ue),ue=KW.offset(ue,7*(le.V-1)),le.y=ue.getFullYear(),le.m=ue.getMonth(),le.d=ue.getDate()+(le.w+6)%7)}else("W"in le||"U"in le)&&("w"in le||(le.w="u"in le?le.u%7:"W"in le?1:0),Y="Z"in le?CUe(_ie(le.y,0,1)).getUTCDay():xUe(_ie(le.y,0,1)).getDay(),le.m=0,le.d="W"in le?(le.w+6)%7+7*le.W-(Y+5)%7:le.w+7*le.U-(Y+6)%7);return"Z"in le?(le.H+=le.Z/100|0,le.M+=le.Z%100,CUe(le)):xUe(le)}}function X(re,J,V,ue){for(var Y,le,te=0,Z=J.length,Ae=V.length;te=Ae)return-1;if((Y=J.charCodeAt(te++))===37){if(Y=J.charAt(te++),!(le=H[Y in EHt?J.charAt(te++):Y])||(ue=le(re,V,ue))<0)return-1}else if(Y!=V.charCodeAt(ue++))return-1}return ue}return L.x=Q(o,L),L.X=Q(s,L),L.c=Q(i,L),R.x=Q(o,R),R.X=Q(s,R),R.c=Q(i,R),{format:function(re){var J=Q(re+="",L);return J.toString=function(){return re},J},parse:function(re){var J=q(re+="",!1);return J.toString=function(){return re},J},utcFormat:function(re){var J=Q(re+="",R);return J.toString=function(){return re},J},utcParse:function(re){var J=q(re+="",!0);return J.toString=function(){return re},J}}}(t),Gye=$ie.format,$ie.parse,$ie.utcFormat,$ie.utcParse})({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var DHt=Math.abs,Xb=Math.atan2,lH=Math.cos,Vtr=Math.max,SUe=Math.min,g9=Math.sin,xW=Math.sqrt,Gb=1e-12,joe=Math.PI,t4e=joe/2,Yye=2*joe;function FHt(t){return t>=1?t4e:t<=-1?-t4e:Math.asin(t)}function Wtr(t){return t.innerRadius}function Xtr(t){return t.outerRadius}function Gtr(t){return t.startAngle}function Ytr(t){return t.endAngle}function qtr(t){return t&&t.padAngle}function A2e(t,n,i,o,s,u,d){var f=t-i,g=n-o,m=(d?u:-u)/xW(f*f+g*g),b=m*g,w=-m*f,C=t+b,T=n+w,k=i+b,$=o+w,O=(C+k)/2,B=(T+$)/2,P=k-C,N=$-T,L=P*P+N*N,R=s-u,H=C*$-k*T,Q=(N<0?-1:1)*xW(Vtr(0,R*R*L-H*H)),q=(H*N-P*Q)/L,X=(-H*P-N*Q)/L,re=(H*N+P*Q)/L,J=(-H*P+N*Q)/L,V=q-O,ue=X-B,Y=re-O,le=J-B;return V*V+ue*ue>Y*Y+le*le&&(q=re,X=J),{cx:q,cy:X,x01:-b,y01:-w,x11:q*(s/R-1),y11:X*(s/R-1)}}function mWe(){var t=Wtr,n=Xtr,i=$0(0),o=null,s=Gtr,u=Ytr,d=qtr,f=null;function g(){var m,b,w=+t.apply(this,arguments),C=+n.apply(this,arguments),T=s.apply(this,arguments)-t4e,k=u.apply(this,arguments)-t4e,$=DHt(k-T),O=k>T;if(f||(f=m=pqe()),CGb)if($>Yye-Gb)f.moveTo(C*lH(T),C*g9(T)),f.arc(0,0,C,T,k,!O),w>Gb&&(f.moveTo(w*lH(k),w*g9(k)),f.arc(0,0,w,k,T,O));else{var B,P,N=T,L=k,R=T,H=k,Q=$,q=$,X=d.apply(this,arguments)/2,re=X>Gb&&(o?+o.apply(this,arguments):xW(w*w+C*C)),J=SUe(DHt(C-w)/2,+i.apply(this,arguments)),V=J,ue=J;if(re>Gb){var Y=FHt(re/w*g9(X)),le=FHt(re/C*g9(X));(Q-=2*Y)>Gb?(R+=Y*=O?1:-1,H-=Y):(Q=0,R=H=(T+k)/2),(q-=2*le)>Gb?(N+=le*=O?1:-1,L-=le):(q=0,N=L=(T+k)/2)}var te=C*lH(N),Z=C*g9(N),Ae=w*lH(H),Se=w*g9(H);if(J>Gb){var ke,Be=C*lH(L),we=C*g9(L),Ce=w*lH(R),Qe=w*g9(R);if($1?0:rt<-1?joe:Math.acos(rt)}((Ve*ht+ze*nt)/(xW(Ve*Ve+ze*ze)*xW(ht*ht+nt*nt)))/2),Ge=xW(ke[0]*ke[0]+ke[1]*ke[1]);V=SUe(J,(w-Ge)/(lt-1)),ue=SUe(J,(C-Ge)/(lt+1))}}q>Gb?ue>Gb?(B=A2e(Ce,Qe,te,Z,C,ue,O),P=A2e(Be,we,Ae,Se,C,ue,O),f.moveTo(B.cx+B.x01,B.cy+B.y01),ueGb&&Q>Gb?V>Gb?(B=A2e(Ae,Se,Be,we,w,-V,O),P=A2e(te,Z,Ce,Qe,w,-V,O),f.lineTo(B.cx+B.x01,B.cy+B.y01),Vt?1:n>=t?0:NaN}function tnr(t){return t}Eo(Array.prototype),Dtn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var NHt=function(){function t(n,i){vi(this,t),this._context=n,this._x=i}return bi(t,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+n)/2,this._y0,this._x0,i,n,i):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+i)/2,n,this._y0,n,i)}this._x0=n,this._y0=i}}]),t}();function OL(){}function m2e(t,n,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+i)/6)}function ixe(t){this._context=t}function Jse(t){return new ixe(t)}function Ftn(t){this._context=t}function Ntn(t){this._context=t}function Rtn(t,n){this._basis=new ixe(t),this._beta=n}ixe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:m2e(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:m2e(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ftn.prototype={areaStart:OL,areaEnd:OL,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:m2e(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ntn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,o=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(i,o):this._context.moveTo(i,o);break;case 3:this._point=4;default:m2e(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Rtn.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,i=t.length-1;if(i>0)for(var o,s=t[0],u=n[0],d=t[i]-s,f=n[i]-u,g=-1;++g<=i;)o=g/i,this._basis.point(this._beta*t[g]+(1-this._beta)*(s+o*d),this._beta*n[g]+(1-this._beta)*(u+o*f));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var nnr=function t(n){function i(o){return n===1?new ixe(o):new Rtn(o,n)}return i.beta=function(o){return t(+o)},i}(.85);function n4e(t,n,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function Cqe(t,n){this._context=t,this._k=(1-n)/6}Cqe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:n4e(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:n4e(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var rnr=function t(n){function i(o){return new Cqe(o,n)}return i.tension=function(o){return t(+o)},i}(0);function Sqe(t,n){this._context=t,this._k=(1-n)/6}Sqe.prototype={areaStart:OL,areaEnd:OL,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:n4e(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var inr=function t(n){function i(o){return new Sqe(o,n)}return i.tension=function(o){return t(+o)},i}(0);function Tqe(t,n){this._context=t,this._k=(1-n)/6}Tqe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:n4e(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var onr=function t(n){function i(o){return new Tqe(o,n)}return i.tension=function(o){return t(+o)},i}(0);function Eqe(t,n,i){var o=t._x1,s=t._y1,u=t._x2,d=t._y2;if(t._l01_a>Gb){var f=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,g=3*t._l01_a*(t._l01_a+t._l12_a);o=(o*f-t._x0*t._l12_2a+t._x2*t._l01_2a)/g,s=(s*f-t._y0*t._l12_2a+t._y2*t._l01_2a)/g}if(t._l23_a>Gb){var m=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,b=3*t._l23_a*(t._l23_a+t._l12_a);u=(u*m+t._x1*t._l23_2a-n*t._l12_2a)/b,d=(d*m+t._y1*t._l23_2a-i*t._l12_2a)/b}t._context.bezierCurveTo(o,s,u,d,t._x2,t._y2)}function Htn(t,n){this._context=t,this._alpha=n}Htn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var i=this._x2-t,o=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Eqe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var anr=function t(n){function i(o){return n?new Htn(o,n):new Cqe(o,0)}return i.alpha=function(o){return t(+o)},i}(.5);function Qtn(t,n){this._context=t,this._alpha=n}Qtn.prototype={areaStart:OL,areaEnd:OL,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var i=this._x2-t,o=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Eqe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var snr=function t(n){function i(o){return n?new Qtn(o,n):new Sqe(o,0)}return i.alpha=function(o){return t(+o)},i}(.5);function jtn(t,n){this._context=t,this._alpha=n}jtn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var i=this._x2-t,o=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+o*o,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Eqe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var lnr=function t(n){function i(o){return n?new jtn(o,n):new Tqe(o,0)}return i.alpha=function(o){return t(+o)},i}(.5);function Utn(t){this._context=t}function RHt(t){return t<0?-1:1}function HHt(t,n,i){var o=t._x1-t._x0,s=n-t._x1,u=(t._y1-t._y0)/(o||s<0&&-0),d=(i-t._y1)/(s||o<0&&-0),f=(u*s+d*o)/(o+s);return(RHt(u)+RHt(d))*Math.min(Math.abs(u),Math.abs(d),.5*Math.abs(f))||0}function QHt(t,n){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-n)/2:n}function TUe(t,n,i){var o=t._x0,s=t._y0,u=t._x1,d=t._y1,f=(u-o)/3;t._context.bezierCurveTo(o+f,s+f*n,u-f,d-f*i,u,d)}function qye(t){this._context=t}function ztn(t){this._context=new Ktn(t)}function Ktn(t){this._context=t}function Vtn(t){this._context=t}function jHt(t){var n,i,o=t.length-1,s=new Array(o),u=new Array(o),d=new Array(o);for(s[0]=0,u[0]=2,d[0]=t[0]+2*t[1],n=1;n=0;--n)s[n]=(d[n]-s[n+1])/u[n];for(u[o-1]=(t[o]+s[o-1])/2,n=0;n=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,n)}}this._x=t,this._y=n}},Mie.prototype={constructor:Mie,scale:function(t){return t===1?this:new Mie(this.k*t,this.x,this.y)},translate:function(t,n){return t===0&n===0?this:new Mie(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){var n,i;return t.copy().domain(Ws(n=Ws(i=t.range()).call(i,this.invertX,this)).call(n,t.invert,t))},rescaleY:function(t){var n,i;return t.copy().domain(Ws(n=Ws(i=t.range()).call(i,this.invertY,this)).call(n,t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},Mie.prototype;var ese=Jc(function(t,n){t.exports=function(){function i(wt){return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(fn){return typeof fn}:function(fn){return fn&&typeof Symbol=="function"&&fn.constructor===Symbol&&fn!==Symbol.prototype?"symbol":typeof fn},i(wt)}function o(wt,fn){return o=Object.setPrototypeOf||function(vn,or){return vn.__proto__=or,vn},o(wt,fn)}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(wt,fn,vn){return u=s()?Reflect.construct:function(or,pn,Mn){var dr=[null];dr.push.apply(dr,pn);var jn=new(Function.bind.apply(or,dr));return Mn&&o(jn,Mn.prototype),jn},u.apply(null,arguments)}function d(wt){return f(wt)||g(wt)||m(wt)||w()}function f(wt){if(Array.isArray(wt))return b(wt)}function g(wt){if(typeof Symbol<"u"&&wt[Symbol.iterator]!=null||wt["@@iterator"]!=null)return Array.from(wt)}function m(wt,fn){if(wt){if(typeof wt=="string")return b(wt,fn);var vn=Object.prototype.toString.call(wt).slice(8,-1);return vn==="Object"&&wt.constructor&&(vn=wt.constructor.name),vn==="Map"||vn==="Set"?Array.from(wt):vn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vn)?b(wt,fn):void 0}}function b(wt,fn){(fn==null||fn>wt.length)&&(fn=wt.length);for(var vn=0,or=new Array(fn);vn1?vn-1:0),pn=1;pn/gm),_t=P(/\${[\w\W]*}/gm),Fe=P(/^data-[\-\w.\u00B7-\uFFFF]/),vt=P(/^aria-[\-\w]+$/),st=P(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ot=P(/^(?:\w+script|data):/i),Ht=P(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),It=P(/^html$/i),Lt=function(){return typeof window>"u"?null:window},Vt=function(wt,fn){if(i(wt)!=="object"||typeof wt.createPolicy!="function")return null;var vn=null,or="data-tt-policy-suffix";fn.currentScript&&fn.currentScript.hasAttribute(or)&&(vn=fn.currentScript.getAttribute(or));var pn="dompurify"+(vn?"#"+vn:"");try{return wt.createPolicy(pn,{createHTML:function(Mn){return Mn},createScriptURL:function(Mn){return Mn}})}catch{return console.warn("TrustedTypes policy "+pn+" could not be created."),null}};function Ct(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lt(),fn=function(Tn){return Ct(Tn)};if(fn.version="2.4.3",fn.removed=[],!wt||!wt.document||wt.document.nodeType!==9)return fn.isSupported=!1,fn;var vn=wt.document,or=wt.document,pn=wt.DocumentFragment,Mn=wt.HTMLTemplateElement,dr=wt.Node,jn=wt.Element,$r=wt.NodeFilter,An=wt.NamedNodeMap,_n=An===void 0?wt.NamedNodeMap||wt.MozNamedAttrMap:An,yr=wt.HTMLFormElement,cr=wt.DOMParser,oi=wt.trustedTypes,En=jn.prototype,go=we(En,"cloneNode"),pr=we(En,"nextSibling"),po=we(En,"childNodes"),aa=we(En,"parentNode");if(typeof Mn=="function"){var Ti=or.createElement("template");Ti.content&&Ti.content.ownerDocument&&(or=Ti.content.ownerDocument)}var Ji=Vt(oi,vn),qo=Ji?Ji.createHTML(""):"",da=or,Ba=da.implementation,Pa=da.createNodeIterator,ls=da.createDocumentFragment,Vn=da.getElementsByTagName,Qo=vn.importNode,Ii={};try{Ii=Be(or).documentMode?or.documentMode:{}}catch{}var za={};fn.isSupported=typeof aa=="function"&&Ba&&Ba.createHTMLDocument!==void 0&&Ii!==9;var Qi,Fa,Oc=it,Gs=je,ql=_t,Ec=Fe,Zs=vt,is=Ot,Qs=Ht,_l=st,hs=null,uc=ke({},[].concat(d(Ce),d(Qe),d(Ve),d(ht),d(lt))),cs=null,Bs=ke({},[].concat(d(Ge),d(rt),d(gt),d(De))),Ei=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Nd=null,yu=null,sh=!0,pl=!0,sd=!1,io=!1,Ps=!1,Sr=!1,zr=!1,Ha=!1,bn=!1,lh=!1,Nn=!0,Cl=!1,_a="user-content-",zh=!0,lr=!1,ri={},ti=null,qr=ke({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),oo=null,bo=ke({},["audio","video","img","source","image","track"]),jo=null,_s=ke({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ca="http://www.w3.org/1998/Math/MathML",Ul="http://www.w3.org/2000/svg",Gu="http://www.w3.org/1999/xhtml",Mc=Gu,Kh=!1,dc=null,e1=ke({},[Ca,Ul,Gu],J),du=["application/xhtml+xml","text/html"],xc="text/html",zl=null,lb=or.createElement("form"),af=function(Tn){return Tn instanceof RegExp||Tn instanceof Function},Rd=function(Tn){zl&&zl===Tn||(Tn&&i(Tn)==="object"||(Tn={}),Tn=Be(Tn),Qi=Qi=du.indexOf(Tn.PARSER_MEDIA_TYPE)===-1?xc:Tn.PARSER_MEDIA_TYPE,Fa=Qi==="application/xhtml+xml"?J:re,hs="ALLOWED_TAGS"in Tn?ke({},Tn.ALLOWED_TAGS,Fa):uc,cs="ALLOWED_ATTR"in Tn?ke({},Tn.ALLOWED_ATTR,Fa):Bs,dc="ALLOWED_NAMESPACES"in Tn?ke({},Tn.ALLOWED_NAMESPACES,J):e1,jo="ADD_URI_SAFE_ATTR"in Tn?ke(Be(_s),Tn.ADD_URI_SAFE_ATTR,Fa):_s,oo="ADD_DATA_URI_TAGS"in Tn?ke(Be(bo),Tn.ADD_DATA_URI_TAGS,Fa):bo,ti="FORBID_CONTENTS"in Tn?ke({},Tn.FORBID_CONTENTS,Fa):qr,Nd="FORBID_TAGS"in Tn?ke({},Tn.FORBID_TAGS,Fa):{},yu="FORBID_ATTR"in Tn?ke({},Tn.FORBID_ATTR,Fa):{},ri="USE_PROFILES"in Tn&&Tn.USE_PROFILES,sh=Tn.ALLOW_ARIA_ATTR!==!1,pl=Tn.ALLOW_DATA_ATTR!==!1,sd=Tn.ALLOW_UNKNOWN_PROTOCOLS||!1,io=Tn.SAFE_FOR_TEMPLATES||!1,Ps=Tn.WHOLE_DOCUMENT||!1,Ha=Tn.RETURN_DOM||!1,bn=Tn.RETURN_DOM_FRAGMENT||!1,lh=Tn.RETURN_TRUSTED_TYPE||!1,zr=Tn.FORCE_BODY||!1,Nn=Tn.SANITIZE_DOM!==!1,Cl=Tn.SANITIZE_NAMED_PROPS||!1,zh=Tn.KEEP_CONTENT!==!1,lr=Tn.IN_PLACE||!1,_l=Tn.ALLOWED_URI_REGEXP||_l,Mc=Tn.NAMESPACE||Gu,Tn.CUSTOM_ELEMENT_HANDLING&&af(Tn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ei.tagNameCheck=Tn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Tn.CUSTOM_ELEMENT_HANDLING&&af(Tn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ei.attributeNameCheck=Tn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Tn.CUSTOM_ELEMENT_HANDLING&&typeof Tn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Ei.allowCustomizedBuiltInElements=Tn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),io&&(pl=!1),bn&&(Ha=!0),ri&&(hs=ke({},d(lt)),cs=[],ri.html===!0&&(ke(hs,Ce),ke(cs,Ge)),ri.svg===!0&&(ke(hs,Qe),ke(cs,rt),ke(cs,De)),ri.svgFilters===!0&&(ke(hs,Ve),ke(cs,rt),ke(cs,De)),ri.mathMl===!0&&(ke(hs,ht),ke(cs,gt),ke(cs,De))),Tn.ADD_TAGS&&(hs===uc&&(hs=Be(hs)),ke(hs,Tn.ADD_TAGS,Fa)),Tn.ADD_ATTR&&(cs===Bs&&(cs=Be(cs)),ke(cs,Tn.ADD_ATTR,Fa)),Tn.ADD_URI_SAFE_ATTR&&ke(jo,Tn.ADD_URI_SAFE_ATTR,Fa),Tn.FORBID_CONTENTS&&(ti===qr&&(ti=Be(ti)),ke(ti,Tn.FORBID_CONTENTS,Fa)),zh&&(hs["#text"]=!0),Ps&&ke(hs,["html","head","body"]),hs.table&&(ke(hs,["tbody"]),delete Nd.tbody),B&&B(Tn),zl=Tn)},yA=ke({},["mi","mo","mn","ms","mtext"]),t1=ke({},["foreignobject","desc","title","annotation-xml"]),h2=ke({},["title","style","font","a","script"]),ph=ke({},Qe);ke(ph,Ve),ke(ph,ze);var ng=ke({},ht);ke(ng,nt);var sv=function(Tn){var mo=aa(Tn);mo&&mo.tagName||(mo={namespaceURI:Mc,tagName:"template"});var Zo=re(Tn.tagName),Kc=re(mo.tagName);return!!dc[Tn.namespaceURI]&&(Tn.namespaceURI===Ul?mo.namespaceURI===Gu?Zo==="svg":mo.namespaceURI===Ca?Zo==="svg"&&(Kc==="annotation-xml"||yA[Kc]):!!ph[Zo]:Tn.namespaceURI===Ca?mo.namespaceURI===Gu?Zo==="math":mo.namespaceURI===Ul?Zo==="math"&&t1[Kc]:!!ng[Zo]:Tn.namespaceURI===Gu?!(mo.namespaceURI===Ul&&!t1[Kc])&&!(mo.namespaceURI===Ca&&!yA[Kc])&&!ng[Zo]&&(h2[Zo]||!ph[Zo]):!(Qi!=="application/xhtml+xml"||!dc[Tn.namespaceURI]))},Wp=function(Tn){X(fn.removed,{element:Tn});try{Tn.parentNode.removeChild(Tn)}catch{try{Tn.outerHTML=qo}catch{Tn.remove()}}},kn=function(Tn,mo){try{X(fn.removed,{attribute:mo.getAttributeNode(Tn),from:mo})}catch{X(fn.removed,{attribute:null,from:mo})}if(mo.removeAttribute(Tn),Tn==="is"&&!cs[Tn])if(Ha||bn)try{Wp(mo)}catch{}else try{mo.setAttribute(Tn,"")}catch{}},Jo=function(Tn){var mo,Zo;if(zr)Tn=""+Tn;else{var Kc=V(Tn,/^[\r\n\t ]+/);Zo=Kc&&Kc[0]}Qi==="application/xhtml+xml"&&Mc===Gu&&(Tn=''+Tn+"");var Lu=Ji?Ji.createHTML(Tn):Tn;if(Mc===Gu)try{mo=new cr().parseFromString(Lu,Qi)}catch{}if(!mo||!mo.documentElement){mo=Ba.createDocument(Mc,"template",null);try{mo.documentElement.innerHTML=Kh?qo:Lu}catch{}}var Ah=mo.body||mo.documentElement;return Tn&&Zo&&Ah.insertBefore(or.createTextNode(Zo),Ah.childNodes[0]||null),Mc===Gu?Vn.call(mo,Ps?"html":"body")[0]:Ps?mo.documentElement:Ah},Do=function(Tn){return Pa.call(Tn.ownerDocument||Tn,Tn,$r.SHOW_ELEMENT|$r.SHOW_COMMENT|$r.SHOW_TEXT,null,!1)},$l=function(Tn){return Tn instanceof yr&&(typeof Tn.nodeName!="string"||typeof Tn.textContent!="string"||typeof Tn.removeChild!="function"||!(Tn.attributes instanceof _n)||typeof Tn.removeAttribute!="function"||typeof Tn.setAttribute!="function"||typeof Tn.namespaceURI!="string"||typeof Tn.insertBefore!="function"||typeof Tn.hasChildNodes!="function")},ec=function(Tn){return i(dr)==="object"?Tn instanceof dr:Tn&&i(Tn)==="object"&&typeof Tn.nodeType=="number"&&typeof Tn.nodeName=="string"},zc=function(Tn,mo,Zo){za[Tn]&&Q(za[Tn],function(Kc){Kc.call(fn,mo,Zo,zl)})},_f=function(Tn){var mo;if(zc("beforeSanitizeElements",Tn,null),$l(Tn)||te(/[\u0080-\uFFFF]/,Tn.nodeName))return Wp(Tn),!0;var Zo=Fa(Tn.nodeName);if(zc("uponSanitizeElement",Tn,{tagName:Zo,allowedTags:hs}),Tn.hasChildNodes()&&!ec(Tn.firstElementChild)&&(!ec(Tn.content)||!ec(Tn.content.firstElementChild))&&te(/<[/\w]/g,Tn.innerHTML)&&te(/<[/\w]/g,Tn.textContent)||Zo==="select"&&te(/