diff --git a/docs/content/en/deployment/configuration/_index.md b/docs/content/en/deployment/configuration/_index.md index 177bd68..5fd587b 100644 --- a/docs/content/en/deployment/configuration/_index.md +++ b/docs/content/en/deployment/configuration/_index.md @@ -113,6 +113,51 @@ secret = "your-rpc-secret" remove_after_transfer = true ``` +### yt-dlp Configuration + +Configures the behavior of the `/ytdlp` command and the `ytdlp` HTTP-API task type when no custom flags are passed. + +- `max_height`: Default maximum video resolution by height in pixels (e.g. `1080`, `720`). `0` means no limit (best available). Ignored when `format` is set. +- `format`: A raw yt-dlp format selector (`-f`). When set, it takes precedence over `max_height` and gives you full control, e.g. `bv*[height<=720]+ba/b`. +- `recode`: The target video container yt-dlp recodes into after download (e.g. `mp4`). Leave empty to disable recoding. + +{{< hint info >}} +These defaults only apply when using the `/ytdlp` command without passing any custom flags. Passing custom flags on the command (or `flags` in the API) overrides them. +{{< /hint >}} + +```toml +[ytdlp] +max_height = 1080 +format = "" # e.g. "bv*[height<=720]+ba/b" +recode = "mp4" # empty disables recoding +``` + +### HTTP API Configuration + +When enabled, SaveAny-Bot exposes an HTTP API for creating/querying/canceling tasks programmatically. See [HTTP API](../../usage/api) for the full endpoint reference. + +- `enable`: Whether to enable the HTTP API server, default is `false`. +- `host`: Bind address, default `0.0.0.0`. +- `port`: Listen port, default `8080`. +- `token`: Authentication token. **Strongly recommended** — if empty, the API is exposed without any authentication. + +```toml +[api] +enable = false +host = "0.0.0.0" +port = 8080 +token = "your-token" +``` + +### Log Configuration + +- `level`: Log level. One of `debug`, `info`, `warn`, `error`, `fatal`. Default is `info`. + +```toml +[log] +level = "info" +``` + ### Storage Endpoints List The storage endpoints list is used to define the storage locations supported by the Bot. Each storage endpoint needs to specify a name, type, and related configuration, using the double bracket syntax `[[storages]]`. diff --git a/docs/content/en/usage/cli.md b/docs/content/en/usage/cli.md new file mode 100644 index 0000000..216096e --- /dev/null +++ b/docs/content/en/usage/cli.md @@ -0,0 +1,90 @@ +--- +title: "CLI Subcommands" +weight: 21 +--- + +# CLI Subcommands + +Besides running the Telegram bot with `./saveany-bot` (no subcommand), the binary exposes two helper subcommands for moving local files into a storage backend: `upload` (one-shot) and `watch` (continuous). + +These subcommands load the same `config.toml` as the bot, initialize the database and caches, then perform their task. They do **not** start the Telegram bot itself, although storages of type `telegram` will spin up the bot client just for the upload. + +## `upload` — Upload a Single File + +``` +saveany-bot upload -f -s [-d ] [--no-progress] +``` + +Flags: + +| Flag | Required | Description | +|---|---|---| +| `-f, --file` | Yes | Path to the local file to upload | +| `-s, --storage` | Yes | Target storage name (must exist in `config.toml`) | +| `-d, --dir` | No | Destination directory within the storage. Defaults to the storage's `base_path` | +| `--no-progress` | No | Disable the terminal progress bar | + +Examples: + +```bash +# Upload a file to the default dir of storage "MyAlist" +./saveany-bot upload -f ./movie.mp4 -s MyAlist + +# Upload into a specific subdirectory +./saveany-bot upload -f ./movie.mp4 -s MyAlist -d movies/2026 + +# Upload via Telegram storage without a progress bar +./saveany-bot upload -f ./photo.jpg -s MyChannel --no-progress +``` + +## `watch` — Watch a Directory and Auto-Upload + +The `watch` subcommand continuously monitors a local directory and uploads created or modified files to a storage backend, preserving the relative directory structure from the watch root. + +``` +saveany-bot watch -p -s [-d ] [options] +``` + +Flags: + +| Flag | Default | Description | +|---|---|---| +| `-p, --path` | *(required)* | Local directory to watch | +| `-s, --storage` | *(required)* | Target storage name | +| `-d, --dir` | storage's `base_path` | Destination directory within the storage | +| `-r, --recursive` | `false` | Watch subdirectories recursively | +| `--overwrite` | `false` | Overwrite existing files on the storage instead of skipping them | +| `--initial-scan` | `false` | Upload files already present in the directory on startup | +| `--debounce` | `2s` | How long to wait after the last write before uploading a file | +| `--upload-workers` | `config.workers` | Number of concurrent uploads | +| `--retry-delay` | `3s` | Delay between upload retries | + +{{< hint info >}} +Write-completion detection: the watcher debounces per file and only uploads once the file size stays unchanged across the debounce window, so partial/write-in-progress files are not uploaded. +
+If a file changes while being uploaded, it is re-uploaded once after the current upload finishes (instead of being queued multiple times). +{{< /hint >}} + +Examples: + +```bash +# Watch ./inbox and upload new files to "MyAlist" recursively +./saveany-bot watch -p ./inbox -s MyAlist -r + +# Watch with a custom destination dir and overwrite +./saveany-bot watch -p ./inbox -s MyAlist -d backup --overwrite + +# On startup, also upload everything already in ./inbox +./saveany-bot watch -p ./inbox -s MyAlist --initial-scan +``` + +### Behavior notes + +- Relative directory structure is preserved under the destination directory. A file written to `./inbox/sub/file.txt` with `--path ./inbox` is uploaded to `/sub/file.txt`. +- `watch` runs until interrupted (e.g. `Ctrl-C` / `SIGINT`); in-flight uploads are drained before exit. +- Retries follow the global `retry` value from `config.toml`, with `--retry-delay` between attempts. +- Telegram-type storages will start the bot client automatically to perform uploads. + +{{< hint warning >}} +`watch` is unrelated to the in-bot `/watch` command (which watches Telegram chats). This subcommand watches a **local filesystem directory** and uploads to a storage backend, independent of Telegram. +{{< /hint >}} \ No newline at end of file diff --git a/docs/content/en/usage/config.md b/docs/content/en/usage/config.md new file mode 100644 index 0000000..db95eaf --- /dev/null +++ b/docs/content/en/usage/config.md @@ -0,0 +1,75 @@ +--- +title: "File Naming & Conflict Strategies" +weight: 11 +--- + +# File Naming & Conflict Strategies + +SaveAny-Bot lets you customize how saved files are named and how collisions with existing files are resolved, directly in Telegram via the `/config` and `/fnametmpl` commands. + +## `/config` — User Configuration + +The `/config` command opens an inline menu where you can change two per-user settings: + +- **Filename strategy** — how the saved file is named +- **Duplicate file strategy** — what happens when a file with the same name already exists in the target storage + +Settings are stored per user and apply to all of that user's subsequent save/transfer tasks. + +### Filename strategy + +| Option | Behavior | +|---|---| +| `Default` | Use the original media filename, or a generated name when no original filename is available | +| `Gen From Msg First` | Generate the filename from the message content (e.g. caption, text) and prefer that over the original filename | +| `Template` | Render the filename from a custom template you define with `/fnametmpl` | + +### Duplicate file strategy + +| Option | Behavior | +|---|---| +| `Always rename` (default) | Keep the existing file and save the new one with an alternate name | +| `Ask every time` | Prompt you with inline buttons each time a collision occurs | +| `Always overwrite` | Replace the existing file with the new one | +| `Always skip` | Do nothing for conflicting files | + +{{< hint info >}} +The conflict strategy only kicks in for storage backends that can detect the existence of a file. Backends that do not support existence checks will fall back to overwriting. +{{< /hint >}} + +## `/fnametmpl` — Custom Filename Template + +When the filename strategy is set to `Template`, SaveAny-Bot renders each saved file's name using the template configured via `/fnametmpl`. + +``` +/fnametmpl [template] +``` + +- Running `/fnametmpl` without arguments shows your current template and the help text. +- Running it with a template string sets that template as your filename template. + +The template uses Go [`text/template`](https://pkg.go.dev/text/template) syntax. The available variables are: + +| Variable | Description | +|---|---| +| `{{.msgid}}` | Telegram message ID | +| `{{.msgtags}}` | Hashtags found in the message, joined with `_` | +| `{{.msggen}}` | Filename generated from the message | +| `{{.msgdate}}` | Message date, formatted `YYYY-MM-DD_HH-MM-SS` | +| `{{.msgraw}}` | Raw, unprocessed message text | +| `{{.origname}}` | The media's original filename (if any) | +| `{{.chatid}}` | Chat ID of the message | + +Examples: + +``` +# Fixed prefix + message id + date +/fnametmpl Image_{{.msgid}}_{{.msgdate}}.jpg + +# Use original name if available, otherwise a generated name +/fnametmpl {{.origname}} +``` + +{{< hint warning >}} +The template only takes effect when the filename strategy is set to `Template`. If template parsing fails, SaveAny-Bot falls back to the default filename naming logic. +{{< /hint >}} \ No newline at end of file diff --git a/docs/content/en/usage/rules.md b/docs/content/en/usage/rules.md index 06e0f75..442b823 100644 --- a/docs/content/en/usage/rules.md +++ b/docs/content/en/usage/rules.md @@ -27,6 +27,45 @@ Pay attention to spaces; the bot can only parse correctly formatted syntax. Belo In addition, if `CHOSEN` is used as the storage name in the rule, it means files will be stored under the path of the storage you selected by clicking the inline button. +You can also toggle whether rules are applied with `/rule switch`. When rule mode is off, all files go to the default storage. + +## Preset Rules + +Manually writing regex rules for common file types is tedious, so the bot ships a built-in set of preset categories (video, image, audio, document, archive) that you can import in one command: + +``` +/rule preset [base_path] +``` + +Parameters: + +- `storage`: Target storage name (must exist and be accessible to you) +- `base_path`: Optional. Each preset category's subdirectory is created under this path. If omitted, the default category directory names are used directly. + +Examples: + +``` +# Import preset rules into "MyAlist" with the default directory layout +/rule preset MyAlist + +# Import preset rules with a custom base path "downloads/sorted" +/rule preset MyAlist downloads/sorted +``` + +This will create `FILENAME-REGEX` rules for each category, routing matched files to the corresponding subdirectory under `base_path`: + +| Category | Matched extensions | Default directory | +|---|---|---| +| video | mp4, mkv, ts, avi, flv, mov, webm, wmv, rmvb, m2ts | `视频` | +| image | jpg, jpeg, png, gif, webp, bmp | `图片` | +| audio | mp3, flac, wav, aac, m4a, ogg | `音频` | +| document | pdf, doc, docx, xls, xlsx, ppt, pptx, txt, md, csv, epub, mobi, azw3, chm | `文档` | +| archive | zip, rar, 7z, tar, gz, bz2, xz, ... | `压缩包` | + +{{< hint info >}} +Preset rules are regular `FILENAME-REGEX` rules once imported. You can view, edit, or delete them individually with `/rule` and `/rule del ` like any other rule. +{{< /hint >}} + Rule types: ## FILENAME-REGEX diff --git a/docs/content/zh/deployment/configuration/_index.md b/docs/content/zh/deployment/configuration/_index.md index e470961..0cfcdcb 100644 --- a/docs/content/zh/deployment/configuration/_index.md +++ b/docs/content/zh/deployment/configuration/_index.md @@ -30,6 +30,7 @@ base_path = "./downloads" ### 全局配置 +- `lang`: Bot 使用的语言, 默认为 `zh-CN` (简体中文), 设为 `en` 则使用英语. - `stream`: 是否启用 Stream 模式, 默认为 `false`. 启用后 Bot 将直接将文件流式传输到存储端(若存储端支持), 不需要下载到本地 {{< hint warning >}} Stream 模式对于磁盘空间有限的部署环境十分有用, 但也有一些弊端: @@ -47,6 +48,7 @@ Stream 模式对于磁盘空间有限的部署环境十分有用, 但也有一 - `proxy`: 全局代理配置, 配置后程序内一切网络连接将会尝试使用该代理, 可选. ```toml +lang = "zh-CN" stream = false workers = 3 threads = 4 @@ -111,6 +113,51 @@ secret = "your-rpc-secret" remove_after_transfer = true ``` +### yt-dlp 配置 + +用于配置 `/ytdlp` 命令以及 HTTP API 中 `ytdlp` 任务类型在未传自定义参数时的默认行为. + +- `max_height`: 默认下载的最高视频清晰度 (按高度限制), 如 `1080`, `720`, `480`; `0` 表示不限制 (下载最佳画质). 当设置了 `format` 时此项被忽略. +- `format`: 直接指定 yt-dlp format 选择表达式, 设置后优先级高于 `max_height`, 例如 `bv*[height<=720]+ba/b`. +- `recode`: 下载后转封装的视频容器格式 (如 `mp4`), 留空则不转封装. + +{{< hint info >}} +这些默认值仅在使用 `/ytdlp` 命令且未传任何自定义参数时生效. 在命令上传递自定义参数 (或在 API 中传 `flags`) 会覆盖这些默认值. +{{< /hint >}} + +```toml +[ytdlp] +max_height = 1080 +format = "" # 例如 "bv*[height<=720]+ba/b" +recode = "mp4" # 留空则不转封装 +``` + +### HTTP API 配置 + +启用后, SaveAny-Bot 会暴露一套 HTTP API, 用于以编程方式创建/查询/取消任务. 完整的接口说明见 [HTTP API](../../usage/api). + +- `enable`: 是否启用 HTTP API 服务, 默认为 `false`. +- `host`: 监听地址, 默认 `0.0.0.0`. +- `port`: 监听端口, 默认 `8080`. +- `token`: 鉴权 Token, **强烈建议设置** — 若为空, API 将在无任何鉴权的情况下暴露. + +```toml +[api] +enable = false +host = "0.0.0.0" +port = 8080 +token = "your-token" +``` + +### 日志配置 + +- `level`: 日志级别, 可选 `debug`, `info`, `warn`, `error`, `fatal`. 默认为 `info`. + +```toml +[log] +level = "info" +``` + ### 存储端列表 存储端列表用于定义 Bot 支持的存储位置, 每个存储端需要指定名称、类型和相关配置, 使用双中括号语法 `[[storages]]` 定义. diff --git a/docs/content/zh/usage/cli.md b/docs/content/zh/usage/cli.md new file mode 100644 index 0000000..05b925d --- /dev/null +++ b/docs/content/zh/usage/cli.md @@ -0,0 +1,90 @@ +--- +title: "命令行子命令" +weight: 21 +--- + +# 命令行子命令 + +除了直接运行 `./saveany-bot` (不带子命令) 启动 Telegram Bot 外, 这个二进制文件还提供两个把本地文件上传到存储后端的辅助子命令: `upload` (一次性) 和 `watch` (持续监听). + +这些子命令会读取与 Bot 相同的 `config.toml`, 初始化数据库和缓存, 然后执行任务. 它们**不会**启动 Telegram Bot 本身, 但 `telegram` 类型的存储会在需要上传时临时启动 Bot 客户端来执行上传. + +## `upload` — 上传单个文件 + +``` +saveany-bot upload -f <文件> -s <存储名> [-d <目录>] [--no-progress] +``` + +参数: + +| 参数 | 必填 | 说明 | +|---|---|---| +| `-f, --file` | 是 | 待上传的本地文件路径 | +| `-s, --storage` | 是 | 目标存储名 (必须存在于 `config.toml`) | +| `-d, --dir` | 否 | 存储中的目标目录, 默认使用存储的 `base_path` | +| `--no-progress` | 否 | 关闭终端进度条 | + +示例: + +```bash +# 上传文件到 "MyAlist" 的默认目录 +./saveany-bot upload -f ./movie.mp4 -s MyAlist + +# 上传到指定子目录 +./saveany-bot upload -f ./movie.mp4 -s MyAlist -d movies/2026 + +# 通过 Telegram 存储上传并关闭进度条 +./saveany-bot upload -f ./photo.jpg -s MyChannel --no-progress +``` + +## `watch` — 监听目录并自动上传 + +`watch` 子命令持续监听一个本地目录, 将新建或修改的文件上传到存储后端, 并保留相对监听根目录的子目录结构. + +``` +saveany-bot watch -p <路径> -s <存储名> [-d <目录>] [选项] +``` + +参数: + +| 参数 | 默认值 | 说明 | +|---|---|---| +| `-p, --path` | *(必填)* | 要监听的本地目录 | +| `-s, --storage` | *(必填)* | 目标存储名 | +| `-d, --dir` | 存储的 `base_path` | 存储中的目标目录 | +| `-r, --recursive` | `false` | 是否递归监听子目录 | +| `--overwrite` | `false` | 覆盖存储上已有的文件, 而非跳过 | +| `--initial-scan` | `false` | 启动时将目录中已存在的文件也上传 | +| `--debounce` | `2s` | 文件最后一次写入后, 等待多久再上传 | +| `--upload-workers` | `config.workers` | 并发上传数 | +| `--retry-delay` | `3s` | 上传重试之间的延迟 | + +{{< hint info >}} +写入完成检测: 监听器会按文件做防抖处理, 仅当文件大小在一个 debounce 窗口内保持不变时才上传, 因此不会上传未写完的半成品文件. +
+若某文件在上传过程中又被修改, 它会在当前上传完成后再上传一次, 而不是被重复排队. +{{< /hint >}} + +示例: + +```bash +# 递归监听 ./inbox 并且把新文件上传到 "MyAlist" +./saveany-bot watch -p ./inbox -s MyAlist -r + +# 自定义目标目录并覆盖已有文件 +./saveany-bot watch -p ./inbox -s MyAlist -d backup --overwrite + +# 启动时把 ./inbox 中已有的内容也一并上传 +./saveany-bot watch -p ./inbox -s MyAlist --initial-scan +``` + +### 行为说明 + +- 相对子目录结构会被保留: 以 `--path ./inbox` 为例, 写入 `./inbox/sub/file.txt` 的文件会被上传到 `<目标目录>/sub/file.txt`. +- `watch` 会一直运行直到被中断 (如 `Ctrl-C` / `SIGINT`), 退出前会等待所有进行中的上传完成. +- 重试次数遵循 `config.toml` 中的全局 `retry` 值, 各次重试之间间隔 `--retry-delay`. +- `telegram` 类型的存储会自动启动 Bot 客户端来执行上传. + +{{< hint warning >}} +`watch` 子命令与 Bot 内的 `/watch` 命令 (监听 Telegram 聊天) 无关. 本子命令监听的是**本地文件系统目录**, 不依赖 Telegram. +{{< /hint >}} \ No newline at end of file diff --git a/docs/content/zh/usage/config.md b/docs/content/zh/usage/config.md new file mode 100644 index 0000000..de8996b --- /dev/null +++ b/docs/content/zh/usage/config.md @@ -0,0 +1,75 @@ +--- +title: "文件命名与重名策略" +weight: 11 +--- + +# 文件命名与重名策略 + +SaveAny-Bot 支持在 Telegram 中通过 `/config` 和 `/fnametmpl` 命令自定义保存文件的命名方式, 以及处理与已存在文件重名时的冲突策略. + +## `/config` — 用户配置 + +`/config` 命令会弹出一个内联菜单, 你可以在其中修改以下两项用户级设置: + +- **文件名策略** — 保存文件的命名方式 +- **重名文件保存策略** — 目标存储中已存在同名文件时的处理方式 + +设置按用户分别保存, 对该用户后续所有的保存/转存任务生效. + +### 文件名策略 + +| 选项 | 行为 | +|---|---| +| `默认` | 使用媒体原始文件名, 没有原始文件名时使用生成名 | +| `优先从消息生成` | 优先根据消息内容 (如 caption、文本) 生成文件名, 而非原始文件名 | +| `自定义模板` | 使用 `/fnametmpl` 设置的自定义模板渲染文件名 | + +### 重名文件保存策略 + +| 选项 | 行为 | +|---|---| +| `始终重命名` (默认) | 保留已有文件, 将新文件以另一个名字保存 | +| `每次询问` | 每次遇到重名时通过内联按钮提示你选择 | +| `始终覆盖` | 用新文件替换已有文件 | +| `始终跳过` | 对重名文件不做处理 | + +{{< hint info >}} +重名策略仅在能够检测文件是否已存在的存储后端生效. 不支持检测文件是否存在的存储后端会退化为覆盖行为. +{{< /hint >}} + +## `/fnametmpl` — 自定义文件名模板 + +当文件名策略设置为 `自定义模板` 时, SaveAny-Bot 会用 `/fnametmpl` 配置的模板来渲染所保存文件的文件名. + +``` +/fnametmpl [模板] +``` + +- 不带参数运行 `/fnametmpl` 会显示当前模板以及帮助说明 +- 带模板字符串运行则会把它设为你的文件名模板 + +模板使用 Go [`text/template`](https://pkg.go.dev/text/template) 语法. 可用变量如下: + +| 变量 | 说明 | +|---|---| +| `{{.msgid}}` | Telegram 消息 ID | +| `{{.msgtags}}` | 消息中的标签, 以 `_` 连接输出 | +| `{{.msggen}}` | 根据消息生成的文件名 | +| `{{.msgdate}}` | 消息日期, 格式 `YYYY-MM-DD_HH-MM-SS` | +| `{{.msgraw}}` | 消息的原始文本内容 (不做处理) | +| `{{.origname}}` | 媒体的原始文件名 (如有) | +| `{{.chatid}}` | 消息所在聊天的 ID | + +示例: + +``` +# 固定前缀 + 消息 ID + 日期 +/fnametmpl 图片_{{.msgid}}_{{.msgdate}}.jpg + +# 优先使用原始文件名, 没有则用生成名 +/fnametmpl {{.origname}} +``` + +{{< hint warning >}} +模板仅在文件名策略设置为 `自定义模板` 时生效. 如果模板解析失败, SaveAny-Bot 会回退到默认的文件名生成逻辑. +{{< /hint >}} \ No newline at end of file diff --git a/docs/content/zh/usage/rules.md b/docs/content/zh/usage/rules.md index 0e039c7..4ce6ace 100644 --- a/docs/content/zh/usage/rules.md +++ b/docs/content/zh/usage/rules.md @@ -27,6 +27,45 @@ weight: 3 此外, 规则中的存储名若使用 "CHOSEN" , 则表示存储到点击按钮选择的存储端的路径下 +你也可以使用 `/rule switch` 来开关规则模式. 关闭规则模式时, 所有文件都将保存到默认存储. + +## 预设规则 + +为常见文件类型手动编写正则规则比较繁琐, 因此 Bot 内置了一组预设分类 (视频、图片、音频、文档、压缩包), 可以通过一条命令批量导入: + +``` +/rule preset <存储名> [基础路径] +``` + +参数: + +- `存储名`: 目标存储名 (必须存在且你有权访问) +- `基础路径`: 可选. 各预设分类的子目录会创建在此路径下; 若不填则直接使用默认分类目录名 + +示例: + +``` +# 导入预设规则到 "MyAlist", 使用默认目录布局 +/rule preset MyAlist + +# 在自定义基础路径 "downloads/sorted" 下导入预设规则 +/rule preset MyAlist downloads/sorted +``` + +此命令会为每个分类创建 `FILENAME-REGEX` 规则, 将匹配的文件路由到 `基础路径` 下对应的子目录: + +| 分类 | 匹配的扩展名 | 默认目录 | +|---|---|---| +| 视频 | mp4, mkv, ts, avi, flv, mov, webm, wmv, rmvb, m2ts | `视频` | +| 图片 | jpg, jpeg, png, gif, webp, bmp | `图片` | +| 音频 | mp3, flac, wav, aac, m4a, ogg | `音频` | +| 文档 | pdf, doc, docx, xls, xlsx, ppt, pptx, txt, md, csv, epub, mobi, azw3, chm | `文档` | +| 压缩包 | zip, rar, 7z, tar, gz, bz2, xz, ... | `压缩包` | + +{{< hint info >}} +导入后的预设规则就是普通的 `FILENAME-REGEX` 规则. 你可以像其他规则一样通过 `/rule` 查看或用 `/rule del ` 单独删除/编辑它们. +{{< /hint >}} + 规则类型: ## FILENAME-REGEX diff --git a/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.content b/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.content index 816d113..9ef2bd5 100644 --- a/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.content +++ b/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.content @@ -1 +1 @@ -@charset "UTF-8";:root{--gray-100:#f8f9fa;--gray-200:#e9ecef;--gray-500:#adb5bd;--color-link:#0055bb;--color-visited-link:#8440f1;--body-background:white;--body-font-color:black;--icon-filter:none;--hint-color-info:#6bf;--hint-color-warning:#fd6;--hint-color-danger:#f66}@media(prefers-color-scheme:dark){:root{--gray-100:#494e54;--gray-200:#5c6165;--gray-500:#999d9f;--color-link:#84b2ff;--color-visited-link:#b88dff;--body-background:#343a40;--body-font-color:#e9ecef;--icon-filter:brightness(0) invert(1);--hint-color-info:#6bf;--hint-color-warning:#fd6;--hint-color-danger:#f66}}/*!normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.flex{display:flex}.flex-auto{flex:auto}.flex-even{flex:1 1}.flex-wrap{flex-wrap:wrap}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.mx-auto{margin:0 auto}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-small{font-size:.875em}.hidden{display:none}input.toggle{height:0;width:0;overflow:hidden;opacity:0;position:absolute}.clearfix::after{content:"";display:table;clear:both}html{font-size:18px;scroll-behavior:smooth;touch-action:manipulation;scrollbar-gutter:stable}body{min-width:20rem;color:var(--body-font-color);background:var(--body-background);font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5{font-weight:400}a{text-decoration:none;color:var(--color-link)}img{vertical-align:baseline}:focus{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}aside nav ul{padding:0;margin:0;list-style:none}aside nav ul li{position:relative}aside nav ul a,aside nav ul span{padding:.5em 0;display:block}aside nav ul a:hover{opacity:.5}aside nav ul ul{padding-inline-start:1rem}ul.pagination{display:flex;justify-content:center;list-style-type:none;padding-inline-start:0}ul.pagination .page-item a{padding:1rem}.container{max-width:80rem;margin:0 auto}.book-icon{filter:var(--icon-filter)}a .book-icon{height:1em;width:1em;margin-inline-end:.5em}.book-brand{margin-top:0;margin-bottom:1rem}.book-brand img{height:1.5em;width:1.5em;margin-inline-end:.5rem}.book-menu{flex:0 0 16rem;font-size:.875rem}.book-menu .book-menu-content{width:16rem;padding:1rem;background:var(--body-background);position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-menu a,.book-menu label{color:inherit;cursor:pointer;word-wrap:break-word}.book-menu a.active{color:var(--color-link)}.book-menu input.toggle+label+ul{display:none}.book-menu input.toggle:checked+label+ul{display:block}.book-menu input.toggle+label::after{content:"▸";align-self:center}.book-menu input.toggle:checked+label::after{content:"▾";align-self:center}body[dir=rtl] .book-menu input.toggle+label::after{content:"◂"}body[dir=rtl] .book-menu input.toggle:checked+label::after{content:"▾"}.book-section-flat{margin:1rem 0}.book-section-flat>a,.book-section-flat>span,.book-section-flat>label{font-weight:bolder}.book-section-flat>ul{padding-inline-start:0}.book-page{min-width:20rem;flex-grow:1;padding:1rem}.book-post{margin-bottom:4rem}.book-post .book-post-date img{height:1em;width:1em;margin-inline-end:.5em}.book-post .book-post-content>:first-child{margin-top:1rem}.book-header{display:none;margin-bottom:1rem}.book-header label{line-height:0}.book-header h3{overflow:hidden;text-overflow:ellipsis;margin:0 1rem}.book-header img.book-icon{height:1.5em;width:1.5em}.book-search{position:relative;margin:.5rem 0;border-bottom:1px solid transparent}.book-search input{width:100%;padding:.5rem;border:0;border-radius:.25rem;background:var(--gray-100);color:var(--body-font-color)}.book-search input:required+.book-search-spinner{display:block}.book-search .book-search-spinner{position:absolute;top:0;margin:.5rem;margin-inline-start:calc(100% - 1.5rem);width:1rem;height:1rem;border:1px solid transparent;border-top-color:var(--body-font-color);border-radius:50%;animation:spin 1s ease infinite}@keyframes spin{100%{transform:rotate(360deg)}}.book-search ul a{padding-bottom:0}.book-search small{opacity:.5}.book-toc{flex:0 0 16rem;font-size:.75rem}.book-toc .book-toc-content{width:16rem;padding:1rem;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-toc img{height:1em;width:1em}.book-toc nav>ul>li:first-child{margin-top:0}.book-footer{padding-top:1rem;font-size:.875rem}.book-comments{margin-top:1rem}.book-languages{margin-bottom:1rem}.book-languages ul{padding-inline-start:1.5em}.book-menu-content,.book-toc-content,.book-page,.book-header aside,.markdown{transition:.2s ease-in-out;transition-property:transform,margin,opacity,visibility;will-change:transform,margin,opacity}@media screen and (max-width:56rem){#menu-control,#toc-control{display:inline}.book-menu{visibility:hidden;margin-inline-start:-16rem;z-index:1}.book-toc{display:none}.book-header{display:block}#menu-control:focus~main label[for=menu-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#menu-control:checked~main .book-menu{visibility:initial}#menu-control:checked~main .book-menu .book-menu-content{transform:translateX(16rem);box-shadow:0 0 .5rem rgba(0,0,0,.1)}#menu-control:checked~main .book-page{opacity:.25}#menu-control:checked~main .book-menu-overlay{display:block;position:absolute;top:0;bottom:0;left:0;right:0}#toc-control:focus~main label[for=toc-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#toc-control:checked~main .book-header aside{display:block}body[dir=rtl] #menu-control:checked~main .book-menu .book-menu-content{transform:translateX(-16rem)}}@media screen and (min-width:80rem){.book-page,.book-menu .book-menu-content,.book-toc .book-toc-content{padding:2rem 1rem}}@font-face{font-family:roboto;font-style:normal;font-weight:400;font-display:fallback;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:roboto;font-style:normal;font-weight:700;font-display:fallback;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOlCnqEu92Fr1MmWUlfBBc4AMP6lQ.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:roboto mono;font-style:normal;font-weight:400;font-display:fallback;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4AJi8SJQt.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{font-family:roboto,sans-serif}code{font-family:roboto mono,monospace}@media print{.book-menu,.book-footer,.book-toc{display:none}.book-header,.book-header aside{display:block}main{display:block !important}}.markdown{line-height:1.6}.markdown>:first-child{margin-top:0}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{font-weight:400;line-height:1;margin-top:1.5em;margin-bottom:1rem}.markdown h1 a.anchor,.markdown h2 a.anchor,.markdown h3 a.anchor,.markdown h4 a.anchor,.markdown h5 a.anchor,.markdown h6 a.anchor{opacity:0;font-size:.75em;vertical-align:middle;text-decoration:none}.markdown h1:hover a.anchor,.markdown h1 a.anchor:focus,.markdown h2:hover a.anchor,.markdown h2 a.anchor:focus,.markdown h3:hover a.anchor,.markdown h3 a.anchor:focus,.markdown h4:hover a.anchor,.markdown h4 a.anchor:focus,.markdown h5:hover a.anchor,.markdown h5 a.anchor:focus,.markdown h6:hover a.anchor,.markdown h6 a.anchor:focus{opacity:initial}.markdown h4,.markdown h5,.markdown h6{font-weight:bolder}.markdown h5{font-size:.875em}.markdown h6{font-size:.75em}.markdown b,.markdown optgroup,.markdown strong{font-weight:bolder}.markdown a{text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown a:visited{color:var(--color-visited-link)}.markdown img{max-width:100%;height:auto}.markdown code{direction:ltr;unicode-bidi:embed;padding:0 .25rem;background:var(--gray-200);border-radius:.25rem;font-size:.875em}.markdown pre{direction:ltr;unicode-bidi:embed;padding:1rem;background:var(--gray-100);border-radius:.25rem;overflow-x:auto}.markdown pre code{padding:0;background:0 0}.markdown p{word-wrap:break-word}.markdown blockquote{margin:1rem 0;padding:.5rem 1rem .5rem .75rem;border-inline-start:.25rem solid var(--gray-200);border-radius:.25rem}.markdown blockquote :first-child{margin-top:0}.markdown blockquote :last-child{margin-bottom:0}.markdown table{overflow:auto;display:block;border-spacing:0;border-collapse:collapse;margin-top:1rem;margin-bottom:1rem}.markdown table tr th,.markdown table tr td{padding:.5rem 1rem;border:1px solid var(--gray-200)}.markdown table tr:nth-child(2n){background:var(--gray-100)}.markdown hr{height:1px;border:none;background:var(--gray-200)}.markdown ul,.markdown ol{padding-inline-start:2rem;word-wrap:break-word}.markdown dl dt{font-weight:bolder;margin-top:1rem}.markdown dl dd{margin-inline-start:0;margin-bottom:1rem}.markdown .highlight{direction:ltr;unicode-bidi:embed;border-radius:.25rem;overflow:hidden}.markdown .highlight table tr td pre code>span{display:flex}.markdown .highlight table tr td:nth-child(1) pre{margin:0;padding-inline-end:0}.markdown .highlight table tr td:nth-child(2) pre{margin:0;padding-inline-start:0}.markdown details{padding:1rem;border:1px solid var(--gray-200);border-radius:.25rem}.markdown details summary{line-height:1;padding:1rem;margin:-1rem;cursor:pointer}.markdown details[open] summary{margin-bottom:0}.markdown figure{margin:1rem 0}.markdown figure figcaption p{margin-top:0}.markdown-inner>:first-child{margin-top:0}.markdown-inner>:last-child{margin-bottom:0}.markdown .book-expand{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden}.markdown .book-expand .book-expand-head{background:var(--gray-100);padding:.5rem 1rem;cursor:pointer}.markdown .book-expand .book-expand-content{display:none;padding:1rem}.markdown .book-expand input[type=checkbox]:checked+.book-expand-content{display:block}.markdown .book-tabs{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden;display:flex;flex-wrap:wrap}.markdown .book-tabs label{display:inline-block;padding:.5rem 1rem;border-bottom:1px transparent;cursor:pointer}.markdown .book-tabs .book-tabs-content{order:999;width:100%;border-top:1px solid var(--gray-100);padding:1rem;display:none}.markdown .book-tabs input[type=radio]:checked+label{border-bottom:1px solid var(--color-link)}.markdown .book-tabs input[type=radio]:checked+label+.book-tabs-content{display:block}.markdown .book-tabs input[type=radio]:focus+label{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}.markdown .book-columns{margin-left:-1rem;margin-right:-1rem}.markdown .book-columns>div{margin:1rem 0;min-width:13.2rem;padding:0 1rem}.markdown a.book-btn{display:inline-block;font-size:.875rem;color:var(--color-link);line-height:2rem;padding:0 1rem;border:1px solid var(--color-link);border-radius:.25rem;cursor:pointer}.markdown a.book-btn:hover{text-decoration:none}.markdown .book-hint.info{border-color:#6bf;background-color:rgba(102,187,255,.1)}.markdown .book-hint.warning{border-color:#fd6;background-color:rgba(255,221,102,.1)}.markdown .book-hint.danger{border-color:#f66;background-color:rgba(255,102,102,.1)} \ No newline at end of file +@charset "UTF-8";:root{--gray-100:#f8f9fa;--gray-200:#e9ecef;--gray-500:#adb5bd;--color-link:#0055bb;--color-visited-link:#8440f1;--body-background:white;--body-font-color:black;--icon-filter:none;--hint-color-info:#6bf;--hint-color-warning:#fd6;--hint-color-danger:#f66}@media(prefers-color-scheme:dark){:root{--gray-100:#494e54;--gray-200:#5c6165;--gray-500:#999d9f;--color-link:#84b2ff;--color-visited-link:#b88dff;--body-background:#343a40;--body-font-color:#e9ecef;--icon-filter:brightness(0) invert(1);--hint-color-info:#6bf;--hint-color-warning:#fd6;--hint-color-danger:#f66}}/*!normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:initial}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.flex{display:flex}.flex-auto{flex:auto}.flex-even{flex:1 1}.flex-wrap{flex-wrap:wrap}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.mx-auto{margin:0 auto}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-small{font-size:.875em}.hidden{display:none}input.toggle{height:0;width:0;overflow:hidden;opacity:0;position:absolute}.clearfix::after{content:"";display:table;clear:both}html{font-size:18px;scroll-behavior:smooth;touch-action:manipulation;scrollbar-gutter:stable}body{min-width:20rem;color:var(--body-font-color);background:var(--body-background);font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5{font-weight:400}a{text-decoration:none;color:var(--color-link)}img{vertical-align:baseline}:focus{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}aside nav ul{padding:0;margin:0;list-style:none}aside nav ul li{position:relative}aside nav ul a,aside nav ul span{padding:.5em 0;display:block}aside nav ul a:hover{opacity:.5}aside nav ul ul{padding-inline-start:1rem}ul.pagination{display:flex;justify-content:center;list-style-type:none;padding-inline-start:0}ul.pagination .page-item a{padding:1rem}.container{max-width:80rem;margin:0 auto}.book-icon{filter:var(--icon-filter)}a .book-icon{height:1em;width:1em;margin-inline-end:.5em}.book-brand{margin-top:0;margin-bottom:1rem}.book-brand img{height:1.5em;width:1.5em;margin-inline-end:.5rem}.book-menu{flex:0 0 16rem;font-size:.875rem}.book-menu .book-menu-content{width:16rem;padding:1rem;background:var(--body-background);position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-menu a,.book-menu label{color:inherit;cursor:pointer;word-wrap:break-word}.book-menu a.active{color:var(--color-link)}.book-menu input.toggle+label+ul{display:none}.book-menu input.toggle:checked+label+ul{display:block}.book-menu input.toggle+label::after{content:"▸";align-self:center}.book-menu input.toggle:checked+label::after{content:"▾";align-self:center}body[dir=rtl] .book-menu input.toggle+label::after{content:"◂"}body[dir=rtl] .book-menu input.toggle:checked+label::after{content:"▾"}.book-section-flat{margin:1rem 0}.book-section-flat>a,.book-section-flat>span,.book-section-flat>label{font-weight:bolder}.book-section-flat>ul{padding-inline-start:0}.book-page{min-width:20rem;flex-grow:1;padding:1rem}.book-post{margin-bottom:4rem}.book-post .book-post-date img{height:1em;width:1em;margin-inline-end:.5em}.book-post .book-post-content>:first-child{margin-top:1rem}.book-header{display:none;margin-bottom:1rem}.book-header label{line-height:0}.book-header h3{overflow:hidden;text-overflow:ellipsis;margin:0 1rem}.book-header img.book-icon{height:1.5em;width:1.5em}.book-search{position:relative;margin:.5rem 0;border-bottom:1px solid transparent}.book-search input{width:100%;padding:.5rem;border:0;border-radius:.25rem;background:var(--gray-100);color:var(--body-font-color)}.book-search input:required+.book-search-spinner{display:block}.book-search .book-search-spinner{position:absolute;top:0;margin:.5rem;margin-inline-start:calc(100% - 1.5rem);width:1rem;height:1rem;border:1px solid transparent;border-top-color:var(--body-font-color);border-radius:50%;animation:spin 1s ease infinite}@keyframes spin{100%{transform:rotate(360deg)}}.book-search ul a{padding-bottom:0}.book-search small{opacity:.5}.book-toc{flex:0 0 16rem;font-size:.75rem}.book-toc .book-toc-content{width:16rem;padding:1rem;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-toc img{height:1em;width:1em}.book-toc nav>ul>li:first-child{margin-top:0}.book-footer{padding-top:1rem;font-size:.875rem}.book-comments{margin-top:1rem}.book-languages{margin-bottom:1rem}.book-languages ul{padding-inline-start:1.5em}.book-menu-content,.book-toc-content,.book-page,.book-header aside,.markdown{transition:.2s ease-in-out;transition-property:transform,margin,opacity,visibility;will-change:transform,margin,opacity}@media screen and (max-width:56rem){#menu-control,#toc-control{display:inline}.book-menu{visibility:hidden;margin-inline-start:-16rem;z-index:1}.book-toc{display:none}.book-header{display:block}#menu-control:focus~main label[for=menu-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#menu-control:checked~main .book-menu{visibility:initial}#menu-control:checked~main .book-menu .book-menu-content{transform:translateX(16rem);box-shadow:0 0 .5rem rgba(0,0,0,.1)}#menu-control:checked~main .book-page{opacity:.25}#menu-control:checked~main .book-menu-overlay{display:block;position:absolute;top:0;bottom:0;left:0;right:0}#toc-control:focus~main label[for=toc-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#toc-control:checked~main .book-header aside{display:block}body[dir=rtl] #menu-control:checked~main .book-menu .book-menu-content{transform:translateX(-16rem)}}@media screen and (min-width:80rem){.book-page,.book-menu .book-menu-content,.book-toc .book-toc-content{padding:2rem 1rem}}@font-face{font-family:roboto;font-style:normal;font-weight:400;font-display:fallback;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:roboto;font-style:normal;font-weight:700;font-display:fallback;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOlCnqEu92Fr1MmWUlfBBc4AMP6lQ.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:roboto mono;font-style:normal;font-weight:400;font-display:fallback;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4AJi8SJQt.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{font-family:roboto,sans-serif}code{font-family:roboto mono,monospace}@media print{.book-menu,.book-footer,.book-toc{display:none}.book-header,.book-header aside{display:block}main{display:block!important}}.markdown{line-height:1.6}.markdown>:first-child{margin-top:0}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{font-weight:400;line-height:1;margin-top:1.5em;margin-bottom:1rem}.markdown h1 a.anchor,.markdown h2 a.anchor,.markdown h3 a.anchor,.markdown h4 a.anchor,.markdown h5 a.anchor,.markdown h6 a.anchor{opacity:0;font-size:.75em;vertical-align:middle;text-decoration:none}.markdown h1:hover a.anchor,.markdown h1 a.anchor:focus,.markdown h2:hover a.anchor,.markdown h2 a.anchor:focus,.markdown h3:hover a.anchor,.markdown h3 a.anchor:focus,.markdown h4:hover a.anchor,.markdown h4 a.anchor:focus,.markdown h5:hover a.anchor,.markdown h5 a.anchor:focus,.markdown h6:hover a.anchor,.markdown h6 a.anchor:focus{opacity:initial}.markdown h4,.markdown h5,.markdown h6{font-weight:bolder}.markdown h5{font-size:.875em}.markdown h6{font-size:.75em}.markdown b,.markdown optgroup,.markdown strong{font-weight:bolder}.markdown a{text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown a:visited{color:var(--color-visited-link)}.markdown img{max-width:100%;height:auto}.markdown code{direction:ltr;unicode-bidi:embed;padding:0 .25rem;background:var(--gray-200);border-radius:.25rem;font-size:.875em}.markdown pre{direction:ltr;unicode-bidi:embed;padding:1rem;background:var(--gray-100);border-radius:.25rem;overflow-x:auto}.markdown pre code{padding:0;background:0 0}.markdown p{word-wrap:break-word}.markdown blockquote{margin:1rem 0;padding:.5rem 1rem .5rem .75rem;border-inline-start:.25rem solid var(--gray-200);border-radius:.25rem}.markdown blockquote :first-child{margin-top:0}.markdown blockquote :last-child{margin-bottom:0}.markdown table{overflow:auto;display:block;border-spacing:0;border-collapse:collapse;margin-top:1rem;margin-bottom:1rem}.markdown table tr th,.markdown table tr td{padding:.5rem 1rem;border:1px solid var(--gray-200)}.markdown table tr:nth-child(2n){background:var(--gray-100)}.markdown hr{height:1px;border:none;background:var(--gray-200)}.markdown ul,.markdown ol{padding-inline-start:2rem;word-wrap:break-word}.markdown dl dt{font-weight:bolder;margin-top:1rem}.markdown dl dd{margin-inline-start:0;margin-bottom:1rem}.markdown .highlight{direction:ltr;unicode-bidi:embed;border-radius:.25rem;overflow:hidden}.markdown .highlight table tr td pre code>span{display:flex}.markdown .highlight table tr td:nth-child(1) pre{margin:0;padding-inline-end:0}.markdown .highlight table tr td:nth-child(2) pre{margin:0;padding-inline-start:0}.markdown details{padding:1rem;border:1px solid var(--gray-200);border-radius:.25rem}.markdown details summary{line-height:1;padding:1rem;margin:-1rem;cursor:pointer}.markdown details[open] summary{margin-bottom:0}.markdown figure{margin:1rem 0}.markdown figure figcaption p{margin-top:0}.markdown-inner>:first-child{margin-top:0}.markdown-inner>:last-child{margin-bottom:0}.markdown .book-expand{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden}.markdown .book-expand .book-expand-head{background:var(--gray-100);padding:.5rem 1rem;cursor:pointer}.markdown .book-expand .book-expand-content{display:none;padding:1rem}.markdown .book-expand input[type=checkbox]:checked+.book-expand-content{display:block}.markdown .book-tabs{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden;display:flex;flex-wrap:wrap}.markdown .book-tabs label{display:inline-block;padding:.5rem 1rem;border-bottom:1px transparent;cursor:pointer}.markdown .book-tabs .book-tabs-content{order:999;width:100%;border-top:1px solid var(--gray-100);padding:1rem;display:none}.markdown .book-tabs input[type=radio]:checked+label{border-bottom:1px solid var(--color-link)}.markdown .book-tabs input[type=radio]:checked+label+.book-tabs-content{display:block}.markdown .book-tabs input[type=radio]:focus+label{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}.markdown .book-columns{margin-left:-1rem;margin-right:-1rem}.markdown .book-columns>div{margin:1rem 0;min-width:13.2rem;padding:0 1rem}.markdown a.book-btn{display:inline-block;font-size:.875rem;color:var(--color-link);line-height:2rem;padding:0 1rem;border:1px solid var(--color-link);border-radius:.25rem;cursor:pointer}.markdown a.book-btn:hover{text-decoration:none}.markdown .book-hint.info{border-color:#6bf;background-color:rgba(102,187,255,.1)}.markdown .book-hint.warning{border-color:#fd6;background-color:rgba(255,221,102,.1)}.markdown .book-hint.danger{border-color:#f66;background-color:rgba(255,102,102,.1)} \ No newline at end of file diff --git a/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.json b/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.json index 133fddf..8325563 100644 --- a/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.json +++ b/docs/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.json @@ -1 +1 @@ -{"Target":"book.min.a22f4c7d8c2bdc5e3d6e34ba11cb59ab50ea5772594e71305bfd5a595dc78b7e.css","MediaType":"text/css","Data":{"Integrity":"sha256-oi9MfYwr3F49bjS6EctZq1DqV3JZTnEwW/1aWV3Hi34="}} \ No newline at end of file +{"Target":"book.min.a643d39733d3a0ac48d6369128a52703207c5e11a74c3a70cfebfe0c15838ab8.css","MediaType":"text/css","Data":{"Integrity":"sha256-pkPTlzPToKxI1jaRKKUnAyB8XhGnTDpwz+v+DBWDirg="}} \ No newline at end of file