diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..57dabe02 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +name: deploy + +on: + push: + branches: + - 'feat/mvp-20240119' + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: ${{ secrets.DOCKERHUB_USERNAME }}/goplus-community:latest \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..e687978d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,61 @@ +name: Release Build + +on: + push: + tags: + - "v*" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Install Snapcraft + uses: samuelmeuli/action-snapcraft@v2 + + - name: Checkout tag + run: | + git fetch --depth=1 origin +refs/tags/*:refs/tags/* + tag_name="${GITHUB_REF##*/}" + echo Current tag: $tag_name + git checkout $tag_name + echo "TAG_NAME=${tag_name}" >> $GITHUB_ENV + + - name: Check VERSION consistency + run: | + tag=$(git describe --tags --dirty) + version=$(cat VERSION) + if [ "$tag" != "$version" ]; then + echo "VERSION file is not consistent with tag name" + echo "VERSION: $version" + echo "TAG: $tag" + exit 1 + fi + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.19" + + - name: Release with goreleaser + uses: goreleaser/goreleaser-action@v5 + with: + # either 'goreleaser' (default) or 'goreleaser-pro' + distribution: goreleaser + version: latest + args: release --clean -p 4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # - name: Upload deb/rpm to Fury.io + # run: | + # for file in dist/*.{deb,rpm} + # do + # echo "Uploading $file to Fury.io" + # curl -sS -F package=@$file https://$FURY_TOKEN@push.fury.io/goplus/ + # done + # env: + # FURY_TOKEN: ${{ secrets.FURY_TOKEN }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index d850a3db..e188a867 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,9 @@ # Go workspace file go.work + +# env file +.env + +# Autogenerated files from goplus generate +gop_autogen.go \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 00000000..172b7f62 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,50 @@ +# This is an example .goreleaser.yml file with some sensible defaults. +# Make sure to check the documentation at https://goreleaser.com + +# The lines below are called `modelines`. See `:help modeline` +# Feel free to remove those if you don't want/need to use them. +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +# vim: set ts=2 sw=2 tw=0 fo=cnqoj + +version: 1 + +before: + hooks: + # You may remove this if you don't use go modules. + # you may remove this if you don't need go generate + +builds: + - id: 'gopcomm' + main: ./cmd/gopcomm/gop_autogen.go + binary: gopcomm + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + +archives: + - format: tar.gz + # this name template makes the OS and Arch compatible with the results of `uname`. + name_template: >- + {{ .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end }} + # use zip for windows archives + format_overrides: + - goos: windows + format: zip + files: + - LICENSE + - README.md + +changelog: + sort: asc + filters: + exclude: + - "^docs:" + - "^test:" diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..b727ed41 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM golang:1.19 + +RUN apt-get update + +WORKDIR /community + +# install goplus +RUN cd .. && git clone -b v1.2.0-pre.1 https://github.com/goplus/gop.git && cd gop && ./all.bash + +# run goplus-community +COPY . . + +# download account repository +RUN cd .. && git clone -b feat/init-account https://github.com/IRONICBo/account.git +CMD bash scripts/start.sh diff --git a/README.md b/README.md index d72165c2..7340e2d6 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,46 @@ Go+ Community written in Go+ [![GitHub release](https://img.shields.io/github/v/tag/goplus/community.svg?label=release)](https://github.com/goplus/community/releases) [![Coverage Status](https://codecov.io/gh/goplus/community/branch/main/graph/badge.svg)](https://codecov.io/gh/goplus/community) [![GoDoc](https://pkg.go.dev/badge/github.com/goplus/community.svg)](https://pkg.go.dev/github.com/goplus/community) + +### 🧳 Features + +Go+ Community written in Go+ and Yap, support Go+ Community development. + + +### 🚀 How to run + +1. **Prepare golang and goplus environment.** + +- golang version >= 1.19 + - https://go.dev/dl/ (golang download, Find the golang 1.19 version) +- goplus version == v1.2.0-pre.1 + - Ref: https://github.com/goplus/gop/releases + - How to install goplus: https://github.com/goplus/gop#how-to-install + +2. **Prepare for your own config** + +- Clone a file named `.env` from `.env_temp` in the `cmd/gopcomm` directory of the project. +- Modify the `.env` file to your own configuration. + +3. **Run the project** + +- Run the project with the following command: + +```shell +gop run . +``` + +- Open the browser and enter the address: `http://localhost:8080` or `GOP_COMMUNITY_ENDPOINT` in your `.env` file. + + +### 📦 Contribute + +1. **Fork the repository to your local repo** + +2. **Modify your own code** + +3. **Commit your code** + +4. **Create a pull request** + +> **Note:** Please check the PR brach is `mvp-20240119` or not. \ No newline at end of file diff --git a/cmd/gopcomm/.env_temp b/cmd/gopcomm/.env_temp new file mode 100644 index 00000000..4997e194 --- /dev/null +++ b/cmd/gopcomm/.env_temp @@ -0,0 +1,41 @@ +# +# Copyright (c) 2023 The GoPlus Authors (goplus.org). All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +### Account Config +GOP_ACCOUNT_ENDPOINT="0.0.0.0:8081" + +### Community Config +GOP_COMMUNITY_ENDPOINT="0.0.0.0:8080" + +# Database DSN +GOP_COMMUNITY_DSN= + +# Qiniu Storage +GOP_COMMUNITY_BLOBUS= +GOP_COMMUNITY_DOMAIN= + +# Qiniu Dora Service +QINIU_ACCESS_KEY= +QINIU_SECRET_KEY= + +# XiaoQiu Translation Service +QIU_TRANSLATION_KEY= + +# XiaoQiu Translation Service +NIUTRANS_API_KEY= + +# Casdoor config +GOP_CASDOOR_CERTIFICATE= \ No newline at end of file diff --git a/cmd/gopcomm/community_yap.gox b/cmd/gopcomm/community_yap.gox index 15391d10..d7aa24f0 100644 --- a/cmd/gopcomm/community_yap.gox +++ b/cmd/gopcomm/community_yap.gox @@ -1,52 +1,388 @@ import ( "context" + "time" + "os" + "io" + "net/http" + "fmt" + "strconv" "github.com/goplus/community/internal/core" + "github.com/goplus/community/markdown" + "github.com/goplus/community/translation" + "github.com/casdoor/casdoor-go-sdk/casdoorsdk" + "go.uber.org/zap" + language "golang.org/x/text/language" + _ "github.com/joho/godotenv/autoload" ) var ( community *core.Community + trans *translation.Engine +) + +const ( + layoutUS = "January 2, 2006" ) todo := context.TODO() +endpoint := os.Getenv("GOP_COMMUNITY_ENDPOINT") +domain := os.Getenv("GOP_COMMUNITY_DOMAIN") +logger, _ := zap.NewProduction() +defer logger.Sync() +zlog := logger.Sugar() + +static "/" + +get "/success", ctx => { + ctx.yap "2xx", {} +} + +get "/error", ctx => { + ctx.yap "4xx", {} +} + +get "/failed", ctx => { + ctx.yap "5xx", {} +} get "/p/:id", ctx => { + // todo middleware + // Get User Info + var user *core.User + token, err := ctx.Request.Cookie("token") + if err == nil { + user, err = community.getUser(token.Value) + if err != nil { + zlog.Error("get user error:", err) + } + } + id := ctx.param("id") article, _ := community.article(todo, id) ctx.yap "article", { + "User": user, "ID": id, "Title": article.Title, - "Content": article.Content, + "Content": article.HtmlUrl, + "Tags": article.Tags, + "Cover": article.Cover, + "Mtime": article.Mtime.Format(layoutUS), + "Author": article.User, + // "User": article.User, } } + +get "/getArticle/:id", ctx => { + id := ctx.param("id") + article, _ := community.article(todo, id) + ctx.json { + "code": 200, + "data": article, + } +} + +get "/user/:id", ctx => { + id := ctx.param("id") + // Get current User Info by id + userClaim, err := community.getUserClaim(id) + if err != nil { + zlog.Error("get current user error:", err) + } + // todo middleware + // get user by token + var user *core.User + token, err := ctx.Request.Cookie("token") + if err == nil { + user, err = community.getUser(token.Value) + if err != nil { + zlog.Error("get user error:", err) + } + } + // get article list published by uid + items, _ :=community.GetArticlesByUid(todo, id) + ctx.yap "user", { + "Id": id, + "CurrentUser": userClaim, + "User": user, + "Items": items, + } +} + +get "/add", ctx => { + ctx.yap "edit", {} +} + get "/", ctx => { - articles, _, _ := community.listArticle(todo, core.MarkBegin, 20) + from := ctx.param("from") + limit := ctx.param("limit") + // todo middleware + // Get User Info + var user *core.User + token, err := ctx.Request.Cookie("token") + if err == nil { + user, err = community.getUser(token.Value) + if err != nil { + zlog.Error("get user error:", err) + } + } + + limitInt, err := strconv.Atoi(limit) + if err != nil { + limitInt = 20 + } + // Get Article Info + articles, next, _ := community.listArticle(todo, from, limitInt) ctx.yap "home", { + "User": user, "Items": articles, + "Next": next, } } -get "/edit", ctx => { - uid := "" - id := ctx.param("id") - doc := { - "ID": id, + +get "/search", ctx => { + searchValue := ctx.param("value") + if searchValue == "" { + ctx.json { + "code": 400, + "err": "value can not be ''.", + } + } + // todo middleware + var user *core.User + token, err := ctx.Request.Cookie("token") + if err == nil { + user, err = community.getUser(token.Value) + if err != nil { + zlog.Error("get user error:", err) + } + } + articles, _ := community.searchArticle(todo, searchValue) + ctx.yap "home", { + "User": user, + "Items": articles, + "Value": searchValue, + } +} + +get "/edit/:id", ctx => { + token, err := ctx.Request.Cookie("token") + if err != nil { + ctx.json { + "code": 500, + "err": "no token", + } + } + + uid, err := community.ParseJwtToken(token.Value) + if err != nil { + ctx.json { + "code": 500, + "err": err.Error(), + } } + // uid := "70f6a615-c0d5-4315-a5ac-34ca845450ed" + id := ctx.param("id") if id != "" { if editable, _ := community.canEditable(todo, uid, id); !editable { - // TODO: can't edit this article - return + zlog.Error("no permissions") + http.Redirect(ctx.ResponseWriter, ctx.Request, "/error", http.StatusTemporaryRedirect) } article, _ := community.article(todo, id) - doc["Title"] = article.Title - doc["Content"] = article.Content + ctx.yap "edit", article } - ctx.yap "edit", doc } + +get "/getTrans", ctx => { + id := ctx.param("id") + htmlUrl, err := community.transHtmlUrl(todo, id) + if err != nil { + ctx.json { + "code": 500, + "err": err.Error(), + } + } + ctx.json { + "code": 200, + "data": htmlUrl, + } +} + +// click "submit" button post "/commit", ctx => { - // ... + // Whether article has been translated or not + trans := ctx.param("trans") // if trans != "", add article + id := ctx.param("id") + mdData := ctx.param("content") + htmlData := ctx.param("html") + // get user id + token, err := ctx.Request.Cookie("token") + if err != nil { + ctx.json { + "code": 500, + "err": "no token", + } + } + uid, err := community.ParseJwtToken(token.Value) + if err != nil { + ctx.json { + "code": 500, + "err": err.Error(), + } + } + // uid := "70f6a615-c0d5-4315-a5ac-34ca845450ed" + // add article + article := &core.Article{ + ArticleEntry: core.ArticleEntry{ + ID: id, + Title: ctx.param("title"), + UId: uid, + Cover: ctx.param("cover"), + Tags: ctx.param("tags"), + }, + Content: mdData, + HtmlData:htmlData, + } + id, _ = community.putArticle(todo, uid, trans, article) + ctx.json { + "code": 200, + "data": id, + } + // ctx.yap "edit", *article +} + +// click "translate button" +post "/translate", ctx => { + // get user id + token, err := ctx.Request.Cookie("token") + if err != nil { + ctx.json { + "code": 500, + "err": "no token", + } + } + uid, err := community.ParseJwtToken(token.Value) + if err != nil { + ctx.json { + "code": 500, + "err": err.Error(), + } + } + // uid := "70f6a615-c0d5-4315-a5ac-34ca845450ed" + mdData := ctx.param("content") + htmlData := ctx.param("html") + id := ctx.param("id") + // get translation markdown + transData, err := trans.translateMarkdownText(mdData, language.Chinese, language.English) + if err != nil { + ctx.json { + "code": 500, + "err": err.Error(), + } + } + id, _ = community.saveHtml(todo, uid, htmlData, mdData, id) + ctx.json { + "code": 200, + "id": id, //article id + "data": transData, // translation markdown content + } +} + +get "/getMedia/:id", ctx => { + mediaId := ctx.param("id") + // todo the err not empty return 404 for image + fileKey, _ := community.GetMediaUrl(context.Background(),mediaId) + + http.Redirect(ctx.ResponseWriter, ctx.Request, domain+fileKey, http.StatusTemporaryRedirect) +} + +get "/getMediaUrl/:id",ctx => { + id := ctx.param("id") + fileKey, err := community.GetMediaUrl(todo, id) + htmlUrl := fmt.Sprintf("%s%s", domain, fileKey) + if err != nil { + ctx.json { + "code": 500, + "err": "have no html media", + } + } + ctx.json { + "code": 200, + "url": htmlUrl, + } +} + +post "/upload", ctx => { + file, header, err := ctx.FormFile("file") + filename := header.Filename + + ctx.ParseMultipartForm(10 << 20) + + if err != nil { + zlog.Error("upload file error:", filename) + ctx.JSON(500, err.Error()) + return + } + + + dst, err := os.Create(filename) + if err != nil { + zlog.Error("create file error:", file) + ctx.JSON(500, err.Error()) + return + } + defer func() { + file.Close() + dst.Close() + err = os.Remove(filename) + if err != nil { + zlog.Error("delete file error:", filename) + return + } + }() + + + _, err = io.Copy(dst, file) + if err != nil { + zlog.Error("copy file errer:", filename) + ctx.JSON(500, err.Error()) + return + } + bytes, err := os.ReadFile(filename) + if err != nil { + zlog.Error("read file errer:", filename) + ctx.JSON(500, err.Error()) + return + } + token, err := ctx.Request.Cookie("token") + if err != nil { + ctx.json { + "code": 500, + "err": "no token", + } + } + uid, err := community.ParseJwtToken(token.Value) + if err != nil { + ctx.json { + "code": 500, + "err": err.Error(), + } + } + id,err:=community.SaveMedia(context.Background(), uid, bytes) + if err!=nil { + zlog.Error("save file",err.Error()) + ctx.JSON(500, err.Error()) + return + } + // todo append current project ip and getMedia + // sample: 127.0.0.1:8080/getMedia/ + id + ctx.JSON(200,id) } conf := &core.Config{} community, _ = core.New(todo, conf) +trans = translation.New(os.Getenv("NIUTRANS_API_KEY"), "", "") +core.CasdoorConfigInit() -run ":8080" +zlog.Info "Started in endpoint: ", endpoint +run endpoint \ No newline at end of file diff --git a/cmd/gopcomm/gop_autogen.go b/cmd/gopcomm/gop_autogen.go index f353c5fd..20a528f8 100644 --- a/cmd/gopcomm/gop_autogen.go +++ b/cmd/gopcomm/gop_autogen.go @@ -1,71 +1,462 @@ package main import ( + "fmt" + "os" + "strconv" "github.com/goplus/yap" "context" + "io" + "net/http" "github.com/goplus/community/internal/core" + "github.com/goplus/community/translation" + "go.uber.org/zap" + "golang.org/x/text/language" + _ "github.com/joho/godotenv/autoload" ) +const layoutUS = "January 2, 2006" + type community struct { yap.App community *core.Community + trans *translation.Engine } -//line cmd/gopcomm/community_yap.gox:11 +//line cmd/gopcomm/community_yap.gox:28 func (this *community) MainEntry() { -//line cmd/gopcomm/community_yap.gox:11:1 +//line cmd/gopcomm/community_yap.gox:28:1 todo := context.TODO() -//line cmd/gopcomm/community_yap.gox:13:1 +//line cmd/gopcomm/community_yap.gox:29:1 + endpoint := os.Getenv("GOP_COMMUNITY_ENDPOINT") +//line cmd/gopcomm/community_yap.gox:30:1 + domain := os.Getenv("GOP_COMMUNITY_DOMAIN") +//line cmd/gopcomm/community_yap.gox:31:1 + logger, _ := zap.NewProduction() +//line cmd/gopcomm/community_yap.gox:32:1 + defer logger.Sync() +//line cmd/gopcomm/community_yap.gox:33:1 + zlog := logger.Sugar() +//line cmd/gopcomm/community_yap.gox:35:1 + this.Static__0("/") +//line cmd/gopcomm/community_yap.gox:37:1 + this.Get("/success", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:38:1 + ctx.Yap__1("2xx", map[string]interface { + }{}) + }) +//line cmd/gopcomm/community_yap.gox:41:1 + this.Get("/error", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:42:1 + ctx.Yap__1("4xx", map[string]interface { + }{}) + }) +//line cmd/gopcomm/community_yap.gox:45:1 + this.Get("/failed", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:46:1 + ctx.Yap__1("5xx", map[string]interface { + }{}) + }) +//line cmd/gopcomm/community_yap.gox:49:1 this.Get("/p/:id", func(ctx *yap.Context) { -//line cmd/gopcomm/community_yap.gox:14:1 +//line cmd/gopcomm/community_yap.gox:52:1 + // todo middleware + // Get User Info + var user *core.User +//line cmd/gopcomm/community_yap.gox:53:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:54:1 + if err == nil { +//line cmd/gopcomm/community_yap.gox:55:1 + user, err = this.community.GetUser(token.Value) +//line cmd/gopcomm/community_yap.gox:56:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:57:1 + zlog.Error("get user error:", err) + } + } +//line cmd/gopcomm/community_yap.gox:61:1 + id := ctx.Param("id") +//line cmd/gopcomm/community_yap.gox:62:1 + article, _ := this.community.Article(todo, id) +//line cmd/gopcomm/community_yap.gox:63:1 + ctx.Yap__1("article", map[string]interface { + }{"User": user, "ID": id, "Title": article.Title, "Content": article.HtmlUrl, "Tags": article.Tags, "Cover": article.Cover, "Mtime": article.Mtime.Format(layoutUS), "Author": article.User}) + }) +//line cmd/gopcomm/community_yap.gox:76:1 + this.Get("/getArticle/:id", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:77:1 id := ctx.Param("id") -//line cmd/gopcomm/community_yap.gox:15:1 +//line cmd/gopcomm/community_yap.gox:78:1 article, _ := this.community.Article(todo, id) -//line cmd/gopcomm/community_yap.gox:16:1 - ctx.Yap__1("article", map[string]string{"ID": id, "Title": article.Title, "Content": article.Content}) +//line cmd/gopcomm/community_yap.gox:79:1 + ctx.Json__1(map[string]interface { + }{"code": 200, "data": article}) }) -//line cmd/gopcomm/community_yap.gox:22:1 +//line cmd/gopcomm/community_yap.gox:85:1 + this.Get("/user/:id", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:86:1 + id := ctx.Param("id") +//line cmd/gopcomm/community_yap.gox:88:1 + userClaim, err := this.community.GetUserClaim(id) +//line cmd/gopcomm/community_yap.gox:89:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:90:1 + zlog.Error("get current user error:", err) + } +//line cmd/gopcomm/community_yap.gox:94:1 + // todo middleware + // get user by token + var user *core.User +//line cmd/gopcomm/community_yap.gox:95:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:96:1 + if err == nil { +//line cmd/gopcomm/community_yap.gox:97:1 + user, err = this.community.GetUser(token.Value) +//line cmd/gopcomm/community_yap.gox:98:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:99:1 + zlog.Error("get user error:", err) + } + } +//line cmd/gopcomm/community_yap.gox:103:1 + items, _ := this.community.GetArticlesByUid(todo, id) +//line cmd/gopcomm/community_yap.gox:104:1 + ctx.Yap__1("user", map[string]interface { + }{"Id": id, "CurrentUser": userClaim, "User": user, "Items": items}) + }) +//line cmd/gopcomm/community_yap.gox:112:1 + this.Get("/add", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:113:1 + ctx.Yap__1("edit", map[string]interface { + }{}) + }) +//line cmd/gopcomm/community_yap.gox:116:1 this.Get("/", func(ctx *yap.Context) { -//line cmd/gopcomm/community_yap.gox:23:1 - articles, _, _ := this.community.ListArticle(todo, core.MarkBegin, 20) -//line cmd/gopcomm/community_yap.gox:24:1 - ctx.Yap__1("home", map[string][]*core.ArticleEntry{"Items": articles}) +//line cmd/gopcomm/community_yap.gox:117:1 + from := ctx.Param("from") +//line cmd/gopcomm/community_yap.gox:118:1 + limit := ctx.Param("limit") +//line cmd/gopcomm/community_yap.gox:121:1 + // todo middleware + // Get User Info + var user *core.User +//line cmd/gopcomm/community_yap.gox:122:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:123:1 + if err == nil { +//line cmd/gopcomm/community_yap.gox:124:1 + user, err = this.community.GetUser(token.Value) +//line cmd/gopcomm/community_yap.gox:125:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:126:1 + zlog.Error("get user error:", err) + } + } +//line cmd/gopcomm/community_yap.gox:130:1 + limitInt, err := strconv.Atoi(limit) +//line cmd/gopcomm/community_yap.gox:131:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:132:1 + limitInt = 20 + } +//line cmd/gopcomm/community_yap.gox:135:1 + articles, next, _ := this.community.ListArticle(todo, from, limitInt) +//line cmd/gopcomm/community_yap.gox:136:1 + ctx.Yap__1("home", map[string]interface { + }{"User": user, "Items": articles, "Next": next}) }) -//line cmd/gopcomm/community_yap.gox:28:1 - this.Get("/edit", func(ctx *yap.Context) { -//line cmd/gopcomm/community_yap.gox:29:1 - uid := "" -//line cmd/gopcomm/community_yap.gox:30:1 +//line cmd/gopcomm/community_yap.gox:143:1 + this.Get("/search", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:144:1 + searchValue := ctx.Param("value") +//line cmd/gopcomm/community_yap.gox:145:1 + if searchValue == "" { +//line cmd/gopcomm/community_yap.gox:146:1 + ctx.Json__1(map[string]interface { + }{"code": 400, "err": "value can not be ''."}) + } +//line cmd/gopcomm/community_yap.gox:152:1 + // todo middleware + var user *core.User +//line cmd/gopcomm/community_yap.gox:153:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:154:1 + if err == nil { +//line cmd/gopcomm/community_yap.gox:155:1 + user, err = this.community.GetUser(token.Value) +//line cmd/gopcomm/community_yap.gox:156:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:157:1 + zlog.Error("get user error:", err) + } + } +//line cmd/gopcomm/community_yap.gox:160:1 + articles, _ := this.community.SearchArticle(todo, searchValue) +//line cmd/gopcomm/community_yap.gox:161:1 + ctx.Yap__1("home", map[string]interface { + }{"User": user, "Items": articles, "Value": searchValue}) + }) +//line cmd/gopcomm/community_yap.gox:168:1 + this.Get("/edit/:id", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:169:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:170:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:171:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": "no token"}) + } +//line cmd/gopcomm/community_yap.gox:177:1 + uid, err := this.community.ParseJwtToken(token.Value) +//line cmd/gopcomm/community_yap.gox:178:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:179:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": err.Error()}) + } +//line cmd/gopcomm/community_yap.gox:185:1 id := ctx.Param("id") -//line cmd/gopcomm/community_yap.gox:31:1 - doc := map[string]string{"ID": id} -//line cmd/gopcomm/community_yap.gox:34:1 +//line cmd/gopcomm/community_yap.gox:186:1 if id != "" { -//line cmd/gopcomm/community_yap.gox:35:1 +//line cmd/gopcomm/community_yap.gox:187:1 if -//line cmd/gopcomm/community_yap.gox:35:1 +//line cmd/gopcomm/community_yap.gox:187:1 editable, _ := this.community.CanEditable(todo, uid, id); !editable { -//line cmd/gopcomm/community_yap.gox:37:1 - return +//line cmd/gopcomm/community_yap.gox:188:1 + zlog.Error("no permissions") +//line cmd/gopcomm/community_yap.gox:189:1 + http.Redirect(ctx.ResponseWriter, ctx.Request, "/error", http.StatusTemporaryRedirect) } -//line cmd/gopcomm/community_yap.gox:39:1 +//line cmd/gopcomm/community_yap.gox:191:1 article, _ := this.community.Article(todo, id) -//line cmd/gopcomm/community_yap.gox:40:1 - doc["Title"] = article.Title -//line cmd/gopcomm/community_yap.gox:41:1 - doc["Content"] = article.Content +//line cmd/gopcomm/community_yap.gox:192:1 + ctx.Yap__1("edit", article) } -//line cmd/gopcomm/community_yap.gox:43:1 - ctx.Yap__1("edit", doc) }) -//line cmd/gopcomm/community_yap.gox:45:1 +//line cmd/gopcomm/community_yap.gox:196:1 + this.Get("/getTrans", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:197:1 + id := ctx.Param("id") +//line cmd/gopcomm/community_yap.gox:198:1 + htmlUrl, err := this.community.TransHtmlUrl(todo, id) +//line cmd/gopcomm/community_yap.gox:199:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:200:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": err.Error()}) + } +//line cmd/gopcomm/community_yap.gox:205:1 + ctx.Json__1(map[string]interface { + }{"code": 200, "data": htmlUrl}) + }) +//line cmd/gopcomm/community_yap.gox:212:1 this.Post("/commit", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:214:1 + trans := ctx.Param("trans") +//line cmd/gopcomm/community_yap.gox:215:1 + id := ctx.Param("id") +//line cmd/gopcomm/community_yap.gox:216:1 + mdData := ctx.Param("content") +//line cmd/gopcomm/community_yap.gox:217:1 + htmlData := ctx.Param("html") +//line cmd/gopcomm/community_yap.gox:219:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:220:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:221:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": "no token"}) + } +//line cmd/gopcomm/community_yap.gox:226:1 + uid, err := this.community.ParseJwtToken(token.Value) +//line cmd/gopcomm/community_yap.gox:227:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:228:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": err.Error()}) + } +//line cmd/gopcomm/community_yap.gox:235:1 + article := &core.Article{ArticleEntry: core.ArticleEntry{ID: id, Title: ctx.Param("title"), UId: uid, Cover: ctx.Param("cover"), Tags: ctx.Param("tags")}, Content: mdData, HtmlData: htmlData} +//line cmd/gopcomm/community_yap.gox:246:1 + id, _ = this.community.PutArticle(todo, uid, trans, article) +//line cmd/gopcomm/community_yap.gox:247:1 + ctx.Json__1(map[string]interface { + }{"code": 200, "data": id}) }) -//line cmd/gopcomm/community_yap.gox:49:1 +//line cmd/gopcomm/community_yap.gox:255:1 + this.Post("/translate", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:257:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:258:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:259:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": "no token"}) + } +//line cmd/gopcomm/community_yap.gox:264:1 + uid, err := this.community.ParseJwtToken(token.Value) +//line cmd/gopcomm/community_yap.gox:265:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:266:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": err.Error()}) + } +//line cmd/gopcomm/community_yap.gox:272:1 + mdData := ctx.Param("content") +//line cmd/gopcomm/community_yap.gox:273:1 + htmlData := ctx.Param("html") +//line cmd/gopcomm/community_yap.gox:274:1 + id := ctx.Param("id") +//line cmd/gopcomm/community_yap.gox:276:1 + transData, err := this.trans.TranslateMarkdownText(mdData, language.Chinese, language.English) +//line cmd/gopcomm/community_yap.gox:277:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:278:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": err.Error()}) + } +//line cmd/gopcomm/community_yap.gox:283:1 + id, _ = this.community.SaveHtml(todo, uid, htmlData, mdData, id) +//line cmd/gopcomm/community_yap.gox:284:1 + ctx.Json__1(map[string]interface { + }{"code": 200, "id": id, "data": transData}) + }) +//line cmd/gopcomm/community_yap.gox:291:1 + this.Get("/getMedia/:id", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:292:1 + mediaId := ctx.Param("id") +//line cmd/gopcomm/community_yap.gox:294:1 + fileKey, _ := this.community.GetMediaUrl(context.Background(), mediaId) +//line cmd/gopcomm/community_yap.gox:296:1 + http.Redirect(ctx.ResponseWriter, ctx.Request, domain+fileKey, http.StatusTemporaryRedirect) + }) +//line cmd/gopcomm/community_yap.gox:299:1 + this.Get("/getMediaUrl/:id", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:300:1 + id := ctx.Param("id") +//line cmd/gopcomm/community_yap.gox:301:1 + fileKey, err := this.community.GetMediaUrl(todo, id) +//line cmd/gopcomm/community_yap.gox:302:1 + htmlUrl := fmt.Sprintf("%s%s", domain, fileKey) +//line cmd/gopcomm/community_yap.gox:303:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:304:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": "have no html media"}) + } +//line cmd/gopcomm/community_yap.gox:309:1 + ctx.Json__1(map[string]interface { + }{"code": 200, "url": htmlUrl}) + }) +//line cmd/gopcomm/community_yap.gox:315:1 + this.Post("/upload", func(ctx *yap.Context) { +//line cmd/gopcomm/community_yap.gox:316:1 + file, header, err := ctx.FormFile("file") +//line cmd/gopcomm/community_yap.gox:317:1 + filename := header.Filename +//line cmd/gopcomm/community_yap.gox:319:1 + ctx.ParseMultipartForm(10 << 20) +//line cmd/gopcomm/community_yap.gox:321:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:322:1 + zlog.Error("upload file error:", filename) +//line cmd/gopcomm/community_yap.gox:323:1 + ctx.JSON(500, err.Error()) +//line cmd/gopcomm/community_yap.gox:324:1 + return + } +//line cmd/gopcomm/community_yap.gox:328:1 + dst, err := os.Create(filename) +//line cmd/gopcomm/community_yap.gox:329:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:330:1 + zlog.Error("create file error:", file) +//line cmd/gopcomm/community_yap.gox:331:1 + ctx.JSON(500, err.Error()) +//line cmd/gopcomm/community_yap.gox:332:1 + return + } +//line cmd/gopcomm/community_yap.gox:334:1 + defer func() { +//line cmd/gopcomm/community_yap.gox:335:1 + file.Close() +//line cmd/gopcomm/community_yap.gox:336:1 + dst.Close() +//line cmd/gopcomm/community_yap.gox:337:1 + err = os.Remove(filename) +//line cmd/gopcomm/community_yap.gox:338:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:339:1 + zlog.Error("delete file error:", filename) +//line cmd/gopcomm/community_yap.gox:340:1 + return + } + }() +//line cmd/gopcomm/community_yap.gox:345:1 + _, err = io.Copy(dst, file) +//line cmd/gopcomm/community_yap.gox:346:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:347:1 + zlog.Error("copy file errer:", filename) +//line cmd/gopcomm/community_yap.gox:348:1 + ctx.JSON(500, err.Error()) +//line cmd/gopcomm/community_yap.gox:349:1 + return + } +//line cmd/gopcomm/community_yap.gox:351:1 + bytes, err := os.ReadFile(filename) +//line cmd/gopcomm/community_yap.gox:352:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:353:1 + zlog.Error("read file errer:", filename) +//line cmd/gopcomm/community_yap.gox:354:1 + ctx.JSON(500, err.Error()) +//line cmd/gopcomm/community_yap.gox:355:1 + return + } +//line cmd/gopcomm/community_yap.gox:357:1 + token, err := ctx.Request.Cookie("token") +//line cmd/gopcomm/community_yap.gox:358:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:359:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": "no token"}) + } +//line cmd/gopcomm/community_yap.gox:364:1 + uid, err := this.community.ParseJwtToken(token.Value) +//line cmd/gopcomm/community_yap.gox:365:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:366:1 + ctx.Json__1(map[string]interface { + }{"code": 500, "err": err.Error()}) + } +//line cmd/gopcomm/community_yap.gox:371:1 + id, err := this.community.SaveMedia(context.Background(), uid, bytes) +//line cmd/gopcomm/community_yap.gox:372:1 + if err != nil { +//line cmd/gopcomm/community_yap.gox:373:1 + zlog.Error("save file", err.Error()) +//line cmd/gopcomm/community_yap.gox:374:1 + ctx.JSON(500, err.Error()) +//line cmd/gopcomm/community_yap.gox:375:1 + return + } +//line cmd/gopcomm/community_yap.gox:379:1 + ctx.JSON(200, id) + }) +//line cmd/gopcomm/community_yap.gox:382:1 conf := &core.Config{} -//line cmd/gopcomm/community_yap.gox:50:1 +//line cmd/gopcomm/community_yap.gox:383:1 this.community, _ = core.New(todo, conf) -//line cmd/gopcomm/community_yap.gox:52:1 - this.Run__1(":8080") +//line cmd/gopcomm/community_yap.gox:384:1 + this.trans = translation.New(os.Getenv("NIUTRANS_API_KEY"), "", "") +//line cmd/gopcomm/community_yap.gox:385:1 + core.CasdoorConfigInit() +//line cmd/gopcomm/community_yap.gox:387:1 + zlog.Info("Started in endpoint: ", endpoint) +//line cmd/gopcomm/community_yap.gox:388:1 + this.Run(endpoint) } func main() { yap.Gopt_App_Main(new(community)) diff --git a/cmd/gopcomm/yap/2xx_yap.html b/cmd/gopcomm/yap/2xx_yap.html new file mode 100644 index 00000000..0b9d8f32 --- /dev/null +++ b/cmd/gopcomm/yap/2xx_yap.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ +
+

Success!

+
+ + + + +
+ + \ No newline at end of file diff --git a/cmd/gopcomm/yap/4xx_yap.html b/cmd/gopcomm/yap/4xx_yap.html new file mode 100644 index 00000000..53ddee81 --- /dev/null +++ b/cmd/gopcomm/yap/4xx_yap.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ +
+

Oops! Something occurred :(

+
+ + + + +
+ + \ No newline at end of file diff --git a/cmd/gopcomm/yap/5xx_yap.html b/cmd/gopcomm/yap/5xx_yap.html new file mode 100644 index 00000000..34fd78bf --- /dev/null +++ b/cmd/gopcomm/yap/5xx_yap.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ +
+

Oops! Server error occurred :(

+
+ + + + +
+ + \ No newline at end of file diff --git a/cmd/gopcomm/yap/article_yap.html b/cmd/gopcomm/yap/article_yap.html index bebe3bdb..3c36414c 100644 --- a/cmd/gopcomm/yap/article_yap.html +++ b/cmd/gopcomm/yap/article_yap.html @@ -1,13 +1,653 @@ + + - + + + + + + + + + + + + + + + + Go+ Community + + - -Article {{.ID}} -

{{.Title}}

-
-{{.Content}}
-
+ + + + +
+ +
+ + +
+ +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + +
+ + +
+ +
+ +
+ + + Tag 1 + + + + Tag 2 + + + + Tag 3 + +
+ + +

+ {{.Title}} +

+ + +
+
+

+ +

+
+
+
+ + + + + +
+ +
+

Discussion (20) +

+
+ + +
+
+

Your comment

+ +
+ +
+ + +
+
+
+

+ Michael GoughMichael Gough +

+

+
+ + + +
+

Very straight-to-point article. Really worth time reading. Thank you! But tools are + just the + instruments for the UX designers. The knowledge of the design tools are as important + as the + creation of the design strategy.

+
+ +
+
+
+
+
+

+ Jese LeosJese Leos +

+

+

+
+ + + +
+

Much appreciated! Glad you liked it ☺️

+
+ +
+
+
+
+
+

+ Bonnie GreenBonnie Green +

+

+
+ + + +
+

The article covers the essentials, challenges, myths and stages the UX designer + should consider + while creating the design strategy.

+
+ +
+
+
+
+
+

+ Helene EngelsHelene Engels +

+

+
+ + + +
+

Thanks for sharing this. I do came from the Backend development and explored some of + the tools to + design my Side Projects.

+
+ +
+
+
+
+
+
+
+ + +
+ +
+ +
+ + Rounded avatar + + +
+ {{.Author.Name}}
+ GoPlus Developer +
+
+ + +
+
+ Blogs
+ 18 +
+
+ Views
+ 1.3k +
+
+ Likes
+ 279 +
+
+ Followers
+ 161 +
+
+ + + +
+ + +
+ TODO 文章目录 +
+
+
+ + + \ No newline at end of file diff --git a/cmd/gopcomm/yap/callback_yap.html b/cmd/gopcomm/yap/callback_yap.html new file mode 100644 index 00000000..a5d5bbaa --- /dev/null +++ b/cmd/gopcomm/yap/callback_yap.html @@ -0,0 +1,14 @@ + + + + + +

This is callback page

+ + + + + diff --git a/cmd/gopcomm/yap/comment_temp.html b/cmd/gopcomm/yap/comment_temp.html new file mode 100644 index 00000000..29f21269 --- /dev/null +++ b/cmd/gopcomm/yap/comment_temp.html @@ -0,0 +1,286 @@ +
+ +
+

Discussion (20) +

+
+ + +
+
+

Your comment

+ +
+ +
+ + +
+
+
+

+ Michael GoughMichael Gough +

+

+
+ + + +
+

Very straight-to-point article. Really worth time reading. Thank you! But tools are + just the + instruments for the UX designers. The knowledge of the design tools are as important + as the + creation of the design strategy.

+
+ +
+
+
+
+
+

+ Jese LeosJese Leos +

+

+

+
+ + + +
+

Much appreciated! Glad you liked it ☺️

+
+ +
+
+
+
+
+

+ Bonnie GreenBonnie Green +

+

+
+ + + +
+

The article covers the essentials, challenges, myths and stages the UX designer + should consider + while creating the design strategy.

+
+ +
+
+
+
+
+

+ Helene EngelsHelene Engels +

+

+
+ + + +
+

Thanks for sharing this. I do came from the Backend development and explored some of + the tools to + design my Side Projects.

+
+ +
+
+
+ + + +
+
+ Blogs
+ 18 +
+
+ Views
+ 1.3k +
+
+ Likes
+ 279 +
+
+ Followers
+ 161 +
+
+ + + \ No newline at end of file diff --git a/cmd/gopcomm/yap/edit_yap.html b/cmd/gopcomm/yap/edit_yap.html index 7190a48c..1475072f 100644 --- a/cmd/gopcomm/yap/edit_yap.html +++ b/cmd/gopcomm/yap/edit_yap.html @@ -1,13 +1,13 @@ - - - - - -
- -

-

-

-
- + + + + + + Markdown + + + + +
+ diff --git a/cmd/gopcomm/yap/home_yap.html b/cmd/gopcomm/yap/home_yap.html index f81fcc3d..cdfe2a70 100644 --- a/cmd/gopcomm/yap/home_yap.html +++ b/cmd/gopcomm/yap/home_yap.html @@ -1,203 +1,300 @@ - + + - + - - - -
- + + +
-
-
-
-
-
-
- - {{range .Items}} -
-
- CATEGORY - 12 Jun 2019 -
-
-

- Title: {{.Title}} -

-

- Glossier echo park pug, church-key sartorial biodiesel - vexillologist pop-up snackwave ramps cornhole. Marfa 3 wolf moon - party messenger bag selfies, poke vaporware kombucha - lumbersexual pork belly polaroid hoodie portland craft beer. -

- Learn More - - - - - + +
+
+
+ + + {{range .Items}} +
+ +
+ + CATEGORY + + + + + +
+ + + + + + + + + + + +

+ {{.Tags}} +

+
+ + + +

+ {{.Abstract}} +

+ + +
+ + Rounded avatar + + +

{{.User.Name}}

+ + + · {{.Ctime}} +
+
+ + +
+ + + + +
+ +
+ + + + + + + + + + + + 368 +
+ + +
+ + + + + + + + + + + + 12 +
+ + + + Learn More + + + + + +
+
+
+ {{end}} + + +
-
- {{end}}
-
+
- + + +

+ Copyright © 2011-2024 Qiniu Cloud. Powered by Yap framework + Qiniu Tech +

+ + + diff --git a/cmd/gopcomm/yap/markdown/assets/index-QZ9Tw6zn.css b/cmd/gopcomm/yap/markdown/assets/index-QZ9Tw6zn.css deleted file mode 100644 index fb52e79e..00000000 --- a/cmd/gopcomm/yap/markdown/assets/index-QZ9Tw6zn.css +++ /dev/null @@ -1 +0,0 @@ -:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;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:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .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:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cherry *::-webkit-scrollbar{height:7px;width:7px;background:#0000}.cherry *::-webkit-scrollbar:hover{background:#8080801a}.cherry *::-webkit-scrollbar-thumb{background:#d3d7da;-webkit-border-radius:6px}.cherry *::-webkit-scrollbar-thumb:hover{background:#0009}.cherry *::-webkit-scrollbar-corner{background:#0000}@font-face{font-family:ch-icon;src:url(./ch-icon-zh1GrP5x.eot);src:url(./ch-icon-zh1GrP5x.eot?#iefix) format("eot"),url(./ch-icon-L-dU5_Cw.woff2) format("woff2"),url(./ch-icon-9AYFtjAd.woff) format("woff"),url(./ch-icon-tuZ9fmAk.ttf) format("truetype"),url(./ch-icon-64nn-aVV.svg#ch-icon) format("svg");font-weight:400;font-style:normal}.ch-icon:before{display:inline-block;font-family:ch-icon;font-style:normal;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ch-icon-list:before{content:""}.ch-icon-check:before{content:""}.ch-icon-square:before{content:""}.ch-icon-bold:before{content:""}.ch-icon-code:before{content:""}.ch-icon-color:before{content:""}.ch-icon-header:before{content:""}.ch-icon-image:before{content:""}.ch-icon-italic:before{content:""}.ch-icon-link:before{content:""}.ch-icon-ol:before{content:""}.ch-icon-size:before{content:""}.ch-icon-strike:before{content:""}.ch-icon-table:before{content:""}.ch-icon-ul:before{content:""}.ch-icon-underline:before{content:""}.ch-icon-word:before{content:""}.ch-icon-blockquote:before{content:""}.ch-icon-font:before{content:""}.ch-icon-insertClass:before{content:""}.ch-icon-insertFlow:before{content:""}.ch-icon-insertFormula:before{content:""}.ch-icon-insertGantt:before{content:""}.ch-icon-insertGraph:before{content:""}.ch-icon-insertPie:before{content:""}.ch-icon-insertSeq:before{content:""}.ch-icon-insertState:before{content:""}.ch-icon-line:before{content:""}.ch-icon-preview:before{content:""}.ch-icon-previewClose:before{content:""}.ch-icon-toc:before{content:""}.ch-icon-sub:before{content:""}.ch-icon-sup:before{content:""}.ch-icon-h1:before{content:""}.ch-icon-h2:before{content:""}.ch-icon-h3:before{content:""}.ch-icon-h4:before{content:""}.ch-icon-h5:before{content:""}.ch-icon-h6:before{content:""}.ch-icon-video:before{content:""}.ch-icon-insert:before{content:""}.ch-icon-little_table:before{content:""}.ch-icon-pdf:before{content:""}.ch-icon-checklist:before{content:""}.ch-icon-close:before{content:""}.ch-icon-fullscreen:before{content:""}.ch-icon-minscreen:before{content:""}.ch-icon-insertChart:before{content:""}.ch-icon-question:before{content:""}.ch-icon-settings:before{content:""}.ch-icon-ok:before{content:""}.ch-icon-br:before{content:""}.ch-icon-normal:before{content:""}.ch-icon-undo:before{content:""}.ch-icon-redo:before{content:""}.ch-icon-copy:before{content:""}.ch-icon-phone:before{content:""}.ch-icon-cherry-table-delete:before{content:""}.ch-icon-cherry-table-insert-bottom:before{content:""}.ch-icon-cherry-table-insert-left:before{content:""}.ch-icon-cherry-table-insert-right:before{content:""}.ch-icon-cherry-table-insert-top:before{content:""}.ch-icon-sort-s:before{content:""}.ch-icon-pinyin:before{content:""}.ch-icon-create:before{content:""}.ch-icon-download:before{content:""}.ch-icon-edit:before{content:""}.ch-icon-export:before{content:""}.ch-icon-folder-open:before{content:""}.ch-icon-folder:before{content:""}.ch-icon-help:before{content:""}.ch-icon-pen-fill:before{content:""}.ch-icon-pen:before{content:""}.ch-icon-search:before{content:""}.ch-icon-tips:before{content:""}.ch-icon-warn:before{content:""}.ch-icon-mistake:before{content:""}.ch-icon-success:before{content:""}.ch-icon-danger:before{content:""}.ch-icon-info:before{content:""}.ch-icon-primary:before{content:""}.ch-icon-warning:before{content:""}.ch-icon-justify:before{content:""}.ch-icon-justifyCenter:before{content:""}.ch-icon-justifyLeft:before{content:""}.ch-icon-justifyRight:before{content:""}.ch-icon-chevronsLeft:before{content:""}.ch-icon-chevronsRight:before{content:""}.cherry-markdown{word-break:break-all}.cherry-markdown h1,.cherry-markdown h2,.cherry-markdown h3,.cherry-markdown h4,.cherry-markdown h5,.cherry-markdown h6,.cherry-markdown .h1,.cherry-markdown .h2,.cherry-markdown .h3,.cherry-markdown .h4,.cherry-markdown .h5,.cherry-markdown .h6{font-family:inherit;font-weight:700;line-height:1.1;color:inherit}.cherry-markdown h1 small,.cherry-markdown h2 small,.cherry-markdown h3 small,.cherry-markdown h4 small,.cherry-markdown h5 small,.cherry-markdown h6 small,.cherry-markdown .h1 small,.cherry-markdown .h2 small,.cherry-markdown .h3 small,.cherry-markdown .h4 small,.cherry-markdown .h5 small,.cherry-markdown .h6 small,.cherry-markdown h1 .small,.cherry-markdown h2 .small,.cherry-markdown h3 .small,.cherry-markdown h4 .small,.cherry-markdown h5 .small,.cherry-markdown h6 .small,.cherry-markdown .h1 .small,.cherry-markdown .h2 .small,.cherry-markdown .h3 .small,.cherry-markdown .h4 .small,.cherry-markdown .h5 .small,.cherry-markdown .h6 .small{font-weight:400;line-height:1;color:#999}.cherry-markdown h1,.cherry-markdown h2,.cherry-markdown h3{margin-top:30px;margin-bottom:16px}.cherry-markdown h1 small,.cherry-markdown h2 small,.cherry-markdown h3 small,.cherry-markdown h1 .small,.cherry-markdown h2 .small,.cherry-markdown h3 .small{font-size:65%}.cherry-markdown h4,.cherry-markdown h5,.cherry-markdown h6{margin-top:12px;margin-bottom:12px}.cherry-markdown h4 small,.cherry-markdown h5 small,.cherry-markdown h6 small,.cherry-markdown h4 .small,.cherry-markdown h5 .small,.cherry-markdown h6 .small{font-size:75%}.cherry-markdown h1,.cherry-markdown .h1{font-size:2em}.cherry-markdown h2,.cherry-markdown .h2{font-size:1.5em}.cherry-markdown h3,.cherry-markdown .h3{font-size:1.25em}.cherry-markdown h4,.cherry-markdown .h4{font-size:1em}.cherry-markdown h5,.cherry-markdown .h5{font-size:.875em}.cherry-markdown h6,.cherry-markdown .h6{font-size:.85em}.cherry-markdown b,.cherry-markdown strong{font-weight:700}.cherry-markdown ul,.cherry-markdown ol{padding-left:24px;margin-bottom:16px}.cherry-markdown ul ul,.cherry-markdown ul ol,.cherry-markdown ol ul,.cherry-markdown ol ol{margin-bottom:0}.cherry-markdown ul li,.cherry-markdown ol li{list-style:inherit}.cherry-markdown ul li p,.cherry-markdown ol li p{margin:0}.cherry-markdown div ul,.cherry-markdown div ol{margin-bottom:0}.cherry-markdown hr{height:0;border:0;border-top:1px solid #dfe6ee;margin:16px 0;box-sizing:content-box;overflow:visible}.cherry-markdown kbd{border:1px solid #dfe6ee;border-radius:4px;padding:1px 2px;box-sizing:border-box;box-shadow:inset 0 -1px #dfe6ee;font-size:.85rem}.cherry-markdown table{border-collapse:collapse}.cherry-markdown table th,.cherry-markdown table td{border:1px solid #dfe6ee;padding:.2em .4em;min-width:100px}.cherry-markdown table th{background-color:#eee}.cherry-markdown .link-quote{color:#3582fb}.cherry-markdown a{color:#3582fb;position:relative;text-decoration:none}.cherry-markdown a[target=_blank]{padding:0 2px}.cherry-markdown a[target=_blank]:after{content:"";font-size:12px;font-family:ch-icon;margin:0 2px}.cherry-markdown a:hover{color:#056bad}.cherry-markdown em{font-style:italic}.cherry-markdown sup{vertical-align:super}.cherry-markdown sub{vertical-align:sub}.cherry-markdown figure{overflow-x:auto}.cherry-markdown blockquote{color:#6d6e6f;padding:10px 15px;border-left:10px solid #d6dbdf;background:#6680990d}.cherry-markdown p,.cherry-markdown pre,.cherry-markdown blockquote,.cherry-markdown table{margin:0 0 16px}.cherry-markdown pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:6px}.cherry-markdown .prettyprint{min-width:500px;display:inline-block;background:#00212b;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.cherry-markdown .pln{color:#dfe6ee}.cherry-markdown .str{color:#ffaf21}.cherry-markdown .kwd{color:#f85353}.cherry-markdown ol.linenums{margin-top:0;margin-bottom:0;color:#969896}.cherry-markdown li.L0,.cherry-markdown li.L1,.cherry-markdown li.L2,.cherry-markdown li.L3,.cherry-markdown li.L4,.cherry-markdown li.L5,.cherry-markdown li.L6,.cherry-markdown li.L7,.cherry-markdown li.L8,.cherry-markdown li.L9{padding-left:1em;background-color:#00212b;list-style-type:decimal}@media screen{.cherry-markdown .cherry-markdown .com{color:#969896}.cherry-markdown .cherry-markdown .typ{color:#81a2be}.cherry-markdown .cherry-markdown .lit{color:#de935f}.cherry-markdown .cherry-markdown .pun,.cherry-markdown .cherry-markdown .opn,.cherry-markdown .cherry-markdown .clo{color:#c5c8c6}.cherry-markdown .cherry-markdown .tag{color:#c66}.cherry-markdown .cherry-markdown .atn{color:#de935f}.cherry-markdown .cherry-markdown .atv{color:#8abeb7}.cherry-markdown .cherry-markdown .dec{color:#de935f}.cherry-markdown .cherry-markdown .var{color:#c66}.cherry-markdown .cherry-markdown .fun{color:#81a2be}}.cherry-markdown div[data-type=codeBlock]{display:inline-block;width:100%;box-sizing:border-box;border-radius:2px;margin-bottom:16px;font-size:14px;overflow-x:auto}.cherry-markdown div[data-type=codeBlock]>pre{margin:0}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-]{counter-reset:line}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-].wrap{white-space:pre-wrap}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-] .code-line{display:inline-block;position:relative;padding-left:3em;height:1.3em;line-height:2em}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-] .code-line:before{counter-increment:line;content:counter(line);margin-right:1em;position:absolute;left:0}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-] .code-line:last-child{margin-bottom:0}.cherry-markdown :not(pre)>code{padding:.1em;border-radius:.3em;white-space:normal;color:#f85353;background-color:#e5e5e5}[data-inline-code-theme=black] .cherry-markdown :not(pre)>code{color:#3f4a56;background-color:#e5e5e5}.cherry-markdown a.anchor:before{content:"§";text-decoration:none;width:15px;font-size:.5em;vertical-align:middle;display:inline-block;text-align:center;margin-left:-15px}.cherry-markdown .toc{margin-bottom:16px;padding-left:0}.cherry-markdown .toc .toc-title{font-size:24px;margin-bottom:5px}.cherry-markdown .toc .toc-li{border-bottom:1px ridge #dfe6ee;list-style:none}.cherry-markdown .toc .toc-li a{text-decoration:none;color:#3f4a56}.cherry-markdown .toc .toc-li a:hover{color:#056bad}.cherry-markdown .check-list-item{list-style:none}.cherry-markdown .check-list-item .ch-icon{margin:0 6px 0 -20px}.cherry-markdown .footnote:not(a){padding-top:20px;border-top:1px solid #dfe6ee;margin-top:50px}.cherry-markdown .footnote:not(a) .footnote-title{font-size:20px;margin-top:-38px;background-color:#f8fafb;width:60px;margin-bottom:16px}.cherry-markdown .footnote:not(a) .one-footnote{color:#6d6e6f;margin-bottom:16px;border-bottom:1px dotted #dfe6ee}.cherry-markdown .cherry-table-container{max-width:100%;overflow-x:auto}.cherry-markdown .cherry-table-container .cherry-table th,.cherry-markdown .cherry-table-container .cherry-table td{border:1px solid #dfe6ee;padding:.2em .4em;min-width:100px}.cherry-markdown .cherry-table-container .cherry-table th{white-space:nowrap}.cherry-markdown mjx-assistive-mml{position:absolute;top:0;left:0;clip:rect(1px,1px,1px,1px);padding:1px 0 0;border:0}.cherry-markdown.head-num{counter-reset:level1}.cherry-markdown.head-num h1 .anchor:before,.cherry-markdown.head-num h2 .anchor:before,.cherry-markdown.head-num h3 .anchor:before,.cherry-markdown.head-num h4 .anchor:before,.cherry-markdown.head-num h5 .anchor:before,.cherry-markdown.head-num h6 .anchor:before{width:auto;font-size:inherit;vertical-align:inherit;padding-right:10px}.cherry-markdown.head-num h1{counter-reset:level2}.cherry-markdown.head-num h2{counter-reset:level3}.cherry-markdown.head-num h3{counter-reset:level4}.cherry-markdown.head-num h4{counter-reset:level5}.cherry-markdown.head-num h5{counter-reset:level6}.cherry-markdown.head-num h1 .anchor:before{counter-increment:level1;content:counter(level1) ". "}.cherry-markdown.head-num h2 .anchor:before{counter-increment:level2;content:counter(level1) "." counter(level2) " "}.cherry-markdown.head-num h3 .anchor:before{counter-increment:level3;content:counter(level1) "." counter(level2) "." counter(level3) " "}.cherry-markdown.head-num h4 .anchor:before{counter-increment:level4;content:counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) " "}.cherry-markdown.head-num h5 .anchor:before{counter-increment:level5;content:counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) " "}.cherry-markdown.head-num h6 .anchor:before{counter-increment:level6;content:counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) "." counter(level6) " "}div[data-type=codeBlock] code[class*=language-],div[data-type=codeBlock] pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}div[data-type=codeBlock] :not(pre)>code[class*=language-],div[data-type=codeBlock] pre[class*=language-]{background:#2d2d2d}div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}div[data-type=codeBlock] .token.comment,div[data-type=codeBlock] .token.block-comment,div[data-type=codeBlock] .token.prolog,div[data-type=codeBlock] .token.doctype,div[data-type=codeBlock] .token.cdata{color:#999}div[data-type=codeBlock] .token.punctuation{color:#ccc}div[data-type=codeBlock] .token.tag,div[data-type=codeBlock] .token.attr-name,div[data-type=codeBlock] .token.namespace,div[data-type=codeBlock] .token.deleted{color:#e2777a}div[data-type=codeBlock] .token.function-name{color:#6196cc}div[data-type=codeBlock] .token.boolean,div[data-type=codeBlock] .token.number,div[data-type=codeBlock] .token.function{color:#f08d49}div[data-type=codeBlock] .token.property,div[data-type=codeBlock] .token.class-name,div[data-type=codeBlock] .token.constant,div[data-type=codeBlock] .token.symbol{color:#f8c555}div[data-type=codeBlock] .token.selector,div[data-type=codeBlock] .token.important,div[data-type=codeBlock] .token.atrule,div[data-type=codeBlock] .token.keyword,div[data-type=codeBlock] .token.builtin{color:#cc99cd}div[data-type=codeBlock] .token.string,div[data-type=codeBlock] .token.char,div[data-type=codeBlock] .token.attr-value,div[data-type=codeBlock] .token.regex,div[data-type=codeBlock] .token.variable{color:#7ec699}div[data-type=codeBlock] .token.operator,div[data-type=codeBlock] .token.entity,div[data-type=codeBlock] .token.url{color:#67cdcc}div[data-type=codeBlock] .token.important,div[data-type=codeBlock] .token.bold{font-weight:700}div[data-type=codeBlock] .token.italic{font-style:italic}div[data-type=codeBlock] .token.entity{cursor:help}div[data-type=codeBlock] .token.inserted{color:green}[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]::-moz-selection,[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-] ::-moz-selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-]::-moz-selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]::selection,[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-] ::selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-]::selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{text-shadow:none}}[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}[data-code-block-theme=default] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{background:#f5f2f0}[data-code-block-theme=default] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}[data-code-block-theme=default] div[data-type=codeBlock] .token.comment,[data-code-block-theme=default] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=default] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=default] div[data-type=codeBlock] .token.cdata{color:#708090}[data-code-block-theme=default] div[data-type=codeBlock] .token.punctuation{color:#999}[data-code-block-theme=default] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=default] div[data-type=codeBlock] .token.property,[data-code-block-theme=default] div[data-type=codeBlock] .token.tag,[data-code-block-theme=default] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=default] div[data-type=codeBlock] .token.number,[data-code-block-theme=default] div[data-type=codeBlock] .token.constant,[data-code-block-theme=default] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=default] div[data-type=codeBlock] .token.deleted{color:#905}[data-code-block-theme=default] div[data-type=codeBlock] .token.selector,[data-code-block-theme=default] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=default] div[data-type=codeBlock] .token.string,[data-code-block-theme=default] div[data-type=codeBlock] .token.char,[data-code-block-theme=default] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=default] div[data-type=codeBlock] .token.inserted{color:#690}[data-code-block-theme=default] div[data-type=codeBlock] .token.operator,[data-code-block-theme=default] div[data-type=codeBlock] .token.entity,[data-code-block-theme=default] div[data-type=codeBlock] .token.url,[data-code-block-theme=default] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=default] div[data-type=codeBlock] .style .token.string{color:#9a6e3a;background:#ffffff80}[data-code-block-theme=default] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=default] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=default] div[data-type=codeBlock] .token.keyword{color:#07a}[data-code-block-theme=default] div[data-type=codeBlock] .token.function,[data-code-block-theme=default] div[data-type=codeBlock] .token.class-name{color:#dd4a68}[data-code-block-theme=default] div[data-type=codeBlock] .token.regex,[data-code-block-theme=default] div[data-type=codeBlock] .token.important,[data-code-block-theme=default] div[data-type=codeBlock] .token.variable{color:#e90}[data-code-block-theme=default] div[data-type=codeBlock] .token.important,[data-code-block-theme=default] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=default] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=default] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=dark] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-]{color:#fff;background:none;text-shadow:0 -.1em .2em #000;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}@media print{[data-code-block-theme=dark] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-]{text-shadow:none}}[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-],[data-code-block-theme=dark] div[data-type=codeBlock] :not(pre)>code[class*=language-]{background:#4d4033}[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border:.3em solid #7a6652;border-radius:.5em;box-shadow:1px 1px .5em #000 inset}[data-code-block-theme=dark] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6652;box-shadow:1px 1px .3em -.1em #000 inset;white-space:normal}[data-code-block-theme=dark] div[data-type=codeBlock] .token.comment,[data-code-block-theme=dark] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=dark] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=dark] div[data-type=codeBlock] .token.cdata{color:#998066}[data-code-block-theme=dark] div[data-type=codeBlock] .token.punctuation,[data-code-block-theme=dark] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=dark] div[data-type=codeBlock] .token.property,[data-code-block-theme=dark] div[data-type=codeBlock] .token.tag,[data-code-block-theme=dark] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=dark] div[data-type=codeBlock] .token.number,[data-code-block-theme=dark] div[data-type=codeBlock] .token.constant,[data-code-block-theme=dark] div[data-type=codeBlock] .token.symbol{color:#d1949e}[data-code-block-theme=dark] div[data-type=codeBlock] .token.selector,[data-code-block-theme=dark] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=dark] div[data-type=codeBlock] .token.string,[data-code-block-theme=dark] div[data-type=codeBlock] .token.char,[data-code-block-theme=dark] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=dark] div[data-type=codeBlock] .token.inserted{color:#bde052}[data-code-block-theme=dark] div[data-type=codeBlock] .token.operator,[data-code-block-theme=dark] div[data-type=codeBlock] .token.entity,[data-code-block-theme=dark] div[data-type=codeBlock] .token.url,[data-code-block-theme=dark] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=dark] div[data-type=codeBlock] .style .token.string,[data-code-block-theme=dark] div[data-type=codeBlock] .token.variable{color:#f5b83d}[data-code-block-theme=dark] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=dark] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=dark] div[data-type=codeBlock] .token.keyword{color:#d1949e}[data-code-block-theme=dark] div[data-type=codeBlock] .token.regex,[data-code-block-theme=dark] div[data-type=codeBlock] .token.important{color:#e90}[data-code-block-theme=dark] div[data-type=codeBlock] .token.important,[data-code-block-theme=dark] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=dark] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=dark] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=dark] div[data-type=codeBlock] .token.deleted{color:red}[data-code-block-theme=funky] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=funky] div[data-type=codeBlock] pre[class*=language-]{font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=funky] div[data-type=codeBlock] pre[class*=language-]{padding:.4em .8em;margin:.5em 0;overflow:auto;background:url('data:image/svg+xml;charset=utf-8,%0D%0A%0D%0A%0D%0A<%2Fsvg>');background-size:1em 1em}[data-code-block-theme=funky] div[data-type=codeBlock] code[class*=language-]{background:#000;color:#fff;box-shadow:-.3em 0 0 .3em #000,.3em 0 0 .3em #000}[data-code-block-theme=funky] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.2em;border-radius:.3em;box-shadow:none;white-space:normal}[data-code-block-theme=funky] div[data-type=codeBlock] .token.comment,[data-code-block-theme=funky] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=funky] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=funky] div[data-type=codeBlock] .token.cdata{color:#aaa}[data-code-block-theme=funky] div[data-type=codeBlock] .token.punctuation{color:#999}[data-code-block-theme=funky] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=funky] div[data-type=codeBlock] .token.property,[data-code-block-theme=funky] div[data-type=codeBlock] .token.tag,[data-code-block-theme=funky] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=funky] div[data-type=codeBlock] .token.number,[data-code-block-theme=funky] div[data-type=codeBlock] .token.constant,[data-code-block-theme=funky] div[data-type=codeBlock] .token.symbol{color:#0cf}[data-code-block-theme=funky] div[data-type=codeBlock] .token.selector,[data-code-block-theme=funky] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=funky] div[data-type=codeBlock] .token.string,[data-code-block-theme=funky] div[data-type=codeBlock] .token.char,[data-code-block-theme=funky] div[data-type=codeBlock] .token.builtin{color:#ff0}[data-code-block-theme=funky] div[data-type=codeBlock] .token.operator,[data-code-block-theme=funky] div[data-type=codeBlock] .token.entity,[data-code-block-theme=funky] div[data-type=codeBlock] .token.url,[data-code-block-theme=funky] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=funky] div[data-type=codeBlock] .token.variable,[data-code-block-theme=funky] div[data-type=codeBlock] .token.inserted{color:#9acd32}[data-code-block-theme=funky] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=funky] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=funky] div[data-type=codeBlock] .token.keyword{color:#ff1493}[data-code-block-theme=funky] div[data-type=codeBlock] .token.regex,[data-code-block-theme=funky] div[data-type=codeBlock] .token.important{color:orange}[data-code-block-theme=funky] div[data-type=codeBlock] .token.important,[data-code-block-theme=funky] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=funky] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=funky] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=funky] div[data-type=codeBlock] .token.deleted{color:red}[data-code-block-theme=funky] div[data-type=codeBlock] pre.diff-highlight.diff-highlight>code .token.deleted:not(.prefix),[data-code-block-theme=funky] div[data-type=codeBlock] pre>code.diff-highlight.diff-highlight .token.deleted:not(.prefix){background-color:#ff00004d;display:inline}[data-code-block-theme=funky] div[data-type=codeBlock] pre.diff-highlight.diff-highlight>code .token.inserted:not(.prefix),[data-code-block-theme=funky] div[data-type=codeBlock] pre>code.diff-highlight.diff-highlight .token.inserted:not(.prefix){background-color:#00ff804d;display:inline}[data-code-block-theme=okaidia] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=okaidia] div[data-type=codeBlock] pre[class*=language-]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=okaidia] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}[data-code-block-theme=okaidia] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=okaidia] div[data-type=codeBlock] pre[class*=language-]{background:#272822}[data-code-block-theme=okaidia] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.comment,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.cdata{color:#8292a2}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.punctuation{color:#f8f8f2}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.property,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.tag,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.constant,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.deleted{color:#f92672}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.number{color:#ae81ff}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.selector,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.string,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.char,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.inserted{color:#a6e22e}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.operator,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.entity,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.url,[data-code-block-theme=okaidia] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=okaidia] div[data-type=codeBlock] .style .token.string,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.variable{color:#f8f8f2}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.function,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.class-name{color:#e6db74}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.keyword{color:#66d9ef}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.regex,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.important{color:#fd971f}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.important,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]{color:#fff;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;text-shadow:0 -.1em .2em #000;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-],[data-code-block-theme=twilight] div[data-type=codeBlock] :not(pre)>code[class*=language-]{background:#141414}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]{border-radius:.5em;border:.3em solid #545454;box-shadow:1px 1px .5em #000 inset;margin:.5em 0;overflow:auto;padding:1em}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::-moz-selection{background:#27292a}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::selection{background:#27292a}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::-moz-selection,[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-] ::-moz-selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-]::-moz-selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-] ::-moz-selection{text-shadow:none;background:#ededed26}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::selection,[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-] ::selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-]::selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-] ::selection{text-shadow:none;background:#ededed26}[data-code-block-theme=twilight] div[data-type=codeBlock] :not(pre)>code[class*=language-]{border-radius:.3em;border:.13em solid #545454;box-shadow:1px 1px .3em -.1em #000 inset;padding:.15em .2em .05em;white-space:normal}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.comment,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.cdata{color:#787878}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.punctuation,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.tag,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.number,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.deleted{color:#cf694a}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.keyword,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.property,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.selector,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.constant,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.builtin{color:#f9ee9a}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.string,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.char,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.operator,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.entity,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.url,[data-code-block-theme=twilight] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=twilight] div[data-type=codeBlock] .style .token.string,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.variable,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.inserted{color:#919e6b}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.atrule{color:#7386a5}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.regex,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.important{color:#e9c163}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.important,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[data-line]{padding:1em 0 1em 3em;position:relative}[data-code-block-theme=twilight] div[data-type=codeBlock] .language-markup .token.tag,[data-code-block-theme=twilight] div[data-type=codeBlock] .language-markup .token.attr-name,[data-code-block-theme=twilight] div[data-type=codeBlock] .language-markup .token.punctuation{color:#ad895c}[data-code-block-theme=twilight] div[data-type=codeBlock] .token{position:relative;z-index:1}[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight{background:#54545440;background:linear-gradient(to right,#5454541a 70%,#54545400);border-bottom:1px dashed #545454;border-top:1px dashed #545454;left:0;line-height:inherit;margin-top:.75em;padding:inherit 0;pointer-events:none;position:absolute;right:0;white-space:pre;z-index:0}[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight:before,[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight[data-end]:after{background-color:#8794a6;border-radius:999px;box-shadow:0 1px #fff;color:#f5f2f0;content:attr(data-start);font:700 65%/1.5 sans-serif;left:.6em;min-width:1em;padding:0 .5em;position:absolute;text-align:center;text-shadow:none;top:.4em;vertical-align:.3em}[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight[data-end]:after{bottom:.4em;content:attr(data-end);top:auto}[data-code-block-theme=coy] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]{color:#000;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]{position:relative;margin:.5em 0;overflow-y:hidden;padding:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]>code{position:relative;border-left:10px solid #358ccb;box-shadow:-1px 0 #358ccb,0 0 0 1px #dfdfdf;background-color:#fdfdfd;background-image:linear-gradient(transparent 50%,#458ed10a 50%);background-size:3em 3em;background-origin:content-box;background-attachment:local}[data-code-block-theme=coy] div[data-type=codeBlock] code[class*=language-]{max-height:inherit;height:inherit;padding:0 1em;display:block}[data-code-block-theme=coy] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]{background-color:#fdfdfd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:1em}[data-code-block-theme=coy] div[data-type=codeBlock] :not(pre)>code[class*=language-]{position:relative;padding:.2em;border-radius:.3em;color:#c92c2c;border:1px solid rgba(0,0,0,.1);display:inline;white-space:normal}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:before,[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:after{content:"";z-index:-2;display:block;position:absolute;bottom:.75em;left:.18em;width:40%;height:20%;max-height:13em;box-shadow:0 13px 8px #979797;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:after{right:.75em;left:auto;-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg)}[data-code-block-theme=coy] div[data-type=codeBlock] .token.comment,[data-code-block-theme=coy] div[data-type=codeBlock] .token.block-comment,[data-code-block-theme=coy] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=coy] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=coy] div[data-type=codeBlock] .token.cdata{color:#7d8b99}[data-code-block-theme=coy] div[data-type=codeBlock] .token.punctuation{color:#5f6364}[data-code-block-theme=coy] div[data-type=codeBlock] .token.property,[data-code-block-theme=coy] div[data-type=codeBlock] .token.tag,[data-code-block-theme=coy] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=coy] div[data-type=codeBlock] .token.number,[data-code-block-theme=coy] div[data-type=codeBlock] .token.function-name,[data-code-block-theme=coy] div[data-type=codeBlock] .token.constant,[data-code-block-theme=coy] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=coy] div[data-type=codeBlock] .token.deleted{color:#c92c2c}[data-code-block-theme=coy] div[data-type=codeBlock] .token.selector,[data-code-block-theme=coy] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=coy] div[data-type=codeBlock] .token.string,[data-code-block-theme=coy] div[data-type=codeBlock] .token.char,[data-code-block-theme=coy] div[data-type=codeBlock] .token.function,[data-code-block-theme=coy] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=coy] div[data-type=codeBlock] .token.inserted{color:#2f9c0a}[data-code-block-theme=coy] div[data-type=codeBlock] .token.operator,[data-code-block-theme=coy] div[data-type=codeBlock] .token.entity,[data-code-block-theme=coy] div[data-type=codeBlock] .token.url,[data-code-block-theme=coy] div[data-type=codeBlock] .token.variable{color:#a67f59;background:#ffffff80}[data-code-block-theme=coy] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=coy] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=coy] div[data-type=codeBlock] .token.keyword,[data-code-block-theme=coy] div[data-type=codeBlock] .token.class-name{color:#1990b8}[data-code-block-theme=coy] div[data-type=codeBlock] .token.regex,[data-code-block-theme=coy] div[data-type=codeBlock] .token.important{color:#e90}[data-code-block-theme=coy] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=coy] div[data-type=codeBlock] .style .token.string{color:#a67f59;background:#ffffff80}[data-code-block-theme=coy] div[data-type=codeBlock] .token.important{font-weight:400}[data-code-block-theme=coy] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=coy] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=coy] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=coy] div[data-type=codeBlock] .token.namespace{opacity:.7}@media screen and (max-width: 767px){[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:before,[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:after{bottom:14px;box-shadow:none}}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-].line-numbers.line-numbers{padding-left:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-].line-numbers.line-numbers code{padding-left:3.8em}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-].line-numbers.line-numbers .line-numbers-rows{left:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-][data-line]{padding-top:0;padding-bottom:0;padding-left:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[data-line] code{position:relative;padding-left:4em}[data-code-block-theme=coy] div[data-type=codeBlock] pre .line-highlight{margin-top:0}[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]{color:#657b83;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]::-moz-selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-] ::-moz-selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-]::-moz-selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-] ::-moz-selection{background:#073642}[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]::selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-] ::selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-]::selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-] ::selection{background:#073642}[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}[data-code-block-theme=solarized-light] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]{background-color:#fdf6e3}[data-code-block-theme=solarized-light] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.comment,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.cdata{color:#93a1a1}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.punctuation{color:#586e75}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.property,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.tag,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.number,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.constant,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.deleted{color:#268bd2}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.selector,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.string,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.char,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.url,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.inserted{color:#2aa198}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.entity{color:#657b83;background:#eee8d5}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.keyword{color:#859900}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.function,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.class-name{color:#b58900}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.regex,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.important,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.variable{color:#cb4b16}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.important,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.entity{cursor:help}.cherry-detail details{background:#f8f9faaa;border-radius:8px;overflow:hidden;margin-bottom:10px}.cherry-detail details summary{-webkit-user-select:none;user-select:none;padding:5px 10px;background-color:#6c757d;color:#fff;border-radius:8px}.cherry-detail details .cherry-detail-body{padding:15px 25px 0}.cherry-detail__multiple{border-radius:8px;overflow:hidden}.cherry-detail__multiple details{margin-bottom:1px;border-radius:0;border:none}.cherry-detail__multiple details summary{border-radius:0}.cherry-text-align__center table{margin-left:auto;margin-right:auto}.cherry-text-align__right table{margin-left:auto}.cherry-panel{margin:10px 0;overflow:hidden;border-radius:8px;box-sizing:border-box;border:.5px solid}.cherry-panel .cherry-panel--title{color:#fff;padding:5px 20px}.cherry-panel .cherry-panel--title.cherry-panel--title__not-empty:before{font-family:ch-icon;margin:0 12px 0 -6px;vertical-align:bottom}.cherry-panel .cherry-panel--body{padding:5px 20px}.cherry-panel__primary{background-color:#cfe2ff;color:#0a58ca}.cherry-panel__primary .cherry-panel--title{background-color:#0d6dfe}.cherry-panel__primary .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__info{background-color:#cff4fc;color:#087990}.cherry-panel__info .cherry-panel--title{background-color:#099cba}.cherry-panel__info .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__warning{background-color:#fff3cd;color:#997404}.cherry-panel__warning .cherry-panel--title{background-color:#b38806}.cherry-panel__warning .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__danger{background-color:#f8d7da;color:#b02a37}.cherry-panel__danger .cherry-panel--title{background-color:#dc3545}.cherry-panel__danger .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__success{background-color:#d1e7dd;color:#146c43}.cherry-panel__success .cherry-panel--title{background-color:#198754}.cherry-panel__success .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry .doing-resize-img{-moz-user-select:none;-webkit-user-select:none;user-select:none}.cherry .cherry-previewer img{transition:all .1s}.cherry .cherry-previewer-img-size-handler{position:absolute;box-shadow:0 1px 4px #14519a80;border:1px solid #3582fb;box-sizing:content-box;pointer-events:none}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points{position:absolute;height:10px;width:10px;margin-top:-7px;margin-left:-7px;border-radius:9px;background:#3582fb;border:2px solid #fff;box-sizing:content-box;box-shadow:0 2px 2px #14519a80;pointer-events:all}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__background{background-repeat:no-repeat;background-size:100% 100%;opacity:.5;width:100%;height:100%}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-leftTop{cursor:nw-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-rightTop,.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-leftBottom{cursor:sw-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-rightBottom{cursor:nw-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-middleTop,.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-middleBottom{cursor:n-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-leftMiddle,.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-rightMiddle{cursor:e-resize}.cherry .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input{position:absolute}.cherry .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{width:100%;height:100%;border:0;box-sizing:border-box;resize:none;outline:1px solid #3582fb;word-break:break-all}.cherry .cherry-previewer-codeBlock-content-handler .cherry-previewer-codeBlock-content-handler__input{position:absolute}.cherry .cherry-previewer-table-hover-handler{position:absolute;pointer-events:none;z-index:999}.cherry .cherry-previewer-table-hover-handler-container{position:relative;height:100%;padding:0;margin:0;list-style-type:none}.cherry .cherry-previewer-table-hover-handler__symbol{pointer-events:auto;display:flex;justify-content:center;position:absolute;color:#3582fb;width:12px;height:12px;line-height:12px;border:1px solid rgba(53,130,251,0);background-color:#fff0;cursor:pointer;transition:all .3s}.cherry .cherry-previewer-table-hover-handler__symbol:hover{background-color:#3582fb88;color:#fff}.cherry .cherry-highlight-line{background-color:#ffc8}@media print{img,figure,pre,table{page-break-inside:avoid}.cherry-previewer{width:100%!important;max-height:none;border-left:none!important}.cherry-toolbar,.cherry-sidebar,.cherry-editor,.cherry-drag{display:none!important}}.cherry-insert-formula-wrappler{width:610px!important;height:300px!important;padding:15px;display:flex;position:fixed!important;z-index:9999999;box-shadow:0 .5rem 1rem #00000026;box-sizing:border-box;border-radius:10px;background-color:#fff!important;overflow:hidden}.cherry-insert-formula-wrappler .cherry-insert-formula-more{position:absolute;bottom:0;font-size:12px}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs{width:100px;height:100%;list-style:none;padding:0;margin:0 10px 0 0}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab{width:100%;height:30px;text-align:center;border:1px solid #fff;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab>a{display:block;text-decoration:none;-webkit-user-select:none;user-select:none}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab:not(:first-child){margin-top:10px}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab.active{color:#000;border:1px solid #000;border-radius:5px}.cherry-insert-formula-wrappler .cherry-insert-formula-select{height:100%;flex:1;display:none;overflow-y:scroll}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary{width:130px}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary:not(:first-child){margin-top:10px}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func{min-width:200px;height:260px;position:absolute;left:255px;top:0;z-index:100;padding:20px 10px;background-color:#fff;border-left:1px solid rgba(0,0,0,.15);display:none;overflow-y:scroll}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-categary{border-top:1px solid #e9ecef;border-bottom:1px solid #e9ecef;margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item{cursor:pointer;border:1px solid #fff;display:inline-block;text-align:center;background-color:#f8f9fa;margin:2px;padding:2px;vertical-align:middle;line-height:30px;border-color:#f8f9fa;border-radius:5px}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item:hover{border-color:#dae0e5;background-color:#e2e6ea}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item svg{pointer-events:none}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func:hover{display:block}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn{cursor:pointer;display:inline-block;font-weight:400;text-align:center;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:#0000;border:1px solid rgba(0,0,0,0);padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;width:100%}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn>img{width:100%;height:60%}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn:hover{color:#3582fb}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn:hover+.cherry-insert-formula-categary__func{float:left;display:block}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .btn-light{color:#212529;background-color:#ebecf2;border-color:#f8f9fa}.cherry-insert-formula-wrappler .cherry-insert-formula-select.active{display:block}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.formula-utils-bubble-container{width:350px;height:40px;background-color:#fff;position:fixed;left:0;top:0;display:none;z-index:1000;box-sizing:border-box}.formula-utils-bubble-container .formula-utils-btn{flex:1;position:relative}.formula-utils-bubble-container .formula-utils-btn>button{width:100%;height:100%;border:1px solid #fff;background-color:#ebecf2;cursor:pointer;border-radius:5px}.formula-utils-bubble-container .formula-utils-btn>button:hover{background-color:#eee}.formula-utils-bubble-container .formula-utils-btn>button:focus{outline:none}.formula-utils-bubble-container .formula-utils-btn>button:active{background-color:#ddd}.formula-utils-bubble-container .formula-utils-btn>button:hover+.formula-utils-submenu{display:block}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu{position:absolute;display:none;width:100%;background-color:#fff;border:1px solid #f8f9fa;left:0;top:100%;box-shadow:0 0 5px #f8f9fa}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu:hover{display:block}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div{width:100%;height:40px}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button{width:100%;height:100%;border:1px solid #fff;background-color:#fff;cursor:pointer}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button:hover{background-color:#eee}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button:focus{outline:none}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button:active{background-color:#ddd}.cherry{display:flex;flex-flow:row wrap;align-items:stretch;align-content:flex-start;height:100%;min-height:100px;position:relative}.cherry .cherry-editor,.cherry .cherry-previewer{max-height:calc(100% - 48px);min-height:calc(100% - 48px)}.cherry .CodeMirror{height:100%}.cherry.cherry--no-toolbar .cherry-toolbar,.cherry.cherry--no-toolbar .cherry-sidebar{height:0;display:none}.cherry.cherry--no-toolbar .cherry-editor,.cherry.cherry--no-toolbar .cherry-previewer{max-height:100%;min-height:100%}.cherry{font-family:Helvetica Neue,Arial,Hiragino Sans GB,STHeiti,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:16px;line-height:27px;color:#3f4a56;background:#f8fafb;box-shadow:0 0 10px #8091a533}.cherry .ch-icon{vertical-align:middle}.cherry .clearfix{zoom:1}.cherry .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;font-size:0}.cherry.fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99}.cherry .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cherry .cherry-insert-table-menu{display:block;position:fixed;top:40px;left:40px;border-collapse:separate;box-shadow:0 0 10px #8091a533;padding:4px;border-radius:3px;width:auto;height:auto}.cherry .cherry-insert-table-menu-item{padding:7px;border:1px solid #dfe6ee}.cherry .cherry-insert-table-menu-item.active{background-color:#ebf3ff}.cherry[data-toolbar-theme=dark] .cherry-insert-table-menu-item{border-color:#fff3}.cherry[data-toolbar-theme=dark] .cherry-insert-table-menu-item.active{background-color:#d7e6fe}.cherry-dropdown{position:absolute;width:130px;min-height:40px;background:#fff;box-shadow:0 5px 15px -5px #00000080;margin-left:-60px;z-index:11}.cherry-dropdown-item{width:100%;padding:0 15px;text-align:left;display:inline-block;height:36px;line-height:36px;font-size:14px;font-style:normal;cursor:pointer;box-sizing:border-box}.cherry-dropdown-item:hover{background:#ebf3ff;color:#5d9bfc}.cherry-dropdown-item .ch-icon{margin-right:10px}[data-toolbar-theme=dark] .cherry-dropdown{background:#20304b}[data-toolbar-theme=dark] .cherry-dropdown .cherry-dropdown-item{background:#0000;color:#d7e6fe}[data-toolbar-theme=dark] .cherry-dropdown .cherry-dropdown-item:hover{background:#ffffff1a;color:#fff}.cherry-toolbar{position:relative;display:flex;justify-content:space-between;padding:0 20px;height:48px;font-size:14px;line-height:2.8;flex-basis:100%;box-sizing:border-box;z-index:2;-webkit-user-select:none;user-select:none;box-shadow:0 0 10px #8091a533;background:#fff;overflow:hidden}.cherry-toolbar .icon-loading.loading{display:inline-block;width:8px;height:8px}.cherry-toolbar .icon-loading.loading:after{content:" ";display:block;width:8px;height:8px;margin-left:2px;margin-top:-2px;border-radius:50%;border:2px solid #000;border-color:#000 rgba(0,0,0,0) #000 rgba(0,0,0,0);animation:loading 1.2s linear infinite}[data-toolbar-theme=dark] .cherry-toolbar{background:#20304b;box-shadow:0 0 10px #8091a533}[data-toolbar-theme=dark] .cherry-toolbar .cherry-toolbar-button{color:#d7e6fe;background:#0000}[data-toolbar-theme=dark] .cherry-toolbar .cherry-toolbar-button:hover{color:#fff;background:#ffffff1a}.cherry-toolbar .toolbar-left,.cherry-toolbar .toolbar-right{display:flex;align-items:center;height:48px;overflow:hidden}.cherry-toolbar .toolbar-left{flex:0 0 auto;margin-right:20px}.cherry-toolbar .toolbar-right{flex:0 1 auto;flex-direction:row-reverse;margin-left:10px;box-sizing:border-box}.cherry-toolbar.preview-only .cherry-toolbar-button{display:none}.cherry-toolbar.preview-only .cherry-toolbar-switchPreview{display:inline}.cherry-toolbar-button{float:left;padding:0 12px;height:38px;color:#3f4a56;background:#0000;border:1px solid rgba(0,0,0,0);-webkit-transition:background-color ease-in-out .15s,color ease-in-out .15s,border-color ease-in-out .15s;transition:background-color ease-in-out .15s,color ease-in-out .15s,border-color ease-in-out .15s;cursor:pointer;font-style:normal}.cherry-toolbar-button:hover{color:#5d9bfc;background:#ebf3ff}.cherry-toolbar-button.cherry-toolbar-split{font-size:0;height:19px;padding:0;margin:9.5px 4px;border:1px solid rgba(0,0,0,0);border-left:1px solid #dfe6ee;pointer-events:none;overflow:hidden;opacity:.5}.cherry-toolbar-button.disabled{color:#ccc}.cherry .ace_search{background:#fff}.cherry-sidebar{width:30px;position:absolute;top:48px;right:7px;z-index:11;bottom:0;overflow:hidden}.cherry-sidebar .cherry-toolbar-button{height:30px;padding:3px 12px 0 6px}.cherry-sidebar .cherry-toolbar-button:hover{background:#0000}.cherry-sidebar .cherry-toolbar-button .icon-loading.loading{display:inline-block;width:8px;height:8px}.cherry-sidebar .cherry-toolbar-button .icon-loading.loading:after{content:" ";display:block;width:8px;height:8px;margin-left:2px;margin-top:-2px;border-radius:50%;border:2px solid #000;border-color:#000 rgba(0,0,0,0) #000 rgba(0,0,0,0);animation:loading 1.2s linear infinite}@keyframes loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cherry-bubble{position:absolute;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;font-size:14px;min-height:35px;min-width:50px;border:1px solid #dfe6ee;background-color:#fff;box-shadow:0 2px 15px -5px #00000080;border-radius:3px;z-index:8}.cherry-bubble.cherry-bubble--centered{left:50%;transform:translate(-50%)}.cherry-bubble .cherry-bubble-top,.cherry-bubble .cherry-bubble-bottom{position:absolute;left:50%;width:0;height:0;margin-left:-8px;border-left:8px solid rgba(0,0,0,0);border-right:8px solid rgba(0,0,0,0)}.cherry-bubble .cherry-bubble-top{top:0;transform:translateY(-100%);border-bottom:8px solid #fff}.cherry-bubble .cherry-bubble-bottom{bottom:0;transform:translateY(100%);border-top:8px solid #fff}.cherry-bubble .cherry-toolbar-button{display:inline-flex;align-items:center;justify-content:center;height:35px;cursor:pointer;-webkit-user-select:none;user-select:none}.cherry-bubble .cherry-toolbar-button:hover{border-color:#dfe6ee;background-color:#5980a60d}.cherry-bubble .cherry-toolbar-button.cherry-toolbar-split{height:65%;min-height:22.75px}[data-toolbar-theme=dark] .cherry-bubble{border-color:#20304b;background:#20304b}[data-toolbar-theme=dark] .cherry-bubble .cherry-toolbar-button{color:#d7e6fe;background:#0000}[data-toolbar-theme=dark] .cherry-bubble .cherry-toolbar-button:hover{color:#fff;background:#ffffff1a}[data-toolbar-theme=dark] .cherry-bubble .cherry-bubble-top{border-bottom-color:#20304b}[data-toolbar-theme=dark] .cherry-bubble .cherry-bubble-bottom{border-top-color:#20304b}[data-toolbar-theme=dark] .cherry-bubble .cherry-toolbar-button:hover{border-color:#20304b}.cherry-switch-paste .switch-btn--bg{position:absolute;width:50%;height:100%;box-sizing:border-box;z-index:-1;left:0;top:0;opacity:.3;background-color:#5d9bfc;border-radius:2px;transition:all .3s}.cherry-switch-paste .cherry-toolbar-button{display:inline-flex;align-items:center;justify-content:center;width:80px;text-align:center}.cherry-switch-paste .cherry-toolbar-button:hover{border-color:#0000}.cherry-switch-paste[data-type=text] .cherry-text-btn{color:#3f4a56}.cherry-switch-paste[data-type=text] .cherry-md-btn{color:#5d9bfc}.cherry-switch-paste[data-type=md] .cherry-md-btn{color:#3f4a56}.cherry-switch-paste[data-type=md] .cherry-text-btn{color:#5d9bfc}.cherry-switch-paste[data-type=md] .switch-btn--bg{left:50%}[data-toolbar-theme=dark] .cherry-switch-paste .switch-btn--bg{background-color:#fff}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=text] .cherry-text-btn{color:#d7e6fe}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=text] .cherry-md-btn{color:#fff}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=md] .cherry-md-btn{color:#d7e6fe}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=md] .cherry-text-btn{color:#fff}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=md] .switch-btn--bg{left:50%}.cherry-floatmenu{z-index:4;display:none;position:absolute;left:30px;margin-left:60px;height:27px;line-height:27px;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cherry-floatmenu .cherry-toolbar-button{float:left;padding:0 9px;margin:0;height:27px;line-height:27px;font-size:14px;color:#3f4a56;overflow:hidden;vertical-align:middle;text-align:center;border:0;cursor:pointer;font-style:normal}.cherry-floatmenu .cherry-toolbar-button.cherry-toolbar-split{border-left:1px solid #dfe6ee;width:0;padding:0;overflow:hidden;height:25px}.cherry-floatmenu .cherry-toolbar-button .ch-icon{color:#aaa;font-size:12px}.cherry-floatmenu .cherry-toolbar-button:hover{background:#0000000d}.cherry-floatmenu .cherry-toolbar-button:hover .ch-icon{color:#3f4a56}.cherry-editor{position:relative;padding-top:5px;padding-right:5px;width:50%;box-sizing:border-box;overflow:hidden}.cherry-editor.cherry-editor--full{width:100%;padding-right:0}.cherry-editor.cherry-editor--hidden{display:none}.cherry-editor-writing-style--focus:before{content:"";display:block;width:100%;position:absolute;top:0;background:linear-gradient(to bottom,#00000006,#0003);pointer-events:none;z-index:11}.cherry-editor-writing-style--focus:after{content:"";display:block;width:100%;position:absolute;bottom:0;background:linear-gradient(to top,#00000006,#0003);pointer-events:none;z-index:11}.cherry-editor-writing-style--typewriter .CodeMirror-lines{position:relative}.cherry-editor-writing-style--typewriter .CodeMirror-lines:before{content:"";display:block}.cherry-editor-writing-style--typewriter .CodeMirror-lines:after{content:"";display:block}.cherry-editor .CodeMirror{font-family:Helvetica Neue,Arial,Hiragino Sans GB,STHeiti,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;background:#f8fafb;color:#3f4a56}.cherry-editor .CodeMirror textarea{font-size:27px}.cherry-editor .CodeMirror-lines{padding:15px 34px}.cherry-editor .CodeMirror-lines .drawio,.cherry-editor .CodeMirror-lines .base64{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:80px;white-space:nowrap;vertical-align:bottom;color:#8b008b!important;font-size:12px!important}.cherry-editor .cm-s-default .cm-header,.cherry-editor .cm-s-default .cm-string{color:#3f4a56}.cherry-editor .cm-s-default .cm-comment{color:#3582fb;font-family:Menlo,Liberation Mono,Consolas,DejaVu Sans Mono,Ubuntu Mono,Courier New,andale mono,lucida console,monospace;font-size:.9em}.cherry-editor .cm-s-default .cm-whitespace,.cherry-editor .cm-tab{font-family:Menlo,Liberation Mono,Consolas,DejaVu Sans Mono,Ubuntu Mono,Courier New,andale mono,lucida console,monospace;font-size:.9em}.cherry-editor .cm-s-default .cm-quote,.cherry-editor .cm-s-default .cm-link{color:#3582fb}.cherry-editor .cm-s-default .cm-url{background:#d7e6fe;font-family:Menlo,Liberation Mono,Consolas,DejaVu Sans Mono,Ubuntu Mono,Courier New,andale mono,lucida console,monospace;font-size:.9em}.cherry-editor .cm-s-default .cm-variable-2,.cherry-editor .cm-s-default .cm-variable-3,.cherry-editor .cm-s-default .cm-keyword{color:#3f4a56}.cherry-editor .cm-s-default .cm-fullWidth{color:#d71616;z-index:3;cursor:pointer}.cherry-drag{width:15px;cursor:ew-resize;position:absolute;z-index:12;background:#0000}.cherry-drag.cherry-drag--show{width:5px;display:block;background:#dfe6ee}.cherry-drag.cherry-drag--hidden{display:none}.cherry-editor-mask{z-index:10;position:absolute;display:none;background:#0003}.cherry-editor-mask.cherry-editor-mask--show{display:block}.cherry-previewer-mask{z-index:10;position:absolute;display:none;background:#0006}.cherry-previewer-mask.cherry-previewer-mask--show{display:block}.cherry-previewer-codeBlock-click-handler{position:absolute;z-index:1}.cherry-previewer-codeBlock-hover-handler{z-index:0;position:absolute}.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block,.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block{position:relative;width:25px;text-align:center;height:25px;border:1px solid #3582fb;cursor:pointer;float:right;top:15px;border-radius:5px;margin-left:-27px;transition:all .3s;z-index:2;color:#3582fb;background-color:#eee;border-color:#3582fb}.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block{right:10px}.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block{right:45px}.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block:hover,.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block:hover{color:#eee;background-color:#3582fb;border-color:#eee}.cherry-previewer-codeBlock-hover-handler .cherry-code-preview-lang-select{position:absolute;transform:translate(2px,-50%)}.cherry-previewer{padding:20px 45px 20px 20px;border-left:2px solid #ebedee;width:50%;box-sizing:border-box;background-color:#f8fafb;min-height:auto;overflow-y:auto;-webkit-print-color-adjust:exact}.cherry-previewer .cherry-mobile-previewer-content{width:375px;height:100%;margin:0 auto;padding:25px 30px;overflow-y:scroll;box-shadow:0 0 60px #0000001a;box-sizing:border-box}.cherry-previewer.cherry-previewer--hidden{width:0;display:none}.cherry-previewer.cherry-previewer--full{width:100%}.cherry-previewer .cherry-list__upper-roman{list-style:upper-roman}.cherry-previewer .cherry-list__lower-greek{list-style:lower-greek}.cherry-previewer .cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-previewer .cherry-list__circle{list-style:circle}.cherry-previewer .cherry-list__square{list-style:square}[data-code-block-theme=default] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=default] .cherry-previewer .cherry-edit-code-block,[data-code-block-theme=funky] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=funky] .cherry-previewer .cherry-edit-code-block,[data-code-block-theme=solarized-light] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=solarized-light] .cherry-previewer .cherry-edit-code-block,[data-code-block-theme=coy] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=coy] .cherry-previewer .cherry-edit-code-block{background-color:#3582fb}.cherry-color-wrap{display:none;position:fixed;width:auto;padding:5px 10px;z-index:6;background:#fff;box-shadow:0 0 10px #8091a533}.cherry-color-wrap h3{font-size:12px;margin:0;font-weight:400}[data-toolbar-theme=dark] .cherry-color-wrap h3{color:#d7e6fe}.cherry-color-wrap .cherry-color-text{float:left;width:128px;margin:0 8px 0 5px}.cherry-color-wrap .cherry-color-bg{float:left;width:128px;margin-right:5px}.cherry-color-wrap .cherry-color-item{float:left;width:14px;height:14px;border:1px solid #fff;cursor:pointer}.cherry-color-wrap .cherry-color-item:hover{border:1px solid #000}.Cherry-Math svg{max-width:100%}.cherry-suggester-panel{display:none;position:absolute;left:0;top:0;background:#fff;border-radius:2px;max-height:500px;box-shadow:0 2px 8px 1px #0003}.cherry-suggester-panel .cherry-suggester-panel__item{border:none;white-space:nowrap;min-width:50px;padding:5px 13px;color:#333;display:block;cursor:pointer}.cherry-suggester-panel .cherry-suggester-panel__item.cherry-suggester-panel__item--selected{background-color:#f2f2f5;text-decoration:none;color:#eb7350}.cherry-suggester-panel .cherry-suggester-panel__item>i{display:inline-block;transform:translateY(2px);margin-right:8px}.cherry-suggestion{background-color:#ebf3ff;color:#3582fb;padding:1px 4px;border-radius:3px;cursor:pointer}.cherry-flex-toc{z-index:11;position:absolute;width:160px;height:calc(100% - 220px);max-height:600px;right:0;top:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff3;margin-right:8px;box-sizing:border-box;-webkit-user-select:none;user-select:none;box-shadow:0 5px 11px #3333;border-radius:10px;transition:all .3s}.cherry-flex-toc:hover{background-color:#fff;width:260px}.cherry-flex-toc .cherry-toc-head{border-bottom:1px dashed rgba(51,51,51,.2);padding:5px}.cherry-flex-toc .cherry-toc-head .cherry-toc-title{font-size:16px;font-weight:700;padding-left:5px}.cherry-flex-toc .cherry-toc-head .ch-icon-chevronsLeft{display:none}.cherry-flex-toc .cherry-toc-head .ch-icon-chevronsRight,.cherry-flex-toc .cherry-toc-head .ch-icon-chevronsLeft{padding:5px;position:absolute;right:0;top:0}.cherry-flex-toc .cherry-toc-head i{cursor:pointer;padding:5px 5px 0}.cherry-flex-toc .cherry-toc-head i:hover{color:#3582fb}.cherry-flex-toc .cherry-toc-list{overflow-y:auto;height:calc(100% - 40px);overflow-x:hidden;width:100%;padding-bottom:10px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a{display:block;text-decoration:none;color:#000;border-left:5px solid rgba(51,51,51,.2);height:28px;line-height:28px;transition:all .3s;padding-left:10px;overflow:hidden;word-break:break-all;text-overflow:ellipsis;cursor:pointer}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a.current{border-left-color:#3582fb;color:#3582fb}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a:hover{border-left-color:#3582fbaa;color:#3582fbaa}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__1{font-weight:700}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__2{padding-left:20px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__3{padding-left:40px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__4{padding-left:60px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__5{padding-left:80px}.cherry-flex-toc.cherry-flex-toc__pure{width:30px;height:calc(100% - 200px);max-height:600px;background:#fff0;box-shadow:none;border-radius:0}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head{height:25px;border-bottom:1px dashed rgba(51,51,51,0)}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head .cherry-toc-title,.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head .ch-icon-chevronsRight{display:none}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head .ch-icon-chevronsLeft{display:inline}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-list{padding-left:7px}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-list .cherry-toc-one-a{overflow:hidden;width:0;margin-bottom:3px;height:5px;border-left-width:18px}.cherry-markdown.theme__default ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__default ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__default ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__default ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__default ul.cherry-list__square{list-style:square}.cherry.theme__dark .cherry-toolbar,.cherry.theme__dark .cherry-floatmenu,.cherry.theme__dark .cherry-bubble,.cherry.theme__dark .cherry-sidebar{background:#3c3c3c;border-color:#3c3c3c}.cherry.theme__dark .cherry-toolbar .cherry-toolbar-button,.cherry.theme__dark .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__dark .cherry-bubble .cherry-toolbar-button,.cherry.theme__dark .cherry-sidebar .cherry-toolbar-button{color:#d7e6fe}.cherry.theme__dark .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__dark .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__dark .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__dark .cherry-sidebar .cherry-toolbar-button:hover{background-color:#454646;color:#fff!important;border-color:#3c3c3c}.cherry.theme__dark .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__dark .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__dark .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__dark .cherry-sidebar .cherry-toolbar-button:hover i{color:#fff!important}.cherry.theme__dark .cherry-dropdown{background:#3c3c3c}.cherry.theme__dark .cherry-dropdown .cherry-dropdown-item{color:#d7e6fe}.cherry.theme__dark .cherry-dropdown .cherry-dropdown-item:hover{background-color:#454646;color:#fff}.cherry.theme__dark .cherry-dropdown.cherry-color-wrap h3{color:#d7e6fe}.cherry.theme__dark .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#454646}.cherry.theme__dark .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#f78553}.cherry.theme__dark .cherry-bubble .cherry-bubble-bottom{border-top-color:#3c3c3c}.cherry.theme__dark .cherry-editor,.cherry.theme__dark .cherry-editor .CodeMirror{background-color:#252526}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #fff}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#c8c8c8}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#f78553}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#000}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#ffcb6b}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#454646}.cherry.theme__dark .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__dark .cherry-previewer{background-color:#333}.cherry.theme__dark .cherry-previewer .cherry-mobile-previewer-content{background-color:#252526}.cherry.theme__dark .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#252526;color:#c8c8c8;outline-color:#f78553}.cherry-markdown.theme__dark{color:#c8c8c8;background-color:#333}.cherry-markdown.theme__dark h1,.cherry-markdown.theme__dark h2,.cherry-markdown.theme__dark h3,.cherry-markdown.theme__dark h4,.cherry-markdown.theme__dark h5{color:#f78553}.cherry-markdown.theme__dark ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__dark ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__dark ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__dark ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__dark ul.cherry-list__square{list-style:square}.cherry-markdown.theme__dark blockquote{color:#c8c8c8}.cherry-markdown.theme__dark a{text-decoration:none;color:#ffcb6b}.cherry-markdown.theme__dark a:hover{color:#f78553}.cherry-markdown.theme__dark hr{border-color:#696969}.cherry-markdown.theme__dark p code,.cherry-markdown.theme__dark li code{background-color:#000;color:#ffcb6b;border:1px solid dimgray}.cherry-markdown.theme__dark table,.cherry-markdown.theme__dark .cherry-table{color:#c8c8c8}.cherry-markdown.theme__dark table th,.cherry-markdown.theme__dark .cherry-table th{background-color:#000}.cherry-markdown.theme__dark table tr,.cherry-markdown.theme__dark table th,.cherry-markdown.theme__dark table td,.cherry-markdown.theme__dark .cherry-table tr,.cherry-markdown.theme__dark .cherry-table th,.cherry-markdown.theme__dark .cherry-table td,.cherry-markdown.theme__dark .footnote{border-color:#696969}.cherry-markdown.theme__dark .footnote .footnote-title{background-color:#000}.cherry-markdown.theme__dark .footnote .one-footnote{color:#c8c8c8;border-color:#696969}.cherry-markdown.theme__dark .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__dark .toc{border:1px solid dimgray;margin-top:15px;margin-bottom:15px;margin-right:15px}.cherry-markdown.theme__dark .toc .toc-title{padding:15px;margin-bottom:15px;border-bottom:1px solid dimgray}.cherry-markdown.theme__dark .toc .toc-li{border:none;padding:0 20px}.cherry-markdown.theme__dark .toc .toc-li a{color:#c8c8c8}.cherry-markdown.theme__dark .toc .toc-li a:hover{color:#f78553}.cherry-markdown.theme__dark figure svg path,.cherry-markdown.theme__dark figure svg rect,.cherry-markdown.theme__dark figure svg line{stroke:#ffcb6b!important}.cherry-markdown.theme__dark figure svg text{fill:#faa000!important;stroke:none!important}.cherry-markdown.theme__dark figure svg tspan{fill:#faa000!important}.cherry-markdown.theme__dark figure svg circle{fill:#ececff!important}.cherry-markdown.theme__dark figure svg circle.state-start{fill:#faa000!important}.cherry-markdown.theme__dark .cherry-highlight-line{background-color:#151422}.cherry.theme__light .cherry-toolbar,.cherry.theme__light .cherry-floatmenu,.cherry.theme__light .cherry-bubble,.cherry.theme__light .cherry-sidebar{background:#fff;border-color:#fff}.cherry.theme__light .cherry-toolbar .cherry-toolbar-button,.cherry.theme__light .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__light .cherry-bubble .cherry-toolbar-button,.cherry.theme__light .cherry-sidebar .cherry-toolbar-button{color:#3f4a56}.cherry.theme__light .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__light .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__light .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__light .cherry-sidebar .cherry-toolbar-button:hover{background-color:#ebf3ff;color:#5d9bfc!important;border-color:#fff}.cherry.theme__light .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__light .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__light .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__light .cherry-sidebar .cherry-toolbar-button:hover i{color:#5d9bfc!important}.cherry.theme__light .cherry-dropdown{background:#fff}.cherry.theme__light .cherry-dropdown .cherry-dropdown-item{color:#3f4a56}.cherry.theme__light .cherry-dropdown .cherry-dropdown-item:hover{background-color:#ebf3ff;color:#5d9bfc}.cherry.theme__light .cherry-dropdown.cherry-color-wrap h3{color:#3f4a56}.cherry.theme__light .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#ebf3ff}.cherry.theme__light .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#f78553}.cherry.theme__light .cherry-bubble .cherry-bubble-bottom{border-top-color:#fff}.cherry.theme__light .cherry-editor,.cherry.theme__light .cherry-editor .CodeMirror{background-color:#fff}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #000}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#3f4a56}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#228be6}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#d7e6fe}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#4dabf7}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#ebf3ff}.cherry.theme__light .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__light .cherry-previewer,.cherry.theme__light .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff}.cherry.theme__light .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff;color:#3f4a56;outline-color:#228be6}.cherry-markdown.theme__light{color:#3f4a56;background-color:#fff}.cherry-markdown.theme__light h1,.cherry-markdown.theme__light h2,.cherry-markdown.theme__light h3,.cherry-markdown.theme__light h4,.cherry-markdown.theme__light h5{color:#228be6}.cherry-markdown.theme__light ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__light ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__light ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__light ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__light ul.cherry-list__square{list-style:square}.cherry-markdown.theme__light blockquote{color:#3f4a56;background-color:#e7f5ff;border-color:#1971c2}.cherry-markdown.theme__light a{text-decoration:none;color:#4dabf7}.cherry-markdown.theme__light a:hover{text-decoration:underline;color:#228be6}.cherry-markdown.theme__light hr{border-color:#1971c2}.cherry-markdown.theme__light p code,.cherry-markdown.theme__light li code{background-color:#d7e6fe;color:#4dabf7;border:1px solid #1971c2}.cherry-markdown.theme__light table,.cherry-markdown.theme__light .cherry-table{color:#3f4a56}.cherry-markdown.theme__light table th,.cherry-markdown.theme__light .cherry-table th{background-color:#d7e6fe}.cherry-markdown.theme__light table tr,.cherry-markdown.theme__light table th,.cherry-markdown.theme__light table td,.cherry-markdown.theme__light .cherry-table tr,.cherry-markdown.theme__light .cherry-table th,.cherry-markdown.theme__light .cherry-table td,.cherry-markdown.theme__light .footnote{border-color:#1971c2}.cherry-markdown.theme__light .footnote .footnote-title{background-color:#d7e6fe}.cherry-markdown.theme__light .footnote .one-footnote{color:#3f4a56;border-color:#1971c2}.cherry-markdown.theme__light .footnote .one-footnote a.footnote-ref{padding:5px}.cherry.theme__green .cherry-toolbar,.cherry.theme__green .cherry-floatmenu,.cherry.theme__green .cherry-bubble,.cherry.theme__green .cherry-sidebar{background:#fff;border-color:#fff}.cherry.theme__green .cherry-toolbar .cherry-toolbar-button,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__green .cherry-bubble .cherry-toolbar-button,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button,.cherry.theme__green .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__green .cherry-bubble .cherry-toolbar-button i,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button i{color:#2b8a3e}.cherry.theme__green .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__green .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button:hover{background-color:#51cf66;color:#ebfbee!important;border-color:#fff}.cherry.theme__green .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__green .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button:hover i{color:#ebfbee!important}.cherry.theme__green .cherry-dropdown{background:#fff}.cherry.theme__green .cherry-dropdown .cherry-dropdown-item{color:#2b8a3e}.cherry.theme__green .cherry-dropdown .cherry-dropdown-item:hover{background-color:#51cf66;color:#ebfbee}.cherry.theme__green .cherry-dropdown.cherry-color-wrap h3{color:#2b8a3e}.cherry.theme__green .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#51cf66}.cherry.theme__green .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#2b8a3e}.cherry.theme__green .cherry-bubble .cherry-bubble-bottom{border-top-color:#fff}.cherry.theme__green .cherry-editor,.cherry.theme__green .cherry-editor .CodeMirror{background-color:#fff}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #2b8a3e}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#2b8a3e}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#37b24d}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#ebfbee}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#40c057}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#b2f2bb}.cherry.theme__green .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__green .cherry-previewer{background-color:#ebfbee}.cherry.theme__green .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff}.cherry.theme__green .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff;color:#2b8a3e;outline-color:#37b24d}.cherry-markdown.theme__green{color:#2b8a3e;background-color:#ebfbee}.cherry-markdown.theme__green h1,.cherry-markdown.theme__green h2,.cherry-markdown.theme__green h3,.cherry-markdown.theme__green h4,.cherry-markdown.theme__green h5{color:#37b24d;text-align:center;margin-bottom:35px}.cherry-markdown.theme__green ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__green ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__green ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__green ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__green ul.cherry-list__square{list-style:square}.cherry-markdown.theme__green blockquote{color:#2b8a3e;background-color:#d3f9d8;border-color:#2f9e44}.cherry-markdown.theme__green a{text-decoration:none;color:#40c057}.cherry-markdown.theme__green a:hover{text-decoration:underline;color:#37b24d}.cherry-markdown.theme__green hr{border-color:#2f9e44}.cherry-markdown.theme__green p code,.cherry-markdown.theme__green li code{background-color:#d3f9d8;color:#40c057;border:1px solid #2f9e44}.cherry-markdown.theme__green table,.cherry-markdown.theme__green .cherry-table{color:#2b8a3e}.cherry-markdown.theme__green table th,.cherry-markdown.theme__green .cherry-table th{background-color:#d3f9d8}.cherry-markdown.theme__green table tr,.cherry-markdown.theme__green table th,.cherry-markdown.theme__green table td,.cherry-markdown.theme__green .cherry-table tr,.cherry-markdown.theme__green .cherry-table th,.cherry-markdown.theme__green .cherry-table td,.cherry-markdown.theme__green .footnote{border-color:#2f9e44}.cherry-markdown.theme__green .footnote .footnote-title{background-color:#d3f9d8}.cherry-markdown.theme__green .footnote .one-footnote{color:#2b8a3e;border-color:#2f9e44}.cherry-markdown.theme__green .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__green .toc{border-bottom:1px solid #2f9e44;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__green .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #2f9e44}.cherry-markdown.theme__green .toc .toc-li{border:none}.cherry-markdown.theme__green .toc .toc-li a{color:#2b8a3e}.cherry-markdown.theme__green .toc .toc-li a:hover{color:#37b24d}.cherry.theme__red .cherry-toolbar,.cherry.theme__red .cherry-floatmenu,.cherry.theme__red .cherry-bubble,.cherry.theme__red .cherry-sidebar{background:#ffdeeb;border-color:#ffdeeb}.cherry.theme__red .cherry-toolbar .cherry-toolbar-button,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__red .cherry-bubble .cherry-toolbar-button,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button,.cherry.theme__red .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__red .cherry-bubble .cherry-toolbar-button i,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button i{color:#c2255c}.cherry.theme__red .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__red .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button:hover{background-color:#f06595;color:#fff0f6!important;border-color:#ffdeeb}.cherry.theme__red .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__red .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button:hover i{color:#fff0f6!important}.cherry.theme__red .cherry-dropdown{background:#ffdeeb}.cherry.theme__red .cherry-dropdown .cherry-dropdown-item{color:#c2255c}.cherry.theme__red .cherry-dropdown .cherry-dropdown-item:hover{background-color:#f06595;color:#fff0f6}.cherry.theme__red .cherry-dropdown.cherry-color-wrap h3{color:#c2255c}.cherry.theme__red .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#f06595}.cherry.theme__red .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#a61e4d}.cherry.theme__red .cherry-bubble .cherry-bubble-bottom{border-top-color:#ffdeeb}.cherry.theme__red .cherry-editor,.cherry.theme__red .cherry-editor .CodeMirror{background-color:#fff0f6}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #a61e4d}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#a61e4d}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#d6336c}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#ffdeeb}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#f06595}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#fcc2d7}.cherry.theme__red .cherry-sidebar{box-shadow:0 0 10px #fcc2d7}.cherry.theme__red .cherry-previewer,.cherry.theme__red .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff0f6}.cherry.theme__red .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff0f6;color:#a61e4d;outline-color:#d6336c}.cherry-markdown.theme__red{color:#a61e4d;background-color:#fff0f6}.cherry-markdown.theme__red h1,.cherry-markdown.theme__red h2,.cherry-markdown.theme__red h3,.cherry-markdown.theme__red h4,.cherry-markdown.theme__red h5{color:#d6336c;text-align:center;border-bottom:1px dashed #c2255c;padding-bottom:15px;margin-bottom:25px}.cherry-markdown.theme__red ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__red ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__red ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__red ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__red ul.cherry-list__square{list-style:square}.cherry-markdown.theme__red blockquote{color:#a61e4d;background-color:#ffdeeb;border-color:#c2255c}.cherry-markdown.theme__red a{text-decoration:none;color:#f06595}.cherry-markdown.theme__red a:hover{text-decoration:underline;color:#d6336c}.cherry-markdown.theme__red hr{border-color:#c2255c}.cherry-markdown.theme__red p code,.cherry-markdown.theme__red li code{background-color:#ffdeeb;color:#f06595;border:1px solid #c2255c}.cherry-markdown.theme__red table,.cherry-markdown.theme__red .cherry-table{color:#a61e4d}.cherry-markdown.theme__red table th,.cherry-markdown.theme__red .cherry-table th{background-color:#ffdeeb}.cherry-markdown.theme__red table tr,.cherry-markdown.theme__red table th,.cherry-markdown.theme__red table td,.cherry-markdown.theme__red .cherry-table tr,.cherry-markdown.theme__red .cherry-table th,.cherry-markdown.theme__red .cherry-table td,.cherry-markdown.theme__red .footnote{border-color:#c2255c}.cherry-markdown.theme__red .footnote .footnote-title{background-color:#ffdeeb}.cherry-markdown.theme__red .footnote .one-footnote{color:#a61e4d;border-color:#c2255c}.cherry-markdown.theme__red .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__red .toc{border-bottom:1px solid #c2255c;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__red .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #c2255c}.cherry-markdown.theme__red .toc .toc-li{border:none}.cherry-markdown.theme__red .toc .toc-li a{color:#a61e4d}.cherry-markdown.theme__red .toc .toc-li a:hover{color:#d6336c}.cherry.theme__violet .cherry-toolbar,.cherry.theme__violet .cherry-floatmenu,.cherry.theme__violet .cherry-bubble,.cherry.theme__violet .cherry-sidebar{background:#fff;border-color:#fff}.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button,.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button i,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button i{color:#5f3dc4}.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button:hover{background-color:#845ef7;color:#f3f0ff!important;border-color:#fff}.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button:hover i{color:#f3f0ff!important}.cherry.theme__violet .cherry-dropdown{background:#fff}.cherry.theme__violet .cherry-dropdown .cherry-dropdown-item{color:#5f3dc4}.cherry.theme__violet .cherry-dropdown .cherry-dropdown-item:hover{background-color:#845ef7;color:#f3f0ff}.cherry.theme__violet .cherry-dropdown.cherry-color-wrap h3{color:#5f3dc4}.cherry.theme__violet .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#845ef7}.cherry.theme__violet .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#5f3dc4}.cherry.theme__violet .cherry-bubble .cherry-bubble-bottom{border-top-color:#fff}.cherry.theme__violet .cherry-editor,.cherry.theme__violet .cherry-editor .CodeMirror{background-color:#fff}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #5f3dc4}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#5f3dc4}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#7048e8}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#f3f0ff}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#7950f2}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#d0bfff}.cherry.theme__violet .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__violet .cherry-previewer,.cherry.theme__violet .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff}.cherry.theme__violet .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff;color:#5f3dc4;outline-color:#7048e8}.cherry-markdown.theme__violet{color:#5f3dc4;background-color:#fff}.cherry-markdown.theme__violet h1,.cherry-markdown.theme__violet h2,.cherry-markdown.theme__violet h3,.cherry-markdown.theme__violet h4,.cherry-markdown.theme__violet h5{color:#7048e8;text-align:center;margin-bottom:35px}.cherry-markdown.theme__violet ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__violet ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__violet ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__violet ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__violet ul.cherry-list__square{list-style:square}.cherry-markdown.theme__violet blockquote{color:#5f3dc4;background-color:#e5dbff;border-color:#6741d9}.cherry-markdown.theme__violet a{text-decoration:none;color:#7950f2}.cherry-markdown.theme__violet a:hover{text-decoration:underline;color:#7048e8}.cherry-markdown.theme__violet hr{border-color:#6741d9}.cherry-markdown.theme__violet p code,.cherry-markdown.theme__violet li code{background-color:#e5dbff;color:#7950f2;border:1px solid #6741d9}.cherry-markdown.theme__violet table,.cherry-markdown.theme__violet .cherry-table{color:#5f3dc4}.cherry-markdown.theme__violet table th,.cherry-markdown.theme__violet .cherry-table th{background-color:#e5dbff}.cherry-markdown.theme__violet table tr,.cherry-markdown.theme__violet table th,.cherry-markdown.theme__violet table td,.cherry-markdown.theme__violet .cherry-table tr,.cherry-markdown.theme__violet .cherry-table th,.cherry-markdown.theme__violet .cherry-table td,.cherry-markdown.theme__violet .footnote{border-color:#6741d9}.cherry-markdown.theme__violet .footnote .footnote-title{background-color:#e5dbff}.cherry-markdown.theme__violet .footnote .one-footnote{color:#5f3dc4;border-color:#6741d9}.cherry-markdown.theme__violet .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__violet .toc{border-bottom:1px solid #6741d9;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__violet .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #6741d9}.cherry-markdown.theme__violet .toc .toc-li{border:none}.cherry-markdown.theme__violet .toc .toc-li a{color:#5f3dc4}.cherry-markdown.theme__violet .toc .toc-li a:hover{color:#7048e8}.cherry.theme__blue .cherry-toolbar,.cherry.theme__blue .cherry-floatmenu,.cherry.theme__blue .cherry-bubble,.cherry.theme__blue .cherry-sidebar{background:#e5dbff;border-color:#e5dbff}.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button,.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button i,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button i{color:#3b5bdb}.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button:hover{background-color:#845ef7;color:#edf2ff!important;border-color:#e5dbff}.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button:hover i{color:#edf2ff!important}.cherry.theme__blue .cherry-dropdown{background:#e5dbff}.cherry.theme__blue .cherry-dropdown .cherry-dropdown-item{color:#3b5bdb}.cherry.theme__blue .cherry-dropdown .cherry-dropdown-item:hover{background-color:#845ef7;color:#edf2ff}.cherry.theme__blue .cherry-dropdown.cherry-color-wrap h3{color:#3b5bdb}.cherry.theme__blue .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#845ef7}.cherry.theme__blue .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#364fc7}.cherry.theme__blue .cherry-bubble .cherry-bubble-bottom{border-top-color:#e5dbff}.cherry.theme__blue .cherry-editor,.cherry.theme__blue .cherry-editor .CodeMirror{background-color:#f3f0ff}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #364fc7}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#364fc7}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#4263eb}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#e5dbff}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#5c7cfa}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#d0bfff}.cherry.theme__blue .cherry-sidebar{box-shadow:0 0 10px #bac8ff}.cherry.theme__blue .cherry-previewer,.cherry.theme__blue .cherry-previewer .cherry-mobile-previewer-content{background-color:#f3f0ff}.cherry.theme__blue .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#f3f0ff;color:#364fc7;outline-color:#4263eb}.cherry-markdown.theme__blue{color:#364fc7;background-color:#f3f0ff}.cherry-markdown.theme__blue h1,.cherry-markdown.theme__blue h2,.cherry-markdown.theme__blue h3,.cherry-markdown.theme__blue h4,.cherry-markdown.theme__blue h5{color:#4263eb;text-align:center;border-bottom:1px dashed #3b5bdb;padding-bottom:15px;margin-bottom:25px}.cherry-markdown.theme__blue ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__blue ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__blue ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__blue ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__blue ul.cherry-list__square{list-style:square}.cherry-markdown.theme__blue blockquote{color:#364fc7;background-color:#e5dbff;border-color:#3b5bdb}.cherry-markdown.theme__blue a{text-decoration:none;color:#5c7cfa}.cherry-markdown.theme__blue a:hover{text-decoration:underline;color:#4263eb}.cherry-markdown.theme__blue hr{border-color:#3b5bdb}.cherry-markdown.theme__blue p code,.cherry-markdown.theme__blue li code{background-color:#e5dbff;color:#5c7cfa;border:1px solid #3b5bdb}.cherry-markdown.theme__blue table,.cherry-markdown.theme__blue .cherry-table{color:#364fc7}.cherry-markdown.theme__blue table th,.cherry-markdown.theme__blue .cherry-table th{background-color:#e5dbff}.cherry-markdown.theme__blue table tr,.cherry-markdown.theme__blue table th,.cherry-markdown.theme__blue table td,.cherry-markdown.theme__blue .cherry-table tr,.cherry-markdown.theme__blue .cherry-table th,.cherry-markdown.theme__blue .cherry-table td,.cherry-markdown.theme__blue .footnote{border-color:#3b5bdb}.cherry-markdown.theme__blue .footnote .footnote-title{background-color:#e5dbff}.cherry-markdown.theme__blue .footnote .one-footnote{color:#364fc7;border-color:#3b5bdb}.cherry-markdown.theme__blue .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__blue .toc{border-bottom:1px solid #3b5bdb;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__blue .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #3b5bdb}.cherry-markdown.theme__blue .toc .toc-li{border:none}.cherry-markdown.theme__blue .toc .toc-li a{color:#364fc7}.cherry-markdown.theme__blue .toc .toc-li a:hover{color:#4263eb}#markdown-container{position:absolute;left:5vw;top:2vh;width:90vw}.custom-syntax{color:red}.language-go{white-space:break-spaces} diff --git a/cmd/gopcomm/yap/markdown/index.html b/cmd/gopcomm/yap/markdown/index.html deleted file mode 100644 index ce4c608d..00000000 --- a/cmd/gopcomm/yap/markdown/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - Vite + Vue - - - - -
- - diff --git a/cmd/gopcomm/yap/markdown_render.html b/cmd/gopcomm/yap/markdown_render.html deleted file mode 100644 index e708d46d..00000000 --- a/cmd/gopcomm/yap/markdown_render.html +++ /dev/null @@ -1,111770 +0,0 @@ - - - - - - Vite + Vue - - - - -
- - diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-64nn-aVV.svg b/cmd/gopcomm/yap/static/assets/ch-icon-64nn-aVV.svg similarity index 100% rename from cmd/gopcomm/yap/markdown/assets/ch-icon-64nn-aVV.svg rename to cmd/gopcomm/yap/static/assets/ch-icon-64nn-aVV.svg diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-9AYFtjAd.woff b/cmd/gopcomm/yap/static/assets/ch-icon-9AYFtjAd.woff similarity index 100% rename from cmd/gopcomm/yap/markdown/assets/ch-icon-9AYFtjAd.woff rename to cmd/gopcomm/yap/static/assets/ch-icon-9AYFtjAd.woff diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-L-dU5_Cw.woff2 b/cmd/gopcomm/yap/static/assets/ch-icon-L-dU5_Cw.woff2 similarity index 100% rename from cmd/gopcomm/yap/markdown/assets/ch-icon-L-dU5_Cw.woff2 rename to cmd/gopcomm/yap/static/assets/ch-icon-L-dU5_Cw.woff2 diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-tuZ9fmAk.ttf b/cmd/gopcomm/yap/static/assets/ch-icon-tuZ9fmAk.ttf similarity index 100% rename from cmd/gopcomm/yap/markdown/assets/ch-icon-tuZ9fmAk.ttf rename to cmd/gopcomm/yap/static/assets/ch-icon-tuZ9fmAk.ttf diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-zh1GrP5x.eot b/cmd/gopcomm/yap/static/assets/ch-icon-zh1GrP5x.eot similarity index 100% rename from cmd/gopcomm/yap/markdown/assets/ch-icon-zh1GrP5x.eot rename to cmd/gopcomm/yap/static/assets/ch-icon-zh1GrP5x.eot diff --git a/cmd/gopcomm/yap/markdown/assets/index-mrjA3hii.js b/cmd/gopcomm/yap/static/assets/index-kBFUOeCi.js similarity index 64% rename from cmd/gopcomm/yap/markdown/assets/index-mrjA3hii.js rename to cmd/gopcomm/yap/static/assets/index-kBFUOeCi.js index 692fe4ff..72582359 100644 --- a/cmd/gopcomm/yap/markdown/assets/index-mrjA3hii.js +++ b/cmd/gopcomm/yap/static/assets/index-kBFUOeCi.js @@ -1,61 +1,61 @@ -var HAn=(r,i)=>()=>(i||r((i={exports:{}}).exports,i),i.exports);var gDn=HAn((Tb,Bb)=>{(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))l(h);new MutationObserver(h=>{for(const g of h)if(g.type==="childList")for(const d of g.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function o(h){const g={};return h.integrity&&(g.integrity=h.integrity),h.referrerPolicy&&(g.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?g.credentials="include":h.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function l(h){if(h.ep)return;h.ep=!0;const g=o(h);fetch(h.href,g)}})();/** +var UAn=(r,i)=>()=>(i||r((i={exports:{}}).exports,i),i.exports);var ADn=UAn((Eb,Tb)=>{(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))l(h);new MutationObserver(h=>{for(const g of h)if(g.type==="childList")for(const d of g.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function o(h){const g={};return h.integrity&&(g.integrity=h.integrity),h.referrerPolicy&&(g.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?g.credentials="include":h.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function l(h){if(h.ep)return;h.ep=!0;const g=o(h);fetch(h.href,g)}})();/** * @vue/shared v3.4.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function wNe(r,i){const o=new Set(r.split(","));return i?l=>o.has(l.toLowerCase()):l=>o.has(l)}const Bd={},V$=[],T6=()=>{},$An=()=>!1,rpe=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&(r.charCodeAt(2)>122||r.charCodeAt(2)<97),vNe=r=>r.startsWith("onUpdate:"),Ib=Object.assign,yNe=(r,i)=>{const o=r.indexOf(i);o>-1&&r.splice(o,1)},jAn=Object.prototype.hasOwnProperty,mh=(r,i)=>jAn.call(r,i),Pl=Array.isArray,zZ=r=>ape(r)==="[object Map]",KAn=r=>ape(r)==="[object Set]",Au=r=>typeof r=="function",Im=r=>typeof r=="string",ipe=r=>typeof r=="symbol",ng=r=>r!==null&&typeof r=="object",CTt=r=>(ng(r)||Au(r))&&Au(r.then)&&Au(r.catch),zAn=Object.prototype.toString,ape=r=>zAn.call(r),XAn=r=>ape(r).slice(8,-1),GAn=r=>ape(r)==="[object Object]",xNe=r=>Im(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,UAe=wNe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ope=r=>{const i=Object.create(null);return o=>i[o]||(i[o]=r(o))},VAn=/-(\w)/g,fj=ope(r=>r.replace(VAn,(i,o)=>o?o.toUpperCase():"")),WAn=/\B([A-Z])/g,Hj=ope(r=>r.replace(WAn,"-$1").toLowerCase()),ETt=ope(r=>r.charAt(0).toUpperCase()+r.slice(1)),NLe=ope(r=>r?`on${ETt(r)}`:""),oQ=(r,i)=>!Object.is(r,i),QLe=(r,i)=>{for(let o=0;o{Object.defineProperty(r,i,{configurable:!0,enumerable:!1,value:o})},qAn=r=>{const i=parseFloat(r);return isNaN(i)?r:i};let W4t;const TTt=()=>W4t||(W4t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kNe(r){if(Pl(r)){const i={};for(let o=0;o{if(o){const l=o.split(JAn);l.length>1&&(i[l[0].trim()]=l[1].trim())}}),i}function CNe(r){let i="";if(Im(r))i=r;else if(Pl(r))for(let o=0;oo.has(l.toLowerCase()):l=>o.has(l)}const _d={},G$=[],E6=()=>{},HAn=()=>!1,npe=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&(r.charCodeAt(2)>122||r.charCodeAt(2)<97),wNe=r=>r.startsWith("onUpdate:"),Lb=Object.assign,vNe=(r,i)=>{const o=r.indexOf(i);o>-1&&r.splice(o,1)},$An=Object.prototype.hasOwnProperty,mh=(r,i)=>$An.call(r,i),Pl=Array.isArray,jZ=r=>ipe(r)==="[object Map]",jAn=r=>ipe(r)==="[object Set]",Au=r=>typeof r=="function",Lm=r=>typeof r=="string",rpe=r=>typeof r=="symbol",ng=r=>r!==null&&typeof r=="object",kTt=r=>(ng(r)||Au(r))&&Au(r.then)&&Au(r.catch),KAn=Object.prototype.toString,ipe=r=>KAn.call(r),zAn=r=>ipe(r).slice(8,-1),XAn=r=>ipe(r)==="[object Object]",yNe=r=>Lm(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,RAe=bNe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ape=r=>{const i=Object.create(null);return o=>i[o]||(i[o]=r(o))},GAn=/-(\w)/g,hj=ape(r=>r.replace(GAn,(i,o)=>o?o.toUpperCase():"")),VAn=/\B([A-Z])/g,Uj=ape(r=>r.replace(VAn,"-$1").toLowerCase()),CTt=ape(r=>r.charAt(0).toUpperCase()+r.slice(1)),OLe=ape(r=>r?`on${CTt(r)}`:""),aQ=(r,i)=>!Object.is(r,i),NLe=(r,i)=>{for(let o=0;o{Object.defineProperty(r,i,{configurable:!0,enumerable:!1,value:o})},WAn=r=>{const i=parseFloat(r);return isNaN(i)?r:i};let V4t;const ETt=()=>V4t||(V4t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xNe(r){if(Pl(r)){const i={};for(let o=0;o{if(o){const l=o.split(YAn);l.length>1&&(i[l[0].trim()]=l[1].trim())}}),i}function kNe(r){let i="";if(Lm(r))i=r;else if(Pl(r))for(let o=0;o=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),xQ()}return this._dirtyLevel>=2}set dirty(i){this._dirtyLevel=i?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let i=JI,o=ZN;try{return JI=!0,ZN=this,this._runnings++,q4t(this),this.fn()}finally{Y4t(this),this._runnings--,ZN=o,JI=i}}stop(){var i;this.active&&(q4t(this),Y4t(this),(i=this.onStop)==null||i.call(this),this.active=!1)}}function o0n(r){return r.value}function q4t(r){r._trackId++,r._depsLength=0}function Y4t(r){if(r.deps&&r.deps.length>r._depsLength){for(let i=r._depsLength;i{const o=new Map;return o.cleanup=r,o.computed=i,o},zFe=new WeakMap,eQ=Symbol(""),XFe=Symbol("");function ry(r,i,o){if(JI&&ZN){let l=zFe.get(r);l||zFe.set(r,l=new Map);let h=l.get(o);h||l.set(o,h=MTt(()=>l.delete(o))),LTt(ZN,h)}}function FB(r,i,o,l,h,g){const d=zFe.get(r);if(!d)return;let b=[];if(i==="clear")b=[...d.values()];else if(o==="length"&&Pl(r)){const w=Number(l);d.forEach((x,C)=>{(C==="length"||!ipe(C)&&C>=w)&&b.push(x)})}else switch(o!==void 0&&b.push(d.get(o)),i){case"add":Pl(r)?xNe(o)&&b.push(d.get("length")):(b.push(d.get(eQ)),zZ(r)&&b.push(d.get(XFe)));break;case"delete":Pl(r)||(b.push(d.get(eQ)),zZ(r)&&b.push(d.get(XFe)));break;case"set":zZ(r)&&b.push(d.get(eQ));break}TNe();for(const w of b)w&&ITt(w,2);BNe()}const s0n=wNe("__proto__,__v_isRef,__isVue"),FTt=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(ipe)),J4t=c0n();function c0n(){const r={};return["includes","indexOf","lastIndexOf"].forEach(i=>{r[i]=function(...o){const l=Ff(this);for(let g=0,d=this.length;g{r[i]=function(...o){yQ(),TNe();const l=Ff(this)[i].apply(this,o);return BNe(),xQ(),l}}),r}function l0n(r){const i=Ff(this);return ry(i,"has",r),i.hasOwnProperty(r)}class DTt{constructor(i=!1,o=!1){this._isReadonly=i,this._shallow=o}get(i,o,l){const h=this._isReadonly,g=this._shallow;if(o==="__v_isReactive")return!h;if(o==="__v_isReadonly")return h;if(o==="__v_isShallow")return g;if(o==="__v_raw")return l===(h?g?x0n:PTt:g?QTt:NTt).get(i)||Object.getPrototypeOf(i)===Object.getPrototypeOf(l)?i:void 0;const d=Pl(i);if(!h){if(d&&mh(J4t,o))return Reflect.get(J4t,o,l);if(o==="hasOwnProperty")return l0n}const b=Reflect.get(i,o,l);return(ipe(o)?FTt.has(o):s0n(o))||(h||ry(i,"get",o),g)?b:Z3(b)?d&&xNe(o)?b:b.value:ng(b)?h?RTt(b):LNe(b):b}}class OTt extends DTt{constructor(i=!1){super(!1,i)}set(i,o,l,h){let g=i[o];if(!this._shallow){const w=pee(g);if(!GFe(l)&&!pee(l)&&(g=Ff(g),l=Ff(l)),!Pl(i)&&Z3(g)&&!Z3(l))return w?!1:(g.value=l,!0)}const d=Pl(i)&&xNe(o)?Number(o)r,spe=r=>Reflect.getPrototypeOf(r);function Ode(r,i,o=!1,l=!1){r=r.__v_raw;const h=Ff(r),g=Ff(i);o||(oQ(i,g)&&ry(h,"get",i),ry(h,"get",g));const{has:d}=spe(h),b=l?_Ne:o?FNe:MNe;if(d.call(h,i))return b(r.get(i));if(d.call(h,g))return b(r.get(g));r!==h&&r.get(i)}function Nde(r,i=!1){const o=this.__v_raw,l=Ff(o),h=Ff(r);return i||(oQ(r,h)&&ry(l,"has",r),ry(l,"has",h)),r===h?o.has(r):o.has(r)||o.has(h)}function Qde(r,i=!1){return r=r.__v_raw,!i&&ry(Ff(r),"iterate",eQ),Reflect.get(r,"size",r)}function Z4t(r){r=Ff(r);const i=Ff(this);return spe(i).has.call(i,r)||(i.add(r),FB(i,"add",r,r)),this}function e5t(r,i){i=Ff(i);const o=Ff(this),{has:l,get:h}=spe(o);let g=l.call(o,r);g||(r=Ff(r),g=l.call(o,r));const d=h.call(o,r);return o.set(r,i),g?oQ(i,d)&&FB(o,"set",r,i):FB(o,"add",r,i),this}function t5t(r){const i=Ff(this),{has:o,get:l}=spe(i);let h=o.call(i,r);h||(r=Ff(r),h=o.call(i,r)),l&&l.call(i,r);const g=i.delete(r);return h&&FB(i,"delete",r,void 0),g}function n5t(){const r=Ff(this),i=r.size!==0,o=r.clear();return i&&FB(r,"clear",void 0,void 0),o}function Pde(r,i){return function(l,h){const g=this,d=g.__v_raw,b=Ff(d),w=i?_Ne:r?FNe:MNe;return!r&&ry(b,"iterate",eQ),d.forEach((x,C)=>l.call(h,w(x),w(C),g))}}function Rde(r,i,o){return function(...l){const h=this.__v_raw,g=Ff(h),d=zZ(g),b=r==="entries"||r===Symbol.iterator&&d,w=r==="keys"&&d,x=h[r](...l),C=o?_Ne:i?FNe:MNe;return!i&&ry(g,"iterate",w?XFe:eQ),{next(){const{value:B,done:L}=x.next();return L?{value:B,done:L}:{value:b?[C(B[0]),C(B[1])]:C(B),done:L}},[Symbol.iterator](){return this}}}}function _I(r){return function(...i){return r==="delete"?!1:r==="clear"?void 0:this}}function A0n(){const r={get(g){return Ode(this,g)},get size(){return Qde(this)},has:Nde,add:Z4t,set:e5t,delete:t5t,clear:n5t,forEach:Pde(!1,!1)},i={get(g){return Ode(this,g,!1,!0)},get size(){return Qde(this)},has:Nde,add:Z4t,set:e5t,delete:t5t,clear:n5t,forEach:Pde(!1,!0)},o={get(g){return Ode(this,g,!0)},get size(){return Qde(this,!0)},has(g){return Nde.call(this,g,!0)},add:_I("add"),set:_I("set"),delete:_I("delete"),clear:_I("clear"),forEach:Pde(!0,!1)},l={get(g){return Ode(this,g,!0,!0)},get size(){return Qde(this,!0)},has(g){return Nde.call(this,g,!0)},add:_I("add"),set:_I("set"),delete:_I("delete"),clear:_I("clear"),forEach:Pde(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(g=>{r[g]=Rde(g,!1,!1),o[g]=Rde(g,!0,!1),i[g]=Rde(g,!1,!0),l[g]=Rde(g,!0,!0)}),[r,o,i,l]}const[g0n,p0n,m0n,b0n]=A0n();function SNe(r,i){const o=i?r?b0n:m0n:r?p0n:g0n;return(l,h,g)=>h==="__v_isReactive"?!r:h==="__v_isReadonly"?r:h==="__v_raw"?l:Reflect.get(mh(o,h)&&h in l?o:l,h,g)}const w0n={get:SNe(!1,!1)},v0n={get:SNe(!1,!0)},y0n={get:SNe(!0,!1)},NTt=new WeakMap,QTt=new WeakMap,PTt=new WeakMap,x0n=new WeakMap;function k0n(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function C0n(r){return r.__v_skip||!Object.isExtensible(r)?0:k0n(XAn(r))}function LNe(r){return pee(r)?r:INe(r,!1,h0n,w0n,NTt)}function E0n(r){return INe(r,!1,d0n,v0n,QTt)}function RTt(r){return INe(r,!0,f0n,y0n,PTt)}function INe(r,i,o,l,h){if(!ng(r)||r.__v_raw&&!(i&&r.__v_isReactive))return r;const g=h.get(r);if(g)return g;const d=C0n(r);if(d===0)return r;const b=new Proxy(r,d===2?l:o);return h.set(r,b),b}function W$(r){return pee(r)?W$(r.__v_raw):!!(r&&r.__v_isReactive)}function pee(r){return!!(r&&r.__v_isReadonly)}function GFe(r){return!!(r&&r.__v_isShallow)}function UTt(r){return W$(r)||pee(r)}function Ff(r){const i=r&&r.__v_raw;return i?Ff(i):r}function HTt(r){return K0e(r,"__v_skip",!0),r}const MNe=r=>ng(r)?LNe(r):r,FNe=r=>ng(r)?RTt(r):r;class $Tt{constructor(i,o,l,h){this._setter=o,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ENe(()=>i(this._value),()=>r5t(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!h,this.__v_isReadonly=l}get value(){const i=Ff(this);return(!i._cacheable||i.effect.dirty)&&oQ(i._value,i._value=i.effect.run())&&r5t(i,2),B0n(i),i._value}set value(i){this._setter(i)}get _dirty(){return this.effect.dirty}set _dirty(i){this.effect.dirty=i}}function T0n(r,i,o=!1){let l,h;const g=Au(r);return g?(l=r,h=T6):(l=r.get,h=r.set),new $Tt(l,h,g||!h,o)}function B0n(r){JI&&ZN&&(r=Ff(r),LTt(ZN,r.dep||(r.dep=MTt(()=>r.dep=void 0,r instanceof $Tt?r:void 0))))}function r5t(r,i=2,o){r=Ff(r);const l=r.dep;l&&ITt(l,i)}function Z3(r){return!!(r&&r.__v_isRef===!0)}function _0n(r){return Z3(r)?r.value:r}const S0n={get:(r,i,o)=>_0n(Reflect.get(r,i,o)),set:(r,i,o,l)=>{const h=r[i];return Z3(h)&&!Z3(o)?(h.value=o,!0):Reflect.set(r,i,o,l)}};function jTt(r){return W$(r)?r:new Proxy(r,S0n)}/** +**/let e7;class n0n{constructor(i=!1){this.detached=i,this._active=!0,this.effects=[],this.cleanups=[],this.parent=e7,!i&&e7&&(this.index=(e7.scopes||(e7.scopes=[])).push(this)-1)}get active(){return this._active}run(i){if(this._active){const o=e7;try{return e7=this,i()}finally{e7=o}}}on(){e7=this}off(){e7=this.parent}stop(i){if(this._active){let o,l;for(o=0,l=this.effects.length;o=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),yQ()}return this._dirtyLevel>=2}set dirty(i){this._dirtyLevel=i?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let i=YM,o=JN;try{return YM=!0,JN=this,this._runnings++,W4t(this),this.fn()}finally{q4t(this),this._runnings--,JN=o,YM=i}}stop(){var i;this.active&&(W4t(this),q4t(this),(i=this.onStop)==null||i.call(this),this.active=!1)}}function a0n(r){return r.value}function W4t(r){r._trackId++,r._depsLength=0}function q4t(r){if(r.deps&&r.deps.length>r._depsLength){for(let i=r._depsLength;i{const o=new Map;return o.cleanup=r,o.computed=i,o},KFe=new WeakMap,ZN=Symbol(""),zFe=Symbol("");function ny(r,i,o){if(YM&&JN){let l=KFe.get(r);l||KFe.set(r,l=new Map);let h=l.get(o);h||l.set(o,h=MTt(()=>l.delete(o))),STt(JN,h)}}function IB(r,i,o,l,h,g){const d=KFe.get(r);if(!d)return;let b=[];if(i==="clear")b=[...d.values()];else if(o==="length"&&Pl(r)){const w=Number(l);d.forEach((x,C)=>{(C==="length"||!rpe(C)&&C>=w)&&b.push(x)})}else switch(o!==void 0&&b.push(d.get(o)),i){case"add":Pl(r)?yNe(o)&&b.push(d.get("length")):(b.push(d.get(ZN)),jZ(r)&&b.push(d.get(zFe)));break;case"delete":Pl(r)||(b.push(d.get(ZN)),jZ(r)&&b.push(d.get(zFe)));break;case"set":jZ(r)&&b.push(d.get(ZN));break}ENe();for(const w of b)w&<t(w,2);TNe()}const o0n=bNe("__proto__,__v_isRef,__isVue"),ITt=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(rpe)),Y4t=s0n();function s0n(){const r={};return["includes","indexOf","lastIndexOf"].forEach(i=>{r[i]=function(...o){const l=Ff(this);for(let g=0,d=this.length;g{r[i]=function(...o){vQ(),ENe();const l=Ff(this)[i].apply(this,o);return TNe(),yQ(),l}}),r}function c0n(r){const i=Ff(this);return ny(i,"has",r),i.hasOwnProperty(r)}class FTt{constructor(i=!1,o=!1){this._isReadonly=i,this._shallow=o}get(i,o,l){const h=this._isReadonly,g=this._shallow;if(o==="__v_isReactive")return!h;if(o==="__v_isReadonly")return h;if(o==="__v_isShallow")return g;if(o==="__v_raw")return l===(h?g?y0n:QTt:g?NTt:OTt).get(i)||Object.getPrototypeOf(i)===Object.getPrototypeOf(l)?i:void 0;const d=Pl(i);if(!h){if(d&&mh(Y4t,o))return Reflect.get(Y4t,o,l);if(o==="hasOwnProperty")return c0n}const b=Reflect.get(i,o,l);return(rpe(o)?ITt.has(o):o0n(o))||(h||ny(i,"get",o),g)?b:J3(b)?d&&yNe(o)?b:b.value:ng(b)?h?PTt(b):SNe(b):b}}class DTt extends FTt{constructor(i=!1){super(!1,i)}set(i,o,l,h){let g=i[o];if(!this._shallow){const w=gee(g);if(!XFe(l)&&!gee(l)&&(g=Ff(g),l=Ff(l)),!Pl(i)&&J3(g)&&!J3(l))return w?!1:(g.value=l,!0)}const d=Pl(i)&&yNe(o)?Number(o)r,ope=r=>Reflect.getPrototypeOf(r);function Dde(r,i,o=!1,l=!1){r=r.__v_raw;const h=Ff(r),g=Ff(i);o||(aQ(i,g)&&ny(h,"get",i),ny(h,"get",g));const{has:d}=ope(h),b=l?BNe:o?INe:MNe;if(d.call(h,i))return b(r.get(i));if(d.call(h,g))return b(r.get(g));r!==h&&r.get(i)}function Ode(r,i=!1){const o=this.__v_raw,l=Ff(o),h=Ff(r);return i||(aQ(r,h)&&ny(l,"has",r),ny(l,"has",h)),r===h?o.has(r):o.has(r)||o.has(h)}function Nde(r,i=!1){return r=r.__v_raw,!i&&ny(Ff(r),"iterate",ZN),Reflect.get(r,"size",r)}function J4t(r){r=Ff(r);const i=Ff(this);return ope(i).has.call(i,r)||(i.add(r),IB(i,"add",r,r)),this}function Z4t(r,i){i=Ff(i);const o=Ff(this),{has:l,get:h}=ope(o);let g=l.call(o,r);g||(r=Ff(r),g=l.call(o,r));const d=h.call(o,r);return o.set(r,i),g?aQ(i,d)&&IB(o,"set",r,i):IB(o,"add",r,i),this}function e5t(r){const i=Ff(this),{has:o,get:l}=ope(i);let h=o.call(i,r);h||(r=Ff(r),h=o.call(i,r)),l&&l.call(i,r);const g=i.delete(r);return h&&IB(i,"delete",r,void 0),g}function t5t(){const r=Ff(this),i=r.size!==0,o=r.clear();return i&&IB(r,"clear",void 0,void 0),o}function Qde(r,i){return function(l,h){const g=this,d=g.__v_raw,b=Ff(d),w=i?BNe:r?INe:MNe;return!r&&ny(b,"iterate",ZN),d.forEach((x,C)=>l.call(h,w(x),w(C),g))}}function Pde(r,i,o){return function(...l){const h=this.__v_raw,g=Ff(h),d=jZ(g),b=r==="entries"||r===Symbol.iterator&&d,w=r==="keys"&&d,x=h[r](...l),C=o?BNe:i?INe:MNe;return!i&&ny(g,"iterate",w?zFe:ZN),{next(){const{value:B,done:L}=x.next();return L?{value:B,done:L}:{value:b?[C(B[0]),C(B[1])]:C(B),done:L}},[Symbol.iterator](){return this}}}}function BM(r){return function(...i){return r==="delete"?!1:r==="clear"?void 0:this}}function d0n(){const r={get(g){return Dde(this,g)},get size(){return Nde(this)},has:Ode,add:J4t,set:Z4t,delete:e5t,clear:t5t,forEach:Qde(!1,!1)},i={get(g){return Dde(this,g,!1,!0)},get size(){return Nde(this)},has:Ode,add:J4t,set:Z4t,delete:e5t,clear:t5t,forEach:Qde(!1,!0)},o={get(g){return Dde(this,g,!0)},get size(){return Nde(this,!0)},has(g){return Ode.call(this,g,!0)},add:BM("add"),set:BM("set"),delete:BM("delete"),clear:BM("clear"),forEach:Qde(!0,!1)},l={get(g){return Dde(this,g,!0,!0)},get size(){return Nde(this,!0)},has(g){return Ode.call(this,g,!0)},add:BM("add"),set:BM("set"),delete:BM("delete"),clear:BM("clear"),forEach:Qde(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(g=>{r[g]=Pde(g,!1,!1),o[g]=Pde(g,!0,!1),i[g]=Pde(g,!1,!0),l[g]=Pde(g,!0,!0)}),[r,o,i,l]}const[A0n,g0n,p0n,m0n]=d0n();function _Ne(r,i){const o=i?r?m0n:p0n:r?g0n:A0n;return(l,h,g)=>h==="__v_isReactive"?!r:h==="__v_isReadonly"?r:h==="__v_raw"?l:Reflect.get(mh(o,h)&&h in l?o:l,h,g)}const b0n={get:_Ne(!1,!1)},w0n={get:_Ne(!1,!0)},v0n={get:_Ne(!0,!1)},OTt=new WeakMap,NTt=new WeakMap,QTt=new WeakMap,y0n=new WeakMap;function x0n(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function k0n(r){return r.__v_skip||!Object.isExtensible(r)?0:x0n(zAn(r))}function SNe(r){return gee(r)?r:LNe(r,!1,u0n,b0n,OTt)}function C0n(r){return LNe(r,!1,f0n,w0n,NTt)}function PTt(r){return LNe(r,!0,h0n,v0n,QTt)}function LNe(r,i,o,l,h){if(!ng(r)||r.__v_raw&&!(i&&r.__v_isReactive))return r;const g=h.get(r);if(g)return g;const d=k0n(r);if(d===0)return r;const b=new Proxy(r,d===2?l:o);return h.set(r,b),b}function V$(r){return gee(r)?V$(r.__v_raw):!!(r&&r.__v_isReactive)}function gee(r){return!!(r&&r.__v_isReadonly)}function XFe(r){return!!(r&&r.__v_isShallow)}function RTt(r){return V$(r)||gee(r)}function Ff(r){const i=r&&r.__v_raw;return i?Ff(i):r}function UTt(r){return j0e(r,"__v_skip",!0),r}const MNe=r=>ng(r)?SNe(r):r,INe=r=>ng(r)?PTt(r):r;class HTt{constructor(i,o,l,h){this._setter=o,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new CNe(()=>i(this._value),()=>n5t(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!h,this.__v_isReadonly=l}get value(){const i=Ff(this);return(!i._cacheable||i.effect.dirty)&&aQ(i._value,i._value=i.effect.run())&&n5t(i,2),T0n(i),i._value}set value(i){this._setter(i)}get _dirty(){return this.effect.dirty}set _dirty(i){this.effect.dirty=i}}function E0n(r,i,o=!1){let l,h;const g=Au(r);return g?(l=r,h=E6):(l=r.get,h=r.set),new HTt(l,h,g||!h,o)}function T0n(r){YM&&JN&&(r=Ff(r),STt(JN,r.dep||(r.dep=MTt(()=>r.dep=void 0,r instanceof HTt?r:void 0))))}function n5t(r,i=2,o){r=Ff(r);const l=r.dep;l&<t(l,i)}function J3(r){return!!(r&&r.__v_isRef===!0)}function B0n(r){return J3(r)?r.value:r}const _0n={get:(r,i,o)=>B0n(Reflect.get(r,i,o)),set:(r,i,o,l)=>{const h=r[i];return J3(h)&&!J3(o)?(h.value=o,!0):Reflect.set(r,i,o,l)}};function $Tt(r){return V$(r)?r:new Proxy(r,_0n)}/** * @vue/runtime-core v3.4.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function ZI(r,i,o,l){let h;try{h=l?r(...l):r()}catch(g){cpe(g,i,o)}return h}function pk(r,i,o,l){if(Au(r)){const g=ZI(r,i,o,l);return g&&CTt(g)&&g.catch(d=>{cpe(d,i,o)}),g}const h=[];for(let g=0;g>>1,h=Cb[l],g=bee(h);gn9&&Cb.splice(i,1)}function D0n(r){Pl(r)?q$.push(...r):(!$I||!$I.includes(r,r.allowRecurse?HN+1:HN))&&q$.push(r),zTt()}function i5t(r,i,o=mee?n9+1:0){for(;obee(o)-bee(l));if(q$.length=0,$I){$I.push(...i);return}for($I=i,HN=0;HN<$I.length;HN++)$I[HN]();$I=null,HN=0}}const bee=r=>r.id==null?1/0:r.id,O0n=(r,i)=>{const o=bee(r)-bee(i);if(o===0){if(r.pre&&!i.pre)return-1;if(i.pre&&!r.pre)return 1}return o};function GTt(r){VFe=!1,mee=!0,Cb.sort(O0n);try{for(n9=0;n9Im(I)?I.trim():I)),B&&(h=o.map(qAn))}let b,w=l[b=NLe(i)]||l[b=NLe(fj(i))];!w&&g&&(w=l[b=NLe(Hj(i))]),w&&pk(w,r,6,h);const x=l[b+"Once"];if(x){if(!r.emitted)r.emitted={};else if(r.emitted[b])return;r.emitted[b]=!0,pk(x,r,6,h)}}function VTt(r,i,o=!1){const l=i.emitsCache,h=l.get(r);if(h!==void 0)return h;const g=r.emits;let d={},b=!1;if(!Au(r)){const w=x=>{const C=VTt(x,i,!0);C&&(b=!0,Ib(d,C))};!o&&i.mixins.length&&i.mixins.forEach(w),r.extends&&w(r.extends),r.mixins&&r.mixins.forEach(w)}return!g&&!b?(ng(r)&&l.set(r,null),null):(Pl(g)?g.forEach(w=>d[w]=null):Ib(d,g),ng(r)&&l.set(r,d),d)}function lpe(r,i){return!r||!rpe(i)?!1:(i=i.slice(2).replace(/Once$/,""),mh(r,i[0].toLowerCase()+i.slice(1))||mh(r,Hj(i))||mh(r,i))}let r9=null,WTt=null;function z0e(r){const i=r9;return r9=r,WTt=r&&r.type.__scopeId||null,i}function Q0n(r,i=r9,o){if(!i||r._n)return r;const l=(...h)=>{l._d&&A5t(-1);const g=z0e(i);let d;try{d=r(...h)}finally{z0e(g),l._d&&A5t(1)}return d};return l._n=!0,l._c=!0,l._d=!0,l}function PLe(r){const{type:i,vnode:o,proxy:l,withProxy:h,props:g,propsOptions:[d],slots:b,attrs:w,emit:x,render:C,renderCache:B,data:L,setupState:I,ctx:P,inheritAttrs:z}=r;let W,Q;const V=z0e(r);try{if(o.shapeFlag&4){const G=h||l,ae=G;W=ZC(C.call(ae,G,B,g,I,L,P)),Q=w}else{const G=i;W=ZC(G.length>1?G(g,{attrs:w,slots:b,emit:x}):G(g,null)),Q=i.props?w:P0n(w)}}catch(G){GZ.length=0,cpe(G,r,1),W=eM(wee)}let oe=W;if(Q&&z!==!1){const G=Object.keys(Q),{shapeFlag:ae}=oe;G.length&&ae&7&&(d&&G.some(vNe)&&(Q=R0n(Q,d)),oe=dj(oe,Q))}return o.dirs&&(oe=dj(oe),oe.dirs=oe.dirs?oe.dirs.concat(o.dirs):o.dirs),o.transition&&(oe.transition=o.transition),W=oe,z0e(V),W}const P0n=r=>{let i;for(const o in r)(o==="class"||o==="style"||rpe(o))&&((i||(i={}))[o]=r[o]);return i},R0n=(r,i)=>{const o={};for(const l in r)(!vNe(l)||!(l.slice(9)in i))&&(o[l]=r[l]);return o};function U0n(r,i,o){const{props:l,children:h,component:g}=r,{props:d,children:b,patchFlag:w}=i,x=g.emitsOptions;if(i.dirs||i.transition)return!0;if(o&&w>=0){if(w&1024)return!0;if(w&16)return l?a5t(l,d,x):!!d;if(w&8){const C=i.dynamicProps;for(let B=0;Br.__isSuspense;function K0n(r,i){i&&i.pendingBranch?Pl(r)?i.effects.push(...r):i.effects.push(r):D0n(r)}const z0n=Symbol.for("v-scx"),X0n=()=>$Ae(z0n),Ude={};function RLe(r,i,o){return qTt(r,i,o)}function qTt(r,i,{immediate:o,deep:l,flush:h,once:g,onTrack:d,onTrigger:b}=Bd){if(i&&g){const ne=i;i=(...de)=>{ne(...de),ae()}}const w=W2,x=ne=>l===!0?ne:O$(ne,l===!1?1:void 0);let C,B=!1,L=!1;if(Z3(r)?(C=()=>r.value,B=GFe(r)):W$(r)?(C=()=>x(r),B=!0):Pl(r)?(L=!0,B=r.some(ne=>W$(ne)||GFe(ne)),C=()=>r.map(ne=>{if(Z3(ne))return ne.value;if(W$(ne))return x(ne);if(Au(ne))return ZI(ne,w,2)})):Au(r)?i?C=()=>ZI(r,w,2):C=()=>(I&&I(),pk(r,w,3,[P])):C=T6,i&&l){const ne=C;C=()=>O$(ne())}let I,P=ne=>{I=oe.onStop=()=>{ZI(ne,w,4),I=oe.onStop=void 0}},z;if(dpe)if(P=T6,i?o&&pk(i,w,3,[C(),L?[]:void 0,P]):C(),h==="sync"){const ne=X0n();z=ne.__watcherHandles||(ne.__watcherHandles=[])}else return T6;let W=L?new Array(r.length).fill(Ude):Ude;const Q=()=>{if(!(!oe.active||!oe.dirty))if(i){const ne=oe.run();(l||B||(L?ne.some((de,Ae)=>oQ(de,W[Ae])):oQ(ne,W)))&&(I&&I(),pk(i,w,3,[ne,W===Ude?void 0:L&&W[0]===Ude?[]:W,P]),W=ne)}else oe.run()};Q.allowRecurse=!!i;let V;h==="sync"?V=Q:h==="post"?V=()=>zv(Q,w&&w.suspense):(Q.pre=!0,w&&(Q.id=w.uid),V=()=>ONe(Q));const oe=new ENe(C,T6,V),G=a0n(),ae=()=>{oe.stop(),G&&yNe(G.effects,oe)};return i?o?Q():W=oe.run():h==="post"?zv(oe.run.bind(oe),w&&w.suspense):oe.run(),z&&z.push(ae),ae}function G0n(r,i,o){const l=this.proxy,h=Im(r)?r.includes(".")?YTt(l,r):()=>l[r]:r.bind(l,l);let g;Au(i)?g=i:(g=i.handler,o=i);const d=ote(this),b=qTt(h,g.bind(l),o);return d(),b}function YTt(r,i){const o=i.split(".");return()=>{let l=r;for(let h=0;h0){if(o>=i)return r;o++}if(l=l||new Set,l.has(r))return r;if(l.add(r),Z3(r))O$(r.value,i,o,l);else if(Pl(r))for(let h=0;h{O$(h,i,o,l)});else if(GAn(r))for(const h in r)O$(r[h],i,o,l);return r}function CN(r,i,o,l){const h=r.dirs,g=i&&i.dirs;for(let d=0;d!!r.type.__asyncLoader,JTt=r=>r.type.__isKeepAlive;function V0n(r,i){ZTt(r,"a",i)}function W0n(r,i){ZTt(r,"da",i)}function ZTt(r,i,o=W2){const l=r.__wdc||(r.__wdc=()=>{let h=o;for(;h;){if(h.isDeactivated)return;h=h.parent}return r()});if(upe(i,l,o),o){let h=o.parent;for(;h&&h.parent;)JTt(h.parent.vnode)&&q0n(l,i,o,h),h=h.parent}}function q0n(r,i,o,l){const h=upe(i,r,l,!0);eBt(()=>{yNe(l[i],h)},o)}function upe(r,i,o=W2,l=!1){if(o){const h=o[r]||(o[r]=[]),g=i.__weh||(i.__weh=(...d)=>{if(o.isUnmounted)return;yQ();const b=ote(o),w=pk(i,o,r,d);return b(),xQ(),w});return l?h.unshift(g):h.push(g),g}}const VB=r=>(i,o=W2)=>(!dpe||r==="sp")&&upe(r,(...l)=>i(...l),o),Y0n=VB("bm"),J0n=VB("m"),Z0n=VB("bu"),egn=VB("u"),tgn=VB("bum"),eBt=VB("um"),ngn=VB("sp"),rgn=VB("rtg"),ign=VB("rtc");function agn(r,i=W2){upe("ec",r,i)}const WFe=r=>r?dBt(r)?UNe(r)||r.proxy:WFe(r.parent):null,XZ=Ib(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>WFe(r.parent),$root:r=>WFe(r.root),$emit:r=>r.emit,$options:r=>NNe(r),$forceUpdate:r=>r.f||(r.f=()=>{r.effect.dirty=!0,ONe(r.update)}),$nextTick:r=>r.n||(r.n=I0n.bind(r.proxy)),$watch:r=>G0n.bind(r)}),ULe=(r,i)=>r!==Bd&&!r.__isScriptSetup&&mh(r,i),ogn={get({_:r},i){const{ctx:o,setupState:l,data:h,props:g,accessCache:d,type:b,appContext:w}=r;let x;if(i[0]!=="$"){const I=d[i];if(I!==void 0)switch(I){case 1:return l[i];case 2:return h[i];case 4:return o[i];case 3:return g[i]}else{if(ULe(l,i))return d[i]=1,l[i];if(h!==Bd&&mh(h,i))return d[i]=2,h[i];if((x=r.propsOptions[0])&&mh(x,i))return d[i]=3,g[i];if(o!==Bd&&mh(o,i))return d[i]=4,o[i];qFe&&(d[i]=0)}}const C=XZ[i];let B,L;if(C)return i==="$attrs"&&ry(r,"get",i),C(r);if((B=b.__cssModules)&&(B=B[i]))return B;if(o!==Bd&&mh(o,i))return d[i]=4,o[i];if(L=w.config.globalProperties,mh(L,i))return L[i]},set({_:r},i,o){const{data:l,setupState:h,ctx:g}=r;return ULe(h,i)?(h[i]=o,!0):l!==Bd&&mh(l,i)?(l[i]=o,!0):mh(r.props,i)||i[0]==="$"&&i.slice(1)in r?!1:(g[i]=o,!0)},has({_:{data:r,setupState:i,accessCache:o,ctx:l,appContext:h,propsOptions:g}},d){let b;return!!o[d]||r!==Bd&&mh(r,d)||ULe(i,d)||(b=g[0])&&mh(b,d)||mh(l,d)||mh(XZ,d)||mh(h.config.globalProperties,d)},defineProperty(r,i,o){return o.get!=null?r._.accessCache[i]=0:mh(o,"value")&&this.set(r,i,o.value,null),Reflect.defineProperty(r,i,o)}};function o5t(r){return Pl(r)?r.reduce((i,o)=>(i[o]=null,i),{}):r}let qFe=!0;function sgn(r){const i=NNe(r),o=r.proxy,l=r.ctx;qFe=!1,i.beforeCreate&&s5t(i.beforeCreate,r,"bc");const{data:h,computed:g,methods:d,watch:b,provide:w,inject:x,created:C,beforeMount:B,mounted:L,beforeUpdate:I,updated:P,activated:z,deactivated:W,beforeDestroy:Q,beforeUnmount:V,destroyed:oe,unmounted:G,render:ae,renderTracked:ne,renderTriggered:de,errorCaptured:Ae,serverPrefetch:le,expose:ve,inheritAttrs:me,components:ee,directives:ye,filters:Y}=i;if(x&&cgn(x,l,null),d)for(const ce in d){const $e=d[ce];Au($e)&&(l[ce]=$e.bind(o))}if(h){const ce=h.call(o,o);ng(ce)&&(r.data=LNe(ce))}if(qFe=!0,g)for(const ce in g){const $e=g[ce],Ye=Au($e)?$e.bind(o,o):Au($e.get)?$e.get.bind(o,o):T6,ct=!Au($e)&&Au($e.set)?$e.set.bind(o):T6,ot=Hgn({get:Ye,set:ct});Object.defineProperty(l,ce,{enumerable:!0,configurable:!0,get:()=>ot.value,set:Qe=>ot.value=Qe})}if(b)for(const ce in b)tBt(b[ce],l,o,ce);if(w){const ce=Au(w)?w.call(o):w;Reflect.ownKeys(ce).forEach($e=>{Agn($e,ce[$e])})}C&&s5t(C,r,"c");function fe(ce,$e){Pl($e)?$e.forEach(Ye=>ce(Ye.bind(o))):$e&&ce($e.bind(o))}if(fe(Y0n,B),fe(J0n,L),fe(Z0n,I),fe(egn,P),fe(V0n,z),fe(W0n,W),fe(agn,Ae),fe(ign,ne),fe(rgn,de),fe(tgn,V),fe(eBt,G),fe(ngn,le),Pl(ve))if(ve.length){const ce=r.exposed||(r.exposed={});ve.forEach($e=>{Object.defineProperty(ce,$e,{get:()=>o[$e],set:Ye=>o[$e]=Ye})})}else r.exposed||(r.exposed={});ae&&r.render===T6&&(r.render=ae),me!=null&&(r.inheritAttrs=me),ee&&(r.components=ee),ye&&(r.directives=ye)}function cgn(r,i,o=T6){Pl(r)&&(r=YFe(r));for(const l in r){const h=r[l];let g;ng(h)?"default"in h?g=$Ae(h.from||l,h.default,!0):g=$Ae(h.from||l):g=$Ae(h),Z3(g)?Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>g.value,set:d=>g.value=d}):i[l]=g}}function s5t(r,i,o){pk(Pl(r)?r.map(l=>l.bind(i.proxy)):r.bind(i.proxy),i,o)}function tBt(r,i,o,l){const h=l.includes(".")?YTt(o,l):()=>o[l];if(Im(r)){const g=i[r];Au(g)&&RLe(h,g)}else if(Au(r))RLe(h,r.bind(o));else if(ng(r))if(Pl(r))r.forEach(g=>tBt(g,i,o,l));else{const g=Au(r.handler)?r.handler.bind(o):i[r.handler];Au(g)&&RLe(h,g,r)}}function NNe(r){const i=r.type,{mixins:o,extends:l}=i,{mixins:h,optionsCache:g,config:{optionMergeStrategies:d}}=r.appContext,b=g.get(i);let w;return b?w=b:!h.length&&!o&&!l?w=i:(w={},h.length&&h.forEach(x=>X0e(w,x,d,!0)),X0e(w,i,d)),ng(i)&&g.set(i,w),w}function X0e(r,i,o,l=!1){const{mixins:h,extends:g}=i;g&&X0e(r,g,o,!0),h&&h.forEach(d=>X0e(r,d,o,!0));for(const d in i)if(!(l&&d==="expose")){const b=lgn[d]||o&&o[d];r[d]=b?b(r[d],i[d]):i[d]}return r}const lgn={data:c5t,props:l5t,emits:l5t,methods:kZ,computed:kZ,beforeCreate:K2,created:K2,beforeMount:K2,mounted:K2,beforeUpdate:K2,updated:K2,beforeDestroy:K2,beforeUnmount:K2,destroyed:K2,unmounted:K2,activated:K2,deactivated:K2,errorCaptured:K2,serverPrefetch:K2,components:kZ,directives:kZ,watch:hgn,provide:c5t,inject:ugn};function c5t(r,i){return i?r?function(){return Ib(Au(r)?r.call(this,this):r,Au(i)?i.call(this,this):i)}:i:r}function ugn(r,i){return kZ(YFe(r),YFe(i))}function YFe(r){if(Pl(r)){const i={};for(let o=0;o1)return o&&Au(i)?i.call(l&&l.proxy):i}}function ggn(r,i,o,l=!1){const h={},g={};K0e(g,fpe,1),r.propsDefaults=Object.create(null),rBt(r,i,h,g);for(const d in r.propsOptions[0])d in h||(h[d]=void 0);o?r.props=l?h:E0n(h):r.type.props?r.props=h:r.props=g,r.attrs=g}function pgn(r,i,o,l){const{props:h,attrs:g,vnode:{patchFlag:d}}=r,b=Ff(h),[w]=r.propsOptions;let x=!1;if((l||d>0)&&!(d&16)){if(d&8){const C=r.vnode.dynamicProps;for(let B=0;B{w=!0;const[L,I]=iBt(B,i,!0);Ib(d,L),I&&b.push(...I)};!o&&i.mixins.length&&i.mixins.forEach(C),r.extends&&C(r.extends),r.mixins&&r.mixins.forEach(C)}if(!g&&!w)return ng(r)&&l.set(r,V$),V$;if(Pl(g))for(let C=0;C-1,I[1]=z<0||P-1||mh(I,"default"))&&b.push(B)}}}const x=[d,b];return ng(r)&&l.set(r,x),x}function u5t(r){return r[0]!=="$"}function h5t(r){const i=r&&r.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:r===null?"null":""}function f5t(r,i){return h5t(r)===h5t(i)}function d5t(r,i){return Pl(i)?i.findIndex(o=>f5t(o,r)):Au(i)&&f5t(i,r)?0:-1}const aBt=r=>r[0]==="_"||r==="$stable",QNe=r=>Pl(r)?r.map(ZC):[ZC(r)],mgn=(r,i,o)=>{if(i._n)return i;const l=Q0n((...h)=>QNe(i(...h)),o);return l._c=!1,l},oBt=(r,i,o)=>{const l=r._ctx;for(const h in r){if(aBt(h))continue;const g=r[h];if(Au(g))i[h]=mgn(h,g,l);else if(g!=null){const d=QNe(g);i[h]=()=>d}}},sBt=(r,i)=>{const o=QNe(i);r.slots.default=()=>o},bgn=(r,i)=>{if(r.vnode.shapeFlag&32){const o=i._;o?(r.slots=Ff(i),K0e(i,"_",o)):oBt(i,r.slots={})}else r.slots={},i&&sBt(r,i);K0e(r.slots,fpe,1)},wgn=(r,i,o)=>{const{vnode:l,slots:h}=r;let g=!0,d=Bd;if(l.shapeFlag&32){const b=i._;b?o&&b===1?g=!1:(Ib(h,i),!o&&b===1&&delete h._):(g=!i.$stable,oBt(i,h)),d=i}else i&&(sBt(r,i),d={default:1});if(g)for(const b in h)!aBt(b)&&d[b]==null&&delete h[b]};function ZFe(r,i,o,l,h=!1){if(Pl(r)){r.forEach((L,I)=>ZFe(L,i&&(Pl(i)?i[I]:i),o,l,h));return}if(HAe(l)&&!h)return;const g=l.shapeFlag&4?UNe(l.component)||l.component.proxy:l.el,d=h?null:g,{i:b,r:w}=r,x=i&&i.r,C=b.refs===Bd?b.refs={}:b.refs,B=b.setupState;if(x!=null&&x!==w&&(Im(x)?(C[x]=null,mh(B,x)&&(B[x]=null)):Z3(x)&&(x.value=null)),Au(w))ZI(w,b,12,[d,C]);else{const L=Im(w),I=Z3(w);if(L||I){const P=()=>{if(r.f){const z=L?mh(B,w)?B[w]:C[w]:w.value;h?Pl(z)&&yNe(z,g):Pl(z)?z.includes(g)||z.push(g):L?(C[w]=[g],mh(B,w)&&(B[w]=C[w])):(w.value=[g],r.k&&(C[r.k]=w.value))}else L?(C[w]=d,mh(B,w)&&(B[w]=d)):I&&(w.value=d,r.k&&(C[r.k]=d))};d?(P.id=-1,zv(P,o)):P()}}}const zv=K0n;function vgn(r){return ygn(r)}function ygn(r,i){const o=TTt();o.__VUE__=!0;const{insert:l,remove:h,patchProp:g,createElement:d,createText:b,createComment:w,setText:x,setElementText:C,parentNode:B,nextSibling:L,setScopeId:I=T6,insertStaticContent:P}=r,z=(He,lt,Ke,mn=null,je=null,zt=null,pt=void 0,sn=null,cn=!!lt.dynamicChildren)=>{if(He===lt)return;He&&!KJ(He,lt)&&(mn=Rn(He),Qe(He,je,zt,!0),He=null),lt.patchFlag===-2&&(cn=!1,lt.dynamicChildren=null);const{type:xn,ref:nn,shapeFlag:Qn}=lt;switch(xn){case hpe:W(He,lt,Ke,mn);break;case wee:Q(He,lt,Ke,mn);break;case $Le:He==null&&V(lt,Ke,mn,pt);break;case bB:ee(He,lt,Ke,mn,je,zt,pt,sn,cn);break;default:Qn&1?ae(He,lt,Ke,mn,je,zt,pt,sn,cn):Qn&6?ye(He,lt,Ke,mn,je,zt,pt,sn,cn):(Qn&64||Qn&128)&&xn.process(He,lt,Ke,mn,je,zt,pt,sn,cn,Kt)}nn!=null&&je&&ZFe(nn,He&&He.ref,zt,lt||He,!lt)},W=(He,lt,Ke,mn)=>{if(He==null)l(lt.el=b(lt.children),Ke,mn);else{const je=lt.el=He.el;lt.children!==He.children&&x(je,lt.children)}},Q=(He,lt,Ke,mn)=>{He==null?l(lt.el=w(lt.children||""),Ke,mn):lt.el=He.el},V=(He,lt,Ke,mn)=>{[He.el,He.anchor]=P(He.children,lt,Ke,mn,He.el,He.anchor)},oe=({el:He,anchor:lt},Ke,mn)=>{let je;for(;He&&He!==lt;)je=L(He),l(He,Ke,mn),He=je;l(lt,Ke,mn)},G=({el:He,anchor:lt})=>{let Ke;for(;He&&He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},ae=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.type==="svg"?pt="svg":lt.type==="math"&&(pt="mathml"),He==null?ne(lt,Ke,mn,je,zt,pt,sn,cn):le(He,lt,je,zt,pt,sn,cn)},ne=(He,lt,Ke,mn,je,zt,pt,sn)=>{let cn,xn;const{props:nn,shapeFlag:Qn,transition:ln,dirs:Hn}=He;if(cn=He.el=d(He.type,zt,nn&&nn.is,nn),Qn&8?C(cn,He.children):Qn&16&&Ae(He.children,cn,null,mn,je,HLe(He,zt),pt,sn),Hn&&CN(He,null,mn,"created"),de(cn,He,He.scopeId,pt,mn),nn){for(const _r in nn)_r!=="value"&&!UAe(_r)&&g(cn,_r,null,nn[_r],zt,He.children,mn,je,Et);"value"in nn&&g(cn,"value",null,nn.value,zt),(xn=nn.onVnodeBeforeMount)&&zC(xn,mn,He)}Hn&&CN(He,null,mn,"beforeMount");const $t=xgn(je,ln);$t&&ln.beforeEnter(cn),l(cn,lt,Ke),((xn=nn&&nn.onVnodeMounted)||$t||Hn)&&zv(()=>{xn&&zC(xn,mn,He),$t&&ln.enter(cn),Hn&&CN(He,null,mn,"mounted")},je)},de=(He,lt,Ke,mn,je)=>{if(Ke&&I(He,Ke),mn)for(let zt=0;zt{for(let xn=cn;xn{const sn=lt.el=He.el;let{patchFlag:cn,dynamicChildren:xn,dirs:nn}=lt;cn|=He.patchFlag&16;const Qn=He.props||Bd,ln=lt.props||Bd;let Hn;if(Ke&&EN(Ke,!1),(Hn=ln.onVnodeBeforeUpdate)&&zC(Hn,Ke,lt,He),nn&&CN(lt,He,Ke,"beforeUpdate"),Ke&&EN(Ke,!0),xn?ve(He.dynamicChildren,xn,sn,Ke,mn,HLe(lt,je),zt):pt||$e(He,lt,sn,null,Ke,mn,HLe(lt,je),zt,!1),cn>0){if(cn&16)me(sn,lt,Qn,ln,Ke,mn,je);else if(cn&2&&Qn.class!==ln.class&&g(sn,"class",null,ln.class,je),cn&4&&g(sn,"style",Qn.style,ln.style,je),cn&8){const $t=lt.dynamicProps;for(let _r=0;_r<$t.length;_r++){const Lr=$t[_r],ti=Qn[Lr],_i=ln[Lr];(_i!==ti||Lr==="value")&&g(sn,Lr,ti,_i,je,He.children,Ke,mn,Et)}}cn&1&&He.children!==lt.children&&C(sn,lt.children)}else!pt&&xn==null&&me(sn,lt,Qn,ln,Ke,mn,je);((Hn=ln.onVnodeUpdated)||nn)&&zv(()=>{Hn&&zC(Hn,Ke,lt,He),nn&&CN(lt,He,Ke,"updated")},mn)},ve=(He,lt,Ke,mn,je,zt,pt)=>{for(let sn=0;sn{if(Ke!==mn){if(Ke!==Bd)for(const sn in Ke)!UAe(sn)&&!(sn in mn)&&g(He,sn,Ke[sn],null,pt,lt.children,je,zt,Et);for(const sn in mn){if(UAe(sn))continue;const cn=mn[sn],xn=Ke[sn];cn!==xn&&sn!=="value"&&g(He,sn,xn,cn,pt,lt.children,je,zt,Et)}"value"in mn&&g(He,"value",Ke.value,mn.value,pt)}},ee=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{const xn=lt.el=He?He.el:b(""),nn=lt.anchor=He?He.anchor:b("");let{patchFlag:Qn,dynamicChildren:ln,slotScopeIds:Hn}=lt;Hn&&(sn=sn?sn.concat(Hn):Hn),He==null?(l(xn,Ke,mn),l(nn,Ke,mn),Ae(lt.children||[],Ke,nn,je,zt,pt,sn,cn)):Qn>0&&Qn&64&&ln&&He.dynamicChildren?(ve(He.dynamicChildren,ln,Ke,je,zt,pt,sn),(lt.key!=null||je&<===je.subTree)&&cBt(He,lt,!0)):$e(He,lt,Ke,nn,je,zt,pt,sn,cn)},ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.slotScopeIds=sn,He==null?lt.shapeFlag&512?je.ctx.activate(lt,Ke,mn,pt,cn):Y(lt,Ke,mn,je,zt,pt,cn):Ee(He,lt,cn)},Y=(He,lt,Ke,mn,je,zt,pt)=>{const sn=He.component=Ogn(He,mn,je);if(JTt(He)&&(sn.ctx.renderer=Kt),Ngn(sn),sn.asyncDep){if(je&&je.registerDep(sn,fe),!He.el){const cn=sn.subTree=eM(wee);Q(null,cn,lt,Ke)}}else fe(sn,He,lt,Ke,je,zt,pt)},Ee=(He,lt,Ke)=>{const mn=lt.component=He.component;if(U0n(He,lt,Ke))if(mn.asyncDep&&!mn.asyncResolved){ce(mn,lt,Ke);return}else mn.next=lt,F0n(mn.update),mn.effect.dirty=!0,mn.update();else lt.el=He.el,mn.vnode=lt},fe=(He,lt,Ke,mn,je,zt,pt)=>{const sn=()=>{if(He.isMounted){let{next:nn,bu:Qn,u:ln,parent:Hn,vnode:$t}=He;{const ro=lBt(He);if(ro){nn&&(nn.el=$t.el,ce(He,nn,pt)),ro.asyncDep.then(()=>{He.isUnmounted||sn()});return}}let _r=nn,Lr;EN(He,!1),nn?(nn.el=$t.el,ce(He,nn,pt)):nn=$t,Qn&&QLe(Qn),(Lr=nn.props&&nn.props.onVnodeBeforeUpdate)&&zC(Lr,Hn,nn,$t),EN(He,!0);const ti=PLe(He),_i=He.subTree;He.subTree=ti,z(_i,ti,B(_i.el),Rn(_i),He,je,zt),nn.el=ti.el,_r===null&&H0n(He,ti.el),ln&&zv(ln,je),(Lr=nn.props&&nn.props.onVnodeUpdated)&&zv(()=>zC(Lr,Hn,nn,$t),je)}else{let nn;const{el:Qn,props:ln}=lt,{bm:Hn,m:$t,parent:_r}=He,Lr=HAe(lt);if(EN(He,!1),Hn&&QLe(Hn),!Lr&&(nn=ln&&ln.onVnodeBeforeMount)&&zC(nn,_r,lt),EN(He,!0),Qn&&Vt){const ti=()=>{He.subTree=PLe(He),Vt(Qn,He.subTree,He,je,null)};Lr?lt.type.__asyncLoader().then(()=>!He.isUnmounted&&ti()):ti()}else{const ti=He.subTree=PLe(He);z(null,ti,Ke,mn,He,je,zt),lt.el=ti.el}if($t&&zv($t,je),!Lr&&(nn=ln&&ln.onVnodeMounted)){const ti=lt;zv(()=>zC(nn,_r,ti),je)}(lt.shapeFlag&256||_r&&HAe(_r.vnode)&&_r.vnode.shapeFlag&256)&&He.a&&zv(He.a,je),He.isMounted=!0,lt=Ke=mn=null}},cn=He.effect=new ENe(sn,T6,()=>ONe(xn),He.scope),xn=He.update=()=>{cn.dirty&&cn.run()};xn.id=He.uid,EN(He,!0),xn()},ce=(He,lt,Ke)=>{lt.component=He;const mn=He.vnode.props;He.vnode=lt,He.next=null,pgn(He,lt.props,mn,Ke),wgn(He,lt.children,Ke),yQ(),i5t(He),xQ()},$e=(He,lt,Ke,mn,je,zt,pt,sn,cn=!1)=>{const xn=He&&He.children,nn=He?He.shapeFlag:0,Qn=lt.children,{patchFlag:ln,shapeFlag:Hn}=lt;if(ln>0){if(ln&128){ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}else if(ln&256){Ye(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}}Hn&8?(nn&16&&Et(xn,je,zt),Qn!==xn&&C(Ke,Qn)):nn&16?Hn&16?ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn):Et(xn,je,zt,!0):(nn&8&&C(Ke,""),Hn&16&&Ae(Qn,Ke,mn,je,zt,pt,sn,cn))},Ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{He=He||V$,lt=lt||V$;const xn=He.length,nn=lt.length,Qn=Math.min(xn,nn);let ln;for(ln=0;lnnn?Et(He,je,zt,!0,!1,Qn):Ae(lt,Ke,mn,je,zt,pt,sn,cn,Qn)},ct=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{let xn=0;const nn=lt.length;let Qn=He.length-1,ln=nn-1;for(;xn<=Qn&&xn<=ln;){const Hn=He[xn],$t=lt[xn]=cn?jI(lt[xn]):ZC(lt[xn]);if(KJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;xn++}for(;xn<=Qn&&xn<=ln;){const Hn=He[Qn],$t=lt[ln]=cn?jI(lt[ln]):ZC(lt[ln]);if(KJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;Qn--,ln--}if(xn>Qn){if(xn<=ln){const Hn=ln+1,$t=Hnln)for(;xn<=Qn;)Qe(He[xn],je,zt,!0),xn++;else{const Hn=xn,$t=xn,_r=new Map;for(xn=$t;xn<=ln;xn++){const lr=lt[xn]=cn?jI(lt[xn]):ZC(lt[xn]);lr.key!=null&&_r.set(lr.key,xn)}let Lr,ti=0;const _i=ln-$t+1;let ro=!1,Js=0;const mi=new Array(_i);for(xn=0;xn<_i;xn++)mi[xn]=0;for(xn=Hn;xn<=Qn;xn++){const lr=He[xn];if(ti>=_i){Qe(lr,je,zt,!0);continue}let vr;if(lr.key!=null)vr=_r.get(lr.key);else for(Lr=$t;Lr<=ln;Lr++)if(mi[Lr-$t]===0&&KJ(lr,lt[Lr])){vr=Lr;break}vr===void 0?Qe(lr,je,zt,!0):(mi[vr-$t]=xn+1,vr>=Js?Js=vr:ro=!0,z(lr,lt[vr],Ke,null,je,zt,pt,sn,cn),ti++)}const Ta=ro?kgn(mi):V$;for(Lr=Ta.length-1,xn=_i-1;xn>=0;xn--){const lr=$t+xn,vr=lt[lr],Zr=lr+1{const{el:zt,type:pt,transition:sn,children:cn,shapeFlag:xn}=He;if(xn&6){ot(He.component.subTree,lt,Ke,mn);return}if(xn&128){He.suspense.move(lt,Ke,mn);return}if(xn&64){pt.move(He,lt,Ke,Kt);return}if(pt===bB){l(zt,lt,Ke);for(let Qn=0;Qnsn.enter(zt),je);else{const{leave:Qn,delayLeave:ln,afterLeave:Hn}=sn,$t=()=>l(zt,lt,Ke),_r=()=>{Qn(zt,()=>{$t(),Hn&&Hn()})};ln?ln(zt,$t,_r):_r()}else l(zt,lt,Ke)},Qe=(He,lt,Ke,mn=!1,je=!1)=>{const{type:zt,props:pt,ref:sn,children:cn,dynamicChildren:xn,shapeFlag:nn,patchFlag:Qn,dirs:ln}=He;if(sn!=null&&ZFe(sn,null,Ke,He,!0),nn&256){lt.ctx.deactivate(He);return}const Hn=nn&1&&ln,$t=!HAe(He);let _r;if($t&&(_r=pt&&pt.onVnodeBeforeUnmount)&&zC(_r,lt,He),nn&6)Rt(He.component,Ke,mn);else{if(nn&128){He.suspense.unmount(Ke,mn);return}Hn&&CN(He,null,lt,"beforeUnmount"),nn&64?He.type.remove(He,lt,Ke,je,Kt,mn):xn&&(zt!==bB||Qn>0&&Qn&64)?Et(xn,lt,Ke,!1,!0):(zt===bB&&Qn&384||!je&&nn&16)&&Et(cn,lt,Ke),mn&&Le(He)}($t&&(_r=pt&&pt.onVnodeUnmounted)||Hn)&&zv(()=>{_r&&zC(_r,lt,He),Hn&&CN(He,null,lt,"unmounted")},Ke)},Le=He=>{const{type:lt,el:Ke,anchor:mn,transition:je}=He;if(lt===bB){ht(Ke,mn);return}if(lt===$Le){G(He);return}const zt=()=>{h(Ke),je&&!je.persisted&&je.afterLeave&&je.afterLeave()};if(He.shapeFlag&1&&je&&!je.persisted){const{leave:pt,delayLeave:sn}=je,cn=()=>pt(Ke,zt);sn?sn(He.el,zt,cn):cn()}else zt()},ht=(He,lt)=>{let Ke;for(;He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},Rt=(He,lt,Ke)=>{const{bum:mn,scope:je,update:zt,subTree:pt,um:sn}=He;mn&&QLe(mn),je.stop(),zt&&(zt.active=!1,Qe(pt,He,lt,Ke)),sn&&zv(sn,lt),zv(()=>{He.isUnmounted=!0},lt),lt&<.pendingBranch&&!lt.isUnmounted&&He.asyncDep&&!He.asyncResolved&&He.suspenseId===lt.pendingId&&(lt.deps--,lt.deps===0&<.resolve())},Et=(He,lt,Ke,mn=!1,je=!1,zt=0)=>{for(let pt=zt;ptHe.shapeFlag&6?Rn(He.component.subTree):He.shapeFlag&128?He.suspense.next():L(He.anchor||He.el);let xt=!1;const on=(He,lt,Ke)=>{He==null?lt._vnode&&Qe(lt._vnode,null,null,!0):z(lt._vnode||null,He,lt,null,null,null,Ke),xt||(xt=!0,i5t(),XTt(),xt=!1),lt._vnode=He},Kt={p:z,um:Qe,m:ot,r:Le,mt:Y,mc:Ae,pc:$e,pbc:ve,n:Rn,o:r};let Xt,Vt;return i&&([Xt,Vt]=i(Kt)),{render:on,hydrate:Xt,createApp:dgn(on,Xt)}}function HLe({type:r,props:i},o){return o==="svg"&&r==="foreignObject"||o==="mathml"&&r==="annotation-xml"&&i&&i.encoding&&i.encoding.includes("html")?void 0:o}function EN({effect:r,update:i},o){r.allowRecurse=i.allowRecurse=o}function xgn(r,i){return(!r||r&&!r.pendingBranch)&&i&&!i.persisted}function cBt(r,i,o=!1){const l=r.children,h=i.children;if(Pl(l)&&Pl(h))for(let g=0;g>1,r[o[b]]0&&(i[l]=o[g-1]),o[g]=l)}}for(g=o.length,d=o[g-1];g-- >0;)o[g]=d,d=i[d];return o}function lBt(r){const i=r.subTree.component;if(i)return i.asyncDep&&!i.asyncResolved?i:lBt(i)}const Cgn=r=>r.__isTeleport,bB=Symbol.for("v-fgt"),hpe=Symbol.for("v-txt"),wee=Symbol.for("v-cmt"),$Le=Symbol.for("v-stc"),GZ=[];let fk=null;function uBt(r=!1){GZ.push(fk=r?null:[])}function Egn(){GZ.pop(),fk=GZ[GZ.length-1]||null}let vee=1;function A5t(r){vee+=r}function hBt(r){return r.dynamicChildren=vee>0?fk||V$:null,Egn(),vee>0&&fk&&fk.push(r),r}function Tgn(r,i,o,l,h,g){return hBt(PNe(r,i,o,l,h,g,!0))}function Bgn(r,i,o,l,h){return hBt(eM(r,i,o,l,h,!0))}function _gn(r){return r?r.__v_isVNode===!0:!1}function KJ(r,i){return r.type===i.type&&r.key===i.key}const fpe="__vInternal",fBt=({key:r})=>r??null,jAe=({ref:r,ref_key:i,ref_for:o})=>(typeof r=="number"&&(r=""+r),r!=null?Im(r)||Z3(r)||Au(r)?{i:r9,r,k:i,f:!!o}:r:null);function PNe(r,i=null,o=null,l=0,h=null,g=r===bB?0:1,d=!1,b=!1){const w={__v_isVNode:!0,__v_skip:!0,type:r,props:i,key:i&&fBt(i),ref:i&&jAe(i),scopeId:WTt,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:g,patchFlag:l,dynamicProps:h,dynamicChildren:null,appContext:null,ctx:r9};return b?(RNe(w,o),g&128&&r.normalize(w)):o&&(w.shapeFlag|=Im(o)?8:16),vee>0&&!d&&fk&&(w.patchFlag>0||g&6)&&w.patchFlag!==32&&fk.push(w),w}const eM=Sgn;function Sgn(r,i=null,o=null,l=0,h=null,g=!1){if((!r||r===$0n)&&(r=wee),_gn(r)){const b=dj(r,i,!0);return o&&RNe(b,o),vee>0&&!g&&fk&&(b.shapeFlag&6?fk[fk.indexOf(r)]=b:fk.push(b)),b.patchFlag|=-2,b}if(Ugn(r)&&(r=r.__vccOpts),i){i=Lgn(i);let{class:b,style:w}=i;b&&!Im(b)&&(i.class=CNe(b)),ng(w)&&(UTt(w)&&!Pl(w)&&(w=Ib({},w)),i.style=kNe(w))}const d=Im(r)?1:j0n(r)?128:Cgn(r)?64:ng(r)?4:Au(r)?2:0;return PNe(r,i,o,l,h,d,g,!0)}function Lgn(r){return r?UTt(r)||fpe in r?Ib({},r):r:null}function dj(r,i,o=!1){const{props:l,ref:h,patchFlag:g,children:d}=r,b=i?Mgn(l||{},i):l;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:b,key:b&&fBt(b),ref:i&&i.ref?o&&h?Pl(h)?h.concat(jAe(i)):[h,jAe(i)]:jAe(i):h,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:d,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:i&&r.type!==bB?g===-1?16:g|16:g,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&dj(r.ssContent),ssFallback:r.ssFallback&&dj(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function Ign(r=" ",i=0){return eM(hpe,null,r,i)}function ZC(r){return r==null||typeof r=="boolean"?eM(wee):Pl(r)?eM(bB,null,r.slice()):typeof r=="object"?jI(r):eM(hpe,null,String(r))}function jI(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:dj(r)}function RNe(r,i){let o=0;const{shapeFlag:l}=r;if(i==null)i=null;else if(Pl(i))o=16;else if(typeof i=="object")if(l&65){const h=i.default;h&&(h._c&&(h._d=!1),RNe(r,h()),h._c&&(h._d=!0));return}else{o=32;const h=i._;!h&&!(fpe in i)?i._ctx=r9:h===3&&r9&&(r9.slots._===1?i._=1:(i._=2,r.patchFlag|=1024))}else Au(i)?(i={default:i,_ctx:r9},o=32):(i=String(i),l&64?(o=16,i=[Ign(i)]):o=8);r.children=i,r.shapeFlag|=o}function Mgn(...r){const i={};for(let o=0;o{let h;return(h=r[o])||(h=r[o]=[]),h.push(l),g=>{h.length>1?h.forEach(d=>d(g)):h[0](g)}};V0e=i("__VUE_INSTANCE_SETTERS__",o=>W2=o),eDe=i("__VUE_SSR_SETTERS__",o=>dpe=o)}const ote=r=>{const i=W2;return V0e(r),r.scope.on(),()=>{r.scope.off(),V0e(i)}},g5t=()=>{W2&&W2.scope.off(),V0e(null)};function dBt(r){return r.vnode.shapeFlag&4}let dpe=!1;function Ngn(r,i=!1){i&&eDe(i);const{props:o,children:l}=r.vnode,h=dBt(r);ggn(r,o,h,i),bgn(r,l);const g=h?Qgn(r,i):void 0;return i&&eDe(!1),g}function Qgn(r,i){const o=r.type;r.accessCache=Object.create(null),r.proxy=HTt(new Proxy(r.ctx,ogn));const{setup:l}=o;if(l){const h=r.setupContext=l.length>1?Rgn(r):null,g=ote(r);yQ();const d=ZI(l,r,0,[r.props,h]);if(xQ(),g(),CTt(d)){if(d.then(g5t,g5t),i)return d.then(b=>{p5t(r,b,i)}).catch(b=>{cpe(b,r,0)});r.asyncDep=d}else p5t(r,d,i)}else ABt(r,i)}function p5t(r,i,o){Au(i)?r.type.__ssrInlineRender?r.ssrRender=i:r.render=i:ng(i)&&(r.setupState=jTt(i)),ABt(r,o)}let m5t;function ABt(r,i,o){const l=r.type;if(!r.render){if(!i&&m5t&&!l.render){const h=l.template||NNe(r).template;if(h){const{isCustomElement:g,compilerOptions:d}=r.appContext.config,{delimiters:b,compilerOptions:w}=l,x=Ib(Ib({isCustomElement:g,delimiters:b},d),w);l.render=m5t(h,x)}}r.render=l.render||T6}{const h=ote(r);yQ();try{sgn(r)}finally{xQ(),h()}}}function Pgn(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(i,o){return ry(r,"get","$attrs"),i[o]}}))}function Rgn(r){const i=o=>{r.exposed=o||{}};return{get attrs(){return Pgn(r)},slots:r.slots,emit:r.emit,expose:i}}function UNe(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(jTt(HTt(r.exposed)),{get(i,o){if(o in i)return i[o];if(o in XZ)return XZ[o](r)},has(i,o){return o in i||o in XZ}}))}function Ugn(r){return Au(r)&&"__vccOpts"in r}const Hgn=(r,i)=>T0n(r,i,dpe),$gn="3.4.13";/** +**/function JM(r,i,o,l){let h;try{h=l?r(...l):r()}catch(g){spe(g,i,o)}return h}function g7(r,i,o,l){if(Au(r)){const g=JM(r,i,o,l);return g&&kTt(g)&&g.catch(d=>{spe(d,i,o)}),g}const h=[];for(let g=0;g>>1,h=kb[l],g=mee(h);gt9&&kb.splice(i,1)}function F0n(r){Pl(r)?W$.push(...r):(!HM||!HM.includes(r,r.allowRecurse?UN+1:UN))&&W$.push(r),KTt()}function r5t(r,i,o=pee?t9+1:0){for(;omee(o)-mee(l));if(W$.length=0,HM){HM.push(...i);return}for(HM=i,UN=0;UNr.id==null?1/0:r.id,D0n=(r,i)=>{const o=mee(r)-mee(i);if(o===0){if(r.pre&&!i.pre)return-1;if(i.pre&&!r.pre)return 1}return o};function XTt(r){GFe=!1,pee=!0,kb.sort(D0n);try{for(t9=0;t9Lm(M)?M.trim():M)),B&&(h=o.map(WAn))}let b,w=l[b=OLe(i)]||l[b=OLe(hj(i))];!w&&g&&(w=l[b=OLe(Uj(i))]),w&&g7(w,r,6,h);const x=l[b+"Once"];if(x){if(!r.emitted)r.emitted={};else if(r.emitted[b])return;r.emitted[b]=!0,g7(x,r,6,h)}}function GTt(r,i,o=!1){const l=i.emitsCache,h=l.get(r);if(h!==void 0)return h;const g=r.emits;let d={},b=!1;if(!Au(r)){const w=x=>{const C=GTt(x,i,!0);C&&(b=!0,Lb(d,C))};!o&&i.mixins.length&&i.mixins.forEach(w),r.extends&&w(r.extends),r.mixins&&r.mixins.forEach(w)}return!g&&!b?(ng(r)&&l.set(r,null),null):(Pl(g)?g.forEach(w=>d[w]=null):Lb(d,g),ng(r)&&l.set(r,d),d)}function cpe(r,i){return!r||!npe(i)?!1:(i=i.slice(2).replace(/Once$/,""),mh(r,i[0].toLowerCase()+i.slice(1))||mh(r,Uj(i))||mh(r,i))}let n9=null,VTt=null;function K0e(r){const i=n9;return n9=r,VTt=r&&r.type.__scopeId||null,i}function N0n(r,i=n9,o){if(!i||r._n)return r;const l=(...h)=>{l._d&&d5t(-1);const g=K0e(i);let d;try{d=r(...h)}finally{K0e(g),l._d&&d5t(1)}return d};return l._n=!0,l._c=!0,l._d=!0,l}function QLe(r){const{type:i,vnode:o,proxy:l,withProxy:h,props:g,propsOptions:[d],slots:b,attrs:w,emit:x,render:C,renderCache:B,data:L,setupState:M,ctx:P,inheritAttrs:z}=r;let W,Q;const V=K0e(r);try{if(o.shapeFlag&4){const G=h||l,ae=G;W=JC(C.call(ae,G,B,g,M,L,P)),Q=w}else{const G=i;W=JC(G.length>1?G(g,{attrs:w,slots:b,emit:x}):G(g,null)),Q=i.props?w:Q0n(w)}}catch(G){zZ.length=0,spe(G,r,1),W=ZM(bee)}let oe=W;if(Q&&z!==!1){const G=Object.keys(Q),{shapeFlag:ae}=oe;G.length&&ae&7&&(d&&G.some(wNe)&&(Q=P0n(Q,d)),oe=fj(oe,Q))}return o.dirs&&(oe=fj(oe),oe.dirs=oe.dirs?oe.dirs.concat(o.dirs):o.dirs),o.transition&&(oe.transition=o.transition),W=oe,K0e(V),W}const Q0n=r=>{let i;for(const o in r)(o==="class"||o==="style"||npe(o))&&((i||(i={}))[o]=r[o]);return i},P0n=(r,i)=>{const o={};for(const l in r)(!wNe(l)||!(l.slice(9)in i))&&(o[l]=r[l]);return o};function R0n(r,i,o){const{props:l,children:h,component:g}=r,{props:d,children:b,patchFlag:w}=i,x=g.emitsOptions;if(i.dirs||i.transition)return!0;if(o&&w>=0){if(w&1024)return!0;if(w&16)return l?i5t(l,d,x):!!d;if(w&8){const C=i.dynamicProps;for(let B=0;Br.__isSuspense;function j0n(r,i){i&&i.pendingBranch?Pl(r)?i.effects.push(...r):i.effects.push(r):F0n(r)}const K0n=Symbol.for("v-scx"),z0n=()=>HAe(K0n),Rde={};function PLe(r,i,o){return WTt(r,i,o)}function WTt(r,i,{immediate:o,deep:l,flush:h,once:g,onTrack:d,onTrigger:b}=_d){if(i&&g){const ne=i;i=(...de)=>{ne(...de),ae()}}const w=V2,x=ne=>l===!0?ne:D$(ne,l===!1?1:void 0);let C,B=!1,L=!1;if(J3(r)?(C=()=>r.value,B=XFe(r)):V$(r)?(C=()=>x(r),B=!0):Pl(r)?(L=!0,B=r.some(ne=>V$(ne)||XFe(ne)),C=()=>r.map(ne=>{if(J3(ne))return ne.value;if(V$(ne))return x(ne);if(Au(ne))return JM(ne,w,2)})):Au(r)?i?C=()=>JM(r,w,2):C=()=>(M&&M(),g7(r,w,3,[P])):C=E6,i&&l){const ne=C;C=()=>D$(ne())}let M,P=ne=>{M=oe.onStop=()=>{JM(ne,w,4),M=oe.onStop=void 0}},z;if(fpe)if(P=E6,i?o&&g7(i,w,3,[C(),L?[]:void 0,P]):C(),h==="sync"){const ne=z0n();z=ne.__watcherHandles||(ne.__watcherHandles=[])}else return E6;let W=L?new Array(r.length).fill(Rde):Rde;const Q=()=>{if(!(!oe.active||!oe.dirty))if(i){const ne=oe.run();(l||B||(L?ne.some((de,Ae)=>aQ(de,W[Ae])):aQ(ne,W)))&&(M&&M(),g7(i,w,3,[ne,W===Rde?void 0:L&&W[0]===Rde?[]:W,P]),W=ne)}else oe.run()};Q.allowRecurse=!!i;let V;h==="sync"?V=Q:h==="post"?V=()=>Kv(Q,w&&w.suspense):(Q.pre=!0,w&&(Q.id=w.uid),V=()=>DNe(Q));const oe=new CNe(C,E6,V),G=i0n(),ae=()=>{oe.stop(),G&&vNe(G.effects,oe)};return i?o?Q():W=oe.run():h==="post"?Kv(oe.run.bind(oe),w&&w.suspense):oe.run(),z&&z.push(ae),ae}function X0n(r,i,o){const l=this.proxy,h=Lm(r)?r.includes(".")?qTt(l,r):()=>l[r]:r.bind(l,l);let g;Au(i)?g=i:(g=i.handler,o=i);const d=ate(this),b=WTt(h,g.bind(l),o);return d(),b}function qTt(r,i){const o=i.split(".");return()=>{let l=r;for(let h=0;h0){if(o>=i)return r;o++}if(l=l||new Set,l.has(r))return r;if(l.add(r),J3(r))D$(r.value,i,o,l);else if(Pl(r))for(let h=0;h{D$(h,i,o,l)});else if(XAn(r))for(const h in r)D$(r[h],i,o,l);return r}function kN(r,i,o,l){const h=r.dirs,g=i&&i.dirs;for(let d=0;d!!r.type.__asyncLoader,YTt=r=>r.type.__isKeepAlive;function G0n(r,i){JTt(r,"a",i)}function V0n(r,i){JTt(r,"da",i)}function JTt(r,i,o=V2){const l=r.__wdc||(r.__wdc=()=>{let h=o;for(;h;){if(h.isDeactivated)return;h=h.parent}return r()});if(lpe(i,l,o),o){let h=o.parent;for(;h&&h.parent;)YTt(h.parent.vnode)&&W0n(l,i,o,h),h=h.parent}}function W0n(r,i,o,l){const h=lpe(i,r,l,!0);ZTt(()=>{vNe(l[i],h)},o)}function lpe(r,i,o=V2,l=!1){if(o){const h=o[r]||(o[r]=[]),g=i.__weh||(i.__weh=(...d)=>{if(o.isUnmounted)return;vQ();const b=ate(o),w=g7(i,o,r,d);return b(),yQ(),w});return l?h.unshift(g):h.push(g),g}}const GB=r=>(i,o=V2)=>(!fpe||r==="sp")&&lpe(r,(...l)=>i(...l),o),q0n=GB("bm"),Y0n=GB("m"),J0n=GB("bu"),Z0n=GB("u"),egn=GB("bum"),ZTt=GB("um"),tgn=GB("sp"),ngn=GB("rtg"),rgn=GB("rtc");function ign(r,i=V2){lpe("ec",r,i)}const VFe=r=>r?fBt(r)?RNe(r)||r.proxy:VFe(r.parent):null,KZ=Lb(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>VFe(r.parent),$root:r=>VFe(r.root),$emit:r=>r.emit,$options:r=>ONe(r),$forceUpdate:r=>r.f||(r.f=()=>{r.effect.dirty=!0,DNe(r.update)}),$nextTick:r=>r.n||(r.n=L0n.bind(r.proxy)),$watch:r=>X0n.bind(r)}),RLe=(r,i)=>r!==_d&&!r.__isScriptSetup&&mh(r,i),agn={get({_:r},i){const{ctx:o,setupState:l,data:h,props:g,accessCache:d,type:b,appContext:w}=r;let x;if(i[0]!=="$"){const M=d[i];if(M!==void 0)switch(M){case 1:return l[i];case 2:return h[i];case 4:return o[i];case 3:return g[i]}else{if(RLe(l,i))return d[i]=1,l[i];if(h!==_d&&mh(h,i))return d[i]=2,h[i];if((x=r.propsOptions[0])&&mh(x,i))return d[i]=3,g[i];if(o!==_d&&mh(o,i))return d[i]=4,o[i];WFe&&(d[i]=0)}}const C=KZ[i];let B,L;if(C)return i==="$attrs"&&ny(r,"get",i),C(r);if((B=b.__cssModules)&&(B=B[i]))return B;if(o!==_d&&mh(o,i))return d[i]=4,o[i];if(L=w.config.globalProperties,mh(L,i))return L[i]},set({_:r},i,o){const{data:l,setupState:h,ctx:g}=r;return RLe(h,i)?(h[i]=o,!0):l!==_d&&mh(l,i)?(l[i]=o,!0):mh(r.props,i)||i[0]==="$"&&i.slice(1)in r?!1:(g[i]=o,!0)},has({_:{data:r,setupState:i,accessCache:o,ctx:l,appContext:h,propsOptions:g}},d){let b;return!!o[d]||r!==_d&&mh(r,d)||RLe(i,d)||(b=g[0])&&mh(b,d)||mh(l,d)||mh(KZ,d)||mh(h.config.globalProperties,d)},defineProperty(r,i,o){return o.get!=null?r._.accessCache[i]=0:mh(o,"value")&&this.set(r,i,o.value,null),Reflect.defineProperty(r,i,o)}};function a5t(r){return Pl(r)?r.reduce((i,o)=>(i[o]=null,i),{}):r}let WFe=!0;function ogn(r){const i=ONe(r),o=r.proxy,l=r.ctx;WFe=!1,i.beforeCreate&&o5t(i.beforeCreate,r,"bc");const{data:h,computed:g,methods:d,watch:b,provide:w,inject:x,created:C,beforeMount:B,mounted:L,beforeUpdate:M,updated:P,activated:z,deactivated:W,beforeDestroy:Q,beforeUnmount:V,destroyed:oe,unmounted:G,render:ae,renderTracked:ne,renderTriggered:de,errorCaptured:Ae,serverPrefetch:le,expose:ve,inheritAttrs:me,components:ee,directives:ye,filters:Y}=i;if(x&&sgn(x,l,null),d)for(const ce in d){const $e=d[ce];Au($e)&&(l[ce]=$e.bind(o))}if(h){const ce=h.call(o,o);ng(ce)&&(r.data=SNe(ce))}if(WFe=!0,g)for(const ce in g){const $e=g[ce],Ye=Au($e)?$e.bind(o,o):Au($e.get)?$e.get.bind(o,o):E6,ct=!Au($e)&&Au($e.set)?$e.set.bind(o):E6,ot=Ugn({get:Ye,set:ct});Object.defineProperty(l,ce,{enumerable:!0,configurable:!0,get:()=>ot.value,set:Qe=>ot.value=Qe})}if(b)for(const ce in b)eBt(b[ce],l,o,ce);if(w){const ce=Au(w)?w.call(o):w;Reflect.ownKeys(ce).forEach($e=>{dgn($e,ce[$e])})}C&&o5t(C,r,"c");function fe(ce,$e){Pl($e)?$e.forEach(Ye=>ce(Ye.bind(o))):$e&&ce($e.bind(o))}if(fe(q0n,B),fe(Y0n,L),fe(J0n,M),fe(Z0n,P),fe(G0n,z),fe(V0n,W),fe(ign,Ae),fe(rgn,ne),fe(ngn,de),fe(egn,V),fe(ZTt,G),fe(tgn,le),Pl(ve))if(ve.length){const ce=r.exposed||(r.exposed={});ve.forEach($e=>{Object.defineProperty(ce,$e,{get:()=>o[$e],set:Ye=>o[$e]=Ye})})}else r.exposed||(r.exposed={});ae&&r.render===E6&&(r.render=ae),me!=null&&(r.inheritAttrs=me),ee&&(r.components=ee),ye&&(r.directives=ye)}function sgn(r,i,o=E6){Pl(r)&&(r=qFe(r));for(const l in r){const h=r[l];let g;ng(h)?"default"in h?g=HAe(h.from||l,h.default,!0):g=HAe(h.from||l):g=HAe(h),J3(g)?Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>g.value,set:d=>g.value=d}):i[l]=g}}function o5t(r,i,o){g7(Pl(r)?r.map(l=>l.bind(i.proxy)):r.bind(i.proxy),i,o)}function eBt(r,i,o,l){const h=l.includes(".")?qTt(o,l):()=>o[l];if(Lm(r)){const g=i[r];Au(g)&&PLe(h,g)}else if(Au(r))PLe(h,r.bind(o));else if(ng(r))if(Pl(r))r.forEach(g=>eBt(g,i,o,l));else{const g=Au(r.handler)?r.handler.bind(o):i[r.handler];Au(g)&&PLe(h,g,r)}}function ONe(r){const i=r.type,{mixins:o,extends:l}=i,{mixins:h,optionsCache:g,config:{optionMergeStrategies:d}}=r.appContext,b=g.get(i);let w;return b?w=b:!h.length&&!o&&!l?w=i:(w={},h.length&&h.forEach(x=>z0e(w,x,d,!0)),z0e(w,i,d)),ng(i)&&g.set(i,w),w}function z0e(r,i,o,l=!1){const{mixins:h,extends:g}=i;g&&z0e(r,g,o,!0),h&&h.forEach(d=>z0e(r,d,o,!0));for(const d in i)if(!(l&&d==="expose")){const b=cgn[d]||o&&o[d];r[d]=b?b(r[d],i[d]):i[d]}return r}const cgn={data:s5t,props:c5t,emits:c5t,methods:yZ,computed:yZ,beforeCreate:j2,created:j2,beforeMount:j2,mounted:j2,beforeUpdate:j2,updated:j2,beforeDestroy:j2,beforeUnmount:j2,destroyed:j2,unmounted:j2,activated:j2,deactivated:j2,errorCaptured:j2,serverPrefetch:j2,components:yZ,directives:yZ,watch:ugn,provide:s5t,inject:lgn};function s5t(r,i){return i?r?function(){return Lb(Au(r)?r.call(this,this):r,Au(i)?i.call(this,this):i)}:i:r}function lgn(r,i){return yZ(qFe(r),qFe(i))}function qFe(r){if(Pl(r)){const i={};for(let o=0;o1)return o&&Au(i)?i.call(l&&l.proxy):i}}function Agn(r,i,o,l=!1){const h={},g={};j0e(g,hpe,1),r.propsDefaults=Object.create(null),nBt(r,i,h,g);for(const d in r.propsOptions[0])d in h||(h[d]=void 0);o?r.props=l?h:C0n(h):r.type.props?r.props=h:r.props=g,r.attrs=g}function ggn(r,i,o,l){const{props:h,attrs:g,vnode:{patchFlag:d}}=r,b=Ff(h),[w]=r.propsOptions;let x=!1;if((l||d>0)&&!(d&16)){if(d&8){const C=r.vnode.dynamicProps;for(let B=0;B{w=!0;const[L,M]=rBt(B,i,!0);Lb(d,L),M&&b.push(...M)};!o&&i.mixins.length&&i.mixins.forEach(C),r.extends&&C(r.extends),r.mixins&&r.mixins.forEach(C)}if(!g&&!w)return ng(r)&&l.set(r,G$),G$;if(Pl(g))for(let C=0;C-1,M[1]=z<0||P-1||mh(M,"default"))&&b.push(B)}}}const x=[d,b];return ng(r)&&l.set(r,x),x}function l5t(r){return r[0]!=="$"}function u5t(r){const i=r&&r.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:r===null?"null":""}function h5t(r,i){return u5t(r)===u5t(i)}function f5t(r,i){return Pl(i)?i.findIndex(o=>h5t(o,r)):Au(i)&&h5t(i,r)?0:-1}const iBt=r=>r[0]==="_"||r==="$stable",NNe=r=>Pl(r)?r.map(JC):[JC(r)],pgn=(r,i,o)=>{if(i._n)return i;const l=N0n((...h)=>NNe(i(...h)),o);return l._c=!1,l},aBt=(r,i,o)=>{const l=r._ctx;for(const h in r){if(iBt(h))continue;const g=r[h];if(Au(g))i[h]=pgn(h,g,l);else if(g!=null){const d=NNe(g);i[h]=()=>d}}},oBt=(r,i)=>{const o=NNe(i);r.slots.default=()=>o},mgn=(r,i)=>{if(r.vnode.shapeFlag&32){const o=i._;o?(r.slots=Ff(i),j0e(i,"_",o)):aBt(i,r.slots={})}else r.slots={},i&&oBt(r,i);j0e(r.slots,hpe,1)},bgn=(r,i,o)=>{const{vnode:l,slots:h}=r;let g=!0,d=_d;if(l.shapeFlag&32){const b=i._;b?o&&b===1?g=!1:(Lb(h,i),!o&&b===1&&delete h._):(g=!i.$stable,aBt(i,h)),d=i}else i&&(oBt(r,i),d={default:1});if(g)for(const b in h)!iBt(b)&&d[b]==null&&delete h[b]};function JFe(r,i,o,l,h=!1){if(Pl(r)){r.forEach((L,M)=>JFe(L,i&&(Pl(i)?i[M]:i),o,l,h));return}if(UAe(l)&&!h)return;const g=l.shapeFlag&4?RNe(l.component)||l.component.proxy:l.el,d=h?null:g,{i:b,r:w}=r,x=i&&i.r,C=b.refs===_d?b.refs={}:b.refs,B=b.setupState;if(x!=null&&x!==w&&(Lm(x)?(C[x]=null,mh(B,x)&&(B[x]=null)):J3(x)&&(x.value=null)),Au(w))JM(w,b,12,[d,C]);else{const L=Lm(w),M=J3(w);if(L||M){const P=()=>{if(r.f){const z=L?mh(B,w)?B[w]:C[w]:w.value;h?Pl(z)&&vNe(z,g):Pl(z)?z.includes(g)||z.push(g):L?(C[w]=[g],mh(B,w)&&(B[w]=C[w])):(w.value=[g],r.k&&(C[r.k]=w.value))}else L?(C[w]=d,mh(B,w)&&(B[w]=d)):M&&(w.value=d,r.k&&(C[r.k]=d))};d?(P.id=-1,Kv(P,o)):P()}}}const Kv=j0n;function wgn(r){return vgn(r)}function vgn(r,i){const o=ETt();o.__VUE__=!0;const{insert:l,remove:h,patchProp:g,createElement:d,createText:b,createComment:w,setText:x,setElementText:C,parentNode:B,nextSibling:L,setScopeId:M=E6,insertStaticContent:P}=r,z=(He,lt,Ke,mn=null,je=null,zt=null,pt=void 0,sn=null,cn=!!lt.dynamicChildren)=>{if(He===lt)return;He&&!jJ(He,lt)&&(mn=Rn(He),Qe(He,je,zt,!0),He=null),lt.patchFlag===-2&&(cn=!1,lt.dynamicChildren=null);const{type:xn,ref:nn,shapeFlag:Qn}=lt;switch(xn){case upe:W(He,lt,Ke,mn);break;case bee:Q(He,lt,Ke,mn);break;case HLe:He==null&&V(lt,Ke,mn,pt);break;case mB:ee(He,lt,Ke,mn,je,zt,pt,sn,cn);break;default:Qn&1?ae(He,lt,Ke,mn,je,zt,pt,sn,cn):Qn&6?ye(He,lt,Ke,mn,je,zt,pt,sn,cn):(Qn&64||Qn&128)&&xn.process(He,lt,Ke,mn,je,zt,pt,sn,cn,Kt)}nn!=null&&je&&JFe(nn,He&&He.ref,zt,lt||He,!lt)},W=(He,lt,Ke,mn)=>{if(He==null)l(lt.el=b(lt.children),Ke,mn);else{const je=lt.el=He.el;lt.children!==He.children&&x(je,lt.children)}},Q=(He,lt,Ke,mn)=>{He==null?l(lt.el=w(lt.children||""),Ke,mn):lt.el=He.el},V=(He,lt,Ke,mn)=>{[He.el,He.anchor]=P(He.children,lt,Ke,mn,He.el,He.anchor)},oe=({el:He,anchor:lt},Ke,mn)=>{let je;for(;He&&He!==lt;)je=L(He),l(He,Ke,mn),He=je;l(lt,Ke,mn)},G=({el:He,anchor:lt})=>{let Ke;for(;He&&He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},ae=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.type==="svg"?pt="svg":lt.type==="math"&&(pt="mathml"),He==null?ne(lt,Ke,mn,je,zt,pt,sn,cn):le(He,lt,je,zt,pt,sn,cn)},ne=(He,lt,Ke,mn,je,zt,pt,sn)=>{let cn,xn;const{props:nn,shapeFlag:Qn,transition:ln,dirs:Hn}=He;if(cn=He.el=d(He.type,zt,nn&&nn.is,nn),Qn&8?C(cn,He.children):Qn&16&&Ae(He.children,cn,null,mn,je,ULe(He,zt),pt,sn),Hn&&kN(He,null,mn,"created"),de(cn,He,He.scopeId,pt,mn),nn){for(const _r in nn)_r!=="value"&&!RAe(_r)&&g(cn,_r,null,nn[_r],zt,He.children,mn,je,Et);"value"in nn&&g(cn,"value",null,nn.value,zt),(xn=nn.onVnodeBeforeMount)&&KC(xn,mn,He)}Hn&&kN(He,null,mn,"beforeMount");const $t=ygn(je,ln);$t&&ln.beforeEnter(cn),l(cn,lt,Ke),((xn=nn&&nn.onVnodeMounted)||$t||Hn)&&Kv(()=>{xn&&KC(xn,mn,He),$t&&ln.enter(cn),Hn&&kN(He,null,mn,"mounted")},je)},de=(He,lt,Ke,mn,je)=>{if(Ke&&M(He,Ke),mn)for(let zt=0;zt{for(let xn=cn;xn{const sn=lt.el=He.el;let{patchFlag:cn,dynamicChildren:xn,dirs:nn}=lt;cn|=He.patchFlag&16;const Qn=He.props||_d,ln=lt.props||_d;let Hn;if(Ke&&CN(Ke,!1),(Hn=ln.onVnodeBeforeUpdate)&&KC(Hn,Ke,lt,He),nn&&kN(lt,He,Ke,"beforeUpdate"),Ke&&CN(Ke,!0),xn?ve(He.dynamicChildren,xn,sn,Ke,mn,ULe(lt,je),zt):pt||$e(He,lt,sn,null,Ke,mn,ULe(lt,je),zt,!1),cn>0){if(cn&16)me(sn,lt,Qn,ln,Ke,mn,je);else if(cn&2&&Qn.class!==ln.class&&g(sn,"class",null,ln.class,je),cn&4&&g(sn,"style",Qn.style,ln.style,je),cn&8){const $t=lt.dynamicProps;for(let _r=0;_r<$t.length;_r++){const Lr=$t[_r],ti=Qn[Lr],_i=ln[Lr];(_i!==ti||Lr==="value")&&g(sn,Lr,ti,_i,je,He.children,Ke,mn,Et)}}cn&1&&He.children!==lt.children&&C(sn,lt.children)}else!pt&&xn==null&&me(sn,lt,Qn,ln,Ke,mn,je);((Hn=ln.onVnodeUpdated)||nn)&&Kv(()=>{Hn&&KC(Hn,Ke,lt,He),nn&&kN(lt,He,Ke,"updated")},mn)},ve=(He,lt,Ke,mn,je,zt,pt)=>{for(let sn=0;sn{if(Ke!==mn){if(Ke!==_d)for(const sn in Ke)!RAe(sn)&&!(sn in mn)&&g(He,sn,Ke[sn],null,pt,lt.children,je,zt,Et);for(const sn in mn){if(RAe(sn))continue;const cn=mn[sn],xn=Ke[sn];cn!==xn&&sn!=="value"&&g(He,sn,xn,cn,pt,lt.children,je,zt,Et)}"value"in mn&&g(He,"value",Ke.value,mn.value,pt)}},ee=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{const xn=lt.el=He?He.el:b(""),nn=lt.anchor=He?He.anchor:b("");let{patchFlag:Qn,dynamicChildren:ln,slotScopeIds:Hn}=lt;Hn&&(sn=sn?sn.concat(Hn):Hn),He==null?(l(xn,Ke,mn),l(nn,Ke,mn),Ae(lt.children||[],Ke,nn,je,zt,pt,sn,cn)):Qn>0&&Qn&64&&ln&&He.dynamicChildren?(ve(He.dynamicChildren,ln,Ke,je,zt,pt,sn),(lt.key!=null||je&<===je.subTree)&&sBt(He,lt,!0)):$e(He,lt,Ke,nn,je,zt,pt,sn,cn)},ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.slotScopeIds=sn,He==null?lt.shapeFlag&512?je.ctx.activate(lt,Ke,mn,pt,cn):Y(lt,Ke,mn,je,zt,pt,cn):Ee(He,lt,cn)},Y=(He,lt,Ke,mn,je,zt,pt)=>{const sn=He.component=Dgn(He,mn,je);if(YTt(He)&&(sn.ctx.renderer=Kt),Ogn(sn),sn.asyncDep){if(je&&je.registerDep(sn,fe),!He.el){const cn=sn.subTree=ZM(bee);Q(null,cn,lt,Ke)}}else fe(sn,He,lt,Ke,je,zt,pt)},Ee=(He,lt,Ke)=>{const mn=lt.component=He.component;if(R0n(He,lt,Ke))if(mn.asyncDep&&!mn.asyncResolved){ce(mn,lt,Ke);return}else mn.next=lt,I0n(mn.update),mn.effect.dirty=!0,mn.update();else lt.el=He.el,mn.vnode=lt},fe=(He,lt,Ke,mn,je,zt,pt)=>{const sn=()=>{if(He.isMounted){let{next:nn,bu:Qn,u:ln,parent:Hn,vnode:$t}=He;{const ro=cBt(He);if(ro){nn&&(nn.el=$t.el,ce(He,nn,pt)),ro.asyncDep.then(()=>{He.isUnmounted||sn()});return}}let _r=nn,Lr;CN(He,!1),nn?(nn.el=$t.el,ce(He,nn,pt)):nn=$t,Qn&&NLe(Qn),(Lr=nn.props&&nn.props.onVnodeBeforeUpdate)&&KC(Lr,Hn,nn,$t),CN(He,!0);const ti=QLe(He),_i=He.subTree;He.subTree=ti,z(_i,ti,B(_i.el),Rn(_i),He,je,zt),nn.el=ti.el,_r===null&&U0n(He,ti.el),ln&&Kv(ln,je),(Lr=nn.props&&nn.props.onVnodeUpdated)&&Kv(()=>KC(Lr,Hn,nn,$t),je)}else{let nn;const{el:Qn,props:ln}=lt,{bm:Hn,m:$t,parent:_r}=He,Lr=UAe(lt);if(CN(He,!1),Hn&&NLe(Hn),!Lr&&(nn=ln&&ln.onVnodeBeforeMount)&&KC(nn,_r,lt),CN(He,!0),Qn&&Vt){const ti=()=>{He.subTree=QLe(He),Vt(Qn,He.subTree,He,je,null)};Lr?lt.type.__asyncLoader().then(()=>!He.isUnmounted&&ti()):ti()}else{const ti=He.subTree=QLe(He);z(null,ti,Ke,mn,He,je,zt),lt.el=ti.el}if($t&&Kv($t,je),!Lr&&(nn=ln&&ln.onVnodeMounted)){const ti=lt;Kv(()=>KC(nn,_r,ti),je)}(lt.shapeFlag&256||_r&&UAe(_r.vnode)&&_r.vnode.shapeFlag&256)&&He.a&&Kv(He.a,je),He.isMounted=!0,lt=Ke=mn=null}},cn=He.effect=new CNe(sn,E6,()=>DNe(xn),He.scope),xn=He.update=()=>{cn.dirty&&cn.run()};xn.id=He.uid,CN(He,!0),xn()},ce=(He,lt,Ke)=>{lt.component=He;const mn=He.vnode.props;He.vnode=lt,He.next=null,ggn(He,lt.props,mn,Ke),bgn(He,lt.children,Ke),vQ(),r5t(He),yQ()},$e=(He,lt,Ke,mn,je,zt,pt,sn,cn=!1)=>{const xn=He&&He.children,nn=He?He.shapeFlag:0,Qn=lt.children,{patchFlag:ln,shapeFlag:Hn}=lt;if(ln>0){if(ln&128){ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}else if(ln&256){Ye(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}}Hn&8?(nn&16&&Et(xn,je,zt),Qn!==xn&&C(Ke,Qn)):nn&16?Hn&16?ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn):Et(xn,je,zt,!0):(nn&8&&C(Ke,""),Hn&16&&Ae(Qn,Ke,mn,je,zt,pt,sn,cn))},Ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{He=He||G$,lt=lt||G$;const xn=He.length,nn=lt.length,Qn=Math.min(xn,nn);let ln;for(ln=0;lnnn?Et(He,je,zt,!0,!1,Qn):Ae(lt,Ke,mn,je,zt,pt,sn,cn,Qn)},ct=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{let xn=0;const nn=lt.length;let Qn=He.length-1,ln=nn-1;for(;xn<=Qn&&xn<=ln;){const Hn=He[xn],$t=lt[xn]=cn?$M(lt[xn]):JC(lt[xn]);if(jJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;xn++}for(;xn<=Qn&&xn<=ln;){const Hn=He[Qn],$t=lt[ln]=cn?$M(lt[ln]):JC(lt[ln]);if(jJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;Qn--,ln--}if(xn>Qn){if(xn<=ln){const Hn=ln+1,$t=Hnln)for(;xn<=Qn;)Qe(He[xn],je,zt,!0),xn++;else{const Hn=xn,$t=xn,_r=new Map;for(xn=$t;xn<=ln;xn++){const lr=lt[xn]=cn?$M(lt[xn]):JC(lt[xn]);lr.key!=null&&_r.set(lr.key,xn)}let Lr,ti=0;const _i=ln-$t+1;let ro=!1,Js=0;const mi=new Array(_i);for(xn=0;xn<_i;xn++)mi[xn]=0;for(xn=Hn;xn<=Qn;xn++){const lr=He[xn];if(ti>=_i){Qe(lr,je,zt,!0);continue}let vr;if(lr.key!=null)vr=_r.get(lr.key);else for(Lr=$t;Lr<=ln;Lr++)if(mi[Lr-$t]===0&&jJ(lr,lt[Lr])){vr=Lr;break}vr===void 0?Qe(lr,je,zt,!0):(mi[vr-$t]=xn+1,vr>=Js?Js=vr:ro=!0,z(lr,lt[vr],Ke,null,je,zt,pt,sn,cn),ti++)}const Ta=ro?xgn(mi):G$;for(Lr=Ta.length-1,xn=_i-1;xn>=0;xn--){const lr=$t+xn,vr=lt[lr],Zr=lr+1{const{el:zt,type:pt,transition:sn,children:cn,shapeFlag:xn}=He;if(xn&6){ot(He.component.subTree,lt,Ke,mn);return}if(xn&128){He.suspense.move(lt,Ke,mn);return}if(xn&64){pt.move(He,lt,Ke,Kt);return}if(pt===mB){l(zt,lt,Ke);for(let Qn=0;Qnsn.enter(zt),je);else{const{leave:Qn,delayLeave:ln,afterLeave:Hn}=sn,$t=()=>l(zt,lt,Ke),_r=()=>{Qn(zt,()=>{$t(),Hn&&Hn()})};ln?ln(zt,$t,_r):_r()}else l(zt,lt,Ke)},Qe=(He,lt,Ke,mn=!1,je=!1)=>{const{type:zt,props:pt,ref:sn,children:cn,dynamicChildren:xn,shapeFlag:nn,patchFlag:Qn,dirs:ln}=He;if(sn!=null&&JFe(sn,null,Ke,He,!0),nn&256){lt.ctx.deactivate(He);return}const Hn=nn&1&&ln,$t=!UAe(He);let _r;if($t&&(_r=pt&&pt.onVnodeBeforeUnmount)&&KC(_r,lt,He),nn&6)Rt(He.component,Ke,mn);else{if(nn&128){He.suspense.unmount(Ke,mn);return}Hn&&kN(He,null,lt,"beforeUnmount"),nn&64?He.type.remove(He,lt,Ke,je,Kt,mn):xn&&(zt!==mB||Qn>0&&Qn&64)?Et(xn,lt,Ke,!1,!0):(zt===mB&&Qn&384||!je&&nn&16)&&Et(cn,lt,Ke),mn&&Le(He)}($t&&(_r=pt&&pt.onVnodeUnmounted)||Hn)&&Kv(()=>{_r&&KC(_r,lt,He),Hn&&kN(He,null,lt,"unmounted")},Ke)},Le=He=>{const{type:lt,el:Ke,anchor:mn,transition:je}=He;if(lt===mB){ht(Ke,mn);return}if(lt===HLe){G(He);return}const zt=()=>{h(Ke),je&&!je.persisted&&je.afterLeave&&je.afterLeave()};if(He.shapeFlag&1&&je&&!je.persisted){const{leave:pt,delayLeave:sn}=je,cn=()=>pt(Ke,zt);sn?sn(He.el,zt,cn):cn()}else zt()},ht=(He,lt)=>{let Ke;for(;He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},Rt=(He,lt,Ke)=>{const{bum:mn,scope:je,update:zt,subTree:pt,um:sn}=He;mn&&NLe(mn),je.stop(),zt&&(zt.active=!1,Qe(pt,He,lt,Ke)),sn&&Kv(sn,lt),Kv(()=>{He.isUnmounted=!0},lt),lt&<.pendingBranch&&!lt.isUnmounted&&He.asyncDep&&!He.asyncResolved&&He.suspenseId===lt.pendingId&&(lt.deps--,lt.deps===0&<.resolve())},Et=(He,lt,Ke,mn=!1,je=!1,zt=0)=>{for(let pt=zt;ptHe.shapeFlag&6?Rn(He.component.subTree):He.shapeFlag&128?He.suspense.next():L(He.anchor||He.el);let xt=!1;const on=(He,lt,Ke)=>{He==null?lt._vnode&&Qe(lt._vnode,null,null,!0):z(lt._vnode||null,He,lt,null,null,null,Ke),xt||(xt=!0,r5t(),zTt(),xt=!1),lt._vnode=He},Kt={p:z,um:Qe,m:ot,r:Le,mt:Y,mc:Ae,pc:$e,pbc:ve,n:Rn,o:r};let Xt,Vt;return i&&([Xt,Vt]=i(Kt)),{render:on,hydrate:Xt,createApp:fgn(on,Xt)}}function ULe({type:r,props:i},o){return o==="svg"&&r==="foreignObject"||o==="mathml"&&r==="annotation-xml"&&i&&i.encoding&&i.encoding.includes("html")?void 0:o}function CN({effect:r,update:i},o){r.allowRecurse=i.allowRecurse=o}function ygn(r,i){return(!r||r&&!r.pendingBranch)&&i&&!i.persisted}function sBt(r,i,o=!1){const l=r.children,h=i.children;if(Pl(l)&&Pl(h))for(let g=0;g>1,r[o[b]]0&&(i[l]=o[g-1]),o[g]=l)}}for(g=o.length,d=o[g-1];g-- >0;)o[g]=d,d=i[d];return o}function cBt(r){const i=r.subTree.component;if(i)return i.asyncDep&&!i.asyncResolved?i:cBt(i)}const kgn=r=>r.__isTeleport,mB=Symbol.for("v-fgt"),upe=Symbol.for("v-txt"),bee=Symbol.for("v-cmt"),HLe=Symbol.for("v-stc"),zZ=[];let h7=null;function lBt(r=!1){zZ.push(h7=r?null:[])}function Cgn(){zZ.pop(),h7=zZ[zZ.length-1]||null}let wee=1;function d5t(r){wee+=r}function uBt(r){return r.dynamicChildren=wee>0?h7||G$:null,Cgn(),wee>0&&h7&&h7.push(r),r}function Egn(r,i,o,l,h,g){return uBt(QNe(r,i,o,l,h,g,!0))}function Tgn(r,i,o,l,h){return uBt(ZM(r,i,o,l,h,!0))}function Bgn(r){return r?r.__v_isVNode===!0:!1}function jJ(r,i){return r.type===i.type&&r.key===i.key}const hpe="__vInternal",hBt=({key:r})=>r??null,$Ae=({ref:r,ref_key:i,ref_for:o})=>(typeof r=="number"&&(r=""+r),r!=null?Lm(r)||J3(r)||Au(r)?{i:n9,r,k:i,f:!!o}:r:null);function QNe(r,i=null,o=null,l=0,h=null,g=r===mB?0:1,d=!1,b=!1){const w={__v_isVNode:!0,__v_skip:!0,type:r,props:i,key:i&&hBt(i),ref:i&&$Ae(i),scopeId:VTt,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:g,patchFlag:l,dynamicProps:h,dynamicChildren:null,appContext:null,ctx:n9};return b?(PNe(w,o),g&128&&r.normalize(w)):o&&(w.shapeFlag|=Lm(o)?8:16),wee>0&&!d&&h7&&(w.patchFlag>0||g&6)&&w.patchFlag!==32&&h7.push(w),w}const ZM=_gn;function _gn(r,i=null,o=null,l=0,h=null,g=!1){if((!r||r===H0n)&&(r=bee),Bgn(r)){const b=fj(r,i,!0);return o&&PNe(b,o),wee>0&&!g&&h7&&(b.shapeFlag&6?h7[h7.indexOf(r)]=b:h7.push(b)),b.patchFlag|=-2,b}if(Rgn(r)&&(r=r.__vccOpts),i){i=Sgn(i);let{class:b,style:w}=i;b&&!Lm(b)&&(i.class=kNe(b)),ng(w)&&(RTt(w)&&!Pl(w)&&(w=Lb({},w)),i.style=xNe(w))}const d=Lm(r)?1:$0n(r)?128:kgn(r)?64:ng(r)?4:Au(r)?2:0;return QNe(r,i,o,l,h,d,g,!0)}function Sgn(r){return r?RTt(r)||hpe in r?Lb({},r):r:null}function fj(r,i,o=!1){const{props:l,ref:h,patchFlag:g,children:d}=r,b=i?Mgn(l||{},i):l;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:b,key:b&&hBt(b),ref:i&&i.ref?o&&h?Pl(h)?h.concat($Ae(i)):[h,$Ae(i)]:$Ae(i):h,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:d,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:i&&r.type!==mB?g===-1?16:g|16:g,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&fj(r.ssContent),ssFallback:r.ssFallback&&fj(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function Lgn(r=" ",i=0){return ZM(upe,null,r,i)}function JC(r){return r==null||typeof r=="boolean"?ZM(bee):Pl(r)?ZM(mB,null,r.slice()):typeof r=="object"?$M(r):ZM(upe,null,String(r))}function $M(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:fj(r)}function PNe(r,i){let o=0;const{shapeFlag:l}=r;if(i==null)i=null;else if(Pl(i))o=16;else if(typeof i=="object")if(l&65){const h=i.default;h&&(h._c&&(h._d=!1),PNe(r,h()),h._c&&(h._d=!0));return}else{o=32;const h=i._;!h&&!(hpe in i)?i._ctx=n9:h===3&&n9&&(n9.slots._===1?i._=1:(i._=2,r.patchFlag|=1024))}else Au(i)?(i={default:i,_ctx:n9},o=32):(i=String(i),l&64?(o=16,i=[Lgn(i)]):o=8);r.children=i,r.shapeFlag|=o}function Mgn(...r){const i={};for(let o=0;o{let h;return(h=r[o])||(h=r[o]=[]),h.push(l),g=>{h.length>1?h.forEach(d=>d(g)):h[0](g)}};G0e=i("__VUE_INSTANCE_SETTERS__",o=>V2=o),ZFe=i("__VUE_SSR_SETTERS__",o=>fpe=o)}const ate=r=>{const i=V2;return G0e(r),r.scope.on(),()=>{r.scope.off(),G0e(i)}},A5t=()=>{V2&&V2.scope.off(),G0e(null)};function fBt(r){return r.vnode.shapeFlag&4}let fpe=!1;function Ogn(r,i=!1){i&&ZFe(i);const{props:o,children:l}=r.vnode,h=fBt(r);Agn(r,o,h,i),mgn(r,l);const g=h?Ngn(r,i):void 0;return i&&ZFe(!1),g}function Ngn(r,i){const o=r.type;r.accessCache=Object.create(null),r.proxy=UTt(new Proxy(r.ctx,agn));const{setup:l}=o;if(l){const h=r.setupContext=l.length>1?Pgn(r):null,g=ate(r);vQ();const d=JM(l,r,0,[r.props,h]);if(yQ(),g(),kTt(d)){if(d.then(A5t,A5t),i)return d.then(b=>{g5t(r,b,i)}).catch(b=>{spe(b,r,0)});r.asyncDep=d}else g5t(r,d,i)}else dBt(r,i)}function g5t(r,i,o){Au(i)?r.type.__ssrInlineRender?r.ssrRender=i:r.render=i:ng(i)&&(r.setupState=$Tt(i)),dBt(r,o)}let p5t;function dBt(r,i,o){const l=r.type;if(!r.render){if(!i&&p5t&&!l.render){const h=l.template||ONe(r).template;if(h){const{isCustomElement:g,compilerOptions:d}=r.appContext.config,{delimiters:b,compilerOptions:w}=l,x=Lb(Lb({isCustomElement:g,delimiters:b},d),w);l.render=p5t(h,x)}}r.render=l.render||E6}{const h=ate(r);vQ();try{ogn(r)}finally{yQ(),h()}}}function Qgn(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(i,o){return ny(r,"get","$attrs"),i[o]}}))}function Pgn(r){const i=o=>{r.exposed=o||{}};return{get attrs(){return Qgn(r)},slots:r.slots,emit:r.emit,expose:i}}function RNe(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy($Tt(UTt(r.exposed)),{get(i,o){if(o in i)return i[o];if(o in KZ)return KZ[o](r)},has(i,o){return o in i||o in KZ}}))}function Rgn(r){return Au(r)&&"__vccOpts"in r}const Ugn=(r,i)=>E0n(r,i,fpe),Hgn="3.4.13";/** * @vue/runtime-dom v3.4.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const jgn="http://www.w3.org/2000/svg",Kgn="http://www.w3.org/1998/Math/MathML",KI=typeof document<"u"?document:null,b5t=KI&&KI.createElement("template"),zgn={insert:(r,i,o)=>{i.insertBefore(r,o||null)},remove:r=>{const i=r.parentNode;i&&i.removeChild(r)},createElement:(r,i,o,l)=>{const h=i==="svg"?KI.createElementNS(jgn,r):i==="mathml"?KI.createElementNS(Kgn,r):KI.createElement(r,o?{is:o}:void 0);return r==="select"&&l&&l.multiple!=null&&h.setAttribute("multiple",l.multiple),h},createText:r=>KI.createTextNode(r),createComment:r=>KI.createComment(r),setText:(r,i)=>{r.nodeValue=i},setElementText:(r,i)=>{r.textContent=i},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>KI.querySelector(r),setScopeId(r,i){r.setAttribute(i,"")},insertStaticContent(r,i,o,l,h,g){const d=o?o.previousSibling:i.lastChild;if(h&&(h===g||h.nextSibling))for(;i.insertBefore(h.cloneNode(!0),o),!(h===g||!(h=h.nextSibling)););else{b5t.innerHTML=l==="svg"?`${r}`:l==="mathml"?`${r}`:r;const b=b5t.content;if(l==="svg"||l==="mathml"){const w=b.firstChild;for(;w.firstChild;)b.appendChild(w.firstChild);b.removeChild(w)}i.insertBefore(b,o)}return[d?d.nextSibling:i.firstChild,o?o.previousSibling:i.lastChild]}},Xgn=Symbol("_vtc");function Ggn(r,i,o){const l=r[Xgn];l&&(i=(i?[i,...l]:[...l]).join(" ")),i==null?r.removeAttribute("class"):o?r.setAttribute("class",i):r.className=i}const Vgn=Symbol("_vod"),Wgn=Symbol("");function qgn(r,i,o){const l=r.style,h=l.display,g=Im(o);if(o&&!g){if(i&&!Im(i))for(const d in i)o[d]==null&&tDe(l,d,"");for(const d in o)tDe(l,d,o[d])}else if(g){if(i!==o){const d=l[Wgn];d&&(o+=";"+d),l.cssText=o}}else i&&r.removeAttribute("style");Vgn in r&&(l.display=h)}const w5t=/\s*!important$/;function tDe(r,i,o){if(Pl(o))o.forEach(l=>tDe(r,i,l));else if(o==null&&(o=""),i.startsWith("--"))r.setProperty(i,o);else{const l=Ygn(r,i);w5t.test(o)?r.setProperty(Hj(l),o.replace(w5t,""),"important"):r[l]=o}}const v5t=["Webkit","Moz","ms"],jLe={};function Ygn(r,i){const o=jLe[i];if(o)return o;let l=fj(i);if(l!=="filter"&&l in r)return jLe[i]=l;l=ETt(l);for(let h=0;hKLe||(ipn.then(()=>KLe=0),KLe=Date.now());function opn(r,i){const o=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=o.attached)return;pk(spn(l,o.value),i,5,[l])};return o.value=r,o.attached=apn(),o}function spn(r,i){if(Pl(i)){const o=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0},i.map(l=>h=>!h._stopped&&l&&l(h))}else return i}const C5t=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)>96&&r.charCodeAt(2)<123,cpn=(r,i,o,l,h,g,d,b,w)=>{const x=h==="svg";i==="class"?Ggn(r,l,x):i==="style"?qgn(r,o,l):rpe(i)?vNe(i)||npn(r,i,o,l,d):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):lpn(r,i,l,x))?Zgn(r,i,l,g,d,b,w):(i==="true-value"?r._trueValue=l:i==="false-value"&&(r._falseValue=l),Jgn(r,i,l,x))};function lpn(r,i,o,l){if(l)return!!(i==="innerHTML"||i==="textContent"||i in r&&C5t(i)&&Au(o));if(i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&r.tagName==="INPUT"||i==="type"&&r.tagName==="TEXTAREA")return!1;if(i==="width"||i==="height"){const h=r.tagName;if(h==="IMG"||h==="VIDEO"||h==="CANVAS"||h==="SOURCE")return!1}return C5t(i)&&Im(o)?!1:i in r}const upn=Ib({patchProp:cpn},zgn);let E5t;function hpn(){return E5t||(E5t=vgn(upn))}const fpn=(...r)=>{const i=hpn().createApp(...r),{mount:o}=i;return i.mount=l=>{const h=Apn(l);if(!h)return;const g=i._component;!Au(g)&&!g.render&&!g.template&&(g.template=h.innerHTML),h.innerHTML="";const d=o(h,!1,dpn(h));return h instanceof Element&&(h.removeAttribute("v-cloak"),h.setAttribute("data-v-app","")),d},i};function dpn(r){if(r instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&r instanceof MathMLElement)return"mathml"}function Apn(r){return Im(r)?document.querySelector(r):r}var _b=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kQ(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function il(r,i){return r(i={exports:{}},i.exports),i.exports}function zLe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var SI,KAe,Hde=function(r){return r&&r.Math==Math&&r},Ai=Hde(typeof globalThis=="object"&&globalThis)||Hde(typeof window=="object"&&window)||Hde(typeof self=="object"&&self)||Hde(typeof _b=="object"&&_b)||function(){return this}()||Function("return this")(),eu=function(r){try{return!!r()}catch{return!0}},$j=!eu(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),gBt=Function.prototype,T5t=gBt.apply,B5t=gBt.call,DB=typeof Reflect=="object"&&Reflect.apply||($j?B5t.bind(T5t):function(){return B5t.apply(T5t,arguments)}),pBt=Function.prototype,gpn=pBt.bind,nDe=pBt.call,ppn=$j&&gpn.bind(nDe,nDe),Za=$j?function(r){return r&&ppn(r)}:function(r){return r&&function(){return nDe.apply(r,arguments)}},hh=function(r){return typeof r=="function"},Zu=!eu(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),$de=Function.prototype.call,cc=$j?$de.bind($de):function(){return $de.apply($de,arguments)},_5t={}.propertyIsEnumerable,S5t=Object.getOwnPropertyDescriptor,ste={f:S5t&&!_5t.call({1:2},1)?function(r){var i=S5t(this,r);return!!i&&i.enumerable}:_5t},q3=function(r,i){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:i}},mpn=Za({}.toString),bpn=Za("".slice),l9=function(r){return bpn(mpn(r),8,-1)},XLe=Ai.Object,wpn=Za("".split),Ape=eu(function(){return!XLe("z").propertyIsEnumerable(0)})?function(r){return l9(r)=="String"?wpn(r,""):XLe(r)}:XLe,vpn=Ai.TypeError,AM=function(r){if(r==null)throw vpn("Can't call method on "+r);return r},iy=function(r){return Ape(AM(r))},g1=function(r){return typeof r=="object"?r!==null:hh(r)},Gc={},L5t=function(r){return hh(r)?r:void 0},Dp=function(r,i){return arguments.length<2?L5t(Gc[r])||L5t(Ai[r]):Gc[r]&&Gc[r][i]||Ai[r]&&Ai[r][i]},uf=Za({}.isPrototypeOf),u9=Dp("navigator","userAgent")||"",I5t=Ai.process,M5t=Ai.Deno,F5t=I5t&&I5t.versions||M5t&&M5t.version,D5t=F5t&&F5t.v8;D5t&&(KAe=(SI=D5t.split("."))[0]>0&&SI[0]<4?1:+(SI[0]+SI[1])),!KAe&&u9&&(!(SI=u9.match(/Edge\/(\d+)/))||SI[1]>=74)&&(SI=u9.match(/Chrome\/(\d+)/))&&(KAe=+SI[1]);var d9=KAe,E6=!!Object.getOwnPropertySymbols&&!eu(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&d9&&d9<41}),HNe=E6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ypn=Ai.Object,Aj=HNe?function(r){return typeof r=="symbol"}:function(r){var i=Dp("Symbol");return hh(i)&&uf(i.prototype,ypn(r))},xpn=Ai.String,cte=function(r){try{return xpn(r)}catch{return"Object"}},kpn=Ai.TypeError,Lu=function(r){if(hh(r))return r;throw kpn(cte(r)+" is not a function")},W0e=function(r,i){var o=r[i];return o==null?void 0:Lu(o)},Cpn=Ai.TypeError,Epn=Object.defineProperty,O5t="__core-js_shared__",tM=Ai[O5t]||function(r,i){try{Epn(Ai,r,{value:i,configurable:!0,writable:!0})}catch{Ai[r]=i}return i}(O5t,{}),gM=il(function(r){(r.exports=function(i,o){return tM[i]||(tM[i]=o!==void 0?o:{})})("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"})}),Tpn=Ai.Object,ay=function(r){return Tpn(AM(r))},Bpn=Za({}.hasOwnProperty),sc=Object.hasOwn||function(r,i){return Bpn(ay(r),i)},_pn=0,Spn=Math.random(),Lpn=Za(1 .toString),yee=function(r){return"Symbol("+(r===void 0?"":r)+")_"+Lpn(++_pn+Spn,36)},zJ=gM("wks"),tQ=Ai.Symbol,N5t=tQ&&tQ.for,Ipn=HNe?tQ:tQ&&tQ.withoutSetter||yee,Z1=function(r){if(!sc(zJ,r)||!E6&&typeof zJ[r]!="string"){var i="Symbol."+r;E6&&sc(tQ,r)?zJ[r]=tQ[r]:zJ[r]=HNe&&N5t?N5t(i):Ipn(i)}return zJ[r]},Mpn=Ai.TypeError,Fpn=Z1("toPrimitive"),Dpn=function(r,i){if(!g1(r)||Aj(r))return r;var o,l=W0e(r,Fpn);if(l){if(i===void 0&&(i="default"),o=cc(l,r,i),!g1(o)||Aj(o))return o;throw Mpn("Can't convert object to primitive value")}return i===void 0&&(i="number"),function(h,g){var d,b;if(g==="string"&&hh(d=h.toString)&&!g1(b=cc(d,h))||hh(d=h.valueOf)&&!g1(b=cc(d,h))||g!=="string"&&hh(d=h.toString)&&!g1(b=cc(d,h)))return b;throw Cpn("Can't convert object to primitive value")}(r,i)},sQ=function(r){var i=Dpn(r,"string");return Aj(i)?i:i+""},rDe=Ai.document,Opn=g1(rDe)&&g1(rDe.createElement),q0e=function(r){return Opn?rDe.createElement(r):{}},mBt=!Zu&&!eu(function(){return Object.defineProperty(q0e("div"),"a",{get:function(){return 7}}).a!=7}),Q5t=Object.getOwnPropertyDescriptor,p9={f:Zu?Q5t:function(r,i){if(r=iy(r),i=sQ(i),mBt)try{return Q5t(r,i)}catch{}if(sc(r,i))return q3(!cc(ste.f,r,i),r[i])}},Npn=/#|\.prototype\./,lte=function(r,i){var o=Ppn[Qpn(r)];return o==Upn||o!=Rpn&&(hh(i)?eu(i):!!i)},Qpn=lte.normalize=function(r){return String(r).replace(Npn,".").toLowerCase()},Ppn=lte.data={},Rpn=lte.NATIVE="N",Upn=lte.POLYFILL="P",bBt=lte,Hpn=Za(Za.bind),tg=function(r,i){return Lu(r),i===void 0?r:$j?Hpn(r,i):function(){return r.apply(i,arguments)}},wBt=Zu&&eu(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),$pn=Ai.String,jpn=Ai.TypeError,Iu=function(r){if(g1(r))return r;throw jpn($pn(r)+" is not an object")},Kpn=Ai.TypeError,GLe=Object.defineProperty,zpn=Object.getOwnPropertyDescriptor,VLe="enumerable",WLe="configurable",qLe="writable",ew={f:Zu?wBt?function(r,i,o){if(Iu(r),i=sQ(i),Iu(o),typeof r=="function"&&i==="prototype"&&"value"in o&&qLe in o&&!o[qLe]){var l=zpn(r,i);l&&l[qLe]&&(r[i]=o.value,o={configurable:WLe in o?o[WLe]:l[WLe],enumerable:VLe in o?o[VLe]:l[VLe],writable:!1})}return GLe(r,i,o)}:GLe:function(r,i,o){if(Iu(r),i=sQ(i),Iu(o),mBt)try{return GLe(r,i,o)}catch{}if("get"in o||"set"in o)throw Kpn("Accessors not supported");return"value"in o&&(r[i]=o.value),r}},kb=Zu?function(r,i,o){return ew.f(r,i,q3(1,o))}:function(r,i,o){return r[i]=o,r},Xpn=p9.f,Gpn=function(r){var i=function(o,l,h){if(this instanceof i){switch(arguments.length){case 0:return new r;case 1:return new r(o);case 2:return new r(o,l)}return new r(o,l,h)}return DB(r,this,arguments)};return i.prototype=r.prototype,i},ma=function(r,i){var o,l,h,g,d,b,w,x,C=r.target,B=r.global,L=r.stat,I=r.proto,P=B?Ai:L?Ai[C]:(Ai[C]||{}).prototype,z=B?Gc:Gc[C]||kb(Gc,C,{})[C],W=z.prototype;for(h in i)o=!bBt(B?h:C+(L?".":"#")+h,r.forced)&&P&&sc(P,h),d=z[h],o&&(b=r.dontCallGetSet?(x=Xpn(P,h))&&x.value:P[h]),g=o&&b?b:i[h],o&&typeof d==typeof g||(w=r.bind&&o?tg(g,Ai):r.wrap&&o?Gpn(g):I&&hh(g)?Za(g):g,(r.sham||g&&g.sham||d&&d.sham)&&kb(w,"sham",!0),kb(z,h,w),I&&(sc(Gc,l=C+"Prototype")||kb(Gc,l,{}),kb(Gc[l],h,g),r.real&&W&&!W[h]&&kb(W,h,g)))},iM=Za([].slice),P5t=Ai.Function,Vpn=Za([].concat),Wpn=Za([].join),YLe={},iDe=$j?P5t.bind:function(r){var i=Lu(this),o=i.prototype,l=iM(arguments,1),h=function(){var g=Vpn(l,iM(arguments));return this instanceof h?function(d,b,w){if(!sc(YLe,b)){for(var x=[],C=0;C0?amn:imn)(i)},jj=function(r){var i=+r;return i!=i||i===0?0:omn(i)},smn=Math.max,cmn=Math.min,RB=function(r,i){var o=jj(r);return o<0?smn(o+i,0):cmn(o,i)},lmn=Math.min,zNe=function(r){return r>0?lmn(jj(r),9007199254740991):0},r4=function(r){return zNe(r.length)},R5t=function(r){return function(i,o,l){var h,g=iy(i),d=r4(g),b=RB(l,d);if(r&&o!=o){for(;d>b;)if((h=g[b++])!=h)return!0}else for(;d>b;b++)if((r||b in g)&&g[b]===o)return r||b||0;return!r&&-1}},XNe={includes:R5t(!0),indexOf:R5t(!1)},Kj={},umn=XNe.indexOf,U5t=Za([].push),CBt=function(r,i){var o,l=iy(r),h=0,g=[];for(o in l)!sc(Kj,o)&&sc(l,o)&&U5t(g,o);for(;i.length>h;)sc(l,o=i[h++])&&(~umn(g,o)||U5t(g,o));return g},J0e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],OB=Object.keys||function(r){return CBt(r,J0e)},hmn=Zu&&!wBt?Object.defineProperties:function(r,i){Iu(r);for(var o,l=iy(i),h=OB(i),g=h.length,d=0;g>d;)ew.f(r,o=h[d++],l[o]);return r},GNe={f:hmn},aDe=Dp("document","documentElement"),H5t=gM("keys"),ppe=function(r){return H5t[r]||(H5t[r]=yee(r))},oDe="prototype",sDe="script",EBt=ppe("IE_PROTO"),JLe=function(){},TBt=function(r){return"<"+sDe+">"+r+""},$5t=function(r){r.write(TBt("")),r.close();var i=r.parentWindow.Object;return r=null,i},zAe=function(){try{jde=new ActiveXObject("htmlfile")}catch{}var r,i,o;zAe=typeof document<"u"?document.domain&&jde?$5t(jde):(i=q0e("iframe"),o="java"+sDe+":",i.style.display="none",aDe.appendChild(i),i.src=String(o),(r=i.contentWindow.document).open(),r.write(TBt("document.F=Object")),r.close(),r.F):$5t(jde);for(var l=J0e.length;l--;)delete zAe[oDe][J0e[l]];return zAe()};Kj[EBt]=!0;var e4=Object.create||function(r,i){var o;return r!==null?(JLe[oDe]=Iu(r),o=new JLe,JLe[oDe]=null,o[EBt]=r):o=zAe(),i===void 0?o:GNe.f(o,i)},VNe=Dp("Reflect","construct"),fmn=Object.prototype,dmn=[].push,BBt=eu(function(){function r(){}return!(VNe(function(){},[],r)instanceof r)}),_Bt=!eu(function(){VNe(function(){})}),j5t=BBt||_Bt;ma({target:"Reflect",stat:!0,forced:j5t,sham:j5t},{construct:function(r,i){Y0e(r),Iu(i);var o=arguments.length<3?r:Y0e(arguments[2]);if(_Bt&&!BBt)return VNe(r,i,o);if(r==o){switch(i.length){case 0:return new r;case 1:return new r(i[0]);case 2:return new r(i[0],i[1]);case 3:return new r(i[0],i[1],i[2]);case 4:return new r(i[0],i[1],i[2],i[3])}var l=[null];return DB(dmn,l,i),new(DB(iDe,r,l))}var h=o.prototype,g=e4(g1(h)?h:fmn),d=DB(r,g,i);return g1(d)?d:g}});var SBt=Gc.Reflect.construct,ut=SBt,Amn=eu(function(){OB(1)});ma({target:"Object",stat:!0,forced:Amn},{keys:function(r){return OB(ay(r))}});var Z0e,VZ,ege,LBt=Gc.Object.keys,pu=LBt,gmn=Ai.String,Zl=function(r){if(pM(r)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return gmn(r)},pmn=J0e.concat("length","prototype"),xee={f:Object.getOwnPropertyNames||function(r){return CBt(r,pmn)}},aM=function(r,i,o){var l=sQ(i);l in r?ew.f(r,l,q3(0,o)):r[l]=o},mmn=Ai.Array,bmn=Math.max,Xv=function(r,i,o){for(var l=r4(r),h=RB(i,l),g=RB(o===void 0?l:o,l),d=mmn(bmn(g-h,0)),b=0;hV;V++)if((b||V in z)&&(I=W(L=z[V],V,P),r))if(i)G[V]=I;else if(I)switch(r){case 3:return!0;case 5:return L;case 6:return V;case 2:Y5t(G,L)}else switch(r){case 4:return!1;case 7:Y5t(G,L)}return g?-1:l||h?h:G}},WB={forEach:LI(0),map:LI(1),filter:LI(2),some:LI(3),every:LI(4),find:LI(5),findIndex:LI(6),filterReject:LI(7)},bpe=WB.forEach,qv=ppe("hidden"),tge="Symbol",kee="prototype",Bmn=Mm.set,J5t=Mm.getterFor(tge),dk=Object[kee],$N=Ai.Symbol,CZ=$N&&$N[kee],_mn=Ai.TypeError,ZLe=Ai.QObject,MBt=p9.f,XI=ew.f,FBt=WNe.f,Smn=ste.f,DBt=Za([].push),$B=gM("symbols"),hte=gM("op-symbols"),Lmn=gM("wks"),eIe=!ZLe||!ZLe[kee]||!ZLe[kee].findChild,lDe=Zu&&eu(function(){return e4(XI({},"a",{get:function(){return XI(this,"a",{value:7}).a}})).a!=7})?function(r,i,o){var l=MBt(dk,i);l&&delete dk[i],XI(r,i,o),l&&r!==dk&&XI(dk,i,l)}:XI,tIe=function(r,i){var o=$B[r]=e4(CZ);return Bmn(o,{type:tge,tag:r,description:i}),Zu||(o.description=i),o},nge=function(r,i,o){r===dk&&nge(hte,i,o),Iu(r);var l=sQ(i);return Iu(o),sc($B,l)?(o.enumerable?(sc(r,qv)&&r[qv][l]&&(r[qv][l]=!1),o=e4(o,{enumerable:q3(0,!1)})):(sc(r,qv)||XI(r,qv,q3(1,{})),r[qv][l]=!0),lDe(r,l,o)):XI(r,l,o)},nIe=function(r,i){Iu(r);var o=iy(i),l=OB(o).concat(NBt(o));return bpe(l,function(h){Zu&&!cc(OBt,o,h)||nge(r,h,o[h])}),r},OBt=function(r){var i=sQ(r),o=cc(Smn,this,i);return!(this===dk&&sc($B,i)&&!sc(hte,i))&&(!(o||!sc(this,i)||!sc($B,i)||sc(this,qv)&&this[qv][i])||o)},Z5t=function(r,i){var o=iy(r),l=sQ(i);if(o!==dk||!sc($B,l)||sc(hte,l)){var h=MBt(o,l);return!h||!sc($B,l)||sc(o,qv)&&o[qv][l]||(h.enumerable=!0),h}},e6t=function(r){var i=FBt(iy(r)),o=[];return bpe(i,function(l){sc($B,l)||sc(Kj,l)||DBt(o,l)}),o},NBt=function(r){var i=r===dk,o=FBt(i?hte:iy(r)),l=[];return bpe(o,function(h){!sc($B,h)||i&&!sc(dk,h)||DBt(l,$B[h])}),l};E6||($N=function(){if(uf(CZ,this))throw _mn("Symbol is not a constructor");var r=arguments.length&&arguments[0]!==void 0?Zl(arguments[0]):void 0,i=yee(r),o=function(l){this===dk&&cc(o,hte,l),sc(this,qv)&&sc(this[qv],i)&&(this[qv][i]=!1),lDe(this,i,q3(1,l))};return Zu&&eIe&&lDe(dk,i,{configurable:!0,set:o}),tIe(i,r)},CZ=$N[kee],ty(CZ,"toString",function(){return J5t(this).tag}),ty($N,"withoutSetter",function(r){return tIe(yee(r),r)}),ste.f=OBt,ew.f=nge,GNe.f=nIe,p9.f=Z5t,xee.f=WNe.f=e6t,ute.f=NBt,qNe.f=function(r){return tIe(Z1(r),r)},Zu&&XI(CZ,"description",{configurable:!0,get:function(){return J5t(this).description}})),ma({global:!0,constructor:!0,wrap:!0,forced:!E6,sham:!E6},{Symbol:$N}),bpe(OB(Lmn),function(r){y0(r)}),ma({target:tge,stat:!0,forced:!E6},{useSetter:function(){eIe=!0},useSimple:function(){eIe=!1}}),ma({target:"Object",stat:!0,forced:!E6,sham:!Zu},{create:function(r,i){return i===void 0?e4(r):nIe(e4(r),i)},defineProperty:nge,defineProperties:nIe,getOwnPropertyDescriptor:Z5t}),ma({target:"Object",stat:!0,forced:!E6},{getOwnPropertyNames:e6t}),IBt(),UB($N,tge),Kj[qv]=!0;var QBt=E6&&!!Symbol.for&&!!Symbol.keyFor,rIe=gM("string-to-symbol-registry"),Imn=gM("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!QBt},{for:function(r){var i=Zl(r);if(sc(rIe,i))return rIe[i];var o=Dp("Symbol")(i);return rIe[i]=o,Imn[o]=i,o}});var t6t=gM("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!QBt},{keyFor:function(r){if(!Aj(r))throw TypeError(cte(r)+" is not a symbol");if(sc(t6t,r))return t6t[r]}});var nM=Dp("JSON","stringify"),Kde=Za(/./.exec),n6t=Za("".charAt),Mmn=Za("".charCodeAt),Fmn=Za("".replace),Dmn=Za(1 .toString),Omn=/[\uD800-\uDFFF]/g,r6t=/^[\uD800-\uDBFF]$/,i6t=/^[\uDC00-\uDFFF]$/,a6t=!E6||eu(function(){var r=Dp("Symbol")();return nM([r])!="[null]"||nM({a:r})!="{}"||nM(Object(r))!="{}"}),o6t=eu(function(){return nM("\uDF06\uD834")!=='"\\udf06\\ud834"'||nM("\uDEAD")!=='"\\udead"'}),Nmn=function(r,i){var o=iM(arguments),l=i;if((g1(i)||r!==void 0)&&!Aj(r))return HB(i)||(i=function(h,g){if(hh(l)&&(g=cc(l,this,h,g)),!Aj(g))return g}),o[1]=i,DB(nM,null,o)},Qmn=function(r,i,o){var l=n6t(o,i-1),h=n6t(o,i+1);return Kde(r6t,r)&&!Kde(i6t,h)||Kde(i6t,r)&&!Kde(r6t,l)?"\\u"+Dmn(Mmn(r,0),16):r};nM&&ma({target:"JSON",stat:!0,arity:3,forced:a6t||o6t},{stringify:function(r,i,o){var l=iM(arguments),h=DB(a6t?Nmn:nM,null,l);return o6t&&typeof h=="string"?Fmn(h,Omn,Qmn):h}});var Pmn=!E6||eu(function(){ute.f(1)});ma({target:"Object",stat:!0,forced:Pmn},{getOwnPropertySymbols:function(r){var i=ute.f;return i?i(ay(r)):[]}});var PBt=Gc.Object.getOwnPropertySymbols,O1=PBt,Rmn=Z1("species"),fte=function(r){return d9>=51||!eu(function(){var i=[];return(i.constructor={})[Rmn]=function(){return{foo:1}},i[r](Boolean).foo!==1})},Umn=WB.filter,Hmn=fte("filter");ma({target:"Array",proto:!0,forced:!Hmn},{filter:function(r){return Umn(this,r,arguments.length>1?arguments[1]:void 0)}});var Ld=function(r){return Gc[r+"Prototype"]},$mn=Ld("Array").filter,iIe=Array.prototype,t1=function(r){var i=r.filter;return r===iIe||uf(iIe,r)&&i===iIe.filter?$mn:i},RBt=p9.f,jmn=eu(function(){RBt(1)});ma({target:"Object",stat:!0,forced:!Zu||jmn,sham:!Zu},{getOwnPropertyDescriptor:function(r,i){return RBt(iy(r),i)}});var VI,s6t,c6t,Kmn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.getOwnPropertyDescriptor(l,h)};i.getOwnPropertyDescriptor.sham&&(o.sham=!0)}),UBt=Kmn,Id=UBt,jB={},HBt=Function.prototype,zmn=Zu&&Object.getOwnPropertyDescriptor,aIe=sc(HBt,"name"),$Bt={EXISTS:aIe,PROPER:aIe&&(function(){}).name==="something",CONFIGURABLE:aIe&&(!Zu||Zu&&zmn(HBt,"name").configurable)},jBt=!eu(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype}),l6t=ppe("IE_PROTO"),uDe=Ai.Object,Xmn=uDe.prototype,cQ=jBt?uDe.getPrototypeOf:function(r){var i=ay(r);if(sc(i,l6t))return i[l6t];var o=i.constructor;return hh(o)&&i instanceof o?o.prototype:i instanceof uDe?Xmn:null},hDe=Z1("iterator"),KBt=!1;[].keys&&("next"in(c6t=[].keys())?(s6t=cQ(cQ(c6t)))!==Object.prototype&&(VI=s6t):KBt=!0);var Gmn=VI==null||eu(function(){var r={};return VI[hDe].call(r)!==r});VI=Gmn?{}:e4(VI),hh(VI[hDe])||ty(VI,hDe,function(){return this});var zBt={IteratorPrototype:VI,BUGGY_SAFARI_ITERATORS:KBt},Vmn=zBt.IteratorPrototype,Wmn=function(){return this},XBt=function(r,i,o,l){var h=i+" Iterator";return r.prototype=e4(Vmn,{next:q3(+!l,o)}),UB(r,h,!1,!0),jB[h]=Wmn,r},qmn=Ai.String,Ymn=Ai.TypeError,Cee=Object.setPrototypeOf||("__proto__"in{}?function(){var r,i=!1,o={};try{(r=Za(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(o,[]),i=o instanceof Array}catch{}return function(l,h){return Iu(l),function(g){if(typeof g=="object"||hh(g))return g;throw Ymn("Can't set "+qmn(g)+" as a prototype")}(h),i?r(l,h):l.__proto__=h,l}}():void 0),Jmn=$Bt.PROPER,zde=zBt.BUGGY_SAFARI_ITERATORS,oIe=Z1("iterator"),u6t="keys",Xde="values",h6t="entries",Zmn=function(){return this},YNe=function(r,i,o,l,h,g,d){XBt(o,i,l);var b,w,x,C=function(Q){if(Q===h&&z)return z;if(!zde&&Q in I)return I[Q];switch(Q){case u6t:case Xde:case h6t:return function(){return new o(this,Q)}}return function(){return new o(this)}},B=i+" Iterator",L=!1,I=r.prototype,P=I[oIe]||I["@@iterator"]||h&&I[h],z=!zde&&P||C(h),W=i=="Array"&&I.entries||P;if(W&&(b=cQ(W.call(new r)))!==Object.prototype&&b.next&&(UB(b,B,!0,!0),jB[B]=Zmn),Jmn&&h==Xde&&P&&P.name!==Xde&&(L=!0,z=function(){return cc(P,this)}),h)if(w={values:C(Xde),keys:g?z:C(u6t),entries:C(h6t)},d)for(x in w)(zde||L||!(x in I))&&ty(I,x,w[x]);else ma({target:i,proto:!0,forced:zde||L},w);return d&&I[oIe]!==z&&ty(I,oIe,z,{name:h}),jB[i]=z,w};ew.f;var GBt="Array Iterator",ebn=Mm.set,tbn=Mm.getterFor(GBt);YNe(Array,"Array",function(r,i){ebn(this,{type:GBt,target:iy(r),index:0,kind:i})},function(){var r=tbn(this),i=r.target,o=r.kind,l=r.index++;return!i||l>=i.length?(r.target=void 0,{value:void 0,done:!0}):o=="keys"?{value:l,done:!1}:o=="values"?{value:i[l],done:!1}:{value:[l,i[l]],done:!1}},"values"),jB.Arguments=jB.Array;var f6t=Z1("toStringTag");for(var sIe 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 d6t=Ai[sIe],cIe=d6t&&d6t.prototype;cIe&&pM(cIe)!==f6t&&kb(cIe,f6t,sIe),jB[sIe]=jB.Array}var zj=function(r,i){var o=[][r];return!!o&&eu(function(){o.call(null,i||function(){return 1},1)})},nbn=WB.forEach,A6t=zj("forEach")?[].forEach:function(r){return nbn(this,r,arguments.length>1?arguments[1]:void 0)};ma({target:"Array",proto:!0,forced:[].forEach!=A6t},{forEach:A6t});var rbn=Ld("Array").forEach,lIe=Array.prototype,ibn={DOMTokenList:!0,NodeList:!0},VBt=function(r){var i=r.forEach;return r===lIe||uf(lIe,r)&&i===lIe.forEach||sc(ibn,pM(r))?rbn:i},xa=VBt,abn=Za([].concat),WBt=Dp("Reflect","ownKeys")||function(r){var i=xee.f(Iu(r)),o=ute.f;return o?abn(i,o(r)):i};ma({target:"Object",stat:!0,sham:!Zu},{getOwnPropertyDescriptors:function(r){for(var i,o,l=iy(r),h=p9.f,g=WBt(l),d={},b=0;g.length>b;)(o=h(l,i=g[b++]))!==void 0&&aM(d,i,o);return d}});var Sd=Gc.Object.getOwnPropertyDescriptors,g6t=GNe.f;ma({target:"Object",stat:!0,forced:Object.defineProperties!==g6t,sham:!Zu},{defineProperties:g6t});var obn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.defineProperties(l,h)};i.defineProperties.sham&&(o.sham=!0)}),I6=obn,p6t=ew.f;ma({target:"Object",stat:!0,forced:Object.defineProperty!==p6t,sham:!Zu},{defineProperty:p6t});var qBt=il(function(r){var i=Gc.Object,o=r.exports=function(l,h,g){return i.defineProperty(l,h,g)};i.defineProperty.sham&&(o.sham=!0)}),Z2=qBt;function qr(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var dte=qBt;function m6t(r,i){for(var o=0;o=51||!eu(function(){var r=[];return r[JBt]=!1,r.concat()[0]!==r}),lbn=fte("concat"),ubn=function(r){if(!g1(r))return!1;var i=r[JBt];return i!==void 0?!!i:HB(r)};ma({target:"Array",proto:!0,arity:1,forced:!cbn||!lbn},{concat:function(r){var i,o,l,h,g,d=ay(this),b=mpe(d,0),w=0;for(i=-1,l=arguments.length;ib6t)throw v6t(w6t);for(o=0;o=b6t)throw v6t(w6t);aM(b,w++,g)}return b.length=w,b}}),y0("asyncIterator"),y0("hasInstance"),y0("isConcatSpreadable"),y0("iterator"),y0("match"),y0("matchAll"),y0("replace"),y0("search"),y0("species"),y0("split"),y0("toPrimitive"),IBt(),y0("toStringTag"),UB(Dp("Symbol"),"Symbol"),y0("unscopables"),UB(Ai.JSON,"JSON",!0);var ZBt=Gc.Symbol,hbn=ZBt;y0("asyncDispose"),y0("dispose"),y0("matcher"),y0("metadata"),y0("observable"),y0("patternMatch"),y0("replaceAll");var B6=hbn,fbn=Za("".charAt),y6t=Za("".charCodeAt),dbn=Za("".slice),x6t=function(r){return function(i,o){var l,h,g=Zl(AM(i)),d=jj(o),b=g.length;return d<0||d>=b?r?"":void 0:(l=y6t(g,d))<55296||l>56319||d+1===b||(h=y6t(g,d+1))<56320||h>57343?r?fbn(g,d):l:r?dbn(g,d,d+2):h-56320+(l-55296<<10)+65536}},e_t={codeAt:x6t(!1),charAt:x6t(!0)},Abn=e_t.charAt,t_t="String Iterator",gbn=Mm.set,pbn=Mm.getterFor(t_t);YNe(String,"String",function(r){gbn(this,{type:t_t,string:Zl(r),index:0})},function(){var r,i=pbn(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(r=Abn(o,l),i.index+=r.length,{value:r,done:!1})});var n_t=qNe.f("iterator"),r_t=n_t;function Vc(r){return Vc=typeof B6=="function"&&typeof r_t=="symbol"?function(i){return typeof i}:function(i){return i&&typeof B6=="function"&&i.constructor===B6&&i!==B6.prototype?"symbol":typeof i},Vc(r)}function Wi(r,i){if(i&&(Vc(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return es(r)}var mbn=eu(function(){cQ(1)});ma({target:"Object",stat:!0,forced:mbn,sham:!jBt},{getPrototypeOf:function(r){return cQ(ay(r))}});var i_t=Gc.Object.getPrototypeOf,qZ=i_t;function En(r){return En=rge?qZ:function(i){return i.__proto__||qZ(i)},En(r)}function gi(r,i,o){return i in r?dte(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}var bbn=Ld("Array").concat,uIe=Array.prototype,rt=function(r){var i=r.concat;return r===uIe||uf(uIe,r)&&i===uIe.concat?bbn:i};ma({target:"Function",proto:!0,forced:Function.bind!==iDe},{bind:iDe});var wbn=Ld("Function").bind,hIe=Function.prototype,a_t=function(r){var i=r.bind;return r===hIe||uf(hIe,r)&&i===hIe.bind?wbn:i},Xa=a_t,vbn=Ai.TypeError,wB=function(r,i){if(r2,h=hh(i)?i:xbn(i),g=l?iM(arguments,2):void 0;return r(l?function(){DB(h,this,g)}:h,o)}:r},o_t={setTimeout:k6t(Ai.setTimeout),setInterval:k6t(Ai.setInterval)},C6t=o_t.setInterval;ma({global:!0,bind:!0,forced:Ai.setInterval!==C6t},{setInterval:C6t});var E6t=o_t.setTimeout;ma({global:!0,bind:!0,forced:Ai.setTimeout!==E6t},{setTimeout:E6t});var Z0=Gc.setTimeout,kbn=function(){this.__data__=[],this.size=0},wpe=function(r,i){return r===i||r!=r&&i!=i},vpe=function(r,i){for(var o=r.length;o--;)if(wpe(r[o][0],i))return o;return-1},Cbn=Array.prototype.splice,Ebn=function(r){var i=this.__data__,o=vpe(i,r);return!(o<0)&&(o==i.length-1?i.pop():Cbn.call(i,o,1),--this.size,!0)},Tbn=function(r){var i=this.__data__,o=vpe(i,r);return o<0?void 0:i[o][1]},Bbn=function(r){return vpe(this.__data__,r)>-1},_bn=function(r,i){var o=this.__data__,l=vpe(o,r);return l<0?(++this.size,o.push([r,i])):o[l][1]=i,this};function T$(r){var i=-1,o=r==null?0:r.length;for(this.clear();++i-1&&r%1==0&&r<=9007199254740991},kpe=function(r){return r!=null&&p_t(r.length)&&!JNe(r)},b2n=function(r){return mM(r)&&kpe(r)},w2n=function(){return!1},rQe=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o?xk.Buffer:void 0,g=(h?h.isBuffer:void 0)||w2n;r.exports=g}),v2n=Function.prototype,y2n=Object.prototype,m_t=v2n.toString,x2n=y2n.hasOwnProperty,k2n=m_t.call(Object),C2n=function(r){if(!mM(r)||CQ(r)!="[object Object]")return!1;var i=tQe(r);if(i===null)return!0;var o=x2n.call(i,"constructor")&&i.constructor;return typeof o=="function"&&o instanceof o&&m_t.call(o)==k2n},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 E2n=function(r){return mM(r)&&p_t(r.length)&&!!Y1[CQ(r)]},iQe=function(r){return function(i){return r(i)}},pj=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o&&s_t.process,g=function(){try{var d=l&&l.require&&l.require("util").types;return d||h&&h.binding&&h.binding("util")}catch{}}();r.exports=g}),M6t=pj&&pj.isTypedArray,b_t=M6t?iQe(M6t):E2n,ADe=function(r,i){if((i!=="constructor"||typeof r[i]!="function")&&i!="__proto__")return r[i]},T2n=Object.prototype.hasOwnProperty,w_t=function(r,i,o){var l=r[i];T2n.call(r,i)&&wpe(l,o)&&(o!==void 0||i in r)||ZNe(r,i,o)},Ate=function(r,i,o,l){var h=!o;o||(o={});for(var g=-1,d=i.length;++g-1&&r%1==0&&r0){if(++i>=800)return arguments[0]}else i=0;return r.apply(void 0,arguments)}},j2n=$2n(U2n),K2n=function(r,i){return j2n(Q2n(r,i,x_t),r+"")},z2n=function(r,i,o){if(!vk(o))return!1;var l=typeof i;return!!(l=="number"?kpe(o)&&v_t(i,o.length):l=="string"&&i in o)&&wpe(o[i],r)},X2n=function(r){return K2n(function(i,o){var l=-1,h=o.length,g=h>1?o[h-1]:void 0,d=h>2?o[2]:void 0;for(g=r.length>3&&typeof g=="function"?(h--,g):void 0,d&&z2n(o[0],o[1],d)&&(g=h<3?void 0:g,h=1),i=Object(i);++l1?arguments[1]:void 0;return O6t?gDe(this,r,i)||0:V2n(this,r,i)}});var q2n=Ld("Array").indexOf,dIe=Array.prototype,k_t=function(r){var i=r.indexOf;return r===dIe||uf(dIe,r)&&i===dIe.indexOf?q2n:i},pDe=k_t,Y2n=LBt;function J2n(r,i){if(r==null)return{};var o,l,h=function(d,b){if(d==null)return{};var w,x,C={},B=Y2n(d);for(x=0;x=0||(C[w]=d[w]);return C}(r,i);if(D6t){var g=D6t(r);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(r,o)&&(h[o]=r[o])}return h}var A$=Object.assign,N6t=Object.defineProperty,Z2n=Za([].concat),_ee=!A$||eu(function(){if(Zu&&A$({b:1},A$(N6t({},"a",{enumerable:!0,get:function(){N6t(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var r={},i={},o=Symbol(),l="abcdefghijklmnopqrst";return r[o]=7,l.split("").forEach(function(h){i[h]=h}),A$({},r)[o]!=7||OB(A$({},i)).join("")!=l})?function(r,i){for(var o=ay(r),l=arguments.length,h=1,g=ute.f,d=ste.f;l>h;)for(var b,w=Ape(arguments[h++]),x=g?Z2n(OB(w),g(w)):OB(w),C=x.length,B=0;C>B;)b=x[B++],Zu&&!cc(d,w,b)||(o[b]=w[b]);return o}:A$;ma({target:"Object",stat:!0,arity:2,forced:Object.assign!==_ee},{assign:_ee});var C_t=Gc.Object.assign,BB=C_t;Gc.JSON||(Gc.JSON={stringify:JSON.stringify});var oQe=function(r,i,o){return DB(Gc.JSON.stringify,null,arguments)},ewn=WB.find,Q6t="find",P6t=!0;Q6t in[]&&Array(1)[Q6t](function(){P6t=!1}),ma({target:"Array",proto:!0,forced:P6t},{find:function(r){return ewn(this,r,arguments.length>1?arguments[1]:void 0)}});var VJ,twn=Ld("Array").find,AIe=Array.prototype,See=function(r){var i=r.find;return r===AIe||uf(AIe,r)&&i===AIe.find?twn:i},mj=` -\v\f\r                 \u2028\u2029\uFEFF`,R6t=Za("".replace),age="["+mj+"]",nwn=RegExp("^"+age+age+"*"),rwn=RegExp(age+age+"*$"),gIe=function(r){return function(i){var o=Zl(AM(i));return 1&r&&(o=R6t(o,nwn,"")),2&r&&(o=R6t(o,rwn,"")),o}},sQe={start:gIe(1),end:gIe(2),trim:gIe(3)},iwn=$Bt.PROPER,awn=sQe.trim;ma({target:"String",proto:!0,forced:(VJ="trim",eu(function(){return!!mj[VJ]()||"​…᠎"[VJ]()!=="​…᠎"||iwn&&mj[VJ].name!==VJ}))},{trim:function(){return awn(this)}});var own=Ld("String").trim,pIe=String.prototype,uo=function(r){var i=r.trim;return typeof r=="string"||r===pIe||uf(pIe,r)&&i===pIe.trim?own:i},mDe=function(r,i,o){var l,h;Iu(r);try{if(!(l=W0e(r,"return"))){if(i==="throw")throw o;return o}l=cc(l,r)}catch(g){h=!0,l=g}if(i==="throw")throw o;if(h)throw l;return Iu(l),o},swn=function(r,i,o,l){try{return l?i(Iu(o)[0],o[1]):i(o)}catch(h){mDe(r,"throw",h)}},cwn=Z1("iterator"),lwn=Array.prototype,E_t=function(r){return r!==void 0&&(jB.Array===r||lwn[cwn]===r)},uwn=Z1("iterator"),pte=function(r){if(r!=null)return W0e(r,uwn)||W0e(r,"@@iterator")||jB[pM(r)]},hwn=Ai.TypeError,lQ=function(r,i){var o=arguments.length<2?pte(r):i;if(Lu(o))return Iu(cc(o,r));throw hwn(cte(r)+" is not iterable")},U6t=Ai.Array,DN=function(r){var i=ay(r),o=gpe(this),l=arguments.length,h=l>1?arguments[1]:void 0,g=h!==void 0;g&&(h=tg(h,l>2?arguments[2]:void 0));var d,b,w,x,C,B,L=pte(i),I=0;if(!L||this==U6t&&E_t(L))for(d=r4(i),b=o?new this(d):U6t(d);d>I;I++)B=g?h(i[I],I):i[I],aM(b,I,B);else for(C=(x=lQ(i,L)).next,b=o?new this:[];!(w=cc(C,x)).done;I++)B=g?swn(x,h,[w.value,I],!0):w.value,aM(b,I,B);return b.length=I,b},T_t=Z1("iterator"),B_t=!1;try{var fwn=0,H6t={next:function(){return{done:!!fwn++}},return:function(){B_t=!0}};H6t[T_t]=function(){return this},Array.from(H6t,function(){throw 2})}catch{}var __t=function(r,i){if(!i&&!B_t)return!1;var o=!1;try{var l={};l[T_t]=function(){return{next:function(){return{done:o=!0}}}},r(l)}catch{}return o},dwn=!__t(function(r){Array.from(r)});ma({target:"Array",stat:!0,forced:dwn},{from:DN});var S_t=Gc.Array.from,yl=S_t,Awn=Z1("match"),gwn=Ai.TypeError,cQe=function(r){if(function(i){var o;return g1(i)&&((o=i[Awn])!==void 0?!!o:l9(i)=="RegExp")}(r))throw gwn("The method doesn't accept regular expressions");return r},pwn=Z1("match"),lQe=function(r){var i=/./;try{"/./"[r](i)}catch{try{return i[pwn]=!1,"/./"[r](i)}catch{}}return!1};p9.f;var $6t=Za("".startsWith),mwn=Za("".slice),bwn=Math.min,wwn=lQe("startsWith");ma({target:"String",proto:!0,forced:!wwn},{startsWith:function(r){var i=Zl(AM(this));cQe(r);var o=zNe(bwn(arguments.length>1?arguments[1]:void 0,i.length)),l=Zl(r);return $6t?$6t(i,l,o):mwn(i,o,o+l.length)===l}});var vwn=Ld("String").startsWith,mIe=String.prototype,bj=function(r){var i=r.startsWith;return typeof r=="string"||r===mIe||uf(mIe,r)&&i===mIe.startsWith?vwn:i},Fp=il(function(r,i){r.exports=function(){var o=navigator.userAgent,l=navigator.platform,h=/gecko\/\d/i.test(o),g=/MSIE \d/.test(o),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(o),b=/Edge\/(\d+)/.exec(o),w=g||d||b,x=w&&(g?document.documentMode||6:+(b||d)[1]),C=!b&&/WebKit\//.test(o),B=C&&/Qt\/\d+\.\d+/.test(o),L=!b&&/Chrome\//.test(o),I=/Opera\//.test(o),P=/Apple Computer/.test(navigator.vendor),z=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(o),W=/PhantomJS/.test(o),Q=!b&&/AppleWebKit/.test(o)&&/Mobile\/\w+/.test(o),V=/Android/.test(o),oe=Q||V||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(o),G=Q||/Mac/.test(l),ae=/\bCrOS\b/.test(o),ne=/win/i.test(l),de=I&&o.match(/Version\/(\d*\.\d*)/);de&&(de=Number(de[1])),de&&de>=15&&(I=!1,C=!0);var Ae=G&&(B||I&&(de==null||de<12.11)),le=h||w&&x>=9;function ve(k){return new RegExp("(^|\\s)"+k+"(?:$|\\s)\\s*")}var me,ee=function(k,S){var $=k.className,R=ve(S).exec($);if(R){var X=$.slice(R.index+R[0].length);k.className=$.slice(0,R.index)+(X?R[1]+X:"")}};function ye(k){for(var S=k.childNodes.length;S>0;--S)k.removeChild(k.firstChild);return k}function Y(k,S){return ye(k).appendChild(S)}function Ee(k,S,$,R){var X=document.createElement(k);if($&&(X.className=$),R&&(X.style.cssText=R),typeof S=="string")X.appendChild(document.createTextNode(S));else if(S)for(var pe=0;pe=S)return Ie+(S-pe);Ie+=Oe-pe,Ie+=$-Ie%$,pe=Oe+1}}Q?ot=function(k){k.selectionStart=0,k.selectionEnd=k.value.length}:w&&(ot=function(k){try{k.select()}catch{}});var Rt=function(){this.id=null,this.f=null,this.time=0,this.handler=Qe(this.onTimeout,this)};function Et(k,S){for(var $=0;$=S)return R+Math.min(Ie,S-X);if(X+=pe-R,R=pe+1,(X+=$-X%$)>=S)return R}}var He=[""];function lt(k){for(;He.length<=k;)He.push(Ke(He)+" ");return He[k]}function Ke(k){return k[k.length-1]}function mn(k,S){for(var $=[],R=0;R"€"&&(k.toUpperCase()!=k.toLowerCase()||sn.test(k))}function xn(k,S){return S?!!(S.source.indexOf("\\w")>-1&&cn(k))||S.test(k):cn(k)}function nn(k){for(var S in k)if(k.hasOwnProperty(S)&&k[S])return!1;return!0}var Qn=/[\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 ln(k){return k.charCodeAt(0)>=768&&Qn.test(k)}function Hn(k,S,$){for(;($<0?S>0:S$?-1:1;;){if(S==$)return S;var X=(S+$)/2,pe=R<0?Math.ceil(X):Math.floor(X);if(pe==S)return k(pe)?S:$;k(pe)?$=pe:S=pe+R}}function _r(k,S,$,R){if(!k)return R(S,$,"ltr",0);for(var X=!1,pe=0;peS||S==$&&Ie.to==S)&&(R(Math.max(Ie.from,S),Math.min(Ie.to,$),Ie.level==1?"rtl":"ltr",pe),X=!0)}X||R(S,$,"ltr")}var Lr=null;function ti(k,S,$){var R;Lr=null;for(var X=0;XS)return X;pe.to==S&&(pe.from!=pe.to&&$=="before"?R=X:Lr=X),pe.from==S&&(pe.from!=pe.to&&$!="before"?R=X:Lr=X)}return R??Lr}var _i=function(){var k="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",S="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function $(Je){return Je<=247?k.charAt(Je):1424<=Je&&Je<=1524?"R":1536<=Je&&Je<=1785?S.charAt(Je-1536):1774<=Je&&Je<=2220?"r":8192<=Je&&Je<=8203?"w":Je==8204?"b":"L"}var R=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,X=/[stwN]/,pe=/[LRr]/,Ie=/[Lb1n]/,Oe=/[1n]/;function Ge(Je,Pt,Dt){this.level=Je,this.from=Pt,this.to=Dt}return function(Je,Pt){var Dt=Pt=="ltr"?"L":"R";if(Je.length==0||Pt=="ltr"&&!R.test(Je))return!1;for(var kn=Je.length,Nn=[],rr=0;rr-1&&(R[S]=X.slice(0,pe).concat(X.slice(pe+1)))}}}function vr(k,S){var $=Ta(k,S);if($.length)for(var R=Array.prototype.slice.call(arguments,2),X=0;X<$.length;++X)$[X].apply(null,R)}function Zr(k,S,$){return typeof S=="string"&&(S={type:S,preventDefault:function(){this.defaultPrevented=!0}}),vr(k,$||S.type,k,S),Ya(S)||S.codemirrorIgnore}function Mr(k){var S=k._handlers&&k._handlers.cursorActivity;if(S)for(var $=k.curOp.cursorActivityHandlers||(k.curOp.cursorActivityHandlers=[]),R=0;R0}function jn(k){k.prototype.on=function(S,$){mi(this,S,$)},k.prototype.off=function(S,$){lr(this,S,$)}}function Xo(k){k.preventDefault?k.preventDefault():k.returnValue=!1}function hr(k){k.stopPropagation?k.stopPropagation():k.cancelBubble=!0}function Ya(k){return k.defaultPrevented!=null?k.defaultPrevented:k.returnValue==0}function So(k){Xo(k),hr(k)}function ta(k){return k.target||k.srcElement}function Ba(k){var S=k.which;return S==null&&(1&k.button?S=1:2&k.button?S=3:4&k.button&&(S=2)),G&&k.ctrlKey&&S==1&&(S=3),S}var ho,mo,Lo=function(){if(w&&x<9)return!1;var k=Ee("div");return"draggable"in k||"dragDrop"in k}();function qo(k){if(ho==null){var S=Ee("span","​");Y(k,Ee("span",[S,document.createTextNode("x")])),k.firstChild.offsetHeight!=0&&(ho=S.offsetWidth<=1&&S.offsetHeight>2&&!(w&&x<8))}var $=ho?Ee("span","​"):Ee("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return $.setAttribute("cm-text",""),$}function cs(k){if(mo!=null)return mo;var S=Y(k,document.createTextNode("AخA")),$=me(S,0,1).getBoundingClientRect(),R=me(S,1,2).getBoundingClientRect();return ye(k),!(!$||$.left==$.right)&&(mo=R.right-$.right<3)}var fa,qh=` +**/const $gn="http://www.w3.org/2000/svg",jgn="http://www.w3.org/1998/Math/MathML",jM=typeof document<"u"?document:null,m5t=jM&&jM.createElement("template"),Kgn={insert:(r,i,o)=>{i.insertBefore(r,o||null)},remove:r=>{const i=r.parentNode;i&&i.removeChild(r)},createElement:(r,i,o,l)=>{const h=i==="svg"?jM.createElementNS($gn,r):i==="mathml"?jM.createElementNS(jgn,r):jM.createElement(r,o?{is:o}:void 0);return r==="select"&&l&&l.multiple!=null&&h.setAttribute("multiple",l.multiple),h},createText:r=>jM.createTextNode(r),createComment:r=>jM.createComment(r),setText:(r,i)=>{r.nodeValue=i},setElementText:(r,i)=>{r.textContent=i},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>jM.querySelector(r),setScopeId(r,i){r.setAttribute(i,"")},insertStaticContent(r,i,o,l,h,g){const d=o?o.previousSibling:i.lastChild;if(h&&(h===g||h.nextSibling))for(;i.insertBefore(h.cloneNode(!0),o),!(h===g||!(h=h.nextSibling)););else{m5t.innerHTML=l==="svg"?`${r}`:l==="mathml"?`${r}`:r;const b=m5t.content;if(l==="svg"||l==="mathml"){const w=b.firstChild;for(;w.firstChild;)b.appendChild(w.firstChild);b.removeChild(w)}i.insertBefore(b,o)}return[d?d.nextSibling:i.firstChild,o?o.previousSibling:i.lastChild]}},zgn=Symbol("_vtc");function Xgn(r,i,o){const l=r[zgn];l&&(i=(i?[i,...l]:[...l]).join(" ")),i==null?r.removeAttribute("class"):o?r.setAttribute("class",i):r.className=i}const Ggn=Symbol("_vod"),Vgn=Symbol("");function Wgn(r,i,o){const l=r.style,h=l.display,g=Lm(o);if(o&&!g){if(i&&!Lm(i))for(const d in i)o[d]==null&&eDe(l,d,"");for(const d in o)eDe(l,d,o[d])}else if(g){if(i!==o){const d=l[Vgn];d&&(o+=";"+d),l.cssText=o}}else i&&r.removeAttribute("style");Ggn in r&&(l.display=h)}const b5t=/\s*!important$/;function eDe(r,i,o){if(Pl(o))o.forEach(l=>eDe(r,i,l));else if(o==null&&(o=""),i.startsWith("--"))r.setProperty(i,o);else{const l=qgn(r,i);b5t.test(o)?r.setProperty(Uj(l),o.replace(b5t,""),"important"):r[l]=o}}const w5t=["Webkit","Moz","ms"],$Le={};function qgn(r,i){const o=$Le[i];if(o)return o;let l=hj(i);if(l!=="filter"&&l in r)return $Le[i]=l;l=CTt(l);for(let h=0;hjLe||(rpn.then(()=>jLe=0),jLe=Date.now());function apn(r,i){const o=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=o.attached)return;g7(opn(l,o.value),i,5,[l])};return o.value=r,o.attached=ipn(),o}function opn(r,i){if(Pl(i)){const o=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0},i.map(l=>h=>!h._stopped&&l&&l(h))}else return i}const k5t=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)>96&&r.charCodeAt(2)<123,spn=(r,i,o,l,h,g,d,b,w)=>{const x=h==="svg";i==="class"?Xgn(r,l,x):i==="style"?Wgn(r,o,l):npe(i)?wNe(i)||tpn(r,i,o,l,d):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):cpn(r,i,l,x))?Jgn(r,i,l,g,d,b,w):(i==="true-value"?r._trueValue=l:i==="false-value"&&(r._falseValue=l),Ygn(r,i,l,x))};function cpn(r,i,o,l){if(l)return!!(i==="innerHTML"||i==="textContent"||i in r&&k5t(i)&&Au(o));if(i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&r.tagName==="INPUT"||i==="type"&&r.tagName==="TEXTAREA")return!1;if(i==="width"||i==="height"){const h=r.tagName;if(h==="IMG"||h==="VIDEO"||h==="CANVAS"||h==="SOURCE")return!1}return k5t(i)&&Lm(o)?!1:i in r}const lpn=Lb({patchProp:spn},Kgn);let C5t;function upn(){return C5t||(C5t=wgn(lpn))}const hpn=(...r)=>{const i=upn().createApp(...r),{mount:o}=i;return i.mount=l=>{const h=dpn(l);if(!h)return;const g=i._component;!Au(g)&&!g.render&&!g.template&&(g.template=h.innerHTML),h.innerHTML="";const d=o(h,!1,fpn(h));return h instanceof Element&&(h.removeAttribute("v-cloak"),h.setAttribute("data-v-app","")),d},i};function fpn(r){if(r instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&r instanceof MathMLElement)return"mathml"}function dpn(r){return Lm(r)?document.querySelector(r):r}var Bb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xQ(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function il(r,i){return r(i={exports:{}},i.exports),i.exports}function KLe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var _M,jAe,Ude=function(r){return r&&r.Math==Math&&r},Ai=Ude(typeof globalThis=="object"&&globalThis)||Ude(typeof window=="object"&&window)||Ude(typeof self=="object"&&self)||Ude(typeof Bb=="object"&&Bb)||function(){return this}()||Function("return this")(),eu=function(r){try{return!!r()}catch{return!0}},Hj=!eu(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),ABt=Function.prototype,E5t=ABt.apply,T5t=ABt.call,FB=typeof Reflect=="object"&&Reflect.apply||(Hj?T5t.bind(E5t):function(){return T5t.apply(E5t,arguments)}),gBt=Function.prototype,Apn=gBt.bind,tDe=gBt.call,gpn=Hj&&Apn.bind(tDe,tDe),Za=Hj?function(r){return r&&gpn(r)}:function(r){return r&&function(){return tDe.apply(r,arguments)}},hh=function(r){return typeof r=="function"},Zu=!eu(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Hde=Function.prototype.call,cc=Hj?Hde.bind(Hde):function(){return Hde.apply(Hde,arguments)},B5t={}.propertyIsEnumerable,_5t=Object.getOwnPropertyDescriptor,ote={f:_5t&&!B5t.call({1:2},1)?function(r){var i=_5t(this,r);return!!i&&i.enumerable}:B5t},W3=function(r,i){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:i}},ppn=Za({}.toString),mpn=Za("".slice),c9=function(r){return mpn(ppn(r),8,-1)},zLe=Ai.Object,bpn=Za("".split),dpe=eu(function(){return!zLe("z").propertyIsEnumerable(0)})?function(r){return c9(r)=="String"?bpn(r,""):zLe(r)}:zLe,wpn=Ai.TypeError,dI=function(r){if(r==null)throw wpn("Can't call method on "+r);return r},ry=function(r){return dpe(dI(r))},g1=function(r){return typeof r=="object"?r!==null:hh(r)},Gc={},S5t=function(r){return hh(r)?r:void 0},Fp=function(r,i){return arguments.length<2?S5t(Gc[r])||S5t(Ai[r]):Gc[r]&&Gc[r][i]||Ai[r]&&Ai[r][i]},uf=Za({}.isPrototypeOf),l9=Fp("navigator","userAgent")||"",L5t=Ai.process,M5t=Ai.Deno,I5t=L5t&&L5t.versions||M5t&&M5t.version,F5t=I5t&&I5t.v8;F5t&&(jAe=(_M=F5t.split("."))[0]>0&&_M[0]<4?1:+(_M[0]+_M[1])),!jAe&&l9&&(!(_M=l9.match(/Edge\/(\d+)/))||_M[1]>=74)&&(_M=l9.match(/Chrome\/(\d+)/))&&(jAe=+_M[1]);var f9=jAe,C6=!!Object.getOwnPropertySymbols&&!eu(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&f9&&f9<41}),UNe=C6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",vpn=Ai.Object,dj=UNe?function(r){return typeof r=="symbol"}:function(r){var i=Fp("Symbol");return hh(i)&&uf(i.prototype,vpn(r))},ypn=Ai.String,ste=function(r){try{return ypn(r)}catch{return"Object"}},xpn=Ai.TypeError,Lu=function(r){if(hh(r))return r;throw xpn(ste(r)+" is not a function")},V0e=function(r,i){var o=r[i];return o==null?void 0:Lu(o)},kpn=Ai.TypeError,Cpn=Object.defineProperty,D5t="__core-js_shared__",eI=Ai[D5t]||function(r,i){try{Cpn(Ai,r,{value:i,configurable:!0,writable:!0})}catch{Ai[r]=i}return i}(D5t,{}),AI=il(function(r){(r.exports=function(i,o){return eI[i]||(eI[i]=o!==void 0?o:{})})("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"})}),Epn=Ai.Object,iy=function(r){return Epn(dI(r))},Tpn=Za({}.hasOwnProperty),sc=Object.hasOwn||function(r,i){return Tpn(iy(r),i)},Bpn=0,_pn=Math.random(),Spn=Za(1 .toString),vee=function(r){return"Symbol("+(r===void 0?"":r)+")_"+Spn(++Bpn+_pn,36)},KJ=AI("wks"),eQ=Ai.Symbol,O5t=eQ&&eQ.for,Lpn=UNe?eQ:eQ&&eQ.withoutSetter||vee,ed=function(r){if(!sc(KJ,r)||!C6&&typeof KJ[r]!="string"){var i="Symbol."+r;C6&&sc(eQ,r)?KJ[r]=eQ[r]:KJ[r]=UNe&&O5t?O5t(i):Lpn(i)}return KJ[r]},Mpn=Ai.TypeError,Ipn=ed("toPrimitive"),Fpn=function(r,i){if(!g1(r)||dj(r))return r;var o,l=V0e(r,Ipn);if(l){if(i===void 0&&(i="default"),o=cc(l,r,i),!g1(o)||dj(o))return o;throw Mpn("Can't convert object to primitive value")}return i===void 0&&(i="number"),function(h,g){var d,b;if(g==="string"&&hh(d=h.toString)&&!g1(b=cc(d,h))||hh(d=h.valueOf)&&!g1(b=cc(d,h))||g!=="string"&&hh(d=h.toString)&&!g1(b=cc(d,h)))return b;throw kpn("Can't convert object to primitive value")}(r,i)},oQ=function(r){var i=Fpn(r,"string");return dj(i)?i:i+""},nDe=Ai.document,Dpn=g1(nDe)&&g1(nDe.createElement),W0e=function(r){return Dpn?nDe.createElement(r):{}},pBt=!Zu&&!eu(function(){return Object.defineProperty(W0e("div"),"a",{get:function(){return 7}}).a!=7}),N5t=Object.getOwnPropertyDescriptor,g9={f:Zu?N5t:function(r,i){if(r=ry(r),i=oQ(i),pBt)try{return N5t(r,i)}catch{}if(sc(r,i))return W3(!cc(ote.f,r,i),r[i])}},Opn=/#|\.prototype\./,cte=function(r,i){var o=Qpn[Npn(r)];return o==Rpn||o!=Ppn&&(hh(i)?eu(i):!!i)},Npn=cte.normalize=function(r){return String(r).replace(Opn,".").toLowerCase()},Qpn=cte.data={},Ppn=cte.NATIVE="N",Rpn=cte.POLYFILL="P",mBt=cte,Upn=Za(Za.bind),tg=function(r,i){return Lu(r),i===void 0?r:Hj?Upn(r,i):function(){return r.apply(i,arguments)}},bBt=Zu&&eu(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Hpn=Ai.String,$pn=Ai.TypeError,Mu=function(r){if(g1(r))return r;throw $pn(Hpn(r)+" is not an object")},jpn=Ai.TypeError,XLe=Object.defineProperty,Kpn=Object.getOwnPropertyDescriptor,GLe="enumerable",VLe="configurable",WLe="writable",Z2={f:Zu?bBt?function(r,i,o){if(Mu(r),i=oQ(i),Mu(o),typeof r=="function"&&i==="prototype"&&"value"in o&&WLe in o&&!o[WLe]){var l=Kpn(r,i);l&&l[WLe]&&(r[i]=o.value,o={configurable:VLe in o?o[VLe]:l[VLe],enumerable:GLe in o?o[GLe]:l[GLe],writable:!1})}return XLe(r,i,o)}:XLe:function(r,i,o){if(Mu(r),i=oQ(i),Mu(o),pBt)try{return XLe(r,i,o)}catch{}if("get"in o||"set"in o)throw jpn("Accessors not supported");return"value"in o&&(r[i]=o.value),r}},xb=Zu?function(r,i,o){return Z2.f(r,i,W3(1,o))}:function(r,i,o){return r[i]=o,r},zpn=g9.f,Xpn=function(r){var i=function(o,l,h){if(this instanceof i){switch(arguments.length){case 0:return new r;case 1:return new r(o);case 2:return new r(o,l)}return new r(o,l,h)}return FB(r,this,arguments)};return i.prototype=r.prototype,i},ma=function(r,i){var o,l,h,g,d,b,w,x,C=r.target,B=r.global,L=r.stat,M=r.proto,P=B?Ai:L?Ai[C]:(Ai[C]||{}).prototype,z=B?Gc:Gc[C]||xb(Gc,C,{})[C],W=z.prototype;for(h in i)o=!mBt(B?h:C+(L?".":"#")+h,r.forced)&&P&&sc(P,h),d=z[h],o&&(b=r.dontCallGetSet?(x=zpn(P,h))&&x.value:P[h]),g=o&&b?b:i[h],o&&typeof d==typeof g||(w=r.bind&&o?tg(g,Ai):r.wrap&&o?Xpn(g):M&&hh(g)?Za(g):g,(r.sham||g&&g.sham||d&&d.sham)&&xb(w,"sham",!0),xb(z,h,w),M&&(sc(Gc,l=C+"Prototype")||xb(Gc,l,{}),xb(Gc[l],h,g),r.real&&W&&!W[h]&&xb(W,h,g)))},rI=Za([].slice),Q5t=Ai.Function,Gpn=Za([].concat),Vpn=Za([].join),qLe={},rDe=Hj?Q5t.bind:function(r){var i=Lu(this),o=i.prototype,l=rI(arguments,1),h=function(){var g=Gpn(l,rI(arguments));return this instanceof h?function(d,b,w){if(!sc(qLe,b)){for(var x=[],C=0;C0?imn:rmn)(i)},$j=function(r){var i=+r;return i!=i||i===0?0:amn(i)},omn=Math.max,smn=Math.min,PB=function(r,i){var o=$j(r);return o<0?omn(o+i,0):smn(o,i)},cmn=Math.min,KNe=function(r){return r>0?cmn($j(r),9007199254740991):0},n4=function(r){return KNe(r.length)},P5t=function(r){return function(i,o,l){var h,g=ry(i),d=n4(g),b=PB(l,d);if(r&&o!=o){for(;d>b;)if((h=g[b++])!=h)return!0}else for(;d>b;b++)if((r||b in g)&&g[b]===o)return r||b||0;return!r&&-1}},zNe={includes:P5t(!0),indexOf:P5t(!1)},jj={},lmn=zNe.indexOf,R5t=Za([].push),kBt=function(r,i){var o,l=ry(r),h=0,g=[];for(o in l)!sc(jj,o)&&sc(l,o)&&R5t(g,o);for(;i.length>h;)sc(l,o=i[h++])&&(~lmn(g,o)||R5t(g,o));return g},Y0e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],DB=Object.keys||function(r){return kBt(r,Y0e)},umn=Zu&&!bBt?Object.defineProperties:function(r,i){Mu(r);for(var o,l=ry(i),h=DB(i),g=h.length,d=0;g>d;)Z2.f(r,o=h[d++],l[o]);return r},XNe={f:umn},iDe=Fp("document","documentElement"),U5t=AI("keys"),gpe=function(r){return U5t[r]||(U5t[r]=vee(r))},aDe="prototype",oDe="script",CBt=gpe("IE_PROTO"),YLe=function(){},EBt=function(r){return"<"+oDe+">"+r+""},H5t=function(r){r.write(EBt("")),r.close();var i=r.parentWindow.Object;return r=null,i},KAe=function(){try{$de=new ActiveXObject("htmlfile")}catch{}var r,i,o;KAe=typeof document<"u"?document.domain&&$de?H5t($de):(i=W0e("iframe"),o="java"+oDe+":",i.style.display="none",iDe.appendChild(i),i.src=String(o),(r=i.contentWindow.document).open(),r.write(EBt("document.F=Object")),r.close(),r.F):H5t($de);for(var l=Y0e.length;l--;)delete KAe[aDe][Y0e[l]];return KAe()};jj[CBt]=!0;var Z3=Object.create||function(r,i){var o;return r!==null?(YLe[aDe]=Mu(r),o=new YLe,YLe[aDe]=null,o[CBt]=r):o=KAe(),i===void 0?o:XNe.f(o,i)},GNe=Fp("Reflect","construct"),hmn=Object.prototype,fmn=[].push,TBt=eu(function(){function r(){}return!(GNe(function(){},[],r)instanceof r)}),BBt=!eu(function(){GNe(function(){})}),$5t=TBt||BBt;ma({target:"Reflect",stat:!0,forced:$5t,sham:$5t},{construct:function(r,i){q0e(r),Mu(i);var o=arguments.length<3?r:q0e(arguments[2]);if(BBt&&!TBt)return GNe(r,i,o);if(r==o){switch(i.length){case 0:return new r;case 1:return new r(i[0]);case 2:return new r(i[0],i[1]);case 3:return new r(i[0],i[1],i[2]);case 4:return new r(i[0],i[1],i[2],i[3])}var l=[null];return FB(fmn,l,i),new(FB(rDe,r,l))}var h=o.prototype,g=Z3(g1(h)?h:hmn),d=FB(r,g,i);return g1(d)?d:g}});var _Bt=Gc.Reflect.construct,ut=_Bt,dmn=eu(function(){DB(1)});ma({target:"Object",stat:!0,forced:dmn},{keys:function(r){return DB(iy(r))}});var J0e,XZ,Z0e,SBt=Gc.Object.keys,pu=SBt,Amn=Ai.String,Zl=function(r){if(gI(r)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Amn(r)},gmn=Y0e.concat("length","prototype"),yee={f:Object.getOwnPropertyNames||function(r){return kBt(r,gmn)}},iI=function(r,i,o){var l=oQ(i);l in r?Z2.f(r,l,W3(0,o)):r[l]=o},pmn=Ai.Array,mmn=Math.max,zv=function(r,i,o){for(var l=n4(r),h=PB(i,l),g=PB(o===void 0?l:o,l),d=pmn(mmn(g-h,0)),b=0;hV;V++)if((b||V in z)&&(M=W(L=z[V],V,P),r))if(i)G[V]=M;else if(M)switch(r){case 3:return!0;case 5:return L;case 6:return V;case 2:q5t(G,L)}else switch(r){case 4:return!1;case 7:q5t(G,L)}return g?-1:l||h?h:G}},VB={forEach:SM(0),map:SM(1),filter:SM(2),some:SM(3),every:SM(4),find:SM(5),findIndex:SM(6),filterReject:SM(7)},mpe=VB.forEach,Wv=gpe("hidden"),ege="Symbol",xee="prototype",Tmn=Mm.set,Y5t=Mm.getterFor(ege),f7=Object[xee],HN=Ai.Symbol,xZ=HN&&HN[xee],Bmn=Ai.TypeError,JLe=Ai.QObject,MBt=g9.f,zM=Z2.f,IBt=VNe.f,_mn=ote.f,FBt=Za([].push),HB=AI("symbols"),ute=AI("op-symbols"),Smn=AI("wks"),ZLe=!JLe||!JLe[xee]||!JLe[xee].findChild,cDe=Zu&&eu(function(){return Z3(zM({},"a",{get:function(){return zM(this,"a",{value:7}).a}})).a!=7})?function(r,i,o){var l=MBt(f7,i);l&&delete f7[i],zM(r,i,o),l&&r!==f7&&zM(f7,i,l)}:zM,eMe=function(r,i){var o=HB[r]=Z3(xZ);return Tmn(o,{type:ege,tag:r,description:i}),Zu||(o.description=i),o},tge=function(r,i,o){r===f7&&tge(ute,i,o),Mu(r);var l=oQ(i);return Mu(o),sc(HB,l)?(o.enumerable?(sc(r,Wv)&&r[Wv][l]&&(r[Wv][l]=!1),o=Z3(o,{enumerable:W3(0,!1)})):(sc(r,Wv)||zM(r,Wv,W3(1,{})),r[Wv][l]=!0),cDe(r,l,o)):zM(r,l,o)},tMe=function(r,i){Mu(r);var o=ry(i),l=DB(o).concat(OBt(o));return mpe(l,function(h){Zu&&!cc(DBt,o,h)||tge(r,h,o[h])}),r},DBt=function(r){var i=oQ(r),o=cc(_mn,this,i);return!(this===f7&&sc(HB,i)&&!sc(ute,i))&&(!(o||!sc(this,i)||!sc(HB,i)||sc(this,Wv)&&this[Wv][i])||o)},J5t=function(r,i){var o=ry(r),l=oQ(i);if(o!==f7||!sc(HB,l)||sc(ute,l)){var h=MBt(o,l);return!h||!sc(HB,l)||sc(o,Wv)&&o[Wv][l]||(h.enumerable=!0),h}},Z5t=function(r){var i=IBt(ry(r)),o=[];return mpe(i,function(l){sc(HB,l)||sc(jj,l)||FBt(o,l)}),o},OBt=function(r){var i=r===f7,o=IBt(i?ute:ry(r)),l=[];return mpe(o,function(h){!sc(HB,h)||i&&!sc(f7,h)||FBt(l,HB[h])}),l};C6||(HN=function(){if(uf(xZ,this))throw Bmn("Symbol is not a constructor");var r=arguments.length&&arguments[0]!==void 0?Zl(arguments[0]):void 0,i=vee(r),o=function(l){this===f7&&cc(o,ute,l),sc(this,Wv)&&sc(this[Wv],i)&&(this[Wv][i]=!1),cDe(this,i,W3(1,l))};return Zu&&ZLe&&cDe(f7,i,{configurable:!0,set:o}),eMe(i,r)},xZ=HN[xee],ey(xZ,"toString",function(){return Y5t(this).tag}),ey(HN,"withoutSetter",function(r){return eMe(vee(r),r)}),ote.f=DBt,Z2.f=tge,XNe.f=tMe,g9.f=J5t,yee.f=VNe.f=Z5t,lte.f=OBt,WNe.f=function(r){return eMe(ed(r),r)},Zu&&zM(xZ,"description",{configurable:!0,get:function(){return Y5t(this).description}})),ma({global:!0,constructor:!0,wrap:!0,forced:!C6,sham:!C6},{Symbol:HN}),mpe(DB(Smn),function(r){x0(r)}),ma({target:ege,stat:!0,forced:!C6},{useSetter:function(){ZLe=!0},useSimple:function(){ZLe=!1}}),ma({target:"Object",stat:!0,forced:!C6,sham:!Zu},{create:function(r,i){return i===void 0?Z3(r):tMe(Z3(r),i)},defineProperty:tge,defineProperties:tMe,getOwnPropertyDescriptor:J5t}),ma({target:"Object",stat:!0,forced:!C6},{getOwnPropertyNames:Z5t}),LBt(),RB(HN,ege),jj[Wv]=!0;var NBt=C6&&!!Symbol.for&&!!Symbol.keyFor,nMe=AI("string-to-symbol-registry"),Lmn=AI("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!NBt},{for:function(r){var i=Zl(r);if(sc(nMe,i))return nMe[i];var o=Fp("Symbol")(i);return nMe[i]=o,Lmn[o]=i,o}});var e6t=AI("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!NBt},{keyFor:function(r){if(!dj(r))throw TypeError(ste(r)+" is not a symbol");if(sc(e6t,r))return e6t[r]}});var tI=Fp("JSON","stringify"),jde=Za(/./.exec),t6t=Za("".charAt),Mmn=Za("".charCodeAt),Imn=Za("".replace),Fmn=Za(1 .toString),Dmn=/[\uD800-\uDFFF]/g,n6t=/^[\uD800-\uDBFF]$/,r6t=/^[\uDC00-\uDFFF]$/,i6t=!C6||eu(function(){var r=Fp("Symbol")();return tI([r])!="[null]"||tI({a:r})!="{}"||tI(Object(r))!="{}"}),a6t=eu(function(){return tI("\uDF06\uD834")!=='"\\udf06\\ud834"'||tI("\uDEAD")!=='"\\udead"'}),Omn=function(r,i){var o=rI(arguments),l=i;if((g1(i)||r!==void 0)&&!dj(r))return UB(i)||(i=function(h,g){if(hh(l)&&(g=cc(l,this,h,g)),!dj(g))return g}),o[1]=i,FB(tI,null,o)},Nmn=function(r,i,o){var l=t6t(o,i-1),h=t6t(o,i+1);return jde(n6t,r)&&!jde(r6t,h)||jde(r6t,r)&&!jde(n6t,l)?"\\u"+Fmn(Mmn(r,0),16):r};tI&&ma({target:"JSON",stat:!0,arity:3,forced:i6t||a6t},{stringify:function(r,i,o){var l=rI(arguments),h=FB(i6t?Omn:tI,null,l);return a6t&&typeof h=="string"?Imn(h,Dmn,Nmn):h}});var Qmn=!C6||eu(function(){lte.f(1)});ma({target:"Object",stat:!0,forced:Qmn},{getOwnPropertySymbols:function(r){var i=lte.f;return i?i(iy(r)):[]}});var QBt=Gc.Object.getOwnPropertySymbols,O1=QBt,Pmn=ed("species"),hte=function(r){return f9>=51||!eu(function(){var i=[];return(i.constructor={})[Pmn]=function(){return{foo:1}},i[r](Boolean).foo!==1})},Rmn=VB.filter,Umn=hte("filter");ma({target:"Array",proto:!0,forced:!Umn},{filter:function(r){return Rmn(this,r,arguments.length>1?arguments[1]:void 0)}});var Md=function(r){return Gc[r+"Prototype"]},Hmn=Md("Array").filter,rMe=Array.prototype,t1=function(r){var i=r.filter;return r===rMe||uf(rMe,r)&&i===rMe.filter?Hmn:i},PBt=g9.f,$mn=eu(function(){PBt(1)});ma({target:"Object",stat:!0,forced:!Zu||$mn,sham:!Zu},{getOwnPropertyDescriptor:function(r,i){return PBt(ry(r),i)}});var GM,o6t,s6t,jmn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.getOwnPropertyDescriptor(l,h)};i.getOwnPropertyDescriptor.sham&&(o.sham=!0)}),RBt=jmn,Id=RBt,$B={},UBt=Function.prototype,Kmn=Zu&&Object.getOwnPropertyDescriptor,iMe=sc(UBt,"name"),HBt={EXISTS:iMe,PROPER:iMe&&(function(){}).name==="something",CONFIGURABLE:iMe&&(!Zu||Zu&&Kmn(UBt,"name").configurable)},$Bt=!eu(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype}),c6t=gpe("IE_PROTO"),lDe=Ai.Object,zmn=lDe.prototype,sQ=$Bt?lDe.getPrototypeOf:function(r){var i=iy(r);if(sc(i,c6t))return i[c6t];var o=i.constructor;return hh(o)&&i instanceof o?o.prototype:i instanceof lDe?zmn:null},uDe=ed("iterator"),jBt=!1;[].keys&&("next"in(s6t=[].keys())?(o6t=sQ(sQ(s6t)))!==Object.prototype&&(GM=o6t):jBt=!0);var Xmn=GM==null||eu(function(){var r={};return GM[uDe].call(r)!==r});GM=Xmn?{}:Z3(GM),hh(GM[uDe])||ey(GM,uDe,function(){return this});var KBt={IteratorPrototype:GM,BUGGY_SAFARI_ITERATORS:jBt},Gmn=KBt.IteratorPrototype,Vmn=function(){return this},zBt=function(r,i,o,l){var h=i+" Iterator";return r.prototype=Z3(Gmn,{next:W3(+!l,o)}),RB(r,h,!1,!0),$B[h]=Vmn,r},Wmn=Ai.String,qmn=Ai.TypeError,kee=Object.setPrototypeOf||("__proto__"in{}?function(){var r,i=!1,o={};try{(r=Za(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(o,[]),i=o instanceof Array}catch{}return function(l,h){return Mu(l),function(g){if(typeof g=="object"||hh(g))return g;throw qmn("Can't set "+Wmn(g)+" as a prototype")}(h),i?r(l,h):l.__proto__=h,l}}():void 0),Ymn=HBt.PROPER,Kde=KBt.BUGGY_SAFARI_ITERATORS,aMe=ed("iterator"),l6t="keys",zde="values",u6t="entries",Jmn=function(){return this},qNe=function(r,i,o,l,h,g,d){zBt(o,i,l);var b,w,x,C=function(Q){if(Q===h&&z)return z;if(!Kde&&Q in M)return M[Q];switch(Q){case l6t:case zde:case u6t:return function(){return new o(this,Q)}}return function(){return new o(this)}},B=i+" Iterator",L=!1,M=r.prototype,P=M[aMe]||M["@@iterator"]||h&&M[h],z=!Kde&&P||C(h),W=i=="Array"&&M.entries||P;if(W&&(b=sQ(W.call(new r)))!==Object.prototype&&b.next&&(RB(b,B,!0,!0),$B[B]=Jmn),Ymn&&h==zde&&P&&P.name!==zde&&(L=!0,z=function(){return cc(P,this)}),h)if(w={values:C(zde),keys:g?z:C(l6t),entries:C(u6t)},d)for(x in w)(Kde||L||!(x in M))&&ey(M,x,w[x]);else ma({target:i,proto:!0,forced:Kde||L},w);return d&&M[aMe]!==z&&ey(M,aMe,z,{name:h}),$B[i]=z,w};Z2.f;var XBt="Array Iterator",Zmn=Mm.set,ebn=Mm.getterFor(XBt);qNe(Array,"Array",function(r,i){Zmn(this,{type:XBt,target:ry(r),index:0,kind:i})},function(){var r=ebn(this),i=r.target,o=r.kind,l=r.index++;return!i||l>=i.length?(r.target=void 0,{value:void 0,done:!0}):o=="keys"?{value:l,done:!1}:o=="values"?{value:i[l],done:!1}:{value:[l,i[l]],done:!1}},"values"),$B.Arguments=$B.Array;var h6t=ed("toStringTag");for(var oMe 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 f6t=Ai[oMe],sMe=f6t&&f6t.prototype;sMe&&gI(sMe)!==h6t&&xb(sMe,h6t,oMe),$B[oMe]=$B.Array}var Kj=function(r,i){var o=[][r];return!!o&&eu(function(){o.call(null,i||function(){return 1},1)})},tbn=VB.forEach,d6t=Kj("forEach")?[].forEach:function(r){return tbn(this,r,arguments.length>1?arguments[1]:void 0)};ma({target:"Array",proto:!0,forced:[].forEach!=d6t},{forEach:d6t});var nbn=Md("Array").forEach,cMe=Array.prototype,rbn={DOMTokenList:!0,NodeList:!0},GBt=function(r){var i=r.forEach;return r===cMe||uf(cMe,r)&&i===cMe.forEach||sc(rbn,gI(r))?nbn:i},xa=GBt,ibn=Za([].concat),VBt=Fp("Reflect","ownKeys")||function(r){var i=yee.f(Mu(r)),o=lte.f;return o?ibn(i,o(r)):i};ma({target:"Object",stat:!0,sham:!Zu},{getOwnPropertyDescriptors:function(r){for(var i,o,l=ry(r),h=g9.f,g=VBt(l),d={},b=0;g.length>b;)(o=h(l,i=g[b++]))!==void 0&&iI(d,i,o);return d}});var Ld=Gc.Object.getOwnPropertyDescriptors,A6t=XNe.f;ma({target:"Object",stat:!0,forced:Object.defineProperties!==A6t,sham:!Zu},{defineProperties:A6t});var abn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.defineProperties(l,h)};i.defineProperties.sham&&(o.sham=!0)}),L6=abn,g6t=Z2.f;ma({target:"Object",stat:!0,forced:Object.defineProperty!==g6t,sham:!Zu},{defineProperty:g6t});var WBt=il(function(r){var i=Gc.Object,o=r.exports=function(l,h,g){return i.defineProperty(l,h,g)};i.defineProperty.sham&&(o.sham=!0)}),J2=WBt;function qr(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var fte=WBt;function p6t(r,i){for(var o=0;o=51||!eu(function(){var r=[];return r[YBt]=!1,r.concat()[0]!==r}),cbn=hte("concat"),lbn=function(r){if(!g1(r))return!1;var i=r[YBt];return i!==void 0?!!i:UB(r)};ma({target:"Array",proto:!0,arity:1,forced:!sbn||!cbn},{concat:function(r){var i,o,l,h,g,d=iy(this),b=ppe(d,0),w=0;for(i=-1,l=arguments.length;im6t)throw w6t(b6t);for(o=0;o=m6t)throw w6t(b6t);iI(b,w++,g)}return b.length=w,b}}),x0("asyncIterator"),x0("hasInstance"),x0("isConcatSpreadable"),x0("iterator"),x0("match"),x0("matchAll"),x0("replace"),x0("search"),x0("species"),x0("split"),x0("toPrimitive"),LBt(),x0("toStringTag"),RB(Fp("Symbol"),"Symbol"),x0("unscopables"),RB(Ai.JSON,"JSON",!0);var JBt=Gc.Symbol,ubn=JBt;x0("asyncDispose"),x0("dispose"),x0("matcher"),x0("metadata"),x0("observable"),x0("patternMatch"),x0("replaceAll");var T6=ubn,hbn=Za("".charAt),v6t=Za("".charCodeAt),fbn=Za("".slice),y6t=function(r){return function(i,o){var l,h,g=Zl(dI(i)),d=$j(o),b=g.length;return d<0||d>=b?r?"":void 0:(l=v6t(g,d))<55296||l>56319||d+1===b||(h=v6t(g,d+1))<56320||h>57343?r?hbn(g,d):l:r?fbn(g,d,d+2):h-56320+(l-55296<<10)+65536}},ZBt={codeAt:y6t(!1),charAt:y6t(!0)},dbn=ZBt.charAt,e_t="String Iterator",Abn=Mm.set,gbn=Mm.getterFor(e_t);qNe(String,"String",function(r){Abn(this,{type:e_t,string:Zl(r),index:0})},function(){var r,i=gbn(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(r=dbn(o,l),i.index+=r.length,{value:r,done:!1})});var t_t=WNe.f("iterator"),n_t=t_t;function Vc(r){return Vc=typeof T6=="function"&&typeof n_t=="symbol"?function(i){return typeof i}:function(i){return i&&typeof T6=="function"&&i.constructor===T6&&i!==T6.prototype?"symbol":typeof i},Vc(r)}function Wi(r,i){if(i&&(Vc(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return es(r)}var pbn=eu(function(){sQ(1)});ma({target:"Object",stat:!0,forced:pbn,sham:!$Bt},{getPrototypeOf:function(r){return sQ(iy(r))}});var r_t=Gc.Object.getPrototypeOf,VZ=r_t;function En(r){return En=nge?VZ:function(i){return i.__proto__||VZ(i)},En(r)}function gi(r,i,o){return i in r?fte(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}var mbn=Md("Array").concat,lMe=Array.prototype,rt=function(r){var i=r.concat;return r===lMe||uf(lMe,r)&&i===lMe.concat?mbn:i};ma({target:"Function",proto:!0,forced:Function.bind!==rDe},{bind:rDe});var bbn=Md("Function").bind,uMe=Function.prototype,i_t=function(r){var i=r.bind;return r===uMe||uf(uMe,r)&&i===uMe.bind?bbn:i},Xa=i_t,wbn=Ai.TypeError,bB=function(r,i){if(r2,h=hh(i)?i:ybn(i),g=l?rI(arguments,2):void 0;return r(l?function(){FB(h,this,g)}:h,o)}:r},a_t={setTimeout:x6t(Ai.setTimeout),setInterval:x6t(Ai.setInterval)},k6t=a_t.setInterval;ma({global:!0,bind:!0,forced:Ai.setInterval!==k6t},{setInterval:k6t});var C6t=a_t.setTimeout;ma({global:!0,bind:!0,forced:Ai.setTimeout!==C6t},{setTimeout:C6t});var Z0=Gc.setTimeout,xbn=function(){this.__data__=[],this.size=0},bpe=function(r,i){return r===i||r!=r&&i!=i},wpe=function(r,i){for(var o=r.length;o--;)if(bpe(r[o][0],i))return o;return-1},kbn=Array.prototype.splice,Cbn=function(r){var i=this.__data__,o=wpe(i,r);return!(o<0)&&(o==i.length-1?i.pop():kbn.call(i,o,1),--this.size,!0)},Ebn=function(r){var i=this.__data__,o=wpe(i,r);return o<0?void 0:i[o][1]},Tbn=function(r){return wpe(this.__data__,r)>-1},Bbn=function(r,i){var o=this.__data__,l=wpe(o,r);return l<0?(++this.size,o.push([r,i])):o[l][1]=i,this};function E$(r){var i=-1,o=r==null?0:r.length;for(this.clear();++i-1&&r%1==0&&r<=9007199254740991},xpe=function(r){return r!=null&&g_t(r.length)&&!YNe(r)},m2n=function(r){return pI(r)&&xpe(r)},b2n=function(){return!1},nQe=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o?y7.Buffer:void 0,g=(h?h.isBuffer:void 0)||b2n;r.exports=g}),w2n=Function.prototype,v2n=Object.prototype,p_t=w2n.toString,y2n=v2n.hasOwnProperty,x2n=p_t.call(Object),k2n=function(r){if(!pI(r)||kQ(r)!="[object Object]")return!1;var i=eQe(r);if(i===null)return!0;var o=y2n.call(i,"constructor")&&i.constructor;return typeof o=="function"&&o instanceof o&&p_t.call(o)==x2n},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 C2n=function(r){return pI(r)&&g_t(r.length)&&!!Y1[kQ(r)]},rQe=function(r){return function(i){return r(i)}},gj=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o&&o_t.process,g=function(){try{var d=l&&l.require&&l.require("util").types;return d||h&&h.binding&&h.binding("util")}catch{}}();r.exports=g}),M6t=gj&&gj.isTypedArray,m_t=M6t?rQe(M6t):C2n,dDe=function(r,i){if((i!=="constructor"||typeof r[i]!="function")&&i!="__proto__")return r[i]},E2n=Object.prototype.hasOwnProperty,b_t=function(r,i,o){var l=r[i];E2n.call(r,i)&&bpe(l,o)&&(o!==void 0||i in r)||JNe(r,i,o)},dte=function(r,i,o,l){var h=!o;o||(o={});for(var g=-1,d=i.length;++g-1&&r%1==0&&r0){if(++i>=800)return arguments[0]}else i=0;return r.apply(void 0,arguments)}},$2n=H2n(R2n),j2n=function(r,i){return $2n(N2n(r,i,y_t),r+"")},K2n=function(r,i,o){if(!w7(o))return!1;var l=typeof i;return!!(l=="number"?xpe(o)&&w_t(i,o.length):l=="string"&&i in o)&&bpe(o[i],r)},z2n=function(r){return j2n(function(i,o){var l=-1,h=o.length,g=h>1?o[h-1]:void 0,d=h>2?o[2]:void 0;for(g=r.length>3&&typeof g=="function"?(h--,g):void 0,d&&K2n(o[0],o[1],d)&&(g=h<3?void 0:g,h=1),i=Object(i);++l1?arguments[1]:void 0;return D6t?ADe(this,r,i)||0:G2n(this,r,i)}});var W2n=Md("Array").indexOf,fMe=Array.prototype,x_t=function(r){var i=r.indexOf;return r===fMe||uf(fMe,r)&&i===fMe.indexOf?W2n:i},gDe=x_t,q2n=SBt;function Y2n(r,i){if(r==null)return{};var o,l,h=function(d,b){if(d==null)return{};var w,x,C={},B=q2n(d);for(x=0;x=0||(C[w]=d[w]);return C}(r,i);if(F6t){var g=F6t(r);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(r,o)&&(h[o]=r[o])}return h}var d$=Object.assign,O6t=Object.defineProperty,J2n=Za([].concat),Bee=!d$||eu(function(){if(Zu&&d$({b:1},d$(O6t({},"a",{enumerable:!0,get:function(){O6t(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var r={},i={},o=Symbol(),l="abcdefghijklmnopqrst";return r[o]=7,l.split("").forEach(function(h){i[h]=h}),d$({},r)[o]!=7||DB(d$({},i)).join("")!=l})?function(r,i){for(var o=iy(r),l=arguments.length,h=1,g=lte.f,d=ote.f;l>h;)for(var b,w=dpe(arguments[h++]),x=g?J2n(DB(w),g(w)):DB(w),C=x.length,B=0;C>B;)b=x[B++],Zu&&!cc(d,w,b)||(o[b]=w[b]);return o}:d$;ma({target:"Object",stat:!0,arity:2,forced:Object.assign!==Bee},{assign:Bee});var k_t=Gc.Object.assign,TB=k_t;Gc.JSON||(Gc.JSON={stringify:JSON.stringify});var aQe=function(r,i,o){return FB(Gc.JSON.stringify,null,arguments)},Z2n=VB.find,N6t="find",Q6t=!0;N6t in[]&&Array(1)[N6t](function(){Q6t=!1}),ma({target:"Array",proto:!0,forced:Q6t},{find:function(r){return Z2n(this,r,arguments.length>1?arguments[1]:void 0)}});var GJ,ewn=Md("Array").find,dMe=Array.prototype,_ee=function(r){var i=r.find;return r===dMe||uf(dMe,r)&&i===dMe.find?ewn:i},pj=` +\v\f\r                 \u2028\u2029\uFEFF`,P6t=Za("".replace),ige="["+pj+"]",twn=RegExp("^"+ige+ige+"*"),nwn=RegExp(ige+ige+"*$"),AMe=function(r){return function(i){var o=Zl(dI(i));return 1&r&&(o=P6t(o,twn,"")),2&r&&(o=P6t(o,nwn,"")),o}},oQe={start:AMe(1),end:AMe(2),trim:AMe(3)},rwn=HBt.PROPER,iwn=oQe.trim;ma({target:"String",proto:!0,forced:(GJ="trim",eu(function(){return!!pj[GJ]()||"​…᠎"[GJ]()!=="​…᠎"||rwn&&pj[GJ].name!==GJ}))},{trim:function(){return iwn(this)}});var awn=Md("String").trim,gMe=String.prototype,uo=function(r){var i=r.trim;return typeof r=="string"||r===gMe||uf(gMe,r)&&i===gMe.trim?awn:i},pDe=function(r,i,o){var l,h;Mu(r);try{if(!(l=V0e(r,"return"))){if(i==="throw")throw o;return o}l=cc(l,r)}catch(g){h=!0,l=g}if(i==="throw")throw o;if(h)throw l;return Mu(l),o},own=function(r,i,o,l){try{return l?i(Mu(o)[0],o[1]):i(o)}catch(h){pDe(r,"throw",h)}},swn=ed("iterator"),cwn=Array.prototype,C_t=function(r){return r!==void 0&&($B.Array===r||cwn[swn]===r)},lwn=ed("iterator"),gte=function(r){if(r!=null)return V0e(r,lwn)||V0e(r,"@@iterator")||$B[gI(r)]},uwn=Ai.TypeError,cQ=function(r,i){var o=arguments.length<2?gte(r):i;if(Lu(o))return Mu(cc(o,r));throw uwn(ste(r)+" is not iterable")},R6t=Ai.Array,FN=function(r){var i=iy(r),o=Ape(this),l=arguments.length,h=l>1?arguments[1]:void 0,g=h!==void 0;g&&(h=tg(h,l>2?arguments[2]:void 0));var d,b,w,x,C,B,L=gte(i),M=0;if(!L||this==R6t&&C_t(L))for(d=n4(i),b=o?new this(d):R6t(d);d>M;M++)B=g?h(i[M],M):i[M],iI(b,M,B);else for(C=(x=cQ(i,L)).next,b=o?new this:[];!(w=cc(C,x)).done;M++)B=g?own(x,h,[w.value,M],!0):w.value,iI(b,M,B);return b.length=M,b},E_t=ed("iterator"),T_t=!1;try{var hwn=0,U6t={next:function(){return{done:!!hwn++}},return:function(){T_t=!0}};U6t[E_t]=function(){return this},Array.from(U6t,function(){throw 2})}catch{}var B_t=function(r,i){if(!i&&!T_t)return!1;var o=!1;try{var l={};l[E_t]=function(){return{next:function(){return{done:o=!0}}}},r(l)}catch{}return o},fwn=!B_t(function(r){Array.from(r)});ma({target:"Array",stat:!0,forced:fwn},{from:FN});var __t=Gc.Array.from,yl=__t,dwn=ed("match"),Awn=Ai.TypeError,sQe=function(r){if(function(i){var o;return g1(i)&&((o=i[dwn])!==void 0?!!o:c9(i)=="RegExp")}(r))throw Awn("The method doesn't accept regular expressions");return r},gwn=ed("match"),cQe=function(r){var i=/./;try{"/./"[r](i)}catch{try{return i[gwn]=!1,"/./"[r](i)}catch{}}return!1};g9.f;var H6t=Za("".startsWith),pwn=Za("".slice),mwn=Math.min,bwn=cQe("startsWith");ma({target:"String",proto:!0,forced:!bwn},{startsWith:function(r){var i=Zl(dI(this));sQe(r);var o=KNe(mwn(arguments.length>1?arguments[1]:void 0,i.length)),l=Zl(r);return H6t?H6t(i,l,o):pwn(i,o,o+l.length)===l}});var wwn=Md("String").startsWith,pMe=String.prototype,mj=function(r){var i=r.startsWith;return typeof r=="string"||r===pMe||uf(pMe,r)&&i===pMe.startsWith?wwn:i},Ip=il(function(r,i){r.exports=function(){var o=navigator.userAgent,l=navigator.platform,h=/gecko\/\d/i.test(o),g=/MSIE \d/.test(o),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(o),b=/Edge\/(\d+)/.exec(o),w=g||d||b,x=w&&(g?document.documentMode||6:+(b||d)[1]),C=!b&&/WebKit\//.test(o),B=C&&/Qt\/\d+\.\d+/.test(o),L=!b&&/Chrome\//.test(o),M=/Opera\//.test(o),P=/Apple Computer/.test(navigator.vendor),z=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(o),W=/PhantomJS/.test(o),Q=!b&&/AppleWebKit/.test(o)&&/Mobile\/\w+/.test(o),V=/Android/.test(o),oe=Q||V||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(o),G=Q||/Mac/.test(l),ae=/\bCrOS\b/.test(o),ne=/win/i.test(l),de=M&&o.match(/Version\/(\d*\.\d*)/);de&&(de=Number(de[1])),de&&de>=15&&(M=!1,C=!0);var Ae=G&&(B||M&&(de==null||de<12.11)),le=h||w&&x>=9;function ve(k){return new RegExp("(^|\\s)"+k+"(?:$|\\s)\\s*")}var me,ee=function(k,S){var $=k.className,R=ve(S).exec($);if(R){var X=$.slice(R.index+R[0].length);k.className=$.slice(0,R.index)+(X?R[1]+X:"")}};function ye(k){for(var S=k.childNodes.length;S>0;--S)k.removeChild(k.firstChild);return k}function Y(k,S){return ye(k).appendChild(S)}function Ee(k,S,$,R){var X=document.createElement(k);if($&&(X.className=$),R&&(X.style.cssText=R),typeof S=="string")X.appendChild(document.createTextNode(S));else if(S)for(var pe=0;pe=S)return Me+(S-pe);Me+=Oe-pe,Me+=$-Me%$,pe=Oe+1}}Q?ot=function(k){k.selectionStart=0,k.selectionEnd=k.value.length}:w&&(ot=function(k){try{k.select()}catch{}});var Rt=function(){this.id=null,this.f=null,this.time=0,this.handler=Qe(this.onTimeout,this)};function Et(k,S){for(var $=0;$=S)return R+Math.min(Me,S-X);if(X+=pe-R,R=pe+1,(X+=$-X%$)>=S)return R}}var He=[""];function lt(k){for(;He.length<=k;)He.push(Ke(He)+" ");return He[k]}function Ke(k){return k[k.length-1]}function mn(k,S){for(var $=[],R=0;R"€"&&(k.toUpperCase()!=k.toLowerCase()||sn.test(k))}function xn(k,S){return S?!!(S.source.indexOf("\\w")>-1&&cn(k))||S.test(k):cn(k)}function nn(k){for(var S in k)if(k.hasOwnProperty(S)&&k[S])return!1;return!0}var Qn=/[\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 ln(k){return k.charCodeAt(0)>=768&&Qn.test(k)}function Hn(k,S,$){for(;($<0?S>0:S$?-1:1;;){if(S==$)return S;var X=(S+$)/2,pe=R<0?Math.ceil(X):Math.floor(X);if(pe==S)return k(pe)?S:$;k(pe)?$=pe:S=pe+R}}function _r(k,S,$,R){if(!k)return R(S,$,"ltr",0);for(var X=!1,pe=0;peS||S==$&&Me.to==S)&&(R(Math.max(Me.from,S),Math.min(Me.to,$),Me.level==1?"rtl":"ltr",pe),X=!0)}X||R(S,$,"ltr")}var Lr=null;function ti(k,S,$){var R;Lr=null;for(var X=0;XS)return X;pe.to==S&&(pe.from!=pe.to&&$=="before"?R=X:Lr=X),pe.from==S&&(pe.from!=pe.to&&$!="before"?R=X:Lr=X)}return R??Lr}var _i=function(){var k="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",S="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function $(Je){return Je<=247?k.charAt(Je):1424<=Je&&Je<=1524?"R":1536<=Je&&Je<=1785?S.charAt(Je-1536):1774<=Je&&Je<=2220?"r":8192<=Je&&Je<=8203?"w":Je==8204?"b":"L"}var R=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,X=/[stwN]/,pe=/[LRr]/,Me=/[Lb1n]/,Oe=/[1n]/;function Ge(Je,Pt,Dt){this.level=Je,this.from=Pt,this.to=Dt}return function(Je,Pt){var Dt=Pt=="ltr"?"L":"R";if(Je.length==0||Pt=="ltr"&&!R.test(Je))return!1;for(var kn=Je.length,Nn=[],rr=0;rr-1&&(R[S]=X.slice(0,pe).concat(X.slice(pe+1)))}}}function vr(k,S){var $=Ta(k,S);if($.length)for(var R=Array.prototype.slice.call(arguments,2),X=0;X<$.length;++X)$[X].apply(null,R)}function Zr(k,S,$){return typeof S=="string"&&(S={type:S,preventDefault:function(){this.defaultPrevented=!0}}),vr(k,$||S.type,k,S),Ya(S)||S.codemirrorIgnore}function Ir(k){var S=k._handlers&&k._handlers.cursorActivity;if(S)for(var $=k.curOp.cursorActivityHandlers||(k.curOp.cursorActivityHandlers=[]),R=0;R0}function jn(k){k.prototype.on=function(S,$){mi(this,S,$)},k.prototype.off=function(S,$){lr(this,S,$)}}function Xo(k){k.preventDefault?k.preventDefault():k.returnValue=!1}function hr(k){k.stopPropagation?k.stopPropagation():k.cancelBubble=!0}function Ya(k){return k.defaultPrevented!=null?k.defaultPrevented:k.returnValue==0}function So(k){Xo(k),hr(k)}function ta(k){return k.target||k.srcElement}function Ba(k){var S=k.which;return S==null&&(1&k.button?S=1:2&k.button?S=3:4&k.button&&(S=2)),G&&k.ctrlKey&&S==1&&(S=3),S}var ho,mo,Lo=function(){if(w&&x<9)return!1;var k=Ee("div");return"draggable"in k||"dragDrop"in k}();function qo(k){if(ho==null){var S=Ee("span","​");Y(k,Ee("span",[S,document.createTextNode("x")])),k.firstChild.offsetHeight!=0&&(ho=S.offsetWidth<=1&&S.offsetHeight>2&&!(w&&x<8))}var $=ho?Ee("span","​"):Ee("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return $.setAttribute("cm-text",""),$}function cs(k){if(mo!=null)return mo;var S=Y(k,document.createTextNode("AخA")),$=me(S,0,1).getBoundingClientRect(),R=me(S,1,2).getBoundingClientRect();return ye(k),!(!$||$.left==$.right)&&(mo=R.right-$.right<3)}var fa,qh=` b`.split(/\n/).length!=3?function(k){for(var S=0,$=[],R=k.length;S<=R;){var X=k.indexOf(` -`,S);X==-1&&(X=k.length);var pe=k.slice(S,k.charAt(X-1)=="\r"?X-1:X),Ie=pe.indexOf("\r");Ie!=-1?($.push(pe.slice(0,Ie)),S+=Ie+1):($.push(pe),S=X+1)}return $}:function(k){return k.split(/\r\n?|\n/)},Zs=window.getSelection?function(k){try{return k.selectionStart!=k.selectionEnd}catch{return!1}}:function(k){var S;try{S=k.ownerDocument.selection.createRange()}catch{}return!(!S||S.parentElement()!=k)&&S.compareEndPoints("StartToEnd",S)!=0},tu="oncopy"in(fa=Ee("div"))||(fa.setAttribute("oncopy","return;"),typeof fa.oncopy=="function"),_a=null;function ec(k){if(_a!=null)return _a;var S=Y(k,Ee("span","x")),$=S.getBoundingClientRect(),R=me(S,0,1).getBoundingClientRect();return _a=Math.abs($.left-R.left)>1}var hf={},Rl={};function nu(k,S){arguments.length>2&&(S.dependencies=Array.prototype.slice.call(arguments,2)),hf[k]=S}function Oh(k,S){Rl[k]=S}function Wc(k){if(typeof k=="string"&&Rl.hasOwnProperty(k))k=Rl[k];else if(k&&typeof k.name=="string"&&Rl.hasOwnProperty(k.name)){var S=Rl[k.name];typeof S=="string"&&(S={name:S}),(k=pt(S,k)).name=S.name}else{if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(k))return Wc("application/xml");if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(k))return Wc("application/json")}return typeof k=="string"?{name:k}:k||{name:"null"}}function kl(k,S){S=Wc(S);var $=hf[S.name];if(!$)return kl(k,"text/plain");var R=$(k,S);if(Lc.hasOwnProperty(S.name)){var X=Lc[S.name];for(var pe in X)X.hasOwnProperty(pe)&&(R.hasOwnProperty(pe)&&(R["_"+pe]=R[pe]),R[pe]=X[pe])}if(R.name=S.name,S.helperType&&(R.helperType=S.helperType),S.modeProps)for(var Ie in S.modeProps)R[Ie]=S.modeProps[Ie];return R}var Lc={};function Ul(k,S){Le(S,Lc.hasOwnProperty(k)?Lc[k]:Lc[k]={})}function ws(k,S){if(S===!0)return S;if(k.copyState)return k.copyState(S);var $={};for(var R in S){var X=S[R];X instanceof Array&&(X=X.concat([])),$[R]=X}return $}function ru(k,S){for(var $;k.innerMode&&($=k.innerMode(S))&&$.mode!=k;)S=$.state,k=$.mode;return $||{mode:k,state:S}}function Fs(k,S,$){return!k.startState||k.startState(S,$)}var Es=function(k,S,$){this.pos=this.start=0,this.string=k,this.tabSize=S||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=$};function Ei(k,S){if((S-=k.first)<0||S>=k.size)throw new Error("There is no line "+(S+k.first)+" in the document.");for(var $=k;!$.lines;)for(var R=0;;++R){var X=$.children[R],pe=X.chunkSize();if(S=k.first&&S$?ar($,Ei(k,$).text.length):p1(S,Ei(k,S.line).text.length)}function p1(k,S){var $=k.ch;return $==null||$>S?ar(k.line,S):$<0?ar(k.line,0):k}function Kn(k,S){for(var $=[],R=0;R=this.string.length},Es.prototype.sol=function(){return this.pos==this.lineStart},Es.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Es.prototype.next=function(){if(this.posS},Es.prototype.eatSpace=function(){for(var k=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>k},Es.prototype.skipToEnd=function(){this.pos=this.string.length},Es.prototype.skipTo=function(k){var S=this.string.indexOf(k,this.pos);if(S>-1)return this.pos=S,!0},Es.prototype.backUp=function(k){this.pos-=k},Es.prototype.column=function(){return this.lastColumnPos0?null:(R&&S!==!1&&(this.pos+=R[0].length),R)}var X=function(pe){return $?pe.toLowerCase():pe};if(X(this.string.substr(this.pos,k.length))==X(k))return S!==!1&&(this.pos+=k.length),!0},Es.prototype.current=function(){return this.string.slice(this.start,this.pos)},Es.prototype.hideFirstChars=function(k,S){this.lineStart+=k;try{return S()}finally{this.lineStart-=k}},Es.prototype.lookAhead=function(k){var S=this.lineOracle;return S&&S.lookAhead(k)},Es.prototype.baseToken=function(){var k=this.lineOracle;return k&&k.baseToken(this.pos)};var Nr=function(k,S){this.state=k,this.lookAhead=S},Gr=function(k,S,$,R){this.state=S,this.doc=k,this.line=$,this.maxLookAhead=R||0,this.baseTokens=null,this.baseTokenPos=1};function Qr(k,S,$,R){var X=[k.state.modeGen],pe={};m1(k,S.text,k.doc.mode,$,function(Je,Pt){return X.push(Je,Pt)},pe,R);for(var Ie=$.state,Oe=function(Je){$.baseTokens=X;var Pt=k.state.overlays[Je],Dt=1,kn=0;$.state=!0,m1(k,S.text,Pt.mode,$,function(Nn,rr){for(var Hr=Dt;knNn&&X.splice(Dt,1,Nn,X[Dt+1],fi),Dt+=2,kn=Math.min(Nn,fi)}if(rr)if(Pt.opaque)X.splice(Hr,Dt-Hr,Nn,"overlay "+rr),Dt=Hr+2;else for(;Hrk.options.maxHighlightLength&&ws(k.doc.mode,R.state),pe=Qr(k,S,R);X&&(R.state=X),S.stateAfter=R.save(!X),S.styles=pe.styles,pe.classes?S.styleClasses=pe.classes:S.styleClasses&&(S.styleClasses=null),$===k.doc.highlightFrontier&&(k.doc.modeFrontier=Math.max(k.doc.modeFrontier,++k.doc.highlightFrontier))}return S.styles}function sa(k,S,$){var R=k.doc,X=k.display;if(!R.mode.startState)return new Gr(R,!0,S);var pe=vc(k,S,$),Ie=pe>R.first&&Ei(R,pe-1).stateAfter,Oe=Ie?Gr.fromSaved(R,Ie,pe):new Gr(R,Fs(R.mode),pe);return R.iter(pe,S,function(Ge){Ua(k,Ge.text,Oe);var Je=Oe.line;Ge.stateAfter=Je==S-1||Je%5==0||Je>=X.viewFrom&&JeS.start)return pe}throw new Error("Mode "+k.name+" failed to advance stream.")}Gr.prototype.lookAhead=function(k){var S=this.doc.getLine(this.line+k);return S!=null&&k>this.maxLookAhead&&(this.maxLookAhead=k),S},Gr.prototype.baseToken=function(k){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=k;)this.baseTokenPos+=2;var S=this.baseTokens[this.baseTokenPos+1];return{type:S&&S.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-k}},Gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gr.fromSaved=function(k,S,$){return S instanceof Nr?new Gr(k,ws(k.mode,S.state),$,S.lookAhead):new Gr(k,ws(k.mode,S),$)},Gr.prototype.save=function(k){var S=k!==!1?ws(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Nr(S,this.maxLookAhead):S};var Ic=function(k,S,$){this.start=k.start,this.end=k.pos,this.string=k.current(),this.type=S||null,this.state=$};function Ku(k,S,$,R){var X,pe,Ie=k.doc,Oe=Ie.mode,Ge=Ei(Ie,(S=co(Ie,S)).line),Je=sa(k,S.line,$),Pt=new Es(Ge.text,k.options.tabSize,Je);for(R&&(pe=[]);(R||Pt.posk.options.maxHighlightLength?(Oe=!1,Ie&&Ua(k,S,R,Dt.pos),Dt.pos=S.length,Ge=null):Ge=Al(eo($,Dt,R.state,kn),pe),kn){var Nn=kn[0].name;Nn&&(Ge="m-"+(Ge?Nn+" "+Ge:Nn))}if(!Oe||Pt!=Ge){for(;JeIe;--Oe){if(Oe<=pe.first)return pe.first;var Ge=Ei(pe,Oe-1),Je=Ge.stateAfter;if(Je&&(!$||Oe+(Je instanceof Nr?Je.lookAhead:0)<=pe.modeFrontier))return Oe;var Pt=ht(Ge.text,null,k.options.tabSize);(X==null||R>Pt)&&(X=Oe-1,R=Pt)}return X}function n1(k,S){if(k.modeFrontier=Math.min(k.modeFrontier,S),!(k.highlightFrontier$;R--){var X=Ei(k,R).stateAfter;if(X&&(!(X instanceof Nr)||R+X.lookAhead=S:pe.to>S);(R||(R=[])).push(new ff(Ie,pe.from,Oe?null:pe.to))}}return R}function bh(k,S,$){var R;if(k)for(var X=0;X=S:pe.to>S)||pe.from==S&&Ie.type=="bookmark"&&(!$||pe.marker.insertLeft)){var Oe=pe.from==null||(Ie.inclusiveLeft?pe.from<=S:pe.from0&&Oe)for(var ji=0;ji0)){var Pt=[Ge,1],Dt=Br(Je.from,Oe.from),kn=Br(Je.to,Oe.to);(Dt<0||!Ie.inclusiveLeft&&!Dt)&&Pt.push({from:Je.from,to:Oe.from}),(kn>0||!Ie.inclusiveRight&&!kn)&&Pt.push({from:Oe.to,to:Je.to}),X.splice.apply(X,Pt),Ge+=Pt.length-3}}return X}function rn(k){var S=k.markedSpans;if(S){for(var $=0;$S)&&(!$||uc($,pe.marker)<0)&&($=pe.marker)}return $}function Rh(k,S,$,R,X){var pe=Ei(k,S),Ie=Mc&&pe.markedSpans;if(Ie)for(var Oe=0;Oe=0&&Dt<=0||Pt<=0&&Dt>=0)&&(Pt<=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.to,$)>=0:Br(Je.to,$)>0)||Pt>=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.from,R)<=0:Br(Je.from,R)<0)))return!0}}}function iA(k){for(var S;S=Df(k);)k=S.find(-1,!0).line;return k}function tn(k){for(var S;S=i1(k);)k=S.find(1,!0).line;return k}function zi(k){for(var S,$;S=i1(k);)k=S.find(1,!0).line,($||($=[])).push(k);return $}function La(k,S){var $=Ei(k,S),R=iA($);return $==R?S:Rs(R)}function Yc(k,S){if(S>k.lastLine())return S;var $,R=Ei(k,S);if(!Hl(k,R))return S;for(;$=i1(R);)R=$.find(1,!0).line;return Rs(R)+1}function Hl(k,S){var $=Mc&&S.markedSpans;if($){for(var R=void 0,X=0;X<$.length;++X)if((R=$[X]).marker.collapsed&&(R.from==null||!R.marker.widgetNode&&R.from==0&&R.marker.inclusiveLeft&&wh(k,S,R)))return!0}}function wh(k,S,$){if($.to==null){var R=$.marker.find(1,!0);return wh(k,R.line,zu(R.line.markedSpans,$.marker))}if($.marker.inclusiveRight&&$.to==S.text.length)return!0;for(var X=void 0,pe=0;peS.maxLineLength&&(S.maxLineLength=X,S.maxLine=R)})}var Of=function(k,S,$){this.text=k,Sa(this,S),this.height=$?$(this):1};function M6(k,S,$,R){k.text=S,k.stateAfter&&(k.stateAfter=null),k.styles&&(k.styles=null),k.order!=null&&(k.order=null),rn(k),Sa(k,$);var X=R?R(k):1;X!=k.height&&Qh(k,X)}function b9(k){k.parent=null,rn(k)}Of.prototype.lineNo=function(){return Rs(this)},jn(Of);var Bk={},qB={};function w9(k,S){if(!k||/^\s*$/.test(k))return null;var $=S.addModeClass?qB:Bk;return $[k]||($[k]=k.replace(/\S+/g,"cm-$&"))}function s4(k,S){var $=fe("span",null,null,C?"padding-right: .1px":null),R={pre:fe("pre",[$],"CodeMirror-line"),content:$,col:0,pos:0,cm:k,trailingSpace:!1,splitSpaces:k.getOption("lineWrapping")};S.measure={};for(var X=0;X<=(S.rest?S.rest.length:0);X++){var pe=X?S.rest[X-1]:S.line,Ie=void 0;R.pos=0,R.addToken=cy,cs(k.display.measure)&&(Ie=ro(pe,k.doc.direction))&&(R.addToken=F6(R.addToken,Ie)),R.map=[],JB(pe,R,Ki(k,pe,S!=k.display.externalMeasured&&Rs(pe))),pe.styleClasses&&(pe.styleClasses.bgClass&&(R.bgClass=ct(pe.styleClasses.bgClass,R.bgClass||"")),pe.styleClasses.textClass&&(R.textClass=ct(pe.styleClasses.textClass,R.textClass||""))),R.map.length==0&&R.map.push(0,0,R.content.appendChild(qo(k.display.measure))),X==0?(S.measure.map=R.map,S.measure.cache={}):((S.measure.maps||(S.measure.maps=[])).push(R.map),(S.measure.caches||(S.measure.caches=[])).push({}))}if(C){var Oe=R.content.lastChild;(/\bcm-tab\b/.test(Oe.className)||Oe.querySelector&&Oe.querySelector(".cm-tab"))&&(R.content.className="cm-tab-wrap-hack")}return vr(k,"renderLine",k,S.line,R.pre),R.pre.className&&(R.textClass=ct(R.pre.className,R.textClass||"")),R}function v9(k){var S=Ee("span","•","cm-invalidchar");return S.title="\\u"+k.charCodeAt(0).toString(16),S.setAttribute("aria-label",S.title),S}function cy(k,S,$,R,X,pe,Ie){if(S){var Oe,Ge=k.splitSpaces?YB(S,k.trailingSpace):S,Je=k.cm.state.specialChars,Pt=!1;if(Je.test(S)){Oe=document.createDocumentFragment();for(var Dt=0;;){Je.lastIndex=Dt;var kn=Je.exec(S),Nn=kn?kn.index-Dt:S.length-Dt;if(Nn){var rr=document.createTextNode(Ge.slice(Dt,Dt+Nn));w&&x<9?Oe.appendChild(Ee("span",[rr])):Oe.appendChild(rr),k.map.push(k.pos,k.pos+Nn,rr),k.col+=Nn,k.pos+=Nn}if(!kn)break;Dt+=Nn+1;var Hr=void 0;if(kn[0]==" "){var fi=k.cm.options.tabSize,ur=fi-k.col%fi;(Hr=Oe.appendChild(Ee("span",lt(ur),"cm-tab"))).setAttribute("role","presentation"),Hr.setAttribute("cm-text"," "),k.col+=ur}else kn[0]=="\r"||kn[0]==` -`?((Hr=Oe.appendChild(Ee("span",kn[0]=="\r"?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",kn[0]),k.col+=1):((Hr=k.cm.options.specialCharPlaceholder(kn[0])).setAttribute("cm-text",kn[0]),w&&x<9?Oe.appendChild(Ee("span",[Hr])):Oe.appendChild(Hr),k.col+=1);k.map.push(k.pos,k.pos+1,Hr),k.pos++}}else k.col+=S.length,Oe=document.createTextNode(Ge),k.map.push(k.pos,k.pos+S.length,Oe),w&&x<9&&(Pt=!0),k.pos+=S.length;if(k.trailingSpace=Ge.charCodeAt(S.length-1)==32,$||R||X||Pt||pe||Ie){var Fa=$||"";R&&(Fa+=R),X&&(Fa+=X);var ji=Ee("span",[Oe],Fa,pe);if(Ie)for(var Na in Ie)Ie.hasOwnProperty(Na)&&Na!="style"&&Na!="class"&&ji.setAttribute(Na,Ie[Na]);return k.content.appendChild(ji)}k.content.appendChild(Oe)}}function YB(k,S){if(k.length>1&&!/ /.test(k))return k;for(var $=S,R="",X=0;XJe&&Dt.from<=Je);kn++);if(Dt.to>=Pt)return k($,R,X,pe,Ie,Oe,Ge);k($,R.slice(0,Dt.to-Je),X,pe,null,Oe,Ge),pe=null,R=R.slice(Dt.to-Je),Je=Dt.to}}}function y9(k,S,$,R){var X=!R&&$.widgetNode;X&&k.map.push(k.pos,k.pos+S,X),!R&&k.cm.display.input.needsContentAttribute&&(X||(X=k.content.appendChild(document.createElement("span"))),X.setAttribute("cm-marker",$.id)),X&&(k.cm.display.input.setUneditable(X),k.content.appendChild(X)),k.pos+=S,k.trailingSpace=!1}function JB(k,S,$){var R=k.markedSpans,X=k.text,pe=0;if(R)for(var Ie,Oe,Ge,Je,Pt,Dt,kn,Nn=X.length,rr=0,Hr=1,fi="",ur=0;;){if(ur==rr){Ge=Je=Pt=Oe="",kn=null,Dt=null,ur=1/0;for(var Fa=[],ji=void 0,Na=0;Narr||Aa.collapsed&&so.to==rr&&so.from==rr)){if(so.to!=null&&so.to!=rr&&ur>so.to&&(ur=so.to,Je=""),Aa.className&&(Ge+=" "+Aa.className),Aa.css&&(Oe=(Oe?Oe+";":"")+Aa.css),Aa.startStyle&&so.from==rr&&(Pt+=" "+Aa.startStyle),Aa.endStyle&&so.to==ur&&(ji||(ji=[])).push(Aa.endStyle,so.to),Aa.title&&((kn||(kn={})).title=Aa.title),Aa.attributes)for(var El in Aa.attributes)(kn||(kn={}))[El]=Aa.attributes[El];Aa.collapsed&&(!Dt||uc(Dt.marker,Aa)<0)&&(Dt=so)}else so.from>rr&&ur>so.from&&(ur=so.from)}if(ji)for(var Tl=0;Tl=Nn)break;for(var th=Math.min(Nn,ur);;){if(fi){var y1=rr+fi.length;if(!Dt){var R1=y1>th?fi.slice(0,th-rr):fi;S.addToken(S,R1,Ie?Ie+Ge:Ge,Pt,rr+R1.length==ur?Je:"",Oe,kn)}if(y1>=th){fi=fi.slice(th-rr),rr=th;break}rr=y1,Pt=""}fi=X.slice(pe,pe=$[Hr++]),Ie=w9($[Hr++],S.cm.options)}}else for(var Jh=1;Jh<$.length;Jh+=2)S.addToken(S,X.slice(pe,pe=$[Jh]),w9($[Jh+1],S.cm.options))}function x9(k,S,$){this.line=S,this.rest=zi(S),this.size=this.rest?Rs(Ke(this.rest))-$+1:1,this.node=this.text=null,this.hidden=Hl(k,S)}function tw(k,S,$){for(var R,X=[],pe=S;pe<$;pe=R){var Ie=new x9(k.doc,Ei(k.doc,pe),pe);R=pe+Ie.size,X.push(Ie)}return X}var Fb=null;function k9(k){Fb?Fb.ops.push(k):k.ownsGroup=Fb={ops:[k],delayedCallbacks:[]}}function nw(k){var S=k.delayedCallbacks,$=0;do{for(;$2&&pe.push((Ge.bottom+Je.top)/2-$.top)}}pe.push($.bottom-$.top)}}function N1(k,S,$){if(k.line==S)return{map:k.measure.map,cache:k.measure.cache};for(var R=0;R$)return{map:k.measure.maps[X],cache:k.measure.caches[X],before:!0}}function Hp(k,S){var $=Rs(S=iA(S)),R=k.display.externalMeasured=new x9(k.doc,S,$);R.lineN=$;var X=R.built=s4(k,R);return R.text=X.pre,Y(k.display.lineMeasure,X.pre),R}function Lk(k,S,$,R){return td(k,HA(k,S),$,R)}function aA(k,S){if(S>=k.display.viewFrom&&S=$.lineN&&S<$.lineN+$.size?$:void 0}function HA(k,S){var $=Rs(S),R=aA(k,$);R&&!R.text?R=null:R&&R.changes&&(ly(k,R,$,h4(k)),k.curOp.forceUpdate=!0),R||(R=Hp(k,S));var X=N1(R,S,$);return{line:S,view:R,rect:null,map:X.map,cache:X.cache,before:X.before,hasHeights:!1}}function td(k,S,$,R,X){S.before&&($=-1);var pe,Ie=$+(R||"");return S.cache.hasOwnProperty(Ie)?pe=S.cache[Ie]:(S.rect||(S.rect=S.view.text.getBoundingClientRect()),S.hasHeights||(E9(k,S.view,S.rect),S.hasHeights=!0),(pe=lw(k,S,$,R)).bogus||(S.cache[Ie]=pe)),{left:pe.left,right:pe.right,top:X?pe.rtop:pe.top,bottom:X?pe.rbottom:pe.bottom}}var mu,_0={left:0,right:0,top:0,bottom:0};function c4(k,S,$){for(var R,X,pe,Ie,Oe,Ge,Je=0;JeS)&&(X=(pe=Ge-Oe)-1,S>=Ge&&(Ie="right")),X!=null){if(R=k[Je+2],Oe==Ge&&$==(R.insertLeft?"left":"right")&&(Ie=$),$=="left"&&X==0)for(;Je&&k[Je-2]==k[Je-3]&&k[Je-1].insertLeft;)R=k[2+(Je-=3)],Ie="left";if($=="right"&&X==Ge-Oe)for(;Je=0&&($=k[X]).left==$.right;X--);return $}function lw(k,S,$,R){var X,pe=c4(S.map,$,R),Ie=pe.node,Oe=pe.start,Ge=pe.end,Je=pe.collapse;if(Ie.nodeType==3){for(var Pt=0;Pt<4;Pt++){for(;Oe&&ln(S.line.text.charAt(pe.coverStart+Oe));)--Oe;for(;pe.coverStart+Ge0&&(Je=R="right"),X=k.options.lineWrapping&&(Dt=Ie.getClientRects()).length>1?Dt[R=="right"?Dt.length-1:0]:Ie.getBoundingClientRect()}if(w&&x<9&&!Oe&&(!X||!X.left&&!X.right)){var kn=Ie.parentNode.getClientRects()[0];X=kn?{left:kn.left,right:kn.left+fw(k.display),top:kn.top,bottom:kn.bottom}:_0}for(var Nn=X.top-S.rect.top,rr=X.bottom-S.rect.top,Hr=(Nn+rr)/2,fi=S.view.measure.heights,ur=0;ur=R.text.length?(Ge=R.text.length,Je="before"):Ge<=0&&(Ge=0,Je="after"),!Oe)return Ie(Je=="before"?Ge-1:Ge,Je=="before");function Pt(rr,Hr,fi){return Ie(fi?rr-1:rr,Oe[Hr].level==1!=fi)}var Dt=ti(Oe,Ge,Je),kn=Lr,Nn=Pt(Ge,Dt,Je=="before");return kn!=null&&(Nn.other=Pt(Ge,kn,Je!="before")),Nn}function Ik(k,S){var $=0;S=co(k.doc,S),k.options.lineWrapping||($=fw(k.display)*S.ch);var R=Ei(k.doc,S.line),X=Uh(R)+og(k.display);return{left:$,right:$,top:X,bottom:X+R.height}}function Q6(k,S,$,R,X){var pe=ar(k,S,$);return pe.xRel=X,R&&(pe.outside=R),pe}function Nb(k,S,$){var R=k.doc;if(($+=k.display.viewOffset)<0)return Q6(R.first,0,null,-1,-1);var X=ju(R,$),pe=R.first+R.size-1;if(X>pe)return Q6(R.first+R.size-1,Ei(R,pe).text.length,null,1,1);S<0&&(S=0);for(var Ie=Ei(R,X);;){var Oe=R6(k,Ie,X,S,$),Ge=Md(Ie,Oe.ch+(Oe.xRel>0||Oe.outside>0?1:0));if(!Ge)return Oe;var Je=Ge.find(1);if(Je.line==X)return Je;Ie=Ei(R,X=Je.line)}}function fy(k,S,$,R){R-=Ob(S);var X=S.text.length,pe=$t(function(Ie){return td(k,$,Ie-1).bottom<=R},X,0);return{begin:pe,end:X=$t(function(Ie){return td(k,$,Ie).top>R},pe,X)}}function uw(k,S,$,R){return $||($=HA(k,S)),fy(k,S,$,hy(k,S,td(k,$,R),"line").top)}function P6(k,S,$,R){return!(k.bottom<=$)&&(k.top>$||(R?k.left:k.right)>S)}function R6(k,S,$,R,X){X-=Uh(S);var pe=HA(k,S),Ie=Ob(S),Oe=0,Ge=S.text.length,Je=!0,Pt=ro(S,k.doc.direction);if(Pt){var Dt=(k.options.lineWrapping?S9:_9)(k,S,$,pe,Pt,R,X);Oe=(Je=Dt.level!=1)?Dt.from:Dt.to-1,Ge=Je?Dt.to:Dt.from-1}var kn,Nn,rr=null,Hr=null,fi=$t(function(so){var Aa=td(k,pe,so);return Aa.top+=Ie,Aa.bottom+=Ie,!!P6(Aa,R,X,!1)&&(Aa.top<=X&&Aa.left<=R&&(rr=so,Hr=Aa),!0)},Oe,Ge),ur=!1;if(Hr){var Fa=R-Hr.left=Na.bottom?1:0}return Q6($,fi=Hn(S.text,fi,1),Nn,ur,R-kn)}function _9(k,S,$,R,X,pe,Ie){var Oe=$t(function(Dt){var kn=X[Dt],Nn=kn.level!=1;return P6(Qf(k,ar($,Nn?kn.to:kn.from,Nn?"before":"after"),"line",S,R),pe,Ie,!0)},0,X.length-1),Ge=X[Oe];if(Oe>0){var Je=Ge.level!=1,Pt=Qf(k,ar($,Je?Ge.from:Ge.to,Je?"after":"before"),"line",S,R);P6(Pt,pe,Ie,!0)&&Pt.top>Ie&&(Ge=X[Oe-1])}return Ge}function S9(k,S,$,R,X,pe,Ie){var Oe=fy(k,S,R,Ie),Ge=Oe.begin,Je=Oe.end;/\s/.test(S.text.charAt(Je-1))&&Je--;for(var Pt=null,Dt=null,kn=0;kn=Je||Nn.to<=Ge)){var rr=td(k,R,Nn.level!=1?Math.min(Je,Nn.to)-1:Math.max(Ge,Nn.from)).right,Hr=rrHr)&&(Pt=Nn,Dt=Hr)}}return Pt||(Pt=X[X.length-1]),Pt.fromJe&&(Pt={from:Pt.from,to:Je,level:Pt.level}),Pt}function hw(k){if(k.cachedTextHeight!=null)return k.cachedTextHeight;if(mu==null){mu=Ee("pre",null,"CodeMirror-line-like");for(var S=0;S<49;++S)mu.appendChild(document.createTextNode("x")),mu.appendChild(Ee("br"));mu.appendChild(document.createTextNode("x"))}Y(k.measure,mu);var $=mu.offsetHeight/50;return $>3&&(k.cachedTextHeight=$),ye(k.measure),$||1}function fw(k){if(k.cachedCharWidth!=null)return k.cachedCharWidth;var S=Ee("span","xxxxxxxxxx"),$=Ee("pre",[S],"CodeMirror-line-like");Y(k.measure,$);var R=S.getBoundingClientRect(),X=(R.right-R.left)/10;return X>2&&(k.cachedCharWidth=X),X||10}function h4(k){for(var S=k.display,$={},R={},X=S.gutters.clientLeft,pe=S.gutters.firstChild,Ie=0;pe;pe=pe.nextSibling,++Ie){var Oe=k.display.gutterSpecs[Ie].className;$[Oe]=pe.offsetLeft+pe.clientLeft+X,R[Oe]=pe.clientWidth}return{fixedPos:U6(S),gutterTotalWidth:S.gutters.offsetWidth,gutterLeft:$,gutterWidth:R,wrapperWidth:S.wrapper.clientWidth}}function U6(k){return k.scroller.getBoundingClientRect().left-k.sizer.getBoundingClientRect().left}function L9(k){var S=hw(k.display),$=k.options.lineWrapping,R=$&&Math.max(5,k.display.scroller.clientWidth/fw(k.display)-3);return function(X){if(Hl(k.doc,X))return 0;var pe=0;if(X.widgets)for(var Ie=0;Ie0&&(Ge=Ei(k.doc,Je.line).text).length==Je.ch){var Pt=ht(Ge,Ge.length,k.options.tabSize)-Ge.length;Je=ar(Je.line,Math.max(0,Math.round((pe-eh(k.display).left)/fw(k.display))-Pt))}return Je}function gw(k,S){if(S>=k.display.viewTo||(S-=k.display.viewFrom)<0)return null;for(var $=k.display.view,R=0;R<$.length;R++)if((S-=$[R].size)<0)return R}function nd(k,S,$,R){S==null&&(S=k.doc.first),$==null&&($=k.doc.first+k.doc.size),R||(R=0);var X=k.display;if(R&&$S)&&(X.updateLineNumbers=S),k.curOp.viewChanged=!0,S>=X.viewTo)Mc&&La(k.doc,S)X.viewFrom?jA(k):(X.viewFrom+=R,X.viewTo+=R);else if(S<=X.viewFrom&&$>=X.viewTo)jA(k);else if(S<=X.viewFrom){var pe=f4(k,$,$+R,1);pe?(X.view=X.view.slice(pe.index),X.viewFrom=pe.lineN,X.viewTo+=R):jA(k)}else if($>=X.viewTo){var Ie=f4(k,S,S,-1);Ie?(X.view=X.view.slice(0,Ie.index),X.viewTo=Ie.lineN):jA(k)}else{var Oe=f4(k,S,S,-1),Ge=f4(k,$,$+R,1);Oe&&Ge?(X.view=X.view.slice(0,Oe.index).concat(tw(k,Oe.lineN,Ge.lineN)).concat(X.view.slice(Ge.index)),X.viewTo+=R):jA(k)}var Je=X.externalMeasured;Je&&($=X.lineN&&S=R.viewTo)){var pe=R.view[gw(k,S)];if(pe.node!=null){var Ie=pe.changes||(pe.changes=[]);Et(Ie,$)==-1&&Ie.push($)}}}function jA(k){k.display.viewFrom=k.display.viewTo=k.doc.first,k.display.view=[],k.display.viewOffset=0}function f4(k,S,$,R){var X,pe=gw(k,S),Ie=k.display.view;if(!Mc||$==k.doc.first+k.doc.size)return{index:pe,lineN:$};for(var Oe=k.display.viewFrom,Ge=0;Ge0){if(pe==Ie.length-1)return null;X=Oe+Ie[pe].size-S,pe++}else X=Oe-S;S+=X,$+=X}for(;La(k.doc,$)!=$;){if(pe==(R<0?0:Ie.length-1))return null;$+=R*Ie[pe-(R<0?1:0)].size,pe+=R}return{index:pe,lineN:$}}function ZB(k,S,$){var R=k.display;R.view.length==0||S>=R.viewTo||$<=R.viewFrom?(R.view=tw(k,S,$),R.viewFrom=S):(R.viewFrom>S?R.view=tw(k,S,R.viewFrom).concat(R.view):R.viewFrom$&&(R.view=R.view.slice(0,gw(k,$)))),R.viewTo=$}function Mk(k){for(var S=k.display.view,$=0,R=0;R=k.display.viewTo||Oe.to().line1}var hf={},Rl={};function nu(k,S){arguments.length>2&&(S.dependencies=Array.prototype.slice.call(arguments,2)),hf[k]=S}function Oh(k,S){Rl[k]=S}function Wc(k){if(typeof k=="string"&&Rl.hasOwnProperty(k))k=Rl[k];else if(k&&typeof k.name=="string"&&Rl.hasOwnProperty(k.name)){var S=Rl[k.name];typeof S=="string"&&(S={name:S}),(k=pt(S,k)).name=S.name}else{if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(k))return Wc("application/xml");if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(k))return Wc("application/json")}return typeof k=="string"?{name:k}:k||{name:"null"}}function kl(k,S){S=Wc(S);var $=hf[S.name];if(!$)return kl(k,"text/plain");var R=$(k,S);if(Lc.hasOwnProperty(S.name)){var X=Lc[S.name];for(var pe in X)X.hasOwnProperty(pe)&&(R.hasOwnProperty(pe)&&(R["_"+pe]=R[pe]),R[pe]=X[pe])}if(R.name=S.name,S.helperType&&(R.helperType=S.helperType),S.modeProps)for(var Me in S.modeProps)R[Me]=S.modeProps[Me];return R}var Lc={};function Ul(k,S){Le(S,Lc.hasOwnProperty(k)?Lc[k]:Lc[k]={})}function ws(k,S){if(S===!0)return S;if(k.copyState)return k.copyState(S);var $={};for(var R in S){var X=S[R];X instanceof Array&&(X=X.concat([])),$[R]=X}return $}function ru(k,S){for(var $;k.innerMode&&($=k.innerMode(S))&&$.mode!=k;)S=$.state,k=$.mode;return $||{mode:k,state:S}}function Fs(k,S,$){return!k.startState||k.startState(S,$)}var Es=function(k,S,$){this.pos=this.start=0,this.string=k,this.tabSize=S||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=$};function Ei(k,S){if((S-=k.first)<0||S>=k.size)throw new Error("There is no line "+(S+k.first)+" in the document.");for(var $=k;!$.lines;)for(var R=0;;++R){var X=$.children[R],pe=X.chunkSize();if(S=k.first&&S$?ar($,Ei(k,$).text.length):p1(S,Ei(k,S.line).text.length)}function p1(k,S){var $=k.ch;return $==null||$>S?ar(k.line,S):$<0?ar(k.line,0):k}function Kn(k,S){for(var $=[],R=0;R=this.string.length},Es.prototype.sol=function(){return this.pos==this.lineStart},Es.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Es.prototype.next=function(){if(this.posS},Es.prototype.eatSpace=function(){for(var k=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>k},Es.prototype.skipToEnd=function(){this.pos=this.string.length},Es.prototype.skipTo=function(k){var S=this.string.indexOf(k,this.pos);if(S>-1)return this.pos=S,!0},Es.prototype.backUp=function(k){this.pos-=k},Es.prototype.column=function(){return this.lastColumnPos0?null:(R&&S!==!1&&(this.pos+=R[0].length),R)}var X=function(pe){return $?pe.toLowerCase():pe};if(X(this.string.substr(this.pos,k.length))==X(k))return S!==!1&&(this.pos+=k.length),!0},Es.prototype.current=function(){return this.string.slice(this.start,this.pos)},Es.prototype.hideFirstChars=function(k,S){this.lineStart+=k;try{return S()}finally{this.lineStart-=k}},Es.prototype.lookAhead=function(k){var S=this.lineOracle;return S&&S.lookAhead(k)},Es.prototype.baseToken=function(){var k=this.lineOracle;return k&&k.baseToken(this.pos)};var Nr=function(k,S){this.state=k,this.lookAhead=S},Gr=function(k,S,$,R){this.state=S,this.doc=k,this.line=$,this.maxLookAhead=R||0,this.baseTokens=null,this.baseTokenPos=1};function Qr(k,S,$,R){var X=[k.state.modeGen],pe={};m1(k,S.text,k.doc.mode,$,function(Je,Pt){return X.push(Je,Pt)},pe,R);for(var Me=$.state,Oe=function(Je){$.baseTokens=X;var Pt=k.state.overlays[Je],Dt=1,kn=0;$.state=!0,m1(k,S.text,Pt.mode,$,function(Nn,rr){for(var Hr=Dt;knNn&&X.splice(Dt,1,Nn,X[Dt+1],fi),Dt+=2,kn=Math.min(Nn,fi)}if(rr)if(Pt.opaque)X.splice(Hr,Dt-Hr,Nn,"overlay "+rr),Dt=Hr+2;else for(;Hrk.options.maxHighlightLength&&ws(k.doc.mode,R.state),pe=Qr(k,S,R);X&&(R.state=X),S.stateAfter=R.save(!X),S.styles=pe.styles,pe.classes?S.styleClasses=pe.classes:S.styleClasses&&(S.styleClasses=null),$===k.doc.highlightFrontier&&(k.doc.modeFrontier=Math.max(k.doc.modeFrontier,++k.doc.highlightFrontier))}return S.styles}function sa(k,S,$){var R=k.doc,X=k.display;if(!R.mode.startState)return new Gr(R,!0,S);var pe=vc(k,S,$),Me=pe>R.first&&Ei(R,pe-1).stateAfter,Oe=Me?Gr.fromSaved(R,Me,pe):new Gr(R,Fs(R.mode),pe);return R.iter(pe,S,function(Ge){Ua(k,Ge.text,Oe);var Je=Oe.line;Ge.stateAfter=Je==S-1||Je%5==0||Je>=X.viewFrom&&JeS.start)return pe}throw new Error("Mode "+k.name+" failed to advance stream.")}Gr.prototype.lookAhead=function(k){var S=this.doc.getLine(this.line+k);return S!=null&&k>this.maxLookAhead&&(this.maxLookAhead=k),S},Gr.prototype.baseToken=function(k){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=k;)this.baseTokenPos+=2;var S=this.baseTokens[this.baseTokenPos+1];return{type:S&&S.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-k}},Gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gr.fromSaved=function(k,S,$){return S instanceof Nr?new Gr(k,ws(k.mode,S.state),$,S.lookAhead):new Gr(k,ws(k.mode,S),$)},Gr.prototype.save=function(k){var S=k!==!1?ws(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Nr(S,this.maxLookAhead):S};var Mc=function(k,S,$){this.start=k.start,this.end=k.pos,this.string=k.current(),this.type=S||null,this.state=$};function Ku(k,S,$,R){var X,pe,Me=k.doc,Oe=Me.mode,Ge=Ei(Me,(S=co(Me,S)).line),Je=sa(k,S.line,$),Pt=new Es(Ge.text,k.options.tabSize,Je);for(R&&(pe=[]);(R||Pt.posk.options.maxHighlightLength?(Oe=!1,Me&&Ua(k,S,R,Dt.pos),Dt.pos=S.length,Ge=null):Ge=Al(eo($,Dt,R.state,kn),pe),kn){var Nn=kn[0].name;Nn&&(Ge="m-"+(Ge?Nn+" "+Ge:Nn))}if(!Oe||Pt!=Ge){for(;JeMe;--Oe){if(Oe<=pe.first)return pe.first;var Ge=Ei(pe,Oe-1),Je=Ge.stateAfter;if(Je&&(!$||Oe+(Je instanceof Nr?Je.lookAhead:0)<=pe.modeFrontier))return Oe;var Pt=ht(Ge.text,null,k.options.tabSize);(X==null||R>Pt)&&(X=Oe-1,R=Pt)}return X}function n1(k,S){if(k.modeFrontier=Math.min(k.modeFrontier,S),!(k.highlightFrontier$;R--){var X=Ei(k,R).stateAfter;if(X&&(!(X instanceof Nr)||R+X.lookAhead=S:pe.to>S);(R||(R=[])).push(new ff(Me,pe.from,Oe?null:pe.to))}}return R}function bh(k,S,$){var R;if(k)for(var X=0;X=S:pe.to>S)||pe.from==S&&Me.type=="bookmark"&&(!$||pe.marker.insertLeft)){var Oe=pe.from==null||(Me.inclusiveLeft?pe.from<=S:pe.from0&&Oe)for(var ji=0;ji0)){var Pt=[Ge,1],Dt=Br(Je.from,Oe.from),kn=Br(Je.to,Oe.to);(Dt<0||!Me.inclusiveLeft&&!Dt)&&Pt.push({from:Je.from,to:Oe.from}),(kn>0||!Me.inclusiveRight&&!kn)&&Pt.push({from:Oe.to,to:Je.to}),X.splice.apply(X,Pt),Ge+=Pt.length-3}}return X}function rn(k){var S=k.markedSpans;if(S){for(var $=0;$S)&&(!$||uc($,pe.marker)<0)&&($=pe.marker)}return $}function Rh(k,S,$,R,X){var pe=Ei(k,S),Me=Ic&&pe.markedSpans;if(Me)for(var Oe=0;Oe=0&&Dt<=0||Pt<=0&&Dt>=0)&&(Pt<=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.to,$)>=0:Br(Je.to,$)>0)||Pt>=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.from,R)<=0:Br(Je.from,R)<0)))return!0}}}function aA(k){for(var S;S=Df(k);)k=S.find(-1,!0).line;return k}function tn(k){for(var S;S=i1(k);)k=S.find(1,!0).line;return k}function zi(k){for(var S,$;S=i1(k);)k=S.find(1,!0).line,($||($=[])).push(k);return $}function La(k,S){var $=Ei(k,S),R=aA($);return $==R?S:Rs(R)}function Yc(k,S){if(S>k.lastLine())return S;var $,R=Ei(k,S);if(!Hl(k,R))return S;for(;$=i1(R);)R=$.find(1,!0).line;return Rs(R)+1}function Hl(k,S){var $=Ic&&S.markedSpans;if($){for(var R=void 0,X=0;X<$.length;++X)if((R=$[X]).marker.collapsed&&(R.from==null||!R.marker.widgetNode&&R.from==0&&R.marker.inclusiveLeft&&wh(k,S,R)))return!0}}function wh(k,S,$){if($.to==null){var R=$.marker.find(1,!0);return wh(k,R.line,zu(R.line.markedSpans,$.marker))}if($.marker.inclusiveRight&&$.to==S.text.length)return!0;for(var X=void 0,pe=0;peS.maxLineLength&&(S.maxLineLength=X,S.maxLine=R)})}var Of=function(k,S,$){this.text=k,Sa(this,S),this.height=$?$(this):1};function M6(k,S,$,R){k.text=S,k.stateAfter&&(k.stateAfter=null),k.styles&&(k.styles=null),k.order!=null&&(k.order=null),rn(k),Sa(k,$);var X=R?R(k):1;X!=k.height&&Qh(k,X)}function m9(k){k.parent=null,rn(k)}Of.prototype.lineNo=function(){return Rs(this)},jn(Of);var T7={},WB={};function b9(k,S){if(!k||/^\s*$/.test(k))return null;var $=S.addModeClass?WB:T7;return $[k]||($[k]=k.replace(/\S+/g,"cm-$&"))}function o4(k,S){var $=fe("span",null,null,C?"padding-right: .1px":null),R={pre:fe("pre",[$],"CodeMirror-line"),content:$,col:0,pos:0,cm:k,trailingSpace:!1,splitSpaces:k.getOption("lineWrapping")};S.measure={};for(var X=0;X<=(S.rest?S.rest.length:0);X++){var pe=X?S.rest[X-1]:S.line,Me=void 0;R.pos=0,R.addToken=sy,cs(k.display.measure)&&(Me=ro(pe,k.doc.direction))&&(R.addToken=I6(R.addToken,Me)),R.map=[],YB(pe,R,Ki(k,pe,S!=k.display.externalMeasured&&Rs(pe))),pe.styleClasses&&(pe.styleClasses.bgClass&&(R.bgClass=ct(pe.styleClasses.bgClass,R.bgClass||"")),pe.styleClasses.textClass&&(R.textClass=ct(pe.styleClasses.textClass,R.textClass||""))),R.map.length==0&&R.map.push(0,0,R.content.appendChild(qo(k.display.measure))),X==0?(S.measure.map=R.map,S.measure.cache={}):((S.measure.maps||(S.measure.maps=[])).push(R.map),(S.measure.caches||(S.measure.caches=[])).push({}))}if(C){var Oe=R.content.lastChild;(/\bcm-tab\b/.test(Oe.className)||Oe.querySelector&&Oe.querySelector(".cm-tab"))&&(R.content.className="cm-tab-wrap-hack")}return vr(k,"renderLine",k,S.line,R.pre),R.pre.className&&(R.textClass=ct(R.pre.className,R.textClass||"")),R}function w9(k){var S=Ee("span","•","cm-invalidchar");return S.title="\\u"+k.charCodeAt(0).toString(16),S.setAttribute("aria-label",S.title),S}function sy(k,S,$,R,X,pe,Me){if(S){var Oe,Ge=k.splitSpaces?qB(S,k.trailingSpace):S,Je=k.cm.state.specialChars,Pt=!1;if(Je.test(S)){Oe=document.createDocumentFragment();for(var Dt=0;;){Je.lastIndex=Dt;var kn=Je.exec(S),Nn=kn?kn.index-Dt:S.length-Dt;if(Nn){var rr=document.createTextNode(Ge.slice(Dt,Dt+Nn));w&&x<9?Oe.appendChild(Ee("span",[rr])):Oe.appendChild(rr),k.map.push(k.pos,k.pos+Nn,rr),k.col+=Nn,k.pos+=Nn}if(!kn)break;Dt+=Nn+1;var Hr=void 0;if(kn[0]==" "){var fi=k.cm.options.tabSize,ur=fi-k.col%fi;(Hr=Oe.appendChild(Ee("span",lt(ur),"cm-tab"))).setAttribute("role","presentation"),Hr.setAttribute("cm-text"," "),k.col+=ur}else kn[0]=="\r"||kn[0]==` +`?((Hr=Oe.appendChild(Ee("span",kn[0]=="\r"?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",kn[0]),k.col+=1):((Hr=k.cm.options.specialCharPlaceholder(kn[0])).setAttribute("cm-text",kn[0]),w&&x<9?Oe.appendChild(Ee("span",[Hr])):Oe.appendChild(Hr),k.col+=1);k.map.push(k.pos,k.pos+1,Hr),k.pos++}}else k.col+=S.length,Oe=document.createTextNode(Ge),k.map.push(k.pos,k.pos+S.length,Oe),w&&x<9&&(Pt=!0),k.pos+=S.length;if(k.trailingSpace=Ge.charCodeAt(S.length-1)==32,$||R||X||Pt||pe||Me){var Fa=$||"";R&&(Fa+=R),X&&(Fa+=X);var ji=Ee("span",[Oe],Fa,pe);if(Me)for(var Na in Me)Me.hasOwnProperty(Na)&&Na!="style"&&Na!="class"&&ji.setAttribute(Na,Me[Na]);return k.content.appendChild(ji)}k.content.appendChild(Oe)}}function qB(k,S){if(k.length>1&&!/ /.test(k))return k;for(var $=S,R="",X=0;XJe&&Dt.from<=Je);kn++);if(Dt.to>=Pt)return k($,R,X,pe,Me,Oe,Ge);k($,R.slice(0,Dt.to-Je),X,pe,null,Oe,Ge),pe=null,R=R.slice(Dt.to-Je),Je=Dt.to}}}function v9(k,S,$,R){var X=!R&&$.widgetNode;X&&k.map.push(k.pos,k.pos+S,X),!R&&k.cm.display.input.needsContentAttribute&&(X||(X=k.content.appendChild(document.createElement("span"))),X.setAttribute("cm-marker",$.id)),X&&(k.cm.display.input.setUneditable(X),k.content.appendChild(X)),k.pos+=S,k.trailingSpace=!1}function YB(k,S,$){var R=k.markedSpans,X=k.text,pe=0;if(R)for(var Me,Oe,Ge,Je,Pt,Dt,kn,Nn=X.length,rr=0,Hr=1,fi="",ur=0;;){if(ur==rr){Ge=Je=Pt=Oe="",kn=null,Dt=null,ur=1/0;for(var Fa=[],ji=void 0,Na=0;Narr||Aa.collapsed&&so.to==rr&&so.from==rr)){if(so.to!=null&&so.to!=rr&&ur>so.to&&(ur=so.to,Je=""),Aa.className&&(Ge+=" "+Aa.className),Aa.css&&(Oe=(Oe?Oe+";":"")+Aa.css),Aa.startStyle&&so.from==rr&&(Pt+=" "+Aa.startStyle),Aa.endStyle&&so.to==ur&&(ji||(ji=[])).push(Aa.endStyle,so.to),Aa.title&&((kn||(kn={})).title=Aa.title),Aa.attributes)for(var El in Aa.attributes)(kn||(kn={}))[El]=Aa.attributes[El];Aa.collapsed&&(!Dt||uc(Dt.marker,Aa)<0)&&(Dt=so)}else so.from>rr&&ur>so.from&&(ur=so.from)}if(ji)for(var Tl=0;Tl=Nn)break;for(var th=Math.min(Nn,ur);;){if(fi){var y1=rr+fi.length;if(!Dt){var R1=y1>th?fi.slice(0,th-rr):fi;S.addToken(S,R1,Me?Me+Ge:Ge,Pt,rr+R1.length==ur?Je:"",Oe,kn)}if(y1>=th){fi=fi.slice(th-rr),rr=th;break}rr=y1,Pt=""}fi=X.slice(pe,pe=$[Hr++]),Me=b9($[Hr++],S.cm.options)}}else for(var Jh=1;Jh<$.length;Jh+=2)S.addToken(S,X.slice(pe,pe=$[Jh]),b9($[Jh+1],S.cm.options))}function y9(k,S,$){this.line=S,this.rest=zi(S),this.size=this.rest?Rs(Ke(this.rest))-$+1:1,this.node=this.text=null,this.hidden=Hl(k,S)}function ew(k,S,$){for(var R,X=[],pe=S;pe<$;pe=R){var Me=new y9(k.doc,Ei(k.doc,pe),pe);R=pe+Me.size,X.push(Me)}return X}var Ib=null;function x9(k){Ib?Ib.ops.push(k):k.ownsGroup=Ib={ops:[k],delayedCallbacks:[]}}function tw(k){var S=k.delayedCallbacks,$=0;do{for(;$2&&pe.push((Ge.bottom+Je.top)/2-$.top)}}pe.push($.bottom-$.top)}}function N1(k,S,$){if(k.line==S)return{map:k.measure.map,cache:k.measure.cache};for(var R=0;R$)return{map:k.measure.maps[X],cache:k.measure.caches[X],before:!0}}function Up(k,S){var $=Rs(S=aA(S)),R=k.display.externalMeasured=new y9(k.doc,S,$);R.lineN=$;var X=R.built=o4(k,R);return R.text=X.pre,Y(k.display.lineMeasure,X.pre),R}function S7(k,S,$,R){return nd(k,$A(k,S),$,R)}function oA(k,S){if(S>=k.display.viewFrom&&S=$.lineN&&S<$.lineN+$.size?$:void 0}function $A(k,S){var $=Rs(S),R=oA(k,$);R&&!R.text?R=null:R&&R.changes&&(cy(k,R,$,u4(k)),k.curOp.forceUpdate=!0),R||(R=Up(k,S));var X=N1(R,S,$);return{line:S,view:R,rect:null,map:X.map,cache:X.cache,before:X.before,hasHeights:!1}}function nd(k,S,$,R,X){S.before&&($=-1);var pe,Me=$+(R||"");return S.cache.hasOwnProperty(Me)?pe=S.cache[Me]:(S.rect||(S.rect=S.view.text.getBoundingClientRect()),S.hasHeights||(C9(k,S.view,S.rect),S.hasHeights=!0),(pe=cw(k,S,$,R)).bogus||(S.cache[Me]=pe)),{left:pe.left,right:pe.right,top:X?pe.rtop:pe.top,bottom:X?pe.rbottom:pe.bottom}}var mu,_0={left:0,right:0,top:0,bottom:0};function s4(k,S,$){for(var R,X,pe,Me,Oe,Ge,Je=0;JeS)&&(X=(pe=Ge-Oe)-1,S>=Ge&&(Me="right")),X!=null){if(R=k[Je+2],Oe==Ge&&$==(R.insertLeft?"left":"right")&&(Me=$),$=="left"&&X==0)for(;Je&&k[Je-2]==k[Je-3]&&k[Je-1].insertLeft;)R=k[2+(Je-=3)],Me="left";if($=="right"&&X==Ge-Oe)for(;Je=0&&($=k[X]).left==$.right;X--);return $}function cw(k,S,$,R){var X,pe=s4(S.map,$,R),Me=pe.node,Oe=pe.start,Ge=pe.end,Je=pe.collapse;if(Me.nodeType==3){for(var Pt=0;Pt<4;Pt++){for(;Oe&&ln(S.line.text.charAt(pe.coverStart+Oe));)--Oe;for(;pe.coverStart+Ge0&&(Je=R="right"),X=k.options.lineWrapping&&(Dt=Me.getClientRects()).length>1?Dt[R=="right"?Dt.length-1:0]:Me.getBoundingClientRect()}if(w&&x<9&&!Oe&&(!X||!X.left&&!X.right)){var kn=Me.parentNode.getClientRects()[0];X=kn?{left:kn.left,right:kn.left+hw(k.display),top:kn.top,bottom:kn.bottom}:_0}for(var Nn=X.top-S.rect.top,rr=X.bottom-S.rect.top,Hr=(Nn+rr)/2,fi=S.view.measure.heights,ur=0;ur=R.text.length?(Ge=R.text.length,Je="before"):Ge<=0&&(Ge=0,Je="after"),!Oe)return Me(Je=="before"?Ge-1:Ge,Je=="before");function Pt(rr,Hr,fi){return Me(fi?rr-1:rr,Oe[Hr].level==1!=fi)}var Dt=ti(Oe,Ge,Je),kn=Lr,Nn=Pt(Ge,Dt,Je=="before");return kn!=null&&(Nn.other=Pt(Ge,kn,Je!="before")),Nn}function L7(k,S){var $=0;S=co(k.doc,S),k.options.lineWrapping||($=hw(k.display)*S.ch);var R=Ei(k.doc,S.line),X=Uh(R)+og(k.display);return{left:$,right:$,top:X,bottom:X+R.height}}function N6(k,S,$,R,X){var pe=ar(k,S,$);return pe.xRel=X,R&&(pe.outside=R),pe}function Ob(k,S,$){var R=k.doc;if(($+=k.display.viewOffset)<0)return N6(R.first,0,null,-1,-1);var X=ju(R,$),pe=R.first+R.size-1;if(X>pe)return N6(R.first+R.size-1,Ei(R,pe).text.length,null,1,1);S<0&&(S=0);for(var Me=Ei(R,X);;){var Oe=P6(k,Me,X,S,$),Ge=Fd(Me,Oe.ch+(Oe.xRel>0||Oe.outside>0?1:0));if(!Ge)return Oe;var Je=Ge.find(1);if(Je.line==X)return Je;Me=Ei(R,X=Je.line)}}function hy(k,S,$,R){R-=Db(S);var X=S.text.length,pe=$t(function(Me){return nd(k,$,Me-1).bottom<=R},X,0);return{begin:pe,end:X=$t(function(Me){return nd(k,$,Me).top>R},pe,X)}}function lw(k,S,$,R){return $||($=$A(k,S)),hy(k,S,$,uy(k,S,nd(k,$,R),"line").top)}function Q6(k,S,$,R){return!(k.bottom<=$)&&(k.top>$||(R?k.left:k.right)>S)}function P6(k,S,$,R,X){X-=Uh(S);var pe=$A(k,S),Me=Db(S),Oe=0,Ge=S.text.length,Je=!0,Pt=ro(S,k.doc.direction);if(Pt){var Dt=(k.options.lineWrapping?_9:B9)(k,S,$,pe,Pt,R,X);Oe=(Je=Dt.level!=1)?Dt.from:Dt.to-1,Ge=Je?Dt.to:Dt.from-1}var kn,Nn,rr=null,Hr=null,fi=$t(function(so){var Aa=nd(k,pe,so);return Aa.top+=Me,Aa.bottom+=Me,!!Q6(Aa,R,X,!1)&&(Aa.top<=X&&Aa.left<=R&&(rr=so,Hr=Aa),!0)},Oe,Ge),ur=!1;if(Hr){var Fa=R-Hr.left=Na.bottom?1:0}return N6($,fi=Hn(S.text,fi,1),Nn,ur,R-kn)}function B9(k,S,$,R,X,pe,Me){var Oe=$t(function(Dt){var kn=X[Dt],Nn=kn.level!=1;return Q6(Qf(k,ar($,Nn?kn.to:kn.from,Nn?"before":"after"),"line",S,R),pe,Me,!0)},0,X.length-1),Ge=X[Oe];if(Oe>0){var Je=Ge.level!=1,Pt=Qf(k,ar($,Je?Ge.from:Ge.to,Je?"after":"before"),"line",S,R);Q6(Pt,pe,Me,!0)&&Pt.top>Me&&(Ge=X[Oe-1])}return Ge}function _9(k,S,$,R,X,pe,Me){var Oe=hy(k,S,R,Me),Ge=Oe.begin,Je=Oe.end;/\s/.test(S.text.charAt(Je-1))&&Je--;for(var Pt=null,Dt=null,kn=0;kn=Je||Nn.to<=Ge)){var rr=nd(k,R,Nn.level!=1?Math.min(Je,Nn.to)-1:Math.max(Ge,Nn.from)).right,Hr=rrHr)&&(Pt=Nn,Dt=Hr)}}return Pt||(Pt=X[X.length-1]),Pt.fromJe&&(Pt={from:Pt.from,to:Je,level:Pt.level}),Pt}function uw(k){if(k.cachedTextHeight!=null)return k.cachedTextHeight;if(mu==null){mu=Ee("pre",null,"CodeMirror-line-like");for(var S=0;S<49;++S)mu.appendChild(document.createTextNode("x")),mu.appendChild(Ee("br"));mu.appendChild(document.createTextNode("x"))}Y(k.measure,mu);var $=mu.offsetHeight/50;return $>3&&(k.cachedTextHeight=$),ye(k.measure),$||1}function hw(k){if(k.cachedCharWidth!=null)return k.cachedCharWidth;var S=Ee("span","xxxxxxxxxx"),$=Ee("pre",[S],"CodeMirror-line-like");Y(k.measure,$);var R=S.getBoundingClientRect(),X=(R.right-R.left)/10;return X>2&&(k.cachedCharWidth=X),X||10}function u4(k){for(var S=k.display,$={},R={},X=S.gutters.clientLeft,pe=S.gutters.firstChild,Me=0;pe;pe=pe.nextSibling,++Me){var Oe=k.display.gutterSpecs[Me].className;$[Oe]=pe.offsetLeft+pe.clientLeft+X,R[Oe]=pe.clientWidth}return{fixedPos:R6(S),gutterTotalWidth:S.gutters.offsetWidth,gutterLeft:$,gutterWidth:R,wrapperWidth:S.wrapper.clientWidth}}function R6(k){return k.scroller.getBoundingClientRect().left-k.sizer.getBoundingClientRect().left}function S9(k){var S=uw(k.display),$=k.options.lineWrapping,R=$&&Math.max(5,k.display.scroller.clientWidth/hw(k.display)-3);return function(X){if(Hl(k.doc,X))return 0;var pe=0;if(X.widgets)for(var Me=0;Me0&&(Ge=Ei(k.doc,Je.line).text).length==Je.ch){var Pt=ht(Ge,Ge.length,k.options.tabSize)-Ge.length;Je=ar(Je.line,Math.max(0,Math.round((pe-eh(k.display).left)/hw(k.display))-Pt))}return Je}function Aw(k,S){if(S>=k.display.viewTo||(S-=k.display.viewFrom)<0)return null;for(var $=k.display.view,R=0;R<$.length;R++)if((S-=$[R].size)<0)return R}function rd(k,S,$,R){S==null&&(S=k.doc.first),$==null&&($=k.doc.first+k.doc.size),R||(R=0);var X=k.display;if(R&&$S)&&(X.updateLineNumbers=S),k.curOp.viewChanged=!0,S>=X.viewTo)Ic&&La(k.doc,S)X.viewFrom?KA(k):(X.viewFrom+=R,X.viewTo+=R);else if(S<=X.viewFrom&&$>=X.viewTo)KA(k);else if(S<=X.viewFrom){var pe=h4(k,$,$+R,1);pe?(X.view=X.view.slice(pe.index),X.viewFrom=pe.lineN,X.viewTo+=R):KA(k)}else if($>=X.viewTo){var Me=h4(k,S,S,-1);Me?(X.view=X.view.slice(0,Me.index),X.viewTo=Me.lineN):KA(k)}else{var Oe=h4(k,S,S,-1),Ge=h4(k,$,$+R,1);Oe&&Ge?(X.view=X.view.slice(0,Oe.index).concat(ew(k,Oe.lineN,Ge.lineN)).concat(X.view.slice(Ge.index)),X.viewTo+=R):KA(k)}var Je=X.externalMeasured;Je&&($=X.lineN&&S=R.viewTo)){var pe=R.view[Aw(k,S)];if(pe.node!=null){var Me=pe.changes||(pe.changes=[]);Et(Me,$)==-1&&Me.push($)}}}function KA(k){k.display.viewFrom=k.display.viewTo=k.doc.first,k.display.view=[],k.display.viewOffset=0}function h4(k,S,$,R){var X,pe=Aw(k,S),Me=k.display.view;if(!Ic||$==k.doc.first+k.doc.size)return{index:pe,lineN:$};for(var Oe=k.display.viewFrom,Ge=0;Ge0){if(pe==Me.length-1)return null;X=Oe+Me[pe].size-S,pe++}else X=Oe-S;S+=X,$+=X}for(;La(k.doc,$)!=$;){if(pe==(R<0?0:Me.length-1))return null;$+=R*Me[pe-(R<0?1:0)].size,pe+=R}return{index:pe,lineN:$}}function JB(k,S,$){var R=k.display;R.view.length==0||S>=R.viewTo||$<=R.viewFrom?(R.view=ew(k,S,$),R.viewFrom=S):(R.viewFrom>S?R.view=ew(k,S,R.viewFrom).concat(R.view):R.viewFrom$&&(R.view=R.view.slice(0,Aw(k,$)))),R.viewTo=$}function M7(k){for(var S=k.display.view,$=0,R=0;R=k.display.viewTo||Oe.to().line0?S.blinker=setInterval(function(){k.hasFocus()||Om(k),S.cursorDiv.style.visibility=($=!$)?"":"hidden"},k.options.cursorBlinkRate):k.options.cursorBlinkRate<0&&(S.cursorDiv.style.visibility="hidden")}}function Rb(k){k.state.focused||(k.display.input.focus(),A4(k))}function M9(k){k.state.delayingBlurEvent=!0,setTimeout(function(){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1,Om(k))},100)}function A4(k,S){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1),k.options.readOnly!="nocursor"&&(k.state.focused||(vr(k,"focus",k,S),k.state.focused=!0,Ye(k.display.wrapper,"CodeMirror-focused"),k.curOp||k.display.selForContextMenu==k.doc.sel||(k.display.input.reset(),C&&setTimeout(function(){return k.display.input.reset(!0)},20)),k.display.input.receivedFocus()),Pb(k))}function Om(k,S){k.state.delayingBlurEvent||(k.state.focused&&(vr(k,"blur",k,S),k.state.focused=!1,ee(k.display.wrapper,"CodeMirror-focused")),clearInterval(k.display.blinker),setTimeout(function(){k.state.focused||(k.display.shift=!1)},150))}function Ay(k){for(var S=k.display,$=S.lineDiv.offsetTop,R=0;R.005||Pt<-.005)&&(Qh(X.line,Ie),gy(X.line),X.rest))for(var Dt=0;Dtk.display.sizerWidth){var kn=Math.ceil(Oe/fw(k.display));kn>k.display.maxLineLength&&(k.display.maxLineLength=kn,k.display.maxLine=X.line,k.display.maxLineChanged=!0)}}}}function gy(k){if(k.widgets)for(var S=0;S=Ie&&(pe=ju(S,Uh(Ei(S,Ge))-k.wrapper.clientHeight),Ie=Ge)}return{from:pe,to:Math.max(Ie,pe+1)}}function e_(k,S){if(!Zr(k,"scrollCursorIntoView")){var $=k.display,R=$.sizer.getBoundingClientRect(),X=null;if(S.top+R.top<0?X=!0:S.bottom+R.top>(window.innerHeight||document.documentElement.clientHeight)&&(X=!1),X!=null&&!W){var pe=Ee("div","​",null,`position: absolute; + height: `+(Aa-Na)+"px"))}function Dt(ji,Na,so){var Aa,El,Tl=Ei(X,ji),P1=Tl.text.length;function th(Jh,ad){return l4(k,ar(ji,Jh),"div",Tl,ad)}function y1(Jh,ad,Od){var Xu=lw(k,Tl,null,Jh),Hh=ad=="ltr"==(Od=="after")?"left":"right";return th(Od=="after"?Xu.begin:Xu.end-(/\s/.test(Tl.text.charAt(Xu.end-1))?2:1),Hh)[Hh]}var R1=ro(Tl,X.direction);return _r(R1,Na||0,so??P1,function(Jh,ad,Od,Xu){var Hh=Od=="ltr",gf=th(Jh,Hh?"left":"right"),Nd=th(ad-1,Hh?"right":"left"),Jg=Na==null&&Jh==0,cg=so==null&&ad==P1,od=Xu==0,pf=!R1||Xu==R1.length-1;if(Nd.top-gf.top<=3){var hx=(Je?cg:Jg)&&pf,L0=(Je?Jg:cg)&&od?Oe:(Hh?gf:Nd).left,Wp=hx?Ge:(Hh?Nd:gf).right;Pt(L0,gf.top,Wp-L0,gf.bottom)}else{var Zg,nh,Yb,Fw;Hh?(Zg=Je&&Jg&&od?Oe:gf.left,nh=Je?Ge:y1(Jh,Od,"before"),Yb=Je?Oe:y1(ad,Od,"after"),Fw=Je&&cg&&pf?Ge:Nd.right):(Zg=Je?y1(Jh,Od,"before"):Oe,nh=!Je&&Jg&&od?Ge:gf.right,Yb=!Je&&cg&&pf?Oe:Nd.left,Fw=Je?y1(ad,Od,"after"):Ge),Pt(Zg,gf.top,nh-Zg,gf.bottom),gf.bottom0?S.blinker=setInterval(function(){k.hasFocus()||Dm(k),S.cursorDiv.style.visibility=($=!$)?"":"hidden"},k.options.cursorBlinkRate):k.options.cursorBlinkRate<0&&(S.cursorDiv.style.visibility="hidden")}}function Pb(k){k.state.focused||(k.display.input.focus(),d4(k))}function M9(k){k.state.delayingBlurEvent=!0,setTimeout(function(){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1,Dm(k))},100)}function d4(k,S){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1),k.options.readOnly!="nocursor"&&(k.state.focused||(vr(k,"focus",k,S),k.state.focused=!0,Ye(k.display.wrapper,"CodeMirror-focused"),k.curOp||k.display.selForContextMenu==k.doc.sel||(k.display.input.reset(),C&&setTimeout(function(){return k.display.input.reset(!0)},20)),k.display.input.receivedFocus()),Qb(k))}function Dm(k,S){k.state.delayingBlurEvent||(k.state.focused&&(vr(k,"blur",k,S),k.state.focused=!1,ee(k.display.wrapper,"CodeMirror-focused")),clearInterval(k.display.blinker),setTimeout(function(){k.state.focused||(k.display.shift=!1)},150))}function dy(k){for(var S=k.display,$=S.lineDiv.offsetTop,R=0;R.005||Pt<-.005)&&(Qh(X.line,Me),Ay(X.line),X.rest))for(var Dt=0;Dtk.display.sizerWidth){var kn=Math.ceil(Oe/hw(k.display));kn>k.display.maxLineLength&&(k.display.maxLineLength=kn,k.display.maxLine=X.line,k.display.maxLineChanged=!0)}}}}function Ay(k){if(k.widgets)for(var S=0;S=Me&&(pe=ju(S,Uh(Ei(S,Ge))-k.wrapper.clientHeight),Me=Ge)}return{from:pe,to:Math.max(Me,pe+1)}}function ZB(k,S){if(!Zr(k,"scrollCursorIntoView")){var $=k.display,R=$.sizer.getBoundingClientRect(),X=null;if(S.top+R.top<0?X=!0:S.bottom+R.top>(window.innerHeight||document.documentElement.clientHeight)&&(X=!1),X!=null&&!W){var pe=Ee("div","​",null,`position: absolute; top: `+(S.top-$.viewOffset-og(k.display))+`px; height: `+(S.bottom-S.top+Gg(k)+$.barHeight)+`px; - left: `+S.left+"px; width: "+Math.max(2,S.right-S.left)+"px;");k.display.lineSpace.appendChild(pe),pe.scrollIntoView(X),k.display.lineSpace.removeChild(pe)}}}function t_(k,S,$,R){var X;R==null&&(R=0),k.options.lineWrapping||S!=$||($=(S=S.ch?ar(S.line,S.sticky=="before"?S.ch-1:S.ch,"after"):S).sticky=="before"?ar(S.line,S.ch+1,"before"):S);for(var pe=0;pe<5;pe++){var Ie=!1,Oe=Qf(k,S),Ge=$&&$!=S?Qf(k,$):Oe,Je=mw(k,X={left:Math.min(Oe.left,Ge.left),top:Math.min(Oe.top,Ge.top)-R,right:Math.max(Oe.left,Ge.left),bottom:Math.max(Oe.bottom,Ge.bottom)+R}),Pt=k.doc.scrollTop,Dt=k.doc.scrollLeft;if(Je.scrollTop!=null&&(my(k,Je.scrollTop),Math.abs(k.doc.scrollTop-Pt)>1&&(Ie=!0)),Je.scrollLeft!=null&&(ww(k,Je.scrollLeft),Math.abs(k.doc.scrollLeft-Dt)>1&&(Ie=!0)),!Ie)break}return X}function n_(k,S){var $=mw(k,S);$.scrollTop!=null&&my(k,$.scrollTop),$.scrollLeft!=null&&ww(k,$.scrollLeft)}function mw(k,S){var $=k.display,R=hw(k.display);S.top<0&&(S.top=0);var X=k.curOp&&k.curOp.scrollTop!=null?k.curOp.scrollTop:$.scroller.scrollTop,pe=O6(k),Ie={};S.bottom-S.top>pe&&(S.bottom=S.top+pe);var Oe=k.doc.height+cw($),Ge=S.topOe-R;if(S.topX+pe){var Pt=Math.min(S.top,(Je?Oe:S.bottom)-pe);Pt!=X&&(Ie.scrollTop=Pt)}var Dt=k.options.fixedGutter?0:$.gutters.offsetWidth,kn=k.curOp&&k.curOp.scrollLeft!=null?k.curOp.scrollLeft:$.scroller.scrollLeft-Dt,Nn=Db(k)-$.gutters.offsetWidth,rr=S.right-S.left>Nn;return rr&&(S.right=S.left+Nn),S.left<10?Ie.scrollLeft=0:S.leftNn+kn-3&&(Ie.scrollLeft=S.right+(rr?0:10)-Nn),Ie}function H6(k,S){S!=null&&(bw(k),k.curOp.scrollTop=(k.curOp.scrollTop==null?k.doc.scrollTop:k.curOp.scrollTop)+S)}function py(k){bw(k);var S=k.getCursor();k.curOp.scrollToPos={from:S,to:S,margin:k.options.cursorScrollMargin}}function p4(k,S,$){S==null&&$==null||bw(k),S!=null&&(k.curOp.scrollLeft=S),$!=null&&(k.curOp.scrollTop=$)}function r_(k,S){bw(k),k.curOp.scrollToPos=S}function bw(k){var S=k.curOp.scrollToPos;S&&(k.curOp.scrollToPos=null,F9(k,Ik(k,S.from),Ik(k,S.to),S.margin))}function F9(k,S,$,R){var X=mw(k,{left:Math.min(S.left,$.left),top:Math.min(S.top,$.top)-R,right:Math.max(S.right,$.right),bottom:Math.max(S.bottom,$.bottom)+R});p4(k,X.scrollLeft,X.scrollTop)}function my(k,S){Math.abs(k.doc.scrollTop-S)<2||(h||j6(k,{top:S}),D9(k,S,!0),h&&j6(k),Vg(k,100))}function D9(k,S,$){S=Math.max(0,Math.min(k.display.scroller.scrollHeight-k.display.scroller.clientHeight,S)),(k.display.scroller.scrollTop!=S||$)&&(k.doc.scrollTop=S,k.display.scrollbars.setScrollTop(S),k.display.scroller.scrollTop!=S&&(k.display.scroller.scrollTop=S))}function ww(k,S,$,R){S=Math.max(0,Math.min(S,k.display.scroller.scrollWidth-k.display.scroller.clientWidth)),($?S==k.doc.scrollLeft:Math.abs(k.doc.scrollLeft-S)<2)&&!R||(k.doc.scrollLeft=S,K6(k),k.display.scroller.scrollLeft!=S&&(k.display.scroller.scrollLeft=S),k.display.scrollbars.setScrollLeft(S))}function m4(k){var S=k.display,$=S.gutters.offsetWidth,R=Math.round(k.doc.height+cw(k.display));return{clientHeight:S.scroller.clientHeight,viewHeight:S.wrapper.clientHeight,scrollWidth:S.scroller.scrollWidth,clientWidth:S.scroller.clientWidth,viewWidth:S.wrapper.clientWidth,barLeft:k.options.fixedGutter?$:0,docHeight:R,scrollHeight:R+Gg(k)+S.barHeight,nativeBarWidth:S.nativeBarWidth,gutterWidth:$}}var vw=function(k,S,$){this.cm=$;var R=this.vert=Ee("div",[Ee("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),X=this.horiz=Ee("div",[Ee("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");R.tabIndex=X.tabIndex=-1,k(R),k(X),mi(R,"scroll",function(){R.clientHeight&&S(R.scrollTop,"vertical")}),mi(X,"scroll",function(){X.clientWidth&&S(X.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,w&&x<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};vw.prototype.update=function(k){var S=k.scrollWidth>k.clientWidth+1,$=k.scrollHeight>k.clientHeight+1,R=k.nativeBarWidth;if($){this.vert.style.display="block",this.vert.style.bottom=S?R+"px":"0";var X=k.viewHeight-(S?R:0);this.vert.firstChild.style.height=Math.max(0,k.scrollHeight-k.clientHeight+X)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(S){this.horiz.style.display="block",this.horiz.style.right=$?R+"px":"0",this.horiz.style.left=k.barLeft+"px";var pe=k.viewWidth-k.barLeft-($?R:0);this.horiz.firstChild.style.width=Math.max(0,k.scrollWidth-k.clientWidth+pe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&k.clientHeight>0&&(R==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:$?R:0,bottom:S?R:0}},vw.prototype.setScrollLeft=function(k){this.horiz.scrollLeft!=k&&(this.horiz.scrollLeft=k),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},vw.prototype.setScrollTop=function(k){this.vert.scrollTop!=k&&(this.vert.scrollTop=k),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},vw.prototype.zeroWidthHack=function(){var k=G&&!z?"12px":"18px";this.horiz.style.height=this.vert.style.width=k,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Rt,this.disableVert=new Rt},vw.prototype.enableZeroWidthBar=function(k,S,$){function R(){var X=k.getBoundingClientRect();($=="vert"?document.elementFromPoint(X.right-1,(X.top+X.bottom)/2):document.elementFromPoint((X.right+X.left)/2,X.bottom-1))!=k?k.style.pointerEvents="none":S.set(1e3,R)}k.style.pointerEvents="auto",S.set(1e3,R)},vw.prototype.clear=function(){var k=this.horiz.parentNode;k.removeChild(this.horiz),k.removeChild(this.vert)};var by=function(){};function Nm(k,S){S||(S=m4(k));var $=k.display.barWidth,R=k.display.barHeight;O9(k,S);for(var X=0;X<4&&$!=k.display.barWidth||R!=k.display.barHeight;X++)$!=k.display.barWidth&&k.options.lineWrapping&&Ay(k),O9(k,m4(k)),$=k.display.barWidth,R=k.display.barHeight}function O9(k,S){var $=k.display,R=$.scrollbars.update(S);$.sizer.style.paddingRight=($.barWidth=R.right)+"px",$.sizer.style.paddingBottom=($.barHeight=R.bottom)+"px",$.heightForcer.style.borderBottom=R.bottom+"px solid transparent",R.right&&R.bottom?($.scrollbarFiller.style.display="block",$.scrollbarFiller.style.height=R.bottom+"px",$.scrollbarFiller.style.width=R.right+"px"):$.scrollbarFiller.style.display="",R.bottom&&k.options.coverGutterNextToScrollbar&&k.options.fixedGutter?($.gutterFiller.style.display="block",$.gutterFiller.style.height=R.bottom+"px",$.gutterFiller.style.width=S.gutterWidth+"px"):$.gutterFiller.style.display=""}by.prototype.update=function(){return{bottom:0,right:0}},by.prototype.setScrollLeft=function(){},by.prototype.setScrollTop=function(){},by.prototype.clear=function(){};var N9={native:vw,null:by};function yw(k){k.display.scrollbars&&(k.display.scrollbars.clear(),k.display.scrollbars.addClass&&ee(k.display.wrapper,k.display.scrollbars.addClass)),k.display.scrollbars=new N9[k.options.scrollbarStyle](function(S){k.display.wrapper.insertBefore(S,k.display.scrollbarFiller),mi(S,"mousedown",function(){k.state.focused&&setTimeout(function(){return k.display.input.focus()},0)}),S.setAttribute("cm-not-content","true")},function(S,$){$=="horizontal"?ww(k,S):my(k,S)},k),k.display.scrollbars.addClass&&Ye(k.display.wrapper,k.display.scrollbars.addClass)}var i_=0;function xw(k){k.curOp={cm:k,viewChanged:!1,startHeight:k.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:++i_},k9(k.curOp)}function Ub(k){var S=k.curOp;S&&rw(S,function($){for(var R=0;R<$.ops.length;R++)$.ops[R].cm.curOp=null;a_($)})}function a_(k){for(var S=k.ops,$=0;$=$.viewTo)||$.maxLineChanged&&S.options.lineWrapping,k.update=k.mustUpdate&&new w4(S,k.mustUpdate&&{top:k.scrollTop,ensure:k.scrollToPos},k.forceUpdate)}function Dk(k){k.updatedDisplay=k.mustUpdate&&$6(k.cm,k.update)}function b4(k){var S=k.cm,$=S.display;k.updatedDisplay&&Ay(S),k.barMeasure=m4(S),$.maxLineChanged&&!S.options.lineWrapping&&(k.adjustWidthTo=Lk(S,$.maxLine,$.maxLine.text.length).left+3,S.display.sizerWidth=k.adjustWidthTo,k.barMeasure.scrollWidth=Math.max($.scroller.clientWidth,$.sizer.offsetLeft+k.adjustWidthTo+Gg(S)+S.display.barWidth),k.maxScrollLeft=Math.max(0,$.sizer.offsetLeft+k.adjustWidthTo-Db(S))),(k.updatedDisplay||k.selectionChanged)&&(k.preparedSelection=$.input.prepareSelection())}function s_(k){var S=k.cm;k.adjustWidthTo!=null&&(S.display.sizer.style.minWidth=k.adjustWidthTo+"px",k.maxScrollLeft=k.display.viewTo)){var $=+new Date+k.options.workTime,R=sa(k,S.highlightFrontier),X=[];S.iter(R.line,Math.min(S.first+S.size,k.display.viewTo+500),function(pe){if(R.line>=k.display.viewFrom){var Ie=pe.styles,Oe=pe.text.length>k.options.maxHighlightLength?ws(S.mode,R.state):null,Ge=Qr(k,pe,R,!0);Oe&&(R.state=Oe),pe.styles=Ge.styles;var Je=pe.styleClasses,Pt=Ge.classes;Pt?pe.styleClasses=Pt:Je&&(pe.styleClasses=null);for(var Dt=!Ie||Ie.length!=pe.styles.length||Je!=Pt&&(!Je||!Pt||Je.bgClass!=Pt.bgClass||Je.textClass!=Pt.textClass),kn=0;!Dt&&kn$)return Vg(k,k.options.workDelay),!0}),S.highlightFrontier=R.line,S.modeFrontier=Math.max(S.modeFrontier,R.line),X.length&&KA(k,function(){for(var pe=0;pe=$.viewFrom&&S.visible.to<=$.viewTo&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo)&&$.renderedView==$.view&&Mk(k)==0)return!1;$p(k)&&(jA(k),S.dims=h4(k));var X=R.first+R.size,pe=Math.max(S.visible.from-k.options.viewportMargin,R.first),Ie=Math.min(X,S.visible.to+k.options.viewportMargin);$.viewFromIe&&$.viewTo-Ie<20&&(Ie=Math.min(X,$.viewTo)),Mc&&(pe=La(k.doc,pe),Ie=Yc(k.doc,Ie));var Oe=pe!=$.viewFrom||Ie!=$.viewTo||$.lastWrapHeight!=S.wrapperHeight||$.lastWrapWidth!=S.wrapperWidth;ZB(k,pe,Ie),$.viewOffset=Uh(Ei(k.doc,$.viewFrom)),k.display.mover.style.top=$.viewOffset+"px";var Ge=Mk(k);if(!Oe&&Ge==0&&!S.force&&$.renderedView==$.view&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo))return!1;var Je=U9(k);return Ge>4&&($.lineDiv.style.display="none"),H9(k,$.updateLineNumbers,S.dims),Ge>4&&($.lineDiv.style.display=""),$.renderedView=$.view,Qm(Je),ye($.cursorDiv),ye($.selectionDiv),$.gutters.style.height=$.sizer.style.minHeight=0,Oe&&($.lastWrapHeight=S.wrapperHeight,$.lastWrapWidth=S.wrapperWidth,Vg(k,400)),$.updateLineNumbers=null,!0}function Ok(k,S){for(var $=S.viewport,R=!0;;R=!1){if(R&&k.options.lineWrapping&&S.oldDisplayWidth!=Db(k))R&&(S.visible=g4(k.display,k.doc,$));else if($&&$.top!=null&&($={top:Math.min(k.doc.height+cw(k.display)-O6(k),$.top)}),S.visible=g4(k.display,k.doc,$),S.visible.from>=k.display.viewFrom&&S.visible.to<=k.display.viewTo)break;if(!$6(k,S))break;Ay(k);var X=m4(k);dy(k),Nm(k,X),Hb(k,X),S.force=!1}S.signal(k,"update",k),k.display.viewFrom==k.display.reportedViewFrom&&k.display.viewTo==k.display.reportedViewTo||(S.signal(k,"viewportChange",k,k.display.viewFrom,k.display.viewTo),k.display.reportedViewFrom=k.display.viewFrom,k.display.reportedViewTo=k.display.viewTo)}function j6(k,S){var $=new w4(k,S);if($6(k,$)){Ay(k),Ok(k,$);var R=m4(k);dy(k),Nm(k,R),Hb(k,R),$.finish()}}function H9(k,S,$){var R=k.display,X=k.options.lineNumbers,pe=R.lineDiv,Ie=pe.firstChild;function Oe(rr){var Hr=rr.nextSibling;return C&&G&&k.display.currentWheelTarget==rr?rr.style.display="none":rr.parentNode.removeChild(rr),Hr}for(var Ge=R.view,Je=R.viewFrom,Pt=0;Pt-1&&(kn=!1),ly(k,Dt,Je,$)),kn&&(ye(Dt.lineNumber),Dt.lineNumber.appendChild(document.createTextNode(ts(k.options,Je)))),Ie=Dt.node.nextSibling}else{var Nn=Sk(k,Dt,Je,$);pe.insertBefore(Nn,Ie)}Je+=Dt.size}for(;Ie;)Ie=Oe(Ie)}function Nk(k){var S=k.gutters.offsetWidth;k.sizer.style.marginLeft=S+"px"}function Hb(k,S){k.display.sizer.style.minHeight=S.docHeight+"px",k.display.heightForcer.style.top=S.docHeight+"px",k.display.gutters.style.height=S.docHeight+k.display.barHeight+Gg(k)+"px"}function K6(k){var S=k.display,$=S.view;if(S.alignWidgets||S.gutters.firstChild&&k.options.fixedGutter){for(var R=U6(S)-S.scroller.scrollLeft+k.doc.scrollLeft,X=S.gutters.offsetWidth,pe=R+"px",Ie=0;Ie<$.length;Ie++)if(!$[Ie].hidden){k.options.fixedGutter&&($[Ie].gutter&&($[Ie].gutter.style.left=pe),$[Ie].gutterBackground&&($[Ie].gutterBackground.style.left=pe));var Oe=$[Ie].alignable;if(Oe)for(var Ge=0;GeIe.clientWidth,Ge=Ie.scrollHeight>Ie.clientHeight;if(R&&Oe||X&&Ge){if(X&&G&&C){e:for(var Je=S.target,Pt=pe.view;Je!=Ie;Je=Je.parentNode)for(var Dt=0;Dt=0&&Br(k,R.to())<=0)return $}return-1};var $l=function(k,S){this.anchor=k,this.head=S};function Wg(k,S,$){var R=k&&k.options.selectionsMayTouch,X=S[$];S.sort(function(kn,Nn){return Br(kn.from(),Nn.from())}),$=Et(S,X);for(var pe=1;pe0:Ge>=0){var Je=yn(Oe.from(),Ie.from()),Pt=Ph(Oe.to(),Ie.to()),Dt=Oe.empty()?Ie.from()==Ie.head:Oe.from()==Oe.head;pe<=$&&--$,S.splice(--pe,2,new $l(Dt?Pt:Je,Dt?Je:Pt))}}return new S0(S,$)}function jb(k,S){return new S0([new $l(k,S||k)],0)}function Kb(k){return k.text?ar(k.from.line+k.text.length-1,Ke(k.text).length+(k.text.length==1?k.from.ch:0)):k.to}function Af(k,S){if(Br(k,S.from)<0)return k;if(Br(k,S.to)<=0)return Kb(S);var $=k.line+S.text.length-(S.to.line-S.from.line)-1,R=k.ch;return k.line==S.to.line&&(R+=Kb(S).ch-S.to.ch),ar($,R)}function X6(k,S){for(var $=[],R=0;R1&&k.remove(Oe.line+1,rr-1),k.insert(Oe.line+1,ur)}Jc(k,"change",k,S)}function zb(k,S,$){function R(X,pe,Ie){if(X.linked)for(var Oe=0;Oe1&&!k.done[k.done.length-2].ranges?(k.done.pop(),Ke(k.done)):void 0}function Uk(k,S,$,R){var X=k.history;X.undone.length=0;var pe,Ie,Oe=+new Date;if((X.lastOp==R||X.lastOrigin==S.origin&&S.origin&&(S.origin.charAt(0)=="+"&&X.lastModTime>Oe-(k.cm?k.cm.options.historyEventDelay:500)||S.origin.charAt(0)=="*"))&&(pe=f_(X,X.lastOp==R)))Ie=Ke(pe.changes),Br(S.from,S.to)==0&&Br(S.from,Ie.to)==0?Ie.to=Kb(S):pe.changes.push(y4(k,S));else{var Ge=Ke(X.done);for(Ge&&Ge.ranges||q6(k.sel,X.done),pe={changes:[y4(k,S)],generation:X.generation},X.done.push(pe);X.done.length>X.undoDepth;)X.done.shift(),X.done[0].ranges||X.done.shift()}X.done.push($),X.generation=++X.maxGeneration,X.lastModTime=X.lastSelTime=Oe,X.lastOp=X.lastSelOp=R,X.lastOrigin=X.lastSelOrigin=S.origin,Ie||vr(k,"historyAdded")}function W6(k,S,$,R){var X=S.charAt(0);return X=="*"||X=="+"&&$.ranges.length==R.ranges.length&&$.somethingSelected()==R.somethingSelected()&&new Date-k.history.lastSelTime<=(k.cm?k.cm.options.historyEventDelay:500)}function jp(k,S,$,R){var X=k.history,pe=R&&R.origin;$==X.lastSelOp||pe&&X.lastSelOrigin==pe&&(X.lastModTime==X.lastSelTime&&X.lastOrigin==pe||W6(k,pe,Ke(X.done),S))?X.done[X.done.length-1]=S:q6(S,X.done),X.lastSelTime=+new Date,X.lastSelOrigin=pe,X.lastSelOp=$,R&&R.clearRedo!==!1&&to(X.undone)}function q6(k,S){var $=Ke(S);$&&$.ranges&&$.equals(k)||S.push(k)}function x4(k,S,$,R){var X=S["spans_"+k.id],pe=0;k.iter(Math.max(k.first,$),Math.min(k.first+k.size,R),function(Ie){Ie.markedSpans&&((X||(X=S["spans_"+k.id]={}))[pe]=Ie.markedSpans),++pe})}function k4(k){if(!k)return null;for(var S,$=0;$-1&&(Ke(Oe)[Dt]=Je[Dt],delete Je[Dt])}}}return R}function Hk(k,S,$,R){if(R){var X=k.anchor;if($){var pe=Br(S,X)<0;pe!=Br($,X)<0?(X=S,S=$):pe!=Br(S,$)<0&&(S=$)}return new $l(X,S)}return new $l($||S,S)}function Kp(k,S,$,R,X){X==null&&(X=k.cm&&(k.cm.display.shift||k.extend)),rd(k,new S0([Hk(k.sel.primary(),S,$,X)],0),R)}function C4(k,S,$){for(var R=[],X=k.cm&&(k.cm.display.shift||k.extend),pe=0;pe=S.ch:Oe.to>S.ch))){if(X&&(vr(Ge,"beforeCursorEnter"),Ge.explicitlyCleared)){if(pe.markedSpans){--Ie;continue}break}if(!Ge.atomic)continue;if($){var Dt=Ge.find(R<0?1:-1),kn=void 0;if((R<0?Pt:Je)&&(Dt=kw(k,Dt,-R,Dt&&Dt.line==S.line?pe:null)),Dt&&Dt.line==S.line&&(kn=Br(Dt,$))&&(R<0?kn<0:kn>0))return vy(k,Dt,S,R,X)}var Nn=Ge.find(R<0?-1:1);return(R<0?Je:Pt)&&(Nn=kw(k,Nn,R,Nn.line==S.line?pe:null)),Nn?vy(k,Nn,S,R,X):null}}return S}function T4(k,S,$,R,X){var pe=R||1,Ie=vy(k,S,$,pe,X)||!X&&vy(k,S,$,pe,!0)||vy(k,S,$,-pe,X)||!X&&vy(k,S,$,-pe,!0);return Ie||(k.cantEdit=!0,ar(k.first,0))}function kw(k,S,$,R){return $<0&&S.ch==0?S.line>k.first?co(k,ar(S.line-1)):null:$>0&&S.ch==(R||Ei(k,S.line)).text.length?S.line=0;--X)J6(k,{from:R[X].from,to:R[X].to,text:X?[""]:S.text,origin:S.origin});else J6(k,S)}}function J6(k,S){if(S.text.length!=1||S.text[0]!=""||Br(S.from,S.to)!=0){var $=X6(k,S);Uk(k,S,$,k.cm?k.cm.curOp.id:NaN),Pm(k,S,$,ed(k,S));var R=[];zb(k,function(X,pe){pe||Et(R,X.history)!=-1||(Xk(X.history,S),R.push(X.history)),Pm(X,S,null,ed(X,S))})}}function Cw(k,S,$){var R=k.cm&&k.cm.state.suppressEdits;if(!R||$){for(var X,pe=k.history,Ie=k.sel,Oe=S=="undo"?pe.done:pe.undone,Ge=S=="undo"?pe.undone:pe.done,Je=0;Je=0;--Nn){var rr=kn(Nn);if(rr)return rr.v}}}}function zk(k,S){if(S!=0&&(k.first+=S,k.sel=new S0(mn(k.sel.ranges,function(X){return new $l(ar(X.anchor.line+S,X.anchor.ch),ar(X.head.line+S,X.head.ch))}),k.sel.primIndex),k.cm)){nd(k.cm,k.first,k.first-S,S);for(var $=k.cm.display,R=$.viewFrom;R<$.viewTo;R++)Qb(k.cm,R,"gutter")}}function Pm(k,S,$,R){if(k.cm&&!k.cm.curOp)return b1(k.cm,Pm)(k,S,$,R);if(S.to.linek.lastLine())){if(S.from.linepe&&(S={from:S.from,to:ar(pe,Ei(k,pe).text.length),text:[S.text[0]],origin:S.origin}),S.removed=Nh(k,S.from,S.to),$||($=X6(k,S)),k.cm?d_(k.cm,S,R):Rk(k,S,R),Y6(k,$,on),k.cantEdit&&T4(k,ar(k.firstLine(),0))&&(k.cantEdit=!1)}}function d_(k,S,$){var R=k.doc,X=k.display,pe=S.from,Ie=S.to,Oe=!1,Ge=pe.line;k.options.lineWrapping||(Ge=Rs(iA(Ei(R,pe.line))),R.iter(Ge,Ie.line+1,function(Nn){if(Nn==X.maxLine)return Oe=!0,!0})),R.sel.contains(S.from,S.to)>-1&&Mr(k),Rk(R,S,$,L9(k)),k.options.lineWrapping||(R.iter(Ge,pe.line+S.text.length,function(Nn){var rr=Rp(Nn);rr>X.maxLineLength&&(X.maxLine=Nn,X.maxLineLength=rr,X.maxLineChanged=!0,Oe=!1)}),Oe&&(k.curOp.updateMaxLine=!0)),n1(R,pe.line),Vg(k,400);var Je=S.text.length-(Ie.line-pe.line)-1;S.full?nd(k):pe.line!=Ie.line||S.text.length!=1||G6(k.doc,S)?nd(k,pe.line,Ie.line+1,Je):Qb(k,pe.line,"text");var Pt=oa(k,"changes"),Dt=oa(k,"change");if(Dt||Pt){var kn={from:pe,to:Ie,text:S.text,removed:S.removed,origin:S.origin};Dt&&Jc(k,"change",k,kn),Pt&&(k.curOp.changeObjs||(k.curOp.changeObjs=[])).push(kn)}k.display.selForContextMenu=null}function Ew(k,S,$,R,X){var pe;R||(R=$),Br(R,$)<0&&($=(pe=[R,$])[0],R=pe[1]),typeof S=="string"&&(S=k.splitLines(S)),ky(k,{from:$,to:R,text:S,origin:X})}function Z6(k,S,$,R){$1||!(this.children[0]instanceof Ey))){var Oe=[];this.collapse(Oe),this.children=[new Ey(Oe)],this.children[0].parent=this}},collapse:function(k){for(var S=0;S50){for(var Ie=X.lines.length%25+25,Oe=Ie;Oe10);k.parent.maybeSpill()}},iterN:function(k,S,$){for(var R=0;R0||Ie==0&&pe.clearWhenEmpty!==!1)return pe;if(pe.replacedWith&&(pe.collapsed=!0,pe.widgetNode=fe("span",[pe.replacedWith],"CodeMirror-widget"),R.handleMouseEvents||pe.widgetNode.setAttribute("cm-ignore-events","true"),R.insertLeft&&(pe.widgetNode.insertLeft=!0)),pe.collapsed){if(Rh(k,S.line,S,$,pe)||S.line!=$.line&&Rh(k,$.line,S,$,pe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Fm()}pe.addToHistory&&Uk(k,{from:S,to:$,origin:"markText"},k.sel,NaN);var Oe,Ge=S.line,Je=k.cm;if(k.iter(Ge,$.line+1,function(Dt){Je&&pe.collapsed&&!Je.options.lineWrapping&&iA(Dt)==Je.display.maxLine&&(Oe=!0),pe.collapsed&&Ge!=S.line&&Qh(Dt,0),r1(Dt,new ff(pe,Ge==S.line?S.ch:null,Ge==$.line?$.ch:null)),++Ge}),pe.collapsed&&k.iter(S.line,$.line+1,function(Dt){Hl(k,Dt)&&Qh(Dt,0)}),pe.clearOnEnter&&mi(pe,"beforeCursorEnter",function(){return pe.clear()}),pe.readOnly&&(nc(),(k.history.done.length||k.history.undone.length)&&k.clearHistory()),pe.collapsed&&(pe.id=++Z9,pe.atomic=!0),Je){if(Oe&&(Je.curOp.updateMaxLine=!0),pe.collapsed)nd(Je,S.line,$.line+1);else if(pe.className||pe.startStyle||pe.endStyle||pe.css||pe.attributes||pe.title)for(var Pt=S.line;Pt<=$.line;Pt++)Qb(Je,Pt,"text");pe.atomic&&q9(Je.doc),Jc(Je,"markerAdded",Je,pe)}return pe}w1.prototype.clear=function(){if(!this.explicitlyCleared){var k=this.doc.cm,S=k&&!k.curOp;if(S&&xw(k),oa(this,"clear")){var $=this.find();$&&Jc(this,"clear",$.from,$.to)}for(var R=null,X=null,pe=0;pek.display.maxLineLength&&(k.display.maxLine=Je,k.display.maxLineLength=Pt,k.display.maxLineChanged=!0)}R!=null&&k&&this.collapsed&&nd(k,R,X+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,k&&q9(k.doc)),k&&Jc(k,"markerCleared",k,this,R,X),S&&Ub(k),this.parent&&this.parent.clear()}},w1.prototype.find=function(k,S){var $,R;k==null&&this.type=="bookmark"&&(k=1);for(var X=0;X=0;Ge--)ky(this,R[Ge]);Oe?W9(this,Oe):this.cm&&py(this.cm)}),undo:df(function(){Cw(this,"undo")}),redo:df(function(){Cw(this,"redo")}),undoSelection:df(function(){Cw(this,"undo",!0)}),redoSelection:df(function(){Cw(this,"redo",!0)}),setExtending:function(k){this.extend=k},getExtending:function(){return this.extend},historySize:function(){for(var k=this.history,S=0,$=0,R=0;R=k.ch)&&S.push(X.marker.parent||X.marker)}return S},findMarks:function(k,S,$){k=co(this,k),S=co(this,S);var R=[],X=k.line;return this.iter(k.line,S.line+1,function(pe){var Ie=pe.markedSpans;if(Ie)for(var Oe=0;Oe=Ge.to||Ge.from==null&&X!=k.line||Ge.from!=null&&X==S.line&&Ge.from>=S.ch||$&&!$(Ge.marker)||R.push(Ge.marker.parent||Ge.marker)}++X}),R},getAllMarks:function(){var k=[];return this.iter(function(S){var $=S.markedSpans;if($)for(var R=0;R<$.length;++R)$[R].from!=null&&k.push($[R].marker)}),k},posFromIndex:function(k){var S,$=this.first,R=this.lineSeparator().length;return this.iter(function(X){var pe=X.text.length+R;if(pe>k)return S=k,!0;k-=pe,++$}),co(this,ar($,S))},indexFromPos:function(k){var S=(k=co(this,k)).ch;if(k.lineS&&(S=k.from),k.to!=null&&k.to<$&&($=k.to);var R=new oA(iu(this,S,$),k.mode||this.modeOption,S,this.lineSep,this.direction);return k.sharedHist&&(R.history=this.history),(this.linked||(this.linked=[])).push({doc:R,sharedHist:k.sharedHist}),R.linked=[{doc:this,isParent:!0,sharedHist:k.sharedHist}],g_(R,eE(this)),R},unlinkDoc:function(k){if(k instanceof vh&&(k=k.doc),this.linked){for(var S=0;S-1)return S.state.draggingText(k),void setTimeout(function(){return S.display.input.focus()},20);try{var Pt=k.dataTransfer.getData("Text");if(Pt){var Dt;if(S.state.draggingText&&!S.state.draggingText.copy&&(Dt=S.listSelections()),Y6(S.doc,jb($,$)),Dt)for(var kn=0;kn=0;Oe--)Ew(k.doc,"",R[Oe].from,R[Oe].to,"+delete");py(k)})}function L4(k,S,$){var R=Hn(k.text,S+$,$);return R<0||R>k.text.length?null:R}function Sy(k,S,$){var R=L4(k,S.ch,$);return R==null?null:new ar(S.line,R,$<0?"after":"before")}function Wk(k,S,$,R,X){if(k){S.doc.direction=="rtl"&&(X=-X);var pe=ro($,S.doc.direction);if(pe){var Ie,Oe=X<0?Ke(pe):pe[0],Ge=X<0==(Oe.level==1)?"after":"before";if(Oe.level>0||S.doc.direction=="rtl"){var Je=HA(S,$);Ie=X<0?$.text.length-1:0;var Pt=td(S,Je,Ie).top;Ie=$t(function(Dt){return td(S,Je,Dt).top==Pt},X<0==(Oe.level==1)?Oe.from:Oe.to-1,Ie),Ge=="before"&&(Ie=L4($,Ie,1))}else Ie=X<0?Oe.to:Oe.from;return new ar(R,Ie,Ge)}}return new ar(R,X<0?$.text.length:0,X<0?"before":"after")}function x_(k,S,$,R){var X=ro(S,k.doc.direction);if(!X)return Sy(S,$,R);$.ch>=S.text.length?($.ch=S.text.length,$.sticky="before"):$.ch<=0&&($.ch=0,$.sticky="after");var pe=ti(X,$.ch,$.sticky),Ie=X[pe];if(k.doc.direction=="ltr"&&Ie.level%2==0&&(R>0?Ie.to>$.ch:Ie.from<$.ch))return Sy(S,$,R);var Oe,Ge=function(ur,Fa){return L4(S,ur instanceof ar?ur.ch:ur,Fa)},Je=function(ur){return k.options.lineWrapping?(Oe=Oe||HA(k,S),uw(k,S,Oe,ur)):{begin:0,end:S.text.length}},Pt=Je($.sticky=="before"?Ge($,-1):$.ch);if(k.doc.direction=="rtl"||Ie.level==1){var Dt=Ie.level==1==R<0,kn=Ge($,Dt?1:-1);if(kn!=null&&(Dt?kn<=Ie.to&&kn<=Pt.end:kn>=Ie.from&&kn>=Pt.begin)){var Nn=Dt?"before":"after";return new ar($.line,kn,Nn)}}var rr=function(ur,Fa,ji){for(var Na=function(Tl,P1){return P1?new ar($.line,Ge(Tl,1),"before"):new ar($.line,Tl,"after")};ur>=0&&ur0==(so.level!=1),El=Aa?ji.begin:Ge(ji.end,-1);if(so.from<=El&&El0?Pt.end:Ge(Pt.begin,-1);return fi==null||R>0&&fi==S.text.length||!(Hr=rr(R>0?0:X.length-1,R,Je(fi)))?null:Hr}Rm.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"},Rm.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"},Rm.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"},Rm.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"]},Rm.default=G?Rm.macDefault:Rm.pcDefault;var Ly={selectAll:yy,singleSelection:function(k){return k.setSelection(k.getCursor("anchor"),k.getCursor("head"),on)},killLine:function(k){return Vb(k,function(S){if(S.empty()){var $=Ei(k.doc,S.head.line).text.length;return S.head.ch==$&&S.head.line0)X=new ar(X.line,X.ch+1),k.replaceRange(pe.charAt(X.ch-1)+pe.charAt(X.ch-2),ar(X.line,X.ch-2),X,"+transpose");else if(X.line>k.doc.first){var Ie=Ei(k.doc,X.line-1).text;Ie&&(X=new ar(X.line,1),k.replaceRange(pe.charAt(0)+k.doc.lineSeparator()+Ie.charAt(Ie.length-1),ar(X.line-1,Ie.length-1),X,"+transpose"))}}$.push(new $l(X,X))}k.setSelections($)})},newlineAndIndent:function(k){return KA(k,function(){for(var S=k.listSelections(),$=S.length-1;$>=0;$--)k.replaceRange(k.doc.lineSeparator(),S[$].anchor,S[$].head,"+input");S=k.listSelections();for(var R=0;R-1&&(Br((X=Ie.ranges[X]).from(),S)<0||S.xRel>0)&&(Br(X.to(),S)>0||S.xRel<0)?Zk(k,R,S,pe):fE(k,R,S,pe)}function Zk(k,S,$,R){var X=k.display,pe=!1,Ie=b1(k,function(Je){C&&(X.scroller.draggable=!1),k.state.draggingText=!1,lr(X.wrapper.ownerDocument,"mouseup",Ie),lr(X.wrapper.ownerDocument,"mousemove",Oe),lr(X.scroller,"dragstart",Ge),lr(X.scroller,"drop",Ie),pe||(Xo(Je),R.addNew||Kp(k.doc,$,null,null,R.extend),C&&!P||w&&x==9?setTimeout(function(){X.wrapper.ownerDocument.body.focus({preventScroll:!0}),X.input.focus()},20):X.input.focus())}),Oe=function(Je){pe=pe||Math.abs(S.clientX-Je.clientX)+Math.abs(S.clientY-Je.clientY)>=10},Ge=function(){return pe=!0};C&&(X.scroller.draggable=!0),k.state.draggingText=Ie,Ie.copy=!R.moveOnDrag,X.scroller.dragDrop&&X.scroller.dragDrop(),mi(X.wrapper.ownerDocument,"mouseup",Ie),mi(X.wrapper.ownerDocument,"mousemove",Oe),mi(X.scroller,"dragstart",Ge),mi(X.scroller,"drop",Ie),M9(k),setTimeout(function(){return X.input.focus()},20)}function e7(k,S,$){if($=="char")return new $l(S,S);if($=="word")return k.findWordAt(S);if($=="line")return new $l(ar(S.line,0),co(k.doc,ar(S.line+1,0)));var R=$(k,S);return new $l(R.from,R.to)}function fE(k,S,$,R){var X=k.display,pe=k.doc;Xo(S);var Ie,Oe,Ge=pe.sel,Je=Ge.ranges;if(R.addNew&&!R.extend?(Oe=pe.sel.contains($),Ie=Oe>-1?Je[Oe]:new $l($,$)):(Ie=pe.sel.primary(),Oe=pe.sel.primIndex),R.unit=="rectangle")R.addNew||(Ie=new $l($,$)),$=Aw(k,S,!0,!0),Oe=-1;else{var Pt=e7(k,$,R.unit);Ie=R.extend?Hk(Ie,Pt.anchor,Pt.head,R.extend):Pt}R.addNew?Oe==-1?(Oe=Je.length,rd(pe,Wg(k,Je.concat([Ie]),Oe),{scroll:!1,origin:"*mouse"})):Je.length>1&&Je[Oe].empty()&&R.unit=="char"&&!R.extend?(rd(pe,Wg(k,Je.slice(0,Oe).concat(Je.slice(Oe+1)),0),{scroll:!1,origin:"*mouse"}),Ge=pe.sel):E4(pe,Oe,Ie,Kt):(Oe=0,rd(pe,new S0([Ie],0),Kt),Ge=pe.sel);var Dt=$;function kn(ji){if(Br(Dt,ji)!=0)if(Dt=ji,R.unit=="rectangle"){for(var Na=[],so=k.options.tabSize,Aa=ht(Ei(pe,$.line).text,$.ch,so),El=ht(Ei(pe,ji.line).text,ji.ch,so),Tl=Math.min(Aa,El),P1=Math.max(Aa,El),th=Math.min($.line,ji.line),y1=Math.min(k.lastLine(),Math.max($.line,ji.line));th<=y1;th++){var R1=Ei(pe,th).text,Jh=Vt(R1,Tl,so);Tl==P1?Na.push(new $l(ar(th,Jh),ar(th,Jh))):R1.length>Jh&&Na.push(new $l(ar(th,Jh),ar(th,Vt(R1,P1,so))))}Na.length||Na.push(new $l($,$)),rd(pe,Wg(k,Ge.ranges.slice(0,Oe).concat(Na),Oe),{origin:"*mouse",scroll:!1}),k.scrollIntoView(ji)}else{var id,Dd=Ie,Xu=e7(k,ji,R.unit),Hh=Dd.anchor;Br(Xu.anchor,Hh)>0?(id=Xu.head,Hh=yn(Dd.from(),Xu.anchor)):(id=Xu.anchor,Hh=Ph(Dd.to(),Xu.head));var gf=Ge.ranges.slice(0);gf[Oe]=t7(k,new $l(co(pe,Hh),id)),rd(pe,Wg(k,gf,Oe),Kt)}}var Nn=X.wrapper.getBoundingClientRect(),rr=0;function Hr(ji){var Na=++rr,so=Aw(k,ji,!0,R.unit=="rectangle");if(so)if(Br(so,Dt)!=0){k.curOp.focus=$e(),kn(so);var Aa=g4(X,pe);(so.line>=Aa.to||so.lineNn.bottom?20:0;El&&setTimeout(b1(k,function(){rr==Na&&(X.scroller.scrollTop+=El,Hr(ji))}),50)}}function fi(ji){k.state.selectingText=!1,rr=1/0,ji&&(Xo(ji),X.input.focus()),lr(X.wrapper.ownerDocument,"mousemove",ur),lr(X.wrapper.ownerDocument,"mouseup",Fa),pe.history.lastSelOrigin=null}var ur=b1(k,function(ji){ji.buttons!==0&&Ba(ji)?Hr(ji):fi(ji)}),Fa=b1(k,fi);k.state.selectingText=Fa,mi(X.wrapper.ownerDocument,"mousemove",ur),mi(X.wrapper.ownerDocument,"mouseup",Fa)}function t7(k,S){var $=S.anchor,R=S.head,X=Ei(k.doc,$.line);if(Br($,R)==0&&$.sticky==R.sticky)return S;var pe=ro(X);if(!pe)return S;var Ie=ti(pe,$.ch,$.sticky),Oe=pe[Ie];if(Oe.from!=$.ch&&Oe.to!=$.ch)return S;var Ge,Je=Ie+(Oe.from==$.ch==(Oe.level!=1)?0:1);if(Je==0||Je==pe.length)return S;if(R.line!=$.line)Ge=(R.line-$.line)*(k.doc.direction=="ltr"?1:-1)>0;else{var Pt=ti(pe,R.ch,R.sticky),Dt=Pt-Ie||(R.ch-$.ch)*(Oe.level==1?-1:1);Ge=Pt==Je-1||Pt==Je?Dt<0:Dt>0}var kn=pe[Je+(Ge?-1:0)],Nn=Ge==(kn.level==1),rr=Nn?kn.from:kn.to,Hr=Nn?"after":"before";return $.ch==rr&&$.sticky==Hr?S:new $l(new ar($.line,rr,Hr),R)}function n7(k,S,$,R){var X,pe;if(S.touches)X=S.touches[0].clientX,pe=S.touches[0].clientY;else try{X=S.clientX,pe=S.clientY}catch{return!1}if(X>=Math.floor(k.display.gutters.getBoundingClientRect().right))return!1;R&&Xo(S);var Ie=k.display,Oe=Ie.lineDiv.getBoundingClientRect();if(pe>Oe.bottom||!oa(k,$))return Ya(S);pe-=Oe.top-Ie.viewOffset;for(var Ge=0;Ge=X)return vr(k,$,k,ju(k.doc,pe),k.display.gutterSpecs[Ge].className,S),Ya(S)}}function lx(k,S){return n7(k,S,"gutterClick",!0)}function dE(k,S){ag(k.display,S)||Cl(k,S)||Zr(k,S,"contextmenu")||le||k.display.input.onContextMenu(S)}function Cl(k,S){return!!oa(k,"gutterContextMenu")&&n7(k,S,"gutterContextMenu",!1)}function I4(k){k.display.wrapper.className=k.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+k.options.theme.replace(/(^|\s)\s*/g," cm-s-"),$A(k)}Fy.prototype.compare=function(k,S,$){return this.time+Jk>k&&Br(S,this.pos)==0&&$==this.button};var Gp={toString:function(){return"CodeMirror.Init"}},al={},au={};function oo(k){var S=k.optionHandlers;function $(R,X,pe,Ie){k.defaults[R]=X,pe&&(S[R]=Ie?function(Oe,Ge,Je){Je!=Gp&&pe(Oe,Ge,Je)}:pe)}k.defineOption=$,k.Init=Gp,$("value","",function(R,X){return R.setValue(X)},!0),$("mode",null,function(R,X){R.doc.modeOption=X,Pk(R)},!0),$("indentUnit",2,Pk,!0),$("indentWithTabs",!1),$("smartIndent",!0),$("tabSize",4,function(R){v4(R),$A(R),nd(R)},!0),$("lineSeparator",null,function(R,X){if(R.doc.lineSep=X,X){var pe=[],Ie=R.doc.first;R.doc.iter(function(Ge){for(var Je=0;;){var Pt=Ge.text.indexOf(X,Je);if(Pt==-1)break;Je=Pt+X.length,pe.push(ar(Ie,Pt))}Ie++});for(var Oe=pe.length-1;Oe>=0;Oe--)Ew(R.doc,X,pe[Oe],ar(pe[Oe].line,pe[Oe].ch+X.length))}}),$("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(R,X,pe){R.state.specialChars=new RegExp(X.source+(X.test(" ")?"":"| "),"g"),pe!=Gp&&R.refresh()}),$("specialCharPlaceholder",v9,function(R){return R.refresh()},!0),$("electricChars",!0),$("inputStyle",oe?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),$("spellcheck",!1,function(R,X){return R.getInputField().spellcheck=X},!0),$("autocorrect",!1,function(R,X){return R.getInputField().autocorrect=X},!0),$("autocapitalize",!1,function(R,X){return R.getInputField().autocapitalize=X},!0),$("rtlMoveVisually",!ne),$("wholeLineUpdateBefore",!0),$("theme","default",function(R){I4(R),$b(R)},!0),$("keyMap","default",function(R,X,pe){var Ie=S4(X),Oe=pe!=Gp&&S4(pe);Oe&&Oe.detach&&Oe.detach(R,Ie),Ie.attach&&Ie.attach(R,Oe||null)}),$("extraKeys",null),$("configureMouse",null),$("lineWrapping",!1,C_,!0),$("gutters",[],function(R,X){R.display.gutterSpecs=Qk(X,R.options.lineNumbers),$b(R)},!0),$("fixedGutter",!0,function(R,X){R.display.gutters.style.left=X?U6(R.display)+"px":"0",R.refresh()},!0),$("coverGutterNextToScrollbar",!1,function(R){return Nm(R)},!0),$("scrollbarStyle","native",function(R){yw(R),Nm(R),R.display.scrollbars.setScrollTop(R.doc.scrollTop),R.display.scrollbars.setScrollLeft(R.doc.scrollLeft)},!0),$("lineNumbers",!1,function(R,X){R.display.gutterSpecs=Qk(R.options.gutters,X),$b(R)},!0),$("firstLineNumber",1,$b,!0),$("lineNumberFormatter",function(R){return R},$b,!0),$("showCursorWhenSelecting",!1,dy,!0),$("resetSelectionOnContextMenu",!0),$("lineWiseCopyCut",!0),$("pasteLinesPerSelection",!0),$("selectionsMayTouch",!1),$("readOnly",!1,function(R,X){X=="nocursor"&&(Om(R),R.display.input.blur()),R.display.input.readOnlyChanged(X)}),$("screenReaderLabel",null,function(R,X){X=X===""?null:X,R.display.input.screenReaderLabelChanged(X)}),$("disableInput",!1,function(R,X){X||R.display.input.reset()},!0),$("dragDrop",!0,ux),$("allowDropFileTypes",null),$("cursorBlinkRate",530),$("cursorScrollMargin",0),$("cursorHeight",1,dy,!0),$("singleCursorHeightPerLine",!0,dy,!0),$("workTime",100),$("workDelay",100),$("flattenSpans",!0,v4,!0),$("addModeClass",!1,v4,!0),$("pollInterval",100),$("undoDepth",200,function(R,X){return R.doc.history.undoDepth=X}),$("historyEventDelay",1250),$("viewportMargin",10,function(R){return R.refresh()},!0),$("maxHighlightLength",1e4,v4,!0),$("moveInputWithCursor",!0,function(R,X){X||R.display.input.resetPosition()}),$("tabindex",null,function(R,X){return R.display.input.getField().tabIndex=X||""}),$("autofocus",null),$("direction","ltr",function(R,X){return R.doc.setDirection(X)},!0),$("phrases",null)}function ux(k,S,$){if(!S!=!($&&$!=Gp)){var R=k.display.dragFunctions,X=S?mi:lr;X(k.display.scroller,"dragstart",R.start),X(k.display.scroller,"dragenter",R.enter),X(k.display.scroller,"dragover",R.over),X(k.display.scroller,"dragleave",R.leave),X(k.display.scroller,"drop",R.drop)}}function C_(k){k.options.lineWrapping?(Ye(k.display.wrapper,"CodeMirror-wrap"),k.display.sizer.style.minWidth="",k.display.sizerWidth=null):(ee(k.display.wrapper,"CodeMirror-wrap"),T0(k)),dw(k),nd(k),$A(k),setTimeout(function(){return Nm(k)},100)}function vh(k,S){var $=this;if(!(this instanceof vh))return new vh(k,S);this.options=S=S?Le(S):{},Le(al,S,!1);var R=S.value;typeof R=="string"?R=new oA(R,S.mode,null,S.lineSeparator,S.direction):S.mode&&(R.modeOption=S.mode),this.doc=R;var X=new vh.inputStyles[S.inputStyle](this),pe=this.display=new c_(k,R,X,S);for(var Ie in pe.wrapper.CodeMirror=this,I4(this),S.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),yw(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 Rt,keySeq:null,specialChars:null},S.autofocus&&!oe&&pe.input.focus(),w&&x<11&&setTimeout(function(){return $.display.input.reset(!0)},20),Dy(this),zp(),xw(this),this.curOp.forceUpdate=!0,X9(this,R),S.autofocus&&!oe||this.hasFocus()?setTimeout(function(){$.hasFocus()&&!$.state.focused&&A4($)},20):Om(this),au)au.hasOwnProperty(Ie)&&au[Ie](this,S[Ie],Gp);$p(this),S.finishInit&&S.finishInit(this);for(var Oe=0;Oe400}mi(S.scroller,"touchstart",function(Ge){if(!Zr(k,Ge)&&!pe(Ge)&&!lx(k,Ge)){S.input.ensurePolled(),clearTimeout($);var Je=+new Date;S.activeTouch={start:Je,moved:!1,prev:Je-R.end<=300?R:null},Ge.touches.length==1&&(S.activeTouch.left=Ge.touches[0].pageX,S.activeTouch.top=Ge.touches[0].pageY)}}),mi(S.scroller,"touchmove",function(){S.activeTouch&&(S.activeTouch.moved=!0)}),mi(S.scroller,"touchend",function(Ge){var Je=S.activeTouch;if(Je&&!ag(S,Ge)&&Je.left!=null&&!Je.moved&&new Date-Je.start<300){var Pt,Dt=k.coordsChar(S.activeTouch,"page");Pt=!Je.prev||Ie(Je,Je.prev)?new $l(Dt,Dt):!Je.prev.prev||Ie(Je,Je.prev.prev)?k.findWordAt(Dt):new $l(ar(Dt.line,0),co(k.doc,ar(Dt.line+1,0))),k.setSelection(Pt.anchor,Pt.head),k.focus(),Xo(Ge)}X()}),mi(S.scroller,"touchcancel",X),mi(S.scroller,"scroll",function(){S.scroller.clientHeight&&(my(k,S.scroller.scrollTop),ww(k,S.scroller.scrollLeft,!0),vr(k,"scroll",k))}),mi(S.scroller,"mousewheel",function(Ge){return K9(k,Ge)}),mi(S.scroller,"DOMMouseScroll",function(Ge){return K9(k,Ge)}),mi(S.wrapper,"scroll",function(){return S.wrapper.scrollTop=S.wrapper.scrollLeft=0}),S.dragFunctions={enter:function(Ge){Zr(k,Ge)||So(Ge)},over:function(Ge){Zr(k,Ge)||(b_(k,Ge),So(Ge))},start:function(Ge){return nE(k,Ge)},drop:b1(k,m_),leave:function(Ge){Zr(k,Ge)||nx(k)}};var Oe=S.input.getField();mi(Oe,"keyup",function(Ge){return sE.call(k,Ge)}),mi(Oe,"keydown",b1(k,aE)),mi(Oe,"keypress",b1(k,cE)),mi(Oe,"focus",function(Ge){return A4(k,Ge)}),mi(Oe,"blur",function(Ge){return Om(k,Ge)})}vh.defaults=al,vh.optionHandlers=au;var Um=[];function jl(k,S,$,R){var X,pe=k.doc;$==null&&($="add"),$=="smart"&&(pe.mode.indent?X=sa(k,S).state:$="prev");var Ie=k.options.tabSize,Oe=Ei(pe,S),Ge=ht(Oe.text,null,Ie);Oe.stateAfter&&(Oe.stateAfter=null);var Je,Pt=Oe.text.match(/^\s*/)[0];if(R||/\S/.test(Oe.text)){if($=="smart"&&((Je=pe.mode.indent(X,Oe.text.slice(Pt.length),Oe.text))==xt||Je>150)){if(!R)return;$="prev"}}else Je=0,$="not";$=="prev"?Je=S>pe.first?ht(Ei(pe,S-1).text,null,Ie):0:$=="add"?Je=Ge+k.options.indentUnit:$=="subtract"?Je=Ge-k.options.indentUnit:typeof $=="number"&&(Je=Ge+$),Je=Math.max(0,Je);var Dt="",kn=0;if(k.options.indentWithTabs)for(var Nn=Math.floor(Je/Ie);Nn;--Nn)kn+=Ie,Dt+=" ";if(knIe,Ge=qh(S),Je=null;if(Oe&&R.ranges.length>1)if(v1&&v1.text.join(` + left: `+S.left+"px; width: "+Math.max(2,S.right-S.left)+"px;");k.display.lineSpace.appendChild(pe),pe.scrollIntoView(X),k.display.lineSpace.removeChild(pe)}}}function e_(k,S,$,R){var X;R==null&&(R=0),k.options.lineWrapping||S!=$||($=(S=S.ch?ar(S.line,S.sticky=="before"?S.ch-1:S.ch,"after"):S).sticky=="before"?ar(S.line,S.ch+1,"before"):S);for(var pe=0;pe<5;pe++){var Me=!1,Oe=Qf(k,S),Ge=$&&$!=S?Qf(k,$):Oe,Je=pw(k,X={left:Math.min(Oe.left,Ge.left),top:Math.min(Oe.top,Ge.top)-R,right:Math.max(Oe.left,Ge.left),bottom:Math.max(Oe.bottom,Ge.bottom)+R}),Pt=k.doc.scrollTop,Dt=k.doc.scrollLeft;if(Je.scrollTop!=null&&(py(k,Je.scrollTop),Math.abs(k.doc.scrollTop-Pt)>1&&(Me=!0)),Je.scrollLeft!=null&&(bw(k,Je.scrollLeft),Math.abs(k.doc.scrollLeft-Dt)>1&&(Me=!0)),!Me)break}return X}function t_(k,S){var $=pw(k,S);$.scrollTop!=null&&py(k,$.scrollTop),$.scrollLeft!=null&&bw(k,$.scrollLeft)}function pw(k,S){var $=k.display,R=uw(k.display);S.top<0&&(S.top=0);var X=k.curOp&&k.curOp.scrollTop!=null?k.curOp.scrollTop:$.scroller.scrollTop,pe=D6(k),Me={};S.bottom-S.top>pe&&(S.bottom=S.top+pe);var Oe=k.doc.height+sw($),Ge=S.topOe-R;if(S.topX+pe){var Pt=Math.min(S.top,(Je?Oe:S.bottom)-pe);Pt!=X&&(Me.scrollTop=Pt)}var Dt=k.options.fixedGutter?0:$.gutters.offsetWidth,kn=k.curOp&&k.curOp.scrollLeft!=null?k.curOp.scrollLeft:$.scroller.scrollLeft-Dt,Nn=Fb(k)-$.gutters.offsetWidth,rr=S.right-S.left>Nn;return rr&&(S.right=S.left+Nn),S.left<10?Me.scrollLeft=0:S.leftNn+kn-3&&(Me.scrollLeft=S.right+(rr?0:10)-Nn),Me}function U6(k,S){S!=null&&(mw(k),k.curOp.scrollTop=(k.curOp.scrollTop==null?k.doc.scrollTop:k.curOp.scrollTop)+S)}function gy(k){mw(k);var S=k.getCursor();k.curOp.scrollToPos={from:S,to:S,margin:k.options.cursorScrollMargin}}function g4(k,S,$){S==null&&$==null||mw(k),S!=null&&(k.curOp.scrollLeft=S),$!=null&&(k.curOp.scrollTop=$)}function n_(k,S){mw(k),k.curOp.scrollToPos=S}function mw(k){var S=k.curOp.scrollToPos;S&&(k.curOp.scrollToPos=null,I9(k,L7(k,S.from),L7(k,S.to),S.margin))}function I9(k,S,$,R){var X=pw(k,{left:Math.min(S.left,$.left),top:Math.min(S.top,$.top)-R,right:Math.max(S.right,$.right),bottom:Math.max(S.bottom,$.bottom)+R});g4(k,X.scrollLeft,X.scrollTop)}function py(k,S){Math.abs(k.doc.scrollTop-S)<2||(h||$6(k,{top:S}),F9(k,S,!0),h&&$6(k),Vg(k,100))}function F9(k,S,$){S=Math.max(0,Math.min(k.display.scroller.scrollHeight-k.display.scroller.clientHeight,S)),(k.display.scroller.scrollTop!=S||$)&&(k.doc.scrollTop=S,k.display.scrollbars.setScrollTop(S),k.display.scroller.scrollTop!=S&&(k.display.scroller.scrollTop=S))}function bw(k,S,$,R){S=Math.max(0,Math.min(S,k.display.scroller.scrollWidth-k.display.scroller.clientWidth)),($?S==k.doc.scrollLeft:Math.abs(k.doc.scrollLeft-S)<2)&&!R||(k.doc.scrollLeft=S,j6(k),k.display.scroller.scrollLeft!=S&&(k.display.scroller.scrollLeft=S),k.display.scrollbars.setScrollLeft(S))}function p4(k){var S=k.display,$=S.gutters.offsetWidth,R=Math.round(k.doc.height+sw(k.display));return{clientHeight:S.scroller.clientHeight,viewHeight:S.wrapper.clientHeight,scrollWidth:S.scroller.scrollWidth,clientWidth:S.scroller.clientWidth,viewWidth:S.wrapper.clientWidth,barLeft:k.options.fixedGutter?$:0,docHeight:R,scrollHeight:R+Gg(k)+S.barHeight,nativeBarWidth:S.nativeBarWidth,gutterWidth:$}}var ww=function(k,S,$){this.cm=$;var R=this.vert=Ee("div",[Ee("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),X=this.horiz=Ee("div",[Ee("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");R.tabIndex=X.tabIndex=-1,k(R),k(X),mi(R,"scroll",function(){R.clientHeight&&S(R.scrollTop,"vertical")}),mi(X,"scroll",function(){X.clientWidth&&S(X.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,w&&x<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ww.prototype.update=function(k){var S=k.scrollWidth>k.clientWidth+1,$=k.scrollHeight>k.clientHeight+1,R=k.nativeBarWidth;if($){this.vert.style.display="block",this.vert.style.bottom=S?R+"px":"0";var X=k.viewHeight-(S?R:0);this.vert.firstChild.style.height=Math.max(0,k.scrollHeight-k.clientHeight+X)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(S){this.horiz.style.display="block",this.horiz.style.right=$?R+"px":"0",this.horiz.style.left=k.barLeft+"px";var pe=k.viewWidth-k.barLeft-($?R:0);this.horiz.firstChild.style.width=Math.max(0,k.scrollWidth-k.clientWidth+pe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&k.clientHeight>0&&(R==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:$?R:0,bottom:S?R:0}},ww.prototype.setScrollLeft=function(k){this.horiz.scrollLeft!=k&&(this.horiz.scrollLeft=k),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ww.prototype.setScrollTop=function(k){this.vert.scrollTop!=k&&(this.vert.scrollTop=k),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ww.prototype.zeroWidthHack=function(){var k=G&&!z?"12px":"18px";this.horiz.style.height=this.vert.style.width=k,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Rt,this.disableVert=new Rt},ww.prototype.enableZeroWidthBar=function(k,S,$){function R(){var X=k.getBoundingClientRect();($=="vert"?document.elementFromPoint(X.right-1,(X.top+X.bottom)/2):document.elementFromPoint((X.right+X.left)/2,X.bottom-1))!=k?k.style.pointerEvents="none":S.set(1e3,R)}k.style.pointerEvents="auto",S.set(1e3,R)},ww.prototype.clear=function(){var k=this.horiz.parentNode;k.removeChild(this.horiz),k.removeChild(this.vert)};var my=function(){};function Om(k,S){S||(S=p4(k));var $=k.display.barWidth,R=k.display.barHeight;D9(k,S);for(var X=0;X<4&&$!=k.display.barWidth||R!=k.display.barHeight;X++)$!=k.display.barWidth&&k.options.lineWrapping&&dy(k),D9(k,p4(k)),$=k.display.barWidth,R=k.display.barHeight}function D9(k,S){var $=k.display,R=$.scrollbars.update(S);$.sizer.style.paddingRight=($.barWidth=R.right)+"px",$.sizer.style.paddingBottom=($.barHeight=R.bottom)+"px",$.heightForcer.style.borderBottom=R.bottom+"px solid transparent",R.right&&R.bottom?($.scrollbarFiller.style.display="block",$.scrollbarFiller.style.height=R.bottom+"px",$.scrollbarFiller.style.width=R.right+"px"):$.scrollbarFiller.style.display="",R.bottom&&k.options.coverGutterNextToScrollbar&&k.options.fixedGutter?($.gutterFiller.style.display="block",$.gutterFiller.style.height=R.bottom+"px",$.gutterFiller.style.width=S.gutterWidth+"px"):$.gutterFiller.style.display=""}my.prototype.update=function(){return{bottom:0,right:0}},my.prototype.setScrollLeft=function(){},my.prototype.setScrollTop=function(){},my.prototype.clear=function(){};var O9={native:ww,null:my};function vw(k){k.display.scrollbars&&(k.display.scrollbars.clear(),k.display.scrollbars.addClass&&ee(k.display.wrapper,k.display.scrollbars.addClass)),k.display.scrollbars=new O9[k.options.scrollbarStyle](function(S){k.display.wrapper.insertBefore(S,k.display.scrollbarFiller),mi(S,"mousedown",function(){k.state.focused&&setTimeout(function(){return k.display.input.focus()},0)}),S.setAttribute("cm-not-content","true")},function(S,$){$=="horizontal"?bw(k,S):py(k,S)},k),k.display.scrollbars.addClass&&Ye(k.display.wrapper,k.display.scrollbars.addClass)}var r_=0;function yw(k){k.curOp={cm:k,viewChanged:!1,startHeight:k.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:++r_},x9(k.curOp)}function Rb(k){var S=k.curOp;S&&nw(S,function($){for(var R=0;R<$.ops.length;R++)$.ops[R].cm.curOp=null;i_($)})}function i_(k){for(var S=k.ops,$=0;$=$.viewTo)||$.maxLineChanged&&S.options.lineWrapping,k.update=k.mustUpdate&&new b4(S,k.mustUpdate&&{top:k.scrollTop,ensure:k.scrollToPos},k.forceUpdate)}function F7(k){k.updatedDisplay=k.mustUpdate&&H6(k.cm,k.update)}function m4(k){var S=k.cm,$=S.display;k.updatedDisplay&&dy(S),k.barMeasure=p4(S),$.maxLineChanged&&!S.options.lineWrapping&&(k.adjustWidthTo=S7(S,$.maxLine,$.maxLine.text.length).left+3,S.display.sizerWidth=k.adjustWidthTo,k.barMeasure.scrollWidth=Math.max($.scroller.clientWidth,$.sizer.offsetLeft+k.adjustWidthTo+Gg(S)+S.display.barWidth),k.maxScrollLeft=Math.max(0,$.sizer.offsetLeft+k.adjustWidthTo-Fb(S))),(k.updatedDisplay||k.selectionChanged)&&(k.preparedSelection=$.input.prepareSelection())}function o_(k){var S=k.cm;k.adjustWidthTo!=null&&(S.display.sizer.style.minWidth=k.adjustWidthTo+"px",k.maxScrollLeft=k.display.viewTo)){var $=+new Date+k.options.workTime,R=sa(k,S.highlightFrontier),X=[];S.iter(R.line,Math.min(S.first+S.size,k.display.viewTo+500),function(pe){if(R.line>=k.display.viewFrom){var Me=pe.styles,Oe=pe.text.length>k.options.maxHighlightLength?ws(S.mode,R.state):null,Ge=Qr(k,pe,R,!0);Oe&&(R.state=Oe),pe.styles=Ge.styles;var Je=pe.styleClasses,Pt=Ge.classes;Pt?pe.styleClasses=Pt:Je&&(pe.styleClasses=null);for(var Dt=!Me||Me.length!=pe.styles.length||Je!=Pt&&(!Je||!Pt||Je.bgClass!=Pt.bgClass||Je.textClass!=Pt.textClass),kn=0;!Dt&&kn$)return Vg(k,k.options.workDelay),!0}),S.highlightFrontier=R.line,S.modeFrontier=Math.max(S.modeFrontier,R.line),X.length&&zA(k,function(){for(var pe=0;pe=$.viewFrom&&S.visible.to<=$.viewTo&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo)&&$.renderedView==$.view&&M7(k)==0)return!1;Hp(k)&&(KA(k),S.dims=u4(k));var X=R.first+R.size,pe=Math.max(S.visible.from-k.options.viewportMargin,R.first),Me=Math.min(X,S.visible.to+k.options.viewportMargin);$.viewFromMe&&$.viewTo-Me<20&&(Me=Math.min(X,$.viewTo)),Ic&&(pe=La(k.doc,pe),Me=Yc(k.doc,Me));var Oe=pe!=$.viewFrom||Me!=$.viewTo||$.lastWrapHeight!=S.wrapperHeight||$.lastWrapWidth!=S.wrapperWidth;JB(k,pe,Me),$.viewOffset=Uh(Ei(k.doc,$.viewFrom)),k.display.mover.style.top=$.viewOffset+"px";var Ge=M7(k);if(!Oe&&Ge==0&&!S.force&&$.renderedView==$.view&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo))return!1;var Je=R9(k);return Ge>4&&($.lineDiv.style.display="none"),U9(k,$.updateLineNumbers,S.dims),Ge>4&&($.lineDiv.style.display=""),$.renderedView=$.view,Nm(Je),ye($.cursorDiv),ye($.selectionDiv),$.gutters.style.height=$.sizer.style.minHeight=0,Oe&&($.lastWrapHeight=S.wrapperHeight,$.lastWrapWidth=S.wrapperWidth,Vg(k,400)),$.updateLineNumbers=null,!0}function D7(k,S){for(var $=S.viewport,R=!0;;R=!1){if(R&&k.options.lineWrapping&&S.oldDisplayWidth!=Fb(k))R&&(S.visible=A4(k.display,k.doc,$));else if($&&$.top!=null&&($={top:Math.min(k.doc.height+sw(k.display)-D6(k),$.top)}),S.visible=A4(k.display,k.doc,$),S.visible.from>=k.display.viewFrom&&S.visible.to<=k.display.viewTo)break;if(!H6(k,S))break;dy(k);var X=p4(k);fy(k),Om(k,X),Ub(k,X),S.force=!1}S.signal(k,"update",k),k.display.viewFrom==k.display.reportedViewFrom&&k.display.viewTo==k.display.reportedViewTo||(S.signal(k,"viewportChange",k,k.display.viewFrom,k.display.viewTo),k.display.reportedViewFrom=k.display.viewFrom,k.display.reportedViewTo=k.display.viewTo)}function $6(k,S){var $=new b4(k,S);if(H6(k,$)){dy(k),D7(k,$);var R=p4(k);fy(k),Om(k,R),Ub(k,R),$.finish()}}function U9(k,S,$){var R=k.display,X=k.options.lineNumbers,pe=R.lineDiv,Me=pe.firstChild;function Oe(rr){var Hr=rr.nextSibling;return C&&G&&k.display.currentWheelTarget==rr?rr.style.display="none":rr.parentNode.removeChild(rr),Hr}for(var Ge=R.view,Je=R.viewFrom,Pt=0;Pt-1&&(kn=!1),cy(k,Dt,Je,$)),kn&&(ye(Dt.lineNumber),Dt.lineNumber.appendChild(document.createTextNode(ts(k.options,Je)))),Me=Dt.node.nextSibling}else{var Nn=_7(k,Dt,Je,$);pe.insertBefore(Nn,Me)}Je+=Dt.size}for(;Me;)Me=Oe(Me)}function O7(k){var S=k.gutters.offsetWidth;k.sizer.style.marginLeft=S+"px"}function Ub(k,S){k.display.sizer.style.minHeight=S.docHeight+"px",k.display.heightForcer.style.top=S.docHeight+"px",k.display.gutters.style.height=S.docHeight+k.display.barHeight+Gg(k)+"px"}function j6(k){var S=k.display,$=S.view;if(S.alignWidgets||S.gutters.firstChild&&k.options.fixedGutter){for(var R=R6(S)-S.scroller.scrollLeft+k.doc.scrollLeft,X=S.gutters.offsetWidth,pe=R+"px",Me=0;Me<$.length;Me++)if(!$[Me].hidden){k.options.fixedGutter&&($[Me].gutter&&($[Me].gutter.style.left=pe),$[Me].gutterBackground&&($[Me].gutterBackground.style.left=pe));var Oe=$[Me].alignable;if(Oe)for(var Ge=0;GeMe.clientWidth,Ge=Me.scrollHeight>Me.clientHeight;if(R&&Oe||X&&Ge){if(X&&G&&C){e:for(var Je=S.target,Pt=pe.view;Je!=Me;Je=Je.parentNode)for(var Dt=0;Dt=0&&Br(k,R.to())<=0)return $}return-1};var $l=function(k,S){this.anchor=k,this.head=S};function Wg(k,S,$){var R=k&&k.options.selectionsMayTouch,X=S[$];S.sort(function(kn,Nn){return Br(kn.from(),Nn.from())}),$=Et(S,X);for(var pe=1;pe0:Ge>=0){var Je=yn(Oe.from(),Me.from()),Pt=Ph(Oe.to(),Me.to()),Dt=Oe.empty()?Me.from()==Me.head:Oe.from()==Oe.head;pe<=$&&--$,S.splice(--pe,2,new $l(Dt?Pt:Je,Dt?Je:Pt))}}return new S0(S,$)}function $b(k,S){return new S0([new $l(k,S||k)],0)}function jb(k){return k.text?ar(k.from.line+k.text.length-1,Ke(k.text).length+(k.text.length==1?k.from.ch:0)):k.to}function Af(k,S){if(Br(k,S.from)<0)return k;if(Br(k,S.to)<=0)return jb(S);var $=k.line+S.text.length-(S.to.line-S.from.line)-1,R=k.ch;return k.line==S.to.line&&(R+=jb(S).ch-S.to.ch),ar($,R)}function z6(k,S){for(var $=[],R=0;R1&&k.remove(Oe.line+1,rr-1),k.insert(Oe.line+1,ur)}Jc(k,"change",k,S)}function Kb(k,S,$){function R(X,pe,Me){if(X.linked)for(var Oe=0;Oe1&&!k.done[k.done.length-2].ranges?(k.done.pop(),Ke(k.done)):void 0}function R7(k,S,$,R){var X=k.history;X.undone.length=0;var pe,Me,Oe=+new Date;if((X.lastOp==R||X.lastOrigin==S.origin&&S.origin&&(S.origin.charAt(0)=="+"&&X.lastModTime>Oe-(k.cm?k.cm.options.historyEventDelay:500)||S.origin.charAt(0)=="*"))&&(pe=h_(X,X.lastOp==R)))Me=Ke(pe.changes),Br(S.from,S.to)==0&&Br(S.from,Me.to)==0?Me.to=jb(S):pe.changes.push(v4(k,S));else{var Ge=Ke(X.done);for(Ge&&Ge.ranges||W6(k.sel,X.done),pe={changes:[v4(k,S)],generation:X.generation},X.done.push(pe);X.done.length>X.undoDepth;)X.done.shift(),X.done[0].ranges||X.done.shift()}X.done.push($),X.generation=++X.maxGeneration,X.lastModTime=X.lastSelTime=Oe,X.lastOp=X.lastSelOp=R,X.lastOrigin=X.lastSelOrigin=S.origin,Me||vr(k,"historyAdded")}function V6(k,S,$,R){var X=S.charAt(0);return X=="*"||X=="+"&&$.ranges.length==R.ranges.length&&$.somethingSelected()==R.somethingSelected()&&new Date-k.history.lastSelTime<=(k.cm?k.cm.options.historyEventDelay:500)}function $p(k,S,$,R){var X=k.history,pe=R&&R.origin;$==X.lastSelOp||pe&&X.lastSelOrigin==pe&&(X.lastModTime==X.lastSelTime&&X.lastOrigin==pe||V6(k,pe,Ke(X.done),S))?X.done[X.done.length-1]=S:W6(S,X.done),X.lastSelTime=+new Date,X.lastSelOrigin=pe,X.lastSelOp=$,R&&R.clearRedo!==!1&&to(X.undone)}function W6(k,S){var $=Ke(S);$&&$.ranges&&$.equals(k)||S.push(k)}function y4(k,S,$,R){var X=S["spans_"+k.id],pe=0;k.iter(Math.max(k.first,$),Math.min(k.first+k.size,R),function(Me){Me.markedSpans&&((X||(X=S["spans_"+k.id]={}))[pe]=Me.markedSpans),++pe})}function x4(k){if(!k)return null;for(var S,$=0;$-1&&(Ke(Oe)[Dt]=Je[Dt],delete Je[Dt])}}}return R}function U7(k,S,$,R){if(R){var X=k.anchor;if($){var pe=Br(S,X)<0;pe!=Br($,X)<0?(X=S,S=$):pe!=Br(S,$)<0&&(S=$)}return new $l(X,S)}return new $l($||S,S)}function jp(k,S,$,R,X){X==null&&(X=k.cm&&(k.cm.display.shift||k.extend)),id(k,new S0([U7(k.sel.primary(),S,$,X)],0),R)}function k4(k,S,$){for(var R=[],X=k.cm&&(k.cm.display.shift||k.extend),pe=0;pe=S.ch:Oe.to>S.ch))){if(X&&(vr(Ge,"beforeCursorEnter"),Ge.explicitlyCleared)){if(pe.markedSpans){--Me;continue}break}if(!Ge.atomic)continue;if($){var Dt=Ge.find(R<0?1:-1),kn=void 0;if((R<0?Pt:Je)&&(Dt=xw(k,Dt,-R,Dt&&Dt.line==S.line?pe:null)),Dt&&Dt.line==S.line&&(kn=Br(Dt,$))&&(R<0?kn<0:kn>0))return wy(k,Dt,S,R,X)}var Nn=Ge.find(R<0?-1:1);return(R<0?Je:Pt)&&(Nn=xw(k,Nn,R,Nn.line==S.line?pe:null)),Nn?wy(k,Nn,S,R,X):null}}return S}function E4(k,S,$,R,X){var pe=R||1,Me=wy(k,S,$,pe,X)||!X&&wy(k,S,$,pe,!0)||wy(k,S,$,-pe,X)||!X&&wy(k,S,$,-pe,!0);return Me||(k.cantEdit=!0,ar(k.first,0))}function xw(k,S,$,R){return $<0&&S.ch==0?S.line>k.first?co(k,ar(S.line-1)):null:$>0&&S.ch==(R||Ei(k,S.line)).text.length?S.line=0;--X)Y6(k,{from:R[X].from,to:R[X].to,text:X?[""]:S.text,origin:S.origin});else Y6(k,S)}}function Y6(k,S){if(S.text.length!=1||S.text[0]!=""||Br(S.from,S.to)!=0){var $=z6(k,S);R7(k,S,$,k.cm?k.cm.curOp.id:NaN),Qm(k,S,$,td(k,S));var R=[];Kb(k,function(X,pe){pe||Et(R,X.history)!=-1||(z7(X.history,S),R.push(X.history)),Qm(X,S,null,td(X,S))})}}function kw(k,S,$){var R=k.cm&&k.cm.state.suppressEdits;if(!R||$){for(var X,pe=k.history,Me=k.sel,Oe=S=="undo"?pe.done:pe.undone,Ge=S=="undo"?pe.undone:pe.done,Je=0;Je=0;--Nn){var rr=kn(Nn);if(rr)return rr.v}}}}function K7(k,S){if(S!=0&&(k.first+=S,k.sel=new S0(mn(k.sel.ranges,function(X){return new $l(ar(X.anchor.line+S,X.anchor.ch),ar(X.head.line+S,X.head.ch))}),k.sel.primIndex),k.cm)){rd(k.cm,k.first,k.first-S,S);for(var $=k.cm.display,R=$.viewFrom;R<$.viewTo;R++)Nb(k.cm,R,"gutter")}}function Qm(k,S,$,R){if(k.cm&&!k.cm.curOp)return b1(k.cm,Qm)(k,S,$,R);if(S.to.linek.lastLine())){if(S.from.linepe&&(S={from:S.from,to:ar(pe,Ei(k,pe).text.length),text:[S.text[0]],origin:S.origin}),S.removed=Nh(k,S.from,S.to),$||($=z6(k,S)),k.cm?f_(k.cm,S,R):P7(k,S,R),q6(k,$,on),k.cantEdit&&E4(k,ar(k.firstLine(),0))&&(k.cantEdit=!1)}}function f_(k,S,$){var R=k.doc,X=k.display,pe=S.from,Me=S.to,Oe=!1,Ge=pe.line;k.options.lineWrapping||(Ge=Rs(aA(Ei(R,pe.line))),R.iter(Ge,Me.line+1,function(Nn){if(Nn==X.maxLine)return Oe=!0,!0})),R.sel.contains(S.from,S.to)>-1&&Ir(k),P7(R,S,$,S9(k)),k.options.lineWrapping||(R.iter(Ge,pe.line+S.text.length,function(Nn){var rr=Pp(Nn);rr>X.maxLineLength&&(X.maxLine=Nn,X.maxLineLength=rr,X.maxLineChanged=!0,Oe=!1)}),Oe&&(k.curOp.updateMaxLine=!0)),n1(R,pe.line),Vg(k,400);var Je=S.text.length-(Me.line-pe.line)-1;S.full?rd(k):pe.line!=Me.line||S.text.length!=1||X6(k.doc,S)?rd(k,pe.line,Me.line+1,Je):Nb(k,pe.line,"text");var Pt=oa(k,"changes"),Dt=oa(k,"change");if(Dt||Pt){var kn={from:pe,to:Me,text:S.text,removed:S.removed,origin:S.origin};Dt&&Jc(k,"change",k,kn),Pt&&(k.curOp.changeObjs||(k.curOp.changeObjs=[])).push(kn)}k.display.selForContextMenu=null}function Cw(k,S,$,R,X){var pe;R||(R=$),Br(R,$)<0&&($=(pe=[R,$])[0],R=pe[1]),typeof S=="string"&&(S=k.splitLines(S)),xy(k,{from:$,to:R,text:S,origin:X})}function J6(k,S,$,R){$1||!(this.children[0]instanceof Cy))){var Oe=[];this.collapse(Oe),this.children=[new Cy(Oe)],this.children[0].parent=this}},collapse:function(k){for(var S=0;S50){for(var Me=X.lines.length%25+25,Oe=Me;Oe10);k.parent.maybeSpill()}},iterN:function(k,S,$){for(var R=0;R0||Me==0&&pe.clearWhenEmpty!==!1)return pe;if(pe.replacedWith&&(pe.collapsed=!0,pe.widgetNode=fe("span",[pe.replacedWith],"CodeMirror-widget"),R.handleMouseEvents||pe.widgetNode.setAttribute("cm-ignore-events","true"),R.insertLeft&&(pe.widgetNode.insertLeft=!0)),pe.collapsed){if(Rh(k,S.line,S,$,pe)||S.line!=$.line&&Rh(k,$.line,S,$,pe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Im()}pe.addToHistory&&R7(k,{from:S,to:$,origin:"markText"},k.sel,NaN);var Oe,Ge=S.line,Je=k.cm;if(k.iter(Ge,$.line+1,function(Dt){Je&&pe.collapsed&&!Je.options.lineWrapping&&aA(Dt)==Je.display.maxLine&&(Oe=!0),pe.collapsed&&Ge!=S.line&&Qh(Dt,0),r1(Dt,new ff(pe,Ge==S.line?S.ch:null,Ge==$.line?$.ch:null)),++Ge}),pe.collapsed&&k.iter(S.line,$.line+1,function(Dt){Hl(k,Dt)&&Qh(Dt,0)}),pe.clearOnEnter&&mi(pe,"beforeCursorEnter",function(){return pe.clear()}),pe.readOnly&&(nc(),(k.history.done.length||k.history.undone.length)&&k.clearHistory()),pe.collapsed&&(pe.id=++J9,pe.atomic=!0),Je){if(Oe&&(Je.curOp.updateMaxLine=!0),pe.collapsed)rd(Je,S.line,$.line+1);else if(pe.className||pe.startStyle||pe.endStyle||pe.css||pe.attributes||pe.title)for(var Pt=S.line;Pt<=$.line;Pt++)Nb(Je,Pt,"text");pe.atomic&&W9(Je.doc),Jc(Je,"markerAdded",Je,pe)}return pe}w1.prototype.clear=function(){if(!this.explicitlyCleared){var k=this.doc.cm,S=k&&!k.curOp;if(S&&yw(k),oa(this,"clear")){var $=this.find();$&&Jc(this,"clear",$.from,$.to)}for(var R=null,X=null,pe=0;pek.display.maxLineLength&&(k.display.maxLine=Je,k.display.maxLineLength=Pt,k.display.maxLineChanged=!0)}R!=null&&k&&this.collapsed&&rd(k,R,X+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,k&&W9(k.doc)),k&&Jc(k,"markerCleared",k,this,R,X),S&&Rb(k),this.parent&&this.parent.clear()}},w1.prototype.find=function(k,S){var $,R;k==null&&this.type=="bookmark"&&(k=1);for(var X=0;X=0;Ge--)xy(this,R[Ge]);Oe?V9(this,Oe):this.cm&&gy(this.cm)}),undo:df(function(){kw(this,"undo")}),redo:df(function(){kw(this,"redo")}),undoSelection:df(function(){kw(this,"undo",!0)}),redoSelection:df(function(){kw(this,"redo",!0)}),setExtending:function(k){this.extend=k},getExtending:function(){return this.extend},historySize:function(){for(var k=this.history,S=0,$=0,R=0;R=k.ch)&&S.push(X.marker.parent||X.marker)}return S},findMarks:function(k,S,$){k=co(this,k),S=co(this,S);var R=[],X=k.line;return this.iter(k.line,S.line+1,function(pe){var Me=pe.markedSpans;if(Me)for(var Oe=0;Oe=Ge.to||Ge.from==null&&X!=k.line||Ge.from!=null&&X==S.line&&Ge.from>=S.ch||$&&!$(Ge.marker)||R.push(Ge.marker.parent||Ge.marker)}++X}),R},getAllMarks:function(){var k=[];return this.iter(function(S){var $=S.markedSpans;if($)for(var R=0;R<$.length;++R)$[R].from!=null&&k.push($[R].marker)}),k},posFromIndex:function(k){var S,$=this.first,R=this.lineSeparator().length;return this.iter(function(X){var pe=X.text.length+R;if(pe>k)return S=k,!0;k-=pe,++$}),co(this,ar($,S))},indexFromPos:function(k){var S=(k=co(this,k)).ch;if(k.lineS&&(S=k.from),k.to!=null&&k.to<$&&($=k.to);var R=new sA(iu(this,S,$),k.mode||this.modeOption,S,this.lineSep,this.direction);return k.sharedHist&&(R.history=this.history),(this.linked||(this.linked=[])).push({doc:R,sharedHist:k.sharedHist}),R.linked=[{doc:this,isParent:!0,sharedHist:k.sharedHist}],A_(R,Z9(this)),R},unlinkDoc:function(k){if(k instanceof vh&&(k=k.doc),this.linked){for(var S=0;S-1)return S.state.draggingText(k),void setTimeout(function(){return S.display.input.focus()},20);try{var Pt=k.dataTransfer.getData("Text");if(Pt){var Dt;if(S.state.draggingText&&!S.state.draggingText.copy&&(Dt=S.listSelections()),q6(S.doc,$b($,$)),Dt)for(var kn=0;kn=0;Oe--)Cw(k.doc,"",R[Oe].from,R[Oe].to,"+delete");gy(k)})}function S4(k,S,$){var R=Hn(k.text,S+$,$);return R<0||R>k.text.length?null:R}function _y(k,S,$){var R=S4(k,S.ch,$);return R==null?null:new ar(S.line,R,$<0?"after":"before")}function V7(k,S,$,R,X){if(k){S.doc.direction=="rtl"&&(X=-X);var pe=ro($,S.doc.direction);if(pe){var Me,Oe=X<0?Ke(pe):pe[0],Ge=X<0==(Oe.level==1)?"after":"before";if(Oe.level>0||S.doc.direction=="rtl"){var Je=$A(S,$);Me=X<0?$.text.length-1:0;var Pt=nd(S,Je,Me).top;Me=$t(function(Dt){return nd(S,Je,Dt).top==Pt},X<0==(Oe.level==1)?Oe.from:Oe.to-1,Me),Ge=="before"&&(Me=S4($,Me,1))}else Me=X<0?Oe.to:Oe.from;return new ar(R,Me,Ge)}}return new ar(R,X<0?$.text.length:0,X<0?"before":"after")}function y_(k,S,$,R){var X=ro(S,k.doc.direction);if(!X)return _y(S,$,R);$.ch>=S.text.length?($.ch=S.text.length,$.sticky="before"):$.ch<=0&&($.ch=0,$.sticky="after");var pe=ti(X,$.ch,$.sticky),Me=X[pe];if(k.doc.direction=="ltr"&&Me.level%2==0&&(R>0?Me.to>$.ch:Me.from<$.ch))return _y(S,$,R);var Oe,Ge=function(ur,Fa){return S4(S,ur instanceof ar?ur.ch:ur,Fa)},Je=function(ur){return k.options.lineWrapping?(Oe=Oe||$A(k,S),lw(k,S,Oe,ur)):{begin:0,end:S.text.length}},Pt=Je($.sticky=="before"?Ge($,-1):$.ch);if(k.doc.direction=="rtl"||Me.level==1){var Dt=Me.level==1==R<0,kn=Ge($,Dt?1:-1);if(kn!=null&&(Dt?kn<=Me.to&&kn<=Pt.end:kn>=Me.from&&kn>=Pt.begin)){var Nn=Dt?"before":"after";return new ar($.line,kn,Nn)}}var rr=function(ur,Fa,ji){for(var Na=function(Tl,P1){return P1?new ar($.line,Ge(Tl,1),"before"):new ar($.line,Tl,"after")};ur>=0&&ur0==(so.level!=1),El=Aa?ji.begin:Ge(ji.end,-1);if(so.from<=El&&El0?Pt.end:Ge(Pt.begin,-1);return fi==null||R>0&&fi==S.text.length||!(Hr=rr(R>0?0:X.length-1,R,Je(fi)))?null:Hr}Pm.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"},Pm.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"},Pm.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"},Pm.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"]},Pm.default=G?Pm.macDefault:Pm.pcDefault;var Sy={selectAll:vy,singleSelection:function(k){return k.setSelection(k.getCursor("anchor"),k.getCursor("head"),on)},killLine:function(k){return Gb(k,function(S){if(S.empty()){var $=Ei(k.doc,S.head.line).text.length;return S.head.ch==$&&S.head.line0)X=new ar(X.line,X.ch+1),k.replaceRange(pe.charAt(X.ch-1)+pe.charAt(X.ch-2),ar(X.line,X.ch-2),X,"+transpose");else if(X.line>k.doc.first){var Me=Ei(k.doc,X.line-1).text;Me&&(X=new ar(X.line,1),k.replaceRange(pe.charAt(0)+k.doc.lineSeparator()+Me.charAt(Me.length-1),ar(X.line-1,Me.length-1),X,"+transpose"))}}$.push(new $l(X,X))}k.setSelections($)})},newlineAndIndent:function(k){return zA(k,function(){for(var S=k.listSelections(),$=S.length-1;$>=0;$--)k.replaceRange(k.doc.lineSeparator(),S[$].anchor,S[$].head,"+input");S=k.listSelections();for(var R=0;R-1&&(Br((X=Me.ranges[X]).from(),S)<0||S.xRel>0)&&(Br(X.to(),S)>0||S.xRel<0)?J7(k,R,S,pe):hE(k,R,S,pe)}function J7(k,S,$,R){var X=k.display,pe=!1,Me=b1(k,function(Je){C&&(X.scroller.draggable=!1),k.state.draggingText=!1,lr(X.wrapper.ownerDocument,"mouseup",Me),lr(X.wrapper.ownerDocument,"mousemove",Oe),lr(X.scroller,"dragstart",Ge),lr(X.scroller,"drop",Me),pe||(Xo(Je),R.addNew||jp(k.doc,$,null,null,R.extend),C&&!P||w&&x==9?setTimeout(function(){X.wrapper.ownerDocument.body.focus({preventScroll:!0}),X.input.focus()},20):X.input.focus())}),Oe=function(Je){pe=pe||Math.abs(S.clientX-Je.clientX)+Math.abs(S.clientY-Je.clientY)>=10},Ge=function(){return pe=!0};C&&(X.scroller.draggable=!0),k.state.draggingText=Me,Me.copy=!R.moveOnDrag,X.scroller.dragDrop&&X.scroller.dragDrop(),mi(X.wrapper.ownerDocument,"mouseup",Me),mi(X.wrapper.ownerDocument,"mousemove",Oe),mi(X.scroller,"dragstart",Ge),mi(X.scroller,"drop",Me),M9(k),setTimeout(function(){return X.input.focus()},20)}function Z7(k,S,$){if($=="char")return new $l(S,S);if($=="word")return k.findWordAt(S);if($=="line")return new $l(ar(S.line,0),co(k.doc,ar(S.line+1,0)));var R=$(k,S);return new $l(R.from,R.to)}function hE(k,S,$,R){var X=k.display,pe=k.doc;Xo(S);var Me,Oe,Ge=pe.sel,Je=Ge.ranges;if(R.addNew&&!R.extend?(Oe=pe.sel.contains($),Me=Oe>-1?Je[Oe]:new $l($,$)):(Me=pe.sel.primary(),Oe=pe.sel.primIndex),R.unit=="rectangle")R.addNew||(Me=new $l($,$)),$=dw(k,S,!0,!0),Oe=-1;else{var Pt=Z7(k,$,R.unit);Me=R.extend?U7(Me,Pt.anchor,Pt.head,R.extend):Pt}R.addNew?Oe==-1?(Oe=Je.length,id(pe,Wg(k,Je.concat([Me]),Oe),{scroll:!1,origin:"*mouse"})):Je.length>1&&Je[Oe].empty()&&R.unit=="char"&&!R.extend?(id(pe,Wg(k,Je.slice(0,Oe).concat(Je.slice(Oe+1)),0),{scroll:!1,origin:"*mouse"}),Ge=pe.sel):C4(pe,Oe,Me,Kt):(Oe=0,id(pe,new S0([Me],0),Kt),Ge=pe.sel);var Dt=$;function kn(ji){if(Br(Dt,ji)!=0)if(Dt=ji,R.unit=="rectangle"){for(var Na=[],so=k.options.tabSize,Aa=ht(Ei(pe,$.line).text,$.ch,so),El=ht(Ei(pe,ji.line).text,ji.ch,so),Tl=Math.min(Aa,El),P1=Math.max(Aa,El),th=Math.min($.line,ji.line),y1=Math.min(k.lastLine(),Math.max($.line,ji.line));th<=y1;th++){var R1=Ei(pe,th).text,Jh=Vt(R1,Tl,so);Tl==P1?Na.push(new $l(ar(th,Jh),ar(th,Jh))):R1.length>Jh&&Na.push(new $l(ar(th,Jh),ar(th,Vt(R1,P1,so))))}Na.length||Na.push(new $l($,$)),id(pe,Wg(k,Ge.ranges.slice(0,Oe).concat(Na),Oe),{origin:"*mouse",scroll:!1}),k.scrollIntoView(ji)}else{var ad,Od=Me,Xu=Z7(k,ji,R.unit),Hh=Od.anchor;Br(Xu.anchor,Hh)>0?(ad=Xu.head,Hh=yn(Od.from(),Xu.anchor)):(ad=Xu.anchor,Hh=Ph(Od.to(),Xu.head));var gf=Ge.ranges.slice(0);gf[Oe]=ek(k,new $l(co(pe,Hh),ad)),id(pe,Wg(k,gf,Oe),Kt)}}var Nn=X.wrapper.getBoundingClientRect(),rr=0;function Hr(ji){var Na=++rr,so=dw(k,ji,!0,R.unit=="rectangle");if(so)if(Br(so,Dt)!=0){k.curOp.focus=$e(),kn(so);var Aa=A4(X,pe);(so.line>=Aa.to||so.lineNn.bottom?20:0;El&&setTimeout(b1(k,function(){rr==Na&&(X.scroller.scrollTop+=El,Hr(ji))}),50)}}function fi(ji){k.state.selectingText=!1,rr=1/0,ji&&(Xo(ji),X.input.focus()),lr(X.wrapper.ownerDocument,"mousemove",ur),lr(X.wrapper.ownerDocument,"mouseup",Fa),pe.history.lastSelOrigin=null}var ur=b1(k,function(ji){ji.buttons!==0&&Ba(ji)?Hr(ji):fi(ji)}),Fa=b1(k,fi);k.state.selectingText=Fa,mi(X.wrapper.ownerDocument,"mousemove",ur),mi(X.wrapper.ownerDocument,"mouseup",Fa)}function ek(k,S){var $=S.anchor,R=S.head,X=Ei(k.doc,$.line);if(Br($,R)==0&&$.sticky==R.sticky)return S;var pe=ro(X);if(!pe)return S;var Me=ti(pe,$.ch,$.sticky),Oe=pe[Me];if(Oe.from!=$.ch&&Oe.to!=$.ch)return S;var Ge,Je=Me+(Oe.from==$.ch==(Oe.level!=1)?0:1);if(Je==0||Je==pe.length)return S;if(R.line!=$.line)Ge=(R.line-$.line)*(k.doc.direction=="ltr"?1:-1)>0;else{var Pt=ti(pe,R.ch,R.sticky),Dt=Pt-Me||(R.ch-$.ch)*(Oe.level==1?-1:1);Ge=Pt==Je-1||Pt==Je?Dt<0:Dt>0}var kn=pe[Je+(Ge?-1:0)],Nn=Ge==(kn.level==1),rr=Nn?kn.from:kn.to,Hr=Nn?"after":"before";return $.ch==rr&&$.sticky==Hr?S:new $l(new ar($.line,rr,Hr),R)}function tk(k,S,$,R){var X,pe;if(S.touches)X=S.touches[0].clientX,pe=S.touches[0].clientY;else try{X=S.clientX,pe=S.clientY}catch{return!1}if(X>=Math.floor(k.display.gutters.getBoundingClientRect().right))return!1;R&&Xo(S);var Me=k.display,Oe=Me.lineDiv.getBoundingClientRect();if(pe>Oe.bottom||!oa(k,$))return Ya(S);pe-=Oe.top-Me.viewOffset;for(var Ge=0;Ge=X)return vr(k,$,k,ju(k.doc,pe),k.display.gutterSpecs[Ge].className,S),Ya(S)}}function cx(k,S){return tk(k,S,"gutterClick",!0)}function fE(k,S){ag(k.display,S)||Cl(k,S)||Zr(k,S,"contextmenu")||le||k.display.input.onContextMenu(S)}function Cl(k,S){return!!oa(k,"gutterContextMenu")&&tk(k,S,"gutterContextMenu",!1)}function L4(k){k.display.wrapper.className=k.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+k.options.theme.replace(/(^|\s)\s*/g," cm-s-"),jA(k)}Iy.prototype.compare=function(k,S,$){return this.time+Y7>k&&Br(S,this.pos)==0&&$==this.button};var Xp={toString:function(){return"CodeMirror.Init"}},al={},au={};function oo(k){var S=k.optionHandlers;function $(R,X,pe,Me){k.defaults[R]=X,pe&&(S[R]=Me?function(Oe,Ge,Je){Je!=Xp&&pe(Oe,Ge,Je)}:pe)}k.defineOption=$,k.Init=Xp,$("value","",function(R,X){return R.setValue(X)},!0),$("mode",null,function(R,X){R.doc.modeOption=X,Q7(R)},!0),$("indentUnit",2,Q7,!0),$("indentWithTabs",!1),$("smartIndent",!0),$("tabSize",4,function(R){w4(R),jA(R),rd(R)},!0),$("lineSeparator",null,function(R,X){if(R.doc.lineSep=X,X){var pe=[],Me=R.doc.first;R.doc.iter(function(Ge){for(var Je=0;;){var Pt=Ge.text.indexOf(X,Je);if(Pt==-1)break;Je=Pt+X.length,pe.push(ar(Me,Pt))}Me++});for(var Oe=pe.length-1;Oe>=0;Oe--)Cw(R.doc,X,pe[Oe],ar(pe[Oe].line,pe[Oe].ch+X.length))}}),$("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(R,X,pe){R.state.specialChars=new RegExp(X.source+(X.test(" ")?"":"| "),"g"),pe!=Xp&&R.refresh()}),$("specialCharPlaceholder",w9,function(R){return R.refresh()},!0),$("electricChars",!0),$("inputStyle",oe?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),$("spellcheck",!1,function(R,X){return R.getInputField().spellcheck=X},!0),$("autocorrect",!1,function(R,X){return R.getInputField().autocorrect=X},!0),$("autocapitalize",!1,function(R,X){return R.getInputField().autocapitalize=X},!0),$("rtlMoveVisually",!ne),$("wholeLineUpdateBefore",!0),$("theme","default",function(R){L4(R),Hb(R)},!0),$("keyMap","default",function(R,X,pe){var Me=_4(X),Oe=pe!=Xp&&_4(pe);Oe&&Oe.detach&&Oe.detach(R,Me),Me.attach&&Me.attach(R,Oe||null)}),$("extraKeys",null),$("configureMouse",null),$("lineWrapping",!1,k_,!0),$("gutters",[],function(R,X){R.display.gutterSpecs=N7(X,R.options.lineNumbers),Hb(R)},!0),$("fixedGutter",!0,function(R,X){R.display.gutters.style.left=X?R6(R.display)+"px":"0",R.refresh()},!0),$("coverGutterNextToScrollbar",!1,function(R){return Om(R)},!0),$("scrollbarStyle","native",function(R){vw(R),Om(R),R.display.scrollbars.setScrollTop(R.doc.scrollTop),R.display.scrollbars.setScrollLeft(R.doc.scrollLeft)},!0),$("lineNumbers",!1,function(R,X){R.display.gutterSpecs=N7(R.options.gutters,X),Hb(R)},!0),$("firstLineNumber",1,Hb,!0),$("lineNumberFormatter",function(R){return R},Hb,!0),$("showCursorWhenSelecting",!1,fy,!0),$("resetSelectionOnContextMenu",!0),$("lineWiseCopyCut",!0),$("pasteLinesPerSelection",!0),$("selectionsMayTouch",!1),$("readOnly",!1,function(R,X){X=="nocursor"&&(Dm(R),R.display.input.blur()),R.display.input.readOnlyChanged(X)}),$("screenReaderLabel",null,function(R,X){X=X===""?null:X,R.display.input.screenReaderLabelChanged(X)}),$("disableInput",!1,function(R,X){X||R.display.input.reset()},!0),$("dragDrop",!0,lx),$("allowDropFileTypes",null),$("cursorBlinkRate",530),$("cursorScrollMargin",0),$("cursorHeight",1,fy,!0),$("singleCursorHeightPerLine",!0,fy,!0),$("workTime",100),$("workDelay",100),$("flattenSpans",!0,w4,!0),$("addModeClass",!1,w4,!0),$("pollInterval",100),$("undoDepth",200,function(R,X){return R.doc.history.undoDepth=X}),$("historyEventDelay",1250),$("viewportMargin",10,function(R){return R.refresh()},!0),$("maxHighlightLength",1e4,w4,!0),$("moveInputWithCursor",!0,function(R,X){X||R.display.input.resetPosition()}),$("tabindex",null,function(R,X){return R.display.input.getField().tabIndex=X||""}),$("autofocus",null),$("direction","ltr",function(R,X){return R.doc.setDirection(X)},!0),$("phrases",null)}function lx(k,S,$){if(!S!=!($&&$!=Xp)){var R=k.display.dragFunctions,X=S?mi:lr;X(k.display.scroller,"dragstart",R.start),X(k.display.scroller,"dragenter",R.enter),X(k.display.scroller,"dragover",R.over),X(k.display.scroller,"dragleave",R.leave),X(k.display.scroller,"drop",R.drop)}}function k_(k){k.options.lineWrapping?(Ye(k.display.wrapper,"CodeMirror-wrap"),k.display.sizer.style.minWidth="",k.display.sizerWidth=null):(ee(k.display.wrapper,"CodeMirror-wrap"),T0(k)),fw(k),rd(k),jA(k),setTimeout(function(){return Om(k)},100)}function vh(k,S){var $=this;if(!(this instanceof vh))return new vh(k,S);this.options=S=S?Le(S):{},Le(al,S,!1);var R=S.value;typeof R=="string"?R=new sA(R,S.mode,null,S.lineSeparator,S.direction):S.mode&&(R.modeOption=S.mode),this.doc=R;var X=new vh.inputStyles[S.inputStyle](this),pe=this.display=new s_(k,R,X,S);for(var Me in pe.wrapper.CodeMirror=this,L4(this),S.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vw(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 Rt,keySeq:null,specialChars:null},S.autofocus&&!oe&&pe.input.focus(),w&&x<11&&setTimeout(function(){return $.display.input.reset(!0)},20),Fy(this),Kp(),yw(this),this.curOp.forceUpdate=!0,z9(this,R),S.autofocus&&!oe||this.hasFocus()?setTimeout(function(){$.hasFocus()&&!$.state.focused&&d4($)},20):Dm(this),au)au.hasOwnProperty(Me)&&au[Me](this,S[Me],Xp);Hp(this),S.finishInit&&S.finishInit(this);for(var Oe=0;Oe400}mi(S.scroller,"touchstart",function(Ge){if(!Zr(k,Ge)&&!pe(Ge)&&!cx(k,Ge)){S.input.ensurePolled(),clearTimeout($);var Je=+new Date;S.activeTouch={start:Je,moved:!1,prev:Je-R.end<=300?R:null},Ge.touches.length==1&&(S.activeTouch.left=Ge.touches[0].pageX,S.activeTouch.top=Ge.touches[0].pageY)}}),mi(S.scroller,"touchmove",function(){S.activeTouch&&(S.activeTouch.moved=!0)}),mi(S.scroller,"touchend",function(Ge){var Je=S.activeTouch;if(Je&&!ag(S,Ge)&&Je.left!=null&&!Je.moved&&new Date-Je.start<300){var Pt,Dt=k.coordsChar(S.activeTouch,"page");Pt=!Je.prev||Me(Je,Je.prev)?new $l(Dt,Dt):!Je.prev.prev||Me(Je,Je.prev.prev)?k.findWordAt(Dt):new $l(ar(Dt.line,0),co(k.doc,ar(Dt.line+1,0))),k.setSelection(Pt.anchor,Pt.head),k.focus(),Xo(Ge)}X()}),mi(S.scroller,"touchcancel",X),mi(S.scroller,"scroll",function(){S.scroller.clientHeight&&(py(k,S.scroller.scrollTop),bw(k,S.scroller.scrollLeft,!0),vr(k,"scroll",k))}),mi(S.scroller,"mousewheel",function(Ge){return j9(k,Ge)}),mi(S.scroller,"DOMMouseScroll",function(Ge){return j9(k,Ge)}),mi(S.wrapper,"scroll",function(){return S.wrapper.scrollTop=S.wrapper.scrollLeft=0}),S.dragFunctions={enter:function(Ge){Zr(k,Ge)||So(Ge)},over:function(Ge){Zr(k,Ge)||(m_(k,Ge),So(Ge))},start:function(Ge){return tE(k,Ge)},drop:b1(k,p_),leave:function(Ge){Zr(k,Ge)||tx(k)}};var Oe=S.input.getField();mi(Oe,"keyup",function(Ge){return oE.call(k,Ge)}),mi(Oe,"keydown",b1(k,iE)),mi(Oe,"keypress",b1(k,sE)),mi(Oe,"focus",function(Ge){return d4(k,Ge)}),mi(Oe,"blur",function(Ge){return Dm(k,Ge)})}vh.defaults=al,vh.optionHandlers=au;var Rm=[];function jl(k,S,$,R){var X,pe=k.doc;$==null&&($="add"),$=="smart"&&(pe.mode.indent?X=sa(k,S).state:$="prev");var Me=k.options.tabSize,Oe=Ei(pe,S),Ge=ht(Oe.text,null,Me);Oe.stateAfter&&(Oe.stateAfter=null);var Je,Pt=Oe.text.match(/^\s*/)[0];if(R||/\S/.test(Oe.text)){if($=="smart"&&((Je=pe.mode.indent(X,Oe.text.slice(Pt.length),Oe.text))==xt||Je>150)){if(!R)return;$="prev"}}else Je=0,$="not";$=="prev"?Je=S>pe.first?ht(Ei(pe,S-1).text,null,Me):0:$=="add"?Je=Ge+k.options.indentUnit:$=="subtract"?Je=Ge-k.options.indentUnit:typeof $=="number"&&(Je=Ge+$),Je=Math.max(0,Je);var Dt="",kn=0;if(k.options.indentWithTabs)for(var Nn=Math.floor(Je/Me);Nn;--Nn)kn+=Me,Dt+=" ";if(knMe,Ge=qh(S),Je=null;if(Oe&&R.ranges.length>1)if(v1&&v1.text.join(` `)==S){if(R.ranges.length%v1.text.length==0){Je=[];for(var Pt=0;Pt=0;kn--){var Nn=R.ranges[kn],rr=Nn.from(),Hr=Nn.to();Nn.empty()&&($&&$>0?rr=ar(rr.line,rr.ch-$):k.state.overwrite&&!Oe?Hr=ar(Hr.line,Math.min(Ei(pe,Hr.line).text.length,Hr.ch+Ke(Ge).length)):Oe&&v1&&v1.lineWise&&v1.text.join(` `)==Ge.join(` -`)&&(rr=Hr=ar(rr.line,0)));var fi={from:rr,to:Hr,text:Je?Je[kn%Je.length]:Ge,origin:X||(Oe?"paste":k.state.cutIncoming>Ie?"cut":"+input")};ky(k.doc,fi),Jc(k,"inputRead",k,fi)}S&&!Oe&&Oy(k,S),py(k),k.curOp.updateInput<2&&(k.curOp.updateInput=Dt),k.curOp.typing=!0,k.state.pasteIncoming=k.state.cutIncoming=-1}function Hm(k,S){var $=k.clipboardData&&k.clipboardData.getData("Text");if($)return k.preventDefault(),S.isReadOnly()||S.options.disableInput||KA(S,function(){return Vp(S,$,0,null,"paste")}),!0}function Oy(k,S){if(k.options.electricChars&&k.options.smartIndent)for(var $=k.doc.sel,R=$.ranges.length-1;R>=0;R--){var X=$.ranges[R];if(!(X.head.ch>100||R&&$.ranges[R-1].head.line==X.head.line)){var pe=k.getModeAt(X.head),Ie=!1;if(pe.electricChars){for(var Oe=0;Oe-1){Ie=jl(k,X.head.line,"smart");break}}else pe.electricInput&&pe.electricInput.test(Ei(k.doc,X.head.line).text.slice(0,X.head.ch))&&(Ie=jl(k,X.head.line,"smart"));Ie&&Jc(k,"electricInput",k,X.head.line)}}}function Wp(k){for(var S=[],$=[],R=0;Rpe&&(jl(this,Oe.head.line,R,!0),pe=Oe.head.line,Ie==this.doc.sel.primIndex&&py(this));else{var Ge=Oe.from(),Je=Oe.to(),Pt=Math.max(pe,Ge.line);pe=Math.min(this.lastLine(),Je.line-(Je.ch?0:1))+1;for(var Dt=Pt;Dt0&&E4(this.doc,Ie,new $l(Ge,kn[Ie].to()),on)}}}),getTokenAt:function(R,X){return Ku(this,R,X)},getLineTokens:function(R,X){return Ku(this,ar(R),X,!0)},getTokenTypeAt:function(R){R=co(this.doc,R);var X,pe=Ki(this,Ei(this.doc,R.line)),Ie=0,Oe=(pe.length-1)/2,Ge=R.ch;if(Ge==0)X=pe[2];else for(;;){var Je=Ie+Oe>>1;if((Je?pe[2*Je-1]:0)>=Ge)Oe=Je;else{if(!(pe[2*Je+1]Ge&&(R=Ge,Oe=!0),Ie=Ei(this.doc,R)}else Ie=R;return hy(this,Ie,{top:0,left:0},X||"page",pe||Oe).top+(Oe?this.doc.height-Uh(Ie):0)},defaultTextHeight:function(){return hw(this.display)},defaultCharWidth:function(){return fw(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(R,X,pe,Ie,Oe){var Ge=this.display,Je=(R=Qf(this,co(this.doc,R))).bottom,Pt=R.left;if(X.style.position="absolute",X.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(X),Ge.sizer.appendChild(X),Ie=="over")Je=R.top;else if(Ie=="above"||Ie=="near"){var Dt=Math.max(Ge.wrapper.clientHeight,this.doc.height),kn=Math.max(Ge.sizer.clientWidth,Ge.lineSpace.clientWidth);(Ie=="above"||R.bottom+X.offsetHeight>Dt)&&R.top>X.offsetHeight?Je=R.top-X.offsetHeight:R.bottom+X.offsetHeight<=Dt&&(Je=R.bottom),Pt+X.offsetWidth>kn&&(Pt=kn-X.offsetWidth)}X.style.top=Je+"px",X.style.left=X.style.right="",Oe=="right"?(Pt=Ge.sizer.clientWidth-X.offsetWidth,X.style.right="0px"):(Oe=="left"?Pt=0:Oe=="middle"&&(Pt=(Ge.sizer.clientWidth-X.offsetWidth)/2),X.style.left=Pt+"px"),pe&&n_(this,{left:Pt,top:Je,right:Pt+X.offsetWidth,bottom:Je+X.offsetHeight})},triggerOnKeyDown:Fd(aE),triggerOnKeyPress:Fd(cE),triggerOnKeyUp:sE,triggerOnMouseDown:Fd(lE),execCommand:function(R){if(Ly.hasOwnProperty(R))return Ly[R].call(null,this)},triggerElectric:Fd(function(R){Oy(this,R)}),findPosH:function(R,X,pe,Ie){var Oe=1;X<0&&(Oe=-1,X=-X);for(var Ge=co(this.doc,R),Je=0;Je0&&Je(X.charAt(pe-1));)--pe;for(;Ie.5||this.options.lineWrapping)&&dw(this),vr(this,"refresh",this)}),swapDoc:Fd(function(R){var X=this.doc;return X.cm=null,this.state.selectingText&&this.state.selectingText(),X9(this,R),$A(this),this.display.input.reset(),p4(this,R.scrollLeft,R.scrollTop),this.curOp.forceScroll=!0,Jc(this,"swapDoc",this,X),X}),phrase:function(R){var X=this.options.phrases;return X&&Object.prototype.hasOwnProperty.call(X,R)?X[R]:R},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}},jn(k),k.registerHelper=function(R,X,pe){$.hasOwnProperty(R)||($[R]=k[R]={_global:[]}),$[R][X]=pe},k.registerGlobalHelper=function(R,X,pe,Ie){k.registerHelper(R,X,Ie),$[R]._global.push({pred:pe,val:Ie})}}function Iw(k,S,$,R,X){var pe=S,Ie=$,Oe=Ei(k,S.line),Ge=X&&k.direction=="rtl"?-$:$;function Je(){var Fa=S.line+Ge;return!(Fa=k.first+k.size)&&(S=new ar(Fa,S.ch,S.sticky),Oe=Ei(k,Fa))}function Pt(Fa){var ji;if(R=="codepoint"){var Na=Oe.text.charCodeAt(S.ch+(R>0?0:-1));ji=isNaN(Na)?null:new ar(S.line,Math.max(0,Math.min(Oe.text.length,S.ch+$*(Na>=55296&&Na<56320?2:1))),-$)}else ji=X?x_(k.cm,Oe,S,$):Sy(Oe,S,$);if(ji==null){if(Fa||!Je())return!1;S=Wk(X,k.cm,Oe,S.line,Ge)}else S=ji;return!0}if(R=="char"||R=="codepoint")Pt();else if(R=="column")Pt(!0);else if(R=="word"||R=="group")for(var Dt=null,kn=R=="group",Nn=k.cm&&k.cm.getHelper(S,"wordChars"),rr=!0;!($<0)||Pt(!rr);rr=!1){var Hr=Oe.text.charAt(S.ch)||` +`)&&(rr=Hr=ar(rr.line,0)));var fi={from:rr,to:Hr,text:Je?Je[kn%Je.length]:Ge,origin:X||(Oe?"paste":k.state.cutIncoming>Me?"cut":"+input")};xy(k.doc,fi),Jc(k,"inputRead",k,fi)}S&&!Oe&&Dy(k,S),gy(k),k.curOp.updateInput<2&&(k.curOp.updateInput=Dt),k.curOp.typing=!0,k.state.pasteIncoming=k.state.cutIncoming=-1}function Um(k,S){var $=k.clipboardData&&k.clipboardData.getData("Text");if($)return k.preventDefault(),S.isReadOnly()||S.options.disableInput||zA(S,function(){return Gp(S,$,0,null,"paste")}),!0}function Dy(k,S){if(k.options.electricChars&&k.options.smartIndent)for(var $=k.doc.sel,R=$.ranges.length-1;R>=0;R--){var X=$.ranges[R];if(!(X.head.ch>100||R&&$.ranges[R-1].head.line==X.head.line)){var pe=k.getModeAt(X.head),Me=!1;if(pe.electricChars){for(var Oe=0;Oe-1){Me=jl(k,X.head.line,"smart");break}}else pe.electricInput&&pe.electricInput.test(Ei(k.doc,X.head.line).text.slice(0,X.head.ch))&&(Me=jl(k,X.head.line,"smart"));Me&&Jc(k,"electricInput",k,X.head.line)}}}function Vp(k){for(var S=[],$=[],R=0;Rpe&&(jl(this,Oe.head.line,R,!0),pe=Oe.head.line,Me==this.doc.sel.primIndex&&gy(this));else{var Ge=Oe.from(),Je=Oe.to(),Pt=Math.max(pe,Ge.line);pe=Math.min(this.lastLine(),Je.line-(Je.ch?0:1))+1;for(var Dt=Pt;Dt0&&C4(this.doc,Me,new $l(Ge,kn[Me].to()),on)}}}),getTokenAt:function(R,X){return Ku(this,R,X)},getLineTokens:function(R,X){return Ku(this,ar(R),X,!0)},getTokenTypeAt:function(R){R=co(this.doc,R);var X,pe=Ki(this,Ei(this.doc,R.line)),Me=0,Oe=(pe.length-1)/2,Ge=R.ch;if(Ge==0)X=pe[2];else for(;;){var Je=Me+Oe>>1;if((Je?pe[2*Je-1]:0)>=Ge)Oe=Je;else{if(!(pe[2*Je+1]Ge&&(R=Ge,Oe=!0),Me=Ei(this.doc,R)}else Me=R;return uy(this,Me,{top:0,left:0},X||"page",pe||Oe).top+(Oe?this.doc.height-Uh(Me):0)},defaultTextHeight:function(){return uw(this.display)},defaultCharWidth:function(){return hw(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(R,X,pe,Me,Oe){var Ge=this.display,Je=(R=Qf(this,co(this.doc,R))).bottom,Pt=R.left;if(X.style.position="absolute",X.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(X),Ge.sizer.appendChild(X),Me=="over")Je=R.top;else if(Me=="above"||Me=="near"){var Dt=Math.max(Ge.wrapper.clientHeight,this.doc.height),kn=Math.max(Ge.sizer.clientWidth,Ge.lineSpace.clientWidth);(Me=="above"||R.bottom+X.offsetHeight>Dt)&&R.top>X.offsetHeight?Je=R.top-X.offsetHeight:R.bottom+X.offsetHeight<=Dt&&(Je=R.bottom),Pt+X.offsetWidth>kn&&(Pt=kn-X.offsetWidth)}X.style.top=Je+"px",X.style.left=X.style.right="",Oe=="right"?(Pt=Ge.sizer.clientWidth-X.offsetWidth,X.style.right="0px"):(Oe=="left"?Pt=0:Oe=="middle"&&(Pt=(Ge.sizer.clientWidth-X.offsetWidth)/2),X.style.left=Pt+"px"),pe&&t_(this,{left:Pt,top:Je,right:Pt+X.offsetWidth,bottom:Je+X.offsetHeight})},triggerOnKeyDown:Dd(iE),triggerOnKeyPress:Dd(sE),triggerOnKeyUp:oE,triggerOnMouseDown:Dd(cE),execCommand:function(R){if(Sy.hasOwnProperty(R))return Sy[R].call(null,this)},triggerElectric:Dd(function(R){Dy(this,R)}),findPosH:function(R,X,pe,Me){var Oe=1;X<0&&(Oe=-1,X=-X);for(var Ge=co(this.doc,R),Je=0;Je0&&Je(X.charAt(pe-1));)--pe;for(;Me.5||this.options.lineWrapping)&&fw(this),vr(this,"refresh",this)}),swapDoc:Dd(function(R){var X=this.doc;return X.cm=null,this.state.selectingText&&this.state.selectingText(),z9(this,R),jA(this),this.display.input.reset(),g4(this,R.scrollLeft,R.scrollTop),this.curOp.forceScroll=!0,Jc(this,"swapDoc",this,X),X}),phrase:function(R){var X=this.options.phrases;return X&&Object.prototype.hasOwnProperty.call(X,R)?X[R]:R},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}},jn(k),k.registerHelper=function(R,X,pe){$.hasOwnProperty(R)||($[R]=k[R]={_global:[]}),$[R][X]=pe},k.registerGlobalHelper=function(R,X,pe,Me){k.registerHelper(R,X,Me),$[R]._global.push({pred:pe,val:Me})}}function Lw(k,S,$,R,X){var pe=S,Me=$,Oe=Ei(k,S.line),Ge=X&&k.direction=="rtl"?-$:$;function Je(){var Fa=S.line+Ge;return!(Fa=k.first+k.size)&&(S=new ar(Fa,S.ch,S.sticky),Oe=Ei(k,Fa))}function Pt(Fa){var ji;if(R=="codepoint"){var Na=Oe.text.charCodeAt(S.ch+(R>0?0:-1));ji=isNaN(Na)?null:new ar(S.line,Math.max(0,Math.min(Oe.text.length,S.ch+$*(Na>=55296&&Na<56320?2:1))),-$)}else ji=X?y_(k.cm,Oe,S,$):_y(Oe,S,$);if(ji==null){if(Fa||!Je())return!1;S=V7(X,k.cm,Oe,S.line,Ge)}else S=ji;return!0}if(R=="char"||R=="codepoint")Pt();else if(R=="column")Pt(!0);else if(R=="word"||R=="group")for(var Dt=null,kn=R=="group",Nn=k.cm&&k.cm.getHelper(S,"wordChars"),rr=!0;!($<0)||Pt(!rr);rr=!1){var Hr=Oe.text.charAt(S.ch)||` `,fi=xn(Hr,Nn)?"w":kn&&Hr==` -`?"n":!kn||/\s/.test(Hr)?null:"p";if(!kn||rr||fi||(fi="s"),Dt&&Dt!=fi){$<0&&($=1,Pt(),S.sticky="after");break}if(fi&&(Dt=fi),$>0&&!Pt(!rr))break}var ur=T4(k,S,pe,Ie,!0);return bo(pe,ur)&&(ur.hitSide=!0),ur}function Ny(k,S,$,R){var X,pe,Ie=k.doc,Oe=S.left;if(R=="page"){var Ge=Math.min(k.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Je=Math.max(Ge-.5*hw(k.display),3);X=($>0?S.bottom:S.top)+$*Je}else R=="line"&&(X=$>0?S.bottom+3:S.top-3);for(;(pe=Nb(k,Oe,X)).outside;){if($<0?X<=0:X>=Ie.height){pe.hitSide=!0;break}X+=5*$}return pe}var Jo=function(k){this.cm=k,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Rt,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Mu(k,S){var $=aA(k,S.line);if(!$||$.hidden)return null;var R=Ei(k.doc,S.line),X=N1($,R,S.line),pe=ro(R,k.doc.direction),Ie="left";pe&&(Ie=ti(pe,S.ch)%2?"right":"left");var Oe=c4(X.map,S.ch,Ie);return Oe.offset=Oe.collapse=="right"?Oe.end:Oe.start,Oe}function bu(k){for(var S=k;S;S=S.parentNode)if(/CodeMirror-gutter-wrapper/.test(S.className))return!0;return!1}function Qy(k,S){return S&&(k.bad=!0),k}function qb(k,S,$,R,X){var pe="",Ie=!1,Oe=k.doc.lineSeparator(),Ge=!1;function Je(Nn){return function(rr){return rr.id==Nn}}function Pt(){Ie&&(pe+=Oe,Ge&&(pe+=Oe),Ie=Ge=!1)}function Dt(Nn){Nn&&(Pt(),pe+=Nn)}function kn(Nn){if(Nn.nodeType==1){var rr=Nn.getAttribute("cm-text");if(rr)return void Dt(rr);var Hr,fi=Nn.getAttribute("cm-marker");if(fi){var ur=k.findMarks(ar(R,0),ar(X+1,0),Je(+fi));return void(ur.length&&(Hr=ur[0].find(0))&&Dt(Nh(k.doc,Hr.from,Hr.to).join(Oe)))}if(Nn.getAttribute("contenteditable")=="false")return;var Fa=/^(pre|div|p|li|table|br)$/i.test(Nn.nodeName);if(!/^br$/i.test(Nn.nodeName)&&Nn.textContent.length==0)return;Fa&&Pt();for(var ji=0;ji=S.display.viewTo||X.line=S.display.viewFrom&&Mu(S,R)||{node:Oe[0].measure.map[2],offset:0},Je=X.lineR.firstLine()&&(Ie=ar(Ie.line-1,Ei(R.doc,Ie.line-1).length)),Oe.ch==Ei(R.doc,Oe.line).text.length&&Oe.lineX.viewTo-1)return!1;Ie.line==X.viewFrom||(k=gw(R,Ie.line))==0?(S=Rs(X.view[0].line),$=X.view[0].node):(S=Rs(X.view[k].line),$=X.view[k-1].node.nextSibling);var Ge,Je,Pt=gw(R,Oe.line);if(Pt==X.view.length-1?(Ge=X.viewTo-1,Je=X.lineDiv.lastChild):(Ge=Rs(X.view[Pt+1].line)-1,Je=X.view[Pt+1].node.previousSibling),!$)return!1;for(var Dt=R.doc.splitLines(qb(R,$,Je,S,Ge)),kn=Nh(R.doc,ar(S,0),ar(Ge,Ei(R.doc,Ge).text.length));Dt.length>1&&kn.length>1;)if(Ke(Dt)==Ke(kn))Dt.pop(),kn.pop(),Ge--;else{if(Dt[0]!=kn[0])break;Dt.shift(),kn.shift(),S++}for(var Nn=0,rr=0,Hr=Dt[0],fi=kn[0],ur=Math.min(Hr.length,fi.length);NnIe.ch&&Fa.charCodeAt(Fa.length-rr-1)==ji.charCodeAt(ji.length-rr-1);)Nn--,rr++;Dt[Dt.length-1]=Fa.slice(0,Fa.length-rr).replace(/^\u200b+/,""),Dt[0]=Dt[0].slice(Nn).replace(/\u200b+$/,"");var so=ar(S,Nn),Aa=ar(Ge,kn.length?Ke(kn).length-rr:0);return Dt.length>1||Dt[0]||Br(so,Aa)?(Ew(R.doc,Dt,so,Aa,"+input"),!0):void 0},Jo.prototype.ensurePolled=function(){this.forceCompositionEnd()},Jo.prototype.reset=function(){this.forceCompositionEnd()},Jo.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Jo.prototype.readFromDOMSoon=function(){var k=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(k.readDOMTimeout=null,k.composing){if(!k.composing.done)return;k.composing=null}k.updateFromDOM()},80))},Jo.prototype.updateFromDOM=function(){var k=this;!this.cm.isReadOnly()&&this.pollContent()||KA(this.cm,function(){return nd(k.cm)})},Jo.prototype.setUneditable=function(k){k.contentEditable="false"},Jo.prototype.onKeyPress=function(k){k.charCode==0||this.composing||(k.preventDefault(),this.cm.isReadOnly()||b1(this.cm,Vp)(this.cm,String.fromCharCode(k.charCode==null?k.keyCode:k.charCode),0))},Jo.prototype.readOnlyChanged=function(k){this.div.contentEditable=String(k!="nocursor")},Jo.prototype.onContextMenu=function(){},Jo.prototype.resetPosition=function(){},Jo.prototype.needsContentAttribute=!0;var fh=function(k){this.cm=k,this.prevInput="",this.pollingFast=!1,this.polling=new Rt,this.hasSelection=!1,this.composing=null};function Mw(k,S){if((S=S?Le(S):{}).value=k.value,!S.tabindex&&k.tabIndex&&(S.tabindex=k.tabIndex),!S.placeholder&&k.placeholder&&(S.placeholder=k.placeholder),S.autofocus==null){var $=$e();S.autofocus=$==k||k.getAttribute("autofocus")!=null&&$==document.body}function R(){k.value=Oe.getValue()}var X;if(k.form&&(mi(k.form,"submit",R),!S.leaveSubmitMethodAlone)){var pe=k.form;X=pe.submit;try{var Ie=pe.submit=function(){R(),pe.submit=X,pe.submit(),pe.submit=Ie}}catch{}}S.finishInit=function(Ge){Ge.save=R,Ge.getTextArea=function(){return k},Ge.toTextArea=function(){Ge.toTextArea=isNaN,R(),k.parentNode.removeChild(Ge.getWrapperElement()),k.style.display="",k.form&&(lr(k.form,"submit",R),S.leaveSubmitMethodAlone||typeof k.form.submit!="function"||(k.form.submit=X))}},k.style.display="none";var Oe=vh(function(Ge){return k.parentNode.insertBefore(Ge,k.nextSibling)},S);return Oe}function sA(k){k.off=lr,k.on=mi,k.wheelEventPixels=l_,k.Doc=oA,k.splitLines=qh,k.countColumn=ht,k.findColumn=Vt,k.isWordChar=cn,k.Pass=xt,k.signal=vr,k.Line=Of,k.changeEnd=Kb,k.scrollbarModel=N9,k.Pos=ar,k.cmpPos=Br,k.modes=hf,k.mimeModes=Rl,k.resolveMode=Wc,k.getMode=kl,k.modeExtensions=Lc,k.extendMode=Ul,k.copyState=ws,k.startState=Fs,k.innerMode=ru,k.commands=Ly,k.keyMap=Rm,k.keyName=ix,k.isModifierKey=Vk,k.lookupKey=_y,k.normalizeKeyMap=y_,k.StringStream=Es,k.SharedTextMarker=B4,k.TextMarker=w1,k.LineWidget=Tw,k.e_preventDefault=Xo,k.e_stopPropagation=hr,k.e_stop=So,k.addClass=Ye,k.contains=ce,k.rmClass=ee,k.keyNames=qg}fh.prototype.init=function(k){var S=this,$=this,R=this.cm;this.createField(k);var X=this.textarea;function pe(Ie){if(!Zr(R,Ie)){if(R.somethingSelected())vn({lineWise:!1,text:R.getSelections()});else{if(!R.options.lineWiseCopyCut)return;var Oe=Wp(R);vn({lineWise:!0,text:Oe.text}),Ie.type=="cut"?R.setSelections(Oe.ranges,null,on):($.prevInput="",X.value=Oe.text.join(` -`),ot(X))}Ie.type=="cut"&&(R.state.cutIncoming=+new Date)}}k.wrapper.insertBefore(this.wrapper,k.wrapper.firstChild),Q&&(X.style.width="0px"),mi(X,"input",function(){w&&x>=9&&S.hasSelection&&(S.hasSelection=null),$.poll()}),mi(X,"paste",function(Ie){Zr(R,Ie)||Hm(Ie,R)||(R.state.pasteIncoming=+new Date,$.fastPoll())}),mi(X,"cut",pe),mi(X,"copy",pe),mi(k.scroller,"paste",function(Ie){if(!ag(k,Ie)&&!Zr(R,Ie)){if(!X.dispatchEvent)return R.state.pasteIncoming=+new Date,void $.focus();var Oe=new Event("paste");Oe.clipboardData=Ie.clipboardData,X.dispatchEvent(Oe)}}),mi(k.lineSpace,"selectstart",function(Ie){ag(k,Ie)||Xo(Ie)}),mi(X,"compositionstart",function(){var Ie=R.getCursor("from");$.composing&&$.composing.range.clear(),$.composing={start:Ie,range:R.markText(Ie,R.getCursor("to"),{className:"CodeMirror-composing"})}}),mi(X,"compositionend",function(){$.composing&&($.poll(),$.composing.range.clear(),$.composing=null)})},fh.prototype.createField=function(k){this.wrapper=r7(),this.textarea=this.wrapper.firstChild},fh.prototype.screenReaderLabelChanged=function(k){k?this.textarea.setAttribute("aria-label",k):this.textarea.removeAttribute("aria-label")},fh.prototype.prepareSelection=function(){var k=this.cm,S=k.display,$=k.doc,R=Fk(k);if(k.options.moveInputWithCursor){var X=Qf(k,$.sel.primary().head,"div"),pe=S.wrapper.getBoundingClientRect(),Ie=S.lineDiv.getBoundingClientRect();R.teTop=Math.max(0,Math.min(S.wrapper.clientHeight-10,X.top+Ie.top-pe.top)),R.teLeft=Math.max(0,Math.min(S.wrapper.clientWidth-10,X.left+Ie.left-pe.left))}return R},fh.prototype.showSelection=function(k){var S=this.cm.display;Y(S.cursorDiv,k.cursors),Y(S.selectionDiv,k.selection),k.teTop!=null&&(this.wrapper.style.top=k.teTop+"px",this.wrapper.style.left=k.teLeft+"px")},fh.prototype.reset=function(k){if(!this.contextMenuPending&&!this.composing){var S=this.cm;if(S.somethingSelected()){this.prevInput="";var $=S.getSelection();this.textarea.value=$,S.state.focused&&ot(this.textarea),w&&x>=9&&(this.hasSelection=$)}else k||(this.prevInput=this.textarea.value="",w&&x>=9&&(this.hasSelection=null))}},fh.prototype.getField=function(){return this.textarea},fh.prototype.supportsTouch=function(){return!1},fh.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!oe||$e()!=this.textarea))try{this.textarea.focus()}catch{}},fh.prototype.blur=function(){this.textarea.blur()},fh.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},fh.prototype.receivedFocus=function(){this.slowPoll()},fh.prototype.slowPoll=function(){var k=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){k.poll(),k.cm.state.focused&&k.slowPoll()})},fh.prototype.fastPoll=function(){var k=!1,S=this;function $(){S.poll()||k?(S.pollingFast=!1,S.slowPoll()):(k=!0,S.polling.set(60,$))}S.pollingFast=!0,S.polling.set(20,$)},fh.prototype.poll=function(){var k=this,S=this.cm,$=this.textarea,R=this.prevInput;if(this.contextMenuPending||!S.state.focused||Zs($)&&!R&&!this.composing||S.isReadOnly()||S.options.disableInput||S.state.keySeq)return!1;var X=$.value;if(X==R&&!S.somethingSelected())return!1;if(w&&x>=9&&this.hasSelection===X||G&&/[\uf700-\uf7ff]/.test(X))return S.display.input.reset(),!1;if(S.doc.sel==S.display.selForContextMenu){var pe=X.charCodeAt(0);if(pe!=8203||R||(R="​"),pe==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ie=0,Oe=Math.min(R.length,X.length);Ie1e3||X.indexOf(` -`)>-1?$.value=k.prevInput="":k.prevInput=X,k.composing&&(k.composing.range.clear(),k.composing.range=S.markText(k.composing.start,S.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},fh.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},fh.prototype.onKeyPress=function(){w&&x>=9&&(this.hasSelection=null),this.fastPoll()},fh.prototype.onContextMenu=function(k){var S=this,$=S.cm,R=$.display,X=S.textarea;S.contextMenuPending&&S.contextMenuPending();var pe=Aw($,k),Ie=R.scroller.scrollTop;if(pe&&!I){$.options.resetSelectionOnContextMenu&&$.doc.sel.contains(pe)==-1&&b1($,rd)($.doc,jb(pe),on);var Oe,Ge=X.style.cssText,Je=S.wrapper.style.cssText,Pt=S.wrapper.offsetParent.getBoundingClientRect();if(S.wrapper.style.cssText="position: static",X.style.cssText=`position: absolute; width: 30px; height: 30px; +`?"n":!kn||/\s/.test(Hr)?null:"p";if(!kn||rr||fi||(fi="s"),Dt&&Dt!=fi){$<0&&($=1,Pt(),S.sticky="after");break}if(fi&&(Dt=fi),$>0&&!Pt(!rr))break}var ur=E4(k,S,pe,Me,!0);return bo(pe,ur)&&(ur.hitSide=!0),ur}function Oy(k,S,$,R){var X,pe,Me=k.doc,Oe=S.left;if(R=="page"){var Ge=Math.min(k.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Je=Math.max(Ge-.5*uw(k.display),3);X=($>0?S.bottom:S.top)+$*Je}else R=="line"&&(X=$>0?S.bottom+3:S.top-3);for(;(pe=Ob(k,Oe,X)).outside;){if($<0?X<=0:X>=Me.height){pe.hitSide=!0;break}X+=5*$}return pe}var Jo=function(k){this.cm=k,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Rt,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Iu(k,S){var $=oA(k,S.line);if(!$||$.hidden)return null;var R=Ei(k.doc,S.line),X=N1($,R,S.line),pe=ro(R,k.doc.direction),Me="left";pe&&(Me=ti(pe,S.ch)%2?"right":"left");var Oe=s4(X.map,S.ch,Me);return Oe.offset=Oe.collapse=="right"?Oe.end:Oe.start,Oe}function bu(k){for(var S=k;S;S=S.parentNode)if(/CodeMirror-gutter-wrapper/.test(S.className))return!0;return!1}function Ny(k,S){return S&&(k.bad=!0),k}function Wb(k,S,$,R,X){var pe="",Me=!1,Oe=k.doc.lineSeparator(),Ge=!1;function Je(Nn){return function(rr){return rr.id==Nn}}function Pt(){Me&&(pe+=Oe,Ge&&(pe+=Oe),Me=Ge=!1)}function Dt(Nn){Nn&&(Pt(),pe+=Nn)}function kn(Nn){if(Nn.nodeType==1){var rr=Nn.getAttribute("cm-text");if(rr)return void Dt(rr);var Hr,fi=Nn.getAttribute("cm-marker");if(fi){var ur=k.findMarks(ar(R,0),ar(X+1,0),Je(+fi));return void(ur.length&&(Hr=ur[0].find(0))&&Dt(Nh(k.doc,Hr.from,Hr.to).join(Oe)))}if(Nn.getAttribute("contenteditable")=="false")return;var Fa=/^(pre|div|p|li|table|br)$/i.test(Nn.nodeName);if(!/^br$/i.test(Nn.nodeName)&&Nn.textContent.length==0)return;Fa&&Pt();for(var ji=0;ji=S.display.viewTo||X.line=S.display.viewFrom&&Iu(S,R)||{node:Oe[0].measure.map[2],offset:0},Je=X.lineR.firstLine()&&(Me=ar(Me.line-1,Ei(R.doc,Me.line-1).length)),Oe.ch==Ei(R.doc,Oe.line).text.length&&Oe.lineX.viewTo-1)return!1;Me.line==X.viewFrom||(k=Aw(R,Me.line))==0?(S=Rs(X.view[0].line),$=X.view[0].node):(S=Rs(X.view[k].line),$=X.view[k-1].node.nextSibling);var Ge,Je,Pt=Aw(R,Oe.line);if(Pt==X.view.length-1?(Ge=X.viewTo-1,Je=X.lineDiv.lastChild):(Ge=Rs(X.view[Pt+1].line)-1,Je=X.view[Pt+1].node.previousSibling),!$)return!1;for(var Dt=R.doc.splitLines(Wb(R,$,Je,S,Ge)),kn=Nh(R.doc,ar(S,0),ar(Ge,Ei(R.doc,Ge).text.length));Dt.length>1&&kn.length>1;)if(Ke(Dt)==Ke(kn))Dt.pop(),kn.pop(),Ge--;else{if(Dt[0]!=kn[0])break;Dt.shift(),kn.shift(),S++}for(var Nn=0,rr=0,Hr=Dt[0],fi=kn[0],ur=Math.min(Hr.length,fi.length);NnMe.ch&&Fa.charCodeAt(Fa.length-rr-1)==ji.charCodeAt(ji.length-rr-1);)Nn--,rr++;Dt[Dt.length-1]=Fa.slice(0,Fa.length-rr).replace(/^\u200b+/,""),Dt[0]=Dt[0].slice(Nn).replace(/\u200b+$/,"");var so=ar(S,Nn),Aa=ar(Ge,kn.length?Ke(kn).length-rr:0);return Dt.length>1||Dt[0]||Br(so,Aa)?(Cw(R.doc,Dt,so,Aa,"+input"),!0):void 0},Jo.prototype.ensurePolled=function(){this.forceCompositionEnd()},Jo.prototype.reset=function(){this.forceCompositionEnd()},Jo.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Jo.prototype.readFromDOMSoon=function(){var k=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(k.readDOMTimeout=null,k.composing){if(!k.composing.done)return;k.composing=null}k.updateFromDOM()},80))},Jo.prototype.updateFromDOM=function(){var k=this;!this.cm.isReadOnly()&&this.pollContent()||zA(this.cm,function(){return rd(k.cm)})},Jo.prototype.setUneditable=function(k){k.contentEditable="false"},Jo.prototype.onKeyPress=function(k){k.charCode==0||this.composing||(k.preventDefault(),this.cm.isReadOnly()||b1(this.cm,Gp)(this.cm,String.fromCharCode(k.charCode==null?k.keyCode:k.charCode),0))},Jo.prototype.readOnlyChanged=function(k){this.div.contentEditable=String(k!="nocursor")},Jo.prototype.onContextMenu=function(){},Jo.prototype.resetPosition=function(){},Jo.prototype.needsContentAttribute=!0;var fh=function(k){this.cm=k,this.prevInput="",this.pollingFast=!1,this.polling=new Rt,this.hasSelection=!1,this.composing=null};function Mw(k,S){if((S=S?Le(S):{}).value=k.value,!S.tabindex&&k.tabIndex&&(S.tabindex=k.tabIndex),!S.placeholder&&k.placeholder&&(S.placeholder=k.placeholder),S.autofocus==null){var $=$e();S.autofocus=$==k||k.getAttribute("autofocus")!=null&&$==document.body}function R(){k.value=Oe.getValue()}var X;if(k.form&&(mi(k.form,"submit",R),!S.leaveSubmitMethodAlone)){var pe=k.form;X=pe.submit;try{var Me=pe.submit=function(){R(),pe.submit=X,pe.submit(),pe.submit=Me}}catch{}}S.finishInit=function(Ge){Ge.save=R,Ge.getTextArea=function(){return k},Ge.toTextArea=function(){Ge.toTextArea=isNaN,R(),k.parentNode.removeChild(Ge.getWrapperElement()),k.style.display="",k.form&&(lr(k.form,"submit",R),S.leaveSubmitMethodAlone||typeof k.form.submit!="function"||(k.form.submit=X))}},k.style.display="none";var Oe=vh(function(Ge){return k.parentNode.insertBefore(Ge,k.nextSibling)},S);return Oe}function cA(k){k.off=lr,k.on=mi,k.wheelEventPixels=c_,k.Doc=sA,k.splitLines=qh,k.countColumn=ht,k.findColumn=Vt,k.isWordChar=cn,k.Pass=xt,k.signal=vr,k.Line=Of,k.changeEnd=jb,k.scrollbarModel=O9,k.Pos=ar,k.cmpPos=Br,k.modes=hf,k.mimeModes=Rl,k.resolveMode=Wc,k.getMode=kl,k.modeExtensions=Lc,k.extendMode=Ul,k.copyState=ws,k.startState=Fs,k.innerMode=ru,k.commands=Sy,k.keyMap=Pm,k.keyName=rx,k.isModifierKey=G7,k.lookupKey=By,k.normalizeKeyMap=v_,k.StringStream=Es,k.SharedTextMarker=T4,k.TextMarker=w1,k.LineWidget=Ew,k.e_preventDefault=Xo,k.e_stopPropagation=hr,k.e_stop=So,k.addClass=Ye,k.contains=ce,k.rmClass=ee,k.keyNames=qg}fh.prototype.init=function(k){var S=this,$=this,R=this.cm;this.createField(k);var X=this.textarea;function pe(Me){if(!Zr(R,Me)){if(R.somethingSelected())vn({lineWise:!1,text:R.getSelections()});else{if(!R.options.lineWiseCopyCut)return;var Oe=Vp(R);vn({lineWise:!0,text:Oe.text}),Me.type=="cut"?R.setSelections(Oe.ranges,null,on):($.prevInput="",X.value=Oe.text.join(` +`),ot(X))}Me.type=="cut"&&(R.state.cutIncoming=+new Date)}}k.wrapper.insertBefore(this.wrapper,k.wrapper.firstChild),Q&&(X.style.width="0px"),mi(X,"input",function(){w&&x>=9&&S.hasSelection&&(S.hasSelection=null),$.poll()}),mi(X,"paste",function(Me){Zr(R,Me)||Um(Me,R)||(R.state.pasteIncoming=+new Date,$.fastPoll())}),mi(X,"cut",pe),mi(X,"copy",pe),mi(k.scroller,"paste",function(Me){if(!ag(k,Me)&&!Zr(R,Me)){if(!X.dispatchEvent)return R.state.pasteIncoming=+new Date,void $.focus();var Oe=new Event("paste");Oe.clipboardData=Me.clipboardData,X.dispatchEvent(Oe)}}),mi(k.lineSpace,"selectstart",function(Me){ag(k,Me)||Xo(Me)}),mi(X,"compositionstart",function(){var Me=R.getCursor("from");$.composing&&$.composing.range.clear(),$.composing={start:Me,range:R.markText(Me,R.getCursor("to"),{className:"CodeMirror-composing"})}}),mi(X,"compositionend",function(){$.composing&&($.poll(),$.composing.range.clear(),$.composing=null)})},fh.prototype.createField=function(k){this.wrapper=nk(),this.textarea=this.wrapper.firstChild},fh.prototype.screenReaderLabelChanged=function(k){k?this.textarea.setAttribute("aria-label",k):this.textarea.removeAttribute("aria-label")},fh.prototype.prepareSelection=function(){var k=this.cm,S=k.display,$=k.doc,R=I7(k);if(k.options.moveInputWithCursor){var X=Qf(k,$.sel.primary().head,"div"),pe=S.wrapper.getBoundingClientRect(),Me=S.lineDiv.getBoundingClientRect();R.teTop=Math.max(0,Math.min(S.wrapper.clientHeight-10,X.top+Me.top-pe.top)),R.teLeft=Math.max(0,Math.min(S.wrapper.clientWidth-10,X.left+Me.left-pe.left))}return R},fh.prototype.showSelection=function(k){var S=this.cm.display;Y(S.cursorDiv,k.cursors),Y(S.selectionDiv,k.selection),k.teTop!=null&&(this.wrapper.style.top=k.teTop+"px",this.wrapper.style.left=k.teLeft+"px")},fh.prototype.reset=function(k){if(!this.contextMenuPending&&!this.composing){var S=this.cm;if(S.somethingSelected()){this.prevInput="";var $=S.getSelection();this.textarea.value=$,S.state.focused&&ot(this.textarea),w&&x>=9&&(this.hasSelection=$)}else k||(this.prevInput=this.textarea.value="",w&&x>=9&&(this.hasSelection=null))}},fh.prototype.getField=function(){return this.textarea},fh.prototype.supportsTouch=function(){return!1},fh.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!oe||$e()!=this.textarea))try{this.textarea.focus()}catch{}},fh.prototype.blur=function(){this.textarea.blur()},fh.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},fh.prototype.receivedFocus=function(){this.slowPoll()},fh.prototype.slowPoll=function(){var k=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){k.poll(),k.cm.state.focused&&k.slowPoll()})},fh.prototype.fastPoll=function(){var k=!1,S=this;function $(){S.poll()||k?(S.pollingFast=!1,S.slowPoll()):(k=!0,S.polling.set(60,$))}S.pollingFast=!0,S.polling.set(20,$)},fh.prototype.poll=function(){var k=this,S=this.cm,$=this.textarea,R=this.prevInput;if(this.contextMenuPending||!S.state.focused||Zs($)&&!R&&!this.composing||S.isReadOnly()||S.options.disableInput||S.state.keySeq)return!1;var X=$.value;if(X==R&&!S.somethingSelected())return!1;if(w&&x>=9&&this.hasSelection===X||G&&/[\uf700-\uf7ff]/.test(X))return S.display.input.reset(),!1;if(S.doc.sel==S.display.selForContextMenu){var pe=X.charCodeAt(0);if(pe!=8203||R||(R="​"),pe==8666)return this.reset(),this.cm.execCommand("undo")}for(var Me=0,Oe=Math.min(R.length,X.length);Me1e3||X.indexOf(` +`)>-1?$.value=k.prevInput="":k.prevInput=X,k.composing&&(k.composing.range.clear(),k.composing.range=S.markText(k.composing.start,S.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},fh.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},fh.prototype.onKeyPress=function(){w&&x>=9&&(this.hasSelection=null),this.fastPoll()},fh.prototype.onContextMenu=function(k){var S=this,$=S.cm,R=$.display,X=S.textarea;S.contextMenuPending&&S.contextMenuPending();var pe=dw($,k),Me=R.scroller.scrollTop;if(pe&&!M){$.options.resetSelectionOnContextMenu&&$.doc.sel.contains(pe)==-1&&b1($,id)($.doc,$b(pe),on);var Oe,Ge=X.style.cssText,Je=S.wrapper.style.cssText,Pt=S.wrapper.offsetParent.getBoundingClientRect();if(S.wrapper.style.cssText="position: static",X.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(k.clientY-Pt.top-5)+"px; left: "+(k.clientX-Pt.left-5)+`px; z-index: 1000; background: `+(w?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`,C&&(Oe=window.scrollY),R.input.focus(),C&&window.scrollTo(null,Oe),R.input.reset(),$.somethingSelected()||(X.value=S.prevInput=" "),S.contextMenuPending=Nn,R.selForContextMenu=$.doc.sel,clearTimeout(R.detectingSelectAll),w&&x>=9&&kn(),le){So(k);var Dt=function(){lr(window,"mouseup",Dt),setTimeout(Nn,20)};mi(window,"mouseup",Dt)}else setTimeout(Nn,50)}function kn(){if(X.selectionStart!=null){var rr=$.somethingSelected(),Hr="​"+(rr?X.value:"");X.value="⇚",X.value=Hr,S.prevInput=rr?"":"​",X.selectionStart=1,X.selectionEnd=Hr.length,R.selForContextMenu=$.doc.sel}}function Nn(){if(S.contextMenuPending==Nn&&(S.contextMenuPending=!1,S.wrapper.style.cssText=Je,X.style.cssText=Ge,w&&x<9&&R.scrollbars.setScrollTop(R.scroller.scrollTop=Ie),X.selectionStart!=null)){(!w||w&&x<9)&&kn();var rr=0,Hr=function(){R.selForContextMenu==$.doc.sel&&X.selectionStart==0&&X.selectionEnd>0&&S.prevInput=="​"?b1($,yy)($):rr++<10?R.detectingSelectAll=setTimeout(Hr,500):(R.selForContextMenu=null,R.input.reset())};R.detectingSelectAll=setTimeout(Hr,200)}}},fh.prototype.readOnlyChanged=function(k){k||this.reset(),this.textarea.disabled=k=="nocursor",this.textarea.readOnly=!!k},fh.prototype.setUneditable=function(){},fh.prototype.needsContentAttribute=!1,oo(vh),AE(vh);var Py="iter insert remove copy getEditor constructor".split(" ");for(var Fw in oA.prototype)oA.prototype.hasOwnProperty(Fw)&&Et(Py,Fw)<0&&(vh.prototype[Fw]=function(k){return function(){return k.apply(this.doc,arguments)}}(oA.prototype[Fw]));return jn(oA),vh.inputStyles={textarea:fh,contenteditable:Jo},vh.defineMode=function(k){vh.defaults.mode||k=="null"||(vh.defaults.mode=k),nu.apply(this,arguments)},vh.defineMIME=Oh,vh.defineMode("null",function(){return{token:function(k){return k.skipToEnd()}}}),vh.defineMIME("text/plain","null"),vh.defineExtension=function(k,S){vh.prototype[k]=S},vh.defineDocExtension=function(k,S){oA.prototype[k]=S},vh.fromTextArea=Mw,sA(vh),vh.version="5.58.2",vh}()});il(function(r,i){var o,l,h;l={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},h={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},(o=Fp).defineMode("xml",function(g,d){var b,w,x=g.indentUnit,C={},B=d.htmlMode?l:h;for(var L in B)C[L]=B[L];for(var L in d)C[L]=d[L];function I(Y,Ee){function fe($e){return Ee.tokenize=$e,$e(Y,Ee)}var ce=Y.next();return ce=="<"?Y.eat("!")?Y.eat("[")?Y.match("CDATA[")?fe(W("atom","]]>")):null:Y.match("--")?fe(W("comment","-->")):Y.match("DOCTYPE",!0,!0)?(Y.eatWhile(/[\w\._\-]/),fe(Q(1))):null:Y.eat("?")?(Y.eatWhile(/[\w\._\-]/),Ee.tokenize=W("meta","?>"),"meta"):(b=Y.eat("/")?"closeTag":"openTag",Ee.tokenize=P,"tag bracket"):ce=="&"?(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 P(Y,Ee){var fe=Y.next();if(fe==">"||fe=="/"&&Y.eat(">"))return Ee.tokenize=I,b=fe==">"?"endTag":"selfcloseTag","tag bracket";if(fe=="=")return b="equals",null;if(fe=="<"){Ee.tokenize=I,Ee.state=ae,Ee.tagName=Ee.tagStart=null;var ce=Ee.tokenize(Y,Ee);return ce?ce+" tag error":"tag error"}return/[\'\"]/.test(fe)?(Ee.tokenize=z(fe),Ee.stringStartCol=Y.column(),Ee.tokenize(Y,Ee)):(Y.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function z(Y){var Ee=function(fe,ce){for(;!fe.eol();)if(fe.next()==Y){ce.tokenize=P;break}return"string"};return Ee.isInAttribute=!0,Ee}function W(Y,Ee){return function(fe,ce){for(;!fe.eol();){if(fe.match(Ee)){ce.tokenize=I;break}fe.next()}return Y}}function Q(Y){return function(Ee,fe){for(var ce;(ce=Ee.next())!=null;){if(ce=="<")return fe.tokenize=Q(Y+1),fe.tokenize(Ee,fe);if(ce==">"){if(Y==1){fe.tokenize=I;break}return fe.tokenize=Q(Y-1),fe.tokenize(Ee,fe)}}return"meta"}}function V(Y,Ee,fe){this.prev=Y.context,this.tagName=Ee,this.indent=Y.indented,this.startOfLine=fe,(C.doNotIndent.hasOwnProperty(Ee)||Y.context&&Y.context.noIndent)&&(this.noIndent=!0)}function oe(Y){Y.context&&(Y.context=Y.context.prev)}function G(Y,Ee){for(var fe;;){if(!Y.context||(fe=Y.context.tagName,!C.contextGrabbers.hasOwnProperty(fe)||!C.contextGrabbers[fe].hasOwnProperty(Ee)))return;oe(Y)}}function ae(Y,Ee,fe){return Y=="openTag"?(fe.tagStart=Ee.column(),ne):Y=="closeTag"?de:ae}function ne(Y,Ee,fe){return Y=="word"?(fe.tagName=Ee.current(),w="tag",ve):C.allowMissingTagName&&Y=="endTag"?(w="tag bracket",ve(Y,Ee,fe)):(w="error",ne)}function de(Y,Ee,fe){if(Y=="word"){var ce=Ee.current();return fe.context&&fe.context.tagName!=ce&&C.implicitlyClosed.hasOwnProperty(fe.context.tagName)&&oe(fe),fe.context&&fe.context.tagName==ce||C.matchClosing===!1?(w="tag",Ae):(w="tag error",le)}return C.allowMissingTagName&&Y=="endTag"?(w="tag bracket",Ae(Y,Ee,fe)):(w="error",le)}function Ae(Y,Ee,fe){return Y!="endTag"?(w="error",Ae):(oe(fe),ae)}function le(Y,Ee,fe){return w="error",Ae(Y,Ee,fe)}function ve(Y,Ee,fe){if(Y=="word")return w="attribute",me;if(Y=="endTag"||Y=="selfcloseTag"){var ce=fe.tagName,$e=fe.tagStart;return fe.tagName=fe.tagStart=null,Y=="selfcloseTag"||C.autoSelfClosers.hasOwnProperty(ce)?G(fe,ce):(G(fe,ce),fe.context=new V(fe,ce,$e==fe.indented)),ae}return w="error",ve}function me(Y,Ee,fe){return Y=="equals"?ee:(C.allowMissing||(w="error"),ve(Y,Ee,fe))}function ee(Y,Ee,fe){return Y=="string"?ye:Y=="word"&&C.allowUnquoted?(w="string",ve):(w="error",ve(Y,Ee,fe))}function ye(Y,Ee,fe){return Y=="string"?ye:ve(Y,Ee,fe)}return I.isInText=!0,{startState:function(Y){var Ee={tokenize:I,state:ae,indented:Y||0,tagName:null,tagStart:null,context:null};return Y!=null&&(Ee.baseIndent=Y),Ee},token:function(Y,Ee){if(!Ee.tagName&&Y.sol()&&(Ee.indented=Y.indentation()),Y.eatSpace())return null;b=null;var fe=Ee.tokenize(Y,Ee);return(fe||b)&&fe!="comment"&&(w=null,Ee.state=Ee.state(b||fe,Y,Ee),w&&(fe=w=="error"?fe+" error":w)),fe},indent:function(Y,Ee,fe){var ce=Y.context;if(Y.tokenize.isInAttribute)return Y.tagStart==Y.indented?Y.stringStartCol+1:Y.indented+x;if(ce&&ce.noIndent)return o.Pass;if(Y.tokenize!=P&&Y.tokenize!=I)return fe?fe.match(/^(\s*)/)[0].length:0;if(Y.tagName)return C.multilineTagIndentPastTag!==!1?Y.tagStart+Y.tagName.length+2:Y.tagStart+x*(C.multilineTagIndentFactor||1);if(C.alignCDATA&&/$/,blockCommentStart:"",configuration:C.htmlMode?"html":"xml",helperType:C.htmlMode?"html":"xml",skipAttribute:function(Y){Y.state==ee&&(Y.state=ve)},xmlCurrentTag:function(Y){return Y.tagName?{name:Y.tagName,close:Y.type=="closeTag"}:null},xmlCurrentContext:function(Y){for(var Ee=[],fe=Y.context;fe;fe=fe.prev)fe.tagName&&Ee.push(fe.tagName);return Ee.reverse()}}}),o.defineMIME("text/xml","xml"),o.defineMIME("application/xml","xml"),o.mimeModes.hasOwnProperty("text/html")||o.defineMIME("text/html",{name:"xml",htmlMode:!0})}),il(function(r,i){(function(o){o.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 l=0;l-1&&g.substring(w+1,g.length);if(x)return o.findModeByExtension(x)},o.findModeByName=function(g){g=g.toLowerCase();for(var d=0;d` "'(~:]+/,W=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Q=/^\s*\[[^\]]+?\]:.*$/,V=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,oe=" ";function G(Qe,Le,ht){return Le.f=Le.inline=ht,ht(Qe,Le)}function ae(Qe,Le,ht){return Le.f=Le.block=ht,ht(Qe,Le)}function ne(Qe){return!Qe||!/\S/.test(Qe.string)}function de(Qe){if(Qe.linkTitle=!1,Qe.linkHref=!1,Qe.linkText=!1,Qe.em=!1,Qe.strong=!1,Qe.strikethrough=!1,Qe.quote=0,Qe.indentedCode=!1,Qe.f==le){var Le=d;if(!Le){var ht=o.innerMode(g,Qe.htmlState);Le=ht.mode.name=="xml"&&ht.state.tagStart===null&&!ht.state.context&&ht.state.tokenize.isInText}Le&&(Qe.f=ye,Qe.block=Ae,Qe.htmlState=null)}return Qe.trailingSpace=0,Qe.trailingSpaceNewLine=!1,Qe.prevLine=Qe.thisLine,Qe.thisLine={stream:null},null}function Ae(Qe,Le){var ht=Qe.column()===Le.indentation,Rt=ne(Le.prevLine.stream),Et=Le.indentedCode,Rn=Le.prevLine.hr,xt=Le.list!==!1,on=(Le.listStack[Le.listStack.length-1]||0)+3;Le.indentedCode=!1;var Kt=Le.indentation;if(Le.indentationDiff===null&&(Le.indentationDiff=Le.indentation,xt)){for(Le.list=null;Kt=4&&(Et||Le.prevLine.fencedCodeEnd||Le.prevLine.header||Rt))return Qe.skipToEnd(),Le.indentedCode=!0,w.code;if(Qe.eatSpace())return null;if(ht&&Le.indentation<=on&&(He=Qe.match(I))&&He[1].length<=6)return Le.quote=0,Le.header=He[1].length,Le.thisLine.header=!0,h.highlightFormatting&&(Le.formatting="header"),Le.f=Le.inline,me(Le);if(Le.indentation<=on&&Qe.eat(">"))return Le.quote=ht?1:Le.quote+1,h.highlightFormatting&&(Le.formatting="quote"),Qe.eatSpace(),me(Le);if(!Vt&&!Le.setext&&ht&&Le.indentation<=on&&(He=Qe.match(B))){var lt=He[1]?"ol":"ul";return Le.indentation=Kt+Qe.current().length,Le.list=!0,Le.quote=0,Le.listStack.push(Le.indentation),Le.em=!1,Le.strong=!1,Le.code=!1,Le.strikethrough=!1,h.taskLists&&Qe.match(L,!1)&&(Le.taskList=!0),Le.f=Le.inline,h.highlightFormatting&&(Le.formatting=["list","list-"+lt]),me(Le)}return ht&&Le.indentation<=on&&(He=Qe.match(W,!0))?(Le.quote=0,Le.fencedEndRE=new RegExp(He[1]+"+ *$"),Le.localMode=h.fencedCodeBlockHighlighting&&b(He[2]||h.fencedCodeBlockDefaultMode),Le.localMode&&(Le.localState=o.startState(Le.localMode)),Le.f=Le.block=ve,h.highlightFormatting&&(Le.formatting="code-block"),Le.code=-1,me(Le)):Le.setext||!(Xt&&xt||Le.quote||Le.list!==!1||Le.code||Vt||Q.test(Qe.string))&&(He=Qe.lookAhead(1))&&(He=He.match(P))?(Le.setext?(Le.header=Le.setext,Le.setext=0,Qe.skipToEnd(),h.highlightFormatting&&(Le.formatting="header")):(Le.header=He[0].charAt(0)=="="?1:2,Le.setext=Le.header),Le.thisLine.header=!0,Le.f=Le.inline,me(Le)):Vt?(Qe.skipToEnd(),Le.hr=!0,Le.thisLine.hr=!0,w.hr):Qe.peek()==="["?G(Qe,Le,$e):G(Qe,Le,Le.inline)}function le(Qe,Le){var ht=g.token(Qe,Le.htmlState);if(!d){var Rt=o.innerMode(g,Le.htmlState);(Rt.mode.name=="xml"&&Rt.state.tagStart===null&&!Rt.state.context&&Rt.state.tokenize.isInText||Le.md_inside&&Qe.current().indexOf(">")>-1)&&(Le.f=ye,Le.block=Ae,Le.htmlState=null)}return ht}function ve(Qe,Le){var ht,Rt=Le.listStack[Le.listStack.length-1]||0,Et=Le.indentation=Qe.quote?Le.push(w.formatting+"-"+Qe.formatting[ht]+"-"+Qe.quote):Le.push("error"))}if(Qe.taskOpen)return Le.push("meta"),Le.length?Le.join(" "):null;if(Qe.taskClosed)return Le.push("property"),Le.length?Le.join(" "):null;if(Qe.linkHref?Le.push(w.linkHref,"url"):(Qe.strong&&Le.push(w.strong),Qe.em&&Le.push(w.em),Qe.strikethrough&&Le.push(w.strikethrough),Qe.emoji&&Le.push(w.emoji),Qe.linkText&&Le.push(w.linkText),Qe.code&&Le.push(w.code),Qe.image&&Le.push(w.image),Qe.imageAltText&&Le.push(w.imageAltText,"link"),Qe.imageMarker&&Le.push(w.imageMarker)),Qe.header&&Le.push(w.header,w.header+"-"+Qe.header),Qe.quote&&(Le.push(w.quote),!h.maxBlockquoteDepth||h.maxBlockquoteDepth>=Qe.quote?Le.push(w.quote+"-"+Qe.quote):Le.push(w.quote+"-"+h.maxBlockquoteDepth)),Qe.list!==!1){var Rt=(Qe.listStack.length-1)%3;Rt?Rt===1?Le.push(w.list2):Le.push(w.list3):Le.push(w.list1)}return Qe.trailingSpaceNewLine?Le.push("trailing-space-new-line"):Qe.trailingSpace&&Le.push("trailing-space-"+(Qe.trailingSpace%2?"a":"b")),Le.length?Le.join(" "):null}function ee(Qe,Le){if(Qe.match(z,!0))return me(Le)}function ye(Qe,Le){var ht=Le.text(Qe,Le);if(ht!==void 0)return ht;if(Le.list)return Le.list=null,me(Le);if(Le.taskList)return Qe.match(L,!0)[1]===" "?Le.taskOpen=!0:Le.taskClosed=!0,h.highlightFormatting&&(Le.formatting="task"),Le.taskList=!1,me(Le);if(Le.taskOpen=!1,Le.taskClosed=!1,Le.header&&Qe.match(/^#+$/,!0))return h.highlightFormatting&&(Le.formatting="header"),me(Le);var Rt=Qe.next();if(Le.linkTitle){Le.linkTitle=!1;var Et=Rt;Rt==="("&&(Et=")");var Rn="^\\s*(?:[^"+(Et=(Et+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+Et;if(Qe.match(new RegExp(Rn),!0))return w.linkHref}if(Rt==="`"){var xt=Le.formatting;h.highlightFormatting&&(Le.formatting="code"),Qe.eatWhile("`");var on=Qe.current().length;if(Le.code!=0||Le.quote&&on!=1){if(on==Le.code){var Kt=me(Le);return Le.code=0,Kt}return Le.formatting=xt,me(Le)}return Le.code=on,me(Le)}if(Le.code)return me(Le);if(Rt==="\\"&&(Qe.next(),h.highlightFormatting)){var Xt=me(Le),Vt=w.formatting+"-escape";return Xt?Xt+" "+Vt:Vt}if(Rt==="!"&&Qe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Le.imageMarker=!0,Le.image=!0,h.highlightFormatting&&(Le.formatting="image"),me(Le);if(Rt==="["&&Le.imageMarker&&Qe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Le.imageMarker=!1,Le.imageAltText=!0,h.highlightFormatting&&(Le.formatting="image"),me(Le);if(Rt==="]"&&Le.imageAltText){h.highlightFormatting&&(Le.formatting="image");var Xt=me(Le);return Le.imageAltText=!1,Le.image=!1,Le.inline=Le.f=Ee,Xt}if(Rt==="["&&!Le.image)return Le.linkText&&Qe.match(/^.*?\]/)||(Le.linkText=!0,h.highlightFormatting&&(Le.formatting="link")),me(Le);if(Rt==="]"&&Le.linkText){h.highlightFormatting&&(Le.formatting="link");var Xt=me(Le);return Le.linkText=!1,Le.inline=Le.f=Qe.match(/\(.*?\)| ?\[.*?\]/,!1)?Ee:ye,Xt}if(Rt==="<"&&Qe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return Le.f=Le.inline=Y,h.highlightFormatting&&(Le.formatting="link"),(Xt=me(Le))?Xt+=" ":Xt="",Xt+w.linkInline;if(Rt==="<"&&Qe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return Le.f=Le.inline=Y,h.highlightFormatting&&(Le.formatting="link"),(Xt=me(Le))?Xt+=" ":Xt="",Xt+w.linkEmail;if(h.xml&&Rt==="<"&&Qe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var He=Qe.string.indexOf(">",Qe.pos);if(He!=-1){var lt=Qe.string.substring(Qe.start,He);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(lt)&&(Le.md_inside=!0)}return Qe.backUp(1),Le.htmlState=o.startState(g),ae(Qe,Le,le)}if(h.xml&&Rt==="<"&&Qe.match(/^\/\w*?>/))return Le.md_inside=!1,"tag";if(Rt==="*"||Rt==="_"){for(var Ke=1,mn=Qe.pos==1?" ":Qe.string.charAt(Qe.pos-2);Ke<3&&Qe.eat(Rt);)Ke++;var je=Qe.peek()||" ",zt=!/\s/.test(je)&&(!V.test(je)||/\s/.test(mn)||V.test(mn)),pt=!/\s/.test(mn)&&(!V.test(mn)||/\s/.test(je)||V.test(je)),sn=null,cn=null;if(Ke%2&&(Le.em||!zt||Rt!=="*"&&pt&&!V.test(mn)?Le.em!=Rt||!pt||Rt!=="*"&&zt&&!V.test(je)||(sn=!1):sn=!0),Ke>1&&(Le.strong||!zt||Rt!=="*"&&pt&&!V.test(mn)?Le.strong!=Rt||!pt||Rt!=="*"&&zt&&!V.test(je)||(cn=!1):cn=!0),cn!=null||sn!=null)return h.highlightFormatting&&(Le.formatting=sn==null?"strong":cn==null?"em":"strong em"),sn===!0&&(Le.em=Rt),cn===!0&&(Le.strong=Rt),Kt=me(Le),sn===!1&&(Le.em=!1),cn===!1&&(Le.strong=!1),Kt}else if(Rt===" "&&(Qe.eat("*")||Qe.eat("_"))){if(Qe.peek()===" ")return me(Le);Qe.backUp(1)}if(h.strikethrough){if(Rt==="~"&&Qe.eatWhile(Rt)){if(Le.strikethrough)return h.highlightFormatting&&(Le.formatting="strikethrough"),Kt=me(Le),Le.strikethrough=!1,Kt;if(Qe.match(/^[^\s]/,!1))return Le.strikethrough=!0,h.highlightFormatting&&(Le.formatting="strikethrough"),me(Le)}else if(Rt===" "&&Qe.match(/^~~/,!0)){if(Qe.peek()===" ")return me(Le);Qe.backUp(2)}}if(h.emoji&&Rt===":"&&Qe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Le.emoji=!0,h.highlightFormatting&&(Le.formatting="emoji");var xn=me(Le);return Le.emoji=!1,xn}return Rt===" "&&(Qe.match(/^ +$/,!1)?Le.trailingSpace++:Le.trailingSpace&&(Le.trailingSpaceNewLine=!0)),me(Le)}function Y(Qe,Le){if(Qe.next()===">"){Le.f=Le.inline=ye,h.highlightFormatting&&(Le.formatting="link");var ht=me(Le);return ht?ht+=" ":ht="",ht+w.linkInline}return Qe.match(/^[^>]+/,!0),w.linkInline}function Ee(Qe,Le){if(Qe.eatSpace())return null;var ht=Qe.next();return ht==="("||ht==="["?(Le.f=Le.inline=ce(ht==="("?")":"]"),h.highlightFormatting&&(Le.formatting="link-string"),Le.linkHref=!0,me(Le)):"error"}var fe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ce(Qe){return function(Le,ht){if(Le.next()===Qe){ht.f=ht.inline=ye,h.highlightFormatting&&(ht.formatting="link-string");var Rt=me(ht);return ht.linkHref=!1,Rt}return Le.match(fe[Qe]),ht.linkHref=!0,me(ht)}}function $e(Qe,Le){return Qe.match(/^([^\]\\]|\\.)*\]:/,!1)?(Le.f=Ye,Qe.next(),h.highlightFormatting&&(Le.formatting="link"),Le.linkText=!0,me(Le)):G(Qe,Le,ye)}function Ye(Qe,Le){if(Qe.match(/^\]:/,!0)){Le.f=Le.inline=ct,h.highlightFormatting&&(Le.formatting="link");var ht=me(Le);return Le.linkText=!1,ht}return Qe.match(/^([^\]\\]|\\.)+/,!0),w.linkText}function ct(Qe,Le){return Qe.eatSpace()?null:(Qe.match(/^[^\s]+/,!0),Qe.peek()===void 0?Le.linkTitle=!0:Qe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Le.f=Le.inline=ye,w.linkHref+" url")}var ot={startState:function(){return{f:Ae,prevLine:{stream:null},thisLine:{stream:null},block:Ae,htmlState:null,indentation:0,inline:ye,text:ee,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(Qe){return{f:Qe.f,prevLine:Qe.prevLine,thisLine:Qe.thisLine,block:Qe.block,htmlState:Qe.htmlState&&o.copyState(g,Qe.htmlState),indentation:Qe.indentation,localMode:Qe.localMode,localState:Qe.localMode?o.copyState(Qe.localMode,Qe.localState):null,inline:Qe.inline,text:Qe.text,formatting:!1,linkText:Qe.linkText,linkTitle:Qe.linkTitle,linkHref:Qe.linkHref,code:Qe.code,em:Qe.em,strong:Qe.strong,strikethrough:Qe.strikethrough,emoji:Qe.emoji,header:Qe.header,setext:Qe.setext,hr:Qe.hr,taskList:Qe.taskList,list:Qe.list,listStack:Qe.listStack.slice(0),quote:Qe.quote,indentedCode:Qe.indentedCode,trailingSpace:Qe.trailingSpace,trailingSpaceNewLine:Qe.trailingSpaceNewLine,md_inside:Qe.md_inside,fencedEndRE:Qe.fencedEndRE}},token:function(Qe,Le){if(Le.formatting=!1,Qe!=Le.thisLine.stream){if(Le.header=0,Le.hr=!1,Qe.match(/^\s*$/,!0))return de(Le),null;if(Le.prevLine=Le.thisLine,Le.thisLine={stream:Qe},Le.taskList=!1,Le.trailingSpace=0,Le.trailingSpaceNewLine=!1,!Le.localState&&(Le.f=Le.block,Le.f!=le)){var ht=Qe.match(/^\s*/,!0)[0].replace(/\t/g,oe).length;if(Le.indentation=ht,Le.indentationDiff=null,ht>0)return null}}return Le.f(Qe,Le)},innerMode:function(Qe){return Qe.block==le?{state:Qe.htmlState,mode:g}:Qe.localState?{state:Qe.localState,mode:Qe.localMode}:{state:Qe,mode:ot}},indent:function(Qe,Le,ht){return Qe.block==le&&g.indent?g.indent(Qe.htmlState,Le,ht):Qe.localState&&Qe.localMode.indent?Qe.localMode.indent(Qe.localState,Le,ht):o.Pass},blankLine:de,getType:me,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return ot},"xml"),o.defineMIME("text/markdown","markdown"),o.defineMIME("text/x-markdown","markdown")}),il(function(r,i){var o;(o=Fp).overlayMode=function(l,h,g){return{startState:function(){return{base:o.startState(l),overlay:o.startState(h),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(d){return{base:o.copyState(l,d.base),overlay:o.copyState(h,d.overlay),basePos:d.basePos,baseCur:null,overlayPos:d.overlayPos,overlayCur:null}},token:function(d,b){return(d!=b.streamSeen||Math.min(b.basePos,b.overlayPos)]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i,(o=Fp).defineMode("gfm",function(h,g){var d=0;function b(B){return B.code=!1,null}var w={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(B){return{code:B.code,codeBlock:B.codeBlock,ateSpace:B.ateSpace}},token:function(B,L){if(L.combineTokens=null,L.codeBlock)return B.match(/^```+/)?(L.codeBlock=!1,null):(B.skipToEnd(),null);if(B.sol()&&(L.code=!1),B.sol()&&B.match(/^```+/))return B.skipToEnd(),L.codeBlock=!0,null;if(B.peek()==="`"){B.next();var I=B.pos;B.eatWhile("`");var P=1+B.pos-I;return L.code?P===d&&(L.code=!1):(d=P,L.code=!0),null}return L.code?(B.next(),null):B.eatSpace()?(L.ateSpace=!0,null):(B.sol()||L.ateSpace)&&(L.ateSpace=!1,g.gitHubSpice!==!1)&&(B.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)||B.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))||B.match(l)&&B.string.slice(B.start-2,B.start)!="]("&&(B.start==0||/\W/.test(B.string.charAt(B.start-1)))?(L.combineTokens=!0,"link"):(B.next(),null)},blankLine:b},x={taskLists:!0,strikethrough:!0,emoji:!0};for(var C in g)x[C]=g[C];return x.name="markdown",o.overlayMode(o.getMode(h,x),w)},"markdown"),o.defineMIME("text/x-gfm","gfm")}),il(function(r,i){(function(o){var l=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,h=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,g=/[*+-]\s/;function d(b,w){var x=w.line,C=0,B=0,L=l.exec(b.getLine(x)),I=L[1];do{var P=x+(C+=1),z=b.getLine(P),W=l.exec(z);if(W){var Q=W[1],V=parseInt(L[3],10)+C-B,oe=parseInt(W[3],10),G=oe;if(I!==Q||isNaN(oe)){if(I.length>Q.length||I.lengthoe&&(G=V+1),b.replaceRange(z.replace(l,Q+G+W[4]+W[5]),{line:P,ch:0},{line:P,ch:z.length})}}while(W)}o.commands.newlineAndIndentContinueMarkdownList=function(b){if(b.getOption("disableInput"))return o.Pass;for(var w=b.listSelections(),x=[],C=0;C\s*$/.test(W),G=!/>\s*$/.test(W);(oe||G)&&b.replaceRange("",{line:B.line,ch:0},{line:B.line,ch:B.ch+1}),x[C]=` + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`,C&&(Oe=window.scrollY),R.input.focus(),C&&window.scrollTo(null,Oe),R.input.reset(),$.somethingSelected()||(X.value=S.prevInput=" "),S.contextMenuPending=Nn,R.selForContextMenu=$.doc.sel,clearTimeout(R.detectingSelectAll),w&&x>=9&&kn(),le){So(k);var Dt=function(){lr(window,"mouseup",Dt),setTimeout(Nn,20)};mi(window,"mouseup",Dt)}else setTimeout(Nn,50)}function kn(){if(X.selectionStart!=null){var rr=$.somethingSelected(),Hr="​"+(rr?X.value:"");X.value="⇚",X.value=Hr,S.prevInput=rr?"":"​",X.selectionStart=1,X.selectionEnd=Hr.length,R.selForContextMenu=$.doc.sel}}function Nn(){if(S.contextMenuPending==Nn&&(S.contextMenuPending=!1,S.wrapper.style.cssText=Je,X.style.cssText=Ge,w&&x<9&&R.scrollbars.setScrollTop(R.scroller.scrollTop=Me),X.selectionStart!=null)){(!w||w&&x<9)&&kn();var rr=0,Hr=function(){R.selForContextMenu==$.doc.sel&&X.selectionStart==0&&X.selectionEnd>0&&S.prevInput=="​"?b1($,vy)($):rr++<10?R.detectingSelectAll=setTimeout(Hr,500):(R.selForContextMenu=null,R.input.reset())};R.detectingSelectAll=setTimeout(Hr,200)}}},fh.prototype.readOnlyChanged=function(k){k||this.reset(),this.textarea.disabled=k=="nocursor",this.textarea.readOnly=!!k},fh.prototype.setUneditable=function(){},fh.prototype.needsContentAttribute=!1,oo(vh),dE(vh);var Qy="iter insert remove copy getEditor constructor".split(" ");for(var Iw in sA.prototype)sA.prototype.hasOwnProperty(Iw)&&Et(Qy,Iw)<0&&(vh.prototype[Iw]=function(k){return function(){return k.apply(this.doc,arguments)}}(sA.prototype[Iw]));return jn(sA),vh.inputStyles={textarea:fh,contenteditable:Jo},vh.defineMode=function(k){vh.defaults.mode||k=="null"||(vh.defaults.mode=k),nu.apply(this,arguments)},vh.defineMIME=Oh,vh.defineMode("null",function(){return{token:function(k){return k.skipToEnd()}}}),vh.defineMIME("text/plain","null"),vh.defineExtension=function(k,S){vh.prototype[k]=S},vh.defineDocExtension=function(k,S){sA.prototype[k]=S},vh.fromTextArea=Mw,cA(vh),vh.version="5.58.2",vh}()});il(function(r,i){var o,l,h;l={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},h={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},(o=Ip).defineMode("xml",function(g,d){var b,w,x=g.indentUnit,C={},B=d.htmlMode?l:h;for(var L in B)C[L]=B[L];for(var L in d)C[L]=d[L];function M(Y,Ee){function fe($e){return Ee.tokenize=$e,$e(Y,Ee)}var ce=Y.next();return ce=="<"?Y.eat("!")?Y.eat("[")?Y.match("CDATA[")?fe(W("atom","]]>")):null:Y.match("--")?fe(W("comment","-->")):Y.match("DOCTYPE",!0,!0)?(Y.eatWhile(/[\w\._\-]/),fe(Q(1))):null:Y.eat("?")?(Y.eatWhile(/[\w\._\-]/),Ee.tokenize=W("meta","?>"),"meta"):(b=Y.eat("/")?"closeTag":"openTag",Ee.tokenize=P,"tag bracket"):ce=="&"?(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 P(Y,Ee){var fe=Y.next();if(fe==">"||fe=="/"&&Y.eat(">"))return Ee.tokenize=M,b=fe==">"?"endTag":"selfcloseTag","tag bracket";if(fe=="=")return b="equals",null;if(fe=="<"){Ee.tokenize=M,Ee.state=ae,Ee.tagName=Ee.tagStart=null;var ce=Ee.tokenize(Y,Ee);return ce?ce+" tag error":"tag error"}return/[\'\"]/.test(fe)?(Ee.tokenize=z(fe),Ee.stringStartCol=Y.column(),Ee.tokenize(Y,Ee)):(Y.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function z(Y){var Ee=function(fe,ce){for(;!fe.eol();)if(fe.next()==Y){ce.tokenize=P;break}return"string"};return Ee.isInAttribute=!0,Ee}function W(Y,Ee){return function(fe,ce){for(;!fe.eol();){if(fe.match(Ee)){ce.tokenize=M;break}fe.next()}return Y}}function Q(Y){return function(Ee,fe){for(var ce;(ce=Ee.next())!=null;){if(ce=="<")return fe.tokenize=Q(Y+1),fe.tokenize(Ee,fe);if(ce==">"){if(Y==1){fe.tokenize=M;break}return fe.tokenize=Q(Y-1),fe.tokenize(Ee,fe)}}return"meta"}}function V(Y,Ee,fe){this.prev=Y.context,this.tagName=Ee,this.indent=Y.indented,this.startOfLine=fe,(C.doNotIndent.hasOwnProperty(Ee)||Y.context&&Y.context.noIndent)&&(this.noIndent=!0)}function oe(Y){Y.context&&(Y.context=Y.context.prev)}function G(Y,Ee){for(var fe;;){if(!Y.context||(fe=Y.context.tagName,!C.contextGrabbers.hasOwnProperty(fe)||!C.contextGrabbers[fe].hasOwnProperty(Ee)))return;oe(Y)}}function ae(Y,Ee,fe){return Y=="openTag"?(fe.tagStart=Ee.column(),ne):Y=="closeTag"?de:ae}function ne(Y,Ee,fe){return Y=="word"?(fe.tagName=Ee.current(),w="tag",ve):C.allowMissingTagName&&Y=="endTag"?(w="tag bracket",ve(Y,Ee,fe)):(w="error",ne)}function de(Y,Ee,fe){if(Y=="word"){var ce=Ee.current();return fe.context&&fe.context.tagName!=ce&&C.implicitlyClosed.hasOwnProperty(fe.context.tagName)&&oe(fe),fe.context&&fe.context.tagName==ce||C.matchClosing===!1?(w="tag",Ae):(w="tag error",le)}return C.allowMissingTagName&&Y=="endTag"?(w="tag bracket",Ae(Y,Ee,fe)):(w="error",le)}function Ae(Y,Ee,fe){return Y!="endTag"?(w="error",Ae):(oe(fe),ae)}function le(Y,Ee,fe){return w="error",Ae(Y,Ee,fe)}function ve(Y,Ee,fe){if(Y=="word")return w="attribute",me;if(Y=="endTag"||Y=="selfcloseTag"){var ce=fe.tagName,$e=fe.tagStart;return fe.tagName=fe.tagStart=null,Y=="selfcloseTag"||C.autoSelfClosers.hasOwnProperty(ce)?G(fe,ce):(G(fe,ce),fe.context=new V(fe,ce,$e==fe.indented)),ae}return w="error",ve}function me(Y,Ee,fe){return Y=="equals"?ee:(C.allowMissing||(w="error"),ve(Y,Ee,fe))}function ee(Y,Ee,fe){return Y=="string"?ye:Y=="word"&&C.allowUnquoted?(w="string",ve):(w="error",ve(Y,Ee,fe))}function ye(Y,Ee,fe){return Y=="string"?ye:ve(Y,Ee,fe)}return M.isInText=!0,{startState:function(Y){var Ee={tokenize:M,state:ae,indented:Y||0,tagName:null,tagStart:null,context:null};return Y!=null&&(Ee.baseIndent=Y),Ee},token:function(Y,Ee){if(!Ee.tagName&&Y.sol()&&(Ee.indented=Y.indentation()),Y.eatSpace())return null;b=null;var fe=Ee.tokenize(Y,Ee);return(fe||b)&&fe!="comment"&&(w=null,Ee.state=Ee.state(b||fe,Y,Ee),w&&(fe=w=="error"?fe+" error":w)),fe},indent:function(Y,Ee,fe){var ce=Y.context;if(Y.tokenize.isInAttribute)return Y.tagStart==Y.indented?Y.stringStartCol+1:Y.indented+x;if(ce&&ce.noIndent)return o.Pass;if(Y.tokenize!=P&&Y.tokenize!=M)return fe?fe.match(/^(\s*)/)[0].length:0;if(Y.tagName)return C.multilineTagIndentPastTag!==!1?Y.tagStart+Y.tagName.length+2:Y.tagStart+x*(C.multilineTagIndentFactor||1);if(C.alignCDATA&&/$/,blockCommentStart:"",configuration:C.htmlMode?"html":"xml",helperType:C.htmlMode?"html":"xml",skipAttribute:function(Y){Y.state==ee&&(Y.state=ve)},xmlCurrentTag:function(Y){return Y.tagName?{name:Y.tagName,close:Y.type=="closeTag"}:null},xmlCurrentContext:function(Y){for(var Ee=[],fe=Y.context;fe;fe=fe.prev)fe.tagName&&Ee.push(fe.tagName);return Ee.reverse()}}}),o.defineMIME("text/xml","xml"),o.defineMIME("application/xml","xml"),o.mimeModes.hasOwnProperty("text/html")||o.defineMIME("text/html",{name:"xml",htmlMode:!0})}),il(function(r,i){(function(o){o.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 l=0;l-1&&g.substring(w+1,g.length);if(x)return o.findModeByExtension(x)},o.findModeByName=function(g){g=g.toLowerCase();for(var d=0;d` "'(~:]+/,W=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Q=/^\s*\[[^\]]+?\]:.*$/,V=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,oe=" ";function G(Qe,Le,ht){return Le.f=Le.inline=ht,ht(Qe,Le)}function ae(Qe,Le,ht){return Le.f=Le.block=ht,ht(Qe,Le)}function ne(Qe){return!Qe||!/\S/.test(Qe.string)}function de(Qe){if(Qe.linkTitle=!1,Qe.linkHref=!1,Qe.linkText=!1,Qe.em=!1,Qe.strong=!1,Qe.strikethrough=!1,Qe.quote=0,Qe.indentedCode=!1,Qe.f==le){var Le=d;if(!Le){var ht=o.innerMode(g,Qe.htmlState);Le=ht.mode.name=="xml"&&ht.state.tagStart===null&&!ht.state.context&&ht.state.tokenize.isInText}Le&&(Qe.f=ye,Qe.block=Ae,Qe.htmlState=null)}return Qe.trailingSpace=0,Qe.trailingSpaceNewLine=!1,Qe.prevLine=Qe.thisLine,Qe.thisLine={stream:null},null}function Ae(Qe,Le){var ht=Qe.column()===Le.indentation,Rt=ne(Le.prevLine.stream),Et=Le.indentedCode,Rn=Le.prevLine.hr,xt=Le.list!==!1,on=(Le.listStack[Le.listStack.length-1]||0)+3;Le.indentedCode=!1;var Kt=Le.indentation;if(Le.indentationDiff===null&&(Le.indentationDiff=Le.indentation,xt)){for(Le.list=null;Kt=4&&(Et||Le.prevLine.fencedCodeEnd||Le.prevLine.header||Rt))return Qe.skipToEnd(),Le.indentedCode=!0,w.code;if(Qe.eatSpace())return null;if(ht&&Le.indentation<=on&&(He=Qe.match(M))&&He[1].length<=6)return Le.quote=0,Le.header=He[1].length,Le.thisLine.header=!0,h.highlightFormatting&&(Le.formatting="header"),Le.f=Le.inline,me(Le);if(Le.indentation<=on&&Qe.eat(">"))return Le.quote=ht?1:Le.quote+1,h.highlightFormatting&&(Le.formatting="quote"),Qe.eatSpace(),me(Le);if(!Vt&&!Le.setext&&ht&&Le.indentation<=on&&(He=Qe.match(B))){var lt=He[1]?"ol":"ul";return Le.indentation=Kt+Qe.current().length,Le.list=!0,Le.quote=0,Le.listStack.push(Le.indentation),Le.em=!1,Le.strong=!1,Le.code=!1,Le.strikethrough=!1,h.taskLists&&Qe.match(L,!1)&&(Le.taskList=!0),Le.f=Le.inline,h.highlightFormatting&&(Le.formatting=["list","list-"+lt]),me(Le)}return ht&&Le.indentation<=on&&(He=Qe.match(W,!0))?(Le.quote=0,Le.fencedEndRE=new RegExp(He[1]+"+ *$"),Le.localMode=h.fencedCodeBlockHighlighting&&b(He[2]||h.fencedCodeBlockDefaultMode),Le.localMode&&(Le.localState=o.startState(Le.localMode)),Le.f=Le.block=ve,h.highlightFormatting&&(Le.formatting="code-block"),Le.code=-1,me(Le)):Le.setext||!(Xt&&xt||Le.quote||Le.list!==!1||Le.code||Vt||Q.test(Qe.string))&&(He=Qe.lookAhead(1))&&(He=He.match(P))?(Le.setext?(Le.header=Le.setext,Le.setext=0,Qe.skipToEnd(),h.highlightFormatting&&(Le.formatting="header")):(Le.header=He[0].charAt(0)=="="?1:2,Le.setext=Le.header),Le.thisLine.header=!0,Le.f=Le.inline,me(Le)):Vt?(Qe.skipToEnd(),Le.hr=!0,Le.thisLine.hr=!0,w.hr):Qe.peek()==="["?G(Qe,Le,$e):G(Qe,Le,Le.inline)}function le(Qe,Le){var ht=g.token(Qe,Le.htmlState);if(!d){var Rt=o.innerMode(g,Le.htmlState);(Rt.mode.name=="xml"&&Rt.state.tagStart===null&&!Rt.state.context&&Rt.state.tokenize.isInText||Le.md_inside&&Qe.current().indexOf(">")>-1)&&(Le.f=ye,Le.block=Ae,Le.htmlState=null)}return ht}function ve(Qe,Le){var ht,Rt=Le.listStack[Le.listStack.length-1]||0,Et=Le.indentation=Qe.quote?Le.push(w.formatting+"-"+Qe.formatting[ht]+"-"+Qe.quote):Le.push("error"))}if(Qe.taskOpen)return Le.push("meta"),Le.length?Le.join(" "):null;if(Qe.taskClosed)return Le.push("property"),Le.length?Le.join(" "):null;if(Qe.linkHref?Le.push(w.linkHref,"url"):(Qe.strong&&Le.push(w.strong),Qe.em&&Le.push(w.em),Qe.strikethrough&&Le.push(w.strikethrough),Qe.emoji&&Le.push(w.emoji),Qe.linkText&&Le.push(w.linkText),Qe.code&&Le.push(w.code),Qe.image&&Le.push(w.image),Qe.imageAltText&&Le.push(w.imageAltText,"link"),Qe.imageMarker&&Le.push(w.imageMarker)),Qe.header&&Le.push(w.header,w.header+"-"+Qe.header),Qe.quote&&(Le.push(w.quote),!h.maxBlockquoteDepth||h.maxBlockquoteDepth>=Qe.quote?Le.push(w.quote+"-"+Qe.quote):Le.push(w.quote+"-"+h.maxBlockquoteDepth)),Qe.list!==!1){var Rt=(Qe.listStack.length-1)%3;Rt?Rt===1?Le.push(w.list2):Le.push(w.list3):Le.push(w.list1)}return Qe.trailingSpaceNewLine?Le.push("trailing-space-new-line"):Qe.trailingSpace&&Le.push("trailing-space-"+(Qe.trailingSpace%2?"a":"b")),Le.length?Le.join(" "):null}function ee(Qe,Le){if(Qe.match(z,!0))return me(Le)}function ye(Qe,Le){var ht=Le.text(Qe,Le);if(ht!==void 0)return ht;if(Le.list)return Le.list=null,me(Le);if(Le.taskList)return Qe.match(L,!0)[1]===" "?Le.taskOpen=!0:Le.taskClosed=!0,h.highlightFormatting&&(Le.formatting="task"),Le.taskList=!1,me(Le);if(Le.taskOpen=!1,Le.taskClosed=!1,Le.header&&Qe.match(/^#+$/,!0))return h.highlightFormatting&&(Le.formatting="header"),me(Le);var Rt=Qe.next();if(Le.linkTitle){Le.linkTitle=!1;var Et=Rt;Rt==="("&&(Et=")");var Rn="^\\s*(?:[^"+(Et=(Et+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+Et;if(Qe.match(new RegExp(Rn),!0))return w.linkHref}if(Rt==="`"){var xt=Le.formatting;h.highlightFormatting&&(Le.formatting="code"),Qe.eatWhile("`");var on=Qe.current().length;if(Le.code!=0||Le.quote&&on!=1){if(on==Le.code){var Kt=me(Le);return Le.code=0,Kt}return Le.formatting=xt,me(Le)}return Le.code=on,me(Le)}if(Le.code)return me(Le);if(Rt==="\\"&&(Qe.next(),h.highlightFormatting)){var Xt=me(Le),Vt=w.formatting+"-escape";return Xt?Xt+" "+Vt:Vt}if(Rt==="!"&&Qe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Le.imageMarker=!0,Le.image=!0,h.highlightFormatting&&(Le.formatting="image"),me(Le);if(Rt==="["&&Le.imageMarker&&Qe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Le.imageMarker=!1,Le.imageAltText=!0,h.highlightFormatting&&(Le.formatting="image"),me(Le);if(Rt==="]"&&Le.imageAltText){h.highlightFormatting&&(Le.formatting="image");var Xt=me(Le);return Le.imageAltText=!1,Le.image=!1,Le.inline=Le.f=Ee,Xt}if(Rt==="["&&!Le.image)return Le.linkText&&Qe.match(/^.*?\]/)||(Le.linkText=!0,h.highlightFormatting&&(Le.formatting="link")),me(Le);if(Rt==="]"&&Le.linkText){h.highlightFormatting&&(Le.formatting="link");var Xt=me(Le);return Le.linkText=!1,Le.inline=Le.f=Qe.match(/\(.*?\)| ?\[.*?\]/,!1)?Ee:ye,Xt}if(Rt==="<"&&Qe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return Le.f=Le.inline=Y,h.highlightFormatting&&(Le.formatting="link"),(Xt=me(Le))?Xt+=" ":Xt="",Xt+w.linkInline;if(Rt==="<"&&Qe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return Le.f=Le.inline=Y,h.highlightFormatting&&(Le.formatting="link"),(Xt=me(Le))?Xt+=" ":Xt="",Xt+w.linkEmail;if(h.xml&&Rt==="<"&&Qe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var He=Qe.string.indexOf(">",Qe.pos);if(He!=-1){var lt=Qe.string.substring(Qe.start,He);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(lt)&&(Le.md_inside=!0)}return Qe.backUp(1),Le.htmlState=o.startState(g),ae(Qe,Le,le)}if(h.xml&&Rt==="<"&&Qe.match(/^\/\w*?>/))return Le.md_inside=!1,"tag";if(Rt==="*"||Rt==="_"){for(var Ke=1,mn=Qe.pos==1?" ":Qe.string.charAt(Qe.pos-2);Ke<3&&Qe.eat(Rt);)Ke++;var je=Qe.peek()||" ",zt=!/\s/.test(je)&&(!V.test(je)||/\s/.test(mn)||V.test(mn)),pt=!/\s/.test(mn)&&(!V.test(mn)||/\s/.test(je)||V.test(je)),sn=null,cn=null;if(Ke%2&&(Le.em||!zt||Rt!=="*"&&pt&&!V.test(mn)?Le.em!=Rt||!pt||Rt!=="*"&&zt&&!V.test(je)||(sn=!1):sn=!0),Ke>1&&(Le.strong||!zt||Rt!=="*"&&pt&&!V.test(mn)?Le.strong!=Rt||!pt||Rt!=="*"&&zt&&!V.test(je)||(cn=!1):cn=!0),cn!=null||sn!=null)return h.highlightFormatting&&(Le.formatting=sn==null?"strong":cn==null?"em":"strong em"),sn===!0&&(Le.em=Rt),cn===!0&&(Le.strong=Rt),Kt=me(Le),sn===!1&&(Le.em=!1),cn===!1&&(Le.strong=!1),Kt}else if(Rt===" "&&(Qe.eat("*")||Qe.eat("_"))){if(Qe.peek()===" ")return me(Le);Qe.backUp(1)}if(h.strikethrough){if(Rt==="~"&&Qe.eatWhile(Rt)){if(Le.strikethrough)return h.highlightFormatting&&(Le.formatting="strikethrough"),Kt=me(Le),Le.strikethrough=!1,Kt;if(Qe.match(/^[^\s]/,!1))return Le.strikethrough=!0,h.highlightFormatting&&(Le.formatting="strikethrough"),me(Le)}else if(Rt===" "&&Qe.match(/^~~/,!0)){if(Qe.peek()===" ")return me(Le);Qe.backUp(2)}}if(h.emoji&&Rt===":"&&Qe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Le.emoji=!0,h.highlightFormatting&&(Le.formatting="emoji");var xn=me(Le);return Le.emoji=!1,xn}return Rt===" "&&(Qe.match(/^ +$/,!1)?Le.trailingSpace++:Le.trailingSpace&&(Le.trailingSpaceNewLine=!0)),me(Le)}function Y(Qe,Le){if(Qe.next()===">"){Le.f=Le.inline=ye,h.highlightFormatting&&(Le.formatting="link");var ht=me(Le);return ht?ht+=" ":ht="",ht+w.linkInline}return Qe.match(/^[^>]+/,!0),w.linkInline}function Ee(Qe,Le){if(Qe.eatSpace())return null;var ht=Qe.next();return ht==="("||ht==="["?(Le.f=Le.inline=ce(ht==="("?")":"]"),h.highlightFormatting&&(Le.formatting="link-string"),Le.linkHref=!0,me(Le)):"error"}var fe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ce(Qe){return function(Le,ht){if(Le.next()===Qe){ht.f=ht.inline=ye,h.highlightFormatting&&(ht.formatting="link-string");var Rt=me(ht);return ht.linkHref=!1,Rt}return Le.match(fe[Qe]),ht.linkHref=!0,me(ht)}}function $e(Qe,Le){return Qe.match(/^([^\]\\]|\\.)*\]:/,!1)?(Le.f=Ye,Qe.next(),h.highlightFormatting&&(Le.formatting="link"),Le.linkText=!0,me(Le)):G(Qe,Le,ye)}function Ye(Qe,Le){if(Qe.match(/^\]:/,!0)){Le.f=Le.inline=ct,h.highlightFormatting&&(Le.formatting="link");var ht=me(Le);return Le.linkText=!1,ht}return Qe.match(/^([^\]\\]|\\.)+/,!0),w.linkText}function ct(Qe,Le){return Qe.eatSpace()?null:(Qe.match(/^[^\s]+/,!0),Qe.peek()===void 0?Le.linkTitle=!0:Qe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Le.f=Le.inline=ye,w.linkHref+" url")}var ot={startState:function(){return{f:Ae,prevLine:{stream:null},thisLine:{stream:null},block:Ae,htmlState:null,indentation:0,inline:ye,text:ee,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(Qe){return{f:Qe.f,prevLine:Qe.prevLine,thisLine:Qe.thisLine,block:Qe.block,htmlState:Qe.htmlState&&o.copyState(g,Qe.htmlState),indentation:Qe.indentation,localMode:Qe.localMode,localState:Qe.localMode?o.copyState(Qe.localMode,Qe.localState):null,inline:Qe.inline,text:Qe.text,formatting:!1,linkText:Qe.linkText,linkTitle:Qe.linkTitle,linkHref:Qe.linkHref,code:Qe.code,em:Qe.em,strong:Qe.strong,strikethrough:Qe.strikethrough,emoji:Qe.emoji,header:Qe.header,setext:Qe.setext,hr:Qe.hr,taskList:Qe.taskList,list:Qe.list,listStack:Qe.listStack.slice(0),quote:Qe.quote,indentedCode:Qe.indentedCode,trailingSpace:Qe.trailingSpace,trailingSpaceNewLine:Qe.trailingSpaceNewLine,md_inside:Qe.md_inside,fencedEndRE:Qe.fencedEndRE}},token:function(Qe,Le){if(Le.formatting=!1,Qe!=Le.thisLine.stream){if(Le.header=0,Le.hr=!1,Qe.match(/^\s*$/,!0))return de(Le),null;if(Le.prevLine=Le.thisLine,Le.thisLine={stream:Qe},Le.taskList=!1,Le.trailingSpace=0,Le.trailingSpaceNewLine=!1,!Le.localState&&(Le.f=Le.block,Le.f!=le)){var ht=Qe.match(/^\s*/,!0)[0].replace(/\t/g,oe).length;if(Le.indentation=ht,Le.indentationDiff=null,ht>0)return null}}return Le.f(Qe,Le)},innerMode:function(Qe){return Qe.block==le?{state:Qe.htmlState,mode:g}:Qe.localState?{state:Qe.localState,mode:Qe.localMode}:{state:Qe,mode:ot}},indent:function(Qe,Le,ht){return Qe.block==le&&g.indent?g.indent(Qe.htmlState,Le,ht):Qe.localState&&Qe.localMode.indent?Qe.localMode.indent(Qe.localState,Le,ht):o.Pass},blankLine:de,getType:me,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return ot},"xml"),o.defineMIME("text/markdown","markdown"),o.defineMIME("text/x-markdown","markdown")}),il(function(r,i){var o;(o=Ip).overlayMode=function(l,h,g){return{startState:function(){return{base:o.startState(l),overlay:o.startState(h),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(d){return{base:o.copyState(l,d.base),overlay:o.copyState(h,d.overlay),basePos:d.basePos,baseCur:null,overlayPos:d.overlayPos,overlayCur:null}},token:function(d,b){return(d!=b.streamSeen||Math.min(b.basePos,b.overlayPos)]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i,(o=Ip).defineMode("gfm",function(h,g){var d=0;function b(B){return B.code=!1,null}var w={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(B){return{code:B.code,codeBlock:B.codeBlock,ateSpace:B.ateSpace}},token:function(B,L){if(L.combineTokens=null,L.codeBlock)return B.match(/^```+/)?(L.codeBlock=!1,null):(B.skipToEnd(),null);if(B.sol()&&(L.code=!1),B.sol()&&B.match(/^```+/))return B.skipToEnd(),L.codeBlock=!0,null;if(B.peek()==="`"){B.next();var M=B.pos;B.eatWhile("`");var P=1+B.pos-M;return L.code?P===d&&(L.code=!1):(d=P,L.code=!0),null}return L.code?(B.next(),null):B.eatSpace()?(L.ateSpace=!0,null):(B.sol()||L.ateSpace)&&(L.ateSpace=!1,g.gitHubSpice!==!1)&&(B.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)||B.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))||B.match(l)&&B.string.slice(B.start-2,B.start)!="]("&&(B.start==0||/\W/.test(B.string.charAt(B.start-1)))?(L.combineTokens=!0,"link"):(B.next(),null)},blankLine:b},x={taskLists:!0,strikethrough:!0,emoji:!0};for(var C in g)x[C]=g[C];return x.name="markdown",o.overlayMode(o.getMode(h,x),w)},"markdown"),o.defineMIME("text/x-gfm","gfm")}),il(function(r,i){(function(o){var l=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,h=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,g=/[*+-]\s/;function d(b,w){var x=w.line,C=0,B=0,L=l.exec(b.getLine(x)),M=L[1];do{var P=x+(C+=1),z=b.getLine(P),W=l.exec(z);if(W){var Q=W[1],V=parseInt(L[3],10)+C-B,oe=parseInt(W[3],10),G=oe;if(M!==Q||isNaN(oe)){if(M.length>Q.length||M.lengthoe&&(G=V+1),b.replaceRange(z.replace(l,Q+G+W[4]+W[5]),{line:P,ch:0},{line:P,ch:z.length})}}while(W)}o.commands.newlineAndIndentContinueMarkdownList=function(b){if(b.getOption("disableInput"))return o.Pass;for(var w=b.listSelections(),x=[],C=0;C\s*$/.test(W),G=!/>\s*$/.test(W);(oe||G)&&b.replaceRange("",{line:B.line,ch:0},{line:B.line,ch:B.ch+1}),x[C]=` `}else{var ae=Q[1],ne=Q[5],de=!(g.test(Q[2])||Q[2].indexOf(">")>=0),Ae=de?parseInt(Q[3],10)+1+Q[4]:Q[2].replace("x"," ");x[C]=` -`+ae+Ae+ne,de&&d(b,B)}}b.replaceSelections(x)}})(Fp)});il(function(r,i){(function(o){var l=o.Pos;function h(Q,V){return Q.line-V.line||Q.ch-V.ch}var g="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("<(/?)(["+g+"]["+g+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function b(Q,V,oe,G){this.line=V,this.ch=oe,this.cm=Q,this.text=Q.getLine(V),this.min=G?Math.max(G.from,Q.firstLine()):Q.firstLine(),this.max=G?Math.min(G.to-1,Q.lastLine()):Q.lastLine()}function w(Q,V){var oe=Q.cm.getTokenTypeAt(l(Q.line,V));return oe&&/\btag\b/.test(oe)}function x(Q){if(!(Q.line>=Q.max))return Q.ch=0,Q.text=Q.cm.getLine(++Q.line),!0}function C(Q){if(!(Q.line<=Q.min))return Q.text=Q.cm.getLine(--Q.line),Q.ch=Q.text.length,!0}function B(Q){for(;;){var V=Q.text.indexOf(">",Q.ch);if(V==-1){if(x(Q))continue;return}if(w(Q,V+1)){var oe=Q.text.lastIndexOf("/",V),G=oe>-1&&!/\S/.test(Q.text.slice(oe+1,V));return Q.ch=V+1,G?"selfClose":"regular"}Q.ch=V+1}}function L(Q){for(;;){var V=Q.ch?Q.text.lastIndexOf("<",Q.ch-1):-1;if(V==-1){if(C(Q))continue;return}if(w(Q,V+1)){d.lastIndex=V,Q.ch=V;var oe=d.exec(Q.text);if(oe&&oe.index==V)return oe}else Q.ch=V}}function I(Q){for(;;){d.lastIndex=Q.ch;var V=d.exec(Q.text);if(!V){if(x(Q))continue;return}if(w(Q,V.index+1))return Q.ch=V.index+V[0].length,V;Q.ch=V.index+1}}function P(Q){for(;;){var V=Q.ch?Q.text.lastIndexOf(">",Q.ch-1):-1;if(V==-1){if(C(Q))continue;return}if(w(Q,V+1)){var oe=Q.text.lastIndexOf("/",V),G=oe>-1&&!/\S/.test(Q.text.slice(oe+1,V));return Q.ch=V+1,G?"selfClose":"regular"}Q.ch=V}}function z(Q,V){for(var oe=[];;){var G,ae=I(Q),ne=Q.line,de=Q.ch-(ae?ae[0].length:0);if(!ae||!(G=B(Q)))return;if(G!="selfClose")if(ae[1]){for(var Ae=oe.length-1;Ae>=0;--Ae)if(oe[Ae]==ae[2]){oe.length=Ae;break}if(Ae<0&&(!V||V==ae[2]))return{tag:ae[2],from:l(ne,de),to:l(Q.line,Q.ch)}}else oe.push(ae[2])}}function W(Q,V){for(var oe=[];;){var G=P(Q);if(!G)return;if(G!="selfClose"){var ae=Q.line,ne=Q.ch,de=L(Q);if(!de)return;if(de[1])oe.push(de[2]);else{for(var Ae=oe.length-1;Ae>=0;--Ae)if(oe[Ae]==de[2]){oe.length=Ae;break}if(Ae<0&&(!V||V==de[2]))return{tag:de[2],from:l(Q.line,Q.ch),to:l(ae,ne)}}}else L(Q)}}o.registerHelper("fold","xml",function(Q,V){for(var oe=new b(Q,V.line,0);;){var G=I(oe);if(!G||oe.line!=V.line)return;var ae=B(oe);if(!ae)return;if(!G[1]&&ae!="selfClose"){var ne=l(oe.line,oe.ch),de=z(oe,G[2]);return de&&h(de.from,ne)>0?{from:ne,to:de.from}:null}}}),o.findMatchingTag=function(Q,V,oe){var G=new b(Q,V.line,V.ch,oe);if(G.text.indexOf(">")!=-1||G.text.indexOf("<")!=-1){var ae=B(G),ne=ae&&l(G.line,G.ch),de=ae&&L(G);if(ae&&de&&!(h(G,V)>0)){var Ae={from:l(G.line,G.ch),to:ne,tag:de[2]};return ae=="selfClose"?{open:Ae,close:null,at:"open"}:de[1]?{open:W(G,de[2]),close:Ae,at:"close"}:{open:Ae,close:z(G=new b(Q,ne.line,ne.ch,oe),de[2]),at:"open"}}}},o.findEnclosingTag=function(Q,V,oe,G){for(var ae=new b(Q,V.line,V.ch,oe);;){var ne=W(ae,G);if(!ne)break;var de=z(new b(Q,V.line,V.ch,oe),ne.tag);if(de)return{open:ne,close:de}}},o.scanForClosingTag=function(Q,V,oe,G){return z(new b(Q,V.line,V.ch,G?{from:0,to:G}:null),oe)}})(Fp)});il(function(r,i){(function(o){o.defineOption("autoCloseTags",!1,function(C,B,L){if(L!=o.Init&&L&&C.removeKeyMap("autoCloseTags"),B){var I={name:"autoCloseTags"};typeof B=="object"&&B.whenClosing===!1||(I["'/'"]=function(P){return b(P)}),typeof B=="object"&&B.whenOpening===!1||(I["'>'"]=function(P){return g(P)}),C.addKeyMap(I)}});var l=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],h=["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 g(C){if(C.getOption("disableInput"))return o.Pass;for(var B=C.listSelections(),L=[],I=C.getOption("autoCloseTags"),P=0;Pz.ch&&(G=G.slice(0,G.length-W.end+z.ch));var Ae=G.toLowerCase();if(!G||W.type=="string"&&(W.end!=z.ch||!/[\"\']/.test(W.string.charAt(W.string.length-1))||W.string.length==1)||W.type=="tag"&&oe.close||W.string.indexOf("/")==z.ch-W.start-1||ne&&w(ne,Ae)>-1||x(C,Q.mode.xmlCurrentContext&&Q.mode.xmlCurrentContext(V)||[],G,z,!0))return o.Pass;var le=typeof I=="object"&&I.emptyTags;if(le&&w(le,G)>-1)L[P]={text:"/>",newPos:o.Pos(z.line,z.ch+2)};else{var ve=de&&w(de,Ae)>-1;L[P]={indent:ve,text:">"+(ve?` +`+ae+Ae+ne,de&&d(b,B)}}b.replaceSelections(x)}})(Ip)});il(function(r,i){(function(o){var l=o.Pos;function h(Q,V){return Q.line-V.line||Q.ch-V.ch}var g="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("<(/?)(["+g+"]["+g+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function b(Q,V,oe,G){this.line=V,this.ch=oe,this.cm=Q,this.text=Q.getLine(V),this.min=G?Math.max(G.from,Q.firstLine()):Q.firstLine(),this.max=G?Math.min(G.to-1,Q.lastLine()):Q.lastLine()}function w(Q,V){var oe=Q.cm.getTokenTypeAt(l(Q.line,V));return oe&&/\btag\b/.test(oe)}function x(Q){if(!(Q.line>=Q.max))return Q.ch=0,Q.text=Q.cm.getLine(++Q.line),!0}function C(Q){if(!(Q.line<=Q.min))return Q.text=Q.cm.getLine(--Q.line),Q.ch=Q.text.length,!0}function B(Q){for(;;){var V=Q.text.indexOf(">",Q.ch);if(V==-1){if(x(Q))continue;return}if(w(Q,V+1)){var oe=Q.text.lastIndexOf("/",V),G=oe>-1&&!/\S/.test(Q.text.slice(oe+1,V));return Q.ch=V+1,G?"selfClose":"regular"}Q.ch=V+1}}function L(Q){for(;;){var V=Q.ch?Q.text.lastIndexOf("<",Q.ch-1):-1;if(V==-1){if(C(Q))continue;return}if(w(Q,V+1)){d.lastIndex=V,Q.ch=V;var oe=d.exec(Q.text);if(oe&&oe.index==V)return oe}else Q.ch=V}}function M(Q){for(;;){d.lastIndex=Q.ch;var V=d.exec(Q.text);if(!V){if(x(Q))continue;return}if(w(Q,V.index+1))return Q.ch=V.index+V[0].length,V;Q.ch=V.index+1}}function P(Q){for(;;){var V=Q.ch?Q.text.lastIndexOf(">",Q.ch-1):-1;if(V==-1){if(C(Q))continue;return}if(w(Q,V+1)){var oe=Q.text.lastIndexOf("/",V),G=oe>-1&&!/\S/.test(Q.text.slice(oe+1,V));return Q.ch=V+1,G?"selfClose":"regular"}Q.ch=V}}function z(Q,V){for(var oe=[];;){var G,ae=M(Q),ne=Q.line,de=Q.ch-(ae?ae[0].length:0);if(!ae||!(G=B(Q)))return;if(G!="selfClose")if(ae[1]){for(var Ae=oe.length-1;Ae>=0;--Ae)if(oe[Ae]==ae[2]){oe.length=Ae;break}if(Ae<0&&(!V||V==ae[2]))return{tag:ae[2],from:l(ne,de),to:l(Q.line,Q.ch)}}else oe.push(ae[2])}}function W(Q,V){for(var oe=[];;){var G=P(Q);if(!G)return;if(G!="selfClose"){var ae=Q.line,ne=Q.ch,de=L(Q);if(!de)return;if(de[1])oe.push(de[2]);else{for(var Ae=oe.length-1;Ae>=0;--Ae)if(oe[Ae]==de[2]){oe.length=Ae;break}if(Ae<0&&(!V||V==de[2]))return{tag:de[2],from:l(Q.line,Q.ch),to:l(ae,ne)}}}else L(Q)}}o.registerHelper("fold","xml",function(Q,V){for(var oe=new b(Q,V.line,0);;){var G=M(oe);if(!G||oe.line!=V.line)return;var ae=B(oe);if(!ae)return;if(!G[1]&&ae!="selfClose"){var ne=l(oe.line,oe.ch),de=z(oe,G[2]);return de&&h(de.from,ne)>0?{from:ne,to:de.from}:null}}}),o.findMatchingTag=function(Q,V,oe){var G=new b(Q,V.line,V.ch,oe);if(G.text.indexOf(">")!=-1||G.text.indexOf("<")!=-1){var ae=B(G),ne=ae&&l(G.line,G.ch),de=ae&&L(G);if(ae&&de&&!(h(G,V)>0)){var Ae={from:l(G.line,G.ch),to:ne,tag:de[2]};return ae=="selfClose"?{open:Ae,close:null,at:"open"}:de[1]?{open:W(G,de[2]),close:Ae,at:"close"}:{open:Ae,close:z(G=new b(Q,ne.line,ne.ch,oe),de[2]),at:"open"}}}},o.findEnclosingTag=function(Q,V,oe,G){for(var ae=new b(Q,V.line,V.ch,oe);;){var ne=W(ae,G);if(!ne)break;var de=z(new b(Q,V.line,V.ch,oe),ne.tag);if(de)return{open:ne,close:de}}},o.scanForClosingTag=function(Q,V,oe,G){return z(new b(Q,V.line,V.ch,G?{from:0,to:G}:null),oe)}})(Ip)});il(function(r,i){(function(o){o.defineOption("autoCloseTags",!1,function(C,B,L){if(L!=o.Init&&L&&C.removeKeyMap("autoCloseTags"),B){var M={name:"autoCloseTags"};typeof B=="object"&&B.whenClosing===!1||(M["'/'"]=function(P){return b(P)}),typeof B=="object"&&B.whenOpening===!1||(M["'>'"]=function(P){return g(P)}),C.addKeyMap(M)}});var l=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],h=["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 g(C){if(C.getOption("disableInput"))return o.Pass;for(var B=C.listSelections(),L=[],M=C.getOption("autoCloseTags"),P=0;Pz.ch&&(G=G.slice(0,G.length-W.end+z.ch));var Ae=G.toLowerCase();if(!G||W.type=="string"&&(W.end!=z.ch||!/[\"\']/.test(W.string.charAt(W.string.length-1))||W.string.length==1)||W.type=="tag"&&oe.close||W.string.indexOf("/")==z.ch-W.start-1||ne&&w(ne,Ae)>-1||x(C,Q.mode.xmlCurrentContext&&Q.mode.xmlCurrentContext(V)||[],G,z,!0))return o.Pass;var le=typeof M=="object"&&M.emptyTags;if(le&&w(le,G)>-1)L[P]={text:"/>",newPos:o.Pos(z.line,z.ch+2)};else{var ve=de&&w(de,Ae)>-1;L[P]={indent:ve,text:">"+(ve?` -`:"")+"",newPos:ve?o.Pos(z.line+1,0):o.Pos(z.line,z.ch+1)}}}var me=typeof I=="object"&&I.dontIndentOnAutoClose;for(P=B.length-1;P>=0;P--){var ee=L[P];C.replaceRange(ee.text,B[P].head,B[P].anchor,"+insert");var ye=C.listSelections().slice(0);ye[P]={head:ee.newPos,anchor:ee.newPos},C.setSelections(ye),!me&&ee.indent&&(C.indentLine(ee.newPos.line,null,!0),C.indentLine(ee.newPos.line+1,null,!0))}}function d(C,B){for(var L=C.listSelections(),I=[],P=B?"/":""&&(ne+=">"),I[Q]=ne}if(C.replaceSelections(I),L=C.listSelections(),!W)for(Q=0;Q=0&&B[V]==L;V--)++Q;for(I=W.to,V=1;VAe);le++){var ve=V.getLine(de++);ae=ae==null?ve:ae+` +`:"")+"",newPos:ve?o.Pos(z.line+1,0):o.Pos(z.line,z.ch+1)}}}var me=typeof M=="object"&&M.dontIndentOnAutoClose;for(P=B.length-1;P>=0;P--){var ee=L[P];C.replaceRange(ee.text,B[P].head,B[P].anchor,"+insert");var ye=C.listSelections().slice(0);ye[P]={head:ee.newPos,anchor:ee.newPos},C.setSelections(ye),!me&&ee.indent&&(C.indentLine(ee.newPos.line,null,!0),C.indentLine(ee.newPos.line+1,null,!0))}}function d(C,B){for(var L=C.listSelections(),M=[],P=B?"/":""&&(ne+=">"),M[Q]=ne}if(C.replaceSelections(M),L=C.listSelections(),!W)for(Q=0;Q=0&&B[V]==L;V--)++Q;for(M=W.to,V=1;VAe);le++){var ve=V.getLine(de++);ae=ae==null?ve:ae+` `+ve}ne*=2,oe.lastIndex=G.ch;var me=oe.exec(ae);if(me){var ee=ae.slice(0,me.index).split(` `),ye=me[0].split(` -`),Y=G.line+ee.length-1,Ee=ee[ee.length-1].length;return{from:g(Y,Ee),to:g(Y+ye.length-1,ye.length==1?Ee+ye[0].length:ye[ye.length-1].length),match:me}}}}function B(V,oe,G){for(var ae,ne=0;ne<=V.length;){oe.lastIndex=ne;var de=oe.exec(V);if(!de)break;var Ae=de.index+de[0].length;if(Ae>V.length-G)break;(!ae||Ae>ae.index+ae[0].length)&&(ae=de),ne=de.index+1}return ae}function L(V,oe,G){oe=b(oe,"g");for(var ae=G.line,ne=G.ch,de=V.firstLine();ae>=de;ae--,ne=-1){var Ae=V.getLine(ae),le=B(Ae,oe,ne<0?0:Ae.length-ne);if(le)return{from:g(ae,le.index),to:g(ae,le.index+le[0].length),match:le}}}function I(V,oe,G){if(!w(oe))return L(V,oe,G);oe=b(oe,"gm");for(var ae,ne=1,de=V.getLine(G.line).length-G.ch,Ae=G.line,le=V.firstLine();Ae>=le;){for(var ve=0;ve=le;ve++){var me=V.getLine(Ae--);ae=ae==null?me:me+` +`),Y=G.line+ee.length-1,Ee=ee[ee.length-1].length;return{from:g(Y,Ee),to:g(Y+ye.length-1,ye.length==1?Ee+ye[0].length:ye[ye.length-1].length),match:me}}}}function B(V,oe,G){for(var ae,ne=0;ne<=V.length;){oe.lastIndex=ne;var de=oe.exec(V);if(!de)break;var Ae=de.index+de[0].length;if(Ae>V.length-G)break;(!ae||Ae>ae.index+ae[0].length)&&(ae=de),ne=de.index+1}return ae}function L(V,oe,G){oe=b(oe,"g");for(var ae=G.line,ne=G.ch,de=V.firstLine();ae>=de;ae--,ne=-1){var Ae=V.getLine(ae),le=B(Ae,oe,ne<0?0:Ae.length-ne);if(le)return{from:g(ae,le.index),to:g(ae,le.index+le[0].length),match:le}}}function M(V,oe,G){if(!w(oe))return L(V,oe,G);oe=b(oe,"gm");for(var ae,ne=1,de=V.getLine(G.line).length-G.ch,Ae=G.line,le=V.firstLine();Ae>=le;){for(var ve=0;ve=le;ve++){var me=V.getLine(Ae--);ae=ae==null?me:me+` `+ae}ne*=2;var ee=B(ae,oe,de);if(ee){var ye=ae.slice(0,ee.index).split(` `),Y=ee[0].split(` -`),Ee=Ae+ye.length,fe=ye[ye.length-1].length;return{from:g(Ee,fe),to:g(Ee+Y.length-1,Y.length==1?fe+Y[0].length:Y[Y.length-1].length),match:ee}}}}function P(V,oe,G,ae){if(V.length==oe.length)return G;for(var ne=0,de=G+Math.max(0,V.length-oe.length);;){if(ne==de)return ne;var Ae=ne+de>>1,le=ae(V.slice(0,Ae)).length;if(le==G)return Ae;le>G?de=Ae:ne=Ae+1}}function z(V,oe,G,ae){if(!oe.length)return null;var ne=ae?l:h,de=ne(oe).split(/\r|\n\r?/);e:for(var Ae=G.line,le=G.ch,ve=V.lastLine()+1-de.length;Ae<=ve;Ae++,le=0){var me=V.getLine(Ae).slice(le),ee=ne(me);if(de.length==1){var ye=ee.indexOf(de[0]);if(ye==-1)continue e;return G=P(me,ee,ye,ne)+le,{from:g(Ae,P(me,ee,ye,ne)+le),to:g(Ae,P(me,ee,ye+de[0].length,ne)+le)}}var Y=ee.length-de[0].length;if(ee.slice(Y)==de[0]){for(var Ee=1;Ee=ve;Ae--,le=-1){var me=V.getLine(Ae);le>-1&&(me=me.slice(0,le));var ee=ne(me);if(de.length==1){var ye=ee.lastIndexOf(de[0]);if(ye==-1)continue e;return{from:g(Ae,P(me,ee,ye,ne)),to:g(Ae,P(me,ee,ye+de[0].length,ne))}}var Y=de[de.length-1];if(ee.slice(0,Y.length)==Y){var Ee=1;for(G=Ae-de.length+1;Ee0);)G.push({anchor:ae.from(),head:ae.to()});G.length&&this.setSelections(G,0)})})(Fp)});il(function(r,i){(function(o){function l(x){x.state.placeholder&&(x.state.placeholder.parentNode.removeChild(x.state.placeholder),x.state.placeholder=null)}function h(x){l(x);var C=x.state.placeholder=document.createElement("pre");C.style.cssText="height: 0; overflow: visible",C.style.direction=x.getOption("direction"),C.className="CodeMirror-placeholder CodeMirror-line-like";var B=x.getOption("placeholder");typeof B=="string"&&(B=document.createTextNode(B)),C.appendChild(B),x.display.lineSpace.insertBefore(C,x.display.lineSpace.firstChild)}function g(x){setTimeout(function(){var C=!1,B=x.getInputField();B.nodeName=="TEXTAREA"?C=!B.value:x.lineCount()==1&&(C=!/[^\u200b]/.test(B.querySelector(".CodeMirror-line").textContent)),C?h(x):l(x)},20)}function d(x){w(x)&&h(x)}function b(x){var C=x.getWrapperElement(),B=w(x);C.className=C.className.replace(" CodeMirror-empty","")+(B?" CodeMirror-empty":""),B?h(x):l(x)}function w(x){return x.lineCount()===1&&x.getLine(0)===""}o.defineOption("placeholder","",function(x,C,B){var L=B&&B!=o.Init;if(C&&!L)x.on("blur",d),x.on("change",b),x.on("swapDoc",b),o.on(x.getInputField(),"compositionupdate",x.state.placeholderCompose=function(){g(x)}),b(x);else if(!C&&L){x.off("blur",d),x.off("change",b),x.off("swapDoc",b),o.off(x.getInputField(),"compositionupdate",x.state.placeholderCompose),l(x);var I=x.getWrapperElement();I.className=I.className.replace(" CodeMirror-empty","")}C&&!x.hasFocus()&&d(x)})})(Fp)});il(function(r,i){(function(o){var l=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),h=o.Pos,g={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function d(B){return B&&B.bracketRegex||/[(){}[\]]/}function b(B,L,I){var P=B.getLineHandle(L.line),z=L.ch-1,W=I&&I.afterCursor;W==null&&(W=/(^| )cm-fat-cursor($| )/.test(B.getWrapperElement().className));var Q=d(I),V=!W&&z>=0&&Q.test(P.text.charAt(z))&&g[P.text.charAt(z)]||Q.test(P.text.charAt(z+1))&&g[P.text.charAt(++z)];if(!V)return null;var oe=V.charAt(1)==">"?1:-1;if(I&&I.strict&&oe>0!=(z==L.ch))return null;var G=B.getTokenTypeAt(h(L.line,z+1)),ae=w(B,h(L.line,z+(oe>0?1:0)),oe,G||null,I);return ae==null?null:{from:h(L.line,z),to:ae&&ae.pos,match:ae&&ae.ch==V.charAt(0),forward:oe>0}}function w(B,L,I,P,z){for(var W=z&&z.maxScanLineLength||1e4,Q=z&&z.maxScanLines||1e3,V=[],oe=d(z),G=I>0?Math.min(L.line+Q,B.lastLine()+1):Math.max(B.firstLine()-1,L.line-Q),ae=L.line;ae!=G;ae+=I){var ne=B.getLine(ae);if(ne){var de=I>0?0:ne.length-1,Ae=I>0?ne.length:-1;if(!(ne.length>W))for(ae==L.line&&(de=L.ch-(I<0?1:0));de!=Ae;de+=I){var le=ne.charAt(de);if(oe.test(le)&&(P===void 0||B.getTokenTypeAt(h(ae,de+1))==P)){var ve=g[le];if(ve&&ve.charAt(1)==">"==I>0)V.push(le);else{if(!V.length)return{pos:h(ae,de),ch:le};V.pop()}}}}}return ae-I!=(I>0?B.lastLine():B.firstLine())&&null}function x(B,L,I){for(var P=B.state.matchBrackets.maxHighlightLineLength||1e3,z=[],W=B.listSelections(),Q=0;Q0&&ae.ch>=de.length)return G.clipPos(h(ae.line+1,0));for(var Ae,le="start",ve=ae.ch,me=ve,ee=ne<0?0:de.length,ye=0;me!=ee;me+=ne,ye++){var Y=de.charAt(ne<0?me-1:me),Ee=Y!="_"&&o.isWordChar(Y)?"w":"o";if(Ee=="w"&&Y.toUpperCase()==Y&&(Ee="W"),le=="start")Ee!="o"?(le="in",Ae=Ee):ve=me+ne;else if(le=="in"&&Ae!=Ee){if(Ae=="w"&&Ee=="W"&&ne<0&&me--,Ae=="W"&&Ee=="w"&&ne>0){if(me==ve+1){Ae="w";continue}me--}break}}return h(ae.line,me)}function d(G,ae){G.extendSelectionsBy(function(ne){return G.display.shift||G.doc.extend||ne.empty()?g(G.doc,ne.head,ae):ae<0?ne.from():ne.to()})}function b(G,ae){if(G.isReadOnly())return o.Pass;G.operation(function(){for(var ne=G.listSelections().length,de=[],Ae=-1,le=0;le=ne&&G.execCommand("goLineUp")}G.scrollTo(null,ae.top-G.defaultTextHeight())},l.scrollLineDown=function(G){var ae=G.getScrollInfo();if(!G.somethingSelected()){var ne=G.lineAtHeight(ae.top,"local")+1;G.getCursor().line<=ne&&G.execCommand("goLineDown")}G.scrollTo(null,ae.top+G.defaultTextHeight())},l.splitSelectionByLine=function(G){for(var ae=G.listSelections(),ne=[],de=0;deAe.line&&ve==le.line&&le.ch==0||ne.push({anchor:ve==Ae.line?Ae:h(ve,0),head:ve==le.line?le:h(ve)});G.setSelections(ne,0)},l.singleSelectionTop=function(G){var ae=G.listSelections()[0];G.setSelection(ae.anchor,ae.head,{scroll:!1})},l.selectLine=function(G){for(var ae=G.listSelections(),ne=[],de=0;de=0;le--){var me=ne[de[le]];if(!(ve&&o.cmpPos(me.head,ve)>0)){var ee=w(G,me.head);ve=ee.from,G.replaceRange(ae(ee.word),ee.from,ee.to)}}})}function W(G){var ae=G.getCursor("from"),ne=G.getCursor("to");if(o.cmpPos(ae,ne)==0){var de=w(G,ae);if(!de.word)return;ae=de.from,ne=de.to}return{from:ae,to:ne,query:G.getRange(ae,ne),word:de}}function Q(G,ae){var ne=W(G);if(ne){var de=ne.query,Ae=G.getSearchCursor(de,ae?ne.to:ne.from);(ae?Ae.findNext():Ae.findPrevious())?G.setSelection(Ae.from(),Ae.to()):(Ae=G.getSearchCursor(de,ae?h(G.firstLine(),0):G.clipPos(h(G.lastLine()))),(ae?Ae.findNext():Ae.findPrevious())?G.setSelection(Ae.from(),Ae.to()):ne.word&&G.setSelection(ne.from,ne.to))}}l.selectScope=function(G){L(G)||G.execCommand("selectAll")},l.selectBetweenBrackets=function(G){if(!L(G))return o.Pass},l.goToBracket=function(G){G.extendSelectionsBy(function(ae){var ne=G.scanForBracket(ae.head,1,I(G.getTokenTypeAt(ae.head)));if(ne&&o.cmpPos(ne.pos,ae.head)!=0)return ne.pos;var de=G.scanForBracket(ae.head,-1,I(G.getTokenTypeAt(h(ae.head.line,ae.head.ch+1))));return de&&h(de.pos.line,de.pos.ch+1)||ae.head})},l.swapLineUp=function(G){if(G.isReadOnly())return o.Pass;for(var ae=G.listSelections(),ne=[],de=G.firstLine()-1,Ae=[],le=0;lede?ne.push(me,ee):ne.length&&(ne[ne.length-1]=ee),de=ee}G.operation(function(){for(var ye=0;yeG.lastLine()?G.replaceRange(` +`),Ee=Ae+ye.length,fe=ye[ye.length-1].length;return{from:g(Ee,fe),to:g(Ee+Y.length-1,Y.length==1?fe+Y[0].length:Y[Y.length-1].length),match:ee}}}}function P(V,oe,G,ae){if(V.length==oe.length)return G;for(var ne=0,de=G+Math.max(0,V.length-oe.length);;){if(ne==de)return ne;var Ae=ne+de>>1,le=ae(V.slice(0,Ae)).length;if(le==G)return Ae;le>G?de=Ae:ne=Ae+1}}function z(V,oe,G,ae){if(!oe.length)return null;var ne=ae?l:h,de=ne(oe).split(/\r|\n\r?/);e:for(var Ae=G.line,le=G.ch,ve=V.lastLine()+1-de.length;Ae<=ve;Ae++,le=0){var me=V.getLine(Ae).slice(le),ee=ne(me);if(de.length==1){var ye=ee.indexOf(de[0]);if(ye==-1)continue e;return G=P(me,ee,ye,ne)+le,{from:g(Ae,P(me,ee,ye,ne)+le),to:g(Ae,P(me,ee,ye+de[0].length,ne)+le)}}var Y=ee.length-de[0].length;if(ee.slice(Y)==de[0]){for(var Ee=1;Ee=ve;Ae--,le=-1){var me=V.getLine(Ae);le>-1&&(me=me.slice(0,le));var ee=ne(me);if(de.length==1){var ye=ee.lastIndexOf(de[0]);if(ye==-1)continue e;return{from:g(Ae,P(me,ee,ye,ne)),to:g(Ae,P(me,ee,ye+de[0].length,ne))}}var Y=de[de.length-1];if(ee.slice(0,Y.length)==Y){var Ee=1;for(G=Ae-de.length+1;Ee0);)G.push({anchor:ae.from(),head:ae.to()});G.length&&this.setSelections(G,0)})})(Ip)});il(function(r,i){(function(o){function l(x){x.state.placeholder&&(x.state.placeholder.parentNode.removeChild(x.state.placeholder),x.state.placeholder=null)}function h(x){l(x);var C=x.state.placeholder=document.createElement("pre");C.style.cssText="height: 0; overflow: visible",C.style.direction=x.getOption("direction"),C.className="CodeMirror-placeholder CodeMirror-line-like";var B=x.getOption("placeholder");typeof B=="string"&&(B=document.createTextNode(B)),C.appendChild(B),x.display.lineSpace.insertBefore(C,x.display.lineSpace.firstChild)}function g(x){setTimeout(function(){var C=!1,B=x.getInputField();B.nodeName=="TEXTAREA"?C=!B.value:x.lineCount()==1&&(C=!/[^\u200b]/.test(B.querySelector(".CodeMirror-line").textContent)),C?h(x):l(x)},20)}function d(x){w(x)&&h(x)}function b(x){var C=x.getWrapperElement(),B=w(x);C.className=C.className.replace(" CodeMirror-empty","")+(B?" CodeMirror-empty":""),B?h(x):l(x)}function w(x){return x.lineCount()===1&&x.getLine(0)===""}o.defineOption("placeholder","",function(x,C,B){var L=B&&B!=o.Init;if(C&&!L)x.on("blur",d),x.on("change",b),x.on("swapDoc",b),o.on(x.getInputField(),"compositionupdate",x.state.placeholderCompose=function(){g(x)}),b(x);else if(!C&&L){x.off("blur",d),x.off("change",b),x.off("swapDoc",b),o.off(x.getInputField(),"compositionupdate",x.state.placeholderCompose),l(x);var M=x.getWrapperElement();M.className=M.className.replace(" CodeMirror-empty","")}C&&!x.hasFocus()&&d(x)})})(Ip)});il(function(r,i){(function(o){var l=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),h=o.Pos,g={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function d(B){return B&&B.bracketRegex||/[(){}[\]]/}function b(B,L,M){var P=B.getLineHandle(L.line),z=L.ch-1,W=M&&M.afterCursor;W==null&&(W=/(^| )cm-fat-cursor($| )/.test(B.getWrapperElement().className));var Q=d(M),V=!W&&z>=0&&Q.test(P.text.charAt(z))&&g[P.text.charAt(z)]||Q.test(P.text.charAt(z+1))&&g[P.text.charAt(++z)];if(!V)return null;var oe=V.charAt(1)==">"?1:-1;if(M&&M.strict&&oe>0!=(z==L.ch))return null;var G=B.getTokenTypeAt(h(L.line,z+1)),ae=w(B,h(L.line,z+(oe>0?1:0)),oe,G||null,M);return ae==null?null:{from:h(L.line,z),to:ae&&ae.pos,match:ae&&ae.ch==V.charAt(0),forward:oe>0}}function w(B,L,M,P,z){for(var W=z&&z.maxScanLineLength||1e4,Q=z&&z.maxScanLines||1e3,V=[],oe=d(z),G=M>0?Math.min(L.line+Q,B.lastLine()+1):Math.max(B.firstLine()-1,L.line-Q),ae=L.line;ae!=G;ae+=M){var ne=B.getLine(ae);if(ne){var de=M>0?0:ne.length-1,Ae=M>0?ne.length:-1;if(!(ne.length>W))for(ae==L.line&&(de=L.ch-(M<0?1:0));de!=Ae;de+=M){var le=ne.charAt(de);if(oe.test(le)&&(P===void 0||B.getTokenTypeAt(h(ae,de+1))==P)){var ve=g[le];if(ve&&ve.charAt(1)==">"==M>0)V.push(le);else{if(!V.length)return{pos:h(ae,de),ch:le};V.pop()}}}}}return ae-M!=(M>0?B.lastLine():B.firstLine())&&null}function x(B,L,M){for(var P=B.state.matchBrackets.maxHighlightLineLength||1e3,z=[],W=B.listSelections(),Q=0;Q0&&ae.ch>=de.length)return G.clipPos(h(ae.line+1,0));for(var Ae,le="start",ve=ae.ch,me=ve,ee=ne<0?0:de.length,ye=0;me!=ee;me+=ne,ye++){var Y=de.charAt(ne<0?me-1:me),Ee=Y!="_"&&o.isWordChar(Y)?"w":"o";if(Ee=="w"&&Y.toUpperCase()==Y&&(Ee="W"),le=="start")Ee!="o"?(le="in",Ae=Ee):ve=me+ne;else if(le=="in"&&Ae!=Ee){if(Ae=="w"&&Ee=="W"&&ne<0&&me--,Ae=="W"&&Ee=="w"&&ne>0){if(me==ve+1){Ae="w";continue}me--}break}}return h(ae.line,me)}function d(G,ae){G.extendSelectionsBy(function(ne){return G.display.shift||G.doc.extend||ne.empty()?g(G.doc,ne.head,ae):ae<0?ne.from():ne.to()})}function b(G,ae){if(G.isReadOnly())return o.Pass;G.operation(function(){for(var ne=G.listSelections().length,de=[],Ae=-1,le=0;le=ne&&G.execCommand("goLineUp")}G.scrollTo(null,ae.top-G.defaultTextHeight())},l.scrollLineDown=function(G){var ae=G.getScrollInfo();if(!G.somethingSelected()){var ne=G.lineAtHeight(ae.top,"local")+1;G.getCursor().line<=ne&&G.execCommand("goLineDown")}G.scrollTo(null,ae.top+G.defaultTextHeight())},l.splitSelectionByLine=function(G){for(var ae=G.listSelections(),ne=[],de=0;deAe.line&&ve==le.line&&le.ch==0||ne.push({anchor:ve==Ae.line?Ae:h(ve,0),head:ve==le.line?le:h(ve)});G.setSelections(ne,0)},l.singleSelectionTop=function(G){var ae=G.listSelections()[0];G.setSelection(ae.anchor,ae.head,{scroll:!1})},l.selectLine=function(G){for(var ae=G.listSelections(),ne=[],de=0;de=0;le--){var me=ne[de[le]];if(!(ve&&o.cmpPos(me.head,ve)>0)){var ee=w(G,me.head);ve=ee.from,G.replaceRange(ae(ee.word),ee.from,ee.to)}}})}function W(G){var ae=G.getCursor("from"),ne=G.getCursor("to");if(o.cmpPos(ae,ne)==0){var de=w(G,ae);if(!de.word)return;ae=de.from,ne=de.to}return{from:ae,to:ne,query:G.getRange(ae,ne),word:de}}function Q(G,ae){var ne=W(G);if(ne){var de=ne.query,Ae=G.getSearchCursor(de,ae?ne.to:ne.from);(ae?Ae.findNext():Ae.findPrevious())?G.setSelection(Ae.from(),Ae.to()):(Ae=G.getSearchCursor(de,ae?h(G.firstLine(),0):G.clipPos(h(G.lastLine()))),(ae?Ae.findNext():Ae.findPrevious())?G.setSelection(Ae.from(),Ae.to()):ne.word&&G.setSelection(ne.from,ne.to))}}l.selectScope=function(G){L(G)||G.execCommand("selectAll")},l.selectBetweenBrackets=function(G){if(!L(G))return o.Pass},l.goToBracket=function(G){G.extendSelectionsBy(function(ae){var ne=G.scanForBracket(ae.head,1,M(G.getTokenTypeAt(ae.head)));if(ne&&o.cmpPos(ne.pos,ae.head)!=0)return ne.pos;var de=G.scanForBracket(ae.head,-1,M(G.getTokenTypeAt(h(ae.head.line,ae.head.ch+1))));return de&&h(de.pos.line,de.pos.ch+1)||ae.head})},l.swapLineUp=function(G){if(G.isReadOnly())return o.Pass;for(var ae=G.listSelections(),ne=[],de=G.firstLine()-1,Ae=[],le=0;lede?ne.push(me,ee):ne.length&&(ne[ne.length-1]=ee),de=ee}G.operation(function(){for(var ye=0;yeG.lastLine()?G.replaceRange(` `+fe,h(G.lastLine()),null,"+swapLine"):G.replaceRange(fe+` `,h(Ee,0),null,"+swapLine")}G.setSelections(Ae),G.scrollIntoView()})},l.swapLineDown=function(G){if(G.isReadOnly())return o.Pass;for(var ae=G.listSelections(),ne=[],de=G.lastLine()+1,Ae=ae.length-1;Ae>=0;Ae--){var le=ae[Ae],ve=le.to().line+1,me=le.from().line;le.to().ch!=0||le.empty()||ve--,ve=0;ee-=2){var ye=ne[ee],Y=ne[ee+1],Ee=G.getLine(ye);ye==G.lastLine()?G.replaceRange("",h(ye-1),h(ye),"+swapLine"):G.replaceRange("",h(ye,0),h(ye+1,0),"+swapLine"),G.replaceRange(Ee+` `,h(Y,0),null,"+swapLine")}G.scrollIntoView()})},l.toggleCommentIndented=function(G){G.toggleComment({indent:!0})},l.joinLines=function(G){for(var ae=G.listSelections(),ne=[],de=0;de=0;de--){var Ae=ae[de].head,le=G.getRange({line:Ae.line,ch:0},Ae),ve=o.countColumn(le,null,G.getOption("tabSize")),me=G.findPosH(Ae,-1,"char",!1);if(le&&!/\S/.test(le)&&ve%ne==0){var ee=new h(Ae.line,o.findColumn(le,ve-ne,ne));ee.ch!=Ae.ch&&(me=ee)}G.replaceRange("",me,Ae,"+delete")}})},l.delLineRight=function(G){G.operation(function(){for(var ae=G.listSelections(),ne=ae.length-1;ne>=0;ne--)G.replaceRange("",ae[ne].anchor,h(ae[ne].to().line),"+delete");G.scrollIntoView()})},l.upcaseAtCursor=function(G){z(G,function(ae){return ae.toUpperCase()})},l.downcaseAtCursor=function(G){z(G,function(ae){return ae.toLowerCase()})},l.setSublimeMark=function(G){G.state.sublimeMark&&G.state.sublimeMark.clear(),G.state.sublimeMark=G.setBookmark(G.getCursor())},l.selectToSublimeMark=function(G){var ae=G.state.sublimeMark&&G.state.sublimeMark.find();ae&&G.setSelection(G.getCursor(),ae)},l.deleteToSublimeMark=function(G){var ae=G.state.sublimeMark&&G.state.sublimeMark.find();if(ae){var ne=G.getCursor(),de=ae;if(o.cmpPos(ne,de)>0){var Ae=de;de=ne,ne=Ae}G.state.sublimeKilled=G.getRange(ne,de),G.replaceRange("",ne,de)}},l.swapWithSublimeMark=function(G){var ae=G.state.sublimeMark&&G.state.sublimeMark.find();ae&&(G.state.sublimeMark.clear(),G.state.sublimeMark=G.setBookmark(G.getCursor()),G.setCursor(ae))},l.sublimeYank=function(G){G.state.sublimeKilled!=null&&G.replaceSelection(G.state.sublimeKilled,null,"paste")},l.showInCenter=function(G){var ae=G.cursorCoords(null,"local");G.scrollTo(null,(ae.top+ae.bottom)/2-G.getScrollInfo().clientHeight/2)},l.findUnder=function(G){Q(G,!0)},l.findUnderPrevious=function(G){Q(G,!1)},l.findAllUnder=function(G){var ae=W(G);if(ae){for(var ne=G.getSearchCursor(ae.query),de=[],Ae=-1;ne.findNext();)de.push({anchor:ne.from(),head:ne.to()}),ne.from().line<=ae.from.line&&ne.from().ch<=ae.from.ch&&Ae++;G.setSelections(de,Ae)}};var V=o.keyMap;V.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"},o.normalizeKeyMap(V.macSublime),V.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"},o.normalizeKeyMap(V.pcSublime);var oe=V.default==V.macDefault;V.sublime=oe?V.macSublime:V.pcSublime})(Fp)}),il(function(r,i){(function(o){var l;function h(x){var C=this;function B(me){C.searchBox=me.querySelector(".ace_search_form"),C.replaceBox=me.querySelector(".ace_replace_form"),C.searchOptions=me.querySelector(".ace_search_options"),C.regExpOption=me.querySelector("[action=toggleRegexpMode]"),C.caseSensitiveOption=me.querySelector("[action=toggleCaseSensitive]"),C.wholeWordOption=me.querySelector("[action=toggleWholeWords]"),C.searchInput=C.searchBox.querySelector(".ace_search_field"),C.replaceInput=C.replaceBox.querySelector(".ace_search_field")}function L(){var me=C.element=ve();le(),B(me),I(),me.addEventListener("mousedown",function(ee){setTimeout(function(){C.activeInput.focus()},0),ee.stopPropagation()}),me.addEventListener("click",function(ee){var ye=(ee.target||ee.srcElement).getAttribute("action");ye&&C[ye]?C[ye]():C.commands[ye]&&C.commands[ye](),ee.stopPropagation()}),C.searchInput.addEventListener("input",function(){C.$onChange.schedule(20)}),C.searchInput.addEventListener("focus",function(){C.activeInput=C.searchInput}),C.replaceInput.addEventListener("focus",function(){C.activeInput=C.replaceInput}),C.$onChange=d(function(){C.find(!1,!1)})}function I(){var me=C,ee={"Ctrl-F|Cmd-F|Ctrl-H|Command-Alt-F":function(){var ye=me.isReplace=!me.isReplace;me.replaceBox.style.display=ye?"":"none",me[ye?"replaceInput":"searchInput"].focus()},"Ctrl-G|Cmd-G":function(){me.findNext()},"Ctrl-Shift-G|Cmd-Shift-G":function(){me.findPrev()},Esc:function(){setTimeout(function(){me.hide()})},Enter:function(){me.activeInput===me.replaceInput&&me.replace(),me.findNext()},"Shift-Enter":function(){me.activeInput===me.replaceInput&&me.replace(),me.findPrev()},"Alt-Enter":function(){me.activeInput===me.replaceInput&&me.replaceAll(),me.findAll()},Tab:function(){C.activeInput===C.replaceInput?C.searchInput.focus():C.replaceInput.focus()}};C.element.addEventListener("keydown",function(ye){Object.keys(ee).some(function(Y){var Ee=b(Y,ye);return Ee&&(ye.stopPropagation(),ye.preventDefault(),ee[Y](ye)),Ee})})}function P(me,ee,ye){if(!me)return de(x),void Ae();var Y,Ee,fe,ce,$e,Ye,ct,ot=me,Qe=ee,Le=!0,ht=Qe.caseSensitive,Rt=Qe.regExp,Et=Qe.wholeWord;Rt&&(ot=ot.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")),Et&&(ot=ht?ot=RegExp("\\b"+ot+"\\b"):RegExp("\\b"+ot+"\\b","i")),Rt&&(ot=RegExp(ot)),de(x),z(x,ot,ht),Ae(),ct=Qe.backwards?Qe.skipCurrent?"from":"to":Qe.skipCurrent?"to":"from",Ye=x.getCursor(ct),ce=(fe=x.getSearchCursor(ot,Ye,!ht)).findNext.bind(fe),$e=fe.findPrevious.bind(fe),fe.matches.bind(fe),Qe.backwards&&!$e()?(Le=ce())&&(x.setCursor(x.doc.size-1,0),P(me,ee,ye),Y=!0):Qe.backwards||ce()||(Le=$e())&&(x.setCursor(0,0),P(me,ee,ye),Y=!0),Ee=!Le&&C.searchInput.value,g(C.searchBox,"ace_nomatch",Ee),!Y&&Le&&ye(fe)}function z(me,ee,ye){var Y=ne(me),Ee=ee;Ee&&Ee!==Y.queryText&&(V(me,Y,Ee,ye),Y.posFrom=Y.posTo=me.getCursor())}function W(me){return me.replace(/\\([nrt\\])/g,function(ee,ye){return ye=="n"?` -`:ye=="r"?"\r":ye=="t"?" ":ye=="\\"?"\\":ee})}function Q(me){var ee=(typeof me=="object"?me.toString():me).match(/^\/(.*)\/([a-z]*)$/);if(ee)try{me=new RegExp(ee[1],ee[2].indexOf("i")==-1?"":"i")}catch{}else me=W(me);return(typeof me=="string"?me=="":me.test(""))&&(me=/x^/),me}function V(me,ee,ye,Y){ee.queryText=ye,ee.query=Q(ye),me.removeOverlay(ee.overlay,oe(ee.query,Y)),ee.overlay=G(ee.query,oe(ee.query,Y)),me.addOverlay(ee.overlay),me.showMatchesOnScrollbar&&(ee.annotate&&(ee.annotate.clear(),ee.annotate=null),ee.annotate=me.showMatchesOnScrollbar(ee.query,oe(ee.query,Y)))}function oe(me,ee){return typeof me=="string"&&!ee}function G(me,ee){return typeof me=="string"?me=new RegExp(me.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),ee?"gi":"g"):me.global||(me=new RegExp(me.source,me.ignoreCase?"gi":"g")),{token:function(ye){me.lastIndex=ye.pos;var Y=me.exec(ye.string);if(Y&&Y.index==ye.pos)return ye.pos+=Y[0].length||1,"searching";Y?ye.pos=Y.index:ye.skipToEnd()}}}function ae(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function ne(me){return me.state.search||(me.state.search=new ae)}function de(me){me.operation(function(){var ee=ne(me);ee.lastQuery=ee.query,ee.query&&(ee.query=ee.queryText=null,me.removeOverlay(ee.overlay),ee.annotate&&(ee.annotate.clear(),ee.annotate=null))})}function Ae(){var me,ee=C.searchInput.value,ye=[];ee&&(ee=ee.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),me=C.caseSensitiveOption.checked?RegExp(ee,"g"):RegExp(ee,"gi"),C.wholeWordOption.checked&&(me=C.caseSensitiveOption.checked?RegExp("\\b"+ee+"\\b","g"):RegExp("\\b"+ee+"\\b","gi")),C.regExpOption.checked&&(me=RegExp(ee,"gi")),ye=x.getValue().match(me));var Y=ye?ye.length:0,Ee=x.display.wrapper.parentElement.querySelector(".ace_search_counter");Ee&&(Ee.innerText=Y+" matches found."),Y===0&&x.setSelection({ch:0,line:0},{ch:0,line:0})}function le(){var me=document.createElement("style"),ee=[".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("");me.setAttribute("data-name","js-searchbox"),me.textContent=ee,document.head.appendChild(me)}function ve(){var me,ee=x.getWrapperElement(),ye=document.createElement("div"),Y=['"].join("");return ye.innerHTML=Y,me=ye.firstChild,ee.appendChild(me),me}L(),this.commands={toggleRegexpMode:function(){C.regExpOption.checked=!C.regExpOption.checked,C.$syncOptions()},toggleCaseSensitive:function(){C.caseSensitiveOption.checked=!C.caseSensitiveOption.checked,C.$syncOptions()},toggleWholeWords:function(){C.wholeWordOption.checked=!C.wholeWordOption.checked,C.$syncOptions()}},this.$syncOptions=function(){g(this.regExpOption,"checked",this.regExpOption.checked),g(this.wholeWordOption,"checked",this.wholeWordOption.checked),g(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.find(!1,!1)},this.find=function(me,ee){P(this.searchInput.value,{skipCurrent:me,backwards:ee,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked},function(ye){var Y=ye.matches(!1,ye.from());x.setSelection(Y.from,Y.to)})},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var me=this.searchInput.value,ee=this.searchInput.value;g(this.searchBox,"ace_nomatch",ee),x.showMatchesOnScrollbar&&x.showMatchesOnScrollbar(me),this.hide()},this.replace=function(){var me=x.getOption("readOnly"),ee=!!x.getSelection();!me&&ee&&x.replaceSelection(this.replaceInput.value,"start"),Ae()},this.replaceAndFindNext=function(){x.getOption("readOnly")||(this.replace(),this.findNext())},this.replaceAll=function(){var me,ee,ye=this.searchInput.value,Y=this.replaceInput.value,Ee=RegExp(ye,this.caseSensitiveOption.checked?"g":"gi");this.wholeWordOption.checked&&!this.regExpOption.checked&&(Ee=this.caseSensitiveOption.checked?RegExp("\\b"+ye+"\\b","g"):RegExp("\\b"+ye+"\\b","gi")),!x.getOption("readOnly")&&x.getSelection()&&(ee=x.getCursor(),me=(me=x.getValue()).replace(Ee,Y),x.setValue(me),x.setCursor(ee)),Ae()},this.toggleReplace=function(){var me=x.display.wrapper;me.parentElement.querySelector("[action=toggleReplace]").innerText==="+"?(me.parentElement.querySelector("[action=toggleReplace]").innerText="-",this.replaceBox.style.display="",this.isReplace=!0):(me.parentElement.querySelector("[action=toggleReplace]").innerText="+",this.replaceBox.style.display="none",this.isReplace=!1)},this.hide=function(){de(x);var me=x.getWrapperElement();l=null,me.removeChild(this.element),x.focus()},this.isVisible=function(){return this.element.style.display===""},this.show=function(me,ee){this.element.style.display="",ee||(this.replaceBox.style.display=ee?"":"none"),this.isReplace=ee,me&&(this.searchInput.value=me,this.find(!1,!1)),this.searchInput.focus(),this.searchInput.select()},this.isFocused=function(){var me=document.activeElement;return me===this.searchInput||me===this.replaceInput}}function g(x,C,B){x.classList[B?"add":"remove"](C)}function d(x,C){var B,L=function(){B=null,x()},I=function(P){B||(B=setTimeout(L,P||C))};return I.delay=function(P){B&&clearTimeout(B),B=setTimeout(L,P||C)},I.schedule=I,I.call=function(){this.cancel(),x()},I.cancel=function(){B&&clearTimeout(B),B=null},I.isPending=function(){return B},I}function b(x,C){var B,L={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 w(x,C),B=x.split("|").some(function(I){var P;return P=I.split("-").some(function(z){var W;switch(z){case"Ctrl":W=C.ctrlKey;break;case"Shift":W=C.shiftKey;break;case"Alt":W=C.altKey;break;case"Cmd":W=C.metaKey;break;default:z.length===1?W=C.keyCode===z.charCodeAt(0):Object.keys(L).some(function(Q){z.toUpperCase()===Q&&(W=C.keyCode===L[Q])})}return!W}),!P}),B}function w(x,C){if(typeof x!="string")throw Error("str should be string!");if(typeof C!="object")throw Error("event should be object!")}o.defineOption("searchbox",!1,function(x){x.addKeyMap({"Ctrl-F":function(){var C=x.display.wrapper;l&&C.parentElement.contains(l.searchBox)||(l=new h(x));var B=!1;C.parentElement.querySelector("[action=toggleReplace]")&&(B=C.parentElement.querySelector("[action=toggleReplace]").innerText==="-"),l.show(x.getSelection(),B)},Esc:function(){if(!l||!l.isVisible())return o.Pass;l.hide(),typeof event<"u"&&event.stopPropagation()},"Cmd-F":function(){var C=x.display.wrapper;l&&C.parentElement.contains(l.searchBox)||(l=new h(x));var B=!1;C.parentElement.querySelector("[action=toggleReplace]")&&(B=C.parentElement.querySelector("[action=toggleReplace]").innerText==="-"),l.show(x.getSelection(),B)}})})})(Fp)});il(function(r,i){(function(o){function l(h,g){function d(w){clearTimeout(b.doRedraw),b.doRedraw=setTimeout(function(){b.redraw()},w)}this.cm=h,this.options=g,this.buttonHeight=g.scrollButtonHeight||h.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=h.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var b=this;h.on("refresh",this.resizeHandler=function(){clearTimeout(b.doUpdate),b.doUpdate=setTimeout(function(){b.computeScale()&&d(20)},100)}),h.on("markerAdded",this.resizeHandler),h.on("markerCleared",this.resizeHandler),g.listenForChanges!==!1&&h.on("changes",this.changeHandler=function(){d(250)})}o.defineExtension("annotateScrollbar",function(h){return typeof h=="string"&&(h={className:h}),new l(this,h)}),o.defineOption("scrollButtonHeight",0),l.prototype.computeScale=function(){var h=this.cm,g=(h.getWrapperElement().clientHeight-h.display.barHeight-2*this.buttonHeight)/h.getScrollerElement().scrollHeight;if(g!=this.hScale)return this.hScale=g,!0},l.prototype.update=function(h){this.annotations=h,this.redraw()},l.prototype.redraw=function(h){h!==!1&&this.computeScale();var g=this.cm,d=this.hScale,b=document.createDocumentFragment(),w=this.annotations,x=g.getOption("lineWrapping"),C=x&&1.5*g.defaultTextHeight(),B=null,L=null;function I(ne,de){if(B!=ne.line){B=ne.line,L=g.getLineHandle(ne.line);var Ae=g.getLineHandleVisualStart(L);Ae!=L&&(B=g.getLineNumber(Ae),L=Ae)}return L.widgets&&L.widgets.length||x&&L.height>C?g.charCoords(ne,"local")[de?"top":"bottom"]:g.heightAtLine(L,"local")+(de?0:L.height)}var P=g.lastLine();if(g.display.barWidth)for(var z,W=0;WP)){for(var V=z||I(Q.from,!0)*d,oe=I(Q.to,!1)*d;WP)&&!((z=I(w[W+1].from,!0)*d)>oe+.9);)oe=I((Q=w[++W]).to,!1)*d;if(oe!=V){var G=Math.max(oe-V,3),ae=b.appendChild(document.createElement("div"));ae.style.cssText="position: absolute; right: 0px; width: "+Math.max(g.display.barWidth-1,2)+"px; top: "+(V+this.buttonHeight)+"px; height: "+G+"px",ae.className=this.options.className,Q.id&&ae.setAttribute("annotation-id",Q.id)}}}this.div.textContent="",this.div.appendChild(b)},l.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)}})(Fp)});il(function(r,i){(function(o){function l(d,b,w,x){this.cm=d,this.options=x;var C={listenForChanges:!1};for(var B in x)C[B]=x[B];C.className||(C.className="CodeMirror-search-match"),this.annotation=d.annotateScrollbar(C),this.query=b,this.caseFold=w,this.gap={from:d.firstLine(),to:d.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var L=this;d.on("change",this.changeHandler=function(I,P){L.onChange(P)})}o.defineExtension("showMatchesOnScrollbar",function(d,b,w){return typeof w=="string"&&(w={className:w}),w||(w={}),new l(this,d,b,w)});var h=1e3;function g(d,b,w){return d<=b?d:Math.max(b,d+w)}l.prototype.findMatches=function(){if(this.gap){for(var d=0;d=this.gap.to);d++)x.to.line>=this.gap.from&&this.matches.splice(d--,1);for(var b=this.cm.getSearchCursor(this.query,o.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),w=this.options&&this.options.maxMatches||h;b.findNext();){var x;if((x={from:b.from(),to:b.to()}).from.line>=this.gap.to||(this.matches.splice(d++,0,x),this.matches.length>w))break}this.gap=null}},l.prototype.onChange=function(d){var b=d.from.line,w=o.changeEnd(d).line,x=w-d.to.line;if(this.gap?(this.gap.from=Math.min(g(this.gap.from,b,x),d.from.line),this.gap.to=Math.max(g(this.gap.to,b,x),d.from.line)):this.gap={from:d.from.line,to:w+1},x)for(var C=0;Cr.length)&&(i=r.length);for(var o=0,l=new Array(i);o>>0||(Twn(Q_t,o)?16:10))}:WJ;ma({global:!0,forced:parseInt!=z6t},{parseInt:z6t});var Sb=Gc.parseInt,Bwn=Ai.RangeError;ma({target:"String",proto:!0},{repeat:function(r){var i=Zl(AM(this)),o="",l=jj(r);if(l<0||l==1/0)throw Bwn("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(i+=i))1&l&&(o+=i);return o}});var _wn=Ld("String").repeat,vIe=String.prototype,e1=function(r){var i=r.repeat;return typeof r=="string"||r===vIe||uf(vIe,r)&&i===vIe.repeat?_wn:i},Swn={run:function(r){var i,o="
".concat(r,"
");this.tagParser.formatEngine=this.mdFormatEngine,o=o.replace(//g,"");var l=this.htmlParser.parseHtml(o);return l=this.paragraphStyleClear(l),uo(i=this.$dealHtml(l).replace(/\n{3,}/g,` +`,h(de.head.line,0)):G.replaceRange(G.getRange(de.from(),de.to()),de.from())}G.scrollIntoView()})},l.sortLines=function(G){P(G,!0)},l.sortLinesInsensitive=function(G){P(G,!1)},l.nextBookmark=function(G){var ae=G.state.sublimeBookmarks;if(ae)for(;ae.length;){var ne=ae.shift(),de=ne.find();if(de)return ae.push(ne),G.setSelection(de.from,de.to)}},l.prevBookmark=function(G){var ae=G.state.sublimeBookmarks;if(ae)for(;ae.length;){ae.unshift(ae.pop());var ne=ae[ae.length-1].find();if(ne)return G.setSelection(ne.from,ne.to);ae.pop()}},l.toggleBookmark=function(G){for(var ae=G.listSelections(),ne=G.state.sublimeBookmarks||(G.state.sublimeBookmarks=[]),de=0;de=0;de--){var Ae=ae[de].head,le=G.getRange({line:Ae.line,ch:0},Ae),ve=o.countColumn(le,null,G.getOption("tabSize")),me=G.findPosH(Ae,-1,"char",!1);if(le&&!/\S/.test(le)&&ve%ne==0){var ee=new h(Ae.line,o.findColumn(le,ve-ne,ne));ee.ch!=Ae.ch&&(me=ee)}G.replaceRange("",me,Ae,"+delete")}})},l.delLineRight=function(G){G.operation(function(){for(var ae=G.listSelections(),ne=ae.length-1;ne>=0;ne--)G.replaceRange("",ae[ne].anchor,h(ae[ne].to().line),"+delete");G.scrollIntoView()})},l.upcaseAtCursor=function(G){z(G,function(ae){return ae.toUpperCase()})},l.downcaseAtCursor=function(G){z(G,function(ae){return ae.toLowerCase()})},l.setSublimeMark=function(G){G.state.sublimeMark&&G.state.sublimeMark.clear(),G.state.sublimeMark=G.setBookmark(G.getCursor())},l.selectToSublimeMark=function(G){var ae=G.state.sublimeMark&&G.state.sublimeMark.find();ae&&G.setSelection(G.getCursor(),ae)},l.deleteToSublimeMark=function(G){var ae=G.state.sublimeMark&&G.state.sublimeMark.find();if(ae){var ne=G.getCursor(),de=ae;if(o.cmpPos(ne,de)>0){var Ae=de;de=ne,ne=Ae}G.state.sublimeKilled=G.getRange(ne,de),G.replaceRange("",ne,de)}},l.swapWithSublimeMark=function(G){var ae=G.state.sublimeMark&&G.state.sublimeMark.find();ae&&(G.state.sublimeMark.clear(),G.state.sublimeMark=G.setBookmark(G.getCursor()),G.setCursor(ae))},l.sublimeYank=function(G){G.state.sublimeKilled!=null&&G.replaceSelection(G.state.sublimeKilled,null,"paste")},l.showInCenter=function(G){var ae=G.cursorCoords(null,"local");G.scrollTo(null,(ae.top+ae.bottom)/2-G.getScrollInfo().clientHeight/2)},l.findUnder=function(G){Q(G,!0)},l.findUnderPrevious=function(G){Q(G,!1)},l.findAllUnder=function(G){var ae=W(G);if(ae){for(var ne=G.getSearchCursor(ae.query),de=[],Ae=-1;ne.findNext();)de.push({anchor:ne.from(),head:ne.to()}),ne.from().line<=ae.from.line&&ne.from().ch<=ae.from.ch&&Ae++;G.setSelections(de,Ae)}};var V=o.keyMap;V.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"},o.normalizeKeyMap(V.macSublime),V.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"},o.normalizeKeyMap(V.pcSublime);var oe=V.default==V.macDefault;V.sublime=oe?V.macSublime:V.pcSublime})(Ip)}),il(function(r,i){(function(o){var l;function h(x){var C=this;function B(me){C.searchBox=me.querySelector(".ace_search_form"),C.replaceBox=me.querySelector(".ace_replace_form"),C.searchOptions=me.querySelector(".ace_search_options"),C.regExpOption=me.querySelector("[action=toggleRegexpMode]"),C.caseSensitiveOption=me.querySelector("[action=toggleCaseSensitive]"),C.wholeWordOption=me.querySelector("[action=toggleWholeWords]"),C.searchInput=C.searchBox.querySelector(".ace_search_field"),C.replaceInput=C.replaceBox.querySelector(".ace_search_field")}function L(){var me=C.element=ve();le(),B(me),M(),me.addEventListener("mousedown",function(ee){setTimeout(function(){C.activeInput.focus()},0),ee.stopPropagation()}),me.addEventListener("click",function(ee){var ye=(ee.target||ee.srcElement).getAttribute("action");ye&&C[ye]?C[ye]():C.commands[ye]&&C.commands[ye](),ee.stopPropagation()}),C.searchInput.addEventListener("input",function(){C.$onChange.schedule(20)}),C.searchInput.addEventListener("focus",function(){C.activeInput=C.searchInput}),C.replaceInput.addEventListener("focus",function(){C.activeInput=C.replaceInput}),C.$onChange=d(function(){C.find(!1,!1)})}function M(){var me=C,ee={"Ctrl-F|Cmd-F|Ctrl-H|Command-Alt-F":function(){var ye=me.isReplace=!me.isReplace;me.replaceBox.style.display=ye?"":"none",me[ye?"replaceInput":"searchInput"].focus()},"Ctrl-G|Cmd-G":function(){me.findNext()},"Ctrl-Shift-G|Cmd-Shift-G":function(){me.findPrev()},Esc:function(){setTimeout(function(){me.hide()})},Enter:function(){me.activeInput===me.replaceInput&&me.replace(),me.findNext()},"Shift-Enter":function(){me.activeInput===me.replaceInput&&me.replace(),me.findPrev()},"Alt-Enter":function(){me.activeInput===me.replaceInput&&me.replaceAll(),me.findAll()},Tab:function(){C.activeInput===C.replaceInput?C.searchInput.focus():C.replaceInput.focus()}};C.element.addEventListener("keydown",function(ye){Object.keys(ee).some(function(Y){var Ee=b(Y,ye);return Ee&&(ye.stopPropagation(),ye.preventDefault(),ee[Y](ye)),Ee})})}function P(me,ee,ye){if(!me)return de(x),void Ae();var Y,Ee,fe,ce,$e,Ye,ct,ot=me,Qe=ee,Le=!0,ht=Qe.caseSensitive,Rt=Qe.regExp,Et=Qe.wholeWord;Rt&&(ot=ot.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")),Et&&(ot=ht?ot=RegExp("\\b"+ot+"\\b"):RegExp("\\b"+ot+"\\b","i")),Rt&&(ot=RegExp(ot)),de(x),z(x,ot,ht),Ae(),ct=Qe.backwards?Qe.skipCurrent?"from":"to":Qe.skipCurrent?"to":"from",Ye=x.getCursor(ct),ce=(fe=x.getSearchCursor(ot,Ye,!ht)).findNext.bind(fe),$e=fe.findPrevious.bind(fe),fe.matches.bind(fe),Qe.backwards&&!$e()?(Le=ce())&&(x.setCursor(x.doc.size-1,0),P(me,ee,ye),Y=!0):Qe.backwards||ce()||(Le=$e())&&(x.setCursor(0,0),P(me,ee,ye),Y=!0),Ee=!Le&&C.searchInput.value,g(C.searchBox,"ace_nomatch",Ee),!Y&&Le&&ye(fe)}function z(me,ee,ye){var Y=ne(me),Ee=ee;Ee&&Ee!==Y.queryText&&(V(me,Y,Ee,ye),Y.posFrom=Y.posTo=me.getCursor())}function W(me){return me.replace(/\\([nrt\\])/g,function(ee,ye){return ye=="n"?` +`:ye=="r"?"\r":ye=="t"?" ":ye=="\\"?"\\":ee})}function Q(me){var ee=(typeof me=="object"?me.toString():me).match(/^\/(.*)\/([a-z]*)$/);if(ee)try{me=new RegExp(ee[1],ee[2].indexOf("i")==-1?"":"i")}catch{}else me=W(me);return(typeof me=="string"?me=="":me.test(""))&&(me=/x^/),me}function V(me,ee,ye,Y){ee.queryText=ye,ee.query=Q(ye),me.removeOverlay(ee.overlay,oe(ee.query,Y)),ee.overlay=G(ee.query,oe(ee.query,Y)),me.addOverlay(ee.overlay),me.showMatchesOnScrollbar&&(ee.annotate&&(ee.annotate.clear(),ee.annotate=null),ee.annotate=me.showMatchesOnScrollbar(ee.query,oe(ee.query,Y)))}function oe(me,ee){return typeof me=="string"&&!ee}function G(me,ee){return typeof me=="string"?me=new RegExp(me.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),ee?"gi":"g"):me.global||(me=new RegExp(me.source,me.ignoreCase?"gi":"g")),{token:function(ye){me.lastIndex=ye.pos;var Y=me.exec(ye.string);if(Y&&Y.index==ye.pos)return ye.pos+=Y[0].length||1,"searching";Y?ye.pos=Y.index:ye.skipToEnd()}}}function ae(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function ne(me){return me.state.search||(me.state.search=new ae)}function de(me){me.operation(function(){var ee=ne(me);ee.lastQuery=ee.query,ee.query&&(ee.query=ee.queryText=null,me.removeOverlay(ee.overlay),ee.annotate&&(ee.annotate.clear(),ee.annotate=null))})}function Ae(){var me,ee=C.searchInput.value,ye=[];ee&&(ee=ee.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),me=C.caseSensitiveOption.checked?RegExp(ee,"g"):RegExp(ee,"gi"),C.wholeWordOption.checked&&(me=C.caseSensitiveOption.checked?RegExp("\\b"+ee+"\\b","g"):RegExp("\\b"+ee+"\\b","gi")),C.regExpOption.checked&&(me=RegExp(ee,"gi")),ye=x.getValue().match(me));var Y=ye?ye.length:0,Ee=x.display.wrapper.parentElement.querySelector(".ace_search_counter");Ee&&(Ee.innerText=Y+" matches found."),Y===0&&x.setSelection({ch:0,line:0},{ch:0,line:0})}function le(){var me=document.createElement("style"),ee=[".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("");me.setAttribute("data-name","js-searchbox"),me.textContent=ee,document.head.appendChild(me)}function ve(){var me,ee=x.getWrapperElement(),ye=document.createElement("div"),Y=['"].join("");return ye.innerHTML=Y,me=ye.firstChild,ee.appendChild(me),me}L(),this.commands={toggleRegexpMode:function(){C.regExpOption.checked=!C.regExpOption.checked,C.$syncOptions()},toggleCaseSensitive:function(){C.caseSensitiveOption.checked=!C.caseSensitiveOption.checked,C.$syncOptions()},toggleWholeWords:function(){C.wholeWordOption.checked=!C.wholeWordOption.checked,C.$syncOptions()}},this.$syncOptions=function(){g(this.regExpOption,"checked",this.regExpOption.checked),g(this.wholeWordOption,"checked",this.wholeWordOption.checked),g(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.find(!1,!1)},this.find=function(me,ee){P(this.searchInput.value,{skipCurrent:me,backwards:ee,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked},function(ye){var Y=ye.matches(!1,ye.from());x.setSelection(Y.from,Y.to)})},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var me=this.searchInput.value,ee=this.searchInput.value;g(this.searchBox,"ace_nomatch",ee),x.showMatchesOnScrollbar&&x.showMatchesOnScrollbar(me),this.hide()},this.replace=function(){var me=x.getOption("readOnly"),ee=!!x.getSelection();!me&&ee&&x.replaceSelection(this.replaceInput.value,"start"),Ae()},this.replaceAndFindNext=function(){x.getOption("readOnly")||(this.replace(),this.findNext())},this.replaceAll=function(){var me,ee,ye=this.searchInput.value,Y=this.replaceInput.value,Ee=RegExp(ye,this.caseSensitiveOption.checked?"g":"gi");this.wholeWordOption.checked&&!this.regExpOption.checked&&(Ee=this.caseSensitiveOption.checked?RegExp("\\b"+ye+"\\b","g"):RegExp("\\b"+ye+"\\b","gi")),!x.getOption("readOnly")&&x.getSelection()&&(ee=x.getCursor(),me=(me=x.getValue()).replace(Ee,Y),x.setValue(me),x.setCursor(ee)),Ae()},this.toggleReplace=function(){var me=x.display.wrapper;me.parentElement.querySelector("[action=toggleReplace]").innerText==="+"?(me.parentElement.querySelector("[action=toggleReplace]").innerText="-",this.replaceBox.style.display="",this.isReplace=!0):(me.parentElement.querySelector("[action=toggleReplace]").innerText="+",this.replaceBox.style.display="none",this.isReplace=!1)},this.hide=function(){de(x);var me=x.getWrapperElement();l=null,me.removeChild(this.element),x.focus()},this.isVisible=function(){return this.element.style.display===""},this.show=function(me,ee){this.element.style.display="",ee||(this.replaceBox.style.display=ee?"":"none"),this.isReplace=ee,me&&(this.searchInput.value=me,this.find(!1,!1)),this.searchInput.focus(),this.searchInput.select()},this.isFocused=function(){var me=document.activeElement;return me===this.searchInput||me===this.replaceInput}}function g(x,C,B){x.classList[B?"add":"remove"](C)}function d(x,C){var B,L=function(){B=null,x()},M=function(P){B||(B=setTimeout(L,P||C))};return M.delay=function(P){B&&clearTimeout(B),B=setTimeout(L,P||C)},M.schedule=M,M.call=function(){this.cancel(),x()},M.cancel=function(){B&&clearTimeout(B),B=null},M.isPending=function(){return B},M}function b(x,C){var B,L={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 w(x,C),B=x.split("|").some(function(M){var P;return P=M.split("-").some(function(z){var W;switch(z){case"Ctrl":W=C.ctrlKey;break;case"Shift":W=C.shiftKey;break;case"Alt":W=C.altKey;break;case"Cmd":W=C.metaKey;break;default:z.length===1?W=C.keyCode===z.charCodeAt(0):Object.keys(L).some(function(Q){z.toUpperCase()===Q&&(W=C.keyCode===L[Q])})}return!W}),!P}),B}function w(x,C){if(typeof x!="string")throw Error("str should be string!");if(typeof C!="object")throw Error("event should be object!")}o.defineOption("searchbox",!1,function(x){x.addKeyMap({"Ctrl-F":function(){var C=x.display.wrapper;l&&C.parentElement.contains(l.searchBox)||(l=new h(x));var B=!1;C.parentElement.querySelector("[action=toggleReplace]")&&(B=C.parentElement.querySelector("[action=toggleReplace]").innerText==="-"),l.show(x.getSelection(),B)},Esc:function(){if(!l||!l.isVisible())return o.Pass;l.hide(),typeof event<"u"&&event.stopPropagation()},"Cmd-F":function(){var C=x.display.wrapper;l&&C.parentElement.contains(l.searchBox)||(l=new h(x));var B=!1;C.parentElement.querySelector("[action=toggleReplace]")&&(B=C.parentElement.querySelector("[action=toggleReplace]").innerText==="-"),l.show(x.getSelection(),B)}})})})(Ip)});il(function(r,i){(function(o){function l(h,g){function d(w){clearTimeout(b.doRedraw),b.doRedraw=setTimeout(function(){b.redraw()},w)}this.cm=h,this.options=g,this.buttonHeight=g.scrollButtonHeight||h.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=h.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var b=this;h.on("refresh",this.resizeHandler=function(){clearTimeout(b.doUpdate),b.doUpdate=setTimeout(function(){b.computeScale()&&d(20)},100)}),h.on("markerAdded",this.resizeHandler),h.on("markerCleared",this.resizeHandler),g.listenForChanges!==!1&&h.on("changes",this.changeHandler=function(){d(250)})}o.defineExtension("annotateScrollbar",function(h){return typeof h=="string"&&(h={className:h}),new l(this,h)}),o.defineOption("scrollButtonHeight",0),l.prototype.computeScale=function(){var h=this.cm,g=(h.getWrapperElement().clientHeight-h.display.barHeight-2*this.buttonHeight)/h.getScrollerElement().scrollHeight;if(g!=this.hScale)return this.hScale=g,!0},l.prototype.update=function(h){this.annotations=h,this.redraw()},l.prototype.redraw=function(h){h!==!1&&this.computeScale();var g=this.cm,d=this.hScale,b=document.createDocumentFragment(),w=this.annotations,x=g.getOption("lineWrapping"),C=x&&1.5*g.defaultTextHeight(),B=null,L=null;function M(ne,de){if(B!=ne.line){B=ne.line,L=g.getLineHandle(ne.line);var Ae=g.getLineHandleVisualStart(L);Ae!=L&&(B=g.getLineNumber(Ae),L=Ae)}return L.widgets&&L.widgets.length||x&&L.height>C?g.charCoords(ne,"local")[de?"top":"bottom"]:g.heightAtLine(L,"local")+(de?0:L.height)}var P=g.lastLine();if(g.display.barWidth)for(var z,W=0;WP)){for(var V=z||M(Q.from,!0)*d,oe=M(Q.to,!1)*d;WP)&&!((z=M(w[W+1].from,!0)*d)>oe+.9);)oe=M((Q=w[++W]).to,!1)*d;if(oe!=V){var G=Math.max(oe-V,3),ae=b.appendChild(document.createElement("div"));ae.style.cssText="position: absolute; right: 0px; width: "+Math.max(g.display.barWidth-1,2)+"px; top: "+(V+this.buttonHeight)+"px; height: "+G+"px",ae.className=this.options.className,Q.id&&ae.setAttribute("annotation-id",Q.id)}}}this.div.textContent="",this.div.appendChild(b)},l.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)}})(Ip)});il(function(r,i){(function(o){function l(d,b,w,x){this.cm=d,this.options=x;var C={listenForChanges:!1};for(var B in x)C[B]=x[B];C.className||(C.className="CodeMirror-search-match"),this.annotation=d.annotateScrollbar(C),this.query=b,this.caseFold=w,this.gap={from:d.firstLine(),to:d.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var L=this;d.on("change",this.changeHandler=function(M,P){L.onChange(P)})}o.defineExtension("showMatchesOnScrollbar",function(d,b,w){return typeof w=="string"&&(w={className:w}),w||(w={}),new l(this,d,b,w)});var h=1e3;function g(d,b,w){return d<=b?d:Math.max(b,d+w)}l.prototype.findMatches=function(){if(this.gap){for(var d=0;d=this.gap.to);d++)x.to.line>=this.gap.from&&this.matches.splice(d--,1);for(var b=this.cm.getSearchCursor(this.query,o.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),w=this.options&&this.options.maxMatches||h;b.findNext();){var x;if((x={from:b.from(),to:b.to()}).from.line>=this.gap.to||(this.matches.splice(d++,0,x),this.matches.length>w))break}this.gap=null}},l.prototype.onChange=function(d){var b=d.from.line,w=o.changeEnd(d).line,x=w-d.to.line;if(this.gap?(this.gap.from=Math.min(g(this.gap.from,b,x),d.from.line),this.gap.to=Math.max(g(this.gap.to,b,x),d.from.line)):this.gap={from:d.from.line,to:w+1},x)for(var C=0;Cr.length)&&(i=r.length);for(var o=0,l=new Array(i);o>>0||(Ewn(N_t,o)?16:10))}:VJ;ma({global:!0,forced:parseInt!=K6t},{parseInt:K6t});var _b=Gc.parseInt,Twn=Ai.RangeError;ma({target:"String",proto:!0},{repeat:function(r){var i=Zl(dI(this)),o="",l=$j(r);if(l<0||l==1/0)throw Twn("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(i+=i))1&l&&(o+=i);return o}});var Bwn=Md("String").repeat,wMe=String.prototype,e1=function(r){var i=r.repeat;return typeof r=="string"||r===wMe||uf(wMe,r)&&i===wMe.repeat?Bwn:i},_wn={run:function(r){var i,o="
".concat(r,"
");this.tagParser.formatEngine=this.mdFormatEngine,o=o.replace(//g,"");var l=this.htmlParser.parseHtml(o);return l=this.paragraphStyleClear(l),uo(i=this.$dealHtml(l).replace(/\n{3,}/g,` `).replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&")).call(i,` @@ -63,7 +63,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `).replace(/^[ \t\n]+\n\s*$/,` `))}return i},$handleTagObject:function(r,i){var o,l=i;return r.attrs.class&&/(ch-icon-square|ch-icon-check)/.test(r.attrs.class)?xl(o=r.attrs.class).call(o,"ch-icon-check")>=0?l+="[x]":l+="[ ]":r.attrs.class&&/cherry-code-preview-lang-select/.test(r.attrs.class)?l+="":l+=this.$dealTag(r),l},$dealTag:function(r){var i=this,o="";return r.children&&(o=i.$dealHtml(r.children)),/(style|meta|link|script)/.test(r.name)?"":r.name==="code"||r.name==="pre"?i.tagParser.codeParser(r,i.$dealCodeTag(r),r.name==="pre"):typeof i.tagParser["".concat(r.name,"Parser")]=="function"?i.tagParser["".concat(r.name,"Parser")](r,o):o},$dealCodeTag:function(r){if(r.children.length<0)return"";for(var i="",o=0;o])+>/g,empty:Lee?Lee(null):{},parseTags:function(r){var i,o=this,l=0,h={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return r.replace(this.attrRE,function(g){l%2?i=g:l===0?((o.lookup[g]||r.charAt(r.length-2)==="/")&&(h.voidElement=!0),h.name=g):h.attrs[i]=g.replace(/['"]/g,""),l+=1}),h},parseHtml:function(r,i){var o=this,l=i||{};l.components||(l.components=this.empty);var h,g=[],d=-1,b=[],w={},x=!1;return r.replace(this.tagRE,function(C,B){if(x){if(C!==""))return;x=!1}var L,I=C.charAt(1)!=="/",P=B+C.length,z=r.charAt(P);I&&(d+=1,(h=o.parseTags(C)).type==="tag"&&l.components[h.name]&&(h.type="component",x=!0),h.voidElement||x||!z||z==="<"||h.children.push({type:"text",content:Zi(r).call(r,P,xl(r).call(r,"<",P))}),w[h.tagName]=h,d===0&&g.push(h),(L=b[d-1])&&L.children.push(h),b[d]=h),I&&!h.voidElement||(d-=1,!x&&z!=="<"&&z&&b[d]&&b[d].children.push({type:"text",content:Zi(r).call(r,P,xl(r).call(r,"<",P))}))}),g}},tagParser:{formatEngine:{},pParser:function(r,i){var o=i;return/\n$/.test(o)?o:"".concat(o,` +`),i+=this.$dealCodeTag(l)):i+=l.content}return i},htmlParser:{attrRE:/([\w-]+)|['"]{1}([^'"]*)['"]{1}/g,lookup:{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,video:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},tagRE:/<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>/g,empty:See?See(null):{},parseTags:function(r){var i,o=this,l=0,h={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return r.replace(this.attrRE,function(g){l%2?i=g:l===0?((o.lookup[g]||r.charAt(r.length-2)==="/")&&(h.voidElement=!0),h.name=g):h.attrs[i]=g.replace(/['"]/g,""),l+=1}),h},parseHtml:function(r,i){var o=this,l=i||{};l.components||(l.components=this.empty);var h,g=[],d=-1,b=[],w={},x=!1;return r.replace(this.tagRE,function(C,B){if(x){if(C!==""))return;x=!1}var L,M=C.charAt(1)!=="/",P=B+C.length,z=r.charAt(P);M&&(d+=1,(h=o.parseTags(C)).type==="tag"&&l.components[h.name]&&(h.type="component",x=!0),h.voidElement||x||!z||z==="<"||h.children.push({type:"text",content:Zi(r).call(r,P,xl(r).call(r,"<",P))}),w[h.tagName]=h,d===0&&g.push(h),(L=b[d-1])&&L.children.push(h),b[d]=h),M&&!h.voidElement||(d-=1,!x&&z!=="<"&&z&&b[d]&&b[d].children.push({type:"text",content:Zi(r).call(r,P,xl(r).call(r,"<",P))}))}),g}},tagParser:{formatEngine:{},pParser:function(r,i){var o=i;return/\n$/.test(o)?o:"".concat(o,` `)},divParser:function(r,i){var o=i;return/\n$/.test(o)?o:"".concat(o,` `)},spanParser:function(r,i){var o=i.replace(/\t/g,"").replace(/\n/g," ");return r.attrs&&r.attrs.style,o},codeParser:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.formatEngine.convertCode(i,o)},brParser:function(r,i){return this.formatEngine.convertBr(i,` `)},imgParser:function(r,i){return r.attrs&&r.attrs["data-control"]==="tapd-graph"?this.formatEngine.convertGraph(r.attrs.title,r.attrs.src,r.attrs["data-origin-xml"],r):r.attrs&&r.attrs.src?this.formatEngine.convertImg(r.attrs.alt,r.attrs.src):void 0},videoParser:function(r,i){if(r.attrs&&r.attrs.src)return this.formatEngine.convertVideo(i,r.attrs.src,r.attrs.poster,r.attrs.title)},bParser:function(r,i){for(var o=i.split(` @@ -78,7 +78,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `),l=[],h=0;h0?l:""}return""},bgColorAttrParser:function(r){var i=r.match(/background-color:\s*([^;]+?);/);if(i&&i[1]){var o="";if(/rgb\([ 0-9]+,[ 0-9]+,[ 0-9]+\)/.test(i[1])){var l,h,g,d,b,w=i[1].match(/rgb\(([ 0-9]+),([ 0-9]+),([ 0-9]+)\)/);w[1]&&w[2]&&w[3]&&(w[1]=Sb(uo(l=w[1]).call(l),10),w[2]=Sb(uo(h=w[2]).call(h),10),w[3]=Sb(uo(g=w[3]).call(g),10),o=rt(d=rt(b="#".concat(w[1].toString(16))).call(b,w[2].toString(16))).call(d,w[3].toString(16)))}else o=gu(i,2)[1];return o}return""}}},mdFormatEngine:{convertColor:function(r,i){var o,l=uo(r).call(r);return!l||/\n/.test(l)?l:i?rt(o="!!".concat(i," ")).call(o,l,"!!"):l},convertSize:function(r,i){var o,l=uo(r).call(r);return!l||/\n/.test(l)?l:i?rt(o="!".concat(i," ")).call(o,l,"!"):l},convertBgColor:function(r,i){var o,l=uo(r).call(r);return!l||/\n/.test(l)?l:i?rt(o="!!!".concat(i," ")).call(o,l,"!!!"):l},convertBr:function(r,i){return r+i},convertCode:function(r){var i=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return/\n/.test(r)||i?"```\n".concat(r.replace(/\n+$/,""),"\n```"):"`".concat(r.replace(/`/g,"\\`"),"`")},convertB:function(r){return/^\s*$/.test(r)?"":"**".concat(r,"**")},convertI:function(r){return/^\s*$/.test(r)?"":"*".concat(r,"*")},convertU:function(r){return/^\s*$/.test(r)?"":" /".concat(r,"/ ")},convertImg:function(r,i){var o,l=r&&r.length>0?r:"image";return rt(o="![".concat(l,"](")).call(o,i,")")},convertGraph:function(r,i,o,l){var h,g,d,b=r&&r.length>0?r:"graph",w="";if(l)try{var x,C=l.attrs;xa(x=pu(C)).call(x,function(B){var L;Object.prototype.hasOwnProperty.call(C,B)&&xl(B).call(B,"data-graph-")>=0&&C[B]&&(w+=rt(L=" ".concat(B,"=")).call(L,C[B]))})}catch{}return rt(h=rt(g=rt(d="![".concat(b,"](")).call(d,i,"){data-control=tapd-graph data-origin-xml=")).call(g,o)).call(h,w,"}")},convertVideo:function(r,i,o,l){var h,g,d=l&&l.length>0?l:"video";return rt(h=rt(g="!video[".concat(d,"](")).call(g,i,"){poster=")).call(h,o,"}")},convertA:function(r,i){var o;if(r===i)return"".concat(r," ");var l=uo(r).call(r);return l&&rt(o="[".concat(l,"](")).call(o,i,")")},convertSup:function(r){return"^".concat(uo(r).call(r).replace(/\^/g,"\\^"),"^")},convertSub:function(r){return"^^".concat(uo(r).call(r).replace(/\^\^/g,"\\^\\^"),"^^")},convertTd:function(r){return"~|".concat(uo(r).call(r).replace(/\n{1,}/g,"
").replace(/ /g,"~s~")," ~|")},convertTh:function(r){return/^\s*$/.test(r)?"":"~|".concat(uo(r).call(r).replace(/\n{1,}/g,"
")," ~|")},convertTr:function(r){return/^\s*$/.test(r)?"":"".concat(uo(r).call(r).replace(/\n/g,""),` +`))},styleParser:{colorAttrParser:function(r){var i=r.match(/color:\s*(#[a-zA-Z0-9]{3,6});/);return i&&i[1]?i[1]:""},sizeAttrParser:function(r){var i=r.match(/font-size:\s*([a-zA-Z0-9-]+?);/);if(i&&i[1]){var o,l=0;if(/[0-9]+px/.test(i[1]))l=uo(o=i[1].replace(/px/,"")).call(o);else switch(i[1]){case"x-small":l=10;break;case"small":l=12;break;case"medium":l=16;break;case"large":l=18;break;case"x-large":l=24;break;case"xx-large":l=32;break;default:l=""}return l>0?l:""}return""},bgColorAttrParser:function(r){var i=r.match(/background-color:\s*([^;]+?);/);if(i&&i[1]){var o="";if(/rgb\([ 0-9]+,[ 0-9]+,[ 0-9]+\)/.test(i[1])){var l,h,g,d,b,w=i[1].match(/rgb\(([ 0-9]+),([ 0-9]+),([ 0-9]+)\)/);w[1]&&w[2]&&w[3]&&(w[1]=_b(uo(l=w[1]).call(l),10),w[2]=_b(uo(h=w[2]).call(h),10),w[3]=_b(uo(g=w[3]).call(g),10),o=rt(d=rt(b="#".concat(w[1].toString(16))).call(b,w[2].toString(16))).call(d,w[3].toString(16)))}else o=gu(i,2)[1];return o}return""}}},mdFormatEngine:{convertColor:function(r,i){var o,l=uo(r).call(r);return!l||/\n/.test(l)?l:i?rt(o="!!".concat(i," ")).call(o,l,"!!"):l},convertSize:function(r,i){var o,l=uo(r).call(r);return!l||/\n/.test(l)?l:i?rt(o="!".concat(i," ")).call(o,l,"!"):l},convertBgColor:function(r,i){var o,l=uo(r).call(r);return!l||/\n/.test(l)?l:i?rt(o="!!!".concat(i," ")).call(o,l,"!!!"):l},convertBr:function(r,i){return r+i},convertCode:function(r){var i=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return/\n/.test(r)||i?"```\n".concat(r.replace(/\n+$/,""),"\n```"):"`".concat(r.replace(/`/g,"\\`"),"`")},convertB:function(r){return/^\s*$/.test(r)?"":"**".concat(r,"**")},convertI:function(r){return/^\s*$/.test(r)?"":"*".concat(r,"*")},convertU:function(r){return/^\s*$/.test(r)?"":" /".concat(r,"/ ")},convertImg:function(r,i){var o,l=r&&r.length>0?r:"image";return rt(o="![".concat(l,"](")).call(o,i,")")},convertGraph:function(r,i,o,l){var h,g,d,b=r&&r.length>0?r:"graph",w="";if(l)try{var x,C=l.attrs;xa(x=pu(C)).call(x,function(B){var L;Object.prototype.hasOwnProperty.call(C,B)&&xl(B).call(B,"data-graph-")>=0&&C[B]&&(w+=rt(L=" ".concat(B,"=")).call(L,C[B]))})}catch{}return rt(h=rt(g=rt(d="![".concat(b,"](")).call(d,i,"){data-control=tapd-graph data-origin-xml=")).call(g,o)).call(h,w,"}")},convertVideo:function(r,i,o,l){var h,g,d=l&&l.length>0?l:"video";return rt(h=rt(g="!video[".concat(d,"](")).call(g,i,"){poster=")).call(h,o,"}")},convertA:function(r,i){var o;if(r===i)return"".concat(r," ");var l=uo(r).call(r);return l&&rt(o="[".concat(l,"](")).call(o,i,")")},convertSup:function(r){return"^".concat(uo(r).call(r).replace(/\^/g,"\\^"),"^")},convertSub:function(r){return"^^".concat(uo(r).call(r).replace(/\^\^/g,"\\^\\^"),"^^")},convertTd:function(r){return"~|".concat(uo(r).call(r).replace(/\n{1,}/g,"
").replace(/ /g,"~s~")," ~|")},convertTh:function(r){return/^\s*$/.test(r)?"":"~|".concat(uo(r).call(r).replace(/\n{1,}/g,"
")," ~|")},convertTr:function(r){return/^\s*$/.test(r)?"":"".concat(uo(r).call(r).replace(/\n/g,""),` `)},convertThead:function(r){var i,o="".concat(r.replace(/[ \t]+/g,"").replace(/~\|~\|/g,"~|").replace(/~\|/g,"|"),` `),l=o.match(/\|/g).length-1;return rt(i="".concat(o,"|")).call(i,e1(":-:|").call(":-:|",l),` `)},convertTable:function(r){var i=` @@ -115,67 +115,67 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `)},convertAddress:function(r){return">".concat(uo(r).call(r),` -`)}},paragraphStyleClear:function(r){for(var i=0;i1)for(var d=0;d=0?o:o>=0?o+l:Math.min(o,l)}function Fwn(r){var i=r.previousElementSibling,o=r.nextElementSibling;if(!i){var l=getComputedStyle(r),h=r.getBoundingClientRect();if(!o)return{height:Math.max(Ip(l.marginTop)+h.height+Ip(l.marginBottom),0),offsetTop:r.offsetTop-Math.abs(Ip(l.marginTop))};var g=getComputedStyle(o),d=W6t(l.marginBottom,g.marginTop);return{height:Math.max(Ip(l.marginTop)+h.height+d,0),offsetTop:r.offsetTop-Math.abs(Ip(l.marginTop))}}var b=getComputedStyle(r),w=r.getBoundingClientRect(),x=function(L,I){var P=Ip(L),z=Ip(I);return z<0?0:P>=0?Math.max(z-P,0):z}(getComputedStyle(i).marginBottom,b.marginTop);if(!o)return{height:Math.max(x+w.height+Ip(b.marginBottom),0),offsetTop:r.offsetTop-Math.abs(Ip(b.marginTop))};var C=getComputedStyle(o),B=W6t(b.marginBottom,C.marginTop);return{height:Math.max(x+w.height+B,0),offsetTop:r.offsetTop-Math.abs(x)}}function R_t(r,i){if(!r||!r.tagName)return"";var o,l,h=document.createElement("div");return h.appendChild(r.cloneNode(!1)),o=h.innerHTML,i&&(l=xl(o).call(o,">")+1,o=o.substring(0,l)+r.innerHTML+o.substring(l)),h=null,o}function Jl(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=document.createElement(r);return h.className=o,l!==void 0&&xa(i=pu(l)).call(i,function(g){var d=l[g];if(bj(g).call(g,"data-")){var b=g.replace(/^data-/,"");h.dataset[b]=d}else h.setAttribute(g,d)}),h}var Dwn={showSwitchBtnAfterPasteHtml:function(r,i,o,l,h){uo(l).call(l)!==uo(h).call(h)&&(this.init(r,i,o,l,h),this.setSelection(),this.bindListener(),this.initBubble(),this.showBubble(),this.getTypeFromLocalStorage()==="text"&&this.switchTextClick())},init:function(r,i,o,l,h){this.$cherry=r,this.html=l,this.md=h,this.codemirror=o,this.currentCursor=i,this.locale=r.locale},getTypeFromLocalStorage:function(){return typeof localStorage>"u"?"md":localStorage.getItem("cherry-paste-type")||"md"},setTypeToLocalStorage:function(r){typeof localStorage<"u"&&localStorage.setItem("cherry-paste-type",r)},setSelection:function(){var r=wDe({},this.codemirror.getCursor()),i=this.currentCursor;this.codemirror.setSelection(i,r)},bindListener:function(){var r=this;if(this.hasBindListener)return!0;this.hasBindListener=!0,this.codemirror.on("beforeSelectionChange",function(i,o){r.hideBubble()}),this.codemirror.on("beforeChange",function(i,o){r.hideBubble()}),this.codemirror.on("scroll",function(i){r.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 r=this.bubbleDom.dataset.scrollTop-this.getScrollTop();this.bubbleDom.style.marginTop="".concat(r,"px")}},getScrollTop:function(){return this.codemirror.getScrollInfo().top},showBubble:function(){var r=this.getLastSelectedPosition().top;this.isHidden()&&(this.toggleBubbleDisplay(),this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=this.getScrollTop()),r>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(r,"px"),this.bubbleDom.style.bottom="")},initBubble:function(){var r,i;if(this.bubbleDom)return this.bubbleDom.setAttribute("data-type","md"),!0;var o=Jl("div","cherry-bubble cherry-bubble--centered cherry-switch-paste");o.style.display="none";var l=Jl("span","cherry-toolbar-button cherry-text-btn",{title:this.locale.pastePlain});l.innerText="TEXT";var h=Jl("span","cherry-toolbar-button cherry-md-btn",{title:this.locale.pasteMarkdown});h.innerText="Markdown";var g=Jl("span","switch-btn--bg");this.bubbleDom=o,this.switchText=l,this.switchMd=h,this.switchBG=g,this.bubbleDom.appendChild(l),this.bubbleDom.appendChild(h),this.bubbleDom.appendChild(g),this.bubbleDom.setAttribute("data-type","md"),this.codemirror.getWrapperElement().appendChild(this.bubbleDom),this.switchMd.addEventListener("click",Xa(r=this.switchMDClick).call(r,this)),this.switchText.addEventListener("click",Xa(i=this.switchTextClick).call(i,this))},switchMDClick:function(r){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(r){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 r=yl(this.codemirror.getWrapperElement().getElementsByClassName("CodeMirror-selected")),i=0,o=0;if(r.length<=0)return this.hideBubble(),{};for(var l=0;lo&&g>=i&&(o=d),g>i&&(i=g)}return{top:o}}},Own=Dwn;function RI(r,i,o,l){return r.addEventListener?(r.addEventListener(i,o,l),!0):r.attachEvent?r.attachEvent("on".concat(i),o):void(r["on".concat(i)]=o)}function yIe(r,i,o,l){if(r.removeEventListener)r.removeEventListener(i,o,l);else{if(r.detachEvent)return r.detachEvent("on".concat(i),o);r["on".concat(i)]=null}}var Y2=new Proxy({},{get:function(r,i,o){return function(){}}}),Is=new(function(){function r(){var i;qr(this,r),gi(this,"Events",{previewerClose:"previewer:close",previewerOpen:"previewer:open",editorClose:"editor:close",editorOpen:"editor:open",toolbarHide:"toolbar:hide",toolbarShow:"toolbar:show",cleanAllSubMenus:"cleanAllSubMenus"}),gi(this,"emitter",{all:i=i||new Map,on:function(o,l){var h=i.get(o);h?h.push(l):i.set(o,[l])},off:function(o,l){var h=i.get(o);h&&(l?h.splice(h.indexOf(l)>>>0,1):i.set(o,[]))},emit:function(o,l){var h=i.get(o);h&&h.slice().map(function(g){g(l)}),(h=i.get("*"))&&h.slice().map(function(g){g(o,l)})}})}return Yr(r,[{key:"on",value:function(i,o,l){var h;this.emitter.on(rt(h="".concat(i,":")).call(h,o),l)}},{key:"emit",value:function(i,o){var l;this.emitter.emit(rt(l="".concat(i,":")).call(l,o))}}]),r}());function Xj(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"image",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"*",l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,h=document.createElement("input");h.type="file",h.id="fileUpload",h.value="",h.style.display="none",h.accept=o,h.addEventListener("change",function(g){var d=gu(g.target.files,1)[0];r.options.fileUpload(d,function(b){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof b=="string"&&b){if(l)return l(d.name,b,w);var x,C="";if(i==="image")C=rt(x="![".concat(d.name,"](")).call(x,b,")");else if(i==="video"){var B;C=rt(B="!video[".concat(d.name,"](")).call(B,b,")")}else if(i==="audio"){var L;C=rt(L="!audio[".concat(d.name,"](")).call(L,b,")")}else{var I;C=rt(I="[".concat(d.name,"](")).call(I,b,")")}r.editor.doc.replaceSelection(C)}})}),h.click()}function Cpe(r){var i=[];return r!=null&&r.isBorder&&i.push("#B"),r!=null&&r.isShadow&&i.push("#S"),r!=null&&r.isRadius&&i.push("#R"),r!=null&&r.width&&i.push("#".concat(r.width)),r!=null&&r.height&&(r.width||i.push("#auto"),i.push("#".concat(r.height))),i.join(" ")}function q6t(r,i,o){var l,h,g,d,b,w=(l=i==null?void 0:i.name)!==null&&l!==void 0?l:o.name,x="",C="";/video/i.test(o.type)&&(x="!video",C=i!=null&&i.poster?"{poster=".concat(i.poster,"}"):""),/audio/i.test(o.type)&&(x="!audio"),/image/i.test(o.type)&&(x="!");var B=x?Cpe(i):"";return rt(h=rt(g=rt(d=rt(b="".concat(x,"[")).call(b,w)).call(d,B,"](")).call(g,r,")")).call(h,C)}function Y6t(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function J6t(r){for(var i=1;i\\x00-\\x1f"\\(\\)]*)?'),$_t=new RegExp("(?:\\/\\/)".concat(hQe.source)),txt=new RegExp("^".concat(hQe.source,"$")),nxt=new RegExp("^".concat($_t.source,"$")),j_t=/^([ \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 Epe(){var r,i=arguments.length>0&&arguments[0]!==void 0&&arguments[0],o={begin:"(?:^|\\n)(\\n*)",content:["(\\h*\\|[^\\n]+\\|?\\h*)","\\n","(?:(?:\\h*\\|\\h*:?[-]{1,}:?\\h*)+\\|?\\h*)","((\\n\\h*\\|[^\\n]+\\|?\\h*)*)"].join(""),end:"(?=$|\\n)"};o.reg=Lm(o,"g",!0);var l={begin:"(?:^|\\n)(\\n*)",content:["(\\|?[^\\n|]+(\\|[^\\n|]+)+\\|?)","\\n","(?:\\|?\\h*:?[-]{1,}:?[\\h]*(?:\\|[\\h]*:?[-]{1,}:?\\h*)+\\|?)","((\\n\\|?([^\\n|]+(\\|[^\\n|]*)+)\\|?)*)"].join(""),end:"(?=$|\\n)"};return l.reg=Lm(l,"g",!0),i===!1?{strict:o,loose:l}:Lm({begin:"",content:rt(r="(?:".concat(o.begin+o.content+o.end,"|")).call(r,l.begin+l.content+l.end,")"),end:""},"g",!0)}function Tpe(){var r={begin:/(?:^|\n)(\n*((?:>[\t ]*)*)(?:[^\S\n]*))(`{3,})([^`]*?)\n/,content:/([\w\W]*?)/,end:/[^\S\n]*\3[ \t]*(?=$|\n+)/,reg:new RegExp("")};return r.reg=new RegExp(r.begin.source+r.content.source+r.end.source,"g"),J6t(J6t({},r),{},{begin:r.begin.source,content:r.content.source,end:r.end.source})}function Bpe(r,i){var o=r||`Item 1 +`)}},paragraphStyleClear:function(r){for(var i=0;i1)for(var d=0;d=0?o:o>=0?o+l:Math.min(o,l)}function Iwn(r){var i=r.previousElementSibling,o=r.nextElementSibling;if(!i){var l=getComputedStyle(r),h=r.getBoundingClientRect();if(!o)return{height:Math.max(Lp(l.marginTop)+h.height+Lp(l.marginBottom),0),offsetTop:r.offsetTop-Math.abs(Lp(l.marginTop))};var g=getComputedStyle(o),d=V6t(l.marginBottom,g.marginTop);return{height:Math.max(Lp(l.marginTop)+h.height+d,0),offsetTop:r.offsetTop-Math.abs(Lp(l.marginTop))}}var b=getComputedStyle(r),w=r.getBoundingClientRect(),x=function(L,M){var P=Lp(L),z=Lp(M);return z<0?0:P>=0?Math.max(z-P,0):z}(getComputedStyle(i).marginBottom,b.marginTop);if(!o)return{height:Math.max(x+w.height+Lp(b.marginBottom),0),offsetTop:r.offsetTop-Math.abs(Lp(b.marginTop))};var C=getComputedStyle(o),B=V6t(b.marginBottom,C.marginTop);return{height:Math.max(x+w.height+B,0),offsetTop:r.offsetTop-Math.abs(x)}}function P_t(r,i){if(!r||!r.tagName)return"";var o,l,h=document.createElement("div");return h.appendChild(r.cloneNode(!1)),o=h.innerHTML,i&&(l=xl(o).call(o,">")+1,o=o.substring(0,l)+r.innerHTML+o.substring(l)),h=null,o}function Jl(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=document.createElement(r);return h.className=o,l!==void 0&&xa(i=pu(l)).call(i,function(g){var d=l[g];if(mj(g).call(g,"data-")){var b=g.replace(/^data-/,"");h.dataset[b]=d}else h.setAttribute(g,d)}),h}var Fwn={showSwitchBtnAfterPasteHtml:function(r,i,o,l,h){uo(l).call(l)!==uo(h).call(h)&&(this.init(r,i,o,l,h),this.setSelection(),this.bindListener(),this.initBubble(),this.showBubble(),this.getTypeFromLocalStorage()==="text"&&this.switchTextClick())},init:function(r,i,o,l,h){this.$cherry=r,this.html=l,this.md=h,this.codemirror=o,this.currentCursor=i,this.locale=r.locale},getTypeFromLocalStorage:function(){return typeof localStorage>"u"?"md":localStorage.getItem("cherry-paste-type")||"md"},setTypeToLocalStorage:function(r){typeof localStorage<"u"&&localStorage.setItem("cherry-paste-type",r)},setSelection:function(){var r=bDe({},this.codemirror.getCursor()),i=this.currentCursor;this.codemirror.setSelection(i,r)},bindListener:function(){var r=this;if(this.hasBindListener)return!0;this.hasBindListener=!0,this.codemirror.on("beforeSelectionChange",function(i,o){r.hideBubble()}),this.codemirror.on("beforeChange",function(i,o){r.hideBubble()}),this.codemirror.on("scroll",function(i){r.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 r=this.bubbleDom.dataset.scrollTop-this.getScrollTop();this.bubbleDom.style.marginTop="".concat(r,"px")}},getScrollTop:function(){return this.codemirror.getScrollInfo().top},showBubble:function(){var r=this.getLastSelectedPosition().top;this.isHidden()&&(this.toggleBubbleDisplay(),this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=this.getScrollTop()),r>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(r,"px"),this.bubbleDom.style.bottom="")},initBubble:function(){var r,i;if(this.bubbleDom)return this.bubbleDom.setAttribute("data-type","md"),!0;var o=Jl("div","cherry-bubble cherry-bubble--centered cherry-switch-paste");o.style.display="none";var l=Jl("span","cherry-toolbar-button cherry-text-btn",{title:this.locale.pastePlain});l.innerText="TEXT";var h=Jl("span","cherry-toolbar-button cherry-md-btn",{title:this.locale.pasteMarkdown});h.innerText="Markdown";var g=Jl("span","switch-btn--bg");this.bubbleDom=o,this.switchText=l,this.switchMd=h,this.switchBG=g,this.bubbleDom.appendChild(l),this.bubbleDom.appendChild(h),this.bubbleDom.appendChild(g),this.bubbleDom.setAttribute("data-type","md"),this.codemirror.getWrapperElement().appendChild(this.bubbleDom),this.switchMd.addEventListener("click",Xa(r=this.switchMDClick).call(r,this)),this.switchText.addEventListener("click",Xa(i=this.switchTextClick).call(i,this))},switchMDClick:function(r){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(r){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 r=yl(this.codemirror.getWrapperElement().getElementsByClassName("CodeMirror-selected")),i=0,o=0;if(r.length<=0)return this.hideBubble(),{};for(var l=0;lo&&g>=i&&(o=d),g>i&&(i=g)}return{top:o}}},Dwn=Fwn;function PM(r,i,o,l){return r.addEventListener?(r.addEventListener(i,o,l),!0):r.attachEvent?r.attachEvent("on".concat(i),o):void(r["on".concat(i)]=o)}function vMe(r,i,o,l){if(r.removeEventListener)r.removeEventListener(i,o,l);else{if(r.detachEvent)return r.detachEvent("on".concat(i),o);r["on".concat(i)]=null}}var q2=new Proxy({},{get:function(r,i,o){return function(){}}}),Ms=new(function(){function r(){var i;qr(this,r),gi(this,"Events",{previewerClose:"previewer:close",previewerOpen:"previewer:open",editorClose:"editor:close",editorOpen:"editor:open",toolbarHide:"toolbar:hide",toolbarShow:"toolbar:show",cleanAllSubMenus:"cleanAllSubMenus"}),gi(this,"emitter",{all:i=i||new Map,on:function(o,l){var h=i.get(o);h?h.push(l):i.set(o,[l])},off:function(o,l){var h=i.get(o);h&&(l?h.splice(h.indexOf(l)>>>0,1):i.set(o,[]))},emit:function(o,l){var h=i.get(o);h&&h.slice().map(function(g){g(l)}),(h=i.get("*"))&&h.slice().map(function(g){g(o,l)})}})}return Yr(r,[{key:"on",value:function(i,o,l){var h;this.emitter.on(rt(h="".concat(i,":")).call(h,o),l)}},{key:"emit",value:function(i,o){var l;this.emitter.emit(rt(l="".concat(i,":")).call(l,o))}}]),r}());function zj(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"image",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"*",l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,h=document.createElement("input");h.type="file",h.id="fileUpload",h.value="",h.style.display="none",h.accept=o,h.addEventListener("change",function(g){var d=gu(g.target.files,1)[0];r.options.fileUpload(d,function(b){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof b=="string"&&b){if(l)return l(d.name,b,w);var x,C="";if(i==="image")C=rt(x="![".concat(d.name,"](")).call(x,b,")");else if(i==="video"){var B;C=rt(B="!video[".concat(d.name,"](")).call(B,b,")")}else if(i==="audio"){var L;C=rt(L="!audio[".concat(d.name,"](")).call(L,b,")")}else{var M;C=rt(M="[".concat(d.name,"](")).call(M,b,")")}r.editor.doc.replaceSelection(C)}})}),h.click()}function kpe(r){var i=[];return r!=null&&r.isBorder&&i.push("#B"),r!=null&&r.isShadow&&i.push("#S"),r!=null&&r.isRadius&&i.push("#R"),r!=null&&r.width&&i.push("#".concat(r.width)),r!=null&&r.height&&(r.width||i.push("#auto"),i.push("#".concat(r.height))),i.join(" ")}function W6t(r,i,o){var l,h,g,d,b,w=(l=i==null?void 0:i.name)!==null&&l!==void 0?l:o.name,x="",C="";/video/i.test(o.type)&&(x="!video",C=i!=null&&i.poster?"{poster=".concat(i.poster,"}"):""),/audio/i.test(o.type)&&(x="!audio"),/image/i.test(o.type)&&(x="!");var B=x?kpe(i):"";return rt(h=rt(g=rt(d=rt(b="".concat(x,"[")).call(b,w)).call(d,B,"](")).call(g,r,")")).call(h,C)}function q6t(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function Y6t(r){for(var i=1;i\\x00-\\x1f"\\(\\)]*)?'),H_t=new RegExp("(?:\\/\\/)".concat(uQe.source)),ext=new RegExp("^".concat(uQe.source,"$")),txt=new RegExp("^".concat(H_t.source,"$")),$_t=/^([ \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 Cpe(){var r,i=arguments.length>0&&arguments[0]!==void 0&&arguments[0],o={begin:"(?:^|\\n)(\\n*)",content:["(\\h*\\|[^\\n]+\\|?\\h*)","\\n","(?:(?:\\h*\\|\\h*:?[-]{1,}:?\\h*)+\\|?\\h*)","((\\n\\h*\\|[^\\n]+\\|?\\h*)*)"].join(""),end:"(?=$|\\n)"};o.reg=Sm(o,"g",!0);var l={begin:"(?:^|\\n)(\\n*)",content:["(\\|?[^\\n|]+(\\|[^\\n|]+)+\\|?)","\\n","(?:\\|?\\h*:?[-]{1,}:?[\\h]*(?:\\|[\\h]*:?[-]{1,}:?\\h*)+\\|?)","((\\n\\|?([^\\n|]+(\\|[^\\n|]*)+)\\|?)*)"].join(""),end:"(?=$|\\n)"};return l.reg=Sm(l,"g",!0),i===!1?{strict:o,loose:l}:Sm({begin:"",content:rt(r="(?:".concat(o.begin+o.content+o.end,"|")).call(r,l.begin+l.content+l.end,")"),end:""},"g",!0)}function Epe(){var r={begin:/(?:^|\n)(\n*((?:>[\t ]*)*)(?:[^\S\n]*))(`{3,})([^`]*?)\n/,content:/([\w\W]*?)/,end:/[^\S\n]*\3[ \t]*(?=$|\n+)/,reg:new RegExp("")};return r.reg=new RegExp(r.begin.source+r.content.source+r.end.source,"g"),Y6t(Y6t({},r),{},{begin:r.begin.source,content:r.content.source,end:r.end.source})}function Tpe(r,i){var o=r||`Item 1 Item 1.1 -Item 2`;o=o.replace(/^\n+/,"").replace(/\n+$/,"");var l="1.";switch(i){case"ol":l="1.";break;case"ul":l="-";break;case"checklist":l="- [x]"}if(o=o.replace(/^(\s*)([0-9a-zA-Z]+\.|- \[x\]|- \[ \]|-) /gm,"$1"),l==="1."){var h={};o=o.replace(/^(\s*)(\S[\s\S]*?)$/gm,function(g,d,b){var w,x,C,B=((w=d.match(/[ \t]/g))===null||w===void 0?void 0:w.length)||0;return h[B]=h[B]?h[B]+1:1,rt(x=rt(C="".concat(d)).call(C,h[B],". ")).call(x,b)})}else o=o.replace(/^(\s*)(\S[\s\S]*?)$/gm,"$1".concat(l," $2"));return o}function fQe(){var r={begin:/(?:^|\n)(\n*(?:[^\S\n]*)):::([^:][^\n]+?)\s*\n/,content:/([\w\W]*?)/,end:/\n[ \t]*:::[ \t]*(?=$|\n+)/};return r.reg=new RegExp(r.begin.source+r.content.source+r.end.source,"g"),r}function K_t(){var r={begin:/(?:^|\n)(\n*(?:[^\S\n]*))\+\+\+([-]{0,1})\s+([^\n]+)\n/,content:/([\w\W]+?)/,end:/\n[ \t]*\+\+\+[ \t]*(?=$|\n+)/};return r.reg=new RegExp(r.begin.source+r.content.source+r.end.source,"g"),r}var Nwn=/(\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,)([^)]+)\)/g,Qwn=/(!\[[^\n]*?\]\([^)]+\)\{[^}]* data-xml=)([^}]+)\}/g,rxt=/(!\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,[^)]+\)\{data-type=drawio data-xml=[^}]+\})/g,XAe=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").replace(Tpe().reg,function(r){return r.replace(/^.*$/gm,"/n")}).replace(/(`+)(.+?(?:\n.+?)*?)\1/g,function(r){return r.replace(/[![\]()]/g,".")})};function Pwn(r){(function(i){var o=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)/,l=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)$/;if(i.getOption("disableInput"))return!1;for(var h=i.listSelections(),g=[],d=0;d0)){var oe=Jl("span","cm-string ".concat(d),{title:I});oe.textContent=I,o.noChange=!0,b.markText(Q,V,{replacedWith:oe,atomic:!0})}}}}),gi(this,"onKeyup",function(g,d){var b=d.getCursor().line;o.previewer.highlightLine(b+1)}),gi(this,"onScroll",function(g){if(Is.emit(o.instanceId,Is.Events.cleanAllSubMenus),o.disableScrollListener)o.disableScrollListener=!1;else{var d=g.getScrollerElement();if(d.scrollTop<=0)o.previewer.scrollToLineNum(0);else if(d.scrollTop+d.clientHeight>=d.scrollHeight-20)o.previewer.scrollToLineNum(null);else{var b=g.getScrollInfo().top,w=g.lineAtHeight(b,"local"),x=g.charCoords({line:w,ch:0},"local"),C=g.getLineHandle(w).height,B=100*(b-(x.bottom-C))/C/100;o.previewer.scrollToLineNum(w+1,B)}}}),gi(this,"onMouseDown",function(g,d){Is.emit(o.instanceId,Is.Events.cleanAllSubMenus);var b=g.getCursor().line,w=Math.abs(d.y-g.getWrapperElement().getBoundingClientRect().y);o.previewer.scrollToLineNumWithOffset(b+1,w),o.toHalfWidth(g,d)}),gi(this,"onCursorActivity",function(){o.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:Pwn},matchTags:{bothTags:!0},placeholder:"",keyMap:"sublime"},toolbars:{},onKeydown:function(){},onChange:function(){},onFocus:function(){},onBlur:function(){},onPaste:this.onPaste,onScroll:this.onScroll},this.animation={};var l=i.codemirror,h=J2n(i,Rwn);l&&BB(this.options.codemirror,l),BB(this.options,h),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId()}return Yr(r,[{key:"formatFullWidthMark",value:function(){var i,o=this.editor,l=/[·¥、:“”【】()《》]/,h=o.getSearchCursor(l),g=h.findNext();for(xa(i=o.getAllMarks()).call(i,function(C){if(C.className==="cm-fullWidth"){var B=JSON.parse(oQe(See(C).call(C))),L=o.getRange(B.from,B.to);l.test(L)||C.clear()}});g!==!1;g=h.findNext()){var d,b=h.from();if(b){var w={line:b.line,ch:b.ch},x={line:b.line,ch:b.ch+1};t1(d=o.findMarks(w,x)).call(d,function(C){return C.className==="cm-fullWidth"}).length===0&&o.markText(w,x,{className:"cm-fullWidth",title:"按住Ctrl/Cmd点击切换成半角(Hold down Ctrl/Cmd and click to switch to half-width)"})}}}},{key:"toHalfWidth",value:function(i,o){var l=o.target;if(l instanceof HTMLElement&&l.classList.contains("cm-fullWidth")&&(o.ctrlKey||o.metaKey)&&o.buttons===1){var h=l.getBoundingClientRect(),g=i.coordsChar({left:h.left,top:h.top}),d={line:g.line,ch:g.ch+1};i.setSelection(g,d),i.replaceSelection(l.innerText.replace("·","`").replace("¥","$").replace("、","/").replace(":",":").replace("“",'"').replace("”",'"').replace("【","[").replace("】","]").replace("(","(").replace(")",")").replace("《","<").replace("》",">"))}}},{key:"onPaste",value:function(i,o){var l=i.clipboardData;l?this.handlePaste(i,l,o):(l=window.clipboardData,this.handlePaste(i,l,o))}},{key:"handlePaste",value:function(i,o,l){var h=this;this.pasterHtml=!1;for(var g=o.items,d=o.types||[],b=l.getDoc(),w=0;w1&&arguments[1]!==void 0?arguments[1]:{},W);if(h.pasterHtml){var oe=l.getCursor(),G=oe.line,ae=oe.ch;l.setSelection({line:G,ch:ae},{line:G,ch:ae}),b.replaceSelection(` -`.concat(V),"end")}else b.replaceSelection(V)}}),i.preventDefault()}()}var C=o.getData("text/plain"),B=o.getData("Text/Html");if(!B||!this.options.convertWhenPaste)return!0;var L=document.createElement("DIV");L.innerHTML=B,B=L.innerHTML;var I=P_t.run(B);if(typeof I=="string"&&uo(I).call(I).length>0){this.pasterHtml=!0;var P=l.listSelections();if(l.getSelections().length<=1&&P[0]&&P[0].anchor){var z={};z.line=P[0].anchor.line,z.ch=P[0].anchor.ch,b.replaceSelection(I),Own.showSwitchBtnAfterPasteHtml(this.$cherry,z,l,C,I)}else b.replaceSelection(I);i.preventDefault()}L=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(i){var o=this;this.storeDocumentScroll();var l=this.options.editorDom.querySelector("#".concat(this.options.id));if(!(l instanceof HTMLTextAreaElement))throw new Error("The specific element is not a textarea.");var h=Fp.fromTextArea(l,this.options.codemirror);h.addOverlay({name:"invisibles",token:function(g){var d,b=0,w=g.peek()===" ";if(w){for(;w&&b0&&Z0(function(){for(var w=function(C){var B=b[C],L=B.type||"";if(L===""||/^text/i.test(L))return"continue";o.options.fileUpload(B,function(I){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof I=="string"){g.setSelection(g.getCursor());var z=q6t(I,P,B),W=C>0?` -`.concat(z," "):"".concat(z," ");g.replaceSelection(W),o.dealSpecialWords()}})},x=0;x0){if(w>=h.animation.destinationTop)return void(h.animation.timer=0);h.disableScrollListener=!0,h.editor.scrollTo(null,w+C)}else{if(!(x<0)||w<=h.animation.destinationTop||w<=0)return void(h.animation.timer=0);h.disableScrollListener=!0,h.editor.scrollTo(null,w-C)}w===h.editor.getScrollInfo().top||C>=Math.abs(x)?h.animation.timer=0:h.animation.timer=requestAnimationFrame(b)}))}},{key:"scrollToLineNum",value:function(i,o,l){if(i!==null){var h=Math.max(0,i);this.jumpToLine(h,o,l),Y2.log("滚动预览区域,左侧应scroll to ",h)}else this.jumpToLine(null)}},{key:"getEditorDom",value:function(){return this.options.editorDom}},{key:"addListener",value:function(i,o){this.editor.on(i,o)}},{key:"initWritingStyle",value:function(){var i,o,l=this.options.writingStyle,h="cherry-editor-writing-style--".concat(l),g=this.getEditorDom();xa(i=t1(o=yl(g.classList)).call(o,function(d){return bj(d).call(d,"cherry-editor-writing-style--")})).call(i,function(d){return g.classList.remove(d)}),l!=="normal"&&(g.classList.add(h),this.refreshWritingStatus())}},{key:"refreshWritingStatus",value:function(){var i,o,l=this.options.writingStyle;if(l==="focus"||l==="typewriter"){var h="cherry-editor-writing-style--".concat(l),g=document.querySelector("#cherry-editor-writing-style")||document.createElement("style");g.id="cherry-editor-writing-style",See(i=yl(document.head.childNodes)).call(i,function(V){return V===g})||document.head.appendChild(g);var d=g.sheet;if(xa(o=yl(Array(d.cssRules.length))).call(o,function(){return d.deleteRule(0)}),l==="focus"){var b,w,x=this.getEditorDom().getBoundingClientRect(),C=this.editor.charCoords(this.editor.getCursor()),B=C.top,L=C.bottom,I=B-x.top,P=x.height-(L-x.top);d.insertRule(rt(b=".".concat(h,"::before { height: ")).call(b,I>0?I:0,"px; }"),0),d.insertRule(rt(w=".".concat(h,"::after { height: ")).call(w,P>0?P:0,"px; }"),0)}if(l==="typewriter"){var z,W,Q=this.editor.getScrollInfo().clientHeight/2;d.insertRule(rt(z=".".concat(h," .CodeMirror-lines::before { height: ")).call(z,Q,"px; }"),0),d.insertRule(rt(W=".".concat(h," .CodeMirror-lines::after { height: ")).call(W,Q,"px; }"),0),this.editor.scrollTo(null,this.editor.cursorCoords(null,"local").top-Q)}}}},{key:"setWritingStyle",value:function(i){this.options.writingStyle=i,this.initWritingStyle()}}]),r}(),Hwn=WB.findIndex,ixt="findIndex",axt=!0;ixt in[]&&Array(1)[ixt](function(){axt=!1}),ma({target:"Array",proto:!0,forced:axt},{findIndex:function(r){return Hwn(this,r,arguments.length>1?arguments[1]:void 0)}});var $wn=Ld("Array").findIndex,kIe=Array.prototype,oge=function(r){var i=r.findIndex;return r===kIe||uf(kIe,r)&&i===kIe.findIndex?$wn:i},jwn=fte("splice"),Kwn=Ai.TypeError,zwn=Math.max,Xwn=Math.min;ma({target:"Array",proto:!0,forced:!jwn},{splice:function(r,i){var o,l,h,g,d,b,w=ay(this),x=r4(w),C=RB(r,x),B=arguments.length;if(B===0?o=l=0:B===1?(o=0,l=x-C):(o=B-2,l=Xwn(zwn(jj(i),0),x-C)),x+o-l>9007199254740991)throw Kwn("Maximum allowed length exceeded");for(h=mpe(w,l),g=0;gx-l+o;g--)delete w[g-1]}else if(o>l)for(g=x-l;g>C;g--)b=g+o-1,(d=g+l-1)in w?w[b]=w[d]:delete w[b];for(g=0;g1?arguments[1]:void 0)}});var qwn=Ld("Array").map,EIe=Array.prototype,ss=function(r){var i=r.map;return r===EIe||uf(EIe,r)&&i===EIe.map?qwn:i};function uQ(r,i){var o,l,h,g=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return/^\n/.test(r)?g?((o=(l=r.match(/^\n+/g))===null||l===void 0||(h=l[0])===null||h===void 0?void 0:h.length)!==null&&o!==void 0?o:0)>1?` +Item 2`;o=o.replace(/^\n+/,"").replace(/\n+$/,"");var l="1.";switch(i){case"ol":l="1.";break;case"ul":l="-";break;case"checklist":l="- [x]"}if(o=o.replace(/^(\s*)([0-9a-zA-Z]+\.|- \[x\]|- \[ \]|-) /gm,"$1"),l==="1."){var h={};o=o.replace(/^(\s*)(\S[\s\S]*?)$/gm,function(g,d,b){var w,x,C,B=((w=d.match(/[ \t]/g))===null||w===void 0?void 0:w.length)||0;return h[B]=h[B]?h[B]+1:1,rt(x=rt(C="".concat(d)).call(C,h[B],". ")).call(x,b)})}else o=o.replace(/^(\s*)(\S[\s\S]*?)$/gm,"$1".concat(l," $2"));return o}function hQe(){var r={begin:/(?:^|\n)(\n*(?:[^\S\n]*)):::([^:][^\n]+?)\s*\n/,content:/([\w\W]*?)/,end:/\n[ \t]*:::[ \t]*(?=$|\n+)/};return r.reg=new RegExp(r.begin.source+r.content.source+r.end.source,"g"),r}function j_t(){var r={begin:/(?:^|\n)(\n*(?:[^\S\n]*))\+\+\+([-]{0,1})\s+([^\n]+)\n/,content:/([\w\W]+?)/,end:/\n[ \t]*\+\+\+[ \t]*(?=$|\n+)/};return r.reg=new RegExp(r.begin.source+r.content.source+r.end.source,"g"),r}var Own=/(\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,)([^)]+)\)/g,Nwn=/(!\[[^\n]*?\]\([^)]+\)\{[^}]* data-xml=)([^}]+)\}/g,nxt=/(!\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,[^)]+\)\{data-type=drawio data-xml=[^}]+\})/g,zAe=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").replace(Epe().reg,function(r){return r.replace(/^.*$/gm,"/n")}).replace(/(`+)(.+?(?:\n.+?)*?)\1/g,function(r){return r.replace(/[![\]()]/g,".")})};function Qwn(r){(function(i){var o=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)/,l=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)$/;if(i.getOption("disableInput"))return!1;for(var h=i.listSelections(),g=[],d=0;d0)){var oe=Jl("span","cm-string ".concat(d),{title:M});oe.textContent=M,o.noChange=!0,b.markText(Q,V,{replacedWith:oe,atomic:!0})}}}}),gi(this,"onKeyup",function(g,d){var b=d.getCursor().line;o.previewer.highlightLine(b+1)}),gi(this,"onScroll",function(g){if(Ms.emit(o.instanceId,Ms.Events.cleanAllSubMenus),o.disableScrollListener)o.disableScrollListener=!1;else{var d=g.getScrollerElement();if(d.scrollTop<=0)o.previewer.scrollToLineNum(0);else if(d.scrollTop+d.clientHeight>=d.scrollHeight-20)o.previewer.scrollToLineNum(null);else{var b=g.getScrollInfo().top,w=g.lineAtHeight(b,"local"),x=g.charCoords({line:w,ch:0},"local"),C=g.getLineHandle(w).height,B=100*(b-(x.bottom-C))/C/100;o.previewer.scrollToLineNum(w+1,B)}}}),gi(this,"onMouseDown",function(g,d){Ms.emit(o.instanceId,Ms.Events.cleanAllSubMenus);var b=g.getCursor().line,w=Math.abs(d.y-g.getWrapperElement().getBoundingClientRect().y);o.previewer.scrollToLineNumWithOffset(b+1,w),o.toHalfWidth(g,d)}),gi(this,"onCursorActivity",function(){o.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:Qwn},matchTags:{bothTags:!0},placeholder:"",keyMap:"sublime"},toolbars:{},onKeydown:function(){},onChange:function(){},onFocus:function(){},onBlur:function(){},onPaste:this.onPaste,onScroll:this.onScroll},this.animation={};var l=i.codemirror,h=Y2n(i,Pwn);l&&TB(this.options.codemirror,l),TB(this.options,h),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId()}return Yr(r,[{key:"formatFullWidthMark",value:function(){var i,o=this.editor,l=/[·¥、:“”【】()《》]/,h=o.getSearchCursor(l),g=h.findNext();for(xa(i=o.getAllMarks()).call(i,function(C){if(C.className==="cm-fullWidth"){var B=JSON.parse(aQe(_ee(C).call(C))),L=o.getRange(B.from,B.to);l.test(L)||C.clear()}});g!==!1;g=h.findNext()){var d,b=h.from();if(b){var w={line:b.line,ch:b.ch},x={line:b.line,ch:b.ch+1};t1(d=o.findMarks(w,x)).call(d,function(C){return C.className==="cm-fullWidth"}).length===0&&o.markText(w,x,{className:"cm-fullWidth",title:"按住Ctrl/Cmd点击切换成半角(Hold down Ctrl/Cmd and click to switch to half-width)"})}}}},{key:"toHalfWidth",value:function(i,o){var l=o.target;if(l instanceof HTMLElement&&l.classList.contains("cm-fullWidth")&&(o.ctrlKey||o.metaKey)&&o.buttons===1){var h=l.getBoundingClientRect(),g=i.coordsChar({left:h.left,top:h.top}),d={line:g.line,ch:g.ch+1};i.setSelection(g,d),i.replaceSelection(l.innerText.replace("·","`").replace("¥","$").replace("、","/").replace(":",":").replace("“",'"').replace("”",'"').replace("【","[").replace("】","]").replace("(","(").replace(")",")").replace("《","<").replace("》",">"))}}},{key:"onPaste",value:function(i,o){var l=i.clipboardData;l?this.handlePaste(i,l,o):(l=window.clipboardData,this.handlePaste(i,l,o))}},{key:"handlePaste",value:function(i,o,l){var h=this;this.pasterHtml=!1;for(var g=o.items,d=o.types||[],b=l.getDoc(),w=0;w1&&arguments[1]!==void 0?arguments[1]:{},W);if(h.pasterHtml){var oe=l.getCursor(),G=oe.line,ae=oe.ch;l.setSelection({line:G,ch:ae},{line:G,ch:ae}),b.replaceSelection(` +`.concat(V),"end")}else b.replaceSelection(V)}}),i.preventDefault()}()}var C=o.getData("text/plain"),B=o.getData("Text/Html");if(!B||!this.options.convertWhenPaste)return!0;var L=document.createElement("DIV");L.innerHTML=B,B=L.innerHTML;var M=Q_t.run(B);if(typeof M=="string"&&uo(M).call(M).length>0){this.pasterHtml=!0;var P=l.listSelections();if(l.getSelections().length<=1&&P[0]&&P[0].anchor){var z={};z.line=P[0].anchor.line,z.ch=P[0].anchor.ch,b.replaceSelection(M),Dwn.showSwitchBtnAfterPasteHtml(this.$cherry,z,l,C,M)}else b.replaceSelection(M);i.preventDefault()}L=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(i){var o=this;this.storeDocumentScroll();var l=this.options.editorDom.querySelector("#".concat(this.options.id));if(!(l instanceof HTMLTextAreaElement))throw new Error("The specific element is not a textarea.");var h=Ip.fromTextArea(l,this.options.codemirror);h.addOverlay({name:"invisibles",token:function(g){var d,b=0,w=g.peek()===" ";if(w){for(;w&&b0&&Z0(function(){for(var w=function(C){var B=b[C],L=B.type||"";if(L===""||/^text/i.test(L))return"continue";o.options.fileUpload(B,function(M){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof M=="string"){g.setSelection(g.getCursor());var z=W6t(M,P,B),W=C>0?` +`.concat(z," "):"".concat(z," ");g.replaceSelection(W),o.dealSpecialWords()}})},x=0;x0){if(w>=h.animation.destinationTop)return void(h.animation.timer=0);h.disableScrollListener=!0,h.editor.scrollTo(null,w+C)}else{if(!(x<0)||w<=h.animation.destinationTop||w<=0)return void(h.animation.timer=0);h.disableScrollListener=!0,h.editor.scrollTo(null,w-C)}w===h.editor.getScrollInfo().top||C>=Math.abs(x)?h.animation.timer=0:h.animation.timer=requestAnimationFrame(b)}))}},{key:"scrollToLineNum",value:function(i,o,l){if(i!==null){var h=Math.max(0,i);this.jumpToLine(h,o,l),q2.log("滚动预览区域,左侧应scroll to ",h)}else this.jumpToLine(null)}},{key:"getEditorDom",value:function(){return this.options.editorDom}},{key:"addListener",value:function(i,o){this.editor.on(i,o)}},{key:"initWritingStyle",value:function(){var i,o,l=this.options.writingStyle,h="cherry-editor-writing-style--".concat(l),g=this.getEditorDom();xa(i=t1(o=yl(g.classList)).call(o,function(d){return mj(d).call(d,"cherry-editor-writing-style--")})).call(i,function(d){return g.classList.remove(d)}),l!=="normal"&&(g.classList.add(h),this.refreshWritingStatus())}},{key:"refreshWritingStatus",value:function(){var i,o,l=this.options.writingStyle;if(l==="focus"||l==="typewriter"){var h="cherry-editor-writing-style--".concat(l),g=document.querySelector("#cherry-editor-writing-style")||document.createElement("style");g.id="cherry-editor-writing-style",_ee(i=yl(document.head.childNodes)).call(i,function(V){return V===g})||document.head.appendChild(g);var d=g.sheet;if(xa(o=yl(Array(d.cssRules.length))).call(o,function(){return d.deleteRule(0)}),l==="focus"){var b,w,x=this.getEditorDom().getBoundingClientRect(),C=this.editor.charCoords(this.editor.getCursor()),B=C.top,L=C.bottom,M=B-x.top,P=x.height-(L-x.top);d.insertRule(rt(b=".".concat(h,"::before { height: ")).call(b,M>0?M:0,"px; }"),0),d.insertRule(rt(w=".".concat(h,"::after { height: ")).call(w,P>0?P:0,"px; }"),0)}if(l==="typewriter"){var z,W,Q=this.editor.getScrollInfo().clientHeight/2;d.insertRule(rt(z=".".concat(h," .CodeMirror-lines::before { height: ")).call(z,Q,"px; }"),0),d.insertRule(rt(W=".".concat(h," .CodeMirror-lines::after { height: ")).call(W,Q,"px; }"),0),this.editor.scrollTo(null,this.editor.cursorCoords(null,"local").top-Q)}}}},{key:"setWritingStyle",value:function(i){this.options.writingStyle=i,this.initWritingStyle()}}]),r}(),Uwn=VB.findIndex,rxt="findIndex",ixt=!0;rxt in[]&&Array(1)[rxt](function(){ixt=!1}),ma({target:"Array",proto:!0,forced:ixt},{findIndex:function(r){return Uwn(this,r,arguments.length>1?arguments[1]:void 0)}});var Hwn=Md("Array").findIndex,xMe=Array.prototype,age=function(r){var i=r.findIndex;return r===xMe||uf(xMe,r)&&i===xMe.findIndex?Hwn:i},$wn=hte("splice"),jwn=Ai.TypeError,Kwn=Math.max,zwn=Math.min;ma({target:"Array",proto:!0,forced:!$wn},{splice:function(r,i){var o,l,h,g,d,b,w=iy(this),x=n4(w),C=PB(r,x),B=arguments.length;if(B===0?o=l=0:B===1?(o=0,l=x-C):(o=B-2,l=zwn(Kwn($j(i),0),x-C)),x+o-l>9007199254740991)throw jwn("Maximum allowed length exceeded");for(h=ppe(w,l),g=0;gx-l+o;g--)delete w[g-1]}else if(o>l)for(g=x-l;g>C;g--)b=g+o-1,(d=g+l-1)in w?w[b]=w[d]:delete w[b];for(g=0;g1?arguments[1]:void 0)}});var Wwn=Md("Array").map,CMe=Array.prototype,ss=function(r){var i=r.map;return r===CMe||uf(CMe,r)&&i===CMe.map?Wwn:i};function lQ(r,i){var o,l,h,g=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return/^\n/.test(r)?g?((o=(l=r.match(/^\n+/g))===null||l===void 0||(h=l[0])===null||h===void 0?void 0:h.length)!==null&&o!==void 0?o:0)>1?` `.concat(i):` `.concat(i):` -`.concat(i):i}function yDe(r,i){var o=(r.match(/\n/g)||[]).length;return r!==""&&(o-=2),o+i}var t4=L_t;function Ywn(r,i){if(t4(i))return i}function dQe(r){return typeof localStorage<"u"&&localStorage.getItem("cherry-".concat(r))!==null}function sge(){var r="false";return typeof localStorage<"u"&&(r=localStorage.getItem("cherry-classicBr")),r==="true"}function xDe(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],i="default";if(typeof localStorage<"u"){var o=localStorage.getItem("cherry-theme");o&&(i=o)}return r?"theme__".concat(i):i}function z_t(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=(i||xDe()).replace(/^.*theme__/,""),l=" theme__".concat(o);r.wrapperDom.className=r.wrapperDom.className.replace(/ theme__[^ $]+?( |$)/g," ")+l,r.previewer.getDomContainer().className=r.previewer.getDomContainer().className.replace(/ theme__[^ $]+?( |$)/g," ")+l,function(h){typeof localStorage<"u"&&localStorage.setItem("cherry-theme",h)}(o)}var Jwn=Ai.RangeError,sxt=String.fromCharCode,cxt=String.fromCodePoint,Zwn=Za([].join),evn=!!cxt&&cxt.length!=1;ma({target:"String",stat:!0,arity:1,forced:evn},{fromCodePoint:function(r){for(var i,o=[],l=arguments.length,h=0;l>h;){if(i=+arguments[h++],RB(i,1114111)!==i)throw Jwn(i+" is not a valid code point");o[h]=i<65536?sxt(i):sxt(55296+((i-=65536)>>10),i%1024+56320)}return Zwn(o,"")}});var lxt,uxt,kDe=Gc.String.fromCodePoint;function hxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function g$(r){for(var i=1;i":">","&":"&",'"':""","'":"'"},tvn={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},AQe=g$(g$(g$(g$(g$(g$({},{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:"♦"}),dxt=pu(AQe),Axt=ss(dxt).call(dxt,function(r){return AQe[r].replace(/^&(\w+);$/g,function(i,o){return o.toLowerCase()})}),CDe=function(r){return typeof r!="string"||r.length<=0},gxt=function(r){try{var i=kDe(r);return!CDe(i)}catch{return!1}},mte=["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("|"),nvn=["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("|"),rvn=new RegExp(rt(lxt=rt(uxt="^(".concat(mte,"|")).call(uxt,nvn,"|")).call(lxt,"br|img|hr",")( |$|/)"),"i");function vj(r,i){return typeof r!="string"?"":i?r.replace(/[<>&]/g,function(o){return fxt[o]||o}):r.replace(/[<>&"']/g,function(o){return fxt[o]||o})}function ey(r,i){if(typeof r!="string")return"";var o=X_t(r);return o=function(l){return typeof l!="string"?"":l.replace(/&(\w+);?/g,function(h,g){return tvn[g]||h})}(o),vj(o,i)}function X_t(r){return r.replace(/&#(\d+);?/g,function(i,o){return AQe[o]||i})}function ivn(r){var i=function(h){return h.replace(/&#x([0-9a-f]+);?/gi,function(g,d){var b=Sb("0x".concat(d),16);try{return kDe(b)}catch{return g}})}(function(h){return h.replace(/&#(\d+);?/g,function(g,d){try{return kDe(d)}catch{return g}})}(r)).match(/^\s*([\w\W]+?)(?=:)/i);if(!i)return!0;var o=["javascript","data"],l=i[1].replace(/[\s]/g,"");return xl(o).call(o,l.toLowerCase())===-1}function WI(r){return encodeURI(r).replace(/%25/g,"%")}function avn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var pxt=0,_d=function(r){aa(o,PA);var i=avn(o);function o(){var l,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{needCache:!1},g=h.needCache,d=h.defaultCache,b=d===void 0?{}:d;return qr(this,o),(l=i.call(this,{})).needCache=!!g,l.sign="",g&&(l.cache=b||{},l.cacheKey="~~C".concat(pxt),pxt+=1),l}return Yr(o,[{key:"initBrReg",value:function(){var l=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.classicBr=dQe("classicBr")?sge():l,this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(l){var h=l.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?h:this.joinRawHtml(h).replace(/\n/g,"
").replace(/\r/g,` -`)}},{key:"joinRawHtml",value:function(l){if(!this.removeBrAfterBlock){var h,g,d,b,w=(h=(g=this.$engine.htmlWhiteListAppend)===null||g===void 0?void 0:g.split("|"))!==null&&h!==void 0?h:[];w=t1(d=ss(w).call(w,function(C){return/[a-z-]+/gi.test(C)?C:null})).call(d,function(C){return C!==null});var x=rt(w).call(w,mte).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(x,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(x,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(rt(b="<\\/(".concat(x,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(b,x,")(>| [^>]*?>)"),"ig")}return l.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"").replace(this.removeNewlinesBetweenTags,"\r$2<$3$4")}},{key:"toHtml",value:function(l,h){return l}},{key:"makeHtml",value:function(l,h){return h(l).html}},{key:"afterMakeHtml",value:function(l){return this.restoreCache(l)}},{key:"isContainsCache",value:function(l,h){if(h){var g=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(l),d=new RegExp("~~C\\d+I".concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(l);return g&&!d}return new RegExp("~~C\\d+I(?!".concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(l)}},{key:"$splitHtmlByCache",value:function(l){var h=new RegExp("\\n*~~C\\d+I(?!".concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:l.match(h),contents:l.split(h)}}},{key:"makeExcludingCached",value:function(l,h){for(var g=this.$splitHtmlByCache(l),d=g.caches,b=g.contents,w=ss(b).call(b,h),x="",C=0;C2&&arguments[2]!==void 0&&arguments[2],L=(g=(d=h.match(/^\n+/))===null||d===void 0?void 0:d[0])!==null&&g!==void 0?g:"",I=(b=(w=h.match(/\n+$/))===null||w===void 0?void 0:w[0])!==null&&b!==void 0?b:"";return B?uQ(h,l):rt(x=rt(C="".concat(L)).call(C,l)).call(x,I)}},{key:"getLineCount",value:function(l){var h,g,d,b=l,w=(h=(g=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:"").match(/^\n+/g))===null||g===void 0||(d=g[0])===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0;w=w===1?1:0,b=b.replace(/^\n+/g,"");var x=new RegExp(` -*~~C\\d+I(?:`.concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),C=0;return b=b.replace(x,function(B,L){return C+=Sb(L,10),B.replace(/^\n+/g,"")}),w+C+(b.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(l){var h,g,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.needCache){var w=d||this.$engine.md5(l);return this.cache[w]={content:l,using:!0},rt(h=rt(g="".concat(this.cacheKey,"I")).call(g,w,"_L")).call(h,b,"$")}}},{key:"popCache",value:function(l){if(this.needCache)return this.cache[l].content||""}},{key:"resetCache",value:function(){if(this.needCache){for(var l=0,h=pu(this.cache);l2&&arguments[2]!==void 0?arguments[2]:0;return this.sign=this.$engine.md5(l),this.cache[this.sign]?(this.cache[this.sign].using=!0,rt(g=rt(d="".concat(this.cacheKey,"I")).call(d,this.sign,"_L")).call(g,b,"$")):this.toHtml(l,h)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(l){return!1}}]),o}();gi(_d,"HOOK_TYPE",wj.PAR),gi(_d,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),gi(_d,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var mxt=eu(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}}),Vde=Object.isExtensible,TIe=eu(function(){Vde(1)})||mxt?function(r){return!!g1(r)&&(!mxt||l9(r)!="ArrayBuffer")&&(!Vde||Vde(r))}:Vde,G_t=!eu(function(){return Object.isExtensible(Object.preventExtensions({}))}),VN=il(function(r){var i=ew.f,o=!1,l=yee("meta"),h=0,g=function(b){i(b,l,{value:{objectID:"O"+h++,weakData:{}}})},d=r.exports={enable:function(){d.enable=function(){},o=!0;var b=xee.f,w=Za([].splice),x={};x[l]=1,b(x).length&&(xee.f=function(C){for(var B=b(C),L=0,I=B.length;Lg;g++)if((b=W(r[g]))&&uf(bxt,b))return b;return new GAe(!1)}l=lQ(r,h)}for(w=l.next;!(x=cc(w,l)).done;){try{b=W(x.value)}catch(Q){mDe(l,"throw",Q)}if(typeof b=="object"&&b&&uf(bxt,b))return b}return new GAe(!1)},svn=Ai.TypeError,Gj=function(r,i){if(uf(i,r))return r;throw svn("Incorrect invocation")},cvn=ew.f,lvn=WB.forEach,uvn=Mm.set,hvn=Mm.getterFor,EDe=function(r,i,o){for(var l in i)o&&o.unsafe&&r[l]?r[l]=i[l]:ty(r,l,i[l],o);return r},wxt=Z1("species"),V_t=function(r){var i=Dp(r),o=ew.f;Zu&&i&&!i[wxt]&&o(i,wxt,{configurable:!0,get:function(){return this}})},fvn=ew.f,vxt=VN.fastKey,yxt=Mm.set,BIe=Mm.getterFor,dvn={getConstructor:function(r,i,o,l){var h=r(function(x,C){Gj(x,g),yxt(x,{type:i,index:e4(null),first:void 0,last:void 0,size:0}),Zu||(x.size=0),C!=null&&NA(C,x[l],{that:x,AS_ENTRIES:o})}),g=h.prototype,d=BIe(i),b=function(x,C,B){var L,I,P=d(x),z=w(x,C);return z?z.value=B:(P.last=z={index:I=vxt(C,!0),key:C,value:B,previous:L=P.last,next:void 0,removed:!1},P.first||(P.first=z),L&&(L.next=z),Zu?P.size++:x.size++,I!=="F"&&(P.index[I]=z)),x},w=function(x,C){var B,L=d(x),I=vxt(C);if(I!=="F")return L.index[I];for(B=L.first;B;B=B.next)if(B.key==C)return B};return EDe(g,{clear:function(){for(var x=d(this),C=x.index,B=x.first;B;)B.removed=!0,B.previous&&(B.previous=B.previous.next=void 0),delete C[B.index],B=B.next;x.first=x.last=void 0,Zu?x.size=0:this.size=0},delete:function(x){var C=this,B=d(C),L=w(C,x);if(L){var I=L.next,P=L.previous;delete B.index[L.index],L.removed=!0,P&&(P.next=I),I&&(I.previous=P),B.first==L&&(B.first=I),B.last==L&&(B.last=P),Zu?B.size--:C.size--}return!!L},forEach:function(x){for(var C,B=d(this),L=tg(x,arguments.length>1?arguments[1]:void 0);C=C?C.next:B.first;)for(L(C.value,C.key,this);C&&C.removed;)C=C.previous},has:function(x){return!!w(this,x)}}),EDe(g,o?{get:function(x){var C=w(this,x);return C&&C.value},set:function(x,C){return b(this,x===0?0:x,C)}}:{add:function(x){return b(this,x=x===0?0:x,x)}}),Zu&&fvn(g,"size",{get:function(){return d(this).size}}),h},setStrong:function(r,i,o){var l=i+" Iterator",h=BIe(i),g=BIe(l);YNe(r,i,function(d,b){yxt(this,{type:l,target:d,state:h(d),kind:b,last:void 0})},function(){for(var d=g(this),b=d.kind,w=d.last;w&&w.removed;)w=w.previous;return d.target&&(d.last=w=w?w.next:d.state.first)?b=="keys"?{value:w.key,done:!1}:b=="values"?{value:w.value,done:!1}:{value:[w.key,w.value],done:!1}:(d.target=void 0,{value:void 0,done:!0})},o?"entries":"values",!o,!0),V_t(i)}};(function(r,i,o){var l,h=r.indexOf("Map")!==-1,g=r.indexOf("Weak")!==-1,d=h?"set":"add",b=Ai[r],w=b&&b.prototype,x={};if(Zu&&hh(b)&&(g||w.forEach&&!eu(function(){new b().entries().next()}))){var C=(l=i(function(L,I){uvn(Gj(L,C),{type:r,collection:new b}),I!=null&&NA(I,L[d],{that:L,AS_ENTRIES:h})})).prototype,B=hvn(r);lvn(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(L){var I=L=="add"||L=="set";!(L in w)||g&&L=="clear"||kb(C,L,function(P,z){var W=B(this).collection;if(!I&&g&&!g1(P))return L=="get"&&void 0;var Q=W[L](P===0?0:P,z);return I?this:Q})}),g||cvn(C,"size",{configurable:!0,get:function(){return B(this).collection.size}})}else l=o.getConstructor(i,r,h,d),VN.enable();UB(l,r,!1,!0),x[r]=l,ma({global:!0,forced:!0},x),g||o.setStrong(l,r,h)})("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},dvn);var W_t=Gc.Map,Avn=W_t,xxt=[].push;ma({target:"Map",stat:!0,forced:!0},{from:function(r){var i,o,l,h,g=arguments.length,d=g>1?arguments[1]:void 0;return Y0e(this),(i=d!==void 0)&&Lu(d),r==null?new this:(o=[],i?(l=0,h=tg(d,g>2?arguments[2]:void 0),NA(r,function(b){cc(xxt,o,h(b,l++))})):NA(r,xxt,{that:o}),new this(o))}});ma({target:"Map",stat:!0,forced:!0},{of:function(){return new this(iM(arguments))}});ma({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var r,i=Iu(this),o=Lu(i.delete),l=!0,h=0,g=arguments.length;h1?arguments[1]:void 0);return!NA(o,function(h,g,d){if(!l(g,h,i))return d()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var gvn=Z1("species"),Iee=function(r,i){var o,l=Iu(r).constructor;return l===void 0||(o=Iu(l)[gvn])==null?i:Y0e(o)};ma({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(r){var i=Iu(this),o=i9(i),l=tg(r,arguments.length>1?arguments[1]:void 0),h=new(Iee(i,Dp("Map"))),g=Lu(h.set);return NA(o,function(d,b){l(b,d,i)&&cc(g,h,d,b)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),h}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{find:function(r){var i=Iu(this),o=i9(i),l=tg(r,arguments.length>1?arguments[1]:void 0);return NA(o,function(h,g,d){if(l(g,h,i))return d(g)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(r){var i=Iu(this),o=i9(i),l=tg(r,arguments.length>1?arguments[1]:void 0);return NA(o,function(h,g,d){if(l(g,h,i))return d(h)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var pvn=Za([].push);ma({target:"Map",stat:!0,forced:!0},{groupBy:function(r,i){Lu(i);var o=lQ(r),l=new this,h=Lu(l.has),g=Lu(l.get),d=Lu(l.set);return NA(o,function(b){var w=i(b);cc(h,l,w)?pvn(cc(g,l,w),b):cc(d,l,w,[b])},{IS_ITERATOR:!0}),l}});ma({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(r){return NA(i9(Iu(this)),function(i,o,l){if(function(h,g){return h===g||h!=h&&g!=g}(o,r))return l()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),ma({target:"Map",stat:!0,forced:!0},{keyBy:function(r,i){var o=new this;Lu(i);var l=Lu(o.set);return NA(r,function(h){cc(l,o,i(h),h)}),o}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(r){return NA(i9(Iu(this)),function(i,o,l){if(o===r)return l(i)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(r){var i=Iu(this),o=i9(i),l=tg(r,arguments.length>1?arguments[1]:void 0),h=new(Iee(i,Dp("Map"))),g=Lu(h.set);return NA(o,function(d,b){cc(g,h,l(b,d,i),b)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),h}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(r){var i=Iu(this),o=i9(i),l=tg(r,arguments.length>1?arguments[1]:void 0),h=new(Iee(i,Dp("Map"))),g=Lu(h.set);return NA(o,function(d,b){cc(g,h,d,l(b,d,i))},{AS_ENTRIES:!0,IS_ITERATOR:!0}),h}}),ma({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(r){for(var i=Iu(this),o=Lu(i.set),l=arguments.length,h=0;h1?arguments[1]:void 0);return NA(o,function(h,g,d){if(l(g,h,i))return d()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var bvn=Ai.TypeError;ma({target:"Map",proto:!0,real:!0,forced:!0},{update:function(r,i){var o=Iu(this),l=Lu(o.get),h=Lu(o.has),g=Lu(o.set),d=arguments.length;Lu(i);var b=cc(h,o,r);if(!b&&d<3)throw bvn("Updating absent value");var w=b?cc(l,o,r):Lu(d>2?arguments[2]:void 0)(r,o);return cc(g,o,r,i(w,r,o)),o}});var wvn=Ai.TypeError,kxt=function(r,i){var o,l=Iu(this),h=Lu(l.get),g=Lu(l.has),d=Lu(l.set),b=arguments.length>2?arguments[2]:void 0;if(!hh(i)&&!hh(b))throw wvn("At least one callback required");return cc(g,l,r)?(o=cc(h,l,r),hh(i)&&(o=i(o),cc(d,l,r,o))):hh(b)&&(o=b(),cc(d,l,r,o)),o};ma({target:"Map",proto:!0,real:!0,forced:!0},{upsert:kxt}),ma({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:kxt});var Cxt=Avn,Wde=SBt,vvn=a_t;function cge(r,i,o){return cge=function(){if(typeof Reflect>"u"||!Wde||Wde.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Wde(Boolean,[],function(){})),!0}catch{return!1}}()?Wde:function(l,h,g){var d=[null];d.push.apply(d,h);var b=new(vvn(Function).apply(l,d));return g&&Eee(b,g.prototype),b},cge.apply(null,arguments)}function TDe(r){var i=typeof Cxt=="function"?new Cxt:void 0;return TDe=function(o){if(o===null||!function(h){var g;return pDe(g=Function.toString.call(h)).call(g,"[native code]")!==-1}(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(o))return i.get(o);i.set(o,l)}function l(){return cge(o,arguments,En(this).constructor)}return l.prototype=WZ(o.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Eee(l,o)},TDe(r)}function yvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var jN=function(r,i){if(!t4(r)&&Vc(r)!==i.name.toLowerCase()||!t4(r)&&i.name.toLowerCase()==="array")throw new TypeError("parameter given must be ".concat(i.name));return!0},Ext=function(r,i){if(!(r instanceof i))throw new Error("the hook does not correctly inherit");return!0},xvn=function(r){if(Vc(r)!=="object")throw new Error("the hook must be a instance, not a class");return!0},VAe=function(r){aa(o,TDe(Error));var i=yvn(o);function o(l,h){var g;return qr(this,o),(g=i.call(this,l)).name="Error",g.stack=g.buildStackTrace(h),g}return Yr(o,[{key:"buildStackTrace",value:function(l){var h,g=l&&l.stack?l.stack:"";return rt(h="".concat(this.stack,` -Caused By: `)).call(h,g)}}]),o}();function Txt(r,i,o){var l,h;if(r===-1)Y2.warn(rt(l=rt(h="Duplicate hook name [".concat(i.HOOK_NAME,"] found, hook [")).call(h,i.toString(),"] ")).call(l,isNaN(o)?"":"at index [".concat(o,"] "),"will not take effect."));else if(r===-2){var g;Y2.warn(rt(g="Hook [".concat(i.toString(),"] ")).call(g,isNaN(o)?"":"at index [".concat(o,"] "),"is not a valid hook, and will not take effect."))}}function WAe(r){return BDe(r)||q_t(r)}function BDe(r){return Object.prototype.isPrototypeOf.call(PA,r)}function q_t(r){return Object.prototype.isPrototypeOf.call(_d,r)}function _Ie(r){return WAe(r)&&(r==null?void 0:r.Cherry$$CUSTOM)===!0}var kvn=function(){function r(i,o,l){qr(this,r),this.$locale=l.locale,this.hookList={},this.hookNameList={},jN(i,Array),this.registerInternalHooks(i,o),this.registerCustomHooks(o.engine.customSyntax,o)}return Yr(r,[{key:"registerInternalHooks",value:function(i,o){var l=this;xa(i).call(i,function(h,g){Txt(l.register(h,o),h,g)})}},{key:"registerCustomHooks",value:function(i,o){var l=this;if(i){var h=pu(i);xa(h).call(h,function(g){var d,b,w,x,C={},B=i[g];if(BDe(B))b=B;else{if(!BDe(x=(w=B)==null?void 0:w.syntaxClass)&&!q_t(x))return;b=B.syntaxClass,C.force=!!B.force,B.before?C.before=B.before:B.after&&(C.after=B.after)}WAe(b)?(Z2(b,"Cherry$$CUSTOM",{enumerable:!1,configurable:!1,writable:!1,value:!0}),d=l.register(b,o,C)):d=-2,Txt(d,b,void 0)})}}},{key:"getHookList",value:function(){return this.hookList}},{key:"getHookNameList",value:function(){return this.hookNameList}},{key:"register",value:function(i,o,l){var h,g,d=this,b=o.externals,w=o.engine,x=w.syntax;if(WAe(i)){g=i.HOOK_NAME;var C=(x==null?void 0:x[g])||{};(h=new i({externals:b,config:C,globalConfig:w.global})).afterInit(function(){h.setLocale(d.$locale)})}else{if(typeof i!="function"||!(h=i(o))||!WAe(h.constructor))return-2;g=h.getName()}if(x[g]!==!1||_Ie(i)){var B=h.getType();if(this.hookNameList[g]){var L;if(!_Ie(i)||!l.force)return-1;var I=this.hookNameList[g].type;this.hookList[I]=t1(L=this.hookList[I]).call(L,function(G){return G.getName()!==g})}if(this.hookNameList[g]={type:B},this.hookList[B]=this.hookList[B]||[],_Ie(i)){var P,z,W,Q=-1;if(l.before)(Q=oge(P=this.hookList[B]).call(P,function(G){return G.getName()===l.before}))===-1&&Y2.warn(rt(z="Cannot find hook named [".concat(l.before,`], - custom hook [`)).call(z,g,"] will append to the end of the hooks."));else if(l.after){var V,oe;(Q=oge(V=this.hookList[B]).call(V,function(G){return G.getName()===l.after}))===-1?Y2.warn(rt(oe="Cannot find hook named [".concat(l.after,`], - custom hook [`)).call(oe,g,"] will append to the end of the hooks.")):Q+=1}Q<0||Q>=this.hookList[B].length?this.hookList[B].push(h):G3(W=this.hookList[B]).call(W,Q,0,h)}else this.hookList[B].push(h)}}}]),r}();function Y_t(r){if(B6!==void 0&&bM(r)!=null||r["@@iterator"]!=null)return O_t(r)}function sM(r){return function(i){if(I_t(i))return bDe(i)}(r)||Y_t(r)||uQe(r)||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 J_t(r){return M_t(r)||Y_t(r)||uQe(r)||N_t()}function Bxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function _xt(r){for(var i=1;i3&&arguments[3]!==void 0&&arguments[3],g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1;if(!i)return r;i.lastIndex=0;for(var d=0,b=[];(l=i.exec(r))!==null;){var w={begin:l.index,length:l[0].length};if(h&&l.index===d-g){var x,C=J_t(l),B=C[0],L=Zi(C).call(C,2);b.push({begin:w.begin+g,length:w.length-g,replacedText:o.apply(void 0,rt(x=[Zi(B).call(B,g),""]).call(x,sM(L)))})}else b.push(_xt(_xt({},w),{},{replacedText:o.apply(void 0,sM(l))}));d=i.lastIndex,i.lastIndex-=g}return i.lastIndex=0,function(I,P){if(!P.length)return I;var z=[],W=0;return xa(P).call(P,function(Q,V){z.push(Zi(I).call(I,W,Q.begin)),z.push(Q.replacedText),W=Q.begin+Q.length,V===P.length-1&&z.push(Zi(I).call(I,W))}),z.join("")}(r,b)}function Cvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Z_t=function(r){aa(o,PA);var i=Cvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w;return rt(b=rt(w="".concat(h,'')).call(b,d,"")}},{key:"makeHtml",value:function(l){return QA()?l.replace(this.RULE.reg,this.toHtml):yk(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:QA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(Z_t,"HOOK_NAME","fontColor");var eSt=function(r){aa(o,PA);var i=Evn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w;return rt(b=rt(w="".concat(h,'')).call(b,d,"")}},{key:"makeHtml",value:function(l){return QA()?l.replace(this.RULE.reg,this.toHtml):yk(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:QA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(eSt,"HOOK_NAME","bgColor");var tSt=function(r){aa(o,PA);var i=Tvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w;return rt(b=rt(w="".concat(h,'')).call(b,d,"")}},{key:"makeHtml",value:function(l){return this.test(l)?QA()?l.replace(this.RULE.reg,this.toHtml):yk(l,this.RULE.reg,this.toHtml,!0,1):l}},{key:"rule",value:function(){var l={begin:QA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(tSt,"HOOK_NAME","fontSize");var nSt=function(r){aa(o,PA);var i=Bvn(o);function o(){var l,h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;return qr(this,o),l=i.call(this,{config:h}),h?(l.needWhitespace=!!h.needWhitespace,l):Wi(l)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,"$1$2"):l}},{key:"rule",value:function(){var l={};return(l=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config.needWhitespace?qde(qde({},l),{},{begin:"(^|[\\s])\\~T\\~T",end:"\\~T\\~T(?=\\s|$)",content:"([\\w\\W]+?)"}):qde(qde({},l),{},{begin:"(^|[^\\\\])\\~T\\~T",end:"\\~T\\~T",content:"([\\w\\W]+?)"})).reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();function _vn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(nSt,"HOOK_NAME","strikethrough");var rSt=function(r){aa(o,PA);var i=_vn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g){var d;return rt(d="".concat(h,"")).call(d,g,"")}},{key:"makeHtml",value:function(l){return QA()?l.replace(this.RULE.reg,this.toHtml):yk(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:QA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(rSt,"HOOK_NAME","sup");var iSt=function(r){aa(o,PA);var i=Svn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g){var d;return rt(d="".concat(h,"")).call(d,g,"")}},{key:"makeHtml",value:function(l){return QA()?l.replace(this.RULE.reg,this.toHtml):yk(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:QA()?"((?"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(oe){var W=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(oe.stack)||[])[1];if(W){var Q=document.getElementsByTagName("script");for(var V in Q)if(Q[V].src==W)return Q[V]}return null}},isActive:function(W,Q,V){for(var oe="no-"+Q;W;){var G=W.classList;if(G.contains(Q))return!0;if(G.contains(oe))return!1;W=W.parentElement}return!!V}},languages:{plain:g,plaintext:g,text:g,txt:g,extend:function(W,Q){var V=d.util.clone(d.languages[W]);for(var oe in Q)V[oe]=Q[oe];return V},insertBefore:function(W,Q,V,oe){var G=(oe=oe||d.languages)[W],ae={};for(var ne in G)if(G.hasOwnProperty(ne)){if(ne==Q)for(var de in V)V.hasOwnProperty(de)&&(ae[de]=V[de]);V.hasOwnProperty(ne)||(ae[ne]=G[ne])}var Ae=oe[W];return oe[W]=ae,d.languages.DFS(d.languages,function(le,ve){ve===Ae&&le!=W&&(this[le]=ae)}),ae},DFS:function W(Q,V,oe,G){G=G||{};var ae=d.util.objId;for(var ne in Q)if(Q.hasOwnProperty(ne)){V.call(Q,ne,Q[ne],oe||ne);var de=Q[ne],Ae=d.util.type(de);Ae!=="Object"||G[ae(de)]?Ae!=="Array"||G[ae(de)]||(G[ae(de)]=!0,W(de,V,ne,G)):(G[ae(de)]=!0,W(de,V,null,G))}}},plugins:{},highlightAll:function(W,Q){d.highlightAllUnder(document,W,Q)},highlightAllUnder:function(W,Q,V){var oe={callback:V,container:W,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};d.hooks.run("before-highlightall",oe),oe.elements=Array.prototype.slice.apply(oe.container.querySelectorAll(oe.selector)),d.hooks.run("before-all-elements-highlight",oe);for(var G,ae=0;G=oe.elements[ae++];)d.highlightElement(G,Q===!0,oe.callback)},highlightElement:function(W,Q,V){var oe=d.util.getLanguage(W),G=d.languages[oe];d.util.setLanguage(W,oe);var ae=W.parentElement;ae&&ae.nodeName.toLowerCase()==="pre"&&d.util.setLanguage(ae,oe);var ne={element:W,language:oe,grammar:G,code:W.textContent};function de(le){ne.highlightedCode=le,d.hooks.run("before-insert",ne),ne.element.innerHTML=ne.highlightedCode,d.hooks.run("after-highlight",ne),d.hooks.run("complete",ne),V&&V.call(ne.element)}if(d.hooks.run("before-sanity-check",ne),(ae=ne.element.parentElement)&&ae.nodeName.toLowerCase()==="pre"&&!ae.hasAttribute("tabindex")&&ae.setAttribute("tabindex","0"),!ne.code)return d.hooks.run("complete",ne),void(V&&V.call(ne.element));if(d.hooks.run("before-highlight",ne),ne.grammar)if(Q&&o.Worker){var Ae=new Worker(d.filename);Ae.onmessage=function(le){de(le.data)},Ae.postMessage(JSON.stringify({language:ne.language,code:ne.code,immediateClose:!0}))}else de(d.highlight(ne.code,ne.grammar,ne.language));else de(d.util.encode(ne.code))},highlight:function(W,Q,V){var oe={code:W,grammar:Q,language:V};if(d.hooks.run("before-tokenize",oe),!oe.grammar)throw new Error('The language "'+oe.language+'" has no grammar.');return oe.tokens=d.tokenize(oe.code,oe.grammar),d.hooks.run("after-tokenize",oe),b.stringify(d.util.encode(oe.tokens),oe.language)},tokenize:function(W,Q){var V=Q.rest;if(V){for(var oe in V)Q[oe]=V[oe];delete Q.rest}var G=new C;return B(G,G.head,W),x(W,G,Q,G.head,0),function(ae){for(var ne=[],de=ae.head.next;de!==ae.tail;)ne.push(de.value),de=de.next;return ne}(G)},hooks:{all:{},add:function(W,Q){var V=d.hooks.all;V[W]=V[W]||[],V[W].push(Q)},run:function(W,Q){var V=d.hooks.all[W];if(V&&V.length)for(var oe,G=0;oe=V[G++];)oe(Q)}},Token:b};function b(W,Q,V,oe){this.type=W,this.content=Q,this.alias=V,this.length=0|(oe||"").length}function w(W,Q,V,oe){W.lastIndex=Q;var G=W.exec(V);if(G&&oe&&G[1]){var ae=G[1].length;G.index+=ae,G[0]=G[0].slice(ae)}return G}function x(W,Q,V,oe,G,ae){for(var ne in V)if(V.hasOwnProperty(ne)&&V[ne]){var de=V[ne];de=Array.isArray(de)?de:[de];for(var Ae=0;Ae=ae.reach);ce+=fe.value.length,fe=fe.next){var $e=fe.value;if(Q.length>W.length)return;if(!($e instanceof b)){var Ye,ct=1;if(ee){if(!(Ye=w(Ee,ce,W,me))||Ye.index>=W.length)break;var ot=Ye.index,Qe=Ye.index+Ye[0].length,Le=ce;for(Le+=fe.value.length;ot>=Le;)Le+=(fe=fe.next).value.length;if(ce=Le-=fe.value.length,fe.value instanceof b)continue;for(var ht=fe;ht!==Q.tail&&(Leae.reach&&(ae.reach=xt);var on=fe.prev;if(Et&&(on=B(Q,on,Et),ce+=Et.length),L(Q,on,ct),fe=B(Q,on,new b(ne,ve?d.tokenize(Rt,ve):Rt,ye,Rt)),Rn&&B(Q,fe,Rn),ct>1){var Kt={cause:ne+","+Ae,reach:xt};x(W,Q,V,fe.prev,ce,Kt),ae&&Kt.reach>ae.reach&&(ae.reach=Kt.reach)}}}}}}function C(){var W={value:null,prev:null,next:null},Q={value:null,prev:W,next:null};W.next=Q,this.head=W,this.tail=Q,this.length=0}function B(W,Q,V){var oe=Q.next,G={value:V,prev:Q,next:oe};return Q.next=G,oe.prev=G,W.length++,G}function L(W,Q,V){for(var oe=Q.next,G=0;G"+G.content+""},!o.document)return o.addEventListener&&(d.disableWorkerMessageHandler||o.addEventListener("message",function(W){var Q=JSON.parse(W.data),V=Q.language,oe=Q.code,G=Q.immediateClose;o.postMessage(d.highlight(oe,d.languages[V],V)),G&&o.close()},!1)),d;var I=d.util.currentScript();function P(){d.manual||d.highlightAll()}if(I&&(d.filename=I.src,I.hasAttribute("data-manual")&&(d.manual=!0)),!d.manual){var z=document.readyState;z==="loading"||z==="interactive"&&I&&I.defer?document.addEventListener("DOMContentLoaded",P):window.requestAnimationFrame?window.requestAnimationFrame(P):window.setTimeout(P,16)}return d}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});r.exports&&(r.exports=i),_b!==void 0&&(_b.Prism=i)});function Lxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function Lvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}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(r){function i(Qe,Le){return Qe.replace(/<<(\d+)>>/g,function(ht,Rt){return"(?:"+Le[+Rt]+")"})}function o(Qe,Le,ht){return RegExp(i(Qe,Le),ht||"")}function l(Qe,Le){for(var ht=0;ht>/g,function(){return"(?:"+Qe+")"});return Qe.replace(/<>/g,"[^\\s\\S]")}var h="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",g="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*{)",b="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 w(Qe){return"\\b(?:"+Qe.trim().replace(/ /g,"|")+")\\b"}var x=w(g),C=RegExp(w(h+" "+g+" "+d+" "+b)),B=w(g+" "+d+" "+b),L=w(h+" "+g+" "+b),I=l(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),P=l(/\((?:[^()]|<>)*\)/.source,2),z=/@?\b[A-Za-z_]\w*\b/.source,W=i(/<<0>>(?:\s*<<1>>)?/.source,[z,I]),Q=i(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[B,W]),V=/\[\s*(?:,\s*)*\]/.source,oe=i(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[Q,V]),G=i(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[I,P,V]),ae=i(/\(<<0>>+(?:,<<0>>+)+\)/.source,[G]),ne=i(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[ae,Q,V]),de={keyword:C,punctuation:/[<>()?,.:[\]]/},Ae=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,le=/"(?:\\.|[^\\"\r\n])*"/.source,ve=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;r.languages.csharp=r.languages.extend("clike",{string:[{pattern:o(/(^|[^$\\])<<0>>/.source,[ve]),lookbehind:!0,greedy:!0},{pattern:o(/(^|[^@$\\])<<0>>/.source,[le]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:o(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[Q]),lookbehind:!0,inside:de},{pattern:o(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[z,ne]),lookbehind:!0,inside:de},{pattern:o(/(\busing\s+)<<0>>(?=\s*=)/.source,[z]),lookbehind:!0},{pattern:o(/(\b<<0>>\s+)<<1>>/.source,[x,W]),lookbehind:!0,inside:de},{pattern:o(/(\bcatch\s*\(\s*)<<0>>/.source,[Q]),lookbehind:!0,inside:de},{pattern:o(/(\bwhere\s+)<<0>>/.source,[z]),lookbehind:!0},{pattern:o(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[oe]),lookbehind:!0,inside:de},{pattern:o(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[ne,L,z]),inside:de}],keyword:C,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:/\?\.?|::|[{}[\];(),.:]/}),r.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),r.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:o(/([(,]\s*)<<0>>(?=\s*:)/.source,[z]),lookbehind:!0,alias:"punctuation"}}),r.languages.insertBefore("csharp","class-name",{namespace:{pattern:o(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[z]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:o(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[P]),lookbehind:!0,alias:"class-name",inside:de},"return-type":{pattern:o(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[ne,Q]),inside:de,alias:"class-name"},"constructor-invocation":{pattern:o(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[ne]),lookbehind:!0,inside:de,alias:"class-name"},"generic-method":{pattern:o(/<<0>>\s*<<1>>(?=\s*\()/.source,[z,I]),inside:{function:o(/^<<0>>/.source,[z]),generic:{pattern:RegExp(I),alias:"class-name",inside:de}}},"type-list":{pattern:o(/\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,[x,W,z,ne,C.source,P,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:o(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[W,P]),lookbehind:!0,greedy:!0,inside:r.languages.csharp},keyword:C,"class-name":{pattern:RegExp(ne),greedy:!0,inside:de},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 me=le+"|"+Ae,ee=i(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[me]),ye=l(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[ee]),2),Y=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,Ee=i(/<<0>>(?:\s*\(<<1>>*\))?/.source,[Q,ye]);r.languages.insertBefore("csharp","class-name",{attribute:{pattern:o(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Y,Ee]),lookbehind:!0,greedy:!0,inside:{target:{pattern:o(/^<<0>>(?=\s*:)/.source,[Y]),alias:"keyword"},"attribute-arguments":{pattern:o(/\(<<0>>*\)/.source,[ye]),inside:r.languages.csharp},"class-name":{pattern:RegExp(Q),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var fe=/:[^}\r\n]+/.source,ce=l(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[ee]),2),$e=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ce,fe]),Ye=l(i(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[me]),2),ct=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Ye,fe]);function ot(Qe,Le){return{interpolation:{pattern:o(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Qe]),lookbehind:!0,inside:{"format-string":{pattern:o(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Le,fe]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:r.languages.csharp}}},string:/[\s\S]+/}}r.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:o(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[$e]),lookbehind:!0,greedy:!0,inside:ot($e,ce)},{pattern:o(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[ct]),lookbehind:!0,greedy:!0,inside:ot(ct,Ye)}],char:{pattern:RegExp(Ae),greedy:!0}}),r.languages.dotnet=r.languages.cs=r.languages.csharp}(Prism),function(r){var i=/\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/,o=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return i.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return i.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:i,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/}),r.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 o})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.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:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.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(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(r,i){var o={};o["language-"+i]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[i]},o.cdata=/^$/i;var l={"included-cdata":{pattern://i,inside:o}};l["language-"+i]={pattern:/[\s\S]+/,inside:Prism.languages[i]};var h={};h[r]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:l},Prism.languages.insertBefore("markup","cdata",h)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(r,i){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\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:[i,"language-"+i],inside:Prism.languages[i]},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(r){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.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\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,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:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var o=r.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(Prism),function(r){var i=[/\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/],o=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,l={pattern:RegExp(o+/[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:/\./}}}};r.languages.dart=r.languages.extend("clike",{"class-name":[l,{pattern:RegExp(o+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:l.inside}],keyword:i,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),r.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:r.languages.dart}}},string:/[\s\S]+/}},string:void 0}),r.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),r.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":l,keyword:i,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism),function(r){r.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var i={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(i).forEach(function(o){var l=i[o],h=[];/^\w+$/.test(o)||h.push(/\w+/.exec(o)[0]),o==="diff"&&h.push("bold"),r.languages.diff[o]={pattern:RegExp("^(?:["+l+`].*(?:\r +`.concat(i):i}function vDe(r,i){var o=(r.match(/\n/g)||[]).length;return r!==""&&(o-=2),o+i}var e4=S_t;function qwn(r,i){if(e4(i))return i}function fQe(r){return typeof localStorage<"u"&&localStorage.getItem("cherry-".concat(r))!==null}function oge(){var r="false";return typeof localStorage<"u"&&(r=localStorage.getItem("cherry-classicBr")),r==="true"}function yDe(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],i="default";if(typeof localStorage<"u"){var o=localStorage.getItem("cherry-theme");o&&(i=o)}return r?"theme__".concat(i):i}function K_t(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=(i||yDe()).replace(/^.*theme__/,""),l=" theme__".concat(o);r.wrapperDom.className=r.wrapperDom.className.replace(/ theme__[^ $]+?( |$)/g," ")+l,r.previewer.getDomContainer().className=r.previewer.getDomContainer().className.replace(/ theme__[^ $]+?( |$)/g," ")+l,function(h){typeof localStorage<"u"&&localStorage.setItem("cherry-theme",h)}(o)}var Ywn=Ai.RangeError,oxt=String.fromCharCode,sxt=String.fromCodePoint,Jwn=Za([].join),Zwn=!!sxt&&sxt.length!=1;ma({target:"String",stat:!0,arity:1,forced:Zwn},{fromCodePoint:function(r){for(var i,o=[],l=arguments.length,h=0;l>h;){if(i=+arguments[h++],PB(i,1114111)!==i)throw Ywn(i+" is not a valid code point");o[h]=i<65536?oxt(i):oxt(55296+((i-=65536)>>10),i%1024+56320)}return Jwn(o,"")}});var cxt,lxt,xDe=Gc.String.fromCodePoint;function uxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function A$(r){for(var i=1;i":">","&":"&",'"':""","'":"'"},evn={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},dQe=A$(A$(A$(A$(A$(A$({},{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:"♦"}),fxt=pu(dQe),dxt=ss(fxt).call(fxt,function(r){return dQe[r].replace(/^&(\w+);$/g,function(i,o){return o.toLowerCase()})}),kDe=function(r){return typeof r!="string"||r.length<=0},Axt=function(r){try{var i=xDe(r);return!kDe(i)}catch{return!1}},pte=["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("|"),tvn=["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("|"),nvn=new RegExp(rt(cxt=rt(lxt="^(".concat(pte,"|")).call(lxt,tvn,"|")).call(cxt,"br|img|hr",")( |$|/)"),"i");function wj(r,i){return typeof r!="string"?"":i?r.replace(/[<>&]/g,function(o){return hxt[o]||o}):r.replace(/[<>&"']/g,function(o){return hxt[o]||o})}function Zv(r,i){if(typeof r!="string")return"";var o=z_t(r);return o=function(l){return typeof l!="string"?"":l.replace(/&(\w+);?/g,function(h,g){return evn[g]||h})}(o),wj(o,i)}function z_t(r){return r.replace(/&#(\d+);?/g,function(i,o){return dQe[o]||i})}function rvn(r){var i=function(h){return h.replace(/&#x([0-9a-f]+);?/gi,function(g,d){var b=_b("0x".concat(d),16);try{return xDe(b)}catch{return g}})}(function(h){return h.replace(/&#(\d+);?/g,function(g,d){try{return xDe(d)}catch{return g}})}(r)).match(/^\s*([\w\W]+?)(?=:)/i);if(!i)return!0;var o=["javascript","data"],l=i[1].replace(/[\s]/g,"");return xl(o).call(o,l.toLowerCase())===-1}function VM(r){return encodeURI(r).replace(/%25/g,"%")}function ivn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var gxt=0,Sd=function(r){aa(o,RA);var i=ivn(o);function o(){var l,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{needCache:!1},g=h.needCache,d=h.defaultCache,b=d===void 0?{}:d;return qr(this,o),(l=i.call(this,{})).needCache=!!g,l.sign="",g&&(l.cache=b||{},l.cacheKey="~~C".concat(gxt),gxt+=1),l}return Yr(o,[{key:"initBrReg",value:function(){var l=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.classicBr=fQe("classicBr")?oge():l,this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(l){var h=l.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?h:this.joinRawHtml(h).replace(/\n/g,"
").replace(/\r/g,` +`)}},{key:"joinRawHtml",value:function(l){if(!this.removeBrAfterBlock){var h,g,d,b,w=(h=(g=this.$engine.htmlWhiteListAppend)===null||g===void 0?void 0:g.split("|"))!==null&&h!==void 0?h:[];w=t1(d=ss(w).call(w,function(C){return/[a-z-]+/gi.test(C)?C:null})).call(d,function(C){return C!==null});var x=rt(w).call(w,pte).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(x,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(x,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(rt(b="<\\/(".concat(x,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(b,x,")(>| [^>]*?>)"),"ig")}return l.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"").replace(this.removeNewlinesBetweenTags,"\r$2<$3$4")}},{key:"toHtml",value:function(l,h){return l}},{key:"makeHtml",value:function(l,h){return h(l).html}},{key:"afterMakeHtml",value:function(l){return this.restoreCache(l)}},{key:"isContainsCache",value:function(l,h){if(h){var g=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(l),d=new RegExp("~~C\\d+I".concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(l);return g&&!d}return new RegExp("~~C\\d+I(?!".concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(l)}},{key:"$splitHtmlByCache",value:function(l){var h=new RegExp("\\n*~~C\\d+I(?!".concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:l.match(h),contents:l.split(h)}}},{key:"makeExcludingCached",value:function(l,h){for(var g=this.$splitHtmlByCache(l),d=g.caches,b=g.contents,w=ss(b).call(b,h),x="",C=0;C2&&arguments[2]!==void 0&&arguments[2],L=(g=(d=h.match(/^\n+/))===null||d===void 0?void 0:d[0])!==null&&g!==void 0?g:"",M=(b=(w=h.match(/\n+$/))===null||w===void 0?void 0:w[0])!==null&&b!==void 0?b:"";return B?lQ(h,l):rt(x=rt(C="".concat(L)).call(C,l)).call(x,M)}},{key:"getLineCount",value:function(l){var h,g,d,b=l,w=(h=(g=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:"").match(/^\n+/g))===null||g===void 0||(d=g[0])===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0;w=w===1?1:0,b=b.replace(/^\n+/g,"");var x=new RegExp(` +*~~C\\d+I(?:`.concat(o.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),C=0;return b=b.replace(x,function(B,L){return C+=_b(L,10),B.replace(/^\n+/g,"")}),w+C+(b.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(l){var h,g,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.needCache){var w=d||this.$engine.md5(l);return this.cache[w]={content:l,using:!0},rt(h=rt(g="".concat(this.cacheKey,"I")).call(g,w,"_L")).call(h,b,"$")}}},{key:"popCache",value:function(l){if(this.needCache)return this.cache[l].content||""}},{key:"resetCache",value:function(){if(this.needCache){for(var l=0,h=pu(this.cache);l2&&arguments[2]!==void 0?arguments[2]:0;return this.sign=this.$engine.md5(l),this.cache[this.sign]?(this.cache[this.sign].using=!0,rt(g=rt(d="".concat(this.cacheKey,"I")).call(d,this.sign,"_L")).call(g,b,"$")):this.toHtml(l,h)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(l){return!1}}]),o}();gi(Sd,"HOOK_TYPE",bj.PAR),gi(Sd,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),gi(Sd,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var pxt=eu(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}}),Gde=Object.isExtensible,EMe=eu(function(){Gde(1)})||pxt?function(r){return!!g1(r)&&(!pxt||c9(r)!="ArrayBuffer")&&(!Gde||Gde(r))}:Gde,X_t=!eu(function(){return Object.isExtensible(Object.preventExtensions({}))}),GN=il(function(r){var i=Z2.f,o=!1,l=vee("meta"),h=0,g=function(b){i(b,l,{value:{objectID:"O"+h++,weakData:{}}})},d=r.exports={enable:function(){d.enable=function(){},o=!0;var b=yee.f,w=Za([].splice),x={};x[l]=1,b(x).length&&(yee.f=function(C){for(var B=b(C),L=0,M=B.length;Lg;g++)if((b=W(r[g]))&&uf(mxt,b))return b;return new XAe(!1)}l=cQ(r,h)}for(w=l.next;!(x=cc(w,l)).done;){try{b=W(x.value)}catch(Q){pDe(l,"throw",Q)}if(typeof b=="object"&&b&&uf(mxt,b))return b}return new XAe(!1)},ovn=Ai.TypeError,Xj=function(r,i){if(uf(i,r))return r;throw ovn("Incorrect invocation")},svn=Z2.f,cvn=VB.forEach,lvn=Mm.set,uvn=Mm.getterFor,CDe=function(r,i,o){for(var l in i)o&&o.unsafe&&r[l]?r[l]=i[l]:ey(r,l,i[l],o);return r},bxt=ed("species"),G_t=function(r){var i=Fp(r),o=Z2.f;Zu&&i&&!i[bxt]&&o(i,bxt,{configurable:!0,get:function(){return this}})},hvn=Z2.f,wxt=GN.fastKey,vxt=Mm.set,TMe=Mm.getterFor,fvn={getConstructor:function(r,i,o,l){var h=r(function(x,C){Xj(x,g),vxt(x,{type:i,index:Z3(null),first:void 0,last:void 0,size:0}),Zu||(x.size=0),C!=null&&QA(C,x[l],{that:x,AS_ENTRIES:o})}),g=h.prototype,d=TMe(i),b=function(x,C,B){var L,M,P=d(x),z=w(x,C);return z?z.value=B:(P.last=z={index:M=wxt(C,!0),key:C,value:B,previous:L=P.last,next:void 0,removed:!1},P.first||(P.first=z),L&&(L.next=z),Zu?P.size++:x.size++,M!=="F"&&(P.index[M]=z)),x},w=function(x,C){var B,L=d(x),M=wxt(C);if(M!=="F")return L.index[M];for(B=L.first;B;B=B.next)if(B.key==C)return B};return CDe(g,{clear:function(){for(var x=d(this),C=x.index,B=x.first;B;)B.removed=!0,B.previous&&(B.previous=B.previous.next=void 0),delete C[B.index],B=B.next;x.first=x.last=void 0,Zu?x.size=0:this.size=0},delete:function(x){var C=this,B=d(C),L=w(C,x);if(L){var M=L.next,P=L.previous;delete B.index[L.index],L.removed=!0,P&&(P.next=M),M&&(M.previous=P),B.first==L&&(B.first=M),B.last==L&&(B.last=P),Zu?B.size--:C.size--}return!!L},forEach:function(x){for(var C,B=d(this),L=tg(x,arguments.length>1?arguments[1]:void 0);C=C?C.next:B.first;)for(L(C.value,C.key,this);C&&C.removed;)C=C.previous},has:function(x){return!!w(this,x)}}),CDe(g,o?{get:function(x){var C=w(this,x);return C&&C.value},set:function(x,C){return b(this,x===0?0:x,C)}}:{add:function(x){return b(this,x=x===0?0:x,x)}}),Zu&&hvn(g,"size",{get:function(){return d(this).size}}),h},setStrong:function(r,i,o){var l=i+" Iterator",h=TMe(i),g=TMe(l);qNe(r,i,function(d,b){vxt(this,{type:l,target:d,state:h(d),kind:b,last:void 0})},function(){for(var d=g(this),b=d.kind,w=d.last;w&&w.removed;)w=w.previous;return d.target&&(d.last=w=w?w.next:d.state.first)?b=="keys"?{value:w.key,done:!1}:b=="values"?{value:w.value,done:!1}:{value:[w.key,w.value],done:!1}:(d.target=void 0,{value:void 0,done:!0})},o?"entries":"values",!o,!0),G_t(i)}};(function(r,i,o){var l,h=r.indexOf("Map")!==-1,g=r.indexOf("Weak")!==-1,d=h?"set":"add",b=Ai[r],w=b&&b.prototype,x={};if(Zu&&hh(b)&&(g||w.forEach&&!eu(function(){new b().entries().next()}))){var C=(l=i(function(L,M){lvn(Xj(L,C),{type:r,collection:new b}),M!=null&&QA(M,L[d],{that:L,AS_ENTRIES:h})})).prototype,B=uvn(r);cvn(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(L){var M=L=="add"||L=="set";!(L in w)||g&&L=="clear"||xb(C,L,function(P,z){var W=B(this).collection;if(!M&&g&&!g1(P))return L=="get"&&void 0;var Q=W[L](P===0?0:P,z);return M?this:Q})}),g||svn(C,"size",{configurable:!0,get:function(){return B(this).collection.size}})}else l=o.getConstructor(i,r,h,d),GN.enable();RB(l,r,!1,!0),x[r]=l,ma({global:!0,forced:!0},x),g||o.setStrong(l,r,h)})("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},fvn);var V_t=Gc.Map,dvn=V_t,yxt=[].push;ma({target:"Map",stat:!0,forced:!0},{from:function(r){var i,o,l,h,g=arguments.length,d=g>1?arguments[1]:void 0;return q0e(this),(i=d!==void 0)&&Lu(d),r==null?new this:(o=[],i?(l=0,h=tg(d,g>2?arguments[2]:void 0),QA(r,function(b){cc(yxt,o,h(b,l++))})):QA(r,yxt,{that:o}),new this(o))}});ma({target:"Map",stat:!0,forced:!0},{of:function(){return new this(rI(arguments))}});ma({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var r,i=Mu(this),o=Lu(i.delete),l=!0,h=0,g=arguments.length;h1?arguments[1]:void 0);return!QA(o,function(h,g,d){if(!l(g,h,i))return d()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var Avn=ed("species"),Lee=function(r,i){var o,l=Mu(r).constructor;return l===void 0||(o=Mu(l)[Avn])==null?i:q0e(o)};ma({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(r){var i=Mu(this),o=r9(i),l=tg(r,arguments.length>1?arguments[1]:void 0),h=new(Lee(i,Fp("Map"))),g=Lu(h.set);return QA(o,function(d,b){l(b,d,i)&&cc(g,h,d,b)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),h}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{find:function(r){var i=Mu(this),o=r9(i),l=tg(r,arguments.length>1?arguments[1]:void 0);return QA(o,function(h,g,d){if(l(g,h,i))return d(g)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(r){var i=Mu(this),o=r9(i),l=tg(r,arguments.length>1?arguments[1]:void 0);return QA(o,function(h,g,d){if(l(g,h,i))return d(h)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var gvn=Za([].push);ma({target:"Map",stat:!0,forced:!0},{groupBy:function(r,i){Lu(i);var o=cQ(r),l=new this,h=Lu(l.has),g=Lu(l.get),d=Lu(l.set);return QA(o,function(b){var w=i(b);cc(h,l,w)?gvn(cc(g,l,w),b):cc(d,l,w,[b])},{IS_ITERATOR:!0}),l}});ma({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(r){return QA(r9(Mu(this)),function(i,o,l){if(function(h,g){return h===g||h!=h&&g!=g}(o,r))return l()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),ma({target:"Map",stat:!0,forced:!0},{keyBy:function(r,i){var o=new this;Lu(i);var l=Lu(o.set);return QA(r,function(h){cc(l,o,i(h),h)}),o}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(r){return QA(r9(Mu(this)),function(i,o,l){if(o===r)return l(i)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(r){var i=Mu(this),o=r9(i),l=tg(r,arguments.length>1?arguments[1]:void 0),h=new(Lee(i,Fp("Map"))),g=Lu(h.set);return QA(o,function(d,b){cc(g,h,l(b,d,i),b)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),h}}),ma({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(r){var i=Mu(this),o=r9(i),l=tg(r,arguments.length>1?arguments[1]:void 0),h=new(Lee(i,Fp("Map"))),g=Lu(h.set);return QA(o,function(d,b){cc(g,h,d,l(b,d,i))},{AS_ENTRIES:!0,IS_ITERATOR:!0}),h}}),ma({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(r){for(var i=Mu(this),o=Lu(i.set),l=arguments.length,h=0;h1?arguments[1]:void 0);return QA(o,function(h,g,d){if(l(g,h,i))return d()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var mvn=Ai.TypeError;ma({target:"Map",proto:!0,real:!0,forced:!0},{update:function(r,i){var o=Mu(this),l=Lu(o.get),h=Lu(o.has),g=Lu(o.set),d=arguments.length;Lu(i);var b=cc(h,o,r);if(!b&&d<3)throw mvn("Updating absent value");var w=b?cc(l,o,r):Lu(d>2?arguments[2]:void 0)(r,o);return cc(g,o,r,i(w,r,o)),o}});var bvn=Ai.TypeError,xxt=function(r,i){var o,l=Mu(this),h=Lu(l.get),g=Lu(l.has),d=Lu(l.set),b=arguments.length>2?arguments[2]:void 0;if(!hh(i)&&!hh(b))throw bvn("At least one callback required");return cc(g,l,r)?(o=cc(h,l,r),hh(i)&&(o=i(o),cc(d,l,r,o))):hh(b)&&(o=b(),cc(d,l,r,o)),o};ma({target:"Map",proto:!0,real:!0,forced:!0},{upsert:xxt}),ma({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:xxt});var kxt=dvn,Vde=_Bt,wvn=i_t;function sge(r,i,o){return sge=function(){if(typeof Reflect>"u"||!Vde||Vde.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Vde(Boolean,[],function(){})),!0}catch{return!1}}()?Vde:function(l,h,g){var d=[null];d.push.apply(d,h);var b=new(wvn(Function).apply(l,d));return g&&Cee(b,g.prototype),b},sge.apply(null,arguments)}function EDe(r){var i=typeof kxt=="function"?new kxt:void 0;return EDe=function(o){if(o===null||!function(h){var g;return gDe(g=Function.toString.call(h)).call(g,"[native code]")!==-1}(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(o))return i.get(o);i.set(o,l)}function l(){return sge(o,arguments,En(this).constructor)}return l.prototype=GZ(o.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Cee(l,o)},EDe(r)}function vvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var $N=function(r,i){if(!e4(r)&&Vc(r)!==i.name.toLowerCase()||!e4(r)&&i.name.toLowerCase()==="array")throw new TypeError("parameter given must be ".concat(i.name));return!0},Cxt=function(r,i){if(!(r instanceof i))throw new Error("the hook does not correctly inherit");return!0},yvn=function(r){if(Vc(r)!=="object")throw new Error("the hook must be a instance, not a class");return!0},GAe=function(r){aa(o,EDe(Error));var i=vvn(o);function o(l,h){var g;return qr(this,o),(g=i.call(this,l)).name="Error",g.stack=g.buildStackTrace(h),g}return Yr(o,[{key:"buildStackTrace",value:function(l){var h,g=l&&l.stack?l.stack:"";return rt(h="".concat(this.stack,` +Caused By: `)).call(h,g)}}]),o}();function Ext(r,i,o){var l,h;if(r===-1)q2.warn(rt(l=rt(h="Duplicate hook name [".concat(i.HOOK_NAME,"] found, hook [")).call(h,i.toString(),"] ")).call(l,isNaN(o)?"":"at index [".concat(o,"] "),"will not take effect."));else if(r===-2){var g;q2.warn(rt(g="Hook [".concat(i.toString(),"] ")).call(g,isNaN(o)?"":"at index [".concat(o,"] "),"is not a valid hook, and will not take effect."))}}function VAe(r){return TDe(r)||W_t(r)}function TDe(r){return Object.prototype.isPrototypeOf.call(RA,r)}function W_t(r){return Object.prototype.isPrototypeOf.call(Sd,r)}function BMe(r){return VAe(r)&&(r==null?void 0:r.Cherry$$CUSTOM)===!0}var xvn=function(){function r(i,o,l){qr(this,r),this.$locale=l.locale,this.hookList={},this.hookNameList={},$N(i,Array),this.registerInternalHooks(i,o),this.registerCustomHooks(o.engine.customSyntax,o)}return Yr(r,[{key:"registerInternalHooks",value:function(i,o){var l=this;xa(i).call(i,function(h,g){Ext(l.register(h,o),h,g)})}},{key:"registerCustomHooks",value:function(i,o){var l=this;if(i){var h=pu(i);xa(h).call(h,function(g){var d,b,w,x,C={},B=i[g];if(TDe(B))b=B;else{if(!TDe(x=(w=B)==null?void 0:w.syntaxClass)&&!W_t(x))return;b=B.syntaxClass,C.force=!!B.force,B.before?C.before=B.before:B.after&&(C.after=B.after)}VAe(b)?(J2(b,"Cherry$$CUSTOM",{enumerable:!1,configurable:!1,writable:!1,value:!0}),d=l.register(b,o,C)):d=-2,Ext(d,b,void 0)})}}},{key:"getHookList",value:function(){return this.hookList}},{key:"getHookNameList",value:function(){return this.hookNameList}},{key:"register",value:function(i,o,l){var h,g,d=this,b=o.externals,w=o.engine,x=w.syntax;if(VAe(i)){g=i.HOOK_NAME;var C=(x==null?void 0:x[g])||{};(h=new i({externals:b,config:C,globalConfig:w.global})).afterInit(function(){h.setLocale(d.$locale)})}else{if(typeof i!="function"||!(h=i(o))||!VAe(h.constructor))return-2;g=h.getName()}if(x[g]!==!1||BMe(i)){var B=h.getType();if(this.hookNameList[g]){var L;if(!BMe(i)||!l.force)return-1;var M=this.hookNameList[g].type;this.hookList[M]=t1(L=this.hookList[M]).call(L,function(G){return G.getName()!==g})}if(this.hookNameList[g]={type:B},this.hookList[B]=this.hookList[B]||[],BMe(i)){var P,z,W,Q=-1;if(l.before)(Q=age(P=this.hookList[B]).call(P,function(G){return G.getName()===l.before}))===-1&&q2.warn(rt(z="Cannot find hook named [".concat(l.before,`], + custom hook [`)).call(z,g,"] will append to the end of the hooks."));else if(l.after){var V,oe;(Q=age(V=this.hookList[B]).call(V,function(G){return G.getName()===l.after}))===-1?q2.warn(rt(oe="Cannot find hook named [".concat(l.after,`], + custom hook [`)).call(oe,g,"] will append to the end of the hooks.")):Q+=1}Q<0||Q>=this.hookList[B].length?this.hookList[B].push(h):X3(W=this.hookList[B]).call(W,Q,0,h)}else this.hookList[B].push(h)}}}]),r}();function q_t(r){if(T6!==void 0&&mI(r)!=null||r["@@iterator"]!=null)return D_t(r)}function oI(r){return function(i){if(L_t(i))return mDe(i)}(r)||q_t(r)||lQe(r)||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 Y_t(r){return M_t(r)||q_t(r)||lQe(r)||O_t()}function Txt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function Bxt(r){for(var i=1;i3&&arguments[3]!==void 0&&arguments[3],g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1;if(!i)return r;i.lastIndex=0;for(var d=0,b=[];(l=i.exec(r))!==null;){var w={begin:l.index,length:l[0].length};if(h&&l.index===d-g){var x,C=Y_t(l),B=C[0],L=Zi(C).call(C,2);b.push({begin:w.begin+g,length:w.length-g,replacedText:o.apply(void 0,rt(x=[Zi(B).call(B,g),""]).call(x,oI(L)))})}else b.push(Bxt(Bxt({},w),{},{replacedText:o.apply(void 0,oI(l))}));d=i.lastIndex,i.lastIndex-=g}return i.lastIndex=0,function(M,P){if(!P.length)return M;var z=[],W=0;return xa(P).call(P,function(Q,V){z.push(Zi(M).call(M,W,Q.begin)),z.push(Q.replacedText),W=Q.begin+Q.length,V===P.length-1&&z.push(Zi(M).call(M,W))}),z.join("")}(r,b)}function kvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var J_t=function(r){aa(o,RA);var i=kvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w;return rt(b=rt(w="".concat(h,'')).call(b,d,"")}},{key:"makeHtml",value:function(l){return PA()?l.replace(this.RULE.reg,this.toHtml):v7(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:PA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(J_t,"HOOK_NAME","fontColor");var Z_t=function(r){aa(o,RA);var i=Cvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w;return rt(b=rt(w="".concat(h,'')).call(b,d,"")}},{key:"makeHtml",value:function(l){return PA()?l.replace(this.RULE.reg,this.toHtml):v7(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:PA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(Z_t,"HOOK_NAME","bgColor");var eSt=function(r){aa(o,RA);var i=Evn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w;return rt(b=rt(w="".concat(h,'')).call(b,d,"")}},{key:"makeHtml",value:function(l){return this.test(l)?PA()?l.replace(this.RULE.reg,this.toHtml):v7(l,this.RULE.reg,this.toHtml,!0,1):l}},{key:"rule",value:function(){var l={begin:PA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(eSt,"HOOK_NAME","fontSize");var tSt=function(r){aa(o,RA);var i=Tvn(o);function o(){var l,h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;return qr(this,o),l=i.call(this,{config:h}),h?(l.needWhitespace=!!h.needWhitespace,l):Wi(l)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,"$1$2"):l}},{key:"rule",value:function(){var l={};return(l=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config.needWhitespace?Wde(Wde({},l),{},{begin:"(^|[\\s])\\~T\\~T",end:"\\~T\\~T(?=\\s|$)",content:"([\\w\\W]+?)"}):Wde(Wde({},l),{},{begin:"(^|[^\\\\])\\~T\\~T",end:"\\~T\\~T",content:"([\\w\\W]+?)"})).reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();function Bvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(tSt,"HOOK_NAME","strikethrough");var nSt=function(r){aa(o,RA);var i=Bvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g){var d;return rt(d="".concat(h,"")).call(d,g,"")}},{key:"makeHtml",value:function(l){return PA()?l.replace(this.RULE.reg,this.toHtml):v7(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:PA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(nSt,"HOOK_NAME","sup");var rSt=function(r){aa(o,RA);var i=_vn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"toHtml",value:function(l,h,g){var d;return rt(d="".concat(h,"")).call(d,g,"")}},{key:"makeHtml",value:function(l){return PA()?l.replace(this.RULE.reg,this.toHtml):v7(l,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var l={begin:PA()?"((?"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(oe){var W=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(oe.stack)||[])[1];if(W){var Q=document.getElementsByTagName("script");for(var V in Q)if(Q[V].src==W)return Q[V]}return null}},isActive:function(W,Q,V){for(var oe="no-"+Q;W;){var G=W.classList;if(G.contains(Q))return!0;if(G.contains(oe))return!1;W=W.parentElement}return!!V}},languages:{plain:g,plaintext:g,text:g,txt:g,extend:function(W,Q){var V=d.util.clone(d.languages[W]);for(var oe in Q)V[oe]=Q[oe];return V},insertBefore:function(W,Q,V,oe){var G=(oe=oe||d.languages)[W],ae={};for(var ne in G)if(G.hasOwnProperty(ne)){if(ne==Q)for(var de in V)V.hasOwnProperty(de)&&(ae[de]=V[de]);V.hasOwnProperty(ne)||(ae[ne]=G[ne])}var Ae=oe[W];return oe[W]=ae,d.languages.DFS(d.languages,function(le,ve){ve===Ae&&le!=W&&(this[le]=ae)}),ae},DFS:function W(Q,V,oe,G){G=G||{};var ae=d.util.objId;for(var ne in Q)if(Q.hasOwnProperty(ne)){V.call(Q,ne,Q[ne],oe||ne);var de=Q[ne],Ae=d.util.type(de);Ae!=="Object"||G[ae(de)]?Ae!=="Array"||G[ae(de)]||(G[ae(de)]=!0,W(de,V,ne,G)):(G[ae(de)]=!0,W(de,V,null,G))}}},plugins:{},highlightAll:function(W,Q){d.highlightAllUnder(document,W,Q)},highlightAllUnder:function(W,Q,V){var oe={callback:V,container:W,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};d.hooks.run("before-highlightall",oe),oe.elements=Array.prototype.slice.apply(oe.container.querySelectorAll(oe.selector)),d.hooks.run("before-all-elements-highlight",oe);for(var G,ae=0;G=oe.elements[ae++];)d.highlightElement(G,Q===!0,oe.callback)},highlightElement:function(W,Q,V){var oe=d.util.getLanguage(W),G=d.languages[oe];d.util.setLanguage(W,oe);var ae=W.parentElement;ae&&ae.nodeName.toLowerCase()==="pre"&&d.util.setLanguage(ae,oe);var ne={element:W,language:oe,grammar:G,code:W.textContent};function de(le){ne.highlightedCode=le,d.hooks.run("before-insert",ne),ne.element.innerHTML=ne.highlightedCode,d.hooks.run("after-highlight",ne),d.hooks.run("complete",ne),V&&V.call(ne.element)}if(d.hooks.run("before-sanity-check",ne),(ae=ne.element.parentElement)&&ae.nodeName.toLowerCase()==="pre"&&!ae.hasAttribute("tabindex")&&ae.setAttribute("tabindex","0"),!ne.code)return d.hooks.run("complete",ne),void(V&&V.call(ne.element));if(d.hooks.run("before-highlight",ne),ne.grammar)if(Q&&o.Worker){var Ae=new Worker(d.filename);Ae.onmessage=function(le){de(le.data)},Ae.postMessage(JSON.stringify({language:ne.language,code:ne.code,immediateClose:!0}))}else de(d.highlight(ne.code,ne.grammar,ne.language));else de(d.util.encode(ne.code))},highlight:function(W,Q,V){var oe={code:W,grammar:Q,language:V};if(d.hooks.run("before-tokenize",oe),!oe.grammar)throw new Error('The language "'+oe.language+'" has no grammar.');return oe.tokens=d.tokenize(oe.code,oe.grammar),d.hooks.run("after-tokenize",oe),b.stringify(d.util.encode(oe.tokens),oe.language)},tokenize:function(W,Q){var V=Q.rest;if(V){for(var oe in V)Q[oe]=V[oe];delete Q.rest}var G=new C;return B(G,G.head,W),x(W,G,Q,G.head,0),function(ae){for(var ne=[],de=ae.head.next;de!==ae.tail;)ne.push(de.value),de=de.next;return ne}(G)},hooks:{all:{},add:function(W,Q){var V=d.hooks.all;V[W]=V[W]||[],V[W].push(Q)},run:function(W,Q){var V=d.hooks.all[W];if(V&&V.length)for(var oe,G=0;oe=V[G++];)oe(Q)}},Token:b};function b(W,Q,V,oe){this.type=W,this.content=Q,this.alias=V,this.length=0|(oe||"").length}function w(W,Q,V,oe){W.lastIndex=Q;var G=W.exec(V);if(G&&oe&&G[1]){var ae=G[1].length;G.index+=ae,G[0]=G[0].slice(ae)}return G}function x(W,Q,V,oe,G,ae){for(var ne in V)if(V.hasOwnProperty(ne)&&V[ne]){var de=V[ne];de=Array.isArray(de)?de:[de];for(var Ae=0;Ae=ae.reach);ce+=fe.value.length,fe=fe.next){var $e=fe.value;if(Q.length>W.length)return;if(!($e instanceof b)){var Ye,ct=1;if(ee){if(!(Ye=w(Ee,ce,W,me))||Ye.index>=W.length)break;var ot=Ye.index,Qe=Ye.index+Ye[0].length,Le=ce;for(Le+=fe.value.length;ot>=Le;)Le+=(fe=fe.next).value.length;if(ce=Le-=fe.value.length,fe.value instanceof b)continue;for(var ht=fe;ht!==Q.tail&&(Leae.reach&&(ae.reach=xt);var on=fe.prev;if(Et&&(on=B(Q,on,Et),ce+=Et.length),L(Q,on,ct),fe=B(Q,on,new b(ne,ve?d.tokenize(Rt,ve):Rt,ye,Rt)),Rn&&B(Q,fe,Rn),ct>1){var Kt={cause:ne+","+Ae,reach:xt};x(W,Q,V,fe.prev,ce,Kt),ae&&Kt.reach>ae.reach&&(ae.reach=Kt.reach)}}}}}}function C(){var W={value:null,prev:null,next:null},Q={value:null,prev:W,next:null};W.next=Q,this.head=W,this.tail=Q,this.length=0}function B(W,Q,V){var oe=Q.next,G={value:V,prev:Q,next:oe};return Q.next=G,oe.prev=G,W.length++,G}function L(W,Q,V){for(var oe=Q.next,G=0;G"+G.content+""},!o.document)return o.addEventListener&&(d.disableWorkerMessageHandler||o.addEventListener("message",function(W){var Q=JSON.parse(W.data),V=Q.language,oe=Q.code,G=Q.immediateClose;o.postMessage(d.highlight(oe,d.languages[V],V)),G&&o.close()},!1)),d;var M=d.util.currentScript();function P(){d.manual||d.highlightAll()}if(M&&(d.filename=M.src,M.hasAttribute("data-manual")&&(d.manual=!0)),!d.manual){var z=document.readyState;z==="loading"||z==="interactive"&&M&&M.defer?document.addEventListener("DOMContentLoaded",P):window.requestAnimationFrame?window.requestAnimationFrame(P):window.setTimeout(P,16)}return d}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});r.exports&&(r.exports=i),Bb!==void 0&&(Bb.Prism=i)});function Sxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function Svn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}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(r){function i(Qe,Le){return Qe.replace(/<<(\d+)>>/g,function(ht,Rt){return"(?:"+Le[+Rt]+")"})}function o(Qe,Le,ht){return RegExp(i(Qe,Le),ht||"")}function l(Qe,Le){for(var ht=0;ht>/g,function(){return"(?:"+Qe+")"});return Qe.replace(/<>/g,"[^\\s\\S]")}var h="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",g="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*{)",b="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 w(Qe){return"\\b(?:"+Qe.trim().replace(/ /g,"|")+")\\b"}var x=w(g),C=RegExp(w(h+" "+g+" "+d+" "+b)),B=w(g+" "+d+" "+b),L=w(h+" "+g+" "+b),M=l(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),P=l(/\((?:[^()]|<>)*\)/.source,2),z=/@?\b[A-Za-z_]\w*\b/.source,W=i(/<<0>>(?:\s*<<1>>)?/.source,[z,M]),Q=i(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[B,W]),V=/\[\s*(?:,\s*)*\]/.source,oe=i(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[Q,V]),G=i(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[M,P,V]),ae=i(/\(<<0>>+(?:,<<0>>+)+\)/.source,[G]),ne=i(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[ae,Q,V]),de={keyword:C,punctuation:/[<>()?,.:[\]]/},Ae=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,le=/"(?:\\.|[^\\"\r\n])*"/.source,ve=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;r.languages.csharp=r.languages.extend("clike",{string:[{pattern:o(/(^|[^$\\])<<0>>/.source,[ve]),lookbehind:!0,greedy:!0},{pattern:o(/(^|[^@$\\])<<0>>/.source,[le]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:o(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[Q]),lookbehind:!0,inside:de},{pattern:o(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[z,ne]),lookbehind:!0,inside:de},{pattern:o(/(\busing\s+)<<0>>(?=\s*=)/.source,[z]),lookbehind:!0},{pattern:o(/(\b<<0>>\s+)<<1>>/.source,[x,W]),lookbehind:!0,inside:de},{pattern:o(/(\bcatch\s*\(\s*)<<0>>/.source,[Q]),lookbehind:!0,inside:de},{pattern:o(/(\bwhere\s+)<<0>>/.source,[z]),lookbehind:!0},{pattern:o(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[oe]),lookbehind:!0,inside:de},{pattern:o(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[ne,L,z]),inside:de}],keyword:C,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:/\?\.?|::|[{}[\];(),.:]/}),r.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),r.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:o(/([(,]\s*)<<0>>(?=\s*:)/.source,[z]),lookbehind:!0,alias:"punctuation"}}),r.languages.insertBefore("csharp","class-name",{namespace:{pattern:o(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[z]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:o(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[P]),lookbehind:!0,alias:"class-name",inside:de},"return-type":{pattern:o(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[ne,Q]),inside:de,alias:"class-name"},"constructor-invocation":{pattern:o(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[ne]),lookbehind:!0,inside:de,alias:"class-name"},"generic-method":{pattern:o(/<<0>>\s*<<1>>(?=\s*\()/.source,[z,M]),inside:{function:o(/^<<0>>/.source,[z]),generic:{pattern:RegExp(M),alias:"class-name",inside:de}}},"type-list":{pattern:o(/\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,[x,W,z,ne,C.source,P,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:o(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[W,P]),lookbehind:!0,greedy:!0,inside:r.languages.csharp},keyword:C,"class-name":{pattern:RegExp(ne),greedy:!0,inside:de},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 me=le+"|"+Ae,ee=i(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[me]),ye=l(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[ee]),2),Y=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,Ee=i(/<<0>>(?:\s*\(<<1>>*\))?/.source,[Q,ye]);r.languages.insertBefore("csharp","class-name",{attribute:{pattern:o(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Y,Ee]),lookbehind:!0,greedy:!0,inside:{target:{pattern:o(/^<<0>>(?=\s*:)/.source,[Y]),alias:"keyword"},"attribute-arguments":{pattern:o(/\(<<0>>*\)/.source,[ye]),inside:r.languages.csharp},"class-name":{pattern:RegExp(Q),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var fe=/:[^}\r\n]+/.source,ce=l(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[ee]),2),$e=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ce,fe]),Ye=l(i(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[me]),2),ct=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Ye,fe]);function ot(Qe,Le){return{interpolation:{pattern:o(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Qe]),lookbehind:!0,inside:{"format-string":{pattern:o(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Le,fe]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:r.languages.csharp}}},string:/[\s\S]+/}}r.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:o(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[$e]),lookbehind:!0,greedy:!0,inside:ot($e,ce)},{pattern:o(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[ct]),lookbehind:!0,greedy:!0,inside:ot(ct,Ye)}],char:{pattern:RegExp(Ae),greedy:!0}}),r.languages.dotnet=r.languages.cs=r.languages.csharp}(Prism),function(r){var i=/\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/,o=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return i.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return i.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:i,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/}),r.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 o})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.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:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.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(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(r,i){var o={};o["language-"+i]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[i]},o.cdata=/^$/i;var l={"included-cdata":{pattern://i,inside:o}};l["language-"+i]={pattern:/[\s\S]+/,inside:Prism.languages[i]};var h={};h[r]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:l},Prism.languages.insertBefore("markup","cdata",h)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(r,i){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\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:[i,"language-"+i],inside:Prism.languages[i]},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(r){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.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\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,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:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var o=r.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(Prism),function(r){var i=[/\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/],o=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,l={pattern:RegExp(o+/[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:/\./}}}};r.languages.dart=r.languages.extend("clike",{"class-name":[l,{pattern:RegExp(o+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:l.inside}],keyword:i,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),r.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:r.languages.dart}}},string:/[\s\S]+/}},string:void 0}),r.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),r.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":l,keyword:i,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism),function(r){r.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var i={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(i).forEach(function(o){var l=i[o],h=[];/^\w+$/.test(o)||h.push(/\w+/.exec(o)[0]),o==="diff"&&h.push("bold"),r.languages.diff[o]={pattern:RegExp("^(?:["+l+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:h,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(o)[0]}}}}),Object.defineProperty(r.languages.diff,"PREFIXES",{value:i})}(Prism),function(r){var i=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,o=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return i}),l=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,h=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return l}),g={pattern:RegExp(l),greedy:!0},d={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function b(w,x){return w=w.replace(//g,function(){return h}).replace(//g,function(){return o}),RegExp(w,x)}r.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:b(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[g,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:b(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:b(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:b(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:d,string:g,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:d},r.languages.dockerfile=r.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(r){var i=/[*&][^\s[\]{},]+/,o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,l="(?:"+o.source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",h=/(?:[^\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}),g=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function d(b,w){w=(w||"").replace(/m/g,"")+"m";var x=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return l}).replace(/<>/g,function(){return b});return RegExp(x,w)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return l})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return l}).replace(/<>/g,function(){return"(?:"+h+"|"+g+")"})),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(g),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:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml}(Prism),function(r){var i=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function o(x){return x=x.replace(//g,function(){return i}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+x+")")}var l=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,h=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return l}),g=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;r.languages.markdown=r.languages.extend("markup",{}),r.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:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+h+g+"(?:"+h+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+h+g+")(?:"+h+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(l),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+h+")"+g+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+h+"$"),inside:{"table-header":{pattern:RegExp(l),alias:"important",inside:r.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:o(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:o(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:o(/(~~?)(?:(?!~))+\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:o(/!?\[(?:(?!\]))+\](?:\([^\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(x){["url","bold","italic","strike","code-snippet"].forEach(function(C){x!==C&&(r.languages.markdown[x].inside.content.inside[C]=r.languages.markdown[C])})}),r.hooks.add("after-tokenize",function(x){x.language!=="markdown"&&x.language!=="md"||function C(B){if(B&&typeof B!="string")for(var L=0,I=B.length;L",quot:'"'},w=String.fromCodePoint||String.fromCharCode;r.languages.md=r.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(r){if(r.language==="graphql")for(var i=r.tokens.filter(function(P){return typeof P!="string"&&P.type!=="comment"&&P.type!=="scalar"}),o=0;o0)){var b=L(/^\{$/,/^\}$/);if(b===-1)continue;for(var w=o;w=0&&I(x,"variable-input")}}}}function C(P){return i[o+P]}function B(P,z){z=z||0;for(var W=0;W|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),r.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var i={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:r.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete r.languages.ruby.function;var o="(?:"+[/([^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("|")+")",l=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;r.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+o+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:i,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:i,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+l),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+l+/(?=:(?!:))/.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:/\./}}}),r.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+o),greedy:!0,inside:{interpolation:i,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:i,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:i,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+o),greedy:!0,inside:{interpolation:i,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:i,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete r.languages.ruby.string,r.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)/}),r.languages.rb=r.languages.ruby}(Prism),function(r){var i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},o=/\\(?: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]|.)/,l="(?:[^\\\\-]|"+o.source+")",h=RegExp(l+"-"+l),g={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};r.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:h,inside:{escape:o,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:o}},"special-escape":i,"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":g}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:o,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(r){function i(o,l){return"___"+o.toUpperCase()+l+"___"}Object.defineProperties(r.languages["markup-templating"]={},{buildPlaceholders:{value:function(o,l,h,g){if(o.language===l){var d=o.tokenStack=[];o.code=o.code.replace(h,function(b){if(typeof g=="function"&&!g(b))return b;for(var w,x=d.length;o.code.indexOf(w=i(l,x))!==-1;)++x;return d[x]=b,w}),o.grammar=r.languages.markup}}},tokenizePlaceholders:{value:function(o,l){if(o.language===l&&o.tokenStack){o.grammar=r.languages[l];var h=0,g=Object.keys(o.tokenStack);(function d(b){for(var w=0;w=g.length);w++){var x=b[w];if(typeof x=="string"||x.content&&typeof x.content=="string"){var C=g[h],B=o.tokenStack[C],L=typeof x=="string"?x:x.content,I=i(l,C),P=L.indexOf(I);if(P>-1){++h;var z=L.substring(0,P),W=new r.Token(l,r.tokenize(B,o.grammar),"language-"+l,B),Q=L.substring(P+I.length),V=[];z&&V.push.apply(V,d([z])),V.push(W),Q&&V.push.apply(V,d([Q])),typeof x=="string"?b.splice.apply(b,[w,1].concat(V)):x.content=V}}else x.content&&d(x.content)}return b})(o.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(r){r.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:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.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:r.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:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},l=0,h=i.length;l=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,o=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,l={pattern:RegExp(/(^|[^\w.])/.source+o+/[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:/\./}};r.languages.java=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[l,{pattern:RegExp(/(^|[^\w.])/.source+o+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:l.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+o+/[A-Z]\w*\b/.source),lookbehind:!0,inside:l.inside}],keyword:i,function:[r.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}}),r.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),r.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":l,keyword:i,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+o+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:l.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+o+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:l.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 i.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(r){var i=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(i.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:i,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(r){var i=["$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"],o="(?:"+(i=i.map(function(l){return l.replace("$","\\$")})).join("|")+")\\b";r.languages.mongodb=r.languages.extend("javascript",{}),r.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(`^(['"])?`+o+"(?:\\1)?$")}}}),r.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}},r.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(r){var i=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;r.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:i}},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:i}},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(r){var i=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,o=[{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*\()/],l=/\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,h=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,g=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:i,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:o,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:l,operator:h,punctuation:g};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},b=[{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}}];r.languages.insertBefore("php","variable",{string:b,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:i,string:b,"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:o,number:l,operator:h,punctuation:g}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(w){/<\?/.test(w.code)&&r.languages["markup-templating"].buildPlaceholders(w,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),r.hooks.add("after-tokenize",function(w){r.languages["markup-templating"].tokenizePlaceholders(w,"php")})}(Prism),function(r){var i=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;r.languages.protobuf=r.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}),r.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:i}},builtin:i,"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(r){for(var i=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,function(){return/[^\s\S]/.source}),r.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+i),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},r.languages.rust["closure-params"].inside.rest=r.languages.rust,r.languages.rust.attribute.inside.string=r.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(r){r.languages.typescript=r.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/}),r.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 r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var i=r.languages.extend("typescript",{});delete i["class-name"],r.languages.typescript["class-name"].inside=i,r.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:i}}}}),r.languages.ts=r.languages.typescript}(Prism),function(r){var i=r.util.clone(r.languages.javascript),o=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,l=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,h=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function g(w,x){return w=w.replace(//g,function(){return o}).replace(//g,function(){return l}).replace(//g,function(){return h}),RegExp(w,x)}h=g(h).source,r.languages.jsx=r.languages.extend("markup",i),r.languages.jsx.tag.pattern=g(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=i.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:g(//.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:g(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var d=function(w){return w?typeof w=="string"?w:typeof w.content=="string"?w.content:w.content.map(d).join(""):""},b=function(w){for(var x=[],C=0;C0&&x[x.length-1].tagName===d(B.content[0].content[1])&&x.pop():B.content[B.content.length-1].content==="/>"||x.push({tagName:d(B.content[0].content[1]),openedBraces:0}):x.length>0&&B.type==="punctuation"&&B.content==="{"?x[x.length-1].openedBraces++:x.length>0&&x[x.length-1].openedBraces>0&&B.type==="punctuation"&&B.content==="}"?x[x.length-1].openedBraces--:L=!0),(L||typeof B=="string")&&x.length>0&&x[x.length-1].openedBraces===0){var I=d(B);C0&&(typeof w[C-1]=="string"||w[C-1].type==="plain-text")&&(I=d(w[C-1])+I,w.splice(C-1,1),C--),w[C]=new r.Token("plain-text",I,null,I)}B.content&&typeof B.content!="string"&&b(B.content)}};r.hooks.add("after-tokenize",function(w){w.language!=="jsx"&&w.language!=="tsx"||b(w.tokens)})}(Prism),function(r){var i=r.util.clone(r.languages.typescript);r.languages.tsx=r.languages.extend("jsx",i),delete r.languages.tsx.parameter,delete r.languages.tsx["literal-property"];var o=r.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(Prism),function(r){r.languages.sass=r.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete r.languages.sass.atrule;var i=/\$[-\w]+|#\{\$[-\w]+\}/,o=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];r.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:i,operator:o}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:i,operator:o,important:r.languages.sass.important}}}),delete r.languages.sass.property,delete r.languages.sass.important,r.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(r){var i="\\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",o={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},l={bash:o,environment:{pattern:RegExp("\\$"+i),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("(\\{)"+i),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})/};r.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;|&]|[<>]\\()"+i),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:l},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:o}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:l},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:l.entity}}],environment:{pattern:RegExp("\\$?"+i),alias:"constant"},variable:l.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}},o.inside=r.languages.bash;for(var h=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],g=l.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(r){r.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:/[()]/},qAe.manual=!0;var Ivn={figure:"figure"},Y$=function(r){aa(o,_d);var i=Lvn(o);function o(l){var h;l.externals;var g,d=l.config;return qr(this,o),h=i.call(this,{needCache:!0}),o.inlineCodeCache={},h.codeCache={},h.customLang=[],h.customParser={},h.wrap=d.wrap,h.lineNumber=d.lineNumber,h.copyCode=d.copyCode,h.editCode=d.editCode,h.changeLang=d.changeLang,h.mermaid=d.mermaid,h.indentedCodeBlock=d.indentedCodeBlock===void 0||d.indentedCodeBlock,h.INLINE_CODE_REGEX=/(`+)(.+?(?:\n.+?)*?)\1/g,d&&d.customRenderer&&(h.customLang=ss(g=pu(d.customRenderer)).call(g,function(b){return b.toLowerCase()}),h.customParser=function(b){for(var w=1;w40&&(this.codeCache.length=0),!1)}},{key:"parseCustomLanguage",value:function(l,h,g){var d,b,w,x,C,B=this.customParser[l];if(!B||typeof B.render!="function")return!1;var L=B.render(h,g.sign,this.$engine,this.mermaid);if(!L)return!1;var I=Ivn[B.constructor.TYPE]||"div";return rt(d=rt(b=rt(w=rt(x=rt(C="<".concat(I,' data-sign="')).call(C,g.sign,'" data-type="')).call(x,l,'" data-lines="')).call(w,g.lines,'">')).call(b,L,"")}},{key:"fillTag",value:function(l){var h=[];return ss(l).call(l,function(g){if(!g)return"";for(var d=g;h.length;){var b,w=h.pop();d=rt(b="".concat(w)).call(b,d)}var x=d.match(/|<\/span>/g),C=0;if(!x)return d;for(;x.length;){var B=x.pop();/<\/span>/.test(B)?C+=1:C?C-=1:h.unshift(B.match(//)[0])}for(var L=0;L");return d})}},{key:"renderLineNumber",value:function(l){if(!this.lineNumber)return l;var h=l.split(` +|(?![\\s\\S])))+`,"m"),alias:h,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(o)[0]}}}}),Object.defineProperty(r.languages.diff,"PREFIXES",{value:i})}(Prism),function(r){var i=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,o=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return i}),l=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,h=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return l}),g={pattern:RegExp(l),greedy:!0},d={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function b(w,x){return w=w.replace(//g,function(){return h}).replace(//g,function(){return o}),RegExp(w,x)}r.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:b(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[g,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:b(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:b(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:b(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:d,string:g,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:d},r.languages.dockerfile=r.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(r){var i=/[*&][^\s[\]{},]+/,o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,l="(?:"+o.source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",h=/(?:[^\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}),g=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function d(b,w){w=(w||"").replace(/m/g,"")+"m";var x=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return l}).replace(/<>/g,function(){return b});return RegExp(x,w)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return l})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return l}).replace(/<>/g,function(){return"(?:"+h+"|"+g+")"})),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(g),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:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml}(Prism),function(r){var i=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function o(x){return x=x.replace(//g,function(){return i}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+x+")")}var l=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,h=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return l}),g=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;r.languages.markdown=r.languages.extend("markup",{}),r.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:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+h+g+"(?:"+h+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+h+g+")(?:"+h+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(l),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+h+")"+g+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+h+"$"),inside:{"table-header":{pattern:RegExp(l),alias:"important",inside:r.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:o(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:o(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:o(/(~~?)(?:(?!~))+\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:o(/!?\[(?:(?!\]))+\](?:\([^\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(x){["url","bold","italic","strike","code-snippet"].forEach(function(C){x!==C&&(r.languages.markdown[x].inside.content.inside[C]=r.languages.markdown[C])})}),r.hooks.add("after-tokenize",function(x){x.language!=="markdown"&&x.language!=="md"||function C(B){if(B&&typeof B!="string")for(var L=0,M=B.length;L",quot:'"'},w=String.fromCodePoint||String.fromCharCode;r.languages.md=r.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(r){if(r.language==="graphql")for(var i=r.tokens.filter(function(P){return typeof P!="string"&&P.type!=="comment"&&P.type!=="scalar"}),o=0;o0)){var b=L(/^\{$/,/^\}$/);if(b===-1)continue;for(var w=o;w=0&&M(x,"variable-input")}}}}function C(P){return i[o+P]}function B(P,z){z=z||0;for(var W=0;W|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),r.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var i={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:r.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete r.languages.ruby.function;var o="(?:"+[/([^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("|")+")",l=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;r.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+o+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:i,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:i,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+l),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+l+/(?=:(?!:))/.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:/\./}}}),r.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+o),greedy:!0,inside:{interpolation:i,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:i,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:i,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+o),greedy:!0,inside:{interpolation:i,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:i,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete r.languages.ruby.string,r.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)/}),r.languages.rb=r.languages.ruby}(Prism),function(r){var i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},o=/\\(?: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]|.)/,l="(?:[^\\\\-]|"+o.source+")",h=RegExp(l+"-"+l),g={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};r.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:h,inside:{escape:o,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:o}},"special-escape":i,"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":g}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:o,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(r){function i(o,l){return"___"+o.toUpperCase()+l+"___"}Object.defineProperties(r.languages["markup-templating"]={},{buildPlaceholders:{value:function(o,l,h,g){if(o.language===l){var d=o.tokenStack=[];o.code=o.code.replace(h,function(b){if(typeof g=="function"&&!g(b))return b;for(var w,x=d.length;o.code.indexOf(w=i(l,x))!==-1;)++x;return d[x]=b,w}),o.grammar=r.languages.markup}}},tokenizePlaceholders:{value:function(o,l){if(o.language===l&&o.tokenStack){o.grammar=r.languages[l];var h=0,g=Object.keys(o.tokenStack);(function d(b){for(var w=0;w=g.length);w++){var x=b[w];if(typeof x=="string"||x.content&&typeof x.content=="string"){var C=g[h],B=o.tokenStack[C],L=typeof x=="string"?x:x.content,M=i(l,C),P=L.indexOf(M);if(P>-1){++h;var z=L.substring(0,P),W=new r.Token(l,r.tokenize(B,o.grammar),"language-"+l,B),Q=L.substring(P+M.length),V=[];z&&V.push.apply(V,d([z])),V.push(W),Q&&V.push.apply(V,d([Q])),typeof x=="string"?b.splice.apply(b,[w,1].concat(V)):x.content=V}}else x.content&&d(x.content)}return b})(o.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(r){r.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:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.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:r.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:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},l=0,h=i.length;l=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,o=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,l={pattern:RegExp(/(^|[^\w.])/.source+o+/[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:/\./}};r.languages.java=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[l,{pattern:RegExp(/(^|[^\w.])/.source+o+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:l.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+o+/[A-Z]\w*\b/.source),lookbehind:!0,inside:l.inside}],keyword:i,function:[r.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}}),r.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),r.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":l,keyword:i,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+o+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:l.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+o+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:l.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 i.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(r){var i=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(i.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:i,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(r){var i=["$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"],o="(?:"+(i=i.map(function(l){return l.replace("$","\\$")})).join("|")+")\\b";r.languages.mongodb=r.languages.extend("javascript",{}),r.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(`^(['"])?`+o+"(?:\\1)?$")}}}),r.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}},r.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(r){var i=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;r.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:i}},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:i}},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(r){var i=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,o=[{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*\()/],l=/\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,h=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,g=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:i,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:o,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:l,operator:h,punctuation:g};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},b=[{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}}];r.languages.insertBefore("php","variable",{string:b,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:i,string:b,"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:o,number:l,operator:h,punctuation:g}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(w){/<\?/.test(w.code)&&r.languages["markup-templating"].buildPlaceholders(w,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),r.hooks.add("after-tokenize",function(w){r.languages["markup-templating"].tokenizePlaceholders(w,"php")})}(Prism),function(r){var i=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;r.languages.protobuf=r.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}),r.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:i}},builtin:i,"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(r){for(var i=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,function(){return/[^\s\S]/.source}),r.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+i),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},r.languages.rust["closure-params"].inside.rest=r.languages.rust,r.languages.rust.attribute.inside.string=r.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(r){r.languages.typescript=r.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/}),r.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 r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var i=r.languages.extend("typescript",{});delete i["class-name"],r.languages.typescript["class-name"].inside=i,r.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:i}}}}),r.languages.ts=r.languages.typescript}(Prism),function(r){var i=r.util.clone(r.languages.javascript),o=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,l=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,h=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function g(w,x){return w=w.replace(//g,function(){return o}).replace(//g,function(){return l}).replace(//g,function(){return h}),RegExp(w,x)}h=g(h).source,r.languages.jsx=r.languages.extend("markup",i),r.languages.jsx.tag.pattern=g(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=i.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:g(//.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:g(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var d=function(w){return w?typeof w=="string"?w:typeof w.content=="string"?w.content:w.content.map(d).join(""):""},b=function(w){for(var x=[],C=0;C0&&x[x.length-1].tagName===d(B.content[0].content[1])&&x.pop():B.content[B.content.length-1].content==="/>"||x.push({tagName:d(B.content[0].content[1]),openedBraces:0}):x.length>0&&B.type==="punctuation"&&B.content==="{"?x[x.length-1].openedBraces++:x.length>0&&x[x.length-1].openedBraces>0&&B.type==="punctuation"&&B.content==="}"?x[x.length-1].openedBraces--:L=!0),(L||typeof B=="string")&&x.length>0&&x[x.length-1].openedBraces===0){var M=d(B);C0&&(typeof w[C-1]=="string"||w[C-1].type==="plain-text")&&(M=d(w[C-1])+M,w.splice(C-1,1),C--),w[C]=new r.Token("plain-text",M,null,M)}B.content&&typeof B.content!="string"&&b(B.content)}};r.hooks.add("after-tokenize",function(w){w.language!=="jsx"&&w.language!=="tsx"||b(w.tokens)})}(Prism),function(r){var i=r.util.clone(r.languages.typescript);r.languages.tsx=r.languages.extend("jsx",i),delete r.languages.tsx.parameter,delete r.languages.tsx["literal-property"];var o=r.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(Prism),function(r){r.languages.sass=r.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete r.languages.sass.atrule;var i=/\$[-\w]+|#\{\$[-\w]+\}/,o=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];r.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:i,operator:o}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:i,operator:o,important:r.languages.sass.important}}}),delete r.languages.sass.property,delete r.languages.sass.important,r.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(r){var i="\\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",o={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},l={bash:o,environment:{pattern:RegExp("\\$"+i),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("(\\{)"+i),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})/};r.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;|&]|[<>]\\()"+i),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:l},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:o}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:l},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:l.entity}}],environment:{pattern:RegExp("\\$?"+i),alias:"constant"},variable:l.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}},o.inside=r.languages.bash;for(var h=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],g=l.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(r){r.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:/[()]/},WAe.manual=!0;var Lvn={figure:"figure"},q$=function(r){aa(o,Sd);var i=Svn(o);function o(l){var h;l.externals;var g,d=l.config;return qr(this,o),h=i.call(this,{needCache:!0}),o.inlineCodeCache={},h.codeCache={},h.customLang=[],h.customParser={},h.wrap=d.wrap,h.lineNumber=d.lineNumber,h.copyCode=d.copyCode,h.editCode=d.editCode,h.changeLang=d.changeLang,h.mermaid=d.mermaid,h.indentedCodeBlock=d.indentedCodeBlock===void 0||d.indentedCodeBlock,h.INLINE_CODE_REGEX=/(`+)(.+?(?:\n.+?)*?)\1/g,d&&d.customRenderer&&(h.customLang=ss(g=pu(d.customRenderer)).call(g,function(b){return b.toLowerCase()}),h.customParser=function(b){for(var w=1;w40&&(this.codeCache.length=0),!1)}},{key:"parseCustomLanguage",value:function(l,h,g){var d,b,w,x,C,B=this.customParser[l];if(!B||typeof B.render!="function")return!1;var L=B.render(h,g.sign,this.$engine,this.mermaid);if(!L)return!1;var M=Lvn[B.constructor.TYPE]||"div";return rt(d=rt(b=rt(w=rt(x=rt(C="<".concat(M,' data-sign="')).call(C,g.sign,'" data-type="')).call(x,l,'" data-lines="')).call(w,g.lines,'">')).call(b,L,"")}},{key:"fillTag",value:function(l){var h=[];return ss(l).call(l,function(g){if(!g)return"";for(var d=g;h.length;){var b,w=h.pop();d=rt(b="".concat(w)).call(b,d)}var x=d.match(/|<\/span>/g),C=0;if(!x)return d;for(;x.length;){var B=x.pop();/<\/span>/.test(B)?C+=1:C?C-=1:h.unshift(B.match(//)[0])}for(var L=0;L");return d})}},{key:"renderLineNumber",value:function(l){if(!this.lineNumber)return l;var h=l.split(` `);return h.pop(),h=this.fillTag(h),''.concat(h.join(` `),"")}},{key:"isInternalCustomLangCovered",value:function(l){var h;return xl(h=this.customLang).call(h,l)!==-1}},{key:"computeLines",value:function(l,h,g){var d=h,b=this.getLineCount(l,d);return{sign:this.$engine.md5(l.replace(/^\n+/,"")+b),lines:b}}},{key:"appendMermaid",value:function(l,h){var g=l,d=h;if(/^flow([ ](TD|LR))?$/i.test(d)&&!this.isInternalCustomLangCovered(d)){var b,w=d.match(/^flow(?:[ ](TD|LR))?$/i)||[];g=rt(b="graph ".concat(w[1]||"TD",` `)).call(b,g),d="mermaid"}return/^seq$/i.test(d)&&!this.isInternalCustomLangCovered(d)&&(g=`sequenceDiagram `.concat(g),d="mermaid"),d==="mermaid"&&(g=g.replace(/(^[\s]*)stateDiagram-v2\n/,`$1stateDiagram -`)),[g,d]}},{key:"wrapCode",value:function(l,h){var g,d;return rt(g=rt(d='')).call(g,l,"")}},{key:"renderCodeBlock",value:function(l,h,g,d){var b,w,x,C,B,L,I,P=l,z=h;return this.customHighlighter?P=this.customHighlighter(P,z):(z&&qAe.languages[z]||(z="javascript"),P=qAe.highlight(P,qAe.languages[z],z),P=this.renderLineNumber(P)),P=rt(b=rt(w=rt(x=rt(C=rt(B=rt(L=rt(I=`
')).call(g,l,"")}},{key:"renderCodeBlock",value:function(l,h,g,d){var b,w,x,C,B,L,M,P=l,z=h;return this.customHighlighter?P=this.customHighlighter(P,z):(z&&WAe.languages[z]||(z="javascript"),P=WAe.highlight(P,WAe.languages[z],z),P=this.renderLineNumber(P)),P=rt(b=rt(w=rt(x=rt(C=rt(B=rt(L=rt(M=`
')).call(b,this.wrapCode(P,z),`
-
`)}},{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(l){var h=this;return this.indentedCodeBlock?this.$recoverCodeInIndent(l).replace(this.$getIndentedCodeReg(),function(g,d){var b,w,x=(g.match(/\n/g)||[]).length,C=h.$engine.md5(g),B=rt(b=rt(w='
')).call(b,vj(d.replace(/\n( {4}|\t)/g,`
-`)),"
");return uQ(g,h.pushCache(B,C,x))}):l}},{key:"$replaceCodeInIndent",value:function(l){return this.indentedCodeBlock?l.replace(this.$getIndentedCodeReg(),function(h){return h.replace(/`/g,"~~~IndentCode")}):l}},{key:"$recoverCodeInIndent",value:function(l){return this.indentedCodeBlock?l.replace(this.$getIndentedCodeReg(),function(h){return h.replace(/~~~IndentCode/g,"`")}):l}},{key:"beforeMakeHtml",value:function(l,h,g){var d=this,b=l;return b=(b=this.$replaceCodeInIndent(b)).replace(this.RULE.reg,function(w,x,C,B,L,I){var P,z,W;function Q(Y){if(C){var Ee=new RegExp(`^ -*`,""),fe=Y.match(Ee)[0];Y=fe+C+Y.replace(Ee,function(ce){return""})}return Y}var V=I,oe=d.computeLines(w,x,I),G=oe.sign,ae=oe.lines,ne=d.$codeCache(G);if(ne&&ne!=="")return Q(d.getCacheWithSpace(d.pushCache(ne,G,ae),w));V=(V=(V=d.$recoverCodeInIndent(V)).replace(/~D/g,"$")).replace(/~T/g,"~");var de=(P=x==null||(z=x.match(/[ ]/g))===null||z===void 0?void 0:z.length)!==null&&P!==void 0?P:0;if(de>0){var Ae=new RegExp("(^|\\n)[ ]{1,".concat(de,"}"),"g");V=V.replace(Ae,"$1")}if(C){var le=new RegExp("(^|\\n)".concat(C),"g");V=V.replace(le,"$1")}var ve=uo(L).call(L);if(/^(math|katex|latex)$/i.test(ve)&&!d.isInternalCustomLangCovered(ve)){var me,ee=w.match(/^\s*/g);return rt(me="".concat(ee,`~D~D -`)).call(me,V,"~D~D")}var ye=gu(d.appendMermaid(V,ve),2);return V=ye[0],ve=ye[1],xl(W=d.customLang).call(W,ve.toLowerCase())!==-1&&(ne=d.parseCustomLanguage(ve,V,{lines:ae,sign:G}))&&ne!==""?(d.$codeCache(G,ne),d.getCacheWithSpace(d.pushCache(ne,G,ae),w)):(V=V.replace(/~X/g,"\\`"),ne=(ne=d.renderCodeBlock(V,ve,G,ae)).replace(/\\/g,"\\\\"),ne=d.$codeCache(G,ne),Q(d.getCacheWithSpace(d.pushCache(ne,G,ae),w)))}),b=b.replace(Epe(!0),function(w){var x;return ss(x=w.split("|")).call(x,function(C){return d.makeInlineCode(C)}).join("|").replace(/`/g,"\\`")}),b=this.makeInlineCode(b),b=this.$getIndentCodeBlock(b)}},{key:"makeInlineCode",value:function(l){var h=this,g=l;return this.INLINE_CODE_REGEX.test(g)&&(g=(g=g.replace(/\\`/g,"~~not~inlineCode")).replace(this.INLINE_CODE_REGEX,function(d,b,w){if(uo(w).call(w)==="`")return d;var x=w.replace(/~~not~inlineCode/g,"\\`");x=(x=h.$replaceSpecialChar(x)).replace(/\\/g,"\\\\");var C="".concat(vj(x),""),B=h.$engine.md5(C);return o.inlineCodeCache[B]=C,"~~CODE".concat(B,"$")}),g=g.replace(/~~not~inlineCode/g,"\\`")),g}},{key:"makeHtml",value:function(l){return l}},{key:"$replaceSpecialChar",value:function(l){var h=l.replace(/~Q/g,"\\~");return h=(h=(h=(h=h.replace(/~Y/g,"\\!")).replace(/~Z/g,"\\#")).replace(/~&/g,"\\&")).replace(/~K/g,"\\/")}},{key:"rule",value:function(){return Tpe()}},{key:"mounted",value:function(l){}}]),o}();function Mvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(Y$,"HOOK_NAME","codeBlock"),gi(Y$,"inlineCodeCache",{});var aSt=function(r){aa(o,_d);var i=Mvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return l}},{key:"afterMakeHtml",value:function(l){var h=l;return pu(Y$.inlineCodeCache).length>0&&(h=h.replace(/~~CODE([0-9a-zA-Z]+)\$/g,function(g,d){return Y$.inlineCodeCache[d]}),Y$.inlineCodeCache={}),h}},{key:"rule",value:function(){var l={begin:"(`+)[ ]*",end:"[ ]*\\1",content:"(.+?(?:\\n.+?)*?)"};return l.reg=Lm(l,"g"),l}}]),o}();gi(aSt,"HOOK_NAME","inlineCode");var Fvn=il(function(r){(function(){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(l,h){return l<>>32-h},rotr:function(l,h){return l<<32-h|l>>>h},endian:function(l){if(l.constructor==Number)return 16711935&o.rotl(l,8)|4278255360&o.rotl(l,24);for(var h=0;h0;l--)h.push(Math.floor(256*Math.random()));return h},bytesToWords:function(l){for(var h=[],g=0,d=0;g>>5]|=l[g]<<24-d%32;return h},wordsToBytes:function(l){for(var h=[],g=0;g<32*l.length;g+=8)h.push(l[g>>>5]>>>24-g%32&255);return h},bytesToHex:function(l){for(var h=[],g=0;g>>4).toString(16)),h.push((15&l[g]).toString(16));return h.join("")},hexToBytes:function(l){for(var h=[],g=0;g>>6*(3-b)&63)):h.push("=");return h.join("")},base64ToBytes:function(l){l=l.replace(/[^A-Z0-9+\/]/gi,"");for(var h=[],g=0,d=0;g>>6-2*d);return h}};r.exports=o})()}),_De={utf8:{stringToBytes:function(r){return _De.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(_De.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var i=[],o=0;o>>24)|4278255360&(w[P]<<24|w[P]>>>8);w[x>>>5]|=128<>>9<<4)]=x;var z=g._ff,W=g._gg,Q=g._hh,V=g._ii;for(P=0;P>>0,B=B+G>>>0,L=L+ae>>>0,I=I+ne>>>0}return i.endian([C,B,L,I])};g._ff=function(d,b,w,x,C,B,L){var I=d+(b&w|~b&x)+(C>>>0)+L;return(I<>>32-B)+b},g._gg=function(d,b,w,x,C,B,L){var I=d+(b&x|w&~x)+(C>>>0)+L;return(I<>>32-B)+b},g._hh=function(d,b,w,x,C,B,L){var I=d+(b^w^x)+(C>>>0)+L;return(I<>>32-B)+b},g._ii=function(d,b,w,x,C,B,L){var I=d+(w^(b|~x))+(C>>>0)+L;return(I<>>32-B)+b},g._blocksize=16,g._digestsize=16,r.exports=function(d,b){if(d==null)throw new Error("Illegal argument "+d);var w=i.wordsToBytes(g(d,b));return b&&b.asBytes?w:b&&b.asString?h.bytesToString(w):i.bytesToHex(w)}})()}),Yde={},SIe=/^cherry-inner:\/\/([0-9a-f]+)$/i,NB=function(){function r(){qr(this,r)}return Yr(r,null,[{key:"isInnerLink",value:function(i){return SIe.test(i)}},{key:"set",value:function(i){var o=gQe(i);return Yde[o]=i,"cherry-inner://".concat(o)}},{key:"get",value:function(i){var o,l=gu((o=i.match(SIe))!==null&&o!==void 0?o:[],2)[1];if(l)return Yde[l]}},{key:"replace",value:function(i,o){var l,h=gu((l=i.match(SIe))!==null&&l!==void 0?l:[],2)[1];if(h)return Yde[h]=o,i}},{key:"restoreAll",value:function(i){var o=i.replace(/cherry-inner:\/\/([0-9a-f]+)/gi,function(l){return r.get(l)||l});return o}},{key:"clear",value:function(){Yde={}}}]),r}();function Ovn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var oSt=function(r){aa(o,PA);var i=Ovn(o);function o(l){var h,g=l.config,d=l.globalConfig;return qr(this,o),(h=i.call(this,{config:g})).urlProcessor=d.urlProcessor,h.target=g.target?'target="'.concat(g.target,'"'):g.openNewPage?'target="_blank"':"",h.rel=g.rel?'rel="'.concat(g.rel,'"'):"",h}return Yr(o,[{key:"checkBrackets",value:function(l){for(var h=[],g="[".concat(l,"]"),d=function(w){return 1&Zi(g).call(g,0,w).match(/\\*$/)[0].length},b=g.length-1;g[b]&&(b!==g.length-1||!d(b));b--)if(g[b]!=="]"||d(b)||h.push("]"),g[b]==="["&&!d(b)&&(h.pop(),!h.length))return{isValid:!0,coreText:Zi(g).call(g,b+1,g.length-1),extraLeadingChar:Zi(g).call(g,0,b)};return{isValid:!1,coreText:l,extraLeadingChar:""}}},{key:"toHtml",value:function(l,h,g,d,b,w,x){var C=d===void 0?"ref":"url",B="";if(C==="ref")return l;if(C==="url"){var L,I=this.checkBrackets(g),P=I.isValid,z=I.coreText,W=I.extraLeadingChar;if(!P)return l;B=b&&uo(b).call(b)!==""?' title="'.concat(vj(b.replace(/["']/g,"")),'"'):"",x?B+=' target="'.concat(x.replace(/{target\s*=\s*(.*?)}/,"$1"),'"'):this.target&&(B+=" ".concat(this.target));var Q,V,oe,G,ae=uo(d).call(d).replace(/~1D/g,"~D"),ne=z.replace(/~1D/g,"~D");return ivn(ae)?(ae=WI(ae=this.urlProcessor(ae,"link")),rt(Q=rt(V=rt(oe=rt(G="".concat(h+W,'")).call(Q,ne,"")):rt(L="".concat(h+W,"")).call(L,g,"")}return l}},{key:"toStdMarkdown",value:function(l){return l}},{key:"makeHtml",value:function(l){var h,g,d=l.replace(this.RULE.reg,function(b){return b.replace(/~D/g,"~1D")});return QA()?d=d.replace(this.RULE.reg,Xa(h=this.toHtml).call(h,this)):d=yk(d,this.RULE.reg,Xa(g=this.toHtml).call(g,this),!0,1),d=d.replace(this.RULE.reg,function(b){return b.replace(/~1D/g,"~D")}),d}},{key:"rule",value:function(){var l={begin:QA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(oSt,"HOOK_NAME","link");var sSt=function(r){aa(o,PA);var i=Nvn(o);function o(){var l,h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;return qr(this,o),l=i.call(this,{config:h}),h?(l.allowWhitespace=!!h.allowWhitespace,l):Wi(l)}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=function(b,w,x,C){var B,L,I,P=x.length%2==1?"em":"strong",z=Math.floor(x.length/2),W=e1("").call("",z),Q=e1("").call("",z);return P==="em"&&(W+="",Q="".concat(Q)),rt(B=rt(L=rt(I="".concat(w)).call(I,W)).call(L,h(C).html.replace(/_/g,"~U"))).call(B,Q)},d=l;return d=(d=this.allowWhitespace?(d=(d=d.replace(/(^|\n[\s]*)(\*)([^\s*](?:.*?)(?:(?:\n.*?)*?))\*/g,g)).replace(/(^|\n[\s]*)(\*{2,})((?:.*?)(?:(?:\n.*?)*?))\2/g,g)).replace(/([^\n*\\\s][ ]*)(\*+)((?:.*?)(?:(?:\n.*?)*?))\2/g,g):d.replace(this.RULE.asterisk.reg,g)).replace(this.RULE.underscore.reg,function(b,w,x,C,B,L){var I,P,z;if(uo(C).call(C)==="")return b;var W=x.length%2==1?"em":"strong",Q=Math.floor(x.length/2),V=e1("").call("",Q),oe=e1("").call("",Q),G=h(C).html;return W==="em"&&(V+="",oe="".concat(oe)),rt(I=rt(P=rt(z="".concat(w)).call(z,V)).call(P,G)).call(I,oe)}),d.replace(/~U/g,"_")}},{key:"test",value:function(l,h){return this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){var l=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config,h=!!l&&!!l.allowWhitespace,g=function(w,x){var C,B,L,I="[^".concat(x,"\\s]");return w?"(?:.*?)(?:(?:\\n.*?)*?)":rt(C=rt(B=rt(L="(".concat(I,"|")).call(L,I,`(.*?( -`)).call(B,I,".*)*)")).call(C,I,")")},d={begin:"(^|[^\\\\])([*]+)",content:"(".concat(g(h,"*"),")"),end:"\\2"},b={begin:"(^|".concat(ext,")(_+)"),content:"(".concat(g(h,"_"),")"),end:"\\2(?=".concat(ext,"|$)")};return d.reg=Lm(d,"g"),b.reg=Lm(b,"g"),{asterisk:d,underscore:b}}}]),o}();function Qvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(sSt,"HOOK_NAME","fontEmphasis");var cSt=function(r){aa(o,_d);var i=Qvn(o);function o(l){var h;return qr(this,o),(h=i.call(this)).initBrReg(l.globalConfig.classicBr),h}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return this.test(l)?l.replace(this.RULE.reg,function(d,b,w){var x;if(g.isContainsCache(d,!0))return d;var C,B=function(L){var I,P,z,W,Q,V;if(uo(L).call(L)==="")return"";var oe=h(L),G=oe.sign,ae=oe.html,ne="p";new RegExp("<(".concat(mte,")[^>]*>"),"i").test(ae)&&(ne="div");var de=g.getLineCount(L,L);return rt(I=rt(P=rt(z=rt(W=rt(Q=rt(V="<".concat(ne,' data-sign="')).call(V,G)).call(Q,de,'" data-type="')).call(W,ne,'" data-lines="')).call(z,de,'">')).call(P,g.$cleanParagraph(ae),"")};return g.isContainsCache(w)?g.makeExcludingCached(rt(C="".concat(b)).call(C,w),B):B(rt(x="".concat(b)).call(x,w))}):l}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)",end:"(?=\\s*$|\\n\\n)",content:"([\\s\\S]+?)"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();gi(cSt,"HOOK_NAME","normalParagraph");ma({target:"Reflect",stat:!0},{get:function r(i,o){var l,h,g=arguments.length<3?i:arguments[2];return Iu(i)===g?i[o]:(l=p9.f(i,o))?function(d){return d!==void 0&&(sc(d,"value")||sc(d,"writable"))}(l)?l.value:l.get===void 0?void 0:cc(l.get,g):g1(h=cQ(i))?r(h,o,g):void 0}});var Fxt=Gc.Reflect.get,Pvn=UBt;function e9(){return e9=typeof Reflect<"u"&&Fxt?Fxt:function(r,i,o){var l=function(g,d){for(;!Object.prototype.hasOwnProperty.call(g,d)&&(g=En(g))!==null;);return g}(r,i);if(l){var h=Pvn(l,i);return h.get?h.get.call(arguments.length<3?r:o):h.value}},e9.apply(this,arguments)}function Rvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Jde="atx",Zde="setext",Uvn=/[\s\-_]/,Hvn=/[A-Za-z]/,$vn=/[0-9]/,lSt=function(r){aa(o,_d);var i=Rvn(o);function o(){var l,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0,externals:void 0};h.externals;var g=h.config;return qr(this,o),(l=i.call(this,{needCache:!0})).strict=!g||!!g.strict,l.RULE=l.rule(),l.headerIDCache=[],l.headerIDCounter={},l.config=g||{},l}return Yr(o,[{key:"$parseTitleText",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return typeof l!="string"?"":l.replace(/<.*?>/g,"").replace(/</g,"<").replace(/>/g,">")}},{key:"$generateId",value:function(l){for(var h=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],g=l.length,d="",b=0;b255)try{d+=encodeURIComponent(w)}catch{}}return d}},{key:"generateIDNoDup",value:function(l){var h,g=l.replace(/</g,"<").replace(/>/g,">"),d=this.$generateId(g,!0),b=xl(h=this.headerIDCache).call(h,d);if(b!==-1)this.headerIDCounter[b]+=1,d+="-".concat(this.headerIDCounter[b]+1);else{var w=this.headerIDCache.push(d);this.headerIDCounter[w-1]=1}return d}},{key:"$wrapHeader",value:function(l,h,g,d){var b,w,x,C,B,L,I,P=d(uo(l).call(l)),z=P.html,W=z.match(/\s+\{#([A-Za-z0-9-]+)\}$/);W!==null&&(z=z.substring(0,W.index),I=gu(W,2)[1]);var Q=this.$parseTitleText(z);I||(I=this.generateIDNoDup(Q.replace(/~fn#([0-9]+)#/g,"")));var V="safe_".concat(I),oe=this.$engine.md5(rt(b=rt(w=rt(x="".concat(h,"-")).call(x,P.sign,"-")).call(w,I,"-")).call(b,g));return{html:[rt(C=rt(B=rt(L="'),this.$getAnchor(I),"".concat(z),"")].join(""),sign:"".concat(oe)}}},{key:"$getAnchor",value:function(l){return(this.config.anchorStyle||"default")==="none"?"":'')}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g,Jde)&&(g=g.replace(this.RULE[Jde].reg,function(d,b,w,x){return uo(x).call(x)===""?d:h.getCacheWithSpace(h.pushCache(d),d,!0)})),this.test(g,Zde)&&(g=g.replace(this.RULE[Zde].reg,function(d,b,w){return uo(w).call(w)===""||h.isContainsCache(w)?d:h.getCacheWithSpace(h.pushCache(d),d,!0)})),g}},{key:"makeHtml",value:function(l,h){var g=this,d=this.restoreCache(l);return this.test(d,Jde)&&(d=d.replace(this.RULE[Jde].reg,function(b,w,x,C){var B=yDe(w,g.getLineCount(b.replace(/^\n+/,""))),L=C.replace(/\s+#+\s*$/,""),I=g.$wrapHeader(L,x.length,B,h),P=I.html,z=I.sign;return g.getCacheWithSpace(g.pushCache(P,z,B),b,!0)})),this.test(d,Zde)&&(d=d.replace(this.RULE[Zde].reg,function(b,w,x,C){if(g.isContainsCache(x))return b;var B=yDe(w,g.getLineCount(b.replace(/^\n+/,""))),L=C[0]==="-"?2:1,I=g.$wrapHeader(x,L,B,h),P=I.html,z=I.sign;return g.getCacheWithSpace(g.pushCache(P,z,B),b,!0)})),d}},{key:"afterMakeHtml",value:function(l){var h=e9(En(o.prototype),"afterMakeHtml",this).call(this,l);return this.headerIDCache=[],this.headerIDCounter={},h}},{key:"test",value:function(l,h){return this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)",content:["(?:\\h*","(.+)",")\\n","(?:\\h*","([=]+|[-]+)",")"].join(""),end:"(?=$|\\n)"};l.reg=Lm(l,"g",!0);var h={begin:"(?:^|\\n)(\\n*)(?:\\h*(#{1,6}))",content:"(.+?)",end:"(?=$|\\n)"};return this.strict&&(h.begin+="(?=\\h+)"),h.reg=Lm(h,"g",!0),{setext:l,atx:h}}}]),o}();function jvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(lSt,"HOOK_NAME","header");var uSt=function(r){aa(o,PA);var i=jvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"rule",value:function(){return{begin:"",content:"",end:"",reg:new RegExp("")}}},{key:"beforeMakeHtml",value:function(l){return l.replace(/\\\n/g,`\\ -`)}},{key:"afterMakeHtml",value:function(l){var h=l.replace(/~Q/g,"~");return h=(h=(h=(h=(h=h.replace(/~X/g,"`")).replace(/~Y/g,"!")).replace(/~Z/g,"#")).replace(/~&/g,"&")).replace(/~K/g,"/")}}]),o}();gi(uSt,"HOOK_NAME","transfer");var Kvn=Ai.TypeError,Dxt=function(r){return function(i,o,l,h){Lu(o);var g=ay(i),d=Ape(g),b=r4(g),w=r?b-1:0,x=r?-1:1;if(l<2)for(;;){if(w in d){h=d[w],w+=x;break}if(w+=x,r?w<0:b<=w)throw Kvn("Reduce of empty array with no initial value")}for(;r?w>=0:b>w;w+=x)w in d&&(h=o(h,d[w],w,g));return h}},zvn={left:Dxt(!1),right:Dxt(!0)},QB=l9(Ai.process)=="process",Xvn=zvn.left,Gvn=zj("reduce");ma({target:"Array",proto:!0,forced:!Gvn||!QB&&d9>79&&d9<83},{reduce:function(r){var i=arguments.length;return Xvn(this,r,i,i>1?arguments[1]:void 0)}});var Vvn=Ld("Array").reduce,LIe=Array.prototype,KB=function(r){var i=r.reduce;return r===LIe||uf(LIe,r)&&i===LIe.reduce?Vvn:i};function Oxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function eAe(r){for(var i=1;i"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Nxt="loose",Qxt="strict",hSt=function(r){aa(o,_d);var i=Wvn(o);function o(l){var h,g=l.externals,d=l.config;qr(this,o),h=i.call(this,{needCache:!0});var b=d.enableChart,w=d.chartRenderEngine,x=d.externals,C=d.chartEngineOptions,B=C===void 0?{}:C;if(h.chartRenderEngine=null,b===!0)try{h.chartRenderEngine=new w(eAe(eAe({},g&&x instanceof Array&&KB(x).call(x,function(L,I){return delete B[I],eAe(eAe({},L),{},gi({},I,g[I]))},{})),{},{renderer:"svg",width:500,height:300},B))}catch(L){console.warn(L)}return h}return Yr(o,[{key:"$extendColumns",value:function(l,h){var g=h-l.length;return g<1?l:rt(l).call(l,e1(" |").call(" |",g).split("|",g))}},{key:"$parseChartOptions",value:function(l){if(!this.chartRenderEngine)return null;var h=/^[ ]*:(\w+):(?:[ ]*{(.*?)}[ ]*)?$/;if(!h.test(l))return null;var g=gu(l.match(h),3),d=g[1],b=g[2];return{type:d,options:b?b.split(/\s*,\s*/):["x","y"]}}},{key:"$parseColumnAlignRules",value:function(l){var h=["U","L","R","C"];return{textAlignRules:ss(l).call(l,function(g){var d=uo(g).call(g),b=0;return/^:/.test(d)&&(b+=1),/:$/.test(d)&&(b+=2),h[b]}),COLUMN_ALIGN_MAP:{L:"left",R:"right",C:"center"}}}},{key:"$parseTable",value:function(l,h,g){var d,b,w,x,C,B,L=this,I=0,P=ss(l).call(l,function(ve,me){var ee=ve.replace(/\\\|/g,"~CS").split("|");return ee[0]===""&&ee.shift(),ee[ee.length-1]===""&&ee.pop(),me!==1&&(I=Math.max(I,ee.length)),ee}),z=this.$parseColumnAlignRules(P[1]),W=z.textAlignRules,Q=z.COLUMN_ALIGN_MAP,V={header:[],rows:[],colLength:I,rowLength:P.length-2},oe=this.$parseChartOptions(P[0][0]),G=this.$engine.md5(P[0][0]);oe&&(P[0][0]="");var ae=ss(d=this.$extendColumns(P[0],I)).call(d,function(ve,me){var ee,ye;V.header.push(ve.replace(/~CS/g,"\\|"));var Y=h(uo(ee=ve.replace(/~CS/g,"\\|")).call(ee)).html;return rt(ye="~CTH".concat(W[me]||"U"," ")).call(ye,Y," ~CTH$")}).join(""),ne=KB(P).call(P,function(ve,me,ee){var ye;if(ee<=1)return ve;var Y=ee-2;V.rows[Y]=[];var Ee=ss(ye=L.$extendColumns(me,I)).call(ye,function(fe,ce){var $e,Ye;V.rows[Y].push(fe.replace(/~CS/g,"\\|"));var ct=h(uo($e=fe.replace(/~CS/g,"\\|")).call($e)).html;return rt(Ye="~CTD".concat(W[ce]||"U"," ")).call(Ye,ct," ~CTD$")});return ve.push("~CTR".concat(Ee.join(""),"~CTR$")),ve},[]).join(""),de=this.$renderTable(Q,ae,ne,g);if(!oe)return de;var Ae=this.chartRenderEngine.render(oe.type,oe.options,V),le=rt(b=rt(w=rt(x=rt(C='
')).call(b,Ae,"
");return{html:rt(B="".concat(le)).call(B,de.html),sign:G+de.sign}}},{key:"$testHeadEmpty",value:function(l){var h=l.replace(/ /g,"").replace(/\s/g,"").replace(/(~CTH\$|~CTHU|~CTHL|~CTHR|~CTHC)/g,"");return(h==null?void 0:h.length)>0}},{key:"$renderTable",value:function(l,h,g,d){var b,w,x,C,B=this.$testHeadEmpty(h)?rt(b="~CTHD".concat(h,"~CTHD$~CTBD")).call(b,g,"~CTBD$"):"~CTBD".concat(g,"~CTBD$"),L=this.$engine.md5(B),I=B.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(P,z,W){var Q="":' align="'.concat(l[W],'">')}).replace(/\\\|/g,"|");return{html:rt(w=rt(x=rt(C='
- `)).call(w,I,"
"),sign:L}}},{key:"makeHtml",value:function(l,h){var g=this,d=l;return this.test(d,Qxt)&&(d=d.replace(this.RULE[Qxt].reg,function(b,w){var x,C=g.getLineCount(b,w),B=ss(x=uo(b).call(b).split(/\n/)).call(x,function(z){var W;return uo(W=String(z)).call(W)}),L=g.$parseTable(B,h,C),I=L.html,P=L.sign;return g.getCacheWithSpace(g.pushCache(I,P,C),b)})),this.test(d,Nxt)&&(d=d.replace(this.RULE[Nxt].reg,function(b,w){var x,C=g.getLineCount(b,w),B=ss(x=uo(b).call(b).split(/\n/)).call(x,function(z){var W;return uo(W=String(z)).call(W)}),L=g.$parseTable(B,h,C),I=L.html,P=L.sign;return g.getCacheWithSpace(g.pushCache(I,P,C),b)})),d}},{key:"test",value:function(l,h){return this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){return Epe()}}]),o}();function Y3(){return(typeof window>"u"?"undefined":Vc(window))==="object"}function qvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(hSt,"HOOK_NAME","table");var fSt=function(r){aa(o,_d);var i=qvn(o);function o(l){var h;return qr(this,o),(h=i.call(this,{needCache:!0})).classicBr=dQe("classicBr")?sge():l.globalConfig.classicBr,h}return Yr(o,[{key:"beforeMakeHtml",value:function(l){var h=this;return this.test(l)?l.replace(this.RULE.reg,function(g,d,b){var w,x;if(b===0)return g;var C,B,L=(w=(x=d.match(/\n/g))===null||x===void 0?void 0:x.length)!==null&&w!==void 0?w:0,I="br".concat(L),P="";Y3()?P=h.classicBr?rt(C=''):rt(B='

 

'):P=h.classicBr?"":"
";var z=h.pushCache(P,I,L);return` +
`)}},{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(l){var h=this;return this.indentedCodeBlock?this.$recoverCodeInIndent(l).replace(this.$getIndentedCodeReg(),function(g,d){var b,w,x=(g.match(/\n/g)||[]).length,C=h.$engine.md5(g),B=rt(b=rt(w='
')).call(b,wj(d.replace(/\n( {4}|\t)/g,`
+`)),"
");return lQ(g,h.pushCache(B,C,x))}):l}},{key:"$replaceCodeInIndent",value:function(l){return this.indentedCodeBlock?l.replace(this.$getIndentedCodeReg(),function(h){return h.replace(/`/g,"~~~IndentCode")}):l}},{key:"$recoverCodeInIndent",value:function(l){return this.indentedCodeBlock?l.replace(this.$getIndentedCodeReg(),function(h){return h.replace(/~~~IndentCode/g,"`")}):l}},{key:"beforeMakeHtml",value:function(l,h,g){var d=this,b=l;return b=(b=this.$replaceCodeInIndent(b)).replace(this.RULE.reg,function(w,x,C,B,L,M){var P,z,W;function Q(Y){if(C){var Ee=new RegExp(`^ +*`,""),fe=Y.match(Ee)[0];Y=fe+C+Y.replace(Ee,function(ce){return""})}return Y}var V=M,oe=d.computeLines(w,x,M),G=oe.sign,ae=oe.lines,ne=d.$codeCache(G);if(ne&&ne!=="")return Q(d.getCacheWithSpace(d.pushCache(ne,G,ae),w));V=(V=(V=d.$recoverCodeInIndent(V)).replace(/~D/g,"$")).replace(/~T/g,"~");var de=(P=x==null||(z=x.match(/[ ]/g))===null||z===void 0?void 0:z.length)!==null&&P!==void 0?P:0;if(de>0){var Ae=new RegExp("(^|\\n)[ ]{1,".concat(de,"}"),"g");V=V.replace(Ae,"$1")}if(C){var le=new RegExp("(^|\\n)".concat(C),"g");V=V.replace(le,"$1")}var ve=uo(L).call(L);if(/^(math|katex|latex)$/i.test(ve)&&!d.isInternalCustomLangCovered(ve)){var me,ee=w.match(/^\s*/g);return rt(me="".concat(ee,`~D~D +`)).call(me,V,"~D~D")}var ye=gu(d.appendMermaid(V,ve),2);return V=ye[0],ve=ye[1],xl(W=d.customLang).call(W,ve.toLowerCase())!==-1&&(ne=d.parseCustomLanguage(ve,V,{lines:ae,sign:G}))&&ne!==""?(d.$codeCache(G,ne),d.getCacheWithSpace(d.pushCache(ne,G,ae),w)):(V=V.replace(/~X/g,"\\`"),ne=(ne=d.renderCodeBlock(V,ve,G,ae)).replace(/\\/g,"\\\\"),ne=d.$codeCache(G,ne),Q(d.getCacheWithSpace(d.pushCache(ne,G,ae),w)))}),b=b.replace(Cpe(!0),function(w){var x;return ss(x=w.split("|")).call(x,function(C){return d.makeInlineCode(C)}).join("|").replace(/`/g,"\\`")}),b=this.makeInlineCode(b),b=this.$getIndentCodeBlock(b)}},{key:"makeInlineCode",value:function(l){var h=this,g=l;return this.INLINE_CODE_REGEX.test(g)&&(g=(g=g.replace(/\\`/g,"~~not~inlineCode")).replace(this.INLINE_CODE_REGEX,function(d,b,w){if(uo(w).call(w)==="`")return d;var x=w.replace(/~~not~inlineCode/g,"\\`");x=(x=h.$replaceSpecialChar(x)).replace(/\\/g,"\\\\");var C="".concat(wj(x),""),B=h.$engine.md5(C);return o.inlineCodeCache[B]=C,"~~CODE".concat(B,"$")}),g=g.replace(/~~not~inlineCode/g,"\\`")),g}},{key:"makeHtml",value:function(l){return l}},{key:"$replaceSpecialChar",value:function(l){var h=l.replace(/~Q/g,"\\~");return h=(h=(h=(h=h.replace(/~Y/g,"\\!")).replace(/~Z/g,"\\#")).replace(/~&/g,"\\&")).replace(/~K/g,"\\/")}},{key:"rule",value:function(){return Epe()}},{key:"mounted",value:function(l){}}]),o}();function Mvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(q$,"HOOK_NAME","codeBlock"),gi(q$,"inlineCodeCache",{});var iSt=function(r){aa(o,Sd);var i=Mvn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return l}},{key:"afterMakeHtml",value:function(l){var h=l;return pu(q$.inlineCodeCache).length>0&&(h=h.replace(/~~CODE([0-9a-zA-Z]+)\$/g,function(g,d){return q$.inlineCodeCache[d]}),q$.inlineCodeCache={}),h}},{key:"rule",value:function(){var l={begin:"(`+)[ ]*",end:"[ ]*\\1",content:"(.+?(?:\\n.+?)*?)"};return l.reg=Sm(l,"g"),l}}]),o}();gi(iSt,"HOOK_NAME","inlineCode");var Ivn=il(function(r){(function(){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(l,h){return l<>>32-h},rotr:function(l,h){return l<<32-h|l>>>h},endian:function(l){if(l.constructor==Number)return 16711935&o.rotl(l,8)|4278255360&o.rotl(l,24);for(var h=0;h0;l--)h.push(Math.floor(256*Math.random()));return h},bytesToWords:function(l){for(var h=[],g=0,d=0;g>>5]|=l[g]<<24-d%32;return h},wordsToBytes:function(l){for(var h=[],g=0;g<32*l.length;g+=8)h.push(l[g>>>5]>>>24-g%32&255);return h},bytesToHex:function(l){for(var h=[],g=0;g>>4).toString(16)),h.push((15&l[g]).toString(16));return h.join("")},hexToBytes:function(l){for(var h=[],g=0;g>>6*(3-b)&63)):h.push("=");return h.join("")},base64ToBytes:function(l){l=l.replace(/[^A-Z0-9+\/]/gi,"");for(var h=[],g=0,d=0;g>>6-2*d);return h}};r.exports=o})()}),BDe={utf8:{stringToBytes:function(r){return BDe.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(BDe.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var i=[],o=0;o>>24)|4278255360&(w[P]<<24|w[P]>>>8);w[x>>>5]|=128<>>9<<4)]=x;var z=g._ff,W=g._gg,Q=g._hh,V=g._ii;for(P=0;P>>0,B=B+G>>>0,L=L+ae>>>0,M=M+ne>>>0}return i.endian([C,B,L,M])};g._ff=function(d,b,w,x,C,B,L){var M=d+(b&w|~b&x)+(C>>>0)+L;return(M<>>32-B)+b},g._gg=function(d,b,w,x,C,B,L){var M=d+(b&x|w&~x)+(C>>>0)+L;return(M<>>32-B)+b},g._hh=function(d,b,w,x,C,B,L){var M=d+(b^w^x)+(C>>>0)+L;return(M<>>32-B)+b},g._ii=function(d,b,w,x,C,B,L){var M=d+(w^(b|~x))+(C>>>0)+L;return(M<>>32-B)+b},g._blocksize=16,g._digestsize=16,r.exports=function(d,b){if(d==null)throw new Error("Illegal argument "+d);var w=i.wordsToBytes(g(d,b));return b&&b.asBytes?w:b&&b.asString?h.bytesToString(w):i.bytesToHex(w)}})()}),qde={},_Me=/^cherry-inner:\/\/([0-9a-f]+)$/i,OB=function(){function r(){qr(this,r)}return Yr(r,null,[{key:"isInnerLink",value:function(i){return _Me.test(i)}},{key:"set",value:function(i){var o=AQe(i);return qde[o]=i,"cherry-inner://".concat(o)}},{key:"get",value:function(i){var o,l=gu((o=i.match(_Me))!==null&&o!==void 0?o:[],2)[1];if(l)return qde[l]}},{key:"replace",value:function(i,o){var l,h=gu((l=i.match(_Me))!==null&&l!==void 0?l:[],2)[1];if(h)return qde[h]=o,i}},{key:"restoreAll",value:function(i){var o=i.replace(/cherry-inner:\/\/([0-9a-f]+)/gi,function(l){return r.get(l)||l});return o}},{key:"clear",value:function(){qde={}}}]),r}();function Dvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var aSt=function(r){aa(o,RA);var i=Dvn(o);function o(l){var h,g=l.config,d=l.globalConfig;return qr(this,o),(h=i.call(this,{config:g})).urlProcessor=d.urlProcessor,h.target=g.target?'target="'.concat(g.target,'"'):g.openNewPage?'target="_blank"':"",h.rel=g.rel?'rel="'.concat(g.rel,'"'):"",h}return Yr(o,[{key:"checkBrackets",value:function(l){for(var h=[],g="[".concat(l,"]"),d=function(w){return 1&Zi(g).call(g,0,w).match(/\\*$/)[0].length},b=g.length-1;g[b]&&(b!==g.length-1||!d(b));b--)if(g[b]!=="]"||d(b)||h.push("]"),g[b]==="["&&!d(b)&&(h.pop(),!h.length))return{isValid:!0,coreText:Zi(g).call(g,b+1,g.length-1),extraLeadingChar:Zi(g).call(g,0,b)};return{isValid:!1,coreText:l,extraLeadingChar:""}}},{key:"toHtml",value:function(l,h,g,d,b,w,x){var C=d===void 0?"ref":"url",B="";if(C==="ref")return l;if(C==="url"){var L,M=this.checkBrackets(g),P=M.isValid,z=M.coreText,W=M.extraLeadingChar;if(!P)return l;B=b&&uo(b).call(b)!==""?' title="'.concat(wj(b.replace(/["']/g,"")),'"'):"",x?B+=' target="'.concat(x.replace(/{target\s*=\s*(.*?)}/,"$1"),'"'):this.target&&(B+=" ".concat(this.target));var Q,V,oe,G,ae=uo(d).call(d).replace(/~1D/g,"~D"),ne=z.replace(/~1D/g,"~D");return rvn(ae)?(ae=VM(ae=this.urlProcessor(ae,"link")),rt(Q=rt(V=rt(oe=rt(G="".concat(h+W,'")).call(Q,ne,"")):rt(L="".concat(h+W,"")).call(L,g,"")}return l}},{key:"toStdMarkdown",value:function(l){return l}},{key:"makeHtml",value:function(l){var h,g,d=l.replace(this.RULE.reg,function(b){return b.replace(/~D/g,"~1D")});return PA()?d=d.replace(this.RULE.reg,Xa(h=this.toHtml).call(h,this)):d=v7(d,this.RULE.reg,Xa(g=this.toHtml).call(g,this),!0,1),d=d.replace(this.RULE.reg,function(b){return b.replace(/~1D/g,"~D")}),d}},{key:"rule",value:function(){var l={begin:PA()?"((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(aSt,"HOOK_NAME","link");var oSt=function(r){aa(o,RA);var i=Ovn(o);function o(){var l,h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;return qr(this,o),l=i.call(this,{config:h}),h?(l.allowWhitespace=!!h.allowWhitespace,l):Wi(l)}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=function(b,w,x,C){var B,L,M,P=x.length%2==1?"em":"strong",z=Math.floor(x.length/2),W=e1("").call("",z),Q=e1("").call("",z);return P==="em"&&(W+="",Q="".concat(Q)),rt(B=rt(L=rt(M="".concat(w)).call(M,W)).call(L,h(C).html.replace(/_/g,"~U"))).call(B,Q)},d=l;return d=(d=this.allowWhitespace?(d=(d=d.replace(/(^|\n[\s]*)(\*)([^\s*](?:.*?)(?:(?:\n.*?)*?))\*/g,g)).replace(/(^|\n[\s]*)(\*{2,})((?:.*?)(?:(?:\n.*?)*?))\2/g,g)).replace(/([^\n*\\\s][ ]*)(\*+)((?:.*?)(?:(?:\n.*?)*?))\2/g,g):d.replace(this.RULE.asterisk.reg,g)).replace(this.RULE.underscore.reg,function(b,w,x,C,B,L){var M,P,z;if(uo(C).call(C)==="")return b;var W=x.length%2==1?"em":"strong",Q=Math.floor(x.length/2),V=e1("").call("",Q),oe=e1("").call("",Q),G=h(C).html;return W==="em"&&(V+="",oe="".concat(oe)),rt(M=rt(P=rt(z="".concat(w)).call(z,V)).call(P,G)).call(M,oe)}),d.replace(/~U/g,"_")}},{key:"test",value:function(l,h){return this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){var l=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config,h=!!l&&!!l.allowWhitespace,g=function(w,x){var C,B,L,M="[^".concat(x,"\\s]");return w?"(?:.*?)(?:(?:\\n.*?)*?)":rt(C=rt(B=rt(L="(".concat(M,"|")).call(L,M,`(.*?( +`)).call(B,M,".*)*)")).call(C,M,")")},d={begin:"(^|[^\\\\])([*]+)",content:"(".concat(g(h,"*"),")"),end:"\\2"},b={begin:"(^|".concat(Z6t,")(_+)"),content:"(".concat(g(h,"_"),")"),end:"\\2(?=".concat(Z6t,"|$)")};return d.reg=Sm(d,"g"),b.reg=Sm(b,"g"),{asterisk:d,underscore:b}}}]),o}();function Nvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(oSt,"HOOK_NAME","fontEmphasis");var sSt=function(r){aa(o,Sd);var i=Nvn(o);function o(l){var h;return qr(this,o),(h=i.call(this)).initBrReg(l.globalConfig.classicBr),h}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return this.test(l)?l.replace(this.RULE.reg,function(d,b,w){var x;if(g.isContainsCache(d,!0))return d;var C,B=function(L){var M,P,z,W,Q,V;if(uo(L).call(L)==="")return"";var oe=h(L),G=oe.sign,ae=oe.html,ne="p";new RegExp("<(".concat(pte,")[^>]*>"),"i").test(ae)&&(ne="div");var de=g.getLineCount(L,L);return rt(M=rt(P=rt(z=rt(W=rt(Q=rt(V="<".concat(ne,' data-sign="')).call(V,G)).call(Q,de,'" data-type="')).call(W,ne,'" data-lines="')).call(z,de,'">')).call(P,g.$cleanParagraph(ae),"")};return g.isContainsCache(w)?g.makeExcludingCached(rt(C="".concat(b)).call(C,w),B):B(rt(x="".concat(b)).call(x,w))}):l}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)",end:"(?=\\s*$|\\n\\n)",content:"([\\s\\S]+?)"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();gi(sSt,"HOOK_NAME","normalParagraph");ma({target:"Reflect",stat:!0},{get:function r(i,o){var l,h,g=arguments.length<3?i:arguments[2];return Mu(i)===g?i[o]:(l=g9.f(i,o))?function(d){return d!==void 0&&(sc(d,"value")||sc(d,"writable"))}(l)?l.value:l.get===void 0?void 0:cc(l.get,g):g1(h=sQ(i))?r(h,o,g):void 0}});var Ixt=Gc.Reflect.get,Qvn=RBt;function ZC(){return ZC=typeof Reflect<"u"&&Ixt?Ixt:function(r,i,o){var l=function(g,d){for(;!Object.prototype.hasOwnProperty.call(g,d)&&(g=En(g))!==null;);return g}(r,i);if(l){var h=Qvn(l,i);return h.get?h.get.call(arguments.length<3?r:o):h.value}},ZC.apply(this,arguments)}function Pvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Yde="atx",Jde="setext",Rvn=/[\s\-_]/,Uvn=/[A-Za-z]/,Hvn=/[0-9]/,cSt=function(r){aa(o,Sd);var i=Pvn(o);function o(){var l,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0,externals:void 0};h.externals;var g=h.config;return qr(this,o),(l=i.call(this,{needCache:!0})).strict=!g||!!g.strict,l.RULE=l.rule(),l.headerIDCache=[],l.headerIDCounter={},l.config=g||{},l}return Yr(o,[{key:"$parseTitleText",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return typeof l!="string"?"":l.replace(/<.*?>/g,"").replace(/</g,"<").replace(/>/g,">")}},{key:"$generateId",value:function(l){for(var h=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],g=l.length,d="",b=0;b255)try{d+=encodeURIComponent(w)}catch{}}return d}},{key:"generateIDNoDup",value:function(l){var h,g=l.replace(/</g,"<").replace(/>/g,">"),d=this.$generateId(g,!0),b=xl(h=this.headerIDCache).call(h,d);if(b!==-1)this.headerIDCounter[b]+=1,d+="-".concat(this.headerIDCounter[b]+1);else{var w=this.headerIDCache.push(d);this.headerIDCounter[w-1]=1}return d}},{key:"$wrapHeader",value:function(l,h,g,d){var b,w,x,C,B,L,M,P=d(uo(l).call(l)),z=P.html,W=z.match(/\s+\{#([A-Za-z0-9-]+)\}$/);W!==null&&(z=z.substring(0,W.index),M=gu(W,2)[1]);var Q=this.$parseTitleText(z);M||(M=this.generateIDNoDup(Q.replace(/~fn#([0-9]+)#/g,"")));var V="safe_".concat(M),oe=this.$engine.md5(rt(b=rt(w=rt(x="".concat(h,"-")).call(x,P.sign,"-")).call(w,M,"-")).call(b,g));return{html:[rt(C=rt(B=rt(L="'),this.$getAnchor(M),"".concat(z),"")].join(""),sign:"".concat(oe)}}},{key:"$getAnchor",value:function(l){return(this.config.anchorStyle||"default")==="none"?"":'')}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g,Yde)&&(g=g.replace(this.RULE[Yde].reg,function(d,b,w,x){return uo(x).call(x)===""?d:h.getCacheWithSpace(h.pushCache(d),d,!0)})),this.test(g,Jde)&&(g=g.replace(this.RULE[Jde].reg,function(d,b,w){return uo(w).call(w)===""||h.isContainsCache(w)?d:h.getCacheWithSpace(h.pushCache(d),d,!0)})),g}},{key:"makeHtml",value:function(l,h){var g=this,d=this.restoreCache(l);return this.test(d,Yde)&&(d=d.replace(this.RULE[Yde].reg,function(b,w,x,C){var B=vDe(w,g.getLineCount(b.replace(/^\n+/,""))),L=C.replace(/\s+#+\s*$/,""),M=g.$wrapHeader(L,x.length,B,h),P=M.html,z=M.sign;return g.getCacheWithSpace(g.pushCache(P,z,B),b,!0)})),this.test(d,Jde)&&(d=d.replace(this.RULE[Jde].reg,function(b,w,x,C){if(g.isContainsCache(x))return b;var B=vDe(w,g.getLineCount(b.replace(/^\n+/,""))),L=C[0]==="-"?2:1,M=g.$wrapHeader(x,L,B,h),P=M.html,z=M.sign;return g.getCacheWithSpace(g.pushCache(P,z,B),b,!0)})),d}},{key:"afterMakeHtml",value:function(l){var h=ZC(En(o.prototype),"afterMakeHtml",this).call(this,l);return this.headerIDCache=[],this.headerIDCounter={},h}},{key:"test",value:function(l,h){return this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)",content:["(?:\\h*","(.+)",")\\n","(?:\\h*","([=]+|[-]+)",")"].join(""),end:"(?=$|\\n)"};l.reg=Sm(l,"g",!0);var h={begin:"(?:^|\\n)(\\n*)(?:\\h*(#{1,6}))",content:"(.+?)",end:"(?=$|\\n)"};return this.strict&&(h.begin+="(?=\\h+)"),h.reg=Sm(h,"g",!0),{setext:l,atx:h}}}]),o}();function $vn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(cSt,"HOOK_NAME","header");var lSt=function(r){aa(o,RA);var i=$vn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"rule",value:function(){return{begin:"",content:"",end:"",reg:new RegExp("")}}},{key:"beforeMakeHtml",value:function(l){return l.replace(/\\\n/g,`\\ +`)}},{key:"afterMakeHtml",value:function(l){var h=l.replace(/~Q/g,"~");return h=(h=(h=(h=(h=h.replace(/~X/g,"`")).replace(/~Y/g,"!")).replace(/~Z/g,"#")).replace(/~&/g,"&")).replace(/~K/g,"/")}}]),o}();gi(lSt,"HOOK_NAME","transfer");var jvn=Ai.TypeError,Fxt=function(r){return function(i,o,l,h){Lu(o);var g=iy(i),d=dpe(g),b=n4(g),w=r?b-1:0,x=r?-1:1;if(l<2)for(;;){if(w in d){h=d[w],w+=x;break}if(w+=x,r?w<0:b<=w)throw jvn("Reduce of empty array with no initial value")}for(;r?w>=0:b>w;w+=x)w in d&&(h=o(h,d[w],w,g));return h}},Kvn={left:Fxt(!1),right:Fxt(!0)},NB=c9(Ai.process)=="process",zvn=Kvn.left,Xvn=Kj("reduce");ma({target:"Array",proto:!0,forced:!Xvn||!NB&&f9>79&&f9<83},{reduce:function(r){var i=arguments.length;return zvn(this,r,i,i>1?arguments[1]:void 0)}});var Gvn=Md("Array").reduce,SMe=Array.prototype,jB=function(r){var i=r.reduce;return r===SMe||uf(SMe,r)&&i===SMe.reduce?Gvn:i};function Dxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function Zde(r){for(var i=1;i"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Oxt="loose",Nxt="strict",uSt=function(r){aa(o,Sd);var i=Vvn(o);function o(l){var h,g=l.externals,d=l.config;qr(this,o),h=i.call(this,{needCache:!0});var b=d.enableChart,w=d.chartRenderEngine,x=d.externals,C=d.chartEngineOptions,B=C===void 0?{}:C;if(h.chartRenderEngine=null,b===!0)try{h.chartRenderEngine=new w(Zde(Zde({},g&&x instanceof Array&&jB(x).call(x,function(L,M){return delete B[M],Zde(Zde({},L),{},gi({},M,g[M]))},{})),{},{renderer:"svg",width:500,height:300},B))}catch(L){console.warn(L)}return h}return Yr(o,[{key:"$extendColumns",value:function(l,h){var g=h-l.length;return g<1?l:rt(l).call(l,e1(" |").call(" |",g).split("|",g))}},{key:"$parseChartOptions",value:function(l){if(!this.chartRenderEngine)return null;var h=/^[ ]*:(\w+):(?:[ ]*{(.*?)}[ ]*)?$/;if(!h.test(l))return null;var g=gu(l.match(h),3),d=g[1],b=g[2];return{type:d,options:b?b.split(/\s*,\s*/):["x","y"]}}},{key:"$parseColumnAlignRules",value:function(l){var h=["U","L","R","C"];return{textAlignRules:ss(l).call(l,function(g){var d=uo(g).call(g),b=0;return/^:/.test(d)&&(b+=1),/:$/.test(d)&&(b+=2),h[b]}),COLUMN_ALIGN_MAP:{L:"left",R:"right",C:"center"}}}},{key:"$parseTable",value:function(l,h,g){var d,b,w,x,C,B,L=this,M=0,P=ss(l).call(l,function(ve,me){var ee=ve.replace(/\\\|/g,"~CS").split("|");return ee[0]===""&&ee.shift(),ee[ee.length-1]===""&&ee.pop(),me!==1&&(M=Math.max(M,ee.length)),ee}),z=this.$parseColumnAlignRules(P[1]),W=z.textAlignRules,Q=z.COLUMN_ALIGN_MAP,V={header:[],rows:[],colLength:M,rowLength:P.length-2},oe=this.$parseChartOptions(P[0][0]),G=this.$engine.md5(P[0][0]);oe&&(P[0][0]="");var ae=ss(d=this.$extendColumns(P[0],M)).call(d,function(ve,me){var ee,ye;V.header.push(ve.replace(/~CS/g,"\\|"));var Y=h(uo(ee=ve.replace(/~CS/g,"\\|")).call(ee)).html;return rt(ye="~CTH".concat(W[me]||"U"," ")).call(ye,Y," ~CTH$")}).join(""),ne=jB(P).call(P,function(ve,me,ee){var ye;if(ee<=1)return ve;var Y=ee-2;V.rows[Y]=[];var Ee=ss(ye=L.$extendColumns(me,M)).call(ye,function(fe,ce){var $e,Ye;V.rows[Y].push(fe.replace(/~CS/g,"\\|"));var ct=h(uo($e=fe.replace(/~CS/g,"\\|")).call($e)).html;return rt(Ye="~CTD".concat(W[ce]||"U"," ")).call(Ye,ct," ~CTD$")});return ve.push("~CTR".concat(Ee.join(""),"~CTR$")),ve},[]).join(""),de=this.$renderTable(Q,ae,ne,g);if(!oe)return de;var Ae=this.chartRenderEngine.render(oe.type,oe.options,V),le=rt(b=rt(w=rt(x=rt(C='
')).call(b,Ae,"
");return{html:rt(B="".concat(le)).call(B,de.html),sign:G+de.sign}}},{key:"$testHeadEmpty",value:function(l){var h=l.replace(/ /g,"").replace(/\s/g,"").replace(/(~CTH\$|~CTHU|~CTHL|~CTHR|~CTHC)/g,"");return(h==null?void 0:h.length)>0}},{key:"$renderTable",value:function(l,h,g,d){var b,w,x,C,B=this.$testHeadEmpty(h)?rt(b="~CTHD".concat(h,"~CTHD$~CTBD")).call(b,g,"~CTBD$"):"~CTBD".concat(g,"~CTBD$"),L=this.$engine.md5(B),M=B.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(P,z,W){var Q="":' align="'.concat(l[W],'">')}).replace(/\\\|/g,"|");return{html:rt(w=rt(x=rt(C='
+ `)).call(w,M,"
"),sign:L}}},{key:"makeHtml",value:function(l,h){var g=this,d=l;return this.test(d,Nxt)&&(d=d.replace(this.RULE[Nxt].reg,function(b,w){var x,C=g.getLineCount(b,w),B=ss(x=uo(b).call(b).split(/\n/)).call(x,function(z){var W;return uo(W=String(z)).call(W)}),L=g.$parseTable(B,h,C),M=L.html,P=L.sign;return g.getCacheWithSpace(g.pushCache(M,P,C),b)})),this.test(d,Oxt)&&(d=d.replace(this.RULE[Oxt].reg,function(b,w){var x,C=g.getLineCount(b,w),B=ss(x=uo(b).call(b).split(/\n/)).call(x,function(z){var W;return uo(W=String(z)).call(W)}),L=g.$parseTable(B,h,C),M=L.html,P=L.sign;return g.getCacheWithSpace(g.pushCache(M,P,C),b)})),d}},{key:"test",value:function(l,h){return this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){return Cpe()}}]),o}();function q3(){return(typeof window>"u"?"undefined":Vc(window))==="object"}function Wvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(uSt,"HOOK_NAME","table");var hSt=function(r){aa(o,Sd);var i=Wvn(o);function o(l){var h;return qr(this,o),(h=i.call(this,{needCache:!0})).classicBr=fQe("classicBr")?oge():l.globalConfig.classicBr,h}return Yr(o,[{key:"beforeMakeHtml",value:function(l){var h=this;return this.test(l)?l.replace(this.RULE.reg,function(g,d,b){var w,x;if(b===0)return g;var C,B,L=(w=(x=d.match(/\n/g))===null||x===void 0?void 0:x.length)!==null&&w!==void 0?w:0,M="br".concat(L),P="";q3()?P=h.classicBr?rt(C=''):rt(B='

 

'):P=h.classicBr?"":"
";var z=h.pushCache(P,M,L);return` `.concat(z,` -`)}):l}},{key:"makeHtml",value:function(l,h){return l}},{key:"rule",value:function(){var l={begin:"(?:\\n)",end:"",content:"((?:\\h*\\n){2,})"};return l.reg=Lm(l,"g",!0),l}}]),o}();function Yvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(fSt,"HOOK_NAME","br");var dSt=function(r){aa(o,_d);var i=Yvn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"beforeMakeHtml",value:function(l){var h=this;return l.replace(this.RULE.reg,function(g,d){var b,w=(d.match(/\n/g)||[]).length+1,x="hr".concat(w);return uQ(g,h.pushCache(rt(b='
'),x))})}},{key:"makeHtml",value:function(l,h){return l}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)[ ]*",end:"(?=$|\\n)",content:"((?:-[ \\t]*){3,}|(?:\\*[ \\t]*){3,}|(?:_[ \\t]*){3,})"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();gi(dSt,"HOOK_NAME","hr");var Jvn={processExtendAttributesInAlt:function(r){var i=r.match(/#([0-9]+(px|em|pt|pc|in|mm|cm|ex|%)|auto)/g);if(!i)return"";var o="",l=gu(i,2),h=l[0],g=l[1];return h&&(o=' width="'.concat(h.replace(/[ #]*/g,""),'"')),g&&(o+=' height="'.concat(g.replace(/[ #]*/g,""),'"')),o},processExtendStyleInAlt:function(r){var i=this.$getAlignment(r),o="",l=r.match(/#(border|shadow|radius|B|S|R)/g);if(l)for(var h=0;h"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Rxt=function(r,i,o,l,h,g,d,b,w){var x=h===void 0?"ref":"url",C="";if(x==="ref")return i;if(x==="url"){var B,L,I,P,z,W,Q,V,oe=lge.processExtendAttributesInAlt(l),G=lge.processExtendStyleInAlt(l),ae=G.extendStyles,ne=G.extendClasses;ae&&(ae=' style="'.concat(ae,'" ')),ne&&(ne=' class="'.concat(ne,'" ')),C=g&&uo(g).call(g)!==""?' title="'.concat(ey(g),'"'):"",d&&(C+=' poster="'.concat(WI(d),'"'));var de=w.urlProcessor(h,r),Ae=rt(B=rt(L=rt(I=rt(P=rt(z=rt(W=rt(Q="<".concat(r,' src="')).call(Q,NB.set(WI(de)),'"')).call(W,C," ")).call(z,oe," ")).call(P,ae," ")).call(I,ne,' controls="controls">')).call(L,ey(l||""),"");return rt(V="".concat(o)).call(V,b.videoWrapper?b.videoWrapper(h):Ae)}return i},ASt=function(r){aa(o,PA);var i=Zvn(o);function o(l){var h,g=l.config,d=l.globalConfig;return qr(this,o),(h=i.call(this,null)).urlProcessor=d.urlProcessor,h.extendMedia={tag:["video","audio"],replacer:{video:function(b,w,x,C,B,L){return Rxt("video",b,w,x,C,B,L,g,d)},audio:function(b,w,x,C,B,L){return Rxt("audio",b,w,x,C,B,L,g,d)}}},h.RULE=h.rule(h.extendMedia),h}return Yr(o,[{key:"toHtml",value:function(l,h,g,d,b,w,x){var C=d===void 0?"ref":"url",B="";if(C==="ref")return l;if(C==="url"){var L,I,P,z,W,Q,V,oe,G=lge.processExtendAttributesInAlt(g),ae=lge.processExtendStyleInAlt(g),ne=ae.extendStyles,de=ae.extendClasses;ne&&(ne=' style="'.concat(ne,'" ')),de&&(de=' class="'.concat(de,'" ')),B=b&&uo(b).call(b)!==""?' title="'.concat(ey(b.replace(/["']/g,"")),'"'):"";var Ae,le="src",ve=this.$engine.$cherry.options;if(ve.callback&&ve.callback.beforeImageMounted){var me=ve.callback.beforeImageMounted(le,d);le=me.srcProp||le,Ae=me.src||d}var ee=x?x.replace(/[{}]/g,"").replace(/([^=\s]+)=([^\s]+)/g,'$1="$2"').replace(/&/g,"&"):"";return rt(L=rt(I=rt(P=rt(z=rt(W=rt(Q=rt(V=rt(oe="".concat(h,"')).call(P,ey(g||")}return l}},{key:"toMediaHtml",value:function(l,h,g,d,b,w,x,C,B){var L,I;if(!this.extendMedia.replacer[g])return l;for(var P=arguments.length,z=new Array(P>9?P-9:0),W=9;W"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(ASt,"HOOK_NAME","image");function $xt(r){var i;if(Vc(r)!=="object"&&pu(r).length<1)return"";var o=[""];return xa(i=pu(r)).call(i,function(l){var h;o.push(rt(h="".concat(l,'="')).call(h,r[l],'"'))}),o.join(" ")}function tyn(r,i){for(var o=/^(\t|[ ])/,l=r;o.test(l);)i.space+=l[0]===" "?4:1,l=l.replace(o,"");return l}function nyn(r,i){var o=/^((([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]*?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/;return o.test(r)?r.replace(o,function(l,h,g,d,b){return i.type=g.search(/[*+-]/g)>-1?"ul":"ol",i.listStyle=function(w){return/^[a-z]/.test(w)?"lower-greek":/^[一二三四五六七八九十]/.test(w)?"cjk-ideographic":/^I/.test(w)?"upper-roman":/^\+/.test(w)?"circle":/^\*/.test(w)?"square":"default"}(g),i.start=Number(g.replace(".",""))?Number(g.replace(".","")):1,b}):(i.type="blank",r)}var ryn=Yr(function r(){qr(this,r),this.index=0,this.space=0,this.type="",this.start=1,this.listStyle="",this.strs=[],this.children=[],this.lines=0}),gSt=function(r){aa(o,_d);var i=eyn(o);function o(l){var h,g=l.config;return qr(this,o),(h=i.call(this,{needCache:!0})).config=g||{},h.tree=[],h.emptyLines=0,h.indentSpace=Math.max(h.config.indentSpace,2),h}return Yr(o,[{key:"addNode",value:function(l,h,g,d){l.type==="blank"?this.tree[d].strs.push(l.strs[0]):(this.tree[g].children.push(h),this.tree[h]=Hxt(Hxt({},l),{},{parent:g}))}},{key:"buildTree",value:function(l,h){var g=l.split(` -`);this.tree=[],g.unshift("");for(var d=l.match(/\n*$/g)[0].length,b=0;bw.space;)x-=1;var C=w.space,B=this.tree[x].space;C".concat(V.strs.join("
"),"

");V.lines+=x.getLineCount(V.strs.join(` -`));var ae=V.children.length?x.renderTree(P):"";return l.lines+=V.lines,C+=V.lines,/<\/span>/.test(G)&&(oe.class+=" check-list-item"),rt(z=rt(W=rt(Q="".concat(I,"")).call(W,G)).call(z,ae,"")},"");return l.parent===void 0&&(B["data-lines"]=l.index===0?C+this.emptyLines:C,B["data-sign"]=this.sign),h[0]&&g==="ol"&&(B.start=this.tree[h[0]].start),B.class="cherry-list__".concat(this.tree[h[0]].listStyle),rt(d=rt(b=rt(w="<".concat(g)).call(w,$xt(B),">")).call(b,L,"")}},{key:"renderTree",value:function(l){var h=this,g=0,d=this.tree[l],b=d.children;return KB(b).call(b,function(w,x,C){if(C===0||h.tree[b[C]].type===h.tree[b[C-1]].type)return w;var B=h.renderSubTree(d,Zi(b).call(b,g,C),h.tree[b[C-1]].type);return g=C,w+B},"")+(b.length?this.renderSubTree(d,Zi(b).call(b,g,b.length),this.tree[b[b.length-1]].type):"")}},{key:"toHtml",value:function(l,h){var g,d;this.emptyLines=(g=(d=l.match(/^\n\n/))===null||d===void 0?void 0:d.length)!==null&&g!==void 0?g:0;var b=l.replace(/~0$/g,"").replace(/^\n+/,"");this.buildTree(function(x){return x.replace(/^((?:|[\t ]+)[*+-]\s+)\[(\s|x)\]/gm,function(C,B,L){var I,P=/\s/.test(L)?'':'';return rt(I="".concat(B)).call(I,P)})}(b),h);var w=this.renderTree(0);return this.pushCache(w,this.sign,this.$getLineNum(l))}},{key:"$getLineNum",value:function(l){var h,g,d,b,w=(h=(g=l.match(/^\n\n/))===null||g===void 0?void 0:g.length)!==null&&h!==void 0?h:0;return(d=(b=l.replace(/^\n+/,"").replace(/\n+$/,` +`)}):l}},{key:"makeHtml",value:function(l,h){return l}},{key:"rule",value:function(){var l={begin:"(?:\\n)",end:"",content:"((?:\\h*\\n){2,})"};return l.reg=Sm(l,"g",!0),l}}]),o}();function qvn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(hSt,"HOOK_NAME","br");var fSt=function(r){aa(o,Sd);var i=qvn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"beforeMakeHtml",value:function(l){var h=this;return l.replace(this.RULE.reg,function(g,d){var b,w=(d.match(/\n/g)||[]).length+1,x="hr".concat(w);return lQ(g,h.pushCache(rt(b='
'),x))})}},{key:"makeHtml",value:function(l,h){return l}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)[ ]*",end:"(?=$|\\n)",content:"((?:-[ \\t]*){3,}|(?:\\*[ \\t]*){3,}|(?:_[ \\t]*){3,})"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();gi(fSt,"HOOK_NAME","hr");var Yvn={processExtendAttributesInAlt:function(r){var i=r.match(/#([0-9]+(px|em|pt|pc|in|mm|cm|ex|%)|auto)/g);if(!i)return"";var o="",l=gu(i,2),h=l[0],g=l[1];return h&&(o=' width="'.concat(h.replace(/[ #]*/g,""),'"')),g&&(o+=' height="'.concat(g.replace(/[ #]*/g,""),'"')),o},processExtendStyleInAlt:function(r){var i=this.$getAlignment(r),o="",l=r.match(/#(border|shadow|radius|B|S|R)/g);if(l)for(var h=0;h"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Pxt=function(r,i,o,l,h,g,d,b,w){var x=h===void 0?"ref":"url",C="";if(x==="ref")return i;if(x==="url"){var B,L,M,P,z,W,Q,V,oe=cge.processExtendAttributesInAlt(l),G=cge.processExtendStyleInAlt(l),ae=G.extendStyles,ne=G.extendClasses;ae&&(ae=' style="'.concat(ae,'" ')),ne&&(ne=' class="'.concat(ne,'" ')),C=g&&uo(g).call(g)!==""?' title="'.concat(Zv(g),'"'):"",d&&(C+=' poster="'.concat(VM(d),'"'));var de=w.urlProcessor(h,r),Ae=rt(B=rt(L=rt(M=rt(P=rt(z=rt(W=rt(Q="<".concat(r,' src="')).call(Q,OB.set(VM(de)),'"')).call(W,C," ")).call(z,oe," ")).call(P,ae," ")).call(M,ne,' controls="controls">')).call(L,Zv(l||""),"");return rt(V="".concat(o)).call(V,b.videoWrapper?b.videoWrapper(h):Ae)}return i},dSt=function(r){aa(o,RA);var i=Jvn(o);function o(l){var h,g=l.config,d=l.globalConfig;return qr(this,o),(h=i.call(this,null)).urlProcessor=d.urlProcessor,h.extendMedia={tag:["video","audio"],replacer:{video:function(b,w,x,C,B,L){return Pxt("video",b,w,x,C,B,L,g,d)},audio:function(b,w,x,C,B,L){return Pxt("audio",b,w,x,C,B,L,g,d)}}},h.RULE=h.rule(h.extendMedia),h}return Yr(o,[{key:"toHtml",value:function(l,h,g,d,b,w,x){var C=d===void 0?"ref":"url",B="";if(C==="ref")return l;if(C==="url"){var L,M,P,z,W,Q,V,oe,G=cge.processExtendAttributesInAlt(g),ae=cge.processExtendStyleInAlt(g),ne=ae.extendStyles,de=ae.extendClasses;ne&&(ne=' style="'.concat(ne,'" ')),de&&(de=' class="'.concat(de,'" ')),B=b&&uo(b).call(b)!==""?' title="'.concat(Zv(b.replace(/["']/g,"")),'"'):"";var Ae,le="src",ve=this.$engine.$cherry.options;if(ve.callback&&ve.callback.beforeImageMounted){var me=ve.callback.beforeImageMounted(le,d);le=me.srcProp||le,Ae=me.src||d}var ee=x?x.replace(/[{}]/g,"").replace(/([^=\s]+)=([^\s]+)/g,'$1="$2"').replace(/&/g,"&"):"";return rt(L=rt(M=rt(P=rt(z=rt(W=rt(Q=rt(V=rt(oe="".concat(h,"')).call(P,Zv(g||")}return l}},{key:"toMediaHtml",value:function(l,h,g,d,b,w,x,C,B){var L,M;if(!this.extendMedia.replacer[g])return l;for(var P=arguments.length,z=new Array(P>9?P-9:0),W=9;W"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(dSt,"HOOK_NAME","image");function Hxt(r){var i;if(Vc(r)!=="object"&&pu(r).length<1)return"";var o=[""];return xa(i=pu(r)).call(i,function(l){var h;o.push(rt(h="".concat(l,'="')).call(h,r[l],'"'))}),o.join(" ")}function eyn(r,i){for(var o=/^(\t|[ ])/,l=r;o.test(l);)i.space+=l[0]===" "?4:1,l=l.replace(o,"");return l}function tyn(r,i){var o=/^((([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]*?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/;return o.test(r)?r.replace(o,function(l,h,g,d,b){return i.type=g.search(/[*+-]/g)>-1?"ul":"ol",i.listStyle=function(w){return/^[a-z]/.test(w)?"lower-greek":/^[一二三四五六七八九十]/.test(w)?"cjk-ideographic":/^I/.test(w)?"upper-roman":/^\+/.test(w)?"circle":/^\*/.test(w)?"square":"default"}(g),i.start=Number(g.replace(".",""))?Number(g.replace(".","")):1,b}):(i.type="blank",r)}var nyn=Yr(function r(){qr(this,r),this.index=0,this.space=0,this.type="",this.start=1,this.listStyle="",this.strs=[],this.children=[],this.lines=0}),ASt=function(r){aa(o,Sd);var i=Zvn(o);function o(l){var h,g=l.config;return qr(this,o),(h=i.call(this,{needCache:!0})).config=g||{},h.tree=[],h.emptyLines=0,h.indentSpace=Math.max(h.config.indentSpace,2),h}return Yr(o,[{key:"addNode",value:function(l,h,g,d){l.type==="blank"?this.tree[d].strs.push(l.strs[0]):(this.tree[g].children.push(h),this.tree[h]=Uxt(Uxt({},l),{},{parent:g}))}},{key:"buildTree",value:function(l,h){var g=l.split(` +`);this.tree=[],g.unshift("");for(var d=l.match(/\n*$/g)[0].length,b=0;bw.space;)x-=1;var C=w.space,B=this.tree[x].space;C".concat(V.strs.join("
"),"

");V.lines+=x.getLineCount(V.strs.join(` +`));var ae=V.children.length?x.renderTree(P):"";return l.lines+=V.lines,C+=V.lines,/<\/span>/.test(G)&&(oe.class+=" check-list-item"),rt(z=rt(W=rt(Q="".concat(M,"")).call(W,G)).call(z,ae,"")},"");return l.parent===void 0&&(B["data-lines"]=l.index===0?C+this.emptyLines:C,B["data-sign"]=this.sign),h[0]&&g==="ol"&&(B.start=this.tree[h[0]].start),B.class="cherry-list__".concat(this.tree[h[0]].listStyle),rt(d=rt(b=rt(w="<".concat(g)).call(w,Hxt(B),">")).call(b,L,"")}},{key:"renderTree",value:function(l){var h=this,g=0,d=this.tree[l],b=d.children;return jB(b).call(b,function(w,x,C){if(C===0||h.tree[b[C]].type===h.tree[b[C-1]].type)return w;var B=h.renderSubTree(d,Zi(b).call(b,g,C),h.tree[b[C-1]].type);return g=C,w+B},"")+(b.length?this.renderSubTree(d,Zi(b).call(b,g,b.length),this.tree[b[b.length-1]].type):"")}},{key:"toHtml",value:function(l,h){var g,d;this.emptyLines=(g=(d=l.match(/^\n\n/))===null||d===void 0?void 0:d.length)!==null&&g!==void 0?g:0;var b=l.replace(/~0$/g,"").replace(/^\n+/,"");this.buildTree(function(x){return x.replace(/^((?:|[\t ]+)[*+-]\s+)\[(\s|x)\]/gm,function(C,B,L){var M,P=/\s/.test(L)?'':'';return rt(M="".concat(B)).call(M,P)})}(b),h);var w=this.renderTree(0);return this.pushCache(w,this.sign,this.$getLineNum(l))}},{key:"$getLineNum",value:function(l){var h,g,d,b,w=(h=(g=l.match(/^\n\n/))===null||g===void 0?void 0:g.length)!==null&&h!==void 0?h:0;return(d=(b=l.replace(/^\n+/,"").replace(/\n+$/,` `).match(/\n/g))===null||b===void 0?void 0:b.length)!==null&&d!==void 0?d:0+w}},{key:"makeHtml",value:function(l,h){var g=this,d="".concat(l,"~0");return this.test(d)&&(d=d.replace(this.RULE.reg,function(b){return g.getCacheWithSpace(g.checkCache(b,h,g.$getLineNum(b)),b)})),d=d.replace(/~0$/g,"")}},{key:"rule",value:function(){var l={begin:`(?:^| )( -*)(([ ]{0,3}([*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)`,content:"([^\\r]+?)",end:"(~0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)))"};return l.reg=new RegExp(l.begin+l.content+l.end,"gm"),l}}]),o}();function iyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function jxt(r){for(var i=/^(\t|[ ]{1,4})/,o=r,l=0;i.test(o);)o=o.replace(/^(\t|[ ]{1,4})/g,""),l+=1;return l}gi(gSt,"HOOK_NAME","list");var pSt=function(r){aa(o,_d);var i=iyn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"handleMatch",value:function(l,h){var g=this;return l.replace(this.RULE.reg,function(d,b,w){for(var x,C,B=h(w),L=B.sign,I=B.html,P=g.signWithCache(I)||L,z=g.getLineCount(d,b),W=/^(([ \t]{0,3}([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]+?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/,Q=jxt(b),V=I.split(` -`),oe=/^[>\s]+/,G=/>/g,ae=1,ne=0,de=rt(x=rt(C='
'),Ae=0;V[Ae];Ae++){if(Ae!==0){var le=jxt(V[Ae]);if(le<=Q&&W.test(V[Ae]))break;Q=le}var ve=V[Ae].replace(oe,function(me){var ee=me.match(G);return ne=ee&&ee.length>ae?ee.length:ae,""});ae===ne&&Ae!==0&&(de+="
"),ae").call("
",ne-ae),ae=ne),de+=ve}return de+=e1("
").call("
",ae),g.getCacheWithSpace(g.pushCache(de,P,z),d)})}},{key:"makeHtml",value:function(l,h){return this.test(l)?this.handleMatch(l,h):l}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\s*)",content:["(",">(?:.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))(?:>*.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))*(?:>*.+?)","|",">(?:.+?)",")"].join(""),end:"(?=(\\n)|$)"};return l.reg=Lm(l,"g"),l}}]),o}();function ayn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(pSt,"HOOK_NAME","blockquote");var mSt=function(r){aa(o,PA);var i=ayn(o);function o(l){var h,g=l.config,d=l.globalConfig;return qr(this,o),(h=i.call(this,{config:g})).urlProcessor=d.urlProcessor,h.enableShortLink=!!g.enableShortLink,h.shortLinkLength=g.shortLinkLength,h.target=g.target?'target="'.concat(g.target,'"'):g.openNewPage?'target="_blank"':"",h.rel=g.rel?'rel="'.concat(g.rel,'"'):"",h}return Yr(o,[{key:"isLinkInHtmlAttribute",value:function(l,h,g){for(var d,b=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=b.exec(l))!==null&&!(d.index>h+g);)if(d.index=h+g)return!0;return!1}},{key:"isLinkInATag",value:function(l,h,g){for(var d,b=/[^<]*<\/a>/g;(d=b.exec(l))!==null&&!(d.index>h+g);)if(d.index=h+g)return!0;return!1}},{key:"makeHtml",value:function(l,h){var g=this;return this.test(l)&&(vDe.test(l)||hQe.test(l))?l.replace(this.RULE.reg,function(d,b,w,x,C,B,L){var I,P,z;if(g.isLinkInHtmlAttribute(L,B,w.length+x.length)||g.isLinkInATag(L,B,w.length+x.length))return d;var W=w.toLowerCase(),Q="",V="",oe=!0;if((b!=="<"&&b!=="<"||C!==">"&&C!==">")&&(Q=b,V=C,oe=!1),uo(x).call(x)===""||!oe&&W===""&&!/www\./.test(x))return d;switch(W){case"javascript:":return d;case"mailto:":var G,ae,ne,de,Ae,le;return xIe.test(x)?rt(G=rt(ae=rt(ne=rt(de=rt(Ae="".concat(Q,'")).call(ae,ey(x),"")).call(G,V):d;case"":var ve,me,ee,ye,Y,Ee,fe,ce,$e,Ye;if(Q===V||!oe)return xIe.test(x)?rt(ve=rt(me=rt(ee=rt(ye=rt(Y="".concat(Q,'")).call(me,ey(x),"")).call(ve,V):txt.test(x)?rt(Ee=rt(fe="".concat(Q)).call(fe,g.renderLink("//".concat(x),x))).call(Ee,V):d;if(oe)return xIe.test(x)?rt(ce=rt($e=rt(Ye='")).call(ce,ey(x),""):nxt.test(x)||txt.test(x)?g.renderLink(x):d;default:return nxt.test(x)?rt(I=rt(P="".concat(Q)).call(P,g.renderLink(rt(z="".concat(W)).call(z,x)))).call(I,V):d}return d}):l}},{key:"rule",value:function(){var l,h={begin:"(?)"};return h.reg=Lm(h,"ig"),h}},{key:"renderLink",value:function(l,h){var g,d,b,w,x=h;if(typeof x!="string")if(this.enableShortLink){var C,B=l.replace(/^https?:\/\//i,"");x=rt(C="".concat(B.substring(0,this.shortLinkLength))).call(C,B.length>this.shortLinkLength?"...":"")}else x=l;var L=this.urlProcessor(l,"autolink");return rt(g=rt(d=rt(b=rt(w="')).call(g,ey(x).replace(/_/g,"\\_"),"")}}]),o}();function uge(){var r,i,o,l;Y3()&&(this.katex=(r=(i=this.externals)===null||i===void 0?void 0:i.katex)!==null&&r!==void 0?r:window.katex,this.MathJax=(o=(l=this.externals)===null||l===void 0?void 0:l.MathJax)!==null&&o!==void 0?o:window.MathJax)}gi(mSt,"HOOK_NAME","autoLink");var Kxt=["&","<",">",'"',"'"],bSt=function(r){var i=r.replace(new RegExp(H_t,"g"),function(o){return xl(Kxt).call(Kxt,o)!==-1?vj(o):"\\".concat(o)});return i},oyn=il(function(r,i){r.exports=function(){const{entries:o,setPrototypeOf:l,isFrozen:h,getPrototypeOf:g,getOwnPropertyDescriptor:d}=Object;let{freeze:b,seal:w,create:x}=Object,{apply:C,construct:B}=typeof Reflect<"u"&&Reflect;b||(b=function(zt){return zt}),w||(w=function(zt){return zt}),C||(C=function(zt,pt,sn){return zt.apply(pt,sn)}),B||(B=function(zt,pt){return new zt(...pt)});const L=de(Array.prototype.forEach),I=de(Array.prototype.pop),P=de(Array.prototype.push),z=de(String.prototype.toLowerCase),W=de(String.prototype.toString),Q=de(String.prototype.match),V=de(String.prototype.replace),oe=de(String.prototype.indexOf),G=de(String.prototype.trim),ae=de(RegExp.prototype.test),ne=Ae(TypeError);function de(zt){return function(pt){for(var sn=arguments.length,cn=new Array(sn>1?sn-1:0),xn=1;xn2&&arguments[2]!==void 0?arguments[2]:z;l&&l(zt,null);let cn=pt.length;for(;cn--;){let xn=pt[cn];if(typeof xn=="string"){const nn=sn(xn);nn!==xn&&(h(pt)||(pt[cn]=nn),xn=nn)}zt[xn]=!0}return zt}function ve(zt){for(let pt=0;pt/gm),Et=w(/\${[\w\W]*}/gm),Rn=w(/^data-[\-\w.\u00B7-\uFFFF]/),xt=w(/^aria-[\-\w]+$/),on=w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Kt=w(/^(?:\w+script|data):/i),Xt=w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Vt=w(/^html$/i);var He=Object.freeze({__proto__:null,MUSTACHE_EXPR:ht,ERB_EXPR:Rt,TMPLIT_EXPR:Et,DATA_ATTR:Rn,ARIA_ATTR:xt,IS_ALLOWED_URI:on,IS_SCRIPT_OR_DATA:Kt,ATTR_WHITESPACE:Xt,DOCTYPE_NAME:Vt});const lt=function(){return typeof window>"u"?null:window},Ke=function(zt,pt){if(typeof zt!="object"||typeof zt.createPolicy!="function")return null;let sn=null;const cn="data-tt-policy-suffix";pt&&pt.hasAttribute(cn)&&(sn=pt.getAttribute(cn));const xn="dompurify"+(sn?"#"+sn:"");try{return zt.createPolicy(xn,{createHTML:nn=>nn,createScriptURL:nn=>nn})}catch{return console.warn("TrustedTypes policy "+xn+" could not be created."),null}};function mn(){let zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lt();const pt=rn=>mn(rn);if(pt.version="3.0.8",pt.removed=[],!zt||!zt.document||zt.document.nodeType!==9)return pt.isSupported=!1,pt;let{document:sn}=zt;const cn=sn,xn=cn.currentScript,{DocumentFragment:nn,HTMLTemplateElement:Qn,Node:ln,Element:Hn,NodeFilter:$t,NamedNodeMap:_r=zt.NamedNodeMap||zt.MozNamedAttrMap,HTMLFormElement:Lr,DOMParser:ti,trustedTypes:_i}=zt,ro=Hn.prototype,Js=ee(ro,"cloneNode"),mi=ee(ro,"nextSibling"),Ta=ee(ro,"childNodes"),lr=ee(ro,"parentNode");if(typeof Qn=="function"){const rn=sn.createElement("template");rn.content&&rn.content.ownerDocument&&(sn=rn.content.ownerDocument)}let vr,Zr="";const{implementation:Mr,createNodeIterator:oa,createDocumentFragment:jn,getElementsByTagName:Xo}=sn,{importNode:hr}=cn;let Ya={};pt.isSupported=typeof o=="function"&&typeof lr=="function"&&Mr&&Mr.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:So,ERB_EXPR:ta,TMPLIT_EXPR:Ba,DATA_ATTR:ho,ARIA_ATTR:mo,IS_SCRIPT_OR_DATA:Lo,ATTR_WHITESPACE:qo}=He;let{IS_ALLOWED_URI:cs}=He,fa=null;const qh=le({},[...ye,...Y,...Ee,...ce,...Ye]);let Zs=null;const tu=le({},[...ct,...ot,...Qe,...Le]);let _a=Object.seal(x(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}})),ec=null,hf=null,Rl=!0,nu=!0,Oh=!1,Wc=!0,kl=!1,Lc=!1,Ul=!1,ws=!1,ru=!1,Fs=!1,Es=!1,Ei=!0,Nh=!1;const iu="user-content-";let Qh=!0,Rs=!1,ju={},$i=null;const ts=le({},["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 ar=null;const Br=le({},["audio","video","img","source","image","track"]);let bo=null;const Yt=le({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ph="http://www.w3.org/1998/Math/MathML",yn="http://www.w3.org/2000/svg",tc="http://www.w3.org/1999/xhtml";let co=tc,p1=!1,Kn=null;const Nr=le({},[Ph,yn,tc],W);let Gr=null;const Qr=["application/xhtml+xml","text/html"],Ki="text/html";let sa=null,Ua=null;const Yo=sn.createElement("form"),eo=function(rn){return rn instanceof RegExp||rn instanceof Function},Ic=function(){let rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Ua||Ua!==rn){if(rn&&typeof rn=="object"||(rn={}),rn=me(rn),Gr=Qr.indexOf(rn.PARSER_MEDIA_TYPE)===-1?Ki:rn.PARSER_MEDIA_TYPE,sa=Gr==="application/xhtml+xml"?W:z,fa="ALLOWED_TAGS"in rn?le({},rn.ALLOWED_TAGS,sa):qh,Zs="ALLOWED_ATTR"in rn?le({},rn.ALLOWED_ATTR,sa):tu,Kn="ALLOWED_NAMESPACES"in rn?le({},rn.ALLOWED_NAMESPACES,W):Nr,bo="ADD_URI_SAFE_ATTR"in rn?le(me(Yt),rn.ADD_URI_SAFE_ATTR,sa):Yt,ar="ADD_DATA_URI_TAGS"in rn?le(me(Br),rn.ADD_DATA_URI_TAGS,sa):Br,$i="FORBID_CONTENTS"in rn?le({},rn.FORBID_CONTENTS,sa):ts,ec="FORBID_TAGS"in rn?le({},rn.FORBID_TAGS,sa):{},hf="FORBID_ATTR"in rn?le({},rn.FORBID_ATTR,sa):{},ju="USE_PROFILES"in rn&&rn.USE_PROFILES,Rl=rn.ALLOW_ARIA_ATTR!==!1,nu=rn.ALLOW_DATA_ATTR!==!1,Oh=rn.ALLOW_UNKNOWN_PROTOCOLS||!1,Wc=rn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kl=rn.SAFE_FOR_TEMPLATES||!1,Lc=rn.WHOLE_DOCUMENT||!1,ru=rn.RETURN_DOM||!1,Fs=rn.RETURN_DOM_FRAGMENT||!1,Es=rn.RETURN_TRUSTED_TYPE||!1,ws=rn.FORCE_BODY||!1,Ei=rn.SANITIZE_DOM!==!1,Nh=rn.SANITIZE_NAMED_PROPS||!1,Qh=rn.KEEP_CONTENT!==!1,Rs=rn.IN_PLACE||!1,cs=rn.ALLOWED_URI_REGEXP||on,co=rn.NAMESPACE||tc,_a=rn.CUSTOM_ELEMENT_HANDLING||{},rn.CUSTOM_ELEMENT_HANDLING&&eo(rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_a.tagNameCheck=rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),rn.CUSTOM_ELEMENT_HANDLING&&eo(rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_a.attributeNameCheck=rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),rn.CUSTOM_ELEMENT_HANDLING&&typeof rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(_a.allowCustomizedBuiltInElements=rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),kl&&(nu=!1),Fs&&(ru=!0),ju&&(fa=le({},Ye),Zs=[],ju.html===!0&&(le(fa,ye),le(Zs,ct)),ju.svg===!0&&(le(fa,Y),le(Zs,ot),le(Zs,Le)),ju.svgFilters===!0&&(le(fa,Ee),le(Zs,ot),le(Zs,Le)),ju.mathMl===!0&&(le(fa,ce),le(Zs,Qe),le(Zs,Le))),rn.ADD_TAGS&&(fa===qh&&(fa=me(fa)),le(fa,rn.ADD_TAGS,sa)),rn.ADD_ATTR&&(Zs===tu&&(Zs=me(Zs)),le(Zs,rn.ADD_ATTR,sa)),rn.ADD_URI_SAFE_ATTR&&le(bo,rn.ADD_URI_SAFE_ATTR,sa),rn.FORBID_CONTENTS&&($i===ts&&($i=me($i)),le($i,rn.FORBID_CONTENTS,sa)),Qh&&(fa["#text"]=!0),Lc&&le(fa,["html","head","body"]),fa.table&&(le(fa,["tbody"]),delete ec.tbody),rn.TRUSTED_TYPES_POLICY){if(typeof rn.TRUSTED_TYPES_POLICY.createHTML!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof rn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');vr=rn.TRUSTED_TYPES_POLICY,Zr=vr.createHTML("")}else vr===void 0&&(vr=Ke(_i,xn)),vr!==null&&typeof Zr=="string"&&(Zr=vr.createHTML(""));b&&b(rn),Ua=rn}},Ku=le({},["mi","mo","mn","ms","mtext"]),Al=le({},["foreignobject","desc","title","annotation-xml"]),m1=le({},["title","style","font","a","script"]),vc=le({},[...Y,...Ee,...fe]),n1=le({},[...ce,...$e]),gl=function(rn){let Sa=lr(rn);Sa&&Sa.tagName||(Sa={namespaceURI:co,tagName:"template"});const da=z(rn.tagName),Us=z(Sa.tagName);return!!Kn[rn.namespaceURI]&&(rn.namespaceURI===yn?Sa.namespaceURI===tc?da==="svg":Sa.namespaceURI===Ph?da==="svg"&&(Us==="annotation-xml"||Ku[Us]):!!vc[da]:rn.namespaceURI===Ph?Sa.namespaceURI===tc?da==="math":Sa.namespaceURI===yn?da==="math"&&Al[Us]:!!n1[da]:rn.namespaceURI===tc?!(Sa.namespaceURI===yn&&!Al[Us])&&!(Sa.namespaceURI===Ph&&!Ku[Us])&&!n1[da]&&(m1[da]||!vc[da]):!(Gr!=="application/xhtml+xml"||!Kn[rn.namespaceURI]))},Mc=function(rn){P(pt.removed,{element:rn});try{rn.parentNode.removeChild(rn)}catch{rn.remove()}},nc=function(rn,Sa){try{P(pt.removed,{attribute:Sa.getAttributeNode(rn),from:Sa})}catch{P(pt.removed,{attribute:null,from:Sa})}if(Sa.removeAttribute(rn),rn==="is"&&!Zs[rn])if(ru||Fs)try{Mc(Sa)}catch{}else try{Sa.setAttribute(rn,"")}catch{}},Fm=function(rn){let Sa=null,da=null;if(ws)rn=""+rn;else{const qc=Q(rn,/^[\r\n\t ]+/);da=qc&&qc[0]}Gr==="application/xhtml+xml"&&co===tc&&(rn=''+rn+"");const Us=vr?vr.createHTML(rn):rn;if(co===tc)try{Sa=new ti().parseFromString(Us,Gr)}catch{}if(!Sa||!Sa.documentElement){Sa=Mr.createDocument(co,"template",null);try{Sa.documentElement.innerHTML=p1?Zr:Us}catch{}}const uc=Sa.body||Sa.documentElement;return rn&&da&&uc.insertBefore(sn.createTextNode(da),uc.childNodes[0]||null),co===tc?Xo.call(Sa,Lc?"html":"body")[0]:Lc?Sa.documentElement:uc},ff=function(rn){return oa.call(rn.ownerDocument||rn,rn,$t.SHOW_ELEMENT|$t.SHOW_COMMENT|$t.SHOW_TEXT,null)},zu=function(rn){return rn instanceof Lr&&(typeof rn.nodeName!="string"||typeof rn.textContent!="string"||typeof rn.removeChild!="function"||!(rn.attributes instanceof _r)||typeof rn.removeAttribute!="function"||typeof rn.setAttribute!="function"||typeof rn.namespaceURI!="string"||typeof rn.insertBefore!="function"||typeof rn.hasChildNodes!="function")},ig=function(rn){return typeof ln=="function"&&rn instanceof ln},r1=function(rn,Sa,da){Ya[rn]&&L(Ya[rn],Us=>{Us.call(pt,Sa,da,Ua)})},Mb=function(rn){let Sa=null;if(r1("beforeSanitizeElements",rn,null),zu(rn))return Mc(rn),!0;const da=sa(rn.nodeName);if(r1("uponSanitizeElement",rn,{tagName:da,allowedTags:fa}),rn.hasChildNodes()&&!ig(rn.firstElementChild)&&ae(/<[/\w]/g,rn.innerHTML)&&ae(/<[/\w]/g,rn.textContent))return Mc(rn),!0;if(!fa[da]||ec[da]){if(!ec[da]&&ed(da)&&(_a.tagNameCheck instanceof RegExp&&ae(_a.tagNameCheck,da)||_a.tagNameCheck instanceof Function&&_a.tagNameCheck(da)))return!1;if(Qh&&!$i[da]){const Us=lr(rn)||rn.parentNode,uc=Ta(rn)||rn.childNodes;if(uc&&Us)for(let qc=uc.length-1;qc>=0;--qc)Us.insertBefore(Js(uc[qc],!0),mi(rn))}return Mc(rn),!0}return rn instanceof Hn&&!gl(rn)?(Mc(rn),!0):da!=="noscript"&&da!=="noembed"&&da!=="noframes"||!ae(/<\/no(script|embed|frames)/i,rn.innerHTML)?(kl&&rn.nodeType===3&&(Sa=rn.textContent,L([So,ta,Ba],Us=>{Sa=V(Sa,Us," ")}),rn.textContent!==Sa&&(P(pt.removed,{element:rn.cloneNode()}),rn.textContent=Sa)),r1("afterSanitizeElements",rn,null),!1):(Mc(rn),!0)},bh=function(rn,Sa,da){if(Ei&&(Sa==="id"||Sa==="name")&&(da in sn||da in Yo))return!1;if(!(nu&&!hf[Sa]&&ae(ho,Sa))){if(!(Rl&&ae(mo,Sa))){if(!Zs[Sa]||hf[Sa]){if(!(ed(rn)&&(_a.tagNameCheck instanceof RegExp&&ae(_a.tagNameCheck,rn)||_a.tagNameCheck instanceof Function&&_a.tagNameCheck(rn))&&(_a.attributeNameCheck instanceof RegExp&&ae(_a.attributeNameCheck,Sa)||_a.attributeNameCheck instanceof Function&&_a.attributeNameCheck(Sa))||Sa==="is"&&_a.allowCustomizedBuiltInElements&&(_a.tagNameCheck instanceof RegExp&&ae(_a.tagNameCheck,da)||_a.tagNameCheck instanceof Function&&_a.tagNameCheck(da))))return!1}else if(!bo[Sa]){if(!ae(cs,V(da,qo,""))){if((Sa!=="src"&&Sa!=="xlink:href"&&Sa!=="href"||rn==="script"||oe(da,"data:")!==0||!ar[rn])&&!(Oh&&!ae(Lo,V(da,qo,"")))){if(da)return!1}}}}}return!0},ed=function(rn){return rn.indexOf("-")>0},Pp=function(rn){r1("beforeSanitizeAttributes",rn,null);const{attributes:Sa}=rn;if(!Sa)return;const da={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Zs};let Us=Sa.length;for(;Us--;){const uc=Sa[Us],{name:qc,namespaceURI:Df,value:i1}=uc,Md=sa(qc);let Rh=qc==="value"?i1:G(i1);if(da.attrName=Md,da.attrValue=Rh,da.keepAttr=!0,da.forceKeepAttr=void 0,r1("uponSanitizeAttribute",rn,da),Rh=da.attrValue,da.forceKeepAttr||(nc(qc,rn),!da.keepAttr))continue;if(!Wc&&ae(/\/>/i,Rh)){nc(qc,rn);continue}kl&&L([So,ta,Ba],tn=>{Rh=V(Rh,tn," ")});const iA=sa(rn.nodeName);if(bh(iA,Md,Rh)){if(!Nh||Md!=="id"&&Md!=="name"||(nc(qc,rn),Rh=iu+Rh),vr&&typeof _i=="object"&&typeof _i.getAttributeType=="function"&&!Df)switch(_i.getAttributeType(iA,Md)){case"TrustedHTML":Rh=vr.createHTML(Rh);break;case"TrustedScriptURL":Rh=vr.createScriptURL(Rh)}try{Df?rn.setAttributeNS(Df,qc,Rh):rn.setAttribute(qc,Rh),I(pt.removed)}catch{}}}r1("afterSanitizeAttributes",rn,null)},RA=function rn(Sa){let da=null;const Us=ff(Sa);for(r1("beforeSanitizeShadowDOM",Sa,null);da=Us.nextNode();)r1("uponSanitizeShadowNode",da,null),Mb(da)||(da.content instanceof nn&&rn(da.content),Pp(da));r1("afterSanitizeShadowDOM",Sa,null)};return pt.sanitize=function(rn){let Sa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},da=null,Us=null,uc=null,qc=null;if(p1=!rn,p1&&(rn=""),typeof rn!="string"&&!ig(rn)){if(typeof rn.toString!="function")throw ne("toString is not a function");if(typeof(rn=rn.toString())!="string")throw ne("dirty is not a string, aborting")}if(!pt.isSupported)return rn;if(Ul||Ic(Sa),pt.removed=[],typeof rn=="string"&&(Rs=!1),Rs){if(rn.nodeName){const Md=sa(rn.nodeName);if(!fa[Md]||ec[Md])throw ne("root node is forbidden and cannot be sanitized in-place")}}else if(rn instanceof ln)da=Fm(""),Us=da.ownerDocument.importNode(rn,!0),Us.nodeType===1&&Us.nodeName==="BODY"||Us.nodeName==="HTML"?da=Us:da.appendChild(Us);else{if(!ru&&!kl&&!Lc&&rn.indexOf("<")===-1)return vr&&Es?vr.createHTML(rn):rn;if(da=Fm(rn),!da)return ru?null:Es?Zr:""}da&&ws&&Mc(da.firstChild);const Df=ff(Rs?rn:da);for(;uc=Df.nextNode();)Mb(uc)||(uc.content instanceof nn&&RA(uc.content),Pp(uc));if(Rs)return rn;if(ru){if(Fs)for(qc=jn.call(da.ownerDocument);da.firstChild;)qc.appendChild(da.firstChild);else qc=da;return(Zs.shadowroot||Zs.shadowrootmode)&&(qc=hr.call(cn,qc,!0)),qc}let i1=Lc?da.outerHTML:da.innerHTML;return Lc&&fa["!doctype"]&&da.ownerDocument&&da.ownerDocument.doctype&&da.ownerDocument.doctype.name&&ae(Vt,da.ownerDocument.doctype.name)&&(i1=" -`+i1),kl&&L([So,ta,Ba],Md=>{i1=V(i1,Md," ")}),vr&&Es?vr.createHTML(i1):i1},pt.setConfig=function(){Ic(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),Ul=!0},pt.clearConfig=function(){Ua=null,Ul=!1},pt.isValidAttribute=function(rn,Sa,da){Ua||Ic({});const Us=sa(rn),uc=sa(Sa);return bh(Us,uc,da)},pt.addHook=function(rn,Sa){typeof Sa=="function"&&(Ya[rn]=Ya[rn]||[],P(Ya[rn],Sa))},pt.removeHook=function(rn){if(Ya[rn])return I(Ya[rn])},pt.removeHooks=function(rn){Ya[rn]&&(Ya[rn]=[])},pt.removeAllHooks=function(){Ya={}},pt}var je=mn();return je}()}),_pe=oyn(window);function syn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var pQe=function(r){aa(o,_d);var i=syn(o);function o(l){var h,g,d=l.config;return qr(this,o),gi(es(g=i.call(this,{needCache:!0})),"engine","MathJax"),gi(es(g),"katex",void 0),gi(es(g),"MathJax",void 0),g.engine=Y3()?(h=d.engine)!==null&&h!==void 0?h:"MathJax":"node",g}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w,x;Xa(uge).call(uge,this)("engine");var C=l.replace(/^[ \f\r\t\v]*/,"").replace(/\s*$/,""),B=h.replace(/^[ \f\r\t\v]*\n/,""),L=this.$engine.md5(l),I=this.getLineCount(C,B);/\n/.test(h)||(I-=1),/\n\s*$/.test(l)||(I-=1),I=I>0?I:0;var P=rt(b=rt(w='
$$')).call(b,bSt(d),"$$
");if(this.engine==="katex"){var z,W,Q=this.katex.renderToString(d,{throwOnError:!1,displayMode:!0});P=rt(z=rt(W='
')).call(z,Q,"
")}if((x=this.MathJax)!==null&&x!==void 0&&x.tex2svg){var V,oe,G=R_t(this.MathJax.tex2svg(d),!0);P=rt(V=rt(oe='
')).call(V,G,"
")}return P=_pe.sanitize(P),g+this.getCacheWithSpace(this.pushCache(P,L,I),l)}},{key:"beforeMakeHtml",value:function(l){var h,g;return QA()?l.replace(this.RULE.reg,Xa(g=this.toHtml).call(g,this)):yk(l,this.RULE.reg,Xa(h=this.toHtml).call(h,this),!0,1)}},{key:"makeHtml",value:function(l){return l}},{key:"rule",value:function(){var l={begin:QA()?"(\\s*)((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(pQe,"HOOK_NAME","mathBlock");var wSt=function(r){aa(o,_d);var i=cyn(o);function o(l){var h,g,d=l.config;return qr(this,o),gi(es(g=i.call(this,{needCache:!0})),"engine","MathJax"),gi(es(g),"katex",void 0),gi(es(g),"MathJax",void 0),g.engine=Y3()?(h=d.engine)!==null&&h!==void 0?h:"MathJax":"node",g}return Yr(o,[{key:"toHtml",value:function(l,h,g){var d,b,w,x;if(!g)return l;Xa(uge).call(uge,this)("engine");var C=g.match(/\n/g),B=C?C.length+2:2,L=this.$engine.md5(l),I=rt(d=rt(b="".concat(h,`$')).call(d,bSt(g),"$");if(this.engine==="katex"&&(w=this.katex)!==null&&w!==void 0&&w.renderToString){var P,z,W=this.katex.renderToString(g,{throwOnError:!1});I=rt(P=rt(z="".concat(h,'')).call(P,W,"")}if((x=this.MathJax)!==null&&x!==void 0&&x.tex2svg){var Q,V,oe=R_t(this.MathJax.tex2svg(g,{em:12,ex:6,display:!1}),!0);I=rt(Q=rt(V="".concat(h,'')).call(Q,oe,"")}return I=_pe.sanitize(I),this.pushCache(I,_d.IN_PARAGRAPH_CACHE_KEY_PREFIX+L)}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return g=g.replace(Epe(!0),function(d){var b;return ss(b=d.split("|")).call(b,function(w){return h.makeInlineMath(w)}).join("|").replace(/\\~D/g,"~D").replace(/~D/g,"\\~D")}),this.makeInlineMath(g)}},{key:"makeInlineMath",value:function(l){var h,g;return this.test(l)?QA()?l.replace(this.RULE.reg,Xa(g=this.toHtml).call(g,this)):yk(l,this.RULE.reg,Xa(h=this.toHtml).call(h,this),!0,1):l}},{key:"makeHtml",value:function(l){return l}},{key:"rule",value:function(){var l={begin:QA()?"((?1?arguments[1]:void 0,o),g=l>2?arguments[2]:void 0,d=g===void 0?o:RB(g,o);d>h;)i[h++]=r;return i}});var lyn=Ld("Array").fill,IIe=Array.prototype,yj=function(r){var i=r.fill;return r===IIe||uf(IIe,r)&&i===IIe.fill?lyn:i};function uyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function vSt(r){return r}var zxt={tocStyle:"plain",tocNodeClass:"toc-li",tocContainerClass:"toc",tocTitleClass:"toc-title",linkProcessor:vSt},Xxt='

 

',ySt=function(r){aa(o,_d);var i=uyn(o);function o(l){var h,g;l.externals;var d=l.config;return qr(this,o),gi(es(g=i.call(this,{needCache:!0})),"tocStyle","nested"),gi(es(g),"tocNodeClass","toc-li"),gi(es(g),"tocContainerClass","toc"),gi(es(g),"tocTitleClass","toc-title"),gi(es(g),"linkProcessor",vSt),gi(es(g),"baseLevel",1),gi(es(g),"isFirstTocToken",!0),gi(es(g),"allowMultiToc",!1),xa(h=pu(zxt)).call(h,function(b){g[b]=d[b]||zxt[b]}),g}return Yr(o,[{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g,"extend")&&(g=g.replace(this.RULE.extend.reg,function(d,b,w){var x;if(!h.allowMultiToc&&!h.isFirstTocToken)return rt(x=` -`.concat(b)).call(x,Xxt);var C=h.pushCache(d);return h.isFirstTocToken=!1,uQ(d,C)})),this.test(g,"standard")&&(g=g.replace(this.RULE.standard.reg,function(d,b,w){var x;return h.allowMultiToc||h.isFirstTocToken?(h.isFirstTocToken=!1,uQ(d,h.pushCache(d))):rt(x=` -`.concat(b)).call(x,Xxt)})),g}},{key:"makeHtml",value:function(l){return l}},{key:"$makeLevel",value:function(l){for(var h="",g=this.baseLevel;g2&&arguments[2]!==void 0)||arguments[2],B="";h&&(B=this.$makeLevel(l.level));var L=this.linkProcessor("#".concat(l.id).replace(/safe_/g,""));return rt(g=rt(d=rt(b=rt(w=rt(x='
  • ')).call(x,B,'')).call(d,l.text,"")).call(g,C?"
  • ":"")}},{key:"$makePlainToc",value:function(l){var h=this,g=ss(l).call(l,function(d){return h.$makeTocItem(d,!0)});return g.join("")}},{key:"$makeNestedToc",value:function(l){var h,g,d=this,b=0,w=yj(h=new Array(7)).call(h,!1),x=yj(g=new Array(7)).call(g,!1),C="";xa(l).call(l,function(L){var I=L.level;if(b===0){for(var P=I;P>=d.baseLevel;P--)C+="
      ",x[P]=!0;return C+=d.$makeTocItem(L,!1,!1),w[I]=!0,void(b=I)}if(I=I;z--)w[z]&&(C+="",w[z]=!1),x[z]&&z>I&&(C+="
    ",x[z]=!1);w[I]=!0,C+=d.$makeTocItem(L,!1,!1),b=I}else if(I===b)w[b]&&(C+=""),C+=d.$makeTocItem(L,!1,!1),w[I]=!0,x[I]=!0;else{for(var W=b+1;W<=I;W++)C+="
      ",x[W]=!0;w[I]=!0,C+=d.$makeTocItem(L,!1,!1),b=I}});for(var B=b;B>=this.baseLevel;B--)w[B]&&(C+="",w[B]=!1),x[B]&&(C+="
    ",x[B]=!1);return C}},{key:"$makeToc",value:function(l,h,g){var d,b,w,x=yDe(g,1),C=rt(d=rt(b=rt(w='');return C+='

    目录

    '),l.length<=0?"":(this.baseLevel=Math.min.apply(Math,sM(ss(l).call(l,function(B){return B.level}))),this.tocStyle==="nested"?C+=this.$makeNestedToc(l):C+=this.$makePlainToc(l),C+="
    ")}},{key:"afterMakeHtml",value:function(l){var h=this,g=e9(En(o.prototype),"afterMakeHtml",this).call(this,l),d=[],b="";return g.replace(/]*? id="([^"]+?)"[^>]*?>(?:|)(.+?)<\/h\1>/g,function(w,x,C,B){var L,I=B.replace(/~fn#[0-9]+#/g,"");d.push({level:+x,id:C,text:I}),b+=rt(L="".concat(x)).call(L,C)}),b=this.$engine.md5(b),g=g.replace(/(?:^|\n)(\[\[|\[|【【)(toc|TOC)(\]\]|\]|】】)([<~])/,function(w){return w.replace(/(\]\]|\]|】】)([<~])/,`$1 -$2`)}),g=(g=g.replace(this.RULE.extend.reg,function(w,x){return h.$makeToc(d,b,x)})).replace(this.RULE.standard.reg,function(w,x){return h.$makeToc(d,b,x)}),this.isFirstTocToken=!0,g}},{key:"test",value:function(l,h){return!!this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*((?:【【|\\[\\[)(?:toc|TOC)(?:\\]\\]|】】))[ ]*"};l.reg=new RegExp(l.begin+l.content+l.end,"g");var h={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*(\\[(?:toc|TOC)\\])[ ]*"};return h.reg=new RegExp(h.begin+h.content+h.end,"g"),{extend:l,standard:h}}}]),o}();function hyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(ySt,"HOOK_NAME","toc");var xSt=function(r){aa(o,_d);var i=hyn(o);function o(l){var h;return l.externals,l.config,qr(this,o),(h=i.call(this)).footnoteCache={},h.footnoteMap={},h.footnote=[],h}return Yr(o,[{key:"$cleanCache",value:function(){this.footnoteCache={},this.footnoteMap={},this.footnote=[]}},{key:"pushFootnoteCache",value:function(l,h){this.footnoteCache[l]=h}},{key:"getFootnoteCache",value:function(l){return this.footnoteCache[l]||null}},{key:"pushFootNote",value:function(l,h){var g,d,b,w,x,C;if(this.footnoteMap[l])return this.footnoteMap[l];var B=this.footnote.length+1,L={};L.fn=rt(g=rt(d=rt(b='[')).call(g,B,"]"),L.fnref=rt(w=rt(x=rt(C='[')).call(w,B,"]"),L.num=B,L.note=uo(h).call(h),this.footnote.push(L);var I="\0~fn#".concat(B-1,"#\0");return this.footnoteMap[l]=I,I}},{key:"getFootNote",value:function(){return this.footnote}},{key:"formatFootNote",value:function(){var l,h=this.getFootNote();if(h.length<=0)return"";var g=ss(h).call(h,function(b){var w;return rt(w=`
    +*)(([ ]{0,3}([*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)`,content:"([^\\r]+?)",end:"(~0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)))"};return l.reg=new RegExp(l.begin+l.content+l.end,"gm"),l}}]),o}();function ryn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function $xt(r){for(var i=/^(\t|[ ]{1,4})/,o=r,l=0;i.test(o);)o=o.replace(/^(\t|[ ]{1,4})/g,""),l+=1;return l}gi(ASt,"HOOK_NAME","list");var gSt=function(r){aa(o,Sd);var i=ryn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"handleMatch",value:function(l,h){var g=this;return l.replace(this.RULE.reg,function(d,b,w){for(var x,C,B=h(w),L=B.sign,M=B.html,P=g.signWithCache(M)||L,z=g.getLineCount(d,b),W=/^(([ \t]{0,3}([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]+?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/,Q=$xt(b),V=M.split(` +`),oe=/^[>\s]+/,G=/>/g,ae=1,ne=0,de=rt(x=rt(C='
    '),Ae=0;V[Ae];Ae++){if(Ae!==0){var le=$xt(V[Ae]);if(le<=Q&&W.test(V[Ae]))break;Q=le}var ve=V[Ae].replace(oe,function(me){var ee=me.match(G);return ne=ee&&ee.length>ae?ee.length:ae,""});ae===ne&&Ae!==0&&(de+="
    "),ae").call("
    ",ne-ae),ae=ne),de+=ve}return de+=e1("
    ").call("
    ",ae),g.getCacheWithSpace(g.pushCache(de,P,z),d)})}},{key:"makeHtml",value:function(l,h){return this.test(l)?this.handleMatch(l,h):l}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\s*)",content:["(",">(?:.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))(?:>*.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))*(?:>*.+?)","|",">(?:.+?)",")"].join(""),end:"(?=(\\n)|$)"};return l.reg=Sm(l,"g"),l}}]),o}();function iyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(gSt,"HOOK_NAME","blockquote");var pSt=function(r){aa(o,RA);var i=iyn(o);function o(l){var h,g=l.config,d=l.globalConfig;return qr(this,o),(h=i.call(this,{config:g})).urlProcessor=d.urlProcessor,h.enableShortLink=!!g.enableShortLink,h.shortLinkLength=g.shortLinkLength,h.target=g.target?'target="'.concat(g.target,'"'):g.openNewPage?'target="_blank"':"",h.rel=g.rel?'rel="'.concat(g.rel,'"'):"",h}return Yr(o,[{key:"isLinkInHtmlAttribute",value:function(l,h,g){for(var d,b=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=b.exec(l))!==null&&!(d.index>h+g);)if(d.index=h+g)return!0;return!1}},{key:"isLinkInATag",value:function(l,h,g){for(var d,b=/[^<]*<\/a>/g;(d=b.exec(l))!==null&&!(d.index>h+g);)if(d.index=h+g)return!0;return!1}},{key:"makeHtml",value:function(l,h){var g=this;return this.test(l)&&(wDe.test(l)||uQe.test(l))?l.replace(this.RULE.reg,function(d,b,w,x,C,B,L){var M,P,z;if(g.isLinkInHtmlAttribute(L,B,w.length+x.length)||g.isLinkInATag(L,B,w.length+x.length))return d;var W=w.toLowerCase(),Q="",V="",oe=!0;if((b!=="<"&&b!=="<"||C!==">"&&C!==">")&&(Q=b,V=C,oe=!1),uo(x).call(x)===""||!oe&&W===""&&!/www\./.test(x))return d;switch(W){case"javascript:":return d;case"mailto:":var G,ae,ne,de,Ae,le;return yMe.test(x)?rt(G=rt(ae=rt(ne=rt(de=rt(Ae="".concat(Q,'")).call(ae,Zv(x),"")).call(G,V):d;case"":var ve,me,ee,ye,Y,Ee,fe,ce,$e,Ye;if(Q===V||!oe)return yMe.test(x)?rt(ve=rt(me=rt(ee=rt(ye=rt(Y="".concat(Q,'")).call(me,Zv(x),"")).call(ve,V):ext.test(x)?rt(Ee=rt(fe="".concat(Q)).call(fe,g.renderLink("//".concat(x),x))).call(Ee,V):d;if(oe)return yMe.test(x)?rt(ce=rt($e=rt(Ye='")).call(ce,Zv(x),""):txt.test(x)||ext.test(x)?g.renderLink(x):d;default:return txt.test(x)?rt(M=rt(P="".concat(Q)).call(P,g.renderLink(rt(z="".concat(W)).call(z,x)))).call(M,V):d}return d}):l}},{key:"rule",value:function(){var l,h={begin:"(?)"};return h.reg=Sm(h,"ig"),h}},{key:"renderLink",value:function(l,h){var g,d,b,w,x=h;if(typeof x!="string")if(this.enableShortLink){var C,B=l.replace(/^https?:\/\//i,"");x=rt(C="".concat(B.substring(0,this.shortLinkLength))).call(C,B.length>this.shortLinkLength?"...":"")}else x=l;var L=this.urlProcessor(l,"autolink");return rt(g=rt(d=rt(b=rt(w="')).call(g,Zv(x).replace(/_/g,"\\_"),"")}}]),o}();function lge(){var r,i,o,l;q3()&&(this.katex=(r=(i=this.externals)===null||i===void 0?void 0:i.katex)!==null&&r!==void 0?r:window.katex,this.MathJax=(o=(l=this.externals)===null||l===void 0?void 0:l.MathJax)!==null&&o!==void 0?o:window.MathJax)}gi(pSt,"HOOK_NAME","autoLink");var jxt=["&","<",">",'"',"'"],mSt=function(r){var i=r.replace(new RegExp(U_t,"g"),function(o){return xl(jxt).call(jxt,o)!==-1?wj(o):"\\".concat(o)});return i},ayn=il(function(r,i){r.exports=function(){const{entries:o,setPrototypeOf:l,isFrozen:h,getPrototypeOf:g,getOwnPropertyDescriptor:d}=Object;let{freeze:b,seal:w,create:x}=Object,{apply:C,construct:B}=typeof Reflect<"u"&&Reflect;b||(b=function(zt){return zt}),w||(w=function(zt){return zt}),C||(C=function(zt,pt,sn){return zt.apply(pt,sn)}),B||(B=function(zt,pt){return new zt(...pt)});const L=de(Array.prototype.forEach),M=de(Array.prototype.pop),P=de(Array.prototype.push),z=de(String.prototype.toLowerCase),W=de(String.prototype.toString),Q=de(String.prototype.match),V=de(String.prototype.replace),oe=de(String.prototype.indexOf),G=de(String.prototype.trim),ae=de(RegExp.prototype.test),ne=Ae(TypeError);function de(zt){return function(pt){for(var sn=arguments.length,cn=new Array(sn>1?sn-1:0),xn=1;xn2&&arguments[2]!==void 0?arguments[2]:z;l&&l(zt,null);let cn=pt.length;for(;cn--;){let xn=pt[cn];if(typeof xn=="string"){const nn=sn(xn);nn!==xn&&(h(pt)||(pt[cn]=nn),xn=nn)}zt[xn]=!0}return zt}function ve(zt){for(let pt=0;pt/gm),Et=w(/\${[\w\W]*}/gm),Rn=w(/^data-[\-\w.\u00B7-\uFFFF]/),xt=w(/^aria-[\-\w]+$/),on=w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Kt=w(/^(?:\w+script|data):/i),Xt=w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Vt=w(/^html$/i);var He=Object.freeze({__proto__:null,MUSTACHE_EXPR:ht,ERB_EXPR:Rt,TMPLIT_EXPR:Et,DATA_ATTR:Rn,ARIA_ATTR:xt,IS_ALLOWED_URI:on,IS_SCRIPT_OR_DATA:Kt,ATTR_WHITESPACE:Xt,DOCTYPE_NAME:Vt});const lt=function(){return typeof window>"u"?null:window},Ke=function(zt,pt){if(typeof zt!="object"||typeof zt.createPolicy!="function")return null;let sn=null;const cn="data-tt-policy-suffix";pt&&pt.hasAttribute(cn)&&(sn=pt.getAttribute(cn));const xn="dompurify"+(sn?"#"+sn:"");try{return zt.createPolicy(xn,{createHTML:nn=>nn,createScriptURL:nn=>nn})}catch{return console.warn("TrustedTypes policy "+xn+" could not be created."),null}};function mn(){let zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lt();const pt=rn=>mn(rn);if(pt.version="3.0.8",pt.removed=[],!zt||!zt.document||zt.document.nodeType!==9)return pt.isSupported=!1,pt;let{document:sn}=zt;const cn=sn,xn=cn.currentScript,{DocumentFragment:nn,HTMLTemplateElement:Qn,Node:ln,Element:Hn,NodeFilter:$t,NamedNodeMap:_r=zt.NamedNodeMap||zt.MozNamedAttrMap,HTMLFormElement:Lr,DOMParser:ti,trustedTypes:_i}=zt,ro=Hn.prototype,Js=ee(ro,"cloneNode"),mi=ee(ro,"nextSibling"),Ta=ee(ro,"childNodes"),lr=ee(ro,"parentNode");if(typeof Qn=="function"){const rn=sn.createElement("template");rn.content&&rn.content.ownerDocument&&(sn=rn.content.ownerDocument)}let vr,Zr="";const{implementation:Ir,createNodeIterator:oa,createDocumentFragment:jn,getElementsByTagName:Xo}=sn,{importNode:hr}=cn;let Ya={};pt.isSupported=typeof o=="function"&&typeof lr=="function"&&Ir&&Ir.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:So,ERB_EXPR:ta,TMPLIT_EXPR:Ba,DATA_ATTR:ho,ARIA_ATTR:mo,IS_SCRIPT_OR_DATA:Lo,ATTR_WHITESPACE:qo}=He;let{IS_ALLOWED_URI:cs}=He,fa=null;const qh=le({},[...ye,...Y,...Ee,...ce,...Ye]);let Zs=null;const tu=le({},[...ct,...ot,...Qe,...Le]);let _a=Object.seal(x(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}})),ec=null,hf=null,Rl=!0,nu=!0,Oh=!1,Wc=!0,kl=!1,Lc=!1,Ul=!1,ws=!1,ru=!1,Fs=!1,Es=!1,Ei=!0,Nh=!1;const iu="user-content-";let Qh=!0,Rs=!1,ju={},$i=null;const ts=le({},["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 ar=null;const Br=le({},["audio","video","img","source","image","track"]);let bo=null;const Yt=le({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ph="http://www.w3.org/1998/Math/MathML",yn="http://www.w3.org/2000/svg",tc="http://www.w3.org/1999/xhtml";let co=tc,p1=!1,Kn=null;const Nr=le({},[Ph,yn,tc],W);let Gr=null;const Qr=["application/xhtml+xml","text/html"],Ki="text/html";let sa=null,Ua=null;const Yo=sn.createElement("form"),eo=function(rn){return rn instanceof RegExp||rn instanceof Function},Mc=function(){let rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Ua||Ua!==rn){if(rn&&typeof rn=="object"||(rn={}),rn=me(rn),Gr=Qr.indexOf(rn.PARSER_MEDIA_TYPE)===-1?Ki:rn.PARSER_MEDIA_TYPE,sa=Gr==="application/xhtml+xml"?W:z,fa="ALLOWED_TAGS"in rn?le({},rn.ALLOWED_TAGS,sa):qh,Zs="ALLOWED_ATTR"in rn?le({},rn.ALLOWED_ATTR,sa):tu,Kn="ALLOWED_NAMESPACES"in rn?le({},rn.ALLOWED_NAMESPACES,W):Nr,bo="ADD_URI_SAFE_ATTR"in rn?le(me(Yt),rn.ADD_URI_SAFE_ATTR,sa):Yt,ar="ADD_DATA_URI_TAGS"in rn?le(me(Br),rn.ADD_DATA_URI_TAGS,sa):Br,$i="FORBID_CONTENTS"in rn?le({},rn.FORBID_CONTENTS,sa):ts,ec="FORBID_TAGS"in rn?le({},rn.FORBID_TAGS,sa):{},hf="FORBID_ATTR"in rn?le({},rn.FORBID_ATTR,sa):{},ju="USE_PROFILES"in rn&&rn.USE_PROFILES,Rl=rn.ALLOW_ARIA_ATTR!==!1,nu=rn.ALLOW_DATA_ATTR!==!1,Oh=rn.ALLOW_UNKNOWN_PROTOCOLS||!1,Wc=rn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kl=rn.SAFE_FOR_TEMPLATES||!1,Lc=rn.WHOLE_DOCUMENT||!1,ru=rn.RETURN_DOM||!1,Fs=rn.RETURN_DOM_FRAGMENT||!1,Es=rn.RETURN_TRUSTED_TYPE||!1,ws=rn.FORCE_BODY||!1,Ei=rn.SANITIZE_DOM!==!1,Nh=rn.SANITIZE_NAMED_PROPS||!1,Qh=rn.KEEP_CONTENT!==!1,Rs=rn.IN_PLACE||!1,cs=rn.ALLOWED_URI_REGEXP||on,co=rn.NAMESPACE||tc,_a=rn.CUSTOM_ELEMENT_HANDLING||{},rn.CUSTOM_ELEMENT_HANDLING&&eo(rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_a.tagNameCheck=rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),rn.CUSTOM_ELEMENT_HANDLING&&eo(rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_a.attributeNameCheck=rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),rn.CUSTOM_ELEMENT_HANDLING&&typeof rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(_a.allowCustomizedBuiltInElements=rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),kl&&(nu=!1),Fs&&(ru=!0),ju&&(fa=le({},Ye),Zs=[],ju.html===!0&&(le(fa,ye),le(Zs,ct)),ju.svg===!0&&(le(fa,Y),le(Zs,ot),le(Zs,Le)),ju.svgFilters===!0&&(le(fa,Ee),le(Zs,ot),le(Zs,Le)),ju.mathMl===!0&&(le(fa,ce),le(Zs,Qe),le(Zs,Le))),rn.ADD_TAGS&&(fa===qh&&(fa=me(fa)),le(fa,rn.ADD_TAGS,sa)),rn.ADD_ATTR&&(Zs===tu&&(Zs=me(Zs)),le(Zs,rn.ADD_ATTR,sa)),rn.ADD_URI_SAFE_ATTR&&le(bo,rn.ADD_URI_SAFE_ATTR,sa),rn.FORBID_CONTENTS&&($i===ts&&($i=me($i)),le($i,rn.FORBID_CONTENTS,sa)),Qh&&(fa["#text"]=!0),Lc&&le(fa,["html","head","body"]),fa.table&&(le(fa,["tbody"]),delete ec.tbody),rn.TRUSTED_TYPES_POLICY){if(typeof rn.TRUSTED_TYPES_POLICY.createHTML!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof rn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');vr=rn.TRUSTED_TYPES_POLICY,Zr=vr.createHTML("")}else vr===void 0&&(vr=Ke(_i,xn)),vr!==null&&typeof Zr=="string"&&(Zr=vr.createHTML(""));b&&b(rn),Ua=rn}},Ku=le({},["mi","mo","mn","ms","mtext"]),Al=le({},["foreignobject","desc","title","annotation-xml"]),m1=le({},["title","style","font","a","script"]),vc=le({},[...Y,...Ee,...fe]),n1=le({},[...ce,...$e]),gl=function(rn){let Sa=lr(rn);Sa&&Sa.tagName||(Sa={namespaceURI:co,tagName:"template"});const da=z(rn.tagName),Us=z(Sa.tagName);return!!Kn[rn.namespaceURI]&&(rn.namespaceURI===yn?Sa.namespaceURI===tc?da==="svg":Sa.namespaceURI===Ph?da==="svg"&&(Us==="annotation-xml"||Ku[Us]):!!vc[da]:rn.namespaceURI===Ph?Sa.namespaceURI===tc?da==="math":Sa.namespaceURI===yn?da==="math"&&Al[Us]:!!n1[da]:rn.namespaceURI===tc?!(Sa.namespaceURI===yn&&!Al[Us])&&!(Sa.namespaceURI===Ph&&!Ku[Us])&&!n1[da]&&(m1[da]||!vc[da]):!(Gr!=="application/xhtml+xml"||!Kn[rn.namespaceURI]))},Ic=function(rn){P(pt.removed,{element:rn});try{rn.parentNode.removeChild(rn)}catch{rn.remove()}},nc=function(rn,Sa){try{P(pt.removed,{attribute:Sa.getAttributeNode(rn),from:Sa})}catch{P(pt.removed,{attribute:null,from:Sa})}if(Sa.removeAttribute(rn),rn==="is"&&!Zs[rn])if(ru||Fs)try{Ic(Sa)}catch{}else try{Sa.setAttribute(rn,"")}catch{}},Im=function(rn){let Sa=null,da=null;if(ws)rn=""+rn;else{const qc=Q(rn,/^[\r\n\t ]+/);da=qc&&qc[0]}Gr==="application/xhtml+xml"&&co===tc&&(rn=''+rn+"");const Us=vr?vr.createHTML(rn):rn;if(co===tc)try{Sa=new ti().parseFromString(Us,Gr)}catch{}if(!Sa||!Sa.documentElement){Sa=Ir.createDocument(co,"template",null);try{Sa.documentElement.innerHTML=p1?Zr:Us}catch{}}const uc=Sa.body||Sa.documentElement;return rn&&da&&uc.insertBefore(sn.createTextNode(da),uc.childNodes[0]||null),co===tc?Xo.call(Sa,Lc?"html":"body")[0]:Lc?Sa.documentElement:uc},ff=function(rn){return oa.call(rn.ownerDocument||rn,rn,$t.SHOW_ELEMENT|$t.SHOW_COMMENT|$t.SHOW_TEXT,null)},zu=function(rn){return rn instanceof Lr&&(typeof rn.nodeName!="string"||typeof rn.textContent!="string"||typeof rn.removeChild!="function"||!(rn.attributes instanceof _r)||typeof rn.removeAttribute!="function"||typeof rn.setAttribute!="function"||typeof rn.namespaceURI!="string"||typeof rn.insertBefore!="function"||typeof rn.hasChildNodes!="function")},ig=function(rn){return typeof ln=="function"&&rn instanceof ln},r1=function(rn,Sa,da){Ya[rn]&&L(Ya[rn],Us=>{Us.call(pt,Sa,da,Ua)})},Mb=function(rn){let Sa=null;if(r1("beforeSanitizeElements",rn,null),zu(rn))return Ic(rn),!0;const da=sa(rn.nodeName);if(r1("uponSanitizeElement",rn,{tagName:da,allowedTags:fa}),rn.hasChildNodes()&&!ig(rn.firstElementChild)&&ae(/<[/\w]/g,rn.innerHTML)&&ae(/<[/\w]/g,rn.textContent))return Ic(rn),!0;if(!fa[da]||ec[da]){if(!ec[da]&&td(da)&&(_a.tagNameCheck instanceof RegExp&&ae(_a.tagNameCheck,da)||_a.tagNameCheck instanceof Function&&_a.tagNameCheck(da)))return!1;if(Qh&&!$i[da]){const Us=lr(rn)||rn.parentNode,uc=Ta(rn)||rn.childNodes;if(uc&&Us)for(let qc=uc.length-1;qc>=0;--qc)Us.insertBefore(Js(uc[qc],!0),mi(rn))}return Ic(rn),!0}return rn instanceof Hn&&!gl(rn)?(Ic(rn),!0):da!=="noscript"&&da!=="noembed"&&da!=="noframes"||!ae(/<\/no(script|embed|frames)/i,rn.innerHTML)?(kl&&rn.nodeType===3&&(Sa=rn.textContent,L([So,ta,Ba],Us=>{Sa=V(Sa,Us," ")}),rn.textContent!==Sa&&(P(pt.removed,{element:rn.cloneNode()}),rn.textContent=Sa)),r1("afterSanitizeElements",rn,null),!1):(Ic(rn),!0)},bh=function(rn,Sa,da){if(Ei&&(Sa==="id"||Sa==="name")&&(da in sn||da in Yo))return!1;if(!(nu&&!hf[Sa]&&ae(ho,Sa))){if(!(Rl&&ae(mo,Sa))){if(!Zs[Sa]||hf[Sa]){if(!(td(rn)&&(_a.tagNameCheck instanceof RegExp&&ae(_a.tagNameCheck,rn)||_a.tagNameCheck instanceof Function&&_a.tagNameCheck(rn))&&(_a.attributeNameCheck instanceof RegExp&&ae(_a.attributeNameCheck,Sa)||_a.attributeNameCheck instanceof Function&&_a.attributeNameCheck(Sa))||Sa==="is"&&_a.allowCustomizedBuiltInElements&&(_a.tagNameCheck instanceof RegExp&&ae(_a.tagNameCheck,da)||_a.tagNameCheck instanceof Function&&_a.tagNameCheck(da))))return!1}else if(!bo[Sa]){if(!ae(cs,V(da,qo,""))){if((Sa!=="src"&&Sa!=="xlink:href"&&Sa!=="href"||rn==="script"||oe(da,"data:")!==0||!ar[rn])&&!(Oh&&!ae(Lo,V(da,qo,"")))){if(da)return!1}}}}}return!0},td=function(rn){return rn.indexOf("-")>0},Qp=function(rn){r1("beforeSanitizeAttributes",rn,null);const{attributes:Sa}=rn;if(!Sa)return;const da={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Zs};let Us=Sa.length;for(;Us--;){const uc=Sa[Us],{name:qc,namespaceURI:Df,value:i1}=uc,Fd=sa(qc);let Rh=qc==="value"?i1:G(i1);if(da.attrName=Fd,da.attrValue=Rh,da.keepAttr=!0,da.forceKeepAttr=void 0,r1("uponSanitizeAttribute",rn,da),Rh=da.attrValue,da.forceKeepAttr||(nc(qc,rn),!da.keepAttr))continue;if(!Wc&&ae(/\/>/i,Rh)){nc(qc,rn);continue}kl&&L([So,ta,Ba],tn=>{Rh=V(Rh,tn," ")});const aA=sa(rn.nodeName);if(bh(aA,Fd,Rh)){if(!Nh||Fd!=="id"&&Fd!=="name"||(nc(qc,rn),Rh=iu+Rh),vr&&typeof _i=="object"&&typeof _i.getAttributeType=="function"&&!Df)switch(_i.getAttributeType(aA,Fd)){case"TrustedHTML":Rh=vr.createHTML(Rh);break;case"TrustedScriptURL":Rh=vr.createScriptURL(Rh)}try{Df?rn.setAttributeNS(Df,qc,Rh):rn.setAttribute(qc,Rh),M(pt.removed)}catch{}}}r1("afterSanitizeAttributes",rn,null)},UA=function rn(Sa){let da=null;const Us=ff(Sa);for(r1("beforeSanitizeShadowDOM",Sa,null);da=Us.nextNode();)r1("uponSanitizeShadowNode",da,null),Mb(da)||(da.content instanceof nn&&rn(da.content),Qp(da));r1("afterSanitizeShadowDOM",Sa,null)};return pt.sanitize=function(rn){let Sa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},da=null,Us=null,uc=null,qc=null;if(p1=!rn,p1&&(rn=""),typeof rn!="string"&&!ig(rn)){if(typeof rn.toString!="function")throw ne("toString is not a function");if(typeof(rn=rn.toString())!="string")throw ne("dirty is not a string, aborting")}if(!pt.isSupported)return rn;if(Ul||Mc(Sa),pt.removed=[],typeof rn=="string"&&(Rs=!1),Rs){if(rn.nodeName){const Fd=sa(rn.nodeName);if(!fa[Fd]||ec[Fd])throw ne("root node is forbidden and cannot be sanitized in-place")}}else if(rn instanceof ln)da=Im(""),Us=da.ownerDocument.importNode(rn,!0),Us.nodeType===1&&Us.nodeName==="BODY"||Us.nodeName==="HTML"?da=Us:da.appendChild(Us);else{if(!ru&&!kl&&!Lc&&rn.indexOf("<")===-1)return vr&&Es?vr.createHTML(rn):rn;if(da=Im(rn),!da)return ru?null:Es?Zr:""}da&&ws&&Ic(da.firstChild);const Df=ff(Rs?rn:da);for(;uc=Df.nextNode();)Mb(uc)||(uc.content instanceof nn&&UA(uc.content),Qp(uc));if(Rs)return rn;if(ru){if(Fs)for(qc=jn.call(da.ownerDocument);da.firstChild;)qc.appendChild(da.firstChild);else qc=da;return(Zs.shadowroot||Zs.shadowrootmode)&&(qc=hr.call(cn,qc,!0)),qc}let i1=Lc?da.outerHTML:da.innerHTML;return Lc&&fa["!doctype"]&&da.ownerDocument&&da.ownerDocument.doctype&&da.ownerDocument.doctype.name&&ae(Vt,da.ownerDocument.doctype.name)&&(i1=" +`+i1),kl&&L([So,ta,Ba],Fd=>{i1=V(i1,Fd," ")}),vr&&Es?vr.createHTML(i1):i1},pt.setConfig=function(){Mc(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),Ul=!0},pt.clearConfig=function(){Ua=null,Ul=!1},pt.isValidAttribute=function(rn,Sa,da){Ua||Mc({});const Us=sa(rn),uc=sa(Sa);return bh(Us,uc,da)},pt.addHook=function(rn,Sa){typeof Sa=="function"&&(Ya[rn]=Ya[rn]||[],P(Ya[rn],Sa))},pt.removeHook=function(rn){if(Ya[rn])return M(Ya[rn])},pt.removeHooks=function(rn){Ya[rn]&&(Ya[rn]=[])},pt.removeAllHooks=function(){Ya={}},pt}var je=mn();return je}()}),Bpe=ayn(window);function oyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var gQe=function(r){aa(o,Sd);var i=oyn(o);function o(l){var h,g,d=l.config;return qr(this,o),gi(es(g=i.call(this,{needCache:!0})),"engine","MathJax"),gi(es(g),"katex",void 0),gi(es(g),"MathJax",void 0),g.engine=q3()?(h=d.engine)!==null&&h!==void 0?h:"MathJax":"node",g}return Yr(o,[{key:"toHtml",value:function(l,h,g,d){var b,w,x;Xa(lge).call(lge,this)("engine");var C=l.replace(/^[ \f\r\t\v]*/,"").replace(/\s*$/,""),B=h.replace(/^[ \f\r\t\v]*\n/,""),L=this.$engine.md5(l),M=this.getLineCount(C,B);/\n/.test(h)||(M-=1),/\n\s*$/.test(l)||(M-=1),M=M>0?M:0;var P=rt(b=rt(w='
    $$')).call(b,mSt(d),"$$
    ");if(this.engine==="katex"){var z,W,Q=this.katex.renderToString(d,{throwOnError:!1,displayMode:!0});P=rt(z=rt(W='
    ')).call(z,Q,"
    ")}if((x=this.MathJax)!==null&&x!==void 0&&x.tex2svg){var V,oe,G=P_t(this.MathJax.tex2svg(d),!0);P=rt(V=rt(oe='
    ')).call(V,G,"
    ")}return P=Bpe.sanitize(P),g+this.getCacheWithSpace(this.pushCache(P,L,M),l)}},{key:"beforeMakeHtml",value:function(l){var h,g;return PA()?l.replace(this.RULE.reg,Xa(g=this.toHtml).call(g,this)):v7(l,this.RULE.reg,Xa(h=this.toHtml).call(h,this),!0,1)}},{key:"makeHtml",value:function(l){return l}},{key:"rule",value:function(){var l={begin:PA()?"(\\s*)((?"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(gQe,"HOOK_NAME","mathBlock");var bSt=function(r){aa(o,Sd);var i=syn(o);function o(l){var h,g,d=l.config;return qr(this,o),gi(es(g=i.call(this,{needCache:!0})),"engine","MathJax"),gi(es(g),"katex",void 0),gi(es(g),"MathJax",void 0),g.engine=q3()?(h=d.engine)!==null&&h!==void 0?h:"MathJax":"node",g}return Yr(o,[{key:"toHtml",value:function(l,h,g){var d,b,w,x;if(!g)return l;Xa(lge).call(lge,this)("engine");var C=g.match(/\n/g),B=C?C.length+2:2,L=this.$engine.md5(l),M=rt(d=rt(b="".concat(h,`$')).call(d,mSt(g),"$");if(this.engine==="katex"&&(w=this.katex)!==null&&w!==void 0&&w.renderToString){var P,z,W=this.katex.renderToString(g,{throwOnError:!1});M=rt(P=rt(z="".concat(h,'')).call(P,W,"")}if((x=this.MathJax)!==null&&x!==void 0&&x.tex2svg){var Q,V,oe=P_t(this.MathJax.tex2svg(g,{em:12,ex:6,display:!1}),!0);M=rt(Q=rt(V="".concat(h,'')).call(Q,oe,"")}return M=Bpe.sanitize(M),this.pushCache(M,Sd.IN_PARAGRAPH_CACHE_KEY_PREFIX+L)}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return g=g.replace(Cpe(!0),function(d){var b;return ss(b=d.split("|")).call(b,function(w){return h.makeInlineMath(w)}).join("|").replace(/\\~D/g,"~D").replace(/~D/g,"\\~D")}),this.makeInlineMath(g)}},{key:"makeInlineMath",value:function(l){var h,g;return this.test(l)?PA()?l.replace(this.RULE.reg,Xa(g=this.toHtml).call(g,this)):v7(l,this.RULE.reg,Xa(h=this.toHtml).call(h,this),!0,1):l}},{key:"makeHtml",value:function(l){return l}},{key:"rule",value:function(){var l={begin:PA()?"((?1?arguments[1]:void 0,o),g=l>2?arguments[2]:void 0,d=g===void 0?o:PB(g,o);d>h;)i[h++]=r;return i}});var cyn=Md("Array").fill,LMe=Array.prototype,vj=function(r){var i=r.fill;return r===LMe||uf(LMe,r)&&i===LMe.fill?cyn:i};function lyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function wSt(r){return r}var Kxt={tocStyle:"plain",tocNodeClass:"toc-li",tocContainerClass:"toc",tocTitleClass:"toc-title",linkProcessor:wSt},zxt='

     

    ',vSt=function(r){aa(o,Sd);var i=lyn(o);function o(l){var h,g;l.externals;var d=l.config;return qr(this,o),gi(es(g=i.call(this,{needCache:!0})),"tocStyle","nested"),gi(es(g),"tocNodeClass","toc-li"),gi(es(g),"tocContainerClass","toc"),gi(es(g),"tocTitleClass","toc-title"),gi(es(g),"linkProcessor",wSt),gi(es(g),"baseLevel",1),gi(es(g),"isFirstTocToken",!0),gi(es(g),"allowMultiToc",!1),xa(h=pu(Kxt)).call(h,function(b){g[b]=d[b]||Kxt[b]}),g}return Yr(o,[{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g,"extend")&&(g=g.replace(this.RULE.extend.reg,function(d,b,w){var x;if(!h.allowMultiToc&&!h.isFirstTocToken)return rt(x=` +`.concat(b)).call(x,zxt);var C=h.pushCache(d);return h.isFirstTocToken=!1,lQ(d,C)})),this.test(g,"standard")&&(g=g.replace(this.RULE.standard.reg,function(d,b,w){var x;return h.allowMultiToc||h.isFirstTocToken?(h.isFirstTocToken=!1,lQ(d,h.pushCache(d))):rt(x=` +`.concat(b)).call(x,zxt)})),g}},{key:"makeHtml",value:function(l){return l}},{key:"$makeLevel",value:function(l){for(var h="",g=this.baseLevel;g2&&arguments[2]!==void 0)||arguments[2],B="";h&&(B=this.$makeLevel(l.level));var L=this.linkProcessor("#".concat(l.id).replace(/safe_/g,""));return rt(g=rt(d=rt(b=rt(w=rt(x='
  • ')).call(x,B,'')).call(d,l.text,"")).call(g,C?"
  • ":"")}},{key:"$makePlainToc",value:function(l){var h=this,g=ss(l).call(l,function(d){return h.$makeTocItem(d,!0)});return g.join("")}},{key:"$makeNestedToc",value:function(l){var h,g,d=this,b=0,w=vj(h=new Array(7)).call(h,!1),x=vj(g=new Array(7)).call(g,!1),C="";xa(l).call(l,function(L){var M=L.level;if(b===0){for(var P=M;P>=d.baseLevel;P--)C+="
      ",x[P]=!0;return C+=d.$makeTocItem(L,!1,!1),w[M]=!0,void(b=M)}if(M=M;z--)w[z]&&(C+="",w[z]=!1),x[z]&&z>M&&(C+="
    ",x[z]=!1);w[M]=!0,C+=d.$makeTocItem(L,!1,!1),b=M}else if(M===b)w[b]&&(C+=""),C+=d.$makeTocItem(L,!1,!1),w[M]=!0,x[M]=!0;else{for(var W=b+1;W<=M;W++)C+="
      ",x[W]=!0;w[M]=!0,C+=d.$makeTocItem(L,!1,!1),b=M}});for(var B=b;B>=this.baseLevel;B--)w[B]&&(C+="",w[B]=!1),x[B]&&(C+="
    ",x[B]=!1);return C}},{key:"$makeToc",value:function(l,h,g){var d,b,w,x=vDe(g,1),C=rt(d=rt(b=rt(w='');return C+='

    目录

    '),l.length<=0?"":(this.baseLevel=Math.min.apply(Math,oI(ss(l).call(l,function(B){return B.level}))),this.tocStyle==="nested"?C+=this.$makeNestedToc(l):C+=this.$makePlainToc(l),C+="
    ")}},{key:"afterMakeHtml",value:function(l){var h=this,g=ZC(En(o.prototype),"afterMakeHtml",this).call(this,l),d=[],b="";return g.replace(/]*? id="([^"]+?)"[^>]*?>(?:|)(.+?)<\/h\1>/g,function(w,x,C,B){var L,M=B.replace(/~fn#[0-9]+#/g,"");d.push({level:+x,id:C,text:M}),b+=rt(L="".concat(x)).call(L,C)}),b=this.$engine.md5(b),g=g.replace(/(?:^|\n)(\[\[|\[|【【)(toc|TOC)(\]\]|\]|】】)([<~])/,function(w){return w.replace(/(\]\]|\]|】】)([<~])/,`$1 +$2`)}),g=(g=g.replace(this.RULE.extend.reg,function(w,x){return h.$makeToc(d,b,x)})).replace(this.RULE.standard.reg,function(w,x){return h.$makeToc(d,b,x)}),this.isFirstTocToken=!0,g}},{key:"test",value:function(l,h){return!!this.RULE[h].reg&&this.RULE[h].reg.test(l)}},{key:"rule",value:function(){var l={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*((?:【【|\\[\\[)(?:toc|TOC)(?:\\]\\]|】】))[ ]*"};l.reg=new RegExp(l.begin+l.content+l.end,"g");var h={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*(\\[(?:toc|TOC)\\])[ ]*"};return h.reg=new RegExp(h.begin+h.content+h.end,"g"),{extend:l,standard:h}}}]),o}();function uyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(vSt,"HOOK_NAME","toc");var ySt=function(r){aa(o,Sd);var i=uyn(o);function o(l){var h;return l.externals,l.config,qr(this,o),(h=i.call(this)).footnoteCache={},h.footnoteMap={},h.footnote=[],h}return Yr(o,[{key:"$cleanCache",value:function(){this.footnoteCache={},this.footnoteMap={},this.footnote=[]}},{key:"pushFootnoteCache",value:function(l,h){this.footnoteCache[l]=h}},{key:"getFootnoteCache",value:function(l){return this.footnoteCache[l]||null}},{key:"pushFootNote",value:function(l,h){var g,d,b,w,x,C;if(this.footnoteMap[l])return this.footnoteMap[l];var B=this.footnote.length+1,L={};L.fn=rt(g=rt(d=rt(b='[')).call(g,B,"]"),L.fnref=rt(w=rt(x=rt(C='[')).call(w,B,"]"),L.num=B,L.note=uo(h).call(h),this.footnote.push(L);var M="\0~fn#".concat(B-1,"#\0");return this.footnoteMap[l]=M,M}},{key:"getFootNote",value:function(){return this.footnote}},{key:"formatFootNote",value:function(){var l,h=this.getFootNote();if(h.length<=0)return"";var g=ss(h).call(h,function(b){var w;return rt(w=`
    `.concat(b.fnref)).call(w,b.note,` -
    `)}).join(""),d=this.$engine.md5(g);return g=rt(l='
    脚注
    ')).call(l,g,"
    ")}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g)&&(g=g.replace(this.RULE.reg,function(d,b,w,x){return h.pushFootnoteCache(w,x),(d.match(/\n/g)||[]).join("")}),g=g.replace(/\[\^([^\]]+?)\](?!:)/g,function(d,b){var w=h.getFootnoteCache(b);return w?h.pushFootNote(b,w):d}),g+=this.formatFootNote()),g}},{key:"makeHtml",value:function(l,h){return l}},{key:"afterMakeHtml",value:function(l){var h=this.getFootNote(),g=l.replace(/\0~fn#([0-9]+)#\0/g,function(d,b){return h[b].fn});return this.$cleanCache(),g}},{key:"rule",value:function(){var l={begin:"(^|\\n)[ ]*",content:["\\[\\^([^\\]]+?)\\]:\\h*","([\\s\\S]+?)"].join(""),end:"(?=\\s*$|\\n\\n)"};return l.reg=Lm(l,"g",!0),l}}]),o}();function fyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(xSt,"HOOK_NAME","footnote");var kSt=function(r){aa(o,_d);var i=fyn(o);function o(l){var h;return l.externals,l.config,qr(this,o),(h=i.call(this)).commentCache={},h}return Yr(o,[{key:"$cleanCache",value:function(){this.commentCache={}}},{key:"pushCommentReferenceCache",value:function(l,h){var g,d=J_t(h.split(/[ ]+/g)),b=d[0],w=Zi(d).call(d,1),x=NB.set(b);this.commentCache["".concat(l).toLowerCase()]=rt(g=[x]).call(g,sM(w)).join(" ")}},{key:"getCommentReferenceCache",value:function(l){return this.commentCache["".concat(l).toLowerCase()]||null}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g)&&(g=g.replace(this.RULE.reg,function(d,b,w,x){var C;return h.pushCommentReferenceCache(w,x),((C=d.match(/\n/g))!==null&&C!==void 0?C:[]).join("")}),g=g.replace(/(\[[^\]\n]+?\])?(?:\[([^\]\n]+?)\])/g,function(d,b,w){var x,C,B=h.getCommentReferenceCache(w);return B?b?rt(C="".concat(b,"(")).call(C,B,")"):rt(x="[".concat(w,"](")).call(x,B,")"):d}),this.$cleanCache()),g}},{key:"makeHtml",value:function(l,h){return l}},{key:"afterMakeHtml",value:function(l){return NB.restoreAll(l)}},{key:"rule",value:function(){var l={begin:"(^|\\n)[ ]*",content:["\\[([^^][^\\]]*?)\\]:\\h*","([^\\n]+?)"].join(""),end:"(?=$|\\n)"};return l.reg=Lm(l,"g",!0),l}}]),o}();gi(kSt,"HOOK_NAME","commentReference");var dyn=WB.some,Ayn=zj("some");ma({target:"Array",proto:!0,forced:!Ayn},{some:function(r){return dyn(this,r,arguments.length>1?arguments[1]:void 0)}});var gyn=Ld("Array").some,MIe=Array.prototype,pyn=function(r){var i=r.some;return r===MIe||uf(MIe,r)&&i===MIe.some?gyn:i};function myn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Gxt=["href","src"];_pe.addHook("afterSanitizeAttributes",function(r){xa(Gxt).call(Gxt,function(i){if(r.hasAttribute(i)){var o=r.getAttribute(i);r.setAttribute(i,o.replace(/\\/g,"%5c"))}})});var CSt=function(r){aa(o,_d);var i=myn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"isAutoLinkTag",value:function(l){var h=[/^<([a-z][a-z0-9+.-]{1,31}:\/\/[^<> `]+)>$/i,/^<(mailto:[^<> `]+)>$/i,/^<([^()<>[\]:'@\\,"\s`]+@[^()<>[\]:'@\\,"\s`.]+\.[^()<>[\]:'@\\,"\s`]+)>$/i];return pyn(h).call(h,function(g){return g.test(l)})}},{key:"isHtmlComment",value:function(l){return/^$/.test(l)}},{key:"beforeMakeHtml",value:function(l,h){var g=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=l;return d=function(b){if(typeof b!="string")return"";var w=b.replace(/&(\w+);?/g,function(x,C){return xl(x).call(x,";")===-1||xl(Axt).call(Axt,C.toLowerCase())===-1?x.replace(/&/g,"&"):x});return w=w.replace(/&#(?!x)(\d*);?/gi,function(x,C){return CDe(C)||xl(x).call(x,";")===-1||C.lenth>7||!gxt(C)?x.replace(/&/g,"&"):x}),w=w.replace(/&#x([0-9a-f]*);?/gi,function(x,C){if(CDe(C))return x.replace(/&/g,"&");var B="0x".concat(C),L=Sb(B,16);return isNaN(L)||xl(x).call(x,";")===-1||C.lenth>6||!gxt(B)?x.replace(/&/g,"&"):x}),w}(d=X_t(d)),d=(d=(d=d.replace(/<[/]?(.*?)>/g,function(b,w){return rvn.test(w)||g.isAutoLinkTag(b)||g.isHtmlComment(b)||g.htmlWhiteListAppend!==!1&&g.htmlWhiteListAppend.test(w)?b.replace(//g,"$#62;"):b.replace(//g,">")})).replace(/<(?=\/?(\w|\n|$))/g,"<")).replace(/\$#60;/g,"<").replace(/\$#62;/g,">")}},{key:"makeHtml",value:function(l,h){return l}},{key:"afterMakeHtml",value:function(l){var h=l,g={ALLOW_UNKNOWN_PROTOCOLS:!0,ADD_ATTR:["target"]};if(this.htmlWhiteListAppend!==!1){var d;if(g.ADD_TAGS=this.htmlWhiteList,(this.htmlWhiteListAppend.test("style")||this.htmlWhiteListAppend.test("ALL"))&&(h=h.replace(/| [^>]*>).*?<\/style>/gi,function(b){return b.replace(/
    /gi,"")})),(this.htmlWhiteListAppend.test("iframe")||this.htmlWhiteListAppend.test("ALL"))&&(g.ADD_ATTR=rt(d=g.ADD_ATTR).call(d,["align","frameborder","height","longdesc","marginheight","marginwidth","name","sandbox","scrolling","seamless","src","srcdoc","width"]),g.SANITIZE_DOM=!1,h=h.replace(/| [^>]*>).*?<\/iframe>/gi,function(b){return b.replace(/
    /gi,"").replace(/\n/g,"")})),this.htmlWhiteListAppend.test("script")||this.htmlWhiteListAppend.test("ALL"))return h=h.replace(/| [^>]*>).*?<\/script>/gi,function(b){return b.replace(/
    /gi,"")}),h}return Y3()||(g.FORBID_ATTR=["data-sign","data-lines"]),_pe.sanitize(h,g)}}]),o}();gi(CSt,"HOOK_NAME","htmlBlock");var byn={"+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 Vxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function wyn(r){for(var i=1;i"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function yyn(){for(var r=[],i=0,o="",l=0,h=arguments.length;l!==h;++l){var g=+(l<0||arguments.length<=l?void 0:arguments[l]);if(!(g<1114111&&g>>>0===g))throw new RangeError("Invalid code point: ".concat(g));g<=65535?i=r.push(g):(g-=65536,i=r.push(55296+(g>>10),g%1024+56320)),i>=16383&&(o+=String.fromCharCode.apply(null,r),r.length=0)}return o+String.fromCharCode.apply(null,r)}var ESt=function(r){aa(o,PA);var i=vyn(o);function o(){var l,h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;if(qr(this,o),(l=i.call(this,{config:h})).options={useUnicode:!0,upperCase:!1,customHandled:!1,resourceURL:"https://github.githubassets.com/images/icons/emoji/unicode/${code}.png?v8",emojis:wyn({},byn)},Vc(h)!=="object")return Wi(l);var g=h.useUnicode,d=h.customResourceURL,b=h.customRenderer,w=h.upperCase;return l.options.useUnicode=typeof g=="boolean"?g:l.options.useUnicode,l.options.upperCase=typeof w=="boolean"?w:l.options.upperCase,g===!1&&typeof d=="string"&&(l.options.resourceURL=d),typeof b=="function"&&(l.options.customHandled=!0,l.options.customRenderer=b),l}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return this.test(l)?l.replace(this.RULE.reg,function(d,b){var w;if(g.options.customHandled&&typeof g.options.customRenderer=="function")return g.options.customRenderer(b);var x=g.options.emojis[b];if(typeof x!="string")return d;if(g.options.useUnicode){var C,B=ss(C=x.split("-")).call(C,function(I){return"0x".concat(I)});return yyn.apply(void 0,sM(B))}g.options.upperCase&&(x=x.toUpperCase());var L=g.options.resourceURL.replace(/\$\{code\}/g,x);return rt(w='')).call(w,ey(b),'')}):l}},{key:"rule",value:function(){var l={begin:":",content:"([a-zA-Z0-9+_]+?)",end:":"};return l.reg=Lm(l,"g"),l}}]),o}();function xyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(ESt,"HOOK_NAME","emoji");var TSt=function(r){aa(o,PA);var i=xyn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,'$1$2$3'):l}},{key:"rule",value:function(){var l={begin:"(^| )\\/",end:"\\/( |$)",content:"([^\\n]+?)"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();function kyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(TSt,"HOOK_NAME","underline");var BSt=function(r){aa(o,PA);var i=kyn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,"$1$2$3"):l}},{key:"rule",value:function(){var l={begin:"(^| )==",end:"==( |$|\\n)",content:"([^\\n]+?)"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();gi(BSt,"HOOK_NAME","highLight");var Vj=ZBt,Cyn=XNe.includes,Eyn=eu(function(){return!Array(1).includes()});ma({target:"Array",proto:!0,forced:Eyn},{includes:function(r){return Cyn(this,r,arguments.length>1?arguments[1]:void 0)}});var Tyn=Ld("Array").includes,Byn=Za("".indexOf);ma({target:"String",proto:!0,forced:!lQe("includes")},{includes:function(r){return!!~Byn(Zl(AM(this)),Zl(cQe(r)),arguments.length>1?arguments[1]:void 0)}});var _yn=Ld("String").includes,FIe=Array.prototype,DIe=String.prototype,hge=function(r){var i=r.includes;return r===FIe||uf(FIe,r)&&i===FIe.includes?Tyn:typeof r=="string"||r===DIe||uf(DIe,r)&&i===DIe.includes?_yn:i},Syn=function(r,i){for(var o=-1,l=r==null?0:r.length,h=Array(l);++o`)}).join(""),d=this.$engine.md5(g);return g=rt(l='
    脚注
    ')).call(l,g,"
    ")}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g)&&(g=g.replace(this.RULE.reg,function(d,b,w,x){return h.pushFootnoteCache(w,x),(d.match(/\n/g)||[]).join("")}),g=g.replace(/\[\^([^\]]+?)\](?!:)/g,function(d,b){var w=h.getFootnoteCache(b);return w?h.pushFootNote(b,w):d}),g+=this.formatFootNote()),g}},{key:"makeHtml",value:function(l,h){return l}},{key:"afterMakeHtml",value:function(l){var h=this.getFootNote(),g=l.replace(/\0~fn#([0-9]+)#\0/g,function(d,b){return h[b].fn});return this.$cleanCache(),g}},{key:"rule",value:function(){var l={begin:"(^|\\n)[ ]*",content:["\\[\\^([^\\]]+?)\\]:\\h*","([\\s\\S]+?)"].join(""),end:"(?=\\s*$|\\n\\n)"};return l.reg=Sm(l,"g",!0),l}}]),o}();function hyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(ySt,"HOOK_NAME","footnote");var xSt=function(r){aa(o,Sd);var i=hyn(o);function o(l){var h;return l.externals,l.config,qr(this,o),(h=i.call(this)).commentCache={},h}return Yr(o,[{key:"$cleanCache",value:function(){this.commentCache={}}},{key:"pushCommentReferenceCache",value:function(l,h){var g,d=Y_t(h.split(/[ ]+/g)),b=d[0],w=Zi(d).call(d,1),x=OB.set(b);this.commentCache["".concat(l).toLowerCase()]=rt(g=[x]).call(g,oI(w)).join(" ")}},{key:"getCommentReferenceCache",value:function(l){return this.commentCache["".concat(l).toLowerCase()]||null}},{key:"beforeMakeHtml",value:function(l){var h=this,g=l;return this.test(g)&&(g=g.replace(this.RULE.reg,function(d,b,w,x){var C;return h.pushCommentReferenceCache(w,x),((C=d.match(/\n/g))!==null&&C!==void 0?C:[]).join("")}),g=g.replace(/(\[[^\]\n]+?\])?(?:\[([^\]\n]+?)\])/g,function(d,b,w){var x,C,B=h.getCommentReferenceCache(w);return B?b?rt(C="".concat(b,"(")).call(C,B,")"):rt(x="[".concat(w,"](")).call(x,B,")"):d}),this.$cleanCache()),g}},{key:"makeHtml",value:function(l,h){return l}},{key:"afterMakeHtml",value:function(l){return OB.restoreAll(l)}},{key:"rule",value:function(){var l={begin:"(^|\\n)[ ]*",content:["\\[([^^][^\\]]*?)\\]:\\h*","([^\\n]+?)"].join(""),end:"(?=$|\\n)"};return l.reg=Sm(l,"g",!0),l}}]),o}();gi(xSt,"HOOK_NAME","commentReference");var fyn=VB.some,dyn=Kj("some");ma({target:"Array",proto:!0,forced:!dyn},{some:function(r){return fyn(this,r,arguments.length>1?arguments[1]:void 0)}});var Ayn=Md("Array").some,MMe=Array.prototype,gyn=function(r){var i=r.some;return r===MMe||uf(MMe,r)&&i===MMe.some?Ayn:i};function pyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Xxt=["href","src"];Bpe.addHook("afterSanitizeAttributes",function(r){xa(Xxt).call(Xxt,function(i){if(r.hasAttribute(i)){var o=r.getAttribute(i);r.setAttribute(i,o.replace(/\\/g,"%5c"))}})});var kSt=function(r){aa(o,Sd);var i=pyn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"isAutoLinkTag",value:function(l){var h=[/^<([a-z][a-z0-9+.-]{1,31}:\/\/[^<> `]+)>$/i,/^<(mailto:[^<> `]+)>$/i,/^<([^()<>[\]:'@\\,"\s`]+@[^()<>[\]:'@\\,"\s`.]+\.[^()<>[\]:'@\\,"\s`]+)>$/i];return gyn(h).call(h,function(g){return g.test(l)})}},{key:"isHtmlComment",value:function(l){return/^$/.test(l)}},{key:"beforeMakeHtml",value:function(l,h){var g=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=l;return d=function(b){if(typeof b!="string")return"";var w=b.replace(/&(\w+);?/g,function(x,C){return xl(x).call(x,";")===-1||xl(dxt).call(dxt,C.toLowerCase())===-1?x.replace(/&/g,"&"):x});return w=w.replace(/&#(?!x)(\d*);?/gi,function(x,C){return kDe(C)||xl(x).call(x,";")===-1||C.lenth>7||!Axt(C)?x.replace(/&/g,"&"):x}),w=w.replace(/&#x([0-9a-f]*);?/gi,function(x,C){if(kDe(C))return x.replace(/&/g,"&");var B="0x".concat(C),L=_b(B,16);return isNaN(L)||xl(x).call(x,";")===-1||C.lenth>6||!Axt(B)?x.replace(/&/g,"&"):x}),w}(d=z_t(d)),d=(d=(d=d.replace(/<[/]?(.*?)>/g,function(b,w){return nvn.test(w)||g.isAutoLinkTag(b)||g.isHtmlComment(b)||g.htmlWhiteListAppend!==!1&&g.htmlWhiteListAppend.test(w)?b.replace(//g,"$#62;"):b.replace(//g,">")})).replace(/<(?=\/?(\w|\n|$))/g,"<")).replace(/\$#60;/g,"<").replace(/\$#62;/g,">")}},{key:"makeHtml",value:function(l,h){return l}},{key:"afterMakeHtml",value:function(l){var h=l,g={ALLOW_UNKNOWN_PROTOCOLS:!0,ADD_ATTR:["target"]};if(this.htmlWhiteListAppend!==!1){var d;if(g.ADD_TAGS=this.htmlWhiteList,(this.htmlWhiteListAppend.test("style")||this.htmlWhiteListAppend.test("ALL"))&&(h=h.replace(/| [^>]*>).*?<\/style>/gi,function(b){return b.replace(/
    /gi,"")})),(this.htmlWhiteListAppend.test("iframe")||this.htmlWhiteListAppend.test("ALL"))&&(g.ADD_ATTR=rt(d=g.ADD_ATTR).call(d,["align","frameborder","height","longdesc","marginheight","marginwidth","name","sandbox","scrolling","seamless","src","srcdoc","width"]),g.SANITIZE_DOM=!1,h=h.replace(/| [^>]*>).*?<\/iframe>/gi,function(b){return b.replace(/
    /gi,"").replace(/\n/g,"")})),this.htmlWhiteListAppend.test("script")||this.htmlWhiteListAppend.test("ALL"))return h=h.replace(/| [^>]*>).*?<\/script>/gi,function(b){return b.replace(/
    /gi,"")}),h}return q3()||(g.FORBID_ATTR=["data-sign","data-lines"]),Bpe.sanitize(h,g)}}]),o}();gi(kSt,"HOOK_NAME","htmlBlock");var myn={"+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 Gxt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function byn(r){for(var i=1;i"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function vyn(){for(var r=[],i=0,o="",l=0,h=arguments.length;l!==h;++l){var g=+(l<0||arguments.length<=l?void 0:arguments[l]);if(!(g<1114111&&g>>>0===g))throw new RangeError("Invalid code point: ".concat(g));g<=65535?i=r.push(g):(g-=65536,i=r.push(55296+(g>>10),g%1024+56320)),i>=16383&&(o+=String.fromCharCode.apply(null,r),r.length=0)}return o+String.fromCharCode.apply(null,r)}var CSt=function(r){aa(o,RA);var i=wyn(o);function o(){var l,h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{config:void 0}).config;if(qr(this,o),(l=i.call(this,{config:h})).options={useUnicode:!0,upperCase:!1,customHandled:!1,resourceURL:"https://github.githubassets.com/images/icons/emoji/unicode/${code}.png?v8",emojis:byn({},myn)},Vc(h)!=="object")return Wi(l);var g=h.useUnicode,d=h.customResourceURL,b=h.customRenderer,w=h.upperCase;return l.options.useUnicode=typeof g=="boolean"?g:l.options.useUnicode,l.options.upperCase=typeof w=="boolean"?w:l.options.upperCase,g===!1&&typeof d=="string"&&(l.options.resourceURL=d),typeof b=="function"&&(l.options.customHandled=!0,l.options.customRenderer=b),l}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return this.test(l)?l.replace(this.RULE.reg,function(d,b){var w;if(g.options.customHandled&&typeof g.options.customRenderer=="function")return g.options.customRenderer(b);var x=g.options.emojis[b];if(typeof x!="string")return d;if(g.options.useUnicode){var C,B=ss(C=x.split("-")).call(C,function(M){return"0x".concat(M)});return vyn.apply(void 0,oI(B))}g.options.upperCase&&(x=x.toUpperCase());var L=g.options.resourceURL.replace(/\$\{code\}/g,x);return rt(w='')).call(w,Zv(b),'')}):l}},{key:"rule",value:function(){var l={begin:":",content:"([a-zA-Z0-9+_]+?)",end:":"};return l.reg=Sm(l,"g"),l}}]),o}();function yyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(CSt,"HOOK_NAME","emoji");var ESt=function(r){aa(o,RA);var i=yyn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,'$1$2$3'):l}},{key:"rule",value:function(){var l={begin:"(^| )\\/",end:"\\/( |$)",content:"([^\\n]+?)"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();function xyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(ESt,"HOOK_NAME","underline");var TSt=function(r){aa(o,RA);var i=xyn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,"$1$2$3"):l}},{key:"rule",value:function(){var l={begin:"(^| )==",end:"==( |$|\\n)",content:"([^\\n]+?)"};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();gi(TSt,"HOOK_NAME","highLight");var Gj=JBt,kyn=zNe.includes,Cyn=eu(function(){return!Array(1).includes()});ma({target:"Array",proto:!0,forced:Cyn},{includes:function(r){return kyn(this,r,arguments.length>1?arguments[1]:void 0)}});var Eyn=Md("Array").includes,Tyn=Za("".indexOf);ma({target:"String",proto:!0,forced:!cQe("includes")},{includes:function(r){return!!~Tyn(Zl(dI(this)),Zl(sQe(r)),arguments.length>1?arguments[1]:void 0)}});var Byn=Md("String").includes,IMe=Array.prototype,FMe=String.prototype,uge=function(r){var i=r.includes;return r===IMe||uf(IMe,r)&&i===IMe.includes?Eyn:typeof r=="string"||r===FMe||uf(FMe,r)&&i===FMe.includes?Byn:i},_yn=function(r,i){for(var o=-1,l=r==null?0:r.length,h=Array(l);++o",keyword:"》",value:">"}],Nyn=[{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}],Qyn=rt(Yxt).call(Yxt,Nyn),Pyn=function(){return"CodeMirror.Pass"};function Ryn(r,i){var o=Vj!==void 0&&bM(r)||r["@@iterator"];if(!o){if(t4(r)||(o=function(w,x){var C;if(w){if(typeof w=="string")return Jxt(w,x);var B=Zi(C=Object.prototype.toString.call(w)).call(C,8,-1);if(B==="Object"&&w.constructor&&(B=w.constructor.name),B==="Map"||B==="Set")return yl(w);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return Jxt(w,x)}}(r))||i&&r&&typeof r.length=="number"){o&&(r=o);var l=0,h=function(){};return{s:h,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(w){throw w},f:h}}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 g,d=!0,b=!1;return{s:function(){o=o.call(r)},n:function(){var w=o.next();return d=w.done,w},e:function(w){b=!0,g=w},f:function(){try{d||o.return==null||o.return()}finally{if(b)throw g}}}}function Jxt(r,i){(i==null||i>r.length)&&(i=r.length);for(var o=0,l=new Array(i);o"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var LSt=function(r){aa(o,PA);var i=Uyn(o);function o(l){var h,g=l.config;return qr(this,o),(h=i.call(this,{needCache:!0})).config=g,h.RULE=h.rule(),h.suggesterPanel=new Hyn,h}return Yr(o,[{key:"afterInit",value:function(l){Y3()&&(typeof l=="function"&&l(),this.initConfig(this.config))}},{key:"initConfig",value:function(l){var h=this,g=l.suggester;this.suggester={};var d,b=[],w=Ryn(Dyn);try{var x=function(){var C=d.value;b.push({keyword:C,suggestList:function(B,L){var I=B.toLowerCase(),P=function(V,oe){var G,ae,ne,de=rt(G=[]).call(G,Oyn),Ae=rt(ae=[]).call(ae,Qyn);return xa(de).call(de,function(le){le.label=oe?oe[le.label]:le.label}),xa(Ae).call(Ae,function(le){le.label=oe?oe[le.label]:le.label}),(V[0]==="/"||V[0]==="、"||hge("#").call("#",V[0]))&&xa(de).call(de,function(le){le.keyword="".concat(V[0],le.keyword)}),t1(ne=rt(Ae).call(Ae,de)).call(ne,function(le){var ve;return bj(ve=le.keyword).call(ve,V[0])})}(C,this.$locale);if(/^\s$/.test(I))L(!1);else{var z=I.replace(/\s+/g,"").replace(new RegExp("^".concat(C),"g"),"").split("").join(".*?"),W=new RegExp("^.*?".concat(z,".*?$"),"i"),Q=t1(P).call(P,function(V){return!I||W.test(V.keyword)});L(Q.length!==0&&Q)}}})};for(w.s();!(d=w.n()).done;)x()}catch(C){w.e(C)}finally{w.f()}g=g?rt(g).call(g,b):b,xa(g).call(g,function(C){C.suggestList?(C.keyword||(C.keyword="@"),h.suggester[C.keyword]=C):console.warn("[cherry-suggester]: the suggestList of config is missing.")}),this.suggesterPanel.hasEditor()&&(this.suggesterPanel.editor=null)}},{key:"makeHtml",value:function(l){var h,g;if(!this.RULE.reg)return l;if(!this.suggesterPanel.hasEditor()&&Y3()){var d=this.$engine.$cherry.editor;this.suggesterPanel.setEditor(d),this.suggesterPanel.setSuggester(this.suggester),this.suggesterPanel.bindEvent()}return QA()?l.replace(this.RULE.reg,Xa(g=this.toHtml).call(g,this)):yk(l,this.RULE.reg,Xa(h=this.toHtml).call(h,this),!0,1)}},{key:"toHtml",value:function(l,h,g,d){var b,w,x,C,B;return d?((w=this.suggester[g])===null||w===void 0||(x=w.echo)===null||x===void 0?void 0:x.call(this,d))||rt(C=rt(B="".concat(h,'')).call(B,g)).call(C,d,""):((b=this.suggester[g])===null||b===void 0?void 0:b.echo)===!1?"".concat(h):this.suggester[g]?d?h+d:"".concat(h):h+d}},{key:"rule",value:function(){var l,h,g;if(!this.suggester||pu(this.suggester).length<=0)return{};var d=ss(l=pu(this.suggester)).call(l,function(b){return Fyn(b)}).join("|");return{reg:new RegExp(rt(h=rt(g="".concat(QA()?"((?
    '),this.searchCache=!1,this.searchKeyCache=[],this.optionList=[],this.cursorMove=!0,this.suggesterConfig={}}return Yr(r,[{key:"tryCreatePanel",value:function(){var i,o,l;!this.$suggesterPanel&&Y3()&&document&&((i=document)===null||i===void 0||(o=i.body)===null||o===void 0||o.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=(l=document)===null||l===void 0?void 0:l.querySelector(".cherry-suggester-panel"))}},{key:"hasEditor",value:function(){return!!this.editor&&!!this.editor.editor.display&&!!this.editor.editor.display.wrapper}},{key:"setEditor",value:function(i){this.editor=i}},{key:"setSuggester",value:function(i){this.suggesterConfig=i}},{key:"bindEvent",value:function(){var i=this,o=!1;this.editor.editor.on("change",function(g,d){o=!0,i.onCodeMirrorChange(g,d)}),this.editor.editor.on("keydown",function(g,d){o=!0,i.enableRelate()&&i.onKeyDown(g,d)}),this.editor.editor.on("cursorActivity",function(){o||i.stopRelate(),o=!1});var l=this.editor.editor.getOption("extraKeys"),h=["Up","Down","Enter"];xa(h).call(h,function(g){if(typeof l[g]=="function"){var d=l[g];l[g]=function(w){if(i.cursorMove){var x=d.call(w,w);if(x)return x}}}else if(l[g]){if(typeof l[g]=="string"){var b=l[g];l[g]=function(w){i.cursorMove&&i.editor.editor.execCommand(b)}}}else l[g]=function(){if(i.cursorMove)return Pyn()}}),this.editor.editor.setOption("extraKeys",l),this.editor.editor.on("scroll",function(g,d){i.searchCache&&i.relocatePanel(i.editor.editor)}),this.onClickPanelItem()}},{key:"onClickPanelItem",value:function(){var i=this;this.tryCreatePanel(),this.$suggesterPanel.addEventListener("click",function(o){var l=function(h,g){var d,b=-1;return xa(d=h.childNodes).call(d,function(w,x){return w===g?b=x:""}),b}(i.$suggesterPanel,o.target);l>-1&&i.pasteSelectResult(l),i.stopRelate()},!1)}},{key:"showSuggesterPanel",value:function(i){var o=i.left,l=i.top,h=i.items;this.tryCreatePanel(),!this.$suggesterPanel&&Y3()&&(document.body.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=document.querySelector(".cherry-suggester-panel")),this.updatePanel(h),this.$suggesterPanel.style.left="".concat(o,"px"),this.$suggesterPanel.style.top="".concat(l,"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(i){var o=this;this.tryCreatePanel();var l=ss(i).call(i,function(g,d){if(Vc(g)==="object"&&g!==null){var b,w=g.label;return g!=null&&g.icon&&(w=rt(b='')).call(b,w)),o.renderPanelItem(w,d===0)}return o.renderPanelItem(g,d===0)}).join(""),h=this.suggesterConfig[this.keyword];h&&typeof h.suggestListRender=="function"&&(l=h.suggestListRender.call(this,i)||l),this.$suggesterPanel.innerHTML="",typeof l=="string"?this.$suggesterPanel.innerHTML=l:t4(l)&&l.length>0?xa(l).call(l,function(g){o.$suggesterPanel.appendChild(g)}):Vc(l)==="object"&&l.nodeType===1&&this.$suggesterPanel.appendChild(l)}},{key:"renderPanelItem",value:function(i,o){return o?'
    '.concat(i,"
    "):'
    '.concat(i,"
    ")}},{key:"createDom",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";this.template||(this.template=document.createElement("div")),this.template.innerHTML=uo(i).call(i);var o=document.createDocumentFragment();return ss(Array.prototype).call(this.template.childNodes,function(l,h){o.appendChild(l)}),o}},{key:"relocatePanel",value:function(i){var o=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(o||(o=document.querySelector(".CodeMirror-selected")),!o)return!1;var l=i.getCursor(),h=i.lineInfo(l.line).handle.height,g=o.getBoundingClientRect(),d=g.top+h,b=g.left;this.showSuggesterPanel({left:b,top:d,items:this.optionList})}},{key:"getCursorPos",value:function(i){var o=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(!o)return null;var l=i.getCursor(),h=i.lineInfo(l.line).handle.height,g=o.getBoundingClientRect(),d=g.top+h;return{left:g.left,top:d}}},{key:"startRelate",value:function(i,o,l){this.cursorFrom=l,this.keyword=o,this.searchCache=!0,this.relocatePanel(i)}},{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(i,o){if(this.cursorTo&&this.cursorTo!==this.cursorFrom||(this.cursorTo=JSON.parse(oQe(this.cursorFrom))),this.cursorTo){this.cursorTo.ch+=1;var l=this.cursorFrom,h=this.cursorTo;if(this.optionList[i]){var g="";if(Vc(this.optionList[i])==="object"&&this.optionList[i]!==null&&typeof this.optionList[i].value=="string")g=this.optionList[i].value;else if(Vc(this.optionList[i])==="object"&&this.optionList[i]!==null&&typeof this.optionList[i].value=="function")g=this.optionList[i].value();else if(typeof this.optionList[i]=="string")g="".concat(this.optionList[i]," ");else{var d;g=rt(d=" ".concat(this.keyword)).call(d,this.optionList[i]," ")}if(g&&this.editor.editor.replaceRange(g,l,h),this.optionList[i].goLeft){var b=this.editor.editor.getCursor();this.editor.editor.setCursor(b.line,b.ch-this.optionList[i].goLeft)}if(this.optionList[i].selection){var w=this.editor.editor.getCursor().line,x=this.editor.editor.getCursor().ch;this.editor.editor.setSelection({line:w,ch:x-this.optionList[i].selection.from},{line:w,ch:x-this.optionList[i].selection.to})}}}}},{key:"findSelectedItemIndex",value:function(){return oge(Array.prototype).call(this.$suggesterPanel.childNodes,function(i){return i.classList.contains("cherry-suggester-panel__item--selected")})}},{key:"enableRelate",value:function(){return this.searchCache}},{key:"onCodeMirrorChange",value:function(i,o){var l=this,h=o.text,g=o.from,d=o.to,b=o.origin,w=h.length===1?h[0]:"";if(!this.enableRelate()&&this.suggesterConfig[w]&&this.startRelate(i,w,g),this.enableRelate()&&(w||b==="+delete")){var x;if(this.cursorTo=d,w)this.searchKeyCache.push(w);else if(b==="+delete"&&(this.searchKeyCache.pop(),this.searchKeyCache.length===0))return void this.stopRelate();typeof((x=this.suggesterConfig[this.keyword])===null||x===void 0?void 0:x.suggestList)=="function"&&this.suggesterConfig[this.keyword].suggestList(this.searchKeyCache.join(""),function(C){C!==!1?(l.optionList=C&&C.length?C:[],l.updatePanel(l.optionList)):l.stopRelate()})}}},{key:"onKeyDown",value:function(i,o){var l,h=this;if(this.tryCreatePanel(),!this.$suggesterPanel)return!1;var g=o.keyCode;if(hge(l=[38,40]).call(l,g)){if(this.optionList.length===0)return void Z0(function(){h.stopRelate()},0);this.cursorMove=!1;var d=this.$suggesterPanel.querySelector(".cherry-suggester-panel__item--selected"),b=null;g!==38||d.previousElementSibling?g!==40||d.nextElementSibling?g===38?b=d.previousElementSibling:g===40&&(b=d.nextElementSibling):b=this.$suggesterPanel.firstElementChild:b=this.$suggesterPanel.lastElementChild,d.classList.remove("cherry-suggester-panel__item--selected"),b.classList.add("cherry-suggester-panel__item--selected")}else g===13?(o.stopPropagation(),this.cursorMove=!1,this.pasteSelectResult(this.findSelectedItemIndex(),o),i.focus(),Z0(function(){h.stopRelate()},0)):g!==27&&g!==37&&g!==39||(o.stopPropagation(),i.focus(),Z0(function(){h.stopRelate()},0))}}]),r}();function $yn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var ISt=function(r){aa(o,PA);var i=$yn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,"$1$2$3$4"):l}},{key:"rule",value:function(){var l={begin:"(^| )\\{",end:"\\}( |$)",content:`([^ +`}],qxt=[{icon:"FullWidth",label:"`",keyword:"···",value:"`"},{icon:"FullWidth",label:"$",keyword:"¥",value:"$"},{icon:"FullWidth",label:"/",keyword:"、",value:"/"},{icon:"FullWidth",label:"\\",keyword:"、",value:"\\"},{icon:"FullWidth",label:":",keyword:":",value:":"},{icon:"FullWidth",label:'"',keyword:"“",value:'"'},{icon:"FullWidth",label:'"',keyword:"”",value:'"'},{icon:"FullWidth",label:"[",keyword:"【",value:"["},{icon:"FullWidth",label:"]",keyword:"】",value:"]"},{icon:"FullWidth",label:"(",keyword:"(",value:"("},{icon:"FullWidth",label:")",keyword:")",value:")"},{icon:"FullWidth",label:"<",keyword:"《",value:"<"},{icon:"FullWidth",label:">",keyword:"》",value:">"}],Oyn=[{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}],Nyn=rt(qxt).call(qxt,Oyn),Qyn=function(){return"CodeMirror.Pass"};function Pyn(r,i){var o=Gj!==void 0&&mI(r)||r["@@iterator"];if(!o){if(e4(r)||(o=function(w,x){var C;if(w){if(typeof w=="string")return Yxt(w,x);var B=Zi(C=Object.prototype.toString.call(w)).call(C,8,-1);if(B==="Object"&&w.constructor&&(B=w.constructor.name),B==="Map"||B==="Set")return yl(w);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return Yxt(w,x)}}(r))||i&&r&&typeof r.length=="number"){o&&(r=o);var l=0,h=function(){};return{s:h,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(w){throw w},f:h}}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 g,d=!0,b=!1;return{s:function(){o=o.call(r)},n:function(){var w=o.next();return d=w.done,w},e:function(w){b=!0,g=w},f:function(){try{d||o.return==null||o.return()}finally{if(b)throw g}}}}function Yxt(r,i){(i==null||i>r.length)&&(i=r.length);for(var o=0,l=new Array(i);o"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var SSt=function(r){aa(o,RA);var i=Ryn(o);function o(l){var h,g=l.config;return qr(this,o),(h=i.call(this,{needCache:!0})).config=g,h.RULE=h.rule(),h.suggesterPanel=new Uyn,h}return Yr(o,[{key:"afterInit",value:function(l){q3()&&(typeof l=="function"&&l(),this.initConfig(this.config))}},{key:"initConfig",value:function(l){var h=this,g=l.suggester;this.suggester={};var d,b=[],w=Pyn(Fyn);try{var x=function(){var C=d.value;b.push({keyword:C,suggestList:function(B,L){var M=B.toLowerCase(),P=function(V,oe){var G,ae,ne,de=rt(G=[]).call(G,Dyn),Ae=rt(ae=[]).call(ae,Nyn);return xa(de).call(de,function(le){le.label=oe?oe[le.label]:le.label}),xa(Ae).call(Ae,function(le){le.label=oe?oe[le.label]:le.label}),(V[0]==="/"||V[0]==="、"||uge("#").call("#",V[0]))&&xa(de).call(de,function(le){le.keyword="".concat(V[0],le.keyword)}),t1(ne=rt(Ae).call(Ae,de)).call(ne,function(le){var ve;return mj(ve=le.keyword).call(ve,V[0])})}(C,this.$locale);if(/^\s$/.test(M))L(!1);else{var z=M.replace(/\s+/g,"").replace(new RegExp("^".concat(C),"g"),"").split("").join(".*?"),W=new RegExp("^.*?".concat(z,".*?$"),"i"),Q=t1(P).call(P,function(V){return!M||W.test(V.keyword)});L(Q.length!==0&&Q)}}})};for(w.s();!(d=w.n()).done;)x()}catch(C){w.e(C)}finally{w.f()}g=g?rt(g).call(g,b):b,xa(g).call(g,function(C){C.suggestList?(C.keyword||(C.keyword="@"),h.suggester[C.keyword]=C):console.warn("[cherry-suggester]: the suggestList of config is missing.")}),this.suggesterPanel.hasEditor()&&(this.suggesterPanel.editor=null)}},{key:"makeHtml",value:function(l){var h,g;if(!this.RULE.reg)return l;if(!this.suggesterPanel.hasEditor()&&q3()){var d=this.$engine.$cherry.editor;this.suggesterPanel.setEditor(d),this.suggesterPanel.setSuggester(this.suggester),this.suggesterPanel.bindEvent()}return PA()?l.replace(this.RULE.reg,Xa(g=this.toHtml).call(g,this)):v7(l,this.RULE.reg,Xa(h=this.toHtml).call(h,this),!0,1)}},{key:"toHtml",value:function(l,h,g,d){var b,w,x,C,B;return d?((w=this.suggester[g])===null||w===void 0||(x=w.echo)===null||x===void 0?void 0:x.call(this,d))||rt(C=rt(B="".concat(h,'')).call(B,g)).call(C,d,""):((b=this.suggester[g])===null||b===void 0?void 0:b.echo)===!1?"".concat(h):this.suggester[g]?d?h+d:"".concat(h):h+d}},{key:"rule",value:function(){var l,h,g;if(!this.suggester||pu(this.suggester).length<=0)return{};var d=ss(l=pu(this.suggester)).call(l,function(b){return Iyn(b)}).join("|");return{reg:new RegExp(rt(h=rt(g="".concat(PA()?"((?'),this.searchCache=!1,this.searchKeyCache=[],this.optionList=[],this.cursorMove=!0,this.suggesterConfig={}}return Yr(r,[{key:"tryCreatePanel",value:function(){var i,o,l;!this.$suggesterPanel&&q3()&&document&&((i=document)===null||i===void 0||(o=i.body)===null||o===void 0||o.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=(l=document)===null||l===void 0?void 0:l.querySelector(".cherry-suggester-panel"))}},{key:"hasEditor",value:function(){return!!this.editor&&!!this.editor.editor.display&&!!this.editor.editor.display.wrapper}},{key:"setEditor",value:function(i){this.editor=i}},{key:"setSuggester",value:function(i){this.suggesterConfig=i}},{key:"bindEvent",value:function(){var i=this,o=!1;this.editor.editor.on("change",function(g,d){o=!0,i.onCodeMirrorChange(g,d)}),this.editor.editor.on("keydown",function(g,d){o=!0,i.enableRelate()&&i.onKeyDown(g,d)}),this.editor.editor.on("cursorActivity",function(){o||i.stopRelate(),o=!1});var l=this.editor.editor.getOption("extraKeys"),h=["Up","Down","Enter"];xa(h).call(h,function(g){if(typeof l[g]=="function"){var d=l[g];l[g]=function(w){if(i.cursorMove){var x=d.call(w,w);if(x)return x}}}else if(l[g]){if(typeof l[g]=="string"){var b=l[g];l[g]=function(w){i.cursorMove&&i.editor.editor.execCommand(b)}}}else l[g]=function(){if(i.cursorMove)return Qyn()}}),this.editor.editor.setOption("extraKeys",l),this.editor.editor.on("scroll",function(g,d){i.searchCache&&i.relocatePanel(i.editor.editor)}),this.onClickPanelItem()}},{key:"onClickPanelItem",value:function(){var i=this;this.tryCreatePanel(),this.$suggesterPanel.addEventListener("click",function(o){var l=function(h,g){var d,b=-1;return xa(d=h.childNodes).call(d,function(w,x){return w===g?b=x:""}),b}(i.$suggesterPanel,o.target);l>-1&&i.pasteSelectResult(l),i.stopRelate()},!1)}},{key:"showSuggesterPanel",value:function(i){var o=i.left,l=i.top,h=i.items;this.tryCreatePanel(),!this.$suggesterPanel&&q3()&&(document.body.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=document.querySelector(".cherry-suggester-panel")),this.updatePanel(h),this.$suggesterPanel.style.left="".concat(o,"px"),this.$suggesterPanel.style.top="".concat(l,"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(i){var o=this;this.tryCreatePanel();var l=ss(i).call(i,function(g,d){if(Vc(g)==="object"&&g!==null){var b,w=g.label;return g!=null&&g.icon&&(w=rt(b='')).call(b,w)),o.renderPanelItem(w,d===0)}return o.renderPanelItem(g,d===0)}).join(""),h=this.suggesterConfig[this.keyword];h&&typeof h.suggestListRender=="function"&&(l=h.suggestListRender.call(this,i)||l),this.$suggesterPanel.innerHTML="",typeof l=="string"?this.$suggesterPanel.innerHTML=l:e4(l)&&l.length>0?xa(l).call(l,function(g){o.$suggesterPanel.appendChild(g)}):Vc(l)==="object"&&l.nodeType===1&&this.$suggesterPanel.appendChild(l)}},{key:"renderPanelItem",value:function(i,o){return o?'
    '.concat(i,"
    "):'
    '.concat(i,"
    ")}},{key:"createDom",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";this.template||(this.template=document.createElement("div")),this.template.innerHTML=uo(i).call(i);var o=document.createDocumentFragment();return ss(Array.prototype).call(this.template.childNodes,function(l,h){o.appendChild(l)}),o}},{key:"relocatePanel",value:function(i){var o=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(o||(o=document.querySelector(".CodeMirror-selected")),!o)return!1;var l=i.getCursor(),h=i.lineInfo(l.line).handle.height,g=o.getBoundingClientRect(),d=g.top+h,b=g.left;this.showSuggesterPanel({left:b,top:d,items:this.optionList})}},{key:"getCursorPos",value:function(i){var o=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(!o)return null;var l=i.getCursor(),h=i.lineInfo(l.line).handle.height,g=o.getBoundingClientRect(),d=g.top+h;return{left:g.left,top:d}}},{key:"startRelate",value:function(i,o,l){this.cursorFrom=l,this.keyword=o,this.searchCache=!0,this.relocatePanel(i)}},{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(i,o){if(this.cursorTo&&this.cursorTo!==this.cursorFrom||(this.cursorTo=JSON.parse(aQe(this.cursorFrom))),this.cursorTo){this.cursorTo.ch+=1;var l=this.cursorFrom,h=this.cursorTo;if(this.optionList[i]){var g="";if(Vc(this.optionList[i])==="object"&&this.optionList[i]!==null&&typeof this.optionList[i].value=="string")g=this.optionList[i].value;else if(Vc(this.optionList[i])==="object"&&this.optionList[i]!==null&&typeof this.optionList[i].value=="function")g=this.optionList[i].value();else if(typeof this.optionList[i]=="string")g="".concat(this.optionList[i]," ");else{var d;g=rt(d=" ".concat(this.keyword)).call(d,this.optionList[i]," ")}if(g&&this.editor.editor.replaceRange(g,l,h),this.optionList[i].goLeft){var b=this.editor.editor.getCursor();this.editor.editor.setCursor(b.line,b.ch-this.optionList[i].goLeft)}if(this.optionList[i].selection){var w=this.editor.editor.getCursor().line,x=this.editor.editor.getCursor().ch;this.editor.editor.setSelection({line:w,ch:x-this.optionList[i].selection.from},{line:w,ch:x-this.optionList[i].selection.to})}}}}},{key:"findSelectedItemIndex",value:function(){return age(Array.prototype).call(this.$suggesterPanel.childNodes,function(i){return i.classList.contains("cherry-suggester-panel__item--selected")})}},{key:"enableRelate",value:function(){return this.searchCache}},{key:"onCodeMirrorChange",value:function(i,o){var l=this,h=o.text,g=o.from,d=o.to,b=o.origin,w=h.length===1?h[0]:"";if(!this.enableRelate()&&this.suggesterConfig[w]&&this.startRelate(i,w,g),this.enableRelate()&&(w||b==="+delete")){var x;if(this.cursorTo=d,w)this.searchKeyCache.push(w);else if(b==="+delete"&&(this.searchKeyCache.pop(),this.searchKeyCache.length===0))return void this.stopRelate();typeof((x=this.suggesterConfig[this.keyword])===null||x===void 0?void 0:x.suggestList)=="function"&&this.suggesterConfig[this.keyword].suggestList(this.searchKeyCache.join(""),function(C){C!==!1?(l.optionList=C&&C.length?C:[],l.updatePanel(l.optionList)):l.stopRelate()})}}},{key:"onKeyDown",value:function(i,o){var l,h=this;if(this.tryCreatePanel(),!this.$suggesterPanel)return!1;var g=o.keyCode;if(uge(l=[38,40]).call(l,g)){if(this.optionList.length===0)return void Z0(function(){h.stopRelate()},0);this.cursorMove=!1;var d=this.$suggesterPanel.querySelector(".cherry-suggester-panel__item--selected"),b=null;g!==38||d.previousElementSibling?g!==40||d.nextElementSibling?g===38?b=d.previousElementSibling:g===40&&(b=d.nextElementSibling):b=this.$suggesterPanel.firstElementChild:b=this.$suggesterPanel.lastElementChild,d.classList.remove("cherry-suggester-panel__item--selected"),b.classList.add("cherry-suggester-panel__item--selected")}else g===13?(o.stopPropagation(),this.cursorMove=!1,this.pasteSelectResult(this.findSelectedItemIndex(),o),i.focus(),Z0(function(){h.stopRelate()},0)):g!==27&&g!==37&&g!==39||(o.stopPropagation(),i.focus(),Z0(function(){h.stopRelate()},0))}}]),r}();function Hyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var LSt=function(r){aa(o,RA);var i=Hyn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"makeHtml",value:function(l){return this.test(l)?l.replace(this.RULE.reg,"$1$2$3$4"):l}},{key:"rule",value:function(){var l={begin:"(^| )\\{",end:"\\}( |$)",content:`([^ ]+?)\\|([^ -]+?)`};return l.reg=new RegExp(l.begin+l.content+l.end,"g"),l}}]),o}();function jyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(ISt,"HOOK_NAME","ruby");var MSt=function(r){aa(o,_d);var i=jyn(o);function o(l){var h;return qr(this,o),(h=i.call(this,{needCache:!0})).initBrReg(l.globalConfig.classicBr),h}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return l.replace(this.RULE.reg,function(d,b,w,x){var C,B,L,I,P,z=g.getLineCount(d,b),W=g.$engine.md5(d),Q=g.$getPanelInfo(w,x,h),V=Q.title,oe=Q.body,G=Q.appendStyle,ae=Q.className;return uQ(d,g.pushCache(rt(C=rt(B=rt(L=rt(I=rt(P='
    ")).call(B,V)).call(C,oe,"
    "),W,z))})}},{key:"$getClassByType",value:function(l){return/(left|right|center)/i.test(l)?"cherry-text-align cherry-text-align__".concat(l):"cherry-panel cherry-panel__".concat(l)}},{key:"$getPanelInfo",value:function(l,h,g){var d,b=this,w={type:this.$getTargetType(l),title:g(this.$getTitle(l)).html,body:h,appendStyle:"",className:""};w.className=this.$getClassByType(w.type),/(left|right|center)/i.test(w.type)&&(w.appendStyle='style="text-align:'.concat(w.type,';"')),w.title=rt(d='
    ')).call(d,w.title,"
    ");var x=function(B){var L,I;if(uo(B).call(B)==="")return"";var P=g(B).html,z="p";return new RegExp("<(".concat(mte,")[^>]*>"),"i").test(P)&&(z="div"),rt(L=rt(I="<".concat(z,">")).call(I,b.$cleanParagraph(P),"")},C="";return C=this.isContainsCache(w.body)?this.makeExcludingCached(w.body,x):x(w.body),w.body='
    '.concat(C,"
    "),w}},{key:"$getTitle",value:function(l){var h=uo(l).call(l);return/\s/.test(h)?h.replace(/[^\s]+\s/,""):""}},{key:"$getTargetType",value:function(l){var h=/\s/.test(uo(l).call(l))?uo(l).call(l).replace(/\s.*$/,""):l;switch(uo(h).call(h).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 fQe()}}]),o}();function Kyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(MSt,"HOOK_NAME","panel");var FSt=function(r){aa(o,_d);var i=Kyn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return l.replace(this.RULE.reg,function(d,b,w,x,C){var B,L,I,P=g.getLineCount(d,b),z=g.$engine.md5(d),W=g.$getDetailInfo(w,x,C,h),Q=W.type,V=W.html;return uQ(d,g.pushCache(rt(B=rt(L=rt(I='
    ')).call(B,V,"
    "),z,P))})}},{key:"$getDetailInfo",value:function(l,h,g,d){var b=this,w=/\n\s*(\+\+|\+\+-)\s*[^\n]+\n/.test(g)?"multiple":"single",x=g.split(/\n\s*(\+\+[-]{0,1}\s*[^\n]+)\n/),C=l==="-",B=h,L="";return w==="multiple"?xa(x).call(x,function(I){if(/\+\+/.test(I))return C=/\+\+-/.test(I),B=I.replace(/\+\+[-]{0,1}\s*([^\n]+)$/,"$1"),!0;L+=b.$getDetailHtml(C,B,I,d)}):L=this.$getDetailHtml(C,B,g,d),{type:w,html:L}}},{key:"$getDetailHtml",value:function(l,h,g,d){var b=this,w="
    "),x=function(B){var L,I;if(uo(B).call(B)==="")return"";var P=d(B).html,z="p";return new RegExp("<(".concat(mte,")[^>]*>"),"i").test(P)&&(z="div"),rt(L=rt(I="<".concat(z,">")).call(I,b.$cleanParagraph(P),"")};w+="".concat(d(h).html,"");var C="";return C=this.isContainsCache(g)?this.makeExcludingCached(g,x):x(g),w+='
    '.concat(C,"
    "),w+="
    "}},{key:"rule",value:function(){return K_t()}}]),o}();gi(FSt,"HOOK_NAME","detail");var Zxt=[Y$,aSt,pQe,wSt,CSt,xSt,kSt,uSt,fSt,hSt,pSt,ySt,lSt,dSt,gSt,FSt,MSt,cSt,ESt,ASt,oSt,mSt,sSt,eSt,Z_t,tSt,iSt,rSt,ISt,nSt,TSt,BSt,LSt],zyn=function(){function r(i,o){qr(this,r),this.$cherry=o,Z2(this,"_cherry",{get:function(){return Y2.warn("`_engine._cherry` is deprecated. Use `$engine.$cherry` instead."),this.$cherry}}),this.initMath(i),this.$configInit(i),this.hookCenter=new kvn(Zxt,i,o),this.hooks=this.hookCenter.getHookList(),this.md5Cache={},this.md5StrMap={},this.markdownParams=i,this.currentStrMd5=[],this.htmlWhiteListAppend=i.engine.global.htmlWhiteList}return Yr(r,[{key:"initMath",value:function(i){var o=i.externals,l=i.engine.syntax,h=l.mathBlock.plugins;if(Y3()&&(l.mathBlock.src||l.inlineMath.src)&&!o.MathJax&&!window.MathJax){(function(d){if(Y3()){var b=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:b}}}})(h);var g=document.createElement("script");g.src=l.mathBlock.src?l.mathBlock.src:l.inlineMath.src,g.async=!0,g.src&&document.head.appendChild(g)}}},{key:"$configInit",value:function(i){if(i.hooksConfig&&jN(i.hooksConfig.hooksList,Array))for(var o=0;o"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(LSt,"HOOK_NAME","ruby");var MSt=function(r){aa(o,Sd);var i=$yn(o);function o(l){var h;return qr(this,o),(h=i.call(this,{needCache:!0})).initBrReg(l.globalConfig.classicBr),h}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return l.replace(this.RULE.reg,function(d,b,w,x){var C,B,L,M,P,z=g.getLineCount(d,b),W=g.$engine.md5(d),Q=g.$getPanelInfo(w,x,h),V=Q.title,oe=Q.body,G=Q.appendStyle,ae=Q.className;return lQ(d,g.pushCache(rt(C=rt(B=rt(L=rt(M=rt(P='
    ")).call(B,V)).call(C,oe,"
    "),W,z))})}},{key:"$getClassByType",value:function(l){return/(left|right|center)/i.test(l)?"cherry-text-align cherry-text-align__".concat(l):"cherry-panel cherry-panel__".concat(l)}},{key:"$getPanelInfo",value:function(l,h,g){var d,b=this,w={type:this.$getTargetType(l),title:g(this.$getTitle(l)).html,body:h,appendStyle:"",className:""};w.className=this.$getClassByType(w.type),/(left|right|center)/i.test(w.type)&&(w.appendStyle='style="text-align:'.concat(w.type,';"')),w.title=rt(d='
    ')).call(d,w.title,"
    ");var x=function(B){var L,M;if(uo(B).call(B)==="")return"";var P=g(B).html,z="p";return new RegExp("<(".concat(pte,")[^>]*>"),"i").test(P)&&(z="div"),rt(L=rt(M="<".concat(z,">")).call(M,b.$cleanParagraph(P),"")},C="";return C=this.isContainsCache(w.body)?this.makeExcludingCached(w.body,x):x(w.body),w.body='
    '.concat(C,"
    "),w}},{key:"$getTitle",value:function(l){var h=uo(l).call(l);return/\s/.test(h)?h.replace(/[^\s]+\s/,""):""}},{key:"$getTargetType",value:function(l){var h=/\s/.test(uo(l).call(l))?uo(l).call(l).replace(/\s.*$/,""):l;switch(uo(h).call(h).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 hQe()}}]),o}();function jyn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(MSt,"HOOK_NAME","panel");var ISt=function(r){aa(o,Sd);var i=jyn(o);function o(){return qr(this,o),i.call(this,{needCache:!0})}return Yr(o,[{key:"makeHtml",value:function(l,h){var g=this;return l.replace(this.RULE.reg,function(d,b,w,x,C){var B,L,M,P=g.getLineCount(d,b),z=g.$engine.md5(d),W=g.$getDetailInfo(w,x,C,h),Q=W.type,V=W.html;return lQ(d,g.pushCache(rt(B=rt(L=rt(M='
    ')).call(B,V,"
    "),z,P))})}},{key:"$getDetailInfo",value:function(l,h,g,d){var b=this,w=/\n\s*(\+\+|\+\+-)\s*[^\n]+\n/.test(g)?"multiple":"single",x=g.split(/\n\s*(\+\+[-]{0,1}\s*[^\n]+)\n/),C=l==="-",B=h,L="";return w==="multiple"?xa(x).call(x,function(M){if(/\+\+/.test(M))return C=/\+\+-/.test(M),B=M.replace(/\+\+[-]{0,1}\s*([^\n]+)$/,"$1"),!0;L+=b.$getDetailHtml(C,B,M,d)}):L=this.$getDetailHtml(C,B,g,d),{type:w,html:L}}},{key:"$getDetailHtml",value:function(l,h,g,d){var b=this,w="
    "),x=function(B){var L,M;if(uo(B).call(B)==="")return"";var P=d(B).html,z="p";return new RegExp("<(".concat(pte,")[^>]*>"),"i").test(P)&&(z="div"),rt(L=rt(M="<".concat(z,">")).call(M,b.$cleanParagraph(P),"")};w+="".concat(d(h).html,"");var C="";return C=this.isContainsCache(g)?this.makeExcludingCached(g,x):x(g),w+='
    '.concat(C,"
    "),w+="
    "}},{key:"rule",value:function(){return j_t()}}]),o}();gi(ISt,"HOOK_NAME","detail");var Jxt=[q$,iSt,gQe,bSt,kSt,ySt,xSt,lSt,hSt,uSt,gSt,vSt,cSt,fSt,ASt,ISt,MSt,sSt,CSt,dSt,aSt,pSt,oSt,Z_t,J_t,eSt,rSt,nSt,LSt,tSt,ESt,TSt,SSt],Kyn=function(){function r(i,o){qr(this,r),this.$cherry=o,J2(this,"_cherry",{get:function(){return q2.warn("`_engine._cherry` is deprecated. Use `$engine.$cherry` instead."),this.$cherry}}),this.initMath(i),this.$configInit(i),this.hookCenter=new xvn(Jxt,i,o),this.hooks=this.hookCenter.getHookList(),this.md5Cache={},this.md5StrMap={},this.markdownParams=i,this.currentStrMd5=[],this.htmlWhiteListAppend=i.engine.global.htmlWhiteList}return Yr(r,[{key:"initMath",value:function(i){var o=i.externals,l=i.engine.syntax,h=l.mathBlock.plugins;if(q3()&&(l.mathBlock.src||l.inlineMath.src)&&!o.MathJax&&!window.MathJax){(function(d){if(q3()){var b=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:b}}}})(h);var g=document.createElement("script");g.src=l.mathBlock.src?l.mathBlock.src:l.inlineMath.src,g.async=!0,g.src&&document.head.appendChild(g)}}},{key:"$configInit",value:function(i){if(i.hooksConfig&&$N(i.hooksConfig.hooksList,Array))for(var o=0;o>>0:d>>>0;(w=g.exec(h))&&!((x=w.index+w[0].length)>I&&(B.push(h.slice(I,w.index)),!l&&w.length>1&&w[0].replace(b,function(){for(var P=1;P1&&w.index=d));)g.lastIndex===w.index&&g.lastIndex++;return I===h.length?!C&&g.test("")||B.push(""):B.push(h.slice(I)),B.length>d?B.slice(0,d):B},i}(),Jyn=/([\.#]?[a-zA-Z0-9\u007F-\uFFFF_:-]+)/,Zyn=/^\.|#/,e3n=function(r,i){if(!r)return"DIV";var o,l,h,g,d=!i.hasOwnProperty("id"),b=Yyn(r,Jyn),w=null;for(Zyn.test(b[1])&&(w="DIV"),g=0;g>>0:d>>>0;(w=g.exec(h))&&!((x=w.index+w[0].length)>M&&(B.push(h.slice(M,w.index)),!l&&w.length>1&&w[0].replace(b,function(){for(var P=1;P1&&w.index=d));)g.lastIndex===w.index&&g.lastIndex++;return M===h.length?!C&&g.test("")||B.push(""):B.push(h.slice(M)),B.length>d?B.slice(0,d):B},i}(),Yyn=/([\.#]?[a-zA-Z0-9\u007F-\uFFFF_:-]+)/,Jyn=/^\.|#/,Zyn=function(r,i){if(!r)return"DIV";var o,l,h,g,d=!i.hasOwnProperty("id"),b=qyn(r,Yyn),w=null;for(Jyn.test(b[1])&&(w="DIV"),g=0;g=le.length?ne.length:le[ye],ct=0;ct=Ye&&ee.push(ot)}for(var Qe,Le=ee.slice(),ht=0,Rt=[],Et=[],Rn=0;RnW?z:W,V=0;V>0],g===d)return h>=i&&h<=o;if(ho))return!0;d=l-1}}return!1}function f3n(r,i){return r>i?1:-1}var d3n=function(r,i){return bk(r)&&bk(i)?"name"in r&&"name"in i?r.id===i.id:r.init===i.init:!1},A8t=function(r,i,o){var l=r.type,h=r.vNode,g=r.patch;switch(l){case Fh.REMOVE:return function(d,b){var w=d.parentNode;return w&&w.removeChild(d),g8t(d,b),null}(i,h);case Fh.INSERT:return function(d,b,w){var x=w.render(b,w);return d&&d.appendChild(x),d}(i,g,o);case Fh.VTEXT:return function(d,b,w,x){var C;if(d.nodeType===3)d.replaceData(0,d.length,w.text),C=d;else{var B=d.parentNode;C=x.render(w,x),B&&C!==d&&B.replaceChild(C,d)}return C}(i,0,g,o);case Fh.WIDGET:return function(d,b,w,x){var C,B=d3n(b,w);C=B?w.update(b,d)||d:x.render(w,x);var L=d.parentNode;return L&&C!==d&&L.replaceChild(C,d),B||g8t(d,b),C}(i,h,g,o);case Fh.VNODE:return function(d,b,w,x){var C=d.parentNode,B=x.render(w,x);return C&&B!==d&&C.replaceChild(B,d),B}(i,0,g,o);case Fh.ORDER:return function(d,b){for(var w,x,C,B=d.childNodes,L={},I=0;I=P++?null:B[C.to])}(i,g),i;case Fh.PROPS:return $St(i,g,h.properties),i;case Fh.THUNK:return function(d,b){return d&&b&&d!==b&&d.parentNode&&d.parentNode.replaceChild(b,d),b}(i,o.patch(i,g,o));default:return i}};function g8t(r,i){typeof i.destroy=="function"&&bk(i)&&i.destroy(r)}var A3n=function r(i,o,l){return(l=l||{}).patch=l.patch&&l.patch!==r?l.patch:g3n,l.render=l.render||l3n,l.patch(i,o,l)};function g3n(r,i,o){var l=function(w){var x=[];for(var C in w)C!=="a"&&x.push(Number(C));return x}(i);if(l.length===0)return r;var h=h3n(r,i.a,l),g=r.ownerDocument;o.document||g===HSt||(o.document=g);for(var d=0;d=h&&z>=l)return b[w]=x,this.$backtraceSnakes(b,l,h,w)}b[w]=x}return[]}},{key:"$backtraceSnakes",value:function(i,o,l,h){for(var g=[],d={x:l,y:o},b=h;b>0;b--){var w=i[b],x=i[b-1],C=d.x-d.y,B=w[C],L=C===-b||C!==b&&x[C+1]>x[C-1],I=L?C+1:C-1,P=x[I],z=P-I,W=L?P:P+1;g.unshift({xStart:P,xMid:W,xEnd:B}),d.x=P,d.y=z}return g}},{key:"assembleResult",value:function(i,o,l){var h,g=this,d="color: gray",b="",w=[],x=0,C=[],B={},L={},I={};return xa(i).call(i,function(P,z){var W=P.xStart;if(z===0&&P.xStart!==0)for(var Q=0;Q>1,r+=N$(r/i);r>455;)r=N$(r/35),l+=36;return N$(l+36*r/(r+38))},T3n=function(r){var i=[];r=function(Q){for(var V=[],oe=0,G=Q.length;oe=55296&&ae<=56319&&oe=g&&lN$((QIe-d)/B))throw m8t(p8t);for(d+=(C-g)*B,g=C,o=0;oQIe)throw m8t(p8t);if(l==g){for(var L=d,I=36;;){var P=I<=b?1:I>=b+26?26:I-b;if(L0;)r[l]=r[--l];l!==g++&&(r[l]=o)}return r},S3n=function(r,i,o,l){for(var h=i.length,g=o.length,d=0,b=0;d0?arguments[0]:void 0))},EZ=Age.prototype;if(EDe(EZ,{append:function(r,i){wB(arguments.length,2);var o=rk(this);WN(o.entries,{key:Zl(r),value:Zl(i)}),o.updateURL()},delete:function(r){wB(arguments.length,1);for(var i=rk(this),o=i.entries,l=Zl(r),h=0;ho.key?1:-1}),r.updateURL()},forEach:function(r){for(var i,o=rk(this).entries,l=tg(r,arguments.length>1?arguments[1]:void 0),h=0;h1?_8t(arguments[1]):{})}}),hh(dge)){var HIe=function(r){return Gj(this,RIe),new dge(r,arguments.length>1?_8t(arguments[1]):{})};RIe.constructor=HIe,HIe.prototype=RIe,ma({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:HIe})}}var g6,YSt={URLSearchParams:Age,getState:rk},G3n=e_t.codeAt,V3n=Mm.set,gge=Mm.getterFor("URL"),W3n=YSt.URLSearchParams,q3n=YSt.getState,qJ=Ai.URL,DDe=Ai.TypeError,nAe=Ai.parseInt,Y3n=Math.floor,S8t=Math.pow,k6=Za("".charAt),ek=Za(/./.exec),TZ=Za([].join),J3n=Za(1 .toString),Z3n=Za([].pop),p$=Za([].push),L8t=Za("".replace),e4n=Za([].shift),t4n=Za("".split),BZ=Za("".slice),JAe=Za("".toLowerCase),n4n=Za([].unshift),$Ie="Invalid scheme",BN="Invalid host",I8t="Invalid port",JSt=/[a-z]/i,r4n=/[\d+-.a-z]/i,jIe=/\d/,i4n=/^0x/i,a4n=/^[0-7]+$/,o4n=/^\d+$/,M8t=/^[\da-f]+$/i,s4n=/[\0\t\n\r #%/:<>?@[\\\]^|]/,c4n=/[\0\t\n\r #/:<>?@[\\\]^|]/,l4n=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,u4n=/[\t\n\r]/g,YJ=function(r){var i,o,l,h;if(typeof r=="number"){for(i=[],o=0;o<4;o++)n4n(i,r%256),r=Y3n(r/256);return TZ(i,".")}if(typeof r=="object"){for(i="",l=function(g){for(var d=null,b=1,w=null,x=0,C=0;C<8;C++)g[C]!==0?(x>b&&(d=w,b=x),w=null,x=0):(w===null&&(w=C),++x);return x>b&&(d=w,b=x),d}(r),o=0;o<8;o++)h&&r[o]===0||(h&&(h=!1),l===o?(i+=o?":":"::",h=!0):(i+=J3n(r[o],16),o<7&&(i+=":")));return"["+i+"]"}return r},ZAe={},ZSt=_ee({},ZAe,{" ":1,'"':1,"<":1,">":1,"`":1}),eLt=_ee({},ZSt,{"#":1,"?":1,"{":1,"}":1}),KIe=_ee({},eLt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),II=function(r,i){var o=G3n(r,0);return o>32&&o<127&&!sc(i,r)?r:encodeURIComponent(r)},rAe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_Z=function(r,i){var o;return r.length==2&&ek(JSt,k6(r,0))&&((o=k6(r,1))==":"||!i&&o=="|")},F8t=function(r){var i;return r.length>1&&_Z(BZ(r,0,2))&&(r.length==2||(i=k6(r,2))==="/"||i==="\\"||i==="?"||i==="#")},h4n=function(r){return r==="."||JAe(r)==="%2e"},zIe={},D8t={},XIe={},O8t={},N8t={},GIe={},Q8t={},P8t={},iAe={},aAe={},VIe={},WIe={},qIe={},YIe={},R8t={},JIe={},m$={},XC={},U8t={},_N={},sB={},wQe=function(r,i,o){var l,h,g,d=Zl(r);if(i){if(h=this.parse(d))throw DDe(h);this.searchParams=null}else{if(o!==void 0&&(l=new wQe(o,!0)),h=this.parse(d,null,l))throw DDe(h);(g=q3n(new W3n)).bindURL(this),this.searchParams=g}};wQe.prototype={type:"URL",parse:function(r,i,o){var l,h,g,d,b,w=this,x=i||zIe,C=0,B="",L=!1,I=!1,P=!1;for(r=Zl(r),i||(w.scheme="",w.username="",w.password="",w.host=null,w.port=null,w.path=[],w.query=null,w.fragment=null,w.cannotBeABaseURL=!1,r=L8t(r,l4n,"")),r=L8t(r,u4n,""),l=DN(r);C<=l.length;){switch(h=l[C],x){case zIe:if(!h||!ek(JSt,h)){if(i)return $Ie;x=XIe;continue}B+=JAe(h),x=D8t;break;case D8t:if(h&&(ek(r4n,h)||h=="+"||h=="-"||h=="."))B+=JAe(h);else{if(h!=":"){if(i)return $Ie;B="",x=XIe,C=0;continue}if(i&&(w.isSpecial()!=sc(rAe,B)||B=="file"&&(w.includesCredentials()||w.port!==null)||w.scheme=="file"&&!w.host))return;if(w.scheme=B,i)return void(w.isSpecial()&&rAe[w.scheme]==w.port&&(w.port=null));B="",w.scheme=="file"?x=YIe:w.isSpecial()&&o&&o.scheme==w.scheme?x=O8t:w.isSpecial()?x=P8t:l[C+1]=="/"?(x=N8t,C++):(w.cannotBeABaseURL=!0,p$(w.path,""),x=U8t)}break;case XIe:if(!o||o.cannotBeABaseURL&&h!="#")return $Ie;if(o.cannotBeABaseURL&&h=="#"){w.scheme=o.scheme,w.path=Xv(o.path),w.query=o.query,w.fragment="",w.cannotBeABaseURL=!0,x=sB;break}x=o.scheme=="file"?YIe:GIe;continue;case O8t:if(h!="/"||l[C+1]!="/"){x=GIe;continue}x=iAe,C++;break;case N8t:if(h=="/"){x=aAe;break}x=XC;continue;case GIe:if(w.scheme=o.scheme,h==g6)w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=Xv(o.path),w.query=o.query;else if(h=="/"||h=="\\"&&w.isSpecial())x=Q8t;else if(h=="?")w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=Xv(o.path),w.query="",x=_N;else{if(h!="#"){w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=Xv(o.path),w.path.length--,x=XC;continue}w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=Xv(o.path),w.query=o.query,w.fragment="",x=sB}break;case Q8t:if(!w.isSpecial()||h!="/"&&h!="\\"){if(h!="/"){w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,x=XC;continue}x=aAe}else x=iAe;break;case P8t:if(x=iAe,h!="/"||k6(B,C+1)!="/")continue;C++;break;case iAe:if(h!="/"&&h!="\\"){x=aAe;continue}break;case aAe:if(h=="@"){L&&(B="%40"+B),L=!0,g=DN(B);for(var z=0;z65535)return I8t;w.port=w.isSpecial()&&V===rAe[w.scheme]?null:V,B=""}if(i)return;x=m$;continue}return I8t}B+=h;break;case YIe:if(w.scheme="file",h=="/"||h=="\\")x=R8t;else{if(!o||o.scheme!="file"){x=XC;continue}if(h==g6)w.host=o.host,w.path=Xv(o.path),w.query=o.query;else if(h=="?")w.host=o.host,w.path=Xv(o.path),w.query="",x=_N;else{if(h!="#"){F8t(TZ(Xv(l,C),""))||(w.host=o.host,w.path=Xv(o.path),w.shortenPath()),x=XC;continue}w.host=o.host,w.path=Xv(o.path),w.query=o.query,w.fragment="",x=sB}}break;case R8t:if(h=="/"||h=="\\"){x=JIe;break}o&&o.scheme=="file"&&!F8t(TZ(Xv(l,C),""))&&(_Z(o.path[0],!0)?p$(w.path,o.path[0]):w.host=o.host),x=XC;continue;case JIe:if(h==g6||h=="/"||h=="\\"||h=="?"||h=="#"){if(!i&&_Z(B))x=XC;else if(B==""){if(w.host="",i)return;x=m$}else{if(d=w.parseHost(B))return d;if(w.host=="localhost"&&(w.host=""),i)return;B="",x=m$}continue}B+=h;break;case m$:if(w.isSpecial()){if(x=XC,h!="/"&&h!="\\")continue}else if(i||h!="?")if(i||h!="#"){if(h!=g6&&(x=XC,h!="/"))continue}else w.fragment="",x=sB;else w.query="",x=_N;break;case XC:if(h==g6||h=="/"||h=="\\"&&w.isSpecial()||!i&&(h=="?"||h=="#")){if((b=JAe(b=B))===".."||b==="%2e."||b===".%2e"||b==="%2e%2e"?(w.shortenPath(),h=="/"||h=="\\"&&w.isSpecial()||p$(w.path,"")):h4n(B)?h=="/"||h=="\\"&&w.isSpecial()||p$(w.path,""):(w.scheme=="file"&&!w.path.length&&_Z(B)&&(w.host&&(w.host=""),B=k6(B,0)+":"),p$(w.path,B)),B="",w.scheme=="file"&&(h==g6||h=="?"||h=="#"))for(;w.path.length>1&&w.path[0]==="";)e4n(w.path);h=="?"?(w.query="",x=_N):h=="#"&&(w.fragment="",x=sB)}else B+=II(h,eLt);break;case U8t:h=="?"?(w.query="",x=_N):h=="#"?(w.fragment="",x=sB):h!=g6&&(w.path[0]+=II(h,ZAe));break;case _N:i||h!="#"?h!=g6&&(h=="'"&&w.isSpecial()?w.query+="%27":w.query+=h=="#"?"%23":II(h,ZAe)):(w.fragment="",x=sB);break;case sB:h!=g6&&(w.fragment+=II(h,ZSt))}C++}},parseHost:function(r){var i,o,l;if(k6(r,0)=="["){if(k6(r,r.length-1)!="]"||(i=function(h){var g,d,b,w,x,C,B,L=[0,0,0,0,0,0,0,0],I=0,P=null,z=0,W=function(){return k6(h,z)};if(W()==":"){if(k6(h,1)!=":")return;z+=2,P=++I}for(;W();){if(I==8)return;if(W()!=":"){for(g=d=0;d<4&&ek(M8t,W());)g=16*g+nAe(W(),16),z++,d++;if(W()=="."){if(d==0||(z-=d,I>6))return;for(b=0;W();){if(w=null,b>0){if(!(W()=="."&&b<4))return;z++}if(!ek(jIe,W()))return;for(;ek(jIe,W());){if(x=nAe(W(),10),w===null)w=x;else{if(w==0)return;w=10*w+x}if(w>255)return;z++}L[I]=256*L[I]+w,++b!=2&&b!=4||I++}if(b!=4)return;break}if(W()==":"){if(z++,!W())return}else if(W())return;L[I++]=g}else{if(P!==null)return;z++,P=++I}}if(P!==null)for(C=I-P,I=7;I!=0&&C>0;)B=L[I],L[I--]=L[P+C-1],L[P+--C]=B;else if(I!=8)return;return L}(BZ(r,1,-1)),!i))return BN;this.host=i}else if(this.isSpecial()){if(r=function(h){var g,d,b=[],w=k3n(x3n(C3n(h),KSt,"."),".");for(g=0;g4)return h;for(d=[],b=0;b1&&k6(w,0)=="0"&&(x=ek(i4n,w)?16:8,w=BZ(w,x==8?1:2)),w==="")C=0;else{if(!ek(x==10?o4n:x==8?a4n:M8t,w))return h;C=nAe(w,x)}p$(d,C)}for(b=0;b=S8t(256,5-g))return null}else if(C>255)return null;for(B=Z3n(d),b=0;b1?arguments[1]:void 0,l=V3n(i,new wQe(r,!1,o));Zu||(i.href=l.serialize(),i.origin=l.getOrigin(),i.protocol=l.getProtocol(),i.username=l.getUsername(),i.password=l.getPassword(),i.host=l.getHost(),i.hostname=l.getHostname(),i.port=l.getPort(),i.pathname=l.getPathname(),i.search=l.getSearch(),i.searchParams=l.getSearchParams(),i.hash=l.getHash())},z2=kj.prototype,p6=function(r,i){return{get:function(){return gge(this)[r]()},set:i&&function(o){return gge(this)[i](o)},configurable:!0,enumerable:!0}};if(Zu&&(A6(z2,"href",p6("serialize","setHref")),A6(z2,"origin",p6("getOrigin")),A6(z2,"protocol",p6("getProtocol","setProtocol")),A6(z2,"username",p6("getUsername","setUsername")),A6(z2,"password",p6("getPassword","setPassword")),A6(z2,"host",p6("getHost","setHost")),A6(z2,"hostname",p6("getHostname","setHostname")),A6(z2,"port",p6("getPort","setPort")),A6(z2,"pathname",p6("getPathname","setPathname")),A6(z2,"search",p6("getSearch","setSearch")),A6(z2,"searchParams",p6("getSearchParams")),A6(z2,"hash",p6("getHash","setHash"))),ty(z2,"toJSON",function(){return gge(this).serialize()},{enumerable:!0}),ty(z2,"toString",function(){return gge(this).serialize()},{enumerable:!0}),qJ){var H8t=qJ.createObjectURL,$8t=qJ.revokeObjectURL;H8t&&ty(kj,"createObjectURL",tg(H8t,qJ)),$8t&&ty(kj,"revokeObjectURL",tg($8t,qJ))}UB(kj,"URL"),ma({global:!0,constructor:!0,forced:!IDe,sham:!Zu},{URL:kj});var Q$=Gc.URL,f4n=il(function(r,i){r.exports=function(){var o=function(ie,J){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,se){ue.__proto__=se}||function(ue,se){for(var Se in se)Object.prototype.hasOwnProperty.call(se,Se)&&(ue[Se]=se[Se])},o(ie,J)};function l(ie,J){if(typeof J!="function"&&J!==null)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function ue(){this.constructor=ie}o(ie,J),ie.prototype=J===null?Object.create(J):(ue.prototype=J.prototype,new ue)}var h=function(){return h=Object.assign||function(ie){for(var J,ue=1,se=arguments.length;ue0&&Se[Se.length-1])||wn[0]!==6&&wn[0]!==2)){it=0;continue}if(wn[0]===3&&(!Se||wn[1]>Se[0]&&wn[1]=55296&&Se<=56319&&ue>10),it%1024+56320)),(Se+1===ue||se.length>16384)&&(Ve+=String.fromCharCode.apply(String,se),se.length=0)}return Ve},I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=typeof Uint8Array>"u"?[]:new Uint8Array(256),z=0;z"u"?[]:new Uint8Array(256),V=0;V>4,Tn[St++]=(15&se)<<4|Se>>2,Tn[St++]=(3&Se)<<6|63&Ve;return wn},G=function(ie){for(var J=ie.length,ue=[],se=0;se>ne,ve=(1<>ne)+32,ee=65536>>de,ye=(1<=0){if(J<55296||J>56319&&J<=65535)return ue=((ue=this.index[J>>ne])<>ne)])<>de),ue=this.index[ue],ue+=J>>ne&ye,ue=((ue=this.index[ue])<"u"?[]:new Uint8Array(256),ct=0;ct<$e.length;ct++)Ye[$e.charCodeAt(ct)]=ct;var ot=50,Qe=1,Le=2,ht=3,Rt=4,Et=5,Rn=7,xt=8,on=9,Kt=10,Xt=11,Vt=12,He=13,lt=14,Ke=15,mn=16,je=17,zt=18,pt=19,sn=20,cn=21,xn=22,nn=23,Qn=24,ln=25,Hn=26,$t=27,_r=28,Lr=29,ti=30,_i=31,ro=32,Js=33,mi=34,Ta=35,lr=36,vr=37,Zr=38,Mr=39,oa=40,jn=41,Xo=42,hr=43,Ya=[9001,65288],So="!",ta="×",Ba="÷",ho=fe("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),mo=[ti,lr],Lo=[Qe,Le,ht,Et],qo=[Kt,xt],cs=[$t,Hn],fa=Lo.concat(qo),qh=[Zr,Mr,oa,mi,Ta],Zs=[Ke,He],tu=function(ie,J){J===void 0&&(J="strict");var ue=[],se=[],Se=[];return ie.forEach(function(Ve,it){var Ft=ho.get(Ve);if(Ft>ot?(Se.push(!0),Ft-=ot):Se.push(!1),["normal","auto","loose"].indexOf(J)!==-1&&[8208,8211,12316,12448].indexOf(Ve)!==-1)return se.push(it),ue.push(mn);if(Ft===Rt||Ft===Xt){if(it===0)return se.push(it),ue.push(ti);var St=ue[it-1];return fa.indexOf(St)===-1?(se.push(se[it-1]),ue.push(St)):(se.push(it),ue.push(ti))}return se.push(it),Ft===_i?ue.push(J==="strict"?cn:vr):Ft===Xo||Ft===Lr?ue.push(ti):Ft===hr?Ve>=131072&&Ve<=196605||Ve>=196608&&Ve<=262141?ue.push(vr):ue.push(ti):void ue.push(Ft)}),[se,ue,Se]},_a=function(ie,J,ue,se){var Se=se[ue];if(Array.isArray(ie)?ie.indexOf(Se)!==-1:ie===Se)for(var Ve=ue;Ve<=se.length;){if((St=se[++Ve])===J)return!0;if(St!==Kt)break}if(Se===Kt)for(Ve=ue;Ve>0;){var it=se[--Ve];if(Array.isArray(ie)?ie.indexOf(it)!==-1:ie===it)for(var Ft=ue;Ft<=se.length;){var St;if((St=se[++Ft])===J)return!0;if(St!==Kt)break}if(it!==Kt)break}return!1},ec=function(ie,J){for(var ue=ie;ue>=0;){var se=J[ue];if(se!==Kt)return se;ue--}return 0},hf=function(ie,J,ue,se,Se){if(ue[se]===0)return ta;var Ve=se-1;if(Array.isArray(Se)&&Se[Ve]===!0)return ta;var it=Ve-1,Ft=Ve+1,St=J[Ve],wn=it>=0?J[it]:0,Tn=J[Ft];if(St===Le&&Tn===ht)return ta;if(Lo.indexOf(St)!==-1)return So;if(Lo.indexOf(Tn)!==-1||qo.indexOf(Tn)!==-1)return ta;if(ec(Ve,J)===xt)return Ba;if(ho.get(ie[Ve])===Xt||(St===ro||St===Js)&&ho.get(ie[Ft])===Xt||St===Rn||Tn===Rn||St===on||[Kt,He,Ke].indexOf(St)===-1&&Tn===on||[je,zt,pt,Qn,_r].indexOf(Tn)!==-1||ec(Ve,J)===xn||_a(nn,xn,Ve,J)||_a([je,zt],cn,Ve,J)||_a(Vt,Vt,Ve,J))return ta;if(St===Kt)return Ba;if(St===nn||Tn===nn)return ta;if(Tn===mn||St===mn)return Ba;if([He,Ke,cn].indexOf(Tn)!==-1||St===lt||wn===lr&&Zs.indexOf(St)!==-1||St===_r&&Tn===lr||Tn===sn||mo.indexOf(Tn)!==-1&&St===ln||mo.indexOf(St)!==-1&&Tn===ln||St===$t&&[vr,ro,Js].indexOf(Tn)!==-1||[vr,ro,Js].indexOf(St)!==-1&&Tn===Hn||mo.indexOf(St)!==-1&&cs.indexOf(Tn)!==-1||cs.indexOf(St)!==-1&&mo.indexOf(Tn)!==-1||[$t,Hn].indexOf(St)!==-1&&(Tn===ln||[xn,Ke].indexOf(Tn)!==-1&&J[Ft+1]===ln)||[xn,Ke].indexOf(St)!==-1&&Tn===ln||St===ln&&[ln,_r,Qn].indexOf(Tn)!==-1)return ta;if([ln,_r,Qn,je,zt].indexOf(Tn)!==-1)for(var yr=Ve;yr>=0;){if((kr=J[yr])===ln)return ta;if([_r,Qn].indexOf(kr)===-1)break;yr--}if([$t,Hn].indexOf(Tn)!==-1)for(yr=[je,zt].indexOf(St)!==-1?it:Ve;yr>=0;){var kr;if((kr=J[yr])===ln)return ta;if([_r,Qn].indexOf(kr)===-1)break;yr--}if(Zr===St&&[Zr,Mr,mi,Ta].indexOf(Tn)!==-1||[Mr,mi].indexOf(St)!==-1&&[Mr,oa].indexOf(Tn)!==-1||[oa,Ta].indexOf(St)!==-1&&Tn===oa||qh.indexOf(St)!==-1&&[sn,Hn].indexOf(Tn)!==-1||qh.indexOf(Tn)!==-1&&St===$t||mo.indexOf(St)!==-1&&mo.indexOf(Tn)!==-1||St===Qn&&mo.indexOf(Tn)!==-1||mo.concat(ln).indexOf(St)!==-1&&Tn===xn&&Ya.indexOf(ie[Ft])===-1||mo.concat(ln).indexOf(Tn)!==-1&&St===zt)return ta;if(St===jn&&Tn===jn){for(var Li=ue[Ve],Gi=1;Li>0&&J[--Li]===jn;)Gi++;if(Gi%2!=0)return ta}return St===ro&&Tn===Js?ta:Ba},Rl=function(ie,J){J||(J={lineBreak:"normal",wordBreak:"normal"});var ue=tu(ie,J.lineBreak),se=ue[0],Se=ue[1],Ve=ue[2];J.wordBreak!=="break-all"&&J.wordBreak!=="break-word"||(Se=Se.map(function(Ft){return[ln,ti,Xo].indexOf(Ft)!==-1?vr:Ft}));var it=J.wordBreak==="keep-all"?Ve.map(function(Ft,St){return Ft&&ie[St]>=19968&&ie[St]<=40959}):void 0;return[se,Se,it]},nu=function(){function ie(J,ue,se,Se){this.codePoints=J,this.required=ue===So,this.start=se,this.end=Se}return ie.prototype.slice=function(){return L.apply(void 0,this.codePoints.slice(this.start,this.end))},ie}(),Oh=function(ie,J){var ue=B(ie),se=Rl(ue,J),Se=se[0],Ve=se[1],it=se[2],Ft=ue.length,St=0,wn=0;return{next:function(){if(wn>=Ft)return{done:!0,value:null};for(var Tn=ta;wn=ig&&ie<=57},qc=function(ie){return ie>=55296&&ie<=57343},Df=function(ie){return uc(ie)||ie>=RA&&ie<=Sa||ie>=r1&&ie<=bh},i1=function(ie){return ie>=r1&&ie<=Pp},Md=function(ie){return ie>=RA&&ie<=Us},Rh=function(ie){return i1(ie)||Md(ie)},iA=function(ie){return ie>=Ua},tn=function(ie){return ie===ws||ie===Es||ie===Ei},zi=function(ie){return Rh(ie)||iA(ie)||ie===Br},La=function(ie){return zi(ie)||uc(ie)||ie===bo},Yc=function(ie){return ie>=n1&&ie<=gl||ie===Mc||ie>=nc&&ie<=Fm||ie===ff},Hl=function(ie,J){return ie===Fs&&J!==ws},wh=function(ie,J,ue){return ie===bo?zi(J)||Hl(J,ue):!!zi(ie)||!(ie!==Fs||!Hl(ie,J))},Uh=function(ie,J,ue){return ie===Ic||ie===bo?!!uc(J)||J===vc&&uc(ue):uc(ie===vc?J:ie)},Rp=function(ie){var J=0,ue=1;ie[J]!==Ic&&ie[J]!==bo||(ie[J]===bo&&(ue=-1),J++);for(var se=[];uc(ie[J]);)se.push(ie[J++]);var Se=se.length?parseInt(L.apply(void 0,se),10):0;ie[J]===vc&&J++;for(var Ve=[];uc(ie[J]);)Ve.push(ie[J++]);var it=Ve.length,Ft=it?parseInt(L.apply(void 0,Ve),10):0;ie[J]!==rn&&ie[J]!==Mb||J++;var St=1;ie[J]!==Ic&&ie[J]!==bo||(ie[J]===bo&&(St=-1),J++);for(var wn=[];uc(ie[J]);)wn.push(ie[J++]);var Tn=wn.length?parseInt(L.apply(void 0,wn),10):0;return ue*(Se+Ft*Math.pow(10,-it))*Math.pow(10,St*Tn)},T0={type:2},Of={type:3},M6={type:4},b9={type:13},Bk={type:8},qB={type:21},w9={type:9},s4={type:10},v9={type:11},cy={type:12},YB={type:14},F6={type:23},y9={type:1},JB={type:25},x9={type:24},tw={type:26},Fb={type:27},k9={type:28},nw={type:29},rw={type:31},iw={type:32},Jc=function(){function ie(){this._value=[]}return ie.prototype.write=function(J){this._value=this._value.concat(B(J))},ie.prototype.read=function(){for(var J=[],ue=this.consumeToken();ue!==iw;)J.push(ue),ue=this.consumeToken();return J},ie.prototype.consumeToken=function(){var J=this.consumeCodePoint();switch(J){case Nh:return this.consumeStringToken(Nh);case Qh:var ue=this.peekCodePoint(0),se=this.peekCodePoint(1),Se=this.peekCodePoint(2);if(La(ue)||Hl(se,Se)){var Ve=wh(ue,se,Se)?kl:Wc;return{type:5,value:this.consumeName(),flags:Ve}}break;case Rs:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),b9;break;case $i:return this.consumeStringToken($i);case ts:return T0;case ar:return Of;case eo:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),YB;break;case Ic:if(Uh(J,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(J),this.consumeNumericToken();break;case Ku:return M6;case bo:var it=J,Ft=this.peekCodePoint(0),St=this.peekCodePoint(1);if(Uh(it,Ft,St))return this.reconsumeCodePoint(J),this.consumeNumericToken();if(wh(it,Ft,St))return this.reconsumeCodePoint(J),this.consumeIdentLikeToken();if(Ft===bo&&St===yn)return this.consumeCodePoint(),this.consumeCodePoint(),x9;break;case vc:if(Uh(J,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(J),this.consumeNumericToken();break;case ru:if(this.peekCodePoint(0)===eo)for(this.consumeCodePoint();;){var wn=this.consumeCodePoint();if(wn===eo&&(wn=this.consumeCodePoint())===ru)return this.consumeToken();if(wn===zu)return this.consumeToken()}break;case Al:return tw;case m1:return Fb;case Ph:if(this.peekCodePoint(0)===Yt&&this.peekCodePoint(1)===bo&&this.peekCodePoint(2)===bo)return this.consumeCodePoint(),this.consumeCodePoint(),JB;break;case tc:var Tn=this.peekCodePoint(0),yr=this.peekCodePoint(1),kr=this.peekCodePoint(2);if(wh(Tn,yr,kr))return{type:7,value:this.consumeName()};break;case co:return k9;case Fs:if(Hl(J,this.peekCodePoint(0)))return this.reconsumeCodePoint(J),this.consumeIdentLikeToken();break;case p1:return nw;case Kn:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),Bk;break;case Nr:return v9;case Qr:return cy;case ed:case da:var Li=this.peekCodePoint(0),Gi=this.peekCodePoint(1);return Li!==Ic||!Df(Gi)&&Gi!==Gr||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(J),this.consumeIdentLikeToken();case Ki:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),w9;if(this.peekCodePoint(0)===Ki)return this.consumeCodePoint(),qB;break;case sa:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),s4;break;case zu:return iw}return tn(J)?(this.consumeWhiteSpace(),rw):uc(J)?(this.reconsumeCodePoint(J),this.consumeNumericToken()):zi(J)?(this.reconsumeCodePoint(J),this.consumeIdentLikeToken()):{type:6,value:L(J)}},ie.prototype.consumeCodePoint=function(){var J=this._value.shift();return J===void 0?-1:J},ie.prototype.reconsumeCodePoint=function(J){this._value.unshift(J)},ie.prototype.peekCodePoint=function(J){return J>=this._value.length?-1:this._value[J]},ie.prototype.consumeUnicodeRangeToken=function(){for(var J=[],ue=this.consumeCodePoint();Df(ue)&&J.length<6;)J.push(ue),ue=this.consumeCodePoint();for(var se=!1;ue===Gr&&J.length<6;)J.push(ue),ue=this.consumeCodePoint(),se=!0;if(se)return{type:30,start:parseInt(L.apply(void 0,J.map(function(it){return it===Gr?ig:it})),16),end:parseInt(L.apply(void 0,J.map(function(it){return it===Gr?Sa:it})),16)};var Se=parseInt(L.apply(void 0,J),16);if(this.peekCodePoint(0)===bo&&Df(this.peekCodePoint(1))){this.consumeCodePoint(),ue=this.consumeCodePoint();for(var Ve=[];Df(ue)&&Ve.length<6;)Ve.push(ue),ue=this.consumeCodePoint();return{type:30,start:Se,end:parseInt(L.apply(void 0,Ve),16)}}return{type:30,start:Se,end:Se}},ie.prototype.consumeIdentLikeToken=function(){var J=this.consumeName();return J.toLowerCase()==="url"&&this.peekCodePoint(0)===ts?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ts?(this.consumeCodePoint(),{type:19,value:J}):{type:20,value:J}},ie.prototype.consumeUrlToken=function(){var J=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===zu)return{type:22,value:""};var ue=this.peekCodePoint(0);if(ue===$i||ue===Nh){var se=this.consumeStringToken(this.consumeCodePoint());return se.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===zu||this.peekCodePoint(0)===ar)?(this.consumeCodePoint(),{type:22,value:se.value}):(this.consumeBadUrlRemnants(),F6)}for(;;){var Se=this.consumeCodePoint();if(Se===zu||Se===ar)return{type:22,value:L.apply(void 0,J)};if(tn(Se))return this.consumeWhiteSpace(),this.peekCodePoint(0)===zu||this.peekCodePoint(0)===ar?(this.consumeCodePoint(),{type:22,value:L.apply(void 0,J)}):(this.consumeBadUrlRemnants(),F6);if(Se===Nh||Se===$i||Se===ts||Yc(Se))return this.consumeBadUrlRemnants(),F6;if(Se===Fs){if(!Hl(Se,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),F6;J.push(this.consumeEscapedCodePoint())}else J.push(Se)}},ie.prototype.consumeWhiteSpace=function(){for(;tn(this.peekCodePoint(0));)this.consumeCodePoint()},ie.prototype.consumeBadUrlRemnants=function(){for(;;){var J=this.consumeCodePoint();if(J===ar||J===zu)return;Hl(J,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ie.prototype.consumeStringSlice=function(J){for(var ue=5e4,se="";J>0;){var Se=Math.min(ue,J);se+=L.apply(void 0,this._value.splice(0,Se)),J-=Se}return this._value.shift(),se},ie.prototype.consumeStringToken=function(J){for(var ue="",se=0;;){var Se=this._value[se];if(Se===zu||Se===void 0||Se===J)return{type:0,value:ue+=this.consumeStringSlice(se)};if(Se===ws)return this._value.splice(0,se),y9;if(Se===Fs){var Ve=this._value[se+1];Ve!==zu&&Ve!==void 0&&(Ve===ws?(ue+=this.consumeStringSlice(se),se=-1,this._value.shift()):Hl(Se,Ve)&&(ue+=this.consumeStringSlice(se),ue+=L(this.consumeEscapedCodePoint()),se=-1))}se++}},ie.prototype.consumeNumber=function(){var J=[],ue=Lc,se=this.peekCodePoint(0);for(se!==Ic&&se!==bo||J.push(this.consumeCodePoint());uc(this.peekCodePoint(0));)J.push(this.consumeCodePoint());se=this.peekCodePoint(0);var Se=this.peekCodePoint(1);if(se===vc&&uc(Se))for(J.push(this.consumeCodePoint(),this.consumeCodePoint()),ue=Ul;uc(this.peekCodePoint(0));)J.push(this.consumeCodePoint());se=this.peekCodePoint(0),Se=this.peekCodePoint(1);var Ve=this.peekCodePoint(2);if((se===rn||se===Mb)&&((Se===Ic||Se===bo)&&uc(Ve)||uc(Se)))for(J.push(this.consumeCodePoint(),this.consumeCodePoint()),ue=Ul;uc(this.peekCodePoint(0));)J.push(this.consumeCodePoint());return[Rp(J),ue]},ie.prototype.consumeNumericToken=function(){var J=this.consumeNumber(),ue=J[0],se=J[1],Se=this.peekCodePoint(0),Ve=this.peekCodePoint(1),it=this.peekCodePoint(2);return wh(Se,Ve,it)?{type:15,number:ue,flags:se,unit:this.consumeName()}:Se===ju?(this.consumeCodePoint(),{type:16,number:ue,flags:se}):{type:17,number:ue,flags:se}},ie.prototype.consumeEscapedCodePoint=function(){var J=this.consumeCodePoint();if(Df(J)){for(var ue=L(J);Df(this.peekCodePoint(0))&&ue.length<6;)ue+=L(this.consumeCodePoint());tn(this.peekCodePoint(0))&&this.consumeCodePoint();var se=parseInt(ue,16);return se===0||qc(se)||se>1114111?Yo:se}return J===zu?Yo:J},ie.prototype.consumeName=function(){for(var J="";;){var ue=this.consumeCodePoint();if(La(ue))J+=L(ue);else{if(!Hl(ue,this.peekCodePoint(0)))return this.reconsumeCodePoint(ue),J;J+=L(this.consumeEscapedCodePoint())}}},ie}(),aw=function(){function ie(J){this._tokens=J}return ie.create=function(J){var ue=new Jc;return ue.write(J),new ie(ue.read())},ie.parseValue=function(J){return ie.create(J).parseComponentValue()},ie.parseValues=function(J){return ie.create(J).parseComponentValues()},ie.prototype.parseComponentValue=function(){for(var J=this.consumeToken();J.type===31;)J=this.consumeToken();if(J.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(J);var ue=this.consumeComponentValue();do J=this.consumeToken();while(J.type===31);if(J.type===32)return ue;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ie.prototype.parseComponentValues=function(){for(var J=[];;){var ue=this.consumeComponentValue();if(ue.type===32)return J;J.push(ue),J.push()}},ie.prototype.consumeComponentValue=function(){var J=this.consumeToken();switch(J.type){case 11:case 28:case 2:return this.consumeSimpleBlock(J.type);case 19:return this.consumeFunction(J)}return J},ie.prototype.consumeSimpleBlock=function(J){for(var ue={type:J,values:[]},se=this.consumeToken();;){if(se.type===32||Sk(se,J))return ue;this.reconsumeToken(se),ue.values.push(this.consumeComponentValue()),se=this.consumeToken()}},ie.prototype.consumeFunction=function(J){for(var ue={name:J.value,values:[],type:18};;){var se=this.consumeToken();if(se.type===32||se.type===3)return ue;this.reconsumeToken(se),ue.values.push(this.consumeComponentValue())}},ie.prototype.consumeToken=function(){var J=this._tokens.shift();return J===void 0?iw:J},ie.prototype.reconsumeToken=function(J){this._tokens.unshift(J)},ie}(),ly=function(ie){return ie.type===15},UA=function(ie){return ie.type===17},hc=function(ie){return ie.type===20},C9=function(ie){return ie.type===0},_k=function(ie,J){return hc(ie)&&ie.value===J},D6=function(ie){return ie.type!==31},ow=function(ie){return ie.type!==31&&ie.type!==4},B0=function(ie){var J=[],ue=[];return ie.forEach(function(se){if(se.type===4){if(ue.length===0)throw new Error("Error parsing function args, zero tokens for arg");return J.push(ue),void(ue=[])}se.type!==31&&ue.push(se)}),ue.length&&J.push(ue),J},Sk=function(ie,J){return J===11&&ie.type===12||J===28&&ie.type===29||J===2&&ie.type===3},Up=function(ie){return ie.type===17||ie.type===15},Yh=function(ie){return ie.type===16||Up(ie)},sw=function(ie){return ie.length>1?[ie[0],ie[1]]:[ie[0]]},Nf={type:17,number:0,flags:Lc},ag={type:16,number:50,flags:Lc},og={type:16,number:100,flags:Lc},cw=function(ie,J,ue){var se=ie[0],Se=ie[1];return[eh(se,J),eh(Se!==void 0?Se:se,ue)]},eh=function(ie,J){if(ie.type===16)return ie.number/100*J;if(ly(ie))switch(ie.unit){case"rem":case"em":return 16*ie.number;default:return ie.number}return ie.number},Gg="deg",Db="grad",O6="rad",E9="turn",N1={name:"angle",parse:function(ie,J){if(J.type===15)switch(J.unit){case Gg:return Math.PI*J.number/180;case Db:return Math.PI/200*J.number;case O6:return J.number;case E9:return 2*Math.PI*J.number}throw new Error("Unsupported angle type")}},Hp=function(ie){return ie.type===15&&(ie.unit===Gg||ie.unit===Db||ie.unit===O6||ie.unit===E9)},Lk=function(ie){switch(ie.filter(hc).map(function(J){return J.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Nf,Nf];case"to top":case"bottom":return aA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Nf,og];case"to right":case"left":return aA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[og,og];case"to bottom":case"top":return aA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[og,Nf];case"to left":case"right":return aA(270)}return 0},aA=function(ie){return Math.PI*ie/180},HA={name:"color",parse:function(ie,J){if(J.type===18){var ue=l4[J.name];if(ue===void 0)throw new Error('Attempting to parse an unsupported color function "'+J.name+'"');return ue(ie,J.values)}if(J.type===5){if(J.value.length===3){var se=J.value.substring(0,1),Se=J.value.substring(1,2),Ve=J.value.substring(2,3);return _0(parseInt(se+se,16),parseInt(Se+Se,16),parseInt(Ve+Ve,16),1)}if(J.value.length===4){se=J.value.substring(0,1),Se=J.value.substring(1,2),Ve=J.value.substring(2,3);var it=J.value.substring(3,4);return _0(parseInt(se+se,16),parseInt(Se+Se,16),parseInt(Ve+Ve,16),parseInt(it+it,16)/255)}if(J.value.length===6)return se=J.value.substring(0,2),Se=J.value.substring(2,4),Ve=J.value.substring(4,6),_0(parseInt(se,16),parseInt(Se,16),parseInt(Ve,16),1);if(J.value.length===8)return se=J.value.substring(0,2),Se=J.value.substring(2,4),Ve=J.value.substring(4,6),it=J.value.substring(6,8),_0(parseInt(se,16),parseInt(Se,16),parseInt(Ve,16),parseInt(it,16)/255)}if(J.type===20){var Ft=$A[J.value.toUpperCase()];if(Ft!==void 0)return Ft}return $A.TRANSPARENT}},td=function(ie){return(255&ie)==0},mu=function(ie){var J=255&ie,ue=255&ie>>8,se=255&ie>>16,Se=255&ie>>24;return J<255?"rgba("+Se+","+se+","+ue+","+J/255+")":"rgb("+Se+","+se+","+ue+")"},_0=function(ie,J,ue,se){return(ie<<24|J<<16|ue<<8|Math.round(255*se)<<0)>>>0},c4=function(ie,J){if(ie.type===17)return ie.number;if(ie.type===16){var ue=J===3?1:255;return J===3?ie.number/100*ue:Math.round(ie.number/100*ue)}return 0},Dm=function(ie,J){var ue=J.filter(ow);if(ue.length===3){var se=ue.map(c4),Se=se[0],Ve=se[1],it=se[2];return _0(Se,Ve,it,1)}if(ue.length===4){var Ft=ue.map(c4),St=(Se=Ft[0],Ve=Ft[1],it=Ft[2],Ft[3]);return _0(Se,Ve,it,St)}return 0};function lw(ie,J,ue){return ue<0&&(ue+=1),ue>=1&&(ue-=1),ue<1/6?(J-ie)*ue*6+ie:ue<.5?J:ue<2/3?6*(J-ie)*(2/3-ue)+ie:ie}var T9=function(ie,J){var ue=J.filter(ow),se=ue[0],Se=ue[1],Ve=ue[2],it=ue[3],Ft=(se.type===17?aA(se.number):N1.parse(ie,se))/(2*Math.PI),St=Yh(Se)?Se.number/100:0,wn=Yh(Ve)?Ve.number/100:0,Tn=it!==void 0&&Yh(it)?eh(it,1):1;if(St===0)return _0(255*wn,255*wn,255*wn,1);var yr=wn<=.5?wn*(St+1):wn+St-wn*St,kr=2*wn-yr,Li=lw(kr,yr,Ft+1/3),Gi=lw(kr,yr,Ft),Ga=lw(kr,yr,Ft-1/3);return _0(255*Li,255*Gi,255*Ga,Tn)},l4={hsl:T9,hsla:T9,rgb:Dm,rgba:Dm},a1=function(ie,J){return HA.parse(ie,aw.create(J).parseComponentValue())},$A={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},N6={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,J){return J.map(function(ue){if(hc(ue))switch(ue.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},uy={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ob=function(ie,J){var ue=HA.parse(ie,J[0]),se=J[1];return se&&Yh(se)?{color:ue,stop:se}:{color:ue,stop:null}},hy=function(ie,J){var ue=ie[0],se=ie[ie.length-1];ue.stop===null&&(ue.stop=Nf),se.stop===null&&(se.stop=og);for(var Se=[],Ve=0,it=0;itVe?Se.push(St):Se.push(Ve),Ve=St}else Se.push(null)}var wn=null;for(it=0;itVe.optimumDistance)?{optimumCorner:it,optimumDistance:wn}:Ve},{optimumDistance:Se?1/0:-1/0,optimumCorner:null}).optimumCorner},Q6=function(ie,J,ue,se,Se){var Ve=0,it=0;switch(ie.size){case 0:ie.shape===0?Ve=it=Math.min(Math.abs(J),Math.abs(J-se),Math.abs(ue),Math.abs(ue-Se)):ie.shape===1&&(Ve=Math.min(Math.abs(J),Math.abs(J-se)),it=Math.min(Math.abs(ue),Math.abs(ue-Se)));break;case 2:if(ie.shape===0)Ve=it=Math.min(Qf(J,ue),Qf(J,ue-Se),Qf(J-se,ue),Qf(J-se,ue-Se));else if(ie.shape===1){var Ft=Math.min(Math.abs(ue),Math.abs(ue-Se))/Math.min(Math.abs(J),Math.abs(J-se)),St=Ik(se,Se,J,ue,!0),wn=St[0],Tn=St[1];it=Ft*(Ve=Qf(wn-J,(Tn-ue)/Ft))}break;case 1:ie.shape===0?Ve=it=Math.max(Math.abs(J),Math.abs(J-se),Math.abs(ue),Math.abs(ue-Se)):ie.shape===1&&(Ve=Math.max(Math.abs(J),Math.abs(J-se)),it=Math.max(Math.abs(ue),Math.abs(ue-Se)));break;case 3:if(ie.shape===0)Ve=it=Math.max(Qf(J,ue),Qf(J,ue-Se),Qf(J-se,ue),Qf(J-se,ue-Se));else if(ie.shape===1){Ft=Math.max(Math.abs(ue),Math.abs(ue-Se))/Math.max(Math.abs(J),Math.abs(J-se));var yr=Ik(se,Se,J,ue,!1);wn=yr[0],Tn=yr[1],it=Ft*(Ve=Qf(wn-J,(Tn-ue)/Ft))}}return Array.isArray(ie.size)&&(Ve=eh(ie.size[0],se),it=ie.size.length===2?eh(ie.size[1],Se):Ve),[Ve,it]},Nb=function(ie,J){var ue=aA(180),se=[];return B0(J).forEach(function(Se,Ve){if(Ve===0){var it=Se[0];if(it.type===20&&it.value==="to")return void(ue=Lk(Se));if(Hp(it))return void(ue=N1.parse(ie,it))}var Ft=Ob(ie,Se);se.push(Ft)}),{angle:ue,stops:se,type:1}},fy=function(ie,J){var ue=aA(180),se=[];return B0(J).forEach(function(Se,Ve){if(Ve===0){var it=Se[0];if(it.type===20&&["top","left","right","bottom"].indexOf(it.value)!==-1)return void(ue=Lk(Se));if(Hp(it))return void(ue=(N1.parse(ie,it)+aA(270))%aA(360))}var Ft=Ob(ie,Se);se.push(Ft)}),{angle:ue,stops:se,type:1}},uw=function(ie,J){var ue=aA(180),se=[],Se=1,Ve=0,it=3,Ft=[];return B0(J).forEach(function(St,wn){var Tn=St[0];if(wn===0){if(hc(Tn)&&Tn.value==="linear")return void(Se=1);if(hc(Tn)&&Tn.value==="radial")return void(Se=2)}if(Tn.type===18){if(Tn.name==="from"){var yr=HA.parse(ie,Tn.values[0]);se.push({stop:Nf,color:yr})}else if(Tn.name==="to")yr=HA.parse(ie,Tn.values[0]),se.push({stop:og,color:yr});else if(Tn.name==="color-stop"){var kr=Tn.values.filter(ow);if(kr.length===2){yr=HA.parse(ie,kr[1]);var Li=kr[0];UA(Li)&&se.push({stop:{type:16,number:100*Li.number,flags:Li.flags},color:yr})}}}}),Se===1?{angle:(ue+aA(180))%aA(360),stops:se,type:Se}:{size:it,shape:Ve,stops:se,position:Ft,type:Se}},P6="closest-side",R6="farthest-side",_9="closest-corner",S9="farthest-corner",hw="circle",fw="ellipse",h4="cover",U6="contain",L9=function(ie,J){var ue=0,se=3,Se=[],Ve=[];return B0(J).forEach(function(it,Ft){var St=!0;if(Ft===0){var wn=!1;St=it.reduce(function(yr,kr){if(wn)if(hc(kr))switch(kr.value){case"center":return Ve.push(ag),yr;case"top":case"left":return Ve.push(Nf),yr;case"right":case"bottom":return Ve.push(og),yr}else(Yh(kr)||Up(kr))&&Ve.push(kr);else if(hc(kr))switch(kr.value){case hw:return ue=0,!1;case fw:return ue=1,!1;case"at":return wn=!0,!1;case P6:return se=0,!1;case h4:case R6:return se=1,!1;case U6:case _9:return se=2,!1;case S9:return se=3,!1}else if(Up(kr)||Yh(kr))return Array.isArray(se)||(se=[]),se.push(kr),!1;return yr},St)}if(St){var Tn=Ob(ie,it);Se.push(Tn)}}),{size:se,shape:ue,stops:Se,position:Ve,type:2}},dw=function(ie,J){var ue=0,se=3,Se=[],Ve=[];return B0(J).forEach(function(it,Ft){var St=!0;if(Ft===0?St=it.reduce(function(Tn,yr){if(hc(yr))switch(yr.value){case"center":return Ve.push(ag),!1;case"top":case"left":return Ve.push(Nf),!1;case"right":case"bottom":return Ve.push(og),!1}else if(Yh(yr)||Up(yr))return Ve.push(yr),!1;return Tn},St):Ft===1&&(St=it.reduce(function(Tn,yr){if(hc(yr))switch(yr.value){case hw:return ue=0,!1;case fw:return ue=1,!1;case U6:case P6:return se=0,!1;case R6:return se=1,!1;case _9:return se=2,!1;case h4:case S9:return se=3,!1}else if(Up(yr)||Yh(yr))return Array.isArray(se)||(se=[]),se.push(yr),!1;return Tn},St)),St){var wn=Ob(ie,it);Se.push(wn)}}),{size:se,shape:ue,stops:Se,position:Ve,type:2}},Aw=function(ie){return ie.type===1},gw=function(ie){return ie.type===2},nd={name:"image",parse:function(ie,J){if(J.type===22){var ue={url:J.value,type:0};return ie.cache.addImage(J.value),ue}if(J.type===18){var se=f4[J.name];if(se===void 0)throw new Error('Attempting to parse an unsupported image function "'+J.name+'"');return se(ie,J.values)}throw new Error("Unsupported image type "+J.type)}};function Qb(ie){return!(ie.type===20&&ie.value==="none"||ie.type===18&&!f4[ie.name])}var jA,f4={"linear-gradient":Nb,"-moz-linear-gradient":fy,"-ms-linear-gradient":fy,"-o-linear-gradient":fy,"-webkit-linear-gradient":fy,"radial-gradient":L9,"-moz-radial-gradient":dw,"-ms-radial-gradient":dw,"-o-radial-gradient":dw,"-webkit-radial-gradient":dw,"-webkit-gradient":uw},ZB={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ie,J){if(J.length===0)return[];var ue=J[0];return ue.type===20&&ue.value==="none"?[]:J.filter(function(se){return ow(se)&&Qb(se)}).map(function(se){return nd.parse(ie,se)})}},Mk={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,J){return J.map(function(ue){if(hc(ue))switch(ue.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},dy={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ie,J){return B0(J).map(function(ue){return ue.filter(Yh)}).map(sw)}},Fk={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ie,J){return B0(J).map(function(ue){return ue.filter(hc).map(function(se){return se.value}).join(" ")}).map(I9)}},I9=function(ie){switch(ie){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(ie){ie.AUTO="auto",ie.CONTAIN="contain",ie.COVER="cover"})(jA||(jA={}));var pw,d4={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ie,J){return B0(J).map(function(ue){return ue.filter(Pb)})}},Pb=function(ie){return hc(ie)||Yh(ie)},Rb=function(ie){return{name:"border-"+ie+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},M9=Rb("top"),A4=Rb("right"),Om=Rb("bottom"),Ay=Rb("left"),gy=function(ie){return{name:"border-radius-"+ie,initialValue:"0 0",prefix:!1,type:1,parse:function(J,ue){return sw(ue.filter(Yh))}}},g4=gy("top-left"),e_=gy("top-right"),t_=gy("bottom-right"),n_=gy("bottom-left"),mw=function(ie){return{name:"border-"+ie+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(J,ue){switch(ue){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},H6=mw("top"),py=mw("right"),p4=mw("bottom"),r_=mw("left"),bw=function(ie){return{name:"border-"+ie+"-width",initialValue:"0",type:0,prefix:!1,parse:function(J,ue){return ly(ue)?ue.number:0}}},F9=bw("top"),my=bw("right"),D9=bw("bottom"),ww=bw("left"),m4={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vw={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ie,J){return J==="rtl"?1:0}},by={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ie,J){return J.filter(hc).reduce(function(ue,se){return ue|Nm(se.value)},0)}},Nm=function(ie){switch(ie){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},O9={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ie,J){switch(J){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},N9={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ie,J){return J.type===20&&J.value==="normal"?0:J.type===17||J.type===15?J.number:0}};(function(ie){ie.NORMAL="normal",ie.STRICT="strict"})(pw||(pw={}));var yw,i_={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ie,J){return J==="strict"?pw.STRICT:pw.NORMAL}},xw={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ub=function(ie,J){return hc(ie)&&ie.value==="normal"?1.2*J:ie.type===17?J*ie.number:Yh(ie)?eh(ie,J):J},a_={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ie,J){return J.type===20&&J.value==="none"?null:nd.parse(ie,J)}},o_={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ie,J){return J==="inside"?0:1}},Dk={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ie,J){switch(J){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}}},b4=function(ie){return{name:"margin-"+ie,initialValue:"0",prefix:!1,type:4}},s_=b4("top"),Q9=b4("right"),KA=b4("bottom"),b1=b4("left"),Fd={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ie,J){return J.filter(hc).map(function(ue){switch(ue.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},df={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ie,J){return J==="break-word"?"break-word":"normal"}},Vg=function(ie){return{name:"padding-"+ie,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},P9=Vg("top"),w4=Vg("right"),R9=Vg("bottom"),U9=Vg("left"),Qm={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ie,J){switch(J){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},$6={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ie,J){switch(J){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ok={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ie,J){return J.length===1&&_k(J[0],"none")?[]:B0(J).map(function(ue){for(var se={color:$A.TRANSPARENT,offsetX:Nf,offsetY:Nf,blur:Nf},Se=0,Ve=0;Ve1?1:0],this.overflowWrap=to(J,df,ue.overflowWrap),this.paddingTop=to(J,P9,ue.paddingTop),this.paddingRight=to(J,w4,ue.paddingRight),this.paddingBottom=to(J,R9,ue.paddingBottom),this.paddingLeft=to(J,U9,ue.paddingLeft),this.paintOrder=to(J,zb,ue.paintOrder),this.position=to(J,$6,ue.position),this.textAlign=to(J,Qm,ue.textAlign),this.textDecorationColor=to(J,l_,(se=ue.textDecorationColor)!==null&&se!==void 0?se:ue.color),this.textDecorationLine=to(J,K9,(Se=ue.textDecorationLine)!==null&&Se!==void 0?Se:ue.textDecoration),this.textShadow=to(J,Ok,ue.textShadow),this.textTransform=to(J,j6,ue.textTransform),this.transform=to(J,H9,ue.transform),this.transformOrigin=to(J,$9,ue.transformOrigin),this.visibility=to(J,$b,ue.visibility),this.webkitTextStrokeColor=to(J,X9,ue.webkitTextStrokeColor),this.webkitTextStrokeWidth=to(J,G9,ue.webkitTextStrokeWidth),this.wordBreak=to(J,c_,ue.wordBreak),this.zIndex=to(J,z6,ue.zIndex)}return ie.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ie.prototype.isTransparent=function(){return td(this.backgroundColor)},ie.prototype.isTransformed=function(){return this.transform!==null},ie.prototype.isPositioned=function(){return this.position!==0},ie.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ie.prototype.isFloating=function(){return this.float!==0},ie.prototype.isInlineLevel=function(){return Af(this.display,4)||Af(this.display,33554432)||Af(this.display,268435456)||Af(this.display,536870912)||Af(this.display,67108864)||Af(this.display,134217728)},ie}(),V6=function(){function ie(J,ue){this.content=to(J,X6,ue.content),this.quotes=to(J,v4,ue.quotes)}return ie}(),y4=function(){function ie(J,ue){this.counterIncrement=to(J,z9,ue.counterIncrement),this.counterReset=to(J,u_,ue.counterReset)}return ie}(),to=function(ie,J,ue){var se=new Jc,Se=ue!=null?ue.toString():J.initialValue;se.write(Se);var Ve=new aw(se.read());switch(J.type){case 2:var it=Ve.parseComponentValue();return J.parse(ie,hc(it)?it.value:J.initialValue);case 0:return J.parse(ie,Ve.parseComponentValue());case 1:return J.parse(ie,Ve.parseComponentValues());case 4:return Ve.parseComponentValue();case 3:switch(J.format){case"angle":return N1.parse(ie,Ve.parseComponentValue());case"color":return HA.parse(ie,Ve.parseComponentValue());case"image":return nd.parse(ie,Ve.parseComponentValue());case"length":var Ft=Ve.parseComponentValue();return Up(Ft)?Ft:Nf;case"length-percentage":var St=Ve.parseComponentValue();return Yh(St)?St:Nf;case"time":return zA.parse(ie,Ve.parseComponentValue())}}},f_="data-html2canvas-debug",Uk=function(ie){switch(ie.getAttribute(f_)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},W6=function(ie,J){var ue=Uk(ie);return ue===1||J===ue},jp=function(){function ie(J,ue){this.context=J,this.textNodes=[],this.elements=[],this.flags=0,W6(ue,3),this.styles=new h_(J,window.getComputedStyle(ue,null)),Jk(ue)&&(this.styles.animationDuration.some(function(se){return se>0})&&(ue.style.animationDuration="0s"),this.styles.transform!==null&&(ue.style.transform="none")),this.bounds=x(this.context,ue),W6(ue,4)&&(this.flags|=16)}return ie}(),q6="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",x4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k4=typeof Uint8Array>"u"?[]:new Uint8Array(256),Xb=0;Xb>4,Tn[St++]=(15&se)<<4|Se>>2,Tn[St++]=(3&Se)<<6|63&Ve;return wn},wy=function(ie){for(var J=ie.length,ue=[],se=0;se>Kp,jk=(1<>Kp)+32,rd=65536>>C4,Y6=(1<=0){if(J<55296||J>56319&&J<=65535)return ue=((ue=this.index[J>>Kp])<>Kp)])<>C4),ue=this.index[ue],ue+=J>>Kp&Y6,ue=((ue=this.index[ue])<"u"?[]:new Uint8Array(256),yy=0;yy=55296&&Se<=56319&&ue>10),it%1024+56320)),(Se+1===ue||se.length>16384)&&(Ve+=String.fromCharCode.apply(String,se),se.length=0)}return Ve},Z9=Y9(q6),w1="×",Gb="÷",B4=function(ie){return Z9.get(ie)},A_=function(ie,J,ue){var se=ue-2,Se=J[se],Ve=J[ue-1],it=J[ue];if(Ve===J6&&it===Cw)return w1;if(Ve===J6||Ve===Cw||Ve===zk||it===J6||it===Cw||it===zk)return Gb;if(Ve===Ew&&[Ew,Z6,Xk,Cy].indexOf(it)!==-1||!(Ve!==Xk&&Ve!==Z6||it!==Z6&&it!==ex)||(Ve===Cy||Ve===ex)&&it===ex||it===Ey||it===Pm||it===d_||Ve===ky)return w1;if(Ve===Ey&&it===Ty){for(;Se===Pm;)Se=J[--se];if(Se===Ty)return w1}if(Ve===Tw&&it===Tw){for(var Ft=0;Se===Tw;)Ft++,Se=J[--se];if(Ft%2==0)return w1}return Gb},eE=function(ie){var J=J9(ie),ue=J.length,se=0,Se=0,Ve=J.map(B4);return{next:function(){if(se>=ue)return{done:!0,value:null};for(var it=w1;seit.x||Tn.y>it.y;return it=Tn,wn===0||yr});return ie.body.removeChild(J),Ft},oA=function(){return new Image().crossOrigin!==void 0},tE=function(){return typeof new XMLHttpRequest().responseType=="string"},m_=function(ie){var J=new Image,ue=ie.createElement("canvas"),se=ue.getContext("2d");if(!se)return!1;J.src="data:image/svg+xml,";try{se.drawImage(J,0,0),ue.toDataURL()}catch{return!1}return!0},nE=function(ie){return ie[0]===0&&ie[1]===255&&ie[2]===0&&ie[3]===255},b_=function(ie){var J=ie.createElement("canvas"),ue=100;J.width=ue,J.height=ue;var se=J.getContext("2d");if(!se)return Promise.reject(!1);se.fillStyle="rgb(0, 255, 0)",se.fillRect(0,0,ue,ue);var Se=new Image,Ve=J.toDataURL();Se.src=Ve;var it=nx(ue,ue,0,0,Se);return se.fillStyle="red",se.fillRect(0,0,ue,ue),Gk(it).then(function(Ft){se.drawImage(Ft,0,0);var St=se.getImageData(0,0,ue,ue).data;se.fillStyle="red",se.fillRect(0,0,ue,ue);var wn=ie.createElement("div");return wn.style.backgroundImage="url("+Ve+")",wn.style.height=ue+"px",nE(St)?Gk(nx(ue,ue,0,0,wn)):Promise.reject(!1)}).then(function(Ft){return se.drawImage(Ft,0,0),nE(se.getImageData(0,0,ue,ue).data)}).catch(function(){return!1})},nx=function(ie,J,ue,se,Se){var Ve="http://www.w3.org/2000/svg",it=document.createElementNS(Ve,"svg"),Ft=document.createElementNS(Ve,"foreignObject");return it.setAttributeNS(null,"width",ie.toString()),it.setAttributeNS(null,"height",J.toString()),Ft.setAttributeNS(null,"width","100%"),Ft.setAttributeNS(null,"height","100%"),Ft.setAttributeNS(null,"x",ue.toString()),Ft.setAttributeNS(null,"y",se.toString()),Ft.setAttributeNS(null,"externalResourcesRequired","true"),it.appendChild(Ft),Ft.appendChild(Se),it},Gk=function(ie){return new Promise(function(J,ue){var se=new Image;se.onload=function(){return J(se)},se.onerror=ue,se.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},Q1={get SUPPORT_RANGE_BOUNDS(){var ie=p_(document);return Object.defineProperty(Q1,"SUPPORT_RANGE_BOUNDS",{value:ie}),ie},get SUPPORT_WORD_BREAKING(){var ie=Q1.SUPPORT_RANGE_BOUNDS&&tx(document);return Object.defineProperty(Q1,"SUPPORT_WORD_BREAKING",{value:ie}),ie},get SUPPORT_SVG_DRAWING(){var ie=m_(document);return Object.defineProperty(Q1,"SUPPORT_SVG_DRAWING",{value:ie}),ie},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ie=typeof Array.from=="function"&&typeof window.fetch=="function"?b_(document):Promise.resolve(!1);return Object.defineProperty(Q1,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ie}),ie},get SUPPORT_CORS_IMAGES(){var ie=oA();return Object.defineProperty(Q1,"SUPPORT_CORS_IMAGES",{value:ie}),ie},get SUPPORT_RESPONSE_TYPE(){var ie=tE();return Object.defineProperty(Q1,"SUPPORT_RESPONSE_TYPE",{value:ie}),ie},get SUPPORT_CORS_XHR(){var ie="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Q1,"SUPPORT_CORS_XHR",{value:ie}),ie},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ie=!(typeof Intl>"u"||!Intl.Segmenter);return Object.defineProperty(Q1,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ie}),ie}},zp=function(){function ie(J,ue){this.text=J,this.bounds=ue}return ie}(),rE=function(ie,J,ue,se){var Se=_4(J,ue),Ve=[],it=0;return Se.forEach(function(Ft){if(ue.textDecorationLine.length||Ft.trim().length>0)if(Q1.SUPPORT_RANGE_BOUNDS){var St=qg(se,it,Ft.length).getClientRects();if(St.length>1){var wn=Bw(Ft),Tn=0;wn.forEach(function(kr){Ve.push(new zp(kr,w.fromDOMRectList(ie,qg(se,Tn+it,kr.length).getClientRects()))),Tn+=kr.length})}else Ve.push(new zp(Ft,w.fromDOMRectList(ie,St)))}else{var yr=se.splitText(Ft.length);Ve.push(new zp(Ft,w_(ie,se))),se=yr}else Q1.SUPPORT_RANGE_BOUNDS||(se=se.splitText(Ft.length));it+=Ft.length}),Ve},w_=function(ie,J){var ue=J.ownerDocument;if(ue){var se=ue.createElement("html2canvaswrapper");se.appendChild(J.cloneNode(!0));var Se=J.parentNode;if(Se){Se.replaceChild(se,J);var Ve=x(ie,se);return se.firstChild&&Se.replaceChild(se.firstChild,se),Ve}}return w.EMPTY},qg=function(ie,J,ue){var se=ie.ownerDocument;if(!se)throw new Error("Node has no owner document");var Se=se.createRange();return Se.setStart(ie,J),Se.setEnd(ie,J+ue),Se},Bw=function(ie){if(Q1.SUPPORT_NATIVE_TEXT_SEGMENTATION){var J=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(J.segment(ie)).map(function(ue){return ue.segment})}return g_(ie)},rx=function(ie,J){if(Q1.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ue=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ue.segment(ie)).map(function(se){return se.segment})}return v_(ie,J)},_4=function(ie,J){return J.letterSpacing!==0?Bw(ie):rx(ie,J)},Rm=[32,160,4961,65792,65793,4153,4241],v_=function(ie,J){for(var ue,se=Oh(ie,{lineBreak:J.lineBreak,wordBreak:J.overflowWrap==="break-word"?"break-word":J.wordBreak}),Se=[],Ve=function(){if(ue.value){var it=ue.value.slice(),Ft=B(it),St="";Ft.forEach(function(wn){Rm.indexOf(wn)===-1?St+=L(wn):(St.length&&Se.push(St),Se.push(L(wn)),St="")}),St.length&&Se.push(St)}};!(ue=se.next()).done;)Ve();return Se},y_=function(){function ie(J,ue,se){this.text=_y(ue.data,se.textTransform),this.textBounds=rE(J,this.text,se,ue)}return ie}(),_y=function(ie,J){switch(J){case 1:return ie.toLowerCase();case 3:return ie.replace(Vk,iE);case 2:return ie.toUpperCase();default:return ie}},Vk=/(^|\s|:|-|\(|\))([a-z])/g,iE=function(ie,J,ue){return ie.length>0?J+ue.toUpperCase():ie},ix=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.src=se.currentSrc||se.src,Se.intrinsicWidth=se.naturalWidth,Se.intrinsicHeight=se.naturalHeight,Se.context.cache.addImage(Se.src),Se}return l(J,ie),J}(jp),S4=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.canvas=se,Se.intrinsicWidth=se.width,Se.intrinsicHeight=se.height,Se}return l(J,ie),J}(jp),Vb=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this,Ve=new XMLSerializer,it=x(ue,se);return se.setAttribute("width",it.width+"px"),se.setAttribute("height",it.height+"px"),Se.svg="data:image/svg+xml,"+encodeURIComponent(Ve.serializeToString(se)),Se.intrinsicWidth=se.width.baseVal.value,Se.intrinsicHeight=se.height.baseVal.value,Se.context.cache.addImage(Se.svg),Se}return l(J,ie),J}(jp),L4=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.value=se.value,Se}return l(J,ie),J}(jp),Sy=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.start=se.start,Se.reversed=typeof se.reversed=="boolean"&&se.reversed===!0,Se}return l(J,ie),J}(jp),Wk=[{type:15,flags:0,unit:"px",number:3}],x_=[{type:16,flags:0,number:50}],Ly=function(ie){return ie.width>ie.height?new w(ie.left+(ie.width-ie.height)/2,ie.top,ie.height,ie.height):ie.width0)ue.textNodes.push(new y_(ie,Se,ue.styles));else if(Xp(Se))if(Gp(Se)&&Se.assignedNodes)Se.assignedNodes().forEach(function(Ft){return Lw(ie,Ft,ue,se)});else{var it=aE(ie,Se);it.styles.isVisible()&&(sE(Se,it,se)?it.flags|=4:cE(it.styles)&&(it.flags|=2),k_.indexOf(Se.tagName)!==-1&&(it.flags|=8),ue.elements.push(it),Se.slot,Se.shadowRoot?Lw(ie,Se.shadowRoot,it,se):Cl(Se)||hE(Se)||I4(Se)||Lw(ie,Se,it,se))}},aE=function(ie,J){return t7(J)?new ix(ie,J):e7(J)?new S4(ie,J):hE(J)?new Vb(ie,J):sg(J)?new L4(ie,J):lE(J)?new Sy(ie,J):Wb(J)?new qk(ie,J):I4(J)?new Iy(ie,J):Cl(J)?new Yk(ie,J):n7(J)?new cx(ie,J):new jp(ie,J)},oE=function(ie,J){var ue=aE(ie,J);return ue.flags|=4,Lw(ie,J,ue,ue),ue},sE=function(ie,J,ue){return J.styles.isPositionedWithZIndex()||J.styles.opacity<1||J.styles.isTransformed()||Zk(ie)&&ue.styles.isTransparent()},cE=function(ie){return ie.isPositioned()||ie.isFloating()},My=function(ie){return ie.nodeType===Node.TEXT_NODE},Xp=function(ie){return ie.nodeType===Node.ELEMENT_NODE},Jk=function(ie){return Xp(ie)&&ie.style!==void 0&&!Fy(ie)},Fy=function(ie){return typeof ie.className=="object"},sg=function(ie){return ie.tagName==="LI"},lE=function(ie){return ie.tagName==="OL"},Wb=function(ie){return ie.tagName==="INPUT"},uE=function(ie){return ie.tagName==="HTML"},hE=function(ie){return ie.tagName==="svg"},Zk=function(ie){return ie.tagName==="BODY"},e7=function(ie){return ie.tagName==="CANVAS"},fE=function(ie){return ie.tagName==="VIDEO"},t7=function(ie){return ie.tagName==="IMG"},n7=function(ie){return ie.tagName==="IFRAME"},lx=function(ie){return ie.tagName==="STYLE"},dE=function(ie){return ie.tagName==="SCRIPT"},Cl=function(ie){return ie.tagName==="TEXTAREA"},I4=function(ie){return ie.tagName==="SELECT"},Gp=function(ie){return ie.tagName==="SLOT"},al=function(ie){return ie.tagName.indexOf("-")>0},au=function(){function ie(){this.counters={}}return ie.prototype.getCounterValue=function(J){var ue=this.counters[J];return ue&&ue.length?ue[ue.length-1]:1},ie.prototype.getCounterValues=function(J){var ue=this.counters[J];return ue||[]},ie.prototype.pop=function(J){var ue=this;J.forEach(function(se){return ue.counters[se].pop()})},ie.prototype.parse=function(J){var ue=this,se=J.counterIncrement,Se=J.counterReset,Ve=!0;se!==null&&se.forEach(function(Ft){var St=ue.counters[Ft.counter];St&&Ft.increment!==0&&(Ve=!1,St.length||St.push(1),St[Math.max(0,St.length-1)]+=Ft.increment)});var it=[];return Ve&&Se.forEach(function(Ft){var St=ue.counters[Ft.counter];it.push(Ft.counter),St||(St=ue.counters[Ft.counter]=[]),St.push(Ft.reset)}),it},ie}(),oo={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"]},ux={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},C_={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},vh={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Dy=function(ie,J,ue,se,Se,Ve){return ieue?Ny(ie,Se,Ve.length>0):se.integers.reduce(function(it,Ft,St){for(;ie>=Ft;)ie-=Ft,it+=se.values[St];return it},"")+Ve},Um=function(ie,J,ue,se){var Se="";do ue||ie--,Se=se(ie)+Se,ie/=J;while(ie*J>=J);return Se},jl=function(ie,J,ue,se,Se){var Ve=ue-J+1;return(ie<0?"-":"")+(Um(Math.abs(ie),Ve,se,function(it){return L(Math.floor(it%Ve)+J)})+Se)},v1=function(ie,J,ue){ue===void 0&&(ue=". ");var se=J.length;return Um(Math.abs(ie),se,!1,function(Se){return J[Math.floor(Se%se)]})+ue},vn=1,Vp=2,Hm=4,Oy=8,Wp=function(ie,J,ue,se,Se,Ve){if(ie<-9999||ie>9999)return Ny(ie,4,Se.length>0);var it=Math.abs(ie),Ft=Se;if(it===0)return J[0]+Ft;for(var St=0;it>0&&St<=4;St++){var wn=it%10;wn===0&&Af(Ve,vn)&&Ft!==""?Ft=J[wn]+Ft:wn>1||wn===1&&St===0||wn===1&&St===1&&Af(Ve,Vp)||wn===1&&St===1&&Af(Ve,Hm)&&ie>100||wn===1&&St>1&&Af(Ve,Oy)?Ft=J[wn]+(St>0?ue[St-1]:"")+Ft:wn===1&&St>0&&(Ft=ue[St-1]+Ft),it=Math.floor(it/10)}return(ie<0?se:"")+Ft},hx="十百千萬",r7="拾佰仟萬",AE="マイナス",Iw="마이너스",Ny=function(ie,J,ue){var se=ue?". ":"",Se=ue?"、":"",Ve=ue?", ":"",it=ue?" ":"";switch(J){case 0:return"•"+it;case 1:return"◦"+it;case 2:return"◾"+it;case 5:var Ft=jl(ie,48,57,!0,se);return Ft.length<4?"0"+Ft:Ft;case 4:return v1(ie,"〇一二三四五六七八九",Se);case 6:return Dy(ie,1,3999,oo,3,se).toLowerCase();case 7:return Dy(ie,1,3999,oo,3,se);case 8:return jl(ie,945,969,!1,se);case 9:return jl(ie,97,122,!1,se);case 10:return jl(ie,65,90,!1,se);case 11:return jl(ie,1632,1641,!0,se);case 12:case 49:return Dy(ie,1,9999,ux,3,se);case 35:return Dy(ie,1,9999,ux,3,se).toLowerCase();case 13:return jl(ie,2534,2543,!0,se);case 14:case 30:return jl(ie,6112,6121,!0,se);case 15:return v1(ie,"子丑寅卯辰巳午未申酉戌亥",Se);case 16:return v1(ie,"甲乙丙丁戊己庚辛壬癸",Se);case 17:case 48:return Wp(ie,"零一二三四五六七八九",hx,"負",Se,Vp|Hm|Oy);case 47:return Wp(ie,"零壹貳參肆伍陸柒捌玖",r7,"負",Se,vn|Vp|Hm|Oy);case 42:return Wp(ie,"零一二三四五六七八九",hx,"负",Se,Vp|Hm|Oy);case 41:return Wp(ie,"零壹贰叁肆伍陆柒捌玖",r7,"负",Se,vn|Vp|Hm|Oy);case 26:return Wp(ie,"〇一二三四五六七八九","十百千万",AE,Se,0);case 25:return Wp(ie,"零壱弐参四伍六七八九","拾百千万",AE,Se,vn|Vp|Hm);case 31:return Wp(ie,"영일이삼사오육칠팔구","십백천만",Iw,Ve,vn|Vp|Hm);case 33:return Wp(ie,"零一二三四五六七八九","十百千萬",Iw,Ve,0);case 32:return Wp(ie,"零壹貳參四五六七八九","拾百千",Iw,Ve,vn|Vp|Hm);case 18:return jl(ie,2406,2415,!0,se);case 20:return Dy(ie,1,19999,vh,3,se);case 21:return jl(ie,2790,2799,!0,se);case 22:return jl(ie,2662,2671,!0,se);case 22:return Dy(ie,1,10999,C_,3,se);case 23:return v1(ie,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return v1(ie,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return jl(ie,3302,3311,!0,se);case 28:return v1(ie,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",Se);case 29:return v1(ie,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",Se);case 34:return jl(ie,3792,3801,!0,se);case 37:return jl(ie,6160,6169,!0,se);case 38:return jl(ie,4160,4169,!0,se);case 39:return jl(ie,2918,2927,!0,se);case 40:return jl(ie,1776,1785,!0,se);case 43:return jl(ie,3046,3055,!0,se);case 44:return jl(ie,3174,3183,!0,se);case 45:return jl(ie,3664,3673,!0,se);case 46:return jl(ie,3872,3881,!0,se);default:return jl(ie,48,57,!0,se)}},Jo="data-html2canvas-ignore",Mu=function(){function ie(J,ue,se){if(this.context=J,this.options=se,this.scrolledElements=[],this.referenceElement=ue,this.counters=new au,this.quoteDepth=0,!ue.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ue.ownerDocument.documentElement,!1)}return ie.prototype.toIFrame=function(J,ue){var se=this,Se=Qy(J,ue);if(!Se.contentWindow)return Promise.reject("Unable to find iframe window");var Ve=J.defaultView.pageXOffset,it=J.defaultView.pageYOffset,Ft=Se.contentWindow,St=Ft.document,wn=Yb(Se).then(function(){return g(se,void 0,void 0,function(){var Tn,yr;return d(this,function(kr){switch(kr.label){case 0:return this.scrolledElements.forEach(Fw),Ft&&(Ft.scrollTo(ue.left,ue.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||Ft.scrollY===ue.top&&Ft.scrollX===ue.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Ft.scrollX-ue.left,Ft.scrollY-ue.top,0,0))),Tn=this.options.onclone,(yr=this.clonedReferenceElement)===void 0?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:St.fonts&&St.fonts.ready?[4,St.fonts.ready]:[3,2];case 1:kr.sent(),kr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Yg(St)]:[3,4];case 3:kr.sent(),kr.label=4;case 4:return typeof Tn=="function"?[2,Promise.resolve().then(function(){return Tn(St,yr)}).then(function(){return Se})]:[2,Se]}})})});return St.open(),St.write(sA(document.doctype)+""),Py(this.referenceElement.ownerDocument,Ve,it),St.replaceChild(St.adoptNode(this.documentElement),St.documentElement),St.close(),wn},ie.prototype.createElementClone=function(J){if(W6(J,2),e7(J))return this.createCanvasClone(J);if(fE(J))return this.createVideoClone(J);if(lx(J))return this.createStyleClone(J);var ue=J.cloneNode(!1);return t7(ue)&&(t7(J)&&J.currentSrc&&J.currentSrc!==J.src&&(ue.src=J.currentSrc,ue.srcset=""),ue.loading==="lazy"&&(ue.loading="eager")),al(ue)?this.createCustomElementClone(ue):ue},ie.prototype.createCustomElementClone=function(J){var ue=document.createElement("html2canvascustomelement");return Mw(J.style,ue),ue},ie.prototype.createStyleClone=function(J){try{var ue=J.sheet;if(ue&&ue.cssRules){var se=[].slice.call(ue.cssRules,0).reduce(function(Ve,it){return it&&typeof it.cssText=="string"?Ve+it.cssText:Ve},""),Se=J.cloneNode(!1);return Se.textContent=se,Se}}catch(Ve){if(this.context.logger.error("Unable to access cssRules property",Ve),Ve.name!=="SecurityError")throw Ve}return J.cloneNode(!1)},ie.prototype.createCanvasClone=function(J){var ue;if(this.options.inlineImages&&J.ownerDocument){var se=J.ownerDocument.createElement("img");try{return se.src=J.toDataURL(),se}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",J)}}var Se=J.cloneNode(!1);try{Se.width=J.width,Se.height=J.height;var Ve=J.getContext("2d"),it=Se.getContext("2d");if(it)if(!this.options.allowTaint&&Ve)it.putImageData(Ve.getImageData(0,0,J.width,J.height),0,0);else{var Ft=(ue=J.getContext("webgl2"))!==null&&ue!==void 0?ue:J.getContext("webgl");if(Ft){var St=Ft.getContextAttributes();(St==null?void 0:St.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",J)}it.drawImage(J,0,0)}return Se}catch{this.context.logger.info("Unable to clone canvas as it is tainted",J)}return Se},ie.prototype.createVideoClone=function(J){var ue=J.ownerDocument.createElement("canvas");ue.width=J.offsetWidth,ue.height=J.offsetHeight;var se=ue.getContext("2d");try{return se&&(se.drawImage(J,0,0,ue.width,ue.height),this.options.allowTaint||se.getImageData(0,0,ue.width,ue.height)),ue}catch{this.context.logger.info("Unable to clone video as it is tainted",J)}var Se=J.ownerDocument.createElement("canvas");return Se.width=J.offsetWidth,Se.height=J.offsetHeight,Se},ie.prototype.appendChildNode=function(J,ue,se){Xp(ue)&&(dE(ue)||ue.hasAttribute(Jo)||typeof this.options.ignoreElements=="function"&&this.options.ignoreElements(ue))||this.options.copyStyles&&Xp(ue)&&lx(ue)||J.appendChild(this.cloneNode(ue,se))},ie.prototype.cloneChildNodes=function(J,ue,se){for(var Se=this,Ve=J.shadowRoot?J.shadowRoot.firstChild:J.firstChild;Ve;Ve=Ve.nextSibling)if(Xp(Ve)&&Gp(Ve)&&typeof Ve.assignedNodes=="function"){var it=Ve.assignedNodes();it.length&&it.forEach(function(Ft){return Se.appendChildNode(ue,Ft,se)})}else this.appendChildNode(ue,Ve,se)},ie.prototype.cloneNode=function(J,ue){if(My(J))return document.createTextNode(J.data);if(!J.ownerDocument)return J.cloneNode(!1);var se=J.ownerDocument.defaultView;if(se&&Xp(J)&&(Jk(J)||Fy(J))){var Se=this.createElementClone(J);Se.style.transitionProperty="none";var Ve=se.getComputedStyle(J),it=se.getComputedStyle(J,":before"),Ft=se.getComputedStyle(J,":after");this.referenceElement===J&&Jk(Se)&&(this.clonedReferenceElement=Se),Zk(Se)&&pe(Se);var St=this.counters.parse(new y4(this.context,Ve)),wn=this.resolvePseudoContent(J,Se,it,xy.BEFORE);al(J)&&(ue=!0),fE(J)||this.cloneChildNodes(J,Se,ue),wn&&Se.insertBefore(wn,Se.firstChild);var Tn=this.resolvePseudoContent(J,Se,Ft,xy.AFTER);return Tn&&Se.appendChild(Tn),this.counters.pop(St),(Ve&&(this.options.copyStyles||Fy(J))&&!n7(J)||ue)&&Mw(Ve,Se),J.scrollTop===0&&J.scrollLeft===0||this.scrolledElements.push([Se,J.scrollLeft,J.scrollTop]),(Cl(J)||I4(J))&&(Cl(Se)||I4(Se))&&(Se.value=J.value),Se}return J.cloneNode(!1)},ie.prototype.resolvePseudoContent=function(J,ue,se,Se){var Ve=this;if(se){var it=se.content,Ft=ue.ownerDocument;if(Ft&&it&&it!=="none"&&it!=="-moz-alt-content"&&se.display!=="none"){this.counters.parse(new y4(this.context,se));var St=new V6(this.context,se),wn=Ft.createElement("html2canvaspseudoelement");Mw(se,wn),St.content.forEach(function(yr){if(yr.type===0)wn.appendChild(Ft.createTextNode(yr.value));else if(yr.type===22){var kr=Ft.createElement("img");kr.src=yr.value,kr.style.opacity="1",wn.appendChild(kr)}else if(yr.type===18){if(yr.name==="attr"){var Li=yr.values.filter(hc);Li.length&&wn.appendChild(Ft.createTextNode(J.getAttribute(Li[0].value)||""))}else if(yr.name==="counter"){var Gi=yr.values.filter(ow),Ga=Gi[0],ol=Gi[1];if(Ga&&hc(Ga)){var Ka=Ve.counters.getCounterValue(Ga.value),Vo=ol&&hc(ol)?Dk.parse(Ve.context,ol.value):3;wn.appendChild(Ft.createTextNode(Ny(Ka,Vo,!1)))}}else if(yr.name==="counters"){var dh=yr.values.filter(ow),Xs=(Ga=dh[0],dh[1]);if(ol=dh[2],Ga&&hc(Ga)){var Ts=Ve.counters.getCounterValues(Ga.value),vs=ol&&hc(ol)?Dk.parse(Ve.context,ol.value):3,pl=Xs&&Xs.type===0?Xs.value:"",ou=Ts.map(function(Bs){return Ny(Bs,vs,!1)}).join(pl);wn.appendChild(Ft.createTextNode(ou))}}}else if(yr.type===20)switch(yr.value){case"open-quote":wn.appendChild(Ft.createTextNode(G6(St.quotes,Ve.quoteDepth++,!0)));break;case"close-quote":wn.appendChild(Ft.createTextNode(G6(St.quotes,--Ve.quoteDepth,!1)));break;default:wn.appendChild(Ft.createTextNode(yr.value))}}),wn.className=$+" "+R;var Tn=Se===xy.BEFORE?" "+$:" "+R;return Fy(ue)?ue.className.baseValue+=Tn:ue.className+=Tn,wn}}},ie.destroy=function(J){return!!J.parentNode&&(J.parentNode.removeChild(J),!0)},ie}();(function(ie){ie[ie.BEFORE=0]="BEFORE",ie[ie.AFTER=1]="AFTER"})(xy||(xy={}));var bu,Qy=function(ie,J){var ue=ie.createElement("iframe");return ue.className="html2canvas-container",ue.style.visibility="hidden",ue.style.position="fixed",ue.style.left="-10000px",ue.style.top="0px",ue.style.border="0",ue.width=J.width.toString(),ue.height=J.height.toString(),ue.scrolling="no",ue.setAttribute(Jo,"true"),ie.body.appendChild(ue),ue},qb=function(ie){return new Promise(function(J){ie.complete?J():ie.src?(ie.onload=J,ie.onerror=J):J()})},Yg=function(ie){return Promise.all([].slice.call(ie.images,0).map(qb))},Yb=function(ie){return new Promise(function(J,ue){var se=ie.contentWindow;if(!se)return ue("No window assigned for iframe");var Se=se.document;se.onload=ie.onload=function(){se.onload=ie.onload=null;var Ve=setInterval(function(){Se.body.childNodes.length>0&&Se.readyState==="complete"&&(clearInterval(Ve),J(ie))},50)}})},fh=["all","d","content"],Mw=function(ie,J){for(var ue=ie.length-1;ue>=0;ue--){var se=ie.item(ue);fh.indexOf(se)===-1&&J.style.setProperty(se,ie.getPropertyValue(se))}return J},sA=function(ie){var J="";return ie&&(J+=""),J},Py=function(ie,J,ue){ie&&ie.defaultView&&(J!==ie.defaultView.pageXOffset||ue!==ie.defaultView.pageYOffset)&&ie.defaultView.scrollTo(J,ue)},Fw=function(ie){var J=ie[0],ue=ie[1],se=ie[2];J.scrollLeft=ue,J.scrollTop=se},k=":before",S=":after",$="___html2canvas___pseudoelement_before",R="___html2canvas___pseudoelement_after",X=`{ +`+r8t(g.parentVnode),d.foreignObject=g.foreignObject,d.parentVnode=g.parentVnode,d}({foreignObject:r,parentVnode:{tagName:o,properties:l}})}for(var h=0;h=le.length?ne.length:le[ye],ct=0;ct=Ye&&ee.push(ot)}for(var Qe,Le=ee.slice(),ht=0,Rt=[],Et=[],Rn=0;RnW?z:W,V=0;V>0],g===d)return h>=i&&h<=o;if(ho))return!0;d=l-1}}return!1}function h3n(r,i){return r>i?1:-1}var f3n=function(r,i){return m7(r)&&m7(i)?"name"in r&&"name"in i?r.id===i.id:r.init===i.init:!1},d8t=function(r,i,o){var l=r.type,h=r.vNode,g=r.patch;switch(l){case Fh.REMOVE:return function(d,b){var w=d.parentNode;return w&&w.removeChild(d),A8t(d,b),null}(i,h);case Fh.INSERT:return function(d,b,w){var x=w.render(b,w);return d&&d.appendChild(x),d}(i,g,o);case Fh.VTEXT:return function(d,b,w,x){var C;if(d.nodeType===3)d.replaceData(0,d.length,w.text),C=d;else{var B=d.parentNode;C=x.render(w,x),B&&C!==d&&B.replaceChild(C,d)}return C}(i,0,g,o);case Fh.WIDGET:return function(d,b,w,x){var C,B=f3n(b,w);C=B?w.update(b,d)||d:x.render(w,x);var L=d.parentNode;return L&&C!==d&&L.replaceChild(C,d),B||A8t(d,b),C}(i,h,g,o);case Fh.VNODE:return function(d,b,w,x){var C=d.parentNode,B=x.render(w,x);return C&&B!==d&&C.replaceChild(B,d),B}(i,0,g,o);case Fh.ORDER:return function(d,b){for(var w,x,C,B=d.childNodes,L={},M=0;M=P++?null:B[C.to])}(i,g),i;case Fh.PROPS:return HSt(i,g,h.properties),i;case Fh.THUNK:return function(d,b){return d&&b&&d!==b&&d.parentNode&&d.parentNode.replaceChild(b,d),b}(i,o.patch(i,g,o));default:return i}};function A8t(r,i){typeof i.destroy=="function"&&m7(i)&&i.destroy(r)}var d3n=function r(i,o,l){return(l=l||{}).patch=l.patch&&l.patch!==r?l.patch:A3n,l.render=l.render||c3n,l.patch(i,o,l)};function A3n(r,i,o){var l=function(w){var x=[];for(var C in w)C!=="a"&&x.push(Number(C));return x}(i);if(l.length===0)return r;var h=u3n(r,i.a,l),g=r.ownerDocument;o.document||g===USt||(o.document=g);for(var d=0;d=h&&z>=l)return b[w]=x,this.$backtraceSnakes(b,l,h,w)}b[w]=x}return[]}},{key:"$backtraceSnakes",value:function(i,o,l,h){for(var g=[],d={x:l,y:o},b=h;b>0;b--){var w=i[b],x=i[b-1],C=d.x-d.y,B=w[C],L=C===-b||C!==b&&x[C+1]>x[C-1],M=L?C+1:C-1,P=x[M],z=P-M,W=L?P:P+1;g.unshift({xStart:P,xMid:W,xEnd:B}),d.x=P,d.y=z}return g}},{key:"assembleResult",value:function(i,o,l){var h,g=this,d="color: gray",b="",w=[],x=0,C=[],B={},L={},M={};return xa(i).call(i,function(P,z){var W=P.xStart;if(z===0&&P.xStart!==0)for(var Q=0;Q>1,r+=O$(r/i);r>455;)r=O$(r/35),l+=36;return O$(l+36*r/(r+38))},E3n=function(r){var i=[];r=function(Q){for(var V=[],oe=0,G=Q.length;oe=55296&&ae<=56319&&oe=g&&lO$((NMe-d)/B))throw p8t(g8t);for(d+=(C-g)*B,g=C,o=0;oNMe)throw p8t(g8t);if(l==g){for(var L=d,M=36;;){var P=M<=b?1:M>=b+26?26:M-b;if(L0;)r[l]=r[--l];l!==g++&&(r[l]=o)}return r},_3n=function(r,i,o,l){for(var h=i.length,g=o.length,d=0,b=0;d0?arguments[0]:void 0))},kZ=dge.prototype;if(CDe(kZ,{append:function(r,i){bB(arguments.length,2);var o=n7(this);VN(o.entries,{key:Zl(r),value:Zl(i)}),o.updateURL()},delete:function(r){bB(arguments.length,1);for(var i=n7(this),o=i.entries,l=Zl(r),h=0;ho.key?1:-1}),r.updateURL()},forEach:function(r){for(var i,o=n7(this).entries,l=tg(r,arguments.length>1?arguments[1]:void 0),h=0;h1?B8t(arguments[1]):{})}}),hh(fge)){var UMe=function(r){return Xj(this,PMe),new fge(r,arguments.length>1?B8t(arguments[1]):{})};PMe.constructor=UMe,UMe.prototype=PMe,ma({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:UMe})}}var A6,qSt={URLSearchParams:dge,getState:n7},X3n=ZBt.codeAt,G3n=Mm.set,Age=Mm.getterFor("URL"),V3n=qSt.URLSearchParams,W3n=qSt.getState,WJ=Ai.URL,FDe=Ai.TypeError,tAe=Ai.parseInt,q3n=Math.floor,_8t=Math.pow,x6=Za("".charAt),Z8=Za(/./.exec),CZ=Za([].join),Y3n=Za(1 .toString),J3n=Za([].pop),g$=Za([].push),S8t=Za("".replace),Z3n=Za([].shift),e4n=Za("".split),EZ=Za("".slice),YAe=Za("".toLowerCase),t4n=Za([].unshift),HMe="Invalid scheme",TN="Invalid host",L8t="Invalid port",YSt=/[a-z]/i,n4n=/[\d+-.a-z]/i,$Me=/\d/,r4n=/^0x/i,i4n=/^[0-7]+$/,a4n=/^\d+$/,M8t=/^[\da-f]+$/i,o4n=/[\0\t\n\r #%/:<>?@[\\\]^|]/,s4n=/[\0\t\n\r #/:<>?@[\\\]^|]/,c4n=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,l4n=/[\t\n\r]/g,qJ=function(r){var i,o,l,h;if(typeof r=="number"){for(i=[],o=0;o<4;o++)t4n(i,r%256),r=q3n(r/256);return CZ(i,".")}if(typeof r=="object"){for(i="",l=function(g){for(var d=null,b=1,w=null,x=0,C=0;C<8;C++)g[C]!==0?(x>b&&(d=w,b=x),w=null,x=0):(w===null&&(w=C),++x);return x>b&&(d=w,b=x),d}(r),o=0;o<8;o++)h&&r[o]===0||(h&&(h=!1),l===o?(i+=o?":":"::",h=!0):(i+=Y3n(r[o],16),o<7&&(i+=":")));return"["+i+"]"}return r},JAe={},JSt=Bee({},JAe,{" ":1,'"':1,"<":1,">":1,"`":1}),ZSt=Bee({},JSt,{"#":1,"?":1,"{":1,"}":1}),jMe=Bee({},ZSt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),LM=function(r,i){var o=X3n(r,0);return o>32&&o<127&&!sc(i,r)?r:encodeURIComponent(r)},nAe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},TZ=function(r,i){var o;return r.length==2&&Z8(YSt,x6(r,0))&&((o=x6(r,1))==":"||!i&&o=="|")},I8t=function(r){var i;return r.length>1&&TZ(EZ(r,0,2))&&(r.length==2||(i=x6(r,2))==="/"||i==="\\"||i==="?"||i==="#")},u4n=function(r){return r==="."||YAe(r)==="%2e"},KMe={},F8t={},zMe={},D8t={},O8t={},XMe={},N8t={},Q8t={},rAe={},iAe={},GMe={},VMe={},WMe={},qMe={},P8t={},YMe={},p$={},zC={},R8t={},BN={},oB={},bQe=function(r,i,o){var l,h,g,d=Zl(r);if(i){if(h=this.parse(d))throw FDe(h);this.searchParams=null}else{if(o!==void 0&&(l=new bQe(o,!0)),h=this.parse(d,null,l))throw FDe(h);(g=W3n(new V3n)).bindURL(this),this.searchParams=g}};bQe.prototype={type:"URL",parse:function(r,i,o){var l,h,g,d,b,w=this,x=i||KMe,C=0,B="",L=!1,M=!1,P=!1;for(r=Zl(r),i||(w.scheme="",w.username="",w.password="",w.host=null,w.port=null,w.path=[],w.query=null,w.fragment=null,w.cannotBeABaseURL=!1,r=S8t(r,c4n,"")),r=S8t(r,l4n,""),l=FN(r);C<=l.length;){switch(h=l[C],x){case KMe:if(!h||!Z8(YSt,h)){if(i)return HMe;x=zMe;continue}B+=YAe(h),x=F8t;break;case F8t:if(h&&(Z8(n4n,h)||h=="+"||h=="-"||h=="."))B+=YAe(h);else{if(h!=":"){if(i)return HMe;B="",x=zMe,C=0;continue}if(i&&(w.isSpecial()!=sc(nAe,B)||B=="file"&&(w.includesCredentials()||w.port!==null)||w.scheme=="file"&&!w.host))return;if(w.scheme=B,i)return void(w.isSpecial()&&nAe[w.scheme]==w.port&&(w.port=null));B="",w.scheme=="file"?x=qMe:w.isSpecial()&&o&&o.scheme==w.scheme?x=D8t:w.isSpecial()?x=Q8t:l[C+1]=="/"?(x=O8t,C++):(w.cannotBeABaseURL=!0,g$(w.path,""),x=R8t)}break;case zMe:if(!o||o.cannotBeABaseURL&&h!="#")return HMe;if(o.cannotBeABaseURL&&h=="#"){w.scheme=o.scheme,w.path=zv(o.path),w.query=o.query,w.fragment="",w.cannotBeABaseURL=!0,x=oB;break}x=o.scheme=="file"?qMe:XMe;continue;case D8t:if(h!="/"||l[C+1]!="/"){x=XMe;continue}x=rAe,C++;break;case O8t:if(h=="/"){x=iAe;break}x=zC;continue;case XMe:if(w.scheme=o.scheme,h==A6)w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=zv(o.path),w.query=o.query;else if(h=="/"||h=="\\"&&w.isSpecial())x=N8t;else if(h=="?")w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=zv(o.path),w.query="",x=BN;else{if(h!="#"){w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=zv(o.path),w.path.length--,x=zC;continue}w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,w.path=zv(o.path),w.query=o.query,w.fragment="",x=oB}break;case N8t:if(!w.isSpecial()||h!="/"&&h!="\\"){if(h!="/"){w.username=o.username,w.password=o.password,w.host=o.host,w.port=o.port,x=zC;continue}x=iAe}else x=rAe;break;case Q8t:if(x=rAe,h!="/"||x6(B,C+1)!="/")continue;C++;break;case rAe:if(h!="/"&&h!="\\"){x=iAe;continue}break;case iAe:if(h=="@"){L&&(B="%40"+B),L=!0,g=FN(B);for(var z=0;z65535)return L8t;w.port=w.isSpecial()&&V===nAe[w.scheme]?null:V,B=""}if(i)return;x=p$;continue}return L8t}B+=h;break;case qMe:if(w.scheme="file",h=="/"||h=="\\")x=P8t;else{if(!o||o.scheme!="file"){x=zC;continue}if(h==A6)w.host=o.host,w.path=zv(o.path),w.query=o.query;else if(h=="?")w.host=o.host,w.path=zv(o.path),w.query="",x=BN;else{if(h!="#"){I8t(CZ(zv(l,C),""))||(w.host=o.host,w.path=zv(o.path),w.shortenPath()),x=zC;continue}w.host=o.host,w.path=zv(o.path),w.query=o.query,w.fragment="",x=oB}}break;case P8t:if(h=="/"||h=="\\"){x=YMe;break}o&&o.scheme=="file"&&!I8t(CZ(zv(l,C),""))&&(TZ(o.path[0],!0)?g$(w.path,o.path[0]):w.host=o.host),x=zC;continue;case YMe:if(h==A6||h=="/"||h=="\\"||h=="?"||h=="#"){if(!i&&TZ(B))x=zC;else if(B==""){if(w.host="",i)return;x=p$}else{if(d=w.parseHost(B))return d;if(w.host=="localhost"&&(w.host=""),i)return;B="",x=p$}continue}B+=h;break;case p$:if(w.isSpecial()){if(x=zC,h!="/"&&h!="\\")continue}else if(i||h!="?")if(i||h!="#"){if(h!=A6&&(x=zC,h!="/"))continue}else w.fragment="",x=oB;else w.query="",x=BN;break;case zC:if(h==A6||h=="/"||h=="\\"&&w.isSpecial()||!i&&(h=="?"||h=="#")){if((b=YAe(b=B))===".."||b==="%2e."||b===".%2e"||b==="%2e%2e"?(w.shortenPath(),h=="/"||h=="\\"&&w.isSpecial()||g$(w.path,"")):u4n(B)?h=="/"||h=="\\"&&w.isSpecial()||g$(w.path,""):(w.scheme=="file"&&!w.path.length&&TZ(B)&&(w.host&&(w.host=""),B=x6(B,0)+":"),g$(w.path,B)),B="",w.scheme=="file"&&(h==A6||h=="?"||h=="#"))for(;w.path.length>1&&w.path[0]==="";)Z3n(w.path);h=="?"?(w.query="",x=BN):h=="#"&&(w.fragment="",x=oB)}else B+=LM(h,ZSt);break;case R8t:h=="?"?(w.query="",x=BN):h=="#"?(w.fragment="",x=oB):h!=A6&&(w.path[0]+=LM(h,JAe));break;case BN:i||h!="#"?h!=A6&&(h=="'"&&w.isSpecial()?w.query+="%27":w.query+=h=="#"?"%23":LM(h,JAe)):(w.fragment="",x=oB);break;case oB:h!=A6&&(w.fragment+=LM(h,JSt))}C++}},parseHost:function(r){var i,o,l;if(x6(r,0)=="["){if(x6(r,r.length-1)!="]"||(i=function(h){var g,d,b,w,x,C,B,L=[0,0,0,0,0,0,0,0],M=0,P=null,z=0,W=function(){return x6(h,z)};if(W()==":"){if(x6(h,1)!=":")return;z+=2,P=++M}for(;W();){if(M==8)return;if(W()!=":"){for(g=d=0;d<4&&Z8(M8t,W());)g=16*g+tAe(W(),16),z++,d++;if(W()=="."){if(d==0||(z-=d,M>6))return;for(b=0;W();){if(w=null,b>0){if(!(W()=="."&&b<4))return;z++}if(!Z8($Me,W()))return;for(;Z8($Me,W());){if(x=tAe(W(),10),w===null)w=x;else{if(w==0)return;w=10*w+x}if(w>255)return;z++}L[M]=256*L[M]+w,++b!=2&&b!=4||M++}if(b!=4)return;break}if(W()==":"){if(z++,!W())return}else if(W())return;L[M++]=g}else{if(P!==null)return;z++,P=++M}}if(P!==null)for(C=M-P,M=7;M!=0&&C>0;)B=L[M],L[M--]=L[P+C-1],L[P+--C]=B;else if(M!=8)return;return L}(EZ(r,1,-1)),!i))return TN;this.host=i}else if(this.isSpecial()){if(r=function(h){var g,d,b=[],w=x3n(y3n(k3n(h),jSt,"."),".");for(g=0;g4)return h;for(d=[],b=0;b1&&x6(w,0)=="0"&&(x=Z8(r4n,w)?16:8,w=EZ(w,x==8?1:2)),w==="")C=0;else{if(!Z8(x==10?a4n:x==8?i4n:M8t,w))return h;C=tAe(w,x)}g$(d,C)}for(b=0;b=_8t(256,5-g))return null}else if(C>255)return null;for(B=J3n(d),b=0;b1?arguments[1]:void 0,l=G3n(i,new bQe(r,!1,o));Zu||(i.href=l.serialize(),i.origin=l.getOrigin(),i.protocol=l.getProtocol(),i.username=l.getUsername(),i.password=l.getPassword(),i.host=l.getHost(),i.hostname=l.getHostname(),i.port=l.getPort(),i.pathname=l.getPathname(),i.search=l.getSearch(),i.searchParams=l.getSearchParams(),i.hash=l.getHash())},K2=xj.prototype,g6=function(r,i){return{get:function(){return Age(this)[r]()},set:i&&function(o){return Age(this)[i](o)},configurable:!0,enumerable:!0}};if(Zu&&(d6(K2,"href",g6("serialize","setHref")),d6(K2,"origin",g6("getOrigin")),d6(K2,"protocol",g6("getProtocol","setProtocol")),d6(K2,"username",g6("getUsername","setUsername")),d6(K2,"password",g6("getPassword","setPassword")),d6(K2,"host",g6("getHost","setHost")),d6(K2,"hostname",g6("getHostname","setHostname")),d6(K2,"port",g6("getPort","setPort")),d6(K2,"pathname",g6("getPathname","setPathname")),d6(K2,"search",g6("getSearch","setSearch")),d6(K2,"searchParams",g6("getSearchParams")),d6(K2,"hash",g6("getHash","setHash"))),ey(K2,"toJSON",function(){return Age(this).serialize()},{enumerable:!0}),ey(K2,"toString",function(){return Age(this).serialize()},{enumerable:!0}),WJ){var U8t=WJ.createObjectURL,H8t=WJ.revokeObjectURL;U8t&&ey(xj,"createObjectURL",tg(U8t,WJ)),H8t&&ey(xj,"revokeObjectURL",tg(H8t,WJ))}RB(xj,"URL"),ma({global:!0,constructor:!0,forced:!LDe,sham:!Zu},{URL:xj});var N$=Gc.URL,h4n=il(function(r,i){r.exports=function(){var o=function(ie,J){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,se){ue.__proto__=se}||function(ue,se){for(var Se in se)Object.prototype.hasOwnProperty.call(se,Se)&&(ue[Se]=se[Se])},o(ie,J)};function l(ie,J){if(typeof J!="function"&&J!==null)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function ue(){this.constructor=ie}o(ie,J),ie.prototype=J===null?Object.create(J):(ue.prototype=J.prototype,new ue)}var h=function(){return h=Object.assign||function(ie){for(var J,ue=1,se=arguments.length;ue0&&Se[Se.length-1])||wn[0]!==6&&wn[0]!==2)){it=0;continue}if(wn[0]===3&&(!Se||wn[1]>Se[0]&&wn[1]=55296&&Se<=56319&&ue>10),it%1024+56320)),(Se+1===ue||se.length>16384)&&(Ve+=String.fromCharCode.apply(String,se),se.length=0)}return Ve},M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=typeof Uint8Array>"u"?[]:new Uint8Array(256),z=0;z"u"?[]:new Uint8Array(256),V=0;V>4,Tn[St++]=(15&se)<<4|Se>>2,Tn[St++]=(3&Se)<<6|63&Ve;return wn},G=function(ie){for(var J=ie.length,ue=[],se=0;se>ne,ve=(1<>ne)+32,ee=65536>>de,ye=(1<=0){if(J<55296||J>56319&&J<=65535)return ue=((ue=this.index[J>>ne])<>ne)])<>de),ue=this.index[ue],ue+=J>>ne&ye,ue=((ue=this.index[ue])<"u"?[]:new Uint8Array(256),ct=0;ct<$e.length;ct++)Ye[$e.charCodeAt(ct)]=ct;var ot=50,Qe=1,Le=2,ht=3,Rt=4,Et=5,Rn=7,xt=8,on=9,Kt=10,Xt=11,Vt=12,He=13,lt=14,Ke=15,mn=16,je=17,zt=18,pt=19,sn=20,cn=21,xn=22,nn=23,Qn=24,ln=25,Hn=26,$t=27,_r=28,Lr=29,ti=30,_i=31,ro=32,Js=33,mi=34,Ta=35,lr=36,vr=37,Zr=38,Ir=39,oa=40,jn=41,Xo=42,hr=43,Ya=[9001,65288],So="!",ta="×",Ba="÷",ho=fe("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),mo=[ti,lr],Lo=[Qe,Le,ht,Et],qo=[Kt,xt],cs=[$t,Hn],fa=Lo.concat(qo),qh=[Zr,Ir,oa,mi,Ta],Zs=[Ke,He],tu=function(ie,J){J===void 0&&(J="strict");var ue=[],se=[],Se=[];return ie.forEach(function(Ve,it){var Ft=ho.get(Ve);if(Ft>ot?(Se.push(!0),Ft-=ot):Se.push(!1),["normal","auto","loose"].indexOf(J)!==-1&&[8208,8211,12316,12448].indexOf(Ve)!==-1)return se.push(it),ue.push(mn);if(Ft===Rt||Ft===Xt){if(it===0)return se.push(it),ue.push(ti);var St=ue[it-1];return fa.indexOf(St)===-1?(se.push(se[it-1]),ue.push(St)):(se.push(it),ue.push(ti))}return se.push(it),Ft===_i?ue.push(J==="strict"?cn:vr):Ft===Xo||Ft===Lr?ue.push(ti):Ft===hr?Ve>=131072&&Ve<=196605||Ve>=196608&&Ve<=262141?ue.push(vr):ue.push(ti):void ue.push(Ft)}),[se,ue,Se]},_a=function(ie,J,ue,se){var Se=se[ue];if(Array.isArray(ie)?ie.indexOf(Se)!==-1:ie===Se)for(var Ve=ue;Ve<=se.length;){if((St=se[++Ve])===J)return!0;if(St!==Kt)break}if(Se===Kt)for(Ve=ue;Ve>0;){var it=se[--Ve];if(Array.isArray(ie)?ie.indexOf(it)!==-1:ie===it)for(var Ft=ue;Ft<=se.length;){var St;if((St=se[++Ft])===J)return!0;if(St!==Kt)break}if(it!==Kt)break}return!1},ec=function(ie,J){for(var ue=ie;ue>=0;){var se=J[ue];if(se!==Kt)return se;ue--}return 0},hf=function(ie,J,ue,se,Se){if(ue[se]===0)return ta;var Ve=se-1;if(Array.isArray(Se)&&Se[Ve]===!0)return ta;var it=Ve-1,Ft=Ve+1,St=J[Ve],wn=it>=0?J[it]:0,Tn=J[Ft];if(St===Le&&Tn===ht)return ta;if(Lo.indexOf(St)!==-1)return So;if(Lo.indexOf(Tn)!==-1||qo.indexOf(Tn)!==-1)return ta;if(ec(Ve,J)===xt)return Ba;if(ho.get(ie[Ve])===Xt||(St===ro||St===Js)&&ho.get(ie[Ft])===Xt||St===Rn||Tn===Rn||St===on||[Kt,He,Ke].indexOf(St)===-1&&Tn===on||[je,zt,pt,Qn,_r].indexOf(Tn)!==-1||ec(Ve,J)===xn||_a(nn,xn,Ve,J)||_a([je,zt],cn,Ve,J)||_a(Vt,Vt,Ve,J))return ta;if(St===Kt)return Ba;if(St===nn||Tn===nn)return ta;if(Tn===mn||St===mn)return Ba;if([He,Ke,cn].indexOf(Tn)!==-1||St===lt||wn===lr&&Zs.indexOf(St)!==-1||St===_r&&Tn===lr||Tn===sn||mo.indexOf(Tn)!==-1&&St===ln||mo.indexOf(St)!==-1&&Tn===ln||St===$t&&[vr,ro,Js].indexOf(Tn)!==-1||[vr,ro,Js].indexOf(St)!==-1&&Tn===Hn||mo.indexOf(St)!==-1&&cs.indexOf(Tn)!==-1||cs.indexOf(St)!==-1&&mo.indexOf(Tn)!==-1||[$t,Hn].indexOf(St)!==-1&&(Tn===ln||[xn,Ke].indexOf(Tn)!==-1&&J[Ft+1]===ln)||[xn,Ke].indexOf(St)!==-1&&Tn===ln||St===ln&&[ln,_r,Qn].indexOf(Tn)!==-1)return ta;if([ln,_r,Qn,je,zt].indexOf(Tn)!==-1)for(var yr=Ve;yr>=0;){if((kr=J[yr])===ln)return ta;if([_r,Qn].indexOf(kr)===-1)break;yr--}if([$t,Hn].indexOf(Tn)!==-1)for(yr=[je,zt].indexOf(St)!==-1?it:Ve;yr>=0;){var kr;if((kr=J[yr])===ln)return ta;if([_r,Qn].indexOf(kr)===-1)break;yr--}if(Zr===St&&[Zr,Ir,mi,Ta].indexOf(Tn)!==-1||[Ir,mi].indexOf(St)!==-1&&[Ir,oa].indexOf(Tn)!==-1||[oa,Ta].indexOf(St)!==-1&&Tn===oa||qh.indexOf(St)!==-1&&[sn,Hn].indexOf(Tn)!==-1||qh.indexOf(Tn)!==-1&&St===$t||mo.indexOf(St)!==-1&&mo.indexOf(Tn)!==-1||St===Qn&&mo.indexOf(Tn)!==-1||mo.concat(ln).indexOf(St)!==-1&&Tn===xn&&Ya.indexOf(ie[Ft])===-1||mo.concat(ln).indexOf(Tn)!==-1&&St===zt)return ta;if(St===jn&&Tn===jn){for(var Li=ue[Ve],Gi=1;Li>0&&J[--Li]===jn;)Gi++;if(Gi%2!=0)return ta}return St===ro&&Tn===Js?ta:Ba},Rl=function(ie,J){J||(J={lineBreak:"normal",wordBreak:"normal"});var ue=tu(ie,J.lineBreak),se=ue[0],Se=ue[1],Ve=ue[2];J.wordBreak!=="break-all"&&J.wordBreak!=="break-word"||(Se=Se.map(function(Ft){return[ln,ti,Xo].indexOf(Ft)!==-1?vr:Ft}));var it=J.wordBreak==="keep-all"?Ve.map(function(Ft,St){return Ft&&ie[St]>=19968&&ie[St]<=40959}):void 0;return[se,Se,it]},nu=function(){function ie(J,ue,se,Se){this.codePoints=J,this.required=ue===So,this.start=se,this.end=Se}return ie.prototype.slice=function(){return L.apply(void 0,this.codePoints.slice(this.start,this.end))},ie}(),Oh=function(ie,J){var ue=B(ie),se=Rl(ue,J),Se=se[0],Ve=se[1],it=se[2],Ft=ue.length,St=0,wn=0;return{next:function(){if(wn>=Ft)return{done:!0,value:null};for(var Tn=ta;wn=ig&&ie<=57},qc=function(ie){return ie>=55296&&ie<=57343},Df=function(ie){return uc(ie)||ie>=UA&&ie<=Sa||ie>=r1&&ie<=bh},i1=function(ie){return ie>=r1&&ie<=Qp},Fd=function(ie){return ie>=UA&&ie<=Us},Rh=function(ie){return i1(ie)||Fd(ie)},aA=function(ie){return ie>=Ua},tn=function(ie){return ie===ws||ie===Es||ie===Ei},zi=function(ie){return Rh(ie)||aA(ie)||ie===Br},La=function(ie){return zi(ie)||uc(ie)||ie===bo},Yc=function(ie){return ie>=n1&&ie<=gl||ie===Ic||ie>=nc&&ie<=Im||ie===ff},Hl=function(ie,J){return ie===Fs&&J!==ws},wh=function(ie,J,ue){return ie===bo?zi(J)||Hl(J,ue):!!zi(ie)||!(ie!==Fs||!Hl(ie,J))},Uh=function(ie,J,ue){return ie===Mc||ie===bo?!!uc(J)||J===vc&&uc(ue):uc(ie===vc?J:ie)},Pp=function(ie){var J=0,ue=1;ie[J]!==Mc&&ie[J]!==bo||(ie[J]===bo&&(ue=-1),J++);for(var se=[];uc(ie[J]);)se.push(ie[J++]);var Se=se.length?parseInt(L.apply(void 0,se),10):0;ie[J]===vc&&J++;for(var Ve=[];uc(ie[J]);)Ve.push(ie[J++]);var it=Ve.length,Ft=it?parseInt(L.apply(void 0,Ve),10):0;ie[J]!==rn&&ie[J]!==Mb||J++;var St=1;ie[J]!==Mc&&ie[J]!==bo||(ie[J]===bo&&(St=-1),J++);for(var wn=[];uc(ie[J]);)wn.push(ie[J++]);var Tn=wn.length?parseInt(L.apply(void 0,wn),10):0;return ue*(Se+Ft*Math.pow(10,-it))*Math.pow(10,St*Tn)},T0={type:2},Of={type:3},M6={type:4},m9={type:13},T7={type:8},WB={type:21},b9={type:9},o4={type:10},w9={type:11},sy={type:12},qB={type:14},I6={type:23},v9={type:1},YB={type:25},y9={type:24},ew={type:26},Ib={type:27},x9={type:28},tw={type:29},nw={type:31},rw={type:32},Jc=function(){function ie(){this._value=[]}return ie.prototype.write=function(J){this._value=this._value.concat(B(J))},ie.prototype.read=function(){for(var J=[],ue=this.consumeToken();ue!==rw;)J.push(ue),ue=this.consumeToken();return J},ie.prototype.consumeToken=function(){var J=this.consumeCodePoint();switch(J){case Nh:return this.consumeStringToken(Nh);case Qh:var ue=this.peekCodePoint(0),se=this.peekCodePoint(1),Se=this.peekCodePoint(2);if(La(ue)||Hl(se,Se)){var Ve=wh(ue,se,Se)?kl:Wc;return{type:5,value:this.consumeName(),flags:Ve}}break;case Rs:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),m9;break;case $i:return this.consumeStringToken($i);case ts:return T0;case ar:return Of;case eo:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),qB;break;case Mc:if(Uh(J,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(J),this.consumeNumericToken();break;case Ku:return M6;case bo:var it=J,Ft=this.peekCodePoint(0),St=this.peekCodePoint(1);if(Uh(it,Ft,St))return this.reconsumeCodePoint(J),this.consumeNumericToken();if(wh(it,Ft,St))return this.reconsumeCodePoint(J),this.consumeIdentLikeToken();if(Ft===bo&&St===yn)return this.consumeCodePoint(),this.consumeCodePoint(),y9;break;case vc:if(Uh(J,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(J),this.consumeNumericToken();break;case ru:if(this.peekCodePoint(0)===eo)for(this.consumeCodePoint();;){var wn=this.consumeCodePoint();if(wn===eo&&(wn=this.consumeCodePoint())===ru)return this.consumeToken();if(wn===zu)return this.consumeToken()}break;case Al:return ew;case m1:return Ib;case Ph:if(this.peekCodePoint(0)===Yt&&this.peekCodePoint(1)===bo&&this.peekCodePoint(2)===bo)return this.consumeCodePoint(),this.consumeCodePoint(),YB;break;case tc:var Tn=this.peekCodePoint(0),yr=this.peekCodePoint(1),kr=this.peekCodePoint(2);if(wh(Tn,yr,kr))return{type:7,value:this.consumeName()};break;case co:return x9;case Fs:if(Hl(J,this.peekCodePoint(0)))return this.reconsumeCodePoint(J),this.consumeIdentLikeToken();break;case p1:return tw;case Kn:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),T7;break;case Nr:return w9;case Qr:return sy;case td:case da:var Li=this.peekCodePoint(0),Gi=this.peekCodePoint(1);return Li!==Mc||!Df(Gi)&&Gi!==Gr||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(J),this.consumeIdentLikeToken();case Ki:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),b9;if(this.peekCodePoint(0)===Ki)return this.consumeCodePoint(),WB;break;case sa:if(this.peekCodePoint(0)===iu)return this.consumeCodePoint(),o4;break;case zu:return rw}return tn(J)?(this.consumeWhiteSpace(),nw):uc(J)?(this.reconsumeCodePoint(J),this.consumeNumericToken()):zi(J)?(this.reconsumeCodePoint(J),this.consumeIdentLikeToken()):{type:6,value:L(J)}},ie.prototype.consumeCodePoint=function(){var J=this._value.shift();return J===void 0?-1:J},ie.prototype.reconsumeCodePoint=function(J){this._value.unshift(J)},ie.prototype.peekCodePoint=function(J){return J>=this._value.length?-1:this._value[J]},ie.prototype.consumeUnicodeRangeToken=function(){for(var J=[],ue=this.consumeCodePoint();Df(ue)&&J.length<6;)J.push(ue),ue=this.consumeCodePoint();for(var se=!1;ue===Gr&&J.length<6;)J.push(ue),ue=this.consumeCodePoint(),se=!0;if(se)return{type:30,start:parseInt(L.apply(void 0,J.map(function(it){return it===Gr?ig:it})),16),end:parseInt(L.apply(void 0,J.map(function(it){return it===Gr?Sa:it})),16)};var Se=parseInt(L.apply(void 0,J),16);if(this.peekCodePoint(0)===bo&&Df(this.peekCodePoint(1))){this.consumeCodePoint(),ue=this.consumeCodePoint();for(var Ve=[];Df(ue)&&Ve.length<6;)Ve.push(ue),ue=this.consumeCodePoint();return{type:30,start:Se,end:parseInt(L.apply(void 0,Ve),16)}}return{type:30,start:Se,end:Se}},ie.prototype.consumeIdentLikeToken=function(){var J=this.consumeName();return J.toLowerCase()==="url"&&this.peekCodePoint(0)===ts?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ts?(this.consumeCodePoint(),{type:19,value:J}):{type:20,value:J}},ie.prototype.consumeUrlToken=function(){var J=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===zu)return{type:22,value:""};var ue=this.peekCodePoint(0);if(ue===$i||ue===Nh){var se=this.consumeStringToken(this.consumeCodePoint());return se.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===zu||this.peekCodePoint(0)===ar)?(this.consumeCodePoint(),{type:22,value:se.value}):(this.consumeBadUrlRemnants(),I6)}for(;;){var Se=this.consumeCodePoint();if(Se===zu||Se===ar)return{type:22,value:L.apply(void 0,J)};if(tn(Se))return this.consumeWhiteSpace(),this.peekCodePoint(0)===zu||this.peekCodePoint(0)===ar?(this.consumeCodePoint(),{type:22,value:L.apply(void 0,J)}):(this.consumeBadUrlRemnants(),I6);if(Se===Nh||Se===$i||Se===ts||Yc(Se))return this.consumeBadUrlRemnants(),I6;if(Se===Fs){if(!Hl(Se,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),I6;J.push(this.consumeEscapedCodePoint())}else J.push(Se)}},ie.prototype.consumeWhiteSpace=function(){for(;tn(this.peekCodePoint(0));)this.consumeCodePoint()},ie.prototype.consumeBadUrlRemnants=function(){for(;;){var J=this.consumeCodePoint();if(J===ar||J===zu)return;Hl(J,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ie.prototype.consumeStringSlice=function(J){for(var ue=5e4,se="";J>0;){var Se=Math.min(ue,J);se+=L.apply(void 0,this._value.splice(0,Se)),J-=Se}return this._value.shift(),se},ie.prototype.consumeStringToken=function(J){for(var ue="",se=0;;){var Se=this._value[se];if(Se===zu||Se===void 0||Se===J)return{type:0,value:ue+=this.consumeStringSlice(se)};if(Se===ws)return this._value.splice(0,se),v9;if(Se===Fs){var Ve=this._value[se+1];Ve!==zu&&Ve!==void 0&&(Ve===ws?(ue+=this.consumeStringSlice(se),se=-1,this._value.shift()):Hl(Se,Ve)&&(ue+=this.consumeStringSlice(se),ue+=L(this.consumeEscapedCodePoint()),se=-1))}se++}},ie.prototype.consumeNumber=function(){var J=[],ue=Lc,se=this.peekCodePoint(0);for(se!==Mc&&se!==bo||J.push(this.consumeCodePoint());uc(this.peekCodePoint(0));)J.push(this.consumeCodePoint());se=this.peekCodePoint(0);var Se=this.peekCodePoint(1);if(se===vc&&uc(Se))for(J.push(this.consumeCodePoint(),this.consumeCodePoint()),ue=Ul;uc(this.peekCodePoint(0));)J.push(this.consumeCodePoint());se=this.peekCodePoint(0),Se=this.peekCodePoint(1);var Ve=this.peekCodePoint(2);if((se===rn||se===Mb)&&((Se===Mc||Se===bo)&&uc(Ve)||uc(Se)))for(J.push(this.consumeCodePoint(),this.consumeCodePoint()),ue=Ul;uc(this.peekCodePoint(0));)J.push(this.consumeCodePoint());return[Pp(J),ue]},ie.prototype.consumeNumericToken=function(){var J=this.consumeNumber(),ue=J[0],se=J[1],Se=this.peekCodePoint(0),Ve=this.peekCodePoint(1),it=this.peekCodePoint(2);return wh(Se,Ve,it)?{type:15,number:ue,flags:se,unit:this.consumeName()}:Se===ju?(this.consumeCodePoint(),{type:16,number:ue,flags:se}):{type:17,number:ue,flags:se}},ie.prototype.consumeEscapedCodePoint=function(){var J=this.consumeCodePoint();if(Df(J)){for(var ue=L(J);Df(this.peekCodePoint(0))&&ue.length<6;)ue+=L(this.consumeCodePoint());tn(this.peekCodePoint(0))&&this.consumeCodePoint();var se=parseInt(ue,16);return se===0||qc(se)||se>1114111?Yo:se}return J===zu?Yo:J},ie.prototype.consumeName=function(){for(var J="";;){var ue=this.consumeCodePoint();if(La(ue))J+=L(ue);else{if(!Hl(ue,this.peekCodePoint(0)))return this.reconsumeCodePoint(ue),J;J+=L(this.consumeEscapedCodePoint())}}},ie}(),iw=function(){function ie(J){this._tokens=J}return ie.create=function(J){var ue=new Jc;return ue.write(J),new ie(ue.read())},ie.parseValue=function(J){return ie.create(J).parseComponentValue()},ie.parseValues=function(J){return ie.create(J).parseComponentValues()},ie.prototype.parseComponentValue=function(){for(var J=this.consumeToken();J.type===31;)J=this.consumeToken();if(J.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(J);var ue=this.consumeComponentValue();do J=this.consumeToken();while(J.type===31);if(J.type===32)return ue;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ie.prototype.parseComponentValues=function(){for(var J=[];;){var ue=this.consumeComponentValue();if(ue.type===32)return J;J.push(ue),J.push()}},ie.prototype.consumeComponentValue=function(){var J=this.consumeToken();switch(J.type){case 11:case 28:case 2:return this.consumeSimpleBlock(J.type);case 19:return this.consumeFunction(J)}return J},ie.prototype.consumeSimpleBlock=function(J){for(var ue={type:J,values:[]},se=this.consumeToken();;){if(se.type===32||_7(se,J))return ue;this.reconsumeToken(se),ue.values.push(this.consumeComponentValue()),se=this.consumeToken()}},ie.prototype.consumeFunction=function(J){for(var ue={name:J.value,values:[],type:18};;){var se=this.consumeToken();if(se.type===32||se.type===3)return ue;this.reconsumeToken(se),ue.values.push(this.consumeComponentValue())}},ie.prototype.consumeToken=function(){var J=this._tokens.shift();return J===void 0?rw:J},ie.prototype.reconsumeToken=function(J){this._tokens.unshift(J)},ie}(),cy=function(ie){return ie.type===15},HA=function(ie){return ie.type===17},hc=function(ie){return ie.type===20},k9=function(ie){return ie.type===0},B7=function(ie,J){return hc(ie)&&ie.value===J},F6=function(ie){return ie.type!==31},aw=function(ie){return ie.type!==31&&ie.type!==4},B0=function(ie){var J=[],ue=[];return ie.forEach(function(se){if(se.type===4){if(ue.length===0)throw new Error("Error parsing function args, zero tokens for arg");return J.push(ue),void(ue=[])}se.type!==31&&ue.push(se)}),ue.length&&J.push(ue),J},_7=function(ie,J){return J===11&&ie.type===12||J===28&&ie.type===29||J===2&&ie.type===3},Rp=function(ie){return ie.type===17||ie.type===15},Yh=function(ie){return ie.type===16||Rp(ie)},ow=function(ie){return ie.length>1?[ie[0],ie[1]]:[ie[0]]},Nf={type:17,number:0,flags:Lc},ag={type:16,number:50,flags:Lc},og={type:16,number:100,flags:Lc},sw=function(ie,J,ue){var se=ie[0],Se=ie[1];return[eh(se,J),eh(Se!==void 0?Se:se,ue)]},eh=function(ie,J){if(ie.type===16)return ie.number/100*J;if(cy(ie))switch(ie.unit){case"rem":case"em":return 16*ie.number;default:return ie.number}return ie.number},Gg="deg",Fb="grad",D6="rad",C9="turn",N1={name:"angle",parse:function(ie,J){if(J.type===15)switch(J.unit){case Gg:return Math.PI*J.number/180;case Fb:return Math.PI/200*J.number;case D6:return J.number;case C9:return 2*Math.PI*J.number}throw new Error("Unsupported angle type")}},Up=function(ie){return ie.type===15&&(ie.unit===Gg||ie.unit===Fb||ie.unit===D6||ie.unit===C9)},S7=function(ie){switch(ie.filter(hc).map(function(J){return J.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Nf,Nf];case"to top":case"bottom":return oA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Nf,og];case"to right":case"left":return oA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[og,og];case"to bottom":case"top":return oA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[og,Nf];case"to left":case"right":return oA(270)}return 0},oA=function(ie){return Math.PI*ie/180},$A={name:"color",parse:function(ie,J){if(J.type===18){var ue=c4[J.name];if(ue===void 0)throw new Error('Attempting to parse an unsupported color function "'+J.name+'"');return ue(ie,J.values)}if(J.type===5){if(J.value.length===3){var se=J.value.substring(0,1),Se=J.value.substring(1,2),Ve=J.value.substring(2,3);return _0(parseInt(se+se,16),parseInt(Se+Se,16),parseInt(Ve+Ve,16),1)}if(J.value.length===4){se=J.value.substring(0,1),Se=J.value.substring(1,2),Ve=J.value.substring(2,3);var it=J.value.substring(3,4);return _0(parseInt(se+se,16),parseInt(Se+Se,16),parseInt(Ve+Ve,16),parseInt(it+it,16)/255)}if(J.value.length===6)return se=J.value.substring(0,2),Se=J.value.substring(2,4),Ve=J.value.substring(4,6),_0(parseInt(se,16),parseInt(Se,16),parseInt(Ve,16),1);if(J.value.length===8)return se=J.value.substring(0,2),Se=J.value.substring(2,4),Ve=J.value.substring(4,6),it=J.value.substring(6,8),_0(parseInt(se,16),parseInt(Se,16),parseInt(Ve,16),parseInt(it,16)/255)}if(J.type===20){var Ft=jA[J.value.toUpperCase()];if(Ft!==void 0)return Ft}return jA.TRANSPARENT}},nd=function(ie){return(255&ie)==0},mu=function(ie){var J=255&ie,ue=255&ie>>8,se=255&ie>>16,Se=255&ie>>24;return J<255?"rgba("+Se+","+se+","+ue+","+J/255+")":"rgb("+Se+","+se+","+ue+")"},_0=function(ie,J,ue,se){return(ie<<24|J<<16|ue<<8|Math.round(255*se)<<0)>>>0},s4=function(ie,J){if(ie.type===17)return ie.number;if(ie.type===16){var ue=J===3?1:255;return J===3?ie.number/100*ue:Math.round(ie.number/100*ue)}return 0},Fm=function(ie,J){var ue=J.filter(aw);if(ue.length===3){var se=ue.map(s4),Se=se[0],Ve=se[1],it=se[2];return _0(Se,Ve,it,1)}if(ue.length===4){var Ft=ue.map(s4),St=(Se=Ft[0],Ve=Ft[1],it=Ft[2],Ft[3]);return _0(Se,Ve,it,St)}return 0};function cw(ie,J,ue){return ue<0&&(ue+=1),ue>=1&&(ue-=1),ue<1/6?(J-ie)*ue*6+ie:ue<.5?J:ue<2/3?6*(J-ie)*(2/3-ue)+ie:ie}var E9=function(ie,J){var ue=J.filter(aw),se=ue[0],Se=ue[1],Ve=ue[2],it=ue[3],Ft=(se.type===17?oA(se.number):N1.parse(ie,se))/(2*Math.PI),St=Yh(Se)?Se.number/100:0,wn=Yh(Ve)?Ve.number/100:0,Tn=it!==void 0&&Yh(it)?eh(it,1):1;if(St===0)return _0(255*wn,255*wn,255*wn,1);var yr=wn<=.5?wn*(St+1):wn+St-wn*St,kr=2*wn-yr,Li=cw(kr,yr,Ft+1/3),Gi=cw(kr,yr,Ft),Ga=cw(kr,yr,Ft-1/3);return _0(255*Li,255*Gi,255*Ga,Tn)},c4={hsl:E9,hsla:E9,rgb:Fm,rgba:Fm},a1=function(ie,J){return $A.parse(ie,iw.create(J).parseComponentValue())},jA={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},O6={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,J){return J.map(function(ue){if(hc(ue))switch(ue.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ly={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Db=function(ie,J){var ue=$A.parse(ie,J[0]),se=J[1];return se&&Yh(se)?{color:ue,stop:se}:{color:ue,stop:null}},uy=function(ie,J){var ue=ie[0],se=ie[ie.length-1];ue.stop===null&&(ue.stop=Nf),se.stop===null&&(se.stop=og);for(var Se=[],Ve=0,it=0;itVe?Se.push(St):Se.push(Ve),Ve=St}else Se.push(null)}var wn=null;for(it=0;itVe.optimumDistance)?{optimumCorner:it,optimumDistance:wn}:Ve},{optimumDistance:Se?1/0:-1/0,optimumCorner:null}).optimumCorner},N6=function(ie,J,ue,se,Se){var Ve=0,it=0;switch(ie.size){case 0:ie.shape===0?Ve=it=Math.min(Math.abs(J),Math.abs(J-se),Math.abs(ue),Math.abs(ue-Se)):ie.shape===1&&(Ve=Math.min(Math.abs(J),Math.abs(J-se)),it=Math.min(Math.abs(ue),Math.abs(ue-Se)));break;case 2:if(ie.shape===0)Ve=it=Math.min(Qf(J,ue),Qf(J,ue-Se),Qf(J-se,ue),Qf(J-se,ue-Se));else if(ie.shape===1){var Ft=Math.min(Math.abs(ue),Math.abs(ue-Se))/Math.min(Math.abs(J),Math.abs(J-se)),St=L7(se,Se,J,ue,!0),wn=St[0],Tn=St[1];it=Ft*(Ve=Qf(wn-J,(Tn-ue)/Ft))}break;case 1:ie.shape===0?Ve=it=Math.max(Math.abs(J),Math.abs(J-se),Math.abs(ue),Math.abs(ue-Se)):ie.shape===1&&(Ve=Math.max(Math.abs(J),Math.abs(J-se)),it=Math.max(Math.abs(ue),Math.abs(ue-Se)));break;case 3:if(ie.shape===0)Ve=it=Math.max(Qf(J,ue),Qf(J,ue-Se),Qf(J-se,ue),Qf(J-se,ue-Se));else if(ie.shape===1){Ft=Math.max(Math.abs(ue),Math.abs(ue-Se))/Math.max(Math.abs(J),Math.abs(J-se));var yr=L7(se,Se,J,ue,!1);wn=yr[0],Tn=yr[1],it=Ft*(Ve=Qf(wn-J,(Tn-ue)/Ft))}}return Array.isArray(ie.size)&&(Ve=eh(ie.size[0],se),it=ie.size.length===2?eh(ie.size[1],Se):Ve),[Ve,it]},Ob=function(ie,J){var ue=oA(180),se=[];return B0(J).forEach(function(Se,Ve){if(Ve===0){var it=Se[0];if(it.type===20&&it.value==="to")return void(ue=S7(Se));if(Up(it))return void(ue=N1.parse(ie,it))}var Ft=Db(ie,Se);se.push(Ft)}),{angle:ue,stops:se,type:1}},hy=function(ie,J){var ue=oA(180),se=[];return B0(J).forEach(function(Se,Ve){if(Ve===0){var it=Se[0];if(it.type===20&&["top","left","right","bottom"].indexOf(it.value)!==-1)return void(ue=S7(Se));if(Up(it))return void(ue=(N1.parse(ie,it)+oA(270))%oA(360))}var Ft=Db(ie,Se);se.push(Ft)}),{angle:ue,stops:se,type:1}},lw=function(ie,J){var ue=oA(180),se=[],Se=1,Ve=0,it=3,Ft=[];return B0(J).forEach(function(St,wn){var Tn=St[0];if(wn===0){if(hc(Tn)&&Tn.value==="linear")return void(Se=1);if(hc(Tn)&&Tn.value==="radial")return void(Se=2)}if(Tn.type===18){if(Tn.name==="from"){var yr=$A.parse(ie,Tn.values[0]);se.push({stop:Nf,color:yr})}else if(Tn.name==="to")yr=$A.parse(ie,Tn.values[0]),se.push({stop:og,color:yr});else if(Tn.name==="color-stop"){var kr=Tn.values.filter(aw);if(kr.length===2){yr=$A.parse(ie,kr[1]);var Li=kr[0];HA(Li)&&se.push({stop:{type:16,number:100*Li.number,flags:Li.flags},color:yr})}}}}),Se===1?{angle:(ue+oA(180))%oA(360),stops:se,type:Se}:{size:it,shape:Ve,stops:se,position:Ft,type:Se}},Q6="closest-side",P6="farthest-side",B9="closest-corner",_9="farthest-corner",uw="circle",hw="ellipse",u4="cover",R6="contain",S9=function(ie,J){var ue=0,se=3,Se=[],Ve=[];return B0(J).forEach(function(it,Ft){var St=!0;if(Ft===0){var wn=!1;St=it.reduce(function(yr,kr){if(wn)if(hc(kr))switch(kr.value){case"center":return Ve.push(ag),yr;case"top":case"left":return Ve.push(Nf),yr;case"right":case"bottom":return Ve.push(og),yr}else(Yh(kr)||Rp(kr))&&Ve.push(kr);else if(hc(kr))switch(kr.value){case uw:return ue=0,!1;case hw:return ue=1,!1;case"at":return wn=!0,!1;case Q6:return se=0,!1;case u4:case P6:return se=1,!1;case R6:case B9:return se=2,!1;case _9:return se=3,!1}else if(Rp(kr)||Yh(kr))return Array.isArray(se)||(se=[]),se.push(kr),!1;return yr},St)}if(St){var Tn=Db(ie,it);Se.push(Tn)}}),{size:se,shape:ue,stops:Se,position:Ve,type:2}},fw=function(ie,J){var ue=0,se=3,Se=[],Ve=[];return B0(J).forEach(function(it,Ft){var St=!0;if(Ft===0?St=it.reduce(function(Tn,yr){if(hc(yr))switch(yr.value){case"center":return Ve.push(ag),!1;case"top":case"left":return Ve.push(Nf),!1;case"right":case"bottom":return Ve.push(og),!1}else if(Yh(yr)||Rp(yr))return Ve.push(yr),!1;return Tn},St):Ft===1&&(St=it.reduce(function(Tn,yr){if(hc(yr))switch(yr.value){case uw:return ue=0,!1;case hw:return ue=1,!1;case R6:case Q6:return se=0,!1;case P6:return se=1,!1;case B9:return se=2,!1;case u4:case _9:return se=3,!1}else if(Rp(yr)||Yh(yr))return Array.isArray(se)||(se=[]),se.push(yr),!1;return Tn},St)),St){var wn=Db(ie,it);Se.push(wn)}}),{size:se,shape:ue,stops:Se,position:Ve,type:2}},dw=function(ie){return ie.type===1},Aw=function(ie){return ie.type===2},rd={name:"image",parse:function(ie,J){if(J.type===22){var ue={url:J.value,type:0};return ie.cache.addImage(J.value),ue}if(J.type===18){var se=h4[J.name];if(se===void 0)throw new Error('Attempting to parse an unsupported image function "'+J.name+'"');return se(ie,J.values)}throw new Error("Unsupported image type "+J.type)}};function Nb(ie){return!(ie.type===20&&ie.value==="none"||ie.type===18&&!h4[ie.name])}var KA,h4={"linear-gradient":Ob,"-moz-linear-gradient":hy,"-ms-linear-gradient":hy,"-o-linear-gradient":hy,"-webkit-linear-gradient":hy,"radial-gradient":S9,"-moz-radial-gradient":fw,"-ms-radial-gradient":fw,"-o-radial-gradient":fw,"-webkit-radial-gradient":fw,"-webkit-gradient":lw},JB={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ie,J){if(J.length===0)return[];var ue=J[0];return ue.type===20&&ue.value==="none"?[]:J.filter(function(se){return aw(se)&&Nb(se)}).map(function(se){return rd.parse(ie,se)})}},M7={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,J){return J.map(function(ue){if(hc(ue))switch(ue.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},fy={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ie,J){return B0(J).map(function(ue){return ue.filter(Yh)}).map(ow)}},I7={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ie,J){return B0(J).map(function(ue){return ue.filter(hc).map(function(se){return se.value}).join(" ")}).map(L9)}},L9=function(ie){switch(ie){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(ie){ie.AUTO="auto",ie.CONTAIN="contain",ie.COVER="cover"})(KA||(KA={}));var gw,f4={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ie,J){return B0(J).map(function(ue){return ue.filter(Qb)})}},Qb=function(ie){return hc(ie)||Yh(ie)},Pb=function(ie){return{name:"border-"+ie+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},M9=Pb("top"),d4=Pb("right"),Dm=Pb("bottom"),dy=Pb("left"),Ay=function(ie){return{name:"border-radius-"+ie,initialValue:"0 0",prefix:!1,type:1,parse:function(J,ue){return ow(ue.filter(Yh))}}},A4=Ay("top-left"),ZB=Ay("top-right"),e_=Ay("bottom-right"),t_=Ay("bottom-left"),pw=function(ie){return{name:"border-"+ie+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(J,ue){switch(ue){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},U6=pw("top"),gy=pw("right"),g4=pw("bottom"),n_=pw("left"),mw=function(ie){return{name:"border-"+ie+"-width",initialValue:"0",type:0,prefix:!1,parse:function(J,ue){return cy(ue)?ue.number:0}}},I9=mw("top"),py=mw("right"),F9=mw("bottom"),bw=mw("left"),p4={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ww={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ie,J){return J==="rtl"?1:0}},my={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ie,J){return J.filter(hc).reduce(function(ue,se){return ue|Om(se.value)},0)}},Om=function(ie){switch(ie){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},D9={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ie,J){switch(J){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},O9={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ie,J){return J.type===20&&J.value==="normal"?0:J.type===17||J.type===15?J.number:0}};(function(ie){ie.NORMAL="normal",ie.STRICT="strict"})(gw||(gw={}));var vw,r_={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ie,J){return J==="strict"?gw.STRICT:gw.NORMAL}},yw={name:"line-height",initialValue:"normal",prefix:!1,type:4},Rb=function(ie,J){return hc(ie)&&ie.value==="normal"?1.2*J:ie.type===17?J*ie.number:Yh(ie)?eh(ie,J):J},i_={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ie,J){return J.type===20&&J.value==="none"?null:rd.parse(ie,J)}},a_={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ie,J){return J==="inside"?0:1}},F7={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ie,J){switch(J){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}}},m4=function(ie){return{name:"margin-"+ie,initialValue:"0",prefix:!1,type:4}},o_=m4("top"),N9=m4("right"),zA=m4("bottom"),b1=m4("left"),Dd={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ie,J){return J.filter(hc).map(function(ue){switch(ue.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},df={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ie,J){return J==="break-word"?"break-word":"normal"}},Vg=function(ie){return{name:"padding-"+ie,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Q9=Vg("top"),b4=Vg("right"),P9=Vg("bottom"),R9=Vg("left"),Nm={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ie,J){switch(J){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},H6={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ie,J){switch(J){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},D7={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ie,J){return J.length===1&&B7(J[0],"none")?[]:B0(J).map(function(ue){for(var se={color:jA.TRANSPARENT,offsetX:Nf,offsetY:Nf,blur:Nf},Se=0,Ve=0;Ve1?1:0],this.overflowWrap=to(J,df,ue.overflowWrap),this.paddingTop=to(J,Q9,ue.paddingTop),this.paddingRight=to(J,b4,ue.paddingRight),this.paddingBottom=to(J,P9,ue.paddingBottom),this.paddingLeft=to(J,R9,ue.paddingLeft),this.paintOrder=to(J,Kb,ue.paintOrder),this.position=to(J,H6,ue.position),this.textAlign=to(J,Nm,ue.textAlign),this.textDecorationColor=to(J,c_,(se=ue.textDecorationColor)!==null&&se!==void 0?se:ue.color),this.textDecorationLine=to(J,j9,(Se=ue.textDecorationLine)!==null&&Se!==void 0?Se:ue.textDecoration),this.textShadow=to(J,D7,ue.textShadow),this.textTransform=to(J,$6,ue.textTransform),this.transform=to(J,U9,ue.transform),this.transformOrigin=to(J,H9,ue.transformOrigin),this.visibility=to(J,Hb,ue.visibility),this.webkitTextStrokeColor=to(J,z9,ue.webkitTextStrokeColor),this.webkitTextStrokeWidth=to(J,X9,ue.webkitTextStrokeWidth),this.wordBreak=to(J,s_,ue.wordBreak),this.zIndex=to(J,K6,ue.zIndex)}return ie.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ie.prototype.isTransparent=function(){return nd(this.backgroundColor)},ie.prototype.isTransformed=function(){return this.transform!==null},ie.prototype.isPositioned=function(){return this.position!==0},ie.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ie.prototype.isFloating=function(){return this.float!==0},ie.prototype.isInlineLevel=function(){return Af(this.display,4)||Af(this.display,33554432)||Af(this.display,268435456)||Af(this.display,536870912)||Af(this.display,67108864)||Af(this.display,134217728)},ie}(),G6=function(){function ie(J,ue){this.content=to(J,z6,ue.content),this.quotes=to(J,w4,ue.quotes)}return ie}(),v4=function(){function ie(J,ue){this.counterIncrement=to(J,K9,ue.counterIncrement),this.counterReset=to(J,l_,ue.counterReset)}return ie}(),to=function(ie,J,ue){var se=new Jc,Se=ue!=null?ue.toString():J.initialValue;se.write(Se);var Ve=new iw(se.read());switch(J.type){case 2:var it=Ve.parseComponentValue();return J.parse(ie,hc(it)?it.value:J.initialValue);case 0:return J.parse(ie,Ve.parseComponentValue());case 1:return J.parse(ie,Ve.parseComponentValues());case 4:return Ve.parseComponentValue();case 3:switch(J.format){case"angle":return N1.parse(ie,Ve.parseComponentValue());case"color":return $A.parse(ie,Ve.parseComponentValue());case"image":return rd.parse(ie,Ve.parseComponentValue());case"length":var Ft=Ve.parseComponentValue();return Rp(Ft)?Ft:Nf;case"length-percentage":var St=Ve.parseComponentValue();return Yh(St)?St:Nf;case"time":return XA.parse(ie,Ve.parseComponentValue())}}},h_="data-html2canvas-debug",R7=function(ie){switch(ie.getAttribute(h_)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},V6=function(ie,J){var ue=R7(ie);return ue===1||J===ue},$p=function(){function ie(J,ue){this.context=J,this.textNodes=[],this.elements=[],this.flags=0,V6(ue,3),this.styles=new u_(J,window.getComputedStyle(ue,null)),Y7(ue)&&(this.styles.animationDuration.some(function(se){return se>0})&&(ue.style.animationDuration="0s"),this.styles.transform!==null&&(ue.style.transform="none")),this.bounds=x(this.context,ue),V6(ue,4)&&(this.flags|=16)}return ie}(),W6="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",y4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x4=typeof Uint8Array>"u"?[]:new Uint8Array(256),zb=0;zb>4,Tn[St++]=(15&se)<<4|Se>>2,Tn[St++]=(3&Se)<<6|63&Ve;return wn},by=function(ie){for(var J=ie.length,ue=[],se=0;se>jp,$7=(1<>jp)+32,id=65536>>k4,q6=(1<=0){if(J<55296||J>56319&&J<=65535)return ue=((ue=this.index[J>>jp])<>jp)])<>k4),ue=this.index[ue],ue+=J>>jp&q6,ue=((ue=this.index[ue])<"u"?[]:new Uint8Array(256),vy=0;vy=55296&&Se<=56319&&ue>10),it%1024+56320)),(Se+1===ue||se.length>16384)&&(Ve+=String.fromCharCode.apply(String,se),se.length=0)}return Ve},J9=q9(W6),w1="×",Xb="÷",T4=function(ie){return J9.get(ie)},d_=function(ie,J,ue){var se=ue-2,Se=J[se],Ve=J[ue-1],it=J[ue];if(Ve===Y6&&it===kw)return w1;if(Ve===Y6||Ve===kw||Ve===K7||it===Y6||it===kw||it===K7)return Xb;if(Ve===Cw&&[Cw,J6,z7,ky].indexOf(it)!==-1||!(Ve!==z7&&Ve!==J6||it!==J6&&it!==Z6)||(Ve===ky||Ve===Z6)&&it===Z6||it===Cy||it===Qm||it===f_||Ve===xy)return w1;if(Ve===Cy&&it===Ey){for(;Se===Qm;)Se=J[--se];if(Se===Ey)return w1}if(Ve===Ew&&it===Ew){for(var Ft=0;Se===Ew;)Ft++,Se=J[--se];if(Ft%2==0)return w1}return Xb},Z9=function(ie){var J=Y9(ie),ue=J.length,se=0,Se=0,Ve=J.map(T4);return{next:function(){if(se>=ue)return{done:!0,value:null};for(var it=w1;seit.x||Tn.y>it.y;return it=Tn,wn===0||yr});return ie.body.removeChild(J),Ft},sA=function(){return new Image().crossOrigin!==void 0},eE=function(){return typeof new XMLHttpRequest().responseType=="string"},p_=function(ie){var J=new Image,ue=ie.createElement("canvas"),se=ue.getContext("2d");if(!se)return!1;J.src="data:image/svg+xml,";try{se.drawImage(J,0,0),ue.toDataURL()}catch{return!1}return!0},tE=function(ie){return ie[0]===0&&ie[1]===255&&ie[2]===0&&ie[3]===255},m_=function(ie){var J=ie.createElement("canvas"),ue=100;J.width=ue,J.height=ue;var se=J.getContext("2d");if(!se)return Promise.reject(!1);se.fillStyle="rgb(0, 255, 0)",se.fillRect(0,0,ue,ue);var Se=new Image,Ve=J.toDataURL();Se.src=Ve;var it=tx(ue,ue,0,0,Se);return se.fillStyle="red",se.fillRect(0,0,ue,ue),X7(it).then(function(Ft){se.drawImage(Ft,0,0);var St=se.getImageData(0,0,ue,ue).data;se.fillStyle="red",se.fillRect(0,0,ue,ue);var wn=ie.createElement("div");return wn.style.backgroundImage="url("+Ve+")",wn.style.height=ue+"px",tE(St)?X7(tx(ue,ue,0,0,wn)):Promise.reject(!1)}).then(function(Ft){return se.drawImage(Ft,0,0),tE(se.getImageData(0,0,ue,ue).data)}).catch(function(){return!1})},tx=function(ie,J,ue,se,Se){var Ve="http://www.w3.org/2000/svg",it=document.createElementNS(Ve,"svg"),Ft=document.createElementNS(Ve,"foreignObject");return it.setAttributeNS(null,"width",ie.toString()),it.setAttributeNS(null,"height",J.toString()),Ft.setAttributeNS(null,"width","100%"),Ft.setAttributeNS(null,"height","100%"),Ft.setAttributeNS(null,"x",ue.toString()),Ft.setAttributeNS(null,"y",se.toString()),Ft.setAttributeNS(null,"externalResourcesRequired","true"),it.appendChild(Ft),Ft.appendChild(Se),it},X7=function(ie){return new Promise(function(J,ue){var se=new Image;se.onload=function(){return J(se)},se.onerror=ue,se.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},Q1={get SUPPORT_RANGE_BOUNDS(){var ie=g_(document);return Object.defineProperty(Q1,"SUPPORT_RANGE_BOUNDS",{value:ie}),ie},get SUPPORT_WORD_BREAKING(){var ie=Q1.SUPPORT_RANGE_BOUNDS&&ex(document);return Object.defineProperty(Q1,"SUPPORT_WORD_BREAKING",{value:ie}),ie},get SUPPORT_SVG_DRAWING(){var ie=p_(document);return Object.defineProperty(Q1,"SUPPORT_SVG_DRAWING",{value:ie}),ie},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ie=typeof Array.from=="function"&&typeof window.fetch=="function"?m_(document):Promise.resolve(!1);return Object.defineProperty(Q1,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ie}),ie},get SUPPORT_CORS_IMAGES(){var ie=sA();return Object.defineProperty(Q1,"SUPPORT_CORS_IMAGES",{value:ie}),ie},get SUPPORT_RESPONSE_TYPE(){var ie=eE();return Object.defineProperty(Q1,"SUPPORT_RESPONSE_TYPE",{value:ie}),ie},get SUPPORT_CORS_XHR(){var ie="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Q1,"SUPPORT_CORS_XHR",{value:ie}),ie},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ie=!(typeof Intl>"u"||!Intl.Segmenter);return Object.defineProperty(Q1,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ie}),ie}},Kp=function(){function ie(J,ue){this.text=J,this.bounds=ue}return ie}(),nE=function(ie,J,ue,se){var Se=B4(J,ue),Ve=[],it=0;return Se.forEach(function(Ft){if(ue.textDecorationLine.length||Ft.trim().length>0)if(Q1.SUPPORT_RANGE_BOUNDS){var St=qg(se,it,Ft.length).getClientRects();if(St.length>1){var wn=Tw(Ft),Tn=0;wn.forEach(function(kr){Ve.push(new Kp(kr,w.fromDOMRectList(ie,qg(se,Tn+it,kr.length).getClientRects()))),Tn+=kr.length})}else Ve.push(new Kp(Ft,w.fromDOMRectList(ie,St)))}else{var yr=se.splitText(Ft.length);Ve.push(new Kp(Ft,b_(ie,se))),se=yr}else Q1.SUPPORT_RANGE_BOUNDS||(se=se.splitText(Ft.length));it+=Ft.length}),Ve},b_=function(ie,J){var ue=J.ownerDocument;if(ue){var se=ue.createElement("html2canvaswrapper");se.appendChild(J.cloneNode(!0));var Se=J.parentNode;if(Se){Se.replaceChild(se,J);var Ve=x(ie,se);return se.firstChild&&Se.replaceChild(se.firstChild,se),Ve}}return w.EMPTY},qg=function(ie,J,ue){var se=ie.ownerDocument;if(!se)throw new Error("Node has no owner document");var Se=se.createRange();return Se.setStart(ie,J),Se.setEnd(ie,J+ue),Se},Tw=function(ie){if(Q1.SUPPORT_NATIVE_TEXT_SEGMENTATION){var J=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(J.segment(ie)).map(function(ue){return ue.segment})}return A_(ie)},nx=function(ie,J){if(Q1.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ue=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ue.segment(ie)).map(function(se){return se.segment})}return w_(ie,J)},B4=function(ie,J){return J.letterSpacing!==0?Tw(ie):nx(ie,J)},Pm=[32,160,4961,65792,65793,4153,4241],w_=function(ie,J){for(var ue,se=Oh(ie,{lineBreak:J.lineBreak,wordBreak:J.overflowWrap==="break-word"?"break-word":J.wordBreak}),Se=[],Ve=function(){if(ue.value){var it=ue.value.slice(),Ft=B(it),St="";Ft.forEach(function(wn){Pm.indexOf(wn)===-1?St+=L(wn):(St.length&&Se.push(St),Se.push(L(wn)),St="")}),St.length&&Se.push(St)}};!(ue=se.next()).done;)Ve();return Se},v_=function(){function ie(J,ue,se){this.text=By(ue.data,se.textTransform),this.textBounds=nE(J,this.text,se,ue)}return ie}(),By=function(ie,J){switch(J){case 1:return ie.toLowerCase();case 3:return ie.replace(G7,rE);case 2:return ie.toUpperCase();default:return ie}},G7=/(^|\s|:|-|\(|\))([a-z])/g,rE=function(ie,J,ue){return ie.length>0?J+ue.toUpperCase():ie},rx=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.src=se.currentSrc||se.src,Se.intrinsicWidth=se.naturalWidth,Se.intrinsicHeight=se.naturalHeight,Se.context.cache.addImage(Se.src),Se}return l(J,ie),J}($p),_4=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.canvas=se,Se.intrinsicWidth=se.width,Se.intrinsicHeight=se.height,Se}return l(J,ie),J}($p),Gb=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this,Ve=new XMLSerializer,it=x(ue,se);return se.setAttribute("width",it.width+"px"),se.setAttribute("height",it.height+"px"),Se.svg="data:image/svg+xml,"+encodeURIComponent(Ve.serializeToString(se)),Se.intrinsicWidth=se.width.baseVal.value,Se.intrinsicHeight=se.height.baseVal.value,Se.context.cache.addImage(Se.svg),Se}return l(J,ie),J}($p),S4=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.value=se.value,Se}return l(J,ie),J}($p),_y=function(ie){function J(ue,se){var Se=ie.call(this,ue,se)||this;return Se.start=se.start,Se.reversed=typeof se.reversed=="boolean"&&se.reversed===!0,Se}return l(J,ie),J}($p),V7=[{type:15,flags:0,unit:"px",number:3}],y_=[{type:16,flags:0,number:50}],Sy=function(ie){return ie.width>ie.height?new w(ie.left+(ie.width-ie.height)/2,ie.top,ie.height,ie.height):ie.width0)ue.textNodes.push(new v_(ie,Se,ue.styles));else if(zp(Se))if(Xp(Se)&&Se.assignedNodes)Se.assignedNodes().forEach(function(Ft){return Sw(ie,Ft,ue,se)});else{var it=iE(ie,Se);it.styles.isVisible()&&(oE(Se,it,se)?it.flags|=4:sE(it.styles)&&(it.flags|=2),x_.indexOf(Se.tagName)!==-1&&(it.flags|=8),ue.elements.push(it),Se.slot,Se.shadowRoot?Sw(ie,Se.shadowRoot,it,se):Cl(Se)||uE(Se)||L4(Se)||Sw(ie,Se,it,se))}},iE=function(ie,J){return ek(J)?new rx(ie,J):Z7(J)?new _4(ie,J):uE(J)?new Gb(ie,J):sg(J)?new S4(ie,J):cE(J)?new _y(ie,J):Vb(J)?new W7(ie,J):L4(J)?new Ly(ie,J):Cl(J)?new q7(ie,J):tk(J)?new sx(ie,J):new $p(ie,J)},aE=function(ie,J){var ue=iE(ie,J);return ue.flags|=4,Sw(ie,J,ue,ue),ue},oE=function(ie,J,ue){return J.styles.isPositionedWithZIndex()||J.styles.opacity<1||J.styles.isTransformed()||J7(ie)&&ue.styles.isTransparent()},sE=function(ie){return ie.isPositioned()||ie.isFloating()},My=function(ie){return ie.nodeType===Node.TEXT_NODE},zp=function(ie){return ie.nodeType===Node.ELEMENT_NODE},Y7=function(ie){return zp(ie)&&ie.style!==void 0&&!Iy(ie)},Iy=function(ie){return typeof ie.className=="object"},sg=function(ie){return ie.tagName==="LI"},cE=function(ie){return ie.tagName==="OL"},Vb=function(ie){return ie.tagName==="INPUT"},lE=function(ie){return ie.tagName==="HTML"},uE=function(ie){return ie.tagName==="svg"},J7=function(ie){return ie.tagName==="BODY"},Z7=function(ie){return ie.tagName==="CANVAS"},hE=function(ie){return ie.tagName==="VIDEO"},ek=function(ie){return ie.tagName==="IMG"},tk=function(ie){return ie.tagName==="IFRAME"},cx=function(ie){return ie.tagName==="STYLE"},fE=function(ie){return ie.tagName==="SCRIPT"},Cl=function(ie){return ie.tagName==="TEXTAREA"},L4=function(ie){return ie.tagName==="SELECT"},Xp=function(ie){return ie.tagName==="SLOT"},al=function(ie){return ie.tagName.indexOf("-")>0},au=function(){function ie(){this.counters={}}return ie.prototype.getCounterValue=function(J){var ue=this.counters[J];return ue&&ue.length?ue[ue.length-1]:1},ie.prototype.getCounterValues=function(J){var ue=this.counters[J];return ue||[]},ie.prototype.pop=function(J){var ue=this;J.forEach(function(se){return ue.counters[se].pop()})},ie.prototype.parse=function(J){var ue=this,se=J.counterIncrement,Se=J.counterReset,Ve=!0;se!==null&&se.forEach(function(Ft){var St=ue.counters[Ft.counter];St&&Ft.increment!==0&&(Ve=!1,St.length||St.push(1),St[Math.max(0,St.length-1)]+=Ft.increment)});var it=[];return Ve&&Se.forEach(function(Ft){var St=ue.counters[Ft.counter];it.push(Ft.counter),St||(St=ue.counters[Ft.counter]=[]),St.push(Ft.reset)}),it},ie}(),oo={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"]},lx={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},k_={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},vh={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Fy=function(ie,J,ue,se,Se,Ve){return ieue?Oy(ie,Se,Ve.length>0):se.integers.reduce(function(it,Ft,St){for(;ie>=Ft;)ie-=Ft,it+=se.values[St];return it},"")+Ve},Rm=function(ie,J,ue,se){var Se="";do ue||ie--,Se=se(ie)+Se,ie/=J;while(ie*J>=J);return Se},jl=function(ie,J,ue,se,Se){var Ve=ue-J+1;return(ie<0?"-":"")+(Rm(Math.abs(ie),Ve,se,function(it){return L(Math.floor(it%Ve)+J)})+Se)},v1=function(ie,J,ue){ue===void 0&&(ue=". ");var se=J.length;return Rm(Math.abs(ie),se,!1,function(Se){return J[Math.floor(Se%se)]})+ue},vn=1,Gp=2,Um=4,Dy=8,Vp=function(ie,J,ue,se,Se,Ve){if(ie<-9999||ie>9999)return Oy(ie,4,Se.length>0);var it=Math.abs(ie),Ft=Se;if(it===0)return J[0]+Ft;for(var St=0;it>0&&St<=4;St++){var wn=it%10;wn===0&&Af(Ve,vn)&&Ft!==""?Ft=J[wn]+Ft:wn>1||wn===1&&St===0||wn===1&&St===1&&Af(Ve,Gp)||wn===1&&St===1&&Af(Ve,Um)&&ie>100||wn===1&&St>1&&Af(Ve,Dy)?Ft=J[wn]+(St>0?ue[St-1]:"")+Ft:wn===1&&St>0&&(Ft=ue[St-1]+Ft),it=Math.floor(it/10)}return(ie<0?se:"")+Ft},ux="十百千萬",nk="拾佰仟萬",dE="マイナス",Lw="마이너스",Oy=function(ie,J,ue){var se=ue?". ":"",Se=ue?"、":"",Ve=ue?", ":"",it=ue?" ":"";switch(J){case 0:return"•"+it;case 1:return"◦"+it;case 2:return"◾"+it;case 5:var Ft=jl(ie,48,57,!0,se);return Ft.length<4?"0"+Ft:Ft;case 4:return v1(ie,"〇一二三四五六七八九",Se);case 6:return Fy(ie,1,3999,oo,3,se).toLowerCase();case 7:return Fy(ie,1,3999,oo,3,se);case 8:return jl(ie,945,969,!1,se);case 9:return jl(ie,97,122,!1,se);case 10:return jl(ie,65,90,!1,se);case 11:return jl(ie,1632,1641,!0,se);case 12:case 49:return Fy(ie,1,9999,lx,3,se);case 35:return Fy(ie,1,9999,lx,3,se).toLowerCase();case 13:return jl(ie,2534,2543,!0,se);case 14:case 30:return jl(ie,6112,6121,!0,se);case 15:return v1(ie,"子丑寅卯辰巳午未申酉戌亥",Se);case 16:return v1(ie,"甲乙丙丁戊己庚辛壬癸",Se);case 17:case 48:return Vp(ie,"零一二三四五六七八九",ux,"負",Se,Gp|Um|Dy);case 47:return Vp(ie,"零壹貳參肆伍陸柒捌玖",nk,"負",Se,vn|Gp|Um|Dy);case 42:return Vp(ie,"零一二三四五六七八九",ux,"负",Se,Gp|Um|Dy);case 41:return Vp(ie,"零壹贰叁肆伍陆柒捌玖",nk,"负",Se,vn|Gp|Um|Dy);case 26:return Vp(ie,"〇一二三四五六七八九","十百千万",dE,Se,0);case 25:return Vp(ie,"零壱弐参四伍六七八九","拾百千万",dE,Se,vn|Gp|Um);case 31:return Vp(ie,"영일이삼사오육칠팔구","십백천만",Lw,Ve,vn|Gp|Um);case 33:return Vp(ie,"零一二三四五六七八九","十百千萬",Lw,Ve,0);case 32:return Vp(ie,"零壹貳參四五六七八九","拾百千",Lw,Ve,vn|Gp|Um);case 18:return jl(ie,2406,2415,!0,se);case 20:return Fy(ie,1,19999,vh,3,se);case 21:return jl(ie,2790,2799,!0,se);case 22:return jl(ie,2662,2671,!0,se);case 22:return Fy(ie,1,10999,k_,3,se);case 23:return v1(ie,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return v1(ie,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return jl(ie,3302,3311,!0,se);case 28:return v1(ie,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",Se);case 29:return v1(ie,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",Se);case 34:return jl(ie,3792,3801,!0,se);case 37:return jl(ie,6160,6169,!0,se);case 38:return jl(ie,4160,4169,!0,se);case 39:return jl(ie,2918,2927,!0,se);case 40:return jl(ie,1776,1785,!0,se);case 43:return jl(ie,3046,3055,!0,se);case 44:return jl(ie,3174,3183,!0,se);case 45:return jl(ie,3664,3673,!0,se);case 46:return jl(ie,3872,3881,!0,se);default:return jl(ie,48,57,!0,se)}},Jo="data-html2canvas-ignore",Iu=function(){function ie(J,ue,se){if(this.context=J,this.options=se,this.scrolledElements=[],this.referenceElement=ue,this.counters=new au,this.quoteDepth=0,!ue.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ue.ownerDocument.documentElement,!1)}return ie.prototype.toIFrame=function(J,ue){var se=this,Se=Ny(J,ue);if(!Se.contentWindow)return Promise.reject("Unable to find iframe window");var Ve=J.defaultView.pageXOffset,it=J.defaultView.pageYOffset,Ft=Se.contentWindow,St=Ft.document,wn=qb(Se).then(function(){return g(se,void 0,void 0,function(){var Tn,yr;return d(this,function(kr){switch(kr.label){case 0:return this.scrolledElements.forEach(Iw),Ft&&(Ft.scrollTo(ue.left,ue.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||Ft.scrollY===ue.top&&Ft.scrollX===ue.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Ft.scrollX-ue.left,Ft.scrollY-ue.top,0,0))),Tn=this.options.onclone,(yr=this.clonedReferenceElement)===void 0?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:St.fonts&&St.fonts.ready?[4,St.fonts.ready]:[3,2];case 1:kr.sent(),kr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Yg(St)]:[3,4];case 3:kr.sent(),kr.label=4;case 4:return typeof Tn=="function"?[2,Promise.resolve().then(function(){return Tn(St,yr)}).then(function(){return Se})]:[2,Se]}})})});return St.open(),St.write(cA(document.doctype)+""),Qy(this.referenceElement.ownerDocument,Ve,it),St.replaceChild(St.adoptNode(this.documentElement),St.documentElement),St.close(),wn},ie.prototype.createElementClone=function(J){if(V6(J,2),Z7(J))return this.createCanvasClone(J);if(hE(J))return this.createVideoClone(J);if(cx(J))return this.createStyleClone(J);var ue=J.cloneNode(!1);return ek(ue)&&(ek(J)&&J.currentSrc&&J.currentSrc!==J.src&&(ue.src=J.currentSrc,ue.srcset=""),ue.loading==="lazy"&&(ue.loading="eager")),al(ue)?this.createCustomElementClone(ue):ue},ie.prototype.createCustomElementClone=function(J){var ue=document.createElement("html2canvascustomelement");return Mw(J.style,ue),ue},ie.prototype.createStyleClone=function(J){try{var ue=J.sheet;if(ue&&ue.cssRules){var se=[].slice.call(ue.cssRules,0).reduce(function(Ve,it){return it&&typeof it.cssText=="string"?Ve+it.cssText:Ve},""),Se=J.cloneNode(!1);return Se.textContent=se,Se}}catch(Ve){if(this.context.logger.error("Unable to access cssRules property",Ve),Ve.name!=="SecurityError")throw Ve}return J.cloneNode(!1)},ie.prototype.createCanvasClone=function(J){var ue;if(this.options.inlineImages&&J.ownerDocument){var se=J.ownerDocument.createElement("img");try{return se.src=J.toDataURL(),se}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",J)}}var Se=J.cloneNode(!1);try{Se.width=J.width,Se.height=J.height;var Ve=J.getContext("2d"),it=Se.getContext("2d");if(it)if(!this.options.allowTaint&&Ve)it.putImageData(Ve.getImageData(0,0,J.width,J.height),0,0);else{var Ft=(ue=J.getContext("webgl2"))!==null&&ue!==void 0?ue:J.getContext("webgl");if(Ft){var St=Ft.getContextAttributes();(St==null?void 0:St.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",J)}it.drawImage(J,0,0)}return Se}catch{this.context.logger.info("Unable to clone canvas as it is tainted",J)}return Se},ie.prototype.createVideoClone=function(J){var ue=J.ownerDocument.createElement("canvas");ue.width=J.offsetWidth,ue.height=J.offsetHeight;var se=ue.getContext("2d");try{return se&&(se.drawImage(J,0,0,ue.width,ue.height),this.options.allowTaint||se.getImageData(0,0,ue.width,ue.height)),ue}catch{this.context.logger.info("Unable to clone video as it is tainted",J)}var Se=J.ownerDocument.createElement("canvas");return Se.width=J.offsetWidth,Se.height=J.offsetHeight,Se},ie.prototype.appendChildNode=function(J,ue,se){zp(ue)&&(fE(ue)||ue.hasAttribute(Jo)||typeof this.options.ignoreElements=="function"&&this.options.ignoreElements(ue))||this.options.copyStyles&&zp(ue)&&cx(ue)||J.appendChild(this.cloneNode(ue,se))},ie.prototype.cloneChildNodes=function(J,ue,se){for(var Se=this,Ve=J.shadowRoot?J.shadowRoot.firstChild:J.firstChild;Ve;Ve=Ve.nextSibling)if(zp(Ve)&&Xp(Ve)&&typeof Ve.assignedNodes=="function"){var it=Ve.assignedNodes();it.length&&it.forEach(function(Ft){return Se.appendChildNode(ue,Ft,se)})}else this.appendChildNode(ue,Ve,se)},ie.prototype.cloneNode=function(J,ue){if(My(J))return document.createTextNode(J.data);if(!J.ownerDocument)return J.cloneNode(!1);var se=J.ownerDocument.defaultView;if(se&&zp(J)&&(Y7(J)||Iy(J))){var Se=this.createElementClone(J);Se.style.transitionProperty="none";var Ve=se.getComputedStyle(J),it=se.getComputedStyle(J,":before"),Ft=se.getComputedStyle(J,":after");this.referenceElement===J&&Y7(Se)&&(this.clonedReferenceElement=Se),J7(Se)&&pe(Se);var St=this.counters.parse(new v4(this.context,Ve)),wn=this.resolvePseudoContent(J,Se,it,yy.BEFORE);al(J)&&(ue=!0),hE(J)||this.cloneChildNodes(J,Se,ue),wn&&Se.insertBefore(wn,Se.firstChild);var Tn=this.resolvePseudoContent(J,Se,Ft,yy.AFTER);return Tn&&Se.appendChild(Tn),this.counters.pop(St),(Ve&&(this.options.copyStyles||Iy(J))&&!tk(J)||ue)&&Mw(Ve,Se),J.scrollTop===0&&J.scrollLeft===0||this.scrolledElements.push([Se,J.scrollLeft,J.scrollTop]),(Cl(J)||L4(J))&&(Cl(Se)||L4(Se))&&(Se.value=J.value),Se}return J.cloneNode(!1)},ie.prototype.resolvePseudoContent=function(J,ue,se,Se){var Ve=this;if(se){var it=se.content,Ft=ue.ownerDocument;if(Ft&&it&&it!=="none"&&it!=="-moz-alt-content"&&se.display!=="none"){this.counters.parse(new v4(this.context,se));var St=new G6(this.context,se),wn=Ft.createElement("html2canvaspseudoelement");Mw(se,wn),St.content.forEach(function(yr){if(yr.type===0)wn.appendChild(Ft.createTextNode(yr.value));else if(yr.type===22){var kr=Ft.createElement("img");kr.src=yr.value,kr.style.opacity="1",wn.appendChild(kr)}else if(yr.type===18){if(yr.name==="attr"){var Li=yr.values.filter(hc);Li.length&&wn.appendChild(Ft.createTextNode(J.getAttribute(Li[0].value)||""))}else if(yr.name==="counter"){var Gi=yr.values.filter(aw),Ga=Gi[0],ol=Gi[1];if(Ga&&hc(Ga)){var Ka=Ve.counters.getCounterValue(Ga.value),Vo=ol&&hc(ol)?F7.parse(Ve.context,ol.value):3;wn.appendChild(Ft.createTextNode(Oy(Ka,Vo,!1)))}}else if(yr.name==="counters"){var dh=yr.values.filter(aw),Xs=(Ga=dh[0],dh[1]);if(ol=dh[2],Ga&&hc(Ga)){var Ts=Ve.counters.getCounterValues(Ga.value),vs=ol&&hc(ol)?F7.parse(Ve.context,ol.value):3,pl=Xs&&Xs.type===0?Xs.value:"",ou=Ts.map(function(Bs){return Oy(Bs,vs,!1)}).join(pl);wn.appendChild(Ft.createTextNode(ou))}}}else if(yr.type===20)switch(yr.value){case"open-quote":wn.appendChild(Ft.createTextNode(X6(St.quotes,Ve.quoteDepth++,!0)));break;case"close-quote":wn.appendChild(Ft.createTextNode(X6(St.quotes,--Ve.quoteDepth,!1)));break;default:wn.appendChild(Ft.createTextNode(yr.value))}}),wn.className=$+" "+R;var Tn=Se===yy.BEFORE?" "+$:" "+R;return Iy(ue)?ue.className.baseValue+=Tn:ue.className+=Tn,wn}}},ie.destroy=function(J){return!!J.parentNode&&(J.parentNode.removeChild(J),!0)},ie}();(function(ie){ie[ie.BEFORE=0]="BEFORE",ie[ie.AFTER=1]="AFTER"})(yy||(yy={}));var bu,Ny=function(ie,J){var ue=ie.createElement("iframe");return ue.className="html2canvas-container",ue.style.visibility="hidden",ue.style.position="fixed",ue.style.left="-10000px",ue.style.top="0px",ue.style.border="0",ue.width=J.width.toString(),ue.height=J.height.toString(),ue.scrolling="no",ue.setAttribute(Jo,"true"),ie.body.appendChild(ue),ue},Wb=function(ie){return new Promise(function(J){ie.complete?J():ie.src?(ie.onload=J,ie.onerror=J):J()})},Yg=function(ie){return Promise.all([].slice.call(ie.images,0).map(Wb))},qb=function(ie){return new Promise(function(J,ue){var se=ie.contentWindow;if(!se)return ue("No window assigned for iframe");var Se=se.document;se.onload=ie.onload=function(){se.onload=ie.onload=null;var Ve=setInterval(function(){Se.body.childNodes.length>0&&Se.readyState==="complete"&&(clearInterval(Ve),J(ie))},50)}})},fh=["all","d","content"],Mw=function(ie,J){for(var ue=ie.length-1;ue>=0;ue--){var se=ie.item(ue);fh.indexOf(se)===-1&&J.style.setProperty(se,ie.getPropertyValue(se))}return J},cA=function(ie){var J="";return ie&&(J+=""),J},Qy=function(ie,J,ue){ie&&ie.defaultView&&(J!==ie.defaultView.pageXOffset||ue!==ie.defaultView.pageYOffset)&&ie.defaultView.scrollTo(J,ue)},Iw=function(ie){var J=ie[0],ue=ie[1],se=ie[2];J.scrollLeft=ue,J.scrollTop=se},k=":before",S=":after",$="___html2canvas___pseudoelement_before",R="___html2canvas___pseudoelement_after",X=`{ content: "" !important; display: none !important; -}`,pe=function(ie){Ie(ie,"."+$+k+X+` - .`+R+S+X)},Ie=function(ie,J){var ue=ie.ownerDocument;if(ue){var se=ue.createElement("style");se.textContent=J,ie.appendChild(se)}},Oe=function(){function ie(){}return ie.getOrigin=function(J){var ue=ie._link;return ue?(ue.href=J,ue.href=ue.href,ue.protocol+ue.hostname+ue.port):"about:blank"},ie.isSameOrigin=function(J){return ie.getOrigin(J)===ie._origin},ie.setContext=function(J){ie._link=J.document.createElement("a"),ie._origin=ie.getOrigin(J.location.href)},ie._origin="about:blank",ie}(),Ge=function(){function ie(J,ue){this.context=J,this._options=ue,this._cache={}}return ie.prototype.addImage=function(J){var ue=Promise.resolve();return this.has(J)||(Hr(J)||kn(J))&&(this._cache[J]=this.loadImage(J)).catch(function(){}),ue},ie.prototype.match=function(J){return this._cache[J]},ie.prototype.loadImage=function(J){return g(this,void 0,void 0,function(){var ue,se,Se,Ve,it=this;return d(this,function(Ft){switch(Ft.label){case 0:return ue=Oe.isSameOrigin(J),se=!Nn(J)&&this._options.useCORS===!0&&Q1.SUPPORT_CORS_IMAGES&&!ue,Se=!Nn(J)&&!ue&&!Hr(J)&&typeof this._options.proxy=="string"&&Q1.SUPPORT_CORS_XHR&&!se,ue||this._options.allowTaint!==!1||Nn(J)||Hr(J)||Se||se?(Ve=J,Se?[4,this.proxy(Ve)]:[3,2]):[2];case 1:Ve=Ft.sent(),Ft.label=2;case 2:return this.context.logger.debug("Added image "+J.substring(0,256)),[4,new Promise(function(St,wn){var Tn=new Image;Tn.onload=function(){return St(Tn)},Tn.onerror=wn,(rr(Ve)||se)&&(Tn.crossOrigin="anonymous"),Tn.src=Ve,Tn.complete===!0&&setTimeout(function(){return St(Tn)},500),it._options.imageTimeout>0&&setTimeout(function(){return wn("Timed out ("+it._options.imageTimeout+"ms) loading image")},it._options.imageTimeout)})];case 3:return[2,Ft.sent()]}})})},ie.prototype.has=function(J){return this._cache[J]!==void 0},ie.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ie.prototype.proxy=function(J){var ue=this,se=this._options.proxy;if(!se)throw new Error("No proxy defined");var Se=J.substring(0,256);return new Promise(function(Ve,it){var Ft=Q1.SUPPORT_RESPONSE_TYPE?"blob":"text",St=new XMLHttpRequest;St.onload=function(){if(St.status===200)if(Ft==="text")Ve(St.response);else{var yr=new FileReader;yr.addEventListener("load",function(){return Ve(yr.result)},!1),yr.addEventListener("error",function(kr){return it(kr)},!1),yr.readAsDataURL(St.response)}else it("Failed to proxy resource "+Se+" with status code "+St.status)},St.onerror=it;var wn=se.indexOf("?")>-1?"&":"?";if(St.open("GET",""+se+wn+"url="+encodeURIComponent(J)+"&responseType="+Ft),Ft!=="text"&&St instanceof XMLHttpRequest&&(St.responseType=Ft),ue._options.imageTimeout){var Tn=ue._options.imageTimeout;St.timeout=Tn,St.ontimeout=function(){return it("Timed out ("+Tn+"ms) proxying "+Se)}}St.send()})},ie}(),Je=/^data:image\/svg\+xml/i,Pt=/^data:image\/.*;base64,/i,Dt=/^data:image\/.*/i,kn=function(ie){return Q1.SUPPORT_SVG_DRAWING||!fi(ie)},Nn=function(ie){return Dt.test(ie)},rr=function(ie){return Pt.test(ie)},Hr=function(ie){return ie.substr(0,4)==="blob"},fi=function(ie){return ie.substr(-3).toLowerCase()==="svg"||Je.test(ie)},ur=function(){function ie(J,ue){this.type=0,this.x=J,this.y=ue}return ie.prototype.add=function(J,ue){return new ie(this.x+J,this.y+ue)},ie}(),Fa=function(ie,J,ue){return new ur(ie.x+(J.x-ie.x)*ue,ie.y+(J.y-ie.y)*ue)},ji=function(){function ie(J,ue,se,Se){this.type=1,this.start=J,this.startControl=ue,this.endControl=se,this.end=Se}return ie.prototype.subdivide=function(J,ue){var se=Fa(this.start,this.startControl,J),Se=Fa(this.startControl,this.endControl,J),Ve=Fa(this.endControl,this.end,J),it=Fa(se,Se,J),Ft=Fa(Se,Ve,J),St=Fa(it,Ft,J);return ue?new ie(this.start,se,it,St):new ie(St,Ft,Ve,this.end)},ie.prototype.add=function(J,ue){return new ie(this.start.add(J,ue),this.startControl.add(J,ue),this.endControl.add(J,ue),this.end.add(J,ue))},ie.prototype.reverse=function(){return new ie(this.end,this.endControl,this.startControl,this.start)},ie}(),Na=function(ie){return ie.type===1},so=function(){function ie(J){var ue=J.styles,se=J.bounds,Se=cw(ue.borderTopLeftRadius,se.width,se.height),Ve=Se[0],it=Se[1],Ft=cw(ue.borderTopRightRadius,se.width,se.height),St=Ft[0],wn=Ft[1],Tn=cw(ue.borderBottomRightRadius,se.width,se.height),yr=Tn[0],kr=Tn[1],Li=cw(ue.borderBottomLeftRadius,se.width,se.height),Gi=Li[0],Ga=Li[1],ol=[];ol.push((Ve+St)/se.width),ol.push((Gi+yr)/se.width),ol.push((it+Ga)/se.height),ol.push((wn+kr)/se.height);var Ka=Math.max.apply(Math,ol);Ka>1&&(Ve/=Ka,it/=Ka,St/=Ka,wn/=Ka,yr/=Ka,kr/=Ka,Gi/=Ka,Ga/=Ka);var Vo=se.width-St,dh=se.height-kr,Xs=se.width-yr,Ts=se.height-Ga,vs=ue.borderTopWidth,pl=ue.borderRightWidth,ou=ue.borderBottomWidth,Bs=ue.borderLeftWidth,Nd=eh(ue.paddingTop,J.bounds.width),Yp=eh(ue.paddingRight,J.bounds.width),XA=eh(ue.paddingBottom,J.bounds.width),yh=eh(ue.paddingLeft,J.bounds.width);this.topLeftBorderDoubleOuterBox=Ve>0||it>0?Aa(se.left+Bs/3,se.top+vs/3,Ve-Bs/3,it-vs/3,bu.TOP_LEFT):new ur(se.left+Bs/3,se.top+vs/3),this.topRightBorderDoubleOuterBox=Ve>0||it>0?Aa(se.left+Vo,se.top+vs/3,St-pl/3,wn-vs/3,bu.TOP_RIGHT):new ur(se.left+se.width-pl/3,se.top+vs/3),this.bottomRightBorderDoubleOuterBox=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr-pl/3,kr-ou/3,bu.BOTTOM_RIGHT):new ur(se.left+se.width-pl/3,se.top+se.height-ou/3),this.bottomLeftBorderDoubleOuterBox=Gi>0||Ga>0?Aa(se.left+Bs/3,se.top+Ts,Gi-Bs/3,Ga-ou/3,bu.BOTTOM_LEFT):new ur(se.left+Bs/3,se.top+se.height-ou/3),this.topLeftBorderDoubleInnerBox=Ve>0||it>0?Aa(se.left+2*Bs/3,se.top+2*vs/3,Ve-2*Bs/3,it-2*vs/3,bu.TOP_LEFT):new ur(se.left+2*Bs/3,se.top+2*vs/3),this.topRightBorderDoubleInnerBox=Ve>0||it>0?Aa(se.left+Vo,se.top+2*vs/3,St-2*pl/3,wn-2*vs/3,bu.TOP_RIGHT):new ur(se.left+se.width-2*pl/3,se.top+2*vs/3),this.bottomRightBorderDoubleInnerBox=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr-2*pl/3,kr-2*ou/3,bu.BOTTOM_RIGHT):new ur(se.left+se.width-2*pl/3,se.top+se.height-2*ou/3),this.bottomLeftBorderDoubleInnerBox=Gi>0||Ga>0?Aa(se.left+2*Bs/3,se.top+Ts,Gi-2*Bs/3,Ga-2*ou/3,bu.BOTTOM_LEFT):new ur(se.left+2*Bs/3,se.top+se.height-2*ou/3),this.topLeftBorderStroke=Ve>0||it>0?Aa(se.left+Bs/2,se.top+vs/2,Ve-Bs/2,it-vs/2,bu.TOP_LEFT):new ur(se.left+Bs/2,se.top+vs/2),this.topRightBorderStroke=Ve>0||it>0?Aa(se.left+Vo,se.top+vs/2,St-pl/2,wn-vs/2,bu.TOP_RIGHT):new ur(se.left+se.width-pl/2,se.top+vs/2),this.bottomRightBorderStroke=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr-pl/2,kr-ou/2,bu.BOTTOM_RIGHT):new ur(se.left+se.width-pl/2,se.top+se.height-ou/2),this.bottomLeftBorderStroke=Gi>0||Ga>0?Aa(se.left+Bs/2,se.top+Ts,Gi-Bs/2,Ga-ou/2,bu.BOTTOM_LEFT):new ur(se.left+Bs/2,se.top+se.height-ou/2),this.topLeftBorderBox=Ve>0||it>0?Aa(se.left,se.top,Ve,it,bu.TOP_LEFT):new ur(se.left,se.top),this.topRightBorderBox=St>0||wn>0?Aa(se.left+Vo,se.top,St,wn,bu.TOP_RIGHT):new ur(se.left+se.width,se.top),this.bottomRightBorderBox=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr,kr,bu.BOTTOM_RIGHT):new ur(se.left+se.width,se.top+se.height),this.bottomLeftBorderBox=Gi>0||Ga>0?Aa(se.left,se.top+Ts,Gi,Ga,bu.BOTTOM_LEFT):new ur(se.left,se.top+se.height),this.topLeftPaddingBox=Ve>0||it>0?Aa(se.left+Bs,se.top+vs,Math.max(0,Ve-Bs),Math.max(0,it-vs),bu.TOP_LEFT):new ur(se.left+Bs,se.top+vs),this.topRightPaddingBox=St>0||wn>0?Aa(se.left+Math.min(Vo,se.width-pl),se.top+vs,Vo>se.width+pl?0:Math.max(0,St-pl),Math.max(0,wn-vs),bu.TOP_RIGHT):new ur(se.left+se.width-pl,se.top+vs),this.bottomRightPaddingBox=yr>0||kr>0?Aa(se.left+Math.min(Xs,se.width-Bs),se.top+Math.min(dh,se.height-ou),Math.max(0,yr-pl),Math.max(0,kr-ou),bu.BOTTOM_RIGHT):new ur(se.left+se.width-pl,se.top+se.height-ou),this.bottomLeftPaddingBox=Gi>0||Ga>0?Aa(se.left+Bs,se.top+Math.min(Ts,se.height-ou),Math.max(0,Gi-Bs),Math.max(0,Ga-ou),bu.BOTTOM_LEFT):new ur(se.left+Bs,se.top+se.height-ou),this.topLeftContentBox=Ve>0||it>0?Aa(se.left+Bs+yh,se.top+vs+Nd,Math.max(0,Ve-(Bs+yh)),Math.max(0,it-(vs+Nd)),bu.TOP_LEFT):new ur(se.left+Bs+yh,se.top+vs+Nd),this.topRightContentBox=St>0||wn>0?Aa(se.left+Math.min(Vo,se.width+Bs+yh),se.top+vs+Nd,Vo>se.width+Bs+yh?0:St-Bs+yh,wn-(vs+Nd),bu.TOP_RIGHT):new ur(se.left+se.width-(pl+Yp),se.top+vs+Nd),this.bottomRightContentBox=yr>0||kr>0?Aa(se.left+Math.min(Xs,se.width-(Bs+yh)),se.top+Math.min(dh,se.height+vs+Nd),Math.max(0,yr-(pl+Yp)),kr-(ou+XA),bu.BOTTOM_RIGHT):new ur(se.left+se.width-(pl+Yp),se.top+se.height-(ou+XA)),this.bottomLeftContentBox=Gi>0||Ga>0?Aa(se.left+Bs+yh,se.top+Ts,Math.max(0,Gi-(Bs+yh)),Ga-(ou+XA),bu.BOTTOM_LEFT):new ur(se.left+Bs+yh,se.top+se.height-(ou+XA))}return ie}();(function(ie){ie[ie.TOP_LEFT=0]="TOP_LEFT",ie[ie.TOP_RIGHT=1]="TOP_RIGHT",ie[ie.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ie[ie.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(bu||(bu={}));var Aa=function(ie,J,ue,se,Se){var Ve=(Math.sqrt(2)-1)/3*4,it=ue*Ve,Ft=se*Ve,St=ie+ue,wn=J+se;switch(Se){case bu.TOP_LEFT:return new ji(new ur(ie,wn),new ur(ie,wn-Ft),new ur(St-it,J),new ur(St,J));case bu.TOP_RIGHT:return new ji(new ur(ie,J),new ur(ie+it,J),new ur(St,wn-Ft),new ur(St,wn));case bu.BOTTOM_RIGHT:return new ji(new ur(St,J),new ur(St,J+Ft),new ur(ie+it,wn),new ur(ie,wn));case bu.BOTTOM_LEFT:default:return new ji(new ur(St,wn),new ur(St-it,wn),new ur(ie,J+Ft),new ur(ie,J))}},El=function(ie){return[ie.topLeftBorderBox,ie.topRightBorderBox,ie.bottomRightBorderBox,ie.bottomLeftBorderBox]},Tl=function(ie){return[ie.topLeftContentBox,ie.topRightContentBox,ie.bottomRightContentBox,ie.bottomLeftContentBox]},P1=function(ie){return[ie.topLeftPaddingBox,ie.topRightPaddingBox,ie.bottomRightPaddingBox,ie.bottomLeftPaddingBox]},th=function(){function ie(J,ue,se){this.offsetX=J,this.offsetY=ue,this.matrix=se,this.type=0,this.target=6}return ie}(),y1=function(){function ie(J,ue){this.path=J,this.target=ue,this.type=1}return ie}(),R1=function(){function ie(J){this.opacity=J,this.type=2,this.target=6}return ie}(),Jh=function(ie){return ie.type===0},id=function(ie){return ie.type===1},Dd=function(ie){return ie.type===2},Xu=function(ie,J){return ie.length===J.length&&ie.some(function(ue,se){return ue===J[se]})},Hh=function(ie,J,ue,se,Se){return ie.map(function(Ve,it){switch(it){case 0:return Ve.add(J,ue);case 1:return Ve.add(J+se,ue);case 2:return Ve.add(J+se,ue+Se);case 3:return Ve.add(J,ue+Se)}return Ve})},gf=function(){function ie(J){this.element=J,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ie}(),Od=function(){function ie(J,ue){if(this.container=J,this.parent=ue,this.effects=[],this.curves=new so(this.container),this.container.styles.opacity<1&&this.effects.push(new R1(this.container.styles.opacity)),this.container.styles.transform!==null){var se=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Se=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Ve=this.container.styles.transform;this.effects.push(new th(se,Se,Ve))}if(this.container.styles.overflowX!==0){var it=El(this.curves),Ft=P1(this.curves);Xu(it,Ft)?this.effects.push(new y1(it,6)):(this.effects.push(new y1(it,2)),this.effects.push(new y1(Ft,4)))}}return ie.prototype.getEffects=function(J){for(var ue=[2,3].indexOf(this.container.styles.position)===-1,se=this.parent,Se=this.effects.slice(0);se;){var Ve=se.effects.filter(function(St){return!id(St)});if(ue||se.container.styles.position!==0||!se.parent){if(Se.unshift.apply(Se,Ve),ue=[2,3].indexOf(se.container.styles.position)===-1,se.container.styles.overflowX!==0){var it=El(se.curves),Ft=P1(se.curves);Xu(it,Ft)||Se.unshift(new y1(Ft,6))}}else Se.unshift.apply(Se,Ve);se=se.parent}return Se.filter(function(St){return Af(St.target,J)})},ie}(),Jg=function(ie,J,ue,se){ie.container.elements.forEach(function(Se){var Ve=Af(Se.flags,4),it=Af(Se.flags,2),Ft=new Od(Se,ie);Af(Se.styles.display,2048)&&se.push(Ft);var St=Af(Se.flags,8)?[]:se;if(Ve||it){var wn=Ve||Se.styles.isPositioned()?ue:J,Tn=new gf(Ft);if(Se.styles.isPositioned()||Se.styles.opacity<1||Se.styles.isTransformed()){var yr=Se.styles.zIndex.order;if(yr<0){var kr=0;wn.negativeZIndex.some(function(Gi,Ga){return yr>Gi.element.container.styles.zIndex.order?(kr=Ga,!1):kr>0}),wn.negativeZIndex.splice(kr,0,Tn)}else if(yr>0){var Li=0;wn.positiveZIndex.some(function(Gi,Ga){return yr>=Gi.element.container.styles.zIndex.order?(Li=Ga+1,!1):Li>0}),wn.positiveZIndex.splice(Li,0,Tn)}else wn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Tn)}else Se.styles.isFloating()?wn.nonPositionedFloats.push(Tn):wn.nonPositionedInlineLevel.push(Tn);Jg(Ft,Tn,Ve?Tn:ue,St)}else Se.styles.isInlineLevel()?J.inlineLevel.push(Ft):J.nonInlineLevel.push(Ft),Jg(Ft,J,ue,St);Af(Se.flags,8)&&cg(Se,St)})},cg=function(ie,J){for(var ue=ie instanceof Sy?ie.start:1,se=ie instanceof Sy&&ie.reversed,Se=0;Se0&&ue.intrinsicHeight>0){var Ve=Dw(ue),it=P1(se);this.path(it),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Se,0,0,ue.intrinsicWidth,ue.intrinsicHeight,Ve.left,Ve.top,Ve.width,Ve.height),this.ctx.restore()}},J.prototype.renderNodeContent=function(ue){return g(this,void 0,void 0,function(){var se,Se,Ve,it,Ft,St,wn,Tn,yr,kr,Li,Gi,Ga,ol,Ka,Vo,dh,Xs;return d(this,function(Ts){switch(Ts.label){case 0:this.applyEffects(ue.getEffects(4)),se=ue.container,Se=ue.curves,Ve=se.styles,it=0,Ft=se.textNodes,Ts.label=1;case 1:return it0&&lA>0&&(ou=Ve.ctx.createPattern(Ts,"repeat"),Ve.renderRepeat(Nd,ou,Jp,Zp))):gw(Tn)&&(Bs=Zb(ue,se,[null,null,null]),Nd=Bs[0],Yp=Bs[1],XA=Bs[2],yh=Bs[3],lA=Bs[4],$m=Tn.position.length===0?[ag]:Tn.position,Jp=eh($m[0],yh),Zp=eh($m[$m.length-1],lA),Ow=Q6(Tn,Jp,Zp,yh,lA),ep=Ow[0],Pf=Ow[1],ep>0&&Pf>0&&(jm=Ve.ctx.createRadialGradient(Yp+Jp,XA+Zp,0,Yp+Jp,XA+Zp,ep),hy(Tn.stops,2*ep).forEach(function(o7){return jm.addColorStop(o7.stop,mu(o7.color))}),Ve.path(Nd),Ve.ctx.fillStyle=jm,ep!==Pf?(F4=ue.bounds.left+.5*ue.bounds.width,Nw=ue.bounds.top+.5*ue.bounds.height,a7=1/(Ry=Pf/ep),Ve.ctx.save(),Ve.ctx.translate(F4,Nw),Ve.ctx.transform(1,0,0,Ry,0,0),Ve.ctx.translate(-F4,-Nw),Ve.ctx.fillRect(Yp,a7*(XA-Nw)+Nw,yh,lA*a7),Ve.ctx.restore()):Ve.ctx.fill())),gx.label=6;case 6:return se--,[2]}})},Ve=this,it=0,Ft=ue.styles.backgroundImage.slice(0).reverse(),wn.label=1;case 1:return it0?Tn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Tn.color,Tn.width,Ft,ue.curves,2)]:[3,11]:[3,13];case 4:return kr.sent(),[3,11];case 5:return Tn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Tn.color,Tn.width,Ft,ue.curves,3)];case 6:return kr.sent(),[3,11];case 7:return Tn.style!==4?[3,9]:[4,this.renderDoubleBorder(Tn.color,Tn.width,Ft,ue.curves)];case 8:return kr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Tn.color,Ft,ue.curves)];case 10:kr.sent(),kr.label=11;case 11:Ft++,kr.label=12;case 12:return St++,[3,3];case 13:return[2]}})})},J.prototype.renderDashedDottedBorder=function(ue,se,Se,Ve,it){return g(this,void 0,void 0,function(){var Ft,St,wn,Tn,yr,kr,Li,Gi,Ga,ol,Ka,Vo,dh,Xs,Ts,vs;return d(this,function(pl){return this.ctx.save(),Ft=qp(Ve,Se),St=pf(Ve,Se),it===2&&(this.path(St),this.ctx.clip()),Na(St[0])?(wn=St[0].start.x,Tn=St[0].start.y):(wn=St[0].x,Tn=St[0].y),Na(St[1])?(yr=St[1].end.x,kr=St[1].end.y):(yr=St[1].x,kr=St[1].y),Li=Math.abs(Se===0||Se===2?wn-yr:Tn-kr),this.ctx.beginPath(),it===3?this.formatPath(Ft):this.formatPath(St.slice(0,2)),Gi=se<3?3*se:2*se,Ga=se<3?2*se:se,it===3&&(Gi=se,Ga=se),ol=!0,Li<=2*Gi?ol=!1:Li<=2*Gi+Ga?(Gi*=Ka=Li/(2*Gi+Ga),Ga*=Ka):(Vo=Math.floor((Li+Ga)/(Gi+Ga)),dh=(Li-Vo*Gi)/(Vo-1),Ga=(Xs=(Li-(Vo+1)*Gi)/Vo)<=0||Math.abs(Ga-dh)0&&arguments[0]!==void 0?arguments[0]:[];xa(b=yl(document.body.children)).call(b,function(x,C){w[C]!==void 0&&(x.style.display=w[C])})}(g),document.body.style.overflow=d})};function d4n(r,i){tLt(r,function(o,l){window.scrollTo(0,0),f4n(o,{allowTaint:!0,height:o.clientHeight,width:o.clientWidth,scrollY:0,scrollX:0}).then(function(h){(function(g,d){var b=document.createElement("a");b.style.display="none",b.href=g,b.download="".concat(d,".png"),document.body.appendChild(b),b.click(),document.body.removeChild(b)})(h.toDataURL("image/jpeg"),i),l()})})}var A4n=ste.f,g4n=Za(A4n),p4n=Za([].push),j8t=function(r){return function(i){for(var o,l=iy(i),h=OB(l),g=h.length,d=0,b=[];g>d;)o=h[d++],Zu&&!g4n(l,o)||p4n(b,r?[o,l[o]]:l[o]);return b}},nLt={entries:j8t(!0),values:j8t(!1)},m4n=nLt.values;ma({target:"Object",stat:!0},{values:function(r){return m4n(r)}});var b$=Gc.Object.values,b4n=nLt.entries;ma({target:"Object",stat:!0},{entries:function(r){return b4n(r)}});var Nee=Gc.Object.entries,w4n={mouseResize:{},getImgPosition:function(){var r=this.img.getBoundingClientRect(),i=this.previewerDom.parentNode.getBoundingClientRect(),o=Ip(this.img.style.padding)||0;return{bottom:r.bottom-i.bottom,top:r.top-i.top+1.5*o,height:r.height,width:r.width,right:r.right-i.right,left:r.left-i.left+1.5*o,x:r.x-i.x,y:r.y-i.y}},initBubbleButtons:function(){var r=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:r.left-1,top:r.top-1,marginTop:0,marginLeft:0},scrollTop:this.previewerDom.scrollTop,position:r}},showBubble:function(r,i,o){this.$isResizing()||(this.img=r,this.previewerDom=o,this.container=i,this.buts=this.initBubbleButtons(),this.drawBubbleButs())},emit:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};switch(r){case"mousedown":return this.resizeBegin(i);case"mouseup":return this.resizeStop(i);case"mousemove":return this.resizeWorking(i);case"scroll":return this.dealScroll(i);case"remove":return this.remove();case"previewUpdate":return this.previewUpdate(i)}},previewUpdate:function(r){this.$isResizing()||(this.remove(),r())},drawBubbleButs:function(){var r,i=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={},xa(r=pu(this.buts.points.arr)).call(r,function(o){var l=i.buts.points.arr[o],h=document.createElement("div");h.className=["cherry-previewer-img-size-handler__points","cherry-previewer-img-size-handler__points-".concat(l)].join(" "),h.dataset.name=l,i.butsLayout.appendChild(h),i.butsPoints["pints-".concat(l)]=h})),this.updateBubbleButs()},remove:function(){this.butsLayout=!1},updateBubbleButs:function(){var r,i,o=this;this.$updatePointsInfo(),xa(r=pu(this.buts.style)).call(r,function(l){o.butsLayout.style[l]="".concat(o.buts.style[l],"px")}),xa(i=pu(this.buts.points.arr)).call(i,function(l){var h=o.buts.points.arr[l];o.butsPoints["pints-".concat(h)].style.top="".concat(o.buts.points.arrInfo[h].top,"px"),o.butsPoints["pints-".concat(h)].style.left="".concat(o.buts.points.arrInfo[h].left,"px")})},$updatePointsInfo:function(){var r,i=this,o=this.buts.style.width,l=this.buts.style.height,h=this.$getPointsInfo(o,l);xa(r=pu(this.buts.points.arr)).call(r,function(g){var d=i.buts.points.arr[g];i.buts.points.arrInfo[d].left!==h[d].left&&(i.buts.points.arrInfo[d].left=h[d].left),i.buts.points.arrInfo[d].top!==h[d].top&&(i.buts.points.arrInfo[d].top=h[d].top)})},$getPointsInfo:function(r,i){return{leftTop:{left:0,top:0},leftBottom:{left:0,top:i},rightTop:{left:r,top:0},rightBottom:{left:r,top:i},leftMiddle:{left:0,top:i/2},middleBottom:{left:r/2,top:i},middleTop:{left:r/2,top:0},rightMiddle:{left:r,top:i/2}}},$isResizing:function(){return this.mouseResize.resize},dealScroll:function(r){var i=this.getImgPosition();this.butsLayout.style.marginTop!==i.top-this.buts.position.top&&(this.butsLayout.style.marginTop="".concat(i.top-this.buts.position.top,"px"),this.buts.style.marginTop="".concat(i.top-this.buts.position.top,"px")),this.butsLayout.style.marginLeft!==i.left-this.buts.position.left&&(this.butsLayout.style.marginLeft="".concat(i.left-this.buts.position.left,"px"),this.buts.style.marginLeft="".concat(i.left-this.buts.position.left,"px"))},initMouse:function(){return{left:0,top:0,resize:!1,name:""}},resizeBegin:function(r){var i=r.target;if(!i.classList.contains("cherry-previewer-img-size-handler__points"))return!1;this.mouseResize.left=r.clientX,this.mouseResize.top=r.clientY,this.mouseResize.resize=!0,this.mouseResize.name=i.getAttribute("data-name"),this.previewerDom.classList.add("doing-resize-img")},resizeStop:function(r,i,o,l){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(r,i){if(this.$isResizing()){var o=r.clientX-this.mouseResize.left,l=r.clientY-this.mouseResize.top,h={};switch(this.mouseResize.name){case"leftTop":case"leftBottom":case"leftMiddle":h=this.$getChange(o,l,"x"),this.buts.style.width=this.buts.position.width-h.changeX,this.mouseResize.name!=="leftMiddle"&&(this.buts.style.height=this.buts.position.height-h.changeY);break;case"rightTop":case"rightBottom":case"rightMiddle":h=this.$getChange(o,l,"x"),this.buts.style.width=this.buts.position.width+h.changeX,this.mouseResize.name!=="rightMiddle"&&(this.buts.style.height=this.buts.position.height+h.changeY);break;case"middleTop":h=this.$getChange(o,l,"y"),this.buts.style.height=this.buts.position.height-h.changeY;break;case"middleBottom":h=this.$getChange(o,l,"y"),this.buts.style.height=this.buts.position.height+h.changeY}this.updateBubbleButs(),this.change()}},change:function(){this.emitChange(this.img,{width:this.buts.style.width,height:this.buts.style.height})},bindChange:function(r){this.emitChange=r},$getChange:function(r,i,o){var l={changeX:0,changeY:0};return o==="y"?(l.changeY=i,l.changeX=i*this.buts.position.width/this.buts.position.height):(l.changeX=r,l.changeY=r*this.buts.position.height/this.buts.position.width),l}},ZIe=w4n,v4n=WB.every,y4n=zj("every");ma({target:"Array",proto:!0,forced:!y4n},{every:function(r){return v4n(this,r,arguments.length>1?arguments[1]:void 0)}});var x4n=Ld("Array").every,eMe=Array.prototype,J$=function(r){var i=r.every;return r===eMe||uf(eMe,r)&&i===eMe.every?x4n:i},k4n=Ai.TypeError,rLt=function(r,i,o,l,h,g,d,b){for(var w,x,C=h,B=0,L=!!d&&tg(d,b);B0&&HB(w))x=r4(w),C=rLt(r,i,w,x,C,g-1)-1;else{if(C>=9007199254740991)throw k4n("Exceed the acceptable array length");r[C]=w}C++}B++}return C},C4n=rLt;ma({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,i=ay(this),o=r4(i),l=mpe(i,0);return l.length=C4n(l,i,i,o,0,r===void 0?1:jj(r)),l}});var E4n=Ld("Array").flat,tMe=Array.prototype,T4n=function(r){var i=r.flat;return r===tMe||uf(tMe,r)&&i===tMe.flat?E4n:i},B4n=function(){function r(i,o,l,h,g,d){qr(this,r),gi(this,"tableEditor",{info:{},tableCodes:[],editorDom:{}}),this.trigger=i,this.target=o,this.previewerDom=h,this.container=l,this.codeMirror=g,this.$initReg(),this.$findTableInEditor(),this.tableElement=d}return Yr(r,[{key:"emit",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};switch(i){case"keyup":return this.trigger==="click"&&this.$onInputChange(o);case"remove":return this.$remove();case"scroll":case"previewUpdate":return this.$refreshPosition();case"mousedown":return;case"mouseup":return this.trigger==="click"&&this.$tryRemoveMe(o,l)}}},{key:"$tryRemoveMe",value:function(i,o){/textarea/i.test(i.target.tagName)||(this.$remove(),o())}},{key:"$getPosition",value:function(){var i=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.tableEditor.info.tdNode).getBoundingClientRect(),o=this.previewerDom.parentNode.getBoundingClientRect();return{top:i.top-o.top,height:i.height,width:i.width,left:i.left-o.left,maxHeight:o.height}}},{key:"setStyle",value:function(i,o,l){i.getBoundingClientRect()[o]!==l&&(i.style[o]=l)}},{key:"$setInputOffset",value:function(){var i=this.$getPosition(),o=this.tableEditor.editorDom.inputDiv;this.setStyle(o,"width","".concat(i.width,"px")),this.setStyle(o,"height","".concat(i.height,"px")),this.setStyle(o,"top","".concat(i.top,"px")),this.setStyle(o,"left","".concat(i.left,"px"));var l=i.top>=0&&i.top+i.height<=i.maxHeight;this.setStyle(o,"display",l?"":"none")}},{key:"$setSymbolOffset",value:function(){var i,o=this,l=this.tableEditor.editorDom.symbolContainer,h=this.tableEditor.info,g=h.tableNode,d=h.trNode,b=h.isTHead,w=this.$getPosition(g),x=this.$getPosition(d),C=this.$getPosition(),B=this.previewerDom.getBoundingClientRect();this.setStyle(this.container,"width","".concat(w.width,"px")),this.setStyle(this.container,"height","".concat(w.height,"px")),this.setStyle(this.container,"top","".concat(w.top,"px")),this.setStyle(this.container,"left","".concat(w.left,"px")),xa(i=l.childNodes).call(i,function(L){var I,P=L.dataset,z=P.index,W=P.type,Q=P.dir,V=20,oe=7;o.setStyle(L,{Row:["left","right"],Col:["top","bottom"]}[Q][z],"-".concat(V,"px")),o.setStyle(L,"display","");var G={LastRow:function(){return o.setStyle(L,"top","".concat(x.top-w.top-oe,"px"))},NextRow:function(){return o.setStyle(L,"top","".concat(x.top-w.top+x.height-oe,"px"))},LastCol:function(){return o.setStyle(L,"left","".concat(C.left-w.left-oe,"px"))},NextCol:function(){return o.setStyle(L,"left","".concat(C.left-w.left+C.width-oe,"px"))}},ae=rt(I="".concat(W)).call(I,Q);G[ae](),o.setStyle(L,"display",function(ne){var de,Ae=ne.getBoundingClientRect(),le={top:[B.top,B.top+B.height-Ae.height],left:[B.left,B.left+B.width-Ae.width]};return J$(de=Nee(le)).call(de,function(ve){var me=gu(ve,2),ee=me[0],ye=gu(me[1],2),Y=ye[0],Ee=ye[1];return Ae[ee]>=Y&&Ae[ee]<=Ee})}(L)?"":"none"),b&&ae==="LastRow"&&o.setStyle(L,"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 i=[];this.codeMirror.getValue().replace(this.codeBlockReg,function(o){return o.replace(/\|/g,".")}).replace(this.tableReg,function(o){var l,h=o.replace(/^\n*/,""),g=((l=(arguments.length<=1?0:arguments.length-1)-2+1)<1||arguments.length<=l?void 0:arguments[l])+o.match(/^\n*/)[0].length;i.push({code:h,offset:g})}),this.tableEditor.tableCodes=i}},{key:"$collectTableDom",value:function(){var i,o,l,h=yl(this.previewerDom.querySelectorAll("table.cherry-table")),g=this.$getClosestNode(this.target,"TABLE");if(g===!1)return!1;var d=t1(i=yl(this.target.parentElement.childNodes)).call(i,function(b){return b.tagName.toLowerCase()==="td"}).length;this.tableEditor.info={tableNode:g,tdNode:this.target,trNode:this.target.parentElement,tdIndex:xl(o=yl(this.target.parentElement.childNodes)).call(o,this.target),trIndex:xl(l=yl(this.target.parentElement.parentElement.childNodes)).call(l,this.target.parentElement),isTHead:this.target.parentElement.parentElement.tagName!=="TBODY",totalTables:h.length,tableIndex:xl(h).call(h,g),tableText:g.textContent.replace(/[\s]/g,""),columns:d}}},{key:"$setSelection",value:function(i){var o,l,h,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"table",d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],b=this.tableEditor.tableCodes[i],w=this.codeMirror.getValue(),x=this.tableEditor.info,C=(o=(l=Zi(w).call(w,0,b.offset).match(/\n/g))===null||l===void 0?void 0:l.length)!==null&&o!==void 0?o:0,B=this.$getTdOffset(b.code,x.isTHead,x.trIndex,x.tdIndex),L=B.preLine,I=B.preCh,P=B.plusCh,z=B.currentTd;if(g==="table"){var W=C+b.code.match(/\n/g).length,Q=b.code.match(/[^\n]+\n*$/)[0].length;this.tableEditor.info.selection=[{line:C,ch:0},{line:W,ch:Q}]}else this.tableEditor.info.selection=[{line:C+L,ch:I},{line:C+L,ch:I+P}];d&&(h=this.codeMirror).setSelection.apply(h,sM(this.tableEditor.info.selection)),this.tableEditor.info.code=z}},{key:"$getTdOffset",value:function(i,o,l,h){for(var g=o?0:l+2,d=i.split(/\n/)[g].split(/\|/),b=/^\s*$/.test(d[0]),w=b?h+1:h,x=d[w],C=[],B=0;B/g,` -`),this.tableEditor.editorDom.inputDom.focus()}},{key:"$onInputChange",value:function(i){i.target.tagName==="TEXTAREA"&&this.codeMirror.replaceSelection(i.target.value.replace(/\n/g,"
    "),"around")}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var i=getComputedStyle(this.tableEditor.info.tdNode);this.tableEditor.editorDom.inputDom.style.textAlign=i.textAlign||"left",this.tableEditor.editorDom.inputDom.style.fontSize=i.fontSize||"16px",this.tableEditor.editorDom.inputDom.style.fontFamily=i.fontFamily,this.tableEditor.editorDom.inputDom.style.lineHeight=i.lineHeight,this.tableEditor.editorDom.inputDom.style.padding=i.padding,/left/.test(i.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingRight="0px"),/right/.test(i.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingLeft="0px"),/center/.test(i.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(i,o){return i.tagName===o?i:i.parentNode.tagName!=="BODY"&&this.$getClosestNode(i.parentNode,o)}},{key:"$drawSymbol",value:function(){var i,o=this,l=["Last","Next"],h=["Row","Col"],g={Row:"行",Col:"列"},d=T4n(i=ss(h).call(h,function(w,x){return ss(l).call(l,function(C){return ss(h).call(h,function(B){return["".concat(x),C,B]})})})).call(i,2),b=document.createElement("ul");b.className="cherry-previewer-table-hover-handler-container",xa(d).call(d,function(w){var x=gu(w,3),C=x[0],B=x[1],L=x[2],I=document.createElement("li");I.setAttribute("data-index",C),I.setAttribute("data-type",B),I.setAttribute("data-dir",L),I.className="cherry-previewer-table-hover-handler__symbol",I.title="添加".concat(g[L]),I.innerHTML="+",I.addEventListener("click",function(P){var z,W=P.target;if(W instanceof HTMLElement){var Q=W.dataset,V=Q.type,oe=Q.dir;o[rt(z="$add".concat(V)).call(z,oe)]()}}),b.appendChild(I)},!0),this.tableEditor.editorDom.symbolContainer=b,this.container.appendChild(this.tableEditor.editorDom.symbolContainer),this.$setSymbolOffset()}},{key:"$addLastRow",value:function(){var i=gu(this.tableEditor.info.selection,1)[0].line,o="".concat(e1("|").call("|",this.tableEditor.info.columns),` +}`,pe=function(ie){Me(ie,"."+$+k+X+` + .`+R+S+X)},Me=function(ie,J){var ue=ie.ownerDocument;if(ue){var se=ue.createElement("style");se.textContent=J,ie.appendChild(se)}},Oe=function(){function ie(){}return ie.getOrigin=function(J){var ue=ie._link;return ue?(ue.href=J,ue.href=ue.href,ue.protocol+ue.hostname+ue.port):"about:blank"},ie.isSameOrigin=function(J){return ie.getOrigin(J)===ie._origin},ie.setContext=function(J){ie._link=J.document.createElement("a"),ie._origin=ie.getOrigin(J.location.href)},ie._origin="about:blank",ie}(),Ge=function(){function ie(J,ue){this.context=J,this._options=ue,this._cache={}}return ie.prototype.addImage=function(J){var ue=Promise.resolve();return this.has(J)||(Hr(J)||kn(J))&&(this._cache[J]=this.loadImage(J)).catch(function(){}),ue},ie.prototype.match=function(J){return this._cache[J]},ie.prototype.loadImage=function(J){return g(this,void 0,void 0,function(){var ue,se,Se,Ve,it=this;return d(this,function(Ft){switch(Ft.label){case 0:return ue=Oe.isSameOrigin(J),se=!Nn(J)&&this._options.useCORS===!0&&Q1.SUPPORT_CORS_IMAGES&&!ue,Se=!Nn(J)&&!ue&&!Hr(J)&&typeof this._options.proxy=="string"&&Q1.SUPPORT_CORS_XHR&&!se,ue||this._options.allowTaint!==!1||Nn(J)||Hr(J)||Se||se?(Ve=J,Se?[4,this.proxy(Ve)]:[3,2]):[2];case 1:Ve=Ft.sent(),Ft.label=2;case 2:return this.context.logger.debug("Added image "+J.substring(0,256)),[4,new Promise(function(St,wn){var Tn=new Image;Tn.onload=function(){return St(Tn)},Tn.onerror=wn,(rr(Ve)||se)&&(Tn.crossOrigin="anonymous"),Tn.src=Ve,Tn.complete===!0&&setTimeout(function(){return St(Tn)},500),it._options.imageTimeout>0&&setTimeout(function(){return wn("Timed out ("+it._options.imageTimeout+"ms) loading image")},it._options.imageTimeout)})];case 3:return[2,Ft.sent()]}})})},ie.prototype.has=function(J){return this._cache[J]!==void 0},ie.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ie.prototype.proxy=function(J){var ue=this,se=this._options.proxy;if(!se)throw new Error("No proxy defined");var Se=J.substring(0,256);return new Promise(function(Ve,it){var Ft=Q1.SUPPORT_RESPONSE_TYPE?"blob":"text",St=new XMLHttpRequest;St.onload=function(){if(St.status===200)if(Ft==="text")Ve(St.response);else{var yr=new FileReader;yr.addEventListener("load",function(){return Ve(yr.result)},!1),yr.addEventListener("error",function(kr){return it(kr)},!1),yr.readAsDataURL(St.response)}else it("Failed to proxy resource "+Se+" with status code "+St.status)},St.onerror=it;var wn=se.indexOf("?")>-1?"&":"?";if(St.open("GET",""+se+wn+"url="+encodeURIComponent(J)+"&responseType="+Ft),Ft!=="text"&&St instanceof XMLHttpRequest&&(St.responseType=Ft),ue._options.imageTimeout){var Tn=ue._options.imageTimeout;St.timeout=Tn,St.ontimeout=function(){return it("Timed out ("+Tn+"ms) proxying "+Se)}}St.send()})},ie}(),Je=/^data:image\/svg\+xml/i,Pt=/^data:image\/.*;base64,/i,Dt=/^data:image\/.*/i,kn=function(ie){return Q1.SUPPORT_SVG_DRAWING||!fi(ie)},Nn=function(ie){return Dt.test(ie)},rr=function(ie){return Pt.test(ie)},Hr=function(ie){return ie.substr(0,4)==="blob"},fi=function(ie){return ie.substr(-3).toLowerCase()==="svg"||Je.test(ie)},ur=function(){function ie(J,ue){this.type=0,this.x=J,this.y=ue}return ie.prototype.add=function(J,ue){return new ie(this.x+J,this.y+ue)},ie}(),Fa=function(ie,J,ue){return new ur(ie.x+(J.x-ie.x)*ue,ie.y+(J.y-ie.y)*ue)},ji=function(){function ie(J,ue,se,Se){this.type=1,this.start=J,this.startControl=ue,this.endControl=se,this.end=Se}return ie.prototype.subdivide=function(J,ue){var se=Fa(this.start,this.startControl,J),Se=Fa(this.startControl,this.endControl,J),Ve=Fa(this.endControl,this.end,J),it=Fa(se,Se,J),Ft=Fa(Se,Ve,J),St=Fa(it,Ft,J);return ue?new ie(this.start,se,it,St):new ie(St,Ft,Ve,this.end)},ie.prototype.add=function(J,ue){return new ie(this.start.add(J,ue),this.startControl.add(J,ue),this.endControl.add(J,ue),this.end.add(J,ue))},ie.prototype.reverse=function(){return new ie(this.end,this.endControl,this.startControl,this.start)},ie}(),Na=function(ie){return ie.type===1},so=function(){function ie(J){var ue=J.styles,se=J.bounds,Se=sw(ue.borderTopLeftRadius,se.width,se.height),Ve=Se[0],it=Se[1],Ft=sw(ue.borderTopRightRadius,se.width,se.height),St=Ft[0],wn=Ft[1],Tn=sw(ue.borderBottomRightRadius,se.width,se.height),yr=Tn[0],kr=Tn[1],Li=sw(ue.borderBottomLeftRadius,se.width,se.height),Gi=Li[0],Ga=Li[1],ol=[];ol.push((Ve+St)/se.width),ol.push((Gi+yr)/se.width),ol.push((it+Ga)/se.height),ol.push((wn+kr)/se.height);var Ka=Math.max.apply(Math,ol);Ka>1&&(Ve/=Ka,it/=Ka,St/=Ka,wn/=Ka,yr/=Ka,kr/=Ka,Gi/=Ka,Ga/=Ka);var Vo=se.width-St,dh=se.height-kr,Xs=se.width-yr,Ts=se.height-Ga,vs=ue.borderTopWidth,pl=ue.borderRightWidth,ou=ue.borderBottomWidth,Bs=ue.borderLeftWidth,Qd=eh(ue.paddingTop,J.bounds.width),qp=eh(ue.paddingRight,J.bounds.width),GA=eh(ue.paddingBottom,J.bounds.width),yh=eh(ue.paddingLeft,J.bounds.width);this.topLeftBorderDoubleOuterBox=Ve>0||it>0?Aa(se.left+Bs/3,se.top+vs/3,Ve-Bs/3,it-vs/3,bu.TOP_LEFT):new ur(se.left+Bs/3,se.top+vs/3),this.topRightBorderDoubleOuterBox=Ve>0||it>0?Aa(se.left+Vo,se.top+vs/3,St-pl/3,wn-vs/3,bu.TOP_RIGHT):new ur(se.left+se.width-pl/3,se.top+vs/3),this.bottomRightBorderDoubleOuterBox=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr-pl/3,kr-ou/3,bu.BOTTOM_RIGHT):new ur(se.left+se.width-pl/3,se.top+se.height-ou/3),this.bottomLeftBorderDoubleOuterBox=Gi>0||Ga>0?Aa(se.left+Bs/3,se.top+Ts,Gi-Bs/3,Ga-ou/3,bu.BOTTOM_LEFT):new ur(se.left+Bs/3,se.top+se.height-ou/3),this.topLeftBorderDoubleInnerBox=Ve>0||it>0?Aa(se.left+2*Bs/3,se.top+2*vs/3,Ve-2*Bs/3,it-2*vs/3,bu.TOP_LEFT):new ur(se.left+2*Bs/3,se.top+2*vs/3),this.topRightBorderDoubleInnerBox=Ve>0||it>0?Aa(se.left+Vo,se.top+2*vs/3,St-2*pl/3,wn-2*vs/3,bu.TOP_RIGHT):new ur(se.left+se.width-2*pl/3,se.top+2*vs/3),this.bottomRightBorderDoubleInnerBox=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr-2*pl/3,kr-2*ou/3,bu.BOTTOM_RIGHT):new ur(se.left+se.width-2*pl/3,se.top+se.height-2*ou/3),this.bottomLeftBorderDoubleInnerBox=Gi>0||Ga>0?Aa(se.left+2*Bs/3,se.top+Ts,Gi-2*Bs/3,Ga-2*ou/3,bu.BOTTOM_LEFT):new ur(se.left+2*Bs/3,se.top+se.height-2*ou/3),this.topLeftBorderStroke=Ve>0||it>0?Aa(se.left+Bs/2,se.top+vs/2,Ve-Bs/2,it-vs/2,bu.TOP_LEFT):new ur(se.left+Bs/2,se.top+vs/2),this.topRightBorderStroke=Ve>0||it>0?Aa(se.left+Vo,se.top+vs/2,St-pl/2,wn-vs/2,bu.TOP_RIGHT):new ur(se.left+se.width-pl/2,se.top+vs/2),this.bottomRightBorderStroke=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr-pl/2,kr-ou/2,bu.BOTTOM_RIGHT):new ur(se.left+se.width-pl/2,se.top+se.height-ou/2),this.bottomLeftBorderStroke=Gi>0||Ga>0?Aa(se.left+Bs/2,se.top+Ts,Gi-Bs/2,Ga-ou/2,bu.BOTTOM_LEFT):new ur(se.left+Bs/2,se.top+se.height-ou/2),this.topLeftBorderBox=Ve>0||it>0?Aa(se.left,se.top,Ve,it,bu.TOP_LEFT):new ur(se.left,se.top),this.topRightBorderBox=St>0||wn>0?Aa(se.left+Vo,se.top,St,wn,bu.TOP_RIGHT):new ur(se.left+se.width,se.top),this.bottomRightBorderBox=yr>0||kr>0?Aa(se.left+Xs,se.top+dh,yr,kr,bu.BOTTOM_RIGHT):new ur(se.left+se.width,se.top+se.height),this.bottomLeftBorderBox=Gi>0||Ga>0?Aa(se.left,se.top+Ts,Gi,Ga,bu.BOTTOM_LEFT):new ur(se.left,se.top+se.height),this.topLeftPaddingBox=Ve>0||it>0?Aa(se.left+Bs,se.top+vs,Math.max(0,Ve-Bs),Math.max(0,it-vs),bu.TOP_LEFT):new ur(se.left+Bs,se.top+vs),this.topRightPaddingBox=St>0||wn>0?Aa(se.left+Math.min(Vo,se.width-pl),se.top+vs,Vo>se.width+pl?0:Math.max(0,St-pl),Math.max(0,wn-vs),bu.TOP_RIGHT):new ur(se.left+se.width-pl,se.top+vs),this.bottomRightPaddingBox=yr>0||kr>0?Aa(se.left+Math.min(Xs,se.width-Bs),se.top+Math.min(dh,se.height-ou),Math.max(0,yr-pl),Math.max(0,kr-ou),bu.BOTTOM_RIGHT):new ur(se.left+se.width-pl,se.top+se.height-ou),this.bottomLeftPaddingBox=Gi>0||Ga>0?Aa(se.left+Bs,se.top+Math.min(Ts,se.height-ou),Math.max(0,Gi-Bs),Math.max(0,Ga-ou),bu.BOTTOM_LEFT):new ur(se.left+Bs,se.top+se.height-ou),this.topLeftContentBox=Ve>0||it>0?Aa(se.left+Bs+yh,se.top+vs+Qd,Math.max(0,Ve-(Bs+yh)),Math.max(0,it-(vs+Qd)),bu.TOP_LEFT):new ur(se.left+Bs+yh,se.top+vs+Qd),this.topRightContentBox=St>0||wn>0?Aa(se.left+Math.min(Vo,se.width+Bs+yh),se.top+vs+Qd,Vo>se.width+Bs+yh?0:St-Bs+yh,wn-(vs+Qd),bu.TOP_RIGHT):new ur(se.left+se.width-(pl+qp),se.top+vs+Qd),this.bottomRightContentBox=yr>0||kr>0?Aa(se.left+Math.min(Xs,se.width-(Bs+yh)),se.top+Math.min(dh,se.height+vs+Qd),Math.max(0,yr-(pl+qp)),kr-(ou+GA),bu.BOTTOM_RIGHT):new ur(se.left+se.width-(pl+qp),se.top+se.height-(ou+GA)),this.bottomLeftContentBox=Gi>0||Ga>0?Aa(se.left+Bs+yh,se.top+Ts,Math.max(0,Gi-(Bs+yh)),Ga-(ou+GA),bu.BOTTOM_LEFT):new ur(se.left+Bs+yh,se.top+se.height-(ou+GA))}return ie}();(function(ie){ie[ie.TOP_LEFT=0]="TOP_LEFT",ie[ie.TOP_RIGHT=1]="TOP_RIGHT",ie[ie.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ie[ie.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(bu||(bu={}));var Aa=function(ie,J,ue,se,Se){var Ve=(Math.sqrt(2)-1)/3*4,it=ue*Ve,Ft=se*Ve,St=ie+ue,wn=J+se;switch(Se){case bu.TOP_LEFT:return new ji(new ur(ie,wn),new ur(ie,wn-Ft),new ur(St-it,J),new ur(St,J));case bu.TOP_RIGHT:return new ji(new ur(ie,J),new ur(ie+it,J),new ur(St,wn-Ft),new ur(St,wn));case bu.BOTTOM_RIGHT:return new ji(new ur(St,J),new ur(St,J+Ft),new ur(ie+it,wn),new ur(ie,wn));case bu.BOTTOM_LEFT:default:return new ji(new ur(St,wn),new ur(St-it,wn),new ur(ie,J+Ft),new ur(ie,J))}},El=function(ie){return[ie.topLeftBorderBox,ie.topRightBorderBox,ie.bottomRightBorderBox,ie.bottomLeftBorderBox]},Tl=function(ie){return[ie.topLeftContentBox,ie.topRightContentBox,ie.bottomRightContentBox,ie.bottomLeftContentBox]},P1=function(ie){return[ie.topLeftPaddingBox,ie.topRightPaddingBox,ie.bottomRightPaddingBox,ie.bottomLeftPaddingBox]},th=function(){function ie(J,ue,se){this.offsetX=J,this.offsetY=ue,this.matrix=se,this.type=0,this.target=6}return ie}(),y1=function(){function ie(J,ue){this.path=J,this.target=ue,this.type=1}return ie}(),R1=function(){function ie(J){this.opacity=J,this.type=2,this.target=6}return ie}(),Jh=function(ie){return ie.type===0},ad=function(ie){return ie.type===1},Od=function(ie){return ie.type===2},Xu=function(ie,J){return ie.length===J.length&&ie.some(function(ue,se){return ue===J[se]})},Hh=function(ie,J,ue,se,Se){return ie.map(function(Ve,it){switch(it){case 0:return Ve.add(J,ue);case 1:return Ve.add(J+se,ue);case 2:return Ve.add(J+se,ue+Se);case 3:return Ve.add(J,ue+Se)}return Ve})},gf=function(){function ie(J){this.element=J,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ie}(),Nd=function(){function ie(J,ue){if(this.container=J,this.parent=ue,this.effects=[],this.curves=new so(this.container),this.container.styles.opacity<1&&this.effects.push(new R1(this.container.styles.opacity)),this.container.styles.transform!==null){var se=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Se=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Ve=this.container.styles.transform;this.effects.push(new th(se,Se,Ve))}if(this.container.styles.overflowX!==0){var it=El(this.curves),Ft=P1(this.curves);Xu(it,Ft)?this.effects.push(new y1(it,6)):(this.effects.push(new y1(it,2)),this.effects.push(new y1(Ft,4)))}}return ie.prototype.getEffects=function(J){for(var ue=[2,3].indexOf(this.container.styles.position)===-1,se=this.parent,Se=this.effects.slice(0);se;){var Ve=se.effects.filter(function(St){return!ad(St)});if(ue||se.container.styles.position!==0||!se.parent){if(Se.unshift.apply(Se,Ve),ue=[2,3].indexOf(se.container.styles.position)===-1,se.container.styles.overflowX!==0){var it=El(se.curves),Ft=P1(se.curves);Xu(it,Ft)||Se.unshift(new y1(Ft,6))}}else Se.unshift.apply(Se,Ve);se=se.parent}return Se.filter(function(St){return Af(St.target,J)})},ie}(),Jg=function(ie,J,ue,se){ie.container.elements.forEach(function(Se){var Ve=Af(Se.flags,4),it=Af(Se.flags,2),Ft=new Nd(Se,ie);Af(Se.styles.display,2048)&&se.push(Ft);var St=Af(Se.flags,8)?[]:se;if(Ve||it){var wn=Ve||Se.styles.isPositioned()?ue:J,Tn=new gf(Ft);if(Se.styles.isPositioned()||Se.styles.opacity<1||Se.styles.isTransformed()){var yr=Se.styles.zIndex.order;if(yr<0){var kr=0;wn.negativeZIndex.some(function(Gi,Ga){return yr>Gi.element.container.styles.zIndex.order?(kr=Ga,!1):kr>0}),wn.negativeZIndex.splice(kr,0,Tn)}else if(yr>0){var Li=0;wn.positiveZIndex.some(function(Gi,Ga){return yr>=Gi.element.container.styles.zIndex.order?(Li=Ga+1,!1):Li>0}),wn.positiveZIndex.splice(Li,0,Tn)}else wn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Tn)}else Se.styles.isFloating()?wn.nonPositionedFloats.push(Tn):wn.nonPositionedInlineLevel.push(Tn);Jg(Ft,Tn,Ve?Tn:ue,St)}else Se.styles.isInlineLevel()?J.inlineLevel.push(Ft):J.nonInlineLevel.push(Ft),Jg(Ft,J,ue,St);Af(Se.flags,8)&&cg(Se,St)})},cg=function(ie,J){for(var ue=ie instanceof _y?ie.start:1,se=ie instanceof _y&&ie.reversed,Se=0;Se0&&ue.intrinsicHeight>0){var Ve=Fw(ue),it=P1(se);this.path(it),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Se,0,0,ue.intrinsicWidth,ue.intrinsicHeight,Ve.left,Ve.top,Ve.width,Ve.height),this.ctx.restore()}},J.prototype.renderNodeContent=function(ue){return g(this,void 0,void 0,function(){var se,Se,Ve,it,Ft,St,wn,Tn,yr,kr,Li,Gi,Ga,ol,Ka,Vo,dh,Xs;return d(this,function(Ts){switch(Ts.label){case 0:this.applyEffects(ue.getEffects(4)),se=ue.container,Se=ue.curves,Ve=se.styles,it=0,Ft=se.textNodes,Ts.label=1;case 1:return it0&&uA>0&&(ou=Ve.ctx.createPattern(Ts,"repeat"),Ve.renderRepeat(Qd,ou,Yp,Jp))):Aw(Tn)&&(Bs=Jb(ue,se,[null,null,null]),Qd=Bs[0],qp=Bs[1],GA=Bs[2],yh=Bs[3],uA=Bs[4],Hm=Tn.position.length===0?[ag]:Tn.position,Yp=eh(Hm[0],yh),Jp=eh(Hm[Hm.length-1],uA),Dw=N6(Tn,Yp,Jp,yh,uA),ep=Dw[0],Pf=Dw[1],ep>0&&Pf>0&&($m=Ve.ctx.createRadialGradient(qp+Yp,GA+Jp,0,qp+Yp,GA+Jp,ep),uy(Tn.stops,2*ep).forEach(function(ak){return $m.addColorStop(ak.stop,mu(ak.color))}),Ve.path(Qd),Ve.ctx.fillStyle=$m,ep!==Pf?(I4=ue.bounds.left+.5*ue.bounds.width,Ow=ue.bounds.top+.5*ue.bounds.height,ik=1/(Py=Pf/ep),Ve.ctx.save(),Ve.ctx.translate(I4,Ow),Ve.ctx.transform(1,0,0,Py,0,0),Ve.ctx.translate(-I4,-Ow),Ve.ctx.fillRect(qp,ik*(GA-Ow)+Ow,yh,uA*ik),Ve.ctx.restore()):Ve.ctx.fill())),Ax.label=6;case 6:return se--,[2]}})},Ve=this,it=0,Ft=ue.styles.backgroundImage.slice(0).reverse(),wn.label=1;case 1:return it0?Tn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Tn.color,Tn.width,Ft,ue.curves,2)]:[3,11]:[3,13];case 4:return kr.sent(),[3,11];case 5:return Tn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Tn.color,Tn.width,Ft,ue.curves,3)];case 6:return kr.sent(),[3,11];case 7:return Tn.style!==4?[3,9]:[4,this.renderDoubleBorder(Tn.color,Tn.width,Ft,ue.curves)];case 8:return kr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Tn.color,Ft,ue.curves)];case 10:kr.sent(),kr.label=11;case 11:Ft++,kr.label=12;case 12:return St++,[3,3];case 13:return[2]}})})},J.prototype.renderDashedDottedBorder=function(ue,se,Se,Ve,it){return g(this,void 0,void 0,function(){var Ft,St,wn,Tn,yr,kr,Li,Gi,Ga,ol,Ka,Vo,dh,Xs,Ts,vs;return d(this,function(pl){return this.ctx.save(),Ft=Wp(Ve,Se),St=pf(Ve,Se),it===2&&(this.path(St),this.ctx.clip()),Na(St[0])?(wn=St[0].start.x,Tn=St[0].start.y):(wn=St[0].x,Tn=St[0].y),Na(St[1])?(yr=St[1].end.x,kr=St[1].end.y):(yr=St[1].x,kr=St[1].y),Li=Math.abs(Se===0||Se===2?wn-yr:Tn-kr),this.ctx.beginPath(),it===3?this.formatPath(Ft):this.formatPath(St.slice(0,2)),Gi=se<3?3*se:2*se,Ga=se<3?2*se:se,it===3&&(Gi=se,Ga=se),ol=!0,Li<=2*Gi?ol=!1:Li<=2*Gi+Ga?(Gi*=Ka=Li/(2*Gi+Ga),Ga*=Ka):(Vo=Math.floor((Li+Ga)/(Gi+Ga)),dh=(Li-Vo*Gi)/(Vo-1),Ga=(Xs=(Li-(Vo+1)*Gi)/Vo)<=0||Math.abs(Ga-dh)0&&arguments[0]!==void 0?arguments[0]:[];xa(b=yl(document.body.children)).call(b,function(x,C){w[C]!==void 0&&(x.style.display=w[C])})}(g),document.body.style.overflow=d})};function f4n(r,i){eLt(r,function(o,l){window.scrollTo(0,0),h4n(o,{allowTaint:!0,height:o.clientHeight,width:o.clientWidth,scrollY:0,scrollX:0}).then(function(h){(function(g,d){var b=document.createElement("a");b.style.display="none",b.href=g,b.download="".concat(d,".png"),document.body.appendChild(b),b.click(),document.body.removeChild(b)})(h.toDataURL("image/jpeg"),i),l()})})}var d4n=ote.f,A4n=Za(d4n),g4n=Za([].push),$8t=function(r){return function(i){for(var o,l=ry(i),h=DB(l),g=h.length,d=0,b=[];g>d;)o=h[d++],Zu&&!A4n(l,o)||g4n(b,r?[o,l[o]]:l[o]);return b}},tLt={entries:$8t(!0),values:$8t(!1)},p4n=tLt.values;ma({target:"Object",stat:!0},{values:function(r){return p4n(r)}});var m$=Gc.Object.values,m4n=tLt.entries;ma({target:"Object",stat:!0},{entries:function(r){return m4n(r)}});var Oee=Gc.Object.entries,b4n={mouseResize:{},getImgPosition:function(){var r=this.img.getBoundingClientRect(),i=this.previewerDom.parentNode.getBoundingClientRect(),o=Lp(this.img.style.padding)||0;return{bottom:r.bottom-i.bottom,top:r.top-i.top+1.5*o,height:r.height,width:r.width,right:r.right-i.right,left:r.left-i.left+1.5*o,x:r.x-i.x,y:r.y-i.y}},initBubbleButtons:function(){var r=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:r.left-1,top:r.top-1,marginTop:0,marginLeft:0},scrollTop:this.previewerDom.scrollTop,position:r}},showBubble:function(r,i,o){this.$isResizing()||(this.img=r,this.previewerDom=o,this.container=i,this.buts=this.initBubbleButtons(),this.drawBubbleButs())},emit:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};switch(r){case"mousedown":return this.resizeBegin(i);case"mouseup":return this.resizeStop(i);case"mousemove":return this.resizeWorking(i);case"scroll":return this.dealScroll(i);case"remove":return this.remove();case"previewUpdate":return this.previewUpdate(i)}},previewUpdate:function(r){this.$isResizing()||(this.remove(),r())},drawBubbleButs:function(){var r,i=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={},xa(r=pu(this.buts.points.arr)).call(r,function(o){var l=i.buts.points.arr[o],h=document.createElement("div");h.className=["cherry-previewer-img-size-handler__points","cherry-previewer-img-size-handler__points-".concat(l)].join(" "),h.dataset.name=l,i.butsLayout.appendChild(h),i.butsPoints["pints-".concat(l)]=h})),this.updateBubbleButs()},remove:function(){this.butsLayout=!1},updateBubbleButs:function(){var r,i,o=this;this.$updatePointsInfo(),xa(r=pu(this.buts.style)).call(r,function(l){o.butsLayout.style[l]="".concat(o.buts.style[l],"px")}),xa(i=pu(this.buts.points.arr)).call(i,function(l){var h=o.buts.points.arr[l];o.butsPoints["pints-".concat(h)].style.top="".concat(o.buts.points.arrInfo[h].top,"px"),o.butsPoints["pints-".concat(h)].style.left="".concat(o.buts.points.arrInfo[h].left,"px")})},$updatePointsInfo:function(){var r,i=this,o=this.buts.style.width,l=this.buts.style.height,h=this.$getPointsInfo(o,l);xa(r=pu(this.buts.points.arr)).call(r,function(g){var d=i.buts.points.arr[g];i.buts.points.arrInfo[d].left!==h[d].left&&(i.buts.points.arrInfo[d].left=h[d].left),i.buts.points.arrInfo[d].top!==h[d].top&&(i.buts.points.arrInfo[d].top=h[d].top)})},$getPointsInfo:function(r,i){return{leftTop:{left:0,top:0},leftBottom:{left:0,top:i},rightTop:{left:r,top:0},rightBottom:{left:r,top:i},leftMiddle:{left:0,top:i/2},middleBottom:{left:r/2,top:i},middleTop:{left:r/2,top:0},rightMiddle:{left:r,top:i/2}}},$isResizing:function(){return this.mouseResize.resize},dealScroll:function(r){var i=this.getImgPosition();this.butsLayout.style.marginTop!==i.top-this.buts.position.top&&(this.butsLayout.style.marginTop="".concat(i.top-this.buts.position.top,"px"),this.buts.style.marginTop="".concat(i.top-this.buts.position.top,"px")),this.butsLayout.style.marginLeft!==i.left-this.buts.position.left&&(this.butsLayout.style.marginLeft="".concat(i.left-this.buts.position.left,"px"),this.buts.style.marginLeft="".concat(i.left-this.buts.position.left,"px"))},initMouse:function(){return{left:0,top:0,resize:!1,name:""}},resizeBegin:function(r){var i=r.target;if(!i.classList.contains("cherry-previewer-img-size-handler__points"))return!1;this.mouseResize.left=r.clientX,this.mouseResize.top=r.clientY,this.mouseResize.resize=!0,this.mouseResize.name=i.getAttribute("data-name"),this.previewerDom.classList.add("doing-resize-img")},resizeStop:function(r,i,o,l){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(r,i){if(this.$isResizing()){var o=r.clientX-this.mouseResize.left,l=r.clientY-this.mouseResize.top,h={};switch(this.mouseResize.name){case"leftTop":case"leftBottom":case"leftMiddle":h=this.$getChange(o,l,"x"),this.buts.style.width=this.buts.position.width-h.changeX,this.mouseResize.name!=="leftMiddle"&&(this.buts.style.height=this.buts.position.height-h.changeY);break;case"rightTop":case"rightBottom":case"rightMiddle":h=this.$getChange(o,l,"x"),this.buts.style.width=this.buts.position.width+h.changeX,this.mouseResize.name!=="rightMiddle"&&(this.buts.style.height=this.buts.position.height+h.changeY);break;case"middleTop":h=this.$getChange(o,l,"y"),this.buts.style.height=this.buts.position.height-h.changeY;break;case"middleBottom":h=this.$getChange(o,l,"y"),this.buts.style.height=this.buts.position.height+h.changeY}this.updateBubbleButs(),this.change()}},change:function(){this.emitChange(this.img,{width:this.buts.style.width,height:this.buts.style.height})},bindChange:function(r){this.emitChange=r},$getChange:function(r,i,o){var l={changeX:0,changeY:0};return o==="y"?(l.changeY=i,l.changeX=i*this.buts.position.width/this.buts.position.height):(l.changeX=r,l.changeY=r*this.buts.position.height/this.buts.position.width),l}},JMe=b4n,w4n=VB.every,v4n=Kj("every");ma({target:"Array",proto:!0,forced:!v4n},{every:function(r){return w4n(this,r,arguments.length>1?arguments[1]:void 0)}});var y4n=Md("Array").every,ZMe=Array.prototype,Y$=function(r){var i=r.every;return r===ZMe||uf(ZMe,r)&&i===ZMe.every?y4n:i},x4n=Ai.TypeError,nLt=function(r,i,o,l,h,g,d,b){for(var w,x,C=h,B=0,L=!!d&&tg(d,b);B0&&UB(w))x=n4(w),C=nLt(r,i,w,x,C,g-1)-1;else{if(C>=9007199254740991)throw x4n("Exceed the acceptable array length");r[C]=w}C++}B++}return C},k4n=nLt;ma({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,i=iy(this),o=n4(i),l=ppe(i,0);return l.length=k4n(l,i,i,o,0,r===void 0?1:$j(r)),l}});var C4n=Md("Array").flat,eIe=Array.prototype,E4n=function(r){var i=r.flat;return r===eIe||uf(eIe,r)&&i===eIe.flat?C4n:i},T4n=function(){function r(i,o,l,h,g,d){qr(this,r),gi(this,"tableEditor",{info:{},tableCodes:[],editorDom:{}}),this.trigger=i,this.target=o,this.previewerDom=h,this.container=l,this.codeMirror=g,this.$initReg(),this.$findTableInEditor(),this.tableElement=d}return Yr(r,[{key:"emit",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};switch(i){case"keyup":return this.trigger==="click"&&this.$onInputChange(o);case"remove":return this.$remove();case"scroll":case"previewUpdate":return this.$refreshPosition();case"mousedown":return;case"mouseup":return this.trigger==="click"&&this.$tryRemoveMe(o,l)}}},{key:"$tryRemoveMe",value:function(i,o){/textarea/i.test(i.target.tagName)||(this.$remove(),o())}},{key:"$getPosition",value:function(){var i=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.tableEditor.info.tdNode).getBoundingClientRect(),o=this.previewerDom.parentNode.getBoundingClientRect();return{top:i.top-o.top,height:i.height,width:i.width,left:i.left-o.left,maxHeight:o.height}}},{key:"setStyle",value:function(i,o,l){i.getBoundingClientRect()[o]!==l&&(i.style[o]=l)}},{key:"$setInputOffset",value:function(){var i=this.$getPosition(),o=this.tableEditor.editorDom.inputDiv;this.setStyle(o,"width","".concat(i.width,"px")),this.setStyle(o,"height","".concat(i.height,"px")),this.setStyle(o,"top","".concat(i.top,"px")),this.setStyle(o,"left","".concat(i.left,"px"));var l=i.top>=0&&i.top+i.height<=i.maxHeight;this.setStyle(o,"display",l?"":"none")}},{key:"$setSymbolOffset",value:function(){var i,o=this,l=this.tableEditor.editorDom.symbolContainer,h=this.tableEditor.info,g=h.tableNode,d=h.trNode,b=h.isTHead,w=this.$getPosition(g),x=this.$getPosition(d),C=this.$getPosition(),B=this.previewerDom.getBoundingClientRect();this.setStyle(this.container,"width","".concat(w.width,"px")),this.setStyle(this.container,"height","".concat(w.height,"px")),this.setStyle(this.container,"top","".concat(w.top,"px")),this.setStyle(this.container,"left","".concat(w.left,"px")),xa(i=l.childNodes).call(i,function(L){var M,P=L.dataset,z=P.index,W=P.type,Q=P.dir,V=20,oe=7;o.setStyle(L,{Row:["left","right"],Col:["top","bottom"]}[Q][z],"-".concat(V,"px")),o.setStyle(L,"display","");var G={LastRow:function(){return o.setStyle(L,"top","".concat(x.top-w.top-oe,"px"))},NextRow:function(){return o.setStyle(L,"top","".concat(x.top-w.top+x.height-oe,"px"))},LastCol:function(){return o.setStyle(L,"left","".concat(C.left-w.left-oe,"px"))},NextCol:function(){return o.setStyle(L,"left","".concat(C.left-w.left+C.width-oe,"px"))}},ae=rt(M="".concat(W)).call(M,Q);G[ae](),o.setStyle(L,"display",function(ne){var de,Ae=ne.getBoundingClientRect(),le={top:[B.top,B.top+B.height-Ae.height],left:[B.left,B.left+B.width-Ae.width]};return Y$(de=Oee(le)).call(de,function(ve){var me=gu(ve,2),ee=me[0],ye=gu(me[1],2),Y=ye[0],Ee=ye[1];return Ae[ee]>=Y&&Ae[ee]<=Ee})}(L)?"":"none"),b&&ae==="LastRow"&&o.setStyle(L,"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 i=[];this.codeMirror.getValue().replace(this.codeBlockReg,function(o){return o.replace(/\|/g,".")}).replace(this.tableReg,function(o){var l,h=o.replace(/^\n*/,""),g=((l=(arguments.length<=1?0:arguments.length-1)-2+1)<1||arguments.length<=l?void 0:arguments[l])+o.match(/^\n*/)[0].length;i.push({code:h,offset:g})}),this.tableEditor.tableCodes=i}},{key:"$collectTableDom",value:function(){var i,o,l,h=yl(this.previewerDom.querySelectorAll("table.cherry-table")),g=this.$getClosestNode(this.target,"TABLE");if(g===!1)return!1;var d=t1(i=yl(this.target.parentElement.childNodes)).call(i,function(b){return b.tagName.toLowerCase()==="td"}).length;this.tableEditor.info={tableNode:g,tdNode:this.target,trNode:this.target.parentElement,tdIndex:xl(o=yl(this.target.parentElement.childNodes)).call(o,this.target),trIndex:xl(l=yl(this.target.parentElement.parentElement.childNodes)).call(l,this.target.parentElement),isTHead:this.target.parentElement.parentElement.tagName!=="TBODY",totalTables:h.length,tableIndex:xl(h).call(h,g),tableText:g.textContent.replace(/[\s]/g,""),columns:d}}},{key:"$setSelection",value:function(i){var o,l,h,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"table",d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],b=this.tableEditor.tableCodes[i],w=this.codeMirror.getValue(),x=this.tableEditor.info,C=(o=(l=Zi(w).call(w,0,b.offset).match(/\n/g))===null||l===void 0?void 0:l.length)!==null&&o!==void 0?o:0,B=this.$getTdOffset(b.code,x.isTHead,x.trIndex,x.tdIndex),L=B.preLine,M=B.preCh,P=B.plusCh,z=B.currentTd;if(g==="table"){var W=C+b.code.match(/\n/g).length,Q=b.code.match(/[^\n]+\n*$/)[0].length;this.tableEditor.info.selection=[{line:C,ch:0},{line:W,ch:Q}]}else this.tableEditor.info.selection=[{line:C+L,ch:M},{line:C+L,ch:M+P}];d&&(h=this.codeMirror).setSelection.apply(h,oI(this.tableEditor.info.selection)),this.tableEditor.info.code=z}},{key:"$getTdOffset",value:function(i,o,l,h){for(var g=o?0:l+2,d=i.split(/\n/)[g].split(/\|/),b=/^\s*$/.test(d[0]),w=b?h+1:h,x=d[w],C=[],B=0;B/g,` +`),this.tableEditor.editorDom.inputDom.focus()}},{key:"$onInputChange",value:function(i){i.target.tagName==="TEXTAREA"&&this.codeMirror.replaceSelection(i.target.value.replace(/\n/g,"
    "),"around")}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var i=getComputedStyle(this.tableEditor.info.tdNode);this.tableEditor.editorDom.inputDom.style.textAlign=i.textAlign||"left",this.tableEditor.editorDom.inputDom.style.fontSize=i.fontSize||"16px",this.tableEditor.editorDom.inputDom.style.fontFamily=i.fontFamily,this.tableEditor.editorDom.inputDom.style.lineHeight=i.lineHeight,this.tableEditor.editorDom.inputDom.style.padding=i.padding,/left/.test(i.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingRight="0px"),/right/.test(i.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingLeft="0px"),/center/.test(i.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(i,o){return i.tagName===o?i:i.parentNode.tagName!=="BODY"&&this.$getClosestNode(i.parentNode,o)}},{key:"$drawSymbol",value:function(){var i,o=this,l=["Last","Next"],h=["Row","Col"],g={Row:"行",Col:"列"},d=E4n(i=ss(h).call(h,function(w,x){return ss(l).call(l,function(C){return ss(h).call(h,function(B){return["".concat(x),C,B]})})})).call(i,2),b=document.createElement("ul");b.className="cherry-previewer-table-hover-handler-container",xa(d).call(d,function(w){var x=gu(w,3),C=x[0],B=x[1],L=x[2],M=document.createElement("li");M.setAttribute("data-index",C),M.setAttribute("data-type",B),M.setAttribute("data-dir",L),M.className="cherry-previewer-table-hover-handler__symbol",M.title="添加".concat(g[L]),M.innerHTML="+",M.addEventListener("click",function(P){var z,W=P.target;if(W instanceof HTMLElement){var Q=W.dataset,V=Q.type,oe=Q.dir;o[rt(z="$add".concat(V)).call(z,oe)]()}}),b.appendChild(M)},!0),this.tableEditor.editorDom.symbolContainer=b,this.container.appendChild(this.tableEditor.editorDom.symbolContainer),this.$setSymbolOffset()}},{key:"$addLastRow",value:function(){var i=gu(this.tableEditor.info.selection,1)[0].line,o="".concat(e1("|").call("|",this.tableEditor.info.columns),` `);this.codeMirror.replaceRange(o,{line:i,ch:0}),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"td")}},{key:"$addNextRow",value:function(){var i=gu(this.tableEditor.info.selection,2)[1].line,o="".concat(e1("|").call("|",this.tableEditor.info.columns),` `);this.codeMirror.replaceRange(o,{line:i+1,ch:0}),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"td")}},{key:"$addLastCol",value:function(){var i=this;this.$setSelection(this.tableEditor.info.tableIndex,"table");var o=this.codeMirror.getSelection().split(` -`),l=ss(o).call(o,function(g,d){var b=g.split("|"),w=d===1?":-:":"";return G3(b).call(b,i.tableEditor.info.tdIndex+1,0,w),b.join("|")}),h=l.join(` +`),l=ss(o).call(o,function(g,d){var b=g.split("|"),w=d===1?":-:":"";return X3(b).call(b,i.tableEditor.info.tdIndex+1,0,w),b.join("|")}),h=l.join(` `);this.codeMirror.replaceSelection(h),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"table")}},{key:"$addNextCol",value:function(){var i=this;this.$setSelection(this.tableEditor.info.tableIndex,"table");var o=this.codeMirror.getSelection().split(` -`),l=ss(o).call(o,function(g,d){var b=g.split("|"),w=d===1?":-:":"";return G3(b).call(b,i.tableEditor.info.tdIndex+2,0,w),b.join("|")}),h=l.join(` -`);this.codeMirror.replaceSelection(h),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"table")}},{key:"$drawDrag",value:function(){var i=this.tableEditor.info.isTHead;this.$setSelection(this.tableEditor.info.tableIndex,"table"),i?this.$dragCol():this.$dragLine()}},{key:"$dragCol",value:function(){var i=this.tableEditor.info.tdIndex,o=this.target.parentElement,l=this.codeMirror.getSelection().split(/\n/),h=this.tableEditor.info.tdNode,g=this;h.setAttribute("draggable",!0),o.addEventListener("dragleave",function(d){g.setStyle(d.target,"border","1px solid #dfe6ee")}),o.addEventListener("dragover",function(d){var b;d.preventDefault();var w=xl(b=yl(d.target.parentElement.childNodes)).call(b,d.target);g.$dragSymbol(d.target,i,w)}),o.addEventListener("drop",function(d){var b;d.preventDefault();var w=xl(b=yl(d.target.parentElement.childNodes)).call(b,d.target),x=ss(l).call(l,function(B,L){var I,P=t1(I=B.split("|")).call(I,function(z,W){return z!==""});return"|".concat(g.$operateLines(i,w,P).join("|"),"|")}),C=x.join(` +`),l=ss(o).call(o,function(g,d){var b=g.split("|"),w=d===1?":-:":"";return X3(b).call(b,i.tableEditor.info.tdIndex+2,0,w),b.join("|")}),h=l.join(` +`);this.codeMirror.replaceSelection(h),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"table")}},{key:"$drawDrag",value:function(){var i=this.tableEditor.info.isTHead;this.$setSelection(this.tableEditor.info.tableIndex,"table"),i?this.$dragCol():this.$dragLine()}},{key:"$dragCol",value:function(){var i=this.tableEditor.info.tdIndex,o=this.target.parentElement,l=this.codeMirror.getSelection().split(/\n/),h=this.tableEditor.info.tdNode,g=this;h.setAttribute("draggable",!0),o.addEventListener("dragleave",function(d){g.setStyle(d.target,"border","1px solid #dfe6ee")}),o.addEventListener("dragover",function(d){var b;d.preventDefault();var w=xl(b=yl(d.target.parentElement.childNodes)).call(b,d.target);g.$dragSymbol(d.target,i,w)}),o.addEventListener("drop",function(d){var b;d.preventDefault();var w=xl(b=yl(d.target.parentElement.childNodes)).call(b,d.target),x=ss(l).call(l,function(B,L){var M,P=t1(M=B.split("|")).call(M,function(z,W){return z!==""});return"|".concat(g.$operateLines(i,w,P).join("|"),"|")}),C=x.join(` `);g.codeMirror.replaceSelection(C),g.setStyle(d.target,"border","1px solid #dfe6ee"),g.$findTableInEditor(),g.$setSelection(g.tableEditor.info.tableIndex,"table")})}},{key:"$dragLine",value:function(){var i=this.tableEditor.info.trNode;i.setAttribute("draggable",!0),this.$setSelection(this.tableEditor.info.tableIndex,"table");var o=this.tableEditor.info.trIndex+2,l=i.parentElement,h=this.codeMirror.getSelection().split(/\n/),g=this;l.addEventListener("dragleave",function(d){g.setStyle(d.target.parentElement,"border","1px solid #dfe6ee")}),l.addEventListener("dragover",function(d){var b;d.preventDefault();var w=xl(b=yl(d.target.parentElement.parentElement.childNodes)).call(b,d.target.parentElement)+2;g.$dragSymbol(d.target,o,w)}),l.addEventListener("drop",function(d){var b;d.preventDefault();var w=xl(b=yl(d.target.parentElement.parentElement.childNodes)).call(b,d.target.parentElement)+2,x=g.$operateLines(o,w,h).join(` -`);g.codeMirror.replaceSelection(x),g.$findTableInEditor(),g.$setSelection(g.tableEditor.info.tableIndex,"table"),g.setStyle(d.target.parentElement,"border","1px solid #dfe6ee")})}},{key:"$dragSymbol",value:function(i,o,l){var h=this.target;h!==i&&o!==l&&(h.tagName==="TH"?ol&&(this.setStyle(i,"border","1px solid #dfe6ee"),this.setStyle(i,"border-left","2px solid #6897bb")):h.tagName==="TD"&&(ol&&(this.setStyle(i.parentElement,"border","1px solid #dfe6ee"),this.setStyle(i.parentElement,"border-top","2px solid #6897bb"))))}},{key:"$operateLines",value:function(i,o,l){if(io){var h=l[i];G3(l).call(l,i,1),G3(l).call(l,o,0,h)}return l}}]),r}(),K8t=["javascript","typescript","html","css","shell","python","golang","java","c","c++","c#","php","ruby","swift","kotlin","scala","rust","dart","elixir","haskell","lua","perl","r","sql"],iLt=Error,_4n=Za("".replace),S4n=String(iLt("zxcasd").stack),aLt=/\n\s*at [^:]*:[^\n]*/,L4n=aLt.test(S4n),I4n=!eu(function(){var r=Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",q3(1,7)),r.stack!==7)}),M4n=Z1("toStringTag"),pge=Ai.Error,F4n=[].push,Qee=function(r,i){var o,l=arguments.length>2?arguments[2]:void 0,h=uf(nMe,this);Cee?o=Cee(new pge,h?cQ(this):nMe):(o=h?this:e4(nMe),kb(o,M4n,"Error")),i!==void 0&&kb(o,"message",function(d,b){return d===void 0?arguments.length<2?"":b:Zl(d)}(i)),I4n&&kb(o,"stack",function(d,b){if(L4n&&typeof d=="string"&&!iLt.prepareStackTrace)for(;b--;)d=_4n(d,aLt,"");return d}(o.stack,1)),function(d,b){g1(b)&&"cause"in b&&kb(d,"cause",b.cause)}(o,l);var g=[];return NA(r,F4n,{that:g}),kb(o,"errors",g),o};Cee?Cee(Qee,pge):function(r,i,o){for(var l=WBt(i),h=ew.f,g=p9.f,d=0;d=51&&/native code/.test(r))return!1;var o=new J2(function(h){h(1)}),l=function(h){h(function(){},function(){})};return(o.constructor={})[$4n]=l,!(uLt=o.then(function(){})instanceof l)||!i&&H4n&&!hLt}),qj={CONSTRUCTOR:j4n,REJECTION_EVENT:hLt,SUBCLASSING:uLt},K4n=function(r){var i,o;this.promise=new r(function(l,h){if(i!==void 0||o!==void 0)throw TypeError("Bad Promise constructor");i=l,o=h}),this.resolve=Lu(i),this.reject=Lu(o)},zB={f:function(r){return new K4n(r)}},fLt=sLt.set,e0e="Promise",rkt=qj.CONSTRUCTOR,z4n=qj.REJECTION_EVENT,fMe=Mm.getterFor(e0e),X4n=Mm.set,G4n=J2&&J2.prototype,ZJ=J2,dMe=G4n,dLt=Ai.TypeError,QDe=Ai.document,xQe=Ai.process,PDe=zB.f,V4n=PDe,W4n=!!(QDe&&QDe.createEvent&&Ai.dispatchEvent),ALt="unhandledrejection",gLt=function(r){var i;return!(!g1(r)||!hh(i=r.then))&&i},pLt=function(r,i){var o,l,h,g=i.value,d=i.state==1,b=d?r.ok:r.fail,w=r.resolve,x=r.reject,C=r.domain;try{b?(d||(i.rejection===2&&Y4n(i),i.rejection=1),b===!0?o=g:(C&&C.enter(),o=b(g),C&&(C.exit(),h=!0)),o===r.promise?x(dLt("Promise-chain cycle")):(l=gLt(o))?cc(l,o,w,x):w(o)):x(g)}catch(B){C&&!h&&C.exit(),x(B)}},mLt=function(r,i){r.notified||(r.notified=!0,yQe(function(){for(var o,l=r.reactions;o=l.get();)pLt(o,r);r.notified=!1,i&&!r.rejection&&q4n(r)}))},bLt=function(r,i,o){var l,h;W4n?((l=QDe.createEvent("Event")).promise=i,l.reason=o,l.initEvent(r,!1,!0),Ai.dispatchEvent(l)):l={promise:i,reason:o},!z4n&&(h=Ai["on"+r])?h(l):r===ALt&&function(g,d){var b=Ai.console;b&&b.error&&(arguments.length==1?b.error(g):b.error(g,d))}("Unhandled promise rejection",o)},q4n=function(r){cc(fLt,Ai,function(){var i,o=r.facade,l=r.value;if(ikt(r)&&(i=Wj(function(){QB?xQe.emit("unhandledRejection",l,o):bLt(ALt,o,l)}),r.rejection=QB||ikt(r)?2:1,i.error))throw i.value})},ikt=function(r){return r.rejection!==1&&!r.parent},Y4n=function(r){cc(fLt,Ai,function(){var i=r.facade;QB?xQe.emit("rejectionHandled",i):bLt("rejectionhandled",i,r.value)})},P$=function(r,i,o){return function(l){r(i,l,o)}},Z$=function(r,i,o){r.done||(r.done=!0,o&&(r=o),r.value=i,r.state=2,mLt(r,!0))},RDe=function(r,i,o){if(!r.done){r.done=!0,o&&(r=o);try{if(r.facade===i)throw dLt("Promise can't be resolved itself");var l=gLt(i);l?yQe(function(){var h={done:!1};try{cc(l,i,P$(RDe,h,r),P$(Z$,h,r))}catch(g){Z$(h,g,r)}}):(r.value=i,r.state=1,mLt(r,!1))}catch(h){Z$({done:!1},h,r)}}};rkt&&(dMe=(ZJ=function(r){Gj(this,dMe),Lu(r),cc(hMe,this);var i=fMe(this);try{r(P$(RDe,i),P$(Z$,i))}catch(o){Z$(i,o)}}).prototype,(hMe=function(r){X4n(this,{type:e0e,done:!1,notified:!1,parent:!1,reactions:new U4n,rejection:!1,state:0,value:void 0})}).prototype=ty(dMe,"then",function(r,i){var o=fMe(this),l=PDe(Iee(this,ZJ));return o.parent=!0,l.ok=!hh(r)||r,l.fail=hh(i)&&i,l.domain=QB?xQe.domain:void 0,o.state==0?o.reactions.add(l):yQe(function(){pLt(l,o)}),l.promise}),tkt=function(){var r=new hMe,i=fMe(r);this.promise=r,this.resolve=P$(RDe,i),this.reject=P$(Z$,i)},zB.f=PDe=function(r){return r===ZJ||r===void 0?new tkt(r):V4n(r)}),ma({global:!0,constructor:!0,wrap:!0,forced:rkt},{Promise:ZJ}),UB(ZJ,e0e,!1,!0),V_t(e0e);var wLt=qj.CONSTRUCTOR||!__t(function(r){J2.all(r).then(void 0,function(){})});ma({target:"Promise",stat:!0,forced:wLt},{all:function(r){var i=this,o=zB.f(i),l=o.resolve,h=o.reject,g=Wj(function(){var d=Lu(i.resolve),b=[],w=0,x=1;NA(r,function(C){var B=w++,L=!1;x++,cc(d,i,C).then(function(I){L||(L=!0,b[B]=I,--x||l(b))},h)}),--x||l(b)});return g.error&&h(g.value),o.promise}});var J4n=qj.CONSTRUCTOR;J2&&J2.prototype,ma({target:"Promise",proto:!0,forced:J4n,real:!0},{catch:function(r){return this.then(void 0,r)}}),ma({target:"Promise",stat:!0,forced:wLt},{race:function(r){var i=this,o=zB.f(i),l=o.reject,h=Wj(function(){var g=Lu(i.resolve);NA(r,function(d){cc(g,i,d).then(o.resolve,l)})});return h.error&&l(h.value),o.promise}}),ma({target:"Promise",stat:!0,forced:qj.CONSTRUCTOR},{reject:function(r){var i=zB.f(this);return cc(i.reject,void 0,r),i.promise}});var UDe=function(r,i){if(Iu(r),g1(i)&&i.constructor===r)return i;var o=zB.f(r);return(0,o.resolve)(i),o.promise},Z4n=qj.CONSTRUCTOR,e5n=Dp("Promise"),t5n=!Z4n;ma({target:"Promise",stat:!0,forced:!0},{resolve:function(r){return UDe(t5n&&this===e5n?J2:this,r)}}),ma({target:"Promise",stat:!0},{allSettled:function(r){var i=this,o=zB.f(i),l=o.resolve,h=o.reject,g=Wj(function(){var d=Lu(i.resolve),b=[],w=0,x=1;NA(r,function(C){var B=w++,L=!1;x++,cc(d,i,C).then(function(I){L||(L=!0,b[B]={status:"fulfilled",value:I},--x||l(b))},function(I){L||(L=!0,b[B]={status:"rejected",reason:I},--x||l(b))})}),--x||l(b)});return g.error&&h(g.value),o.promise}});var akt="No one promise resolved";ma({target:"Promise",stat:!0},{any:function(r){var i=this,o=Dp("AggregateError"),l=zB.f(i),h=l.resolve,g=l.reject,d=Wj(function(){var b=Lu(i.resolve),w=[],x=0,C=1,B=!1;NA(r,function(L){var I=x++,P=!1;C++,cc(b,i,L).then(function(z){P||B||(B=!0,h(z))},function(z){P||B||(P=!0,w[I]=z,--C||g(new o(w,akt)))})}),--C||g(new o(w,akt))});return d.error&&g(d.value),l.promise}});var n5n=J2&&J2.prototype,r5n=!!J2&&eu(function(){n5n.finally.call({then:function(){}},function(){})});ma({target:"Promise",proto:!0,real:!0,forced:r5n},{finally:function(r){var i=Iee(this,Dp("Promise")),o=hh(r);return this.then(o?function(l){return UDe(i,r()).then(function(){return l})}:r,o?function(l){return UDe(i,r()).then(function(){throw l})}:r)}});var vLt=Gc.Promise,i5n=vLt;ma({target:"Promise",stat:!0,forced:!0},{try:function(r){var i=zB.f(this),o=Wj(r);return(o.error?i.reject:i.resolve)(o.value),i.promise}});var kQe=i5n;function okt(r,i,o,l,h,g,d){try{var b=r[g](d),w=b.value}catch(x){return void o(x)}b.done?i(w):kQe.resolve(w).then(l,h)}function yLt(r){return function(){var i=this,o=arguments;return new kQe(function(l,h){var g=r.apply(i,o);function d(w){okt(g,l,h,d,b,"next",w)}function b(w){okt(g,l,h,d,b,"throw",w)}d(void 0)})}}var xLt=il(function(r){function i(o){return r.exports=i=typeof B6=="function"&&typeof r_t=="symbol"?function(l){return typeof l}:function(l){return l&&typeof B6=="function"&&l.constructor===B6&&l!==B6.prototype?"symbol":typeof l},r.exports.__esModule=!0,r.exports.default=r.exports,i(o)}r.exports=i,r.exports.__esModule=!0,r.exports.default=r.exports});kQ(xLt);var AMe=VBt,a5n=Za([].reverse),skt=[1,2];ma({target:"Array",proto:!0,forced:String(skt)===String(skt.reverse())},{reverse:function(){return HB(this)&&(this.length=this.length),a5n(this)}});var o5n=Ld("Array").reverse,gMe=Array.prototype,kLt=function(r){var i=r.reverse;return r===gMe||uf(gMe,r)&&i===gMe.reverse?o5n:i},s5n=kLt,CLt=il(function(r){var i=xLt.default;function o(){r.exports=o=function(){return l},r.exports.__esModule=!0,r.exports.default=r.exports;var l={},h=Object.prototype,g=h.hasOwnProperty,d=typeof B6=="function"?B6:{},b=d.iterator||"@@iterator",w=d.asyncIterator||"@@asyncIterator",x=d.toStringTag||"@@toStringTag";function C(ee,ye,Y){return dte(ee,ye,{value:Y,enumerable:!0,configurable:!0,writable:!0}),ee[ye]}try{C({},"")}catch{C=function(ye,Y,Ee){return ye[Y]=Ee}}function B(ee,ye,Y,Ee){var fe=ye&&ye.prototype instanceof P?ye:P,ce=WZ(fe.prototype),$e=new le(Ee||[]);return ce._invoke=function(Ye,ct,ot){var Qe="suspendedStart";return function(Le,ht){if(Qe==="executing")throw new Error("Generator is already running");if(Qe==="completed"){if(Le==="throw")throw ht;return me()}for(ot.method=Le,ot.arg=ht;;){var Rt=ot.delegate;if(Rt){var Et=ne(Rt,ot);if(Et){if(Et===I)continue;return Et}}if(ot.method==="next")ot.sent=ot._sent=ot.arg;else if(ot.method==="throw"){if(Qe==="suspendedStart")throw Qe="completed",ot.arg;ot.dispatchException(ot.arg)}else ot.method==="return"&&ot.abrupt("return",ot.arg);Qe="executing";var Rn=L(Ye,ct,ot);if(Rn.type==="normal"){if(Qe=ot.done?"completed":"suspendedYield",Rn.arg===I)continue;return{value:Rn.arg,done:ot.done}}Rn.type==="throw"&&(Qe="completed",ot.method="throw",ot.arg=Rn.arg)}}}(ee,Y,$e),ce}function L(ee,ye,Y){try{return{type:"normal",arg:ee.call(ye,Y)}}catch(Ee){return{type:"throw",arg:Ee}}}l.wrap=B;var I={};function P(){}function z(){}function W(){}var Q={};C(Q,b,function(){return this});var V=qZ&&qZ(qZ(ve([])));V&&V!==h&&g.call(V,b)&&(Q=V);var oe=W.prototype=P.prototype=WZ(Q);function G(ee){var ye;AMe(ye=["next","throw","return"]).call(ye,function(Y){C(ee,Y,function(Ee){return this._invoke(Y,Ee)})})}function ae(ee,ye){function Y(fe,ce,$e,Ye){var ct=L(ee[fe],ee,ce);if(ct.type!=="throw"){var ot=ct.arg,Qe=ot.value;return Qe&&i(Qe)=="object"&&g.call(Qe,"__await")?ye.resolve(Qe.__await).then(function(Le){Y("next",Le,$e,Ye)},function(Le){Y("throw",Le,$e,Ye)}):ye.resolve(Qe).then(function(Le){ot.value=Le,$e(ot)},function(Le){return Y("throw",Le,$e,Ye)})}Ye(ct.arg)}var Ee;this._invoke=function(fe,ce){function $e(){return new ye(function(Ye,ct){Y(fe,ce,Ye,ct)})}return Ee=Ee?Ee.then($e,$e):$e()}}function ne(ee,ye){var Y=ee.iterator[ye.method];if(Y===void 0){if(ye.delegate=null,ye.method==="throw"){if(ee.iterator.return&&(ye.method="return",ye.arg=void 0,ne(ee,ye),ye.method==="throw"))return I;ye.method="throw",ye.arg=new TypeError("The iterator does not provide a 'throw' method")}return I}var Ee=L(Y,ee.iterator,ye.arg);if(Ee.type==="throw")return ye.method="throw",ye.arg=Ee.arg,ye.delegate=null,I;var fe=Ee.arg;return fe?fe.done?(ye[ee.resultName]=fe.value,ye.next=ee.nextLoc,ye.method!=="return"&&(ye.method="next",ye.arg=void 0),ye.delegate=null,I):fe:(ye.method="throw",ye.arg=new TypeError("iterator result is not an object"),ye.delegate=null,I)}function de(ee){var ye={tryLoc:ee[0]};1 in ee&&(ye.catchLoc=ee[1]),2 in ee&&(ye.finallyLoc=ee[2],ye.afterLoc=ee[3]),this.tryEntries.push(ye)}function Ae(ee){var ye=ee.completion||{};ye.type="normal",delete ye.arg,ee.completion=ye}function le(ee){this.tryEntries=[{tryLoc:"root"}],AMe(ee).call(ee,de,this),this.reset(!0)}function ve(ee){if(ee){var ye=ee[b];if(ye)return ye.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var Y=-1,Ee=function fe(){for(;++Y=0;--Ee){var fe=this.tryEntries[Ee],ce=fe.completion;if(fe.tryLoc==="root")return Y("end");if(fe.tryLoc<=this.prev){var $e=g.call(fe,"catchLoc"),Ye=g.call(fe,"finallyLoc");if($e&&Ye){if(this.prev=0;--Y){var Ee=this.tryEntries[Y];if(Ee.tryLoc<=this.prev&&g.call(Ee,"finallyLoc")&&this.prev=0;--ye){var Y=this.tryEntries[ye];if(Y.finallyLoc===ee)return this.complete(Y.completion,Y.afterLoc),Ae(Y),I}},catch:function(ee){for(var ye=this.tryEntries.length-1;ye>=0;--ye){var Y=this.tryEntries[ye];if(Y.tryLoc===ee){var Ee=Y.completion;if(Ee.type==="throw"){var fe=Ee.arg;Ae(Y)}return fe}}throw new Error("illegal catch attempt")},delegateYield:function(ee,ye,Y){return this.delegate={iterator:ve(ee),resultName:ye,nextLoc:Y},this.method==="next"&&(this.arg=void 0),I}},l}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports});kQ(CLt);var Cj=CLt();function ELt(r){function i(o){o.clipboardData.setData("text/html",r),o.clipboardData.setData("text/plain",r),o.preventDefault()}document.addEventListener("copy",i),document.execCommand("copy"),document.removeEventListener("copy",i)}function c5n(r){var i=document.createElement("input");i.value=r,document.body.appendChild(i),i.select(),document.execCommand("copy"),document.body.removeChild(i)}function SN(r){return HDe.apply(this,arguments)}function HDe(){return HDe=yLt(Cj.mark(function r(i){return Cj.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(navigator.clipboard){o.next=3;break}return c5n(i),o.abrupt("return");case 3:return o.next=5,navigator.clipboard.writeText(i);case 5:return o.abrupt("return",o.sent);case 6:case"end":return o.stop()}},r)})),HDe.apply(this,arguments)}var l5n=function(){function r(i,o,l,h,g,d){qr(this,r),gi(this,"codeBlockEditor",{info:{},editorDom:{}}),this.trigger=i,this.target=o,this.previewerDom=h,this.container=l,this.codeMirror=g,this.$cherry=d.previewer.$cherry,this.parent=d,this.$initReg()}return Yr(r,[{key:"$initReg",value:function(){this.codeBlockReg=this.codeBlockReg?this.codeBlockReg:Tpe().reg}},{key:"emit",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};switch(i){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(o,l)}}},{key:"$remove",value:function(){this.codeBlockEditor={info:{},codeBlockCodes:[],editorDom:{}}}},{key:"$tryRemoveMe",value:function(i,o){var l=this.codeBlockEditor.editorDom.inputDiv;this.editing&&l&&!l.contains(i.target)&&(this.editing=!1,this.$remove(),o())}},{key:"$findCodeInEditor",value:function(){var i=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.$collectCodeBlockDom(),this.$collectCodeBlockCode(),i?this.$setLangSelection(this.codeBlockEditor.info.codeBlockIndex):this.$setBlockSelection(this.codeBlockEditor.info.codeBlockIndex)}},{key:"$collectCodeBlockDom",value:function(){var i=yl(this.previewerDom.querySelectorAll('[data-type="codeBlock"]'));this.codeBlockEditor.info={codeBlockNode:this.target,codeBlockIndex:xl(i).call(i,this.target)}}},{key:"$collectCodeBlockCode",value:function(){var i=[];this.codeMirror.getValue().replace(this.codeBlockReg,function(o){var l,h=o.replace(/^\n*/,""),g=((l=(arguments.length<=1?0:arguments.length-1)-2+1)<1||arguments.length<=l?void 0:arguments[l])+o.match(/^\n*/)[0].length;bj(h).call(h,"```mermaid")||i.push({code:h,offset:g})}),this.codeBlockEditor.codeBlockCodes=i}},{key:"$setBlockSelection",value:function(i){var o,l,h,g,d=this.codeBlockEditor.codeBlockCodes[i],b=this.codeMirror.getValue(),w=(o=(l=Zi(b).call(b,0,d.offset).match(/\n/g))===null||l===void 0?void 0:l.length)!==null&&o!==void 0?o:0,x=w+d.code.match(/\n/g).length,C=Zi(h=d.code).call(h,0,-3).match(/[^\n]+\n*$/)[0].length;this.codeBlockEditor.info.selection=[{line:x-1,ch:C},{line:w+1,ch:0}],(g=this.codeMirror).setSelection.apply(g,sM(this.codeBlockEditor.info.selection))}},{key:"$setLangSelection",value:function(i){var o,l,h,g,d=this.codeBlockEditor.codeBlockCodes[i],b=this.codeMirror.getValue(),w=(o=(l=Zi(b).call(b,0,d.offset).match(/\n/g))===null||l===void 0?void 0:l.length)!==null&&o!==void 0?o:0,x=((h=d.code.match(/```\s*[^\n]+/)[0])!==null&&h!==void 0?h:"```").length;this.codeBlockEditor.info.selection=[{line:w,ch:3},{line:w,ch:x}],(g=this.codeMirror).setSelection.apply(g,sM(this.codeBlockEditor.info.selection))}},{key:"showBubble",value:function(){var i=this,o=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];this.$updateContainerPosition(),this.trigger==="hover"&&this.$showBtn(o),this.trigger==="click"&&this.$showContentEditor(),this.container.addEventListener("wheel",function(l){l.stopPropagation(),l.preventDefault(),i.previewerDom.scrollTop+=l.deltaY/3})}},{key:"$showContentEditor",value:function(){this.editing=!0,this.$findCodeInEditor(),this.$drawEditor()}},{key:"$showBtn",value:function(i){var o=this,l=this.target.dataset,h=l.changeLang,g=l.editCode,d=l.copyCode,b=l.lang;if(this.container.innerHTML="",h==="true"&&i){this.container.innerHTML=function(B){var L=ss(K8t).call(K8t,function(I){var P,z;return B===I?rt(z='"):rt(P='")});return' `).concat(L.join(""),` - `)}(b);var w=this.container.querySelector("#code-preview-lang-select");this.changeLangDom=w,this.changeLangDom.addEventListener("change",function(B){B.preventDefault(),B.stopPropagation(),o.parent.$removeAllPreviewerBubbles("click"),o.$changeLang(B.target.value||"")})}if(g==="true"&&i){var x=document.createElement("div");x.className="cherry-edit-code-block",x.innerHTML='',this.container.appendChild(x),x.addEventListener("click",function(B){B.preventDefault(),B.stopPropagation(),o.$hideAllBtn(),o.parent.$removeAllPreviewerBubbles("click"),o.parent.showCodeBlockPreviewerBubbles("click",o.target)}),this.editDom=x}if(d==="true"){var C=document.createElement("div");C.className="cherry-copy-code-block",C.innerHTML='',this.container.appendChild(C),C.addEventListener("click",function(B){B.preventDefault(),B.stopPropagation(),o.parent.$removeAllPreviewerBubbles("click"),o.$copyCodeBlock()}),this.copyDom=C}}},{key:"$hideAllBtn",value:function(){var i,o,l,h,g,d;(i=this.changeLangDom)!==null&&i!==void 0&&(o=i.style)!==null&&o!==void 0&&o.display&&(this.changeLangDom.style.display="none"),(l=this.editDom)!==null&&l!==void 0&&(h=l.style)!==null&&h!==void 0&&h.display&&(this.editDom.style.display="none"),(g=this.copyDom)!==null&&g!==void 0&&(d=g.style)!==null&&d!==void 0&&d.display&&(this.copyDom.style.display="none")}},{key:"$changeLang",value:function(i){this.$findCodeInEditor(!0),this.codeMirror.replaceSelection(i,"around")}},{key:"$drawEditor",value:function(){var i=document.createElement("div");i.className="cherry-previewer-codeBlock-content-handler__input";var o=document.createElement("textarea");o.id="codeMirrorEditor",i.appendChild(o);var l=Fp.fromTextArea(o,{mode:"",theme:"default",scrollbarStyle:"null",lineNumbers:!0,autofocus:!0,lineWrapping:!0,cursorHeight:.85,indentUnit:4,tabSize:4,keyMap:"sublime"}),h=this.codeMirror;l.on("change",function(){h.replaceSelection(l.getValue(),"around")}),this.codeBlockEditor.editorDom.inputDiv=i,this.codeBlockEditor.editorDom.inputDom=l,this.$updateEditorPosition(),this.container.appendChild(this.codeBlockEditor.editorDom.inputDiv),this.codeBlockEditor.editorDom.inputDom.focus(),this.codeBlockEditor.editorDom.inputDom.refresh(),l.setValue(this.codeMirror.getSelection())}},{key:"$copyCodeBlock",value:function(){var i=this.target.lastElementChild.innerText,o=this.$cherry.options.callback.onCopyCode({target:this.target},i);if(o===!1)return!1;var l=this.copyDom.querySelector("i.ch-icon-copy");l&&(l.className=l.className.replace("copy","ok"),Z0(function(){l.className=l.className.replace("ok","copy")},1e3)),ELt(o)}},{key:"$updateContainerPosition",value:function(){this.codeBlockEditor.info.codeBlockNode=this.target;var i=this.$getPosition();this.setStyle(this.container,"width","".concat(i.width,"px")),this.setStyle(this.container,"top","".concat(i.top,"px")),this.setStyle(this.container,"left","".concat(i.left,"px"))}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var i=getComputedStyle(this.codeBlockEditor.info.codeBlockNode),o=this.codeBlockEditor.editorDom.inputDom.getWrapperElement();this.setStyle(o,"fontSize",i.fontSize||"16px"),this.setStyle(o,"fontFamily",i.fontFamily),this.setStyle(o,"lineHeight","1.8em"),this.setStyle(o,"zIndex","1")}},{key:"$setInputOffset",value:function(){var i=this.$getPosition(),o=this.codeBlockEditor.editorDom.inputDiv;this.setStyle(o,"width","".concat(i.width,"px")),this.setStyle(o,"height","".concat(i.height+10,"px"))}},{key:"setStyle",value:function(i,o,l){i.getBoundingClientRect()[o]!==l&&(i.style[o]=l)}},{key:"$getPosition",value:function(){var i=this.codeBlockEditor.info.codeBlockNode.getBoundingClientRect(),o=this.previewerDom.parentNode.getBoundingClientRect();return{top:i.top-o.top,height:i.height,width:i.width,left:i.left-o.left,maxHeight:o.height}}}]),r}(),ckt=function(r,i,o){return Math.min(Math.max(r,i),o)},lkt={open:function(){this.resetStyle(),this.dom.style.display="block",this.postMessage("ready?")},close:function(){this.dom.style.display="none"},postMessage:function(r){var i,o,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(i=this.iframeDom)===null||i===void 0||(o=i.contentWindow)===null||o===void 0||o.postMessage({eventName:r,value:l},"*")},resetStyle:function(){var r=this.dom;r.style.left="10%",r.style.top="10%"},bindEvents:function(){this.bindClickEvents(),this.bindDNDEvents()},bindClickEvents:function(){var r=this;this.headCloseButton.addEventListener("click",function(){r.close()}),this.footSureButton.addEventListener("click",function(){r.postMessage("getData")})},bindDNDEvents:function(){var r,i,o=this.dom,l=this.head,h=this.body,g=function(b){b.preventDefault();var w=ckt(b.clientX-r,0,window.innerWidth-16),x=ckt(b.clientY-i,0,window.innerHeight-16);o.style.left="".concat(w,"px"),o.style.top="".concat(x,"px")},d=function b(w){l.style.cursor="grab",h.style.pointerEvents=null,document.removeEventListener("mousemove",g),document.removeEventListener("mousemove",b)};l.addEventListener("mousedown",function(b){b.target.classList.contains("cherry-dialog--close")||(r=b.clientX-o.offsetLeft,i=b.clientY-o.offsetTop,l.style.cursor="grabbing",h.style.pointerEvents="none",document.addEventListener("mousemove",g),document.addEventListener("mouseup",d))})},draw:function(r,i,o){var l=this,h=r.iframeSrc,g=r.title;if(this.onSubmit=o,this.onReady=i,this.dom)return new RegExp("".concat(h,"$"),"i").test(this.iframeDom.src)||(this.iframeDom.src=h),void this.open();window.addEventListener("message",function(d){if(d.data&&d.data.eventName)switch(d.data.eventName){case"getData:success":l.onSubmit(d.data.value),l.close();case"ready":l.onReady()}}),this.iframeDom=Jl("iframe","cherry-dialog-iframe",{src:h,style:"border: none;"}),this.dom=Jl("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=Jl("div","cherry-dialog--head",{style:["height: 30px","line-height: 30px","padding-left: 10px","padding-right: 10px","cursor: grab;"].join(";")}),this.body=Jl("div","cherry-dialog--body",{style:["position: absolute","bottom: 30px","top: 30px","left: 0","right: 0","overflow: hidden"].join(";")}),this.foot=Jl("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=Jl("span","cherry-dialog--title",{style:"user-select:none;"}),this.headCloseButton=Jl("i","cherry-dialog--close ch-icon ch-icon-close",{style:"float: right;font-size: 12px;cursor: pointer;"}),this.footSureButton=Jl("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=g,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 TLt(){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o={iframeSrc:arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",title:"draw.io"};lkt.draw(o,function(){lkt.postMessage("setData",r)},function(l){i(l)})}var pMe=function(){return xk.Date.now()},u5n=/\s/,h5n=function(r){for(var i=r.length;i--&&u5n.test(r.charAt(i)););return i},f5n=/^\s+/,d5n=function(r){return r&&r.slice(0,h5n(r)+1).replace(f5n,"")},A5n=/^[-+]0x[0-9a-f]+$/i,g5n=/^0b[01]+$/i,p5n=/^0o[0-7]+$/i,m5n=parseInt,ukt=function(r){if(typeof r=="number")return r;if(_St(r))return NaN;if(vk(r)){var i=typeof r.valueOf=="function"?r.valueOf():r;r=vk(i)?i+"":i}if(typeof r!="string")return r===0?r:+r;r=d5n(r);var o=g5n.test(r);return o||p5n.test(r)?m5n(r.slice(2),o?2:8):A5n.test(r)?NaN:+r},b5n=Math.max,w5n=Math.min,v5n=function(r,i,o){var l,h,g,d,b,w,x=0,C=!1,B=!1,L=!0;if(typeof r!="function")throw new TypeError("Expected a function");function I(V){var oe=l,G=h;return l=h=void 0,x=V,d=r.apply(G,oe)}function P(V){var oe=V-w;return w===void 0||oe>=i||oe<0||B&&V-x>=g}function z(){var V=pMe();if(P(V))return W(V);b=setTimeout(z,function(oe){var G=i-(oe-w);return B?w5n(G,g-(oe-x)):G}(V))}function W(V){return b=void 0,L&&l?I(V):(l=h=void 0,d)}function Q(){var V=pMe(),oe=P(V);if(l=arguments,h=this,w=V,oe){if(b===void 0)return function(G){return x=G,b=setTimeout(z,i),C?I(G):d}(w);if(B)return clearTimeout(b),b=setTimeout(z,i),I(w)}return b===void 0&&(b=setTimeout(z,i)),d}return i=ukt(i)||0,vk(o)&&(C=!!o.leading,g=(B="maxWait"in o)?b5n(ukt(o.maxWait)||0,i):g,L="trailing"in o?!!o.trailing:L),Q.cancel=function(){b!==void 0&&clearTimeout(b),x=0,l=w=h=b=void 0},Q.flush=function(){return b===void 0?d:W(pMe())},Q};function hkt(r,i){var o=document.createElement("a");o.href=r,o.download=i,o.click(),o.remove()}function y5n(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(i.format!=="svg"){var o=i.width,l=o===void 0?r.width.baseVal.value:o,h=i.height,g=h===void 0?r.height.baseVal.value:h,d=i.scale,b=d===void 0?5:d,w=i.quality,x=w===void 0?1:w,C=i.backgroundColor,B=C===void 0?"white":C,L=i.filename,I=L===void 0?"formula":L,P=i.format,z=P===void 0?"png":P,W=i.mimeType,Q=W===void 0?"image/png":W,V=$De(r),oe=document.createElement("canvas"),G=oe.getContext("2d"),ae=new Image;ae.src="data:image/svg+xml;base64,".concat(btoa(unescape(encodeURIComponent(V)))),ae.onload=function(){oe.width=l*b,oe.height=g*b,G.fillStyle=B,G.fillRect(0,0,oe.width,oe.height),G.drawImage(ae,0,0,oe.width,oe.height),oe.toBlob(function(de){var Ae,le=Q$.createObjectURL(de);hkt(le,rt(Ae="".concat(I,".")).call(Ae,z)),Q$.revokeObjectURL(le)},Q,x)}}else{var ne;(function(de,Ae){var le=$De(de),ve=new Blob([le],{type:"image/svg+xml;charset=utf-8"}),me=Q$.createObjectURL(ve);hkt(me,Ae),Q$.revokeObjectURL(me)})(r,(ne=i.filename)!==null&&ne!==void 0?ne:"formula.svg")}}function $De(r){return new XMLSerializer().serializeToString(r)}var x5n=function(){function r(i,o,l,h,g){qr(this,r),gi(this,"bubbleContainer",null),this.trigger=i,this.target=o,this.container=l,this.previewerDom=h,this.editor=g}return Yr(r,[{key:"emit",value:function(i,o){switch(i){case"remove":case"scroll":return this.remove()}}},{key:"drawBubble",value:function(){var i,o,l,h=document.createElement("div");h.innerHTML=`
    + `)}(b);var w=this.container.querySelector("#code-preview-lang-select");this.changeLangDom=w,this.changeLangDom.addEventListener("change",function(B){B.preventDefault(),B.stopPropagation(),o.parent.$removeAllPreviewerBubbles("click"),o.$changeLang(B.target.value||"")})}if(g==="true"&&i){var x=document.createElement("div");x.className="cherry-edit-code-block",x.innerHTML='',this.container.appendChild(x),x.addEventListener("click",function(B){B.preventDefault(),B.stopPropagation(),o.$hideAllBtn(),o.parent.$removeAllPreviewerBubbles("click"),o.parent.showCodeBlockPreviewerBubbles("click",o.target)}),this.editDom=x}if(d==="true"){var C=document.createElement("div");C.className="cherry-copy-code-block",C.innerHTML='',this.container.appendChild(C),C.addEventListener("click",function(B){B.preventDefault(),B.stopPropagation(),o.parent.$removeAllPreviewerBubbles("click"),o.$copyCodeBlock()}),this.copyDom=C}}},{key:"$hideAllBtn",value:function(){var i,o,l,h,g,d;(i=this.changeLangDom)!==null&&i!==void 0&&(o=i.style)!==null&&o!==void 0&&o.display&&(this.changeLangDom.style.display="none"),(l=this.editDom)!==null&&l!==void 0&&(h=l.style)!==null&&h!==void 0&&h.display&&(this.editDom.style.display="none"),(g=this.copyDom)!==null&&g!==void 0&&(d=g.style)!==null&&d!==void 0&&d.display&&(this.copyDom.style.display="none")}},{key:"$changeLang",value:function(i){this.$findCodeInEditor(!0),this.codeMirror.replaceSelection(i,"around")}},{key:"$drawEditor",value:function(){var i=document.createElement("div");i.className="cherry-previewer-codeBlock-content-handler__input";var o=document.createElement("textarea");o.id="codeMirrorEditor",i.appendChild(o);var l=Ip.fromTextArea(o,{mode:"",theme:"default",scrollbarStyle:"null",lineNumbers:!0,autofocus:!0,lineWrapping:!0,cursorHeight:.85,indentUnit:4,tabSize:4,keyMap:"sublime"}),h=this.codeMirror;l.on("change",function(){h.replaceSelection(l.getValue(),"around")}),this.codeBlockEditor.editorDom.inputDiv=i,this.codeBlockEditor.editorDom.inputDom=l,this.$updateEditorPosition(),this.container.appendChild(this.codeBlockEditor.editorDom.inputDiv),this.codeBlockEditor.editorDom.inputDom.focus(),this.codeBlockEditor.editorDom.inputDom.refresh(),l.setValue(this.codeMirror.getSelection())}},{key:"$copyCodeBlock",value:function(){var i=this.target.lastElementChild.innerText,o=this.$cherry.options.callback.onCopyCode({target:this.target},i);if(o===!1)return!1;var l=this.copyDom.querySelector("i.ch-icon-copy");l&&(l.className=l.className.replace("copy","ok"),Z0(function(){l.className=l.className.replace("ok","copy")},1e3)),CLt(o)}},{key:"$updateContainerPosition",value:function(){this.codeBlockEditor.info.codeBlockNode=this.target;var i=this.$getPosition();this.setStyle(this.container,"width","".concat(i.width,"px")),this.setStyle(this.container,"top","".concat(i.top,"px")),this.setStyle(this.container,"left","".concat(i.left,"px"))}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var i=getComputedStyle(this.codeBlockEditor.info.codeBlockNode),o=this.codeBlockEditor.editorDom.inputDom.getWrapperElement();this.setStyle(o,"fontSize",i.fontSize||"16px"),this.setStyle(o,"fontFamily",i.fontFamily),this.setStyle(o,"lineHeight","1.8em"),this.setStyle(o,"zIndex","1")}},{key:"$setInputOffset",value:function(){var i=this.$getPosition(),o=this.codeBlockEditor.editorDom.inputDiv;this.setStyle(o,"width","".concat(i.width,"px")),this.setStyle(o,"height","".concat(i.height+10,"px"))}},{key:"setStyle",value:function(i,o,l){i.getBoundingClientRect()[o]!==l&&(i.style[o]=l)}},{key:"$getPosition",value:function(){var i=this.codeBlockEditor.info.codeBlockNode.getBoundingClientRect(),o=this.previewerDom.parentNode.getBoundingClientRect();return{top:i.top-o.top,height:i.height,width:i.width,left:i.left-o.left,maxHeight:o.height}}}]),r}(),s7t=function(r,i,o){return Math.min(Math.max(r,i),o)},c7t={open:function(){this.resetStyle(),this.dom.style.display="block",this.postMessage("ready?")},close:function(){this.dom.style.display="none"},postMessage:function(r){var i,o,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(i=this.iframeDom)===null||i===void 0||(o=i.contentWindow)===null||o===void 0||o.postMessage({eventName:r,value:l},"*")},resetStyle:function(){var r=this.dom;r.style.left="10%",r.style.top="10%"},bindEvents:function(){this.bindClickEvents(),this.bindDNDEvents()},bindClickEvents:function(){var r=this;this.headCloseButton.addEventListener("click",function(){r.close()}),this.footSureButton.addEventListener("click",function(){r.postMessage("getData")})},bindDNDEvents:function(){var r,i,o=this.dom,l=this.head,h=this.body,g=function(b){b.preventDefault();var w=s7t(b.clientX-r,0,window.innerWidth-16),x=s7t(b.clientY-i,0,window.innerHeight-16);o.style.left="".concat(w,"px"),o.style.top="".concat(x,"px")},d=function b(w){l.style.cursor="grab",h.style.pointerEvents=null,document.removeEventListener("mousemove",g),document.removeEventListener("mousemove",b)};l.addEventListener("mousedown",function(b){b.target.classList.contains("cherry-dialog--close")||(r=b.clientX-o.offsetLeft,i=b.clientY-o.offsetTop,l.style.cursor="grabbing",h.style.pointerEvents="none",document.addEventListener("mousemove",g),document.addEventListener("mouseup",d))})},draw:function(r,i,o){var l=this,h=r.iframeSrc,g=r.title;if(this.onSubmit=o,this.onReady=i,this.dom)return new RegExp("".concat(h,"$"),"i").test(this.iframeDom.src)||(this.iframeDom.src=h),void this.open();window.addEventListener("message",function(d){if(d.data&&d.data.eventName)switch(d.data.eventName){case"getData:success":l.onSubmit(d.data.value),l.close();case"ready":l.onReady()}}),this.iframeDom=Jl("iframe","cherry-dialog-iframe",{src:h,style:"border: none;"}),this.dom=Jl("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=Jl("div","cherry-dialog--head",{style:["height: 30px","line-height: 30px","padding-left: 10px","padding-right: 10px","cursor: grab;"].join(";")}),this.body=Jl("div","cherry-dialog--body",{style:["position: absolute","bottom: 30px","top: 30px","left: 0","right: 0","overflow: hidden"].join(";")}),this.foot=Jl("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=Jl("span","cherry-dialog--title",{style:"user-select:none;"}),this.headCloseButton=Jl("i","cherry-dialog--close ch-icon ch-icon-close",{style:"float: right;font-size: 12px;cursor: pointer;"}),this.footSureButton=Jl("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=g,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 ELt(){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o={iframeSrc:arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",title:"draw.io"};c7t.draw(o,function(){c7t.postMessage("setData",r)},function(l){i(l)})}var gIe=function(){return y7.Date.now()},l5n=/\s/,u5n=function(r){for(var i=r.length;i--&&l5n.test(r.charAt(i)););return i},h5n=/^\s+/,f5n=function(r){return r&&r.slice(0,u5n(r)+1).replace(h5n,"")},d5n=/^[-+]0x[0-9a-f]+$/i,A5n=/^0b[01]+$/i,g5n=/^0o[0-7]+$/i,p5n=parseInt,l7t=function(r){if(typeof r=="number")return r;if(BSt(r))return NaN;if(w7(r)){var i=typeof r.valueOf=="function"?r.valueOf():r;r=w7(i)?i+"":i}if(typeof r!="string")return r===0?r:+r;r=f5n(r);var o=A5n.test(r);return o||g5n.test(r)?p5n(r.slice(2),o?2:8):d5n.test(r)?NaN:+r},m5n=Math.max,b5n=Math.min,w5n=function(r,i,o){var l,h,g,d,b,w,x=0,C=!1,B=!1,L=!0;if(typeof r!="function")throw new TypeError("Expected a function");function M(V){var oe=l,G=h;return l=h=void 0,x=V,d=r.apply(G,oe)}function P(V){var oe=V-w;return w===void 0||oe>=i||oe<0||B&&V-x>=g}function z(){var V=gIe();if(P(V))return W(V);b=setTimeout(z,function(oe){var G=i-(oe-w);return B?b5n(G,g-(oe-x)):G}(V))}function W(V){return b=void 0,L&&l?M(V):(l=h=void 0,d)}function Q(){var V=gIe(),oe=P(V);if(l=arguments,h=this,w=V,oe){if(b===void 0)return function(G){return x=G,b=setTimeout(z,i),C?M(G):d}(w);if(B)return clearTimeout(b),b=setTimeout(z,i),M(w)}return b===void 0&&(b=setTimeout(z,i)),d}return i=l7t(i)||0,w7(o)&&(C=!!o.leading,g=(B="maxWait"in o)?m5n(l7t(o.maxWait)||0,i):g,L="trailing"in o?!!o.trailing:L),Q.cancel=function(){b!==void 0&&clearTimeout(b),x=0,l=w=h=b=void 0},Q.flush=function(){return b===void 0?d:W(gIe())},Q};function u7t(r,i){var o=document.createElement("a");o.href=r,o.download=i,o.click(),o.remove()}function v5n(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(i.format!=="svg"){var o=i.width,l=o===void 0?r.width.baseVal.value:o,h=i.height,g=h===void 0?r.height.baseVal.value:h,d=i.scale,b=d===void 0?5:d,w=i.quality,x=w===void 0?1:w,C=i.backgroundColor,B=C===void 0?"white":C,L=i.filename,M=L===void 0?"formula":L,P=i.format,z=P===void 0?"png":P,W=i.mimeType,Q=W===void 0?"image/png":W,V=HDe(r),oe=document.createElement("canvas"),G=oe.getContext("2d"),ae=new Image;ae.src="data:image/svg+xml;base64,".concat(btoa(unescape(encodeURIComponent(V)))),ae.onload=function(){oe.width=l*b,oe.height=g*b,G.fillStyle=B,G.fillRect(0,0,oe.width,oe.height),G.drawImage(ae,0,0,oe.width,oe.height),oe.toBlob(function(de){var Ae,le=N$.createObjectURL(de);u7t(le,rt(Ae="".concat(M,".")).call(Ae,z)),N$.revokeObjectURL(le)},Q,x)}}else{var ne;(function(de,Ae){var le=HDe(de),ve=new Blob([le],{type:"image/svg+xml;charset=utf-8"}),me=N$.createObjectURL(ve);u7t(me,Ae),N$.revokeObjectURL(me)})(r,(ne=i.filename)!==null&&ne!==void 0?ne:"formula.svg")}}function HDe(r){return new XMLSerializer().serializeToString(r)}var y5n=function(){function r(i,o,l,h,g){qr(this,r),gi(this,"bubbleContainer",null),this.trigger=i,this.target=o,this.container=l,this.previewerDom=h,this.editor=g}return Yr(r,[{key:"emit",value:function(i,o){switch(i){case"remove":case"scroll":return this.remove()}}},{key:"drawBubble",value:function(){var i,o,l,h=document.createElement("div");h.innerHTML=`
    @@ -268,21 +268,21 @@ The parent vnode is:
    -
    `,h.id="formula-utils-bubble-container",h.className=["formula-utils-bubble-container"].join(" "),this.bubbleContainer=h,this==null||(i=this.editor)===null||i===void 0||(o=i.$cherry)===null||o===void 0||(l=o.wrapperDom)===null||l===void 0||l.appendChild(h)}},{key:"showBubble",value:function(i,o){var l,h,g,d,b,w=this==null||(l=this.editor)===null||l===void 0||(h=l.$cherry)===null||h===void 0||(g=h.wrapperDom)===null||g===void 0||(d=g.children)===null||d===void 0?void 0:d.namedItem("formula-utils-bubble-container"),x=this.target.getBoundingClientRect();w instanceof HTMLElement?this.bubbleContainer=w:this.drawBubble(),this.bubbleContainer.style.display="flex",this.bubbleContainer.style.top="".concat(o||x.top,"px"),this.bubbleContainer.style.left="".concat(i||x.left,"px"),this.bubbleContainer.addEventListener("click",Xa(b=this.bubbleClickHandler).call(b,this),{once:!0}),this.collectFormulaCode()}},{key:"collectFormulaCode",value:function(){var i=[];this.editor.editor.getValue().replace(/(\$+)\s*([\w\W]*?)\s*(\1)/g,function(o,l,h,g,d){i.push({code:h,offset:d})}),this.formulaCode=i}},{key:"remove",value:function(){this.bubbleContainer&&(this.bubbleContainer.style.display="none")}},{key:"bubbleClickHandler",value:function(i){var o=this;i.preventDefault(),i.stopPropagation();var l=i.target;if(l instanceof HTMLButtonElement){var h=l.dataset.name,g=h===void 0?"":h;switch(g){case"svg":case"png":case"jpg":this.target instanceof SVGSVGElement&&y5n(this.target,{format:g});break;case"html":case"svgcode":if(this.target instanceof SVGSVGElement)if(g==="svgcode")SN($De(this.target));else{var d=this.target.parentElement.querySelector("math");d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),SN(d.outerHTML)}break;case"\\":case"$":case"$$":case"latex":case"mathml":case"docx":var b=this.previewerDom.querySelectorAll("mjx-container"),w=-1;if(xa(b).call(b,function(oe,G){oe===o.target.parentElement&&(w=G)}),w>=0&&this.formulaCode[w]){var x=this.formulaCode[w].code;if(g==="mathml"||g==="docx"){var C,B,L,I,P=See(C=this.editor.$cherry.engine.hooks.paragraph).call(C,function(oe){return oe instanceof pQe});P&&P.engine==="MathJax"&&((B=window.MathJax)===null||B===void 0||B.texReset(),(L=window.MathJax)===null||L===void 0||(I=L.tex2mmlPromise)===null||I===void 0||I.call(L,x,{display:!0}).then(function(oe){g==="mathml"&&SN(oe)}))}else if(g==="latex")SN(x);else if(g==="$"){var z,W;SN(rt(z=rt(W="".concat(g)).call(W,x)).call(z,g))}else if(g==="$$"){var Q,V;SN(rt(Q=rt(V="".concat(g,` +
    `,h.id="formula-utils-bubble-container",h.className=["formula-utils-bubble-container"].join(" "),this.bubbleContainer=h,this==null||(i=this.editor)===null||i===void 0||(o=i.$cherry)===null||o===void 0||(l=o.wrapperDom)===null||l===void 0||l.appendChild(h)}},{key:"showBubble",value:function(i,o){var l,h,g,d,b,w=this==null||(l=this.editor)===null||l===void 0||(h=l.$cherry)===null||h===void 0||(g=h.wrapperDom)===null||g===void 0||(d=g.children)===null||d===void 0?void 0:d.namedItem("formula-utils-bubble-container"),x=this.target.getBoundingClientRect();w instanceof HTMLElement?this.bubbleContainer=w:this.drawBubble(),this.bubbleContainer.style.display="flex",this.bubbleContainer.style.top="".concat(o||x.top,"px"),this.bubbleContainer.style.left="".concat(i||x.left,"px"),this.bubbleContainer.addEventListener("click",Xa(b=this.bubbleClickHandler).call(b,this),{once:!0}),this.collectFormulaCode()}},{key:"collectFormulaCode",value:function(){var i=[];this.editor.editor.getValue().replace(/(\$+)\s*([\w\W]*?)\s*(\1)/g,function(o,l,h,g,d){i.push({code:h,offset:d})}),this.formulaCode=i}},{key:"remove",value:function(){this.bubbleContainer&&(this.bubbleContainer.style.display="none")}},{key:"bubbleClickHandler",value:function(i){var o=this;i.preventDefault(),i.stopPropagation();var l=i.target;if(l instanceof HTMLButtonElement){var h=l.dataset.name,g=h===void 0?"":h;switch(g){case"svg":case"png":case"jpg":this.target instanceof SVGSVGElement&&v5n(this.target,{format:g});break;case"html":case"svgcode":if(this.target instanceof SVGSVGElement)if(g==="svgcode")_N(HDe(this.target));else{var d=this.target.parentElement.querySelector("math");d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),_N(d.outerHTML)}break;case"\\":case"$":case"$$":case"latex":case"mathml":case"docx":var b=this.previewerDom.querySelectorAll("mjx-container"),w=-1;if(xa(b).call(b,function(oe,G){oe===o.target.parentElement&&(w=G)}),w>=0&&this.formulaCode[w]){var x=this.formulaCode[w].code;if(g==="mathml"||g==="docx"){var C,B,L,M,P=_ee(C=this.editor.$cherry.engine.hooks.paragraph).call(C,function(oe){return oe instanceof gQe});P&&P.engine==="MathJax"&&((B=window.MathJax)===null||B===void 0||B.texReset(),(L=window.MathJax)===null||L===void 0||(M=L.tex2mmlPromise)===null||M===void 0||M.call(L,x,{display:!0}).then(function(oe){g==="mathml"&&_N(oe)}))}else if(g==="latex")_N(x);else if(g==="$"){var z,W;_N(rt(z=rt(W="".concat(g)).call(W,x)).call(z,g))}else if(g==="$$"){var Q,V;_N(rt(Q=rt(V="".concat(g,` `)).call(V,x,` -`)).call(Q,g))}else g==="\\"&&SN("\\".concat(x))}}}this.remove()}}]),r}();p9.f;var fkt=Za("".endsWith),k5n=Za("".slice),C5n=Math.min,E5n=lQe("endsWith");ma({target:"String",proto:!0,forced:!E5n},{endsWith:function(r){var i=Zl(AM(this));cQe(r);var o=arguments.length>1?arguments[1]:void 0,l=i.length,h=o===void 0?l:C5n(zNe(o),l),g=Zl(r);return fkt?fkt(i,g,h):k5n(i,h-g.length,h)===g}});var T5n=Ld("String").endsWith,mMe=String.prototype,B5n=function(r){var i=r.endsWith;return typeof r=="string"||r===mMe||uf(mMe,r)&&i===mMe.endsWith?T5n:i},_5n=function(){function r(i,o,l,h,g){var d,b;qr(this,r),gi(this,"bubbleContainer",null),gi(this,"regList",j_t),gi(this,"range",[]),gi(this,"position",{line:0,ch:0}),gi(this,"input",!1),gi(this,"isCheckbox",!1),this.trigger=i,this.target=o,this.container=l,this.previewerDom=h,this.editor=g,this.handleEditablesInputBinded=Xa(d=this.handleEditablesInput).call(d,this),this.handleEditablesUnfocusBinded=Xa(b=this.handleEditablesUnfocus).call(b,this),this.target.addEventListener("input",this.handleEditablesInputBinded,!1),this.target.addEventListener("focusout",this.handleEditablesUnfocusBinded,!1),this.setSelection()}return Yr(r,[{key:"emit",value:function(i,o){if(i==="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 i=this.editor.editor.getCursor();this.editor.editor.setSelection(i,i)}},{key:"setSelection",value:function(){var i,o,l=this,h=yl(this.previewerDom.querySelectorAll("li.cherry-list-item")),g=oge(h).call(h,function(I){return I===l.target.parentElement});if(g!==-1){var d=(i=(o=XAe(this==null?void 0:this.editor.editor.getValue()))===null||o===void 0?void 0:o.split(` -`))!==null&&i!==void 0?i:[],b=0,w=-1,x=-1,C="";xa(d).call(d,function(I,P){if(I&&I!=="/n"){var z=l.regList.exec(I);if(z!==null){var W=gu(z,5),Q=W[1],V=W[2],oe=W[3],G=W[4];b===g&&Q!==void 0&&(w=P,C=G,x=xl(I).call(I,C),V!=null&&B5n(V).call(V,".")&&(x+=1),oe&&(l.isCheckbox=!0)),b+=1}}});var B={line:w,ch:x},L={line:w,ch:x+C.length};this.editor.editor.setSelection(B,L),this.range=[B,L],this.position=this.editor.editor.getCursor()}}},{key:"handleEditablesInput",value:function(i){this.input=!0,i.stopPropagation(),i.preventDefault(),i.target instanceof HTMLParagraphElement&&(i.inputType!=="insertParagraph"&&i.inputType!=="insertLineBreak"||this.handleInsertLineBreak())}},{key:"handleEditablesUnfocus",value:function(i){if(i.stopPropagation(),i.preventDefault(),i.target instanceof HTMLParagraphElement){if(this.input){var o=this.isCheckbox?i.target.innerHTML.replace(/<\/span>/,""):i.target.innerHTML,l=this.editor.$cherry.engine.makeMarkdown(o),h=gu(this.range,2),g=h[0],d=h[1];this.editor.editor.replaceRange(l,g,d),this.isCheckbox=!1,this.input=!1}this.remove()}}},{key:"handleInsertLineBreak",value:function(){var i,o,l=this.editor.editor.getCursor(),h=this.editor.editor.getLine(l.line),g=this.regList.exec(h),d=` +`)).call(Q,g))}else g==="\\"&&_N("\\".concat(x))}}}this.remove()}}]),r}();g9.f;var h7t=Za("".endsWith),x5n=Za("".slice),k5n=Math.min,C5n=cQe("endsWith");ma({target:"String",proto:!0,forced:!C5n},{endsWith:function(r){var i=Zl(dI(this));sQe(r);var o=arguments.length>1?arguments[1]:void 0,l=i.length,h=o===void 0?l:k5n(KNe(o),l),g=Zl(r);return h7t?h7t(i,g,h):x5n(i,h-g.length,h)===g}});var E5n=Md("String").endsWith,pIe=String.prototype,T5n=function(r){var i=r.endsWith;return typeof r=="string"||r===pIe||uf(pIe,r)&&i===pIe.endsWith?E5n:i},B5n=function(){function r(i,o,l,h,g){var d,b;qr(this,r),gi(this,"bubbleContainer",null),gi(this,"regList",$_t),gi(this,"range",[]),gi(this,"position",{line:0,ch:0}),gi(this,"input",!1),gi(this,"isCheckbox",!1),this.trigger=i,this.target=o,this.container=l,this.previewerDom=h,this.editor=g,this.handleEditablesInputBinded=Xa(d=this.handleEditablesInput).call(d,this),this.handleEditablesUnfocusBinded=Xa(b=this.handleEditablesUnfocus).call(b,this),this.target.addEventListener("input",this.handleEditablesInputBinded,!1),this.target.addEventListener("focusout",this.handleEditablesUnfocusBinded,!1),this.setSelection()}return Yr(r,[{key:"emit",value:function(i,o){if(i==="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 i=this.editor.editor.getCursor();this.editor.editor.setSelection(i,i)}},{key:"setSelection",value:function(){var i,o,l=this,h=yl(this.previewerDom.querySelectorAll("li.cherry-list-item")),g=age(h).call(h,function(M){return M===l.target.parentElement});if(g!==-1){var d=(i=(o=zAe(this==null?void 0:this.editor.editor.getValue()))===null||o===void 0?void 0:o.split(` +`))!==null&&i!==void 0?i:[],b=0,w=-1,x=-1,C="";xa(d).call(d,function(M,P){if(M&&M!=="/n"){var z=l.regList.exec(M);if(z!==null){var W=gu(z,5),Q=W[1],V=W[2],oe=W[3],G=W[4];b===g&&Q!==void 0&&(w=P,C=G,x=xl(M).call(M,C),V!=null&&T5n(V).call(V,".")&&(x+=1),oe&&(l.isCheckbox=!0)),b+=1}}});var B={line:w,ch:x},L={line:w,ch:x+C.length};this.editor.editor.setSelection(B,L),this.range=[B,L],this.position=this.editor.editor.getCursor()}}},{key:"handleEditablesInput",value:function(i){this.input=!0,i.stopPropagation(),i.preventDefault(),i.target instanceof HTMLParagraphElement&&(i.inputType!=="insertParagraph"&&i.inputType!=="insertLineBreak"||this.handleInsertLineBreak())}},{key:"handleEditablesUnfocus",value:function(i){if(i.stopPropagation(),i.preventDefault(),i.target instanceof HTMLParagraphElement){if(this.input){var o=this.isCheckbox?i.target.innerHTML.replace(/<\/span>/,""):i.target.innerHTML,l=this.editor.$cherry.engine.makeMarkdown(o),h=gu(this.range,2),g=h[0],d=h[1];this.editor.editor.replaceRange(l,g,d),this.isCheckbox=!1,this.input=!1}this.remove()}}},{key:"handleInsertLineBreak",value:function(){var i,o,l=this.editor.editor.getCursor(),h=this.editor.editor.getLine(l.line),g=this.regList.exec(h),d=` - `;g!==null&&(d=rt(i=` -`.concat(g[1])).call(i,(o=g[2])===null||o===void 0?void 0:o.replace("[x]","[ ] "))),this.editor.editor.replaceRange(d,{line:l.line,ch:this.editor.editor.getLine(l.line).length}),this.editor.editor.setCursor({line:l.line+1,ch:d.length+1}),this.editor.editor.focus(),this.remove()}}]),r}(),S5n=function(){function r(i){qr(this,r),this.previewer=i,this.editor=i.editor,this.previewerDom=this.previewer.getDom(),this.enablePreviewerBubble=this.previewer.options.enablePreviewerBubble,this.bubble={},this.bubbleHandler={},this.init()}return Yr(r,[{key:"init",value:function(){var i,o,l,h=this;this.oldWrapperDomOverflow=this.previewer.$cherry.wrapperDom.style.overflow,this.previewerDom.addEventListener("click",Xa(i=this.$onClick).call(i,this)),this.previewerDom.addEventListener("mouseover",Xa(o=this.$onMouseOver).call(o,this)),document.addEventListener("mousedown",function(g){var d;xa(d=b$(h.bubbleHandler)).call(d,function(b){return b.emit("mousedown",g)})}),document.addEventListener("mouseup",function(g){var d;xa(d=b$(h.bubbleHandler)).call(d,function(b){return b.emit("mouseup",g,function(){return h.$removeAllPreviewerBubbles("click")})})}),document.addEventListener("mousemove",function(g){var d;xa(d=b$(h.bubbleHandler)).call(d,function(b){return b.emit("mousemove",g)})}),document.addEventListener("keyup",function(g){var d;xa(d=b$(h.bubbleHandler)).call(d,function(b){return b.emit("keyup",g)})}),this.previewerDom.addEventListener("scroll",function(g){var d;xa(d=b$(h.bubbleHandler)).call(d,function(b){return b.emit("scroll",g)})},!0),Is.on(this.previewer.instanceId,Is.Events.previewerClose,function(){return h.$removeAllPreviewerBubbles()}),this.previewer.options.afterUpdateCallBack.push(function(){var g;xa(g=b$(h.bubbleHandler)).call(g,function(d){return d.emit("previewUpdate",function(){return h.$removeAllPreviewerBubbles()})})}),this.previewerDom.addEventListener("change",Xa(l=this.$onChange).call(l,this)),this.removeHoverBubble=v5n(function(){return h.$removeAllPreviewerBubbles("hover")},400)}},{key:"isCherryCodeBlock",value:function(i){if(i.nodeName==="DIV"&&i.dataset.type==="codeBlock")return i;var o=this.$getClosestNode(i,"DIV");return o!==!1&&o.dataset.type==="codeBlock"&&o}},{key:"isCherryTable",value:function(i){var o=this.$getClosestNode(i,"DIV");return o!==!1&&!(/simple-table/.test(o.className)||!/cherry-table-container/.test(o.className))&&o}},{key:"$isEnableBubbleAndEditorShow",value:function(){return!!this.enablePreviewerBubble&&this.previewer.$cherry.getStatus().editor!=="hide"}},{key:"$onMouseOver",value:function(i){var o=i.target;if(o instanceof Element&&o.tagName!==void 0){switch(o.tagName){case"TD":case"TH":if(!this.$isEnableBubbleAndEditorShow())return;var l=this.isCherryTable(i.target);return l===!1?void 0:(this.removeHoverBubble.cancel(),this.$removeAllPreviewerBubbles("hover"),void this.$showTablePreviewerBubbles("hover",i.target,l));case"PRE":case"CODE":case"SPAN":case"DIV":var h=this.isCherryCodeBlock(i.target);return h===!1?void 0:void this.showCodeBlockPreviewerBubbles("hover",h)}this.removeHoverBubble()}}},{key:"$onMouseOut",value:function(){this.enablePreviewerBubble&&this.previewer.$cherry.getStatus().editor}},{key:"$dealCheckboxClick",value:function(i){var o=this,l=i.target,h=yl(this.previewerDom.querySelectorAll(".ch-icon-square, .ch-icon-check"));this.checkboxIdx=xl(h).call(h,l);var g=XAe(this.editor.editor.getValue()).split(` -`),d=0,b=-1,w=-1;xa(g).call(g,function(x,C){var B=uo(x).call(x);(bj(B).call(B,"- [ ]")||bj(B).call(B,"- [x]"))&&(d===o.checkboxIdx&&(b=C,w=xl(x).call(x,"- [")+3),d+=1)}),b!==-1&&(this.editor.editor.setSelection({line:b,ch:w},{line:b,ch:w+1}),this.editor.editor.replaceSelection(this.editor.editor.getSelection()===" "?"x":" ","around"))}},{key:"$onClick",value:function(i){var o,l=this,h=i.target,g=this.previewer.$cherry.getStatus();if(g.editor!=="hide"&&h instanceof Element){if(h instanceof HTMLImageElement&&h.tagName==="IMG"&&h.getAttribute("data-type")==="drawio"){if(!this.beginChangeDrawioImg(h))return;var d=decodeURI(h.getAttribute("data-xml"));TLt(this.previewer.$cherry.options.drawioIframeUrl,d,function(w){var x,C=w.xmlData,B=w.base64;l.editor.editor.replaceSelection(rt(x="(".concat(B,"){data-type=drawio data-xml=")).call(x,encodeURI(C),"}"),"around")})}else if(this.enablePreviewerBubble&&(h.className!=="ch-icon ch-icon-square"&&h.className!=="ch-icon ch-icon-check"||this.$dealCheckboxClick(i),this.$removeAllPreviewerBubbles("click"),h.tagName!==void 0))switch(h.tagName){case"IMG":h instanceof HTMLImageElement&&this.$showImgPreviewerBubbles(h);break;case"TD":case"TH":if(h instanceof HTMLElement){var b=this.isCherryTable(h);if(b===!1)return;this.$showTablePreviewerBubbles("click",h,b)}break;case"svg":(h==null||(o=h.parentElement)===null||o===void 0?void 0:o.tagName)==="MJX-CONTAINER"&&this.$showFormulaPreviewerBubbles("click",h,{x:i.pageX,y:i.pageY});break;case"A":i.stopPropagation();break;case"P":h instanceof HTMLParagraphElement&&h.parentElement instanceof HTMLLIElement&&(h.children.length!==0&&(i.preventDefault(),i.stopPropagation()),h.setAttribute("contenteditable","true"),h.focus(),this.$showListPreviewerBubbles("click",h))}}else g.previewer==="show"&&this.previewer.$cherry.options.callback.onClickPreview&&this.previewer.$cherry.options.callback.onClickPreview(i)}},{key:"$onChange",value:function(i){}},{key:"$getClosestNode",value:function(i,o){return i.tagName===o?i:i.parentNode.tagName!=="BODY"&&this.$getClosestNode(i.parentNode,o)}},{key:"$removeAllPreviewerBubbles",value:function(){var i,o,l,h,g=this,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";xa(i=t1(o=Nee(this.bubble)).call(o,function(b){var w=gu(b,1)[0];return!d||d===w})).call(i,function(b){var w=gu(b,2),x=w[0];w[1].remove(),delete g.bubble[x]}),xa(l=t1(h=Nee(this.bubbleHandler)).call(h,function(b){var w=gu(b,1)[0];return!d||d===w})).call(l,function(b){var w=gu(b,2),x=w[0];w[1].emit("remove"),delete g.bubbleHandler[x]}),pu(this.bubbleHandler).length<=0&&(this.previewer.$cherry.wrapperDom.style.overflow=this.oldWrapperDomOverflow||"")}},{key:"$showTablePreviewerBubbles",value:function(i,o,l){if(this.bubbleHandler[i]&&this.bubbleHandler[i].tableElement===l)this.bubbleHandler[i].showBubble();else{this.$createPreviewerBubbles(i,i==="click"?"table-content-handler":"table-hover-handler");var h=new B4n(i,o,this.bubble[i],this.previewerDom,this.editor.editor,l);h.showBubble(),this.bubbleHandler[i]=h}}},{key:"showCodeBlockPreviewerBubbles",value:function(i,o){if(this.bubbleHandler[i]&&this.bubbleHandler[i].target===o)this.removeHoverBubble.cancel();else{this.$removeAllPreviewerBubbles("hover"),this.$createPreviewerBubbles(i,"codeBlock-".concat(i,"-handler"));var l=new l5n(i,o,this.bubble[i],this.previewerDom,this.editor.editor,this);l.showBubble(this.$isEnableBubbleAndEditorShow()),this.bubbleHandler[i]=l}}},{key:"$showImgPreviewerBubbles",value:function(i){var o;this.$createPreviewerBubbles();var l=yl(this.previewerDom.querySelectorAll("img"));if(this.totalImgs=l.length,this.imgIndex=xl(l).call(l,i),!this.beginChangeImgValue(i))return{emit:function(){}};ZIe.showBubble(i,this.bubble.click,this.previewerDom),ZIe.bindChange(Xa(o=this.changeImgValue).call(o,this)),this.bubbleHandler.click=ZIe}},{key:"$showFormulaPreviewerBubbles",value:function(i,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.$createPreviewerBubbles(i,"formula-hover-handler");var h=new x5n(i,o,this.bubble[i],this.previewerDom,this.editor);h.showBubble((l==null?void 0:l.x)||0,(l==null?void 0:l.y)||0),this.bubbleHandler[i]=h}},{key:"$showListPreviewerBubbles",value:function(i,o){this.$createPreviewerBubbles(i,"list-hover-handler");var l=new _5n(i,o,this.bubble[i],this.previewerDom,this.editor);this.bubbleHandler[i]=l}},{key:"beginChangeDrawioImg",value:function(i){var o,l=yl(this.previewerDom.querySelectorAll('img[data-type="drawio"]')),h=l.length,g=xl(l).call(l,i),d=XAe(this.editor.editor.getValue()),b=d.match(rxt),w=b[g]?uo(o=b[g].replace(/^!\[.*?\]\((.*?)\)/,"$1")).call(o):"";if(b.length===h||i.getAttribute("src")===w)for(var x=d.split(rxt),C=0,B=0,L=0,I=0,P=0;P0&&arguments[0]!==void 0?arguments[0]:"click",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"img-size-handler";this.bubble[i]||(this.bubble[i]=document.createElement("div"),this.bubble[i].className="cherry-previewer-".concat(o),this.previewerDom.after(this.bubble[i]),i==="hover"&&(this.bubble[i].addEventListener("mouseover",this.removeHoverBubble.cancel),this.bubble[i].addEventListener("mouseout",this.removeHoverBubble)),this.previewer.$cherry.wrapperDom.style.overflow="hidden")}},{key:"$showBorderBubbles",value:function(){}},{key:"$showBtnBubbles",value:function(){}}]),r}(),BLt=Gc.setInterval,L5n=function(){function r(i,o){qr(this,r),gi(this,"options",{loadingImgPath:"",maxNumPerTime:2,noLoadImgNum:5,autoLoadImgNum:5,maxTryTimesPerSrc:2,beforeLoadOneImgCallback:function(l){},failLoadOneImgCallback:function(l){},afterLoadOneImgCallback:function(l){},afterLoadAllImgCallback:function(){}}),BB(this.options,i),this.previewer=o,this.srcLoadedList=[],this.srcFailLoadedList={},this.srcLoadingList=[],this.srcList=[],this.loadingImgNum=0,this.lastLoadAllNum=0,this.previewerDom=this.previewer.getDomContainer()}return Yr(r,[{key:"isLoaded",value:function(i){var o;return hge(o=this.srcLoadedList).call(o,i)}},{key:"isLoading",value:function(i){var o;return hge(o=this.srcLoadingList).call(o,i)}},{key:"loadFailed",value:function(i){this.srcFailLoadedList[i]=this.srcFailLoadedList[i]?this.srcFailLoadedList[i]+1:1}},{key:"isFailLoadedMax",value:function(i){return this.srcFailLoadedList[i]&&this.srcFailLoadedList[i]>this.options.maxTryTimesPerSrc}},{key:"isLoadedAllDone",value:function(){var i=this.previewerDom.querySelectorAll("img[data-src]"),o=this.srcLoadedList.length;return i.length<=0&&this.lastLoadAllNum=B&&V.top<=C,G=l.srcList.length=l.options.maxNumPerTime)return{v:!1};var ne,de=l.options.beforeLoadOneImgCallback(Q);if(de!==void 0&&!de)return l.loadFailed(ae),"continue";ae=(ne=Q.getAttribute("data-src"))!==null&&ne!==void 0?ne:ae,l.loadingImgNum+=1,l.srcList.push(ae),l.srcLoadingList.push(ae),l.tryLoadOneImg(ae,function(){var Ae,le;Q.setAttribute("src",ae),Q.removeAttribute("data-src"),l.srcLoadedList.push(ae),l.loadingImgNum-=1,G3(Ae=l.srcLoadingList).call(Ae,xl(le=l.srcLoadingList).call(le,ae),1),l.options.afterLoadOneImgCallback(Q),l.loadOneImg()},function(){var Ae,le;l.loadFailed(ae),l.loadingImgNum-=1,G3(Ae=l.srcLoadingList).call(Ae,xl(le=l.srcLoadingList).call(le,ae),1),l.options.failLoadOneImgCallback(Q),l.loadOneImg()})},P=0;P]*?)data-src="([^"]+)"([^>]*?)>/g,function(l,h,g,d){var b,w;return rt(b=rt(w="").replace(/ {2,}/g," ")})}},{key:"changeLoadedDataSrc2Src",value:function(i){var o=this;return i.replace(/]*?)data-src="([^"]+)"([^>]*?)>/g,function(l,h,g,d){var b,w;return o.isLoaded(g)?rt(b=rt(w="").replace(/ {2,}/g," "):l})}},{key:"$removeSrc",value:function(i){return" ".concat(i).replace(/^(.*?) src=".*?"(.*?$)/,"$1$2")}},{key:"changeSrc2DataSrc",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0&&arguments[1],h=this.options.loadingImgPath,g=this.options.noLoadImgNum,d=0;return i.replace(/]*?)src="([^"]+)"([^>]*?)>/g,function(b,w,x,C){var B,L,I,P,z;if(/data-src="/.test(b)||!/ src="/.test(b)||g<0)return b;if(l===!1){if(d"):rt(B=rt(L="")})}}]),r}(),bMe=function(){},I5n=function(){function r(i){qr(this,r),gi(this,"applyingDomChanges",!1),gi(this,"syncScrollLockTimer",0),gi(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(o){},failLoadOneImgCallback:function(o){},afterLoadOneImgCallback:function(o){},afterLoadAllImgCallback:function(){}}},BB(this.options,i),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId(),this.animation={}}return Yr(r,[{key:"init",value:function(i){this.disableScrollListener=!1,this.bindScroll(),this.editor=i,this.bindDrag(),this.$initPreviewerBubble(),this.lazyLoadImg=new L5n(this.options.lazyLoadImg,this),this.lazyLoadImg.doLazyLoad(),this.onMouseDown()}},{key:"$initPreviewerBubble",value:function(){this.previewerBubble=new S5n(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 i,o,l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],h="";if(h=this.isPreviewerHidden()?this.options.previewerCache.html:this.getDomContainer().innerHTML,h=this.lazyLoadImg.changeDataSrc2Src(h),!l||!this.$cherry.wrapperDom)return h;var g=this.$cherry.wrapperDom.getAttribute("data-inline-code-theme"),d=this.$cherry.wrapperDom.getAttribute("data-code-block-theme");return rt(i=rt(o='
    ')).call(i,h,"
    ")}},{key:"isPreviewerHidden",value:function(){return this.options.previewerDom.classList.contains("cherry-previewer--hidden")}},{key:"calculateRealLayout",value:function(i){var o=+(i/(this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width)).toFixed(3);o1-this.options.minBlockPercentage&&(o=+(1-this.options.minBlockPercentage).toFixed(3));var l=+(1-o).toFixed(3);return{editorPercentage:"".concat(100*o,"%"),previewerPercentage:"".concat(100*l,"%")}}},{key:"setRealLayout",value:function(i,o){var l=i,h=o;l&&h||(l="50%",h="50%"),this.editor.options.editorDom.style.width=l,this.options.previewerDom.style.width=h,this.syncVirtualLayoutFromReal()}},{key:"syncVirtualLayoutFromReal",value:function(){var i=this.editor.options.editorDom.getBoundingClientRect(),o=this.options.previewerDom.getBoundingClientRect(),l=i.height,h=this.editor.options.editorDom.offsetTop,g=i.left,d=i.width,b=o.left?o.left-g:0,w=o.width||0,x=this.options,C=x.editorMaskDom,B=x.previewerMaskDom,L=x.virtualDragLineDom;L.style.top="".concat(h,"px"),L.style.left="".concat(b,"px"),L.style.bottom="0px",C.style.height="".concat(l,"px"),C.style.top="".concat(h,"px"),C.style.left="0px",C.style.width="".concat(d,"px"),B.style.height="".concat(l,"px"),B.style.top="".concat(h,"px"),B.style.left="".concat(b,"px"),B.style.width="".concat(w,"px")}},{key:"calculateVirtualLayout",value:function(i,o){var l=this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width,h=i.toFixed(0),g=o-i;gl*(1-this.options.minBlockPercentage)&&(g=+(l*(1-this.options.minBlockPercentage)).toFixed(0));var d=l-g;return{startWidth:Sb(h,10),leftWidth:g,rightWidth:d}}},{key:"setVirtualLayout",value:function(i,o,l){var h=this.options,g=h.editorMaskDom,d=h.previewerMaskDom,b=h.virtualDragLineDom;g.style.left="".concat(0,"px"),g.style.width="".concat(o,"px"),b.style.left="".concat(0+o,"px"),d.style.left="".concat(0+o,"px"),d.style.width="".concat(l,"px")}},{key:"bindDrag",value:function(){var i,o=this,l=function(g){g&&g.stopPropagation?g.stopPropagation():g.cancelBubble=!0,g.preventDefault?g.preventDefault():window.event.returnValue=!1;var d=o.editor.options.editorDom.getBoundingClientRect().left,b=g.clientX,w=o.calculateVirtualLayout(d,b);return o.setVirtualLayout(w.startWidth,w.leftWidth,w.rightWidth),!1},h=function g(d){d&&d.stopPropagation?d.stopPropagation():d.cancelBubble=!0,d.preventDefault?d.preventDefault():window.event.returnValue=!1;var b=o.editor.options.editorDom.getBoundingClientRect().left,w=d.clientX,x=o.calculateRealLayout(w-b);return o.setRealLayout(x.editorPercentage,x.previewerPercentage),o.editor.options.editorDom.classList.remove("no-select"),o.options.previewerDom.classList.remove("no-select"),o.options.editorMaskDom.classList.remove("cherry-editor-mask--show"),o.options.previewerMaskDom.classList.remove("cherry-previewer-mask--show"),o.options.virtualDragLineDom.classList.remove("cherry-drag--show"),o.editor.editor.refresh(),yIe(document,"mousemove",l,!1),yIe(document,"mouseup",g,!1),!1};RI(this.options.virtualDragLineDom,"mousedown",function(g){g&&g.stopPropagation?g.stopPropagation():g.cancelBubble=!0,g.preventDefault?g.preventDefault():window.event.returnValue=!1,o.syncVirtualLayoutFromReal();var d=o.editor.options.editorDom.getBoundingClientRect().left,b=g.clientX,w=o.calculateVirtualLayout(d,b);return o.setVirtualLayout(w.startWidth,w.leftWidth,w.rightWidth),o.options.virtualDragLineDom.classList.contains("cherry-drag--show")||(o.options.virtualDragLineDom.classList.add("cherry-drag--show"),o.options.editorMaskDom.classList.add("cherry-editor-mask--show"),o.options.previewerMaskDom.classList.add("cherry-previewer-mask--show"),o.options.previewerDom.classList.add("no-select"),o.editor.options.editorDom.classList.add("no-select"),RI(document,"mousemove",l,!1),RI(document,"mouseup",h,!1)),!1},!1),RI(window,"resize",Xa(i=this.syncVirtualLayoutFromReal).call(i,this),!1),this.setRealLayout()}},{key:"bindScroll",value:function(){var i=this,o=this.getDomContainer();bMe=function(){if(i.applyingDomChanges)Y2.log(new Date,"sync scroll locked");else if(i.disableScrollListener)i.disableScrollListener=!1;else if(o.scrollTop<=0)i.editor.scrollToLineNum(0,0,1);else if(o.scrollTop+o.offsetHeight+10>o.scrollHeight)i.editor.scrollToLineNum(null);else{for(var l,h=o.getBoundingClientRect(),g={x:h.left+h.width/2,y:h.top+1},d=function(oe,G){if(typeof document.elementsFromPoint=="function")return document.elementsFromPoint(oe,G);if(typeof document.msElementsFromPoint=="function"){var ae=document.msElementsFromPoint(oe,G);return ae!==null?yl(ae):ae}var ne,de=[],Ae=[];do{var le=document.elementFromPoint(oe,G);ne!==le?(ne=le,de.push(ne),Ae.push(ne.style.pointerEvents),ne.style.pointerEvents="none"):ne=null}while(ne);return xa(de).call(de,function(ve,me){ve.style.pointerEvents=Ae[me]}),de}(g.x,g.y),b=0;b0)for(var d=0;d0&&(xa(i).call(i,function(g,d){var b;Zi(b=g.sign).call(b,0,12)===Zi(o).call(o,0,12)&&d>l&&(h={index:d>l?d:l,sign:o})}),h)}},{key:"$dealWithMyersDiffResult",value:function(i,o,l,h){var g=this;xa(i).call(i,function(d){switch(l[d.newIndex].dom&&(l[d.newIndex].dom.innerHTML=g.lazyLoadImg.changeLoadedDataSrc2Src(l[d.newIndex].dom.innerHTML)),d.type){case"delete":h.removeChild(o[d.oldIndex].dom);break;case"insert":o[d.oldIndex]?h.insertBefore(l[d.newIndex].dom,o[d.oldIndex].dom):h.appendChild(l[d.newIndex].dom);break;case"update":try{if(l[d.newIndex].dom.querySelector("svg"))throw new Error;g.$updateDom(l[d.newIndex].dom,o[d.oldIndex].dom)}catch{h.insertBefore(l[d.newIndex].dom,o[d.oldIndex].dom),h.removeChild(o[d.oldIndex].dom)}}})}},{key:"$dealUpdate",value:function(i,o,l){if(l.list!==o.list){if(l.list.length&&o.list.length){var h=new b3n(l.list,o.list,function(b,w){return b[w].sign}).doDiff();Y2.log(h),this.$dealWithMyersDiffResult(h,o.list,l.list,i)}else if(l.list.length&&!o.list.length){var g;Y2.log("add all"),xa(g=l.list).call(g,function(b){i.appendChild(b.dom)})}else if(!l.list.length&&o.list.length){var d;Y2.log("delete all"),xa(d=o.list).call(d,function(b){i.removeChild(b.dom)})}}}},{key:"refresh",value:function(i){this.getDomContainer().innerHTML=i}},{key:"update",value:function(i){var o=this,l=this.lazyLoadImg.changeSrc2DataSrc(i);if(this.isPreviewerHidden())this.doHtmlCache(l);else{window.clearTimeout(this.syncScrollLockTimer),this.applyingDomChanges=!0;var h=document.createElement("div"),g=this.getDomContainer();h.innerHTML=l;var d=this.$getSignData(h),b=this.$getSignData(g);try{this.$dealUpdate(g,b,d),this.afterUpdate()}finally{this.syncScrollLockTimer=Z0(function(){o.applyingDomChanges=!1},50)}}}},{key:"$dealEditAndPreviewOnly",value:function(){var i=this,o=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l={editorPercentage:"0%",previewerPercentage:"100%"};o&&(l={editorPercentage:"100%",previewerPercentage:"0%"});var h=this.editor.options.editorDom.getBoundingClientRect().width,g=this.calculateRealLayout(h);this.options.previewerCache.layout=g,this.setRealLayout(l.editorPercentage,l.previewerPercentage),this.options.virtualDragLineDom.classList.add("cherry-drag--hidden");var d=this.options.previewerDom,b=this.editor.options.editorDom;o?(d.classList.add("cherry-previewer--hidden"),b.classList.add("cherry-editor--full"),d.classList.remove("cherry-preview--full"),b.classList.remove("cherry-editor--hidden")):(d.classList.add("cherry-preview--full"),b.classList.add("cherry-editor--hidden"),d.classList.remove("cherry-previewer--hidden"),b.classList.remove("cherry-editor--full")),Z0(function(){return i.editor.editor.refresh()},0)}},{key:"previewOnly",value:function(){this.$dealEditAndPreviewOnly(!1),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),Is.emit(this.instanceId,Is.Events.previewerOpen),Is.emit(this.instanceId,Is.Events.editorClose)}},{key:"editOnly",value:function(){this.$dealEditAndPreviewOnly(!0),this.cleanHtmlCache(),Is.emit(this.instanceId,Is.Events.previewerClose),Is.emit(this.instanceId,Is.Events.editorOpen)}},{key:"recoverPreviewer",value:function(){var i=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 o=this.options.previewerCache.layout;this.setRealLayout(o.editorPercentage,o.previewerPercentage),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),Is.emit(this.instanceId,Is.Events.previewerOpen),Is.emit(this.instanceId,Is.Events.editorOpen),Z0(function(){return i.editor.editor.refresh()},0)}},{key:"doHtmlCache",value:function(i){this.options.previewerCache.html=i,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 i;ss(i=this.options.afterUpdateCallBack).call(i,function(o){return o()}),this.highlightLineNum===void 0&&(this.highlightLineNum=0),this.highlightLine(this.highlightLineNum)}},{key:"registerAfterUpdate",value:function(i){if(t4(i)){var o;this.options.afterUpdateCallBack=rt(o=this.options.afterUpdateCallBack).call(o,i)}else{if(!i)throw new Error("[markdown error]: Previewer registerAfterUpdate params are undefined");this.options.afterUpdateCallBack.push(i)}}},{key:"$getTopByLineNum",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=this.getDomContainer();if(i===null)return l.scrollHeight;for(var h=typeof i=="number"?i:Sb(i,10),g=l.querySelectorAll("[data-sign]"),d=0,b=l.offsetTop,w=0;w1&&(I=L+(x-Math.abs(h-(d+x))-1)/x*B+B/x*o),I}d+=x}return l.scrollHeight}},{key:"highlightLine",value:function(i){var o,l,h,g,d,b=this.getDomContainer();if(xa(o=b.querySelectorAll(".cherry-highlight-line")).call(o,function(L){L.classList.remove("cherry-highlight-line")}),((l=this.$cherry)===null||l===void 0||(h=l.status)===null||h===void 0?void 0:h.previewer)==="show"&&((g=this.$cherry)===null||g===void 0||(d=g.status)===null||d===void 0?void 0:d.editor)==="show"){for(var w=b.querySelectorAll("[data-sign]"),x=0,C=0;C=h.scrollHeight||b>Math.abs(d))return cancelAnimationFrame(o.animation.timer),void(o.animation.timer=0);o.disableScrollListener=!0,o.getDomContainer().scrollTo(null,g+d/Math.abs(d)*b),o.animation.timer=requestAnimationFrame(l)}))}},{key:"scrollToLineNum",value:function(i,o){var l=this.$getTopByLineNum(i,o);this.$scrollAnimation(l)}},{key:"onMouseDown",value:function(){var i=this;RI(this.getDomContainer(),"mousedown",function(){Z0(function(){Is.emit(i.instanceId,Is.Events.cleanAllSubMenus)})})}},{key:"export",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pdf",o=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:"")||this.getDomContainer().innerText.match(/^\s*([^\s][^\n]*)\n/)[1]||"cherry-export";i==="pdf"?function(l,h){var g=document.title;document.title=h,tLt(l,function(d,b){window.print(),b(),document.title=g})}(this.getDomContainer(),o):i==="screenShot"||i==="img"?d4n(this.getDomContainer(),o):i==="markdown"?function(l,h){var g=new Blob([l],{type:"text/markdown;charset=utf-8"}),d=document.createElement("a");d.style.display="none",d.href=Q$.createObjectURL(g),d.download="".concat(h,".md"),document.body.appendChild(d),d.click(),document.body.removeChild(d)}(this.$cherry.getMarkdown(),o):i==="html"&&function(l,h){var g=new Blob([l],{type:"text/markdown;charset=utf-8"}),d=document.createElement("a");d.style.display="none",d.href=Q$.createObjectURL(g),d.download="".concat(h,".html"),document.body.appendChild(d),d.click(),document.body.removeChild(d)}(this.getValue(),o)}}]),r}(),hQ=navigator.userAgent,M5n=navigator.platform,dkt=/MSIE \d/.test(hQ),Akt=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(hQ),jDe=/Edge\/(\d+)/.exec(hQ);(dkt||Akt||jDe)&&(dkt?document.documentMode:(jDe||Akt)[1]);var _Lt=/Opera\//.test(hQ),F5n=!jDe&&/AppleWebKit/.test(hQ)&&/Mobile\/\w+/.test(hQ),D5n=F5n||/Mac/.test(M5n),eZ=_Lt&&hQ.match(/Version\/(\d*\.\d*)/);function O5n(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"absolute",o=r.getBoundingClientRect();return i==="fixed"?o:i==="sidebar"?{left:Ms.getTargetParentByButton(r).offsetLeft-130+o.width,top:r.offsetTop+o.height/2,width:o.width,height:o.height}:{left:r.offsetLeft,top:r.offsetTop,width:o.width,height:o.height}}eZ&&(eZ=Number(eZ[1])),eZ&&eZ>=15&&(_Lt=!1);var Ms=function(){function r(i){qr(this,r),gi(this,"_onClick",void 0),this.$cherry=i,this.bubbleMenu=!1,this.subMenu=null,this.name="",this.editor=i.editor,this.locale=i.locale,this.dom=null,this.updateMarkdown=!0,this.subMenuConfig=[],this.noIcon=!1,this.cacheOnce=!1,this.positionModel="absolute",typeof this._onClick=="function"&&(Y2.warn("`MenuBase._onClick` is deprecated. Override `fire` instead"),this.fire=this._onClick)}return Yr(r,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"setName",value:function(i,o){this.name=i,this.iconName=o}},{key:"setCacheOnce",value:function(i){this.cacheOnce=i}},{key:"getAndCleanCacheOnce",value:function(){this.updateMarkdown=!0;var i=this.cacheOnce;return this.cacheOnce=!1,i}},{key:"hasCacheOnce",value:function(){return this.cacheOnce!==!1}},{key:"createBtn",value:function(){var i=arguments.length>0&&arguments[0]!==void 0&&arguments[0],o=Jl("span",i?"cherry-dropdown-item":"cherry-toolbar-button cherry-toolbar-".concat(this.iconName?this.iconName:this.name),{title:this.locale[this.name]||ey(this.name)});if(this.iconName&&!this.noIcon){var l=Jl("i","ch-icon ch-icon-".concat(this.iconName));o.appendChild(l)}return(i||this.noIcon)&&(o.innerHTML+=this.locale[this.name]||ey(this.name)),i||this.dom||(this.dom=o),o}},{key:"createSubBtnByConfig",value:function(i){var o=i.name,l=i.iconName,h=i.onclick,g=Jl("span","cherry-dropdown-item",{title:this.locale[o]||ey(o)});if(l){var d=Jl("i","ch-icon ch-icon-".concat(l));g.appendChild(d)}return g.innerHTML+=this.locale[o]||ey(o),g.addEventListener("click",h,!1),g}},{key:"fire",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(i==null||i.stopPropagation(),typeof this.onClick=="function"){var h=this.editor.editor.getSelections();this.isSelections=h.length>1;var g=ss(h).call(h,function(d,b,w){return o.onClick(d,l,i)||w[b]});!this.bubbleMenu&&this.updateMarkdown&&(this.editor.editor.replaceSelections(g,"around"),this.editor.editor.focus(),this.$afterClick())}}},{key:"$getSelectionRange",value:function(){var i=this.editor.editor.listSelections()[0],o=i.anchor,l=i.head;return o.line===l.line&&o.ch>l.ch||o.line>l.line?{begin:l,end:o}:{begin:o,end:l}}},{key:"registerAfterClickCb",value:function(i){this.afterClickCb=i}},{key:"$afterClick",value:function(){typeof this.afterClickCb!="function"||this.isSelections||(this.afterClickCb(),this.afterClickCb=null)}},{key:"setLessSelection",value:function(i,o){var l,h,g,d,b=this.editor.editor,w=this.$getSelectionRange(),x=w.begin,C=w.end,B={line:((l=i.match(/\n/g))===null||l===void 0?void 0:l.length)>0?x.line+i.match(/\n/g).length:x.line,ch:((h=i.match(/\n/g))===null||h===void 0?void 0:h.length)>0?i.replace(/^[\s\S]*?\n([^\n]*)$/,"$1").length:x.ch+i.length},L=((g=o.match(/\n/g))===null||g===void 0?void 0:g.length)>0?C.line-o.match(/\n/g).length:C.line,I={line:L,ch:((d=o.match(/\n/g))===null||d===void 0?void 0:d.length)>0?b.getLine(L).length:C.ch-o.length};b.setSelection(B,I)}},{key:"getMoreSelection",value:function(i,o,l){var h=this.editor.editor,g=this.$getSelectionRange(),d=g.begin,b=g.end,w=/\n/.test(i)?0:d.ch-i.length;w=w<0?0:w;var x,C=/\n/.test(i)?d.line-i.match(/\n/g).length:d.line,B={line:C=C<0?0:C,ch:w},L=b.line,I=b.ch;/\n/.test(o)?(L=b.line+o.match(/\n/g).length,I=(x=h.getLine(L))===null||x===void 0?void 0:x.length):I=h.getLine(b.line).length1&&arguments[1]!==void 0?arguments[1]:"word",l=arguments.length>2&&arguments[2]!==void 0&&arguments[2],h=this.editor.editor;if(this.isSelections||i&&!l)return i;if(o==="line"){var g=this.$getSelectionRange(),d=g.begin,b=g.end;return h.setSelection({line:d.line,ch:0},{line:b.line,ch:h.getLine(b.line).length}),h.getSelection()}if(o==="word"){var w=h.findWordAt(h.getCursor()),x=w.anchor,C=w.head;return h.setSelection(x,C),h.getSelection()}}},{key:"bindSubClick",value:function(i,o){return this.fire(null,i)}},{key:"onClick",value:function(i,o,l){return i}},{key:"shortcutKeys",get:function(){return[]}},{key:"getMenuPosition",value:function(){var i=r.getTargetParentByButton(this.dom),o=/cherry-sidebar/.test(i.className);return/cherry-bubble/.test(i.className)||/cherry-floatmenu/.test(i.className)?this.positionModel="fixed":this.positionModel=o?"sidebar":"absolute",O5n(this.dom,this.positionModel)}}],[{key:"getTargetParentByButton",value:function(i){var o=i.parentElement;return/toolbar-(left|right)/.test(o.className)&&(o=o.parentElement),o}}]),r}();function N5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Q5n=function(r){aa(o,Ms);var i=N5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("bold","bold"),h}return Yr(o,[{key:"$testIsBold",value:function(l){return/^\s*(\*\*|__)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=this.getSelection(l)||this.locale.bold;return this.isSelections||this.$testIsBold(g)||this.getMoreSelection("**","**",function(){var d=h.editor.editor.getSelection(),b=h.$testIsBold(d);return b&&(g=d),b}),this.$testIsBold(g)?g.replace(/(^)(\s*)(\*\*|__)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("**","**")}),g.replace(/(^)([^\n]+)($)/gm,"$1**$2**$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-b"]}}]),o}();function P5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var R5n=function(r){aa(o,Ms);var i=P5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("italic","italic"),h}return Yr(o,[{key:"$testIsItalic",value:function(l){return/^\s*(\*|_)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=this.getSelection(l)||this.locale.italic;return this.isSelections||this.$testIsItalic(g)||this.getMoreSelection("*","*",function(){var d=h.editor.editor.getSelection(),b=h.$testIsItalic(d);return b&&(g=d),b}),this.$testIsItalic(g)?g.replace(/(^)(\s*)(\*|_)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("*","*")}),g.replace(/(^)([^\n]+)($)/gm,"$1*$2*$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-i"]}}]),o}();function U5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var H5n=function(r){aa(o,Ms);var i=U5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("split","|"),h}return Yr(o,[{key:"createBtn",value:function(){var l=document.createElement("i");return l.className="cherry-toolbar-button cherry-toolbar-split",l}}]),o}();function Op(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"word",l=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(r.getSelections().length>1||i&&!l)return i;if(o==="line"){var h=r.listSelections()[0],g=h.anchor,d=h.head;return g.line===d.line&&g.ch>d.ch||g.line>d.line?r.setSelection({line:d.line,ch:0},{line:g.line,ch:r.getLine(g.line).length}):r.setSelection({line:g.line,ch:0},{line:d.line,ch:r.getLine(d.line).length}),r.getSelection()}if(o==="word"){var b=r.findWordAt(r.getCursor()),w=b.anchor,x=b.head;return r.setSelection(w,x),r.getSelection()}}function $5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var j5n=function(r){aa(o,Ms);var i=$5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("strikethrough","strike"),h}return Yr(o,[{key:"$testIsStrike",value:function(l){return/(~~)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h,g,d,b,w,x,C=this,B=Op(this.editor.editor,l)||this.locale.strikethrough,L=!((h=this.$cherry)===null||h===void 0||(g=h.options)===null||g===void 0||(d=g.engine)===null||d===void 0||(b=d.syntax)===null||b===void 0||(w=b.strikethrough)===null||w===void 0)&&w.needWhitespace?" ":"";return this.isSelections||this.$testIsStrike(B)||this.getMoreSelection("".concat(L,"~~"),"~~".concat(L),function(){var I=C.editor.editor.getSelection(),P=C.$testIsStrike(I);return P&&(B=I),P}),this.$testIsStrike(B)?l.replace(/[\s]*(~~)([\s\S]+)(\1)[\s]*/g,"$2"):(this.registerAfterClickCb(function(){C.setLessSelection("".concat(L,"~~"),"~~".concat(L))}),B.replace(/(^)[\s]*([\s\S]+?)[\s]*($)/g,rt(x="$1".concat(L,"~~$2~~")).call(x,L,"$3")))}},{key:"shortcutKeys",get:function(){return["Ctrl-d"]}}]),o}();function K5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var z5n=function(r){aa(o,Ms);var i=K5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("sub","sub"),h}return Yr(o,[{key:"$testIsSub",value:function(l){return/^\s*(\^\^)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Op(this.editor.editor,l)||this.locale.sub;return this.isSelections||this.$testIsSub(g)||this.getMoreSelection("^^","^^",function(){var d=h.editor.editor.getSelection(),b=h.$testIsSub(d);return b&&(g=d),b}),this.$testIsSub(g)?g.replace(/(^)(\s*)(\^\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("^^","^^")}),g.replace(/(^)([^\n]+)($)/gm,"$1^^$2^^$3"))}}]),o}();function X5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var G5n=function(r){aa(o,Ms);var i=X5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("sup","sup"),h}return Yr(o,[{key:"$testIsSup",value:function(l){return/^\s*(\^)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Op(this.editor.editor,l)||this.locale.sup;return this.isSelections||this.$testIsSup(g)||this.getMoreSelection("^","^",function(){var d=h.editor.editor.getSelection(),b=h.$testIsSup(d);return b&&(g=d),b}),this.$testIsSup(g)?l.replace(/(^)(\s*)(\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("^","^")}),g.replace(/(^)([^\n]+)($)/gm,"$1^$2^$3"))}}]),o}();function V5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var W5n=function(r){aa(o,Ms);var i=V5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("color","color"),h.bubbleColor=new q5n(l),h}return Yr(o,[{key:"$testIsColor",value:function(l,h){var g=/^\s*!!![^\s]+ [\s\S]+!!!\s*$/;return l==="text"?/^\s*!![^\s]+ [\s\S]+!!\s*$/.test(h)&&!g.test(h):g.test(h)}},{key:"onClick",value:function(l){var h=this,g=arguments.length>2?arguments[2]:void 0,d=Op(this.editor.editor,l)||this.locale.color;if(this.hasCacheOnce()){var b,w,x=this.getAndCleanCacheOnce(),C=x.type,B=x.color,L=C==="text"?"!!".concat(B," "):"!!!".concat(B," "),I=C==="text"?"!!":"!!!";if(this.isSelections||this.$testIsColor(C,d)||this.getMoreSelection(L,I,function(){var Ae=h.editor.editor.getSelection();return!!h.$testIsColor(C,Ae)&&(d=Ae,!0)}),this.$testIsColor(C,d)){var P,z=new RegExp(rt(P="(^\\s*".concat(I,")([^\\s]+) ([\\s\\S]+")).call(P,I,"\\s*$)"),"gm"),W=!0,Q=d.replace(z,function(Ae,le,ve,me){var ee,ye;return W=!!W&&ve===B,rt(ee=rt(ye="".concat(le)).call(ye,B," ")).call(ee,me)});return W?d.replace(z,"$3").replace(/!+\s*$/gm,""):(this.registerAfterClickCb(function(){h.setLessSelection(L,I)}),Q)}return this.registerAfterClickCb(function(){h.setLessSelection(L,I)}),rt(b=rt(w="".concat(L)).call(w,d)).call(b,I)}var V=0,oe=0;if(g.target.closest(".cherry-bubble")){var G=g.target.closest(".cherry-bubble"),ae=G.getBoundingClientRect();V=ae.top+G.offsetHeight,oe=g.target.closest(".cherry-toolbar-color").offsetLeft+ae.left}else{var ne=g.target.closest(".cherry-toolbar-color"),de=ne.getBoundingClientRect();V=de.top+ne.offsetHeight,oe=de.left}this.updateMarkdown=!1,this.bubbleColor.show({left:oe,top:V,$color:this})}}]),o}(),q5n=function(){function r(i){qr(this,r),gi(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=i.editor,this.init(),this.initAction()}return Yr(r,[{key:"setSelection",value:function(i){this.selection=i}},{key:"getFontColorDom",value:function(i){var o,l,h=ss(o=this.colorStack).call(o,function(g){var d,b;return rt(d=rt(b='')}).join("");return rt(l="

    ".concat(i,"

    ")).call(l,h)}},{key:"getDom",value:function(){var i=document.createElement("div");i.classList.add("cherry-color-wrap"),i.classList.add("cherry-dropdown");var o=document.createElement("div");o.classList.add("cherry-color-text"),o.innerHTML=this.getFontColorDom("文本颜色"),i.appendChild(o);var l=document.createElement("div");return l.classList.add("cherry-color-bg"),l.innerHTML=this.getFontColorDom("背景颜色"),i.appendChild(l),i}},{key:"init",value:function(){this.dom=this.getDom(),this.editor.options.wrapperDom.appendChild(this.dom)}},{key:"onClick",value:function(){var i,o;return this.type==="text"?/^!!#\S+ [\s\S]+?!!/.test(this.selection)?this.selection.replace(/^!!#\S+ ([\s\S]+?)!!/,"!!".concat(this.colorValue," $1!!")):rt(o="!!".concat(this.colorValue," ")).call(o,this.selection,"!!"):/^!!!#\S+ [\s\S]+?!!!/.test(this.selection)?this.selection.replace(/^!!!#\S+ ([\s\S]+?)!!!/,"!!!".concat(this.colorValue," $1!!!")):rt(i="!!!".concat(this.colorValue," ")).call(i,this.selection,"!!!")}},{key:"initAction",value:function(){var i=this;this.dom.addEventListener("click",function(o){var l=o.target;if(i.colorValue=l.getAttribute("data-val"),!i.colorValue)return!1;i.type=l.closest(".cherry-color-text")?"text":"bg",i.$color.setCacheOnce({type:i.type,color:i.colorValue}),i.$color.fire(null)},!1),this.dom.addEventListener("EditorHideToolbarSubMenu",function(){i.dom.style.display!=="none"&&(i.dom.style.display="none")})}},{key:"show",value:function(i){var o=i.left,l=i.top,h=i.$color;this.dom.style.left="".concat(o,"px"),this.dom.style.top="".concat(l,"px"),this.dom.style.display="block",this.$color=h}}]),r}();function Y5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var J5n=function(r){aa(o,Ms);var i=Y5n(o);function o(l){var h,g,d,b,w,x;return qr(this,o),(x=i.call(this,l)).setName("header","header"),x.subMenuConfig=[{iconName:"h1",name:"h1",onclick:Xa(h=x.bindSubClick).call(h,es(x),"1")},{iconName:"h2",name:"h2",onclick:Xa(g=x.bindSubClick).call(g,es(x),"2")},{iconName:"h3",name:"h3",onclick:Xa(d=x.bindSubClick).call(d,es(x),"3")},{iconName:"h4",name:"h4",onclick:Xa(b=x.bindSubClick).call(b,es(x),"4")},{iconName:"h5",name:"h5",onclick:Xa(w=x.bindSubClick).call(w,es(x),"5")}],x}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"$getFlagStr",value:function(l){var h=+(typeof l=="string"?l.replace(/[^0-9]+([0-9])/g,"$1"):l);return e1("#").call("#",h||1)}},{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=Op(this.editor.editor,l,"line",!0)||this.locale.header,b=this.$getFlagStr(g);if(this.isSelections||this.$testIsHead(d)||this.getMoreSelection(` -`,"",function(){var C=h.editor.editor.getSelection(),B=h.$testIsHead(C);return B&&(d=C),B}),this.$testIsHead(d)){var w=!0,x=d.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(C,B,L,I,P){var z,W,Q;return w=!!w&&L.length===b.length,rt(z=rt(W=rt(Q="".concat(B)).call(Q,b)).call(W,I)).call(z,P)});return w?d.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(b," "),"")}),x)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(b," "),"")}),d.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(b," $3$4"))}},{key:"shortcutKeys",get:function(){return["Ctrl-1","Ctrl-2","Ctrl-3","Ctrl-4","Ctrl-5","Ctrl-6"]}}]),o}(),Z5n=function(r,i){var o,l=document.createElement("td");return l.className=i||"table-item",xa(o=pu(r)).call(o,function(h){l.dataset[h]=r[h]}),l},SLt=function(){function r(i,o){var l=i.row,h=i.col;qr(this,r),this.init(l,h,o),this.initEventListeners(),this.afterClick=function(){}}return Yr(r,[{key:"init",value:function(i,o,l){var h=this,g=document.createElement("table"),d=[];g.className=["cherry-insert-table-menu","cherry-dropdown"].join(" ");for(var b=1;b<=i;b++){var w=document.createElement("tr");w.className="cherry-insert-table-menu-row",d[b-1]=[];for(var x=1;x<=o;x++){var C=Z5n({row:b,col:x},"cherry-insert-table-menu-item");w.appendChild(C),d[b-1][x-1]=C}g.appendChild(w)}return g.style.display="none",g.addEventListener("EditorHideToolbarSubMenu",function(){h.hide()}),this.dom=g,this.cell=d,this.maxRow=i,this.maxCol=o,this.activeRow=0,this.activeCol=0,this.dom}},{key:"initEventListeners",value:function(){var i,o;this.dom.addEventListener("mousemove",Xa(i=this.handleMouseMove).call(i,this),!1),this.dom.addEventListener("mouseup",Xa(o=this.handleMouseUp).call(o,this))}},{key:"setActiveCell",value:function(i,o){if(this.activeRow!==i||this.activeCol!==o){var l=Math.min(this.activeRow,i),h=Math.max(this.activeRow,i);if(l!==h)for(var g=h;g>l;g--)for(var d=1;d<=this.activeCol;d++)this.cell[g-1][d-1].classList.toggle("active");var b=Math.min(this.activeCol,o),w=Math.max(this.activeCol,o);if(b!==w)for(var x=w;x>b;x--)for(var C=1;C<=i;C++)this.cell[C-1][x-1].classList.toggle("active");this.activeRow=i,this.activeCol=o}}},{key:"handleMouseMove",value:function(i){var o=i.target;o!==this.dom&&(o.classList.contains("cherry-insert-table-menu-item")||(o=o.querySelector(".cherry-insert-table-menu-item")),o&&this.setActiveCell(o.dataset.row,o.dataset.col))}},{key:"handleMouseUp",value:function(i){var o=i.target;return o===this.dom||o.classList.contains("cherry-insert-table-menu-item")||(o=o.querySelector(".cherry-insert-table-menu-item")),this.afterClick(this.activeRow,this.activeCol),void this.hide()}},{key:"show",value:function(i){this.dom.style.display="block",this.afterClick=i}},{key:"hide",value:function(){this.dom.style.display="none";for(var i=0;i"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var t6n=function(r){aa(o,Ms);var i=e6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("insert","insert"),h.noIcon=!0,h.subBubbleTableMenu=new SLt({row:9,col:9}),l.editor.options.wrapperDom.appendChild(h.subBubbleTableMenu.dom),h}return Yr(o,[{key:"handleUpload",value:function(){var l=this,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"image",g=document.createElement("input");g.type="file",g.id="fileUpload",g.value="",g.style.display="none",g.addEventListener("change",function(d){var b=gu(d.target.files,1)[0];l.$cherry.options.fileUpload(b,function(w){if(typeof w=="string"&&w){var x,C="";if(h==="image")C=rt(x="![".concat(b.name,"](")).call(x,w,")");else if(h==="video"){var B;C=rt(B="!video[".concat(b.name,"](")).call(B,w,")")}else if(h==="audio"){var L;C=rt(L="!audio[".concat(b.name,"](")).call(L,w,")")}else{var I;C=rt(I="[".concat(b.name,"](")).call(I,w,")")}l.$cherry.$cherry.doc.replaceSelection(C)}})}),g.click()}},{key:"onClick",value:function(l){var h,g,d,b,w,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",C=arguments.length>2?arguments[2]:void 0;if(/normal-table/.test(x)){var B,L,I,P=x.match(/([0-9]+)[^0-9]([0-9]+)/),z=P?+P[1]:3,W=P?+P[2]:5,Q=e1(" Header |").call(" Header |",W),V=e1(" ------ |").call(" ------ |",W),oe=` -|`.concat(e1(" Sample |").call(" Sample |",W));return rt(B=rt(L=rt(I="".concat(l,` +`.concat(g[1])).call(i,(o=g[2])===null||o===void 0?void 0:o.replace("[x]","[ ] "))),this.editor.editor.replaceRange(d,{line:l.line,ch:this.editor.editor.getLine(l.line).length}),this.editor.editor.setCursor({line:l.line+1,ch:d.length+1}),this.editor.editor.focus(),this.remove()}}]),r}(),_5n=function(){function r(i){qr(this,r),this.previewer=i,this.editor=i.editor,this.previewerDom=this.previewer.getDom(),this.enablePreviewerBubble=this.previewer.options.enablePreviewerBubble,this.bubble={},this.bubbleHandler={},this.init()}return Yr(r,[{key:"init",value:function(){var i,o,l,h=this;this.oldWrapperDomOverflow=this.previewer.$cherry.wrapperDom.style.overflow,this.previewerDom.addEventListener("click",Xa(i=this.$onClick).call(i,this)),this.previewerDom.addEventListener("mouseover",Xa(o=this.$onMouseOver).call(o,this)),document.addEventListener("mousedown",function(g){var d;xa(d=m$(h.bubbleHandler)).call(d,function(b){return b.emit("mousedown",g)})}),document.addEventListener("mouseup",function(g){var d;xa(d=m$(h.bubbleHandler)).call(d,function(b){return b.emit("mouseup",g,function(){return h.$removeAllPreviewerBubbles("click")})})}),document.addEventListener("mousemove",function(g){var d;xa(d=m$(h.bubbleHandler)).call(d,function(b){return b.emit("mousemove",g)})}),document.addEventListener("keyup",function(g){var d;xa(d=m$(h.bubbleHandler)).call(d,function(b){return b.emit("keyup",g)})}),this.previewerDom.addEventListener("scroll",function(g){var d;xa(d=m$(h.bubbleHandler)).call(d,function(b){return b.emit("scroll",g)})},!0),Ms.on(this.previewer.instanceId,Ms.Events.previewerClose,function(){return h.$removeAllPreviewerBubbles()}),this.previewer.options.afterUpdateCallBack.push(function(){var g;xa(g=m$(h.bubbleHandler)).call(g,function(d){return d.emit("previewUpdate",function(){return h.$removeAllPreviewerBubbles()})})}),this.previewerDom.addEventListener("change",Xa(l=this.$onChange).call(l,this)),this.removeHoverBubble=w5n(function(){return h.$removeAllPreviewerBubbles("hover")},400)}},{key:"isCherryCodeBlock",value:function(i){if(i.nodeName==="DIV"&&i.dataset.type==="codeBlock")return i;var o=this.$getClosestNode(i,"DIV");return o!==!1&&o.dataset.type==="codeBlock"&&o}},{key:"isCherryTable",value:function(i){var o=this.$getClosestNode(i,"DIV");return o!==!1&&!(/simple-table/.test(o.className)||!/cherry-table-container/.test(o.className))&&o}},{key:"$isEnableBubbleAndEditorShow",value:function(){return!!this.enablePreviewerBubble&&this.previewer.$cherry.getStatus().editor!=="hide"}},{key:"$onMouseOver",value:function(i){var o=i.target;if(o instanceof Element&&o.tagName!==void 0){switch(o.tagName){case"TD":case"TH":if(!this.$isEnableBubbleAndEditorShow())return;var l=this.isCherryTable(i.target);return l===!1?void 0:(this.removeHoverBubble.cancel(),this.$removeAllPreviewerBubbles("hover"),void this.$showTablePreviewerBubbles("hover",i.target,l));case"PRE":case"CODE":case"SPAN":case"DIV":var h=this.isCherryCodeBlock(i.target);return h===!1?void 0:void this.showCodeBlockPreviewerBubbles("hover",h)}this.removeHoverBubble()}}},{key:"$onMouseOut",value:function(){this.enablePreviewerBubble&&this.previewer.$cherry.getStatus().editor}},{key:"$dealCheckboxClick",value:function(i){var o=this,l=i.target,h=yl(this.previewerDom.querySelectorAll(".ch-icon-square, .ch-icon-check"));this.checkboxIdx=xl(h).call(h,l);var g=zAe(this.editor.editor.getValue()).split(` +`),d=0,b=-1,w=-1;xa(g).call(g,function(x,C){var B=uo(x).call(x);(mj(B).call(B,"- [ ]")||mj(B).call(B,"- [x]"))&&(d===o.checkboxIdx&&(b=C,w=xl(x).call(x,"- [")+3),d+=1)}),b!==-1&&(this.editor.editor.setSelection({line:b,ch:w},{line:b,ch:w+1}),this.editor.editor.replaceSelection(this.editor.editor.getSelection()===" "?"x":" ","around"))}},{key:"$onClick",value:function(i){var o,l=this,h=i.target,g=this.previewer.$cherry.getStatus();if(g.editor!=="hide"&&h instanceof Element){if(h instanceof HTMLImageElement&&h.tagName==="IMG"&&h.getAttribute("data-type")==="drawio"){if(!this.beginChangeDrawioImg(h))return;var d=decodeURI(h.getAttribute("data-xml"));ELt(this.previewer.$cherry.options.drawioIframeUrl,d,function(w){var x,C=w.xmlData,B=w.base64;l.editor.editor.replaceSelection(rt(x="(".concat(B,"){data-type=drawio data-xml=")).call(x,encodeURI(C),"}"),"around")})}else if(this.enablePreviewerBubble&&(h.className!=="ch-icon ch-icon-square"&&h.className!=="ch-icon ch-icon-check"||this.$dealCheckboxClick(i),this.$removeAllPreviewerBubbles("click"),h.tagName!==void 0))switch(h.tagName){case"IMG":h instanceof HTMLImageElement&&this.$showImgPreviewerBubbles(h);break;case"TD":case"TH":if(h instanceof HTMLElement){var b=this.isCherryTable(h);if(b===!1)return;this.$showTablePreviewerBubbles("click",h,b)}break;case"svg":(h==null||(o=h.parentElement)===null||o===void 0?void 0:o.tagName)==="MJX-CONTAINER"&&this.$showFormulaPreviewerBubbles("click",h,{x:i.pageX,y:i.pageY});break;case"A":i.stopPropagation();break;case"P":h instanceof HTMLParagraphElement&&h.parentElement instanceof HTMLLIElement&&(h.children.length!==0&&(i.preventDefault(),i.stopPropagation()),h.setAttribute("contenteditable","true"),h.focus(),this.$showListPreviewerBubbles("click",h))}}else g.previewer==="show"&&this.previewer.$cherry.options.callback.onClickPreview&&this.previewer.$cherry.options.callback.onClickPreview(i)}},{key:"$onChange",value:function(i){}},{key:"$getClosestNode",value:function(i,o){return i.tagName===o?i:i.parentNode.tagName!=="BODY"&&this.$getClosestNode(i.parentNode,o)}},{key:"$removeAllPreviewerBubbles",value:function(){var i,o,l,h,g=this,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";xa(i=t1(o=Oee(this.bubble)).call(o,function(b){var w=gu(b,1)[0];return!d||d===w})).call(i,function(b){var w=gu(b,2),x=w[0];w[1].remove(),delete g.bubble[x]}),xa(l=t1(h=Oee(this.bubbleHandler)).call(h,function(b){var w=gu(b,1)[0];return!d||d===w})).call(l,function(b){var w=gu(b,2),x=w[0];w[1].emit("remove"),delete g.bubbleHandler[x]}),pu(this.bubbleHandler).length<=0&&(this.previewer.$cherry.wrapperDom.style.overflow=this.oldWrapperDomOverflow||"")}},{key:"$showTablePreviewerBubbles",value:function(i,o,l){if(this.bubbleHandler[i]&&this.bubbleHandler[i].tableElement===l)this.bubbleHandler[i].showBubble();else{this.$createPreviewerBubbles(i,i==="click"?"table-content-handler":"table-hover-handler");var h=new T4n(i,o,this.bubble[i],this.previewerDom,this.editor.editor,l);h.showBubble(),this.bubbleHandler[i]=h}}},{key:"showCodeBlockPreviewerBubbles",value:function(i,o){if(this.bubbleHandler[i]&&this.bubbleHandler[i].target===o)this.removeHoverBubble.cancel();else{this.$removeAllPreviewerBubbles("hover"),this.$createPreviewerBubbles(i,"codeBlock-".concat(i,"-handler"));var l=new c5n(i,o,this.bubble[i],this.previewerDom,this.editor.editor,this);l.showBubble(this.$isEnableBubbleAndEditorShow()),this.bubbleHandler[i]=l}}},{key:"$showImgPreviewerBubbles",value:function(i){var o;this.$createPreviewerBubbles();var l=yl(this.previewerDom.querySelectorAll("img"));if(this.totalImgs=l.length,this.imgIndex=xl(l).call(l,i),!this.beginChangeImgValue(i))return{emit:function(){}};JMe.showBubble(i,this.bubble.click,this.previewerDom),JMe.bindChange(Xa(o=this.changeImgValue).call(o,this)),this.bubbleHandler.click=JMe}},{key:"$showFormulaPreviewerBubbles",value:function(i,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.$createPreviewerBubbles(i,"formula-hover-handler");var h=new y5n(i,o,this.bubble[i],this.previewerDom,this.editor);h.showBubble((l==null?void 0:l.x)||0,(l==null?void 0:l.y)||0),this.bubbleHandler[i]=h}},{key:"$showListPreviewerBubbles",value:function(i,o){this.$createPreviewerBubbles(i,"list-hover-handler");var l=new B5n(i,o,this.bubble[i],this.previewerDom,this.editor);this.bubbleHandler[i]=l}},{key:"beginChangeDrawioImg",value:function(i){var o,l=yl(this.previewerDom.querySelectorAll('img[data-type="drawio"]')),h=l.length,g=xl(l).call(l,i),d=zAe(this.editor.editor.getValue()),b=d.match(nxt),w=b[g]?uo(o=b[g].replace(/^!\[.*?\]\((.*?)\)/,"$1")).call(o):"";if(b.length===h||i.getAttribute("src")===w)for(var x=d.split(nxt),C=0,B=0,L=0,M=0,P=0;P0&&arguments[0]!==void 0?arguments[0]:"click",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"img-size-handler";this.bubble[i]||(this.bubble[i]=document.createElement("div"),this.bubble[i].className="cherry-previewer-".concat(o),this.previewerDom.after(this.bubble[i]),i==="hover"&&(this.bubble[i].addEventListener("mouseover",this.removeHoverBubble.cancel),this.bubble[i].addEventListener("mouseout",this.removeHoverBubble)),this.previewer.$cherry.wrapperDom.style.overflow="hidden")}},{key:"$showBorderBubbles",value:function(){}},{key:"$showBtnBubbles",value:function(){}}]),r}(),TLt=Gc.setInterval,S5n=function(){function r(i,o){qr(this,r),gi(this,"options",{loadingImgPath:"",maxNumPerTime:2,noLoadImgNum:5,autoLoadImgNum:5,maxTryTimesPerSrc:2,beforeLoadOneImgCallback:function(l){},failLoadOneImgCallback:function(l){},afterLoadOneImgCallback:function(l){},afterLoadAllImgCallback:function(){}}),TB(this.options,i),this.previewer=o,this.srcLoadedList=[],this.srcFailLoadedList={},this.srcLoadingList=[],this.srcList=[],this.loadingImgNum=0,this.lastLoadAllNum=0,this.previewerDom=this.previewer.getDomContainer()}return Yr(r,[{key:"isLoaded",value:function(i){var o;return uge(o=this.srcLoadedList).call(o,i)}},{key:"isLoading",value:function(i){var o;return uge(o=this.srcLoadingList).call(o,i)}},{key:"loadFailed",value:function(i){this.srcFailLoadedList[i]=this.srcFailLoadedList[i]?this.srcFailLoadedList[i]+1:1}},{key:"isFailLoadedMax",value:function(i){return this.srcFailLoadedList[i]&&this.srcFailLoadedList[i]>this.options.maxTryTimesPerSrc}},{key:"isLoadedAllDone",value:function(){var i=this.previewerDom.querySelectorAll("img[data-src]"),o=this.srcLoadedList.length;return i.length<=0&&this.lastLoadAllNum=B&&V.top<=C,G=l.srcList.length=l.options.maxNumPerTime)return{v:!1};var ne,de=l.options.beforeLoadOneImgCallback(Q);if(de!==void 0&&!de)return l.loadFailed(ae),"continue";ae=(ne=Q.getAttribute("data-src"))!==null&&ne!==void 0?ne:ae,l.loadingImgNum+=1,l.srcList.push(ae),l.srcLoadingList.push(ae),l.tryLoadOneImg(ae,function(){var Ae,le;Q.setAttribute("src",ae),Q.removeAttribute("data-src"),l.srcLoadedList.push(ae),l.loadingImgNum-=1,X3(Ae=l.srcLoadingList).call(Ae,xl(le=l.srcLoadingList).call(le,ae),1),l.options.afterLoadOneImgCallback(Q),l.loadOneImg()},function(){var Ae,le;l.loadFailed(ae),l.loadingImgNum-=1,X3(Ae=l.srcLoadingList).call(Ae,xl(le=l.srcLoadingList).call(le,ae),1),l.options.failLoadOneImgCallback(Q),l.loadOneImg()})},P=0;P]*?)data-src="([^"]+)"([^>]*?)>/g,function(l,h,g,d){var b,w;return rt(b=rt(w="").replace(/ {2,}/g," ")})}},{key:"changeLoadedDataSrc2Src",value:function(i){var o=this;return i.replace(/]*?)data-src="([^"]+)"([^>]*?)>/g,function(l,h,g,d){var b,w;return o.isLoaded(g)?rt(b=rt(w="").replace(/ {2,}/g," "):l})}},{key:"$removeSrc",value:function(i){return" ".concat(i).replace(/^(.*?) src=".*?"(.*?$)/,"$1$2")}},{key:"changeSrc2DataSrc",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0&&arguments[1],h=this.options.loadingImgPath,g=this.options.noLoadImgNum,d=0;return i.replace(/]*?)src="([^"]+)"([^>]*?)>/g,function(b,w,x,C){var B,L,M,P,z;if(/data-src="/.test(b)||!/ src="/.test(b)||g<0)return b;if(l===!1){if(d"):rt(B=rt(L="")})}}]),r}(),mIe=function(){},L5n=function(){function r(i){qr(this,r),gi(this,"applyingDomChanges",!1),gi(this,"syncScrollLockTimer",0),gi(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(o){},failLoadOneImgCallback:function(o){},afterLoadOneImgCallback:function(o){},afterLoadAllImgCallback:function(){}}},TB(this.options,i),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId(),this.animation={}}return Yr(r,[{key:"init",value:function(i){this.disableScrollListener=!1,this.bindScroll(),this.editor=i,this.bindDrag(),this.$initPreviewerBubble(),this.lazyLoadImg=new S5n(this.options.lazyLoadImg,this),this.lazyLoadImg.doLazyLoad(),this.onMouseDown()}},{key:"$initPreviewerBubble",value:function(){this.previewerBubble=new _5n(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 i,o,l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],h="";if(h=this.isPreviewerHidden()?this.options.previewerCache.html:this.getDomContainer().innerHTML,h=this.lazyLoadImg.changeDataSrc2Src(h),!l||!this.$cherry.wrapperDom)return h;var g=this.$cherry.wrapperDom.getAttribute("data-inline-code-theme"),d=this.$cherry.wrapperDom.getAttribute("data-code-block-theme");return rt(i=rt(o='
    ')).call(i,h,"
    ")}},{key:"isPreviewerHidden",value:function(){return this.options.previewerDom.classList.contains("cherry-previewer--hidden")}},{key:"calculateRealLayout",value:function(i){var o=+(i/(this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width)).toFixed(3);o1-this.options.minBlockPercentage&&(o=+(1-this.options.minBlockPercentage).toFixed(3));var l=+(1-o).toFixed(3);return{editorPercentage:"".concat(100*o,"%"),previewerPercentage:"".concat(100*l,"%")}}},{key:"setRealLayout",value:function(i,o){var l=i,h=o;l&&h||(l="50%",h="50%"),this.editor.options.editorDom.style.width=l,this.options.previewerDom.style.width=h,this.syncVirtualLayoutFromReal()}},{key:"syncVirtualLayoutFromReal",value:function(){var i=this.editor.options.editorDom.getBoundingClientRect(),o=this.options.previewerDom.getBoundingClientRect(),l=i.height,h=this.editor.options.editorDom.offsetTop,g=i.left,d=i.width,b=o.left?o.left-g:0,w=o.width||0,x=this.options,C=x.editorMaskDom,B=x.previewerMaskDom,L=x.virtualDragLineDom;L.style.top="".concat(h,"px"),L.style.left="".concat(b,"px"),L.style.bottom="0px",C.style.height="".concat(l,"px"),C.style.top="".concat(h,"px"),C.style.left="0px",C.style.width="".concat(d,"px"),B.style.height="".concat(l,"px"),B.style.top="".concat(h,"px"),B.style.left="".concat(b,"px"),B.style.width="".concat(w,"px")}},{key:"calculateVirtualLayout",value:function(i,o){var l=this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width,h=i.toFixed(0),g=o-i;gl*(1-this.options.minBlockPercentage)&&(g=+(l*(1-this.options.minBlockPercentage)).toFixed(0));var d=l-g;return{startWidth:_b(h,10),leftWidth:g,rightWidth:d}}},{key:"setVirtualLayout",value:function(i,o,l){var h=this.options,g=h.editorMaskDom,d=h.previewerMaskDom,b=h.virtualDragLineDom;g.style.left="".concat(0,"px"),g.style.width="".concat(o,"px"),b.style.left="".concat(0+o,"px"),d.style.left="".concat(0+o,"px"),d.style.width="".concat(l,"px")}},{key:"bindDrag",value:function(){var i,o=this,l=function(g){g&&g.stopPropagation?g.stopPropagation():g.cancelBubble=!0,g.preventDefault?g.preventDefault():window.event.returnValue=!1;var d=o.editor.options.editorDom.getBoundingClientRect().left,b=g.clientX,w=o.calculateVirtualLayout(d,b);return o.setVirtualLayout(w.startWidth,w.leftWidth,w.rightWidth),!1},h=function g(d){d&&d.stopPropagation?d.stopPropagation():d.cancelBubble=!0,d.preventDefault?d.preventDefault():window.event.returnValue=!1;var b=o.editor.options.editorDom.getBoundingClientRect().left,w=d.clientX,x=o.calculateRealLayout(w-b);return o.setRealLayout(x.editorPercentage,x.previewerPercentage),o.editor.options.editorDom.classList.remove("no-select"),o.options.previewerDom.classList.remove("no-select"),o.options.editorMaskDom.classList.remove("cherry-editor-mask--show"),o.options.previewerMaskDom.classList.remove("cherry-previewer-mask--show"),o.options.virtualDragLineDom.classList.remove("cherry-drag--show"),o.editor.editor.refresh(),vMe(document,"mousemove",l,!1),vMe(document,"mouseup",g,!1),!1};PM(this.options.virtualDragLineDom,"mousedown",function(g){g&&g.stopPropagation?g.stopPropagation():g.cancelBubble=!0,g.preventDefault?g.preventDefault():window.event.returnValue=!1,o.syncVirtualLayoutFromReal();var d=o.editor.options.editorDom.getBoundingClientRect().left,b=g.clientX,w=o.calculateVirtualLayout(d,b);return o.setVirtualLayout(w.startWidth,w.leftWidth,w.rightWidth),o.options.virtualDragLineDom.classList.contains("cherry-drag--show")||(o.options.virtualDragLineDom.classList.add("cherry-drag--show"),o.options.editorMaskDom.classList.add("cherry-editor-mask--show"),o.options.previewerMaskDom.classList.add("cherry-previewer-mask--show"),o.options.previewerDom.classList.add("no-select"),o.editor.options.editorDom.classList.add("no-select"),PM(document,"mousemove",l,!1),PM(document,"mouseup",h,!1)),!1},!1),PM(window,"resize",Xa(i=this.syncVirtualLayoutFromReal).call(i,this),!1),this.setRealLayout()}},{key:"bindScroll",value:function(){var i=this,o=this.getDomContainer();mIe=function(){if(i.applyingDomChanges)q2.log(new Date,"sync scroll locked");else if(i.disableScrollListener)i.disableScrollListener=!1;else if(o.scrollTop<=0)i.editor.scrollToLineNum(0,0,1);else if(o.scrollTop+o.offsetHeight+10>o.scrollHeight)i.editor.scrollToLineNum(null);else{for(var l,h=o.getBoundingClientRect(),g={x:h.left+h.width/2,y:h.top+1},d=function(oe,G){if(typeof document.elementsFromPoint=="function")return document.elementsFromPoint(oe,G);if(typeof document.msElementsFromPoint=="function"){var ae=document.msElementsFromPoint(oe,G);return ae!==null?yl(ae):ae}var ne,de=[],Ae=[];do{var le=document.elementFromPoint(oe,G);ne!==le?(ne=le,de.push(ne),Ae.push(ne.style.pointerEvents),ne.style.pointerEvents="none"):ne=null}while(ne);return xa(de).call(de,function(ve,me){ve.style.pointerEvents=Ae[me]}),de}(g.x,g.y),b=0;b0)for(var d=0;d0&&(xa(i).call(i,function(g,d){var b;Zi(b=g.sign).call(b,0,12)===Zi(o).call(o,0,12)&&d>l&&(h={index:d>l?d:l,sign:o})}),h)}},{key:"$dealWithMyersDiffResult",value:function(i,o,l,h){var g=this;xa(i).call(i,function(d){switch(l[d.newIndex].dom&&(l[d.newIndex].dom.innerHTML=g.lazyLoadImg.changeLoadedDataSrc2Src(l[d.newIndex].dom.innerHTML)),d.type){case"delete":h.removeChild(o[d.oldIndex].dom);break;case"insert":o[d.oldIndex]?h.insertBefore(l[d.newIndex].dom,o[d.oldIndex].dom):h.appendChild(l[d.newIndex].dom);break;case"update":try{if(l[d.newIndex].dom.querySelector("svg"))throw new Error;g.$updateDom(l[d.newIndex].dom,o[d.oldIndex].dom)}catch{h.insertBefore(l[d.newIndex].dom,o[d.oldIndex].dom),h.removeChild(o[d.oldIndex].dom)}}})}},{key:"$dealUpdate",value:function(i,o,l){if(l.list!==o.list){if(l.list.length&&o.list.length){var h=new m3n(l.list,o.list,function(b,w){return b[w].sign}).doDiff();q2.log(h),this.$dealWithMyersDiffResult(h,o.list,l.list,i)}else if(l.list.length&&!o.list.length){var g;q2.log("add all"),xa(g=l.list).call(g,function(b){i.appendChild(b.dom)})}else if(!l.list.length&&o.list.length){var d;q2.log("delete all"),xa(d=o.list).call(d,function(b){i.removeChild(b.dom)})}}}},{key:"refresh",value:function(i){this.getDomContainer().innerHTML=i}},{key:"update",value:function(i){var o=this,l=this.lazyLoadImg.changeSrc2DataSrc(i);if(this.isPreviewerHidden())this.doHtmlCache(l);else{window.clearTimeout(this.syncScrollLockTimer),this.applyingDomChanges=!0;var h=document.createElement("div"),g=this.getDomContainer();h.innerHTML=l;var d=this.$getSignData(h),b=this.$getSignData(g);try{this.$dealUpdate(g,b,d),this.afterUpdate()}finally{this.syncScrollLockTimer=Z0(function(){o.applyingDomChanges=!1},50)}}}},{key:"$dealEditAndPreviewOnly",value:function(){var i=this,o=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l={editorPercentage:"0%",previewerPercentage:"100%"};o&&(l={editorPercentage:"100%",previewerPercentage:"0%"});var h=this.editor.options.editorDom.getBoundingClientRect().width,g=this.calculateRealLayout(h);this.options.previewerCache.layout=g,this.setRealLayout(l.editorPercentage,l.previewerPercentage),this.options.virtualDragLineDom.classList.add("cherry-drag--hidden");var d=this.options.previewerDom,b=this.editor.options.editorDom;o?(d.classList.add("cherry-previewer--hidden"),b.classList.add("cherry-editor--full"),d.classList.remove("cherry-preview--full"),b.classList.remove("cherry-editor--hidden")):(d.classList.add("cherry-preview--full"),b.classList.add("cherry-editor--hidden"),d.classList.remove("cherry-previewer--hidden"),b.classList.remove("cherry-editor--full")),Z0(function(){return i.editor.editor.refresh()},0)}},{key:"previewOnly",value:function(){this.$dealEditAndPreviewOnly(!1),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),Ms.emit(this.instanceId,Ms.Events.previewerOpen),Ms.emit(this.instanceId,Ms.Events.editorClose)}},{key:"editOnly",value:function(){this.$dealEditAndPreviewOnly(!0),this.cleanHtmlCache(),Ms.emit(this.instanceId,Ms.Events.previewerClose),Ms.emit(this.instanceId,Ms.Events.editorOpen)}},{key:"recoverPreviewer",value:function(){var i=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 o=this.options.previewerCache.layout;this.setRealLayout(o.editorPercentage,o.previewerPercentage),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),Ms.emit(this.instanceId,Ms.Events.previewerOpen),Ms.emit(this.instanceId,Ms.Events.editorOpen),Z0(function(){return i.editor.editor.refresh()},0)}},{key:"doHtmlCache",value:function(i){this.options.previewerCache.html=i,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 i;ss(i=this.options.afterUpdateCallBack).call(i,function(o){return o()}),this.highlightLineNum===void 0&&(this.highlightLineNum=0),this.highlightLine(this.highlightLineNum)}},{key:"registerAfterUpdate",value:function(i){if(e4(i)){var o;this.options.afterUpdateCallBack=rt(o=this.options.afterUpdateCallBack).call(o,i)}else{if(!i)throw new Error("[markdown error]: Previewer registerAfterUpdate params are undefined");this.options.afterUpdateCallBack.push(i)}}},{key:"$getTopByLineNum",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=this.getDomContainer();if(i===null)return l.scrollHeight;for(var h=typeof i=="number"?i:_b(i,10),g=l.querySelectorAll("[data-sign]"),d=0,b=l.offsetTop,w=0;w1&&(M=L+(x-Math.abs(h-(d+x))-1)/x*B+B/x*o),M}d+=x}return l.scrollHeight}},{key:"highlightLine",value:function(i){var o,l,h,g,d,b=this.getDomContainer();if(xa(o=b.querySelectorAll(".cherry-highlight-line")).call(o,function(L){L.classList.remove("cherry-highlight-line")}),((l=this.$cherry)===null||l===void 0||(h=l.status)===null||h===void 0?void 0:h.previewer)==="show"&&((g=this.$cherry)===null||g===void 0||(d=g.status)===null||d===void 0?void 0:d.editor)==="show"){for(var w=b.querySelectorAll("[data-sign]"),x=0,C=0;C=h.scrollHeight||b>Math.abs(d))return cancelAnimationFrame(o.animation.timer),void(o.animation.timer=0);o.disableScrollListener=!0,o.getDomContainer().scrollTo(null,g+d/Math.abs(d)*b),o.animation.timer=requestAnimationFrame(l)}))}},{key:"scrollToLineNum",value:function(i,o){var l=this.$getTopByLineNum(i,o);this.$scrollAnimation(l)}},{key:"onMouseDown",value:function(){var i=this;PM(this.getDomContainer(),"mousedown",function(){Z0(function(){Ms.emit(i.instanceId,Ms.Events.cleanAllSubMenus)})})}},{key:"export",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pdf",o=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:"")||this.getDomContainer().innerText.match(/^\s*([^\s][^\n]*)\n/)[1]||"cherry-export";i==="pdf"?function(l,h){var g=document.title;document.title=h,eLt(l,function(d,b){window.print(),b(),document.title=g})}(this.getDomContainer(),o):i==="screenShot"||i==="img"?f4n(this.getDomContainer(),o):i==="markdown"?function(l,h){var g=new Blob([l],{type:"text/markdown;charset=utf-8"}),d=document.createElement("a");d.style.display="none",d.href=N$.createObjectURL(g),d.download="".concat(h,".md"),document.body.appendChild(d),d.click(),document.body.removeChild(d)}(this.$cherry.getMarkdown(),o):i==="html"&&function(l,h){var g=new Blob([l],{type:"text/markdown;charset=utf-8"}),d=document.createElement("a");d.style.display="none",d.href=N$.createObjectURL(g),d.download="".concat(h,".html"),document.body.appendChild(d),d.click(),document.body.removeChild(d)}(this.getValue(),o)}}]),r}(),uQ=navigator.userAgent,M5n=navigator.platform,f7t=/MSIE \d/.test(uQ),d7t=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(uQ),$De=/Edge\/(\d+)/.exec(uQ);(f7t||d7t||$De)&&(f7t?document.documentMode:($De||d7t)[1]);var BLt=/Opera\//.test(uQ),I5n=!$De&&/AppleWebKit/.test(uQ)&&/Mobile\/\w+/.test(uQ),F5n=I5n||/Mac/.test(M5n),ZJ=BLt&&uQ.match(/Version\/(\d*\.\d*)/);function D5n(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"absolute",o=r.getBoundingClientRect();return i==="fixed"?o:i==="sidebar"?{left:Is.getTargetParentByButton(r).offsetLeft-130+o.width,top:r.offsetTop+o.height/2,width:o.width,height:o.height}:{left:r.offsetLeft,top:r.offsetTop,width:o.width,height:o.height}}ZJ&&(ZJ=Number(ZJ[1])),ZJ&&ZJ>=15&&(BLt=!1);var Is=function(){function r(i){qr(this,r),gi(this,"_onClick",void 0),this.$cherry=i,this.bubbleMenu=!1,this.subMenu=null,this.name="",this.editor=i.editor,this.locale=i.locale,this.dom=null,this.updateMarkdown=!0,this.subMenuConfig=[],this.noIcon=!1,this.cacheOnce=!1,this.positionModel="absolute",typeof this._onClick=="function"&&(q2.warn("`MenuBase._onClick` is deprecated. Override `fire` instead"),this.fire=this._onClick)}return Yr(r,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"setName",value:function(i,o){this.name=i,this.iconName=o}},{key:"setCacheOnce",value:function(i){this.cacheOnce=i}},{key:"getAndCleanCacheOnce",value:function(){this.updateMarkdown=!0;var i=this.cacheOnce;return this.cacheOnce=!1,i}},{key:"hasCacheOnce",value:function(){return this.cacheOnce!==!1}},{key:"createBtn",value:function(){var i=arguments.length>0&&arguments[0]!==void 0&&arguments[0],o=Jl("span",i?"cherry-dropdown-item":"cherry-toolbar-button cherry-toolbar-".concat(this.iconName?this.iconName:this.name),{title:this.locale[this.name]||Zv(this.name)});if(this.iconName&&!this.noIcon){var l=Jl("i","ch-icon ch-icon-".concat(this.iconName));o.appendChild(l)}return(i||this.noIcon)&&(o.innerHTML+=this.locale[this.name]||Zv(this.name)),i||this.dom||(this.dom=o),o}},{key:"createSubBtnByConfig",value:function(i){var o=i.name,l=i.iconName,h=i.onclick,g=Jl("span","cherry-dropdown-item",{title:this.locale[o]||Zv(o)});if(l){var d=Jl("i","ch-icon ch-icon-".concat(l));g.appendChild(d)}return g.innerHTML+=this.locale[o]||Zv(o),g.addEventListener("click",h,!1),g}},{key:"fire",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(i==null||i.stopPropagation(),typeof this.onClick=="function"){var h=this.editor.editor.getSelections();this.isSelections=h.length>1;var g=ss(h).call(h,function(d,b,w){return o.onClick(d,l,i)||w[b]});!this.bubbleMenu&&this.updateMarkdown&&(this.editor.editor.replaceSelections(g,"around"),this.editor.editor.focus(),this.$afterClick())}}},{key:"$getSelectionRange",value:function(){var i=this.editor.editor.listSelections()[0],o=i.anchor,l=i.head;return o.line===l.line&&o.ch>l.ch||o.line>l.line?{begin:l,end:o}:{begin:o,end:l}}},{key:"registerAfterClickCb",value:function(i){this.afterClickCb=i}},{key:"$afterClick",value:function(){typeof this.afterClickCb!="function"||this.isSelections||(this.afterClickCb(),this.afterClickCb=null)}},{key:"setLessSelection",value:function(i,o){var l,h,g,d,b=this.editor.editor,w=this.$getSelectionRange(),x=w.begin,C=w.end,B={line:((l=i.match(/\n/g))===null||l===void 0?void 0:l.length)>0?x.line+i.match(/\n/g).length:x.line,ch:((h=i.match(/\n/g))===null||h===void 0?void 0:h.length)>0?i.replace(/^[\s\S]*?\n([^\n]*)$/,"$1").length:x.ch+i.length},L=((g=o.match(/\n/g))===null||g===void 0?void 0:g.length)>0?C.line-o.match(/\n/g).length:C.line,M={line:L,ch:((d=o.match(/\n/g))===null||d===void 0?void 0:d.length)>0?b.getLine(L).length:C.ch-o.length};b.setSelection(B,M)}},{key:"getMoreSelection",value:function(i,o,l){var h=this.editor.editor,g=this.$getSelectionRange(),d=g.begin,b=g.end,w=/\n/.test(i)?0:d.ch-i.length;w=w<0?0:w;var x,C=/\n/.test(i)?d.line-i.match(/\n/g).length:d.line,B={line:C=C<0?0:C,ch:w},L=b.line,M=b.ch;/\n/.test(o)?(L=b.line+o.match(/\n/g).length,M=(x=h.getLine(L))===null||x===void 0?void 0:x.length):M=h.getLine(b.line).length1&&arguments[1]!==void 0?arguments[1]:"word",l=arguments.length>2&&arguments[2]!==void 0&&arguments[2],h=this.editor.editor;if(this.isSelections||i&&!l)return i;if(o==="line"){var g=this.$getSelectionRange(),d=g.begin,b=g.end;return h.setSelection({line:d.line,ch:0},{line:b.line,ch:h.getLine(b.line).length}),h.getSelection()}if(o==="word"){var w=h.findWordAt(h.getCursor()),x=w.anchor,C=w.head;return h.setSelection(x,C),h.getSelection()}}},{key:"bindSubClick",value:function(i,o){return this.fire(null,i)}},{key:"onClick",value:function(i,o,l){return i}},{key:"shortcutKeys",get:function(){return[]}},{key:"getMenuPosition",value:function(){var i=r.getTargetParentByButton(this.dom),o=/cherry-sidebar/.test(i.className);return/cherry-bubble/.test(i.className)||/cherry-floatmenu/.test(i.className)?this.positionModel="fixed":this.positionModel=o?"sidebar":"absolute",D5n(this.dom,this.positionModel)}}],[{key:"getTargetParentByButton",value:function(i){var o=i.parentElement;return/toolbar-(left|right)/.test(o.className)&&(o=o.parentElement),o}}]),r}();function O5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var N5n=function(r){aa(o,Is);var i=O5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("bold","bold"),h}return Yr(o,[{key:"$testIsBold",value:function(l){return/^\s*(\*\*|__)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=this.getSelection(l)||this.locale.bold;return this.isSelections||this.$testIsBold(g)||this.getMoreSelection("**","**",function(){var d=h.editor.editor.getSelection(),b=h.$testIsBold(d);return b&&(g=d),b}),this.$testIsBold(g)?g.replace(/(^)(\s*)(\*\*|__)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("**","**")}),g.replace(/(^)([^\n]+)($)/gm,"$1**$2**$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-b"]}}]),o}();function Q5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var P5n=function(r){aa(o,Is);var i=Q5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("italic","italic"),h}return Yr(o,[{key:"$testIsItalic",value:function(l){return/^\s*(\*|_)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=this.getSelection(l)||this.locale.italic;return this.isSelections||this.$testIsItalic(g)||this.getMoreSelection("*","*",function(){var d=h.editor.editor.getSelection(),b=h.$testIsItalic(d);return b&&(g=d),b}),this.$testIsItalic(g)?g.replace(/(^)(\s*)(\*|_)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("*","*")}),g.replace(/(^)([^\n]+)($)/gm,"$1*$2*$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-i"]}}]),o}();function R5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var U5n=function(r){aa(o,Is);var i=R5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("split","|"),h}return Yr(o,[{key:"createBtn",value:function(){var l=document.createElement("i");return l.className="cherry-toolbar-button cherry-toolbar-split",l}}]),o}();function Dp(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"word",l=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(r.getSelections().length>1||i&&!l)return i;if(o==="line"){var h=r.listSelections()[0],g=h.anchor,d=h.head;return g.line===d.line&&g.ch>d.ch||g.line>d.line?r.setSelection({line:d.line,ch:0},{line:g.line,ch:r.getLine(g.line).length}):r.setSelection({line:g.line,ch:0},{line:d.line,ch:r.getLine(d.line).length}),r.getSelection()}if(o==="word"){var b=r.findWordAt(r.getCursor()),w=b.anchor,x=b.head;return r.setSelection(w,x),r.getSelection()}}function H5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var $5n=function(r){aa(o,Is);var i=H5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("strikethrough","strike"),h}return Yr(o,[{key:"$testIsStrike",value:function(l){return/(~~)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h,g,d,b,w,x,C=this,B=Dp(this.editor.editor,l)||this.locale.strikethrough,L=!((h=this.$cherry)===null||h===void 0||(g=h.options)===null||g===void 0||(d=g.engine)===null||d===void 0||(b=d.syntax)===null||b===void 0||(w=b.strikethrough)===null||w===void 0)&&w.needWhitespace?" ":"";return this.isSelections||this.$testIsStrike(B)||this.getMoreSelection("".concat(L,"~~"),"~~".concat(L),function(){var M=C.editor.editor.getSelection(),P=C.$testIsStrike(M);return P&&(B=M),P}),this.$testIsStrike(B)?l.replace(/[\s]*(~~)([\s\S]+)(\1)[\s]*/g,"$2"):(this.registerAfterClickCb(function(){C.setLessSelection("".concat(L,"~~"),"~~".concat(L))}),B.replace(/(^)[\s]*([\s\S]+?)[\s]*($)/g,rt(x="$1".concat(L,"~~$2~~")).call(x,L,"$3")))}},{key:"shortcutKeys",get:function(){return["Ctrl-d"]}}]),o}();function j5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var K5n=function(r){aa(o,Is);var i=j5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("sub","sub"),h}return Yr(o,[{key:"$testIsSub",value:function(l){return/^\s*(\^\^)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Dp(this.editor.editor,l)||this.locale.sub;return this.isSelections||this.$testIsSub(g)||this.getMoreSelection("^^","^^",function(){var d=h.editor.editor.getSelection(),b=h.$testIsSub(d);return b&&(g=d),b}),this.$testIsSub(g)?g.replace(/(^)(\s*)(\^\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("^^","^^")}),g.replace(/(^)([^\n]+)($)/gm,"$1^^$2^^$3"))}}]),o}();function z5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var X5n=function(r){aa(o,Is);var i=z5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("sup","sup"),h}return Yr(o,[{key:"$testIsSup",value:function(l){return/^\s*(\^)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Dp(this.editor.editor,l)||this.locale.sup;return this.isSelections||this.$testIsSup(g)||this.getMoreSelection("^","^",function(){var d=h.editor.editor.getSelection(),b=h.$testIsSup(d);return b&&(g=d),b}),this.$testIsSup(g)?l.replace(/(^)(\s*)(\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("^","^")}),g.replace(/(^)([^\n]+)($)/gm,"$1^$2^$3"))}}]),o}();function G5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var V5n=function(r){aa(o,Is);var i=G5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("color","color"),h.bubbleColor=new W5n(l),h}return Yr(o,[{key:"$testIsColor",value:function(l,h){var g=/^\s*!!![^\s]+ [\s\S]+!!!\s*$/;return l==="text"?/^\s*!![^\s]+ [\s\S]+!!\s*$/.test(h)&&!g.test(h):g.test(h)}},{key:"onClick",value:function(l){var h=this,g=arguments.length>2?arguments[2]:void 0,d=Dp(this.editor.editor,l)||this.locale.color;if(this.hasCacheOnce()){var b,w,x=this.getAndCleanCacheOnce(),C=x.type,B=x.color,L=C==="text"?"!!".concat(B," "):"!!!".concat(B," "),M=C==="text"?"!!":"!!!";if(this.isSelections||this.$testIsColor(C,d)||this.getMoreSelection(L,M,function(){var Ae=h.editor.editor.getSelection();return!!h.$testIsColor(C,Ae)&&(d=Ae,!0)}),this.$testIsColor(C,d)){var P,z=new RegExp(rt(P="(^\\s*".concat(M,")([^\\s]+) ([\\s\\S]+")).call(P,M,"\\s*$)"),"gm"),W=!0,Q=d.replace(z,function(Ae,le,ve,me){var ee,ye;return W=!!W&&ve===B,rt(ee=rt(ye="".concat(le)).call(ye,B," ")).call(ee,me)});return W?d.replace(z,"$3").replace(/!+\s*$/gm,""):(this.registerAfterClickCb(function(){h.setLessSelection(L,M)}),Q)}return this.registerAfterClickCb(function(){h.setLessSelection(L,M)}),rt(b=rt(w="".concat(L)).call(w,d)).call(b,M)}var V=0,oe=0;if(g.target.closest(".cherry-bubble")){var G=g.target.closest(".cherry-bubble"),ae=G.getBoundingClientRect();V=ae.top+G.offsetHeight,oe=g.target.closest(".cherry-toolbar-color").offsetLeft+ae.left}else{var ne=g.target.closest(".cherry-toolbar-color"),de=ne.getBoundingClientRect();V=de.top+ne.offsetHeight,oe=de.left}this.updateMarkdown=!1,this.bubbleColor.show({left:oe,top:V,$color:this})}}]),o}(),W5n=function(){function r(i){qr(this,r),gi(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=i.editor,this.init(),this.initAction()}return Yr(r,[{key:"setSelection",value:function(i){this.selection=i}},{key:"getFontColorDom",value:function(i){var o,l,h=ss(o=this.colorStack).call(o,function(g){var d,b;return rt(d=rt(b='')}).join("");return rt(l="

    ".concat(i,"

    ")).call(l,h)}},{key:"getDom",value:function(){var i=document.createElement("div");i.classList.add("cherry-color-wrap"),i.classList.add("cherry-dropdown");var o=document.createElement("div");o.classList.add("cherry-color-text"),o.innerHTML=this.getFontColorDom("文本颜色"),i.appendChild(o);var l=document.createElement("div");return l.classList.add("cherry-color-bg"),l.innerHTML=this.getFontColorDom("背景颜色"),i.appendChild(l),i}},{key:"init",value:function(){this.dom=this.getDom(),this.editor.options.wrapperDom.appendChild(this.dom)}},{key:"onClick",value:function(){var i,o;return this.type==="text"?/^!!#\S+ [\s\S]+?!!/.test(this.selection)?this.selection.replace(/^!!#\S+ ([\s\S]+?)!!/,"!!".concat(this.colorValue," $1!!")):rt(o="!!".concat(this.colorValue," ")).call(o,this.selection,"!!"):/^!!!#\S+ [\s\S]+?!!!/.test(this.selection)?this.selection.replace(/^!!!#\S+ ([\s\S]+?)!!!/,"!!!".concat(this.colorValue," $1!!!")):rt(i="!!!".concat(this.colorValue," ")).call(i,this.selection,"!!!")}},{key:"initAction",value:function(){var i=this;this.dom.addEventListener("click",function(o){var l=o.target;if(i.colorValue=l.getAttribute("data-val"),!i.colorValue)return!1;i.type=l.closest(".cherry-color-text")?"text":"bg",i.$color.setCacheOnce({type:i.type,color:i.colorValue}),i.$color.fire(null)},!1),this.dom.addEventListener("EditorHideToolbarSubMenu",function(){i.dom.style.display!=="none"&&(i.dom.style.display="none")})}},{key:"show",value:function(i){var o=i.left,l=i.top,h=i.$color;this.dom.style.left="".concat(o,"px"),this.dom.style.top="".concat(l,"px"),this.dom.style.display="block",this.$color=h}}]),r}();function q5n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Y5n=function(r){aa(o,Is);var i=q5n(o);function o(l){var h,g,d,b,w,x;return qr(this,o),(x=i.call(this,l)).setName("header","header"),x.subMenuConfig=[{iconName:"h1",name:"h1",onclick:Xa(h=x.bindSubClick).call(h,es(x),"1")},{iconName:"h2",name:"h2",onclick:Xa(g=x.bindSubClick).call(g,es(x),"2")},{iconName:"h3",name:"h3",onclick:Xa(d=x.bindSubClick).call(d,es(x),"3")},{iconName:"h4",name:"h4",onclick:Xa(b=x.bindSubClick).call(b,es(x),"4")},{iconName:"h5",name:"h5",onclick:Xa(w=x.bindSubClick).call(w,es(x),"5")}],x}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"$getFlagStr",value:function(l){var h=+(typeof l=="string"?l.replace(/[^0-9]+([0-9])/g,"$1"):l);return e1("#").call("#",h||1)}},{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=Dp(this.editor.editor,l,"line",!0)||this.locale.header,b=this.$getFlagStr(g);if(this.isSelections||this.$testIsHead(d)||this.getMoreSelection(` +`,"",function(){var C=h.editor.editor.getSelection(),B=h.$testIsHead(C);return B&&(d=C),B}),this.$testIsHead(d)){var w=!0,x=d.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(C,B,L,M,P){var z,W,Q;return w=!!w&&L.length===b.length,rt(z=rt(W=rt(Q="".concat(B)).call(Q,b)).call(W,M)).call(z,P)});return w?d.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(b," "),"")}),x)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(b," "),"")}),d.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(b," $3$4"))}},{key:"shortcutKeys",get:function(){return["Ctrl-1","Ctrl-2","Ctrl-3","Ctrl-4","Ctrl-5","Ctrl-6"]}}]),o}(),J5n=function(r,i){var o,l=document.createElement("td");return l.className=i||"table-item",xa(o=pu(r)).call(o,function(h){l.dataset[h]=r[h]}),l},_Lt=function(){function r(i,o){var l=i.row,h=i.col;qr(this,r),this.init(l,h,o),this.initEventListeners(),this.afterClick=function(){}}return Yr(r,[{key:"init",value:function(i,o,l){var h=this,g=document.createElement("table"),d=[];g.className=["cherry-insert-table-menu","cherry-dropdown"].join(" ");for(var b=1;b<=i;b++){var w=document.createElement("tr");w.className="cherry-insert-table-menu-row",d[b-1]=[];for(var x=1;x<=o;x++){var C=J5n({row:b,col:x},"cherry-insert-table-menu-item");w.appendChild(C),d[b-1][x-1]=C}g.appendChild(w)}return g.style.display="none",g.addEventListener("EditorHideToolbarSubMenu",function(){h.hide()}),this.dom=g,this.cell=d,this.maxRow=i,this.maxCol=o,this.activeRow=0,this.activeCol=0,this.dom}},{key:"initEventListeners",value:function(){var i,o;this.dom.addEventListener("mousemove",Xa(i=this.handleMouseMove).call(i,this),!1),this.dom.addEventListener("mouseup",Xa(o=this.handleMouseUp).call(o,this))}},{key:"setActiveCell",value:function(i,o){if(this.activeRow!==i||this.activeCol!==o){var l=Math.min(this.activeRow,i),h=Math.max(this.activeRow,i);if(l!==h)for(var g=h;g>l;g--)for(var d=1;d<=this.activeCol;d++)this.cell[g-1][d-1].classList.toggle("active");var b=Math.min(this.activeCol,o),w=Math.max(this.activeCol,o);if(b!==w)for(var x=w;x>b;x--)for(var C=1;C<=i;C++)this.cell[C-1][x-1].classList.toggle("active");this.activeRow=i,this.activeCol=o}}},{key:"handleMouseMove",value:function(i){var o=i.target;o!==this.dom&&(o.classList.contains("cherry-insert-table-menu-item")||(o=o.querySelector(".cherry-insert-table-menu-item")),o&&this.setActiveCell(o.dataset.row,o.dataset.col))}},{key:"handleMouseUp",value:function(i){var o=i.target;return o===this.dom||o.classList.contains("cherry-insert-table-menu-item")||(o=o.querySelector(".cherry-insert-table-menu-item")),this.afterClick(this.activeRow,this.activeCol),void this.hide()}},{key:"show",value:function(i){this.dom.style.display="block",this.afterClick=i}},{key:"hide",value:function(){this.dom.style.display="none";for(var i=0;i"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var e6n=function(r){aa(o,Is);var i=Z5n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("insert","insert"),h.noIcon=!0,h.subBubbleTableMenu=new _Lt({row:9,col:9}),l.editor.options.wrapperDom.appendChild(h.subBubbleTableMenu.dom),h}return Yr(o,[{key:"handleUpload",value:function(){var l=this,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"image",g=document.createElement("input");g.type="file",g.id="fileUpload",g.value="",g.style.display="none",g.addEventListener("change",function(d){var b=gu(d.target.files,1)[0];l.$cherry.options.fileUpload(b,function(w){if(typeof w=="string"&&w){var x,C="";if(h==="image")C=rt(x="![".concat(b.name,"](")).call(x,w,")");else if(h==="video"){var B;C=rt(B="!video[".concat(b.name,"](")).call(B,w,")")}else if(h==="audio"){var L;C=rt(L="!audio[".concat(b.name,"](")).call(L,w,")")}else{var M;C=rt(M="[".concat(b.name,"](")).call(M,w,")")}l.$cherry.$cherry.doc.replaceSelection(C)}})}),g.click()}},{key:"onClick",value:function(l){var h,g,d,b,w,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",C=arguments.length>2?arguments[2]:void 0;if(/normal-table/.test(x)){var B,L,M,P=x.match(/([0-9]+)[^0-9]([0-9]+)/),z=P?+P[1]:3,W=P?+P[2]:5,Q=e1(" Header |").call(" Header |",W),V=e1(" ------ |").call(" ------ |",W),oe=` +|`.concat(e1(" Sample |").call(" Sample |",W));return rt(B=rt(L=rt(M="".concat(l,` -|`)).call(I,Q,` +|`)).call(M,Q,` |`)).call(L,V)).call(B,e1(oe).call(oe,z),` -`)}var G=Op(this.editor.editor,l);switch(x){case"hr":return"".concat(l,` +`)}var G=Dp(this.editor.editor,l);switch(x){case"hr":return"".concat(l,` --- `);case"br":return"".concat(l,"
    ");case"code":return"\n``` \n".concat(l||"code...","\n```\n");case"formula":return"".concat(l,` @@ -318,32 +318,32 @@ $ e=mc^2 $ ||`)).call(Ae,e1(" ~Header ||").call(" ~Header ||",ne))).call(de,e1(le=` ||`.concat(e1(" SampleT ||").call(" SampleT ||",ne))).call(le,ae-1),` -`);C(ve)});case"pdf":return this.handleUpload("pdf"),l;case"word":return this.handleUpload("word"),l;case"ruby":return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(G)?G.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1"):rt(b=" { ".concat(G," | ")).call(b,uo(w=this.editor.$cherry.options.callback.changeString2Pinyin(G)).call(w)," } ")}}}]),o}();function n6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var r6n=function(r){aa(o,Ms);var i=n6n(o);function o(l){var h,g,d,b;return qr(this,o),(b=i.call(this,l)).setName("list","list"),b.subMenuConfig=[{iconName:"ol",name:"ol",onclick:Xa(h=b.bindSubClick).call(h,es(b),"1")},{iconName:"ul",name:"ul",onclick:Xa(g=b.bindSubClick).call(g,es(b),"2")},{iconName:"checklist",name:"checklist",onclick:Xa(d=b.bindSubClick).call(d,es(b),"3")}],b}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(l){var h,g,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",b=[null,"ol","ul","checklist"],w=Op(this.editor.editor,l,"line",!0),x=gu(w.match(/^\n*/),1)[0],C=gu(w.match(/\n*$/),1)[0],B=b[d]?b[d]:d;return B&&/^(ol|ul|checklist)$/.test(B)?rt(h=rt(g="".concat(x)).call(g,Bpe(w,B))).call(h,C):w}}]),o}();function i6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var a6n=function(r){aa(o,Ms);var i=i6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("ol","ol"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d=Op(this.editor.editor,l,"line",!0)||`Item 1 +`);C(ve)});case"pdf":return this.handleUpload("pdf"),l;case"word":return this.handleUpload("word"),l;case"ruby":return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(G)?G.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1"):rt(b=" { ".concat(G," | ")).call(b,uo(w=this.editor.$cherry.options.callback.changeString2Pinyin(G)).call(w)," } ")}}}]),o}();function t6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var n6n=function(r){aa(o,Is);var i=t6n(o);function o(l){var h,g,d,b;return qr(this,o),(b=i.call(this,l)).setName("list","list"),b.subMenuConfig=[{iconName:"ol",name:"ol",onclick:Xa(h=b.bindSubClick).call(h,es(b),"1")},{iconName:"ul",name:"ul",onclick:Xa(g=b.bindSubClick).call(g,es(b),"2")},{iconName:"checklist",name:"checklist",onclick:Xa(d=b.bindSubClick).call(d,es(b),"3")}],b}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(l){var h,g,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",b=[null,"ol","ul","checklist"],w=Dp(this.editor.editor,l,"line",!0),x=gu(w.match(/^\n*/),1)[0],C=gu(w.match(/\n*$/),1)[0],B=b[d]?b[d]:d;return B&&/^(ol|ul|checklist)$/.test(B)?rt(h=rt(g="".concat(x)).call(g,Tpe(w,B))).call(h,C):w}}]),o}();function r6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var i6n=function(r){aa(o,Is);var i=r6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("ol","ol"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d=Dp(this.editor.editor,l,"line",!0)||`Item 1 Item 1.1 -Item 2`,b=gu(d.match(/^\n*/),1)[0],w=gu(d.match(/\n*$/),1)[0];return rt(h=rt(g="".concat(b)).call(g,Bpe(d,"ol"))).call(h,w)}}]),o}();function o6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var s6n=function(r){aa(o,Ms);var i=o6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("ul","ul"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d=Op(this.editor.editor,l,"line",!0)||`Item 1 +Item 2`,b=gu(d.match(/^\n*/),1)[0],w=gu(d.match(/\n*$/),1)[0];return rt(h=rt(g="".concat(b)).call(g,Tpe(d,"ol"))).call(h,w)}}]),o}();function a6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var o6n=function(r){aa(o,Is);var i=a6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("ul","ul"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d=Dp(this.editor.editor,l,"line",!0)||`Item 1 Item 1.1 -Item 2`,b=gu(d.match(/^\n*/),1)[0],w=gu(d.match(/\n*$/),1)[0];return rt(h=rt(g="".concat(b)).call(g,Bpe(d,"ul"))).call(h,w)}}]),o}();function c6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var l6n=function(r){aa(o,Ms);var i=c6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("checklist","checklist"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d=Op(this.editor.editor,l,"line",!0)||`Item 1 +Item 2`,b=gu(d.match(/^\n*/),1)[0],w=gu(d.match(/\n*$/),1)[0];return rt(h=rt(g="".concat(b)).call(g,Tpe(d,"ul"))).call(h,w)}}]),o}();function s6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var c6n=function(r){aa(o,Is);var i=s6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("checklist","checklist"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d=Dp(this.editor.editor,l,"line",!0)||`Item 1 Item 1.1 -Item 2`,b=gu(d.match(/^\n*/),1)[0],w=gu(d.match(/\n*$/),1)[0];return rt(h=rt(g="".concat(b)).call(g,Bpe(d,"checklist"))).call(h,w)}}]),o}();function u6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function Wv(r,i){return[r,"```mermaid",i,"```"].join(` -`)}var gkt=[" A[公司] -->| 下 班 | B(菜市场)"," B --> C{看见
    卖西瓜的}"," C -->|Yes| D[买一个包子]"," C -->|No| E[买一斤包子]"].join(` -`),pkt=[" 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(` -`),h6n={flow:["FlowChart",Wv("左右结构",`graph LR -`.concat(gkt)),Wv("上下结构",`graph TD -`.concat(gkt))].join(` -`),sequence:Wv("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:Wv("StateDiagram",["stateDiagram-v2","[*] --> A","A --> B","A --> C","state A {"," [*] --> D"," D --> [*]","}","B --> [*]","C --> [*]"].join(` -`)),class:Wv("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:Wv("PieChart",["pie","title 饼图",'"A" : 100','"B" : 80','"C" : 40','"D" : 30'].join(` -`)),gantt:Wv("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(` -`))},f6n={flow:["FlowChart",Wv("Left-right structure",`graph LR -`.concat(pkt)),Wv("Top-bottom structure",`graph TD -`.concat(pkt))].join(` -`),sequence:Wv("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:Wv("StateDiagram",["stateDiagram-v2","[*] --> A","A --> B","A --> C","state A {"," [*] --> D"," D --> [*]","}","B --> [*]","C --> [*]"].join(` -`)),class:Wv("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:Wv("PieChart",["pie","title pie",'"A" : 100','"B" : 80','"C" : 40','"D" : 30'].join(` -`)),gantt:Wv("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(` -`))},d6n=function(r){aa(o,Ms);var i=u6n(o);function o(l){var h,g,d,b,w,x,C;return qr(this,o),(C=i.call(this,l)).setName("graph","insertChart"),C.noIcon=!0,C.localeName=l.options.locale,C.subMenuConfig=[{iconName:"insertFlow",name:"insertFlow",onclick:Xa(h=C.bindSubClick).call(h,es(C),"1")},{iconName:"insertSeq",name:"insertSeq",onclick:Xa(g=C.bindSubClick).call(g,es(C),"2")},{iconName:"insertState",name:"insertState",onclick:Xa(d=C.bindSubClick).call(d,es(C),"3")},{iconName:"insertClass",name:"insertClass",onclick:Xa(b=C.bindSubClick).call(b,es(C),"4")},{iconName:"insertPie",name:"insertPie",onclick:Xa(w=C.bindSubClick).call(w,es(C),"5")},{iconName:"insertGantt",name:"insertGantt",onclick:Xa(x=C.bindSubClick).call(x,es(C),"6")}],C}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(l){var h=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=[null,"flow","sequence","state","class","pie","gantt"],b=d[g]?d[g]:g;if(b&&/^(flow|sequence|state|class|pie|gantt)$/.test(b))return this.registerAfterClickCb(function(){h.setLessSelection(` +Item 2`,b=gu(d.match(/^\n*/),1)[0],w=gu(d.match(/\n*$/),1)[0];return rt(h=rt(g="".concat(b)).call(g,Tpe(d,"checklist"))).call(h,w)}}]),o}();function l6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function Vv(r,i){return[r,"```mermaid",i,"```"].join(` +`)}var A7t=[" A[公司] -->| 下 班 | B(菜市场)"," B --> C{看见
    卖西瓜的}"," C -->|Yes| D[买一个包子]"," C -->|No| E[买一斤包子]"].join(` +`),g7t=[" 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(` +`),u6n={flow:["FlowChart",Vv("左右结构",`graph LR +`.concat(A7t)),Vv("上下结构",`graph TD +`.concat(A7t))].join(` +`),sequence:Vv("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:Vv("StateDiagram",["stateDiagram-v2","[*] --> A","A --> B","A --> C","state A {"," [*] --> D"," D --> [*]","}","B --> [*]","C --> [*]"].join(` +`)),class:Vv("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:Vv("PieChart",["pie","title 饼图",'"A" : 100','"B" : 80','"C" : 40','"D" : 30'].join(` +`)),gantt:Vv("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(` +`))},h6n={flow:["FlowChart",Vv("Left-right structure",`graph LR +`.concat(g7t)),Vv("Top-bottom structure",`graph TD +`.concat(g7t))].join(` +`),sequence:Vv("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:Vv("StateDiagram",["stateDiagram-v2","[*] --> A","A --> B","A --> C","state A {"," [*] --> D"," D --> [*]","}","B --> [*]","C --> [*]"].join(` +`)),class:Vv("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:Vv("PieChart",["pie","title pie",'"A" : 100','"B" : 80','"C" : 40','"D" : 30'].join(` +`)),gantt:Vv("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(` +`))},f6n=function(r){aa(o,Is);var i=l6n(o);function o(l){var h,g,d,b,w,x,C;return qr(this,o),(C=i.call(this,l)).setName("graph","insertChart"),C.noIcon=!0,C.localeName=l.options.locale,C.subMenuConfig=[{iconName:"insertFlow",name:"insertFlow",onclick:Xa(h=C.bindSubClick).call(h,es(C),"1")},{iconName:"insertSeq",name:"insertSeq",onclick:Xa(g=C.bindSubClick).call(g,es(C),"2")},{iconName:"insertState",name:"insertState",onclick:Xa(d=C.bindSubClick).call(d,es(C),"3")},{iconName:"insertClass",name:"insertClass",onclick:Xa(b=C.bindSubClick).call(b,es(C),"4")},{iconName:"insertPie",name:"insertPie",onclick:Xa(w=C.bindSubClick).call(w,es(C),"5")},{iconName:"insertGantt",name:"insertGantt",onclick:Xa(x=C.bindSubClick).call(x,es(C),"6")}],C}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(l){var h=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=[null,"flow","sequence","state","class","pie","gantt"],b=d[g]?d[g]:g;if(b&&/^(flow|sequence|state|class|pie|gantt)$/.test(b))return this.registerAfterClickCb(function(){h.setLessSelection(` @@ -353,22 +353,22 @@ Item 2`,b=gu(d.match(/^\n*/),1)[0],w=gu(d.match(/\n*$/),1)[0];return rt(h=rt(g=" `)}),` `.concat(this.$getSampleCode(b),` -`)}},{key:"$getSampleCode",value:function(l){var h,g;return this.localeName!=="zh-CN"&&this.localeName!=="zh_CN"?(g=f6n[l])===null||g===void 0?void 0:g.replace(/\t/g," "):(h=h6n[l])===null||h===void 0?void 0:h.replace(/\t/g," ")}}]),o}();function A6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var g6n=function(r){aa(o,Ms);var i=A6n(o);function o(l){var h,g,d,b,w;return qr(this,o),(w=i.call(this,l)).setName("size","size"),w.subMenuConfig=[{name:"小",noIcon:!0,onclick:Xa(h=w.bindSubClick).call(h,es(w),"12")},{name:"中",noIcon:!0,onclick:Xa(g=w.bindSubClick).call(g,es(w),"17")},{name:"大",noIcon:!0,onclick:Xa(d=w.bindSubClick).call(d,es(w),"24")},{name:"特大",noIcon:!0,onclick:Xa(b=w.bindSubClick).call(b,es(w),"32")}],w.shortKeyMap={"Alt-1":"12","Alt-2":"17","Alt-3":"24","Alt-4":"32"},w}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"_getFlagStr",value:function(l){for(var h=l.replace(/[^0-9]+([0-9])/g,"$1"),g="#",d=1;d1&&arguments[1]!==void 0?arguments[1]:"17",d=this.$getSizeByShortKey(g),b=Op(this.editor.editor,l)||"字号";if(this.isSelections||this.$testIsSize(b)||this.getMoreSelection("!32 ","!",function(){var C=h.editor.editor.getSelection();return!!h.$testIsSize(C)&&(b=C,!0)}),this.$testIsSize(b)){var w=!0,x=b.replace(/(^)(\s*)(![0-9]+)([^\n]+)(!)(\s*)($)/gm,function(C,B,L,I,P,z,W,Q){var V,oe,G,ae,ne,de;return w=!!w&&I==="!".concat(d),rt(V=rt(oe=rt(G=rt(ae=rt(ne=rt(de="".concat(B)).call(de,L,"!")).call(ne,d)).call(ae,P)).call(G,z)).call(oe,W)).call(V,Q)});return w?b.replace(/(^)(\s*)(![0-9]+\s*)([^\n]+)(!)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("!".concat(d," "),"!")}),x)}return this.registerAfterClickCb(function(){h.setLessSelection("!".concat(d," "),"!")}),b.replace(/(^)([^\n]+)($)/gm,"$1!".concat(d," $2!$3"))}},{key:"shortcutKeys",get:function(){return["Alt-1","Alt-2","Alt-3","Alt-4"]}}]),o}();function p6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var m6n=function(r){aa(o,Ms);var i=p6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("h1","h1"),h}return Yr(o,[{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Op(this.editor.editor,l,"line",!0)||this.locale.h1,d="#";if(this.isSelections||this.$testIsHead(g)||this.getMoreSelection(` -`,"",function(){var x=h.editor.editor.getSelection(),C=h.$testIsHead(x);return C&&(g=x),C}),this.$testIsHead(g)){var b=!0,w=g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(x,C,B,L,I){var P,z,W;return b=!!b&&B.length===1,rt(P=rt(z=rt(W="".concat(C)).call(W,d)).call(z,L)).call(P,I)});return b?g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),w)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),g.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),o}();function b6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var w6n=function(r){aa(o,Ms);var i=b6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("h2","h2"),h}return Yr(o,[{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Op(this.editor.editor,l,"line",!0)||this.locale.h2,d="##";if(this.isSelections||this.$testIsHead(g)||this.getMoreSelection(` -`,"",function(){var x=h.editor.editor.getSelection(),C=h.$testIsHead(x);return C&&(g=x),C}),this.$testIsHead(g)){var b=!0,w=g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(x,C,B,L,I){var P,z,W;return b=!!b&&B.length===2,rt(P=rt(z=rt(W="".concat(C)).call(W,d)).call(z,L)).call(P,I)});return b?g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),w)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),g.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),o}();function v6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var y6n=function(r){aa(o,Ms);var i=v6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("h3","h3"),h}return Yr(o,[{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Op(this.editor.editor,l,"line",!0)||this.locale.h3,d="###";if(this.isSelections||this.$testIsHead(g)||this.getMoreSelection(` -`,"",function(){var x=h.editor.editor.getSelection(),C=h.$testIsHead(x);return C&&(g=x),C}),this.$testIsHead(g)){var b=!0,w=g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(x,C,B,L,I){var P,z,W;return b=!!b&&B.length===3,rt(P=rt(z=rt(W="".concat(C)).call(W,d)).call(z,L)).call(P,I)});return b?g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),w)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),g.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),o}();function x6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var k6n=function(r){aa(o,Ms);var i=x6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("quote","blockquote"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g=this,d=Op(this.editor.editor,l,"line",!0)||this.locale.quote,b=J$(h=d.split(` +`)}},{key:"$getSampleCode",value:function(l){var h,g;return this.localeName!=="zh-CN"&&this.localeName!=="zh_CN"?(g=h6n[l])===null||g===void 0?void 0:g.replace(/\t/g," "):(h=u6n[l])===null||h===void 0?void 0:h.replace(/\t/g," ")}}]),o}();function d6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var A6n=function(r){aa(o,Is);var i=d6n(o);function o(l){var h,g,d,b,w;return qr(this,o),(w=i.call(this,l)).setName("size","size"),w.subMenuConfig=[{name:"小",noIcon:!0,onclick:Xa(h=w.bindSubClick).call(h,es(w),"12")},{name:"中",noIcon:!0,onclick:Xa(g=w.bindSubClick).call(g,es(w),"17")},{name:"大",noIcon:!0,onclick:Xa(d=w.bindSubClick).call(d,es(w),"24")},{name:"特大",noIcon:!0,onclick:Xa(b=w.bindSubClick).call(b,es(w),"32")}],w.shortKeyMap={"Alt-1":"12","Alt-2":"17","Alt-3":"24","Alt-4":"32"},w}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"_getFlagStr",value:function(l){for(var h=l.replace(/[^0-9]+([0-9])/g,"$1"),g="#",d=1;d1&&arguments[1]!==void 0?arguments[1]:"17",d=this.$getSizeByShortKey(g),b=Dp(this.editor.editor,l)||"字号";if(this.isSelections||this.$testIsSize(b)||this.getMoreSelection("!32 ","!",function(){var C=h.editor.editor.getSelection();return!!h.$testIsSize(C)&&(b=C,!0)}),this.$testIsSize(b)){var w=!0,x=b.replace(/(^)(\s*)(![0-9]+)([^\n]+)(!)(\s*)($)/gm,function(C,B,L,M,P,z,W,Q){var V,oe,G,ae,ne,de;return w=!!w&&M==="!".concat(d),rt(V=rt(oe=rt(G=rt(ae=rt(ne=rt(de="".concat(B)).call(de,L,"!")).call(ne,d)).call(ae,P)).call(G,z)).call(oe,W)).call(V,Q)});return w?b.replace(/(^)(\s*)(![0-9]+\s*)([^\n]+)(!)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection("!".concat(d," "),"!")}),x)}return this.registerAfterClickCb(function(){h.setLessSelection("!".concat(d," "),"!")}),b.replace(/(^)([^\n]+)($)/gm,"$1!".concat(d," $2!$3"))}},{key:"shortcutKeys",get:function(){return["Alt-1","Alt-2","Alt-3","Alt-4"]}}]),o}();function g6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var p6n=function(r){aa(o,Is);var i=g6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("h1","h1"),h}return Yr(o,[{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Dp(this.editor.editor,l,"line",!0)||this.locale.h1,d="#";if(this.isSelections||this.$testIsHead(g)||this.getMoreSelection(` +`,"",function(){var x=h.editor.editor.getSelection(),C=h.$testIsHead(x);return C&&(g=x),C}),this.$testIsHead(g)){var b=!0,w=g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(x,C,B,L,M){var P,z,W;return b=!!b&&B.length===1,rt(P=rt(z=rt(W="".concat(C)).call(W,d)).call(z,L)).call(P,M)});return b?g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),w)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),g.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),o}();function m6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var b6n=function(r){aa(o,Is);var i=m6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("h2","h2"),h}return Yr(o,[{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Dp(this.editor.editor,l,"line",!0)||this.locale.h2,d="##";if(this.isSelections||this.$testIsHead(g)||this.getMoreSelection(` +`,"",function(){var x=h.editor.editor.getSelection(),C=h.$testIsHead(x);return C&&(g=x),C}),this.$testIsHead(g)){var b=!0,w=g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(x,C,B,L,M){var P,z,W;return b=!!b&&B.length===2,rt(P=rt(z=rt(W="".concat(C)).call(W,d)).call(z,L)).call(P,M)});return b?g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),w)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),g.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),o}();function w6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var v6n=function(r){aa(o,Is);var i=w6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("h3","h3"),h}return Yr(o,[{key:"$testIsHead",value:function(l){return/^\s*(#+)\s*.+/.test(l)}},{key:"onClick",value:function(l){var h=this,g=Dp(this.editor.editor,l,"line",!0)||this.locale.h3,d="###";if(this.isSelections||this.$testIsHead(g)||this.getMoreSelection(` +`,"",function(){var x=h.editor.editor.getSelection(),C=h.$testIsHead(x);return C&&(g=x),C}),this.$testIsHead(g)){var b=!0,w=g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,function(x,C,B,L,M){var P,z,W;return b=!!b&&B.length===3,rt(P=rt(z=rt(W="".concat(C)).call(W,d)).call(z,L)).call(P,M)});return b?g.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),w)}return this.registerAfterClickCb(function(){h.setLessSelection("".concat(d," "),"")}),g.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(d," $3$4"))}}]),o}();function y6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var x6n=function(r){aa(o,Is);var i=y6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("quote","blockquote"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g=this,d=Dp(this.editor.editor,l,"line",!0)||this.locale.quote,b=Y$(h=d.split(` `)).call(h,function(w){return/^\s*>[^\n]+$/.exec(w)});return b?d.replace(/(^\s*)>\s*([^\n]+)($)/gm,"$1$2$3").replace(/\n+$/,` `):(this.registerAfterClickCb(function(){g.setLessSelection("> ","")}),d.replace(/(^)([^\n]+)($)/gm,"$1> $2$3").replace(/\n+$/,` -`))}}]),o}();function C6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var E6n=function(r){aa(o,Ms);var i=C6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("quickTable","table"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,`| LeftAlignedCol | CenterAlignedCol | RightAlignedCol | +`))}}]),o}();function k6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var C6n=function(r){aa(o,Is);var i=k6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("quickTable","table"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,`| LeftAlignedCol | CenterAlignedCol | RightAlignedCol | `)+`| :--- | :---: | ---: | | sampleText | sampleText | sampleText | | **left**Text | centered Text | *right*Text | -`}}]),o}();function T6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var B6n=function(r){aa(o,Ms);var i=T6n(o);function o(l){var h;return qr(this,o),gi(es(h=i.call(this,l)),"$previewerHidden",!1),h.setName("previewClose","previewClose"),h.instanceId=l.instanceId,h.updateMarkdown=!1,h.attachEventListeners(),h}return Yr(o,[{key:"attachEventListeners",value:function(){var l=this;Is.on(this.instanceId,Is.Events.previewerClose,function(){l.isHidden=!0}),Is.on(this.instanceId,Is.Events.previewerOpen,function(){l.isHidden=!1})}},{key:"isHidden",get:function(){return this.$previewerHidden},set:function(l){if(l!==this.$previewerHidden){var h=this.dom.querySelector("i");l?(h.classList.toggle("ch-icon-previewClose",!1),h.classList.toggle("ch-icon-preview",!0),h.title=this.locale.togglePreview):(h.classList.toggle("ch-icon-previewClose",!0),h.classList.toggle("ch-icon-preview",!1),h.title=this.locale.previewClose),this.$previewerHidden=l}}},{key:"onClick",value:function(){this.editor.previewer.isPreviewerHidden()?(this.editor.previewer.recoverPreviewer(!0),this.isHidden=!1):(this.editor.previewer.editOnly(!0),this.isHidden=!0)}}]),o}();function _6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var S6n=function(r){aa(o,Ms);var i=_6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).updateMarkdown=!1,h.setName("fullScreen","fullscreen"),h}return Yr(o,[{key:"onClick",value:function(){for(var l=this.editor.options.editorDom.parentElement.classList,h=document.querySelector(".cherry-toolbar-fullscreen");h.firstChild;)h.removeChild(h.firstChild);if(l.contains("fullscreen")){var g=Jl("i","ch-icon ch-icon-fullscreen");h.appendChild(g),l.remove("fullscreen")}else{var d=Jl("i","ch-icon ch-icon-minscreen");h.appendChild(d),l.add("fullscreen")}this.editor.editor.refresh()}}]),o}();function L6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var I6n=function(r){aa(o,Ms);var i=L6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("undo","undo"),h}return Yr(o,[{key:"onClick",value:function(){this.editor.editor.undo()}}]),o}();function M6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var F6n=function(r){aa(o,Ms);var i=M6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("redo","redo"),h}return Yr(o,[{key:"onClick",value:function(){this.editor.editor.redo()}}]),o}();function D6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var O6n=function(r){aa(o,Ms);var i=D6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("code","code"),h}return Yr(o,[{key:"onClick",value:function(l){var h=this,g=l||"code...";return this.registerAfterClickCb(function(){h.setLessSelection("\n``` \n","\n```\n")}),"\n``` \n".concat(g,"\n```\n")}},{key:"shortcutKeys",get:function(){return["Ctrl-k"]}}]),o}();function N6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Q6n=function(r){aa(o,Ms);var i=N6n(o);function o(l){var h,g,d,b,w,x,C,B,L;return qr(this,o),(L=i.call(this,l)).setName("codeTheme"),L.updateMarkdown=!1,L.noIcon=!0,L.subMenuConfig=[{noIcon:!0,name:"default",onclick:Xa(h=L.bindSubClick).call(h,es(L),"default")},{noIcon:!0,name:"dark",onclick:Xa(g=L.bindSubClick).call(g,es(L),"dark")},{noIcon:!0,name:"funky",onclick:Xa(d=L.bindSubClick).call(d,es(L),"funky")},{noIcon:!0,name:"okaidia",onclick:Xa(b=L.bindSubClick).call(b,es(L),"okaidia")},{noIcon:!0,name:"twilight",onclick:Xa(w=L.bindSubClick).call(w,es(L),"twilight")},{noIcon:!0,name:"coy",onclick:Xa(x=L.bindSubClick).call(x,es(L),"coy")},{noIcon:!0,name:"solarized light",onclick:Xa(C=L.bindSubClick).call(C,es(L),"solarized-light")},{noIcon:!0,name:"tomorrow night",onclick:Xa(B=L.bindSubClick).call(B,es(L),"tomorrow-night")}],L}return Yr(o,[{key:"onClick",value:function(){var l=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry").setAttribute("data-code-block-theme",l)}}]),o}();function P6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var R6n=function(r){aa(o,Ms);var i=P6n(o);function o(l){var h,g,d,b,w;return qr(this,o),(w=i.call(this,l)).setName("export"),w.noIcon=!0,w.updateMarkdown=!1,w.subMenuConfig=[{noIcon:!0,name:"exportToPdf",onclick:Xa(h=w.bindSubClick).call(h,es(w),"pdf")},{noIcon:!0,name:"exportScreenshot",onclick:Xa(g=w.bindSubClick).call(g,es(w),"screenShot")},{noIcon:!0,name:"exportMarkdownFile",onclick:Xa(d=w.bindSubClick).call(d,es(w),"markdown")},{noIcon:!0,name:"exportHTMLFile",onclick:Xa(b=w.bindSubClick).call(b,es(w),"html")}],w}return Yr(o,[{key:"onClick",value:function(){var l=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry-dropdown[name=export]")&&(document.querySelector(".cherry-dropdown[name=export]").style.display="none");var h=this.$cherry.previewer,g="";g=h.isPreviewerHidden()?h.options.previewerCache.html:h.getDomContainer().innerHTML,g=h.lazyLoadImg.changeDataSrc2Src(g),h.refresh(g),h.export(l)}}]),o}();function U6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var H6n=function(r){aa(o,Ms);var i=U6n(o);function o(l){var h,g,d,b,w;qr(this,o),(w=i.call(this,l)).setName("settings","settings"),w.updateMarkdown=!1,w.engine=l.engine;var x=dQe("classicBr")?sge():(h=w.engine.$cherry.options.engine.global)===null||h===void 0?void 0:h.classicBr,C=l.editor.options.defaultModel,B=x?"br":"normal",L=x?"classicBr":"normalBr",I=C==="editOnly"?"preview":"previewClose",P=C==="editOnly"?"togglePreview":"previewClose";return w.instanceId=l.instanceId,w.subMenuConfig=[{iconName:B,name:L,onclick:Xa(g=w.bindSubClick).call(g,es(w),"classicBr")},{iconName:I,name:P,onclick:Xa(d=w.bindSubClick).call(d,es(w),"previewClose")},{iconName:"",name:"hide",onclick:Xa(b=w.bindSubClick).call(b,es(w),"toggleToolbar")}],w.attachEventListeners(),w.shortcutKeyMaps=[{shortKey:"toggleToolbar",shortcutKey:"Ctrl-0"}],w}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"bindSubClick",value:function(l,h,g,d){return g?this.onClick(h,l,d):this.onClick(h,l)}},{key:"togglePreviewBtn",value:function(l){var h=this,g=l?"previewClose":"preview",d=l?"previewClose":"togglePreview";if(this.subMenu){var b=document.querySelector('.cherry-dropdown[name="settings"]');if(b){var w=b.querySelector(".ch-icon-previewClose,.ch-icon-preview");w.classList.toggle("ch-icon-previewClose"),w.classList.toggle("ch-icon-preview"),w.title=this.locale[d],w.parentElement.innerHTML=w.parentElement.innerHTML.replace(/<\/i>.+$/,"".concat(this.locale[d]))}}else{var x;this.subMenuConfig=ss(x=this.subMenuConfig).call(x,function(C){var B;return C.iconName==="previewClose"||C.iconName==="preview"?{iconName:g,name:d,onclick:Xa(B=h.bindSubClick).call(B,h,"previewClose")}:C})}}},{key:"attachEventListeners",value:function(){var l=this;Is.on(this.instanceId,Is.Events.previewerClose,function(){l.togglePreviewBtn(!1)}),Is.on(this.instanceId,Is.Events.previewerOpen,function(){l.togglePreviewBtn(!0)})}},{key:"onClick",value:function(l){var h,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if((g=this.matchShortcutKey(g))==="classicBr"){var d,b=!sge();h=b,typeof localStorage<"u"&&localStorage.setItem("cherry-classicBr",h?"true":"false"),this.engine.$cherry.options.engine.global.classicBr=b,xa(d=this.engine.hookCenter.hookList.paragraph).call(d,function(x){x.classicBr=b});var w=this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-normal");w=w||this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-br"),b?(w.classList.replace("ch-icon-normal","ch-icon-br"),w.parentElement.childNodes[1].textContent=this.locale.classicBr):(w.classList.replace("ch-icon-br","ch-icon-normal"),w.parentElement.childNodes[1].textContent=this.locale.normalBr),this.engine.$cherry.previewer.update(""),this.engine.$cherry.initText(this.engine.$cherry.editor.editor)}else g==="previewClose"?this.editor.previewer.isPreviewerHidden()?this.editor.previewer.recoverPreviewer(!0):this.editor.previewer.editOnly(!0):g==="toggleToolbar"&&this.toggleToolbar();return l}},{key:"matchShortcutKey",value:function(l){var h,g=See(h=this.shortcutKeyMaps).call(h,function(d){return d.shortcutKey===l});return g!==void 0?g.shortKey:l}},{key:"toggleToolbar",value:function(){var l=this.engine.$cherry.wrapperDom;if(l instanceof HTMLDivElement){var h,g=this.engine.$cherry.toolbar.instanceId;xl(h=l.className).call(h,"cherry--no-toolbar")>-1?(l.classList.remove("cherry--no-toolbar"),Is.emit(g,Is.Events.toolbarShow)):(l.classList.add("cherry--no-toolbar"),Is.emit(g,Is.Events.toolbarHide))}}},{key:"shortcutKeys",get:function(){var l;return ss(l=this.shortcutKeyMaps).call(l,function(h){return h.shortcutKey})}}]),o}();function $6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var j6n=function(r){aa(o,Ms);var i=$6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("underline","underline"),h}return Yr(o,[{key:"$testIsUnderline",value:function(l){return/^\s*(\/)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=l||this.locale.underline;return this.isSelections||this.$testIsUnderline(g)||this.getMoreSelection(" /","/ ",function(){var d=h.editor.editor.getSelection(),b=h.$testIsUnderline(d);return b&&(g=d),b}),this.$testIsUnderline(g)?g.replace(/(^)(\s*)(\/)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection(" /","/ ")}),g.replace(/(^)([^\n]+)($)/gm,"$1 /$2/ $3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-u"]}}]),o}();function K6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var z6n=function(r){aa(o,Ms);var i=K6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("switchPreview"),h.instanceId=l.instanceId,h.attachEventListeners(),h}return Yr(o,[{key:"attachEventListeners",value:function(){var l=this;Is.on(this.instanceId,Is.Events.toolbarHide,function(){l.dom.textContent=l.locale.switchEdit}),Is.on(this.instanceId,Is.Events.toolbarShow,function(){l.dom.textContent=l.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)}}]),o}();function X6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var G6n=function(r){aa(o,Ms);var i=X6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("image","image"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x,C=this.getAndCleanCacheOnce(),B=C.name,L=C.url,I=C.params,P="](".concat(L,")");this.registerAfterClickCb(function(){b.setLessSelection("![",P)});var z=I.name?I.name:B;return rt(w=rt(x="".concat("![").concat(z)).call(x,Cpe(I))).call(w,P)}var W=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.image)!==null&&h!==void 0?h:"*";return Xj(this.editor,"image",W,function(Q,V,oe){b.setCacheOnce({name:Q,url:V,params:oe}),b.fire(null)}),this.updateMarkdown=!1,l}},{key:"shortcutKeys",get:function(){return["Ctrl-g"]}}]),o}();function V6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var W6n=function(r){aa(o,Ms);var i=V6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("audio","video"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x,C=this.getAndCleanCacheOnce(),B=C.name,L=C.url,I=C.params,P="!audio[",z="](".concat(L,")");this.registerAfterClickCb(function(){b.setLessSelection(P,z)});var W=I.name?I.name:B;return rt(w=rt(x="".concat(P).concat(W)).call(x,Cpe(I))).call(w,z)}var Q=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.audio)!==null&&h!==void 0?h:"*";return Xj(this.editor,"audio",Q,function(V,oe,G){b.setCacheOnce({name:V,url:oe,params:G}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function q6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Y6n=function(r){aa(o,Ms);var i=q6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("video","video"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x,C,B=this.getAndCleanCacheOnce(),L=B.name,I=B.url,P=B.params,z="!video[",W=P.poster?rt(w="](".concat(I,"){poster=")).call(w,P.poster,"}"):"](".concat(I,")");this.registerAfterClickCb(function(){b.setLessSelection(z,W)});var Q=P.name?P.name:L;return rt(x=rt(C="".concat(z).concat(Q)).call(C,Cpe(P))).call(x,W)}var V=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.video)!==null&&h!==void 0?h:"*";return Xj(this.editor,"video",V,function(oe,G,ae){b.setCacheOnce({name:oe,url:G,params:ae}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function J6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Z6n=function(r){aa(o,Ms);var i=J6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("br","br"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,"
    ")}}]),o}();function exn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var txn=function(r){aa(o,Ms);var i=exn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("hr","line"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,` +`}}]),o}();function E6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var T6n=function(r){aa(o,Is);var i=E6n(o);function o(l){var h;return qr(this,o),gi(es(h=i.call(this,l)),"$previewerHidden",!1),h.setName("previewClose","previewClose"),h.instanceId=l.instanceId,h.updateMarkdown=!1,h.attachEventListeners(),h}return Yr(o,[{key:"attachEventListeners",value:function(){var l=this;Ms.on(this.instanceId,Ms.Events.previewerClose,function(){l.isHidden=!0}),Ms.on(this.instanceId,Ms.Events.previewerOpen,function(){l.isHidden=!1})}},{key:"isHidden",get:function(){return this.$previewerHidden},set:function(l){if(l!==this.$previewerHidden){var h=this.dom.querySelector("i");l?(h.classList.toggle("ch-icon-previewClose",!1),h.classList.toggle("ch-icon-preview",!0),h.title=this.locale.togglePreview):(h.classList.toggle("ch-icon-previewClose",!0),h.classList.toggle("ch-icon-preview",!1),h.title=this.locale.previewClose),this.$previewerHidden=l}}},{key:"onClick",value:function(){this.editor.previewer.isPreviewerHidden()?(this.editor.previewer.recoverPreviewer(!0),this.isHidden=!1):(this.editor.previewer.editOnly(!0),this.isHidden=!0)}}]),o}();function B6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var _6n=function(r){aa(o,Is);var i=B6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).updateMarkdown=!1,h.setName("fullScreen","fullscreen"),h}return Yr(o,[{key:"onClick",value:function(){for(var l=this.editor.options.editorDom.parentElement.classList,h=document.querySelector(".cherry-toolbar-fullscreen");h.firstChild;)h.removeChild(h.firstChild);if(l.contains("fullscreen")){var g=Jl("i","ch-icon ch-icon-fullscreen");h.appendChild(g),l.remove("fullscreen")}else{var d=Jl("i","ch-icon ch-icon-minscreen");h.appendChild(d),l.add("fullscreen")}this.editor.editor.refresh()}}]),o}();function S6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var L6n=function(r){aa(o,Is);var i=S6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("undo","undo"),h}return Yr(o,[{key:"onClick",value:function(){this.editor.editor.undo()}}]),o}();function M6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var I6n=function(r){aa(o,Is);var i=M6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("redo","redo"),h}return Yr(o,[{key:"onClick",value:function(){this.editor.editor.redo()}}]),o}();function F6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var D6n=function(r){aa(o,Is);var i=F6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("code","code"),h}return Yr(o,[{key:"onClick",value:function(l){var h=this,g=l||"code...";return this.registerAfterClickCb(function(){h.setLessSelection("\n``` \n","\n```\n")}),"\n``` \n".concat(g,"\n```\n")}},{key:"shortcutKeys",get:function(){return["Ctrl-k"]}}]),o}();function O6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var N6n=function(r){aa(o,Is);var i=O6n(o);function o(l){var h,g,d,b,w,x,C,B,L;return qr(this,o),(L=i.call(this,l)).setName("codeTheme"),L.updateMarkdown=!1,L.noIcon=!0,L.subMenuConfig=[{noIcon:!0,name:"default",onclick:Xa(h=L.bindSubClick).call(h,es(L),"default")},{noIcon:!0,name:"dark",onclick:Xa(g=L.bindSubClick).call(g,es(L),"dark")},{noIcon:!0,name:"funky",onclick:Xa(d=L.bindSubClick).call(d,es(L),"funky")},{noIcon:!0,name:"okaidia",onclick:Xa(b=L.bindSubClick).call(b,es(L),"okaidia")},{noIcon:!0,name:"twilight",onclick:Xa(w=L.bindSubClick).call(w,es(L),"twilight")},{noIcon:!0,name:"coy",onclick:Xa(x=L.bindSubClick).call(x,es(L),"coy")},{noIcon:!0,name:"solarized light",onclick:Xa(C=L.bindSubClick).call(C,es(L),"solarized-light")},{noIcon:!0,name:"tomorrow night",onclick:Xa(B=L.bindSubClick).call(B,es(L),"tomorrow-night")}],L}return Yr(o,[{key:"onClick",value:function(){var l=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry").setAttribute("data-code-block-theme",l)}}]),o}();function Q6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var P6n=function(r){aa(o,Is);var i=Q6n(o);function o(l){var h,g,d,b,w;return qr(this,o),(w=i.call(this,l)).setName("export"),w.noIcon=!0,w.updateMarkdown=!1,w.subMenuConfig=[{noIcon:!0,name:"exportToPdf",onclick:Xa(h=w.bindSubClick).call(h,es(w),"pdf")},{noIcon:!0,name:"exportScreenshot",onclick:Xa(g=w.bindSubClick).call(g,es(w),"screenShot")},{noIcon:!0,name:"exportMarkdownFile",onclick:Xa(d=w.bindSubClick).call(d,es(w),"markdown")},{noIcon:!0,name:"exportHTMLFile",onclick:Xa(b=w.bindSubClick).call(b,es(w),"html")}],w}return Yr(o,[{key:"onClick",value:function(){var l=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry-dropdown[name=export]")&&(document.querySelector(".cherry-dropdown[name=export]").style.display="none");var h=this.$cherry.previewer,g="";g=h.isPreviewerHidden()?h.options.previewerCache.html:h.getDomContainer().innerHTML,g=h.lazyLoadImg.changeDataSrc2Src(g),h.refresh(g),h.export(l)}}]),o}();function R6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var U6n=function(r){aa(o,Is);var i=R6n(o);function o(l){var h,g,d,b,w;qr(this,o),(w=i.call(this,l)).setName("settings","settings"),w.updateMarkdown=!1,w.engine=l.engine;var x=fQe("classicBr")?oge():(h=w.engine.$cherry.options.engine.global)===null||h===void 0?void 0:h.classicBr,C=l.editor.options.defaultModel,B=x?"br":"normal",L=x?"classicBr":"normalBr",M=C==="editOnly"?"preview":"previewClose",P=C==="editOnly"?"togglePreview":"previewClose";return w.instanceId=l.instanceId,w.subMenuConfig=[{iconName:B,name:L,onclick:Xa(g=w.bindSubClick).call(g,es(w),"classicBr")},{iconName:M,name:P,onclick:Xa(d=w.bindSubClick).call(d,es(w),"previewClose")},{iconName:"",name:"hide",onclick:Xa(b=w.bindSubClick).call(b,es(w),"toggleToolbar")}],w.attachEventListeners(),w.shortcutKeyMaps=[{shortKey:"toggleToolbar",shortcutKey:"Ctrl-0"}],w}return Yr(o,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"bindSubClick",value:function(l,h,g,d){return g?this.onClick(h,l,d):this.onClick(h,l)}},{key:"togglePreviewBtn",value:function(l){var h=this,g=l?"previewClose":"preview",d=l?"previewClose":"togglePreview";if(this.subMenu){var b=document.querySelector('.cherry-dropdown[name="settings"]');if(b){var w=b.querySelector(".ch-icon-previewClose,.ch-icon-preview");w.classList.toggle("ch-icon-previewClose"),w.classList.toggle("ch-icon-preview"),w.title=this.locale[d],w.parentElement.innerHTML=w.parentElement.innerHTML.replace(/<\/i>.+$/,"".concat(this.locale[d]))}}else{var x;this.subMenuConfig=ss(x=this.subMenuConfig).call(x,function(C){var B;return C.iconName==="previewClose"||C.iconName==="preview"?{iconName:g,name:d,onclick:Xa(B=h.bindSubClick).call(B,h,"previewClose")}:C})}}},{key:"attachEventListeners",value:function(){var l=this;Ms.on(this.instanceId,Ms.Events.previewerClose,function(){l.togglePreviewBtn(!1)}),Ms.on(this.instanceId,Ms.Events.previewerOpen,function(){l.togglePreviewBtn(!0)})}},{key:"onClick",value:function(l){var h,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if((g=this.matchShortcutKey(g))==="classicBr"){var d,b=!oge();h=b,typeof localStorage<"u"&&localStorage.setItem("cherry-classicBr",h?"true":"false"),this.engine.$cherry.options.engine.global.classicBr=b,xa(d=this.engine.hookCenter.hookList.paragraph).call(d,function(x){x.classicBr=b});var w=this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-normal");w=w||this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-br"),b?(w.classList.replace("ch-icon-normal","ch-icon-br"),w.parentElement.childNodes[1].textContent=this.locale.classicBr):(w.classList.replace("ch-icon-br","ch-icon-normal"),w.parentElement.childNodes[1].textContent=this.locale.normalBr),this.engine.$cherry.previewer.update(""),this.engine.$cherry.initText(this.engine.$cherry.editor.editor)}else g==="previewClose"?this.editor.previewer.isPreviewerHidden()?this.editor.previewer.recoverPreviewer(!0):this.editor.previewer.editOnly(!0):g==="toggleToolbar"&&this.toggleToolbar();return l}},{key:"matchShortcutKey",value:function(l){var h,g=_ee(h=this.shortcutKeyMaps).call(h,function(d){return d.shortcutKey===l});return g!==void 0?g.shortKey:l}},{key:"toggleToolbar",value:function(){var l=this.engine.$cherry.wrapperDom;if(l instanceof HTMLDivElement){var h,g=this.engine.$cherry.toolbar.instanceId;xl(h=l.className).call(h,"cherry--no-toolbar")>-1?(l.classList.remove("cherry--no-toolbar"),Ms.emit(g,Ms.Events.toolbarShow)):(l.classList.add("cherry--no-toolbar"),Ms.emit(g,Ms.Events.toolbarHide))}}},{key:"shortcutKeys",get:function(){var l;return ss(l=this.shortcutKeyMaps).call(l,function(h){return h.shortcutKey})}}]),o}();function H6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var $6n=function(r){aa(o,Is);var i=H6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("underline","underline"),h}return Yr(o,[{key:"$testIsUnderline",value:function(l){return/^\s*(\/)[\s\S]+(\1)/.test(l)}},{key:"onClick",value:function(l){var h=this,g=l||this.locale.underline;return this.isSelections||this.$testIsUnderline(g)||this.getMoreSelection(" /","/ ",function(){var d=h.editor.editor.getSelection(),b=h.$testIsUnderline(d);return b&&(g=d),b}),this.$testIsUnderline(g)?g.replace(/(^)(\s*)(\/)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb(function(){h.setLessSelection(" /","/ ")}),g.replace(/(^)([^\n]+)($)/gm,"$1 /$2/ $3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-u"]}}]),o}();function j6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var K6n=function(r){aa(o,Is);var i=j6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("switchPreview"),h.instanceId=l.instanceId,h.attachEventListeners(),h}return Yr(o,[{key:"attachEventListeners",value:function(){var l=this;Ms.on(this.instanceId,Ms.Events.toolbarHide,function(){l.dom.textContent=l.locale.switchEdit}),Ms.on(this.instanceId,Ms.Events.toolbarShow,function(){l.dom.textContent=l.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)}}]),o}();function z6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var X6n=function(r){aa(o,Is);var i=z6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("image","image"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x,C=this.getAndCleanCacheOnce(),B=C.name,L=C.url,M=C.params,P="](".concat(L,")");this.registerAfterClickCb(function(){b.setLessSelection("![",P)});var z=M.name?M.name:B;return rt(w=rt(x="".concat("![").concat(z)).call(x,kpe(M))).call(w,P)}var W=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.image)!==null&&h!==void 0?h:"*";return zj(this.editor,"image",W,function(Q,V,oe){b.setCacheOnce({name:Q,url:V,params:oe}),b.fire(null)}),this.updateMarkdown=!1,l}},{key:"shortcutKeys",get:function(){return["Ctrl-g"]}}]),o}();function G6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var V6n=function(r){aa(o,Is);var i=G6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("audio","video"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x,C=this.getAndCleanCacheOnce(),B=C.name,L=C.url,M=C.params,P="!audio[",z="](".concat(L,")");this.registerAfterClickCb(function(){b.setLessSelection(P,z)});var W=M.name?M.name:B;return rt(w=rt(x="".concat(P).concat(W)).call(x,kpe(M))).call(w,z)}var Q=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.audio)!==null&&h!==void 0?h:"*";return zj(this.editor,"audio",Q,function(V,oe,G){b.setCacheOnce({name:V,url:oe,params:G}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function W6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var q6n=function(r){aa(o,Is);var i=W6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("video","video"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x,C,B=this.getAndCleanCacheOnce(),L=B.name,M=B.url,P=B.params,z="!video[",W=P.poster?rt(w="](".concat(M,"){poster=")).call(w,P.poster,"}"):"](".concat(M,")");this.registerAfterClickCb(function(){b.setLessSelection(z,W)});var Q=P.name?P.name:L;return rt(x=rt(C="".concat(z).concat(Q)).call(C,kpe(P))).call(x,W)}var V=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.video)!==null&&h!==void 0?h:"*";return zj(this.editor,"video",V,function(oe,G,ae){b.setCacheOnce({name:oe,url:G,params:ae}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function Y6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var J6n=function(r){aa(o,Is);var i=Y6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("br","br"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,"
    ")}}]),o}();function Z6n(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var exn=function(r){aa(o,Is);var i=Z6n(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("hr","line"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,` --- -`)}}]),o}(),nxn=function(){function r(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qr(this,r),gi(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:` +`)}}]),o}(),txn=function(){function r(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qr(this,r),gi(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 \\\\ @@ -396,40 +396,40 @@ A_{m\\times n}= \\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}`}]}}}}),gi(this,"showLatexLive",!0),pu(i).length&&(this.formulaConfig=i.templateConfig||this.formulaConfig,this.showLatexLive=i.showLatexLive),this.init(),this.initEventListeners()}return Yr(r,[{key:"afterClick",value:function(i){}},{key:"generateBubbleFormulaHtmlStr",value:function(){var i,o,l=Nee(this.formulaConfig||{}),h=ss(l).call(l,function(w,x){var C,B,L=gu(w,2),I=L[0],P=L[1].title;return rt(C=rt(B='
  • ')).call(C,P,"
  • ")}).join(""),g='
      '.concat(h,"
    "),d=ss(l).call(l,function(w,x){var C,B,L,I,P=gu(w,2),z=P[0],W=P[1],Q=(C=Nee((W==null?void 0:W.subCategory)||{}))===null||C===void 0?void 0:ss(C).call(C,function(V){var oe,G,ae,ne,de,Ae,le=gu(V,2),ve=le[0],me=le[1],ee=me==null||(oe=me.formulas)===null||oe===void 0?void 0:ss(oe).call(oe,function(Ee){var fe,ce;if(Ee.latex==="")return'
    '.concat(Ee.name,"
    ");var $e=Ee.img||"";return rt(fe=rt(ce='
    ')).call(fe,$e||Ee.name,"
    ")}).join(""),ye=rt(G='
    ')).call(G,ee,"
    "),Y=rt(ae='");return rt(ne=rt(de=rt(Ae='
    ')).call(de,Y)).call(ne,ye,"
    ")}).join("");return rt(B=rt(L=rt(I='
    ')).call(B,Q,"
    ")}).join(""),b=this.showLatexLive?'
    查看更多:www.latexlive.com
    ':"";return rt(i=rt(o="".concat(g)).call(o,d)).call(i,b)}},{key:"init",value:function(){pu(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(i){this.dom.style.removeProperty("display"),this.afterClick=i}},{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 i,o,l,h=this;(i=this.dom.querySelector(".cherry-insert-formula-tabs"))===null||i===void 0||i.addEventListener("click",Xa(o=this.handleClickFormulaTabs).call(o,this)),(l=this.dom.querySelectorAll(".cherry-insert-formula-categary__func-item"))===null||l===void 0||xa(l).call(l,function(g){var d;return g==null?void 0:g.addEventListener("click",Xa(d=h.handleClickFormulaSelect).call(d,h))})}},{key:"handleClickFormulaTabs",value:function(i){i.preventDefault(),i.stopPropagation();var o=i.target;if(o instanceof HTMLLIElement||o instanceof HTMLSpanElement){var l=o instanceof HTMLSpanElement?o.parentElement:o,h=l.dataset.name,g=document.querySelector(".cherry-insert-formula-select[data-name=".concat(h,"]")),d=document.querySelector(".cherry-insert-formula-tab.active"),b=document.querySelector(".cherry-insert-formula-select.active");d==null||d.classList.remove("active"),b==null||b.classList.remove("active"),l.classList.add("active"),g.classList.add("active")}}},{key:"handleClickFormulaSelect",value:function(i){i.preventDefault(),i.stopPropagation();var o=i.target;if(o instanceof HTMLElement){var l=o.dataset.formulaCode,h=l===void 0?"":l;this.afterClick(h),this.hide()}}}]),r}();function rxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var ixn=function(r){aa(o,Ms);var i=rxn(o);function o(l){var h,g,d,b;return qr(this,o),(b=i.call(this,l)).setName("formula","insertFormula"),b.subBubbleFormulaMenu=new nxn(l==null||(h=l.options)===null||h===void 0||(g=h.toolbars)===null||g===void 0||(d=g.config)===null||d===void 0?void 0:d.formula),l.editor.options.wrapperDom.appendChild(b.subBubbleFormulaMenu.dom),b.catchOnce="",b}return Yr(o,[{key:"onClick",value:function(l){var h=this;if(this.subBubbleFormulaMenu.isHide()||!this.hasCacheOnce()){var g=this.dom.getBoundingClientRect();return this.subBubbleFormulaMenu.dom.style.left="".concat(g.left+g.width,"px"),this.subBubbleFormulaMenu.dom.style.top="".concat(g.top+g.height,"px"),this.subBubbleFormulaMenu.show(function(d){var b,w,x=/\n/.test(d)?"".concat(/\n$/.test(l)?l:"".concat(l,` +\\end{vmatrix}`}]}}}}),gi(this,"showLatexLive",!0),pu(i).length&&(this.formulaConfig=i.templateConfig||this.formulaConfig,this.showLatexLive=i.showLatexLive),this.init(),this.initEventListeners()}return Yr(r,[{key:"afterClick",value:function(i){}},{key:"generateBubbleFormulaHtmlStr",value:function(){var i,o,l=Oee(this.formulaConfig||{}),h=ss(l).call(l,function(w,x){var C,B,L=gu(w,2),M=L[0],P=L[1].title;return rt(C=rt(B='
  • ')).call(C,P,"
  • ")}).join(""),g='
      '.concat(h,"
    "),d=ss(l).call(l,function(w,x){var C,B,L,M,P=gu(w,2),z=P[0],W=P[1],Q=(C=Oee((W==null?void 0:W.subCategory)||{}))===null||C===void 0?void 0:ss(C).call(C,function(V){var oe,G,ae,ne,de,Ae,le=gu(V,2),ve=le[0],me=le[1],ee=me==null||(oe=me.formulas)===null||oe===void 0?void 0:ss(oe).call(oe,function(Ee){var fe,ce;if(Ee.latex==="")return'
    '.concat(Ee.name,"
    ");var $e=Ee.img||"";return rt(fe=rt(ce='
    ')).call(fe,$e||Ee.name,"
    ")}).join(""),ye=rt(G='
    ')).call(G,ee,"
    "),Y=rt(ae='");return rt(ne=rt(de=rt(Ae='
    ')).call(de,Y)).call(ne,ye,"
    ")}).join("");return rt(B=rt(L=rt(M='
    ')).call(B,Q,"
    ")}).join(""),b=this.showLatexLive?'
    查看更多:www.latexlive.com
    ':"";return rt(i=rt(o="".concat(g)).call(o,d)).call(i,b)}},{key:"init",value:function(){pu(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(i){this.dom.style.removeProperty("display"),this.afterClick=i}},{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 i,o,l,h=this;(i=this.dom.querySelector(".cherry-insert-formula-tabs"))===null||i===void 0||i.addEventListener("click",Xa(o=this.handleClickFormulaTabs).call(o,this)),(l=this.dom.querySelectorAll(".cherry-insert-formula-categary__func-item"))===null||l===void 0||xa(l).call(l,function(g){var d;return g==null?void 0:g.addEventListener("click",Xa(d=h.handleClickFormulaSelect).call(d,h))})}},{key:"handleClickFormulaTabs",value:function(i){i.preventDefault(),i.stopPropagation();var o=i.target;if(o instanceof HTMLLIElement||o instanceof HTMLSpanElement){var l=o instanceof HTMLSpanElement?o.parentElement:o,h=l.dataset.name,g=document.querySelector(".cherry-insert-formula-select[data-name=".concat(h,"]")),d=document.querySelector(".cherry-insert-formula-tab.active"),b=document.querySelector(".cherry-insert-formula-select.active");d==null||d.classList.remove("active"),b==null||b.classList.remove("active"),l.classList.add("active"),g.classList.add("active")}}},{key:"handleClickFormulaSelect",value:function(i){i.preventDefault(),i.stopPropagation();var o=i.target;if(o instanceof HTMLElement){var l=o.dataset.formulaCode,h=l===void 0?"":l;this.afterClick(h),this.hide()}}}]),r}();function nxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var rxn=function(r){aa(o,Is);var i=nxn(o);function o(l){var h,g,d,b;return qr(this,o),(b=i.call(this,l)).setName("formula","insertFormula"),b.subBubbleFormulaMenu=new txn(l==null||(h=l.options)===null||h===void 0||(g=h.toolbars)===null||g===void 0||(d=g.config)===null||d===void 0?void 0:d.formula),l.editor.options.wrapperDom.appendChild(b.subBubbleFormulaMenu.dom),b.catchOnce="",b}return Yr(o,[{key:"onClick",value:function(l){var h=this;if(this.subBubbleFormulaMenu.isHide()||!this.hasCacheOnce()){var g=this.dom.getBoundingClientRect();return this.subBubbleFormulaMenu.dom.style.left="".concat(g.left+g.width,"px"),this.subBubbleFormulaMenu.dom.style.top="".concat(g.top+g.height,"px"),this.subBubbleFormulaMenu.show(function(d){var b,w,x=/\n/.test(d)?"".concat(/\n$/.test(l)?l:"".concat(l,` `),"$$"):"".concat(l," $ "),C=/\n/.test(d)?` -$$ `:" $ ";h.registerAfterClickCb(function(){h.setLessSelection(x,C)});var B=rt(b=rt(w="".concat(x)).call(w,d)).call(b,C);h.setCacheOnce(B),h.fire(null)}),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}},{key:"shortcutKeys",get:function(){return["Ctrl-m"]}}]),o}();function axn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var oxn=function(r){aa(o,Ms);var i=axn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("link","link"),h}return Yr(o,[{key:"onClick",value:function(l){var h;if(/^http/.test(l))return rt(h="[".concat(this.locale.link,"](")).call(h,l,")");var g=l||this.locale.link;return"[".concat(g,"](http://url.com) ")}},{key:"shortcutKeys",get:function(){return["Ctrl-l"]}}]),o}();function sxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var cxn=function(r){aa(o,Ms);var i=sxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("table","table"),h.subBubbleTableMenu=new SLt({row:9,col:9}),l.editor.options.wrapperDom.appendChild(h.subBubbleTableMenu.dom),h.catchOnce="",h}return Yr(o,[{key:"onClick",value:function(l){var h=this;if(this.subBubbleTableMenu.dom.style.display==="none"||!this.hasCacheOnce()){var g=this.dom.getBoundingClientRect();return this.subBubbleTableMenu.dom.style.left="".concat(g.left+g.width,"px"),this.subBubbleTableMenu.dom.style.top="".concat(g.top+g.height,"px"),this.subBubbleTableMenu.show(function(d,b){var w,x,C,B=e1(" Header |").call(" Header |",b),L=e1(" ------ |").call(" ------ |",b),I=` +$$ `:" $ ";h.registerAfterClickCb(function(){h.setLessSelection(x,C)});var B=rt(b=rt(w="".concat(x)).call(w,d)).call(b,C);h.setCacheOnce(B),h.fire(null)}),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}},{key:"shortcutKeys",get:function(){return["Ctrl-m"]}}]),o}();function ixn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var axn=function(r){aa(o,Is);var i=ixn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("link","link"),h}return Yr(o,[{key:"onClick",value:function(l){var h;if(/^http/.test(l))return rt(h="[".concat(this.locale.link,"](")).call(h,l,")");var g=l||this.locale.link;return"[".concat(g,"](http://url.com) ")}},{key:"shortcutKeys",get:function(){return["Ctrl-l"]}}]),o}();function oxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var sxn=function(r){aa(o,Is);var i=oxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("table","table"),h.subBubbleTableMenu=new _Lt({row:9,col:9}),l.editor.options.wrapperDom.appendChild(h.subBubbleTableMenu.dom),h.catchOnce="",h}return Yr(o,[{key:"onClick",value:function(l){var h=this;if(this.subBubbleTableMenu.dom.style.display==="none"||!this.hasCacheOnce()){var g=this.dom.getBoundingClientRect();return this.subBubbleTableMenu.dom.style.left="".concat(g.left+g.width,"px"),this.subBubbleTableMenu.dom.style.top="".concat(g.top+g.height,"px"),this.subBubbleTableMenu.show(function(d,b){var w,x,C,B=e1(" Header |").call(" Header |",b),L=e1(" ------ |").call(" ------ |",b),M=` |`.concat(e1(" Sample |").call(" Sample |",b)),P=rt(w=rt(x=rt(C="".concat(l,` |`)).call(C,B,` -|`)).call(x,L)).call(w,e1(I).call(I,d),` +|`)).call(x,L)).call(w,e1(M).call(M,d),` -`);h.setCacheOnce(P),h.fire(null)}),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}}]),o}();function lxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var uxn=function(r){aa(o,Ms);var i=lxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("toc","toc"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,` +`);h.setCacheOnce(P),h.fire(null)}),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}}]),o}();function cxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var lxn=function(r){aa(o,Is);var i=cxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("toc","toc"),h}return Yr(o,[{key:"onClick",value:function(l){return"".concat(l,` [[toc]] -`)}}]),o}();function hxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var fxn=function(r){aa(o,Ms);var i=hxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("lineTable","table"),h}return Yr(o,[{key:"onClick",value:function(l){var h;return rt(h="".concat(l,` +`)}}]),o}();function uxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var hxn=function(r){aa(o,Is);var i=uxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("lineTable","table"),h}return Yr(o,[{key:"onClick",value:function(l){var h;return rt(h="".concat(l,` `)).call(h,["| :line: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join(` `),` -`)}}]),o}();function dxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Axn=function(r){aa(o,Ms);var i=dxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("brTable","table"),h}return Yr(o,[{key:"onClick",value:function(l){var h;return rt(h="".concat(l,` +`)}}]),o}();function fxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var dxn=function(r){aa(o,Is);var i=fxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("brTable","table"),h}return Yr(o,[{key:"onClick",value:function(l){var h;return rt(h="".concat(l,` `)).call(h,["| :bar: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join(` `),` -`)}}]),o}();function gxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var pxn=function(r){aa(o,Ms);var i=gxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("pdf","pdf"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x=this.getAndCleanCacheOnce(),C=x.name,B=x.url,L=x.params,I="](".concat(B,")");this.registerAfterClickCb(function(){b.setLessSelection("[",I)});var P=L.name?L.name:C;return rt(w="".concat("[").concat(P)).call(w,I)}var z=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.pdf)!==null&&h!==void 0?h:"*";return Xj(this.editor,"pdf",z,function(W,Q,V){b.setCacheOnce({name:W,url:Q,params:V}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function mxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var bxn=function(r){aa(o,Ms);var i=mxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("file","phone"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x=this.getAndCleanCacheOnce(),C=x.name,B=x.url,L=x.params,I="](".concat(B,")");this.registerAfterClickCb(function(){b.setLessSelection("[",I)});var P=L.name?L.name:C;return rt(w="".concat("[").concat(P)).call(w,I)}var z=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.file)!==null&&h!==void 0?h:"*";return Xj(this.editor,"file",z,function(W,Q,V){b.setCacheOnce({name:W,url:Q,params:V}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function wxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var vxn=function(r){aa(o,Ms);var i=wxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("word","word"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x=this.getAndCleanCacheOnce(),C=x.name,B=x.url,L=x.params,I="](".concat(B,")");this.registerAfterClickCb(function(){b.setLessSelection("[",I)});var P=L.name?L.name:C;return rt(w="".concat("[").concat(P)).call(w,I)}var z=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.word)!==null&&h!==void 0?h:"*";return Xj(this.editor,"word",z,function(W,Q,V){b.setCacheOnce({name:W,url:Q,params:V}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function yxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var xxn=function(r){aa(o,Ms);var i=yxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("pinyin","pinyin"),h}return Yr(o,[{key:"$testIsRuby",value:function(l){return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(l)}},{key:"onClick",value:function(l){var h,g,d=this,b=Op(this.editor.editor,l)||"拼音";if(this.isSelections||this.$testIsRuby(b)||this.getMoreSelection(" { "," } ",function(){var x=d.editor.editor.getSelection(),C=d.$testIsRuby(x);return C&&(b=x),C}),this.$testIsRuby(b))return b.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1");var w=uo(h=this.editor.$cherry.options.callback.changeString2Pinyin(b)||"pin yin").call(h);return this.registerAfterClickCb(function(){d.setLessSelection(" { "," } ")}),rt(g=" { ".concat(b," | ")).call(g,w," } ")}}]),o}();function kxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Cxn=function(r){aa(o,Ms);var i=kxn(o);function o(l){var h,g;qr(this,o),(g=i.call(this,l)).setName("theme","insertChart"),g.subMenuConfig=[];var d=es(g);return xa(h=l.options.theme).call(h,function(b){var w;d.subMenuConfig.push({iconName:b.className,name:b.label,onclick:Xa(w=d.bindSubClick).call(w,d,b.className)})}),g}return Yr(o,[{key:"onClick",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return z_t(this.$cherry,h),this.updateMarkdown=!1,""}}]),o}();function Exn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Txn=function(r){aa(o,Ms);var i=Exn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("wordCount","wordCount"),h.noIcon=!0,h.countState=0,h.countEvent=new Event("count"),h}return Yr(o,[{key:"onClick",value:function(l){var h=this,g=document.querySelector(".cherry-toolbar-button.cherry-toolbar-wordCount");if(this.countState===0){g.addEventListener("count",function(){var b=h.$cherry.getMarkdown(),w=h.wordCount(b),x=w.characters,C=w.words,B=w.paragraphs;h.countState===1?g.innerHTML="P ".concat(B):h.countState===2?g.innerHTML="W ".concat(C):g.innerHTML="C ".concat(x)});var d=null;this.editor.editor.on("change",function(){d&&clearTimeout(d),d=Z0(function(){g.dispatchEvent(h.countEvent),d=null},500)})}return this.countState=(this.countState+1)%3+1,g.dispatchEvent(this.countEvent),l}},{key:"wordCount",value:function(l){var h,g,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,b=l.replace(/\n|\s/g,"").length,w=(l.match(d)||[]).length+t1(h=l.replace(d," ").split(/[\s\n]+/)).call(h,Boolean).length,x=t1(g=l.split(/\n{2,}/)).call(g,function(C){return uo(C).call(C)!==""}).length;return{characters:b,words:w,paragraphs:x}}}]),o}();function Bxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var _xn=function(r){aa(o,Ms);var i=Bxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).previewer=l.previewer,h.updateMarkdown=!1,h.setName("mobilePreview","phone"),h}return Yr(o,[{key:"onClick",value:function(){this.previewer.removeScroll();var l=this.previewer.getDomContainer();this.previewer.isMobilePreview?l.parentNode.innerHTML=l.innerHTML:l.innerHTML="
    ".concat(l.innerHTML,"
    "),this.previewer.isMobilePreview=!this.previewer.isMobilePreview,this.previewer.bindScroll()}}]),o}(),CQe=vLt;function Sxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Lxn=function(r){aa(l,Ms);var i,o=Sxn(l);function l(h){var g;return qr(this,l),(g=o.call(this,h)).previewer=h.previewer,g.isLoading=!1,g.updateMarkdown=!1,g.setName("copy","copy"),g}return Yr(l,[{key:"adaptWechat",value:(i=yLt(Cj.mark(function h(g){var d,b,w,x,C;return Cj.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return d=/(
    .*?<\/figure>)/g,b=g.replace(d,function(L,I,P,z){var W,Q;return rt(W=rt(Q="".concat(I,"p")).call(Q,P,"p")).call(W,z)}),w=/()/g,x=[],b.replace(w,function(L,I,P){x.push(Ixn(P))}),B.next=7,CQe.all(x);case 7:return C=B.sent,B.abrupt("return",b.replace(w,function(L,I,P,z){return I+C.shift()+z}));case 9:case"end":return B.stop()}},h)})),function(h){return i.apply(this,arguments)})},{key:"getStyleFromSheets",value:function(h){var g,d=t1(g=yl(document.styleSheets)).call(g,function(b){var w;return b.cssRules[0]&&xl(w=b.cssRules[0].cssText).call(w,h)>-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(h){var g=this;this.toggleLoading();var d=document.querySelector(".cherry").getAttribute("data-inline-code-theme"),b=document.querySelector(".cherry").getAttribute("data-code-block-theme"),w=this.computeStyle(),x=w.mathStyle,C=w.echartStyle,B=w.cherryStyle,L=this.previewer.isPreviewerHidden()?this.previewer.options.previewerCache.html:this.previewer.getValue();this.adaptWechat(L).then(function(I){var P,z,W;ELt(rt(P=rt(z=rt(W="".concat(x+C+B,` +`)}}]),o}();function Axn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var gxn=function(r){aa(o,Is);var i=Axn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("pdf","pdf"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x=this.getAndCleanCacheOnce(),C=x.name,B=x.url,L=x.params,M="](".concat(B,")");this.registerAfterClickCb(function(){b.setLessSelection("[",M)});var P=L.name?L.name:C;return rt(w="".concat("[").concat(P)).call(w,M)}var z=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.pdf)!==null&&h!==void 0?h:"*";return zj(this.editor,"pdf",z,function(W,Q,V){b.setCacheOnce({name:W,url:Q,params:V}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function pxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var mxn=function(r){aa(o,Is);var i=pxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("file","phone"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x=this.getAndCleanCacheOnce(),C=x.name,B=x.url,L=x.params,M="](".concat(B,")");this.registerAfterClickCb(function(){b.setLessSelection("[",M)});var P=L.name?L.name:C;return rt(w="".concat("[").concat(P)).call(w,M)}var z=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.file)!==null&&h!==void 0?h:"*";return zj(this.editor,"file",z,function(W,Q,V){b.setCacheOnce({name:W,url:Q,params:V}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function bxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var wxn=function(r){aa(o,Is);var i=bxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("word","word"),h}return Yr(o,[{key:"onClick",value:function(l){var h,g,d,b=this;if(this.hasCacheOnce()){var w,x=this.getAndCleanCacheOnce(),C=x.name,B=x.url,L=x.params,M="](".concat(B,")");this.registerAfterClickCb(function(){b.setLessSelection("[",M)});var P=L.name?L.name:C;return rt(w="".concat("[").concat(P)).call(w,M)}var z=(h=(g=this.$cherry.options)===null||g===void 0||(d=g.fileTypeLimitMap)===null||d===void 0?void 0:d.word)!==null&&h!==void 0?h:"*";return zj(this.editor,"word",z,function(W,Q,V){b.setCacheOnce({name:W,url:Q,params:V}),b.fire(null)}),this.updateMarkdown=!1,l}}]),o}();function vxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var yxn=function(r){aa(o,Is);var i=vxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("pinyin","pinyin"),h}return Yr(o,[{key:"$testIsRuby",value:function(l){return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(l)}},{key:"onClick",value:function(l){var h,g,d=this,b=Dp(this.editor.editor,l)||"拼音";if(this.isSelections||this.$testIsRuby(b)||this.getMoreSelection(" { "," } ",function(){var x=d.editor.editor.getSelection(),C=d.$testIsRuby(x);return C&&(b=x),C}),this.$testIsRuby(b))return b.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1");var w=uo(h=this.editor.$cherry.options.callback.changeString2Pinyin(b)||"pin yin").call(h);return this.registerAfterClickCb(function(){d.setLessSelection(" { "," } ")}),rt(g=" { ".concat(b," | ")).call(g,w," } ")}}]),o}();function xxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var kxn=function(r){aa(o,Is);var i=xxn(o);function o(l){var h,g;qr(this,o),(g=i.call(this,l)).setName("theme","insertChart"),g.subMenuConfig=[];var d=es(g);return xa(h=l.options.theme).call(h,function(b){var w;d.subMenuConfig.push({iconName:b.className,name:b.label,onclick:Xa(w=d.bindSubClick).call(w,d,b.className)})}),g}return Yr(o,[{key:"onClick",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return K_t(this.$cherry,h),this.updateMarkdown=!1,""}}]),o}();function Cxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Exn=function(r){aa(o,Is);var i=Cxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("wordCount","wordCount"),h.noIcon=!0,h.countState=0,h.countEvent=new Event("count"),h}return Yr(o,[{key:"onClick",value:function(l){var h=this,g=document.querySelector(".cherry-toolbar-button.cherry-toolbar-wordCount");if(this.countState===0){g.addEventListener("count",function(){var b=h.$cherry.getMarkdown(),w=h.wordCount(b),x=w.characters,C=w.words,B=w.paragraphs;h.countState===1?g.innerHTML="P ".concat(B):h.countState===2?g.innerHTML="W ".concat(C):g.innerHTML="C ".concat(x)});var d=null;this.editor.editor.on("change",function(){d&&clearTimeout(d),d=Z0(function(){g.dispatchEvent(h.countEvent),d=null},500)})}return this.countState=(this.countState+1)%3+1,g.dispatchEvent(this.countEvent),l}},{key:"wordCount",value:function(l){var h,g,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,b=l.replace(/\n|\s/g,"").length,w=(l.match(d)||[]).length+t1(h=l.replace(d," ").split(/[\s\n]+/)).call(h,Boolean).length,x=t1(g=l.split(/\n{2,}/)).call(g,function(C){return uo(C).call(C)!==""}).length;return{characters:b,words:w,paragraphs:x}}}]),o}();function Txn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Bxn=function(r){aa(o,Is);var i=Txn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).previewer=l.previewer,h.updateMarkdown=!1,h.setName("mobilePreview","phone"),h}return Yr(o,[{key:"onClick",value:function(){this.previewer.removeScroll();var l=this.previewer.getDomContainer();this.previewer.isMobilePreview?l.parentNode.innerHTML=l.innerHTML:l.innerHTML="
    ".concat(l.innerHTML,"
    "),this.previewer.isMobilePreview=!this.previewer.isMobilePreview,this.previewer.bindScroll()}}]),o}(),kQe=wLt;function _xn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Sxn=function(r){aa(l,Is);var i,o=_xn(l);function l(h){var g;return qr(this,l),(g=o.call(this,h)).previewer=h.previewer,g.isLoading=!1,g.updateMarkdown=!1,g.setName("copy","copy"),g}return Yr(l,[{key:"adaptWechat",value:(i=vLt(kj.mark(function h(g){var d,b,w,x,C;return kj.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return d=/(
    .*?<\/figure>)/g,b=g.replace(d,function(L,M,P,z){var W,Q;return rt(W=rt(Q="".concat(M,"p")).call(Q,P,"p")).call(W,z)}),w=/()/g,x=[],b.replace(w,function(L,M,P){x.push(Lxn(P))}),B.next=7,kQe.all(x);case 7:return C=B.sent,B.abrupt("return",b.replace(w,function(L,M,P,z){return M+C.shift()+z}));case 9:case"end":return B.stop()}},h)})),function(h){return i.apply(this,arguments)})},{key:"getStyleFromSheets",value:function(h){var g,d=t1(g=yl(document.styleSheets)).call(g,function(b){var w;return b.cssRules[0]&&xl(w=b.cssRules[0].cssText).call(w,h)>-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(h){var g=this;this.toggleLoading();var d=document.querySelector(".cherry").getAttribute("data-inline-code-theme"),b=document.querySelector(".cherry").getAttribute("data-code-block-theme"),w=this.computeStyle(),x=w.mathStyle,C=w.echartStyle,B=w.cherryStyle,L=this.previewer.isPreviewerHidden()?this.previewer.options.previewerCache.html:this.previewer.getValue();this.adaptWechat(L).then(function(M){var P,z,W;CLt(rt(P=rt(z=rt(W="".concat(x+C+B,`
    -
    `)).call(P,I,`
    -
    `)),g.toggleLoading()})}}]),l}();function Ixn(r,i,o){return new CQe(function(l){var h=document.createElement("CANVAS"),g=h.getContext("2d"),d=new Image;d.crossOrigin="Anonymous",d.onload=function(){h.height=d.height,h.width=d.width,g.drawImage(d,0,0);var b=h.toDataURL(o||"image/png");l(b),h=null},d.src=r})}function Mxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var LLt=function(r){aa(o,Ms);var i=Mxn(o);function o(l){var h,g,d,b,w,x;return qr(this,o),(x=i.call(this,l)).setName("panel","tips"),x.panelRule=fQe().reg,x.subMenuConfig=[{iconName:"tips",name:"tips",onclick:Xa(h=x.bindSubClick).call(h,es(x),"primary")},{iconName:"info",name:"info",onclick:Xa(g=x.bindSubClick).call(g,es(x),"info")},{iconName:"warning",name:"warning",onclick:Xa(d=x.bindSubClick).call(d,es(x),"warning")},{iconName:"danger",name:"danger",onclick:Xa(b=x.bindSubClick).call(b,es(x),"danger")},{iconName:"success",name:"success",onclick:Xa(w=x.bindSubClick).call(w,es(x),"success")}],x}return Yr(o,[{key:"$getNameFromStr",value:function(l){var h=!1;return this.panelRule.lastIndex=0,l.replace(this.panelRule,function(g,d,b,w){var x=/\s/.test(uo(b).call(b))?uo(b).call(b).replace(/\s.*$/,""):b;return h=x?uo(x).call(x).toLowerCase():"",g}),h}},{key:"$getTitle",value:function(l){return this.panelRule.lastIndex=0,l.replace(this.panelRule,function(h,g,d,b){var w=uo(d).call(d);return/\s/.test(w)?w.replace(/[^\s]+\s/,""):""}),""}},{key:"onClick",value:function(l){var h,g,d=this,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",w=Op(this.editor.editor,l,"line",!0)||"内容",x=this.$getNameFromStr(w),C=this.$getTitle(w);return x===!1&&this.getMoreSelection("::: ",` -`,function(){var B=d.editor.editor.getSelection(),L=d.$getNameFromStr(B);return L!==!1&&(w=B,x=L,C=d.$getTitle(B)),L!==!1}),x!==!1?x===b?(this.panelRule.lastIndex=0,w.replace(this.panelRule,function(B,L,I,P){var z,W=uo(I).call(I),Q=/\s/.test(W)?W.replace(/[^\s]+\s/,""):"";return rt(z="".concat(Q,` +
    `)).call(P,M,`
    + `)),g.toggleLoading()})}}]),l}();function Lxn(r,i,o){return new kQe(function(l){var h=document.createElement("CANVAS"),g=h.getContext("2d"),d=new Image;d.crossOrigin="Anonymous",d.onload=function(){h.height=d.height,h.width=d.width,g.drawImage(d,0,0);var b=h.toDataURL(o||"image/png");l(b),h=null},d.src=r})}function Mxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var SLt=function(r){aa(o,Is);var i=Mxn(o);function o(l){var h,g,d,b,w,x;return qr(this,o),(x=i.call(this,l)).setName("panel","tips"),x.panelRule=hQe().reg,x.subMenuConfig=[{iconName:"tips",name:"tips",onclick:Xa(h=x.bindSubClick).call(h,es(x),"primary")},{iconName:"info",name:"info",onclick:Xa(g=x.bindSubClick).call(g,es(x),"info")},{iconName:"warning",name:"warning",onclick:Xa(d=x.bindSubClick).call(d,es(x),"warning")},{iconName:"danger",name:"danger",onclick:Xa(b=x.bindSubClick).call(b,es(x),"danger")},{iconName:"success",name:"success",onclick:Xa(w=x.bindSubClick).call(w,es(x),"success")}],x}return Yr(o,[{key:"$getNameFromStr",value:function(l){var h=!1;return this.panelRule.lastIndex=0,l.replace(this.panelRule,function(g,d,b,w){var x=/\s/.test(uo(b).call(b))?uo(b).call(b).replace(/\s.*$/,""):b;return h=x?uo(x).call(x).toLowerCase():"",g}),h}},{key:"$getTitle",value:function(l){return this.panelRule.lastIndex=0,l.replace(this.panelRule,function(h,g,d,b){var w=uo(d).call(d);return/\s/.test(w)?w.replace(/[^\s]+\s/,""):""}),""}},{key:"onClick",value:function(l){var h,g,d=this,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",w=Dp(this.editor.editor,l,"line",!0)||"内容",x=this.$getNameFromStr(w),C=this.$getTitle(w);return x===!1&&this.getMoreSelection("::: ",` +`,function(){var B=d.editor.editor.getSelection(),L=d.$getNameFromStr(B);return L!==!1&&(w=B,x=L,C=d.$getTitle(B)),L!==!1}),x!==!1?x===b?(this.panelRule.lastIndex=0,w.replace(this.panelRule,function(B,L,M,P){var z,W=uo(M).call(M),Q=/\s/.test(W)?W.replace(/[^\s]+\s/,""):"";return rt(z="".concat(Q,` `)).call(z,P)})):(this.registerAfterClickCb(function(){d.setLessSelection("::: ",` -`)}),this.panelRule.lastIndex=0,w.replace(this.panelRule,function(B,L,I,P){var z,W,Q=uo(I).call(I),V=/\s/.test(Q)?Q.replace(/[^\s]+\s/,""):"";return rt(z=rt(W="::: ".concat(b," ")).call(W,V,` +`)}),this.panelRule.lastIndex=0,w.replace(this.panelRule,function(B,L,M,P){var z,W,Q=uo(M).call(M),V=/\s/.test(Q)?Q.replace(/[^\s]+\s/,""):"";return rt(z=rt(W="::: ".concat(b," ")).call(W,V,` `)).call(z,P.replace(/\n+$/,""),` :::`)})):(this.registerAfterClickCb(function(){d.setLessSelection("::: ",` `)}),w=w.replace(/^\n+/,""),/\n/.test(w)?C||(C=w.replace(/\n[\w\W]+$/,""),w=w.replace(/^[^\n]+\n/,"")):C=C||"标题",rt(h=rt(g="::: ".concat(b," ")).call(g,C,` `)).call(h,w,` :::`).replace(/\n{2,}:::/g,` -:::`))}}]),o}();function Fxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Dxn=function(r){aa(o,LLt);var i=Fxn(o);function o(l){var h,g,d,b,w,x,C;qr(this,o),(C=i.call(this,l)).setName("justify","justify"),C.panelRule=fQe().reg;var B=C.$cherry.locale;return C.subMenuConfig=[{iconName:"justifyLeft",name:(h=B==null?void 0:B.justifyLeft)!==null&&h!==void 0?h:"左对齐",onclick:Xa(g=C.bindSubClick).call(g,es(C),"left")},{iconName:"justifyCenter",name:(d=B==null?void 0:B.justifyCenter)!==null&&d!==void 0?d:"居中",onclick:Xa(b=C.bindSubClick).call(b,es(C),"center")},{iconName:"justifyRight",name:(w=B==null?void 0:B.justifyRight)!==null&&w!==void 0?w:"右对齐",onclick:Xa(x=C.bindSubClick).call(x,es(C),"right")}],C}return Yr(o,[{key:"$getTitle",value:function(){return" "}}]),o}();function Oxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Nxn=function(r){aa(o,Ms);var i=Oxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("detail","insertFlow"),h.detailRule=K_t().reg,h}return Yr(o,[{key:"onClick",value:function(l){var h,g=this,d=Op(this.editor.editor,l,"line",!0)||`点击展开更多 +:::`))}}]),o}();function Ixn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Fxn=function(r){aa(o,SLt);var i=Ixn(o);function o(l){var h,g,d,b,w,x,C;qr(this,o),(C=i.call(this,l)).setName("justify","justify"),C.panelRule=hQe().reg;var B=C.$cherry.locale;return C.subMenuConfig=[{iconName:"justifyLeft",name:(h=B==null?void 0:B.justifyLeft)!==null&&h!==void 0?h:"左对齐",onclick:Xa(g=C.bindSubClick).call(g,es(C),"left")},{iconName:"justifyCenter",name:(d=B==null?void 0:B.justifyCenter)!==null&&d!==void 0?d:"居中",onclick:Xa(b=C.bindSubClick).call(b,es(C),"center")},{iconName:"justifyRight",name:(w=B==null?void 0:B.justifyRight)!==null&&w!==void 0?w:"右对齐",onclick:Xa(x=C.bindSubClick).call(x,es(C),"right")}],C}return Yr(o,[{key:"$getTitle",value:function(){return" "}}]),o}();function Dxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Oxn=function(r){aa(o,Is);var i=Dxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("detail","insertFlow"),h.detailRule=j_t().reg,h}return Yr(o,[{key:"onClick",value:function(l){var h,g=this,d=Dp(this.editor.editor,l,"line",!0)||`点击展开更多 内容 ++- 默认展开 内容 @@ -440,41 +440,41 @@ $$ `:" $ ";h.registerAfterClickCb(function(){h.setLessSelection(x,C)});var B=rt( `)).call(h,d)),this.registerAfterClickCb(function(){g.setLessSelection("+++ ",` `)}),"+++ ".concat(d,` +++`).replace(/\n{2,}\+\+\+/g,` -+++`))}}]),o}();function Qxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Pxn=function(r){aa(o,Ms);var i=Qxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("draw.io","draw.io"),h.noIcon=!0,h.drawioIframeUrl=l.options.drawioIframeUrl,h}return Yr(o,[{key:"onClick",value:function(l){var h=this;if(!this.drawioIframeUrl)return l;if(this.hasCacheOnce()){var g,d=this.getAndCleanCacheOnce(),b=d.xmlData,w=d.base64,x=rt(g="](".concat(w,"){data-type=drawio data-xml=")).call(g,encodeURI(b),"}");return this.registerAfterClickCb(function(){h.setLessSelection("![",x)}),"".concat("![","在预览区点击图片重新编辑draw.io").concat(x)}return TLt(this.drawioIframeUrl,"",function(C){h.setCacheOnce(C),h.fire(null)}),this.updateMarkdown=!1,l}}]),o}(),mkt={bold:Q5n,italic:R5n,"|":H5n,strikethrough:j5n,sub:z5n,sup:G5n,header:J5n,insert:t6n,list:r6n,ol:a6n,ul:s6n,checklist:l6n,graph:d6n,size:g6n,h1:m6n,h2:w6n,h3:y6n,color:W5n,quote:k6n,quickTable:E6n,togglePreview:B6n,code:O6n,codeTheme:Q6n,export:R6n,settings:H6n,fullScreen:S6n,mobilePreview:_xn,copy:Lxn,undo:I6n,redo:F6n,underline:j6n,switchModel:z6n,image:G6n,audio:W6n,video:Y6n,br:Z6n,hr:txn,formula:ixn,link:oxn,table:cxn,toc:uxn,lineTable:fxn,barTable:Axn,pdf:pxn,word:vxn,ruby:xxn,theme:Cxn,file:bxn,panel:LLt,justify:Dxn,detail:Nxn,drawIo:Pxn,wordCount:Txn},Rxn=function(){function r(i){qr(this,r),this.toolbar=i,this.hooks={},this.allMenusName=[],this.level1MenusName=[],this.level2MenusName={},this.init()}return Yr(r,[{key:"$newMenu",value:function(i){if(!this.hooks[i]){var o=this.toolbar.options,l=o.$cherry,h=o.customMenu;mkt[i]?(this.allMenusName.push(i),this.hooks[i]=new mkt[i](l)):h!=null&&h[i]&&(this.allMenusName.push(i),this.hooks[i]=new h[i](l))}}},{key:"init",value:function(){var i=this,o=this.toolbar.options.buttonConfig;xa(o).call(o,function(l){if(typeof l=="string")i.level1MenusName.push(l),i.$newMenu(l);else if(Vc(l)==="object"){var h=pu(l);if(h.length===1){var g,d=gu(h,1)[0];i.level1MenusName.push(d),i.$newMenu(d),i.level2MenusName[d]=l[d],xa(g=l[d]).call(g,function(b){i.$newMenu(b)})}}})}}]),r}(),wte=function(){function r(i){qr(this,r),gi(this,"toolbarHandlers",{}),this.menus={},this.shortcutKeyMap={},this.subMenus={},this.options={dom:document.createElement("div"),buttonConfig:["bold"],customMenu:[]},BB(this.options,i),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.instanceId,this.menus=new Rxn(this),this.drawMenus(),this.collectShortcutKey(),this.collectToolbarHandler(),this.init()}return Yr(r,[{key:"init",value:function(){var i=this;Is.on(this.instanceId,Is.Events.cleanAllSubMenus,function(){return i.hideAllSubMenu()})}},{key:"previewOnly",value:function(){this.options.dom.classList.add("preview-only"),this.$cherry.wrapperDom.classList.add("cherry--no-toolbar"),Is.emit(this.instanceId,Is.Events.toolbarHide)}},{key:"showToolbar",value:function(){this.options.dom.classList.remove("preview-only"),this.$cherry.wrapperDom.classList.remove("cherry--no-toolbar"),Is.emit(this.instanceId,Is.Events.toolbarShow)}},{key:"isHasLevel2Menu",value:function(i){return this.menus.level2MenusName[i]}},{key:"isHasConfigMenu",value:function(i){return this.menus.hooks[i].subMenuConfig||[]}},{key:"isHasSubMenu",value:function(i){return!!(this.isHasLevel2Menu(i)||this.isHasConfigMenu(i).length>0)}},{key:"drawMenus",value:function(){var i,o=this,l=document.createDocumentFragment();xa(i=this.menus.level1MenusName).call(i,function(h){var g=o.menus.hooks[h].createBtn();(typeof window>"u"?"undefined":Vc(window))==="object"&&"onpointerup"in window?(g.addEventListener("pointerdown",function(){o.isPointerDown=!0},!1),g.addEventListener("pointerup",function(d){o.isPointerDown&&o.onClick(d,h),o.isPointerDown=!1},!1)):g.addEventListener("click",function(d){o.onClick(d,h)},!1),o.isHasSubMenu(h)&&g.classList.add("cherry-toolbar-dropdown"),l.appendChild(g)}),this.appendMenusToDom(l)}},{key:"appendMenusToDom",value:function(i){var o=Jl("div","toolbar-left");o.appendChild(i),this.options.dom.appendChild(o)}},{key:"setSubMenuPosition",value:function(i,o){var l=i.getMenuPosition();o.style.left="".concat(l.left+l.width/2,"px"),o.style.top="".concat(l.top+l.height,"px"),o.style.position=i.positionModel}},{key:"drawSubMenus",value:function(i){var o=this;this.subMenus[i]=Jl("div","cherry-dropdown",{name:i}),this.setSubMenuPosition(this.menus.hooks[i],this.subMenus[i]);var l=this.isHasLevel2Menu(i);l&&xa(l).call(l,function(g){var d=o.menus.hooks[g];if(d!==void 0&&typeof d.createBtn=="function"){var b=d.createBtn(!0);d.dom=d.dom?d.dom:o.menus.hooks[i].dom,b.addEventListener("click",function(w){return o.onClick(w,g,!0)},!1),o.subMenus[i].appendChild(b)}});var h=this.isHasConfigMenu(i);h.length>0&&xa(h).call(h,function(g){var d=o.menus.hooks[i].createSubBtnByConfig(g);d.addEventListener("click",function(){return o.hideAllSubMenu()},!1),o.subMenus[i].appendChild(d)}),this.$cherry.wrapperDom.appendChild(this.subMenus[i])}},{key:"onClick",value:function(i,o){var l=arguments.length>2&&arguments[2]!==void 0&&arguments[2],h=this.menus.hooks[o];h&&(this.isHasSubMenu(o)&&!l?this.toggleSubMenu(o):(this.hideAllSubMenu(),h.fire(i,o)))}},{key:"toggleSubMenu",value:function(i){if(!this.subMenus[i])return this.hideAllSubMenu(),this.drawSubMenus(i),void(this.subMenus[i].style.display="block");this.subMenus[i].style.display==="none"?(this.hideAllSubMenu(),this.subMenus[i].style.display="block",this.setSubMenuPosition(this.menus.hooks[i],this.subMenus[i])):this.subMenus[i].style.display="none"}},{key:"hideAllSubMenu",value:function(){var i;xa(i=this.$cherry.wrapperDom.querySelectorAll(".cherry-dropdown")).call(i,function(o){o.style.display="none"})}},{key:"collectMenuInfo",value:function(i){this.toolbarHandlers=BB({},this.toolbarHandlers,i.toolbarHandlers),this.menus.hooks=BB({},i.menus.hooks,this.menus.hooks),(!this.options.shortcutKey||pu(this.options.shortcutKey).length<=0)&&(this.shortcutKeyMap=BB({},this.shortcutKeyMap,i.shortcutKeyMap))}},{key:"collectShortcutKey",value:function(){var i,o=this;this.options.shortcutKey&&pu(this.options.shortcutKey).length>0?this.shortcutKeyMap=this.options.shortcutKey:xa(i=this.menus.allMenusName).call(i,function(l){var h;(h=o.menus.hooks[l].shortcutKeys)===null||h===void 0||xa(h).call(h,function(g){o.shortcutKeyMap[g]=l})})}},{key:"collectToolbarHandler",value:function(){var i,o=this;this.toolbarHandlers=KB(i=this.menus.allMenusName).call(i,function(l,h){var g=o.menus.hooks[h];return g&&(l[h]=function(d,b){typeof b=="function"&&Y2.warn("MenuBase#onClick param callback is no longer supported. Please register the callback via MenuBase#registerAfterClickCb instead."),g.fire.call(g,void 0,d)}),l},{})}},{key:"matchShortcutKey",value:function(i){return!!this.shortcutKeyMap[this.getCurrentKey(i)]}},{key:"fireShortcutKey",value:function(i){var o,l=this.getCurrentKey(i);(o=this.menus.hooks[this.shortcutKeyMap[l]])===null||o===void 0||o.fire(i,l)}},{key:"getCurrentKey",value:function(i){var o="";return i.ctrlKey&&(o+="Ctrl-"),i.altKey&&(o+="Alt-"),i.metaKey&&D5n&&(o+="Ctrl-"),i.shiftKey&&(o+="Shift-"),i.key&&i.key.toLowerCase()!=="shift"&&(o+=i.key.toLowerCase()),o}}]),r}();function Uxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var ILt=function(r){aa(o,wte);var i=Uxn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"visible",get:function(){var l=window.getComputedStyle(this.bubbleDom);return l.display!=="none"&&l.visibility!=="hidden"},set:function(l){var h=window.getComputedStyle(this.bubbleDom);l?h.display==="none"&&(this.bubbleDom.style.display=o.displayType):h.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(l){this.options.dom.appendChild(l)}},{key:"getScrollTop",value:function(){return this.options.editor.editor.getScrollInfo().top}},{key:"updatePositionWhenScroll",value:function(){this.bubbleDom.style.display===o.displayType&&(this.bubbleDom.style.marginTop="".concat(Ip(this.bubbleDom.dataset.scrollTop)-this.getScrollTop(),"px"))}},{key:"showBubble",value:function(l,h){this.visible||(this.visible=!0,this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=String(this.getScrollTop()));var g=this.editorDom.querySelector(".CodeMirror-lines").firstChild.getBoundingClientRect(),d=this.editorDom.getBoundingClientRect(),b=g.left-d.left,w=g.width+b,x=l;x<2*this.bubbleDom.offsetHeight?(x+=this.bubbleDom.offsetHeight-this.bubbleTop.getBoundingClientRect().height,this.bubbleTop.style.display="block",this.bubbleBottom.style.display="none"):(x-=this.bubbleDom.offsetHeight+2*this.bubbleBottom.getBoundingClientRect().height,this.bubbleTop.style.display="none",this.bubbleBottom.style.display="block"),this.bubbleDom.style.top="".concat(x,"px");var C=h-this.bubbleDom.offsetWidth/2;Cw?(C=w-this.bubbleDom.offsetWidth,this.$setBubbleCursorPosition("".concat(h-C,"px"))):this.$setBubbleCursorPosition("50%"),this.bubbleDom.style.left="".concat(Math.max(20,C),"px")}},{key:"hideBubble",value:function(){this.visible=!1}},{key:"$setBubbleCursorPosition",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"50%";if(l==="50%")this.bubbleTop.style.left="50%",this.bubbleBottom.style.left="50%";else{var h=Ip(l)<10?"10px":l;this.bubbleTop.style.left=h,this.bubbleBottom.style.left=h}}},{key:"initBubbleDom",value:function(){var l=document.createElement("div");l.className="cherry-bubble-top";var h=document.createElement("div");h.className="cherry-bubble-bottom",this.bubbleTop=l,this.bubbleBottom=h,this.bubbleDom.appendChild(l),this.bubbleDom.appendChild(h),this.visible=!1}},{key:"getBubbleDom",value:function(){return this.bubbleDom}},{key:"addSelectionChangeListener",value:function(){var l=this;this.options.editor.addListener("change",function(h){l.hideBubble()}),this.options.editor.addListener("refresh",function(h){l.hideBubble()}),this.options.editor.addListener("scroll",function(h){l.updatePositionWhenScroll()}),this.options.editor.addListener("beforeSelectionChange",function(h,g){if(g.origin!=="*mouse"&&(g.origin!==null||g.origin===void 0)||!g.ranges[0])return!0;var d=1e6*g.ranges[0].anchor.line+g.ranges[0].anchor.ch,b=1e6*g.ranges[0].head.line+g.ranges[0].head.ch,w="asc";d>b&&(w="desc"),Z0(function(){if(h.getSelections().join("").length<=0)l.hideBubble();else{var x=h.getWrapperElement().getElementsByClassName("CodeMirror-selected"),C=l.editorDom.getBoundingClientRect(),B=0,L=0;if(Vc(x)!=="object"||x.length<=0)l.hideBubble();else{for(var I=0;I=L&&(L=z,B=P.left-C.left+P.width/2):(z<=L||L<=0)&&(L=z,B=P.left-C.left+P.width/2)}l.showBubble(L,B)}}},10)})}}]),o}();function Hxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(ILt,"displayType","flex");var $xn=function(r){aa(o,wte);var i=Hxn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{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(l){this.options.dom.appendChild(l)}},{key:"initAction",value:function(){var l=this;this.editor.addListener("cursorActivity",function(h,g){l.cursorActivity(g,h)}),this.editor.addListener("update",function(h,g){l.cursorActivity(g,h)}),this.editor.addListener("refresh",function(h,g){Z0(function(){l.cursorActivity(g,h)},0)})}},{key:"update",value:function(l,h){var g=h.getCursor();if(this.isHidden(g.line,h))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block"}},{key:"cursorActivity",value:function(l,h){var g=h.getCursor(),d=document.querySelector(".cherry-editor .CodeMirror-lines");if(!d)return!1;var b=getComputedStyle(d),w=Ip(b.paddingLeft),x=Ip(b.paddingTop);if(this.isHidden(g.line,h))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block",this.options.dom.style.left="".concat(w,"px"),this.options.dom.style.top="".concat(this.getLineHeight(g.line,h)+x,"px")}},{key:"isHidden",value:function(l,h){return h.getSelections().length>1||h.getSelection().length>0||!!h.getLine(l)}},{key:"getLineHeight",value:function(l,h){var g=0;return h.getDoc().eachLine(0,l,function(d){g+=d.height}),g}}]),o}();function jxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Kxn=function(r){aa(o,wte);var i=jxn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"appendMenusToDom",value:function(l){var h=Jl("div","toolbar-right");h.appendChild(l),this.options.dom.appendChild(h)}}]),o}(),zxn=function(){function r(i){var o,l;qr(this,r),this.$cherry=i.$cherry,this.editor=i.$cherry.editor.editor,this.tocStr="",this.updateLocationHash=(o=i.updateLocationHash)===null||o===void 0||o,this.defaultModel=(l=i.defaultModel)!==null&&l!==void 0?l:"full",this.init()}return Yr(r,[{key:"init",value:function(){var i=this;this.drawDom(),this.timer=Z0(function(){i.updateTocList()},300),this.editor.on("change",function(o,l){clearTimeout(i.timer),i.timer=Z0(function(){i.updateTocList(),i.$switchModel(i.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(i){typeof localStorage<"u"&&localStorage.setItem("cherry-toc-model",i)}},{key:"drawDom",value:function(){var i=Jl("div","cherry-flex-toc cherry-flex-toc__pure"),o=Jl("div","cherry-toc-head"),l=Jl("span","cherry-toc-title");l.append(this.$cherry.locale.toc);var h=Jl("i","ch-icon ch-icon-chevronsRight"),g=Jl("i","ch-icon ch-icon-chevronsLeft");this.tocClose=h,this.tocOpen=g,o.appendChild(l),o.appendChild(h),o.appendChild(g),i.appendChild(o);var d=Jl("div","cherry-toc-list");this.tocListDom=d,i.appendChild(d),this.tocDom=i,this.$cherry.wrapperDom.appendChild(i),this.bindClickEvent()}},{key:"bindClickEvent",value:function(){var i=this;this.tocDom.addEventListener("click",function(o){var l=i.$getClosestNode(o.target,"A");if(l!==!1&&/cherry-toc-one-a/.test(l.className)){var h=l.dataset,g=h.id,d=h.index;if(i.$cherry.status.previewer==="hide"){for(var b=i.$cherry.editor.editor.getSearchCursor(/(?:^|\n)\n*((?:[ \t\u00a0]*#{1,6}).+?|(?:[ \t\u00a0]*.+)\n(?:[ \t\u00a0]*[=]+|[-]+))(?=$|\n)/g),w=0;w<=d;w++)b.findNext();var x=b.from();i.$cherry.editor.scrollToLineNum(x.line,x.line+1,0)}else{var C,B=i.$cherry.previewer.getDomContainer(),L=(C=B.querySelectorAll("h1,h2,h3,h4,h5,h6,h7,h8")[d])!==null&&C!==void 0&&C;if(L!==!1){var I=B.scrollTop+L.getBoundingClientRect().y-B.getBoundingClientRect().y-20;B.scrollTo({top:I,left:0,behavior:"smooth"})}}i.updateLocationHash&&(location.href=g)}}),this.tocClose.addEventListener("click",function(o){i.$switchModel("pure"),i.setModelToLocalStorage("pure")}),this.tocOpen.addEventListener("click",function(o){i.$switchModel("full"),i.setModelToLocalStorage("full")}),window&&window.addEventListener("resize",function(){i.$switchModel(i.model)}),this.editor.on("scroll",function(o,l){i.updateTocList(!0)}),this.$cherry.previewer.getDomContainer().addEventListener("scroll",function(){i.updateTocList(!0)})}},{key:"$switchModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pure";this.model=i;var o="cherry-flex-toc__".concat(i);this.tocDom.classList.contains(o)||(this.tocDom.classList.remove("cherry-flex-toc__pure"),this.tocDom.classList.remove("cherry-flex-toc__full"),this.tocDom.classList.add(o));var l=this.tocListDom.querySelectorAll(".cherry-toc-one-a");if(l.length>0){var h=28;if(i==="pure"){var g=this.tocListDom.getBoundingClientRect().height,d=Math.floor((g-3*l.length)/l.length);h=d<3?3:d>10?10:d}for(var b=0;b0&&arguments[0]!==void 0&&arguments[0])!==!0){var i=this.$cherry.getToc(),o="";if(ss(i).call(i,function(x){return o+=x.text,x}),o=gQe(o),this.tocStr!==o){this.tocStr=o;var l="",h=0;ss(i).call(i,function(x){var C,B,L,I,P=x.text.replace(//g,""),z=P.replace(/<[^>]+?>/g,"");return l+=rt(C=rt(B=rt(L=rt(I='"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Qxn=function(r){aa(o,Is);var i=Nxn(o);function o(l){var h;return qr(this,o),(h=i.call(this,l)).setName("draw.io","draw.io"),h.noIcon=!0,h.drawioIframeUrl=l.options.drawioIframeUrl,h}return Yr(o,[{key:"onClick",value:function(l){var h=this;if(!this.drawioIframeUrl)return l;if(this.hasCacheOnce()){var g,d=this.getAndCleanCacheOnce(),b=d.xmlData,w=d.base64,x=rt(g="](".concat(w,"){data-type=drawio data-xml=")).call(g,encodeURI(b),"}");return this.registerAfterClickCb(function(){h.setLessSelection("![",x)}),"".concat("![","在预览区点击图片重新编辑draw.io").concat(x)}return ELt(this.drawioIframeUrl,"",function(C){h.setCacheOnce(C),h.fire(null)}),this.updateMarkdown=!1,l}}]),o}(),p7t={bold:N5n,italic:P5n,"|":U5n,strikethrough:$5n,sub:K5n,sup:X5n,header:Y5n,insert:e6n,list:n6n,ol:i6n,ul:o6n,checklist:c6n,graph:f6n,size:A6n,h1:p6n,h2:b6n,h3:v6n,color:V5n,quote:x6n,quickTable:C6n,togglePreview:T6n,code:D6n,codeTheme:N6n,export:P6n,settings:U6n,fullScreen:_6n,mobilePreview:Bxn,copy:Sxn,undo:L6n,redo:I6n,underline:$6n,switchModel:K6n,image:X6n,audio:V6n,video:q6n,br:J6n,hr:exn,formula:rxn,link:axn,table:sxn,toc:lxn,lineTable:hxn,barTable:dxn,pdf:gxn,word:wxn,ruby:yxn,theme:kxn,file:mxn,panel:SLt,justify:Fxn,detail:Oxn,drawIo:Qxn,wordCount:Exn},Pxn=function(){function r(i){qr(this,r),this.toolbar=i,this.hooks={},this.allMenusName=[],this.level1MenusName=[],this.level2MenusName={},this.init()}return Yr(r,[{key:"$newMenu",value:function(i){if(!this.hooks[i]){var o=this.toolbar.options,l=o.$cherry,h=o.customMenu;p7t[i]?(this.allMenusName.push(i),this.hooks[i]=new p7t[i](l)):h!=null&&h[i]&&(this.allMenusName.push(i),this.hooks[i]=new h[i](l))}}},{key:"init",value:function(){var i=this,o=this.toolbar.options.buttonConfig;xa(o).call(o,function(l){if(typeof l=="string")i.level1MenusName.push(l),i.$newMenu(l);else if(Vc(l)==="object"){var h=pu(l);if(h.length===1){var g,d=gu(h,1)[0];i.level1MenusName.push(d),i.$newMenu(d),i.level2MenusName[d]=l[d],xa(g=l[d]).call(g,function(b){i.$newMenu(b)})}}})}}]),r}(),bte=function(){function r(i){qr(this,r),gi(this,"toolbarHandlers",{}),this.menus={},this.shortcutKeyMap={},this.subMenus={},this.options={dom:document.createElement("div"),buttonConfig:["bold"],customMenu:[]},TB(this.options,i),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.instanceId,this.menus=new Pxn(this),this.drawMenus(),this.collectShortcutKey(),this.collectToolbarHandler(),this.init()}return Yr(r,[{key:"init",value:function(){var i=this;Ms.on(this.instanceId,Ms.Events.cleanAllSubMenus,function(){return i.hideAllSubMenu()})}},{key:"previewOnly",value:function(){this.options.dom.classList.add("preview-only"),this.$cherry.wrapperDom.classList.add("cherry--no-toolbar"),Ms.emit(this.instanceId,Ms.Events.toolbarHide)}},{key:"showToolbar",value:function(){this.options.dom.classList.remove("preview-only"),this.$cherry.wrapperDom.classList.remove("cherry--no-toolbar"),Ms.emit(this.instanceId,Ms.Events.toolbarShow)}},{key:"isHasLevel2Menu",value:function(i){return this.menus.level2MenusName[i]}},{key:"isHasConfigMenu",value:function(i){return this.menus.hooks[i].subMenuConfig||[]}},{key:"isHasSubMenu",value:function(i){return!!(this.isHasLevel2Menu(i)||this.isHasConfigMenu(i).length>0)}},{key:"drawMenus",value:function(){var i,o=this,l=document.createDocumentFragment();xa(i=this.menus.level1MenusName).call(i,function(h){var g=o.menus.hooks[h].createBtn();(typeof window>"u"?"undefined":Vc(window))==="object"&&"onpointerup"in window?(g.addEventListener("pointerdown",function(){o.isPointerDown=!0},!1),g.addEventListener("pointerup",function(d){o.isPointerDown&&o.onClick(d,h),o.isPointerDown=!1},!1)):g.addEventListener("click",function(d){o.onClick(d,h)},!1),o.isHasSubMenu(h)&&g.classList.add("cherry-toolbar-dropdown"),l.appendChild(g)}),this.appendMenusToDom(l)}},{key:"appendMenusToDom",value:function(i){var o=Jl("div","toolbar-left");o.appendChild(i),this.options.dom.appendChild(o)}},{key:"setSubMenuPosition",value:function(i,o){var l=i.getMenuPosition();o.style.left="".concat(l.left+l.width/2,"px"),o.style.top="".concat(l.top+l.height,"px"),o.style.position=i.positionModel}},{key:"drawSubMenus",value:function(i){var o=this;this.subMenus[i]=Jl("div","cherry-dropdown",{name:i}),this.setSubMenuPosition(this.menus.hooks[i],this.subMenus[i]);var l=this.isHasLevel2Menu(i);l&&xa(l).call(l,function(g){var d=o.menus.hooks[g];if(d!==void 0&&typeof d.createBtn=="function"){var b=d.createBtn(!0);d.dom=d.dom?d.dom:o.menus.hooks[i].dom,b.addEventListener("click",function(w){return o.onClick(w,g,!0)},!1),o.subMenus[i].appendChild(b)}});var h=this.isHasConfigMenu(i);h.length>0&&xa(h).call(h,function(g){var d=o.menus.hooks[i].createSubBtnByConfig(g);d.addEventListener("click",function(){return o.hideAllSubMenu()},!1),o.subMenus[i].appendChild(d)}),this.$cherry.wrapperDom.appendChild(this.subMenus[i])}},{key:"onClick",value:function(i,o){var l=arguments.length>2&&arguments[2]!==void 0&&arguments[2],h=this.menus.hooks[o];h&&(this.isHasSubMenu(o)&&!l?this.toggleSubMenu(o):(this.hideAllSubMenu(),h.fire(i,o)))}},{key:"toggleSubMenu",value:function(i){if(!this.subMenus[i])return this.hideAllSubMenu(),this.drawSubMenus(i),void(this.subMenus[i].style.display="block");this.subMenus[i].style.display==="none"?(this.hideAllSubMenu(),this.subMenus[i].style.display="block",this.setSubMenuPosition(this.menus.hooks[i],this.subMenus[i])):this.subMenus[i].style.display="none"}},{key:"hideAllSubMenu",value:function(){var i;xa(i=this.$cherry.wrapperDom.querySelectorAll(".cherry-dropdown")).call(i,function(o){o.style.display="none"})}},{key:"collectMenuInfo",value:function(i){this.toolbarHandlers=TB({},this.toolbarHandlers,i.toolbarHandlers),this.menus.hooks=TB({},i.menus.hooks,this.menus.hooks),(!this.options.shortcutKey||pu(this.options.shortcutKey).length<=0)&&(this.shortcutKeyMap=TB({},this.shortcutKeyMap,i.shortcutKeyMap))}},{key:"collectShortcutKey",value:function(){var i,o=this;this.options.shortcutKey&&pu(this.options.shortcutKey).length>0?this.shortcutKeyMap=this.options.shortcutKey:xa(i=this.menus.allMenusName).call(i,function(l){var h;(h=o.menus.hooks[l].shortcutKeys)===null||h===void 0||xa(h).call(h,function(g){o.shortcutKeyMap[g]=l})})}},{key:"collectToolbarHandler",value:function(){var i,o=this;this.toolbarHandlers=jB(i=this.menus.allMenusName).call(i,function(l,h){var g=o.menus.hooks[h];return g&&(l[h]=function(d,b){typeof b=="function"&&q2.warn("MenuBase#onClick param callback is no longer supported. Please register the callback via MenuBase#registerAfterClickCb instead."),g.fire.call(g,void 0,d)}),l},{})}},{key:"matchShortcutKey",value:function(i){return!!this.shortcutKeyMap[this.getCurrentKey(i)]}},{key:"fireShortcutKey",value:function(i){var o,l=this.getCurrentKey(i);(o=this.menus.hooks[this.shortcutKeyMap[l]])===null||o===void 0||o.fire(i,l)}},{key:"getCurrentKey",value:function(i){var o="";return i.ctrlKey&&(o+="Ctrl-"),i.altKey&&(o+="Alt-"),i.metaKey&&F5n&&(o+="Ctrl-"),i.shiftKey&&(o+="Shift-"),i.key&&i.key.toLowerCase()!=="shift"&&(o+=i.key.toLowerCase()),o}}]),r}();function Rxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var LLt=function(r){aa(o,bte);var i=Rxn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"visible",get:function(){var l=window.getComputedStyle(this.bubbleDom);return l.display!=="none"&&l.visibility!=="hidden"},set:function(l){var h=window.getComputedStyle(this.bubbleDom);l?h.display==="none"&&(this.bubbleDom.style.display=o.displayType):h.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(l){this.options.dom.appendChild(l)}},{key:"getScrollTop",value:function(){return this.options.editor.editor.getScrollInfo().top}},{key:"updatePositionWhenScroll",value:function(){this.bubbleDom.style.display===o.displayType&&(this.bubbleDom.style.marginTop="".concat(Lp(this.bubbleDom.dataset.scrollTop)-this.getScrollTop(),"px"))}},{key:"showBubble",value:function(l,h){this.visible||(this.visible=!0,this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=String(this.getScrollTop()));var g=this.editorDom.querySelector(".CodeMirror-lines").firstChild.getBoundingClientRect(),d=this.editorDom.getBoundingClientRect(),b=g.left-d.left,w=g.width+b,x=l;x<2*this.bubbleDom.offsetHeight?(x+=this.bubbleDom.offsetHeight-this.bubbleTop.getBoundingClientRect().height,this.bubbleTop.style.display="block",this.bubbleBottom.style.display="none"):(x-=this.bubbleDom.offsetHeight+2*this.bubbleBottom.getBoundingClientRect().height,this.bubbleTop.style.display="none",this.bubbleBottom.style.display="block"),this.bubbleDom.style.top="".concat(x,"px");var C=h-this.bubbleDom.offsetWidth/2;Cw?(C=w-this.bubbleDom.offsetWidth,this.$setBubbleCursorPosition("".concat(h-C,"px"))):this.$setBubbleCursorPosition("50%"),this.bubbleDom.style.left="".concat(Math.max(20,C),"px")}},{key:"hideBubble",value:function(){this.visible=!1}},{key:"$setBubbleCursorPosition",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"50%";if(l==="50%")this.bubbleTop.style.left="50%",this.bubbleBottom.style.left="50%";else{var h=Lp(l)<10?"10px":l;this.bubbleTop.style.left=h,this.bubbleBottom.style.left=h}}},{key:"initBubbleDom",value:function(){var l=document.createElement("div");l.className="cherry-bubble-top";var h=document.createElement("div");h.className="cherry-bubble-bottom",this.bubbleTop=l,this.bubbleBottom=h,this.bubbleDom.appendChild(l),this.bubbleDom.appendChild(h),this.visible=!1}},{key:"getBubbleDom",value:function(){return this.bubbleDom}},{key:"addSelectionChangeListener",value:function(){var l=this;this.options.editor.addListener("change",function(h){l.hideBubble()}),this.options.editor.addListener("refresh",function(h){l.hideBubble()}),this.options.editor.addListener("scroll",function(h){l.updatePositionWhenScroll()}),this.options.editor.addListener("beforeSelectionChange",function(h,g){if(g.origin!=="*mouse"&&(g.origin!==null||g.origin===void 0)||!g.ranges[0])return!0;var d=1e6*g.ranges[0].anchor.line+g.ranges[0].anchor.ch,b=1e6*g.ranges[0].head.line+g.ranges[0].head.ch,w="asc";d>b&&(w="desc"),Z0(function(){if(h.getSelections().join("").length<=0)l.hideBubble();else{var x=h.getWrapperElement().getElementsByClassName("CodeMirror-selected"),C=l.editorDom.getBoundingClientRect(),B=0,L=0;if(Vc(x)!=="object"||x.length<=0)l.hideBubble();else{for(var M=0;M=L&&(L=z,B=P.left-C.left+P.width/2):(z<=L||L<=0)&&(L=z,B=P.left-C.left+P.width/2)}l.showBubble(L,B)}}},10)})}}]),o}();function Uxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(LLt,"displayType","flex");var Hxn=function(r){aa(o,bte);var i=Uxn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{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(l){this.options.dom.appendChild(l)}},{key:"initAction",value:function(){var l=this;this.editor.addListener("cursorActivity",function(h,g){l.cursorActivity(g,h)}),this.editor.addListener("update",function(h,g){l.cursorActivity(g,h)}),this.editor.addListener("refresh",function(h,g){Z0(function(){l.cursorActivity(g,h)},0)})}},{key:"update",value:function(l,h){var g=h.getCursor();if(this.isHidden(g.line,h))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block"}},{key:"cursorActivity",value:function(l,h){var g=h.getCursor(),d=document.querySelector(".cherry-editor .CodeMirror-lines");if(!d)return!1;var b=getComputedStyle(d),w=Lp(b.paddingLeft),x=Lp(b.paddingTop);if(this.isHidden(g.line,h))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block",this.options.dom.style.left="".concat(w,"px"),this.options.dom.style.top="".concat(this.getLineHeight(g.line,h)+x,"px")}},{key:"isHidden",value:function(l,h){return h.getSelections().length>1||h.getSelection().length>0||!!h.getLine(l)}},{key:"getLineHeight",value:function(l,h){var g=0;return h.getDoc().eachLine(0,l,function(d){g+=d.height}),g}}]),o}();function $xn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var jxn=function(r){aa(o,bte);var i=$xn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"appendMenusToDom",value:function(l){var h=Jl("div","toolbar-right");h.appendChild(l),this.options.dom.appendChild(h)}}]),o}(),Kxn=function(){function r(i){var o,l;qr(this,r),this.$cherry=i.$cherry,this.editor=i.$cherry.editor.editor,this.tocStr="",this.updateLocationHash=(o=i.updateLocationHash)===null||o===void 0||o,this.defaultModel=(l=i.defaultModel)!==null&&l!==void 0?l:"full",this.init()}return Yr(r,[{key:"init",value:function(){var i=this;this.drawDom(),this.timer=Z0(function(){i.updateTocList()},300),this.editor.on("change",function(o,l){clearTimeout(i.timer),i.timer=Z0(function(){i.updateTocList(),i.$switchModel(i.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(i){typeof localStorage<"u"&&localStorage.setItem("cherry-toc-model",i)}},{key:"drawDom",value:function(){var i=Jl("div","cherry-flex-toc cherry-flex-toc__pure"),o=Jl("div","cherry-toc-head"),l=Jl("span","cherry-toc-title");l.append(this.$cherry.locale.toc);var h=Jl("i","ch-icon ch-icon-chevronsRight"),g=Jl("i","ch-icon ch-icon-chevronsLeft");this.tocClose=h,this.tocOpen=g,o.appendChild(l),o.appendChild(h),o.appendChild(g),i.appendChild(o);var d=Jl("div","cherry-toc-list");this.tocListDom=d,i.appendChild(d),this.tocDom=i,this.$cherry.wrapperDom.appendChild(i),this.bindClickEvent()}},{key:"bindClickEvent",value:function(){var i=this;this.tocDom.addEventListener("click",function(o){var l=i.$getClosestNode(o.target,"A");if(l!==!1&&/cherry-toc-one-a/.test(l.className)){var h=l.dataset,g=h.id,d=h.index;if(i.$cherry.status.previewer==="hide"){for(var b=i.$cherry.editor.editor.getSearchCursor(/(?:^|\n)\n*((?:[ \t\u00a0]*#{1,6}).+?|(?:[ \t\u00a0]*.+)\n(?:[ \t\u00a0]*[=]+|[-]+))(?=$|\n)/g),w=0;w<=d;w++)b.findNext();var x=b.from();i.$cherry.editor.scrollToLineNum(x.line,x.line+1,0)}else{var C,B=i.$cherry.previewer.getDomContainer(),L=(C=B.querySelectorAll("h1,h2,h3,h4,h5,h6,h7,h8")[d])!==null&&C!==void 0&&C;if(L!==!1){var M=B.scrollTop+L.getBoundingClientRect().y-B.getBoundingClientRect().y-20;B.scrollTo({top:M,left:0,behavior:"smooth"})}}i.updateLocationHash&&(location.href=g)}}),this.tocClose.addEventListener("click",function(o){i.$switchModel("pure"),i.setModelToLocalStorage("pure")}),this.tocOpen.addEventListener("click",function(o){i.$switchModel("full"),i.setModelToLocalStorage("full")}),window&&window.addEventListener("resize",function(){i.$switchModel(i.model)}),this.editor.on("scroll",function(o,l){i.updateTocList(!0)}),this.$cherry.previewer.getDomContainer().addEventListener("scroll",function(){i.updateTocList(!0)})}},{key:"$switchModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pure";this.model=i;var o="cherry-flex-toc__".concat(i);this.tocDom.classList.contains(o)||(this.tocDom.classList.remove("cherry-flex-toc__pure"),this.tocDom.classList.remove("cherry-flex-toc__full"),this.tocDom.classList.add(o));var l=this.tocListDom.querySelectorAll(".cherry-toc-one-a");if(l.length>0){var h=28;if(i==="pure"){var g=this.tocListDom.getBoundingClientRect().height,d=Math.floor((g-3*l.length)/l.length);h=d<3?3:d>10?10:d}for(var b=0;b0&&arguments[0]!==void 0&&arguments[0])!==!0){var i=this.$cherry.getToc(),o="";if(ss(i).call(i,function(x){return o+=x.text,x}),o=AQe(o),this.tocStr!==o){this.tocStr=o;var l="",h=0;ss(i).call(i,function(x){var C,B,L,M,P=x.text.replace(//g,""),z=P.replace(/<[^>]+?>/g,"");return l+=rt(C=rt(B=rt(L=rt(M='`)).call(C,P,""),h+=1,x}),this.tocListDom.innerHTML=l}}if(this.$cherry.status.previewer!=="hide"){for(var g,d=this.$cherry.previewer.getDomContainer().getBoundingClientRect().y,b=this.$cherry.previewer.getDomContainer().querySelectorAll("h1,h2,h3,h4,h5,h6,h7,h8"),w=0;wd+20);w++);w=w>0?w-1:w,xa(g=this.tocListDom.querySelectorAll(".cherry-toc-one-a")).call(g,function(x,C){C===w?x.classList.add("current"):x.classList.remove("current")})}}}]),r}();function Xxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Gxn=function(r){aa(o,wte);var i=Xxn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"appendMenusToDom",value:function(l){this.options.dom.appendChild(l)}}]),o}(),a9=-1,ck=1,Yv=0;function Ree(r,i,o,l){if(r===i)return r?[[Yv,r]]:[];if(o!=null){var h=function(x,C,B){var L=typeof B=="number"?{index:B,length:0}:B.oldRange,I=typeof B=="number"?null:B.newRange,P=x.length,z=C.length;if(L.length===0&&(I===null||I.length===0)){var W=L.index,Q=x.slice(0,W),V=x.slice(W),oe=I?I.index:null,G=W+z-P;if((oe===null||oe===G)&&!(G<0||G>z)){var ae=C.slice(0,G);if((Ae=C.slice(G))===V){var ne=Math.min(W,G);if((ve=Q.slice(0,ne))===(ee=ae.slice(0,ne)))return wMe(ve,Q.slice(ne),ae.slice(ne),V)}}if(oe===null||oe===W){var de=W,Ae=(ae=C.slice(0,de),C.slice(de));if(ae===Q){var le=Math.min(P-de,z-de);if((me=V.slice(V.length-le))===(ye=Ae.slice(Ae.length-le)))return wMe(Q,V.slice(0,V.length-le),Ae.slice(0,Ae.length-le),me)}}}if(L.length>0&&I&&I.length===0){var ve=x.slice(0,L.index),me=x.slice(L.index+L.length);if(!(z<(ne=ve.length)+(le=me.length))){var ee=C.slice(0,ne),ye=C.slice(z-le);if(ve===ee&&me===ye)return wMe(ve,x.slice(ne,P-le),C.slice(ne,z-le),me)}}return null}(r,i,o);if(h)return h}var g=KDe(r,i),d=r.substring(0,g);g=zDe(r=r.substring(g),i=i.substring(g));var b=r.substring(r.length-g),w=function(x,C){var B;if(!x)return[[ck,C]];if(!C)return[[a9,x]];var L=x.length>C.length?x:C,I=x.length>C.length?C:x,P=L.indexOf(I);if(P!==-1)return B=[[ck,L.substring(0,P)],[Yv,I],[ck,L.substring(P+I.length)]],x.length>C.length&&(B[0][0]=B[2][0]=a9),B;if(I.length===1)return[[a9,x],[ck,C]];var z=function(de,Ae){var le=de.length>Ae.length?de:Ae,ve=de.length>Ae.length?Ae:de;if(le.length<4||2*ve.length=ct.length?[Le,ht,Rt,Et,on]:null}var ee,ye,Y,Ee,fe,ce=me(le,ve,Math.ceil(le.length/4)),$e=me(le,ve,Math.ceil(le.length/2));if(!ce&&!$e)return null;ee=$e?ce&&ce[4].length>$e[4].length?ce:$e:ce,de.length>Ae.length?(ye=ee[0],Y=ee[1],Ee=ee[2],fe=ee[3]):(Ee=ee[0],fe=ee[1],ye=ee[2],Y=ee[3]);var Ye=ee[4];return[ye,Y,Ee,fe,Ye]}(x,C);if(z){var W=z[0],Q=z[1],V=z[2],oe=z[3],G=z[4],ae=Ree(W,V),ne=Ree(Q,oe);return ae.concat([[Yv,G]],ne)}return function(de,Ae){for(var le=de.length,ve=Ae.length,me=Math.ceil((le+ve)/2),ee=me,ye=2*me,Y=new Array(ye),Ee=new Array(ye),fe=0;fele)ct+=2;else if(Et>ve)Ye+=2;else if($e&&(on=ee+ce-ht)>=0&&on=(xt=le-Ee[on]))return bkt(de,Ae,Xt,Et)}for(var Rn=-Le+ot;Rn<=Le-Qe;Rn+=2){for(var xt,on=ee+Rn,Kt=(xt=Rn===-Le||Rn!==Le&&Ee[on-1]le)Qe+=2;else if(Kt>ve)ot+=2;else if(!$e&&(Rt=ee+ce-Rn)>=0&&Rt=(xt=le-xt))return bkt(de,Ae,Xt,Et)}}}return[[a9,de],[ck,Ae]]}(x,C)}(r=r.substring(0,r.length-g),i=i.substring(0,i.length-g));return d&&w.unshift([Yv,d]),b&&w.push([Yv,b]),MLt(w,l),w}function bkt(r,i,o,l){var h=r.substring(0,o),g=i.substring(0,l),d=r.substring(o),b=i.substring(l),w=Ree(h,g),x=Ree(d,b);return w.concat(x)}function KDe(r,i){if(!r||!i||r.charAt(0)!==i.charAt(0))return 0;for(var o=0,l=Math.min(r.length,i.length),h=l,g=0;o=0&&NLt(r[w][1])){var x=r[w][1].slice(-1);if(r[w][1]=r[w][1].slice(0,-1),d=x+d,b=x+b,!r[w][1]){r.splice(w,1),l--;var C=w-1;r[C]&&r[C][0]===ck&&(g++,b=r[C][1]+b,C--),r[C]&&r[C][0]===a9&&(h++,d=r[C][1]+d,C--),w=C}}OLt(r[l][1])&&(x=r[l][1].charAt(0),r[l][1]=r[l][1].slice(1),d+=x,b+=x)}if(l0||b.length>0){d.length>0&&b.length>0&&((o=KDe(b,d))!==0&&(w>=0?r[w][1]+=b.substring(0,o):(r.splice(0,0,[Yv,b.substring(0,o)]),l++),b=b.substring(o),d=d.substring(o)),(o=zDe(b,d))!==0&&(r[l][1]=b.substring(b.length-o)+r[l][1],b=b.substring(0,b.length-o),d=d.substring(0,d.length-o)));var B=g+h;d.length===0&&b.length===0?(r.splice(l-B,B),l-=B):d.length===0?(r.splice(l-B,B,[ck,b]),l=l-B+1):b.length===0?(r.splice(l-B,B,[a9,d]),l=l-B+1):(r.splice(l-B,B,[a9,d],[ck,b]),l=l-B+2)}l!==0&&r[l-1][0]===Yv?(r[l-1][1]+=r[l][1],r.splice(l,1)):l++,g=0,h=0,d="",b=""}r[r.length-1][1]===""&&r.pop();var L=!1;for(l=1;l=55296&&r<=56319}function DLt(r){return r>=56320&&r<=57343}function OLt(r){return DLt(r.charCodeAt(0))}function NLt(r){return FLt(r.charCodeAt(r.length-1))}function wMe(r,i,o,l){return NLt(r)||OLt(l)?null:function(h){for(var g=[],d=0;d0&&g.push(h[d]);return g}([[Yv,r],[a9,i],[ck,o],[Yv,l]])}function t0e(r,i,o){return Ree(r,i,o,!0)}t0e.INSERT=ck,t0e.DELETE=a9,t0e.EQUAL=Yv;var sAe=t0e,Vxn=function(r,i){for(var o=-1,l=r==null?0:r.length;++o"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function Lkt(r,i,o){var l,h={};return xa(l=pu(r)).call(l,function(g){xl(i).call(i,g)!==-1&&(Vc(o)==="object"?typeof o[g]=="string"?Vc(r[g])===o[g]&&(h[g]=r[g]):r[g]instanceof o[g]&&(h[g]=r[g]):typeof o=="string"&&Vc(r[g])===o&&(h[g]=r[g]))}),h}var B8n={HOOKS_TYPE_LIST:wj},Ikt=[];Y3()||xa(Ikt).call(Ikt,function(r){});var SZ=function(){function r(){qr(this,r)}return Yr(r,null,[{key:"usePlugin",value:function(i){var o;if(this===r)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(i.$cherry$mounted!==!0){for(var l=arguments.length,h=new Array(l>1?l-1:0),g=1;g"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(SZ,"createSyntaxHook",function(r,i,o){var l,h=i===wj.PAR?_d:PA,g=Lkt(o,["beforeMakeHtml","makeHtml","afterMakeHtml","rule","test"],"function"),d={needCache:o.needCache,defaultCache:o.defaultCache};return l=function(b){aa(x,b);var w=Skt(x);function x(){var C,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return qr(this,x),(C=i===wj.PAR?w.call(this,{needCache:!!d.needCache,defaultCache:d.defaultCache}):w.call(this)).config=B.config,Wi(C)}return Yr(x,[{key:"beforeMakeHtml",value:function(){for(var C,B,L=arguments.length,I=new Array(L),P=0;P0&&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 l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.previewer.getValue(l)}},{key:"getPreviewer",value:function(){return this.previewer}},{key:"getToc",value:function(){var l=this.getHtml(),h=[];return l.replace(/(.+?)<\/h[0-6]>/g,function(g,d,b,w){return h.push({level:+d,id:b,text:w.replace(//,"")}),g}),h}},{key:"setValue",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.editor.storeDocumentScroll(),h===!1)return this.editor.editor.setValue(l);var g=this.editor.editor,d=this.getValue(),b=function(x,C,B){for(var L=sAe(C,B),I=x,P=x,z=0;z1&&arguments[1]!==void 0&&arguments[1],g=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];g&&this.editor.editor.setSelection({line:g[0],ch:g[1]},{line:g[0],ch:g[1]}),this.editor.editor.replaceSelection(l,h?"around":"end"),d&&this.editor.editor.focus()}},{key:"insertValue",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0&&arguments[1],g=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];return this.insert(l,h,g,d)}},{key:"refreshPreviewer",value:function(){try{var l=this.getValue(),h=this.engine.makeHtml(l);this.previewer.refresh(h)}catch(g){throw new VAe(g)}}},{key:"setMarkdown",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.setValue(l,h)}},{key:"createWrapper",value:function(){var l=this.options.toolbars.theme==="dark"?"dark":"",h=this.options.engine.syntax.inlineCode.theme,g=this.options.engine.syntax.codeBlock.theme;g==="dark"?g="tomorrow-night":g==="light"&&(g="solarized-light");var d=Jl("div",["cherry","clearfix",xDe(!0)].join(" "),{"data-toolbarTheme":l,"data-inlineCodeTheme":h,"data-codeBlockTheme":g});return this.wrapperDom=d,d}},{key:"createToolbar",value:function(){var l=Jl("div","cherry-toolbar");return this.toolbarContainer=l,this.toolbar=new wte({dom:l,$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 Kxn({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(l){if(this.options.toolbars.sidebar){jN(this.options.toolbars.sidebar,Array);var h=this.options.toolbars.theme==="dark"?"dark":"",g=Jl("div","cherry-sidebar ".concat(h));this.sidebar=new Gxn({dom:g,$cherry:this,buttonConfig:this.options.toolbars.sidebar,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.sidebar),l.appendChild(this.sidebar.options.dom)}}},{key:"createFloatMenu",value:function(){if(this.options.toolbars.float){var l=Jl("div","cherry-floatmenu");jN(this.options.toolbars.float,Array),this.floatMenu=new $xn({dom:l,$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 l=Jl("div","cherry-bubble");jN(this.options.toolbars.bubble,Array),this.bubble=new ILt({dom:l,$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 l,h,g,d,b=Jl("textarea","",{id:(l=this.options.editor.id)!==null&&l!==void 0?l:"code",name:(h=this.options.editor.name)!==null&&h!==void 0?h:"code"});b.textContent=this.options.value;var w=Jl("div","cherry-editor");return w.appendChild(b),this.editor=new Uwn(function(x){for(var C=1;C0&&arguments[0]!==void 0?arguments[0]:"pdf",h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";this.previewer.export(l,h)}},{key:"setTheme",value:function(){z_t(this,arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default")}},{key:"setWritingStyle",value:function(l){this.editor.setWritingStyle(l)}}]),o}();gi(n0e,"initialized",!1),gi(n0e,"config",{defaults:E8n}),window&&(window.Cherry=n0e);var Sp=n0e;function Fkt(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function Dkt(r){for(var i=1;i0&&arguments[0]!==void 0?arguments[0]:{};qr(this,r),gi(this,"mermaidAPIRefs",null),gi(this,"options",Okt),gi(this,"dom",null),gi(this,"mermaidCanvas",null);var o=i.mermaid,l=i.mermaidAPI;if(!(l||window.mermaidAPI||o&&o.mermaidAPI||window.mermaid&&window.mermaid.mermaidAPI))throw new Error("code-block-mermaid-plugin[init]: Package mermaid or mermaidAPI not found.");this.options=Dkt(Dkt({},Okt),i||{}),this.mermaidAPIRefs=l||window.mermaidAPI||o.mermaidAPI||window.mermaid.mermaidAPI,delete this.options.mermaid,delete this.options.mermaidAPI,this.mermaidAPIRefs.initialize(this.options)}return Yr(r,[{key:"mountMermaidCanvas",value:function(i){this.mermaidCanvas&&document.body.contains(this.mermaidCanvas)||(this.mermaidCanvas=document.createElement("div"),this.mermaidCanvas.style="width:1024px;opacity:0;position:fixed;top:100%;",(i.$cherry.wrapperDom||document.body).appendChild(this.mermaidCanvas))}},{key:"convertMermaidSvgToImg",value:function(i,o){var l,h=new DOMParser,g=function(L){return L.replace("')}}else l=g(i)}catch{l=g(i)}return l}},{key:"render",value:function(i,o,l){var h,g,d,b=this,w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},x=o;x||(x=Math.round(1e8*Math.random())),this.mountMermaidCanvas(l);var C=rt(h="mermaid-".concat(x,"-")).call(h,new Date().getTime());this.svg2img=(g=w==null?void 0:w.svg2img)!==null&&g!==void 0&&g;try{this.mermaidAPIRefs.render(C,i,function(B){var L=B.replace(/\s*markerUnits="0"/g,"").replace(/\s*x="NaN"/g,"").replace(/
    /g,"
    ");d=b.convertMermaidSvgToImg(L,C)},this.mermaidCanvas)}catch(B){return B==null?void 0:B.str}return d}}],[{key:"install",value:function(i){for(var o=arguments.length,l=new Array(o>1?o-1:0),h=1;h>>8):(Wc(255&Kn),Wc(Kn>>>8))}function Lc(){P=(P<>7)])}function ru(Kn,Nr,Gr){return Kn[Nr].fcTa?G-Ta:ro,Yo=G+Hn,eo=b[Ki+sa-1],Ic=b[Ki+sa];oe>=me&&(Qr>>=2);do if(b[(Nr=Kn)+sa]==Ic&&b[Nr+sa-1]==eo&&b[Nr]==b[Ki]&&b[++Nr]==b[Ki+1]){Ki+=2,Nr++;do;while(b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&Kisa){if(ae=Kn,sa=Gr,Gr>=Hn)break;eo=b[Ki+sa-1],Ic=b[Ki+sa]}}while((Kn=C[Kn&_i])>Ua&&--Qr!=0);return sa}function Ei(){var Kn,Nr,Gr=Qn-de-G;if(Gr==-1)Gr--;else if(G>=pt+Ta){for(Kn=0;Kn=pt?Nr-pt:ro);for(Kn=0;Kn=pt?Nr-pt:ro;Gr+=pt}ne||((Kn=Fs(b,G+de,Gr))<=0?ne=!0:de+=Kn)}function Nh(){ne||(B=0,L=0,function(){var Kn,Nr,Gr,Qr,Ki;if(Ee[0].dl==0){for(ce.dyn_tree=ee,ce.static_tree=Y,ce.extra_bits=Zs,ce.extra_base=oa+1,ce.elems=Xo,ce.max_length=vr,ce.max_code=0,$e.dyn_tree=ye,$e.static_tree=Ee,$e.extra_bits=tu,$e.extra_base=0,$e.elems=hr,$e.max_length=vr,$e.max_code=0,Ye.dyn_tree=fe,Ye.static_tree=null,Ye.extra_bits=_a,Ye.extra_base=0,Ye.elems=Ya,Ye.max_length=Zr,Ye.max_code=0,Gr=0,Qr=0;Qr>=7;Qrde&&(V=de),V>=ln)if(Ki=Yt(G-ae,V-ln),de-=V,V<=le){V--;do G++,Lc();while(--V!=0);G++}else G+=V,V=0,P=((P=255&b[G])<de&&(V=de),V==ln&&G-ae>Js&&V--),oe>=ln&&V<=oe){var Ki;Ki=Yt(G-1-W,oe-ln),de-=oe-1,oe-=2;do G++,Lc();while(--oe!=0);Q=0,V=ln-1,G++,Ki&&(bo(0),I=G)}else Q!=0?(Yt(0,255&b[G-1])&&(bo(0),I=G),G++,de--):(Q=1,G++,de--);for(;dei.len&&(Ki=i.len),sa=0;sah-g&&(Ki=h-g),sa=0;sa>1;Nr>=1;Nr--)ju(Qr,Nr);do Nr=ot[lr],ot[lr]=ot[Qe--],ju(Qr,lr),Gr=ot[lr],ot[--Le]=Nr,ot[--Le]=Gr,Qr[Yo].fc=Qr[Nr].fc+Qr[Gr].fc,ht[Nr]>ht[Gr]+1?ht[Yo]=ht[Nr]:ht[Yo]=ht[Gr]+1,Qr[Nr].dl=Qr[Gr].dl=Yo,ot[lr]=Yo++,ju(Qr,lr);while(Qe>=2);ot[--Le]=ot[lr],function(Ic){var Ku,Al,m1,vc,n1,gl,Mc=Ic.dyn_tree,nc=Ic.extra_bits,Fm=Ic.extra_base,ff=Ic.max_code,zu=Ic.max_length,ig=Ic.static_tree,r1=0;for(vc=0;vc<=vr;vc++)ct[vc]=0;for(Mc[ot[Le]].dl=0,Ku=Le+1;Kuzu&&(vc=zu,r1++),Mc[Al].dl=vc,Al>ff||(ct[vc]++,n1=0,Al>=Fm&&(n1=nc[Al-Fm]),gl=Mc[Al].fc,Ke+=gl*(vc+n1),ig!=null&&(mn+=gl*(ig[Al].dl+n1)));if(r1!=0){do{for(vc=zu-1;ct[vc]==0;)vc--;ct[vc]--,ct[vc+1]+=2,ct[zu]--,r1-=2}while(r1>0);for(vc=zu;vc!=0;vc--)for(Al=ct[vc];Al!=0;)(m1=ot[--Ku])>ff||(Mc[m1].dl!=vc&&(Ke+=(vc-Mc[m1].dl)*Mc[m1].fc,Mc[m1].fc=vc),Al--)}}(Kn),$i(Qr,Ua)}function ar(Kn,Nr){var Gr,Qr,Ki=-1,sa=Kn[0].dl,Ua=0,Yo=7,eo=4;for(sa==0&&(Yo=138,eo=3),Kn[Nr+1].dl=65535,Gr=0;Gr<=Nr;Gr++)Qr=sa,sa=Kn[Gr+1].dl,++Ua=3&&fe[ec[Ua]].dl==0;Ua--);return Ke+=3*(Ua+1)+5+5+4,Ua}(),(Gr=mn+3+7>>3)<=(Nr=Ke+3+7>>3)&&(Nr=Gr),Ki+4<=Nr&&I>=0)for(tc((sn<<1)+Kn,3),p1(),kl(Ki),kl(~Ki),sa=0;sa2&&(4095&Kt)==0){var Gr,Qr=8*Kt,Ki=G-I;for(Gr=0;Gr>=3,Xt>=1;while(Uayn-Nr?(kl(B|=Kn<>yn-L,L+=Nr-yn):(B|=Kn<>=1,Gr<<=1;while(--Nr>0);return Gr>>1}function p1(){L>8?kl(B):L>0&&Wc(B),B=0,L=0}return function(Kn,Nr){var Gr,Qr;je=Kn,zt=0,Nr===void 0&&(Nr=6),function(Yo){var eo;if(Yo?Yo<1?Yo=1:Yo>9&&(Yo=9):Yo=6,ve=Yo,l=!1,ne=!1,Lo==null){for(r=i=o=null,Lo=new Array(nn),b=new Array(Qn),w=new Array(_r),x=new Array(32832),C=new Array(65536),ee=new Array(ho),eo=0;eo0;){var Ua=new Array(Gr);for(Qr=0;Qr>4,h=(15&i)<<2|o>>6,g=63&o,d="";return d+=cAe(63&r>>2),d+=cAe(63&l),d+=cAe(63&h),d+=cAe(63&g)}function cAe(r){var i=r;return i<10?String.fromCharCode(48+i):(i-=10)<26?String.fromCharCode(65+i):(i-=26)<26?String.fromCharCode(97+i):(i-=26)===0?"-":i===1?"_":"?"}function I8n(r,i){var o,l=unescape(encodeURIComponent(r));return rt(o="".concat(i,"/svg/")).call(o,function(h){for(var g="",d=0;d0&&arguments[0]!==void 0?arguments[0]:{};qr(this,r),this.baseUrl=(i=o.baseUrl)!==null&&i!==void 0?i:"http://www.plantuml.com/plantuml"}return Yr(r,[{key:"render",value:function(i,o){var l,h,g=o;g||(g=Math.round(1e8*Math.random()));var d=rt(l="plantuml-".concat(g,"-")).call(l,new Date().getTime());return rt(h='')}}],[{key:"install",value:function(i,o){var l;aQe(i,{engine:{syntax:{codeBlock:{customRenderer:{plantuml:new r(Qkt(Qkt({},o),(l=i.engine.syntax.plantuml)!==null&&l!==void 0?l:{}))}}}}})}}]),r}();function XLt(r){for(var i=[],o=1;o`)).call(C,P,"
    "),h+=1,x}),this.tocListDom.innerHTML=l}}if(this.$cherry.status.previewer!=="hide"){for(var g,d=this.$cherry.previewer.getDomContainer().getBoundingClientRect().y,b=this.$cherry.previewer.getDomContainer().querySelectorAll("h1,h2,h3,h4,h5,h6,h7,h8"),w=0;wd+20);w++);w=w>0?w-1:w,xa(g=this.tocListDom.querySelectorAll(".cherry-toc-one-a")).call(g,function(x,C){C===w?x.classList.add("current"):x.classList.remove("current")})}}}]),r}();function zxn(r){var i=function(){if(typeof Reflect>"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}var Xxn=function(r){aa(o,bte);var i=zxn(o);function o(){return qr(this,o),i.apply(this,arguments)}return Yr(o,[{key:"appendMenusToDom",value:function(l){this.options.dom.appendChild(l)}}]),o}(),i9=-1,s7=1,qv=0;function Pee(r,i,o,l){if(r===i)return r?[[qv,r]]:[];if(o!=null){var h=function(x,C,B){var L=typeof B=="number"?{index:B,length:0}:B.oldRange,M=typeof B=="number"?null:B.newRange,P=x.length,z=C.length;if(L.length===0&&(M===null||M.length===0)){var W=L.index,Q=x.slice(0,W),V=x.slice(W),oe=M?M.index:null,G=W+z-P;if((oe===null||oe===G)&&!(G<0||G>z)){var ae=C.slice(0,G);if((Ae=C.slice(G))===V){var ne=Math.min(W,G);if((ve=Q.slice(0,ne))===(ee=ae.slice(0,ne)))return bIe(ve,Q.slice(ne),ae.slice(ne),V)}}if(oe===null||oe===W){var de=W,Ae=(ae=C.slice(0,de),C.slice(de));if(ae===Q){var le=Math.min(P-de,z-de);if((me=V.slice(V.length-le))===(ye=Ae.slice(Ae.length-le)))return bIe(Q,V.slice(0,V.length-le),Ae.slice(0,Ae.length-le),me)}}}if(L.length>0&&M&&M.length===0){var ve=x.slice(0,L.index),me=x.slice(L.index+L.length);if(!(z<(ne=ve.length)+(le=me.length))){var ee=C.slice(0,ne),ye=C.slice(z-le);if(ve===ee&&me===ye)return bIe(ve,x.slice(ne,P-le),C.slice(ne,z-le),me)}}return null}(r,i,o);if(h)return h}var g=jDe(r,i),d=r.substring(0,g);g=KDe(r=r.substring(g),i=i.substring(g));var b=r.substring(r.length-g),w=function(x,C){var B;if(!x)return[[s7,C]];if(!C)return[[i9,x]];var L=x.length>C.length?x:C,M=x.length>C.length?C:x,P=L.indexOf(M);if(P!==-1)return B=[[s7,L.substring(0,P)],[qv,M],[s7,L.substring(P+M.length)]],x.length>C.length&&(B[0][0]=B[2][0]=i9),B;if(M.length===1)return[[i9,x],[s7,C]];var z=function(de,Ae){var le=de.length>Ae.length?de:Ae,ve=de.length>Ae.length?Ae:de;if(le.length<4||2*ve.length=ct.length?[Le,ht,Rt,Et,on]:null}var ee,ye,Y,Ee,fe,ce=me(le,ve,Math.ceil(le.length/4)),$e=me(le,ve,Math.ceil(le.length/2));if(!ce&&!$e)return null;ee=$e?ce&&ce[4].length>$e[4].length?ce:$e:ce,de.length>Ae.length?(ye=ee[0],Y=ee[1],Ee=ee[2],fe=ee[3]):(Ee=ee[0],fe=ee[1],ye=ee[2],Y=ee[3]);var Ye=ee[4];return[ye,Y,Ee,fe,Ye]}(x,C);if(z){var W=z[0],Q=z[1],V=z[2],oe=z[3],G=z[4],ae=Pee(W,V),ne=Pee(Q,oe);return ae.concat([[qv,G]],ne)}return function(de,Ae){for(var le=de.length,ve=Ae.length,me=Math.ceil((le+ve)/2),ee=me,ye=2*me,Y=new Array(ye),Ee=new Array(ye),fe=0;fele)ct+=2;else if(Et>ve)Ye+=2;else if($e&&(on=ee+ce-ht)>=0&&on=(xt=le-Ee[on]))return m7t(de,Ae,Xt,Et)}for(var Rn=-Le+ot;Rn<=Le-Qe;Rn+=2){for(var xt,on=ee+Rn,Kt=(xt=Rn===-Le||Rn!==Le&&Ee[on-1]le)Qe+=2;else if(Kt>ve)ot+=2;else if(!$e&&(Rt=ee+ce-Rn)>=0&&Rt=(xt=le-xt))return m7t(de,Ae,Xt,Et)}}}return[[i9,de],[s7,Ae]]}(x,C)}(r=r.substring(0,r.length-g),i=i.substring(0,i.length-g));return d&&w.unshift([qv,d]),b&&w.push([qv,b]),MLt(w,l),w}function m7t(r,i,o,l){var h=r.substring(0,o),g=i.substring(0,l),d=r.substring(o),b=i.substring(l),w=Pee(h,g),x=Pee(d,b);return w.concat(x)}function jDe(r,i){if(!r||!i||r.charAt(0)!==i.charAt(0))return 0;for(var o=0,l=Math.min(r.length,i.length),h=l,g=0;o=0&&OLt(r[w][1])){var x=r[w][1].slice(-1);if(r[w][1]=r[w][1].slice(0,-1),d=x+d,b=x+b,!r[w][1]){r.splice(w,1),l--;var C=w-1;r[C]&&r[C][0]===s7&&(g++,b=r[C][1]+b,C--),r[C]&&r[C][0]===i9&&(h++,d=r[C][1]+d,C--),w=C}}DLt(r[l][1])&&(x=r[l][1].charAt(0),r[l][1]=r[l][1].slice(1),d+=x,b+=x)}if(l0||b.length>0){d.length>0&&b.length>0&&((o=jDe(b,d))!==0&&(w>=0?r[w][1]+=b.substring(0,o):(r.splice(0,0,[qv,b.substring(0,o)]),l++),b=b.substring(o),d=d.substring(o)),(o=KDe(b,d))!==0&&(r[l][1]=b.substring(b.length-o)+r[l][1],b=b.substring(0,b.length-o),d=d.substring(0,d.length-o)));var B=g+h;d.length===0&&b.length===0?(r.splice(l-B,B),l-=B):d.length===0?(r.splice(l-B,B,[s7,b]),l=l-B+1):b.length===0?(r.splice(l-B,B,[i9,d]),l=l-B+1):(r.splice(l-B,B,[i9,d],[s7,b]),l=l-B+2)}l!==0&&r[l-1][0]===qv?(r[l-1][1]+=r[l][1],r.splice(l,1)):l++,g=0,h=0,d="",b=""}r[r.length-1][1]===""&&r.pop();var L=!1;for(l=1;l=55296&&r<=56319}function FLt(r){return r>=56320&&r<=57343}function DLt(r){return FLt(r.charCodeAt(0))}function OLt(r){return ILt(r.charCodeAt(r.length-1))}function bIe(r,i,o,l){return OLt(r)||DLt(l)?null:function(h){for(var g=[],d=0;d0&&g.push(h[d]);return g}([[qv,r],[i9,i],[s7,o],[qv,l]])}function e0e(r,i,o){return Pee(r,i,o,!0)}e0e.INSERT=s7,e0e.DELETE=i9,e0e.EQUAL=qv;var oAe=e0e,Gxn=function(r,i){for(var o=-1,l=r==null?0:r.length;++o"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}function S7t(r,i,o){var l,h={};return xa(l=pu(r)).call(l,function(g){xl(i).call(i,g)!==-1&&(Vc(o)==="object"?typeof o[g]=="string"?Vc(r[g])===o[g]&&(h[g]=r[g]):r[g]instanceof o[g]&&(h[g]=r[g]):typeof o=="string"&&Vc(r[g])===o&&(h[g]=r[g]))}),h}var T8n={HOOKS_TYPE_LIST:bj},L7t=[];q3()||xa(L7t).call(L7t,function(r){});var BZ=function(){function r(){qr(this,r)}return Yr(r,null,[{key:"usePlugin",value:function(i){var o;if(this===r)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(i.$cherry$mounted!==!0){for(var l=arguments.length,h=new Array(l>1?l-1:0),g=1;g"u"||!ut||ut.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ut(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,l=En(r);if(i){var h=En(this).constructor;o=ut(l,arguments,h)}else o=l.apply(this,arguments);return Wi(this,o)}}gi(BZ,"createSyntaxHook",function(r,i,o){var l,h=i===bj.PAR?Sd:RA,g=S7t(o,["beforeMakeHtml","makeHtml","afterMakeHtml","rule","test"],"function"),d={needCache:o.needCache,defaultCache:o.defaultCache};return l=function(b){aa(x,b);var w=_7t(x);function x(){var C,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return qr(this,x),(C=i===bj.PAR?w.call(this,{needCache:!!d.needCache,defaultCache:d.defaultCache}):w.call(this)).config=B.config,Wi(C)}return Yr(x,[{key:"beforeMakeHtml",value:function(){for(var C,B,L=arguments.length,M=new Array(L),P=0;P0&&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 l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.previewer.getValue(l)}},{key:"getPreviewer",value:function(){return this.previewer}},{key:"getToc",value:function(){var l=this.getHtml(),h=[];return l.replace(/(.+?)<\/h[0-6]>/g,function(g,d,b,w){return h.push({level:+d,id:b,text:w.replace(//,"")}),g}),h}},{key:"setValue",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.editor.storeDocumentScroll(),h===!1)return this.editor.editor.setValue(l);var g=this.editor.editor,d=this.getValue(),b=function(x,C,B){for(var L=oAe(C,B),M=x,P=x,z=0;z1&&arguments[1]!==void 0&&arguments[1],g=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];g&&this.editor.editor.setSelection({line:g[0],ch:g[1]},{line:g[0],ch:g[1]}),this.editor.editor.replaceSelection(l,h?"around":"end"),d&&this.editor.editor.focus()}},{key:"insertValue",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0&&arguments[1],g=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];return this.insert(l,h,g,d)}},{key:"refreshPreviewer",value:function(){try{var l=this.getValue(),h=this.engine.makeHtml(l);this.previewer.refresh(h)}catch(g){throw new GAe(g)}}},{key:"setMarkdown",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.setValue(l,h)}},{key:"createWrapper",value:function(){var l=this.options.toolbars.theme==="dark"?"dark":"",h=this.options.engine.syntax.inlineCode.theme,g=this.options.engine.syntax.codeBlock.theme;g==="dark"?g="tomorrow-night":g==="light"&&(g="solarized-light");var d=Jl("div",["cherry","clearfix",yDe(!0)].join(" "),{"data-toolbarTheme":l,"data-inlineCodeTheme":h,"data-codeBlockTheme":g});return this.wrapperDom=d,d}},{key:"createToolbar",value:function(){var l=Jl("div","cherry-toolbar");return this.toolbarContainer=l,this.toolbar=new bte({dom:l,$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 jxn({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(l){if(this.options.toolbars.sidebar){$N(this.options.toolbars.sidebar,Array);var h=this.options.toolbars.theme==="dark"?"dark":"",g=Jl("div","cherry-sidebar ".concat(h));this.sidebar=new Xxn({dom:g,$cherry:this,buttonConfig:this.options.toolbars.sidebar,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.sidebar),l.appendChild(this.sidebar.options.dom)}}},{key:"createFloatMenu",value:function(){if(this.options.toolbars.float){var l=Jl("div","cherry-floatmenu");$N(this.options.toolbars.float,Array),this.floatMenu=new Hxn({dom:l,$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 l=Jl("div","cherry-bubble");$N(this.options.toolbars.bubble,Array),this.bubble=new LLt({dom:l,$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 l,h,g,d,b=Jl("textarea","",{id:(l=this.options.editor.id)!==null&&l!==void 0?l:"code",name:(h=this.options.editor.name)!==null&&h!==void 0?h:"code"});b.textContent=this.options.value;var w=Jl("div","cherry-editor");return w.appendChild(b),this.editor=new Rwn(function(x){for(var C=1;C0&&arguments[0]!==void 0?arguments[0]:"pdf",h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";this.previewer.export(l,h)}},{key:"setTheme",value:function(){K_t(this,arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default")}},{key:"setWritingStyle",value:function(l){this.editor.setWritingStyle(l)}}]),o}();gi(t0e,"initialized",!1),gi(t0e,"config",{defaults:C8n}),window&&(window.Cherry=t0e);var JZ=t0e;function I7t(r,i){var o=pu(r);if(O1){var l=O1(r);i&&(l=t1(l).call(l,function(h){return Id(r,h).enumerable})),o.push.apply(o,l)}return o}function F7t(r){for(var i=1;i0&&arguments[0]!==void 0?arguments[0]:{};qr(this,r),gi(this,"mermaidAPIRefs",null),gi(this,"options",D7t),gi(this,"dom",null),gi(this,"mermaidCanvas",null);var o=i.mermaid,l=i.mermaidAPI;if(!(l||window.mermaidAPI||o&&o.mermaidAPI||window.mermaid&&window.mermaid.mermaidAPI))throw new Error("code-block-mermaid-plugin[init]: Package mermaid or mermaidAPI not found.");this.options=F7t(F7t({},D7t),i||{}),this.mermaidAPIRefs=l||window.mermaidAPI||o.mermaidAPI||window.mermaid.mermaidAPI,delete this.options.mermaid,delete this.options.mermaidAPI,this.mermaidAPIRefs.initialize(this.options)}return Yr(r,[{key:"mountMermaidCanvas",value:function(i){this.mermaidCanvas&&document.body.contains(this.mermaidCanvas)||(this.mermaidCanvas=document.createElement("div"),this.mermaidCanvas.style="width:1024px;opacity:0;position:fixed;top:100%;",(i.$cherry.wrapperDom||document.body).appendChild(this.mermaidCanvas))}},{key:"convertMermaidSvgToImg",value:function(i,o){var l,h=new DOMParser,g=function(L){return L.replace("')}}else l=g(i)}catch{l=g(i)}return l}},{key:"render",value:function(i,o,l){var h,g,d,b=this,w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},x=o;x||(x=Math.round(1e8*Math.random())),this.mountMermaidCanvas(l);var C=rt(h="mermaid-".concat(x,"-")).call(h,new Date().getTime());this.svg2img=(g=w==null?void 0:w.svg2img)!==null&&g!==void 0&&g;try{this.mermaidAPIRefs.render(C,i,function(B){var L=B.replace(/\s*markerUnits="0"/g,"").replace(/\s*x="NaN"/g,"").replace(/
    /g,"
    ");d=b.convertMermaidSvgToImg(L,C)},this.mermaidCanvas)}catch(B){return B==null?void 0:B.str}return d}}],[{key:"install",value:function(i){for(var o=arguments.length,l=new Array(o>1?o-1:0),h=1;h>>8):(Wc(255&Kn),Wc(Kn>>>8))}function Lc(){P=(P<>7)])}function ru(Kn,Nr,Gr){return Kn[Nr].fcTa?G-Ta:ro,Yo=G+Hn,eo=b[Ki+sa-1],Mc=b[Ki+sa];oe>=me&&(Qr>>=2);do if(b[(Nr=Kn)+sa]==Mc&&b[Nr+sa-1]==eo&&b[Nr]==b[Ki]&&b[++Nr]==b[Ki+1]){Ki+=2,Nr++;do;while(b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&b[++Ki]==b[++Nr]&&Kisa){if(ae=Kn,sa=Gr,Gr>=Hn)break;eo=b[Ki+sa-1],Mc=b[Ki+sa]}}while((Kn=C[Kn&_i])>Ua&&--Qr!=0);return sa}function Ei(){var Kn,Nr,Gr=Qn-de-G;if(Gr==-1)Gr--;else if(G>=pt+Ta){for(Kn=0;Kn=pt?Nr-pt:ro);for(Kn=0;Kn=pt?Nr-pt:ro;Gr+=pt}ne||((Kn=Fs(b,G+de,Gr))<=0?ne=!0:de+=Kn)}function Nh(){ne||(B=0,L=0,function(){var Kn,Nr,Gr,Qr,Ki;if(Ee[0].dl==0){for(ce.dyn_tree=ee,ce.static_tree=Y,ce.extra_bits=Zs,ce.extra_base=oa+1,ce.elems=Xo,ce.max_length=vr,ce.max_code=0,$e.dyn_tree=ye,$e.static_tree=Ee,$e.extra_bits=tu,$e.extra_base=0,$e.elems=hr,$e.max_length=vr,$e.max_code=0,Ye.dyn_tree=fe,Ye.static_tree=null,Ye.extra_bits=_a,Ye.extra_base=0,Ye.elems=Ya,Ye.max_length=Zr,Ye.max_code=0,Gr=0,Qr=0;Qr>=7;Qrde&&(V=de),V>=ln)if(Ki=Yt(G-ae,V-ln),de-=V,V<=le){V--;do G++,Lc();while(--V!=0);G++}else G+=V,V=0,P=((P=255&b[G])<de&&(V=de),V==ln&&G-ae>Js&&V--),oe>=ln&&V<=oe){var Ki;Ki=Yt(G-1-W,oe-ln),de-=oe-1,oe-=2;do G++,Lc();while(--oe!=0);Q=0,V=ln-1,G++,Ki&&(bo(0),M=G)}else Q!=0?(Yt(0,255&b[G-1])&&(bo(0),M=G),G++,de--):(Q=1,G++,de--);for(;dei.len&&(Ki=i.len),sa=0;sah-g&&(Ki=h-g),sa=0;sa>1;Nr>=1;Nr--)ju(Qr,Nr);do Nr=ot[lr],ot[lr]=ot[Qe--],ju(Qr,lr),Gr=ot[lr],ot[--Le]=Nr,ot[--Le]=Gr,Qr[Yo].fc=Qr[Nr].fc+Qr[Gr].fc,ht[Nr]>ht[Gr]+1?ht[Yo]=ht[Nr]:ht[Yo]=ht[Gr]+1,Qr[Nr].dl=Qr[Gr].dl=Yo,ot[lr]=Yo++,ju(Qr,lr);while(Qe>=2);ot[--Le]=ot[lr],function(Mc){var Ku,Al,m1,vc,n1,gl,Ic=Mc.dyn_tree,nc=Mc.extra_bits,Im=Mc.extra_base,ff=Mc.max_code,zu=Mc.max_length,ig=Mc.static_tree,r1=0;for(vc=0;vc<=vr;vc++)ct[vc]=0;for(Ic[ot[Le]].dl=0,Ku=Le+1;Kuzu&&(vc=zu,r1++),Ic[Al].dl=vc,Al>ff||(ct[vc]++,n1=0,Al>=Im&&(n1=nc[Al-Im]),gl=Ic[Al].fc,Ke+=gl*(vc+n1),ig!=null&&(mn+=gl*(ig[Al].dl+n1)));if(r1!=0){do{for(vc=zu-1;ct[vc]==0;)vc--;ct[vc]--,ct[vc+1]+=2,ct[zu]--,r1-=2}while(r1>0);for(vc=zu;vc!=0;vc--)for(Al=ct[vc];Al!=0;)(m1=ot[--Ku])>ff||(Ic[m1].dl!=vc&&(Ke+=(vc-Ic[m1].dl)*Ic[m1].fc,Ic[m1].fc=vc),Al--)}}(Kn),$i(Qr,Ua)}function ar(Kn,Nr){var Gr,Qr,Ki=-1,sa=Kn[0].dl,Ua=0,Yo=7,eo=4;for(sa==0&&(Yo=138,eo=3),Kn[Nr+1].dl=65535,Gr=0;Gr<=Nr;Gr++)Qr=sa,sa=Kn[Gr+1].dl,++Ua=3&&fe[ec[Ua]].dl==0;Ua--);return Ke+=3*(Ua+1)+5+5+4,Ua}(),(Gr=mn+3+7>>3)<=(Nr=Ke+3+7>>3)&&(Nr=Gr),Ki+4<=Nr&&M>=0)for(tc((sn<<1)+Kn,3),p1(),kl(Ki),kl(~Ki),sa=0;sa2&&(4095&Kt)==0){var Gr,Qr=8*Kt,Ki=G-M;for(Gr=0;Gr>=3,Xt<_b(Kt/2)&&Qr<_b(Ki/2))return!0}return Kt==$t-1||Xt==_r}function Ph(Kn,Nr){var Gr,Qr,Ki,sa,Ua=0,Yo=0,eo=0,Mc=0;if(Kt!=0)do!(7&Ua)&&(Mc=on[eo++]),Qr=255&x[Ua++],1&Mc?(Ul((Ki=Rt[Qr])+oa+1,Kn),(sa=Zs[Ki])!=0&&tc(Qr-=Rn[Ki],sa),Ul(Ki=ws(Gr=w[Yo++]),Nr),(sa=tu[Ki])!=0&&tc(Gr-=xt[Ki],sa)):Ul(Qr,Kn),Mc>>=1;while(Uayn-Nr?(kl(B|=Kn<>yn-L,L+=Nr-yn):(B|=Kn<>=1,Gr<<=1;while(--Nr>0);return Gr>>1}function p1(){L>8?kl(B):L>0&&Wc(B),B=0,L=0}return function(Kn,Nr){var Gr,Qr;je=Kn,zt=0,Nr===void 0&&(Nr=6),function(Yo){var eo;if(Yo?Yo<1?Yo=1:Yo>9&&(Yo=9):Yo=6,ve=Yo,l=!1,ne=!1,Lo==null){for(r=i=o=null,Lo=new Array(nn),b=new Array(Qn),w=new Array(_r),x=new Array(32832),C=new Array(65536),ee=new Array(ho),eo=0;eo0;){var Ua=new Array(Gr);for(Qr=0;Qr>4,h=(15&i)<<2|o>>6,g=63&o,d="";return d+=sAe(63&r>>2),d+=sAe(63&l),d+=sAe(63&h),d+=sAe(63&g)}function sAe(r){var i=r;return i<10?String.fromCharCode(48+i):(i-=10)<26?String.fromCharCode(65+i):(i-=26)<26?String.fromCharCode(97+i):(i-=26)===0?"-":i===1?"_":"?"}function L8n(r,i){var o,l=unescape(encodeURIComponent(r));return rt(o="".concat(i,"/svg/")).call(o,function(h){for(var g="",d=0;d0&&arguments[0]!==void 0?arguments[0]:{};qr(this,r),this.baseUrl=(i=o.baseUrl)!==null&&i!==void 0?i:"http://www.plantuml.com/plantuml"}return Yr(r,[{key:"render",value:function(i,o){var l,h,g=o;g||(g=Math.round(1e8*Math.random()));var d=rt(l="plantuml-".concat(g,"-")).call(l,new Date().getTime());return rt(h='')}}],[{key:"install",value:function(i,o){var l;iQe(i,{engine:{syntax:{codeBlock:{customRenderer:{plantuml:new r(N7t(N7t({},o),(l=i.engine.syntax.plantuml)!==null&&l!==void 0?l:{}))}}}}})}}]),r}();function zLt(r){for(var i=[],o=1;o=Y?ye:""+Array(Y+1-fe.length).join(Ee)+ye},G={s:oe,z:function(ye){var Y=-ye.utcOffset(),Ee=Math.abs(Y),fe=Math.floor(Ee/60),ce=Ee%60;return(Y<=0?"+":"-")+oe(fe,2,"0")+":"+oe(ce,2,"0")},m:function ye(Y,Ee){if(Y.date()1)return ye(Ye[0])}else{var ct=Y.name;ne[ct]=Y,ce=ct}return!fe&&ce&&(ae=ce),ce||!fe&&ae},le=function(ye,Y){if(de(ye))return ye.clone();var Ee=typeof Y=="object"?Y:{};return Ee.date=ye,Ee.args=arguments,new me(Ee)},ve=G;ve.l=Ae,ve.i=de,ve.w=function(ye,Y){return le(ye,{locale:Y.$L,utc:Y.$u,x:Y.$x,$offset:Y.$offset})};var me=function(){function ye(Ee){this.$L=Ae(Ee.locale,null,!0),this.parse(Ee)}var Y=ye.prototype;return Y.parse=function(Ee){this.$d=function(fe){var ce=fe.date,$e=fe.utc;if(ce===null)return new Date(NaN);if(ve.u(ce))return new Date;if(ce instanceof Date)return new Date(ce);if(typeof ce=="string"&&!/Z$/i.test(ce)){var Ye=ce.match(W);if(Ye){var ct=Ye[2]-1||0,ot=(Ye[7]||"0").substring(0,3);return $e?new Date(Date.UTC(Ye[1],ct,Ye[3]||1,Ye[4]||0,Ye[5]||0,Ye[6]||0,ot)):new Date(Ye[1],ct,Ye[3]||1,Ye[4]||0,Ye[5]||0,Ye[6]||0,ot)}}return new Date(ce)}(Ee),this.$x=Ee.x||{},this.init()},Y.init=function(){var Ee=this.$d;this.$y=Ee.getFullYear(),this.$M=Ee.getMonth(),this.$D=Ee.getDate(),this.$W=Ee.getDay(),this.$H=Ee.getHours(),this.$m=Ee.getMinutes(),this.$s=Ee.getSeconds(),this.$ms=Ee.getMilliseconds()},Y.$utils=function(){return ve},Y.isValid=function(){return this.$d.toString()!==z},Y.isSame=function(Ee,fe){var ce=le(Ee);return this.startOf(fe)<=ce&&ce<=this.endOf(fe)},Y.isAfter=function(Ee,fe){return le(Ee)-1}(w))return w;var x=w.match(g);if(!x)return w;var C=x[0];return o.test(C)?"about:blank":w}});kQ(GLt);var fQ=GLt.sanitizeUrl;function r0e(r,i){return r==null||i==null?NaN:ri?1:r>=i?0:NaN}function F8n(r,i){return r==null||i==null?NaN:ir?1:i>=r?0:NaN}function _Qe(r){var i,o,l;function h(g,d){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:g.length;if(b>>1;o(g[x],d)<0?b=x+1:w=x}while(b2&&arguments[2]!==void 0?arguments[2]:0,w=h(g,d,b,(arguments.length>3&&arguments[3]!==void 0?arguments[3]:g.length)-1);return w>b&&l(g[w-1],d)>-l(g[w],d)?w-1:w},right:function(g,d){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:g.length;if(b>>1;o(g[x],d)<=0?b=x+1:w=x}while(b3)){if(P8n)return!0;if(jkt)return jkt<603;var r,i,o,l,h="";for(r=65;r<76;r++){switch(i=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:o=3;break;case 68:case 71:o=4;break;default:o=2}for(l=0;l<47;l++)qI.push({k:i+l,v:o})}for(qI.sort(function(g,d){return d.v-g.v}),l=0;lZl(w)?1:-1}}(r)),o=h.length,l=0;l=V8n?10:w>=W8n?5:w>=q8n?2:1;return b<0?(g=Math.pow(10,-b)/x,(l=Math.round(r*g))/gi&&--h,g=-g):(g=Math.pow(10,b)*x,(l=Math.round(r/g))*gi&&--h),h=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(w){throw w},f:h}}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 g,d=!0,b=!1;return{s:function(){o=o.call(r)},n:function(){var w=o.next();return d=w.done,w},e:function(w){b=!0,g=w},f:function(){try{d||o.return==null||o.return()}finally{if(b)throw g}}}}function Gkt(r,i){(i==null||i>r.length)&&(i=r.length);for(var o=0,l=new Array(i);o=g)&&(o=g)}}catch(C){h.e(C)}finally{h.f()}}else{var d,b=-1,w=Xkt(r);try{for(w.s();!(d=w.n()).done;){var x=d.value;(x=i(x,++b,r))!=null&&(o=x)&&(o=x)}}catch(C){w.e(C)}finally{w.f()}}return o}function Vkt(r,i){var o=Vj!==void 0&&bM(r)||r["@@iterator"];if(!o){if(t4(r)||(o=function(w,x){var C;if(w){if(typeof w=="string")return Wkt(w,x);var B=Zi(C=Object.prototype.toString.call(w)).call(C,8,-1);if(B==="Object"&&w.constructor&&(B=w.constructor.name),B==="Map"||B==="Set")return yl(w);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return Wkt(w,x)}}(r))||i&&r&&typeof r.length=="number"){o&&(r=o);var l=0,h=function(){};return{s:h,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(w){throw w},f:h}}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 g,d=!0,b=!1;return{s:function(){o=o.call(r)},n:function(){var w=o.next();return d=w.done,w},e:function(w){b=!0,g=w},f:function(){try{d||o.return==null||o.return()}finally{if(b)throw g}}}}function Wkt(r,i){(i==null||i>r.length)&&(i=r.length);for(var o=0,l=new Array(i);og||o===void 0&&g>=g)&&(o=g)}}catch(C){h.e(C)}finally{h.f()}}else{var d,b=-1,w=Vkt(r);try{for(w.s();!(d=w.n()).done;){var x=d.value;(x=i(x,++b,r))!=null&&(o>x||o===void 0&&x>=x)&&(o=x)}}catch(C){w.e(C)}finally{w.f()}}return o}var XB=kLt;function Z8n(r){return r}var i0e=1,xMe=2,JDe=3,lAe=4,qkt=1e-6;function ekn(r){return"translate("+r+",0)"}function tkn(r){return"translate(0,"+r+")"}function nkn(r){return function(i){return+r(i)}}function rkn(r,i){return i=Math.max(0,r.bandwidth()-2*i)/2,r.round()&&(i=Math.round(i)),function(o){return+r(o)+i}}function ikn(){return!this.__axis}function Ykt(r,i){var o=[],l=null,h=null,g=6,d=6,b=3,w=typeof window<"u"&&window.devicePixelRatio>1?0:.5,x=r===i0e||r===lAe?-1:1,C=r===lAe||r===xMe?"x":"y",B=r===i0e||r===JDe?ekn:tkn;function L(I){var P=l??(i.ticks?i.ticks.apply(i,o):i.domain()),z=h??(i.tickFormat?i.tickFormat.apply(i,o):Z8n),W=Math.max(g,0)+b,Q=i.range(),V=+Q[0]+w,oe=+Q[Q.length-1]+w,G=(i.bandwidth?rkn:nkn)(i.copy(),w),ae=I.selection?I.selection():I,ne=ae.selectAll(".domain").data([null]),de=ae.selectAll(".tick").data(P,i).order(),Ae=de.exit(),le=de.enter().append("g").attr("class","tick"),ve=de.select("line"),me=de.select("text");ne=ne.merge(ne.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),de=de.merge(le),ve=ve.merge(le.append("line").attr("stroke","currentColor").attr(C+"2",x*g)),me=me.merge(le.append("text").attr("fill","currentColor").attr(C,x*W).attr("dy",r===i0e?"0em":r===JDe?"0.71em":"0.32em")),I!==ae&&(ne=ne.transition(I),de=de.transition(I),ve=ve.transition(I),me=me.transition(I),Ae=Ae.transition(I).attr("opacity",qkt).attr("transform",function(ee){return isFinite(ee=G(ee))?B(ee+w):this.getAttribute("transform")}),le.attr("opacity",qkt).attr("transform",function(ee){var ye=this.parentNode.__axis;return B((ye&&isFinite(ye=ye(ee))?ye:G(ee))+w)})),Ae.remove(),ne.attr("d",r===lAe||r===xMe?d?"M"+x*d+","+V+"H"+w+"V"+oe+"H"+x*d:"M"+w+","+V+"V"+oe:d?"M"+V+","+x*d+"V"+w+"H"+oe+"V"+x*d:"M"+V+","+w+"H"+oe),de.attr("opacity",1).attr("transform",function(ee){return B(G(ee)+w)}),ve.attr(C+"2",x*g),me.attr(C,x*W).text(z),t1(ae).call(ae,ikn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===xMe?"start":r===lAe?"end":"middle"),ae.each(function(){this.__axis=G})}return L.scale=function(I){return arguments.length?(i=I,L):i},L.ticks=function(){return o=yl(arguments),L},L.tickArguments=function(I){return arguments.length?(o=I==null?[]:yl(I),L):Zi(o).call(o)},L.tickValues=function(I){return arguments.length?(l=I==null?null:yl(I),L):l&&Zi(l).call(l)},L.tickFormat=function(I){return arguments.length?(h=I,L):h},L.tickSize=function(I){return arguments.length?(g=d=+I,L):g},L.tickSizeInner=function(I){return arguments.length?(g=+I,L):g},L.tickSizeOuter=function(I){return arguments.length?(d=+I,L):d},L.tickPadding=function(I){return arguments.length?(b=+I,L):b},L.offset=function(I){return arguments.length?(w=+I,L):w},L}var akn={value:function(){}};function VLt(){for(var r,i=0,o=arguments.length,l={};i=0&&(B=Zi(C).call(C,L+1),C=Zi(C).call(C,0,L)),C&&!w.hasOwnProperty(C))throw new Error("unknown type: "+C);return{type:C,name:B}})}(r+"",l),g=-1,d=h.length;if(!(arguments.length<2)){if(i!=null&&typeof i!="function")throw new Error("invalid callback: "+i);for(;++g0)for(var o,l,h=new Array(o),g=0;g=0&&(i=Zi(r).call(r,0,o))!=="xmlns"&&(r=Zi(r).call(r,o+1)),Zkt.hasOwnProperty(i)?{space:Zkt[i],local:r}:r}function skn(r){return function(){var i=this.ownerDocument,o=this.namespaceURI;return o===ZDe&&i.documentElement.namespaceURI===ZDe?i.createElement(r):i.createElementNS(o,r)}}function ckn(r){return function(){return this.ownerDocument.createElementNS(r.space,r.local)}}function e7t(r){var i=bge(r);return(i.local?ckn:skn)(i)}var WLt=n_t;function lkn(){}function eOe(r){return r==null?lkn:function(){return this.querySelector(r)}}function qLt(r){return r==null?[]:t4(r)?r:yl(r)}function ukn(){return[]}function YLt(r){return r==null?ukn:function(){return this.querySelectorAll(r)}}function JLt(r){return function(){return this.matches(r)}}function t7t(r){return function(i){return i.matches(r)}}var hkn=See(Array.prototype);function fkn(){return this.firstElementChild}var dkn=t1(Array.prototype);function Akn(){return yl(this.children)}var ZLt=W_t;function n7t(r){return new Array(r.length)}function wge(r,i){this.ownerDocument=r.ownerDocument,this.namespaceURI=r.namespaceURI,this._next=null,this._parent=r,this.__data__=i}function gkn(r,i,o,l,h,g){for(var d,b=0,w=i.length,x=g.length;bi?1:r>=i?0:NaN}function vkn(r,i){var o=Vj!==void 0&&bM(r)||r["@@iterator"];if(!o){if(t4(r)||(o=function(w,x){var C;if(w){if(typeof w=="string")return r7t(w,x);var B=Zi(C=Object.prototype.toString.call(w)).call(C,8,-1);if(B==="Object"&&w.constructor&&(B=w.constructor.name),B==="Map"||B==="Set")return yl(w);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return r7t(w,x)}}(r))||i&&r&&typeof r.length=="number"){o&&(r=o);var l=0,h=function(){};return{s:h,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(w){throw w},f:h}}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 g,d=!0,b=!1;return{s:function(){o=o.call(r)},n:function(){var w=o.next();return d=w.done,w},e:function(w){b=!0,g=w},f:function(){try{d||o.return==null||o.return()}finally{if(b)throw g}}}}function r7t(r,i){(i==null||i>r.length)&&(i=r.length);for(var o=0,l=new Array(i);o=0&&(G3(o=this._names).call(o,l,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){var i;return xl(i=this._names).call(i,r)>=0}};var Jkn=Cj.mark(oIt);function oIt(){var r,i,o,l,h,g,d;return Cj.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:r=this._groups,i=0,o=r.length;case 1:if(!(i=G&&(G=oe+1);!(V=W[G])&&++G=0;)(l=h[g])&&(d&&4^l.compareDocumentPosition(d)&&d.parentNode.insertBefore(l,d),d=l);return this},sort:function(r){function i(B,L){return B&&L?r(B.__data__,L.__data__):!B-!L}r||(r=wkn);for(var o=this._groups,l=o.length,h=new Array(l),g=0;g1?this.each((i==null?Bkn:typeof i=="function"?Skn:_kn)(r,i,o??"")):I$(this.node(),r)},property:function(r,i){return arguments.length>1?this.each((i==null?Lkn:typeof i=="function"?Mkn:Ikn)(r,i)):this.node()[r]},classed:function(r,i){var o=tIt(r+"");if(arguments.length<2){for(var l=SQe(this.node()),h=-1,g=o.length;++h=0&&(P=Zi(I).call(I,z+1),I=Zi(I).call(I,0,z)),{type:I,name:P}})}(r+""),d=g.length;if(!(arguments.length<2)){for(b=i?Wkn:Vkn,l=0;l>8&15|o>>4&240,o>>4&15|240&o,(15&o)<<4|15&o,1):l===8?hAe(o>>24&255,o>>16&255,o>>8&255,(255&o)/255):l===4?hAe(o>>12&15|o>>8&240,o>>8&15|o>>4&240,o>>4&15|240&o,((15&o)<<4|15&o)/255):null):(o=e7n.exec(r))?new Eb(o[1],o[2],o[3],1):(o=t7n.exec(r))?new Eb(255*o[1]/100,255*o[2]/100,255*o[3]/100,1):(o=n7n.exec(r))?hAe(o[1],o[2],o[3],o[4]):(o=r7n.exec(r))?hAe(255*o[1]/100,255*o[2]/100,255*o[3]/100,o[4]):(o=i7n.exec(r))?w7t(o[1],o[2]/100,o[3]/100,1):(o=a7n.exec(r))?w7t(o[1],o[2]/100,o[3]/100,o[4]):d7t.hasOwnProperty(r)?p7t(d7t[r]):r==="transparent"?new Eb(NaN,NaN,NaN,0):null}function p7t(r){return new Eb(r>>16&255,r>>8&255,255&r,1)}function hAe(r,i,o,l){return l<=0&&(r=i=o=NaN),new Eb(r,i,o,l)}function cIt(r){return r instanceof nQ||(r=dQ(r)),r?new Eb((r=r.rgb()).r,r.g,r.b,r.opacity):new Eb}function tOe(r,i,o,l){return arguments.length===1?cIt(r):new Eb(r,i,o,l??1)}function Eb(r,i,o,l){this.r=+r,this.g=+i,this.b=+o,this.opacity=+l}function m7t(){var r,i;return rt(r=rt(i="#".concat(qN(this.r))).call(i,qN(this.g))).call(r,qN(this.b))}function b7t(){var r,i,o,l,h=o0e(this.opacity);return rt(r=rt(i=rt(o=rt(l="".concat(h===1?"rgb(":"rgba(")).call(l,rQ(this.r),", ")).call(o,rQ(this.g),", ")).call(i,rQ(this.b))).call(r,h===1?")":", ".concat(h,")"))}function o0e(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function rQ(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function qN(r){return((r=rQ(r))<16?"0":"")+r.toString(16)}function w7t(r,i,o,l){return l<=0?r=i=o=NaN:o<=0||o>=1?r=i=NaN:i<=0&&(r=NaN),new lk(r,i,o,l)}function v7t(r){if(r instanceof lk)return new lk(r.h,r.s,r.l,r.opacity);if(r instanceof nQ||(r=dQ(r)),!r)return new lk;if(r instanceof lk)return r;var i=(r=r.rgb()).r/255,o=r.g/255,l=r.b/255,h=Math.min(i,o,l),g=Math.max(i,o,l),d=NaN,b=g-h,w=(g+h)/2;return b?(d=i===g?(o-l)/b+6*(o0&&w<1?0:d,new lk(d,b,w,r.opacity)}function lk(r,i,o,l){this.h=+r,this.s=+i,this.l=+o,this.opacity=+l}function y7t(r){return(r=(r||0)%360)<0?r+360:r}function fAe(r){return Math.max(0,Math.min(1,r||0))}function kMe(r,i,o){return 255*(r<60?i+(o-i)*r/60:r<180?o:r<240?i+(o-i)*(240-r)/60:i)}eee(nQ,dQ,{copy:function(r){return BB(new this.constructor,this,r)},displayable:function(){return this.rgb().displayable()},hex:A7t,formatHex:A7t,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return v7t(this).formatHsl()},formatRgb:g7t,toString:g7t}),eee(Eb,tOe,vge(nQ,{brighter:function(r){return r=r==null?uAe:Math.pow(uAe,r),new Eb(this.r*r,this.g*r,this.b*r,this.opacity)},darker:function(r){return r=r==null?LZ:Math.pow(LZ,r),new Eb(this.r*r,this.g*r,this.b*r,this.opacity)},rgb:function(){return this},clamp:function(){return new Eb(rQ(this.r),rQ(this.g),rQ(this.b),o0e(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:m7t,formatHex:m7t,formatHex8:function(){var r,i,o;return rt(r=rt(i=rt(o="#".concat(qN(this.r))).call(o,qN(this.g))).call(i,qN(this.b))).call(r,qN(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:b7t,toString:b7t})),eee(lk,function(r,i,o,l){return arguments.length===1?v7t(r):new lk(r,i,o,l??1)},vge(nQ,{brighter:function(r){return r=r==null?uAe:Math.pow(uAe,r),new lk(this.h,this.s,this.l*r,this.opacity)},darker:function(r){return r=r==null?LZ:Math.pow(LZ,r),new lk(this.h,this.s,this.l*r,this.opacity)},rgb:function(){var r=this.h%360+360*(this.h<0),i=isNaN(r)||isNaN(this.s)?0:this.s,o=this.l,l=o+(o<.5?o:1-o)*i,h=2*o-l;return new Eb(kMe(r>=240?r-240:r+120,h,l),kMe(r,h,l),kMe(r<120?r+240:r-120,h,l),this.opacity)},clamp:function(){return new lk(y7t(this.h),fAe(this.s),fAe(this.l),o0e(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 r,i,o,l,h=o0e(this.opacity);return rt(r=rt(i=rt(o=rt(l="".concat(h===1?"hsl(":"hsla(")).call(l,y7t(this.h),", ")).call(o,100*fAe(this.s),"%, ")).call(i,100*fAe(this.l),"%")).call(r,h===1?")":", ".concat(h,")"))}}));var o7n=Math.PI/180,s7n=180/Math.PI,lIt=.96422,uIt=1,hIt=.82521,fIt=4/29,tj=6/29,dIt=3*tj*tj,c7n=tj*tj*tj;function AIt(r){if(r instanceof o9)return new o9(r.l,r.a,r.b,r.opacity);if(r instanceof yB)return gIt(r);r instanceof Eb||(r=cIt(r));var i,o,l=BMe(r.r),h=BMe(r.g),g=BMe(r.b),d=CMe((.2225045*l+.7168786*h+.0606169*g)/uIt);return l===h&&h===g?i=o=d:(i=CMe((.4360747*l+.3850649*h+.1430804*g)/lIt),o=CMe((.0139322*l+.0971045*h+.7141733*g)/hIt)),new o9(116*d-16,500*(i-d),200*(d-o),r.opacity)}function o9(r,i,o,l){this.l=+r,this.a=+i,this.b=+o,this.opacity=+l}function CMe(r){return r>c7n?Math.pow(r,1/3):r/dIt+fIt}function EMe(r){return r>tj?r*r*r:dIt*(r-fIt)}function TMe(r){return 255*(r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055)}function BMe(r){return(r/=255)<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)}function nOe(r,i,o,l){return arguments.length===1?function(h){if(h instanceof yB)return new yB(h.h,h.c,h.l,h.opacity);if(h instanceof o9||(h=AIt(h)),h.a===0&&h.b===0)return new yB(NaN,0g&&(h=Zi(i).call(i,g,h),b[d]?b[d]+=h:b[++d]=h),(o=o[0])===(l=l[0])?b[d]?b[d]+=l:b[++d]=l:(b[++d]=null,w.push({i:d,x:ok(o,l)})),g=_Me.lastIndex;return g180?C+=360:C-x>180&&(x+=360),L.push({i:B.push(h(B)+"rotate(",null,l)-2,x:ok(x,C)})):C&&B.push(h(B)+"rotate("+C+l)}(g.rotate,d.rotate,b,w),function(x,C,B,L){x!==C?L.push({i:B.push(h(B)+"skewX(",null,l)-2,x:ok(x,C)}):C&&B.push(h(B)+"skewX("+C+l)}(g.skewX,d.skewX,b,w),function(x,C,B,L,I,P){if(x!==B||C!==L){var z=I.push(h(I)+"scale(",null,",",null,")");P.push({i:z-4,x:ok(x,B)},{i:z-2,x:ok(C,L)})}else B===1&&L===1||I.push(h(I)+"scale("+B+","+L+")")}(g.scaleX,g.scaleY,d.scaleX,d.scaleY,b,w),g=d=null,function(x){for(var C,B=-1,L=w.length;++B180||o<-180?o-360*Math.round(o/360):o):Lpe(isNaN(r)?i:r)}),R$=0,MZ=0,tZ=0,vIt=1e3,xge=0,iQ=0,Ipe=0,jee=(typeof performance>"u"?"undefined":Vc(performance))==="object"&&performance.now?performance:Date,yIt=(typeof window>"u"?"undefined":Vc(window))==="object"&&window.requestAnimationFrame?Xa(k7t=window.requestAnimationFrame).call(k7t,window):function(r){Z0(r,17)};function MQe(){return iQ||(yIt(b7n),iQ=jee.now()+Ipe)}function b7n(){iQ=0}function kge(){this._call=this._time=this._next=null}function xIt(r,i,o){var l=new kge;return l.restart(r,i,o),l}function C7t(){iQ=(xge=jee.now())+Ipe,R$=MZ=0;try{(function(){MQe(),++R$;for(var r,i=s0e;i;)(r=iQ-i._time)>=0&&i._call.call(void 0,r),i=i._next;--R$})()}finally{R$=0,function(){for(var r,i,o=s0e,l=1/0;o;)o._call?(l>o._time&&(l=o._time),r=o,o=o._next):(i=o._next,o._next=null,o=r?r._next=i:s0e=i);IZ=r,aOe(l)}(),iQ=0}}function w7n(){var r=jee.now(),i=r-xge;i>vIt&&(Ipe-=i,xge=r)}function aOe(r){R$||(MZ&&(MZ=clearTimeout(MZ)),r-iQ>24?(r<1/0&&(MZ=Z0(C7t,r-jee.now()-Ipe)),tZ&&(tZ=clearInterval(tZ))):(tZ||(xge=jee.now(),tZ=BLt(w7n,vIt)),R$=1,yIt(C7t)))}function E7t(r,i,o){var l=new kge;return i=i==null?0:+i,l.restart(function(h){l.stop(),r(h+i)},i,o),l}kge.prototype=xIt.prototype={constructor:kge,restart:function(r,i,o){if(typeof r!="function")throw new TypeError("callback is not a function");o=(o==null?MQe():+o)+(i==null?0:+i),this._next||IZ===this||(IZ?IZ._next=this:s0e=this,IZ=this),this._call=r,this._time=o,aOe()},stop:function(){this._call&&(this._call=null,this._time=1/0,aOe())}};var v7n=VLt("start","end","cancel","interrupt"),y7n=[],kIt=0,T7t=1,oOe=2,c0e=3,B7t=4,sOe=5,l0e=6;function u0e(r,i,o,l,h,g){var d=r.__transition;if(d){if(o in d)return}else r.__transition={};(function(b,w,x){var C,B=b.__transition;function L(W){x.state=T7t,x.timer.restart(I,x.delay,x.time),x.delay<=W&&I(W-x.delay)}function I(W){var Q,V,oe,G;if(x.state!==T7t)return z();for(Q in B)if((G=B[Q]).name===x.name){if(G.state===c0e)return E7t(I);G.state===B7t?(G.state=l0e,G.timer.stop(),G.on.call("interrupt",b,b.__data__,G.index,G.group),delete B[Q]):+QkIt)throw new Error("too late; already scheduled");return o}function s9(r,i){var o=ak(r,i);if(o.state>c0e)throw new Error("too late; already running");return o}function ak(r,i){var o=r.__transition;if(!o||!(o=o[i]))throw new Error("transition not found");return o}function x7n(r,i){var o,l;return function(){var h=s9(this,r),g=h.tween;if(g!==o){for(var d=0,b=(l=o=g).length;d=0&&(x=Zi(x).call(x,0,C)),!x||x==="start"})}(i)?FQe:s9;return function(){var d=g(this,r),b=d.on;b!==l&&(h=(l=b).copy()).on(i,o),d.on=h}}var Q7n=Hee.prototype.constructor;function S7t(r){return function(){this.style.removeProperty(r)}}var P7n=0;function gB(r,i,o,l){this._groups=r,this._parents=i,this._name=o,this._id=l}function CIt(){return++P7n}var cB=Hee.prototype;gB.prototype=gi({constructor:gB,select:function(r){var i=this._name,o=this._id;typeof r!="function"&&(r=eOe(r));for(var l=this._groups,h=l.length,g=new Array(h),d=0;doOe&&l.stateNN)if(Math.abs(C*b-w*x)>NN&&h){var L=o-g,I=l-d,P=b*b+w*w,z=L*L+I*I,W=Math.sqrt(P),Q=Math.sqrt(B),V=h*Math.tan((cOe-Math.acos((P+B-z)/(2*W*Q)))/2),oe=V/Q,G=V/W;Math.abs(oe-1)>NN&&(this._+="L"+(r+oe*x)+","+(i+oe*C)),this._+="A"+h+","+h+",0,0,"+ +(C*L>x*I)+","+(this._x1=r+G*b)+","+(this._y1=i+G*w)}else this._+="L"+(this._x1=r)+","+(this._y1=i)},arc:function(r,i,o,l,h,g){r=+r,i=+i,g=!!g;var d=(o=+o)*Math.cos(l),b=o*Math.sin(l),w=r+d,x=i+b,C=1^g,B=g?l-h:h-l;if(o<0)throw new Error("negative radius: "+o);this._x1===null?this._+="M"+w+","+x:(Math.abs(this._x1-w)>NN||Math.abs(this._y1-x)>NN)&&(this._+="L"+w+","+x),o&&(B<0&&(B=B%lOe+lOe),B>H7n?this._+="A"+o+","+o+",0,1,"+C+","+(r-d)+","+(i-b)+"A"+o+","+o+",0,1,"+C+","+(this._x1=w)+","+(this._y1=x):B>NN&&(this._+="A"+o+","+o+",0,"+ +(B>=cOe)+","+C+","+(this._x1=r+o*Math.cos(h))+","+(this._y1=i+o*Math.sin(h))))},rect:function(r,i,o,l){this._+="M"+(this._x0=this._x1=+r)+","+(this._y0=this._y1=+i)+"h"+ +o+"v"+ +l+"h"+-o+"Z"},toString:function(){return this._}};var F7t=Math.hypot,$7n=Math.abs,j7n=Math.sqrt,K7n=!!F7t&&F7t(1/0,NaN)!==1/0;ma({target:"Math",stat:!0,arity:2,forced:K7n},{hypot:function(r,i){for(var o,l,h=0,g=0,d=arguments.length,b=0;g0?(l=o/b)*l:o;return b===1/0?1/0:b*j7n(h)}}),Gc.Math.hypot;function Cge(r,i){var o;if((l=xl(o=r=i?r.toExponential(i-1):r.toExponential()).call(o,"e"))<0)return null;var l,h=Zi(r).call(r,0,l);return[h.length>1?h[0]+Zi(h).call(h,2):h,+Zi(r).call(r,l+1)]}function M$(r){return(r=Cge(Math.abs(r)))?r[1]:NaN}var EIt,z7n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ege(r){var i,o;if(!(o=z7n.exec(r)))throw new Error("invalid format: "+r);return new hOe({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&Zi(i=o[8]).call(i,1),trim:o[9],type:o[10]})}function hOe(r){this.fill=yj(r)===void 0?" ":yj(r)+"",this.align=r.align===void 0?">":r.align+"",this.sign=r.sign===void 0?"-":r.sign+"",this.symbol=r.symbol===void 0?"":r.symbol+"",this.zero=!!r.zero,this.width=r.width===void 0?void 0:+r.width,this.comma=!!r.comma,this.precision=r.precision===void 0?void 0:+r.precision,this.trim=!!uo(r),this.type=r.type===void 0?"":r.type+""}function D7t(r,i){var o=Cge(r,i);if(!o)return r+"";var l=o[0],h=o[1];return h<0?"0."+new Array(-h).join("0")+l:l.length>h+1?Zi(l).call(l,0,h+1)+"."+Zi(l).call(l,h+1):l+new Array(h-l.length+2).join("0")}Ege.prototype=hOe.prototype,hOe.prototype.toString=function(){return yj(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))+(uo(this)?"~":"")+this.type};var O7t={"%":function(r,i){return(100*r).toFixed(i)},b:function(r){return Math.round(r).toString(2)},c:function(r){return r+""},d:function(r){return Math.abs(r=Math.round(r))>=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)},e:function(r,i){return r.toExponential(i)},f:function(r,i){return r.toFixed(i)},g:function(r,i){return r.toPrecision(i)},o:function(r){return Math.round(r).toString(8)},p:function(r,i){return D7t(100*r,i)},r:D7t,s:function(r,i){var o=Cge(r,i);if(!o)return r+"";var l=o[0],h=o[1],g=h-(EIt=3*Math.max(-8,Math.min(8,Math.floor(h/3))))+1,d=l.length;return g===d?l:g>d?l+new Array(g-d+1).join("0"):g>0?Zi(l).call(l,0,g)+"."+Zi(l).call(l,g):"0."+new Array(1-g).join("0")+Cge(r,Math.max(0,i+g-1))[0]},X:function(r){return Math.round(r).toString(16).toUpperCase()},x:function(r){return Math.round(r).toString(16)}};function N7t(r){return r}var IMe,TIt,BIt,Q7t=ss(Array.prototype),P7t=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function X7n(r){var i,o,l=r.grouping===void 0||r.thousands===void 0?N7t:(i=Q7t.call(r.grouping,Number),o=r.thousands+"",function(L,I){for(var P=L.length,z=[],W=0,Q=i[0],V=0;P>0&&Q>0&&(V+Q+1>I&&(Q=Math.max(1,I-V)),z.push(L.substring(P-=Q,P+Q)),!((V+=Q+1)>I));)Q=i[W=(W+1)%i.length];return XB(z).call(z).join(o)}),h=r.currency===void 0?"":r.currency[0]+"",g=r.currency===void 0?"":r.currency[1]+"",d=r.decimal===void 0?".":r.decimal+"",b=r.numerals===void 0?N7t:function(L){return function(I){return I.replace(/[0-9]/g,function(P){return L[+P]})}}(Q7t.call(r.numerals,String)),w=r.percent===void 0?"%":r.percent+"",x=r.minus===void 0?"−":r.minus+"",C=r.nan===void 0?"NaN":r.nan+"";function B(L){L=Ege(L);var I=yj(L),P=L.align,z=L.sign,W=L.symbol,Q=L.zero,V=L.width,oe=L.comma,G=L.precision,ae=uo(L),ne=L.type;ne==="n"?(oe=!0,ne="g"):O7t[ne]||(G===void 0&&(G=12),ae=!0,ne="g"),(Q||I==="0"&&P==="=")&&(Q=!0,I="0",P="=");var de=W==="$"?h:W==="#"&&/[boxX]/.test(ne)?"0"+ne.toLowerCase():"",Ae=W==="$"?g:/[%p]/.test(ne)?w:"",le=O7t[ne],ve=/[defgprs%]/.test(ne);function me(ee){var ye,Y,Ee,fe=de,ce=Ae;if(ne==="c")ce=le(ee)+ce,ee="";else{var $e=(ee=+ee)<0||1/ee<0;if(ee=isNaN(ee)?C:le(Math.abs(ee),G),ae&&(ee=function(ot){e:for(var Qe,Le=ot.length,ht=1,Rt=-1;ht0&&(Rt=0)}return Rt>0?Zi(ot).call(ot,0,Rt)+Zi(ot).call(ot,Qe+1):ot}(ee)),$e&&+ee==0&&z!=="+"&&($e=!1),fe=($e?z==="("?z:x:z==="-"||z==="("?"":z)+fe,ce=(ne==="s"?P7t[8+EIt/3]:"")+ce+($e&&z==="("?")":""),ve){for(ye=-1,Y=ee.length;++ye(Ee=ee.charCodeAt(ye))||Ee>57){ce=(Ee===46?d+Zi(ee).call(ee,ye+1):Zi(ee).call(ee,ye))+ce,ee=Zi(ee).call(ee,0,ye);break}}}oe&&!Q&&(ee=l(ee,1/0));var Ye=fe.length+ee.length+ce.length,ct=Ye>1)+fe+ee+ce+Zi(ct).call(ct,Ye);break;default:ee=ct+fe+ee+ce}return b(ee)}return G=G===void 0?6:/[gprs]/.test(ne)?Math.max(1,Math.min(21,G)):Math.max(0,Math.min(20,G)),me.toString=function(){return L+""},me}return{format:B,formatPrefix:function(L,I){var P=B(((L=Ege(L)).type="f",L)),z=3*Math.max(-8,Math.min(8,Math.floor(M$(I)/3))),W=Math.pow(10,-z),Q=P7t[8+z/3];return function(V){return P(W*V)+Q}}}}function OQe(r,i){switch(arguments.length){case 0:break;case 1:this.range(r);break;default:this.range(i).domain(r)}return this}function G7n(r,i){var o=Vj!==void 0&&bM(r)||r["@@iterator"];if(!o){if(t4(r)||(o=function(w,x){var C;if(w){if(typeof w=="string")return R7t(w,x);var B=Zi(C=Object.prototype.toString.call(w)).call(C,8,-1);if(B==="Object"&&w.constructor&&(B=w.constructor.name),B==="Map"||B==="Set")return yl(w);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return R7t(w,x)}}(r))||i&&r&&typeof r.length=="number"){o&&(r=o);var l=0,h=function(){};return{s:h,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(w){throw w},f:h}}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 g,d=!0,b=!1;return{s:function(){o=o.call(r)},n:function(){var w=o.next();return d=w.done,w},e:function(w){b=!0,g=w},f:function(){try{d||o.return==null||o.return()}finally{if(b)throw g}}}}function R7t(r,i){(i==null||i>r.length)&&(i=r.length);for(var o=0,l=new Array(i);oI&&(P=L,L=I,I=P),x=function(W){return Math.max(L,Math.min(I,W))}),l=z>2?q7n:W7n,h=g=null,B}function B(L){return L==null||isNaN(L=+L)?o:(h||(h=l(ss(d).call(d,r),b,w)))(r(x(L)))}return B.invert=function(L){return x(i((g||(g=l(b,ss(d).call(d,r),ok)))(L)))},B.domain=function(L){return arguments.length?(d=yl(L,V7n),C()):Zi(d).call(d)},B.range=function(L){return arguments.length?(b=yl(L),C()):Zi(b).call(b)},B.rangeRound=function(L){return b=yl(L),w=A7n,C()},B.clamp=function(L){return arguments.length?(x=!!L||U$,C()):x!==U$},B.interpolate=function(L){return arguments.length?(w=L,C()):w},B.unknown=function(L){return arguments.length?(o=L,B):o},function(L,I){return r=L,i=I,C()}}function LIt(){return Y7n()(U$,U$)}function J7n(r,i,o,l){var h,g=YDe(r,i,o);switch((l=Ege(l??",f")).type){case"s":var d=Math.max(Math.abs(r),Math.abs(i));return l.precision!=null||isNaN(h=function(b,w){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(M$(w)/3)))-M$(Math.abs(b)))}(g,d))||(l.precision=h),BIt(l,d);case"":case"e":case"g":case"p":case"r":l.precision!=null||isNaN(h=function(b,w){return b=Math.abs(b),w=Math.abs(w)-b,Math.max(0,M$(w)-M$(b))+1}(g,Math.max(Math.abs(r),Math.abs(i))))||(l.precision=h-(l.type==="e"));break;case"f":case"%":l.precision!=null||isNaN(h=function(b){return Math.max(0,-M$(Math.abs(b)))}(g))||(l.precision=h-2*(l.type==="%"))}return TIt(l)}function Z7n(r){var i=r.domain;return r.ticks=function(o){var l=i();return function(h,g,d){if(!((d=+d)>0))return[];if((h=+h)==(g=+g))return[h];var b=g=x))return[];var L=C-x+1,I=new Array(L);if(b)if(B<0)for(var P=0;P0;){if((h=qDe(w,x,o))===l)return g[d]=w,g[b]=x,i(g);if(h>0)w=Math.floor(w/h)*h,x=Math.ceil(x/h)*h;else{if(!(h<0))break;w=Math.ceil(w*h)/h,x=Math.floor(x*h)/h}l=h}return r},r}function IIt(){var r=LIt();return r.copy=function(){return SIt(r,IIt())},OQe.apply(r,arguments),Z7n(r)}var MMe=new Date,FMe=new Date;function Np(r,i,o,l){function h(g){return r(g=arguments.length===0?new Date:new Date(+g)),g}return h.floor=function(g){return r(g=new Date(+g)),g},h.ceil=function(g){return r(g=new Date(g-1)),i(g,1),r(g),g},h.round=function(g){var d=h(g),b=h.ceil(g);return g-d0))return x;do x.push(w=new Date(+g)),i(g,b),r(g);while(w=d)for(;r(d),!g(d);)d.setTime(d-1)},function(d,b){if(d>=d)if(b<0)for(;++b<=0;)for(;i(d,-1),!g(d););else for(;--b>=0;)for(;i(d,1),!g(d););})},o&&(h.count=function(g,d){return MMe.setTime(+g),FMe.setTime(+d),r(MMe),r(FMe),Math.floor(o(MMe,FMe))},h.every=function(g){return g=Math.floor(g),isFinite(g)&&g>0?g>1?t1(h).call(h,l?function(d){return l(d)%g==0}:function(d){return h.count(0,d)%g==0}):h:null}),h}var Tge=Np(function(){},function(r,i){r.setTime(+r+i)},function(r,i){return i-r});Tge.every=function(r){return r=Math.floor(r),isFinite(r)&&r>0?r>1?Np(function(i){i.setTime(Math.floor(i/r)*r)},function(i,o){i.setTime(+i+o*r)},function(i,o){return(o-i)/r}):Tge:null};var $7t=Tge;Tge.range;var Kee=1e3,lM=6e4,zee=36e5,NQe=864e5,QQe=6048e5,eCn=2592e6,DMe=31536e6,MIt=Np(function(r){r.setTime(r-r.getMilliseconds())},function(r,i){r.setTime(+r+i*Kee)},function(r,i){return(i-r)/Kee},function(r){return r.getUTCSeconds()}),FZ=MIt;MIt.range;var FIt=Np(function(r){r.setTime(r-r.getMilliseconds()-r.getSeconds()*Kee)},function(r,i){r.setTime(+r+i*lM)},function(r,i){return(i-r)/lM},function(r){return r.getMinutes()}),h0e=FIt;FIt.range;var DIt=Np(function(r){r.setTime(r-r.getMilliseconds()-r.getSeconds()*Kee-r.getMinutes()*lM)},function(r,i){r.setTime(+r+i*zee)},function(r,i){return(i-r)/zee},function(r){return r.getHours()}),f0e=DIt;DIt.range;var OIt=Np(function(r){return r.setHours(0,0,0,0)},function(r,i){return r.setDate(r.getDate()+i)},function(r,i){return(i-r-(i.getTimezoneOffset()-r.getTimezoneOffset())*lM)/NQe},function(r){return r.getDate()-1}),nj=OIt;function BQ(r){return Np(function(i){i.setDate(i.getDate()-(i.getDay()+7-r)%7),i.setHours(0,0,0,0)},function(i,o){i.setDate(i.getDate()+7*o)},function(i,o){return(o-i-(o.getTimezoneOffset()-i.getTimezoneOffset())*lM)/QQe})}OIt.range;var rj=BQ(0),Bge=BQ(1),tCn=BQ(2),nCn=BQ(3),Ej=BQ(4),rCn=BQ(5),iCn=BQ(6);rj.range,Bge.range,tCn.range,nCn.range,Ej.range,rCn.range,iCn.range;var NIt=Np(function(r){r.setDate(1),r.setHours(0,0,0,0)},function(r,i){r.setMonth(r.getMonth()+i)},function(r,i){return i.getMonth()-r.getMonth()+12*(i.getFullYear()-r.getFullYear())},function(r){return r.getMonth()}),d0e=NIt;NIt.range;var PQe=Np(function(r){r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,i){r.setFullYear(r.getFullYear()+i)},function(r,i){return i.getFullYear()-r.getFullYear()},function(r){return r.getFullYear()});PQe.every=function(r){return isFinite(r=Math.floor(r))&&r>0?Np(function(i){i.setFullYear(Math.floor(i.getFullYear()/r)*r),i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,o){i.setFullYear(i.getFullYear()+o*r)}):null};var AQ=PQe;PQe.range;var QIt=Np(function(r){r.setUTCSeconds(0,0)},function(r,i){r.setTime(+r+i*lM)},function(r,i){return(i-r)/lM},function(r){return r.getUTCMinutes()}),aCn=QIt;QIt.range;var PIt=Np(function(r){r.setUTCMinutes(0,0,0)},function(r,i){r.setTime(+r+i*zee)},function(r,i){return(i-r)/zee},function(r){return r.getUTCHours()}),oCn=PIt;PIt.range;var RIt=Np(function(r){r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCDate(r.getUTCDate()+i)},function(r,i){return(i-r)/NQe},function(r){return r.getUTCDate()-1}),RQe=RIt;function _Q(r){return Np(function(i){i.setUTCDate(i.getUTCDate()-(i.getUTCDay()+7-r)%7),i.setUTCHours(0,0,0,0)},function(i,o){i.setUTCDate(i.getUTCDate()+7*o)},function(i,o){return(o-i)/QQe})}RIt.range;var UQe=_Q(0),_ge=_Q(1),sCn=_Q(2),cCn=_Q(3),Tj=_Q(4),lCn=_Q(5),uCn=_Q(6);UQe.range,_ge.range,sCn.range,cCn.range,Tj.range,lCn.range,uCn.range;var UIt=Np(function(r){r.setUTCDate(1),r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCMonth(r.getUTCMonth()+i)},function(r,i){return i.getUTCMonth()-r.getUTCMonth()+12*(i.getUTCFullYear()-r.getUTCFullYear())},function(r){return r.getUTCMonth()}),hCn=UIt;UIt.range;var HQe=Np(function(r){r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCFullYear(r.getUTCFullYear()+i)},function(r,i){return i.getUTCFullYear()-r.getUTCFullYear()},function(r){return r.getUTCFullYear()});HQe.every=function(r){return isFinite(r=Math.floor(r))&&r>0?Np(function(i){i.setUTCFullYear(Math.floor(i.getUTCFullYear()/r)*r),i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,o){i.setUTCFullYear(i.getUTCFullYear()+o*r)}):null};var Bj=HQe;function HIt(r,i,o,l,h,g){var d=[[FZ,1,Kee],[FZ,5,5e3],[FZ,15,15e3],[FZ,30,3e4],[g,1,lM],[g,5,3e5],[g,15,9e5],[g,30,18e5],[h,1,zee],[h,3,108e5],[h,6,216e5],[h,12,432e5],[l,1,NQe],[l,2,1728e5],[o,1,QQe],[i,1,eCn],[i,3,7776e6],[r,1,DMe]];function b(w,x,C){var B=Math.abs(x-w)/C,L=_Qe(function(W){return gu(W,3)[2]}).right(d,B);if(L===d.length)return J$(r).call(r,YDe(w/DMe,x/DMe,C));if(L===0)return J$($7t).call($7t,Math.max(YDe(w,x,C),1));var I=gu(d[B/d[L-1][2]68?1900:2e3),o+l[0].length):-1}function xCn(r,i,o){var l=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Zi(i).call(i,o,o+6));return l?(r.Z=l[1]?0:-(l[2]+(l[3]||"00")),o+l[0].length):-1}function kCn(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+1));return l?(r.q=3*l[0]-3,o+l[0].length):-1}function CCn(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+2));return l?(r.m=l[0]-1,o+l[0].length):-1}function G7t(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+2));return l?(r.d=+l[0],o+l[0].length):-1}function ECn(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+3));return l?(r.m=0,r.d=+l[0],o+l[0].length):-1}function V7t(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+2));return l?(r.H=+l[0],o+l[0].length):-1}function TCn(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+2));return l?(r.M=+l[0],o+l[0].length):-1}function BCn(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+2));return l?(r.S=+l[0],o+l[0].length):-1}function _Cn(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+3));return l?(r.L=+l[0],o+l[0].length):-1}function SCn(r,i,o){var l=Qp.exec(Zi(i).call(i,o,o+6));return l?(r.L=Math.floor(l[0]/1e3),o+l[0].length):-1}function LCn(r,i,o){var l=ACn.exec(Zi(i).call(i,o,o+1));return l?o+l[0].length:-1}function ICn(r,i,o){var l=Qp.exec(Zi(i).call(i,o));return l?(r.Q=+l[0],o+l[0].length):-1}function MCn(r,i,o){var l=Qp.exec(Zi(i).call(i,o));return l?(r.s=+l[0],o+l[0].length):-1}function W7t(r,i){return Dh(r.getDate(),i,2)}function FCn(r,i){return Dh(r.getHours(),i,2)}function DCn(r,i){return Dh(r.getHours()%12||12,i,2)}function OCn(r,i){return Dh(1+nj.count(AQ(r),r),i,3)}function jIt(r,i){return Dh(r.getMilliseconds(),i,3)}function NCn(r,i){return jIt(r,i)+"000"}function QCn(r,i){return Dh(r.getMonth()+1,i,2)}function PCn(r,i){return Dh(r.getMinutes(),i,2)}function RCn(r,i){return Dh(r.getSeconds(),i,2)}function UCn(r){var i=r.getDay();return i===0?7:i}function HCn(r,i){return Dh(rj.count(AQ(r)-1,r),i,2)}function KIt(r){var i=r.getDay();return i>=4||i===0?Ej(r):Ej.ceil(r)}function $Cn(r,i){return r=KIt(r),Dh(Ej.count(AQ(r),r)+(AQ(r).getDay()===4),i,2)}function jCn(r){return r.getDay()}function KCn(r,i){return Dh(Bge.count(AQ(r)-1,r),i,2)}function zCn(r,i){return Dh(r.getFullYear()%100,i,2)}function XCn(r,i){return Dh((r=KIt(r)).getFullYear()%100,i,2)}function GCn(r,i){return Dh(r.getFullYear()%1e4,i,4)}function VCn(r,i){var o=r.getDay();return Dh((r=o>=4||o===0?Ej(r):Ej.ceil(r)).getFullYear()%1e4,i,4)}function WCn(r){var i=r.getTimezoneOffset();return(i>0?"-":(i*=-1,"+"))+Dh(i/60|0,"0",2)+Dh(i%60,"0",2)}function q7t(r,i){return Dh(r.getUTCDate(),i,2)}function qCn(r,i){return Dh(r.getUTCHours(),i,2)}function YCn(r,i){return Dh(r.getUTCHours()%12||12,i,2)}function JCn(r,i){return Dh(1+RQe.count(Bj(r),r),i,3)}function zIt(r,i){return Dh(r.getUTCMilliseconds(),i,3)}function ZCn(r,i){return zIt(r,i)+"000"}function e9n(r,i){return Dh(r.getUTCMonth()+1,i,2)}function t9n(r,i){return Dh(r.getUTCMinutes(),i,2)}function n9n(r,i){return Dh(r.getUTCSeconds(),i,2)}function r9n(r){var i=r.getUTCDay();return i===0?7:i}function i9n(r,i){return Dh(UQe.count(Bj(r)-1,r),i,2)}function XIt(r){var i=r.getUTCDay();return i>=4||i===0?Tj(r):Tj.ceil(r)}function a9n(r,i){return r=XIt(r),Dh(Tj.count(Bj(r),r)+(Bj(r).getUTCDay()===4),i,2)}function o9n(r){return r.getUTCDay()}function s9n(r,i){return Dh(_ge.count(Bj(r)-1,r),i,2)}function c9n(r,i){return Dh(r.getUTCFullYear()%100,i,2)}function l9n(r,i){return Dh((r=XIt(r)).getUTCFullYear()%100,i,2)}function u9n(r,i){return Dh(r.getUTCFullYear()%1e4,i,4)}function h9n(r,i){var o=r.getUTCDay();return Dh((r=o>=4||o===0?Tj(r):Tj.ceil(r)).getUTCFullYear()%1e4,i,4)}function f9n(){return"+0000"}function Y7t(){return"%"}function J7t(r){return+r}function Z7t(r){return Math.floor(+r/1e3)}function d9n(r){return new Date(r)}function A9n(r){return r instanceof Date?+r:+new Date(+r)}function GIt(r,i,o,l,h,g,d,b,w,x){var C=LIt(),B=C.invert,L=C.domain,I=x(".%L"),P=x(":%S"),z=x("%I:%M"),W=x("%I %p"),Q=x("%a %d"),V=x("%b %d"),oe=x("%B"),G=x("%Y");function ae(ne){return(w(ne)=12)]},q:function(ve){return 1+~~(ve.getMonth()/3)},Q:J7t,s:Z7t,S:RCn,u:UCn,U:HCn,V:$Cn,w:jCn,W:KCn,x:null,X:null,y:zCn,Y:GCn,Z:WCn,"%":Y7t},ae={a:function(ve){return b[ve.getUTCDay()]},A:function(ve){return d[ve.getUTCDay()]},b:function(ve){return x[ve.getUTCMonth()]},B:function(ve){return w[ve.getUTCMonth()]},c:null,d:q7t,e:q7t,f:ZCn,g:l9n,G:h9n,H:qCn,I:YCn,j:JCn,L:zIt,m:e9n,M:t9n,p:function(ve){return g[+(ve.getUTCHours()>=12)]},q:function(ve){return 1+~~(ve.getUTCMonth()/3)},Q:J7t,s:Z7t,S:n9n,u:r9n,U:i9n,V:a9n,w:o9n,W:s9n,x:null,X:null,y:c9n,Y:u9n,Z:f9n,"%":Y7t},ne={a:function(ve,me,ee){var ye=P.exec(Zi(me).call(me,ee));return ye?(ve.w=z.get(ye[0].toLowerCase()),ee+ye[0].length):-1},A:function(ve,me,ee){var ye=L.exec(Zi(me).call(me,ee));return ye?(ve.w=I.get(ye[0].toLowerCase()),ee+ye[0].length):-1},b:function(ve,me,ee){var ye=V.exec(Zi(me).call(me,ee));return ye?(ve.m=oe.get(ye[0].toLowerCase()),ee+ye[0].length):-1},B:function(ve,me,ee){var ye=W.exec(Zi(me).call(me,ee));return ye?(ve.m=Q.get(ye[0].toLowerCase()),ee+ye[0].length):-1},c:function(ve,me,ee){return le(ve,o,me,ee)},d:G7t,e:G7t,f:SCn,g:X7t,G:z7t,H:V7t,I:V7t,j:ECn,L:_Cn,m:CCn,M:TCn,p:function(ve,me,ee){var ye=C.exec(Zi(me).call(me,ee));return ye?(ve.p=B.get(ye[0].toLowerCase()),ee+ye[0].length):-1},q:kCn,Q:ICn,s:MCn,S:BCn,u:bCn,U:wCn,V:vCn,w:mCn,W:yCn,x:function(ve,me,ee){return le(ve,l,me,ee)},X:function(ve,me,ee){return le(ve,h,me,ee)},y:X7t,Y:z7t,Z:xCn,"%":LCn};function de(ve,me){return function(ee){var ye,Y,Ee,fe=[],ce=-1,$e=0,Ye=ve.length;for(ee instanceof Date||(ee=new Date(+ee));++ce53)return null;"w"in Ee||(Ee.w=1),"Z"in Ee?(Y=(ye=NMe(nZ(Ee.y,0,1))).getUTCDay(),ye=Y>4||Y===0?_ge.ceil(ye):_ge(ye),ye=RQe.offset(ye,7*(Ee.V-1)),Ee.y=ye.getUTCFullYear(),Ee.m=ye.getUTCMonth(),Ee.d=ye.getUTCDate()+(Ee.w+6)%7):(Y=(ye=OMe(nZ(Ee.y,0,1))).getDay(),ye=Y>4||Y===0?Bge.ceil(ye):Bge(ye),ye=nj.offset(ye,7*(Ee.V-1)),Ee.y=ye.getFullYear(),Ee.m=ye.getMonth(),Ee.d=ye.getDate()+(Ee.w+6)%7)}else("W"in Ee||"U"in Ee)&&("w"in Ee||(Ee.w="u"in Ee?Ee.u%7:"W"in Ee?1:0),Y="Z"in Ee?NMe(nZ(Ee.y,0,1)).getUTCDay():OMe(nZ(Ee.y,0,1)).getDay(),Ee.m=0,Ee.d="W"in Ee?(Ee.w+6)%7+7*Ee.W-(Y+5)%7:Ee.w+7*Ee.U-(Y+6)%7);return"Z"in Ee?(Ee.H+=Ee.Z/100|0,Ee.M+=Ee.Z%100,NMe(Ee)):OMe(Ee)}}function le(ve,me,ee,ye){for(var Y,Ee,fe=0,ce=me.length,$e=ee.length;fe=$e)return-1;if((Y=me.charCodeAt(fe++))===37){if(Y=me.charAt(fe++),!(Ee=ne[Y in K7t?me.charAt(fe++):Y])||(ye=Ee(ve,ee,ye))<0)return-1}else if(Y!=ee.charCodeAt(ye++))return-1}return ye}return G.x=de(l,G),G.X=de(h,G),G.c=de(o,G),ae.x=de(l,ae),ae.X=de(h,ae),ae.c=de(o,ae),{format:function(ve){var me=de(ve+="",G);return me.toString=function(){return ve},me},parse:function(ve){var me=Ae(ve+="",!1);return me.toString=function(){return ve},me},utcFormat:function(ve){var me=de(ve+="",ae);return me.toString=function(){return ve},me},utcParse:function(ve){var me=Ae(ve+="",!0);return me.toString=function(){return ve},me}}}(r),A0e=rZ.format,rZ.parse,rZ.utcFormat,rZ.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 eCt=Math.abs,wb=Math.atan2,LN=Math.cos,g9n=Math.max,QMe=Math.min,GC=Math.sin,H$=Math.sqrt,vb=1e-12,nee=Math.PI,Sge=nee/2,g0e=2*nee;function tCt(r){return r>=1?Sge:r<=-1?-Sge:Math.asin(r)}function p9n(r){return r.innerRadius}function m9n(r){return r.outerRadius}function b9n(r){return r.startAngle}function w9n(r){return r.endAngle}function v9n(r){return r&&r.padAngle}function AAe(r,i,o,l,h,g,d){var b=r-o,w=i-l,x=(d?g:-g)/H$(b*b+w*w),C=x*w,B=-x*b,L=r+C,I=i+B,P=o+C,z=l+B,W=(L+P)/2,Q=(I+z)/2,V=P-L,oe=z-I,G=V*V+oe*oe,ae=h-g,ne=L*z-P*I,de=(oe<0?-1:1)*H$(g9n(0,ae*ae*G-ne*ne)),Ae=(ne*oe-V*de)/G,le=(-ne*V-oe*de)/G,ve=(ne*oe+V*de)/G,me=(-ne*V+oe*de)/G,ee=Ae-W,ye=le-Q,Y=ve-W,Ee=me-Q;return ee*ee+ye*ye>Y*Y+Ee*Ee&&(Ae=ve,le=me),{cx:Ae,cy:le,x01:-C,y01:-B,x11:Ae*(h/ae-1),y11:le*(h/ae-1)}}function dOe(){var r=p9n,i=m9n,o=x0(0),l=null,h=b9n,g=w9n,d=v9n,b=null;function w(){var x,C,B=+r.apply(this,arguments),L=+i.apply(this,arguments),I=h.apply(this,arguments)-Sge,P=g.apply(this,arguments)-Sge,z=eCt(P-I),W=P>I;if(b||(b=x=DQe()),Lvb)if(z>g0e-vb)b.moveTo(L*LN(I),L*GC(I)),b.arc(0,0,L,I,P,!W),B>vb&&(b.moveTo(B*LN(P),B*GC(P)),b.arc(0,0,B,P,I,W));else{var Q,V,oe=I,G=P,ae=I,ne=P,de=z,Ae=z,le=d.apply(this,arguments)/2,ve=le>vb&&(l?+l.apply(this,arguments):H$(B*B+L*L)),me=QMe(eCt(L-B)/2,+o.apply(this,arguments)),ee=me,ye=me;if(ve>vb){var Y=tCt(ve/B*GC(le)),Ee=tCt(ve/L*GC(le));(de-=2*Y)>vb?(ae+=Y*=W?1:-1,ne-=Y):(de=0,ae=ne=(I+P)/2),(Ae-=2*Ee)>vb?(oe+=Ee*=W?1:-1,G-=Ee):(Ae=0,oe=G=(I+P)/2)}var fe=L*LN(oe),ce=L*GC(oe),$e=B*LN(ne),Ye=B*GC(ne);if(me>vb){var ct,ot=L*LN(G),Qe=L*GC(G),Le=B*LN(ae),ht=B*GC(ae);if(z1?0:Xt<-1?nee:Math.acos(Xt)}((Rt*Rn+Et*xt)/(H$(Rt*Rt+Et*Et)*H$(Rn*Rn+xt*xt)))/2),Kt=H$(ct[0]*ct[0]+ct[1]*ct[1]);ee=QMe(me,(B-Kt)/(on-1)),ye=QMe(me,(L-Kt)/(on+1))}}Ae>vb?ye>vb?(Q=AAe(Le,ht,fe,ce,L,ye,W),V=AAe(ot,Qe,$e,Ye,L,ye,W),b.moveTo(Q.cx+Q.x01,Q.cy+Q.y01),yevb&&de>vb?ee>vb?(Q=AAe($e,Ye,ot,Qe,B,-ee,W),V=AAe(fe,ce,Le,ht,B,-ee,W),b.lineTo(Q.cx+Q.x01,Q.cy+Q.y01),eer?1:i>=r?0:NaN}function C9n(r){return r}Zi(Array.prototype),WIt.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(r,i){switch(r=+r,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 1:this._point=2;default:this._context.lineTo(r,i)}}};var nCt=function(){function r(i,o){qr(this,r),this._context=i,this._x=o}return Yr(r,[{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(i,o){switch(i=+i,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,o):this._context.moveTo(i,o);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+i)/2,this._y0,this._x0,o,i,o):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+o)/2,i,this._y0,i,o)}this._x0=i,this._y0=o}}]),r}();function uM(){}function gAe(r,i,o){r._context.bezierCurveTo((2*r._x0+r._x1)/3,(2*r._y0+r._y1)/3,(r._x0+2*r._x1)/3,(r._y0+2*r._y1)/3,(r._x0+4*r._x1+i)/6,(r._y0+4*r._y1+o)/6)}function Mpe(r){this._context=r}function vte(r){return new Mpe(r)}function qIt(r){this._context=r}function YIt(r){this._context=r}function JIt(r,i){this._basis=new Mpe(r),this._beta=i}Mpe.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:gAe(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(r,i){switch(r=+r,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);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:gAe(this,r,i)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=i}},qIt.prototype={areaStart:uM,areaEnd:uM,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(r,i){switch(r=+r,i=+i,this._point){case 0:this._point=1,this._x2=r,this._y2=i;break;case 1:this._point=2,this._x3=r,this._y3=i;break;case 2:this._point=3,this._x4=r,this._y4=i,this._context.moveTo((this._x0+4*this._x1+r)/6,(this._y0+4*this._y1+i)/6);break;default:gAe(this,r,i)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=i}},YIt.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(r,i){switch(r=+r,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var o=(this._x0+4*this._x1+r)/6,l=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(o,l):this._context.moveTo(o,l);break;case 3:this._point=4;default:gAe(this,r,i)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=i}},JIt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var r=this._x,i=this._y,o=r.length-1;if(o>0)for(var l,h=r[0],g=i[0],d=r[o]-h,b=i[o]-g,w=-1;++w<=o;)l=w/o,this._basis.point(this._beta*r[w]+(1-this._beta)*(h+l*d),this._beta*i[w]+(1-this._beta)*(g+l*b));this._x=this._y=null,this._basis.lineEnd()},point:function(r,i){this._x.push(+r),this._y.push(+i)}};var E9n=function r(i){function o(l){return i===1?new Mpe(l):new JIt(l,i)}return o.beta=function(l){return r(+l)},o}(.85);function Lge(r,i,o){r._context.bezierCurveTo(r._x1+r._k*(r._x2-r._x0),r._y1+r._k*(r._y2-r._y0),r._x2+r._k*(r._x1-i),r._y2+r._k*(r._y1-o),r._x2,r._y2)}function $Qe(r,i){this._context=r,this._k=(1-i)/6}$Qe.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:Lge(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(r,i){switch(r=+r,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 1:this._point=2,this._x1=r,this._y1=i;break;case 2:this._point=3;default:Lge(this,r,i)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var T9n=function r(i){function o(l){return new $Qe(l,i)}return o.tension=function(l){return r(+l)},o}(0);function jQe(r,i){this._context=r,this._k=(1-i)/6}jQe.prototype={areaStart:uM,areaEnd:uM,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(r,i){switch(r=+r,i=+i,this._point){case 0:this._point=1,this._x3=r,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=i);break;case 2:this._point=3,this._x5=r,this._y5=i;break;default:Lge(this,r,i)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var B9n=function r(i){function o(l){return new jQe(l,i)}return o.tension=function(l){return r(+l)},o}(0);function KQe(r,i){this._context=r,this._k=(1-i)/6}KQe.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(r,i){switch(r=+r,i=+i,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:Lge(this,r,i)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var _9n=function r(i){function o(l){return new KQe(l,i)}return o.tension=function(l){return r(+l)},o}(0);function zQe(r,i,o){var l=r._x1,h=r._y1,g=r._x2,d=r._y2;if(r._l01_a>vb){var b=2*r._l01_2a+3*r._l01_a*r._l12_a+r._l12_2a,w=3*r._l01_a*(r._l01_a+r._l12_a);l=(l*b-r._x0*r._l12_2a+r._x2*r._l01_2a)/w,h=(h*b-r._y0*r._l12_2a+r._y2*r._l01_2a)/w}if(r._l23_a>vb){var x=2*r._l23_2a+3*r._l23_a*r._l12_a+r._l12_2a,C=3*r._l23_a*(r._l23_a+r._l12_a);g=(g*x+r._x1*r._l23_2a-i*r._l12_2a)/C,d=(d*x+r._y1*r._l23_2a-o*r._l12_2a)/C}r._context.bezierCurveTo(l,h,g,d,r._x2,r._y2)}function ZIt(r,i){this._context=r,this._alpha=i}ZIt.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(r,i){if(r=+r,i=+i,this._point){var o=this._x2-r,l=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 1:this._point=2;break;case 2:this._point=3;default:zQe(this,r,i)}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=r,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var S9n=function r(i){function o(l){return i?new ZIt(l,i):new $Qe(l,0)}return o.alpha=function(l){return r(+l)},o}(.5);function eMt(r,i){this._context=r,this._alpha=i}eMt.prototype={areaStart:uM,areaEnd:uM,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(r,i){if(r=+r,i=+i,this._point){var o=this._x2-r,l=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=r,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=i);break;case 2:this._point=3,this._x5=r,this._y5=i;break;default:zQe(this,r,i)}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=r,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var L9n=function r(i){function o(l){return i?new eMt(l,i):new jQe(l,0)}return o.alpha=function(l){return r(+l)},o}(.5);function tMt(r,i){this._context=r,this._alpha=i}tMt.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(r,i){if(r=+r,i=+i,this._point){var o=this._x2-r,l=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+l*l,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:zQe(this,r,i)}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=r,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var I9n=function r(i){function o(l){return i?new tMt(l,i):new KQe(l,0)}return o.alpha=function(l){return r(+l)},o}(.5);function nMt(r){this._context=r}function rCt(r){return r<0?-1:1}function iCt(r,i,o){var l=r._x1-r._x0,h=i-r._x1,g=(r._y1-r._y0)/(l||h<0&&-0),d=(o-r._y1)/(h||l<0&&-0),b=(g*h+d*l)/(l+h);return(rCt(g)+rCt(d))*Math.min(Math.abs(g),Math.abs(d),.5*Math.abs(b))||0}function aCt(r,i){var o=r._x1-r._x0;return o?(3*(r._y1-r._y0)/o-i)/2:i}function PMe(r,i,o){var l=r._x0,h=r._y0,g=r._x1,d=r._y1,b=(g-l)/3;r._context.bezierCurveTo(l+b,h+b*i,g-b,d-b*o,g,d)}function p0e(r){this._context=r}function rMt(r){this._context=new iMt(r)}function iMt(r){this._context=r}function aMt(r){this._context=r}function oCt(r){var i,o,l=r.length-1,h=new Array(l),g=new Array(l),d=new Array(l);for(h[0]=0,g[0]=2,d[0]=r[0]+2*r[1],i=1;i=0;--i)h[i]=(d[i]-h[i+1])/g[i];for(g[l-1]=(r[l]+h[l-1])/2,i=0;i=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(r,i){switch(r=+r,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(r,i);else{var o=this._x*(1-this._t)+r*this._t;this._context.lineTo(o,this._y),this._context.lineTo(o,i)}}this._x=r,this._y=i}},oZ.prototype={constructor:oZ,scale:function(r){return r===1?this:new oZ(this.k*r,this.x,this.y)},translate:function(r,i){return r===0&i===0?this:new oZ(this.k,this.x+this.k*r,this.y+this.k*i)},apply:function(r){return[r[0]*this.k+this.x,r[1]*this.k+this.y]},applyX:function(r){return r*this.k+this.x},applyY:function(r){return r*this.k+this.y},invert:function(r){return[(r[0]-this.x)/this.k,(r[1]-this.y)/this.k]},invertX:function(r){return(r-this.x)/this.k},invertY:function(r){return(r-this.y)/this.k},rescaleX:function(r){var i,o;return r.copy().domain(ss(i=ss(o=r.range()).call(o,this.invertX,this)).call(i,r.invert,r))},rescaleY:function(r){var i,o;return r.copy().domain(ss(i=ss(o=r.range()).call(o,this.invertY,this)).call(i,r.invert,r))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},oZ.prototype;var Xee=il(function(r,i){r.exports=function(){function o($t){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_r){return typeof _r}:function(_r){return _r&&typeof Symbol=="function"&&_r.constructor===Symbol&&_r!==Symbol.prototype?"symbol":typeof _r},o($t)}function l($t,_r){return l=Object.setPrototypeOf||function(Lr,ti){return Lr.__proto__=ti,Lr},l($t,_r)}function h(){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 g($t,_r,Lr){return g=h()?Reflect.construct:function(ti,_i,ro){var Js=[null];Js.push.apply(Js,_i);var mi=new(Function.bind.apply(ti,Js));return ro&&l(mi,ro.prototype),mi},g.apply(null,arguments)}function d($t){return b($t)||w($t)||x($t)||B()}function b($t){if(Array.isArray($t))return C($t)}function w($t){if(typeof Symbol<"u"&&$t[Symbol.iterator]!=null||$t["@@iterator"]!=null)return Array.from($t)}function x($t,_r){if($t){if(typeof $t=="string")return C($t,_r);var Lr=Object.prototype.toString.call($t).slice(8,-1);return Lr==="Object"&&$t.constructor&&(Lr=$t.constructor.name),Lr==="Map"||Lr==="Set"?Array.from($t):Lr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Lr)?C($t,_r):void 0}}function C($t,_r){(_r==null||_r>$t.length)&&(_r=$t.length);for(var Lr=0,ti=new Array(_r);Lr<_r;Lr++)ti[Lr]=$t[Lr];return ti}function B(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L=Object.hasOwnProperty,I=Object.setPrototypeOf,P=Object.isFrozen,z=Object.getPrototypeOf,W=Object.getOwnPropertyDescriptor,Q=Object.freeze,V=Object.seal,oe=Object.create,G=typeof Reflect<"u"&&Reflect,ae=G.apply,ne=G.construct;ae||(ae=function($t,_r,Lr){return $t.apply(_r,Lr)}),Q||(Q=function($t){return $t}),V||(V=function($t){return $t}),ne||(ne=function($t,_r){return g($t,d(_r))});var de=$e(Array.prototype.forEach),Ae=$e(Array.prototype.pop),le=$e(Array.prototype.push),ve=$e(String.prototype.toLowerCase),me=$e(String.prototype.toString),ee=$e(String.prototype.match),ye=$e(String.prototype.replace),Y=$e(String.prototype.indexOf),Ee=$e(String.prototype.trim),fe=$e(RegExp.prototype.test),ce=Ye(TypeError);function $e($t){return function(_r){for(var Lr=arguments.length,ti=new Array(Lr>1?Lr-1:0),_i=1;_i/gm),mn=V(/\${[\w\W]*}/gm),je=V(/^data-[\-\w.\u00B7-\uFFFF]/),zt=V(/^aria-[\-\w]+$/),pt=V(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=V(/^(?:\w+script|data):/i),cn=V(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xn=V(/^html$/i),nn=function(){return typeof window>"u"?null:window},Qn=function($t,_r){if(o($t)!=="object"||typeof $t.createPolicy!="function")return null;var Lr=null,ti="data-tt-policy-suffix";_r.currentScript&&_r.currentScript.hasAttribute(ti)&&(Lr=_r.currentScript.getAttribute(ti));var _i="dompurify"+(Lr?"#"+Lr:"");try{return $t.createPolicy(_i,{createHTML:function(ro){return ro},createScriptURL:function(ro){return ro}})}catch{return console.warn("TrustedTypes policy "+_i+" could not be created."),null}};function ln(){var $t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nn(),_r=function(tn){return ln(tn)};if(_r.version="2.4.3",_r.removed=[],!$t||!$t.document||$t.document.nodeType!==9)return _r.isSupported=!1,_r;var Lr=$t.document,ti=$t.document,_i=$t.DocumentFragment,ro=$t.HTMLTemplateElement,Js=$t.Node,mi=$t.Element,Ta=$t.NodeFilter,lr=$t.NamedNodeMap,vr=lr===void 0?$t.NamedNodeMap||$t.MozNamedAttrMap:lr,Zr=$t.HTMLFormElement,Mr=$t.DOMParser,oa=$t.trustedTypes,jn=mi.prototype,Xo=Qe(jn,"cloneNode"),hr=Qe(jn,"nextSibling"),Ya=Qe(jn,"childNodes"),So=Qe(jn,"parentNode");if(typeof ro=="function"){var ta=ti.createElement("template");ta.content&&ta.content.ownerDocument&&(ti=ta.content.ownerDocument)}var Ba=Qn(oa,Lr),ho=Ba?Ba.createHTML(""):"",mo=ti,Lo=mo.implementation,qo=mo.createNodeIterator,cs=mo.createDocumentFragment,fa=mo.getElementsByTagName,qh=Lr.importNode,Zs={};try{Zs=ot(ti).documentMode?ti.documentMode:{}}catch{}var tu={};_r.isSupported=typeof So=="function"&&Lo&&Lo.createHTMLDocument!==void 0&&Zs!==9;var _a,ec,hf=lt,Rl=Ke,nu=mn,Oh=je,Wc=zt,kl=sn,Lc=cn,Ul=pt,ws=null,ru=ct({},[].concat(d(Le),d(ht),d(Rt),d(Rn),d(on))),Fs=null,Es=ct({},[].concat(d(Kt),d(Xt),d(Vt),d(He))),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}})),Nh=null,iu=null,Qh=!0,Rs=!0,ju=!1,$i=!1,ts=!1,ar=!1,Br=!1,bo=!1,Yt=!1,Ph=!1,yn=!0,tc=!1,co="user-content-",p1=!0,Kn=!1,Nr={},Gr=null,Qr=ct({},["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"]),Ki=null,sa=ct({},["audio","video","img","source","image","track"]),Ua=null,Yo=ct({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eo="http://www.w3.org/1998/Math/MathML",Ic="http://www.w3.org/2000/svg",Ku="http://www.w3.org/1999/xhtml",Al=Ku,m1=!1,vc=null,n1=ct({},[eo,Ic,Ku],me),gl=["application/xhtml+xml","text/html"],Mc="text/html",nc=null,Fm=ti.createElement("form"),ff=function(tn){return tn instanceof RegExp||tn instanceof Function},zu=function(tn){nc&&nc===tn||(tn&&o(tn)==="object"||(tn={}),tn=ot(tn),_a=_a=gl.indexOf(tn.PARSER_MEDIA_TYPE)===-1?Mc:tn.PARSER_MEDIA_TYPE,ec=_a==="application/xhtml+xml"?me:ve,ws="ALLOWED_TAGS"in tn?ct({},tn.ALLOWED_TAGS,ec):ru,Fs="ALLOWED_ATTR"in tn?ct({},tn.ALLOWED_ATTR,ec):Es,vc="ALLOWED_NAMESPACES"in tn?ct({},tn.ALLOWED_NAMESPACES,me):n1,Ua="ADD_URI_SAFE_ATTR"in tn?ct(ot(Yo),tn.ADD_URI_SAFE_ATTR,ec):Yo,Ki="ADD_DATA_URI_TAGS"in tn?ct(ot(sa),tn.ADD_DATA_URI_TAGS,ec):sa,Gr="FORBID_CONTENTS"in tn?ct({},tn.FORBID_CONTENTS,ec):Qr,Nh="FORBID_TAGS"in tn?ct({},tn.FORBID_TAGS,ec):{},iu="FORBID_ATTR"in tn?ct({},tn.FORBID_ATTR,ec):{},Nr="USE_PROFILES"in tn&&tn.USE_PROFILES,Qh=tn.ALLOW_ARIA_ATTR!==!1,Rs=tn.ALLOW_DATA_ATTR!==!1,ju=tn.ALLOW_UNKNOWN_PROTOCOLS||!1,$i=tn.SAFE_FOR_TEMPLATES||!1,ts=tn.WHOLE_DOCUMENT||!1,bo=tn.RETURN_DOM||!1,Yt=tn.RETURN_DOM_FRAGMENT||!1,Ph=tn.RETURN_TRUSTED_TYPE||!1,Br=tn.FORCE_BODY||!1,yn=tn.SANITIZE_DOM!==!1,tc=tn.SANITIZE_NAMED_PROPS||!1,p1=tn.KEEP_CONTENT!==!1,Kn=tn.IN_PLACE||!1,Ul=tn.ALLOWED_URI_REGEXP||Ul,Al=tn.NAMESPACE||Ku,tn.CUSTOM_ELEMENT_HANDLING&&ff(tn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ei.tagNameCheck=tn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),tn.CUSTOM_ELEMENT_HANDLING&&ff(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),$i&&(Rs=!1),Yt&&(bo=!0),Nr&&(ws=ct({},d(on)),Fs=[],Nr.html===!0&&(ct(ws,Le),ct(Fs,Kt)),Nr.svg===!0&&(ct(ws,ht),ct(Fs,Xt),ct(Fs,He)),Nr.svgFilters===!0&&(ct(ws,Rt),ct(Fs,Xt),ct(Fs,He)),Nr.mathMl===!0&&(ct(ws,Rn),ct(Fs,Vt),ct(Fs,He))),tn.ADD_TAGS&&(ws===ru&&(ws=ot(ws)),ct(ws,tn.ADD_TAGS,ec)),tn.ADD_ATTR&&(Fs===Es&&(Fs=ot(Fs)),ct(Fs,tn.ADD_ATTR,ec)),tn.ADD_URI_SAFE_ATTR&&ct(Ua,tn.ADD_URI_SAFE_ATTR,ec),tn.FORBID_CONTENTS&&(Gr===Qr&&(Gr=ot(Gr)),ct(Gr,tn.FORBID_CONTENTS,ec)),p1&&(ws["#text"]=!0),ts&&ct(ws,["html","head","body"]),ws.table&&(ct(ws,["tbody"]),delete Nh.tbody),Q&&Q(tn),nc=tn)},ig=ct({},["mi","mo","mn","ms","mtext"]),r1=ct({},["foreignobject","desc","title","annotation-xml"]),Mb=ct({},["title","style","font","a","script"]),bh=ct({},ht);ct(bh,Rt),ct(bh,Et);var ed=ct({},Rn);ct(ed,xt);var Pp=function(tn){var zi=So(tn);zi&&zi.tagName||(zi={namespaceURI:Al,tagName:"template"});var La=ve(tn.tagName),Yc=ve(zi.tagName);return!!vc[tn.namespaceURI]&&(tn.namespaceURI===Ic?zi.namespaceURI===Ku?La==="svg":zi.namespaceURI===eo?La==="svg"&&(Yc==="annotation-xml"||ig[Yc]):!!bh[La]:tn.namespaceURI===eo?zi.namespaceURI===Ku?La==="math":zi.namespaceURI===Ic?La==="math"&&r1[Yc]:!!ed[La]:tn.namespaceURI===Ku?!(zi.namespaceURI===Ic&&!r1[Yc])&&!(zi.namespaceURI===eo&&!ig[Yc])&&!ed[La]&&(Mb[La]||!bh[La]):!(_a!=="application/xhtml+xml"||!vc[tn.namespaceURI]))},RA=function(tn){le(_r.removed,{element:tn});try{tn.parentNode.removeChild(tn)}catch{try{tn.outerHTML=ho}catch{tn.remove()}}},rn=function(tn,zi){try{le(_r.removed,{attribute:zi.getAttributeNode(tn),from:zi})}catch{le(_r.removed,{attribute:null,from:zi})}if(zi.removeAttribute(tn),tn==="is"&&!Fs[tn])if(bo||Yt)try{RA(zi)}catch{}else try{zi.setAttribute(tn,"")}catch{}},Sa=function(tn){var zi,La;if(Br)tn=""+tn;else{var Yc=ee(tn,/^[\r\n\t ]+/);La=Yc&&Yc[0]}_a==="application/xhtml+xml"&&Al===Ku&&(tn=''+tn+"");var Hl=Ba?Ba.createHTML(tn):tn;if(Al===Ku)try{zi=new Mr().parseFromString(Hl,_a)}catch{}if(!zi||!zi.documentElement){zi=Lo.createDocument(Al,"template",null);try{zi.documentElement.innerHTML=m1?ho:Hl}catch{}}var wh=zi.body||zi.documentElement;return tn&&La&&wh.insertBefore(ti.createTextNode(La),wh.childNodes[0]||null),Al===Ku?fa.call(zi,ts?"html":"body")[0]:ts?zi.documentElement:wh},da=function(tn){return qo.call(tn.ownerDocument||tn,tn,Ta.SHOW_ELEMENT|Ta.SHOW_COMMENT|Ta.SHOW_TEXT,null,!1)},Us=function(tn){return tn instanceof Zr&&(typeof tn.nodeName!="string"||typeof tn.textContent!="string"||typeof tn.removeChild!="function"||!(tn.attributes instanceof vr)||typeof tn.removeAttribute!="function"||typeof tn.setAttribute!="function"||typeof tn.namespaceURI!="string"||typeof tn.insertBefore!="function"||typeof tn.hasChildNodes!="function")},uc=function(tn){return o(Js)==="object"?tn instanceof Js:tn&&o(tn)==="object"&&typeof tn.nodeType=="number"&&typeof tn.nodeName=="string"},qc=function(tn,zi,La){tu[tn]&&de(tu[tn],function(Yc){Yc.call(_r,zi,La,nc)})},Df=function(tn){var zi;if(qc("beforeSanitizeElements",tn,null),Us(tn)||fe(/[\u0080-\uFFFF]/,tn.nodeName))return RA(tn),!0;var La=ec(tn.nodeName);if(qc("uponSanitizeElement",tn,{tagName:La,allowedTags:ws}),tn.hasChildNodes()&&!uc(tn.firstElementChild)&&(!uc(tn.content)||!uc(tn.content.firstElementChild))&&fe(/<[/\w]/g,tn.innerHTML)&&fe(/<[/\w]/g,tn.textContent)||La==="select"&&fe(/