diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000000000000000000000000000000000000..a42122cbbc31b7cdbfab6d4ffc5d4772c93f7e75 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,116 @@ +name: Bug 反馈 +description: 报告问题以帮助我们改进 +title: "[Bug]:" +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + 感谢对项目的支持与关注。在提出问题之前,请确保你已查看相关开发或使用文档: + - https://ccsimple.gitee.io/sv-print-docs/config/start.html + - https://mp.weixin.qq.com/mp/appmsgalbum?action=getalbum&album_id=2779135389654630403 + - type: dropdown + id: versiontag + attributes: + label: 使用的版本 + description: 请告诉我们你使用的是哪个版本 + options: + - latest + - beta + validations: + required: true + - type: input + id: version + attributes: + label: 版本号 + description: 如果你准确知道你的版本号,请告诉我们 + - type: dropdown + id: installtype + attributes: + label: 你的安装方式 + description: 请告诉我们你是如何安装使用的 + options: + - NPM 依赖 + - 下载源码 融合 + - CDN 引入 + - 其他 + validations: + required: true + - type: dropdown + id: os + attributes: + label: 你的操作系统 + description: 请告诉我们你使用的是哪个操作系统 + options: + - Windows + - MacOS + - Linux + - 其他 + validations: + required: true + - type: dropdown + id: browser + attributes: + label: 你的浏览器 + description: 请告诉我们你使用的是哪个浏览器 + options: + - Chrome + - Firefox + - Safari + - Edge + - 其他 + validations: + required: true + - type: dropdown + id: language + attributes: + label: 你的项目编程语言 + description: 请告诉我们你使用的是哪个编程语言 + options: + - Vue 2 + - Vue 3 + - React + - Angular + - 原生 HTML + - 其他 + - type: textarea + attributes: + label: 问题描述 + description: 清晰而简洁地描述您遇到的问题。 + validations: + required: true + - type: textarea + attributes: + label: 如何复现 + description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + attributes: + label: 预期结果 + description: 请告诉我们你预期会发生什么。 + validations: + required: true + - type: textarea + attributes: + label: 实际结果 + description: 请告诉我们实际发生了什么。 + validations: + required: true + - type: textarea + attributes: + label: 截图或视频 + description: 如果可以的话,上传任何关于 bug 的截图。 + value: | + [在这里上传图片] + - type: checkboxes + attributes: + label: 这个问题是否已经存在? + options: + - label: 我已经搜索过现有的问题 (https://github.com/CcSimple/vue-plugin-hiprint/issues) + required: true + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000000000000000000000000000000000..ec4bb386bcf8a4946923eff961cc7cdf70c0aedf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000000000000000000000000000000000000..f7dab3cc1504d1b287b524f6f211cbe8c6ce4584 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,43 @@ +name: 功能建议 +description: 对本项目提出一个功能建议 +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + 感谢提出功能建议,我们将仔细考虑! + - type: textarea + id: related-problem + attributes: + label: 你的功能建议是否和某个问题相关? + description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 + validations: + required: false + - type: textarea + id: desired-solution + attributes: + label: 你希望看到什么解决方案? + description: 清晰并简洁地描述你希望发生的事情。 + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: 你考虑过哪些替代方案? + description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: 你有其他上下文或截图吗? + description: 在此处添加有关功能请求的任何其他上下文或截图。 + validations: + required: false + - type: checkboxes + attributes: + label: 意向参与贡献 + options: + - label: 我有意向参与具体功能的开发实现并将代码贡献回到上游社区 + required: false \ No newline at end of file diff --git a/.github/workflows/deploy-demo-beta.yml b/.github/workflows/deploy-demo-beta.yml new file mode 100644 index 0000000000000000000000000000000000000000..2f271c9f94c2d4131f10bcbe5b9d13a4725450d1 --- /dev/null +++ b/.github/workflows/deploy-demo-beta.yml @@ -0,0 +1,108 @@ +name: 部署demo-beta + +on: + push: + tags-ignore: + - 0.* + branches: + - main + +jobs: + deploy-beta-gh-pages: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: check args + run: | + echo "${{ github.event }}" + echo "${{ github.event_path }}" + echo "${{ github.workflow }}" + echo "${{ github.job }}" + echo "${{ github.run_id }}" + echo "${{ github.repository }}" + echo "${{ github.repository_owner }}" + echo "${{ github.ref }}" + + - name: check diff + id: check_diff + uses: technote-space/get-diff-action@v6 + with: + PATTERNS: | + src/hiprint/** + + - name: check diff2 + id: check_diff2 + uses: technote-space/get-diff-action@v6 + with: + PATTERNS: | + src/demo/** + public/** + + - name: 设置 Node.js + if: ${{ steps.check_diff.outputs.diff || steps.check_diff2.outputs.diff }} + uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: 'https://registry.npmjs.org' + + - name: 安装依赖 + if: ${{ steps.check_diff.outputs.diff || steps.check_diff2.outputs.diff }} + run: | + echo "${{ github.ref }}" + npm install + + - name: up-version + if: ${{ steps.check_diff.outputs.diff && !startsWith(github.ref, 'refs/tags/0.') }} + run: | + git config --local user.email "840054486@qq.com" + git config --local user.name "github-actions[bot]" + npm run up-version + + - name: push beta changes + if: ${{ steps.check_diff.outputs.diff && !startsWith(github.ref, 'refs/tags/0.') }} + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} + + - name: pubBeta + if: ${{ steps.check_diff.outputs.diff && !startsWith(github.ref, 'refs/tags/0.') }} + run: npm run pub-beta + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: 构建demo + if: ${{ steps.check_diff.outputs.diff || steps.check_diff2.outputs.diff }} + env: + NODE_OPTIONS: --max_old_space_size=8192 + run: |- + npm run build-demo + > demo/.nojekyll + + - name: githubPage + if: ${{ steps.check_diff.outputs.diff || steps.check_diff2.outputs.diff }} + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: demo + + - name: gitee同步 + uses: wearerequired/git-mirror-action@master + env: + SSH_PRIVATE_KEY: ${{ secrets.GITEE_KEY }} + with: + source-repo: git@github.com:CcSimple/vue-plugin-hiprint.git + destination-repo: git@gitee.com:CcSimple/vue-plugin-hiprint.git + + - name: giteePages + if: ${{ steps.check_diff.outputs.diff || steps.check_diff2.outputs.diff }} + uses: yanglbme/gitee-pages-action@master + with: + gitee-username: CcSimple + gitee-password: ${{ secrets.GITEE_PASSWORD }} + gitee-repo: CcSimple/vue-plugin-hiprint + branch: gh-pages diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml new file mode 100644 index 0000000000000000000000000000000000000000..be1e8c548d5458c3490f540339715e7466d9eb90 --- /dev/null +++ b/.github/workflows/deploy-demo.yml @@ -0,0 +1,65 @@ +name: 部署demo + +on: + push: + tags: + - 0.* + +jobs: + deploy-gh-pages: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: check args + run: | + echo "${{ github.event }}" + echo "${{ github.event_path }}" + echo "${{ github.workflow }}" + echo "${{ github.job }}" + echo "${{ github.run_id }}" + echo "${{ github.repository }}" + echo "${{ github.repository_owner }}" + echo "${{ github.ref }}" + + - name: 设置 Node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: 'https://registry.npmjs.org' + + - name: 安装依赖 + run: | + echo "${{ github.ref }}" + npm install + + - name: new-version + if: ${{ startsWith(github.ref, 'refs/tags/0.') }} + run: | + git config --local user.email "840054486@qq.com" + git config --local user.name "github-actions[bot]" + npm run up-version newVersion + + - name: push new changes + if: ${{ startsWith(github.ref, 'refs/tags/0.') }} + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: main + + - name: pubNew + if: ${{ startsWith(github.ref, 'refs/tags/0.') }} + run: npm run pub + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: gitee同步 + uses: wearerequired/git-mirror-action@master + env: + SSH_PRIVATE_KEY: ${{ secrets.GITEE_KEY }} + with: + source-repo: git@github.com:CcSimple/vue-plugin-hiprint.git + destination-repo: git@gitee.com:CcSimple/vue-plugin-hiprint.git diff --git a/.gitignore b/.gitignore index b9a1ad1bb8d4040c985c226e47251056fb72dbcd..c500d5d5a34e6ab249d15af65c4efe0b65433858 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .DS_Store node_modules/ dist/ +.history/ npm-debug.log yarn-error.log @@ -14,3 +15,4 @@ yarn-error.log .babelrc .editorconfig package-lock.json +yarn.lock diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..674525f6d5d9bcf5cc59622be0f0da17a7fffa91 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,1409 @@ +版本及更新记录 +------------------------------ +### 💐️ GitHub 提交 PR 合并后可自动发布到 npm 仓库; +### 💐 同时自动更新 GitHub Pages 同步 Gitee; +### 💐 感谢各位贡献者的支持。 🔥 + +## 0.0.57-beta20(2024-03-19) + +
+ 01. 🌈 新增支持 添加 barWidth、barAutoWidth 属性 + + > ❗️ 表格中的条码暂未添加这两个属性,待测试验证后在添加 + + 关于条码(barCode),无论是 text[textType='barcode'] 元素还是 0.0.56 新添加的 barCode 元素,一直都有人反馈存在扫码枪无法识别的问题,关于这一问题近期深入研究了一下,以下是对该问题出现原因的猜测: + + > 插件在使用 [JsBarcode](https://github.com/lindell/JsBarcode) 这个库生成条码时 [#L1972](https://github.com/CcSimple/vue-plugin-hiprint/blob/a3cdd93e6101c202bb55e23ce86028228d0687a3/src/hiprint/hiprint.bundle.js#L1972) 设置了 width 属性为 1,而生成的条码 svg 又宽度自适应为元素宽度,当元素宽度小于条码包所生成的 svg 宽度时,width 属性实际低于 1,导致扫码枪无法正常识别。 + + > 另外也有可能是元素、面板被设置了缩放,导致整体元素尺寸变小,导致条码单位宽度 width 小于 1。 + + > 浏览器打印预览的缩放也有可能导致这一问题的产生。 + + 所以为此我们添加了 barWidth、barAutoWidth 两个属性,旨在解决这一问题。 + + 1. 你可以通过设置 barWidth 以调整 text[textType='barcode'] 的单条宽度,以适应不同尺寸的需求(建议的值为 1)。 + + 2. 同时也可以通过设置 barAutoWidth 使条码在渲染时以 svg 提供的最小尺寸自动增加宽度。 + - 小于渲染最小尺寸时将自动增加宽度以保障扫码识别 + - 大于此尺寸时不进行任何操作 + - svg 最小尺寸与 barWidth 有密切关系 + + 另外以 [bwip-js](https://github.com/metafloor/bwip-js) 渲染的条码 barCode 元素不支持设置单条宽度,它接收元素 width、height 后会自动渲染,还提供了一个 scale 的参数,用于控制渲染比例(bwip-js对于width这块的描述看了几遍没看懂),为了方便也复用了 barWidth 这个属性,通过改变 barWidth 也能调整条码的识别成功率。 + + 写在最后: + 关于条码无法正确识别问题,以上猜测和添加的属性欢迎大家积极测试和讨论,如有不对的地方欢迎指正。 + +
+ +## 0.0.57-beta18(2024-03-09) + +
+ 01. 🌈 新增支持 获取打印机纸张信息 Beta ❗️ + + 当客户端运行在 window 系统环境时可以获取打印机纸张信息,你需要自行拉取最新客户端代码[electron-hiprint](https://github.com/CcSimple/electron-hiprint),自行构建最新版本(v1.0.10) + + > ❗️ node-hiprint-transit 中转暂未添加支持 + + ```js + // 获取指定打印机纸张信息 + hiprint.getPaperInfo(printerName); + // 获取所有打印机纸张信息 + hiprint.getPaperInfo(); + + // 获取纸张信息方法是异步请求的,没有返回值,你可以使用 hinnn.event.on("paperSizeInfo", () => {}) 监听数据返回 + hinnn.event.on("paperSizeInfo", (paperSize) => { + console.log(paperSize); + }); + // [ + // { + // "PrinterName": "Microsoft Print to PDF", + // "TaskNumber": 0, // 打印队列数 + // "Status": 0, // 设备状态码 + // "StatusMsg": "准备就绪(Ready)", // 设备状态信息 + // "PaperSizes": [ + // { + // "Height": 1100, // 单位 mm + // "Kind": 1, + // "PaperName": "信纸", + // "RawKind": 1, + // "Width": 850 // 单位 mm + // } + // ] + // } + // ] + ``` +
+ +## 0.0.57-beta17(2024-03-08) + +
+ 01. ✨ 调整优化 表格添加 colgroup 解决列宽跨页不齐问题 +
+
+ 02. ✨ 调整优化 表格分组头、脚格式化函数自动判断 tr、td 包裹 + 现在你可以直接 return content 内容、td(s) 字符串、tr(s) 字符串,插件将自动检测是否包裹 td、tr 标签,自动补全代码 +
+ +## 0.0.57-beta9 + +
+ 01. 🌈 新增支持 模版 控制元素是否可超出面板 + + ```js + new hiprint.PrintTemplate({ + template: panel, + willOutofBounds: true, // 是否允许组件内的控件超出范围 + }) + ``` +
+
+ 02. 🌈 新增支持 拖拽元素 生成 类 QT Designer 唯一 field + + ```js + new hiprint.PrintTemplate({ + template: panel, + qtDesigner: true, // 是否开启类似QT Designer的唯一field生成模式 + }) + ``` + ```json + { + "options": { + // ... 省略其他属性 ... + "field": "textType", + "title": "单据类型", + "qid": "textType_1", // 唯一 id + // ... 省略其他属性 ... + }, + "printElementType": { + "title": "单据类型", + "type": "text" + } + } + ``` +
+
+ 03. ✨ 调整优化 bwip 条码、二维码 填充色统一 + + > 设置移入 样式面板 => "条码颜色" + + ```json + { + "options": { + "barColor": "#000", // 条码、二维码 填充颜色 + } + } + ``` +
+
+ 04. 🐛️ fix 面板缩放后 框选框不跟鼠标问题 +
+ +## 0.0.57-beta8 +
+ 01. 🌈 新增支持 添加全选 api + + ```js + const template = new hiprint.PrintTemplate({ + template: panel, + }) + + template.selectAllElements() + ``` +
+ +## 0.0.57-beta3 +
+ 01. 🌈 新增支持 近期社区 pr 部分中文 i18n 机翻 +
+
+ 02. ✨ 调整优化 条形码、二维码,增强条形码、二维码优化 + + 1. 基础条形码 标题 改为在元素容器内显示 + 2. 基础二维码 添加 标题 + 3. 增强条形码、二维码 标题 改为在元素容器内显示 + 4. 优化增强二维码始终显示为正方形,防止变形 + 5. 增强二维码添加 eclevel(容错率) 设置 + 6. 优化 resize 控制点 +
+
+ 03. 🐛️ fix 修复表格空间不够分页显示错误信息无法正确i18n显示问题 +
+ +## 0.0.56 (2023-11-19) +> 使用此版本 请更新最新的 print-lock.css + +- 点击 ▶ 可查看详情 + +
+ 01. 🌈 新增支持 条形码、二维码独立元素,使用 bwip-js 库生成 svg + + - 解决原 text 元素中的条形码、二维码 类型不全,生成条码、二维码不清晰的问题 +
+
+ 02. 🌈 新增支持 元素参数 国际化 i18n + + - 原生为简体中文,英语、德语、西班牙语、法语、意大利语、日语、俄语、繁体中文皆为 AI 机翻,欢迎帮助 [订正](https://github.com/CcSimple/vue-plugin-hiprint/tree/main/src/i18n)。 + +```js +hiprint.init({ + lang: 'en', // 设置语言 ['cn', 'en', 'de', 'es', 'fr', 'it', 'ja', 'ru', 'cn_tw'] +}); +``` +
+
+ 03. 🌈 新增支持 中转服务 node-hiprint-transit + +[中转服务 node-hiprint-transit](https://github.com/Xavier9896/node-hiprint-transit) + + ```js + import { hiprint } from 'vue-plugin-hiprint' + + hiprint.init({ + host: 'https://printjs.cn:17521', // 此处输入服务启动后的地址 + token: 'vue-plugin-hiprint', // 用于鉴权的token + }); + + // or + + hiwebSocket.setHost("https://printjs.cn:17521", "vue-plugin-hiprint") + + console.log(hiwebSocket.clients, hiwebSocket.printerList) + + // 中转服务专有的 api,可获取所有连接中转服务的客户端 v1.0.7 + hiprint.getClients() + hiwebSocket.getClients() + // 监听数据返回 + hinnn.event.on("clientInfo", (clients) => { + console.log(clients); + }); + ``` +详情转至 [文档说明](./README.md#使用-中转服务-node-hiprint-transit-实现代理) +
+
+ 04. 🌈 新增支持 客户端信息获取(需客户端^1.0.7) + +原本你可以通过 hiprint.getAddress 或 hiwebSocket.getAddress 获取客户端的 ip、ipv6、mac、dns、all、interface、vboxnext 信息,但是需要你主动调用方法去获取。 + +在 v1.0.7 中我们仍然保留该方式,但移除了用处不大的 dns、interface、vboxnext 类型,同时在连接成功后自动返回客户端 clientInfo 信息 + +```js +// 手动获取方法 +hiprint.getClientInfo() +// or +hiwebSocket.getClientInfo() + +// 监听数据返回 +hinnn.event.on("clientInfo", (clientInfo) => { + console.log(clientInfo); +}); + +console.log(hiwebSocket.clientInfo) +{ + arch: "x64", + clientUrl: "http://192.168.0.2:17521", + ip: "192.168.0.2", + ipv6: "fe80::13f:eb0f:e426:7c92", + mac: "a1:a2:a3:a4:a5:a6", + machineId: "12c90ff9-b9f4-4178-9099-9dd326b70c2e", + platform: "win32", + printerList: [{ + description: "", + displayName: "Microsoft Print to PDF", + isDefault: true, + name: "Microsoft Print to PDF", + options: {, + "printer-location": "", + "printer-make-and-model": "Microsoft Print To PDF", + "system_driverinfo": "Microsoft Print To PDF;10.0.19041.3570 (WinBuild.160101.0800);Microsoft® Windows® Operating System;10.0.19041.3570" + }, + status: 0 + }, {…}, {…}, {…}, {…}, {…}], + version: "1.0.7", +} +``` +
+
+ 05. 🌈 新增支持 底部聚合格式化函数 tableSummaryFormatter +
+
+ 06. 🌈 新增支持 表格支持设置测试数据 设计时可设置模拟数据 +
+
+ 07. ✨ 调整优化 分组表格头/脚函数 返回更多参数,不再局限于td标签内 +
+
+ 08. 🐛️ fix 表格最后列(多行表头时) 左边框不显示问题 +
+
+ 09. 🐛️ fix 修复表格脚计数 将分组头、脚 计算入内的bug +
+
+ 10. 🐛️ fix 表格脚设置最后显示,前面分页的页脚位置占位空白 +
+
+ 11. 🐛️ fix 参数字体大小问题、标尺img max-width 问题(样式问题) +
+
+ 12. 🐛️ fix 参数栏删除按钮未触发数据更新问题 +
+
+ 13. 🐛️ fix 更新多面板模板时, 其他面板点击元素 属性渲染问题 +
+
+ 14. 🐛️ fix 更新模板json 水印未更新的 bug +
+
+ 15. 🐛️ fix 表格合并列后无法自动撑满整个表格容器 +
+
+ 16. 🐛️ fix 空白表格 卡死bug +
+ +## 0.0.55-beta14 +
+ 01. 🌈 新增支持 中转服务 node-hiprint-transit + + [中转服务 node-hiprint-transit](https://github.com/Xavier9896/node-hiprint-transit) + + ```js + import { hiprint } from 'vue-plugin-hiprint' + + hiprint.init({ + host: 'https://printjs.cn:17521', // 此处输入服务启动后的地址 + token: 'vue-plugin-hiprint', // 用于鉴权的token + }); + + // or + + hiwebSocket.setHost("https://printjs.cn:17521", "vue-plugin-hiprint") + + console.log(hiwebSocket.clients, hiwebSocket.printerList) + + // 中转服务专有的 api,可获取所有连接中转服务的客户端 v1.0.7 + hiprint.getClients() + hiwebSocket.getClients() + ``` + 详情转至 [文档说明](./README.md#使用-中转服务-node-hiprint-transit-实现代理) +
+
+ 02. 🌈 新增支持 客户端信息获取 + +原本你可以通过 hiprint.getAddress 或 hiwebSocket.getAddress 获取客户端的 ip、ipv6、mac、dns、all、interface、vboxnext 信息,但是需要你主动调用方法去获取。 + +在 v1.0.7 中我们仍然保留该方式,但移除了用处不大的 dns、interface、vboxnext 类型,同时在连接成功后自动返回客户端 clientInfo 信息 + +```js +// 手动获取方法 +hiprint.getClientInfo() +// or +hiwebSocket.getClientInfo() +``` +```js +console.log(hiwebSocket.clientInfo) + +{ + arch: "x64", + clientUrl: "http://192.168.0.2:17521", + ip: "192.168.0.2", + ipv6: "fe80::13f:eb0f:e426:7c92", + mac: "a1:a2:a3:a4:a5:a6", + machineId: "12c90ff9-b9f4-4178-9099-9dd326b70c2e", + platform: "win32", + printerList: [{ + description: "", + displayName: "Microsoft Print to PDF", + isDefault: true, + name: "Microsoft Print to PDF", + options: {, + "printer-location": "", + "printer-make-and-model": "Microsoft Print To PDF", + "system_driverinfo": "Microsoft Print To PDF;10.0.19041.3570 (WinBuild.160101.0800);Microsoft® Windows® Operating System;10.0.19041.3570" + }, + status: 0 + }, {…}, {…}, {…}, {…}, {…}], + version: "1.0.7", +} +``` +
+ +## 0.0.55-beta8(2023-09-12) +
+ 01. 🌈 新增支持 国际化 i18n + +原生为简体中文,英语、德语、西班牙语、法语、意大利语、日语、俄语、繁体中文皆为 AI 机翻,欢迎帮助 [订正](https://github.com/CcSimple/vue-plugin-hiprint/tree/main/src/i18n)。 + +```js +hiprint.init({ + lang: 'en', // 设置语言 ['cn', 'en', 'de', 'es', 'fr', 'it', 'ja', 'ru', 'cn_tw'] +}); +``` +
+ +## 0.0.55-beta5(2023-09-06) +
+ 01. ✨ 调整优化 与打印服务链接添加 token 可选项 +该功能需要 v1.0.7 之后的 客户端(electron-hiprint) 配合使用 + +```js +// 无需自定义 token +hiprint.hiwebSocket.setHost('http://localhost:17521',(connected, e) => { + console.log('connected', connected); + console.log('e', e); +}) + +// 添加自定义 token +hiprint.hiwebSocket.setHost('http://localhost:17521', 'token',(connected, e) => { + console.log('connected', connected); + console.log('e', e); +}) +``` +
+
+ 02. ✨ 调整优化 hiprint.init 初始化 可以传入 host 、token + +```js +hiprint.init({ + providers: [provider.f], + host: 'http://localhost:17521', // 可在此处设置连接地址与端口号 + token: 'token' // 可在此处设置连接 token +}); +``` +
+ +## 0.0.55-beta3(2023-08-16) +
+ 01. 🌈 新增支持 条形码、二维码独立元素,使用 bwip-js 库生成 svg +解决原 text 元素中的条形码、二维码 类型不全,生成条码、二维码不清晰的问题 +
+ +## 0.0.54 (2023-07-05) +**⚠️⚠️⚠️ 破坏性更新 Breaking changes** +> ⚠️ 使用此版本 请更新最新的 print-lock.css +
+ 01. 🌈 新增支持 文本换行参数(不换行、隐藏、省略) +
+
+ 02. 🌈 新增支持 多面板/批量打印 页码续排/重排 选项 +
+
+ 03. 🌈 新增支持 多面板选中回调 onSelectPanel 使用场景:当选择回调的时候刷新相关界面设置。 + +```javascript +hinnn.event.clear("onSelectPanel"); +hinnn.event.on("onSelectPanel", (panel, index, li) => { + console.log("onSelectPanel", panel, index, li); +}); +``` +
+
+ 04. ✨ 调整优化 toPdf 支持导出 指定类型(blob、bloburi、dataurl等)见 demo 示例 +
+
+ 05. ✨ 调整优化 当表格某一行数据超出最大分页高度时, 无限循环卡死问题(同时给出提示) +
+
+ 06. ✨ 调整优化 行/列合并函数 回调新增 tableData, printData +
+
+ 07. ✨ 调整优化 表格表头 边框参数 +
+
+ 08. ✨ 调整优化 旋转角度, input类型为number +
+
+ 09. ✨ 调整优化 文本 上下对齐 参数(改用 grid 实现) +
+
+ 10. ✨ 调整优化 图片元素 显示 隐藏规则 参数 +
+
+ 11. 🐛️ fix 缩放后 撤销/重做 再点击元素位置跳动问题 +
+
+ 12. 🐛️ fix setConfig 参数不生效 bug +
+
+ 13. 🐛️ fix 聚合函数 最大/小值 显示 Infinity 问题 +
+ +## 0.0.52 (2023-05-08) +
+ 1. 🌈 新增支持 表格设置"每页最大行数"功能 +
+
+ 2. 🌈 新增支持 双击"格式化函数"等, 填充placeholder +
+
+ 3. 🌈 新增支持 "底部聚合合并列数"参数,实现自定义合并列 +
+
+ 4. ✨ 调整优化 分页规则:不分页时, 移除thead,tfoot. 直接插入到tbody +
+
+ 5. ✨ 调整优化 默认provider 新增defaultModule.emptyTable +
+
+ 6. 🐛️ fix 框选框 点击时跳位的问题 +
+
+ 7. 🐛️ fix updateElementType 错误 +
+
+ 8. 🐛️ fix 设计时 清空水印内容 水印未销毁问题 +
+
+ 9. 🐛️ fix 行/列合并函数 placeholder 错误 +
+
+ 10. 🐛️ fix provider 配置表格列,样式函数等参数是函数时,默认getJson未返回其值的问题 +
+ +## 0.0.50 (2023-03-31) +
+ 1. 🌈️ 新增支持 水印功能 + +```javascript +let json = { + panels:[ + // 面板设置 水印参数 + // 更多参数可查看本项目 src/hiprint/plugins/watermark.js + "watermarkOptions": { + "content": "vue-plugin-hiprint", + "rotate": 25, + "timestamp": true, + "format": "YYYY-MM-DD HH:mm" + }, + ] +} +``` +
+
+ 2. ✨ 调整优化 多行表头字段渲染问题 +
+
+ 3. ✨ 调整优化 表头合并问题 +
+
+ 4. ✨ 调整优化 表格列 部分参数返回默认值问题(getJson不需要返回的值) +
+
+ 5. ✨ 调整优化 支持撤销重做 调整表头/调整列字段 操作 +
+
+ 6. ✨ 调整优化 "行/列合并函数" 添加"rowIndex" 行下标回调 +
+
+ 7. 🐛️ fix 当有"行/列合并函数" 设置表体行高无效问题 +
+
+ 8. 🐛️ fix "行/列合并函数" 分页列缺少/塌陷问题 并支持设置 分页是否清除合并内容 +
+
+ 9. 🐛️ fix tableColumn 参数多次提交问题 +
+ +## 0.0.48 (2023-03-09) +
+ 1. ✨ 调整优化 setHost 支持回调 + +```javascript +hiprint.hiwebSocket.setHost('http://localhost:17521',(connected, e) => { + console.log('connected', connected); + console.log('e', e); +}) +``` +
+
+ 2. ✨ 调整优化 参数 draggable:false 时,不显示删除按钮 +
+
+ 3. ✨ 调整优化 design 网格线支持多面板 +
+
+ 4. 🐛️ fix 竖线无法旋转 bug +
+
+ 5. 🐛️ fix hiprint.init error +
+ +## 0.0.46 (2023-02-23) +
+ 01. 🌈️ 新增支持 多面板名称自定义功能(创建模板添加 "onPanelAddClick" 和 "defaultPanelName" 属性) + +```javascript +let hiprintTemplate = new hiprint.PrintTemplate({ + template: {}, + settingContainer: '#PrintElementOptionSetting', + paginationContainer: '.hiprint-printPagination', + defaultPanelName: '默认面板名称', // 默认面板名称(当面板没有 name 属性时) + onPanelAddClick: (panel, createPanel) => { + // 修改名称, 可以弹出输入框, 也可以直接修改 + panel.name = '新面板' + (panel.index+1); + // 记得 调用 createPanel 创建面板 + createPanel(panel); + }, +}); +``` +
+
+ 02. 🌈️ 新增支持 吸附线功能 && 优化调整吸附功能 支持设置 吸附阈值等 adsorbMin、showAdsorbLine、adsorbLineMin + +```javascript +hiprint.setConfig({ + adsorbMin: 3, //吸附最小距离pt + showAdsorbLine: true, //显示吸附线 + adsorbLineMin: 6, //吸附线显示最小距离pt +}) +``` +
+
+ 03. 🌈️ 新增支持 table 分组字段函数 和 分组头/脚格式化函数 + +```javascript +{ + options: { + // 分组统计字段 + groupFieldsFormatter: function(groupData,options) { + return ["name"]; + } + // 分组表头 + groupFormatter: function(groupData,options) { + return ''; + } + // 分组表脚 + groupFooterFormatter: function(groupData,options) { + return ''; + } + } +} +``` +
+
+ 04. 🌈️ 新增支持 design 显示网格 -> design('#id',{ grid: true }) + +```javascript +let hiprintTemplate = new hiprint.PrintTemplate({ + template: {}, + settingContainer: '#PrintElementOptionSetting', +}); +hiprintTemplate.design('#id',{ grid: true }); +``` +
+
+ 05. 🌈️ 新增支持 模板获取测试数据Api getTestData +
+
+ 06. 🌈 新增支持 表格列 表格头样式函数 @PromiseAll +
+
+ 07. ✨ 调整优化 update功能,支持更新多面板,并选中默认面板 eg: update({},1) +
+
+ 08. ✨ 调整优化 更改纸张大小时,按比例设置页脚线高度 +
+
+ 09. ✨ 调整优化 双击编辑文本时 hover 显示问题 +
+
+ 10. ✨ 调整优化 多面板 样式美化 +
+
+ 11. 🐛️ fix 多表格 并排问题 +
+
+ 12. 🐛️ fix 页眉线/页尾线 宽度问题 +
+
+ 13. 🐛️ fix 多选元素 拖拽未选中元素 bug +
+
+ 14. 🐛️ fix 元素旋转 缩放后 点击跳动问题 +
+
+ 15. 🐛️ fix 框选时遇hover停滞问题 +
+
+ 16. 🐛️ fix 其他一些已知小bug +
+ +## 0.0.44 (2023-01-18) +
+ 1. 🌈️ 选中元素新增删除按钮 +
+
+ 2. ✨ 调整优化 页码格式 支持 ${paperNo+1} 增量页码 +
+
+ 3. ✨ 调整优化 新拖拽元素宽高大小显示 +
+
+ 4. ✨ 调整优化 hover元素时显示删除按钮及宽高大小 +
+
+ 5. ✨ 调整优化 当图片元素没设置宽高时,获取宽高大小 +
+
+ 6. ✨ 调整优化 常见错误 Error 中文提示; 如 tableCustom +
+
+ 7. 🐛️ fix 框选后 getSelectEls 无法获取选中元素 bug +
+
+ 8. 🐛️ fix table 设置表体行高 自动填充 bug +
+ +## 0.0.40 (2022-12-26) +
+ 1. 🌈️ 新增支持 文本、表格聚合添加「转大小写」功能 同时提供 hinnn.toUpperCase 方法 + +```javascript +hinnn.toUpperCase('0',10.8) // 十点八 +hinnn.toUpperCase('5',10.8) // 人民币壹拾元捌角 +hinnn.toUpperCase('7',10.8) // 壹拾元捌角零分 +``` +
+
+ 2. 🌈️ 新增 表格列"单元格渲染函数"实现自定义单元格内容 + +```javascript +// eg: 自定义渲染进度条样式 +function(value,row,index,options) { + return ``; +} +``` +
+
+ 3. ✨ 调整优化 放大/缩小时拖拽元素偏移问题, 缩放后拖拽不进设计器的问题 +
+
+ 4. ✨ 调整优化 table列 编辑相关问题 +
+
+ 5. 🐛️ fix 表格"自动补全"导致底部元素重叠bug +
+
+ 6. 🐛️ fix 'table' 默认可编辑,插入 bug +
+ +## 0.0.38 (2022-10-29) +
+ 1. 🌈️ 新增支持 设置 table列 底部聚合文本(tableSummaryText: '自定义文本) +
+
+ 2. 🌈️ 新增支持 设置 table列 底部聚合类型左右对齐方式(tableSummaryAlign: 'left/center/right') +
+
+ 3. 🌈️ 新增支持 设置 table列 底部聚合小数位(tableSummaryNumFormat: '0/1/2/3/4/5/6') +
+
+ 4. 🌈️ 新增支持 编辑查看 table "空白列" +
+
+ 5. ✨ 调整优化 table【多行表头合并】导致"数据错位"及"底部聚合函数"问题 +
+
+ 6. ✨ 调整优化 table ⚠️ options: "fields"(列字段列表) "tableFields"(表格字段列表) +
+
+ 7. ✨ 调整优化 table列 底部聚合类型(tableSummary) 支持 text (仅显示设置的文本) +
+
+ 8. 🐛️ fix 模板内"多表格"分页/卡死问题 +
+
+ 9. 🐛️ fix 一些已知bug (点击看详情) + +``` +1.fix toPdf options isDownload bug (toPdf 传3个参数时未正常导出pdf问题) +2.fix size-box font-family bug +3.fix 多行表头编辑bug +4.fix table 卡死问题(模板内"多表格"分页问题) +5.fix table tableSummaryTitle(底部聚合标题) 参数bug +``` +
+ +## 0.0.36-fix (2022-10-11) +
+ 1. 🐛️ fix webpack/vue2.x npm 引入错误 +
+ +## 0.0.36 (2022-10-10) +**⚠️⚠️⚠️ 破坏性更新 Breaking changes** +
+ 1. ⚠️ 移除 'tableCustom' 元素 'table' 默认可编辑,插入 +
+
+ 2. 🐛 fix 辅助元素 错位问题 +
+
+ 3. ✨ 调整优化 支持 cdn 引入 (非vue环境也可正常使用) + +```html + + + + + + + + + + + + + + + + + + + + + + + +``` +
+ +## ~~0.0.35 (2022-10-10) beta版~~ +
+ 1. ⚠️ 移除 'tableCustom' 元素 'table' 默认可编辑,插入 +
+ +## ~~0.0.34-fix (2022-10-10)~~ +
+ 1. 🐛 fix 辅助元素 错位问题 +
+
+ 2. ✨ 调整优化 支持 cdn 引入 (非vue环境也可正常使用) + +```html + + + + + + + + + + + + + + + + + + + +``` +
+ +## 0.0.32-fix (2022-09-29) +
+ 1. 🐛 fix 双击编辑后 拖拽/选中 系列bug +
+
+ 2. 🐛 fix 双击编辑 回车/点击其他元素/面板 确认编辑的bug +
+ +## 0.0.32 (2022-09-28) +
+ 1. 🌈 新增支持 双击编辑 text 元素 +
+
+ 2. 🌈 新增 列参数: tableSummaryTitle 设置是否显示聚合函数标题 +
+
+ 3. 🌈 新增 参数: pageBreak 强制分页(让元素下一页开始打印) +
+
+ 4. 🐛 fix 旋转后 拖拽 边界限制 bug +
+
+ 5. 🐛 fix 表格 "一行多组" bug +
+ +## 0.0.30 (2022-09-01) +
+ 1. 🌈 新增支持 选择图片后根据原始宽高自定义调整元素宽高 + +```javascript +hiprintTemplate = new hiprint.PrintTemplate({ + onImageChooseClick: (target) => { + // 测试 3秒后修改图片地址值 + setTimeout(() => { + // target.refresh(url,options,callback) + // 自定义处理 + // target.refresh(url,false,(el,width,height)=>{ + // el.options.width = width; + // el.designTarget.css('width', width + "pt"); + // el.designTarget.children('.resize-panel').trigger($.Event('click')); + // }) + target.refresh("https://portrait.gitee.com/uploads/avatars/user/1800/5400665_CcSimple_1591166830.png!avatar200", { + // auto: true, // 根据图片宽高自动等比(宽>高?width:height) + // width: true, // 按宽调整高 + // height: true, // 按高调整宽 + real: true // 根据图片实际尺寸调整(转pt) + }) + }, 3000) + } +}) +``` +
+
+ 2. ✨ 调整优化 页脚线/页眉线时相互超过时 进行偏移处理 +
+
+ 3. ✨ 调整优化 页眉/页脚过近,表格分页卡死情况(无法正常分页计算) +
+
+ 4. 🐛 fix 表格分页高度问题(未计算表格脚高度) +
+
+ 5. 🐛 fix 表格脚"最后显示"及"底部聚合类型"问题 +
+
+ 6. 🐛 fix 表格头仅首页显示/不显示时 列宽拖拽调整问题 +
+ +## 0.0.28 (2022-08-08) +
+ 1. 🐛 socket.io-client 更新到 4.x +
+
+ 2. 🐛 fix 打印预览(getHtml) 页码可拖拽问题 +
+
+ 3. 🐛 fix 模板不分页时, table design时模板高度问题 +
+
+ 4. 🐛 fix 分页后辅助元素错位问题 +
+
+ 5. 🐛 fix getJson 隐藏列未返回问题 +
+
+ 6. 🐛 fix 表格脚函数'最后显示'无效问题 +
+
+ 7. ✨ 调整优化 样式引入问题(当没有print-lock.css情况现默认空样式) +
+
+ 8. ✨ 调整优化 页眉线问题(小于0时分页显示问题) +
+
+ 9. 🐛 fix 新插入列,选择字段后,'列属性' 空白问题 +
+ +## 0.0.26 (2022-07-07) +
+ 1. 🌈 新增支持参数面板tabs分组(默认已分组支持自定义分组) + +```javascript +hiprint.setConfig({ + text: { + tabs: [ + // 隐藏部分 (根据已有分组顺序来) + { + name: '测试', options: [ + { + name: 'title', + hidden: false + }, + { + name: 'field', + hidden: true + }, + ] + }, + ], + }, + image: { + tabs: [ + { + // 整体替换 及当前选项卡 按新参数设定 + replace: true, + name: '基本', options: [ + { + name: 'field', + hidden: false + }, + { + name: 'src', + hidden: false + }, + { + name: 'fit', + hidden: false + } + ] + }, + ], + } +}); +``` +
+
+ 2. 🌈 新增支持拖拽元素 "吸附 / 对齐" 功能 + +
+
+ 3. 🌈 新增Api获取选中元素 "getSelectEls" (框选/按住ctrl/command多选) + +```javascript +// 单选时 返回 [e] +let els = hiprintTemplate.getSelectEls(); +console.log(els) +``` +
+
+ 4. 🌈 新增Api更新选中元素参数 "updateOption" + +```javascript +// 更新当前选中元素字体为 12pt +hiprintTemplate.updateOption('fontSize', 12); +// 更新当前选中元素字体粗细为 bolder +hiprintTemplate.updateOption('fontWeight', 'bolder'); +``` +
+
+ 5. 🌈 新增Api IPP打印(需客户端1.0.4及以上) "ippPrint","ippRequest" + +```javascript +/** + * 通过IPP 可以调用打印机所提供的功能 + * 如:创建打印任务,取消打印任务,通过uri打印文档等等 (需要打印机支持) + * 详见 IPP: https://github.com/williamkapke/ipp + */ +// 不知道打印机 ipp 情况, 可通过 '客户端' 获取一下 +const printerList = hiprintTemplate.getPrinterList(); +console.log(printerList) +if (!printerList.length) return; +let p = printerList[0]; +console.log(p) +// 系统不同, 参数可能不同 +let url = p.options['printer-uri-supported']; +// 测试 打印文本 +hiprint.ippPrint({ + url: url, + // 打印机参数: {version,uri,charset,language} + opt: {}, + action: 'Print-Job', + // ipp参数 + message: { + "operation-attributes-tag": { + "requesting-user-name": "hiPrint", // 用户名 + "job-name": "ipp Test Job", // 任务名 + "document-format": "text/plain" // 文档类型 + }, + // data 需为 Buffer (客户端简单处理了string 转 Buffer), 支持设置 encoding + // data 需为 Buffer (客户端简单处理了string 转 Buffer), 支持设置 encoding + // data 需为 Buffer (客户端简单处理了string 转 Buffer), 支持设置 encoding + // 其他 Uint8Array/ArrayBuffer 默认仅 使用 Buffer.from(data) + // 其他 Uint8Array/ArrayBuffer 默认仅 使用 Buffer.from(data) + // 其他 Uint8Array/ArrayBuffer 默认仅 使用 Buffer.from(data) + // 其他 Uint8Array/ArrayBuffer 默认仅 使用 Buffer.from(data) + data: 'test test test test test test test', + encoding: 'utf-8' // 默认可不传 + } +}, (res) => { + // 执行的ipp 任务回调 / 错误回调 + console.log(res) +}, (printer) => { + // ipp连接成功 回调 打印机信息 + console.log(printer) +}) +``` +
+
+ 6. ✨ 调整优化"拖动方向"功能, 支持按住shift 横向拖动, shift+alt 竖向拖动 + +
+
+ 7. 🌈 新增支持添加自定义/重写参数 通过setConfig + +```javascript +hiprint.setConfig({ + optionItems: [ + // 自定义添加一个scale参数 (重写及定义一个已存在的name) + function () { + function t() { + // json模板 options 对应键值 + this.name = "scale"; + } + return t.prototype.css = function (t, e) { // t: 元素对象, e 参数值 + if (t && t.length) { + if (e) return t.css('transform', 'scale(' + e + ')'); + } + return null; + }, t.prototype.createTarget = function (t,i,e) { // t: 元素对象,i: 元素options, e: 元素printElementType + return this.target = $('
\n
\n 缩放\n
\n
\n \n
\n
'), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return parseFloat(t.toString()); + }, t.prototype.setValue = function (t) { // t: options 对应键的值 + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + ], + // 添加到 样式 tab 下的 transform 后面 + text: { + tabs: [ + { + name: '基础', options: [] + }, + { + name: '样式', options: [ + { + name: 'scale', + after: 'transform', // 自定义参数,插入在 transform 之后 + hidden: false + }, + ] + } + ] + } +}) +``` +
+
+ 8. 🌈 新增支持 二维码 "容错率" 参数 {L:1, M:0, Q:3, H:2} + +```javascript +// json模板中配置 +options: { + qrcodeLevel: 1 // {L:1, M:0, Q:3, H:2} +} +``` +
+
+ 8. 🐛 一些问题的修复及调整 + +``` +1. fix 不显示表头时,样式问题 +2. fix 元素参数(字体、字间距)对宽高大小框的影响 +3. fix printerList、address 回调越来越多的问题 +4. fix printSuccess、printError 回调越来越多的问题 +5. fix 多选元素 拖拽 辅助线 问题 +6. 调整优化 宽高大小/坐标位置 样式 (居中) +7. fix 表格列排序样式问题 +8. fix 部分参数设置未及时生效问题(左/右/下边框;上/下/右内边距) +``` +
+ +## 0.0.24 (2022-06-26) +
+ 1. 🌈 新增支持设置字体列表fontList + +```javascript +hiprintTemplate = new hiprint.PrintTemplate({ + ..., + // 自定义可选字体(本机已安装字体) + // 或者使用 hiprintTemplate.setFontList([]) + // 或元素中 options.fontList: [] + fontList: [ + {title:'微软雅黑',value:'Microsoft YaHei'}, + {title:'黑体',value:'STHeitiSC-Light'}, + {title:'思源黑体',value:'SourceHanSansCN-Normal'}, + {title:'王羲之书法体',value:'王羲之书法体'}, + {title:'宋体',value:'SimSun'}, + {title:'华为楷体',value:'STKaiti'}, + {title:'cursive',value:'cursive'}, + ], +``` +
+
+ 2. ✨ 调整优化横/竖线参数,虚线->长虚线、短虚线 + +``` +详见参数配置 +``` +
+
+ 3. 🐛 fix元素多时卡机的问题(hinnn.event导致) + +``` +元素多卡顿问题(hinnn.event导致) +``` +
+
+ 4. ✨ 调整优化部分样式问题,并支持重写(辅助线,始终隐藏元素)样式 + +``` +始终隐藏元素 重写 .alwaysHide css + +position/size-box的样式(层级及元素行高影响问题) + +/* 拖拽时元素辅助线 */ +.toplineOfPosition, .bottomlineOfPosition { + border: 0; + border-top: 1px dashed rgb(169, 169, 169); +} +.leftlineOfPosition, .rightlineOfPosition { + border: 0; + border-left: 1px dashed rgb(169, 169, 169); +} +``` +
+
+ 5. 🐛 ️fix优化表格列显示隐藏/列排序相关问题 + +``` +``` +
+
+ 6. ✨ 调整优化列选择/列宽调整的问题 + +``` +``` +
+
+ 7. 🌈 新增支持设置面板参数显示/隐藏 + +```javascript +hiprint.setConfig({ + movingDistance: 2.5, + panel: { + supportOptions: [ + { + name: 'firstPaperFooter', // 隐藏 首页页尾 + hidden: true + }, + { + name: 'evenPaperFooter', // 隐藏 偶数页页尾 + hidden: true + }, + ] + } +}) +``` +
+ +## 0.0.23 (2022-06-15) +
+ 1. 新增支持不打印功能 + +``` +设置元素 options.showInPage: 'none' 打印时不打印 +或在右侧参数 '显示规则' 下列选择 '始终隐藏' +``` +
+
+ 2. 新增刷新获取打印机列表api + +```javascript +// 连接上客户端时 获取最新打印机列表 +hiprint.refreshPrinterList((list)=>{ + console.log(list) +}) +``` +
+ +
+ 3. 新增获取IP、IPv6、MAC的api + +```javascript +// 连接上客户端时 获取MAC地址等 +/** + * 参数格式: + * 1. 类型(ip、ipv6、mac、dns、all、interface、vboxnet) + * 2. 回调 data => {addr, e} addr: 返回的数据 e:错误信息 + * 3. 其他参数 ...args + */ +hiprint.getAddress('mac',(data)=>{ + console.log('mac') + console.log(data) +}) +``` +
+ +
+ 4. 新增支持设置元素层级 + +``` +options.zIndex: 10 调整元素层级 +或在右侧参数 '元素层级' 中输入 10 +``` +
+ +
+ 5. 调整优化元素设置fields问题 + +``` +(原无法返回此fields列表,且需设置在元素的printElementType中) +设置元素字段名 options.fields: [{"text":'id',"field":'id'] +字段名将变成下列选择样式, getJson() 将返回此列表 +``` +
+ +
+ 6. 新增支持图片地址选择按钮 + +```javascript +hiprintTemplate = new hiprint.PrintTemplate({ + template: panel, + // 图片选择功能 + onImageChooseClick: (target) => { + // target.getValue() + // 测试 3秒后修改图片地址值 + setTimeout(()=>{ + target.refresh("url") + },3000) + }, + settingContainer: '#PrintElementOptionSetting', +}); +``` +
+ +
+ 7. 新增支持图片元素设置缩放格式fit + +``` +图片元素设置 options.bject-fix: fill|contain|cover|none +或右侧参数 '图片缩放' 下拉选择 +``` +
+ +
+ 8. 调整优化控制点等比缩放功能 + +``` +text元素修改为barcode/qrcode时调整控制按钮 +右下控制点拖动时等比缩放, 按住shift时可自由缩放 +``` +
+ +
+ 9. 调整优化元素框选功能 + +``` +从右侧参数栏快速从右往左选择时鼠标移动到design内时框选框的大小问题 +``` +
+ +## 0.0.23 (2022-06-15) 之前已调整优化部分 + +- [x] `vue 插件` 发布npm包,方便直接使用 +- [x] `Ant Design Vue demo` 默认拖拽设计、自定义设计、队列打印 +- [x] `优化删除元素功能` 支持 backSpace/delete 按键删除 +- [x] `优化拖动功能` 调整优化 不允许元素拖出窗口 按住ctrl/command允许拖出窗口外 +- [x] `优化框选功能` fix 原只能从上往下框选问题 +- [x] `支持修改默认直接打印主机` window.hiwebSocket.setHost("xxx:17521") +- [x] `print优化调整` 支持设置callback 见demo的preview.vue +- [x] `table/tableCustom优化调整` 支持设置options.fields 双击选择字段, +- [x] `table优化调整` 支持设置isEnableInsertColumn/isEnableDeleteColumn等参数,支持插入/删除列 +- [x] `table/tableCustom优化调整` 支持设置options.tableHeaderRepeat/tableFooterRepeat 表头/表脚显示模式 +- [x] `table优化调整` 支持设置 不显示表头 +- [x] `条形码优化调整` fix 条码格式错误的问题(EAN-13、ITF、UPC等) +- [x] `字段名优化调整` 元素的字段名(field) 支持嵌套(eg: a.b.c.d) +- [x] `新增支持不分页(小票打印)` 可设置不分页 table、longText处理 +- [x] `新增支持复制/粘贴` 支持 基本元素的ctrl+c/v(复制/粘贴) +- [x] `新增支持设置是否自动连接客户端` 支持 不自动连接'直接打印'客户端 +- [x] `新增支持表格设置列显示类型` 支持 设置表格列显示图片、二维码、条形码 +- [x] `调整优化表格列拖拽列宽限制` fix 设置旋转角度后 拖拽、跳动、辅助线相关问题 +- [x] `npm包新增提供Api打印方法` main.js引入时,Vue原型添加print、print2Api,方便直接打印 +- [x] `新增支持多选功能` 按住ctrl/command 多选元素 键盘/鼠标拖动 移动 +- [x] `调整优化元素设置旋转角度问题` fix 设置旋转角度后 拖拽、跳动、辅助线相关问题 +- [x] `新增支持元素拖拽旋转` 基本元素上新增旋转控制点,拖拽旋转、双击还原 +- [x] `调整优化标尺` 使用svg替换原图片标尺,让标尺更清晰 +- [x] `新增支持放大缩小功能` 提供模板新增zoom方法(transform:scale),放大缩小拖动不乱跳 +- [x] `调整优化以支持Vue3.x` 调整qrcode.js fix vite项目报错问题 +- [x] `元素添加禁止拖拽` panels[n]printElements[m]options.draggable true、false +- [x] `添加对齐api` hiprintTemplate.setElsAlign +- [x] `表格字段添加聚合功能` 表格字段配置 options.columns[n]tableSummary +- [x] `新增支持操作历史记录` 支持ctrl/command+(shift)+z 撤销重做, 并提供hiprintTemplate的undo,redo方法 +- [x] `新增坐标位置参数设置` 参数面板新增坐标位置参数,支持同步设置XY坐标,并提供coordinateSync设置默认同步与否 +- [x] `新增宽高大小参数设置` 参数面板新增宽高大小参数,支持同步设置宽高,并提供widthHeightSync设置默认同步与否 +- [x] `新增显示元素坐标位置` 拖拽时显示XY坐标位置,并支持两种显示默认,设置positionLineMode,坐标显示在辅助线上 +- [x] `新增显示元素宽高大小` 点击元素时显示宽高大小,支持重新样式(.resize-panel .size-box) +- [x] `新增设置元素距离api` 多选元素后设置每个元素的间隔(垂直/水平) hiprintTemplate.setElsSpace(10,true) +- [x] `调整优化table表头` 支持动态显示/隐藏表头列, getJson时也返回了所有设置的列 +- [x] `新增支持更新拖拽元素api` 通过tid获取拖拽元素/更新拖拽元素 hiprint.updateElementType(tid,(e)=>e) +- [x] `新增支持不打印功能` 设置元素 showInPage: 'none' 打印时不打印 +- [x] `新增刷新获取打印机列表api` 连接上客户端时 通过 hiprint.refreshPrinterList 获取最新打印机列表 +- [x] `新增获取IP、IPv6、MAC的api` 连接上客户端时 通过 hiprint.getAddress('mac',(data)=>{}) 获取MAC地址 +- [x] `新增支持设置元素层级` 设置元素 zIndex: 10 调整元素层级 +- [x] `调整优化元素设置fields问题` 设置元素 options.fields: [{"text":'id',"field":'id']; getJson将返回此列表 +- [x] `新增支持图片地址选择按钮` new PrintTemplate时 指定 onImageChooseClick: (target) => {target.refresh('url')} 更新图片地址 +- [x] `新增支持图片元素设置缩放格式fit` object-fix: fill|contain|cover|none +- [x] `新增支持text元素修改为barcode/qrcode时调整控制按钮` 右和下控制点 变成 右下控制点(等比缩放) +- [x] `调整优化控制点等比缩放功能` 右下控制点拖动时等比缩放, 按住shift时可自由缩放 +- [x] `调整优化元素框选功能` 从右侧参数栏快速从右往左选择时鼠标移动到design内时框选框的大小问题 + +|setElsAlign 参数说明|说明| +|---|---| +|left|左对齐| +|vertical|居中| +|right|右对齐| +|top|顶部对齐| +|horizontal|垂直居中| +|bottom|底部对齐| +|distributeHor|横向分散| +|distributeVer|纵向分散| + +|tableSummary 参数说明|说明| +|---|---| +|-(缺省或不匹配)|不聚合| +|count|计数| +|sum|合计| +|avg|平均值| +|min|最小值| +|max|最大值| + +|setElsSpace 使用示例|说明| +|---|---| +|.setElsSpace(10)|垂直距离10(pt)| +|.setElsSpace(10,true)|水平距离10(pt)| diff --git a/README.md b/README.md index 5a49c07f4795860169b0648837c184c5b78f15e1..6ea34aa7fa8ee01c0adc511f750ee4501966b892 100644 --- a/README.md +++ b/README.md @@ -3,67 +3,233 @@ - + -[![npm][npm]][npm-url] -[![node][node]][node-url] ![image](https://badgen.net/packagephobia/publish/vue-plugin-hiprint) -![image](https://badgen.net/packagephobia/install/vue-plugin-hiprint) +![image](https://badgen.net/npm/v/vue-plugin-hiprint) + +Gitee star + + +Gitee fork + +![image](https://badgen.net/github/stars/CcSimple/vue-plugin-hiprint) +![image](https://badgen.net/github/forks/CcSimple/vue-plugin-hiprint) +![image](https://badgen.net/npm/dw/vue-plugin-hiprint) +![image](https://badgen.net/npm/dm/vue-plugin-hiprint) +![image](https://badgen.net/npm/dy/vue-plugin-hiprint) -# vue-plugin-hiprint hiprint官方文档 -> hiprint for vue2.0 +## 关于此插件 -## 配套直接打印客户端(win/mac/linux) -### gitee github -
+vue-plugin-hiprint(基于[hiprint 2.5.4](http://hiprint.io/)) 当时只是为了方便我(并非hiprint原作者) 在vue项目中引入使用,所以以此命名。 -![image](./res/tool.jpeg) +此插件仅仅是一个JavaScript【工具库】而非 Vue【组件库】,所以它默认是不包含demo中所见的那些组件页面的(demo代码随便复制修改拿去用)。 -
+由于hiprint官网最后一次更新时间为2019年【hiprint 2.5.4 是 [LGPL](#关于lgpl协议) 协议】,后在诸多使用者及反馈下进行了许多优化调整。[更新日志](CHANGELOG.md)(同时感谢各位群友支持和参与) -## 参与/预览 demo -```console -git clone https://github.com/CcSimple/vue-plugin-hiprint.git -// or -git clone https://gitee.com/CcSimple/vue-plugin-hiprint.git -// init -cd vue-plugin-hiprint -npm i -// 调试预览 -npm run serve -// 打包 -npm run build +## vue-plugin-hiprint [更新日志](CHANGELOG.md) +> hiprint for Vue2.x / Vue3.x (基于jQuery, 理论上应该也是支持其他框架的) + +> **jQuery/uniapp** 项目 见下方 [jQuery/uniapp 项目使用](#jQuery/uniapp 项目使用) + +## 注意事项!! + +-
【vue-plugin-hiprint】与【hiprint.io官网】差异甚多,请忽混用!请忽混用!请忽混用!
+-
请使用我提供的打印客户端,或者自行修改打印客户端的源码,以适配本项目的模板!
+- 主分支是融合版本的最新代码,如果你不需要修改 hiprint 相关代码. 请使用 npm 包的方式安装. +- 使用直接客户端时,本地开发连接没问题,部署到线上出现跨域无法连接打印客户端问题: +- [线上跨域问题,请升级 https! 说明:https://www.cnblogs.com/daysme/p/15493523.html](https://www.cnblogs.com/daysme/p/15493523.html) +- 如需提交 PR 请前往 github 合并后可自动发布npm包并同步代码到 gitee +- vue-plugin-hiprint 包不包含UI界面,需要自行处理。如果想更快速引入请查看 [sv-print组件库](https://ccsimple.gitee.io/sv-print-docs/) + +## 快速链接 + +Demo预览:[https://ccsimple.gitee.io/vue-plugin-hiprint/](https://ccsimple.gitee.io/vue-plugin-hiprint/) + +更新记录:[npm包版本及更新记录](CHANGELOG.md) + +打印客户端:[https://gitee.com/CcSimple/electron-hiprint](https://gitee.com/CcSimple/electron-hiprint) + +## 文章链接 + +入门篇: [【vue-plugin-hiprint】使用-入门篇](https://mp.weixin.qq.com/s/4N4f7CkxodA-fuTJ_FbkOQ) + +进阶篇: [【vue-plugin-hiprint】使用-进阶篇](https://mp.weixin.qq.com/s/LYZP2iqV0gy4m76mttplAw) + +provider: [【vue-plugin-hiprint】如何自定义可拖拽元素 provider](https://mp.weixin.qq.com/s/n9i1j8hhVJvnlfJRPRtWog) + +打印篇: [【vue-plugin-hiprint】使用-打印篇](https://mp.weixin.qq.com/s/P-Zz8YfELmRNi4EuED4QmA) + +参数篇: [【vue-plugin-hiprint】使用-参数篇](https://mp.weixin.qq.com/s/vfgSG62tAXn7Ot7y3x68fw) + +实战动态provider: [【vue-plugin-hiprint】实战-动态provider](https://mp.weixin.qq.com/s/UVkhul1tynjaUjdC_NaHfw) + +实战动态模板: [【vue-plugin-hiprint】实战-动态模板](https://mp.weixin.qq.com/s/JXXC9Fyy_PgPXrwh1mDBTQ) + +常见问题汇总①: [【vue-plugin-hiprint】常见问题汇总①](https://mp.weixin.qq.com/s/E-ZfuKLH3-GvKn4AosRvaw) + +常见问题汇总②: [【vue-plugin-hiprint】常见问题汇总②](https://mp.weixin.qq.com/s/UEnr24bB_P6KmpZ7iZmYvA) + +常见问题汇总③: [【vue-plugin-hiprint】常见问题汇总③](https://mp.weixin.qq.com/s/lRimQ-cjuwN3mg6RicPyag) + +## 更多参数的文档请仔细查阅文档 + +hiprint官方文档:[http://hiprint.io/docs/start](http://hiprint.io/docs/start) + +本人写的部分文档: [https://ccsimple.gitee.io/sv-print-docs/config/hiprint.html](https://ccsimple.gitee.io/sv-print-docs/config/hiprint.html) + +## 安装使用 ``` -## demo调试(显示打印iframe) +npm install vue-plugin-hiprint +``` + +```html + + + + +``` + +## 项目截图 + + + + + + + + + + + + + +
+ + +## 拖拽设计使用 ```javascript -// 快速显示/隐藏 打印iframe 方便调试  ̄□ ̄|| -// 在浏览器控制台输入: -// 显示打印页面 -$('#app').css('display','block'); -$('#hiwprint_iframe').css('visibility','hidden'); -$('#hiwprint_iframe').css('width','100%'); -$('#hiwprint_iframe').css('height','251.09mm'); // 这里替换个实际高度才能显示完 -// 显示vue页面 -$('#app').css('display','block'); -$('#hiwprint_iframe').css('visibility','hidden'); +import {hiprint,defaultElementTypeProvider} from 'vue-plugin-hiprint' +// 初始化可拖拽的元素 +hiprint.init({ + providers: [new defaultElementTypeProvider()] +}) +// $('.ep-draggable-item') 包含 tid, 与上边的 provider 中的 tid 对应 才能正常拖拽生成元素 +hiprint.PrintElementTypeManager.buildByHtml($('.ep-draggable-item')); +hiprintTemplate = new hiprint.PrintTemplate({ + template: {}, // 模板json + settingContainer: '#PrintElementOptionSetting', // 元素参数容器 + paginationContainer: '.hiprint-printPagination', // 多面板的容器, 实现多面板, 需要在添加一个
+ // ------- 下列是可选功能 ------- + // ------- 下列是可选功能 ------- + // ------- 下列是可选功能 ------- + // 图片选择功能 + onImageChooseClick: (target) => { + // 测试 3秒后修改图片地址值 + setTimeout(() => { + // target.refresh(url,options,callback) + // callback(el, width, height) // 原元素,宽,高 + // target.refresh(url,false,(el,width,height)=>{ + // el.options.width = width; + // el.designTarget.css('width', width + "pt"); + // el.designTarget.children('.resize-panel').trigger($.Event('click')); + // }) + target.refresh("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAIIAQMAAAB99EudAAAABlBMVEUmf8vG2O41LStnAAABD0lEQVR42u3XQQqCQBSAYcWFS4/QUTpaHa2jdISWLUJjjMpclJoPGvq+1WsYfiJCZ4oCAAAAAAAAAAAAAAAAAHin6pL9c6H/fOzHbRrP0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0u/SY9LS0tLS0tLS0tLS0n+edm+UlpaWlpaWlpaWlpaW/tl0Ndyzbno7/+tPTJdd1wal69dNa6abx+Lq6TSeYtK7BX/Diek0XULSZZrakPRtV0i6Hu/KIt30q4fM0pvBqvR9mvsQkZaW9gyJT+f5lsnzjR54xAk8mAUeJyMPwYFH98ALx5Jr0kRLLndT7b64UX9QR/0eAAAAAAAAAAAAAAAAAAD/4gpryzr/bja4QgAAAABJRU5ErkJggg==",{ + // auto: true, // 根据图片宽高自动等比(宽>高?width:height) + // width: true, // 按宽调整高 + // height: true, // 按高调整宽 + real: true // 根据图片实际尺寸调整(转pt) + }) + }, 3000) + // target.getValue() + // target.refresh(url) + }, + // 自定义可选字体 + // 或者使用 hiprintTemplate.setFontList([]) + // 或元素中 options.fontList: [] + fontList: [ + {title: '微软雅黑', value: 'Microsoft YaHei'}, + {title: '黑体', value: 'STHeitiSC-Light'}, + {title: '思源黑体', value: 'SourceHanSansCN-Normal'}, + {title: '王羲之书法体', value: '王羲之书法体'}, + {title: '宋体', value: 'SimSun'}, + {title: '华为楷体', value: 'STKaiti'}, + {title: 'cursive', value: 'cursive'}, + ], + dataMode: 1, // 1:getJson 其他:getJsonTid 默认1 + history: true, // 是否需要 撤销重做功能 + onDataChanged: (type, json) => { // 模板发生改变回调 + console.log(type); // 新增、移动、删除、修改(参数调整)、大小、旋转 + console.log(json); // 返回 template + }, + onUpdateError: (e) => { // 更新失败回调 + console.log(e); + }, +}); +// 设计器的容器 +hiprintTemplate.design('#hiprint-printTemplate'); ``` -## 安装 -```console -npm install vue-plugin-hiprint +## 代码模式使用 + +```javascript +import {hiprint, defaultElementTypeProvider} from 'vue-plugin-hiprint' +// 引入后使用示例 +hiprint.init(); +// 下列方法都是没有拖拽设计页面的, 相当于代码模式, 使用代码设计页面 +// 想要实现拖拽设计页面,请往下看 '自定义设计' +var hiprintTemplate = new hiprint.PrintTemplate(); +var panel = hiprintTemplate.addPrintPanel({ width: 100, height: 130, paperFooter: 340, paperHeader: 10 }); +//文本 +panel.addPrintText({ options: { width: 140, height: 15, top: 20, left: 20, title: 'hiprint插件手动添加text', textAlign: 'center' } }); +//条形码 +panel.addPrintText({ options: { width: 140, height: 35, top: 40, left: 20, title: '123456', textType: 'barcode' } }); +//二维码 +panel.addPrintText({ options: { width: 35, height: 35, top: 40, left: 165, title: '123456', textType: 'qrcode' } }); +//长文本 +panel.addPrintLongText({ options: { width: 180, height: 35, top: 90, left: 20, title: '长文本:hiprint是一个很好的webjs打印,浏览器在的地方他都可以运行' } }); +//打印 +hiprintTemplate.print({}); +``` + +## i18n 设置 + +原生为简体中文,英语、德语、西班牙语、法语、意大利语、日语、俄语、繁体中文皆为 AI 机翻,欢迎帮助 [订正](https://github.com/CcSimple/vue-plugin-hiprint/tree/main/src/i18n)。 + +可在 init 时传入语言进行设置,默认为 `cn` 。 + +```js +hiprint.init({ + lang: 'en', // 设置语言 ['cn', 'en', 'de', 'es', 'fr', 'it', 'ja', 'ru', 'cn_tw'] +}); +``` + +## 直接打印 地址端口 与 Token 设置 + +```js +hiprint.init({ + host: 'http://localhost:17521', // 可在此处设置连接地址与端口号 + token: 'token', // 可在此处设置连接 token 可缺省 +}); ``` -## 全局使用 + +## vue/vue3 全局引入 + +> 全局引入,方便在任何地方不引入直接调用打印。示例为代码模式 (拖拽设计请往下看) + ```javascript // main.js中 引入安装 import {hiPrintPlugin} from 'vue-plugin-hiprint' Vue.use(hiPrintPlugin, '$pluginName') -// 然后使用 -this.$pluginName +hiPrintPlugin.disAutoConnect(); // 取消自动连接直接打印客户端 -// 例如 +// 下列代码为示例,不要再 main.js中 使用 +// 引入后使用示例 this.$pluginName.init(); +// 下列方法都是没有拖拽设计页面的, 相当于代码模式, 使用代码设计页面 +// 想要实现拖拽设计页面,请往下看 '自定义设计' var hiprintTemplate = new this.$pluginName.PrintTemplate(); var panel = hiprintTemplate.addPrintPanel({ width: 100, height: 130, paperFooter: 340, paperHeader: 10 }); //文本 @@ -89,22 +255,144 @@ hiprintTemplate.print({}); //直接打印,需要安装客户端 hiprintTemplate.print2({}); ``` -## 自定义设计 (详情查看demo目录) -```javascript -import {hiprint,defaultElementTypeProvider} from 'vue-plugin-hiprint' + +## jQuery/uniapp 项目使用 + +> uniapp 需要嵌入到 web 浏览器中.(需要支持 window 全局对象环境) + +```html + + + + + + + + + + + + + + + + + + + + + + + + +``` + +## 配套直接打印客户端(win/mac/linux)[源码链接](https://gitee.com/CcSimple/electron-hiprint) +
如果使用npm包或者本项目,请使用如下样子的直接打印客户端
+
+ +![image](./res/tool.jpeg) + +
+
本项目需要上面样式的直接打印客户端; 下载地址:
+ +> [https://gitee.com/CcSimple/electron-hiprint/releases](https://gitee.com/CcSimple/electron-hiprint/releases) + +### URLScheme `hiprint://` +> 安装客户端时请 `以管理员身份运行` ,才能成功添加 URLScheme + +使用:浏览器地址栏输入 `hiprint://` 并回车 + +![URLScheme](./res/URLScheme.png) + +```js +// js +window.open("hiprint://") + +// element-ui +this.$alert(`连接【${hiwebSocket.host}】失败!
请确保目标服务器已 下载 运行 打印服务!`, "客户端未连接", {dangerouslyUseHtmlString: true}) + +// ant-design +this.$error({ + title: "客户端未连接", + content: (h) => ( +
+ 连接【{hiwebSocket.host}】失败! +
+ 请确保目标服务器已 + + 下载 + + 并 + + 运行 + + 打印服务! +
+ ), +}); +``` + +## 使用 [中转服务 node-hiprint-transit](https://github.com/Xavier9896/node-hiprint-transit) 实现代理 + +配套客户端打印一直存在跨域、无法连接局域网其余打印机、跨网段无法连接的问题,所以诞生了这个中转代理服务。在 `electron-hiprint` [v1.0.0.7](https://gitee.com/CcSimple/electron-hiprint/releases) 版本中添加了连接中转服务代理的设置,将会在 `electron-hiprint` 与 `node-hiprint-transit` 间建立通信,`vue-plugin-hiprint` 只需连接中转服务就能获取到所有连接中转服务的打印端信息,并且选择任意打印机进行打印。 + +连接中转服务只需要修改 host, 添加 token + +```js +import { hiprint } from 'vue-plugin-hiprint' + hiprint.init({ - providers: [new defaultElementTypeProvider()] -}) -hiprint.PrintElementTypeManager.buildByHtml($('.ep-draggable-item')); -hiprintTemplate = new hiprint.PrintTemplate({ - template: {}, - settingContainer: '#PrintElementOptionSetting', - paginationContainer: '.hiprint-printPagination' + host: 'https://printjs.cn:17521', // 此处输入服务启动后的地址 + token: 'vue-plugin-hiprint', // 用于鉴权的token }); -hiprintTemplate.design('#hiprint-printTemplate'); + +// or + +hiwebSocket.setHost("https://printjs.cn:17521", "vue-plugin-hiprint") ``` +具体使用请转至 [node-hiprint-transit](https://github.com/Xavier9896/node-hiprint-transit) + +为此你需要作出这些改变: + +1. 你可以从 `hiwebSocket` 中获取到 `clients`、`printerList` ,里面都将包含 `client` 信息 +2. print2、ippRequest、ippRequest api options 中需要添加 `client` 指定客户端 + + eg: + ```js + var clientId = "AlBaUCNs3AIMFPLZAAAh" + var client = hiwebSocket.clients[clientId] + var printer = hiwebSocket.printerList[0] + + hiprintTemplate.print2(printData, { client: clientId, printer: client.printerList[n].name, title: 'hiprint测试打印' }); + + hiprintTemplate.print2(printData, { client: printer.clientId, printer: printer.name, title: 'hiprint测试打印' }); + ``` + > 如果你不提供 client 中转服务将抛出一个 error + ## 常见问题 + +> 可能花几分钟读一读下面的文章就能找到你遇到的问题: + +常见问题汇总①: [【vue-plugin-hiprint】常见问题汇总①](https://mp.weixin.qq.com/s/E-ZfuKLH3-GvKn4AosRvaw) + +常见问题汇总②: [【vue-plugin-hiprint】常见问题汇总②](https://mp.weixin.qq.com/s/UEnr24bB_P6KmpZ7iZmYvA) + +常见问题汇总③: [【vue-plugin-hiprint】常见问题汇总③](https://mp.weixin.qq.com/s/lRimQ-cjuwN3mg6RicPyag) + > design时怎么修改默认图片? ```vue @@ -134,6 +422,7 @@ hiprintTemplate.print(this.printData, {}, { } }) // 直接打印 +// 打印机名称: 通过 hiprintTemplate.getPrinterList() 获取 其中的 name hiprintTemplate.print2(printData, {printer: '打印机名称', title: '打印标题'}) hiprintTemplate.on('printSuccess', function (data) { console.log('打印完成') @@ -144,20 +433,33 @@ hiprintTemplate.on('printError', function (data) { ``` > 打印重叠 / 样式问题 ```javascript -// 开发时默认用的Ant Design Vue, 所有其他ui框架没有测试过 -// 自0.0.13起, 可自定义样式处理 +/** + * 从 0.0.19 起, 在index.html添加: + * + * 以处理打印所需css, 当然你也可以自行处理 + * 比如: index.html目录下放一个print-lock.css, 然后在index.html添加: + * + */ + +// 添加自定义样式 hiprintTemplate.print(this.printData, {}, { styleHandler: () => { - let css = '' - // xxxxx + // 这里拼接成放html->head标签内的css/style + // 1.例如:使用hiprin官网的样式 + let css = '' + // 2.重写样式:所有文本红色 + css += '' return css } }) // 直接打印 hiprintTemplate.print2(this.printData, { styleHandler: () => { - let css = '' - // xxxxx + // 这里拼接成放html->head标签内的css/style + // 1.例如:使用hiprin官网的样式 + let css = '' + // 2.重写样式:所有文本红色 + css += '' return css } }) @@ -184,84 +486,127 @@ hiprint.setConfig({ } }) ``` +> 取消自动socket连接 / socket连接报错问题 +```javascript +/** + * 取消自动连接 + */ +// 在main.js中设置 +import {hiPrintPlugin} from 'vue-plugin-hiprint' +Vue.use(hiPrintPlugin,'$hiprint', false); +// hiPrintPlugin 同时提供了 disAutoConnect 方法 +hiPrintPlugin.disAutoConnect(); +// 在组件中使用 见: demo/design/index.vue +import {disAutoConnect, autoConnect, hiprint} from 'vue-plugin-hiprint' +disAutoConnect(); +// 同时 export了 autoConnect,disAutoConnect 方法 +/** + * 连接回调及打印 + */ +autoConnect((status,msg) => { + if (status) { + hiprintTemplate.print2(printData, {printer: '', title: 'hiprint测试打印'}); + } +}); +/** + * socket连接报错? + * 由于npm包更新到socket.io 3.x版本,官网提供的客户端,npm包是无法连接的 + * 请使用gitee提供的客户端, 同时gitee客户端可传更多的参数, 如是否打印颜色/打印份数/DPI等 + * 详情electron见:https://www.electronjs.org/zh/docs/latest/api/web-contents + */ +``` + +## 参与项目 +```console +git clone https://gitee.com/CcSimple/vue-plugin-hiprint.git +// init +cd vue-plugin-hiprint +npm i +// 调试预览 +npm run serve +// 打包 +npm run build +``` +## demo调试(显示打印iframe) +```javascript +// 快速显示/隐藏 打印iframe 方便调试  ̄□ ̄|| +// 在浏览器控制台输入: +// 显示打印页面 +$('#app').css('display','none'); +$('#hiwprint_iframe').css('visibility','visible'); +$('#hiwprint_iframe').css('width','100%'); +$('#hiwprint_iframe').css('height','251.09mm'); // 这里替换个实际高度才能显示完 +// 显示vue页面 +$('#app').css('display','block'); +$('#hiwprint_iframe').css('visibility','hidden'); +``` ## 交流群 -
+ + + + + +
-![image](res/wechat.png "微信群") +> 群人数已超过200 请 '加我好友' 备注加群, 邀你进群 -
-若过期 加我 备注加群 +## 捐赠支持, 或者请我喝杯咖啡☕️ -## 演示/截个图咯~ -
+> 如果对您有帮助,请点击右上角⭐Star关注或扫码捐赠,感谢支持开源! -![image](./res/img.png) + + + + + +
-![image](./res/img_1.png) -
+## 状态/调整/优化 请查看[更新记录](CHANGELOG.md) -## 状态/调整/优化 -- [x] `vue 插件` 发布npm包,方便直接使用 -- [x] `Ant Design Vue demo` 默认拖拽设计、自定义设计、队列打印 -- [x] `优化删除元素功能` 支持 backSpace/delete 按键删除 -- [x] `优化拖动功能` fix 元素拖出窗口外的问题 -- [x] `优化框选功能` fix 原只能从上往下框选问题 -- [x] `支持修改默认直接打印主机` window.hiwebSocket.setHost("xxx:17521") -- [x] `print优化调整` 支持设置callback 见demo的preview.vue -- [x] `table/tableCustom优化调整` 支持设置options.fields 双击选择字段, -- [x] `table优化调整` 支持设置isEnableInsertColumn/isEnableDeleteColumn等参数,支持插入/删除列 -- [x] `table/tableCustom优化调整` 支持设置options.tableHeaderRepeat/tableFooterRepeat 表头/表脚显示模式 -- [x] `table优化调整` 支持设置 不显示表头 -- [x] `条形码优化调整` fix 条码格式错误的问题(EAN-13、ITF、UPC等) -- [x] `字段名优化调整` 元素的字段名(field) 支持嵌套(eg: a.b.c.d) -- [x] `新增支持不分页(小票打印)` 可设置不分页 table、longText处理 -- [x] `新增支持复制/粘贴` 支持 基本元素的ctrl+c/v(复制/粘贴) - -### 咳咳.. -第一次写插件(webpack打包这些都不太了解),不合理的地方欢迎指正issues。 -简单的修改了下`hiprint.bundle.js`引入了相关资源,然后`export hiprint,defaultElementTypeProvider` -#### 详见源码vue-plugin-hiprint - -#### 呃呃.. 记录一下处理过程 -> webpack 配置 -```javascript -{ - // 引用本地资源, 一些源码中 require('xxx') 需要处理 - resolve: { - alias: { - 'vue$': 'vue/dist/vue.esm.js', - 'jquery$': path.resolve(__dirname, "./src/hiprint/plugins/jq-3.31.js"), - // 这两个资源在 plugins/jspdf/canvg.min.js 中的需要 - 'rgbcolor$': path.resolve(__dirname, "./src/hiprint/plugins/jspdf/rgbcolor.js"), - 'stackblur-canvas$': path.resolve(__dirname, "./src/hiprint/plugins/jspdf/stackblur-canvas.js"), - } - }, - // 全局jQuery问题 - plugins: [ - new webpack.ProvidePlugin({ - jQuery: "jquery", - $: "jquery" - }), - ], - // 资源处理 - module: { - rules: [ - // url-loader 处理 jquery.minicolors.png, 转成base64 - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'url-loader', - options: { - name: '[name].[ext]' - } - } - ] - } -} +本项目使用 开发 + +## 分支说明 +> main: vue2.x + ant1.7.x融合版 及 npm包源代码 + +> npm_demo: vue2.x + ant1.7.x + npm包使用 示例 + +> npm_demo_ele: vue2.x + ElementUi 2.x + npm包使用 示例 + +> npm_demo_v3: vue3.x + vite + npm包(0.0.18)使用 示例 + +## 关于如何融合处理 +> 自己融合请查看 vue.config.js 对比 hiprint.bundle.js + +> webpack.config.js,是npm打包需要处理的 + +## 开源使用说明 +> npm包是基于hiprint官网2.5.4版本基础做的调整及优化;
+> 本人对开源协议理解有限,如有侵权不合理的地方,请联系告知我;
+ +hiprint 开源协议如下: +``` +/** + * jQuery Hiprint 2.5.4 + * + * Copyright (c) 2016-2021 www.hinnn.com. All rights reserved. + * + * Licensed under the LGPL or commercial licenses + * To use it on other terms please contact us: hinnn.com@gmail.com + * + */ ``` +## 关于LGPL协议 -[npm]: https://img.shields.io/npm/v/vue-plugin-hiprint.svg -[npm-url]: https://npmjs.com/package/vue-plugin-hiprint -[node]: https://img.shields.io/node/v/vue-plugin-hiprint.svg -[node-url]: https://nodejs.org +``` +LGPL是GPL的一个为主要为类库使用设计的开源协议。和GPL要求任何使用/修改/衍生之GPL类库的的软件必须采用GPL协议不同。 + +LGPL允许商业软件通过类库引用(link)方式使用LGPL类库而不需要开源商业软件的代码。这使得采用LGPL协议的开源代码可以被商业软件作为类库引用并发布和销售。 + +但是如果修改LGPL协议的代码或者衍生,则所有修改的代码,涉及修改部分的额外代码和衍生的代码都必须采用LGPL协议。 + +因此LGPL协议的开源代码很适合作为第三方类库被商业软件引用,但不适合希望以LGPL协议代码为基础,通过修改和衍生的方式做二次开发的商业软件采用。 + +GPL/LGPL都保障原作者的知识产权,避免有人利用开源代码复制并开发类似的产品。 +``` diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000000000000000000000000000000000000..e9558405fdcc02f12d757acb308e02937a7444f1 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/demo/favicon.ico b/demo/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 Binary files a/demo/favicon.ico and /dev/null differ diff --git a/demo/index.html b/demo/index.html deleted file mode 100644 index 33bd20b0c7b80029c7c961557383fb444909b439..0000000000000000000000000000000000000000 --- a/demo/index.html +++ /dev/null @@ -1 +0,0 @@ -vue-plugin-hiprint
初次加载较慢,请耐心等待...
\ No newline at end of file diff --git a/demo/static/css/app.efe138b2.css b/demo/static/css/app.efe138b2.css deleted file mode 100644 index 4533151a7a721c0aa2aa121d123d877115cc860e..0000000000000000000000000000000000000000 --- a/demo/static/css/app.efe138b2.css +++ /dev/null @@ -1 +0,0 @@ -.hiprint-pagination{display:inline-block;padding-left:0}.hiprint-pagination>li{border:1px solid #bdc3c7;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;float:left;padding:5px;text-decoration:none;margin-right:5px;margin-bottom:5px;font-family:helvetica;font-size:13px;cursor:pointer}.hiprint-pagination>li>span{padding:0 10px 0 10px}.hiprint-pagination>li>a{color:#bdc3c7;font-weight:700;text-decoration:none;font-size:11px;padding:3px}.hiprint-pagination>li>a:hover{color:red}.hiprint-pagination-sm>li>a{padding:5px 10px;font-size:12px;line-height:1.5}.rect-printElement-types .hiprint-printElement-type{display:block;padding:0 0 0 0;list-style:none}.rect-printElement-types .hiprint-printElement-type>li>.title{display:block;padding:4px 0;clear:both}.rect-printElement-types .hiprint-printElement-type>li>ul{padding:0 0 0 0;display:block;list-style:none}.rect-printElement-types .hiprint-printElement-type>li>ul>li{display:block;width:50%;float:left;max-width:100px}.rect-printElement-types .hiprint-printElement-type>li>ul>li>a{height:92px;padding:12px 6px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd;margin-right:5px;width:95%;max-width:100px;display:inline-block;text-align:center;margin-bottom:7px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#b9a5a6;border:1px solid rgba(0,0,0,.2);border-radius:3px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.15);box-shadow:0 1px 0 0 rgba(0,0,0,.15)}.small-printElement-types .hiprint-printElement-type{display:block;padding:0 0 0 0;list-style:none}.small-printElement-types .hiprint-printElement-type>li>.title{display:block;padding:4px 0;clear:both}.small-printElement-types .hiprint-printElement-type>li>ul{padding:0 0 0 0;display:block;list-style:none;width:100%}.small-printElement-types .hiprint-printElement-type>li>ul>li{display:block;width:50%;float:left;padding:0 4px}.small-printElement-types .hiprint-printElement-type>li>ul>li>a{height:22px;line-height:20px;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd;margin-right:5px;width:100%;display:block;text-align:center;margin-bottom:7px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#b9a5a6;border:1px solid rgba(0,0,0,.2);border-radius:3px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.15);box-shadow:0 1px 0 0 rgba(0,0,0,.15)}.hiprint-toolbar>ul{padding:0;margin-bottom:5px}.hiprint-toolbar>ul>li{display:inline-block}.hiprint-toolbar>ul>li>a{position:relative;float:left;padding:3px 10px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd;margin-right:4px;cursor:pointer}.hiprint-printElement-type .glyphicon-class{display:block;text-align:center;word-wrap:break-word;font-family:Helvetica,sans-serif}.hiprint-printElement-type .glyphicon{margin-top:5px;margin-bottom:10px;font-size:37px}.hiprint-option-items{font-size:.75rem;padding:10px 5px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.hiprint-option-items .hiprint-option-item{-webkit-box-sizing:border-box;box-sizing:border-box;float:left;width:50%;margin-bottom:5px;padding:0 5px}.hiprint-option-items .hiprint-option-item-row{width:100%}.hiprint-option-item-label{margin:5px 5px 3px 0}.hiprint-option-items .hiprint-option-item-field input,.hiprint-option-items .hiprint-option-item-field select,.hiprint-option-items .hiprint-option-item-field textarea{color:inherit;background-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;padding:3px;z-index:1;border:1px solid #a9a9a9;height:19pt}.hiprint-option-item-settingBtn{height:19pt;line-height:19pt;font-size:12px;padding:0 24px;background:#00c1de;border-color:transparent;color:#fff;display:inline-block;margin:5px;font-weight:400;border:1px solid transparent;font-family:PingFangSC,helvetica neue,hiragino sans gb,arial,microsoft yahei ui,microsoft yahei,simsun,"sans-serif";vertical-align:middle;-webkit-transition:.3s cubic-bezier(.4,0,.2,1);transition:.3s cubic-bezier(.4,0,.2,1);-webkit-transform:translateZ(0);transform:translateZ(0)}.hiprint-option-item-deleteBtn{background:red}.hiprint-option-items .minicolors{position:relative}.hiprint-option-items .minicolors-sprite{background-image:url(../../static/img/jquery.minicolors.44ae4fdb.png)}.hiprint-option-items .minicolors-swatch{position:absolute;vertical-align:middle;background-position:-80px 0;cursor:text;padding:0;margin:0;display:inline-block}.hiprint-option-items .minicolors-swatch-color{position:absolute;top:0;left:0;right:0;bottom:0}.hiprint-option-items .minicolors input[type=hidden]+.minicolors-swatch{width:28px;position:static;cursor:pointer}.hiprint-option-items .minicolors input[type=hidden][disabled]+.minicolors-swatch{cursor:default}.hiprint-option-items .minicolors-panel{position:absolute;width:173px;background:#fff;border:1px solid #ccc;-webkit-box-shadow:0 0 20px rgba(0,0,0,.2);box-shadow:0 0 20px rgba(0,0,0,.2);z-index:99999;-webkit-box-sizing:content-box;box-sizing:content-box;display:none}.hiprint-option-items .minicolors-panel.minicolors-visible{display:block}.hiprint-option-items .minicolors-position-top .minicolors-panel{top:-154px}.hiprint-option-items .minicolors-position-right .minicolors-panel{right:0}.hiprint-option-items .minicolors-position-bottom .minicolors-panel{top:auto}.hiprint-option-items .minicolors-position-left .minicolors-panel{left:0}.hiprint-option-items .minicolors-with-opacity .minicolors-panel{width:194px}.hiprint-option-items .minicolors .minicolors-grid{position:relative;top:1px;left:1px;width:150px;height:150px;margin-bottom:2px;background-position:-120px 0;cursor:crosshair}.hiprint-option-items .minicolors .minicolors-grid-inner{position:absolute;top:0;left:0;width:150px;height:150px}.hiprint-option-items .minicolors-slider-saturation .minicolors-grid{background-position:-420px 0}.hiprint-option-items .minicolors-slider-saturation .minicolors-grid-inner{background-position:-270px 0;background-image:inherit}.hiprint-option-items .minicolors-slider-brightness .minicolors-grid{background-position:-570px 0}.hiprint-option-items .minicolors-slider-brightness .minicolors-grid-inner{background-color:#000}.hiprint-option-items .minicolors-slider-wheel .minicolors-grid{background-position:-720px 0}.hiprint-option-items .minicolors-opacity-slider,.hiprint-option-items .minicolors-slider{position:absolute;top:1px;left:152px;width:20px;height:150px;background-color:#fff;background-position:0 0;cursor:row-resize}.hiprint-option-items .minicolors-slider-saturation .minicolors-slider{background-position:-60px 0}.hiprint-option-items .minicolors-slider-brightness .minicolors-slider,.hiprint-option-items .minicolors-slider-wheel .minicolors-slider{background-position:-20px 0}.hiprint-option-items .minicolors-opacity-slider{left:173px;background-position:-40px 0;display:none}.hiprint-option-items .minicolors-with-opacity .minicolors-opacity-slider{display:block}.hiprint-option-items .minicolors-grid .minicolors-picker{position:absolute;top:70px;left:70px;width:12px;height:12px;border:1px solid #000;border-radius:10px;margin-top:-6px;margin-left:-6px;background:none}.hiprint-option-items .minicolors-grid .minicolors-picker>div{position:absolute;top:0;left:0;width:8px;height:8px;border-radius:8px;border:2px solid #fff;-webkit-box-sizing:content-box;box-sizing:content-box}.hiprint-option-items .minicolors-picker{position:absolute;top:0;left:0;width:18px;height:2px;background:#fff;border:1px solid #000;margin-top:-2px;-webkit-box-sizing:content-box;box-sizing:content-box}.hiprint-option-items .minicolors-swatches,.hiprint-option-items .minicolors-swatches li{margin:5px 0 3px 5px;padding:0;list-style:none;overflow:hidden}.hiprint-option-items .minicolors-swatches .minicolors-swatch{position:relative;float:left;cursor:pointer;margin:0 4px 0 0}.hiprint-option-items .minicolors-with-opacity .minicolors-swatches .minicolors-swatch{margin-right:7px}.hiprint-option-items .minicolors-swatch.selected{border-color:#000}.hiprint-option-items .minicolors-inline{display:inline-block}.hiprint-option-items .minicolors-inline .minicolors-input{display:none!important}.hiprint-option-items .minicolors-inline .minicolors-panel{position:relative;top:auto;left:auto;-webkit-box-shadow:none;box-shadow:none;z-index:auto;display:inline-block}.hiprint-option-items .minicolors-theme-bootstrap .minicolors-swatch{z-index:2;top:3px;left:3px;width:17px;height:17px}.hiprint-option-items .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch{margin-bottom:2px;top:0;left:0;width:20px;height:20px}.hiprint-option-items .minicolors-theme-bootstrap .minicolors-swatch-color{border-radius:inherit}.hiprint-option-items .minicolors-theme-bootstrap.minicolors-position-right>.minicolors-swatch{left:auto;right:3px}.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input{float:none;padding-left:23px}.hiprint-option-items .minicolors-theme-bootstrap.minicolors-position-right .minicolors-input{padding-right:44px;padding-left:12px}.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input.input-lg+.minicolors-swatch{top:4px;left:4px;width:37px;height:37px;border-radius:5px}.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input.input-sm+.minicolors-swatch{width:24px;height:24px}.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input.input-xs+.minicolors-swatch{width:18px;height:18px}.hiprint-option-items .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input{border-top-left-radius:0;border-bottom-left-radius:0}.hitable .selected{background:#3e66ad}.hitable .resizerRow td,.hitable tr.resizerRow{border:0 dashed;height:0;background:#fff}.hitable tr.resizerRow+tr,.hitable tr.resizerRow+tr td{border-top:0!important}.hitable td.resizerColumn{border:0 dashed;width:.000001px!important;background:#fff}.hitable td.resizerColumn+td{border-left:0!important}.columngrips{height:0;position:absolute}.columngrip{margin-left:-5px;position:absolute;z-index:5;width:10px}.columngrip .gripResizer{position:absolute;filter:alpha(opacity=1);opacity:0;width:10px;height:100%;cursor:col-resize;top:0}.columngripDraging{border-left:1px dotted #000}.rowgrips{height:0;width:0;position:absolute}.rowgrip{margin-top:-5px;position:absolute;z-index:5;height:10px}.rowgrip .gripResizer{position:absolute;filter:alpha(opacity=1);opacity:0;height:10px;width:100%;cursor:row-resize;left:0}.rowgripDraging{border-top:1px dotted #000}.hitable .hitable-editor-text{border:1px solid;width:95%;height:80%}.hipanel-disable{height:0;display:block!important;top:8500px;width:0;overflow:hidden;position:absolute}.hiprint_rul_wrapper{position:absolute;height:100%;width:100%;overflow:hidden;pointer-events:none;border:0;border-top:1px solid #c9bebe;border-left:1px solid #c9bebe;padding-left:15px;margin:-16px}.hiprint_rul_wrapper .h_img{position:absolute;top:0;left:15px;width:400mm;height:15px}.hiprint_rul_wrapper .v_img{width:400mm;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:0 100%;transform-origin:0 100%;height:15px;position:absolute;top:-2px;left:0}.hiprint-option-table-selected-columns{color:inherit;background-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;padding:0;list-style:none}.hiprint-option-table-selected-columns .hiprint-option-table-selected-item{color:inherit;background-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:0 3px;border:1px solid #a9a9a9;line-height:19pt;margin:3px 0}.hi-pretty *{-webkit-box-sizing:border-box;box-sizing:border-box}.hi-pretty input:not([type=checkbox]):not([type=radio]){display:none}.hi-pretty{position:relative;display:inline-block;margin-right:1em;white-space:nowrap;line-height:1}.hi-pretty input{position:absolute;left:0;top:0;min-width:1em;width:100%;height:100%;z-index:2;opacity:0;margin:0;padding:0;cursor:pointer}.hi-pretty .state label{position:static;display:inline-block;font-weight:400;margin:0;text-indent:1.5em;min-width:calc(1em + 2px)}.hi-pretty .state label:after,.hi-pretty .state label:before{content:"";width:calc(1em + 2px);height:calc(1em + 2px);display:block;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:0;border:1px solid transparent;z-index:0;position:absolute;left:0;top:calc(-108% + 1em);background-color:transparent}.hi-pretty .state label:before{border-color:#bdc3c7}.hi-pretty .state.p-is-hover,.hi-pretty .state.p-is-indeterminate{display:none}.hi-pretty.p-default.p-fill .state label:after{-webkit-transform:scale(1);transform:scale(1)}.hi-pretty.p-default .state label:after{-webkit-transform:scale(.6);transform:scale(.6)}.hi-pretty.p-default input:checked~.state label:after{background-color:#bdc3c7!important}.hi-pretty.p-default.p-thick .state label:after,.hi-pretty.p-default.p-thick .state label:before{border-width:.14286em}.hi-pretty.p-default.p-thick .state label:after{-webkit-transform:scale(.4)!important;transform:scale(.4)!important}@media print{body{margin:0;padding:0}}@page{margin:0}.hiprint-printPaper *{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.hiprint-printPaper :focus{outline:0 auto -webkit-focus-ring-color}.hiprint-page-break-avoid{page-break-after:avoid}.hiprint-printPaper{position:relative;padding:0 0 0 0;page-break-after:always;overflow-x:hidden;overflow:hidden}.hiprint-printPaper .hiprint-printPaper-content{position:relative}.hiprint-printPaper.design{overflow:visible}.hiprint-printTemplate .hiprint-printPanel{page-break-after:always}.hiprint-printPaper,hiprint-printPanel{-webkit-box-sizing:border-box;box-sizing:border-box;border:0}.hiprint-printPanel .hiprint-printPaper:last-child,.hiprint-printTemplate .hiprint-printPanel:last-child{page-break-after:avoid}.hiprint-printPaper .hidefooterLinetarget,.hiprint-printPaper .hideheaderLinetarget{border-top:0 dashed #c9bebe!important}.hiprint-printPaper.design{border:1px dashed hsla(0,0%,66.7%,.7)}.design .hiprint-printElement-longText-content,.design .hiprint-printElement-table-content{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.design .resize-panel{border:1px dotted}.design .resize-panel,.hiprint-printElement-text{-webkit-box-sizing:border-box;box-sizing:border-box}.hiprint-printElement-text{background-color:transparent;background-repeat:repeat;padding:0 0 0 0;border:.75pt none #000;direction:ltr;font-family:SimSun;font-size:9pt;font-style:normal;font-weight:400;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;text-align:left;text-decoration:none;line-height:9.75pt;word-wrap:break-word;word-break:break-all}.design .hiprint-printElement-text-content{border:1px dashed #cebcbc;-webkit-box-sizing:border-box;box-sizing:border-box}.hiprint-printElement-longText{border:.75pt none #000;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;word-wrap:break-word;word-break:break-all}.hiprint-printElement-longText,.hiprint-printElement-table{background-color:transparent;background-repeat:repeat;direction:ltr;font-family:SimSun;font-size:9pt;font-style:normal;font-weight:400;text-align:left;text-decoration:none;line-height:9.75pt;-webkit-box-sizing:border-box;box-sizing:border-box}.hiprint-printElement-table{color:#000;border-color:#000;border-style:none;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding:0 0 0 0}.hiprint-printElement-table thead{background:#e8e8e8;font-weight:700}.hiprint-printElement-tableTarget,.hiprint-printElement-tableTarget td,.hiprint-printElement-tableTarget tr{border-color:#000;border-style:none;border:1px solid #000;font-weight:400;direction:ltr;padding-bottom:0;padding-left:4pt;padding-right:4pt;padding-top:0;text-decoration:none;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box;word-wrap:break-word;word-break:break-all}.hiprint-printElement-tableTarget td{height:18pt}.hiprint-printPaper .hiprint-paperNumber{font-size:9pt}.design .hiprint-printElement-table-handle{position:absolute;height:21pt;width:21pt;background:red;z-index:1}.hiprint-printPaper .hiprint-paperNumber-disabled{float:right!important;right:0!important;color:#dcdcdc!important}.hiprint-printElement-hline,.hiprint-printElement-vline{border:0 none #000}.hiprint-printElement-vline{border-left:.75pt solid #000;border-top:0 none #000!important}.hiprint-printElement-hline,.hiprint-printElement-vline{border-right:0 none #000!important;border-bottom:0 none #000!important}.hiprint-printElement-hline{border-top:.75pt solid #000;border-left:0 none #000!important}.hiprint-printElement-oval,.hiprint-printElement-rect{border:.75pt solid #000}.hiprint-text-content-middle{display:table}.hiprint-text-content-middle>div{display:table-cell;vertical-align:middle}.hiprint-text-content-bottom{display:table}.hiprint-text-content-bottom>div{display:table-cell;vertical-align:bottom}.hi-grid-row{position:relative;height:auto;margin-right:0;margin-left:0;zoom:1;display:block;-webkit-box-sizing:border-box;box-sizing:border-box}.hi-grid-row:after,.hi-grid-row:before{display:table;content:"";-webkit-box-sizing:border-box;box-sizing:border-box}.hi-grid-col{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.table-grid-row{margin-left:0;margin-right:0}.tableGridColumnsGutterRow{padding-left:0;padding-right:0}.hiprint-gridColumnsFooter{text-align:left;clear:both}[data-v-1e262118] .ant-modal-body{padding:0}[data-v-1e262118] .ant-modal-content{margin-bottom:24px}.drag_item_box[data-v-1c8144eb]{height:100%;padding:6px}.drag_item_box>div[data-v-1c8144eb]{height:100%;width:100%;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.drag_item_box>div>a[data-v-1c8144eb]{text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none}.drag_item_box>div>a>span[data-v-1c8144eb]{font-size:28px}.drag_item_box>div>a>p[data-v-1c8144eb]{margin:0}.drag_item_title[data-v-1c8144eb]{font-size:16px;padding:12px 6px 0 6px;font-weight:700}[data-v-1c8144eb] .hiprint-printElement-image-content img{content:url(../../static/img/logo.82b9c7a5.png)}.card-design[data-v-1c8144eb]{overflow:hidden;overflow-x:auto;overflow-y:auto}[data-v-b8f803e6] .ant-modal-body{padding:0}[data-v-b8f803e6] .ant-modal-content{margin-bottom:24px}[data-v-5e83d819] .hiprint-printElement-type>li>ul>li>a{padding:4px 4px;color:#1296db;line-height:1;height:auto;text-overflow:ellipsis}[data-v-5e83d819] .hiprint-printElement-image-content img{content:url(../../static/img/logo.82b9c7a5.png)}.card-design[data-v-5e83d819]{overflow:hidden;overflow-x:auto;overflow-y:auto}[data-v-7ef4f374] .ant-modal-body{padding:0}[data-v-7ef4f374] .ant-modal-content{margin-bottom:24px}[data-v-668c9665] .hiprint-printElement-type>li>ul>li>a{padding:4px 4px;color:#1296db;line-height:1;height:auto;text-overflow:ellipsis}[data-v-668c9665] .hiprint-printElement-image-content img{content:url(../../static/img/logo.82b9c7a5.png)}.card-design[data-v-668c9665]{overflow:hidden;overflow-x:auto;overflow-y:auto}.logos{padding:6px 24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:center;align-self:center}.logos img{height:40px;width:40px}.menus{padding:10px 24px}.hiprint-printElement-image-content img{content:url(../../static/img/logo.82b9c7a5.png)} \ No newline at end of file diff --git a/demo/static/css/chunk-vendors.51993b31.css b/demo/static/css/chunk-vendors.51993b31.css deleted file mode 100644 index 234121fe685603375829a32c6062760eae16c46f..0000000000000000000000000000000000000000 --- a/demo/static/css/chunk-vendors.51993b31.css +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * - * ant-design-vue v1.7.8 - * - * Copyright 2017-present, ant-design-vue. - * All rights reserved. - * - */body,html{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;color:rgba(0,0,0,.65);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-variant:tabular-nums;line-height:1.5;background-color:#fff;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}[tabindex="-1"]:focus{outline:none!important}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#1890ff;text-decoration:none;background-color:transparent;outline:none;cursor:pointer;-webkit-transition:color .3s;transition:color .3s;-webkit-text-decoration-skip:objects}a:hover{color:#40a9ff}a:active{color:#096dd9}a:active,a:hover{text-decoration:none;outline:0}a[disabled]{color:rgba(0,0,0,.25);cursor:not-allowed;pointer-events:none}code,kbd,pre,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;color:rgba(0,0,0,.45);text-align:left;caption-side:bottom}th{text-align:inherit}button,input,optgroup,select,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}::-moz-selection{color:#fff;background:#1890ff}::selection{color:#fff;background:#1890ff}.clearfix{zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.anticon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon>*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon[tabindex]{cursor:pointer}.anticon-spin,.anticon-spin:before{display:inline-block;-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.fade-appear.fade-appear-active,.fade-enter.fade-enter-active{-webkit-animation-name:antFadeIn;animation-name:antFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.fade-leave.fade-leave-active{-webkit-animation-name:antFadeOut;animation-name:antFadeOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.fade-appear,.fade-enter{opacity:0}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes antFadeOut{0%{opacity:1}to{opacity:0}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.move-up-appear,.move-up-enter,.move-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-up-appear.move-up-appear-active,.move-up-enter.move-up-enter-active{-webkit-animation-name:antMoveUpIn;animation-name:antMoveUpIn;-webkit-animation-play-state:running;animation-play-state:running}.move-up-leave.move-up-leave-active{-webkit-animation-name:antMoveUpOut;animation-name:antMoveUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-up-appear,.move-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-up-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-down-appear,.move-down-enter,.move-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-down-appear.move-down-appear-active,.move-down-enter.move-down-enter-active{-webkit-animation-name:antMoveDownIn;animation-name:antMoveDownIn;-webkit-animation-play-state:running;animation-play-state:running}.move-down-leave.move-down-leave-active{-webkit-animation-name:antMoveDownOut;animation-name:antMoveDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-down-appear,.move-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-down-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-left-appear,.move-left-enter,.move-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-left-appear.move-left-appear-active,.move-left-enter.move-left-enter-active{-webkit-animation-name:antMoveLeftIn;animation-name:antMoveLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.move-left-leave.move-left-leave-active{-webkit-animation-name:antMoveLeftOut;animation-name:antMoveLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-left-appear,.move-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-left-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-right-appear,.move-right-enter,.move-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-right-appear.move-right-appear-active,.move-right-enter.move-right-enter-active{-webkit-animation-name:antMoveRightIn;animation-name:antMoveRightIn;-webkit-animation-play-state:running;animation-play-state:running}.move-right-leave.move-right-leave-active{-webkit-animation-name:antMoveRightOut;animation-name:antMoveRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-right-appear,.move-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-right-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@-webkit-keyframes antMoveDownIn{0%{-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@keyframes antMoveDownIn{0%{-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveDownOut{0%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@keyframes antMoveDownOut{0%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveLeftIn{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@keyframes antMoveLeftIn{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveLeftOut{0%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@keyframes antMoveLeftOut{0%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveRightIn{0%{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@keyframes antMoveRightIn{0%{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveRightOut{0%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@keyframes antMoveRightOut{0%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveUpIn{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@keyframes antMoveUpIn{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveUpOut{0%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@keyframes antMoveUpOut{0%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@-webkit-keyframes loadingCircle{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loadingCircle{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}[ant-click-animating-without-extra-node=true],[ant-click-animating=true]{position:relative}html{--antd-wave-shadow-color:#1890ff}.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;border-radius:inherit;-webkit-box-shadow:0 0 0 0 #1890ff;box-shadow:0 0 0 0 #1890ff;-webkit-box-shadow:0 0 0 0 var(--antd-wave-shadow-color);box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;-webkit-animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;content:"";pointer-events:none}@-webkit-keyframes waveEffect{to{-webkit-box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 #1890ff;-webkit-box-shadow:0 0 0 6px var(--antd-wave-shadow-color);box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes waveEffect{to{-webkit-box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 #1890ff;-webkit-box-shadow:0 0 0 6px var(--antd-wave-shadow-color);box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@-webkit-keyframes fadeEffect{to{opacity:0}}@keyframes fadeEffect{to{opacity:0}}.slide-up-appear,.slide-up-enter,.slide-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-up-appear.slide-up-appear-active,.slide-up-enter.slide-up-enter-active{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-up-leave.slide-up-leave-active{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-up-appear,.slide-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-up-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-down-appear,.slide-down-enter,.slide-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-down-appear.slide-down-appear-active,.slide-down-enter.slide-down-enter-active{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-down-leave.slide-down-leave-active{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-down-appear,.slide-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-down-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-left-appear,.slide-left-enter,.slide-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-left-appear.slide-left-appear-active,.slide-left-enter.slide-left-enter-active{-webkit-animation-name:antSlideLeftIn;animation-name:antSlideLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-left-leave.slide-left-leave-active{-webkit-animation-name:antSlideLeftOut;animation-name:antSlideLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-left-appear,.slide-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-left-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-right-appear,.slide-right-enter,.slide-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-right-appear.slide-right-appear-active,.slide-right-enter.slide-right-enter-active{-webkit-animation-name:antSlideRightIn;animation-name:antSlideRightIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-right-leave.slide-right-leave-active{-webkit-animation-name:antSlideRightOut;animation-name:antSlideRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-right-appear,.slide-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-right-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@-webkit-keyframes antSlideUpIn{0%{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@keyframes antSlideUpIn{0%{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideUpOut{0%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@keyframes antSlideUpOut{0%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideDownIn{0%{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:0}to{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownIn{0%{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:0}to{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:1}}@-webkit-keyframes antSlideDownOut{0%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:1}to{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:0}}@keyframes antSlideDownOut{0%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:1}to{-webkit-transform:scaleY(.8);transform:scaleY(.8);-webkit-transform-origin:100% 100%;transform-origin:100% 100%;opacity:0}}@-webkit-keyframes antSlideLeftIn{0%{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@keyframes antSlideLeftIn{0%{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideLeftOut{0%{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@keyframes antSlideLeftOut{0%{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideRightIn{0%{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:0}to{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:1}}@keyframes antSlideRightIn{0%{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:0}to{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:1}}@-webkit-keyframes antSlideRightOut{0%{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:1}to{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:0}}@keyframes antSlideRightOut{0%{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:1}to{-webkit-transform:scaleX(.8);transform:scaleX(.8);-webkit-transform-origin:100% 0;transform-origin:100% 0;opacity:0}}.swing-appear,.swing-enter{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.swing-appear.swing-appear-active,.swing-enter.swing-enter-active{-webkit-animation-name:antSwingIn;animation-name:antSwingIn;-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes antSwingIn{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}40%{-webkit-transform:translateX(10px);transform:translateX(10px)}60%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}80%{-webkit-transform:translateX(5px);transform:translateX(5px)}}@keyframes antSwingIn{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}40%{-webkit-transform:translateX(10px);transform:translateX(10px)}60%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}80%{-webkit-transform:translateX(5px);transform:translateX(5px)}}.zoom-appear,.zoom-enter,.zoom-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-appear.zoom-appear-active,.zoom-enter.zoom-enter-active{-webkit-animation-name:antZoomIn;animation-name:antZoomIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-leave.zoom-leave-active{-webkit-animation-name:antZoomOut;animation-name:antZoomOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-appear,.zoom-enter{-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-appear,.zoom-big-enter,.zoom-big-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-appear.zoom-big-appear-active,.zoom-big-enter.zoom-big-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-leave.zoom-big-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-appear,.zoom-big-enter{-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-fast-appear,.zoom-big-fast-enter,.zoom-big-fast-leave{-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-fast-appear.zoom-big-fast-appear-active,.zoom-big-fast-enter.zoom-big-fast-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-fast-leave.zoom-big-fast-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-fast-appear,.zoom-big-fast-enter{-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-fast-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-up-appear,.zoom-up-enter,.zoom-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-up-appear.zoom-up-appear-active,.zoom-up-enter.zoom-up-enter-active{-webkit-animation-name:antZoomUpIn;animation-name:antZoomUpIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-up-leave.zoom-up-leave-active{-webkit-animation-name:antZoomUpOut;animation-name:antZoomUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-up-appear,.zoom-up-enter{-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-up-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-down-appear,.zoom-down-enter,.zoom-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-down-appear.zoom-down-appear-active,.zoom-down-enter.zoom-down-enter-active{-webkit-animation-name:antZoomDownIn;animation-name:antZoomDownIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-down-leave.zoom-down-leave-active{-webkit-animation-name:antZoomDownOut;animation-name:antZoomDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-down-appear,.zoom-down-enter{-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-down-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-left-appear,.zoom-left-enter,.zoom-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-left-appear.zoom-left-appear-active,.zoom-left-enter.zoom-left-enter-active{-webkit-animation-name:antZoomLeftIn;animation-name:antZoomLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-left-leave.zoom-left-leave-active{-webkit-animation-name:antZoomLeftOut;animation-name:antZoomLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-left-appear,.zoom-left-enter{-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-left-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-right-appear,.zoom-right-enter,.zoom-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-right-appear.zoom-right-appear-active,.zoom-right-enter.zoom-right-enter-active{-webkit-animation-name:antZoomRightIn;animation-name:antZoomRightIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-right-leave.zoom-right-leave-active{-webkit-animation-name:antZoomRightOut;animation-name:antZoomRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-right-appear,.zoom-right-enter{-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-right-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@-webkit-keyframes antZoomIn{0%{-webkit-transform:scale(.2);transform:scale(.2);opacity:0}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes antZoomIn{0%{-webkit-transform:scale(.2);transform:scale(.2);opacity:0}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes antZoomOut{0%{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(.2);transform:scale(.2);opacity:0}}@keyframes antZoomOut{0%{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(.2);transform:scale(.2);opacity:0}}@-webkit-keyframes antZoomBigIn{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:0}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes antZoomBigIn{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:0}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes antZoomBigOut{0%{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(.8);transform:scale(.8);opacity:0}}@keyframes antZoomBigOut{0%{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(.8);transform:scale(.8);opacity:0}}@-webkit-keyframes antZoomUpIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 0;transform-origin:50% 0;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 0;transform-origin:50% 0}}@keyframes antZoomUpIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 0;transform-origin:50% 0;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 0;transform-origin:50% 0}}@-webkit-keyframes antZoomUpOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 0;transform-origin:50% 0}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 0;transform-origin:50% 0;opacity:0}}@keyframes antZoomUpOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 0;transform-origin:50% 0}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 0;transform-origin:50% 0;opacity:0}}@-webkit-keyframes antZoomLeftIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:0 50%;transform-origin:0 50%;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:0 50%;transform-origin:0 50%}}@keyframes antZoomLeftIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:0 50%;transform-origin:0 50%;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:0 50%;transform-origin:0 50%}}@-webkit-keyframes antZoomLeftOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:0 50%;transform-origin:0 50%}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:0 50%;transform-origin:0 50%;opacity:0}}@keyframes antZoomLeftOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:0 50%;transform-origin:0 50%}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:0 50%;transform-origin:0 50%;opacity:0}}@-webkit-keyframes antZoomRightIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:100% 50%;transform-origin:100% 50%}}@keyframes antZoomRightIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:100% 50%;transform-origin:100% 50%}}@-webkit-keyframes antZoomRightOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:100% 50%;transform-origin:100% 50%}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;opacity:0}}@keyframes antZoomRightOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:100% 50%;transform-origin:100% 50%}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;opacity:0}}@-webkit-keyframes antZoomDownIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 100%;transform-origin:50% 100%}}@keyframes antZoomDownIn{0%{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}to{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 100%;transform-origin:50% 100%}}@-webkit-keyframes antZoomDownOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 100%;transform-origin:50% 100%}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}}@keyframes antZoomDownOut{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 100%;transform-origin:50% 100%}to{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse,.ant-motion-collapse-legacy-active{-webkit-transition:height .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)!important;transition:height .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden}.ant-affix{position:fixed;z-index:10}.ant-alert{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;padding:8px 15px 8px 37px;word-wrap:break-word;border-radius:4px}.ant-alert.ant-alert-no-icon{padding:8px 15px}.ant-alert.ant-alert-closable{padding-right:30px}.ant-alert-icon{position:absolute;top:11.5px;left:16px}.ant-alert-description{display:none;font-size:14px;line-height:22px}.ant-alert-success{background-color:#f6ffed;border:1px solid #b7eb8f}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{background-color:#fffbe6;border:1px solid #ffe58f}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{background-color:#fff1f0;border:1px solid #ffa39e}.ant-alert-error .ant-alert-icon{color:#f5222d}.ant-alert-close-icon{position:absolute;top:8px;right:16px;padding:0;overflow:hidden;font-size:12px;line-height:22px;background-color:transparent;border:none;outline:none;cursor:pointer}.ant-alert-close-icon .anticon-close{color:rgba(0,0,0,.45);-webkit-transition:color .3s;transition:color .3s}.ant-alert-close-icon .anticon-close:hover{color:rgba(0,0,0,.75)}.ant-alert-close-text{color:rgba(0,0,0,.45);-webkit-transition:color .3s;transition:color .3s}.ant-alert-close-text:hover{color:rgba(0,0,0,.75)}.ant-alert-with-description{position:relative;padding:15px 15px 15px 64px;color:rgba(0,0,0,.65);line-height:1.5;border-radius:4px}.ant-alert-with-description.ant-alert-no-icon{padding:15px}.ant-alert-with-description .ant-alert-icon{position:absolute;top:16px;left:24px;font-size:24px}.ant-alert-with-description .ant-alert-close-icon{position:absolute;top:16px;right:16px;font-size:14px;cursor:pointer}.ant-alert-with-description .ant-alert-message{display:block;margin-bottom:4px;color:rgba(0,0,0,.85);font-size:16px}.ant-alert-message{color:rgba(0,0,0,.85)}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-closing{height:0!important;margin:0;padding-top:0;padding-bottom:0;-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-alert-slide-up-leave{-webkit-animation:antAlertSlideUpOut .3s cubic-bezier(.78,.14,.15,.86);animation:antAlertSlideUpOut .3s cubic-bezier(.78,.14,.15,.86);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-alert-banner{margin-bottom:0;border:0;border-radius:0}@-webkit-keyframes antAlertSlideUpIn{0%{-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@keyframes antAlertSlideUpIn{0%{-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}to{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}}@-webkit-keyframes antAlertSlideUpOut{0%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}@keyframes antAlertSlideUpOut{0%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1}to{-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:0 0;transform-origin:0 0;opacity:0}}.ant-anchor{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;padding-left:2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:#fff}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#e8e8e8;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #1890ff;border-radius:8px;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:top .3s ease-in-out;transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:7px 0 7px 16px;line-height:1.143}.ant-anchor-link-title{position:relative;display:block;margin-bottom:6px;overflow:hidden;color:rgba(0,0,0,.65);white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all .3s;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}.ant-anchor-link .ant-anchor-link{padding-top:5px;padding-bottom:5px}.ant-select-auto-complete{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-select-auto-complete.ant-select .ant-select-selection{border:0;-webkit-box-shadow:none;box-shadow:none}.ant-select-auto-complete.ant-select .ant-select-selection__rendered{height:100%;margin-right:0;margin-left:0;line-height:32px}.ant-select-auto-complete.ant-select .ant-select-selection__placeholder{margin-right:12px;margin-left:12px}.ant-select-auto-complete.ant-select .ant-select-selection--single{height:auto}.ant-select-auto-complete.ant-select .ant-select-search--inline{position:static;float:left}.ant-select-auto-complete.ant-select-allow-clear .ant-select-selection:hover .ant-select-selection__rendered{margin-right:0!important}.ant-select-auto-complete.ant-select .ant-input{height:32px;line-height:1.5;background:transparent;border-width:1px}.ant-select-auto-complete.ant-select .ant-input:focus,.ant-select-auto-complete.ant-select .ant-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-select-auto-complete.ant-select .ant-input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-select-auto-complete.ant-select .ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-select-auto-complete.ant-select-lg .ant-select-selection__rendered{line-height:40px}.ant-select-auto-complete.ant-select-lg .ant-input{height:40px;padding-top:6px;padding-bottom:6px}.ant-select-auto-complete.ant-select-sm .ant-select-selection__rendered{line-height:24px}.ant-select-auto-complete.ant-select-sm .ant-input{height:24px;padding-top:1px;padding-bottom:1px}.ant-input-group>.ant-select-auto-complete .ant-select-search__field.ant-input-affix-wrapper{display:inline;float:none}.ant-select{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;outline:0}.ant-select,.ant-select ol,.ant-select ul{margin:0;padding:0;list-style:none}.ant-select>ul>li>a{padding:0;background-color:#fff}.ant-select-arrow{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;right:11px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:1;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.ant-select-arrow>*{line-height:1}.ant-select-arrow svg{display:inline-block}.ant-select-arrow:before{display:none}.ant-select-arrow .ant-select-arrow-icon{display:block}.ant-select-arrow .ant-select-arrow-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-select-selection{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;border:1px solid #d9d9d9;border-top-width:1.02px;border-radius:4px;outline:none;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-selection:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-select-focused .ant-select-selection,.ant-select-selection:active,.ant-select-selection:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-select-selection__clear{position:absolute;top:50%;right:11px;z-index:1;display:inline-block;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;font-style:normal;line-height:12px;text-align:center;text-transform:none;background:#fff;cursor:pointer;opacity:0;-webkit-transition:color .3s ease,opacity .15s ease;transition:color .3s ease,opacity .15s ease;text-rendering:auto}.ant-select-selection__clear:before{display:block}.ant-select-selection__clear:hover{color:rgba(0,0,0,.45)}.ant-select-selection:hover .ant-select-selection__clear{opacity:1}.ant-select-selection-selected-value{float:left;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-select-no-arrow .ant-select-selection-selected-value{padding-right:0}.ant-select-disabled{color:rgba(0,0,0,.25)}.ant-select-disabled .ant-select-selection{background:#f5f5f5;cursor:not-allowed}.ant-select-disabled .ant-select-selection:active,.ant-select-disabled .ant-select-selection:focus,.ant-select-disabled .ant-select-selection:hover{border-color:#d9d9d9;-webkit-box-shadow:none;box-shadow:none}.ant-select-disabled .ant-select-selection__clear{display:none;visibility:hidden;pointer-events:none}.ant-select-disabled .ant-select-selection--multiple .ant-select-selection__choice{padding-right:10px;color:rgba(0,0,0,.33);background:#f5f5f5}.ant-select-disabled .ant-select-selection--multiple .ant-select-selection__choice__remove{display:none}.ant-select-selection--single{position:relative;height:32px;cursor:pointer}.ant-select-selection--single .ant-select-selection__rendered{margin-right:24px}.ant-select-no-arrow .ant-select-selection__rendered{margin-right:11px}.ant-select-selection__rendered{position:relative;display:block;margin-right:11px;margin-left:11px;line-height:30px}.ant-select-selection__rendered:after{display:inline-block;width:0;visibility:hidden;content:".";pointer-events:none}.ant-select-lg{font-size:16px}.ant-select-lg .ant-select-selection--single{height:40px}.ant-select-lg .ant-select-selection__rendered{line-height:38px}.ant-select-lg .ant-select-selection--multiple{min-height:40px}.ant-select-lg .ant-select-selection--multiple .ant-select-selection__rendered li{height:32px;line-height:32px}.ant-select-lg .ant-select-selection--multiple .ant-select-arrow,.ant-select-lg .ant-select-selection--multiple .ant-select-selection__clear{top:20px}.ant-select-sm .ant-select-selection--single{height:24px}.ant-select-sm .ant-select-selection__rendered{margin-left:7px;line-height:22px}.ant-select-sm .ant-select-selection--multiple{min-height:24px}.ant-select-sm .ant-select-selection--multiple .ant-select-selection__rendered li{height:16px;line-height:14px}.ant-select-sm .ant-select-selection--multiple .ant-select-arrow,.ant-select-sm .ant-select-selection--multiple .ant-select-selection__clear{top:12px}.ant-select-sm .ant-select-arrow,.ant-select-sm .ant-select-selection__clear{right:8px}.ant-select-disabled .ant-select-selection__choice__remove{color:rgba(0,0,0,.25);cursor:default}.ant-select-disabled .ant-select-selection__choice__remove:hover{color:rgba(0,0,0,.25)}.ant-select-search__field__wrap{position:relative;display:inline-block}.ant-select-search__field__placeholder,.ant-select-selection__placeholder{position:absolute;top:50%;right:9px;left:0;max-width:100%;height:20px;margin-top:-10px;overflow:hidden;color:#bfbfbf;line-height:20px;white-space:nowrap;text-align:left;text-overflow:ellipsis}.ant-select-search__field__placeholder{left:12px}.ant-select-search__field__mirror{position:absolute;top:0;left:0;white-space:pre;opacity:0;pointer-events:none}.ant-select-search--inline{position:absolute;width:100%;height:100%}.ant-select-search--inline .ant-select-search__field__wrap{width:100%;height:100%}.ant-select-search--inline .ant-select-search__field{width:100%;height:100%;font-size:100%;line-height:1;background:transparent;border-width:0;border-radius:4px;outline:0}.ant-select-search--inline>i{float:right}.ant-select-selection--multiple{min-height:32px;padding-bottom:3px;cursor:text;zoom:1}.ant-select-selection--multiple:after,.ant-select-selection--multiple:before{display:table;content:""}.ant-select-selection--multiple:after{clear:both}.ant-select-selection--multiple .ant-select-search--inline{position:static;float:left;width:auto;max-width:100%;padding:0}.ant-select-selection--multiple .ant-select-search--inline .ant-select-search__field{width:.75em;max-width:100%;padding:1px}.ant-select-selection--multiple .ant-select-selection__rendered{height:auto;margin-bottom:-3px;margin-left:5px}.ant-select-selection--multiple .ant-select-selection__placeholder{margin-left:6px}.ant-select-selection--multiple .ant-select-selection__rendered>ul>li,.ant-select-selection--multiple>ul>li{height:24px;margin-top:3px;line-height:22px}.ant-select-selection--multiple .ant-select-selection__choice{position:relative;float:left;max-width:99%;margin-right:4px;padding:0 20px 0 10px;overflow:hidden;color:rgba(0,0,0,.65);background-color:#fafafa;border:1px solid #e8e8e8;border-radius:2px;cursor:default;-webkit-transition:padding .3s cubic-bezier(.645,.045,.355,1);transition:padding .3s cubic-bezier(.645,.045,.355,1)}.ant-select-selection--multiple .ant-select-selection__choice__disabled{padding:0 10px}.ant-select-selection--multiple .ant-select-selection__choice__content{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:margin .3s cubic-bezier(.645,.045,.355,1);transition:margin .3s cubic-bezier(.645,.045,.355,1)}.ant-select-selection--multiple .ant-select-selection__choice__remove{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;color:rgba(0,0,0,.45);font-weight:700;line-height:inherit;cursor:pointer;-webkit-transition:all .3s;transition:all .3s;display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}.ant-select-selection--multiple .ant-select-selection__choice__remove>*{line-height:1}.ant-select-selection--multiple .ant-select-selection__choice__remove svg{display:inline-block}.ant-select-selection--multiple .ant-select-selection__choice__remove:before{display:none}.ant-select-selection--multiple .ant-select-selection__choice__remove .ant-select-selection--multiple .ant-select-selection__choice__remove-icon{display:block}:root .ant-select-selection--multiple .ant-select-selection__choice__remove{font-size:12px}.ant-select-selection--multiple .ant-select-selection__choice__remove:hover{color:rgba(0,0,0,.75)}.ant-select-selection--multiple .ant-select-arrow,.ant-select-selection--multiple .ant-select-selection__clear{top:16px}.ant-select-allow-clear .ant-select-selection--multiple .ant-select-selection__rendered,.ant-select-show-arrow .ant-select-selection--multiple .ant-select-selection__rendered{margin-right:20px}.ant-select-open .ant-select-arrow-icon svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ant-select-open .ant-select-selection{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-select-combobox .ant-select-arrow{display:none}.ant-select-combobox .ant-select-search--inline{float:none;width:100%;height:100%}.ant-select-combobox .ant-select-search__field__wrap{width:100%;height:100%}.ant-select-combobox .ant-select-search__field{position:relative;z-index:1;width:100%;height:100%;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1),height 0s;transition:all .3s cubic-bezier(.645,.045,.355,1),height 0s}.ant-select-combobox.ant-select-allow-clear .ant-select-selection:hover .ant-select-selection__rendered,.ant-select-combobox.ant-select-show-arrow .ant-select-selection:hover .ant-select-selection__rendered{margin-right:20px}.ant-select-dropdown{margin:0;padding:0;color:rgba(0,0,0,.65);font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;font-variant:normal;background-color:#fff;border-radius:4px;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-select-dropdown.slide-up-appear.slide-up-appear-active.ant-select-dropdown-placement-bottomLeft,.ant-select-dropdown.slide-up-enter.slide-up-enter-active.ant-select-dropdown-placement-bottomLeft{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-select-dropdown.slide-up-appear.slide-up-appear-active.ant-select-dropdown-placement-topLeft,.ant-select-dropdown.slide-up-enter.slide-up-enter-active.ant-select-dropdown-placement-topLeft{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-select-dropdown.slide-up-leave.slide-up-leave-active.ant-select-dropdown-placement-bottomLeft{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-select-dropdown.slide-up-leave.slide-up-leave-active.ant-select-dropdown-placement-topLeft{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-select-dropdown-hidden{display:none}.ant-select-dropdown-menu{max-height:250px;margin-bottom:0;padding:4px 0;padding-left:0;overflow:auto;list-style:none;outline:none}.ant-select-dropdown-menu-item-group-list{margin:0;padding:0}.ant-select-dropdown-menu-item-group-list>.ant-select-dropdown-menu-item{padding-left:20px}.ant-select-dropdown-menu-item-group-title{height:32px;padding:0 12px;color:rgba(0,0,0,.45);font-size:12px;line-height:32px}.ant-select-dropdown-menu-item-group-list .ant-select-dropdown-menu-item:first-child:not(:last-child),.ant-select-dropdown-menu-item-group:not(:last-child) .ant-select-dropdown-menu-item-group-list .ant-select-dropdown-menu-item:last-child{border-radius:0}.ant-select-dropdown-menu-item{position:relative;display:block;padding:5px 12px;overflow:hidden;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled){background-color:#e6f7ff}.ant-select-dropdown-menu-item-selected{color:rgba(0,0,0,.65);font-weight:600;background-color:#fafafa}.ant-select-dropdown-menu-item-disabled,.ant-select-dropdown-menu-item-disabled:hover{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled){background-color:#e6f7ff}.ant-select-dropdown-menu-item-divider{height:1px;margin:1px 0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item{padding-right:32px}.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item .ant-select-selected-icon{position:absolute;top:50%;right:12px;color:transparent;font-weight:700;font-size:12px;text-shadow:0 .1px 0,.1px 0 0,0 -.1px 0,-.1px 0;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all .2s;transition:all .2s}.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item:hover .ant-select-selected-icon{color:rgba(0,0,0,.87)}.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-disabled .ant-select-selected-icon{display:none}.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected .ant-select-selected-icon,.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected:hover .ant-select-selected-icon{display:inline-block;color:#1890ff}.ant-select-dropdown--empty.ant-select-dropdown--multiple .ant-select-dropdown-menu-item{padding-right:12px}.ant-select-dropdown-container-open .ant-select-dropdown,.ant-select-dropdown-open .ant-select-dropdown{display:block}.ant-empty{margin:0 8px;font-size:14px;line-height:22px;text-align:center}.ant-empty-image{height:100px;margin-bottom:8px}.ant-empty-image img{height:100%}.ant-empty-image svg{height:100%;margin:auto}.ant-empty-description{margin:0}.ant-empty-footer{margin-top:16px}.ant-empty-normal{margin:32px 0;color:rgba(0,0,0,.25)}.ant-empty-normal .ant-empty-image{height:40px}.ant-empty-small{margin:8px 0;color:rgba(0,0,0,.25)}.ant-empty-small .ant-empty-image{height:35px}.ant-input{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;font-variant:tabular-nums;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;transition:all .3s}.ant-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-input:-ms-input-placeholder{color:#bfbfbf}.ant-input::-webkit-input-placeholder{color:#bfbfbf}.ant-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:focus,.ant-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-input-lg{height:40px;padding:6px 11px;font-size:16px}.ant-input-sm{height:24px;padding:1px 7px}.ant-input-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus,.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-group-addon{position:relative;padding:0 11px;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -11px}.ant-input-group-addon .ant-select .ant-select-selection{margin:-1px;background-color:inherit;border:1px solid transparent;-webkit-box-shadow:none;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selection,.ant-input-group-addon .ant-select-open .ant-select-selection{color:#1890ff}.ant-input-group-addon>i:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;content:""}.ant-input-group-addon:first-child,.ant-input-group-addon:first-child .ant-select .ant-select-selection,.ant-input-group>.ant-input:first-child,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selection{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group-addon:last-child .ant-select .ant-select-selection,.ant-input-group>.ant-input:last-child,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selection{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{height:40px;padding:6px 11px;font-size:16px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{height:24px;padding:1px 7px}.ant-input-group-lg .ant-select-selection--single{height:40px}.ant-input-group-sm .ant-select-selection--single{height:24px}.ant-input-group .ant-input-affix-wrapper{display:table-cell;float:left;width:100%}.ant-input-group.ant-input-group-compact{display:block;zoom:1}.ant-input-group.ant-input-group-compact:after,.ant-input-group.ant-input-group-compact:before{display:table;content:""}.ant-input-group.ant-input-group-compact:after{clear:both}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-calendar-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker .ant-time-picker-input{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-calendar-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-calendar-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper .ant-mention-editor:focus,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper .ant-mention-editor:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-focused,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selection:focus,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selection:hover,.ant-input-group.ant-input-group-compact>.ant-time-picker .ant-time-picker-input:focus,.ant-input-group.ant-input-group-compact>.ant-time-picker .ant-time-picker-input:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-calendar-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper:first-child .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker:first-child .ant-time-picker-input,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-input-group.ant-input-group-compact>.ant-calendar-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper:last-child .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker:last-child .ant-time-picker-input,.ant-input-group.ant-input-group-compact>:last-child{border-right-width:1px;border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-affix-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;text-align:start}.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#40a9ff;border-right-width:1px!important}.ant-input-affix-wrapper .ant-input{position:relative;text-align:inherit}.ant-input-affix-wrapper .ant-input-prefix,.ant-input-affix-wrapper .ant-input-suffix{position:absolute;top:50%;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:rgba(0,0,0,.65);line-height:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ant-input-affix-wrapper .ant-input-prefix :not(.anticon),.ant-input-affix-wrapper .ant-input-suffix :not(.anticon){line-height:1.5}.ant-input-affix-wrapper .ant-input-disabled~.ant-input-suffix .anticon{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-input-affix-wrapper .ant-input-prefix{left:12px}.ant-input-affix-wrapper .ant-input-suffix{right:12px}.ant-input-affix-wrapper .ant-input:not(:first-child){padding-left:30px}.ant-input-affix-wrapper .ant-input:not(:last-child){padding-right:30px}.ant-input-affix-wrapper.ant-input-affix-wrapper-input-with-clear-btn .ant-input:not(:last-child){padding-right:49px}.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input{padding-right:22px}.ant-input-password-icon{color:rgba(0,0,0,.45);cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-input-password-icon:hover{color:#333}.ant-input-clear-icon{color:rgba(0,0,0,.25);font-size:12px;cursor:pointer;-webkit-transition:color .3s;transition:color .3s;vertical-align:0}.ant-input-clear-icon:hover{color:rgba(0,0,0,.45)}.ant-input-clear-icon:active{color:rgba(0,0,0,.65)}.ant-input-clear-icon+i{margin-left:6px}.ant-input-textarea-clear-icon{color:rgba(0,0,0,.25);font-size:12px;cursor:pointer;-webkit-transition:color .3s;transition:color .3s;position:absolute;top:0;right:0;margin:8px 8px 0 0}.ant-input-textarea-clear-icon:hover{color:rgba(0,0,0,.45)}.ant-input-textarea-clear-icon:active{color:rgba(0,0,0,.65)}.ant-input-textarea-clear-icon+i{margin-left:6px}.ant-input-search-icon{color:rgba(0,0,0,.45);cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-input-search-icon:hover{color:rgba(0,0,0,.8)}.ant-input-search-enter-button input{border-right:0}.ant-input-search-enter-button+.ant-input-group-addon,.ant-input-search-enter-button input+.ant-input-group-addon{padding:0;border:0}.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button,.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button{border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn{line-height:1.499;position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;border:1px solid transparent;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.015);box-shadow:0 2px 0 rgba(0,0,0,.015);cursor:pointer;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-touch-action:manipulation;touch-action:manipulation;height:32px;padding:0 15px;font-size:14px;border-radius:4px;color:rgba(0,0,0,.65);background-color:#fff;border-color:#d9d9d9}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{text-decoration:none}.ant-btn:not([disabled]):active{outline:0;-webkit-box-shadow:none;box-shadow:none}.ant-btn.disabled,.ant-btn[disabled]{cursor:not-allowed}.ant-btn.disabled>*,.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{height:40px;padding:0 15px;font-size:16px;border-radius:4px}.ant-btn-sm{height:24px;padding:0 7px;font-size:14px;border-radius:4px}.ant-btn>a:only-child{color:currentColor}.ant-btn>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn:focus,.ant-btn:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.ant-btn:focus>a:only-child,.ant-btn:hover>a:only-child{color:currentColor}.ant-btn:focus>a:only-child:after,.ant-btn:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn.active,.ant-btn:active{color:#096dd9;background-color:#fff;border-color:#096dd9}.ant-btn.active>a:only-child,.ant-btn:active>a:only-child{color:currentColor}.ant-btn.active>a:only-child:after,.ant-btn:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-disabled,.ant-btn-disabled.active,.ant-btn-disabled:active,.ant-btn-disabled:focus,.ant-btn-disabled:hover,.ant-btn.disabled,.ant-btn.disabled.active,.ant-btn.disabled:active,.ant-btn.disabled:focus,.ant-btn.disabled:hover,.ant-btn[disabled],.ant-btn[disabled].active,.ant-btn[disabled]:active,.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-disabled.active>a:only-child,.ant-btn-disabled:active>a:only-child,.ant-btn-disabled:focus>a:only-child,.ant-btn-disabled:hover>a:only-child,.ant-btn-disabled>a:only-child,.ant-btn.disabled.active>a:only-child,.ant-btn.disabled:active>a:only-child,.ant-btn.disabled:focus>a:only-child,.ant-btn.disabled:hover>a:only-child,.ant-btn.disabled>a:only-child,.ant-btn[disabled].active>a:only-child,.ant-btn[disabled]:active>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]>a:only-child{color:currentColor}.ant-btn-disabled.active>a:only-child:after,.ant-btn-disabled:active>a:only-child:after,.ant-btn-disabled:focus>a:only-child:after,.ant-btn-disabled:hover>a:only-child:after,.ant-btn-disabled>a:only-child:after,.ant-btn.disabled.active>a:only-child:after,.ant-btn.disabled:active>a:only-child:after,.ant-btn.disabled:focus>a:only-child:after,.ant-btn.disabled:hover>a:only-child:after,.ant-btn.disabled>a:only-child:after,.ant-btn[disabled].active>a:only-child:after,.ant-btn[disabled]:active>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn.active,.ant-btn:active,.ant-btn:focus,.ant-btn:hover{text-decoration:none;background:#fff}.ant-btn>i,.ant-btn>span{display:inline-block;-webkit-transition:margin-left .3s cubic-bezier(.645,.045,.355,1);transition:margin-left .3s cubic-bezier(.645,.045,.355,1);pointer-events:none}.ant-btn-primary{color:#fff;background-color:#1890ff;border-color:#1890ff;text-shadow:0 -1px 0 rgba(0,0,0,.12);-webkit-box-shadow:0 2px 0 rgba(0,0,0,.045);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary:focus,.ant-btn-primary:hover{color:#fff;background-color:#40a9ff;border-color:#40a9ff}.ant-btn-primary:focus>a:only-child,.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-primary:focus>a:only-child:after,.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary.active,.ant-btn-primary:active{color:#fff;background-color:#096dd9;border-color:#096dd9}.ant-btn-primary.active>a:only-child,.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-primary.active>a:only-child:after,.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary-disabled,.ant-btn-primary-disabled.active,.ant-btn-primary-disabled:active,.ant-btn-primary-disabled:focus,.ant-btn-primary-disabled:hover,.ant-btn-primary.disabled,.ant-btn-primary.disabled.active,.ant-btn-primary.disabled:active,.ant-btn-primary.disabled:focus,.ant-btn-primary.disabled:hover,.ant-btn-primary[disabled],.ant-btn-primary[disabled].active,.ant-btn-primary[disabled]:active,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-primary-disabled.active>a:only-child,.ant-btn-primary-disabled:active>a:only-child,.ant-btn-primary-disabled:focus>a:only-child,.ant-btn-primary-disabled:hover>a:only-child,.ant-btn-primary-disabled>a:only-child,.ant-btn-primary.disabled.active>a:only-child,.ant-btn-primary.disabled:active>a:only-child,.ant-btn-primary.disabled:focus>a:only-child,.ant-btn-primary.disabled:hover>a:only-child,.ant-btn-primary.disabled>a:only-child,.ant-btn-primary[disabled].active>a:only-child,.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-primary-disabled.active>a:only-child:after,.ant-btn-primary-disabled:active>a:only-child:after,.ant-btn-primary-disabled:focus>a:only-child:after,.ant-btn-primary-disabled:hover>a:only-child:after,.ant-btn-primary-disabled>a:only-child:after,.ant-btn-primary.disabled.active>a:only-child:after,.ant-btn-primary.disabled:active>a:only-child:after,.ant-btn-primary.disabled:focus>a:only-child:after,.ant-btn-primary.disabled:hover>a:only-child:after,.ant-btn-primary.disabled>a:only-child:after,.ant-btn-primary[disabled].active>a:only-child:after,.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:rgba(0,0,0,.65);background-color:transparent;border-color:#d9d9d9}.ant-btn-ghost>a:only-child{color:currentColor}.ant-btn-ghost>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#40a9ff;background-color:transparent;border-color:#40a9ff}.ant-btn-ghost:focus>a:only-child,.ant-btn-ghost:hover>a:only-child{color:currentColor}.ant-btn-ghost:focus>a:only-child:after,.ant-btn-ghost:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost.active,.ant-btn-ghost:active{color:#096dd9;background-color:transparent;border-color:#096dd9}.ant-btn-ghost.active>a:only-child,.ant-btn-ghost:active>a:only-child{color:currentColor}.ant-btn-ghost.active>a:only-child:after,.ant-btn-ghost:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost-disabled,.ant-btn-ghost-disabled.active,.ant-btn-ghost-disabled:active,.ant-btn-ghost-disabled:focus,.ant-btn-ghost-disabled:hover,.ant-btn-ghost.disabled,.ant-btn-ghost.disabled.active,.ant-btn-ghost.disabled:active,.ant-btn-ghost.disabled:focus,.ant-btn-ghost.disabled:hover,.ant-btn-ghost[disabled],.ant-btn-ghost[disabled].active,.ant-btn-ghost[disabled]:active,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-ghost-disabled.active>a:only-child,.ant-btn-ghost-disabled:active>a:only-child,.ant-btn-ghost-disabled:focus>a:only-child,.ant-btn-ghost-disabled:hover>a:only-child,.ant-btn-ghost-disabled>a:only-child,.ant-btn-ghost.disabled.active>a:only-child,.ant-btn-ghost.disabled:active>a:only-child,.ant-btn-ghost.disabled:focus>a:only-child,.ant-btn-ghost.disabled:hover>a:only-child,.ant-btn-ghost.disabled>a:only-child,.ant-btn-ghost[disabled].active>a:only-child,.ant-btn-ghost[disabled]:active>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]>a:only-child{color:currentColor}.ant-btn-ghost-disabled.active>a:only-child:after,.ant-btn-ghost-disabled:active>a:only-child:after,.ant-btn-ghost-disabled:focus>a:only-child:after,.ant-btn-ghost-disabled:hover>a:only-child:after,.ant-btn-ghost-disabled>a:only-child:after,.ant-btn-ghost.disabled.active>a:only-child:after,.ant-btn-ghost.disabled:active>a:only-child:after,.ant-btn-ghost.disabled:focus>a:only-child:after,.ant-btn-ghost.disabled:hover>a:only-child:after,.ant-btn-ghost.disabled>a:only-child:after,.ant-btn-ghost[disabled].active>a:only-child:after,.ant-btn-ghost[disabled]:active>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed{color:rgba(0,0,0,.65);background-color:#fff;border-color:#d9d9d9;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentColor}.ant-btn-dashed>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.ant-btn-dashed:focus>a:only-child,.ant-btn-dashed:hover>a:only-child{color:currentColor}.ant-btn-dashed:focus>a:only-child:after,.ant-btn-dashed:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed.active,.ant-btn-dashed:active{color:#096dd9;background-color:#fff;border-color:#096dd9}.ant-btn-dashed.active>a:only-child,.ant-btn-dashed:active>a:only-child{color:currentColor}.ant-btn-dashed.active>a:only-child:after,.ant-btn-dashed:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed-disabled,.ant-btn-dashed-disabled.active,.ant-btn-dashed-disabled:active,.ant-btn-dashed-disabled:focus,.ant-btn-dashed-disabled:hover,.ant-btn-dashed.disabled,.ant-btn-dashed.disabled.active,.ant-btn-dashed.disabled:active,.ant-btn-dashed.disabled:focus,.ant-btn-dashed.disabled:hover,.ant-btn-dashed[disabled],.ant-btn-dashed[disabled].active,.ant-btn-dashed[disabled]:active,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-dashed-disabled.active>a:only-child,.ant-btn-dashed-disabled:active>a:only-child,.ant-btn-dashed-disabled:focus>a:only-child,.ant-btn-dashed-disabled:hover>a:only-child,.ant-btn-dashed-disabled>a:only-child,.ant-btn-dashed.disabled.active>a:only-child,.ant-btn-dashed.disabled:active>a:only-child,.ant-btn-dashed.disabled:focus>a:only-child,.ant-btn-dashed.disabled:hover>a:only-child,.ant-btn-dashed.disabled>a:only-child,.ant-btn-dashed[disabled].active>a:only-child,.ant-btn-dashed[disabled]:active>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]>a:only-child{color:currentColor}.ant-btn-dashed-disabled.active>a:only-child:after,.ant-btn-dashed-disabled:active>a:only-child:after,.ant-btn-dashed-disabled:focus>a:only-child:after,.ant-btn-dashed-disabled:hover>a:only-child:after,.ant-btn-dashed-disabled>a:only-child:after,.ant-btn-dashed.disabled.active>a:only-child:after,.ant-btn-dashed.disabled:active>a:only-child:after,.ant-btn-dashed.disabled:focus>a:only-child:after,.ant-btn-dashed.disabled:hover>a:only-child:after,.ant-btn-dashed.disabled>a:only-child:after,.ant-btn-dashed[disabled].active>a:only-child:after,.ant-btn-dashed[disabled]:active>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger{color:#fff;background-color:#ff4d4f;border-color:#ff4d4f;text-shadow:0 -1px 0 rgba(0,0,0,.12);-webkit-box-shadow:0 2px 0 rgba(0,0,0,.045);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger:focus,.ant-btn-danger:hover{color:#fff;background-color:#ff7875;border-color:#ff7875}.ant-btn-danger:focus>a:only-child,.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-danger:focus>a:only-child:after,.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger.active,.ant-btn-danger:active{color:#fff;background-color:#d9363e;border-color:#d9363e}.ant-btn-danger.active>a:only-child,.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-danger.active>a:only-child:after,.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger-disabled,.ant-btn-danger-disabled.active,.ant-btn-danger-disabled:active,.ant-btn-danger-disabled:focus,.ant-btn-danger-disabled:hover,.ant-btn-danger.disabled,.ant-btn-danger.disabled.active,.ant-btn-danger.disabled:active,.ant-btn-danger.disabled:focus,.ant-btn-danger.disabled:hover,.ant-btn-danger[disabled],.ant-btn-danger[disabled].active,.ant-btn-danger[disabled]:active,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-danger-disabled.active>a:only-child,.ant-btn-danger-disabled:active>a:only-child,.ant-btn-danger-disabled:focus>a:only-child,.ant-btn-danger-disabled:hover>a:only-child,.ant-btn-danger-disabled>a:only-child,.ant-btn-danger.disabled.active>a:only-child,.ant-btn-danger.disabled:active>a:only-child,.ant-btn-danger.disabled:focus>a:only-child,.ant-btn-danger.disabled:hover>a:only-child,.ant-btn-danger.disabled>a:only-child,.ant-btn-danger[disabled].active>a:only-child,.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-danger-disabled.active>a:only-child:after,.ant-btn-danger-disabled:active>a:only-child:after,.ant-btn-danger-disabled:focus>a:only-child:after,.ant-btn-danger-disabled:hover>a:only-child:after,.ant-btn-danger-disabled>a:only-child:after,.ant-btn-danger.disabled.active>a:only-child:after,.ant-btn-danger.disabled:active>a:only-child:after,.ant-btn-danger.disabled:focus>a:only-child:after,.ant-btn-danger.disabled:hover>a:only-child:after,.ant-btn-danger.disabled>a:only-child:after,.ant-btn-danger[disabled].active>a:only-child:after,.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link{color:#1890ff;background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.ant-btn-link>a:only-child{color:currentColor}.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link:focus,.ant-btn-link:hover{color:#40a9ff;background-color:transparent;border-color:#40a9ff}.ant-btn-link:focus>a:only-child,.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-link:focus>a:only-child:after,.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link.active,.ant-btn-link:active{color:#096dd9;background-color:transparent;border-color:#096dd9}.ant-btn-link.active>a:only-child,.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-link.active>a:only-child:after,.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link-disabled,.ant-btn-link-disabled.active,.ant-btn-link-disabled:active,.ant-btn-link-disabled:focus,.ant-btn-link-disabled:hover,.ant-btn-link.disabled,.ant-btn-link.disabled.active,.ant-btn-link.disabled:active,.ant-btn-link.disabled:focus,.ant-btn-link.disabled:hover,.ant-btn-link[disabled],.ant-btn-link[disabled].active,.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-link:active,.ant-btn-link:focus,.ant-btn-link:hover{border-color:transparent}.ant-btn-link-disabled,.ant-btn-link-disabled.active,.ant-btn-link-disabled:active,.ant-btn-link-disabled:focus,.ant-btn-link-disabled:hover,.ant-btn-link.disabled,.ant-btn-link.disabled.active,.ant-btn-link.disabled:active,.ant-btn-link.disabled:focus,.ant-btn-link.disabled:hover,.ant-btn-link[disabled],.ant-btn-link[disabled].active,.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);background-color:transparent;border-color:transparent;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-link-disabled.active>a:only-child,.ant-btn-link-disabled:active>a:only-child,.ant-btn-link-disabled:focus>a:only-child,.ant-btn-link-disabled:hover>a:only-child,.ant-btn-link-disabled>a:only-child,.ant-btn-link.disabled.active>a:only-child,.ant-btn-link.disabled:active>a:only-child,.ant-btn-link.disabled:focus>a:only-child,.ant-btn-link.disabled:hover>a:only-child,.ant-btn-link.disabled>a:only-child,.ant-btn-link[disabled].active>a:only-child,.ant-btn-link[disabled]:active>a:only-child,.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-link-disabled.active>a:only-child:after,.ant-btn-link-disabled:active>a:only-child:after,.ant-btn-link-disabled:focus>a:only-child:after,.ant-btn-link-disabled:hover>a:only-child:after,.ant-btn-link-disabled>a:only-child:after,.ant-btn-link.disabled.active>a:only-child:after,.ant-btn-link.disabled:active>a:only-child:after,.ant-btn-link.disabled:focus>a:only-child:after,.ant-btn-link.disabled:hover>a:only-child:after,.ant-btn-link.disabled>a:only-child:after,.ant-btn-link[disabled].active>a:only-child:after,.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-icon-only{width:32px;height:32px;padding:0;font-size:16px;border-radius:4px}.ant-btn-icon-only.ant-btn-lg{width:40px;height:40px;padding:0;font-size:18px;border-radius:4px}.ant-btn-icon-only.ant-btn-sm{width:24px;height:24px;padding:0;font-size:14px;border-radius:4px}.ant-btn-icon-only>i{vertical-align:middle}.ant-btn-round{height:32px;padding:0 16px;font-size:14px;border-radius:32px}.ant-btn-round.ant-btn-lg{height:40px;padding:0 20px;font-size:16px;border-radius:40px}.ant-btn-round.ant-btn-sm{height:24px;padding:0 12px;font-size:14px;border-radius:24px}.ant-btn-round.ant-btn-icon-only{width:auto}.ant-btn-circle,.ant-btn-circle-outline{min-width:32px;padding-right:0;padding-left:0;text-align:center;border-radius:50%}.ant-btn-circle-outline.ant-btn-lg,.ant-btn-circle.ant-btn-lg{min-width:40px;border-radius:50%}.ant-btn-circle-outline.ant-btn-sm,.ant-btn-circle.ant-btn-sm{min-width:24px;border-radius:50%}.ant-btn:before{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:1;display:none;background:#fff;border-radius:inherit;opacity:.35;-webkit-transition:opacity .2s;transition:opacity .2s;content:"";pointer-events:none}.ant-btn .anticon{-webkit-transition:margin-left .3s cubic-bezier(.645,.045,.355,1);transition:margin-left .3s cubic-bezier(.645,.045,.355,1)}.ant-btn .anticon.anticon-minus>svg,.ant-btn .anticon.anticon-plus>svg{shape-rendering:optimizeSpeed}.ant-btn.ant-btn-loading{position:relative}.ant-btn.ant-btn-loading:not([disabled]){pointer-events:none}.ant-btn.ant-btn-loading:before{display:block}.ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only){padding-left:29px}.ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) .anticon:not(:last-child){margin-left:-14px}.ant-btn-sm.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only){padding-left:24px}.ant-btn-sm.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) .anticon{margin-left:-17px}.ant-btn-group{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.ant-btn-group,.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative}.ant-btn-group>.ant-btn.active,.ant-btn-group>.ant-btn:active,.ant-btn-group>.ant-btn:focus,.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn.active,.ant-btn-group>span>.ant-btn:active,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>span>.ant-btn:hover{z-index:2}.ant-btn-group>.ant-btn:disabled,.ant-btn-group>span>.ant-btn:disabled{z-index:0}.ant-btn-group>.ant-btn-icon-only{font-size:14px}.ant-btn-group-lg>.ant-btn,.ant-btn-group-lg>span>.ant-btn{height:40px;padding:0 15px;font-size:16px;border-radius:0;line-height:38px}.ant-btn-group-lg>.ant-btn.ant-btn-icon-only{width:40px;height:40px;padding-right:0;padding-left:0}.ant-btn-group-sm>.ant-btn,.ant-btn-group-sm>span>.ant-btn{height:24px;padding:0 7px;font-size:14px;border-radius:0;line-height:22px}.ant-btn-group-sm>.ant-btn>.anticon,.ant-btn-group-sm>span>.ant-btn>.anticon{font-size:14px}.ant-btn-group-sm>.ant-btn.ant-btn-icon-only{width:24px;height:24px;padding-right:0;padding-left:0}.ant-btn+.ant-btn-group,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group,.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group>span+span,.ant-btn-group span+.ant-btn{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child,.ant-btn-group>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-btn-group-sm>.ant-btn:only-child,.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{padding-right:8px;border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{padding-left:8px;border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn:active>span,.ant-btn:focus>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:8px}.ant-btn-background-ghost{color:#fff;background:transparent!important;border-color:#fff}.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;background-color:transparent;border-color:#1890ff;text-shadow:none}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#40a9ff;background-color:transparent;border-color:#40a9ff}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary.active,.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;background-color:transparent;border-color:#096dd9}.ant-btn-background-ghost.ant-btn-primary.active>a:only-child,.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary-disabled,.ant-btn-background-ghost.ant-btn-primary-disabled.active,.ant-btn-background-ghost.ant-btn-primary-disabled:active,.ant-btn-background-ghost.ant-btn-primary-disabled:focus,.ant-btn-background-ghost.ant-btn-primary-disabled:hover,.ant-btn-background-ghost.ant-btn-primary.disabled,.ant-btn-background-ghost.ant-btn-primary.disabled.active,.ant-btn-background-ghost.ant-btn-primary.disabled:active,.ant-btn-background-ghost.ant-btn-primary.disabled:focus,.ant-btn-background-ghost.ant-btn-primary.disabled:hover,.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled].active,.ant-btn-background-ghost.ant-btn-primary[disabled]:active,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-primary-disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-primary-disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary-disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary-disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary-disabled>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled].active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary-disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary-disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary-disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary-disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary-disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled].active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger{color:#ff4d4f;background-color:transparent;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:focus,.ant-btn-background-ghost.ant-btn-danger:hover{color:#ff7875;background-color:transparent;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger.active,.ant-btn-background-ghost.ant-btn-danger:active{color:#d9363e;background-color:transparent;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-danger.active>a:only-child,.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger-disabled,.ant-btn-background-ghost.ant-btn-danger-disabled.active,.ant-btn-background-ghost.ant-btn-danger-disabled:active,.ant-btn-background-ghost.ant-btn-danger-disabled:focus,.ant-btn-background-ghost.ant-btn-danger-disabled:hover,.ant-btn-background-ghost.ant-btn-danger.disabled,.ant-btn-background-ghost.ant-btn-danger.disabled.active,.ant-btn-background-ghost.ant-btn-danger.disabled:active,.ant-btn-background-ghost.ant-btn-danger.disabled:focus,.ant-btn-background-ghost.ant-btn-danger.disabled:hover,.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled].active,.ant-btn-background-ghost.ant-btn-danger[disabled]:active,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-danger-disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-danger-disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger-disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger-disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger-disabled>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled].active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger-disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger-disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger-disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger-disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger-disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled].active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-link{color:#1890ff;background-color:transparent;border-color:transparent;text-shadow:none;color:#fff}.ant-btn-background-ghost.ant-btn-link>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-link:focus,.ant-btn-background-ghost.ant-btn-link:hover{color:#40a9ff;background-color:transparent;border-color:transparent}.ant-btn-background-ghost.ant-btn-link:focus>a:only-child,.ant-btn-background-ghost.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-link:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-link.active,.ant-btn-background-ghost.ant-btn-link:active{color:#096dd9;background-color:transparent;border-color:transparent}.ant-btn-background-ghost.ant-btn-link.active>a:only-child,.ant-btn-background-ghost.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-link.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-link-disabled,.ant-btn-background-ghost.ant-btn-link-disabled.active,.ant-btn-background-ghost.ant-btn-link-disabled:active,.ant-btn-background-ghost.ant-btn-link-disabled:focus,.ant-btn-background-ghost.ant-btn-link-disabled:hover,.ant-btn-background-ghost.ant-btn-link.disabled,.ant-btn-background-ghost.ant-btn-link.disabled.active,.ant-btn-background-ghost.ant-btn-link.disabled:active,.ant-btn-background-ghost.ant-btn-link.disabled:focus,.ant-btn-background-ghost.ant-btn-link.disabled:hover,.ant-btn-background-ghost.ant-btn-link[disabled],.ant-btn-background-ghost.ant-btn-link[disabled].active,.ant-btn-background-ghost.ant-btn-link[disabled]:active,.ant-btn-background-ghost.ant-btn-link[disabled]:focus,.ant-btn-background-ghost.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-link-disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-link-disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-link-disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-link-disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-link-disabled>a:only-child,.ant-btn-background-ghost.ant-btn-link.disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-link.disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-link.disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-link.disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-link.disabled>a:only-child,.ant-btn-background-ghost.ant-btn-link[disabled].active>a:only-child,.ant-btn-background-ghost.ant-btn-link[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-link-disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-link-disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-link-disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-link-disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-link-disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-link.disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-link.disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-link.disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-link.disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-link.disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-link[disabled].active>a:only-child:after,.ant-btn-background-ghost.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>:not(.anticon){margin-right:-.34em;letter-spacing:.34em}.ant-btn-block{width:100%}.ant-btn:empty{vertical-align:top}a.ant-btn{padding-top:.1px;line-height:30px}a.ant-btn-lg{line-height:38px}a.ant-btn-sm{line-height:22px}.ant-avatar{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;overflow:hidden;color:#fff;white-space:nowrap;text-align:center;vertical-align:middle;background:#ccc;width:32px;height:32px;line-height:32px;border-radius:50%}.ant-avatar-image{background:transparent}.ant-avatar-string{position:absolute;left:50%;-webkit-transform-origin:0 center;transform-origin:0 center}.ant-avatar.ant-avatar-icon{font-size:18px}.ant-avatar-lg{width:40px;height:40px;line-height:40px;border-radius:50%}.ant-avatar-lg-string{position:absolute;left:50%;-webkit-transform-origin:0 center;transform-origin:0 center}.ant-avatar-lg.ant-avatar-icon{font-size:24px}.ant-avatar-sm{width:24px;height:24px;line-height:24px;border-radius:50%}.ant-avatar-sm-string{position:absolute;left:50%;-webkit-transform-origin:0 center;transform-origin:0 center}.ant-avatar-sm.ant-avatar-icon{font-size:14px}.ant-avatar-square{border-radius:4px}.ant-avatar>img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.ant-back-top{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:fixed;right:100px;bottom:50px;z-index:10;width:40px;height:40px;cursor:pointer}.ant-back-top-content{width:40px;height:40px;overflow:hidden;color:#fff;text-align:center;background-color:rgba(0,0,0,.45);border-radius:20px}.ant-back-top-content,.ant-back-top-content:hover{-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-back-top-content:hover{background-color:rgba(0,0,0,.65)}.ant-back-top-icon{width:14px;height:16px;margin:12px auto;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAYAAACWwljjAAAABGdBTUEAALGPC/xhBQAAAbtJREFUWAntmMtKw0AUhhMvS5cuxILgQlRUpIggIoKIIoigG1eC+AA+jo+i6FIXBfeuXIgoeKVeitVWJX5HWhhDksnUpp3FDPyZk3Nm5nycmZKkXhAEOXSA3lG7muTeRzmfy6HneUvIhnYkQK+Q9NhAA0Opg0vBEhjBKHiyb8iGMyQMOYuK41BcBSypAL+MYXSKjtFAW7EAGEO3qN4uMQbbAkXiSfRQJ1H6a+yhlkKRcAoVFYiweYNjtCVQJJpBz2GCiPt7fBOZQpFgDpUikse5HgnkM4Fi4QX0Fpc5wf9EbLqpUCy4jMoJSXWhFwbMNgWKhVbRhy5jirhs9fy/oFhgHVVTJEs7RLZ8sSEoJm6iz7SZDMbJ+/OKERQTttCXQRLToRUmrKWCYuA2+jbN0MB4OQobYShfdTCgn/sL1K36M7TLrN3n+758aPy2rrpR6+/od5E8tf/A1uLS9aId5T7J3CNYihkQ4D9PiMdMC7mp4rjB9kjFjZp8BlnVHJBuO1yFXIV0FdDF3RlyFdJVQBdv5AxVdIsq8apiZ2PyYO1EVykesGfZEESsCkweyR8MUW+V8uJ1gkYipmpdP1pm2aJVPEGzAAAAAElFTkSuQmCC) 100%/100% no-repeat}@media screen and (max-width:768px){.ant-back-top{right:60px}}@media screen and (max-width:480px){.ant-back-top{right:20px}}.ant-badge{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;color:unset;line-height:1}.ant-badge-count{min-width:20px;height:20px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:20px;white-space:nowrap;text-align:center;background:#f5222d;border-radius:10px;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{width:6px;height:6px;background:#f5222d;border-radius:100%;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;z-index:1;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100% 0;transform-origin:100% 0}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;-webkit-animation:antStatusProcessing 1.2s ease-in-out infinite;animation:antStatusProcessing 1.2s ease-in-out infinite;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#f5222d}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-magenta,.ant-badge-status-pink{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:rgba(0,0,0,.65);font-size:14px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{-webkit-animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-zoom-leave{-webkit-animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number{position:relative;top:auto;display:block}.ant-badge-not-a-wrapper .ant-badge-count{-webkit-transform:none;transform:none}@-webkit-keyframes antStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}@keyframes antStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden}.ant-scroll-number-only{display:inline-block;height:20px;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:20px;margin:0}.ant-scroll-number-symbol{vertical-align:top}@-webkit-keyframes antZoomBadgeIn{0%{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}to{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeIn{0%{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}to{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}}@-webkit-keyframes antZoomBadgeOut{0%{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}to{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antZoomBadgeOut{0%{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}to{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}}.ant-breadcrumb{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";color:rgba(0,0,0,.45);font-size:14px}.ant-breadcrumb .anticon{font-size:14px}.ant-breadcrumb a{color:rgba(0,0,0,.45);-webkit-transition:color .3s;transition:color .3s}.ant-breadcrumb a:hover{color:#40a9ff}.ant-breadcrumb>span:last-child,.ant-breadcrumb>span:last-child a{color:rgba(0,0,0,.65)}.ant-breadcrumb>span:last-child .ant-breadcrumb-separator{display:none}.ant-breadcrumb-separator{margin:0 8px;color:rgba(0,0,0,.45)}.ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-overlay-link>.anticon{margin-left:4px}.ant-menu{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin-bottom:0;padding-left:0;color:rgba(0,0,0,.65);line-height:0;list-style:none;background:#fff;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15);-webkit-transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;zoom:1}.ant-menu:after,.ant-menu:before{display:table;content:""}.ant-menu:after{clear:both}.ant-menu ol,.ant-menu ul{margin:0;padding:0;list-style:none}.ant-menu-hidden{display:none}.ant-menu-item-group-title{padding:8px 16px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;-webkit-transition:all .3s;transition:all .3s}.ant-menu-submenu,.ant-menu-submenu-inline{-webkit-transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1);transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#1890ff}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:auto;-webkit-transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-item>a:hover{color:#1890ff}.ant-menu-item>a:before{position:absolute;top:0;right:0;bottom:0;left:0;background-color:transparent;content:""}.ant-menu-item>.ant-badge>a{color:rgba(0,0,0,.65)}.ant-menu-item>.ant-badge>a:hover{color:#1890ff}.ant-menu-item-divider{height:1px;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-menu-item-active,.ant-menu-item:hover,.ant-menu-submenu-active,.ant-menu-submenu-title:hover,.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#1890ff}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected,.ant-menu-item-selected>a,.ant-menu-item-selected>a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #e8e8e8}.ant-menu-vertical-right{border-left:1px solid #e8e8e8}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px;padding:0;border-right:0;-webkit-transform-origin:0 0;transform-origin:0 0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{-webkit-transform-origin:0 0;transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 20px;white-space:nowrap;cursor:pointer;-webkit-transition:color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1);transition:color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .anticon,.ant-menu-submenu-title .anticon{min-width:14px;margin-right:10px;font-size:14px;-webkit-transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1);transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .anticon+span,.ant-menu-submenu-title .anticon+span{opacity:1;-webkit-transition:opacity .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1);transition:opacity .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1)}.ant-menu>.ant-menu-item-divider{height:1px;margin:1px 0;padding:0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-menu-submenu-popup{position:absolute;z-index:1050;border-radius:4px}.ant-menu-submenu-popup .submenu-title-wrapper{padding-right:20px}.ant-menu-submenu-popup:before{position:absolute;top:-7px;right:0;bottom:0;left:0;opacity:.0001;content:" "}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:4px}.ant-menu-submenu>.ant-menu-submenu-title:after{-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{position:absolute;top:50%;right:16px;width:10px;-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{position:absolute;width:6px;height:1.5px;background:#fff;background:rgba(0,0,0,.65)\9;background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.65)),to(rgba(0,0,0,.65)));background-image:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.65));background-image:none\9;border-radius:2px;-webkit-transition:background .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{-webkit-transform:rotate(45deg) translateY(-2px);transform:rotate(45deg) translateY(-2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{-webkit-transform:rotate(-45deg) translateY(2px);transform:rotate(-45deg) translateY(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before{background:-webkit-gradient(linear,left top,right top,from(#1890ff),to(#1890ff));background:linear-gradient(90deg,#1890ff,#1890ff)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{-webkit-transform:rotate(-45deg) translateX(2px);transform:rotate(-45deg) translateX(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{-webkit-transform:rotate(45deg) translateX(-2px);transform:rotate(45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow{-webkit-transform:translateY(-2px);transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{-webkit-transform:rotate(-45deg) translateX(-2px);transform:rotate(-45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{-webkit-transform:rotate(45deg) translateX(2px);transform:rotate(45deg) translateX(2px)}.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected>a,.ant-menu-vertical-right .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected>a,.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical .ant-menu-submenu-selected>a{color:#1890ff}.ant-menu-horizontal{line-height:46px;white-space:nowrap;border:0;border-bottom:1px solid #e8e8e8;-webkit-box-shadow:none;box-shadow:none}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom;border-bottom:2px solid transparent}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover{color:#1890ff;border-bottom:2px solid #1890ff}.ant-menu-horizontal>.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-horizontal>.ant-menu-item>a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item>a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected>a{color:#1890ff}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:"\20"}.ant-menu-inline .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #1890ff;-webkit-transform:scaleY(.0001);transform:scaleY(.0001);opacity:0;-webkit-transition:opacity .15s cubic-bezier(.215,.61,.355,1),-webkit-transform .15s cubic-bezier(.215,.61,.355,1);transition:opacity .15s cubic-bezier(.215,.61,.355,1),-webkit-transform .15s cubic-bezier(.215,.61,.355,1);transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1),-webkit-transform .15s cubic-bezier(.215,.61,.355,1);content:""}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title{height:40px;margin-top:4px;margin-bottom:4px;padding:0 16px;overflow:hidden;font-size:14px;line-height:40px;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu{padding-bottom:.02px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child){margin-bottom:8px}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{-webkit-transform:scaleY(1);transform:scaleY(1);opacity:1;-webkit-transition:opacity .15s cubic-bezier(.645,.045,.355,1),-webkit-transform .15s cubic-bezier(.645,.045,.355,1);transition:opacity .15s cubic-bezier(.645,.045,.355,1),-webkit-transform .15s cubic-bezier(.645,.045,.355,1);transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1);transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1),-webkit-transform .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline-collapsed{width:80px}.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 32px!important;text-overflow:clip}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{display:none}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:16px;line-height:40px}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;max-width:0;opacity:0}.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu-inline-collapsed-tooltip a{color:hsla(0,0%,100%,.85)}.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right,.ant-menu-sub.ant-menu-inline{-webkit-box-shadow:none;box-shadow:none}.ant-menu-sub.ant-menu-inline{padding:0;border:0;border-radius:0}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:rgba(0,0,0,.25)!important;background:none;border-color:transparent!important;cursor:not-allowed}.ant-menu-item-disabled>a,.ant-menu-submenu-disabled>a{color:rgba(0,0,0,.25)!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(0,0,0,.25)!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(0,0,0,.25)!important}.ant-menu-dark,.ant-menu-dark .ant-menu-sub{color:hsla(0,0%,100%,.65);background:#001529}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;-webkit-transition:all .3s;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:transparent}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.45) inset;box-shadow:inset 0 2px 8px rgba(0,0,0,.45)}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;border-color:#001529;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a{color:hsla(0,0%,100%,.65)}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:transparent}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-title:hover>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:transparent}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected .anticon,.ant-menu-dark .ant-menu-item-selected .anticon+span,.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a{color:hsla(0,0%,100%,.35)!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:hsla(0,0%,100%,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:hsla(0,0%,100%,.35)!important}.ant-tooltip{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;z-index:1060;display:block;max-width:250px;visibility:visible}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:8px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightBottom,.ant-tooltip-placement-rightTop{padding-left:8px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:8px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftBottom,.ant-tooltip-placement-leftTop{padding-right:8px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:rgba(0,0,0,.75);border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-tooltip-arrow{position:absolute;display:block;width:13.07106781px;height:13.07106781px;overflow:hidden;background:transparent;pointer-events:none}.ant-tooltip-arrow:before{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:5px;height:5px;margin:auto;background-color:rgba(0,0,0,.75);content:"";pointer-events:auto}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:-5.07106781px}.ant-tooltip-placement-top .ant-tooltip-arrow:before,.ant-tooltip-placement-topLeft .ant-tooltip-arrow:before,.ant-tooltip-placement-topRight .ant-tooltip-arrow:before{-webkit-box-shadow:3px 3px 7px rgba(0,0,0,.07);box-shadow:3px 3px 7px rgba(0,0,0,.07);-webkit-transform:translateY(-6.53553391px) rotate(45deg);transform:translateY(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow{left:-5.07106781px}.ant-tooltip-placement-right .ant-tooltip-arrow:before,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow:before,.ant-tooltip-placement-rightTop .ant-tooltip-arrow:before{-webkit-box-shadow:-3px 3px 7px rgba(0,0,0,.07);box-shadow:-3px 3px 7px rgba(0,0,0,.07);-webkit-transform:translateX(6.53553391px) rotate(45deg);transform:translateX(6.53553391px) rotate(45deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow{right:-5.07106781px}.ant-tooltip-placement-left .ant-tooltip-arrow:before,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow:before,.ant-tooltip-placement-leftTop .ant-tooltip-arrow:before{-webkit-box-shadow:3px -3px 7px rgba(0,0,0,.07);box-shadow:3px -3px 7px rgba(0,0,0,.07);-webkit-transform:translateX(-6.53553391px) rotate(45deg);transform:translateX(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:-5.07106781px}.ant-tooltip-placement-bottom .ant-tooltip-arrow:before,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow:before,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow:before{-webkit-box-shadow:-3px -3px 7px rgba(0,0,0,.07);box-shadow:-3px -3px 7px rgba(0,0,0,.07);-webkit-transform:translateY(6.53553391px) rotate(45deg);transform:translateY(6.53553391px) rotate(45deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-dropdown{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;top:-7px;right:0;bottom:-7px;left:-7px;z-index:-9999;opacity:.0001;content:" "}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-wrap .ant-btn>.anticon-down{font-size:12px}.ant-dropdown-wrap .anticon-down:before{-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.ant-dropdown-wrap-open .anticon-down:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden{display:none}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:4px;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15);-webkit-transform:translateZ(0)}.ant-dropdown-menu-item-group-title{padding:5px 12px;color:rgba(0,0,0,.45);-webkit-transition:all .3s;transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050}.ant-dropdown-menu-submenu-popup>.ant-dropdown-menu{-webkit-transform-origin:0 0;transform-origin:0 0}.ant-dropdown-menu-submenu-popup li,.ant-dropdown-menu-submenu-popup ul{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em;padding:0}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 12px;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-menu-submenu-title>span>.anticon:first-child{min-width:12px;margin-right:8px;font-size:12px}.ant-dropdown-menu-item>a,.ant-dropdown-menu-submenu-title>a{display:block;margin:-5px -12px;padding:5px 12px;color:rgba(0,0,0,.65);-webkit-transition:all .3s;transition:all .3s}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-item-selected>a,.ant-dropdown-menu-submenu-title-selected,.ant-dropdown-menu-submenu-title-selected>a{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#e6f7ff}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{position:absolute;right:8px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:rgba(0,0,0,.45);font-style:normal;display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,:root .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{font-size:12px}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:26px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;-webkit-transform-origin:0 0;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#1890ff}.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-trigger>.anticon.anticon-down{display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-link>.anticon.anticon-down,:root .ant-dropdown-trigger>.anticon.anticon-down{font-size:12px}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child){padding-right:8px;padding-left:8px}.ant-dropdown-button .anticon.anticon-down{display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-button .anticon.anticon-down{font-size:12px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:hsla(0,0%,100%,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:transparent}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#1890ff}.ant-fullcalendar{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";border-top:1px solid #d9d9d9;outline:none}.ant-select.ant-fullcalendar-year-select{min-width:90px}.ant-select.ant-fullcalendar-year-select.ant-select-sm{min-width:70px}.ant-select.ant-fullcalendar-month-select{min-width:80px;margin-left:8px}.ant-select.ant-fullcalendar-month-select.ant-select-sm{min-width:70px}.ant-fullcalendar-header{padding:11px 16px 11px 0;text-align:right}.ant-fullcalendar-header .ant-select-dropdown{text-align:left}.ant-fullcalendar-header .ant-radio-group{margin-left:8px;text-align:left}.ant-fullcalendar-header label.ant-radio-button{height:22px;padding:0 10px;line-height:20px}.ant-fullcalendar-date-panel{position:relative;outline:none}.ant-fullcalendar-calendar-body{padding:8px 12px}.ant-fullcalendar table{width:100%;max-width:100%;height:256px;background-color:transparent;border-collapse:collapse}.ant-fullcalendar table,.ant-fullcalendar td,.ant-fullcalendar th{border:0}.ant-fullcalendar td{position:relative}.ant-fullcalendar-calendar-table{margin-bottom:0;border-spacing:0}.ant-fullcalendar-column-header{width:33px;padding:0;line-height:18px;text-align:center}.ant-fullcalendar-column-header .ant-fullcalendar-column-header-inner{display:block;font-weight:400}.ant-fullcalendar-week-number-header .ant-fullcalendar-column-header-inner{display:none}.ant-fullcalendar-date,.ant-fullcalendar-month{text-align:center;-webkit-transition:all .3s;transition:all .3s}.ant-fullcalendar-value{display:block;width:24px;height:24px;margin:0 auto;padding:0;color:rgba(0,0,0,.65);line-height:24px;background:transparent;border-radius:2px;-webkit-transition:all .3s;transition:all .3s}.ant-fullcalendar-value:hover{background:#e6f7ff;cursor:pointer}.ant-fullcalendar-value:active{color:#fff;background:#1890ff}.ant-fullcalendar-month-panel-cell .ant-fullcalendar-value{width:48px}.ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-value,.ant-fullcalendar-today .ant-fullcalendar-value{-webkit-box-shadow:0 0 0 1px #1890ff inset;box-shadow:inset 0 0 0 1px #1890ff}.ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value,.ant-fullcalendar-selected-day .ant-fullcalendar-value{color:#fff;background:#1890ff}.ant-fullcalendar-disabled-cell-first-of-row .ant-fullcalendar-value{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-fullcalendar-disabled-cell-last-of-row .ant-fullcalendar-value{border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-fullcalendar-last-month-cell .ant-fullcalendar-value,.ant-fullcalendar-next-month-btn-day .ant-fullcalendar-value{color:rgba(0,0,0,.25)}.ant-fullcalendar-month-panel-table{width:100%;table-layout:fixed;border-collapse:separate}.ant-fullcalendar-content{position:absolute;bottom:-9px;left:0;width:100%}.ant-fullcalendar-fullscreen{border-top:0}.ant-fullcalendar-fullscreen .ant-fullcalendar-table{table-layout:fixed}.ant-fullcalendar-fullscreen .ant-fullcalendar-header .ant-radio-group{margin-left:16px}.ant-fullcalendar-fullscreen .ant-fullcalendar-header label.ant-radio-button{height:32px;line-height:30px}.ant-fullcalendar-fullscreen .ant-fullcalendar-date,.ant-fullcalendar-fullscreen .ant-fullcalendar-month{display:block;height:116px;margin:0 4px;padding:4px 8px;color:rgba(0,0,0,.65);text-align:left;border-top:2px solid #e8e8e8;-webkit-transition:background .3s;transition:background .3s}.ant-fullcalendar-fullscreen .ant-fullcalendar-date:hover,.ant-fullcalendar-fullscreen .ant-fullcalendar-month:hover{background:#e6f7ff;cursor:pointer}.ant-fullcalendar-fullscreen .ant-fullcalendar-date:active,.ant-fullcalendar-fullscreen .ant-fullcalendar-month:active{background:#bae7ff}.ant-fullcalendar-fullscreen .ant-fullcalendar-column-header{padding-right:12px;padding-bottom:5px;text-align:right}.ant-fullcalendar-fullscreen .ant-fullcalendar-value{width:auto;text-align:right;background:transparent}.ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-value{color:rgba(0,0,0,.65)}.ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-month,.ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-date{background:transparent;border-top-color:#1890ff}.ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-value,.ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-value{-webkit-box-shadow:none;box-shadow:none}.ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-month,.ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-date{background:#e6f7ff}.ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value,.ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-value{color:#1890ff}.ant-fullcalendar-fullscreen .ant-fullcalendar-last-month-cell .ant-fullcalendar-date,.ant-fullcalendar-fullscreen .ant-fullcalendar-next-month-btn-day .ant-fullcalendar-date{color:rgba(0,0,0,.25)}.ant-fullcalendar-fullscreen .ant-fullcalendar-content{position:static;width:auto;height:88px;overflow-y:auto}.ant-fullcalendar-disabled-cell .ant-fullcalendar-date,.ant-fullcalendar-disabled-cell .ant-fullcalendar-date:hover{cursor:not-allowed}.ant-fullcalendar-disabled-cell:not(.ant-fullcalendar-today) .ant-fullcalendar-date,.ant-fullcalendar-disabled-cell:not(.ant-fullcalendar-today) .ant-fullcalendar-date:hover{background:transparent}.ant-fullcalendar-disabled-cell .ant-fullcalendar-value{width:auto;color:rgba(0,0,0,.25);border-radius:0;cursor:not-allowed}.ant-radio-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-radio-wrapper{margin:0;margin-right:8px}.ant-radio,.ant-radio-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;white-space:nowrap;cursor:pointer}.ant-radio{margin:0;line-height:1;vertical-align:sub;outline:none}.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#1890ff}.ant-radio-input:focus+.ant-radio-inner{-webkit-box-shadow:0 0 0 3px rgba(24,144,255,.08);box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;visibility:hidden;-webkit-animation:antRadioEffect .36s ease-in-out;animation:antRadioEffect .36s ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both;content:""}.ant-radio-wrapper:hover .ant-radio:after,.ant-radio:hover:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border-color:#d9d9d9;border-style:solid;border-width:1px;border-radius:100px;-webkit-transition:all .3s;transition:all .3s}.ant-radio-inner:after{position:absolute;top:3px;left:3px;display:table;width:8px;height:8px;background-color:#1890ff;border-top:0;border-left:0;border-radius:8px;-webkit-transform:scale(0);transform:scale(0);opacity:0;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#1890ff}.ant-radio-checked .ant-radio-inner:after{-webkit-transform:scale(1);transform:scale(1);opacity:1;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:rgba(0,0,0,.2)}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:32px;margin:0;padding:0 15px;color:rgba(0,0,0,.65);line-height:30px;background:#fff;border:1px solid #d9d9d9;border-top-width:1.02px;border-left:0;cursor:pointer;-webkit-transition:color .3s,background .3s,border-color .3s,-webkit-box-shadow .3s;transition:color .3s,background .3s,border-color .3s,-webkit-box-shadow .3s;transition:color .3s,background .3s,border-color .3s,box-shadow .3s;transition:color .3s,background .3s,border-color .3s,box-shadow .3s,-webkit-box-shadow .3s}.ant-radio-button-wrapper a{color:rgba(0,0,0,.65)}.ant-radio-button-wrapper>.ant-radio-button{display:block;width:0;height:0;margin-left:0}.ant-radio-group-large .ant-radio-button-wrapper{height:40px;font-size:16px;line-height:38px}.ant-radio-group-small .ant-radio-button-wrapper{height:24px;padding:0 7px;line-height:22px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:-1px;left:-1px;display:block;-webkit-box-sizing:content-box;box-sizing:content-box;width:1px;height:100%;padding:1px 0;background-color:#d9d9d9;-webkit-transition:background-color .3s;transition:background-color .3s;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:4px 0 0 4px}.ant-radio-button-wrapper:last-child{border-radius:0 4px 4px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:4px}.ant-radio-button-wrapper:hover{position:relative;color:#1890ff}.ant-radio-button-wrapper:focus-within{-webkit-box-shadow:0 0 0 3px rgba(24,144,255,.08);box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#1890ff;background:#fff;border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{-webkit-box-shadow:0 0 0 3px rgba(24,144,255,.08);box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#1890ff;border-color:#1890ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#40a9ff;border-color:#40a9ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#096dd9;border-color:#096dd9}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{-webkit-box-shadow:0 0 0 3px rgba(24,144,255,.08);box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-button-wrapper-disabled{cursor:not-allowed}.ant-radio-button-wrapper-disabled,.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:#fff;background-color:#e6e6e6;border-color:#d9d9d9;-webkit-box-shadow:none;box-shadow:none}@-webkit-keyframes antRadioEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes antRadioEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal){.ant-radio{vertical-align:text-bottom}}.ant-card{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;background:#fff;border-radius:2px;-webkit-transition:all .3s;transition:all .3s}.ant-card-hoverable{cursor:pointer}.ant-card-hoverable:hover{border-color:rgba(0,0,0,.09);-webkit-box-shadow:0 2px 8px rgba(0,0,0,.09);box-shadow:0 2px 8px rgba(0,0,0,.09)}.ant-card-bordered{border:1px solid #e8e8e8}.ant-card-head{min-height:48px;margin-bottom:-1px;padding:0 24px;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;background:transparent;border-bottom:1px solid #e8e8e8;border-radius:2px 2px 0 0;zoom:1}.ant-card-head:after,.ant-card-head:before{display:table;content:""}.ant-card-head:after{clear:both}.ant-card-head-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ant-card-head-title{display:inline-block;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:16px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-card-head .ant-tabs{clear:both;margin-bottom:-17px;color:rgba(0,0,0,.65);font-weight:400;font-size:14px}.ant-card-head .ant-tabs-bar{border-bottom:1px solid #e8e8e8}.ant-card-extra{float:right;margin-left:auto;padding:16px 0;color:rgba(0,0,0,.65);font-weight:400;font-size:14px}.ant-card-body{padding:24px;zoom:1}.ant-card-body:after,.ant-card-body:before{display:table;content:""}.ant-card-body:after{clear:both}.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body{margin:-1px 0 0 -1px;padding:0}.ant-card-grid{float:left;width:33.33%;padding:24px;border:0;border-radius:0;-webkit-box-shadow:1px 0 0 0 #e8e8e8,0 1px 0 0 #e8e8e8,1px 1px 0 0 #e8e8e8,1px 0 0 0 #e8e8e8 inset,0 1px 0 0 #e8e8e8 inset;box-shadow:1px 0 0 0 #e8e8e8,0 1px 0 0 #e8e8e8,1px 1px 0 0 #e8e8e8,inset 1px 0 0 0 #e8e8e8,inset 0 1px 0 0 #e8e8e8;-webkit-transition:all .3s;transition:all .3s}.ant-card-grid-hoverable:hover{position:relative;z-index:1;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-card-contain-tabs>.ant-card-head .ant-card-head-title{min-height:32px;padding-bottom:0}.ant-card-contain-tabs>.ant-card-head .ant-card-extra{padding-bottom:0}.ant-card-cover>*{display:block;width:100%}.ant-card-cover img{border-radius:2px 2px 0 0}.ant-card-actions{margin:0;padding:0;list-style:none;background:#fafafa;border-top:1px solid #e8e8e8;zoom:1}.ant-card-actions:after,.ant-card-actions:before{display:table;content:""}.ant-card-actions:after{clear:both}.ant-card-actions>li{float:left;margin:12px 0;color:rgba(0,0,0,.45);text-align:center}.ant-card-actions>li>span{position:relative;display:block;min-width:32px;font-size:14px;line-height:22px;cursor:pointer}.ant-card-actions>li>span:hover{color:#1890ff;-webkit-transition:color .3s;transition:color .3s}.ant-card-actions>li>span>.anticon,.ant-card-actions>li>span a:not(.ant-btn){display:inline-block;width:100%;color:rgba(0,0,0,.45);line-height:22px;-webkit-transition:color .3s;transition:color .3s}.ant-card-actions>li>span>.anticon:hover,.ant-card-actions>li>span a:not(.ant-btn):hover{color:#1890ff}.ant-card-actions>li>span>.anticon{font-size:16px;line-height:22px}.ant-card-actions>li:not(:last-child){border-right:1px solid #e8e8e8}.ant-card-type-inner .ant-card-head{padding:0 24px;background:#fafafa}.ant-card-type-inner .ant-card-head-title{padding:12px 0;font-size:14px}.ant-card-type-inner .ant-card-body{padding:16px 24px}.ant-card-type-inner .ant-card-extra{padding:13.5px 0}.ant-card-meta{margin:-4px 0;zoom:1}.ant-card-meta:after,.ant-card-meta:before{display:table;content:""}.ant-card-meta:after{clear:both}.ant-card-meta-avatar{float:left;padding-right:16px}.ant-card-meta-detail{overflow:hidden}.ant-card-meta-detail>div:not(:last-child){margin-bottom:8px}.ant-card-meta-title{overflow:hidden;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-overflow:ellipsis}.ant-card-meta-description{color:rgba(0,0,0,.45)}.ant-card-loading{overflow:hidden}.ant-card-loading .ant-card-body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-card-loading-content p{margin:0}.ant-card-loading-block{height:14px;margin:4px 0;background:-webkit-gradient(linear,left top,right top,from(rgba(207,216,220,.2)),color-stop(rgba(207,216,220,.4)),to(rgba(207,216,220,.2)));background:linear-gradient(90deg,rgba(207,216,220,.2),rgba(207,216,220,.4),rgba(207,216,220,.2));background-size:600% 600%;border-radius:2px;-webkit-animation:card-loading 1.4s ease infinite;animation:card-loading 1.4s ease infinite}@-webkit-keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}@keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.ant-card-small>.ant-card-head{min-height:36px;padding:0 12px;font-size:14px}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-head-title{padding:8px 0}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra{padding:8px 0;font-size:14px}.ant-card-small>.ant-card-body{padding:12px}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container{height:40px}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-ink-bar{visibility:hidden}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{height:40px;margin:0;margin-right:2px;padding:0 16px;line-height:38px;background:#fafafa;border:1px solid #e8e8e8;border-radius:4px 4px 0 0;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{height:40px;color:#1890ff;background:#fff;border-color:#e8e8e8;border-bottom:1px solid #fff}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active:before{border-top:2px solid transparent}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-disabled{color:#1890ff;color:rgba(0,0,0,.25)}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-inactive{padding:0}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-wrap{margin-bottom:0}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x{width:16px;height:16px;height:14px;margin-right:-5px;margin-left:3px;overflow:hidden;color:rgba(0,0,0,.45);font-size:12px;vertical-align:middle;-webkit-transition:all .3s;transition:all .3s}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x:hover{color:rgba(0,0,0,.85)}.ant-tabs.ant-tabs-card .ant-tabs-card-content>.ant-tabs-tabpane,.ant-tabs.ant-tabs-editable-card .ant-tabs-card-content>.ant-tabs-tabpane{-webkit-transition:none!important;transition:none!important}.ant-tabs.ant-tabs-card .ant-tabs-card-content>.ant-tabs-tabpane-inactive,.ant-tabs.ant-tabs-editable-card .ant-tabs-card-content>.ant-tabs-tabpane-inactive{overflow:hidden}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab:hover .anticon-close{opacity:1}.ant-tabs-extra-content{line-height:45px}.ant-tabs-extra-content .ant-tabs-new-tab{position:relative;width:20px;height:20px;color:rgba(0,0,0,.65);font-size:12px;line-height:20px;text-align:center;border:1px solid #e8e8e8;border-radius:2px;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-tabs-extra-content .ant-tabs-new-tab:hover{color:#1890ff;border-color:#1890ff}.ant-tabs-extra-content .ant-tabs-new-tab svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.ant-tabs.ant-tabs-large .ant-tabs-extra-content{line-height:56px}.ant-tabs.ant-tabs-small .ant-tabs-extra-content{line-height:37px}.ant-tabs.ant-tabs-card .ant-tabs-extra-content{line-height:40px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-nav-container{height:100%}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab{margin-bottom:8px;border-bottom:1px solid #e8e8e8}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab-active,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab-active{padding-bottom:4px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab:last-child,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab:last-child{margin-bottom:8px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-new-tab,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-new-tab{width:90%}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-nav-wrap{margin-right:0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab{margin-right:1px;border-right:0;border-radius:4px 0 0 4px}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab-active{margin-right:-1px;padding-right:18px}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-nav-wrap{margin-left:0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab{margin-left:1px;border-left:0;border-radius:0 4px 4px 0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab-active{margin-left:-1px;padding-left:18px}.ant-tabs .ant-tabs-card-bar.ant-tabs-bottom-bar .ant-tabs-tab{height:auto;border-top:0;border-bottom:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-tabs .ant-tabs-card-bar.ant-tabs-bottom-bar .ant-tabs-tab-active{padding-top:1px;padding-bottom:0;color:#1890ff}.ant-tabs{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;overflow:hidden;zoom:1}.ant-tabs:after,.ant-tabs:before{display:table;content:""}.ant-tabs:after{clear:both}.ant-tabs-ink-bar{position:absolute;bottom:1px;left:0;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;width:0;height:2px;background-color:#1890ff;-webkit-transform-origin:0 0;transform-origin:0 0}.ant-tabs-bar{margin:0 0 16px 0;border-bottom:1px solid #e8e8e8;outline:none}.ant-tabs-bar,.ant-tabs-nav-container{-webkit-transition:padding .3s cubic-bezier(.645,.045,.355,1);transition:padding .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav-container{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:-1px;overflow:hidden;font-size:14px;line-height:1.5;white-space:nowrap;zoom:1}.ant-tabs-nav-container:after,.ant-tabs-nav-container:before{display:table;content:""}.ant-tabs-nav-container:after{clear:both}.ant-tabs-nav-container-scrolling{padding-right:32px;padding-left:32px}.ant-tabs-bottom .ant-tabs-bottom-bar{margin-top:16px;margin-bottom:0;border-top:1px solid #e8e8e8;border-bottom:none}.ant-tabs-bottom .ant-tabs-bottom-bar .ant-tabs-ink-bar{top:1px;bottom:auto}.ant-tabs-bottom .ant-tabs-bottom-bar .ant-tabs-nav-container{margin-top:-1px;margin-bottom:0}.ant-tabs-tab-next,.ant-tabs-tab-prev{position:absolute;z-index:2;width:0;height:100%;color:rgba(0,0,0,.45);text-align:center;background-color:transparent;border:0;cursor:pointer;opacity:0;-webkit-transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-tabs-tab-next.ant-tabs-tab-arrow-show,.ant-tabs-tab-prev.ant-tabs-tab-arrow-show{width:32px;height:100%;opacity:1;pointer-events:auto}.ant-tabs-tab-next:hover,.ant-tabs-tab-prev:hover{color:rgba(0,0,0,.65)}.ant-tabs-tab-next-icon,.ant-tabs-tab-prev-icon{position:absolute;top:50%;left:50%;font-weight:700;font-style:normal;font-variant:normal;line-height:inherit;text-align:center;text-transform:none;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ant-tabs-tab-next-icon-target,.ant-tabs-tab-prev-icon-target{display:block;display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-tabs-tab-next-icon-target,:root .ant-tabs-tab-prev-icon-target{font-size:12px}.ant-tabs-tab-btn-disabled{cursor:not-allowed}.ant-tabs-tab-btn-disabled,.ant-tabs-tab-btn-disabled:hover{color:rgba(0,0,0,.25)}.ant-tabs-tab-next{right:2px}.ant-tabs-tab-prev{left:0}:root .ant-tabs-tab-prev{-webkit-filter:none;filter:none}.ant-tabs-nav-wrap{margin-bottom:-1px;overflow:hidden}.ant-tabs-nav-scroll{overflow:hidden;white-space:nowrap}.ant-tabs-nav{position:relative;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding-left:0;list-style:none;-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav:after,.ant-tabs-nav:before{display:table;content:" "}.ant-tabs-nav:after{clear:both}.ant-tabs-nav .ant-tabs-tab{position:relative;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;margin:0 32px 0 0;padding:12px 16px;text-decoration:none;cursor:pointer;-webkit-transition:color .3s cubic-bezier(.645,.045,.355,1);transition:color .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav .ant-tabs-tab:before{position:absolute;top:-1px;left:0;width:100%;border-top:2px solid transparent;border-radius:4px 4px 0 0;-webkit-transition:all .3s;transition:all .3s;content:"";pointer-events:none}.ant-tabs-nav .ant-tabs-tab:last-child{margin-right:0}.ant-tabs-nav .ant-tabs-tab:hover{color:#40a9ff}.ant-tabs-nav .ant-tabs-tab:active{color:#096dd9}.ant-tabs-nav .ant-tabs-tab .anticon{margin-right:8px}.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff;text-shadow:0 0 .25px currentColor}.ant-tabs-nav .ant-tabs-tab-disabled,.ant-tabs-nav .ant-tabs-tab-disabled:hover{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tabs .ant-tabs-large-bar .ant-tabs-nav-container{font-size:16px}.ant-tabs .ant-tabs-large-bar .ant-tabs-tab{padding:16px}.ant-tabs .ant-tabs-small-bar .ant-tabs-nav-container{font-size:14px}.ant-tabs .ant-tabs-small-bar .ant-tabs-tab{padding:8px 16px}.ant-tabs-content:before{display:block;overflow:hidden;content:""}.ant-tabs .ant-tabs-bottom-content,.ant-tabs .ant-tabs-top-content{width:100%}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane{-ms-flex-negative:0;flex-shrink:0;width:100%;-webkit-backface-visibility:hidden;opacity:1;-webkit-transition:opacity .45s;transition:opacity .45s}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane-inactive,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane-inactive input,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-tabs .ant-tabs-bottom-content.ant-tabs-content-animated,.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-transition:margin-left .3s cubic-bezier(.645,.045,.355,1);transition:margin-left .3s cubic-bezier(.645,.045,.355,1);will-change:margin-left}.ant-tabs .ant-tabs-left-bar,.ant-tabs .ant-tabs-right-bar{height:100%;border-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-arrow-show,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-arrow-show{width:100%;height:32px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab{display:block;float:none;margin:0 0 16px 0;padding:8px 24px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab:last-child,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab:last-child{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-extra-content,.ant-tabs .ant-tabs-right-bar .ant-tabs-extra-content{text-align:center}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-scroll,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-scroll{width:auto}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{height:100%}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container.ant-tabs-nav-container-scrolling,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container.ant-tabs-nav-container-scrolling{padding:32px 0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav{width:100%}.ant-tabs .ant-tabs-left-bar .ant-tabs-ink-bar,.ant-tabs .ant-tabs-right-bar .ant-tabs-ink-bar{top:0;bottom:auto;left:auto;width:2px;height:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-next,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-next{right:0;bottom:0;width:100%;height:32px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-prev,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-prev{top:0;width:100%;height:32px}.ant-tabs .ant-tabs-left-content,.ant-tabs .ant-tabs-right-content{width:auto;margin-top:0!important;overflow:hidden}.ant-tabs .ant-tabs-left-bar{float:left;margin-right:-1px;margin-bottom:0;border-right:1px solid #e8e8e8}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab{text-align:right}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap{margin-right:-1px}.ant-tabs .ant-tabs-left-bar .ant-tabs-ink-bar{right:1px}.ant-tabs .ant-tabs-left-content{padding-left:24px;border-left:1px solid #e8e8e8}.ant-tabs .ant-tabs-right-bar{float:right;margin-bottom:0;margin-left:-1px;border-left:1px solid #e8e8e8}.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{margin-left:-1px}.ant-tabs .ant-tabs-right-bar .ant-tabs-ink-bar{left:1px}.ant-tabs .ant-tabs-right-content{padding-right:24px;border-right:1px solid #e8e8e8}.ant-tabs-bottom .ant-tabs-ink-bar-animated,.ant-tabs-top .ant-tabs-ink-bar-animated{-webkit-transition:width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-left .ant-tabs-ink-bar-animated,.ant-tabs-right .ant-tabs-ink-bar-animated{-webkit-transition:height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-content-animated,.no-flex>.ant-tabs-content>.ant-tabs-content-animated{margin-left:0!important;-webkit-transform:none!important;transform:none!important}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-tabpane-inactive,.no-flex>.ant-tabs-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-tabpane-inactive input,.no-flex>.ant-tabs-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-tabs-left-content>.ant-tabs-content-animated,.ant-tabs-right-content>.ant-tabs-content-animated{margin-left:0!important;-webkit-transform:none!important;transform:none!important}.ant-tabs-left-content>.ant-tabs-tabpane-inactive,.ant-tabs-right-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs-left-content>.ant-tabs-tabpane-inactive input,.ant-tabs-right-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-row{position:relative;height:auto;margin-right:0;margin-left:0;zoom:1;display:block;-webkit-box-sizing:border-box;box-sizing:border-box}.ant-row:after,.ant-row:before{display:table;content:""}.ant-row+.ant-row:before,.ant-row:after{clear:both}.ant-row-flex{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.ant-row-flex,.ant-row-flex:after,.ant-row-flex:before{display:-webkit-box;display:-ms-flexbox;display:flex}.ant-row-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ant-row-flex-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ant-row-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ant-row-flex-space-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ant-row-flex-space-around{-ms-flex-pack:distribute;justify-content:space-around}.ant-row-flex-top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.ant-row-flex-middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ant-row-flex-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.ant-col{position:relative;min-height:1px}.ant-col-1,.ant-col-2,.ant-col-3,.ant-col-4,.ant-col-5,.ant-col-6,.ant-col-7,.ant-col-8,.ant-col-9,.ant-col-10,.ant-col-11,.ant-col-12,.ant-col-13,.ant-col-14,.ant-col-15,.ant-col-16,.ant-col-17,.ant-col-18,.ant-col-19,.ant-col-20,.ant-col-21,.ant-col-22,.ant-col-23,.ant-col-24,.ant-col-lg-1,.ant-col-lg-2,.ant-col-lg-3,.ant-col-lg-4,.ant-col-lg-5,.ant-col-lg-6,.ant-col-lg-7,.ant-col-lg-8,.ant-col-lg-9,.ant-col-lg-10,.ant-col-lg-11,.ant-col-lg-12,.ant-col-lg-13,.ant-col-lg-14,.ant-col-lg-15,.ant-col-lg-16,.ant-col-lg-17,.ant-col-lg-18,.ant-col-lg-19,.ant-col-lg-20,.ant-col-lg-21,.ant-col-lg-22,.ant-col-lg-23,.ant-col-lg-24,.ant-col-md-1,.ant-col-md-2,.ant-col-md-3,.ant-col-md-4,.ant-col-md-5,.ant-col-md-6,.ant-col-md-7,.ant-col-md-8,.ant-col-md-9,.ant-col-md-10,.ant-col-md-11,.ant-col-md-12,.ant-col-md-13,.ant-col-md-14,.ant-col-md-15,.ant-col-md-16,.ant-col-md-17,.ant-col-md-18,.ant-col-md-19,.ant-col-md-20,.ant-col-md-21,.ant-col-md-22,.ant-col-md-23,.ant-col-md-24,.ant-col-sm-1,.ant-col-sm-2,.ant-col-sm-3,.ant-col-sm-4,.ant-col-sm-5,.ant-col-sm-6,.ant-col-sm-7,.ant-col-sm-8,.ant-col-sm-9,.ant-col-sm-10,.ant-col-sm-11,.ant-col-sm-12,.ant-col-sm-13,.ant-col-sm-14,.ant-col-sm-15,.ant-col-sm-16,.ant-col-sm-17,.ant-col-sm-18,.ant-col-sm-19,.ant-col-sm-20,.ant-col-sm-21,.ant-col-sm-22,.ant-col-sm-23,.ant-col-sm-24,.ant-col-xs-1,.ant-col-xs-2,.ant-col-xs-3,.ant-col-xs-4,.ant-col-xs-5,.ant-col-xs-6,.ant-col-xs-7,.ant-col-xs-8,.ant-col-xs-9,.ant-col-xs-10,.ant-col-xs-11,.ant-col-xs-12,.ant-col-xs-13,.ant-col-xs-14,.ant-col-xs-15,.ant-col-xs-16,.ant-col-xs-17,.ant-col-xs-18,.ant-col-xs-19,.ant-col-xs-20,.ant-col-xs-21,.ant-col-xs-22,.ant-col-xs-23,.ant-col-xs-24{position:relative;padding-right:0;padding-left:0}.ant-col-1,.ant-col-2,.ant-col-3,.ant-col-4,.ant-col-5,.ant-col-6,.ant-col-7,.ant-col-8,.ant-col-9,.ant-col-10,.ant-col-11,.ant-col-12,.ant-col-13,.ant-col-14,.ant-col-15,.ant-col-16,.ant-col-17,.ant-col-18,.ant-col-19,.ant-col-20,.ant-col-21,.ant-col-22,.ant-col-23,.ant-col-24{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ant-col-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ant-col-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ant-col-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ant-col-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ant-col-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ant-col-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ant-col-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ant-col-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ant-col-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ant-col-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ant-col-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ant-col-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ant-col-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ant-col-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ant-col-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ant-col-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ant-col-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ant-col-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ant-col-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ant-col-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ant-col-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ant-col-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ant-col-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.ant-col-xs-1,.ant-col-xs-2,.ant-col-xs-3,.ant-col-xs-4,.ant-col-xs-5,.ant-col-xs-6,.ant-col-xs-7,.ant-col-xs-8,.ant-col-xs-9,.ant-col-xs-10,.ant-col-xs-11,.ant-col-xs-12,.ant-col-xs-13,.ant-col-xs-14,.ant-col-xs-15,.ant-col-xs-16,.ant-col-xs-17,.ant-col-xs-18,.ant-col-xs-19,.ant-col-xs-20,.ant-col-xs-21,.ant-col-xs-22,.ant-col-xs-23,.ant-col-xs-24{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xs-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ant-col-xs-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ant-col-xs-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ant-col-xs-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ant-col-xs-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ant-col-xs-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ant-col-xs-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ant-col-xs-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ant-col-xs-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ant-col-xs-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ant-col-xs-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ant-col-xs-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ant-col-xs-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ant-col-xs-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ant-col-xs-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ant-col-xs-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ant-col-xs-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ant-col-xs-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ant-col-xs-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ant-col-xs-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ant-col-xs-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ant-col-xs-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ant-col-xs-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ant-col-xs-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}@media (min-width:576px){.ant-col-sm-1,.ant-col-sm-2,.ant-col-sm-3,.ant-col-sm-4,.ant-col-sm-5,.ant-col-sm-6,.ant-col-sm-7,.ant-col-sm-8,.ant-col-sm-9,.ant-col-sm-10,.ant-col-sm-11,.ant-col-sm-12,.ant-col-sm-13,.ant-col-sm-14,.ant-col-sm-15,.ant-col-sm-16,.ant-col-sm-17,.ant-col-sm-18,.ant-col-sm-19,.ant-col-sm-20,.ant-col-sm-21,.ant-col-sm-22,.ant-col-sm-23,.ant-col-sm-24{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-sm-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ant-col-sm-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ant-col-sm-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ant-col-sm-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ant-col-sm-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ant-col-sm-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ant-col-sm-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ant-col-sm-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ant-col-sm-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ant-col-sm-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ant-col-sm-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ant-col-sm-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ant-col-sm-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ant-col-sm-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ant-col-sm-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ant-col-sm-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ant-col-sm-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ant-col-sm-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ant-col-sm-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ant-col-sm-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ant-col-sm-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ant-col-sm-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ant-col-sm-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ant-col-sm-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:768px){.ant-col-md-1,.ant-col-md-2,.ant-col-md-3,.ant-col-md-4,.ant-col-md-5,.ant-col-md-6,.ant-col-md-7,.ant-col-md-8,.ant-col-md-9,.ant-col-md-10,.ant-col-md-11,.ant-col-md-12,.ant-col-md-13,.ant-col-md-14,.ant-col-md-15,.ant-col-md-16,.ant-col-md-17,.ant-col-md-18,.ant-col-md-19,.ant-col-md-20,.ant-col-md-21,.ant-col-md-22,.ant-col-md-23,.ant-col-md-24{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-md-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ant-col-md-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ant-col-md-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ant-col-md-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ant-col-md-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ant-col-md-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ant-col-md-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ant-col-md-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ant-col-md-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ant-col-md-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ant-col-md-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ant-col-md-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ant-col-md-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ant-col-md-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ant-col-md-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ant-col-md-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ant-col-md-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ant-col-md-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ant-col-md-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ant-col-md-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ant-col-md-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ant-col-md-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ant-col-md-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ant-col-md-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:992px){.ant-col-lg-1,.ant-col-lg-2,.ant-col-lg-3,.ant-col-lg-4,.ant-col-lg-5,.ant-col-lg-6,.ant-col-lg-7,.ant-col-lg-8,.ant-col-lg-9,.ant-col-lg-10,.ant-col-lg-11,.ant-col-lg-12,.ant-col-lg-13,.ant-col-lg-14,.ant-col-lg-15,.ant-col-lg-16,.ant-col-lg-17,.ant-col-lg-18,.ant-col-lg-19,.ant-col-lg-20,.ant-col-lg-21,.ant-col-lg-22,.ant-col-lg-23,.ant-col-lg-24{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-lg-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ant-col-lg-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ant-col-lg-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ant-col-lg-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ant-col-lg-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ant-col-lg-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ant-col-lg-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ant-col-lg-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ant-col-lg-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ant-col-lg-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ant-col-lg-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ant-col-lg-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ant-col-lg-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ant-col-lg-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ant-col-lg-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ant-col-lg-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ant-col-lg-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ant-col-lg-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ant-col-lg-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ant-col-lg-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ant-col-lg-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ant-col-lg-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ant-col-lg-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ant-col-lg-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:1200px){.ant-col-xl-1,.ant-col-xl-2,.ant-col-xl-3,.ant-col-xl-4,.ant-col-xl-5,.ant-col-xl-6,.ant-col-xl-7,.ant-col-xl-8,.ant-col-xl-9,.ant-col-xl-10,.ant-col-xl-11,.ant-col-xl-12,.ant-col-xl-13,.ant-col-xl-14,.ant-col-xl-15,.ant-col-xl-16,.ant-col-xl-17,.ant-col-xl-18,.ant-col-xl-19,.ant-col-xl-20,.ant-col-xl-21,.ant-col-xl-22,.ant-col-xl-23,.ant-col-xl-24{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xl-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ant-col-xl-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ant-col-xl-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ant-col-xl-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ant-col-xl-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ant-col-xl-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ant-col-xl-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ant-col-xl-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ant-col-xl-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ant-col-xl-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ant-col-xl-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ant-col-xl-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ant-col-xl-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ant-col-xl-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ant-col-xl-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ant-col-xl-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ant-col-xl-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ant-col-xl-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ant-col-xl-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ant-col-xl-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ant-col-xl-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ant-col-xl-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ant-col-xl-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ant-col-xl-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:1600px){.ant-col-xxl-1,.ant-col-xxl-2,.ant-col-xxl-3,.ant-col-xxl-4,.ant-col-xxl-5,.ant-col-xxl-6,.ant-col-xxl-7,.ant-col-xxl-8,.ant-col-xxl-9,.ant-col-xxl-10,.ant-col-xxl-11,.ant-col-xxl-12,.ant-col-xxl-13,.ant-col-xxl-14,.ant-col-xxl-15,.ant-col-xxl-16,.ant-col-xxl-17,.ant-col-xxl-18,.ant-col-xxl-19,.ant-col-xxl-20,.ant-col-xxl-21,.ant-col-xxl-22,.ant-col-xxl-23,.ant-col-xxl-24{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xxl-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ant-col-xxl-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ant-col-xxl-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ant-col-xxl-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ant-col-xxl-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ant-col-xxl-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ant-col-xxl-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ant-col-xxl-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ant-col-xxl-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ant-col-xxl-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ant-col-xxl-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ant-col-xxl-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ant-col-xxl-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ant-col-xxl-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ant-col-xxl-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ant-col-xxl-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ant-col-xxl-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ant-col-xxl-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ant-col-xxl-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ant-col-xxl-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ant-col-xxl-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ant-col-xxl-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ant-col-xxl-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ant-col-xxl-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}.ant-carousel{margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-carousel,.ant-carousel .slick-slider{-webkit-box-sizing:border-box;box-sizing:border-box}.ant-carousel .slick-slider{position:relative;display:block;-webkit-touch-callout:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.ant-carousel .slick-list{position:relative;display:block;margin:0;padding:0;overflow:hidden}.ant-carousel .slick-list:focus{outline:none}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide input.ant-radio-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input{visibility:visible}.ant-carousel .slick-slider .slick-list,.ant-carousel .slick-slider .slick-track{-webkit-transform:translateZ(0);transform:translateZ(0)}.ant-carousel .slick-track{position:relative;top:0;left:0;display:block}.ant-carousel .slick-track:after,.ant-carousel .slick-track:before{display:table;content:""}.ant-carousel .slick-track:after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .ant-carousel .slick-slide{float:right}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-next,.ant-carousel .slick-prev{position:absolute;top:50%;display:block;width:20px;height:20px;margin-top:-10px;padding:0;font-size:0;line-height:0;border:0;cursor:pointer}.ant-carousel .slick-next,.ant-carousel .slick-next:focus,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev,.ant-carousel .slick-prev:focus,.ant-carousel .slick-prev:hover{color:transparent;background:transparent;outline:none}.ant-carousel .slick-next:focus:before,.ant-carousel .slick-next:hover:before,.ant-carousel .slick-prev:focus:before,.ant-carousel .slick-prev:hover:before{opacity:1}.ant-carousel .slick-next.slick-disabled:before,.ant-carousel .slick-prev.slick-disabled:before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev:before{content:"←"}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next:before{content:"→"}.ant-carousel .slick-dots{position:absolute;display:block;width:100%;height:3px;margin:0;padding:0;text-align:center;list-style:none}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{top:12px}.ant-carousel .slick-dots li{position:relative;display:inline-block;margin:0 2px;padding:0;text-align:center;vertical-align:top}.ant-carousel .slick-dots li button{display:block;width:16px;height:3px;padding:0;color:transparent;font-size:0;background:#fff;border:0;border-radius:1px;outline:none;cursor:pointer;opacity:.3;-webkit-transition:all .5s;transition:all .5s}.ant-carousel .slick-dots li button:focus,.ant-carousel .slick-dots li button:hover{opacity:.75}.ant-carousel .slick-dots li.slick-active button{width:24px;background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active button:focus,.ant-carousel .slick-dots li.slick-active button:hover{opacity:1}.ant-carousel-vertical .slick-dots{top:50%;bottom:auto;width:3px;height:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ant-carousel-vertical .slick-dots-left{left:12px}.ant-carousel-vertical .slick-dots-right{right:12px}.ant-carousel-vertical .slick-dots li{margin:0 2px;vertical-align:baseline}.ant-carousel-vertical .slick-dots li button{width:3px;height:16px}.ant-carousel-vertical .slick-dots li.slick-active button{width:3px;height:24px}.ant-cascader{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-cascader-input.ant-input{position:static;width:100%;padding-right:24px;background-color:transparent!important;cursor:pointer}.ant-cascader-picker-show-search .ant-cascader-input.ant-input{position:relative}.ant-cascader-picker{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;background-color:#fff;border-radius:4px;outline:0;cursor:pointer;-webkit-transition:color .3s;transition:color .3s}.ant-cascader-picker-with-value .ant-cascader-picker-label{color:transparent}.ant-cascader-picker-disabled{color:rgba(0,0,0,.25);background:#f5f5f5;cursor:not-allowed}.ant-cascader-picker-disabled .ant-cascader-input{cursor:not-allowed}.ant-cascader-picker:focus .ant-cascader-input{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-cascader-picker-show-search.ant-cascader-picker-focused{color:rgba(0,0,0,.25)}.ant-cascader-picker-label{position:absolute;top:50%;left:0;width:100%;height:20px;margin-top:-10px;padding:0 20px 0 12px;overflow:hidden;line-height:20px;white-space:nowrap;text-overflow:ellipsis}.ant-cascader-picker-clear{position:absolute;top:50%;right:12px;z-index:2;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:12px;background:#fff;cursor:pointer;opacity:0;-webkit-transition:color .3s ease,opacity .15s ease;transition:color .3s ease,opacity .15s ease}.ant-cascader-picker-clear:hover{color:rgba(0,0,0,.45)}.ant-cascader-picker:hover .ant-cascader-picker-clear{opacity:1}.ant-cascader-picker-arrow{position:absolute;top:50%;right:12px;z-index:1;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:12px;-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.ant-cascader-picker-arrow.ant-cascader-picker-arrow-expand{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ant-cascader-picker-label:hover+.ant-cascader-input{border-color:#40a9ff;border-right-width:1px!important}.ant-cascader-picker-small .ant-cascader-picker-arrow,.ant-cascader-picker-small .ant-cascader-picker-clear{right:8px}.ant-cascader-menus{position:absolute;z-index:1050;font-size:14px;white-space:nowrap;background:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-cascader-menus ol,.ant-cascader-menus ul{margin:0;list-style:none}.ant-cascader-menus-empty,.ant-cascader-menus-hidden{display:none}.ant-cascader-menus.slide-up-appear.slide-up-appear-active.ant-cascader-menus-placement-bottomLeft,.ant-cascader-menus.slide-up-enter.slide-up-enter-active.ant-cascader-menus-placement-bottomLeft{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-cascader-menus.slide-up-appear.slide-up-appear-active.ant-cascader-menus-placement-topLeft,.ant-cascader-menus.slide-up-enter.slide-up-enter-active.ant-cascader-menus-placement-topLeft{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-cascader-menus.slide-up-leave.slide-up-leave-active.ant-cascader-menus-placement-bottomLeft{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-cascader-menus.slide-up-leave.slide-up-leave-active.ant-cascader-menus-placement-topLeft{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-cascader-menu{display:inline-block;min-width:111px;height:180px;margin:0;padding:4px 0;overflow:auto;vertical-align:top;list-style:none;border-right:1px solid #e8e8e8;-ms-overflow-style:-ms-autohiding-scrollbar}.ant-cascader-menu:first-child{border-radius:4px 0 0 4px}.ant-cascader-menu:last-child{margin-right:-1px;border-right-color:transparent;border-radius:0 4px 4px 0}.ant-cascader-menu:only-child{border-radius:4px}.ant-cascader-menu-item{padding:5px 12px;line-height:22px;white-space:nowrap;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-cascader-menu-item:hover{background:#e6f7ff}.ant-cascader-menu-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-cascader-menu-item-disabled:hover{background:transparent}.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover{font-weight:600;background-color:#fafafa}.ant-cascader-menu-item-expand{position:relative;padding-right:24px}.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-loading-icon{display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);position:absolute;right:12px;color:rgba(0,0,0,.45)}:root .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,:root .ant-cascader-menu-item-loading-icon{font-size:12px}.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon{color:rgba(0,0,0,.25)}.ant-cascader-menu-item .ant-cascader-menu-item-keyword{color:#f5222d}.ant-checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#1890ff}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-checkbox-wrapper:hover .ant-checkbox:after,.ant-checkbox:hover:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;-webkit-transition:all .3s;transition:all .3s}.ant-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(0) translate(-50%,-50%);transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;-webkit-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-checkbox-checked .ant-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(1) translate(-50%,-50%);transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;-webkit-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed}.ant-checkbox-disabled .ant-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-checkbox-disabled:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox-disabled:after{visibility:hidden}.ant-checkbox-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{cursor:not-allowed}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox+span{padding-right:8px;padding-left:8px}.ant-checkbox-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-checkbox-group-item{display:inline-block;margin-right:8px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-checkbox-indeterminate .ant-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-collapse{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";background-color:#fafafa;border:1px solid #d9d9d9;border-bottom:0;border-radius:4px}.ant-collapse>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse>.ant-collapse-item:last-child,.ant-collapse>.ant-collapse-item:last-child>.ant-collapse-header{border-radius:0 0 4px 4px}.ant-collapse>.ant-collapse-item>.ant-collapse-header{position:relative;padding:12px 16px;padding-left:40px;color:rgba(0,0,0,.85);line-height:22px;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;left:16px;display:inline-block;font-size:12px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow>*{line-height:1}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{display:inline-block}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow:before{display:none}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow .ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow-icon{display:block}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{-webkit-transition:-webkit-transform .24s;transition:-webkit-transform .24s;transition:transform .24s;transition:transform .24s,-webkit-transform .24s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{float:right}.ant-collapse>.ant-collapse-item>.ant-collapse-header:focus{outline:none}.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-left:12px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header{padding:12px 16px;padding-right:40px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{right:16px;left:auto}.ant-collapse-anim-active{-webkit-transition:height .2s cubic-bezier(.215,.61,.355,1);transition:height .2s cubic-bezier(.215,.61,.355,1)}.ant-collapse-content{overflow:hidden;color:rgba(0,0,0,.65);background-color:#fff;border-top:1px solid #d9d9d9}.ant-collapse-content>.ant-collapse-content-box{padding:16px}.ant-collapse-content-inactive{display:none}.ant-collapse-item:last-child>.ant-collapse-content{border-radius:0 0 4px 4px}.ant-collapse-borderless{background-color:#fafafa;border:0}.ant-collapse-borderless>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse-borderless>.ant-collapse-item:last-child,.ant-collapse-borderless>.ant-collapse-item:last-child .ant-collapse-header{border-radius:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:4px}.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-comment{position:relative}.ant-comment-inner{display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px 0}.ant-comment-avatar{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-right:12px;cursor:pointer}.ant-comment-avatar img{width:32px;height:32px;border-radius:50%}.ant-comment-content{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:1px;font-size:14px;word-wrap:break-word}.ant-comment-content-author{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:4px;font-size:14px}.ant-comment-content-author>a,.ant-comment-content-author>span{padding-right:8px;font-size:12px;line-height:18px}.ant-comment-content-author-name{color:rgba(0,0,0,.45);font-size:14px;-webkit-transition:color .3s;transition:color .3s}.ant-comment-content-author-name>*,.ant-comment-content-author-name>:hover{color:rgba(0,0,0,.45)}.ant-comment-content-author-time{color:#ccc;white-space:nowrap;cursor:auto}.ant-comment-content-detail p{white-space:pre-wrap}.ant-comment-actions{margin-top:12px;padding-left:0}.ant-comment-actions>li{display:inline-block;color:rgba(0,0,0,.45)}.ant-comment-actions>li>span{padding-right:10px;color:rgba(0,0,0,.45);font-size:12px;cursor:pointer;-webkit-transition:color .3s;transition:color .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-comment-actions>li>span:hover{color:#595959}.ant-comment-nested{margin-left:44px}.ant-calendar-picker-container{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;z-index:1050;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-topLeft,.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-topRight,.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-topLeft,.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-bottomLeft,.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-bottomRight,.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-bottomLeft,.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-topLeft,.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-bottomLeft,.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-calendar-picker{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;outline:none;cursor:text;-webkit-transition:opacity .3s;transition:opacity .3s}.ant-calendar-picker-input{outline:none}.ant-calendar-picker-input.ant-input{line-height:1.5}.ant-calendar-picker-input.ant-input-sm{padding-top:0;padding-bottom:0}.ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled){border-color:#40a9ff}.ant-calendar-picker:focus .ant-calendar-picker-input:not(.ant-input-disabled){border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-calendar-picker-clear,.ant-calendar-picker-icon{position:absolute;top:50%;right:12px;z-index:1;width:14px;height:14px;margin-top:-7px;font-size:12px;line-height:14px;-webkit-transition:all .3s;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-calendar-picker-clear{z-index:2;color:rgba(0,0,0,.25);font-size:14px;background:#fff;cursor:pointer;opacity:0;pointer-events:none}.ant-calendar-picker-clear:hover{color:rgba(0,0,0,.45)}.ant-calendar-picker:hover .ant-calendar-picker-clear{opacity:1;pointer-events:auto}.ant-calendar-picker-icon{display:inline-block;color:rgba(0,0,0,.25);font-size:14px;line-height:1}.ant-input-disabled+.ant-calendar-picker-icon{cursor:not-allowed}.ant-calendar-picker-small .ant-calendar-picker-clear,.ant-calendar-picker-small .ant-calendar-picker-icon{right:8px}.ant-calendar{position:relative;width:280px;font-size:14px;line-height:1.5;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #fff;border-radius:4px;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-calendar-input-wrap{height:34px;padding:6px 10px;border-bottom:1px solid #e8e8e8}.ant-calendar-input{width:100%;height:22px;color:rgba(0,0,0,.65);background:#fff;border:0;outline:0;cursor:auto}.ant-calendar-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-calendar-input:-ms-input-placeholder{color:#bfbfbf}.ant-calendar-input::-webkit-input-placeholder{color:#bfbfbf}.ant-calendar-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-calendar-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-calendar-input:placeholder-shown{text-overflow:ellipsis}.ant-calendar-week-number{width:286px}.ant-calendar-week-number-cell{text-align:center}.ant-calendar-header{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #e8e8e8;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-calendar-header a:hover{color:#40a9ff}.ant-calendar-header .ant-calendar-century-select,.ant-calendar-header .ant-calendar-decade-select,.ant-calendar-header .ant-calendar-month-select,.ant-calendar-header .ant-calendar-year-select{display:inline-block;padding:0 2px;color:rgba(0,0,0,.85);font-weight:500;line-height:40px}.ant-calendar-header .ant-calendar-century-select-arrow,.ant-calendar-header .ant-calendar-decade-select-arrow,.ant-calendar-header .ant-calendar-month-select-arrow,.ant-calendar-header .ant-calendar-year-select-arrow{display:none}.ant-calendar-header .ant-calendar-next-century-btn,.ant-calendar-header .ant-calendar-next-decade-btn,.ant-calendar-header .ant-calendar-next-month-btn,.ant-calendar-header .ant-calendar-next-year-btn,.ant-calendar-header .ant-calendar-prev-century-btn,.ant-calendar-header .ant-calendar-prev-decade-btn,.ant-calendar-header .ant-calendar-prev-month-btn,.ant-calendar-header .ant-calendar-prev-year-btn{position:absolute;top:0;display:inline-block;padding:0 5px;color:rgba(0,0,0,.45);font-size:16px;font-family:Arial,Hiragino Sans GB,Microsoft Yahei,"Microsoft Sans Serif",sans-serif;line-height:40px}.ant-calendar-header .ant-calendar-prev-century-btn,.ant-calendar-header .ant-calendar-prev-decade-btn,.ant-calendar-header .ant-calendar-prev-year-btn{left:7px;height:100%}.ant-calendar-header .ant-calendar-prev-century-btn:after,.ant-calendar-header .ant-calendar-prev-century-btn:before,.ant-calendar-header .ant-calendar-prev-decade-btn:after,.ant-calendar-header .ant-calendar-prev-decade-btn:before,.ant-calendar-header .ant-calendar-prev-year-btn:after,.ant-calendar-header .ant-calendar-prev-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-header .ant-calendar-prev-century-btn:hover:after,.ant-calendar-header .ant-calendar-prev-century-btn:hover:before,.ant-calendar-header .ant-calendar-prev-decade-btn:hover:after,.ant-calendar-header .ant-calendar-prev-decade-btn:hover:before,.ant-calendar-header .ant-calendar-prev-year-btn:hover:after,.ant-calendar-header .ant-calendar-prev-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-header .ant-calendar-prev-century-btn:after,.ant-calendar-header .ant-calendar-prev-decade-btn:after,.ant-calendar-header .ant-calendar-prev-year-btn:after{display:none;position:relative;left:-3px;display:inline-block}.ant-calendar-header .ant-calendar-next-century-btn,.ant-calendar-header .ant-calendar-next-decade-btn,.ant-calendar-header .ant-calendar-next-year-btn{right:7px;height:100%}.ant-calendar-header .ant-calendar-next-century-btn:after,.ant-calendar-header .ant-calendar-next-century-btn:before,.ant-calendar-header .ant-calendar-next-decade-btn:after,.ant-calendar-header .ant-calendar-next-decade-btn:before,.ant-calendar-header .ant-calendar-next-year-btn:after,.ant-calendar-header .ant-calendar-next-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-header .ant-calendar-next-century-btn:hover:after,.ant-calendar-header .ant-calendar-next-century-btn:hover:before,.ant-calendar-header .ant-calendar-next-decade-btn:hover:after,.ant-calendar-header .ant-calendar-next-decade-btn:hover:before,.ant-calendar-header .ant-calendar-next-year-btn:hover:after,.ant-calendar-header .ant-calendar-next-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-header .ant-calendar-next-century-btn:after,.ant-calendar-header .ant-calendar-next-decade-btn:after,.ant-calendar-header .ant-calendar-next-year-btn:after{display:none}.ant-calendar-header .ant-calendar-next-century-btn:after,.ant-calendar-header .ant-calendar-next-century-btn:before,.ant-calendar-header .ant-calendar-next-decade-btn:after,.ant-calendar-header .ant-calendar-next-decade-btn:before,.ant-calendar-header .ant-calendar-next-year-btn:after,.ant-calendar-header .ant-calendar-next-year-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-header .ant-calendar-next-century-btn:before,.ant-calendar-header .ant-calendar-next-decade-btn:before,.ant-calendar-header .ant-calendar-next-year-btn:before{position:relative;left:3px}.ant-calendar-header .ant-calendar-next-century-btn:after,.ant-calendar-header .ant-calendar-next-decade-btn:after,.ant-calendar-header .ant-calendar-next-year-btn:after{display:inline-block}.ant-calendar-header .ant-calendar-prev-month-btn{left:29px;height:100%}.ant-calendar-header .ant-calendar-prev-month-btn:after,.ant-calendar-header .ant-calendar-prev-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-header .ant-calendar-prev-month-btn:hover:after,.ant-calendar-header .ant-calendar-prev-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-header .ant-calendar-prev-month-btn:after{display:none}.ant-calendar-header .ant-calendar-next-month-btn{right:29px;height:100%}.ant-calendar-header .ant-calendar-next-month-btn:after,.ant-calendar-header .ant-calendar-next-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-header .ant-calendar-next-month-btn:hover:after,.ant-calendar-header .ant-calendar-next-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-header .ant-calendar-next-month-btn:after{display:none}.ant-calendar-header .ant-calendar-next-month-btn:after,.ant-calendar-header .ant-calendar-next-month-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-body{padding:8px 12px}.ant-calendar table{width:100%;max-width:100%;background-color:transparent;border-collapse:collapse}.ant-calendar table,.ant-calendar td,.ant-calendar th{text-align:center;border:0}.ant-calendar-calendar-table{margin-bottom:0;border-spacing:0}.ant-calendar-column-header{width:33px;padding:6px 0;line-height:18px;text-align:center}.ant-calendar-column-header .ant-calendar-column-header-inner{display:block;font-weight:400}.ant-calendar-week-number-header .ant-calendar-column-header-inner{display:none}.ant-calendar-cell{height:30px;padding:3px 0}.ant-calendar-date{display:block;width:24px;height:24px;margin:0 auto;padding:0;color:rgba(0,0,0,.65);line-height:22px;text-align:center;background:transparent;border:1px solid transparent;border-radius:2px;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-calendar-date-panel{position:relative;outline:none}.ant-calendar-date:hover{background:#e6f7ff;cursor:pointer}.ant-calendar-date:active{color:#fff;background:#40a9ff}.ant-calendar-today .ant-calendar-date{color:#1890ff;font-weight:700;border-color:#1890ff}.ant-calendar-selected-day .ant-calendar-date{background:#bae7ff}.ant-calendar-last-month-cell .ant-calendar-date,.ant-calendar-last-month-cell .ant-calendar-date:hover,.ant-calendar-next-month-btn-day .ant-calendar-date,.ant-calendar-next-month-btn-day .ant-calendar-date:hover{color:rgba(0,0,0,.25);background:transparent;border-color:transparent}.ant-calendar-disabled-cell .ant-calendar-date{position:relative;width:auto;color:rgba(0,0,0,.25);background:#f5f5f5;border:1px solid transparent;border-radius:0;cursor:not-allowed}.ant-calendar-disabled-cell .ant-calendar-date:hover{background:#f5f5f5}.ant-calendar-disabled-cell.ant-calendar-selected-day .ant-calendar-date:before{position:absolute;top:-1px;left:5px;width:24px;height:24px;background:rgba(0,0,0,.1);border-radius:2px;content:""}.ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date{position:relative;padding-right:5px;padding-left:5px}.ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date:before{position:absolute;top:-1px;left:5px;width:24px;height:24px;border:1px solid rgba(0,0,0,.25);border-radius:2px;content:" "}.ant-calendar-disabled-cell-first-of-row .ant-calendar-date{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-calendar-disabled-cell-last-of-row .ant-calendar-date{border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-calendar-footer{padding:0 12px;line-height:38px;border-top:1px solid #e8e8e8}.ant-calendar-footer:empty{border-top:0}.ant-calendar-footer-btn{display:block;text-align:center}.ant-calendar-footer-extra{text-align:left}.ant-calendar .ant-calendar-clear-btn,.ant-calendar .ant-calendar-today-btn{display:inline-block;margin:0 0 0 8px;text-align:center}.ant-calendar .ant-calendar-clear-btn-disabled,.ant-calendar .ant-calendar-today-btn-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-calendar .ant-calendar-clear-btn:only-child,.ant-calendar .ant-calendar-today-btn:only-child{margin:0}.ant-calendar .ant-calendar-clear-btn{position:absolute;top:7px;right:5px;display:none;width:20px;height:20px;margin:0;overflow:hidden;line-height:20px;text-align:center;text-indent:-76px}.ant-calendar .ant-calendar-clear-btn:after{display:inline-block;width:20px;color:rgba(0,0,0,.25);font-size:14px;line-height:1;text-indent:43px;-webkit-transition:color .3s ease;transition:color .3s ease}.ant-calendar .ant-calendar-clear-btn:hover:after{color:rgba(0,0,0,.45)}.ant-calendar .ant-calendar-ok-btn{position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;border:1px solid transparent;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.015);box-shadow:0 2px 0 rgba(0,0,0,.015);cursor:pointer;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-touch-action:manipulation;touch-action:manipulation;height:32px;padding:0 15px;color:#fff;background-color:#1890ff;border-color:#1890ff;text-shadow:0 -1px 0 rgba(0,0,0,.12);-webkit-box-shadow:0 2px 0 rgba(0,0,0,.045);box-shadow:0 2px 0 rgba(0,0,0,.045);height:24px;padding:0 7px;font-size:14px;border-radius:4px;line-height:22px}.ant-calendar .ant-calendar-ok-btn>.anticon{line-height:1}.ant-calendar .ant-calendar-ok-btn,.ant-calendar .ant-calendar-ok-btn:active,.ant-calendar .ant-calendar-ok-btn:focus{outline:0}.ant-calendar .ant-calendar-ok-btn:not([disabled]):hover{text-decoration:none}.ant-calendar .ant-calendar-ok-btn:not([disabled]):active{outline:0;-webkit-box-shadow:none;box-shadow:none}.ant-calendar .ant-calendar-ok-btn.disabled,.ant-calendar .ant-calendar-ok-btn[disabled]{cursor:not-allowed}.ant-calendar .ant-calendar-ok-btn.disabled>*,.ant-calendar .ant-calendar-ok-btn[disabled]>*{pointer-events:none}.ant-calendar .ant-calendar-ok-btn-lg{height:40px;padding:0 15px;font-size:16px;border-radius:4px}.ant-calendar .ant-calendar-ok-btn-sm{height:24px;padding:0 7px;font-size:14px;border-radius:4px}.ant-calendar .ant-calendar-ok-btn>a:only-child{color:currentColor}.ant-calendar .ant-calendar-ok-btn>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-calendar .ant-calendar-ok-btn:focus,.ant-calendar .ant-calendar-ok-btn:hover{color:#fff;background-color:#40a9ff;border-color:#40a9ff}.ant-calendar .ant-calendar-ok-btn:focus>a:only-child,.ant-calendar .ant-calendar-ok-btn:hover>a:only-child{color:currentColor}.ant-calendar .ant-calendar-ok-btn:focus>a:only-child:after,.ant-calendar .ant-calendar-ok-btn:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-calendar .ant-calendar-ok-btn.active,.ant-calendar .ant-calendar-ok-btn:active{color:#fff;background-color:#096dd9;border-color:#096dd9}.ant-calendar .ant-calendar-ok-btn.active>a:only-child,.ant-calendar .ant-calendar-ok-btn:active>a:only-child{color:currentColor}.ant-calendar .ant-calendar-ok-btn.active>a:only-child:after,.ant-calendar .ant-calendar-ok-btn:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-calendar .ant-calendar-ok-btn-disabled,.ant-calendar .ant-calendar-ok-btn-disabled.active,.ant-calendar .ant-calendar-ok-btn-disabled:active,.ant-calendar .ant-calendar-ok-btn-disabled:focus,.ant-calendar .ant-calendar-ok-btn-disabled:hover,.ant-calendar .ant-calendar-ok-btn.disabled,.ant-calendar .ant-calendar-ok-btn.disabled.active,.ant-calendar .ant-calendar-ok-btn.disabled:active,.ant-calendar .ant-calendar-ok-btn.disabled:focus,.ant-calendar .ant-calendar-ok-btn.disabled:hover,.ant-calendar .ant-calendar-ok-btn[disabled],.ant-calendar .ant-calendar-ok-btn[disabled].active,.ant-calendar .ant-calendar-ok-btn[disabled]:active,.ant-calendar .ant-calendar-ok-btn[disabled]:focus,.ant-calendar .ant-calendar-ok-btn[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.ant-calendar .ant-calendar-ok-btn-disabled.active>a:only-child,.ant-calendar .ant-calendar-ok-btn-disabled:active>a:only-child,.ant-calendar .ant-calendar-ok-btn-disabled:focus>a:only-child,.ant-calendar .ant-calendar-ok-btn-disabled:hover>a:only-child,.ant-calendar .ant-calendar-ok-btn-disabled>a:only-child,.ant-calendar .ant-calendar-ok-btn.disabled.active>a:only-child,.ant-calendar .ant-calendar-ok-btn.disabled:active>a:only-child,.ant-calendar .ant-calendar-ok-btn.disabled:focus>a:only-child,.ant-calendar .ant-calendar-ok-btn.disabled:hover>a:only-child,.ant-calendar .ant-calendar-ok-btn.disabled>a:only-child,.ant-calendar .ant-calendar-ok-btn[disabled].active>a:only-child,.ant-calendar .ant-calendar-ok-btn[disabled]:active>a:only-child,.ant-calendar .ant-calendar-ok-btn[disabled]:focus>a:only-child,.ant-calendar .ant-calendar-ok-btn[disabled]:hover>a:only-child,.ant-calendar .ant-calendar-ok-btn[disabled]>a:only-child{color:currentColor}.ant-calendar .ant-calendar-ok-btn-disabled.active>a:only-child:after,.ant-calendar .ant-calendar-ok-btn-disabled:active>a:only-child:after,.ant-calendar .ant-calendar-ok-btn-disabled:focus>a:only-child:after,.ant-calendar .ant-calendar-ok-btn-disabled:hover>a:only-child:after,.ant-calendar .ant-calendar-ok-btn-disabled>a:only-child:after,.ant-calendar .ant-calendar-ok-btn.disabled.active>a:only-child:after,.ant-calendar .ant-calendar-ok-btn.disabled:active>a:only-child:after,.ant-calendar .ant-calendar-ok-btn.disabled:focus>a:only-child:after,.ant-calendar .ant-calendar-ok-btn.disabled:hover>a:only-child:after,.ant-calendar .ant-calendar-ok-btn.disabled>a:only-child:after,.ant-calendar .ant-calendar-ok-btn[disabled].active>a:only-child:after,.ant-calendar .ant-calendar-ok-btn[disabled]:active>a:only-child:after,.ant-calendar .ant-calendar-ok-btn[disabled]:focus>a:only-child:after,.ant-calendar .ant-calendar-ok-btn[disabled]:hover>a:only-child:after,.ant-calendar .ant-calendar-ok-btn[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-calendar-range-picker-input{width:44%;height:99%;text-align:center;background-color:transparent;border:0;outline:0}.ant-calendar-range-picker-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-calendar-range-picker-input:-ms-input-placeholder{color:#bfbfbf}.ant-calendar-range-picker-input::-webkit-input-placeholder{color:#bfbfbf}.ant-calendar-range-picker-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-calendar-range-picker-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-calendar-range-picker-input:placeholder-shown{text-overflow:ellipsis}.ant-calendar-range-picker-input[disabled]{cursor:not-allowed}.ant-calendar-range-picker-separator{display:inline-block;min-width:10px;height:100%;color:rgba(0,0,0,.45);white-space:nowrap;text-align:center;vertical-align:top;pointer-events:none}.ant-input-disabled .ant-calendar-range-picker-separator{color:rgba(0,0,0,.25)}.ant-calendar-range{width:552px;overflow:hidden}.ant-calendar-range .ant-calendar-date-panel:after{display:block;clear:both;height:0;visibility:hidden;content:"."}.ant-calendar-range-part{position:relative;width:50%}.ant-calendar-range-left{float:left}.ant-calendar-range-left .ant-calendar-time-picker-inner{border-right:1px solid #e8e8e8}.ant-calendar-range-right{float:right}.ant-calendar-range-right .ant-calendar-time-picker-inner{border-left:1px solid #e8e8e8}.ant-calendar-range-middle{position:absolute;left:50%;z-index:1;height:34px;margin:1px 0 0 0;padding:0 200px 0 0;color:rgba(0,0,0,.45);line-height:34px;text-align:center;-webkit-transform:translateX(-50%);transform:translateX(-50%);pointer-events:none}.ant-calendar-range-right .ant-calendar-date-input-wrap{margin-left:-90px}.ant-calendar-range.ant-calendar-time .ant-calendar-range-middle{padding:0 10px 0 0;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ant-calendar-range .ant-calendar-today :not(.ant-calendar-disabled-cell) :not(.ant-calendar-last-month-cell) :not(.ant-calendar-next-month-btn-day) .ant-calendar-date{color:#1890ff;background:#bae7ff;border-color:#1890ff}.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date,.ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date{color:#fff;background:#1890ff;border:1px solid transparent}.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date:hover,.ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date:hover{background:#1890ff}.ant-calendar-range.ant-calendar-time .ant-calendar-range-right .ant-calendar-date-input-wrap{margin-left:0}.ant-calendar-range .ant-calendar-input-wrap{position:relative;height:34px}.ant-calendar-range .ant-calendar-input,.ant-calendar-range .ant-calendar-time-picker-input{position:relative;display:inline-block;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;transition:all .3s;height:24px;padding-right:0;padding-left:0;line-height:24px;border:0;-webkit-box-shadow:none;box-shadow:none}.ant-calendar-range .ant-calendar-input::-moz-placeholder,.ant-calendar-range .ant-calendar-time-picker-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-calendar-range .ant-calendar-input:-ms-input-placeholder,.ant-calendar-range .ant-calendar-time-picker-input:-ms-input-placeholder{color:#bfbfbf}.ant-calendar-range .ant-calendar-input::-webkit-input-placeholder,.ant-calendar-range .ant-calendar-time-picker-input::-webkit-input-placeholder{color:#bfbfbf}.ant-calendar-range .ant-calendar-input:-moz-placeholder-shown,.ant-calendar-range .ant-calendar-time-picker-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-calendar-range .ant-calendar-input:-ms-input-placeholder,.ant-calendar-range .ant-calendar-time-picker-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-calendar-range .ant-calendar-input:placeholder-shown,.ant-calendar-range .ant-calendar-time-picker-input:placeholder-shown{text-overflow:ellipsis}.ant-calendar-range .ant-calendar-input:hover,.ant-calendar-range .ant-calendar-time-picker-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-calendar-range .ant-calendar-input:focus,.ant-calendar-range .ant-calendar-time-picker-input:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-calendar-range .ant-calendar-input-disabled,.ant-calendar-range .ant-calendar-time-picker-input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-calendar-range .ant-calendar-input-disabled:hover,.ant-calendar-range .ant-calendar-time-picker-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-calendar-range .ant-calendar-input[disabled],.ant-calendar-range .ant-calendar-time-picker-input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-calendar-range .ant-calendar-input[disabled]:hover,.ant-calendar-range .ant-calendar-time-picker-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-calendar-range .ant-calendar-input,textarea.ant-calendar-range .ant-calendar-time-picker-input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-calendar-range .ant-calendar-input-lg,.ant-calendar-range .ant-calendar-time-picker-input-lg{height:40px;padding:6px 11px;font-size:16px}.ant-calendar-range .ant-calendar-input-sm,.ant-calendar-range .ant-calendar-time-picker-input-sm{height:24px;padding:1px 7px}.ant-calendar-range .ant-calendar-input:focus,.ant-calendar-range .ant-calendar-time-picker-input:focus{-webkit-box-shadow:none;box-shadow:none}.ant-calendar-range .ant-calendar-time-picker-icon{display:none}.ant-calendar-range.ant-calendar-week-number{width:574px}.ant-calendar-range.ant-calendar-week-number .ant-calendar-range-part{width:286px}.ant-calendar-range .ant-calendar-decade-panel,.ant-calendar-range .ant-calendar-month-panel,.ant-calendar-range .ant-calendar-year-panel{top:34px}.ant-calendar-range .ant-calendar-month-panel .ant-calendar-year-panel{top:0}.ant-calendar-range .ant-calendar-decade-panel-table,.ant-calendar-range .ant-calendar-month-panel-table,.ant-calendar-range .ant-calendar-year-panel-table{height:208px}.ant-calendar-range .ant-calendar-in-range-cell{position:relative;border-radius:0}.ant-calendar-range .ant-calendar-in-range-cell>div{position:relative;z-index:1}.ant-calendar-range .ant-calendar-in-range-cell:before{position:absolute;top:4px;right:0;bottom:4px;left:0;display:block;background:#e6f7ff;border:0;border-radius:0;content:""}.ant-calendar-range .ant-calendar-footer-extra{float:left}div.ant-calendar-range-quick-selector{text-align:left}div.ant-calendar-range-quick-selector>a{margin-right:8px}.ant-calendar-range .ant-calendar-decade-panel-header,.ant-calendar-range .ant-calendar-header,.ant-calendar-range .ant-calendar-month-panel-header,.ant-calendar-range .ant-calendar-year-panel-header{border-bottom:0}.ant-calendar-range .ant-calendar-body,.ant-calendar-range .ant-calendar-decade-panel-body,.ant-calendar-range .ant-calendar-month-panel-body,.ant-calendar-range .ant-calendar-year-panel-body{border-top:1px solid #e8e8e8}.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker{top:68px;z-index:2;width:100%;height:207px}.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-panel{height:267px;margin-top:-34px}.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-inner{height:100%;padding-top:40px;background:none}.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-combobox{display:inline-block;height:100%;background-color:#fff;border-top:1px solid #e8e8e8}.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-select{height:100%}.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-select ul{max-height:100%}.ant-calendar-range.ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn{margin-right:8px}.ant-calendar-range.ant-calendar-time .ant-calendar-today-btn{height:22px;margin:8px 12px;line-height:22px}.ant-calendar-range-with-ranges.ant-calendar-time .ant-calendar-time-picker{height:233px}.ant-calendar-range.ant-calendar-show-time-picker .ant-calendar-body{border-top-color:transparent}.ant-calendar-time-picker{position:absolute;top:40px;width:100%;background-color:#fff}.ant-calendar-time-picker-panel{position:absolute;z-index:1050;width:100%}.ant-calendar-time-picker-inner{position:relative;display:inline-block;width:100%;overflow:hidden;font-size:14px;line-height:1.5;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;outline:none}.ant-calendar-time-picker-column-1,.ant-calendar-time-picker-column-1 .ant-calendar-time-picker-select,.ant-calendar-time-picker-combobox{width:100%}.ant-calendar-time-picker-column-2 .ant-calendar-time-picker-select{width:50%}.ant-calendar-time-picker-column-3 .ant-calendar-time-picker-select{width:33.33%}.ant-calendar-time-picker-column-4 .ant-calendar-time-picker-select{width:25%}.ant-calendar-time-picker-input-wrap{display:none}.ant-calendar-time-picker-select{position:relative;float:left;height:226px;overflow:hidden;font-size:14px;border-right:1px solid #e8e8e8}.ant-calendar-time-picker-select:hover{overflow-y:auto}.ant-calendar-time-picker-select:first-child{margin-left:0;border-left:0}.ant-calendar-time-picker-select:last-child{border-right:0}.ant-calendar-time-picker-select ul{width:100%;max-height:206px;margin:0;padding:0;list-style:none}.ant-calendar-time-picker-select li{width:100%;height:24px;margin:0;line-height:24px;text-align:center;list-style:none;cursor:pointer;-webkit-transition:all .3s;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-calendar-time-picker-select li:last-child:after{display:block;height:202px;content:""}.ant-calendar-time-picker-select li:hover{background:#e6f7ff}.ant-calendar-time-picker-select li:focus{color:#1890ff;font-weight:600;outline:none}li.ant-calendar-time-picker-select-option-selected{font-weight:600;background:#f5f5f5}li.ant-calendar-time-picker-select-option-disabled{color:rgba(0,0,0,.25)}li.ant-calendar-time-picker-select-option-disabled:hover{background:transparent;cursor:not-allowed}.ant-calendar-time .ant-calendar-day-select{display:inline-block;padding:0 2px;color:rgba(0,0,0,.85);font-weight:500;line-height:34px}.ant-calendar-time .ant-calendar-footer{position:relative;height:auto}.ant-calendar-time .ant-calendar-footer-btn{text-align:right}.ant-calendar-time .ant-calendar-footer .ant-calendar-today-btn{float:left;margin:0}.ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn{display:inline-block;margin-right:8px}.ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn-disabled{color:rgba(0,0,0,.25)}.ant-calendar-month-panel{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:#fff;border-radius:4px;outline:none}.ant-calendar-month-panel>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.ant-calendar-month-panel-hidden{display:none}.ant-calendar-month-panel-header{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #e8e8e8;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.ant-calendar-month-panel-header a:hover{color:#40a9ff}.ant-calendar-month-panel-header .ant-calendar-month-panel-century-select,.ant-calendar-month-panel-header .ant-calendar-month-panel-decade-select,.ant-calendar-month-panel-header .ant-calendar-month-panel-month-select,.ant-calendar-month-panel-header .ant-calendar-month-panel-year-select{display:inline-block;padding:0 2px;color:rgba(0,0,0,.85);font-weight:500;line-height:40px}.ant-calendar-month-panel-header .ant-calendar-month-panel-century-select-arrow,.ant-calendar-month-panel-header .ant-calendar-month-panel-decade-select-arrow,.ant-calendar-month-panel-header .ant-calendar-month-panel-month-select-arrow,.ant-calendar-month-panel-header .ant-calendar-month-panel-year-select-arrow{display:none}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn{position:absolute;top:0;display:inline-block;padding:0 5px;color:rgba(0,0,0,.45);font-size:16px;font-family:Arial,Hiragino Sans GB,Microsoft Yahei,"Microsoft Sans Serif",sans-serif;line-height:40px}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn{left:7px;height:100%}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn:hover:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn:hover:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn:after{display:none;position:relative;left:-3px;display:inline-block}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn{right:7px;height:100%}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:hover:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:hover:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:after{display:none}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:before,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:before{position:relative;left:3px}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:after{display:inline-block}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn{left:29px;height:100%}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn:after{display:none}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn{right:29px;height:100%}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:hover:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:after{display:none}.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:after,.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-month-panel-body{-webkit-box-flex:1;-ms-flex:1;flex:1}.ant-calendar-month-panel-footer{border-top:1px solid #e8e8e8}.ant-calendar-month-panel-footer .ant-calendar-footer-extra{padding:0 12px}.ant-calendar-month-panel-table{width:100%;height:100%;table-layout:fixed;border-collapse:separate}.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month,.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month:hover{color:#fff;background:#1890ff}.ant-calendar-month-panel-cell{text-align:center}.ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month,.ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month:hover{color:rgba(0,0,0,.25);background:#f5f5f5;cursor:not-allowed}.ant-calendar-month-panel-month{display:inline-block;height:24px;margin:0 auto;padding:0 8px;color:rgba(0,0,0,.65);line-height:24px;text-align:center;background:transparent;border-radius:2px;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-calendar-month-panel-month:hover{background:#e6f7ff;cursor:pointer}.ant-calendar-year-panel{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:#fff;border-radius:4px;outline:none}.ant-calendar-year-panel>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.ant-calendar-year-panel-hidden{display:none}.ant-calendar-year-panel-header{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #e8e8e8;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.ant-calendar-year-panel-header a:hover{color:#40a9ff}.ant-calendar-year-panel-header .ant-calendar-year-panel-century-select,.ant-calendar-year-panel-header .ant-calendar-year-panel-decade-select,.ant-calendar-year-panel-header .ant-calendar-year-panel-month-select,.ant-calendar-year-panel-header .ant-calendar-year-panel-year-select{display:inline-block;padding:0 2px;color:rgba(0,0,0,.85);font-weight:500;line-height:40px}.ant-calendar-year-panel-header .ant-calendar-year-panel-century-select-arrow,.ant-calendar-year-panel-header .ant-calendar-year-panel-decade-select-arrow,.ant-calendar-year-panel-header .ant-calendar-year-panel-month-select-arrow,.ant-calendar-year-panel-header .ant-calendar-year-panel-year-select-arrow{display:none}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn{position:absolute;top:0;display:inline-block;padding:0 5px;color:rgba(0,0,0,.45);font-size:16px;font-family:Arial,Hiragino Sans GB,Microsoft Yahei,"Microsoft Sans Serif",sans-serif;line-height:40px}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn{left:7px;height:100%}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn:hover:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn:hover:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn:after{display:none;position:relative;left:-3px;display:inline-block}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn{right:7px;height:100%}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:hover:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:hover:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:after{display:none}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:before,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:before{position:relative;left:3px}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:after{display:inline-block}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn{left:29px;height:100%}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn:after{display:none}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn{right:29px;height:100%}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:hover:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:after{display:none}.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:after,.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-year-panel-body{-webkit-box-flex:1;-ms-flex:1;flex:1}.ant-calendar-year-panel-footer{border-top:1px solid #e8e8e8}.ant-calendar-year-panel-footer .ant-calendar-footer-extra{padding:0 12px}.ant-calendar-year-panel-table{width:100%;height:100%;table-layout:fixed;border-collapse:separate}.ant-calendar-year-panel-cell{text-align:center}.ant-calendar-year-panel-cell-disabled .ant-calendar-year-panel-year,.ant-calendar-year-panel-cell-disabled .ant-calendar-year-panel-year:hover{color:rgba(0,0,0,.25);background:#f5f5f5;cursor:not-allowed}.ant-calendar-year-panel-year{display:inline-block;height:24px;margin:0 auto;padding:0 8px;color:rgba(0,0,0,.65);line-height:24px;text-align:center;background:transparent;border-radius:2px;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-calendar-year-panel-year:hover{background:#e6f7ff;cursor:pointer}.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year,.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year:hover{color:#fff;background:#1890ff}.ant-calendar-year-panel-last-decade-cell .ant-calendar-year-panel-year,.ant-calendar-year-panel-next-decade-cell .ant-calendar-year-panel-year{color:rgba(0,0,0,.25);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-calendar-decade-panel{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#fff;border-radius:4px;outline:none}.ant-calendar-decade-panel-hidden{display:none}.ant-calendar-decade-panel-header{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #e8e8e8;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.ant-calendar-decade-panel-header a:hover{color:#40a9ff}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-century-select,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-decade-select,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-month-select,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-year-select{display:inline-block;padding:0 2px;color:rgba(0,0,0,.85);font-weight:500;line-height:40px}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-century-select-arrow,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-decade-select-arrow,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-month-select-arrow,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-year-select-arrow{display:none}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn{position:absolute;top:0;display:inline-block;padding:0 5px;color:rgba(0,0,0,.45);font-size:16px;font-family:Arial,Hiragino Sans GB,Microsoft Yahei,"Microsoft Sans Serif",sans-serif;line-height:40px}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn{left:7px;height:100%}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn:hover:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn:hover:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn:after{display:none;position:relative;left:-3px;display:inline-block}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn{right:7px;height:100%}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:hover:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:hover:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:after{display:none}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:before,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:before{position:relative;left:3px}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:after{display:inline-block}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn{left:29px;height:100%}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn:after{display:none}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn{right:29px;height:100%}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn:before{position:relative;top:-1px;display:inline-block;width:8px;height:8px;vertical-align:middle;border:0 solid #aaa;border-width:1.5px 0 0 1.5px;border-radius:1px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);-webkit-transition:all .3s;transition:all .3s;content:""}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn:hover:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn:hover:before{border-color:rgba(0,0,0,.65)}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn:after{display:none}.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn:after,.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn:before{-webkit-transform:rotate(135deg) scale(.8);transform:rotate(135deg) scale(.8)}.ant-calendar-decade-panel-body{-webkit-box-flex:1;-ms-flex:1;flex:1}.ant-calendar-decade-panel-footer{border-top:1px solid #e8e8e8}.ant-calendar-decade-panel-footer .ant-calendar-footer-extra{padding:0 12px}.ant-calendar-decade-panel-table{width:100%;height:100%;table-layout:fixed;border-collapse:separate}.ant-calendar-decade-panel-cell{white-space:nowrap;text-align:center}.ant-calendar-decade-panel-decade{display:inline-block;height:24px;margin:0 auto;padding:0 6px;color:rgba(0,0,0,.65);line-height:24px;text-align:center;background:transparent;border-radius:2px;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-calendar-decade-panel-decade:hover{background:#e6f7ff;cursor:pointer}.ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade,.ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade:hover{color:#fff;background:#1890ff}.ant-calendar-decade-panel-last-century-cell .ant-calendar-decade-panel-decade,.ant-calendar-decade-panel-next-century-cell .ant-calendar-decade-panel-decade{color:rgba(0,0,0,.25);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-calendar-month .ant-calendar-month-header-wrap{position:relative;height:288px}.ant-calendar-month .ant-calendar-month-panel,.ant-calendar-month .ant-calendar-year-panel{top:0;height:100%}.ant-calendar-week-number-cell{opacity:.5}.ant-calendar-week-number .ant-calendar-body tr{cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-calendar-week-number .ant-calendar-body tr:hover{background:#e6f7ff}.ant-calendar-week-number .ant-calendar-body tr.ant-calendar-active-week{font-weight:700;background:#bae7ff}.ant-calendar-week-number .ant-calendar-body tr .ant-calendar-selected-day .ant-calendar-date,.ant-calendar-week-number .ant-calendar-body tr .ant-calendar-selected-day:hover .ant-calendar-date{color:rgba(0,0,0,.65);background:transparent}.ant-time-picker-panel{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;z-index:1050;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.ant-time-picker-panel-inner{position:relative;left:-2px;font-size:14px;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border-radius:4px;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-time-picker-panel-input{width:100%;max-width:154px;margin:0;padding:0;line-height:normal;border:0;outline:0;cursor:auto}.ant-time-picker-panel-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-time-picker-panel-input:-ms-input-placeholder{color:#bfbfbf}.ant-time-picker-panel-input::-webkit-input-placeholder{color:#bfbfbf}.ant-time-picker-panel-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-time-picker-panel-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-time-picker-panel-input:placeholder-shown{text-overflow:ellipsis}.ant-time-picker-panel-input-wrap{position:relative;padding:7px 2px 7px 12px;border-bottom:1px solid #e8e8e8}.ant-time-picker-panel-input-invalid{border-color:#f5222d}.ant-time-picker-panel-narrow .ant-time-picker-panel-input-wrap{max-width:112px}.ant-time-picker-panel-select{position:relative;float:left;width:56px;max-height:192px;overflow:hidden;font-size:14px;border-left:1px solid #e8e8e8}.ant-time-picker-panel-select:hover{overflow-y:auto}.ant-time-picker-panel-select:first-child{margin-left:0;border-left:0}.ant-time-picker-panel-select:last-child{border-right:0}.ant-time-picker-panel-select:only-child{width:100%}.ant-time-picker-panel-select ul{width:56px;margin:0;padding:0 0 160px;list-style:none}.ant-time-picker-panel-select li{width:100%;height:32px;margin:0;padding:0 0 0 12px;line-height:32px;text-align:left;list-style:none;cursor:pointer;-webkit-transition:all .3s;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-time-picker-panel-select li:focus{color:#1890ff;font-weight:600;outline:none}.ant-time-picker-panel-select li:hover{background:#e6f7ff}li.ant-time-picker-panel-select-option-selected{font-weight:600;background:#f5f5f5}li.ant-time-picker-panel-select-option-selected:hover{background:#f5f5f5}li.ant-time-picker-panel-select-option-disabled{color:rgba(0,0,0,.25)}li.ant-time-picker-panel-select-option-disabled:hover{background:transparent;cursor:not-allowed}li.ant-time-picker-panel-select-option-disabled:focus{color:rgba(0,0,0,.25);font-weight:inherit}.ant-time-picker-panel-combobox{zoom:1}.ant-time-picker-panel-combobox:after,.ant-time-picker-panel-combobox:before{display:table;content:""}.ant-time-picker-panel-combobox:after{clear:both}.ant-time-picker-panel-addon{padding:8px;border-top:1px solid #e8e8e8}.ant-time-picker-panel.slide-up-appear.slide-up-appear-active.ant-time-picker-panel-placement-topLeft,.ant-time-picker-panel.slide-up-appear.slide-up-appear-active.ant-time-picker-panel-placement-topRight,.ant-time-picker-panel.slide-up-enter.slide-up-enter-active.ant-time-picker-panel-placement-topLeft,.ant-time-picker-panel.slide-up-enter.slide-up-enter-active.ant-time-picker-panel-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-time-picker-panel.slide-up-appear.slide-up-appear-active.ant-time-picker-panel-placement-bottomLeft,.ant-time-picker-panel.slide-up-appear.slide-up-appear-active.ant-time-picker-panel-placement-bottomRight,.ant-time-picker-panel.slide-up-enter.slide-up-enter-active.ant-time-picker-panel-placement-bottomLeft,.ant-time-picker-panel.slide-up-enter.slide-up-enter-active.ant-time-picker-panel-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-time-picker-panel.slide-up-leave.slide-up-leave-active.ant-time-picker-panel-placement-topLeft,.ant-time-picker-panel.slide-up-leave.slide-up-leave-active.ant-time-picker-panel-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-time-picker-panel.slide-up-leave.slide-up-leave-active.ant-time-picker-panel-placement-bottomLeft,.ant-time-picker-panel.slide-up-leave.slide-up-leave-active.ant-time-picker-panel-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-time-picker{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;font-size:14px;font-variant:tabular-nums;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";width:128px;outline:none;cursor:text;-webkit-transition:opacity .3s;transition:opacity .3s}.ant-time-picker,.ant-time-picker-input{color:rgba(0,0,0,.65);line-height:1.5;position:relative;display:inline-block}.ant-time-picker-input{width:100%;height:32px;padding:4px 11px;font-size:14px;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;transition:all .3s}.ant-time-picker-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-time-picker-input:-ms-input-placeholder{color:#bfbfbf}.ant-time-picker-input::-webkit-input-placeholder{color:#bfbfbf}.ant-time-picker-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-time-picker-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-time-picker-input:placeholder-shown{text-overflow:ellipsis}.ant-time-picker-input:focus,.ant-time-picker-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-time-picker-input:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-time-picker-input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-time-picker-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-time-picker-input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-time-picker-input-lg{height:40px;padding:6px 11px;font-size:16px}.ant-time-picker-input-sm{height:24px;padding:1px 7px}.ant-time-picker-input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-time-picker-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-time-picker-open{opacity:0}.ant-time-picker-clear,.ant-time-picker-icon{position:absolute;top:50%;right:11px;z-index:1;width:14px;height:14px;margin-top:-7px;color:rgba(0,0,0,.25);line-height:14px;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-time-picker-clear .ant-time-picker-clock-icon,.ant-time-picker-icon .ant-time-picker-clock-icon{display:block;color:rgba(0,0,0,.25);line-height:1}.ant-time-picker-clear{z-index:2;background:#fff;opacity:0;pointer-events:none}.ant-time-picker-clear:hover{color:rgba(0,0,0,.45)}.ant-time-picker:hover .ant-time-picker-clear{opacity:1;pointer-events:auto}.ant-time-picker-large .ant-time-picker-input{height:40px;padding:6px 11px;font-size:16px}.ant-time-picker-small .ant-time-picker-input{height:24px;padding:1px 7px}.ant-time-picker-small .ant-time-picker-clear,.ant-time-picker-small .ant-time-picker-icon{right:7px}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none) and (stroke-color:transparent){.ant-input{line-height:1.5}}}.ant-tag{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block;height:auto;margin-right:8px;padding:0 7px;font-size:12px;line-height:20px;white-space:nowrap;background:#fafafa;border:1px solid #d9d9d9;border-radius:4px;cursor:default;opacity:1;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-tag:hover{opacity:.85}.ant-tag,.ant-tag a,.ant-tag a:hover{color:rgba(0,0,0,.65)}.ant-tag>a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ant-tag .anticon-close{display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);margin-left:3px;color:rgba(0,0,0,.45);font-weight:700;cursor:pointer;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86)}:root .ant-tag .anticon-close{font-size:12px}.ant-tag .anticon-close:hover{color:rgba(0,0,0,.85)}.ant-tag-has-color{border-color:transparent}.ant-tag-has-color,.ant-tag-has-color .anticon-close,.ant-tag-has-color .anticon-close:hover,.ant-tag-has-color a,.ant-tag-has-color a:hover{color:#fff}.ant-tag-checkable{background-color:transparent;border-color:transparent}.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#1890ff}.ant-tag-checkable-checked,.ant-tag-checkable:active{color:#fff}.ant-tag-checkable-checked{background-color:#1890ff}.ant-tag-checkable:active{background-color:#096dd9}.ant-tag-hidden{display:none}.ant-tag-pink{color:#eb2f96;background:#fff0f6;border-color:#ffadd2}.ant-tag-pink-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-magenta{color:#eb2f96;background:#fff0f6;border-color:#ffadd2}.ant-tag-magenta-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-red{color:#f5222d;background:#fff1f0;border-color:#ffa39e}.ant-tag-red-inverse{color:#fff;background:#f5222d;border-color:#f5222d}.ant-tag-volcano{color:#fa541c;background:#fff2e8;border-color:#ffbb96}.ant-tag-volcano-inverse{color:#fff;background:#fa541c;border-color:#fa541c}.ant-tag-orange{color:#fa8c16;background:#fff7e6;border-color:#ffd591}.ant-tag-orange-inverse{color:#fff;background:#fa8c16;border-color:#fa8c16}.ant-tag-yellow{color:#fadb14;background:#feffe6;border-color:#fffb8f}.ant-tag-yellow-inverse{color:#fff;background:#fadb14;border-color:#fadb14}.ant-tag-gold{color:#faad14;background:#fffbe6;border-color:#ffe58f}.ant-tag-gold-inverse{color:#fff;background:#faad14;border-color:#faad14}.ant-tag-cyan{color:#13c2c2;background:#e6fffb;border-color:#87e8de}.ant-tag-cyan-inverse{color:#fff;background:#13c2c2;border-color:#13c2c2}.ant-tag-lime{color:#a0d911;background:#fcffe6;border-color:#eaff8f}.ant-tag-lime-inverse{color:#fff;background:#a0d911;border-color:#a0d911}.ant-tag-green{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.ant-tag-green-inverse{color:#fff;background:#52c41a;border-color:#52c41a}.ant-tag-blue{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.ant-tag-blue-inverse{color:#fff;background:#1890ff;border-color:#1890ff}.ant-tag-geekblue{color:#2f54eb;background:#f0f5ff;border-color:#adc6ff}.ant-tag-geekblue-inverse{color:#fff;background:#2f54eb;border-color:#2f54eb}.ant-tag-purple{color:#722ed1;background:#f9f0ff;border-color:#d3adf7}.ant-tag-purple-inverse{color:#fff;background:#722ed1;border-color:#722ed1}.ant-descriptions-title{margin-bottom:20px;color:rgba(0,0,0,.85);font-weight:700;font-size:16px;line-height:1.5}.ant-descriptions-view{width:100%;overflow:hidden;border-radius:4px}.ant-descriptions-view table{width:100%;table-layout:fixed}.ant-descriptions-row>td,.ant-descriptions-row>th{padding-bottom:16px}.ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-item-label{color:rgba(0,0,0,.85);font-weight:400;font-size:14px;line-height:1.5}.ant-descriptions-item-label:after{position:relative;top:-.5px;margin:0 8px 0 2px;content:" "}.ant-descriptions-item-colon:after{content:":"}.ant-descriptions-item-no-label:after{margin:0;content:""}.ant-descriptions-item-content{display:table-cell;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5}.ant-descriptions-item{padding-bottom:0}.ant-descriptions-item>span{display:inline-block}.ant-descriptions-middle .ant-descriptions-row>td,.ant-descriptions-middle .ant-descriptions-row>th{padding-bottom:12px}.ant-descriptions-small .ant-descriptions-row>td,.ant-descriptions-small .ant-descriptions-row>th{padding-bottom:8px}.ant-descriptions-bordered .ant-descriptions-view{border:1px solid #e8e8e8}.ant-descriptions-bordered .ant-descriptions-view>table{table-layout:auto}.ant-descriptions-bordered .ant-descriptions-item-content,.ant-descriptions-bordered .ant-descriptions-item-label{padding:16px 24px;border-right:1px solid #e8e8e8}.ant-descriptions-bordered .ant-descriptions-item-content:last-child,.ant-descriptions-bordered .ant-descriptions-item-label:last-child{border-right:none}.ant-descriptions-bordered .ant-descriptions-item-label{background-color:#fafafa}.ant-descriptions-bordered .ant-descriptions-item-label:after{display:none}.ant-descriptions-bordered .ant-descriptions-row{border-bottom:1px solid #e8e8e8}.ant-descriptions-bordered .ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label{padding:12px 24px}.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:8px 16px}.ant-divider{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";background:#e8e8e8}.ant-divider,.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;width:1px;height:.9em;margin:0 8px;vertical-align:middle}.ant-divider-horizontal{display:block;clear:both;width:100%;min-width:100%;height:1px;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text-center,.ant-divider-horizontal.ant-divider-with-text-left,.ant-divider-horizontal.ant-divider-with-text-right{display:table;margin:16px 0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-align:center;background:transparent}.ant-divider-horizontal.ant-divider-with-text-center:after,.ant-divider-horizontal.ant-divider-with-text-center:before,.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-left:before,.ant-divider-horizontal.ant-divider-with-text-right:after,.ant-divider-horizontal.ant-divider-with-text-right:before{position:relative;top:50%;display:table-cell;width:50%;border-top:1px solid #e8e8e8;-webkit-transform:translateY(50%);transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left .ant-divider-inner-text,.ant-divider-horizontal.ant-divider-with-text-right .ant-divider-inner-text{display:inline-block;padding:0 10px}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 24px}.ant-divider-dashed{background:none;border-color:#e8e8e8;border-style:dashed;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.ant-drawer{position:fixed;z-index:1000;width:0;height:100%;-webkit-transition:height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer>*{-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-content-wrapper{position:absolute}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-left.ant-drawer-open.no-mask,.ant-drawer-right.ant-drawer-open.no-mask{width:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.15);box-shadow:2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.15);box-shadow:-2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;-webkit-transform:translateX(1px);transform:translateX(1px)}.ant-drawer-bottom,.ant-drawer-top{left:0;width:100%;height:0%}.ant-drawer-bottom .ant-drawer-content-wrapper,.ant-drawer-top .ant-drawer-content-wrapper{width:100%}.ant-drawer-bottom.ant-drawer-open,.ant-drawer-top.ant-drawer-open{height:100%;-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-bottom.ant-drawer-open.no-mask,.ant-drawer-top.ant-drawer-open.no-mask{height:0%}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.15);box-shadow:0 -2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;-webkit-transform:translateY(1px);transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;-webkit-transition:none;transition:none;-webkit-animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{position:absolute;top:0;right:0;z-index:10;display:block;width:56px;height:56px;padding:0;color:rgba(0,0,0,.45);font-weight:700;font-size:16px;font-style:normal;line-height:56px;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;-webkit-transition:color .3s;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-drawer-header{position:relative;padding:16px 24px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-drawer-header,.ant-drawer-header-no-title{color:rgba(0,0,0,.65);background:#fff}.ant-drawer-body{padding:24px;font-size:14px;line-height:1.5;word-wrap:break-word}.ant-drawer-wrapper-body{height:100%;overflow:auto}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:rgba(0,0,0,.45);opacity:0;filter:alpha(opacity=45);-webkit-transition:opacity .3s linear,height 0s ease .3s;transition:opacity .3s linear,height 0s ease .3s}.ant-drawer-open-content{-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}@-webkit-keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}.ant-form{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:rgba(0,0,0,.45);font-size:16px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:14px}.ant-form input[type=search]{-webkit-box-sizing:border-box;box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5}.ant-form-item-required:before{display:inline-block;margin-right:4px;color:#f5222d;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-required:before{display:none}.ant-form-item-label>label{color:rgba(0,0,0,.85)}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin-bottom:24px;vertical-align:top}.ant-form-item label{position:relative}.ant-form-item label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-control{position:relative;line-height:40px;zoom:1}.ant-form-item-control:after,.ant-form-item-control:before{display:table;content:""}.ant-form-item-control:after{clear:both}.ant-form-item-children{position:relative}.ant-form-item-with-help{margin-bottom:5px}.ant-form-item-label{display:inline-block;overflow:hidden;line-height:39.9999px;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item .ant-switch{margin:2px 0 4px}.ant-form-explain,.ant-form-extra{clear:both;min-height:22px;margin-top:-2px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;-webkit-transition:color .3s cubic-bezier(.215,.61,.355,1);transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-explain{margin-bottom:-1px}.ant-form-extra{padding-top:4px}.ant-form-text{display:inline-block;padding-right:8px}.ant-form-split{display:block;text-align:center}form .has-feedback .ant-input{padding-right:30px}form .has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:18px}form .has-feedback .ant-input-affix-wrapper .ant-input{padding-right:49px}form .has-feedback .ant-input-affix-wrapper.ant-input-affix-wrapper-input-with-clear-btn .ant-input{padding-right:68px}form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection__clear,form .has-feedback>.ant-select .ant-select-arrow,form .has-feedback>.ant-select .ant-select-selection__clear{right:28px}form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,form .has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:42px}form .has-feedback .ant-cascader-picker-arrow{margin-right:17px}form .has-feedback .ant-calendar-picker-clear,form .has-feedback .ant-calendar-picker-icon,form .has-feedback .ant-cascader-picker-clear,form .has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix,form .has-feedback .ant-time-picker-clear,form .has-feedback .ant-time-picker-icon{right:28px}form .ant-mentions,form textarea.ant-input{height:auto;margin-bottom:4px}form .ant-upload{background:transparent}form input[type=checkbox],form input[type=radio]{width:14px;height:14px}form .ant-checkbox-inline,form .ant-radio-inline{display:inline-block;margin-left:8px;font-weight:400;vertical-align:middle;cursor:pointer}form .ant-checkbox-inline:first-child,form .ant-radio-inline:first-child{margin-left:0}form .ant-checkbox-vertical,form .ant-radio-vertical{display:block}form .ant-checkbox-vertical+.ant-checkbox-vertical,form .ant-radio-vertical+.ant-radio-vertical{margin-left:0}form .ant-input-number+.ant-form-text{margin-left:8px}form .ant-input-number-handler-wrap{z-index:2}form .ant-cascader-picker,form .ant-select{width:100%}form .ant-input-group .ant-cascader-picker,form .ant-input-group .ant-select{width:auto}form .ant-input-group-wrapper,form :not(.ant-input-group-wrapper)>.ant-input-group{display:inline-block;vertical-align:middle}form:not(.ant-form-vertical) .ant-input-group-wrapper,form:not(.ant-form-vertical) :not(.ant-input-group-wrapper)>.ant-input-group{position:relative;top:-1px}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-24.ant-form-item-label label:after,.ant-col-xl-24.ant-form-item-label label:after,.ant-form-vertical .ant-form-item-label label:after{display:none}.ant-form-vertical .ant-form-item{padding-bottom:8px}.ant-form-vertical .ant-form-item-control{line-height:1.5}.ant-form-vertical .ant-form-explain{margin-top:2px;margin-bottom:-5px}.ant-form-vertical .ant-form-extra{margin-top:2px;margin-bottom:-4px}@media (max-width:575px){.ant-form-item-control-wrapper,.ant-form-item-label{display:block;width:100%}.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-form-item-label label:after{display:none}.ant-col-xs-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xs-24.ant-form-item-label label:after{display:none}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-sm-24.ant-form-item-label label:after{display:none}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-md-24.ant-form-item-label label:after{display:none}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-lg-24.ant-form-item-label label:after{display:none}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xl-24.ant-form-item-label label:after{display:none}}.ant-form-inline .ant-form-item{display:inline-block;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control-wrapper,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-text,.ant-form-inline .has-feedback{display:inline-block}.has-error.has-feedback .ant-form-item-children-icon,.has-success.has-feedback .ant-form-item-children-icon,.has-warning.has-feedback .ant-form-item-children-icon,.is-validating.has-feedback .ant-form-item-children-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:20px;margin-top:-10px;font-size:14px;line-height:20px;text-align:center;visibility:visible;-webkit-animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.has-error.has-feedback .ant-form-item-children-icon svg,.has-success.has-feedback .ant-form-item-children-icon svg,.has-warning.has-feedback .ant-form-item-children-icon svg,.is-validating.has-feedback .ant-form-item-children-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.has-success.has-feedback .ant-form-item-children-icon{color:#52c41a;-webkit-animation-name:diffZoomIn1!important;animation-name:diffZoomIn1!important}.has-warning .ant-form-explain,.has-warning .ant-form-split{color:#faad14}.has-warning .ant-input,.has-warning .ant-input:hover{background-color:#fff;border-color:#faad14}.has-warning .ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input:not([disabled]):hover{border-color:#faad14}.has-warning .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-affix-wrapper .ant-input,.has-warning .ant-input-affix-wrapper .ant-input:hover{background-color:#fff;border-color:#faad14}.has-warning .ant-input-affix-wrapper .ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#faad14}.has-warning .ant-input-prefix{color:#faad14}.has-warning .ant-input-group-addon{color:#faad14;background-color:#fff;border-color:#faad14}.has-warning .has-feedback{color:#faad14}.has-warning.has-feedback .ant-form-item-children-icon{color:#faad14;-webkit-animation-name:diffZoomIn3!important;animation-name:diffZoomIn3!important}.has-warning .ant-select-selection,.has-warning .ant-select-selection:hover{border-color:#faad14}.has-warning .ant-select-focused .ant-select-selection,.has-warning .ant-select-open .ant-select-selection{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-calendar-picker-icon:after,.has-warning .ant-cascader-picker-arrow,.has-warning .ant-picker-icon:after,.has-warning .ant-select-arrow,.has-warning .ant-time-picker-icon:after{color:#faad14}.has-warning .ant-input-number,.has-warning .ant-time-picker-input{border-color:#faad14}.has-warning .ant-input-number-focused,.has-warning .ant-input-number:focus,.has-warning .ant-time-picker-input-focused,.has-warning .ant-time-picker-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-number:not([disabled]):hover,.has-warning .ant-time-picker-input:not([disabled]):hover{border-color:#faad14}.has-warning .ant-cascader-picker:focus .ant-cascader-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-cascader-picker:hover .ant-cascader-input{border-color:#faad14}.has-error .ant-form-explain,.has-error .ant-form-split{color:#f5222d}.has-error .ant-input,.has-error .ant-input:hover{background-color:#fff;border-color:#f5222d}.has-error .ant-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input:not([disabled]):hover{border-color:#f5222d}.has-error .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-affix-wrapper .ant-input,.has-error .ant-input-affix-wrapper .ant-input:hover{background-color:#fff;border-color:#f5222d}.has-error .ant-input-affix-wrapper .ant-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#f5222d}.has-error .ant-input-prefix{color:#f5222d}.has-error .ant-input-group-addon{color:#f5222d;background-color:#fff;border-color:#f5222d}.has-error .has-feedback{color:#f5222d}.has-error.has-feedback .ant-form-item-children-icon{color:#f5222d;-webkit-animation-name:diffZoomIn2!important;animation-name:diffZoomIn2!important}.has-error .ant-select-selection,.has-error .ant-select-selection:hover{border-color:#f5222d}.has-error .ant-select-focused .ant-select-selection,.has-error .ant-select-open .ant-select-selection{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-select.ant-select-auto-complete .ant-input:focus{border-color:#f5222d}.has-error .ant-input-group-addon .ant-select-selection{border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.has-error .ant-calendar-picker-icon:after,.has-error .ant-cascader-picker-arrow,.has-error .ant-picker-icon:after,.has-error .ant-select-arrow,.has-error .ant-time-picker-icon:after{color:#f5222d}.has-error .ant-input-number,.has-error .ant-time-picker-input{border-color:#f5222d}.has-error .ant-input-number-focused,.has-error .ant-input-number:focus,.has-error .ant-time-picker-input-focused,.has-error .ant-time-picker-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-number:not([disabled]):hover,.has-error .ant-mention-wrapper .ant-mention-editor,.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover,.has-error .ant-time-picker-input:not([disabled]):hover{border-color:#f5222d}.has-error .ant-cascader-picker:focus .ant-cascader-input,.has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-cascader-picker:hover .ant-cascader-input,.has-error .ant-transfer-list{border-color:#f5222d}.has-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.has-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px!important}.has-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.is-validating.has-feedback .ant-form-item-children-icon{display:inline-block;color:#1890ff}.ant-advanced-search-form .ant-form-item{margin-bottom:24px}.ant-advanced-search-form .ant-form-item-with-help{margin-bottom:5px}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.show-help-appear.show-help-appear-active,.show-help-enter.show-help-enter-active{-webkit-animation-name:antShowHelpIn;animation-name:antShowHelpIn;-webkit-animation-play-state:running;animation-play-state:running}.show-help-leave.show-help-leave-active{-webkit-animation-name:antShowHelpOut;animation-name:antShowHelpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.show-help-appear,.show-help-enter{opacity:0}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1)}@-webkit-keyframes antShowHelpIn{0%{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes antShowHelpIn{0%{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes antShowHelpOut{to{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}}@keyframes antShowHelpOut{to{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}}@-webkit-keyframes diffZoomIn1{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn1{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes diffZoomIn2{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn2{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes diffZoomIn3{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn3{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}.ant-input-number{-webkit-box-sizing:border-box;box-sizing:border-box;font-variant:tabular-nums;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;-webkit-transition:all .3s;transition:all .3s;display:inline-block;width:90px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:4px}.ant-input-number::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-input-number:-ms-input-placeholder{color:#bfbfbf}.ant-input-number::-webkit-input-placeholder{color:#bfbfbf}.ant-input-number:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-number:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-number:placeholder-shown{text-overflow:ellipsis}.ant-input-number:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-number[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-input-number{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-input-number-lg{height:40px;padding:6px 11px}.ant-input-number-sm{height:24px;padding:1px 7px}.ant-input-number-handler{position:relative;display:block;width:100%;height:50%;overflow:hidden;color:rgba(0,0,0,.45);font-weight:700;line-height:0;text-align:center;-webkit-transition:all .1s linear;transition:all .1s linear}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-down-inner,.ant-input-number-handler:hover .ant-input-number-handler-up-inner{color:#40a9ff}.ant-input-number-handler-down-inner,.ant-input-number-handler-up-inner{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;width:12px;height:12px;color:rgba(0,0,0,.45);line-height:12px;-webkit-transition:all .1s linear;transition:all .1s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-input-number-handler-down-inner>*,.ant-input-number-handler-up-inner>*{line-height:1}.ant-input-number-handler-down-inner svg,.ant-input-number-handler-up-inner svg{display:inline-block}.ant-input-number-handler-down-inner:before,.ant-input-number-handler-up-inner:before{display:none}.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon{display:block}.ant-input-number-focused,.ant-input-number:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-number-focused{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-number-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap{display:none}.ant-input-number-input{width:100%;height:30px;padding:0 11px;text-align:left;background-color:transparent;border:0;border-radius:4px;outline:0;-webkit-transition:all .3s linear;transition:all .3s linear;-moz-appearance:textfield!important}.ant-input-number-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-input-number-input:-ms-input-placeholder{color:#bfbfbf}.ant-input-number-input::-webkit-input-placeholder{color:#bfbfbf}.ant-input-number-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-number-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-number-input:placeholder-shown{text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.ant-input-number-lg{padding:0;font-size:16px}.ant-input-number-lg input{height:38px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:22px;padding:0 7px}.ant-input-number-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border-left:1px solid #d9d9d9;border-radius:0 4px 4px 0;opacity:0;-webkit-transition:opacity .24s linear .1s;transition:opacity .24s linear .1s}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{display:inline-block;font-size:12px;font-size:7px\9;-webkit-transform:scale(.58333333) rotate(0deg);transform:scale(.58333333) rotate(0deg);min-width:auto;margin-right:0}:root .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,:root .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{font-size:12px}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number:hover .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:4px;cursor:pointer}.ant-input-number-handler-up-inner{top:50%;margin-top:-5px;text-align:center}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{top:0;border-top:1px solid #d9d9d9;border-bottom-right-radius:4px;cursor:pointer}.ant-input-number-handler-down-inner{top:50%;margin-top:-6px;text-align:center}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-handler-down-disabled,.ant-input-number-handler-up-disabled{cursor:not-allowed}.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner,.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner{color:rgba(0,0,0,.25)}.ant-layout{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0;background:#f0f2f5}.ant-layout,.ant-layout *{-webkit-box-sizing:border-box;box-sizing:border-box}.ant-layout.ant-layout-has-sider{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.ant-layout.ant-layout-has-sider>.ant-layout,.ant-layout.ant-layout-has-sider>.ant-layout-content{overflow-x:hidden}.ant-layout-footer,.ant-layout-header{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ant-layout-header{height:64px;padding:0 50px;line-height:64px;background:#001529}.ant-layout-footer{padding:24px 50px;color:rgba(0,0,0,.65);font-size:14px;background:#f0f2f5}.ant-layout-content{-webkit-box-flex:1;-ms-flex:auto;flex:auto;min-height:0}.ant-layout-sider{position:relative;min-width:0;background:#001529;-webkit-transition:all .2s;transition:all .2s}.ant-layout-sider-children{height:100%;margin-top:-.1px;padding-top:.1px}.ant-layout-sider-has-trigger{padding-bottom:48px}.ant-layout-sider-right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ant-layout-sider-trigger{position:fixed;bottom:0;z-index:1;height:48px;color:#fff;line-height:48px;text-align:center;background:#002140;cursor:pointer;-webkit-transition:all .2s;transition:all .2s}.ant-layout-sider-zero-width>*{overflow:hidden}.ant-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;z-index:1;width:36px;height:42px;color:#fff;font-size:18px;line-height:42px;text-align:center;background:#001529;border-radius:0 4px 4px 0;cursor:pointer;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-layout-sider-zero-width-trigger:hover{background:#192c3e}.ant-layout-sider-zero-width-trigger-right{left:-36px;border-radius:4px 0 0 4px}.ant-layout-sider-light{background:#fff}.ant-layout-sider-light .ant-layout-sider-trigger,.ant-layout-sider-light .ant-layout-sider-zero-width-trigger{color:rgba(0,0,0,.65);background:#fff}.ant-list{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative}.ant-list *{outline:none}.ant-list-pagination{margin-top:24px;text-align:right}.ant-list-pagination .ant-pagination-options{text-align:left}.ant-list-more{margin-top:12px;text-align:center}.ant-list-more button{padding-right:32px;padding-left:32px}.ant-list-spin{min-height:40px;text-align:center}.ant-list-empty-text{padding:16px;color:rgba(0,0,0,.25);font-size:14px;text-align:center}.ant-list-items{margin:0;padding:0;list-style:none}.ant-list-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:12px 0}.ant-list-item-content{color:rgba(0,0,0,.65)}.ant-list-item-meta{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;font-size:0}.ant-list-item-meta-avatar{margin-right:16px}.ant-list-item-meta-content{-webkit-box-flex:1;-ms-flex:1 0;flex:1 0}.ant-list-item-meta-title{margin-bottom:4px;color:rgba(0,0,0,.65);font-size:14px;line-height:22px}.ant-list-item-meta-title>a{color:rgba(0,0,0,.65);-webkit-transition:all .3s;transition:all .3s}.ant-list-item-meta-title>a:hover{color:#1890ff}.ant-list-item-meta-description{color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.ant-list-item-action{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:48px;padding:0;font-size:0;list-style:none}.ant-list-item-action>li{position:relative;display:inline-block;padding:0 8px;color:rgba(0,0,0,.45);font-size:14px;line-height:22px;text-align:center;cursor:pointer}.ant-list-item-action>li:first-child{padding-left:0}.ant-list-item-action-split{position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background-color:#e8e8e8}.ant-list-footer,.ant-list-header{background:transparent}.ant-list-footer,.ant-list-header{padding-top:12px;padding-bottom:12px}.ant-list-empty{padding:16px 0;color:rgba(0,0,0,.45);font-size:12px;text-align:center}.ant-list-split .ant-list-item{border-bottom:1px solid #e8e8e8}.ant-list-split .ant-list-item:last-child{border-bottom:none}.ant-list-split .ant-list-header{border-bottom:1px solid #e8e8e8}.ant-list-loading .ant-list-spin-nested-loading{min-height:32px}.ant-list-something-after-last-item .ant-spin-container>.ant-list-items>.ant-list-item:last-child{border-bottom:1px solid #e8e8e8}.ant-list-lg .ant-list-item{padding-top:16px;padding-bottom:16px}.ant-list-sm .ant-list-item{padding-top:8px;padding-bottom:8px}.ant-list-vertical .ant-list-item{-webkit-box-align:initial;-ms-flex-align:initial;align-items:normal}.ant-list-vertical .ant-list-item-main{display:block;-webkit-box-flex:1;-ms-flex:1;flex:1}.ant-list-vertical .ant-list-item-extra{margin-left:40px}.ant-list-vertical .ant-list-item-meta{margin-bottom:16px}.ant-list-vertical .ant-list-item-meta-title{margin-bottom:12px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.ant-list-vertical .ant-list-item-action{margin-top:16px;margin-left:auto}.ant-list-vertical .ant-list-item-action>li{padding:0 16px}.ant-list-vertical .ant-list-item-action>li:first-child{padding-left:0}.ant-list-grid .ant-col>.ant-list-item{display:block;max-width:100%;margin-bottom:16px;padding-top:0;padding-bottom:0;border-bottom:none}.ant-list-item-no-flex{display:block}.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:right}.ant-list-bordered{border:1px solid #d9d9d9;border-radius:4px}.ant-list-bordered .ant-list-footer,.ant-list-bordered .ant-list-header,.ant-list-bordered .ant-list-item{padding-right:24px;padding-left:24px}.ant-list-bordered .ant-list-item{border-bottom:1px solid #e8e8e8}.ant-list-bordered .ant-list-pagination{margin:16px 24px}.ant-list-bordered.ant-list-sm .ant-list-item{padding-right:16px;padding-left:16px}.ant-list-bordered.ant-list-sm .ant-list-footer,.ant-list-bordered.ant-list-sm .ant-list-header{padding:8px 16px}.ant-list-bordered.ant-list-lg .ant-list-footer,.ant-list-bordered.ant-list-lg .ant-list-header{padding:16px 24px}@media screen and (max-width:768px){.ant-list-item-action,.ant-list-vertical .ant-list-item-extra{margin-left:24px}}@media screen and (max-width:576px){.ant-list-item{-ms-flex-wrap:wrap;flex-wrap:wrap}.ant-list-item-action{margin-left:12px}.ant-list-vertical .ant-list-item{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.ant-list-vertical .ant-list-item-main{min-width:220px}.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}.ant-spin{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;display:none;color:#1890ff;text-align:center;vertical-align:middle;opacity:0;-webkit-transition:-webkit-transform .3s cubic-bezier(.78,.14,.15,.86);transition:-webkit-transform .3s cubic-bezier(.78,.14,.15,.86);transition:transform .3s cubic-bezier(.78,.14,.15,.86);transition:transform .3s cubic-bezier(.78,.14,.15,.86),-webkit-transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;-webkit-transition:opacity .3s;transition:opacity .3s}.ant-spin-container:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:none\9;width:100%;height:100%;background:#fff;opacity:0;-webkit-transition:all .3s;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;overflow:hidden;opacity:.5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:rgba(0,0,0,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#1890ff;border-radius:100%;-webkit-transform:scale(.75);transform:scale(.75);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;opacity:.3;-webkit-animation:antSpinMove 1s linear infinite alternate;animation:antSpinMove 1s linear infinite alternate}.ant-spin-dot-item:first-child{top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}.ant-spin-dot-spin{-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:antRotate 1.2s linear infinite;animation:antRotate 1.2s linear infinite}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.ant-spin-blur{background:#fff;opacity:.5}}@-webkit-keyframes antSpinMove{to{opacity:1}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}.ant-pagination{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-pagination,.ant-pagination ol,.ant-pagination ul{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-item,.ant-pagination-total-text{display:inline-block;height:32px;margin-right:8px;line-height:30px;vertical-align:middle}.ant-pagination-item{min-width:32px;font-family:Arial;text-align:center;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:rgba(0,0,0,.65);-webkit-transition:none;transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:focus,.ant-pagination-item:hover{border-color:#1890ff;-webkit-transition:all .3s;transition:all .3s}.ant-pagination-item:focus a,.ant-pagination-item:hover a{color:#1890ff}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#1890ff}.ant-pagination-item-active a{color:#1890ff}.ant-pagination-item-active:focus,.ant-pagination-item-active:hover{border-color:#40a9ff}.ant-pagination-item-active:focus a,.ant-pagination-item-active:hover a{color:#40a9ff}.ant-pagination-jump-next,.ant-pagination-jump-prev{outline:0}.ant-pagination-jump-next .ant-pagination-item-container,.ant-pagination-jump-prev .ant-pagination-item-container{position:relative}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{display:inline-block;font-size:12px;font-size:12px\9;-webkit-transform:scale(1) rotate(0deg);transform:scale(1) rotate(0deg);color:#1890ff;letter-spacing:-1px;opacity:0;-webkit-transition:all .2s;transition:all .2s}:root .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,:root .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{font-size:12px}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg{top:0;right:0;bottom:0;left:0;margin:auto}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:auto;color:rgba(0,0,0,.25);letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;-webkit-transition:all .2s;transition:all .2s}.ant-pagination-jump-next:focus .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-prev{margin-right:8px}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-next,.ant-pagination-prev{display:inline-block;min-width:32px;height:32px;color:rgba(0,0,0,.65);font-family:Arial;line-height:32px;text-align:center;vertical-align:middle;list-style:none;border-radius:4px;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-pagination-next,.ant-pagination-prev{outline:0}.ant-pagination-next a,.ant-pagination-prev a{color:rgba(0,0,0,.65);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-next:hover a,.ant-pagination-prev:hover a{border-color:#40a9ff}.ant-pagination-next .ant-pagination-item-link,.ant-pagination-prev .ant-pagination-item-link{display:block;height:100%;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;-webkit-transition:all .3s;transition:all .3s}.ant-pagination-next:focus .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:focus .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-disabled,.ant-pagination-disabled:focus,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:focus .ant-pagination-item-link,.ant-pagination-disabled:focus a,.ant-pagination-disabled:hover .ant-pagination-item-link,.ant-pagination-disabled:hover a,.ant-pagination-disabled a{color:rgba(0,0,0,.25);border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto;margin-right:8px}.ant-pagination-options-quick-jumper{display:inline-block;height:32px;line-height:32px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;transition:all .3s;width:50px;margin:0 8px}.ant-pagination-options-quick-jumper input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input::-webkit-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:focus,.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-pagination-options-quick-jumper input:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-pagination-options-quick-jumper input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{height:40px;padding:6px 11px;font-size:16px}.ant-pagination-options-quick-jumper input-sm{height:24px;padding:1px 7px}.ant-pagination-simple .ant-pagination-next,.ant-pagination-simple .ant-pagination-prev{height:24px;line-height:24px;vertical-align:top}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link{height:24px;border:0}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:24px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;-webkit-transition:border-color .3s;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}.ant-pagination.mini .ant-pagination-simple-pager,.ant-pagination.mini .ant-pagination-total-text{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-item{min-width:24px;height:24px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next,.ant-pagination.mini .ant-pagination-prev{min-width:24px;height:24px;margin:0;line-height:24px}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-jump-next,.ant-pagination.mini .ant-pagination-jump-prev{height:24px;margin-right:0;line-height:24px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{height:24px;padding:1px 7px;width:44px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:rgba(0,0,0,.25);background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#dbdbdb;border-color:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#fff}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:focus,.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:hover{color:rgba(0,0,0,.45);background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:1}@media only screen and (max-width:992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width:576px){.ant-pagination-options{display:none}}.ant-mentions{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;transition:all .3s;position:relative;display:inline-block;height:auto;padding:0;overflow:hidden;line-height:1.5;white-space:pre-wrap;vertical-align:bottom}.ant-mentions::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-mentions:-ms-input-placeholder{color:#bfbfbf}.ant-mentions::-webkit-input-placeholder{color:#bfbfbf}.ant-mentions:-moz-placeholder-shown{text-overflow:ellipsis}.ant-mentions:-ms-input-placeholder{text-overflow:ellipsis}.ant-mentions:placeholder-shown{text-overflow:ellipsis}.ant-mentions:focus,.ant-mentions:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-mentions:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-mentions-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-mentions-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mentions[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-mentions[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-mentions{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-mentions-lg{height:40px;padding:6px 11px;font-size:16px}.ant-mentions-sm{height:24px;padding:1px 7px}.ant-mentions-disabled>textarea{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-mentions-disabled>textarea:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mentions-focused{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-mentions-measure,.ant-mentions>textarea{min-height:30px;margin:0;padding:4px 11px;overflow:inherit;overflow-x:hidden;overflow-y:auto;font-weight:inherit;font-size:inherit;font-family:inherit;font-style:inherit;font-variant:inherit;font-size-adjust:inherit;font-stretch:inherit;line-height:inherit;direction:inherit;letter-spacing:inherit;white-space:inherit;text-align:inherit;vertical-align:top;word-wrap:break-word;word-break:inherit;-moz-tab-size:inherit;-o-tab-size:inherit;tab-size:inherit}.ant-mentions>textarea{width:100%;border:none;outline:none;resize:none}.ant-mentions>textarea::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-mentions>textarea:-ms-input-placeholder{color:#bfbfbf}.ant-mentions>textarea::-webkit-input-placeholder{color:#bfbfbf}.ant-mentions>textarea:-moz-placeholder-shown{text-overflow:ellipsis}.ant-mentions>textarea:-ms-input-placeholder{text-overflow:ellipsis}.ant-mentions>textarea:placeholder-shown{text-overflow:ellipsis}.ant-mentions>textarea:-moz-read-only{cursor:default}.ant-mentions>textarea:read-only{cursor:default}.ant-mentions-measure{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;color:transparent;pointer-events:none}.ant-mentions-measure>span{display:inline-block;min-height:1em}.ant-mentions-dropdown{margin:0;padding:0;color:rgba(0,0,0,.65);font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;font-variant:normal;background-color:#fff;border-radius:4px;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-mentions-dropdown-hidden{display:none}.ant-mentions-dropdown-menu{max-height:250px;margin-bottom:0;padding-left:0;overflow:auto;list-style:none;outline:none}.ant-mentions-dropdown-menu-item{position:relative;display:block;min-width:100px;padding:5px 12px;overflow:hidden;color:rgba(0,0,0,.65);font-weight:400;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-mentions-dropdown-menu-item:hover{background-color:#e6f7ff}.ant-mentions-dropdown-menu-item:first-child{border-radius:4px 4px 0 0}.ant-mentions-dropdown-menu-item:last-child{border-radius:0 0 4px 4px}.ant-mentions-dropdown-menu-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-mentions-dropdown-menu-item-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-mentions-dropdown-menu-item-selected{color:rgba(0,0,0,.65);font-weight:600;background-color:#fafafa}.ant-mentions-dropdown-menu-item-active{background-color:#e6f7ff}.ant-message{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:fixed;top:16px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice:first-child{margin-top:-8px}.ant-message-notice-content{display:inline-block;padding:10px 16px;background:#fff;border-radius:4px;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15);pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#f5222d}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:16px}.ant-message-notice.move-up-leave.move-up-leave-active{overflow:hidden;-webkit-animation-name:MessageMoveOut;animation-name:MessageMoveOut;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}.ant-modal{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;top:100px;width:auto;margin:0 auto;padding-bottom:24px;pointer-events:none}.ant-modal-wrap{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-modal-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px;word-wrap:break-word}.ant-modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:0;border-radius:4px;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15);pointer-events:auto}.ant-modal-close{position:absolute;top:0;right:0;z-index:10;padding:0;color:rgba(0,0,0,.45);font-weight:700;line-height:1;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;-webkit-transition:color .3s;transition:color .3s}.ant-modal-close-x{display:block;width:56px;height:56px;font-size:16px;font-style:normal;line-height:56px;text-align:center;text-transform:none;text-rendering:auto}.ant-modal-close:focus,.ant-modal-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-modal-header{padding:16px 24px;color:rgba(0,0,0,.65);background:#fff;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-modal-body{padding:24px;font-size:14px;line-height:1.5;word-wrap:break-word}.ant-modal-footer{padding:10px 16px;text-align:right;background:transparent;border-top:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-modal-footer button+button{margin-bottom:0;margin-left:8px}.ant-modal.zoom-appear,.ant-modal.zoom-enter{-webkit-transform:none;transform:none;opacity:0;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:rgba(0,0,0,.45);filter:alpha(opacity=50)}.ant-modal-mask-hidden{display:none}.ant-modal-open{overflow:hidden}.ant-modal-centered{text-align:center}.ant-modal-centered:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.ant-modal-centered .ant-modal{top:0;display:inline-block;text-align:left;vertical-align:middle}@media (max-width:767px){.ant-modal{max-width:calc(100vw - 16px);margin:8px auto}.ant-modal-centered .ant-modal{-webkit-box-flex:1;-ms-flex:1;flex:1}}.ant-modal-confirm .ant-modal-header{display:none}.ant-modal-confirm .ant-modal-body{padding:32px 32px 24px}.ant-modal-confirm-body-wrapper{zoom:1}.ant-modal-confirm-body-wrapper:after,.ant-modal-confirm-body-wrapper:before{display:table;content:""}.ant-modal-confirm-body-wrapper:after{clear:both}.ant-modal-confirm-body .ant-modal-confirm-title{display:block;overflow:hidden;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:1.4}.ant-modal-confirm-body .ant-modal-confirm-content{margin-top:8px;color:rgba(0,0,0,.65);font-size:14px}.ant-modal-confirm-body>.anticon{float:left;margin-right:16px;font-size:22px}.ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-left:38px}.ant-modal-confirm .ant-modal-confirm-btns{float:right;margin-top:24px}.ant-modal-confirm .ant-modal-confirm-btns button+button{margin-bottom:0;margin-left:8px}.ant-modal-confirm-error .ant-modal-confirm-body>.anticon{color:#f5222d}.ant-modal-confirm-confirm .ant-modal-confirm-body>.anticon,.ant-modal-confirm-warning .ant-modal-confirm-body>.anticon{color:#faad14}.ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#1890ff}.ant-modal-confirm-success .ant-modal-confirm-body>.anticon{color:#52c41a}.ant-notification{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:fixed;z-index:1010;width:384px;max-width:calc(100vw - 32px);margin-right:24px}.ant-notification-bottomLeft,.ant-notification-topLeft{margin-right:0;margin-left:24px}.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active{-webkit-animation-name:NotificationLeftFadeIn;animation-name:NotificationLeftFadeIn}.ant-notification-close-icon{font-size:14px;cursor:pointer}.ant-notification-notice{position:relative;margin-bottom:16px;padding:16px 24px;overflow:hidden;line-height:1.5;background:#fff;border-radius:4px;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ant-notification-notice-message{display:inline-block;margin-bottom:8px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.ant-notification-notice-message-single-line-auto-margin{display:block;width:calc(264px - 100%);max-width:4px;background-color:transparent;pointer-events:none}.ant-notification-notice-message-single-line-auto-margin:before{display:block;content:""}.ant-notification-notice-description{font-size:14px}.ant-notification-notice-closable .ant-notification-notice-message{padding-right:24px}.ant-notification-notice-with-icon .ant-notification-notice-message{margin-bottom:4px;margin-left:48px;font-size:16px}.ant-notification-notice-with-icon .ant-notification-notice-description{margin-left:48px;font-size:14px}.ant-notification-notice-icon{position:absolute;margin-left:4px;font-size:24px;line-height:24px}.anticon.ant-notification-notice-icon-success{color:#52c41a}.anticon.ant-notification-notice-icon-info{color:#1890ff}.anticon.ant-notification-notice-icon-warning{color:#faad14}.anticon.ant-notification-notice-icon-error{color:#f5222d}.ant-notification-notice-close{position:absolute;top:16px;right:22px;color:rgba(0,0,0,.45);outline:none}.ant-notification-notice-close:hover{color:rgba(0,0,0,.67)}.ant-notification-notice-btn{float:right;margin-top:16px}.ant-notification .notification-fade-effect{-webkit-animation-duration:.24s;animation-duration:.24s;-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-notification-fade-appear,.ant-notification-fade-enter{opacity:0;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-notification-fade-appear,.ant-notification-fade-enter,.ant-notification-fade-leave{-webkit-animation-duration:.24s;animation-duration:.24s;-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-notification-fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-fade-enter.ant-notification-fade-enter-active{-webkit-animation-name:NotificationFadeIn;animation-name:NotificationFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-notification-fade-leave.ant-notification-fade-leave-active{-webkit-animation-name:NotificationFadeOut;animation-name:NotificationFadeOut;-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@-webkit-keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}@-webkit-keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;padding-top:16px 24px;padding-bottom:16px 24px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}@keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;padding-top:16px 24px;padding-bottom:16px 24px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}.ant-page-header{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;padding:16px 24px;background-color:#fff}.ant-page-header-ghost{background-color:inherit}.ant-page-header.has-breadcrumb{padding-top:12px}.ant-page-header.has-footer{padding-bottom:0}.ant-page-header-back{float:left;margin:8px 0;margin-right:16px;font-size:16px;line-height:1}.ant-page-header-back-button{color:#1890ff;text-decoration:none;outline:none;-webkit-transition:color .3s;transition:color .3s;color:#000;cursor:pointer}.ant-page-header-back-button:focus,.ant-page-header-back-button:hover{color:#40a9ff}.ant-page-header-back-button:active{color:#096dd9}.ant-page-header .ant-divider-vertical{height:14px;margin:0 12px;vertical-align:middle}.ant-breadcrumb+.ant-page-header-heading{margin-top:8px}.ant-page-header-heading{width:100%;overflow:hidden}.ant-page-header-heading-title{display:block;float:left;margin-bottom:0;padding-right:12px;color:rgba(0,0,0,.85);font-weight:600;font-size:20px;line-height:32px}.ant-page-header-heading .ant-avatar{float:left;margin-right:12px}.ant-page-header-heading-sub-title{float:left;margin:5px 0;margin-right:12px;color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.ant-page-header-heading-tags{float:left;margin:4px 0}.ant-page-header-heading-extra{float:right}.ant-page-header-heading-extra>*{margin-left:8px}.ant-page-header-heading-extra>:first-child{margin-left:0}.ant-page-header-content{padding-top:12px;overflow:hidden}.ant-page-header-footer{margin-top:16px}.ant-page-header-footer .ant-tabs-bar{margin-bottom:1px;border-bottom:0}.ant-page-header-footer .ant-tabs-bar .ant-tabs-nav .ant-tabs-tab{padding:8px;font-size:16px}@media (max-width:576px){.ant-page-header-heading-extra{display:block;float:unset;width:100%;padding-top:12px;overflow:hidden}}.ant-popover{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:left;cursor:auto;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ant-popover:after{position:absolute;background:hsla(0,0%,100%,.01);content:""}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:10px}.ant-popover-placement-right,.ant-popover-placement-rightBottom,.ant-popover-placement-rightTop{padding-left:10px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:10px}.ant-popover-placement-left,.ant-popover-placement-leftBottom,.ant-popover-placement-leftTop{padding-right:10px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15);-webkit-box-shadow:0 0 8px rgba(0,0,0,.15)\9;box-shadow:0 0 8px rgba(0,0,0,.15)\9}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-popover-inner{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}}.ant-popover-title{min-width:177px;min-height:32px;margin:0;padding:5px 16px 4px;color:rgba(0,0,0,.85);font-weight:500;border-bottom:1px solid #e8e8e8}.ant-popover-inner-content{padding:12px 16px;color:rgba(0,0,0,.65)}.ant-popover-message{position:relative;padding:4px 0 12px;color:rgba(0,0,0,.65);font-size:14px}.ant-popover-message>.anticon{position:absolute;top:8px;color:#faad14;font-size:14px}.ant-popover-message-title{padding-left:22px}.ant-popover-buttons{margin-bottom:4px;text-align:right}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{position:absolute;display:block;width:8.48528137px;height:8.48528137px;background:transparent;border-style:solid;border-width:4.24264069px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{bottom:6.2px;border-top-color:transparent;border-right-color:#fff;border-bottom-color:#fff;border-left-color:transparent;-webkit-box-shadow:3px 3px 7px rgba(0,0,0,.07);box-shadow:3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow{left:50%;-webkit-transform:translateX(-50%) rotate(45deg);transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{left:6px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:#fff;border-left-color:#fff;-webkit-box-shadow:-3px 3px 7px rgba(0,0,0,.07);box-shadow:-3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow{top:50%;-webkit-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{top:6px;border-top-color:#fff;border-right-color:transparent;border-bottom-color:transparent;border-left-color:#fff;-webkit-box-shadow:-2px -2px 5px rgba(0,0,0,.06);box-shadow:-2px -2px 5px rgba(0,0,0,.06)}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow{left:50%;-webkit-transform:translateX(-50%) rotate(45deg);transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{right:6px;border-top-color:#fff;border-right-color:#fff;border-bottom-color:transparent;border-left-color:transparent;-webkit-box-shadow:3px -3px 7px rgba(0,0,0,.07);box-shadow:3px -3px 7px rgba(0,0,0,.07)}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow{top:50%;-webkit-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}.ant-progress{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-progress-line{position:relative;width:100%;font-size:14px}.ant-progress-small.ant-progress-line,.ant-progress-small.ant-progress-line .ant-progress-text .anticon{font-size:12px}.ant-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ant-progress-show-info .ant-progress-outer{margin-right:calc(-2em - 8px);padding-right:calc(2em + 8px)}.ant-progress-inner{position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;background-color:#f5f5f5;border-radius:100px}.ant-progress-circle-trail{stroke:#f5f5f5}.ant-progress-circle-path{-webkit-animation:ant-progress-appear .3s;animation:ant-progress-appear .3s}.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#1890ff}.ant-progress-bg,.ant-progress-success-bg{position:relative;background-color:#1890ff;border-radius:100px;-webkit-transition:all .4s cubic-bezier(.08,.82,.17,1) 0s;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.ant-progress-success-bg{position:absolute;top:0;left:0;background-color:#52c41a}.ant-progress-text{display:inline-block;width:2em;margin-left:8px;color:rgba(0,0,0,.45);font-size:1em;line-height:1;white-space:nowrap;text-align:left;vertical-align:middle;word-break:normal}.ant-progress-text .anticon{font-size:14px}.ant-progress-status-active .ant-progress-bg:before{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;border-radius:10px;opacity:0;-webkit-animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;content:""}.ant-progress-status-exception .ant-progress-bg{background-color:#f5222d}.ant-progress-status-exception .ant-progress-text{color:#f5222d}.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#f5222d}.ant-progress-status-success .ant-progress-bg{background-color:#52c41a}.ant-progress-status-success .ant-progress-text{color:#52c41a}.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#52c41a}.ant-progress-circle .ant-progress-inner{position:relative;line-height:1;background-color:transparent}.ant-progress-circle .ant-progress-text{position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:rgba(0,0,0,.65);line-height:1;white-space:normal;text-align:center;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ant-progress-circle .ant-progress-text .anticon{font-size:1.16666667em}.ant-progress-circle.ant-progress-status-exception .ant-progress-text{color:#f5222d}.ant-progress-circle.ant-progress-status-success .ant-progress-text{color:#52c41a}@-webkit-keyframes ant-progress-active{0%{width:0;opacity:.1}20%{width:0;opacity:.5}to{width:100%;opacity:0}}@keyframes ant-progress-active{0%{width:0;opacity:.1}20%{width:0;opacity:.5}to{width:100%;opacity:0}}.ant-rate{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block;margin:0;padding:0;color:#fadb14;font-size:20px;line-height:unset;list-style:none;outline:none}.ant-rate-disabled .ant-rate-star{cursor:default}.ant-rate-disabled .ant-rate-star:hover{-webkit-transform:scale(1);transform:scale(1)}.ant-rate-star{position:relative;display:inline-block;margin:0;padding:0;color:inherit;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-rate-star:not(:last-child){margin-right:8px}.ant-rate-star>div:focus{outline:0}.ant-rate-star>div:focus,.ant-rate-star>div:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.ant-rate-star-first,.ant-rate-star-second{color:#e8e8e8;-webkit-transition:all .3s;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-rate-star-first .anticon,.ant-rate-star-second .anticon{vertical-align:middle}.ant-rate-star-first{position:absolute;top:0;left:0;width:50%;height:100%;overflow:hidden;opacity:0}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-half .ant-rate-star-second{opacity:1}.ant-rate-star-full .ant-rate-star-second,.ant-rate-star-half .ant-rate-star-first{color:inherit}.ant-rate-text{display:inline-block;margin-left:8px;font-size:14px}.ant-result{padding:48px 32px}.ant-result-success .ant-result-icon>.anticon{color:#52c41a}.ant-result-error .ant-result-icon>.anticon{color:#f5222d}.ant-result-info .ant-result-icon>.anticon{color:#1890ff}.ant-result-warning .ant-result-icon>.anticon{color:#faad14}.ant-result-image{width:250px;height:295px;margin:auto}.ant-result-icon{margin-bottom:24px;text-align:center}.ant-result-icon>.anticon{font-size:72px}.ant-result-title{color:rgba(0,0,0,.85);font-size:24px;line-height:1.8;text-align:center}.ant-result-subtitle{color:rgba(0,0,0,.45);font-size:14px;line-height:1.6;text-align:center}.ant-result-extra{margin-top:32px;text-align:center}.ant-result-extra>*{margin-right:8px}.ant-result-extra>:last-child{margin-right:0}.ant-result-content{margin-top:24px;padding:24px 40px;background-color:#fafafa}.ant-skeleton{display:table;width:100%}.ant-skeleton-header{display:table-cell;padding-right:16px;vertical-align:top}.ant-skeleton-header .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:#f2f2f2;width:32px;height:32px;line-height:32px}.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-lg{width:40px;height:40px;line-height:40px}.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-sm{width:24px;height:24px;line-height:24px}.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-content{display:table-cell;width:100%;vertical-align:top}.ant-skeleton-content .ant-skeleton-title{width:100%;height:16px;margin-top:16px;background:#f2f2f2}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:24px}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{width:100%;height:16px;list-style:none;background:#f2f2f2}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:16px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{margin-top:12px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:28px}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title{background:-webkit-gradient(linear,left top,right top,color-stop(25%,#f2f2f2),color-stop(37%,#e6e6e6),color-stop(63%,#f2f2f2));background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background-size:400% 100%;-webkit-animation:ant-skeleton-loading 1.4s ease infinite;animation:ant-skeleton-loading 1.4s ease infinite}@-webkit-keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.ant-slider{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;height:12px;margin:14px 6px 10px;padding:4px 0;cursor:pointer;-ms-touch-action:none;touch-action:none}.ant-slider-vertical{width:12px;height:100%;margin:6px 10px;padding:0 4px}.ant-slider-vertical .ant-slider-rail{width:4px;height:100%}.ant-slider-vertical .ant-slider-track{width:4px}.ant-slider-vertical .ant-slider-handle{margin-top:-6px;margin-left:-5px}.ant-slider-vertical .ant-slider-mark{top:0;left:12px;width:18px;height:100%}.ant-slider-vertical .ant-slider-mark-text{left:4px;white-space:nowrap}.ant-slider-vertical .ant-slider-step{width:4px;height:100%}.ant-slider-vertical .ant-slider-dot{top:auto;left:2px;margin-bottom:-4px}.ant-slider-tooltip .ant-tooltip-inner{min-width:unset}.ant-slider-with-marks{margin-bottom:28px}.ant-slider-rail{width:100%;background-color:#f5f5f5;border-radius:2px}.ant-slider-rail,.ant-slider-track{position:absolute;height:4px;-webkit-transition:background-color .3s;transition:background-color .3s}.ant-slider-track{background-color:#91d5ff;border-radius:4px}.ant-slider-handle{position:absolute;width:14px;height:14px;margin-top:-5px;background-color:#fff;border:2px solid #91d5ff;border-radius:50%;-webkit-box-shadow:0;box-shadow:0;cursor:pointer;-webkit-transition:border-color .3s,-webkit-box-shadow .6s,-webkit-transform .3s cubic-bezier(.18,.89,.32,1.28);transition:border-color .3s,-webkit-box-shadow .6s,-webkit-transform .3s cubic-bezier(.18,.89,.32,1.28);transition:border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18,.89,.32,1.28);transition:border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18,.89,.32,1.28),-webkit-box-shadow .6s,-webkit-transform .3s cubic-bezier(.18,.89,.32,1.28)}.ant-slider-handle:focus{border-color:#46a6ff;outline:none;-webkit-box-shadow:0 0 0 5px rgba(24,144,255,.2);box-shadow:0 0 0 5px rgba(24,144,255,.2)}.ant-slider-handle.ant-tooltip-open{border-color:#1890ff}.ant-slider:hover .ant-slider-rail{background-color:#e1e1e1}.ant-slider:hover .ant-slider-track{background-color:#69c0ff}.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open){border-color:#69c0ff}.ant-slider-mark{position:absolute;top:14px;left:0;width:100%;font-size:14px}.ant-slider-mark-text{position:absolute;display:inline-block;color:rgba(0,0,0,.45);text-align:center;word-break:keep-all;cursor:pointer}.ant-slider-mark-text-active{color:rgba(0,0,0,.65)}.ant-slider-step{position:absolute;width:100%;height:4px;background:transparent}.ant-slider-dot{position:absolute;top:-2px;width:8px;height:8px;background-color:#fff;border:2px solid #e8e8e8;border-radius:50%;cursor:pointer}.ant-slider-dot,.ant-slider-dot:first-child,.ant-slider-dot:last-child{margin-left:-4px}.ant-slider-dot-active{border-color:#8cc8ff}.ant-slider-disabled{cursor:not-allowed}.ant-slider-disabled .ant-slider-track{background-color:rgba(0,0,0,.25)!important}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-handle{background-color:#fff;border-color:rgba(0,0,0,.25)!important;-webkit-box-shadow:none;box-shadow:none;cursor:not-allowed}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-mark-text{cursor:not-allowed!important}.ant-space{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.ant-space-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.ant-space-align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ant-space-align-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.ant-space-align-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.ant-space-align-baseline{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.ant-statistic{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:4px;color:rgba(0,0,0,.45);font-size:14px}.ant-statistic-content{color:rgba(0,0,0,.85);font-size:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.ant-statistic-content-value-decimal{font-size:16px}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px;font-size:16px}.ant-steps{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;font-size:0}.ant-steps-item{position:relative;display:inline-block;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;vertical-align:top}.ant-steps-item-container{outline:none}.ant-steps-item:last-child{-webkit-box-flex:0;-ms-flex:none;flex:none}.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after,.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-tail{display:none}.ant-steps-item-content,.ant-steps-item-icon{display:inline-block;vertical-align:top}.ant-steps-item-icon{width:32px;height:32px;margin-right:8px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;line-height:32px;text-align:center;border:1px solid rgba(0,0,0,.25);border-radius:32px;-webkit-transition:background-color .3s,border-color .3s;transition:background-color .3s,border-color .3s}.ant-steps-item-icon>.ant-steps-icon{position:relative;top:-1px;color:#1890ff;line-height:1}.ant-steps-item-tail{position:absolute;top:12px;left:0;width:100%;padding:0 10px}.ant-steps-item-tail:after{display:inline-block;width:100%;height:1px;background:#e8e8e8;border-radius:1px;-webkit-transition:background .3s;transition:background .3s;content:""}.ant-steps-item-title{position:relative;display:inline-block;padding-right:16px;color:rgba(0,0,0,.65);font-size:16px;line-height:32px}.ant-steps-item-title:after{position:absolute;top:16px;left:100%;display:block;width:9999px;height:1px;background:#e8e8e8;content:""}.ant-steps-item-subtitle{display:inline;margin-left:8px;font-weight:400}.ant-steps-item-description,.ant-steps-item-subtitle{color:rgba(0,0,0,.45);font-size:14px}.ant-steps-item-wait .ant-steps-item-icon{background-color:#fff;border-color:rgba(0,0,0,.25)}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon{color:rgba(0,0,0,.25)}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:rgba(0,0,0,.25)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.45)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#e8e8e8}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.45)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#e8e8e8}.ant-steps-item-process .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.85)}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#e8e8e8}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.65)}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#e8e8e8}.ant-steps-item-process .ant-steps-item-icon{background:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#fff}.ant-steps-item-process .ant-steps-item-title{font-weight:500}.ant-steps-item-finish .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.65)}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.45)}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#1890ff}.ant-steps-item-error .ant-steps-item-icon{background-color:#fff;border-color:#f5222d}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon{color:#f5222d}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#f5222d}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#f5222d}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#e8e8e8}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#f5222d}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#e8e8e8}.ant-steps-item.ant-steps-next-error .ant-steps-item-title:after{background:#f5222d}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]{cursor:pointer}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-icon .ant-steps-icon,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-title{-webkit-transition:color .3s;transition:color .3s}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-title{color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon{border-color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon{color:#1890ff}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{margin-right:16px;white-space:nowrap}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child{margin-right:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-right:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-tail{display:none}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-description{max-width:140px;white-space:normal}.ant-steps-item-custom .ant-steps-item-icon{height:auto;background:none;border:0}.ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{top:0;left:.5px;width:32px;height:32px;font-size:24px;line-height:32px}.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon{width:auto}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{margin-right:12px}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child{margin-right:0}.ant-steps-small .ant-steps-item-icon{width:24px;height:24px;font-size:12px;line-height:24px;text-align:center;border-radius:24px}.ant-steps-small .ant-steps-item-title{padding-right:12px;font-size:14px;line-height:24px}.ant-steps-small .ant-steps-item-title:after{top:12px}.ant-steps-small .ant-steps-item-description{color:rgba(0,0,0,.45);font-size:14px}.ant-steps-small .ant-steps-item-tail{top:8px}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon{width:inherit;height:inherit;line-height:inherit;background:none;border:0;border-radius:0}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{font-size:24px;line-height:24px;-webkit-transform:none;transform:none}.ant-steps-vertical{display:block}.ant-steps-vertical .ant-steps-item{display:block;overflow:visible}.ant-steps-vertical .ant-steps-item-icon{float:left;margin-right:16px}.ant-steps-vertical .ant-steps-item-content{display:block;min-height:48px;overflow:hidden}.ant-steps-vertical .ant-steps-item-title{line-height:32px}.ant-steps-vertical .ant-steps-item-description{padding-bottom:12px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{position:absolute;top:0;left:16px;width:1px;height:100%;padding:38px 0 6px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail:after{width:1px;height:100%}.ant-steps-vertical>.ant-steps-item:not(:last-child)>.ant-steps-item-container>.ant-steps-item-tail{display:block}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{position:absolute;top:0;left:12px;padding:30px 0 6px}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title{line-height:24px}@media (max-width:480px){.ant-steps-horizontal.ant-steps-label-horizontal{display:block}.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item{display:block;overflow:visible}.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon{float:left;margin-right:16px}.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-content{display:block;min-height:48px;overflow:hidden}.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-title{line-height:32px}.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-description{padding-bottom:12px}.ant-steps-horizontal.ant-steps-label-horizontal>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{position:absolute;top:0;left:16px;width:1px;height:100%;padding:38px 0 6px}.ant-steps-horizontal.ant-steps-label-horizontal>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail:after{width:1px;height:100%}.ant-steps-horizontal.ant-steps-label-horizontal>.ant-steps-item:not(:last-child)>.ant-steps-item-container>.ant-steps-item-tail{display:block}.ant-steps-horizontal.ant-steps-label-horizontal>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-horizontal.ant-steps-label-horizontal.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{position:absolute;top:0;left:12px;padding:30px 0 6px}.ant-steps-horizontal.ant-steps-label-horizontal.ant-steps-small .ant-steps-item-container .ant-steps-item-title{line-height:24px}}.ant-steps-label-vertical .ant-steps-item{overflow:visible}.ant-steps-label-vertical .ant-steps-item-tail{margin-left:58px;padding:3.5px 24px}.ant-steps-label-vertical .ant-steps-item-content{display:block;width:116px;margin-top:8px;text-align:center}.ant-steps-label-vertical .ant-steps-item-icon{display:inline-block;margin-left:42px}.ant-steps-label-vertical .ant-steps-item-title{padding-right:0}.ant-steps-label-vertical .ant-steps-item-title:after{display:none}.ant-steps-label-vertical .ant-steps-item-subtitle{display:block;margin-bottom:4px;margin-left:0;line-height:1.5}.ant-steps-label-vertical.ant-steps-small:not(.ant-steps-dot) .ant-steps-item-icon{margin-left:46px}.ant-steps-dot .ant-steps-item-title,.ant-steps-dot.ant-steps-small .ant-steps-item-title{line-height:1.5}.ant-steps-dot .ant-steps-item-tail,.ant-steps-dot.ant-steps-small .ant-steps-item-tail{top:2px;width:100%;margin:0 0 0 70px;padding:0}.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{width:calc(100% - 20px);height:3px;margin-left:12px}.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{left:2px}.ant-steps-dot .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-icon{width:8px;height:8px;margin-left:67px;padding-right:0;line-height:8px;background:transparent;border:0}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{position:relative;float:left;width:100%;height:100%;border-radius:100px;-webkit-transition:all .3s;transition:all .3s}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{position:absolute;top:-12px;left:-26px;width:60px;height:32px;background:rgba(0,0,0,.001);content:""}.ant-steps-dot .ant-steps-item-content,.ant-steps-dot.ant-steps-small .ant-steps-item-content{width:140px}.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon{width:10px;height:10px;line-height:10px}.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon .ant-steps-icon-dot{top:-1px}.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-top:8px;margin-left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:2px;left:-9px;margin:0;padding:22px 0 4px}.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-icon-dot{left:-2px}.ant-steps-navigation{padding-top:12px}.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-left:-12px}.ant-steps-navigation .ant-steps-item{overflow:visible;text-align:center}.ant-steps-navigation .ant-steps-item-container{display:inline-block;height:100%;margin-left:-16px;padding-bottom:12px;text-align:left;-webkit-transition:opacity .3s;transition:opacity .3s}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-content{max-width:auto}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{max-width:100%;padding-right:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title:after{display:none}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]{cursor:pointer}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]:hover{opacity:.85}.ant-steps-navigation .ant-steps-item:last-child{-webkit-box-flex:1;-ms-flex:1;flex:1}.ant-steps-navigation .ant-steps-item:last-child:after{display:none}.ant-steps-navigation .ant-steps-item:after{position:absolute;top:50%;left:100%;display:inline-block;width:12px;height:12px;margin-top:-14px;margin-left:-2px;border:1px solid rgba(0,0,0,.25);border-bottom:none;border-left:none;-webkit-transform:rotate(45deg);transform:rotate(45deg);content:""}.ant-steps-navigation .ant-steps-item:before{position:absolute;bottom:0;left:50%;display:inline-block;width:0;height:3px;background-color:#1890ff;-webkit-transition:width .3s,left .3s;transition:width .3s,left .3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;content:""}.ant-steps-navigation .ant-steps-item.ant-steps-item-active:before{left:0;width:100%}@media (max-width:480px){.ant-steps-navigation>.ant-steps-item{margin-right:0!important}.ant-steps-navigation>.ant-steps-item:before{display:none}.ant-steps-navigation>.ant-steps-item.ant-steps-item-active:before{top:0;right:0;left:unset;display:block;width:3px;height:calc(100% - 24px)}.ant-steps-navigation>.ant-steps-item:after{position:relative;top:-2px;left:50%;display:block;width:8px;height:8px;margin-bottom:8px;text-align:center;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.ant-steps-navigation>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}}.ant-steps-flex-not-supported.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item{margin-left:-16px;padding-left:16px;background:#fff}.ant-steps-flex-not-supported.ant-steps-horizontal.ant-steps-label-horizontal.ant-steps-small .ant-steps-item{margin-left:-12px;padding-left:12px}.ant-steps-flex-not-supported.ant-steps-dot .ant-steps-item:last-child{overflow:hidden}.ant-steps-flex-not-supported.ant-steps-dot .ant-steps-item:last-child .ant-steps-icon-dot:after{right:-200px;width:200px}.ant-steps-flex-not-supported.ant-steps-dot .ant-steps-item .ant-steps-icon-dot:after,.ant-steps-flex-not-supported.ant-steps-dot .ant-steps-item .ant-steps-icon-dot:before{position:absolute;top:0;left:-10px;width:10px;height:8px;background:#fff;content:""}.ant-steps-flex-not-supported.ant-steps-dot .ant-steps-item .ant-steps-icon-dot:after{right:-10px;left:auto}.ant-steps-flex-not-supported.ant-steps-dot .ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#ccc}.ant-switch{margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:44px;height:22px;line-height:20px;vertical-align:middle;background-color:rgba(0,0,0,.25);border:1px solid transparent;border-radius:100px;cursor:pointer;-webkit-transition:all .36s;transition:all .36s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-switch-inner{display:block;margin-right:6px;margin-left:24px;color:#fff;font-size:12px}.ant-switch-loading-icon,.ant-switch:after{position:absolute;top:1px;left:1px;width:18px;height:18px;background-color:#fff;border-radius:18px;cursor:pointer;-webkit-transition:all .36s cubic-bezier(.78,.14,.15,.86);transition:all .36s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-switch:after{-webkit-box-shadow:0 2px 4px 0 rgba(0,35,11,.2);box-shadow:0 2px 4px 0 rgba(0,35,11,.2)}.ant-switch:not(.ant-switch-disabled):active:after,.ant-switch:not(.ant-switch-disabled):active:before{width:24px}.ant-switch-loading-icon{z-index:1;display:none;font-size:12px;background:transparent}.ant-switch-loading-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.ant-switch-loading .ant-switch-loading-icon{display:inline-block;color:rgba(0,0,0,.65)}.ant-switch-checked.ant-switch-loading .ant-switch-loading-icon{color:#1890ff}.ant-switch:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-switch:focus:hover{-webkit-box-shadow:none;box-shadow:none}.ant-switch-small{min-width:28px;height:16px;line-height:14px}.ant-switch-small .ant-switch-inner{margin-right:3px;margin-left:18px;font-size:12px}.ant-switch-small:after{width:12px;height:12px}.ant-switch-small:active:after,.ant-switch-small:active:before{width:16px}.ant-switch-small .ant-switch-loading-icon{width:12px;height:12px}.ant-switch-small.ant-switch-checked .ant-switch-inner{margin-right:18px;margin-left:3px}.ant-switch-small.ant-switch-checked .ant-switch-loading-icon{left:100%;margin-left:-13px}.ant-switch-small.ant-switch-loading .ant-switch-loading-icon{font-weight:700;-webkit-transform:scale(.66667);transform:scale(.66667)}.ant-switch-checked{background-color:#1890ff}.ant-switch-checked .ant-switch-inner{margin-right:24px;margin-left:6px}.ant-switch-checked:after{left:100%;margin-left:-1px;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ant-switch-checked .ant-switch-loading-icon{left:100%;margin-left:-19px}.ant-switch-disabled,.ant-switch-loading{cursor:not-allowed;opacity:.4}.ant-switch-disabled *,.ant-switch-disabled:after,.ant-switch-disabled:before,.ant-switch-loading *,.ant-switch-loading:after,.ant-switch-loading:before{cursor:not-allowed}@-webkit-keyframes AntSwitchSmallLoadingCircle{0%{-webkit-transform:rotate(0deg) scale(.66667);transform:rotate(0deg) scale(.66667);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}to{-webkit-transform:rotate(1turn) scale(.66667);transform:rotate(1turn) scale(.66667);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}}@keyframes AntSwitchSmallLoadingCircle{0%{-webkit-transform:rotate(0deg) scale(.66667);transform:rotate(0deg) scale(.66667);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}to{-webkit-transform:rotate(1turn) scale(.66667);transform:rotate(1turn) scale(.66667);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}}.ant-table-wrapper{zoom:1}.ant-table-wrapper:after,.ant-table-wrapper:before{display:table;content:""}.ant-table-wrapper:after{clear:both}.ant-table{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;clear:both}.ant-table-body{-webkit-transition:opacity .3s;transition:opacity .3s}.ant-table-empty .ant-table-body{overflow-x:auto!important;overflow-y:hidden!important}.ant-table table{width:100%;text-align:left;border-radius:4px 4px 0 0;border-collapse:separate;border-spacing:0}.ant-table-layout-fixed table{table-layout:fixed}.ant-table-thead>tr>th{color:rgba(0,0,0,.85);font-weight:500;text-align:left;background:#fafafa;border-bottom:1px solid #e8e8e8;-webkit-transition:background .3s ease;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr>th .ant-table-filter-icon,.ant-table-thead>tr>th .anticon-filter{position:absolute;top:0;right:0;width:28px;height:100%;color:#bfbfbf;font-size:12px;text-align:center;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-table-thead>tr>th .ant-table-filter-icon>svg,.ant-table-thead>tr>th .anticon-filter>svg{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-6px}.ant-table-thead>tr>th .ant-table-filter-selected.anticon{color:#1890ff}.ant-table-thead>tr>th .ant-table-column-sorter{display:table-cell;vertical-align:middle}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner{height:1em;margin-top:.35em;margin-left:.57142857em;color:#bfbfbf;line-height:1em;text-align:center;-webkit-transition:all .3s;transition:all .3s}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down,.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up{display:inline-block;font-size:12px;font-size:11px\9;-webkit-transform:scale(.91666667) rotate(0deg);transform:scale(.91666667) rotate(0deg);display:block;height:1em;line-height:1em;-webkit-transition:all .3s;transition:all .3s}:root .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down,:root .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up{font-size:12px}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down.on,.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up.on{color:#1890ff}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full{margin-top:-.15em}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-down,.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-up{height:.5em;line-height:.5em}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-down{margin-top:.125em}.ant-table-thead>tr>th.ant-table-column-has-actions{position:relative;background-clip:padding-box;-webkit-background-clip:border-box}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters{padding-right:30px!important}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters .ant-table-filter-icon.ant-table-filter-open,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters .anticon-filter.ant-table-filter-open,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .ant-table-filter-icon:hover,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .anticon-filter:hover{color:rgba(0,0,0,.45);background:#e5e5e5}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .ant-table-filter-icon:active,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .anticon-filter:active{color:rgba(0,0,0,.65)}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters{cursor:pointer}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:hover,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:hover .ant-table-filter-icon,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:hover .anticon-filter{background:#f2f2f2}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:active .ant-table-column-sorter-down:not(.on),.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:active .ant-table-column-sorter-up:not(.on){color:rgba(0,0,0,.45)}.ant-table-thead>tr>th .ant-table-header-column{display:inline-block;max-width:100%;vertical-align:top}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters{display:table}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters>.ant-table-column-title{display:table-cell;vertical-align:middle}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters>:not(.ant-table-column-sorter){position:relative}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters:before{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;-webkit-transition:all .3s;transition:all .3s;content:""}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters:hover:before{background:rgba(0,0,0,.04)}.ant-table-thead>tr>th.ant-table-column-has-sorters{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-table-thead>tr:first-child>th:first-child{border-top-left-radius:4px}.ant-table-thead>tr:first-child>th:last-child{border-top-right-radius:4px}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #e8e8e8;-webkit-transition:background .3s;transition:background .3s}.ant-table-tbody>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-thead>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-thead>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td{background:#e6f7ff}.ant-table-tbody>tr.ant-table-row-selected>td.ant-table-column-sort,.ant-table-tbody>tr:hover.ant-table-row-selected>td,.ant-table-tbody>tr:hover.ant-table-row-selected>td.ant-table-column-sort,.ant-table-thead>tr.ant-table-row-selected>td.ant-table-column-sort,.ant-table-thead>tr:hover.ant-table-row-selected>td,.ant-table-thead>tr:hover.ant-table-row-selected>td.ant-table-column-sort{background:#fafafa}.ant-table-thead>tr:hover{background:none}.ant-table-footer{position:relative;padding:16px 16px;color:rgba(0,0,0,.85);background:#fafafa;border-top:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-table-footer:before{position:absolute;top:-1px;left:0;width:100%;height:1px;background:#fafafa;content:""}.ant-table.ant-table-bordered .ant-table-footer{border:1px solid #e8e8e8}.ant-table-title{position:relative;top:1px;padding:16px 0;border-radius:4px 4px 0 0}.ant-table.ant-table-bordered .ant-table-title{padding-right:16px;padding-left:16px;border:1px solid #e8e8e8}.ant-table-title+.ant-table-content{position:relative;border-radius:4px 4px 0 0}.ant-table-bordered .ant-table-title+.ant-table-content,.ant-table-bordered .ant-table-title+.ant-table-content .ant-table-thead>tr:first-child>th,.ant-table-bordered .ant-table-title+.ant-table-content table,.ant-table-without-column-header .ant-table-title+.ant-table-content,.ant-table-without-column-header table{border-radius:0}.ant-table-without-column-header.ant-table-bordered.ant-table-empty .ant-table-placeholder{border-top:1px solid #e8e8e8;border-radius:4px}.ant-table-tbody>tr.ant-table-row-selected td{color:inherit;background:#fafafa}.ant-table-thead>tr>th.ant-table-column-sort{background:#f5f5f5}.ant-table-tbody>tr>td.ant-table-column-sort{background:rgba(0,0,0,.01)}.ant-table-tbody>tr>td,.ant-table-thead>tr>th{padding:16px 16px;overflow-wrap:break-word}.ant-table-expand-icon-th,.ant-table-row-expand-icon-cell{width:50px;min-width:50px;text-align:center}.ant-table-header{overflow:hidden;background:#fafafa}.ant-table-header table{border-radius:4px 4px 0 0}.ant-table-loading{position:relative}.ant-table-loading .ant-table-body{background:#fff;opacity:.5}.ant-table-loading .ant-table-spin-holder{position:absolute;top:50%;left:50%;height:20px;margin-left:-30px;line-height:20px}.ant-table-loading .ant-table-with-pagination{margin-top:-20px}.ant-table-loading .ant-table-without-pagination{margin-top:10px}.ant-table-bordered .ant-table-body>table,.ant-table-bordered .ant-table-fixed-left table,.ant-table-bordered .ant-table-fixed-right table,.ant-table-bordered .ant-table-header>table{border:1px solid #e8e8e8;border-right:0;border-bottom:0}.ant-table-bordered.ant-table-empty .ant-table-placeholder{border-right:1px solid #e8e8e8;border-left:1px solid #e8e8e8}.ant-table-bordered.ant-table-fixed-header .ant-table-header>table{border-bottom:0}.ant-table-bordered.ant-table-fixed-header .ant-table-body>table{border-top-left-radius:0;border-top-right-radius:0}.ant-table-bordered.ant-table-fixed-header .ant-table-body-inner>table,.ant-table-bordered.ant-table-fixed-header .ant-table-header+.ant-table-body>table{border-top:0}.ant-table-bordered .ant-table-thead>tr:not(:last-child)>th{border-bottom:1px solid #e8e8e8}.ant-table-bordered .ant-table-tbody>tr>td,.ant-table-bordered .ant-table-thead>tr>th{border-right:1px solid #e8e8e8}.ant-table-placeholder{position:relative;z-index:1;margin-top:-1px;padding:16px 16px;color:rgba(0,0,0,.25);font-size:14px;text-align:center;background:#fff;border-top:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-table-pagination.ant-pagination{float:right;margin:16px 0}.ant-table-filter-dropdown{position:relative;min-width:96px;margin-left:-8px;background:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-table-filter-dropdown .ant-dropdown-menu{max-height:calc(100vh - 130px);overflow-x:hidden;border:0;border-radius:4px 4px 0 0;-webkit-box-shadow:none;box-shadow:none}.ant-table-filter-dropdown .ant-dropdown-menu-item>label+span{padding-right:0}.ant-table-filter-dropdown .ant-dropdown-menu-sub{border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-table-filter-dropdown .ant-dropdown-menu .ant-dropdown-submenu-contain-selected .ant-dropdown-menu-submenu-title:after{color:#1890ff;font-weight:700;text-shadow:0 0 2px #bae7ff}.ant-table-filter-dropdown .ant-dropdown-menu-item{overflow:hidden}.ant-table-filter-dropdown>.ant-dropdown-menu>.ant-dropdown-menu-item:last-child,.ant-table-filter-dropdown>.ant-dropdown-menu>.ant-dropdown-menu-submenu:last-child .ant-dropdown-menu-submenu-title{border-radius:0}.ant-table-filter-dropdown-btns{padding:7px 8px;overflow:hidden;border-top:1px solid #e8e8e8}.ant-table-filter-dropdown-link{color:#1890ff}.ant-table-filter-dropdown-link:hover{color:#40a9ff}.ant-table-filter-dropdown-link:active{color:#096dd9}.ant-table-filter-dropdown-link.confirm{float:left}.ant-table-filter-dropdown-link.clear{float:right}.ant-table-selection{white-space:nowrap}.ant-table-selection-select-all-custom{margin-right:4px!important}.ant-table-selection .anticon-down{color:#bfbfbf;-webkit-transition:all .3s;transition:all .3s}.ant-table-selection-menu{min-width:96px;margin-top:5px;margin-left:-30px;background:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-table-selection-menu .ant-action-down{color:#bfbfbf}.ant-table-selection-down{display:inline-block;padding:0;line-height:1;cursor:pointer}.ant-table-selection-down:hover .anticon-down{color:rgba(0,0,0,.6)}.ant-table-row-expand-icon{color:#1890ff;text-decoration:none;cursor:pointer;-webkit-transition:color .3s;transition:color .3s;display:inline-block;width:17px;height:17px;color:inherit;line-height:13px;text-align:center;background:#fff;border:1px solid #e8e8e8;border-radius:2px;outline:none;-webkit-transition:all .3s;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#40a9ff}.ant-table-row-expand-icon:active{color:#096dd9}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentColor}.ant-table-row-expanded:after{content:"-"}.ant-table-row-collapsed:after{content:"+"}.ant-table-row-spaced{visibility:hidden}.ant-table-row-spaced:after{content:"."}.ant-table-row-cell-ellipsis,.ant-table-row-cell-ellipsis .ant-table-column-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-table-row-cell-ellipsis .ant-table-column-title{display:block}.ant-table-row-cell-break-word{word-wrap:break-word;word-break:break-word}tr.ant-table-expanded-row,tr.ant-table-expanded-row:hover{background:#fbfbfb}tr.ant-table-expanded-row td>.ant-table-wrapper{margin:-16px -16px -17px}.ant-table .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:8px}.ant-table-scroll{overflow:auto;overflow-x:hidden}.ant-table-scroll table{min-width:100%}.ant-table-scroll table .ant-table-fixed-columns-in-body:not([colspan]){color:transparent}.ant-table-scroll table .ant-table-fixed-columns-in-body:not([colspan])>*{visibility:hidden}.ant-table-body-inner{height:100%}.ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body{position:relative;background:#fff}.ant-table-fixed-header .ant-table-body-inner{overflow:scroll}.ant-table-fixed-header .ant-table-scroll .ant-table-header{margin-bottom:-20px;padding-bottom:20px;overflow:scroll;opacity:.9999}.ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar{border:1px solid #e8e8e8;border-width:0 0 1px 0}.ant-table-hide-scrollbar{scrollbar-color:transparent transparent;min-width:unset}.ant-table-hide-scrollbar::-webkit-scrollbar{min-width:inherit;background-color:transparent}.ant-table-bordered.ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar{border:1px solid #e8e8e8;border-width:1px 1px 1px 0}.ant-table-bordered.ant-table-fixed-header .ant-table-scroll .ant-table-header.ant-table-hide-scrollbar .ant-table-thead>tr:only-child>th:last-child{border-right-color:transparent}.ant-table-fixed-left,.ant-table-fixed-right{position:absolute;top:0;z-index:1;overflow:hidden;border-radius:0;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease}.ant-table-fixed-left table,.ant-table-fixed-right table{width:auto;background:#fff}.ant-table-fixed-header .ant-table-fixed-left .ant-table-body-outer .ant-table-fixed,.ant-table-fixed-header .ant-table-fixed-right .ant-table-body-outer .ant-table-fixed{border-radius:0}.ant-table-fixed-left{left:0;-webkit-box-shadow:6px 0 6px -4px rgba(0,0,0,.15);box-shadow:6px 0 6px -4px rgba(0,0,0,.15)}.ant-table-fixed-left .ant-table-header{overflow-y:hidden}.ant-table-fixed-left .ant-table-body-inner{margin-right:-20px;padding-right:20px}.ant-table-fixed-header .ant-table-fixed-left .ant-table-body-inner{padding-right:0}.ant-table-fixed-left,.ant-table-fixed-left table{border-radius:4px 0 0 0}.ant-table-fixed-left .ant-table-thead>tr>th:last-child{border-top-right-radius:0}.ant-table-fixed-right{right:0;-webkit-box-shadow:-6px 0 6px -4px rgba(0,0,0,.15);box-shadow:-6px 0 6px -4px rgba(0,0,0,.15)}.ant-table-fixed-right,.ant-table-fixed-right table{border-radius:0 4px 0 0}.ant-table-fixed-right .ant-table-expanded-row{color:transparent;pointer-events:none}.ant-table-fixed-right .ant-table-thead>tr>th:first-child{border-top-left-radius:0}.ant-table.ant-table-scroll-position-left .ant-table-fixed-left,.ant-table.ant-table-scroll-position-right .ant-table-fixed-right{-webkit-box-shadow:none;box-shadow:none}.ant-table colgroup>col.ant-table-selection-col{width:60px}.ant-table-thead>tr>th.ant-table-selection-column-custom .ant-table-selection{margin-right:-15px}.ant-table-tbody>tr>td.ant-table-selection-column,.ant-table-thead>tr>th.ant-table-selection-column{text-align:center}.ant-table-tbody>tr>td.ant-table-selection-column .ant-radio-wrapper,.ant-table-thead>tr>th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}.ant-table-row[class*=ant-table-row-level-0] .ant-table-selection-column>span{display:inline-block}.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-left:8px}@supports (-moz-appearance:meterbar){.ant-table-thead>tr>th.ant-table-column-has-actions{background-clip:padding-box}}.ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-footer,.ant-table-middle>.ant-table-content>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-title{padding:12px 8px}.ant-table-middle tr.ant-table-expanded-row td>.ant-table-wrapper{margin:-12px -8px -13px}.ant-table-small{border:1px solid #e8e8e8;border-radius:4px}.ant-table-small>.ant-table-content>.ant-table-footer,.ant-table-small>.ant-table-title{padding:8px 8px}.ant-table-small>.ant-table-title{top:0;border-bottom:1px solid #e8e8e8}.ant-table-small>.ant-table-content>.ant-table-footer{background-color:transparent;border-top:1px solid #e8e8e8}.ant-table-small>.ant-table-content>.ant-table-footer:before{background-color:transparent}.ant-table-small>.ant-table-content>.ant-table-body{margin:0 8px}.ant-table-small>.ant-table-content>.ant-table-body>table,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table{border:0}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th{padding:8px 8px}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th{background-color:transparent}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr{border-bottom:1px solid #e8e8e8}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort{background-color:rgba(0,0,0,.01)}.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table{padding:0}.ant-table-small>.ant-table-content .ant-table-header{background-color:transparent;border-radius:4px 4px 0 0}.ant-table-small>.ant-table-content .ant-table-placeholder,.ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:0}.ant-table-small.ant-table-bordered{border-right:0}.ant-table-small.ant-table-bordered .ant-table-title{border:0;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-content{border-right:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-footer{border:0;border-top:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-footer:before{display:none}.ant-table-small.ant-table-bordered .ant-table-placeholder{border-right:0;border-bottom:0;border-left:0}.ant-table-small.ant-table-bordered .ant-table-tbody>tr>td:last-child,.ant-table-small.ant-table-bordered .ant-table-thead>tr>th.ant-table-row-cell-last{border-right:none}.ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-tbody>tr>td:last-child,.ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-thead>tr>th:last-child{border-right:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-fixed-right{border-right:1px solid #e8e8e8;border-left:1px solid #e8e8e8}.ant-table-small tr.ant-table-expanded-row td>.ant-table-wrapper{margin:-8px -8px -9px}.ant-table-small.ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body{border-radius:0 0 4px 4px}.ant-timeline{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0;padding:0;list-style:none}.ant-timeline-item{position:relative;margin:0;padding:0 0 20px;font-size:14px;list-style:none}.ant-timeline-item-tail{position:absolute;top:10px;left:4px;height:calc(100% - 10px);border-left:2px solid #e8e8e8}.ant-timeline-item-pending .ant-timeline-item-head{font-size:12px;background-color:transparent}.ant-timeline-item-pending .ant-timeline-item-tail{display:none}.ant-timeline-item-head{position:absolute;width:10px;height:10px;background-color:#fff;border:2px solid transparent;border-radius:100px}.ant-timeline-item-head-blue{color:#1890ff;border-color:#1890ff}.ant-timeline-item-head-red{color:#f5222d;border-color:#f5222d}.ant-timeline-item-head-green{color:#52c41a;border-color:#52c41a}.ant-timeline-item-head-gray{color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-timeline-item-head-custom{position:absolute;top:5.5px;left:5px;width:auto;height:auto;margin-top:0;padding:3px 1px;line-height:1;text-align:center;border:0;border-radius:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ant-timeline-item-content{position:relative;top:-6px;margin:0 0 0 18px;word-break:break-word}.ant-timeline-item-last>.ant-timeline-item-tail{display:none}.ant-timeline-item-last>.ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-tail{left:50%}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head{margin-left:-4px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom{margin-left:1px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content{left:calc(50% - 4px);width:calc(50% - 14px);text-align:left}.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(50% - 12px);margin:0;text-align:right}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail{left:calc(100% - 6px)}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(100% - 18px)}.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail{display:block;height:calc(100% - 14px);border-left:2px dotted #e8e8e8}.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail{display:none}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{top:15px;display:block;height:calc(100% - 15px);border-left:2px dotted #e8e8e8}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content{min-height:48px}.ant-transfer-customize-list{display:-webkit-box;display:-ms-flexbox;display:flex}.ant-transfer-customize-list .ant-transfer-operation{-webkit-box-flex:0;-ms-flex:none;flex:none;-ms-flex-item-align:center;align-self:center}.ant-transfer-customize-list .ant-transfer-list{-webkit-box-flex:1;-ms-flex:auto;flex:auto;width:auto;height:auto;min-height:200px}.ant-transfer-customize-list .ant-transfer-list-body-with-search{padding-top:0}.ant-transfer-customize-list .ant-transfer-list-body-search-wrapper{position:relative;padding-bottom:0}.ant-transfer-customize-list .ant-transfer-list-body-customize-wrapper{padding:12px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small{border:0;border-radius:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th{background:#fafafa}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:1px solid #e8e8e8}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body{margin:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-pagination.ant-pagination{margin:16px 0 4px}.ant-transfer{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative}.ant-transfer-disabled .ant-transfer-list{background:#f5f5f5}.ant-transfer-list{position:relative;display:inline-block;width:180px;height:200px;padding-top:40px;vertical-align:middle;border:1px solid #d9d9d9;border-radius:4px}.ant-transfer-list-with-footer{padding-bottom:34px}.ant-transfer-list-search{padding:0 24px 0 8px}.ant-transfer-list-search-action{position:absolute;top:12px;right:12px;bottom:12px;width:28px;color:rgba(0,0,0,.25);line-height:32px;text-align:center}.ant-transfer-list-search-action .anticon{color:rgba(0,0,0,.25);-webkit-transition:all .3s;transition:all .3s}.ant-transfer-list-search-action .anticon:hover{color:rgba(0,0,0,.45)}span.ant-transfer-list-search-action{pointer-events:none}.ant-transfer-list-header{position:absolute;top:0;left:0;width:100%;padding:8px 12px 9px;overflow:hidden;color:rgba(0,0,0,.65);background:#fff;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-transfer-list-header-title{position:absolute;right:12px}.ant-transfer-list-header .ant-checkbox-wrapper+span{padding-left:8px}.ant-transfer-list-body{position:relative;height:100%;font-size:14px}.ant-transfer-list-body-search-wrapper{position:absolute;top:0;left:0;width:100%;padding:12px}.ant-transfer-list-body-with-search{padding-top:56px}.ant-transfer-list-content{height:100%;margin:0;padding:0;overflow:auto;list-style:none}.ant-transfer-list-content>.LazyLoad{-webkit-animation:transferHighlightIn 1s;animation:transferHighlightIn 1s}.ant-transfer-list-content-item{min-height:32px;padding:6px 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all .3s;transition:all .3s}.ant-transfer-list-content-item>span{padding-right:0}.ant-transfer-list-content-item-text{padding-left:8px}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:#e6f7ff;cursor:pointer}.ant-transfer-list-content-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-transfer-list-body-not-found{position:absolute;top:50%;width:100%;padding-top:0;color:rgba(0,0,0,.25);text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ant-transfer-list-body-with-search .ant-transfer-list-body-not-found{margin-top:16px}.ant-transfer-list-footer{position:absolute;bottom:0;left:0;width:100%;border-top:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-transfer-operation{display:inline-block;margin:0 8px;overflow:hidden;vertical-align:middle}.ant-transfer-operation .ant-btn{display:block}.ant-transfer-operation .ant-btn:first-child{margin-bottom:4px}.ant-transfer-operation .ant-btn .anticon{font-size:12px}@-webkit-keyframes transferHighlightIn{0%{background:#bae7ff}to{background:transparent}}@keyframes transferHighlightIn{0%{background:#bae7ff}to{background:transparent}}.ant-select-tree-checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-select-tree-checkbox-input:focus+.ant-select-tree-checkbox-inner,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner{border-color:#1890ff}.ant-select-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox:after,.ant-select-tree-checkbox:hover:after{visibility:visible}.ant-select-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;-webkit-transition:all .3s;transition:all .3s}.ant-select-tree-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(0) translate(-50%,-50%);transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;-webkit-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-select-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(1) translate(-50%,-50%);transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;-webkit-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-select-tree-checkbox-disabled{cursor:not-allowed}.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input{cursor:not-allowed}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-select-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-tree-checkbox-disabled:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled:after{visibility:hidden}.ant-select-tree-checkbox-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-select-tree-checkbox-wrapper+.ant-select-tree-checkbox-wrapper{margin-left:8px}.ant-select-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-select-tree-checkbox-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-select-tree-checkbox-group-item{display:inline-block;margin-right:8px}.ant-select-tree-checkbox-group-item:last-child{margin-right:0}.ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:0}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-select-tree{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0;margin-top:-4px;padding:0 4px}.ant-select-tree li{margin:8px 0;padding:0;white-space:nowrap;list-style:none;outline:0}.ant-select-tree li.filter-node>span{font-weight:500}.ant-select-tree li ul{margin:0;padding:0 0 0 18px}.ant-select-tree li .ant-select-tree-node-content-wrapper{display:inline-block;width:calc(100% - 24px);margin:0;padding:3px 5px;color:rgba(0,0,0,.65);text-decoration:none;border-radius:2px;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-select-tree li .ant-select-tree-node-content-wrapper:hover{background-color:#e6f7ff}.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected{background-color:#bae7ff}.ant-select-tree li span.ant-select-tree-checkbox{margin:0 4px 0 0}.ant-select-tree li span.ant-select-tree-checkbox+.ant-select-tree-node-content-wrapper{width:calc(100% - 46px)}.ant-select-tree li span.ant-select-tree-iconEle,.ant-select-tree li span.ant-select-tree-switcher{display:inline-block;width:24px;height:24px;margin:0;line-height:22px;text-align:center;vertical-align:middle;border:0 none;outline:none;cursor:pointer}.ant-select-tree li span.ant-select-icon_loading .ant-select-switcher-loading-icon{position:absolute;left:0;display:inline-block;color:#1890ff;font-size:14px;-webkit-transform:none;transform:none}.ant-select-tree li span.ant-select-icon_loading .ant-select-switcher-loading-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.ant-select-tree li span.ant-select-tree-switcher{position:relative}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher-noop{cursor:auto}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-icon,.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-icon,:root .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-tree-switcher-icon{font-size:12px}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-icon svg,.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-icon,.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-icon,:root .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-tree-switcher-icon{font-size:12px}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-icon svg,.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-icon svg{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-loading-icon,.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-loading-icon{position:absolute;left:0;display:inline-block;width:24px;height:24px;color:#1890ff;font-size:14px;-webkit-transform:none;transform:none}.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-loading-icon svg,.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-loading-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.ant-select-tree-child-tree,.ant-select-tree .ant-select-tree-treenode-loading .ant-select-tree-iconEle{display:none}.ant-select-tree-child-tree-open{display:block}li.ant-select-tree-treenode-disabled>.ant-select-tree-node-content-wrapper,li.ant-select-tree-treenode-disabled>.ant-select-tree-node-content-wrapper span,li.ant-select-tree-treenode-disabled>span:not(.ant-select-tree-switcher){color:rgba(0,0,0,.25);cursor:not-allowed}li.ant-select-tree-treenode-disabled>.ant-select-tree-node-content-wrapper:hover{background:transparent}.ant-select-tree-icon__close,.ant-select-tree-icon__open{margin-right:2px;vertical-align:top}.ant-select-tree-dropdown{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-select-tree-dropdown .ant-select-dropdown-search{position:sticky;top:0;z-index:1;display:block;padding:4px;background:#fff}.ant-select-tree-dropdown .ant-select-dropdown-search .ant-select-search__field__wrap{width:100%}.ant-select-tree-dropdown .ant-select-dropdown-search .ant-select-search__field{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:4px 7px;border:1px solid #d9d9d9;border-radius:4px;outline:none}.ant-select-tree-dropdown .ant-select-dropdown-search.ant-select-search--hide{display:none}.ant-select-tree-dropdown .ant-select-not-found{display:block;padding:7px 16px;color:rgba(0,0,0,.25);cursor:not-allowed}@-webkit-keyframes antCheckboxEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes antCheckboxEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}.ant-tree.ant-tree-directory{position:relative}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-switcher,.ant-tree.ant-tree-directory>li span.ant-tree-switcher{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-switcher.ant-tree-switcher-noop,.ant-tree.ant-tree-directory>li span.ant-tree-switcher.ant-tree-switcher-noop{pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-checkbox,.ant-tree.ant-tree-directory>li span.ant-tree-checkbox{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:hover,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:hover:before,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:hover:before{background:#e6f7ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper.ant-tree-node-selected,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:before,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:before{position:absolute;right:0;left:0;height:24px;-webkit-transition:all .3s;transition:all .3s;content:""}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper>span,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper>span{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-switcher,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked:after,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked:after{border-color:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:#1890ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before{background:#1890ff}.ant-tree-checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree-checkbox-checked:after{top:0;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after,.ant-tree-checkbox:hover:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;-webkit-transition:all .3s;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(0) translate(-50%,-50%);transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;-webkit-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(1) translate(-50%,-50%);transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;-webkit-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{display:inline-block;margin-right:8px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-tree{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0;padding:0}.ant-tree-checkbox-checked:after{position:absolute;top:16.67%;left:0;width:100%;height:66.67%}.ant-tree ol,.ant-tree ul{margin:0;padding:0;list-style:none}.ant-tree li{margin:0;padding:4px 0;white-space:nowrap;list-style:none;outline:0}.ant-tree li span[draggable=true],.ant-tree li span[draggable]{line-height:20px;border-top:2px solid transparent;border-bottom:2px solid transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-drag:element;-webkit-user-drag:element}.ant-tree li.drag-over>span[draggable]{color:#fff;background-color:#1890ff;opacity:.8}.ant-tree li.drag-over-gap-top>span[draggable]{border-top-color:#1890ff}.ant-tree li.drag-over-gap-bottom>span[draggable]{border-bottom-color:#1890ff}.ant-tree li.filter-node>span{color:#f5222d!important;font-weight:500!important}.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon,.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon{position:absolute;left:0;display:inline-block;width:24px;height:24px;color:#1890ff;font-size:14px;-webkit-transform:none;transform:none}.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon svg,.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}:root .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close:after,:root .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open:after{opacity:0}.ant-tree li ul{margin:0;padding:0 0 0 18px}.ant-tree li .ant-tree-node-content-wrapper{display:inline-block;height:24px;margin:0;padding:0 5px;color:rgba(0,0,0,.65);line-height:24px;text-decoration:none;vertical-align:top;border-radius:2px;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-tree li .ant-tree-node-content-wrapper:hover{background-color:#e6f7ff}.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}.ant-tree li span.ant-tree-checkbox{top:auto;height:24px;margin:0 4px 0 2px;padding:4px 0}.ant-tree li span.ant-tree-iconEle,.ant-tree li span.ant-tree-switcher{display:inline-block;width:24px;height:24px;margin:0;line-height:24px;text-align:center;vertical-align:top;border:0 none;outline:none;cursor:pointer}.ant-tree li span.ant-tree-iconEle:empty{display:none}.ant-tree li span.ant-tree-switcher{position:relative}.ant-tree li span.ant-tree-switcher.ant-tree-switcher-noop{cursor:default}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{font-size:12px}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon svg,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{font-size:12px}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon svg,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ant-tree li:last-child>span.ant-tree-iconEle:before,.ant-tree li:last-child>span.ant-tree-switcher:before{display:none}.ant-tree>li:first-child{padding-top:7px}.ant-tree>li:last-child{padding-bottom:7px}.ant-tree-child-tree>li:first-child{padding-top:8px}.ant-tree-child-tree>li:last-child{padding-bottom:0}li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper,li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper span,li.ant-tree-treenode-disabled>span:not(.ant-tree-switcher){color:rgba(0,0,0,.25);cursor:not-allowed}li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree-icon__close,.ant-tree-icon__open{margin-right:2px;vertical-align:top}.ant-tree.ant-tree-show-line li{position:relative}.ant-tree.ant-tree-show-line li span.ant-tree-switcher{color:rgba(0,0,0,.45);background:#fff}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li:not(:last-child):before{position:absolute;left:12px;width:1px;height:100%;height:calc(100% - 22px);margin:22px 0 0;border-left:1px solid #d9d9d9;content:" "}.ant-tree.ant-tree-icon-hide .ant-tree-treenode-loading .ant-tree-iconEle{display:none}.ant-tree.ant-tree-block-node li .ant-tree-node-content-wrapper{width:calc(100% - 24px)}.ant-tree.ant-tree-block-node li span.ant-tree-checkbox+.ant-tree-node-content-wrapper{width:calc(100% - 46px)}.ant-upload{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{display:table;float:left;width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:4px;cursor:pointer;-webkit-transition:border-color .3s ease;transition:border-color .3s ease}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:table-cell;width:100%;height:100%;padding:8px;text-align:center;vertical-align:middle}.ant-upload.ant-upload-select-picture-card:hover{border-color:#1890ff}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:#fafafa;border:1px dashed #d9d9d9;border-radius:4px;cursor:pointer;-webkit-transition:border-color .3s;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#096dd9}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#40a9ff}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#40a9ff;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;-webkit-transition:all .3s;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{zoom:1;display:inline-block;width:100%}.ant-upload-picture-card-wrapper:after,.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{clear:both}.ant-upload-list{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";zoom:1}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:14px}.ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:28px}.ant-upload-list-item{position:relative;height:22px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-name-icon-count-1{padding-right:14px}.ant-upload-list-item-card-actions{position:absolute;right:0;opacity:0}.ant-upload-list-item-card-actions.picture{top:25px;line-height:1;opacity:1}.ant-upload-list-item-card-actions .anticon{padding-right:6px;color:rgba(0,0,0,.45)}.ant-upload-list-item-info{height:100%;padding:0 12px 0 4px;-webkit-transition:background-color .3s;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .anticon-loading,.ant-upload-list-item-info .anticon-paper-clip{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item .anticon-close{display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);position:absolute;top:6px;right:4px;color:rgba(0,0,0,.45);line-height:0;cursor:pointer;opacity:0;-webkit-transition:all .3s;transition:all .3s}:root .ant-upload-list-item .anticon-close{font-size:12px}.ant-upload-list-item .anticon-close:hover{color:rgba(0,0,0,.65)}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#e6f7ff}.ant-upload-list-item:hover .ant-upload-list-item-card-actions,.ant-upload-list-item:hover .anticon-close{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .anticon-paper-clip{color:#f5222d}.ant-upload-list-item-error .ant-upload-list-item-card-actions{opacity:1}.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{color:#f5222d}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture-card .ant-upload-list-item,.ant-upload-list-picture .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:4px}.ant-upload-list-picture-card .ant-upload-list-item:hover,.ant-upload-list-picture .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture-card .ant-upload-list-item-error,.ant-upload-list-picture .ant-upload-list-item-error{border-color:#f5222d}.ant-upload-list-picture-card .ant-upload-list-item-info,.ant-upload-list-picture .ant-upload-list-item-info{padding:0}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture-card .ant-upload-list-item-uploading,.ant-upload-list-picture .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture .ant-upload-list-item-thumbnail{position:absolute;top:8px;left:8px;width:48px;height:48px;font-size:26px;line-height:54px;text-align:center;opacity:.8}.ant-upload-list-picture-card .ant-upload-list-item-icon,.ant-upload-list-picture .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ant-upload-list-picture-card .ant-upload-list-item-image,.ant-upload-list-picture .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img,.ant-upload-list-picture .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-name{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all .3s;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1,.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1{padding-right:18px}.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2,.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2{padding-right:36px}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name{line-height:28px}.ant-upload-list-picture-card .ant-upload-list-item-progress,.ant-upload-list-picture .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card .anticon-close,.ant-upload-list-picture .anticon-close{position:absolute;top:8px;right:8px;line-height:1;opacity:1}.ant-upload-list-picture-card.ant-upload-list:after{display:none}.ant-upload-list-picture-card-container,.ant-upload-list-picture-card .ant-upload-list-item{float:left;width:104px;height:104px;margin:0 8px 8px 0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;-webkit-transition:all .3s;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:0;-webkit-transition:all .3s;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye-o{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye-o:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5;text-align:center}.ant-upload-list-picture-card .anticon-picture+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:#fafafa}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye-o,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-uploading-text{margin-top:18px;color:rgba(0,0,0,.45)}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;padding-left:0}.ant-upload-list .ant-upload-success-icon{color:#52c41a;font-weight:700}.ant-upload-list .ant-upload-animate-enter,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave,.ant-upload-list .ant-upload-animate-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:cubic-bezier(.78,.14,.15,.86)}.ant-upload-list .ant-upload-animate-enter{-webkit-animation-name:uploadAnimateIn;animation-name:uploadAnimateIn}.ant-upload-list .ant-upload-animate-leave{-webkit-animation-name:uploadAnimateOut;animation-name:uploadAnimateOut}.ant-upload-list .ant-upload-animate-inline-enter{-webkit-animation-name:uploadAnimateInlineIn;animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{-webkit-animation-name:uploadAnimateInlineOut;animation-name:uploadAnimateInlineOut}@-webkit-keyframes uploadAnimateIn{0%{height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateIn{0%{height:0;margin:0;padding:0;opacity:0}}@-webkit-keyframes uploadAnimateOut{to{height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateOut{to{height:0;margin:0;padding:0;opacity:0}}@-webkit-keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@-webkit-keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}} \ No newline at end of file diff --git a/demo/static/img/jquery.minicolors.44ae4fdb.png b/demo/static/img/jquery.minicolors.44ae4fdb.png deleted file mode 100644 index bccc2012af78a0358e893f004e0207cac8f9e642..0000000000000000000000000000000000000000 Binary files a/demo/static/img/jquery.minicolors.44ae4fdb.png and /dev/null differ diff --git a/demo/static/img/logo.82b9c7a5.png b/demo/static/img/logo.82b9c7a5.png deleted file mode 100644 index f3d2503fc2a44b5053b0837ebea6e87a2d339a43..0000000000000000000000000000000000000000 Binary files a/demo/static/img/logo.82b9c7a5.png and /dev/null differ diff --git a/demo/static/js/app.3c47c37c.js b/demo/static/js/app.3c47c37c.js deleted file mode 100644 index 1d3092f363102bfded1995520cea25a8f255f40e..0000000000000000000000000000000000000000 --- a/demo/static/js/app.3c47c37c.js +++ /dev/null @@ -1,204 +0,0 @@ -(function(t){function e(e){for(var i,a,s=e[0],l=e[1],A=e[2],c=0,p=[];c, https://github.com/MrRio/jsPDF - * 2010 Aaron Spike, https://github.com/acspike - * 2012 Willow Systems Corporation, willow-systems.com - * 2012 Pablo Hess, https://github.com/pablohess - * 2012 Florian Jenett, https://github.com/fjenett - * 2013 Warren Weckesser, https://github.com/warrenweckesser - * 2013 Youssef Beddad, https://github.com/lifof - * 2013 Lee Driscoll, https://github.com/lsdriscoll - * 2013 Stefan Slonevskiy, https://github.com/stefslon - * 2013 Jeremy Morel, https://github.com/jmorel - * 2013 Christoph Hartmann, https://github.com/chris-rock - * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria - * 2014 James Makes, https://github.com/dollaruw - * 2014 Diego Casorran, https://github.com/diegocr - * 2014 Steven Spungin, https://github.com/Flamenco - * 2014 Kenneth Glassey, https://github.com/Gavvers - * - * Licensed under the MIT License - * - * Contributor(s): - * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, - * kim3er, mfo, alnorth, Flamenco - */function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){if("object"!==r(t.console)){t.console={};for(var e,n,i=t.console,o=function(){},a=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=a.pop();)i[e]||(i[e]={});for(;n=s.pop();)i[n]||(i[n]=o)}var l,A,u,c,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===t.btoa&&(t.btoa=function(t){var e,n,i,r,o,a=0,s=0,l="",A=[];if(!t)return t;for(;e=(o=t.charCodeAt(a++)<<16|t.charCodeAt(a++)<<8|t.charCodeAt(a++))>>18&63,n=o>>12&63,i=o>>6&63,r=63&o,A[s++]=p.charAt(e)+p.charAt(n)+p.charAt(i)+p.charAt(r),a>16&255,n=a>>8&255,i=255&a,A[l++]=64==r?String.fromCharCode(e):64==o?String.fromCharCode(e,n):String.fromCharCode(e,n,i),s>>0,i=new Array(n),r=1>>0,r=0;r>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var i=arguments[1],r=0;r>16&255,i=A>>8&255,o=255&A}if(void 0===i||void 0===a&&n===i&&i===o)if("string"==typeof n)e=n+" "+s[0];else switch(t.precision){case 2:e=v(n/255)+" "+s[0];break;case 3:default:e=w(n/255)+" "+s[0]}else if(void 0===a||"object"===r(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof n)e=[n,i,o,s[1]].join(" ");else switch(t.precision){case 2:e=[v(n/255),v(i/255),v(o/255),s[1]].join(" ");break;default:case 3:e=[w(n/255),w(i/255),w(o/255),s[1]].join(" ")}}else if("string"==typeof n)e=[n,i,o,a,s[2]].join(" ");else switch(t.precision){case 2:e=[v(n/255),v(i/255),v(o/255),v(a/255),s[2]].join(" ");break;case 3:default:e=[w(n/255),w(i/255),w(o/255),w(a/255),s[2]].join(" ")}return e},dt=h.__private__.getFilters=function(){return A},gt=h.__private__.putStream=function(t){var e=(t=t||{}).data||"",n=t.filters||dt(),i=t.alreadyAppliedFilters||[],r=t.addLength1||!1,o=e.length,a={};!0===n&&(n=["FlateEncode"]);var l=t.additionalKeyValues||[],A=(a=void 0!==s.API.processDataByFilters?s.API.processDataByFilters(e,n):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(i)?i.join(" "):i.toString());0!==a.data.length&&(l.push({key:"Length",value:a.data.length}),!0===r&&l.push({key:"Length1",value:o})),0!=A.length&&(A.split("/").length-1==1?l.push({key:"Filter",value:A}):l.push({key:"Filter",value:"["+A+"]"})),k("<<");for(var u=0;u>"),0!==a.data.length&&(k("stream"),k(a.data),k("endstream"))},mt=h.__private__.putPage=function(t){t.mediaBox;var e=t.number,n=t.data,i=t.objId,r=t.contentsObjId;At(i,!0),it[P].mediaBox.topRightX,it[P].mediaBox.bottomLeftX,it[P].mediaBox.topRightY,it[P].mediaBox.bottomLeftY,k("<>"),k("endobj");var o=n.join("\n");return At(r,!0),gt({data:o,filters:dt()}),k("endobj"),i},yt=h.__private__.putPages=function(){var t,e,n=[];for(t=1;t<=nt;t++)it[t].objId=lt(),it[t].contentsObjId=lt();for(t=1;t<=nt;t++)n.push(mt({number:t,data:M[t],objId:it[t].objId,contentsObjId:it[t].contentsObjId,mediaBox:it[t].mediaBox,cropBox:it[t].cropBox,bleedBox:it[t].bleedBox,trimBox:it[t].trimBox,artBox:it[t].artBox,userUnit:it[t].userUnit,rootDictionaryObjId:ct,resourceDictionaryObjId:pt}));At(ct,!0),k("<>"),k("endobj"),ot.publish("postPutPages")},vt=function(){!function(){for(var t in tt)tt.hasOwnProperty(t)&&(!1===c||!0===c&&p.hasOwnProperty(t))&&(e=tt[t],ot.publish("putFont",{font:e,out:k,newObject:st,putStream:gt}),!0!==e.isAlreadyPutted&&(e.objectNumber=st(),k("<<"),k("/Type /Font"),k("/BaseFont /"+e.postScriptName),k("/Subtype /Type1"),"string"==typeof e.encoding&&k("/Encoding /"+e.encoding),k("/FirstChar 32"),k("/LastChar 255"),k(">>"),k("endobj")));var e}(),ot.publish("putResources"),At(pt,!0),k("<<"),function(){for(var t in k("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),k("/Font <<"),tt)tt.hasOwnProperty(t)&&(!1===c||!0===c&&p.hasOwnProperty(t))&&k("/"+t+" "+tt[t].objectNumber+" 0 R");k(">>"),k("/XObject <<"),ot.publish("putXobjectDict"),k(">>")}(),k(">>"),k("endobj"),ot.publish("postPutResources")},wt=function(t,e,n){et.hasOwnProperty(e)||(et[e]={}),et[e][n]=t},bt=function(t,e,n,i,r){r=r||!1;var o="F"+(Object.keys(tt).length+1).toString(10),a={id:o,postScriptName:t,fontName:e,fontStyle:n,encoding:i,isStandardFont:r,metadata:{}};return ot.publish("addFont",{font:a,instance:this}),void 0!==o&&(tt[o]=a,wt(o,e,n)),o},Bt=h.__private__.pdfEscape=h.pdfEscape=function(t,e){return function(t,e){var n,i,r,o,a,s,l,A,u;if(r=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&tt[U].metadata&&tt[U].metadata[r]&&tt[U].metadata[r].encoding&&(o=tt[U].metadata[r].encoding,!a&&tt[U].encoding&&(a=tt[U].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(l=!1,s=[],n=0,i=t.length;n>8&&(l=!0);t=s.join("")}for(n=t.length;void 0===l&&0!==n;)t.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return t;for(s=e.noBOM?[]:[254,255],n=0,i=t.length;n>8)>>8)throw new Error("Character at position "+n+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(A-(u<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Et=h.__private__.beginPage=function(t,e){var i,r="string"==typeof e&&e.toLowerCase();if("string"==typeof t&&(i=m(t.toLowerCase()))&&(t=i[0],e=i[1]),Array.isArray(t)&&(e=t[1],t=t[0]),(isNaN(t)||isNaN(e))&&(t=n[0],e=n[1]),r){switch(r.substr(0,1)){case"l":t>"),k("endobj")},Nt=h.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||ct;switch(st(),k("<<"),k("/Type /Catalog"),k("/Pages "+e+" 0 R"),F||(F="fullwidth"),F){case"fullwidth":k("/OpenAction [3 0 R /FitH null]");break;case"fullheight":k("/OpenAction [3 0 R /FitV null]");break;case"fullpage":k("/OpenAction [3 0 R /Fit]");break;case"original":k("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+F;"%"===n.substr(n.length-1)&&(F=parseInt(F)/100),"number"==typeof F&&k("/OpenAction [3 0 R /XYZ null null "+v(F)+"]")}switch(L||(L="continuous"),L){case"continuous":k("/PageLayout /OneColumn");break;case"single":k("/PageLayout /SinglePage");break;case"two":case"twoleft":k("/PageLayout /TwoColumnLeft");break;case"tworight":k("/PageLayout /TwoColumnRight")}S&&k("/PageMode /"+S),ot.publish("putCatalog"),k(">>"),k("endobj")},St=h.__private__.putTrailer=function(){k("trailer"),k("<<"),k("/Size "+($+1)),k("/Root "+$+" 0 R"),k("/Info "+($-1)+" 0 R"),k("/ID [ <"+b+"> <"+b+"> ]"),k(">>")},Lt=h.__private__.putHeader=function(){k("%PDF-"+f),k("%ºß¬à")},Ut=h.__private__.putXRef=function(){var t=1,e="0000000000";for(k("xref"),k("0 "+($+1)),k("0000000000 65535 f "),t=1;t<=$;t++)"function"==typeof Z[t]?k((e+Z[t]()).slice(-10)+" 00000 n "):void 0!==Z[t]?k((e+Z[t]).slice(-10)+" 00000 n "):k("0000000000 00000 n ")},Qt=h.__private__.buildDocument=function(){I=!1,R=$=0,D=[],Z=[],rt=[],ct=lt(),pt=lt(),ot.publish("buildDocument"),Lt(),yt(),function(){ot.publish("putAdditionalObjects");for(var t=0;t',o=i.open();if(null!==o&&o.document.write(r),o||"undefined"==typeof safari)return o;case"datauri":case"dataurl":return i.document.location.href="data:application/pdf;filename="+e.filename+";base64,"+btoa(n);default:return null}}).foo=function(){try{return O.apply(this,arguments)}catch(t){var e=t.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var n="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!i.console)throw new Error(n);i.console.error(n,t),i.alert&&alert(n)}},(O.foo.bar=O).foo),It=function(t){return!0===Array.isArray(at)&&-1":")"),et=1):(Y=Xt(e),$=Jt(n),Z=(A?"<":"(")+B[J]+(A?">":")")),void 0!==K&&void 0!==K[J]&&(nt=K[J]+" Tw\n"),0!==N.length&&0===J?t.push(nt+N.join(" ")+" "+Y.toFixed(2)+" "+$.toFixed(2)+" Tm\n"+Z):1===et||0===et&&0===J?t.push(nt+Y.toFixed(2)+" "+$.toFixed(2)+" Td\n"+Z):t.push(nt+Z);t=0===et?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var it="BT\n/"+U+" "+V+" Tf\n"+(V*c).toFixed(2)+" TL\n"+ee+"\n";return it+=u,it+=t,k(it+="ET"),p[U]=!0,h},h.__private__.lstext=h.lstext=function(t,e,n,i){return console.warn("jsPDF.lstext is deprecated"),this.text(t,e,n,{charSpace:i})},h.__private__.clip=h.clip=function(t){k("evenodd"===t?"W*":"W"),k("n")},h.__private__.clip_fixed=h.clip_fixed=function(t){console.log("clip_fixed is deprecated"),h.clip(t)};var kt=h.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(t)&&(e=!0),e},jt=h.__private__.getStyle=function(t){var e="S";return"F"===t?e="f":"FD"===t||"DF"===t?e="B":"f"!==t&&"f*"!==t&&"B"!==t&&"B*"!==t||(e=t),e};h.__private__.line=h.line=function(t,e,n,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(i))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[n-t,i-e]],t,e)},h.__private__.lines=h.lines=function(t,e,n,i,r,o){var a,s,l,A,u,c,p,h,f,d,g,m;if("number"==typeof t&&(m=n,n=e,e=t,t=m),i=i||[1,1],o=o||!1,isNaN(e)||isNaN(n)||!Array.isArray(t)||!Array.isArray(i)||!kt(r)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(k(w(Xt(e))+" "+w(Jt(n))+" m "),a=i[0],s=i[1],A=t.length,d=e,g=n,l=0;l=a.length-1;if(C&&!x){v+=" ";continue}if(C||x){if(x)m=E;else if(t.multiline&&A<(p+2)*(w+2)+2)continue t}else{if(!t.multiline)continue t;if(A<(p+2)*(w+2)+2)continue t;m=E}for(var _="",T=g;T<=m;T++)_+=a[T]+" ";switch(_=" "==_.substr(_.length-1)?_.substr(0,_.length-1):_,y=B(_,t,l).width,t.textAlign){case"right":f=u-y-2;break;case"center":f=(u-y)/2;break;case"left":default:f=2}e+=s(f)+" "+s(d)+" Td\n",e+="("+o(_)+") Tj\n",e+=-s(f)+" 0 Td\n",d=-(l+2),y=0,g=m+1,w++,v=""}break}return r.text=e,r.fontSize=l,r},B=function(t,e,i){var r=n.internal.getFont(e.fontName,e.fontStyle),o=n.getStringUnitWidth(t,{font:r,fontSize:parseFloat(i),charSpace:0})*parseFloat(i);return{height:n.getStringUnitWidth("3",{font:r,fontSize:parseFloat(i),charSpace:0})*parseFloat(i)*1.5,width:o}},E={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},C=function(){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var e in t)if(t.hasOwnProperty(e)){var i=t[e];i.objId=void 0,i.hasAnnotation&&x.call(n,i)}},x=function(t){var e={type:"reference",object:t};void 0===n.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===e.type&&t.object===e.object}))&&n.internal.getPageInfo(t.page).pageContext.annotations.push(e)},_=function(){if(void 0===n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},T=function(){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0},P=function(t){var e=!t;for(var i in t||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids,t)if(t.hasOwnProperty(i)){var o=t[i],a=[],s=o.Rect;if(o.Rect&&(o.Rect=v.call(this,o.Rect)),n.internal.newObjectDeferredBegin(o.objId,!0),o.DA=W.createDefaultAppearanceStream(o),"object"===r(o)&&"function"==typeof o.getKeyValueListForStream&&(a=o.getKeyValueListForStream()),o.Rect=s,o.hasAppearanceStream&&!o.appearanceStreamContent){var l=w.call(this,o);a.push({key:"AP",value:"<>"}),n.internal.acroformPlugin.xForms.push(l)}if(o.appearanceStreamContent){var A="";for(var u in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(u)){var c=o.appearanceStreamContent[u];if(A+="/"+u+" ",A+="<<",1<=Object.keys(c).length||Array.isArray(c))for(var i in c){var p;c.hasOwnProperty(i)&&("function"==typeof(p=c[i])&&(p=p.call(this,o)),A+="/"+i+" "+p+" ",0<=n.internal.acroformPlugin.xForms.indexOf(p)||n.internal.acroformPlugin.xForms.push(p))}else"function"==typeof(p=c)&&(p=p.call(this,o)),A+="/"+i+" "+p,0<=n.internal.acroformPlugin.xForms.indexOf(p)||n.internal.acroformPlugin.xForms.push(p);A+=">>"}a.push({key:"AP",value:"<<\n"+A+">>"})}n.internal.putStream({additionalKeyValues:a}),n.internal.out("endobj")}e&&N.call(this,n.internal.acroformPlugin.xForms)},N=function(t){for(var e in t)if(t.hasOwnProperty(e)){var i=e,o=t[e];n.internal.newObjectDeferredBegin(o&&o.objId,!0),"object"===r(o)&&"function"==typeof o.putStream&&o.putStream(),delete t[i]}},F=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(n=this,H.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(E)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");i=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new O,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",T),n.internal.events.subscribe("buildDocument",C),n.internal.events.subscribe("putCatalog",_),n.internal.events.subscribe("postPutPages",P),n.internal.acroformPlugin.isInitialized=!0}},S=t.__acroform__.arrayToPdfArray=function(t){if(Array.isArray(t)){for(var e="[",n=0;n>"),n.join("\n")}},set:function(t){"object"===r(t)&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};A(k,H);var j=function(){k.call(this),this.pushButton=!0};A(j,k);var K=function(){k.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};A(K,k);var z=function(){var t,e;H.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var n,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t,e=[];for(t in e.push("<<"),i)e.push("/"+t+" ("+i[t]+")");return e.push(">>"),e.join("\n")},set:function(t){"object"===r(t)&&(i=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(t){"string"==typeof t&&(i.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(t){n="/"+t}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=W.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};A(z,H),K.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var n=this.Kids[e];n.appearanceStreamContent=t.createAppearanceStream(n.optionName),n.caption=t.getCA()}},K.prototype.createOption=function(t){this.Kids.length;var e=new z;return e.Parent=this,e.optionName=t,this.Kids.push(e),X.call(this,e),e};var V=function(){k.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=W.CheckBox.createAppearanceStream()};A(V,k);var q=function(){H.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=m(this.Ff,13):this.Ff=y(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=m(this.Ff,21):this.Ff=y(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=m(this.Ff,23):this.Ff=y(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=m(this.Ff,24):this.Ff=y(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=m(this.Ff,25):this.Ff=y(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=m(this.Ff,26):this.Ff=y(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};A(q,H);var G=function(){q.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=m(this.Ff,14):this.Ff=y(this.Ff,14)}}),this.password=!0};A(G,q);var W={CheckBox:{createAppearanceStream:function(){return{N:{On:W.CheckBox.YesNormal},D:{On:W.CheckBox.YesPushDown,Off:W.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=p(t),i=[],r=n.internal.getFont(t.fontName,t.fontStyle).id,o=n.__private__.encodeColorString(t.color),a=b(t,t.caption);return i.push("0.749023 g"),i.push("0 0 "+s(W.internal.getWidth(t))+" "+s(W.internal.getHeight(t))+" re"),i.push("f"),i.push("BMC"),i.push("q"),i.push("0 0 1 rg"),i.push("/"+r+" "+s(a.fontSize)+" Tf "+o),i.push("BT"),i.push(a.text),i.push("ET"),i.push("Q"),i.push("EMC"),e.stream=i.join("\n"),e},YesNormal:function(t){var e=p(t),i=n.internal.getFont(t.fontName,t.fontStyle).id,r=n.__private__.encodeColorString(t.color),o=[],a=W.internal.getHeight(t),l=W.internal.getWidth(t),A=b(t,t.caption);return o.push("1 g"),o.push("0 0 "+s(l)+" "+s(a)+" re"),o.push("f"),o.push("q"),o.push("0 0 1 rg"),o.push("0 0 "+s(l-1)+" "+s(a-1)+" re"),o.push("W"),o.push("n"),o.push("0 g"),o.push("BT"),o.push("/"+i+" "+s(A.fontSize)+" Tf "+r),o.push(A.text),o.push("ET"),o.push("Q"),e.stream=o.join("\n"),e},OffPushDown:function(t){var e=p(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(W.internal.getWidth(t))+" "+s(W.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:W.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=W.RadioButton.Circle.YesNormal,e.D[t]=W.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=p(t),n=[],i=W.internal.getWidth(t)<=W.internal.getHeight(t)?W.internal.getWidth(t)/4:W.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var r=W.internal.Bezier_C,o=Number((i*r).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+l(W.internal.getWidth(t)/2)+" "+l(W.internal.getHeight(t)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=p(t),n=[],i=W.internal.getWidth(t)<=W.internal.getHeight(t)?W.internal.getWidth(t)/4:W.internal.getHeight(t)/4,r=(i=Number((.9*i).toFixed(5)),Number((2*i).toFixed(5))),o=Number((r*W.internal.Bezier_C).toFixed(5)),a=Number((i*W.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l(W.internal.getWidth(t)/2)+" "+l(W.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+l(W.internal.getWidth(t)/2)+" "+l(W.internal.getHeight(t)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=p(t),n=[],i=W.internal.getWidth(t)<=W.internal.getHeight(t)?W.internal.getWidth(t)/4:W.internal.getHeight(t)/4,r=(i=Number((.9*i).toFixed(5)),Number((2*i).toFixed(5))),o=Number((r*W.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l(W.internal.getWidth(t)/2)+" "+l(W.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:W.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=W.RadioButton.Cross.YesNormal,e.D[t]=W.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=p(t),n=[],i=W.internal.calculateCross(t);return n.push("q"),n.push("1 1 "+s(W.internal.getWidth(t)-2)+" "+s(W.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(s(i.x1.x)+" "+s(i.x1.y)+" m"),n.push(s(i.x2.x)+" "+s(i.x2.y)+" l"),n.push(s(i.x4.x)+" "+s(i.x4.y)+" m"),n.push(s(i.x3.x)+" "+s(i.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=p(t),n=W.internal.calculateCross(t),i=[];return i.push("0.749023 g"),i.push("0 0 "+s(W.internal.getWidth(t))+" "+s(W.internal.getHeight(t))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+s(W.internal.getWidth(t)-2)+" "+s(W.internal.getHeight(t)-2)+" re"),i.push("W"),i.push("n"),i.push(s(n.x1.x)+" "+s(n.x1.y)+" m"),i.push(s(n.x2.x)+" "+s(n.x2.y)+" l"),i.push(s(n.x4.x)+" "+s(n.x4.y)+" m"),i.push(s(n.x3.x)+" "+s(n.x3.y)+" l"),i.push("s"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=p(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(W.internal.getWidth(t))+" "+s(W.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=n.internal.getFont(t.fontName,t.fontStyle).id,i=n.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+i}};W.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=W.internal.getWidth(t),n=W.internal.getHeight(t),i=Math.min(e,n);return{x1:{x:(e-i)/2,y:(n-i)/2+i},x2:{x:(e-i)/2+i,y:(n-i)/2},x3:{x:(e-i)/2,y:(n-i)/2},x4:{x:(e-i)/2+i,y:(n-i)/2+i}}}},W.internal.getWidth=function(t){var e=0;return"object"===r(t)&&(e=u(t.Rect[2])),e},W.internal.getHeight=function(t){var e=0;return"object"===r(t)&&(e=u(t.Rect[3])),e};var X=t.addField=function(t){if(F.call(this),!(t instanceof H))throw new Error("Invalid argument passed to jsPDF.addField.");return function(t){n.internal.acroformPlugin.printedOut&&(n.internal.acroformPlugin.printedOut=!1,n.internal.acroformPlugin.acroFormDictionaryRoot=null),n.internal.acroformPlugin.acroFormDictionaryRoot||F.call(n),n.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t)}.call(this,t),t.page=n.internal.getCurrentPageInfo().pageNumber,this};t.addButton=function(t){if(t instanceof k==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return X.call(this,t)},t.addTextField=function(t){if(t instanceof q==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return X.call(this,t)},t.addChoiceField=function(t){if(t instanceof I==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return X.call(this,t)},"object"==r(e)&&void 0===e.ChoiceField&&void 0===e.ListBox&&void 0===e.ComboBox&&void 0===e.EditBox&&void 0===e.Button&&void 0===e.PushButton&&void 0===e.RadioButton&&void 0===e.CheckBox&&void 0===e.TextField&&void 0===e.PasswordField?(e.ChoiceField=I,e.ListBox=M,e.ComboBox=D,e.EditBox=R,e.Button=k,e.PushButton=j,e.RadioButton=K,e.CheckBox=V,e.TextField=q,e.PasswordField=G,e.AcroForm={Appearance:W}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),t.AcroFormChoiceField=I,t.AcroFormListBox=M,t.AcroFormComboBox=D,t.AcroFormEditBox=R,t.AcroFormButton=k,t.AcroFormPushButton=j,t.AcroFormRadioButton=K,t.AcroFormCheckBox=V,t.AcroFormTextField=q,t.AcroFormPasswordField=G,t.AcroFormAppearance=W,t.AcroForm={ChoiceField:I,ListBox:M,ComboBox:D,EditBox:R,Button:k,PushButton:j,RadioButton:K,CheckBox:V,TextField:q,PasswordField:G,Appearance:W}})((window.tmp=ft).API,"undefined"!=typeof window&&window||"undefined"!=typeof i&&i), -/** @license - * jsPDF addImage plugin - * Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/ - * 2013 Chris Dowling, https://github.com/gingerchris - * 2013 Trinh Ho, https://github.com/ineedfat - * 2013 Edwin Alejandro Perez, https://github.com/eaparango - * 2013 Norah Smith, https://github.com/burnburnrocket - * 2014 Diego Casorran, https://github.com/diegocr - * 2014 James Robb, https://github.com/jamesbrobb - * - * - */ -function(t){var e="addImage_",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=t.getImageFileTypeByImageData=function(e,i){var r,o;i=i||"UNKNOWN";var a,s,l,A="UNKNOWN";for(l in t.isArrayBufferView(e)&&(e=t.arrayBufferToBinaryString(e)),n)for(a=n[l],r=0;r>"}),"trns"in e&&e.trns.constructor==Array){for(var s="",l=0,A=e.trns.length;l>18]+i[(258048&e)>>12]+i[(4032&e)>>6]+i[63&e];return 1==a?n+=i[(252&(e=r[s]))>>2]+i[(3&e)<<4]+"==":2==a&&(n+=i[(64512&(e=r[s]<<8|r[s+1]))>>10]+i[(1008&e)>>4]+i[(15&e)<<2]+"="),n},t.createImageInfo=function(t,e,n,i,r,o,a,s,l,A,u,c,p){var h={alias:s,w:e,h:n,cs:i,bpc:r,i:a,data:t};return o&&(h.f=o),l&&(h.dp=l),A&&(h.trns=A),u&&(h.pal=u),c&&(h.smask=c),p&&(h.p=p),h},t.addImage=function(n,i,o,p,h,f,d,g,m){var y="";if("string"!=typeof i){var v=f;f=h,h=p,p=o,o=i,i=v}if("object"===r(n)&&!A(n)&&"imageData"in n){var w=n;n=w.imageData,i=w.format||i||"UNKNOWN",o=w.x||o||0,p=w.y||p||0,h=w.w||h,f=w.h||f,d=w.alias||d,g=w.compression||g,m=w.rotation||w.angle||m}var b=this.internal.getFilters();if(void 0===g&&-1!==b.indexOf("FlateEncode")&&(g="SLOW"),"string"==typeof n&&(n=unescape(n)),isNaN(o)||isNaN(p))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var B,E,C,x,_,T,P,N=function(){var t=this.internal.collections[e+"images"];return t||(this.internal.collections[e+"images"]=t={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s)),t}.call(this);if(!((B=c(n,N))||(A(n)&&(n=u(n,i)),(null==(P=d)||0===P.length)&&(d="string"==typeof(T=n)?t.sHashCode(T):t.isArrayBufferView(T)?t.sHashCode(t.arrayBufferToBinaryString(T)):null),B=c(d,N)))){if(this.isString(n)&&(""!==(y=this.convertStringToImageData(n))||void 0!==(y=t.loadFile(n)))&&(n=y),i=this.getImageFileTypeByImageData(n,i),!l(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(this.supportsArrayBuffer()&&(n instanceof Uint8Array||(E=n,n=this.binaryStringToUint8Array(n))),!(B=this["process"+i.toUpperCase()](n,(_=0,(x=N)&&(_=Object.keys?Object.keys(x).length:function(t){var e=0;for(var n in t)t.hasOwnProperty(n)&&e++;return e}(x)),_),d,((C=g)&&"string"==typeof C&&(C=C.toUpperCase()),C in t.image_compression?C:t.image_compression.NONE),E)))throw new Error("An unknown error occurred whilst processing the image")}return function(t,e,n,i,r,o,a,s){var l=function(t,e,n){return t||e||(e=t=-96),t<0&&(t=-1*n.w*72/t/this.internal.scaleFactor),e<0&&(e=-1*n.h*72/e/this.internal.scaleFactor),0===t&&(t=e*n.w/n.h),0===e&&(e=t*n.h/n.w),[t,e]}.call(this,n,i,r),A=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;if(n=l[0],i=l[1],a[o]=r,s){s*=Math.PI/180;var c=Math.cos(s),p=Math.sin(s),h=function(t){return t.toFixed(4)},f=[h(c),h(p),h(-1*p),h(c),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,A(t),u(e+i),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([A(n),"0","0",A(i),"0","0","cm"].join(" "))):this.internal.write([A(n),"0","0",A(i),A(t),u(e+i),"cm"].join(" ")),this.internal.write("/I"+r.i+" Do"),this.internal.write("Q")}.call(this,o,p,h,f,B,B.i,N,m),this},t.convertStringToImageData=function(e){var n,i="";if(this.isString(e)){var r;n=null!==(r=this.extractImageFromDataUrl(e))?r.data:e;try{i=atob(n)}catch(e){throw t.validateStringAsBase64(n)?new Error("atob-Error in jsPDF.convertStringToImageData "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return i};var p=function(t,e){return t.subarray(e,e+5)};t.processJPEG=function(t,e,n,r,o,a){var s,l=this.decode.DCT_DECODE;if(!this.isString(t)&&!this.isArrayBuffer(t)&&!this.isArrayBufferView(t))return null;if(this.isString(t)&&(s=function(t){var e;if("JPEG"!==i(t))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*t.charCodeAt(4)+t.charCodeAt(5),r=4,o=t.length;r>",A.content=g;var p=A.objId+" 0 R";g="<>";else if(l.options.pageNumber)switch(g="<>",this.internal.write(g))}}this.internal.write("]")}}]),a.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},a.link=function(t,e,n,i,r){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:t,y:e,w:n,h:i,options:r,type:"link"})},a.textWithLink=function(t,e,n,i){var r=this.getTextWidth(t),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,n),n+=.2*o,this.link(e,n-o,r,o,i),r},a.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}, -/** - * @license - * Copyright (c) 2017 Aras Abbasi - * - * Licensed under the MIT License. - * http://opensource.org/licenses/mit-license - */ -function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},r=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},a=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length<=2},l=t.__arabicParser__.isArabicAlfLetter=function(t){return a(t)&&0<=r.indexOf(t.charCodeAt(0))},A=(t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return a(t)&&o(t)&&1<=e[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasFinalForm=function(t){return a(t)&&o(t)&&2<=e[t.charCodeAt(0)].length}),u=(t.__arabicParser__.arabicLetterHasInitialForm=function(t){return a(t)&&o(t)&&3<=e[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasMedialForm=function(t){return a(t)&&o(t)&&4==e[t.charCodeAt(0)].length}),c=t.__arabicParser__.resolveLigatures=function(t){var e=0,i=n,r=0,o="",a=0;for(e=0;e>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}))}return this}, -/** - * @license - * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv - * - * Licensed under the MIT License. - * http://opensource.org/licenses/mit-license - */ -s=ft.API,(l=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(t){n=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(t){i=t}});var r={};Object.defineProperty(this,"style",{get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(t,e){var n;if("2d"!==(t=t||"2d"))return null;for(n in e)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=e[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},l.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},s.events.push(["initialized",function(){this.canvas=new l,this.canvas.pdf=this}]), -/** - * @license - * ==================================================================== - * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com - * 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br - * 2013 Lee Driscoll, https://github.com/lsdriscoll - * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria - * 2014 James Hall, james@parall.ax - * 2014 Diego Casorran, https://github.com/diegocr - * - * - * ==================================================================== - */ -A=ft.API,c={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},p=1,h=function(t,e,n,i,r){c={x:t,y:e,w:n,h:i,ln:r}},f=function(){return c},d={left:0,top:0,bottom:0},A.setHeaderFunction=function(t){u=t},A.getTextDimensions=function(t,e){var n=this.table_font_size||this.internal.getFontSize(),i=(this.internal.getFont().fontStyle,(e=e||{}).scaleFactor||this.internal.scaleFactor),r=0,o=0,a=0;if("string"==typeof t)0!=(r=this.getStringUnitWidth(t)*n)&&(o=1);else{if("[object Array]"!==Object.prototype.toString.call(t))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s=this.internal.pageSize.getHeight()-A.bottom&&(this.cellAddPage(),l=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(o,!0)),e=f().y+f().h,l&&(e=23)}if(void 0!==r[0])if(this.printingHeaderRow?this.rect(t,e,n,i,"FD"):this.rect(t,e,n,i),"right"===a){r instanceof Array||(r=[r]);for(var u=0;u=2*Math.PI&&(i=0,r=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:n,startAngle:i,endAngle:r,counterclockwise:o})},A.prototype.arcTo=function(t,e,n,i,r){throw new Error("arcTo not implemented.")},A.prototype.rect=function(t,e,n,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(i))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+i),this.lineTo(t,e+i),this.lineTo(t,e),this.lineTo(t+n,e),this.lineTo(t,e)},A.prototype.fillRect=function(t,e,n,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(i))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!c.call(this)){var r={};"butt"!==this.lineCap&&(r.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(r.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,n,i),this.fill(),r.hasOwnProperty("lineCap")&&(this.lineCap=r.lineCap),r.hasOwnProperty("lineJoin")&&(this.lineJoin=r.lineJoin)}},A.prototype.strokeRect=function(t,e,n,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(i))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");p.call(this)||(this.beginPath(),this.rect(t,e,n,i),this.stroke())},A.prototype.clearRect=function(t,e,n,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(i))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,n,i))},A.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n"},y=function(t){var e,n,i,r,o,a=String,s="length",l="charCodeAt",A="slice",u="replace";for(t[A](-2),t=t[A](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),i=[],r=0,o=(t+=e="uuuuu"[A](t[s]%5||5))[s];r>24,255&n>>16,255&n>>8,255&n);return function(t,n){for(var i=e[s];0"},w=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var n="",i=0;i>8&255,n>>16&255,n>>24&255]),t.length+2),String.fromCharCode.apply(null,r)},g.processDataByFilters=function(t,e){var n=0,i=t||"",r=[];for("string"==typeof(e=e||[])&&(e=[e]),n=0;n>"),this.internal.out("endobj"),N=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+F+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==P&&void 0!==N&&this.internal.out("/Names <>")})),this}, -/** - * @license - * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv - * - * Licensed under the MIT License. - * http://opensource.org/licenses/mit-license - */(S=ft.API).events.push(["postPutResources",function(){var t=this,e=/^(\d+) 0 obj$/;if(0> endobj")}var c=t.internal.newObject();for(t.internal.write("<< /Names [ "),i=0;i>","endobj"),t.internal.newObject(),t.internal.write("<< /Dests "+c+" 0 R"),t.internal.write(">>","endobj")}}]),S.events.push(["putCatalog",function(){0> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var n=0;n>>24&255,p[c++]=s>>>16&255,p[c++]=s>>>8&255,p[c++]=255&s,L.arrayBufferToBinaryString(p)},O=function(t,e){var n=Math.LOG2E*Math.log(32768)-8<<4|8,i=n<<8;return i|=Math.min(3,(e-1&255)>>1)<<6,i|=0,[n,255&(i+=31-i%31)]},H=function(t,e){for(var n,i=1,r=0,o=t.length,a=0;0>>0},I=function(t,e,n,i){for(var r,o,a,s=t.length/e,l=new Uint8Array(t.length+s),A=z(),u=0;u>>1)&255;return o},j=function(t,e,n){var i,r,o,a,s=[],l=0,A=t.length;for(s[0]=4;l>>f&255,f+=o.bits;m[v]=b>>>f&255}if(16===o.bits){d=(_=new Uint32Array(o.decodePixels().buffer)).length,g=new Uint8Array(d*(32/o.pixelBitlength)*o.colors),m=new Uint8Array(d*(32/o.pixelBitlength));for(var b,B=1>>0&255,B&&(g[w++]=b>>>16&255,b=_[v++],g[w++]=b>>>0&255),m[E++]=b>>>16&255;h=8}i!==L.image_compression.NONE&&U()?(t=Q(g,o.width*o.colors,o.colors,i),u=Q(m,o.width,1,i)):(t=g,u=m,p=null)}if(3===o.colorType&&(c=this.color_spaces.INDEXED,A=o.palette,o.transparency.indexed)){var C=o.transparency.indexed,x=0;for(v=0,d=C.length;vi&&(r.push(t.slice(l,o)),s=0,l=o),s+=e[o],o++;return l!==o&&r.push(t.slice(l,o)),r},tt=function(t,e,n){n||(n={});var i,r,o,a,s,l,A=[],u=[A],c=n.textIndent||0,p=0,h=0,f=t.split(" "),d=J.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?f[0].length+2:n.lineIndent||0){var g=Array(l).join(" "),m=[];f.map((function(t){1<(t=t.split(/\s*\n/)).length?m=m.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):m.push(t[0])})),f=m,l=$.apply(this,[g,n])}for(o=0,a=f.length;o>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},lt=ft.API,ct=ut=At="",lt.addMetadata=function(t,e){return ut=e||"http://jspdf.default.namespaceuri/",At=t,this.internal.events.subscribe("postPutResources",(function(){if(At){var t='',e=unescape(encodeURIComponent('')),n=unescape(encodeURIComponent(t)),i=unescape(encodeURIComponent(At)),r=unescape(encodeURIComponent("")),o=unescape(encodeURIComponent("")),a=n.length+i.length+r.length+e.length+o.length;ct=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(e+n+i+r+o),this.internal.write("endstream"),this.internal.write("endobj")}else ct=""})),this.internal.events.subscribe("putCatalog",(function(){ct&&this.internal.write("/Metadata "+ct+" 0 R")})),this},function(t,e){var n=t.API,i=n.pdfEscape16=function(t,e){for(var n,i=e.metadata.Unicode.widths,r=["","0","00","000","0000"],o=[""],a=0,s=t.length;a<"+r+">");return i.length&&(o+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(e){!function(e,n,i,o){if(e.metadata instanceof t.API.TTFFont&&"Identity-H"===e.encoding){for(var a=e.metadata.Unicode.widths,s=e.metadata.subset.encode(e.metadata.glyIdsUsed,1),l="",A=0;A>"),n("endobj");var h=i();n("<<"),n("/Type /Font"),n("/BaseFont /"+e.fontName),n("/FontDescriptor "+p+" 0 R"),n("/W "+t.API.PDFObject.convert(a)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+e.encoding+")"),n(">>"),n(">>"),n("endobj"),e.objectNumber=i(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+c+" 0 R"),n("/BaseFont /"+e.fontName),n("/Encoding /"+e.encoding),n("/DescendantFonts ["+h+" 0 R]"),n(">>"),n("endobj"),e.isAlreadyPutted=!0}}(e.font,e.out,e.newObject,e.putStream)}]),n.events.push(["putFont",function(e){!function(e,n,i,o){if(e.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===e.encoding){e.metadata.Unicode.widths;for(var a=e.metadata.rawData,s="",l=0;l>"),n("endobj"),e.objectNumber=i(),l=0;l>"),n("endobj"),e.isAlreadyPutted=!0}}(e.font,e.out,e.newObject,e.putStream)}]);var o=function(t){var e,n,r=t.text||"",o=t.x,a=t.y,s=t.options||{},l=t.mutex||{},A=l.pdfEscape,u=l.activeFontKey,c=l.fonts,p=(l.activeFontSize,""),h=0,f="",d=c[n=u].encoding;if("Identity-H"!==c[n].encoding)return{text:r,x:o,y:a,options:s,mutex:l};for(f=r,n=u,"[object Array]"===Object.prototype.toString.call(r)&&(f=r[0]),h=0;hl-A.top-A.bottom&&i.pagesplit){var f=function(t,e,n,r,o){var a=document.createElement("canvas");a.height=o,a.width=r;var s=a.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=i.backgroundColor||"#ffffff",s.fillRect(0,0,r,o),s.drawImage(t,e,n,r,o,0,0,r,o),a},d=function(){for(var i,o,u=0,d=0,g={},m=!1;;){var y;if(d=0,g.top=0!==u?A.top:n,g.left=0!==u?A.left:e,m=(s-A.left-A.right)*a=t.width)break;this.addPage()}else v=[y=f(t,0,u,i,o),g.left,g.top,y.width/a,y.height/a,p,null,h],this.addImage.apply(this,v);if((u+=o)>=t.height)break;this.addPage()}r(c,u,null,v)}.bind(this);if("CANVAS"===t.nodeName){var g=new Image;g.onload=d,g.src=t.toDataURL("image/png"),t=g}else d()}else{var m=Math.random().toString(35),y=[t,e,n,c,u,p,m,h];this.addImage.apply(this,y),r(c,u,m,y)}}.bind(this),"undefined"!=typeof html2canvas&&!i.rstz)return html2canvas(t,i);if("undefined"==typeof rasterizeHTML)return null;var A="drawDocument";return"string"==typeof t&&(A=/^http/.test(t)?"drawURL":"drawHTML"),i.width=i.width||s*a,rasterizeHTML[A](t,void 0,i).then((function(t){i.onrendered(t.image)}),(function(t){r(null,t)}))}, -/** - * jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser - * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com - * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria - * 2014 Diego Casorran, https://github.com/diegocr - * 2014 Daniel Husar, https://github.com/danielhusar - * 2014 Wolfgang Gassler, https://github.com/woolfg - * 2014 Steven Spungin, https://github.com/flamenco - * - * @license - * - * ==================================================================== - */ -function(t){var e,n,i,o,a,s,l,A,u,c,p,h,f,d,g,m,y,v,w,b;e=function(){return function(e){return t.prototype=e,new t};function t(){}}(),c=function(t){var e,n,i,r,o,a,s;for(n=0,i=t.length,e=void 0,a=r=!1;!r&&n!==i;)(e=t[n]=t[n].trimLeft())&&(r=!0),n++;for(n=i-1;i&&!a&&-1!==n;)(e=t[n]=t[n].trimRight())&&(a=!0),n--;for(o=/\s+$/g,s=!0,n=0;n!==i;)"\u2028"!=t[n]&&(e=t[n].replace(/\s+/g," "),s&&(e=e.trimLeft()),e&&(s=o.test(e)),t[n]=e),n++;return t},h=function(t){var e,n,r;for(e=void 0,n=(r=t.split(",")).shift();!e&&n;)e=i[n.trim().toLowerCase()],n=r.shift();return e},f=function(t){var e;return-1<(t="auto"===t?"0px":t).indexOf("em")&&!isNaN(Number(t.replace("em","")))&&(t=18.719*Number(t.replace("em",""))+"px"),-1i.pdf.margins_doc.top&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top,i.executeWatchFunctions(a));var N=u(a),F=i.x,S=12/i.pdf.internal.scaleFactor,L=(N["margin-left"]+N["padding-left"])*S,U=(N["margin-right"]+N["padding-right"])*S,Q=(N["margin-top"]+N["padding-top"])*S,O=(N["margin-bottom"]+N["padding-bottom"])*S;void 0!==N.float&&"right"===N.float?F+=i.settings.width-a.width-U:F+=L,i.pdf.addImage(T,F,i.y+Q,a.width,a.height),T=void 0,"right"===N.float||"left"===N.float?(i.watchFunctions.push(function(t,e,n,r){return i.y>=e?(i.x+=t,i.settings.width+=n,!0):!!(r&&1===r.nodeType&&!B[r.nodeName]&&i.x+r.width>i.pdf.margins_doc.left+i.pdf.margins_doc.width)&&(i.x+=t,i.y=e,i.settings.width+=n,!0)}.bind(this,"left"===N.float?-a.width-L-U:0,i.y+a.height+Q+O,a.width)),i.watchFunctions.push(function(t,e,n){return!(i.y]*?>/gi,""),u="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(A=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",A.innerHTML=''),l="";if(o.importCss)if(o.styleHandler)l+=o.styleHandler();else{if(!window.__VUE_HOT_MAP__){var A=t("link").toArray().filter(t=>t.href.includes("css/app")&&"stylesheet"===t.rel);A.forEach(t=>{l+=t.outerHTML})}var u=t("style").toArray().filter(t=>t.innerHTML.includes(".hiprint"));u.forEach(t=>{l+=t.outerHTML})}s[0].srcdoc=''+l+"",s[0].onload=function(){var t=s[0].contentWindow||s[0].contentDocument;t.document&&(t=t.document),s.attr("srcdoc")||t.write(''+l+""),o.printContainer?t.body.innerHTML=a[0].outerHTML:t.body.innerHTML=a.html(),r(t,(function(){e(s[0],o)}))},s.appendTo("body")},t.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null}})(t)}).call(this,n("5176"))},ebbe:function(t,e,n){var i,r,o;!function(a){r=[n("5176")],i=a,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o)}((function(t){"use strict";function e(e,n){var i,r,o,a,s,A,u,c=t('
'),p=t.minicolors.defaults;if(!e.data("minicolors-initialized")){if(n=t.extend(!0,{},p,n),c.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity),void 0!==n.position&&t.each(n.position.split(" "),(function(){c.addClass("minicolors-position-"+this)})),r="rgb"===n.format?n.opacity?"25":"20":n.keywords?"11":"7",e.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",r).wrap(c).after('
'),n.inline||(e.after(''),e.next(".minicolors-input-swatch").on("click",(function(t){t.preventDefault(),e.focus()}))),A=e.parent().find(".minicolors-panel"),A.on("selectstart",(function(){return!1})).end(),n.swatches&&0!==n.swatches.length)for(A.addClass("minicolors-with-swatches"),o=t('
    ').appendTo(A),u=0;u').appendTo(o).data("swatch-color",s).find(".minicolors-swatch-color").css({backgroundColor:b(a),opacity:a.a}),n.swatches[u]=a;n.inline&&e.parent().addClass("minicolors-inline"),l(e,!1),e.data("minicolors-initialized",!0)}}function n(t){var e=t.parent();t.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),e.before(t).remove()}function i(t){var e=t.parent(),n=e.find(".minicolors-panel"),i=t.data("minicolors-settings");!t.data("minicolors-initialized")||t.prop("disabled")||e.hasClass("minicolors-inline")||e.hasClass("minicolors-focus")||(r(),e.addClass("minicolors-focus"),n.animate?n.stop(!0,!0).fadeIn(i.showSpeed,(function(){i.show&&i.show.call(t.get(0))})):(n.show(),i.show&&i.show.call(t.get(0))))}function r(){t(".minicolors-focus").each((function(){var e=t(this),n=e.find(".minicolors-input"),i=e.find(".minicolors-panel"),r=n.data("minicolors-settings");i.animate?i.fadeOut(r.hideSpeed,(function(){r.hide&&r.hide.call(n.get(0)),e.removeClass("minicolors-focus")})):(i.hide(),r.hide&&r.hide.call(n.get(0)),e.removeClass("minicolors-focus"))}))}function o(t,e,n){var i,r,o,s,l,A=t.parents(".minicolors").find(".minicolors-input"),u=A.data("minicolors-settings"),c=t.find("[class$=-picker]"),p=t.offset().left,h=t.offset().top,f=Math.round(e.pageX-p),d=Math.round(e.pageY-h),g=n?u.animationSpeed:0;e.originalEvent.changedTouches&&(f=e.originalEvent.changedTouches[0].pageX-p,d=e.originalEvent.changedTouches[0].pageY-h),f<0&&(f=0),d<0&&(d=0),f>t.width()&&(f=t.width()),d>t.height()&&(d=t.height()),t.parent().is(".minicolors-slider-wheel")&&c.parent().is(".minicolors-grid")&&(i=75-f,r=75-d,o=Math.sqrt(i*i+r*r),s=Math.atan2(r,i),s<0&&(s+=2*Math.PI),o>75&&(o=75,f=75-75*Math.cos(s),d=75-75*Math.sin(s)),f=Math.round(f),d=Math.round(d)),l={top:d+"px"},t.is(".minicolors-grid")&&(l.left=f+"px"),c.animate?c.stop(!0).animate(l,g,u.animationEasing,(function(){a(A,t)})):(c.css(l),a(A,t))}function a(t,e){function n(t,e){var n,i;return t.length&&e?(n=t.offset().left,i=t.offset().top,{x:n-e.offset().left+t.outerWidth()/2,y:i-e.offset().top+t.outerHeight()/2}):null}var i,r,o,a,l,u,c,p=t.val(),h=t.attr("data-opacity"),f=t.parent(),d=t.data("minicolors-settings"),m=f.find(".minicolors-input-swatch"),y=f.find(".minicolors-grid"),v=f.find(".minicolors-slider"),w=f.find(".minicolors-opacity-slider"),b=y.find("[class$=-picker]"),E=v.find("[class$=-picker]"),C=w.find("[class$=-picker]"),x=n(b,y),_=n(E,v),T=n(C,w);if(e.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(d.control){case"wheel":a=y.width()/2-x.x,l=y.height()/2-x.y,u=Math.sqrt(a*a+l*l),c=Math.atan2(l,a),c<0&&(c+=2*Math.PI),u>75&&(u=75,x.x=69-75*Math.cos(c),x.y=69-75*Math.sin(c)),r=g(u/.75,0,100),i=g(180*c/Math.PI,0,360),o=g(100-Math.floor(_.y*(100/v.height())),0,100),p=B({h:i,s:r,b:o}),v.css("backgroundColor",B({h:i,s:r,b:100}));break;case"saturation":i=g(parseInt(x.x*(360/y.width()),10),0,360),r=g(100-Math.floor(_.y*(100/v.height())),0,100),o=g(100-Math.floor(x.y*(100/y.height())),0,100),p=B({h:i,s:r,b:o}),v.css("backgroundColor",B({h:i,s:100,b:o})),f.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":i=g(parseInt(x.x*(360/y.width()),10),0,360),r=g(100-Math.floor(x.y*(100/y.height())),0,100),o=g(100-Math.floor(_.y*(100/v.height())),0,100),p=B({h:i,s:r,b:o}),v.css("backgroundColor",B({h:i,s:r,b:100})),f.find(".minicolors-grid-inner").css("opacity",1-o/100);break;default:i=g(360-parseInt(_.y*(360/v.height()),10),0,360),r=g(Math.floor(x.x*(100/y.width())),0,100),o=g(100-Math.floor(x.y*(100/y.height())),0,100),p=B({h:i,s:r,b:o}),y.css("backgroundColor",B({h:i,s:100,b:100}))}h=d.opacity?parseFloat(1-T.y/w.height()).toFixed(2):1,s(t,p,h)}else m.find("span").css({backgroundColor:p,opacity:h}),A(t,p,h)}function s(t,e,n){var i,r=t.parent(),o=t.data("minicolors-settings"),a=r.find(".minicolors-input-swatch");o.opacity&&t.attr("data-opacity",n),"rgb"===o.format?(i=m(e)?f(e,!0):x(h(e,!0)),n=""===t.attr("data-opacity")?1:g(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),!isNaN(n)&&o.opacity||(n=1),e=t.minicolors("rgbObject").a<=1&&i&&o.opacity?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(n)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"):(m(e)&&(e=w(e)),e=p(e,o.letterCase)),t.val(e),a.find("span").css({backgroundColor:e,opacity:n}),A(t,e,n)}function l(e,n){var i,r,o,a,s,l,u,c,v,b,C=e.parent(),x=e.data("minicolors-settings"),_=C.find(".minicolors-input-swatch"),T=C.find(".minicolors-grid"),P=C.find(".minicolors-slider"),N=C.find(".minicolors-opacity-slider"),F=T.find("[class$=-picker]"),S=P.find("[class$=-picker]"),L=N.find("[class$=-picker]");switch(m(e.val())?(i=w(e.val()),s=g(parseFloat(y(e.val())).toFixed(2),0,1),s&&e.attr("data-opacity",s)):i=p(h(e.val(),!0),x.letterCase),i||(i=p(d(x.defaultValue,!0),x.letterCase)),r=E(i),a=x.keywords?t.map(x.keywords.split(","),(function(e){return t.trim(e.toLowerCase())})):[],l=""!==e.val()&&t.inArray(e.val().toLowerCase(),a)>-1?p(e.val()):m(e.val())?f(e.val()):i,n||e.val(l),x.opacity&&(o=""===e.attr("data-opacity")?1:g(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(o)&&(o=1),e.attr("data-opacity",o),_.find("span").css("opacity",o),c=g(N.height()-N.height()*o,0,N.height()),L.css("top",c+"px")),"transparent"===e.val().toLowerCase()&&_.find("span").css("opacity",0),_.find("span").css("backgroundColor",i),x.control){case"wheel":v=g(Math.ceil(.75*r.s),0,T.height()/2),b=r.h*Math.PI/180,u=g(75-Math.cos(b)*v,0,T.width()),c=g(75-Math.sin(b)*v,0,T.height()),F.css({top:c+"px",left:u+"px"}),c=150-r.b/(100/T.height()),""===i&&(c=0),S.css("top",c+"px"),P.css("backgroundColor",B({h:r.h,s:r.s,b:100}));break;case"saturation":u=g(5*r.h/12,0,150),c=g(T.height()-Math.ceil(r.b/(100/T.height())),0,T.height()),F.css({top:c+"px",left:u+"px"}),c=g(P.height()-r.s*(P.height()/100),0,P.height()),S.css("top",c+"px"),P.css("backgroundColor",B({h:r.h,s:100,b:r.b})),C.find(".minicolors-grid-inner").css("opacity",r.s/100);break;case"brightness":u=g(5*r.h/12,0,150),c=g(T.height()-Math.ceil(r.s/(100/T.height())),0,T.height()),F.css({top:c+"px",left:u+"px"}),c=g(P.height()-r.b*(P.height()/100),0,P.height()),S.css("top",c+"px"),P.css("backgroundColor",B({h:r.h,s:r.s,b:100})),C.find(".minicolors-grid-inner").css("opacity",1-r.b/100);break;default:u=g(Math.ceil(r.s/(100/T.width())),0,T.width()),c=g(T.height()-Math.ceil(r.b/(100/T.height())),0,T.height()),F.css({top:c+"px",left:u+"px"}),c=g(P.height()-r.h/(360/P.height()),0,P.height()),S.css("top",c+"px"),T.css("backgroundColor",B({h:r.h,s:100,b:100}))}e.data("minicolors-initialized")&&A(e,l,o)}function A(t,e,n){var i,r,o,a=t.data("minicolors-settings"),s=t.data("minicolors-lastChange");if(!s||s.value!==e||s.opacity!==n){if(t.data("minicolors-lastChange",{value:e,opacity:n}),a.swatches&&0!==a.swatches.length){for(i=m(e)?f(e,!0):x(e),r=-1,o=0;on&&(t=n),t}function m(t){var e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!e||4!==e.length)}function y(t){return t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i),t&&6===t.length?t[4]:"1"}function v(t){var e={},n=Math.round(t.h),i=Math.round(255*t.s/100),r=Math.round(255*t.b/100);if(0===i)e.r=e.g=e.b=r;else{var o=r,a=(255-i)*r/255,s=n%60*(o-a)/60;360===n&&(n=0),n<60?(e.r=o,e.b=a,e.g=a+s):n<120?(e.g=o,e.b=a,e.r=o-s):n<180?(e.g=o,e.r=a,e.b=a+s):n<240?(e.b=o,e.r=a,e.g=o-s):n<300?(e.b=o,e.g=a,e.r=a+s):n<360?(e.r=o,e.g=a,e.b=o-s):(e.r=0,e.g=0,e.b=0)}return{r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b)}}function w(t){return t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i),t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):""}function b(e){var n=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];return t.each(n,(function(t,e){1===e.length&&(n[t]="0"+e)})),"#"+n.join("")}function B(t){return b(v(t))}function E(t){var e=C(x(t));return 0===e.s&&(e.h=360),e}function C(t){var e={h:0,s:0,b:0},n=Math.min(t.r,t.g,t.b),i=Math.max(t.r,t.g,t.b),r=i-n;return e.b=i,e.s=0!==i?255*r/i:0,0!==e.s?t.r===i?e.h=(t.g-t.b)/r:t.g===i?e.h=2+(t.b-t.r)/r:e.h=4+(t.r-t.g)/r:e.h=-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e}function x(t){return t=parseInt(t.indexOf("#")>-1?t.substring(1):t,16),{r:t>>16,g:(65280&t)>>8,b:255&t}}t.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom",show:null,showSpeed:100,theme:"default",swatches:[]}},t.extend(t.fn,{minicolors:function(o,a){switch(o){case"destroy":return t(this).each((function(){n(t(this))})),t(this);case"hide":return r(),t(this);case"opacity":return void 0===a?t(this).attr("data-opacity"):(t(this).each((function(){l(t(this).attr("data-opacity",a))})),t(this));case"rgbObject":return u(t(this),"rgbaObject"===o);case"rgbString":case"rgbaString":return c(t(this),"rgbaString"===o);case"settings":return void 0===a?t(this).data("minicolors-settings"):(t(this).each((function(){var e=t(this).data("minicolors-settings")||{};n(t(this)),t(this).minicolors(t.extend(!0,e,a))})),t(this));case"show":return i(t(this).eq(0)),t(this);case"value":return void 0===a?t(this).val():(t(this).each((function(){"object"==typeof a&&null!==a?(void 0!==a.opacity&&t(this).attr("data-opacity",g(a.opacity,0,1)),a.color&&t(this).val(a.color)):t(this).val(a),l(t(this))})),t(this));default:return"create"!==o&&(a=o),t(this).each((function(){e(t(this),a)})),t(this)}}}),t([document]).on("mousedown.minicolors touchstart.minicolors",(function(e){t(e.target).parents().add(e.target).hasClass("minicolors")||r()})).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",(function(e){var n=t(this);e.preventDefault(),t(e.delegateTarget).data("minicolors-target",n),o(n,e,!0)})).on("mousemove.minicolors touchmove.minicolors",(function(e){var n=t(e.delegateTarget).data("minicolors-target");n&&o(n,e)})).on("mouseup.minicolors touchend.minicolors",(function(){t(this).removeData("minicolors-target")})).on("click.minicolors",".minicolors-swatches li",(function(e){e.preventDefault();var n=t(this),i=n.parents(".minicolors").find(".minicolors-input"),r=n.data("swatch-color");s(i,r,y(r)),l(i)})).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",(function(e){var n=t(this).parent().find(".minicolors-input");e.preventDefault(),i(n)})).on("focus.minicolors",".minicolors-input",(function(){var e=t(this);e.data("minicolors-initialized")&&i(e)})).on("blur.minicolors",".minicolors-input",(function(){var e,n,i,r,o,a=t(this),s=a.data("minicolors-settings");a.data("minicolors-initialized")&&(e=s.keywords?t.map(s.keywords.split(","),(function(e){return t.trim(e.toLowerCase())})):[],""!==a.val()&&t.inArray(a.val().toLowerCase(),e)>-1?o=a.val():(m(a.val())?i=f(a.val(),!0):(n=h(a.val(),!0),i=n?x(n):null),o=null===i?s.defaultValue:"rgb"===s.format?f(s.opacity?"rgba("+i.r+","+i.g+","+i.b+","+a.attr("data-opacity")+")":"rgb("+i.r+","+i.g+","+i.b+")"):b(i)),r=s.opacity?a.attr("data-opacity"):1,"transparent"===o.toLowerCase()&&(r=0),a.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",r),a.val(o),""===a.val()&&a.val(d(s.defaultValue,!0)),a.val(p(a.val(),s.letterCase)))})).on("keydown.minicolors",".minicolors-input",(function(e){var n=t(this);if(n.data("minicolors-initialized"))switch(e.which){case 9:r();break;case 13:case 27:r(),n.blur()}})).on("keyup.minicolors",".minicolors-input",(function(){var e=t(this);e.data("minicolors-initialized")&&l(e,!0)})).on("paste.minicolors",".minicolors-input",(function(){var e=t(this);e.data("minicolors-initialized")&&setTimeout((function(){l(e,!0)}),1)}))}))},edca:function(t,e,n){"use strict";n("314a")},f37c:function(t,e,n){"use strict";n("c3a9")},f407:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAIIAQMAAAB99EudAAAABlBMVEUmf8vG2O41LStnAAABD0lEQVR42u3XQQqCQBSAYcWFS4/QUTpaHa2jdISWLUJjjMpclJoPGvq+1WsYfiJCZ4oCAAAAAAAAAAAAAAAAAHin6pL9c6H/fOzHbRrP0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0u/SY9LS0tLS0tLS0tLS0n+edm+UlpaWlpaWlpaWlpaW/tl0Ndyzbno7/+tPTJdd1wal69dNa6abx+Lq6TSeYtK7BX/Diek0XULSZZrakPRtV0i6Hu/KIt30q4fM0pvBqvR9mvsQkZaW9gyJT+f5lsnzjR54xAk8mAUeJyMPwYFH98ALx5Jr0kRLLndT7b64UX9QR/0eAAAAAAAAAAAAAAAAAAD/4gpryzr/bja4QgAAAABJRU5ErkJggg=="},f45d:function(t,e,n){},f573:function(t,e,n){(function(e){ -/*! - * Socket.IO v3.1.3 - * (c) 2014-2021 Guillermo Rauch - * Released under the MIT License. - */ -!function(e,n){t.exports=n()}(self,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=17)}([function(t,e,n){function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},i.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks["$"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r=0;r0;case p.ACK:case p.BINARY_ACK:return Array.isArray(e)}}}]),n}(h);e.Decoder=m;var y=function(){function t(e){A(this,t),this.packet=e,this.buffers=[],this.reconPack=e}return c(t,[{key:"takeBinaryData",value:function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=f.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),t}()},function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,i=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e=t,r=t.indexOf("["),o=t.indexOf("]");-1!=r&&-1!=o&&(t=t.substring(0,r)+t.substring(r,o).replace(/:/g,";")+t.substring(o,t.length));for(var a,s,l=n.exec(t||""),A={},u=14;u--;)A[i[u]]=l[u]||"";return-1!=r&&-1!=o&&(A.source=e,A.host=A.host.substring(1,A.host.length-1).replace(/;/g,":"),A.authority=A.authority.replace("[","").replace("]","").replace(/;/g,":"),A.ipv6uri=!0),A.pathNames=function(t,e){var n=e.replace(/\/{2,9}/g,"/").split("/");return"/"!=e.substr(0,1)&&0!==e.length||n.splice(0,1),"/"==e.substr(e.length-1,1)&&n.splice(n.length-1,1),n}(0,A.path),A.queryKey=(a=A.query,s={},a.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(t,e,n){e&&(s[e]=n)})),s),A}},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n=this._reconnectionAttempts)this.backoff.reset(),o(A(g.prototype),"emit",this).call(this,"reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var i=setTimeout((function(){e.skipReconnect||(o(A(g.prototype),"emit",t).call(t,"reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((function(n){n?(e._reconnecting=!1,e.reconnect(),o(A(g.prototype),"emit",t).call(t,"reconnect_error",n)):e.onreconnect()})))}),n);this.subs.push((function(){clearTimeout(i)}))}}},{key:"onreconnect",value:function(){var t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),o(A(g.prototype),"emit",this).call(this,"reconnect",t)}}])&&r(e.prototype,n),l&&r(e,l),g}(p);e.Manager=g},function(t,e,n){var i=n(9),r=n(22),o=n(26),a=n(27);e.polling=function(t){var e=!1,n=!1,a=!1!==t.jsonp;if("undefined"!=typeof location){var s="https:"===location.protocol,l=location.port;l||(l=s?443:80),e=t.hostname!==location.hostname||l!==t.port,n=t.secure!==s}if(t.xdomain=e,t.xscheme=n,"open"in new i(t)&&!t.forceJSONP)return new r(t);if(!a)throw new Error("JSONP disabled");return new o(t)},e.websocket=a},function(t,e,n){var i=n(21),r=n(2);t.exports=function(t){var e=t.xdomain,n=t.xscheme,o=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!e||i))return new XMLHttpRequest}catch(t){}try{if("undefined"!=typeof XDomainRequest&&!n&&o)return new XDomainRequest}catch(t){}if(!e)try{return new(r[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(t){}}},function(t,e,n){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n0);return e}function A(){var t=l(+new Date);return t!==i?(a=0,i=t):t+"."+l(a++)}for(;s<64;s++)o[r[s]]=s;A.encode=l,A.decode=function(t){var e=0;for(s=0;s1?e-1:0),i=1;i=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=t;n=n||"undefined"!=typeof location&&location,null==t&&(t=n.protocol+"//"+n.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?n.protocol+t:n.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==n?n.protocol+"//"+t:"https://"+t),r=i(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var o=-1!==r.host.indexOf(":"),a=o?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port+e,r.href=r.protocol+"://"+a+(n&&n.port===r.port?"":":"+r.port),r}},function(t,e,n){var i=n(20);t.exports=function(t,e){return new i(t,e)},t.exports.Socket=i,t.exports.protocol=i.protocol,t.exports.Transport=n(3),t.exports.transports=n(8),t.exports.parser=n(1)},function(t,e,n){function i(){return(i=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return o(this,p),e=u.call(this),t&&"object"===r(t)&&(n=t,t=null),t?(t=f(t),n.hostname=t.host,n.secure="https"===t.protocol||"wss"===t.protocol,n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=f(n.host).host),e.secure=null!=n.secure?n.secure:"undefined"!=typeof location&&"https:"===location.protocol,n.hostname&&!n.port&&(n.port=e.secure?"443":"80"),e.hostname=n.hostname||("undefined"!=typeof location?location.hostname:"localhost"),e.port=n.port||("undefined"!=typeof location&&location.port?location.port:e.secure?443:80),e.transports=n.transports||["polling","websocket"],e.readyState="",e.writeBuffer=[],e.prevBufferLen=0,e.opts=i({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,jsonp:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{}},n),e.opts.path=e.opts.path.replace(/\/$/,"")+"/","string"==typeof e.opts.query&&(e.opts.query=d.decode(e.opts.query)),e.id=null,e.upgrades=null,e.pingInterval=null,e.pingTimeout=null,e.pingTimeoutTimer=null,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){e.transport&&(e.transport.removeAllListeners(),e.transport.close())}),!1),e.open(),e}return e=p,(n=[{key:"createTransport",value:function(t){var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.opts.query);e.EIO=h.protocol,e.transport=t,this.id&&(e.sid=this.id);var n=i({},this.opts.transportOptions[t],this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new c[t](n)}},{key:"open",value:function(){var t;if(this.opts.rememberUpgrade&&p.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)}},{key:"setTransport",value:function(t){var e=this;this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))}},{key:"probe",value:function(t){var e=this.createTransport(t,{probe:1}),n=!1,i=this;function r(){if(i.onlyBinaryUpgrades){var t=!this.supportsBinary&&i.transport.supportsBinary;n=n||t}n||(e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(t){if(!n)if("pong"===t.type&&"probe"===t.data){if(i.upgrading=!0,i.emit("upgrading",e),!e)return;p.priorWebsocketSuccess="websocket"===e.name,i.transport.pause((function(){n||"closed"!==i.readyState&&(u(),i.setTransport(e),e.send([{type:"upgrade"}]),i.emit("upgrade",e),e=null,i.upgrading=!1,i.flush())}))}else{var r=new Error("probe error");r.transport=e.name,i.emit("upgradeError",r)}})))}function o(){n||(n=!0,u(),e.close(),e=null)}function a(t){var n=new Error("probe error: "+t);n.transport=e.name,o(),i.emit("upgradeError",n)}function s(){a("transport closed")}function l(){a("socket closed")}function A(t){e&&t.name!==e.name&&o()}function u(){e.removeListener("open",r),e.removeListener("error",a),e.removeListener("close",s),i.removeListener("close",l),i.removeListener("upgrading",A)}p.priorWebsocketSuccess=!1,e.once("open",r),e.once("error",a),e.once("close",s),this.once("close",l),this.once("upgrading",A),e.open()}},{key:"onOpen",value:function(){if(this.readyState="open",p.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause)for(var t=0,e=this.upgrades.length;t0&&void 0!==arguments[0]?arguments[0]:{};return r(t,{xd:this.xd,xs:this.xs},this.opts),new b(this.uri(),t)}},{key:"doWrite",value:function(t,e){var n=this.request({method:"POST",data:t}),i=this;n.on("success",e),n.on("error",(function(t){i.onError("xhr post error",t)}))}},{key:"doPoll",value:function(){var t=this.request(),e=this;t.on("data",(function(t){e.onData(t)})),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}]),n}(f),b=function(t){l(n,t);var e=u(n);function n(t,i){var r;return o(this,n),(r=e.call(this)).opts=i,r.method=i.method||"GET",r.uri=t,r.async=!1!==i.async,r.data=void 0!==i.data?i.data:null,r.create(),r}return s(n,[{key:"create",value:function(){var t=g(this.opts,"agent","enablesXDR","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;var e=this.xhr=new h(t),i=this;try{e.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var r in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&e.setRequestHeader(r,this.opts.extraHeaders[r])}catch(t){}if("POST"===this.method)try{e.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{e.setRequestHeader("Accept","*/*")}catch(t){}"withCredentials"in e&&(e.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(e.timeout=this.opts.requestTimeout),this.hasXDR()?(e.onload=function(){i.onLoad()},e.onerror=function(){i.onError(e.responseText)}):e.onreadystatechange=function(){4===e.readyState&&(200===e.status||1223===e.status?i.onLoad():setTimeout((function(){i.onError("number"==typeof e.status?e.status:0)}),0))},e.send(this.data)}catch(t){return void setTimeout((function(){i.onError(t)}),0)}"undefined"!=typeof document&&(this.index=n.requestsCount++,n.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(t){this.emit("data",t),this.onSuccess()}},{key:"onError",value:function(t){this.emit("error",t),this.cleanup(!0)}},{key:"cleanup",value:function(t){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=y:this.xhr.onreadystatechange=y,t)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete n.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var t=this.xhr.responseText;null!==t&&this.onData(t)}},{key:"hasXDR",value:function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR}},{key:"abort",value:function(){this.cleanup()}}]),n}(d);function B(){for(var t in b.requests)b.requests.hasOwnProperty(t)&&b.requests[t].abort()}b.requestsCount=0,b.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",B):"function"==typeof addEventListener&&addEventListener("onpagehide"in m?"pagehide":"unload",B,!1)),t.exports=w,t.exports.Request=b},function(t,e,n){var i=n(11).PACKET_TYPES,r="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),o="function"==typeof ArrayBuffer,a=function(t,e){var n=new FileReader;return n.onload=function(){var t=n.result.split(",")[1];e("b"+t)},n.readAsDataURL(t)};t.exports=function(t,e,n){var s,l=t.type,A=t.data;return r&&A instanceof Blob?e?n(A):a(A,n):o&&(A instanceof ArrayBuffer||(s=A,"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(s):s&&s.buffer instanceof ArrayBuffer))?e?n(A instanceof ArrayBuffer?A:A.buffer):a(new Blob([A]),n):n(i[l]+(A||""))}},function(t,e,n){var i,r=n(11),o=r.PACKET_TYPES_REVERSE,a=r.ERROR_PACKET;"function"==typeof ArrayBuffer&&(i=n(25));var s=function(t,e){if(i){var n=i.decode(t);return l(n,e)}return{base64:!0,data:t}},l=function(t,e){switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}};t.exports=function(t,e){if("string"!=typeof t)return{type:"message",data:l(t,e)};var n=t.charAt(0);return"b"===n?{type:"message",data:s(t.substring(1),e)}:o[n]?t.length>1?{type:o[n],data:t.substring(1)}:{type:o[n]}:a}},function(t,e){!function(t){"use strict";e.encode=function(e){var n,i=new Uint8Array(e),r=i.length,o="";for(n=0;n>2],o+=t[(3&i[n])<<4|i[n+1]>>4],o+=t[(15&i[n+1])<<2|i[n+2]>>6],o+=t[63&i[n+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(e){var n,i,r,o,a,s=.75*e.length,l=e.length,A=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),c=new Uint8Array(u);for(n=0;n>4,c[A++]=(15&r)<<4|o>>2,c[A++]=(3&o)<<6|63&a;return u}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},function(t,e,n){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n';n=document.createElement(t)}catch(t){(n=document.createElement("iframe")).name=i.iframeId,n.src="javascript:0"}n.id=i.iframeId,i.form.appendChild(n),i.iframe=n}this.form.action=this.uri(),l(),t=t.replace(d,"\\\n"),this.area.value=t.replace(f,"\\n");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===i.iframe.readyState&&s()}:this.iframe.onload=s}},{key:"supportsBinary",get:function(){return!1}}])&&r(e.prototype,n),i&&r(e,i),p}(p);t.exports=g},function(t,n,i){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}}])}))}).call(this,n("b639").Buffer)},f801:function(t,e){window.QRCode,function(){function t(t){this.mode=n.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,i=this.data.length;e65536?(r[0]=240|(1835008&o)>>>18,r[1]=128|(258048&o)>>>12,r[2]=128|(4032&o)>>>6,r[3]=128|63&o):o>2048?(r[0]=224|(61440&o)>>>12,r[1]=128|(4032&o)>>>6,r[2]=128|63&o):o>128?(r[0]=192|(1984&o)>>>6,r[1]=128|63&o):r[0]=o,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+n][e+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=o.getLostPoint(this);(0==n||t>i)&&(t=i,e=n)}return e},createMovieClip:function(t,e,n){var i=t.createEmptyMovieClip(e,n),r=1;this.make();for(var o=0;o>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++){i=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,i=o.getBCHTypeInfo(n),r=0;r<15;r++){var a=!t&&1==(i>>r&1);r<6?this.modules[r][8]=a:r<8?this.modules[r+1][8]=a:this.modules[this.moduleCount-15+r][8]=a}for(r=0;r<15;r++){a=!t&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=a:r<9?this.modules[8][15-r-1+1]=a:this.modules[8][15-r-1]=a}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,i=this.moduleCount-1,r=7,a=0,s=this.moduleCount-1;s>0;s-=2){6==s&&s--;while(1){for(var l=0;l<2;l++)if(null==this.modules[i][s-l]){var A=!1;a>>r&1));var u=o.getMask(e,i,s-l);u&&(A=!A),this.modules[i][s-l]=A,r--,-1==r&&(a++,r=7)}if(i+=n,i<0||this.moduleCount<=i){i-=n,n=-n;break}}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,n,i){for(var r=A.getRSBlocks(t,n),a=new u,s=0;s8*c)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*c+")");a.getLengthInBits()+4<=8*c&&a.put(0,4);while(a.getLengthInBits()%8!=0)a.putBit(!1);while(1){if(a.getLengthInBits()>=8*c)break;if(a.put(e.PAD0,8),a.getLengthInBits()>=8*c)break;a.put(e.PAD1,8)}return e.createBytes(a,r)},e.createBytes=function(t,e){for(var n=0,i=0,r=0,a=new Array(e.length),s=new Array(e.length),A=0;A=0?d.get(g):0}}var m=0;for(p=0;p=0)e^=o.G15<=0)e^=o.G18<>>=1;return e},getPatternPosition:function(t){return o.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case r.PATTERN000:return(e+n)%2==0;case r.PATTERN001:return e%2==0;case r.PATTERN010:return n%3==0;case r.PATTERN011:return(e+n)%3==0;case r.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case r.PATTERN101:return e*n%2+e*n%3==0;case r.PATTERN110:return(e*n%2+e*n%3)%2==0;case r.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new l([1],0),n=0;n5&&(n+=3+o-5)}for(i=0;i=256)t-=255;return a.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},s=0;s<8;s++)a.EXP_TABLE[s]=1<>>7-t%8&1)},put:function(t,e){for(var n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var c=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function p(){return"undefined"!=typeof CanvasRenderingContext2D}function h(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var n=e.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(t=parseFloat(n[1]))}return t}var f=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){var e=this._htOption,n=this._el,i=t.getModuleCount();Math.floor(e.width/i),Math.floor(e.height/i);function r(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg",t);for(var i in e)e.hasOwnProperty(i)&&n.setAttribute(i,e[i]);return n}this.clear();var o=r("svg",{viewBox:"0 0 "+String(i)+" "+String(i),width:"100%",height:"100%",fill:e.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(o),o.appendChild(r("rect",{fill:e.colorLight,width:"100%",height:"100%"})),o.appendChild(r("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a=1;c--)arguments[c]=arguments[c]*e;else"undefined"==typeof A&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);n.apply(this,arguments)}}function i(t,e){var n=this;if(n._fFail=e,n._fSuccess=t,null===n._bSupportDataURI){var i=document.createElement("img"),r=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)},o=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)};return i.onabort=r,i.onerror=r,i.onload=o,void(i.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}var r=function(t,e){this._bIsPainted=!1,this._android=h(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return r.prototype.draw=function(t){var e=this._elImage,n=this._oContext,i=this._htOption,r=t.getModuleCount(),o=i.width/r,a=i.height/r,s=Math.round(o),l=Math.round(a);e.style.display="none",this.clear();for(var A=0;A'],s=0;s");for(var l=0;l');a.push("")}a.push(""),n.innerHTML=a.join("");var A=n.childNodes[0],u=(e.width-A.offsetWidth)/2,c=(e.height-A.offsetHeight)/2;u>0&&c>0&&(A.style.margin=c+"px "+u+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();function m(t,e){for(var n=1,r=y(t),o=0,a=c.length;o<=a;o++){var s=0;switch(e){case i.L:s=c[o][0];break;case i.M:s=c[o][1];break;case i.Q:s=c[o][2];break;case i.H:s=c[o][3];break}if(r<=s)break;n++}if(n>c.length)throw new Error("Too long data");return n}function y(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}QRCode=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:i.H},"string"===typeof e&&(e={text:e}),e)for(var n in e)this._htOption[n]=e[n];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(g=f),this._android=h(),this._el=t,this._oQRCode=null,this._oDrawing=new g(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},QRCode.prototype.makeCode=function(t){this._oQRCode=new e(m(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},QRCode.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},QRCode.prototype.clear=function(){this._oDrawing.clear()},QRCode.CorrectLevel=i}()},f893:function(t,e,n){}}); \ No newline at end of file diff --git a/demo/static/js/chunk-vendors.4552ee4a.js b/demo/static/js/chunk-vendors.4552ee4a.js deleted file mode 100644 index 84fe0eb473846a9154d14dcf47cd5aba27ff9ae3..0000000000000000000000000000000000000000 --- a/demo/static/js/chunk-vendors.4552ee4a.js +++ /dev/null @@ -1,303 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00fd":function(e,t,n){var i=n("9e69"),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i?i.toStringTag:void 0;function c(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(c){}var r=o.call(e);return i&&(t?e[s]=n:delete e[s]),r}e.exports=c},"010e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"02fb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"03d6":function(e,t,n){var i=n("9c0e"),r=n("6ca1"),a=n("39ad")(!1),o=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),c=0,l=[];for(n in s)n!=o&&i(s,n)&&l.push(n);while(t.length>c)i(s,n=t[c++])&&(~a(l,n)||l.push(n));return l}},"03dd":function(e,t,n){var i=n("eac5"),r=n("57a5"),a=Object.prototype,o=a.hasOwnProperty;function s(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=s},"03ec":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t}))},"0464":function(e,t,n){"use strict";var i=n("41b2"),r=n.n(i);function a(e,t){for(var n=r()({},e),i=0;iu){var f,p=c(arguments[u++]),m=d?r(p).concat(d(p)):r(p),v=m.length,g=0;while(v>g)f=m[g++],i&&!h.call(p,f)||(n[f]=p[f])}return n}:l},"079e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t}))},"07a9":function(e,t,n){var i=n("4aad"),r=n("6751"),a=n("4b17"),o=n("76dd");function s(e,t,n){e=o(e),t=a(t);var s=t?r(e):0;return t&&s1?arguments[1]:void 0,v=void 0!==m,g=0,y=u(h);if(v&&(m=i(m,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&s(y))for(t=c(h.length),n=new f(t);t>g;g++)l(n,g,v?m(h[g],g):h[g]);else for(d=y.call(h),n=new f;!(r=d.next()).done;g++)l(n,g,v?o(d,m,[r.value,g],!0):r.value);return n.length=g,n}})},"087d":function(e,t){function n(e,t){var n=-1,i=t.length,r=e.length;while(++nl)c.call(e,o=s[l++])&&t.push(o)}return t}},"0b07":function(e,t,n){var i=n("34ac"),r=n("3698");function a(e,t){var n=r(e,t);return i(n)?n:void 0}e.exports=a},"0b99":function(e,t,n){"use strict";var i=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0caa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},"0cdd":function(e,t){window.MutationObserver||(window.MutationObserver=function(e){function t(e){this.i=[],this.m=e}function n(e){(function n(){var i=e.takeRecords();i.length&&e.m(i,e),e.h=setTimeout(n,t._period)})()}function i(t){var n,i={type:null,target:null,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};for(n in t)i[n]!==e&&t[n]!==e&&(i[n]=t[n]);return i}function r(e,t){var n=l(e,t);return function(r){var a=r.length;if(t.a&&3===e.nodeType&&e.nodeValue!==n.a&&r.push(new i({type:"characterData",target:e,oldValue:n.a})),t.b&&n.b&&s(r,e,n.b,t.f),t.c||t.g)var o=c(r,e,n,t);(o||r.length!==a)&&(n=l(e,t))}}function a(e,t){return t.value}function o(e,t){return"style"!==t.name?t.value:e.style.cssText}function s(t,n,r,a){for(var o,s,c={},l=n.attributes,u=l.length;u--;)o=l[u],s=o.name,a&&a[s]===e||(m(n,o)!==r[s]&&t.push(i({type:"attributes",target:n,attributeName:s,oldValue:r[s],attributeNamespace:o.namespaceURI})),c[s]=!0);for(s in r)c[s]||t.push(i({target:n,type:"attributes",attributeName:s,oldValue:r[s]}))}function c(t,n,r,a){function o(e,n,r,o,l){var u,d,h,f=e.length-1;for(l=-~((f-l)/2);h=e.pop();)u=r[h.j],d=o[h.l],a.c&&l&&Math.abs(h.j-h.l)>=f&&(t.push(i({type:"childList",target:n,addedNodes:[u],removedNodes:[u],nextSibling:u.nextSibling,previousSibling:u.previousSibling})),l--),a.b&&d.b&&s(t,u,d.b,a.f),a.a&&3===u.nodeType&&u.nodeValue!==d.a&&t.push(i({type:"characterData",target:u,oldValue:d.a})),a.g&&c(u,d)}function c(n,r){for(var d,h,p,m,v,g=n.childNodes,y=r.c,b=g.length,_=y?y.length:0,M=0,w=0,k=0;w=100?100:null;return e+(t[i]||t[r]||t[a])}},week:{dow:1,doy:7}});return n}))},"0f0f":function(e,t,n){var i=n("8eeb"),r=n("9934");function a(e,t){return e&&i(t,r(t),e)}e.exports=a},"0f14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"0f32":function(e,t,n){var i=n("b047"),r=n("1a8c"),a="Expected a function";function o(e,t,n){var o=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return r(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),i(e,t,{leading:o,maxWait:t,trailing:s})}e.exports=o},"0f38":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"0f5c":function(e,t,n){var i=n("159a");function r(e,t,n){return null==e?e:i(e,t,n)}e.exports=r},"0ff2":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},"100e":function(e,t,n){var i=n("cd9d"),r=n("2286"),a=n("c1c9");function o(e,t){return a(r(e,t,i),e+"")}e.exports=o},1041:function(e,t,n){var i=n("8eeb"),r=n("a029");function a(e,t){return i(e,r(e),t)}e.exports=a},1098:function(e,t,n){"use strict";t.__esModule=!0;var i=n("17ed"),r=c(i),a=n("f893c"),o=c(a),s="function"===typeof o.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function c(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof o.default&&"symbol"===s(r.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"10e8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},"126d":function(e,t,n){var i=n("6da8"),r=n("aaec"),a=n("d094");function o(e){return r(e)?a(e):i(e)}e.exports=o},1290:function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},1310:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"134b":function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n("4039"),a=i(r),o=n("320c"),s=i(o),c=!0,l=!1,u=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function d(e){return null===e||void 0===e}var h=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){d(e.which)&&(e.which=d(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,i=void 0,r=void 0,a=t.wheelDelta,o=t.axis,s=t.wheelDeltaY,c=t.wheelDeltaX,l=t.detail;a&&(r=a/120),l&&(r=0-(l%3===0?l/3:l)),void 0!==o&&(o===e.HORIZONTAL_AXIS?(i=0,n=0-r):o===e.VERTICAL_AXIS&&(n=0,i=r)),void 0!==s&&(i=s/120),void 0!==c&&(n=-1*c/120),n||i||(i=r),void 0!==n&&(e.deltaX=n),void 0!==i&&(e.deltaY=i),void 0!==r&&(e.delta=r)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,i=void 0,r=void 0,a=e.target,o=t.button;return a&&d(e.pageX)&&!d(t.clientX)&&(n=a.ownerDocument||document,i=n.documentElement,r=n.body,e.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===a?e.toElement:e.fromElement),e}}];function f(){return c}function p(){return l}function m(e){var t=e.type,n="function"===typeof e.stopPropagation||"boolean"===typeof e.cancelBubble;a["default"].call(this),this.nativeEvent=e;var i=p;"defaultPrevented"in e?i=e.defaultPrevented?f:p:"getPreventDefault"in e?i=e.getPreventDefault()?f:p:"returnValue"in e&&(i=e.returnValue===l?f:p),this.isDefaultPrevented=i;var r=[],o=void 0,s=void 0,c=void 0,d=u.concat();h.forEach((function(e){t.match(e.reg)&&(d=d.concat(e.props),e.fix&&r.push(e.fix))})),s=d.length;while(s)c=d[--s],this[c]=e[c];!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),s=r.length;while(s)o=r[--s],o(this,e);this.timeStamp=e.timeStamp||Date.now()}var v=a["default"].prototype;(0,s["default"])(m.prototype,v,{constructor:m,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=l,v.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=c,v.stopPropagation.call(this)}}),t["default"]=m,e.exports=t["default"]},1368:function(e,t,n){var i=n("da03"),r=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function a(e){return!!r&&r in e}e.exports=a},"13e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},1552:function(e){e.exports=JSON.parse('{"name":"ant-design-vue","version":"1.7.8","title":"Ant Design Vue","description":"An enterprise-class UI design language and Vue-based implementation","keywords":["ant","design","antd","vue","vueComponent","component","components","ui","framework","frontend"],"main":"lib/index.js","module":"es/index.js","typings":"types/index.d.ts","files":["dist","lib","es","types","scripts"],"scripts":{"dev":"webpack-dev-server","start":"cross-env NODE_ENV=development webpack-dev-server --config webpack.config.js","test":"cross-env NODE_ENV=test jest --config .jest.js","compile":"node antd-tools/cli/run.js compile","pub":"node antd-tools/cli/run.js pub","pub-with-ci":"node antd-tools/cli/run.js pub-with-ci","prepublish":"node antd-tools/cli/run.js guard","pre-publish":"node ./scripts/prepub","prettier":"prettier -c --write \'**/*\'","pretty-quick":"pretty-quick","dist":"node antd-tools/cli/run.js dist","lint":"eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./components","lint:site":"eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./antdv-demo","lint:docs":"eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.md ./antdv-demo/docs/**/demo/**","lint:style":"stylelint \\"{site,components}/**/*.less\\" --syntax less","codecov":"codecov","postinstall":"node scripts/postinstall || echo \\"ignore\\""},"repository":{"type":"git","url":"git+https://github.com/vueComponent/ant-design-vue.git"},"license":"MIT","bugs":{"url":"https://github.com/vueComponent/ant-design-vue/issues"},"homepage":"https://www.antdv.com/","peerDependencies":{"vue":"^2.6.0","vue-template-compiler":"^2.6.0"},"devDependencies":{"@commitlint/cli":"^8.0.0","@commitlint/config-conventional":"^8.0.0","@octokit/rest":"^16.0.0","@vue/cli-plugin-eslint":"^4.0.0","@vue/server-test-utils":"1.0.0-beta.16","@vue/test-utils":"1.0.0-beta.16","acorn":"^7.0.0","autoprefixer":"^9.6.0","axios":"^0.19.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^10.0.1","babel-helper-vue-jsx-merge-props":"^2.0.3","babel-jest":"^23.6.0","babel-loader":"^7.1.2","babel-plugin-import":"^1.1.1","babel-plugin-inline-import-data-uri":"^1.0.1","babel-plugin-istanbul":"^6.0.0","babel-plugin-syntax-dynamic-import":"^6.18.0","babel-plugin-syntax-jsx":"^6.18.0","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es3-member-expression-literals":"^6.22.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-plugin-transform-object-assign":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"~6.23.0","babel-plugin-transform-vue-jsx":"^3.7.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.1","case-sensitive-paths-webpack-plugin":"^2.1.2","chalk":"^3.0.0","cheerio":"^1.0.0-rc.2","codecov":"^3.0.0","colorful":"^2.1.0","commander":"^4.0.0","compare-versions":"^3.3.0","cross-env":"^7.0.0","css-loader":"^3.0.0","deep-assign":"^2.0.0","enquire-js":"^0.2.1","eslint":"^6.8.0","eslint-config-prettier":"^6.10.1","eslint-plugin-html":"^6.0.0","eslint-plugin-markdown":"^2.0.0-alpha.0","eslint-plugin-vue":"^6.2.2","fetch-jsonp":"^1.1.3","fs-extra":"^8.0.0","glob":"^7.1.2","gulp":"^4.0.1","gulp-babel":"^7.0.0","gulp-strip-code":"^0.1.4","html-webpack-plugin":"^3.2.0","husky":"^4.0.0","istanbul-instrumenter-loader":"^3.0.0","jest":"^24.0.0","jest-serializer-vue":"^2.0.0","jest-transform-stub":"^2.0.0","js-base64":"^3.0.0","json-templater":"^1.2.0","jsonp":"^0.2.1","less":"^3.9.0","less-loader":"^6.0.0","less-plugin-npm-import":"^2.1.0","lint-staged":"^10.0.0","marked":"0.3.18","merge2":"^1.2.1","mini-css-extract-plugin":"^0.10.0","minimist":"^1.2.0","mkdirp":"^0.5.1","mockdate":"^2.0.2","nprogress":"^0.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","postcss":"^7.0.6","postcss-loader":"^3.0.0","prettier":"^1.18.2","pretty-quick":"^2.0.0","querystring":"^0.2.0","raw-loader":"^4.0.0","reqwest":"^2.0.5","rimraf":"^3.0.0","rucksack-css":"^1.0.2","selenium-server":"^3.0.1","semver":"^7.0.0","style-loader":"^1.0.0","stylelint":"^13.0.0","stylelint-config-prettier":"^8.0.0","stylelint-config-standard":"^19.0.0","terser-webpack-plugin":"^3.0.3","through2":"^3.0.0","url-loader":"^3.0.0","vue":"^2.6.11","vue-antd-md-loader":"^1.1.0","vue-clipboard2":"0.3.1","vue-draggable-resizable":"^2.1.0","vue-eslint-parser":"^7.0.0","vue-i18n":"^8.3.2","vue-infinite-scroll":"^2.0.2","vue-jest":"^2.5.0","vue-loader":"^15.6.2","vue-router":"^3.0.1","vue-server-renderer":"^2.6.11","vue-template-compiler":"^2.6.11","vue-virtual-scroller":"^1.0.0","vuex":"^3.1.0","webpack":"^4.28.4","webpack-cli":"^3.2.1","webpack-dev-server":"^3.1.14","webpack-merge":"^4.1.1","webpackbar":"^4.0.0","xhr-mock":"^2.5.1"},"dependencies":{"@ant-design/icons":"^2.1.1","@ant-design/icons-vue":"^2.0.0","@simonwep/pickr":"~1.7.0","add-dom-event-listener":"^1.0.2","array-tree-filter":"^2.1.0","async-validator":"^3.0.3","babel-helper-vue-jsx-merge-props":"^2.0.3","babel-runtime":"6.x","classnames":"^2.2.5","component-classes":"^1.2.6","dom-align":"^1.10.4","dom-closest":"^0.2.0","dom-scroll-into-view":"^2.0.0","enquire.js":"^2.1.6","intersperse":"^1.0.0","is-mobile":"^2.2.1","is-negative-zero":"^2.0.0","ismobilejs":"^1.0.0","json2mq":"^0.2.0","lodash":"^4.17.5","moment":"^2.21.0","mutationobserver-shim":"^0.3.2","node-emoji":"^1.10.0","omit.js":"^1.0.0","raf":"^3.4.0","resize-observer-polyfill":"^1.5.1","shallow-equal":"^1.0.0","shallowequal":"^1.0.2","vue-ref":"^2.0.0","warning":"^4.0.0"},"sideEffects":["site/*","components/style.js","components/**/style/*","*.vue","*.md","dist/*","es/**/style/*","lib/**/style/*","*.less"]}')},"159a":function(e,t,n){var i=n("32b3"),r=n("e2e4"),a=n("c098"),o=n("1a8c"),s=n("f4d6");function c(e,t,n,c){if(!o(e))return e;t=r(t,e);var l=-1,u=t.length,d=u-1,h=e;while(null!=h&&++l=l?e?"":void 0:(a=s.charCodeAt(c),a<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):a:e?s.slice(c,c+2):o-56320+(a-55296<<10)+65536)}}},"1a14":function(e,t,n){var i=n("77e9"),r=n("faf5"),a=n("3397"),o=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return o(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){var i=n("42a2"),r=n("1310"),a="[object Map]";function o(e){return r(e)&&i(e)==a}e.exports=o},"1a8c":function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},"1b2b":function(e,t){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,a,o){var s=n(t),c=i[e][n(t)];return 2===s&&(c=c[r?0:1]),c.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return o}))},"1d31":function(e,t,n){"use strict";n.r(t),n.d(t,"Tree",(function(){return _})),n.d(t,"TreeNode",(function(){return w["a"]}));var i=n("6042"),r=n.n(i),a=n("9b57"),o=n.n(a),s=n("41b2"),c=n.n(s),l=n("4d91"),u=n("4d26"),d=n.n(u),h=n("d96e"),f=n.n(h),p=n("daa3"),m=n("7b05"),v=n("b488"),g=n("58c1"),y=n("c9a4");function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={};return e.forEach((function(e){t[e]=function(){this.needSyncKeys[e]=!0}})),t}var _={name:"Tree",mixins:[v["a"]],props:Object(p["t"])({prefixCls:l["a"].string,tabIndex:l["a"].oneOfType([l["a"].string,l["a"].number]),children:l["a"].any,treeData:l["a"].array,showLine:l["a"].bool,showIcon:l["a"].bool,icon:l["a"].oneOfType([l["a"].object,l["a"].func]),focusable:l["a"].bool,selectable:l["a"].bool,disabled:l["a"].bool,multiple:l["a"].bool,checkable:l["a"].oneOfType([l["a"].object,l["a"].bool]),checkStrictly:l["a"].bool,draggable:l["a"].bool,defaultExpandParent:l["a"].bool,autoExpandParent:l["a"].bool,defaultExpandAll:l["a"].bool,defaultExpandedKeys:l["a"].array,expandedKeys:l["a"].array,defaultCheckedKeys:l["a"].array,checkedKeys:l["a"].oneOfType([l["a"].array,l["a"].object]),defaultSelectedKeys:l["a"].array,selectedKeys:l["a"].array,loadData:l["a"].func,loadedKeys:l["a"].array,filterTreeNode:l["a"].func,openTransitionName:l["a"].string,openAnimation:l["a"].oneOfType([l["a"].string,l["a"].object]),switcherIcon:l["a"].any,_propsSymbol:l["a"].any},{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]}),data:function(){f()(this.$props.__propsSymbol__,"must pass __propsSymbol__"),f()(this.$props.children,"please use children prop replace slots.default"),this.needSyncKeys={},this.domTreeNodes={};var e={_posEntities:new Map,_keyEntities:new Map,_expandedKeys:[],_selectedKeys:[],_checkedKeys:[],_halfCheckedKeys:[],_loadedKeys:[],_loadingKeys:[],_treeNode:[],_prevProps:null,_dragOverNodeKey:"",_dropPosition:null,_dragNodesKeys:[]};return c()({},e,this.getDerivedState(Object(p["l"])(this),e))},provide:function(){return{vcTree:this}},watch:c()({},b(["treeData","children","expandedKeys","autoExpandParent","selectedKeys","checkedKeys","loadedKeys"]),{__propsSymbol__:function(){this.setState(this.getDerivedState(Object(p["l"])(this),this.$data)),this.needSyncKeys={}}}),methods:{getDerivedState:function(e,t){var n=t._prevProps,i={_prevProps:c()({},e)},r=this;function a(t){return!n&&t in e||n&&r.needSyncKeys[t]}var s=null;if(a("treeData")?s=Object(y["g"])(this.$createElement,e.treeData):a("children")&&(s=e.children),s){i._treeNode=s;var l=Object(y["h"])(s);i._keyEntities=l.keyEntities}var u=i._keyEntities||t._keyEntities;if(a("expandedKeys")||n&&a("autoExpandParent")?i._expandedKeys=e.autoExpandParent||!n&&e.defaultExpandParent?Object(y["f"])(e.expandedKeys,u):e.expandedKeys:!n&&e.defaultExpandAll?i._expandedKeys=[].concat(o()(u.keys())):!n&&e.defaultExpandedKeys&&(i._expandedKeys=e.autoExpandParent||e.defaultExpandParent?Object(y["f"])(e.defaultExpandedKeys,u):e.defaultExpandedKeys),e.selectable&&(a("selectedKeys")?i._selectedKeys=Object(y["d"])(e.selectedKeys,e):!n&&e.defaultSelectedKeys&&(i._selectedKeys=Object(y["d"])(e.defaultSelectedKeys,e))),e.checkable){var d=void 0;if(a("checkedKeys")?d=Object(y["m"])(e.checkedKeys)||{}:!n&&e.defaultCheckedKeys?d=Object(y["m"])(e.defaultCheckedKeys)||{}:s&&(d=Object(y["m"])(e.checkedKeys)||{checkedKeys:t._checkedKeys,halfCheckedKeys:t._halfCheckedKeys}),d){var h=d,f=h.checkedKeys,p=void 0===f?[]:f,m=h.halfCheckedKeys,v=void 0===m?[]:m;if(!e.checkStrictly){var g=Object(y["e"])(p,!0,u);p=g.checkedKeys,v=g.halfCheckedKeys}i._checkedKeys=p,i._halfCheckedKeys=v}}return a("loadedKeys")&&(i._loadedKeys=e.loadedKeys),i},onNodeDragStart:function(e,t){var n=this.$data._expandedKeys,i=t.eventKey,r=Object(p["p"])(t)["default"];this.dragNode=t,this.setState({_dragNodesKeys:Object(y["i"])("function"===typeof r?r():r,t),_expandedKeys:Object(y["b"])(n,i)}),this.__emit("dragstart",{event:e,node:t})},onNodeDragEnter:function(e,t){var n=this,i=this.$data._expandedKeys,r=t.pos,a=t.eventKey;if(this.dragNode&&t.$refs.selectHandle){var o=Object(y["c"])(e,t);this.dragNode.eventKey!==a||0!==o?setTimeout((function(){n.setState({_dragOverNodeKey:a,_dropPosition:o}),n.delayedDragEnterLogic||(n.delayedDragEnterLogic={}),Object.keys(n.delayedDragEnterLogic).forEach((function(e){clearTimeout(n.delayedDragEnterLogic[e])})),n.delayedDragEnterLogic[r]=setTimeout((function(){var r=Object(y["a"])(i,a);Object(p["s"])(n,"expandedKeys")||n.setState({_expandedKeys:r}),n.__emit("dragenter",{event:e,node:t,expandedKeys:r})}),400)}),0):this.setState({_dragOverNodeKey:"",_dropPosition:null})}},onNodeDragOver:function(e,t){var n=t.eventKey,i=this.$data,r=i._dragOverNodeKey,a=i._dropPosition;if(this.dragNode&&n===r&&t.$refs.selectHandle){var o=Object(y["c"])(e,t);if(o===a)return;this.setState({_dropPosition:o})}this.__emit("dragover",{event:e,node:t})},onNodeDragLeave:function(e,t){this.setState({_dragOverNodeKey:""}),this.__emit("dragleave",{event:e,node:t})},onNodeDragEnd:function(e,t){this.setState({_dragOverNodeKey:""}),this.__emit("dragend",{event:e,node:t}),this.dragNode=null},onNodeDrop:function(e,t){var n=this.$data,i=n._dragNodesKeys,r=void 0===i?[]:i,a=n._dropPosition,o=t.eventKey,s=t.pos;if(this.setState({_dragOverNodeKey:""}),-1===r.indexOf(o)){var c=Object(y["n"])(s),l={event:e,node:t,dragNode:this.dragNode,dragNodesKeys:r.slice(),dropPosition:a+Number(c[c.length-1]),dropToGap:!1};0!==a&&(l.dropToGap=!0),this.__emit("drop",l),this.dragNode=null}else f()(!1,"Can not drop to dragNode(include it's children node)")},onNodeClick:function(e,t){this.__emit("click",e,t)},onNodeDoubleClick:function(e,t){this.__emit("dblclick",e,t)},onNodeSelect:function(e,t){var n=this.$data._selectedKeys,i=this.$data._keyEntities,r=this.$props.multiple,a=Object(p["l"])(t),o=a.selected,s=a.eventKey,c=!o;n=c?r?Object(y["a"])(n,s):[s]:Object(y["b"])(n,s);var l=n.map((function(e){var t=i.get(e);return t?t.node:null})).filter((function(e){return e}));this.setUncontrolledState({_selectedKeys:n});var u={event:"select",selected:c,node:t,selectedNodes:l,nativeEvent:e};this.__emit("update:selectedKeys",n),this.__emit("select",n,u)},onNodeCheck:function(e,t,n){var i=this.$data,r=i._keyEntities,a=i._checkedKeys,o=i._halfCheckedKeys,s=this.$props.checkStrictly,c=Object(p["l"])(t),l=c.eventKey,u=void 0,d={event:"check",node:t,checked:n,nativeEvent:e};if(s){var h=n?Object(y["a"])(a,l):Object(y["b"])(a,l),f=Object(y["b"])(o,l);u={checked:h,halfChecked:f},d.checkedNodes=h.map((function(e){return r.get(e)})).filter((function(e){return e})).map((function(e){return e.node})),this.setUncontrolledState({_checkedKeys:h})}else{var m=Object(y["e"])([l],n,r,{checkedKeys:a,halfCheckedKeys:o}),v=m.checkedKeys,g=m.halfCheckedKeys;u=v,d.checkedNodes=[],d.checkedNodesPositions=[],d.halfCheckedKeys=g,v.forEach((function(e){var t=r.get(e);if(t){var n=t.node,i=t.pos;d.checkedNodes.push(n),d.checkedNodesPositions.push({node:n,pos:i})}})),this.setUncontrolledState({_checkedKeys:v,_halfCheckedKeys:g})}this.__emit("check",u,d)},onNodeLoad:function(e){var t=this;return new Promise((function(n){t.setState((function(i){var r=i._loadedKeys,a=void 0===r?[]:r,o=i._loadingKeys,s=void 0===o?[]:o,c=t.$props.loadData,l=Object(p["l"])(e),u=l.eventKey;if(!c||-1!==a.indexOf(u)||-1!==s.indexOf(u))return{};var d=c(e);return d.then((function(){var i=t.$data,r=i._loadedKeys,a=i._loadingKeys,o=Object(y["a"])(r,u),s=Object(y["b"])(a,u);t.__emit("load",o,{event:"load",node:e}),t.setUncontrolledState({_loadedKeys:o}),t.setState({_loadingKeys:s}),n()})),{_loadingKeys:Object(y["a"])(s,u)}}))}))},onNodeExpand:function(e,t){var n=this,i=this.$data._expandedKeys,r=this.$props.loadData,a=Object(p["l"])(t),o=a.eventKey,s=a.expanded,c=i.indexOf(o),l=!s;if(f()(s&&-1!==c||!s&&-1===c,"Expand state not sync with index check"),i=l?Object(y["a"])(i,o):Object(y["b"])(i,o),this.setUncontrolledState({_expandedKeys:i}),this.__emit("expand",i,{node:t,expanded:l,nativeEvent:e}),this.__emit("update:expandedKeys",i),l&&r){var u=this.onNodeLoad(t);return u?u.then((function(){n.setUncontrolledState({_expandedKeys:i})})):null}return null},onNodeMouseEnter:function(e,t){this.__emit("mouseenter",{event:e,node:t})},onNodeMouseLeave:function(e,t){this.__emit("mouseleave",{event:e,node:t})},onNodeContextMenu:function(e,t){e.preventDefault(),this.__emit("rightClick",{event:e,node:t})},setUncontrolledState:function(e){var t=!1,n={},i=Object(p["l"])(this);Object.keys(e).forEach((function(r){r.replace("_","")in i||(t=!0,n[r]=e[r])})),t&&this.setState(n)},registerTreeNode:function(e,t){t?this.domTreeNodes[e]=t:delete this.domTreeNodes[e]},isKeyChecked:function(e){var t=this.$data._checkedKeys,n=void 0===t?[]:t;return-1!==n.indexOf(e)},renderTreeNode:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=this.$data,r=i._keyEntities,a=i._expandedKeys,o=void 0===a?[]:a,s=i._selectedKeys,c=void 0===s?[]:s,l=i._halfCheckedKeys,u=void 0===l?[]:l,d=i._loadedKeys,h=void 0===d?[]:d,f=i._loadingKeys,p=void 0===f?[]:f,v=i._dragOverNodeKey,g=i._dropPosition,b=Object(y["k"])(n,t),_=e.key;return _||void 0!==_&&null!==_||(_=b),r.get(_)?Object(m["a"])(e,{props:{eventKey:_,expanded:-1!==o.indexOf(_),selected:-1!==c.indexOf(_),loaded:-1!==h.indexOf(_),loading:-1!==p.indexOf(_),checked:this.isKeyChecked(_),halfChecked:-1!==u.indexOf(_),pos:b,dragOver:v===_&&0===g,dragOverGapTop:v===_&&-1===g,dragOverGapBottom:v===_&&1===g},key:_}):(Object(y["o"])(),null)}},render:function(){var e=this,t=arguments[0],n=this.$data._treeNode,i=this.$props,a=i.prefixCls,o=i.focusable,s=i.showLine,c=i.tabIndex,l=void 0===c?0:c;return t("ul",{class:d()(a,r()({},a+"-show-line",s)),attrs:{role:"tree",unselectable:"on",tabIndex:o?l:null}},[Object(y["l"])(n,(function(t,n){return e.renderTreeNode(t,n)}))])}},M=Object(g["a"])(_),w=n("cdd1");_.TreeNode=w["a"],M.TreeNode=w["a"];t["default"]=M},"1d73":function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("7746"));t.generate=r.default;var a={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"};t.presetPrimaryColors=a;var o={};t.presetPalettes=o,Object.keys(a).forEach((function(e){o[e]=r.default(a[e]),o[e].primary=o[e][5]}));var s=o.red;t.red=s;var c=o.volcano;t.volcano=c;var l=o.gold;t.gold=l;var u=o.orange;t.orange=u;var d=o.yellow;t.yellow=d;var h=o.lime;t.lime=h;var f=o.green;t.green=f;var p=o.cyan;t.cyan=p;var m=o.blue;t.blue=m;var v=o.geekblue;t.geekblue=v;var g=o.purple;t.purple=g;var y=o.magenta;t.magenta=y;var b=o.grey;t.grey=b},"1efc":function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},"1fb5":function(e,t,n){"use strict";t.byteLength=u,t.toByteArray=h,t.fromByteArray=m;for(var i=[],r=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}function u(e){var t=l(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function d(e,t,n){return 3*(t+n)/4-n}function h(e){var t,n,i=l(e),o=i[0],s=i[1],c=new a(d(e,o,s)),u=0,h=s>0?o-4:o;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c}function f(e){return i[e>>18&63]+i[e>>12&63]+i[e>>6&63]+i[63&e]}function p(e,t,n){for(var i,r=[],a=t;ac?c:s+o));return 1===r?(t=e[n-1],a.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],a.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"1fc1":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===i?n?"хвіліна":"хвіліну":"h"===i?n?"гадзіна":"гадзіну":e+" "+t(r[i],+e)}var i=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return i}))},"1fc8":function(e,t,n){var i=n("4245");function r(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}e.exports=r},"201b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t}))},"202f":function(e,t,n){},"20ec":function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},"217d":function(e,t){function n(e,t){var n,i=0,r=e.length;for(i;i10&&e<20}function a(e){return t[e].split("_")}function o(e,t,n,o){var s=e+" ";return 1===e?s+i(e,t,n[0],o):t?s+(r(e)?a(n)[1]:a(n)[0]):o?s+a(n)[1]:s+(r(e)?a(n)[1]:a(n)[2])}var s=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s}))},2768:function(e,t){function n(e){return null==e}e.exports=n},2769:function(e,t,n){var i=n("5ca0"),r=n("51f5"),a=i(r);e.exports=a},2877:function(e,t,n){"use strict";function i(e,t,n,i,r,a,o,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},"28c9":function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},2921:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"293c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},n=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"29f3":function(e,t){var n=Object.prototype,i=n.toString;function r(e){return i.call(e)}e.exports=r},"2a95":function(e,t,n){"use strict";(function(e){function n(){return n=Object.assign||function(e){for(var t=1;t=a)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(n){return"[Circular]"}break;default:return e}}));return o}return r}function p(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}function m(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!p(t)||"string"!==typeof e||e))}function v(e,t,n){var i=[],r=0,a=e.length;function o(e){i.push.apply(i,e),r++,r===a&&n(i)}e.forEach((function(e){t(e,o)}))}function g(e,t,n){var i=0,r=e.length;function a(o){if(o&&o.length)n(o);else{var s=i;i+=1,s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},x={integer:function(e){return x.number(e)&&parseInt(e,10)===e},float:function(e){return x.number(e)&&!x.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===typeof e&&!x.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(L.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(L.url)},hex:function(e){return"string"===typeof e&&!!e.match(L.hex)}};function S(e,t,n,i,r){if(e.required&&void 0===t)k(e,t,n,i,r);else{var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;a.indexOf(o)>-1?x[o](t)||i.push(f(r.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&i.push(f(r.messages.types[o],e.fullField,e.type))}}function O(e,t,n,i,r){var a="number"===typeof e.len,o="number"===typeof e.min,s="number"===typeof e.max,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,u=null,d="number"===typeof t,h="string"===typeof t,p=Array.isArray(t);if(d?u="number":h?u="string":p&&(u="array"),!u)return!1;p&&(l=t.length),h&&(l=t.replace(c,"_").length),a?l!==e.len&&i.push(f(r.messages[u].len,e.fullField,e.len)):o&&!s&&le.max?i.push(f(r.messages[u].max,e.fullField,e.max)):o&&s&&(le.max)&&i.push(f(r.messages[u].range,e.fullField,e.min,e.max))}var T="enum";function z(e,t,n,i,r){e[T]=Array.isArray(e[T])?e[T]:[],-1===e[T].indexOf(t)&&i.push(f(r.messages[T],e.fullField,e[T].join(", ")))}function H(e,t,n,i,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(f(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var a=new RegExp(e.pattern);a.test(t)||i.push(f(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var D={required:k,whitespace:C,type:S,range:O,enum:z,pattern:H};function V(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t,"string")&&!e.required)return n();D.required(e,t,i,a,r,"string"),m(t,"string")||(D.type(e,t,i,a,r),D.range(e,t,i,a,r),D.pattern(e,t,i,a,r),!0===e.whitespace&&D.whitespace(e,t,i,a,r))}n(a)}function j(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r),void 0!==t&&D.type(e,t,i,a,r)}n(a)}function Y(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(""===t&&(t=void 0),m(t)&&!e.required)return n();D.required(e,t,i,a,r),void 0!==t&&(D.type(e,t,i,a,r),D.range(e,t,i,a,r))}n(a)}function P(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r),void 0!==t&&D.type(e,t,i,a,r)}n(a)}function A(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r),m(t)||D.type(e,t,i,a,r)}n(a)}function E(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r),void 0!==t&&(D.type(e,t,i,a,r),D.range(e,t,i,a,r))}n(a)}function F(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r),void 0!==t&&(D.type(e,t,i,a,r),D.range(e,t,i,a,r))}n(a)}function $(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if((void 0===t||null===t)&&!e.required)return n();D.required(e,t,i,a,r,"array"),void 0!==t&&null!==t&&(D.type(e,t,i,a,r),D.range(e,t,i,a,r))}n(a)}function I(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r),void 0!==t&&D.type(e,t,i,a,r)}n(a)}var R="enum";function N(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r),void 0!==t&&D[R](e,t,i,a,r)}n(a)}function W(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t,"string")&&!e.required)return n();D.required(e,t,i,a,r),m(t,"string")||D.pattern(e,t,i,a,r)}n(a)}function K(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t,"date")&&!e.required)return n();var s;if(D.required(e,t,i,a,r),!m(t,"date"))s=t instanceof Date?t:new Date(t),D.type(e,s,i,a,r),s&&D.range(e,s.getTime(),i,a,r)}n(a)}function B(e,t,n,i,r){var a=[],o=Array.isArray(t)?"array":typeof t;D.required(e,t,i,a,r,o),n(a)}function U(e,t,n,i,r){var a=e.type,o=[],s=e.required||!e.required&&i.hasOwnProperty(e.field);if(s){if(m(t,a)&&!e.required)return n();D.required(e,t,i,o,r,a),m(t,a)||D.type(e,t,i,o,r)}n(o)}function q(e,t,n,i,r){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(m(t)&&!e.required)return n();D.required(e,t,i,a,r)}n(a)}var G={string:V,method:j,number:Y,boolean:P,regexp:A,integer:E,float:F,array:$,object:I,enum:N,pattern:W,date:K,url:U,hex:U,email:U,required:B,any:q};function J(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var X=J();function Z(e){this.rules=null,this._messages=X,this.define(e)}Z.prototype={messages:function(e){return e&&(this._messages=w(J(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");var t,n;for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,i){var r=this;void 0===t&&(t={}),void 0===i&&(i=function(){});var a,o,s=e,c=t,l=i;if("function"===typeof c&&(l=c,c={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(),Promise.resolve();function u(e){var t,n=[],i={};function r(e){var t;Array.isArray(e)?n=(t=n).concat.apply(t,e):n.push(e)}for(t=0;t0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var i=e[n];switch(n){case"class":t.className=i,delete t["class"];break;default:t[n]=i}return t}),{})}var f=function(){function e(){o()(this,e),this.collection={}}return c()(e,[{key:"clear",value:function(){this.collection={}}},{key:"delete",value:function(e){return delete this.collection[e]}},{key:"get",value:function(e){return this.collection[e]}},{key:"has",value:function(e){return Boolean(this.collection[e])}},{key:"set",value:function(e,t){return this.collection[e]=t,this}},{key:"size",get:function(){return Object.keys(this.collection).length}}]),e}();function p(e,t,n,i){return e(t.tag,i?r()({key:n},i,{attrs:r()({},h(t.attrs),i.attrs)}):{key:n,attrs:r()({},h(t.attrs))},(t.children||[]).map((function(i,r){return p(e,i,n+"-"+t.tag+"-"+r)})))}function m(e){return Object(l["generate"])(e)[0]}function v(e,t){switch(t){case"fill":return e+"-fill";case"outline":return e+"-o";case"twotone":return e+"-twotone";default:throw new TypeError("Unknown theme type: "+t+", name: "+e)}}}).call(this,n("4362"))},"2b03":function(e,t){function n(e,t,n,i){var r=e.length,a=n+(i?1:-1);while(i?a--:++a=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(e,t){return b.call(e,t)}function M(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var w=/-(\w)/g,k=M((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),C=M((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),L=/\B([A-Z])/g,x=M((function(e){return e.replace(L,"-$1").toLowerCase()}));function S(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function O(e,t){return e.bind(t)}var T=Function.prototype.bind?O:S;function z(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function H(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n0,ne=Q&&Q.indexOf("edge/")>0,ie=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z),re=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ae={}.watch,oe=!1;if(J)try{var se={};Object.defineProperty(se,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,se)}catch(Co){}var ce=function(){return void 0===q&&(q=!J&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),q},le=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,he="undefined"!==typeof Symbol&&ue(Symbol)&&"undefined"!==typeof Reflect&&ue(Reflect.ownKeys);de="undefined"!==typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=V,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!_(r,"default"))o=!1;else if(""===o||o===x(e)){var c=tt(String,r.type);(c<0||s0&&(o=Ot(o,(t||"")+"_"+n),St(o[0])&&St(l)&&(u[c]=we(l.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?St(l)?u[c]=we(l.text+o):""!==o&&u.push(we(o)):St(o)&&St(l)?u[c]=we(l.text+o.text):(a(e._isVList)&&r(o.tag)&&i(o.key)&&r(t)&&(o.key="__vlist"+t+"_"+n+"__"),u.push(o)));return u}function Tt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function zt(e){var t=Ht(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach((function(n){je(e,n,t[n])})),Te(!0))}function Ht(e,t){if(e){for(var n=Object.create(null),i=he?Reflect.ownKeys(e):Object.keys(e),r=0;r0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&i&&i!==n&&s===i.$key&&!a&&!i.$hasNormal)return i;for(var c in r={},e)e[c]&&"$"!==c[0]&&(r[c]=Pt(t,c,e[c]))}else r={};for(var l in t)l in r||(r[l]=At(t,l));return e&&Object.isExtensible(e)&&(e._normalized=r),K(r,"$stable",o),K(r,"$key",s),K(r,"$hasNormal",a),r}function Pt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:xt(e);var t=e&&e[0];return e&&(!t||1===e.length&&t.isComment&&!jt(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function At(e,t){return function(){return e[t]}}function Et(e,t){var n,i,a,o,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),i=0,a=e.length;i1?z(n):n;for(var i=z(arguments,1),r='event handler for "'+e+'"',a=0,o=n.length;adocument.createEvent("Event").timeStamp&&(Gn=function(){return Jn.now()})}function Xn(){var e,t;for(qn=Gn(),Kn=!0,In.sort((function(e,t){return e.id-t.id})),Bn=0;BnBn&&In[n].id>e.id)n--;In.splice(n+1,0,e)}else In.push(e);Wn||(Wn=!0,mt(Xn))}}var ni=0,ii=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ni,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=U(t),this.getter||(this.getter=V)),this.value=this.lazy?void 0:this.get()};ii.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Co){if(!this.user)throw Co;nt(Co,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},ii.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},ii.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ii.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ti(this)},ii.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';it(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},ii.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ii.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},ii.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ri={enumerable:!0,configurable:!0,get:V,set:V};function ai(e,t,n){ri.get=function(){return this[t][n]},ri.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ri)}function oi(e){e._watchers=[];var t=e.$options;t.props&&si(e,t.props),t.methods&&mi(e,t.methods),t.data?ci(e):Ve(e._data={},!0),t.computed&&di(e,t.computed),t.watch&&t.watch!==ae&&vi(e,t.watch)}function si(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],a=!e.$parent;a||Te(!1);var o=function(a){r.push(a);var o=Je(a,t,n,e);je(i,a,o),a in e||ai(e,"_props",a)};for(var s in t)o(s);Te(!0)}function ci(e){var t=e.$options.data;t=e._data="function"===typeof t?li(t,e):t||{},u(t)||(t={});var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);while(r--){var a=n[r];0,i&&_(i,a)||W(a)||ai(e,"_data",a)}Ve(t,!0)}function li(e,t){ge();try{return e.call(t,t)}catch(Co){return nt(Co,t,"data()"),{}}finally{ye()}}var ui={lazy:!0};function di(e,t){var n=e._computedWatchers=Object.create(null),i=ce();for(var r in t){var a=t[r],o="function"===typeof a?a:a.get;0,i||(n[r]=new ii(e,o||V,V,ui)),r in e||hi(e,r,a)}}function hi(e,t,n){var i=!ce();"function"===typeof n?(ri.get=i?fi(t):pi(n),ri.set=V):(ri.get=n.get?i&&!1!==n.cache?fi(t):pi(n.get):V,ri.set=n.set||V),Object.defineProperty(e,t,ri)}function fi(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function pi(e){return function(){return e.call(this,this)}}function mi(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?V:T(t[n],e)}function vi(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=z(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function xi(e){e.mixin=function(e){return this.options=qe(this.options,e),this}}function Si(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=qe(n.options,e),o["super"]=n,o.options.props&&Oi(o),o.options.computed&&Ti(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,$.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=H({},o.options),r[i]=o,o}}function Oi(e){var t=e.options.props;for(var n in t)ai(e.prototype,"_props",n)}function Ti(e){var t=e.options.computed;for(var n in t)hi(e.prototype,n,t[n])}function zi(e){$.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Hi(e){return e&&(e.Ctor.options.name||e.tag)}function Di(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Vi(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var a in n){var o=n[a];if(o){var s=o.name;s&&!t(s)&&ji(n,a,i,r)}}}function ji(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,y(n,t)}_i(Ci),yi(Ci),zn(Ci),jn(Ci),_n(Ci);var Yi=[String,RegExp,Array],Pi={name:"keep-alive",abstract:!0,props:{include:Yi,exclude:Yi,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,i=e.vnodeToCache,r=e.keyToCache;if(i){var a=i.tag,o=i.componentInstance,s=i.componentOptions;t[r]={name:Hi(s),tag:a,componentInstance:o},n.push(r),this.max&&n.length>parseInt(this.max)&&ji(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ji(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){Vi(e,(function(e){return Di(t,e)}))})),this.$watch("exclude",(function(t){Vi(e,(function(e){return!Di(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Cn(e),n=t&&t.componentOptions;if(n){var i=Hi(n),r=this,a=r.include,o=r.exclude;if(a&&(!i||!Di(a,i))||o&&i&&Di(o,i))return t;var s=this,c=s.cache,l=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[u]?(t.componentInstance=c[u].componentInstance,y(l,u),l.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}},Ai={KeepAlive:Pi};function Ei(e){var t={get:function(){return R}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:H,mergeOptions:qe,defineReactive:je},e.set=Ye,e.delete=Pe,e.nextTick=mt,e.observable=function(e){return Ve(e),e},e.options=Object.create(null),$.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,H(e.options.components,Ai),Li(e),xi(e),Si(e),zi(e)}Ei(Ci),Object.defineProperty(Ci.prototype,"$isServer",{get:ce}),Object.defineProperty(Ci.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ci,"FunctionalRenderContext",{value:Qt}),Ci.version="2.6.14";var Fi=v("style,class"),$i=v("input,textarea,option,select,progress"),Ii=function(e,t,n){return"value"===n&&$i(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ri=v("contenteditable,draggable,spellcheck"),Ni=v("events,caret,typing,plaintext-only"),Wi=function(e,t){return Gi(t)||"false"===t?"false":"contenteditable"===e&&Ni(t)?t:"true"},Ki=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Bi="http://www.w3.org/1999/xlink",Ui=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qi=function(e){return Ui(e)?e.slice(6,e.length):""},Gi=function(e){return null==e||!1===e};function Ji(e){var t=e.data,n=e,i=e;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=Xi(i.data,t));while(r(n=n.parent))n&&n.data&&(t=Xi(t,n.data));return Zi(t.staticClass,t.class)}function Xi(e,t){return{staticClass:Qi(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Zi(e,t){return r(e)||r(t)?Qi(e,er(t)):""}function Qi(e,t){return e?t?e+" "+t:e:t||""}function er(e){return Array.isArray(e)?tr(e):c(e)?nr(e):"string"===typeof e?e:""}function tr(e){for(var t,n="",i=0,a=e.length;i-1?cr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:cr[e]=/HTMLUnknownElement/.test(t.toString())}var ur=v("text,number,password,search,email,tel,url");function dr(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hr(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fr(e,t){return document.createElementNS(ir[e],t)}function pr(e){return document.createTextNode(e)}function mr(e){return document.createComment(e)}function vr(e,t,n){e.insertBefore(t,n)}function gr(e,t){e.removeChild(t)}function yr(e,t){e.appendChild(t)}function br(e){return e.parentNode}function _r(e){return e.nextSibling}function Mr(e){return e.tagName}function wr(e,t){e.textContent=t}function kr(e,t){e.setAttribute(t,"")}var Cr=Object.freeze({createElement:hr,createElementNS:fr,createTextNode:pr,createComment:mr,insertBefore:vr,removeChild:gr,appendChild:yr,parentNode:br,nextSibling:_r,tagName:Mr,setTextContent:wr,setStyleScope:kr}),Lr={create:function(e,t){xr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(xr(e,!0),xr(t))},destroy:function(e){xr(e,!0)}};function xr(e,t){var n=e.data.ref;if(r(n)){var i=e.context,a=e.componentInstance||e.elm,o=i.$refs;t?Array.isArray(o[n])?y(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(a)<0&&o[n].push(a):o[n]=[a]:o[n]=a}}var Sr=new be("",{},[]),Or=["create","activate","update","remove","destroy"];function Tr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&zr(e,t)||a(e.isAsyncPlaceholder)&&i(t.asyncFactory.error))}function zr(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,a=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===a||ur(i)&&ur(a)}function Hr(e,t,n){var i,a,o={};for(i=t;i<=n;++i)a=e[i].key,r(a)&&(o[a]=i);return o}function Dr(e){var t,n,o={},c=e.modules,l=e.nodeOps;for(t=0;tm?(d=i(n[y+1])?null:n[y+1].elm,k(e,d,n,p,y,a)):p>y&&L(t,h,m)}function O(e,t,n,i){for(var a=n;a-1?Nr(e,t,n):Ki(t)?Gi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ri(t)?e.setAttribute(t,Wi(t,n)):Ui(t)?Gi(n)?e.removeAttributeNS(Bi,qi(t)):e.setAttributeNS(Bi,t,n):Nr(e,t,n)}function Nr(e,t,n){if(Gi(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Wr={create:Ir,update:Ir};function Kr(e,t){var n=t.elm,a=t.data,o=e.data;if(!(i(a.staticClass)&&i(a.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=Ji(t),c=n._transitionClasses;r(c)&&(s=Qi(s,er(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Br,Ur={create:Kr,update:Kr},qr="__r",Gr="__c";function Jr(e){if(r(e[qr])){var t=ee?"change":"input";e[t]=[].concat(e[qr],e[t]||[]),delete e[qr]}r(e[Gr])&&(e.change=[].concat(e[Gr],e.change||[]),delete e[Gr])}function Xr(e,t,n){var i=Br;return function r(){var a=t.apply(null,arguments);null!==a&&ea(e,r,n,i)}}var Zr=st&&!(re&&Number(re[1])<=53);function Qr(e,t,n,i){if(Zr){var r=qn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Br.addEventListener(e,t,oe?{capture:n,passive:i}:n)}function ea(e,t,n,i){(i||Br).removeEventListener(e,t._wrapper||t,n)}function ta(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Br=t.elm,Jr(n),Mt(n,r,Qr,ea,Xr,t.context),Br=void 0}}var na,ia={create:ta,update:ta};function ra(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,a,o=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in r(c.__ob__)&&(c=t.data.domProps=H({},c)),s)n in c||(o[n]="");for(n in c){if(a=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=a;var l=i(a)?"":String(a);aa(o,l)&&(o.value=l)}else if("innerHTML"===n&&ar(o.tagName)&&i(o.innerHTML)){na=na||document.createElement("div"),na.innerHTML=""+a+"";var u=na.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else if(a!==s[n])try{o[n]=a}catch(Co){}}}}function aa(e,t){return!e.composing&&("OPTION"===e.tagName||oa(e,t)||sa(e,t))}function oa(e,t){var n=!0;try{n=document.activeElement!==e}catch(Co){}return n&&e.value!==t}function sa(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return m(n)!==m(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var ca={create:ra,update:ra},la=M((function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function ua(e){var t=da(e.style);return e.staticStyle?H(e.staticStyle,t):t}function da(e){return Array.isArray(e)?D(e):"string"===typeof e?la(e):e}function ha(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=ua(r.data))&&H(i,n)}(n=ua(e.data))&&H(i,n);var a=e;while(a=a.parent)a.data&&(n=ua(a.data))&&H(i,n);return i}var fa,pa=/^--/,ma=/\s*!important$/,va=function(e,t,n){if(pa.test(t))e.style.setProperty(t,n);else if(ma.test(n))e.style.setProperty(x(t),n.replace(ma,""),"important");else{var i=ya(t);if(Array.isArray(n))for(var r=0,a=n.length;r-1?t.split(Ma).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ka(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ma).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Ca(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&H(t,La(e.name||"v")),H(t,e),t}return"string"===typeof e?La(e):void 0}}var La=M((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),xa=J&&!te,Sa="transition",Oa="animation",Ta="transition",za="transitionend",Ha="animation",Da="animationend";xa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ta="WebkitTransition",za="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ha="WebkitAnimation",Da="webkitAnimationEnd"));var Va=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ja(e){Va((function(){Va(e)}))}function Ya(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),wa(e,t))}function Pa(e,t){e._transitionClasses&&y(e._transitionClasses,t),ka(e,t)}function Aa(e,t,n){var i=Fa(e,t),r=i.type,a=i.timeout,o=i.propCount;if(!r)return n();var s=r===Sa?za:Da,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=o&&l()};setTimeout((function(){c0&&(n=Sa,u=o,d=a.length):t===Oa?l>0&&(n=Oa,u=l,d=c.length):(u=Math.max(o,l),n=u>0?o>l?Sa:Oa:null,d=n?n===Sa?a.length:c.length:0);var h=n===Sa&&Ea.test(i[Ta+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function $a(e,t){while(e.length1}function Ba(e,t){!0!==t.data.show&&Ra(t)}var Ua=J?{create:Ba,activate:Ba,remove:function(e,t){!0!==e.data.show?Na(e,t):t()}}:{},qa=[Wr,Ur,ia,ca,_a,Ua],Ga=qa.concat($r),Ja=Dr({nodeOps:Cr,modules:Ga});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ro(e,"input")}));var Xa={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?wt(n,"postpatch",(function(){Xa.componentUpdated(e,t,n)})):Za(e,t,n.context),e._vOptions=[].map.call(e.options,to)):("textarea"===n.tag||ur(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",no),e.addEventListener("compositionend",io),e.addEventListener("change",io),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Za(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,to);if(r.some((function(e,t){return!P(e,i[t])}))){var a=e.multiple?t.value.some((function(e){return eo(e,r)})):t.value!==t.oldValue&&eo(t.value,r);a&&ro(e,"change")}}}};function Za(e,t,n){Qa(e,t,n),(ee||ne)&&setTimeout((function(){Qa(e,t,n)}),0)}function Qa(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var a,o,s=0,c=e.options.length;s-1,o.selected!==a&&(o.selected=a);else if(P(to(o),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function eo(e,t){return t.every((function(t){return!P(t,e)}))}function to(e){return"_value"in e?e._value:e.value}function no(e){e.target.composing=!0}function io(e){e.target.composing&&(e.target.composing=!1,ro(e.target,"input"))}function ro(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ao(e){return!e.componentInstance||e.data&&e.data.transition?e:ao(e.componentInstance._vnode)}var oo={bind:function(e,t,n){var i=t.value;n=ao(n);var r=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Ra(n,(function(){e.style.display=a}))):e.style.display=i?a:"none"},update:function(e,t,n){var i=t.value,r=t.oldValue;if(!i!==!r){n=ao(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,i?Ra(n,(function(){e.style.display=e.__vOriginalDisplay})):Na(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}},so={model:Xa,show:oo},co={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function lo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?lo(Cn(t.children)):e}function uo(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var a in r)t[k(a)]=r[a];return t}function ho(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fo(e){while(e=e.parent)if(e.data.transition)return!0}function po(e,t){return t.key===e.key&&t.tag===e.tag}var mo=function(e){return e.tag||jt(e)},vo=function(e){return"show"===e.name},go={name:"transition",props:co,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(mo),n.length)){0;var i=this.mode;0;var r=n[0];if(fo(this.$vnode))return r;var a=lo(r);if(!a)return r;if(this._leaving)return ho(e,r);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var c=(a.data||(a.data={})).transition=uo(this),l=this._vnode,u=lo(l);if(a.data.directives&&a.data.directives.some(vo)&&(a.data.show=!0),u&&u.data&&!po(a,u)&&!jt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=H({},c);if("out-in"===i)return this._leaving=!0,wt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ho(e,r);if("in-out"===i){if(jt(a))return l;var h,f=function(){h()};wt(c,"afterEnter",f),wt(c,"enterCancelled",f),wt(d,"delayLeave",(function(e){h=e}))}}return r}}},yo=H({tag:String,moveClass:String},co);delete yo.mode;var bo={props:yo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Dn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=uo(this),s=0;sr?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;var a=Array(r);while(++i=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},"2c66":function(e,t,n){var i=n("d612"),r=n("8db3"),a=n("5edf"),o=n("c584"),s=n("750a"),c=n("ac41"),l=200;function u(e,t,n){var u=-1,d=r,h=e.length,f=!0,p=[],m=p;if(n)f=!1,d=a;else if(h>=l){var v=t?null:s(e);if(v)return c(v);f=!1,d=o,m=new i}else m=t?[]:p;e:while(++u1?n[a-1]:void 0,s=a>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&r(n[0],n[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);while(++iu)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},"39bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे";break}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां";break}return r.replace(/%d/i,e)}var r=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return r}))},"39ff":function(e,t,n){var i=n("0b07"),r=n("2b3e"),a=i(r,"WeakMap");e.exports=a},"3a39":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return i}))},"3a6c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"3a9b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="0 0 1024 1024",r="64 64 896 896",a="fill",o="outline",s="twotone";function c(e){for(var t=[],n=1;n=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},"3b4a":function(e,t,n){var i=n("0b07"),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=r},"3bb4":function(e,t,n){var i=n("08cc"),r=n("ec69");function a(e){var t=r(e),n=t.length;while(n--){var a=t[n],o=e[a];t[n]=[a,o,i(o)]}return t}e.exports=a},"3c0d":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(a(e)?"dny":"dní"):r+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?r+(a(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(a(e)?"roky":"let"):r+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3c55":function(e,t,n){try{var i=n("cecd")}catch(s){i=n("cecd")}var r=/\s+/,a=Object.prototype.toString;function o(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}e.exports=function(e){return new o(e)},o.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array(),n=i(t,e);return~n||t.push(e),this.el.className=t.join(" "),this},o.prototype.remove=function(e){if("[object RegExp]"==a.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=i(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},o.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n=10?e:e+12},week:{dow:0,doy:6}});return i}))},"3e92":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return i}))},"3eea":function(e,t,n){var i=n("7948"),r=n("3818"),a=n("4bb5"),o=n("e2e4"),s=n("8eeb"),c=n("e0e7"),l=n("c6cf"),u=n("1bac"),d=1,h=2,f=4,p=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=i(t,(function(t){return t=o(t,e),l||(l=t.length>1),t})),s(e,u(e),n),l&&(n=r(n,d|h|f,c));var p=t.length;while(p--)a(n,t[p]);return n}));e.exports=p},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},4039:function(e,t,n){"use strict";function i(){return!1}function r(){return!0}function a(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),a.prototype={isEventObject:1,constructor:a,isDefaultPrevented:i,isPropagationStopped:i,isImmediatePropagationStopped:i,preventDefault:function(){this.isDefaultPrevented=r},stopPropagation:function(){this.isPropagationStopped=r},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=r,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t["default"]=a,e.exports=t["default"]},"408c":function(e,t,n){var i=n("2b3e"),r=function(){return i.Date.now()};e.exports=r},4106:function(e,t,n){var i=n("4aad"),r=n("6751"),a=n("4b17"),o=n("76dd");function s(e,t,n){e=o(e),t=a(t);var s=t?r(e):0;return t&&s=10)e/=10;return r(e)}return e/=1e3,r(e)}var a=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},4416:function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},"46cf":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name||"ref";e.directive(n,{bind:function(t,n,i){e.nextTick((function(){n.value(i.componentInstance||t,i.key)})),n.value(i.componentInstance||t,i.key)},update:function(e,t,i,r){if(r.data&&r.data.directives){var a=r.data.directives.find((function(e){var t=e.name;return t===n}));if(a&&a.value!==t.value)return a&&a.value(null,r.key),void t.value(i.componentInstance||e,i.key)}i.componentInstance===r.componentInstance&&i.elm===r.elm||t.value(i.componentInstance||e,i.key)},unbind:function(e,t,n){t.value(null,n.key)}})}}},"47f5":function(e,t,n){var i=n("2b03"),r=n("d9a8"),a=n("099a");function o(e,t,n){return t===t?a(e,t,n):i(e,r,n)}e.exports=o},4849:function(e,t,n){e.exports={default:n("3787"),__esModule:!0}},"485c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,i=e%100-n,r=e>=100?100:null;return e+(t[n]||t[i]||t[r])},week:{dow:1,doy:7}});return n}))},"48a0":function(e,t,n){var i=n("242e"),r=n("950a"),a=r(i);e.exports=a},"49ab":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"49f4":function(e,t,n){var i=n("6044");function r(){this.__data__=i?i(null):{},this.size=0}e.exports=r},"4a47":function(e,t,n){"use strict";var i=n("1a14"),r=n("10db");e.exports=function(e,t,n){t in e?i.f(e,t,r(0,n)):e[t]=n}},"4aad":function(e,t,n){var i=n("b0a8"),r=n("ce86"),a=n("c32f"),o=n("aaec"),s=n("6751"),c=n("126d"),l=Math.ceil;function u(e,t){t=void 0===t?" ":r(t);var n=t.length;if(n<2)return n?i(t,e):t;var u=i(t,l(e/s(t)));return o(t)?a(c(u),0,e).join(""):u.slice(0,e)}e.exports=u},"4b17":function(e,t,n){var i=n("6428");function r(e){var t=i(e),n=t%1;return t===t?n?t-n:t:0}e.exports=r},"4b8b":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"4ba9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",i;case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",i;case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",i;case"dd":return i+=1===e?"dan":"dana",i;case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",i;case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",i}}var n=e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"4bb5":function(e,t,n){var i=n("e2e4"),r=n("4416"),a=n("8296"),o=n("f4d6");function s(e,t){return t=i(t,e),e=a(e,t),null==e||delete e[o(r(t))]}e.exports=s},"4cef":function(e,t){var n=/\s/;function i(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=i},"4d20":function(e,t,n){var i=n("1917"),r=n("10db"),a=n("6ca1"),o=n("3397"),s=n("9c0e"),c=n("faf5"),l=Object.getOwnPropertyDescriptor;t.f=n("0bad")?l:function(e,t){if(e=a(e),t=o(t,!0),c)try{return l(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},"4d26":function(e,t,n){var i,r; -/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t2&&void 0!==arguments[2]&&arguments[2],r=t,a=!0,s=void 0;o()(t)||(r={type:t});var c=r._vueTypes_name?r._vueTypes_name+" - ":"";return l.call(r,"type")&&null!==r.type&&(m(r.type)?(a=r.type.some((function(t){return e(t,n,!0)})),s=r.type.map((function(e){return d(e)})).join(" or ")):(s=d(r),a="Array"===s?m(n):"Object"===s?o()(n):"String"===s||"Number"===s||"Boolean"===s||"Function"===s?h(n)===s:n instanceof r.type)),a?l.call(r,"validator")&&v(r.validator)?(a=r.validator(n),a||!1!==i||M(c+"custom validation failed"),a):a:(!1===i&&M(c+'value "'+n+'" should be of type "'+s+'"'),!1)},M=f,w={get any(){return b("any",{type:null})},get func(){return b("function",{type:Function}).def(C.func)},get bool(){return b("boolean",{type:Boolean}).def(C.bool)},get string(){return b("string",{type:String}).def(C.string)},get number(){return b("number",{type:Number}).def(C.number)},get array(){return b("array",{type:Array}).def(C.array)},get object(){return b("object",{type:Object}).def(C.object)},get integer(){return b("integer",{type:Number,validator:function(e){return p(e)}}).def(C.integer)},get symbol(){return b("symbol",{type:null,validator:function(e){return"symbol"===("undefined"===typeof e?"undefined":r()(e))}})},custom:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom validation failed";if("function"!==typeof e)throw new TypeError("[VueTypes error]: You must provide a function as argument");return b(e.name||"<>",{validator:function(){var n=e.apply(void 0,arguments);return n||M(this._vueTypes_name+" - "+t),n}})},oneOf:function(e){if(!m(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");var t='oneOf - value should be one of "'+e.join('", "')+'"',n=e.reduce((function(e,t){return null!==t&&void 0!==t&&-1===e.indexOf(t.constructor)&&e.push(t.constructor),e}),[]);return b("oneOf",{type:n.length>0?n:null,validator:function(n){var i=-1!==e.indexOf(n);return i||M(t),i}})},instanceOf:function(e){return b("instanceOf",{type:e})},oneOfType:function(e){if(!m(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");var t=!1,n=e.reduce((function(e,n){if(o()(n)){if("oneOf"===n._vueTypes_name)return e.concat(n.type||[]);if(n.type&&!v(n.validator)){if(m(n.type))return e.concat(n.type);e.push(n.type)}else v(n.validator)&&(t=!0);return e}return e.push(n),e}),[]);if(!t)return b("oneOfType",{type:n}).def(void 0);var i=e.map((function(e){return e&&m(e.type)?e.type.map(d):d(e)})).reduce((function(e,t){return e.concat(m(t)?t:[t])}),[]).join('", "');return this.custom((function(t){var n=e.some((function(e){return"oneOf"===e._vueTypes_name?!e.type||_(e.type,t,!0):_(e,t,!0)}));return n||M('oneOfType - value type should be one of "'+i+'"'),n})).def(void 0)},arrayOf:function(e){return b("arrayOf",{type:Array,validator:function(t){var n=t.every((function(t){return _(e,t)}));return n||M('arrayOf - value must be an array of "'+d(e)+'"'),n}})},objectOf:function(e){return b("objectOf",{type:Object,validator:function(t){var n=Object.keys(t).every((function(n){return _(e,t[n])}));return n||M('objectOf - value must be an object of "'+d(e)+'"'),n}})},shape:function(e){var t=Object.keys(e),n=t.filter((function(t){return e[t]&&!0===e[t].required})),i=b("shape",{type:Object,validator:function(i){var r=this;if(!o()(i))return!1;var a=Object.keys(i);return n.length>0&&n.some((function(e){return-1===a.indexOf(e)}))?(M('shape - at least one of required properties "'+n.join('", "')+'" is not present'),!1):a.every((function(n){if(-1===t.indexOf(n))return!0===r._vueTypes_isLoose||(M('shape - object is missing "'+n+'" property'),!1);var a=e[n];return _(a,i[n])}))}});return Object.defineProperty(i,"_vueTypes_isLoose",{enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"loose",{get:function(){return this._vueTypes_isLoose=!0,this},enumerable:!1}),i}},k=function(){return{func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0}},C=k();Object.defineProperty(w,"sensibleDefaults",{enumerable:!1,set:function(e){!1===e?C={}:!0===e?C=k():o()(e)&&(C=e)},get:function(){return C}});t["a"]=w},"4e71":function(e,t,n){n("e198")("observable")},"4ebc":function(e,t,n){var i=n("4d88");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"4f50":function(e,t,n){var i=n("b760"),r=n("e538"),a=n("c8fe"),o=n("4359"),s=n("fa21"),c=n("d370"),l=n("6747"),u=n("dcbe"),d=n("0d24"),h=n("9520"),f=n("1a8c"),p=n("60ed"),m=n("73ac"),v=n("8adb"),g=n("8de2");function y(e,t,n,y,b,_,M){var w=v(e,n),k=v(t,n),C=M.get(k);if(C)i(e,n,C);else{var L=_?_(w,k,n+"",e,t,M):void 0,x=void 0===L;if(x){var S=l(k),O=!S&&d(k),T=!S&&!O&&m(k);L=k,S||O||T?l(w)?L=w:u(w)?L=o(w):O?(x=!1,L=r(k,!0)):T?(x=!1,L=a(k,!0)):L=[]:p(k)||c(k)?(L=w,c(w)?L=g(w):f(w)&&!h(w)||(L=s(k))):x=!1}x&&(M.set(k,L),b(L,k,y,_,M),M["delete"](k)),i(e,n,L)}}e.exports=y},5038:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return t}))},"50c6":function(e,t,n){var i=n("a0c4"),r=n("243f"),a=n("badf"),o=n("6747");function s(e,t){return function(n,s){var c=o(n)?i:r,l=t?t():{};return c(n,e,a(s,2),l)}}e.exports=s},"50d8":function(e,t){function n(e,t){var n=-1,i=Array(e);while(++n=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},"54eb":function(e,t,n){var i=n("8eeb"),r=n("32f4");function a(e,t){return i(e,r(e),t)}e.exports=a},5524:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"55a3":function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},"55c9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return a}))},"576c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"57a5":function(e,t,n){var i=n("91e9"),r=i(Object.keys,Object);e.exports=r},"57ba":function(e,t,n){"use strict";t.__esModule=!0;var i=n("4849"),r=a(i);function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){function e(e,t){for(var n=0;n=100?100:null;return e+(t[i]||t[r]||t[a])}},week:{dow:1,doy:7}});return n}))},"5b01":function(e,t,n){var i=n("8eeb"),r=n("ec69");function a(e,t){return e&&i(t,r(t),e)}e.exports=a},"5b14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var r=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},"5b90":function(e,t,n){"use strict";function i(e,t){var n=window.Element.prototype,i=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var r=e.parentNode;if(i)return i.call(e,t);for(var a=r.querySelectorAll(t),o=a.length,s=0;s=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t}))},"5c69":function(e,t,n){var i=n("087d"),r=n("0621");function a(e,t,n,o,s){var c=-1,l=e.length;n||(n=r),s||(s=[]);while(++c0&&n(u)?t>1?a(u,t-1,n,o,s):i(s,u):o||(s[s.length]=u)}return s}e.exports=a},"5ca0":function(e,t,n){var i=n("badf"),r=n("30c9"),a=n("ec69");function o(e){return function(t,n,o){var s=Object(t);if(!r(t)){var c=i(n,3);t=a(t),n=function(e){return c(s[e],e,s)}}var l=e(t,n,o);return l>-1?s[c?t[l]:l]:void 0}}e.exports=o},"5cbb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},"5d89":function(e,t,n){var i=n("f8af");function r(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}e.exports=r},"5e2e":function(e,t,n){var i=n("28c9"),r=n("69d5"),a=n("b4c0"),o=n("fba5"),s=n("67ca");function c(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},"61fe":function(e,t,n){var i=n("5b90");e.exports=function(e,t,n){n=n||document,e={parentNode:e};while((e=e.parentNode)&&e!==n)if(i(e,t))return e}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6403:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},6428:function(e,t,n){var i=n("b4b0"),r=1/0,a=17976931348623157e292;function o(e){if(!e)return 0===e?e:0;if(e=i(e),e===r||e===-r){var t=e<0?-1:1;return t*a}return e===e?e:0}e.exports=o},"642a":function(e,t,n){var i=n("966f"),r=n("3bb4"),a=n("20ec");function o(e){var t=r(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}e.exports=o},6438:function(e,t,n){var i=n("03d6"),r=n("9742").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"656b":function(e,t,n){var i=n("e2e4"),r=n("f4d6");function a(e,t){t=i(t,e);var n=0,a=t.length;while(null!=e&&n11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},"66cb":function(e,t,n){var i;(function(r){var a=/^\s+/,o=/\s+$/,s=0,c=r.round,l=r.min,u=r.max,d=r.random;function h(e,t){if(e=e||"",t=t||{},e instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=f(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function f(e){var t={r:0,g:0,b:0},n=1,i=null,r=null,a=null,o=!1,s=!1;return"string"==typeof e&&(e=J(e)),"object"==typeof e&&(G(e.r)&&G(e.g)&&G(e.b)?(t=p(e.r,e.g,e.b),o=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):G(e.h)&&G(e.s)&&G(e.v)?(i=K(e.s),r=K(e.v),t=y(e.h,i,r),o=!0,s="hsv"):G(e.h)&&G(e.s)&&G(e.l)&&(i=K(e.s),a=K(e.l),t=v(e.h,i,a),o=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=E(n),{ok:o,format:e.format||s,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}function p(e,t,n){return{r:255*F(e,255),g:255*F(t,255),b:255*F(n,255)}}function m(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var i,r,a=u(e,t,n),o=l(e,t,n),s=(a+o)/2;if(a==o)i=r=0;else{var c=a-o;switch(r=s>.5?c/(2-a-o):c/(a+o),a){case e:i=(t-n)/c+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=F(e,360),t=F(t,100),n=F(n,100),0===t)i=r=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=o(c,s,e+1/3),r=o(c,s,e),a=o(c,s,e-1/3)}return{r:255*i,g:255*r,b:255*a}}function g(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var i,r,a=u(e,t,n),o=l(e,t,n),s=a,c=a-o;if(r=0===a?0:c/a,a==o)i=0;else{switch(a){case e:i=(t-n)/c+(t>1)+720)%360;--t;)i.h=(i.h+r)%360,a.push(h(i));return a}function j(e,t){t=t||6;var n=h(e).toHsv(),i=n.h,r=n.s,a=n.v,o=[],s=1/t;while(t--)o.push(h({h:i,s:r,v:a})),a=(a+s)%1;return o}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,i,a,o,s=this.toRgb();return e=s.r/255,t=s.g/255,n=s.b/255,i=e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4),a=t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4),o=n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4),.2126*i+.7152*a+.0722*o},setAlpha:function(e){return this._a=E(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=g(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=g(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),i=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),i=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return _(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*F(this._r,255))+"%",g:c(100*F(this._g,255))+"%",b:c(100*F(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*F(this._r,255))+"%, "+c(100*F(this._g,255))+"%, "+c(100*F(this._b,255))+"%)":"rgba("+c(100*F(this._r,255))+"%, "+c(100*F(this._g,255))+"%, "+c(100*F(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+M(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var r=h(e);n="#"+M(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,i=this._a<1&&this._a>=0,r=!t&&i&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e);return r?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return h(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(L,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(S,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(k,arguments)},greyscale:function(){return this._applyModification(C,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(V,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(j,arguments)},splitcomplement:function(){return this._applyCombination(D,arguments)},triad:function(){return this._applyCombination(z,arguments)},tetrad:function(){return this._applyCombination(H,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]="a"===i?e[i]:K(e[i]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:d(),g:d(),b:d()})},h.mix=function(e,t,n){n=0===n?0:n||50;var i=h(e).toRgb(),r=h(t).toRgb(),a=n/100,o={r:(r.r-i.r)*a+i.r,g:(r.g-i.g)*a+i.g,b:(r.b-i.b)*a+i.b,a:(r.a-i.a)*a+i.a};return h(o)},h.readability=function(e,t){var n=h(e),i=h(t);return(r.max(n.getLuminance(),i.getLuminance())+.05)/(r.min(n.getLuminance(),i.getLuminance())+.05)},h.isReadable=function(e,t,n){var i,r,a=h.readability(e,t);switch(r=!1,i=X(n),i.level+i.size){case"AAsmall":case"AAAlarge":r=a>=4.5;break;case"AAlarge":r=a>=3;break;case"AAAsmall":r=a>=7;break}return r},h.mostReadable=function(e,t,n){var i,r,a,o,s=null,c=0;n=n||{},r=n.includeFallbackColors,a=n.level,o=n.size;for(var l=0;lc&&(c=i,s=h(t[l]));return h.isReadable(e,s,{level:a,size:o})||!r?s:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var Y=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=h.hexNames=A(Y);function A(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function E(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function F(e,t){R(e)&&(e="100%");var n=N(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function $(e){return l(1,u(0,e))}function I(e){return parseInt(e,16)}function R(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function N(e){return"string"===typeof e&&-1!=e.indexOf("%")}function W(e){return 1==e.length?"0"+e:""+e}function K(e){return e<=1&&(e=100*e+"%"),e}function B(e){return r.round(255*parseFloat(e)).toString(16)}function U(e){return I(e)/255}var q=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+i),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+i),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+i),hsva:new RegExp("hsva"+r),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function G(e){return!!q.CSS_UNIT.exec(e)}function J(e){e=e.replace(a,"").replace(o,"").toLowerCase();var t,n=!1;if(Y[e])e=Y[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=q.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=q.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=q.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=q.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=q.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=q.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=q.hex8.exec(e))?{r:I(t[1]),g:I(t[2]),b:I(t[3]),a:U(t[4]),format:n?"name":"hex8"}:(t=q.hex6.exec(e))?{r:I(t[1]),g:I(t[2]),b:I(t[3]),format:n?"name":"hex"}:(t=q.hex4.exec(e))?{r:I(t[1]+""+t[1]),g:I(t[2]+""+t[2]),b:I(t[3]+""+t[3]),a:U(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=q.hex3.exec(e))&&{r:I(t[1]+""+t[1]),g:I(t[2]+""+t[2]),b:I(t[3]+""+t[3]),format:n?"name":"hex"}}function X(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}e.exports?e.exports=h:(i=function(){return h}.call(t,n,t,e),void 0===i||(e.exports=i))})(Math)},6747:function(e,t){var n=Array.isArray;e.exports=n},6751:function(e,t,n){var i=n("c9ca"),r=n("aaec"),a=n("ab81");function o(e){return r(e)?a(e):i(e)}e.exports=o},6784:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],i=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return i}))},"67ca":function(e,t,n){var i=n("cb5a");function r(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}e.exports=r},6858:function(e,t,n){"use strict";var i=n("2f9a"),r=n("ea34"),a=n("8a0d"),o=n("6ca1");e.exports=n("393a")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},6887:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+r(i[n],e)}function n(e){switch(i(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function i(e){return e>9?i(e%10):e}function r(e,t){return 2===t?a(e):e}function a(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,l=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],f=e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:c,monthsShortStrictRegex:l,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}});return f}))},"688b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},6909:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"693d":function(e,t,n){"use strict";var i=n("ef08"),r=n("9c0e"),a=n("0bad"),o=n("512c"),s=n("ba01"),c=n("e34a").KEY,l=n("4b8b"),u=n("b367"),d=n("92f0"),h=n("8b1a"),f=n("cc15"),p=n("fcd4"),m=n("e198"),v=n("0ae2"),g=n("4ebc"),y=n("77e9"),b=n("7a41"),_=n("0983"),M=n("6ca1"),w=n("3397"),k=n("10db"),C=n("6f4f"),L=n("1836"),x=n("4d20"),S=n("fed5"),O=n("1a14"),T=n("9876"),z=x.f,H=O.f,D=L.f,V=i.Symbol,j=i.JSON,Y=j&&j.stringify,P="prototype",A=f("_hidden"),E=f("toPrimitive"),F={}.propertyIsEnumerable,$=u("symbol-registry"),I=u("symbols"),R=u("op-symbols"),N=Object[P],W="function"==typeof V&&!!S.f,K=i.QObject,B=!K||!K[P]||!K[P].findChild,U=a&&l((function(){return 7!=C(H({},"a",{get:function(){return H(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=z(N,t);i&&delete N[t],H(e,t,n),i&&e!==N&&H(N,t,i)}:H,q=function(e){var t=I[e]=C(V[P]);return t._k=e,t},G=W&&"symbol"==typeof V.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof V},J=function(e,t,n){return e===N&&J(R,t,n),y(e),t=w(t,!0),y(n),r(I,t)?(n.enumerable?(r(e,A)&&e[A][t]&&(e[A][t]=!1),n=C(n,{enumerable:k(0,!1)})):(r(e,A)||H(e,A,k(1,{})),e[A][t]=!0),U(e,t,n)):H(e,t,n)},X=function(e,t){y(e);var n,i=v(t=M(t)),r=0,a=i.length;while(a>r)J(e,n=i[r++],t[n]);return e},Z=function(e,t){return void 0===t?C(e):X(C(e),t)},Q=function(e){var t=F.call(this,e=w(e,!0));return!(this===N&&r(I,e)&&!r(R,e))&&(!(t||!r(this,e)||!r(I,e)||r(this,A)&&this[A][e])||t)},ee=function(e,t){if(e=M(e),t=w(t,!0),e!==N||!r(I,t)||r(R,t)){var n=z(e,t);return!n||!r(I,t)||r(e,A)&&e[A][t]||(n.enumerable=!0),n}},te=function(e){var t,n=D(M(e)),i=[],a=0;while(n.length>a)r(I,t=n[a++])||t==A||t==c||i.push(t);return i},ne=function(e){var t,n=e===N,i=D(n?R:M(e)),a=[],o=0;while(i.length>o)!r(I,t=i[o++])||n&&!r(N,t)||a.push(I[t]);return a};W||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===N&&t.call(R,n),r(this,A)&&r(this[A],e)&&(this[A][e]=!1),U(this,e,k(1,n))};return a&&B&&U(N,e,{configurable:!0,set:t}),q(e)},s(V[P],"toString",(function(){return this._k})),x.f=ee,O.f=J,n("6438").f=L.f=te,n("1917").f=Q,S.f=ne,a&&!n("e444")&&s(N,"propertyIsEnumerable",Q,!0),p.f=function(e){return q(f(e))}),o(o.G+o.W+o.F*!W,{Symbol:V});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)f(ie[re++]);for(var ae=T(f.store),oe=0;ae.length>oe;)m(ae[oe++]);o(o.S+o.F*!W,"Symbol",{for:function(e){return r($,e+="")?$[e]:$[e]=V(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in $)if($[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),o(o.S+o.F*!W,"Object",{create:Z,defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l((function(){S.f(1)}));o(o.S+o.F*se,"Object",{getOwnPropertySymbols:function(e){return S.f(_(e))}}),j&&o(o.S+o.F*(!W||l((function(){var e=V();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),i[1]=t,Y.apply(j,i)}}),V[P][E]||n("051b")(V[P],E,V[P].valueOf),d(V,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"69d5":function(e,t,n){var i=n("cb5a"),r=Array.prototype,a=r.splice;function o(e){var t=this.__data__,n=i(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():a.call(t,n,1),--this.size,!0}e.exports=o},"6aa8":function(e,t,n){var i=n("4d88"),r=n("cc15")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"6ca1":function(e,t,n){var i=n("9fbb"),r=n("c901");e.exports=function(e){return i(r(e))}},"6ce3":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"6d08":function(e,t,n){(function(t){(function(){var n,i,r,a,o,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-o)/1e6},i=t.hrtime,n=function(){var e;return e=i(),1e9*e[0]+e[1]},a=n(),s=1e9*t.uptime(),o=a-s):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)}).call(this,n("4362"))},"6d2f":function(e,t,n){var i=n("8a0d"),r=n("cc15")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[r]===e)}},"6d79":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},"6d83":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"6da8":function(e,t){function n(e){return e.split("")}e.exports=n},"6dd8":function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,i){return e[0]===t&&(n=i,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=l.some((function(e){return!!~n.indexOf(e)}));i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),O="undefined"!==typeof WeakMap?new WeakMap:new n,T=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),i=new S(t,n,this);O.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));var z=function(){return"undefined"!==typeof r.ResizeObserver?r.ResizeObserver:T}();t["a"]=z}).call(this,n("c8ba"))},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6f12":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6f4f":function(e,t,n){var i=n("77e9"),r=n("85e7"),a=n("9742"),o=n("5a94")("IE_PROTO"),s=function(){},c="prototype",l=function(){var e,t=n("05f5")("iframe"),i=a.length,r="<",o=">";t.style.display="none",n("9141").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+o+"document.F=Object"+r+"/script"+o),e.close(),l=e.F;while(i--)delete l[c][a[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=i(e),n=new s,s[c]=null,n[o]=e):n=l(),void 0===t?n:r(n,t)}},"6f50":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"6f6c":function(e,t){var n=/\w*$/;function i(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}e.exports=i},"6fcd":function(e,t,n){var i=n("50d8"),r=n("d370"),a=n("6747"),o=n("0d24"),s=n("c098"),c=n("73ac"),l=Object.prototype,u=l.hasOwnProperty;function d(e,t){var n=a(e),l=!n&&r(e),d=!n&&!l&&o(e),h=!n&&!l&&!d&&c(e),f=n||l||d||h,p=f?i(e.length,String):[],m=p.length;for(var v in e)!t&&!u.call(e,v)||f&&("length"==v||d&&("offset"==v||"parent"==v)||h&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}e.exports=d},7118:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),i=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return i}))},"72af":function(e,t,n){var i=n("99cd"),r=i();e.exports=r},"72f0":function(e,t){function n(e){return function(){return e}}e.exports=n},7333:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},"73ac":function(e,t,n){var i=n("743f"),r=n("b047f"),a=n("99d3"),o=a&&a.isTypedArray,s=o?r(o):i;e.exports=s},"743f":function(e,t,n){var i=n("3729"),r=n("b218"),a=n("1310"),o="[object Arguments]",s="[object Array]",c="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",f="[object Number]",p="[object Object]",m="[object RegExp]",v="[object Set]",g="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",M="[object Float32Array]",w="[object Float64Array]",k="[object Int8Array]",C="[object Int16Array]",L="[object Int32Array]",x="[object Uint8Array]",S="[object Uint8ClampedArray]",O="[object Uint16Array]",T="[object Uint32Array]",z={};function H(e){return a(e)&&r(e.length)&&!!z[i(e)]}z[M]=z[w]=z[k]=z[C]=z[L]=z[x]=z[S]=z[O]=z[T]=!0,z[o]=z[s]=z[b]=z[c]=z[_]=z[l]=z[u]=z[d]=z[h]=z[f]=z[p]=z[m]=z[v]=z[g]=z[y]=!1,e.exports=H},"74dc":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t}))},"750a":function(e,t,n){var i=n("c869"),r=n("bcdf"),a=n("ac41"),o=1/0,s=i&&1/a(new i([,-0]))[1]==o?function(e){return new i(e)}:r;e.exports=s},7530:function(e,t,n){var i=n("1a8c"),r=Object.create,a=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},"76dd":function(e,t,n){var i=n("ce86");function r(e){return null==e?"":i(e)}e.exports=r},7746:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("66cb")),a=2,o=16,s=5,c=5,l=15,u=5,d=4;function h(e,t,n){var i;return i=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-a*t:Math.round(e.h)+a*t:n?Math.round(e.h)+a*t:Math.round(e.h)-a*t,i<0?i+=360:i>=360&&(i-=360),i}function f(e,t,n){return 0===e.h&&0===e.s?e.s:(i=n?Math.round(100*e.s)-o*t:t===d?Math.round(100*e.s)+o:Math.round(100*e.s)+s*t,i>100&&(i=100),n&&t===u&&i>10&&(i=10),i<6&&(i=6),i);var i}function p(e,t,n){return n?Math.round(100*e.v)+c*t:Math.round(100*e.v)-l*t}function m(e){for(var t=[],n=r.default(e),i=u;i>0;i-=1){var a=n.toHsv(),o=r.default({h:h(a,i,!0),s:f(a,i,!0),v:p(a,i,!0)}).toHexString();t.push(o)}t.push(n.toHexString());for(i=1;i<=d;i+=1){a=n.toHsv(),o=r.default({h:h(a,i),s:f(a,i),v:p(a,i)}).toHexString();t.push(o)}return t}t.default=m},"77e9":function(e,t,n){var i=n("7a41");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},7948:function(e,t){function n(e,t){var n=-1,i=null==e?0:e.length,r=Array(i);while(++n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2],i=e;if(Array.isArray(e)&&(i=Object(s["c"])(e)[0]),!i)return null;var a=u(i,n),c=t.props,d=void 0===c?{}:c,h=t.key,f=t.on,p=void 0===f?{}:f,m=t.nativeOn,v=void 0===m?{}:m,g=t.children,y=t.directives,b=void 0===y?[]:y,_=a.data||{},M={},w={},k=t.attrs,C=void 0===k?{}:k,L=t.ref,x=t.domProps,S=void 0===x?{}:x,O=t.style,T=void 0===O?{}:O,z=t["class"],H=void 0===z?{}:z,D=t.scopedSlots,V=void 0===D?{}:D;return w="string"===typeof _.style?Object(s["y"])(_.style):o()({},_.style,w),w="string"===typeof T?o()({},w,Object(s["y"])(w)):o()({},w,T),"string"===typeof _["class"]&&""!==_["class"].trim()?_["class"].split(" ").forEach((function(e){M[e.trim()]=!0})):Array.isArray(_["class"])?l()(_["class"]).split(" ").forEach((function(e){M[e.trim()]=!0})):M=o()({},_["class"],M),"string"===typeof H&&""!==H.trim()?H.split(" ").forEach((function(e){M[e.trim()]=!0})):M=o()({},M,H),a.data=o()({},_,{style:w,attrs:o()({},_.attrs,C),class:M,domProps:o()({},_.domProps,S),scopedSlots:o()({},_.scopedSlots,V),directives:[].concat(r()(_.directives||[]),r()(b))}),a.componentOptions?(a.componentOptions.propsData=a.componentOptions.propsData||{},a.componentOptions.listeners=a.componentOptions.listeners||{},a.componentOptions.propsData=o()({},a.componentOptions.propsData,d),a.componentOptions.listeners=o()({},a.componentOptions.listeners,p),g&&(a.componentOptions.children=g)):(g&&(a.children=g),a.data.on=o()({},a.data.on||{},p)),a.data.on=o()({},a.data.on||{},v),void 0!==h&&(a.key=h,a.data.key=h),"string"===typeof L&&(a.data.ref=L),a}},"7b83":function(e,t,n){var i=n("7c64"),r=n("93ed"),a=n("2478"),o=n("a524"),s=n("1fc8");function c(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?a+(i(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?a+(i(e)?"dni":"dní"):a+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(i(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(i(e)?"roky":"rokov"):a+"rokmi"}}var a=e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"7c64":function(e,t,n){var i=n("e24b"),r=n("5e2e"),a=n("79bc");function o(){this.size=0,this.__data__={hash:new i,map:new(a||r),string:new i}}e.exports=o},"7d1c":function(e,t,n){"use strict";e.exports=n("1d31")},"7d1f":function(e,t,n){var i=n("087d"),r=n("6747");function a(e,t,n){var a=t(e);return r(e)?a:i(a,n(e))}e.exports=a},"7d42":function(e,t,n){n("658f"),n("0b99"),e.exports=n("b1b3")},"7e64":function(e,t,n){var i=n("5e2e"),r=n("efb6"),a=n("2fcc"),o=n("802a"),s=n("55a3"),c=n("d02c");function l(e){var t=this.__data__=new i(e);this.size=t.size}l.prototype.clear=r,l.prototype["delete"]=a,l.prototype.get=o,l.prototype.has=s,l.prototype.set=c,e.exports=l},"7ed2":function(e,t){var n="__lodash_hash_undefined__";function i(e){return this.__data__.set(e,n),this}e.exports=i},"7f33":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t}))},"802a":function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},8057:function(e,t){function n(e,t){var n=-1,i=null==e?0:e.length;while(++n10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"85e3":function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},"85e7":function(e,t,n){var i=n("1a14"),r=n("77e9"),a=n("9876");e.exports=n("0bad")?Object.defineProperties:function(e,t){r(e);var n,o=a(t),s=o.length,c=0;while(s>c)i.f(e,n=o[c++],t[n]);return e}},8604:function(e,t,n){var i=n("26e8"),r=n("e2c0");function a(e,t){return null!=e&&r(e,t,i)}e.exports=a},8689:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},i=e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return i}))},"872a":function(e,t,n){var i=n("3b4a");function r(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=r},8771:function(e,t,n){var i=n("cc15")("iterator"),r=!1;try{var a=[7][i]();a["return"]=function(){r=!0},Array.from(a,(function(){throw 2}))}catch(o){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a=[7],s=a[i]();s.next=function(){return{done:n=!0}},a[i]=function(){return s},e(a)}catch(o){}return n}},8827:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},8840:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"898b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return a}))},"89d9":function(e,t,n){var i=n("656b"),r=n("159a"),a=n("e2e4");function o(e,t,n){var o=-1,s=t.length,c={};while(++o11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var i=this._calendarEl[e],r=n&&n.hours();return t(i)&&(i=i.apply(n)),i.replace("{}",r%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n}))},"8d57":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function a(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(r(e)?"godziny":"godzin");case"ww":return i+(r(e)?"tygodnie":"tygodni");case"MM":return i+(r(e)?"miesiące":"miesięcy");case"yy":return i+(r(e)?"lata":"lat")}}var o=e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"8d74":function(e,t,n){var i=n("4cef"),r=/^\s+/;function a(e){return e?e.slice(0,i(e)+1).replace(r,""):e}e.exports=a},"8db3":function(e,t,n){var i=n("47f5");function r(e,t){var n=null==e?0:e.length;return!!n&&i(e,t,0)>-1}e.exports=r},"8de2":function(e,t,n){var i=n("8eeb"),r=n("9934");function a(e){return i(e,r(e))}e.exports=a},"8df4":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},i=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return i}))},"8df8":function(e,t,n){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(e){e||(e={});var t=e.ua;if(t||"undefined"===typeof navigator||(t=navigator.userAgent),t&&t.headers&&"string"===typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!==typeof t)return!1;var n=e.tablet?r.test(t):i.test(t);return!n&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(n=!0),n}},"8e73":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,n,a,o){var s=i(t),c=r[e][i(t)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},"8e8e":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}},"8e95":function(e,t,n){var i=n("c195");e.exports=new i},"8eeb":function(e,t,n){var i=n("32b3"),r=n("872a");function a(e,t,n,a){var o=!n;n||(n={});var s=-1,c=t.length;while(++s=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return i}))},"90ea":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},9141:function(e,t,n){var i=n("ef08").document;e.exports=i&&i.documentElement},9152:function(e,t){ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,n,i,r){var a,o,s=8*r-i-1,c=(1<>1,u=-7,d=n?r-1:0,h=n?-1:1,f=e[t+d];for(d+=h,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=i;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-l;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),a-=l}return(f?-1:1)*o*Math.pow(2,a-i)},t.write=function(e,t,n,i,r,a){var o,s,c,l=8*a-r-1,u=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),t+=o+d>=1?h/c:h*Math.pow(2,1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*Math.pow(2,r),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;e[n+f]=255&s,f+=p,s/=256,r-=8);for(o=o<0;e[n+f]=255&o,f+=p,o/=256,l-=8);e[n+f-p]|=128*m}},"91e9":function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},"92f0":function(e,t,n){var i=n("1a14").f,r=n("9c0e"),a=n("cc15")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},"92fa":function(e,t){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function i(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var r,a,o,s,c;for(o in t)if(r=e[o],a=t[o],r&&n.test(o))if("class"===o&&("string"===typeof r&&(c=r,e[o]=r={},r[c]=!0),"string"===typeof a&&(c=a,t[o]=a={},a[c]=!0)),"on"===o||"nativeOn"===o||"hook"===o)for(s in a)r[s]=i(r[s],a[s]);else if(Array.isArray(r))e[o]=r.concat(a);else if(Array.isArray(a))e[o]=[r].concat(a);else for(s in a)r[s]=a[s];else e[o]=t[o];return e}),{})}},"93ed":function(e,t,n){var i=n("4245");function r(e){var t=i(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=r},"93ff":function(e,t,n){e.exports={default:n("7b9e"),__esModule:!0}},"94eb":function(e,t,n){"use strict";var i=n("18ce"),r=function(){},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.beforeEnter,a=t.enter,o=t.afterEnter,s=t.leave,c=t.afterLeave,l=t.appear,u=void 0===l||l,d=t.tag,h=t.nativeOn,f={props:{appear:u,css:!1},on:{beforeEnter:n||r,enter:a||function(t,n){Object(i["a"])(t,e+"-enter",n)},afterEnter:o||r,leave:s||function(t,n){Object(i["a"])(t,e+"-leave",n)},afterLeave:c||r},nativeOn:h};return d&&(f.tag=d),f};t["a"]=a},"950a":function(e,t,n){var i=n("30c9");function r(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);var a=n.length,o=t?a:-1,s=Object(n);while(t?o--:++o=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":e+" "+t(r[i],+e)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],r=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return r}))},"958b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,i){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var n=e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return n}))},9609:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},9638:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},"966f":function(e,t,n){var i=n("7e64"),r=n("c05f"),a=1,o=2;function s(e,t,n,s){var c=n.length,l=c,u=!s;if(null==e)return!l;e=Object(e);while(c--){var d=n[c];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}while(++c=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return i}))},"96f3":function(e,t){var n=Object.prototype,i=n.hasOwnProperty;function r(e,t){return null!=e&&i.call(e,t)}e.exports=r},"972c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+i[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n}))},9742:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},9797:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=i[t]),e+n},week:{dow:1,doy:4}});return t}))},9876:function(e,t,n){var i=n("03d6"),r=n("9742");e.exports=Object.keys||function(e){return i(e,r)}},9934:function(e,t,n){var i=n("6fcd"),r=n("41c3"),a=n("30c9");function o(e){return a(e)?i(e,!0):r(e)}e.exports=o},"99cd":function(e,t){function n(e){return function(t,n,i){var r=-1,a=Object(t),o=i(t),s=o.length;while(s--){var c=o[e?s:++r];if(!1===n(a[c],c,a))break}return t}}e.exports=n},"99d3":function(e,t,n){(function(e){var i=n("585a"),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===r,s=o&&i.process,c=function(){try{var e=a&&a.require&&a.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=c}).call(this,n("62e4")(e))},"9a4b":function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var i=function(e){return"function"===typeof e},r=function(e){return"number"===typeof e&&!isNaN(e)},a=function(e){return e.constructor===Array},o=function(e){if(i(e))return e},s=function(e,t,n){return r(e)?0===e?n:e:t};function c(){if(this.tasks.list.length)this.tasks.running=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var k=(v=m=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};w(this,e),g.call(this);var n=t.concurrency,i=t.onAdd,r=t.onStart,a=t.onDone,s=t.onEnd,c=M(t,["concurrency","onAdd","onStart","onDone","onEnd"]);this.config=_({autoStart:!0,name:"Runner "+ ++e.runnerCount},c),this.setConcurrency(n),this.onAdd=o(i),this.onStart=o(r),this.onDone=o(a),this.onEnd=o(s),Object.seal(this)},m.runnerCount=0,g=function(){var e=this;this.__working=!1,this.tasks={list:[],total:0,completed:0,running:0},this.duration={start:0,end:0,total:0},this.isBusy=function(){return e.__working},this.setConcurrency=function(t){t=parseInt(t,10),r(t)||console.warn(b.call(e,"concurrency_not_a_number")),t<0&&(t=Math.abs(t),console.warn(b.call(e,"concurrency_should_be_positive_integer"))),e.concurrency=s(t,3,e.tasks.total),e.__working&&p.call(e)},this.start=function(){return e.__working?(console.warn(b.call(e,"already_running")),!1):e.config.autoStart?(console.warn(b.call(e,"auto_start_true")),!1):(u.call(e),p.call(e),!0)},this.add=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(i(t)){var r=e.config.autoStart;return n?e.tasks.list.push(t):e.tasks.list.unshift(t),e.tasks.total++,r&&f.call(e),d.call(e),!0}throw new TypeError(b("add_requires_function"))},this.addFirst=function(t){e.add(t,!0)},this.addMultiple=function(t,n){if(a(t)&&t.every((function(e){return i(e)}))){var r=e.config.autoStart;return e.tasks=_({},e.tasks,{list:n?[].concat(t,e.tasks.list):[].concat(e.tasks.list,t),total:e.tasks.total+t.length}),r&&f.call(e),d.call(e),!0}throw new TypeError(b.call(e,"add_multiple_requires_array_of_functions"))},this.addMultipleFirst=function(t){e.addMultiple(t,first)},this.remove=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t?e.tasks.list.shift():e.tasks.list.pop();return e.tasks.total=e.tasks.list.length+e.tasks.completed,h.call(e),n},this.removeFirst=function(){e.remove(!0)},this.removeAt=function(t){var n=e.tasks.list.splice(t,1);return e.tasks.total=e.tasks.list.length+e.tasks.completed,h.call(e),n},this.removeAll=function(){return e.tasks.list=[],e.tasks.total=e.tasks.completed,h.call(e),e.tasks.list}},v)},"9aff":function(e,t,n){var i=n("9638"),r=n("30c9"),a=n("c098"),o=n("1a8c");function s(e,t,n){if(!o(n))return!1;var s=typeof t;return!!("number"==s?r(n)&&a(t,n.length):"string"==s&&t in n)&&i(n[t],e)}e.exports=s},"9b02":function(e,t,n){var i=n("656b");function r(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}e.exports=r},"9b21":function(e,t,n){n("0b99"),n("084e"),e.exports=n("5524").Array.from},"9b57":function(e,t,n){"use strict";t.__esModule=!0;var i=n("adf5"),r=a(i);function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);th))return!1;var p=u.get(e),m=u.get(t);if(p&&m)return p==t&&m==e;var v=-1,g=!0,y=n&s?new i:void 0;u.set(e,t),u.set(t,e);while(++v=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(i,r,a,o){var s=t(i),c=n[e][t(i)];return 2===s&&(c=c[r?0:1]),c.replace(/%d/i,i)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return a}))},a454:function(e,t,n){var i=n("72f0"),r=n("3b4a"),a=n("cd9d"),o=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:a;e.exports=o},a48b:function(e,t,n){var i=n("0497"),r=function(e){var t=/[height|width]$/;return t.test(e)},a=function(e){var t="",n=Object.keys(e);return n.forEach((function(a,o){var s=e[a];a=i(a),r(a)&&"number"===typeof s&&(s+="px"),t+=!0===s?a:!1===s?"not "+a:"("+a+": "+s+")",o12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return n}))},ab81:function(e,t){var n="\\ud800-\\udfff",i="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",o=i+r+a,s="\\ufe0e\\ufe0f",c="["+n+"]",l="["+o+"]",u="\\ud83c[\\udffb-\\udfff]",d="(?:"+l+"|"+u+")",h="[^"+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",m="\\u200d",v=d+"?",g="["+s+"]?",y="(?:"+m+"(?:"+[h,f,p].join("|")+")"+g+v+")*",b=g+v+y,_="(?:"+[h+l+"?",l,f,p,c].join("|")+")",M=RegExp(u+"(?="+u+")|"+_+b,"g");function w(e){var t=M.lastIndex=0;while(M.test(e))++t;return t}e.exports=w},ac41:function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}e.exports=n},ada2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){var r={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===i?n?"хвилина":"хвилину":"h"===i?n?"година":"годину":e+" "+t(r[i],+e)}function i(e,t){var n,i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?i["nominative"].slice(1,7).concat(i["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",i[n][e.day()]):i["nominative"]}function r(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return a}))},adf5:function(e,t,n){e.exports={default:n("9b21"),__esModule:!0}},b047:function(e,t,n){var i=n("1a8c"),r=n("408c"),a=n("b4b0"),o="Expected a function",s=Math.max,c=Math.min;function l(e,t,n){var l,u,d,h,f,p,m=0,v=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(o);function b(t){var n=l,i=u;return l=u=void 0,m=t,h=e.apply(i,n),h}function _(e){return m=e,f=setTimeout(k,t),v?b(e):h}function M(e){var n=e-p,i=e-m,r=t-n;return g?c(r,d-i):r}function w(e){var n=e-p,i=e-m;return void 0===p||n>=t||n<0||g&&i>=d}function k(){var e=r();if(w(e))return C(e);f=setTimeout(k,M(e))}function C(e){return f=void 0,y&&l?b(e):(l=u=void 0,h)}function L(){void 0!==f&&clearTimeout(f),m=0,l=p=u=f=void 0}function x(){return void 0===f?h:C(r())}function S(){var e=r(),n=w(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return _(p);if(g)return clearTimeout(f),f=setTimeout(k,t),b(p)}return void 0===f&&(f=setTimeout(k,t)),h}return t=a(t)||0,i(n)&&(v=!!n.leading,g="maxWait"in n,d=g?s(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),S.cancel=L,S.flush=x,S}e.exports=l},b047f:function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},b0a8:function(e,t){var n=9007199254740991,i=Math.floor;function r(e,t){var r="";if(!e||t<1||t>n)return r;do{t%2&&(r+=e),t=i(t/2),t&&(e+=e)}while(t);return r}e.exports=r},b1b3:function(e,t,n){var i=n("77e9"),r=n("23dd");e.exports=n("5524").getIterator=function(e){var t=r(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return i(t.call(e))}},b1e5:function(e,t,n){var i=n("a994"),r=1,a=Object.prototype,o=a.hasOwnProperty;function s(e,t,n,a,s,c){var l=n&r,u=i(e),d=u.length,h=i(t),f=h.length;if(d!=f&&!l)return!1;var p=d;while(p--){var m=u[p];if(!(l?m in t:o.call(t,m)))return!1}var v=c.get(e),g=c.get(t);if(v&&g)return v==t&&g==e;var y=!0;c.set(e,t),c.set(t,e);var b=l;while(++p-1&&e%1==0&&e<=n}e.exports=i},b24f:function(e,t,n){"use strict";t.__esModule=!0;var i=n("93ff"),r=s(i),a=n("1727"),o=s(a);function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var s,c=(0,o.default)(e);!(i=(s=c.next()).done);i=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&c["return"]&&c["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,r.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},b29d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t}))},b367:function(e,t,n){var i=n("5524"),r=n("ef08"),a="__core-js_shared__",o=r[a]||(r[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("e444")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},b3eb:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b469:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b488:function(e,t,n){"use strict";var i=n("9b57"),r=n.n(i),a=n("41b2"),o=n.n(a),s=n("daa3");t["a"]={methods:{setState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n="function"===typeof e?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){var i=this.getDerivedStateFromProps(Object(s["l"])(this),o()({},this.$data,n));if(null===i)return;n=o()({},n,i||{})}o()(this.$data,n),this.$forceUpdate(),this.$nextTick((function(){t&&t()}))},__emit:function(){var e=[].slice.call(arguments,0),t=e[0],n=this.$listeners[t];if(e.length&&n)if(Array.isArray(n))for(var i=0,a=n.length;i=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},b5a7:function(e,t,n){var i=n("0b07"),r=n("2b3e"),a=i(r,"DataView");e.exports=a},b5b7:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return a}))},b639:function(e,t,n){"use strict";(function(e){ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -var i=n("1fb5"),r=n("9152"),a=n("e3db");function o(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),l.alloc(+e)}function _(e,t){if(l.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(i)return J(e).length;t=(""+t).toLowerCase(),i=!0}}function M(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return Y(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return H(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function w(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function k(e,t,n,i,r){if(0===e.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:C(e,t,n,i,r);if("number"===typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):C(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function C(e,t,n,i,r){var a,o=1,s=e.length,c=t.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var u=-1;for(a=n;as&&(n=s-c),a=n;a>=0;a--){for(var d=!0,h=0;hr&&(i=r)):i=r;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o239?4:l>223?3:l>191?2:1;if(r+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:a=e[r+1],128===(192&a)&&(c=(31&l)<<6|63&a,c>127&&(u=c));break;case 3:a=e[r+1],o=e[r+2],128===(192&a)&&128===(192&o)&&(c=(15&l)<<12|(63&a)<<6|63&o,c>2047&&(c<55296||c>57343)&&(u=c));break;case 4:a=e[r+1],o=e[r+2],s=e[r+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s,c>65535&&c<1114112&&(u=c))}null===u?(u=65533,d=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return j(i)}t.Buffer=l,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:o(),t.kMaxLength=s(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return u(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return h(null,e,t,n)},l.allocUnsafe=function(e){return f(null,e)},l.allocUnsafeSlow=function(e){return f(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,a=Math.min(n,i);r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var a=r-i,o=n-t,s=Math.min(a,o),c=this.slice(i,r),u=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return L(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var V=4096;function j(e){var t=e.length;if(t<=V)return String.fromCharCode.apply(String,e);var n="",i=0;while(ii)&&(n=i);for(var r="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function $(e,t,n,i,r,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function I(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function R(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function N(e,t,n,i,r,a){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(e,t,n,i,a){return a||N(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function K(e,t,n,i,a){return a||N(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if(e=~~e,t=void 0===t?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t0&&(r*=256))i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var i=this[e],r=1,a=0;while(++a=r&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var i=t,r=1,a=this[e+--i];while(i>0&&(r*=256))a+=this[e+--i]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;$(this,e,t,n,r,0)}var a=1,o=0;this[t]=255&e;while(++o=0&&(o*=256))this[t+a]=e/o&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);$(this,e,t,n,r-1,-r)}var a=0,o=1,s=0;this[t]=255&e;while(++a>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);$(this,e,t,n,r-1,-r)}var a=n-1,o=1,s=0;this[t+a]=255&e;while(--a>=0&&(o*=256))e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return W(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return W(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return K(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return K(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(a=t;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function X(e){for(var t=[],n=0;n>8,r=n%256,a.push(r),a.push(i)}return a}function Q(e){return i.toByteArray(U(e))}function ee(e,t,n,i){for(var r=0;r=t.length||r>=e.length)break;t[r+n]=e[r]}return r}function te(e){return e!==e}}).call(this,n("c8ba"))},b760:function(e,t,n){var i=n("872a"),r=n("9638");function a(e,t,n){(void 0!==n&&!r(e[t],n)||void 0===n&&!(t in e))&&i(e,t,n)}e.exports=a},b7e9:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},b84c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},b8ad:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t,n){n=n||{},n.childrenKeyName=n.childrenKeyName||"children";var i=e||[],r=[],a=0;do{var o=i.filter((function(e){return t(e,a)}))[0];if(!o)break;r.push(o),i=o[n.childrenKeyName]||[],a+=1}while(i.length>0);return r}return e}))},b97c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}function a(e,t){return t?"dažas sekundes":"dažām sekundēm"}var o=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:a,ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},b9c7:function(e,t,n){n("e507"),e.exports=n("5524").Object.assign},ba01:function(e,t,n){e.exports=n("051b")},badf:function(e,t,n){var i=n("642a"),r=n("1838"),a=n("cd9d"),o=n("6747"),s=n("f9ce");function c(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?o(e)?r(e[0],e[1]):i(e):s(e)}e.exports=c},bb71:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},bbc0:function(e,t,n){var i=n("6044"),r="__lodash_hash_undefined__",a=Object.prototype,o=a.hasOwnProperty;function s(e){var t=this.__data__;if(i){var n=t[e];return n===r?void 0:n}return o.call(t,e)?t[e]:void 0}e.exports=s},bcdf:function(e,t){function n(){}e.exports=n},bcf7:function(e,t,n){var i=n("9020"),r=n("217d").each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new i(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;r(t,(function(n,i){if(n.equals(e))return n.destroy(),!t.splice(i,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";r(this.handlers,(function(t){t[e]()}))}},e.exports=a},c005:function(e,t,n){var i=n("2686"),r=n("b047f"),a=n("99d3"),o=a&&a.isRegExp,s=o?r(o):i;e.exports=s},c05f:function(e,t,n){var i=n("7b97"),r=n("1310");function a(e,t,n,o,s){return e===t||(null==e||null==t||!r(e)&&!r(t)?e!==e&&t!==t:i(e,t,n,o,a,s))}e.exports=a},c098:function(e,t){var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function r(e,t){var r=typeof e;return t=null==t?n:t,!!t&&("number"==r||"symbol"!=r&&i.test(e))&&e>-1&&e%1==0&&e0&&void 0!==arguments[0]?arguments[0]:{};this.options=Object.assign(this.options,e)}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=JSON.stringify({value:t,expire:null!==n?(new Date).getTime()+n:null});this.storage.setItem(this.options.namespace+e,i)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.storage.getItem(this.options.namespace+e);if(null!==n)try{var i=JSON.parse(n);if(null===i.expire)return i.value;if(i.expire>=(new Date).getTime())return i.value;this.remove(e)}catch(r){return t}return t}},{key:"key",value:function(e){return this.storage.key(e)}},{key:"remove",value:function(e){return this.storage.removeItem(this.options.namespace+e)}},{key:"clear",value:function(){if(0!==this.length){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=o(o({},t),{},{storage:t.storage||"local",name:t.name||"ls"});if(n.storage&&-1===["memory","local","session"].indexOf(n.storage))throw new Error('Vue-ls: Storage "'.concat(n.storage,'" is not supported'));var i=null;switch(n.storage){case"local":i="localStorage"in f?f.localStorage:null;break;case"session":i="sessionStorage"in f?f.sessionStorage:null;break;case"memory":i=l;break}i||(i=l,console.error('Vue-ls: Storage "'.concat(n.storage,'" is not supported your system, use memory storage')));var r=new h(i);r.setOptions(Object.assign(r.options,{namespace:""},n||{})),e[n.name]=r,Object.defineProperty(e.prototype||e.config.globalProperties,"$".concat(n.name),{get:function(){return r}})}};return f.VueStorage=p,p}))}).call(this,n("c8ba"))},c183:function(e,t,n){var i=n("512c");i(i.S+i.F*!n("0bad"),"Object",{defineProperty:n("1a14").f})},c195:function(e,t,n){var i=n("bcf7"),r=n("217d"),a=r.each,o=r.isFunction,s=r.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,n){var r=this.queries,c=n&&this.browserIsIncapable;return r[e]||(r[e]=new i(e,c)),o(t)&&(t={match:t}),s(t)||(t=[t]),a(t,(function(t){o(t)&&(t={match:t}),r[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=c},c1c9:function(e,t,n){var i=n("a454"),r=n("f3c1"),a=r(i);e.exports=a},c1df:function(e,t,n){(function(e){var t;//! moment.js -//! version : 2.29.1 -//! authors : Tim Wood, Iskren Chernev, Moment.js contributors -//! license : MIT -//! momentjs.com -(function(t,n){e.exports=n()})(0,(function(){"use strict";var i,r;function a(){return i.apply(null,arguments)}function o(e){i=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function c(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function d(e){return void 0===e}function h(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,i=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$={},I={};function R(e,t,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),e&&(I[e]=r),t&&(I[t[0]]=function(){return A(r.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function N(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,i=e.match(E);for(t=0,n=i.length;t=0&&F.test(e))e=e.replace(F,i),F.lastIndex=0,n-=1;return e}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(E).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function J(){return this._invalidDate}var X="%d",Z=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var ee={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function te(e,t,n,i){var r=this._relativeTime[n];return H(r)?r(e,t,n,i):r.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return H(n)?n(t):n.replace(/%s/i,t)}var ie={};function re(e,t){var n=e.toLowerCase();ie[n]=ie[n+"s"]=ie[t]=e}function ae(e){return"string"===typeof e?ie[e]||ie[e.toLowerCase()]:void 0}function oe(e){var t,n,i={};for(n in e)l(e,n)&&(t=ae(n),t&&(i[t]=e[n]));return i}var se={};function ce(e,t){se[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:se[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function ue(e){return e%4===0&&e%100!==0||e%400===0}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=de(t)),n}function fe(e,t){return function(n){return null!=n?(me(this,e,n),a.updateOffset(this,t),this):pe(this,e)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=he(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),tt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ve(e){return e=ae(e),H(this[e])?this[e]():this}function ge(e,t){if("object"===typeof e){e=oe(e);var n,i=le(e);for(n=0;n68?1900:2e3)};var yt=fe("FullYear",!0);function bt(){return ue(this.year())}function _t(e,t,n,i,r,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Mt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var i=7+t-n,r=(7+Mt(e,0,i).getUTCDay()-t)%7;return-r+i-1}function kt(e,t,n,i,r){var a,o,s=(7+n-i)%7,c=wt(e,i,r),l=1+7*(t-1)+s+c;return l<=0?(a=e-1,o=gt(a)+l):l>gt(e)?(a=e+1,o=l-gt(e)):(a=e,o=l),{year:a,dayOfYear:o}}function Ct(e,t,n){var i,r,a=wt(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(r=e.year()-1,i=o+Lt(r,t,n)):o>Lt(e.year(),t,n)?(i=o-Lt(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Lt(e,t,n){var i=wt(e,t,n),r=wt(e+1,t,n);return(gt(e)-i+r)/7}function xt(e){return Ct(e,this._week.dow,this._week.doy).week}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),ce("week",5),ce("isoWeek",5),Pe("w",Ce),Pe("ww",Ce,_e),Pe("W",Ce),Pe("WW",Ce,_e),Re(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=he(e)}));var St={dow:0,doy:6};function Ot(){return this._week.dow}function Tt(){return this._week.doy}function zt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ht(e){var t=Ct(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Dt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Vt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),ce("day",11),ce("weekday",11),ce("isoWeekday",11),Pe("d",Ce),Pe("e",Ce),Pe("E",Ce),Pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:y(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,i){t[i]=he(e)}));var Yt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),At="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Et=Ye,Ft=Ye,$t=Ye;function It(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(n,this._week.dow):e?n[e.day()]:n}function Rt(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Nt(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=v([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(r=We.call(this._weekdaysParse,o),-1!==r?r:null):"ddd"===t?(r=We.call(this._shortWeekdaysParse,o),-1!==r?r:null):(r=We.call(this._minWeekdaysParse,o),-1!==r?r:null):"dddd"===t?(r=We.call(this._weekdaysParse,o),-1!==r?r:(r=We.call(this._shortWeekdaysParse,o),-1!==r?r:(r=We.call(this._minWeekdaysParse,o),-1!==r?r:null))):"ddd"===t?(r=We.call(this._shortWeekdaysParse,o),-1!==r?r:(r=We.call(this._weekdaysParse,o),-1!==r?r:(r=We.call(this._minWeekdaysParse,o),-1!==r?r:null))):(r=We.call(this._minWeekdaysParse,o),-1!==r?r:(r=We.call(this._weekdaysParse,o),-1!==r?r:(r=We.call(this._shortWeekdaysParse,o),-1!==r?r:null)))}function Kt(e,t,n){var i,r,a;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=v([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Bt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Dt(e,this.localeData()),this.add(e-t,"d")):t}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Vt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Jt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$t),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=v([2e3,1]).day(t),i=Fe(this.weekdaysMin(n,"")),r=Fe(this.weekdaysShort(n,"")),a=Fe(this.weekdays(n,"")),o.push(i),s.push(r),c.push(a),l.push(i),l.push(r),l.push(a);o.sort(e),s.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qt(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function nn(e,t){return t._meridiemParse}function rn(e){return"p"===(e+"").toLowerCase().charAt(0)}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Qt),R("k",["kk",2],0,en),R("hmm",0,0,(function(){return""+Qt.apply(this)+A(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+Qt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),tn("a",!0),tn("A",!1),re("hour","h"),ce("hour",13),Pe("a",nn),Pe("A",nn),Pe("H",Ce),Pe("h",Ce),Pe("k",Ce),Pe("HH",Ce,_e),Pe("hh",Ce,_e),Pe("kk",Ce,_e),Pe("hmm",Le),Pe("hmmss",xe),Pe("Hmm",Le),Pe("Hmmss",xe),Ie(["H","HH"],qe),Ie(["k","kk"],(function(e,t,n){var i=he(e);t[qe]=24===i?0:i})),Ie(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ie(["h","hh"],(function(e,t,n){t[qe]=he(e),y(n).bigHour=!0})),Ie("hmm",(function(e,t,n){var i=e.length-2;t[qe]=he(e.substr(0,i)),t[Ge]=he(e.substr(i)),y(n).bigHour=!0})),Ie("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[qe]=he(e.substr(0,i)),t[Ge]=he(e.substr(i,2)),t[Je]=he(e.substr(r)),y(n).bigHour=!0})),Ie("Hmm",(function(e,t,n){var i=e.length-2;t[qe]=he(e.substr(0,i)),t[Ge]=he(e.substr(i))})),Ie("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[qe]=he(e.substr(0,i)),t[Ge]=he(e.substr(i,2)),t[Je]=he(e.substr(r))}));var an=/[ap]\.?m?\.?/i,on=fe("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var cn,ln={calendar:Y,longDateFormat:U,invalidDate:G,ordinal:X,dayOfMonthOrdinalParse:Z,relativeTime:ee,months:nt,monthsShort:it,week:St,weekdays:Yt,weekdaysMin:At,weekdaysShort:Pt,meridiemParse:an},un={},dn={};function hn(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n0){if(i=mn(r.slice(0,t).join("-")),i)return i;if(n&&n.length>=t&&hn(r,n)>=t-1)break;t--}a++}return cn}function mn(i){var r=null;if(void 0===un[i]&&"undefined"!==typeof e&&e&&e.exports)try{r=cn._abbr,t,n("4678")("./"+i),vn(r)}catch(a){un[i]=null}return un[i]}function vn(e,t){var n;return e&&(n=d(t)?bn(e):gn(e,t),n?cn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),cn._abbr}function gn(e,t){if(null!==t){var n,i=ln;if(t.abbr=e,null!=un[e])z("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])i=un[t.parentLocale]._config;else{if(n=mn(t.parentLocale),null==n)return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;i=n._config}return un[e]=new j(V(i,t)),dn[e]&&dn[e].forEach((function(e){gn(e.name,e.config)})),vn(e),un[e]}return delete un[e],null}function yn(e,t){if(null!=t){var n,i,r=ln;null!=un[e]&&null!=un[e].parentLocale?un[e].set(V(un[e]._config,t)):(i=mn(e),null!=i&&(r=i._config),t=V(r,t),null==i&&(t.abbr=e),n=new j(t),n.parentLocale=un[e],un[e]=n),vn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===vn()&&vn(e)):null!=un[e]&&delete un[e]);return un[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return cn;if(!s(e)){if(t=mn(e),t)return t;e=[e]}return pn(e)}function _n(){return O(un)}function Mn(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[Be]<0||n[Be]>11?Be:n[Ue]<1||n[Ue]>tt(n[Ke],n[Be])?Ue:n[qe]<0||n[qe]>24||24===n[qe]&&(0!==n[Ge]||0!==n[Je]||0!==n[Xe])?qe:n[Ge]<0||n[Ge]>59?Ge:n[Je]<0||n[Je]>59?Je:n[Xe]<0||n[Xe]>999?Xe:-1,y(e)._overflowDayOfYear&&(tUe)&&(t=Ue),y(e)._overflowWeeks&&-1===t&&(t=Ze),y(e)._overflowWeekday&&-1===t&&(t=Qe),y(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Cn=/Z|[+-]\d\d(?::?\d\d)?/,Ln=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Sn=/^\/?Date\((-?\d+)/i,On=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function zn(e){var t,n,i,r,a,o,s=e._i,c=wn.exec(s)||kn.exec(s);if(c){for(y(e).iso=!0,t=0,n=Ln.length;tgt(a)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=Mt(a,0,e._dayOfYear),e._a[Be]=n.getUTCMonth(),e._a[Ue]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qe]&&0===e._a[Ge]&&0===e._a[Je]&&0===e._a[Xe]&&(e._nextDay=!0,e._a[qe]=0),e._d=(e._useUTC?Mt:_t).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qe]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==r&&(y(e).weekdayMismatch=!0)}}function In(e){var t,n,i,r,a,o,s,c,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,n=En(t.GG,e._a[Ke],Ct(Jn(),1,4).year),i=En(t.W,1),r=En(t.E,1),(r<1||r>7)&&(c=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,l=Ct(Jn(),a,o),n=En(t.gg,e._a[Ke],l.year),i=En(t.w,l.week),null!=t.d?(r=t.d,(r<0||r>6)&&(c=!0)):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(c=!0)):r=a),i<1||i>Lt(n,a,o)?y(e)._overflowWeeks=!0:null!=c?y(e)._overflowWeekday=!0:(s=kt(n,i,r,a,o),e._a[Ke]=s.year,e._dayOfYear=s.dayOfYear)}function Rn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],y(e).empty=!0;var t,n,i,r,o,s,c=""+e._i,l=c.length,u=0;for(i=B(e._f,e._locale).match(E)||[],t=0;t0&&y(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),u+=n.length),I[r]?(n?y(e).empty=!1:y(e).unusedTokens.push(r),Ne(r,n,e)):e._strict&&!n&&y(e).unusedTokens.push(r);y(e).charsLeftOver=l-u,c.length>0&&y(e).unusedInput.push(c),e._a[qe]<=12&&!0===y(e).bigHour&&e._a[qe]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[qe]=Nn(e._locale,e._a[qe],e._meridiem),s=y(e).era,null!==s&&(e._a[Ke]=e._locale.erasConvertYear(s,e._a[Ke])),$n(e),Mn(e)}else Pn(e);else zn(e)}function Nn(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function Wn(e){var t,n,i,r,a,o,s=!1;if(0===e._f.length)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:_()}));function Qn(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Jn();for(n=t[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ki(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),t=Un(t),t._a?(e=t._isUTC?v(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&ui(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ci(){return!!this.isValid()&&!this._isUTC}function Li(){return!!this.isValid()&&this._isUTC}function xi(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var Si=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ti(e,t){var n,i,r,a=e,o=null;return ci(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Si.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:he(o[Ue])*n,h:he(o[qe])*n,m:he(o[Ge])*n,s:he(o[Je])*n,ms:he(li(1e3*o[Xe]))*n}):(o=Oi.exec(e))?(n="-"===o[1]?-1:1,a={y:zi(o[2],n),M:zi(o[3],n),w:zi(o[4],n),d:zi(o[5],n),h:zi(o[6],n),m:zi(o[7],n),s:zi(o[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(r=Di(Jn(a.from),Jn(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),i=new si(a),ci(e)&&l(e,"_locale")&&(i._locale=e._locale),ci(e)&&l(e,"_isValid")&&(i._isValid=e._isValid),i}function zi(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Hi(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Di(e,t){var n;return e.isValid()&&t.isValid()?(t=pi(t,e),e.isBefore(t)?n=Hi(e,t):(n=Hi(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Vi(e,t){return function(n,i){var r,a;return null===i||isNaN(+i)||(z(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=i,i=a),r=Ti(n,i),ji(this,r,e),this}}function ji(e,t,n,i){var r=t._milliseconds,o=li(t._days),s=li(t._months);e.isValid()&&(i=null==i||i,s&&dt(e,pe(e,"Month")+s*n),o&&me(e,"Date",pe(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&a.updateOffset(e,o||s))}Ti.fn=si.prototype,Ti.invalid=oi;var Yi=Vi(1,"add"),Pi=Vi(-1,"subtract");function Ai(e){return"string"===typeof e||e instanceof String}function Ei(e){return L(e)||f(e)||Ai(e)||h(e)||$i(e)||Fi(e)||null===e||void 0===e}function Fi(e){var t,n,i=c(e)&&!u(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;tn.valueOf():n.valueOf()9999?K(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",K(n,"Z")):K(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=a+'[")]',this.format(e+t+n+i)}function nr(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=K(this,e);return this.localeData().postformat(t)}function ir(e,t){return this.isValid()&&(L(e)&&e.isValid()||Jn(e).isValid())?Ti({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from(Jn(),e)}function ar(e,t){return this.isValid()&&(L(e)&&e.isValid()||Jn(e).isValid())?Ti({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function or(e){return this.to(Jn(),e)}function sr(e){var t;return void 0===e?this._locale._abbr:(t=bn(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var cr=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lr(){return this._locale}var ur=1e3,dr=60*ur,hr=60*dr,fr=3506328*hr;function pr(e,t){return(e%t+t)%t}function mr(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fr:new Date(e,t,n).valueOf()}function vr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fr:Date.UTC(e,t,n)}function gr(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vr:mr,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pr(t+(this._isUTC?0:this.utcOffset()*dr),hr);break;case"minute":t=this._d.valueOf(),t-=pr(t,dr);break;case"second":t=this._d.valueOf(),t-=pr(t,ur);break}return this._d.setTime(t),a.updateOffset(this,!0),this}function yr(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vr:mr,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hr-pr(t+(this._isUTC?0:this.utcOffset()*dr),hr)-1;break;case"minute":t=this._d.valueOf(),t+=dr-pr(t,dr)-1;break;case"second":t=this._d.valueOf(),t+=ur-pr(t,ur)-1;break}return this._d.setTime(t),a.updateOffset(this,!0),this}function br(){return this._d.valueOf()-6e4*(this._offset||0)}function _r(){return Math.floor(this.valueOf()/1e3)}function Mr(){return new Date(this.valueOf())}function wr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function kr(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Cr(){return this.isValid()?this.toISOString():null}function Lr(){return b(this)}function xr(){return m({},y(this))}function Sr(){return y(this).overflow}function Or(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Tr(e,t){var n,i,r,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n=0)return c[i]}function Hr(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Dr(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;ea&&(t=a),Zr.call(this,e,t,n,i,r))}function Zr(e,t,n,i,r){var a=kt(e,t,n,i,r),o=Mt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Qr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),Pe("N",Fr),Pe("NN",Fr),Pe("NNN",Fr),Pe("NNNN",$r),Pe("NNNNN",Ir),Ie(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?y(n).era=r:y(n).invalidEra=e})),Pe("y",ze),Pe("yy",ze),Pe("yyy",ze),Pe("yyyy",ze),Pe("yo",Rr),Ie(["y","yy","yyy","yyyy"],Ke),Ie(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ke]=n._locale.eraYearOrdinalParse(e,r):t[Ke]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wr("gggg","weekYear"),Wr("ggggg","weekYear"),Wr("GGGG","isoWeekYear"),Wr("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),ce("weekYear",1),ce("isoWeekYear",1),Pe("G",He),Pe("g",He),Pe("GG",Ce,_e),Pe("gg",Ce,_e),Pe("GGGG",Oe,we),Pe("gggg",Oe,we),Pe("GGGGG",Te,ke),Pe("ggggg",Te,ke),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=he(e)})),Re(["gg","GG"],(function(e,t,n,i){t[i]=a.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),re("quarter","Q"),ce("quarter",7),Pe("Q",be),Ie("Q",(function(e,t){t[Be]=3*(he(e)-1)})),R("D",["DD",2],"Do","date"),re("date","D"),ce("date",9),Pe("D",Ce),Pe("DD",Ce,_e),Pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ie(["D","DD"],Ue),Ie("Do",(function(e,t){t[Ue]=he(e.match(Ce)[0])}));var ea=fe("Date",!0);function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}R("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),ce("dayOfYear",4),Pe("DDD",Se),Pe("DDDD",Me),Ie(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=he(e)})),R("m",["mm",2],0,"minute"),re("minute","m"),ce("minute",14),Pe("m",Ce),Pe("mm",Ce,_e),Ie(["m","mm"],Ge);var na=fe("Minutes",!1);R("s",["ss",2],0,"second"),re("second","s"),ce("second",15),Pe("s",Ce),Pe("ss",Ce,_e),Ie(["s","ss"],Je);var ia,ra,aa=fe("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),re("millisecond","ms"),ce("millisecond",16),Pe("S",Se,be),Pe("SS",Se,_e),Pe("SSS",Se,Me),ia="SSSS";ia.length<=9;ia+="S")Pe(ia,ze);function oa(e,t){t[Xe]=he(1e3*("0."+e))}for(ia="S";ia.length<=9;ia+="S")Ie(ia,oa);function sa(){return this._isUTC?"UTC":""}function ca(){return this._isUTC?"Coordinated Universal Time":""}ra=fe("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var la=C.prototype;function ua(e){return Jn(1e3*e)}function da(){return Jn.apply(null,arguments).parseZone()}function ha(e){return e}la.add=Yi,la.calendar=Ni,la.clone=Wi,la.diff=Xi,la.endOf=yr,la.format=nr,la.from=ir,la.fromNow=rr,la.to=ar,la.toNow=or,la.get=ve,la.invalidAt=Sr,la.isAfter=Ki,la.isBefore=Bi,la.isBetween=Ui,la.isSame=qi,la.isSameOrAfter=Gi,la.isSameOrBefore=Ji,la.isValid=Lr,la.lang=cr,la.locale=sr,la.localeData=lr,la.max=Zn,la.min=Xn,la.parsingFlags=xr,la.set=ge,la.startOf=gr,la.subtract=Pi,la.toArray=wr,la.toObject=kr,la.toDate=Mr,la.toISOString=er,la.inspect=tr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(la[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),la.toJSON=Cr,la.toString=Qi,la.unix=_r,la.valueOf=br,la.creationData=Or,la.eraName=Dr,la.eraNarrow=Vr,la.eraAbbr=jr,la.eraYear=Yr,la.year=yt,la.isLeapYear=bt,la.weekYear=Kr,la.isoWeekYear=Br,la.quarter=la.quarters=Qr,la.month=ht,la.daysInMonth=ft,la.week=la.weeks=zt,la.isoWeek=la.isoWeeks=Ht,la.weeksInYear=Gr,la.weeksInWeekYear=Jr,la.isoWeeksInYear=Ur,la.isoWeeksInISOWeekYear=qr,la.date=ea,la.day=la.days=Bt,la.weekday=Ut,la.isoWeekday=qt,la.dayOfYear=ta,la.hour=la.hours=on,la.minute=la.minutes=na,la.second=la.seconds=aa,la.millisecond=la.milliseconds=ra,la.utcOffset=vi,la.utc=yi,la.local=bi,la.parseZone=_i,la.hasAlignedHourOffset=Mi,la.isDST=wi,la.isLocal=Ci,la.isUtcOffset=Li,la.isUtc=xi,la.isUTC=xi,la.zoneAbbr=sa,la.zoneName=ca,la.dates=S("dates accessor is deprecated. Use date instead.",ea),la.months=S("months accessor is deprecated. Use month instead",ht),la.years=S("years accessor is deprecated. Use year instead",yt),la.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gi),la.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ki);var fa=j.prototype;function pa(e,t,n,i){var r=bn(),a=v().set(i,t);return r[n](a,e)}function ma(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return pa(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=pa(e,i,n,"month");return r}function va(e,t,n,i){"boolean"===typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var r,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return pa(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=pa(t,(r+o)%7,i,"day");return s}function ga(e,t){return ma(e,t,"months")}function ya(e,t){return ma(e,t,"monthsShort")}function ba(e,t,n){return va(e,t,n,"weekdays")}function _a(e,t,n){return va(e,t,n,"weekdaysShort")}function Ma(e,t,n){return va(e,t,n,"weekdaysMin")}fa.calendar=P,fa.longDateFormat=q,fa.invalidDate=J,fa.ordinal=Q,fa.preparse=ha,fa.postformat=ha,fa.relativeTime=te,fa.pastFuture=ne,fa.set=D,fa.eras=Tr,fa.erasParse=zr,fa.erasConvertYear=Hr,fa.erasAbbrRegex=Ar,fa.erasNameRegex=Pr,fa.erasNarrowRegex=Er,fa.months=st,fa.monthsShort=ct,fa.monthsParse=ut,fa.monthsRegex=mt,fa.monthsShortRegex=pt,fa.week=xt,fa.firstDayOfYear=Tt,fa.firstDayOfWeek=Ot,fa.weekdays=It,fa.weekdaysMin=Nt,fa.weekdaysShort=Rt,fa.weekdaysParse=Kt,fa.weekdaysRegex=Gt,fa.weekdaysShortRegex=Jt,fa.weekdaysMinRegex=Xt,fa.isPM=rn,fa.meridiem=sn,vn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),a.lang=S("moment.lang is deprecated. Use moment.locale instead.",vn),a.langData=S("moment.langData is deprecated. Use moment.localeData instead.",bn);var wa=Math.abs;function ka(){var e=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),e.milliseconds=wa(e.milliseconds),e.seconds=wa(e.seconds),e.minutes=wa(e.minutes),e.hours=wa(e.hours),e.months=wa(e.months),e.years=wa(e.years),this}function Ca(e,t,n,i){var r=Ti(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function La(e,t){return Ca(this,e,t,1)}function xa(e,t){return Ca(this,e,t,-1)}function Sa(e){return e<0?Math.floor(e):Math.ceil(e)}function Oa(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Sa(za(s)+o),o=0,s=0),c.milliseconds=a%1e3,e=de(a/1e3),c.seconds=e%60,t=de(e/60),c.minutes=t%60,n=de(t/60),c.hours=n%24,o+=de(n/24),r=de(Ta(o)),s+=r,o-=Sa(za(r)),i=de(s/12),s%=12,c.days=o,c.months=s,c.years=i,this}function Ta(e){return 4800*e/146097}function za(e){return 146097*e/4800}function Ha(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=ae(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Ta(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(za(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Da(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function Va(e){return function(){return this.as(e)}}var ja=Va("ms"),Ya=Va("s"),Pa=Va("m"),Aa=Va("h"),Ea=Va("d"),Fa=Va("w"),$a=Va("M"),Ia=Va("Q"),Ra=Va("y");function Na(){return Ti(this)}function Wa(e){return e=ae(e),this.isValid()?this[e+"s"]():NaN}function Ka(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ba=Ka("milliseconds"),Ua=Ka("seconds"),qa=Ka("minutes"),Ga=Ka("hours"),Ja=Ka("days"),Xa=Ka("months"),Za=Ka("years");function Qa(){return de(this.days()/7)}var eo=Math.round,to={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function io(e,t,n,i){var r=Ti(e).abs(),a=eo(r.as("s")),o=eo(r.as("m")),s=eo(r.as("h")),c=eo(r.as("d")),l=eo(r.as("M")),u=eo(r.as("w")),d=eo(r.as("y")),h=a<=n.ss&&["s",a]||a0,h[4]=i,no.apply(null,h)}function ro(e){return void 0===e?eo:"function"===typeof e&&(eo=e,!0)}function ao(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=to;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(r=e),"object"===typeof t&&(a=Object.assign({},to,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),i=io(this,!r,a,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var so=Math.abs;function co(e){return(e>0)-(e<0)||+e}function lo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,o,s,c=so(this._milliseconds)/1e3,l=so(this._days),u=so(this._months),d=this.asSeconds();return d?(e=de(c/60),t=de(e/60),c%=60,e%=60,n=de(u/12),u%=12,i=c?c.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",a=co(this._months)!==co(d)?"-":"",o=co(this._days)!==co(d)?"-":"",s=co(this._milliseconds)!==co(d)?"-":"",r+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(l?o+l+"D":"")+(t||e||c?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(c?s+i+"S":"")):"P0D"}var uo=si.prototype;return uo.isValid=ai,uo.abs=ka,uo.add=La,uo.subtract=xa,uo.as=Ha,uo.asMilliseconds=ja,uo.asSeconds=Ya,uo.asMinutes=Pa,uo.asHours=Aa,uo.asDays=Ea,uo.asWeeks=Fa,uo.asMonths=$a,uo.asQuarters=Ia,uo.asYears=Ra,uo.valueOf=Da,uo._bubble=Oa,uo.clone=Na,uo.get=Wa,uo.milliseconds=Ba,uo.seconds=Ua,uo.minutes=qa,uo.hours=Ga,uo.days=Ja,uo.weeks=Qa,uo.months=Xa,uo.years=Za,uo.humanize=oo,uo.toISOString=lo,uo.toString=lo,uo.toJSON=lo,uo.locale=sr,uo.localeData=lr,uo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lo),uo.lang=cr,R("X",0,0,"unix"),R("x",0,0,"valueOf"),Pe("x",He),Pe("X",je),Ie("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ie("x",(function(e,t,n){n._d=new Date(he(e))})), -//! moment.js -a.version="2.29.1",o(Jn),a.fn=la,a.min=ei,a.max=ti,a.now=ni,a.utc=v,a.unix=ua,a.months=ga,a.isDate=f,a.locale=vn,a.invalid=_,a.duration=Ti,a.isMoment=L,a.weekdays=ba,a.parseZone=da,a.localeData=bn,a.isDuration=ci,a.monthsShort=ya,a.weekdaysMin=Ma,a.defineLocale=gn,a.updateLocale=yn,a.locales=_n,a.weekdaysShort=_a,a.normalizeUnits=ae,a.relativeTimeRounding=ro,a.relativeTimeThreshold=ao,a.calendarFormat=Ri,a.prototype=la,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}))}).call(this,n("62e4")(e))},c2b3:function(e,t,n){"use strict";function i(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var i=0;i=r?e:i(e,t,n)}e.exports=r},c3b9:function(e,t,n){"use strict";n.r(t);var i=n("41b2"),r=n.n(i),a=n("a48b"),o=n.n(a),s=n("2b0e"),c=n("46cf"),l=n.n(c),u=n("b488"),d=n("7b05"),h=n("daa3"),f=n("1098"),p=n.n(f),m=n("8e8e"),v=n.n(m),g=n("b047"),y=n.n(g),b=n("4d26"),_=n.n(b),M=n("4d91"),w={accessibility:M["a"].bool.def(!0),adaptiveHeight:M["a"].bool.def(!1),afterChange:M["a"].any.def(null),arrows:M["a"].bool.def(!0),autoplay:M["a"].bool.def(!1),autoplaySpeed:M["a"].number.def(3e3),beforeChange:M["a"].any.def(null),centerMode:M["a"].bool.def(!1),centerPadding:M["a"].string.def("50px"),cssEase:M["a"].string.def("ease"),dots:M["a"].bool.def(!1),dotsClass:M["a"].string.def("slick-dots"),draggable:M["a"].bool.def(!0),unslick:M["a"].bool.def(!1),easing:M["a"].string.def("linear"),edgeFriction:M["a"].number.def(.35),fade:M["a"].bool.def(!1),focusOnSelect:M["a"].bool.def(!1),infinite:M["a"].bool.def(!0),initialSlide:M["a"].number.def(0),lazyLoad:M["a"].any.def(null),verticalSwiping:M["a"].bool.def(!1),asNavFor:M["a"].any.def(null),pauseOnDotsHover:M["a"].bool.def(!1),pauseOnFocus:M["a"].bool.def(!1),pauseOnHover:M["a"].bool.def(!0),responsive:M["a"].array,rows:M["a"].number.def(1),rtl:M["a"].bool.def(!1),slide:M["a"].string.def("div"),slidesPerRow:M["a"].number.def(1),slidesToScroll:M["a"].number.def(1),slidesToShow:M["a"].number.def(1),speed:M["a"].number.def(500),swipe:M["a"].bool.def(!0),swipeEvent:M["a"].any.def(null),swipeToSlide:M["a"].bool.def(!1),touchMove:M["a"].bool.def(!0),touchThreshold:M["a"].number.def(5),useCSS:M["a"].bool.def(!0),useTransform:M["a"].bool.def(!0),variableWidth:M["a"].bool.def(!1),vertical:M["a"].bool.def(!1),waitForAnimate:M["a"].bool.def(!0),children:M["a"].array,__propsSymbol__:M["a"].any},k=w,C={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0},L=C,x=function(e){for(var t=[],n=S(e),i=O(e),r=n;r0?1:0):0},z=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},H=function(e){return e&&e.offsetWidth||0},D=function(e){return e&&e.offsetHeight||0},V=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=void 0,i=e.startX-e.curX,r=e.startY-e.curY,a=Math.atan2(r,i);return n=Math.round(180*a/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===t?n>=35&&n<=135?"up":"down":"vertical"},j=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},Y=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},P=function(e){var t=e.children.length,n=Math.ceil(H(e.listRef)),i=Math.ceil(H(e.trackRef)),r=void 0;if(e.vertical)r=n;else{var a=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(a*=n/100),r=Math.ceil((n-a)/e.slidesToShow)}var o=e.listRef&&D(e.listRef.querySelector('[data-index="0"]')),s=o*e.slidesToShow,c=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(c=t-1-e.initialSlide);var l=e.lazyLoadedList||[],u=x({currentSlide:c,lazyLoadedList:l},e);l.concat(u);var d={slideCount:t,slideWidth:r,listWidth:n,trackWidth:i,currentSlide:c,slideHeight:o,listHeight:s,lazyLoadedList:l};return null===e.autoplaying&&e.autoplay&&(d["autoplaying"]="playing"),d},A=function(e){var t=e.waitForAnimate,n=e.animating,i=e.fade,a=e.infinite,o=e.index,s=e.slideCount,c=e.lazyLoadedList,l=e.lazyLoad,u=e.currentSlide,d=e.centerMode,h=e.slidesToScroll,f=e.slidesToShow,p=e.useCSS;if(t&&n)return{};var m=o,v=void 0,g=void 0,y=void 0,b={},_={};if(i){if(!a&&(o<0||o>=s))return{};o<0?m=o+s:o>=s&&(m=o-s),l&&c.indexOf(m)<0&&c.push(m),b={animating:!0,currentSlide:m,lazyLoadedList:c},_={animating:!1}}else v=m,m<0?(v=m+s,a?s%h!==0&&(v=s-s%h):v=0):!j(e)&&m>u?m=v=u:d&&m>=s?(m=a?s:s-1,v=a?0:s-1):m>=s&&(v=m-s,a?s%h!==0&&(v=0):v=s-f),g=G(r()({},e,{slideIndex:m})),y=G(r()({},e,{slideIndex:v})),a||(g===y&&(m=v),g=y),l&&c.concat(x(r()({},e,{currentSlide:m}))),p?(b={animating:!0,currentSlide:v,trackStyle:q(r()({},e,{left:g})),lazyLoadedList:c},_={animating:!1,currentSlide:v,trackStyle:U(r()({},e,{left:y})),swipeLeft:null}):b={currentSlide:v,trackStyle:U(r()({},e,{left:y})),lazyLoadedList:c};return{state:b,nextState:_}},E=function(e,t){var n=void 0,i=void 0,a=void 0,o=e.slidesToScroll,s=e.slidesToShow,c=e.slideCount,l=e.currentSlide,u=e.lazyLoad,d=e.infinite,h=c%o!==0,f=h?0:(c-l)%o;if("previous"===t.message)i=0===f?o:s-f,a=l-i,u&&!d&&(n=l-i,a=-1===n?c-1:n);else if("next"===t.message)i=0===f?o:f,a=l+i,u&&!d&&(a=(l+o)%c+f);else if("dots"===t.message){if(a=t.index*t.slidesToScroll,a===t.currentSlide)return null}else if("children"===t.message){if(a=t.index,a===t.currentSlide)return null;if(d){var p=Q(r()({},e,{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=c:a10)return{scrolling:!0};s&&(y.swipeLength=L);var x=(c?-1:1)*(y.curX>y.startX?1:-1);s&&(x=y.curY>y.startY?1:-1);var S=Math.ceil(m/v),O=V(t.touchObject,s),T=y.swipeLength;return g||(0===l&&"right"===O||l+1>=S&&"left"===O||!j(t)&&"left"===O)&&(T=y.swipeLength*u,!1===d&&h&&(h(O),k["edgeDragged"]=!0)),!f&&b&&(b(O),k["swiped"]=!0),w=a?C+T*(_/M)*x:c?C-T*x:C+T*x,s&&(w=C+T*x),k=r()({},k,{touchObject:y,swipeLeft:w,trackStyle:U(r()({},t,{left:w}))}),Math.abs(y.curX-y.startX)<.8*Math.abs(y.curY-y.startY)?k:(y.swipeLength>10&&(k["swiping"]=!0,e.preventDefault()),k)}},R=function(e,t){var n=t.dragging,i=t.swipe,a=t.touchObject,o=t.listWidth,s=t.touchThreshold,c=t.verticalSwiping,l=t.listHeight,u=t.currentSlide,d=t.swipeToSlide,h=t.scrolling,f=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var p=c?l/s:o/s,m=V(a,c),v={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(h)return v;if(!a.swipeLength)return v;if(a.swipeLength>p){e.preventDefault(),f&&f(m);var g=void 0,y=void 0;switch(m){case"left":case"up":y=u+K(t),g=d?W(t,y):y,v["currentDirection"]=0;break;case"right":case"down":y=u-K(t),g=d?W(t,y):y,v["currentDirection"]=1;break;default:g=u}v["triggerSlideHandler"]=g}else{var b=G(t);v["trackStyle"]=q(r()({},t,{left:b}))}return v},N=function(e){var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,i=e.infinite?-1*e.slidesToShow:0,r=[];while(nn[n.length-1])t=n[n.length-1];else for(var r in n){if(t-1*e.swipeLeft)return n=i,!1}else if(i.offsetLeft-t+H(i)/2>-1*e.swipeLeft)return n=i,!1;return!0})),!n)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide,o=Math.abs(n.dataset.index-a)||1;return o}return e.slidesToScroll},B=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},U=function(e){B(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,i=e.slideCount+2*e.slidesToShow;e.vertical?n=i*e.slideHeight:t=Z(e)*e.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";a=r()({},a,{WebkitTransform:o,transform:s,msTransform:c})}else e.vertical?a["top"]=e.left:a["left"]=e.left;return e.fade&&(a={opacity:1}),t&&(a.width=t+"px"),n&&(a.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a},q=function(e){B(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=U(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},G=function(e){if(e.unslick)return 0;B(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,i=e.infinite,r=e.centerMode,a=e.slideCount,o=e.slidesToShow,s=e.slidesToScroll,c=e.slideWidth,l=e.listWidth,u=e.variableWidth,d=e.slideHeight,h=e.fade,f=e.vertical,p=0,m=void 0,v=void 0,g=0;if(h||1===e.slideCount)return 0;var y=0;if(i?(y=-J(e),a%s!==0&&t+s>a&&(y=-(t>a?o-(t-a):a%s)),r&&(y+=parseInt(o/2))):(a%s!==0&&t+s>a&&(y=o-a%s),r&&(y=parseInt(o/2))),p=y*c,g=y*d,m=f?t*d*-1+g:t*c*-1+p,!0===u){var b=void 0,_=n;if(b=t+J(e),v=_&&_.childNodes[b],m=v?-1*v.offsetLeft:0,!0===r){b=i?t+J(e):t,v=_&&_.children[b],m=0;for(var M=0;Me.currentSlide?e.targetSlide>e.currentSlide+ee(e)?"left":"right":e.targetSlide0&&(a+=1),i&&t%2===0&&(a+=1),a}return i?0:t-1},te=function(e){var t=e.slidesToShow,n=e.centerMode,i=e.rtl,r=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),i||t%2!==0||(a+=1),a}return i?t-1:0},ne=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)},ie=function(e){var t=void 0,n=void 0,i=void 0,r=void 0;r=e.rtl?e.slideCount-1-e.index:e.index;var a=r<0||r>=e.slideCount;e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(r-e.currentSlide)%e.slideCount===0,r>e.currentSlide-i-1&&r<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=r&&r=0?t:n("div");var v=re(r()({},e,{index:f})),g=Object(h["f"])(p.context)||"",y=ie(r()({},e,{index:f}));if(a.push(Object(d["a"])(p,{key:"original"+ae(p,f),attrs:{tabIndex:"-1","data-index":f,"aria-hidden":!y["slick-active"]},class:_()(y,g),style:r()({outline:"none"},Object(h["q"])(p.context)||{},v),on:{click:function(){e.focusOnSelect&&e.focusOnSelect(m)}}},!0)),e.infinite&&!1===e.fade){var b=c-f;b<=J(e)&&c!==e.slidesToShow&&(i=-b,i>=l&&(p=t),y=ie(r()({},e,{index:i})),o.push(Object(d["a"])(p,{key:"precloned"+ae(p,i),class:_()(y,g),attrs:{tabIndex:"-1","data-index":i,"aria-hidden":!y["slick-active"]},style:r()({},Object(h["q"])(p.context)||{},v),on:{click:function(){e.focusOnSelect&&e.focusOnSelect(m)}}}))),c!==e.slidesToShow&&(i=c+f,i=i&&u<=r}),o={message:"dots",index:t,slidesToScroll:s,currentSlide:u};function c(e){e&&e.preventDefault(),p(o)}return n("li",{key:t,class:a},[Object(d["a"])(f({i:t}),{on:{click:c}})])}));return Object(d["a"])(h({dots:w}),{class:m,on:r()({},M)})}},ue=n("92fa"),de=n.n(ue);function he(){}var fe={functional:!0,clickHandler:function(e,t,n){n&&n.preventDefault(),t(e,n)},render:function(e,t){var n=arguments[0],i=t.props,a=i.clickHandler,o=i.infinite,s=i.currentSlide,c=i.slideCount,l=i.slidesToShow,u={"slick-arrow":!0,"slick-prev":!0},h=function(e){e&&e.preventDefault(),a({message:"previous"})};!o&&(0===s||c<=l)&&(u["slick-disabled"]=!0,h=he);var f={key:"0",domProps:{"data-role":"none"},class:u,style:{display:"block"},on:{click:h}},p={currentSlide:s,slideCount:c},m=void 0;return m=i.prevArrow?Object(d["a"])(i.prevArrow(r()({},f,{props:p})),{key:"0",class:u,style:{display:"block"},on:{click:h}}):n("button",de()([{key:"0",attrs:{type:"button"}},f]),[" ","Previous"]),m}},pe={functional:!0,clickHandler:function(e,t,n){n&&n.preventDefault(),t(e,n)},render:function(e,t){var n=arguments[0],i=t.props,a=i.clickHandler,o=i.currentSlide,s=i.slideCount,c={"slick-arrow":!0,"slick-next":!0},l=function(e){e&&e.preventDefault(),a({message:"next"})};j(i)||(c["slick-disabled"]=!0,l=he);var u={key:"1",domProps:{"data-role":"none"},class:c,style:{display:"block"},on:{click:l}},h={currentSlide:o,slideCount:s},f=void 0;return f=i.nextArrow?Object(d["a"])(i.nextArrow(r()({},u,{props:h})),{key:"1",class:c,style:{display:"block"},on:{click:l}}):n("button",de()([{key:"1",attrs:{type:"button"}},u]),[" ","Next"]),f}},me=n("6dd8");function ve(){}s["a"].use(l.a,{name:"ant-ref"});var ge={props:r()({},k),mixins:[u["a"]],data:function(){return this.preProps=r()({},this.$props),this.list=null,this.track=null,this.callbackTimers=[],this.clickable=!0,this.debouncedResize=null,r()({},L,{currentSlide:this.initialSlide,slideCount:this.children.length})},methods:{listRefHandler:function(e){this.list=e},trackRefHandler:function(e){this.track=e},adaptHeight:function(){if(this.adaptiveHeight&&this.list){var e=this.list.querySelector('[data-index="'+this.currentSlide+'"]');this.list.style.height=D(e)+"px"}},onWindowResized:function(e){var t=this;this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=y()((function(){return t.resizeWindow(e)}),50),this.debouncedResize()},resizeWindow:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.track){var n=r()({listRef:this.list,trackRef:this.track,children:this.children},this.$props,this.$data);this.updateState(n,t,(function(){e.autoplay?e.handleAutoPlay("update"):e.pause("paused")})),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback}},updateState:function(e,t,n){var i=P(e);e=r()({},e,i,{slideIndex:i.currentSlide});var a=G(e);e=r()({},e,{left:a});var o=U(e);(t||this.children.length!==e.children.length)&&(i["trackStyle"]=o),this.setState(i,n)},ssrInit:function(){var e=this.children;if(this.variableWidth){var t=0,n=0,i=[],a=J(r()({},this.$props,this.$data,{slideCount:e.length})),o=X(r()({},this.$props,this.$data,{slideCount:e.length}));e.forEach((function(e){var n=Object(h["q"])(e).width.split("px")[0];i.push(n),t+=n}));for(var s=0;s=n&&e.onWindowResized()};if(t.onclick){var a=t.onclick;t.onclick=function(){a(),t.parentNode.focus()}}else t.onclick=function(){return t.parentNode.focus()};t.onload||(e.$props.lazyLoad?t.onload=function(){e.adaptHeight(),e.callbackTimers.push(setTimeout(e.onWindowResized,e.speed))}:(t.onload=r,t.onerror=function(){r(),e.$emit("lazyLoadError")}))}))},progressiveLazyLoad:function(){for(var e=[],t=r()({},this.$props,this.$data),n=this.currentSlide;n=-J(t);i--)if(this.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(this.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),this.$emit("lazyLoad",e)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.$props,a=i.asNavFor,o=i.currentSlide,s=i.beforeChange,c=i.speed,l=i.afterChange,u=A(r()({index:e},this.$props,this.$data,{trackRef:this.track,useCSS:this.useCSS&&!n})),d=u.state,f=u.nextState;if(d){s&&s(o,d.currentSlide);var p=d.lazyLoadedList.filter((function(e){return t.lazyLoadedList.indexOf(e)<0}));Object(h["k"])(this).lazyLoad&&p.length>0&&this.$emit("lazyLoad",p),this.setState(d,(function(){a&&a.innerSlider.currentSlide!==o&&a.innerSlider.slideHandler(e),f&&(t.animationEndCallback=setTimeout((function(){var e=f.animating,n=v()(f,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),l&&l(d.currentSlide),delete t.animationEndCallback}))}),c))}))}},changeSlide:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r()({},this.$props,this.$data),i=E(n,e);(0===i||i)&&(!0===t?this.slideHandler(i,t):this.slideHandler(i))},clickHandler:function(e){!1===this.clickable&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler:function(e){var t=F(e,this.accessibility,this.rtl);""!==t&&this.changeSlide({message:t})},selectHandler:function(e){this.changeSlide(e)},disableBodyScroll:function(){var e=function(e){e=e||window.event,e.preventDefault&&e.preventDefault(),e.returnValue=!1};window.ontouchmove=e},enableBodyScroll:function(){window.ontouchmove=null},swipeStart:function(e){this.verticalSwiping&&this.disableBodyScroll();var t=$(e,this.swipe,this.draggable);""!==t&&this.setState(t)},swipeMove:function(e){var t=I(e,r()({},this.$props,this.$data,{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));t&&(t["swiping"]&&(this.clickable=!1),this.setState(t))},swipeEnd:function(e){var t=R(e,r()({},this.$props,this.$data,{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(t){var n=t["triggerSlideHandler"];delete t["triggerSlideHandler"],this.setState(t),void 0!==n&&(this.slideHandler(n),this.$props.verticalSwiping&&this.enableBodyScroll())}},slickPrev:function(){var e=this;this.callbackTimers.push(setTimeout((function(){return e.changeSlide({message:"previous"})}),0))},slickNext:function(){var e=this;this.callbackTimers.push(setTimeout((function(){return e.changeSlide({message:"next"})}),0))},slickGoTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";this.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.currentSlide},n)}),0))},play:function(){var e=void 0;if(this.rtl)e=this.currentSlide-this.slidesToScroll;else{if(!j(r()({},this.$props,this.$data)))return!1;e=this.currentSlide+this.slidesToScroll}this.slideHandler(e)},handleAutoPlay:function(e){this.autoplayTimer&&clearInterval(this.autoplayTimer);var t=this.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause:function(e){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);var t=this.autoplaying;"paused"===e?this.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||this.setState({autoplaying:"focused"}):"playing"===t&&this.setState({autoplaying:"hovered"})},onDotsOver:function(){this.autoplay&&this.pause("hovered")},onDotsLeave:function(){this.autoplay&&"hovered"===this.autoplaying&&this.handleAutoPlay("leave")},onTrackOver:function(){this.autoplay&&this.pause("hovered")},onTrackLeave:function(){this.autoplay&&"hovered"===this.autoplaying&&this.handleAutoPlay("leave")},onSlideFocus:function(){this.autoplay&&this.pause("focused")},onSlideBlur:function(){this.autoplay&&"focused"===this.autoplaying&&this.handleAutoPlay("blur")},customPaging:function(e){var t=e.i,n=this.$createElement;return n("button",[t+1])},appendDots:function(e){var t=e.dots,n=this.$createElement;return n("ul",{style:{display:"block"}},[t])}},beforeMount:function(){if(this.ssrInit(),this.$emit("init"),this.lazyLoad){var e=x(r()({},this.$props,this.$data));e.length>0&&(this.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),this.$emit("lazyLoad",e))}},mounted:function(){var e=this;this.$nextTick((function(){var t=r()({listRef:e.list,trackRef:e.track,children:e.children},e.$props);e.updateState(t,!0,(function(){e.adaptHeight(),e.autoplay&&e.handleAutoPlay("update")})),"progressive"===e.lazyLoad&&(e.lazyLoadTimer=setInterval(e.progressiveLazyLoad,1e3)),e.ro=new me["a"]((function(){e.animating?(e.onWindowResized(!1),e.callbackTimers.push(setTimeout((function(){return e.onWindowResized()}),e.speed))):e.onWindowResized()})),e.ro.observe(e.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(t){t.onfocus=e.$props.pauseOnFocus?e.onSlideFocus:null,t.onblur=e.$props.pauseOnFocus?e.onSlideBlur:null})),window&&(window.addEventListener?window.addEventListener("resize",e.onWindowResized):window.attachEvent("onresize",e.onWindowResized))}))},beforeDestroy:function(){this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach((function(e){return clearTimeout(e)})),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer)},updated:function(){if(this.checkImagesLoad(),this.$emit("reInit"),this.lazyLoad){var e=x(r()({},this.$props,this.$data));e.length>0&&(this.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),this.$emit("lazyLoad"))}this.adaptHeight()},watch:{__propsSymbol__:function(){var e=this,t=this.$props,n=r()({listRef:this.list,trackRef:this.track},t,this.$data),i=!1,a=!0,o=!1,s=void 0;try{for(var c,l=Object.keys(this.preProps)[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var u=c.value;if(!t.hasOwnProperty(u)){i=!0;break}if("object"!==p()(t[u])&&"function"!==typeof t[u]&&"symbol"!==p()(t[u])&&t[u]!==this.preProps[u]){i=!0;break}}}catch(d){o=!0,s=d}finally{try{!a&&l["return"]&&l["return"]()}finally{if(o)throw s}}this.updateState(n,i,(function(){e.currentSlide>=t.children.length&&e.changeSlide({message:"index",index:t.children.length-t.slidesToShow,currentSlide:e.currentSlide}),t.autoplay?e.handleAutoPlay("update"):e.pause("paused")})),this.preProps=r()({},t)}},render:function(){var e=arguments[0],t=_()("slick-slider",{"slick-vertical":this.vertical,"slick-initialized":!0}),n=r()({},this.$props,this.$data),i=Y(n,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),a=this.$props.pauseOnHover;i={props:r()({},i,{focusOnSelect:this.focusOnSelect?this.selectHandler:null}),directives:[{name:"ant-ref",value:this.trackRefHandler}],on:{mouseenter:a?this.onTrackOver:ve,mouseleave:a?this.onTrackLeave:ve,mouseover:a?this.onTrackOver:ve}};var o=void 0;if(!0===this.dots&&this.slideCount>=this.slidesToShow){var s=Y(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);s.customPaging=this.customPaging,s.appendDots=this.appendDots;var c=this.$scopedSlots,l=c.customPaging,u=c.appendDots;l&&(s.customPaging=l),u&&(s.appendDots=u);var d=this.$props.pauseOnDotsHover;s={props:r()({},s,{clickHandler:this.changeSlide}),on:{mouseenter:d?this.onDotsLeave:ve,mouseover:d?this.onDotsOver:ve,mouseleave:d?this.onDotsLeave:ve}},o=e(le,s)}var h=void 0,f=void 0,p=Y(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);p.clickHandler=this.changeSlide;var m=this.$scopedSlots,v=m.prevArrow,g=m.nextArrow;v&&(p.prevArrow=v),g&&(p.nextArrow=g),this.arrows&&(h=e(fe,{props:p}),f=e(pe,{props:p}));var y=null;this.vertical&&(y={height:"number"===typeof this.listHeight?this.listHeight+"px":this.listHeight});var b=null;!1===this.vertical?!0===this.centerMode&&(b={padding:"0px "+this.centerPadding}):!0===this.centerMode&&(b={padding:this.centerPadding+" 0px"});var M=r()({},y,b),w=this.touchMove,k={directives:[{name:"ant-ref",value:this.listRefHandler}],class:"slick-list",style:M,on:{click:this.clickHandler,mousedown:w?this.swipeStart:ve,mousemove:this.dragging&&w?this.swipeMove:ve,mouseup:w?this.swipeEnd:ve,mouseleave:this.dragging&&w?this.swipeEnd:ve,touchstart:w?this.swipeStart:ve,touchmove:this.dragging&&w?this.swipeMove:ve,touchend:w?this.swipeEnd:ve,touchcancel:this.dragging&&w?this.swipeEnd:ve,keydown:this.accessibility?this.keyHandler:ve}},C={class:t,props:{dir:"ltr"}};return this.unslick&&(k={class:"slick-list",directives:[{name:"ant-ref",value:this.listRefHandler}]},C={class:t}),e("div",C,[this.unslick?"":h,e("div",k,[e(se,i,[this.children])]),this.unslick?"":f,this.unslick?"":o])}},ye=ne()&&n("8e95");s["a"].use(l.a,{name:"ant-ref"});var be={props:r()({},k),mixins:[u["a"]],data:function(){return this._responsiveMediaHandlers=[],{breakpoint:null}},methods:{innerSliderRefHandler:function(e){this.innerSlider=e},media:function(e,t){ye.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})},slickPrev:function(){this.innerSlider.slickPrev()},slickNext:function(){this.innerSlider.slickNext()},slickGoTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.innerSlider.slickGoTo(e,t)},slickPause:function(){this.innerSlider.pause("paused")},slickPlay:function(){this.innerSlider.handleAutoPlay("play")}},beforeMount:function(){var e=this;if(this.responsive){var t=this.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,i){var r=void 0;r=0===i?o()({minWidth:0,maxWidth:n}):o()({minWidth:t[i-1]+1,maxWidth:n}),ne()&&e.media(r,(function(){e.setState({breakpoint:n})}))}));var n=o()({minWidth:t.slice(-1)[0]});ne()&&this.media(n,(function(){e.setState({breakpoint:null})}))}},beforeDestroy:function(){this._responsiveMediaHandlers.forEach((function(e){ye.unregister(e.query,e.handler)}))},render:function(){var e=this,t=arguments[0],n=void 0,i=void 0;this.breakpoint?(i=this.responsive.filter((function(t){return t.breakpoint===e.breakpoint})),n="unslick"===i[0].settings?"unslick":r()({},this.$props,i[0].settings)):n=r()({},this.$props),n.centerMode&&(n.slidesToScroll,n.slidesToScroll=1),n.fade&&(n.slidesToShow,n.slidesToScroll,n.slidesToShow=1,n.slidesToScroll=1);var a=this.$slots["default"]||[];a=a.filter((function(e){return"string"===typeof e?!!e.trim():!!e})),n.variableWidth&&(n.rows>1||n.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),n.variableWidth=!1);for(var o=[],s=null,c=0;c=a.length)break;f.push(Object(d["a"])(a[p],{key:100*c+10*u+p,attrs:{tabIndex:-1},style:{width:100/n.slidesPerRow+"%",display:"inline-block"}}))}l.push(t("div",{key:10*c+u},[f]))}n.variableWidth?o.push(t("div",{key:c,style:{width:s}},[l])):o.push(t("div",{key:c},[l]))}if("unslick"===n){var m="regular slider "+(this.className||"");return t("div",{class:m},[o])}o.length<=n.slidesToShow&&(n.unslick=!0);var v={props:r()({},n,{children:o,__propsSymbol__:Symbol()}),on:Object(h["k"])(this),directives:[{name:"ant-ref",value:this.innerSliderRefHandler}],scopedSlots:this.$scopedSlots};return t(ge,v)}};t["default"]=be},c3fc:function(e,t,n){var i=n("42a2"),r=n("1310"),a="[object Set]";function o(e){return r(e)&&i(e)==a}e.exports=o},c449:function(e,t,n){(function(t){for(var i=n("6d08"),r="undefined"===typeof window?t:window,a=["moz","webkit"],o="AnimationFrame",s=r["request"+o],c=r["cancel"+o]||r["cancelRequest"+o],l=0;!s&&l=0&&n.splice(i,1),n}function M(e,t){var n=e.slice();return-1===n.indexOf(t)&&n.push(t),n}function w(e){return e.split("-")}function k(e,t){return e+"-"+t}function C(e){return Object(m["o"])(e).isTreeNode}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(C)}function x(e){var t=Object(m["l"])(e)||{},n=t.disabled,i=t.disableCheckbox,r=t.checkable;return!(!n&&!i)||!1===r}function S(e,t){function n(i,r,a){var o=i?i.componentOptions.children:e,s=i?k(a.pos,r):0,c=L(o);if(i){var l=i.key;l||void 0!==l&&null!==l||(l=s);var u={node:i,index:r,pos:s,key:l,parentPos:a.node?a.pos:null};t(u)}c.forEach((function(e,t){n(e,t,{node:i,pos:s})}))}n(null)}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=e.map(t);return 1===n.length?n[0]:n}function T(e,t){var n=Object(m["l"])(t),i=n.eventKey,r=n.pos,a=[];return S(e,(function(e){var t=e.key;a.push(t)})),a.push(i||r),a}function z(e,t){var n=e.clientY,i=t.$refs.selectHandle.getBoundingClientRect(),r=i.top,a=i.bottom,o=i.height,s=Math.max(o*v,g);return n<=r+s?-1:n>=a-s?1:0}function H(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}var D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{props:Object(f["a"])(e,["on","key","class","className","style"]),on:e.on||{},class:e["class"]||e.className,style:e.style,key:e.key}};function V(e,t,n){if(!t)return[];var i=n||{},r=i.processProps,a=void 0===r?D:r,o=Array.isArray(t)?t:[t];return o.map((function(t){var i=t.children,r=u()(t,["children"]),o=V(e,i,n);return e(p["a"],a(r),[o])}))}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,i=t.processEntity,r=t.onProcessFinished,a=new Map,o=new Map,s={posEntities:a,keyEntities:o};return n&&(s=n(s)||s),S(e,(function(e){var t=e.node,n=e.index,r=e.pos,c=e.key,l=e.parentPos,u={node:t,index:n,key:c,pos:r};a.set(r,u),o.set(c,u),u.parent=a.get(l),u.parent&&(u.parent.children=u.parent.children||[],u.parent.children.push(u)),i&&i(u,s)})),r&&r(s),s}function Y(e){if(!e)return null;var t=void 0;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==("undefined"===typeof e?"undefined":c()(e)))return h()(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function P(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=new Map,a=new Map;function s(e){if(r.get(e)!==t){var i=n.get(e);if(i){var o=i.children,c=i.parent,l=i.node;if(!x(l)){var u=!0,d=!1;(o||[]).filter((function(e){return!x(e.node)})).forEach((function(e){var t=e.key,n=r.get(t),i=a.get(t);(n||i)&&(d=!0),n||(u=!1)})),t?r.set(e,u):r.set(e,!1),a.set(e,d),c&&s(c.key)}}}}function c(e){if(r.get(e)!==t){var i=n.get(e);if(i){var a=i.children,o=i.node;x(o)||(r.set(e,t),(a||[]).forEach((function(e){c(e.key)})))}}}function l(e){var i=n.get(e);if(i){var a=i.children,o=i.parent,l=i.node;r.set(e,t),x(l)||((a||[]).filter((function(e){return!x(e.node)})).forEach((function(e){c(e.key)})),o&&s(o.key))}else h()(!1,"'"+e+"' does not exist in the tree.")}(i.checkedKeys||[]).forEach((function(e){r.set(e,!0)})),(i.halfCheckedKeys||[]).forEach((function(e){a.set(e,!0)})),(e||[]).forEach((function(e){l(e)}));var u=[],d=[],f=!0,p=!1,m=void 0;try{for(var v,g=r[Symbol.iterator]();!(f=(v=g.next()).done);f=!0){var y=v.value,b=o()(y,2),_=b[0],M=b[1];M&&u.push(_)}}catch(D){p=!0,m=D}finally{try{!f&&g["return"]&&g["return"]()}finally{if(p)throw m}}var w=!0,k=!1,C=void 0;try{for(var L,S=a[Symbol.iterator]();!(w=(L=S.next()).done);w=!0){var O=L.value,T=o()(O,2),z=T[0],H=T[1];!r.get(z)&&H&&d.push(z)}}catch(D){k=!0,C=D}finally{try{!w&&S["return"]&&S["return"]()}finally{if(k)throw C}}return{checkedKeys:u,halfCheckedKeys:d}}function A(e,t){var n=new Map;function i(e){if(!n.get(e)){var r=t.get(e);if(r){n.set(e,!0);var a=r.parent,o=r.node,s=Object(m["l"])(o);s&&s.disabled||a&&i(a.key)}}}return(e||[]).forEach((function(e){i(e)})),[].concat(r()(n.keys()))}},c9ca:function(e,t,n){var i=n("ef5d"),r=i("length");e.exports=r},cb5a:function(e,t,n){var i=n("9638");function r(e,t){var n=e.length;while(n--)if(i(e[n][0],t))return n;return-1}e.exports=r},cc15:function(e,t,n){var i=n("b367")("wks"),r=n("8b1a"),a=n("ef08").Symbol,o="function"==typeof a,s=e.exports=function(e){return i[e]||(i[e]=o&&a[e]||(o?a:r)("Symbol."+e))};s.store=i},cc45:function(e,t,n){var i=n("1a2d"),r=n("b047f"),a=n("99d3"),o=a&&a.isMap,s=o?r(o):i;e.exports=s},cd9d:function(e,t){function n(e){return e}e.exports=n},cdd1:function(e,t,n){"use strict";var i=n("6042"),r=n.n(i),a=n("1098"),o=n.n(a),s=n("41b2"),c=n.n(s),l=n("4d91"),u=n("4d26"),d=n.n(u),h=n("c9a4"),f=n("daa3"),p=n("b488"),m=n("94eb");function v(){}var g="open",y="close",b="---",_={name:"TreeNode",mixins:[p["a"]],__ANT_TREE_NODE:!0,props:Object(f["t"])({eventKey:l["a"].oneOfType([l["a"].string,l["a"].number]),prefixCls:l["a"].string,root:l["a"].object,expanded:l["a"].bool,selected:l["a"].bool,checked:l["a"].bool,loaded:l["a"].bool,loading:l["a"].bool,halfChecked:l["a"].bool,title:l["a"].any,pos:l["a"].string,dragOver:l["a"].bool,dragOverGapTop:l["a"].bool,dragOverGapBottom:l["a"].bool,isLeaf:l["a"].bool,checkable:l["a"].bool,selectable:l["a"].bool,disabled:l["a"].bool,disableCheckbox:l["a"].bool,icon:l["a"].any,dataRef:l["a"].object,switcherIcon:l["a"].any,label:l["a"].any,value:l["a"].any},{}),data:function(){return{dragNodeHighlight:!1}},inject:{vcTree:{default:function(){return{}}},vcTreeNode:{default:function(){return{}}}},provide:function(){return{vcTreeNode:this}},mounted:function(){var e=this.eventKey,t=this.vcTree.registerTreeNode;this.syncLoadData(this.$props),t&&t(e,this)},updated:function(){this.syncLoadData(this.$props)},beforeDestroy:function(){var e=this.eventKey,t=this.vcTree.registerTreeNode;t&&t(e,null)},methods:{onSelectorClick:function(e){var t=this.vcTree.onNodeClick;t(e,this),this.isSelectable()?this.onSelect(e):this.onCheck(e)},onSelectorDoubleClick:function(e){var t=this.vcTree.onNodeDoubleClick;t(e,this)},onSelect:function(e){if(!this.isDisabled()){var t=this.vcTree.onNodeSelect;e.preventDefault(),t(e,this)}},onCheck:function(e){if(!this.isDisabled()){var t=this.disableCheckbox,n=this.checked,i=this.vcTree.onNodeCheck;if(this.isCheckable()&&!t){e.preventDefault();var r=!n;i(e,this,r)}}},onMouseEnter:function(e){var t=this.vcTree.onNodeMouseEnter;t(e,this)},onMouseLeave:function(e){var t=this.vcTree.onNodeMouseLeave;t(e,this)},onContextMenu:function(e){var t=this.vcTree.onNodeContextMenu;t(e,this)},onDragStart:function(e){var t=this.vcTree.onNodeDragStart;e.stopPropagation(),this.setState({dragNodeHighlight:!0}),t(e,this);try{e.dataTransfer.setData("text/plain","")}catch(n){}},onDragEnter:function(e){var t=this.vcTree.onNodeDragEnter;e.preventDefault(),e.stopPropagation(),t(e,this)},onDragOver:function(e){var t=this.vcTree.onNodeDragOver;e.preventDefault(),e.stopPropagation(),t(e,this)},onDragLeave:function(e){var t=this.vcTree.onNodeDragLeave;e.stopPropagation(),t(e,this)},onDragEnd:function(e){var t=this.vcTree.onNodeDragEnd;e.stopPropagation(),this.setState({dragNodeHighlight:!1}),t(e,this)},onDrop:function(e){var t=this.vcTree.onNodeDrop;e.preventDefault(),e.stopPropagation(),this.setState({dragNodeHighlight:!1}),t(e,this)},onExpand:function(e){var t=this.vcTree.onNodeExpand;t(e,this)},getNodeChildren:function(){var e=this.$slots["default"],t=Object(f["c"])(e),n=Object(h["j"])(t);return t.length!==n.length&&Object(h["o"])(),n},getNodeState:function(){var e=this.expanded;return this.isLeaf2()?null:e?g:y},isLeaf2:function(){var e=this.isLeaf,t=this.loaded,n=this.vcTree.loadData,i=0!==this.getNodeChildren().length;return!1!==e&&(e||!n&&!i||n&&t&&!i)},isDisabled:function(){var e=this.disabled,t=this.vcTree.disabled;return!1!==e&&!(!t&&!e)},isCheckable:function(){var e=this.$props.checkable,t=this.vcTree.checkable;return!(!t||!1===e)&&t},syncLoadData:function(e){var t=e.expanded,n=e.loading,i=e.loaded,r=this.vcTree,a=r.loadData,o=r.onNodeLoad;if(!n&&a&&t&&!this.isLeaf2()){var s=0!==this.getNodeChildren().length;s||i||o(this)}},isSelectable:function(){var e=this.selectable,t=this.vcTree.selectable;return"boolean"===typeof e?e:t},renderSwitcher:function(){var e=this.$createElement,t=this.expanded,n=this.vcTree.prefixCls,i=Object(f["g"])(this,"switcherIcon",{},!1)||Object(f["g"])(this.vcTree,"switcherIcon",{},!1);if(this.isLeaf2())return e("span",{key:"switcher",class:d()(n+"-switcher",n+"-switcher-noop")},["function"===typeof i?i(c()({},this.$props,this.$props.dataRef,{isLeaf:!0})):i]);var r=d()(n+"-switcher",n+"-switcher_"+(t?g:y));return e("span",{key:"switcher",on:{click:this.onExpand},class:r},["function"===typeof i?i(c()({},this.$props,this.$props.dataRef,{isLeaf:!1})):i])},renderCheckbox:function(){var e=this.$createElement,t=this.checked,n=this.halfChecked,i=this.disableCheckbox,r=this.vcTree.prefixCls,a=this.isDisabled(),o=this.isCheckable();if(!o)return null;var s="boolean"!==typeof o?o:null;return e("span",{key:"checkbox",class:d()(r+"-checkbox",t&&r+"-checkbox-checked",!t&&n&&r+"-checkbox-indeterminate",(a||i)&&r+"-checkbox-disabled"),on:{click:this.onCheck}},[s])},renderIcon:function(){var e=this.$createElement,t=this.loading,n=this.vcTree.prefixCls;return e("span",{key:"icon",class:d()(n+"-iconEle",n+"-icon__"+(this.getNodeState()||"docu"),t&&n+"-icon_loading")})},renderSelector:function(e){var t=this.selected,n=this.loading,i=this.dragNodeHighlight,r=Object(f["g"])(this,"icon",{},!1),a=this.vcTree,o=a.prefixCls,s=a.showIcon,l=a.icon,u=a.draggable,h=a.loadData,p=this.isDisabled(),m=Object(f["g"])(this,"title",{},!1),g=o+"-node-content-wrapper",y=void 0;if(s){var _=r||l;y=_?e("span",{class:d()(o+"-iconEle",o+"-icon__customize")},["function"===typeof _?_(c()({},this.$props,this.$props.dataRef),e):_]):this.renderIcon()}else h&&n&&(y=this.renderIcon());var M=m,w=e("span",{class:o+"-title"},M?["function"===typeof M?M(c()({},this.$props,this.$props.dataRef),e):M]:[b]);return e("span",{key:"selector",ref:"selectHandle",attrs:{title:"string"===typeof m?m:"",draggable:!p&&u||void 0,"aria-grabbed":!p&&u||void 0},class:d()(""+g,g+"-"+(this.getNodeState()||"normal"),!p&&(t||i)&&o+"-node-selected",!p&&u&&"draggable"),on:{mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave,contextmenu:this.onContextMenu,click:this.onSelectorClick,dblclick:this.onSelectorDoubleClick,dragstart:u?this.onDragStart:v}},[y,w])},renderChildren:function(){var e=this.$createElement,t=this.expanded,n=this.pos,i=this.vcTree,r=i.prefixCls,a=i.openTransitionName,s=i.openAnimation,l=i.renderTreeNode,u={};a?u=Object(m["a"])(a):"object"===("undefined"===typeof s?"undefined":o()(s))&&(u=c()({},s),u.props=c()({css:!1},u.props));var f=this.getNodeChildren();if(0===f.length)return null;var p=void 0;return t&&(p=e("ul",{class:d()(r+"-child-tree",t&&r+"-child-tree-open"),attrs:{"data-expanded":t,role:"group"}},[Object(h["l"])(f,(function(e,t){return l(e,t,n)}))])),e("transition",u,[p])}},render:function(e){var t,n=this.$props,i=n.dragOver,a=n.dragOverGapTop,o=n.dragOverGapBottom,s=n.isLeaf,c=n.expanded,l=n.selected,u=n.checked,d=n.halfChecked,h=n.loading,f=this.vcTree,p=f.prefixCls,m=f.filterTreeNode,g=f.draggable,y=this.isDisabled();return e("li",{class:(t={},r()(t,p+"-treenode-disabled",y),r()(t,p+"-treenode-switcher-"+(c?"open":"close"),!s),r()(t,p+"-treenode-checkbox-checked",u),r()(t,p+"-treenode-checkbox-indeterminate",d),r()(t,p+"-treenode-selected",l),r()(t,p+"-treenode-loading",h),r()(t,"drag-over",!y&&i),r()(t,"drag-over-gap-top",!y&&a),r()(t,"drag-over-gap-bottom",!y&&o),r()(t,"filter-node",m&&m(this)),t),attrs:{role:"treeitem"},on:{dragenter:g?this.onDragEnter:v,dragover:g?this.onDragOver:v,dragleave:g?this.onDragLeave:v,drop:g?this.onDrop:v,dragend:g?this.onDragEnd:v}},[this.renderSwitcher(),this.renderCheckbox(),this.renderSelector(e),this.renderChildren()])},isTreeNode:1};t["a"]=_},ce7a:function(e,t,n){var i=n("9c0e"),r=n("0983"),a=n("5a94")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},ce86:function(e,t,n){var i=n("9e69"),r=n("7948"),a=n("6747"),o=n("ffd6"),s=1/0,c=i?i.prototype:void 0,l=c?c.toString:void 0;function u(e){if("string"==typeof e)return e;if(a(e))return r(e,u)+"";if(o(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=u},cecd:function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},cf51:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}return t}))},cf75:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function i(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function r(e,t,n,i){var r=a(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function a(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+t[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}var o=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:i,s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},d02c:function(e,t,n){var i=n("5e2e"),r=n("79bc"),a=n("7b83"),o=200;function s(e,t){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!r||s.length0?r(i(e),9007199254740991):0}},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},i=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return i}))},d2d4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},d327:function(e,t){function n(){return[]}e.exports=n},d370:function(e,t,n){var i=n("253c"),r=n("1310"),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(e){return r(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},d41d:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var i=["moz","ms","webkit"];function r(){var e=0;return function(t){var n=(new Date).getTime(),i=Math.max(0,16-(n-e)),r=window.setTimeout((function(){t(n+i)}),i);return e=n+i,r}}function a(){if("undefined"===typeof window)return function(){};if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);var e=i.filter((function(e){return e+"RequestAnimationFrame"in window}))[0];return e?window[e+"RequestAnimationFrame"]:r()}function o(e){if("undefined"===typeof window)return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(e);var t=i.filter((function(e){return e+"CancelAnimationFrame"in window||e+"CancelRequestAnimationFrame"in window}))[0];return t?(window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]).call(this,e):clearTimeout(e)}var s=a(),c=function(e){return o(e.id)},l=function(e,t){var n=Date.now();function i(){Date.now()-n>=t?e.call():r.id=s(i)}var r={id:s(i)};return r}},d612:function(e,t,n){var i=n("7b83"),r=n("7ed2"),a=n("dc0f");function o(e){var t=-1,n=null==e?0:e.length;this.__data__=new i;while(++t1?n-1:0);for(var i=1;i2?i-2:0);for(var r=2;r0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],n={},i=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(i).forEach((function(e){if(e){var i=e.split(r);if(i.length>1){var a=t?m(i[0].trim()):i[0].trim();n[a]=i[1].trim()}}})),n},g=function(e,t){var n=e.$options||{},i=n.propsData||{};return t in i},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};return Object.keys(e).forEach((function(i){(i in t||void 0!==e[i])&&(n[i]=e[i])})),n},b=function(e){return e.data&&e.data.scopedSlots||{}},_=function(e){var t=e.componentOptions||{};e.$vnode&&(t=e.$vnode.componentOptions||{});var n=e.children||t.children||[],i={};return n.forEach((function(e){if(!Y(e)){var t=e.data&&e.data.slot||"default";i[t]=i[t]||[],i[t].push(e)}})),c()({},i,b(e))},M=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.$scopedSlots&&e.$scopedSlots[t]&&e.$scopedSlots[t](n)||e.$slots[t]||[]},w=function(e){var t=e.componentOptions||{};return e.$vnode&&(t=e.$vnode.componentOptions||{}),e.children||t.children||[]},k=function(e){if(e.fnOptions)return e.fnOptions;var t=e.componentOptions;return e.$vnode&&(t=e.$vnode.componentOptions),t&&t.Ctor.options||{}},C=function(e){if(e.componentOptions){var t=e.componentOptions,n=t.propsData,i=void 0===n?{}:n,r=t.Ctor,a=void 0===r?{}:r,s=(a.options||{}).props||{},l={},u=!0,d=!1,h=void 0;try{for(var p,m=Object.entries(s)[Symbol.iterator]();!(u=(p=m.next()).done);u=!0){var v=p.value,g=o()(v,2),b=g[0],_=g[1],M=_["default"];void 0!==M&&(l[b]="function"===typeof M&&"Function"!==f(_.type)?M.call(e):M)}}catch(x){d=!0,h=x}finally{try{!u&&m["return"]&&m["return"]()}finally{if(d)throw h}}return c()({},l,i)}var w=e.$options,k=void 0===w?{}:w,C=e.$props,L=void 0===C?{}:C;return y(L,k.propsData)},L=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.$createElement){var r=e.$createElement,a=e[t];return void 0!==a?"function"===typeof a&&i?a(r,n):a:e.$scopedSlots[t]&&i&&e.$scopedSlots[t](n)||e.$scopedSlots[t]||e.$slots[t]||void 0}var o=e.context.$createElement,s=x(e)[t];if(void 0!==s)return"function"===typeof s&&i?s(o,n):s;var c=b(e)[t];if(void 0!==c)return"function"===typeof c&&i?c(o,n):c;var l=[],u=e.componentOptions||{};return(u.children||[]).forEach((function(e){e.data&&e.data.slot===t&&(e.data.attrs&&delete e.data.attrs.slot,"template"===e.tag?l.push(e.children):l.push(e))})),l.length?l:void 0},x=function(e){var t=e.componentOptions;return e.$vnode&&(t=e.$vnode.componentOptions),t&&t.propsData||{}},S=function(e,t){return x(e)[t]},O=function(e){var t=e.data;return e.$vnode&&(t=e.$vnode.data),t&&t.attrs||{}},T=function(e){var t=e.key;return e.$vnode&&(t=e.$vnode.key),t};function z(e){var t={};return e.componentOptions&&e.componentOptions.listeners?t=e.componentOptions.listeners:e.data&&e.data.on&&(t=e.data.on),c()({},t)}function H(e){var t={};return e.data&&e.data.on&&(t=e.data.on),c()({},t)}function D(e){return(e.$vnode?e.$vnode.componentOptions.listeners:e.$listeners)||{}}function V(e){var t={};e.data?t=e.data:e.$vnode&&e.$vnode.data&&(t=e.$vnode.data);var n=t["class"]||{},i=t.staticClass,r={};return i&&i.split(" ").forEach((function(e){r[e.trim()]=!0})),"string"===typeof n?n.split(" ").forEach((function(e){r[e.trim()]=!0})):Array.isArray(n)?h()(n).split(" ").forEach((function(e){r[e.trim()]=!0})):r=c()({},r,n),r}function j(e,t){var n={};e.data?n=e.data:e.$vnode&&e.$vnode.data&&(n=e.$vnode.data);var i=n.style||n.staticStyle;if("string"===typeof i)i=v(i,t);else if(t&&i){var r={};return Object.keys(i).forEach((function(e){return r[m(e)]=i[e]})),r}return i}function Y(e){return!(e.tag||e.text&&""!==e.text.trim())}function P(e){return!e.tag}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){return!Y(e)}))}var E=function(e,t){return Object.keys(t).forEach((function(n){if(!e[n])throw new Error("not have "+n+" prop");e[n].def&&(e[n]=e[n].def(t[n]))})),e};function F(){var e=[].slice.call(arguments,0),t={};return e.forEach((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!0,i=!1,r=void 0;try{for(var a,s=Object.entries(e)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value,d=o()(l,2),h=d[0],f=d[1];t[h]=t[h]||{},u()(f)?c()(t[h],f):t[h]=f}}catch(p){i=!0,r=p}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw r}}})),t}function $(e){return e&&"object"===("undefined"===typeof e?"undefined":r()(e))&&"componentOptions"in e&&"context"in e&&void 0!==e.tag}t["b"]=g},db29:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},dc0f:function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},dc4d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],r=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],a=e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:r,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return a}))},dc57:function(e,t){var n=Function.prototype,i=n.toString;function r(e){if(null!=e){try{return i.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=r},dcbe:function(e,t,n){var i=n("30c9"),r=n("1310");function a(e){return r(e)&&i(e)}e.exports=a},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,i=e.length-1;i>=0;i--){var r=e[i];"."===r?e.splice(i,1):".."===r?(e.splice(i,1),n++):n&&(e.splice(i,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function i(e){"string"!==typeof e&&(e+="");var t,n=0,i=-1,r=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!r){n=t+1;break}}else-1===i&&(r=!1,i=t+1);return-1===i?"":e.slice(n,i)}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],i=0;i=-1&&!i;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),o="/"===a(e,-1);return e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"),e||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function i(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var r=i(e.split("/")),a=i(n.split("/")),o=Math.min(r.length,a.length),s=o,c=0;c=1;--a)if(t=e.charCodeAt(a),47===t){if(!r){i=a;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":e.slice(0,i)},t.basename=function(e,t){var n=i(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,i=-1,r=!0,a=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===i&&(r=!1,i=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!r){n=o+1;break}}return-1===t||-1===i||0===a||1===a&&t===i-1&&t===n+1?"":e.slice(t,i)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dfe5:function(e,t){},e0c5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},i=e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return i}))},e0e7:function(e,t,n){var i=n("60ed");function r(e){return i(e)?void 0:e}e.exports=r},e198:function(e,t,n){var i=n("ef08"),r=n("5524"),a=n("e444"),o=n("fcd4"),s=n("1a14").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=a?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},e1d3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},e24b:function(e,t,n){var i=n("49f4"),r=n("1efc"),a=n("bbc0"),o=n("7a48"),s=n("2524");function c(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},ec18:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},ec2e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},ec69:function(e,t,n){var i=n("6fcd"),r=n("03dd"),a=n("30c9");function o(e){return a(e)?i(e):r(e)}e.exports=o},ec8c:function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},eda5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t}))},edfa:function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}e.exports=n},ef08:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},ef5d:function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},efb6:function(e,t,n){var i=n("5e2e");function r(){this.__data__=new i,this.size=0}e.exports=r},f23d:function(e,t,n){"use strict";var i=n("92fa"),r=n.n(i),a=n("6042"),o=n.n(a),s=n("4d91"),c=n("4d26"),l=n.n(c),u=n("0464"),d=n("6dd8"),h={name:"ResizeObserver",props:{disabled:Boolean},data:function(){return this.currentElement=null,this.resizeObserver=null,{width:0,height:0}},mounted:function(){this.onComponentUpdated()},updated:function(){this.onComponentUpdated()},beforeDestroy:function(){this.destroyObserver()},methods:{onComponentUpdated:function(){var e=this.$props.disabled;if(e)this.destroyObserver();else{var t=this.$el,n=t!==this.currentElement;n&&(this.destroyObserver(),this.currentElement=t),!this.resizeObserver&&t&&(this.resizeObserver=new d["a"](this.onResize),this.resizeObserver.observe(t))}},onResize:function(e){var t=e[0].target,n=t.getBoundingClientRect(),i=n.width,r=n.height,a=Math.floor(i),o=Math.floor(r);if(this.width!==a||this.height!==o){var s={width:a,height:o};this.width=a,this.height=o,this.$emit("resize",s)}},destroyObserver:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},render:function(){return this.$slots["default"][0]}},f=h,p=n("b488"),m=n("9b57"),v=n.n(m),g=n("c449"),y=n.n(g);function b(e){var t=void 0,n=function(n){return function(){t=null,e.apply(void 0,v()(n))}},i=function(){for(var e=arguments.length,i=Array(e),r=0;r0;function R(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r2&&void 0!==arguments[2]?arguments[2]:"";fe(e,"[antdv: "+t+"] "+n)},me=n("2c80"),ve=n.n(me);function ge(e,t,n,i){return ve()(e,t,n,i)}function ye(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function be(e,t,n){if(void 0!==n&&t.top>e.top-n)return n+t.top+"px"}function _e(e,t,n){if(void 0!==n&&t.bottom1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,i=void 0===n?function(){return window}:n,r=t.callback,a=t.duration,o=void 0===a?450:a,s=i(),c=ze(s,!0),l=Date.now(),u=function t(){var n=Date.now(),i=n-l,a=He(i>o?o:i,c,e,o);s===window?window.scrollTo(window.pageXOffset,a):s.scrollTop=a,i0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=this.getCurrentAnchor;if("function"===typeof n)return n();var i="";if("undefined"===typeof document)return i;var r=[],a=this.getContainer,o=a();if(this.links.forEach((function(n){var i=Ye.exec(n.toString());if(i){var a=document.getElementById(i[1]);if(a){var s=je(a,o);se.top?t:e}));return s.link}return""},handleScrollTo:function(e){var t=this,n=this.offsetTop,i=this.getContainer,r=this.targetOffset;this.setCurrentActiveLink(e);var a=i(),o=ze(a,!0),s=Ye.exec(e);if(s){var c=document.getElementById(s[1]);if(c){var l=je(c,a),u=o+l;u-=void 0!==r?r:n||0,this.animating=!0,De(u,{callback:function(){t.animating=!1},getContainer:i})}}},setCurrentActiveLink:function(e){var t=this.activeLink;t!==e&&(this.setState({activeLink:e}),this.$emit("change",e))},handleScroll:function(){if(!this.animating){var e=this.offsetTop,t=this.bounds,n=this.targetOffset,i=this.getCurrentActiveLink(void 0!==n?n:e||0,t);this.setCurrentActiveLink(i)}},updateInk:function(){if("undefined"!==typeof document){var e=this._sPrefixCls,t=this.$el.getElementsByClassName(e+"-link-title-active")[0];t&&(this.$refs.inkNode.style.top=t.offsetTop+t.clientHeight/2-4.5+"px")}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.offsetTop,i=this.affix,r=this.showInkInFixed,a=this.activeLink,o=this.$slots,s=this.getContainer,c=this.configProvider.getPrefixCls,u=c("anchor",t);this._sPrefixCls=u;var d=l()(u+"-ink-ball",{visible:a}),h=l()(this.wrapperClass,u+"-wrapper"),f=l()(u,{fixed:!i&&!r}),p=k()({maxHeight:n?"calc(100vh - "+n+"px)":"100vh"},this.wrapperStyle),m=e("div",{class:h,style:p},[e("div",{class:f},[e("div",{class:u+"-ink"},[e("span",{class:d,ref:"inkNode"})]),o["default"]])]);return i?e(Te,{attrs:{offsetTop:n,target:s}},[m]):m}},Ee={prefixCls:s["a"].string,href:s["a"].string,title:s["a"].any,target:s["a"].string},Fe={name:"AAnchorLink",props:Object(C["t"])(Ee,{href:"#"}),inject:{antAnchor:{default:function(){return{}}},antAnchorContext:{default:function(){return{}}},configProvider:{default:function(){return ce}}},watch:{href:function(e,t){var n=this;this.$nextTick((function(){n.antAnchor.unregisterLink(t),n.antAnchor.registerLink(e)}))}},mounted:function(){this.antAnchor.registerLink(this.href)},beforeDestroy:function(){this.antAnchor.unregisterLink(this.href)},methods:{handleClick:function(e){this.antAnchor.scrollTo(this.href);var t=this.antAnchor.scrollTo,n=this.$props,i=n.href,r=n.title;this.antAnchorContext.$emit&&this.antAnchorContext.$emit("click",e,{title:r,href:i}),t(i)}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.href,i=this.$slots,r=this.target,a=this.configProvider.getPrefixCls,s=a("anchor",t),c=Object(C["g"])(this,"title"),u=this.antAnchor.$data.activeLink===n,d=l()(s+"-link",o()({},s+"-link-active",u)),h=l()(s+"-link-title",o()({},s+"-link-title-active",u));return e("div",{class:d},[e("a",{class:h,attrs:{href:n,title:"string"===typeof c?c:"",target:r},on:{click:this.handleClick}},[c]),i["default"]])}};Ae.Link=Fe,Ae.install=function(e){e.use(te),e.component(Ae.name,Ae),e.component(Ae.Link.name,Ae.Link)};var $e=Ae,Ie={props:{value:s["a"].oneOfType([s["a"].string,s["a"].number]),label:s["a"].oneOfType([s["a"].string,s["a"].number]),disabled:s["a"].bool,title:s["a"].oneOfType([s["a"].string,s["a"].number])},isSelectOption:!0},Re={props:{value:s["a"].oneOfType([s["a"].string,s["a"].number]),label:s["a"].oneOfType([s["a"].string,s["a"].number])},isSelectOptGroup:!0},Ne=n("8e8e"),We=n.n(Ne),Ke={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Ke.F1&&t<=Ke.F12)return!1;switch(t){case Ke.ALT:case Ke.CAPS_LOCK:case Ke.CONTEXT_MENU:case Ke.CTRL:case Ke.DOWN:case Ke.END:case Ke.ESC:case Ke.HOME:case Ke.INSERT:case Ke.LEFT:case Ke.MAC_FF_META:case Ke.META:case Ke.NUMLOCK:case Ke.NUM_CENTER:case Ke.PAGE_DOWN:case Ke.PAGE_UP:case Ke.PAUSE:case Ke.PRINT_SCREEN:case Ke.RIGHT:case Ke.SHIFT:case Ke.UP:case Ke.WIN_KEY:case Ke.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Ke.ZERO&&e<=Ke.NINE)return!0;if(e>=Ke.NUM_ZERO&&e<=Ke.NUM_MULTIPLY)return!0;if(e>=Ke.A&&e<=Ke.Z)return!0;if(-1!==window.navigation.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case Ke.SPACE:case Ke.QUESTION_MARK:case Ke.NUM_PLUS:case Ke.NUM_MINUS:case Ke.NUM_PERIOD:case Ke.NUM_DIVISION:case Ke.SEMICOLON:case Ke.DASH:case Ke.EQUALS:case Ke.COMMA:case Ke.PERIOD:case Ke.SLASH:case Ke.APOSTROPHE:case Ke.SINGLE_QUOTE:case Ke.OPEN_SQUARE_BRACKET:case Ke.BACKSLASH:case Ke.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Be=Ke,Ue=n("3c55"),qe=n.n(Ue);function Ge(e){return Ge="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ge(e)}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ze(e){for(var t=1;t0?!0===a?zt.scrollTop(t,p.top+m.top):!1===a?zt.scrollTop(t,p.top+v.top):m.top<0?zt.scrollTop(t,p.top+m.top):zt.scrollTop(t,p.top+v.top):r||(a=void 0===a||!!a,a?zt.scrollTop(t,p.top+m.top):zt.scrollTop(t,p.top+v.top)),i&&(m.left<0||v.left>0?!0===o?zt.scrollLeft(t,p.left+m.left):!1===o?zt.scrollLeft(t,p.left+v.left):m.left<0?zt.scrollLeft(t,p.left+m.left):zt.scrollLeft(t,p.left+v.left):r||(o=void 0===o||!!o,o?zt.scrollLeft(t,p.left+m.left):zt.scrollLeft(t,p.left+v.left)))}var Dt=Ht,Vt=n("1b2b"),jt=n.n(Vt),Yt=n("58c1");function Pt(e){return e.name||"Component"}var At=function(){return{}};function Et(e){var t=!!e,n=e||At;return function(i){var a=Object(u["a"])(i.props||{},["store"]),o={__propsSymbol__:s["a"].any};Object.keys(a).forEach((function(e){o[e]=k()({},a[e],{required:!1})}));var c={name:"Connect_"+Pt(i),props:o,inject:{storeContext:{default:function(){return{}}}},data:function(){return this.store=this.storeContext.store,this.preProps=Object(u["a"])(Object(C["l"])(this),["__propsSymbol__"]),{subscribed:n(this.store.getState(),this.$props)}},watch:{__propsSymbol__:function(){e&&2===e.length&&(this.subscribed=n(this.store.getState(),this.$props))}},mounted:function(){this.trySubscribe()},beforeDestroy:function(){this.tryUnsubscribe()},methods:{handleChange:function(){if(this.unsubscribe){var e=Object(u["a"])(Object(C["l"])(this),["__propsSymbol__"]),t=n(this.store.getState(),e);jt()(this.preProps,e)&&jt()(this.subscribed,t)||(this.subscribed=t)}},trySubscribe:function(){t&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},tryUnsubscribe:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},getWrappedInstance:function(){return this.$refs.wrappedInstance}},render:function(){var e=arguments[0],t=this.$slots,n=void 0===t?{}:t,a=this.$scopedSlots,o=this.subscribed,s=this.store,c=Object(C["l"])(this);this.preProps=k()({},Object(u["a"])(c,["__propsSymbol__"]));var l={props:k()({},c,o,{store:s}),on:Object(C["k"])(this),scopedSlots:a};return e(i,r()([l,{ref:"wrappedInstance"}]),[Object.keys(n).map((function(t){return e("template",{slot:t},[n[t]])}))])}};return Object(Yt["a"])(c)}}var Ft=n("b24f"),$t=n.n(Ft),It=/iPhone/i,Rt=/iPod/i,Nt=/iPad/i,Wt=/\bAndroid(?:.+)Mobile\b/i,Kt=/Android/i,Bt=/\bAndroid(?:.+)SD4930UR\b/i,Ut=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,qt=/Windows Phone/i,Gt=/\bWindows(?:.+)ARM\b/i,Jt=/BlackBerry/i,Xt=/BB10/i,Zt=/Opera Mini/i,Qt=/\b(CriOS|Chrome)(?:.+)Mobile/i,en=/Mobile(?:.+)Firefox\b/i;function tn(e,t){return e.test(t)}function nn(e){var t=e||("undefined"!==typeof navigator?navigator.userAgent:""),n=t.split("[FBAN");if("undefined"!==typeof n[1]){var i=n,r=$t()(i,1);t=r[0]}if(n=t.split("Twitter"),"undefined"!==typeof n[1]){var a=n,o=$t()(a,1);t=o[0]}var s={apple:{phone:tn(It,t)&&!tn(qt,t),ipod:tn(Rt,t),tablet:!tn(It,t)&&tn(Nt,t)&&!tn(qt,t),device:(tn(It,t)||tn(Rt,t)||tn(Nt,t))&&!tn(qt,t)},amazon:{phone:tn(Bt,t),tablet:!tn(Bt,t)&&tn(Ut,t),device:tn(Bt,t)||tn(Ut,t)},android:{phone:!tn(qt,t)&&tn(Bt,t)||!tn(qt,t)&&tn(Wt,t),tablet:!tn(qt,t)&&!tn(Bt,t)&&!tn(Wt,t)&&(tn(Ut,t)||tn(Kt,t)),device:!tn(qt,t)&&(tn(Bt,t)||tn(Ut,t)||tn(Wt,t)||tn(Kt,t))||tn(/\bokhttp\b/i,t)},windows:{phone:tn(qt,t),tablet:tn(Gt,t),device:tn(qt,t)||tn(Gt,t)},other:{blackberry:tn(Jt,t),blackberry10:tn(Xt,t),opera:tn(Zt,t),firefox:tn(en,t),chrome:tn(Qt,t),device:tn(Jt,t)||tn(Xt,t)||tn(Zt,t)||tn(en,t)||tn(Qt,t)},any:null,phone:null,tablet:null};return s.any=s.apple.device||s.android.device||s.windows.device||s.other.device,s.phone=s.apple.phone||s.android.phone||s.windows.phone,s.tablet=s.apple.tablet||s.android.tablet||s.windows.tablet,s}var rn=k()({},nn(),{isMobile:nn}),an=rn;function on(){}function sn(e,t,n){var i=t||"";return void 0===e.key?i+"item_"+n:e.key}function cn(e){return e+"-menu-"}function ln(e,t){var n=-1;e.forEach((function(e){n++,e&&e.type&&e.type.isMenuItemGroup?e.$slots["default"].forEach((function(i){n++,e.componentOptions&&t(i,n)})):e.componentOptions&&t(e,n)}))}function un(e,t,n){e&&!n.find&&e.forEach((function(e){if(!n.find&&(!e.data||!e.data.slot||"default"===e.data.slot)&&e&&e.componentOptions){var i=e.componentOptions.Ctor.options;if(!i||!(i.isSubMenu||i.isMenuItem||i.isMenuItemGroup))return;-1!==t.indexOf(e.key)?n.find=!0:e.componentOptions.children&&un(e.componentOptions.children,t,n)}}))}var dn={props:["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],on:["select","deselect","destroy","openChange","itemHover","titleMouseenter","titleMouseleave","titleClick"]},hn=function(e){var t=e&&"function"===typeof e.getBoundingClientRect&&e.getBoundingClientRect().width;return t&&(t=+t.toFixed(6)),t||0},fn=function(e,t,n){e&&"object"===M()(e.style)&&(e.style[t]=n)},pn=function(){return an.any},mn={attribute:s["a"].object,rootPrefixCls:s["a"].string,eventKey:s["a"].oneOfType([s["a"].string,s["a"].number]),active:s["a"].bool,selectedKeys:s["a"].array,disabled:s["a"].bool,title:s["a"].any,index:s["a"].number,inlineIndent:s["a"].number.def(24),level:s["a"].number.def(1),mode:s["a"].oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]).def("vertical"),parentMenu:s["a"].object,multiple:s["a"].bool,value:s["a"].any,isSelected:s["a"].bool,manualRef:s["a"].func.def(on),role:s["a"].any,subMenuKey:s["a"].string,itemIcon:s["a"].any},vn={name:"MenuItem",props:mn,mixins:[p["a"]],isMenuItem:!0,created:function(){this.prevActive=this.active,this.callRef()},updated:function(){var e=this;this.$nextTick((function(){var t=e.$props,n=t.active,i=t.parentMenu,r=t.eventKey;e.prevActive||!n||i&&i["scrolled-"+r]?i&&i["scrolled-"+r]&&delete i["scrolled-"+r]:(Dt(e.$el,e.parentMenu.$el,{onlyScrollIfNeeded:!0}),i["scrolled-"+r]=!0),e.prevActive=n})),this.callRef()},beforeDestroy:function(){var e=this.$props;this.__emit("destroy",e.eventKey)},methods:{onKeyDown:function(e){var t=e.keyCode;if(t===Be.ENTER)return this.onClick(e),!0},onMouseLeave:function(e){var t=this.$props.eventKey;this.__emit("itemHover",{key:t,hover:!1}),this.__emit("mouseleave",{key:t,domEvent:e})},onMouseEnter:function(e){var t=this.eventKey;this.__emit("itemHover",{key:t,hover:!0}),this.__emit("mouseenter",{key:t,domEvent:e})},onClick:function(e){var t=this.$props,n=t.eventKey,i=t.multiple,r=t.isSelected,a={key:n,keyPath:[n],item:this,domEvent:e};this.__emit("click",a),i?r?this.__emit("deselect",a):this.__emit("select",a):r||this.__emit("select",a)},getPrefixCls:function(){return this.$props.rootPrefixCls+"-item"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},callRef:function(){this.manualRef&&this.manualRef(this)}},render:function(){var e,t=arguments[0],n=k()({},this.$props),i=(e={},o()(e,this.getPrefixCls(),!0),o()(e,this.getActiveClassName(),!n.disabled&&n.active),o()(e,this.getSelectedClassName(),n.isSelected),o()(e,this.getDisabledClassName(),n.disabled),e),a=k()({},n.attribute,{title:n.title,role:n.role||"menuitem","aria-disabled":n.disabled});"option"===n.role?a=k()({},a,{role:"option","aria-selected":n.isSelected}):null!==n.role&&"none"!==n.role||(a.role="none");var s={click:n.disabled?on:this.onClick,mouseleave:n.disabled?on:this.onMouseLeave,mouseenter:n.disabled?on:this.onMouseEnter},c={};"inline"===n.mode&&(c.paddingLeft=n.inlineIndent*n.level+"px");var l=k()({},Object(C["k"])(this));dn.props.forEach((function(e){return delete n[e]})),dn.on.forEach((function(e){return delete l[e]}));var u={attrs:k()({},n,a),on:k()({},l,s)};return t("li",r()([u,{style:c,class:i}]),[this.$slots["default"],Object(C["g"])(this,"itemIcon",n)])}},gn=Et((function(e,t){var n=e.activeKey,i=e.selectedKeys,r=t.eventKey,a=t.subMenuKey;return{active:n[a]===r,isSelected:-1!==i.indexOf(r)}}))(vn),yn=gn,bn={name:"MenuItemGroup",props:{renderMenuItem:s["a"].func,index:s["a"].number,className:s["a"].string,subMenuKey:s["a"].string,rootPrefixCls:s["a"].string,disabled:s["a"].bool.def(!0),title:s["a"].any},isMenuItemGroup:!0,methods:{renderInnerMenuItem:function(e){var t=this.$props,n=t.renderMenuItem,i=t.index,r=t.subMenuKey;return n(e,i,r)}},render:function(){var e=arguments[0],t=k()({},this.$props),n=t.rootPrefixCls,i=t.title,r=n+"-item-group-title",a=n+"-item-group-list",o=k()({},Object(C["k"])(this));return delete o.click,e("li",{on:o,class:n+"-item-group"},[e("div",{class:r,attrs:{title:"string"===typeof i?i:void 0}},[Object(C["g"])(this,"title")]),e("ul",{class:a},[this.$slots["default"]&&this.$slots["default"].map(this.renderInnerMenuItem)])])}},_n=bn,Mn=n("d96e"),wn=n.n(Mn),kn=n("2b0e"),Cn=n("94eb"),Ln=n("7b05");function xn(e,t){var n=t;while(n){if(n===e)return!0;n=n.parentNode}return!1}var Sn,On=n("d41d");function Tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function zn(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function ji(e,t,n,i){var r=Oi.clone(e),a={width:t.width,height:t.height};return i.adjustX&&r.left=n.left&&r.left+a.width>n.right&&(a.width-=r.left+a.width-n.right),i.adjustX&&r.left+a.width>n.right&&(r.left=Math.max(n.right-a.width,n.left)),i.adjustY&&r.top=n.top&&r.top+a.height>n.bottom&&(a.height-=r.top+a.height-n.bottom),i.adjustY&&r.top+a.height>n.bottom&&(r.top=Math.max(n.bottom-a.height,n.top)),Oi.mix(r,a)}function Yi(e){var t,n,i;if(Oi.isWindow(e)||9===e.nodeType){var r=Oi.getWindow(e);t={left:Oi.getWindowScrollLeft(r),top:Oi.getWindowScrollTop(r)},n=Oi.viewportWidth(r),i=Oi.viewportHeight(r)}else t=Oi.offset(e),n=Oi.outerWidth(e),i=Oi.outerHeight(e);return t.width=n,t.height=i,t}function Pi(e,t){var n=t.charAt(0),i=t.charAt(1),r=e.width,a=e.height,o=e.left,s=e.top;return"c"===n?s+=a/2:"b"===n&&(s+=a),"c"===i?o+=r/2:"r"===i&&(o+=r),{left:o,top:s}}function Ai(e,t,n,i,r){var a=Pi(t,n[1]),o=Pi(e,n[0]),s=[o.left-a.left,o.top-a.top];return{left:Math.round(e.left-s[0]+i[0]-r[0]),top:Math.round(e.top-s[1]+i[1]-r[1])}}function Ei(e,t,n){return e.leftn.right}function Fi(e,t,n){return e.topn.bottom}function $i(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||i.top>=n.bottom}function qi(e,t,n){var i=n.target||t,r=Yi(i),a=!Ui(i,n.overflow&&n.overflow.alwaysByViewport);return Bi(e,r,n,a)}function Gi(e,t,n){var i,r,a=Oi.getDocument(e),o=a.defaultView||a.parentWindow,s=Oi.getWindowScrollLeft(o),c=Oi.getWindowScrollTop(o),l=Oi.viewportWidth(o),u=Oi.viewportHeight(o);i="pageX"in t?t.pageX:s+t.clientX,r="pageY"in t?t.pageY:c+t.clientY;var d={left:i,top:r,width:0,height:0},h=i>=0&&i<=s+l&&r>=0&&r<=c+u,f=[n.points[0],"cc"];return Bi(e,d,zn(zn({},n),{},{points:f}),h)}qi.__getOffsetParent=zi,qi.__getVisibleRectForElement=Vi;function Ji(e,t){var n=void 0;function i(){n&&(clearTimeout(n),n=null)}function r(){i(),n=setTimeout(e,t)}return r.clear=i,r}function Xi(e,t){return e===t||!(!e||!t)&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&(e.clientX===t.clientX&&e.clientY===t.clientY))}function Zi(e){return e&&"object"===("undefined"===typeof e?"undefined":M()(e))&&e.window===e}function Qi(e,t){var n=Math.floor(e),i=Math.floor(t);return Math.abs(n-i)<=1}function er(e,t){e!==document.activeElement&&xn(t,e)&&e.focus()}var tr=n("0644"),nr=n.n(tr);function ir(e){return"function"===typeof e&&e?e():null}function rr(e){return"object"===("undefined"===typeof e?"undefined":M()(e))&&e?e:null}var ar={props:{childrenProps:s["a"].object,align:s["a"].object.isRequired,target:s["a"].oneOfType([s["a"].func,s["a"].object]).def((function(){return window})),monitorBufferTime:s["a"].number.def(50),monitorWindowResize:s["a"].bool.def(!1),disabled:s["a"].bool.def(!1)},data:function(){return this.aligned=!1,{}},mounted:function(){var e=this;this.$nextTick((function(){e.prevProps=k()({},e.$props);var t=e.$props;!e.aligned&&e.forceAlign(),!t.disabled&&t.monitorWindowResize&&e.startMonitorWindowResize()}))},updated:function(){var e=this;this.$nextTick((function(){var t=e.prevProps,n=e.$props,i=!1;if(!n.disabled){var r=e.$el,a=r?r.getBoundingClientRect():null;if(t.disabled)i=!0;else{var o=ir(t.target),s=ir(n.target),c=rr(t.target),l=rr(n.target);Zi(o)&&Zi(s)?i=!1:(o!==s||o&&!s&&l||c&&l&&s||l&&!Xi(c,l))&&(i=!0);var u=e.sourceRect||{};i||!r||Qi(u.width,a.width)&&Qi(u.height,a.height)||(i=!0)}e.sourceRect=a}i&&e.forceAlign(),n.monitorWindowResize&&!n.disabled?e.startMonitorWindowResize():e.stopMonitorWindowResize(),e.prevProps=k()({},e.$props,{align:nr()(e.$props.align)})}))},beforeDestroy:function(){this.stopMonitorWindowResize()},methods:{startMonitorWindowResize:function(){this.resizeHandler||(this.bufferMonitor=Ji(this.forceAlign,this.$props.monitorBufferTime),this.resizeHandler=ge(window,"resize",this.bufferMonitor))},stopMonitorWindowResize:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)},forceAlign:function(){var e=this.$props,t=e.disabled,n=e.target,i=e.align;if(!t&&n){var r=this.$el,a=Object(C["k"])(this),o=void 0,s=ir(n),c=rr(n),l=document.activeElement;s?o=qi(r,s,i):c&&(o=Gi(r,c,i)),er(l,r),this.aligned=!0,a.align&&a.align(r,o)}}},render:function(){var e=this.$props.childrenProps,t=Object(C["n"])(this)[0];return t&&e?Object(Ln["a"])(t,{props:e}):t}},or=ar,sr={props:{visible:s["a"].bool,hiddenClassName:s["a"].string},render:function(){var e=arguments[0],t=this.$props,n=t.hiddenClassName,i=(t.visible,null);if(n||!this.$slots["default"]||this.$slots["default"].length>1){var r="";i=e("div",{class:r},[this.$slots["default"]])}else i=this.$slots["default"][0];return i}},cr={props:{hiddenClassName:s["a"].string.def(""),prefixCls:s["a"].string,visible:s["a"].bool},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.visible,a=t.hiddenClassName,o={on:Object(C["k"])(this)};return e("div",r()([o,{class:i?"":a}]),[e(sr,{class:n+"-content",attrs:{visible:i}},[this.$slots["default"]])])}},lr=n("18ce"),ur={name:"VCTriggerPopup",mixins:[p["a"]],props:{visible:s["a"].bool,getClassNameFromAlign:s["a"].func,getRootDomNode:s["a"].func,align:s["a"].any,destroyPopupOnHide:s["a"].bool,prefixCls:s["a"].string,getContainer:s["a"].func,transitionName:s["a"].string,animation:s["a"].any,maskAnimation:s["a"].string,maskTransitionName:s["a"].string,mask:s["a"].bool,zIndex:s["a"].number,popupClassName:s["a"].any,popupStyle:s["a"].object.def((function(){return{}})),stretch:s["a"].string,point:s["a"].shape({pageX:s["a"].number,pageY:s["a"].number})},data:function(){return this.domEl=null,{stretchChecked:!1,targetWidth:void 0,targetHeight:void 0}},mounted:function(){var e=this;this.$nextTick((function(){e.rootNode=e.getPopupDomNode(),e.setStretchSize()}))},updated:function(){var e=this;this.$nextTick((function(){e.setStretchSize()}))},beforeDestroy:function(){this.$el.parentNode?this.$el.parentNode.removeChild(this.$el):this.$el.remove&&this.$el.remove()},methods:{onAlign:function(e,t){var n=this.$props,i=n.getClassNameFromAlign(t);this.currentAlignClassName!==i&&(this.currentAlignClassName=i,e.className=this.getClassName(i));var r=Object(C["k"])(this);r.align&&r.align(e,t)},setStretchSize:function(){var e=this.$props,t=e.stretch,n=e.getRootDomNode,i=e.visible,r=this.$data,a=r.stretchChecked,o=r.targetHeight,s=r.targetWidth;if(t&&i){var c=n();if(c){var l=c.offsetHeight,u=c.offsetWidth;o===l&&s===u&&a||this.setState({stretchChecked:!0,targetHeight:l,targetWidth:u})}}else a&&this.setState({stretchChecked:!1})},getPopupDomNode:function(){return this.$refs.popupInstance?this.$refs.popupInstance.$el:null},getTargetElement:function(){return this.$props.getRootDomNode()},getAlignTarget:function(){var e=this.$props.point;return e||this.getTargetElement},getMaskTransitionName:function(){var e=this.$props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},getTransitionName:function(){var e=this.$props,t=e.transitionName,n=e.animation;return t||("string"===typeof n?t=""+n:n&&n.props&&n.props.name&&(t=n.props.name)),t},getClassName:function(e){return this.$props.prefixCls+" "+this.$props.popupClassName+" "+e},getPopupElement:function(){var e=this,t=this.$createElement,n=this.$props,i=this.$slots,r=this.getTransitionName,a=this.$data,o=a.stretchChecked,s=a.targetHeight,c=a.targetWidth,l=n.align,u=n.visible,d=n.prefixCls,h=n.animation,f=n.popupStyle,p=n.getClassNameFromAlign,m=n.destroyPopupOnHide,v=n.stretch,g=this.getClassName(this.currentAlignClassName||p(l));u||(this.currentAlignClassName=null);var y={};v&&(-1!==v.indexOf("height")?y.height="number"===typeof s?s+"px":s:-1!==v.indexOf("minHeight")&&(y.minHeight="number"===typeof s?s+"px":s),-1!==v.indexOf("width")?y.width="number"===typeof c?c+"px":c:-1!==v.indexOf("minWidth")&&(y.minWidth="number"===typeof c?c+"px":c),o||setTimeout((function(){e.$refs.alignInstance&&e.$refs.alignInstance.forceAlign()}),0));var b={props:{prefixCls:d,visible:u},class:g,on:Object(C["k"])(this),ref:"popupInstance",style:k()({},y,f,this.getZIndexStyle())},_={props:{appear:!0,css:!1}},w=r(),L=!!w,x={beforeEnter:function(){},enter:function(t,n){e.$nextTick((function(){e.$refs.alignInstance?e.$refs.alignInstance.$nextTick((function(){e.domEl=t,Object(lr["a"])(t,w+"-enter",n)})):n()}))},beforeLeave:function(){e.domEl=null},leave:function(e,t){Object(lr["a"])(e,w+"-leave",t)}};if("object"===("undefined"===typeof h?"undefined":M()(h))){L=!0;var S=h.on,O=void 0===S?{}:S,T=h.props,z=void 0===T?{}:T;_.props=k()({},_.props,z),_.on=k()({},x,O)}else _.on=x;return L||(_={}),t("transition",_,m?[u?t(or,{attrs:{target:this.getAlignTarget(),monitorWindowResize:!0,align:l},key:"popup",ref:"alignInstance",on:{align:this.onAlign}},[t(cr,b,[i["default"]])]):null]:[t(or,{directives:[{name:"show",value:u}],attrs:{target:this.getAlignTarget(),monitorWindowResize:!0,disabled:!u,align:l},key:"popup",ref:"alignInstance",on:{align:this.onAlign}},[t(cr,b,[i["default"]])])])},getZIndexStyle:function(){var e={},t=this.$props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},getMaskElement:function(){var e=this.$createElement,t=this.$props,n=null;if(t.mask){var i=this.getMaskTransitionName();n=e(sr,{directives:[{name:"show",value:t.visible}],style:this.getZIndexStyle(),key:"mask",class:t.prefixCls+"-mask",attrs:{visible:t.visible}}),i&&(n=e("transition",{attrs:{appear:!0,name:i}},[n]))}return n}},render:function(){var e=arguments[0],t=this.getMaskElement,n=this.getPopupElement;return e("div",[t(),n()])}};function dr(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function hr(e,t,n){var i=e[t]||{};return k()({},i,n)}function fr(e,t,n,i){var r=n.points;for(var a in e)if(e.hasOwnProperty(a)&&dr(e[a].points,r,i))return t+"-placement-"+a;return""}function pr(){}var mr={props:{autoMount:s["a"].bool.def(!0),autoDestroy:s["a"].bool.def(!0),visible:s["a"].bool,forceRender:s["a"].bool.def(!1),parent:s["a"].any,getComponent:s["a"].func.isRequired,getContainer:s["a"].func.isRequired,children:s["a"].func.isRequired},mounted:function(){this.autoMount&&this.renderComponent()},updated:function(){this.autoMount&&this.renderComponent()},beforeDestroy:function(){this.autoDestroy&&this.removeContainer()},methods:{removeContainer:function(){this.container&&(this._component&&this._component.$destroy(),this.container.parentNode.removeChild(this.container),this.container=null,this._component=null)},renderComponent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=this.visible,i=this.forceRender,r=this.getContainer,a=this.parent,o=this;if(n||a._component||a.$refs._component||i){var s=this.componentEl;this.container||(this.container=r(),s=document.createElement("div"),this.componentEl=s,this.container.appendChild(s));var c={component:o.getComponent(e)};this._component?this._component.setComponent(c):this._component=new this.$root.constructor({el:s,parent:o,data:{_com:c},mounted:function(){this.$nextTick((function(){t&&t.call(o)}))},updated:function(){this.$nextTick((function(){t&&t.call(o)}))},methods:{setComponent:function(e){this.$data._com=e}},render:function(){return this.$data._com.component}})}}},render:function(){return this.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}};function vr(){return""}function gr(){return window.document}kn["a"].use(E.a,{name:"ant-ref"});var yr=["click","mousedown","touchstart","mouseenter","mouseleave","focus","blur","contextmenu"],br={name:"Trigger",mixins:[p["a"]],props:{action:s["a"].oneOfType([s["a"].string,s["a"].arrayOf(s["a"].string)]).def([]),showAction:s["a"].any.def([]),hideAction:s["a"].any.def([]),getPopupClassNameFromAlign:s["a"].any.def(vr),afterPopupVisibleChange:s["a"].func.def(pr),popup:s["a"].any,popupStyle:s["a"].object.def((function(){return{}})),prefixCls:s["a"].string.def("rc-trigger-popup"),popupClassName:s["a"].string.def(""),popupPlacement:s["a"].string,builtinPlacements:s["a"].object,popupTransitionName:s["a"].oneOfType([s["a"].string,s["a"].object]),popupAnimation:s["a"].any,mouseEnterDelay:s["a"].number.def(0),mouseLeaveDelay:s["a"].number.def(.1),zIndex:s["a"].number,focusDelay:s["a"].number.def(0),blurDelay:s["a"].number.def(.15),getPopupContainer:s["a"].func,getDocument:s["a"].func.def(gr),forceRender:s["a"].bool,destroyPopupOnHide:s["a"].bool.def(!1),mask:s["a"].bool.def(!1),maskClosable:s["a"].bool.def(!0),popupAlign:s["a"].object.def((function(){return{}})),popupVisible:s["a"].bool,defaultPopupVisible:s["a"].bool.def(!1),maskTransitionName:s["a"].oneOfType([s["a"].string,s["a"].object]),maskAnimation:s["a"].string,stretch:s["a"].string,alignPoint:s["a"].bool},provide:function(){return{vcTriggerContext:this}},inject:{vcTriggerContext:{default:function(){return{}}},savePopupRef:{default:function(){return pr}},dialogContext:{default:function(){return null}}},data:function(){var e=this,t=this.$props,n=void 0;return n=Object(C["s"])(this,"popupVisible")?!!t.popupVisible:!!t.defaultPopupVisible,yr.forEach((function(t){e["fire"+t]=function(n){e.fireEvents(t,n)}})),{prevPopupVisible:n,sPopupVisible:n,point:null}},watch:{popupVisible:function(e){void 0!==e&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},deactivated:function(){this.setPopupVisible(!1)},mounted:function(){var e=this;this.$nextTick((function(){e.renderComponent(null),e.updatedCal()}))},updated:function(){var e=this,t=function(){e.sPopupVisible!==e.prevPopupVisible&&e.afterPopupVisibleChange(e.sPopupVisible),e.prevPopupVisible=e.sPopupVisible};this.renderComponent(null,t),this.$nextTick((function(){e.updatedCal()}))},beforeDestroy:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},methods:{updatedCal:function(){var e=this.$props,t=this.$data;if(t.sPopupVisible){var n=void 0;this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextmenuToShow()||(n=e.getDocument(),this.clickOutsideHandler=ge(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(),this.touchOutsideHandler=ge(n,"touchstart",this.onDocumentClick)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(),this.contextmenuOutsideHandler1=ge(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=ge(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter:function(e){var t=this.$props.mouseEnterDelay;this.fireEvents("mouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove:function(e){this.fireEvents("mousemove",e),this.setPoint(e)},onMouseleave:function(e){this.fireEvents("mouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter:function(){this.clearDelayTimer()},onPopupMouseleave:function(e){e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&this._component&&this._component.getPopupDomNode&&xn(this._component.getPopupDomNode(),e.relatedTarget)||this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onFocus:function(e){this.fireEvents("focus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown:function(e){this.fireEvents("mousedown",e),this.preClickTime=Date.now()},onTouchstart:function(e){this.fireEvents("touchstart",e),this.preTouchTime=Date.now()},onBlur:function(e){xn(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("blur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu:function(e){e.preventDefault(),this.fireEvents("contextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose:function(){this.isContextmenuToShow()&&this.close()},onClick:function(e){if(this.fireEvents("click",e),this.focusTime){var t=void 0;if(this.preClickTime&&this.preTouchTime?t=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?t=this.preClickTime:this.preTouchTime&&(t=this.preTouchTime),Math.abs(t-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();var n=!this.$data.sPopupVisible;(this.isClickToHide()&&!n||n&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown:function(){var e=this,t=this.vcTriggerContext,n=void 0===t?{}:t;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout((function(){e.hasPopupMouseDown=!1}),0),n.onPopupMouseDown&&n.onPopupMouseDown.apply(n,arguments)},onDocumentClick:function(e){if(!this.$props.mask||this.$props.maskClosable){var t=e.target,n=this.$el;xn(n,t)||this.hasPopupMouseDown||this.close()}},getPopupDomNode:function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},getRootDomNode:function(){return this.$el},handleGetPopupClassFromAlign:function(e){var t=[],n=this.$props,i=n.popupPlacement,r=n.builtinPlacements,a=n.prefixCls,o=n.alignPoint,s=n.getPopupClassNameFromAlign;return i&&r&&t.push(fr(r,a,e,o)),s&&t.push(s(e)),t.join(" ")},getPopupAlign:function(){var e=this.$props,t=e.popupPlacement,n=e.popupAlign,i=e.builtinPlacements;return t&&i?hr(i,t,n):n},savePopup:function(e){this._component=e,this.savePopupRef(e)},getComponent:function(){var e=this.$createElement,t=this,n={};this.isMouseEnterToShow()&&(n.mouseenter=t.onPopupMouseenter),this.isMouseLeaveToHide()&&(n.mouseleave=t.onPopupMouseleave),n.mousedown=this.onPopupMouseDown,n.touchstart=this.onPopupMouseDown;var i=t.handleGetPopupClassFromAlign,r=t.getRootDomNode,a=t.getContainer,o=t.$props,s=o.prefixCls,c=o.destroyPopupOnHide,l=o.popupClassName,u=o.action,d=o.popupAnimation,h=o.popupTransitionName,f=o.popupStyle,p=o.mask,m=o.maskAnimation,v=o.maskTransitionName,g=o.zIndex,y=o.stretch,b=o.alignPoint,_=this.$data,M=_.sPopupVisible,w=_.point,L=this.getPopupAlign(),x={props:{prefixCls:s,destroyPopupOnHide:c,visible:M,point:b&&w,action:u,align:L,animation:d,getClassNameFromAlign:i,stretch:y,getRootDomNode:r,mask:p,zIndex:g,transitionName:h,maskAnimation:m,maskTransitionName:v,getContainer:a,popupClassName:l,popupStyle:f},on:k()({align:Object(C["k"])(this).popupAlign||pr},n),directives:[{name:"ant-ref",value:this.savePopup}]};return e(ur,x,[Object(C["g"])(t,"popup")])},getContainer:function(){var e=this.$props,t=this.dialogContext,n=document.createElement("div");n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%";var i=e.getPopupContainer?e.getPopupContainer(this.$el,t):e.getDocument().body;return i.appendChild(n),this.popupContainer=n,n},setPopupVisible:function(e,t){var n=this.alignPoint,i=this.sPopupVisible;if(this.clearDelayTimer(),i!==e){Object(C["s"])(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:i});var r=Object(C["k"])(this);r.popupVisibleChange&&r.popupVisibleChange(e)}n&&t&&this.setPoint(t)},setPoint:function(e){var t=this.$props.alignPoint;t&&e&&this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},delaySetPopupVisible:function(e,t,n){var i=this,r=1e3*t;if(this.clearDelayTimer(),r){var a=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=Object(On["b"])((function(){i.setPopupVisible(e,a),i.clearDelayTimer()}),r)}else this.setPopupVisible(e,n)},clearDelayTimer:function(){this.delayTimer&&(Object(On["a"])(this.delayTimer),this.delayTimer=null)},clearOutsideHandler:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains:function(e){var t=function(){},n=Object(C["k"])(this);return this.childOriginEvents[e]&&n[e]?this["fire"+e]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},isContextmenuToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextmenu")||-1!==n.indexOf("contextmenu")},isClickToHide:function(){var e=this.$props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},isMouseEnterToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseenter")},isMouseLeaveToHide:function(){var e=this.$props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseleave")},isFocusToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")},isBlurToHide:function(){var e=this.$props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")},forcePopupAlign:function(){this.$data.sPopupVisible&&this._component&&this._component.$refs.alignInstance&&this._component.$refs.alignInstance.forceAlign()},fireEvents:function(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t),this.__emit(e,t)},close:function(){this.setPopupVisible(!1)}},render:function(){var e=this,t=arguments[0],n=this.sPopupVisible,i=Object(C["c"])(this.$slots["default"]),r=this.$props,a=r.forceRender,o=r.alignPoint;i.length>1&&pe(!1,"Trigger $slots.default.length > 1, just support only one default",!0);var s=i[0];this.childOriginEvents=Object(C["h"])(s);var c={props:{},nativeOn:{},key:"trigger"};return this.isContextmenuToShow()?c.nativeOn.contextmenu=this.onContextmenu:c.nativeOn.contextmenu=this.createTwoChains("contextmenu"),this.isClickToHide()||this.isClickToShow()?(c.nativeOn.click=this.onClick,c.nativeOn.mousedown=this.onMousedown,c.nativeOn.touchstart=this.onTouchstart):(c.nativeOn.click=this.createTwoChains("click"),c.nativeOn.mousedown=this.createTwoChains("mousedown"),c.nativeOn.touchstart=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(c.nativeOn.mouseenter=this.onMouseenter,o&&(c.nativeOn.mousemove=this.onMouseMove)):c.nativeOn.mouseenter=this.createTwoChains("mouseenter"),this.isMouseLeaveToHide()?c.nativeOn.mouseleave=this.onMouseleave:c.nativeOn.mouseleave=this.createTwoChains("mouseleave"),this.isFocusToShow()||this.isBlurToHide()?(c.nativeOn.focus=this.onFocus,c.nativeOn.blur=this.onBlur):(c.nativeOn.focus=this.createTwoChains("focus"),c.nativeOn.blur=function(t){!t||t.relatedTarget&&xn(t.target,t.relatedTarget)||e.createTwoChains("blur")(t)}),this.trigger=Object(Ln["a"])(s,c),t(mr,{attrs:{parent:this,visible:n,autoMount:!1,forceRender:a,getComponent:this.getComponent,getContainer:this.getContainer,children:function(t){var n=t.renderComponent;return e.renderComponent=n,e.trigger}}})}},_r=br;function Mr(e){var t=e,n=[];function i(e){t=k()({},t,e);for(var i=0;i=this.$refs.subMenuTitle.offsetWidth||(e.style.minWidth=this.$refs.subMenuTitle.offsetWidth+"px")}},renderChildren:function(e){var t=this.$createElement,n=this.$props,i=Object(C["k"])(this),a=i.select,o=i.deselect,s=i.openChange,c={props:{mode:"horizontal"===n.mode?"vertical":n.mode,visible:n.isOpen,level:n.level+1,inlineIndent:n.inlineIndent,focusable:!1,selectedKeys:n.selectedKeys,eventKey:n.eventKey+"-menu-",openKeys:n.openKeys,openTransitionName:n.openTransitionName,openAnimation:n.openAnimation,subMenuOpenDelay:n.subMenuOpenDelay,parentMenu:this,subMenuCloseDelay:n.subMenuCloseDelay,forceSubMenuRender:n.forceSubMenuRender,triggerSubMenuAction:n.triggerSubMenuAction,builtinPlacements:n.builtinPlacements,defaultActiveFirst:n.store.getState().defaultActiveFirst[cn(n.eventKey)],multiple:n.multiple,prefixCls:n.rootPrefixCls,manualRef:this.saveMenuInstance,itemIcon:Object(C["g"])(this,"itemIcon"),expandIcon:Object(C["g"])(this,"expandIcon"),children:e},on:{click:this.onSubMenuClick,select:a,deselect:o,openChange:s},id:this.internalMenuId},l=c.props,u=this.haveRendered;if(this.haveRendered=!0,this.haveOpened=this.haveOpened||l.visible||l.forceSubMenuRender,!this.haveOpened)return t("div");var d=u||!l.visible||"inline"===!l.mode;c["class"]=" "+l.prefixCls+"-sub";var h={appear:d,css:!1},f={props:h,on:{}};return l.openTransitionName?f=Object(Cn["a"])(l.openTransitionName,{appear:d}):"object"===M()(l.openAnimation)?(h=k()({},h,l.openAnimation.props||{}),d||(h.appear=!1)):"string"===typeof l.openAnimation&&(f=Object(Cn["a"])(l.openAnimation,{appear:d})),"object"===M()(l.openAnimation)&&l.openAnimation.on&&(f.on=l.openAnimation.on),t("transition",f,[t(Wr,r()([{directives:[{name:"show",value:n.isOpen}]},c]))])}},render:function(){var e,t,n=arguments[0],i=this.$props,a=this.rootPrefixCls,s=this.parentMenu,c=i.isOpen,l=this.getPrefixCls(),d="inline"===i.mode,h=(e={},o()(e,l,!0),o()(e,l+"-"+i.mode,!0),o()(e,this.getOpenClassName(),c),o()(e,this.getActiveClassName(),i.active||c&&!d),o()(e,this.getDisabledClassName(),i.disabled),o()(e,this.getSelectedClassName(),this.isChildrenSelected()),e);this.internalMenuId||(i.eventKey?this.internalMenuId=i.eventKey+"$Menu":this.internalMenuId="$__$"+ ++Sr+"$Menu");var f={},p={},m={};i.disabled||(f={mouseleave:this.onMouseLeave,mouseenter:this.onMouseEnter},p={click:this.onTitleClick},m={mouseenter:this.onTitleMouseEnter,mouseleave:this.onTitleMouseLeave});var v={};d&&(v.paddingLeft=i.inlineIndent*i.level+"px");var g={};c&&(g={"aria-owns":this.internalMenuId});var y={attrs:k()({"aria-expanded":c},g,{"aria-haspopup":"true",title:"string"===typeof i.title?i.title:void 0}),on:k()({},m,p),style:v,class:l+"-title",ref:"subMenuTitle"},b=null;"horizontal"!==i.mode&&(b=Object(C["g"])(this,"expandIcon",i));var _=n("div",y,[Object(C["g"])(this,"title"),b||n("i",{class:l+"-arrow"})]),M=this.renderChildren(Object(C["c"])(this.$slots["default"])),w=this.parentMenu.isRootMenu?this.parentMenu.getPopupContainer:function(e){return e.parentNode},L=Or[i.mode],x=i.popupOffset?{offset:i.popupOffset}:{},S="inline"===i.mode?"":i.popupClassName,O={on:k()({},Object(u["a"])(Object(C["k"])(this),["click"]),f),class:h};return n("li",r()([O,{attrs:{role:"menuitem"}}]),[d&&_,d&&M,!d&&n(_r,{attrs:(t={prefixCls:l,popupClassName:l+"-popup "+a+"-"+s.theme+" "+(S||""),getPopupContainer:w,builtinPlacements:xr},o()(t,"builtinPlacements",k()({},xr,i.builtinPlacements)),o()(t,"popupPlacement",L),o()(t,"popupVisible",c),o()(t,"popupAlign",x),o()(t,"action",i.disabled?[]:[i.triggerSubMenuAction]),o()(t,"mouseEnterDelay",i.subMenuOpenDelay),o()(t,"mouseLeaveDelay",i.subMenuCloseDelay),o()(t,"forceRender",i.forceSubMenuRender),t),on:{popupVisibleChange:this.onPopupVisibleChange}},[n("template",{slot:"popup"},[M]),_])])}},Hr=Et((function(e,t){var n=e.openKeys,i=e.activeKey,r=e.selectedKeys,a=t.eventKey,o=t.subMenuKey;return{isOpen:n.indexOf(a)>-1,active:i[o]===a,selectedKeys:r}}))(zr);Hr.isSubMenu=!0;var Dr=Hr,Vr=!("undefined"===typeof window||!window.document||!window.document.createElement),jr="menuitem-overflowed",Yr=.5;Vr&&n("0cdd");var Pr={name:"DOMWrap",mixins:[p["a"]],data:function(){return this.resizeObserver=null,this.mutationObserver=null,this.originalTotalWidth=0,this.overflowedItems=[],this.menuItemSizes=[],{lastVisibleIndex:void 0}},mounted:function(){var e=this;this.$nextTick((function(){if(e.setChildrenWidthAndResize(),1===e.level&&"horizontal"===e.mode){var t=e.$el;if(!t)return;e.resizeObserver=new d["a"]((function(t){t.forEach(e.setChildrenWidthAndResize)})),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),"undefined"!==typeof MutationObserver&&(e.mutationObserver=new MutationObserver((function(){e.resizeObserver.disconnect(),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),e.setChildrenWidthAndResize()})),e.mutationObserver.observe(t,{attributes:!1,childList:!0,subTree:!1}))}}))},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()},methods:{getMenuItemNodes:function(){var e=this.$props.prefixCls,t=this.$el;return t?[].slice.call(t.children).filter((function(t){return t.className.split(" ").indexOf(e+"-overflowed-submenu")<0})):[]},getOverflowedSubMenuItem:function(e,t,n){var i=this.$createElement,r=this.$props,a=r.overflowedIndicator,o=r.level,s=r.mode,c=r.prefixCls,l=r.theme;if(1!==o||"horizontal"!==s)return null;var u=this.$slots["default"][0],d=Object(C["m"])(u),h=(d.title,We()(d,["title"])),f=Object(C["i"])(u),p={},m=e+"-overflowed-indicator",v=e+"-overflowed-indicator";0===t.length&&!0!==n?p={display:"none"}:n&&(p={visibility:"hidden",position:"absolute"},m+="-placeholder",v+="-placeholder");var g=l?c+"-"+l:"",y={},b={};dn.props.forEach((function(e){void 0!==h[e]&&(y[e]=h[e])})),dn.on.forEach((function(e){void 0!==f[e]&&(b[e]=f[e])}));var _={props:k()({title:a,popupClassName:g},y,{eventKey:v,disabled:!1}),class:c+"-overflowed-submenu",key:m,style:p,on:b};return i(Dr,_,[t])},setChildrenWidthAndResize:function(){if("horizontal"===this.mode){var e=this.$el;if(e){var t=e.children;if(t&&0!==t.length){var n=e.children[t.length-1];fn(n,"display","inline-block");var i=this.getMenuItemNodes(),r=i.filter((function(e){return e.className.split(" ").indexOf(jr)>=0}));r.forEach((function(e){fn(e,"display","inline-block")})),this.menuItemSizes=i.map((function(e){return hn(e)})),r.forEach((function(e){fn(e,"display","none")})),this.overflowedIndicatorWidth=hn(e.children[e.children.length-1]),this.originalTotalWidth=this.menuItemSizes.reduce((function(e,t){return e+t}),0),this.handleResize(),fn(n,"display","none")}}}},handleResize:function(){var e=this;if("horizontal"===this.mode){var t=this.$el;if(t){var n=hn(t);this.overflowedItems=[];var i=0,r=void 0;this.originalTotalWidth>n+Yr&&(r=-1,this.menuItemSizes.forEach((function(t){i+=t,i+e.overflowedIndicatorWidth<=n&&(r+=1)}))),this.setState({lastVisibleIndex:r})}}},renderChildren:function(e){var t=this,n=this.$data.lastVisibleIndex,i=Object(C["f"])(this);return(e||[]).reduce((function(r,a,o){var s=a,c=Object(C["m"])(a).eventKey;if("horizontal"===t.mode){var l=t.getOverflowedSubMenuItem(c,[]);void 0!==n&&-1!==i[t.prefixCls+"-root"]&&(o>n&&(s=Object(Ln["a"])(a,{style:{display:"none"},props:{eventKey:c+"-hidden"},class:jr})),o===n+1&&(t.overflowedItems=e.slice(n+1).map((function(e){return Object(Ln["a"])(e,{key:Object(C["m"])(e).eventKey,props:{mode:"vertical-left"}})})),l=t.getOverflowedSubMenuItem(c,t.overflowedItems)));var u=[].concat(v()(r),[l,s]);return o===e.length-1&&u.push(t.getOverflowedSubMenuItem(c,[],!0)),u}return[].concat(v()(r),[s])}),[])}},render:function(){var e=arguments[0],t=this.$props.tag,n={on:Object(C["k"])(this)};return e(t,n,[this.renderChildren(this.$slots["default"])])}};Pr.props={mode:s["a"].oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),prefixCls:s["a"].string,level:s["a"].number,theme:s["a"].string,overflowedIndicator:s["a"].node,visible:s["a"].bool,hiddenClassName:s["a"].string,tag:s["a"].string.def("div")};var Ar=Pr;function Er(e){return!e.length||e.every((function(e){return!!e.disabled}))}function Fr(e,t,n){var i=e.getState();e.setState({activeKey:k()({},i.activeKey,o()({},t,n))})}function $r(e){return e.eventKey||"0-menu-"}function Ir(e,t){if(t){var n=this.instanceArrayKeyIndexMap[e];this.instanceArray[n]=t}}function Rr(e,t){var n=t,i=e.eventKey,r=e.defaultActiveFirst,a=e.children;if(void 0!==n&&null!==n){var o=void 0;if(ln(a,(function(e,t){var r=e.componentOptions.propsData||{};e&&!r.disabled&&n===sn(e,i,t)&&(o=!0)})),o)return n}return n=null,r?(ln(a,(function(e,t){var r=e.componentOptions.propsData||{},a=null===n||void 0===n;a&&e&&!r.disabled&&(n=sn(e,i,t))})),n):n}var Nr={name:"SubPopupMenu",props:Object(C["t"])({prefixCls:s["a"].string,openTransitionName:s["a"].string,openAnimation:s["a"].oneOfType([s["a"].string,s["a"].object]),openKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])),visible:s["a"].bool,parentMenu:s["a"].object,eventKey:s["a"].string,store:s["a"].object,forceSubMenuRender:s["a"].bool,focusable:s["a"].bool,multiple:s["a"].bool,defaultActiveFirst:s["a"].bool,activeKey:s["a"].oneOfType([s["a"].string,s["a"].number]),selectedKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])),defaultSelectedKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])),defaultOpenKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])),level:s["a"].number,mode:s["a"].oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),triggerSubMenuAction:s["a"].oneOf(["click","hover"]),inlineIndent:s["a"].oneOfType([s["a"].number,s["a"].string]),manualRef:s["a"].func,itemIcon:s["a"].any,expandIcon:s["a"].any,overflowedIndicator:s["a"].any,children:s["a"].any.def([]),__propsSymbol__:s["a"].any},{prefixCls:"rc-menu",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,manualRef:on}),mixins:[p["a"]],created:function(){var e=Object(C["l"])(this);this.prevProps=k()({},e),e.store.setState({activeKey:k()({},e.store.getState().activeKey,o()({},e.eventKey,Rr(e,e.activeKey)))}),this.instanceArray=[]},mounted:function(){this.manualRef&&this.manualRef(this)},updated:function(){var e=Object(C["l"])(this),t=this.prevProps,n="activeKey"in e?e.activeKey:e.store.getState().activeKey[$r(e)],i=Rr(e,n);if(i!==n)Fr(e.store,$r(e),i);else if("activeKey"in t){var r=Rr(t,t.activeKey);i!==r&&Fr(e.store,$r(e),i)}this.prevProps=k()({},e)},methods:{onKeyDown:function(e,t){var n=e.keyCode,i=void 0;if(this.getFlatInstanceArray().forEach((function(t){t&&t.active&&t.onKeyDown&&(i=t.onKeyDown(e))})),i)return 1;var r=null;return n!==Be.UP&&n!==Be.DOWN||(r=this.step(n===Be.UP?-1:1)),r?(e.preventDefault(),Fr(this.$props.store,$r(this.$props),r.eventKey),"function"===typeof t&&t(r),1):void 0},onItemHover:function(e){var t=e.key,n=e.hover;Fr(this.$props.store,$r(this.$props),n?t:null)},onDeselect:function(e){this.__emit("deselect",e)},onSelect:function(e){this.__emit("select",e)},onClick:function(e){this.__emit("click",e)},onOpenChange:function(e){this.__emit("openChange",e)},onDestroy:function(e){this.__emit("destroy",e)},getFlatInstanceArray:function(){return this.instanceArray},getOpenTransitionName:function(){return this.$props.openTransitionName},step:function(e){var t=this.getFlatInstanceArray(),n=this.$props.store.getState().activeKey[$r(this.$props)],i=t.length;if(!i)return null;e<0&&(t=t.concat().reverse());var r=-1;if(t.every((function(e,t){return!e||e.eventKey!==n||(r=t,!1)})),this.defaultActiveFirst||-1===r||!Er(t.slice(r,i-1))){var a=(r+1)%i,o=a;do{var s=t[o];if(s&&!s.disabled)return s;o=(o+1)%i}while(o!==a);return null}},getIcon:function(e,t){if(e.$createElement){var n=e[t];return void 0!==n?n:e.$slots[t]||e.$scopedSlots[t]}var i=Object(C["m"])(e)[t];if(void 0!==i)return i;var r=[],a=e.componentOptions||{};return(a.children||[]).forEach((function(e){e.data&&e.data.slot===t&&("template"===e.tag?r.push(e.children):r.push(e))})),r.length?r:void 0},renderCommonMenuItem:function(e,t,n){var i=this;if(void 0===e.tag)return e;var r=this.$props.store.getState(),a=this.$props,o=sn(e,a.eventKey,t),s=e.componentOptions.propsData||{},c=o===r.activeKey[$r(this.$props)];s.disabled||(this.instanceArrayKeyIndexMap[o]=Object.keys(this.instanceArrayKeyIndexMap).length);var l=Object(C["i"])(e),u={props:k()({mode:s.mode||a.mode,level:a.level,inlineIndent:a.inlineIndent,renderMenuItem:this.renderMenuItem,rootPrefixCls:a.prefixCls,index:t,parentMenu:a.parentMenu,manualRef:s.disabled?on:Ir.bind(this,o),eventKey:o,active:!s.disabled&&c,multiple:a.multiple,openTransitionName:this.getOpenTransitionName(),openAnimation:a.openAnimation,subMenuOpenDelay:a.subMenuOpenDelay,subMenuCloseDelay:a.subMenuCloseDelay,forceSubMenuRender:a.forceSubMenuRender,builtinPlacements:a.builtinPlacements,itemIcon:this.getIcon(e,"itemIcon")||this.getIcon(this,"itemIcon"),expandIcon:this.getIcon(e,"expandIcon")||this.getIcon(this,"expandIcon")},n),on:{click:function(e){(l.click||on)(e),i.onClick(e)},itemHover:this.onItemHover,openChange:this.onOpenChange,deselect:this.onDeselect,select:this.onSelect}};return("inline"===a.mode||pn())&&(u.props.triggerSubMenuAction="click"),Object(Ln["a"])(e,u)},renderMenuItem:function(e,t,n){if(!e)return null;var i=this.$props.store.getState(),r={openKeys:i.openKeys,selectedKeys:i.selectedKeys,triggerSubMenuAction:this.triggerSubMenuAction,isRootMenu:!1,subMenuKey:n};return this.renderCommonMenuItem(e,t,r)}},render:function(){var e=this,t=arguments[0],n=We()(this.$props,[]),i=n.eventKey,r=n.prefixCls,a=n.visible,o=n.level,s=n.mode,c=n.theme;this.instanceArray=[],this.instanceArrayKeyIndexMap={};var d=l()(n.prefixCls,n.prefixCls+"-"+n.mode),h={props:{tag:"ul",visible:a,prefixCls:r,level:o,mode:s,theme:c,overflowedIndicator:Object(C["g"])(this,"overflowedIndicator")},attrs:{role:n.role||"menu"},class:d,on:Object(u["a"])(Object(C["k"])(this),["click"])};return n.focusable&&(h.attrs.tabIndex="0",h.on.keydown=this.onKeyDown),t(Ar,h,[n.children.map((function(t,n){return e.renderMenuItem(t,n,i||"0-menu-")}))])}},Wr=Et()(Nr),Kr={prefixCls:s["a"].string.def("rc-menu"),focusable:s["a"].bool.def(!0),multiple:s["a"].bool,defaultActiveFirst:s["a"].bool,visible:s["a"].bool.def(!0),activeKey:s["a"].oneOfType([s["a"].string,s["a"].number]),selectedKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])),defaultSelectedKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])).def([]),defaultOpenKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])).def([]),openKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])),openAnimation:s["a"].oneOfType([s["a"].string,s["a"].object]),mode:s["a"].oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]).def("vertical"),triggerSubMenuAction:s["a"].string.def("hover"),subMenuOpenDelay:s["a"].number.def(.1),subMenuCloseDelay:s["a"].number.def(.1),level:s["a"].number.def(1),inlineIndent:s["a"].number.def(24),theme:s["a"].oneOf(["light","dark"]).def("light"),getPopupContainer:s["a"].func,openTransitionName:s["a"].string,forceSubMenuRender:s["a"].bool,selectable:s["a"].bool,isRootMenu:s["a"].bool.def(!0),builtinPlacements:s["a"].object.def((function(){return{}})),itemIcon:s["a"].any,expandIcon:s["a"].any,overflowedIndicator:s["a"].any},Br={name:"Menu",props:k()({},Kr,{selectable:s["a"].bool.def(!0)}),mixins:[p["a"]],data:function(){var e=Object(C["l"])(this),t=e.defaultSelectedKeys,n=e.defaultOpenKeys;return"selectedKeys"in e&&(t=e.selectedKeys||[]),"openKeys"in e&&(n=e.openKeys||[]),this.store=Mr({selectedKeys:t,openKeys:n,activeKey:{"0-menu-":Rr(k()({},e,{children:this.$slots["default"]||[]}),e.activeKey)}}),{}},mounted:function(){this.updateMiniStore()},updated:function(){this.updateMiniStore()},methods:{onSelect:function(e){var t=this.$props;if(t.selectable){var n=this.store.getState().selectedKeys,i=e.key;n=t.multiple?n.concat([i]):[i],Object(C["b"])(this,"selectedKeys")||this.store.setState({selectedKeys:n}),this.__emit("select",k()({},e,{selectedKeys:n}))}},onClick:function(e){this.__emit("click",e)},onKeyDown:function(e,t){this.$refs.innerMenu.getWrappedInstance().onKeyDown(e,t)},onOpenChange:function(e){var t=this.store.getState().openKeys.concat(),n=!1,i=function(e){var i=!1;if(e.open)i=-1===t.indexOf(e.key),i&&t.push(e.key);else{var r=t.indexOf(e.key);i=-1!==r,i&&t.splice(r,1)}n=n||i};Array.isArray(e)?e.forEach(i):i(e),n&&(Object(C["b"])(this,"openKeys")||this.store.setState({openKeys:t}),this.__emit("openChange",t))},onDeselect:function(e){var t=this.$props;if(t.selectable){var n=this.store.getState().selectedKeys.concat(),i=e.key,r=n.indexOf(i);-1!==r&&n.splice(r,1),Object(C["b"])(this,"selectedKeys")||this.store.setState({selectedKeys:n}),this.__emit("deselect",k()({},e,{selectedKeys:n}))}},getOpenTransitionName:function(){var e=this.$props,t=e.openTransitionName,n=e.openAnimation;return t||"string"!==typeof n||(t=e.prefixCls+"-open-"+n),t},updateMiniStore:function(){var e=Object(C["l"])(this);"selectedKeys"in e&&this.store.setState({selectedKeys:e.selectedKeys||[]}),"openKeys"in e&&this.store.setState({openKeys:e.openKeys||[]})}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n={props:k()({},t,{itemIcon:Object(C["g"])(this,"itemIcon",t),expandIcon:Object(C["g"])(this,"expandIcon",t),overflowedIndicator:Object(C["g"])(this,"overflowedIndicator",t)||e("span",["···"]),openTransitionName:this.getOpenTransitionName(),parentMenu:this,children:Object(C["c"])(this.$slots["default"]||[])}),class:t.prefixCls+"-root",on:k()({},Object(C["k"])(this),{click:this.onClick,openChange:this.onOpenChange,deselect:this.onDeselect,select:this.onSelect}),ref:"innerMenu"};return e(kr,{attrs:{store:this.store}},[e(Wr,n)])}},Ur=Br,qr=Ur;function Gr(e){return"string"===typeof e?e.trim():""}function Jr(e){if(!e)return null;var t=Object(C["m"])(e);if("value"in t)return t.value;if(void 0!==Object(C["j"])(e))return Object(C["j"])(e);if(Object(C["o"])(e).isSelectOptGroup){var n=Object(C["g"])(e,"label");if(n)return n}throw new Error("Need at least a key or a value or a label (only for OptGroup) for "+e)}function Xr(e,t){if("value"===t)return Jr(e);if("children"===t){var n=e.$slots?Object(Ln["b"])(e.$slots["default"],!0):Object(Ln["b"])(e.componentOptions.children,!0);return 1!==n.length||n[0].tag?n:n[0].text}var i=Object(C["m"])(e);return t in i?i[t]:Object(C["e"])(e)[t]}function Zr(e){return e.multiple}function Qr(e){return e.combobox}function ea(e){return e.multiple||e.tags}function ta(e){return ea(e)||Qr(e)}function na(e){return!ta(e)}function ia(e){var t=e;return void 0===e?t=[]:Array.isArray(e)||(t=[e]),t}function ra(e){return("undefined"===typeof e?"undefined":M()(e))+"-"+e}function aa(e){e.preventDefault()}function oa(e,t){var n=-1;if(e)for(var i=0;i0)return!0;return!1}function fa(e,t){var n=new RegExp("["+t.join()+"]");return e.split(n).filter((function(e){return e}))}function pa(e,t){var n=Object(C["m"])(t);if(n.disabled)return!1;var i=Xr(t,this.optionFilterProp);return i=i.length&&i[0].text?i[0].text:String(i),i.toLowerCase().indexOf(e.toLowerCase())>-1}function ma(e,t){if(!na(t)&&!Zr(t)&&"string"!==typeof e)throw new Error("Invalid `value` of type `"+("undefined"===typeof e?"undefined":M()(e))+"` supplied to Option, expected `string` when `tags/combobox` is `true`.")}function va(e,t){return function(n){e[t]=n}}function ga(){var e=(new Date).getTime(),t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:7&n|8).toString(16)}));return t}var ya={name:"DropdownMenu",mixins:[p["a"]],props:{ariaId:s["a"].string,defaultActiveFirstOption:s["a"].bool,value:s["a"].any,dropdownMenuStyle:s["a"].object,multiple:s["a"].bool,prefixCls:s["a"].string,menuItems:s["a"].any,inputValue:s["a"].string,visible:s["a"].bool,backfillValue:s["a"].any,firstActiveValue:s["a"].string,menuItemSelectedIcon:s["a"].any},watch:{visible:function(e){var t=this;e?this.$nextTick((function(){t.scrollActiveItemToView()})):this.lastVisible=e}},created:function(){this.rafInstance=null,this.lastInputValue=this.$props.inputValue,this.lastVisible=!1},mounted:function(){var e=this;this.$nextTick((function(){e.scrollActiveItemToView()})),this.lastVisible=this.$props.visible},updated:function(){var e=this.$props;this.lastVisible=e.visible,this.lastInputValue=e.inputValue,this.prevVisible=this.visible},beforeDestroy:function(){this.rafInstance&&y.a.cancel(this.rafInstance)},methods:{scrollActiveItemToView:function(){var e=this,t=this.firstActiveItem&&this.firstActiveItem.$el,n=this.$props,i=n.value,r=n.visible,a=n.firstActiveValue;if(t&&r){var o={onlyScrollIfNeeded:!0};i&&0!==i.length||!a||(o.alignWithTop=!0),this.rafInstance=y()((function(){Dt(t,e.$refs.menuRef.$el,o)}))}},renderMenu:function(){var e=this,t=this.$createElement,n=this.$props,i=n.menuItems,r=n.defaultActiveFirstOption,a=n.value,o=n.prefixCls,s=n.multiple,c=n.inputValue,l=n.firstActiveValue,u=n.dropdownMenuStyle,d=n.backfillValue,h=n.visible,f=Object(C["g"])(this,"menuItemSelectedIcon"),p=Object(C["k"])(this),m=p.menuDeselect,v=p.menuSelect,g=p.popupScroll;if(i&&i.length){var y=ca(i,a),b={props:{multiple:s,itemIcon:s?f:null,selectedKeys:y,prefixCls:o+"-menu"},on:{},style:u,ref:"menuRef",attrs:{role:"listbox"}};g&&(b.on.scroll=g),s?(b.on.deselect=m,b.on.select=v):b.on.click=v;var _={},M=r,w=i;if(y.length||l){n.visible&&!this.lastVisible?_.activeKey=y[0]||l:h||(y[0]&&(M=!1),_.activeKey=void 0);var L=!1,x=function(t){return!L&&-1!==y.indexOf(t.key)||!L&&!y.length&&-1!==l.indexOf(t.key)?(L=!0,Object(Ln["a"])(t,{directives:[{name:"ant-ref",value:function(t){e.firstActiveItem=t}}]})):t};w=i.map((function(e){if(Object(C["o"])(e).isMenuItemGroup){var t=e.componentOptions.children.map(x);return Object(Ln["a"])(e,{children:t})}return x(e)}))}else this.firstActiveItem=null;var S=a&&a[a.length-1];return c===this.lastInputValue||S&&S===d||(_.activeKey=""),b.props=k()({},_,b.props,{defaultActiveFirst:M}),t(qr,b,[w])}return null}},render:function(){var e=arguments[0],t=this.renderMenu(),n=Object(C["k"])(this),i=n.popupFocus,r=n.popupScroll;return t?e("div",{style:{overflow:"auto",transform:"translateZ(0)"},attrs:{id:this.$props.ariaId,tabIndex:"-1"},on:{focus:i,mousedown:aa,scroll:r},ref:"menuContainer"},[t]):null}},ba={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},_a={name:"SelectTrigger",mixins:[p["a"]],props:{dropdownMatchSelectWidth:s["a"].bool,defaultActiveFirstOption:s["a"].bool,dropdownAlign:s["a"].object,visible:s["a"].bool,disabled:s["a"].bool,showSearch:s["a"].bool,dropdownClassName:s["a"].string,dropdownStyle:s["a"].object,dropdownMenuStyle:s["a"].object,multiple:s["a"].bool,inputValue:s["a"].string,filterOption:s["a"].any,empty:s["a"].bool,options:s["a"].any,prefixCls:s["a"].string,popupClassName:s["a"].string,value:s["a"].array,showAction:s["a"].arrayOf(s["a"].string),combobox:s["a"].bool,animation:s["a"].string,transitionName:s["a"].string,getPopupContainer:s["a"].func,backfillValue:s["a"].any,menuItemSelectedIcon:s["a"].any,dropdownRender:s["a"].func,ariaId:s["a"].string},data:function(){return{dropdownWidth:0}},created:function(){this.rafInstance=null,this.saveDropdownMenuRef=va(this,"dropdownMenuRef"),this.saveTriggerRef=va(this,"triggerRef")},mounted:function(){var e=this;this.$nextTick((function(){e.setDropdownWidth()}))},updated:function(){var e=this;this.$nextTick((function(){e.setDropdownWidth()}))},beforeDestroy:function(){this.cancelRafInstance()},methods:{setDropdownWidth:function(){var e=this;this.cancelRafInstance(),this.rafInstance=y()((function(){var t=e.$el.offsetWidth;t!==e.dropdownWidth&&e.setState({dropdownWidth:t})}))},cancelRafInstance:function(){this.rafInstance&&y.a.cancel(this.rafInstance)},getInnerMenu:function(){return this.dropdownMenuRef&&this.dropdownMenuRef.$refs.menuRef},getPopupDOMNode:function(){return this.triggerRef.getPopupDomNode()},getDropdownElement:function(e){var t=this.$createElement,n=this.value,i=this.firstActiveValue,r=this.defaultActiveFirstOption,a=this.dropdownMenuStyle,o=this.getDropdownPrefixCls,s=this.backfillValue,c=this.menuItemSelectedIcon,l=Object(C["k"])(this),u=l.menuSelect,d=l.menuDeselect,h=l.popupScroll,f=this.$props,p=f.dropdownRender,m=f.ariaId,v={props:k()({},e.props,{ariaId:m,prefixCls:o(),value:n,firstActiveValue:i,defaultActiveFirstOption:r,dropdownMenuStyle:a,backfillValue:s,menuItemSelectedIcon:c}),on:k()({},e.on,{menuSelect:u,menuDeselect:d,popupScroll:h}),directives:[{name:"ant-ref",value:this.saveDropdownMenuRef}]},g=t(ya,v);return p?p(g,f):null},getDropdownTransitionName:function(){var e=this.$props,t=e.transitionName;return!t&&e.animation&&(t=this.getDropdownPrefixCls()+"-"+e.animation),t},getDropdownPrefixCls:function(){return this.prefixCls+"-dropdown"}},render:function(){var e,t=arguments[0],n=this.$props,i=this.$slots,r=n.multiple,a=n.visible,s=n.inputValue,c=n.dropdownAlign,u=n.disabled,d=n.showSearch,h=n.dropdownClassName,f=n.dropdownStyle,p=n.dropdownMatchSelectWidth,m=n.options,v=n.getPopupContainer,g=n.showAction,y=n.empty,b=Object(C["k"])(this),_=b.mouseenter,M=b.mouseleave,w=b.popupFocus,L=b.dropdownVisibleChange,x=this.getDropdownPrefixCls(),S=(e={},o()(e,h,!!h),o()(e,x+"--"+(r?"multiple":"single"),1),o()(e,x+"--empty",y),e),O=this.getDropdownElement({props:{menuItems:m,multiple:r,inputValue:s,visible:a},on:{popupFocus:w}}),T=void 0;T=u?[]:na(n)&&!d?["click"]:["blur"];var z=k()({},f),H=p?"width":"minWidth";this.dropdownWidth&&(z[H]=this.dropdownWidth+"px");var D={props:k()({},n,{showAction:u?[]:g,hideAction:T,ref:"triggerRef",popupPlacement:"bottomLeft",builtinPlacements:ba,prefixCls:x,popupTransitionName:this.getDropdownTransitionName(),popupAlign:c,popupVisible:a,getPopupContainer:v,popupClassName:l()(S),popupStyle:z}),on:{popupVisibleChange:L},directives:[{name:"ant-ref",value:this.saveTriggerRef}]};return _&&(D.on.mouseenter=_),M&&(D.on.mouseleave=M),t(_r,D,[i["default"],t("template",{slot:"popup"},[O])])}},Ma={defaultActiveFirstOption:s["a"].bool,multiple:s["a"].bool,filterOption:s["a"].any,showSearch:s["a"].bool,disabled:s["a"].bool,allowClear:s["a"].bool,showArrow:s["a"].bool,tags:s["a"].bool,prefixCls:s["a"].string,transitionName:s["a"].string,optionLabelProp:s["a"].string,optionFilterProp:s["a"].string,animation:s["a"].string,choiceTransitionName:s["a"].string,open:s["a"].bool,defaultOpen:s["a"].bool,placeholder:s["a"].any,labelInValue:s["a"].bool,loading:s["a"].bool,value:s["a"].any,defaultValue:s["a"].any,dropdownStyle:s["a"].object,dropdownClassName:s["a"].string,maxTagTextLength:s["a"].number,maxTagCount:s["a"].number,maxTagPlaceholder:s["a"].any,tokenSeparators:s["a"].arrayOf(s["a"].string),getInputElement:s["a"].func,showAction:s["a"].arrayOf(s["a"].string),autoFocus:s["a"].bool,getPopupContainer:s["a"].func,clearIcon:s["a"].any,inputIcon:s["a"].any,removeIcon:s["a"].any,menuItemSelectedIcon:s["a"].any,dropdownRender:s["a"].func,mode:s["a"].oneOf(["multiple","tags"]),backfill:s["a"].bool,dropdownAlign:s["a"].any,dropdownMatchSelectWidth:s["a"].bool,dropdownMenuStyle:s["a"].object,notFoundContent:s["a"].oneOfType([String,Number]),tabIndex:s["a"].oneOfType([String,Number])},wa="undefined"!==typeof window,ka="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Ca=ka&&WXEnvironment.platform.toLowerCase(),La=wa&&window.navigator.userAgent.toLowerCase(),xa=La&&/msie|trident/.test(La),Sa=(La&&La.indexOf("msie 9.0"),La&&La.indexOf("edge/")>0);La&&La.indexOf("android"),La&&/iphone|ipad|ipod|ios/.test(La),La&&/chrome\/\d+/.test(La),La&&/phantomjs/.test(La),La&&La.match(/firefox\/(\d+)/);kn["a"].use(E.a,{name:"ant-ref"});var Oa="RC_SELECT_EMPTY_VALUE_KEY",Ta=function(){return null};function za(e){return!e||null===e.offsetParent}function Ha(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){t.data&&void 0===t.data.slot&&(Object(C["o"])(t).isSelectOptGroup?e.getOptionsFromChildren(t.componentOptions.children,n):n.push(t))})),n},getInputValueForCombobox:function(e,t,n){var i=[];if("value"in e&&!n&&(i=ia(e.value)),"defaultValue"in e&&n&&(i=ia(e.defaultValue)),!i.length)return"";i=i[0];var r=i;return e.labelInValue?r=i.label:t[ra(i)]&&(r=t[ra(i)].label),void 0===r&&(r=""),r},getLabelFromOption:function(e,t){return Xr(t,e.optionLabelProp)},getOptionsInfoFromProps:function(e,t){var n=this,i=this.getOptionsFromChildren(this.$props.children),r={};if(i.forEach((function(t){var i=Jr(t);r[ra(i)]={option:t,value:i,label:n.getLabelFromOption(e,t),title:Object(C["r"])(t,"title"),disabled:Object(C["r"])(t,"disabled")}})),t){var a=t._optionsInfo,o=t._value;o&&o.forEach((function(e){var t=ra(e);r[t]||void 0===a[t]||(r[t]=a[t])}))}return r},getValueFromProps:function(e,t){var n=[];return"value"in e&&!t&&(n=ia(e.value)),"defaultValue"in e&&t&&(n=ia(e.defaultValue)),e.labelInValue&&(n=n.map((function(e){return e.key}))),n},onInputChange:function(e){var t=e.target,n=t.value,i=t.composing,r=this.$data._inputValue,a=void 0===r?"":r;if(e.isComposing||i||a===n)this.setState({_mirrorInputValue:n});else{var o=this.$props.tokenSeparators;if(ea(this.$props)&&o.length&&ha(n,o)){var s=this.getValueByInput(n);return void 0!==s&&this.fireChange(s),this.setOpenState(!1,{needFocus:!0}),void this.setInputValue("",!1)}this.setInputValue(n),this.setState({_open:!0}),Qr(this.$props)&&this.fireChange([n])}},onDropdownVisibleChange:function(e){e&&!this._focused&&(this.clearBlurTime(),this.timeoutFocus(),this._focused=!0,this.updateFocusClassName()),this.setOpenState(e)},onKeyDown:function(e){var t=this.$data._open,n=this.$props.disabled;if(!n){var i=e.keyCode;t&&!this.getInputDOMNode()?this.onInputKeydown(e):i===Be.ENTER||i===Be.DOWN?(i!==Be.ENTER||ea(this.$props)?t||this.setOpenState(!0):this.maybeFocus(!0),e.preventDefault()):i===Be.SPACE&&(t||(this.setOpenState(!0),e.preventDefault()))}},onInputKeydown:function(e){var t=this,n=this.$props,i=n.disabled,r=n.combobox,a=n.defaultActiveFirstOption;if(!i){var o=this.$data,s=this.getRealOpenState(o),c=e.keyCode;if(!ea(this.$props)||e.target.value||c!==Be.BACKSPACE){if(c===Be.DOWN){if(!o._open)return this.openIfHasChildren(),e.preventDefault(),void e.stopPropagation()}else if(c===Be.ENTER&&o._open)!s&&r||e.preventDefault(),s&&r&&!1===a&&(this.comboboxTimer=setTimeout((function(){t.setOpenState(!1)})));else if(c===Be.ESC)return void(o._open&&(this.setOpenState(!1),e.preventDefault(),e.stopPropagation()));if(s&&this.selectTriggerRef){var l=this.selectTriggerRef.getInnerMenu();l&&l.onKeyDown(e,this.handleBackfill)&&(e.preventDefault(),e.stopPropagation())}}else{e.preventDefault();var u=o._value;u.length&&this.removeSelected(u[u.length-1])}}},onMenuSelect:function(e){var t=e.item;if(t){var n=this.$data._value,i=this.$props,r=Jr(t),a=n[n.length-1],o=!1;if(ea(i)?-1!==oa(n,r)?o=!0:n=n.concat([r]):Qr(i)||void 0===a||a!==r||r===this.$data._backfillValue?(n=[r],this.setOpenState(!1,{needFocus:!0,fireSearch:!1})):(this.setOpenState(!1,{needFocus:!0,fireSearch:!1}),o=!0),o||this.fireChange(n),!o){this.fireSelect(r);var s=Qr(i)?Xr(t,i.optionLabelProp):"";i.autoClearSearchValue&&this.setInputValue(s,!1)}}},onMenuDeselect:function(e){var t=e.item,n=e.domEvent;if("keydown"!==n.type||n.keyCode!==Be.ENTER)"click"===n.type&&this.removeSelected(Jr(t)),this.autoClearSearchValue&&this.setInputValue("");else{var i=t.$el;za(i)||this.removeSelected(Jr(t))}},onArrowClick:function(e){e.stopPropagation(),e.preventDefault(),this.clearBlurTime(),this.disabled||this.setOpenState(!this.$data._open,{needFocus:!this.$data._open})},onPlaceholderClick:function(){this.getInputDOMNode()&&this.getInputDOMNode()&&this.getInputDOMNode().focus()},onPopupFocus:function(){this.maybeFocus(!0,!0)},onClearSelection:function(e){var t=this.$props,n=this.$data;if(!t.disabled){var i=n._inputValue,r=n._value;e.stopPropagation(),(i||r.length)&&(r.length&&this.fireChange([]),this.setOpenState(!1,{needFocus:!0}),i&&this.setInputValue(""))}},onChoiceAnimationLeave:function(){this.forcePopupAlign()},getOptionInfoBySingleValue:function(e,t){var n=this.$createElement,i=void 0;if(t=t||this.$data._optionsInfo,t[ra(e)]&&(i=t[ra(e)]),i)return i;var r=e;if(this.$props.labelInValue){var a=sa(this.$props.value,e),o=sa(this.$props.defaultValue,e);void 0!==a?r=a:void 0!==o&&(r=o)}var s={option:n(Ie,{attrs:{value:e},key:e},[e]),value:e,label:r};return s},getOptionBySingleValue:function(e){var t=this.getOptionInfoBySingleValue(e),n=t.option;return n},getOptionsBySingleValue:function(e){var t=this;return e.map((function(e){return t.getOptionBySingleValue(e)}))},getValueByLabel:function(e){var t=this;if(void 0===e)return null;var n=null;return Object.keys(this.$data._optionsInfo).forEach((function(i){var r=t.$data._optionsInfo[i],a=r.disabled;if(!a){var o=ia(r.label);o&&o.join("")===e&&(n=r.value)}})),n},getVLBySingleValue:function(e){return this.$props.labelInValue?{key:e,label:this.getLabelBySingleValue(e)}:e},getVLForOnChange:function(e){var t=this,n=e;return void 0!==n?(n=this.labelInValue?n.map((function(e){return{key:e,label:t.getLabelBySingleValue(e)}})):n.map((function(e){return e})),ea(this.$props)?n:n[0]):n},getLabelBySingleValue:function(e,t){var n=this.getOptionInfoBySingleValue(e,t),i=n.label;return i},getDropdownContainer:function(){return this.dropdownContainer||(this.dropdownContainer=document.createElement("div"),document.body.appendChild(this.dropdownContainer)),this.dropdownContainer},getPlaceholderElement:function(){var e=this.$createElement,t=this.$props,n=this.$data,i=!1;n._mirrorInputValue&&(i=!0);var r=n._value;r.length&&(i=!0),!n._mirrorInputValue&&Qr(t)&&1===r.length&&n._value&&!n._value[0]&&(i=!1);var a=t.placeholder;if(a){var o={on:{mousedown:aa,click:this.onPlaceholderClick},attrs:ua,style:k()({display:i?"none":"block"},la),class:t.prefixCls+"-selection__placeholder"};return e("div",o,[a])}return null},inputClick:function(e){this.$data._open?(this.clearBlurTime(),e.stopPropagation()):this._focused=!1},inputBlur:function(e){var t=this,n=e.relatedTarget||document.activeElement;if((xa||Sa)&&(e.relatedTarget===this.$refs.arrow||n&&this.selectTriggerRef&&this.selectTriggerRef.getInnerMenu()&&this.selectTriggerRef.getInnerMenu().$el===n||xn(e.target,n)))return e.target.focus(),void e.preventDefault();this.clearBlurTime(),this.disabled?e.preventDefault():this.blurTimer=setTimeout((function(){t._focused=!1,t.updateFocusClassName();var e=t.$props,n=t.$data._value,i=t.$data._inputValue;if(na(e)&&e.showSearch&&i&&e.defaultActiveFirstOption){var r=t._options||[];if(r.length){var a=da(r);a&&(n=[Jr(a)],t.fireChange(n))}}else if(ea(e)&&i){t._mouseDown?t.setInputValue(""):(t.$data._inputValue="",t.getInputDOMNode&&t.getInputDOMNode()&&(t.getInputDOMNode().value=""));var o=t.getValueByInput(i);void 0!==o&&(n=o,t.fireChange(n))}if(ea(e)&&t._mouseDown)return t.maybeFocus(!0,!0),void(t._mouseDown=!1);t.setOpenState(!1),t.$emit("blur",t.getVLForOnChange(n))}),200)},inputFocus:function(e){if(this.$props.disabled)e.preventDefault();else{this.clearBlurTime();var t=this.getInputDOMNode();t&&e.target===this.rootRef||(ta(this.$props)||e.target!==t)&&(this._focused||(this._focused=!0,this.updateFocusClassName(),ea(this.$props)&&this._mouseDown||this.timeoutFocus()))}},_getInputElement:function(){var e=this.$createElement,t=this.$props,n=this.$data,i=n._inputValue,a=n._mirrorInputValue,s=Object(C["e"])(this),c=e("input",{attrs:{id:s.id,autoComplete:"off"}}),u=t.getInputElement?t.getInputElement():c,d=l()(Object(C["f"])(u),o()({},t.prefixCls+"-search__field",!0)),h=Object(C["i"])(u);return u.data=u.data||{},e("div",{class:t.prefixCls+"-search__field__wrap",on:{click:this.inputClick}},[Object(Ln["a"])(u,{props:{disabled:t.disabled,value:i},attrs:k()({},u.data.attrs||{},{disabled:t.disabled,value:i}),domProps:{value:i},class:d,directives:[{name:"ant-ref",value:this.saveInputRef},{name:"ant-input"}],on:{input:this.onInputChange,keydown:Ha(this.onInputKeydown,h.keydown,Object(C["k"])(this).inputKeydown),focus:Ha(this.inputFocus,h.focus),blur:Ha(this.inputBlur,h.blur)}}),e("span",r()([{directives:[{name:"ant-ref",value:this.saveInputMirrorRef}]},{class:t.prefixCls+"-search__field__mirror"}]),[a," "])])},getInputDOMNode:function(){return this.topCtrlRef?this.topCtrlRef.querySelector("input,textarea,div[contentEditable]"):this.inputRef},getInputMirrorDOMNode:function(){return this.inputMirrorRef},getPopupDOMNode:function(){if(this.selectTriggerRef)return this.selectTriggerRef.getPopupDOMNode()},getPopupMenuComponent:function(){if(this.selectTriggerRef)return this.selectTriggerRef.getInnerMenu()},setOpenState:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$props,r=this.$data,a=n.needFocus,o=n.fireSearch;if(r._open!==e){this.__emit("dropdownVisibleChange",e);var s={_open:e,_backfillValue:""};!e&&na(i)&&i.showSearch&&this.setInputValue("",o),e||this.maybeFocus(e,!!a),this.setState(s,(function(){e&&t.maybeFocus(e,!!a)}))}else this.maybeFocus(e,!!a)},setInputValue:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e!==this.$data._inputValue&&(this.setState({_inputValue:e},this.forcePopupAlign),t&&this.$emit("search",e))},getValueByInput:function(e){var t=this,n=this.$props,i=n.multiple,r=n.tokenSeparators,a=this.$data._value,o=!1;return fa(e,r).forEach((function(e){var n=[e];if(i){var r=t.getValueByLabel(e);r&&-1===oa(a,r)&&(a=a.concat(r),o=!0,t.fireSelect(r))}else-1===oa(a,e)&&(a=a.concat(n),o=!0,t.fireSelect(e))})),o?a:void 0},getRealOpenState:function(e){var t=this.$props.open;if("boolean"===typeof t)return t;var n=(e||this.$data)._open,i=this._options||[];return!ta(this.$props)&&this.$props.showSearch||n&&!i.length&&(n=!1),n},focus:function(){na(this.$props)&&this.selectionRef?this.selectionRef.focus():this.getInputDOMNode()&&this.getInputDOMNode().focus()},blur:function(){na(this.$props)&&this.selectionRef?this.selectionRef.blur():this.getInputDOMNode()&&this.getInputDOMNode().blur()},markMouseDown:function(){this._mouseDown=!0},markMouseLeave:function(){this._mouseDown=!1},handleBackfill:function(e){if(this.backfill&&(na(this.$props)||Qr(this.$props))){var t=Jr(e);Qr(this.$props)&&this.setInputValue(t,!1),this.setState({_value:[t],_backfillValue:t})}},_filterOption:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pa,i=this.$data,r=i._value,a=i._backfillValue,o=r[r.length-1];if(!e||o&&o===a)return!0;var s=this.$props.filterOption;return Object(C["s"])(this,"filterOption")?!0===s&&(s=n.bind(this)):s=n.bind(this),!s||("function"===typeof s?s.call(this,e,t):!Object(C["r"])(t,"disabled"))},timeoutFocus:function(){var e=this;this.focusTimer&&this.clearFocusTime(),this.focusTimer=window.setTimeout((function(){e.$emit("focus")}),10)},clearFocusTime:function(){this.focusTimer&&(clearTimeout(this.focusTimer),this.focusTimer=null)},clearBlurTime:function(){this.blurTimer&&(clearTimeout(this.blurTimer),this.blurTimer=null)},clearComboboxTime:function(){this.comboboxTimer&&(clearTimeout(this.comboboxTimer),this.comboboxTimer=null)},updateFocusClassName:function(){var e=this.rootRef,t=this.prefixCls;this._focused?qe()(e).add(t+"-focused"):qe()(e).remove(t+"-focused")},maybeFocus:function(e,t){if(t||e){var n=this.getInputDOMNode(),i=document,r=i.activeElement;n&&(e||ta(this.$props))?r!==n&&(n.focus(),this._focused=!0):r!==this.selectionRef&&this.selectionRef&&(this.selectionRef.focus(),this._focused=!0)}},removeSelected:function(e,t){var n=this.$props;if(!n.disabled&&!this.isChildDisabled(e)){t&&t.stopPropagation&&t.stopPropagation();var i=this.$data._value,r=i.filter((function(t){return t!==e})),a=ea(n);if(a){var o=e;n.labelInValue&&(o={key:e,label:this.getLabelBySingleValue(e)}),this.$emit("deselect",o,this.getOptionBySingleValue(e))}this.fireChange(r)}},openIfHasChildren:function(){var e=this.$props;(e.children&&e.children.length||na(e))&&this.setOpenState(!0)},fireSelect:function(e){this.$emit("select",this.getVLBySingleValue(e),this.getOptionBySingleValue(e))},fireChange:function(e){Object(C["s"])(this,"value")||this.setState({_value:e},this.forcePopupAlign);var t=this.getVLForOnChange(e),n=this.getOptionsBySingleValue(e);this._valueOptions=n,this.$emit("change",t,ea(this.$props)?n:n[0])},isChildDisabled:function(e){return(this.$props.children||[]).some((function(t){var n=Jr(t);return n===e&&Object(C["r"])(t,"disabled")}))},forcePopupAlign:function(){this.$data._open&&this.selectTriggerRef&&this.selectTriggerRef.triggerRef&&this.selectTriggerRef.triggerRef.forcePopupAlign()},renderFilterOptions:function(){var e=this.$createElement,t=this.$data._inputValue,n=this.$props,i=n.children,a=n.tags,o=n.notFoundContent,s=[],c=[],l=!1,u=this.renderFilterOptionsFromChildren(i,c,s);if(a){var d=this.$data._value;if(d=d.filter((function(e){return-1===c.indexOf(e)&&(!t||String(e).indexOf(String(t))>-1)})),d.sort((function(e,t){return e.length-t.length})),d.forEach((function(t){var n=t,i=k()({},ua,{role:"option"}),a=e(yn,r()([{style:la},{attrs:i},{attrs:{value:n},key:n}]),[n]);u.push(a),s.push(a)})),t&&s.every((function(e){return Jr(e)!==t}))){var h={attrs:ua,key:t,props:{value:t,role:"option"},style:la};u.unshift(e(yn,h,[t]))}}if(!u.length&&o){l=!0;var f={attrs:ua,key:"NOT_FOUND",props:{value:"NOT_FOUND",disabled:!0,role:"option"},style:la};u=[e(yn,f,[o])]}return{empty:l,options:u}},renderFilterOptionsFromChildren:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this,n=arguments[1],i=arguments[2],a=this.$createElement,o=[],s=this.$props,c=this.$data._inputValue,l=s.tags;return e.forEach((function(e){if(e.data&&void 0===e.data.slot)if(Object(C["o"])(e).isSelectOptGroup){var s=Object(C["g"])(e,"label"),u=e.key;u||"string"!==typeof s?!s&&u&&(s=u):u=s;var d=Object(C["p"])(e)["default"];if(d="function"===typeof d?d():d,c&&t._filterOption(c,e)){var h=d.map((function(e){var t=Jr(e)||e.key;return a(yn,r()([{key:t,attrs:{value:t}},e.data]),[e.componentOptions.children])}));o.push(a(_n,{key:u,attrs:{title:s},class:Object(C["f"])(e)},[h]))}else{var f=t.renderFilterOptionsFromChildren(d,n,i);f.length&&o.push(a(_n,r()([{key:u,attrs:{title:s}},e.data]),[f]))}}else{wn()(Object(C["o"])(e).isSelectOption,"the children of `Select` should be `Select.Option` or `Select.OptGroup`, instead of `"+(Object(C["o"])(e).name||Object(C["o"])(e))+"`.");var p=Jr(e);if(ma(p,t.$props),t._filterOption(c,e)){var m={attrs:k()({},ua,Object(C["e"])(e)),key:p,props:k()({value:p},Object(C["m"])(e),{role:"option"}),style:la,on:Object(C["i"])(e),class:Object(C["f"])(e)},v=a(yn,m,[e.componentOptions.children]);o.push(v),i.push(v)}l&&n.push(p)}})),o},renderTopControlNode:function(){var e=this,t=this.$createElement,n=this.$props,i=this.$data,a=i._value,o=i._inputValue,s=i._open,c=n.choiceTransitionName,l=n.prefixCls,u=n.maxTagTextLength,d=n.maxTagCount,h=n.maxTagPlaceholder,f=n.showSearch,p=Object(C["g"])(this,"removeIcon"),m=l+"-selection__rendered",v=null;if(na(n)){var g=null;if(a.length){var y=!1,b=1;f&&s?(y=!o,y&&(b=.4)):y=!0;var _=a[0],M=this.getOptionInfoBySingleValue(_),w=M.label,L=M.title;g=t("div",{key:"value",class:l+"-selection-selected-value",attrs:{title:Gr(L||w)},style:{display:y?"block":"none",opacity:b}},[w])}v=f?[g,t("div",{class:l+"-search "+l+"-search--inline",key:"input",style:{display:s?"block":"none"}},[this._getInputElement()])]:[g]}else{var x=[],S=a,O=void 0;if(void 0!==d&&a.length>d){S=S.slice(0,d);var T=this.getVLForOnChange(a.slice(d,a.length)),z="+ "+(a.length-d)+" ...";h&&(z="function"===typeof h?h(T):h);var H=k()({},ua,{role:"presentation",title:Gr(z)});O=t("li",r()([{style:la},{attrs:H},{on:{mousedown:aa},class:l+"-selection__choice "+l+"-selection__choice__disabled",key:"maxTagPlaceholder"}]),[t("div",{class:l+"-selection__choice__content"},[z])])}if(ea(n)&&(x=S.map((function(n){var i=e.getOptionInfoBySingleValue(n),a=i.label,o=i.title||a;u&&"string"===typeof a&&a.length>u&&(a=a.slice(0,u)+"...");var s=e.isChildDisabled(n),c=s?l+"-selection__choice "+l+"-selection__choice__disabled":l+"-selection__choice",d=k()({},ua,{role:"presentation",title:Gr(o)});return t("li",r()([{style:la},{attrs:d},{on:{mousedown:aa},class:c,key:n||Oa}]),[t("div",{class:l+"-selection__choice__content"},[a]),s?null:t("span",{on:{click:function(t){e.removeSelected(n,t)}},class:l+"-selection__choice__remove"},[p||t("i",{class:l+"-selection__choice__remove-icon"},["×"])])])}))),O&&x.push(O),x.push(t("li",{class:l+"-search "+l+"-search--inline",key:"__input"},[this._getInputElement()])),ea(n)&&c){var D=Object(Cn["a"])(c,{tag:"ul",afterLeave:this.onChoiceAnimationLeave});v=t("transition-group",D,[x])}else v=t("ul",[x])}return t("div",r()([{class:m},{directives:[{name:"ant-ref",value:this.saveTopCtrlRef}]},{on:{click:this.topCtrlContainerClick}}]),[this.getPlaceholderElement(),v])},renderArrow:function(e){var t=this.$createElement,n=this.$props,i=n.showArrow,a=void 0===i?!e:i,o=n.loading,s=n.prefixCls,c=Object(C["g"])(this,"inputIcon");if(!a&&!o)return null;var l=t("i",o?{class:s+"-arrow-loading"}:{class:s+"-arrow-icon"});return t("span",r()([{key:"arrow",class:s+"-arrow",style:la},{attrs:ua},{on:{click:this.onArrowClick},ref:"arrow"}]),[c||l])},topCtrlContainerClick:function(e){this.$data._open&&!na(this.$props)&&e.stopPropagation()},renderClear:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls,i=t.allowClear,a=this.$data,o=a._value,s=a._inputValue,c=Object(C["g"])(this,"clearIcon"),l=e("span",r()([{key:"clear",class:n+"-selection__clear",on:{mousedown:aa},style:la},{attrs:ua},{on:{click:this.onClearSelection}}]),[c||e("i",{class:n+"-selection__clear-icon"},["×"])]);return i?Qr(this.$props)?s?l:null:s||o.length?l:null:null},selectionRefClick:function(){if(!this.disabled){var e=this.getInputDOMNode();this._focused&&this.$data._open?(this.setOpenState(!1,!1),e&&e.blur()):(this.clearBlurTime(),this.setOpenState(!0,!0),e&&e.focus())}},selectionRefFocus:function(e){this._focused||this.disabled||ta(this.$props)?e.preventDefault():(this._focused=!0,this.updateFocusClassName(),this.$emit("focus"))},selectionRefBlur:function(e){ta(this.$props)?e.preventDefault():this.inputBlur(e)}},render:function(){var e,t=arguments[0],n=this.$props,i=ea(n),a=n.showArrow,s=void 0===a||a,c=this.$data,u=n.disabled,d=n.prefixCls,h=n.loading,f=this.renderTopControlNode(),p=this.$data,m=p._open,v=p._inputValue,g=p._value;if(m){var y=this.renderFilterOptions();this._empty=y.empty,this._options=y.options}var b=this.getRealOpenState(),_=this._empty,M=this._options||[],w=Object(C["k"])(this),k=w.mouseenter,L=void 0===k?Ta:k,x=w.mouseleave,S=void 0===x?Ta:x,O=w.popupScroll,T=void 0===O?Ta:O,z={props:{},attrs:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true","aria-expanded":b,"aria-controls":this.$data._ariaId},on:{},class:d+"-selection "+d+"-selection--"+(i?"multiple":"single"),key:"selection"},H={attrs:{tabIndex:-1}};ta(n)||(H.attrs.tabIndex=n.disabled?-1:n.tabIndex);var D=(e={},o()(e,d,!0),o()(e,d+"-open",m),o()(e,d+"-focused",m||!!this._focused),o()(e,d+"-combobox",Qr(n)),o()(e,d+"-disabled",u),o()(e,d+"-enabled",!u),o()(e,d+"-allow-clear",!!n.allowClear),o()(e,d+"-no-arrow",!s),o()(e,d+"-loading",!!h),e);return t(_a,r()([{attrs:{dropdownAlign:n.dropdownAlign,dropdownClassName:n.dropdownClassName,dropdownMatchSelectWidth:n.dropdownMatchSelectWidth,defaultActiveFirstOption:n.defaultActiveFirstOption,dropdownMenuStyle:n.dropdownMenuStyle,transitionName:n.transitionName,animation:n.animation,prefixCls:n.prefixCls,dropdownStyle:n.dropdownStyle,combobox:n.combobox,showSearch:n.showSearch,options:M,empty:_,multiple:i,disabled:u,visible:b,inputValue:v,value:g,backfillValue:c._backfillValue,firstActiveValue:n.firstActiveValue,getPopupContainer:n.getPopupContainer,showAction:n.showAction,menuItemSelectedIcon:Object(C["g"])(this,"menuItemSelectedIcon")},on:{dropdownVisibleChange:this.onDropdownVisibleChange,menuSelect:this.onMenuSelect,menuDeselect:this.onMenuDeselect,popupScroll:T,popupFocus:this.onPopupFocus,mouseenter:L,mouseleave:S}},{directives:[{name:"ant-ref",value:this.saveSelectTriggerRef}]},{attrs:{dropdownRender:n.dropdownRender,ariaId:this.$data._ariaId}}]),[t("div",r()([{directives:[{name:"ant-ref",value:Ha(this.saveRootRef,this.saveSelectionRef)}]},{style:Object(C["q"])(this),class:l()(D),on:{mousedown:this.markMouseDown,mouseup:this.markMouseLeave,mouseout:this.markMouseLeave}},H,{on:{blur:this.selectionRefBlur,focus:this.selectionRefFocus,click:this.selectionRefClick,keydown:ta(n)?Ta:this.onKeyDown}}]),[t("div",z,[f,this.renderClear(),this.renderArrow(!!i)])])])}},Va=(Object(Yt["a"])(Da),n("3a9b")),ja=n("2adb"),Ya={primaryColor:"#333",secondaryColor:"#E6E6E6"},Pa={name:"AntdIcon",props:["type","primaryColor","secondaryColor"],displayName:"IconVue",definitions:new ja["a"],data:function(){return{twoToneColorPalette:Ya}},add:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:Ya;if(e){var n=Pa.definitions.get(e);return n&&"function"===typeof n.icon&&(n=k()({},n,{icon:n.icon(t.primaryColor,t.secondaryColor)})),n}},setTwoToneColors:function(e){var t=e.primaryColor,n=e.secondaryColor;Ya.primaryColor=t,Ya.secondaryColor=n||Object(ja["c"])(t)},getTwoToneColors:function(){return k()({},Ya)},render:function(e){var t=this.$props,n=t.type,i=t.primaryColor,r=t.secondaryColor,a=void 0,o=Ya;if(i&&(o={primaryColor:i,secondaryColor:r||Object(ja["c"])(i)}),Object(ja["d"])(n))a=n;else if("string"===typeof n&&(a=Pa.get(n,o),!a))return null;return a?(a&&"function"===typeof a.icon&&(a=k()({},a,{icon:a.icon(o.primaryColor,o.secondaryColor)})),Object(ja["b"])(e,a.icon,"svg-"+a.name,{attrs:{"data-icon":a.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},on:this.$listeners})):(Object(ja["e"])("type should be string or icon definiton, but got "+n),null)},install:function(e){e.component(Pa.name,Pa)}},Aa=Pa,Ea=Aa,Fa=new Set;function $a(e){var t=e.scriptUrl,n=e.extraCommonProps,i=void 0===n?{}:n;if("undefined"!==typeof document&&"undefined"!==typeof window&&"function"===typeof document.createElement&&"string"===typeof t&&t.length&&!Fa.has(t)){var r=document.createElement("script");r.setAttribute("src",t),r.setAttribute("data-namespace",t),Fa.add(t),document.body.appendChild(r)}var a={functional:!0,name:"AIconfont",props:to.props,render:function(e,t){var n=t.props,r=t.slots,a=t.listeners,o=t.data,s=n.type,c=We()(n,["type"]),l=r(),u=l["default"],d=null;s&&(d=e("use",{attrs:{"xlink:href":"#"+s}})),u&&(d=u);var h=Object(C["x"])(i,o,{props:c,on:a});return e(to,h,[d])}};return a}var Ia={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Ra=/-fill$/,Na=/-o$/,Wa=/-twotone$/;function Ka(e){var t=null;return Ra.test(e)?t="filled":Na.test(e)?t="outlined":Wa.test(e)&&(t="twoTone"),t}function Ba(e){return e.replace(Ra,"").replace(Na,"").replace(Wa,"")}function Ua(e,t){var n=e;return"filled"===t?n+="-fill":"outlined"===t?n+="-o":"twoTone"===t?n+="-twotone":pe(!1,"Icon","This icon '"+e+"' has unknown theme '"+t+"'"),n}function qa(e){var t=e;switch(e){case"cross":t="close";break;case"interation":t="interaction";break;case"canlendar":t="calendar";break;case"colum-height":t="column-height";break;default:}return pe(t===e,"Icon","Icon '"+e+"' was a typo and is now deprecated, please use '"+t+"' instead."),t}function Ga(e){return Ea.setTwoToneColors({primaryColor:e})}function Ja(){var e=Ea.getTwoToneColors();return e.primaryColor}Ea.add.apply(Ea,v()(Object.keys(Va).filter((function(e){return"default"!==e})).map((function(e){return Va[e]})))),Ga("#1890ff");var Xa="outlined",Za=void 0;function Qa(e,t,n){var i,a=n.$props,s=n.$slots,c=Object(C["k"])(n),u=a.type,d=a.component,h=a.viewBox,f=a.spin,p=a.theme,m=a.twoToneColor,v=a.rotate,g=a.tabIndex,y=Object(C["c"])(s["default"]);y=0===y.length?void 0:y,pe(Boolean(u||d||y),"Icon","Icon should have `type` prop or `component` prop or `children`.");var b=l()((i={},o()(i,"anticon",!0),o()(i,"anticon-"+u,!!u),i)),_=l()(o()({},"anticon-spin",!!f||"loading"===u)),M=v?{msTransform:"rotate("+v+"deg)",transform:"rotate("+v+"deg)"}:void 0,w={attrs:k()({},Ia,{viewBox:h}),class:_,style:M};h||delete w.attrs.viewBox;var L=function(){if(d)return e(d,w,[y]);if(y){pe(Boolean(h)||1===y.length&&"use"===y[0].tag,"Icon","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon.");var t={attrs:k()({},Ia),class:_,style:M};return e("svg",r()([t,{attrs:{viewBox:h}}]),[y])}if("string"===typeof u){var n=u;if(p){var i=Ka(u);pe(!i||p===i,"Icon","The icon name '"+u+"' already specify a theme '"+i+"', the 'theme' prop '"+p+"' will be ignored.")}return n=Ua(Ba(qa(n)),Za||p||Xa),e(Ea,{attrs:{focusable:"false",type:n,primaryColor:m},class:_,style:M})}},x=g;void 0===x&&"click"in c&&(x=-1);var S={attrs:{"aria-label":u&&t.icon+": "+u,tabIndex:x},on:c,class:b,staticClass:""};return e("i",S,[L()])}var eo={name:"AIcon",props:{tabIndex:s["a"].number,type:s["a"].string,component:s["a"].any,viewBox:s["a"].any,spin:s["a"].bool.def(!1),rotate:s["a"].number,theme:s["a"].oneOf(["filled","outlined","twoTone"]),twoToneColor:s["a"].string,role:s["a"].string},render:function(e){var t=this;return e(j,{attrs:{componentName:"Icon"},scopedSlots:{default:function(n){return Qa(e,n,t)}}})}};eo.createFromIconfontCN=$a,eo.getTwoToneColor=Ja,eo.setTwoToneColor=Ga,eo.install=function(e){e.use(te),e.component(eo.name,eo)};var to=eo,no=function(){return{prefixCls:s["a"].string,size:s["a"].oneOf(["small","large","default"]),showAction:s["a"].oneOfType([s["a"].string,s["a"].arrayOf(String)]),notFoundContent:s["a"].any,transitionName:s["a"].string,choiceTransitionName:s["a"].string,showSearch:s["a"].bool,allowClear:s["a"].bool,disabled:s["a"].bool,tabIndex:s["a"].number,placeholder:s["a"].any,defaultActiveFirstOption:s["a"].bool,dropdownClassName:s["a"].string,dropdownStyle:s["a"].any,dropdownMenuStyle:s["a"].any,dropdownMatchSelectWidth:s["a"].bool,filterOption:s["a"].oneOfType([s["a"].bool,s["a"].func]),autoFocus:s["a"].bool,backfill:s["a"].bool,showArrow:s["a"].bool,getPopupContainer:s["a"].func,open:s["a"].bool,defaultOpen:s["a"].bool,autoClearSearchValue:s["a"].bool,dropdownRender:s["a"].func,loading:s["a"].bool}},io=s["a"].shape({key:s["a"].oneOfType([s["a"].string,s["a"].number])}).loose,ro=s["a"].oneOfType([s["a"].string,s["a"].number,s["a"].arrayOf(s["a"].oneOfType([io,s["a"].string,s["a"].number])),io]),ao=k()({},no(),{value:ro,defaultValue:ro,mode:s["a"].string,optionLabelProp:s["a"].string,firstActiveValue:s["a"].oneOfType([String,s["a"].arrayOf(String)]),maxTagCount:s["a"].number,maxTagPlaceholder:s["a"].any,maxTagTextLength:s["a"].number,dropdownMatchSelectWidth:s["a"].bool,optionFilterProp:s["a"].string,labelInValue:s["a"].boolean,getPopupContainer:s["a"].func,tokenSeparators:s["a"].arrayOf(s["a"].string),getInputElement:s["a"].func,options:s["a"].array,suffixIcon:s["a"].any,removeIcon:s["a"].any,clearIcon:s["a"].any,menuItemSelectedIcon:s["a"].any}),oo={prefixCls:s["a"].string,size:s["a"].oneOf(["default","large","small"]),notFoundContent:s["a"].any,showSearch:s["a"].bool,optionLabelProp:s["a"].string,transitionName:s["a"].string,choiceTransitionName:s["a"].string},so="SECRET_COMBOBOX_MODE_DO_NOT_USE",co={SECRET_COMBOBOX_MODE_DO_NOT_USE:so,Option:k()({},Ie,{name:"ASelectOption"}),OptGroup:k()({},Re,{name:"ASelectOptGroup"}),name:"ASelect",props:k()({},ao,{showSearch:s["a"].bool.def(!1),transitionName:s["a"].string.def("slide-up"),choiceTransitionName:s["a"].string.def("zoom")}),propTypes:oo,model:{prop:"value",event:"change"},provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return ce}}},created:function(){pe("combobox"!==this.$props.mode,"Select","The combobox mode of Select is deprecated,it will be removed in next major version,please use AutoComplete instead")},methods:{getNotFoundContent:function(e){var t=this.$createElement,n=Object(C["g"])(this,"notFoundContent");return void 0!==n?n:this.isCombobox()?null:e(t,"Select")},savePopupRef:function(e){this.popupRef=e},focus:function(){this.$refs.vcSelect.focus()},blur:function(){this.$refs.vcSelect.blur()},isCombobox:function(){var e=this.mode;return"combobox"===e||e===so},renderSuffixIcon:function(e){var t=this.$createElement,n=this.$props.loading,i=Object(C["g"])(this,"suffixIcon");return i=Array.isArray(i)?i[0]:i,i?Object(C["w"])(i)?Object(Ln["a"])(i,{class:e+"-arrow-icon"}):i:t(to,n?{attrs:{type:"loading"}}:{attrs:{type:"down"},class:e+"-arrow-icon"})}},render:function(){var e,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,a=n.size,s=n.mode,c=n.options,l=n.getPopupContainer,d=n.showArrow,h=We()(n,["prefixCls","size","mode","options","getPopupContainer","showArrow"]),f=this.configProvider.getPrefixCls,p=this.configProvider.renderEmpty,m=f("select",i),v=this.configProvider.getPopupContainer,g=Object(C["g"])(this,"removeIcon");g=Array.isArray(g)?g[0]:g;var y=Object(C["g"])(this,"clearIcon");y=Array.isArray(y)?y[0]:y;var b=Object(C["g"])(this,"menuItemSelectedIcon");b=Array.isArray(b)?b[0]:b;var _=Object(u["a"])(h,["inputIcon","removeIcon","clearIcon","suffixIcon","menuItemSelectedIcon"]),M=(e={},o()(e,m+"-lg","large"===a),o()(e,m+"-sm","small"===a),o()(e,m+"-show-arrow",d),e),w=this.$props.optionLabelProp;this.isCombobox()&&(w=w||"value");var L={multiple:"multiple"===s,tags:"tags"===s,combobox:this.isCombobox()},x=g&&(Object(C["w"])(g)?Object(Ln["a"])(g,{class:m+"-remove-icon"}):g)||t(to,{attrs:{type:"close"},class:m+"-remove-icon"}),S=y&&(Object(C["w"])(y)?Object(Ln["a"])(y,{class:m+"-clear-icon"}):y)||t(to,{attrs:{type:"close-circle",theme:"filled"},class:m+"-clear-icon"}),O=b&&(Object(C["w"])(b)?Object(Ln["a"])(b,{class:m+"-selected-icon"}):b)||t(to,{attrs:{type:"check"},class:m+"-selected-icon"}),T={props:k()({inputIcon:this.renderSuffixIcon(m),removeIcon:x,clearIcon:S,menuItemSelectedIcon:O,showArrow:d},_,L,{prefixCls:m,optionLabelProp:w||"children",notFoundContent:this.getNotFoundContent(p),maxTagPlaceholder:Object(C["g"])(this,"maxTagPlaceholder"),placeholder:Object(C["g"])(this,"placeholder"),children:c?c.map((function(e){var n=e.key,i=e.label,a=void 0===i?e.title:i,o=e.on,s=e["class"],c=e.style,l=We()(e,["key","label","on","class","style"]);return t(Ie,r()([{key:n},{props:l,on:o,class:s,style:c}]),[a])})):Object(C["c"])(this.$slots["default"]),__propsSymbol__:Symbol(),dropdownRender:Object(C["g"])(this,"dropdownRender",{},!1),getPopupContainer:l||v}),on:Object(C["k"])(this),class:M,ref:"vcSelect"};return t(Da,T)},install:function(e){e.use(te),e.component(co.name,co),e.component(co.Option.name,co.Option),e.component(co.OptGroup.name,co.OptGroup)}},lo=co;function uo(e){return!!(Object(C["g"])(e,"prefix")||Object(C["g"])(e,"suffix")||e.$props.allowClear)}var ho=["text","input"],fo={props:{prefixCls:s["a"].string,inputType:s["a"].oneOf(ho),value:s["a"].any,defaultValue:s["a"].any,allowClear:s["a"].bool,element:s["a"].any,handleReset:s["a"].func,disabled:s["a"].bool,size:s["a"].oneOf(["small","large","default"]),suffix:s["a"].any,prefix:s["a"].any,addonBefore:s["a"].any,addonAfter:s["a"].any,className:s["a"].string,readOnly:s["a"].bool},methods:{renderClearIcon:function(e){var t=this.$createElement,n=this.$props,i=n.allowClear,r=n.value,a=n.disabled,o=n.readOnly,s=n.inputType,c=n.handleReset;if(!i||a||o||void 0===r||null===r||""===r)return null;var l=s===ho[0]?e+"-textarea-clear-icon":e+"-clear-icon";return t(to,{attrs:{type:"close-circle",theme:"filled",role:"button"},on:{click:c},class:l})},renderSuffix:function(e){var t=this.$createElement,n=this.$props,i=n.suffix,r=n.allowClear;return i||r?t("span",{class:e+"-suffix"},[this.renderClearIcon(e),i]):null},renderLabeledIcon:function(e,t){var n,i=this.$createElement,r=this.$props,a=this.renderSuffix(e);if(!uo(this))return Object(Ln["a"])(t,{props:{value:r.value}});var s=r.prefix?i("span",{class:e+"-prefix"},[r.prefix]):null,c=l()(r.className,e+"-affix-wrapper",(n={},o()(n,e+"-affix-wrapper-sm","small"===r.size),o()(n,e+"-affix-wrapper-lg","large"===r.size),o()(n,e+"-affix-wrapper-input-with-clear-btn",r.suffix&&r.allowClear&&this.$props.value),n));return i("span",{class:c,style:r.style},[s,Object(Ln["a"])(t,{style:null,props:{value:r.value},class:Po(e,r.size,r.disabled)}),a])},renderInputWithLabel:function(e,t){var n,i=this.$createElement,r=this.$props,a=r.addonBefore,s=r.addonAfter,c=r.style,u=r.size,d=r.className;if(!a&&!s)return t;var h=e+"-group",f=h+"-addon",p=a?i("span",{class:f},[a]):null,m=s?i("span",{class:f},[s]):null,v=l()(e+"-wrapper",o()({},h,a||s)),g=l()(d,e+"-group-wrapper",(n={},o()(n,e+"-group-wrapper-sm","small"===u),o()(n,e+"-group-wrapper-lg","large"===u),n));return i("span",{class:g,style:c},[i("span",{class:v},[p,Object(Ln["a"])(t,{style:null}),m])])},renderTextAreaWithClearIcon:function(e,t){var n=this.$createElement,i=this.$props,r=i.value,a=i.allowClear,o=i.className,s=i.style;if(!a)return Object(Ln["a"])(t,{props:{value:r}});var c=l()(o,e+"-affix-wrapper",e+"-affix-wrapper-textarea-with-clear-btn");return n("span",{class:c,style:s},[Object(Ln["a"])(t,{style:null,props:{value:r}}),this.renderClearIcon(e)])},renderClearableLabeledInput:function(){var e=this.$props,t=e.prefixCls,n=e.inputType,i=e.element;return n===ho[0]?this.renderTextAreaWithClearIcon(t,i):this.renderInputWithLabel(t,this.renderLabeledIcon(t,i))}},render:function(){return this.renderClearableLabeledInput()}},po=fo,mo="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",vo=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],go={},yo=void 0;function bo(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&go[n])return go[n];var i=window.getComputedStyle(e),r=i.getPropertyValue("box-sizing")||i.getPropertyValue("-moz-box-sizing")||i.getPropertyValue("-webkit-box-sizing"),a=parseFloat(i.getPropertyValue("padding-bottom"))+parseFloat(i.getPropertyValue("padding-top")),o=parseFloat(i.getPropertyValue("border-bottom-width"))+parseFloat(i.getPropertyValue("border-top-width")),s=vo.map((function(e){return e+":"+i.getPropertyValue(e)})).join(";"),c={sizingStyle:s,paddingSize:a,borderSize:o,boxSizing:r};return t&&n&&(go[n]=c),c}function _o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;yo||(yo=document.createElement("textarea"),document.body.appendChild(yo)),e.getAttribute("wrap")?yo.setAttribute("wrap",e.getAttribute("wrap")):yo.removeAttribute("wrap");var r=bo(e,t),a=r.paddingSize,o=r.borderSize,s=r.boxSizing,c=r.sizingStyle;yo.setAttribute("style",c+";"+mo),yo.value=e.value||e.placeholder||"";var l=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,d=yo.scrollHeight,h=void 0;if("border-box"===s?d+=o:"content-box"===s&&(d-=a),null!==n||null!==i){yo.value=" ";var f=yo.scrollHeight-a;null!==n&&(l=f*n,"border-box"===s&&(l=l+a+o),d=Math.max(l,d)),null!==i&&(u=f*i,"border-box"===s&&(u=u+a+o),h=d>u?"":"hidden",d=Math.min(u,d))}return{height:d+"px",minHeight:l+"px",maxHeight:u+"px",overflowY:h}}var Mo=0,wo={};function ko(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=Mo++,i=t;function r(){i-=1,i<=0?(e(),delete wo[n]):wo[n]=y()(r)}return wo[n]=y()(r),n}ko.cancel=function(e){void 0!==e&&(y.a.cancel(wo[e]),delete wo[e])},ko.ids=wo;var Co={prefixCls:s["a"].string,inputPrefixCls:s["a"].string,defaultValue:s["a"].oneOfType([s["a"].string,s["a"].number]),value:s["a"].oneOfType([s["a"].string,s["a"].number]),placeholder:[String,Number],type:{default:"text",type:String},name:String,size:s["a"].oneOf(["small","large","default"]),disabled:s["a"].bool,readOnly:s["a"].bool,addonBefore:s["a"].any,addonAfter:s["a"].any,prefix:s["a"].any,suffix:s["a"].any,autoFocus:Boolean,allowClear:Boolean,lazy:{default:!0,type:Boolean},maxLength:s["a"].number,loading:s["a"].bool,className:s["a"].string},Lo=0,xo=1,So=2,Oo=k()({},Co,{autosize:s["a"].oneOfType([Object,Boolean]),autoSize:s["a"].oneOfType([Object,Boolean])}),To={name:"ResizableTextArea",props:Oo,data:function(){return{textareaStyles:{},resizeStatus:Lo}},mixins:[p["a"]],mounted:function(){var e=this;this.$nextTick((function(){e.resizeTextarea()}))},beforeDestroy:function(){ko.cancel(this.nextFrameActionId),ko.cancel(this.resizeFrameId)},watch:{value:function(){var e=this;this.$nextTick((function(){e.resizeTextarea()}))}},methods:{handleResize:function(e){var t=this.$data.resizeStatus,n=this.$props.autoSize;t===Lo&&(this.$emit("resize",e),n&&this.resizeOnNextFrame())},resizeOnNextFrame:function(){ko.cancel(this.nextFrameActionId),this.nextFrameActionId=ko(this.resizeTextarea)},resizeTextarea:function(){var e=this,t=this.$props.autoSize||this.$props.autosize;if(t&&this.$refs.textArea){var n=t.minRows,i=t.maxRows,r=_o(this.$refs.textArea,!1,n,i);this.setState({textareaStyles:r,resizeStatus:xo},(function(){ko.cancel(e.resizeFrameId),e.resizeFrameId=ko((function(){e.setState({resizeStatus:So},(function(){e.resizeFrameId=ko((function(){e.setState({resizeStatus:Lo}),e.fixFirefoxAutoScroll()}))}))}))}))}},fixFirefoxAutoScroll:function(){try{if(document.activeElement===this.$refs.textArea){var e=this.$refs.textArea.selectionStart,t=this.$refs.textArea.selectionEnd;this.$refs.textArea.setSelectionRange(e,t)}}catch(n){}},renderTextArea:function(){var e=this.$createElement,t=Object(C["l"])(this),n=t.prefixCls,i=t.autoSize,a=t.autosize,s=t.disabled,c=this.$data,d=c.textareaStyles,h=c.resizeStatus;pe(void 0===a,"Input.TextArea","autosize is deprecated, please use autoSize instead.");var p=Object(u["a"])(t,["prefixCls","autoSize","autosize","defaultValue","allowClear","type","lazy","value"]),m=l()(n,o()({},n+"-disabled",s)),v={};"value"in t&&(v.value=t.value||"");var g=k()({},d,h===xo?{overflowX:"hidden",overflowY:"hidden"}:null),y={attrs:p,domProps:v,style:g,class:m,on:Object(u["a"])(Object(C["k"])(this),"pressEnter"),directives:[{name:"ant-input"}]};return e(f,{on:{resize:this.handleResize},attrs:{disabled:!(i||a)}},[e("textarea",r()([y,{ref:"textArea"}]))])}},render:function(){return this.renderTextArea()}},zo=To,Ho=k()({},Co,{autosize:s["a"].oneOfType([Object,Boolean]),autoSize:s["a"].oneOfType([Object,Boolean])}),Do={name:"ATextarea",inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:k()({},Ho),inject:{configProvider:{default:function(){return ce}}},data:function(){var e="undefined"===typeof this.value?this.defaultValue:this.value;return{stateValue:"undefined"===typeof e?"":e}},computed:{},watch:{value:function(e){this.stateValue=e}},mounted:function(){var e=this;this.$nextTick((function(){e.autoFocus&&e.focus()}))},methods:{setValue:function(e,t){Object(C["b"])(this,"value")||(this.stateValue=e,this.$nextTick((function(){t&&t()})))},handleKeyDown:function(e){13===e.keyCode&&this.$emit("pressEnter",e),this.$emit("keydown",e)},onChange:function(e){this.$emit("change.value",e.target.value),this.$emit("change",e),this.$emit("input",e)},handleChange:function(e){var t=this,n=e.target,i=n.value,r=n.composing;(e.isComposing||r)&&this.lazy||this.stateValue===i||(this.setValue(e.target.value,(function(){t.$refs.resizableTextArea.resizeTextarea()})),Yo(this.$refs.resizableTextArea.$refs.textArea,e,this.onChange))},focus:function(){this.$refs.resizableTextArea.$refs.textArea.focus()},blur:function(){this.$refs.resizableTextArea.$refs.textArea.blur()},handleReset:function(e){var t=this;this.setValue("",(function(){t.$refs.resizableTextArea.renderTextArea(),t.focus()})),Yo(this.$refs.resizableTextArea.$refs.textArea,e,this.onChange)},renderTextArea:function(e){var t=this.$createElement,n=Object(C["l"])(this),i={props:k()({},n,{prefixCls:e}),on:k()({},Object(C["k"])(this),{input:this.handleChange,keydown:this.handleKeyDown}),attrs:this.$attrs};return t(zo,r()([i,{ref:"resizableTextArea"}]))}},render:function(){var e=arguments[0],t=this.stateValue,n=this.prefixCls,i=this.configProvider.getPrefixCls,r=i("input",n),a={props:k()({},Object(C["l"])(this),{prefixCls:r,inputType:"text",value:jo(t),element:this.renderTextArea(r),handleReset:this.handleReset}),on:Object(C["k"])(this)};return e(po,a)}};function Vo(){}function jo(e){return"undefined"===typeof e||null===e?"":e}function Yo(e,t,n){if(n){var i=t;if("click"===t.type){Object.defineProperty(i,"target",{writable:!0}),Object.defineProperty(i,"currentTarget",{writable:!0}),i.target=e,i.currentTarget=e;var r=e.value;return e.value="",n(i),void(e.value=r)}n(i)}}function Po(e,t,n){var i;return l()(e,(i={},o()(i,e+"-sm","small"===t),o()(i,e+"-lg","large"===t),o()(i,e+"-disabled",n),i))}var Ao={name:"AInput",inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:k()({},Co),inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this.$props,t="undefined"===typeof e.value?e.defaultValue:e.value;return{stateValue:"undefined"===typeof t?"":t}},watch:{value:function(e){this.stateValue=e}},mounted:function(){var e=this;this.$nextTick((function(){e.autoFocus&&e.focus(),e.clearPasswordValueAttribute()}))},beforeDestroy:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)},methods:{onBlur:function(e){this.$forceUpdate();var t=Object(C["k"])(this),n=t.blur;n&&n(e)},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},select:function(){this.$refs.input.select()},setValue:function(e,t){this.stateValue!==e&&(Object(C["s"])(this,"value")||(this.stateValue=e,this.$nextTick((function(){t&&t()}))))},onChange:function(e){this.$emit("change.value",e.target.value),this.$emit("change",e),this.$emit("input",e)},handleReset:function(e){var t=this;this.setValue("",(function(){t.focus()})),Yo(this.$refs.input,e,this.onChange)},renderInput:function(e){var t=this.$createElement,n=Object(u["a"])(this.$props,["prefixCls","addonBefore","addonAfter","prefix","suffix","allowClear","value","defaultValue","lazy","size","inputType","className"]),i=this.stateValue,r=this.handleKeyDown,a=this.handleChange,o=this.size,s=this.disabled,c={directives:[{name:"ant-input"}],domProps:{value:jo(i)},attrs:k()({},n,this.$attrs),on:k()({},Object(C["k"])(this),{keydown:r,input:a,change:Vo,blur:this.onBlur}),class:Po(e,o,s),ref:"input",key:"ant-input"};return t("input",c)},clearPasswordValueAttribute:function(){var e=this;this.removePasswordTimeout=setTimeout((function(){e.$refs.input&&e.$refs.input.getAttribute&&"password"===e.$refs.input.getAttribute("type")&&e.$refs.input.hasAttribute("value")&&e.$refs.input.removeAttribute("value")}))},handleChange:function(e){var t=e.target,n=t.value,i=t.composing;(e.isComposing||i)&&this.lazy||this.stateValue===n||(this.setValue(n,this.clearPasswordValueAttribute),Yo(this.$refs.input,e,this.onChange))},handleKeyDown:function(e){13===e.keyCode&&this.$emit("pressEnter",e),this.$emit("keydown",e)}},render:function(){var e=arguments[0];if("textarea"===this.$props.type){var t={props:this.$props,attrs:this.$attrs,on:k()({},Object(C["k"])(this),{input:this.handleChange,keydown:this.handleKeyDown,change:Vo,blur:this.onBlur})};return e(Do,r()([t,{ref:"input"}]))}var n=this.$props.prefixCls,i=this.$data.stateValue,a=this.configProvider.getPrefixCls,o=a("input",n),s=Object(C["g"])(this,"addonAfter"),c=Object(C["g"])(this,"addonBefore"),l=Object(C["g"])(this,"suffix"),u=Object(C["g"])(this,"prefix"),d={props:k()({},Object(C["l"])(this),{prefixCls:o,inputType:"input",value:jo(i),element:this.renderInput(o),handleReset:this.handleReset,addonAfter:s,addonBefore:c,suffix:l,prefix:u}),on:Object(C["k"])(this)};return e(po,d)}},Eo={name:"AInputGroup",props:{prefixCls:s["a"].string,size:{validator:function(e){return["small","large","default"].includes(e)}},compact:Boolean},inject:{configProvider:{default:function(){return ce}}},computed:{classes:function(){var e,t=this.prefixCls,n=this.size,i=this.compact,r=void 0!==i&&i,a=this.configProvider.getPrefixCls,s=a("input-group",t);return e={},o()(e,""+s,!0),o()(e,s+"-lg","large"===n),o()(e,s+"-sm","small"===n),o()(e,s+"-compact",r),e}},methods:{},render:function(){var e=arguments[0];return e("span",r()([{class:this.classes},{on:Object(C["k"])(this)}]),[Object(C["c"])(this.$slots["default"])])}},Fo=n("8df8"),$o=n("c544"),Io=void 0;function Ro(e){return!e||null===e.offsetParent}function No(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var Wo={name:"Wave",props:["insertExtraNode"],mounted:function(){var e=this;this.$nextTick((function(){var t=e.$el;1===t.nodeType&&(e.instance=e.bindAnimationEvent(t))}))},inject:{configProvider:{default:function(){return ce}}},beforeDestroy:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroy=!0},methods:{onClick:function(e,t){if(!(!e||Ro(e)||e.className.indexOf("-leave")>=0)){var n=this.$props.insertExtraNode;this.extraNode=document.createElement("div");var i=this.extraNode;i.className="ant-click-animating-node";var r=this.getAttributeName();e.removeAttribute(r),e.setAttribute(r,"true"),Io=Io||document.createElement("style"),t&&"#ffffff"!==t&&"rgb(255, 255, 255)"!==t&&No(t)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(t)&&"transparent"!==t&&(this.csp&&this.csp.nonce&&(Io.nonce=this.csp.nonce),i.style.borderColor=t,Io.innerHTML="\n [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n --antd-wave-shadow-color: "+t+";\n }",document.body.contains(Io)||document.body.appendChild(Io)),n&&e.appendChild(i),$o["a"].addStartEventListener(e,this.onTransitionStart),$o["a"].addEndEventListener(e,this.onTransitionEnd)}},onTransitionStart:function(e){if(!this.destroy){var t=this.$el;e&&e.target===t&&(this.animationStart||this.resetEffect(t))}},onTransitionEnd:function(e){e&&"fadeEffect"===e.animationName&&this.resetEffect(e.target)},getAttributeName:function(){var e=this.$props.insertExtraNode;return e?"ant-click-animating":"ant-click-animating-without-extra-node"},bindAnimationEvent:function(e){var t=this;if(e&&e.getAttribute&&!e.getAttribute("disabled")&&!(e.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!Ro(n.target)){t.resetEffect(e);var i=getComputedStyle(e).getPropertyValue("border-top-color")||getComputedStyle(e).getPropertyValue("border-color")||getComputedStyle(e).getPropertyValue("background-color");t.clickWaveTimeoutId=window.setTimeout((function(){return t.onClick(e,i)}),0),ko.cancel(t.animationStartId),t.animationStart=!0,t.animationStartId=ko((function(){t.animationStart=!1}),10)}};return e.addEventListener("click",n,!0),{cancel:function(){e.removeEventListener("click",n,!0)}}}},resetEffect:function(e){if(e&&e!==this.extraNode&&e instanceof Element){var t=this.$props.insertExtraNode,n=this.getAttributeName();e.setAttribute(n,"false"),Io&&(Io.innerHTML=""),t&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),$o["a"].removeStartEventListener(e,this.onTransitionStart),$o["a"].removeEndEventListener(e,this.onTransitionEnd)}}},render:function(){return this.configProvider.csp&&(this.csp=this.configProvider.csp),this.$slots["default"]&&this.$slots["default"][0]}},Ko=function(){return{prefixCls:s["a"].string,type:s["a"].string,htmlType:s["a"].oneOf(["button","submit","reset"]).def("button"),icon:s["a"].any,shape:s["a"].oneOf(["circle","circle-outline","round"]),size:s["a"].oneOf(["small","large","default"]).def("default"),loading:s["a"].oneOfType([s["a"].bool,s["a"].object]),disabled:s["a"].bool,ghost:s["a"].bool,block:s["a"].bool}},Bo=/^[\u4e00-\u9fa5]{2}$/,Uo=Bo.test.bind(Bo),qo=Ko(),Go={name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:qo,inject:{configProvider:{default:function(){return ce}}},data:function(){return{sizeMap:{large:"lg",small:"sm"},sLoading:!!this.loading,hasTwoCNChar:!1}},computed:{classes:function(){var e,t=this.prefixCls,n=this.type,i=this.shape,r=this.size,a=this.hasTwoCNChar,s=this.sLoading,c=this.ghost,l=this.block,u=this.icon,d=this.$slots,h=this.configProvider.getPrefixCls,f=h("btn",t),p=!1!==this.configProvider.autoInsertSpaceInButton,m="";switch(r){case"large":m="lg";break;case"small":m="sm";break;default:break}var v=s?"loading":u,g=Object(C["c"])(d["default"]);return e={},o()(e,""+f,!0),o()(e,f+"-"+n,n),o()(e,f+"-"+i,i),o()(e,f+"-"+m,m),o()(e,f+"-icon-only",0===g.length&&v),o()(e,f+"-loading",s),o()(e,f+"-background-ghost",c||"ghost"===n),o()(e,f+"-two-chinese-chars",a&&p),o()(e,f+"-block",l),e}},watch:{loading:function(e,t){var n=this;t&&"boolean"!==typeof t&&clearTimeout(this.delayTimeout),e&&"boolean"!==typeof e&&e.delay?this.delayTimeout=setTimeout((function(){n.sLoading=!!e}),e.delay):this.sLoading=!!e}},mounted:function(){this.fixTwoCNChar()},updated:function(){this.fixTwoCNChar()},beforeDestroy:function(){this.delayTimeout&&clearTimeout(this.delayTimeout)},methods:{fixTwoCNChar:function(){var e=this.$refs.buttonNode;if(e){var t=e.textContent;this.isNeedInserted()&&Uo(t)?this.hasTwoCNChar||(this.hasTwoCNChar=!0):this.hasTwoCNChar&&(this.hasTwoCNChar=!1)}},handleClick:function(e){var t=this.$data.sLoading;t||this.$emit("click",e)},insertSpace:function(e,t){var n=this.$createElement,i=t?" ":"";if("string"===typeof e.text){var r=e.text.trim();return Uo(r)&&(r=r.split("").join(i)),n("span",[r])}return e},isNeedInserted:function(){var e=this.$slots,t=this.type,n=Object(C["g"])(this,"icon");return e["default"]&&1===e["default"].length&&!n&&"link"!==t}},render:function(){var e=this,t=arguments[0],n=this.type,i=this.htmlType,a=this.classes,o=this.disabled,s=this.handleClick,c=this.sLoading,l=this.$slots,u=this.$attrs,d=Object(C["g"])(this,"icon"),h={attrs:k()({},u,{disabled:o}),class:a,on:k()({},Object(C["k"])(this),{click:s})},f=c?"loading":d,p=f?t(to,{attrs:{type:f}}):null,m=Object(C["c"])(l["default"]),v=!1!==this.configProvider.autoInsertSpaceInButton,g=m.map((function(t){return e.insertSpace(t,e.isNeedInserted()&&v)}));if(void 0!==u.href)return t("a",r()([h,{ref:"buttonNode"}]),[p,g]);var y=t("button",r()([h,{ref:"buttonNode",attrs:{type:i||"button"}}]),[p,g]);return"link"===n?y:t(Wo,[y])}},Jo={prefixCls:s["a"].string,size:{validator:function(e){return["small","large","default"].includes(e)}}},Xo={name:"AButtonGroup",props:Jo,inject:{configProvider:{default:function(){return ce}}},data:function(){return{sizeMap:{large:"lg",small:"sm"}}},render:function(){var e,t=arguments[0],n=this.prefixCls,i=this.size,r=this.$slots,a=this.configProvider.getPrefixCls,s=a("btn-group",n),c="";switch(i){case"large":c="lg";break;case"small":c="sm";break;default:break}var l=(e={},o()(e,""+s,!0),o()(e,s+"-"+c,c),e);return t("div",{class:l},[Object(C["c"])(r["default"])])}};Go.Group=Xo,Go.install=function(e){e.use(te),e.component(Go.name,Go),e.component(Xo.name,Xo)};var Zo=Go,Qo={name:"AInputSearch",inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:k()({},Co,{enterButton:s["a"].any}),inject:{configProvider:{default:function(){return ce}}},methods:{onChange:function(e){e&&e.target&&"click"===e.type&&this.$emit("search",e.target.value,e),this.$emit("change",e)},onSearch:function(e){this.loading||this.disabled||(this.$emit("search",this.$refs.input.stateValue,e),Object(Fo["isMobile"])({tablet:!0})||this.$refs.input.focus())},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},renderLoading:function(e){var t=this.$createElement,n=this.$props.size,i=Object(C["g"])(this,"enterButton");return i=i||""===i,i?t(Zo,{class:e+"-button",attrs:{type:"primary",size:n},key:"enterButton"},[t(to,{attrs:{type:"loading"}})]):t(to,{class:e+"-icon",attrs:{type:"loading"},key:"loadingIcon"})},renderSuffix:function(e){var t=this.$createElement,n=this.loading,i=Object(C["g"])(this,"suffix"),r=Object(C["g"])(this,"enterButton");if(r=r||""===r,n&&!r)return[i,this.renderLoading(e)];if(r)return i;var a=t(to,{class:e+"-icon",attrs:{type:"search"},key:"searchIcon",on:{click:this.onSearch}});return i?[i,a]:a},renderAddonAfter:function(e){var t=this.$createElement,n=this.size,i=this.disabled,r=this.loading,a=e+"-button",o=Object(C["g"])(this,"enterButton");o=o||""===o;var s=Object(C["g"])(this,"addonAfter");if(r&&o)return[this.renderLoading(e),s];if(!o)return s;var c=Array.isArray(o)?o[0]:o,l=void 0,u=c.componentOptions&&c.componentOptions.Ctor.extendOptions.__ANT_BUTTON;return l="button"===c.tag||u?Object(Ln["a"])(c,{key:"enterButton",class:u?a:"",props:u?{size:n}:{},on:{click:this.onSearch}}):t(Zo,{class:a,attrs:{type:"primary",size:n,disabled:i},key:"enterButton",on:{click:this.onSearch}},[!0===o||""===o?t(to,{attrs:{type:"search"}}):o]),s?[l,s]:l}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.prefixCls,i=t.inputPrefixCls,r=t.size,a=(t.loading,We()(t,["prefixCls","inputPrefixCls","size","loading"])),s=this.configProvider.getPrefixCls,c=s("input-search",n),u=s("input",i),d=Object(C["g"])(this,"enterButton"),h=Object(C["g"])(this,"addonBefore");d=d||""===d;var f,p=void 0;d?p=l()(c,(f={},o()(f,c+"-enter-button",!!d),o()(f,c+"-"+r,!!r),f)):p=c;var m=k()({},Object(C["k"])(this));delete m.search;var v={props:k()({},a,{prefixCls:u,size:r,suffix:this.renderSuffix(c),prefix:Object(C["g"])(this,"prefix"),addonAfter:this.renderAddonAfter(c),addonBefore:h,className:p}),attrs:this.$attrs,ref:"input",on:k()({pressEnter:this.onSearch},m,{change:this.onChange})};return e(Ao,v)}},es={click:"click",hover:"mouseover"},ts={name:"AInputPassword",mixins:[p["a"]],inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:k()({},Co,{prefixCls:s["a"].string,inputPrefixCls:s["a"].string,action:s["a"].string.def("click"),visibilityToggle:s["a"].bool.def(!0)}),inject:{configProvider:{default:function(){return ce}}},data:function(){return{visible:!1}},methods:{focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},onVisibleChange:function(){this.disabled||this.setState({visible:!this.visible})},getIcon:function(e){var t,n=this.$createElement,i=this.$props.action,r=es[i]||"",a={props:{type:this.visible?"eye":"eye-invisible"},on:(t={},o()(t,r,this.onVisibleChange),o()(t,"mousedown",(function(e){e.preventDefault()})),o()(t,"mouseup",(function(e){e.preventDefault()})),t),class:e+"-icon",key:"passwordIcon"};return n(to,a)}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.prefixCls,i=t.inputPrefixCls,r=t.size,a=(t.suffix,t.visibilityToggle),s=We()(t,["prefixCls","inputPrefixCls","size","suffix","visibilityToggle"]),c=this.configProvider.getPrefixCls,u=c("input",i),d=c("input-password",n),h=a&&this.getIcon(d),f=l()(d,o()({},d+"-"+r,!!r)),p={props:k()({},s,{prefixCls:u,size:r,suffix:h,prefix:Object(C["g"])(this,"prefix"),addonAfter:Object(C["g"])(this,"addonAfter"),addonBefore:Object(C["g"])(this,"addonBefore")}),attrs:k()({},this.$attrs,{type:this.visible?"text":"password"}),class:f,ref:"input",on:Object(C["k"])(this)};return e(Ao,p)}};kn["a"].use(q),Ao.Group=Eo,Ao.Search=Qo,Ao.TextArea=Do,Ao.Password=ts,Ao.install=function(e){e.use(te),e.component(Ao.name,Ao),e.component(Ao.Group.name,Ao.Group),e.component(Ao.Search.name,Ao.Search),e.component(Ao.TextArea.name,Ao.TextArea),e.component(Ao.Password.name,Ao.Password)};var ns=Ao;function is(){for(var e=arguments.length,t=Array(e),n=0;ne})}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.$slots,i=this.configProvider.getPrefixCls,r=i("back-top",t),a=e("div",{class:r+"-content"},[e("div",{class:r+"-icon"})]),o={on:k()({},Object(C["k"])(this),{click:this.scrollToTop}),class:r},s=this.visible?e("div",o,[n["default"]||a]):null,c=Object(Cn["a"])("fade");return e("transition",c,[s])},install:function(e){e.use(te),e.component(vs.name,vs)}},gs=vs;function ys(e){return e?e.toString().split("").reverse().map((function(e){var t=Number(e);return isNaN(t)?e:t})):[]}var bs={prefixCls:s["a"].string,count:s["a"].any,component:s["a"].string,title:s["a"].oneOfType([s["a"].number,s["a"].string,null]),displayComponent:s["a"].any,className:s["a"].object},_s={mixins:[p["a"]],props:bs,inject:{configProvider:{default:function(){return ce}}},data:function(){return{animateStarted:!0,sCount:this.count}},watch:{count:function(){this.lastCount=this.sCount,this.setState({animateStarted:!0})}},updated:function(){var e=this,t=this.animateStarted,n=this.count;t&&(this.clearTimeout(),this.timeout=setTimeout((function(){e.setState({animateStarted:!1,sCount:n},e.onAnimated)})))},beforeDestroy:function(){this.clearTimeout()},methods:{clearTimeout:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)})),getPositionByNum:function(e,t){var n=this.sCount,i=Math.abs(Number(n)),r=Math.abs(Number(this.lastCount)),a=Math.abs(ys(n)[t]),o=Math.abs(ys(this.lastCount)[t]);return this.animateStarted?10+e:i>r?a>=o?10+e:20+e:a<=o?10+e:e},onAnimated:function(){this.$emit("animated")},renderNumberList:function(e,t){for(var n=this.$createElement,i=[],r=0;r<30;r++)i.push(n("p",{key:r.toString(),class:l()(t,{current:e===r})},[r%10]));return i},renderCurrentNumber:function(e,t,n){var i=this.$createElement;if("number"===typeof t){var r=this.getPositionByNum(t,n),a=this.animateStarted||void 0===ys(this.lastCount)[n],o={transition:a?"none":void 0,msTransform:"translateY("+100*-r+"%)",WebkitTransform:"translateY("+100*-r+"%)",transform:"translateY("+100*-r+"%)"};return i("span",{class:e+"-only",style:o,key:n},[this.renderNumberList(r,e+"-only-unit")])}return i("span",{key:"symbol",class:e+"-symbol"},[t])},renderNumberElement:function(e){var t=this,n=this.sCount;return n&&Number(n)%1===0?ys(n).map((function(n,i){return t.renderCurrentNumber(e,n,i)})).reverse():n}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.title,i=this.component,r=void 0===i?"sup":i,a=this.displayComponent,o=this.className,s=this.configProvider.getPrefixCls,c=s("scroll-number",t);if(a)return Object(Ln["a"])(a,{class:c+"-custom-component"});var d=Object(C["q"])(this,!0),h=Object(u["a"])(this.$props,["count","component","prefixCls","displayComponent"]),f={props:k()({},h),attrs:{title:n},style:d,class:l()(c,o)};return d&&d.borderColor&&(f.style.boxShadow="0 0 0 1px "+d.borderColor+" inset"),e(r,f,[this.renderNumberElement(c)])}},Ms=function(){for(var e=arguments.length,t=Array(e),n=0;ne?e+"+":t;return n},getDispayCount:function(){var e=this.isDot();return e?"":this.getNumberedDispayCount()},getScrollNumberTitle:function(){var e=this.$props.title,t=this.badgeCount;return e||("string"===typeof t||"number"===typeof t?t:void 0)},getStyleWithOffset:function(){var e=this.$props,t=e.offset,n=e.numberStyle;return t?k()({right:-parseInt(t[0],10)+"px",marginTop:Cs(t[1])?t[1]+"px":t[1]},n):k()({},n)},getBadgeClassName:function(e){var t,n=Object(C["c"])(this.$slots["default"]),i=this.hasStatus();return l()(e,(t={},o()(t,e+"-status",i),o()(t,e+"-dot-status",i&&this.dot&&!this.isZero()),o()(t,e+"-not-a-wrapper",!n.length),t))},hasStatus:function(){var e=this.$props,t=e.status,n=e.color;return!!t||!!n},isZero:function(){var e=this.getNumberedDispayCount();return"0"===e||0===e},isDot:function(){var e=this.$props.dot,t=this.isZero();return e&&!t||this.hasStatus()},isHidden:function(){var e=this.$props.showZero,t=this.getDispayCount(),n=this.isZero(),i=this.isDot(),r=null===t||void 0===t||""===t;return(r||n&&!e)&&!i},renderStatusText:function(e){var t=this.$createElement,n=this.$props.text,i=this.isHidden();return i||!n?null:t("span",{class:e+"-status-text"},[n])},renderDispayComponent:function(){var e=this.badgeCount,t=e;if(t&&"object"===("undefined"===typeof t?"undefined":M()(t)))return Object(Ln["a"])(t,{style:this.getStyleWithOffset()})},renderBadgeNumber:function(e,t){var n,i=this.$createElement,r=this.$props,a=r.status,s=r.color,c=this.badgeCount,l=this.getDispayCount(),u=this.isDot(),d=this.isHidden(),h=(n={},o()(n,e+"-dot",u),o()(n,e+"-count",!u),o()(n,e+"-multiple-words",!u&&c&&c.toString&&c.toString().length>1),o()(n,e+"-status-"+a,!!a),o()(n,e+"-status-"+s,xs(s)),n),f=this.getStyleWithOffset();return s&&!xs(s)&&(f=f||{},f.background=s),d?null:i(_s,{attrs:{prefixCls:t,"data-show":!d,className:h,count:l,displayComponent:this.renderDispayComponent(),title:this.getScrollNumberTitle()},directives:[{name:"show",value:!d}],style:f,key:"scrollNumber"})}},render:function(){var e,t=arguments[0],n=this.prefixCls,i=this.scrollNumberPrefixCls,a=this.status,s=this.text,c=this.color,u=this.$slots,d=this.configProvider.getPrefixCls,h=d("badge",n),f=d("scroll-number",i),p=Object(C["c"])(u["default"]),m=Object(C["g"])(this,"count");Array.isArray(m)&&(m=m[0]),this.badgeCount=m;var v=this.renderBadgeNumber(h,f),g=this.renderStatusText(h),y=l()((e={},o()(e,h+"-status-dot",this.hasStatus()),o()(e,h+"-status-"+a,!!a),o()(e,h+"-status-"+c,xs(c)),e)),b={};if(c&&!xs(c)&&(b.background=c),!p.length&&this.hasStatus()){var _=this.getStyleWithOffset(),M=_&&_.color;return t("span",r()([{on:Object(C["k"])(this)},{class:this.getBadgeClassName(h),style:_}]),[t("span",{class:y,style:b}),t("span",{style:{color:M},class:h+"-status-text"},[s])])}var w=Object(Cn["a"])(p.length?h+"-zoom":"");return t("span",r()([{on:Object(C["k"])(this)},{class:this.getBadgeClassName(h)}]),[p,t("transition",w,[v]),g])},install:function(e){e.use(te),e.component(Ss.name,Ss)}},Os=Ss,Ts={adjustX:1,adjustY:1},zs=[0,0],Hs={topLeft:{points:["bl","tl"],overflow:Ts,offset:[0,-4],targetOffset:zs},topCenter:{points:["bc","tc"],overflow:Ts,offset:[0,-4],targetOffset:zs},topRight:{points:["br","tr"],overflow:Ts,offset:[0,-4],targetOffset:zs},bottomLeft:{points:["tl","bl"],overflow:Ts,offset:[0,4],targetOffset:zs},bottomCenter:{points:["tc","bc"],overflow:Ts,offset:[0,4],targetOffset:zs},bottomRight:{points:["tr","br"],overflow:Ts,offset:[0,4],targetOffset:zs}},Ds=Hs,Vs={mixins:[p["a"]],props:{minOverlayWidthMatchTrigger:s["a"].bool,prefixCls:s["a"].string.def("rc-dropdown"),transitionName:s["a"].string,overlayClassName:s["a"].string.def(""),openClassName:s["a"].string,animation:s["a"].any,align:s["a"].object,overlayStyle:s["a"].object.def((function(){return{}})),placement:s["a"].string.def("bottomLeft"),overlay:s["a"].any,trigger:s["a"].array.def(["hover"]),alignPoint:s["a"].bool,showAction:s["a"].array.def([]),hideAction:s["a"].array.def([]),getPopupContainer:s["a"].func,visible:s["a"].bool,defaultVisible:s["a"].bool.def(!1),mouseEnterDelay:s["a"].number.def(.15),mouseLeaveDelay:s["a"].number.def(.1)},data:function(){var e=this.defaultVisible;return Object(C["s"])(this,"visible")&&(e=this.visible),{sVisible:e}},watch:{visible:function(e){void 0!==e&&this.setState({sVisible:e})}},methods:{onClick:function(e){Object(C["s"])(this,"visible")||this.setState({sVisible:!1}),this.$emit("overlayClick",e),this.childOriginEvents.click&&this.childOriginEvents.click(e)},onVisibleChange:function(e){Object(C["s"])(this,"visible")||this.setState({sVisible:e}),this.__emit("visibleChange",e)},getMinOverlayWidthMatchTrigger:function(){var e=Object(C["l"])(this),t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},getOverlayElement:function(){var e=this.overlay||this.$slots.overlay||this.$scopedSlots.overlay,t=void 0;return t="function"===typeof e?e():e,t},getMenuElement:function(){var e=this,t=this.onClick,n=this.prefixCls,i=this.$slots;this.childOriginEvents=Object(C["i"])(i.overlay[0]);var r=this.getOverlayElement(),a={props:{prefixCls:n+"-menu",getPopupContainer:function(){return e.getPopupDomNode()}},on:{click:t}};return"string"===typeof r.type&&delete a.props.prefixCls,Object(Ln["a"])(i.overlay[0],a)},getMenuElementOrLambda:function(){var e=this.overlay||this.$slots.overlay||this.$scopedSlots.overlay;return"function"===typeof e?this.getMenuElement:this.getMenuElement()},getPopupDomNode:function(){return this.$refs.trigger.getPopupDomNode()},getOpenClassName:function(){var e=this.$props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},afterVisibleChange:function(e){if(e&&this.getMinOverlayWidthMatchTrigger()){var t=this.getPopupDomNode(),n=this.$el;n&&t&&n.offsetWidth>t.offsetWidth&&(t.style.minWidth=n.offsetWidth+"px",this.$refs.trigger&&this.$refs.trigger._component&&this.$refs.trigger._component.$refs&&this.$refs.trigger._component.$refs.alignInstance&&this.$refs.trigger._component.$refs.alignInstance.forceAlign())}},renderChildren:function(){var e=this.$slots["default"]&&this.$slots["default"][0],t=this.sVisible;return t&&e?Object(Ln["a"])(e,{class:this.getOpenClassName()}):e}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.transitionName,r=t.animation,a=t.align,o=t.placement,s=t.getPopupContainer,c=t.showAction,l=t.hideAction,u=t.overlayClassName,d=t.overlayStyle,h=t.trigger,f=We()(t,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),p=l;p||-1===h.indexOf("contextmenu")||(p=["click"]);var m={props:k()({},f,{prefixCls:n,popupClassName:u,popupStyle:d,builtinPlacements:Ds,action:h,showAction:c,hideAction:p||[],popupPlacement:o,popupAlign:a,popupTransitionName:i,popupAnimation:r,popupVisible:this.sVisible,afterPopupVisibleChange:this.afterVisibleChange,getPopupContainer:s}),on:{popupVisibleChange:this.onVisibleChange},ref:"trigger"};return e(_r,m,[this.renderChildren(),e("template",{slot:"popup"},[this.$slots.overlay&&this.getMenuElement()])])}},js=Vs,Ys=function(){return{trigger:s["a"].array.def(["hover"]),overlay:s["a"].any,visible:s["a"].bool,disabled:s["a"].bool,align:s["a"].object,getPopupContainer:s["a"].func,prefixCls:s["a"].string,transitionName:s["a"].string,placement:s["a"].oneOf(["topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight"]),overlayClassName:s["a"].string,overlayStyle:s["a"].object,forceRender:s["a"].bool,mouseEnterDelay:s["a"].number,mouseLeaveDelay:s["a"].number,openClassName:s["a"].string,minOverlayWidthMatchTrigger:s["a"].bool}},Ps=Ko(),As=Ys(),Es=Zo.Group,Fs=k()({},Jo,As,{type:s["a"].oneOf(["primary","ghost","dashed","danger","default"]).def("default"),size:s["a"].oneOf(["small","large","default"]).def("default"),htmlType:Ps.htmlType,href:s["a"].string,disabled:s["a"].bool,prefixCls:s["a"].string,placement:As.placement.def("bottomRight"),icon:s["a"].any,title:s["a"].string}),$s={name:"ADropdownButton",model:{prop:"visible",event:"visibleChange"},props:Fs,provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return ce}}},methods:{savePopupRef:function(e){this.popupRef=e},onClick:function(e){this.$emit("click",e)},onVisibleChange:function(e){this.$emit("visibleChange",e)}},render:function(){var e=arguments[0],t=this.$props,n=t.type,i=t.disabled,r=t.htmlType,a=t.prefixCls,o=t.trigger,s=t.align,c=t.visible,l=t.placement,u=t.getPopupContainer,d=t.href,h=t.title,f=We()(t,["type","disabled","htmlType","prefixCls","trigger","align","visible","placement","getPopupContainer","href","title"]),p=Object(C["g"])(this,"icon")||e(to,{attrs:{type:"ellipsis"}}),m=this.configProvider.getPopupContainer,v=this.configProvider.getPrefixCls,g=v("dropdown-button",a),y={props:{align:s,disabled:i,trigger:i?[]:o,placement:l,getPopupContainer:u||m},on:{visibleChange:this.onVisibleChange}};Object(C["s"])(this,"visible")&&(y.props.visible=c);var b={props:k()({},f),class:g};return e(Es,b,[e(Zo,{attrs:{type:n,disabled:i,htmlType:r,href:d,title:h},on:{click:this.onClick}},[this.$slots["default"]]),e(Ns,y,[e("template",{slot:"overlay"},[Object(C["g"])(this,"overlay")]),e(Zo,{attrs:{type:n}},[p])])])}},Is=Ys(),Rs={name:"ADropdown",props:k()({},Is,{prefixCls:s["a"].string,mouseEnterDelay:s["a"].number.def(.15),mouseLeaveDelay:s["a"].number.def(.1),placement:Is.placement.def("bottomLeft")}),model:{prop:"visible",event:"visibleChange"},provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return ce}}},methods:{savePopupRef:function(e){this.popupRef=e},getTransitionName:function(){var e=this.$props,t=e.placement,n=void 0===t?"":t,i=e.transitionName;return void 0!==i?i:n.indexOf("top")>=0?"slide-down":"slide-up"},renderOverlay:function(e){var t=this.$createElement,n=Object(C["g"])(this,"overlay"),i=Array.isArray(n)?n[0]:n,r=i&&Object(C["m"])(i),a=r||{},o=a.selectable,s=void 0!==o&&o,c=a.focusable,l=void 0===c||c,u=t("span",{class:e+"-menu-submenu-arrow"},[t(to,{attrs:{type:"right"},class:e+"-menu-submenu-arrow-icon"})]),d=i&&i.componentOptions?Object(Ln["a"])(i,{props:{mode:"vertical",selectable:s,focusable:l,expandIcon:u}}):n;return d}},render:function(){var e=arguments[0],t=this.$slots,n=Object(C["l"])(this),i=n.prefixCls,r=n.trigger,a=n.disabled,o=n.getPopupContainer,s=this.configProvider.getPopupContainer,c=this.configProvider.getPrefixCls,l=c("dropdown",i),u=Object(Ln["a"])(t["default"],{class:l+"-trigger",props:{disabled:a}}),d=a?[]:r,h=void 0;d&&-1!==d.indexOf("contextmenu")&&(h=!0);var f={props:k()({alignPoint:h},n,{prefixCls:l,getPopupContainer:o||s,transitionName:this.getTransitionName(),trigger:d}),on:Object(C["k"])(this)};return e(js,f,[u,e("template",{slot:"overlay"},[this.renderOverlay(l)])])}};Rs.Button=$s;var Ns=Rs,Ws={name:"ABreadcrumbItem",__ANT_BREADCRUMB_ITEM:!0,props:{prefixCls:s["a"].string,href:s["a"].string,separator:s["a"].any.def("/"),overlay:s["a"].any},inject:{configProvider:{default:function(){return ce}}},methods:{renderBreadcrumbNode:function(e,t){var n=this.$createElement,i=Object(C["g"])(this,"overlay");return i?n(Ns,{attrs:{overlay:i,placement:"bottomCenter"}},[n("span",{class:t+"-overlay-link"},[e,n(to,{attrs:{type:"down"}})])]):e}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.$slots,i=this.configProvider.getPrefixCls,r=i("breadcrumb",t),a=Object(C["g"])(this,"separator"),o=n["default"],s=void 0;return s=Object(C["s"])(this,"href")?e("a",{class:r+"-link"},[o]):e("span",{class:r+"-link"},[o]),s=this.renderBreadcrumbNode(s,r),o?e("span",[s,a&&""!==a&&e("span",{class:r+"-separator"},[a])]):null}},Ks={name:"MenuDivider",props:{disabled:{type:Boolean,default:!0},rootPrefixCls:String},render:function(){var e=arguments[0],t=this.$props.rootPrefixCls;return e("li",{class:t+"-item-divider"})}},Bs={name:"ASubMenu",isSubMenu:!0,props:k()({},Dr.props),inject:{menuPropsContext:{default:function(){return{}}}},methods:{onKeyDown:function(e){this.$refs.subMenu.onKeyDown(e)}},render:function(){var e=arguments[0],t=this.$slots,n=this.$scopedSlots,i=this.$props,r=i.rootPrefixCls,a=i.popupClassName,o=this.menuPropsContext.theme,s={props:k()({},this.$props,{popupClassName:l()(r+"-"+o,a)}),ref:"subMenu",on:Object(C["k"])(this),scopedSlots:n},c=Object.keys(t);return e(Dr,s,[c.length?c.map((function(n){return e("template",{slot:n},[t[n]])})):null])}};function Us(e,t,n){var i=void 0,r=void 0,a=void 0;return Object(lr["a"])(e,"ant-motion-collapse-legacy",{start:function(){a&&y.a.cancel(a),t?(i=e.offsetHeight,0===i?a=y()((function(){i=e.offsetHeight,e.style.height="0px",e.style.opacity="0"})):(e.style.height="0px",e.style.opacity="0")):(e.style.height=e.offsetHeight+"px",e.style.opacity="1")},active:function(){r&&y.a.cancel(r),r=y()((function(){e.style.height=(t?i:0)+"px",e.style.opacity=t?"1":"0"}))},end:function(){a&&y.a.cancel(a),r&&y.a.cancel(r),e.style.height="",e.style.opacity="",n&&n()}})}var qs={enter:function(e,t){kn["a"].nextTick((function(){Us(e,!0,t)}))},leave:function(e,t){return Us(e,!1,t)}},Gs=qs,Js={adjustX:1,adjustY:1},Xs=[0,0],Zs={left:{points:["cr","cl"],overflow:Js,offset:[-4,0],targetOffset:Xs},right:{points:["cl","cr"],overflow:Js,offset:[4,0],targetOffset:Xs},top:{points:["bc","tc"],overflow:Js,offset:[0,-4],targetOffset:Xs},bottom:{points:["tc","bc"],overflow:Js,offset:[0,4],targetOffset:Xs},topLeft:{points:["bl","tl"],overflow:Js,offset:[0,-4],targetOffset:Xs},leftTop:{points:["tr","tl"],overflow:Js,offset:[-4,0],targetOffset:Xs},topRight:{points:["br","tr"],overflow:Js,offset:[0,-4],targetOffset:Xs},rightTop:{points:["tl","tr"],overflow:Js,offset:[4,0],targetOffset:Xs},bottomRight:{points:["tr","br"],overflow:Js,offset:[0,4],targetOffset:Xs},rightBottom:{points:["bl","br"],overflow:Js,offset:[4,0],targetOffset:Xs},bottomLeft:{points:["tl","bl"],overflow:Js,offset:[0,4],targetOffset:Xs},leftBottom:{points:["br","bl"],overflow:Js,offset:[-4,0],targetOffset:Xs}},Qs={props:{prefixCls:s["a"].string,overlay:s["a"].any,trigger:s["a"].any},updated:function(){var e=this.trigger;e&&e.forcePopupAlign()},render:function(){var e=arguments[0],t=this.overlay,n=this.prefixCls;return e("div",{class:n+"-inner",attrs:{role:"tooltip"}},["function"===typeof t?t():t])}};function ec(){}var tc={props:{trigger:s["a"].any.def(["hover"]),defaultVisible:s["a"].bool,visible:s["a"].bool,placement:s["a"].string.def("right"),transitionName:s["a"].oneOfType([s["a"].string,s["a"].object]),animation:s["a"].any,afterVisibleChange:s["a"].func.def((function(){})),overlay:s["a"].any,overlayStyle:s["a"].object,overlayClassName:s["a"].string,prefixCls:s["a"].string.def("rc-tooltip"),mouseEnterDelay:s["a"].number.def(0),mouseLeaveDelay:s["a"].number.def(.1),getTooltipContainer:s["a"].func,destroyTooltipOnHide:s["a"].bool.def(!1),align:s["a"].object.def((function(){return{}})),arrowContent:s["a"].any.def(null),tipId:s["a"].string,builtinPlacements:s["a"].object},methods:{getPopupElement:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls,i=t.tipId;return[e("div",{class:n+"-arrow",key:"arrow"},[Object(C["g"])(this,"arrowContent")]),e(Qs,{key:"content",attrs:{trigger:this.$refs.trigger,prefixCls:n,id:i,overlay:Object(C["g"])(this,"overlay")}})]},getPopupDomNode:function(){return this.$refs.trigger.getPopupDomNode()}},render:function(e){var t=Object(C["l"])(this),n=t.overlayClassName,i=t.trigger,r=t.mouseEnterDelay,a=t.mouseLeaveDelay,o=t.overlayStyle,s=t.prefixCls,c=t.afterVisibleChange,l=t.transitionName,u=t.animation,d=t.placement,h=t.align,f=t.destroyTooltipOnHide,p=t.defaultVisible,m=t.getTooltipContainer,v=We()(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer"]),g=k()({},v);Object(C["s"])(this,"visible")&&(g.popupVisible=this.$props.visible);var y=Object(C["k"])(this),b={props:k()({popupClassName:n,prefixCls:s,action:i,builtinPlacements:Zs,popupPlacement:d,popupAlign:h,getPopupContainer:m,afterPopupVisibleChange:c,popupTransitionName:l,popupAnimation:u,defaultPopupVisible:p,destroyPopupOnHide:f,mouseLeaveDelay:a,popupStyle:o,mouseEnterDelay:r},g),on:k()({},y,{popupVisibleChange:y.visibleChange||ec,popupAlign:y.popupAlign||ec}),ref:"trigger"};return e(_r,b,[e("template",{slot:"popup"},[this.getPopupElement(e)]),this.$slots["default"]])}},nc=tc,ic={adjustX:1,adjustY:1},rc={adjustX:0,adjustY:0},ac=[0,0];function oc(e){return"boolean"===typeof e?e?ic:rc:k()({},rc,e)}function sc(e){var t=e.arrowWidth,n=void 0===t?5:t,i=e.horizontalArrowShift,r=void 0===i?16:i,a=e.verticalArrowShift,o=void 0===a?12:a,s=e.autoAdjustOverflow,c=void 0===s||s,l={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(r+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(o+n)]},topRight:{points:["br","tc"],offset:[r+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(o+n)]},bottomRight:{points:["tr","bc"],offset:[r+n,4]},rightBottom:{points:["bl","cr"],offset:[4,o+n]},bottomLeft:{points:["tl","bc"],offset:[-(r+n),4]},leftBottom:{points:["br","cl"],offset:[-4,o+n]}};return Object.keys(l).forEach((function(t){l[t]=e.arrowPointAtCenter?k()({},l[t],{overflow:oc(c),targetOffset:ac}):k()({},Zs[t],{overflow:oc(c)}),l[t].ignoreShake=!0})),l}var cc=s["a"].oneOf(["hover","focus","click","contextmenu"]),lc=function(){return{trigger:s["a"].oneOfType([cc,s["a"].arrayOf(cc)]).def("hover"),visible:s["a"].bool,defaultVisible:s["a"].bool,placement:s["a"].oneOf(["top","left","right","bottom","topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]).def("top"),transitionName:s["a"].string.def("zoom-big-fast"),overlayStyle:s["a"].object.def((function(){return{}})),overlayClassName:s["a"].string,prefixCls:s["a"].string,mouseEnterDelay:s["a"].number.def(.1),mouseLeaveDelay:s["a"].number.def(.1),getPopupContainer:s["a"].func,arrowPointAtCenter:s["a"].bool.def(!1),autoAdjustOverflow:s["a"].oneOfType([s["a"].bool,s["a"].object]).def(!0),destroyTooltipOnHide:s["a"].bool.def(!1),align:s["a"].object.def((function(){return{}})),builtinPlacements:s["a"].object}},uc=function(e,t){var n={},i=k()({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete i[t])})),{picked:n,omitted:i}},dc=lc(),hc={name:"ATooltip",model:{prop:"visible",event:"visibleChange"},props:k()({},dc,{title:s["a"].any}),inject:{configProvider:{default:function(){return ce}}},data:function(){return{sVisible:!!this.$props.visible||!!this.$props.defaultVisible}},watch:{visible:function(e){this.sVisible=e}},methods:{onVisibleChange:function(e){Object(C["s"])(this,"visible")||(this.sVisible=!this.isNoTitle()&&e),this.isNoTitle()||this.$emit("visibleChange",e)},getPopupDomNode:function(){return this.$refs.tooltip.getPopupDomNode()},getPlacements:function(){var e=this.$props,t=e.builtinPlacements,n=e.arrowPointAtCenter,i=e.autoAdjustOverflow;return t||sc({arrowPointAtCenter:n,verticalArrowShift:8,autoAdjustOverflow:i})},getDisabledCompatibleChildren:function(e){var t=this.$createElement,n=e.componentOptions&&e.componentOptions.Ctor.options||{};if((!0===n.__ANT_BUTTON||!0===n.__ANT_SWITCH||!0===n.__ANT_CHECKBOX)&&(e.componentOptions.propsData.disabled||""===e.componentOptions.propsData.disabled)||"button"===e.tag&&e.data&&e.data.attrs&&void 0!==e.data.attrs.disabled){var i=uc(Object(C["q"])(e),["position","left","right","top","bottom","float","display","zIndex"]),r=i.picked,a=i.omitted,o=k()({display:"inline-block"},r,{cursor:"not-allowed",width:e.componentOptions.propsData.block?"100%":null}),s=k()({},a,{pointerEvents:"none"}),c=Object(C["f"])(e),l=Object(Ln["a"])(e,{style:s,class:null});return t("span",{style:o,class:c},[l])}return e},isNoTitle:function(){var e=Object(C["g"])(this,"title");return!e&&0!==e},getOverlay:function(){var e=Object(C["g"])(this,"title");return 0===e?e:e||""},onPopupAlign:function(e,t){var n=this.getPlacements(),i=Object.keys(n).filter((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}))[0];if(i){var r=e.getBoundingClientRect(),a={top:"50%",left:"50%"};i.indexOf("top")>=0||i.indexOf("Bottom")>=0?a.top=r.height-t.offset[1]+"px":(i.indexOf("Top")>=0||i.indexOf("bottom")>=0)&&(a.top=-t.offset[1]+"px"),i.indexOf("left")>=0||i.indexOf("Right")>=0?a.left=r.width-t.offset[0]+"px":(i.indexOf("right")>=0||i.indexOf("Left")>=0)&&(a.left=-t.offset[0]+"px"),e.style.transformOrigin=a.left+" "+a.top}}},render:function(){var e=arguments[0],t=this.$props,n=this.$data,i=this.$slots,r=t.prefixCls,a=t.openClassName,s=t.getPopupContainer,c=this.configProvider.getPopupContainer,l=this.configProvider.getPrefixCls,u=l("tooltip",r),d=(i["default"]||[]).filter((function(e){return e.tag||""!==e.text.trim()}));d=1===d.length?d[0]:d;var h=n.sVisible;if(!Object(C["s"])(this,"visible")&&this.isNoTitle()&&(h=!1),!d)return null;var f=this.getDisabledCompatibleChildren(Object(C["w"])(d)?d:e("span",[d])),p=o()({},a||u+"-open",!0),m={props:k()({},t,{prefixCls:u,getTooltipContainer:s||c,builtinPlacements:this.getPlacements(),overlay:this.getOverlay(),visible:h}),ref:"tooltip",on:k()({},Object(C["k"])(this),{visibleChange:this.onVisibleChange,popupAlign:this.onPopupAlign})};return e(nc,m,[h?Object(Ln["a"])(f,{class:p}):f])},install:function(e){e.use(te),e.component(hc.name,hc)}},fc=hc;function pc(){}var mc={name:"MenuItem",inheritAttrs:!1,props:mn,inject:{getInlineCollapsed:{default:function(){return pc}},layoutSiderContext:{default:function(){return{}}}},isMenuItem:!0,methods:{onKeyDown:function(e){this.$refs.menuItem.onKeyDown(e)}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.level,i=t.title,a=t.rootPrefixCls,o=this.getInlineCollapsed,s=this.$slots,c=this.$attrs,l=o(),u=i;"undefined"===typeof i?u=1===n?s["default"]:"":!1===i&&(u="");var d={title:u},h=this.layoutSiderContext.sCollapsed;h||l||(d.title=null,d.visible=!1);var f={props:k()({},t,{title:i}),attrs:c,on:Object(C["k"])(this)},p={props:k()({},d,{placement:"right",overlayClassName:a+"-inline-collapsed-tooltip"})};return e(fc,p,[e(yn,r()([f,{ref:"menuItem"}]),[s["default"]])])}},vc=s["a"].oneOf(["vertical","vertical-left","vertical-right","horizontal","inline"]),gc=k()({},Kr,{theme:s["a"].oneOf(["light","dark"]).def("light"),mode:vc.def("vertical"),selectable:s["a"].bool,selectedKeys:s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number])),defaultSelectedKeys:s["a"].array,openKeys:s["a"].array,defaultOpenKeys:s["a"].array,openAnimation:s["a"].oneOfType([s["a"].string,s["a"].object]),openTransitionName:s["a"].string,prefixCls:s["a"].string,multiple:s["a"].bool,inlineIndent:s["a"].number.def(24),inlineCollapsed:s["a"].bool,isRootMenu:s["a"].bool.def(!0),focusable:s["a"].bool.def(!1)}),yc={name:"AMenu",props:gc,Divider:k()({},Ks,{name:"AMenuDivider"}),Item:k()({},mc,{name:"AMenuItem"}),SubMenu:k()({},Bs,{name:"ASubMenu"}),ItemGroup:k()({},_n,{name:"AMenuItemGroup"}),provide:function(){return{getInlineCollapsed:this.getInlineCollapsed,menuPropsContext:this.$props}},mixins:[p["a"]],inject:{layoutSiderContext:{default:function(){return{}}},configProvider:{default:function(){return ce}}},model:{prop:"selectedKeys",event:"selectChange"},updated:function(){this.propsUpdating=!1},watch:{mode:function(e,t){"inline"===t&&"inline"!==e&&(this.switchingModeFromInline=!0)},openKeys:function(e){this.setState({sOpenKeys:e})},inlineCollapsed:function(e){this.collapsedChange(e)},"layoutSiderContext.sCollapsed":function(e){this.collapsedChange(e)}},data:function(){var e=Object(C["l"])(this);pe(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when Menu's `mode` is inline."),this.switchingModeFromInline=!1,this.leaveAnimationExecutedWhenInlineCollapsed=!1,this.inlineOpenKeys=[];var t=void 0;return"openKeys"in e?t=e.openKeys:"defaultOpenKeys"in e&&(t=e.defaultOpenKeys),{sOpenKeys:t}},methods:{collapsedChange:function(e){this.propsUpdating||(this.propsUpdating=!0,Object(C["s"])(this,"openKeys")?e&&(this.switchingModeFromInline=!0):e?(this.switchingModeFromInline=!0,this.inlineOpenKeys=this.sOpenKeys,this.setState({sOpenKeys:[]})):(this.setState({sOpenKeys:this.inlineOpenKeys}),this.inlineOpenKeys=[]))},restoreModeVerticalFromInline:function(){this.switchingModeFromInline&&(this.switchingModeFromInline=!1,this.$forceUpdate())},handleMouseEnter:function(e){this.restoreModeVerticalFromInline(),this.$emit("mouseenter",e)},handleTransitionEnd:function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,i="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,r="font-size"===e.propertyName&&i.indexOf("anticon")>=0;(t||r)&&this.restoreModeVerticalFromInline()},handleClick:function(e){this.handleOpenChange([]),this.$emit("click",e)},handleSelect:function(e){this.$emit("select",e),this.$emit("selectChange",e.selectedKeys)},handleDeselect:function(e){this.$emit("deselect",e),this.$emit("selectChange",e.selectedKeys)},handleOpenChange:function(e){this.setOpenKeys(e),this.$emit("openChange",e),this.$emit("update:openKeys",e)},setOpenKeys:function(e){Object(C["s"])(this,"openKeys")||this.setState({sOpenKeys:e})},getRealMenuMode:function(){var e=this.getInlineCollapsed();if(this.switchingModeFromInline&&e)return"inline";var t=this.$props.mode;return e?"vertical":t},getInlineCollapsed:function(){var e=this.$props.inlineCollapsed;return void 0!==this.layoutSiderContext.sCollapsed?this.layoutSiderContext.sCollapsed:e},getMenuOpenAnimation:function(e){var t=this.$props,n=t.openAnimation,i=t.openTransitionName,r=n||i;return void 0===n&&void 0===i&&("horizontal"===e?r="slide-up":"inline"===e?r={on:Gs}:this.switchingModeFromInline?(r="",this.switchingModeFromInline=!1):r="zoom-big"),r}},render:function(){var e,t=this,n=arguments[0],i=this.layoutSiderContext,a=this.$slots,s=i.collapsedWidth,c=this.configProvider.getPopupContainer,l=Object(C["l"])(this),d=l.prefixCls,h=l.theme,f=l.getPopupContainer,p=this.configProvider.getPrefixCls,m=p("menu",d),v=this.getRealMenuMode(),g=this.getMenuOpenAnimation(v),y=(e={},o()(e,m+"-"+h,!0),o()(e,m+"-inline-collapsed",this.getInlineCollapsed()),e),b={props:k()({},Object(u["a"])(l,["inlineCollapsed"]),{getPopupContainer:f||c,openKeys:this.sOpenKeys,mode:v,prefixCls:m}),on:k()({},Object(C["k"])(this),{select:this.handleSelect,deselect:this.handleDeselect,openChange:this.handleOpenChange,mouseenter:this.handleMouseEnter}),nativeOn:{transitionend:this.handleTransitionEnd}};Object(C["s"])(this,"selectedKeys")||delete b.props.selectedKeys,"inline"!==v?(b.on.click=this.handleClick,b.props.openTransitionName=g):(b.on.click=function(e){t.$emit("click",e)},b.props.openAnimation=g);var _=this.getInlineCollapsed()&&(0===s||"0"===s||"0px"===s);return _&&(b.props.openKeys=[]),n(qr,r()([b,{class:y}]),[a["default"]])},install:function(e){e.use(te),e.component(yc.name,yc),e.component(yc.Item.name,yc.Item),e.component(yc.SubMenu.name,yc.SubMenu),e.component(yc.Divider.name,yc.Divider),e.component(yc.ItemGroup.name,yc.ItemGroup)}},bc=yc,_c=s["a"].shape({path:s["a"].string,breadcrumbName:s["a"].string,children:s["a"].array}).loose,Mc={prefixCls:s["a"].string,routes:s["a"].arrayOf(_c),params:s["a"].any,separator:s["a"].any,itemRender:s["a"].func};function wc(e,t){if(!e.breadcrumbName)return null;var n=Object.keys(t).join("|"),i=e.breadcrumbName.replace(new RegExp(":("+n+")","g"),(function(e,n){return t[n]||e}));return i}var kc={name:"ABreadcrumb",props:Mc,inject:{configProvider:{default:function(){return ce}}},methods:{defaultItemRender:function(e){var t=e.route,n=e.params,i=e.routes,r=e.paths,a=this.$createElement,o=i.indexOf(t)===i.length-1,s=wc(t,n);return o?a("span",[s]):a("a",{attrs:{href:"#/"+r.join("/")}},[s])},getPath:function(e,t){return e=(e||"").replace(/^\//,""),Object.keys(t).forEach((function(n){e=e.replace(":"+n,t[n])})),e},addChildPath:function(e,t,n){var i=[].concat(v()(e)),r=this.getPath(t,n);return r&&i.push(r),i},genForRoutes:function(e){var t=this,n=e.routes,i=void 0===n?[]:n,r=e.params,a=void 0===r?{}:r,o=e.separator,s=e.itemRender,c=void 0===s?this.defaultItemRender:s,l=this.$createElement,u=[];return i.map((function(e){var n=t.getPath(e.path,a);n&&u.push(n);var r=null;return e.children&&e.children.length&&(r=l(bc,[e.children.map((function(e){return l(bc.Item,{key:e.path||e.breadcrumbName},[c({route:e,params:a,routes:i,paths:t.addChildPath(u,e.path,a),h:t.$createElement})])}))])),l(Ws,{attrs:{overlay:r,separator:o},key:n||e.breadcrumbName},[c({route:e,params:a,routes:i,paths:u,h:t.$createElement})])}))}},render:function(){var e=arguments[0],t=void 0,n=this.prefixCls,i=this.routes,r=this.params,a=void 0===r?{}:r,o=this.$slots,s=this.$scopedSlots,c=this.configProvider.getPrefixCls,l=c("breadcrumb",n),u=Object(C["c"])(o["default"]),d=Object(C["g"])(this,"separator"),h=this.itemRender||s.itemRender||this.defaultItemRender;return i&&i.length>0?t=this.genForRoutes({routes:i,params:a,separator:d,itemRender:h}):u.length&&(t=u.map((function(e,t){return pe(Object(C["o"])(e).__ANT_BREADCRUMB_ITEM||Object(C["o"])(e).__ANT_BREADCRUMB_SEPARATOR,"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(Ln["a"])(e,{props:{separator:d},key:t})}))),e("div",{class:l},[t])}},Cc={name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,props:{prefixCls:s["a"].string},inject:{configProvider:{default:function(){return ce}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.$slots,i=this.configProvider.getPrefixCls,r=i("breadcrumb",t),a=n["default"];return e("span",{class:r+"-separator"},[a||"/"])}};kc.Item=Ws,kc.Separator=Cc,kc.install=function(e){e.use(te),e.component(kc.name,kc),e.component(Ws.name,Ws),e.component(Cc.name,Cc)};var Lc=kc,xc=n("c1df"),Sc=n.n(xc),Oc={DATE_ROW_COUNT:6,DATE_COL_COUNT:7},Tc={functional:!0,render:function(e,t){for(var n=arguments[0],i=t.props,r=i.value,a=r.localeData(),o=i.prefixCls,s=[],c=[],l=a.firstDayOfWeek(),u=void 0,d=Sc()(),h=0;ht.year()?1:e.year()===t.year()&&e.month()>t.month()}function Kc(e){return"rc-calendar-"+e.year()+"-"+e.month()+"-"+e.date()}var Bc={props:{contentRender:s["a"].func,dateRender:s["a"].func,disabledDate:s["a"].func,prefixCls:s["a"].string,selectedValue:s["a"].oneOfType([s["a"].any,s["a"].arrayOf(s["a"].any)]),value:s["a"].object,hoverValue:s["a"].any.def([]),showWeekNumber:s["a"].bool},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.contentRender,i=t.prefixCls,r=t.selectedValue,a=t.value,s=t.showWeekNumber,c=t.dateRender,u=t.disabledDate,d=t.hoverValue,h=Object(C["k"])(this),f=h.select,p=void 0===f?Ic:f,m=h.dayHover,v=void 0===m?Ic:m,g=void 0,y=void 0,b=void 0,_=[],M=Hc(a),w=i+"-cell",k=i+"-week-number-cell",L=i+"-date",x=i+"-today",S=i+"-selected-day",O=i+"-selected-date",T=i+"-selected-start-date",z=i+"-selected-end-date",H=i+"-in-range-cell",D=i+"-last-month-cell",V=i+"-next-month-btn-day",j=i+"-disabled-cell",Y=i+"-disabled-cell-first-of-row",P=i+"-disabled-cell-last-of-row",A=i+"-last-day-of-month",E=a.clone();E.date(1);var F=E.day(),$=(F+7-a.localeData().firstDayOfWeek())%7,I=E.clone();I.add(0-$,"days");var R=0;for(g=0;g0&&(J=_[R-1]);var X=w,Z=!1,Q=!1;Rc(b,M)&&(X+=" "+x,K=!0);var ee=Nc(b,a),te=Wc(b,a);if(r&&Array.isArray(r)){var ne=d.length?d:r;if(!ee&&!te){var ie=ne[0],re=ne[1];ie&&Rc(b,ie)&&(Q=!0,U=!0,X+=" "+T),(ie||re)&&(Rc(b,re)?(Q=!0,U=!0,X+=" "+z):(null!==ie&&void 0!==ie||!b.isBefore(re,"day"))&&(null!==re&&void 0!==re||!b.isAfter(ie,"day"))?b.isAfter(ie,"day")&&b.isBefore(re,"day")&&(X+=" "+H):X+=" "+H)}}else Rc(b,a)&&(Q=!0,U=!0);Rc(b,r)&&(X+=" "+O),ee&&(X+=" "+D),te&&(X+=" "+V),b.clone().endOf("month").date()===b.date()&&(X+=" "+A),u&&u(b,a)&&(Z=!0,J&&u(J,a)||(X+=" "+Y),G&&u(G,a)||(X+=" "+P)),Q&&(X+=" "+S),Z&&(X+=" "+j);var ae=void 0;if(c)ae=c(b,a);else{var oe=n?n(b,a):b.date();ae=e("div",{key:Kc(b),class:L,attrs:{"aria-selected":Q,"aria-disabled":Z}},[oe])}q.push(e("td",{key:R,on:{click:Z?Ic:p.bind(null,b),mouseenter:Z?Ic:v.bind(null,b)},attrs:{role:"gridcell",title:Dc(b)},class:X},[ae])),R++}N.push(e("tr",{key:g,attrs:{role:"row"},class:l()((W={},o()(W,i+"-current-week",K),o()(W,i+"-active-week",U),W))},[B,q]))}return e("tbody",{class:i+"-tbody"},[N])}},Uc=Bc,qc={functional:!0,render:function(e,t){var n=arguments[0],i=t.props,r=t.listeners,a=void 0===r?{}:r,o=i.prefixCls,s={props:i,on:a};return n("table",{class:o+"-table",attrs:{cellSpacing:"0",role:"grid"}},[n(Tc,s),n(Uc,s)])}},Gc=4,Jc=3;function Xc(){}var Zc={name:"MonthTable",mixins:[p["a"]],props:{cellRender:s["a"].func,prefixCls:s["a"].string,value:s["a"].object,locale:s["a"].any,contentRender:s["a"].any,disabledDate:s["a"].func},data:function(){return{sValue:this.value}},watch:{value:function(e){this.setState({sValue:e})}},methods:{setAndSelectValue:function(e){this.setState({sValue:e}),this.__emit("select",e)},chooseMonth:function(e){var t=this.sValue.clone();t.month(e),this.setAndSelectValue(t)},months:function(){for(var e=this.sValue,t=e.clone(),n=[],i=0,r=0;r0&&(g=d.map((function(n){return"string"===typeof n?t(pl,{key:n,attrs:{prefixCls:p,disabled:c.disabled,value:n,checked:e.stateValue===n}},[n]):t(pl,{key:"radio-group-value-options-"+n.value,attrs:{prefixCls:p,disabled:n.disabled||c.disabled,value:n.value,checked:e.stateValue===n.value}},[n.label])}))),t("div",{class:v,on:{mouseenter:r,mouseleave:s}},[g])}},gl={name:"ARadioButton",props:k()({},pl.props),inject:{radioGroupContext:{default:void 0},configProvider:{default:function(){return ce}}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.prefixCls,i=We()(t,["prefixCls"]),r=this.configProvider.getPrefixCls,a=r("radio-button",n),o={props:k()({},i,{prefixCls:a}),on:Object(C["k"])(this)};return this.radioGroupContext&&(o.on.change=this.radioGroupContext.onRadioChange,o.props.checked=this.$props.value===this.radioGroupContext.stateValue,o.props.disabled=this.$props.disabled||this.radioGroupContext.disabled),e(pl,o,[this.$slots["default"]])}},yl=lo.Option;function bl(e){for(var t=e.clone(),n=e.localeData(),i=[],r=0;r<12;r++)t.month(r),i.push(n.monthsShort(t));return i}var _l={prefixCls:s["a"].string,locale:s["a"].any,fullscreen:s["a"].boolean,yearSelectOffset:s["a"].number,yearSelectTotal:s["a"].number,type:s["a"].string,value:s["a"].any,validRange:s["a"].array,headerRender:s["a"].func},Ml={props:Object(C["t"])(_l,{yearSelectOffset:10,yearSelectTotal:20}),inject:{configProvider:{default:function(){return ce}}},methods:{getYearSelectElement:function(e,t){var n=this,i=this.$createElement,r=this.yearSelectOffset,a=this.yearSelectTotal,o=this.locale,s=void 0===o?{}:o,c=this.fullscreen,l=this.validRange,u=t-r,d=u+a;l&&(u=l[0].get("year"),d=l[1].get("year")+1);for(var h="年"===s.year?"年":"",f=[],p=u;po.get("month")&&i.month(o.get("month")),s===a.get("year")&&c=0}var Bl={name:"Tabs",mixins:[p["a"]],model:{prop:"activeKey",event:"change"},props:{destroyInactiveTabPane:s["a"].bool,renderTabBar:s["a"].func.isRequired,renderTabContent:s["a"].func.isRequired,navWrapper:s["a"].func.def((function(e){return e})),children:s["a"].any.def([]),prefixCls:s["a"].string.def("ant-tabs"),tabBarPosition:s["a"].string.def("top"),activeKey:s["a"].oneOfType([s["a"].string,s["a"].number]),defaultActiveKey:s["a"].oneOfType([s["a"].string,s["a"].number]),__propsSymbol__:s["a"].any,direction:s["a"].string.def("ltr"),tabBarGutter:s["a"].number},data:function(){var e=Object(C["l"])(this),t=void 0;return t="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:Wl(e),{_activeKey:t}},provide:function(){return{sentinelContext:this}},watch:{__propsSymbol__:function(){var e=Object(C["l"])(this);"activeKey"in e?this.setState({_activeKey:e.activeKey}):Kl(e,this.$data._activeKey)||this.setState({_activeKey:Wl(e)})}},beforeDestroy:function(){this.destroy=!0,y.a.cancel(this.sentinelId)},methods:{onTabClick:function(e,t){this.tabBar.componentOptions&&this.tabBar.componentOptions.listeners&&this.tabBar.componentOptions.listeners.tabClick&&this.tabBar.componentOptions.listeners.tabClick(e,t),this.setActiveKey(e)},onNavKeyDown:function(e){var t=e.keyCode;if(t===Il.RIGHT||t===Il.DOWN){e.preventDefault();var n=this.getNextActiveKey(!0);this.onTabClick(n)}else if(t===Il.LEFT||t===Il.UP){e.preventDefault();var i=this.getNextActiveKey(!1);this.onTabClick(i)}},onScroll:function(e){var t=e.target,n=e.currentTarget;t===n&&t.scrollLeft>0&&(t.scrollLeft=0)},setSentinelStart:function(e){this.sentinelStart=e},setSentinelEnd:function(e){this.sentinelEnd=e},setPanelSentinelStart:function(e){e!==this.panelSentinelStart&&this.updateSentinelContext(),this.panelSentinelStart=e},setPanelSentinelEnd:function(e){e!==this.panelSentinelEnd&&this.updateSentinelContext(),this.panelSentinelEnd=e},setActiveKey:function(e){if(this.$data._activeKey!==e){var t=Object(C["l"])(this);"activeKey"in t||this.setState({_activeKey:e}),this.__emit("change",e)}},getNextActiveKey:function(e){var t=this.$data._activeKey,n=[];this.$props.children.forEach((function(t){var i=Object(C["r"])(t,"disabled");t&&!i&&""!==i&&(e?n.push(t):n.unshift(t))}));var i=n.length,r=i&&n[0].key;return n.forEach((function(e,a){e.key===t&&(r=a===i-1?n[0].key:n[a+1].key)})),r},updateSentinelContext:function(){var e=this;this.destroy||(y.a.cancel(this.sentinelId),this.sentinelId=y()((function(){e.destroy||e.$forceUpdate()})))}},render:function(){var e,t=arguments[0],n=this.$props,i=n.prefixCls,r=n.navWrapper,a=n.tabBarPosition,s=n.renderTabContent,c=n.renderTabBar,l=n.destroyInactiveTabPane,d=n.direction,h=n.tabBarGutter,f=(e={},o()(e,i,1),o()(e,i+"-"+a,1),o()(e,i+"-rtl","rtl"===d),e);this.tabBar=c();var p=Object(Ln["a"])(this.tabBar,{props:{prefixCls:i,navWrapper:r,tabBarPosition:a,panels:n.children,activeKey:this.$data._activeKey,direction:d,tabBarGutter:h},on:{keydown:this.onNavKeyDown,tabClick:this.onTabClick},key:"tabBar"}),m=Object(Ln["a"])(s(),{props:{prefixCls:i,tabBarPosition:a,activeKey:this.$data._activeKey,destroyInactiveTabPane:l,direction:d},on:{change:this.setActiveKey},children:n.children,key:"tabContent"}),v=t(Fl,{key:"sentinelStart",attrs:{setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}}),g=t(Fl,{key:"sentinelEnd",attrs:{setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}}),y=[];"bottom"===a?y.push(v,m,g,p):y.push(p,v,m,g);var b=k()({},Object(u["a"])(Object(C["k"])(this),["change"]),{scroll:this.onScroll});return t("div",{on:b,class:f},[y])}};kn["a"].use(E.a,{name:"ant-ref"});var Ul=Bl;function ql(e){var t=[];return e.forEach((function(e){e.data&&t.push(e)})),t}function Gl(e,t){for(var n=ql(e),i=0;i2&&void 0!==arguments[2]?arguments[2]:"ltr",i=Ql(t)?"translateY":"translateX";return Ql(t)||"rtl"!==n?i+"("+100*-e+"%) translateZ(0)":i+"("+100*e+"%) translateZ(0)"}function tu(e,t){var n=Ql(t)?"marginTop":"marginLeft";return o()({},n,100*-e+"%")}function nu(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function iu(e,t){return+e.getPropertyValue(t).replace("px","")}function ru(e,t,n,i,r){var a=nu(r,"padding-"+e);if(!i||!i.parentNode)return a;var o=i.parentNode.childNodes;return Array.prototype.some.call(o,(function(r){var o=window.getComputedStyle(r);return r!==i?(a+=iu(o,"margin-"+e),a+=r[t],a+=iu(o,"margin-"+n),"content-box"===o.boxSizing&&(a+=iu(o,"border-"+e+"-width")+iu(o,"border-"+n+"-width")),!1):(a+=iu(o,"margin-"+e),!0)})),a}function au(e,t){return ru("left","offsetWidth","right",e,t)}function ou(e,t){return ru("top","offsetHeight","bottom",e,t)}var su={name:"TabContent",props:{animated:{type:Boolean,default:!0},animatedWithMargin:{type:Boolean,default:!0},prefixCls:{default:"ant-tabs",type:String},activeKey:s["a"].oneOfType([s["a"].string,s["a"].number]),tabBarPosition:String,direction:s["a"].string,destroyInactiveTabPane:s["a"].bool},computed:{classes:function(){var e,t=this.animated,n=this.prefixCls;return e={},o()(e,n+"-content",!0),o()(e,t?n+"-content-animated":n+"-content-no-animated",!0),e}},methods:{getTabPanes:function(){var e=this.$props,t=e.activeKey,n=this.$slots["default"]||[],i=[];return n.forEach((function(n){if(n){var r=n.key,a=t===r;i.push(Object(Ln["a"])(n,{props:{active:a,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}}))}})),i}},render:function(){var e=arguments[0],t=this.activeKey,n=this.tabBarPosition,i=this.animated,r=this.animatedWithMargin,a=this.direction,o=this.classes,s={};if(i&&this.$slots["default"]){var c=Gl(this.$slots["default"],t);if(-1!==c){var l=r?tu(c,n):Zl(eu(c,n,a));s=l}else s={display:"none"}}return e("div",{class:o,style:s},[this.getTabPanes()])}},cu=function(e){if("undefined"!==typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},lu=cu(["flex","webkitFlex","Flex","msFlex"]);function uu(e,t){var n=e.$props,i=n.styles,r=void 0===i?{}:i,a=n.panels,o=n.activeKey,s=n.direction,c=e.getRef("root"),l=e.getRef("nav")||c,u=e.getRef("inkBar"),d=e.getRef("activeTab"),h=u.style,f=e.$props.tabBarPosition,p=Gl(a,o);if(t&&(h.display="none"),d){var m=d,v=Xl(h);if(Jl(h,""),h.width="",h.height="",h.left="",h.top="",h.bottom="",h.right="","top"===f||"bottom"===f){var g=au(m,l),y=m.offsetWidth;y===c.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10),y&&(g+=(m.offsetWidth-y)/2)),"rtl"===s&&(g=nu(m,"margin-left")-g),v?Jl(h,"translate3d("+g+"px,0,0)"):h.left=g+"px",h.width=y+"px"}else{var b=ou(m,l,!0),_=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(_=parseFloat(r.inkBar.height,10),_&&(b+=(m.offsetHeight-_)/2)),v?(Jl(h,"translate3d(0,"+b+"px,0)"),h.top="0"):h.top=b+"px",h.height=_+"px"}}h.display=-1!==p?"block":"none"}var du={name:"InkTabBarNode",mixins:[p["a"]],props:{inkBarAnimated:{type:Boolean,default:!0},direction:s["a"].string,prefixCls:String,styles:Object,tabBarPosition:String,saveRef:s["a"].func.def((function(){})),getRef:s["a"].func.def((function(){})),panels:s["a"].array,activeKey:s["a"].oneOfType([s["a"].string,s["a"].number])},updated:function(){this.$nextTick((function(){uu(this)}))},mounted:function(){this.$nextTick((function(){uu(this,!0)}))},render:function(){var e,t=arguments[0],n=this.prefixCls,i=this.styles,a=void 0===i?{}:i,s=this.inkBarAnimated,c=n+"-ink-bar",l=(e={},o()(e,c,!0),o()(e,s?c+"-animated":c+"-no-animated",!0),e);return t("div",r()([{style:a.inkBar,class:l,key:"inkBar"},{directives:[{name:"ant-ref",value:this.saveRef("inkBar")}]}]))}};function hu(){}var fu={name:"TabBarTabsNode",mixins:[p["a"]],props:{activeKey:s["a"].oneOfType([s["a"].string,s["a"].number]),panels:s["a"].any.def([]),prefixCls:s["a"].string.def(""),tabBarGutter:s["a"].any.def(null),onTabClick:s["a"].func,saveRef:s["a"].func.def(hu),getRef:s["a"].func.def(hu),renderTabBarNode:s["a"].func,tabBarPosition:s["a"].string,direction:s["a"].string},render:function(){var e=this,t=arguments[0],n=this.$props,i=n.panels,a=n.activeKey,s=n.prefixCls,c=n.tabBarGutter,l=n.saveRef,u=n.tabBarPosition,d=n.direction,h=[],f=this.renderTabBarNode||this.$scopedSlots.renderTabBarNode;return i.forEach((function(n,p){if(n){var m=Object(C["l"])(n),v=n.key,g=a===v?s+"-tab-active":"";g+=" "+s+"-tab";var y={on:{}},b=m.disabled||""===m.disabled;b?g+=" "+s+"-tab-disabled":y.on.click=function(){e.__emit("tabClick",v)};var _=[];a===v&&_.push({name:"ant-ref",value:l("activeTab")});var M=Object(C["g"])(n,"tab"),w=c&&p===i.length-1?0:c;w="number"===typeof w?w+"px":w;var k="rtl"===d?"marginLeft":"marginRight",L=o()({},Ql(u)?"marginBottom":k,w);wn()(void 0!==M,"There must be `tab` property or slot on children of Tabs.");var x=t("div",r()([{attrs:{role:"tab","aria-disabled":b?"true":"false","aria-selected":a===v?"true":"false"}},y,{class:g,key:v,style:L},{directives:_}]),[M]);f&&(x=f(x)),h.push(x)}})),t("div",{directives:[{name:"ant-ref",value:this.saveRef("navTabsContainer")}]},[h])}};function pu(){}var mu={name:"TabBarRootNode",mixins:[p["a"]],props:{saveRef:s["a"].func.def(pu),getRef:s["a"].func.def(pu),prefixCls:s["a"].string.def(""),tabBarPosition:s["a"].string.def("top"),extraContent:s["a"].any},methods:{onKeyDown:function(e){this.__emit("keydown",e)}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.onKeyDown,i=this.tabBarPosition,a=this.extraContent,s=o()({},t+"-bar",!0),c="top"===i||"bottom"===i,l=c?{float:"right"}:{},u=this.$slots["default"],d=u;return a&&(d=[Object(Ln["a"])(a,{key:"extra",style:k()({},l)}),Object(Ln["a"])(u,{key:"content"})],d=c?d:d.reverse()),e("div",r()([{attrs:{role:"tablist",tabIndex:"0"},class:s,on:{keydown:n}},{directives:[{name:"ant-ref",value:this.saveRef("root")}]}]),[d])}},vu=n("b047"),gu=n.n(vu);function yu(){}var bu={name:"ScrollableTabBarNode",mixins:[p["a"]],props:{activeKey:s["a"].any,getRef:s["a"].func.def((function(){})),saveRef:s["a"].func.def((function(){})),tabBarPosition:s["a"].oneOf(["left","right","top","bottom"]).def("left"),prefixCls:s["a"].string.def(""),scrollAnimated:s["a"].bool.def(!0),navWrapper:s["a"].func.def((function(e){return e})),prevIcon:s["a"].any,nextIcon:s["a"].any,direction:s["a"].string},data:function(){return this.offset=0,this.prevProps=k()({},this.$props),{next:!1,prev:!1}},watch:{tabBarPosition:function(){var e=this;this.tabBarPositionChange=!0,this.$nextTick((function(){e.setOffset(0)}))}},mounted:function(){var e=this;this.$nextTick((function(){e.updatedCal(),e.debouncedResize=gu()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),e.resizeObserver=new d["a"](e.debouncedResize),e.resizeObserver.observe(e.$props.getRef("container"))}))},updated:function(){var e=this;this.$nextTick((function(){e.updatedCal(e.prevProps),e.prevProps=k()({},e.$props)}))},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()},methods:{updatedCal:function(e){var t=this,n=this.$props;e&&e.tabBarPosition!==n.tabBarPosition?this.setOffset(0):this.isNextPrevShown(this.$data)!==this.isNextPrevShown(this.setNextPrev())?(this.$forceUpdate(),this.$nextTick((function(){t.scrollToActiveTab()}))):e&&n.activeKey===e.activeKey||this.scrollToActiveTab()},setNextPrev:function(){var e=this.$props.getRef("nav"),t=this.$props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),i=this.getOffsetWH(this.$props.getRef("container"))+1,r=this.getOffsetWH(this.$props.getRef("navWrap")),a=this.offset,o=i-n,s=this.next,c=this.prev;if(o>=0)s=!1,this.setOffset(0,!1),a=0;else if(o1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var i={},r=this.$props.tabBarPosition,a=this.$props.getRef("nav").style,o=Xl(a);"left"===r||"right"===r?i=o?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:o?("rtl"===this.$props.direction&&(n=-n),i={value:"translate3d("+n+"px,0,0)"}):i={name:"left",value:n+"px"},o?Jl(a,i.value):a[i.name]=i.value,t&&this.setNextPrev()}},setPrev:function(e){this.prev!==e&&(this.prev=e)},setNext:function(e){this.next!==e&&(this.next=e)},isNextPrevShown:function(e){return e?e.next||e.prev:this.next||this.prev},prevTransitionEnd:function(e){if("opacity"===e.propertyName){var t=this.$props.getRef("container");this.scrollToActiveTab({target:t,currentTarget:t})}},scrollToActiveTab:function(e){var t=this.$props.getRef("activeTab"),n=this.$props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var i=this.isNextPrevShown()&&this.lastNextPrevShown;if(this.lastNextPrevShown=this.isNextPrevShown(),i){var r=this.getScrollWH(t),a=this.getOffsetWH(n),o=this.offset,s=this.getOffsetLT(n),c=this.getOffsetLT(t);s>c?(o+=s-c,this.setOffset(o)):s+a=0),e),w={props:k()({},this.$props,this.$attrs,{inkBarAnimated:p,extraContent:c,prevIcon:y,nextIcon:b}),style:i,on:Object(C["k"])(this),class:_},L=void 0;return s?(L=s(w,Mu),Object(Ln["a"])(L,w)):t(Mu,w)}},ku=wu,Cu={TabPane:$l,name:"ATabs",model:{prop:"activeKey",event:"change"},props:{prefixCls:s["a"].string,activeKey:s["a"].oneOfType([s["a"].string,s["a"].number]),defaultActiveKey:s["a"].oneOfType([s["a"].string,s["a"].number]),hideAdd:s["a"].bool.def(!1),tabBarStyle:s["a"].object,tabBarExtraContent:s["a"].any,destroyInactiveTabPane:s["a"].bool.def(!1),type:s["a"].oneOf(["line","card","editable-card"]),tabPosition:s["a"].oneOf(["top","right","bottom","left"]).def("top"),size:s["a"].oneOf(["default","small","large"]),animated:s["a"].oneOfType([s["a"].bool,s["a"].object]),tabBarGutter:s["a"].number,renderTabBar:s["a"].func},inject:{configProvider:{default:function(){return ce}}},mounted:function(){var e=" no-flex",t=this.$el;t&&!lu&&-1===t.className.indexOf(e)&&(t.className+=e)},methods:{removeTab:function(e,t){t.stopPropagation(),Nl(e)&&this.$emit("edit",e,"remove")},handleChange:function(e){this.$emit("change",e)},createNewTab:function(e){this.$emit("edit",e,"add")},onTabClick:function(e){this.$emit("tabClick",e)},onPrevClick:function(e){this.$emit("prevClick",e)},onNextClick:function(e){this.$emit("nextClick",e)}},render:function(){var e,t,n=this,i=arguments[0],a=Object(C["l"])(this),s=a.prefixCls,c=a.size,l=a.type,u=void 0===l?"line":l,d=a.tabPosition,h=a.animated,f=void 0===h||h,p=a.hideAdd,m=a.renderTabBar,v=this.configProvider.getPrefixCls,g=v("tabs",s),y=Object(C["c"])(this.$slots["default"]),b=Object(C["g"])(this,"tabBarExtraContent"),_="object"===("undefined"===typeof f?"undefined":M()(f))?f.tabPane:f;"line"!==u&&(_="animated"in a&&_);var w=(e={},o()(e,g+"-vertical","left"===d||"right"===d),o()(e,g+"-"+c,!!c),o()(e,g+"-card",u.indexOf("card")>=0),o()(e,g+"-"+u,!0),o()(e,g+"-no-animation",!_),e),L=[];"editable-card"===u&&(L=[],y.forEach((function(e,t){var r=Object(C["l"])(e),a=r.closable;a="undefined"===typeof a||a;var o=a?i(to,{attrs:{type:"close"},class:g+"-close-x",on:{click:function(t){return n.removeTab(e.key,t)}}}):null;L.push(Object(Ln["a"])(e,{props:{tab:i("div",{class:a?void 0:g+"-tab-unclosable"},[Object(C["g"])(e,"tab"),o])},key:e.key||t}))})),p||(b=i("span",[i(to,{attrs:{type:"plus"},class:g+"-new-tab",on:{click:this.createNewTab}}),b]))),b=b?i("div",{class:g+"-extra-content"},[b]):null;var x=m||this.$scopedSlots.renderTabBar,S=Object(C["k"])(this),O={props:k()({},this.$props,{prefixCls:g,tabBarExtraContent:b,renderTabBar:x}),on:S},T=(t={},o()(t,g+"-"+d+"-content",!0),o()(t,g+"-card-content",u.indexOf("card")>=0),t),z={props:k()({},Object(C["l"])(this),{prefixCls:g,tabBarPosition:d,renderTabBar:function(){return i(ku,r()([{key:"tabBar"},O]))},renderTabContent:function(){return i(su,{class:T,attrs:{animated:_,animatedWithMargin:!0}})},children:L.length>0?L:y,__propsSymbol__:Symbol()}),on:k()({},S,{change:this.handleChange}),class:w};return i(Ul,z)}};Cu.TabPane=k()({},$l,{name:"ATabPane",__ANT_TAB_PANE:!0}),Cu.TabContent=k()({},su,{name:"ATabContent"}),kn["a"].use(E.a,{name:"ant-ref"}),Cu.install=function(e){e.use(te),e.component(Cu.name,Cu),e.component(Cu.TabPane.name,Cu.TabPane),e.component(Cu.TabContent.name,Cu.TabContent)};var Lu=Cu,xu=void 0;if("undefined"!==typeof window){var Su=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}};window.matchMedia||(window.matchMedia=Su),xu=n("8e95")}var Ou=["xxl","xl","lg","md","sm","xs"],Tu={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},zu=[],Hu=-1,Du={},Vu={dispatch:function(e){return Du=e,!(zu.length<1)&&(zu.forEach((function(e){e.func(Du)})),!0)},subscribe:function(e){0===zu.length&&this.register();var t=(++Hu).toString();return zu.push({token:t,func:e}),e(Du),t},unsubscribe:function(e){zu=zu.filter((function(t){return t.token!==e})),0===zu.length&&this.unregister()},unregister:function(){Object.keys(Tu).map((function(e){return xu.unregister(Tu[e])}))},register:function(){var e=this;Object.keys(Tu).map((function(t){return xu.register(Tu[t],{match:function(){var n=k()({},Du,o()({},t,!0));e.dispatch(n)},unmatch:function(){var n=k()({},Du,o()({},t,!1));e.dispatch(n)},destroy:function(){}})}))}},ju=Vu,Yu={gutter:s["a"].oneOfType([s["a"].object,s["a"].number,s["a"].array]),type:s["a"].oneOf(["flex"]),align:s["a"].oneOf(["top","middle","bottom","stretch"]),justify:s["a"].oneOf(["start","end","center","space-around","space-between"]),prefixCls:s["a"].string},Pu=["xxl","xl","lg","md","sm","xs"],Au={name:"ARow",mixins:[p["a"]],props:k()({},Yu,{gutter:s["a"].oneOfType([s["a"].object,s["a"].number,s["a"].array]).def(0)}),provide:function(){return{rowContext:this}},inject:{configProvider:{default:function(){return ce}}},data:function(){return{screens:{}}},mounted:function(){var e=this;this.$nextTick((function(){e.token=ju.subscribe((function(t){var n=e.gutter;("object"===("undefined"===typeof n?"undefined":M()(n))||Array.isArray(n)&&("object"===M()(n[0])||"object"===M()(n[1])))&&(e.screens=t)}))}))},beforeDestroy:function(){ju.unsubscribe(this.token)},methods:{getGutter:function(){var e=[0,0],t=this.gutter,n=this.screens,i=Array.isArray(t)?t:[t,0];return i.forEach((function(t,i){if("object"===("undefined"===typeof t?"undefined":M()(t)))for(var r=0;r0?{marginLeft:u[0]/-2+"px",marginRight:u[0]/-2+"px"}:{},u[1]>0?{marginTop:u[1]/-2+"px",marginBottom:u[1]/-2+"px"}:{});return t("div",{class:d,style:h},[s["default"]])},install:function(e){e.use(te),e.component(Au.name,Au)}},Eu=Au,Fu=s["a"].oneOfType([s["a"].string,s["a"].number]),$u=s["a"].shape({span:Fu,order:Fu,offset:Fu,push:Fu,pull:Fu}).loose,Iu=s["a"].oneOfType([s["a"].string,s["a"].number,$u]),Ru={span:Fu,order:Fu,offset:Fu,push:Fu,pull:Fu,xs:Iu,sm:Iu,md:Iu,lg:Iu,xl:Iu,xxl:Iu,prefixCls:s["a"].string,flex:Fu},Nu={name:"ACol",props:Ru,inject:{configProvider:{default:function(){return ce}},rowContext:{default:function(){return null}}},methods:{parseFlex:function(e){return"number"===typeof e?e+" "+e+" auto":/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 "+e:e}},render:function(){var e,t=this,n=arguments[0],i=this.span,r=this.order,a=this.offset,s=this.push,c=this.pull,l=this.flex,u=this.prefixCls,d=this.$slots,h=this.rowContext,f=this.configProvider.getPrefixCls,p=f("col",u),m={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var n,i={},r=t[e];"number"===typeof r?i.span=r:"object"===("undefined"===typeof r?"undefined":M()(r))&&(i=r||{}),m=k()({},m,(n={},o()(n,p+"-"+e+"-"+i.span,void 0!==i.span),o()(n,p+"-"+e+"-order-"+i.order,i.order||0===i.order),o()(n,p+"-"+e+"-offset-"+i.offset,i.offset||0===i.offset),o()(n,p+"-"+e+"-push-"+i.push,i.push||0===i.push),o()(n,p+"-"+e+"-pull-"+i.pull,i.pull||0===i.pull),n))}));var v=k()((e={},o()(e,""+p,!0),o()(e,p+"-"+i,void 0!==i),o()(e,p+"-order-"+r,r),o()(e,p+"-offset-"+a,a),o()(e,p+"-push-"+s,s),o()(e,p+"-pull-"+c,c),e),m),g={on:Object(C["k"])(this),class:v,style:{}};if(h){var y=h.getGutter();y&&(g.style=k()({},y[0]>0?{paddingLeft:y[0]/2+"px",paddingRight:y[0]/2+"px"}:{},y[1]>0?{paddingTop:y[1]/2+"px",paddingBottom:y[1]/2+"px"}:{}))}return l&&(g.style.flex=this.parseFlex(l)),n("div",g,[d["default"]])},install:function(e){e.use(te),e.component(Nu.name,Nu)}},Wu=Nu,Ku=Lu.TabPane,Bu={name:"ACard",mixins:[p["a"]],props:{prefixCls:s["a"].string,title:s["a"].any,extra:s["a"].any,bordered:s["a"].bool.def(!0),bodyStyle:s["a"].object,headStyle:s["a"].object,loading:s["a"].bool.def(!1),hoverable:s["a"].bool.def(!1),type:s["a"].string,size:s["a"].oneOf(["default","small"]),actions:s["a"].any,tabList:s["a"].array,tabProps:s["a"].object,tabBarExtraContent:s["a"].any,activeTabKey:s["a"].string,defaultActiveTabKey:s["a"].string},inject:{configProvider:{default:function(){return ce}}},data:function(){return{widerPadding:!1}},methods:{getAction:function(e){var t=this.$createElement,n=e.map((function(n,i){return t("li",{style:{width:100/e.length+"%"},key:"action-"+i},[t("span",[n])])}));return n},onTabChange:function(e){this.$emit("tabChange",e)},isContainGrid:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=void 0;return e.forEach((function(e){e&&Object(C["o"])(e).__ANT_CARD_GRID&&(t=!0)})),t}},render:function(){var e,t,n=arguments[0],i=this.$props,a=i.prefixCls,s=i.headStyle,c=void 0===s?{}:s,l=i.bodyStyle,d=void 0===l?{}:l,h=i.loading,f=i.bordered,p=void 0===f||f,m=i.size,v=void 0===m?"default":m,g=i.type,y=i.tabList,b=i.tabProps,_=void 0===b?{}:b,M=i.hoverable,w=i.activeTabKey,L=i.defaultActiveTabKey,x=this.configProvider.getPrefixCls,S=x("card",a),O=this.$slots,T=this.$scopedSlots,z=Object(C["g"])(this,"tabBarExtraContent"),H=(e={},o()(e,""+S,!0),o()(e,S+"-loading",h),o()(e,S+"-bordered",p),o()(e,S+"-hoverable",!!M),o()(e,S+"-contain-grid",this.isContainGrid(O["default"])),o()(e,S+"-contain-tabs",y&&y.length),o()(e,S+"-"+v,"default"!==v),o()(e,S+"-type-"+g,!!g),e),D=0===d.padding||"0px"===d.padding?{padding:24}:void 0,V=n("div",{class:S+"-loading-content",style:D},[n(Eu,{attrs:{gutter:8}},[n(Wu,{attrs:{span:22}},[n("div",{class:S+"-loading-block"})])]),n(Eu,{attrs:{gutter:8}},[n(Wu,{attrs:{span:8}},[n("div",{class:S+"-loading-block"})]),n(Wu,{attrs:{span:15}},[n("div",{class:S+"-loading-block"})])]),n(Eu,{attrs:{gutter:8}},[n(Wu,{attrs:{span:6}},[n("div",{class:S+"-loading-block"})]),n(Wu,{attrs:{span:18}},[n("div",{class:S+"-loading-block"})])]),n(Eu,{attrs:{gutter:8}},[n(Wu,{attrs:{span:13}},[n("div",{class:S+"-loading-block"})]),n(Wu,{attrs:{span:9}},[n("div",{class:S+"-loading-block"})])]),n(Eu,{attrs:{gutter:8}},[n(Wu,{attrs:{span:4}},[n("div",{class:S+"-loading-block"})]),n(Wu,{attrs:{span:3}},[n("div",{class:S+"-loading-block"})]),n(Wu,{attrs:{span:16}},[n("div",{class:S+"-loading-block"})])])]),j=void 0!==w,Y={props:k()({size:"large"},_,(t={},o()(t,j?"activeKey":"defaultActiveKey",j?w:L),o()(t,"tabBarExtraContent",z),t)),on:{change:this.onTabChange},class:S+"-head-tabs"},P=void 0,A=y&&y.length?n(Lu,Y,[y.map((function(e){var t=e.tab,i=e.scopedSlots,r=void 0===i?{}:i,a=r.tab,o=void 0!==t?t:T[a]?T[a](e):null;return n(Ku,{attrs:{tab:o,disabled:e.disabled},key:e.key})}))]):null,E=Object(C["g"])(this,"title"),F=Object(C["g"])(this,"extra");(E||F||A)&&(P=n("div",{class:S+"-head",style:c},[n("div",{class:S+"-head-wrapper"},[E&&n("div",{class:S+"-head-title"},[E]),F&&n("div",{class:S+"-extra"},[F])]),A]));var $=O["default"],I=Object(C["g"])(this,"cover"),R=I?n("div",{class:S+"-cover"},[I]):null,N=n("div",{class:S+"-body",style:d},[h?V:$]),W=Object(C["c"])(this.$slots.actions),K=W&&W.length?n("ul",{class:S+"-actions"},[this.getAction(W)]):null;return n("div",r()([{class:H,ref:"cardContainerRef"},{on:Object(u["a"])(Object(C["k"])(this),["tabChange","tab-change"])}]),[P,R,$?N:null,K])}},Uu={name:"ACardMeta",props:{prefixCls:s["a"].string,title:s["a"].any,description:s["a"].any},inject:{configProvider:{default:function(){return ce}}},render:function(){var e=arguments[0],t=this.$props.prefixCls,n=this.configProvider.getPrefixCls,i=n("card",t),a=o()({},i+"-meta",!0),s=Object(C["g"])(this,"avatar"),c=Object(C["g"])(this,"title"),l=Object(C["g"])(this,"description"),u=s?e("div",{class:i+"-meta-avatar"},[s]):null,d=c?e("div",{class:i+"-meta-title"},[c]):null,h=l?e("div",{class:i+"-meta-description"},[l]):null,f=d||h?e("div",{class:i+"-meta-detail"},[d,h]):null;return e("div",r()([{on:Object(C["k"])(this)},{class:a}]),[u,f])}},qu={name:"ACardGrid",__ANT_CARD_GRID:!0,props:{prefixCls:s["a"].string,hoverable:s["a"].bool},inject:{configProvider:{default:function(){return ce}}},render:function(){var e,t=arguments[0],n=this.$props,i=n.prefixCls,a=n.hoverable,s=void 0===a||a,c=this.configProvider.getPrefixCls,l=c("card",i),u=(e={},o()(e,l+"-grid",!0),o()(e,l+"-grid-hoverable",s),e);return t("div",r()([{on:Object(C["k"])(this)},{class:u}]),[this.$slots["default"]])}};Bu.Meta=Uu,Bu.Grid=qu,Bu.install=function(e){e.use(te),e.component(Bu.name,Bu),e.component(Uu.name,Uu),e.component(qu.name,qu)};var Gu=Bu,Ju=function(){return{prefixCls:s["a"].string,activeKey:s["a"].oneOfType([s["a"].string,s["a"].number,s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number]))]),defaultActiveKey:s["a"].oneOfType([s["a"].string,s["a"].number,s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].number]))]),accordion:s["a"].bool,destroyInactivePanel:s["a"].bool,bordered:s["a"].bool,expandIcon:s["a"].func,openAnimation:s["a"].object,expandIconPosition:s["a"].oneOf(["left","right"])}},Xu=function(){return{openAnimation:s["a"].object,prefixCls:s["a"].string,header:s["a"].oneOfType([s["a"].string,s["a"].number,s["a"].node]),headerClass:s["a"].string,showArrow:s["a"].bool,isActive:s["a"].bool,destroyInactivePanel:s["a"].bool,disabled:s["a"].bool,accordion:s["a"].bool,forceRender:s["a"].bool,expandIcon:s["a"].func,extra:s["a"].any,panelKey:s["a"].any}},Zu={name:"PanelContent",props:{prefixCls:s["a"].string,isActive:s["a"].bool,destroyInactivePanel:s["a"].bool,forceRender:s["a"].bool,role:s["a"].any},data:function(){return{_isActive:void 0}},render:function(){var e,t=arguments[0];if(this._isActive=this.forceRender||this._isActive||this.isActive,!this._isActive)return null;var n=this.$props,i=n.prefixCls,r=n.isActive,a=n.destroyInactivePanel,s=n.forceRender,c=n.role,l=this.$slots,u=(e={},o()(e,i+"-content",!0),o()(e,i+"-content-active",r),e),d=s||r||!a?t("div",{class:i+"-content-box"},[l["default"]]):null;return t("div",{class:u,attrs:{role:c}},[d])}},Qu={name:"Panel",props:Object(C["t"])(Xu(),{showArrow:!0,isActive:!1,destroyInactivePanel:!1,headerClass:"",forceRender:!1}),methods:{handleItemClick:function(){this.$emit("itemClick",this.panelKey)},handleKeyPress:function(e){"Enter"!==e.key&&13!==e.keyCode&&13!==e.which||this.handleItemClick()}},render:function(){var e,t,n=arguments[0],i=this.$props,r=i.prefixCls,a=i.headerClass,s=i.isActive,c=i.showArrow,l=i.destroyInactivePanel,u=i.disabled,d=i.openAnimation,h=i.accordion,f=i.forceRender,p=i.expandIcon,m=i.extra,v=this.$slots,g={props:k()({appear:!0,css:!1}),on:k()({},d)},y=(e={},o()(e,r+"-header",!0),o()(e,a,a),e),b=Object(C["g"])(this,"header"),_=(t={},o()(t,r+"-item",!0),o()(t,r+"-item-active",s),o()(t,r+"-item-disabled",u),t),M=n("i",{class:"arrow"});return c&&"function"===typeof p&&(M=p(this.$props)),n("div",{class:_,attrs:{role:"tablist"}},[n("div",{class:y,on:{click:this.handleItemClick.bind(this),keypress:this.handleKeyPress},attrs:{role:h?"tab":"button",tabIndex:u?-1:0,"aria-expanded":s}},[c&&M,b,m&&n("div",{class:r+"-extra"},[m])]),n("transition",g,[n(Zu,{directives:[{name:"show",value:s}],attrs:{prefixCls:r,isActive:s,destroyInactivePanel:l,forceRender:f,role:h?"tabpanel":null}},[v["default"]])])])}};function ed(e,t,n,i){var r=void 0;return Object(lr["a"])(e,n,{start:function(){t?(r=e.offsetHeight,e.style.height=0):e.style.height=e.offsetHeight+"px"},active:function(){e.style.height=(t?r:0)+"px"},end:function(){e.style.height="",i()}})}function td(e){return{enter:function(t,n){return ed(t,!0,e+"-anim",n)},leave:function(t,n){return ed(t,!1,e+"-anim",n)}}}var nd=td;function id(e){var t=e;return Array.isArray(t)||(t=t?[t]:[]),t.map((function(e){return String(e)}))}var rd={name:"Collapse",mixins:[p["a"]],model:{prop:"activeKey",event:"change"},props:Object(C["t"])(Ju(),{prefixCls:"rc-collapse",accordion:!1,destroyInactivePanel:!1}),data:function(){var e=this.$props,t=e.activeKey,n=e.defaultActiveKey,i=e.openAnimation,r=e.prefixCls,a=n;Object(C["s"])(this,"activeKey")&&(a=t);var o=i||nd(r);return{currentOpenAnimations:o,stateActiveKey:id(a)}},watch:{activeKey:function(e){this.setState({stateActiveKey:id(e)})},openAnimation:function(e){this.setState({currentOpenAnimations:e})}},methods:{onClickItem:function(e){var t=this.stateActiveKey;if(this.accordion)t=t[0]===e?[]:[e];else{t=[].concat(v()(t));var n=t.indexOf(e),i=n>-1;i?t.splice(n,1):t.push(e)}this.setActiveKey(t)},getNewChild:function(e,t){if(!Object(C["u"])(e)){var n=this.stateActiveKey,i=this.$props,r=i.prefixCls,a=i.accordion,o=i.destroyInactivePanel,s=i.expandIcon,c=e.key||String(t),l=Object(C["m"])(e),u=l.header,d=l.headerClass,h=l.disabled,f=!1;f=a?n[0]===c:n.indexOf(c)>-1;var p={};h||""===h||(p={itemClick:this.onClickItem});var m={key:c,props:{panelKey:c,header:u,headerClass:d,isActive:f,prefixCls:r,destroyInactivePanel:o,openAnimation:this.currentOpenAnimations,accordion:a,expandIcon:s},on:p};return Object(Ln["a"])(e,m)}},getItems:function(){var e=this,t=[];return this.$slots["default"]&&this.$slots["default"].forEach((function(n,i){t.push(e.getNewChild(n,i))})),t},setActiveKey:function(e){this.setState({stateActiveKey:e}),this.$emit("change",this.accordion?e[0]:e)}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.accordion,r=o()({},n,!0);return e("div",{class:r,attrs:{role:i?"tablist":null}},[this.getItems()])}};rd.Panel=Qu;var ad=rd,od={name:"ACollapse",model:{prop:"activeKey",event:"change"},props:Object(C["t"])(Ju(),{bordered:!0,openAnimation:Gs,expandIconPosition:"left"}),inject:{configProvider:{default:function(){return ce}}},methods:{renderExpandIcon:function(e,t){var n=this.$createElement,i=Object(C["g"])(this,"expandIcon",e),r=i||n(to,{attrs:{type:"right",rotate:e.isActive?90:void 0}});return Object(C["w"])(Array.isArray(i)?r[0]:r)?Object(Ln["a"])(r,{class:t+"-arrow"}):r}},render:function(){var e,t=this,n=arguments[0],i=this.prefixCls,r=this.bordered,a=this.expandIconPosition,s=this.configProvider.getPrefixCls,c=s("collapse",i),l=(e={},o()(e,c+"-borderless",!r),o()(e,c+"-icon-position-"+a,!0),e),u={props:k()({},Object(C["l"])(this),{prefixCls:c,expandIcon:function(e){return t.renderExpandIcon(e,c)}}),class:l,on:Object(C["k"])(this)};return n(ad,u,[this.$slots["default"]])}},sd={name:"ACollapsePanel",props:k()({},Xu()),inject:{configProvider:{default:function(){return ce}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.showArrow,i=void 0===n||n,r=this.configProvider.getPrefixCls,a=r("collapse",t),s=o()({},a+"-no-arrow",!i),c={props:k()({},Object(C["l"])(this),{prefixCls:a,extra:Object(C["g"])(this,"extra")}),class:s,on:Object(C["k"])(this)},l=Object(C["g"])(this,"header");return e(ad.Panel,c,[this.$slots["default"],l?e("template",{slot:"header"},[l]):null])}};od.Panel=sd,od.install=function(e){e.use(te),e.component(od.name,od),e.component(sd.name,sd)};var cd=od;if("undefined"!==typeof window){var ld=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}};window.matchMedia||(window.matchMedia=ld)}var ud=n("c3b9")["default"],dd=s["a"].oneOf(["scrollx","fade"]),hd={effect:dd,dots:s["a"].bool,vertical:s["a"].bool,autoplay:s["a"].bool,easing:s["a"].string,beforeChange:s["a"].func,afterChange:s["a"].func,prefixCls:s["a"].string,accessibility:s["a"].bool,nextArrow:s["a"].any,prevArrow:s["a"].any,pauseOnHover:s["a"].bool,adaptiveHeight:s["a"].bool,arrows:s["a"].bool,autoplaySpeed:s["a"].number,centerMode:s["a"].bool,centerPadding:s["a"].string,cssEase:s["a"].string,dotsClass:s["a"].string,draggable:s["a"].bool,fade:s["a"].bool,focusOnSelect:s["a"].bool,infinite:s["a"].bool,initialSlide:s["a"].number,lazyLoad:s["a"].bool,rtl:s["a"].bool,slide:s["a"].string,slidesToShow:s["a"].number,slidesToScroll:s["a"].number,speed:s["a"].number,swipe:s["a"].bool,swipeToSlide:s["a"].bool,touchMove:s["a"].bool,touchThreshold:s["a"].number,variableWidth:s["a"].bool,useCSS:s["a"].bool,slickGoTo:s["a"].number,responsive:s["a"].array,dotPosition:s["a"].oneOf(["top","bottom","left","right"])},fd={name:"ACarousel",props:Object(C["t"])(hd,{dots:!0,arrows:!1,draggable:!1}),inject:{configProvider:{default:function(){return ce}}},beforeMount:function(){this.onWindowResized=gu()(this.onWindowResized,500,{leading:!1})},mounted:function(){Object(C["b"])(this,"vertical")&&pe(!this.vertical,"Carousel","`vertical` is deprecated, please use `dotPosition` instead.");var e=this.autoplay;e&&window.addEventListener("resize",this.onWindowResized),this.innerSlider=this.$refs.slick&&this.$refs.slick.innerSlider},beforeDestroy:function(){var e=this.autoplay;e&&(window.removeEventListener("resize",this.onWindowResized),this.onWindowResized.cancel())},methods:{getDotPosition:function(){return this.dotPosition?this.dotPosition:Object(C["b"])(this,"vertical")&&this.vertical?"right":"bottom"},onWindowResized:function(){var e=this.autoplay;e&&this.$refs.slick&&this.$refs.slick.innerSlider&&this.$refs.slick.innerSlider.autoPlay&&this.$refs.slick.innerSlider.autoPlay()},next:function(){this.$refs.slick.slickNext()},prev:function(){this.$refs.slick.slickPrev()},goTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$refs.slick.slickGoTo(e,t)}},render:function(){var e=arguments[0],t=k()({},this.$props),n=this.$slots;"fade"===t.effect&&(t.fade=!0);var i=this.configProvider.getPrefixCls,a=i("carousel",t.prefixCls),s="slick-dots",c=this.getDotPosition();t.vertical="left"===c||"right"===c,t.dotsClass=l()(""+s,s+"-"+(c||"bottom"),o()({},""+t.dotsClass,!!t.dotsClass)),t.vertical&&(a=a+" "+a+"-vertical");var u={props:k()({},t,{nextArrow:Object(C["g"])(this,"nextArrow"),prevArrow:Object(C["g"])(this,"prevArrow")}),on:Object(C["k"])(this),scopedSlots:this.$scopedSlots},d=Object(C["c"])(n["default"]);return e("div",{class:a},[e(ud,r()([{ref:"slick"},u]),[d])])},install:function(e){e.use(te),e.component(fd.name,fd)}},pd=fd,md=n("b8ad"),vd=n.n(md),gd={name:"CascaderMenus",mixins:[p["a"]],props:{value:s["a"].array.def([]),activeValue:s["a"].array.def([]),options:s["a"].array,prefixCls:s["a"].string.def("rc-cascader-menus"),expandTrigger:s["a"].string.def("click"),visible:s["a"].bool.def(!1),dropdownMenuColumnStyle:s["a"].object,defaultFieldNames:s["a"].object,fieldNames:s["a"].object,expandIcon:s["a"].any,loadingIcon:s["a"].any},data:function(){return this.menuItems={},{}},watch:{visible:function(e){var t=this;e&&this.$nextTick((function(){t.scrollActiveItemToView()}))}},mounted:function(){var e=this;this.$nextTick((function(){e.scrollActiveItemToView()}))},methods:{getFieldName:function(e){var t=this.$props,n=t.fieldNames,i=t.defaultFieldNames;return n[e]||i[e]},getOption:function(e,t){var n=this,i=this.$createElement,r=this.prefixCls,a=this.expandTrigger,o=Object(C["g"])(this,"loadingIcon"),s=Object(C["g"])(this,"expandIcon"),c=function(i){n.__emit("select",e,t,i)},l=function(i){n.__emit("itemDoubleClick",e,t,i)},u=e[this.getFieldName("value")],d={attrs:{role:"menuitem"},on:{click:c,dblclick:l,mousedown:function(e){return e.preventDefault()}},key:Array.isArray(u)?u.join("__ant__"):u},h=r+"-menu-item",f=null,p=e[this.getFieldName("children")]&&e[this.getFieldName("children")].length>0;(p||!1===e.isLeaf)&&(h+=" "+r+"-menu-item-expand",e.loading||(f=i("span",{class:r+"-menu-item-expand-icon"},[s]))),"hover"!==a||!p&&!1!==e.isLeaf||(d.on={mouseenter:this.delayOnSelect.bind(this,c),mouseleave:this.delayOnSelect.bind(this),click:c}),this.isActiveOption(e,t)&&(h+=" "+r+"-menu-item-active",d.ref=this.getMenuItemRef(t)),e.disabled&&(h+=" "+r+"-menu-item-disabled");var m=null;e.loading&&(h+=" "+r+"-menu-item-loading",m=o||null);var v="";return e.title?v=e.title:"string"===typeof e[this.getFieldName("label")]&&(v=e[this.getFieldName("label")]),d.attrs.title=v,d["class"]=h,i("li",d,[e[this.getFieldName("label")],f,m])},getActiveOptions:function(e){var t=this,n=e||this.activeValue,i=this.options;return vd()(i,(function(e,i){return e[t.getFieldName("value")]===n[i]}),{childrenKeyName:this.getFieldName("children")})},getShowOptions:function(){var e=this,t=this.options,n=this.getActiveOptions().map((function(t){return t[e.getFieldName("children")]})).filter((function(e){return!!e}));return n.unshift(t),n},delayOnSelect:function(e){for(var t=this,n=arguments.length,i=Array(n>1?n-1:0),r=1;r=s.length?0:l):(l-=1,l=l<0?s.length-1:l):l=0,a[o]=s[l][this.getFieldName("value")]}else if(e.keyCode===Be.LEFT||e.keyCode===Be.BACKSPACE)e.preventDefault(),a.splice(a.length-1,1);else if(e.keyCode===Be.RIGHT)e.preventDefault(),s[c]&&s[c][this.getFieldName("children")]&&a.push(s[c][this.getFieldName("children")][0][this.getFieldName("value")]);else if(e.keyCode===Be.ESC||e.keyCode===Be.TAB)return void this.setPopupVisible(!1);a&&0!==a.length||this.setPopupVisible(!1);var u=this.getActiveOptions(a),d=u[u.length-1];this.handleMenuSelect(d,u.length-1,e),this.__emit("keydown",e)}else this.setPopupVisible(!0)}},render:function(){var e=arguments[0],t=this.$props,n=this.sActiveValue,i=this.handleMenuSelect,r=this.sPopupVisible,a=this.handlePopupVisibleChange,o=this.handleKeyDown,s=Object(C["k"])(this),c=t.prefixCls,l=t.transitionName,u=t.popupClassName,d=t.options,h=void 0===d?[]:d,f=t.disabled,p=t.builtinPlacements,m=t.popupPlacement,v=We()(t,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement"]),g=e("div"),y="";if(h&&h.length>0){var b=Object(C["g"])(this,"loadingIcon"),_=Object(C["g"])(this,"expandIcon")||">",M={props:k()({},t,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:n,visible:r,loadingIcon:b,expandIcon:_}),on:k()({},s,{select:i,itemDoubleClick:this.handleItemDoubleClick})};g=e(gd,M)}else y=" "+c+"-menus-empty";var w={props:k()({},v,{disabled:f,popupPlacement:m,builtinPlacements:p,popupTransitionName:l,action:f?[]:["click"],popupVisible:!f&&r,prefixCls:c+"-menus",popupClassName:u+y}),on:k()({},s,{popupVisibleChange:a}),ref:"trigger"},L=Object(C["n"])(this,"default")[0];return e(_r,w,[L&&Object(Ln["a"])(L,{on:{keydown:o},attrs:{tabIndex:f?void 0:0}}),e("template",{slot:"popup"},[g])])}},wd=Md,kd=s["a"].shape({value:s["a"].oneOfType([s["a"].string,s["a"].number]),label:s["a"].any,disabled:s["a"].bool,children:s["a"].array,key:s["a"].oneOfType([s["a"].string,s["a"].number])}).loose,Cd=s["a"].shape({value:s["a"].string.isRequired,label:s["a"].string.isRequired,children:s["a"].string}).loose,Ld=s["a"].oneOf(["click","hover"]),xd=s["a"].shape({filter:s["a"].func,render:s["a"].func,sort:s["a"].func,matchInputWidth:s["a"].bool,limit:s["a"].oneOfType([Boolean,Number])}).loose;function Sd(){}var Od={options:s["a"].arrayOf(kd).def([]),defaultValue:s["a"].array,value:s["a"].array,displayRender:s["a"].func,transitionName:s["a"].string.def("slide-up"),popupStyle:s["a"].object.def((function(){return{}})),popupClassName:s["a"].string,popupPlacement:s["a"].oneOf(["bottomLeft","bottomRight","topLeft","topRight"]).def("bottomLeft"),placeholder:s["a"].string.def("Please select"),size:s["a"].oneOf(["large","default","small"]),disabled:s["a"].bool.def(!1),allowClear:s["a"].bool.def(!0),showSearch:s["a"].oneOfType([Boolean,xd]),notFoundContent:s["a"].any,loadData:s["a"].func,expandTrigger:Ld,changeOnSelect:s["a"].bool,prefixCls:s["a"].string,inputPrefixCls:s["a"].string,getPopupContainer:s["a"].func,popupVisible:s["a"].bool,fieldNames:Cd,autoFocus:s["a"].bool,suffixIcon:s["a"].any},Td=50;function zd(e,t,n){return t.some((function(t){return t[n.label].indexOf(e)>-1}))}function Hd(e,t,n,i){function r(e){return e[i.label].indexOf(n)>-1}return e.findIndex(r)-t.findIndex(r)}function Dd(e){var t=e.fieldNames,n=void 0===t?{}:t,i={children:n.children||"children",label:n.label||"label",value:n.value||"value"};return i}function Vd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=Dd(t),r=[],a=i.children;return e.forEach((function(e){var i=n.concat(e);!t.changeOnSelect&&e[a]&&e[a].length||r.push(i),e[a]&&(r=r.concat(Vd(e[a],t,i)))})),r}var jd=function(e){var t=e.labels;return t.join(" / ")},Yd={inheritAttrs:!1,name:"ACascader",mixins:[p["a"]],props:Od,model:{prop:"value",event:"change"},provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return ce}},localeData:{default:function(){return{}}}},data:function(){this.cachedOptions=[];var e=this.value,t=this.defaultValue,n=this.popupVisible,i=this.showSearch,r=this.options;return{sValue:e||t||[],inputValue:"",inputFocused:!1,sPopupVisible:n,flattenOptions:i?Vd(r,this.$props):void 0}},mounted:function(){var e=this;this.$nextTick((function(){!e.autoFocus||e.showSearch||e.disabled||e.$refs.picker.focus()}))},watch:{value:function(e){this.setState({sValue:e||[]})},popupVisible:function(e){this.setState({sPopupVisible:e})},options:function(e){this.showSearch&&this.setState({flattenOptions:Vd(e,this.$props)})}},methods:{savePopupRef:function(e){this.popupRef=e},highlightKeyword:function(e,t,n){var i=this.$createElement;return e.split(t).map((function(e,r){return 0===r?e:[i("span",{class:n+"-menu-item-keyword"},[t]),e]}))},defaultRenderFilteredOption:function(e){var t=this,n=e.inputValue,i=e.path,r=e.prefixCls,a=e.names;return i.map((function(e,i){var o=e[a.label],s=o.indexOf(n)>-1?t.highlightKeyword(o,n,r):o;return 0===i?s:[" / ",s]}))},handleChange:function(e,t){if(this.setState({inputValue:""}),t[0].__IS_FILTERED_OPTION){var n=e[0],i=t[0].path;this.setValue(n,i)}else this.setValue(e,t)},handlePopupVisibleChange:function(e){Object(C["s"])(this,"popupVisible")||this.setState((function(t){return{sPopupVisible:e,inputFocused:e,inputValue:e?t.inputValue:""}})),this.$emit("popupVisibleChange",e)},handleInputFocus:function(e){this.$emit("focus",e)},handleInputBlur:function(e){this.setState({inputFocused:!1}),this.$emit("blur",e)},handleInputClick:function(e){var t=this.inputFocused,n=this.sPopupVisible;(t||n)&&(e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation())},handleKeyDown:function(e){e.keyCode!==Be.BACKSPACE&&e.keyCode!==Be.SPACE||e.stopPropagation()},handleInputChange:function(e){var t=e.target.value;this.setState({inputValue:t}),this.$emit("search",t)},setValue:function(e,t){Object(C["s"])(this,"value")||this.setState({sValue:e}),this.$emit("change",e,t)},getLabel:function(){var e=this.options,t=this.$scopedSlots,n=Dd(this.$props),i=this.displayRender||t.displayRender||jd,r=this.sValue,a=Array.isArray(r[0])?r[0]:r,o=vd()(e,(function(e,t){return e[n.value]===a[t]}),{childrenKeyName:n.children}),s=o.map((function(e){return e[n.label]}));return i({labels:s,selectedOptions:o})},clearSelection:function(e){e.preventDefault(),e.stopPropagation(),this.inputValue?this.setState({inputValue:""}):(this.setValue([]),this.handlePopupVisibleChange(!1))},generateFilteredOptions:function(e,t){var n,i=this.$createElement,r=this.showSearch,a=this.notFoundContent,s=this.$scopedSlots,c=Dd(this.$props),l=r.filter,u=void 0===l?zd:l,d=r.sort,h=void 0===d?Hd:d,f=r.limit,p=void 0===f?Td:f,m=r.render||s.showSearchRender||this.defaultRenderFilteredOption,v=this.$data,g=v.flattenOptions,y=void 0===g?[]:g,b=v.inputValue,_=void 0;if(p>0){_=[];var M=0;y.some((function(e){var t=u(b,e,c);return t&&(_.push(e),M+=1),M>=p}))}else pe("number"!==typeof p,"Cascader","'limit' of showSearch in Cascader should be positive number or false."),_=y.filter((function(e){return u(b,e,c)}));return _.sort((function(e,t){return h(e,t,b,c)})),_.length>0?_.map((function(t){var n;return n={__IS_FILTERED_OPTION:!0,path:t},o()(n,c.label,m({inputValue:b,path:t,prefixCls:e,names:c})),o()(n,c.value,t.map((function(e){return e[c.value]}))),o()(n,"disabled",t.some((function(e){return!!e.disabled}))),n})):[(n={},o()(n,c.label,a||t(i,"Cascader")),o()(n,c.value,"ANT_CASCADER_NOT_FOUND"),o()(n,"disabled",!0),n)]},focus:function(){this.showSearch?this.$refs.input.focus():this.$refs.picker.focus()},blur:function(){this.showSearch?this.$refs.input.blur():this.$refs.picker.blur()}},render:function(){var e,t,n,i=arguments[0],r=this.$slots,a=this.sPopupVisible,s=this.inputValue,c=this.configProvider,d=this.localeData,h=this.$data,f=h.sValue,p=h.inputFocused,m=Object(C["l"])(this),v=Object(C["g"])(this,"suffixIcon");v=Array.isArray(v)?v[0]:v;var g,y=c.getPopupContainer,b=m.prefixCls,_=m.inputPrefixCls,M=m.placeholder,w=void 0===M?d.placeholder:M,L=m.size,x=m.disabled,S=m.allowClear,O=m.showSearch,T=void 0!==O&&O,z=m.notFoundContent,H=We()(m,["prefixCls","inputPrefixCls","placeholder","size","disabled","allowClear","showSearch","notFoundContent"]),D=this.configProvider.getPrefixCls,V=this.configProvider.renderEmpty,j=D("cascader",b),Y=D("input",_),P=l()((e={},o()(e,Y+"-lg","large"===L),o()(e,Y+"-sm","small"===L),e)),A=S&&!x&&f.length>0||s?i(to,{attrs:{type:"close-circle",theme:"filled"},class:j+"-picker-clear",on:{click:this.clearSelection},key:"clear-icon"}):null,E=l()((t={},o()(t,j+"-picker-arrow",!0),o()(t,j+"-picker-arrow-expand",a),t)),F=l()(Object(C["f"])(this),j+"-picker",(n={},o()(n,j+"-picker-with-value",s),o()(n,j+"-picker-disabled",x),o()(n,j+"-picker-"+L,!!L),o()(n,j+"-picker-show-search",!!T),o()(n,j+"-picker-focused",p),n)),$=Object(u["a"])(H,["options","popupPlacement","transitionName","displayRender","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","defaultValue","fieldNames"]),I=m.options,R=Dd(this.$props);I&&I.length>0?s&&(I=this.generateFilteredOptions(j,V)):I=[(g={},o()(g,R.label,z||V(i,"Cascader")),o()(g,R.value,"ANT_CASCADER_NOT_FOUND"),o()(g,"disabled",!0),g)];a?this.cachedOptions=I:I=this.cachedOptions;var N={},W=1===(I||[]).length&&"ANT_CASCADER_NOT_FOUND"===I[0].value;W&&(N.height="auto");var K=!1!==T.matchInputWidth;K&&(s||W)&&this.$refs.input&&(N.width=this.$refs.input.$el.offsetWidth+"px");var B={props:k()({},$,{prefixCls:Y,placeholder:f&&f.length>0?void 0:w,value:s,disabled:x,readOnly:!T,autoComplete:"off"}),class:j+"-input "+P,ref:"input",on:{focus:T?this.handleInputFocus:Sd,click:T?this.handleInputClick:Sd,blur:T?this.handleInputBlur:Sd,keydown:this.handleKeyDown,change:T?this.handleInputChange:Sd},attrs:Object(C["e"])(this)},U=Object(C["c"])(r["default"]),q=v&&(Object(C["w"])(v)?Object(Ln["a"])(v,{class:o()({},j+"-picker-arrow",!0)}):i("span",{class:j+"-picker-arrow"},[v]))||i(to,{attrs:{type:"down"},class:E}),G=U.length?U:i("span",{class:F,style:Object(C["q"])(this),ref:"picker"},[T?i("span",{class:j+"-picker-label"},[this.getLabel()]):null,i(ns,B),T?null:i("span",{class:j+"-picker-label"},[this.getLabel()]),A,q]),J=i(to,{attrs:{type:"right"}}),X=i("span",{class:j+"-menu-item-loading-icon"},[i(to,{attrs:{type:"redo",spin:!0}})]),Z=m.getPopupContainer||y,Q={props:k()({},m,{getPopupContainer:Z,options:I,prefixCls:j,value:f,popupVisible:a,dropdownMenuColumnStyle:N,expandIcon:J,loadingIcon:X}),on:k()({},Object(C["k"])(this),{popupVisibleChange:this.handlePopupVisibleChange,change:this.handleChange})};return i(wd,Q,[G])},install:function(e){e.use(te),e.component(Yd.name,Yd)}},Pd=Yd;function Ad(){}var Ed={name:"ACheckbox",inheritAttrs:!1,__ANT_CHECKBOX:!0,model:{prop:"checked"},props:{prefixCls:s["a"].string,defaultChecked:s["a"].bool,checked:s["a"].bool,disabled:s["a"].bool,isGroup:s["a"].bool,value:s["a"].any,name:s["a"].string,id:s["a"].string,indeterminate:s["a"].bool,type:s["a"].string.def("checkbox"),autoFocus:s["a"].bool},inject:{configProvider:{default:function(){return ce}},checkboxGroupContext:{default:function(){}}},watch:{value:function(e,t){var n=this;this.$nextTick((function(){var i=n.checkboxGroupContext,r=void 0===i?{}:i;r.registerValue&&r.cancelValue&&(r.cancelValue(t),r.registerValue(e))}))}},mounted:function(){var e=this.value,t=this.checkboxGroupContext,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),pe(Object(C["b"])(this,"checked")||this.checkboxGroupContext||!Object(C["b"])(this,"value"),"Checkbox","`value` is not validate prop, do you mean `checked`?")},beforeDestroy:function(){var e=this.value,t=this.checkboxGroupContext,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)},methods:{handleChange:function(e){var t=e.target.checked;this.$emit("input",t),this.$emit("change",e)},focus:function(){this.$refs.vcCheckbox.focus()},blur:function(){this.$refs.vcCheckbox.blur()}},render:function(){var e,t=this,n=arguments[0],i=this.checkboxGroupContext,a=this.$slots,s=Object(C["l"])(this),c=a["default"],u=Object(C["k"])(this),d=u.mouseenter,h=void 0===d?Ad:d,f=u.mouseleave,p=void 0===f?Ad:f,m=(u.input,We()(u,["mouseenter","mouseleave","input"])),v=s.prefixCls,g=s.indeterminate,y=We()(s,["prefixCls","indeterminate"]),b=this.configProvider.getPrefixCls,_=b("checkbox",v),M={props:k()({},y,{prefixCls:_}),on:m,attrs:Object(C["e"])(this)};i?(M.on.change=function(){for(var e=arguments.length,n=Array(e),r=0;r0&&(c=this.getOptions().map((function(i){return e(Ed,{attrs:{prefixCls:s,disabled:"disabled"in i?i.disabled:t.disabled,indeterminate:i.indeterminate,value:i.value,checked:-1!==n.sValue.indexOf(i.value)},key:i.value.toString(),on:{change:i.onChange||Fd},class:l+"-item"},[i.label])}))),e("div",{class:l},[c])}};Ed.Group=$d,Ed.install=function(e){e.use(te),e.component(Ed.name,Ed),e.component($d.name,$d)};var Id=Ed;function Rd(e){this.changeYear(e)}function Nd(){}var Wd={name:"MonthPanel",mixins:[p["a"]],props:{value:s["a"].any,defaultValue:s["a"].any,cellRender:s["a"].any,contentRender:s["a"].any,locale:s["a"].any,rootPrefixCls:s["a"].string,disabledDate:s["a"].func,renderFooter:s["a"].func,changeYear:s["a"].func.def(Nd)},data:function(){var e=this.value,t=this.defaultValue;return this.nextYear=Rd.bind(this,1),this.previousYear=Rd.bind(this,-1),{sValue:e||t}},watch:{value:function(e){this.setState({sValue:e})}},methods:{setAndSelectValue:function(e){this.setValue(e),this.__emit("select",e)},setValue:function(e){Object(C["s"])(this,"value")&&this.setState({sValue:e})}},render:function(){var e=arguments[0],t=this.sValue,n=this.cellRender,i=this.contentRender,r=this.locale,a=this.rootPrefixCls,o=this.disabledDate,s=this.renderFooter,c=t.year(),l=a+"-month-panel",u=s&&s("month");return e("div",{class:l},[e("div",[e("div",{class:l+"-header"},[e("a",{class:l+"-prev-year-btn",attrs:{role:"button",title:r.previousYear},on:{click:this.previousYear}}),e("a",{class:l+"-year-select",attrs:{role:"button",title:r.yearSelect},on:{click:Object(C["k"])(this).yearPanelShow||Nd}},[e("span",{class:l+"-year-select-content"},[c]),e("span",{class:l+"-year-select-arrow"},["x"])]),e("a",{class:l+"-next-year-btn",attrs:{role:"button",title:r.nextYear},on:{click:this.nextYear}})]),e("div",{class:l+"-body"},[e(Qc,{attrs:{disabledDate:o,locale:r,value:t,cellRender:n,contentRender:i,prefixCls:l},on:{select:this.setAndSelectValue}})]),u&&e("div",{class:l+"-footer"},[u])])])}},Kd=Wd,Bd=4,Ud=3;function qd(){}function Gd(e){var t=this.sValue.clone();t.add(e,"year"),this.setState({sValue:t})}function Jd(e){var t=this.sValue.clone();t.year(e),t.month(this.sValue.month()),this.sValue=t,this.__emit("select",t)}var Xd={mixins:[p["a"]],props:{rootPrefixCls:s["a"].string,value:s["a"].object,defaultValue:s["a"].object,locale:s["a"].object,renderFooter:s["a"].func,disabledDate:s["a"].func},data:function(){return this.nextDecade=Gd.bind(this,10),this.previousDecade=Gd.bind(this,-10),{sValue:this.value||this.defaultValue}},watch:{value:function(e){this.sValue=e}},methods:{years:function(){for(var e=this.sValue,t=e.year(),n=10*parseInt(t/10,10),i=n-1,r=[],a=0,o=0;od),r),p=qd;return p=i.yeard?e.nextDecade:Jd.bind(e,i.year),t("td",{attrs:{role:"gridcell",title:i.title},key:i.content,on:{click:a?qd:p},class:c},[t("a",{class:h+"-year"},[i.content])])}));return t("tr",{key:r,attrs:{role:"row"}},[a])})),m=r&&r("year");return t("div",{class:h},[t("div",[t("div",{class:h+"-header"},[t("a",{class:h+"-prev-decade-btn",attrs:{role:"button",title:i.previousDecade},on:{click:this.previousDecade}}),t("a",{class:h+"-decade-select",attrs:{role:"button",title:i.decadeSelect},on:{click:s}},[t("span",{class:h+"-decade-select-content"},[u,"-",d]),t("span",{class:h+"-decade-select-arrow"},["x"])]),t("a",{class:h+"-next-decade-btn",attrs:{role:"button",title:i.nextDecade},on:{click:this.nextDecade}})]),t("div",{class:h+"-body"},[t("table",{class:h+"-table",attrs:{cellSpacing:"0",role:"grid"}},[t("tbody",{class:h+"-tbody"},[p])])]),m&&t("div",{class:h+"-footer"},[m])])])}},Zd=4,Qd=3;function eh(){}function th(e){var t=this.sValue.clone();t.add(e,"years"),this.setState({sValue:t})}function nh(e,t){var n=this.sValue.clone();n.year(e),n.month(this.sValue.month()),this.__emit("select",n),t.preventDefault()}var ih={mixins:[p["a"]],props:{locale:s["a"].object,value:s["a"].object,defaultValue:s["a"].object,rootPrefixCls:s["a"].string,renderFooter:s["a"].func},data:function(){return this.nextCentury=th.bind(this,100),this.previousCentury=th.bind(this,-100),{sValue:this.value||this.defaultValue}},watch:{value:function(e){this.sValue=e}},render:function(){for(var e=this,t=arguments[0],n=this.sValue,i=this.$props,r=i.locale,a=i.renderFooter,s=n.year(),c=100*parseInt(s/100,10),l=c-10,u=c+99,d=[],h=0,f=this.rootPrefixCls+"-decade-panel",p=0;pu,h=(i={},o()(i,f+"-cell",1),o()(i,f+"-selected-cell",r<=s&&s<=a),o()(i,f+"-last-century-cell",l),o()(i,f+"-next-century-cell",d),i),p=r+"-"+a,m=eh;return m=l?e.previousCentury:d?e.nextCentury:nh.bind(e,r),t("td",{key:r,on:{click:m},attrs:{role:"gridcell"},class:h},[t("a",{class:f+"-decade"},[p])])}));return t("tr",{key:i,attrs:{role:"row"}},[r])}));return t("div",{class:f},[t("div",{class:f+"-header"},[t("a",{class:f+"-prev-century-btn",attrs:{role:"button",title:r.previousCentury},on:{click:this.previousCentury}}),t("div",{class:f+"-century"},[c,"-",u]),t("a",{class:f+"-next-century-btn",attrs:{role:"button",title:r.nextCentury},on:{click:this.nextCentury}})]),t("div",{class:f+"-body"},[t("table",{class:f+"-table",attrs:{cellSpacing:"0",role:"grid"}},[t("tbody",{class:f+"-tbody"},[b])])]),y&&t("div",{class:f+"-footer"},[y])])}};function rh(){}function ah(e){var t=this.value.clone();t.add(e,"months"),this.__emit("valueChange",t)}function oh(e){var t=this.value.clone();t.add(e,"years"),this.__emit("valueChange",t)}function sh(e,t){return e?t:null}var ch={name:"CalendarHeader",mixins:[p["a"]],props:{prefixCls:s["a"].string,value:s["a"].object,showTimePicker:s["a"].bool,locale:s["a"].object,enablePrev:s["a"].any.def(1),enableNext:s["a"].any.def(1),disabledMonth:s["a"].func,mode:s["a"].any,monthCellRender:s["a"].func,monthCellContentRender:s["a"].func,renderFooter:s["a"].func},data:function(){return this.nextMonth=ah.bind(this,1),this.previousMonth=ah.bind(this,-1),this.nextYear=oh.bind(this,1),this.previousYear=oh.bind(this,-1),{yearPanelReferer:null}},methods:{onMonthSelect:function(e){this.__emit("panelChange",e,"date"),Object(C["k"])(this).monthSelect?this.__emit("monthSelect",e):this.__emit("valueChange",e)},onYearSelect:function(e){var t=this.yearPanelReferer;this.setState({yearPanelReferer:null}),this.__emit("panelChange",e,t),this.__emit("valueChange",e)},onDecadeSelect:function(e){this.__emit("panelChange",e,"year"),this.__emit("valueChange",e)},changeYear:function(e){e>0?this.nextYear():this.previousYear()},monthYearElement:function(e){var t=this,n=this.$createElement,i=this.$props,r=i.prefixCls,a=i.locale,o=i.value,s=o.localeData(),c=a.monthBeforeYear,l=r+"-"+(c?"my-select":"ym-select"),u=e?" "+r+"-time-status":"",d=n("a",{class:r+"-year-select"+u,attrs:{role:"button",title:e?null:a.yearSelect},on:{click:e?rh:function(){return t.showYearPanel("date")}}},[o.format(a.yearFormat)]),h=n("a",{class:r+"-month-select"+u,attrs:{role:"button",title:e?null:a.monthSelect},on:{click:e?rh:this.showMonthPanel}},[a.monthFormat?o.format(a.monthFormat):s.monthsShort(o)]),f=void 0;e&&(f=n("a",{class:r+"-day-select"+u,attrs:{role:"button"}},[o.format(a.dayFormat)]));var p=[];return p=c?[h,f,d]:[d,h,f],n("span",{class:l},[p])},showMonthPanel:function(){this.__emit("panelChange",null,"month")},showYearPanel:function(e){this.setState({yearPanelReferer:e}),this.__emit("panelChange",null,"year")},showDecadePanel:function(){this.__emit("panelChange",null,"decade")}},render:function(){var e=this,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=n.locale,a=n.mode,o=n.value,s=n.showTimePicker,c=n.enableNext,l=n.enablePrev,u=n.disabledMonth,d=n.renderFooter,h=null;return"month"===a&&(h=t(Kd,{attrs:{locale:r,value:o,rootPrefixCls:i,disabledDate:u,cellRender:n.monthCellRender,contentRender:n.monthCellContentRender,renderFooter:d,changeYear:this.changeYear},on:{select:this.onMonthSelect,yearPanelShow:function(){return e.showYearPanel("month")}}})),"year"===a&&(h=t(Xd,{attrs:{locale:r,value:o,rootPrefixCls:i,renderFooter:d,disabledDate:u},on:{select:this.onYearSelect,decadePanelShow:this.showDecadePanel}})),"decade"===a&&(h=t(ih,{attrs:{locale:r,value:o,rootPrefixCls:i,renderFooter:d},on:{select:this.onDecadeSelect}})),t("div",{class:i+"-header"},[t("div",{style:{position:"relative"}},[sh(l&&!s,t("a",{class:i+"-prev-year-btn",attrs:{role:"button",title:r.previousYear},on:{click:this.previousYear}})),sh(l&&!s,t("a",{class:i+"-prev-month-btn",attrs:{role:"button",title:r.previousMonth},on:{click:this.previousMonth}})),this.monthYearElement(s),sh(c&&!s,t("a",{class:i+"-next-month-btn",on:{click:this.nextMonth},attrs:{title:r.nextMonth}})),sh(c&&!s,t("a",{class:i+"-next-year-btn",on:{click:this.nextYear},attrs:{title:r.nextYear}}))]),h])}},lh=ch;function uh(){}var dh={functional:!0,render:function(e,t){var n=arguments[0],i=t.props,r=t.listeners,a=void 0===r?{}:r,o=i.prefixCls,s=i.locale,c=i.value,l=i.timePicker,u=i.disabled,d=i.disabledDate,h=i.text,f=a.today,p=void 0===f?uh:f,m=(!h&&l?s.now:h)||s.today,v=d&&!Fc(Hc(c),d),g=v||u,y=g?o+"-today-btn-disabled":"";return n("a",{class:o+"-today-btn "+y,attrs:{role:"button",title:Vc(c)},on:{click:g?uh:p}},[m])}};function hh(){}var fh={functional:!0,render:function(e,t){var n=arguments[0],i=t.props,r=t.listeners,a=void 0===r?{}:r,o=i.prefixCls,s=i.locale,c=i.okDisabled,l=a.ok,u=void 0===l?hh:l,d=o+"-ok-btn";return c&&(d+=" "+o+"-ok-btn-disabled"),n("a",{class:d,attrs:{role:"button"},on:{click:c?hh:u}},[s.ok])}};function ph(){}var mh={functional:!0,render:function(e,t){var n,i=t.props,r=t.listeners,a=void 0===r?{}:r,s=i.prefixCls,c=i.locale,l=i.showTimePicker,u=i.timePickerDisabled,d=a.closeTimePicker,h=void 0===d?ph:d,f=a.openTimePicker,p=void 0===f?ph:f,m=(n={},o()(n,s+"-time-picker-btn",!0),o()(n,s+"-time-picker-btn-disabled",u),n),v=ph;return u||(v=l?h:p),e("a",{class:m,attrs:{role:"button"},on:{click:v}},[l?c.dateSelect:c.timeSelect])}},vh={mixins:[p["a"]],props:{prefixCls:s["a"].string,showDateInput:s["a"].bool,disabledTime:s["a"].any,timePicker:s["a"].any,selectedValue:s["a"].any,showOk:s["a"].bool,value:s["a"].object,renderFooter:s["a"].func,defaultValue:s["a"].object,locale:s["a"].object,showToday:s["a"].bool,disabledDate:s["a"].func,showTimePicker:s["a"].bool,okDisabled:s["a"].bool,mode:s["a"].string},methods:{onSelect:function(e){this.__emit("select",e)},getRootDOMNode:function(){return this.$el}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.value,i=t.prefixCls,a=t.showOk,s=t.timePicker,c=t.renderFooter,l=t.showToday,u=t.mode,d=null,h=c&&c(u);if(l||s||h){var f,p={props:k()({},t,{value:n}),on:Object(C["k"])(this)},m=null;l&&(m=e(dh,r()([{key:"todayButton"},p]))),delete p.props.value;var v=null;(!0===a||!1!==a&&s)&&(v=e(fh,r()([{key:"okButton"},p])));var g=null;s&&(g=e(mh,r()([{key:"timePickerButton"},p])));var y=void 0;(m||g||v||h)&&(y=e("span",{class:i+"-footer-btn"},[h,m,g,v]));var b=(f={},o()(f,i+"-footer",!0),o()(f,i+"-footer-show-ok",!!v),f);d=e("div",{class:b},[y])}return d}},gh=vh,yh=void 0,bh=void 0,_h=void 0,Mh={mixins:[p["a"]],props:{prefixCls:s["a"].string,timePicker:s["a"].object,value:s["a"].object,disabledTime:s["a"].any,format:s["a"].oneOfType([s["a"].string,s["a"].arrayOf(s["a"].string),s["a"].func]),locale:s["a"].object,disabledDate:s["a"].func,placeholder:s["a"].string,selectedValue:s["a"].object,clearIcon:s["a"].any,inputMode:s["a"].string,inputReadOnly:s["a"].bool},data:function(){var e=this.selectedValue;return{str:$c(e,this.format),invalid:!1,hasFocus:!1}},watch:{selectedValue:function(){this.setState()},format:function(){this.setState()}},updated:function(){var e=this;this.$nextTick((function(){!_h||!e.$data.hasFocus||e.invalid||0===yh&&0===bh||_h.setSelectionRange(yh,bh)}))},getInstance:function(){return _h},methods:{getDerivedStateFromProps:function(e,t){var n={};_h&&(yh=_h.selectionStart,bh=_h.selectionEnd);var i=e.selectedValue;return t.hasFocus||(n={str:$c(i,this.format),invalid:!1}),n},onClear:function(){this.setState({str:""}),this.__emit("clear",null)},onInputChange:function(e){var t=e.target,n=t.value,i=t.composing,r=this.str,a=void 0===r?"":r;if(!e.isComposing&&!i&&a!==n){var o=this.$props,s=o.disabledDate,c=o.format,l=o.selectedValue;if(!n)return this.__emit("change",null),void this.setState({invalid:!1,str:n});var u=Sc()(n,c,!0);if(u.isValid()){var d=this.value.clone();d.year(u.year()).month(u.month()).date(u.date()).hour(u.hour()).minute(u.minute()).second(u.second()),!d||s&&s(d)?this.setState({invalid:!0,str:n}):(l!==d||l&&d&&!l.isSame(d))&&(this.setState({invalid:!1,str:n}),this.__emit("change",d))}else this.setState({invalid:!0,str:n})}},onFocus:function(){this.setState({hasFocus:!0})},onBlur:function(){this.setState((function(e,t){return{hasFocus:!1,str:$c(t.value,t.format)}}))},onKeyDown:function(e){var t=e.keyCode,n=this.$props,i=n.value,r=n.disabledDate;if(t===Be.ENTER){var a=!r||!r(i);a&&this.__emit("select",i.clone()),e.preventDefault()}},getRootDOMNode:function(){return this.$el},focus:function(){_h&&_h.focus()},saveDateInput:function(e){_h=e}},render:function(){var e=arguments[0],t=this.invalid,n=this.str,i=this.locale,a=this.prefixCls,o=this.placeholder,s=this.disabled,c=this.showClear,l=this.inputMode,u=this.inputReadOnly,d=Object(C["g"])(this,"clearIcon"),h=t?a+"-input-invalid":"";return e("div",{class:a+"-input-wrap"},[e("div",{class:a+"-date-input-wrap"},[e("input",r()([{directives:[{name:"ant-ref",value:this.saveDateInput},{name:"ant-input"}]},{class:a+"-input "+h,domProps:{value:n},attrs:{disabled:s,placeholder:o,inputMode:l,readOnly:u},on:{input:this.onInputChange,keydown:this.onKeyDown,focus:this.onFocus,blur:this.onBlur}}]))]),c?e("a",{attrs:{role:"button",title:i.clear},on:{click:this.onClear}},[d||e("span",{class:a+"-clear-btn"})]):null])}},wh=Mh;function kh(e){return e.clone().startOf("month")}function Ch(e){return e.clone().endOf("month")}function Lh(e,t,n){return e.clone().add(t,n)}function xh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}var Sh=function(e){return!(!Sc.a.isMoment(e)||!e.isValid())&&e},Oh={name:"Calendar",props:{locale:s["a"].object.def(x),format:s["a"].oneOfType([s["a"].string,s["a"].arrayOf(s["a"].string),s["a"].func]),visible:s["a"].bool.def(!0),prefixCls:s["a"].string.def("rc-calendar"),defaultValue:s["a"].object,value:s["a"].object,selectedValue:s["a"].object,defaultSelectedValue:s["a"].object,mode:s["a"].oneOf(["time","date","month","year","decade"]),showDateInput:s["a"].bool.def(!0),showWeekNumber:s["a"].bool,showToday:s["a"].bool.def(!0),showOk:s["a"].bool,timePicker:s["a"].any,dateInputPlaceholder:s["a"].any,disabledDate:s["a"].func,disabledTime:s["a"].any,dateRender:s["a"].func,renderFooter:s["a"].func.def((function(){return null})),renderSidebar:s["a"].func.def((function(){return null})),clearIcon:s["a"].any,focusablePanel:s["a"].bool.def(!0),inputMode:s["a"].string,inputReadOnly:s["a"].bool},mixins:[p["a"],ol,al],data:function(){var e=this.$props;return{sMode:this.mode||"date",sValue:Sh(e.value)||Sh(e.defaultValue)||Sc()(),sSelectedValue:e.selectedValue||e.defaultSelectedValue}},watch:{mode:function(e){this.setState({sMode:e})},value:function(e){this.setState({sValue:Sh(e)||Sh(this.defaultValue)||tl(this.sValue)})},selectedValue:function(e){this.setState({sSelectedValue:e})}},mounted:function(){var e=this;this.$nextTick((function(){e.saveFocusElement(wh.getInstance())}))},methods:{onPanelChange:function(e,t){var n=this.sValue;Object(C["s"])(this,"mode")||this.setState({sMode:t}),this.__emit("panelChange",e||n,t)},onKeyDown:function(e){if("input"!==e.target.nodeName.toLowerCase()){var t=e.keyCode,n=e.ctrlKey||e.metaKey,i=this.disabledDate,r=this.sValue;switch(t){case Be.DOWN:return this.goTime(1,"weeks"),e.preventDefault(),1;case Be.UP:return this.goTime(-1,"weeks"),e.preventDefault(),1;case Be.LEFT:return n?this.goTime(-1,"years"):this.goTime(-1,"days"),e.preventDefault(),1;case Be.RIGHT:return n?this.goTime(1,"years"):this.goTime(1,"days"),e.preventDefault(),1;case Be.HOME:return this.setValue(kh(r)),e.preventDefault(),1;case Be.END:return this.setValue(Ch(r)),e.preventDefault(),1;case Be.PAGE_DOWN:return this.goTime(1,"month"),e.preventDefault(),1;case Be.PAGE_UP:return this.goTime(-1,"month"),e.preventDefault(),1;case Be.ENTER:return i&&i(r)||this.onSelect(r,{source:"keyboard"}),e.preventDefault(),1;default:return this.__emit("keydown",e),1}}},onClear:function(){this.onSelect(null),this.__emit("clear")},onOk:function(){var e=this.sSelectedValue;this.isAllowedDate(e)&&this.__emit("ok",e)},onDateInputChange:function(e){this.onSelect(e,{source:"dateInput"})},onDateInputSelect:function(e){this.onSelect(e,{source:"dateInputSelect"})},onDateTableSelect:function(e){var t=this.timePicker,n=this.sSelectedValue;if(!n&&t){var i=Object(C["l"])(t),r=i.defaultValue;r&&Yc(r,e)}this.onSelect(e)},onToday:function(){var e=this.sValue,t=Hc(e);this.onSelect(t,{source:"todayButton"})},onBlur:function(e){var t=this;setTimeout((function(){var n=wh.getInstance(),i=t.rootInstance;!i||i.contains(document.activeElement)||n&&n.contains(document.activeElement)||t.$emit("blur",e)}),0)},getRootDOMNode:function(){return this.$el},openTimePicker:function(){this.onPanelChange(null,"time")},closeTimePicker:function(){this.onPanelChange(null,"date")},goTime:function(e,t){this.setValue(Lh(this.sValue,e,t))}},render:function(){var e=arguments[0],t=this.locale,n=this.prefixCls,i=this.disabledDate,r=this.dateInputPlaceholder,a=this.timePicker,o=this.disabledTime,s=this.showDateInput,c=this.sValue,l=this.sSelectedValue,u=this.sMode,d=this.renderFooter,h=this.inputMode,f=this.inputReadOnly,p=this.monthCellRender,m=this.monthCellContentRender,v=this.$props,g=Object(C["g"])(this,"clearIcon"),y="time"===u,b=y&&o&&a?Pc(l,o):null,_=null;if(a&&y){var M=Object(C["l"])(a),w={props:k()({showHour:!0,showSecond:!0,showMinute:!0},M,b,{value:l,disabledTime:o}),on:{change:this.onDateInputChange}};void 0!==M.defaultValue&&(w.props.defaultOpenValue=M.defaultValue),_=Object(Ln["a"])(a,w)}var L=s?e(wh,{attrs:{format:this.getFormat(),value:c,locale:t,placeholder:r,showClear:!0,disabledTime:o,disabledDate:i,prefixCls:n,selectedValue:l,clearIcon:g,inputMode:h,inputReadOnly:f},key:"date-input",on:{clear:this.onClear,change:this.onDateInputChange,select:this.onDateInputSelect}}):null,x=[];return v.renderSidebar&&x.push(v.renderSidebar()),x.push(e("div",{class:n+"-panel",key:"panel"},[L,e("div",{attrs:{tabIndex:v.focusablePanel?0:void 0},class:n+"-date-panel"},[e(lh,{attrs:{locale:t,mode:u,value:c,disabledMonth:i,renderFooter:d,showTimePicker:y,prefixCls:n,monthCellRender:p,monthCellContentRender:m},on:{valueChange:this.setValue,panelChange:this.onPanelChange}}),a&&y?e("div",{class:n+"-time-picker"},[e("div",{class:n+"-time-picker-panel"},[_])]):null,e("div",{class:n+"-body"},[e(qc,{attrs:{locale:t,value:c,selectedValue:l,prefixCls:n,dateRender:v.dateRender,disabledDate:i,showWeekNumber:v.showWeekNumber},on:{select:this.onDateTableSelect}})]),e(gh,{attrs:{showOk:v.showOk,mode:u,renderFooter:v.renderFooter,locale:t,prefixCls:n,showToday:v.showToday,disabledTime:o,showTimePicker:y,showDateInput:v.showDateInput,timePicker:a,selectedValue:l,timePickerDisabled:!l,value:c,disabledDate:i,okDisabled:!1!==v.showOk&&(!l||!this.isAllowedDate(l))},on:{ok:this.onOk,select:this.onSelect,today:this.onToday,openTimePicker:this.openTimePicker,closeTimePicker:this.closeTimePicker}})])])),this.renderRoot({children:x,class:v.showWeekNumber?n+"-week-number":""})}},Th=Oh,zh=Th;kn["a"].use(E.a,{name:"ant-ref"});var Hh=zh,Dh={name:"MonthCalendar",props:{locale:s["a"].object.def(x),format:s["a"].string,visible:s["a"].bool.def(!0),prefixCls:s["a"].string.def("rc-calendar"),monthCellRender:s["a"].func,value:s["a"].object,defaultValue:s["a"].object,selectedValue:s["a"].object,defaultSelectedValue:s["a"].object,disabledDate:s["a"].func,monthCellContentRender:s["a"].func,renderFooter:s["a"].func.def((function(){return null})),renderSidebar:s["a"].func.def((function(){return null}))},mixins:[p["a"],ol,al],data:function(){var e=this.$props;return{mode:"month",sValue:e.value||e.defaultValue||Sc()(),sSelectedValue:e.selectedValue||e.defaultSelectedValue}},methods:{onKeyDown:function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,i=this.sValue,r=this.disabledDate,a=i;switch(t){case Be.DOWN:a=i.clone(),a.add(3,"months");break;case Be.UP:a=i.clone(),a.add(-3,"months");break;case Be.LEFT:a=i.clone(),n?a.add(-1,"years"):a.add(-1,"months");break;case Be.RIGHT:a=i.clone(),n?a.add(1,"years"):a.add(1,"months");break;case Be.ENTER:return r&&r(i)||this.onSelect(i),e.preventDefault(),1;default:return}if(a!==i)return this.setValue(a),e.preventDefault(),1},handlePanelChange:function(e,t){"date"!==t&&this.setState({mode:t})}},render:function(){var e=arguments[0],t=this.mode,n=this.sValue,i=this.$props,r=this.$scopedSlots,a=i.prefixCls,o=i.locale,s=i.disabledDate,c=this.monthCellRender||r.monthCellRender,l=this.monthCellContentRender||r.monthCellContentRender,u=this.renderFooter||r.renderFooter,d=e("div",{class:a+"-month-calendar-content"},[e("div",{class:a+"-month-header-wrap"},[e(lh,{attrs:{prefixCls:a,mode:t,value:n,locale:o,disabledMonth:s,monthCellRender:c,monthCellContentRender:l},on:{monthSelect:this.onSelect,valueChange:this.setValue,panelChange:this.handlePanelChange}})]),e(gh,{attrs:{prefixCls:a,renderFooter:u}})]);return this.renderRoot({class:i.prefixCls+"-month-calendar",children:d})}},Vh=Dh,jh=n("3eea"),Yh=n.n(jh);function Ph(){var e=[].slice.call(arguments,0);return 1===e.length?e[0]:function(){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=this.$props;Object(C["s"])(this,"value")||this.setState({sValue:e});var i=Object(C["l"])(n.calendar);("keyboard"===t.source||"dateInputSelect"===t.source||!i.timePicker&&"dateInput"!==t.source||"todayButton"===t.source)&&this.closeCalendar(this.focus),this.__emit("change",e)},onKeyDown:function(e){this.sOpen||e.keyCode!==Be.DOWN&&e.keyCode!==Be.ENTER||(this.openCalendar(),e.preventDefault())},onCalendarOk:function(){this.closeCalendar(this.focus)},onCalendarClear:function(){this.closeCalendar(this.focus)},onCalendarBlur:function(){this.setOpen(!1)},onVisibleChange:function(e){this.setOpen(e)},getCalendarElement:function(){var e=this.$props,t=Object(C["l"])(e.calendar),n=Object(C["i"])(e.calendar),i=this.sValue,r=i,a={ref:"calendarInstance",props:{defaultValue:r||t.defaultValue,selectedValue:i},on:{keydown:this.onCalendarKeyDown,ok:Ph(n.ok,this.onCalendarOk),select:Ph(n.select,this.onCalendarSelect),clear:Ph(n.clear,this.onCalendarClear),blur:Ph(n.blur,this.onCalendarBlur)}};return Object(Ln["a"])(e.calendar,a)},setOpen:function(e,t){this.sOpen!==e&&(Object(C["s"])(this,"open")||this.setState({sOpen:e},t),this.__emit("openChange",e))},openCalendar:function(e){this.setOpen(!0,e)},closeCalendar:function(e){this.setOpen(!1,e)},focus:function(){this.sOpen||this.$el.focus()},focusCalendar:function(){this.sOpen&&this.calendarInstance&&this.calendarInstance.componentInstance&&this.calendarInstance.componentInstance.focus()}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=Object(C["q"])(this),i=t.prefixCls,r=t.placement,a=t.getCalendarContainer,o=t.align,s=t.animation,c=t.disabled,l=t.dropdownClassName,u=t.transitionName,d=this.sValue,h=this.sOpen,f=this.$scopedSlots["default"],p={value:d,open:h};return!this.sOpen&&this.calendarInstance||(this.calendarInstance=this.getCalendarElement()),e(_r,{attrs:{popupAlign:o,builtinPlacements:$h,popupPlacement:r,action:c&&!h?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:a,popupStyle:n,popupAnimation:s,popupTransitionName:u,popupVisible:h,prefixCls:i,popupClassName:l},on:{popupVisibleChange:this.onVisibleChange}},[e("template",{slot:"popup"},[this.calendarInstance]),Object(Ln["a"])(f(p,t),{on:{keydown:this.onKeyDown}})])}},Nh=Rh;function Wh(e,t){if(!e)return"";if(Array.isArray(t)&&(t=t[0]),"function"===typeof t){var n=t(e);if("string"===typeof n)return n;throw new Error("The function of format does not return a string")}return e.format(t)}function Kh(){}function Bh(e,t){return{props:Object(C["t"])(t,{allowClear:!0,showToday:!0}),mixins:[p["a"]],model:{prop:"value",event:"change"},inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this.value||this.defaultValue;if(e&&!wl(xc).isMoment(e))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object");return{sValue:e,showDate:e,_open:!!this.open}},watch:{open:function(e){var t=Object(C["l"])(this),n={};n._open=e,"value"in t&&!e&&t.value!==this.showDate&&(n.showDate=t.value),this.setState(n)},value:function(e){var t={};t.sValue=e,e!==this.sValue&&(t.showDate=e),this.setState(t)},_open:function(e,t){var n=this;this.$nextTick((function(){Object(C["s"])(n,"open")||!t||e||n.focus()}))}},methods:{clearSelection:function(e){e.preventDefault(),e.stopPropagation(),this.handleChange(null)},handleChange:function(e){Object(C["s"])(this,"value")||this.setState({sValue:e,showDate:e}),this.$emit("change",e,Wh(e,this.format))},handleCalendarChange:function(e){this.setState({showDate:e})},handleOpenChange:function(e){var t=Object(C["l"])(this);"open"in t||this.setState({_open:e}),this.$emit("openChange",e)},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},renderFooter:function(){var e=this.$createElement,t=this.$scopedSlots,n=this.$slots,i=this._prefixCls,r=this.renderExtraFooter||t.renderExtraFooter||n.renderExtraFooter;return r?e("div",{class:i+"-footer-extra"},["function"===typeof r?r.apply(void 0,arguments):r]):null},onMouseEnter:function(e){this.$emit("mouseenter",e)},onMouseLeave:function(e){this.$emit("mouseleave",e)}},render:function(){var t,n=this,i=arguments[0],r=this.$scopedSlots,a=this.$data,s=a.sValue,c=a.showDate,u=a._open,d=Object(C["g"])(this,"suffixIcon");d=Array.isArray(d)?d[0]:d;var h=Object(C["k"])(this),f=h.panelChange,p=void 0===f?Kh:f,m=h.focus,v=void 0===m?Kh:m,g=h.blur,y=void 0===g?Kh:g,b=h.ok,_=void 0===b?Kh:b,M=Object(C["l"])(this),w=M.prefixCls,L=M.locale,x=M.localeCode,S=M.inputReadOnly,O=this.configProvider.getPrefixCls,T=O("calendar",w);this._prefixCls=T;var z=M.dateRender||r.dateRender,H=M.monthCellContentRender||r.monthCellContentRender,D="placeholder"in M?M.placeholder:L.lang.placeholder,V=M.showTime?M.disabledTime:null,j=l()((t={},o()(t,T+"-time",M.showTime),o()(t,T+"-month",Vh===e),t));s&&x&&s.locale(x);var Y={props:{},on:{}},P={props:{},on:{}},A={};M.showTime?(P.on.select=this.handleChange,A.minWidth="195px"):Y.on.change=this.handleChange,"mode"in M&&(P.props.mode=M.mode);var E=Object(C["x"])(P,{props:{disabledDate:M.disabledDate,disabledTime:V,locale:L.lang,timePicker:M.timePicker,defaultValue:M.defaultPickerValue||wl(xc)(),dateInputPlaceholder:D,prefixCls:T,dateRender:z,format:M.format,showToday:M.showToday,monthCellContentRender:H,renderFooter:this.renderFooter,value:c,inputReadOnly:S},on:{ok:_,panelChange:p,change:this.handleCalendarChange},class:j,scopedSlots:r}),F=i(e,E),$=!M.disabled&&M.allowClear&&s?i(to,{attrs:{type:"close-circle",theme:"filled"},class:T+"-picker-clear",on:{click:this.clearSelection}}):null,I=d&&(Object(C["w"])(d)?Object(Ln["a"])(d,{class:T+"-picker-icon"}):i("span",{class:T+"-picker-icon"},[d]))||i(to,{attrs:{type:"calendar"},class:T+"-picker-icon"}),R=function(e){var t=e.value;return i("div",[i("input",{ref:"input",attrs:{disabled:M.disabled,readOnly:!0,placeholder:D,tabIndex:M.tabIndex,name:n.name},on:{focus:v,blur:y},domProps:{value:Wh(t,n.format)},class:M.pickerInputClass}),$,I])},N={props:k()({},M,Y.props,{calendar:F,value:s,prefixCls:T+"-picker-container"}),on:k()({},Yh()(h,"change"),Y.on,{open:u,onOpenChange:this.handleOpenChange}),style:M.popupStyle,scopedSlots:k()({default:R},r)};return i("span",{class:M.pickerClass,style:A,on:{mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave}},[i(Nh,N)])}}}var Uh={mixins:[p["a"]],props:{format:s["a"].string,prefixCls:s["a"].string,disabledDate:s["a"].func,placeholder:s["a"].string,clearText:s["a"].string,value:s["a"].object,inputReadOnly:s["a"].bool.def(!1),hourOptions:s["a"].array,minuteOptions:s["a"].array,secondOptions:s["a"].array,disabledHours:s["a"].func,disabledMinutes:s["a"].func,disabledSeconds:s["a"].func,allowEmpty:s["a"].bool,defaultOpenValue:s["a"].object,currentSelectPanel:s["a"].string,focusOnOpen:s["a"].bool,clearIcon:s["a"].any},data:function(){var e=this.value,t=this.format;return{str:e&&e.format(t)||"",invalid:!1}},mounted:function(){var e=this;if(this.focusOnOpen){var t=window.requestAnimationFrame||window.setTimeout;t((function(){e.$refs.input.focus(),e.$refs.input.select()}))}},watch:{value:function(e){var t=this;this.$nextTick((function(){t.setState({str:e&&e.format(t.format)||"",invalid:!1})}))}},methods:{onInputChange:function(e){var t=e.target,n=t.value,i=t.composing,r=this.str,a=void 0===r?"":r;if(!e.isComposing&&!i&&a!==n){this.setState({str:n});var o=this.format,s=this.hourOptions,c=this.minuteOptions,l=this.secondOptions,u=this.disabledHours,d=this.disabledMinutes,h=this.disabledSeconds,f=this.value;if(n){var p=this.getProtoValue().clone(),m=Sc()(n,o,!0);if(!m.isValid())return void this.setState({invalid:!0});if(p.hour(m.hour()).minute(m.minute()).second(m.second()),s.indexOf(p.hour())<0||c.indexOf(p.minute())<0||l.indexOf(p.second())<0)return void this.setState({invalid:!0});var v=u(),g=d(p.hour()),y=h(p.hour(),p.minute());if(v&&v.indexOf(p.hour())>=0||g&&g.indexOf(p.minute())>=0||y&&y.indexOf(p.second())>=0)return void this.setState({invalid:!0});if(f){if(f.hour()!==p.hour()||f.minute()!==p.minute()||f.second()!==p.second()){var b=f.clone();b.hour(p.hour()),b.minute(p.minute()),b.second(p.second()),this.__emit("change",b)}}else f!==p&&this.__emit("change",p)}else this.__emit("change",null);this.setState({invalid:!1})}},onKeyDown:function(e){27===e.keyCode&&this.__emit("esc"),this.__emit("keydown",e)},getProtoValue:function(){return this.value||this.defaultOpenValue},getInput:function(){var e=this.$createElement,t=this.prefixCls,n=this.placeholder,i=this.inputReadOnly,a=this.invalid,o=this.str,s=a?t+"-input-invalid":"";return e("input",r()([{class:t+"-input "+s,ref:"input",on:{keydown:this.onKeyDown,input:this.onInputChange},domProps:{value:o},attrs:{placeholder:n,readOnly:!!i}},{directives:[{name:"ant-input"}]}]))}},render:function(){var e=arguments[0],t=this.prefixCls;return e("div",{class:t+"-input-wrap"},[this.getInput()])}},qh=Uh;function Gh(){}var Jh=function e(t,n,i){if(i<=0)y()((function(){t.scrollTop=n}));else{var r=n-t.scrollTop,a=r/i*10;y()((function(){t.scrollTop+=a,t.scrollTop!==n&&e(t,n,i-10)}))}},Xh={mixins:[p["a"]],props:{prefixCls:s["a"].string,options:s["a"].array,selectedIndex:s["a"].number,type:s["a"].string},data:function(){return{active:!1}},mounted:function(){var e=this;this.$nextTick((function(){e.scrollToSelected(0)}))},watch:{selectedIndex:function(){var e=this;this.$nextTick((function(){e.scrollToSelected(120)}))}},methods:{onSelect:function(e){var t=this.type;this.__emit("select",t,e)},onEsc:function(e){this.__emit("esc",e)},getOptions:function(){var e=this,t=this.$createElement,n=this.options,i=this.selectedIndex,r=this.prefixCls;return n.map((function(n,a){var s,c=l()((s={},o()(s,r+"-select-option-selected",i===a),o()(s,r+"-select-option-disabled",n.disabled),s)),u=n.disabled?Gh:function(){e.onSelect(n.value)},d=function(t){13===t.keyCode?u():27===t.keyCode&&e.onEsc()};return t("li",{attrs:{role:"button",disabled:n.disabled,tabIndex:"0"},on:{click:u,keydown:d},class:c,key:a},[n.value])}))},handleMouseEnter:function(e){this.setState({active:!0}),this.__emit("mouseenter",e)},handleMouseLeave:function(){this.setState({active:!1})},scrollToSelected:function(e){var t=this.$el,n=this.$refs.list;if(n){var i=this.selectedIndex;i<0&&(i=0);var r=n.children[i],a=r.offsetTop;Jh(t,a,e)}}},render:function(){var e,t=arguments[0],n=this.prefixCls,i=this.options,r=this.active;if(0===i.length)return null;var a=(e={},o()(e,n+"-select",1),o()(e,n+"-select-active",r),e);return t("div",{class:a,on:{mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave}},[t("ul",{ref:"list"},[this.getOptions()])])}},Zh=Xh,Qh=function(e,t){var n=""+e;e<10&&(n="0"+e);var i=!1;return t&&t.indexOf(e)>=0&&(i=!0),{value:n,disabled:i}},ef={mixins:[p["a"]],name:"Combobox",props:{format:s["a"].string,defaultOpenValue:s["a"].object,prefixCls:s["a"].string,value:s["a"].object,showHour:s["a"].bool,showMinute:s["a"].bool,showSecond:s["a"].bool,hourOptions:s["a"].array,minuteOptions:s["a"].array,secondOptions:s["a"].array,disabledHours:s["a"].func,disabledMinutes:s["a"].func,disabledSeconds:s["a"].func,use12Hours:s["a"].bool,isAM:s["a"].bool},methods:{onItemChange:function(e,t){var n=this.defaultOpenValue,i=this.use12Hours,r=this.value,a=this.isAM,o=(r||n).clone();if("hour"===e)i?a?o.hour(+t%12):o.hour(+t%12+12):o.hour(+t);else if("minute"===e)o.minute(+t);else if("ampm"===e){var s=t.toUpperCase();i&&("PM"===s&&o.hour()<12&&o.hour(o.hour()%12+12),"AM"===s&&o.hour()>=12&&o.hour(o.hour()-12)),this.__emit("amPmChange",s)}else o.second(+t);this.__emit("change",o)},onEnterSelectPanel:function(e){this.__emit("currentSelectPanelChange",e)},onEsc:function(e){this.__emit("esc",e)},getHourSelect:function(e){var t=this,n=this.$createElement,i=this.prefixCls,r=this.hourOptions,a=this.disabledHours,o=this.showHour,s=this.use12Hours;if(!o)return null;var c=a(),l=void 0,u=void 0;return s?(l=[12].concat(r.filter((function(e){return e<12&&e>0}))),u=e%12||12):(l=r,u=e),n(Zh,{attrs:{prefixCls:i,options:l.map((function(e){return Qh(e,c)})),selectedIndex:l.indexOf(u),type:"hour"},on:{select:this.onItemChange,mouseenter:function(){return t.onEnterSelectPanel("hour")},esc:this.onEsc}})},getMinuteSelect:function(e){var t=this,n=this.$createElement,i=this.prefixCls,r=this.minuteOptions,a=this.disabledMinutes,o=this.defaultOpenValue,s=this.showMinute,c=this.value;if(!s)return null;var l=c||o,u=a(l.hour());return n(Zh,{attrs:{prefixCls:i,options:r.map((function(e){return Qh(e,u)})),selectedIndex:r.indexOf(e),type:"minute"},on:{select:this.onItemChange,mouseenter:function(){return t.onEnterSelectPanel("minute")},esc:this.onEsc}})},getSecondSelect:function(e){var t=this,n=this.$createElement,i=this.prefixCls,r=this.secondOptions,a=this.disabledSeconds,o=this.showSecond,s=this.defaultOpenValue,c=this.value;if(!o)return null;var l=c||s,u=a(l.hour(),l.minute());return n(Zh,{attrs:{prefixCls:i,options:r.map((function(e){return Qh(e,u)})),selectedIndex:r.indexOf(e),type:"second"},on:{select:this.onItemChange,mouseenter:function(){return t.onEnterSelectPanel("second")},esc:this.onEsc}})},getAMPMSelect:function(){var e=this,t=this.$createElement,n=this.prefixCls,i=this.use12Hours,r=this.format,a=this.isAM;if(!i)return null;var o=["am","pm"].map((function(e){return r.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),s=a?0:1;return t(Zh,{attrs:{prefixCls:n,options:o,selectedIndex:s,type:"ampm"},on:{select:this.onItemChange,mouseenter:function(){return e.onEnterSelectPanel("ampm")},esc:this.onEsc}})}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.defaultOpenValue,i=this.value,r=i||n;return e("div",{class:t+"-combobox"},[this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour())])}},tf=ef;function nf(){}function rf(e,t,n){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=[],a=0;a=0&&e.hour()<12}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.placeholder,i=this.disabledMinutes,r=this.addon,a=this.disabledSeconds,o=this.hideDisabledOptions,s=this.showHour,c=this.showMinute,l=this.showSecond,u=this.format,d=this.defaultOpenValue,h=this.clearText,f=this.use12Hours,p=this.focusOnOpen,m=this.hourStep,v=this.minuteStep,g=this.secondStep,y=this.inputReadOnly,b=this.sValue,_=this.currentSelectPanel,M=Object(C["g"])(this,"clearIcon"),w=Object(C["k"])(this),k=w.esc,L=void 0===k?nf:k,x=w.keydown,S=void 0===x?nf:x,O=this.disabledHours2(),T=i(b?b.hour():null),z=a(b?b.hour():null,b?b.minute():null),H=rf(24,O,o,m),D=rf(60,T,o,v),V=rf(60,z,o,g),j=af(d,H,D,V);return e("div",{class:t+"-inner"},[e(qh,{attrs:{clearText:h,prefixCls:t,defaultOpenValue:j,value:b,currentSelectPanel:_,format:u,placeholder:n,hourOptions:H,minuteOptions:D,secondOptions:V,disabledHours:this.disabledHours2,disabledMinutes:i,disabledSeconds:a,focusOnOpen:p,inputReadOnly:y,clearIcon:M},on:{esc:L,change:this.onChange,keydown:S}}),e(tf,{attrs:{prefixCls:t,value:b,defaultOpenValue:j,format:u,showHour:s,showMinute:c,showSecond:l,hourOptions:H,minuteOptions:D,secondOptions:V,disabledHours:this.disabledHours2,disabledMinutes:i,disabledSeconds:a,use12Hours:f,isAM:this.isAM()},on:{change:this.onChange,amPmChange:this.onAmPmChange,currentSelectPanelChange:this.onCurrentSelectPanelChange,esc:this.onEsc}}),r(this)])}},sf=of,cf={adjustX:1,adjustY:1},lf=[0,0],uf={bottomLeft:{points:["tl","tl"],overflow:cf,offset:[0,-3],targetOffset:lf},bottomRight:{points:["tr","tr"],overflow:cf,offset:[0,-3],targetOffset:lf},topRight:{points:["br","br"],overflow:cf,offset:[0,3],targetOffset:lf},topLeft:{points:["bl","bl"],overflow:cf,offset:[0,3],targetOffset:lf}},df=uf;function hf(){}var ff={name:"VcTimePicker",mixins:[p["a"]],props:Object(C["t"])({prefixCls:s["a"].string,clearText:s["a"].string,value:s["a"].any,defaultOpenValue:{type:Object,default:function(){return Sc()()}},inputReadOnly:s["a"].bool,disabled:s["a"].bool,allowEmpty:s["a"].bool,defaultValue:s["a"].any,open:s["a"].bool,defaultOpen:s["a"].bool,align:s["a"].object,placement:s["a"].any,transitionName:s["a"].string,getPopupContainer:s["a"].func,placeholder:s["a"].string,format:s["a"].string,showHour:s["a"].bool,showMinute:s["a"].bool,showSecond:s["a"].bool,popupClassName:s["a"].string,popupStyle:s["a"].object,disabledHours:s["a"].func,disabledMinutes:s["a"].func,disabledSeconds:s["a"].func,hideDisabledOptions:s["a"].bool,name:s["a"].string,autoComplete:s["a"].string,use12Hours:s["a"].bool,hourStep:s["a"].number,minuteStep:s["a"].number,secondStep:s["a"].number,focusOnOpen:s["a"].bool,autoFocus:s["a"].bool,id:s["a"].string,inputIcon:s["a"].any,clearIcon:s["a"].any,addon:s["a"].func},{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,popupClassName:"",popupStyle:{},align:{},allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:hf,disabledMinutes:hf,disabledSeconds:hf,hideDisabledOptions:!1,placement:"bottomLeft",use12Hours:!1,focusOnOpen:!1}),data:function(){var e=this.defaultOpen,t=this.defaultValue,n=this.open,i=void 0===n?e:n,r=this.value,a=void 0===r?t:r;return{sOpen:i,sValue:a}},watch:{value:function(e){this.setState({sValue:e})},open:function(e){void 0!==e&&this.setState({sOpen:e})}},mounted:function(){var e=this;this.$nextTick((function(){e.autoFocus&&e.focus()}))},methods:{onPanelChange:function(e){this.setValue(e)},onAmPmChange:function(e){this.__emit("amPmChange",e)},onClear:function(e){e.stopPropagation(),this.setValue(null),this.setOpen(!1)},onVisibleChange:function(e){this.setOpen(e)},onEsc:function(){this.setOpen(!1),this.focus()},onKeyDown:function(e){40===e.keyCode&&this.setOpen(!0)},onKeyDown2:function(e){this.__emit("keydown",e)},setValue:function(e){Object(C["s"])(this,"value")||this.setState({sValue:e}),this.__emit("change",e)},getFormat:function(){var e=this.format,t=this.showHour,n=this.showMinute,i=this.showSecond,r=this.use12Hours;if(e)return e;if(r){var a=[t?"h":"",n?"mm":"",i?"ss":""].filter((function(e){return!!e})).join(":");return a.concat(" a")}return[t?"HH":"",n?"mm":"",i?"ss":""].filter((function(e){return!!e})).join(":")},getPanelElement:function(){var e=this.$createElement,t=this.prefixCls,n=this.placeholder,i=this.disabledHours,r=this.addon,a=this.disabledMinutes,o=this.disabledSeconds,s=this.hideDisabledOptions,c=this.inputReadOnly,l=this.showHour,u=this.showMinute,d=this.showSecond,h=this.defaultOpenValue,f=this.clearText,p=this.use12Hours,m=this.focusOnOpen,v=this.onKeyDown2,g=this.hourStep,y=this.minuteStep,b=this.secondStep,_=this.sValue,M=Object(C["g"])(this,"clearIcon");return e(sf,{attrs:{clearText:f,prefixCls:t+"-panel",value:_,inputReadOnly:c,defaultOpenValue:h,showHour:l,showMinute:u,showSecond:d,format:this.getFormat(),placeholder:n,disabledHours:i,disabledMinutes:a,disabledSeconds:o,hideDisabledOptions:s,use12Hours:p,hourStep:g,minuteStep:y,secondStep:b,focusOnOpen:m,clearIcon:M,addon:r},ref:"panel",on:{change:this.onPanelChange,amPmChange:this.onAmPmChange,esc:this.onEsc,keydown:v}})},getPopupClassName:function(){var e=this.showHour,t=this.showMinute,n=this.showSecond,i=this.use12Hours,r=this.prefixCls,a=this.popupClassName,s=0;return e&&(s+=1),t&&(s+=1),n&&(s+=1),i&&(s+=1),l()(a,o()({},r+"-panel-narrow",(!e||!t||!n)&&!i),r+"-panel-column-"+s)},setOpen:function(e){this.sOpen!==e&&(Object(C["s"])(this,"open")||this.setState({sOpen:e}),e?this.__emit("open",{open:e}):this.__emit("close",{open:e}))},focus:function(){this.$refs.picker.focus()},blur:function(){this.$refs.picker.blur()},onFocus:function(e){this.__emit("focus",e)},onBlur:function(e){this.__emit("blur",e)},renderClearButton:function(){var e=this,t=this.$createElement,n=this.sValue,i=this.$props,r=i.prefixCls,a=i.allowEmpty,o=i.clearText,s=i.disabled;if(!a||!n||s)return null;var c=Object(C["g"])(this,"clearIcon");if(Object(C["w"])(c)){var l=Object(C["i"])(c)||{},u=l.click;return Object(Ln["a"])(c,{on:{click:function(){u&&u.apply(void 0,arguments),e.onClear.apply(e,arguments)}}})}return t("a",{attrs:{role:"button",title:o,tabIndex:0},class:r+"-clear",on:{click:this.onClear}},[c||t("i",{class:r+"-clear-icon"})])}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.placeholder,i=this.placement,r=this.align,a=this.id,o=this.disabled,s=this.transitionName,c=this.getPopupContainer,l=this.name,u=this.autoComplete,d=this.autoFocus,h=this.sOpen,f=this.sValue,p=this.onFocus,m=this.onBlur,v=this.popupStyle,g=this.getPopupClassName(),y=Object(C["g"])(this,"inputIcon");return e(_r,{attrs:{prefixCls:t+"-panel",popupClassName:g,popupStyle:v,popupAlign:r,builtinPlacements:df,popupPlacement:i,action:o?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:c,popupTransitionName:s,popupVisible:h},on:{popupVisibleChange:this.onVisibleChange}},[e("template",{slot:"popup"},[this.getPanelElement()]),e("span",{class:""+t},[e("input",{class:t+"-input",ref:"picker",attrs:{type:"text",placeholder:n,name:l,disabled:o,autoComplete:u,autoFocus:d,readOnly:!0,id:a},on:{keydown:this.onKeyDown,focus:p,blur:m},domProps:{value:f&&f.format(this.getFormat())||""}}),y||e("span",{class:t+"-icon"}),this.renderClearButton()])])}};function pf(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var mf=function(){return{size:s["a"].oneOf(["large","default","small"]),value:Sl,defaultValue:Sl,open:s["a"].bool,format:s["a"].string,disabled:s["a"].bool,placeholder:s["a"].string,prefixCls:s["a"].string,hideDisabledOptions:s["a"].bool,disabledHours:s["a"].func,disabledMinutes:s["a"].func,disabledSeconds:s["a"].func,getPopupContainer:s["a"].func,use12Hours:s["a"].bool,focusOnOpen:s["a"].bool,hourStep:s["a"].number,minuteStep:s["a"].number,secondStep:s["a"].number,allowEmpty:s["a"].bool,allowClear:s["a"].bool,inputReadOnly:s["a"].bool,clearText:s["a"].string,defaultOpenValue:s["a"].object,popupClassName:s["a"].string,popupStyle:s["a"].object,suffixIcon:s["a"].any,align:s["a"].object,placement:s["a"].any,transitionName:s["a"].string,autoFocus:s["a"].bool,addon:s["a"].any,clearIcon:s["a"].any,locale:s["a"].object,valueFormat:s["a"].string}},vf={name:"ATimePicker",mixins:[p["a"]],props:Object(C["t"])(mf(),{align:{offset:[0,-2]},disabled:!1,disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0,allowClear:!0}),model:{prop:"value",event:"change"},provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this.value,t=this.defaultValue,n=this.valueFormat;return Ol("TimePicker",t,"defaultValue",n),Ol("TimePicker",e,"value",n),pe(!Object(C["s"])(this,"allowEmpty"),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),{sValue:Tl(e||t,n)}},watch:{value:function(e){Ol("TimePicker",e,"value",this.valueFormat),this.setState({sValue:Tl(e,this.valueFormat)})}},methods:{getDefaultFormat:function(){var e=this.format,t=this.use12Hours;return e||(t?"h:mm:ss a":"HH:mm:ss")},getAllowClear:function(){var e=this.$props,t=e.allowClear,n=e.allowEmpty;return Object(C["s"])(this,"allowClear")?t:n},getDefaultLocale:function(){var e=k()({},O,this.$props.locale);return e},savePopupRef:function(e){this.popupRef=e},handleChange:function(e){Object(C["s"])(this,"value")||this.setState({sValue:e});var t=this.format,n=void 0===t?"HH:mm:ss":t;this.$emit("change",this.valueFormat?zl(e,this.valueFormat):e,e&&e.format(n)||"")},handleOpenClose:function(e){var t=e.open;this.$emit("openChange",t),this.$emit("update:open",t)},focus:function(){this.$refs.timePicker.focus()},blur:function(){this.$refs.timePicker.blur()},renderInputIcon:function(e){var t=this.$createElement,n=Object(C["g"])(this,"suffixIcon");n=Array.isArray(n)?n[0]:n;var i=n&&Object(C["w"])(n)&&Object(Ln["a"])(n,{class:e+"-clock-icon"})||t(to,{attrs:{type:"clock-circle"},class:e+"-clock-icon"});return t("span",{class:e+"-icon"},[i])},renderClearIcon:function(e){var t=this.$createElement,n=Object(C["g"])(this,"clearIcon"),i=e+"-clear";return n&&Object(C["w"])(n)?Object(Ln["a"])(n,{class:i}):t(to,{attrs:{type:"close-circle",theme:"filled"},class:i})},renderTimePicker:function(e){var t=this.$createElement,n=Object(C["l"])(this);n=Object(u["a"])(n,["defaultValue","suffixIcon","allowEmpty","allowClear"]);var i=n,r=i.prefixCls,a=i.getPopupContainer,s=i.placeholder,c=i.size,l=this.configProvider.getPrefixCls,d=l("time-picker",r),h=this.getDefaultFormat(),f=o()({},d+"-"+c,!!c),p=Object(C["g"])(this,"addon",{},!1),m=function(e){return p?t("div",{class:d+"-panel-addon"},["function"===typeof p?p(e):p]):null},v=this.renderInputIcon(d),g=this.renderClearIcon(d),y=this.configProvider.getPopupContainer,b={props:k()({},pf(h),n,{allowEmpty:this.getAllowClear(),prefixCls:d,getPopupContainer:a||y,format:h,value:this.sValue,placeholder:void 0===s?e.placeholder:s,addon:m,inputIcon:v,clearIcon:g}),class:f,ref:"timePicker",on:k()({},Object(C["k"])(this),{change:this.handleChange,open:this.handleOpenClose,close:this.handleOpenClose})};return t(ff,b)}},render:function(){var e=arguments[0];return e(j,{attrs:{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},scopedSlots:{default:this.renderTimePicker}})},install:function(e){e.use(te),e.component(vf.name,vf)}},gf=vf,yf={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},bf={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function _f(e){var t=e.showHour,n=e.showMinute,i=e.showSecond,r=e.use12Hours,a=0;return t&&(a+=1),n&&(a+=1),i&&(a+=1),r&&(a+=1),a}function Mf(e,t,n){return{name:e.name,props:Object(C["t"])(t,{transitionName:"slide-up",popupStyle:{},locale:{}}),model:{prop:"value",event:"change"},inject:{configProvider:{default:function(){return ce}}},provide:function(){return{savePopupRef:this.savePopupRef}},mounted:function(){var e=this,t=this.autoFocus,n=this.disabled,i=this.value,r=this.defaultValue,a=this.valueFormat;Ol("DatePicker",r,"defaultValue",a),Ol("DatePicker",i,"value",a),t&&!n&&this.$nextTick((function(){e.focus()}))},watch:{value:function(e){Ol("DatePicker",e,"value",this.valueFormat)}},methods:{getDefaultLocale:function(){var e=k()({},z,this.locale);return e.lang=k()({},e.lang,(this.locale||{}).lang),e},savePopupRef:function(e){this.popupRef=e},handleOpenChange:function(e){this.$emit("openChange",e)},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleMouseEnter:function(e){this.$emit("mouseenter",e)},handleMouseLeave:function(e){this.$emit("mouseleave",e)},handleChange:function(e,t){this.$emit("change",this.valueFormat?zl(e,this.valueFormat):e,t)},handleOk:function(e){this.$emit("ok",this.valueFormat?zl(e,this.valueFormat):e)},handleCalendarChange:function(e,t){this.$emit("calendarChange",this.valueFormat?zl(e,this.valueFormat):e,t)},focus:function(){this.$refs.picker.focus()},blur:function(){this.$refs.picker.blur()},transformValue:function(e){"value"in e&&(e.value=Tl(e.value,this.valueFormat)),"defaultValue"in e&&(e.defaultValue=Tl(e.defaultValue,this.valueFormat)),"defaultPickerValue"in e&&(e.defaultPickerValue=Tl(e.defaultPickerValue,this.valueFormat))},renderPicker:function(t,i){var r,a=this,s=this.$createElement,c=Object(C["l"])(this);this.transformValue(c);var u=c.prefixCls,d=c.inputPrefixCls,h=c.getCalendarContainer,f=c.size,p=c.showTime,m=c.disabled,v=c.format,g=p?n+"Time":n,y=v||t[bf[g]]||yf[g],b=this.configProvider,_=b.getPrefixCls,M=b.getPopupContainer,w=h||M,L=_("calendar",u),x=_("input",d),S=l()(L+"-picker",o()({},L+"-picker-"+f,!!f)),O=l()(L+"-picker-input",x,(r={},o()(r,x+"-lg","large"===f),o()(r,x+"-sm","small"===f),o()(r,x+"-disabled",m),r)),T=p&&p.format||"HH:mm:ss",z=k()({},pf(T),{format:T,use12Hours:p&&p.use12Hours}),H=_f(z),D=L+"-time-picker-column-"+H,V={props:k()({},z,p,{prefixCls:L+"-time-picker",placeholder:t.timePickerLocale.placeholder,transitionName:"slide-up"}),class:D,on:{esc:function(){}}},j=p?s(sf,V):null,Y={props:k()({},c,{getCalendarContainer:w,format:y,pickerClass:S,pickerInputClass:O,locale:t,localeCode:i,timePicker:j}),on:k()({},Object(C["k"])(this),{openChange:this.handleOpenChange,focus:this.handleFocus,blur:this.handleBlur,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,change:this.handleChange,ok:this.handleOk,calendarChange:this.handleCalendarChange}),ref:"picker",scopedSlots:this.$scopedSlots||{}};return s(e,Y,[this.$slots&&Object.keys(this.$slots).map((function(e){return s("template",{slot:e,key:e},[a.$slots[e]])}))])}},render:function(){var e=arguments[0];return e(j,{attrs:{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},scopedSlots:{default:this.renderPicker}})}}}function wf(){}var kf={mixins:[p["a"]],props:{prefixCls:s["a"].string,value:s["a"].any,hoverValue:s["a"].any,selectedValue:s["a"].any,direction:s["a"].any,locale:s["a"].any,showDateInput:s["a"].bool,showTimePicker:s["a"].bool,showWeekNumber:s["a"].bool,format:s["a"].any,placeholder:s["a"].any,disabledDate:s["a"].any,timePicker:s["a"].any,disabledTime:s["a"].any,disabledMonth:s["a"].any,mode:s["a"].any,timePickerDisabledTime:s["a"].object,enableNext:s["a"].any,enablePrev:s["a"].any,clearIcon:s["a"].any,dateRender:s["a"].func,inputMode:s["a"].string,inputReadOnly:s["a"].bool},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.value,r=t.hoverValue,a=t.selectedValue,o=t.mode,s=t.direction,c=t.locale,l=t.format,u=t.placeholder,d=t.disabledDate,h=t.timePicker,f=t.disabledTime,p=t.timePickerDisabledTime,m=t.showTimePicker,v=t.enablePrev,g=t.enableNext,y=t.disabledMonth,b=t.showDateInput,_=t.dateRender,M=t.showWeekNumber,w=t.showClear,L=t.inputMode,x=t.inputReadOnly,S=Object(C["g"])(this,"clearIcon"),O=Object(C["k"])(this),T=O.inputChange,z=void 0===T?wf:T,H=O.inputSelect,D=void 0===H?wf:H,V=O.valueChange,j=void 0===V?wf:V,Y=O.panelChange,P=void 0===Y?wf:Y,A=O.select,E=void 0===A?wf:A,F=O.dayHover,$=void 0===F?wf:F,I=m&&h,R=I&&f?Pc(a,f):null,N=n+"-range",W={locale:c,value:i,prefixCls:n,showTimePicker:m},K="left"===s?0:1,B=null;if(I){var U=Object(C["l"])(h);B=Object(Ln["a"])(h,{props:k()({showHour:!0,showMinute:!0,showSecond:!0},U,R,p,{defaultOpenValue:i,value:a[K]}),on:{change:z}})}var q=b&&e(wh,{attrs:{format:l,locale:c,prefixCls:n,timePicker:h,disabledDate:d,placeholder:u,disabledTime:f,value:i,showClear:w||!1,selectedValue:a[K],clearIcon:S,inputMode:L,inputReadOnly:x},on:{change:z,select:D}}),G={props:k()({},W,{mode:o,enableNext:g,enablePrev:v,disabledMonth:y}),on:{valueChange:j,panelChange:P}},J={props:k()({},W,{hoverValue:r,selectedValue:a,dateRender:_,disabledDate:d,showWeekNumber:M}),on:{select:E,dayHover:$}};return e("div",{class:N+"-part "+N+"-"+s},[q,e("div",{style:{outline:"none"}},[e(lh,G),m?e("div",{class:n+"-time-picker"},[e("div",{class:n+"-time-picker-panel"},[B])]):null,e("div",{class:n+"-body"},[e(qc,J)])])])}},Cf=kf;function Lf(){}function xf(e){return Array.isArray(e)&&(0===e.length||e.every((function(e){return!e})))}function Sf(e,t){if(e===t)return!0;if(null===e||"undefined"===typeof e||null===t||"undefined"===typeof t)return!1;if(e.length!==t.length)return!1;for(var n=0;n0&&(r[1-a]=this.sShowTimePicker?r[a]:void 0),this.__emit("inputSelect",r),this.fireSelectValueChange(r,null,n||{source:"dateInput"})}}var Df={props:{locale:s["a"].object.def(x),visible:s["a"].bool.def(!0),prefixCls:s["a"].string.def("rc-calendar"),dateInputPlaceholder:s["a"].any,seperator:s["a"].string.def("~"),defaultValue:s["a"].any,value:s["a"].any,hoverValue:s["a"].any,mode:s["a"].arrayOf(s["a"].oneOf(["time","date","month","year","decade"])),showDateInput:s["a"].bool.def(!0),timePicker:s["a"].any,showOk:s["a"].bool,showToday:s["a"].bool.def(!0),defaultSelectedValue:s["a"].array.def([]),selectedValue:s["a"].array,showClear:s["a"].bool,showWeekNumber:s["a"].bool,format:s["a"].oneOfType([s["a"].string,s["a"].arrayOf(s["a"].string),s["a"].func]),type:s["a"].any.def("both"),disabledDate:s["a"].func,disabledTime:s["a"].func.def(Lf),renderFooter:s["a"].func.def((function(){return null})),renderSidebar:s["a"].func.def((function(){return null})),dateRender:s["a"].func,clearIcon:s["a"].any,inputReadOnly:s["a"].bool},mixins:[p["a"],ol],data:function(){var e=this.$props,t=e.selectedValue||e.defaultSelectedValue,n=Tf(e,1);return{sSelectedValue:t,prevSelectedValue:t,firstSelectedValue:null,sHoverValue:e.hoverValue||[],sValue:n,sShowTimePicker:!1,sMode:e.mode||["date","date"],sPanelTriggerSource:""}},watch:{value:function(){var e={};e.sValue=Tf(this.$props,0),this.setState(e)},hoverValue:function(e){Sf(this.sHoverValue,e)||this.setState({sHoverValue:e})},selectedValue:function(e){var t={};t.sSelectedValue=e,t.prevSelectedValue=e,this.setState(t)},mode:function(e){Sf(this.sMode,e)||this.setState({sMode:e})}},methods:{onDatePanelEnter:function(){this.hasSelectedValue()&&this.fireHoverValueChange(this.sSelectedValue.concat())},onDatePanelLeave:function(){this.hasSelectedValue()&&this.fireHoverValueChange([])},onSelect:function(e){var t=this.type,n=this.sSelectedValue,i=this.prevSelectedValue,r=this.firstSelectedValue,a=void 0;if("both"===t)r?this.compare(r,e)<0?(Yc(i[1],e),a=[r,e]):(Yc(i[0],e),Yc(i[1],r),a=[e,r]):(Yc(i[0],e),a=[e]);else if("start"===t){Yc(i[0],e);var o=n[1];a=o&&this.compare(o,e)>0?[e,o]:[e]}else{var s=n[0];s&&this.compare(s,e)<=0?(Yc(i[1],e),a=[s,e]):(Yc(i[0],e),a=[e])}this.fireSelectValueChange(a)},onKeyDown:function(e){var t=this;if("input"!==e.target.nodeName.toLowerCase()){var n=e.keyCode,i=e.ctrlKey||e.metaKey,r=this.$data,a=r.sSelectedValue,o=r.sHoverValue,s=r.firstSelectedValue,c=r.sValue,l=this.$props.disabledDate,u=function(n){var i=void 0,r=void 0,l=void 0;if(s?1===o.length?(i=o[0].clone(),r=n(i),l=t.onDayHover(r)):(i=o[0].isSame(s,"day")?o[1]:o[0],r=n(i),l=t.onDayHover(r)):(i=o[0]||a[0]||c[0]||Sc()(),r=n(i),l=[r],t.fireHoverValueChange(l)),l.length>=2){var u=l.some((function(e){return!xh(c,e,"month")}));if(u){var d=l.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));d[0].isSame(d[1],"month")&&(d[1]=d[0].clone().add(1,"month")),t.fireValueChange(d)}}else if(1===l.length){var h=c.findIndex((function(e){return e.isSame(i,"month")}));if(-1===h&&(h=0),c.every((function(e){return!e.isSame(r,"month")}))){var f=c.slice();f[h]=r.clone(),t.fireValueChange(f)}}return e.preventDefault(),r};switch(n){case Be.DOWN:return void u((function(e){return Lh(e,1,"weeks")}));case Be.UP:return void u((function(e){return Lh(e,-1,"weeks")}));case Be.LEFT:return void u(i?function(e){return Lh(e,-1,"years")}:function(e){return Lh(e,-1,"days")});case Be.RIGHT:return void u(i?function(e){return Lh(e,1,"years")}:function(e){return Lh(e,1,"days")});case Be.HOME:return void u((function(e){return kh(e)}));case Be.END:return void u((function(e){return Ch(e)}));case Be.PAGE_DOWN:return void u((function(e){return Lh(e,1,"month")}));case Be.PAGE_UP:return void u((function(e){return Lh(e,-1,"month")}));case Be.ENTER:var d=void 0;return d=0===o.length?u((function(e){return e})):1===o.length?o[0]:o[0].isSame(s,"day")?o[1]:o[0],!d||l&&l(d)||this.onSelect(d),void e.preventDefault();default:this.__emit("keydown",e)}}},onDayHover:function(e){var t=[],n=this.sSelectedValue,i=this.firstSelectedValue,r=this.type;if("start"===r&&n[1])t=this.compare(e,n[1])<0?[e,n[1]]:[e];else if("end"===r&&n[0])t=this.compare(e,n[0])>0?[n[0],e]:[];else{if(!i)return this.sHoverValue.length&&this.setState({sHoverValue:[]}),t;t=this.compare(e,i)<0?[e,i]:[i,e]}return this.fireHoverValueChange(t),t},onToday:function(){var e=Hc(this.sValue[0]),t=e.clone().add(1,"months");this.setState({sValue:[e,t]})},onOpenTimePicker:function(){this.setState({sShowTimePicker:!0})},onCloseTimePicker:function(){this.setState({sShowTimePicker:!1})},onOk:function(){var e=this.sSelectedValue;this.isAllowedDateAndTime(e)&&this.__emit("ok",e)},onStartInputChange:function(){for(var e=arguments.length,t=Array(e),n=0;n-1},hasSelectedValue:function(){var e=this.sSelectedValue;return!!e[1]&&!!e[0]},compare:function(e,t){return this.timePicker?e.diff(t):e.diff(t,"days")},fireSelectValueChange:function(e,t,n){var i=this.timePicker,r=this.prevSelectedValue;if(i){var a=Object(C["l"])(i);if(a.defaultValue){var o=a.defaultValue;!r[0]&&e[0]&&Yc(o[0],e[0]),!r[1]&&e[1]&&Yc(o[1],e[1])}}if(!this.sSelectedValue[0]||!this.sSelectedValue[1]){var s=e[0]||Sc()(),c=e[1]||s.clone().add(1,"months");this.setState({sSelectedValue:e,sValue:e&&2===e.length?Of([s,c]):this.sValue})}e[0]&&!e[1]&&(this.setState({firstSelectedValue:e[0]}),this.fireHoverValueChange(e.concat())),this.__emit("change",e),(t||e[0]&&e[1])&&(this.setState({prevSelectedValue:e,firstSelectedValue:null}),this.fireHoverValueChange([]),this.__emit("select",e,n)),Object(C["s"])(this,"selectedValue")||this.setState({sSelectedValue:e})},fireValueChange:function(e){Object(C["s"])(this,"value")||this.setState({sValue:e}),this.__emit("valueChange",e)},fireHoverValueChange:function(e){Object(C["s"])(this,"hoverValue")||this.setState({sHoverValue:e}),this.__emit("hoverChange",e)},clear:function(){this.fireSelectValueChange([],!0),this.__emit("clear")},disabledStartTime:function(e){return this.disabledTime(e,"start")},disabledEndTime:function(e){return this.disabledTime(e,"end")},disabledStartMonth:function(e){var t=this.sValue;return e.isAfter(t[1],"month")},disabledEndMonth:function(e){var t=this.sValue;return e.isBefore(t[0],"month")}},render:function(){var e,t,n=arguments[0],i=Object(C["l"])(this),a=i.prefixCls,s=i.dateInputPlaceholder,c=i.timePicker,l=i.showOk,u=i.locale,d=i.showClear,h=i.showToday,f=i.type,p=i.seperator,m=Object(C["g"])(this,"clearIcon"),v=this.sHoverValue,g=this.sSelectedValue,y=this.sMode,b=this.sShowTimePicker,_=this.sValue,M=(e={},o()(e,a,1),o()(e,a+"-hidden",!i.visible),o()(e,a+"-range",1),o()(e,a+"-show-time-picker",b),o()(e,a+"-week-number",i.showWeekNumber),e),w={props:i,on:Object(C["k"])(this)},k={props:{selectedValue:g},on:{select:this.onSelect,dayHover:"start"===f&&g[1]||"end"===f&&g[0]||v.length?this.onDayHover:Lf}},L=void 0,x=void 0;if(s)if(Array.isArray(s)){var S=$t()(s,2);L=S[0],x=S[1]}else L=x=s;var O=!0===l||!1!==l&&!!c,T=(t={},o()(t,a+"-footer",!0),o()(t,a+"-range-bottom",!0),o()(t,a+"-footer-show-ok",O),t),z=this.getStartValue(),H=this.getEndValue(),D=Hc(z),V=D.month(),j=D.year(),Y=z.year()===j&&z.month()===V||H.year()===j&&H.month()===V,P=z.clone().add(1,"months"),A=P.year()===H.year()&&P.month()===H.month(),E=Object(C["x"])(w,k,{props:{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:z,mode:y[0],placeholder:L,showDateInput:this.showDateInput,timePicker:c,showTimePicker:b||"time"===y[0],enablePrev:!0,enableNext:!A||this.isMonthYearPanelShow(y[1]),clearIcon:m},on:{inputChange:this.onStartInputChange,inputSelect:this.onStartInputSelect,valueChange:this.onStartValueChange,panelChange:this.onStartPanelChange}}),F=Object(C["x"])(w,k,{props:{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:x,value:H,mode:y[1],showDateInput:this.showDateInput,timePicker:c,showTimePicker:b||"time"===y[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!A||this.isMonthYearPanelShow(y[0]),enableNext:!0,clearIcon:m},on:{inputChange:this.onEndInputChange,inputSelect:this.onEndInputSelect,valueChange:this.onEndValueChange,panelChange:this.onEndPanelChange}}),$=null;if(h){var I=Object(C["x"])(w,{props:{disabled:Y,value:_[0],text:u.backToToday},on:{today:this.onToday}});$=n(dh,r()([{key:"todayButton"},I]))}var R=null;if(i.timePicker){var N=Object(C["x"])(w,{props:{showTimePicker:b||"time"===y[0]&&"time"===y[1],timePickerDisabled:!this.hasSelectedValue()||v.length},on:{openTimePicker:this.onOpenTimePicker,closeTimePicker:this.onCloseTimePicker}});R=n(mh,r()([{key:"timePickerButton"},N]))}var W=null;if(O){var K=Object(C["x"])(w,{props:{okDisabled:!this.isAllowedDateAndTime(g)||!this.hasSelectedValue()||v.length},on:{ok:this.onOk}});W=n(fh,r()([{key:"okButtonNode"},K]))}var B=this.renderFooter(y);return n("div",{ref:"rootInstance",class:M,attrs:{tabIndex:"0"},on:{keydown:this.onKeyDown}},[i.renderSidebar(),n("div",{class:a+"-panel"},[d&&g[0]&&g[1]?n("a",{attrs:{role:"button",title:u.clear},on:{click:this.clear}},[m||n("span",{class:a+"-clear-btn"})]):null,n("div",{class:a+"-date-panel",on:{mouseleave:"both"!==f?this.onDatePanelLeave:Lf,mouseenter:"both"!==f?this.onDatePanelEnter:Lf}},[n(Cf,E),n("span",{class:a+"-range-middle"},[p]),n(Cf,F)]),n("div",{class:T},[h||i.timePicker||O||B?n("div",{class:a+"-footer-btn"},[B,$,R,W]):null])])])}},Vf=Df,jf=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"],Yf=new RegExp("^("+jf.join("|")+")(-inverse)?$"),Pf={name:"ATag",mixins:[p["a"]],model:{prop:"visible",event:"close.visible"},props:{prefixCls:s["a"].string,color:s["a"].string,closable:s["a"].bool.def(!1),visible:s["a"].bool,afterClose:s["a"].func},inject:{configProvider:{default:function(){return ce}}},data:function(){var e=!0,t=Object(C["l"])(this);return"visible"in t&&(e=this.visible),pe(!("afterClose"in t),"Tag","'afterClose' will be deprecated, please use 'close' event, we will remove this in the next version."),{_visible:e}},watch:{visible:function(e){this.setState({_visible:e})}},methods:{setVisible:function(e,t){this.$emit("close",t),this.$emit("close.visible",!1);var n=this.afterClose;n&&n(),t.defaultPrevented||Object(C["s"])(this,"visible")||this.setState({_visible:e})},handleIconClick:function(e){e.stopPropagation(),this.setVisible(!1,e)},isPresetColor:function(){var e=this.$props.color;return!!e&&Yf.test(e)},getTagStyle:function(){var e=this.$props.color,t=this.isPresetColor();return{backgroundColor:e&&!t?e:void 0}},getTagClassName:function(e){var t,n=this.$props.color,i=this.isPresetColor();return t={},o()(t,e,!0),o()(t,e+"-"+n,i),o()(t,e+"-has-color",n&&!i),t},renderCloseIcon:function(){var e=this.$createElement,t=this.$props.closable;return t?e(to,{attrs:{type:"close"},on:{click:this.handleIconClick}}):null}},render:function(){var e=arguments[0],t=this.$props.prefixCls,n=this.configProvider.getPrefixCls,i=n("tag",t),a=this.$data._visible,o=e("span",r()([{directives:[{name:"show",value:a}]},{on:Object(u["a"])(Object(C["k"])(this),["close"])},{class:this.getTagClassName(i),style:this.getTagStyle()}]),[this.$slots["default"],this.renderCloseIcon()]),s=Object(Cn["a"])(i+"-zoom",{appear:!1});return e(Wo,[e("transition",s,[o])])}},Af={name:"ACheckableTag",model:{prop:"checked"},props:{prefixCls:s["a"].string,checked:Boolean},inject:{configProvider:{default:function(){return ce}}},computed:{classes:function(){var e,t=this.checked,n=this.prefixCls,i=this.configProvider.getPrefixCls,r=i("tag",n);return e={},o()(e,""+r,!0),o()(e,r+"-checkable",!0),o()(e,r+"-checkable-checked",t),e}},methods:{handleClick:function(){var e=this.checked;this.$emit("input",!e),this.$emit("change",!e)}},render:function(){var e=arguments[0],t=this.classes,n=this.handleClick,i=this.$slots;return e("div",{class:t,on:{click:n}},[i["default"]])}};Pf.CheckableTag=Af,Pf.install=function(e){e.use(te),e.component(Pf.name,Pf),e.component(Pf.CheckableTag.name,Pf.CheckableTag)};var Ef=Pf,Ff=function(){return{name:s["a"].string,transitionName:s["a"].string,prefixCls:s["a"].string,inputPrefixCls:s["a"].string,format:s["a"].oneOfType([s["a"].string,s["a"].array,s["a"].func]),disabled:s["a"].bool,allowClear:s["a"].bool,suffixIcon:s["a"].any,popupStyle:s["a"].object,dropdownClassName:s["a"].string,locale:s["a"].any,localeCode:s["a"].string,size:s["a"].oneOf(["large","small","default"]),getCalendarContainer:s["a"].func,open:s["a"].bool,disabledDate:s["a"].func,showToday:s["a"].bool,dateRender:s["a"].any,pickerClass:s["a"].string,pickerInputClass:s["a"].string,timePicker:s["a"].any,autoFocus:s["a"].bool,tagPrefixCls:s["a"].string,tabIndex:s["a"].oneOfType([s["a"].string,s["a"].number]),align:s["a"].object.def((function(){return{}})),inputReadOnly:s["a"].bool,valueFormat:s["a"].string}},$f=function(){return{value:Ll,defaultValue:Ll,defaultPickerValue:Ll,renderExtraFooter:s["a"].any,placeholder:s["a"].string}},If=function(){return k()({},Ff(),$f(),{showTime:s["a"].oneOfType([s["a"].object,s["a"].bool]),open:s["a"].bool,disabledTime:s["a"].func,mode:s["a"].oneOf(["time","date","month","year","decade"])})},Rf=function(){return k()({},Ff(),$f(),{placeholder:s["a"].string,monthCellContentRender:s["a"].func})},Nf=function(){return k()({},Ff(),{tagPrefixCls:s["a"].string,value:xl,defaultValue:xl,defaultPickerValue:xl,timePicker:s["a"].any,showTime:s["a"].oneOfType([s["a"].object,s["a"].bool]),ranges:s["a"].object,placeholder:s["a"].arrayOf(String),mode:s["a"].oneOfType([s["a"].string,s["a"].arrayOf(String)]),separator:s["a"].any,disabledTime:s["a"].func,showToday:s["a"].bool,renderExtraFooter:s["a"].any})},Wf=function(){return k()({},Ff(),$f(),{placeholder:s["a"].string})},Kf={functional:!0,render:function(e,t){var n=t.props,i=n.suffixIcon,r=n.prefixCls;return(i&&Object(C["w"])(i)?Object(Ln["a"])(i,{class:r+"-picker-icon"}):e("span",{class:r+"-picker-icon"},[i]))||e(to,{attrs:{type:"calendar"},class:r+"-picker-icon"})}};function Bf(){}function Uf(e,t){var n=$t()(e,2),i=n[0],r=n[1];if(i||r){if(t&&"month"===t[0])return[i,r];var a=r&&r.isSame(i,"month")?r.clone().add(1,"month"):r;return[i,a]}}function qf(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Gf(e){return!!Array.isArray(e)&&(0===e.length||e.every((function(e){return!e})))}function Jf(e,t){if(t&&e&&0!==e.length){var n=$t()(e,2),i=n[0],r=n[1];i&&i.locale(t),r&&r.locale(t)}}var Xf={name:"ARangePicker",mixins:[p["a"]],model:{prop:"value",event:"change"},props:Object(C["t"])(Nf(),{allowClear:!0,showToday:!1,separator:"~"}),inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this.value||this.defaultValue||[],t=$t()(e,2),n=t[0],i=t[1];if(n&&!wl(xc).isMoment(n)||i&&!wl(xc).isMoment(i))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var r=!e||Gf(e)?this.defaultPickerValue:e;return{sValue:e,sShowDate:qf(r||wl(xc)()),sOpen:this.open,sHoverValue:[]}},watch:{value:function(e){var t=e||[],n={sValue:t};jt()(e,this.sValue)||(n=k()({},n,{sShowDate:Uf(t,this.mode)||this.sShowDate})),this.setState(n)},open:function(e){var t={sOpen:e};this.setState(t)},sOpen:function(e,t){var n=this;this.$nextTick((function(){Object(C["s"])(n,"open")||!t||e||n.focus()}))}},methods:{setValue:function(e,t){this.handleChange(e),!t&&this.showTime||Object(C["s"])(this,"open")||this.setState({sOpen:!1})},clearSelection:function(e){e.preventDefault(),e.stopPropagation(),this.setState({sValue:[]}),this.handleChange([])},clearHoverValue:function(){this.setState({sHoverValue:[]})},handleChange:function(e){Object(C["s"])(this,"value")||this.setState((function(t){var n=t.sShowDate;return{sValue:e,sShowDate:Uf(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var t=$t()(e,2),n=t[0],i=t[1];this.$emit("change",e,[Wh(n,this.format),Wh(i,this.format)])},handleOpenChange:function(e){Object(C["s"])(this,"open")||this.setState({sOpen:e}),!1===e&&this.clearHoverValue(),this.$emit("openChange",e)},handleShowDateChange:function(e){this.setState({sShowDate:e})},handleHoverChange:function(e){this.setState({sHoverValue:e})},handleRangeMouseLeave:function(){this.sOpen&&this.clearHoverValue()},handleCalendarInputSelect:function(e){var t=$t()(e,1),n=t[0];n&&this.setState((function(t){var n=t.sShowDate;return{sValue:e,sShowDate:Uf(e)||n}}))},handleRangeClick:function(e){"function"===typeof e&&(e=e()),this.setValue(e,!0),this.$emit("ok",e),this.$emit("openChange",!1)},onMouseEnter:function(e){this.$emit("mouseenter",e)},onMouseLeave:function(e){this.$emit("mouseleave",e)},focus:function(){this.$refs.picker.focus()},blur:function(){this.$refs.picker.blur()},renderFooter:function(){var e=this,t=this.$createElement,n=this.ranges,i=this.$scopedSlots,r=this.$slots,a=this._prefixCls,o=this._tagPrefixCls,s=this.renderExtraFooter||i.renderExtraFooter||r.renderExtraFooter;if(!n&&!s)return null;var c=s?t("div",{class:a+"-footer-extra",key:"extra"},["function"===typeof s?s():s]):null,l=n&&Object.keys(n).map((function(i){var r=n[i],a="function"===typeof r?r.call(e):r;return t(Ef,{key:i,attrs:{prefixCls:o,color:"blue"},on:{click:function(){return e.handleRangeClick(r)},mouseenter:function(){return e.setState({sHoverValue:a})},mouseleave:e.handleRangeMouseLeave}},[i])})),u=l&&l.length>0?t("div",{class:a+"-footer-extra "+a+"-range-quick-selector",key:"range"},[l]):null;return[u,c]}},render:function(){var e,t=this,n=arguments[0],i=Object(C["l"])(this),r=Object(C["g"])(this,"suffixIcon");r=Array.isArray(r)?r[0]:r;var a=this.sValue,s=this.sShowDate,c=this.sHoverValue,u=this.sOpen,d=this.$scopedSlots,h=Object(C["k"])(this),f=h.calendarChange,p=void 0===f?Bf:f,m=h.ok,v=void 0===m?Bf:m,g=h.focus,y=void 0===g?Bf:g,b=h.blur,_=void 0===b?Bf:b,M=h.panelChange,w=void 0===M?Bf:M,L=i.prefixCls,x=i.tagPrefixCls,S=i.popupStyle,O=i.disabledDate,T=i.disabledTime,z=i.showTime,H=i.showToday,D=i.ranges,V=i.locale,j=i.localeCode,Y=i.format,P=i.separator,A=i.inputReadOnly,E=this.configProvider.getPrefixCls,F=E("calendar",L),$=E("tag",x);this._prefixCls=F,this._tagPrefixCls=$;var I=i.dateRender||d.dateRender;Jf(a,j),Jf(s,j);var R=l()((e={},o()(e,F+"-time",z),o()(e,F+"-range-with-ranges",D),e)),N={on:{change:this.handleChange}},W={on:{ok:this.handleChange},props:{}};i.timePicker?N.on.change=function(e){return t.handleChange(e)}:W={on:{},props:{}},"mode"in i&&(W.props.mode=i.mode);var K=Array.isArray(i.placeholder)?i.placeholder[0]:V.lang.rangePlaceholder[0],B=Array.isArray(i.placeholder)?i.placeholder[1]:V.lang.rangePlaceholder[1],U=Object(C["x"])(W,{props:{separator:P,format:Y,prefixCls:F,renderFooter:this.renderFooter,timePicker:i.timePicker,disabledDate:O,disabledTime:T,dateInputPlaceholder:[K,B],locale:V.lang,dateRender:I,value:s,hoverValue:c,showToday:H,inputReadOnly:A},on:{change:p,ok:v,valueChange:this.handleShowDateChange,hoverChange:this.handleHoverChange,panelChange:w,inputSelect:this.handleCalendarInputSelect},class:R,scopedSlots:d}),q=n(Vf,U),G={};i.showTime&&(G.width="350px");var J=$t()(a,2),X=J[0],Z=J[1],Q=!i.disabled&&i.allowClear&&a&&(X||Z)?n(to,{attrs:{type:"close-circle",theme:"filled"},class:F+"-picker-clear",on:{click:this.clearSelection}}):null,ee=n(Kf,{attrs:{suffixIcon:r,prefixCls:F}}),te=function(e){var t=e.value,r=$t()(t,2),a=r[0],o=r[1];return n("span",{class:i.pickerInputClass},[n("input",{attrs:{disabled:i.disabled,readOnly:!0,placeholder:K,tabIndex:-1},domProps:{value:Wh(a,i.format)},class:F+"-range-picker-input"}),n("span",{class:F+"-range-picker-separator"},[" ",P," "]),n("input",{attrs:{disabled:i.disabled,readOnly:!0,placeholder:B,tabIndex:-1},domProps:{value:Wh(o,i.format)},class:F+"-range-picker-input"}),Q,ee])},ne=Object(C["x"])({props:i,on:h},N,{props:{calendar:q,value:a,open:u,prefixCls:F+"-picker-container"},on:{openChange:this.handleOpenChange},style:S,scopedSlots:k()({default:te},d)});return n("span",{ref:"picker",class:i.pickerClass,style:G,attrs:{tabIndex:i.disabled?-1:0},on:{focus:y,blur:_,mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave}},[n(Nh,ne)])}};function Zf(e,t){return e&&e.format(t)||""}function Qf(){}var ep={name:"AWeekPicker",mixins:[p["a"]],model:{prop:"value",event:"change"},props:Object(C["t"])(Wf(),{format:"gggg-wo",allowClear:!0}),inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this.value||this.defaultValue;if(e&&!wl(xc).isMoment(e))throw new Error("The value/defaultValue of WeekPicker or MonthPicker must be a moment object");return{_value:e,_open:this.open}},watch:{value:function(e){var t={_value:e};this.setState(t),this.prevState=k()({},this.$data,t)},open:function(e){var t={_open:e};this.setState(t),this.prevState=k()({},this.$data,t)},_open:function(e,t){var n=this;this.$nextTick((function(){Object(C["s"])(n,"open")||!t||e||n.focus()}))}},mounted:function(){this.prevState=k()({},this.$data)},updated:function(){var e=this;this.$nextTick((function(){Object(C["s"])(e,"open")||!e.prevState._open||e._open||e.focus()}))},methods:{weekDateRender:function(e){var t=this.$createElement,n=this.$data._value,i=this._prefixCls,r=this.$scopedSlots,a=this.dateRender||r.dateRender,o=a?a(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?t("div",{class:i+"-selected-day"},[t("div",{class:i+"-date"},[o])]):t("div",{class:i+"-date"},[o])},handleChange:function(e){Object(C["s"])(this,"value")||this.setState({_value:e}),this.$emit("change",e,Zf(e,this.format))},handleOpenChange:function(e){Object(C["s"])(this,"open")||this.setState({_open:e}),this.$emit("openChange",e)},clearSelection:function(e){e.preventDefault(),e.stopPropagation(),this.handleChange(null)},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},renderFooter:function(){var e=this.$createElement,t=this._prefixCls,n=this.$scopedSlots,i=this.renderExtraFooter||n.renderExtraFooter;return i?e("div",{class:t+"-footer-extra"},[i.apply(void 0,arguments)]):null}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=Object(C["g"])(this,"suffixIcon");n=Array.isArray(n)?n[0]:n;var i=this.prefixCls,r=this.disabled,a=this.pickerClass,o=this.popupStyle,s=this.pickerInputClass,c=this.format,l=this.allowClear,u=this.locale,d=this.localeCode,h=this.disabledDate,f=this.defaultPickerValue,p=this.$data,m=this.$scopedSlots,v=Object(C["k"])(this),g=this.configProvider.getPrefixCls,y=g("calendar",i);this._prefixCls=y;var b=p._value,_=p._open,M=v.focus,w=void 0===M?Qf:M,L=v.blur,x=void 0===L?Qf:L;b&&d&&b.locale(d);var S=Object(C["s"])(this,"placeholder")?this.placeholder:u.lang.placeholder,O=this.dateRender||m.dateRender||this.weekDateRender,T=e(Hh,{attrs:{showWeekNumber:!0,dateRender:O,prefixCls:y,format:c,locale:u.lang,showDateInput:!1,showToday:!1,disabledDate:h,renderFooter:this.renderFooter,defaultValue:f}}),z=!r&&l&&p._value?e(to,{attrs:{type:"close-circle",theme:"filled"},class:y+"-picker-clear",on:{click:this.clearSelection}}):null,H=e(Kf,{attrs:{suffixIcon:n,prefixCls:y}}),D=function(t){var n=t.value;return e("span",{style:{display:"inline-block",width:"100%"}},[e("input",{ref:"input",attrs:{disabled:r,readOnly:!0,placeholder:S},domProps:{value:n&&n.format(c)||""},class:s,on:{focus:w,blur:x}}),z,H])},V={props:k()({},t,{calendar:T,prefixCls:y+"-picker-container",value:b,open:_}),on:k()({},v,{change:this.handleChange,openChange:this.handleOpenChange}),style:o,scopedSlots:k()({default:D},m)};return e("span",{class:a},[e(Nh,V)])}},tp=Mf(k()({},Bh(Hh,If()),{name:"ADatePicker"}),If(),"date"),np=Mf(k()({},Bh(Vh,Rf()),{name:"AMonthPicker"}),Rf(),"month");k()(tp,{RangePicker:Mf(Xf,Nf(),"date"),MonthPicker:np,WeekPicker:Mf(ep,Wf(),"week")}),tp.install=function(e){e.use(te),e.component(tp.name,tp),e.component(tp.RangePicker.name,tp.RangePicker),e.component(tp.MonthPicker.name,tp.MonthPicker),e.component(tp.WeekPicker.name,tp.WeekPicker)};var ip=tp,rp={name:"ADivider",props:{prefixCls:s["a"].string,type:s["a"].oneOf(["horizontal","vertical",""]).def("horizontal"),dashed:s["a"].bool,orientation:s["a"].oneOf(["left","right","center"])},inject:{configProvider:{default:function(){return ce}}},render:function(){var e,t=arguments[0],n=this.prefixCls,i=this.type,r=this.$slots,a=this.dashed,s=this.orientation,c=void 0===s?"center":s,l=this.configProvider.getPrefixCls,u=l("divider",n),d=c.length>0?"-"+c:c,h=(e={},o()(e,u,!0),o()(e,u+"-"+i,!0),o()(e,u+"-with-text"+d,r["default"]),o()(e,u+"-dashed",!!a),e);return t("div",{class:h,attrs:{role:"separator"}},[r["default"]&&t("span",{class:u+"-inner-text"},[r["default"]])])},install:function(e){e.use(te),e.component(rp.name,rp)}},ap=rp;Ns.Button=$s,Ns.install=function(e){e.use(te),e.component(Ns.name,Ns),e.component($s.name,$s)};var op=Ns,sp=n("c005"),cp=n.n(sp),lp=n("3852"),up=n.n(lp),dp=n("2a95"),hp=n("9b02"),fp=n.n(hp),pp=n("0f5c"),mp=n.n(pp),vp=n("9638"),gp=n.n(vp),yp=n("8827"),bp=n.n(yp),_p=n("57ba"),Mp=n.n(_p),wp=function e(t){bp()(this,e),k()(this,t)};function kp(e){return e instanceof wp}function Cp(e){return kp(e)?e:new wp(e)}function Lp(e){return e.name||"WrappedComponent"}function xp(e,t){return e.name="Form_"+Lp(t),e.WrappedComponent=t,e.props=k()({},e.props,t.props),e}function Sp(e){return e}function Op(e){return Array.prototype.concat.apply([],e)}function Tp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],n=arguments[2],i=arguments[3],r=arguments[4];if(n(e,t))r(e,t);else if(void 0===t||null===t);else if(Array.isArray(t))t.forEach((function(t,a){return Tp(e+"["+a+"]",t,n,i,r)}));else{if("object"!==("undefined"===typeof t?"undefined":M()(t)))return void wn()(!1,i);Object.keys(t).forEach((function(a){var o=t[a];Tp(e+(e?".":"")+a,o,n,i,r)}))}}function zp(e,t,n){var i={};return Tp(void 0,e,t,n,(function(e,t){i[e]=t})),i}function Hp(e,t,n){var i=e.map((function(e){var t=k()({},e,{trigger:e.trigger||[]});return"string"===typeof t.trigger&&(t.trigger=[t.trigger]),t}));return t&&i.push({trigger:n?[].concat(n):[],rules:t}),i}function Dp(e){return e.filter((function(e){return!!e.rules&&e.rules.length})).map((function(e){return e.trigger})).reduce((function(e,t){return e.concat(t)}),[])}function Vp(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function jp(e){return e?e.map((function(e){return e&&e.message?e.message:e})):e}function Yp(e,t,n){var i=e,r=t,a=n;return void 0===n&&("function"===typeof i?(a=i,r={},i=void 0):Array.isArray(i)?"function"===typeof r?(a=r,r={}):r=r||{}:(a=r,r=i||{},i=void 0)),{names:i,options:r,callback:a}}function Pp(e){return 0===Object.keys(e).length}function Ap(e){return!!e&&e.some((function(e){return e.rules&&e.rules.length}))}function Ep(e,t){return 0===e.lastIndexOf(t,0)}function Fp(e,t){return 0===t.indexOf(e)&&-1!==[".","["].indexOf(t[e.length])}function $p(e){return zp(e,(function(e,t){return kp(t)}),"You must wrap field data with `createFormField`.")}var Ip=function(){function e(t){bp()(this,e),Rp.call(this),this.fields=$p(t),this.fieldsMeta={}}return Mp()(e,[{key:"updateFields",value:function(e){this.fields=$p(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return zp(e,(function(e){return t.indexOf(e)>=0}),'You cannot set a form field before rendering a field associated with the value. You can use `getFieldDecorator(id, options)` instead `v-decorator="[id, options]"` to register it before render.')}},{key:"setFields",value:function(e){var t=this,n=this.fieldsMeta,i=k()({},this.fields,e),r={};Object.keys(n).forEach((function(e){r[e]=t.getValueFromFields(e,i)})),Object.keys(r).forEach((function(e){var n=r[e],a=t.getFieldMeta(e);if(a&&a.normalize){var o=a.normalize(n,t.getValueFromFields(e,t.fields),r);o!==n&&(i[e]=k()({},i[e],{value:o}))}})),this.fields=i}},{key:"resetFields",value:function(e){var t=this.fields,n=e?this.getValidFieldsFullName(e):this.getAllFieldsName();return n.reduce((function(e,n){var i=t[n];return i&&"value"in i&&(e[n]={}),e}),{})}},{key:"setFieldMeta",value:function(e,t){this.fieldsMeta[e]=t}},{key:"setFieldsAsDirty",value:function(){var e=this;Object.keys(this.fields).forEach((function(t){var n=e.fields[t],i=e.fieldsMeta[t];n&&i&&Ap(i.validate)&&(e.fields[t]=k()({},n,{dirty:!0}))}))}},{key:"getFieldMeta",value:function(e){return this.fieldsMeta[e]=this.fieldsMeta[e]||{},this.fieldsMeta[e]}},{key:"getValueFromFields",value:function(e,t){var n=t[e];if(n&&"value"in n)return n.value;var i=this.getFieldMeta(e);return i&&i.initialValue}},{key:"getValidFieldsName",value:function(){var e=this,t=this.fieldsMeta;return t?Object.keys(t).filter((function(t){return!e.getFieldMeta(t).hidden})):[]}},{key:"getAllFieldsName",value:function(){var e=this.fieldsMeta;return e?Object.keys(e):[]}},{key:"getValidFieldsFullName",value:function(e){var t=Array.isArray(e)?e:[e];return this.getValidFieldsName().filter((function(e){return t.some((function(t){return e===t||Ep(e,t)&&[".","["].indexOf(e[t.length])>=0}))}))}},{key:"getFieldValuePropValue",value:function(e){var t=e.name,n=e.getValueProps,i=e.valuePropName,r=this.getField(t),a="value"in r?r.value:e.initialValue;return n?n(a):o()({},i,a)}},{key:"getField",value:function(e){return k()({},this.fields[e],{name:e})}},{key:"getNotCollectedFields",value:function(){var e=this,t=this.getValidFieldsName();return t.filter((function(t){return!e.fields[t]})).map((function(t){return{name:t,dirty:!1,value:e.getFieldMeta(t).initialValue}})).reduce((function(e,t){return mp()(e,t.name,Cp(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return mp()(t,n,Cp(e.fields[n]))}),this.getNotCollectedFields())}},{key:"getFieldMember",value:function(e,t){return this.getField(e)[t]}},{key:"getNestedFields",value:function(e,t){var n=e||this.getValidFieldsName();return n.reduce((function(e,n){return mp()(e,n,t(n))}),{})}},{key:"getNestedField",value:function(e,t){var n=this.getValidFieldsFullName(e);if(0===n.length||1===n.length&&n[0]===e)return t(e);var i="["===n[0][e.length],r=i?e.length:e.length+1;return n.reduce((function(e,n){return mp()(e,n.slice(r),t(n))}),i?[]:{})}},{key:"isValidNestedFieldName",value:function(e){var t=this.getAllFieldsName();return t.every((function(t){return!Fp(t,e)&&!Fp(e,t)}))}},{key:"clearField",value:function(e){delete this.fields[e],delete this.fieldsMeta[e]}}]),e}(),Rp=function(){var e=this;this.setFieldsInitialValue=function(t){var n=e.flattenRegisteredFields(t),i=e.fieldsMeta;Object.keys(n).forEach((function(t){i[t]&&e.setFieldMeta(t,k()({},e.getFieldMeta(t),{initialValue:n[t]}))}))},this.getAllValues=function(){var t=e.fieldsMeta,n=e.fields;return Object.keys(t).reduce((function(t,i){return mp()(t,i,e.getValueFromFields(i,n))}),{})},this.getFieldsValue=function(t){return e.getNestedFields(t,e.getFieldValue)},this.getFieldValue=function(t){var n=e.fields;return e.getNestedField(t,(function(t){return e.getValueFromFields(t,n)}))},this.getFieldsError=function(t){return e.getNestedFields(t,e.getFieldError)},this.getFieldError=function(t){return e.getNestedField(t,(function(t){return jp(e.getFieldMember(t,"errors"))}))},this.isFieldValidating=function(t){return e.getFieldMember(t,"validating")},this.isFieldsValidating=function(t){var n=t||e.getValidFieldsName();return n.some((function(t){return e.isFieldValidating(t)}))},this.isFieldTouched=function(t){return e.getFieldMember(t,"touched")},this.isFieldsTouched=function(t){var n=t||e.getValidFieldsName();return n.some((function(t){return e.isFieldTouched(t)}))}};function Np(e){return new Ip(e)}var Wp="change";function Kp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.validateMessages,i=e.onFieldsChange,r=e.onValuesChange,a=e.mapProps,c=void 0===a?Sp:a,l=e.mapPropsToFields,u=e.fieldNameProp,d=e.fieldMetaProp,h=e.fieldDataProp,f=e.formPropName,m=void 0===f?"form":f,g=e.name,y=e.props,b=void 0===y?{}:y,_=e.templateContext;return function(e){var a={};Array.isArray(b)?b.forEach((function(e){a[e]=s["a"].any})):a=b;var f={mixins:[p["a"]].concat(v()(t)),props:k()({},a,{wrappedComponentRef:s["a"].func.def((function(){}))}),data:function(){var e=this,t=l&&l(this.$props);return this.fieldsStore=Np(t||{}),this.templateContext=_,this.instances={},this.cachedBind={},this.clearedFieldMetaCache={},this.formItems={},this.renderFields={},this.domFields={},["getFieldsValue","getFieldValue","setFieldsInitialValue","getFieldsError","getFieldError","isFieldValidating","isFieldsValidating","isFieldsTouched","isFieldTouched"].forEach((function(t){e[t]=function(){var n;return(n=e.fieldsStore)[t].apply(n,arguments)}})),{submitting:!1}},watch:_?{}:{$props:{handler:function(e){l&&this.fieldsStore.updateFields(l(e))},deep:!0}},mounted:function(){this.cleanUpUselessFields()},updated:function(){this.cleanUpUselessFields()},methods:{updateFields:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fieldsStore.updateFields(l(e)),_&&_.$forceUpdate()},onCollectCommon:function(e,t,n){var i=this.fieldsStore.getFieldMeta(e);if(i[t])i[t].apply(i,v()(n));else if(i.originalProps&&i.originalProps[t]){var a;(a=i.originalProps)[t].apply(a,v()(n))}var s=i.getValueFromEvent?i.getValueFromEvent.apply(i,v()(n)):Vp.apply(void 0,v()(n));if(r&&s!==this.fieldsStore.getFieldValue(e)){var c=this.fieldsStore.getAllValues(),l={};c[e]=s,Object.keys(c).forEach((function(e){return mp()(l,e,c[e])})),r(k()(o()({},m,this.getForm()),this.$props),mp()({},e,s),l)}var u=this.fieldsStore.getField(e);return{name:e,field:k()({},u,{value:s,touched:!0}),fieldMeta:i}},onCollect:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r2?n-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Must call `getFieldProps` with valid name string!");delete this.clearedFieldMetaCache[e];var i=k()({name:e,trigger:Wp,valuePropName:"value",validate:[]},n),r=i.rules,a=i.trigger,o=i.validateTrigger,s=void 0===o?a:o,c=i.validate,l=this.fieldsStore.getFieldMeta(e);"initialValue"in i&&(l.initialValue=i.initialValue);var f=k()({},this.fieldsStore.getFieldValuePropValue(i)),p={},m={};u&&(f[u]=g?g+"_"+e:e);var v=Hp(c,r,s),y=Dp(v);y.forEach((function(n){p[n]||(p[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===y.indexOf(a)&&(p[a]=this.getCacheBind(e,a,this.onCollect));var b=k()({},l,i,{validate:v});return this.fieldsStore.setFieldMeta(e,b),d&&(m[d]=b),h&&(m[h]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,{props:Yh()(f,["id"]),domProps:{value:f.value},attrs:k()({},m,{id:f.id}),directives:[{name:"ant-ref",value:this.getCacheBind(e,e+"__ref",this.saveRef)}],on:p}},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){var n=e.validate.filter((function(e){return!t||e.trigger.indexOf(t)>=0})).map((function(e){return e.rules}));return Op(n)},setFields:function(e,t){var n=this,r=this.fieldsStore.flattenRegisteredFields(e);this.fieldsStore.setFields(r);var a=Object.keys(r).reduce((function(e,t){return mp()(e,t,n.fieldsStore.getField(t))}),{});if(i){var o=Object.keys(r).reduce((function(e,t){return mp()(e,t,n.fieldsStore.getField(t))}),{});i(this,o,this.fieldsStore.getNestedAllFields())}var s=_||this,c=!1;Object.keys(a).forEach((function(e){var t=n.formItems[e];t="function"===typeof t?t():t,t&&t.itemSelfUpdate?t.$forceUpdate():c=!0})),c&&s.$forceUpdate(),this.$nextTick((function(){t&&t()}))},setFieldsValue:function(e,t){var n=this.fieldsStore.fieldsMeta,i=this.fieldsStore.flattenRegisteredFields(e),a=Object.keys(i).reduce((function(e,t){var r=n[t];if(r){var a=i[t];e[t]={value:a}}return e}),{});if(this.setFields(a,t),r){var s=this.fieldsStore.getAllValues();r(k()(o()({},m,this.getForm()),this.$props),e,s)}},saveRef:function(e,t,n){if(!n){var i=this.fieldsStore.getFieldMeta(e);return i.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:i},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e),this.instances[e]=n},cleanUpUselessFields:function(){var e=this,t=this.fieldsStore.getAllFieldsName(),n=t.filter((function(t){var n=e.fieldsStore.getFieldMeta(t);return!e.renderFields[t]&&!e.domFields[t]&&!n.preserve}));n.length&&n.forEach(this.clearField),this.renderFields={}},clearField:function(e){this.fieldsStore.clearField(e),delete this.instances[e],delete this.cachedBind[e]},resetFields:function(e){var t=this,n=this.fieldsStore.resetFields(e);if(Object.keys(n).length>0&&this.setFields(n),e){var i=Array.isArray(e)?e:[e];i.forEach((function(e){return delete t.clearedFieldMetaCache[e]}))}else this.clearedFieldMetaCache={}},recoverClearedField:function(e){this.clearedFieldMetaCache[e]&&(this.fieldsStore.setFields(o()({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,i){var r=this,a=t.fieldNames,o=t.action,s=t.options,c=void 0===s?{}:s,l={},u={},d={},h={};if(e.forEach((function(e){var t=e.name;if(!0===c.force||!1!==e.dirty){var n=r.fieldsStore.getFieldMeta(t),i=k()({},e);i.errors=void 0,i.validating=!0,i.dirty=!0,l[t]=r.getRules(n,o),u[t]=i.value,d[t]=i}else e.errors&&mp()(h,t,{errors:e.errors})})),this.setFields(d),Object.keys(u).forEach((function(e){u[e]=r.fieldsStore.getFieldValue(e)})),i&&Pp(d))i(Pp(h)?null:h,this.fieldsStore.getFieldsValue(a));else{var f=new dp["a"](l);n&&f.messages(n),f.validate(u,c,(function(e){var t=k()({},h);e&&e.length&&e.forEach((function(e){var n=e.field,i=n;Object.keys(l).some((function(e){var t=l[e]||[];if(e===n)return i=e,!0;if(t.every((function(e){var t=e.type;return"array"!==t}))&&0!==n.indexOf(e))return!1;var r=n.slice(e.length+1);return!!/^\d+$/.test(r)&&(i=e,!0)}));var r=fp()(t,i);("object"!==("undefined"===typeof r?"undefined":M()(r))||Array.isArray(r))&&mp()(t,i,{errors:[]});var a=fp()(t,i.concat(".errors"));a.push(e)}));var n=[],o={};Object.keys(l).forEach((function(e){var i=fp()(t,e),a=r.fieldsStore.getField(e);gp()(a.value,u[e])?(a.errors=i&&i.errors,a.value=u[e],a.validating=!1,a.dirty=!1,o[e]=a):n.push({name:e})})),r.setFields(o),i&&(n.length&&n.forEach((function(e){var n=e.name,i=[{message:n+" need to revalidate",field:n}];mp()(t,n,{expired:!0,errors:i})})),i(Pp(t)?null:t,r.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var i=this,r=new Promise((function(r,a){var o=Yp(e,t,n),s=o.names,c=o.options,l=Yp(e,t,n),u=l.callback;if(!u||"function"===typeof u){var d=u;u=function(e,t){d?d(e,t):e?a({errors:e,values:t}):r(t)}}var h=s?i.fieldsStore.getValidFieldsFullName(s):i.fieldsStore.getValidFieldsName(),f=h.filter((function(e){var t=i.fieldsStore.getFieldMeta(e);return Ap(t.validate)})).map((function(e){var t=i.fieldsStore.getField(e);return t.value=i.fieldsStore.getFieldValue(e),t}));f.length?("firstFields"in c||(c.firstFields=h.filter((function(e){var t=i.fieldsStore.getFieldMeta(e);return!!t.validateFirst}))),i.validateFieldsInternal(f,{fieldNames:h,options:c},u)):u(null,i.fieldsStore.getFieldsValue(h))}));return r["catch"]((function(e){return console.error,e})),r},isSubmitting:function(){return this.submitting},submit:function(e){var t=this;var n=function(){t.setState({submitting:!1})};this.setState({submitting:!0}),e(n)}},render:function(){var t=arguments[0],n=this.$slots,i=this.$scopedSlots,r=o()({},m,this.getForm()),a=Object(C["l"])(this),s=a.wrappedComponentRef,l=We()(a,["wrappedComponentRef"]),u={props:c.call(this,k()({},r,l)),on:Object(C["k"])(this),ref:"WrappedComponent",directives:[{name:"ant-ref",value:s}]};Object.keys(i).length&&(u.scopedSlots=i);var d=Object.keys(n);return e?t(e,u,[d.length?d.map((function(e){return t("template",{slot:e},[n[e]])})):null]):null}};if(!e)return f;if(Array.isArray(e.props)){var y={};e.props.forEach((function(e){y[e]=s["a"].any})),y[m]=Object,e.props=y}else e.props=e.props||{},m in e.props||(e.props[m]=Object);return xp(f,e)}}var Bp=Kp,Up={methods:{getForm:function(){return{getFieldsValue:this.fieldsStore.getFieldsValue,getFieldValue:this.fieldsStore.getFieldValue,getFieldInstance:this.getFieldInstance,setFieldsValue:this.setFieldsValue,setFields:this.setFields,setFieldsInitialValue:this.fieldsStore.setFieldsInitialValue,getFieldDecorator:this.getFieldDecorator,getFieldProps:this.getFieldProps,getFieldsError:this.fieldsStore.getFieldsError,getFieldError:this.fieldsStore.getFieldError,isFieldValidating:this.fieldsStore.isFieldValidating,isFieldsValidating:this.fieldsStore.isFieldsValidating,isFieldsTouched:this.fieldsStore.isFieldsTouched,isFieldTouched:this.fieldsStore.isFieldTouched,isSubmitting:this.isSubmitting,submit:this.submit,validateFields:this.validateFields,resetFields:this.resetFields}}}};function qp(e,t){var n=window.getComputedStyle,i=n?n(e):e.currentStyle;if(i)return i[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}function Gp(e){var t=e,n=void 0;while("body"!==(n=t.nodeName.toLowerCase())){var i=qp(t,"overflowY");if(t!==e&&("auto"===i||"scroll"===i)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===n?t.ownerDocument:t}var Jp={methods:{getForm:function(){return k()({},Up.methods.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var i=this,r=Yp(e,t,n),a=r.names,o=r.callback,s=r.options,c=function(e,t){if(e){var n=i.fieldsStore.getValidFieldsName(),r=void 0,a=void 0;if(n.forEach((function(t){if(up()(e,t)){var n=i.getFieldInstance(t);if(n){var o=n.$el||n.elm,s=o.getBoundingClientRect().top;"hidden"!==o.type&&(void 0===a||a>s)&&(a=s,r=o)}}})),r){var c=s.container||Gp(r);Dt(r,c,k()({onlyScrollIfNeeded:!0},s.scroll))}}"function"===typeof o&&o(e,t)};return this.validateFields(a,s,c)}}};function Xp(e){return Bp(k()({},e),[Jp])}var Zp=Xp,Qp=n("2769"),em=n.n(Qp),tm="data-__meta",nm="data-__field";function im(){}function rm(e){return e.reduce((function(e,t){return[].concat(v()(e),[" ",t])}),[]).slice(1)}var am={id:s["a"].string,htmlFor:s["a"].string,prefixCls:s["a"].string,label:s["a"].any,labelCol:s["a"].shape(Ru).loose,wrapperCol:s["a"].shape(Ru).loose,help:s["a"].any,extra:s["a"].any,validateStatus:s["a"].oneOf(["","success","warning","error","validating"]),hasFeedback:s["a"].bool,required:s["a"].bool,colon:s["a"].bool,fieldDecoratorId:s["a"].string,fieldDecoratorOptions:s["a"].object,selfUpdate:s["a"].bool,labelAlign:s["a"].oneOf(["left","right"])};function om(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=!1,i=0,r=e.length;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[],i=0;i0)break;var r=e[i];if((r.tag||""!==r.text.trim())&&!Object(C["o"])(r).__ANT_FORM_ITEM){var a=Object(C["d"])(r),o=r.data&&r.data.attrs||{};tm in o?n.push(r):a&&(n=n.concat(this.getControls(a,t)))}}return n},getOnlyControl:function(){var e=this.getControls(this.slotDefault,!1)[0];return void 0!==e?e:null},getChildAttr:function(e){var t=this.getOnlyControl(),n={};if(t)return t.data?n=t.data:t.$vnode&&t.$vnode.data&&(n=t.$vnode.data),n[e]||n.attrs[e]},getId:function(){return this.getChildAttr("id")},getMeta:function(){return this.getChildAttr(tm)},getField:function(){return this.getChildAttr(nm)},getValidateStatus:function(){var e=this.getOnlyControl();if(!e)return"";var t=this.getField();if(t.validating)return"validating";if(t.errors)return"error";var n="value"in t?t.value:this.getMeta().initialValue;return void 0!==n&&null!==n&&""!==n?"success":""},onLabelClick:function(){var e=this.id||this.getId();if(e){var t=this.$el,n=t.querySelector('[id="'+e+'"]');n&&n.focus&&n.focus()}},onHelpAnimEnd:function(e,t){this.helpShow=t,t||this.$forceUpdate()},isRequired:function(){var e=this.required;if(void 0!==e)return e;if(this.getOnlyControl()){var t=this.getMeta()||{},n=t.validate||[];return n.filter((function(e){return!!e.rules})).some((function(e){return e.rules.some((function(e){return e.required}))}))}return!1},renderHelp:function(e){var t=this,n=this.$createElement,i=this.getHelpMessage(),a=i?n("div",{class:e+"-explain",key:"help"},[i]):null;a&&(this.helpShow=!!a);var o=Object(Cn["a"])("show-help",{afterEnter:function(){return t.onHelpAnimEnd("help",!0)},afterLeave:function(){return t.onHelpAnimEnd("help",!1)}});return n("transition",r()([o,{key:"help"}]),[a])},renderExtra:function(e){var t=this.$createElement,n=Object(C["g"])(this,"extra");return n?t("div",{class:e+"-extra"},[n]):null},renderValidateWrapper:function(e,t,n,i){var r=this.$createElement,a=this.$props,o=this.getOnlyControl,s=void 0===a.validateStatus&&o?this.getValidateStatus():a.validateStatus,c=e+"-item-control";s&&(c=l()(e+"-item-control",{"has-feedback":s&&a.hasFeedback,"has-success":"success"===s,"has-warning":"warning"===s,"has-error":"error"===s,"is-validating":"validating"===s}));var u="";switch(s){case"success":u="check-circle";break;case"warning":u="exclamation-circle";break;case"error":u="close-circle";break;case"validating":u="loading";break;default:u="";break}var d=a.hasFeedback&&u?r("span",{class:e+"-item-children-icon"},[r(to,{attrs:{type:u,theme:"loading"===u?"outlined":"filled"}})]):null;return r("div",{class:c},[r("span",{class:e+"-item-children"},[t,d]),n,i])},renderWrapper:function(e,t){var n=this.$createElement,i=this.isFormItemChildren?{}:this.FormContext,r=i.wrapperCol,a=this.wrapperCol,o=a||r||{},s=o.style,c=o.id,u=o.on,d=We()(o,["style","id","on"]),h=l()(e+"-item-control-wrapper",o["class"]),f={props:d,class:h,key:"wrapper",style:s,id:c,on:u};return n(Nu,f,[t])},renderLabel:function(e){var t,n=this.$createElement,i=this.FormContext,r=i.vertical,a=i.labelAlign,s=i.labelCol,c=i.colon,u=this.labelAlign,d=this.labelCol,h=this.colon,f=this.id,p=this.htmlFor,m=Object(C["g"])(this,"label"),v=this.isRequired(),g=d||s||{},y=u||a,b=e+"-item-label",_=l()(b,"left"===y&&b+"-left",g["class"]),M=(g["class"],g.style),w=g.id,k=g.on,L=We()(g,["class","style","id","on"]),x=m,S=!0===h||!1!==c&&!1!==h,O=S&&!r;O&&"string"===typeof m&&""!==m.trim()&&(x=m.replace(/[::]\s*$/,""));var T=l()((t={},o()(t,e+"-item-required",v),o()(t,e+"-item-no-colon",!S),t)),z={props:L,class:_,key:"label",style:M,id:w,on:k};return m?n(Nu,z,[n("label",{attrs:{for:p||f||this.getId(),title:"string"===typeof m?m:""},class:T,on:{click:this.onLabelClick}},[x])]):null},renderChildren:function(e){return[this.renderLabel(e),this.renderWrapper(e,this.renderValidateWrapper(e,this.slotDefault,this.renderHelp(e),this.renderExtra(e)))]},renderFormItem:function(){var e,t=this.$createElement,n=this.$props.prefixCls,i=this.configProvider.getPrefixCls,r=i("form",n),a=this.renderChildren(r),s=(e={},o()(e,r+"-item",!0),o()(e,r+"-item-with-help",this.helpShow),e);return t(Au,{class:l()(s),key:"row"},[a])},decoratorOption:function(e){if(e.data&&e.data.directives){var t=em()(e.data.directives,["name","decorator"]);return pe(!t||t&&Array.isArray(t.value),"Form",'Invalid directive: type check failed for directive "decorator". Expected Array, got '+M()(t?t.value:t)+". At "+e.tag+"."),t?t.value:null}return null},decoratorChildren:function(e){for(var t=this.FormContext,n=t.form.getFieldDecorator,i=0,r=e.length;i1),"Form","`autoFormCreate` just `decorator` then first children. but you can use JSX to support multiple children"),this.slotDefault=o}else a.form?(o=Object(Ln["b"])(o),this.slotDefault=this.decoratorChildren(o)):this.slotDefault=o;return this.renderFormItem()}},cm=(s["a"].func,s["a"].func,s["a"].func,s["a"].any,s["a"].bool,s["a"].string,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,s["a"].func,{layout:s["a"].oneOf(["horizontal","inline","vertical"]),labelCol:s["a"].shape(Ru).loose,wrapperCol:s["a"].shape(Ru).loose,colon:s["a"].bool,labelAlign:s["a"].oneOf(["left","right"]),form:s["a"].object,prefixCls:s["a"].string,hideRequiredMark:s["a"].bool,autoFormCreate:s["a"].func,options:s["a"].object,selfUpdate:s["a"].bool}),lm=(s["a"].oneOfType([s["a"].string,s["a"].func]),s["a"].string,s["a"].boolean,s["a"].boolean,s["a"].number,s["a"].number,s["a"].number,s["a"].oneOfType([String,s["a"].arrayOf(String)]),s["a"].custom(cp.a),s["a"].func,s["a"].func,{name:"AForm",props:Object(C["t"])(cm,{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:sm,createFormField:Cp,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zp(k()({fieldNameProp:"id"},e,{fieldMetaProp:tm,fieldDataProp:nm}))},createForm:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=te.Vue||kn["a"];return new n(lm.create(k()({},t,{templateContext:e}))())},created:function(){this.formItemContexts=new Map},provide:function(){var e=this;return{FormContext:this,collectFormItemContext:this.form&&this.form.templateContext?function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"add",i=e.formItemContexts,r=i.get(t)||0;"delete"===n?r<=1?i["delete"](t):i.set(t,r-1):t!==e.form.templateContext&&i.set(t,r+1)}:function(){}}},inject:{configProvider:{default:function(){return ce}}},watch:{form:function(){this.$forceUpdate()}},computed:{vertical:function(){return"vertical"===this.layout}},beforeUpdate:function(){this.formItemContexts.forEach((function(e,t){t.$forceUpdate&&t.$forceUpdate()}))},updated:function(){this.form&&this.form.cleanUpUselessFields&&this.form.cleanUpUselessFields()},methods:{onSubmit:function(e){Object(C["k"])(this).submit?this.$emit("submit",e):e.preventDefault()}},render:function(){var e,t=this,n=arguments[0],i=this.prefixCls,r=this.hideRequiredMark,a=this.layout,s=this.onSubmit,c=this.$slots,u=this.autoFormCreate,d=this.options,h=void 0===d?{}:d,f=this.configProvider.getPrefixCls,p=f("form",i),m=l()(p,(e={},o()(e,p+"-horizontal","horizontal"===a),o()(e,p+"-vertical","vertical"===a),o()(e,p+"-inline","inline"===a),o()(e,p+"-hide-required-mark",r),e));if(u){pe(!1,"Form","`autoFormCreate` is deprecated. please use `form` instead.");var v=this.DomForm||Zp(k()({fieldNameProp:"id"},h,{fieldMetaProp:tm,fieldDataProp:nm,templateContext:this.$vnode.context}))({provide:function(){return{decoratorFormProps:this.$props}},data:function(){return{children:c["default"],formClassName:m,submit:s}},created:function(){u(this.form)},render:function(){var e=arguments[0],t=this.children,n=this.formClassName,i=this.submit;return e("form",{on:{submit:i},class:n},[t])}});return this.domForm&&(this.domForm.children=c["default"],this.domForm.submit=s,this.domForm.formClassName=m),this.DomForm=v,n(v,{attrs:{wrappedComponentRef:function(e){t.domForm=e}}})}return n("form",{on:{submit:s},class:m},[c["default"]])}}),um=lm;kn["a"].use(E.a,{name:"ant-ref"}),kn["a"].use(J),kn["a"].prototype.$form=um,um.install=function(e){e.use(te),e.component(um.name,um),e.component(um.Item.name,um.Item),e.prototype.$form=um};var dm=um;function hm(){}function fm(e,t,n){var i=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var r=t.split("."),a=0,o=r.length;a1&&void 0!==arguments[1]?arguments[1]:hm;this.validateDisabled=!1;var i=this.getFilteredRule(e);if(!i||0===i.length)return n(),!0;this.validateState="validating";var r={};i&&i.length>0&&i.forEach((function(e){delete e.trigger})),r[this.prop]=i;var a=new dp["a"](r);this.FormContext&&this.FormContext.validateMessages&&a.messages(this.FormContext.validateMessages);var o={};o[this.prop]=this.fieldValue,a.validate(o,{firstFields:!0},(function(e,i){t.validateState=e?"error":"success",t.validateMessage=e?e[0].message:"",n(t.validateMessage,i),t.FormContext&&t.FormContext.$emit&&t.FormContext.$emit("validate",t.prop,!e,t.validateMessage||null)}))},getRules:function(){var e=this.FormContext.rules,t=this.rules,n=void 0!==this.required?{required:!!this.required,trigger:"change"}:[],i=fm(e,this.prop||"");return e=e?i.o[this.prop||""]||i.v:[],[].concat(t||e||[]).concat(n)},getFilteredRule:function(e){var t=this.getRules();return t.filter((function(t){return!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.indexOf(e)>-1:t.trigger===e)})).map((function(e){return k()({},e)}))},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var e=this;this.validateState="",this.validateMessage="";var t=this.FormContext.model||{},n=this.fieldValue,i=this.prop;-1!==i.indexOf(":")&&(i=i.replace(/:/,"."));var r=fm(t,i,!0);this.validateDisabled=!0,Array.isArray(n)?r.o[r.k]=[].concat(this.initialValue):r.o[r.k]=this.initialValue,this.$nextTick((function(){e.validateDisabled=!1}))}},render:function(){var e=this,t=arguments[0],n=this.$slots,i=this.$scopedSlots,r=Object(C["l"])(this),a=Object(C["g"])(this,"label"),o=Object(C["g"])(this,"extra"),s=Object(C["g"])(this,"help"),c={props:k()({},r,{label:a,extra:o,validateStatus:this.validateState,help:this.validateMessage||s,required:this.isRequired||r.required})},l=Object(C["c"])(i["default"]?i["default"]():n["default"]),u=l[0];if(this.prop&&this.autoLink&&Object(C["w"])(u)){var d=Object(C["i"])(u),h=d.blur,f=d.change;u=Object(Ln["a"])(u,{on:{blur:function(){h&&h.apply(void 0,arguments),e.onFieldBlur()},change:function(){if(Array.isArray(f))for(var t=0,n=f.length;t0&&void 0!==arguments[0]?arguments[0]:[],t=e.length?"string"===typeof e?this.fields.filter((function(t){return e===t.prop})):this.fields.filter((function(t){return e.indexOf(t.prop)>-1})):this.fields;t.forEach((function(e){e.clearValidate()}))},validate:function(e){var t=this;if(this.model){var n=void 0;"function"!==typeof e&&window.Promise&&(n=new window.Promise((function(t,n){e=function(e){e?t(e):n(e)}})));var i=!0,r=0;0===this.fields.length&&e&&e(!0);var a={};return this.fields.forEach((function(n){n.validate("",(function(n,o){n&&(i=!1),a=k()({},a,o),"function"===typeof e&&++r===t.fields.length&&e(i,a)}))})),n||void 0}pe(!1,"FormModel","model is required for resetFields to work.")},validateField:function(e,t){e=[].concat(e);var n=this.fields.filter((function(t){return-1!==e.indexOf(t.prop)}));n.length?n.forEach((function(e){e.validate("",t)})):pe(!1,"FormModel","please pass correct props!")}},render:function(){var e,t=arguments[0],n=this.prefixCls,i=this.hideRequiredMark,r=this.layout,a=this.onSubmit,s=this.$slots,c=this.configProvider.getPrefixCls,u=c("form",n),d=l()(u,(e={},o()(e,u+"-horizontal","horizontal"===r),o()(e,u+"-vertical","vertical"===r),o()(e,u+"-inline","inline"===r),o()(e,u+"-hide-required-mark",i),e));return t("form",{on:{submit:a},class:d},[s["default"]])}}),ym=gm;kn["a"].use(E.a,{name:"ant-ref"}),kn["a"].use(J),ym.install=function(e){e.use(te),e.component(ym.name,ym),e.component(ym.Item.name,ym.Item)};var bm=ym,_m={disabled:s["a"].bool,activeClassName:s["a"].string,activeStyle:s["a"].any},Mm={name:"TouchFeedback",mixins:[p["a"]],props:Object(C["t"])(_m,{disabled:!1}),data:function(){return{active:!1}},mounted:function(){var e=this;this.$nextTick((function(){e.disabled&&e.active&&e.setState({active:!1})}))},methods:{triggerEvent:function(e,t,n){this.$emit(e,n),t!==this.active&&this.setState({active:t})},onTouchStart:function(e){this.triggerEvent("touchstart",!0,e)},onTouchMove:function(e){this.triggerEvent("touchmove",!1,e)},onTouchEnd:function(e){this.triggerEvent("touchend",!1,e)},onTouchCancel:function(e){this.triggerEvent("touchcancel",!1,e)},onMouseDown:function(e){this.triggerEvent("mousedown",!0,e)},onMouseUp:function(e){this.triggerEvent("mouseup",!1,e)},onMouseLeave:function(e){this.triggerEvent("mouseleave",!1,e)}},render:function(){var e=this.$props,t=e.disabled,n=e.activeClassName,i=void 0===n?"":n,r=e.activeStyle,a=void 0===r?{}:r,o=this.$slots["default"];if(1!==o.length)return pe(!1,"m-feedback组件只能包含一个子元素"),null;var s={on:t?{}:{touchstart:this.onTouchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchCancel,mousedown:this.onMouseDown,mouseup:this.onMouseUp,mouseleave:this.onMouseLeave}};return!t&&this.active&&(s=k()({},s,{style:a,class:i})),Object(Ln["a"])(o,s)}},wm=Mm,km={name:"InputHandler",props:{prefixCls:s["a"].string,disabled:s["a"].bool},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.disabled,r={props:{disabled:i,activeClassName:n+"-handler-active"},on:Object(C["k"])(this)};return e(wm,r,[e("span",[this.$slots["default"]])])}},Cm=km;function Lm(){}function xm(e){e.preventDefault()}function Sm(e){return e.replace(/[^\w\.-]+/g,"")}var Om=200,Tm=600,zm=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,Hm=function(e){return void 0!==e&&null!==e},Dm=function(e,t){return t===e||"number"===typeof t&&"number"===typeof e&&isNaN(t)&&isNaN(e)},Vm={value:s["a"].oneOfType([s["a"].number,s["a"].string]),defaultValue:s["a"].oneOfType([s["a"].number,s["a"].string]),focusOnUpDown:s["a"].bool,autoFocus:s["a"].bool,prefixCls:s["a"].string,tabIndex:s["a"].oneOfType([s["a"].string,s["a"].number]),placeholder:s["a"].string,disabled:s["a"].bool,readonly:s["a"].bool,max:s["a"].number,min:s["a"].number,step:s["a"].oneOfType([s["a"].number,s["a"].string]),upHandler:s["a"].any,downHandler:s["a"].any,useTouch:s["a"].bool,formatter:s["a"].func,parser:s["a"].func,precision:s["a"].number,required:s["a"].bool,pattern:s["a"].string,decimalSeparator:s["a"].string,autoComplete:s["a"].string,title:s["a"].string,name:s["a"].string,type:s["a"].string,id:s["a"].string},jm={name:"VCInputNumber",mixins:[p["a"]],model:{prop:"value",event:"change"},props:Object(C["t"])(Vm,{focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",min:-zm,step:1,parser:Sm,required:!1,autoComplete:"off"}),data:function(){var e=Object(C["l"])(this);this.prevProps=k()({},e);var t=void 0;t="value"in e?this.value:this.defaultValue;var n=this.getValidValue(this.toNumber(t));return{inputValue:this.toPrecisionAsStep(n),sValue:n,focused:this.autoFocus}},mounted:function(){var e=this;this.$nextTick((function(){e.autoFocus&&!e.disabled&&e.focus(),e.updatedFunc()}))},updated:function(){var e=this,t=this.$props,n=t.value,i=t.max,r=t.min,a=this.$data.focused,o=this.prevProps,s=Object(C["l"])(this);if(o){if(!Dm(o.value,n)||!Dm(o.max,i)||!Dm(o.min,r)){var c=a?n:this.getValidValue(n),l=void 0;l=this.pressingUpOrDown?c:this.inputting?this.rawInput:this.toPrecisionAsStep(c),this.setState({sValue:c,inputValue:l})}var u="value"in s?n:this.sValue;"max"in s&&o.max!==i&&"number"===typeof u&&u>i&&this.$emit("change",i),"min"in s&&o.min!==r&&"number"===typeof u&&u1?i-1:0),a=1;a1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:this.min,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.max,i=parseFloat(e,10);return isNaN(i)?e:(in&&(i=n),i)},setValue:function(e,t){var n=this.$props.precision,i=this.isNotCompleteNumber(parseFloat(e,10))?null:parseFloat(e,10),r=this.$data,a=r.sValue,o=void 0===a?null:a,s=r.inputValue,c=void 0===s?null:s,l="number"===typeof i?i.toFixed(n):""+i,u=i!==o||l!==""+c;return Object(C["s"])(this,"value")?this.setState({inputValue:this.toPrecisionAsStep(this.sValue)},t):this.setState({sValue:i,inputValue:this.toPrecisionAsStep(e)},t),u&&this.$emit("change",i),i},getPrecision:function(e){if(Hm(this.precision))return this.precision;var t=e.toString();if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);var n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n},getMaxPrecision:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(Hm(this.precision))return this.precision;var n=this.step,i=this.getPrecision(t),r=this.getPrecision(n),a=this.getPrecision(e);return e?Math.max(a,i+r):i+r},getPrecisionFactor:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.getMaxPrecision(e,t);return Math.pow(10,n)},getInputDisplayValue:function(e){var t=e||this.$data,n=t.focused,i=t.inputValue,r=t.sValue,a=void 0;a=n?i:this.toPrecisionAsStep(r),void 0!==a&&null!==a||(a="");var o=this.formatWrapper(a);return Hm(this.$props.decimalSeparator)&&(o=o.toString().replace(".",this.$props.decimalSeparator)),o},recordCursorPosition:function(){try{var e=this.$refs.inputRef;this.cursorStart=e.selectionStart,this.cursorEnd=e.selectionEnd,this.currentValue=e.value,this.cursorBefore=e.value.substring(0,this.cursorStart),this.cursorAfter=e.value.substring(this.cursorEnd)}catch(t){}},fixCaret:function(e,t){if(void 0!==e&&void 0!==t&&this.$refs.inputRef&&this.$refs.inputRef.value)try{var n=this.$refs.inputRef,i=n.selectionStart,r=n.selectionEnd;e===i&&t===r||n.setSelectionRange(e,t)}catch(a){}},restoreByAfter:function(e){if(void 0===e)return!1;var t=this.$refs.inputRef.value,n=t.lastIndexOf(e);if(-1===n)return!1;var i=this.cursorBefore.length;return this.lastKeyCode===Be.DELETE&&this.cursorBefore.charAt(i-1)===e[0]?(this.fixCaret(i,i),!0):n+e.length===t.length&&(this.fixCaret(n,n),!0)},partRestoreByAfter:function(e){var t=this;return void 0!==e&&Array.prototype.some.call(e,(function(n,i){var r=e.substring(i);return t.restoreByAfter(r)}))},focus:function(){this.$refs.inputRef.focus(),this.recordCursorPosition()},blur:function(){this.$refs.inputRef.blur()},formatWrapper:function(e){return this.formatter?this.formatter(e):e},toPrecisionAsStep:function(e){if(this.isNotCompleteNumber(e)||""===e)return e;var t=Math.abs(this.getMaxPrecision(e));return isNaN(t)?e.toString():Number(e).toFixed(t)},isNotCompleteNumber:function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1},toNumber:function(e){var t=this.$props,n=t.precision,i=t.autoFocus,r=this.focused,a=void 0===r?i:r,o=e&&e.length>16&&a;return this.isNotCompleteNumber(e)||o?e:Hm(n)?Math.round(e*Math.pow(10,n))/Math.pow(10,n):Number(e)},upStep:function(e,t){var n=this.step,i=this.getPrecisionFactor(e,t),r=Math.abs(this.getMaxPrecision(e,t)),a=((i*e+i*n*t)/i).toFixed(r);return this.toNumber(a)},downStep:function(e,t){var n=this.step,i=this.getPrecisionFactor(e,t),r=Math.abs(this.getMaxPrecision(e,t)),a=((i*e-i*n*t)/i).toFixed(r);return this.toNumber(a)},stepFn:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments[3];if(this.stop(),t&&t.preventDefault(),!this.disabled){var a=this.max,o=this.min,s=this.getCurrentValidValue(this.inputValue)||0;if(!this.isNotCompleteNumber(s)){var c=this[e+"Step"](s,i),l=c>a||ca?c=a:c=this.max&&(f=i+"-handler-up-disabled"),v<=this.min&&(p=i+"-handler-down-disabled")}var g=!this.readonly&&!this.disabled,y=this.getInputDisplayValue(),b=void 0,_=void 0;s?(b={touchstart:g&&!f?this.up:Lm,touchend:this.stop},_={touchstart:g&&!p?this.down:Lm,touchend:this.stop}):(b={mousedown:g&&!f?this.up:Lm,mouseup:this.stop,mouseleave:this.stop},_={mousedown:g&&!p?this.down:Lm,mouseup:this.stop,mouseleave:this.stop});var M=!!f||r||a,w=!!p||r||a,k=Object(C["k"])(this),L=k.mouseenter,x=void 0===L?Lm:L,S=k.mouseleave,O=void 0===S?Lm:S,T=k.mouseover,z=void 0===T?Lm:T,H=k.mouseout,D=void 0===H?Lm:H,V={on:{mouseenter:x,mouseleave:O,mouseover:z,mouseout:D},class:h,attrs:{title:this.$props.title}},j={props:{disabled:M,prefixCls:i},attrs:{unselectable:"unselectable",role:"button","aria-label":"Increase Value","aria-disabled":!!M},class:i+"-handler "+i+"-handler-up "+f,on:b,ref:"up"},Y={props:{disabled:w,prefixCls:i},attrs:{unselectable:"unselectable",role:"button","aria-label":"Decrease Value","aria-disabled":!!w},class:i+"-handler "+i+"-handler-down "+p,on:_,ref:"down"};return t("div",V,[t("div",{class:i+"-handler-wrap"},[t(Cm,j,[u||t("span",{attrs:{unselectable:"unselectable"},class:i+"-handler-up-inner",on:{click:xm}})]),t(Cm,Y,[d||t("span",{attrs:{unselectable:"unselectable"},class:i+"-handler-down-inner",on:{click:xm}})])]),t("div",{class:i+"-input-wrap"},[t("input",{attrs:{role:"spinbutton","aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":m,required:this.required,type:this.type,placeholder:this.placeholder,tabIndex:this.tabIndex,autoComplete:c,readonly:this.readonly,disabled:this.disabled,max:this.max,min:this.min,step:this.step,name:this.name,title:this.title,id:this.id,pattern:this.pattern},on:{click:this.handleInputClick,focus:this.onFocus,blur:this.onBlur,keydown:g?this.onKeyDown:Lm,keyup:g?this.onKeyUp:Lm,input:this.onTrigger,compositionstart:this.onCompositionstart,compositionend:this.onCompositionend},class:i+"-input",ref:"inputRef",domProps:{value:y}})])])}},Ym={prefixCls:s["a"].string,min:s["a"].number,max:s["a"].number,value:s["a"].oneOfType([s["a"].number,s["a"].string]),step:s["a"].oneOfType([s["a"].number,s["a"].string]),defaultValue:s["a"].oneOfType([s["a"].number,s["a"].string]),tabIndex:s["a"].number,disabled:s["a"].bool,size:s["a"].oneOf(["large","small","default"]),formatter:s["a"].func,parser:s["a"].func,decimalSeparator:s["a"].string,placeholder:s["a"].string,name:s["a"].string,id:s["a"].string,precision:s["a"].number,autoFocus:s["a"].bool},Pm={name:"AInputNumber",model:{prop:"value",event:"change"},props:Object(C["t"])(Ym,{step:1}),inject:{configProvider:{default:function(){return ce}}},methods:{focus:function(){this.$refs.inputNumberRef.focus()},blur:function(){this.$refs.inputNumberRef.blur()}},render:function(){var e,t=arguments[0],n=k()({},Object(C["l"])(this),this.$attrs),i=n.prefixCls,r=n.size,a=We()(n,["prefixCls","size"]),s=this.configProvider.getPrefixCls,c=s("input-number",i),u=l()((e={},o()(e,c+"-lg","large"===r),o()(e,c+"-sm","small"===r),e)),d=t(to,{attrs:{type:"up"},class:c+"-handler-up-inner"}),h=t(to,{attrs:{type:"down"},class:c+"-handler-down-inner"}),f={props:k()({prefixCls:c,upHandler:d,downHandler:h},a),class:u,ref:"inputNumberRef",on:Object(C["k"])(this)};return t(jm,f)},install:function(e){e.use(te),e.component(Pm.name,Pm)}},Am=Pm,Em={prefixCls:s["a"].string,hasSider:s["a"].boolean,tagName:s["a"].string};function Fm(e){var t=e.suffixCls,n=e.tagName,i=e.name;return function(e){return{name:i,props:e.props,inject:{configProvider:{default:function(){return ce}}},render:function(){var i=arguments[0],r=this.$props.prefixCls,a=this.configProvider.getPrefixCls,o=a(t,r),s={props:k()({prefixCls:o},Object(C["l"])(this),{tagName:n}),on:Object(C["k"])(this)};return i(e,s,[this.$slots["default"]])}}}}var $m={props:Em,render:function(){var e=arguments[0],t=this.prefixCls,n=this.tagName,i=this.$slots,r={class:t,on:Object(C["k"])(this)};return e(n,r,[i["default"]])}},Im={props:Em,data:function(){return{siders:[]}},provide:function(){var e=this;return{siderHook:{addSider:function(t){e.siders=[].concat(v()(e.siders),[t])},removeSider:function(t){e.siders=e.siders.filter((function(e){return e!==t}))}}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.$slots,i=this.hasSider,r=this.tagName,a=l()(t,o()({},t+"-has-sider","boolean"===typeof i?i:this.siders.length>0)),s={class:a,on:C["k"]};return e(r,s,[n["default"]])}},Rm=Fm({suffixCls:"layout",tagName:"section",name:"ALayout"})(Im),Nm=Fm({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})($m),Wm=Fm({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})($m),Km=Fm({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})($m);Rm.Header=Nm,Rm.Footer=Wm,Rm.Content=Km;var Bm=Rm;if("undefined"!==typeof window){var Um=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}};window.matchMedia=window.matchMedia||Um}var qm={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Gm={prefixCls:s["a"].string,collapsible:s["a"].bool,collapsed:s["a"].bool,defaultCollapsed:s["a"].bool,reverseArrow:s["a"].bool,zeroWidthTriggerStyle:s["a"].object,trigger:s["a"].any,width:s["a"].oneOfType([s["a"].number,s["a"].string]),collapsedWidth:s["a"].oneOfType([s["a"].number,s["a"].string]),breakpoint:s["a"].oneOf(["xs","sm","md","lg","xl","xxl"]),theme:s["a"].oneOf(["light","dark"]).def("dark")},Jm=function(){var e=0;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,""+t+e}}(),Xm={name:"ALayoutSider",__ANT_LAYOUT_SIDER:!0,mixins:[p["a"]],model:{prop:"collapsed",event:"collapse"},props:Object(C["t"])(Gm,{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),data:function(){this.uniqueId=Jm("ant-sider-");var e=void 0;"undefined"!==typeof window&&(e=window.matchMedia);var t=Object(C["l"])(this);e&&t.breakpoint&&t.breakpoint in qm&&(this.mql=e("(max-width: "+qm[t.breakpoint]+")"));var n=void 0;return n="collapsed"in t?t.collapsed:t.defaultCollapsed,{sCollapsed:n,below:!1,belowShow:!1}},provide:function(){return{layoutSiderContext:this}},inject:{siderHook:{default:function(){return{}}},configProvider:{default:function(){return ce}}},watch:{collapsed:function(e){this.setState({sCollapsed:e})}},mounted:function(){var e=this;this.$nextTick((function(){e.mql&&(e.mql.addListener(e.responsiveHandler),e.responsiveHandler(e.mql)),e.siderHook.addSider&&e.siderHook.addSider(e.uniqueId)}))},beforeDestroy:function(){this.mql&&this.mql.removeListener(this.responsiveHandler),this.siderHook.removeSider&&this.siderHook.removeSider(this.uniqueId)},methods:{responsiveHandler:function(e){this.setState({below:e.matches}),this.$emit("breakpoint",e.matches),this.sCollapsed!==e.matches&&this.setCollapsed(e.matches,"responsive")},setCollapsed:function(e,t){Object(C["s"])(this,"collapsed")||this.setState({sCollapsed:e}),this.$emit("collapse",e,t)},toggle:function(){var e=!this.sCollapsed;this.setCollapsed(e,"clickTrigger")},belowShowChange:function(){this.setState({belowShow:!this.belowShow})}},render:function(){var e,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=n.theme,a=n.collapsible,s=n.reverseArrow,c=n.width,u=n.collapsedWidth,d=n.zeroWidthTriggerStyle,h=this.configProvider.getPrefixCls,f=h("layout-sider",i),p=Object(C["g"])(this,"trigger"),m=this.sCollapsed?u:c,v=Cs(m)?m+"px":String(m),g=0===parseFloat(String(u||0))?t("span",{on:{click:this.toggle},class:f+"-zero-width-trigger "+f+"-zero-width-trigger-"+(s?"right":"left"),style:d},[t(to,{attrs:{type:"bars"}})]):null,y={expanded:t(to,s?{attrs:{type:"right"}}:{attrs:{type:"left"}}),collapsed:t(to,s?{attrs:{type:"left"}}:{attrs:{type:"right"}})},b=this.sCollapsed?"collapsed":"expanded",_=y[b],M=null!==p?g||t("div",{class:f+"-trigger",on:{click:this.toggle},style:{width:v}},[p||_]):null,w={flex:"0 0 "+v,maxWidth:v,minWidth:v,width:v},k=l()(f,f+"-"+r,(e={},o()(e,f+"-collapsed",!!this.sCollapsed),o()(e,f+"-has-trigger",a&&null!==p&&!g),o()(e,f+"-below",!!this.below),o()(e,f+"-zero-width",0===parseFloat(v)),e)),L={on:Object(C["k"])(this),class:k,style:w};return t("aside",L,[t("div",{class:f+"-children"},[this.$slots["default"]]),a||this.below&&g?M:null])}};Bm.Sider=Xm,Bm.install=function(e){e.use(te),e.component(Bm.name,Bm),e.component(Bm.Header.name,Bm.Header),e.component(Bm.Footer.name,Bm.Footer),e.component(Bm.Sider.name,Bm.Sider),e.component(Bm.Content.name,Bm.Content)};var Zm=Bm,Qm=s["a"].oneOf(["small","default","large"]),ev=function(){return{prefixCls:s["a"].string,spinning:s["a"].bool,size:Qm,wrapperClassName:s["a"].string,tip:s["a"].string,delay:s["a"].number,indicator:s["a"].any}},tv=void 0;function nv(e,t){return!!e&&!!t&&!isNaN(Number(t))}function iv(e){tv="function"===typeof e.indicator?e.indicator:function(t){return t(e.indicator)}}var rv={name:"ASpin",mixins:[p["a"]],props:Object(C["t"])(ev(),{size:"default",spinning:!0,wrapperClassName:""}),inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this.spinning,t=this.delay,n=nv(e,t);return this.originalUpdateSpinning=this.updateSpinning,this.debouncifyUpdateSpinning(this.$props),{sSpinning:e&&!n}},mounted:function(){this.updateSpinning()},updated:function(){var e=this;this.$nextTick((function(){e.debouncifyUpdateSpinning(),e.updateSpinning()}))},beforeDestroy:function(){this.cancelExistingSpin()},methods:{debouncifyUpdateSpinning:function(e){var t=e||this.$props,n=t.delay;n&&(this.cancelExistingSpin(),this.updateSpinning=gu()(this.originalUpdateSpinning,n))},updateSpinning:function(){var e=this.spinning,t=this.sSpinning;t!==e&&this.setState({sSpinning:e})},cancelExistingSpin:function(){var e=this.updateSpinning;e&&e.cancel&&e.cancel()},getChildren:function(){return this.$slots&&this.$slots["default"]?Object(C["c"])(this.$slots["default"]):null},renderIndicator:function(e,t){var n=t+"-dot",i=Object(C["g"])(this,"indicator");return null===i?null:(Array.isArray(i)&&(i=Object(C["c"])(i),i=1===i.length?i[0]:i),Object(C["w"])(i)?Object(Ln["a"])(i,{class:n}):tv&&Object(C["w"])(tv(e))?Object(Ln["a"])(tv(e),{class:n}):e("span",{class:n+" "+t+"-dot-spin"},[e("i",{class:t+"-dot-item"}),e("i",{class:t+"-dot-item"}),e("i",{class:t+"-dot-item"}),e("i",{class:t+"-dot-item"})]))}},render:function(e){var t,n=this.$props,i=n.size,a=n.prefixCls,s=n.tip,c=n.wrapperClassName,l=We()(n,["size","prefixCls","tip","wrapperClassName"]),u=this.configProvider.getPrefixCls,d=u("spin",a),h=this.sSpinning,f=(t={},o()(t,d,!0),o()(t,d+"-sm","small"===i),o()(t,d+"-lg","large"===i),o()(t,d+"-spinning",h),o()(t,d+"-show-text",!!s),t),p=e("div",r()([l,{class:f}]),[this.renderIndicator(e,d),s?e("div",{class:d+"-text"},[s]):null]),m=this.getChildren();if(m){var v,g=(v={},o()(v,d+"-container",!0),o()(v,d+"-blur",h),v);return e("div",r()([{on:Object(C["k"])(this)},{class:[d+"-nested-loading",c]}]),[h&&e("div",{key:"loading"},[p]),e("div",{class:g,key:"container"},[m])])}return p}};rv.setDefaultIndicator=iv,rv.install=function(e){e.use(te),e.component(rv.name,rv)};var av=rv,ov={props:k()({},ao),Option:lo.Option,render:function(){var e=arguments[0],t=Object(C["l"])(this),n={props:k()({},t,{size:"small"}),on:Object(C["k"])(this)};return e(lo,n,[Object(C["c"])(this.$slots["default"])])}},sv={name:"Pager",props:{rootPrefixCls:s["a"].string,page:s["a"].number,active:s["a"].bool,last:s["a"].bool,locale:s["a"].object,showTitle:s["a"].bool,itemRender:{type:Function,default:function(){}}},methods:{handleClick:function(){this.$emit("click",this.page)},handleKeyPress:function(e){this.$emit("keypress",e,this.handleClick,this.page)}},render:function(){var e,t=arguments[0],n=this.$props,i=n.rootPrefixCls+"-item",r=l()(i,i+"-"+n.page,(e={},o()(e,i+"-active",n.active),o()(e,i+"-disabled",!n.page),e));return t("li",{class:r,on:{click:this.handleClick,keypress:this.handleKeyPress},attrs:{title:this.showTitle?this.page:null,tabIndex:"0"}},[this.itemRender(this.page,"page",t("a",[this.page]))])}},cv={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},lv={mixins:[p["a"]],props:{disabled:s["a"].bool,changeSize:s["a"].func,quickGo:s["a"].func,selectComponentClass:s["a"].any,current:s["a"].number,pageSizeOptions:s["a"].array.def(["10","20","30","40"]),pageSize:s["a"].number,buildOptionText:s["a"].func,locale:s["a"].object,rootPrefixCls:s["a"].string,selectPrefixCls:s["a"].string,goButton:s["a"].any},data:function(){return{goInputText:""}},methods:{getValidValue:function(){var e=this.goInputText,t=this.current;return!e||isNaN(e)?t:Number(e)},defaultBuildOptionText:function(e){return e.value+" "+this.locale.items_per_page},handleChange:function(e){var t=e.target,n=t.value,i=t.composing;e.isComposing||i||this.goInputText===n||this.setState({goInputText:n})},handleBlur:function(e){var t=this.$props,n=t.goButton,i=t.quickGo,r=t.rootPrefixCls;n||e.relatedTarget&&(e.relatedTarget.className.indexOf(r+"-prev")>=0||e.relatedTarget.className.indexOf(r+"-next")>=0)||i(this.getValidValue())},go:function(e){var t=this.goInputText;""!==t&&(e.keyCode!==cv.ENTER&&"click"!==e.type||(this.quickGo(this.getValidValue()),this.setState({goInputText:""})))}},render:function(){var e=this,t=arguments[0],n=this.rootPrefixCls,i=this.locale,a=this.changeSize,o=this.quickGo,s=this.goButton,c=this.selectComponentClass,l=this.defaultBuildOptionText,u=this.selectPrefixCls,d=this.pageSize,h=this.pageSizeOptions,f=this.goInputText,p=this.disabled,m=n+"-options",v=null,g=null,y=null;if(!a&&!o)return null;if(a&&c){var b=this.buildOptionText||l,_=h.map((function(e,n){return t(c.Option,{key:n,attrs:{value:e}},[b({value:e})])}));v=t(c,{attrs:{disabled:p,prefixCls:u,showSearch:!1,optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(d||h[0]).toString(),getPopupContainer:function(e){return e.parentNode}},class:m+"-size-changer",on:{change:function(t){return e.changeSize(Number(t))}}},[_])}return o&&(s&&(y="boolean"===typeof s?t("button",{attrs:{type:"button",disabled:p},on:{click:this.go,keyup:this.go}},[i.jump_to_confirm]):t("span",{on:{click:this.go,keyup:this.go}},[s])),g=t("div",{class:m+"-quick-jumper"},[i.jump_to,t("input",r()([{attrs:{disabled:p,type:"text"},domProps:{value:f},on:{input:this.handleChange,keyup:this.go,blur:this.handleBlur}},{directives:[{name:"ant-input"}]}])),i.page,y])),t("li",{class:""+m},[v,g])}},uv={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};function dv(){}function hv(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function fv(e,t,n){return n}function pv(e,t,n){var i=e;return"undefined"===typeof i&&(i=t.statePageSize),Math.floor((n.total-1)/i)+1}var mv={name:"Pagination",mixins:[p["a"]],model:{prop:"current",event:"change.current"},props:{disabled:s["a"].bool,prefixCls:s["a"].string.def("rc-pagination"),selectPrefixCls:s["a"].string.def("rc-select"),current:s["a"].number,defaultCurrent:s["a"].number.def(1),total:s["a"].number.def(0),pageSize:s["a"].number,defaultPageSize:s["a"].number.def(10),hideOnSinglePage:s["a"].bool.def(!1),showSizeChanger:s["a"].bool.def(!1),showLessItems:s["a"].bool.def(!1),selectComponentClass:s["a"].any,showPrevNextJumpers:s["a"].bool.def(!0),showQuickJumper:s["a"].oneOfType([s["a"].bool,s["a"].object]).def(!1),showTitle:s["a"].bool.def(!0),pageSizeOptions:s["a"].arrayOf(s["a"].string),buildOptionText:s["a"].func,showTotal:s["a"].func,simple:s["a"].bool,locale:s["a"].object.def(uv),itemRender:s["a"].func.def(fv),prevIcon:s["a"].any,nextIcon:s["a"].any,jumpPrevIcon:s["a"].any,jumpNextIcon:s["a"].any},data:function(){var e=Object(C["l"])(this),t=this.onChange!==dv,n="current"in e;n&&!t&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var i=this.defaultCurrent;"current"in e&&(i=this.current);var r=this.defaultPageSize;return"pageSize"in e&&(r=this.pageSize),i=Math.min(i,pv(r,void 0,e)),{stateCurrent:i,stateCurrentInputValue:i,statePageSize:r}},watch:{current:function(e){this.setState({stateCurrent:e,stateCurrentInputValue:e})},pageSize:function(e){var t={},n=this.stateCurrent,i=pv(e,this.$data,this.$props);n=n>i?i:n,Object(C["s"])(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent:function(e,t){var n=this;this.$nextTick((function(){if(n.$refs.paginationNode){var e=n.$refs.paginationNode.querySelector("."+n.prefixCls+"-item-"+t);e&&document.activeElement===e&&e.blur()}}))},total:function(){var e={},t=pv(this.pageSize,this.$data,this.$props);if(Object(C["s"])(this,"current")){var n=Math.min(this.current,t);e.stateCurrent=n,e.stateCurrentInputValue=n}else{var i=this.stateCurrent;i=0===i&&t>0?1:Math.min(this.stateCurrent,t),e.stateCurrent=i}this.setState(e)}},methods:{getJumpPrevPage:function(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage:function(){return Math.min(pv(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon:function(e){var t=this.$createElement,n=this.$props.prefixCls,i=Object(C["g"])(this,e,this.$props)||t("a",{class:n+"-item-link"});return i},getValidValue:function(e){var t=e.target.value,n=pv(void 0,this.$data,this.$props),i=this.$data.stateCurrentInputValue,r=void 0;return r=""===t?t:isNaN(Number(t))?i:t>=n?n:Number(t),r},isValid:function(e){return hv(e)&&e!==this.stateCurrent},shouldDisplayQuickJumper:function(){var e=this.$props,t=e.showQuickJumper,n=e.pageSize,i=e.total;return!(i<=n)&&t},handleKeyDown:function(e){e.keyCode!==cv.ARROW_UP&&e.keyCode!==cv.ARROW_DOWN||e.preventDefault()},handleKeyUp:function(e){if(!e.isComposing&&!e.target.composing){var t=this.getValidValue(e),n=this.stateCurrentInputValue;t!==n&&this.setState({stateCurrentInputValue:t}),e.keyCode===cv.ENTER?this.handleChange(t):e.keyCode===cv.ARROW_UP?this.handleChange(t-1):e.keyCode===cv.ARROW_DOWN&&this.handleChange(t+1)}},changePageSize:function(e){var t=this.stateCurrent,n=t,i=pv(e,this.$data,this.$props);t=t>i?i:t,0===i&&(t=this.stateCurrent),"number"===typeof e&&(Object(C["s"])(this,"pageSize")||this.setState({statePageSize:e}),Object(C["s"])(this,"current")||this.setState({stateCurrent:t,stateCurrentInputValue:t})),this.$emit("update:pageSize",e),this.$emit("showSizeChange",t,e),t!==n&&this.$emit("change.current",t,e)},handleChange:function(e){var t=this.$props.disabled,n=e;if(this.isValid(n)&&!t){var i=pv(void 0,this.$data,this.$props);return n>i?n=i:n<1&&(n=1),Object(C["s"])(this,"current")||this.setState({stateCurrent:n,stateCurrentInputValue:n}),this.$emit("change.current",n,this.statePageSize),this.$emit("change",n,this.statePageSize),n}return this.stateCurrent},prev:function(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next:function(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev:function(){this.handleChange(this.getJumpPrevPage())},jumpNext:function(){this.handleChange(this.getJumpNextPage())},hasPrev:function(){return this.stateCurrent>1},hasNext:function(){return this.stateCurrent2?n-2:0),r=2;r0?y-1:0,M=y+1=2*g&&3!==y&&(u[0]=t(sv,{attrs:{locale:c,rootPrefixCls:i,page:H,active:!1,showTitle:this.showTitle,itemRender:this.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter},key:H,class:i+"-item-after-jump-prev"}),u.unshift(d)),l-y>=2*g&&y!==l-2&&(u[u.length-1]=t(sv,{attrs:{locale:c,rootPrefixCls:i,page:D,active:!1,showTitle:this.showTitle,itemRender:this.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter},key:D,class:i+"-item-before-jump-next"}),u.push(h)),1!==H&&u.unshift(f),D!==l&&u.push(p)}var Y=null;this.showTotal&&(Y=t("li",{class:i+"-total-text"},[this.showTotal(this.total,[0===this.total?0:(y-1)*b+1,y*b>this.total?this.total:y*b])]));var P=!this.hasPrev()||!l,A=!this.hasNext()||!l,E=this.buildOptionText||this.$scopedSlots.buildOptionText;return t("ul",{class:(e={},o()(e,""+i,!0),o()(e,i+"-disabled",a),e),attrs:{unselectable:"unselectable"},ref:"paginationNode"},[Y,t("li",{attrs:{title:this.showTitle?c.prev_page:null,tabIndex:P?null:0,"aria-disabled":P},on:{click:this.prev,keypress:this.runIfEnterPrev},class:(P?i+"-disabled":"")+" "+i+"-prev"},[this.itemRender(_,"prev",this.getItemIcon("prevIcon"))]),u,t("li",{attrs:{title:this.showTitle?c.next_page:null,tabIndex:A?null:0,"aria-disabled":A},on:{click:this.next,keypress:this.runIfEnterNext},class:(A?i+"-disabled":"")+" "+i+"-next"},[this.itemRender(M,"next",this.getItemIcon("nextIcon"))]),t(lv,{attrs:{disabled:a,locale:c,rootPrefixCls:i,selectComponentClass:this.selectComponentClass,selectPrefixCls:this.selectPrefixCls,changeSize:this.showSizeChanger?this.changePageSize:null,current:y,pageSize:b,pageSizeOptions:this.pageSizeOptions,buildOptionText:E||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:v}})])}},vv=function(){return{total:s["a"].number,defaultCurrent:s["a"].number,disabled:s["a"].bool,current:s["a"].number,defaultPageSize:s["a"].number,pageSize:s["a"].number,hideOnSinglePage:s["a"].bool,showSizeChanger:s["a"].bool,pageSizeOptions:s["a"].arrayOf(s["a"].oneOfType([s["a"].number,s["a"].string])),buildOptionText:s["a"].func,showSizeChange:s["a"].func,showQuickJumper:s["a"].oneOfType([s["a"].bool,s["a"].object]),showTotal:s["a"].any,size:s["a"].string,simple:s["a"].bool,locale:s["a"].object,prefixCls:s["a"].string,selectPrefixCls:s["a"].string,itemRender:s["a"].any,role:s["a"].string,showLessItems:s["a"].bool}},gv=function(){return k()({},vv(),{position:s["a"].oneOf(["top","bottom","both"])})},yv={name:"APagination",model:{prop:"current",event:"change.current"},props:k()({},vv()),inject:{configProvider:{default:function(){return ce}}},methods:{getIconsProps:function(e){var t=this.$createElement,n=t("a",{class:e+"-item-link"},[t(to,{attrs:{type:"left"}})]),i=t("a",{class:e+"-item-link"},[t(to,{attrs:{type:"right"}})]),r=t("a",{class:e+"-item-link"},[t("div",{class:e+"-item-container"},[t(to,{class:e+"-item-link-icon",attrs:{type:"double-left"}}),t("span",{class:e+"-item-ellipsis"},["•••"])])]),a=t("a",{class:e+"-item-link"},[t("div",{class:e+"-item-container"},[t(to,{class:e+"-item-link-icon",attrs:{type:"double-right"}}),t("span",{class:e+"-item-ellipsis"},["•••"])])]);return{prevIcon:n,nextIcon:i,jumpPrevIcon:r,jumpNextIcon:a}},renderPagination:function(e){var t=this.$createElement,n=Object(C["l"])(this),i=n.prefixCls,r=n.selectPrefixCls,a=n.buildOptionText,o=n.size,s=n.locale,c=We()(n,["prefixCls","selectPrefixCls","buildOptionText","size","locale"]),l=this.configProvider.getPrefixCls,u=l("pagination",i),d=l("select",r),h="small"===o,f={props:k()({prefixCls:u,selectPrefixCls:d},c,this.getIconsProps(u),{selectComponentClass:h?ov:lo,locale:k()({},e,s),buildOptionText:a||this.$scopedSlots.buildOptionText}),class:{mini:h},on:Object(C["k"])(this)};return t(mv,f)}},render:function(){var e=arguments[0];return e(j,{attrs:{componentName:"Pagination",defaultLocale:L},scopedSlots:{default:this.renderPagination}})},install:function(e){e.use(te),e.component(yv.name,yv)}},bv=yv,_v={prefixCls:s["a"].string,extra:s["a"].any,actions:s["a"].arrayOf(s["a"].any),grid:Lv},Mv=(s["a"].any,s["a"].any,s["a"].string,s["a"].any,{functional:!0,name:"AListItemMeta",__ANT_LIST_ITEM_META:!0,inject:{configProvider:{default:function(){return ce}}},render:function(e,t){var n=t.props,i=t.slots,a=t.listeners,o=t.injections,s=i(),c=o.configProvider.getPrefixCls,l=n.prefixCls,u=c("list",l),d=n.avatar||s.avatar,h=n.title||s.title,f=n.description||s.description,p=e("div",{class:u+"-item-meta-content"},[h&&e("h4",{class:u+"-item-meta-title"},[h]),f&&e("div",{class:u+"-item-meta-description"},[f])]);return e("div",r()([{on:a},{class:u+"-item-meta"}]),[d&&e("div",{class:u+"-item-meta-avatar"},[d]),(h||f)&&p])}});function wv(e,t){return e[t]&&Math.floor(24/e[t])}var kv={name:"AListItem",Meta:Mv,props:_v,inject:{listContext:{default:function(){return{}}},configProvider:{default:function(){return ce}}},methods:{isItemContainsTextNodeAndNotSingular:function(){var e=this.$slots,t=void 0,n=e["default"]||[];return n.forEach((function(e){Object(C["v"])(e)&&!Object(C["u"])(e)&&(t=!0)})),t&&n.length>1},isFlexMode:function(){var e=Object(C["g"])(this,"extra"),t=this.listContext.itemLayout;return"vertical"===t?!!e:!this.isItemContainsTextNodeAndNotSingular()}},render:function(){var e=arguments[0],t=this.listContext,n=t.grid,i=t.itemLayout,a=this.prefixCls,s=this.$slots,c=Object(C["k"])(this),u=this.configProvider.getPrefixCls,d=u("list",a),h=Object(C["g"])(this,"extra"),f=Object(C["g"])(this,"actions"),p=f&&f.length>0&&e("ul",{class:d+"-item-action",key:"actions"},[f.map((function(t,n){return e("li",{key:d+"-item-action-"+n},[t,n!==f.length-1&&e("em",{class:d+"-item-action-split"})])}))]),m=n?"div":"li",v=e(m,r()([{on:c},{class:l()(d+"-item",o()({},d+"-item-no-flex",!this.isFlexMode()))}]),["vertical"===i&&h?[e("div",{class:d+"-item-main",key:"content"},[s["default"],p]),e("div",{class:d+"-item-extra",key:"extra"},[h])]:[s["default"],p,Object(Ln["a"])(h,{key:"extra"})]]),g=n?e(Nu,{attrs:{span:wv(n,"column"),xs:wv(n,"xs"),sm:wv(n,"sm"),md:wv(n,"md"),lg:wv(n,"lg"),xl:wv(n,"xl"),xxl:wv(n,"xxl")}},[v]):v;return g}},Cv=["",1,2,3,4,6,8,12,24],Lv={gutter:s["a"].number,column:s["a"].oneOf(Cv),xs:s["a"].oneOf(Cv),sm:s["a"].oneOf(Cv),md:s["a"].oneOf(Cv),lg:s["a"].oneOf(Cv),xl:s["a"].oneOf(Cv),xxl:s["a"].oneOf(Cv)},xv=["small","default","large"],Sv=function(){return{bordered:s["a"].bool,dataSource:s["a"].array,extra:s["a"].any,grid:s["a"].shape(Lv).loose,itemLayout:s["a"].string,loading:s["a"].oneOfType([s["a"].bool,s["a"].object]),loadMore:s["a"].any,pagination:s["a"].oneOfType([s["a"].shape(gv()).loose,s["a"].bool]),prefixCls:s["a"].string,rowKey:s["a"].any,renderItem:s["a"].any,size:s["a"].oneOf(xv),split:s["a"].bool,header:s["a"].any,footer:s["a"].any,locale:s["a"].object}},Ov={Item:kv,name:"AList",props:Object(C["t"])(Sv(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),provide:function(){return{listContext:this}},inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this;this.keys=[],this.defaultPaginationProps={current:1,pageSize:10,onChange:function(t,n){var i=e.pagination;e.paginationCurrent=t,i&&i.onChange&&i.onChange(t,n)},total:0},this.onPaginationChange=this.triggerPaginationEvent("onChange"),this.onPaginationShowSizeChange=this.triggerPaginationEvent("onShowSizeChange");var t=this.$props.pagination,n=t&&"object"===("undefined"===typeof t?"undefined":M()(t))?t:{};return{paginationCurrent:n.defaultCurrent||1,paginationSize:n.defaultPageSize||10}},methods:{triggerPaginationEvent:function(e){var t=this;return function(n,i){var r=t.$props.pagination;t.paginationCurrent=n,t.paginationSize=i,r&&r[e]&&r[e](n,i)}},renderItem2:function(e,t){var n=this.$scopedSlots,i=this.rowKey,r=this.renderItem||n.renderItem;if(!r)return null;var a=void 0;return a="function"===typeof i?i(e):"string"===typeof i?e[i]:e.key,a||(a="list-item-"+t),this.keys[t]=a,r(e,t)},isSomethingAfterLastItem:function(){var e=this.pagination,t=Object(C["g"])(this,"loadMore"),n=Object(C["g"])(this,"footer");return!!(t||e||n)},renderEmpty:function(e,t){var n=this.$createElement,i=this.locale;return n("div",{class:e+"-empty-text"},[i&&i.emptyText||t(n,"List")])}},render:function(){var e,t=this,n=arguments[0],i=this.prefixCls,a=this.bordered,s=this.split,c=this.itemLayout,d=this.pagination,h=this.grid,f=this.dataSource,p=void 0===f?[]:f,m=this.size,g=this.loading,y=this.$slots,b=this.paginationCurrent,_=this.paginationSize,M=this.configProvider.getPrefixCls,w=M("list",i),L=Object(C["g"])(this,"loadMore"),x=Object(C["g"])(this,"footer"),S=Object(C["g"])(this,"header"),O=Object(C["c"])(y["default"]||[]),T=g;"boolean"===typeof T&&(T={spinning:T});var z=T&&T.spinning,H="";switch(m){case"large":H="lg";break;case"small":H="sm";break;default:break}var D=l()(w,(e={},o()(e,w+"-vertical","vertical"===c),o()(e,w+"-"+H,H),o()(e,w+"-split",s),o()(e,w+"-bordered",a),o()(e,w+"-loading",z),o()(e,w+"-grid",h),o()(e,w+"-something-after-last-item",this.isSomethingAfterLastItem()),e)),V=k()({},this.defaultPaginationProps,{total:p.length,current:b,pageSize:_},d||{}),j=Math.ceil(V.total/V.pageSize);V.current>j&&(V.current=j);var Y=V["class"],P=V.style,A=We()(V,["class","style"]),E=d?n("div",{class:w+"-pagination"},[n(bv,{props:Object(u["a"])(A,["onChange"]),class:Y,style:P,on:{change:this.onPaginationChange,showSizeChange:this.onPaginationShowSizeChange}})]):null,F=[].concat(v()(p));d&&p.length>(V.current-1)*V.pageSize&&(F=[].concat(v()(p)).splice((V.current-1)*V.pageSize,V.pageSize));var $=void 0;if($=z&&n("div",{style:{minHeight:53}}),F.length>0){var I=F.map((function(e,n){return t.renderItem2(e,n)})),R=I.map((function(e,n){return Object(Ln["a"])(e,{key:t.keys[n]})}));$=h?n(Au,{attrs:{gutter:h.gutter}},[R]):n("ul",{class:w+"-items"},[R])}else if(!O.length&&!z){var N=this.configProvider.renderEmpty;$=this.renderEmpty(w,N)}var W=V.position||"bottom";return n("div",r()([{class:D},{on:Object(C["k"])(this)}]),[("top"===W||"both"===W)&&E,S&&n("div",{class:w+"-header"},[S]),n(av,{props:T},[$,O]),x&&n("div",{class:w+"-footer"},[x]),L||("bottom"===W||"both"===W)&&E])},install:function(e){e.use(te),e.component(Ov.name,Ov),e.component(Ov.Item.name,Ov.Item),e.component(Ov.Item.Meta.name,Ov.Item.Meta)}},Tv=Ov,zv=k()({},D.Modal);function Hv(e){zv=e?k()({},zv,e):k()({},D.Modal)}function Dv(){return zv}var Vv="internalMark";function jv(e){e&&e.locale?wl(xc).locale(e.locale):wl(xc).locale("en")}var Yv={name:"ALocaleProvider",props:{locale:s["a"].object.def((function(){return{}})),_ANT_MARK__:s["a"].string},data:function(){return pe(this._ANT_MARK__===Vv,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead"),{antLocale:k()({},this.locale,{exist:!0})}},provide:function(){return{localeData:this.$data}},watch:{locale:function(e){this.antLocale=k()({},this.locale,{exist:!0}),jv(e),Hv(e&&e.Modal)}},created:function(){var e=this.locale;jv(e),Hv(e&&e.Modal)},beforeDestroy:function(){Hv()},render:function(){return this.$slots["default"]?this.$slots["default"][0]:null},install:function(e){e.use(te),e.component(Yv.name,Yv)}},Pv=Yv;function Av(){}var Ev={mixins:[p["a"]],props:{duration:s["a"].number.def(1.5),closable:s["a"].bool,prefixCls:s["a"].string,update:s["a"].bool,closeIcon:s["a"].any},watch:{duration:function(){this.restartCloseTimer()}},mounted:function(){this.startCloseTimer()},updated:function(){this.update&&this.restartCloseTimer()},beforeDestroy:function(){this.clearCloseTimer(),this.willDestroy=!0},methods:{close:function(e){e&&e.stopPropagation(),this.clearCloseTimer(),this.__emit("close")},startCloseTimer:function(){var e=this;this.clearCloseTimer(),!this.willDestroy&&this.duration&&(this.closeTimer=setTimeout((function(){e.close()}),1e3*this.duration))},clearCloseTimer:function(){this.closeTimer&&(clearTimeout(this.closeTimer),this.closeTimer=null)},restartCloseTimer:function(){this.clearCloseTimer(),this.startCloseTimer()}},render:function(){var e,t=arguments[0],n=this.prefixCls,i=this.closable,r=this.clearCloseTimer,a=this.startCloseTimer,s=this.$slots,c=this.close,l=n+"-notice",u=(e={},o()(e,""+l,1),o()(e,l+"-closable",i),e),d=Object(C["q"])(this),h=Object(C["g"])(this,"closeIcon");return t("div",{class:u,style:d||{right:"50%"},on:{mouseenter:r,mouseleave:a,click:Object(C["k"])(this).click||Av}},[t("div",{class:l+"-content"},[s["default"]]),i?t("a",{attrs:{tabIndex:"0"},on:{click:c},class:l+"-close"},[h||t("span",{class:l+"-close-x"})]):null])}};function Fv(){}var $v=0,Iv=Date.now();function Rv(){return"rcNotification_"+Iv+"_"+$v++}var Nv={mixins:[p["a"]],props:{prefixCls:s["a"].string.def("rc-notification"),transitionName:s["a"].string,animation:s["a"].oneOfType([s["a"].string,s["a"].object]).def("fade"),maxCount:s["a"].number,closeIcon:s["a"].any},data:function(){return{notices:[]}},methods:{getTransitionName:function(){var e=this.$props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t},add:function(e){var t=e.key=e.key||Rv(),n=this.$props.maxCount;this.setState((function(i){var r=i.notices,a=r.map((function(e){return e.key})).indexOf(t),o=r.concat();return-1!==a?o.splice(a,1,e):(n&&r.length>=n&&(e.updateKey=o[0].updateKey||o[0].key,o.shift()),o.push(e)),{notices:o}}))},remove:function(e){this.setState((function(t){return{notices:t.notices.filter((function(t){return t.key!==e}))}}))}},render:function(e){var t=this,n=this.prefixCls,i=this.notices,r=this.remove,a=this.getTransitionName,s=Object(Cn["a"])(a()),c=i.map((function(a,o){var s=Boolean(o===i.length-1&&a.updateKey),c=a.updateKey?a.updateKey:a.key,l=a.content,u=a.duration,d=a.closable,h=a.onClose,f=a.style,p=a["class"],m=Ph(r.bind(t,a.key),h),v={props:{prefixCls:n,duration:u,closable:d,update:s,closeIcon:Object(C["g"])(t,"closeIcon")},on:{close:m,click:a.onClick||Fv},style:f,class:p,key:c};return e(Ev,v,["function"===typeof l?l(e):l])})),l=o()({},n,1),u=Object(C["q"])(this);return e("div",{class:l,style:u||{top:"65px",left:"50%"}},[e("transition-group",s,[c])])},newInstance:function(e,t){var n=e||{},i=n.getContainer,r=n.style,a=n["class"],o=We()(n,["getContainer","style","class"]),s=document.createElement("div");if(i){var c=i();c.appendChild(s)}else document.body.appendChild(s);var l=te.Vue||kn["a"];new l({el:s,mounted:function(){var e=this;this.$nextTick((function(){t({notice:function(t){e.$refs.notification.add(t)},removeNotice:function(t){e.$refs.notification.remove(t)},component:e,destroy:function(){e.$destroy(),e.$el.parentNode.removeChild(e.$el)}})}))},render:function(){var e=arguments[0],t={props:o,ref:"notification",style:r,class:a};return e(Nv,t)}})}},Wv=Nv,Kv=Wv,Bv=3,Uv=void 0,qv=void 0,Gv=1,Jv="ant-message",Xv="move-up",Zv=function(){return document.body},Qv=void 0;function eg(e){qv?e(qv):Kv.newInstance({prefixCls:Jv,transitionName:Xv,style:{top:Uv},getContainer:Zv,maxCount:Qv},(function(t){qv?e(qv):(qv=t,e(t))}))}function tg(e){var t=void 0!==e.duration?e.duration:Bv,n={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle",loading:"loading"}[e.type],i=e.key||Gv++,r=new Promise((function(r){var a=function(){return"function"===typeof e.onClose&&e.onClose(),r(!0)};eg((function(r){r.notice({key:i,duration:t,style:{},content:function(t){var i=t(to,{attrs:{type:n,theme:"loading"===n?"outlined":"filled"}}),r=n?i:"";return t("div",{class:Jv+"-custom-content"+(e.type?" "+Jv+"-"+e.type:"")},[e.icon?"function"===typeof e.icon?e.icon(t):e.icon:r,t("span",["function"===typeof e.content?e.content(t):e.content])])},onClose:a})}))})),a=function(){qv&&qv.removeNotice(i)};return a.then=function(e,t){return r.then(e,t)},a.promise=r,a}function ng(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}var ig={open:tg,config:function(e){void 0!==e.top&&(Uv=e.top,qv=null),void 0!==e.duration&&(Bv=e.duration),void 0!==e.prefixCls&&(Jv=e.prefixCls),void 0!==e.getContainer&&(Zv=e.getContainer),void 0!==e.transitionName&&(Xv=e.transitionName,qv=null),void 0!==e.maxCount&&(Qv=e.maxCount,qv=null)},destroy:function(){qv&&(qv.destroy(),qv=null)}};["success","info","warning","error","loading"].forEach((function(e){ig[e]=function(t,n,i){return ng(t)?ig.open(k()({},t,{type:e})):("function"===typeof n&&(i=n,n=void 0),ig.open({content:t,duration:n,type:e,onClose:i}))}})),ig.warn=ig.warning;var rg=ig;function ag(e){var t=e.selectionStart;return e.value.slice(0,t)}function og(e){return(e||"").toLowerCase()}function sg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Array.isArray(t)?t:[t];return n.reduce((function(t,n){var i=e.lastIndexOf(n);return i>t.location?{location:i,prefix:n}:t}),{location:-1,prefix:""})}function cg(e,t,n){var i=e[0];if(!i||i===n)return e;for(var r=e,a=t.length,o=0;o0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.split;return!n||-1===e.indexOf(n)}function hg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.value,i=void 0===n?"":n,r=e.toLowerCase();return-1!==i.toLowerCase().indexOf(r)}var fg={value:s["a"].string,disabled:s["a"].boolean,children:s["a"].any},pg={name:"Option",props:fg,render:function(){return null}};function mg(){}var vg={name:"DropdownMenu",props:{prefixCls:s["a"].string,options:s["a"].arrayOf(fg)},inject:{mentionsContext:{default:{}}},render:function(){var e=arguments[0],t=this.mentionsContext,n=t.notFoundContent,i=t.activeIndex,r=t.setActiveIndex,a=t.selectOption,o=t.onFocus,s=void 0===o?mg:o,c=t.onBlur,l=void 0===c?mg:c,u=this.$props,d=u.prefixCls,h=u.options,f=h[i]||{};return e(qr,{props:{prefixCls:d+"-menu",activeKey:f.value},on:{select:function(e){var t=e.key,n=h.find((function(e){var n=e.value;return n===t}));a(n)},focus:s,blur:l}},[h.map((function(t,n){var i=t.value,a=t.disabled,o=t.children;return e(yn,{key:i,attrs:{disabled:a},on:{mouseenter:function(){r(n)}}},[o])})),!h.length&&e(yn,{attrs:{disabled:!0}},[n])])}},gg=["top","bottom"],yg={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},bg={name:"KeywordTrigger",props:{loading:s["a"].bool,options:s["a"].arrayOf(fg),prefixCls:s["a"].string,placement:s["a"].oneOf(gg),visible:s["a"].bool,transitionName:s["a"].string,getPopupContainer:s["a"].func},methods:{getDropdownPrefix:function(){return this.$props.prefixCls+"-dropdown"},getDropdownElement:function(){var e=this.$createElement,t=this.$props.options;return e(vg,{attrs:{prefixCls:this.getDropdownPrefix(),options:t}})}},render:function(){var e=arguments[0],t=this.$props,n=t.visible,i=t.placement,r=t.transitionName,a=t.getPopupContainer,o=this.$slots,s=o["default"],c=this.getDropdownElement();return e(_r,{attrs:{prefixCls:this.getDropdownPrefix(),popupVisible:n,popup:c,popupPlacement:"top"===i?"topRight":"bottomRight",popupTransitionName:r,builtinPlacements:yg,getPopupContainer:a}},[s])}},_g={autoFocus:s["a"].bool,prefix:s["a"].oneOfType([s["a"].string,s["a"].array]),prefixCls:s["a"].string,value:s["a"].string,defaultValue:s["a"].string,disabled:s["a"].bool,notFoundContent:s["a"].any,split:s["a"].string,transitionName:s["a"].string,placement:s["a"].oneOf(gg),character:s["a"].any,characterRender:s["a"].func,filterOption:s["a"].func,validateSearch:s["a"].func,getPopupContainer:s["a"].func},Mg=k()({},_g,{children:s["a"].any}),wg={prefix:"@",split:" ",validateSearch:dg,filterOption:hg};Object(C["t"])(Mg,wg);function kg(){}var Cg={name:"Mentions",mixins:[p["a"]],inheritAttrs:!1,model:{prop:"value",event:"change"},props:Object(C["t"])(Mg,wg),provide:function(){return{mentionsContext:this}},data:function(){var e=this.$props,t=e.value,n=void 0===t?"":t,i=e.defaultValue,r=void 0===i?"":i;return wn()(this.$props.children,"please children prop replace slots.default"),{_value:Object(C["s"])(this,"value")?n:r,measuring:!1,measureLocation:0,measureText:null,measurePrefix:"",activeIndex:0,isFocus:!1}},watch:{value:function(e){this.$data._value=e}},updated:function(){var e=this;this.$nextTick((function(){var t=e.$data.measuring;t&&(e.$refs.measure.scrollTop=e.$refs.textarea.scrollTop)}))},methods:{triggerChange:function(e){var t=Object(C["l"])(this);"value"in t?this.$forceUpdate():this.setState({_value:e}),this.$emit("change",e)},onChange:function(e){var t=e.target,n=t.value,i=t.composing,r=e.isComposing;r||i||this.triggerChange(n)},onKeyDown:function(e){var t=e.which,n=this.$data,i=n.activeIndex,r=n.measuring;if(r)if(t===Be.UP||t===Be.DOWN){var a=this.getOptions().length,o=t===Be.UP?-1:1,s=(i+o+a)%a;this.setState({activeIndex:s}),e.preventDefault()}else if(t===Be.ESC)this.stopMeasure();else if(t===Be.ENTER){e.preventDefault();var c=this.getOptions();if(!c.length)return void this.stopMeasure();var l=c[i];this.selectOption(l)}},onKeyUp:function(e){var t=e.key,n=e.which,i=this.$data,r=i.measureText,a=i.measuring,o=this.$props,s=o.prefix,c=void 0===s?"":s,l=o.validateSearch,u=e.target,d=ag(u),h=sg(d,c),f=h.location,p=h.prefix;if(-1===[Be.ESC,Be.UP,Be.DOWN,Be.ENTER].indexOf(n))if(-1!==f){var m=d.slice(f+p.length),v=l(m,this.$props),g=!!this.getOptions(m).length;v?(t===p||a||m!==r&&g)&&this.startMeasure(m,p,f):a&&this.stopMeasure(),v&&this.$emit("search",m,p)}else a&&this.stopMeasure()},onInputFocus:function(e){this.onFocus(e)},onInputBlur:function(e){this.onBlur(e)},onDropdownFocus:function(){this.onFocus()},onDropdownBlur:function(){this.onBlur()},onFocus:function(e){window.clearTimeout(this.focusId);var t=this.$data.isFocus;!t&&e&&this.$emit("focus",e),this.setState({isFocus:!0})},onBlur:function(e){var t=this;this.focusId=window.setTimeout((function(){t.setState({isFocus:!1}),t.stopMeasure(),t.$emit("blur",e)}),0)},selectOption:function(e){var t=this,n=this.$data,i=n._value,r=n.measureLocation,a=n.measurePrefix,o=this.$props.split,s=e.value,c=void 0===s?"":s,l=lg(i,{measureLocation:r,targetText:c,prefix:a,selectionStart:this.$refs.textarea.selectionStart,split:o}),u=l.text,d=l.selectionLocation;this.triggerChange(u),this.stopMeasure((function(){ug(t.$refs.textarea,d)})),this.$emit("select",e,a)},setActiveIndex:function(e){this.setState({activeIndex:e})},getOptions:function(e){var t=e||this.$data.measureText||"",n=this.$props,i=n.filterOption,r=n.children,a=void 0===r?[]:r,o=(Array.isArray(a)?a:[a]).map((function(e){var t=Object(C["p"])(e)["default"];return k()({},Object(C["l"])(e),{children:t})})).filter((function(e){return!1===i||i(t,e)}));return o},startMeasure:function(e,t,n){this.setState({measuring:!0,measureText:e,measurePrefix:t,measureLocation:n,activeIndex:0})},stopMeasure:function(e){this.setState({measuring:!1,measureLocation:0,measureText:null},e)},focus:function(){this.$refs.textarea.focus()},blur:function(){this.$refs.textarea.blur()}},render:function(){var e=arguments[0],t=this.$data,n=t._value,i=t.measureLocation,a=t.measurePrefix,o=t.measuring,s=Object(C["l"])(this),c=s.prefixCls,l=s.placement,d=s.transitionName,h=(s.autoFocus,s.notFoundContent,s.getPopupContainer),f=We()(s,["prefixCls","placement","transitionName","autoFocus","notFoundContent","getPopupContainer"]),p=Object(u["a"])(f,["value","defaultValue","prefix","split","children","validateSearch","filterOption"]),m=o?this.getOptions():[];return e("div",{class:c},[e("textarea",r()([{ref:"textarea"},{directives:[{name:"ant-input"}],attrs:k()({},p,this.$attrs),domProps:{value:n},on:k()({},Object(C["k"])(this),{select:kg,change:kg,input:this.onChange,keydown:this.onKeyDown,keyup:this.onKeyUp,blur:this.onInputBlur})}])),o&&e("div",{ref:"measure",class:c+"-measure"},[n.slice(0,i),e(bg,{attrs:{prefixCls:c,transitionName:d,placement:l,options:m,visible:!0,getPopupContainer:h}},[e("span",[a])]),n.slice(i+a.length)])])}},Lg=Cg;Lg.Option=pg;var xg=Lg,Sg=xg.Option;function Og(){return!0}function Tg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],n=t||{},i=n.prefix,r=void 0===i?"@":i,a=n.split,o=void 0===a?" ":a,s=Array.isArray(r)?r:[r];return e.split(o).map((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;return s.some((function(n){var i=e.slice(0,n.length);return i===n&&(t=n,!0)})),null!==t?{prefix:t,value:e.slice(t.length)}:null})).filter((function(e){return!!e&&!!e.value}))}var zg={name:"AMentions",mixins:[p["a"]],inheritAttrs:!1,model:{prop:"value",event:"change"},Option:k()({},Sg,{name:"AMentionsOption"}),getMentions:Tg,props:k()({},_g,{loading:s["a"].bool}),inject:{configProvider:{default:function(){return ce}}},data:function(){return{focused:!1}},mounted:function(){var e=this;this.$nextTick((function(){e.autoFocus&&e.focus()}))},methods:{onFocus:function(){for(var e=arguments.length,t=Array(e),n=0;n(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;if(t){if(e)return document.body.style.position="",void(document.body.style.width="");var n=Yg();n&&(document.body.style.position="relative",document.body.style.width="calc(100% - "+n+"px)")}};function Ag(){return{keyboard:s["a"].bool,mask:s["a"].bool,afterClose:s["a"].func,closable:s["a"].bool,maskClosable:s["a"].bool,visible:s["a"].bool,destroyOnClose:s["a"].bool,mousePosition:s["a"].shape({x:s["a"].number,y:s["a"].number}).loose,title:s["a"].any,footer:s["a"].any,transitionName:s["a"].string,maskTransitionName:s["a"].string,animation:s["a"].any,maskAnimation:s["a"].any,wrapStyle:s["a"].object,bodyStyle:s["a"].object,maskStyle:s["a"].object,prefixCls:s["a"].string,wrapClassName:s["a"].string,width:s["a"].oneOfType([s["a"].string,s["a"].number]),height:s["a"].oneOfType([s["a"].string,s["a"].number]),zIndex:s["a"].number,bodyProps:s["a"].any,maskProps:s["a"].any,wrapProps:s["a"].any,getContainer:s["a"].any,dialogStyle:s["a"].object.def((function(){return{}})),dialogClass:s["a"].string.def(""),closeIcon:s["a"].any,forceRender:s["a"].bool,getOpenCount:s["a"].func,focusTriggerAfterClose:s["a"].bool}}var Eg=Ag,Fg=Eg(),$g=0;function Ig(){}function Rg(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],i="scroll"+(t?"Top":"Left");if("number"!==typeof n){var r=e.document;n=r.documentElement[i],"number"!==typeof n&&(n=r.body[i])}return n}function Ng(e,t){var n=e.style;["Webkit","Moz","Ms","ms"].forEach((function(e){n[e+"TransformOrigin"]=t})),n["transformOrigin"]=t}function Wg(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},i=e.ownerDocument,r=i.defaultView||i.parentWindow;return n.left+=Rg(r),n.top+=Rg(r,!0),n}var Kg={},Bg={mixins:[p["a"]],props:Object(C["t"])(Fg,{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:function(){return null},focusTriggerAfterClose:!0}),data:function(){return{destroyPopup:!1}},provide:function(){return{dialogContext:this}},watch:{visible:function(e){var t=this;e&&(this.destroyPopup=!1),this.$nextTick((function(){t.updatedCallback(!e)}))}},beforeMount:function(){this.inTransition=!1,this.titleId="rcDialogTitle"+$g++},mounted:function(){var e=this;this.$nextTick((function(){e.updatedCallback(!1),(e.forceRender||!1===e.getContainer&&!e.visible)&&e.$refs.wrap&&(e.$refs.wrap.style.display="none")}))},beforeDestroy:function(){var e=this.visible,t=this.getOpenCount;!e&&!this.inTransition||t()||this.switchScrollingEffect(),clearTimeout(this.timeoutId)},methods:{getDialogWrap:function(){return this.$refs.wrap},updatedCallback:function(e){var t=this.mousePosition,n=this.mask,i=this.focusTriggerAfterClose;if(this.visible){if(!e){this.openTime=Date.now(),this.switchScrollingEffect(),this.tryFocus();var r=this.$refs.dialog.$el;if(t){var a=Wg(r);Ng(r,t.x-a.left+"px "+(t.y-a.top)+"px")}else Ng(r,"")}}else if(e&&(this.inTransition=!0,n&&this.lastOutSideFocusNode&&i)){try{this.lastOutSideFocusNode.focus()}catch(o){this.lastOutSideFocusNode=null}this.lastOutSideFocusNode=null}},tryFocus:function(){xn(this.$refs.wrap,document.activeElement)||(this.lastOutSideFocusNode=document.activeElement,this.$refs.sentinelStart.focus())},onAnimateLeave:function(){var e=this.afterClose,t=this.destroyOnClose;this.$refs.wrap&&(this.$refs.wrap.style.display="none"),t&&(this.destroyPopup=!0),this.inTransition=!1,this.switchScrollingEffect(),e&&e()},onDialogMouseDown:function(){this.dialogMouseDown=!0},onMaskMouseUp:function(){var e=this;this.dialogMouseDown&&(this.timeoutId=setTimeout((function(){e.dialogMouseDown=!1}),0))},onMaskClick:function(e){Date.now()-this.openTime<300||e.target!==e.currentTarget||this.dialogMouseDown||this.close(e)},onKeydown:function(e){var t=this.$props;if(t.keyboard&&e.keyCode===Be.ESC)return e.stopPropagation(),void this.close(e);if(t.visible&&e.keyCode===Be.TAB){var n=document.activeElement,i=this.$refs.sentinelStart;e.shiftKey?n===i&&this.$refs.sentinelEnd.focus():n===this.$refs.sentinelEnd&&i.focus()}},getDialogElement:function(){var e=this.$createElement,t=this.closable,n=this.prefixCls,i=this.width,a=this.height,s=this.title,c=this.footer,l=this.bodyStyle,u=this.visible,d=this.bodyProps,h=this.forceRender,f=this.dialogStyle,p=this.dialogClass,m=k()({},f);void 0!==i&&(m.width="number"===typeof i?i+"px":i),void 0!==a&&(m.height="number"===typeof a?a+"px":a);var v=void 0;c&&(v=e("div",{key:"footer",class:n+"-footer",ref:"footer"},[c]));var g=void 0;s&&(g=e("div",{key:"header",class:n+"-header",ref:"header"},[e("div",{class:n+"-title",attrs:{id:this.titleId}},[s])]));var y=void 0;if(t){var b=Object(C["g"])(this,"closeIcon");y=e("button",{attrs:{type:"button","aria-label":"Close"},key:"close",on:{click:this.close||Ig},class:n+"-close"},[b||e("span",{class:n+"-close-x"})])}var _=m,M={width:0,height:0,overflow:"hidden"},w=o()({},n,!0),L=this.getTransitionName(),x=e(Vg,{directives:[{name:"show",value:u}],key:"dialog-element",attrs:{role:"document",forceRender:h},ref:"dialog",style:_,class:[w,p],on:{mousedown:this.onDialogMouseDown}},[e("div",{attrs:{tabIndex:0,"aria-hidden":"true"},ref:"sentinelStart",style:M}),e("div",{class:n+"-content"},[y,g,e("div",r()([{key:"body",class:n+"-body",style:l,ref:"body"},d]),[this.$slots["default"]]),v]),e("div",{attrs:{tabIndex:0,"aria-hidden":"true"},ref:"sentinelEnd",style:M})]),S=Object(Cn["a"])(L,{afterLeave:this.onAnimateLeave});return e("transition",r()([{key:"dialog"},S]),[u||!this.destroyPopup?x:null])},getZIndexStyle:function(){var e={},t=this.$props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},getWrapStyle:function(){return k()({},this.getZIndexStyle(),this.wrapStyle)},getMaskStyle:function(){return k()({},this.getZIndexStyle(),this.maskStyle)},getMaskElement:function(){var e=this.$createElement,t=this.$props,n=void 0;if(t.mask){var i=this.getMaskTransitionName();if(n=e(Vg,r()([{directives:[{name:"show",value:t.visible}],style:this.getMaskStyle(),key:"mask",class:t.prefixCls+"-mask"},t.maskProps])),i){var a=Object(Cn["a"])(i);n=e("transition",r()([{key:"mask"},a]),[n])}}return n},getMaskTransitionName:function(){var e=this.$props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},getTransitionName:function(){var e=this.$props,t=e.transitionName,n=e.animation;return!t&&n&&(t=e.prefixCls+"-"+n),t},switchScrollingEffect:function(){var e=this.getOpenCount,t=e();if(1===t){if(Kg.hasOwnProperty("overflowX"))return;Kg={overflowX:document.body.style.overflowX,overflowY:document.body.style.overflowY,overflow:document.body.style.overflow},Pg(),document.body.style.overflow="hidden"}else t||(void 0!==Kg.overflow&&(document.body.style.overflow=Kg.overflow),void 0!==Kg.overflowX&&(document.body.style.overflowX=Kg.overflowX),void 0!==Kg.overflowY&&(document.body.style.overflowY=Kg.overflowY),Kg={},Pg(!0))},close:function(e){this.__emit("close",e)}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.maskClosable,i=this.visible,a=this.wrapClassName,o=this.title,s=this.wrapProps,c=this.getWrapStyle();return i&&(c.display=null),e("div",{class:t+"-root"},[this.getMaskElement(),e("div",r()([{attrs:{tabIndex:-1,role:"dialog","aria-labelledby":o?this.titleId:null},on:{keydown:this.onKeydown,click:n?this.onMaskClick:Ig,mouseup:n?this.onMaskMouseUp:Ig},class:t+"-wrap "+(a||""),ref:"wrap",style:c},s]),[this.getDialogElement()])])}};function Ug(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.element,i=void 0===n?document.body:n,r={},a=Object.keys(e);return a.forEach((function(e){r[e]=i.style[e]})),a.forEach((function(t){i.style[t]=e[t]})),r}var qg=Ug,Gg={name:"Portal",props:{getContainer:s["a"].func.isRequired,children:s["a"].any.isRequired,didUpdate:s["a"].func},mounted:function(){this.createContainer()},updated:function(){var e=this,t=this.$props.didUpdate;t&&this.$nextTick((function(){t(e.$props)}))},beforeDestroy:function(){this.removeContainer()},methods:{createContainer:function(){this._container=this.$props.getContainer(),this.$forceUpdate()},removeContainer:function(){this._container&&this._container.parentNode&&this._container.parentNode.removeChild(this._container)}},render:function(){return this._container?Object(Ln["a"])(this.$props.children,{directives:[{name:"ant-portal",value:this._container}]}):null}},Jg=0,Xg=!("undefined"!==typeof window&&window.document&&window.document.createElement),Zg={},Qg={name:"PortalWrapper",props:{wrapperClassName:s["a"].string,forceRender:s["a"].bool,getContainer:s["a"].any,children:s["a"].func,visible:s["a"].bool},data:function(){var e=this.$props.visible;return Jg=e?Jg+1:Jg,{}},updated:function(){this.setWrapperClassName()},watch:{visible:function(e){Jg=e?Jg+1:Jg-1},getContainer:function(e,t){var n="function"===typeof e&&"function"===typeof t;(n?e.toString()!==t.toString():e!==t)&&this.removeCurrentContainer(!1)}},beforeDestroy:function(){var e=this.$props.visible;Jg=e&&Jg?Jg-1:Jg,this.removeCurrentContainer(e)},methods:{getParent:function(){var e=this.$props.getContainer;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===("undefined"===typeof e?"undefined":M()(e))&&e instanceof window.HTMLElement)return e}return document.body},getDomContainer:function(){if(Xg)return null;if(!this.container){this.container=document.createElement("div");var e=this.getParent();e&&e.appendChild(this.container)}return this.setWrapperClassName(),this.container},setWrapperClassName:function(){var e=this.$props.wrapperClassName;this.container&&e&&e!==this.container.className&&(this.container.className=e)},savePortal:function(e){this._component=e},removeCurrentContainer:function(){this.container=null,this._component=null},switchScrollingEffect:function(){1!==Jg||Object.keys(Zg).length?Jg||(qg(Zg),Zg={},Pg(!0)):(Pg(),Zg=qg({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))}},render:function(){var e=arguments[0],t=this.$props,n=t.children,i=t.forceRender,a=t.visible,o=null,s={getOpenCount:function(){return Jg},getContainer:this.getDomContainer,switchScrollingEffect:this.switchScrollingEffect};return(i||a||this._component)&&(o=e(Gg,r()([{attrs:{getContainer:this.getDomContainer,children:n(s)}},{directives:[{name:"ant-ref",value:this.savePortal}]}]))),o}},ey=Eg(),ty={inheritAttrs:!1,props:k()({},ey,{visible:ey.visible.def(!1)}),render:function(){var e=this,t=arguments[0],n=this.$props,i=n.visible,a=n.getContainer,o=n.forceRender,s={props:this.$props,attrs:this.$attrs,ref:"_component",key:"dialog",on:Object(C["k"])(this)};return!1===a?t(Bg,r()([s,{attrs:{getOpenCount:function(){return 2}}}]),[this.$slots["default"]]):t(Qg,{attrs:{visible:i,forceRender:o,getContainer:a,children:function(n){return s.props=k()({},s.props,n),t(Bg,s,[e.$slots["default"]])}}})}},ny=ty,iy=ny,ry=Ko().type,ay=null,oy=function(e){ay={x:e.pageX,y:e.pageY},setTimeout((function(){return ay=null}),100)};function sy(){}"undefined"!==typeof window&&window.document&&window.document.documentElement&&ge(document.documentElement,"click",oy,!0);var cy=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={prefixCls:s["a"].string,visible:s["a"].bool,confirmLoading:s["a"].bool,title:s["a"].any,closable:s["a"].bool,closeIcon:s["a"].any,afterClose:s["a"].func.def(sy),centered:s["a"].bool,width:s["a"].oneOfType([s["a"].string,s["a"].number]),footer:s["a"].any,okText:s["a"].any,okType:ry,cancelText:s["a"].any,icon:s["a"].any,maskClosable:s["a"].bool,forceRender:s["a"].bool,okButtonProps:s["a"].object,cancelButtonProps:s["a"].object,destroyOnClose:s["a"].bool,wrapClassName:s["a"].string,maskTransitionName:s["a"].string,transitionName:s["a"].string,getContainer:s["a"].func,zIndex:s["a"].number,bodyStyle:s["a"].object,maskStyle:s["a"].object,mask:s["a"].bool,keyboard:s["a"].bool,wrapProps:s["a"].object,focusTriggerAfterClose:s["a"].bool,dialogStyle:s["a"].object.def((function(){return{}}))};return Object(C["t"])(t,e)},ly=[],uy={name:"AModal",inheritAttrs:!1,model:{prop:"visible",event:"change"},props:cy({width:520,transitionName:"zoom",maskTransitionName:"fade",confirmLoading:!1,visible:!1,okType:"primary"}),data:function(){return{sVisible:!!this.visible}},watch:{visible:function(e){this.sVisible=e}},inject:{configProvider:{default:function(){return ce}}},methods:{handleCancel:function(e){this.$emit("cancel",e),this.$emit("change",!1)},handleOk:function(e){this.$emit("ok",e)},renderFooter:function(e){var t=this.$createElement,n=this.okType,i=this.confirmLoading,r=Object(C["x"])({on:{click:this.handleCancel}},this.cancelButtonProps||{}),a=Object(C["x"])({on:{click:this.handleOk},props:{type:n,loading:i}},this.okButtonProps||{});return t("div",[t(Zo,r,[Object(C["g"])(this,"cancelText")||e.cancelText]),t(Zo,a,[Object(C["g"])(this,"okText")||e.okText])])}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.sVisible,i=this.wrapClassName,r=this.centered,a=this.getContainer,s=this.$slots,c=this.$scopedSlots,u=this.$attrs,d=c["default"]?c["default"]():s["default"],h=this.configProvider,f=h.getPrefixCls,p=h.getPopupContainer,m=f("modal",t),v=e(j,{attrs:{componentName:"Modal",defaultLocale:Dv()},scopedSlots:{default:this.renderFooter}}),g=Object(C["g"])(this,"closeIcon"),y=e("span",{class:m+"-close-x"},[g||e(to,{class:m+"-close-icon",attrs:{type:"close"}})]),b=Object(C["g"])(this,"footer"),_=Object(C["g"])(this,"title"),M={props:k()({},this.$props,{getContainer:void 0===a?p:a,prefixCls:m,wrapClassName:l()(o()({},m+"-centered",!!r),i),title:_,footer:void 0===b?v:b,visible:n,mousePosition:ay,closeIcon:y}),on:k()({},Object(C["k"])(this),{close:this.handleCancel}),class:Object(C["f"])(this),style:Object(C["q"])(this),attrs:u};return e(iy,M,[d])}},dy=Ko().type,hy={type:dy,actionFn:s["a"].func,closeModal:s["a"].func,autoFocus:s["a"].bool,buttonProps:s["a"].object},fy={mixins:[p["a"]],props:hy,data:function(){return{loading:!1}},mounted:function(){var e=this;this.autoFocus&&(this.timeoutId=setTimeout((function(){return e.$el.focus()})))},beforeDestroy:function(){clearTimeout(this.timeoutId)},methods:{onClick:function(){var e=this,t=this.actionFn,n=this.closeModal;if(t){var i=void 0;t.length?i=t(n):(i=t(),i||n()),i&&i.then&&(this.setState({loading:!0}),i.then((function(){n.apply(void 0,arguments)}),(function(t){console.error(t),e.setState({loading:!1})})))}else n()}},render:function(){var e=arguments[0],t=this.type,n=this.$slots,i=this.loading,a=this.buttonProps;return e(Zo,r()([{attrs:{type:t,loading:i},on:{click:this.onClick}},a]),[n["default"]])}},py={functional:!0,render:function(e,t){var n=t.props,i=n.onCancel,r=n.onOk,a=n.close,s=n.zIndex,c=n.afterClose,u=n.visible,d=n.keyboard,h=n.centered,f=n.getContainer,p=n.maskStyle,m=n.okButtonProps,v=n.cancelButtonProps,g=n.iconType,y=void 0===g?"question-circle":g,b=n.closable,_=void 0!==b&&b;pe(!("iconType"in n),"Modal","The property 'iconType' is deprecated. Use the property 'icon' instead.");var M=n.icon?n.icon:y,w=n.okType||"primary",k=n.prefixCls||"ant-modal",C=k+"-confirm",L=!("okCancel"in n)||n.okCancel,x=n.width||416,S=n.style||{},O=void 0===n.mask||n.mask,T=void 0!==n.maskClosable&&n.maskClosable,z=Dv(),H=n.okText||(L?z.okText:z.justOkText),D=n.cancelText||z.cancelText,V=null!==n.autoFocusButton&&(n.autoFocusButton||"ok"),j=n.transitionName||"zoom",Y=n.maskTransitionName||"fade",P=l()(C,C+"-"+n.type,k+"-"+n.type,n["class"]),A=L&&e(fy,{attrs:{actionFn:i,closeModal:a,autoFocus:"cancel"===V,buttonProps:v}},[D]),E="string"===typeof M?e(to,{attrs:{type:M}}):M(e);return e(uy,{attrs:{prefixCls:k,wrapClassName:l()(o()({},C+"-centered",!!h)),visible:u,closable:_,title:"",transitionName:j,footer:"",maskTransitionName:Y,mask:O,maskClosable:T,maskStyle:p,width:x,zIndex:s,afterClose:c,keyboard:d,centered:h,getContainer:f},class:P,on:{cancel:function(e){return a({triggerCancel:!0},e)}},style:S},[e("div",{class:C+"-body-wrapper"},[e("div",{class:C+"-body"},[E,void 0===n.title?null:e("span",{class:C+"-title"},["function"===typeof n.title?n.title(e):n.title]),e("div",{class:C+"-content"},["function"===typeof n.content?n.content(e):n.content])]),e("div",{class:C+"-btns"},[A,e(fy,{attrs:{type:w,actionFn:r,closeModal:a,autoFocus:"ok"===V,buttonProps:m}},[H])])])])}};function my(e){var t=document.createElement("div"),n=document.createElement("div");t.appendChild(n),document.body.appendChild(t);var i=k()({},Object(u["a"])(e,["parentContext"]),{close:o,visible:!0}),r=null,a={props:{}};function o(){c.apply(void 0,arguments)}function s(e){i=k()({},i,e),a.props=i}function c(){r&&t.parentNode&&(r.$destroy(),r=null,t.parentNode.removeChild(t));for(var n=arguments.length,i=Array(n),a=0;a1&&void 0!==arguments[1]?arguments[1]:Ly,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xy,i=void 0;switch(e){case"topLeft":i={left:0,top:t,bottom:"auto"};break;case"topRight":i={right:0,top:t,bottom:"auto"};break;case"bottomLeft":i={left:0,top:"auto",bottom:n};break;default:i={right:0,top:"auto",bottom:n};break}return i}function Dy(e,t){var n=e.prefixCls,i=e.placement,r=void 0===i?Sy:i,a=e.getContainer,o=void 0===a?Oy:a,s=e.top,c=e.bottom,l=e.closeIcon,u=void 0===l?Ty:l,d=n+"-"+r;ky[d]?t(ky[d]):Kv.newInstance({prefixCls:n,class:n+"-"+r,style:Hy(r,s,c),getContainer:o,closeIcon:function(e){var t="function"===typeof u?u(e):u,i=e("span",{class:n+"-close-x"},[t||e(to,{class:n+"-close-icon",attrs:{type:"close"}})]);return i}},(function(e){ky[d]=e,t(e)}))}var Vy={success:"check-circle-o",info:"info-circle-o",error:"close-circle-o",warning:"exclamation-circle-o"};function jy(e){var t=e.icon,n=e.type,i=e.description,r=e.message,a=e.btn,o=e.prefixCls||"ant-notification",s=o+"-notice",c=void 0===e.duration?Cy:e.duration,l=null;if(t)l=function(e){return e("span",{class:s+"-icon"},["function"===typeof t?t(e):t])};else if(n){var u=Vy[n];l=function(e){return e(to,{class:s+"-icon "+s+"-icon-"+n,attrs:{type:u}})}}var d=e.placement,h=e.top,f=e.bottom,p=e.getContainer,m=e.closeIcon;Dy({prefixCls:o,placement:d,top:h,bottom:f,getContainer:p,closeIcon:m},(function(t){t.notice({content:function(e){return e("div",{class:l?s+"-with-icon":""},[l&&l(e),e("div",{class:s+"-message"},[!i&&l?e("span",{class:s+"-message-single-line-auto-margin"}):null,"function"===typeof r?r(e):r]),e("div",{class:s+"-description"},["function"===typeof i?i(e):i]),a?e("span",{class:s+"-btn"},["function"===typeof a?a(e):a]):null])},duration:c,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e["class"]})}))}var Yy={open:jy,close:function(e){Object.keys(ky).forEach((function(t){return ky[t].removeNotice(e)}))},config:zy,destroy:function(){Object.keys(ky).forEach((function(e){ky[e].destroy(),delete ky[e]}))}};["success","info","warning","error"].forEach((function(e){Yy[e]=function(t){return Yy.open(k()({},t,{type:e}))}})),Yy.warn=Yy.warning;var Py=Yy,Ay=lc(),Ey=Ko(),Fy={name:"APopconfirm",props:k()({},Ay,{prefixCls:s["a"].string,transitionName:s["a"].string.def("zoom-big"),content:s["a"].any,title:s["a"].any,trigger:Ay.trigger.def("click"),okType:Ey.type.def("primary"),disabled:s["a"].bool.def(!1),okText:s["a"].any,cancelText:s["a"].any,icon:s["a"].any,okButtonProps:s["a"].object,cancelButtonProps:s["a"].object}),mixins:[p["a"]],model:{prop:"visible",event:"visibleChange"},watch:{visible:function(e){this.sVisible=e}},inject:{configProvider:{default:function(){return ce}}},data:function(){var e=Object(C["l"])(this),t={sVisible:!1};return"visible"in e&&(t.sVisible=e.visible),"defaultVisible"in e&&(t.sVisible=e.defaultVisible),t},methods:{onConfirm:function(e){this.setVisible(!1,e),this.$emit("confirm",e)},onCancel:function(e){this.setVisible(!1,e),this.$emit("cancel",e)},onVisibleChange:function(e){var t=this.$props.disabled;t||this.setVisible(e)},setVisible:function(e,t){Object(C["s"])(this,"visible")||this.setState({sVisible:e}),this.$emit("visibleChange",e,t)},getPopupDomNode:function(){return this.$refs.tooltip.getPopupDomNode()},renderOverlay:function(e,t){var n=this.$createElement,i=this.okType,r=this.okButtonProps,a=this.cancelButtonProps,o=Object(C["g"])(this,"icon")||n(to,{attrs:{type:"exclamation-circle",theme:"filled"}}),s=Object(C["x"])({props:{size:"small"},on:{click:this.onCancel}},a),c=Object(C["x"])({props:{type:i,size:"small"},on:{click:this.onConfirm}},r);return n("div",{class:e+"-inner-content"},[n("div",{class:e+"-message"},[o,n("div",{class:e+"-message-title"},[Object(C["g"])(this,"title")])]),n("div",{class:e+"-buttons"},[n(Zo,s,[Object(C["g"])(this,"cancelText")||t.cancelText]),n(Zo,c,[Object(C["g"])(this,"okText")||t.okText])])])}},render:function(){var e=this,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=this.configProvider.getPrefixCls,a=r("popover",i),o=Object(u["a"])(n,["title","content","cancelText","okText"]),s={props:k()({},o,{prefixCls:a,visible:this.sVisible}),ref:"tooltip",on:{visibleChange:this.onVisibleChange}},c=t(j,{attrs:{componentName:"Popconfirm",defaultLocale:V.Popconfirm},scopedSlots:{default:function(t){return e.renderOverlay(a,t)}}});return t(fc,s,[t("template",{slot:"title"},[c]),this.$slots["default"]])},install:function(e){e.use(te),e.component(Fy.name,Fy)}},$y=Fy,Iy=lc(),Ry={name:"APopover",props:k()({},Iy,{prefixCls:s["a"].string,transitionName:s["a"].string.def("zoom-big"),content:s["a"].any,title:s["a"].any}),model:{prop:"visible",event:"visibleChange"},inject:{configProvider:{default:function(){return ce}}},methods:{getPopupDomNode:function(){return this.$refs.tooltip.getPopupDomNode()}},render:function(){var e=arguments[0],t=this.title,n=this.prefixCls,i=this.$slots,r=this.configProvider.getPrefixCls,a=r("popover",n),o=Object(C["l"])(this);delete o.title,delete o.content;var s={props:k()({},o,{prefixCls:a}),ref:"tooltip",on:Object(C["k"])(this)};return e(fc,s,[e("template",{slot:"title"},[e("div",[(t||i.title)&&e("div",{class:a+"-title"},[Object(C["g"])(this,"title")]),e("div",{class:a+"-inner-content"},[Object(C["g"])(this,"content")])])]),this.$slots["default"]])},install:function(e){e.use(te),e.component(Ry.name,Ry)}},Ny=Ry;function Wy(e){return!e||e<0?0:e>100?100:e}var Ky=function(e){var t=[],n=!0,i=!1,r=void 0;try{for(var a,o=Object.entries(e)[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value,c=$t()(s,2),l=c[0],u=c[1],d=parseFloat(l.replace(/%/g,""));if(isNaN(d))return{};t.push({key:d,value:u})}}catch(h){i=!0,r=h}finally{try{!n&&o["return"]&&o["return"]()}finally{if(i)throw r}}return t=t.sort((function(e,t){return e.key-t.key})),t.map((function(e){var t=e.key,n=e.value;return n+" "+t+"%"})).join(", ")},By=function(e){var t=e.from,n=void 0===t?"#1890ff":t,i=e.to,r=void 0===i?"#1890ff":i,a=e.direction,o=void 0===a?"to right":a,s=We()(e,["from","to","direction"]);if(0!==Object.keys(s).length){var c=Ky(s);return{backgroundImage:"linear-gradient("+o+", "+c+")"}}return{backgroundImage:"linear-gradient("+o+", "+n+", "+r+")"}},Uy={functional:!0,render:function(e,t){var n=t.props,i=t.children,r=n.prefixCls,a=n.percent,o=n.successPercent,s=n.strokeWidth,c=n.size,l=n.strokeColor,u=n.strokeLinecap,d=void 0;d=l&&"string"!==typeof l?By(l):{background:l};var h=k()({width:Wy(a)+"%",height:(s||("small"===c?6:8))+"px",background:l,borderRadius:"square"===u?0:"100px"},d),f={width:Wy(o)+"%",height:(s||("small"===c?6:8))+"px",borderRadius:"square"===u?0:""},p=void 0!==o?e("div",{class:r+"-success-bg",style:f}):null;return e("div",[e("div",{class:r+"-outer"},[e("div",{class:r+"-inner"},[e("div",{class:r+"-bg",style:h}),p])]),i])}},qy=Uy;function Gy(e){return{mixins:[e],updated:function(){var e=this,t=Date.now(),n=!1;Object.keys(this.paths).forEach((function(i){var r=e.paths[i];if(r){n=!0;var a=r.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}}}var Jy=Gy,Xy={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},Zy=s["a"].oneOfType([s["a"].number,s["a"].string]),Qy={percent:s["a"].oneOfType([Zy,s["a"].arrayOf(Zy)]),prefixCls:s["a"].string,strokeColor:s["a"].oneOfType([s["a"].string,s["a"].arrayOf(s["a"].oneOfType([s["a"].string,s["a"].object])),s["a"].object]),strokeLinecap:s["a"].oneOf(["butt","round","square"]),strokeWidth:Zy,trailColor:s["a"].string,trailWidth:Zy},eb=k()({},Qy,{gapPosition:s["a"].oneOf(["top","bottom","left","right"]),gapDegree:s["a"].oneOfType([s["a"].number,s["a"].string,s["a"].bool])}),tb=k()({},Xy,{gapPosition:"top"});kn["a"].use(E.a,{name:"ant-ref"});var nb=0;function ib(e){return+e.replace("%","")}function rb(e){return Array.isArray(e)?e:[e]}function ab(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments[5],o=50-i/2,s=0,c=-o,l=0,u=-2*o;switch(a){case"left":s=-o,c=0,l=2*o,u=0;break;case"right":s=o,c=0,l=-2*o,u=0;break;case"bottom":c=o,u=2*o;break;default:}var d="M 50,50 m "+s+","+c+"\n a "+o+","+o+" 0 1 1 "+l+","+-u+"\n a "+o+","+o+" 0 1 1 "+-l+","+u,h=2*Math.PI*o,f={stroke:n,strokeDasharray:t/100*(h-r)+"px "+h+"px",strokeDashoffset:"-"+(r/2+e/100*(h-r))+"px",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:d,pathStyle:f}}var ob={props:Object(C["t"])(eb,tb),created:function(){this.paths={},this.gradientId=nb,nb+=1},methods:{getStokeList:function(){var e=this,t=this.$createElement,n=this.$props,i=n.prefixCls,r=n.percent,a=n.strokeColor,o=n.strokeWidth,s=n.strokeLinecap,c=n.gapDegree,l=n.gapPosition,u=rb(r),d=rb(a),h=0;return u.map((function(n,r){var a=d[r]||d[d.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#"+i+"-gradient-"+e.gradientId+")":"",f=ab(h,n,a,o,c,l),p=f.pathString,m=f.pathStyle;h+=n;var v={key:r,attrs:{d:p,stroke:u,"stroke-linecap":s,"stroke-width":o,opacity:0===n?0:1,"fill-opacity":"0"},class:i+"-circle-path",style:m,directives:[{name:"ant-ref",value:function(t){e.paths[r]=t}}]};return t("path",v)}))}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.strokeWidth,a=t.trailWidth,o=t.gapDegree,s=t.gapPosition,c=t.trailColor,l=t.strokeLinecap,u=t.strokeColor,d=We()(t,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),h=ab(0,100,c,i,o,s),f=h.pathString,p=h.pathStyle;delete d.percent;var m=rb(u),v=m.find((function(e){return"[object Object]"===Object.prototype.toString.call(e)})),g={attrs:{d:f,stroke:c,"stroke-linecap":l,"stroke-width":a||i,"fill-opacity":"0"},class:n+"-circle-trail",style:p};return e("svg",r()([{class:n+"-circle",attrs:{viewBox:"0 0 100 100"}},d]),[v&&e("defs",[e("linearGradient",{attrs:{id:n+"-gradient-"+this.gradientId,x1:"100%",y1:"0%",x2:"0%",y2:"0%"}},[Object.keys(v).sort((function(e,t){return ib(e)-ib(t)})).map((function(t,n){return e("stop",{key:n,attrs:{offset:t,"stop-color":v[t]}})}))])]),e("path",g),this.getStokeList().reverse()])}},sb=Jy(ob),cb={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function lb(e){var t=e.percent,n=e.successPercent,i=Wy(t);if(!n)return i;var r=Wy(n);return[n,Wy(i-r)]}function ub(e){var t=e.progressStatus,n=e.successPercent,i=e.strokeColor,r=i||cb[t];return n?[cb.success,r]:r}var db={functional:!0,render:function(e,t){var n,i=t.props,r=t.children,a=i.prefixCls,s=i.width,c=i.strokeWidth,l=i.trailColor,u=i.strokeLinecap,d=i.gapPosition,h=i.gapDegree,f=i.type,p=s||120,m={width:"number"===typeof p?p+"px":p,height:"number"===typeof p?p+"px":p,fontSize:.15*p+6},v=c||6,g=d||"dashboard"===f&&"bottom"||"top",y=h||"dashboard"===f&&75,b=ub(i),_="[object Object]"===Object.prototype.toString.call(b),M=(n={},o()(n,a+"-inner",!0),o()(n,a+"-circle-gradient",_),n);return e("div",{class:M,style:m},[e(sb,{attrs:{percent:lb(i),strokeWidth:v,trailWidth:v,strokeColor:b,strokeLinecap:u,trailColor:l,prefixCls:a,gapDegree:y,gapPosition:g}}),r])}},hb=db,fb=["normal","exception","active","success"],pb=s["a"].oneOf(["line","circle","dashboard"]),mb=s["a"].oneOf(["default","small"]),vb={prefixCls:s["a"].string,type:pb,percent:s["a"].number,successPercent:s["a"].number,format:s["a"].func,status:s["a"].oneOf(fb),showInfo:s["a"].bool,strokeWidth:s["a"].number,strokeLinecap:s["a"].oneOf(["butt","round","square"]),strokeColor:s["a"].oneOfType([s["a"].string,s["a"].object]),trailColor:s["a"].string,width:s["a"].number,gapDegree:s["a"].number,gapPosition:s["a"].oneOf(["top","bottom","left","right"]),size:mb},gb={name:"AProgress",props:Object(C["t"])(vb,{type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"}),inject:{configProvider:{default:function(){return ce}}},methods:{getPercentNumber:function(){var e=this.$props,t=e.successPercent,n=e.percent,i=void 0===n?0:n;return parseInt(void 0!==t?t.toString():i.toString(),10)},getProgressStatus:function(){var e=this.$props.status;return fb.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"},renderProcessInfo:function(e,t){var n=this.$createElement,i=this.$props,r=i.showInfo,a=i.format,o=i.type,s=i.percent,c=i.successPercent;if(!r)return null;var l=void 0,u=a||this.$scopedSlots.format||function(e){return e+"%"},d="circle"===o||"dashboard"===o?"":"-circle";return a||this.$scopedSlots.format||"exception"!==t&&"success"!==t?l=u(Wy(s),Wy(c)):"exception"===t?l=n(to,{attrs:{type:"close"+d,theme:"line"===o?"filled":"outlined"}}):"success"===t&&(l=n(to,{attrs:{type:"check"+d,theme:"line"===o?"filled":"outlined"}})),n("span",{class:e+"-text",attrs:{title:"string"===typeof l?l:void 0}},[l])}},render:function(){var e,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=n.size,a=n.type,s=n.showInfo,c=this.configProvider.getPrefixCls,u=c("progress",i),d=this.getProgressStatus(),h=this.renderProcessInfo(u,d),f=void 0;if("line"===a){var p={props:k()({},n,{prefixCls:u})};f=t(qy,p,[h])}else if("circle"===a||"dashboard"===a){var m={props:k()({},n,{prefixCls:u,progressStatus:d})};f=t(hb,m,[h])}var v=l()(u,(e={},o()(e,u+"-"+("dashboard"===a?"circle":a),!0),o()(e,u+"-status-"+d,!0),o()(e,u+"-show-info",s),o()(e,u+"-"+r,r),e)),g={on:Object(C["k"])(this),class:v};return t("div",g,[f])},install:function(e){e.use(te),e.component(gb.name,gb)}},yb=gb;pl.Group=vl,pl.Button=gl,pl.install=function(e){e.use(te),e.component(pl.name,pl),e.component(pl.Group.name,pl.Group),e.component(pl.Button.name,pl.Button)};var bb=pl;function _b(e,t){var n=t?e.pageYOffset:e.pageXOffset,i=t?"scrollTop":"scrollLeft";if("number"!==typeof n){var r=e.document;n=r.documentElement[i],"number"!==typeof n&&(n=r.body[i])}return n}function Mb(e){var t=void 0,n=void 0,i=e.ownerDocument,r=i.body,a=i&&i.documentElement,o=e.getBoundingClientRect();return t=o.left,n=o.top,t-=a.clientLeft||r.clientLeft||0,n-=a.clientTop||r.clientTop||0,{left:t,top:n}}function wb(e){var t=Mb(e),n=e.ownerDocument,i=n.defaultView||n.parentWindow;return t.left+=_b(i),t.left}function kb(){}var Cb={name:"Star",mixins:[p["a"]],props:{value:s["a"].number,index:s["a"].number,prefixCls:s["a"].string,allowHalf:s["a"].bool,disabled:s["a"].bool,character:s["a"].any,characterRender:s["a"].func,focused:s["a"].bool,count:s["a"].number},methods:{onHover:function(e){var t=this.index;this.$emit("hover",e,t)},onClick:function(e){var t=this.index;this.$emit("click",e,t)},onKeyDown:function(e){var t=this.$props.index;13===e.keyCode&&this.__emit("click",e,t)},getClassName:function(){var e=this.prefixCls,t=this.index,n=this.value,i=this.allowHalf,r=this.focused,a=t+1,o=e;return 0===n&&0===t&&r?o+=" "+e+"-focused":i&&n+.5===a?(o+=" "+e+"-half "+e+"-active",r&&(o+=" "+e+"-focused")):(o+=a<=n?" "+e+"-full":" "+e+"-zero",a===n&&r&&(o+=" "+e+"-focused")),o}},render:function(){var e=arguments[0],t=this.onHover,n=this.onClick,i=this.onKeyDown,r=this.disabled,a=this.prefixCls,o=this.characterRender,s=this.index,c=this.count,l=this.value,u=Object(C["g"])(this,"character"),d=e("li",{class:this.getClassName()},[e("div",{on:{click:r?kb:n,keydown:r?kb:i,mousemove:r?kb:t},attrs:{role:"radio","aria-checked":l>s?"true":"false","aria-posinset":s+1,"aria-setsize":c,tabIndex:0}},[e("div",{class:a+"-first"},[u]),e("div",{class:a+"-second"},[u])])]);return o&&(d=o(d,this.$props)),d}},Lb={disabled:s["a"].bool,value:s["a"].number,defaultValue:s["a"].number,count:s["a"].number,allowHalf:s["a"].bool,allowClear:s["a"].bool,prefixCls:s["a"].string,character:s["a"].any,characterRender:s["a"].func,tabIndex:s["a"].number,autoFocus:s["a"].bool};function xb(){}var Sb={name:"Rate",mixins:[p["a"]],model:{prop:"value",event:"change"},props:Object(C["t"])(Lb,{defaultValue:0,count:5,allowHalf:!1,allowClear:!0,prefixCls:"rc-rate",tabIndex:0,character:"★"}),data:function(){var e=this.value;return Object(C["s"])(this,"value")||(e=this.defaultValue),{sValue:e,focused:!1,cleanedValue:null,hoverValue:void 0}},watch:{value:function(e){this.setState({sValue:e})}},mounted:function(){var e=this;this.$nextTick((function(){e.autoFocus&&!e.disabled&&e.focus()}))},methods:{onHover:function(e,t){var n=this.getStarValue(t,e.pageX),i=this.cleanedValue;n!==i&&this.setState({hoverValue:n,cleanedValue:null}),this.$emit("hoverChange",n)},onMouseLeave:function(){this.setState({hoverValue:void 0,cleanedValue:null}),this.$emit("hoverChange",void 0)},onClick:function(e,t){var n=this.allowClear,i=this.sValue,r=this.getStarValue(t,e.pageX),a=!1;n&&(a=r===i),this.onMouseLeave(!0),this.changeValue(a?0:r),this.setState({cleanedValue:a?r:null})},onFocus:function(){this.setState({focused:!0}),this.$emit("focus")},onBlur:function(){this.setState({focused:!1}),this.$emit("blur")},onKeyDown:function(e){var t=e.keyCode,n=this.count,i=this.allowHalf,r=this.sValue;t===Be.RIGHT&&r0&&(r-=i?.5:1,this.changeValue(r),e.preventDefault()),this.$emit("keydown",e)},getStarDOM:function(e){return this.$refs["stars"+e].$el},getStarValue:function(e,t){var n=e+1;if(this.allowHalf){var i=this.getStarDOM(e),r=wb(i),a=i.clientWidth;t-r0,"Slider","`Slider[step]` should be a positive number in order to make Slider[dots] work.");var o=Object.keys(t).map(parseFloat).sort((function(e,t){return e-t}));if(n&&i)for(var s=r;s<=a;s+=i)-1===o.indexOf(s)&&o.push(s);return o},Pb={functional:!0,render:function(e,t){var n=t.props,i=n.prefixCls,r=n.vertical,a=n.reverse,s=n.marks,c=n.dots,u=n.step,d=n.included,h=n.lowerBound,f=n.upperBound,p=n.max,m=n.min,v=n.dotStyle,g=n.activeDotStyle,y=p-m,b=Yb(r,s,c,u,m,p).map((function(t){var n,s=Math.abs(t-m)/y*100+"%",c=!d&&t===f||d&&t<=f&&t>=h,u=r?k()({},v,o()({},a?"top":"bottom",s)):k()({},v,o()({},a?"right":"left",s));c&&(u=k()({},u,g));var p=l()((n={},o()(n,i+"-dot",!0),o()(n,i+"-dot-active",c),o()(n,i+"-dot-reverse",a),n));return e("span",{class:p,style:u,key:t})}));return e("div",{class:i+"-step"},[b])}},Ab=Pb,Eb={functional:!0,render:function(e,t){var n=t.props,i=n.className,r=n.vertical,a=n.reverse,s=n.marks,c=n.included,u=n.upperBound,d=n.lowerBound,h=n.max,f=n.min,p=t.listeners.clickLabel,m=Object.keys(s),v=h-f,g=m.map(parseFloat).sort((function(e,t){return e-t})).map((function(t){var n,h="function"===typeof s[t]?s[t](e):s[t],m="object"===("undefined"===typeof h?"undefined":M()(h))&&!Object(C["w"])(h),g=m?h.label:h;if(!g&&0!==g)return null;var y=!c&&t===u||c&&t<=u&&t>=d,b=l()((n={},o()(n,i+"-text",!0),o()(n,i+"-text-active",y),n)),_=o()({marginBottom:"-50%"},a?"top":"bottom",(t-f)/v*100+"%"),w=o()({transform:"translateX(-50%)",msTransform:"translateX(-50%)"},a?"right":"left",a?(t-f/4)/v*100+"%":(t-f)/v*100+"%"),L=r?_:w,x=m?k()({},L,h.style):L;return e("span",{class:b,style:x,key:t,on:{mousedown:function(e){return p(e,t)},touchstart:function(e){return p(e,t)}}},[g])}));return e("div",{class:i},[g])}},Fb=Eb,$b={name:"Handle",mixins:[p["a"]],props:{prefixCls:s["a"].string,vertical:s["a"].bool,offset:s["a"].number,disabled:s["a"].bool,min:s["a"].number,max:s["a"].number,value:s["a"].number,tabIndex:s["a"].number,className:s["a"].string,reverse:s["a"].bool},data:function(){return{clickFocused:!1}},mounted:function(){this.onMouseUpListener=ge(document,"mouseup",this.handleMouseUp)},beforeDestroy:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()},methods:{setClickFocus:function(e){this.setState({clickFocused:e})},handleMouseUp:function(){document.activeElement===this.$refs.handle&&this.setClickFocus(!0)},handleBlur:function(e){this.setClickFocus(!1),this.__emit("blur",e)},handleKeyDown:function(){this.setClickFocus(!1)},clickFocus:function(){this.setClickFocus(!0),this.focus()},focus:function(){this.$refs.handle.focus()},blur:function(){this.$refs.handle.blur()},handleMousedown:function(e){this.focus(),this.__emit("mousedown",e)}},render:function(){var e,t,n=arguments[0],i=Object(C["l"])(this),r=i.prefixCls,a=i.vertical,s=i.reverse,c=i.offset,u=i.disabled,d=i.min,h=i.max,f=i.value,p=i.tabIndex,m=l()(this.$props.className,o()({},r+"-handle-click-focused",this.clickFocused)),v=a?(e={},o()(e,s?"top":"bottom",c+"%"),o()(e,s?"bottom":"top","auto"),o()(e,"transform","translateY(+50%)"),e):(t={},o()(t,s?"right":"left",c+"%"),o()(t,s?"left":"right","auto"),o()(t,"transform","translateX("+(s?"+":"-")+"50%)"),t),g={"aria-valuemin":d,"aria-valuemax":h,"aria-valuenow":f,"aria-disabled":!!u},y=p||0;(u||null===p)&&(y=null);var b={attrs:k()({role:"slider",tabIndex:y},g),class:m,on:k()({},Object(C["k"])(this),{blur:this.handleBlur,keydown:this.handleKeyDown,mousedown:this.handleMousedown}),ref:"handle",style:v};return n("div",b)}};function Ib(e,t){try{return Object.keys(t).some((function(n){return e.target===t[n].$el||e.target===t[n]}))}catch(n){return!1}}function Rb(e,t){var n=t.min,i=t.max;return ei}function Nb(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function Wb(e,t){var n=t.marks,i=t.step,r=t.min,a=t.max,o=Object.keys(n).map(parseFloat);if(null!==i){var s=Math.pow(10,Kb(i)),c=Math.floor((a*s-r*s)/(i*s)),l=Math.min((e-r)/i,c),u=Math.round(l)*i+r;o.push(u)}var d=o.map((function(t){return Math.abs(e-t)}));return o[d.indexOf(Math.min.apply(Math,v()(d)))]}function Kb(e){var t=e.toString(),n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function Bb(e,t){var n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.clientY:t.pageX)/n}function Ub(e,t){var n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.touches[0].clientY:t.touches[0].pageX)/n}function qb(e,t){var n=t.getBoundingClientRect();return e?n.top+.5*n.height:window.pageXOffset+n.left+.5*n.width}function Gb(e,t){var n=t.max,i=t.min;return e<=i?i:e>=n?n:e}function Jb(e,t){var n=t.step,i=isFinite(Wb(e,t))?Wb(e,t):0;return null===n?i:parseFloat(i.toFixed(Kb(n)))}function Xb(e){e.stopPropagation(),e.preventDefault()}function Zb(e,t,n){var i={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},r=i[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),a=Object.keys(n.marks)[r];return n.step?i[e](t,n.step):Object.keys(n.marks).length&&n.marks[a]?n.marks[a]:t}function Qb(e,t,n){var i="increase",r="decrease",a=i;switch(e.keyCode){case Be.UP:a=t&&n?r:i;break;case Be.RIGHT:a=!t&&n?r:i;break;case Be.DOWN:a=t&&n?i:r;break;case Be.LEFT:a=!t&&n?i:r;break;case Be.END:return function(e,t){return t.max};case Be.HOME:return function(e,t){return t.min};case Be.PAGE_UP:return function(e,t){return e+2*t.step};case Be.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return Zb(a,e,t)}}function e_(){}function t_(e){var t={min:s["a"].number,max:s["a"].number,step:s["a"].number,marks:s["a"].object,included:s["a"].bool,prefixCls:s["a"].string,disabled:s["a"].bool,handle:s["a"].func,dots:s["a"].bool,vertical:s["a"].bool,reverse:s["a"].bool,minimumTrackStyle:s["a"].object,maximumTrackStyle:s["a"].object,handleStyle:s["a"].oneOfType([s["a"].object,s["a"].arrayOf(s["a"].object)]),trackStyle:s["a"].oneOfType([s["a"].object,s["a"].arrayOf(s["a"].object)]),railStyle:s["a"].object,dotStyle:s["a"].object,activeDotStyle:s["a"].object,autoFocus:s["a"].bool};return{name:"createSlider",mixins:[e],model:{prop:"value",event:"change"},props:Object(C["t"])(t,{prefixCls:"rc-slider",min:0,max:100,step:1,marks:{},included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),data:function(){var e=this.step,t=this.max,n=this.min,i=!isFinite(t-n)||(t-n)%e===0;return pe(!e||Math.floor(e)!==e||i,"Slider","Slider[max] - Slider[min] (%s) should be a multiple of Slider[step] (%s)",t-n,e),this.handlesRefs={},{}},mounted:function(){var e=this;this.$nextTick((function(){e.document=e.$refs.sliderRef&&e.$refs.sliderRef.ownerDocument;var t=e.autoFocus,n=e.disabled;t&&!n&&e.focus()}))},beforeDestroy:function(){var e=this;this.$nextTick((function(){e.removeDocumentEvents()}))},methods:{defaultHandle:function(e){var t=e.index,n=e.directives,i=e.className,r=e.style,a=e.on,o=We()(e,["index","directives","className","style","on"]),s=this.$createElement;if(delete o.dragging,null===o.value)return null;var c={props:k()({},o),class:i,style:r,key:t,directives:n,on:a};return s($b,c)},onMouseDown:function(e){if(0===e.button){var t=this.vertical,n=Bb(t,e);if(Ib(e,this.handlesRefs)){var i=qb(t,e.target);this.dragOffset=n-i,n=i}else this.dragOffset=0;this.removeDocumentEvents(),this.onStart(n),this.addDocumentMouseEvents(),Xb(e)}},onTouchStart:function(e){if(!Nb(e)){var t=this.vertical,n=Ub(t,e);if(Ib(e,this.handlesRefs)){var i=qb(t,e.target);this.dragOffset=n-i,n=i}else this.dragOffset=0;this.onStart(n),this.addDocumentTouchEvents(),Xb(e)}},onFocus:function(e){var t=this.vertical;if(Ib(e,this.handlesRefs)){var n=qb(t,e.target);this.dragOffset=0,this.onStart(n),Xb(e),this.$emit("focus",e)}},onBlur:function(e){this.onEnd(),this.$emit("blur",e)},onMouseUp:function(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove:function(e){if(this.$refs.sliderRef){var t=Bb(this.vertical,e);this.onMove(e,t-this.dragOffset)}else this.onEnd()},onTouchMove:function(e){if(!Nb(e)&&this.$refs.sliderRef){var t=Ub(this.vertical,e);this.onMove(e,t-this.dragOffset)}else this.onEnd()},onKeyDown:function(e){this.$refs.sliderRef&&Ib(e,this.handlesRefs)&&this.onKeyboard(e)},onClickMarkLabel:function(e,t){var n=this;e.stopPropagation(),this.onChange({sValue:t}),this.setState({sValue:t},(function(){return n.onEnd(!0)}))},getSliderStart:function(){var e=this.$refs.sliderRef,t=this.vertical,n=this.reverse,i=e.getBoundingClientRect();return t?n?i.bottom:i.top:window.pageXOffset+(n?i.right:i.left)},getSliderLength:function(){var e=this.$refs.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.vertical?t.height:t.width},addDocumentTouchEvents:function(){this.onTouchMoveListener=ge(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=ge(this.document,"touchend",this.onEnd)},addDocumentMouseEvents:function(){this.onMouseMoveListener=ge(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=ge(this.document,"mouseup",this.onEnd)},removeDocumentEvents:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus:function(){this.disabled||this.handlesRefs[0].focus()},blur:function(){var e=this;this.disabled||Object.keys(this.handlesRefs).forEach((function(t){e.handlesRefs[t]&&e.handlesRefs[t].blur&&e.handlesRefs[t].blur()}))},calcValue:function(e){var t=this.vertical,n=this.min,i=this.max,r=Math.abs(Math.max(e,0)/this.getSliderLength()),a=t?(1-r)*(i-n)+n:r*(i-n)+n;return a},calcValueByPos:function(e){var t=this.reverse?-1:1,n=t*(e-this.getSliderStart()),i=this.trimAlignValue(this.calcValue(n));return i},calcOffset:function(e){var t=this.min,n=this.max,i=(e-t)/(n-t);return 100*i},saveHandle:function(e,t){this.handlesRefs[e]=t}},render:function(e){var t,n=this.prefixCls,i=this.marks,r=this.dots,a=this.step,s=this.included,c=this.disabled,u=this.vertical,d=this.reverse,h=this.min,f=this.max,p=this.maximumTrackStyle,m=this.railStyle,v=this.dotStyle,g=this.activeDotStyle,y=this.renderSlider(e),b=y.tracks,_=y.handles,M=l()(n,(t={},o()(t,n+"-with-marks",Object.keys(i).length),o()(t,n+"-disabled",c),o()(t,n+"-vertical",u),t)),w={props:{vertical:u,marks:i,included:s,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:f,min:h,reverse:d,className:n+"-mark"},on:{clickLabel:c?e_:this.onClickMarkLabel}};return e("div",{ref:"sliderRef",attrs:{tabIndex:"-1"},class:M,on:{touchstart:c?e_:this.onTouchStart,mousedown:c?e_:this.onMouseDown,mouseup:c?e_:this.onMouseUp,keydown:c?e_:this.onKeyDown,focus:c?e_:this.onFocus,blur:c?e_:this.onBlur}},[e("div",{class:n+"-rail",style:k()({},p,m)}),b,e(Ab,{attrs:{prefixCls:n,vertical:u,reverse:d,marks:i,dots:r,step:a,included:s,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:f,min:h,dotStyle:v,activeDotStyle:g}}),_,e(Fb,w),this.$slots["default"]])}}}var n_={name:"Slider",mixins:[p["a"]],props:{defaultValue:s["a"].number,value:s["a"].number,disabled:s["a"].bool,autoFocus:s["a"].bool,tabIndex:s["a"].number,reverse:s["a"].bool,min:s["a"].number,max:s["a"].number},data:function(){var e=void 0!==this.defaultValue?this.defaultValue:this.min,t=void 0!==this.value?this.value:e;return pe(!Object(C["s"])(this,"minimumTrackStyle"),"Slider","minimumTrackStyle will be deprecate, please use trackStyle instead."),pe(!Object(C["s"])(this,"maximumTrackStyle"),"Slider","maximumTrackStyle will be deprecate, please use railStyle instead."),{sValue:this.trimAlignValue(t),dragging:!1}},watch:{value:{handler:function(e){this.setChangeValue(e)},deep:!0},min:function(){var e=this.sValue;this.setChangeValue(e)},max:function(){var e=this.sValue;this.setChangeValue(e)}},methods:{setChangeValue:function(e){var t=void 0!==e?e:this.sValue,n=this.trimAlignValue(t,this.$props);n!==this.sValue&&(this.setState({sValue:n}),Rb(t,this.$props)&&this.$emit("change",n))},onChange:function(e){var t=!Object(C["s"])(this,"value"),n=e.sValue>this.max?k()({},e,{sValue:this.max}):e;t&&this.setState(n);var i=n.sValue;this.$emit("change",i)},onStart:function(e){this.setState({dragging:!0});var t=this.sValue;this.$emit("beforeChange",t);var n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e,n!==t&&(this.prevMovedHandleIndex=0,this.onChange({sValue:n}))},onEnd:function(e){var t=this.dragging;this.removeDocumentEvents(),(t||e)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove:function(e,t){Xb(e);var n=this.sValue,i=this.calcValueByPos(t);i!==n&&this.onChange({sValue:i})},onKeyboard:function(e){var t=this.$props,n=t.reverse,i=t.vertical,r=Qb(e,i,n);if(r){Xb(e);var a=this.sValue,o=r(a,this.$props),s=this.trimAlignValue(o);if(s===a)return;this.onChange({sValue:s}),this.$emit("afterChange",s),this.onEnd()}},getLowerBound:function(){return this.min},getUpperBound:function(){return this.sValue},trimAlignValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var n=k()({},this.$props,t),i=Gb(e,n);return Jb(i,n)},getTrack:function(e){var t=e.prefixCls,n=e.reverse,i=e.vertical,r=e.included,a=e.offset,o=e.minimumTrackStyle,s=e._trackStyle,c=this.$createElement;return c(jb,{class:t+"-track",attrs:{vertical:i,included:r,offset:0,reverse:n,length:a},style:k()({},o,s)})},renderSlider:function(){var e=this,t=this.prefixCls,n=this.vertical,i=this.included,r=this.disabled,a=this.minimumTrackStyle,o=this.trackStyle,s=this.handleStyle,c=this.tabIndex,l=this.min,u=this.max,d=this.reverse,h=this.handle,f=this.defaultHandle,p=h||f,m=this.sValue,v=this.dragging,g=this.calcOffset(m),y=p({className:t+"-handle",prefixCls:t,vertical:n,offset:g,value:m,dragging:v,disabled:r,min:l,max:u,reverse:d,index:0,tabIndex:c,style:s[0]||s,directives:[{name:"ant-ref",value:function(t){return e.saveHandle(0,t)}}],on:{focus:this.onFocus,blur:this.onBlur}}),b=o[0]||o;return{tracks:this.getTrack({prefixCls:t,reverse:d,vertical:n,included:i,offset:g,minimumTrackStyle:a,_trackStyle:b}),handles:y}}}},i_=t_(n_),r_=function(e){var t=e.value,n=e.handle,i=e.bounds,r=e.props,a=r.allowCross,o=r.pushable,s=Number(o),c=Gb(t,r),l=c;return a||null==n||void 0===i||(n>0&&c<=i[n-1]+s&&(l=i[n-1]+s),n=i[n+1]-s&&(l=i[n+1]-s)),Jb(l,r)},a_={defaultValue:s["a"].arrayOf(s["a"].number),value:s["a"].arrayOf(s["a"].number),count:s["a"].number,pushable:s["a"].oneOfType([s["a"].bool,s["a"].number]),allowCross:s["a"].bool,disabled:s["a"].bool,reverse:s["a"].bool,tabIndex:s["a"].arrayOf(s["a"].number),prefixCls:s["a"].string,min:s["a"].number,max:s["a"].number,autoFocus:s["a"].bool},o_={name:"Range",displayName:"Range",mixins:[p["a"]],props:Object(C["t"])(a_,{count:1,allowCross:!0,pushable:!1,tabIndex:[]}),data:function(){var e=this,t=this.count,n=this.min,i=this.max,r=Array.apply(void 0,v()(Array(t+1))).map((function(){return n})),a=Object(C["s"])(this,"defaultValue")?this.defaultValue:r,o=this.value;void 0===o&&(o=a);var s=o.map((function(t,n){return r_({value:t,handle:n,props:e.$props})})),c=s[0]===i?0:s.length-1;return{sHandle:null,recent:c,bounds:s}},watch:{value:{handler:function(e){var t=this.bounds;this.setChangeValue(e||t)},deep:!0},min:function(){var e=this.value;this.setChangeValue(e||this.bounds)},max:function(){var e=this.value;this.setChangeValue(e||this.bounds)}},methods:{setChangeValue:function(e){var t=this,n=this.bounds,i=e.map((function(e,i){return r_({value:e,handle:i,bounds:n,props:t.$props})}));if((i.length!==n.length||!i.every((function(e,t){return e===n[t]})))&&(this.setState({bounds:i}),e.some((function(e){return Rb(e,t.$props)})))){var r=e.map((function(e){return Gb(e,t.$props)}));this.$emit("change",r)}},onChange:function(e){var t=!Object(C["s"])(this,"value");if(t)this.setState(e);else{var n={};["sHandle","recent"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),Object.keys(n).length&&this.setState(n)}var i=k()({},this.$data,e),r=i.bounds;this.$emit("change",r)},onStart:function(e){var t=this.bounds;this.$emit("beforeChange",t);var n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e;var i=this.getClosestBound(n);this.prevMovedHandleIndex=this.getBoundNeedMoving(n,i),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex});var r=t[this.prevMovedHandleIndex];if(n!==r){var a=[].concat(v()(t));a[this.prevMovedHandleIndex]=n,this.onChange({bounds:a})}},onEnd:function(e){var t=this.sHandle;this.removeDocumentEvents(),(null!==t||e)&&this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove:function(e,t){Xb(e);var n=this.bounds,i=this.sHandle,r=this.calcValueByPos(t),a=n[i];r!==a&&this.moveTo(r)},onKeyboard:function(e){var t=this.$props,n=t.reverse,i=t.vertical,r=Qb(e,i,n);if(r){Xb(e);var a=this.bounds,o=this.sHandle,s=a[null===o?this.recent:o],c=r(s,this.$props),l=r_({value:c,handle:o,bounds:a,props:this.$props});if(l===s)return;var u=!0;this.moveTo(l,u)}},getClosestBound:function(e){for(var t=this.bounds,n=0,i=1;it[i]&&(n=i);return Math.abs(t[n+1]-e)=i.length||a<0)return!1;var o=t+n,s=i[a],c=this.pushable,l=n*(e[o]-s);return!!this.pushHandle(e,o,n,c-l)&&(e[t]=s,!0)},trimAlignValue:function(e){var t=this.sHandle,n=this.bounds;return r_({value:e,handle:t,bounds:n,props:this.$props})},ensureValueNotConflict:function(e,t,n){var i=n.allowCross,r=n.pushable,a=this.$data||{},o=a.bounds;if(e=void 0===e?a.sHandle:e,r=Number(r),!i&&null!=e&&void 0!==o){if(e>0&&t<=o[e-1]+r)return o[e-1]+r;if(e=o[e+1]-r)return o[e+1]-r}return t},getTrack:function(e){var t=e.bounds,n=e.prefixCls,i=e.reverse,r=e.vertical,a=e.included,s=e.offsets,c=e.trackStyle,u=this.$createElement;return t.slice(0,-1).map((function(e,t){var d,h=t+1,f=l()((d={},o()(d,n+"-track",!0),o()(d,n+"-track-"+h,!0),d));return u(jb,{class:f,attrs:{vertical:r,reverse:i,included:a,offset:s[h-1],length:s[h]-s[h-1]},style:c[t],key:h})}))},renderSlider:function(){var e=this,t=this.sHandle,n=this.bounds,i=this.prefixCls,r=this.vertical,a=this.included,s=this.disabled,c=this.min,u=this.max,d=this.reverse,h=this.handle,f=this.defaultHandle,p=this.trackStyle,m=this.handleStyle,v=this.tabIndex,g=h||f,y=n.map((function(t){return e.calcOffset(t)})),b=i+"-handle",_=n.map((function(n,a){var h,f=v[a]||0;return(s||null===v[a])&&(f=null),g({className:l()((h={},o()(h,b,!0),o()(h,b+"-"+(a+1),!0),h)),prefixCls:i,vertical:r,offset:y[a],value:n,dragging:t===a,index:a,tabIndex:f,min:c,max:u,reverse:d,disabled:s,style:m[a],directives:[{name:"ant-ref",value:function(t){return e.saveHandle(a,t)}}],on:{focus:e.onFocus,blur:e.onBlur}})}));return{tracks:this.getTrack({bounds:n,prefixCls:i,reverse:d,vertical:r,included:a,offsets:y,trackStyle:p}),handles:_}}}},s_=t_(o_),c_=lc(),l_=function(){return{prefixCls:s["a"].string,tooltipPrefixCls:s["a"].string,range:s["a"].bool,reverse:s["a"].bool,min:s["a"].number,max:s["a"].number,step:s["a"].oneOfType([s["a"].number,s["a"].any]),marks:s["a"].object,dots:s["a"].bool,value:s["a"].oneOfType([s["a"].number,s["a"].arrayOf(s["a"].number)]),defaultValue:s["a"].oneOfType([s["a"].number,s["a"].arrayOf(s["a"].number)]),included:s["a"].bool,disabled:s["a"].bool,vertical:s["a"].bool,tipFormatter:s["a"].oneOfType([s["a"].func,s["a"].object]),tooltipVisible:s["a"].bool,tooltipPlacement:c_.placement,getTooltipPopupContainer:s["a"].func}},u_={name:"ASlider",model:{prop:"value",event:"change"},mixins:[p["a"]],inject:{configProvider:{default:function(){return ce}}},props:k()({},l_(),{tipFormatter:s["a"].oneOfType([s["a"].func,s["a"].object]).def((function(e){return e.toString()}))}),data:function(){return{visibles:{}}},methods:{toggleTooltipVisible:function(e,t){this.setState((function(n){var i=n.visibles;return{visibles:k()({},i,o()({},e,t))}}))},handleWithTooltip:function(e,t,n){var i=this,r=n.value,a=n.dragging,o=n.index,s=n.directives,c=n.on,l=We()(n,["value","dragging","index","directives","on"]),u=this.$createElement,d=this.$props,h=d.tipFormatter,f=d.tooltipVisible,p=d.tooltipPlacement,m=d.getTooltipPopupContainer,v=this.visibles,g=!!h&&(v[o]||a),y=f||void 0===f&&g,b={props:{prefixCls:e,title:h?h(r):"",visible:y,placement:p||"top",transitionName:"zoom-down",overlayClassName:t+"-tooltip",getPopupContainer:m||function(){return document.body}},key:o},_={props:k()({value:r},l),directives:s,on:k()({},c,{mouseenter:function(){return i.toggleTooltipVisible(o,!0)},mouseleave:function(){return i.toggleTooltipVisible(o,!1)}})};return u(fc,b,[u($b,_)])},focus:function(){this.$refs.sliderRef.focus()},blur:function(){this.$refs.sliderRef.blur()}},render:function(){var e=this,t=arguments[0],n=Object(C["l"])(this),i=n.range,r=n.prefixCls,a=n.tooltipPrefixCls,o=We()(n,["range","prefixCls","tooltipPrefixCls"]),s=this.configProvider.getPrefixCls,c=s("slider",r),l=s("tooltip",a),u=Object(C["k"])(this);if(i){var d={props:k()({},o,{prefixCls:c,tooltipPrefixCls:l,handle:function(t){return e.handleWithTooltip(l,c,t)}}),ref:"sliderRef",on:u};return t(s_,d)}var h={props:k()({},o,{prefixCls:c,tooltipPrefixCls:l,handle:function(t){return e.handleWithTooltip(l,c,t)}}),ref:"sliderRef",on:u};return t(i_,h)},install:function(e){e.use(te),e.component(u_.name,u_)}},d_=u_,h_=n("07a9"),f_=n.n(h_),p_={name:"AStatisticNumber",functional:!0,render:function(e,t){var n=t.props,i=n.value,r=n.formatter,a=n.precision,o=n.decimalSeparator,s=n.groupSeparator,c=void 0===s?"":s,l=n.prefixCls,u=void 0;if("function"===typeof r)u=r({value:i,h:e});else{var d=String(i),h=d.match(/^(-?)(\d*)(\.(\d+))?$/);if(h){var f=h[1],p=h[2]||"0",m=h[4]||"";p=p.replace(/\B(?=(\d{3})+(?!\d))/g,c),"number"===typeof a&&(m=f_()(m,a,"0").slice(0,a)),m&&(m=""+o+m),u=[e("span",{key:"int",class:l+"-content-value-int"},[f,p]),m&&e("span",{key:"decimal",class:l+"-content-value-decimal"},[m])]}else u=d}return e("span",{class:l+"-content-value"},[u])}},m_={prefixCls:s["a"].string,decimalSeparator:s["a"].string,groupSeparator:s["a"].string,format:s["a"].string,value:s["a"].oneOfType([s["a"].string,s["a"].number,s["a"].object]),valueStyle:s["a"].any,valueRender:s["a"].any,formatter:s["a"].any,precision:s["a"].number,prefix:s["a"].any,suffix:s["a"].any,title:s["a"].any},v_={name:"AStatistic",props:Object(C["t"])(m_,{decimalSeparator:".",groupSeparator:","}),inject:{configProvider:{default:function(){return ce}}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.value,r=void 0===i?0:i,a=t.valueStyle,o=t.valueRender,s=this.configProvider.getPrefixCls,c=s("statistic",n),l=Object(C["g"])(this,"title"),u=Object(C["g"])(this,"prefix"),d=Object(C["g"])(this,"suffix"),h=Object(C["g"])(this,"formatter",{},!1),f=e(p_,{props:k()({},this.$props,{prefixCls:c,value:r,formatter:h})});return o&&(f=o(f)),e("div",{class:c},[l&&e("div",{class:c+"-title"},[l]),e("div",{style:a,class:c+"-content"},[u&&e("span",{class:c+"-content-prefix"},[u]),f,d&&e("span",{class:c+"-content-suffix"},[d])])])}},g_=n("4106"),y_=n.n(g_),b_=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function __(e,t){var n=e,i=/\[[^\]]*\]/g,r=(t.match(i)||[]).map((function(e){return e.slice(1,-1)})),a=t.replace(i,"[]"),o=b_.reduce((function(e,t){var i=$t()(t,2),r=i[0],a=i[1];if(-1!==e.indexOf(r)){var o=Math.floor(n/a);return n-=o*a,e.replace(new RegExp(r+"+","g"),(function(e){var t=e.length;return y_()(o.toString(),t,"0")}))}return e}),a),s=0;return o.replace(i,(function(){var e=r[s];return s+=1,e}))}function M_(e,t){var n=t.format,i=void 0===n?"":n,r=wl(xc)(e).valueOf(),a=wl(xc)().valueOf(),o=Math.max(r-a,0);return __(o,i)}var w_=1e3/30;function k_(e){return wl(xc)(e).valueOf()}var C_={name:"AStatisticCountdown",props:Object(C["t"])(m_,{format:"HH:mm:ss"}),created:function(){this.countdownId=void 0},mounted:function(){this.syncTimer()},updated:function(){this.syncTimer()},beforeDestroy:function(){this.stopTimer()},methods:{syncTimer:function(){var e=this.$props.value,t=k_(e);t>=Date.now()?this.startTimer():this.stopTimer()},startTimer:function(){var e=this;this.countdownId||(this.countdownId=window.setInterval((function(){e.$refs.statistic.$forceUpdate(),e.syncTimer()}),w_))},stopTimer:function(){var e=this.$props.value;if(this.countdownId){clearInterval(this.countdownId),this.countdownId=void 0;var t=k_(e);t0&&(this.calcTimeout&&clearTimeout(this.calcTimeout),this.calcTimeout=setTimeout((function(){var i=(n.lastChild.offsetWidth||0)+1;t===i||Math.abs(t-i)<=3||e.setState({lastStepOffsetWidth:i})})))}}},render:function(){var e,t=this,n=arguments[0],i=this.prefixCls,r=this.direction,a=this.type,s=this.labelPlacement,c=this.iconPrefix,l=this.status,u=this.size,d=this.current,h=this.$scopedSlots,f=this.initial,p=this.icons,m="navigation"===a,v=this.progressDot;void 0===v&&(v=h.progressDot);var g=this.lastStepOffsetWidth,y=this.flexSupported,b=Object(C["c"])(this.$slots["default"]),_=b.length-1,M=v?"vertical":s,w=(e={},o()(e,i,!0),o()(e,i+"-"+r,!0),o()(e,i+"-"+u,u),o()(e,i+"-label-"+M,"horizontal"===r),o()(e,i+"-dot",!!v),o()(e,i+"-navigation",m),o()(e,i+"-flex-not-supported",!y),e),L=Object(C["k"])(this),x={class:w,ref:"vcStepsRef",on:L};return n("div",x,[b.map((function(e,n){var a=Object(C["m"])(e),o=f+n,s={props:k()({stepNumber:""+(o+1),stepIndex:o,prefixCls:i,iconPrefix:c,progressDot:t.progressDot,icons:p},a),on:Object(C["i"])(e),scopedSlots:h};return L.change&&(s.on.stepClick=t.onStepClick),y||"vertical"===r||(m?(s.props.itemWidth=100/(_+1)+"%",s.props.adjustMarginRight=0):n!==_&&(s.props.itemWidth=100/_+"%",s.props.adjustMarginRight=-Math.round(g/_+1)+"px")),"error"===l&&n===d-1&&(s["class"]=i+"-next-error"),a.status||(s.props.status=o===d?l:o0&&void 0!==arguments[0]?arguments[0]:{},t={prefixCls:s["a"].string,iconPrefix:s["a"].string,current:s["a"].number,initial:s["a"].number,labelPlacement:s["a"].oneOf(["horizontal","vertical"]).def("horizontal"),status:s["a"].oneOf(["wait","process","finish","error"]),size:s["a"].oneOf(["default","small"]),direction:s["a"].oneOf(["horizontal","vertical"]),progressDot:s["a"].oneOfType([s["a"].bool,s["a"].func]),type:s["a"].oneOf(["default","navigation"])};return Object(C["t"])(t,e)},V_={name:"ASteps",props:D_({current:0}),inject:{configProvider:{default:function(){return ce}}},model:{prop:"current",event:"change"},Step:k()({},H_.Step,{name:"AStep"}),render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.prefixCls,i=t.iconPrefix,r=this.configProvider.getPrefixCls,a=r("steps",n),o=r("",i),s={finish:e(to,{attrs:{type:"check"},class:a+"-finish-icon"}),error:e(to,{attrs:{type:"close"},class:a+"-error-icon"})},c={props:k()({icons:s,iconPrefix:o,prefixCls:a},t),on:Object(C["k"])(this),scopedSlots:this.$scopedSlots};return e(H_,c,[this.$slots["default"]])},install:function(e){e.use(te),e.component(V_.name,V_),e.component(V_.Step.name,V_.Step)}},j_=V_,Y_={prefixCls:s["a"].string,disabled:s["a"].bool.def(!1),checkedChildren:s["a"].any,unCheckedChildren:s["a"].any,tabIndex:s["a"].oneOfType([s["a"].string,s["a"].number]),checked:s["a"].bool.def(!1),defaultChecked:s["a"].bool.def(!1),autoFocus:s["a"].bool.def(!1),loadingIcon:s["a"].any},P_={name:"VcSwitch",mixins:[p["a"]],model:{prop:"checked",event:"change"},props:k()({},Y_,{prefixCls:Y_.prefixCls.def("rc-switch")}),data:function(){var e=!1;return e=Object(C["s"])(this,"checked")?!!this.checked:!!this.defaultChecked,{stateChecked:e}},watch:{checked:function(e){this.stateChecked=e}},mounted:function(){var e=this;this.$nextTick((function(){var t=e.autoFocus,n=e.disabled;t&&!n&&e.focus()}))},methods:{setChecked:function(e,t){this.disabled||(Object(C["s"])(this,"checked")||(this.stateChecked=e),this.$emit("change",e,t))},handleClick:function(e){var t=!this.stateChecked;this.setChecked(t,e),this.$emit("click",t,e)},handleKeyDown:function(e){37===e.keyCode?this.setChecked(!1,e):39===e.keyCode&&this.setChecked(!0,e)},handleMouseUp:function(e){this.$refs.refSwitchNode&&this.$refs.refSwitchNode.blur(),this.$emit("mouseup",e)},focus:function(){this.$refs.refSwitchNode.focus()},blur:function(){this.$refs.refSwitchNode.blur()}},render:function(){var e,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=n.disabled,a=n.loadingIcon,s=n.tabIndex,c=We()(n,["prefixCls","disabled","loadingIcon","tabIndex"]),l=this.stateChecked,u=(e={},o()(e,i,!0),o()(e,i+"-checked",l),o()(e,i+"-disabled",r),e),d={props:k()({},c),on:k()({},Object(C["k"])(this),{keydown:this.handleKeyDown,click:this.handleClick,mouseup:this.handleMouseUp}),attrs:{type:"button",role:"switch","aria-checked":l,disabled:r,tabIndex:s},class:u,ref:"refSwitchNode"};return t("button",d,[a,t("span",{class:i+"-inner"},[l?Object(C["g"])(this,"checkedChildren"):Object(C["g"])(this,"unCheckedChildren")])])}},A_=P_,E_={name:"ASwitch",__ANT_SWITCH:!0,model:{prop:"checked",event:"change"},props:{prefixCls:s["a"].string,size:s["a"].oneOf(["small","default","large"]),disabled:s["a"].bool,checkedChildren:s["a"].any,unCheckedChildren:s["a"].any,tabIndex:s["a"].oneOfType([s["a"].string,s["a"].number]),checked:s["a"].bool,defaultChecked:s["a"].bool,autoFocus:s["a"].bool,loading:s["a"].bool},inject:{configProvider:{default:function(){return ce}}},methods:{focus:function(){this.$refs.refSwitchNode.focus()},blur:function(){this.$refs.refSwitchNode.blur()}},created:function(){pe(Object(C["b"])(this,"checked")||!Object(C["b"])(this,"value"),"Switch","`value` is not validate prop, do you mean `checked`?")},render:function(){var e,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=n.size,a=n.loading,s=n.disabled,c=We()(n,["prefixCls","size","loading","disabled"]),l=this.configProvider.getPrefixCls,u=l("switch",i),d=(e={},o()(e,u+"-small","small"===r),o()(e,u+"-loading",a),e),h=a?t(to,{attrs:{type:"loading"},class:u+"-loading-icon"}):null,f={props:k()({},c,{prefixCls:u,loadingIcon:h,checkedChildren:Object(C["g"])(this,"checkedChildren"),unCheckedChildren:Object(C["g"])(this,"unCheckedChildren"),disabled:s||a}),on:Object(C["k"])(this),class:d,ref:"refSwitchNode"};return t(Wo,{attrs:{insertExtraNode:!0}},[t(A_,f)])},install:function(e){e.use(te),e.component(E_.name,E_)}},F_=E_,$_=void 0,I_=void 0,R_={position:"absolute",top:"-9999px",width:"50px",height:"50px"},N_="RC_TABLE_INTERNAL_COL_DEFINE";function W_(e){var t=e.direction,n=void 0===t?"vertical":t,i=e.prefixCls;if("undefined"===typeof document||"undefined"===typeof window)return 0;var r="vertical"===n;if(r&&$_)return $_;if(!r&&I_)return I_;var a=document.createElement("div");Object.keys(R_).forEach((function(e){a.style[e]=R_[e]})),a.className=i+"-hide-scrollbar scroll-div-append-to-body",r?a.style.overflowY="scroll":a.style.overflowX="scroll",document.body.appendChild(a);var o=0;return r?(o=a.offsetWidth-a.clientWidth,$_=o):(o=a.offsetHeight-a.clientHeight,I_=o),document.body.removeChild(a),o}function K_(e,t,n){var i=void 0;function r(){for(var r=arguments.length,a=Array(r),o=0;o1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];r[n]=r[n]||[];var a=[],o=function(e){var t=r.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan0?(l.children=e(l.children,n+1,l,r),i.colSpan+=l.colSpan):i.colSpan+=1;for(var u=0;u0}))}var tM={name:"TableHeader",props:{fixed:s["a"].string,columns:s["a"].array.isRequired,expander:s["a"].object.isRequired},inject:{table:{default:function(){return{}}}},render:function(){var e=arguments[0],t=this.table,n=t.sComponents,i=t.prefixCls,r=t.showHeader,a=t.customHeaderRow,o=this.expander,s=this.columns,c=this.fixed;if(!r)return null;var l=eM({columns:s});o.renderExpandIndentCell(l,c);var u=n.header.wrapper;return e(u,{class:i+"-thead"},[l.map((function(t,r){return e(Q_,{attrs:{prefixCls:i,index:r,fixed:c,columns:s,rows:l,row:t,components:n,customHeaderRow:a},key:r})}))])}};function nM(e){return e&&!Object(C["w"])(e)&&"[object Object]"===Object.prototype.toString.call(e)}var iM={name:"TableCell",props:{record:s["a"].object,prefixCls:s["a"].string,index:s["a"].number,indent:s["a"].number,indentSize:s["a"].number,column:s["a"].object,expandIcon:s["a"].any,component:s["a"].any},inject:{table:{default:function(){return{}}}},methods:{handleClick:function(e){var t=this.record,n=this.column.onCellClick;n&&n(t,e)}},render:function(){var e,t=arguments[0],n=this.record,i=this.indentSize,a=this.prefixCls,s=this.indent,c=this.index,u=this.expandIcon,d=this.column,h=this.component,f=d.dataIndex,p=d.customRender,m=d.className,v=void 0===m?"":m,g=this.table.transformCellText,y=void 0;y="number"===typeof f||f&&0!==f.length?fp()(n,f):n;var b={props:{},attrs:{},on:{click:this.handleClick}},_=void 0,M=void 0;p&&(y=p(y,n,c,d),nM(y)&&(b.attrs=y.attrs||{},b.props=y.props||{},b["class"]=y["class"],b.style=y.style,_=b.attrs.colSpan,M=b.attrs.rowSpan,y=y.children)),d.customCell&&(b=Object(C["x"])(b,d.customCell(n,c))),nM(y)&&(y=null),g&&(y=g({text:y,column:d,record:n,index:c}));var w=u?t("span",{style:{paddingLeft:i*s+"px"},class:a+"-indent indent-level-"+s}):null;if(0===M||0===_)return null;d.align&&(b.style=k()({textAlign:d.align},b.style));var L=l()(v,d["class"],(e={},o()(e,a+"-cell-ellipsis",!!d.ellipsis),o()(e,a+"-cell-break-word",!!d.width),e));return d.ellipsis&&"string"===typeof y&&(b.attrs.title=y),t(h,r()([{class:L},b]),[w,u,y])}};function rM(){}var aM={name:"TableRow",mixins:[p["a"]],inject:{store:{from:"table-store",default:function(){return{}}}},props:Object(C["t"])({customRow:s["a"].func,record:s["a"].object,prefixCls:s["a"].string,columns:s["a"].array,index:s["a"].number,rowKey:s["a"].oneOfType([s["a"].string,s["a"].number]).isRequired,className:s["a"].string,indent:s["a"].number,indentSize:s["a"].number,hasExpandIcon:s["a"].func,fixed:s["a"].oneOfType([s["a"].string,s["a"].bool]),renderExpandIcon:s["a"].func,renderExpandIconCell:s["a"].func,components:s["a"].any,expandedRow:s["a"].bool,isAnyColumnsFixed:s["a"].bool,ancestorKeys:s["a"].array.isRequired,expandIconColumnIndex:s["a"].number,expandRowByClick:s["a"].bool},{hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}}),computed:{visible:function(){var e=this.store.expandedRowKeys,t=this.$props.ancestorKeys;return!(0!==t.length&&!t.every((function(t){return e.includes(t)})))},height:function(){var e=this.store,t=e.expandedRowsHeight,n=e.fixedColumnsBodyRowsHeight,i=this.$props,r=i.fixed,a=i.rowKey;return r?t[a]?t[a]:n[a]?n[a]:null:null},hovered:function(){var e=this.store.currentHoverKey,t=this.$props.rowKey;return e===t}},data:function(){return{shouldRender:this.visible}},mounted:function(){var e=this;this.shouldRender&&this.$nextTick((function(){e.saveRowRef()}))},watch:{visible:{handler:function(e){e&&(this.shouldRender=!0)},immediate:!0}},updated:function(){var e=this;this.shouldRender&&!this.rowRef&&this.$nextTick((function(){e.saveRowRef()}))},methods:{onRowClick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rM,n=this.record,i=this.index;this.__emit("rowClick",n,i,e),t(e)},onRowDoubleClick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rM,n=this.record,i=this.index;this.__emit("rowDoubleClick",n,i,e),t(e)},onContextMenu:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rM,n=this.record,i=this.index;this.__emit("rowContextmenu",n,i,e),t(e)},onMouseEnter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rM,n=this.record,i=this.index,r=this.rowKey;this.__emit("hover",!0,r),this.__emit("rowMouseenter",n,i,e),t(e)},onMouseLeave:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rM,n=this.record,i=this.index,r=this.rowKey;this.__emit("hover",!1,r),this.__emit("rowMouseleave",n,i,e),t(e)},setExpandedRowHeight:function(){var e=this.store,t=this.rowKey,n=e.expandedRowsHeight,i=this.rowRef.getBoundingClientRect().height;n=k()({},n,o()({},t,i)),e.expandedRowsHeight=n},setRowHeight:function(){var e=this.store,t=this.rowKey,n=e.fixedColumnsBodyRowsHeight,i=this.rowRef.getBoundingClientRect().height;e.fixedColumnsBodyRowsHeight=k()({},n,o()({},t,i))},getStyle:function(){var e=this.height,t=this.visible,n=Object(C["q"])(this);return e&&(n=k()({},n,{height:e})),t||n.display||(n=k()({},n,{display:"none"})),n},saveRowRef:function(){this.rowRef=this.$el;var e=this.isAnyColumnsFixed,t=this.fixed,n=this.expandedRow,i=this.ancestorKeys;e&&(!t&&n&&this.setExpandedRowHeight(),!t&&i.length>=0&&this.setRowHeight())}},render:function(){var e=this,t=arguments[0];if(!this.shouldRender)return null;var n=this.prefixCls,i=this.columns,r=this.record,a=this.rowKey,o=this.index,s=this.customRow,c=void 0===s?rM:s,u=this.indent,d=this.indentSize,h=this.hovered,f=this.height,p=this.visible,m=this.components,v=this.hasExpandIcon,g=this.renderExpandIcon,y=this.renderExpandIconCell,b=m.body.row,_=m.body.cell,M="";h&&(M+=" "+n+"-hover");var w=[];y(w);for(var L=0;L2&&void 0!==arguments[2]?arguments[2]:[],r=this.$createElement,a=this.table,o=a.columnManager,s=a.sComponents,c=a.prefixCls,l=a.childrenColumnName,u=a.rowClassName,d=a.customRow,h=void 0===d?uM:d,f=Object(C["k"])(this.table),p=f.rowClick,m=void 0===p?uM:p,v=f.rowDoubleclick,g=void 0===v?uM:v,y=f.rowContextmenu,b=void 0===y?uM:y,_=f.rowMouseenter,M=void 0===_?uM:_,w=f.rowMouseleave,L=void 0===w?uM:w,x=this.getRowKey,S=this.fixed,O=this.expander,T=this.isAnyColumnsFixed,z=[],H=function(a){var d=e[a],f=x(d,a),p="string"===typeof u?u:u(d,a,t),v={};o.isAnyColumnsFixed()&&(v.hover=n.handleRowHover);var y=void 0;y="left"===S?o.leftLeafColumns():"right"===S?o.rightLeafColumns():n.getColumns(o.leafColumns());var _=c+"-row",w={props:k()({},O.props,{fixed:S,index:a,prefixCls:_,record:d,rowKey:f,needIndentSpaced:O.needIndentSpaced}),key:f,on:{rowClick:m,expandedChange:O.handleExpandChange},scopedSlots:{default:function(e){var n=Object(C["x"])({props:{fixed:S,indent:t,record:d,index:a,prefixCls:_,childrenColumnName:l,columns:y,rowKey:f,ancestorKeys:i,components:s,isAnyColumnsFixed:T,customRow:h},on:k()({rowDoubleclick:g,rowContextmenu:b,rowMouseenter:M,rowMouseleave:L},v),class:p,ref:"row_"+a+"_"+t},e);return r(oM,n)}}},H=r(lM,w);z.push(H),O.renderRows(n.renderRows,z,d,a,t,S,f,i)},D=0;D0&&(m.width=g+"px")}var y=d?n.table:"table",b=n.body.wrapper,_=void 0;return d&&(_=e(b,{class:i+"-tbody"},[this.renderRows(a,0)]),o&&(_=o(_))),e(y,{class:l,style:m,key:"table"},[e(X_,{attrs:{columns:p,fixed:h}}),u&&e(tM,{attrs:{expander:c,columns:p,fixed:h}}),_])}},hM=dM,fM={name:"HeadTable",props:{fixed:s["a"].oneOfType([s["a"].string,s["a"].bool]),columns:s["a"].array.isRequired,tableClassName:s["a"].string.isRequired,handleBodyScrollLeft:s["a"].func.isRequired,expander:s["a"].object.isRequired},inject:{table:{default:function(){return{}}}},render:function(){var e=arguments[0],t=this.columns,n=this.fixed,i=this.tableClassName,a=this.handleBodyScrollLeft,s=this.expander,c=this.table,u=c.prefixCls,d=c.scroll,h=c.showHeader,f=c.saveRef,p=c.useFixedHeader,m={},v=W_({direction:"vertical"});if(d.y){p=!0;var g=W_({direction:"horizontal",prefixCls:u});g>0&&!n&&(m.marginBottom="-"+g+"px",m.paddingBottom="0px",m.minWidth=v+"px",m.overflowX="scroll",m.overflowY=0===v?"hidden":"scroll")}return p&&h?e("div",r()([{key:"headTable"},{directives:[{name:"ant-ref",value:n?function(){}:f("headTable")}]},{class:l()(u+"-header",o()({},u+"-hide-scrollbar",v>0)),style:m,on:{scroll:a}}]),[e(hM,{attrs:{tableClassName:i,hasHead:!0,hasBody:!1,fixed:n,columns:t,expander:s}})]):null}},pM={name:"BodyTable",props:{fixed:s["a"].oneOfType([s["a"].string,s["a"].bool]),columns:s["a"].array.isRequired,tableClassName:s["a"].string.isRequired,handleBodyScroll:s["a"].func.isRequired,handleWheel:s["a"].func.isRequired,getRowKey:s["a"].func.isRequired,expander:s["a"].object.isRequired,isAnyColumnsFixed:s["a"].bool},inject:{table:{default:function(){return{}}}},render:function(){var e=arguments[0],t=this.table,n=t.prefixCls,i=t.scroll,a=this.columns,o=this.fixed,s=this.tableClassName,c=this.getRowKey,l=this.handleBodyScroll,u=this.handleWheel,d=this.expander,h=this.isAnyColumnsFixed,f=this.table,p=f.useFixedHeader,m=f.saveRef,v=k()({},this.table.bodyStyle),g={};if((i.x||o)&&(v.overflowX=v.overflowX||"scroll",v.WebkitTransform="translate3d (0, 0, 0)"),i.y){var y=v.maxHeight||i.y;y="number"===typeof y?y+"px":y,o?(g.maxHeight=y,g.overflowY=v.overflowY||"scroll"):v.maxHeight=y,v.overflowY=v.overflowY||"scroll",p=!0;var b=W_({direction:"vertical"});b>0&&o&&(v.marginBottom="-"+b+"px",v.paddingBottom="0px")}var _=e(hM,{attrs:{tableClassName:s,hasHead:!p,hasBody:!0,fixed:o,columns:a,expander:d,getRowKey:c,isAnyColumnsFixed:h}});if(o&&a.length){var M=void 0;return"left"===a[0].fixed||!0===a[0].fixed?M="fixedColumnsBodyLeft":"right"===a[0].fixed&&(M="fixedColumnsBodyRight"),delete v.overflowX,delete v.overflowY,e("div",{key:"bodyTable",class:n+"-body-outer",style:k()({},v)},[e("div",r()([{class:n+"-body-inner",style:g},{directives:[{name:"ant-ref",value:m(M)}]},{on:{wheel:u,scroll:l}}]),[_])])}var w=i&&(i.x||i.y);return e("div",r()([{attrs:{tabIndex:w?-1:void 0},key:"bodyTable",class:n+"-body",style:v},{directives:[{name:"ant-ref",value:m("bodyTable")}]},{on:{wheel:u,scroll:l}}]),[_])}},mM=function(){return{expandIconAsCell:s["a"].bool,expandRowByClick:s["a"].bool,expandedRowKeys:s["a"].array,expandedRowClassName:s["a"].func,defaultExpandAllRows:s["a"].bool,defaultExpandedRowKeys:s["a"].array,expandIconColumnIndex:s["a"].number,expandedRowRender:s["a"].func,expandIcon:s["a"].func,childrenColumnName:s["a"].string,indentSize:s["a"].number,columnManager:s["a"].object.isRequired,prefixCls:s["a"].string.isRequired,data:s["a"].array,getRowKey:s["a"].func}},vM={name:"ExpandableTable",mixins:[p["a"]],props:Object(C["t"])(mM(),{expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15}),inject:{store:{from:"table-store",default:function(){return{}}}},data:function(){var e=this.data,t=this.childrenColumnName,n=this.defaultExpandAllRows,i=this.expandedRowKeys,r=this.defaultExpandedRowKeys,a=this.getRowKey,o=[],s=[].concat(v()(e));if(n)for(var c=0;c4&&void 0!==arguments[4]&&arguments[4];n&&(n.preventDefault(),n.stopPropagation());var a=this.store.expandedRowKeys;if(e)a=[].concat(v()(a),[i]);else{var o=a.indexOf(i);-1!==o&&(a=B_(a,i))}this.expandedRowKeys||(this.store.expandedRowKeys=a),this.latestExpandedRows&&jt()(this.latestExpandedRows,a)||(this.latestExpandedRows=a,this.__emit("expandedRowsChange",a),this.__emit("update:expandedRowKeys",a)),r||this.__emit("expand",e,t)},renderExpandIndentCell:function(e,t){var n=this.prefixCls,i=this.expandIconAsCell;if(i&&"right"!==t&&e.length){var r={key:"rc-table-expand-icon-cell",className:n+"-expand-icon-th",title:"",rowSpan:e.length};e[0].unshift(k()({},r,{column:r}))}},renderExpandedRow:function(e,t,n,i,r,a,o){var s=this,c=this.$createElement,l=this.prefixCls,u=this.expandIconAsCell,d=this.indentSize,h=r[r.length-1],f=h+"-extra-row",p={body:{row:"tr",cell:"td"}},m=void 0;m="left"===o?this.columnManager.leftLeafColumns().length:"right"===o?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var v=[{key:"extra-row",customRender:function(){var i=s.store.expandedRowKeys,r=i.includes(h);return{attrs:{colSpan:m},children:"right"!==o?n(e,t,a,r):" "}}}];return u&&"right"!==o&&v.unshift({key:"expand-icon-placeholder",customRender:function(){return null}}),c(oM,{key:f,attrs:{columns:v,rowKey:f,ancestorKeys:r,prefixCls:l+"-expanded-row",indentSize:d,indent:a,fixed:o,components:p,expandedRow:!0,hasExpandIcon:function(){}},class:i})},renderRows:function(e,t,n,i,r,a,o,s){var c=this.expandedRowClassName,l=this.expandedRowRender,u=this.childrenColumnName,d=n[u],h=[].concat(v()(s),[o]),f=r+1;l&&t.push(this.renderExpandedRow(n,i,l,c(n,i,r),h,f,a)),d&&t.push.apply(t,v()(e(d,f,h)))}},render:function(){var e=this.data,t=this.childrenColumnName,n=this.$scopedSlots,i=Object(C["l"])(this),r=e.some((function(e){return e[t]}));return n["default"]&&n["default"]({props:i,on:Object(C["k"])(this),needIndentSpaced:r,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}},gM=vM,yM={name:"Table",mixins:[p["a"]],provide:function(){return{"table-store":this.store,table:this}},props:Object(C["t"])({data:s["a"].array,useFixedHeader:s["a"].bool,columns:s["a"].array,prefixCls:s["a"].string,bodyStyle:s["a"].object,rowKey:s["a"].oneOfType([s["a"].string,s["a"].func]),rowClassName:s["a"].oneOfType([s["a"].string,s["a"].func]),customRow:s["a"].func,customHeaderRow:s["a"].func,showHeader:s["a"].bool,title:s["a"].func,id:s["a"].string,footer:s["a"].func,emptyText:s["a"].any,scroll:s["a"].object,rowRef:s["a"].func,getBodyWrapper:s["a"].func,components:s["a"].shape({table:s["a"].any,header:s["a"].shape({wrapper:s["a"].any,row:s["a"].any,cell:s["a"].any}),body:s["a"].shape({wrapper:s["a"].any,row:s["a"].any,cell:s["a"].any})}),expandIconAsCell:s["a"].bool,expandedRowKeys:s["a"].array,expandedRowClassName:s["a"].func,defaultExpandAllRows:s["a"].bool,defaultExpandedRowKeys:s["a"].array,expandIconColumnIndex:s["a"].number,expandedRowRender:s["a"].func,childrenColumnName:s["a"].string,indentSize:s["a"].number,expandRowByClick:s["a"].bool,expandIcon:s["a"].func,tableLayout:s["a"].string,transformCellText:s["a"].func},{data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},prefixCls:"rc-table",bodyStyle:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"},customHeaderRow:function(){}}),data:function(){return this.preData=[].concat(v()(this.data)),this.store=(this.$root.constructor.observable||kn["a"].observable)({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{},expandedRowsHeight:{},expandedRowKeys:[]}),{columnManager:new J_(this.columns),sComponents:q_()({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.components)}},watch:{components:function(){this._components=q_()({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.components)},columns:function(e){e&&this.columnManager.reset(e)},data:function(e){var t=this;0===e.length&&this.hasScrollX()&&this.$nextTick((function(){t.resetScrollX()}))}},created:function(){var e=this;["rowClick","rowDoubleclick","rowContextmenu","rowMouseenter","rowMouseleave"].forEach((function(t){pe(void 0===Object(C["k"])(e)[t],t+" is deprecated, please use customRow instead.")})),pe(void 0===this.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),this.setScrollPosition("left"),this.debouncedWindowResize=K_(this.handleWindowResize,150)},mounted:function(){var e=this;this.$nextTick((function(){e.columnManager.isAnyColumnsFixed()&&(e.handleWindowResize(),e.resizeEvent=ge(window,"resize",e.debouncedWindowResize)),e.ref_headTable&&(e.ref_headTable.scrollLeft=0),e.ref_bodyTable&&(e.ref_bodyTable.scrollLeft=0)}))},updated:function(){var e=this;this.$nextTick((function(){e.columnManager.isAnyColumnsFixed()&&(e.handleWindowResize(),e.resizeEvent||(e.resizeEvent=ge(window,"resize",e.debouncedWindowResize)))}))},beforeDestroy:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()},methods:{getRowKey:function(e,t){var n=this.rowKey,i="function"===typeof n?n(e,t):e[n];return pe(void 0!==i,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===i?t:i},setScrollPosition:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.prefixCls;"both"===e?qe()(this.tableNode).remove(new RegExp("^"+t+"-scroll-position-.+$")).add(t+"-scroll-position-left").add(t+"-scroll-position-right"):qe()(this.tableNode).remove(new RegExp("^"+t+"-scroll-position-.+$")).add(t+"-scroll-position-"+e)}},setScrollPositionClassName:function(){var e=this.ref_bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")},isTableLayoutFixed:function(){var e=this.$props,t=e.tableLayout,n=e.columns,i=void 0===n?[]:n,r=e.useFixedHeader,a=e.scroll,o=void 0===a?{}:a;return"undefined"!==typeof t?"fixed"===t:!!i.some((function(e){var t=e.ellipsis;return!!t}))||(!(!r&&!o.y)||!(!o.x||!0===o.x||"max-content"===o.x))},handleWindowResize:function(){this.syncFixedTableRowHeight(),this.setScrollPositionClassName()},syncFixedTableRowHeight:function(){var e=this.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var t=this.prefixCls,n=this.ref_headTable?this.ref_headTable.querySelectorAll("thead"):this.ref_bodyTable.querySelectorAll("thead"),i=this.ref_bodyTable.querySelectorAll("."+t+"-row")||[],r=[].map.call(n,(function(e){return e.getBoundingClientRect().height?e.getBoundingClientRect().height-.5:"auto"})),a=this.store,o=[].reduce.call(i,(function(e,t){var n=t.getAttribute("data-row-key"),i=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=i,e}),{});jt()(a.fixedColumnsHeadRowsHeight,r)&&jt()(a.fixedColumnsBodyRowsHeight,o)||(this.store.fixedColumnsHeadRowsHeight=r,this.store.fixedColumnsBodyRowsHeight=o)}},resetScrollX:function(){this.ref_headTable&&(this.ref_headTable.scrollLeft=0),this.ref_bodyTable&&(this.ref_bodyTable.scrollLeft=0)},hasScrollX:function(){var e=this.scroll,t=void 0===e?{}:e;return"x"in t},handleBodyScrollLeft:function(e){if(e.currentTarget===e.target){var t=e.target,n=this.scroll,i=void 0===n?{}:n,r=this.ref_headTable,a=this.ref_bodyTable;t.scrollLeft!==this.lastScrollLeft&&i.x&&(t===a&&r?r.scrollLeft=t.scrollLeft:t===r&&a&&(a.scrollLeft=t.scrollLeft),this.setScrollPositionClassName()),this.lastScrollLeft=t.scrollLeft}},handleBodyScrollTop:function(e){var t=e.target;if(e.currentTarget===t){var n=this.scroll,i=void 0===n?{}:n,r=this.ref_headTable,a=this.ref_bodyTable,o=this.ref_fixedColumnsBodyLeft,s=this.ref_fixedColumnsBodyRight;if(t.scrollTop!==this.lastScrollTop&&i.y&&t!==r){var c=t.scrollTop;o&&t!==o&&(o.scrollTop=c),s&&t!==s&&(s.scrollTop=c),a&&t!==a&&(a.scrollTop=c)}this.lastScrollTop=t.scrollTop}},handleBodyScroll:function(e){this.handleBodyScrollLeft(e),this.handleBodyScrollTop(e)},handleWheel:function(e){var t=this.$props.scroll,n=void 0===t?{}:t;if(window.navigator.userAgent.match(/Trident\/7\./)&&n.y){e.preventDefault();var i=e.deltaY,r=e.target,a=this.ref_bodyTable,o=this.ref_fixedColumnsBodyLeft,s=this.ref_fixedColumnsBodyRight,c=0;c=this.lastScrollTop?this.lastScrollTop+i:i,o&&r!==o&&(o.scrollTop=c),s&&r!==s&&(s.scrollTop=c),a&&r!==a&&(a.scrollTop=c)}},saveRef:function(e){var t=this;return function(n){t["ref_"+e]=n}},saveTableNodeRef:function(e){this.tableNode=e},renderMainTable:function(){var e=this.$createElement,t=this.scroll,n=this.prefixCls,i=this.columnManager.isAnyColumnsFixed(),r=i||t.x||t.y,a=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:i}),this.renderEmptyText(),this.renderFooter()];return r?e("div",{class:n+"-scroll"},[a]):a},renderLeftFixedTable:function(){var e=this.$createElement,t=this.prefixCls;return e("div",{class:t+"-fixed-left"},[this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"})])},renderRightFixedTable:function(){var e=this.$createElement,t=this.prefixCls;return e("div",{class:t+"-fixed-right"},[this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"})])},renderTable:function(e){var t=this.$createElement,n=e.columns,i=e.fixed,r=e.isAnyColumnsFixed,a=this.prefixCls,o=this.scroll,s=void 0===o?{}:o,c=s.x||i?a+"-fixed":"",l=t(fM,{key:"head",attrs:{columns:n,fixed:i,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}}),u=t(pM,{key:"body",attrs:{columns:n,fixed:i,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r}});return[l,u]},renderTitle:function(){var e=this.$createElement,t=this.title,n=this.prefixCls,i=this.data;return t?e("div",{class:n+"-title",key:"title"},[t(i)]):null},renderFooter:function(){var e=this.$createElement,t=this.footer,n=this.prefixCls,i=this.data;return t?e("div",{class:n+"-footer",key:"footer"},[t(i)]):null},renderEmptyText:function(){var e=this.$createElement,t=this.emptyText,n=this.prefixCls,i=this.data;if(i.length)return null;var r=n+"-placeholder";return e("div",{class:r,key:"emptyText"},["function"===typeof t?t():t])}},render:function(){var e,t=this,n=arguments[0],i=Object(C["l"])(this),a=this.columnManager,s=this.getRowKey,c=i.prefixCls,u=l()(i.prefixCls,(e={},o()(e,c+"-fixed-header",i.useFixedHeader||i.scroll&&i.scroll.y),o()(e,c+"-scroll-position-left "+c+"-scroll-position-right","both"===this.scrollPosition),o()(e,c+"-scroll-position-"+this.scrollPosition,"both"!==this.scrollPosition),o()(e,c+"-layout-fixed",this.isTableLayoutFixed()),e)),d=a.isAnyColumnsLeftFixed(),h=a.isAnyColumnsRightFixed(),f={props:k()({},i,{columnManager:a,getRowKey:s}),on:Object(C["k"])(this),scopedSlots:{default:function(e){return t.expander=e,n("div",r()([{directives:[{name:"ant-ref",value:t.saveTableNodeRef}]},{class:u}]),[t.renderTitle(),n("div",{class:c+"-content"},[t.renderMainTable(),d&&t.renderLeftFixedTable(),h&&t.renderRightFixedTable()])])}}};return n(gM,f)}},bM={name:"Column",props:{rowSpan:s["a"].number,colSpan:s["a"].number,title:s["a"].any,dataIndex:s["a"].string,width:s["a"].oneOfType([s["a"].number,s["a"].string]),ellipsis:s["a"].bool,fixed:s["a"].oneOf([!0,"left","right"]),align:s["a"].oneOf(["left","center","right"]),customRender:s["a"].func,className:s["a"].string,customCell:s["a"].func,customHeaderCell:s["a"].func}},_M={name:"ColumnGroup",props:{title:s["a"].any},isTableColumnGroup:!0},MM={name:"Table",Column:bM,ColumnGroup:_M,props:yM.props,methods:{getTableNode:function(){return this.$refs.table.tableNode},getBodyTable:function(){return this.$refs.table.ref_bodyTable},normalize:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return t.forEach((function(t){if(t.tag){var i=Object(C["j"])(t),r=Object(C["q"])(t),a=Object(C["f"])(t),o=Object(C["l"])(t),s=Object(C["i"])(t),c={};Object.keys(s).forEach((function(e){var t="on-"+e;c[Object(C["a"])(t)]=s[e]}));var l=Object(C["p"])(t),u=l["default"],d=l.title,h=k()({title:d},o,{style:r,class:a},c);if(i&&(h.key=i),Object(C["o"])(t).isTableColumnGroup)h.children=e.normalize("function"===typeof u?u():u);else{var f=t.data&&t.data.scopedSlots&&t.data.scopedSlots["default"];h.customRender=h.customRender||f}n.push(h)}})),n}},render:function(){var e=arguments[0],t=this.$slots,n=this.normalize,i=Object(C["l"])(this),r=i.columns||n(t["default"]),a={props:k()({},i,{columns:r}),on:Object(C["k"])(this),ref:"table"};return e(yM,a)}},wM=MM,kM=n("61fe"),CM=n.n(kM),LM={name:"FilterDropdownMenuWrapper",methods:{handelClick:function(e){e.stopPropagation()}},render:function(){var e=arguments[0],t=this.$slots,n=this.handelClick;return e("div",{on:{click:n}},[t["default"]])}},xM=vv(),SM=ev(),OM=s["a"].shape({text:s["a"].string,value:s["a"].string,children:s["a"].array}).loose,TM={title:s["a"].any,dataIndex:s["a"].string,customRender:s["a"].func,customCell:s["a"].func,customHeaderCell:s["a"].func,align:s["a"].oneOf(["left","right","center"]),ellipsis:s["a"].bool,filters:s["a"].arrayOf(OM),filterMultiple:s["a"].bool,filterDropdown:s["a"].any,filterDropdownVisible:s["a"].bool,sorter:s["a"].oneOfType([s["a"].boolean,s["a"].func]),defaultSortOrder:s["a"].oneOf(["ascend","descend"]),colSpan:s["a"].number,width:s["a"].oneOfType([s["a"].string,s["a"].number]),className:s["a"].string,fixed:s["a"].oneOfType([s["a"].bool,s["a"].oneOf(["left","right"])]),filterIcon:s["a"].any,filteredValue:s["a"].array,filtered:s["a"].bool,defaultFilteredValue:s["a"].array,sortOrder:s["a"].oneOfType([s["a"].bool,s["a"].oneOf(["ascend","descend"])]),sortDirections:s["a"].array},zM=s["a"].shape({filterTitle:s["a"].string,filterConfirm:s["a"].any,filterReset:s["a"].any,emptyText:s["a"].any,selectAll:s["a"].any,selectInvert:s["a"].any,sortTitle:s["a"].string,expand:s["a"].string,collapse:s["a"].string}).loose,HM=s["a"].oneOf(["checkbox","radio"]),DM={type:HM,selectedRowKeys:s["a"].array,getCheckboxProps:s["a"].func,selections:s["a"].oneOfType([s["a"].array,s["a"].bool]),hideDefaultSelections:s["a"].bool,fixed:s["a"].bool,columnWidth:s["a"].oneOfType([s["a"].string,s["a"].number]),selectWay:s["a"].oneOf(["onSelect","onSelectMultiple","onSelectAll","onSelectInvert"]),columnTitle:s["a"].any},VM={prefixCls:s["a"].string,dropdownPrefixCls:s["a"].string,rowSelection:s["a"].oneOfType([s["a"].shape(DM).loose,null]),pagination:s["a"].oneOfType([s["a"].shape(k()({},xM,{position:s["a"].oneOf(["top","bottom","both"])})).loose,s["a"].bool]),size:s["a"].oneOf(["default","middle","small","large"]),dataSource:s["a"].array,components:s["a"].object,columns:s["a"].array,rowKey:s["a"].oneOfType([s["a"].string,s["a"].func]),rowClassName:s["a"].func,expandedRowRender:s["a"].any,defaultExpandAllRows:s["a"].bool,defaultExpandedRowKeys:s["a"].array,expandedRowKeys:s["a"].array,expandIconAsCell:s["a"].bool,expandIconColumnIndex:s["a"].number,expandRowByClick:s["a"].bool,loading:s["a"].oneOfType([s["a"].shape(SM).loose,s["a"].bool]),locale:zM,indentSize:s["a"].number,customRow:s["a"].func,customHeaderRow:s["a"].func,useFixedHeader:s["a"].bool,bordered:s["a"].bool,showHeader:s["a"].bool,footer:s["a"].func,title:s["a"].func,scroll:s["a"].object,childrenColumnName:s["a"].oneOfType([s["a"].array,s["a"].string]),bodyStyle:s["a"].any,sortDirections:s["a"].array,tableLayout:s["a"].string,getPopupContainer:s["a"].func,expandIcon:s["a"].func,transformCellText:s["a"].func},jM={store:s["a"].any,locale:s["a"].any,disabled:s["a"].bool,getCheckboxPropsByItem:s["a"].func,getRecordKey:s["a"].func,data:s["a"].array,prefixCls:s["a"].string,hideDefaultSelections:s["a"].bool,selections:s["a"].oneOfType([s["a"].array,s["a"].bool]),getPopupContainer:s["a"].func},YM={store:s["a"].any,type:HM,defaultSelection:s["a"].arrayOf([s["a"].string,s["a"].number]),rowIndex:s["a"].oneOfType([s["a"].string,s["a"].number]),name:s["a"].string,disabled:s["a"].bool,id:s["a"].string},PM={_propsSymbol:s["a"].any,locale:zM,selectedKeys:s["a"].arrayOf([s["a"].string,s["a"].number]),column:s["a"].object,confirmFilter:s["a"].func,prefixCls:s["a"].string,dropdownPrefixCls:s["a"].string,getPopupContainer:s["a"].func,handleFilter:s["a"].func};function AM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],i=function e(i){i.forEach((function(i){if(i[t]){var r=k()({},i);delete r[t],n.push(r),i[t].length>0&&e(i[t])}else n.push(i)}))};return i(e),n}function EM(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,i){var r={};return e[n]&&(r[n]=EM(e[n],t,n)),k()({},t(e,i),r)}))}function FM(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var i=FM(n.children,t);e.push.apply(e,v()(i))}return e}),[])}function $M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,i=e.children;t[n.toString()]=n,$M(i,t)})),t}function IM(e){e.stopPropagation()}var RM={name:"FilterMenu",mixins:[p["a"]],props:Object(C["t"])(PM,{handleFilter:function(){},column:{}}),data:function(){var e="filterDropdownVisible"in this.column&&this.column.filterDropdownVisible;return this.preProps=k()({},Object(C["l"])(this)),{sSelectedKeys:this.selectedKeys,sKeyPathOfSelectedItem:{},sVisible:e,sValueKeys:$M(this.column.filters)}},watch:{_propsSymbol:function(){var e=Object(C["l"])(this),t=e.column,n={};"selectedKeys"in e&&!jt()(this.preProps.selectedKeys,e.selectedKeys)&&(n.sSelectedKeys=e.selectedKeys),jt()((this.preProps.column||{}).filters,(e.column||{}).filters)||(n.sValueKeys=$M(e.column.filters)),"filterDropdownVisible"in t&&(n.sVisible=t.filterDropdownVisible),Object.keys(n).length>0&&this.setState(n),this.preProps=k()({},e)}},mounted:function(){var e=this,t=this.column;this.$nextTick((function(){e.setNeverShown(t)}))},updated:function(){var e=this,t=this.column;this.$nextTick((function(){e.setNeverShown(t)}))},methods:{getDropdownVisible:function(){return!this.neverShown&&this.sVisible},setNeverShown:function(e){var t=this.$el,n=!!CM()(t,".ant-table-scroll");n&&(this.neverShown=!!e.fixed)},setSelectedKeys:function(e){var t=e.selectedKeys;this.setState({sSelectedKeys:t})},setVisible:function(e){var t=this.column;"filterDropdownVisible"in t||this.setState({sVisible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)},handleClearFilters:function(){this.setState({sSelectedKeys:[]},this.handleConfirm)},handleConfirm:function(){var e=this;this.setVisible(!1),this.confirmFilter2(),this.$forceUpdate(),this.$nextTick((function(){e.confirmFilter}))},onVisibleChange:function(e){this.setVisible(e);var t=this.$props.column;e||t.filterDropdown instanceof Function||this.confirmFilter2()},handleMenuItemClick:function(e){var t=this.$data.sSelectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var n=this.$data.sKeyPathOfSelectedItem;t&&t.indexOf(e.key)>=0?delete n[e.key]:n[e.key]=e.keyPath,this.setState({sKeyPathOfSelectedItem:n})}},hasSubMenu:function(){var e=this.column.filters,t=void 0===e?[]:e;return t.some((function(e){return!!(e.children&&e.children.length>0)}))},confirmFilter2:function(){var e=this.$props,t=e.column,n=e.selectedKeys,i=e.confirmFilter,r=this.$data,a=r.sSelectedKeys,o=r.sValueKeys,s=t.filterDropdown;jt()(a,n)||i(t,s?a:a.map((function(e){return o[e]})).filter((function(e){return void 0!==e})))},renderMenus:function(e){var t=this,n=this.$createElement,i=this.$props,r=i.dropdownPrefixCls,a=i.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var i=t.sKeyPathOfSelectedItem,s=Object.keys(i).some((function(t){return i[t].indexOf(e.value)>=0})),c=l()(a+"-dropdown-submenu",o()({},r+"-submenu-contain-selected",s));return n(Dr,{attrs:{title:e.text,popupClassName:c},key:e.value},[t.renderMenus(e.children)])}return t.renderMenuItem(e)}))},renderFilterIcon:function(){var e,t=this.$createElement,n=this.column,i=this.locale,r=this.prefixCls,a=this.selectedKeys,s=a&&a.length>0,c=n.filterIcon;"function"===typeof c&&(c=c(s,n));var u=l()((e={},o()(e,r+"-selected","filtered"in n?n.filtered:s),o()(e,r+"-open",this.getDropdownVisible()),e));return c?1===c.length&&Object(C["w"])(c[0])?Object(Ln["a"])(c[0],{on:{click:IM},class:l()(r+"-icon",u)}):t("span",{class:l()(r+"-icon",u)},[c]):t(to,{attrs:{title:i.filterTitle,type:"filter",theme:"filled"},class:u,on:{click:IM}})},renderMenuItem:function(e){var t=this.$createElement,n=this.column,i=this.$data.sSelectedKeys,r=!("filterMultiple"in n)||n.filterMultiple,a=t(r?Id:bb,{attrs:{checked:i&&i.indexOf(e.value)>=0}});return t(yn,{key:e.value},[a,t("span",[e.text])])}},render:function(){var e=this,t=arguments[0],n=this.$data.sSelectedKeys,i=this.column,r=this.locale,a=this.prefixCls,s=this.dropdownPrefixCls,c=this.getPopupContainer,u=!("filterMultiple"in i)||i.filterMultiple,d=l()(o()({},s+"-menu-without-submenu",!this.hasSubMenu())),h=i.filterDropdown;h instanceof Function&&(h=h({prefixCls:s+"-custom",setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:n,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:i.filters,visible:this.getDropdownVisible(),column:i}));var f=t(LM,{class:a+"-dropdown"},h?[h]:[t(qr,{attrs:{multiple:u,prefixCls:s+"-menu",selectedKeys:n&&n.map((function(e){return e})),getPopupContainer:c},on:{click:this.handleMenuItemClick,select:this.setSelectedKeys,deselect:this.setSelectedKeys},class:d},[this.renderMenus(i.filters)]),t("div",{class:a+"-dropdown-btns"},[t("a",{class:a+"-dropdown-link confirm",on:{click:this.handleConfirm}},[r.filterConfirm]),t("a",{class:a+"-dropdown-link clear",on:{click:this.handleClearFilters}},[r.filterReset])])]);return t(op,{attrs:{trigger:["click"],placement:"bottomRight",visible:this.getDropdownVisible(),getPopupContainer:c,forceRender:!0},on:{visibleChange:this.onVisibleChange}},[t("template",{slot:"overlay"},[f]),this.renderFilterIcon()])}},NM={name:"SelectionBox",mixins:[p["a"]],props:YM,computed:{checked:function(){var e=this.$props,t=e.store,n=e.defaultSelection,i=e.rowIndex,r=!1;return r=t.selectionDirty?t.selectedRowKeys.indexOf(i)>=0:t.selectedRowKeys.indexOf(i)>=0||n.indexOf(i)>=0,r}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.type,i=t.rowIndex,r=We()(t,["type","rowIndex"]),a=this.checked,o={props:k()({checked:a},r),on:Object(C["k"])(this)};return"radio"===n?(o.props.value=i,e(bb,o)):e(Id,o)}};function WM(e){var t=e.store,n=e.getCheckboxPropsByItem,i=e.getRecordKey,r=e.data,a=e.type,o=e.byDefaultChecked;return o?r[a]((function(e,t){return n(e,t).defaultChecked})):r[a]((function(e,n){return t.selectedRowKeys.indexOf(i(e,n))>=0}))}function KM(e){var t=e.store,n=e.data;if(!n.length)return!1;var i=WM(k()({},e,{data:n,type:"some",byDefaultChecked:!1}))&&!WM(k()({},e,{data:n,type:"every",byDefaultChecked:!1})),r=WM(k()({},e,{data:n,type:"some",byDefaultChecked:!0}))&&!WM(k()({},e,{data:n,type:"every",byDefaultChecked:!0}));return t.selectionDirty?i:i||r}function BM(e){var t=e.store,n=e.data;return!!n.length&&(t.selectionDirty?WM(k()({},e,{data:n,type:"every",byDefaultChecked:!1})):WM(k()({},e,{data:n,type:"every",byDefaultChecked:!1}))||WM(k()({},e,{data:n,type:"every",byDefaultChecked:!0})))}var UM={name:"SelectionCheckboxAll",mixins:[p["a"]],props:jM,data:function(){var e=this.$props;return this.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],{checked:BM(e),indeterminate:KM(e)}},watch:{$props:{handler:function(){this.setCheckState(this.$props)},deep:!0,immediate:!0}},methods:{checkSelection:function(e,t,n,i){var r=e||this.$props,a=r.store,o=r.getCheckboxPropsByItem,s=r.getRecordKey;return("every"===n||"some"===n)&&(i?t[n]((function(e,t){return o(e,t).props.defaultChecked})):t[n]((function(e,t){return a.selectedRowKeys.indexOf(s(e,t))>=0})))},setCheckState:function(e){var t=BM(e),n=KM(e);this.setState((function(e){var i={};return n!==e.indeterminate&&(i.indeterminate=n),t!==e.checked&&(i.checked=t),i}))},handleSelectAllChange:function(e){var t=e.target.checked;this.$emit("select",t?"all":"removeAll",0,null)},renderMenus:function(e){var t=this,n=this.$createElement;return e.map((function(e,i){return n(bc.Item,{key:e.key||i},[n("div",{on:{click:function(){t.$emit("select",e.key,i,e.onSelect)}}},[e.text])])}))}},render:function(){var e=arguments[0],t=this.disabled,n=this.prefixCls,i=this.selections,r=this.getPopupContainer,a=this.checked,s=this.indeterminate,c=n+"-selection",u=null;if(i){var d=Array.isArray(i)?this.defaultSelections.concat(i):this.defaultSelections,h=e(bc,{class:c+"-menu",attrs:{selectedKeys:[]}},[this.renderMenus(d)]);u=d.length>0?e(op,{attrs:{getPopupContainer:r}},[e("template",{slot:"overlay"},[h]),e("div",{class:c+"-down"},[e(to,{attrs:{type:"down"}})])]):null}return e("div",{class:c},[e(Id,{class:l()(o()({},c+"-select-all-custom",u)),attrs:{checked:a,indeterminate:s,disabled:t},on:{change:this.handleSelectAllChange}}),u])}},qM={name:"ATableColumn",props:TM},GM={name:"ATableColumnGroup",props:{fixed:s["a"].oneOfType([s["a"].bool,s["a"].oneOf(["left","right"])]),title:s["a"].any},__ANT_TABLE_COLUMN_GROUP:!0},JM={store:s["a"].any,rowKey:s["a"].oneOfType([s["a"].string,s["a"].number]),prefixCls:s["a"].string};function XM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t={name:"BodyRow",props:JM,computed:{selected:function(){return this.$props.store.selectedRowKeys.indexOf(this.$props.rowKey)>=0}},render:function(){var t=arguments[0],n=o()({},this.prefixCls+"-row-selected",this.selected);return t(e,r()([{class:n},{on:Object(C["k"])(this)}]),[this.$slots["default"]])}};return t}var ZM={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},QM={props:{noStyle:s["a"].bool},methods:{onKeyDown:function(e){var t=e.keyCode;t===Be.ENTER&&e.preventDefault()},onKeyUp:function(e){var t=e.keyCode;t===Be.ENTER&&this.$emit("click",e)},setRef:function(e){this.div=e},focus:function(){this.div&&this.div.focus()},blur:function(){this.div&&this.div.blur()}},render:function(){var e=arguments[0],t=this.$props.noStyle;return e("div",r()([{attrs:{role:"button",tabIndex:0}},{directives:[{name:"ant-ref",value:this.setRef}],on:k()({},this.$listeners,{keydown:this.onKeyDown,keyup:this.onKeyUp})},{style:k()({},t?null:ZM)}]),[this.$slots["default"]])}},ew=QM;function tw(){}function nw(e){e.stopPropagation()}function iw(e){return e.rowSelection||{}}function rw(e,t){return e.key||e.dataIndex||t}function aw(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||jt()(e,t,(function(e,t){return"function"===typeof e&&"function"===typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||jt()(e,t):void 0})))}var ow={onChange:tw,onShowSizeChange:tw},sw={},cw=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return k()({},e,{body:k()({},e.body,{row:XM(t)})})};function lw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return jt()(e[n],t[n])}))}function uw(e,t){return FM(t||(e||{}).columns||[],(function(e){return"undefined"!==typeof e.filteredValue}))}function dw(e,t){var n={};return uw(e,t).forEach((function(e){var t=rw(e);n[t]=e.filteredValue})),n}function hw(e,t){return Object.keys(t).length!==Object.keys(e.filters).length||Object.keys(t).some((function(n){return t[n]!==e.filters[n]}))}var fw={name:"Table",Column:qM,ColumnGroup:GM,mixins:[p["a"]],inject:{configProvider:{default:function(){return ce}}},provide:function(){return{store:this.store}},props:Object(C["t"])(VM,{dataSource:[],useFixedHeader:!1,size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"}),data:function(){var e=Object(C["l"])(this);return pe(!e.expandedRowRender||!("scroll"in e)||!e.scroll.x,"`expandedRowRender` and `scroll` are not compatible. Please use one of them at one time."),this.CheckboxPropsCache={},this.store=(this.$root.constructor.observable||kn["a"].observable)({selectedRowKeys:iw(this.$props).selectedRowKeys||[],selectionDirty:!1}),k()({},this.getDefaultSortOrder(e.columns||[]),{sFilters:this.getDefaultFilters(e.columns),sPagination:this.getDefaultPagination(this.$props),pivot:void 0,sComponents:cw(this.components),filterDataCnt:0})},watch:{pagination:{handler:function(e){this.setState((function(t){var n=k()({},ow,t.sPagination,e);return n.current=n.current||1,n.pageSize=n.pageSize||10,{sPagination:!1!==e?n:sw}}))},deep:!0},rowSelection:{handler:function(e,t){if(e&&"selectedRowKeys"in e){this.store.selectedRowKeys=e.selectedRowKeys||[];var n=this.rowSelection;n&&e.getCheckboxProps!==n.getCheckboxProps&&(this.CheckboxPropsCache={})}else t&&!e&&(this.store.selectedRowKeys=[])},deep:!0},dataSource:function(){this.store.selectionDirty=!1,this.CheckboxPropsCache={}},columns:function(e){var t=uw({columns:e},e);if(t.length>0){var n=dw({columns:e},e),i=k()({},this.sFilters);Object.keys(n).forEach((function(e){i[e]=n[e]})),hw({filters:this.sFilters},i)&&this.setState({sFilters:i})}this.$forceUpdate()},components:{handler:function(e,t){if(!lw(e,t)){var n=cw(e);this.setState({sComponents:n})}},deep:!0}},updated:function(){var e=this.columns,t=this.sSortColumn,n=this.sSortOrder;if(this.getSortOrderColumns(e).length>0){var i=this.getSortStateFromColumns(e);aw(i.sSortColumn,t)&&i.sSortOrder===n||this.setState(i)}},methods:{getCheckboxPropsByItem:function(e,t){var n=iw(this.$props);if(!n.getCheckboxProps)return{props:{}};var i=this.getRecordKey(e,t);return this.CheckboxPropsCache[i]||(this.CheckboxPropsCache[i]=n.getCheckboxProps(e)),this.CheckboxPropsCache[i].props=this.CheckboxPropsCache[i].props||{},this.CheckboxPropsCache[i]},getDefaultSelection:function(){var e=this,t=iw(this.$props);return t.getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).props.defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]},getDefaultPagination:function(e){var t="object"===M()(e.pagination)?e.pagination:{},n=void 0;"current"in t?n=t.current:"defaultCurrent"in t&&(n=t.defaultCurrent);var i=void 0;return"pageSize"in t?i=t.pageSize:"defaultPageSize"in t&&(i=t.defaultPageSize),this.hasPagination(e)?k()({},ow,t,{current:n||1,pageSize:i||10}):{}},getSortOrderColumns:function(e){return FM(e||this.columns||[],(function(e){return"sortOrder"in e}))},getDefaultFilters:function(e){var t=dw({columns:this.columns},e),n=FM(e||[],(function(e){return"undefined"!==typeof e.defaultFilteredValue})),i=n.reduce((function(e,t){var n=rw(t);return e[n]=t.defaultFilteredValue,e}),{});return k()({},i,t)},getDefaultSortOrder:function(e){var t=this.getSortStateFromColumns(e),n=FM(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sSortColumn:n,sSortOrder:n.defaultSortOrder}:t},getSortStateFromColumns:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sSortColumn:t,sSortOrder:t.sortOrder}:{sSortColumn:null,sSortOrder:null}},getMaxCurrent:function(e){var t=this.sPagination,n=t.current,i=t.pageSize;return(n-1)*i>=e?Math.floor((e-1)/i)+1:n},getRecordKey:function(e,t){var n=this.rowKey,i="function"===typeof n?n(e,t):e[n];return pe(void 0!==i,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, "),void 0===i?t:i},getSorterFn:function(e){var t=e||this.$data,n=t.sSortOrder,i=t.sSortColumn;if(n&&i&&"function"===typeof i.sorter)return function(e,t){var r=i.sorter(e,t,n);return 0!==r?"descend"===n?-r:r:0}},getCurrentPageData:function(){var e=this.getLocalData();this.filterDataCnt=e.length;var t=void 0,n=void 0,i=this.sPagination;return this.hasPagination()?(n=i.pageSize,t=this.getMaxCurrent(i.total||e.length)):(n=Number.MAX_VALUE,t=1),(e.length>n||n===Number.MAX_VALUE)&&(e=e.slice((t-1)*n,t*n)),e},getFlatData:function(){var e=this.$props.childrenColumnName;return AM(this.getLocalData(null,!1),e)},getFlatCurrentPageData:function(){var e=this.$props.childrenColumnName;return AM(this.getCurrentPageData(),e)},getLocalData:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e||this.$data,r=i.sFilters,a=this.$props.dataSource,o=a||[];o=o.slice(0);var s=this.getSorterFn(i);return s&&(o=this.recursiveSort([].concat(v()(o)),s)),n&&r&&Object.keys(r).forEach((function(e){var n=t.findColumn(e);if(n){var i=r[e]||[];if(0!==i.length){var a=n.onFilter;o=a?o.filter((function(e){return i.some((function(t){return a(t,e)}))})):o}}})),o},onRow:function(e,t,n){var i=this.customRow,r=i?i(t,n):{};return Object(C["x"])(r,{props:{prefixCls:e,store:this.store,rowKey:this.getRecordKey(t,n)}})},setSelectedRowKeys:function(e,t){var n=this,i=t.selectWay,r=t.record,a=t.checked,o=t.changeRowKeys,s=t.nativeEvent,c=iw(this.$props);c&&!("selectedRowKeys"in c)&&(this.store.selectedRowKeys=e);var l=this.getFlatData();if(c.onChange||c[i]){var u=l.filter((function(t,i){return e.indexOf(n.getRecordKey(t,i))>=0}));if(c.onChange&&c.onChange(e,u),"onSelect"===i&&c.onSelect)c.onSelect(r,a,u,s);else if("onSelectMultiple"===i&&c.onSelectMultiple){var d=l.filter((function(e,t){return o.indexOf(n.getRecordKey(e,t))>=0}));c.onSelectMultiple(a,u,d)}else if("onSelectAll"===i&&c.onSelectAll){var h=l.filter((function(e,t){return o.indexOf(n.getRecordKey(e,t))>=0}));c.onSelectAll(a,u,h)}else"onSelectInvert"===i&&c.onSelectInvert&&c.onSelectInvert(e)}},generatePopupContainerFunc:function(e){var t=this.$props.scroll,n=this.$refs.vcTable;return e||(t&&n?function(){return n.getTableNode()}:void 0)},scrollToFirstRow:function(){var e=this,t=this.$props.scroll;t&&!1!==t.scrollToFirstRowOnChange&&De(0,{getContainer:function(){return e.$refs.vcTable.getBodyTable()}})},isSameColumn:function(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||jt()(e,t,(function(e,t){if("function"===typeof e&&"function"===typeof t)return e===t||e.toString()===t.toString()})))},handleFilter:function(e,t){var n=this,i=this.$props,r=k()({},this.sPagination),a=k()({},this.sFilters,o()({},rw(e),t)),s=[];EM(this.columns,(function(e){e.children||s.push(rw(e))})),Object.keys(a).forEach((function(e){s.indexOf(e)<0&&delete a[e]})),i.pagination&&(r.current=1,r.onChange(r.current));var c={sPagination:r,sFilters:{}},l=k()({},a);uw({columns:i.columns}).forEach((function(e){var t=rw(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.sFilters=l),"object"===M()(i.pagination)&&"current"in i.pagination&&(c.sPagination=k()({},r,{current:this.sPagination.current})),this.setState(c,(function(){n.scrollToFirstRow(),n.store.selectionDirty=!1,n.$emit.apply(n,["change"].concat(v()(n.prepareParamsArguments(k()({},n.$data,{sSelectionDirty:!1,sFilters:a,sPagination:r})))))}))},handleSelect:function(e,t,n){var i=this,r=n.target.checked,a=n.nativeEvent,o=this.store.selectionDirty?[]:this.getDefaultSelection(),s=this.store.selectedRowKeys.concat(o),c=this.getRecordKey(e,t),l=this.$data.pivot,u=this.getFlatCurrentPageData(),d=t;if(this.$props.expandedRowRender&&(d=u.findIndex((function(e){return i.getRecordKey(e,t)===c}))),a.shiftKey&&void 0!==l&&d!==l){var h=[],f=Math.sign(l-d),p=Math.abs(l-d),m=0,v=function(){var e=d+m*f;m+=1;var t=u[e],n=i.getRecordKey(t,e),a=i.getCheckboxPropsByItem(t,e);a.disabled||(s.includes(n)?r||(s=s.filter((function(e){return n!==e})),h.push(n)):r&&(s.push(n),h.push(n)))};while(m<=p)v();this.setState({pivot:d}),this.store.selectionDirty=!0,this.setSelectedRowKeys(s,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:h,nativeEvent:a})}else r?s.push(this.getRecordKey(e,d)):s=s.filter((function(e){return c!==e})),this.setState({pivot:d}),this.store.selectionDirty=!0,this.setSelectedRowKeys(s,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:a})},handleRadioSelect:function(e,t,n){var i=n.target.checked,r=n.nativeEvent,a=this.getRecordKey(e,t),o=[a];this.store.selectionDirty=!0,this.setSelectedRowKeys(o,{selectWay:"onSelect",record:e,checked:i,changeRowKeys:void 0,nativeEvent:r})},handleSelectRow:function(e,t,n){var i=this,r=this.getFlatCurrentPageData(),a=this.store.selectionDirty?[]:this.getDefaultSelection(),o=this.store.selectedRowKeys.concat(a),s=r.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).props.disabled})).map((function(e,t){return i.getRecordKey(e,t)})),c=[],l="onSelectAll",u=void 0;switch(e){case"all":s.forEach((function(e){o.indexOf(e)<0&&(o.push(e),c.push(e))})),l="onSelectAll",u=!0;break;case"removeAll":s.forEach((function(e){o.indexOf(e)>=0&&(o.splice(o.indexOf(e),1),c.push(e))})),l="onSelectAll",u=!1;break;case"invert":s.forEach((function(e){o.indexOf(e)<0?o.push(e):o.splice(o.indexOf(e),1),c.push(e),l="onSelectInvert"}));break;default:break}this.store.selectionDirty=!0;var d=this.rowSelection,h=2;if(d&&d.hideDefaultSelections&&(h=0),t>=h&&"function"===typeof n)return n(s);this.setSelectedRowKeys(o,{selectWay:l,checked:u,changeRowKeys:c})},handlePageChange:function(e){var t=this.$props,n=k()({},this.sPagination);n.current=e||(n.current||1);for(var i=arguments.length,r=Array(i>1?i-1:0),a=1;a0&&(a===t||"both"===a)?n(bv,d):null},renderSelectionBox:function(e){var t=this,n=this.$createElement;return function(i,r,a){var o=t.getRecordKey(r,a),s=t.getCheckboxPropsByItem(r,a),c=function(n){"radio"===e?t.handleRadioSelect(r,a,n):t.handleSelect(r,a,n)},l=Object(C["x"])({props:{type:e,store:t.store,rowIndex:o,defaultSelection:t.getDefaultSelection()},on:{change:c}},s);return n("span",{on:{click:nw}},[n(NM,l)])}},renderRowSelection:function(e){var t=this,n=e.prefixCls,i=e.locale,r=e.getPopupContainer,a=this.$createElement,s=this.rowSelection,c=this.columns.concat();if(s){var u=this.getFlatCurrentPageData().filter((function(e,n){return!s.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).props.disabled})),d=l()(n+"-selection-column",o()({},n+"-selection-column-custom",s.selections)),h=o()({key:"selection-column",customRender:this.renderSelectionBox(s.type),className:d,fixed:s.fixed,width:s.columnWidth,title:s.columnTitle},N_,{class:n+"-selection-col"});if("radio"!==s.type){var f=u.every((function(e,n){return t.getCheckboxPropsByItem(e,n).props.disabled}));h.title=h.title||a(UM,{attrs:{store:this.store,locale:i,data:u,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:f,prefixCls:n,selections:s.selections,hideDefaultSelections:s.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(r)},on:{select:this.handleSelectRow}})}"fixed"in s?h.fixed=s.fixed:c.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(h.fixed="left"),c[0]&&"selection-column"===c[0].key?c[0]=h:c.unshift(h)}return c},renderColumnsDropdown:function(e){var t=this,n=e.prefixCls,i=e.dropdownPrefixCls,r=e.columns,a=e.locale,s=e.getPopupContainer,c=this.$createElement,u=this.sSortOrder,d=this.sFilters;return EM(r,(function(e,r){var h,f=rw(e,r),p=void 0,m=void 0,v=e.customHeaderCell,g=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var y=f in d?d[f]:[];p=c(RM,{attrs:{_propsSymbol:Symbol(),locale:a,column:e,selectedKeys:y,confirmFilter:t.handleFilter,prefixCls:n+"-filter",dropdownPrefixCls:i||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(s)},key:"filter-dropdown"})}if(e.sorter){var b=e.sortDirections||t.sortDirections,_=g&&"ascend"===u,M=g&&"descend"===u,w=-1!==b.indexOf("ascend")&&c(to,{class:n+"-column-sorter-up "+(_?"on":"off"),attrs:{type:"caret-up",theme:"filled"},key:"caret-up"}),C=-1!==b.indexOf("descend")&&c(to,{class:n+"-column-sorter-down "+(M?"on":"off"),attrs:{type:"caret-down",theme:"filled"},key:"caret-down"});m=c("div",{attrs:{title:a.sortTitle},class:l()(n+"-column-sorter-inner",w&&C&&n+"-column-sorter-inner-full"),key:"sorter"},[w,C]),v=function(n){var i={};e.customHeaderCell&&(i=k()({},e.customHeaderCell(n))),i.on=i.on||{};var r=i.on.click;return i.on.click=function(){t.toggleSortOrder(e),r&&r.apply(void 0,arguments)},i}}return k()({},e,{className:l()(e.className,(h={},o()(h,n+"-column-has-actions",m||p),o()(h,n+"-column-has-filters",p),o()(h,n+"-column-has-sorters",m),o()(h,n+"-column-sort",g&&u),h)),title:[c("span",{key:"title",class:n+"-header-column"},[c("div",{class:m?n+"-column-sorters":void 0},[c("span",{class:n+"-column-title"},[t.renderColumnTitle(e.title)]),c("span",{class:n+"-column-sorter"},[m])])]),p],customHeaderCell:v})}))},renderColumnTitle:function(e){var t=this.$data,n=t.sFilters,i=t.sSortOrder,r=t.sSortColumn;return e instanceof Function?e({filters:n,sortOrder:i,sortColumn:r}):e},renderTable:function(e){var t,n=this,i=e.prefixCls,r=e.renderEmpty,a=e.dropdownPrefixCls,s=e.contextLocale,c=e.getPopupContainer,u=e.transformCellText,d=this.$createElement,h=Object(C["l"])(this),f=h.showHeader,p=h.locale,m=h.getPopupContainer,v=h.expandIcon,g=We()(h,["showHeader","locale","getPopupContainer","expandIcon"]),y=this.getCurrentPageData(),b=this.expandedRowRender&&!1!==this.expandIconAsCell,_=m||c,M=k()({},s,p);p&&p.emptyText||(M.emptyText=r(d,"Table"));var w=l()((t={},o()(t,i+"-"+this.size,!0),o()(t,i+"-bordered",this.bordered),o()(t,i+"-empty",!y.length),o()(t,i+"-without-column-header",!f),t)),L=this.renderRowSelection({prefixCls:i,locale:M,getPopupContainer:_}),x=this.renderColumnsDropdown({columns:L,prefixCls:i,dropdownPrefixCls:a,locale:M,getPopupContainer:_}).map((function(e,t){var n=k()({},e);return n.key=rw(n,t),n})),S=x[0]&&"selection-column"===x[0].key?1:0;"expandIconColumnIndex"in g&&(S=g.expandIconColumnIndex);var O={key:"table",props:k()({expandIcon:v||this.renderExpandIcon(i)},g,{customRow:function(e,t){return n.onRow(i,e,t)},components:this.sComponents,prefixCls:i,data:y,columns:x,showHeader:f,expandIconColumnIndex:S,expandIconAsCell:b,emptyText:M.emptyText,transformCellText:u}),on:Object(C["k"])(this),class:w,ref:"vcTable"};return d(wM,O)}},render:function(){var e=this,t=arguments[0],n=this.prefixCls,i=this.dropdownPrefixCls,r=this.transformCellText,a=this.getCurrentPageData(),o=this.configProvider,s=o.getPopupContainer,c=o.transformCellText,u=this.getPopupContainer||s,d=r||c,h=this.loading;h="boolean"===typeof h?{props:{spinning:h}}:{props:k()({},h)};var f=this.configProvider.getPrefixCls,p=this.configProvider.renderEmpty,m=f("table",n),v=f("dropdown",i),g=t(j,{attrs:{componentName:"Table",defaultLocale:V.Table,children:function(t){return e.renderTable({prefixCls:m,renderEmpty:p,dropdownPrefixCls:v,contextLocale:t,getPopupContainer:u,transformCellText:d})}}}),y=this.hasPagination()&&a&&0!==a.length?m+"-with-pagination":m+"-without-pagination",b=k()({},h,{class:h.props&&h.props.spinning?y+" "+m+"-spin-holder":""});return t("div",{class:l()(m+"-wrapper")},[t(av,b,[this.renderPagination(m,"top"),g,this.renderPagination(m,"bottom")])])}};kn["a"].use(E.a,{name:"ant-ref"});var pw={name:"ATable",Column:fw.Column,ColumnGroup:fw.ColumnGroup,props:fw.props,methods:{normalize:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return t.forEach((function(t){if(t.tag){var i=Object(C["j"])(t),r=Object(C["q"])(t),a=Object(C["f"])(t),o=Object(C["l"])(t),s=Object(C["i"])(t),c={};Object.keys(s).forEach((function(e){var t=void 0;t=e.startsWith("update:")?"on-"+e.substr("update:".length)+"-change":"on-"+e,c[Object(C["a"])(t)]=s[e]}));var l=Object(C["p"])(t),u=l["default"],d=We()(l,["default"]),h=k()({},d,o,{style:r,class:a},c);if(i&&(h.key=i),Object(C["o"])(t).__ANT_TABLE_COLUMN_GROUP)h.children=e.normalize("function"===typeof u?u():u);else{var f=t.data&&t.data.scopedSlots&&t.data.scopedSlots["default"];h.customRender=h.customRender||f}n.push(h)}})),n},updateColumns:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[],i=this.$slots,r=this.$scopedSlots;return t.forEach((function(t){var a=t.slots,o=void 0===a?{}:a,s=t.scopedSlots,c=void 0===s?{}:s,l=We()(t,["slots","scopedSlots"]),u=k()({},l);Object.keys(o).forEach((function(e){var t=o[e];void 0===u[e]&&i[t]&&(u[e]=1===i[t].length?i[t][0]:i[t])})),Object.keys(c).forEach((function(e){var t=c[e];void 0===u[e]&&r[t]&&(u[e]=r[t])})),t.children&&(u.children=e.updateColumns(u.children)),n.push(u)})),n}},render:function(){var e=arguments[0],t=this.$slots,n=this.normalize,i=this.$scopedSlots,r=Object(C["l"])(this),a=r.columns?this.updateColumns(r.columns):n(t["default"]),o=r.title,s=r.footer,c=i.title,l=i.footer,u=i.expandedRowRender,d=void 0===u?r.expandedRowRender:u,h=i.expandIcon;o=o||c,s=s||l;var f={props:k()({},r,{columns:a,title:o,footer:s,expandedRowRender:d,expandIcon:this.$props.expandIcon||h}),on:Object(C["k"])(this)};return e(fw,f)},install:function(e){e.use(te),e.component(pw.name,pw),e.component(pw.Column.name,pw.Column),e.component(pw.ColumnGroup.name,pw.ColumnGroup)}},mw=pw,vw={prefixCls:s["a"].string,placeholder:s["a"].string,value:s["a"].any,handleClear:s["a"].func,disabled:s["a"].bool},gw={name:"Search",props:Object(C["t"])(vw,{placeholder:""}),methods:{handleChange:function(e){this.$emit("change",e)},handleClear2:function(e){e.preventDefault();var t=this.$props,n=t.handleClear,i=t.disabled;!i&&n&&n(e)}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.placeholder,i=t.value,r=t.prefixCls,a=t.disabled,o=i&&i.length>0?e("a",{attrs:{href:"#"},class:r+"-action",on:{click:this.handleClear2}},[e(to,{attrs:{type:"close-circle",theme:"filled"}})]):e("span",{class:r+"-action"},[e(to,{attrs:{type:"search"}})]);return e("div",[e(ns,{attrs:{placeholder:n,value:i,disabled:a},class:r,on:{change:this.handleChange}}),o])}},yw=n("0f32"),bw=n.n(yw),_w=function(e,t){var n="";return n="undefined"!==typeof getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t],n},Mw=function(e){return _w(e,"overflow")+_w(e,"overflow-y")+_w(e,"overflow-x")},ww=function(e){if(!(e instanceof window.HTMLElement))return window;var t=e;while(t){if(t===document.body||t===document.documentElement)break;if(!t.parentNode)break;if(/(scroll|auto)/.test(Mw(t)))return t;t=t.parentNode}return window},kw=ww;function Cw(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}}var Lw=function(e){return null===e.offsetParent};function xw(e,t,n){if(Lw(e))return!1;var i=void 0,r=void 0,a=void 0,o=void 0;if("undefined"===typeof t||t===window)i=window.pageYOffset,a=window.pageXOffset,r=i+window.innerHeight,o=a+window.innerWidth;else{var s=Cw(t);i=s.top,a=s.left,r=i+t.offsetHeight,o=a+t.offsetWidth}var c=Cw(e);return i<=c.top+e.offsetHeight+n.top&&r>=c.top-n.bottom&&a<=c.left+e.offsetWidth+n.left&&o>=c.left-n.right}var Sw={debounce:s["a"].bool,elementType:s["a"].string,height:s["a"].oneOfType([s["a"].string,s["a"].number]),offset:s["a"].number,offsetBottom:s["a"].number,offsetHorizontal:s["a"].number,offsetLeft:s["a"].number,offsetRight:s["a"].number,offsetTop:s["a"].number,offsetVertical:s["a"].number,threshold:s["a"].number,throttle:s["a"].number,width:s["a"].oneOfType([s["a"].string,s["a"].number]),_propsSymbol:s["a"].any},Ow={name:"LazyLoad",mixins:[p["a"]],props:Object(C["t"])(Sw,{elementType:"div",debounce:!0,offset:0,offsetBottom:0,offsetHorizontal:0,offsetLeft:0,offsetRight:0,offsetTop:0,offsetVertical:0,throttle:250}),data:function(){return this.throttle>0&&(this.debounce?this.lazyLoadHandler=gu()(this.lazyLoadHandler,this.throttle):this.lazyLoadHandler=bw()(this.lazyLoadHandler,this.throttle)),{visible:!1}},watch:{_propsSymbol:function(){this.visible||this.lazyLoadHandler()}},mounted:function(){var e=this;this.$nextTick((function(){e._mounted=!0;var t=e.getEventNode();e.lazyLoadHandler(),e.lazyLoadHandler.flush&&e.lazyLoadHandler.flush(),e.resizeHander=ge(window,"resize",e.lazyLoadHandler),e.scrollHander=ge(t,"scroll",e.lazyLoadHandler)}))},beforeDestroy:function(){this._mounted=!1,this.lazyLoadHandler.cancel&&this.lazyLoadHandler.cancel(),this.detachListeners()},methods:{getEventNode:function(){return kw(this.$el)},getOffset:function(){var e=this.$props,t=e.offset,n=e.offsetVertical,i=e.offsetHorizontal,r=e.offsetTop,a=e.offsetBottom,o=e.offsetLeft,s=e.offsetRight,c=e.threshold,l=c||t,u=n||l,d=i||l;return{top:r||u,bottom:a||u,left:o||d,right:s||d}},lazyLoadHandler:function(){var e=this;if(this._mounted){var t=this.getOffset(),n=this.$el,i=this.getEventNode();xw(n,i,t)&&(this.setState({visible:!0},(function(){e.__emit("contentVisible")})),this.detachListeners())}},detachListeners:function(){this.resizeHander&&this.resizeHander.remove(),this.scrollHander&&this.scrollHander.remove()}},render:function(e){var t=this.$slots["default"];if(1!==t.length)return pe(!1,"lazyLoad组件只能包含一个子元素"),null;var n=this.$props,i=n.height,r=n.width,a=n.elementType,o=this.visible,s={height:"number"===typeof i?i+"px":i,width:"number"===typeof r?r+"px":r},c={LazyLoad:!0,"is-visible":o};return e(a,{class:c,style:s},[o?t[0]:null])}},Tw=Ow;function zw(){}var Hw={name:"ListItem",props:{renderedText:s["a"].any,renderedEl:s["a"].any,item:s["a"].any,lazy:s["a"].oneOfType([s["a"].bool,s["a"].object]),checked:s["a"].bool,prefixCls:s["a"].string,disabled:s["a"].bool},render:function(){var e,t=this,n=arguments[0],i=this.$props,r=i.renderedText,a=i.renderedEl,s=i.item,c=i.lazy,u=i.checked,d=i.disabled,h=i.prefixCls,f=l()((e={},o()(e,h+"-content-item",!0),o()(e,h+"-content-item-disabled",d||s.disabled),e)),p=void 0;"string"!==typeof r&&"number"!==typeof r||(p=String(r));var m=n("li",{class:f,attrs:{title:p},on:{click:d||s.disabled?zw:function(){t.$emit("click",s)}}},[n(Id,{attrs:{checked:u,disabled:d||s.disabled}}),n("span",{class:h+"-content-item-text"},[a])]),v=null;if(c){var g={props:k()({height:32,offset:500,throttle:0,debounce:!1},c,{_propsSymbol:Symbol()})};v=n(Tw,g,[m])}else v=m;return v}};function Dw(){}var Vw={name:"ListBody",inheritAttrs:!1,props:{prefixCls:s["a"].string,filteredRenderItems:s["a"].array.def([]),lazy:s["a"].oneOfType([s["a"].bool,s["a"].object]),selectedKeys:s["a"].array,disabled:s["a"].bool},data:function(){return{mounted:!1}},computed:{itemsLength:function(){return this.filteredRenderItems?this.filteredRenderItems.length:0}},watch:{itemsLength:function(){var e=this;this.$nextTick((function(){var t=e.$props.lazy;if(!1!==t){var n=e.$el;ko.cancel(e.lazyId),e.lazyId=ko((function(){if(n){var e=new Event("scroll",{bubbles:!0});n.dispatchEvent(e)}}))}}))}},mounted:function(){var e=this;this.mountId=ko((function(){e.mounted=!0}))},beforeDestroy:function(){ko.cancel(this.mountId),ko.cancel(this.lazyId)},methods:{onItemSelect:function(e){var t=this.$props.selectedKeys,n=t.indexOf(e.key)>=0;this.$emit("itemSelect",e.key,!n)},onScroll:function(e){this.$emit("scroll",e)}},render:function(){var e=this,t=arguments[0],n=this.$data.mounted,i=this.$props,a=i.prefixCls,o=i.filteredRenderItems,s=i.lazy,c=i.selectedKeys,l=i.disabled,u=o.map((function(n){var i=n.renderedEl,r=n.renderedText,o=n.item,u=o.disabled,d=c.indexOf(o.key)>=0;return t(Hw,{attrs:{disabled:l||u,item:o,lazy:s,renderedText:r,renderedEl:i,checked:d,prefixCls:a},key:o.key,on:{click:e.onItemSelect}})})),d=Object(Cn["a"])(n?a+"-content-item-highlight":"",{tag:"ul",nativeOn:{scroll:this.onScroll},leave:Dw});return t("transition-group",r()([{class:a+"-content"},d]),[u])}},jw=function(e,t){return e(Vw,t)};function Yw(e,t){if("createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent(t,!1,!0),e.dispatchEvent(n)}}var Pw=function(){return null},Aw={key:s["a"].string,title:s["a"].string,description:s["a"].string,disabled:s["a"].bool};function Ew(e){return e&&!Object(C["w"])(e)&&"[object Object]"===Object.prototype.toString.call(e)}var Fw={prefixCls:s["a"].string,titleText:s["a"].string,dataSource:s["a"].arrayOf(s["a"].shape(Aw).loose),filter:s["a"].string,filterOption:s["a"].func,checkedKeys:s["a"].arrayOf(s["a"].string),handleFilter:s["a"].func,handleSelect:s["a"].func,handleSelectAll:s["a"].func,handleClear:s["a"].func,renderItem:s["a"].func,showSearch:s["a"].bool,searchPlaceholder:s["a"].string,notFoundContent:s["a"].any,itemUnit:s["a"].string,itemsUnit:s["a"].string,body:s["a"].any,renderList:s["a"].any,footer:s["a"].any,lazy:s["a"].oneOfType([s["a"].bool,s["a"].object]),disabled:s["a"].bool,direction:s["a"].string,showSelectAll:s["a"].bool};function $w(e,t,n){var i=t?t(n):null,r=!!i;return r||(i=jw(e,n)),{customize:r,bodyContent:i}}var Iw={name:"TransferList",mixins:[p["a"]],props:Object(C["t"])(Fw,{dataSource:[],titleText:"",showSearch:!1,lazy:{}}),data:function(){return this.timer=null,this.triggerScrollTimer=null,{filterValue:""}},beforeDestroy:function(){clearTimeout(this.triggerScrollTimer)},updated:function(){var e=this;this.$nextTick((function(){if(e.scrollEvent&&e.scrollEvent.remove(),e.$refs.listContentWrapper){var t=e.$refs.listContentWrapper.$el;e.scrollEvent=ge(t,"scroll",e.handleScroll)}}))},methods:{handleScroll:function(e){this.$emit("scroll",e)},getCheckStatus:function(e){var t=this.$props.checkedKeys;return 0===t.length?"none":e.every((function(e){return t.indexOf(e.key)>=0||!!e.disabled}))?"all":"part"},getFilteredItems:function(e,t){var n=this,i=[],r=[];return e.forEach((function(e){var a=n.renderItemHtml(e),o=a.renderedText;if(t&&t.trim()&&!n.matchFilter(o,e))return null;i.push(e),r.push(a)})),{filteredItems:i,filteredRenderItems:r}},getListBody:function(e,t,n,i,r,a,o,s,c,u,d){var h=this.$createElement,f=u?h("div",{class:e+"-body-search-wrapper"},[h(gw,{attrs:{prefixCls:e+"-search",handleClear:this._handleClear,placeholder:t,value:n,disabled:d},on:{change:this._handleFilter}})]):null,p=a;if(!p){var m=void 0,v=$w(this.$createElement,c,{props:k()({},this.$props,{filteredItems:i,filteredRenderItems:o,selectedKeys:s}),on:Object(C["k"])(this)}),g=v.bodyContent,y=v.customize;m=y?h("div",{class:e+"-body-customize-wrapper"},[g]):i.length?g:h("div",{class:e+"-body-not-found"},[r]),p=h("div",{class:l()(u?e+"-body "+e+"-body-with-search":e+"-body")},[f,m])}return p},getCheckBox:function(e,t,n){var i=this,r=this.$createElement,a=this.getCheckStatus(e),o="all"===a,s=!1!==t&&r(Id,{attrs:{disabled:n,checked:o,indeterminate:"part"===a},on:{change:function(){i.$emit("itemSelectAll",e.filter((function(e){return!e.disabled})).map((function(e){var t=e.key;return t})),!o)}}});return s},_handleSelect:function(e){var t=this.$props.checkedKeys,n=t.some((function(t){return t===e.key}));this.handleSelect(e,!n)},_handleFilter:function(e){var t=this,n=this.$props.handleFilter,i=e.target.value;this.setState({filterValue:i}),n(e),i&&(this.triggerScrollTimer=setTimeout((function(){var e=t.$el,n=e.querySelectorAll(".ant-transfer-list-content")[0];n&&Yw(n,"scroll")}),0))},_handleClear:function(e){this.setState({filterValue:""}),this.handleClear(e)},matchFilter:function(e,t){var n=this.$data.filterValue,i=this.$props.filterOption;return i?i(n,t):e.indexOf(n)>=0},renderItemHtml:function(e){var t=this.$props.renderItem,n=void 0===t?Pw:t,i=n(e),r=Ew(i);return{renderedText:r?i.value:i,renderedEl:r?i.label:i,item:e}},filterNull:function(e){return e.filter((function(e){return null!==e}))}},render:function(){var e=arguments[0],t=this.$data.filterValue,n=this.$props,i=n.prefixCls,r=n.dataSource,a=n.titleText,s=n.checkedKeys,c=n.disabled,u=n.body,d=n.footer,h=n.showSearch,f=n.searchPlaceholder,p=n.notFoundContent,m=n.itemUnit,v=n.itemsUnit,g=n.renderList,y=n.showSelectAll,b=d&&d(k()({},this.$props)),_=u&&u(k()({},this.$props)),M=l()(i,o()({},i+"-with-footer",!!b)),w=this.getFilteredItems(r,t),C=w.filteredItems,L=w.filteredRenderItems,x=r.length>1?v:m,S=this.getListBody(i,f,t,C,p,_,L,s,g,h,c),O=b?e("div",{class:i+"-footer"},[b]):null,T=this.getCheckBox(C,y,c);return e("div",{class:M},[e("div",{class:i+"-header"},[T,e("span",{class:i+"-header-selected"},[e("span",[(s.length>0?s.length+"/":"")+C.length," ",x]),e("span",{class:i+"-header-title"},[a])])]),S,O])}};function Rw(){}var Nw={className:s["a"].string,leftArrowText:s["a"].string,rightArrowText:s["a"].string,moveToLeft:s["a"].any,moveToRight:s["a"].any,leftActive:s["a"].bool,rightActive:s["a"].bool,disabled:s["a"].bool},Ww={name:"Operation",props:k()({},Nw),render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.disabled,i=t.moveToLeft,r=void 0===i?Rw:i,a=t.moveToRight,o=void 0===a?Rw:a,s=t.leftArrowText,c=void 0===s?"":s,l=t.rightArrowText,u=void 0===l?"":l,d=t.leftActive,h=t.rightActive;return e("div",[e(Zo,{attrs:{type:"primary",size:"small",disabled:n||!h,icon:"right"},on:{click:o}},[u]),e(Zo,{attrs:{type:"primary",size:"small",disabled:n||!d,icon:"left"},on:{click:r}},[c])])}},Kw={key:s["a"].string,title:s["a"].string,description:s["a"].string,disabled:s["a"].bool},Bw={prefixCls:s["a"].string,dataSource:s["a"].arrayOf(s["a"].shape(Kw).loose),disabled:s["a"].boolean,targetKeys:s["a"].arrayOf(s["a"].string),selectedKeys:s["a"].arrayOf(s["a"].string),render:s["a"].func,listStyle:s["a"].oneOfType([s["a"].func,s["a"].object]),operationStyle:s["a"].object,titles:s["a"].arrayOf(s["a"].string),operations:s["a"].arrayOf(s["a"].string),showSearch:s["a"].bool,filterOption:s["a"].func,searchPlaceholder:s["a"].string,notFoundContent:s["a"].any,locale:s["a"].object,rowKey:s["a"].func,lazy:s["a"].oneOfType([s["a"].object,s["a"].bool]),showSelectAll:s["a"].bool},Uw=(s["a"].arrayOf(s["a"].string),s["a"].string,s["a"].string,s["a"].string,{name:"ATransfer",mixins:[p["a"]],props:Object(C["t"])(Bw,{dataSource:[],locale:{},showSearch:!1,listStyle:function(){}}),inject:{configProvider:{default:function(){return ce}}},data:function(){var e=this.selectedKeys,t=void 0===e?[]:e,n=this.targetKeys,i=void 0===n?[]:n;return{leftFilter:"",rightFilter:"",sourceSelectedKeys:t.filter((function(e){return-1===i.indexOf(e)})),targetSelectedKeys:t.filter((function(e){return i.indexOf(e)>-1}))}},mounted:function(){},watch:{targetKeys:function(){if(this.updateState(),this.selectedKeys){var e=this.targetKeys||[];this.setState({sourceSelectedKeys:this.selectedKeys.filter((function(t){return!e.includes(t)})),targetSelectedKeys:this.selectedKeys.filter((function(t){return e.includes(t)}))})}},dataSource:function(){this.updateState()},selectedKeys:function(){if(this.selectedKeys){var e=this.targetKeys||[];this.setState({sourceSelectedKeys:this.selectedKeys.filter((function(t){return!e.includes(t)})),targetSelectedKeys:this.selectedKeys.filter((function(t){return e.includes(t)}))})}}},methods:{getSelectedKeysName:function(e){return"left"===e?"sourceSelectedKeys":"targetSelectedKeys"},getTitles:function(e){return this.titles?this.titles:e.titles||["",""]},getLocale:function(e,t){var n=this.$createElement,i={notFoundContent:t(n,"Transfer")},r=Object(C["g"])(this,"notFoundContent");return r&&(i.notFoundContent=r),Object(C["s"])(this,"searchPlaceholder")&&(i.searchPlaceholder=this.$props.searchPlaceholder),k()({},e,i,this.$props.locale)},updateState:function(){var e=this.sourceSelectedKeys,t=this.targetSelectedKeys;if(this.separatedDataSource=null,!this.selectedKeys){var n=this.dataSource,i=this.targetKeys,r=void 0===i?[]:i,a=[],o=[];n.forEach((function(n){var i=n.key;e.includes(i)&&!r.includes(i)&&a.push(i),t.includes(i)&&r.includes(i)&&o.push(i)})),this.setState({sourceSelectedKeys:a,targetSelectedKeys:o})}},moveTo:function(e){var t=this.$props,n=t.targetKeys,i=void 0===n?[]:n,r=t.dataSource,a=void 0===r?[]:r,s=this.sourceSelectedKeys,c=this.targetSelectedKeys,l="right"===e?s:c,u=l.filter((function(e){return!a.some((function(t){return!(e!==t.key||!t.disabled)}))})),d="right"===e?u.concat(i):i.filter((function(e){return-1===u.indexOf(e)})),h="right"===e?"left":"right";this.setState(o()({},this.getSelectedKeysName(h),[])),this.handleSelectChange(h,[]),this.$emit("change",d,e,u)},moveToLeft:function(){this.moveTo("left")},moveToRight:function(){this.moveTo("right")},onItemSelectAll:function(e,t,n){var i=this.$data[this.getSelectedKeysName(e)]||[],r=[];r=n?Array.from(new Set([].concat(v()(i),v()(t)))):i.filter((function(e){return-1===t.indexOf(e)})),this.handleSelectChange(e,r),this.$props.selectedKeys||this.setState(o()({},this.getSelectedKeysName(e),r))},handleSelectAll:function(e,t,n){this.onItemSelectAll(e,t.map((function(e){var t=e.key;return t})),!n)},handleLeftSelectAll:function(e,t){return this.handleSelectAll("left",e,!t)},handleRightSelectAll:function(e,t){return this.handleSelectAll("right",e,!t)},onLeftItemSelectAll:function(e,t){return this.onItemSelectAll("left",e,t)},onRightItemSelectAll:function(e,t){return this.onItemSelectAll("right",e,t)},handleFilter:function(e,t){var n=t.target.value;Object(C["k"])(this).searchChange&&(pe(!1,"Transfer","`searchChange` in Transfer is deprecated. Please use `search` instead."),this.$emit("searchChange",e,t)),this.$emit("search",e,n)},handleLeftFilter:function(e){this.handleFilter("left",e)},handleRightFilter:function(e){this.handleFilter("right",e)},handleClear:function(e){this.$emit("search",e,"")},handleLeftClear:function(){this.handleClear("left")},handleRightClear:function(){this.handleClear("right")},onItemSelect:function(e,t,n){var i=this.sourceSelectedKeys,r=this.targetSelectedKeys,a=[].concat("left"===e?v()(i):v()(r)),s=a.indexOf(t);s>-1&&a.splice(s,1),n&&a.push(t),this.handleSelectChange(e,a),this.selectedKeys||this.setState(o()({},this.getSelectedKeysName(e),a))},handleSelect:function(e,t,n){pe(!1,"Transfer","`handleSelect` will be removed, please use `onSelect` instead."),this.onItemSelect(e,t.key,n)},handleLeftSelect:function(e,t){return this.handleSelect("left",e,t)},handleRightSelect:function(e,t){return this.handleSelect("right",e,t)},onLeftItemSelect:function(e,t){return this.onItemSelect("left",e,t)},onRightItemSelect:function(e,t){return this.onItemSelect("right",e,t)},handleScroll:function(e,t){this.$emit("scroll",e,t)},handleLeftScroll:function(e){this.handleScroll("left",e)},handleRightScroll:function(e){this.handleScroll("right",e)},handleSelectChange:function(e,t){var n=this.sourceSelectedKeys,i=this.targetSelectedKeys;"left"===e?this.$emit("selectChange",t,i):this.$emit("selectChange",n,t)},handleListStyle:function(e,t){return"function"===typeof e?e({direction:t}):e},separateDataSource:function(){var e=this.$props,t=e.dataSource,n=e.rowKey,i=e.targetKeys,r=void 0===i?[]:i,a=[],o=new Array(r.length);return t.forEach((function(e){n&&(e.key=n(e));var t=r.indexOf(e.key);-1!==t?o[t]=e:a.push(e)})),{leftDataSource:a,rightDataSource:o}},renderTransfer:function(e){var t,n=this.$createElement,i=Object(C["l"])(this),r=i.prefixCls,a=i.disabled,s=i.operations,c=void 0===s?[]:s,u=i.showSearch,d=i.listStyle,h=i.operationStyle,f=i.filterOption,p=i.lazy,m=i.showSelectAll,v=Object(C["g"])(this,"children",{},!1),g=this.configProvider.getPrefixCls,y=g("transfer",r),b=this.configProvider.renderEmpty,_=this.getLocale(e,b),M=this.sourceSelectedKeys,w=this.targetSelectedKeys,k=this.$scopedSlots,L=k.body,x=k.footer,S=i.render,O=this.separateDataSource(),T=O.leftDataSource,z=O.rightDataSource,H=w.length>0,D=M.length>0,V=l()(y,(t={},o()(t,y+"-disabled",a),o()(t,y+"-customize-list",!!v),t)),j=this.getTitles(_);return n("div",{class:V},[n(Iw,{key:"leftList",attrs:{prefixCls:y+"-list",titleText:j[0],dataSource:T,filterOption:f,checkedKeys:M,handleFilter:this.handleLeftFilter,handleClear:this.handleLeftClear,handleSelect:this.handleLeftSelect,handleSelectAll:this.handleLeftSelectAll,renderItem:S,showSearch:u,body:L,renderList:v,footer:x,lazy:p,disabled:a,direction:"left",showSelectAll:m,itemUnit:_.itemUnit,itemsUnit:_.itemsUnit,notFoundContent:_.notFoundContent,searchPlaceholder:_.searchPlaceholder},style:this.handleListStyle(d,"left"),on:{itemSelect:this.onLeftItemSelect,itemSelectAll:this.onLeftItemSelectAll,scroll:this.handleLeftScroll}}),n(Ww,{key:"operation",class:y+"-operation",attrs:{rightActive:D,rightArrowText:c[0],moveToRight:this.moveToRight,leftActive:H,leftArrowText:c[1],moveToLeft:this.moveToLeft,disabled:a},style:h}),n(Iw,{key:"rightList",attrs:{prefixCls:y+"-list",titleText:j[1],dataSource:z,filterOption:f,checkedKeys:w,handleFilter:this.handleRightFilter,handleClear:this.handleRightClear,handleSelect:this.handleRightSelect,handleSelectAll:this.handleRightSelectAll,renderItem:S,showSearch:u,body:L,renderList:v,footer:x,lazy:p,disabled:a,direction:"right",showSelectAll:m,itemUnit:_.itemUnit,itemsUnit:_.itemsUnit,notFoundContent:_.notFoundContent,searchPlaceholder:_.searchPlaceholder},style:this.handleListStyle(d,"right"),on:{itemSelect:this.onRightItemSelect,itemSelectAll:this.onRightItemSelectAll,scroll:this.handleRightScroll}})])}},render:function(){var e=arguments[0];return e(j,{attrs:{componentName:"Transfer",defaultLocale:V.Transfer},scopedSlots:{default:this.renderTransfer}})},install:function(e){e.use(te),e.component(Uw.name,Uw)}}),qw=Uw,Gw=n("7d1c");function Jw(){return{showLine:s["a"].bool,multiple:s["a"].bool,autoExpandParent:s["a"].bool,checkStrictly:s["a"].bool,checkable:s["a"].bool,disabled:s["a"].bool,defaultExpandAll:s["a"].bool,defaultExpandParent:s["a"].bool,defaultExpandedKeys:s["a"].array,expandedKeys:s["a"].array,checkedKeys:s["a"].oneOfType([s["a"].array,s["a"].shape({checked:s["a"].array,halfChecked:s["a"].array}).loose]),defaultCheckedKeys:s["a"].array,selectedKeys:s["a"].array,defaultSelectedKeys:s["a"].array,selectable:s["a"].bool,filterAntTreeNode:s["a"].func,loadData:s["a"].func,loadedKeys:s["a"].array,draggable:s["a"].bool,showIcon:s["a"].bool,icon:s["a"].func,switcherIcon:s["a"].any,prefixCls:s["a"].string,filterTreeNode:s["a"].func,openAnimation:s["a"].any,treeNodes:s["a"].array,treeData:s["a"].array,replaceFields:s["a"].object,blockNode:s["a"].bool}}var Xw={name:"ATree",model:{prop:"checkedKeys",event:"check"},props:Object(C["t"])(Jw(),{checkable:!1,showIcon:!1,openAnimation:{on:Gs,props:{appear:null}},blockNode:!1}),inject:{configProvider:{default:function(){return ce}}},created:function(){wn()(!("treeNodes"in Object(C["l"])(this)),"`treeNodes` is deprecated. please use treeData instead.")},TreeNode:Gw["TreeNode"],methods:{renderSwitcherIcon:function(e,t,n){var i=n.isLeaf,r=n.expanded,a=n.loading,s=this.$createElement,c=this.$props.showLine;if(a)return s(to,{attrs:{type:"loading"},class:e+"-switcher-loading-icon"});if(i)return c?s(to,{attrs:{type:"file"},class:e+"-switcher-line-icon"}):null;var l=e+"-switcher-icon";return t?Object(Ln["a"])(t,{class:o()({},l,!0)}):s(to,c?{attrs:{type:r?"minus-square":"plus-square",theme:"outlined"},class:e+"-switcher-line-icon"}:{attrs:{type:"caret-down",theme:"filled"},class:l})},updateTreeData:function(e){var t=this,n=this.$slots,i=this.$scopedSlots,r={children:"children",title:"title",key:"key"},a=k()({},r,this.$props.replaceFields);return e.map((function(e){var r=e[a.key],o=e[a.children],s=e.on,c=void 0===s?{}:s,l=e.slots,u=void 0===l?{}:l,d=e.scopedSlots,h=void 0===d?{}:d,f=e["class"],p=e.style,m=We()(e,["on","slots","scopedSlots","class","style"]),v=k()({},m,{icon:i[h.icon]||n[u.icon]||m.icon,switcherIcon:i[h.switcherIcon]||n[u.switcherIcon]||m.switcherIcon,title:i[h.title]||n[u.title]||i.title||m[a.title],dataRef:e,on:c,key:r,class:f,style:p});return o?k()({},v,{children:t.updateTreeData(o)}):v}))}},render:function(){var e,t=this,n=arguments[0],i=Object(C["l"])(this),r=this.$slots,a=this.$scopedSlots,s=i.prefixCls,c=i.showIcon,l=i.treeNodes,u=i.blockNode,d=this.configProvider.getPrefixCls,h=d("tree",s),f=Object(C["g"])(this,"switcherIcon"),p=i.checkable,m=i.treeData||l;m&&(m=this.updateTreeData(m));var v={props:k()({},i,{prefixCls:h,checkable:p?n("span",{class:h+"-checkbox-inner"}):p,children:Object(C["c"])(a["default"]?a["default"]():r["default"]),__propsSymbol__:Symbol(),switcherIcon:function(e){return t.renderSwitcherIcon(h,f,e)}}),on:Object(C["k"])(this),ref:"tree",class:(e={},o()(e,h+"-icon-hide",!c),o()(e,h+"-block-node",u),e)};return m&&(v.props.treeData=m),n(Gw["Tree"],v)}},Zw=n("c9a4"),Qw={None:"node",Start:"start",End:"end"};function ek(e,t){var n=Object(Zw["j"])(e)||[];function i(e){var n=e.key,i=Object(C["p"])(e)["default"];!1!==t(n,e)&&ek("function"===typeof i?i():i,t)}n.forEach(i)}function tk(e){var t=Object(Zw["h"])(e),n=t.keyEntities;return[].concat(v()(n.keys()))}function nk(e,t,n,i){var r=[],a=Qw.None;if(n&&n===i)return[n];if(!n||!i)return[];function o(e){return e===n||e===i}return ek(e,(function(e){if(a===Qw.End)return!1;if(o(e)){if(r.push(e),a===Qw.None)a=Qw.Start;else if(a===Qw.Start)return a=Qw.End,!1}else a===Qw.Start&&r.push(e);return-1!==t.indexOf(e)})),r}function ik(e,t){var n=[].concat(v()(t)),i=[];return ek(e,(function(e,t){var r=n.indexOf(e);return-1!==r&&(i.push(t),n.splice(r,1)),!!n.length})),i}function rk(e){var t=[];return(e||[]).forEach((function(e){t.push(e.key),e.children&&(t=[].concat(v()(t),v()(rk(e.children))))})),t}function ak(e,t){var n=e.isLeaf,i=e.expanded;return t(to,n?{attrs:{type:"file"}}:{attrs:{type:i?"folder-open":"folder"}})}var ok={name:"ADirectoryTree",mixins:[p["a"]],model:{prop:"checkedKeys",event:"check"},props:Object(C["t"])(k()({},Jw(),{expandAction:s["a"].oneOf([!1,"click","doubleclick","dblclick"])}),{showIcon:!0,expandAction:"click"}),inject:{configProvider:{default:function(){return ce}}},data:function(){var e=Object(C["l"])(this),t=e.defaultExpandAll,n=e.defaultExpandParent,i=e.expandedKeys,r=e.defaultExpandedKeys,a=Object(Zw["h"])(this.$slots["default"]),o=a.keyEntities,s={};return s._selectedKeys=e.selectedKeys||e.defaultSelectedKeys||[],t?e.treeData?s._expandedKeys=rk(e.treeData):s._expandedKeys=tk(this.$slots["default"]):s._expandedKeys=n?Object(Zw["f"])(i||r,o):i||r,this.onDebounceExpand=gu()(this.expandFolderNode,200,{leading:!0}),k()({_selectedKeys:[],_expandedKeys:[]},s)},watch:{expandedKeys:function(e){this.setState({_expandedKeys:e})},selectedKeys:function(e){this.setState({_selectedKeys:e})}},methods:{onExpand:function(e,t){this.setUncontrolledState({_expandedKeys:e}),this.$emit("expand",e,t)},onClick:function(e,t){var n=this.$props.expandAction;"click"===n&&this.onDebounceExpand(e,t),this.$emit("click",e,t)},onDoubleClick:function(e,t){var n=this.$props.expandAction;"dblclick"!==n&&"doubleclick"!==n||this.onDebounceExpand(e,t),this.$emit("doubleclick",e,t),this.$emit("dblclick",e,t)},onSelect:function(e,t){var n=this.$props.multiple,i=this.$slots["default"]||[],r=this.$data._expandedKeys,a=void 0===r?[]:r,o=t.node,s=t.nativeEvent,c=o.eventKey,l=void 0===c?"":c,u={},d=k()({},t,{selected:!0}),h=s.ctrlKey||s.metaKey,f=s.shiftKey,p=void 0;n&&h?(p=e,this.lastSelectedKey=l,this.cachedSelectedKeys=p,d.selectedNodes=ik(i,p)):n&&f?(p=Array.from(new Set([].concat(v()(this.cachedSelectedKeys||[]),v()(nk(i,a,l,this.lastSelectedKey))))),d.selectedNodes=ik(i,p)):(p=[l],this.lastSelectedKey=l,this.cachedSelectedKeys=p,d.selectedNodes=[t.node]),u._selectedKeys=p,this.$emit("update:selectedKeys",p),this.$emit("select",p,d),this.setUncontrolledState(u)},expandFolderNode:function(e,t){var n=t.isLeaf;if(!(n||e.shiftKey||e.metaKey||e.ctrlKey)&&this.$refs.tree.$refs.tree){var i=this.$refs.tree.$refs.tree;i.onNodeExpand(e,t)}},setUncontrolledState:function(e){var t=Object(u["a"])(e,Object.keys(Object(C["l"])(this)).map((function(e){return"_"+e})));Object.keys(t).length&&this.setState(t)}},render:function(){var e=arguments[0],t=Object(C["l"])(this),n=t.prefixCls,i=We()(t,["prefixCls"]),r=this.configProvider.getPrefixCls,a=r("tree",n),o=this.$data,s=o._expandedKeys,c=o._selectedKeys,l=Object(C["k"])(this);pe(!l.doubleclick,"`doubleclick` is deprecated. please use `dblclick` instead.");var d={props:k()({icon:ak},i,{prefixCls:a,expandedKeys:s,selectedKeys:c,switcherIcon:Object(C["g"])(this,"switcherIcon")}),ref:"tree",class:a+"-directory",on:k()({},Object(u["a"])(l,["update:selectedKeys"]),{select:this.onSelect,click:this.onClick,dblclick:this.onDoubleClick,expand:this.onExpand})};return e(Xw,d,[this.$slots["default"]])}};Xw.TreeNode.name="ATreeNode",Xw.DirectoryTree=ok,Xw.install=function(e){e.use(te),e.component(Xw.name,Xw),e.component(Xw.TreeNode.name,Xw.TreeNode),e.component(ok.name,ok)};var sk=Xw;function ck(e,t){if(e.classList)return e.classList.contains(t);var n=e.className;return(" "+n+" ").indexOf(" "+t+" ")>-1}var lk="SHOW_ALL",uk="SHOW_PARENT",dk="SHOW_CHILD",hk=!1;function fk(e,t){var n=e;while(n){if(ck(n,t))return n;n=n.parentNode}return null}function pk(e){return"string"===typeof e?e:null}function mk(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}function vk(){var e=function(t){e.current=t};return e}var gk={userSelect:"none",WebkitUserSelect:"none"},yk={unselectable:"unselectable"};function bk(e){if(!e.length)return[];var t={},n={},i=e.slice().map((function(e){var t=k()({},e,{fields:e.pos.split("-")});return delete t.children,t}));return i.forEach((function(e){n[e.pos]=e})),i.sort((function(e,t){return e.fields.length-t.fields.length})),i.forEach((function(e){var i=e.fields.slice(0,-1).join("-"),r=n[i];r?(r.children=r.children||[],r.children.push(e)):t[e.pos]=e,delete e.key,delete e.fields})),Object.keys(t).map((function(e){return t[e]}))}var _k=0;function Mk(e){return _k+=1,e+"_"+_k}function wk(e){var t=e.treeCheckable,n=e.treeCheckStrictly,i=e.labelInValue;return!(!t||!n)||(i||!1)}function kk(e,t){var n=t.id,i=t.pId,r=t.rootPId,a={},o=[],s=e.map((function(e){var t=k()({},e),i=t[n];return a[i]=t,t.key=t.key||i,t}));return s.forEach((function(e){var t=e[i],n=a[t];n&&(n.children=n.children||[],n.children.push(e)),(t===r||!n&&null===r)&&o.push(e)})),o}function Ck(e,t){for(var n=e.split("-"),i=t.split("-"),r=Math.min(n.length,i.length),a=0;ai&&(s=s.slice(0,i)+"..."),e("li",r()([{style:gk},{attrs:yk},{attrs:{role:"menuitem",title:pk(a)},class:n+"-selection__choice"}]),[Object(C["k"])(this).remove&&e("span",{class:n+"-selection__choice__remove",on:{click:this.onRemove}},[Object(C["g"])(this,"removeIcon")]),e("span",{class:n+"-selection__choice__content"},[s])])}},Gk=qk,Jk="RC_TREE_SELECT_EMPTY_VALUE_KEY",Xk=Rk("multiple"),Zk={mixins:[p["a"]],props:k()({},$k(),Uk.props,{selectorValueList:s["a"].array,disabled:s["a"].bool,searchValue:s["a"].string,labelInValue:s["a"].bool,maxTagCount:s["a"].number,maxTagPlaceholder:s["a"].any}),inject:{vcTreeSelect:{default:function(){return{}}}},created:function(){this.inputRef=vk()},methods:{onPlaceholderClick:function(){this.inputRef.current.focus()},focus:function(){this.inputRef.current.focus()},blur:function(){this.inputRef.current.blur()},_renderPlaceholder:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls,i=t.placeholder,r=t.searchPlaceholder,a=t.searchValue,o=t.selectorValueList,s=i||r;if(!s)return null;var c=a||o.length;return e("span",{style:{display:c?"none":"block"},on:{click:this.onPlaceholderClick},class:n+"-search__field__placeholder"},[s])},onChoiceAnimationLeave:function(){for(var e=arguments.length,t=Array(e),n=0;n=0&&(h=i.slice(0,c));var f=h.map((function(n){var i=n.label,a=n.value;return t(Gk,r()([{props:k()({},e.$props,{label:i,value:a}),on:k()({},d,{remove:l})},{key:a||Jk}]),[u["default"]])}));if(c>=0&&c0&&void 0!==arguments[0]?arguments[0]:[],t={};return e.forEach((function(e){t[e]=function(){this.needSyncKeys[e]=!0}})),t}var cC={name:"Select",mixins:[p["a"]],props:Object(C["t"])({prefixCls:s["a"].string,prefixAria:s["a"].string,multiple:s["a"].bool,showArrow:s["a"].bool,open:s["a"].bool,value:s["a"].any,autoFocus:s["a"].bool,defaultOpen:s["a"].bool,defaultValue:s["a"].any,showSearch:s["a"].bool,placeholder:s["a"].any,inputValue:s["a"].string,searchValue:s["a"].string,autoClearSearchValue:s["a"].bool,searchPlaceholder:s["a"].any,disabled:s["a"].bool,children:s["a"].any,labelInValue:s["a"].bool,maxTagCount:s["a"].number,maxTagPlaceholder:s["a"].oneOfType([s["a"].any,s["a"].func]),maxTagTextLength:s["a"].number,showCheckedStrategy:s["a"].oneOf([lk,uk,dk]),dropdownClassName:s["a"].string,dropdownStyle:s["a"].object,dropdownVisibleChange:s["a"].func,dropdownMatchSelectWidth:s["a"].bool,treeData:s["a"].array,treeDataSimpleMode:s["a"].oneOfType([s["a"].bool,s["a"].object]),treeNodeFilterProp:s["a"].string,treeNodeLabelProp:s["a"].string,treeCheckable:s["a"].oneOfType([s["a"].any,s["a"].object,s["a"].bool]),treeCheckStrictly:s["a"].bool,treeIcon:s["a"].bool,treeLine:s["a"].bool,treeDefaultExpandAll:s["a"].bool,treeDefaultExpandedKeys:s["a"].array,treeExpandedKeys:s["a"].array,loadData:s["a"].func,filterTreeNode:s["a"].oneOfType([s["a"].func,s["a"].bool]),notFoundContent:s["a"].any,getPopupContainer:s["a"].func,allowClear:s["a"].bool,transitionName:s["a"].string,animation:s["a"].string,choiceTransitionName:s["a"].string,inputIcon:s["a"].any,clearIcon:s["a"].any,removeIcon:s["a"].any,switcherIcon:s["a"].any,__propsSymbol__:s["a"].any},{prefixCls:"rc-tree-select",prefixAria:"rc-tree-select",showSearch:!0,autoClearSearchValue:!0,showCheckedStrategy:dk,treeNodeFilterProp:"value",treeNodeLabelProp:"title",treeIcon:!1,notFoundContent:"Not Found",dropdownStyle:{},dropdownVisibleChange:function(){return!0}}),data:function(){wn()(this.$props.__propsSymbol__,"must pass __propsSymbol__");var e=this.$props,t=e.prefixAria,n=e.defaultOpen,i=e.open;this.needSyncKeys={},this.selectorRef=vk(),this.selectTriggerRef=vk(),this.ariaId=Mk(t+"-list");var r={_open:i||n,_valueList:[],_searchHalfCheckedKeys:[],_missValueList:[],_selectorValueList:[],_valueEntities:{},_posEntities:new Map,_keyEntities:new Map,_searchValue:"",_prevProps:{},_init:!0,_focused:void 0,_treeNodes:void 0,_filteredTreeNodes:void 0},a=this.getDerivedState(this.$props,r);return k()({},r,a)},provide:function(){return{vcTreeSelect:{onSelectorFocus:this.onSelectorFocus,onSelectorBlur:this.onSelectorBlur,onSelectorKeyDown:this.onComponentKeyDown,onSelectorClear:this.onSelectorClear,onMultipleSelectorRemove:this.onMultipleSelectorRemove,onTreeNodeSelect:this.onTreeNodeSelect,onTreeNodeCheck:this.onTreeNodeCheck,onPopupKeyDown:this.onComponentKeyDown,onSearchInputChange:this.onSearchInputChange,onSearchInputKeyDown:this.onSearchInputKeyDown}}},watch:k()({},sC(["treeData","defaultValue","value"]),{__propsSymbol__:function(){var e=this.getDerivedState(this.$props,this.$data);this.setState(e),this.needSyncKeys={}},"$data._valueList":function(){var e=this;this.$nextTick((function(){e.forcePopupAlign()}))},"$data._open":function(e){var t=this;setTimeout((function(){var n=t.$props.prefixCls,i=t.$data,r=i._selectorValueList,a=i._valueEntities,o=t.isMultiple();if(!o&&r.length&&e&&t.popup){var s=r[0].value,c=t.popup.getTree(),l=c.domTreeNodes,u=a[s]||{},d=u.key,h=l[d];if(h){var f=h.$el;y()((function(){var e=t.popup.$el,i=fk(e,n+"-dropdown"),r=t.popup.searchRef.current;f&&i&&r&&Dt(f,i,{onlyScrollIfNeeded:!0,offsetTop:r.offsetHeight})}))}}}))}}),mounted:function(){var e=this;this.$nextTick((function(){var t=e.$props,n=t.autoFocus,i=t.disabled;n&&!i&&e.focus()}))},methods:{getDerivedState:function(e,t){var n=this.$createElement,i=t._prevProps,r=void 0===i?{}:i,a=e.treeCheckable,o=e.treeCheckStrictly,s=e.filterTreeNode,c=e.treeNodeFilterProp,l=e.treeDataSimpleMode,u={_prevProps:k()({},e),_init:!1},d=this;function h(t,n){return!(r[t]===e[t]&&!d.needSyncKeys[t])&&(n(e[t],r[t]),!0)}var f=!1;h("open",(function(e){u._open=e}));var p=void 0,m=!1,g=!1;if(h("treeData",(function(e){p=Hk(n,e),m=!0})),h("treeDataSimpleMode",(function(e,t){if(e){var n=t&&!0!==t?t:{};jt()(e,n)||(g=!0)}})),l&&(m||g)){var y=k()({id:"id",pId:"pId",rootPId:null},!0!==l?l:{});p=Hk(n,kk(e.treeData,y))}if(e.treeData||(p=Object(C["c"])(this.$slots["default"])),p){var b=jk(p);u._treeNodes=p,u._posEntities=b.posEntities,u._valueEntities=b.valueEntities,u._keyEntities=b.keyEntities,f=!0}if(t._init&&h("defaultValue",(function(t){u._valueList=Sk(t,e),f=!0})),h("value",(function(t){u._valueList=Sk(t,e),f=!0})),f){var _=[],M=[],w=[],L=u._valueList;L||(L=[].concat(v()(t._valueList),v()(t._missValueList)));var x={};if(L.forEach((function(e){var n=e.value,i=e.label,r=(u._valueEntities||t._valueEntities)[n];if(x[n]=i,r)return w.push(r.key),void M.push(e);_.push(e)})),a&&!o){var S=Pk(w,!0,u._keyEntities||t._keyEntities),O=S.checkedKeys;u._valueList=O.map((function(e){var n=(u._keyEntities||t._keyEntities).get(e).value,i={value:n};return void 0!==x[n]&&(i.label=x[n]),i}))}else u._valueList=M;u._missValueList=_,u._selectorValueList=Tk(u._valueList,e,u._valueEntities||t._valueEntities)}if(h("inputValue",(function(e){null!==e&&(u._searchValue=e)})),h("searchValue",(function(e){u._searchValue=e})),void 0!==u._searchValue||t._searchValue&&p){var T=void 0!==u._searchValue?u._searchValue:t._searchValue,z=String(T).toUpperCase(),H=s;!1===s?H=function(){return!0}:"function"!==typeof H&&(H=function(e,t){var n=String(Object(C["m"])(t)[c]).toUpperCase();return-1!==n.indexOf(z)}),u._filteredTreeNodes=xk(this.$createElement,u._treeNodes||t._treeNodes,T,H,u._valueEntities||t._valueEntities,oC)}return f&&a&&!o&&(u._searchValue||t._searchValue)&&(u._searchHalfCheckedKeys=Yk(u._valueList,u._valueEntities||t._valueEntities)),h("showCheckedStrategy",(function(){u._selectorValueList=u._selectorValueList||Tk(u._valueList||t._valueList,e,u._valueEntities||t._valueEntities)})),u},onSelectorFocus:function(){this.setState({_focused:!0})},onSelectorBlur:function(){this.setState({_focused:!1})},onComponentKeyDown:function(e){var t=this.$data._open,n=e.keyCode;t?Be.ESC===n?this.setOpenState(!1):-1!==[Be.UP,Be.DOWN,Be.LEFT,Be.RIGHT].indexOf(n)&&e.stopPropagation():-1!==[Be.ENTER,Be.DOWN].indexOf(n)&&this.setOpenState(!0)},onDeselect:function(e,t,n){this.__emit("deselect",e,t,n)},onSelectorClear:function(e){var t=this.$props.disabled;t||(this.triggerChange([],[]),this.isSearchValueControlled()||this.setUncontrolledState({_searchValue:"",_filteredTreeNodes:null}),e.stopPropagation())},onMultipleSelectorRemove:function(e,t){e.stopPropagation();var n=this.$data,i=n._valueList,r=n._missValueList,a=n._valueEntities,o=this.$props,s=o.treeCheckable,c=o.treeCheckStrictly,l=o.treeNodeLabelProp,u=o.disabled;if(!u){var d=a[t],h=i;d&&(h=s&&!c?i.filter((function(e){var t=e.value,n=a[t];return!Ck(n.pos,d.pos)})):i.filter((function(e){var n=e.value;return n!==t})));var f=d?d.node:null,p={triggerValue:t,triggerNode:f},m={node:f};if(s){var v=h.map((function(e){var t=e.value;return a[t]}));m.event="check",m.checked=!1,m.checkedNodes=v.map((function(e){var t=e.node;return t})),m.checkedNodesPositions=v.map((function(e){var t=e.node,n=e.pos;return{node:t,pos:n}})),p.allCheckedNodes=c?m.checkedNodes:bk(v).map((function(e){var t=e.node;return t}))}else m.event="select",m.selected=!1,m.selectedNodes=h.map((function(e){var t=e.value;return(a[t]||{}).node}));var g=r.filter((function(e){var n=e.value;return n!==t})),y=void 0;y=this.isLabelInValue()?{label:f?Object(C["m"])(f)[l]:null,value:t}:t,this.onDeselect(y,f,m),this.triggerChange(g,h,p)}},onValueTrigger:function(e,t,n,i){var r=n.node,a=r.$props.value,o=this.$data,s=o._missValueList,c=o._valueEntities,l=o._keyEntities,u=o._searchValue,d=this.$props,h=d.disabled,f=d.inputValue,p=d.treeNodeLabelProp,m=d.multiple,v=d.treeCheckable,g=d.treeCheckStrictly,y=d.autoClearSearchValue,b=r.$props[p];if(!h){var _=void 0;_=this.isLabelInValue()?{value:a,label:b}:a,e?this.__emit("select",_,r,n):this.__emit("deselect",_,r,n);var M=t.map((function(e){var t=Object(C["m"])(e);return{value:t.value,label:t[p]}}));if(v&&!g){var w=M.map((function(e){var t=e.value;return c[t].key}));w=e?Pk(w,!0,l).checkedKeys:Pk([c[a].key],!1,l,{checkedKeys:w}).checkedKeys,M=w.map((function(e){var t=Object(C["m"])(l.get(e).node);return{value:t.value,label:t[p]}}))}(y||null===f)&&(this.isSearchValueControlled()||!m&&!v||this.setUncontrolledState({_searchValue:"",_filteredTreeNodes:null}),u&&u.length&&(this.__emit("update:searchValue",""),this.__emit("search","")));var L=k()({},i,{triggerValue:a,triggerNode:r});this.triggerChange(s,M,L)}},onTreeNodeSelect:function(e,t){var n=this.$data,i=n._valueList,r=n._valueEntities,a=this.$props,o=a.treeCheckable,s=a.multiple;if(!o){s||this.setOpenState(!1);var c=t.selected,l=t.node.$props.value,u=void 0;s?(u=i.filter((function(e){var t=e.value;return t!==l})),c&&u.push({value:l})):u=[{value:l}];var d=u.map((function(e){var t=e.value;return r[t]})).filter((function(e){return e})).map((function(e){var t=e.node;return t}));this.onValueTrigger(c,d,t,{selected:c})}},onTreeNodeCheck:function(e,t){var n=this.$data,i=n._searchValue,r=n._keyEntities,a=n._valueEntities,o=n._valueList,s=this.$props.treeCheckStrictly,c=t.checkedNodes,l=t.checkedNodesPositions,u=t.checked,d={checked:u},h=c;if(i){var f=o.map((function(e){var t=e.value;return a[t]})).filter((function(e){return e})).map((function(e){var t=e.key;return t})),p=void 0;p=u?Array.from(new Set([].concat(v()(f),v()(h.map((function(e){var t=Object(C["m"])(e),n=t.value;return a[n].key})))))):Pk([Object(C["m"])(t.node).eventKey],!1,r,{checkedKeys:f}).checkedKeys,h=p.map((function(e){return r.get(e).node})),d.allCheckedNodes=p.map((function(e){return Lk(r.get(e))}))}else d.allCheckedNodes=s?t.checkedNodes:bk(l);this.onValueTrigger(u,h,t,d)},onDropdownVisibleChange:function(e){var t=this.$props,n=t.multiple,i=t.treeCheckable,r=this.$data._searchValue;e&&!n&&!i&&r&&this.setUncontrolledState({_searchValue:"",_filteredTreeNodes:null}),this.setOpenState(e,!0)},onSearchInputChange:function(e){var t=e.target.value,n=this.$data,i=n._treeNodes,r=n._valueEntities,a=this.$props,o=a.filterTreeNode,s=a.treeNodeFilterProp;this.__emit("update:searchValue",t),this.__emit("search",t);var c=!1;if(this.isSearchValueControlled()||(c=this.setUncontrolledState({_searchValue:t}),this.setOpenState(!0)),c){var l=String(t).toUpperCase(),u=o;!1===o?u=function(){return!0}:u||(u=function(e,t){var n=String(Object(C["m"])(t)[s]).toUpperCase();return-1!==n.indexOf(l)}),this.setState({_filteredTreeNodes:xk(this.$createElement,i,t,u,r,oC)})}},onSearchInputKeyDown:function(e){var t=this.$data,n=t._searchValue,i=t._valueList,r=e.keyCode;if(Be.BACKSPACE===r&&this.isMultiple()&&!n&&i.length){var a=i[i.length-1].value;this.onMultipleSelectorRemove(e,a)}},onChoiceAnimationLeave:function(){var e=this;y()((function(){e.forcePopupAlign()}))},setPopupRef:function(e){this.popup=e},setUncontrolledState:function(e){var t=!1,n={},i=Object(C["l"])(this);return Object.keys(e).forEach((function(r){r.slice(1)in i||(t=!0,n[r]=e[r])})),t&&this.setState(n),t},setOpenState:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.$props.dropdownVisibleChange;n&&!1===n(e,{documentClickClose:!e&&t})||this.setUncontrolledState({_open:e})},isMultiple:function(){var e=this.$props,t=e.multiple,n=e.treeCheckable;return!(!t&&!n)},isLabelInValue:function(){return wk(this.$props)},isSearchValueControlled:function(){var e=Object(C["l"])(this),t=e.inputValue;return"searchValue"in e||"inputValue"in e&&null!==t},forcePopupAlign:function(){var e=this.selectTriggerRef.current;e&&e.forcePopupAlign()},delayForcePopupAlign:function(){var e=this;y()((function(){y()(e.forcePopupAlign)}))},triggerChange:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.$data,r=i._valueEntities,a=i._searchValue,o=i._selectorValueList,s=Object(C["l"])(this),c=s.disabled,l=s.treeCheckable,u=s.treeCheckStrictly;if(!c){var d=k()({preValue:o.map((function(e){var t=e.label,n=e.value;return{label:t,value:n}}))},n),h=Tk(t,s,r);if(!("value"in s)){var f={_missValueList:e,_valueList:t,_selectorValueList:h};a&&l&&!u&&(f._searchHalfCheckedKeys=Yk(t,r)),this.setState(f)}if(Object(C["k"])(this).change){var p=void 0;p=this.isMultiple()?[].concat(v()(e),v()(h)):h.slice(0,1);var m=null,g=void 0;this.isLabelInValue()?g=p.map((function(e){var t=e.label,n=e.value;return{label:t,value:n}})):(m=[],g=p.map((function(e){var t=e.label,n=e.value;return m.push(t),n}))),this.isMultiple()||(g=g[0]),this.__emit("change",g,m,d)}}},focus:function(){this.selectorRef.current.focus()},blur:function(){this.selectorRef.current.blur()}},render:function(){var e=arguments[0],t=this.$data,n=t._valueList,i=t._missValueList,a=t._selectorValueList,o=t._searchHalfCheckedKeys,s=t._valueEntities,c=t._keyEntities,l=t._searchValue,u=t._open,d=t._focused,h=t._treeNodes,f=t._filteredTreeNodes,p=Object(C["l"])(this),m=p.prefixCls,g=p.treeExpandedKeys,y=this.isMultiple(),b={props:k()({},p,{isMultiple:y,valueList:n,searchHalfCheckedKeys:o,selectorValueList:[].concat(v()(i),v()(a)),valueEntities:s,keyEntities:c,searchValue:l,upperSearchValue:(l||"").toUpperCase(),open:u,focused:d,dropdownPrefixCls:m+"-dropdown",ariaId:this.ariaId}),on:k()({},Object(C["k"])(this),{choiceAnimationLeave:this.onChoiceAnimationLeave}),scopedSlots:this.$scopedSlots},_=Object(C["x"])(b,{props:{treeNodes:h,filteredTreeNodes:f,treeExpandedKeys:g,__propsSymbol__:Symbol()},on:{treeExpanded:this.delayForcePopupAlign},directives:[{name:"ant-ref",value:this.setPopupRef}]}),M=y?aC:rC,w=e(M,_),L=y?Qk:Kk,x=e(L,r()([b,{directives:[{name:"ant-ref",value:this.selectorRef}]}])),S=Object(C["x"])(b,{props:{popupElement:w,dropdownVisibleChange:this.onDropdownVisibleChange},directives:[{name:"ant-ref",value:this.selectTriggerRef}]});return e(Fk,S,[x])}};cC.TreeNode=oC,cC.SHOW_ALL=lk,cC.SHOW_PARENT=uk,cC.SHOW_CHILD=dk,cC.name="TreeSelect";var lC=cC,uC=oC,dC=lC;kn["a"].use(E.a,{name:"ant-ref"});var hC=dC,fC=(s["a"].shape({key:s["a"].string,value:s["a"].string,label:s["a"].any,scopedSlots:s["a"].object,children:s["a"].array}).loose,function(){return k()({},no(),{autoFocus:s["a"].bool,dropdownStyle:s["a"].object,filterTreeNode:s["a"].oneOfType([Function,Boolean]),getPopupContainer:s["a"].func,labelInValue:s["a"].bool,loadData:s["a"].func,maxTagCount:s["a"].number,maxTagPlaceholder:s["a"].any,value:s["a"].oneOfType([s["a"].string,s["a"].object,s["a"].array,s["a"].number]),defaultValue:s["a"].oneOfType([s["a"].string,s["a"].object,s["a"].array,s["a"].number]),multiple:s["a"].bool,notFoundContent:s["a"].any,searchPlaceholder:s["a"].string,searchValue:s["a"].string,showCheckedStrategy:s["a"].oneOf(["SHOW_ALL","SHOW_PARENT","SHOW_CHILD"]),suffixIcon:s["a"].any,treeCheckable:s["a"].oneOfType([s["a"].any,s["a"].bool]),treeCheckStrictly:s["a"].bool,treeData:s["a"].arrayOf(Object),treeDataSimpleMode:s["a"].oneOfType([Boolean,Object]),dropdownClassName:s["a"].string,dropdownMatchSelectWidth:s["a"].bool,treeDefaultExpandAll:s["a"].bool,treeExpandedKeys:s["a"].array,treeIcon:s["a"].bool,treeDefaultExpandedKeys:s["a"].array,treeNodeFilterProp:s["a"].string,treeNodeLabelProp:s["a"].string,replaceFields:s["a"].object.def({})})}),pC={TreeNode:k()({},uC,{name:"ATreeSelectNode"}),SHOW_ALL:lk,SHOW_PARENT:uk,SHOW_CHILD:dk,name:"ATreeSelect",props:Object(C["t"])(fC(),{transitionName:"slide-up",choiceTransitionName:"zoom",showSearch:!1}),model:{prop:"value",event:"change"},inject:{configProvider:{default:function(){return ce}}},created:function(){pe(!1!==this.multiple||!this.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true")},methods:{focus:function(){this.$refs.vcTreeSelect.focus()},blur:function(){this.$refs.vcTreeSelect.blur()},renderSwitcherIcon:function(e,t){var n=t.isLeaf,i=t.loading,r=this.$createElement;return i?r(to,{attrs:{type:"loading"},class:e+"-switcher-loading-icon"}):n?null:r(to,{attrs:{type:"caret-down"},class:e+"-switcher-icon"})},onChange:function(){this.$emit.apply(this,["change"].concat(Array.prototype.slice.call(arguments)))},updateTreeData:function(e){var t=this,n=this.$scopedSlots,i={children:"children",title:"title",key:"key",label:"label",value:"value"},r=k()({},i,this.$props.replaceFields);return e.map((function(e){var i=e.scopedSlots,a=void 0===i?{}:i,o=e[r.label],s=e[r.title],c=e[r.value],l=e[r.key],u=e[r.children],d="function"===typeof o?o(t.$createElement):o,h="function"===typeof s?s(t.$createElement):s;!d&&a.label&&n[a.label]&&(d=n[a.label](e)),!h&&a.title&&n[a.title]&&(h=n[a.title](e));var f=k()({},e,{title:h||d,value:c,dataRef:e,key:l});return u?k()({},f,{children:t.updateTreeData(u)}):f}))}},render:function(e){var t,n=this,i=Object(C["l"])(this),r=i.prefixCls,a=i.size,s=i.dropdownStyle,c=i.dropdownClassName,d=i.getPopupContainer,h=We()(i,["prefixCls","size","dropdownStyle","dropdownClassName","getPopupContainer"]),f=this.configProvider.getPrefixCls,p=f("select",r),m=this.configProvider.renderEmpty,v=Object(C["g"])(this,"notFoundContent"),g=Object(C["g"])(this,"removeIcon"),y=Object(C["g"])(this,"clearIcon"),b=this.configProvider.getPopupContainer,_=Object(u["a"])(h,["inputIcon","removeIcon","clearIcon","switcherIcon","suffixIcon"]),M=Object(C["g"])(this,"suffixIcon");M=Array.isArray(M)?M[0]:M;var w=i.treeData;w&&(w=this.updateTreeData(w));var L=(t={},o()(t,p+"-lg","large"===a),o()(t,p+"-sm","small"===a),t),x=h.showSearch;"showSearch"in h||(x=!(!h.multiple&&!h.treeCheckable));var S=Object(C["g"])(this,"treeCheckable");S&&(S=e("span",{class:p+"-tree-checkbox-inner"}));var O=M||e(to,{attrs:{type:"down"},class:p+"-arrow-icon"}),T=g||e(to,{attrs:{type:"close"},class:p+"-remove-icon"}),z=y||e(to,{attrs:{type:"close-circle",theme:"filled"},class:p+"-clear-icon"}),H={props:k()(k()({switcherIcon:function(e){return n.renderSwitcherIcon(p,e)},inputIcon:O,removeIcon:T,clearIcon:z},_,{showSearch:x,getPopupContainer:d||b,dropdownClassName:l()(c,p+"-tree-dropdown"),prefixCls:p,dropdownStyle:k()({maxHeight:"100vh",overflow:"auto"},s),treeCheckable:S,notFoundContent:v||m(e,"Select"),__propsSymbol__:Symbol()}),w?{treeData:w}:{}),class:L,on:k()({},Object(C["k"])(this),{change:this.onChange}),ref:"vcTreeSelect",scopedSlots:this.$scopedSlots};return e(hC,H,[Object(C["c"])(this.$slots["default"])])},install:function(e){e.use(te),e.component(pC.name,pC),e.component(pC.TreeNode.name,pC.TreeNode)}},mC=pC,vC={prefixCls:s["a"].string,color:s["a"].string,dot:s["a"].any,pending:s["a"].bool,position:s["a"].oneOf(["left","right",""]).def("")},gC={name:"ATimelineItem",props:Object(C["t"])(vC,{color:"blue",pending:!1}),inject:{configProvider:{default:function(){return ce}}},render:function(){var e,t,n=arguments[0],i=Object(C["l"])(this),r=i.prefixCls,a=i.color,s=void 0===a?"":a,c=i.pending,u=this.configProvider.getPrefixCls,d=u("timeline",r),h=Object(C["g"])(this,"dot"),f=l()((e={},o()(e,d+"-item",!0),o()(e,d+"-item-pending",c),e)),p=l()((t={},o()(t,d+"-item-head",!0),o()(t,d+"-item-head-custom",h),o()(t,d+"-item-head-"+s,!0),t)),m={class:f,on:Object(C["k"])(this)};return n("li",m,[n("div",{class:d+"-item-tail"}),n("div",{class:p,style:{borderColor:/blue|red|green|gray/.test(s)?void 0:s}},[h]),n("div",{class:d+"-item-content"},[this.$slots["default"]])])}},yC={prefixCls:s["a"].string,pending:s["a"].any,pendingDot:s["a"].string,reverse:s["a"].bool,mode:s["a"].oneOf(["left","alternate","right",""])},bC={name:"ATimeline",props:Object(C["t"])(yC,{reverse:!1,mode:""}),inject:{configProvider:{default:function(){return ce}}},render:function(){var e,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=n.reverse,a=n.mode,s=We()(n,["prefixCls","reverse","mode"]),c=this.configProvider.getPrefixCls,u=c("timeline",i),d=Object(C["g"])(this,"pendingDot"),h=Object(C["g"])(this,"pending"),f="boolean"===typeof h?null:h,p=l()(u,(e={},o()(e,u+"-pending",!!h),o()(e,u+"-reverse",!!r),o()(e,u+"-"+a,!!a),e)),m=Object(C["c"])(this.$slots["default"]),g=h?t(gC,{attrs:{pending:!!h}},[t("template",{slot:"dot"},[d||t(to,{attrs:{type:"loading"}})]),f]):null,y=r?[g].concat(v()(m.reverse())):[].concat(v()(m),[g]),b=function(e,t){var n=Object(C["m"])(e);return"alternate"===a?"right"===n.position?u+"-item-right":"left"===n.position||t%2===0?u+"-item-left":u+"-item-right":"left"===a?u+"-item-left":"right"===a||"right"===n.position?u+"-item-right":""},_=y.filter((function(e){return!!e})),M=_.length,w=u+"-item-last",L=_.map((function(e,t){var n=t===M-2?w:"",i=t===M-1?w:"";return Object(Ln["a"])(e,{class:l()([!r&&h?n:i,b(e,t)])})})),x={props:k()({},s),class:p,on:Object(C["k"])(this)};return t("ul",x,[L])}};bC.Item=gC,bC.install=function(e){e.use(te),e.component(bC.name,bC),e.component(gC.name,gC)};var _C=bC,MC=n("a8fc"),wC=n.n(MC),kC=n("51f5"),CC=n.n(kC),LC=n("2593"),xC=n.n(LC),SC=n("327d"),OC=n.n(SC);function TC(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",i=new Error(n);return i.status=t.status,i.method=e.method,i.url=e.action,i}function zC(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function HC(e){var t=new window.XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new window.FormData;e.data&&Object.keys(e.data).forEach((function(t){var i=e.data[t];Array.isArray(i)?i.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(TC(e,t),zC(t));e.onSuccess(zC(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};for(var r in null!==i["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),i)i.hasOwnProperty(r)&&null!==i[r]&&t.setRequestHeader(r,i[r]);return t.send(n),{abort:function(){t.abort()}}}var DC=+new Date,VC=0;function jC(){return"vc-upload-"+DC+"-"+ ++VC}function YC(e,t){return-1!==e.indexOf(t,e.length-t.length)}var PC=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=e.type||"",a=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?YC(i.toLowerCase(),t.toLowerCase()):/\/\*$/.test(t)?a===t.replace(/\/.*$/,""):r===t}))}return!0};function AC(e,t){var n=e.createReader(),i=[];function r(){n.readEntries((function(e){var n=Array.prototype.slice.apply(e);i=i.concat(n);var a=!n.length;a?t(i):r()}))}r()}var EC=function(e,t,n){var i=function e(i,r){r=r||"",i.isFile?i.file((function(e){n(e)&&(i.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):i.isDirectory&&AC(i,(function(t){t.forEach((function(t){e(t,""+r+i.name+"/")}))}))},r=!0,a=!1,o=void 0;try{for(var s,c=e[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value;i(l.webkitGetAsEntry())}}catch(u){a=!0,o=u}finally{try{!r&&c["return"]&&c["return"]()}finally{if(a)throw o}}},FC=EC,$C={componentTag:s["a"].string,prefixCls:s["a"].string,name:s["a"].string,multiple:s["a"].bool,directory:s["a"].bool,disabled:s["a"].bool,accept:s["a"].string,data:s["a"].oneOfType([s["a"].object,s["a"].func]),action:s["a"].oneOfType([s["a"].string,s["a"].func]),headers:s["a"].object,beforeUpload:s["a"].func,customRequest:s["a"].func,withCredentials:s["a"].bool,openFileDialogOnClick:s["a"].bool,transformFile:s["a"].func,method:s["a"].string},IC={inheritAttrs:!1,name:"ajaxUploader",mixins:[p["a"]],props:$C,data:function(){return this.reqs={},{uid:jC()}},mounted:function(){this._isMounted=!0},beforeDestroy:function(){this._isMounted=!1,this.abort()},methods:{onChange:function(e){var t=e.target.files;this.uploadFiles(t),this.reset()},onClick:function(){var e=this.$refs.fileInputRef;e&&e.click()},onKeyDown:function(e){"Enter"===e.key&&this.onClick()},onFileDrop:function(e){var t=this,n=this.$props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(this.directory)FC(e.dataTransfer.items,this.uploadFiles,(function(e){return PC(e,t.accept)}));else{var i=OC()(Array.prototype.slice.call(e.dataTransfer.files),(function(e){return PC(e,t.accept)})),r=i[0],a=i[1];!1===n&&(r=r.slice(0,1)),this.uploadFiles(r),a.length&&this.$emit("reject",a)}},uploadFiles:function(e){var t=this,n=Array.prototype.slice.call(e);n.map((function(e){return e.uid=jC(),e})).forEach((function(e){t.upload(e,n)}))},upload:function(e,t){var n=this;if(!this.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var i=this.beforeUpload(e,t);i&&i.then?i.then((function(t){var i=Object.prototype.toString.call(t);return"[object File]"===i||"[object Blob]"===i?n.post(t):n.post(e)}))["catch"]((function(e){console&&console.log(e)})):!1!==i&&setTimeout((function(){return n.post(e)}),0)},post:function(e){var t=this;if(this._isMounted){var n=this.$props,i=n.data,r=n.transformFile,a=void 0===r?function(e){return e}:r;new Promise((function(n){var i=t.action;if("function"===typeof i)return n(i(e));n(i)})).then((function(r){var o=e.uid,s=t.customRequest||HC,c=Promise.resolve(a(e))["catch"]((function(e){console.error(e)}));c.then((function(a){"function"===typeof i&&(i=i(e));var c={action:r,filename:t.name,data:i,file:a,headers:t.headers,withCredentials:t.withCredentials,method:n.method||"post",onProgress:function(n){t.$emit("progress",n,e)},onSuccess:function(n,i){delete t.reqs[o],t.$emit("success",n,e,i)},onError:function(n,i){delete t.reqs[o],t.$emit("error",n,i,e)}};t.reqs[o]=s(c),t.$emit("start",e)}))}))}},reset:function(){this.setState({uid:jC()})},abort:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},render:function(){var e,t=arguments[0],n=this.$props,i=this.$attrs,r=n.componentTag,a=n.prefixCls,s=n.disabled,c=n.multiple,u=n.accept,d=n.directory,h=n.openFileDialogOnClick,f=l()((e={},o()(e,a,!0),o()(e,a+"-disabled",s),e)),p=s?{}:{click:h?this.onClick:function(){},keydown:h?this.onKeyDown:function(){},drop:this.onFileDrop,dragover:this.onFileDrop},m={on:k()({},Object(C["k"])(this),p),attrs:{role:"button",tabIndex:s?null:"0"},class:f};return t(r,m,[t("input",{attrs:{id:i.id,type:"file",accept:u,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:c},ref:"fileInputRef",on:{click:function(e){return e.stopPropagation()},change:this.onChange},key:this.uid,style:{display:"none"}}),this.$slots["default"]])}},RC=IC,NC={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},WC={mixins:[p["a"]],props:{componentTag:s["a"].string,disabled:s["a"].bool,prefixCls:s["a"].string,accept:s["a"].string,multiple:s["a"].bool,data:s["a"].oneOfType([s["a"].object,s["a"].func]),action:s["a"].oneOfType([s["a"].string,s["a"].func]),name:s["a"].string},data:function(){return this.file={},{uploading:!1}},methods:{onLoad:function(){if(this.uploading){var e=this.file,t=void 0;try{var n=this.getIframeDocument(),i=n.getElementsByTagName("script")[0];i&&i.parentNode===n.body&&n.body.removeChild(i),t=n.body.innerHTML,this.$emit("success",t,e)}catch(r){pe(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),t="cross-domain",this.$emit("error",r,null,e)}this.endUpload()}},onChange:function(){var e=this,t=this.getFormInputNode(),n=this.file={uid:jC(),name:t.value&&t.value.substring(t.value.lastIndexOf("\\")+1,t.value.length)};this.startUpload();var i=this.$props;if(!i.beforeUpload)return this.post(n);var r=i.beforeUpload(n);r&&r.then?r.then((function(){e.post(n)}),(function(){e.endUpload()})):!1!==r?this.post(n):this.endUpload()},getIframeNode:function(){return this.$refs.iframeRef},getIframeDocument:function(){return this.getIframeNode().contentDocument},getFormNode:function(){return this.getIframeDocument().getElementById("form")},getFormInputNode:function(){return this.getIframeDocument().getElementById("input")},getFormDataNode:function(){return this.getIframeDocument().getElementById("data")},getFileForMultiple:function(e){return this.multiple?[e]:e},getIframeHTML:function(e){var t="",n="";if(e){var i="script";t="<"+i+'>document.domain="'+e+'";",n=''}return'\n \n \n \n \n \n '+t+'\n \n \n
    \n \n '+n+'\n \n
    \n \n \n '},initIframeSrc:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")},initIframe:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(i){this.domain=document.domain,this.initIframeSrc(),t=e.contentWindow,n=t.document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange},endUpload:function(){this.uploading&&(this.file={},this.uploading=!1,this.setState({uploading:!1}),this.initIframe())},startUpload:function(){this.uploading||(this.uploading=!0,this.setState({uploading:!0}))},updateIframeWH:function(){var e=this.$el,t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"},abort:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()},post:function(e){var t=this,n=this.getFormNode(),i=this.getFormDataNode(),r=this.$props.data;"function"===typeof r&&(r=r(e));var a=document.createDocumentFragment();for(var o in r)if(r.hasOwnProperty(o)){var s=document.createElement("input");s.setAttribute("name",o),s.value=r[o],a.appendChild(s)}i.appendChild(a),new Promise((function(n){var i=t.action;if("function"===typeof i)return n(i(e));n(i)})).then((function(r){n.setAttribute("action",r),n.submit(),i.innerHTML="",t.$emit("start",e)}))}},mounted:function(){var e=this;this.$nextTick((function(){e.updateIframeWH(),e.initIframe()}))},updated:function(){var e=this;this.$nextTick((function(){e.updateIframeWH()}))},render:function(){var e,t=arguments[0],n=this.$props,i=n.componentTag,r=n.disabled,a=n.prefixCls,s=k()({},NC,{display:this.uploading||r?"none":""}),c=l()((e={},o()(e,a,!0),o()(e,a+"-disabled",r),e));return t(i,{attrs:{className:c},style:{position:"relative",zIndex:0}},[t("iframe",{ref:"iframeRef",on:{load:this.onLoad},style:s}),this.$slots["default"]])}},KC=WC;function BC(){}var UC={componentTag:s["a"].string,prefixCls:s["a"].string,action:s["a"].oneOfType([s["a"].string,s["a"].func]),name:s["a"].string,multipart:s["a"].bool,directory:s["a"].bool,data:s["a"].oneOfType([s["a"].object,s["a"].func]),headers:s["a"].object,accept:s["a"].string,multiple:s["a"].bool,disabled:s["a"].bool,beforeUpload:s["a"].func,customRequest:s["a"].func,method:s["a"].string,withCredentials:s["a"].bool,supportServerRender:s["a"].bool,openFileDialogOnClick:s["a"].bool,transformFile:s["a"].func},qC={name:"Upload",mixins:[p["a"]],inheritAttrs:!1,props:Object(C["t"])(UC,{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,supportServerRender:!1,multiple:!1,beforeUpload:BC,withCredentials:!1,openFileDialogOnClick:!0}),data:function(){return{Component:null}},mounted:function(){var e=this;this.$nextTick((function(){e.supportServerRender&&e.setState({Component:e.getComponent()},(function(){e.$emit("ready")}))}))},methods:{getComponent:function(){return"undefined"!==typeof File?RC:KC},abort:function(e){this.$refs.uploaderRef.abort(e)}},render:function(){var e=arguments[0],t={props:k()({},this.$props),on:Object(C["k"])(this),ref:"uploaderRef",attrs:this.$attrs};if(this.supportServerRender){var n=this.Component;return n?e(n,t,[this.$slots["default"]]):null}var i=this.getComponent();return e(i,t,[this.$slots["default"]])}},GC=qC,JC=GC;s["a"].oneOf(["error","success","done","uploading","removed"]);function XC(e){var t=e.uid,n=e.name;return!(!t&&0!==t)&&(!!["string","number"].includes("undefined"===typeof t?"undefined":M()(t))&&(""!==n&&"string"===typeof n))}s["a"].custom(XC),s["a"].arrayOf(s["a"].custom(XC)),s["a"].object;var ZC=s["a"].shape({showRemoveIcon:s["a"].bool,showPreviewIcon:s["a"].bool}).loose,QC=s["a"].shape({uploading:s["a"].string,removeFile:s["a"].string,downloadFile:s["a"].string,uploadError:s["a"].string,previewFile:s["a"].string}).loose,eL={type:s["a"].oneOf(["drag","select"]),name:s["a"].string,defaultFileList:s["a"].arrayOf(s["a"].custom(XC)),fileList:s["a"].arrayOf(s["a"].custom(XC)),action:s["a"].oneOfType([s["a"].string,s["a"].func]),directory:s["a"].bool,data:s["a"].oneOfType([s["a"].object,s["a"].func]),method:s["a"].oneOf(["POST","PUT","post","put"]),headers:s["a"].object,showUploadList:s["a"].oneOfType([s["a"].bool,ZC]),multiple:s["a"].bool,accept:s["a"].string,beforeUpload:s["a"].func,listType:s["a"].oneOf(["text","picture","picture-card"]),remove:s["a"].func,supportServerRender:s["a"].bool,disabled:s["a"].bool,prefixCls:s["a"].string,customRequest:s["a"].func,withCredentials:s["a"].bool,openFileDialogOnClick:s["a"].bool,locale:QC,height:s["a"].number,id:s["a"].string,previewFile:s["a"].func,transformFile:s["a"].func},tL=(s["a"].arrayOf(s["a"].custom(XC)),s["a"].string,{listType:s["a"].oneOf(["text","picture","picture-card"]),items:s["a"].arrayOf(s["a"].custom(XC)),progressAttr:s["a"].object,prefixCls:s["a"].string,showRemoveIcon:s["a"].bool,showDownloadIcon:s["a"].bool,showPreviewIcon:s["a"].bool,locale:QC,previewFile:s["a"].func}),nL={name:"AUploadDragger",props:eL,render:function(){var e=arguments[0],t=Object(C["l"])(this),n={props:k()({},t,{type:"drag"}),on:Object(C["k"])(this),style:{height:this.height}};return e(pL,n,[this.$slots["default"]])}};function iL(){return!0}function rL(e){return k()({},e,{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function aL(){var e=.1,t=.01,n=.98;return function(i){var r=i;return r>=n||(r+=e,e-=t,e<.001&&(e=.001)),r}}function oL(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}function sL(e,t){var n=void 0!==e.uid?"uid":"name",i=t.filter((function(t){return t[n]!==e[n]}));return i.length===t.length?null:i}var cL=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],i=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(i)||[""])[0]},lL=function(e){return!!e&&0===e.indexOf("image/")},uL=function(e){if(lL(e.type))return!0;var t=e.thumbUrl||e.url,n=cL(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n},dL=200;function hL(e){return new Promise((function(t){if(lL(e.type)){var n=document.createElement("canvas");n.width=dL,n.height=dL,n.style.cssText="position: fixed; left: 0; top: 0; width: "+dL+"px; height: "+dL+"px; z-index: 9999; display: none;",document.body.appendChild(n);var i=n.getContext("2d"),r=new Image;r.onload=function(){var e=r.width,a=r.height,o=dL,s=dL,c=0,l=0;e(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Yg(1):0,p="width "+c+" "+l,m="transform "+c+" "+l;if(e&&"hidden"!==document.body.style.overflow){if(document.body.style.overflow="hidden",f){switch(document.body.style.position="relative",document.body.style.width="calc(100% - "+f+"px)",this.dom.style.transition="none",o){case"right":this.dom.style.transform="translateX(-"+f+"px)",this.dom.style.msTransform="translateX(-"+f+"px)";break;case"top":case"bottom":this.dom.style.width="calc(100% - "+f+"px)",this.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(this.timeout),this.timeout=setTimeout((function(){r.dom.style.transition=m+","+p,r.dom.style.width="",r.dom.style.transform="",r.dom.style.msTransform=""}))}h.forEach((function(e,t){e&&CL(e,d[t]||"touchmove",t?r.removeMoveHandler:r.removeStartHandler,r.passive)}))}else if(this.getCurrentDrawerSome()){if(document.body.style.overflow="",(this.isOpenChange||t)&&f){document.body.style.position="",document.body.style.width="",wL&&(document.body.style.overflowX="hidden"),this.dom.style.transition="none";var v=void 0;switch(o){case"right":this.dom.style.transform="translateX("+f+"px)",this.dom.style.msTransform="translateX("+f+"px)",this.dom.style.width="100%",p="width 0s "+l+" "+c,this.maskDom&&(this.maskDom.style.left="-"+f+"px",this.maskDom.style.width="calc(100% + "+f+"px)");break;case"top":case"bottom":this.dom.style.width="calc(100% + "+f+"px)",this.dom.style.height="100%",this.dom.style.transform="translateZ(0)",v="height 0s "+l+" "+c;break;default:break}clearTimeout(this.timeout),this.timeout=setTimeout((function(){r.dom.style.transition=m+","+(v?v+",":"")+p,r.dom.style.transform="",r.dom.style.msTransform="",r.dom.style.width="",r.dom.style.height=""}))}h.forEach((function(e,t){e&&LL(e,d[t]||"touchmove",t?r.removeMoveHandler:r.removeStartHandler,r.passive)}))}}var g=Object(C["k"])(this),y=g.change;y&&this.isOpenChange&&this.sFirstEnter&&(y(e),this.isOpenChange=!1)},getChildToRender:function(e){var t,n=this,i=this.$createElement,a=this.$props,s=a.className,c=a.prefixCls,u=a.placement,d=a.handler,h=a.showMask,f=a.maskStyle,p=a.width,m=a.height,v=a.wrapStyle,g=a.keyboard,y=a.maskClosable,b=this.$slots["default"],_=l()(c,(t={},o()(t,c+"-"+u,!0),o()(t,c+"-open",e),o()(t,s,!!s),o()(t,"no-mask",!h),t)),M=this.isOpenChange,w="left"===u||"right"===u,k="translate"+(w?"X":"Y"),L="left"===u||"top"===u?"-100%":"100%",x=e?"":k+"("+L+")";if(void 0===M||M){var S=this.contentDom?this.contentDom.getBoundingClientRect()[w?"width":"height"]:0,O=(w?p:m)||S;this.setLevelDomTransform(e,!1,k,O)}var T=void 0;if(!1!==d){var z=i("div",{class:"drawer-handle"},[i("i",{class:"drawer-handle-icon"})]),H=this.handler,D=H&&H[0]||z,V=Object(C["i"])(D),j=V.click;T=Object(Ln["a"])(D,{on:{click:function(e){j&&j(),n.onIconTouchEnd(e)}},directives:[{name:"ant-ref",value:function(e){n.handlerdom=e}}]})}var Y={class:_,directives:[{name:"ant-ref",value:function(e){n.dom=e}}],on:{transitionend:this.onWrapperTransitionEnd,keydown:e&&g?this.onKeyDown:OL},style:v},P=[{name:"ant-ref",value:function(e){n.maskDom=e}}],A=[{name:"ant-ref",value:function(e){n.contentWrapper=e}}],E=[{name:"ant-ref",value:function(e){n.contentDom=e}}];return i("div",r()([Y,{attrs:{tabIndex:-1}}]),[h&&i("div",r()([{key:e,class:c+"-mask",on:{click:y?this.onMaskTouchEnd:OL},style:f},{directives:P}])),i("div",r()([{class:c+"-content-wrapper",style:{transform:x,msTransform:x,width:SL(p)?p+"px":p,height:SL(m)?m+"px":m}},{directives:A}]),[i("div",r()([{class:c+"-content"},{directives:E},{on:{touchstart:e?this.removeStartHandler:OL,touchmove:e?this.removeMoveHandler:OL}}]),[b]),T])])},getOpen:function(){return void 0!==this.open?this.open:this.sOpen},getTouchParentScroll:function(e,t,n,i){if(!t||t===document)return!1;if(t===e.parentNode)return!0;var r=Math.max(Math.abs(n),Math.abs(i))===Math.abs(i),a=Math.max(Math.abs(n),Math.abs(i))===Math.abs(n),o=t.scrollHeight-t.clientHeight,s=t.scrollWidth-t.clientWidth,c=t.scrollTop,l=t.scrollLeft;t.scrollTo&&t.scrollTo(t.scrollLeft+1,t.scrollTop+1);var u=t.scrollTop,d=t.scrollLeft;return t.scrollTo&&t.scrollTo(t.scrollLeft-1,t.scrollTop-1),!((!r||o&&u-c&&(!o||!(t.scrollTop>=o&&i<0||t.scrollTop<=0&&i>0)))&&(!a||s&&d-l&&(!s||!(t.scrollLeft>=s&&n<0||t.scrollLeft<=0&&n>0))))&&this.getTouchParentScroll(e,t.parentNode,n,i)},removeStartHandler:function(e){e.touches.length>1||(this.startPos={x:e.touches[0].clientX,y:e.touches[0].clientY})},removeMoveHandler:function(e){if(!(e.changedTouches.length>1)){var t=e.currentTarget,n=e.changedTouches[0].clientX-this.startPos.x,i=e.changedTouches[0].clientY-this.startPos.y;(t===this.maskDom||t===this.handlerdom||t===this.contentDom&&this.getTouchParentScroll(t,e.target,n,i))&&e.preventDefault()}},trnasitionEnd:function(e){LL(e.target,kL,this.trnasitionEnd),e.target.style.transition=""},defaultGetContainer:function(){if(zL)return null;var e=document.createElement("div");return this.parent.appendChild(e),this.wrapperClassName&&(e.className=this.wrapperClassName),e}},render:function(){var e=this,t=arguments[0],n=this.$props,i=n.getContainer,a=n.wrapperClassName,o=n.handler,s=n.forceRender,c=this.getOpen(),l=null;TL[this.drawerId]=c?this.container:c;var u=this.getChildToRender(!!this.sFirstEnter&&c);if(!i){var d=[{name:"ant-ref",value:function(t){e.container=t}}];return t("div",r()([{class:a},{directives:d}]),[u])}if(!this.container||!c&&!this.sFirstEnter)return null;var h=!!o||s;return(h||c||this.dom)&&(l=t(Gg,{attrs:{getContainer:this.getSelfContainer,children:u}})),l}},DL=HL,VL=DL,jL={name:"ADrawer",props:{closable:s["a"].bool.def(!0),destroyOnClose:s["a"].bool,getContainer:s["a"].any,maskClosable:s["a"].bool.def(!0),mask:s["a"].bool.def(!0),maskStyle:s["a"].object,wrapStyle:s["a"].object,bodyStyle:s["a"].object,headerStyle:s["a"].object,drawerStyle:s["a"].object,title:s["a"].any,visible:s["a"].bool,width:s["a"].oneOfType([s["a"].string,s["a"].number]).def(256),height:s["a"].oneOfType([s["a"].string,s["a"].number]).def(256),zIndex:s["a"].number,prefixCls:s["a"].string,placement:s["a"].oneOf(["top","right","bottom","left"]).def("right"),level:s["a"].any.def(null),wrapClassName:s["a"].string,handle:s["a"].any,afterVisibleChange:s["a"].func,keyboard:s["a"].bool.def(!0)},mixins:[p["a"]],data:function(){return this.destroyClose=!1,this.preVisible=this.$props.visible,{_push:!1}},inject:{parentDrawer:{default:function(){return null}},configProvider:{default:function(){return ce}}},provide:function(){return{parentDrawer:this}},mounted:function(){var e=this.visible;e&&this.parentDrawer&&this.parentDrawer.push()},updated:function(){var e=this;this.$nextTick((function(){e.preVisible!==e.visible&&e.parentDrawer&&(e.visible?e.parentDrawer.push():e.parentDrawer.pull()),e.preVisible=e.visible}))},beforeDestroy:function(){this.parentDrawer&&this.parentDrawer.pull()},methods:{domFocus:function(){this.$refs.vcDrawer&&this.$refs.vcDrawer.domFocus()},close:function(e){this.$emit("close",e)},push:function(){this.setState({_push:!0})},pull:function(){var e=this;this.setState({_push:!1},(function(){e.domFocus()}))},onDestroyTransitionEnd:function(){var e=this.getDestroyOnClose();e&&(this.visible||(this.destroyClose=!0,this.$forceUpdate()))},getDestroyOnClose:function(){return this.destroyOnClose&&!this.visible},getPushTransform:function(e){return"left"===e||"right"===e?"translateX("+("left"===e?180:-180)+"px)":"top"===e||"bottom"===e?"translateY("+("top"===e?180:-180)+"px)":void 0},getRcDrawerStyle:function(){var e=this.$props,t=e.zIndex,n=e.placement,i=e.wrapStyle,r=this.$data._push;return k()({zIndex:t,transform:r?this.getPushTransform(n):void 0},i)},renderHeader:function(e){var t=this.$createElement,n=this.$props,i=n.closable,r=n.headerStyle,a=Object(C["g"])(this,"title");if(!a&&!i)return null;var o=a?e+"-header":e+"-header-no-title";return t("div",{class:o,style:r},[a&&t("div",{class:e+"-title"},[a]),i?this.renderCloseIcon(e):null])},renderCloseIcon:function(e){var t=this.$createElement,n=this.closable;return n&&t("button",{key:"closer",on:{click:this.close},attrs:{"aria-label":"Close"},class:e+"-close"},[t(to,{attrs:{type:"close"}})])},renderBody:function(e){var t=this.$createElement;if(this.destroyClose&&!this.visible)return null;this.destroyClose=!1;var n=this.$props,i=n.bodyStyle,r=n.drawerStyle,a={},o=this.getDestroyOnClose();return o&&(a.opacity=0,a.transition="opacity .3s"),t("div",{class:e+"-wrapper-body",style:k()({},a,r),on:{transitionend:this.onDestroyTransitionEnd}},[this.renderHeader(e),t("div",{key:"body",class:e+"-body",style:i},[this.$slots["default"]])])}},render:function(){var e,t=arguments[0],n=Object(C["l"])(this),i=n.prefixCls,r=n.width,a=n.height,s=n.visible,c=n.placement,d=n.wrapClassName,h=n.mask,f=We()(n,["prefixCls","width","height","visible","placement","wrapClassName","mask"]),p=h?"":"no-mask",m={};"left"===c||"right"===c?m.width="number"===typeof r?r+"px":r:m.height="number"===typeof a?a+"px":a;var v=Object(C["g"])(this,"handle")||!1,g=this.configProvider.getPrefixCls,y=g("drawer",i),b={ref:"vcDrawer",props:k()({},Object(u["a"])(f,["closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton"]),{handler:v},m,{prefixCls:y,open:s,showMask:h,placement:c,className:l()((e={},o()(e,d,!!d),o()(e,p,!!p),e)),wrapStyle:this.getRcDrawerStyle()}),on:k()({},Object(C["k"])(this))};return t(VL,b,[this.renderBody(y)])},install:function(e){e.use(te),e.component(jL.name,jL)}},YL=jL,PL={prefixCls:s["a"].string,size:s["a"].oneOfType([s["a"].oneOf(["large","small","default"]),s["a"].number]),shape:s["a"].oneOf(["circle","square"])},AL=s["a"].shape(PL).loose,EL={props:Object(C["t"])(PL,{size:"large"}),render:function(){var e,t,n=arguments[0],i=this.$props,r=i.prefixCls,a=i.size,s=i.shape,c=l()((e={},o()(e,r+"-lg","large"===a),o()(e,r+"-sm","small"===a),e)),u=l()((t={},o()(t,r+"-circle","circle"===s),o()(t,r+"-square","square"===s),t)),d="number"===typeof a?{width:a+"px",height:a+"px",lineHeight:a+"px"}:{};return n("span",{class:l()(r,c,u),style:d})}},FL=EL,$L={prefixCls:s["a"].string,width:s["a"].oneOfType([s["a"].number,s["a"].string])},IL=s["a"].shape($L),RL={props:$L,render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.width,r="number"===typeof i?i+"px":i;return e("h3",{class:n,style:{width:r}})}},NL=RL,WL=s["a"].oneOfType([s["a"].number,s["a"].string]),KL={prefixCls:s["a"].string,width:s["a"].oneOfType([WL,s["a"].arrayOf(WL)]),rows:s["a"].number},BL=s["a"].shape(KL),UL={props:KL,methods:{getWidth:function(e){var t=this.width,n=this.rows,i=void 0===n?2:n;return Array.isArray(t)?t[e]:i-1===e?t:void 0}},render:function(){var e=this,t=arguments[0],n=this.$props,i=n.prefixCls,r=n.rows,a=[].concat(v()(Array(r))).map((function(n,i){var r=e.getWidth(i);return t("li",{key:i,style:{width:"number"===typeof r?r+"px":r}})}));return t("ul",{class:i},[a])}},qL=UL,GL={active:s["a"].bool,loading:s["a"].bool,prefixCls:s["a"].string,children:s["a"].any,avatar:s["a"].oneOfType([s["a"].string,AL,s["a"].bool]),title:s["a"].oneOfType([s["a"].bool,s["a"].string,IL]),paragraph:s["a"].oneOfType([s["a"].bool,s["a"].string,BL])};function JL(e){return e&&"object"===("undefined"===typeof e?"undefined":M()(e))?e:{}}function XL(e,t){return e&&!t?{shape:"square"}:{shape:"circle"}}function ZL(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function QL(e,t){var n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}var ex={name:"ASkeleton",props:Object(C["t"])(GL,{avatar:!1,title:!0,paragraph:!0}),inject:{configProvider:{default:function(){return ce}}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.loading,r=t.avatar,a=t.title,s=t.paragraph,c=t.active,u=this.configProvider.getPrefixCls,d=u("skeleton",n);if(i||!Object(C["s"])(this,"loading")){var h,f=!!r||""===r,p=!!a,m=!!s,v=void 0;if(f){var g={props:k()({prefixCls:d+"-avatar"},XL(p,m),JL(r))};v=e("div",{class:d+"-header"},[e(FL,g)])}var y=void 0;if(p||m){var b=void 0;if(p){var _={props:k()({prefixCls:d+"-title"},ZL(f,m),JL(a))};b=e(NL,_)}var M=void 0;if(m){var w={props:k()({prefixCls:d+"-paragraph"},QL(f,p),JL(s))};M=e(qL,w)}y=e("div",{class:d+"-content"},[b,M])}var L=l()(d,(h={},o()(h,d+"-with-avatar",f),o()(h,d+"-active",c),h));return e("div",{class:L},[v,y])}var x=this.$slots["default"];return x&&1===x.length?x[0]:e("span",[x])},install:function(e){e.use(te),e.component(ex.name,ex)}},tx=ex,nx={actions:s["a"].array,author:s["a"].any,avatar:s["a"].any,content:s["a"].any,prefixCls:s["a"].string,datetime:s["a"].any},ix={name:"AComment",props:nx,inject:{configProvider:{default:function(){return ce}}},methods:{getAction:function(e){var t=this.$createElement;if(!e||!e.length)return null;var n=e.map((function(e,n){return t("li",{key:"action-"+n},[e])}));return n},renderNested:function(e,t){var n=this.$createElement;return n("div",{class:e+"-nested"},[t])}},render:function(){var e=arguments[0],t=this.$props.prefixCls,n=this.configProvider.getPrefixCls,i=n("comment",t),a=Object(C["g"])(this,"actions"),o=Object(C["g"])(this,"author"),s=Object(C["g"])(this,"avatar"),c=Object(C["g"])(this,"content"),l=Object(C["g"])(this,"datetime"),u=e("div",{class:i+"-avatar"},["string"===typeof s?e("img",{attrs:{src:s,alt:"comment-avatar"}}):s]),d=a&&a.length?e("ul",{class:i+"-actions"},[this.getAction(a)]):null,h=e("div",{class:i+"-content-author"},[o&&e("span",{class:i+"-content-author-name"},[o]),l&&e("span",{class:i+"-content-author-time"},[l])]),f=e("div",{class:i+"-content"},[h,e("div",{class:i+"-content-detail"},[c]),d]),p=e("div",{class:i+"-inner"},[u,f]),m=this.$slots["default"];return e("div",r()([{class:i},{on:Object(C["k"])(this)}]),[p,m?this.renderNested(i,m):null])},install:function(e){e.use(te),e.component(ix.name,ix)}},rx=ix;function ax(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={};return e.forEach((function(e){t[e]=function(t){this._proxyVm._data[e]=t}})),t}var ox={name:"AConfigProvider",props:{getPopupContainer:s["a"].func,prefixCls:s["a"].string,renderEmpty:s["a"].func,csp:s["a"].object,autoInsertSpaceInButton:s["a"].bool,locale:s["a"].object,pageHeader:s["a"].object,transformCellText:s["a"].func},provide:function(){var e=this;return this._proxyVm=new kn["a"]({data:function(){return k()({},e.$props,{getPrefixCls:e.getPrefixCls,renderEmpty:e.renderEmptyComponent})}}),{configProvider:this._proxyVm._data}},watch:k()({},ax(["prefixCls","csp","autoInsertSpaceInButton","locale","pageHeader","transformCellText"])),methods:{renderEmptyComponent:function(e,t){var n=Object(C["g"])(this,"renderEmpty",{},!1)||se;return n(e,t)},getPrefixCls:function(e,t){var n=this.$props.prefixCls,i=void 0===n?"ant":n;return t||(e?i+"-"+e:i)},renderProvider:function(e){var t=this.$createElement;return t(Pv,{attrs:{locale:this.locale||e,_ANT_MARK__:Vv}},[this.$slots["default"]?Object(C["c"])(this.$slots["default"])[0]:null])}},render:function(){var e=this,t=arguments[0];return t(j,{scopedSlots:{default:function(t,n,i){return e.renderProvider(i)}}})},install:function(e){e.use(te),e.component(ox.name,ox)}},sx=ox,cx={functional:!0,render:function(){var e=arguments[0];return e("svg",{attrs:{width:"252",height:"294"}},[e("defs",[e("path",{attrs:{d:"M0 .387h251.772v251.772H0z"}})]),e("g",{attrs:{fill:"none",fillRule:"evenodd"}},[e("g",{attrs:{transform:"translate(0 .012)"}},[e("mask",{attrs:{fill:"#fff"}}),e("path",{attrs:{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"}})]),e("path",{attrs:{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}}),e("path",{attrs:{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}}),e("path",{attrs:{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}}),e("path",{attrs:{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}}),e("path",{attrs:{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}}),e("path",{attrs:{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}}),e("path",{attrs:{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}}),e("path",{attrs:{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}}),e("path",{attrs:{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}}),e("path",{attrs:{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}}),e("path",{attrs:{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}}),e("path",{attrs:{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}}),e("path",{attrs:{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}}),e("path",{attrs:{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}}),e("path",{attrs:{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}}),e("path",{attrs:{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}}),e("path",{attrs:{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}}),e("path",{attrs:{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}}),e("path",{attrs:{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}}),e("path",{attrs:{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}}),e("path",{attrs:{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}}),e("path",{attrs:{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}}),e("path",{attrs:{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}}),e("path",{attrs:{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}}),e("path",{attrs:{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}}),e("path",{attrs:{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}}),e("path",{attrs:{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}}),e("path",{attrs:{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}}),e("path",{attrs:{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}}),e("path",{attrs:{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}}),e("path",{attrs:{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}}),e("path",{attrs:{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}}),e("path",{attrs:{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}}),e("path",{attrs:{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}}),e("path",{attrs:{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}}),e("path",{attrs:{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}}),e("path",{attrs:{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}})])])}},lx=cx,ux={functional:!0,render:function(){var e=arguments[0];return e("svg",{attrs:{width:"254",height:"294"}},[e("defs",[e("path",{attrs:{d:"M0 .335h253.49v253.49H0z"}}),e("path",{attrs:{d:"M0 293.665h253.49V.401H0z"}})]),e("g",{attrs:{fill:"none",fillRule:"evenodd"}},[e("g",{attrs:{transform:"translate(0 .067)"}},[e("mask",{attrs:{fill:"#fff"}}),e("path",{attrs:{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"}})]),e("path",{attrs:{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}}),e("path",{attrs:{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}}),e("path",{attrs:{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}}),e("path",{attrs:{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}}),e("path",{attrs:{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}}),e("path",{attrs:{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}}),e("path",{attrs:{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}}),e("path",{attrs:{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}}),e("path",{attrs:{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}}),e("path",{attrs:{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}}),e("path",{attrs:{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}}),e("path",{attrs:{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}}),e("path",{attrs:{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}}),e("path",{attrs:{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}}),e("path",{attrs:{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}}),e("path",{attrs:{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}}),e("path",{attrs:{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}}),e("path",{attrs:{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}}),e("path",{attrs:{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}}),e("path",{attrs:{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}}),e("path",{attrs:{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}}),e("path",{attrs:{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}}),e("path",{attrs:{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}}),e("path",{attrs:{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}}),e("path",{attrs:{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}}),e("path",{attrs:{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}}),e("mask",{attrs:{fill:"#fff"}}),e("path",{attrs:{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}}),e("path",{attrs:{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}}),e("path",{attrs:{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}}),e("path",{attrs:{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}}),e("path",{attrs:{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}}),e("path",{attrs:{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}}),e("path",{attrs:{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}}),e("path",{attrs:{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}}),e("path",{attrs:{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}}),e("path",{attrs:{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}}),e("path",{attrs:{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}})])])}},dx=ux,hx={functional:!0,render:function(){var e=arguments[0];return e("svg",{attrs:{width:"251",height:"294"}},[e("g",{attrs:{fill:"none",fillRule:"evenodd"}},[e("path",{attrs:{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}}),e("path",{attrs:{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}}),e("path",{attrs:{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}}),e("path",{attrs:{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}}),e("path",{attrs:{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}}),e("path",{attrs:{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}}),e("path",{attrs:{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}}),e("path",{attrs:{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}}),e("path",{attrs:{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}}),e("path",{attrs:{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}}),e("path",{attrs:{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}}),e("path",{attrs:{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}}),e("path",{attrs:{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}}),e("path",{attrs:{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}}),e("path",{attrs:{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}}),e("path",{attrs:{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}}),e("path",{attrs:{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}}),e("path",{attrs:{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}}),e("path",{attrs:{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}}),e("path",{attrs:{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}}),e("path",{attrs:{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}}),e("path",{attrs:{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}}),e("path",{attrs:{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}}),e("path",{attrs:{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}}),e("path",{attrs:{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}}),e("path",{attrs:{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}}),e("path",{attrs:{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}}),e("path",{attrs:{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}}),e("path",{attrs:{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}}),e("path",{attrs:{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}}),e("path",{attrs:{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}}),e("path",{attrs:{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}}),e("path",{attrs:{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}}),e("path",{attrs:{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}}),e("path",{attrs:{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}}),e("path",{attrs:{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}}),e("path",{attrs:{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}})])])}},fx=hx,px={success:"check-circle",error:"close-circle",info:"exclamation-circle",warning:"warning"},mx={404:lx,500:dx,403:fx},vx=Object.keys(mx),gx={prefixCls:s["a"].string,icon:s["a"].any,status:s["a"].oneOf(["success","error","info","warning","404","403","500"]).def("info"),title:s["a"].any,subTitle:s["a"].any,extra:s["a"].any},yx=function(e,t,n){var i=n.status,r=n.icon;if(vx.includes(""+i)){var a=mx[i];return e("div",{class:t+"-icon "+t+"-image"},[e(a)])}var o=px[i],s=r||e(to,{attrs:{type:o,theme:"filled"}});return e("div",{class:t+"-icon"},[s])},bx=function(e,t,n){return n&&e("div",{class:t+"-extra"},[n])},_x={name:"AResult",props:gx,inject:{configProvider:{default:function(){return ce}}},render:function(e){var t=this.prefixCls,n=this.status,i=this.configProvider.getPrefixCls,r=i("result",t),a=Object(C["g"])(this,"title"),o=Object(C["g"])(this,"subTitle"),s=Object(C["g"])(this,"icon"),c=Object(C["g"])(this,"extra");return e("div",{class:r+" "+r+"-"+n},[yx(e,r,{status:n,icon:s}),e("div",{class:r+"-title"},[a]),o&&e("div",{class:r+"-subtitle"},[o]),this.$slots["default"]&&e("div",{class:r+"-content"},[this.$slots["default"]]),bx(e,r,c)])}};_x.PRESENTED_IMAGE_403=mx[403],_x.PRESENTED_IMAGE_404=mx[404],_x.PRESENTED_IMAGE_500=mx[500],_x.install=function(e){e.use(te),e.component(_x.name,_x)};var Mx=_x,wx={child:s["a"].any,bordered:s["a"].bool,colon:s["a"].bool,type:s["a"].oneOf(["label","content"]),layout:s["a"].oneOf(["horizontal","vertical"])},kx={functional:!0,props:wx,render:function(e,t){var n,i=t.props,r=i.child,a=i.bordered,s=i.colon,c=i.type,l=i.layout,u=Object(C["l"])(r),d=u.prefixCls,h=u.span,f=void 0===h?1:h,p=t.data.key,m=Object(C["g"])(r,"label"),v=Object(C["p"])(r),g={attrs:{},class:[d+"-item-label",(n={},o()(n,d+"-item-colon",s),o()(n,d+"-item-no-label",!m),n)],key:p+"-label"};return"vertical"===l&&(g.attrs.colSpan=2*f-1),a?"label"===c?e("th",g,[m]):e("td",{class:d+"-item-content",key:p+"-content",attrs:{colSpan:2*f-1}},[v["default"]]):e("td",{attrs:{colSpan:f},class:d+"-item"},"vertical"===l?"content"===c?[e("span",{class:d+"-item-content",key:p+"-content"},[v["default"]])]:[e("span",{class:[d+"-item-label",o()({},d+"-item-colon",s)],key:p+"-label"},[m])]:[e("span",g,[m]),e("span",{class:d+"-item-content",key:p+"-content"},[v["default"]])])}},Cx=kx,Lx={prefixCls:s["a"].string,label:s["a"].any,span:s["a"].number};function xx(e){var t=e;return void 0===e?t=[]:Array.isArray(e)||(t=[e]),t}var Sx={name:"ADescriptionsItem",props:Object(C["t"])(Lx,{span:1})},Ox={prefixCls:s["a"].string,bordered:s["a"].bool,size:s["a"].oneOf(["default","middle","small"]).def("default"),title:s["a"].any,column:s["a"].oneOfType([s["a"].number,s["a"].object]),layout:s["a"].oneOf(["horizontal","vertical"]),colon:s["a"].bool},Tx=function(e,t){var n=[],i=null,r=void 0,a=xx(e);return a.forEach((function(e,o){var s=Object(C["l"])(e),c=e;i||(r=t,i=[],n.push(i));var l=o===a.length-1,u=!0;l&&(u=!s.span||s.span===r,c=Object(Ln["a"])(c,{props:{span:r}}));var d=s.span,h=void 0===d?1:d;i.push(c),r-=h,r<=0&&(i=null,pe(0===r&&u,"Descriptions","Sum of column `span` in a line exceeds `column` of Descriptions."))})),n},zx={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Hx={name:"ADescriptions",Item:Sx,mixins:[p["a"]],inject:{configProvider:{default:function(){return ce}}},props:Object(C["t"])(Ox,{column:zx}),data:function(){return{screens:{},token:void 0}},methods:{getColumn:function(){var e=this.$props.column;if("object"===("undefined"===typeof e?"undefined":M()(e)))for(var t=0;t0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}e.exports=a},f3ff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},i=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return i}))},f4d6:function(e,t,n){var i=n("ffd6"),r=1/0;function a(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}e.exports=a},f608:function(e,t,n){var i=n("6747"),r=n("ffd6"),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;function s(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||(o.test(e)||!a.test(e)||null!=t&&e in Object(t))}e.exports=s},f6b4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],i=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],r=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],a=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],o=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return o}))},f893c:function(e,t,n){e.exports={default:n("8119"),__esModule:!0}},f8af:function(e,t,n){var i=n("2474");function r(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}e.exports=r},f909:function(e,t,n){var i=n("7e64"),r=n("b760"),a=n("72af"),o=n("4f50"),s=n("1a8c"),c=n("9934"),l=n("8adb");function u(e,t,n,d,h){e!==t&&a(t,(function(a,c){if(h||(h=new i),s(a))o(e,t,c,n,u,d,h);else{var f=d?d(l(e,c),a,c+"",e,t,h):void 0;void 0===f&&(f=a),r(e,c,f)}}),c)}e.exports=u},f9ce:function(e,t,n){var i=n("ef5d"),r=n("e3f8"),a=n("f608"),o=n("f4d6");function s(e){return a(e)?i(o(e)):r(e)}e.exports=s},fa21:function(e,t,n){var i=n("7530"),r=n("2dcb"),a=n("eac5");function o(e){return"function"!=typeof e.constructor||a(e)?{}:i(r(e))}e.exports=o},facd:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},faf5:function(e,t,n){e.exports=!n("0bad")&&!n("4b8b")((function(){return 7!=Object.defineProperty(n("05f5")("div"),"a",{get:function(){return 7}}).a}))},fba5:function(e,t,n){var i=n("cb5a");function r(e){return i(this.__data__,e)>-1}e.exports=r},fc5e:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},fcd4:function(e,t,n){t.f=n("cc15")},fd7e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},fed5:function(e,t){t.f=Object.getOwnPropertySymbols},ffd6:function(e,t,n){var i=n("3729"),r=n("1310"),a="[object Symbol]";function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}e.exports=o},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; -//! moment.js locale configuration -var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))}}]); \ No newline at end of file diff --git a/package.json b/package.json index 979f53ee748c50fb750eb76811e6a6d084f1f764..71906e61f52bd197f2e12db5c6092c34fa4ad6a2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-plugin-hiprint", - "description": "hiprint for vue2.0", - "version": "0.0.16", + "description": "hiprint for Vue2.x / Vue3.x 支持拖拽(分页(不分页)、表头表脚、样式设置、复制粘贴、缩放、撤销重做)生成打印模板、导出json模板数据、静默打印/获取MAC地址(借助客户端)", + "version": "0.0.57-beta20", "author": "CcSimple", "license": "MIT", "main": "dist/vue-plugin-hiprint.js", @@ -24,26 +24,43 @@ "scripts": { "serve": "vue-cli-service serve", "build-demo": "vue-cli-service build", - "build": "cross-env NODE_ENV=production webpack --progress" + "build": "cross-env NODE_ENV=production webpack --progress", + "pub": "npm run build && npm --registry https://registry.npmjs.org/ publish", + "up-version": "node ./scripts/change-version.js", + "pub-beta": "npm run build && npm --registry https://registry.npmjs.org/ publish --tag beta" }, - "dependencies": {}, "browserslist": [ "> 1%", "last 2 versions", "not ie <= 8" ], "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.15", + "@vue/cli-plugin-babel": "~5.0.0", "@vue/cli-service": "^4.5.15", + "ant-design-vue": "^1.7.8", + "babel-loader": "^8.1.0", + "bootstrap": "^3.3.7", + "concurrent-tasks": "^1.0.7", + "copy-webpack-plugin": "^5.1.2", + "core-js": "^3.6.5", "cross-env": "^5.0.5", "less-loader": "^6.1.1", "uglifyjs-webpack-plugin": "^2.2.0", - "vue-template-compiler": "^2.6.11", - "webpack-cli": "^4.9.1", - "ant-design-vue": "^1.7.8", - "core-js": "^3.6.5", "vue": "^2.5.11", - "concurrent-tasks": "^1.0.7", - "vue-ls": "^4.0.0" + "vue-ls": "^4.0.0", + "vue-template-compiler": "^2.6.11", + "webpack-cli": "^4.9.1" + }, + "dependencies": { + "@claviska/jquery-minicolors": "^2.3.6", + "@wtto00/html2canvas": "^1.4.3", + "bwip-js": "^4.0.0", + "canvg": "^3.0.10", + "jquery": "^3.6.0", + "jsbarcode": "^3.11.5", + "jspdf": "^2.5.1", + "lodash": "^4.17.21", + "nzh": "^1.0.8", + "socket.io-client": "^4.5.1" } -} +} \ No newline at end of file diff --git a/public/css/bootstrap.min.css b/public/css/bootstrap.min.css new file mode 100644 index 0000000000000000000000000000000000000000..ed3905e0e0c91d4ed7d8aa14412dffeb038745ff --- /dev/null +++ b/public/css/bootstrap.min.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.3.7 (http://getbootstrap.com) + * Copyright 2011-2016 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/public/css/print-lock.css b/public/css/print-lock.css new file mode 100644 index 0000000000000000000000000000000000000000..aede01863ed044180ec68328d98ee1a60f551b72 --- /dev/null +++ b/public/css/print-lock.css @@ -0,0 +1,349 @@ +@media print { + body { + margin: 0px; + padding: 0px; + } +} + +@page { + margin: 0; +} + +.hiprint-printPaper * { + box-sizing: border-box; + -moz-box-sizing: border-box; /* Firefox */ + -webkit-box-sizing: border-box; /* Safari */ +} + +.hiprint-printPaper *:focus { + outline: -webkit-focus-ring-color auto 0px; +} + +.hiprint-printPaper { + position: relative; + padding: 0 0 0 0; + page-break-after: always; + -webkit-user-select: none; /* Chrome/Safari/Opera */ + -moz-user-select: none; /* Firefox */ + user-select: none; + overflow-x: hidden; + overflow: hidden; +} + +.hiprint-printPaper .hiprint-printPaper-content { + position: relative; +} + +/* 火狐浏览器打印 第一页过后 重叠问题 */ +@-moz-document url-prefix() { + .hiprint-printPaper .hiprint-printPaper-content { + position: relative; + margin-top: 20px; + top: -20px + } +} + +.hiprint-printPaper.design { + overflow: visible; +} + + +.hiprint-printTemplate .hiprint-printPanel { + page-break-after: always; +} + +.hiprint-printPaper, hiprint-printPanel { + box-sizing: border-box; + border: 0px; +} + +.hiprint-printPanel .hiprint-printPaper:last-child { + page-break-after: avoid; +} + +.hiprint-printTemplate .hiprint-printPanel:last-child { + page-break-after: avoid; +} + +.hiprint-printPaper .hideheaderLinetarget { + border-top: 0px dashed rgb(201, 190, 190) !important; +} + +.hiprint-printPaper .hidefooterLinetarget { + border-top: 0px dashed rgb(201, 190, 190) !important; +} + +.hiprint-printPaper.design { + border: 1px dashed rgba(170, 170, 170, 0.7); +} + +.design .hiprint-printElement-table-content, .design .hiprint-printElement-longText-content { + overflow: hidden; + box-sizing: border-box; +} + +.design .resize-panel { + box-sizing: border-box; + border: 1px dotted; +} + +.hiprint-printElement-text { + background-color: transparent; + background-repeat: repeat; + padding: 0 0 0 0; + border: 0.75pt none rgb(0, 0, 0); + direction: ltr; + font-family: 'SimSun'; + font-size: 9pt; + font-style: normal; + font-weight: normal; + padding-bottom: 0pt; + padding-left: 0pt; + padding-right: 0pt; + padding-top: 0pt; + text-align: left; + text-decoration: none; + line-height: 9.75pt; + box-sizing: border-box; + word-wrap: break-word; + word-break: break-all; +} + +.design .hiprint-printElement-text-content { + border: 1px dashed rgb(206, 188, 188); + box-sizing: border-box; +} + +.hiprint-printElement-longText { + background-color: transparent; + background-repeat: repeat; + border: 0.75pt none rgb(0, 0, 0); + direction: ltr; + font-family: 'SimSun'; + font-size: 9pt; + font-style: normal; + font-weight: normal; + padding-bottom: 0pt; + padding-left: 0pt; + padding-right: 0pt; + padding-top: 0pt; + text-align: left; + text-decoration: none; + line-height: 9.75pt; + box-sizing: border-box; + word-wrap: break-word; + word-break: break-all; + /*white-space: pre-wrap*/ +} + + +.hiprint-printElement-table { + background-color: transparent; + background-repeat: repeat; + color: rgb(0, 0, 0); + border-color: rgb(0, 0, 0); + border-style: none; + direction: ltr; + font-family: 'SimSun'; + font-size: 9pt; + font-style: normal; + font-weight: normal; + padding-bottom: 0pt; + padding-left: 0pt; + padding-right: 0pt; + padding-top: 0pt; + text-align: left; + text-decoration: none; + padding: 0 0 0 0; + box-sizing: border-box; + line-height: 9.75pt; +} + +.hiprint-printElement-table thead { + background: #e8e8e8; + font-weight: 700; +} + +table.hiprint-printElement-tableTarget { + width: 100%; +} + +.hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td { + border-color: rgb(0, 0, 0); + /*border-style: none;*/ + /*border: 1px solid rgb(0, 0, 0);*/ + font-weight: normal; + direction: ltr; + padding-bottom: 0pt; + padding-left: 4pt; + padding-right: 4pt; + padding-top: 0pt; + text-decoration: none; + vertical-align: middle; + box-sizing: border-box; + word-wrap: break-word; + word-break: break-all; + /*line-height: 9.75pt; + font-size: 9pt;*/ +} + +.hiprint-printElement-tableTarget-border-all { + border: 1px solid; +} +.hiprint-printElement-tableTarget-border-none { + border: 0px solid; +} +.hiprint-printElement-tableTarget-border-lr { + border-left: 1px solid; + border-right: 1px solid; +} +.hiprint-printElement-tableTarget-border-left { + border-left: 1px solid; +} +.hiprint-printElement-tableTarget-border-right { + border-right: 1px solid; +} +.hiprint-printElement-tableTarget-border-tb { + border-top: 1px solid; + border-bottom: 1px solid; +} +.hiprint-printElement-tableTarget-border-top { + border-top: 1px solid; +} +.hiprint-printElement-tableTarget-border-bottom { + border-bottom: 1px solid; +} + +.hiprint-printElement-tableTarget-border-td-none td { + border: 0px solid; +} +.hiprint-printElement-tableTarget-border-td-all td:not(:nth-last-child(-n+2)) { + border-right: 1px solid; +} +.hiprint-printElement-tableTarget-border-td-all td:last-child { + border-left: 1px solid; +} +.hiprint-printElement-tableTarget-border-td-all td:last-child:first-child { + border-left: none; +} + +/*.hiprint-printElement-tableTarget tr,*/ +.hiprint-printElement-tableTarget td { + height: 18pt; +} + +.hiprint-printPaper .hiprint-paperNumber { + font-size: 9pt; +} + +.design .hiprint-printElement-table-handle { + position: absolute; + height: 21pt; + width: 21pt; + background: red; + z-index: 1; +} + +.hiprint-printPaper .hiprint-paperNumber-disabled { + float: right !important; + right: 0 !important; + color: gainsboro !important; +} + +.hiprint-printElement-vline, .hiprint-printElement-hline { + border: 0px none rgb(0, 0, 0); + +} + +.hiprint-printElement-vline { + border-left: 0.75pt solid #000; + border-right: 0px none rgb(0, 0, 0) !important; + border-bottom: 0px none rgb(0, 0, 0) !important; + border-top: 0px none rgb(0, 0, 0) !important; +} + +.hiprint-printElement-hline { + border-top: 0.75pt solid #000; + border-right: 0px none rgb(0, 0, 0) !important; + border-bottom: 0px none rgb(0, 0, 0) !important; + border-left: 0px none rgb(0, 0, 0) !important; +} + +.hiprint-printElement-oval, .hiprint-printElement-rect { + border: 0.75pt solid #000; +} + +.hiprint-text-content-middle { +} + +.hiprint-text-content-middle > div { + display: grid; + align-items: center; +} + +.hiprint-text-content-bottom { +} + +.hiprint-text-content-bottom > div { + display: grid; + align-items: flex-end; +} + +.hiprint-text-content-wrap { +} + +.hiprint-text-content-wrap .hiprint-text-content-wrap-nowrap { + white-space: nowrap; +} + +.hiprint-text-content-wrap .hiprint-text-content-wrap-clip { + white-space: nowrap; + overflow: hidden; + text-overflow: clip; +} + +.hiprint-text-content-wrap .hiprint-text-content-wrap-ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +/*hi-grid-row */ +.hi-grid-row { + position: relative; + height: auto; + margin-right: 0; + margin-left: 0; + zoom: 1; + display: block; + box-sizing: border-box; +} + +.hi-grid-row::after, .hi-grid-row::before { + display: table; + content: ''; + box-sizing: border-box; +} + +.hi-grid-col { + display: block; + box-sizing: border-box; + position: relative; + float: left; + flex: 0 0 auto; +} + +.table-grid-row { + margin-left: -0pt; + margin-right: -0pt; +} + +.tableGridColumnsGutterRow { + padding-left: 0pt; + padding-right: 0pt; +} + +.hiprint-gridColumnsFooter { + text-align: left; + clear: both; +} diff --git a/public/fonts/glyphicons-halflings-regular.eot b/public/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 0000000000000000000000000000000000000000..b93a4953fff68df523aa7656497ee339d6026d64 Binary files /dev/null and b/public/fonts/glyphicons-halflings-regular.eot differ diff --git a/public/fonts/glyphicons-halflings-regular.svg b/public/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 0000000000000000000000000000000000000000..94fb5490a2ed10b2c69a4a567a4fd2e4f706d841 --- /dev/null +++ b/public/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/fonts/glyphicons-halflings-regular.ttf b/public/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000000000000000000000000000000000000..1413fc609ab6f21774de0cb7e01360095584f65b Binary files /dev/null and b/public/fonts/glyphicons-halflings-regular.ttf differ diff --git a/public/fonts/glyphicons-halflings-regular.woff b/public/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 0000000000000000000000000000000000000000..9e612858f802245ddcbf59788a0db942224bab35 Binary files /dev/null and b/public/fonts/glyphicons-halflings-regular.woff differ diff --git a/public/fonts/glyphicons-halflings-regular.woff2 b/public/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..64539b54c3751a6d9adb44c8e3a45ba5a73b77f0 Binary files /dev/null and b/public/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/public/index.html b/public/index.html index 1ee85e020c8f67dada922f53ad9dd7f697bcca88..cba527adce6479e924f58472702ddc19775611cf 100644 --- a/public/index.html +++ b/public/index.html @@ -7,9 +7,12 @@ <%= htmlWebpackPlugin.options.title %> - + + + +
    +
    + 查 看 源 代 码 +
    diff --git a/res/URLScheme.png b/res/URLScheme.png new file mode 100644 index 0000000000000000000000000000000000000000..33f907f5e6b4f2b88fb16686b3aef3c4caf0ea96 Binary files /dev/null and b/res/URLScheme.png differ diff --git a/res/WebStorm.svg b/res/WebStorm.svg new file mode 100644 index 0000000000000000000000000000000000000000..45d7e28262652f68c18074b88aab87d94da3fc11 --- /dev/null +++ b/res/WebStorm.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/res/WebStorm_icon.svg b/res/WebStorm_icon.svg new file mode 100644 index 0000000000000000000000000000000000000000..c55a10e489c00e38b5c698a09fe986d9531779c6 --- /dev/null +++ b/res/WebStorm_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/res/gif00.gif b/res/gif00.gif new file mode 100644 index 0000000000000000000000000000000000000000..756e9189e86aa5af73618c6b9b192e862779c2f1 Binary files /dev/null and b/res/gif00.gif differ diff --git a/res/gif01.gif b/res/gif01.gif new file mode 100644 index 0000000000000000000000000000000000000000..12f1bed8ae68cd83362e8f9906541d74bf2076d8 Binary files /dev/null and b/res/gif01.gif differ diff --git a/res/group.png b/res/group.png new file mode 100644 index 0000000000000000000000000000000000000000..c120b8e21563660667282e5e44407878fc48a6c9 Binary files /dev/null and b/res/group.png differ diff --git a/res/img.png b/res/img.png index a9714056d0c3504962f241cf7733a12b4d795ee8..79557945fbd041953c88242d4f4ee497846ecf20 100644 Binary files a/res/img.png and b/res/img.png differ diff --git a/res/img_0.png b/res/img_0.png new file mode 100644 index 0000000000000000000000000000000000000000..432dcfd9c8ce7c2139bc55f4515591305f874b63 Binary files /dev/null and b/res/img_0.png differ diff --git a/res/img_1.png b/res/img_1.png index 7718b098244403a40fe7b4d7afff63295ba9a40f..d1da1524f2d9c48a6ceba54238de9d4e104810f0 100644 Binary files a/res/img_1.png and b/res/img_1.png differ diff --git a/res/img_2.png b/res/img_2.png new file mode 100644 index 0000000000000000000000000000000000000000..81723e24962103d3cb400b90842b47b953bc8202 Binary files /dev/null and b/res/img_2.png differ diff --git a/res/img_3.png b/res/img_3.png new file mode 100644 index 0000000000000000000000000000000000000000..a0733cc76027b9a86e53cf0a708f4123e8711968 Binary files /dev/null and b/res/img_3.png differ diff --git a/res/template1.png b/res/template1.png new file mode 100644 index 0000000000000000000000000000000000000000..a7d835affe7deab33842dd6bf70207a8bc39795f Binary files /dev/null and b/res/template1.png differ diff --git a/res/template2.png b/res/template2.png new file mode 100644 index 0000000000000000000000000000000000000000..831c83b014c4608d71c06120ae4e78c964949476 Binary files /dev/null and b/res/template2.png differ diff --git a/res/template3.png b/res/template3.png new file mode 100644 index 0000000000000000000000000000000000000000..c4f80b0fe24da67c03e4603dc8b788afdde76d64 Binary files /dev/null and b/res/template3.png differ diff --git a/res/template4.png b/res/template4.png new file mode 100644 index 0000000000000000000000000000000000000000..f2cef96727d40a8db43b2410f7bc3a603cf1a196 Binary files /dev/null and b/res/template4.png differ diff --git a/res/template5.png b/res/template5.png new file mode 100644 index 0000000000000000000000000000000000000000..f4b0ae3db5da72a4f4f29286d9434850f866a083 Binary files /dev/null and b/res/template5.png differ diff --git a/res/template6.png b/res/template6.png new file mode 100644 index 0000000000000000000000000000000000000000..37c2967c104beba16dca611d9fc6c4b19c3835d4 Binary files /dev/null and b/res/template6.png differ diff --git a/res/template7.png b/res/template7.png new file mode 100644 index 0000000000000000000000000000000000000000..e1803fc4ca17d880227380d5e3e54dfb1f6417a9 Binary files /dev/null and b/res/template7.png differ diff --git a/res/tool.jpeg b/res/tool.jpeg index 82b32f001e149a35177feb1f64823813b26f0da0..377756997dc6229ad5475cd3e5a4f9f847260245 100644 Binary files a/res/tool.jpeg and b/res/tool.jpeg differ diff --git a/res/wechat.png b/res/wechat.png index 07dfb56dc628dbe385d340900702f5ffe659c9a8..a5bf9743083691c396704449ad32b1793c008c45 100644 Binary files a/res/wechat.png and b/res/wechat.png differ diff --git a/res/zAlipay.png b/res/zAlipay.png new file mode 100644 index 0000000000000000000000000000000000000000..3cc55a64f2de15e6ccb0f9f393e80e59b7f21d02 Binary files /dev/null and b/res/zAlipay.png differ diff --git a/res/zWechat.png b/res/zWechat.png new file mode 100644 index 0000000000000000000000000000000000000000..ff0010a5ec0260ac05d9ee8047ad7fe1ec0aeb97 Binary files /dev/null and b/res/zWechat.png differ diff --git a/scripts/change-version.js b/scripts/change-version.js new file mode 100644 index 0000000000000000000000000000000000000000..ff410bad81bcfe4d960c9cb2c97343c585542ecd --- /dev/null +++ b/scripts/change-version.js @@ -0,0 +1,35 @@ +let path = require('path') +const fs = require("fs"); +const exec = require('child_process').exec; +const pkgPath = path.join(__dirname, '../package.json'); +let pkg = JSON.parse(fs.readFileSync(pkgPath)); +let version = pkg.version; +let isNewVersion = 'newVersion' == process.argv[2]; +console.log(version); +console.log('newVersion', isNewVersion); +const vList = version.split("."); +const vEnd = vList[vList.length - 1]; +if (isNewVersion) { + version = vList.slice(0, vList.length - 1).join(".") + "." + (parseInt(vEnd) + 1); + console.log('=> ', version); +} else { + if (`${vEnd}`.includes('beta')) { + let pre = parseInt(vList[vList.length - 1]); + let cur = 'beta' + (parseInt(vList[vList.length - 1].split('-')[1].replace(/[^\d./]/g, '') || 0) + 1); + version = `${vList[0]}.${vList[1]}.${pre}-${cur}`; + console.log('=> ', version); + } else { + let cur = parseInt(vList[vList.length - 1]) + 1; + version = `${vList[0]}.${vList[1]}.${cur}-beta1`; + console.log('=> ', version); + } +} +pkg.version = version; +let pkgStr = JSON.stringify(pkg, null, 2); +fs.writeFileSync(pkgPath, pkgStr); +let cmd = `git add package.json && git commit -m 'pub-beta ${version}' && git tag ${version}`; +if (isNewVersion) { + cmd = `git add package.json && git commit -m 'pub ${version} && git tag ${version}'`; +} +exec(cmd); +console.log('exec cmd ==> ', cmd); diff --git a/src/App.vue b/src/App.vue index e93ab0c17fd78bc52c5b995d690934c41d891524..52a5bbe800d4fa2f5fe3bfce3c7ec403d09f5560 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,47 +1,196 @@ diff --git a/src/demo/custom/index.vue b/src/demo/custom/index.vue index 330b365d2692b89c410a039034eb744efaad3829..606c106ee085d334be49d0e3adfb7871e2c3bc70 100644 --- a/src/demo/custom/index.vue +++ b/src/demo/custom/index.vue @@ -35,6 +35,18 @@ 自定义纸张 + + + @@ -44,6 +56,7 @@ 直接打印 + 全选元素 @@ -63,6 +76,7 @@ + @@ -96,6 +110,7 @@ + diff --git a/src/demo/panels/index.vue b/src/demo/panels/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..a1ffcdd6871cdabf5d64c3afc69ec4b62f4c468b --- /dev/null +++ b/src/demo/panels/index.vue @@ -0,0 +1,348 @@ + + + + + diff --git a/src/demo/panels/preview.vue b/src/demo/panels/preview.vue new file mode 100644 index 0000000000000000000000000000000000000000..d2f5a6e3db1c82bb41e272dbac1fdf0ad6728127 --- /dev/null +++ b/src/demo/panels/preview.vue @@ -0,0 +1,85 @@ + + + + diff --git a/src/demo/panels/print-data.js b/src/demo/panels/print-data.js new file mode 100644 index 0000000000000000000000000000000000000000..e25dce77152ae8da016fa7d9092a574299fa4ea8 --- /dev/null +++ b/src/demo/panels/print-data.js @@ -0,0 +1,38 @@ +export default { + totalCap: '壹佰元整', + logo: 'https://portrait.gitee.com/uploads/avatars/user/1800/5400665_CcSimple_1591166830.png!avatar60', + barcode: 'XS888888888', + qrcode: '0123456789', + table: [ + {INDEX: '1', NAME: '测试商品01', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '2', NAME: '测试商品02', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '3', NAME: '测试商品03', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '4', NAME: '测试商品04', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '5', NAME: '测试商品05', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '6', NAME: '测试商品06', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '7', NAME: '测试商品07', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '8', NAME: '测试商品08', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '9', NAME: '测试商品09', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '10', NAME: '测试商品10', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '11', NAME: '测试商品11', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '12', NAME: '测试商品12', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '13', NAME: '测试商品13', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '14', NAME: '测试商品14', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '15', NAME: '测试商品15', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '16', NAME: '测试商品16', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '17', NAME: '测试商品17', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '18', NAME: '测试商品18', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '19', NAME: '测试商品19', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '20', NAME: '测试商品20', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '21', NAME: '测试商品21', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '22', NAME: '测试商品22', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '23', NAME: '测试商品23', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '24', NAME: '测试商品24', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '25', NAME: '测试商品25', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '26', NAME: '测试商品26', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '27', NAME: '测试商品27', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '28', NAME: '测试商品28', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '29', NAME: '测试商品29', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + {INDEX: '30', NAME: '测试商品30', SL: 2, GG: '1*24g', TM: '2O22010100110', DJ: '6.8', JE: '13.6'}, + ] +}; diff --git a/src/demo/panels/providers.js b/src/demo/panels/providers.js new file mode 100644 index 0000000000000000000000000000000000000000..371cc9434f0afec3e7ccb361c6ff72d8c3e0fb8a --- /dev/null +++ b/src/demo/panels/providers.js @@ -0,0 +1,429 @@ +/* eslint-disable */ +import {hiprint} from '../../index' + +// 自定义设计元素1 +export const panelsProvider1 = function (ops) { + var addElementTypes = function (context) { + context.removePrintElementTypes("panelsProvider1"); + context.addPrintElementTypes( + "panelsProvider1", + [ + new hiprint.PrintElementTypeGroup("平台", [ + { + tid: 'panelsProvider1.header', title: '单据表头', data: '单据表头', type: 'text', + options: { + testData: '单据表头', + height: 17, + fontSize: 16.5, + fontWeight: "700", + textAlign: "center", + hideTitle: true + } + }, + { + tid: 'panelsProvider1.type', title: '单据类型', data: '单据类型', type: 'text', + options: { + testData: '单据类型', + height: 16, + fontSize: 15, + fontWeight: "700", + textAlign: "center", + hideTitle: true + } + }, + { + tid: 'panelsProvider1.order', title: '订单编号', data: 'XS888888888', type: 'text', + options: { + field: 'orderId', + testData: 'XS888888888', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + { + tid: 'panelsProvider1.date', title: '业务日期', data: '2020-01-01', type: 'text', + options: { + field: 'date', + testData: '2020-01-01', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + { + tid: 'panelsProvider1.barcode', title: '条形码', data: 'XS888888888', type: 'text', + options: { + field: 'barcode', + testData: 'XS888888888', + height: 32, + fontSize: 12, + lineHeight: 18, + textType: "barcode" + } + }, + { + tid: 'panelsProvider1.qrcode', title: '二维码', data: 'XS888888888', type: 'text', + options: { + field: 'qrcode', + testData: 'XS888888888', + height: 32, + fontSize: 12, + lineHeight: 18, + textType: "qrcode" + } + }, + { + tid: 'panelsProvider1.platform', title: '平台名称', data: '平台名称', type: 'text', + options: { + testData: '平台名称', + height: 17, + fontSize: 16.5, + fontWeight: "700", + textAlign: "center", + hideTitle: true + } + }, + {tid: 'panelsProvider1.logo', title: 'Logo', data: '', type: 'image'}, + ]), + new hiprint.PrintElementTypeGroup("库管", [ + { + tid: 'panelsProvider1.creater', title: '制单人', data: '李四', type: 'text', + options: { + field: 'creater', + testData: '李四', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + { + tid: 'panelsProvider1.printDate', title: '打印时间', data: '2022-01-01 09:00', type: 'text', + options: { + field: 'printDate', + testData: '2022-01-01 09:00', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + { + tid: 'panelsProvider1.signer', title: '库管签字', data: '', type: 'text', + options: { + title: '库管签字:', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + ]), + new hiprint.PrintElementTypeGroup("表格/其他", [ + { + tid: 'panelsProvider1.table', title: '订单数据', + type: 'table', + options: { + field: 'table', + tableHeaderRepeat: 'first', + tableFooterRepeat: 'last', + fields: [ + {text: '名称', field: 'NAME'}, + {text: '数量', field: 'SL'}, + {text: '规格', field: 'GG'}, + {text: '条码', field: 'TM'}, + {text: '单价', field: 'DJ'}, + {text: '金额', field: 'JE'}, + ], + }, + editable: true, + columnDisplayEditable: true,//列显示是否能编辑 + columnDisplayIndexEditable: true,//列顺序显示是否能编辑 + columnTitleEditable: true,//列标题是否能编辑 + columnResizable: true, //列宽是否能调整 + columnAlignEditable: true,//列对齐是否调整 + isEnableEditField: true, //编辑字段 + isEnableContextMenu: true, //开启右键菜单 默认true + isEnableInsertRow: true, //插入行 + isEnableDeleteRow: true, //删除行 + isEnableInsertColumn: true, //插入列 + isEnableDeleteColumn: true, //删除列 + isEnableMergeCell: true, //合并单元格 + columns: [ + [ + {title: '名称', align: 'center', field: 'NAME', width: 150}, + {title: '数量', align: 'center', field: 'SL', width: 80}, + {title: '规格', align: 'center', field: 'GG', width: 80, checked: false}, + {title: '条码', align: 'center', field: 'TM', width: 100, checked: false}, + {title: '单价', align: 'center', field: 'DJ', width: 100}, + {title: '金额', align: 'center', field: 'JE', width: 100, checked: false}, + ], + ], + rowsColumnsMerge: function (data, col, index) { + // 返回一个数组,参数一为行(rowspan)合并数,参数二为列(colspan)合并数, 被合并的行或者列值设为0 + if (index == 0) { + return [1, data.INDEX % 2 == 1 ? 2 : 1] + } else if (index > 0 && index < 2) { + return [data.INDEX % 2 == 1 ? 0 : 1, 1] + } else { + return [data.INDEX % 2 == 1 ? 2 : 0, 1] + } + }, + footerFormatter: function (options, rows, data, currentPageGridRowsData) { + if (data && data['totalCap']) { + return `${'应收金额大写: ' + data['totalCap']}` + } + return '应收金额大写: ' + }, + }, + {tid: 'panelsProvider1.customText', title: '文本', customText: '自定义文本', custom: true, type: 'text'}, + { + tid: 'panelsProvider1.longText', title: '长文本', type: 'longText', options: { + field: 'test.longText', + width: 200, + testData: '长文本分页/不分页测试' + }, + } + ]), + new hiprint.PrintElementTypeGroup("辅助", [ + { + tid: 'panelsProvider1.hline', + title: '横线', + type: 'hline' + }, + { + tid: 'panelsProvider1.vline', + title: '竖线', + type: 'vline' + }, + { + tid: 'panelsProvider1.rect', + title: '矩形', + type: 'rect' + }, + { + tid: 'panelsProvider1.oval', + title: '椭圆', + type: 'oval' + } + ]) + ] + ); + }; + return { + addElementTypes: addElementTypes + }; +}; + +// 自定义设计元素2 +export const panelsProvider2 = function (ops) { + var addElementTypes = function (context) { + context.removePrintElementTypes("panelsProvider2"); + context.addPrintElementTypes( + "panelsProvider2", + [ + new hiprint.PrintElementTypeGroup("常规", [ + { + tid: 'panelsProvider2.header', title: '单据表头', data: '单据表头', type: 'text', + options: { + testData: '单据表头', + height: 17, + fontSize: 16.5, + fontWeight: "700", + textAlign: "center", + hideTitle: true + } + }, + { + tid: 'panelsProvider2.type', title: '单据类型', data: '单据类型', type: 'text', + options: { + testData: '单据类型', + height: 16, + fontSize: 15, + fontWeight: "700", + textAlign: "center", + hideTitle: true + } + }, + { + tid: 'panelsProvider2.order', title: '订单编号', data: 'XS888888888', type: 'text', + options: { + field: 'orderId', + testData: 'XS888888888', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + { + tid: 'panelsProvider2.date', title: '业务日期', data: '2020-01-01', type: 'text', + options: { + field: 'date', + testData: '2020-01-01', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + { + tid: 'panelsProvider2.barcode', title: '条形码', data: 'XS888888888', type: 'text', + options: { + field: 'barcode', + testData: 'XS888888888', + height: 32, + fontSize: 12, + lineHeight: 18, + textType: "barcode" + } + }, + { + tid: 'panelsProvider2.qrcode', title: '二维码', data: 'XS888888888', type: 'text', + options: { + field: 'qrcode', + testData: 'XS888888888', + height: 32, + fontSize: 12, + lineHeight: 18, + textType: "qrcode" + } + }, + { + tid: 'panelsProvider2.platform', title: '平台名称', data: '平台名称', type: 'text', + options: { + testData: '平台名称', + height: 17, + fontSize: 16.5, + fontWeight: "700", + textAlign: "center", + hideTitle: true + } + }, + {tid: 'panelsProvider2.image', title: 'Logo', data: '', type: 'image'}, + ]), + new hiprint.PrintElementTypeGroup("客户", [ + { + tid: 'panelsProvider2.khname', title: '客户名称', data: '高级客户', type: 'text', + options: { + field: 'name', + testData: '高级客户', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + { + tid: 'panelsProvider2.tel', title: '客户电话', data: '18888888888', type: 'text', + options: { + field: 'tel', + testData: '18888888888', + height: 16, + fontSize: 6.75, + fontWeight: "700", + textAlign: "left", + textContentVerticalAlign: "middle" + } + }, + ]), + new hiprint.PrintElementTypeGroup("表格/其他", [ + { + tid: 'panelsProvider2.table', title: '订单数据', + type: 'table', + options: { + field: 'table', + fields: [ + {text: '名称', field: 'NAME'}, + {text: '数量', field: 'SL'}, + {text: '规格', field: 'GG'}, + {text: '条码', field: 'TM'}, + {text: '单价', field: 'DJ'}, + {text: '金额', field: 'JE'}, + {text: '备注', field: 'DETAIL'}, + ], + }, + editable: true, + columnDisplayEditable: true,//列显示是否能编辑 + columnDisplayIndexEditable: true,//列顺序显示是否能编辑 + columnTitleEditable: true,//列标题是否能编辑 + columnResizable: true, //列宽是否能调整 + columnAlignEditable: true,//列对齐是否调整 + columns: [ + [ + {title: '名称', align: 'center', field: 'NAME', width: 100}, + {title: '数量', align: 'center', field: 'SL', width: 100}, + {title: '条码', align: 'center', field: 'TM', width: 100}, + {title: '规格', align: 'center', field: 'GG', width: 100}, + {title: '单价', align: 'center', field: 'DJ', width: 100}, + {title: '金额', align: 'center', field: 'JE', width: 100}, + {title: '备注', align: 'center', field: 'DETAIL', width: 100}, + ] + ], + footerFormatter: function (options, rows, data, currentPageGridRowsData) { + if (data && data['totalCap']) { + return `${'应收金额大写: ' + data['totalCap']}` + } + return '应收金额大写: ' + }, + }, + {tid: 'panelsProvider2.customText', title: '文本', customText: '自定义文本', custom: true, type: 'text'}, + { + tid: 'panelsProvider2.longText', title: '长文本', type: 'longText', options: { + field: 'test.longText', + width: 200, + testData: '长文本分页/不分页测试' + }, + } + ]), + new hiprint.PrintElementTypeGroup("辅助", [ + { + tid: 'panelsProvider2.hline', + title: '横线', + type: 'hline' + }, + { + tid: 'panelsProvider2.vline', + title: '竖线', + type: 'vline' + }, + { + tid: 'panelsProvider2.rect', + title: '矩形', + type: 'rect' + }, + { + tid: 'panelsProvider2.oval', + title: '椭圆', + type: 'oval' + } + ]) + ] + ); + }; + return { + addElementTypes: addElementTypes + }; +}; + +export const providers = [panelsProvider1(), panelsProvider2()]; +export const providerList = [{ + name: '设计1', + type: 1, + value: 'panelsProvider1', +}, { + name: '设计2', + type: 2, + value: 'panelsProvider2', +}] diff --git a/src/demo/tasks/index.vue b/src/demo/tasks/index.vue index e75a7370d1fc7a50f9e5730b7cec1e7521cb5f0b..3a0e734a6565d6f29e78154d68f2e403ba378d46 100644 --- a/src/demo/tasks/index.vue +++ b/src/demo/tasks/index.vue @@ -58,6 +58,7 @@ + @@ -91,6 +92,7 @@ + + diff --git a/src/demo/templates/preview.vue b/src/demo/templates/preview.vue new file mode 100644 index 0000000000000000000000000000000000000000..1fc0e53cf3a986e0ee9507598d138c24912ec34b --- /dev/null +++ b/src/demo/templates/preview.vue @@ -0,0 +1,148 @@ + + + + diff --git a/src/demo/templates/template-files/template1.js b/src/demo/templates/template-files/template1.js new file mode 100644 index 0000000000000000000000000000000000000000..943c0981810187f68dfbc8aaba81aac1f935922b --- /dev/null +++ b/src/demo/templates/template-files/template1.js @@ -0,0 +1,361 @@ +export const name = '默认模板'; +export const desc = '这是模板说明' +export const author = 'CcSimple' +export const link = 'https://github.com/CcSimple' +// url 或者 base64 或者 require('../../../assets/logo.png') +export const preview = 'https://gitee.com/CcSimple/vue-plugin-hiprint/raw/main/res/template1.png'; +export const printData = { + name: '黄磊', + logoTest: 'https://portrait.gitee.com/uploads/avatars/user/1800/5400665_CcSimple_1591166830.png!avatar60', + password: '12346', + longText: '浙江在线3月29日讯最近,\n一篇小学五年级学生写的作文引起了钱报记者的关注这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文', + table: [ + {id: '1', name: '王小可', gender: '男', count: '120', amount: '9089元'}, + {id: '2', name: '梦之遥', gender: '女', count: '20', amount: '89元'}, + {id: '3', name: '梦之遥', gender: '女', count: '720', amount: '29089元'}, + {id: '4', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '5', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '6', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '7', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '8', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '9', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '10', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '11', name: '王小可', gender: '男', count: '120', amount: '9089元'}, + {id: '12', name: '梦之遥', gender: '女', count: '20', amount: '89元'}, + {id: '13', name: '梦之遥', gender: '女', count: '720', amount: '29089元'}, + {id: '14', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '15', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '16', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '17', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '18', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '19', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '20', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '21', name: '王小可', gender: '男', count: '120', amount: '9089元'}, + {id: '22', name: '梦之遥', gender: '女', count: '20', amount: '89元'}, + {id: '23', name: '梦之遥', gender: '女', count: '720', amount: '29089元'}, + {id: '24', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '25', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '26', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '27', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '28', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '29', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '21', name: '王小可', gender: '男', count: '120', amount: '9089元'}, + {id: '22', name: '梦之遥', gender: '女', count: '20', amount: '89元'}, + {id: '23', name: '梦之遥', gender: '女', count: '720', amount: '29089元'}, + {id: '24', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '25', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '26', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '27', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '28', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '29', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '21', name: '王小可', gender: '男', count: '120', amount: '9089元'}, + {id: '22', name: '梦之遥', gender: '女', count: '20', amount: '89元'}, + {id: '23', name: '梦之遥', gender: '女', count: '720', amount: '29089元'}, + + {id: '29', name: '黄小菊', gender: '女', count: '420', amount: '19089元'}, + {id: '30', name: '黄小菊', gender: '女', count: '420', amount: '19089元'} + ] +} +export const json = { + "panels": [{ + "index": 0, + "height": 297, + "width": 210, + "paperHeader": 49.5, + "paperFooter": 780, + "printElements": [{ + "options": { + "left": 175.5, + "top": 10.5, + "height": 27, + "width": 259, + "title": "HiPrint自定义模块打印插件", + "fontSize": 19, + "fontWeight": "600", + "textAlign": "center", + "lineHeight": 26, + "coordinateSync": true, + "widthHeightSync": true, + "draggable": false, + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 60, "top": 27, "height": 13, "width": 52, "title": "页眉线", "textAlign": "center"}, + "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 25.5, "top": 57, "height": 705, "width": 9, "fixed": true, "borderStyle": "dotted"}, + "printElementType": {"type": "vline"} + }, { + "options": {"left": 60, "top": 61.5, "height": 48, "width": 87, "src": "", "fit": "contain"}, + "printElementType": {"title": "图片", "type": "image"} + }, { + "options": { + "left": 153, + "top": 64.5, + "height": 39, + "width": 276, + "title": "二维码以及条形码均采用svg格式打印。不同打印机打印不会造成失真。图片打印:不同DPI打印可能会导致失真,", + "fontFamily": "微软雅黑", + "textAlign": "center", + "lineHeight": 18 + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 457.5, + "top": 79.5, + "height": 13, + "width": 120, + "title": "姓名", + "field": "name", + "testData": "古力娜扎", + "color": "#f00808", + "textDecoration": "underline", + "textAlign": "center", + "fields": [{"text": 'id', "field": 'id'}, {"text": '姓名', "field": 'name'}, { + "text": '性别', + "field": 'gender' + }, {"text": '数量', "field": 'count'}], + }, "printElementType": {"title": "文本", "type": "text"} + }, { + "options": { + "left": 483, + "top": 124.5, + "height": 43, + "width": 51, + "title": "123456789", + "textType": "qrcode" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 285, + "top": 130.5, + "height": 34, + "width": 175, + "title": "123456789", + "fontFamily": "微软雅黑", + "textAlign": "center", + "textType": "barcode" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 60, + "top": 132, + "height": 19, + "width": 213, + "title": "所有打印元素都可已拖拽的方式来改变元素大小", + "fontFamily": "微软雅黑", + "textAlign": "center", + "lineHeight": 18 + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 153, + "top": 189, + "height": 13, + "width": 238, + "title": "单击元素,右侧可自定义元素属性", + "textAlign": "center", + "fontFamily": "微软雅黑" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 60, "top": 190.5, "height": 13, "width": 51, "title": "横线", "textAlign": "center"}, + "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 415.5, + "top": 190.5, + "height": 13, + "width": 164, + "title": "可以配置各属性的默认值", + "textAlign": "center", + "fontFamily": "微软雅黑" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 60, "top": 214.5, "height": 10, "width": 475.5}, + "printElementType": {"title": "横线", "type": "hline"} + }, { + "options": { + "left": 235.5, + "top": 220.5, + "height": 32, + "width": 342, + "title": "自定义表格:用户可左键选中表头,右键查看可操作项,操作类似Excel,双击表头单元格可进行编辑。内容:title#field", + "fontFamily": "微软雅黑", + "textAlign": "center", + "lineHeight": 15 + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 156, + "top": 265.5, + "height": 13, + "width": 94, + "title": "表头列大小可拖动", + "fontFamily": "微软雅黑", + "textAlign": "center" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 60, + "top": 265.5, + "height": 13, + "width": 90, + "title": "红色区域可拖动", + "fontFamily": "微软雅黑", + "textAlign": "center" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 60, + "top": 285, + "height": 56, + "width": 511.5, + "field": "table", + "tableFooterRepeat": "", + "fields": [{"text": 'id', "field": 'id'}, {"text": '姓名', "field": 'name'}, { + "text": '性别', + "field": 'gender' + }, {"text": '数量', "field": 'count'}], + "columns": [[{"width": 85.25, "colspan": 1, "rowspan": 1, "checked": true}, { + "title": "性别", + "field": "gender", + "width": 85.25, + "colspan": 1, + "rowspan": 1, + "checked": false + }, { + "title": "姓名", + "field": "name", + "width": 85.25, + "align": "center", + "colspan": 1, + "rowspan": 1, + "checked": true, + "tableSummary": "count" + }, { + "title": "数量", + "field": "count", + "width": 85.25, + "align": "center", + "colspan": 1, + "rowspan": 1, + "checked": true, + "tableSummary": "sum" + }, { + "width": 85.25, + "colspan": 1, + "rowspan": 1, + "checked": true + }, {"width": 85.25, "colspan": 1, "rowspan": 1, "checked": true}]] + }, "printElementType": { + "title": "表格", "type": "table", + } + }, { + "options": { + "left": 21, + "top": 346.5, + "height": 61.5, + "width": 15, + "title": "装订线", + "lineHeight": 18, + "fixed": true, + "contentPaddingTop": 3.75, + "backgroundColor": "#ffffff" + }, "printElementType": {"type": "text"} + }, { + "options": { + "left": 225, + "top": 355, + "height": 13, + "width": 346.5, + "title": "自定义模块:主要为开发人员设计,能够快速,简单,实现自己功能", + "textAlign": "center" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 60, "top": 370.5, "height": 18, "width": 79, "title": "配置项表格", "textAlign": "center"}, + "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 225, + "top": 385.5, + "height": 38, + "width": 346.5, + "title": "配置模块:主要为客户使用,开发人员可以配置属性,字段,标题等,客户直接使用,配置模块请参考实例2", + "fontFamily": "微软雅黑", + "lineHeight": 15, + "textAlign": "center", + "color": "#d93838" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 60, + "top": 487.5, + "height": 13, + "width": 123, + "title": "长文本会自动分页", + "textAlign": "center" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 60, "top": 507, "height": 40, "width": 511.5, "field": "longText"}, + "printElementType": {"title": "长文", "type": "longText"} + }, { + "options": {"left": 475.5, "top": 565.5, "height": 100, "width": 100}, + "printElementType": {"title": "矩形", "type": "rect"} + }, { + "options": {"left": 174, "top": 568.5, "height": 13, "width": 90, "title": "竖线", "textAlign": "center"}, + "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 60, "top": 574.5, "height": 100, "width": 10}, + "printElementType": {"title": "竖线", "type": "vline"} + }, { + "options": {"left": 210, "top": 604.5, "height": 13, "width": 120, "title": "横线", "textAlign": "center"}, + "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 130.5, "top": 625.5, "height": 10, "width": 277}, + "printElementType": {"title": "横线", "type": "hline"} + }, { + "options": { + "left": 364.5, + "top": 649.5, + "height": 13, + "width": 101, + "title": "矩形", + "textAlign": "center" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 525, "top": 784.5, "height": 13, "width": 63, "title": "页尾线", "textAlign": "center"}, + "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": {"left": 12, "top": 786, "height": 49, "width": 49}, + "printElementType": {"title": "html", "type": "html"} + }, { + "options": { + "left": 75, + "top": 790.5, + "height": 13, + "width": 137, + "title": "红色原型是自动定义的Html", + "textAlign": "center" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }, { + "options": { + "left": 334.5, + "top": 810, + "height": 13, + "width": 205, + "title": "页眉线已上。页尾下以下每页都会重复打印", + "textAlign": "center" + }, "printElementType": {"title": "自定义文本", "type": "text"} + }], + "paperNumberLeft": 565.5, + "paperNumberTop": 819 + }] +} +export default { + preview: preview, + name: name, + desc: desc, + author: author, + link: link, + printData: printData, + json: json +} diff --git a/src/demo/templates/template-files/template2.js b/src/demo/templates/template-files/template2.js new file mode 100644 index 0000000000000000000000000000000000000000..5532a7430e2e81f210422f7db043884d435e3967 --- /dev/null +++ b/src/demo/templates/template-files/template2.js @@ -0,0 +1,286 @@ +/* + * @Author: 54xavier + * @LastEditors: 54xavier + * @Date: 2023-02-28 14:00:03 + * @LastEditTime: 2023-02-28 14:18:14 + */ +export const name = '一行多组'; +export const desc = '条码、标签A4纸铺满打印demo' +export const author = '54xavier' +export const link = "https://ccsimple.gitee.io/vue-plugin-hiprint/"; +// url 或者 base64 或者 require('../../../assets/logo.png') +export const preview = 'https://gitee.com/CcSimple/vue-plugin-hiprint/raw/main/res/template2.png'; +export const printData = { + table: [ + { + name: "Apple iPhone 13 Pro Max", + type: "Mobile Phone", + barcode: "190199829853", + }, + { + name: "Samsung Galaxy S21 Ultra", + type: "Mobile Phone", + barcode: "8801643871977", + }, + { + name: "Sony WH-1000XM4 Wireless Headphones", + type: "Headphones", + barcode: "027242919905", + }, + { + name: "Lenovo ThinkPad X1 Carbon Gen 9", + type: "Laptop", + barcode: "195235458521", + }, + { + name: "Apple iPad Air", + type: "Tablet", + barcode: "190199855659", + }, + { + name: "Dell XPS 13", + type: "Laptop", + barcode: "884116382030", + }, + { + name: "Amazon Echo Dot (3rd Gen)", + type: "Smart Speaker", + barcode: "841667155635", + }, + { + name: "Google Nest Hub", + type: "Smart Display", + barcode: "193575001505", + }, + { + name: "Samsung QN90A Neo QLED TV", + type: "Television", + barcode: "887276496535", + }, + { + name: "LG CX OLED TV", + type: "Television", + barcode: "719192633020", + }, + { + name: "PlayStation 5", + type: "Gaming Console", + barcode: "711719541042", + }, + { + name: "Xbox Series X", + type: "Gaming Console", + barcode: "889842687482", + }, + { + name: "Apple Watch Series 7", + type: "Smartwatch", + barcode: "190199874322", + }, + { + name: "Fitbit Charge 5", + type: "Fitness Tracker", + barcode: "811138039822", + }, + { + name: "Bose QuietComfort 35 II", + type: "Headphones", + barcode: "017817770613", + }, + { + name: "Logitech MX Master 3", + type: "Computer Mouse", + barcode: "097855149969", + }, + { + name: "Nintendo Switch", + type: "Gaming Console", + barcode: "04549688180", + }, + { + name: "HP OfficeJet Pro 9015e All-in-One Printer", + type: "Printer", + barcode: "194721013844", + }, + { + name: "Canon EOS R5", + type: "Mirrorless Camera", + barcode: "013803338279", + }, + { + name: "Sony WH-1000XM3 Wireless Headphones", + type: "Headphones", + barcode: "027242908676", + }, + { + name: "Bose SoundLink Revolve+", + type: "Bluetooth Speaker", + barcode: "017817744171", + }, + { + name: "Nest Learning Thermostat", + type: "Smart Thermostat", + barcode: "813917021952", + }, + { + name: "LG C1 OLED TV", + type: "Television", + barcode: "719192641615", + }, + { + name: "Samsung Galaxy Tab S7", + type: "Tablet", + barcode: "887276447402", + }, + { + name: "Dyson V11 Absolute Cordless Vacuum", + type: "Vacuum Cleaner", + barcode: "885609020334", + }, + { + name: "GoPro HERO10 Black", + type: "Action Camera", + barcode: "818279029168", + }, + { + name: "Microsoft Surface Laptop 4", + type: "Laptop", + barcode: "889842724245", + }, + { + name: "Apple AirPods Pro", + type: "Wireless Earbuds", + barcode: "190199246850", + }, + { + name: "Sony A7S III", + type: "Mirrorless Camera", + barcode: "027242919925", + }, + { + name: "Samsung Galaxy Watch 4", + type: "Smartwatch", + barcode: "887276531088", + }, + { + name: "Bose SoundSport Wireless Earbuds", + type: "Wireless Earbuds", + barcode: "017817731355", + }, + { + name: "NVIDIA GeForce RTX 3080", + type: "Graphics Card", + barcode: "812674023590", + }, + { + name: "Sony WH-CH710N Wireless Headphones", + type: "Headphones", + barcode: "027242917711", + }, + { + name: "Bose QuietComfort Earbuds", + type: "Wireless Earbuds", + barcode: "017817788293", + }, + { + name: "Apple MacBook Pro 16-inch", + type: "Laptop", + barcode: "190199397010", + }, + { + name: "Samsung Galaxy Note 20 Ultra", + type: "Mobile Phone", + barcode: "887276395219", + }, + { + name: "Google Pixel 6", + type: "Mobile Phone", + barcode: "842776101253", + }, + { + name: "Microsoft Xbox Wireless Controller", + type: "Gaming Controller", + barcode: "889842493038", + }, + { + name: "Logitech G502 HERO Gaming Mouse", + type: "Gaming Mouse", + barcode: "097855135391", + }, + { + name: "Sony WF-1000XM4 Wireless Earbuds", + type: "Wireless Earbuds", + barcode: "027242920023", + }, + ], +}; +export const json = { + panels: [ + { + index: 0, + height: 297, + width: 210, + paperHeader: 0, + paperFooter: 842, + printElements: [ + { + options: { + left: 20, + top: 20, + height: 56, + width: 555, + field: "table", + tableHeaderRepeat: "none", + tableBorder: "noBorder", + tableBodyRowBorder: "noBorder", + tableBodyCellBorder: "noBorder", + gridColumns: 2, + gridColumnsGutter: 3, + fields: [ + { + text: "商品名称", + field: "name", + }, + { + text: "商品编码", + field: "code", + }, + ], + columns: [ + [ + { + title: "商品名称", + field: "name", + checked: true, + renderFormatter: + "function(value,row,index,options){return `商品名:${row.name || '测试商品名'}
    条码:${row.barcode || '123456'}`}", + }, + { + title: "商品条码", + field: "barcode", + checked: true, + tableTextType: "barcode", + }, + ], + ], + }, + printElementType: { + title: "表格", + type: "table", + }, + }, + ], + paperNumberLeft: 565.5, + paperNumberTop: 819, + }, + ], +}; +export default { + preview: preview, + name: name, + desc: desc, + author: author, + link: link, + printData: printData, + json: json +} diff --git a/src/demo/templates/template-files/template3.js b/src/demo/templates/template-files/template3.js new file mode 100644 index 0000000000000000000000000000000000000000..7d1d392367bf389d63cc35a20bfa352c2d4da79d --- /dev/null +++ b/src/demo/templates/template-files/template3.js @@ -0,0 +1,385 @@ +export const name = '合并示例'; +export const desc = '首列合并示例'; +export const author = 'CcSimple' +export const link = 'https://github.com/CcSimple' +// url 或者 base64 或者 require('../../../assets/logo.png') +export const preview = 'https://gitee.com/CcSimple/vue-plugin-hiprint/raw/main/res/template3.png'; +export const printData = { + table: [ + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 217001, + name2: "普通课程名称 1", + type: "学位课", + time: 48, + score: 3, + score2: 75, + start: "20年秋季", + tName2: "张丽莎", + type2: "考试" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258905, + name2: "普通课程名称 2", + type: "学位课", + time: 32, + score: 2, + score2: 84, + start: "21年春季", + tName2: "张丽莎", + type2: "考试" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 217502, + name2: "普通课程名称 3", + type: "学位课", + time: 16, + score: 1, + score2: 91, + start: "20年秋季", + tName2: "张丽莎", + type2: "考试" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258904, + name2: "高级不普通的课程名称 1", + type: "学位课", + time: 32, + score: 2, + score2: 86, + start: "20年秋季", + tName2: "张丽莎", + type2: "考试" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258903, + name2: "高级不普通的课程名称 2", + type: "学位课", + time: 48, + score: 3, + score2: 90, + start: "20年秋季", + tName2: "张丽莎", + type2: "考试" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 259307, + name2: "高级不普通的课程名称 3", + type: "学位课", + time: 32, + score: 2, + score2: 69, + start: "20年秋季", + tName2: "张丽莎", + type2: "考试" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258906, + name2: "高级不普通的课程名称 4", + type: "学位课", + time: 32, + score: 2, + score2: 91, + start: "21年春季", + tName2: "张丽莎", + type2: "考试", + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 217503, + name2: "普通的课程名称 6", + type: "学位课", + time: 32, + score: 2, + score2: 80, + start: "21年春季", + tName2: "张丽莎", + type2: "考试" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 216001, + name2: "普通的课程名称 7", + type: "必修环节", + time: 16, + score: 1, + score2: 79, + start: "21年春季", + tName2: "张丽莎", + type2: "考查" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258919, + name2: "普通的课程名称 8", + type: "必修环节", + time: 0, + score: 6, + score2: 0, + start: "21年秋季", + tName2: "张丽莎", + type2: "" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258915, + name2: "高级不普通的课程名称 6", + type: "选修课", + time: 16, + score: 1, + score2: 87, + start: "20年秋季", + tName2: "张丽莎", + type2: "考查" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258911, + name2: "高级不普通的课程名称 7", + type: "选修课", + time: 32, + score: 2, + score2: 91, + start: "20年秋季", + tName2: "张丽莎", + type2: "考查" + }, + { + code: 2223068061, + uName: "张三", + tName: "李丽", + id: 258907, + name2: "高级不普通的课程名称 8", + type: "选修课", + time: 32, + score: 2, + score2: 82, + start: "20年秋季", + tName2: "张丽莎", + type2: "考试" + }, + ] +} +export const json = { + "panels": [{ + "index": 0, "name": 1, "height": 296.6, "width": 210, "paperHeader": 24, "paperFooter": 805.5, "printElements": [{ + "options": { + "left": 15, + "top": 42, + "height": 64.5, + "width": 555, + "field": "table", + "coordinateSync": false, + "widthHeightSync": false, + "right": 565, + "bottom": 96, + "vCenter": 290, + "hCenter": 69, + "tableHeaderRowHeight": 30, + "tableBodyRowHeight": 30, + "rowsColumnsMerge": "function (data, col, colIndex, rowIndex) {\n console.log('data', data);\n console.log('col', col);\n console.log('colIndex', colIndex);\n console.log('rowIndex', rowIndex);\n // 返回一个数组,参数一为行(rowspan)合并数,参数二为列(colspan)合并数, 被合并的行或者列值设为0\n if (rowIndex >= 0 && rowIndex < 8) {\n return colIndex == 0 ? [rowIndex == 0 ? 8 - 0 : 0, 1] : [1, 1];\n } else if (rowIndex >= 8 && rowIndex < 10) {\n return colIndex == 0 ? [rowIndex == 8 ? 10 - 8 : 0, 1] : [1, 1];\n } else if (rowIndex >= 10 && rowIndex < 13) {\n return colIndex == 0 ? [rowIndex == 10 ? 13 - 10 : 0, 1] : [1, 1];\n } else {\n return [1, 1]\n }\n}", + "rowsColumnsMergeClean": true, + "tableHeaderRepeat": "first", + "columns": [[{ + "width": 51.517525000000006, + "title": "课程
    类别", + "field": "type", + "checked": true, + "columnId": "type", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 125.68322499999994, + "title": "课程编号", + "field": "id", + "checked": true, + "columnId": "id", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 212.86675000000005, + "title": "课程名称", + "field": "name2", + "checked": true, + "columnId": "name2", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 55.02175000000007, + "title": "学时", + "field": "time", + "checked": true, + "columnId": "time", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 54.910749999999936, + "title": "学分", + "field": "score", + "checked": true, + "columnId": "score", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 100, + "title": "开课时间", + "field": "start", + "checked": true, + "columnId": "start", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 100, + "title": "任课老师", + "field": "tName2", + "checked": true, + "columnId": "tName2", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 100, + "title": "考核成绩", + "field": "score2", + "checked": true, + "columnId": "score2", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, { + "width": 100, + "title": "备注", + "checked": true, + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center", + "tableColumnHeight": "30", + "tableTextType": "text", + "tableBarcodeMode": "CODE128A", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }]] + }, + "printElementType": { + "title": "订单数据", + "type": "table", + "editable": true, + "columnDisplayEditable": true, + "columnDisplayIndexEditable": true, + "columnTitleEditable": true, + "columnResizable": true, + "columnAlignEditable": true, + "isEnableEditField": true, + "isEnableContextMenu": true, + "isEnableInsertRow": true, + "isEnableDeleteRow": true, + "isEnableInsertColumn": true, + "isEnableDeleteColumn": true, + "isEnableMergeCell": true + } + }], "paperNumberLeft": 565.5, "paperNumberTop": 814.5, "watermarkOptions": {} + }] +} +export default { + preview: preview, + name: name, + desc: desc, + author: author, + link: link, + printData: printData, + json: json +} diff --git a/src/demo/templates/template-files/template4.js b/src/demo/templates/template-files/template4.js new file mode 100644 index 0000000000000000000000000000000000000000..df1cc658b69737064fd3edcf4c3ebdd2295b1369 --- /dev/null +++ b/src/demo/templates/template-files/template4.js @@ -0,0 +1,630 @@ +export const name = '自定义渲染表格'; +export const desc = '不一样的表格显示效果'; +export const author = '群友提供' +export const link = 'https://github.com/CcSimple' +// url 或者 base64 或者 require('../../../assets/logo.png') +export const preview = 'https://gitee.com/CcSimple/vue-plugin-hiprint/raw/main/res/template4.png'; +export const extendCss = "" +export const printData = { + title: 'XXXX有限公司', // 标题 + orderId: 'XY202304001', // 订单号 + workId: 'GLSW2023001', // 工程单号 + work_info: [ + { + workId: 'GLSW2023001', // 工程单号 + order_date: '2023-06-03', // 订单日期 + customer: '广州戈蓝生物科技有限公司', // 客户名称 + quality: '做工精细注意细节', // 质量要求 + delivery_date: '2023-06-31', // 交货日期 + } + ], + printDate: '2023/06/03 12:00:00', // 打印日期 + creater: '张三', // 制单人 + checker: '李四', // 审核人 + product_info: [ // 产品信息 + { + product_type: '精装盒', + product_name: 'Benggre臻护凝时皮肤管理套', + product_size: '380*280*45', + product_quantity: 1000, + product_packing: '纸包', + workmanship: '手工、粘、啤', + yinshuase: '四色', + wenjian: '新', + yangpin: '有', + remark: '不明白请及时问清楚', // 备注 + material: [ + { + type_name: '面纸', + name: '350克冰白珠光纸', + quantity: 1400, + size: '787*880(各拼一个)', + warkmanship: '哑胶、浮雕烫金、烫金、击凸、单面印' + }, + {type_name: '内盒卡纸', name: '350克单铜', quantity: 2300, size: '787*880(各拼一个)', warkmanship: ''}, + ] + }, + { + product_type: '精装盒', + product_name: 'Benggre肌肤水润嫩滑肌套', + product_size: '380*280*45', + product_quantity: 1000, + product_packing: '纸包', + workmanship: '哑胶、浮雕烫金、烫金、击凸、手工、粘、啤、单面印', + yinshuase: '四色', + wenjian: '新', + yangpin: '有', + remark: '不明白请及时问清楚', // 备注 + material: [ + { + type_name: '面纸', + name: '350克冰白珠光纸', + quantity: 1400, + size: '787*880(各拼一个)', + warkmanship: '哑胶、浮雕烫金、烫金、击凸、单面印' + }, + {type_name: '内盒卡纸', name: '350克单铜', quantity: 2300, size: '787*880(各拼一个)', warkmanship: ''}, + ] + } + ], + order_remark: 'Benggre臻护凝时皮肤管理套 (尺寸:380*280*45数量1000个)2、Benggre肌肤水润嫩滑肌套 (尺寸:380*280*45数量1000个)3、Benggre光感焕肤套 (尺寸:340*260*45数量1000个)4、Benggre三纹鱼舒缓倍护能量套 (尺寸:380*280*45数量1000个):350克冰白珠光纸四色印刷,工艺烫金、佛雕烫金、激凸,内盒350克单铜过哑膜啤折盒,内有吸塑要放吸塑进去注意质量不要开胶烫金不清晰磨花等情况。跟进一下客户的纸箱', +} +export const json = { + "panels": [ + { + "index": "0", + "name": "1", + "height": 296, + "width": 210, + "paperHeader": "66", + "paperFooter": 813, + "printElements": [ + { + "options": { + "left": 145, + "top": 12.5, + "height": 19.5, + "width": 316.5, + "field": "title", + "testData": "xxxxx有限公司", + "fontSize": 20.25, + "letterSpacing": 6, + "fontWeight": "700", + "textContentVerticalAlign": "middle", + "hideTitle": true, + "title": "企业名称", + "right": 461.25, + "bottom": 33, + "vCenter": 303, + "hCenter": 23.25, + "coordinateSync": false, + "widthHeightSync": false, + "qrCodeLevel": 0, + "textAlign": "center" + }, + "printElementType": { + "title": "企业名称", + "type": "text" + } + }, + { + "options": { + "left": 507, + "top": 15, + "height": 42, + "width": 42, + "field": "workId", + "testData": "MGPT2023002", + "fontSize": 12, + "lineHeight": 18, + "textType": "qrcode", + "title": "二维码", + "right": 549, + "bottom": 51, + "vCenter": 528, + "hCenter": 30, + "coordinateSync": false, + "widthHeightSync": false, + "qrCodeLevel": 0 + }, + "printElementType": { + "title": "二维码", + "type": "text" + } + }, + { + "options": { + "left": 247.5, + "top": 37.5, + "height": 19.5, + "width": 100.5, + "title": "工程单", + "right": 347.25, + "bottom": 42.75, + "vCenter": 297, + "hCenter": 37.875, + "coordinateSync": false, + "widthHeightSync": false, + "fontSize": 18, + "fontWeight": "400", + "letterSpacing": 9, + "textAlign": "center", + "textContentVerticalAlign": "middle", + "lineHeight": 18, + "qrCodeLevel": 0 + }, + "printElementType": { + "title": "文本", + "type": "text" + } + }, + { + "options": { + "left": 13.5, + "top": 45, + "height": 16, + "width": 120, + "field": "orderId", + "testData": "XY20230602001", + "fontSize": 6.75, + "textAlign": "center", + "textContentVerticalAlign": "middle", + "title": "订单编号", + "right": 124.5, + "bottom": 60.25, + "vCenter": 64.5, + "hCenter": 52.25, + "coordinateSync": false, + "widthHeightSync": false, + "qrCodeLevel": 0 + }, + "printElementType": { + "title": "订单编号", + "type": "text" + } + }, + { + "options": { + "left": 7.5, + "top": 61.5, + "height": 9, + "width": 577.5, + "right": 96.75, + "bottom": 64.5, + "vCenter": 51.75, + "hCenter": 60 + }, + "printElementType": { + "title": "横线", + "type": "hline" + } + }, + { + "options": { + "left": 28.5, + "top": 70.5, + "height": 36, + "width": 538.5, + "field": "work_info", + "fields": [ + { + "text": "订单日期", + "field": "order_date" + }, + { + "text": "工程单号", + "field": "workId" + }, + { + "text": "客户名称", + "field": "customer" + }, + { + "text": "交货日期", + "field": "delivery_date" + }, + { + "text": "质量要求", + "field": "quality" + } + ], + "right": 578.5, + "bottom": 109.5, + "vCenter": 303.5, + "hCenter": 91.5, + "coordinateSync": false, + "widthHeightSync": false, + "columns": [ + [ + { + "width": 78.01380865921793, + "title": "订单日期", + "field": "order_date", + "checked": true, + "columnId": "order_date", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center" + }, + { + "width": 82.37420460893856, + "title": "工程单号", + "field": "workId", + "checked": true, + "columnId": "workId", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center" + }, + { + "width": 164.95573673184356, + "title": "客户名称", + "field": "customer", + "checked": true, + "columnId": "customer", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "left", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + }, + { + "width": 90.0673840782123, + "title": "交货日期", + "field": "delivery_date", + "checked": true, + "columnId": "delivery_date", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "center" + }, + { + "width": 123.08886592178769, + "title": "质量要求", + "field": "quality", + "checked": true, + "columnId": "quality", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "left", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + } + ] + ] + }, + "printElementType": { + "title": "订单信息(表格)", + "type": "table", + "editable": true, + "columnDisplayEditable": true, + "columnDisplayIndexEditable": true, + "columnTitleEditable": true, + "columnResizable": true, + "columnAlignEditable": true, + "isEnableEditField": true, + "isEnableContextMenu": true, + "isEnableInsertRow": true, + "isEnableDeleteRow": true, + "isEnableInsertColumn": true, + "isEnableDeleteColumn": true, + "isEnableMergeCell": true + } + }, + { + "options": { + "left": 25.5, + "top": 123, + "height": 126, + "width": 546, + "tableFooterRepeat": "no", + "field": "product_info", + "fields": [ + { + "text": "类型", + "field": "product_type" + } + ], + "right": 573, + "bottom": 248.25, + "vCenter": 300, + "hCenter": 185.25, + "coordinateSync": false, + "widthHeightSync": false, + "tableHeaderRepeat": "none", + "tableBorder": "noBorder", + "tableHeaderBorder": "noBorder", + "tableHeaderCellBorder": "noBorder", + "tableBodyRowBorder": "noBorder", + "tableBodyCellBorder": "noBorder", + "tableFooterBorder": "noBorder", + "tableFooterCellBorder": "noBorder", + "columns": [ + [ + { + "width": 546, + "title": "类型", + "field": "product_type", + "checked": true, + "columnId": "product_type", + "fixed": false, + "rowspan": 1, + "colspan": 1, + "align": "left", + "renderFormatter": "function(value,row,index,options){\n let rowTemplate = '';\n rowTemplate += `\n
    \n
    \n 产品类型:\n ${row.product_type}\n
    \n
    \n 产品名称:\n ${row.product_name}\n
    \n
    \n 产品尺寸:\n ${row.product_size}\n
    \n
    \n 订单数量:\n ${row.product_quantity}\n
    \n
    \n 包装方式:\n ${row.product_packing}\n
    \n
    \n 印刷色:\n ${row.yinshuase}\n
    \n
    \n 文件:\n ${row.wenjian}\n
    \n
    \n 样品:\n ${row.yangpin}\n
    \n
    \n 印后工艺:\n ${row.workmanship}\n
    \n
    \n 注意事项:\n ${row.remark}\n
    \n
    \n
    \n
    类型
    \n
    材料名称
    \n
    尺寸
    \n
    数量
    \n
    材料工艺
    \n
    `;\n for (var i = 0; i < row.material?.length; i++) {\n rowTemplate += `\n
    \n
    ${row.material[i].type_name}
    \n
    ${row.material[i].name}
    \n
    ${row.material[i].size}
    \n
    ${row.material[i].quantity}
    \n
    ${row.material[i].warkmanship}
    \n
    \n `;\n }\n rowTemplate += `
    `;\n return rowTemplate;\n}", + "tableQRCodeLevel": 0, + "tableSummaryTitle": true, + "tableSummary": "" + } + ] + ] + }, + "printElementType": { + "title": "产品资料", + "type": "table", + "editable": true, + "columnDisplayEditable": true, + "columnDisplayIndexEditable": true, + "columnTitleEditable": true, + "columnResizable": true, + "columnAlignEditable": true, + "isEnableEditField": true, + "isEnableContextMenu": true, + "isEnableInsertRow": true, + "isEnableDeleteRow": true, + "isEnableInsertColumn": true, + "isEnableDeleteColumn": true, + "isEnableMergeCell": true + } + }, + { + "options": { + "left": 22.5, + "top": 265.5, + "height": 177, + "width": 538.5, + "right": 567, + "bottom": 522.75, + "vCenter": 297.75, + "hCenter": 434.25 + }, + "printElementType": { + "title": "矩形", + "type": "rect" + } + }, + { + "options": { + "left": 30, + "top": 268.5, + "height": 27, + "width": 82.5, + "title": "订单备注", + "right": 117.75, + "bottom": 501, + "vCenter": 76.5, + "hCenter": 487.5, + "coordinateSync": false, + "widthHeightSync": false, + "hideTitle": true, + "fontSize": 12, + "textContentVerticalAlign": "middle", + "qrCodeLevel": 0 + }, + "printElementType": { + "title": "文本", + "type": "text" + } + }, + { + "options": { + "left": 36, + "top": 304.5, + "height": 124.5, + "width": 511.5, + "right": 553.5, + "bottom": 509.25, + "vCenter": 297.75, + "hCenter": 432.75, + "field": "order_remark", + "coordinateSync": false, + "widthHeightSync": false, + "hideTitle": true, + "fontFamily": "SimSun", + "letterSpacing": 2.25, + "qrCodeLevel": 0 + }, + "printElementType": { + "title": "文本", + "type": "text" + } + }, + { + "options": { + "left": 307.5, + "top": 450, + "height": 16, + "width": 120, + "field": "creater", + "testData": "李四", + "fontSize": 6.75, + "textAlign": "left", + "textContentVerticalAlign": "middle", + "title": "制单人", + "right": 419.25, + "bottom": 598, + "vCenter": 359.25, + "hCenter": 590 + }, + "printElementType": { + "title": "制单人", + "type": "text" + } + }, + { + "options": { + "left": 429, + "top": 450, + "height": 16, + "width": 120, + "field": "checker", + "testData": "赵五", + "fontSize": 6.75, + "textContentVerticalAlign": "middle", + "title": "审核", + "right": 526.5, + "bottom": 269.5, + "vCenter": 466.5, + "hCenter": 261.5, + "coordinateSync": false, + "widthHeightSync": false, + "qrCodeLevel": 0 + }, + "printElementType": { + "title": "审核员", + "type": "text" + } + }, + { + "options": { + "left": 7.5, + "top": 814.5, + "height": 16, + "width": 168, + "field": "printDate", + "testData": "2022-01-01 09:00", + "fontSize": 6.75, + "textAlign": "left", + "textContentVerticalAlign": "middle", + "title": "打印时间", + "right": 147, + "bottom": 833.5, + "vCenter": 77.25, + "hCenter": 825.5 + }, + "printElementType": { + "title": "打印时间", + "type": "text" + } + } + ], + "paperNumberLeft": 300, + "paperNumberTop": 816, + "paperNumberContinue": true, + "watermarkOptions": { + "content": "", + "fillStyle": "rgba(184, 184, 184, 0.3)", + "fontSize": "14px", + "rotate": 25, + "width": 200, + "height": 200, + "timestamp": true, + "format": "YYYY-MM-DD HH:mm" + } + } + ] +} + +export default { + preview: preview, + name: name, + desc: desc, + author: author, + link: link, + extendCss: extendCss, + printData: printData, + json: json +} diff --git a/src/demo/templates/template-files/template5.js b/src/demo/templates/template-files/template5.js new file mode 100644 index 0000000000000000000000000000000000000000..8080eabcbed8f0040e1385f6864264dbc6e18458 --- /dev/null +++ b/src/demo/templates/template-files/template5.js @@ -0,0 +1,180 @@ +/* + * @Author: 54xavier + * @LastEditors: admin@54xavier.cn + * @Date: 2023-02-28 14:00:03 + * @LastEditTime: 2023-08-08 19:33:15 + */ +export const name = "DM码实现"; +export const desc = "通过HTML元素实现DM码"; +export const author = "54xavier"; +export const link = "https://ccsimple.gitee.io/vue-plugin-hiprint/"; +// url 或者 base64 或者 require('../../../assets/logo.png') +export const preview = + "https://gitee.com/CcSimple/vue-plugin-hiprint/raw/main/res/template5.png"; +export const printData = { + DMCode1: "123456", + DMCode2: "234567", +}; +export const json = { + panels: [ + { + index: 0, + name: 1, + height: 297, + width: 210, + paperHeader: 0, + paperFooter: 842, + printElements: [ + { + options: { + left: 0, + top: 0, + height: 1, + width: 1, + formatter: `function(t, e, printData) { + var script = document.createElement("script"); + script.setAttribute("type", "text/javascript"); + script.setAttribute("src", "https://datalog.github.io/demo/datamatrix-svg/datamatrix.min.js"); + return script; + }`, + }, + printElementType: { + // 此元素为 DATAMatrix 依赖,此方法仅浏览器打印(print)生效,print2可能会无法加载依赖,需要手动在electron-hiprint项目中引入依赖 + // 如果不使用 print2 可将此依赖全局添加到你自己项目中,只需设计、预览时能加载到此依赖即可 + title: "DATAMatrix依赖", + type: "html", + }, + }, + { + options: { + left: 0, + top: 0, + height: 1, + width: 1, + formatter: `function(t, e, printData) { + var script = document.createElement("script"); + script.setAttribute("type", "text/javascript"); + script.setAttribute("src", "https://cdnjs.cloudflare.com/ajax/libs/bwip-js/4.0.0/bwip-js-min.js"); + return script; + }`, + }, + printElementType: { + // 此元素为 bwip-js 依赖,此方法仅浏览器打印(print)生效,print2可能会无法加载依赖,需要手动在electron-hiprint项目中引入依赖 + // 如果不使用 print2 可将此依赖全局添加到你自己项目中,只需设计、预览时能加载到此依赖即可 + title: "bwip-js依赖", + type: "html", + }, + }, + { + options: { + left: 12, + top: 12, + height: 200, + width: 200, + formatter: `function(t, e, printData) { + if (window.DATAMatrix) { + var svgNode = DATAMatrix({msg: printData?.DMCode1 || "testData", dim: 267}); + return svgNode; + } else { + return "
    点击打印预览查看
    "; + } + }`, + coordinateSync: false, + widthHeightSync: false, + }, + printElementType: { title: "html", type: "html" }, + }, + { + options: { + left: 230, + top: 12, + height: 200, + width: 200, + formatter: `function(t, e, printData) { + if (window.bwipjs) { + var canvas = document.createElement("canvas"); + var _bwip = bwipjs.toCanvas(canvas, { + bcid: "datamatrix", + text: printData?.DMCode2 || "testData", + scale: 3, + width: 30, + height: 30, + }); + return \`\`; + } else { + return "
    点击打印预览查看
    "; + } + }`, + right: 566.24609375, + bottom: 221.24609375, + vCenter: 466.24609375, + hCenter: 121.24609375, + coordinateSync: false, + widthHeightSync: false, + }, + printElementType: { title: "html", type: "html" }, + }, + { + options: { + left: 12, + top: 212, + height: 12, + width: 200, + title: "datamatrix-svg", + textAlign: "center", + right: 119.75, + bottom: 294.24609375, + vCenter: 82.75, + hCenter: 288.24609375, + coordinateSync: false, + widthHeightSync: false, + qrCodeLevel: 0, + }, + printElementType: { title: "自定义文本", type: "text" }, + }, + { + options: { + left: 230, + top: 212, + height: 12, + width: 200, + title: "bwip-js", + textAlign: "center", + right: 494, + bottom: 327.24609375, + vCenter: 457, + hCenter: 321.24609375, + coordinateSync: false, + widthHeightSync: false, + qrCodeLevel: 0, + }, + printElementType: { title: "自定义文本", type: "text" }, + }, + { + options: { + left: 12, + top: 230, + height: 12, + width: 418, + title: + "说明:此处模版以不可见 html 元素加载 datamatrix-svg 及 bwip-js ,故第一次打开无法显示预览,但后续的 print api 能够正常显示,你可以在你的项目中全局加载所需依赖,保证设计、预览时能加载到,即可删除用于引入依赖的html元素。使用 print2 需要在 electron-hiprint 项目渲染层中添加该依赖,否则客户端首次打印都无法正常渲染对应的元素", + }, + printElementType: { title: "说明", type: "text" }, + }, + ], + paperNumberLeft: 565.5, + paperNumberTop: 819, + paperNumberContinue: true, + watermarkOptions: {}, + }, + ], +}; +export default { + preview: preview, + name: name, + desc: desc, + author: author, + link: link, + printData: printData, + json: json, +}; diff --git a/src/demo/templates/template-files/template6.js b/src/demo/templates/template-files/template6.js new file mode 100644 index 0000000000000000000000000000000000000000..4bd4023ae5d7e456323f85120dbfacb276784f3b --- /dev/null +++ b/src/demo/templates/template-files/template6.js @@ -0,0 +1,223 @@ +/* + * @Author: 54xavier + * @LastEditors: admin@54xavier.cn + * @Date: 2023-02-28 14:00:03 + * @LastEditTime: 2023-08-08 19:32:55 + */ +export const name = "Echarts实现"; +export const desc = "通过HTML元素实现Echarts-svg"; +export const author = "54xavier"; +export const link = "https://ccsimple.gitee.io/vue-plugin-hiprint/"; +// url 或者 base64 或者 require('../../../assets/logo.png') +export const preview = + "https://gitee.com/CcSimple/vue-plugin-hiprint/raw/main/res/template6.png"; +function getRandomInt({ min = 10, max = 200 }) { + return Math.floor(Math.random() * (max - min + 1)) + min; +} +export const printData = { + lineData: Array.from(new Array(7), () => getRandomInt({})), + barData: Array.from(new Array(7), () => getRandomInt({})), + pieData: Array.from(new Array(5), (_, i) => ({ + value: getRandomInt({}), + name: `系列${i}`, + })), +}; +export const json = { + panels: [ + { + index: 0, + name: 1, + height: 297, + width: 210, + paperHeader: 0, + paperFooter: 842, + printElements: [ + { + options: { + left: 0, + top: 0, + height: 1, + width: 1, + formatter: `function(t, e, printData) { + var script = document.createElement("script"); + script.setAttribute("type", "text/javascript"); + script.setAttribute("src", "https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.3/echarts.min.js"); + return script; + }`, + }, + printElementType: { + // 此元素为 Echarts 依赖,此方法仅浏览器打印(print)生效,print2可能会无法加载依赖,需要手动在electron-hiprint项目中引入依赖 + // 如果不使用 print2 可将此依赖全局添加到你自己项目中,只需设计、预览时能加载到此依赖即可 + title: "Echarts依赖", + type: "html", + }, + }, + { + options: { + left: 12, + top: 12, + height: 200, + width: 200, + formatter: `function(t, e, printData) { + if (window.echarts) { + var echartDom = document.createElement("div"); + echartDom.style.width = "267px"; + echartDom.style.height = "267px"; + var echartInstance = echarts.init(echartDom,null,{renderer: "svg"}) + echartInstance.setOption({ + animation: false, + grid: { + top: 10, + right: 20, + bottom: 30, + left: 36, + }, + xAxis: { + type: 'category', + data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] + }, + yAxis: { + type: 'value' + }, + series: [ + { + data: printData?.lineData || [150, 230, 224, 218, 135, 147, 260], + type: 'line' + } + ] + }) + return echartDom; + } else { + return '
    点击打印预览查看
    ' + } + }`, + }, + printElementType: { title: "html", type: "html" }, + }, + { + options: { + left: 230, + top: 12, + height: 200, + width: 200, + formatter: `function(t, e, printData) { + if (window.echarts) { + var echartDom = document.createElement("div"); + echartDom.style.width = "267px"; + echartDom.style.height = "267px"; + var echartInstance = echarts.init(echartDom,null,{renderer: "svg"}) + echartInstance.setOption({ + animation: false, + grid: { + top: 10, + right: 20, + bottom: 30, + left: 36, + }, + xAxis: { + type: 'category', + data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] + }, + yAxis: { + type: 'value' + }, + series: [ + { + data: printData?.barData || [150, 230, 224, 218, 135, 147, 260], + type: 'bar' + } + ] + }) + return echartDom; + } else { + return '
    点击打印预览查看
    ' + } + }`, + }, + printElementType: { title: "html", type: "html" }, + }, + { + options: { + left: 12, + top: 230, + height: 200, + width: 200, + formatter: `function(t, e, printData) { + if (window.echarts) { + var echartDom = document.createElement("div"); + echartDom.style.width = "267px"; + echartDom.style.height = "267px"; + var echartInstance = echarts.init(echartDom,null,{renderer: "svg"}) + echartInstance.setOption({ + animation: false, + series: [ + { + name: 'Access From', + type: 'pie', + radius: ['40%', '70%'], + avoidLabelOverlap: false, + itemStyle: { + borderRadius: 10, + borderColor: '#fff', + borderWidth: 2 + }, + label: { + show: false, + position: 'center' + }, + emphasis: { + label: { + show: true, + fontSize: 40, + fontWeight: 'bold' + } + }, + labelLine: { + show: false + }, + data: printData?.pieData || [ + { value: 1048, name: 'Search Engine' }, + { value: 735, name: 'Direct' }, + { value: 580, name: 'Email' }, + { value: 484, name: 'Union Ads' }, + { value: 300, name: 'Video Ads' } + ] + } + ] + }) + return echartDom; + } else { + return '
    点击打印预览查看
    ' + } + }`, + }, + printElementType: { title: "html", type: "html" }, + }, + { + options: { + left: 12, + top: 460, + height: 12, + width: 418, + title: + "说明:此处模版以一个不可见 html 元素加载 echarts ,故第一次打开无法显示预览,但后续的 print api 能够正常显示,你可以在你的项目中全局加载 echarts 依赖,保证设计、预览时能加载到 echarts 依赖,即可删除用于引入依赖的html元素。使用 print2 需要在 electron-hiprint 项目渲染层中添加该依赖,否则客户端首次打印都无法正常渲染 echarts", + }, + printElementType: { title: "说明", type: "text" }, + }, + ], + paperNumberLeft: 565.5, + paperNumberTop: 819, + paperNumberContinue: true, + watermarkOptions: {}, + }, + ], +}; +export default { + preview: preview, + name: name, + desc: desc, + author: author, + link: link, + printData: printData, + json: json, +}; diff --git a/src/demo/templates/template-files/template7.js b/src/demo/templates/template-files/template7.js new file mode 100644 index 0000000000000000000000000000000000000000..15062848d38060aeb4ee02b48af6f17cb9d17f94 --- /dev/null +++ b/src/demo/templates/template-files/template7.js @@ -0,0 +1,243 @@ +export const name = "多列行合并示例"; +export const desc = "动态数据多列行合并示例"; +export const author = "54xavier"; +export const link = "https://ccsimple.gitee.io/vue-plugin-hiprint/"; +export const preview = + "https://gitee.com/CcSimple/vue-plugin-hiprint/raw/main/res/template7.png"; + +import _ from "lodash"; + +// 构建打印数据 + +// 定义基础数据 +const classTimes = ["23年秋季", "24年春季", "24年秋季"]; +const classTypes = ["必修课", "选修课"]; +const names = ["张三", "李四", "王五", "赵六", "孙七", "周八", "吴九", "郑十"]; +const sexs = ["男", "女"]; + +var printData = { + tableData: [], // 表格数据 + spanValues: {}, // 合并行数值 +}; + +// 生成一个 开课时间(classTime) 随机数 +const classRandom = [_.random(80, 120), _.random(180, 220)]; +// 创建300条数据 +_.times(300, (index) => { + printData.tableData.push({ + classTime: + classTimes[index < classRandom[0] ? 0 : index < classRandom[1] ? 1 : 2], // 根据随机数判断是哪个开课时间 + classType: classTypes[_.random(0, 1)], // 随机课程类型 + name: names[_.random(0, 7)], // 随机姓名 + sex: sexs[_.random(0, 1)], // 随机性别 + scoped: _.random(70, 100), // 随机分数 + }); +}); + +// 根据 开课时间(classTime) 分组,后续数据需要在对应组中再判断合并情况,需要注意这里的数据结构已经发生了很大的变化 +printData.tableData = _.groupBy(printData.tableData, (row) => row.classTime); + +// 根据 课程类型(classType) 分组,后续数据需要在对应组中在判断合并情况,需要注意这里的数据结构已经发生了很大的变化 +printData.tableData = _.map(printData.tableData, (childs, classTime) => { + // console.log(classTime, childs); + + // 设置 开课时间(classTime)的合并行数,这里获取的即是每个 开课时间(classTime) 对应数量,即合并行数 + printData.spanValues[classTime] = childs.length; + // 根据 课程类型(classType) 分组 + return _.groupBy(childs, (c_row) => c_row.classType); +}); + +// 将表格数据多维数组扁平化为一维数组 +printData.tableData = _.flattenDeep( + // 遍历 开课时间(classTime) 数组 + _.map(printData.tableData, (childs) => + // 遍历 课程类型(classType) 对象,需要注意这里的数据格式为对象 + _.map(childs, (c_childs, classType) => { + // 设置 开课时间(classTime) 对应 课程类型(classType) 的合并行数,这里获取的即是每个 开课时间(classTime) 对应 课程类型(classType) 对应数量,即合并行数 + printData.spanValues[`${c_childs[0].classTime}_${classType}`] = + c_childs.length; + // 数据根据 姓名(name) 和 性别(sex) 排序 + c_childs = _.sortBy(c_childs, ["name", "sex"]); + printData.spanValues = { + ...printData.spanValues, + // 使用 lodash 的 countBy 获取 开课时间(classTime) 对应 课程类型(classType) 对应 姓名(name) 对应 性别(sex) 的合并行数 + ..._.countBy( + c_childs, + (c_row) => + `${c_row.classTime}_${c_row.classType}_${c_row.name}_${c_row.sex}` + ), + }; + // 通过上面的多个 _.map 最终将返回一个多维数组,这是最里面一层 + return c_childs; + }) + ) +); + +export const json = { + panels: [ + { + index: 0, + name: 1, + height: 297, + width: 210, + paperHeader: 49.5, + paperFooter: 780, + printElements: [ + { + options: { + left: 15, + top: 57.5, + height: 36, + width: 550, + coordinateSync: false, + widthHeightSync: false, + field: "tableData", + rowsColumnsMerge: ( + row, + col, + colIndex, + rowIndex, + tableData, + printData + ) => { + // 定义合并列需要判断的字段 + const keyValueMap = { + classTime: ["classTime"], + classType: ["classTime", "classType"], // 意味着 课程类型(classType) 需要根据 开课时间(classTime) 和 课程类型(classType) 判断是否需要合并 + name: ["classTime", "classType", "name", "sex"], + sex: ["classTime", "classType", "name", "sex"], + }; + // 判断当前列是否存在于合并列中,是否存在 spanValues + if (keyValueMap[col.field] && printData?.spanValues) { + // 如果是第一行或者上一行的值和当前行的值不一样,那么就需要获取 spanValues 中的值 + if ( + rowIndex === 0 || + keyValueMap[col.field] + .map((key) => tableData[rowIndex - 1][key]) + .join("_") !== + keyValueMap[col.field].map((key) => row[key]).join("_") + ) { + return [ + printData.spanValues[ + keyValueMap[col.field].map((key) => row[key]).join("_") + ], + 1, + ]; + } + // 如果上一行的值和当前行的值一样,那么就不需要合并 + else { + return [0, 1]; + } + } + // 不是合并列字段或者没有 spanValues 的情况下,不需要合并 + else { + return [1, 1]; + } + }, + right: 564.49609375, + bottom: 93.75, + vCenter: 289.49609375, + hCenter: 75.75, + columns: [ + [ + { + title: "序号", + checked: true, + fixed: false, + rowspan: 1, + colspan: 1, + tableTextType: "sequence", + tableQRCodeLevel: 0, + tableSummaryTitle: true, + tableSummary: "", + }, + { + title: "开课时间", + field: "classTime", + checked: true, + columnId: "classTime", + fixed: false, + rowspan: 1, + colspan: 1, + }, + { + title: "课程类型", + field: "classType", + checked: true, + columnId: "classType", + fixed: false, + rowspan: 1, + colspan: 1, + }, + { + title: "姓名", + field: "name", + checked: true, + columnId: "name", + fixed: false, + rowspan: 1, + colspan: 1, + }, + { + title: "性别", + field: "sex", + checked: true, + columnId: "sex", + fixed: false, + rowspan: 1, + colspan: 1, + }, + { + title: "学分", + field: "scoped", + checked: true, + columnId: "scoped", + fixed: false, + rowspan: 1, + colspan: 1, + }, + ], + ], + }, + printElementType: { + title: "表格", + type: "table", + editable: true, + columnDisplayEditable: true, + columnDisplayIndexEditable: true, + columnTitleEditable: true, + columnResizable: true, + columnAlignEditable: true, + isEnableEditField: true, + isEnableContextMenu: true, + isEnableInsertRow: true, + isEnableDeleteRow: true, + isEnableInsertColumn: true, + isEnableDeleteColumn: true, + isEnableMergeCell: true, + }, + }, + ], + paperNumberLeft: 565.5, + paperNumberTop: 819, + paperNumberContinue: true, + watermarkOptions: { + content: "vue-plugin-hiprint", + rotate: 25, + timestamp: true, + format: "YYYY-MM-DD HH:mm", + }, + panelLayoutOptions: {}, + }, + ], +}; + +export default { + preview: preview, + name: name, + desc: desc, + author: author, + link: link, + printData, + json: json, +}; diff --git a/src/hiprint/css/hiprint.css b/src/hiprint/css/hiprint.css index 36892781ab118b1a53aefb650be652dfd6eac4e0..1c3fa727423f63ce382b1b5460d45ed05cf93224 100644 --- a/src/hiprint/css/hiprint.css +++ b/src/hiprint/css/hiprint.css @@ -1,3 +1,184 @@ +.hiprint-printPaper.design.grid { + background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(0, 0, 0, 0.1) 3%, rgba(0, 0, 0, 0) 3%); + background-size: 5mm 5mm; + background-position: left top; +} + +.horLine { + position: absolute; + border: 0; + border-top: 1px solid rgb(241, 110, 110); +} +.verLine { + position: absolute; + border: 0; + border-left: 1px solid rgb(241, 110, 110); +} + +/* 拖拽时元素辅助线 */ +.toplineOfPosition, .bottomlineOfPosition { + border: 0; + border-top: 1px dashed rgb(169, 169, 169); +} +.leftlineOfPosition, .rightlineOfPosition { + border: 0; + border-left: 1px dashed rgb(169, 169, 169); +} + +/* 拖拽时的坐标位置 */ +.topPosition { + background: red; + color: white; + border-radius: 20rem; + min-width: 10px; + padding: 0 2px; + font-size: 12px; + line-height: normal; + z-index: 9; +} +.topPosition-lineMode { + color: red; + background: unset; + line-height: normal; + z-index: 9; +} +.leftPosition { + background: red; + color: white; + border-radius: 20rem; + min-width: 10px; + padding: 0 2px; + font-size: 12px; + line-height: normal; + z-index: 9; +} +.leftPosition-lineMode { + color: red; + background: unset; + line-height: normal; + z-index: 9; +} + +/* 元素始终隐藏 */ +.alwaysHide { + background-color: gray !important; +} + +/* 元素宽高 */ +.resize-panel .size-box { + border: 1px solid; + min-height: 19px; + padding: 0px 4px; + background: red; + color: white; + font-size: 12px; + border-radius: 6px 6px 0 0; + white-space: nowrap; + line-height: normal; + font-family: unset; + letter-spacing: normal; + z-index: 9; +} +.hiprint-printElement:not(.editing):hover .resize-panel { + display: block !important; + /* hover 强制背景色 可重写 */ + background-color: rgba(0, 0, 0, 0.5) !important; +} +.hiprint-printElement:hover .resize-panel .resizebtn { + display: none; +} +.hiprint-printElement:hover .resize-panel.selected .resizebtn { + display: block; +} +.hiprint-printElement.design .del-btn { + position: absolute; + visibility: hidden; + z-index: 10; + width: 16px; + height: 16px; + line-height: 12px; + top: -8px; + right: -8px; + border-radius: 50%; + padding: 2px; + background: red; + color: white; + font-size: 12px; + box-sizing: border-box; + cursor: pointer; + text-align: center; +} +.hiprint-printElement.design:hover .del-btn { + visibility: visible; +} +.resize-panel .size-box .hide { + display: none; +} + +/* 参数tab */ +.prop-tabs { + background-color: #FFF; + border-style: none; + box-shadow: none; + border-color: #e6e6e6; +} +.prop-tabs .prop-tab-items { + height: 31px; + line-height: 31px; + padding: 2px 0 1px 2px; + list-style: none; + outline: 0; + border: 0; + text-decoration: none; + font-size: 100%; + margin: 0; + border-bottom: 1px solid #ddd; + /*box-shadow: 0 1px 3px rgba(26, 26, 26, .1);*/ + box-sizing: content-box; +} +.prop-tabs .prop-tab-items .prop-tab-item { + background-color: #FFF; + border-radius: 0; + padding: 0; + margin: 0 -1px 0 0; + display: inline-block; + cursor: pointer; + list-style-type: none; +} + +.prop-tabs .prop-tab-items .prop-tab-item .tab-title { + height: 30px; + line-height: 30px; + padding: 0 10px; + font-weight: bold; + font-size: 14px; +} + +.prop-tabs .prop-tab-items li.active { + border: none; + border-bottom: 2px solid #2196f3; + color: #2196f3; + height: 31px; + line-height: 30px; +} + +.prop-tabs .hiprint-option-items.active { + display: flex; +} + +.prop-tabs .hiprint-option-items { + display: none; + margin-top: 1px; + border: none; + background-color: #FFF; + overflow: auto; + /*height: calc(100vh - 150px);*/ + padding: 0; +} +/* 元素双击编辑 */ +.design .editing { + border: 1px solid red !important; +} /* hiprint-pagination */ .hiprint-pagination { @@ -35,6 +216,9 @@ color: red; } +.hiprint-pagination .selected { + border: #2196f3 1px solid; +} .hiprint-pagination-sm > li > a { @@ -199,7 +383,6 @@ font-weight: normal;*/ /*option css*/ /*option css*/ .hiprint-option-items { - font-size: .75rem; padding: 10px 5px; display: flex; flex-wrap: wrap; @@ -669,7 +852,9 @@ font-weight: normal;*/ border-top: 1px solid rgb(201, 190, 190); border-left: 1px solid rgb(201, 190, 190); padding-left: 15px; - margin: -16px + padding-top:15px; + margin: -16px; + box-sizing: content-box!important; } .hiprint_rul_wrapper .h_img { @@ -678,10 +863,12 @@ font-weight: normal;*/ left: 15px; width: 400mm; height: 15px; + max-width: none; } .hiprint_rul_wrapper .v_img { width: 400mm; + max-width: none; transform: rotate(90deg); transform-origin: 0 100%; height: 15px; @@ -712,6 +899,10 @@ font-weight: normal;*/ line-height: 19pt; margin: 3px 0; } + .hiprint-option-table-selected-columns .hiprint-option-table-selected-item .column-title { + display: inline-block; + min-width: calc(100% - 3rem); + } /*hi-pretty */ .hi-pretty * { box-sizing: border-box; @@ -764,7 +955,7 @@ font-weight: normal;*/ z-index: 0; position: absolute; left: 0; - top: calc((0% - (100% - 1em)) - 8%); + top: 0; background-color: transparent; } diff --git a/src/hiprint/css/image/l_img.svg b/src/hiprint/css/image/l_img.svg new file mode 100644 index 0000000000000000000000000000000000000000..75e47935b7f01059469ca11999a4fa70e7fcbe89 --- /dev/null +++ b/src/hiprint/css/image/l_img.svg @@ -0,0 +1 @@ +0801602403504012020028039020100180260370601402203303001090170250360501302103202903011019027038070150230340310 \ No newline at end of file diff --git a/src/hiprint/css/image/v_img.svg b/src/hiprint/css/image/v_img.svg new file mode 100644 index 0000000000000000000000000000000000000000..895b1fa053932b2c99c47401c3258a7be9be34d0 --- /dev/null +++ b/src/hiprint/css/image/v_img.svg @@ -0,0 +1 @@ +801602403504012020028039020100180260370601402203303001090170250360501302103202903011019027038070150230340310 \ No newline at end of file diff --git a/src/hiprint/css/print-lock.css b/src/hiprint/css/print-lock.css index 28c52302969a7640aa647e2c380d80096d389137..aede01863ed044180ec68328d98ee1a60f551b72 100644 --- a/src/hiprint/css/print-lock.css +++ b/src/hiprint/css/print-lock.css @@ -1,279 +1,349 @@ - @media print { - body { - margin: 0px; - padding: 0px; - } + body { + margin: 0px; + padding: 0px; + } } @page { - margin: 0; + margin: 0; } .hiprint-printPaper * { - box-sizing: border-box; - -moz-box-sizing: border-box; /* Firefox */ - -webkit-box-sizing: border-box; /* Safari */ - + box-sizing: border-box; + -moz-box-sizing: border-box; /* Firefox */ + -webkit-box-sizing: border-box; /* Safari */ } - .hiprint-printPaper *:focus { - outline: -webkit-focus-ring-color auto 0px; - } +.hiprint-printPaper *:focus { + outline: -webkit-focus-ring-color auto 0px; +} +.hiprint-printPaper { + position: relative; + padding: 0 0 0 0; + page-break-after: always; + -webkit-user-select: none; /* Chrome/Safari/Opera */ + -moz-user-select: none; /* Firefox */ + user-select: none; + overflow-x: hidden; + overflow: hidden; +} -.hiprint-page-break-avoid { - page-break-after: avoid; +.hiprint-printPaper .hiprint-printPaper-content { + position: relative; } -.hiprint-printPaper { + +/* 火狐浏览器打印 第一页过后 重叠问题 */ +@-moz-document url-prefix() { + .hiprint-printPaper .hiprint-printPaper-content { position: relative; - padding: 0 0 0 0; - page-break-after: always; - overflow-x: hidden; - overflow: hidden; -} - .hiprint-printPaper .hiprint-printPaper-content { - position: relative; - } -.hiprint-printPaper.design { - overflow: visible; + margin-top: 20px; + top: -20px + } } +.hiprint-printPaper.design { + overflow: visible; +} .hiprint-printTemplate .hiprint-printPanel { - page-break-after: always; + page-break-after: always; } .hiprint-printPaper, hiprint-printPanel { - box-sizing: border-box; - border: 0px; + box-sizing: border-box; + border: 0px; } .hiprint-printPanel .hiprint-printPaper:last-child { - page-break-after: avoid; + page-break-after: avoid; } .hiprint-printTemplate .hiprint-printPanel:last-child { - page-break-after: avoid; + page-break-after: avoid; } .hiprint-printPaper .hideheaderLinetarget { - border-top: 0px dashed rgb(201, 190, 190) !important; + border-top: 0px dashed rgb(201, 190, 190) !important; } .hiprint-printPaper .hidefooterLinetarget { - border-top: 0px dashed rgb(201, 190, 190) !important; + border-top: 0px dashed rgb(201, 190, 190) !important; } .hiprint-printPaper.design { - border: 1px dashed rgba(170,170,170,0.7); + border: 1px dashed rgba(170, 170, 170, 0.7); } .design .hiprint-printElement-table-content, .design .hiprint-printElement-longText-content { - overflow: hidden; - box-sizing: border-box; + overflow: hidden; + box-sizing: border-box; } .design .resize-panel { - box-sizing: border-box; - border: 1px dotted; + box-sizing: border-box; + border: 1px dotted; } .hiprint-printElement-text { - background-color: transparent; - background-repeat: repeat; - padding: 0 0 0 0; - border: 0.75pt none rgb(0,0,0); - direction: ltr; - font-family: 'SimSun'; - font-size: 9pt; - font-style: normal; - font-weight: normal; - padding-bottom: 0pt; - padding-left: 0pt; - padding-right: 0pt; - padding-top: 0pt; - text-align: left; - text-decoration: none; - line-height: 9.75pt; - box-sizing: border-box; - word-wrap: break-word; - word-break: break-all; + background-color: transparent; + background-repeat: repeat; + padding: 0 0 0 0; + border: 0.75pt none rgb(0, 0, 0); + direction: ltr; + font-family: 'SimSun'; + font-size: 9pt; + font-style: normal; + font-weight: normal; + padding-bottom: 0pt; + padding-left: 0pt; + padding-right: 0pt; + padding-top: 0pt; + text-align: left; + text-decoration: none; + line-height: 9.75pt; + box-sizing: border-box; + word-wrap: break-word; + word-break: break-all; } .design .hiprint-printElement-text-content { - border: 1px dashed rgb(206, 188, 188); - box-sizing: border-box; + border: 1px dashed rgb(206, 188, 188); + box-sizing: border-box; } .hiprint-printElement-longText { - background-color: transparent; - background-repeat: repeat; - border: 0.75pt none rgb(0,0,0); - direction: ltr; - font-family: 'SimSun'; - font-size: 9pt; - font-style: normal; - font-weight: normal; - padding-bottom: 0pt; - padding-left: 0pt; - padding-right: 0pt; - padding-top: 0pt; - text-align: left; - text-decoration: none; - line-height: 9.75pt; - box-sizing: border-box; - word-wrap: break-word; - word-break: break-all; - /*white-space: pre-wrap*/ + background-color: transparent; + background-repeat: repeat; + border: 0.75pt none rgb(0, 0, 0); + direction: ltr; + font-family: 'SimSun'; + font-size: 9pt; + font-style: normal; + font-weight: normal; + padding-bottom: 0pt; + padding-left: 0pt; + padding-right: 0pt; + padding-top: 0pt; + text-align: left; + text-decoration: none; + line-height: 9.75pt; + box-sizing: border-box; + word-wrap: break-word; + word-break: break-all; + /*white-space: pre-wrap*/ } - .hiprint-printElement-table { - background-color: transparent; - background-repeat: repeat; - color: rgb(0,0,0); - border-color: rgb(0,0,0); - border-style: none; - direction: ltr; - font-family: 'SimSun'; - font-size: 9pt; - font-style: normal; - font-weight: normal; - padding-bottom: 0pt; - padding-left: 0pt; - padding-right: 0pt; - padding-top: 0pt; - text-align: left; - text-decoration: none; - padding: 0 0 0 0; - box-sizing: border-box; - line-height: 9.75pt; -} - - .hiprint-printElement-table thead { - background: #e8e8e8; - font-weight: 700; - } + background-color: transparent; + background-repeat: repeat; + color: rgb(0, 0, 0); + border-color: rgb(0, 0, 0); + border-style: none; + direction: ltr; + font-family: 'SimSun'; + font-size: 9pt; + font-style: normal; + font-weight: normal; + padding-bottom: 0pt; + padding-left: 0pt; + padding-right: 0pt; + padding-top: 0pt; + text-align: left; + text-decoration: none; + padding: 0 0 0 0; + box-sizing: border-box; + line-height: 9.75pt; +} + +.hiprint-printElement-table thead { + background: #e8e8e8; + font-weight: 700; +} + +table.hiprint-printElement-tableTarget { + width: 100%; +} .hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td { - border-color: rgb(0,0,0); - border-style: none; - border: 1px solid rgb(0,0,0); - font-weight: normal; - direction: ltr; - padding-bottom: 0pt; - padding-left: 4pt; - padding-right: 4pt; - padding-top: 0pt; - text-decoration: none; - vertical-align: middle; - box-sizing: border-box; - word-wrap: break-word; - word-break: break-all; - /*line-height: 9.75pt; - font-size: 9pt;*/ -} - - /*.hiprint-printElement-tableTarget tr,*/ - .hiprint-printElement-tableTarget td { - height: 18pt; - } + border-color: rgb(0, 0, 0); + /*border-style: none;*/ + /*border: 1px solid rgb(0, 0, 0);*/ + font-weight: normal; + direction: ltr; + padding-bottom: 0pt; + padding-left: 4pt; + padding-right: 4pt; + padding-top: 0pt; + text-decoration: none; + vertical-align: middle; + box-sizing: border-box; + word-wrap: break-word; + word-break: break-all; + /*line-height: 9.75pt; + font-size: 9pt;*/ +} + +.hiprint-printElement-tableTarget-border-all { + border: 1px solid; +} +.hiprint-printElement-tableTarget-border-none { + border: 0px solid; +} +.hiprint-printElement-tableTarget-border-lr { + border-left: 1px solid; + border-right: 1px solid; +} +.hiprint-printElement-tableTarget-border-left { + border-left: 1px solid; +} +.hiprint-printElement-tableTarget-border-right { + border-right: 1px solid; +} +.hiprint-printElement-tableTarget-border-tb { + border-top: 1px solid; + border-bottom: 1px solid; +} +.hiprint-printElement-tableTarget-border-top { + border-top: 1px solid; +} +.hiprint-printElement-tableTarget-border-bottom { + border-bottom: 1px solid; +} + +.hiprint-printElement-tableTarget-border-td-none td { + border: 0px solid; +} +.hiprint-printElement-tableTarget-border-td-all td:not(:nth-last-child(-n+2)) { + border-right: 1px solid; +} +.hiprint-printElement-tableTarget-border-td-all td:last-child { + border-left: 1px solid; +} +.hiprint-printElement-tableTarget-border-td-all td:last-child:first-child { + border-left: none; +} + +/*.hiprint-printElement-tableTarget tr,*/ +.hiprint-printElement-tableTarget td { + height: 18pt; +} .hiprint-printPaper .hiprint-paperNumber { - font-size: 9pt; + font-size: 9pt; } .design .hiprint-printElement-table-handle { - position: absolute; - height: 21pt; - width: 21pt; - background: red; - z-index:1; + position: absolute; + height: 21pt; + width: 21pt; + background: red; + z-index: 1; } .hiprint-printPaper .hiprint-paperNumber-disabled { - float: right !important; - right: 0 !important; - color: gainsboro !important; + float: right !important; + right: 0 !important; + color: gainsboro !important; } .hiprint-printElement-vline, .hiprint-printElement-hline { - border: 0px none rgb(0,0,0); + border: 0px none rgb(0, 0, 0); } + .hiprint-printElement-vline { - border-left: 0.75pt solid #000; - border-right: 0px none rgb(0,0,0) !important; - border-bottom: 0px none rgb(0,0,0) !important; - border-top: 0px none rgb(0,0,0) !important; + border-left: 0.75pt solid #000; + border-right: 0px none rgb(0, 0, 0) !important; + border-bottom: 0px none rgb(0, 0, 0) !important; + border-top: 0px none rgb(0, 0, 0) !important; } .hiprint-printElement-hline { - border-top: 0.75pt solid #000; - border-right: 0px none rgb(0,0,0) !important; - border-bottom: 0px none rgb(0,0,0) !important; - border-left: 0px none rgb(0,0,0) !important; + border-top: 0.75pt solid #000; + border-right: 0px none rgb(0, 0, 0) !important; + border-bottom: 0px none rgb(0, 0, 0) !important; + border-left: 0px none rgb(0, 0, 0) !important; } .hiprint-printElement-oval, .hiprint-printElement-rect { - border: 0.75pt solid #000; + border: 0.75pt solid #000; } .hiprint-text-content-middle { - display:table; } -.hiprint-text-content-middle>div { - display: table-cell; - vertical-align:middle + +.hiprint-text-content-middle > div { + display: grid; + align-items: center; } .hiprint-text-content-bottom { - display: table; } - .hiprint-text-content-bottom > div { - display: table-cell; - vertical-align: bottom - } +.hiprint-text-content-bottom > div { + display: grid; + align-items: flex-end; +} + +.hiprint-text-content-wrap { +} + +.hiprint-text-content-wrap .hiprint-text-content-wrap-nowrap { + white-space: nowrap; +} + +.hiprint-text-content-wrap .hiprint-text-content-wrap-clip { + white-space: nowrap; + overflow: hidden; + text-overflow: clip; +} + +.hiprint-text-content-wrap .hiprint-text-content-wrap-ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} /*hi-grid-row */ .hi-grid-row { - position: relative; - height: auto; - margin-right: 0; - margin-left: 0; - zoom: 1; - display: block; - box-sizing: border-box; + position: relative; + height: auto; + margin-right: 0; + margin-left: 0; + zoom: 1; + display: block; + box-sizing: border-box; } - .hi-grid-row::after, .hi-grid-row::before { - display: table; - content: ''; - box-sizing: border-box; - } +.hi-grid-row::after, .hi-grid-row::before { + display: table; + content: ''; + box-sizing: border-box; +} .hi-grid-col { - display: block; - box-sizing: border-box; - position: relative; - float: left; - flex: 0 0 auto; + display: block; + box-sizing: border-box; + position: relative; + float: left; + flex: 0 0 auto; } .table-grid-row { - margin-left: -0pt; - margin-right: -0pt; + margin-left: -0pt; + margin-right: -0pt; } .tableGridColumnsGutterRow { - padding-left: 0pt; - padding-right: 0pt; + padding-left: 0pt; + padding-right: 0pt; } + .hiprint-gridColumnsFooter { - text-align: left; - clear: both; + text-align: left; + clear: both; } diff --git a/src/hiprint/etypes/default-etyps-provider.js b/src/hiprint/etypes/default-etyps-provider.js index 38f1bd5a8bf0de0e9f00d99addf0fb03c9a17455..a1d9db1133d9f94670978049cf97b892e8588339 100644 --- a/src/hiprint/etypes/default-etyps-provider.js +++ b/src/hiprint/etypes/default-etyps-provider.js @@ -1,6 +1,7 @@ export default function (hiprint) { return function (options) { var addElementTypes = function (context) { + context.removePrintElementTypes("defaultModule"); context.addPrintElementTypes("defaultModule", [ new hiprint.PrintElementTypeGroup("常规", [ { @@ -61,30 +62,55 @@ export default function (hiprint) { width: 100 } ] - ] + ], + editable: true, + columnDisplayEditable: true,//列显示是否能编辑 + columnDisplayIndexEditable: true,//列顺序显示是否能编辑 + columnTitleEditable: true,//列标题是否能编辑 + columnResizable: true, //列宽是否能调整 + columnAlignEditable: true,//列对齐是否调整 + isEnableEditField: true, //编辑字段 + isEnableContextMenu: true, //开启右键菜单 默认true + isEnableInsertRow: true, //插入行 + isEnableDeleteRow: true, //删除行 + isEnableInsertColumn: true, //插入列 + isEnableDeleteColumn: true, //删除列 + isEnableMergeCell: true, //合并单元格 }, { - tid: "defaultModule.tableCustom", - title: "表格", - type: "tableCustom" + tid: "defaultModule.emptyTable", + title: "空白表格", + type: "table", + columns: [ + [ + { + title: "", + field: "", + width: 100 + }, + { + title: "", + field: "", + width: 100 + } + ] + ], }, - // { - // tid: "defaultModule.html", - // title: "html", - // formatter: function (data, options) { - // return $( - // 'div style="height:50pt;width:50pt;background:red;border-radius: 50%;">' - // ); - // }, - // type: "html" - // }, - // { - // tid: "defaultModule.customText", - // title: "自定义文本", - // customText: "自定义文本", - // custom: true, - // type: "text" - // } + { + tid: "defaultModule.html", + title: "html", + formatter: function (data, options) { + return '
    '; + }, + type: "html" + }, + { + tid: "defaultModule.customText", + title: "自定义文本", + customText: "自定义文本", + custom: true, + type: "text" + } ]), new hiprint.PrintElementTypeGroup("辅助", [ { @@ -106,6 +132,16 @@ export default function (hiprint) { tid: "defaultModule.oval", title: "椭圆", type: "oval" + }, + { + tid: 'defaultModule.barcode', + title: '条形码', + type: 'barcode', + }, + { + tid: 'defaultModule.qrcode', + title: '二维码', + type: 'qrcode', } ]) ]); diff --git a/src/hiprint/hiprint.bundle.js b/src/hiprint/hiprint.bundle.js index dd3214dc7c7ebb8879078f5e75492f8f7c8a6610..1ac13424a744c56761380fcc4d0db757fcc1d4e9 100644 --- a/src/hiprint/hiprint.bundle.js +++ b/src/hiprint/hiprint.bundle.js @@ -35,29 +35,64 @@ function _typeof(obj) { /** * import 相关资源 */ -// 样式 -import "./css/hiprint.css" -import "./css/print-lock.css" -// 调用浏览器打印js -import './plugins/jquery.hiwprint.js' -// js打印 -import './plugins/jquery.jqprint-0.3' +import $ from "jquery"; // js颜色选择 -import './plugins/jquery.minicolors.min.js' +import "@claviska/jquery-minicolors/jquery.minicolors.min"; // 条形码 -import './plugins/JsBarcode.all.min.js' +import JsBarcode from "jsbarcode"; // 二维码 -import './plugins/qrcode.js' +import "./plugins/qrcode.js"; +import bwipjs from "bwip-js" +// 水印 +import watermark from "./plugins/watermark.js"; // 直接打印需要 -import io from './plugins/socket.io' - -window.io = io; +import {io} from "socket.io-client"; +//引入标尺 +import lImg from "./css/image/l_img.svg"; +import vImg from "./css/image/v_img.svg"; // pdf -import jsPDF from './plugins/jspdf/jspdf.min.js' -import html2canvas from './plugins/jspdf/html2canvas.min.js' +import {jsPDF} from "jspdf"; +import html2canvas from "@wtto00/html2canvas"; +// 数字转中文,大写,金额 +import Nzh from "nzh/dist/nzh.min.js"; // 解析svg 到 canvas, 二维码条形码需要 -import './plugins/jspdf/canvas2image.js' -import canvg from './plugins/jspdf/canvg.min.js' +import Canvg from 'canvg'; +// 默认自定义拖拽列表 +import defaultTypeProvider from "./etypes/default-etyps-provider"; + +window.$ = window.jQuery = $; +window.autoConnect = true; +window.io = io; + +var languages = {} +const ctx = require.context("../i18n", true, /\.json$/); +ctx.keys().forEach(key => { + languages[key.match(/\.\/([^.]+)/)[1]] = ctx(key) +}) + +var i18n = { + lang: 'cn', + languages, + __: function(key, params) { + var str = this.languages[this.lang][key] || key + if (params && params instanceof Object) { + Object.keys(params).forEach(key => { + str = str.replace(new RegExp(`{{${key}}}`, 'g'), params[key]) + }) + return str + } else if (params) { + str= str.replace(/%s/g, params) + return str + } else { + return str + } + }, + __n: function(key, val) { + var str = this.languages[this.lang][key] + str = str.replace(/%s/g, val) + return str + }, +} var hiprint = function (t) { var e = {}; @@ -119,7 +154,6 @@ var hiprint = function (t) { id: 0, off: function off(t, e) { var n = i[t]; - if (n) { for (var o = -1, r = 0; r < n.length; r++) { if (n[r] === e) { @@ -127,7 +161,6 @@ var hiprint = function (t) { break; } } - o < 0 || i[t].splice(o, 1); } }, @@ -285,6 +318,7 @@ var hiprint = function (t) { if (t) try { var o = "string" == typeof t ? new Date(t) : t; var n = { + "y+": o.getFullYear(), "M+": o.getMonth() + 1, "d+": o.getDate(), "H+": o.getHours(), @@ -303,6 +337,48 @@ var hiprint = function (t) { return console.log(t), ""; } return ""; + }, hinnn.numFormat = function (t, e) { + if (t != void 0) try { + var o = "string" == typeof t ? parseFloat(t) : t; + var l = parseInt(e); + if (l > 0) { + return o.toFixed(l); + } + return parseInt(o.toString()); + } catch (t) { + return console.log(t), ""; + } + return ""; + }, hinnn.toUpperCase = function(type, val) { + if (!Nzh) return val; + var backStr = val; + switch (type) { + case "0": + backStr = Nzh.cn.encodeS(val); + break; + case "1": + backStr = Nzh.cn.encodeS(val, {tenMin: false}); + break; + case "2": + backStr = Nzh.cn.encodeB(val, {tenMin: true}); + break; + case "3": + backStr = Nzh.cn.encodeB(val); + break; + case "4": + backStr = Nzh.cn.toMoney(val, {tenMin: true}); + break; + case "5": + backStr = Nzh.cn.toMoney(val); + break; + case "6": + backStr = Nzh.cn.toMoney(val, {complete: true}); + break; + case "7": + backStr = Nzh.cn.toMoney(val, {complete: true, outSymbol: false}); + break; + } + return backStr; }; }, function (t, e, n) { "use strict"; @@ -314,610 +390,23 @@ var hiprint = function (t) { var i = n(9), o = function () { function t() { - this.providers = [], this.movingDistance = 1.5, this.paperHeightTrim = 1, this.text = { - supportOptions: [{ - name: "title", - hidden: !1, - title: "" - }, { - name: "field", - hidden: !1 - }, { - name: "testData", - hidden: !1 - }, { - name: "dataType", - hidden: !1 - }, { - name: "fontFamily", - hidden: !1 - }, { - name: "fontSize", - hidden: !1 - }, { - name: "fontWeight", - hidden: !1 - }, { - name: "letterSpacing", - hidden: !1 - }, { - name: "color", - hidden: !1 - }, { - name: "textDecoration", - hidden: !1 - }, { - name: "textAlign", - hidden: !1 - }, { - name: "textContentVerticalAlign", - hidden: !1 - }, { - name: "lineHeight", - hidden: !1 - }, { - name: "textType", - hidden: !1 - }, { - name: "barcodeMode", - hidden: !1 - }, { - name: "hideTitle", - hidden: !1 - }, { - name: "showInPage", - hidden: !1 - }, { - name: "unShowInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "transform", - hidden: !1 - }, { - name: "optionsGroup", - hidden: !1 - }, { - name: "borderLeft", - hidden: !1 - }, { - name: "borderTop", - hidden: !1 - }, { - name: "borderRight", - hidden: !1 - }, { - name: "borderBottom", - hidden: !1 - }, { - name: "borderWidth", - hidden: !1 - }, { - name: "borderColor", - hidden: !1 - }, { - name: "contentPaddingLeft", - hidden: !1 - }, { - name: "contentPaddingTop", - hidden: !1 - }, { - name: "contentPaddingRight", - hidden: !1 - }, { - name: "contentPaddingBottom", - hidden: !1 - }, { - name: "backgroundColor", - hidden: !1 - }, { - name: "formatter", - hidden: !1 - }, { - name: "styler", - hidden: !1 - }], - default: { - fontFamily: void 0, - fontSize: void 0, - fontWeight: "", - letterSpacing: void 0, - textAlign: void 0, - textType: "text", - hideTitle: !1, - height: 9.75, - lineHeight: void 0, - width: 120 - } - }, this.image = { - supportOptions: [{ - name: "field", - hidden: !1 - }, { - name: "src", - hidden: !1 - }, { - name: "showInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "transform", - hidden: !1 - }, { - name: "formatter", - hidden: !1 - }, { - name: "styler", - hidden: !1 - }], - default: {} - }, this.longText = { - supportOptions: [{ - name: "title", - hidden: !1 - }, { - name: "field", - hidden: !1 - }, { - name: "testData", - hidden: !1 - }, { - name: "fontFamily", - hidden: !1 - }, { - name: "fontSize", - hidden: !1 - }, { - name: "fontWeight", - hidden: !1 - }, { - name: "letterSpacing", - hidden: !1 - }, { - name: "textAlign", - hidden: !1 - }, { - name: "lineHeight", - hidden: !1 - }, { - name: "color", - hidden: !1 - }, { - name: "hideTitle", - hidden: !1 - }, { - name: "longTextIndent", - hidden: !1 - }, { - name: "leftSpaceRemoved", - hidden: !1 - }, { - name: "showInPage", - hidden: !1 - }, { - name: "unShowInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "lHeight", - hidden: !1 - }, { - name: "transform", - hidden: !1 - }, { - name: "optionsGroup", - hidden: !1 - }, { - name: "borderLeft", - hidden: !1 - }, { - name: "borderTop", - hidden: !1 - }, { - name: "borderRight", - hidden: !1 - }, { - name: "borderBottom", - hidden: !1 - }, { - name: "borderWidth", - hidden: !1 - }, { - name: "borderColor", - hidden: !1 - }, { - name: "contentPaddingLeft", - hidden: !1 - }, { - name: "contentPaddingTop", - hidden: !1 - }, { - name: "contentPaddingRight", - hidden: !1 - }, { - name: "contentPaddingBottom", - hidden: !1 - }, { - name: "backgroundColor", - hidden: !1 - }, { - name: "formatter", - hidden: !1 - }, { - name: "styler", - hidden: !1 - }], - default: { - fontFamily: void 0, - fontSize: void 0, - fontWeight: "", - letterSpacing: void 0, - textAlign: void 0, - hideTitle: !1, - height: 42, - lineHeight: void 0, - width: 550 - } - }, this.table = { - supportOptions: [{ - name: "field", - hidden: !1 - }, { - name: "fontFamily", - hidden: !1 - }, { - name: "fontSize", - hidden: !1 - }, { - name: "lineHeight", - hidden: !1 - }, { - name: "textAlign", - hidden: !1 - }, { - name: "gridColumns", - hidden: !1 - }, { - name: "gridColumnsGutter", - hidden: !1 - }, { - name: "tableHeaderRepeat", - hidden: !1 - }, { - name: "tableBorder", - hidden: !1 - }, { - name: "tableHeaderBorder", - hidden: !1 - }, { - name: "tableHeaderCellBorder", - hidden: !1 - }, { - name: "tableHeaderRowHeight", - hidden: !1 - }, { - name: "tableHeaderBackground", - hidden: !1 - }, { - name: "tableHeaderFontSize", - hidden: !1 - }, { - name: "tableHeaderFontWeight", - hidden: !1 - }, { - name: "tableBodyRowHeight", - hidden: !1 - }, { - name: "tableBodyRowBorder", - hidden: !1 - }, { - name: "tableBodyCellBorder", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "lHeight", - hidden: !1 - }, { - name: "autoCompletion", - hidden: !1 - }, { - name: "columns", - hidden: !1 - }, { - name: "styler", - hidden: !1 - }, { - name: "rowStyler", - hidden: !1 - }, { - name: "tableFooterRepeat", - hidden: !1 - }, { - name: "footerFormatter", - hidden: !1 - }, { - name: "gridColumnsFooterFormatter", - hidden: !1 - }], - default: { - fontFamily: void 0, - fontSize: void 0, - fontWeight: "", - textAlign: void 0, - tableBorder: void 0, - tableHeaderBorder: void 0, - tableHeaderCellBorder: void 0, - tableHeaderBackground: void 0, - tableHeaderRowHeight: void 0, - tableHeaderFontWeight: void 0, - tableBodyCellBorder: void 0, - tableBodyRowHeight: void 0, - letterSpacing: "", - lineHeight: void 0, - width: 550 - } - }, this.tableCustom = { - supportOptions: [{ - name: "field", - hidden: !1 - }, { - name: "fontFamily", - hidden: !1 - }, { - name: "fontSize", - hidden: !1 - }, { - name: "textAlign", - hidden: !1 - }, { - name: "tableBorder", - hidden: !1 - }, { - name: "tableHeaderBorder", - hidden: !1 - }, { - name: "tableHeaderCellBorder", - hidden: !1 - }, { - name: "tableHeaderRowHeight", - hidden: !1 - }, { - name: "tableHeaderFontSize", - hidden: !1 - }, { - name: "tableHeaderFontWeight", - hidden: !1 - }, { - name: "tableHeaderBackground", - hidden: !1 - }, { - name: "tableBodyRowHeight", - hidden: !1 - }, { - name: "tableBodyRowBorder", - hidden: !1 - }, { - name: "tableBodyCellBorder", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "lHeight", - hidden: !1 - }, { - name: "autoCompletion", - hidden: !1 - }, { - name: "tableFooterRepeat", - hidden: !1 - }], - default: { - fontFamily: void 0, - fontSize: void 0, - fontWeight: "", - textAlign: void 0, - tableBorder: void 0, - tableHeaderBorder: void 0, - tableHeaderCellBorder: void 0, - tableHeaderBackground: void 0, - tableHeaderRowHeight: void 0, - tableHeaderFontWeight: void 0, - tableBodyCellBorder: void 0, - tableBodyRowHeight: void 0, - letterSpacing: "", - lineHeight: void 0, - width: 550 - } - }, this.hline = { - supportOptions: [{ - name: "borderColor", - hidden: !1 - }, { - name: "borderWidth", - hidden: !1 - }, { - name: "showInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "transform", - hidden: !1 - }, { - name: "borderStyle", - hidden: !1 - }], - default: { - borderWidth: .75, - height: 9, - width: 90 - } - }, this.vline = { - supportOptions: [{ - name: "borderColor", - hidden: !1 - }, { - name: "borderWidth", - hidden: !1 - }, { - name: "showInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "transform", - hidden: !1 - }, { - name: "borderStyle", - hidden: !1 - }], - default: { - borderWidth: void 0, - height: 90, - width: 9 - } - }, this.rect = { - supportOptions: [{ - name: "borderColor", - hidden: !1 - }, { - name: "borderWidth", - hidden: !1 - }, { - name: "showInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "transform", - hidden: !1 - }, { - name: "borderStyle", - hidden: !1 - }], - default: { - borderWidth: void 0, - height: 90, - width: 90 - } - }, this.oval = { - supportOptions: [{ - name: "borderColor", - hidden: !1 - }, { - name: "borderWidth", - hidden: !1 - }, { - name: "showInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "transform", - hidden: !1 - }, { - name: "borderStyle", - hidden: !1 - }], - default: { - borderWidth: void 0, - height: 90, - width: 90 - } - }, this.html = { - supportOptions: [{ - name: "showInPage", - hidden: !1 - }, { - name: "unShowInPage", - hidden: !1 - }, { - name: "fixed", - hidden: !1 - }, { - name: "axis", - hidden: !1 - }, { - name: "formatter", - hidden: !1 - }], - default: { - height: 90, - width: 90 - } - }, this.tableColumn = { - supportOptions: [{ - name: "title", - hidden: !1 - }, { - name: "align", - hidden: !1 - }, { - name: "halign", - hidden: !1 - }, { - name: "vAlign", - hidden: !1 - }, { - name: "paddingLeft", - hidden: !1 - }, { - name: "paddingRight", - hidden: !1 - }, { - name: "formatter2", - hidden: !1 - }, { - name: "styler2", - hidden: !1 - }], - default: { - height: 90, - width: 90 - } - }; + // see hiprint.config.js } return t.prototype.init = function (t) { t && $.extend(this, t); + }, t.prototype.on = function (t, c) { + hinnn.event.on(t, c); + }, t.prototype.clear = function (t) { + hinnn.event.clear(t); + }, t.prototype.registerItems = function (items) { + items.forEach(function (t) { + i.a.registerItem(new t()); + }); }, Object.defineProperty(t, "instance", { get: function get() { return t._instance || (t._instance = new t(), window.HIPRINT_CONFIG && $.extend(t._instance, HIPRINT_CONFIG), t._instance.optionItems && t._instance.optionItems.forEach(function (t) { - i.a.registerItem(t); + i.a.registerItem(new t()); })), t._instance; }, enumerable: !0, @@ -1050,38 +539,77 @@ var hiprint = function (t) { var o = function () { function t(t) { - t = t || {}, this.left = t.left, this.top = t.top, this.topInDesign = this.top, this.height = t.height, this.width = t.width, this.init(t); + t = t || {}, this.left = t.left, this.top = t.top, this.topInDesign = this.top, this.height = t.height, this.width = t.width, this.transform = t.transform, this.init(t); } return t.prototype.setDefault = function (t) { this.defaultOptions = t, this.initSize(); + Object.keys(this.defaultOptions).forEach(key => { + this[key] = this[key] || this.defaultOptions[key]; + }) }, t.prototype.initSize = function () { this.width || this.setWidth(this.defaultOptions.width), this.height || this.setHeight(this.defaultOptions.height); }, t.prototype.initSizeByHtml = function (t, e) { this.width || this.setWidth(t), this.height || this.setHeight(e); + }, t.prototype.getRectInfo = function () { + var d = {w: 0, h: 0, diffW: 0, diffH: 0}; + if (this.transform) { + var rad = this.transform * Math.PI / 180, + width = this.width, height = this.height, + sin = Math.sin(rad), cos = Math.cos(rad), + w = Math.abs(width * cos) + Math.abs(height * sin), + h = Math.abs(width * sin) + Math.abs(height * cos), + diffW = (width - w) / 2, diffH = (height - h) / 2; + d.w = w, d.h = h, d.diffW = diffW, d.diffH = diffH; + } + return d; }, t.prototype.getLeft = function () { return this.left; - }, t.prototype.displayLeft = function () { + }, t.prototype.posLeft = function () { + var left = this.left; + if (this.transform) left += this.getRectInfo().diffW; + return Math.floor(left * 10) / 10; + }, t.prototype.setRotate = function (t) { + null != t && (this.transform = t); + }, t.prototype.displayLeft = function (t) { + if (this.transform && t) { + return this.left + this.getRectInfo().diffW + "pt"; + } return this.left + "pt"; }, t.prototype.setLeft = function (t) { null != t && (this.left = t); }, t.prototype.getTop = function () { return this.top; + }, t.prototype.posTop = function () { + var top = this.top; + if (this.transform) top += this.getRectInfo().diffH; + return Math.floor(top * 10) / 10; }, t.prototype.getTopInDesign = function () { return this.topInDesign; - }, t.prototype.displayTop = function () { + }, t.prototype.displayTop = function (t) { + if (this.transform && t) { + return this.top + this.getRectInfo().diffH + "pt"; + } return this.top + "pt"; }, t.prototype.setTop = function (t) { null != t && (this.top = t); }, t.prototype.copyDesignTopFromTop = function () { this.topInDesign = this.top; }, t.prototype.getHeight = function () { + if (this.transform) { + var i = this.getRectInfo(); + return i.h + i.diffH; + } return this.height; }, t.prototype.displayHeight = function () { return this.height + "pt"; }, t.prototype.setHeight = function (t) { null != t && (this.height = t); }, t.prototype.getWidth = function () { + if (this.transform) { + var i = this.getRectInfo(); + return i.w + i.diffW; + } return this.width; }, t.prototype.displayWidth = function () { return this.width + "pt"; @@ -1095,7 +623,7 @@ var hiprint = function (t) { return Object.keys(this).filter(function (t) { return "topInDesign" != t; }).forEach(function (n) { - if ("number" != typeof e[n] && "string" != typeof e[n] && _typeof(e[n]) != _typeof(!0) || (t[n] = e[n]), "style" == n) { + if ("number" != typeof e[n] && "string" != typeof e[n] && !['fields'].includes(n) && _typeof(e[n]) != _typeof(!0) || (t[n] = e[n]), "style" == n) { t.style = {}; var i = e[n]; if (i) Object.keys(i).forEach(function (e) { @@ -1162,65 +690,282 @@ var hiprint = function (t) { }, BasePrintElement.prototype.getTitle = function () { return this.printElementType.title; }, BasePrintElement.prototype.updateSizeAndPositionOptions = function (t, e, n, i) { - this.options.setLeft(t), this.options.setTop(e), this.options.copyDesignTopFromTop(), this.options.setWidth(n), this.options.setHeight(i), _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_4__.a.event.trigger("hiprintTemplateDataChanged_" + this.templateId); + const template = _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.getPrintTemplateById(this.templateId) + if (this.panel !== void 0 && !template.willOutOfBounds) { + const panelWidthPt = hinnn.mm.toPt(this.panel.width) + const panelHeightPt = hinnn.mm.toPt(this.panel.height) + if (t < 0) { + return + } + if (e < 0) { + return + } + if (t + this.options.width > panelWidthPt) { + return + } + if (e + this.options.height > panelHeightPt) { + return + } + } + this.options.setLeft(t), this.options.setTop(e), this.options.copyDesignTopFromTop(), this.options.setWidth(n), this.options.setHeight(i); }, BasePrintElement.prototype.initSizeByHtml = function (t) { if (t && t.length) { this.createTempContainer(); var e = t.clone(); - this.getTempContainer().append(e), this.options.initSizeByHtml(parseInt(_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_4__.a.px.toPt(e.width()).toString()), parseInt(_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_4__.a.px.toPt(e.height()).toString())), this.removeTempContainer(); + this.getTempContainer().append(e), this.options.initSizeByHtml(parseInt(hinnn.px.toPt(e.width()).toString()), parseInt(hinnn.px.toPt(e.height()).toString())), this.removeTempContainer(); } }, BasePrintElement.prototype.updateTargetSize = function (t) { t.css("width", this.options.displayWidth()), t.css("height", this.options.displayHeight()); }, BasePrintElement.prototype.updateTargetWidth = function (t) { t.css("width", this.options.displayWidth()); }, BasePrintElement.prototype.getDesignTarget = function (t) { - var e = this; - return this.designTarget = this.getHtml(t)[0].target, this.designPaper = t, this.designTarget.click(function () { - _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_4__.a.event.trigger(e.getPrintElementSelectEventKey(), { - printElement: e - }); + var e = this, lastTimeStamp = 0; + return this.designTarget = this.getHtml(t)[0].target, this.designPaper = t, this.designTarget.click(function (ev) { + if (ev.timeStamp - lastTimeStamp > 500) { + hinnn.event.trigger(e.getPrintElementSelectEventKey(), { + printElement: e + }); + } + lastTimeStamp = ev.timeStamp; + }), this.designTarget.dblclick(function (ev) { + var c = e.designTarget.find(".hiprint-printElement-content"); + if (c) { + var p = e.designTarget.find(".resize-panel"); + if (e.printElementType.type == "text" && !(e.options.textType && "text" != e.options.textType)) { + e._editing = true; + e.designTarget.hidraggable('update', {draggable: false}); + c.css("cursor", "text"), c.addClass("editing"); + e.designTarget.addClass("editing"); + c.click(function (ev) { + if (e._editing) { + ev.stopPropagation(); + } + }) + c.attr("contenteditable", true), p && p.css("display", "none"); + e.selectEnd(c); + } + } }), this.designTarget; + }, BasePrintElement.prototype.selectEnd = function (el) { + el.focus(); + if (typeof window.getSelection != "undefined" + && typeof document.createRange != "undefined") { + var r = document.createRange(); + r.selectNodeContents(el[0]); + r.collapse(false); + var sel = window.getSelection(); + sel.removeAllRanges(); + sel.addRange(r); + } else if (typeof document.body.createTextRange != "undefined") { + var r = document.body.createTextRange(); + r.moveToElementText(el[0]), r.collapse(false), r.select(); + } + }, BasePrintElement.prototype.updateByContent = function (clear) { + var e = this, c = e.designTarget.find(".hiprint-printElement-content"); + if (e._editing) { + c && c.css("cursor", "") && c.removeClass("editing") && c.removeAttr("contenteditable"); + e.designTarget.removeClass("editing"); + var t = c.text(), title = e.options.title; + if (t.startsWith(title) && e.options.field) { + if (t.length > title.length) { + e.options.testData = t.split(":")[1]; + } else { + e.options.title = t; + e.options.testData = ""; + } + } else { + e.options.title = t; + } + e.options.title = e.options.title.split(":")[0] + if (!clear) { + hinnn.event.trigger(e.getPrintElementSelectEventKey(), { + printElement: e + }); + } + e.updateDesignViewFromOptions(), hinnn.event.trigger("hiprintTemplateDataChanged_" + e.templateId, "编辑修改"); + e._editing = false; + var draggable = e.options.draggable == undefined || true == e.options.draggable; + e.designTarget.hidraggable('update', {draggable: draggable}); + } }, BasePrintElement.prototype.getPrintElementSelectEventKey = function () { return "PrintElementSelectEventKey_" + this.templateId; }, BasePrintElement.prototype.design = function (t, e) { var n = this; this.designTarget.hidraggable({ - axis: n.options.axis && t && t.axisEnabled ? n.options.axis : void 0, + // 添加 draggable 属性 + draggable: n.options.draggable, + axis: n.options.axis ? n.options.axis : void 0, + designTarget: n, onDrag: function onDrag(t, i, o) { - n.updateSizeAndPositionOptions(i, o), n.createLineOfPosition(e); + // 处理按住 ctrl / command 多选元素 + var els = n.panel.printElements.filter(function (t) { + return ('block' == t.designTarget.children().last().css('display') + && t.designTarget.children().last().hasClass('selected')) && !t.printElementType.type.includes('table'); + }); + var isMultiple = els.length > 1; + var notSelected = !n.designTarget.children().last().hasClass('selected'); + if (isMultiple) { + var left = i - n.options.left, top = o - n.options.top; + els.forEach(function (t) { + t.updateSizeAndPositionOptions(left + t.options.getLeft(), top + t.options.getTop()), + t.designTarget.css("left", t.options.displayLeft()), t.designTarget.css("top", t.options.displayTop()); + t.createLineOfPosition(e); + }) + if (notSelected) { + n.updateSizeAndPositionOptions(i, o), n.createLineOfPosition(e); + } + } else { + n.updateSizeAndPositionOptions(i, o), n.createLineOfPosition(e); + } + _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.changed = !0; }, moveUnit: "pt", minMove: _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.movingDistance, onBeforeDrag: function onBeforeDrag(t) { _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.draging = !0, n.designTarget.focus(), n.createLineOfPosition(e); }, + onBeforeSelectAllDrag: function onBeforeSelectAllDrag() { + _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.draging = !0, n.designTarget.focus() + }, + getScale: function getScale() { + return n.designPaper.scale || 1; + }, onStopDrag: function onStopDrag(t) { - _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.draging = !1, n.removeLineOfPosition(); + // 普通元素拖动结束事件history + if (_HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.changed) hinnn.event.trigger("hiprintTemplateDataChanged_" + n.templateId, "移动"); + _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.draging = !1, + _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.changed = !1; + var els = n.panel.printElements.filter(function (t) { + return 'block' == t.designTarget.children().last().css('display') && !t.printElementType.type.includes('table'); + }); + if (els.length > 1) { + els.forEach(function (t) { t.removeLineOfPosition() }) + } else n.removeLineOfPosition(); + } + }), this.setResizePanel(), this.bingCopyEvent(this.designTarget), this.bingKeyboardMoveEvent(this.designTarget, e); + }, BasePrintElement.prototype.getPrintElementEntity = function (t) { + return t ? new _entity_PrintElementEntity__WEBPACK_IMPORTED_MODULE_0__.a(void 0, this.options.getPrintElementOptionEntity(), this.printElementType.getPrintElementTypeEntity()) : new _entity_PrintElementEntity__WEBPACK_IMPORTED_MODULE_0__.a(this.printElementType.tid, this.options.getPrintElementOptionEntity()); + }, BasePrintElement.prototype.submitOption = function () { + var els = this.panel.printElements.filter(function (t) { + return ('block' == t.designTarget.children().last().css('display') + && t.designTarget.children().last().hasClass('selected')) + && !t.printElementType.type.includes('table'); + }); + els = els.filter(ele => ele.printElementType.type == this.printElementType.type) + var t = this, o = this.getConfigOptions(); + if (o && o.tabs && o.tabs.length) { + this.getPrintElementOptionTabs().forEach(function (tab) { + // 样式更新要应用到其他选中的同种元素 + if(tab.name === "样式" && els.length){ + tab.list.forEach(function (e) { + els.forEach(ele => { + var n = e.getValue(), + r = 'textType' == e.name && ele.options[e.name] !== n, + a = 'axis' == e.name && ele.options[e.name] !== n; + n && "object" == _typeof(n) ? Object.keys(n).forEach(function (e) { + ele.options[e] = n[e]; + }) : ele.options[e.name] = n; + if (r) { + ele.setResizePanel() + } + if (a) { + ele.designTarget.hidraggable('update', { axis: n }) + } + }) + }) + }else{ + tab.list.forEach(function (e) { + var n = e.getValue(), r = 'textType' == e.name && t.options[e.name] !== n, + a = 'axis' == e.name && t.options[e.name] !== n; + n && "object" == _typeof(n) ? Object.keys(n).forEach(function (e) { + t.options[e] = n[e]; + }) : t.options[e.name] = n; + if (r) { + t.setResizePanel() + } + if (a) { + t.designTarget.hidraggable('update', {axis: n}) + } + }) + } + }); + } else { + this.getPrintElementOptionItems().forEach(function (e) { + var n = e.getValue(), r = 'textType' == e.name && t.options[e.name] !== n, + a = 'axis' == e.name && t.options[e.name] !== n; + n && "object" == _typeof(n) ? Object.keys(n).forEach(function (e) { + t.options[e] = n[e]; + }) : t.options[e.name] = n; + if (r) { + t.setResizePanel() + } + if (a) { + t.designTarget.hidraggable('update', {axis: n}) + } + }); } - }), this.designTarget.hireizeable({ + this.updateDesignViewFromOptions(), hinnn.event.trigger("hiprintTemplateDataChanged_" + this.templateId, "元素修改"); + }, BasePrintElement.prototype.updateOption = function (o, v, b) { + try { + var e = this.getConfigOptions(); + var optionKeys = []; + if (e && e.tabs && e.tabs.length) { + e.tabs.forEach(function (n) { + n.options.forEach(function (e) { + optionKeys.push(e.name); + }) + }); + } else { + optionKeys = e.supportOptions.map(function (e) {return e.name}); + } + if (optionKeys && optionKeys.includes(o)) { + this.options[o] = v; + this.updateDesignViewFromOptions(); + if (!b) { + hinnn.event.trigger("hiprintTemplateDataChanged_" + this.templateId, "参数修改"); + } + } + this._printElementOptionTabs.forEach(tab=>{ + tab.list.forEach(item=>{ + if(item.name === o){ + item.target.find('select')?.val(v.toString()) + item.target.find('input')?.val(v.toString()) + } + }) + }); + } catch (e) { + console.log('updateOption error', e) + } + }, BasePrintElement.prototype.getReizeableShowPoints = function () { + return ['barcode', 'qrcode'].includes(this.options.textType) ? ["se", "s", "e", "r"] : ["s", "e", "r"]; + }, BasePrintElement.prototype.setResizePanel = function () { + var n = this, e = this.designPaper; + this.designTarget.hireizeable({ showPoints: n.getReizeableShowPoints(), + draggable: n.options.draggable, // 元素是否可拖拽、删除 + // 是否显示宽高box + showSizeBox: _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.showSizeBox, + getScale: function getScale() { + return n.designPaper.scale || 1 + }, onBeforeResize: function onBeforeResize() { _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.draging = !0; }, - onResize: function onResize(t, i, o, r, a) { - n.onResize(t, i, o, r, a), n.createLineOfPosition(e); + onResize: function onResize(t, i, o, r, a, rt) { + if (undefined != rt) { + n.onRotate(t, rt); + } else { + n.onResize(t, i, o, r, a) + } + n.createLineOfPosition(e); }, - onStopResize: function onStopResize() { + onStopResize: function onStopResize(r) { + hinnn.event.trigger("hiprintTemplateDataChanged_" + n.templateId, r ? "旋转" : "大小"); _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.draging = !1, n.removeLineOfPosition(); } - }), this.bingCopyEvent(this.designTarget), this.bingKeyboardMoveEvent(this.designTarget, e); - }, BasePrintElement.prototype.getPrintElementEntity = function (t) { - return t ? new _entity_PrintElementEntity__WEBPACK_IMPORTED_MODULE_0__.a(void 0, this.options.getPrintElementOptionEntity(), this.printElementType.getPrintElementTypeEntity()) : new _entity_PrintElementEntity__WEBPACK_IMPORTED_MODULE_0__.a(this.printElementType.tid, this.options.getPrintElementOptionEntity()); - }, BasePrintElement.prototype.submitOption = function () { - var t = this; - this.getPrintElementOptionItems().forEach(function (e) { - var n = e.getValue(); - n && "object" == _typeof(n) ? Object.keys(n).forEach(function (e) { - t.options[e] = n[e]; - }) : t.options[e.name] = n; - }), this.updateDesignViewFromOptions(), _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_4__.a.event.trigger("hiprintTemplateDataChanged_" + this.templateId); - }, BasePrintElement.prototype.getReizeableShowPoints = function () { - return ["s", "e"]; + }) + }, BasePrintElement.prototype.onRotate = function (t, r) { + this.options.setRotate(r); }, BasePrintElement.prototype.onResize = function (t, e, n, i, o) { this.updateSizeAndPositionOptions(o, i, n, e); }, BasePrintElement.prototype.getOrderIndex = function () { @@ -1231,16 +976,46 @@ var hiprint = function (t) { var o = [], r = this.getBeginPrintTopInPaperByReferenceElement(t), a = t.getPaperFooter(i); - this.isHeaderOrFooter() || this.isFixed() || r > a && (o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ + this.isHeaderOrFooter() || this.isFixed() || r > a && "none" != t.panelPageRule && (o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ target: void 0, printLine: void 0 })), r = r - a + t.paperHeader, i++ , a = t.getPaperFooter(i)); var p = this.getData(e), s = this.createTarget(this.getTitle(), p, n); - return this.updateTargetSize(s), this.css(s, p), s.css("position", "absolute"), s.css("left", this.options.displayLeft()), s.css("top", r + "pt"), o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ + this.updateTargetSize(s), this.css(s, p), s.css("position", "absolute"), s.css("left", this.options.displayLeft()), s.css("top", r + "pt"), o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ target: s, - printLine: r + this.options.getHeight() - })), o; + printLine: r + this.options.getHeight(), + referenceElement: new _PrintReferenceElement__WEBPACK_IMPORTED_MODULE_5__.a({ + top: this.options.getTop(), + left: this.options.getLeft(), + height: this.options.getHeight(), + width: this.options.getWidth(), + beginPrintPaperIndex: t.index, + bottomInLastPaper: r + this.options.getHeight(), + printTopInPaper: r + }) + })) + if (e && this.options.pageBreak) { + o[0].target.css("top", t.paperHeader + "pt"); + o[0].referenceElement.top = this.options.getTop() - this.options.getHeight() - t.paperHeader; + o[0].printLine = t.paperHeader; + o[0].referenceElement.bottomInLastPaper = 0; + o[0].referenceElement.printTopInPaper = t.paperHeader; + o.unshift(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ + target: s, + printLine: t.height, + referenceElement: new _PrintReferenceElement__WEBPACK_IMPORTED_MODULE_5__.a({ + top: 0, + left: 0, + height: 0, + width: 0, + beginPrintPaperIndex: t.index, + bottomInLastPaper: t.height, + printTopInPaper: t.paperHeader + }) + })) + } + return o; }, BasePrintElement.prototype.getHtml2 = function (t, e, n) { var i = 0; this.setCurrenttemplateData(e); @@ -1251,14 +1026,15 @@ var hiprint = function (t) { this.isHeaderOrFooter() || this.isFixed() || ("none" != t.panelPageRule && r > a && (o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ target: void 0, printLine: void 0 - })), r = r - a + t.paperHeader, i++ , a = t.getPaperFooter(i)), r <= a && r + this.options.getHeight() > a && (o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ + // (e && r + this.options.getHeight() > a) --> 设计时拖拽元素高度超过页脚线时,导致报错问题 + })), r = r - a + t.paperHeader, i++ , a = t.getPaperFooter(i)), r <= a && (e && r + this.options.getHeight() > a) && "none" != t.panelPageRule && (o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ target: void 0, printLine: void 0 })), r = t.paperHeader, i++ , a = t.getPaperFooter(i))); var p = this.getData(e), s = this.createTarget(this.getTitle(), p); - if ("none" == t.panelPageRule && (r + this.options.getHeight()) > a) this.updatePanelHeight(r + this.options.getHeight(),t); - return this.updateTargetSize(s), this.css(s, p), s.css("position", "absolute"), s.css("left", this.options.displayLeft()), s.css("top", r + "pt"), o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ + if ("none" == t.panelPageRule && (r + this.options.getHeight()) > a) this.updatePanelHeight(r + this.options.getHeight(), t); + this.updateTargetSize(s), this.css(s, p), s.css("position", "absolute"), s.css("left", this.options.displayLeft()), s.css("top", r + "pt"), o.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ target: s, printLine: r + this.options.getHeight(), referenceElement: new _PrintReferenceElement__WEBPACK_IMPORTED_MODULE_5__.a({ @@ -1270,14 +1046,36 @@ var hiprint = function (t) { bottomInLastPaper: r + this.options.getHeight(), printTopInPaper: r }) - })), o; - }, BasePrintElement.prototype.updatePanelHeight = function (h,p) { + })); + if (e && this.options.pageBreak) { + o[0].target.css("top", t.paperHeader + "pt"); + o[0].referenceElement.top = this.options.getTop() - this.options.getHeight() - t.paperHeader; + o[0].printLine = t.paperHeader; + o[0].referenceElement.bottomInLastPaper = 0; + o[0].referenceElement.printTopInPaper = t.paperHeader; + o.unshift(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_3__.a({ + target: s, + printLine: t.height, + referenceElement: new _PrintReferenceElement__WEBPACK_IMPORTED_MODULE_5__.a({ + top: 0, + left: 0, + height: 0, + width: 0, + beginPrintPaperIndex: t.index, + bottomInLastPaper: t.height, + printTopInPaper: t.paperHeader + }) + })) + } + return o; + }, BasePrintElement.prototype.updatePanelHeight = function (h, p) { if ("none" == this.panel.panelPageRule) { - var nmh = _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_4__.a.pt.toMm(h); + var nmh = hinnn.pt.toMm(h); // 更改模板高度 paperType, width(mm), height(mm), rotate // this.panel.resize(void 0, t.mmwidth, nmh, !1); // 这个会更新模板的高度... // this.panel.target.css("height", nmh + "mm"), this.panel.target.attr("original-height", nmh); + p.paperFooter = h; p.target.css("height", nmh + "mm"), p.target.attr("original-height", nmh); } }, BasePrintElement.prototype.getBeginPrintTopInPaperByReferenceElement = function (t) { @@ -1289,7 +1087,15 @@ var hiprint = function (t) { o = this.getConfigOptions(); if (o) { - var r = o.supportOptions; + var r; + if (o.tabs && o.tabs.length) { + r = []; + o.tabs.forEach(function (n) { + r = r.concat(n.options) + }); + } else { + r = o.supportOptions; + } r && r.forEach(function (e) { var o = _print_element_option_PrintElementOptionItemManager__WEBPACK_IMPORTED_MODULE_2__.a.getItem(e.name); @@ -1312,23 +1118,58 @@ var hiprint = function (t) { } }, BasePrintElement.prototype.getData = function (t) { var f = this.getField(); - return t ? f ? f.split('.').reduce((a,c)=>a ? a[c] : t ? t[c] : "", !1) : "" : this.printElementType.getData(); + return t ? f ? f.split('.').reduce((a, c) => a ? a[c] : t ? t[c] : "", !1) || "" : "" : this.printElementType.getData(); }, BasePrintElement.prototype.copyFromType = function () { - var options = this.options,type = this.printElementType; - var names = this.getConfigOptions().supportOptions.map(function(e){return e.name}); + var options = this.options, type = this.printElementType; + var o = this.getConfigOptions(); + var names = []; + if (o && o.tabs && o.tabs.length) { + o.tabs.forEach(function (n) { + n.options.forEach(function (e) { + names.push(e.name); + }) + }); + } else { + names = o.supportOptions.map(function (e) {return e.name}); + } Object.keys(type).forEach(function (e) { if (type[e] && ('columns' != e) && names.indexOf(e) > -1) { options[e] = 'function' == _typeof(type[e]) ? type[e].toString() : type[e] } }) return options + }, BasePrintElement.prototype.getPrintElementOptionTabs = function () { + if (this._printElementOptionTabs) return this._printElementOptionTabs; + var tabs = [], + e = this.getConfigOptions(); + if (e) { + var t = e.tabs; + t && t.forEach(function (n, i) { + tabs.push({name: n.name, list: []}) + n.options.filter(function (t) { + return !t.hidden; + }).forEach(function (e) { + var n = _print_element_option_PrintElementOptionItemManager__WEBPACK_IMPORTED_MODULE_2__.a.getItem(e.name); + tabs[i].list.push(n); + }) + }); + } + return this._printElementOptionTabs = tabs, this._printElementOptionItems = void 0, this._printElementOptionTabs; }, BasePrintElement.prototype.getPrintElementOptionItems = function () { if (this._printElementOptionItems) return this._printElementOptionItems; var t = [], e = this.getConfigOptions(); if (e) { - var n = e.supportOptions; + var n; + if (e.tabs && e.tabs.length) { + n = []; + e.tabs.forEach(function (n) { + n = n.concat(n.options) + }); + } else { + n = e.supportOptions; + } n && n.filter(function (t) { return !t.hidden; }).forEach(function (e) { @@ -1338,13 +1179,21 @@ var hiprint = function (t) { }); } - return this._printElementOptionItems = this.filterOptionItems(t.concat()), this._printElementOptionItems; + return this._printElementOptionItems = this.filterOptionItems(t.concat()), this._printElementOptionTabs = void 0, this._printElementOptionItems; }, BasePrintElement.prototype.getPrintElementOptionItemsByName = function (t) { var e = [], n = this.getConfigOptionsByName(t); if (n) { - var i = n.supportOptions; + var i; + if (n.tabs && n.tabs.length) { + i = []; + n.tabs.forEach(function (n) { + i = i.concat(n.options) + }); + } else { + i = n.supportOptions; + } i && i.filter(function (t) { return !t.hidden; }).forEach(function (t) { @@ -1376,30 +1225,101 @@ var hiprint = function (t) { }, BasePrintElement.prototype.onRendered = function (t, e) { this.printElementType && this.printElementType.onRendered && this.printElementType.onRendered(e, this.options, t.getTarget()); }, BasePrintElement.prototype.createLineOfPosition = function (t) { - var e = $(".toplineOfPosition" + this.id), - n = $(".leftlineOfPosition" + this.id), - i = $(".rightlineOfPosition" + this.id), - o = $(".bottomlineOfPosition" + this.id); - if (e.length ? e.css("top", this.options.displayTop()) : ((e = $('
    ')).css("top", this.options.displayTop()), e.css("width", t.displayWidth()), this.designTarget.parents(".hiprint-printPaper-content").append(e)), n.length) n.css("left", this.options.displayLeft()); else { - var r = $('
    '); - r.css("left", this.options.displayLeft()), r.css("height", t.displayHeight()), this.designTarget.parents(".hiprint-printPaper-content").append(r); + var e = $(".toplineOfPosition.id" + this.id), + topPos = $(".topPosition.id" + this.id), + n = $(".leftlineOfPosition.id" + this.id), + leftPos = $(".leftPosition.id" + this.id), + i = $(".rightlineOfPosition.id" + this.id), + o = $(".bottomlineOfPosition.id" + this.id); + var config = _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance; + if (e.length) e.css("top", this.options.displayTop(true)); else { + var e = $('
    '); + e.css("top", this.options.displayTop(true)), e.css("width", t.displayWidth()), this.designTarget.parents(".hiprint-printPaper-content").append(e); + } + if (config.showPosition) { + if (topPos.length) { + topPos.toggleClass("topPosition-lineMode", config.positionLineMode); + topPos.text(this.options.posTop() + (config.positionUnit ? 'pt' : '')); + topPos.css("top", (this.options.posTop() - topPos.height()) + "pt"); + if (config.positionLineMode) { + topPos.css("left", (this.options.posLeft() - topPos.width() / 2) + "pt"); + } else { + topPos.css("left", this.options.posLeft() + 2 + "pt"); + } + this.designTarget.find('.size-box') && this.designTarget.find('.size-box').toggleClass('hide', true); + } else { + var topPos = $('
    '); + topPos.toggleClass("topPosition-lineMode", config.positionLineMode); + topPos.text(this.options.posTop() + (config.positionUnit ? 'pt' : '')); + if (config.positionLineMode) { + topPos.css("left", (this.options.posLeft() - topPos.width() / 2) + "pt"); + } else { + topPos.css("left", this.options.posLeft() + 2 + "pt"); + } + this.designTarget.find('.size-box') && this.designTarget.find('.size-box').toggleClass('hide', true); + this.designTarget.parents(".hiprint-printPaper-content").append(topPos); + topPos.css("top", (this.options.posTop() - topPos.height()) + "pt"); + } + } + if (n.length) n.css("left", this.options.displayLeft(true)); else { + var r = $('
    '); + r.css("left", this.options.displayLeft(true)), r.css("height", t.displayHeight()), this.designTarget.parents(".hiprint-printPaper-content").append(r); + } + if (config.showPosition) { + if (leftPos.length) { + leftPos.text(this.options.posLeft() + (config.positionUnit ? 'pt' : '')); + leftPos.toggleClass("leftPosition-lineMode", config.positionLineMode); + leftPos.css("left", (this.options.posLeft() - leftPos.width()) + "pt"); + if (config.positionLineMode) { + leftPos.css("top", this.options.posTop() - leftPos.height() / 3 + "pt"); + } else { + leftPos.css("top", this.options.posTop() + 2 + "pt"); + } + } else { + var leftPos = $('
    '); + leftPos.text(this.options.posLeft() + (config.positionUnit ? 'pt' : '')); + leftPos.toggleClass("leftPosition-lineMode", config.positionLineMode); + if (config.positionLineMode) { + leftPos.css("top", this.options.posTop() - leftPos.height() / 3 + "pt"); + } else { + leftPos.css("top", this.options.posTop() + 2 + "pt"); + } + this.designTarget.parents(".hiprint-printPaper-content").append(leftPos); + leftPos.css("left", (this.options.posLeft() - leftPos.width()) + "pt"); + } } if (i.length) i.css("left", this.options.getLeft() + this.options.getWidth() + "pt"); else { - var a = $('
    '); + var a = $('
    '); a.css("left", this.options.getLeft() + this.options.getWidth() + "pt"), a.css("height", t.displayHeight()), this.designTarget.parents(".hiprint-printPaper-content").append(a); } if (o.length) o.css("top", this.options.getTop() + this.options.getHeight() + "pt"); else { - var p = $('
    '); + var p = $('
    '); p.css("top", this.options.getTop() + this.options.getHeight() + "pt"), p.css("width", t.displayWidth()), this.designTarget.parents(".hiprint-printPaper-content").append(p); } }, BasePrintElement.prototype.removeLineOfPosition = function () { - $(".toplineOfPosition" + this.id).remove(), $(".leftlineOfPosition" + this.id).remove(), $(".rightlineOfPosition" + this.id).remove(), $(".bottomlineOfPosition" + this.id).remove(); + $(".toplineOfPosition.id" + this.id).remove(), $(".topPosition.id" + this.id).remove(), this.designTarget.find('.size-box') && this.designTarget.find('.size-box').toggleClass('hide', false), $(".leftlineOfPosition.id" + this.id).remove(), $(".leftPosition.id" + this.id).remove(), $(".rightlineOfPosition.id" + this.id).remove(), $(".bottomlineOfPosition.id" + this.id).remove(); + }, BasePrintElement.prototype.getFontList = function () { + var t = this.options.fontList; + return t || (t = _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.getPrintTemplateById(this.templateId).getFontList()); }, BasePrintElement.prototype.getFields = function () { - var t = this.printElementType.getFields(); + if ("table" == this.printElementType.type) { + var t = this.options.tableFields; + return t + } + var t = this.options.fields; return t || (t = _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.getPrintTemplateById(this.templateId).getFields()); + }, BasePrintElement.prototype.getOnImageChooseClick = function () { + var t = this.options.onImageChooseClick; + return t || (t = _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick()); }, BasePrintElement.prototype.bingCopyEvent = function (t) { var n = this; t.keydown(function (r) { + if (n._editing) { + if (!(r.altKey) && 13 == r.keyCode) { + n.updateByContent(); + return + } + } // ctrl + c / command + c if ((r.ctrlKey || r.metaKey) && 67 == r.keyCode) { n.copyJson(); @@ -1413,29 +1333,42 @@ var hiprint = function (t) { var copyArea = $('#copyArea'); if (!copyArea.length) copyArea = $(''); $("body").append(copyArea); - var json = JSON.stringify({ - options: n.options, - printElementType: n.printElementType, - id: n.id, - templateId: n.templateId - }); + let copyElements = this.panel.printElements.filter(ele => { + return 'block' == ele.designTarget.children().last().css('display') && !ele.printElementType.type.includes('table'); + }) + copyElements = copyElements.map(ele => { + return { + options: ele.options, + printElementType: ele.printElementType, + id: ele.id, + templateId: ele.templateId + } + }) + var json = JSON.stringify(copyElements) + // var json = JSON.stringify({ + // options: n.options, + // printElementType: n.printElementType, + // id: n.id, + // templateId: n.templateId + // }); copyArea.text(json); // 元素需可见才能选中复制到剪切板 - copyArea.css('visibility','visible'); - copyArea.focus(); + copyArea.css('visibility', 'visible'); + // 尝试修复对复制元素的自动聚焦 + // copyArea.focus(); if (copyArea.setSelectionRange) copyArea.setSelectionRange(0, copyArea.value.length); else copyArea.select(); var flag = false; flag = document.execCommand("copy"); - copyArea.css('visibility','hidden'); + copyArea.css('visibility', 'hidden'); // 获取元素焦点,不然无法粘贴(keydown问题) n.designTarget.focus(); console.log('copyJson success'); - } catch(e){ + } catch (e) { flag = false; - console.log('copyJson error',e); + console.log('copyJson error', e); } return flag; }, BasePrintElement.prototype.clone = function (t) { @@ -1468,51 +1401,104 @@ var hiprint = function (t) { i = void 0, o = void 0; t.attr("tabindex", "1"), t.keydown(function (r) { - // table处理 - if (n.printElementType.type.includes('table')) { - // 拖拽出来的表格 - if (n.columns && n.columns.length) { - var isEditing = n.columns[0].isHead && n.columns[0].columns.some((e) => e.isEditing == true) - if (isEditing) return - } else if (n.options.columns && n.options.columns.length) { // json生成的表格 - var isEditing = n.options.columns[0].isHead && n.options.columns[0].columns.some((e) => e.isEditing == true) - if (isEditing) return - } + // 处理 table / input 输入时 删除元素问题 + if ('INPUT' == r.target.tagName) { + return; + } + // 元素编辑 + if (n._editing && !(r.altKey)) { + return; + } + // 元素禁止移动 + if (false === n.options.draggable) { + return; } + // 处理按住 ctrl / command 多选元素 + var els = n.panel.printElements.filter(function (t) { + return 'block' == t.designTarget.children().last().css('display') && !t.printElementType.type.includes('table'); + }); + var isMultiple = els.length > 1; + var movingDistance = _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.movingDistance; switch (r.keyCode) { // BackSpace/Delete 删除元素 - case 8: - case 46: - var templete = _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.getPrintTemplateById(n.templateId) - templete.deletePrintElement(n) - _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_4__.a.event.trigger("clearSettingContainer") - break - case 37: - i = n.options.getLeft(), n.updateSizeAndPositionOptions(i - _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.movingDistance), t.css("left", n.options.displayLeft()), n.createLineOfPosition(e), r.preventDefault(); - break; + case 8: + case 46: + var templete = _HiPrintlib__WEBPACK_IMPORTED_MODULE_6__.a.instance.getPrintTemplateById(n.templateId) + templete.deletePrintElement(n) + hinnn.event.trigger("hiprintTemplateDataChanged_" + n.templateId, "删除"); + hinnn.event.trigger("clearSettingContainer") + // 获取到了template 拿到template里面所有被选中的元素 + els.forEach(ele=>{ + templete.deletePrintElement(ele) + hinnn.event.trigger("hiprintTemplateDataChanged_" + ele.templateId, "删除"); + }) + hinnn.event.trigger("clearSettingContainer") + break + case 37: + i = n.options.getLeft(); + if (isMultiple) { + els.forEach(function (t) { + t.updatePositionByMultipleSelect(0 - movingDistance, 0); + }) + } else { + n.updateSizeAndPositionOptions(i - movingDistance), t.css("left", n.options.displayLeft()); + } + r.preventDefault(); + break; - case 38: - o = n.options.getTop(), n.updateSizeAndPositionOptions(void 0, o - _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.movingDistance), t.css("top", n.options.displayTop()), n.createLineOfPosition(e), r.preventDefault(); - break; + case 38: + o = n.options.getTop(); + if (isMultiple) { + els.forEach(function (t) { + t.updatePositionByMultipleSelect(0, 0 - movingDistance); + }) + } else { + n.updateSizeAndPositionOptions(void 0, o - movingDistance), t.css("top", n.options.displayTop()); + } + r.preventDefault(); + break; - case 39: - i = n.options.getLeft(), n.updateSizeAndPositionOptions(i + _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.movingDistance), t.css("left", n.options.displayLeft()), n.createLineOfPosition(e), r.preventDefault(); - break; + case 39: + i = n.options.getLeft(); + if (isMultiple) { + els.forEach(function (t) { + t.updatePositionByMultipleSelect(movingDistance, 0); + }) + } else { + n.updateSizeAndPositionOptions(i + movingDistance), t.css("left", n.options.displayLeft()); + } + r.preventDefault(); + break; - case 40: - o = n.options.getTop(), n.updateSizeAndPositionOptions(void 0, o + _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.movingDistance), t.css("top", n.options.displayTop()), n.createLineOfPosition(e), r.preventDefault(); + case 40: + o = n.options.getTop(); + if (isMultiple) { + els.forEach(function (t) { + t.updatePositionByMultipleSelect(0, movingDistance); + }) + } else { + n.updateSizeAndPositionOptions(void 0, o + movingDistance), t.css("top", n.options.displayTop()); + } + r.preventDefault(); + } + if ([37, 38, 39, 40].includes(r.keyCode)) { + hinnn.event.trigger("hiprintTemplateDataChanged_" + n.templateId, "键盘移动"); } }); }, BasePrintElement.prototype.inRect = function (t) { + var ptr = this.designPaper.scale || 1; var x1 = this.designTarget[0].offsetLeft, - y1 = this.designTarget[0].offsetTop, h = this.designTarget[0].offsetHeight, w = this.designTarget[0].offsetWidth, - x2 = x1 + w, y2 = y1 + h, - ex1 = $(t.target[0]).position().left, ey1 = $(t.target[0]).position().top, eh = t.target[0].offsetHeight, ew = t.target[0].offsetWidth, - ex2 = ex1 + ew, ey2 = ey1 + eh; + y1 = this.designTarget[0].offsetTop, h = this.designTarget[0].offsetHeight, + w = this.designTarget[0].offsetWidth, + x2 = x1 + w, y2 = y1 + h, + ex1 = $(t.target[0]).position().left / ptr, ey1 = $(t.target[0]).position().top / ptr, + eh = t.target[0].offsetHeight, ew = t.target[0].offsetWidth, + ex2 = ex1 + ew, ey2 = ey1 + eh; return ex1 < x2 && ex2 > x1 && y1 < ey2 && y2 > ey1; }, BasePrintElement.prototype.multipleSelect = function (t) { t ? this.designTarget.addClass("multipleSelect") : this.designTarget.removeClass("multipleSelect"); }, BasePrintElement.prototype.updatePositionByMultipleSelect = function (t, e) { + if (false === this.options.draggable) return; this.updateSizeAndPositionOptions(t + this.options.getLeft(), e + this.options.getTop()), this.designTarget.css("left", this.options.displayLeft()), this.designTarget.css("top", this.options.displayTop()); }, BasePrintElement; }(); @@ -1549,9 +1535,9 @@ var hiprint = function (t) { i2 = function () { function t() { } - - return t.prototype.init = function (e,i) { - var n = '\n `; e.forEach(function (t, e) { if (t.field == i.field) { n += ' "; @@ -1559,7 +1545,7 @@ var hiprint = function (t) { n += ' "; } }), n += " "; - this.target = $(n), i.getTarget().append(this.target), this.target.focus(); + this.target = $(n), i.getTarget().append(this.target), this.target.focus(); }, t.prototype.getValue = function () { var val = this.target.val() var text = this.target.find('option[value="' + val + '"]').text() @@ -1616,8 +1602,6 @@ var hiprint = function (t) { return this.title; }, t.prototype.beginEdit = function (t) { var e = this; - console.log(t) - console.log(e) if (e.tableOptions.options.fields && e.tableOptions.options.fields.length) { this.editor = r.Instance.createSelect("select"), t.getTarget().html(""), this.editor.init(e.tableOptions.options.fields, t), this.editor.setValue(this.field || ""), $(this.editor.target).keydown(function (n) { 13 == n.keyCode && e.endEdit(t); @@ -1639,7 +1623,9 @@ var hiprint = function (t) { if (e) { if (this.tableOptions.options.isEnableEditField || this.tableOptions.options.fields) { var n = e.split("#"); - t.title = this.title = n[0], n.length > 0 && (t.field = this.field = n[1]); + t.title = this.title = n[0], n.length > 0 && (t.columnId = t.field = this.field = n[1]); + t.id && t.target.attr("id", t.id), t.columnId && t.target.attr("column-id", t.columnId); + hinnn.event.trigger("hiprintTemplateDataChanged_" + this.tableOptions.options.templateId, "调整表格列字段"); } else t.title = this.title = e; } else this.tableOptions.options.isEnableEditField ? (t.title = this.title = "", t.field = this.field = "") : t.title = this.title = ""; this.editor.destroy(), t.getTarget().html(this.title); @@ -1647,7 +1633,7 @@ var hiprint = function (t) { }(), u = function () { return function (t) { - this.title = t.title, this.field = t.field, this.width = t.width, this.align = t.align, this.halign = t.halign, this.vAlign = t.vAlign, this.colspan = t.colspan, this.rowspan = t.rowspan, this.checked = t.checked, this.columnId = t.columnId, this.formatter2 = t.formatter2, this.styler2 = t.styler2; + this.title = t.title, this.field = t.field, this.width = t.width, this.align = t.align, this.halign = t.halign, this.vAlign = t.vAlign, this.colspan = t.colspan, this.rowspan = t.rowspan, this.checked = t.checked, this.columnId = t.columnId, this.tableSummaryTitle = t.tableSummaryTitle, this.tableSummaryText = t.tableSummaryText, this.tableSummaryColspan = t.tableSummaryColspan, this.tableSummary = t.tableSummary, this.tableSummaryAlign = t.tableSummaryAlign, this.tableSummaryNumFormat = t.tableSummaryNumFormat, this.tableSummaryFormatter = t.tableSummaryFormatter, this.showCodeTitle = t.showCodeTitle, this.upperCase = t.upperCase, this.renderFormatter = t.renderFormatter && t.renderFormatter.toString(), this.formatter2 = t.formatter2 && t.formatter2.toString(), this.styler2 = t.styler2 && t.styler2.toString(), this.stylerHeader = t.stylerHeader && t.stylerHeader.toString(), this.tableColumnHeight = t.tableColumnHeight, this.tableTextType = t.tableTextType, this.tableBarcodeMode = t.tableBarcodeMode, this.tableQRCodeLevel = t.tableQRCodeLevel }; }(), d = function () { @@ -1702,7 +1688,8 @@ var hiprint = function (t) { var e = t.rect, n = this.getTableRect(); - if (e.x + e.width > n.x && n.x + n.width > e.x && e.y + e.height > n.y && n.y + n.height > e.y) { + // if (e.x + e.width > n.x && n.x + n.width > e.x && e.y + e.height > n.y && n.y + n.height > e.y) { + if (n.x >= e.x && n.x + n.width <= e.x + e.width && n.y >= e.y && n.y + n.height <= e.y + e.height) { var i = p.a.mergeRect(e, n); return JSON.stringify(e) == JSON.stringify(i) || (t.changed = !0, t.rect = i, !0); } @@ -1748,7 +1735,8 @@ var hiprint = function (t) { f = function (t) { function e(e) { var n = this; - return e = e || {}, (n = t.call(this) || this).width = e.width ? parseFloat(e.width.toString()) : 100, n.title = e.title, n.descTitle = e.descTitle, n.field = e.field, n.fixed = e.fixed, n.rowspan = e.rowspan ? parseInt(e.rowspan) : 1, n.colspan = e.colspan ? parseInt(e.colspan) : 1, n.align = e.align, n.halign = e.halign, n.vAlign = e.vAlign, n.formatter = e.formatter, n.styler = e.styler, n.formatter2 = e.formatter2, n.styler2 = e.styler2, n.checkbox = e.checkbox, n.checked = 0 != e.checked, n.columnId = e.columnId || e.field, n; + return e = e || {}, (n = t.call(this) || this).width = e.width ? parseFloat(e.width.toString()) : 100, n.title = e.title, n.descTitle = e.descTitle, n.field = e.field, n.fixed = e.fixed, n.rowspan = e.rowspan ? parseInt(e.rowspan) : 1, n.colspan = e.colspan ? parseInt(e.colspan) : 1, n.align = e.align, n.halign = e.halign, n.vAlign = e.vAlign, n.formatter = e.formatter, n.styler = e.styler, n.renderFormatter = e.renderFormatter, n.formatter2 = e.formatter2, n.styler2 = e.styler2, n.stylerHeader = e.stylerHeader, n.checkbox = e.checkbox, n.checked = 0 != e.checked, n.columnId = e.columnId || e.field, n.tableColumnHeight = e.tableColumnHeight, n.tableTextType = e.tableTextType, n.tableBarcodeMode = e.tableBarcodeMode, n.tableQRCodeLevel = e.tableQRCodeLevel, n.tableSummaryTitle = e.tableSummaryTitle, n.tableSummaryText = e.tableSummaryText, n.tableSummaryColspan = e.tableSummaryColspan, n.tableSummary = e.tableSummary, n.tableSummaryAlign = e.tableSummaryAlign, n.tableSummaryNumFormat = e.tableSummaryNumFormat, n.tableSummaryFormatter = e.tableSummaryFormatter, + n.showCodeTitle = e.showCodeTitle, n.upperCase = e.upperCase, n; } return h(e, t), e.prototype.css = function (t) { @@ -1780,59 +1768,266 @@ var hiprint = function (t) { } return TableExcelHelper.createTableHead = function (t, e) { - for (var n = TableExcelHelper.reconsitutionTableColumnTree(t), i = $(""), o = TableExcelHelper.getColumnsWidth(n, e), r = function r(t) { + for (var n = TableExcelHelper.reconsitutionTableColumnTree(t), i = $(""), colgroup = $(""), o = TableExcelHelper.getColumnsWidth(n, e), r = function r(t) { var e = $(""); - n[t].forEach(function (t) { + // 重置 colgroup,解决多行表头 col 添加错误问题,仅以最后一行添加 + colgroup = $(""); + n[t].filter(function (t) { + return t.checked; + }).forEach(function (t) { var n = $(""); - t.id && n.attr("id", t.id), t.columnId && n.attr("column-id", t.columnId), (t.align || t.halign) && n.css("text-align", t.halign || t.align), t.vAlign && n.css("vertical-align", t.vAlign), t.colspan > 1 && n.attr("colspan", t.colspan), t.rowspan > 1 && n.attr("rowspan", t.rowspan), n.html(t.title), o[t.id] ? (t.hasWidth = !0, t.targetWidth = o[t.id], n.attr("haswidth", "haswidth"), n.css("width", o[t.id] + "pt")) : t.hasWidth = !1, e.append(n); + t.id && n.attr("id", t.id), t.columnId && n.attr("column-id", t.columnId), (t.align || t.halign) && n.css("text-align", t.halign || t.align), t.vAlign && n.css("vertical-align", t.vAlign), t.colspan > 1 && n.attr("colspan", t.colspan), t.rowspan > 1 && n.attr("rowspan", t.rowspan), n.html(t.title), o[t.id] ? (t.hasWidth = !0, t.targetWidth = o[t.id], n.attr("haswidth", "haswidth"), n.css("width", o[t.id] + "pt")) : t.hasWidth = !1; + var s = TableExcelHelper.getHeaderStyler(t); + if (s) { + var l = s(t); + if (l) Object.keys(l).forEach(function (t) { + n.css(t, l[t]); + }); + } + e.append(n); + colgroup.append(``) }), i.append(e); }, a = 0; a < n.totalLayer; a++) { r(a); } - - return TableExcelHelper.syncTargetWidthToOption(t), i; + return TableExcelHelper.syncTargetWidthToOption(t), [i, colgroup]; }, TableExcelHelper.createTableFooter = function (t, e, n, i, o, r) { - var a = $(""), - p = this.getFooterFormatter(n, i); - return p && a.append(p(n, e, o, r)), a; - }, TableExcelHelper.createTableRow = function (t, e, n, i) { + // n=>options e=>表格所有数据 o=>所有打印数据 r=>表格每页数据 + var a = $(""), p = this.getFooterFormatter(n, i); + var tst = this.tableSummaryTitle; + let tSumData = n.tableFooterRepeat == "last" ? e : r; + let idx = n.columns.length - 1; + var rowColumns = this.rowColumns || n.columns[idx].columns; + if (n.tableFooterRepeat != 'no' && rowColumns.some(function (column) {return column.tableSummary})) { + var tableFooter = $(""); + rowColumns.filter(function (t) { + return t.checked; + }).forEach(function (column) { + var fieldData = tSumData.filter(function (row) { + return row && row[column.field]; + }).map(function (row) { + return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(row[column.field]) ? Number(row[column.field]) : 0; + }); + var text = column.tableSummaryText; + var numF = column.tableSummaryNumFormat || 2; + var style = `text-align: ${column.tableSummaryAlign || "center"}`; + var colspan = column.tableSummaryColspan == void 0 ? 1 : column.tableSummaryColspan; + var upperCaseType = column.upperCase; + let {toUpperCase, numFormat} = _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a; + var tableSummaryFormatter = TableExcelHelper.getColumnTableSummaryFormatter(column); + var formatterResult = tableSummaryFormatter ? tableSummaryFormatter(column, fieldData, e, n) : ''; + if (formatterResult) { + tableFooter.append(formatterResult); + return; + } + switch (column.tableSummary) { + case "count": + var title = tst(column, text || `${i18n.__('计数')}:`, o); + var count = toUpperCase(upperCaseType,tSumData.filter(i => i).length || 0); + tableFooter.append(`${title}${count}`); + break; + case "sum": + var sum = parseFloat(Number(fieldData.reduce(function (prev, cur) { + return prev + cur; + }, 0))); + sum = toUpperCase(upperCaseType,numFormat(sum, numF)); + var title = tst(column, text || `${i18n.__('合计')}:`, o); + tableFooter.append(`${title}${sum}`) + break; + case "avg": + var sum = parseFloat(Number(fieldData.reduce(function (prev, cur) { + return prev + cur; + }, 0))); + var avg = parseFloat(Number(sum / (fieldData.length || 1))); + avg = toUpperCase(upperCaseType,numFormat(avg, numF)); + var title = tst(column, text || `${i18n.__('平均值')}:`, o); + tableFooter.append(`${title}${avg}`) + break; + case "min": + var min = Math.min(...fieldData) || 0; + min == Infinity && (min = 0); + min = toUpperCase(upperCaseType,numFormat(min, numF)); + var title = tst(column, text || `${i18n.__('最小值')}:`, o); + tableFooter.append(`${title}${min || 0}`) + break; + case "max": + var max = Math.max(...fieldData); + max == -Infinity && (max = 0); + max = toUpperCase(upperCaseType,numFormat(max, numF)); + var title = tst(column, text || `${i18n.__('最大值')}:`, o); + tableFooter.append(`${title}${max || 0}`); + break; + case "text": + tableFooter.append(`${text || ""}`); + break; + default: + if (colspan >= 1) { + tableFooter.append(`${text || ""}`) + } + break; + } + }) + a.append(tableFooter); + } + if (p) { + a.append(p(n, e, o, r)); + } + return a; + }, TableExcelHelper.tableSummaryTitle = function (column, title, data) { + var s = column.tableSummaryTitle == undefined || column.tableSummaryTitle == true; + return s ? `${title}` : data ? `` : `${title}`; + }, TableExcelHelper.createTableRow = function (t, e, printData, n, i) { + var h = this; var o = TableExcelHelper.reconsitutionTableColumnTree(t), r = $(""); - (e || (e = []), i.groupFields.length) ? _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a.groupBy(e, i.groupFields, function (t) { + var gff = h.getGroupFieldsFormatter(n, i); + var groupFields = gff ? (n.groupFields = gff(i, n, e)) : i.groupFields ? i.groupFields : []; + (e || (e = []), groupFields.length) ? _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a.groupBy(e, groupFields, function (t) { var e = {}; - return i.groupFields.forEach(function (n) { + return groupFields.forEach(function (n) { return e[n] = t[n]; }), e; }).forEach(function (t) { - if (i.groupFormatter) { - var e = $(""); - e.find("td").append(i.groupFormatter(t, n)), r.append(e); + var groupFormatter = h.getGroupFormatter(n, i); + if (groupFormatter) { + let result = groupFormatter(o.colspan, e, printData, t, n) + if ($(result).is("tr")) { + r.append(result) + } else if ($(result).is("td")) { + r.append(`${result}`) + } else { + r.append(`${result}`) + } } - - if (t.rows.forEach(function (t) { - var e = TableExcelHelper.createRowTarget(o, t, n, i); + var groupFooterFormatter = h.getGroupFooterFormatter(n, i); + var groupData = t; + if (groupData.rows.forEach(function (t, rowIndex) { + var e = TableExcelHelper.createRowTarget(o, t, n, i, rowIndex, groupData.rows, printData); r.append(e); - }), i.groupFooterFormatter) { - var a = $(""); - a.find("td").append(i.groupFooterFormatter(t, n)), r.append(a); + }), groupFooterFormatter) { + let result = groupFooterFormatter(o.colspan, e, printData, t, n) + if ($(result).is("tr")) { + r.append(result) + } else if ($(result).is("td")) { + r.append(`${result}`) + } else { + r.append(`${result}`) + } } - }) : e.forEach(function (t) { - var e = TableExcelHelper.createRowTarget(o, t, n, i); - r.append(e); + }) : e.forEach(function (t, rowIndex) { + var row = TableExcelHelper.createRowTarget(o, t, n, i, rowIndex, e, printData); + r.append(row); }); return r; - }, TableExcelHelper.createRowTarget = function (t, e, n, i) { + }, TableExcelHelper.createRowTarget = function (t, e, n, i, rowIndex, tableData, printData) { var o = $(""); - o.data("rowData", e), t.rowColumns.forEach(function (t, i) { - var r = $(""); - if ("first" == n.tableHeaderRepeat || "none" == n.tableHeaderRepeat) { - t.field && r.attr("field", t.field), t.align && r.css("text-align", t.align), t.vAlign && r.css("vertical-align", t.vAlign), r.css("width", t.width + "pt"); + var columns = t.rowColumns.filter(function (t) { + return t.checked; + }); + o.data("rowData", e), t.rowColumns.filter(function (t) { + return t.checked; + }).forEach(function (t, i) { + if (!t.checked) return; + var rowsColumnsMerge = '' + if (n.rowsColumnsMerge) { + eval('rowsColumnsMerge=' + n.rowsColumnsMerge) + var rowsColumnsArr = rowsColumnsMerge(e, t, i, rowIndex, tableData, printData) || [1, 1] + var r = $(``); + } else { + var r = $(""); + } + // 设计时不去计算宽度 + if (e && Object.keys(e).length > 0 && ("first" == n.tableHeaderRepeat || "none" == n.tableHeaderRepeat)) { + t.field && r.attr("field", t.field), t.align && r.css("text-align", t.align), t.vAlign && r.css("vertical-align", t.vAlign); + // 无表头时跨行无效,需根据所跨行数重新计算宽度 + if (n.rowsColumnsMerge) { + if (rowsColumnsArr[1] > 1) { + var width = 0; + columns.forEach((item, index) => { + if (index >= i && (index < i + rowsColumnsArr[1])) { + width += item.width + } + }) + } + } + r.css("width", (width || t.width) + "pt"); } else { t.field && r.attr("field", t.field), t.align && r.css("text-align", t.align), t.vAlign && r.css("vertical-align", t.vAlign); } var a = TableExcelHelper.getColumnFormatter(t), p = a ? a(e[t.field], e, i, n) : e[t.field]; - r.html(p); + var rf = TableExcelHelper.getColumnRenderFormatter(t); + if (rf) { + r.html(rf(e[t.field], e, i, n, rowIndex)) + //表格内容插入二维码等 + } else if ("text" == t.tableTextType || t.tableTextType == void 0) r.html(p); + else { + if ("barcode" == t.tableTextType) { + r.html( + '
    ' + ); + try { + p ? (JsBarcode(r.find(".hibarcode_imgcode")[0], p, { + format: t.tableBarcodeMode || "CODE128A", + width: 1, + textMargin: -1, + lineColor: "#000000", + margin: 0, + height: parseInt(10), + displayValue: !1 + }), r.find(".hibarcode_imgcode").attr("height", t.tableColumnHeight || 30 + 'pt'), r.find(".hibarcode_imgcode").css("margin", '5pt 10pt'), r.find(".hibarcode_imgcode").attr("width", "calc(100% - 20pt)")) : r.html(""); + // this.options.hideTitle || r.find(".hibarcode_displayValue").html(n) + if (t.showCodeTitle) { + r.find('.hibarcode_displayValue').html(p) + } + } catch (t) { + console.log(t), r.html(`${i18n.__('此格式不支持该文本')}`); + } + } + if ("image" == t.tableTextType) { + r.html('') + if (p) { + + var imagebox = $('
    ') + imagebox.find('img').attr('src', p) + console.log(imagebox.find('img').css('width')) + r.html(imagebox) + } + + } + if ("qrcode" == t.tableTextType) { + r.html(""); + try { + var qrcodebox = $('
    ') + + if (p) { + var l = parseInt(t.width || t.targetWidth || 20), + u = parseInt(t.tableColumnHeight || 20); + qrcodebox.css('height', (l > u ? u : l) + 'pt') + new QRCode(qrcodebox[0], { + width: l > u ? u : l, + height: l > u ? u : l, + colorDark: "#000000", + useSVG: !0, + correctLevel: t.tableQRCodeLevel || 0, + }).makeCode(p); + // r.find(".hiqrcode_imgcode").css("margin", '5pt 0pt'), + r.html(qrcodebox) + if(t.showCodeTitle) { + r.append( + '
    ' + ) + r.find('.hiqrcode_displayValue').html(p) + } + } + } catch (t) { + console.log(t), r.html(`${i18n.__('二维码生成失败')}`); + } + } + if ('sequence' === t.tableTextType) { + r.html(rowIndex + 1); + } + } var s = TableExcelHelper.getColumnStyler(t); if (s) { @@ -1854,18 +2049,26 @@ var hiprint = function (t) { } return o; - }, TableExcelHelper.createEmptyRowTarget = function (t) { + }, TableExcelHelper.createEmptyRowTarget = function (t, tableElement) { var e = TableExcelHelper.reconsitutionTableColumnTree(t), - n = $(""); - return e.rowColumns.forEach(function (t, e) { + n = $(""); + e.rowColumns.filter(function (t) { + return t.checked; + }).forEach(function (t, e) { var i = $(""); t.field && i.attr("field", t.field), t.align && i.css("text-align", t.align), t.vAlign && i.css("vertical-align", t.vAlign), n.append(i); - }), n; + }); + if (tableElement && tableElement.options.tableBodyRowHeight) { + n.find('td:not([rowspan])').css('height', tableElement.options.tableBodyRowHeight + 'pt'); + } + return n; }, TableExcelHelper.getColumnsWidth = function (t, e) { var n = {}, i = TableExcelHelper.allAutoWidth(t), o = TableExcelHelper.allFixedWidth(t); - return t.rowColumns.forEach(function (t) { + return t.rowColumns.filter(function (t) { + return t.checked; + }).forEach(function (t) { if (t.fixed) n[t.id] = t.width; else { var r = e - o, a = t.width / i * (r > 0 ? r : 0); @@ -1881,14 +2084,20 @@ var hiprint = function (t) { $(e).css("width", i + "pt"); }); }, TableExcelHelper.allAutoWidth = function (t) { - var e = 0; - return t.rowColumns.forEach(function (t) { - e += t.fixed ? 0 : t.width; + var e = 0, n = {}; + return t.rowColumns.filter(function (t) { + return t.checked; + }).forEach(function (t) { + n[t.id] ? n[t.id] = 0 : n[t.id] = t.width; + e += t.fixed ? 0 : n[t.id]; }), e; }, TableExcelHelper.allFixedWidth = function (t) { - var e = 0; - return t.rowColumns.forEach(function (t) { - e += t.fixed ? t.width : 0; + var e = 0, n = {};; + return t.rowColumns.filter(function (t) { + return t.checked; + }).forEach(function (t) { + n[t.id] ? n[t.id] = 0 : n[t.id] = t.width; + e += t.fixed ? n[t.id] : 0; }), e; }, TableExcelHelper.reconsitutionTableColumnTree = function (t, e, n) { var i = e || new _ReconsitutionTableColumns__WEBPACK_IMPORTED_MODULE_0__.a(); @@ -1909,6 +2118,37 @@ var hiprint = function (t) { t.hasWidth && (t.width = t.targetWidth); }); }); + }, TableExcelHelper.getGroupFieldsFormatter = function (options, tablePrintElementType) { + var groupFieldsFormatter = void 0; + if (tablePrintElementType.groupFields && tablePrintElementType.groupFields.length) { + var arr = typeof tablePrintElementType.groupFields == "string" ? tablePrintElementType.groupFields : JSON.stringify(tablePrintElementType.groupFields); + options.groupFieldsFormatter = "function(type,options,data){ return " + arr + " }"; + } + if (tablePrintElementType.groupFieldsFormatter && (groupFieldsFormatter = tablePrintElementType.groupFieldsFormatter), options.groupFieldsFormatter) try { + var s = "groupFieldsFormatter=" + options.groupFieldsFormatter; + eval(s); + } catch (t) { + console.log(t); + } + return groupFieldsFormatter; + }, TableExcelHelper.getGroupFormatter = function (options, tablePrintElementType) { + var groupFormatter = void 0; + if (tablePrintElementType.groupFormatter && (groupFormatter = tablePrintElementType.groupFormatter), options.groupFormatter) try { + var s = "groupFormatter=" + options.groupFormatter; + eval(s); + } catch (t) { + console.log(t); + } + return groupFormatter; + }, TableExcelHelper.getGroupFooterFormatter = function (options, tablePrintElementType) { + var groupFooterFormatter = void 0; + if (tablePrintElementType.groupFooterFormatter && (groupFooterFormatter = tablePrintElementType.groupFooterFormatter), options.groupFooterFormatter) try { + var s = "groupFooterFormatter=" + options.groupFooterFormatter; + eval(s); + } catch (t) { + console.log(t); + } + return groupFooterFormatter; }, TableExcelHelper.getFooterFormatter = function (options, tablePrintElementType) { var footerFormatter = void 0; if (tablePrintElementType.footerFormatter && (footerFormatter = tablePrintElementType.footerFormatter), options.footerFormatter) try { @@ -1927,6 +2167,15 @@ var hiprint = function (t) { console.log(t); } return rowStyler; + }, TableExcelHelper.getColumnTableSummaryFormatter = function (column) { + var tableSummaryFormatter = void 0; + if (column.tableSummaryFormatter && (tableSummaryFormatter = column.tableSummaryFormatter), column.tableSummaryFormatter) try { + var s = "tableSummaryFormatter=" + column.tableSummaryFormatter; + eval(s); + } catch (t) { + console.log(t); + } + return tableSummaryFormatter; }, TableExcelHelper.getColumnStyler = function (column) { var styler = void 0; if (column.styler && (styler = column.styler), column.styler2) try { @@ -1936,6 +2185,24 @@ var hiprint = function (t) { console.log(t); } return styler; + }, TableExcelHelper.getHeaderStyler = function (column) { + var stylerHeader = void 0; + if (column.stylerHeader && (stylerHeader = column.stylerHeader), column.stylerHeader) try { + var s = "stylerHeader=" + column.stylerHeader; + eval(s); + } catch (t) { + console.log(t); + } + return stylerHeader; + }, TableExcelHelper.getColumnRenderFormatter = function (column) { + var renderFormatter = void 0; + if (column.renderFormatter && (renderFormatter = column.renderFormatter), column.renderFormatter) try { + var s = "renderFormatter=" + column.renderFormatter; + eval(s); + } catch (t) { + console.log(t); + } + return renderFormatter; }, TableExcelHelper.getColumnFormatter = function (column) { var formatter = void 0; if (column.formatter && (formatter = column.formatter), column.formatter2) try { @@ -1946,17 +2213,44 @@ var hiprint = function (t) { } return formatter; }, TableExcelHelper.getOrderdColumns = function (t) { - for (var e = {}, n = function n(_n2) { - t[_n2].forEach(function (t) { - for (var i = 0; i < t.rowspan; i++) { - e[_n2 + i] = e[_n2 + i] ? e[_n2 + i] : [], e[_n2 + i].push(t); + // 新数据 + let newColumns = {}; + // 遍历所有 rawData columns,先处理 colspan 防止后面 rowspan 插入取下标错误 + for (let i = 0; i < t.totalLayer; i++) { + newColumns[i] = []; // 新数据中添加对应 columns + t[i].forEach((column, columnIdx) => { + newColumns[i].push(...new Array(column.colspan).fill({ ...column, colspan: 1 })); // 创建 colspan 个 + }); + } + // 再次遍历 rawData columns,处理 rowspan 给后面 columns 插入相同 column + for (let i = 0; i < t.totalLayer; i++) { + newColumns[i].forEach((column, columnIdx) => { + for (let n = 1; n < column.rowspan; n++) { + newColumns[i + n].splice(columnIdx, 0, { ...column, rowspan: 1 }); } }); - }, i = 0; i < t.totalLayer; i++) { - n(i); } - - return e[t.totalLayer - 1]; + // 把上层/其他层的 field 赋值给最下层 + let lastColumns = []; + for (let i = 0; i < t.totalLayer; i++) { + if (i >= t.totalLayer - 1) { + newColumns[i].forEach((column, columnIdx) => { + if (!column.field) { + column.field = lastColumns[columnIdx]; + } + }) + } else { + newColumns[i].forEach((column, columnIdx) => { + if (i == 0) { + lastColumns.push(column.field || ""); + } else { + column.field && (lastColumns[columnIdx] = column.field); + } + }) + } + } + this.rowColumns = newColumns[t.totalLayer - 1]; + return newColumns[t.totalLayer - 1]; }, TableExcelHelper; }(); }, function (t, e, n) { @@ -1991,7 +2285,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 字体行高\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('字体行高')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -2002,19 +2296,26 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), - o = function () { + fontFamily = function () { function t() { this.name = "fontFamily"; } - - return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 字体\n
    \n
    \n \n
    \n
    '), this.target; + return t.prototype.createTarget = function (t) { + var e = void 0; + if (t && (e = t.getFontList()), e) { + var n = `
    \n
    \n ${i18n.__('字体')}\n
    \n
    \n \n
    \n
    ", this.target = $(n); + } else { + this.target = $(`
    \n
    \n ${i18n.__('字体')}\n
    \n
    \n \n
    \n
    `); + } + return this.target; }, t.prototype.css = function (t, e) { if (t && t.length) { if (e) return t.css("font-family", e), "font-family:" + e; - t[0].style.fontFamily = ""; + t[0].style.fontFamily = "inherit"; // 从父元素继承字体, 否则模板字体无效 } - return null; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); @@ -2039,7 +2340,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 字体大小\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('字体大小')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -2063,7 +2364,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 字体粗细\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('字体粗细')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2078,16 +2379,14 @@ var hiprint = function (t) { function t() { this.name = "letterSpacing"; } - return t.prototype.css = function (t, e) { if (t && t.length) { if (e) return t.css("letter-spacing", e + "pt"), "letter-spacing:" + e + "pt"; t[0].style.letterSpacing = ""; } - return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 字间距\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('字间距')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -2102,7 +2401,6 @@ var hiprint = function (t) { function t() { this.name = "textAlign"; } - return t.prototype.css = function (t, e) { if (t && t.length) { if (e) return t.css("text-align", e), "justify" == e ? (t.css("text-align-last", "justify"), t.css("text-justify", "distribute-all-lines")) : (t[0].style.textAlignLast = "", t[0].style.textJustify = ""), "text-align:" + e; @@ -2111,7 +2409,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 左右对齐\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('左右对齐')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2127,7 +2425,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 标题显示隐藏\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('标题显示隐藏')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { if ("true" == this.target.find("select").val()) return !0; }, t.prototype.setValue = function (t) { @@ -2143,13 +2441,13 @@ var hiprint = function (t) { return t.prototype.css = function (t, e) { if (t.find("table").length) { - if ("border" == e) return t.find("table").css("border", "1px solid"), "border:1px solid"; + if ("border" == e || void 0 == e) return t.find("table").css("border", "1px solid"), "border:1px solid"; "noBorder" == e ? t.find("table").css("border", "0px solid") : t.find("table")[0].style.border = ""; } return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表格边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表格边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2166,15 +2464,13 @@ var hiprint = function (t) { return t.prototype.css = function (t, e) { if (t.find("thead tr").length) { - if ("border" == e) return t.find("thead tr").css("border", "1px solid"), "border:1pt solid"; - "noBorder" == e ? t.find("thead tr").css("border", "0px solid") : "topBorder" == e ? (t.find("thead tr").css("border", "0px solid"), t.find("thead tr").css("border-top", "1px solid")) : "bottomBorder" == e ? (t.find("thead tr").css("border", "0px solid"), t.find("thead tr").css("border-bottom", "1px solid")) : "topBottomBorder" == e ? (t.find("thead tr").css("border", "0px solid"), t.find("thead tr").css("border-top", "1px solid"), t.find("thead tr").css("border-bottom", "1px solid")) : t.find("thead tr").map(function (t, e) { - e.style.border = ""; - }); + if ("border" == e || void 0 == e) return t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-all"); + "noBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-none") : "leftBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-left") : "rightBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-right") : "leftRightBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-lr") : "topBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-top") : "bottomBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-bottom") : "topBottomBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-tb") : t.find("thead tr").removeClass(); } return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表头边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表头边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2190,16 +2486,60 @@ var hiprint = function (t) { } return t.prototype.css = function (t, e) { - if (t.find("thead tr td").length) { - if ("border" == e) return t.find("thead tr td").css("border", "1px solid"), "border:1px solid"; - "noBorder" == e ? t.find("thead tr td").css("border", "0px solid") : t.find("thead tr td").map(function (t, e) { - e.style.border = ""; - }); + if (t.find("thead tr").length) { + if ("border" == e || void 0 == e) return t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-all"); + "noBorder" == e ? t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-none") : t.find("thead tr").removeClass(); + } + + return null; + }, t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('表头单元格边框')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + d2 = function () { + function t() { + this.name = "tableFooterBorder"; + } + + return t.prototype.css = function (t, e) { + if (t.find("tfoot tr").length) { + if ("border" == e || void 0 == e) return t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-all"); + "noBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-none") : "leftBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-left") : "rightBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-right") : "leftRightBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-lr") : "topBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-top") : "bottomBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-bottom") : "topBottomBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-tb") : t.find("tfoot tr").removeClass(); + } + + return null; + }, t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('表尾边框')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + c2 = function () { + function t() { + this.name = "tableFooterCellBorder"; + } + + return t.prototype.css = function (t, e) { + if (t.find("tfoot tr").length) { + if ("border" == e || void 0 == e) return t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-all"); + "noBorder" == e ? t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-none") : t.find("tfoot tr").removeClass(); } return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表头单元格边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表尾单元格边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2224,7 +2564,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表头行高\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表头行高')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -2250,7 +2590,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表头字体大小\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表头字体大小')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -2276,7 +2616,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表头字体粗细\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表头字体粗细')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t; @@ -2293,16 +2633,14 @@ var hiprint = function (t) { } return t.prototype.css = function (t, e) { - if (t.find("tbody tr td").length) { - if ("border" == e) return t.find("tbody tr td").css("border", "1px solid"), "border:1px solid"; - "noBorder" == e ? t.find("tbody tr td").css("border", "0px solid") : t.find("tbody tr td").map(function (t, e) { - e.style.border = ""; - }); + if (t.find("tbody tr").length) { + if ("border" == e || void 0 == e) return t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-all"); + "noBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-none") : t.find("tbody tr").removeClass(); } return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表体单元格\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表体单元格边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2319,7 +2657,7 @@ var hiprint = function (t) { return t.prototype.css = function (t, e) { if (t.find("tbody tr td").length) { - if (e) return t.find("tbody tr td:not([rowspan])").css("height", e + "pt"), "height:" + e + "pt"; + if (e) return t.find("tbody tr td").css("height", e + "pt"), "height:" + e + "pt"; t.find("tbody tr td").map(function (t, e) { e.style.height = ""; }); @@ -2327,7 +2665,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表体行高\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表体行高')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -2353,7 +2691,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表头背景\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表头背景')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return t.toString(); @@ -2371,8 +2709,9 @@ var hiprint = function (t) { this.name = "borderWidth"; } - return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 边框大小\n
    \n
    \n \n
    \n
    '), this.target; + return t.prototype.createTarget = function (t) { + var name = ['hline', 'vline', 'rect', 'oval'].includes(t.printElementType.type) ? `${i18n.__('线宽')}` : `${i18n.__('边框大小')}`; + return this.target = $(`
    \n
    \n ${name}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.css = function (t, e) { if (t && t.length) { if (e) return t.css("border-width", e + "pt"), "border-width:" + e + "pt"; @@ -2396,7 +2735,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 条形码格式\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('条形码格式')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); return t || void 0; @@ -2406,6 +2745,560 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), + barWidth = function () { + function t() { + this.name = "barWidth"; + } + return t.prototype.createTarget = function() { + this.target = $(`
    ${i18n.__('条码宽度')}
    `) + return this.target; + }, t.prototype.getValue = function() { + var t = this.target.find("select").val(); + return t || void 0; + }, t.prototype.setValue = function(t) { + this.target.find("select").val(t) + }, t.prototype.destroy = function() { + this.target.remove() + }, t; + }(), + barAutoWidth = function() { + function t() { + this.name = "barAutoWidth"; + } + return t.prototype.createTarget = function() { + this.target = $(`
    ${i18n.__('条码自动增宽')}
    `) + return this.target; + }, t.prototype.getValue = function() { + var t = this.target.find("select").val(); + return t || void 0; + }, t.prototype.setValue = function(t) { + this.target.find("select").val(t) + }, t.prototype.destroy = function() { + this.target.remove() + }, t; + }(), + barcodeType = function() { + function t() { + this.name = "barcodeType" + } + + return t.prototype.createTarget = function () { + var options = [{ + label: `${i18n.__('默认')}(Code 128)`, + value: "", + }, + { + label: `${i18n.__('商品条码')}`, + children: [ + { + label: "EAN-13", + value: "ean13", + }, + { + label: "EAN-8", + value: "ean8", + }, + { + label: "UPC-A", + value: "upca", + }, + { + label: "UPC-E", + value: "upce", + }, + { + label: "ISBN", + value: "isbn", + }, + { + label: "ISMN", + value: "ismn", + }, + { + label: "ISSN", + value: "issn", + }, + ], + }, + { + label: `${i18n.__('条形码')}`, + children: [ + { + label: "Code 39", + value: "code39", + }, + { + label: "Code 39 Extended", + value: "code39ext", + }, + { + label: "Code 93", + value: "code93", + }, + { + label: "Code 93 Extended", + value: "code93ext", + }, + { + label: "Code 128", + value: "code128", + }, + { + label: "Interleaved 2 of 5 (ITF)", + value: "interleaved2of5", + }, + ], + }, + { + label: `${i18n.__('物流')}`, + children: [ + { + label: "EAN-14", + value: "ean14", + }, + { + label: "GS1-128", + value: "gs1-128", + }, + { + label: "ITF-14", + value: "itf14", + }, + { + label: "SSCC-18", + value: "sscc18", + }, + ], + }, + { + label: "GS1 DataBar", + children: [ + { + label: "扩展式 GS1 DataBar", + value: "databarexpanded", + }, + { + label: "层排扩展式 GS1 DataBar", + value: "databarexpandedstacked", + }, + { + label: "限定式 GS1 DataBar", + value: "databarlimited", + }, + { + label: "全向式 GS1 DataBar", + value: "databaromni", + }, + { + label: "层排式 GS1 DataBar", + value: "databarstacked", + }, + { + label: "全向层排式 GS1 DataBar", + value: "databarstackedomni", + }, + { + label: "截短式 GS1 DataBar", + value: "databartruncated", + }, + { + label: "GS1 北美优惠券码", + value: "gs1northamericancoupon", + }, + ], + }, + { + label: `${i18n.__('邮政和快递编码')}`, + children: [ + { + label: "AusPost 4 State Customer Code", + value: "auspost", + }, + { + label: "Deutsche Post Identcode", + value: "identcode", + }, + { + label: "Deutsche Post Leitcode", + value: "leitcode", + }, + { + label: "Japan Post 4 State Customer Code", + value: "japanpost", + }, + { + label: "Royal TNT Post", + value: "kix", + }, + { + label: "Royal Mail 4 State Customer Code", + value: "royalmail", + }, + { + label: "Royal Mail Mailmark", + value: "mailmark", + }, + { + label: "MaxiCode", + value: "maxicode", + }, + { + label: "USPS FIM symbols", + value: "symbol", + }, + { + label: "USPS Intelligent Mail", + value: "onecode", + }, + { + label: "USPS PLANET", + value: "planet", + }, + { + label: "USPS POSTNET", + value: "postnet", + }, + ], + }, + { + label: `${i18n.__('医疗产品编码')}`, + children: [ + { + label: "Italian Pharmacode", + value: "code32", + }, + { + label: "Pharmaceutical Binary Code", + value: "pharmacode", + }, + { + label: "Pharmazentralnummer (PZN)", + value: "pzn", + }, + { + label: "Two-track Pharmacode", + value: "pharmacode2", + }, + { + label: "HIBC Aztec Code", + value: "hibcazteccode", + }, + { + label: "HIBC Codablock F", + value: "hibccodablockf", + }, + { + label: "HIBC Code 128", + value: "hibccode128", + }, + { + label: "HIBC Code 39", + value: "hibccode39", + }, + ], + }, + { + label: `${i18n.__('不常用编码')}`, + children: [ + { + label: "Code 11", + value: "code11", + }, + { + label: "Code 16K", + value: "code16k", + }, + { + label: "Code 2 of 5", + value: "code2of5", + }, + { + label: "Code 49", + value: "code49", + }, + { + label: "Code One", + value: "codeone", + }, + { + label: "Codabar", + value: "rationalizedCodabar", + }, + { + label: "Codablock F", + value: "codablockf", + }, + { + label: "BC412", + value: "bc412", + }, + { + label: "COOP 2 of 5", + value: "coop2of5", + }, + { + label: "Channel Code", + value: "channelcode", + }, + { + label: "Datalogic 2 of 5", + value: "datalogic2of5", + }, + { + label: "DotCode", + value: "dotcode", + }, + { + label: "IATA 2 of 5", + value: "iata2of5", + }, + { + label: "MSI Plessey", + value: "msi", + }, + { + label: "Matrix 2 of 5", + value: "matrix2of5", + }, + { + label: "Plessey UK", + value: "plessey", + }, + { + label: "PosiCode", + value: "posicode", + }, + { + label: "Telepen", + value: "telepen", + }, + { + label: "Telepen Numeric", + value: "telepennumeric", + }, + ], + }, + { + label: "GS1 复合编码", + children: [ + { + label: "复合 EAN-13", + value: "ean13composite", + }, + { + label: "复合 EAN-8", + value: "ean8composite", + }, + { + label: "复合 UPC-A", + value: "upcacomposite", + }, + { + label: "复合 UPC-E", + value: "upcecomposite", + }, + { + label: "层排扩展式复合 GS1 DataBar", + value: "databarexpandedstackedcomposite", + }, + { + label: "扩展式复合 GS1 DataBar", + value: "databarexpandedcomposite", + }, + { + label: "限定式复合 GS1 DataBar", + value: "databarlimitedcomposite", + }, + { + label: "全向式复合 GS1 DataBar", + value: "databaromnicomposite", + }, + { + label: "层排式复合 GS1 DataBar", + value: "databarstackedcomposite", + }, + { + label: "全向层排式复合 GS1 DataBar", + value: "databarstackedomnicomposite", + }, + { + label: "截短式复合 GS1 DataBar", + value: "databartruncatedcomposite", + }, + { + label: "复合 GS1-128", + value: "gs1-128composite", + }, + ], + }, + { + label: `${i18n.__('附加组件')}`, + children: [ + { + label: "EAN-2 (2 位附加码)", + value: "ean2", + }, + { + label: "EAN-5 (5 位附加码)", + value: "ean5", + }, + { + label: "GS1 复合 2D 组件", + value: "gs1-cc", + }, + ], + }, + { + label: `${i18n.__('实验编码')}`, + children: [ + { + label: "Raw", + value: "raw", + }, + { + label: "Custom 4 state symbology", + value: "daft", + }, + { + label: "Flattermarken", + value: "flattermarken", + }, + ], + }] + this.target = $(`
    ${i18n.__('条码类型')}
    `) + var select = this.target.find('select.auto-submit') + options.forEach(item => { + if (item.children) { + var optgroup = $(` { + optgroup.append($(``)) + }) + select.append(optgroup) + } else { + select.append(``) + } + }) + return this.target + }, t.prototype.getValue = function () { + return this.target.find("select").val() || void 0; + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + qrcodeType = function() { + function t() { + this.name = "qrcodeType" + } + + return t.prototype.createTarget = function () { + var options = [{ + label: `${i18n.__('默认')}(qrcode)`, + value: "", + }, + { + label: "QR Code", + value: "qrcode", + }, + { + label: "Micro QR Code", + value: "microqrcode", + }, + { + label: "Swiss QR Code", + value: "swissqrcode", + }, + { + label: "Rectangular Micro QR Code", + value: "rectangularmicroqrcode", + }, + { + label: "Aztec Code", + value: "azteccode", + }, + { + label: "Aztec Runes", + value: "aztecrune", + }, + { + label: "Compact Aztec Code", + value: "azteccodecompact", + }, + { + label: "Data Matrix", + value: "datamatrix", + }, + { + label: "Data Matrix Rectangular", + value: "datamatrixrectangular", + }, + { + label: "汉信码", + value: "hanxin", + }, + { + label: "GS1 Data Matrix", + value: "gs1datamatrix", + }, + { + label: "GS1 Data Matrix Rectangular", + value: "gs1datamatrixrectangular", + }, + { + label: "GS1 QR Code", + value: "gs1qrcode", + }, + { + label: "HIBC Data Matrix", + value: "hibcdatamatrix", + }, + { + label: "HIBC Data Matrix Rectangular", + value: "hibcdatamatrixrectangular", + }, + { + label: "HIBC MicroPDF417", + value: "hibcmicropdf417", + }, + { + label: "HIBC PDF417", + value: "hibcpdf417", + }, + { + label: "HIBC QR Code", + value: "hibcqrcode", + }] + this.target = $(`
    ${i18n.__('二维码类型')}
    `) + var select = this.target.find('select.auto-submit') + options.forEach(item => { + select.append(``) + }) + return this.target + }, t.prototype.getValue = function () { + return this.target.find("select").val() || void 0; + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + qrCodeLevel = function () { + function t() { + this.name = "qrCodeLevel"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('二维码容错率')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + return parseInt(t || 0); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), T = function () { function t() { this.name = "color"; @@ -2419,7 +3312,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 字体颜色\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('字体颜色')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return t.toString(); @@ -2438,7 +3331,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 文本修饰\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('文本修饰')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.css = function (t, e) { if (t && t.length) { if (e) return t.css("text-decoration", e), "text-decoration:" + e; @@ -2466,13 +3359,13 @@ var hiprint = function (t) { if (t && (e = t.getFields()), e) { this.isSelect = !0; - var n = '
    \n
    \n 字段名\n
    \n
    \n \n `; e.forEach(function (t, e) { n += ' "; }), n += " \n
    \n
    ", this.target = $(n); } else { this.isSelect = !1; - this.target = $('
    \n
    \n 字段名\n
    \n
    \n \n
    \n
    '); + this.target = $(`
    \n
    \n ${i18n.__('字段名')}\n
    \n
    \n \n
    \n
    `); } return this.target; @@ -2490,7 +3383,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 标题\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('标题')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; @@ -2506,28 +3399,239 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 测试数据\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('测试数据')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + coordinate = function () { + function t() { + this.name = "coordinate"; + } + + return t.prototype.createTarget = function (t, o) { + var n = this; + n.target = $(`
    +
    \n ${i18n.__('位置坐标')}\n
    +
    \n + \n + \n +
    \n +
    `); + n.syncLock = o.coordinateSync || false; + n.createSyncLock(n.syncLock); + return n.target; + }, t.prototype.createSyncLock = function (t) { + var n = this; + n.lockTarget = n.syncLock ? $(``) : $(``); + n.lockTarget.click(function () { + if (n.syncLock) { + n.lockTarget.text("🔓").attr("title", `${i18n.__('不同步')}`); + } else { + n.lockTarget.text("🔗").attr("title", `${i18n.__('同步')}`); + } + n.syncLock = !n.syncLock; + }) + n.target.find("input:first").after(n.lockTarget); + // 同步编辑... + n.target.find("input:first").change(function () { + if (n.syncLock) { + n.target.find("input:last").val($(this).val()) + } + }); + n.target.find("input:last").change(function () { + if (n.syncLock) { + n.target.find("input:first").val($(this).val()) + } + }); + return n.lockTarget + }, t.prototype.css = function (t) { + if (t && t.length && this.target) { + // 仅当前元素被选中才更新坐标位置, 以避免冲突 + if (('block' == t.find('.resize-panel').css('display') || t[0].className.includes('table')) && this.el == t) { + var v = this.getValue(); + return t.css("left", v.left + "pt").css("top", v.top + "pt"); + } + } + return null; + }, t.prototype.getValue = function () { + var v = { + coordinateSync: this.syncLock, + left: 0, + top: 0, + } + v.left = parseFloat(this.target.find("input:first").val() || 0) + v.top = parseFloat(this.target.find("input:last").val() || 0) + return v; + }, t.prototype.setValue = function (t, el) { + this.el = el.designTarget || el; + this.target.find("input:first").val(t.left); + this.target.find("input:last").val(t.top); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + widthHeight = function () { + function t() { + this.name = "widthHeight"; + } + + return t.prototype.createTarget = function (t, o) { + var n = this; + n.target = $(`
    +
    \n ${i18n.__('宽高大小')}\n
    +
    \n + \n + \n +
    \n +
    `); + n.syncLock = o.widthHeightSync || false; + n.createSyncLock(n.syncLock); + return n.target; + }, t.prototype.createSyncLock = function (t) { + var n = this; + n.lockTarget = n.syncLock ? $(``) : $(``); + n.lockTarget.click(function () { + if (n.syncLock) { + n.lockTarget.text("🔓").attr("title", `${i18n.__('不同步')}`); + } else { + n.lockTarget.text("🔗").attr("title", `${i18n.__('同步')}`); + } + n.syncLock = !n.syncLock; + }) + n.target.find("input:first").after(n.lockTarget); + // 同步编辑... + n.target.find("input:first").change(function () { + if (n.syncLock) { + n.target.find("input:last").val($(this).val()) + } + }); + n.target.find("input:last").change(function () { + if (n.syncLock) { + n.target.find("input:first").val($(this).val()) + } + }); + return n.lockTarget + }, t.prototype.css = function (t) { + if (t && t.length && this.target) { + // 仅当前元素被选中才更新宽高大小, 以避免冲突 + if (('block' == t.find('.resize-panel').css('display') || t[0].className.includes('table')) && this.el == t) { + var v = this.getValue(); + return t.css("width", v.width + "pt").css("height", v.height + "pt"); + } + } + return null; + }, t.prototype.getValue = function () { + var v = { + widthHeightSync: this.syncLock, + width: 0, + height: 0, + } + v.width = parseFloat(this.target.find("input:first").val() || 0) + v.height = parseFloat(this.target.find("input:last").val() || 0) + return v; + }, t.prototype.setValue = function (t, el) { + this.el = el.designTarget || el; + this.target.find("input:first").val(t.width); + this.target.find("input:last").val(t.height); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + C = function () { + function t() { + this.name = "src"; + } + + return t.prototype.createTarget = function (t) { + this.el = t; + var e = void 0, i = this; + this.target = $(`
    \n
    \n ${i18n.__('图片地址')}\n
    \n
    \n \n
    \n
    `); + if (t && (e = t.getOnImageChooseClick()), e) { + this.target.find('button').click(function () { + e && e(i); + }) + } + return this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return t.toString(); }, t.prototype.setValue = function (t) { this.target.find("input").val(t); + }, t.prototype.refresh = function (t, opt, cb) { + var that = this; + this.setValue(t), this.target.find("input").change(); + if (this.el && opt) { + var img = new Image(); + img.src = t; + if (img.complete) { + that.updateEl(img.width, img.height, opt, cb) + } else { + img.onload = function () { + that.updateEl(img.width, img.height, opt, cb) + } + } + } + }, t.prototype.updateEl = function (width, height, opt, cb) { + if (opt) { + var ratio, w, h; + if (opt && opt.auto) { + if (width >= height) { + opt.width = true; + } else { + opt.height = true; + } + } + if (opt.width) { + ratio = height / width; + w = this.el.options.width; + h = Math.floor(w * ratio * 10) / 10; + this.el.options.height = h; + this.el.designTarget.css('height', h + "pt"); + } else if (opt.height) { + ratio = width / height; + h = this.el.options.height; + w = Math.floor(h * ratio * 10) / 10; + this.el.options.width = w; + this.el.designTarget.css('width', w + "pt"); + } else if (opt.real) { + w = hinnn.px.toPt(width); + h = hinnn.px.toPt(height); + this.el.options.width = w; + this.el.options.height = h; + this.el.designTarget.css('width', w + "pt"); + this.el.designTarget.css('height', h + "pt"); + } + this.el.designTarget.children('.resize-panel').trigger($.Event('click')); + } + cb && cb(this.el, width, height); }, t.prototype.destroy = function () { this.target.remove(); }, t; }(), - C = function () { + imageFit = function () { function t() { - this.name = "src"; + this.name = "fit"; } - return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 图片地址\n
    \n
    \n \n
    \n
    '), this.target; + return t.prototype.css = function (t, e) { + if (t && t.length) { + if (e) return t.find("img").css("object-fit", e), "object-fit:" + e; + t.find("img")[0].style['object-fit'] = ""; + } + return null; + }, t.prototype.createTarget = function () { + this.target = $(`
    \n
    \n ${i18n.__('图片缩放')}\n
    \n
    \n \n
    \n
    `), this.target; + return this.target; }, t.prototype.getValue = function () { - var t = this.target.find("input").val(); - if (t) return t.toString(); + return this.target.find("select").val(); }, t.prototype.setValue = function (t) { - this.target.find("input").val(t); + this.target.find("select").val(t); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -2544,8 +3648,9 @@ var hiprint = function (t) { } return null; - }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 边框颜色\n
    \n
    \n \n
    \n
    '), this.target; + }, t.prototype.createTarget = function (t) { + var name = ['hline', 'vline', 'rect', 'oval'].includes(t.printElementType.type) ? `${i18n.__('颜色')}` : `${i18n.__('边框颜色')}`; + return this.target = $(`
    \n
    \n ${name}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return t.toString(); @@ -2558,13 +3663,83 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), + watermarkOptions = function () { + function t() { + this.name = "watermarkOptions"; + } + return t.prototype.createTarget = function () { + this.target = $(`
    ${i18n.__('水印功能')}
    `); + this.content = $(`
    ${i18n.__('水印内容')}:
    `); + this.fillStyle = $(`
    ${i18n.__('字体颜色')}:
    `); + this.fontSize = $(`
    ${i18n.__('字体大小')}:
    `); + this.rotate = $(`
    ${i18n.__('旋转角度')}:
    `); + this.width = $(`
    ${i18n.__('水平密度')}:
    `); + this.height = $(`
    ${i18n.__('垂直密度')}:
    `); + this.timestamp = $(`
    ${i18n.__('水印时间')}:
    `); + let formatlist = [ + "YYYY-MM-DD HH:mm:ss", + "YYYY-MM-DD HH:mm", + "YYYY-MM-DD HH", + "YYYY-MM-DD", + "YYYY-MMMM", + "YYYY-MM", + "YYYY", + ]; + let timeFormatList = `\n `; + formatlist.forEach(function (e) { + timeFormatList += '\n '; + }) + this.format = $(`
    ${i18n.__('时间格式')}:
    `); + this.format.find(".auto-submit").append($(timeFormatList)); + this.target.append(this.content); + this.target.append(this.fillStyle); + this.target.append(this.fontSize); + this.target.append(this.rotate); + this.target.append(this.width); + this.target.append(this.height); + this.target.append(this.timestamp); + this.target.append(this.format); + return this.target; + }, t.prototype.getValue = function () { + let opt = { + content: this.content.find('input').val(), + fillStyle: this.fillStyle.find('input').val() || "rgba(184, 184, 184, 0.3)", + fontSize: parseInt(this.fontSize.find('input').val() || "14") + "px", + rotate: parseInt(this.rotate.find('input').val() || "25"), + width: parseInt(this.width.find('input').val() || "200"), + height: parseInt(this.height.find('input').val() || "200"), + timestamp: this.timestamp.find('input').is(':checked'), + format: this.format.find('select').val() == "" ? "YYYY-MM-DD HH:mm" : this.format.find('select').val() + } + let options = Object.assign({}, this.options, opt); + return options; + }, t.prototype.setValue = function (t) { + this.options = t; + this.content.find("input").val(t.content || ""); + this.fillStyle.find("input").val(t.fillStyle || "rgba(184, 184, 184, 0.3)"); + this.fillStyle.find("input").minicolors({ + format: "rgb", + opacity: true, + theme: "bootstrap" + }); + const fontSize = parseInt(t.fontSize || "14"); + this.fontSize.find("input").val(fontSize); + this.rotate.find("input").val(t.rotate || 25); + this.width.find("input").val(t.width || 200); + this.height.find("input").val(t.height || 200); + this.timestamp.find("input").attr("checked", t.timestamp == void 0 ? false : t.timestamp); + this.format.find("select").val(t.format || "YYYY-MM-DD HH:mm"); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), H = function () { function t() { this.name = "paperNumberFormat"; } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 页码格式\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('页码格式')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return t.toString(); @@ -2580,7 +3755,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 显示页码\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('显示页码')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { if ("true" == this.target.find("select").val()) return !0; }, t.prototype.setValue = function (t) { @@ -2589,6 +3764,21 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), + paperNumberContinue = function () { + function t() { + this.name = "paperNumberContinue"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('页码续排')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + return "true" == this.target.find("select").val(); + }, t.prototype.setValue = function (t) { + this.target.find("select").val((t == void 0 || t ? "true" : "reset").toString()); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), I = function () { function t() { this.name = "longTextIndent"; @@ -2597,7 +3787,7 @@ var hiprint = function (t) { return t.prototype.css = function (t, e) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 每行缩进\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('每行缩进')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -2613,8 +3803,14 @@ var hiprint = function (t) { this.name = "showInPage"; } - return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 显示规则\n
    \n
    \n \n
    \n
    '), this.target; + return t.prototype.css = function (t, e) { + if (t && t.length) { + if (e && 'none' == e) return t.addClass('alwaysHide'); + t.removeClass('alwaysHide'); + } + return null; + }, t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('显示规则')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2624,13 +3820,34 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), + pageBreak = function () { + function t() { + this.name = "pageBreak"; + } + + return t.prototype.css = function (t, e) { + if (t && t.length) { + if (e && 'none' == e) return t.addClass('alwaysHide'); + t.removeClass('alwaysHide'); + } + return null; + }, t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('强制分页')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + if ("true" == this.target.find("select").val()) return !0; + }, t.prototype.setValue = function (t) { + this.target.find("select").val((null == t ? "" : t).toString()); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), M = function () { function t() { this.name = "panelPaperRule"; } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 打印规则\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('打印规则')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2646,7 +3863,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 分页规则\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('分页规则')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2662,7 +3879,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 移除段落左侧空白\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('移除段落左侧空白')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { if ("false" == this.target.find("select").val()) return !1; }, t.prototype.setValue = function (t) { @@ -2677,7 +3894,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 首页页尾\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('首页页尾')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -2693,7 +3910,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 尾页页尾\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('尾页页尾')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -2709,7 +3926,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 偶数页页尾\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('偶数页页尾')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -2725,7 +3942,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 奇数页页尾\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('奇数页页尾')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -2741,7 +3958,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 位置固定\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('位置固定')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { if ("true" == this.target.find("select").val()) return !0; }, t.prototype.setValue = function (t) { @@ -2756,7 +3973,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 拖动方向\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('拖动方向')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); return t || void 0; @@ -2772,7 +3989,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 左偏移\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('左偏移')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -2788,7 +4005,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 最低高度\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('最低高度')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -2804,7 +4021,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 隐藏规则\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('隐藏规则')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t; @@ -2821,15 +4038,13 @@ var hiprint = function (t) { return t.prototype.css = function (t, e) { if (t.find("tbody tr").length) { - if ("border" == e) return t.find("tbody tr").css("border", "1px solid"), "border:1pt solid"; - "noBorder" == e ? t.find("tbody tr").css("border", "0px solid") : "topBorder" == e ? (t.find("tbody tr").css("border", "0px solid"), t.find("tbody tr").css("border-top", "1px solid")) : "bottomBorder" == e ? (t.find("tbody tr").css("border", "0px solid"), t.find("tbody tr").css("border-bottom", "1px solid")) : "topBottomBorder" == e ? (t.find("tbody tr").css("border", "0px solid"), t.find("tbody tr").css("border-top", "1px solid"), t.find("tbody tr").css("border-bottom", "1px solid")) : t.find("tbody tr").map(function (t, e) { - e.style.border = ""; - }); + if ("border" == e || void 0 == e) return t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-all"); + "noBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-none") : "leftBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-left") : "rightBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-right") : "leftRightBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-lr") : "topBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-top") : "bottomBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-bottom") : "topBottomBorder" == e ? t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-tb") : t.find("tbody tr").removeClass(); } return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表体行边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表体行边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -2846,16 +4061,17 @@ var hiprint = function (t) { return t.prototype.css = function (t, e) { if (t && t.length) { - var n = t.find(".hiprint-printElement-content").parent('.hiprint-printElement'); - if(!n.length && t.hasClass('hiprint-printElement-hline')){n=t}; - if(!n.length && t.hasClass('hiprint-printElement-image')){n=t;}; + var n = t.find(".hiprint-printElement-content").parent(".hiprint-printElement"); + if (!n.length) { + n = t; + } if (e) return n.css("transform", "rotate(" + e + "deg)"), n.css("-ms-transform", "rotate(" + e + "deg)"), n.css("-moz-transform", "rotate(" + e + "deg)"), n.css("-webkit-transform", "rotate(" + e + "deg)"), n.css("-o-transform", "rotate(" + e + "deg)"), "transform:rotate(" + e + "deg)"; n.length && (n[0].style.transform = ""); } return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 旋转角度\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('旋转角度')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -2865,13 +4081,55 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), + zIndex = function () { + function t() { + this.name = "zIndex"; + } + + return t.prototype.css = function (t, e) { + if (t && t.length) { + if (e) return t.css('z-index', e); + } + return null; + }, t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('元素层级')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return parseInt(t.toString()); + }, t.prototype.setValue = function (t) { + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + borderRadius = function () { + function t() { + this.name = "borderRadius"; + } + + return t.prototype.css = function (t, e) { + if (t && t.length) { + if (e) return t.css('border-raduis', e); + } + return null; + }, t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('边框圆角')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), K = function () { function t() { this.name = "optionsGroup"; } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 边框设置\n
    \n \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('边框设置')}\n
    \n \n
    `), this.target; }, t.prototype.getValue = function () { }, t.prototype.setValue = function (t) { }, t.prototype.destroy = function () { @@ -2891,7 +4149,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 上边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('上边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t; @@ -2914,7 +4172,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 左边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('左边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t; @@ -2937,7 +4195,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 右边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('右边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t; @@ -2960,7 +4218,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 下边框\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('下边框')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t; @@ -2985,7 +4243,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 左内边距\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('左内边距')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3011,7 +4269,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 上内边距\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('上内边距')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3037,7 +4295,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 右内边距\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('右内边距')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3063,7 +4321,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 下内边距\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('下内边距')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3086,8 +4344,9 @@ var hiprint = function (t) { } return null; - }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 边框样式\n
    \n
    \n \n
    \n
    '), this.target; + }, t.prototype.createTarget = function (t) { + var name = ['hline', 'vline', 'rect', 'oval'].includes(t.printElementType.type) ? `${i18n.__('样式')}` : `${i18n.__('边框样式')}`; + return this.target = $(`
    \n
    \n ${name}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t; @@ -3110,7 +4369,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 背景颜色\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('背景颜色')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return t.toString(); @@ -3123,13 +4382,39 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), - it = function () { + barColor = function () { + function t() { + this.name = "barColor"; + } + + return t.prototype.css = function (t, e) { + if (t && t.length) { + // if (e) return t.css("background-color", e), "background-color:" + e; + // t[0].style.backgroundColor = ""; + } + return null; + }, t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('条码颜色')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("input").minicolors({ + defaultValue: t || "", + theme: "bootstrap" + }), this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + + it = function () { function t() { this.name = "orient"; } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 纸张方向(仅自定义纸质有效)\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('纸张方向(仅自定义纸质有效)')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3145,11 +4430,37 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 上下对齐\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('上下对齐')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.css = function (t, e) { if (t && t.length) { - if (e) return "middle" === e && t.addClass("hiprint-text-content-middle"), "bottom" === e && t.addClass("hiprint-text-content-bottom"), ""; t.removeClass("hiprint-text-content-middle"), t.removeClass("hiprint-text-content-bottom"); + if (e) return "middle" === e && t.addClass("hiprint-text-content-middle"), "bottom" === e && t.addClass("hiprint-text-content-bottom"), ""; + } + + return null; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + textWrap = function () { + function t() { + this.name = "textContentWrap"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('文本换行')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.css = function (t, e) { + if (t && t.length) { + t.removeClass("hiprint-text-content-wrap"); + t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-nowrap"); + t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-clip"); + t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-ellipsis"); + if (e) return t.addClass("hiprint-text-content-wrap"),t.find(".hiprint-printElement-text-content").addClass("hiprint-text-content-wrap-" + e), ""; } return null; @@ -3186,8 +4497,15 @@ var hiprint = function (t) { return e.checked = !1, e; }); this.allColumns = t[0].columns.concat(r), t && 1 == t.length && (this.target.find("ul").html(this.allColumns.map(function (t, e) { - return '
  • \n ' + (t.checked ? '' : '') + '\n
    \n \n
    \n
    ' + (t.title || t.descTitle || "") + "
  • "; - }).join("")), this.target.find("input").change(function () { + return '
  • \n ' + (t.checked ? '' : '') + '\n
    \n \n
    \n
    ' + (t.title || t.descTitle || "") + "
  • "; + }).join("")), this.target.find("input").change(function (e) { + var checked = e.target.checked, id = e.target.attributes['column-id'].nodeValue || ''; + var idx = i.allColumns.findIndex(function (e) { + return e.field == id || e.id == id; + }); + if (idx >= 0) { + i.allColumns[idx]['checked'] = checked + } i.submit(); }), this.printElementType.columnDisplayIndexEditable && this.target.find("li").hidraggable({ revert: !0, @@ -3197,46 +4515,295 @@ var hiprint = function (t) { deltaY: 0 }).hidroppable({ onDragOver: function onDragOver(t, e) { - $(this).css("border-bottom-color", "red"); + $(this).css("border-top-color", "red"); }, onDragLeave: function onDragLeave(t, e) { - $(this).css("border-bottom-color", ""); + $(this).css("border-top-color", ""); }, onDrop: function onDrop(t, e) { - $(e).insertAfter(this), $(this).css("border-bottom-color", ""), o.submit(); + $(e).insertBefore(this), $(this).css("border-top-color", ""), o.submit(); } })); }, t.prototype.buildData = function () { - var t = this, - e = []; - return this.allColumns.filter(function (t) { - t.checked = !1; - }), (this.printElementType.columnDisplayEditable ? this.target.find("input:checked") : this.target.find("input")).map(function (n, i) { - var o = $(i).attr("column-id"), - r = t.options.makeColumnObj(); - if (r[o]) r[o].checked = !0, e.push(r[o]); else { - var a = t.printElementType.getColumnByColumnId(o); - - if (a) { - var p = new rt.a(a); - p.checked = !0, e.push(p); - } + var t = this, e = []; + if (t.options.columns.length > 1) { + return this.value; + } + t.printElementType.makeColumnObj(t.allColumns); + this.target.find("input").map(function (n, i) { + var o = $(i).attr("column-id"); + var a = t.printElementType.getColumnByColumnId(o); + if (a) { + var p = new rt.a(a); + p.checked = a.checked, e.push(p); } - }), this.value[0].columns = e, this.value; + }) + return this.value[0].columns = e, this.value; + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + pt = function () { + function t() { + this.name = "textType"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('打印类型')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tablept = function () { + function t() { + this.name = "tableTextType"; + } + + return t.prototype.createTarget = function () { + return this.target = $( + `
    \n
    \n ${i18n.__('字段类型')}\n
    \n
    \n \n
    \n
    ` + ), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableE = function () { + function t() { + this.name = "tableBarcodeMode"; + } + + return t.prototype.createTarget = function () { + return this.target = $( + `
    \n
    \n ${i18n.__('条形码格式')}\n
    \n
    \n \n
    \n
    ` + ), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + return t || void 0; + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableQRCodeLevel = function () { + function t() { + this.name = "tableQRCodeLevel"; + } + + return t.prototype.createTarget = function () { + return this.target = $( + `
    \n
    \n ${i18n.__('二维码容错率')}\n
    \n
    \n \n
    \n
    ` + ), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + return parseInt(t || 0); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableColumnH = function () { + function t() { + this.name = "tableColumnHeight"; + } + + return t.prototype.createTarget = function () { + return this.target = $( + `
    \n
    \n ${i18n.__('单元格高度')}\n
    \n
    \n \n
    \n
    ` + ), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableSummaryTitle = function () { + function t() { + this.name = "tableSummaryTitle" + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    ${i18n.__('底部聚合标题')}
    `), this.target; + }, t.prototype.getValue = function () { + return !("false" == this.target.find("select").val()); + }, t.prototype.setValue = function (t) { + this.target.find("select").val((null == t ? "" : t).toString()); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableSummaryText = function () { + function t() { + this.name = "tableSummaryText"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('底部聚合文本')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableSummaryColspan = function () { + function t() { + this.name = "tableSummaryColspan"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('底部聚合合并列数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableSummaryAlign = function () { + function t() { + this.name = "tableSummaryAlign"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('底部聚合类型左右对齐')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + tableSummaryNumFormat = function () { + function t() { + this.name = "tableSummaryNumFormat"; + } + + return t.prototype.createTarget = function () { + var list = [{t: `${i18n.__('整数')}`,v: '0'}], num = [1,2,3,4,5,6]; + num.forEach(function (n) { + list.push({t: i18n.__n(`保留%s位`, n), v: '' + n}) + }) + var n = `\n `; + list.forEach(function (e) { + n += '\n '; + }) + this.target = $(`
    \n
    \n ${i18n.__('底部聚合小数')}\n
    \n
    \n \n
    \n
    `) + this.target.find(".auto-submit").append($(n)); + return this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("select").val(); + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); }, t.prototype.destroy = function () { this.target.remove(); }, t; }(), - pt = function () { + showCodeTitle = (function () { function t() { - this.name = "textType"; + this.name = 'showCodeTitle' + } + return ( + (t.prototype.createTarget = function () { + return ( + (this.target = $( + `
    \n
    \n ${i18n.__('显示码值')}\n
    \n
    \n \n
    \n
    ` + )), + this.target + ) + }), + (t.prototype.getValue = function () { + if ('true' == this.target.find('select').val()) return !0 + }), + (t.prototype.setValue = function (t) { + this.target.find('select').val((null == t ? '' : t).toString()) + }), + (t.prototype.destroy = function () { + this.target.remove() + }), + t + ) + })(), + tableSummaryFormatter = function () { + function t() { + this.name = "tableSummaryFormatter"; } + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('底部聚合格式化函数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("textarea").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + upperCase = function () { + function t() { + this.name = "upperCase"; + } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 打印类型\n
    \n
    \n \n
    \n
    '), this.target; + var list = [ + { t: "「小写」十点八", v: "0" }, + { t: "「小写」一十点八", v: "1" }, + { t: "「大写」拾点捌", v: "2" }, + { t: "「大写」壹拾点捌", v: "3" }, + { t: "「金额」人民币拾元捌角", v: "4" }, + { t: "「金额」人民币壹拾元捌角", v: "5" }, + { t: "「金额」人民币壹拾元捌角零分", v: "6" }, + { t: "「金额」壹拾元捌角零分", v: "7" }, + ]; + var n = `\n`; + list.forEach((e) => { + n += `\n`; + }) + this.target = $( + `
    \n
    \n${i18n.__('转大小写')}\n
    \n
    \n\n
    \n
    ` + ); + this.target.find(".auto-submit").append($(n)); + return this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); - if (t) return t; + if (t) return t.toString(); + }, t.prototype.setValue = function (t) { + this.target.find("select").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + + // 表格底部合计栏 + tableSummary = function () { + function t() { + this.name = "tableSummary" + } + return t.prototype.createTarget = function () { + return this.target = $(`
    ${i18n.__('底部聚合类型')}
    `), this.target; + }, t.prototype.getValue = function () { + return this.target.find("select").val(); }, t.prototype.setValue = function (t) { this.target.find("select").val(t); }, t.prototype.destroy = function () { @@ -3249,7 +4816,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 顶部偏移\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('顶部偏移')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("input").val(); if (t) return parseFloat(t.toString()); @@ -3259,13 +4826,43 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), + panelLayoutOptions = function(){ + function t() { + this.name = "panelLayoutOptions"; + } + return t.prototype.createTarget = function () { + this.target = $(`
    ${i18n.__('面板排列')}
    `); + this.layoutType = $(`
    ${i18n.__('排列方式')}:
    `) + this.layoutRowGap = $(`
    ${i18n.__('垂直间距')}:
    `); + this.layoutColumnGap = $(`
    ${i18n.__('水平间距')}:
    `); + this.target.append(this.layoutType) + this.target.append(this.layoutRowGap) + this.target.append(this.layoutColumnGap) + return this.target; + }, t.prototype.getValue = function () { + let opt = { + layoutType: this.layoutType.find("select").val() || 'column', + layoutRowGap:parseInt(this.layoutRowGap.find('input').val() || 0), + layoutColumnGap:parseInt(this.layoutColumnGap.find('input').val() || 0), + } + let options = Object.assign({}, this.options, opt); + return options; + }, t.prototype.setValue = function (t) { + this.options = t; + this.layoutType.find("select").val(t.layoutType || 'column'); + this.layoutRowGap.find("input").val(t.layoutRowGap); + this.layoutColumnGap.find("input").val(t.layoutColumnGap); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), lt = function () { function t() { this.name = "gridColumns"; } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 一行多组\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('一行多组')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3282,7 +4879,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 一行多组间隔\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('一行多组间隔')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3304,13 +4901,13 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), - it = function () { + ith = function () { function t() { this.name = "tableHeaderRepeat"; } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表格头显示\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表格头显示')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -3335,7 +4932,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 左内边距\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('左内边距')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3361,7 +4958,7 @@ var hiprint = function (t) { return null; }, t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 右内边距\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('右内边距')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return parseFloat(t.toString()); @@ -3379,7 +4976,7 @@ var hiprint = function (t) { return t.prototype.createTarget = function () { var t = this; - return this.target = $('\n
    \n
    \n
    \n 数据类型\n
    \n
    \n \n
    \n
    \n
    \n
    \n 格式\n
    \n
    \n \n \n
    \n
    \n
    \n '), $(this.target.find(".hiprint-option-item-datatype")).change(function () { + return this.target = $(`\n
    \n
    \n
    \n ${i18n.__('数据类型')}\n
    \n
    \n \n
    \n
    \n
    \n
    \n ${i18n.__('格式')}\n
    \n
    \n \n \n
    \n
    \n
    \n`), $(this.target.find(".hiprint-option-item-datatype")).change(function () { var e = $(t.target.find(".hiprint-option-item-datatype")).val(); t.loadFormatSelectByDataType(e), t.submit(t.getValue()); }), this.target; @@ -3403,7 +5000,7 @@ var hiprint = function (t) { }, t.prototype.destroy = function () { this.target.remove(); }, t.prototype.loadFormatSelectByDataType = function (t) { - "boolean" === t ? (this.target.find(".hiprint-option-item-datatype-select-format").removeClass("hiprint-option-item-datatype-format").hide().val(""), this.target.find(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").show()) : "datetime" === t ? (this.target.find(".hiprint-option-item-datatype-select-format").addClass("hiprint-option-item-datatype-format").show(), this.target.find(".hiprint-option-item-datatype-input-format").removeClass("hiprint-option-item-datatype-format").hide().val(""), this.target.find(".hiprint-option-item-datatype-select-format").html('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ')) : (this.target.find(".hiprint-option-item-datatype-select-format").show(), this.target.find(".hiprint-option-item-datatype-input-format").hide().val(""), this.target.find(".hiprint-option-item-datatype-format").html('\n \n ')); + "boolean" === t ? (this.target.find(".hiprint-option-item-datatype-select-format").removeClass("hiprint-option-item-datatype-format").hide().val(""), this.target.find(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").show()) : "datetime" === t ? (this.target.find(".hiprint-option-item-datatype-select-format").addClass("hiprint-option-item-datatype-format").show(), this.target.find(".hiprint-option-item-datatype-input-format").removeClass("hiprint-option-item-datatype-format").hide().val(""), this.target.find(".hiprint-option-item-datatype-select-format").html(`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`)) : (this.target.find(".hiprint-option-item-datatype-select-format").show(), this.target.find(".hiprint-option-item-datatype-input-format").hide().val(""), this.target.find(".hiprint-option-item-datatype-format").html(`\n \n`)); }, t; }(), ft = function () { @@ -3412,13 +5009,13 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - var t = '
    \n
    \n 格式化函数\n
    \n
    \n \n
    \n
    '; + var t = `
    \n
    \n ${i18n.__('格式化函数')}\n
    \n
    \n \n
    \n
    `; return this.target = $(t), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; }, t.prototype.setValue = function (t) { - this.target.find("textarea").val(t?t.toString():null); + this.target.find("textarea").val(t ? t.toString() : null); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -3429,12 +5026,43 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 样式函数\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('样式函数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("textarea").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + rowcolumns = function () { + function t() { + this.name = "rowsColumnsMerge"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('行/列合并函数')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; }, t.prototype.setValue = function (t) { - this.target.find("textarea").val(t?t.toString():null); + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + rowsColumnsMergeClean = function () { + function t() { + this.name = "rowsColumnsMergeClean"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('跨页合并是否清除')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + if ("true" == this.target.find("select").val()) return !0; + }, t.prototype.setValue = function (t) { + this.target.find("select").val((null == t ? "" : t).toString()); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -3445,12 +5073,60 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表格脚函数\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表格脚函数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("textarea").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + groupFieldsFormatter = function () { + function t() { + this.name = "groupFieldsFormatter"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('分组字段函数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("textarea").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + groupFormatter = function () { + function t() { + this.name = "groupFormatter"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('分组头格式化函数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("textarea").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + groupFooterFormatter = function () { + function t() { + this.name = "groupFooterFormatter"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('分组脚格式化函数')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; }, t.prototype.setValue = function (t) { - this.target.find("textarea").val(t?t.toString():null); + this.target.find("textarea").val(t ? t.toString() : null); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -3461,12 +5137,12 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 多组表格脚函数\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('多组表格脚函数')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; }, t.prototype.setValue = function (t) { - this.target.find("textarea").val(t?t.toString():null); + this.target.find("textarea").val(t ? t.toString() : null); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -3477,12 +5153,12 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 行样式函数\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('行样式函数')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; }, t.prototype.setValue = function (t) { - this.target.find("textarea").val(t?t.toString():null); + this.target.find("textarea").val(t ? t.toString() : null); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -3493,7 +5169,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 单元格左右对齐\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('单元格左右对齐')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -3509,7 +5185,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 单元格上下对齐\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('单元格上下对齐')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -3525,7 +5201,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表格头单元格左右对齐\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表格头单元格左右对齐')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -3541,12 +5217,28 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 单元格样式函数\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('单元格样式函数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("textarea").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + stylerHeader = function () { + function t() { + this.name = "stylerHeader"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('表格头样式函数')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; }, t.prototype.setValue = function (t) { - this.target.find("textarea").val(t?t.toString():null); + this.target.find("textarea").val(t ? t.toString() : null); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -3557,12 +5249,28 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 单元格格式化函数\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('单元格格式化函数')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("textarea").val(); if (t) return t; }, t.prototype.setValue = function (t) { - this.target.find("textarea").val(t?t.toString():null); + this.target.find("textarea").val(t ? t.toString() : null); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), + renderFormatter = function () { + function t() { + this.name = "renderFormatter"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('单元格渲染函数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("textarea").val(); + if (t) return t; + }, t.prototype.setValue = function (t) { + this.target.find("textarea").val(t ? t.toString() : null); }, t.prototype.destroy = function () { this.target.remove(); }, t; @@ -3573,7 +5281,7 @@ var hiprint = function (t) { } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 自动补全\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('自动补全')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { if ("true" == this.target.find("select").val()) return !0; }, t.prototype.setValue = function (t) { @@ -3582,13 +5290,29 @@ var hiprint = function (t) { this.target.remove(); }, t; }(), + maxRows = function () { + function t() { + this.name = "maxRows"; + } + + return t.prototype.createTarget = function () { + return this.target = $(`
    \n
    \n ${i18n.__('每页最大行数')}\n
    \n
    \n \n
    \n
    `), this.target; + }, t.prototype.getValue = function () { + var t = this.target.find("input").val(); + if (t) return parseInt(t.toString()); + }, t.prototype.setValue = function (t) { + this.target.find("input").val(t); + }, t.prototype.destroy = function () { + this.target.remove(); + }, t; + }(), xt = function () { function t() { this.name = "tableFooterRepeat"; } return t.prototype.createTarget = function () { - return this.target = $('
    \n
    \n 表格脚显示\n
    \n
    \n \n
    \n
    '), this.target; + return this.target = $(`
    \n
    \n ${i18n.__('表格脚显示')}\n
    \n
    \n \n
    \n
    `), this.target; }, t.prototype.getValue = function () { var t = this.target.find("select").val(); if (t) return t.toString(); @@ -3616,7 +5340,7 @@ var hiprint = function (t) { t.init(), t.printElementOptionItems[e.name] = e; }, t.getItem = function (e) { return t.init(), t.printElementOptionItems[e]; - }, t._printElementOptionItems = [new o(), new r(), new a(), new p(), new i(), new s(), new l(), new pt(), new u(), new d(), new c(), new h(), new f(), new g(), new m(), new v(), new y(), new b(), new E(), new T(), new P(), new _(), new w(), new x(), new C(), new O(), new H(), new D(), new I(), new R(), new M(), new M2(), new S(), new B(), new F(), new L(), new A(), new z(), new k(), new st(), new N(), new V(), new W(), new j(), new U(), new K(), new G(), new q(), new X(), new Y(), new Q(), new J(), new Z(), new tt(), new et(), new nt(), new it(), new ot(), new at(), new lt(), new ut(), new it(), new dt(), new ct(), new ht(), new ft(), new gt(), new mt(), new vt(), new yt(), new bt(), new Tt(), new Et(), new Pt(), new _t(), new wt(), new xt()], t; + }, t._printElementOptionItems = [new fontFamily(), new r(), new a(), new p(), new i(), new s(), new l(), new pt(), new u(), new d(), new c(), new h(), new f(), new g(), new m(), new d2(), new c2(), new v(), new y(), new b(), new E(), new qrCodeLevel(), new T(), new P(), new _(), new w(), new x(), new coordinate(), new widthHeight(), new C(), new imageFit(), new O(), new H(), new D(), new paperNumberContinue(), new watermarkOptions(), new I(), new R(), new pageBreak(), new M(), new M2(), new S(), new B(), new F(), new L(), new A(), new z(), new k(), new st(), new N(), new V(), new W(), new j(), new U(), new borderRadius(), new zIndex(), new K(), new G(), new q(), new X(), new Y(), new Q(), new J(), new Z(), new tt(), new et(), new nt(), new it(), new ot(),new textWrap(), new at(), new lt(), new panelLayoutOptions(), new ut(), new ith(), new dt(), new ct(), new ht(), new ft(), new gt(), new mt(), new rowcolumns(), new rowsColumnsMergeClean(), new groupFieldsFormatter(), new groupFormatter(), new groupFooterFormatter(), new vt(), new yt(), new bt(), new Tt(), new Et(), new Pt(), new stylerHeader(), new renderFormatter(), new _t(), new wt(), new maxRows(), new xt(), new tableColumnH(), new tableE(), new tableQRCodeLevel(), new tablept(), new tableSummaryTitle(), new tableSummaryText(), new tableSummaryColspan(), new tableSummary(), new tableSummaryAlign(), new tableSummaryNumFormat(), new tableSummaryFormatter(),new showCodeTitle(), new upperCase(), new barcodeType(), new qrcodeType(), new barColor(), new barWidth(), new barAutoWidth()], t; }(); }, function (t, e, n) { "use strict"; @@ -3673,7 +5397,7 @@ var hiprint = function (t) { }, t.prototype.getCellByXY = function (t, e) { var n; return this.rows.forEach(function (i, o) { - var r = i.columns.filter(function (n) { + var r = (i.columns || []).filter(function (column) {return column.checked}).filter(function (n) { return n.isXYinCell(t, e); }); r.length && (n = new p(o, r[0])); @@ -3750,7 +5474,8 @@ var hiprint = function (t) { return a(e, t), e.prototype.getPrintElementOptionEntity = function () { var t = []; - return this.columns.forEach(function (e) { + var all = this.allColumns ? this.allColumns.filter(function (c) {return !c.checked}) : []; + return [...this.columns, ...all].forEach(function (e) { t.push(e.getEntity()); }), t; }, e; @@ -3770,14 +5495,16 @@ var hiprint = function (t) { } return t.prototype.init = function (t, e, n) { - this.isHead = n, this.target = e || $(""), this.tableOptions = t, this.initCells(this.columns); + this.isHead = n, this.target = e || $(""), this.tableOptions = t, + this.allColumns = (this.columns || []), + this.initCells((this.columns || []).filter(function (column) {return column.checked})); }, t.prototype.getTarget = function () { return this.target; }, t.prototype.initCells = function (t) { var e = this; - t ? t.forEach(function (t, n) { + t ? (this.columns = t, t.forEach(function (t, n) { t.init(e.target.find("td:eq(" + n + ")"), e.tableOptions, e.id, e.isHead); - }) : (this.columns = [], this.target.find("td").map(function (t, n) { + })) : (this.columns = [], this.target.find("td").map(function (t, n) { var i = new o.a(); i.init($(n), e.tableOptions, e.id, e.isHead), e.columns.push(i); })); @@ -3799,7 +5526,7 @@ var hiprint = function (t) { this.columns.push(t), this.target.append(t.getTarget()); }, t.prototype.getPrintElementOptionEntity = function () { var t = []; - return this.columns.forEach(function (e) { + return [...this.columns, ...this.allColumns.filter(function (c) {return !c.checked})].forEach(function (e) { t.push(e.getEntity()); }), t; }, t; @@ -3881,15 +5608,16 @@ var hiprint = function (t) { return this.options.getColumnByColumnId(t); }, TablePrintElement.prototype.updateDesignViewFromOptions = function () { if (this.designTarget) { - this.css(this.designTarget, this.getData()); var t = this.designTarget.find(".hiprint-printElement-table-content"), e = this.getHtml(this.designPaper); t.html(""), t.append(e[0].target.find(".table-grid-row")), this.printElementType.editable && this.setHitable(), this.setColumnsOptions(); + // 渲染完再处理样式 ==> fix 表脚边框参数设置问题 + this.css(this.designTarget, this.getData()); } }, TablePrintElement.prototype.css = function (t, e) { if ((this.getField() || !this.options.content) && !this.printElementType.formatter) return _super.prototype.css.call(this, t, e); }, TablePrintElement.prototype.getDesignTarget = function (t) { - return this.designTarget = this.getHtml(t)[0].target, this.designPaper = t, this.designTarget.find("td").hidroppable({ + return this.designTarget = this.getHtml(t)[0].target, this.css(this.designTarget, this.getData()), this.designPaper = t, this.designTarget.find("td").hidroppable({ accept: ".rn-draggable-item", onDrop: function onDrop(t, e) { }, @@ -3931,9 +5659,9 @@ var hiprint = function (t) { if (!this.getField() && this.options.content) return (n = $("
    ")).append(this.options.content), (i = n.find("table")).addClass("hiprint-printElement-tableTarget"), i; if (this.printElementType.formatter) return (n = $("
    ")).append(this.printElementType.formatter(t)), (i = n.find("table")).addClass("hiprint-printElement-tableTarget"), i; var o = $('
    '); - return o.append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableHead(this.getColumns(), this.options.getWidth() / this.options.getGridColumns())), o.append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableRow(this.getColumns(), t, this.options, this.printElementType)), this.getFooterFormatter() && ("no" == this.options.tableFooterRepeat || ("last" == this.options.tableFooterRepeat ? o.find("tbody").append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableFooter(this.printElementType.columns, t, this.options, this.printElementType, e, t).html()) : o.append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableFooter(this.printElementType.columns, t, this.options, this.printElementType, e, [])))), o; + return o.append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableHead(this.getColumns(), this.options.getWidth() / this.options.getGridColumns())), o.append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableRow(this.getColumns(), t, e, this.options, this.printElementType)), "no" == this.options.tableFooterRepeat || _table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableFooter(this.printElementType.columns, t, this.options, this.printElementType, e, t).insertBefore(o.find("tbody")), o; }, TablePrintElement.prototype.getEmptyRowTarget = function () { - return _table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createEmptyRowTarget(this.getColumns()); + return _table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createEmptyRowTarget(this.getColumns(), this); }, TablePrintElement.prototype.getHtml = function (t, e) { this.createTempContainer(); var n = this.getPaperHtmlResult(t, e); @@ -3944,19 +5672,44 @@ var hiprint = function (t) { o = this.getTableHtml(i, e), r = this.createtempEmptyRowsTargetStructure(e); e ? this.updateTargetWidth(r) : this.updateTargetSize(r), this.css(r, i), this.css(o, i), this.getTempContainer().html(""), this.getTempContainer().append(r); - + // 页脚导致 分页高度的问题, -> 获取到表格脚高度后移除避免重复 + var tfh = r.find('tfoot').outerHeight() || 0; + r.find('tfoot').remove(); for (var a, p = this.getBeginPrintTopInPaperByReferenceElement(t), s = 0, l = !1; !l;) { var u = 0, d = t.getPaperFooter(s); - 0 == s && p > d && (p = p - d + t.paperHeader, n.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_2__.a({ + 0 == s && p > d && "none" != t.panelPageRule && (p = p - d + t.paperHeader, n.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_2__.a({ target: void 0, printLine: void 0 })), u = t.getContentHeight(s) - (p - t.paperHeader), s++ , d = t.getPaperFooter(s)); var c = n.length > 0 ? n[n.length - 1].target : void 0, - h = this.getRowsInSpecificHeight(e, u > 0 ? u : 0 == s ? d - p : t.getContentHeight(s), r, o, s, c); + h = this.getRowsInSpecificHeight(e, u > 0 ? u : 0 == s ? d - p : t.getContentHeight(s), r, o, s, c, tfh); l = h.isEnd; + if (u < 0) { + n[0].target = $(`
    ${i18n.__('没有足够空间进行表格分页,请调整页眉/页脚线')}
    `) + n[0].printLine = p; + n[0].referenceElement = new _PrintReferenceElement__WEBPACK_IMPORTED_MODULE_4__.a({ + top: this.options.getTop(), + left: this.options.getLeft(), + height: this.options.getHeight(), + width: this.options.getWidth(), + beginPrintPaperIndex: t.index, + bottomInLastPaper: p + this.options.lHeight, + printTopInPaper: p + }); + n[0].target.css("top", p + "pt"); + n[0].target.css("left", this.options.displayLeft()) + break; + } var f = void 0; - h.target && (h.target.css("left", this.options.displayLeft()), h.target[0].height = ""), 0 == s || u > 0 ? (h.target && (a = p, h.target.css("top", p + "pt")), f = l && null != this.options.lHeight ? p + (h.height > this.options.lHeight ? h.height : this.options.lHeight) : p + h.height) : (h.target && (a = t.paperHeader, h.target.css("top", t.paperHeader + "pt")), f = t.paperHeader + h.height), n.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_2__.a({ + h.target && (h.target.css("left", this.options.displayLeft()), h.target[0].height = ""); + if (0 == s || u > 0) { + (h.target && (a = p, h.target.css("top", p + "pt")), + f = l && null != this.options.lHeight ? p + (h.height > this.options.lHeight ? h.height : this.options.lHeight) : p + h.height) + } else { + (h.target && (a = t.paperHeader, h.target.css("top", t.paperHeader + "pt")), f = t.paperHeader + h.height) + } + n.push(new _dto_PaperHtmlResult__WEBPACK_IMPORTED_MODULE_2__.a({ target: h.target, printLine: f, referenceElement: new _PrintReferenceElement__WEBPACK_IMPORTED_MODULE_4__.a({ @@ -3969,15 +5722,20 @@ var hiprint = function (t) { printTopInPaper: a }) })), s++; - this.updatePanelHeight(f + this.options.getHeight(),t); + e && this.updatePanelHeight(f + this.options.getHeight(), t); } return n; - }, TablePrintElement.prototype.getRowsInSpecificHeight = function (t, e, n, i, o, r) { + }, TablePrintElement.prototype.getRowsInSpecificHeight = function (t, e, n, i, o, r, tfh) { + var that = this; var a = i.find("tbody"), p = _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.pt.toPx(e); n.find(".hiprint-printElement-tableTarget tbody").html(""); + // 不是最后显示页脚 + if ("last" != this.options.tableFooterRepeat) { + n.find(".hiprint-printElement-tableTarget tfoot").remove(); + } // 仅首页显示表头 if ("first" == this.options.tableHeaderRepeat && o > 0) { n.find(".hiprint-printElement-tableTarget thead").remove(); @@ -3987,9 +5745,22 @@ var hiprint = function (t) { n.find(".hiprint-printElement-tableTarget thead").remove(); } else { n.find(".hiprint-printElement-tableTarget thead").css("background", "firebrick"); + n.find(".hiprint-printElement-tableTarget thead tr").css("background", "firebrick"); } } var noPaging = "none" == this.panel.panelPageRule; + // 不分页, 且不是设计时, 移除 thead + var headTr; + if (t && noPaging) { + var headStyle = n.find(".hiprint-printElement-tableTarget thead").attr("style"); + headTr = n.find(".hiprint-printElement-tableTarget thead tr").clone(); + if (headStyle) { + headTr.attr("style", headStyle); + } else { + headTr.css({"background": "#e8e8e8"}); + } + n.find(".hiprint-printElement-tableTarget thead").remove(); + } var s = n.outerHeight(); if (!noPaging && s > p) return { target: void 0, @@ -4006,8 +5777,11 @@ var hiprint = function (t) { if (0 == trLen) c = { height: _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.px.toPt(s), isEnd: !0 - }, t && this.options.autoCompletion && (this.autoCompletion(p, d), s = n.outerHeight()); else { + }, t && this.options.autoCompletion && (this.autoCompletion(p, d, tfh), s = n.outerHeight()); else { var f = a.find("tr:lt(1)"); + if (h.length == 0 && headTr) { + d.find("tbody").append(headTr); + } d.find("tbody").append(f); var g = f.data("rowData"); l.push(g), h.push(g), s = n.outerHeight(); @@ -4020,11 +5794,14 @@ var hiprint = function (t) { if (s <= p) if (0 == a.find("tr").length) c = { height: _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.px.toPt(s), isEnd: !0 - }, t && this.options.autoCompletion && (this.autoCompletion(p, d), s = n.outerHeight()); else { + }, t && this.options.autoCompletion && (this.autoCompletion(p, d, tfh), s = d.outerHeight()); else { var f = a.find("tr:lt(1)"); + if (that.options.rowsColumnsMerge && (o > 0 || u > 0) && h.length == 0) { + f = that.fixMergeSpan(f, a); + } d.find("tbody").append(f); var g = f.data("rowData"); - l.push(g), h.push(g), (s = n.outerHeight()) > p && (a.prepend(f), l.pop(), h.pop(), s = n.outerHeight(), c = { + l.push(g), h.push(g), (((s = d.outerHeight(), "last" == this.options.tableFooterRepeat ? s : s += tfh) > p) || (this.options.maxRows && h.length > +this.options.maxRows)) && (a.prepend(f), l.pop(), h.pop(), s = d.outerHeight(), c = { height: _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.px.toPt(s), isEnd: !1 }); @@ -4034,12 +5811,13 @@ var hiprint = function (t) { if (c) { // 这里是table 没有tfoot, 后面再看什么原因... if ("last" == this.options.tableFooterRepeat && !c.isEnd) break; - if (this.getFooterFormatter()) { - if (d.find("tfoot").length) { - d.find("tfoot").html(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableFooter(this.printElementType.columns, this.getData(t), this.options, this.printElementType, t, h).html()); + if ("no" !== this.options.tableFooterRepeat) { + if (noPaging) { + d.find("tbody").append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableFooter(this.printElementType.columns, this.getData(t), this.options, this.printElementType, t, h).children()) } else { - d.find("tbody").length && d.find("tbody").append(_table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableFooter(this.printElementType.columns, this.getData(t), this.options, this.printElementType, t, h).html()); + _table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.createTableFooter(this.printElementType.columns, this.getData(t), this.options, this.printElementType, t, h).insertBefore(d.find("tbody")); } + that.css(d, t); } break; } @@ -4049,6 +5827,20 @@ var hiprint = function (t) { var m = n.find(".hiprint-printElement-tableTarget tbody tr").length, v = this.getGridColumnsFooterFormatter(); v && n.find(this.gridColumnsFooterCss).html(v(this.options, this.getData(t), t, l)); + s = n.outerHeight(); + // 当每一页数据,都无法容纳表格行内容时: + let curRow = a.find("tr:lt(1)"); + if (m == 0 && curRow.length && g == curRow.data("rowData")) { + d.find("tbody").append(curRow); + let height = d.find("tbody tr").outerHeight(); + a.prepend(curRow); + return { + target: $(`
    ${i18n.__('没有足够空间,显示下方内容, 可分页高度')}: `+ p +`px < ${i18n.__('当前需要高度')}: `+ height +'px
    ').append(curRow.css("background", "blue")), + length: m, + height: _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.px.toPt(s), + isEnd: !1 + } + } // 方便调试看 值... var zz = 0 == a.find("tr").length ? 0 == m && r ? { target: void 0, @@ -4067,16 +5859,54 @@ var hiprint = function (t) { isEnd: !1 }; return zz; - }, TablePrintElement.prototype.autoCompletion = function (t, e) { - for (var n, i = this.getEmptyRowTarget(), o = e.outerHeight(); t > o;) { - n = i.clone(), e.find("tbody").append(n), o = e.outerHeight(); + }, TablePrintElement.prototype.fixMergeSpan = function (tr, tbody) { + const nextRowMap = new Map(); + tr.children().each((_, td) => { + var field = $(td).attr('field'); + nextRowMap.set(field, { + rowSpan: 1, + rowEnd: false + }) + tr.nextAll().each((_, nextTr) => { + if ($(nextTr).has(`td[field=${field}][rowspan=0]`).length && !nextRowMap.get(field).rowEnd) { + nextRowMap.set(field, { rowSpan: ++nextRowMap.get(field).rowSpan, rowEnd: false }) + } else { + nextRowMap.set(field, { ...nextRowMap.get(field), rowEnd: true }) + } + }) + + if ($(td).attr("rowspan") < 1) { + $(td).attr("rowspan", nextRowMap.get(field).rowSpan); + $(td).css("display", ""); + if (this.options.rowsColumnsMergeClean) { + $(td).text("") + } + } + }) + return tr; + }, TablePrintElement.prototype.autoCompletion = function (t, e, tfh) { + var that = this; + for (var n, i = this.getEmptyRowTarget(), o = e.outerHeight() + tfh; t > o;) { + n = i.clone(), e.find("tbody").append(n), o = e.outerHeight() + tfh; + if (that.options.maxRows && e.find("tbody").children().length > that.options.maxRows) { + break; + } } n && n.remove(); }, TablePrintElement.prototype.getData = function (t) { - if (!t) return [{}]; + if (!t) { + // 设计时表格 测试数据 + try { + let testData = this.options.testData || '[{}]'; + return JSON.parse(testData); + } catch (e) { + console.log('table testData parse error', e); + return [{}]; + } + }; var f = this.getField(); - var e = f ? f.split('.').reduce((a,c)=>a ? a[c] : t ? t[c] : "", !1) : ""; + var e = f ? f.split('.').reduce((a, c) => a ? a[c] : t ? t[c] : "", !1) || "" : ""; return e ? JSON.parse(JSON.stringify(e)) : []; }, TablePrintElement.prototype.onResize = function (t, e, n, i, o) { _super.prototype.updateSizeAndPositionOptions.call(this, o, i, n, e), _table_TableExcelHelper__WEBPACK_IMPORTED_MODULE_6__.a.resizeTableCellWidth(this.designTarget, this.getColumns(), this.options.getWidth()); @@ -4086,34 +5916,49 @@ var hiprint = function (t) { var n = this; this.designTarget.hidraggable({ handle: this.designTarget.find(".hiprint-printElement-table-handle"), - axis: n.options.axis && t && t.axisEnabled ? n.options.axis : void 0, + axis: n.options.axis ? n.options.axis : void 0, + designTarget: n, onDrag: function onDrag(t, i, o) { n.updateSizeAndPositionOptions(i, o), n.createLineOfPosition(e); + _HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.changed = !0; }, moveUnit: "pt", minMove: _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.movingDistance, onBeforeDrag: function onBeforeDrag(t) { _HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.draging = !0, n.createLineOfPosition(e); }, + getScale: function getScale() { + return n.designPaper.scale || 1; + }, onStopDrag: function onStopDrag(t) { - _HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.draging = !1, n.removeLineOfPosition(); + if (_HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.changed) _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.event.trigger("hiprintTemplateDataChanged_" + n.templateId, "移动"); + _HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.draging = !1, + _HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.changed = !1, + n.removeLineOfPosition(); } }), this.printElementType.editable && this.setHitable(), this.setColumnsOptions(), this.designTarget.hireizeable({ showPoints: n.getReizeableShowPoints(), + // 是否显示宽高box + showSizeBox: _HiPrintConfig__WEBPACK_IMPORTED_MODULE_1__.a.instance.showSizeBox, noContainer: !0, onBeforeResize: function onBeforeResize() { _HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.draging = !0; }, + getScale: function getScale() { + return n.designPaper.scale || 1 + }, onResize: function onResize(t, i, o, r, a) { n.onResize(t, i, o, r, a), n.hitable && n.hitable.updateColumnGrips(), n.createLineOfPosition(e); }, - onStopResize: function onStopResize() { + onStopResize: function onStopResize(r) { + _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.event.trigger("hiprintTemplateDataChanged_" + n.templateId, r ? "旋转" : "大小"); _HiPrintlib__WEBPACK_IMPORTED_MODULE_9__.a.instance.draging = !1, n.removeLineOfPosition(); } }), this.bingKeyboardMoveEvent(this.designTarget, e); }, TablePrintElement.prototype.setHitable = function () { var t = this; this.hitable = new _hitable_HiTale__WEBPACK_IMPORTED_MODULE_7__.a({ + templateId: t.templateId, table: this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"), rows: this.getColumns(), resizeRow: !1, @@ -4121,26 +5966,27 @@ var hiprint = function (t) { fields: this.options.fields, trs: this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"), handle: this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"), - isEnableEdit: this.printElementType.editable, - columnDisplayEditable: this.printElementType.columnDisplayEditable, - columnDisplayIndexEditable: this.printElementType.columnDisplayIndexEditable, - columnResizable: this.printElementType.columnResizable, - columnAlignEditable: this.printElementType.columnAlignEditable, - isEnableEditText: this.printElementType.columnTitleEditable, - isEnableEditField: this.printElementType.isEnableEditField, - isEnableContextMenu: this.printElementType.isEnableContextMenu, - isEnableInsertRow: this.printElementType.isEnableInsertRow, - isEnableDeleteRow: this.printElementType.isEnableDeleteRow, - isEnableInsertColumn: this.printElementType.isEnableInsertColumn, - isEnableDeleteColumn: this.printElementType.isEnableDeleteColumn, - isEnableMergeCell: this.printElementType.isEnableMergeCell + isEnableEdit: this.printElementType.editable ? this.printElementType.editable : !0, + columnDisplayEditable: this.printElementType.columnDisplayEditable != undefined ? this.printElementType.columnDisplayEditable : !0, + columnDisplayIndexEditable: this.printElementType.columnDisplayIndexEditable != undefined ? this.printElementType.columnDisplayIndexEditable : !0, + columnResizable: this.printElementType.columnResizable != undefined ? this.printElementType.columnResizable : !0, + columnAlignEditable: this.printElementType.columnAlignEditable != undefined ? this.printElementType.columnAlignEditable : !0, + isEnableEditText: this.printElementType.columnTitleEditable != undefined ? this.printElementType.columnTitleEditable : !0, + isEnableEditField: this.printElementType.isEnableEditField != undefined ? this.printElementType.isEnableEditField : !0, + isEnableContextMenu: this.printElementType.isEnableContextMenu != undefined ? this.printElementType.isEnableContextMenu : !0, + isEnableInsertRow: this.printElementType.isEnableInsertRow != undefined ? this.printElementType.isEnableInsertRow : !0, + isEnableDeleteRow: this.printElementType.isEnableDeleteRow != undefined ? this.printElementType.isEnableDeleteRow : !0, + isEnableInsertColumn: this.printElementType.isEnableInsertColumn != undefined ? this.printElementType.isEnableInsertColumn : !0, + isEnableDeleteColumn: this.printElementType.isEnableDeleteColumn != undefined ? this.printElementType.isEnableDeleteColumn : !0, + isEnableMergeCell: this.printElementType.isEnableMergeCell != undefined ? this.printElementType.isEnableMergeCell : !0 }), _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.event.on("updateTable" + this.hitable.id, function () { t.updateDesignViewFromOptions(); + _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.event.trigger("hiprintTemplateDataChanged_" + t.templateId, "调整表头"); }); }, TablePrintElement.prototype.setColumnsOptions = function () { var t = this; this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint", function (e) { - var n = $(e.target).attr("column-id"), + var n = $(e.target).attr("id") || $(e.target).attr("column-id"), i = t.getColumnByColumnId(n); if (i) { @@ -4149,12 +5995,19 @@ var hiprint = function (t) { _assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_3__.a.event.trigger(t.getPrintElementSelectEventKey(), { printElement: t, customOptionsInput: [{ - title: i.title + "-列属性", + title: (i.title || `${i.id}(id)`) + `-${i18n.__('列属性')}`, optionItems: o, options: i, callback: function callback(t) { o.forEach(function (t) { var e = t.getValue(); + if ("title" == t.name && e && !e.trim().endsWith("#") && !e.trim().startsWith("#")) { + var n = e ? e.split("#") : ""; + i.title = n[0], n.length > 1 && (i.columnId = i.field = n[1]); + i.columnId && i.target.attr("column-id", i.columnId); + t.target.find("textarea").val(n[0]); + return; + } i[t.name] = e; }); } @@ -4195,7 +6048,7 @@ var hiprint = function (t) { var i = function () { return function (t) { - this.table = t.table, this.fields = t.fields, this.isEnableEdit = t.isEnableEdit, this.trs = t.trs, this.resizeRow = t.resizeRow, this.resizeColumn = t.resizeColumn, this.isEnableEditField = t.isEnableEditField, this.isEnableContextMenu = t.isEnableContextMenu, this.isEnableEditField = t.isEnableEditField, this.isEnableInsertRow = t.isEnableInsertRow, this.isEnableDeleteRow = t.isEnableDeleteRow, this.isEnableInsertColumn = t.isEnableInsertColumn, this.isEnableDeleteColumn = t.isEnableDeleteColumn, this.isEnableMergeCell = t.isEnableMergeCell, this.columnResizable = t.columnResizable, this.columnAlignEditable = t.columnAlignEditable; + this.table = t.table, this.templateId = t.templateId, this.fields = t.fields, this.isEnableEdit = t.isEnableEdit, this.trs = t.trs, this.resizeRow = t.resizeRow, this.resizeColumn = t.resizeColumn, this.isEnableEditField = t.isEnableEditField, this.isEnableContextMenu = t.isEnableContextMenu, this.isEnableEditField = t.isEnableEditField, this.isEnableInsertRow = t.isEnableInsertRow, this.isEnableDeleteRow = t.isEnableDeleteRow, this.isEnableInsertColumn = t.isEnableInsertColumn, this.isEnableDeleteColumn = t.isEnableDeleteColumn, this.isEnableMergeCell = t.isEnableMergeCell, this.columnResizable = t.columnResizable, this.columnAlignEditable = t.columnAlignEditable; }; }(), o = function () { @@ -4303,7 +6156,7 @@ var hiprint = function (t) { n = [], i = $('
    '); i.width(this.target.width()), this.rows.forEach(function (o) { - o.columns.forEach(function (o, a) { + (o.columns || []).filter(function (column) {return column.checked}).forEach(function (o, a) { if (o.getTarget().attr("haswidth")) { var p = $('
    '); i.append(p); @@ -4314,6 +6167,9 @@ var hiprint = function (t) { }, moveUnit: "pt", minMove: 1, + getScale: function getScale() { + return ($('.hiprint-printPaper')[0].style.transform && parseFloat($('.hiprint-printPaper')[0].style.transform.slice(6, -1))) || 1; + }, onBeforeDrag: function onBeforeDrag(t) { if (g.a.instance.draging = !0, !s.nextGrip) return !1; e.dragingGrip = s, e.dragingGrip.left = parseFloat(e.dragingGrip.target.css("left").replace("px", "")), s.target.addClass("columngripDraging"); @@ -4322,6 +6178,12 @@ var hiprint = function (t) { g.a.instance.draging = !1; var i = parseFloat(e.dragingGrip.target.css("left").replace("px", "")), o = r.a.px.toPt(i - e.dragingGrip.left); + // 表格列宽限制 最小宽度为10pt + if (s.cell.width + o < 10) { + o = 10 - s.cell.width + } else if (s.nextGrip.cell.width - o < 10) { + o = s.nextGrip.cell.width - 10 + } s.cell.width = s.cell.width + o, s.nextGrip.cell.width = s.nextGrip.cell.width - o, t.resizeTableCellWidth(), s.target.removeClass("columngripDraging"), e.updateColumnGrips(); } }); @@ -4649,7 +6511,7 @@ var hiprint = function (t) { if (!this.optionsCoat.options.isEnableContextMenu) return !1; $(this.handle).hicontextMenu({ menus: [{ - text: "在上方插入行", + text: `${i18n.__('在上方插入行')}`, enabled: this.optionsCoat.options.isEnableInsertRow, disable: function disable() { return !t.tableCellSelector.getSingleSelect(); @@ -4658,7 +6520,7 @@ var hiprint = function (t) { t.insertRow("above"), t.resizer.updateRowGrips(), r.a.event.trigger("updateTable" + t.id); } }, { - text: "在下方插入行", + text: `${i18n.__('在下方插入行')}`, borderBottom: !0, enabled: this.optionsCoat.options.isEnableInsertRow, disable: function disable() { @@ -4668,7 +6530,7 @@ var hiprint = function (t) { t.insertRow("below"), t.resizer.updateRowGrips(), r.a.event.trigger("updateTable" + t.id); } }, { - text: "向左方插入列", + text: `${i18n.__('向左方插入列')}`, enabled: this.optionsCoat.options.isEnableInsertColumn, disable: function disable() { return !t.tableCellSelector.getSingleSelect(); @@ -4677,7 +6539,7 @@ var hiprint = function (t) { t.insertColumn("left"), t.resizer.updateColumnGrips(), r.a.event.trigger("updateTable" + t.id); } }, { - text: "向右方插入列", + text: `${i18n.__('向右方插入列')}`, enabled: this.optionsCoat.options.isEnableInsertColumn, disable: function disable() { return !t.tableCellSelector.getSingleSelect(); @@ -4687,7 +6549,7 @@ var hiprint = function (t) { t.insertColumn("right"), t.resizer.updateColumnGrips(), r.a.event.trigger("updateTable" + t.id); } }, { - text: "删除行", + text: `${i18n.__('删除行')}`, enabled: this.optionsCoat.options.isEnableDeleteRow, disable: function disable() { return !t.tableCellSelector.getSingleSelect() || t.rows.length <= 1; @@ -4696,7 +6558,7 @@ var hiprint = function (t) { t.deleteRow(), t.resizer.updateRowGrips(), r.a.event.trigger("updateTable" + t.id); } }, { - text: "删除列", + text: `${i18n.__('删除列')}`, borderBottom: !0, enabled: this.optionsCoat.options.isEnableDeleteColumn, disable: function disable() { @@ -4706,53 +6568,53 @@ var hiprint = function (t) { t.deleteColums(), t.resizer.updateColumnGrips(), r.a.event.trigger("updateTable" + t.id); } }, { - text: "对齐", + text: `${i18n.__('对齐')}`, borderBottom: !0, enabled: this.optionsCoat.options.columnAlignEditable, menus: [{ - text: "左", + text: `${i18n.__('左')}`, callback: function callback() { t.setAlign("left"); } }, { - text: "左右居中", + text: `${i18n.__('左右居中')}`, callback: function callback() { t.setAlign("center"); } }, { - text: "右", + text: `${i18n.__('右')}`, callback: function callback() { t.setAlign("right"); } }, { - text: "默认", + text: `${i18n.__('默认')}`, borderBottom: !0, callback: function callback() { t.setAlign(""); } }, { - text: "上", + text: `${i18n.__('上')}`, callback: function callback() { t.setVAlign("top"); } }, { - text: "垂直居中", + text: `${i18n.__('垂直居中')}`, callback: function callback() { t.setVAlign("middle"); } }, { - text: "下", + text: `${i18n.__('下')}`, callback: function callback() { t.setVAlign("bottom"); } }, { - text: "默认", + text: `${i18n.__('默认')}`, callback: function callback() { t.setVAlign(""); } }] }, { - text: "合并单元格", + text: `${i18n.__('合并单元格')}`, enabled: this.optionsCoat.options.isEnableMergeCell, disable: function disable() { return t.tableCellSelector.getSingleSelect(); @@ -4761,7 +6623,7 @@ var hiprint = function (t) { t.mergeCell(), r.a.event.trigger("updateTable" + t.id); } }, { - text: "解开单元格", + text: `${i18n.__('解开单元格')}`, enabled: this.optionsCoat.options.isEnableMergeCell, disable: function disable() { var e = t.tableCellSelector.getSingleSelect(); @@ -4802,7 +6664,7 @@ var hiprint = function (t) { r = (function () { }(), function () { return function (t) { - this.width = t.width, this.title = t.title, this.field = t.field, this.columnId = t.columnId, this.fixed = !1, this.rowspan = t.rowspan || 1, this.colspan = t.colspan || 1, this.align = t.align, this.halign = t.halign, this.vAlign = t.vAlign, this.formatter2 = t.formatter2, this.styler2 = t.styler2; + this.width = t.width, this.title = t.title, this.field = t.field, this.checked = t.checked, this.columnId = t.columnId, this.fixed = !1, this.rowspan = t.rowspan || 1, this.colspan = t.colspan || 1, this.align = t.align, this.halign = t.halign, this.vAlign = t.vAlign, this.renderFormatter = t.renderFormatter, this.formatter2 = t.formatter2, this.styler2 = t.styler2, this.stylerHeader = t.stylerHeader, this.tableColumnHeight = t.tableColumnHeight, this.tableTextType = t.tableTextType, this.tableBarcodeMode = t.tableBarcodeMode, this.tableQRCodeLevel = t.tableQRCodeLevel, this.tableSummaryTitle = t.tableSummaryTitle, this.tableSummaryText = t.tableSummaryText, this.tableSummaryColspan = t.tableSummaryColspan, this.tableSummary = t.tableSummary, this.tableSummaryAlign = t.tableSummaryAlign, this.tableSummaryNumFormat = t.tableSummaryNumFormat, this.tableSummaryFormatter = t.tableSummaryFormatter, this.showCodeTitle = t.showCodeTitle, this.upperCase = t.upperCase; }; }()), a = n(5); @@ -4837,12 +6699,10 @@ var hiprint = function (t) { var i = new r(t), o = n.getColumnByColumnId(i.columnId), p = o ? $.extend(o, i) : new a.a(i); - p.checked = !0, e.push(p); + e.push(p); }), i.columns.push(new o.a(e)); }) : n.columns.forEach(function (t) { - i.columns.push(new o.a(t.filter(function (t) { - return t.checked; - }))); + i.columns.push(new o.a(t)); })); return i; } @@ -4853,7 +6713,7 @@ var hiprint = function (t) { var t = {}; return this.columns && this.columns.forEach(function (e) { e.columns.forEach(function (e) { - e.columnId && (t[e.columnId] = e); + (e.id || e.columnId) && (t[e.id || e.columnId] = e); }); }), t; }, e.prototype.getGridColumns = function () { @@ -4862,9 +6722,7 @@ var hiprint = function (t) { var e = t.prototype.getPrintElementOptionEntity.call(this); e.fields = this.fields; return this.columns && (e.columns = [], this.columns.forEach(function (t) { - var n = t.getPrintElementOptionEntity().filter(function (t) { - return t.checked; - }).map(function (t) { + var n = t.getPrintElementOptionEntity().map(function (t) { return new r(t); }); e.columns.push(n); @@ -4908,9 +6766,11 @@ var hiprint = function (t) { i = n.options, o = n.proxy, r = e.data, - a = r.startLeft + e.pageX - r.startX, - p = r.startTop + e.pageY - r.startY; - o && (o.parent()[0] == document.body ? (a = null != i.deltaX && null != i.deltaX ? e.pageX + i.deltaX : e.pageX - e.data.offsetWidth, p = null != i.deltaY && null != i.deltaY ? e.pageY + i.deltaY : e.pageY - e.data.offsetHeight) : (null != i.deltaX && null != i.deltaX && (a += e.data.offsetWidth + i.deltaX), null != i.deltaY && null != i.deltaY && (p += e.data.offsetHeight + i.deltaY))), e.data.parent != document.body && (a += t(e.data.parent).scrollLeft(), p += t(e.data.parent).scrollTop()), "h" == i.axis ? r.left = a : "v" == i.axis ? r.top = p : (r.left = a, r.top = p); + a = r.startLeft + (e.pageX - r.startX) / (n.options.getScale() || 1), + p = r.startTop + (e.pageY - r.startY) / (n.options.getScale() || 1); + o && (o.parent()[0] == document.body ? (a = null != i.deltaX && null != i.deltaX ? e.pageX + i.deltaX : e.pageX - e.data.offsetWidth, p = null != i.deltaY && null != i.deltaY ? e.pageY + i.deltaY : e.pageY - e.data.offsetHeight) : (null != i.deltaX && null != i.deltaX && (a += e.data.offsetWidth + i.deltaX), null != i.deltaY && null != i.deltaY && (p += e.data.offsetHeight + i.deltaY))), + e.data.parent != document.body && (a += t(e.data.parent).scrollLeft(), p += t(e.data.parent).scrollTop()), + "h" == i.axis ? r.left = a : "v" == i.axis ? r.top = p : (e.shiftKey && e.altKey ? r.top = p : e.shiftKey ? r.left = a : (r.left = a, r.top = p)); } function n(e) { @@ -4940,27 +6800,226 @@ var hiprint = function (t) { return p || (r.proxy ? (p = "clone" == r.proxy ? t(i.data.target).clone().insertAfter(i.data.target) : r.proxy.call(i.data.target, i.data.target), o.proxy = p) : p = t(i.data.target)), p.css("position", "absolute"), e(i), n(i), r.onStartDrag.call(i.data.target, i), !1; } + function createVerLine(op, cp, t, tt, h, pc) { + if (Math.abs(op[t] - cp[tt]) <= HIPRINT_CONFIG.adsorbLineMin) { + if (op.v.length) { + op.v.css("left", op[t] + "pt"); + } else { + op.v = $("
    ") + op.v.css("height", h + "pt"); + op.v.css("left", op[t] + "pt"); + pc.append(op.v); + } + } else { + op.v && op.v.remove(); + } + } + + function removeVerLine(op) { + if (op) op.v && op.v.remove(); + $(".verLine").remove(); + } + + function createHorLine(op, cp, t, tt, w, pc) { + if (Math.abs(op[t] - cp[tt]) <= HIPRINT_CONFIG.adsorbLineMin) { + if (op.h.length) { + op.h.css("top", op[t] + "pt"); + } else { + op.h = $("
    ") + op.h.css("width", w + "pt"); + op.h.css("top", op[t] + "pt"); + pc.append(op.h); + } + } else { + op.h && op.h.remove(); + } + } + + function removeHorLine(op) { + if (op) op.h && op.h.remove(); + $(".horLine").remove(); + } + function o(i) { + // 移动开始动作 var o = t.data(i.data.target, "hidraggable"); e(i); - if (i.data.target.className.startsWith('resize-panel') || i.data.target.className.startsWith('hiprint-printElement')) { + if (!(i.ctrlKey || i.metaKey) && (i.data.target.className.startsWith('resize-panel') || "2" == i.data.target.style.zIndex || i.data.target.className.startsWith('hiprint-printElement'))) { var data = i.data + if (t(".mouseRect").length == 0 && o.options.designTarget && o.options.designTarget.panel.printElements.filter(function (el) { + return "block" == el.designTarget.children().last().css("display") && !el.printElementType.type.includes("table"); + }).length <= 1) { + let left = window.hinnn.px.toPt(data.left); + let top = window.hinnn.px.toPt(data.top); + let cPosition = o.options.designTarget.options; + cPosition.left = left; + cPosition.top = top; + cPosition.right = left + cPosition.width; + cPosition.bottom = top + cPosition.height; + cPosition.vCenter = left + cPosition.width / 2; + cPosition.hCenter = top + cPosition.height / 2; + (() => { + let oPositions = o.options.designTarget.panel.printElements.filter(el => el.id != o.options.designTarget.id).map(el => { + let {left, top, width, height} = el.options; + let right = left + width, vCenter = left + width / 2, hCenter = top + height / 2; + let cVCenter = cPosition.left + cPosition.width / 2, cHCenter = cPosition.top + cPosition.height / 2, + cRight = cPosition.left + cPosition.width; + let distance, d1, d2, d3; + d1 = Math.sqrt(Math.pow(left - cPosition.left, 2) + Math.pow(hCenter - cHCenter, 2)); + d2 = Math.sqrt(Math.pow(vCenter - cVCenter, 2) + Math.pow(hCenter - cHCenter, 2)); + d3 = Math.sqrt(Math.pow(right - cRight, 2) + Math.pow(hCenter - cHCenter, 2)); + distance = Math.min(d1, d2, d3); + return { + ...el.options, + distance, + h: $(".horLine.id-" + el.id), + v: $(".verLine.id-" + el.id), + bottom: top + height, + right: left + width, + vCenter, + hCenter + } + }).sort((a, b) => a.distance - b.distance).slice(0,1) + let paper = o.options.designTarget.designPaper; + let paperContent = paper.target.find(".hiprint-printPaper-content"); + let paperW = paper.width, paperH = paper.height; + let showAline = HIPRINT_CONFIG.showAdsorbLine, aMin = HIPRINT_CONFIG.adsorbMin, aLMin = HIPRINT_CONFIG.adsorbLineMin; + oPositions.forEach((item,idx) => { + // 元素左边线 + if (Math.abs(oPositions[idx].left - cPosition.left) <= aMin) { + cPosition.left = oPositions[idx].left; + removeVerLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].vCenter - cPosition.left) <= aMin) { + cPosition.left = oPositions[idx].vCenter; + removeVerLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].right - cPosition.left) <= aMin) { + cPosition.left = oPositions[idx].right; + removeVerLine(oPositions[idx]); + } + // 元素垂直中线 + if (Math.abs(oPositions[idx].left - cPosition.vCenter) <= aMin) { + cPosition.left = oPositions[idx].left - cPosition.width / 2; + removeVerLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].vCenter - cPosition.vCenter) <= aMin) { + cPosition.left = oPositions[idx].vCenter - cPosition.width / 2; + removeVerLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].right - cPosition.vCenter) <= aMin) { + cPosition.left = oPositions[idx].right - cPosition.width / 2; + removeVerLine(oPositions[idx]); + } + // 元素右边线 + if (Math.abs(oPositions[idx].left - cPosition.right) <= aMin) { + cPosition.left = oPositions[idx].left - cPosition.width; + removeVerLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].vCenter - cPosition.right) <= aMin) { + cPosition.left = oPositions[idx].vCenter - cPosition.width; + removeVerLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].right - cPosition.right) <= aMin) { + cPosition.left = oPositions[idx].right - cPosition.width; + removeVerLine(oPositions[idx]); + } + // 元素顶边线 + if (Math.abs(oPositions[idx].top - cPosition.top) <= aMin) { + cPosition.top = oPositions[idx].top; + removeHorLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].hCenter - cPosition.top) <= aMin) { + cPosition.top = oPositions[idx].hCenter; + removeHorLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].bottom - cPosition.top) <= aMin) { + cPosition.top = oPositions[idx].bottom; + removeHorLine(oPositions[idx]); + } + // 元素水平中线 + if (Math.abs(oPositions[idx].top - cPosition.hCenter) <= aMin) { + cPosition.top = oPositions[idx].top - cPosition.height / 2; + removeHorLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].hCenter - cPosition.hCenter) <= aMin) { + cPosition.top = oPositions[idx].hCenter - cPosition.height / 2; + removeHorLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].bottom - cPosition.hCenter) <= aMin) { + cPosition.top = oPositions[idx].bottom - cPosition.height / 2; + removeHorLine(oPositions[idx]); + } + // 元素底边线 + if (Math.abs(oPositions[idx].top - cPosition.bottom) <= aMin) { + cPosition.top = oPositions[idx].top - cPosition.height; + removeHorLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].hCenter - cPosition.bottom) <= aMin) { + cPosition.top = oPositions[idx].hCenter - cPosition.height; + removeHorLine(oPositions[idx]); + } else if (Math.abs(oPositions[idx].bottom - cPosition.bottom) <= aMin) { + cPosition.top = oPositions[idx].bottom - cPosition.height; + removeHorLine(oPositions[idx]); + } + + if (showAline) { + if (Math.abs(oPositions[idx].left - cPosition.left) > aMin && Math.abs(oPositions[idx].left - cPosition.left) <= aLMin) { // 左 + createVerLine(oPositions[idx], cPosition, "left", "left", paperH, paperContent); + } else if (Math.abs(oPositions[idx].vCenter - cPosition.left) > aMin && Math.abs(oPositions[idx].vCenter - cPosition.left) <= aLMin) { + createVerLine(oPositions[idx], cPosition, "vCenter", "left", paperH, paperContent); + } else if (Math.abs(oPositions[idx].right - cPosition.left) > aMin && Math.abs(oPositions[idx].right - cPosition.left) <= aLMin) { + createVerLine(oPositions[idx], cPosition, "right", "left", paperH, paperContent); + } else if (Math.abs(oPositions[idx].left - cPosition.vCenter) > aMin && Math.abs(oPositions[idx].left - cPosition.vCenter) <= aLMin) { // 中 + createVerLine(oPositions[idx], cPosition, "left", "vCenter", paperH, paperContent); + } else if (Math.abs(oPositions[idx].vCenter - cPosition.vCenter) > aMin && Math.abs(oPositions[idx].vCenter - cPosition.vCenter) <= aLMin) { + createVerLine(oPositions[idx], cPosition, "vCenter", "vCenter", paperH, paperContent); + } else if (Math.abs(oPositions[idx].right - cPosition.vCenter) > aMin && Math.abs(oPositions[idx].right - cPosition.vCenter) <= aLMin) { + createVerLine(oPositions[idx], cPosition, "right", "vCenter", paperH, paperContent); + } else if (Math.abs(oPositions[idx].left - cPosition.right) > aMin && Math.abs(oPositions[idx].left - cPosition.right) <= aLMin) { // 右 + createVerLine(oPositions[idx], cPosition, "left", "right", paperH, paperContent); + } else if (Math.abs(oPositions[idx].vCenter - cPosition.right) > aMin && Math.abs(oPositions[idx].vCenter - cPosition.right) <= aLMin) { + createVerLine(oPositions[idx], cPosition, "vCenter", "right", paperH, paperContent); + } else if (Math.abs(oPositions[idx].right - cPosition.right) > aMin && Math.abs(oPositions[idx].right - cPosition.right) <= aLMin) { + createVerLine(oPositions[idx], cPosition, "right", "right", paperH, paperContent); + } else if (Math.abs(oPositions[idx].top - cPosition.top) > aMin && Math.abs(oPositions[idx].top - cPosition.top) <= aLMin) { // 上 + createHorLine(oPositions[idx], cPosition, "top", "top", paperW, paperContent); + } else if (Math.abs(oPositions[idx].hCenter - cPosition.top) > aMin && Math.abs(oPositions[idx].hCenter - cPosition.top) <= aLMin) { + createHorLine(oPositions[idx], cPosition, "hCenter", "top", paperW, paperContent); + } else if (Math.abs(oPositions[idx].bottom - cPosition.top) > aMin && Math.abs(oPositions[idx].bottom - cPosition.top) <= aLMin) { + createHorLine(oPositions[idx], cPosition, "bottom", "top", paperW, paperContent); + } else if (Math.abs(oPositions[idx].top - cPosition.hCenter) > aMin && Math.abs(oPositions[idx].top - cPosition.hCenter) <= aLMin) { // 中 + createHorLine(oPositions[idx], cPosition, "top", "hCenter", paperW, paperContent); + } else if (Math.abs(oPositions[idx].hCenter - cPosition.hCenter) > aMin && Math.abs(oPositions[idx].hCenter - cPosition.hCenter) <= aLMin) { + createHorLine(oPositions[idx], cPosition, "hCenter", "hCenter", paperW, paperContent); + } else if (Math.abs(oPositions[idx].bottom - cPosition.hCenter) > aMin && Math.abs(oPositions[idx].bottom - cPosition.hCenter) <= aLMin) { + createHorLine(oPositions[idx], cPosition, "bottom", "hCenter", paperW, paperContent); + } else if (Math.abs(oPositions[idx].top - cPosition.bottom) > aMin && Math.abs(oPositions[idx].top - cPosition.bottom) <= aLMin) { // 下 + createHorLine(oPositions[idx], cPosition, "top", "bottom", paperW, paperContent); + } else if (Math.abs(oPositions[idx].hCenter - cPosition.bottom) > aMin && Math.abs(oPositions[idx].hCenter - cPosition.bottom) <= aLMin) { + createHorLine(oPositions[idx], cPosition, "hCenter", "bottom", paperW, paperContent); + } else if (Math.abs(oPositions[idx].bottom - cPosition.bottom) > aMin && Math.abs(oPositions[idx].bottom - cPosition.bottom) <= aLMin) { + createHorLine(oPositions[idx], cPosition, "bottom", "bottom", paperW, paperContent); + } else { + removeVerLine(oPositions[idx]); + removeHorLine(oPositions[idx]); + } + } + }) + })() + i.data.left = window.hinnn.pt.toPx(cPosition.left); + i.data.top = window.hinnn.pt.toPx(cPosition.top); + } // 当前纸张宽高 var parent = data.parent.className.endsWith('design') ? data.parent : data.parent.offsetParent; var paperW = parent.clientWidth, paperH = parent.clientHeight; // 当前元素宽高 - var elementW = data.target.clientWidth,elementH = data.target.clientHeight; + var elementW = data.target.clientWidth, elementH = data.target.clientHeight, + diffLeft = 0, diffTop = 0; + if (o.options.designTarget && o.options.designTarget.options.transform) { + var info = o.options.designTarget.options.getRectInfo(); + diffLeft = window.hinnn.pt.toPx(info.diffW), diffTop = window.hinnn.pt.toPx(info.diffH); + } // 左右 - if (data.left < 0) { - data.left = 0 - } else if (data.left >= paperW - elementW) { - data.left = paperW - elementW + if (data.left < 0 - diffLeft) { + data.left = 0 - diffLeft + } else if (data.left >= paperW - elementW + diffLeft) { + data.left = paperW - elementW + diffLeft } // 上下 - if (data.top < 0) { - data.top = 0 - } else if (data.top >= paperH - elementH) { - data.top = paperH - elementH + if (data.top < 0 - diffTop) { + data.top = 0 - diffTop + } else if (data.top >= paperH - elementH + diffTop) { + data.top = paperH - elementH + diffTop } i.data = data } @@ -4977,7 +7036,9 @@ var hiprint = function (t) { } function r(e) { - t.fn.hidraggable.isDragging = !1, o(e); + // 这里原 mouseup时, 回调了 o(e) ==> onDrag + t.fn.hidraggable.isDragging = !1; + removeVerLine(), removeHorLine(); var n, i, r = t.data(e.data.target, "hidraggable"), @@ -5014,7 +7075,8 @@ var hiprint = function (t) { if (!i.hidroppable("options").disabled) { var o = i.offset(); - return e.pageX > o.left && e.pageX < o.left + i.outerWidth() && e.pageY > o.top && e.pageY < o.top + i.outerHeight() ? (p.revert && t(e.data.target).css({ + var ptr = (this.style.transform && parseFloat(this.style.transform.slice(6, -1))) || 1; + return e.pageX > o.left && e.pageX < o.left + (i.outerWidth() * ptr) && e.pageY > o.top && e.pageY < o.top + (i.outerHeight() * ptr) ? (p.revert && t(e.data.target).css({ position: e.data.startPosition, left: e.data.startLeft, top: e.data.startTop @@ -5039,9 +7101,23 @@ var hiprint = function (t) { var n = t.data(e.data.target, "hidraggable"), i = n.handle, o = t(i).offset(), - r = t(i).outerWidth(), - a = t(i).outerHeight(), - p = e.pageY - o.top, + tr = t(i)[0].style.transform && parseInt(t(i)[0].style.transform.slice(7, -1)), + ptr = n.options.getScale(), + r = t(i).outerWidth(); + var a = t(i).outerHeight(); + if (tr) { + var rad = tr * Math.PI / 180, + width = t(i).outerWidth(), + height = t(i).outerHeight(), + sin = Math.sin(rad), + cos = Math.cos(rad); + r = Math.abs(width * cos) + Math.abs(height * sin), + a = Math.abs(width * sin) + Math.abs(height * cos) + } + if (ptr) { + r *= ptr, a *= ptr; + } + var p = e.pageY - o.top, s = o.left + r - e.pageX, l = o.top + a - e.pageY, u = e.pageX - o.left; @@ -5082,7 +7158,33 @@ var hiprint = function (t) { target: e.data.target, parent: t(e.data.target).parent()[0] }; - t.extend(e.data, p), 0 != t.data(e.data.target, "hidraggable").options.onBeforeDrag.call(e.data.target, e) && (t(document).bind("mousedown.hidraggable", e.data, i), t(document).bind("mousemove.hidraggable", e.data, o), t(document).bind("mouseup.hidraggable", e.data, r)); + var ops = t.data(e.data.target, "hidraggable"); + // item禁止移动 + if (ops.options.draggable === false) { + return; + } + // 旋转时不允许移动 + if ('r resizebtn' == e.target.className) { + return; + } + var ptr = ops.options.getScale() + if (ptr) { + p.left /= ptr, p.top /= ptr, p.startLeft /= ptr, p.startTop /= ptr; + } + var tr = p.target.style.transform && parseInt(p.target.style.transform.slice(7, -1)); + if (tr) { + var rad = tr * Math.PI / 180, + width = t(e.data.target).outerWidth(), + height = t(e.data.target).outerHeight(), + sin = Math.sin(rad), + cos = Math.cos(rad); + var w = Math.abs(width * cos) + Math.abs(height * sin), + h = Math.abs(width * sin) + Math.abs(height * cos); + var diffW = (w - width) / 2, diffH = (h - height) / 2; + p.left += diffW, p.top += diffH, p.startLeft += diffW, p.startTop += diffH; + } + t.extend(e.data, p); + 0 != t.data(e.data.target, "hidraggable").options.onBeforeDrag.call(e.data.target, e) && (t(document).bind("mousedown.hidraggable", e.data, i), t(document).bind("mousemove.hidraggable", e.data, o), t(document).bind("mouseup.hidraggable", e.data, r)); } }); }); @@ -5090,6 +7192,13 @@ var hiprint = function (t) { options: function options(e) { return t.data(e[0], "hidraggable").options; }, + update: function update(e, n) { + if (n && "object" == typeof n) { + t.data(e[0], "hidraggable") && Object.keys(n).forEach(function (k) { + t.data(e[0], "hidraggable").options[k] = n[k] + }) + } + }, proxy: function proxy(e) { return t.data(e[0], "hidraggable").proxy; }, @@ -5127,6 +7236,7 @@ var hiprint = function (t) { disabled: !1, edge: 0, axis: null, + getScale: function getScale(t) {}, onBeforeDrag: function onBeforeDrag(t) { }, onStartDrag: function onStartDrag(t) { @@ -5290,6 +7400,12 @@ var hiprint = function (t) { name: "sw", target: n('
    ') }, + r = { + name: "r", + target: n('
    ') + }, + sizeBox = n('
    '), + deleteBtn = n('
    '), h = function h() { var t = [], i = e.options.showPoints; @@ -5297,7 +7413,15 @@ var hiprint = function (t) { n.inArray(o.name, i) > -1 && t.push(o.target); }), t; }; - + e.refreshSizeBox(void 0, sizeBox, o); + // draggable 为 false 时不显示 resizebox 右上角删除按钮 + if (e.options.draggable != false) { + o.append(deleteBtn); + o.on("mousedown", ".del-btn", () => { + var keyboardEvent = new KeyboardEvent("keydown", { bubbles: true, keyCode: 46 }); + t.dispatchEvent(keyboardEvent); + }); + } e.addHandlerCss(h()), e.appendHandler(h(), o), e.bindResizeEvent(o, n(this)); var f = n(this); n(o).on("mousedown", ".resizebtn", function () { @@ -5319,16 +7443,50 @@ var hiprint = function (t) { } }, appendHandler: function appendHandler(t, e) { + e.find(".resize-panel").remove() for (var n = 0; n < t.length; n++) { e.append(t[n]); } }, - triggerResize: function triggerResize(t) { - t.siblings().children("div[panelindex]").css({ - display: "none" - }), t.children("div[panelindex]").css({ + refreshSizeBox: function refreshSizeBox(t, box, o) { + if (!this.options.showSizeBox) return; + if (box) { + o.append(box); + } + var style, sizeBox; + if (t && t.length) { + style = t[0].style; + sizeBox = t.children("div[panelindex]").find(".size-box"); + } else if (o && o.parent()) { + var t = o.parent(); + if (t.hasClass("hiprint-printPaper-content")) return; + style = t[0].style; + if (!style.width) { + style.width = hinnn.px.toPt(t[0].offsetWidth) + "pt"; + } + if (!style.height) { + style.height = hinnn.px.toPt(t[0].offsetHeight) + "pt"; + } + sizeBox = t.children("div[panelindex]").find(".size-box"); + } + if (sizeBox) { + sizeBox.text(style.width + ' x ' + style.height); + sizeBox.css('top', -(sizeBox.outerHeight() || 20)); + } + }, + triggerResize: function triggerResize(t, n) { + // 处理按住 ctrl / command 点击元素 多选 + if (!(n.ctrlKey || n.metaKey)) { + t.siblings().children("div[panelindex]").removeClass('selected') + t.siblings().children("div[panelindex]").css({ + display: "none" + }) + } + t.children("div[panelindex]").addClass('selected') + t.children("div[panelindex]").css({ display: "block" }); + this.refreshSizeBox(t) }, bindResizeEvent: function bindResizeEvent(t, e) { var i = this, @@ -5339,115 +7497,165 @@ var hiprint = function (t) { s = t.offset().left, l = t.offset().top, u = i.options.noContainer ? n(e) : t.parent(), - d = !1; + d = !1; // 右 t.on("mousedown", ".e", function (e) { o = e.pageX, a = t.width(), d = !0; }); - var c = !1; + var c = !1; // 下 t.on("mousedown", ".s", function (e) { r = e.pageY, p = t.height(), c = !0; }); - var h = !1; + var h = !1; // 左 t.on("mousedown", ".w", function (e) { o = e.pageX, a = t.width(), h = !0, s = u.offset().left; }); - var f = !1; + var f = !1; // 上 t.on("mousedown", ".n", function (e) { r = e.pageY, p = t.height(), f = !0, l = u.offset().top; }); - var g = !1; + var g = !1; // 右上 t.on("mousedown", ".ne", function (e) { o = e.pageX, r = e.pageY, a = t.width(), p = t.height(), g = !0, l = u.offset().top; }); - var m = !1; + var m = !1; // 左上 t.on("mousedown", ".nw", function (e) { o = e.pageX, r = e.pageY, a = t.width(), p = t.height(), l = u.offset().top, s = u.offset().left, m = !0; }); - var v = !1; + var v = !1; // 右下 t.on("mousedown", ".se", function (e) { o = e.pageX, r = e.pageY, a = t.width(), p = t.height(), v = !0; }); - var y = !1; + var y = !1; // 左下 t.on("mousedown", ".sw", function (e) { o = e.pageX, r = e.pageY, a = t.width(), p = t.height(), y = !0, s = u.offset().left; }); + var rt = !1; // 旋转 + t.on("mousedown", ".r", function (e) { + o = e.pageX, r = e.pageY, a = t.width(), p = t.height(), rt = !0, s = a / 2 + u.offset().left, l = p / 2 + u.offset().top; + }); + t.on("dblclick", ".r", function (e) { + u.css({transform: "rotate(" + 0 + "deg)"}); + i.options.onResize(e, void 0, void 0, void 0, void 0, 0); + }); var b = !1; t.on("mousedown", function (t) { i.options.onBeforeResize(), o = t.pageX, r = t.pageY, l = u.offset().top, s = u.offset().left, b = !1; }), n(i.options.stage).on("mousemove", function (e) { - if (d) { - var n = e.pageX - o; + if (d) { // 右 + var n = (e.pageX - o) / i.options.getScale(); + t.css({ + width: "100%" + }), u.css({ + width: i.numHandlerText(a + n) + }), i.options.onResize(e, void 0, i.numHandler(a + n), void 0, void 0); + } else if (c) { // 下 + var E = (e.pageY - r) / i.options.getScale(); t.css({ + height: "100%" + }), u.css({ + height: i.numHandlerText(p + E) + }), i.options.onResize(e, i.numHandler(p + E), void 0, void 0, void 0); + } else if (rt) { // 旋转 + t.css({height: "100%"}); + var eo = e.pageX, er = e.pageY; + var direct = (eo - o) * 360 / 100; + o = e.pageX + var lastAngle = (u[0].style.transform && parseInt(u[0].style.transform.slice(7, -1))) || 0; + var R = lastAngle + direct; + if (Math.abs(R) > 360) { + R = R % 360 + } + u.css({transform: "rotate(" + R + "deg)"}); + i.options.onResize(e, void 0, void 0, void 0, void 0, R); + } else if (h) { // 左 + (n = (e.pageX - o) / i.options.getScale(), t.css({ + width: "100%" + }), u.css({ + width: i.numHandlerText(a - n), + left: i.numHandlerText(i.options.noDrag ? void 0 : i.numHandler(s + n)) + }), i.options.onResize(e, void 0, i.numHandler(a - n), void 0, i.options.noDrag ? void 0 : i.numHandler(s + n))) + } else if (f) { // 上 + (E = (e.pageY - r) / i.options.getScale(), t.css({ + height: "100%" + }), u.css({ + height: i.numHandlerText(p - E), + top: i.numHandlerText(i.options.noDrag ? void 0 : l + E) + }), i.options.onResize(e, i.numHandler(p - E), void 0, i.options.noDrag ? void 0 : i.numHandler(l + E), void 0)) + } else if (g) { // 右上 + (n = (e.pageX - o) / i.options.getScale(), E = (e.pageY - r) / i.options.getScale(), t.css({ + height: "100%", width: "100%" }), u.css({ + height: i.numHandlerText(p - E), + top: i.numHandlerText(i.options.noDrag ? void 0 : l + E), width: i.numHandlerText(a + n) - }), i.options.onResize(e, void 0, i.numHandler(a + n), void 0, void 0); - } else if (c) { - var E = e.pageY - r; - t.css({ + }), i.options.onResize(e, i.numHandler(p - E), i.numHandler(a + n), i.options.noDrag ? void 0 : i.numHandler(l + E), void 0)) + } else if (m) { // 左上 + (n = (e.pageX - o) / i.options.getScale(), E = (e.pageY - r) / i.options.getScale(), t.css({ + height: "100%", + width: "100%" + }), u.css({ + height: i.numHandlerText(p - E), + top: i.numHandlerText(i.options.noDrag ? void 0 : l + E), + width: i.numHandlerText(a - n), + left: i.numHandlerText(i.options.noDrag ? void 0 : s + n) + }), i.options.onResize(e, i.numHandler(p - E), i.numHandler(a - n), i.options.noDrag ? void 0 : i.numHandler(l + E), i.options.noDrag ? void 0 : i.numHandler(s + n))) + } else if (v) { // 右下 + (n = (e.pageX - o) / i.options.getScale(), E = (e.pageY - r) / i.options.getScale()), + t.css({width: "100%", height: "100%"}); + if (e.shiftKey) { + u.css({width: i.numHandlerText(a + n), height: i.numHandlerText(p + E)}); + i.options.onResize(e, i.numHandler(p + E), i.numHandler(a + n), void 0, void 0); + } else { + // 宽高比 + var ratio = p / a; + var width = a + n, height = p + E; + height = width * ratio; + u.css({width: i.numHandlerText(width), height: i.numHandlerText(height)}); + i.options.onResize(e, i.numHandler(height), i.numHandler(width), void 0, void 0); + } + } else if (y) { // 左下 + (n = (e.pageX - o) / i.options.getScale(), E = (e.pageY - r) / i.options.getScale(), t.css({ + width: "100%", height: "100%" }), u.css({ + width: i.numHandlerText(a - n), + left: i.numHandlerText(i.options.noDrag ? void 0 : s + n), height: i.numHandlerText(p + E) - }), i.options.onResize(e, i.numHandler(p + E), void 0, void 0, void 0); - } else h ? (n = e.pageX - o, t.css({ - width: "100%" - }), u.css({ - width: i.numHandlerText(a - n), - left: i.numHandlerText(i.options.noDrag ? void 0 : i.numHandler(s + n)) - }), i.options.onResize(e, void 0, i.numHandler(a - n), void 0, i.options.noDrag ? void 0 : i.numHandler(s + n))) : f ? (E = e.pageY - r, t.css({ - height: "100%" - }), u.css({ - height: i.numHandlerText(p - E), - top: i.numHandlerText(i.options.noDrag ? void 0 : l + E) - }), i.options.onResize(e, i.numHandler(p - E), void 0, i.options.noDrag ? void 0 : i.numHandler(l + E), void 0)) : g ? (n = e.pageX - o, E = e.pageY - r, t.css({ - height: "100%", - width: "100%" - }), u.css({ - height: i.numHandlerText(p - E), - top: i.numHandlerText(i.options.noDrag ? void 0 : l + E), - width: i.numHandlerText(a + n) - }), i.options.onResize(e, i.numHandler(p - E), i.numHandler(a + n), i.options.noDrag ? void 0 : i.numHandler(l + E), void 0)) : m ? (n = e.pageX - o, E = e.pageY - r, t.css({ - height: "100%", - width: "100%" - }), u.css({ - height: i.numHandlerText(p - E), - top: i.numHandlerText(i.options.noDrag ? void 0 : l + E), - width: i.numHandlerText(a - n), - left: i.numHandlerText(i.options.noDrag ? void 0 : s + n) - }), i.options.onResize(e, i.numHandler(p - E), i.numHandler(a - n), i.options.noDrag ? void 0 : i.numHandler(l + E), i.options.noDrag ? void 0 : i.numHandler(s + n))) : v ? (n = e.pageX - o, E = e.pageY - r, t.css({ - width: "100%", - height: "100%" - }), u.css({ - width: i.numHandlerText(a + n), - height: i.numHandlerText(p + E) - }), i.options.onResize(e, i.numHandler(p + E), i.numHandler(a + n), void 0, void 0)) : y ? (n = e.pageX - o, E = e.pageY - r, t.css({ - width: "100%", - height: "100%" - }), u.css({ - width: i.numHandlerText(a - n), - left: i.numHandlerText(i.options.noDrag ? void 0 : s + n), - height: i.numHandlerText(p + E) - }), i.options.onResize(e, i.numHandler(p + E), i.numHandler(a - n), i.numHandler(otundefinedop), i.options.noDrag ? void 0 : i.numHandler(s + n))) : b && (n = e.pageX - o, E = e.pageY - r, u.css({ - left: i.numHandlerText(i.options.noDrag ? void 0 : s + n), - top: i.numHandlerText(i.options.noDrag ? void 0 : l + E) - }), i.options.onResize(e, void 0, void 0, i.options.noDrag ? void 0 : i.numHandler(l + E), i.options.noDrag ? void 0 : i.numHandler(s + n))); + }), i.options.onResize(e, i.numHandler(p + E), i.numHandler(a - n), i.numHandler(otundefinedop), i.options.noDrag ? void 0 : i.numHandler(s + n))) + } else { // 按下 + b && (n = (e.pageX - o) / i.options.getScale(), E = (e.pageY - r) / i.options.getScale(), u.css({ + left: i.numHandlerText(i.options.noDrag ? void 0 : s + n), + top: i.numHandlerText(i.options.noDrag ? void 0 : l + E) + }), i.options.onResize(e, void 0, void 0, i.options.noDrag ? void 0 : i.numHandler(l + E), i.options.noDrag ? void 0 : i.numHandler(s + n))) + } + ; }).on("mouseup", function (t) { - d = !1, c = !1, h = !1, f = !1, g = !1, m = !1, y = !1, v = !1, b = !1, i.options.onStopResize(); + // i.options.onStopResize(rt); + // 当某个 '控制点' 按下时 (每个'控制点'按下状态是独立的) + if ((d || c || h || f || g || m || y || v || b || rt)) { + i.options.onStopResize(rt); + } + d = !1, c = !1, h = !1, f = !1, g = !1, m = !1, y = !1, v = !1, b = !1, rt = !1; }); }, bindTrigger: function bindTrigger(t) { var e = this; - t.on("click", function (n) { - n.stopPropagation(), e.triggerResize(t); + t.on("click", function (_n) { + _n.stopPropagation(), e.triggerResize(t, _n), n(".mouseRect").remove(); }); }, bindHidePanel: function bindHidePanel(t) { if (i.maxPanelIndex < 2) { var e = this.options.stage; n(e).bind("click", function (t) { - t.stopPropagation(), n("div[panelindex]").css({ - display: "none" - }); + // 仅点击设计面板时清除多选元素 + if (t.target.className && _typeof(t.target.className) == "string" && t.target.className.includes("design")) { + t.stopPropagation(), n("div[panelindex]").css({ + display: "none" + }); + n("div[panelindex]").removeClass("selected"); + } }); } } @@ -5456,7 +7664,8 @@ var hiprint = function (t) { return this.each(function () { var e, i = n.data(this, "hireizeable"); - e = i ? n.extend(i.options, _1f) : n.extend({}, n.fn.hireizeable.defaults, t || {}), n.data(this, "hireizeable", { + e = i ? n.extend({}, i.options, t || {}) : n.extend({}, n.fn.hireizeable.defaults, t || {}); + n.data(this, "hireizeable", { options: e }), new o({ target: this, @@ -5471,6 +7680,7 @@ var hiprint = function (t) { stage: document, reizeUnit: "pt", minResize: 1.5, + showSizeBox: !0, showPoints: ["s", "e"], noContainer: !1, onBeforeResize: function onBeforeResize(t, e, n, i, o) { @@ -5487,6 +7697,7 @@ var hiprint = function (t) { opened: !1, name: "webSockets", host: "http://localhost:17521", + token: null, reconnectTimeout: 6e4, reconnectWindowSetTimeout: null, reconnectDelay: 2e3, @@ -5506,28 +7717,110 @@ var hiprint = function (t) { getPrinterList: function getPrinterList() { return this.printerList; }, - setHost: function (host) { + refreshPrinterList: function refreshPrinterList() { + try { + this.socket.emit("refreshPrinterList"); + } catch (e) { + console.log("refreshPrinterList error:" + JSON.stringify(e)); + } + }, + getPaperSizeInfo: function getPaperSizeInfo(printer) { + try { + console.warn("getPaperSizeInfo 是一个测试功能,仅win客户端支持该api!") + this.socket.emit("getPaperSizeInfo", printer); + } catch (e) { + console.log("getPaperSizeInfo error:" + JSON.stringify(e)) + } + }, + getClients: function getClients() { + try { + this.socket.emit("getClients"); + } catch (e) { + console.log("getClients error:" + JSON.stringify(e)); + } + }, + getClientInfo: function getClientInfo() { + try { + this.socket.emit("getClientInfo"); + } catch (e) { + console.log("getClientInfo error:" + JSON.stringify(e)) + } + }, + getAddress: function getAddress(type, ...args) { + try { + this.socket.emit("address", type, ...args); + } catch (e) { + console.log("getAddress error:" + JSON.stringify(e)); + } + }, + ippPrint: function ippPrint(options) { + try { + this.socket.emit("ippPrint", options); + } catch (e) { + console.log("ippPrint error:" + JSON.stringify(e)); + } + }, + ippRequest: function ippRequest(options) { + try { + this.socket.emit("ippRequest", options); + } catch (e) { + console.log("ippRequest error:" + JSON.stringify(e)); + } + }, + setHost: function (host, token, cb) { + if (typeof token === "function") { + cb = token + token = undefined + } this.host = host + this.token = token this.stop() - this.start() + this.start(cb) }, - start: function start() { + start: function start(cb) { var _this = this; var t = this; - window.WebSocket ? this.socket || (this.socket = io(this.host, { - reconnectionAttempts: 5 + window.WebSocket ? this.socket || (this.socket = window.io(this.host, { + transports: ['websocket'], + reconnectionAttempts: 5, + auth: { + token: this.token + } }), this.socket.on("connect", function (e) { t.opened = !0, console.log("Websocket opened."), _this.socket.on("successs", function (t) { hinnn.event.trigger("printSuccess_" + t.templateId, t); }), _this.socket.on("error", function (t) { hinnn.event.trigger("printError_" + t.templateId, t); + }), _this.socket.on("clients", function(clients) { + t.clients = clients; + hinnn.event.trigger("clients", clients) + }), _this.socket.on("clientInfo", function(clientInfo) { + t.clientInfo = clientInfo + hinnn.event.trigger("clientInfo", clientInfo) }), _this.socket.on("printerList", function (e) { t.printerList = e; + hinnn.event.trigger("printerList", e); + }), _this.socket.on("paperSizeInfo", function(e) { + t.paperSize = Array.isArray(e)?e:[e] + hinnn.event.trigger("paperSizeInfo", t.paperSize); + }), _this.socket.on("address", function (type, addr, e) { + hinnn.event.trigger("address_" + type, {'addr': addr, 'e': e}); + }), _this.socket.on("ippPrinterConnected", function (printer) { + hinnn.event.trigger("ippPrinterConnected", printer); + }), _this.socket.on("ippPrinterCallback", function (err, res) { + hinnn.event.trigger("ippPrinterCallback", {'err': err, 'res': res}); + }), _this.socket.on("ippRequestCallback", function (err, res) { + hinnn.event.trigger("ippRequestCallback", {'err': err, 'res': res}); }), t.state = n; + cb && cb(true, e); + }), this.socket.on("connect_error", function (e) { + console.error(e) + hinnn.event.trigger("connect_error", e) }), this.socket.on("disconnect", function () { t.opened = !1; - })) : console.log("WebSocket start fail"); + cb && cb(false); + })) : console.log("WebSocket start fail"), cb && cb(false); }, reconnect: function reconnect() { this.state !== n && this.state !== i || (this.stop(), this.ensureReconnectingState() && (console.log("Websocket reconnecting."), this.start())); @@ -5849,7 +8142,7 @@ var hiprint = function (t) { i = e; if (t && t.length) { - var o = $('
      '); + var o = $('
        '); i || (i = o).addClass("hicontextmenuroot"), $.each(t, function (t, e) { var i = !!e.disable && e.disable(), r = $('
      • ' + (e.text || "") + "
      • "); @@ -5919,7 +8212,7 @@ var hiprint = function (t) { }, t.prototype.removePrintElementTypes = function (t) { var n = this; delete n[t], n.allElementTypes = n.allElementTypes.filter(function (e) { - return e.tid.startsWith(t) + return !e.tid.startsWith(t) }); }, t.prototype.getElementTypeGroups = function (t) { return this[this.formatterModule(t)] || []; @@ -5928,6 +8221,19 @@ var hiprint = function (t) { return e.tid == t; }); if (e.length > 0) return e[0]; + }, t.prototype.updateElementType = function (t, c) { + var type = this.getElementType(t); + if (c) { + var newType = c(type); + var idx = this.allElementTypes.findIndex(function (e) { + return e.tid == t; + }) + if (idx >= 0) { + this.allElementTypes.splice(idx, 1, newType); + return newType; + } + } + return type; }, t.prototype.formatterModule = function (t) { return t || "_default"; }, t; @@ -5966,10 +8272,10 @@ var hiprint = function (t) { h = function () { function t(t) { var e = this; - this.text = t.text, this.field = t.field, this.fields = t.fields, this.title = t.title, this.tid = t.tid, this.data = t.data, this.styler = t.styler, this.formatter = t.formatter, this.type = t.type, this.options = t.options, this.editable = t.editable, this.columnDisplayEditable = t.columnDisplayEditable, this.columnDisplayIndexEditable = t.columnDisplayIndexEditable, this.columnTitleEditable = t.columnTitleEditable, this.columnResizable = t.columnResizable, this.columnAlignEditable = t.columnAlignEditable, this.columns = [], (t.columns || []).forEach(function (t, n) { + this.text = t.text, this.field = t.field, this.fields = t.fields, this.title = t.title, this.tid = t.tid, this.data = t.data, this.styler = t.styler, this.formatter = t.formatter, this.type = t.type, this.options = t.options, this.editable = t.editable != void 0 ? t.editable : !0, this.columnDisplayEditable = t.columnDisplayEditable != void 0 ? t.columnDisplayEditable : !0, this.columnDisplayIndexEditable = t.columnDisplayIndexEditable != void 0 ? t.columnDisplayIndexEditable : !0, this.columnTitleEditable = t.columnTitleEditable != void 0 ? t.columnTitleEditable : !0, this.columnResizable = t.columnResizable != void 0 ? t.columnResizable : !0, this.columnAlignEditable = t.columnAlignEditable != void 0 ? t.columnAlignEditable : !0, this.columns = [], (t.columns || []).forEach(function (t, n) { e.columns.push(e.createTableColumnArray(t)); - }), this.rowStyler = t.rowStyler, this.striped = t.striped, this.groupFields = t.groupFields || [], this.groupFormatter = t.groupFormatter, this.groupFooterFormatter = t.groupFooterFormatter, this.footerFormatter = t.footerFormatter, this.gridColumnsFooterFormatter = t.gridColumnsFooterFormatter, - this.isEnableEditField = t.isEnableEditField, this.isEnableContextMenu = t.isEnableContextMenu, this.isEnableInsertRow = t.isEnableInsertRow, this.isEnableDeleteRow = t.isEnableDeleteRow, this.isEnableInsertColumn = t.isEnableInsertColumn, this.isEnableDeleteColumn = t.isEnableDeleteColumn, this.isEnableMergeCell = t.isEnableMergeCell, this.columnObj = this.makeColumnObj(); + }), this.rowStyler = t.rowStyler, this.striped = t.striped, this.groupFields = t.groupFields || [], this.groupFormatter = t.groupFormatter, this.groupFooterFormatter = t.groupFooterFormatter, this.footerFormatter = t.footerFormatter, this.rowsColumnsMerge = t.rowsColumnsMerge, this.rowsColumnsMergeClean = t.rowsColumnsMergeClean, this.gridColumnsFooterFormatter = t.gridColumnsFooterFormatter, + this.isEnableEditField = t.isEnableEditField != void 0 ? t.isEnableEditField : !0, this.isEnableContextMenu = t.isEnableContextMenu != void 0 ? t.isEnableContextMenu : !0, this.isEnableInsertRow = t.isEnableInsertRow != void 0 ? t.isEnableInsertRow : !0, this.isEnableDeleteRow = t.isEnableDeleteRow != void 0 ? t.isEnableDeleteRow : !0, this.isEnableInsertColumn = t.isEnableInsertColumn != void 0 ? t.isEnableInsertColumn : !0, this.isEnableDeleteColumn = t.isEnableDeleteColumn != void 0 ? t.isEnableDeleteColumn : !0, this.isEnableMergeCell = t.isEnableMergeCell != void 0 ? t.isEnableMergeCell : !0, this.columnObj = this.makeColumnObj(); } return t.prototype.getText = function () { @@ -6016,13 +8322,15 @@ var hiprint = function (t) { return this.options || {}; }, t.prototype.getColumnByColumnId = function (t) { return this.columnObj[t]; - }, t.prototype.makeColumnObj = function () { + }, t.prototype.makeColumnObj = function (columns) { var t = {}; - return this.columns && this.columns.forEach(function (e) { + return columns ? columns.forEach(function (e) { + (e.id || e.columnId) && (t[e.id || e.columnId] = e); + }) : this.columns && this.columns.forEach(function (e) { e.forEach(function (e) { - e.columnId && (t[e.columnId] = e); + (e.id || e.columnId) && (t[e.id || e.columnId] = e); }); - }), t; + }), this.columnObj = t, t; }, t; }(), f = n(4), @@ -6051,10 +8359,10 @@ var hiprint = function (t) { } return m(e, t), e.prototype.getReizeableShowPoints = function () { - return ["se"]; + return ["s","e","se","r"]; }, e.prototype.getData = function (t) { - var e = ""; - t ? e = this.getField() ? e.split('.').reduce((a,c)=>a ? a[c] : t[c], !1) || "" : this.options.src || this.printElementType.getData() : e = this.options.src || this.printElementType.getData(); + var e = "", f = this.getField(); + t ? e = f ? f.split('.').reduce((a, c) => a ? a[c] : t[c], !1) || "" : this.options.src || this.printElementType.getData() : e = this.options.src || this.printElementType.getData(); var n = this.getFormatter(); return n && (e = n(e, this.options, this._currenttemplateData)), e || ""; }, e.prototype.createTarget = function (t, e) { @@ -6069,8 +8377,10 @@ var hiprint = function (t) { }, e.prototype.updateTargetImage = function (t, e, n) { var i = t.find(".hiprint-printElement-image-content"); i.find("img").length ? i.find("img").attr("src", n) : i.html(''); - if (n.length) i.find("img").css('cssText',`width:100%;height:100%;content:url("${n}")!important`) - else i.find("img").css('cssText','width:100%;height:100%;') + if (n.length) i.find("img").css('cssText', `width:100%;height:100%;content:url("${n}")!important`) + else i.find("img").css('cssText', 'width:100%;height:100%;') + if (this.options.fit) i.find("img").css("object-fit", this.options.fit); + if (this.options.borderRadius) i.find("img").css("border-radius", this.options.borderRadius); }, e.prototype.getHtml = function (t, e, n) { return this.getHtml2(t, e, n); }, e; @@ -6108,9 +8418,9 @@ var hiprint = function (t) { }(g.a), E = n(8), T = function () { - function t(t, pr, e, n, i, r, a, p, s, l, u, d) { - this.panelPageRule = pr, - this.defaultPaperNumberFormat = "paperNo-paperCount", this.printLine = 0, this.templateId = t, this.width = o.a.mm.toPt(e), this.height = o.a.mm.toPt(n), this.mmwidth = e, this.mmheight = n, this.paperHeader = i, this.paperFooter = r, this.contentHeight = r - i, this.createTarget(), this.index = u, this.paperNumberLeft = a || parseInt((this.width - 30).toString()), this.paperNumberTop = p || parseInt((this.height - 22).toString()), this.paperNumberDisabled = s, this.paperNumberFormat = l, this.referenceElement = d ? $.extend({}, d) : new E.a({ + function t(t, idx, watermarkOptions, pr, scl, e, n, i, r, a, p, s, s1, l, u, d) { + this.panelPageRule = pr, this.scale = scl, this.watermarkOptions = watermarkOptions, + this.defaultPaperNumberFormat = "${paperNo}-${paperCount}", this.printLine = 0, this.templateId = t, this.panelIdx = idx, this.width = o.a.mm.toPt(e), this.height = o.a.mm.toPt(n), this.mmwidth = e, this.mmheight = n, this.paperHeader = i >= 0 ? i : 0, this.paperFooter = r, this.contentHeight = r - i, this.createTarget(), this.index = u, this.paperNumberLeft = a || parseInt((this.width - 30).toString()), this.paperNumberTop = p || parseInt((this.height - 22).toString()), this.paperNumberDisabled = s, this.paperNumberContinue = s1, this.paperNumberFormat = l, this.referenceElement = d ? $.extend({}, d) : new E.a({ top: 0, left: 0, height: 0, @@ -6124,16 +8434,19 @@ var hiprint = function (t) { return t.prototype.subscribePaperBaseInfoChanged = function (t) { this.onPaperBaseInfoChanged = t; - }, t.prototype.triggerOnPaperBaseInfoChanged = function () { + }, t.prototype.triggerOnPaperBaseInfoChanged = function (t) { this.onPaperBaseInfoChanged && this.onPaperBaseInfoChanged({ panelPageRule: this.panelPageRule, + scale: this.scale, paperHeader: this.paperHeader, paperFooter: this.paperFooter, paperNumberLeft: this.paperNumberLeft, paperNumberTop: this.paperNumberTop, paperNumberDisabled: this.paperNumberDisabled, + paperNumberContinue: this.paperNumberContinue, paperNumberFormat: this.paperNumberFormat }); + o.a.event.trigger("hiprintTemplateDataChanged_" + this.templateId, t || "模板调整"); }, t.prototype.setFooter = function (t, e, n, i) { this.firstPaperFooter = t, this.evenPaperFooter = e, this.oddPaperFooter = n, this.lastPaperFooter = i; }, t.prototype.setOffset = function (t, e) { @@ -6143,23 +8456,29 @@ var hiprint = function (t) { }, t.prototype.setTopOffset = function (t) { t ? this.paperContentTarget.css("top", t + "pt") : this.paperContentTarget[0].style.top = ""; }, t.prototype.createTarget = function () { - this.target = $('
        '), this.paperContentTarget = this.target.find(".hiprint-printPaper-content"), this.target.css("width", this.mmwidth + "mm"), this.target.css("height", this.mmheight - p.a.instance.paperHeightTrim + "mm"), this.target.attr("original-height", this.mmheight); + this.target = $('
        '), this.paperContentTarget = this.target.find(".hiprint-printPaper-content"), this.target.css("width", this.mmwidth + "mm"), this.target.css("height", this.mmheight - p.a.instance.paperHeightTrim + "mm"), this.target.attr("original-height", this.mmheight), this.zoom(this.scale); }, t.prototype.createHeaderLine = function () { var t = this; this.headerLinetarget = $('
        '), this.headerLinetarget.css("top", (this.paperHeader || -1) + "pt"), 0 == this.paperHeader && this.headerLinetarget.addClass("hideheaderLinetarget"), this.paperContentTarget.append(this.headerLinetarget), this.dragHeadLineOrFootLine(this.headerLinetarget, function (e, n) { - t.paperHeader = n, t.triggerOnPaperBaseInfoChanged(); + if (n >= t.paperFooter) { + n = t.paperFooter - 10; + } + t.paperHeader = n >= 0 ? n : 0, t.triggerOnPaperBaseInfoChanged(); }); }, t.prototype.createFooterLine = function () { var t = this; this.footerLinetarget = $('
        '), this.footerLinetarget.css("top", parseInt(this.paperFooter.toString()) + "pt"), this.paperFooter == this.height && (this.footerLinetarget.css("top", this.mmheight - p.a.instance.paperHeightTrim + "mm"), this.footerLinetarget.addClass("hidefooterLinetarget")), this.paperContentTarget.append(this.footerLinetarget), this.dragHeadLineOrFootLine(this.footerLinetarget, function (e, n) { + if (n <= t.paperHeader) { + n = t.paperHeader + 10; + } t.paperFooter = n, t.triggerOnPaperBaseInfoChanged(); }); - }, t.prototype.createPaperNumber = function (t) { + }, t.prototype.createPaperNumber = function (t, d) { var e = this, n = this.target.find(".hiprint-paperNumber"); if (n.length) return n.html(t), n; var i = $('' + t + ""); - return i.css("top", this.paperNumberTop + "pt"), i.css("left", this.paperNumberLeft + "pt"), this.paperContentTarget.append(i), this.dragHeadLineOrFootLine(i, function (t, n) { + return i.css("top", this.paperNumberTop + "pt"), i.css("left", this.paperNumberLeft + "pt"), this.paperContentTarget.append(i), d && this.dragHeadLineOrFootLine(i, function (t, n) { e.paperNumberTop = n, e.paperNumberLeft = t, e.triggerOnPaperBaseInfoChanged(); }, !0), i; }, t.prototype.getTarget = function () { @@ -6172,16 +8491,17 @@ var hiprint = function (t) { t >= this.printLine && (this.printLine = t); }, t.prototype.design = function (t) { var e = this; - this.createHeaderLine(), this.createFooterLine(), this.target.addClass("design"), this.paperNumberTarget = this.createPaperNumber(this.formatPaperNumber(1, 1)), this.createRuler(), this.resetPaperNumber(this.paperNumberTarget), $(this.paperNumberTarget).bind("dblclick.hiprint", function () { - null == e.paperNumberDisabled && (e.paperNumberDisabled = !1), e.paperNumberDisabled = !e.paperNumberDisabled, e.resetPaperNumber(e.paperNumberTarget), e.triggerOnPaperBaseInfoChanged(); + this.createHeaderLine(), this.createFooterLine(), this.target.addClass("design"), t && t.grid && this.target.addClass("grid"), this.paperNumberTarget = this.createPaperNumber(this.formatPaperNumber(1, 1), true), this.createRuler(), this.createWaterMark(true, this.panelIdx, this.watermarkOptions), this.resetPaperNumber(this.paperNumberTarget), $(this.paperNumberTarget).bind("dblclick.hiprint", function () { + null == e.paperNumberDisabled && (e.paperNumberDisabled = !1), e.paperNumberDisabled = !e.paperNumberDisabled, e.resetPaperNumber(e.paperNumberTarget), e.triggerOnPaperBaseInfoChanged("初始"); }), $(this.paperNumberTarget).bind("click.hiprint", function () { o.a.event.trigger("BuildCustomOptionSettingEventKey_" + e.templateId, { options: { paperNumberFormat: e.paperNumberFormat, - paperNumberDisabled: e.paperNumberDisabled + paperNumberDisabled: e.paperNumberDisabled, + paperNumberContinue: e.paperNumberContinue }, callback: function callback(t) { - e.paperNumberDisabled = !!t.paperNumberDisabled || void 0, e.paperNumberFormat = t.paperNumberFormat ? t.paperNumberFormat : void 0, e.createPaperNumber(e.formatPaperNumber(1, 1)), e.resetPaperNumber(e.paperNumberTarget), e.triggerOnPaperBaseInfoChanged(); + e.paperNumberDisabled = !!t.paperNumberDisabled || void 0, e.paperNumberContinue = t.paperNumberContinue, e.paperNumberFormat = t.paperNumberFormat ? t.paperNumberFormat : void 0, e.createPaperNumber(e.formatPaperNumber(1, 1), true), e.resetPaperNumber(e.paperNumberTarget), e.triggerOnPaperBaseInfoChanged(); } }); }); @@ -6191,7 +8511,8 @@ var hiprint = function (t) { var i = this.createPaperNumber(this.formatPaperNumber(t, e)); this.paperNumberDisabled ? i.hide() : n && this.index % 2 == 1 && (i[0].style.left = "", i.css("right", this.paperNumberLeft + "pt")); }, t.prototype.formatPaperNumber = function (t, e) { - return (this.paperNumberFormat ? this.paperNumberFormat : this.defaultPaperNumberFormat).replace("paperNo", t.toString()).replace("paperCount", e.toString()); + this.createWaterMark(false, t, this.watermarkOptions); + return eval("`" + (this.paperNumberFormat ? this.paperNumberFormat : this.defaultPaperNumberFormat).replace("paperNo",t).replace("paperCount",e) + "`"); }, t.prototype.dragHeadLineOrFootLine = function (t, e, n) { var i = this; t.hidraggable({ @@ -6204,19 +8525,64 @@ var hiprint = function (t) { onBeforeDrag: function onBeforeDrag(t) { s.a.instance.draging = !0; }, + getScale: function getScale() { + return i.scale || 1; + }, onStopDrag: function onStopDrag(t) { + i.headerLinetarget.css("top", i.paperHeader + "pt"); + i.footerLinetarget.css("top", i.paperFooter + "pt"); s.a.instance.draging = !1, i.footerLinetarget.removeClass("hidefooterLinetarget"), i.headerLinetarget.removeClass("hideheaderLinetarget"); } }); }, t.prototype.resize = function (t, e) { - this.width = o.a.mm.toPt(t), this.height = o.a.mm.toPt(e), this.mmwidth = t, this.mmheight = e, this.target.css("width", t + "mm"), this.target.css("height", e - p.a.instance.paperHeightTrim + "mm"), this.target.attr("original-height", this.mmheight), this.paperFooter = this.height, this.footerLinetarget.css("top", this.height + "pt"), this.contentHeight = this.paperFooter - this.paperHeader, this.paperNumberLeft = parseInt((this.width - 30).toString()), this.paperNumberTop = parseInt((this.height - 22).toString()), this.paperNumberTarget.css("top", this.paperNumberTop + "pt"), this.paperNumberTarget.css("left", this.paperNumberLeft + "pt"), this.triggerOnPaperBaseInfoChanged(); + // 获取页脚高度比例 + var parperFooterRatio = this.paperFooter / this.height; + this.width = o.a.mm.toPt(t), this.height = o.a.mm.toPt(e), this.mmwidth = t, this.mmheight = e, this.target.css("width", t + "mm"), this.target.css("height", e - p.a.instance.paperHeightTrim + "mm"), this.target.attr("original-height", this.mmheight); + // 按比例计算页脚高度 + var paperFooter = this.height * parperFooterRatio; + this.paperFooter = paperFooter || this.height, this.footerLinetarget.css("top", paperFooter + "pt"), + this.contentHeight = this.paperFooter - this.paperHeader, + // 设置纸张后, 页码位置重置问题 + this.paperNumberLeft = this.paperNumberLeft > this.width ? parseInt((this.width - 30).toString()) : this.paperNumberLeft; + this.paperNumberTop = this.paperNumberTop > this.height ? this.paperNumberTop = parseInt((this.height - 22).toString()) : this.paperNumberTop; + this.paperNumberTarget.css("top", this.paperNumberTop + "pt"), + this.paperNumberTarget.css("left", this.paperNumberLeft + "pt"), + this.triggerOnPaperBaseInfoChanged("调整大小"); + }, t.prototype.zoom = function (s) { + if (s) { + this.scale = s, this.target.css("transform", "scale(" + s + ")"); + if (s > 1) { + this.target.css("transform-origin", "-" + s + "% -" + s + "%"); + } else { + this.target.css("transform-origin", "0 0"); + } + this.triggerOnPaperBaseInfoChanged("缩放"); + } }, t.prototype.getPaperFooter = function (t) { var e = this.index + t; return 0 == e ? this.firstPaperFooter ? this.firstPaperFooter : this.oddPaperFooter ? this.oddPaperFooter : this.paperFooter : e % 2 == 0 ? this.oddPaperFooter ? this.oddPaperFooter : this.paperFooter : e % 2 == 1 ? this.evenPaperFooter ? this.evenPaperFooter : this.paperFooter : void 0; }, t.prototype.getContentHeight = function (t) { return this.getPaperFooter(t) - this.paperHeader; }, t.prototype.createRuler = function () { - this.target.append('
        \n \n \n
        '); + this.target.append('
        \n \n \n
        '); + }, t.prototype.createWaterMark = function (watch, idx, opts) { + var e = this; + var options = Object.assign({}, opts || {}, { + id: `${e.templateId}_${e.panelIdx}_${idx || 1}_${watch ? 'design' : e.index}`, + watch: watch, + container: e.target[0], + }); + if (!options.container) return; + if (options.content) { + if (watch) { + watermark.destroyWatermark(Object.assign({}, options, { + id: `${e.templateId}_${e.panelIdx}_${idx || 1}_${e.index}`, + })); + } + watermark.createWatermark(options); + } else { + watermark.destroyWatermark(options); + } }, t.prototype.displayHeight = function () { return this.mmheight - p.a.instance.paperHeightTrim + "mm"; }, t.prototype.displayWidth = function () { @@ -6273,7 +8639,7 @@ var hiprint = function (t) { return this.options.title || this.printElementType.title; }, e.prototype.getData = function (t) { var f = this.getField(); - var e = f ? f.split('.').reduce((a,c)=>a ? a[c] : t ? t[c] : "", !1) : ""; + var e = f ? f.split('.').reduce((a, c) => a ? a[c] : t ? t[c] : "", !1) || "" : ""; return t ? e || "" : this.options.testData || this.printElementType.getData() || ""; }, e.prototype.updateTargetText = function (t, e, n) { var i = t.find(".hiprint-printElement-longText-content"), @@ -6292,7 +8658,7 @@ var hiprint = function (t) { return this.removeTempContainer(), n; }, e.prototype.getHeightByData = function (t) { this.createTempContainer(); - var e = this.getPaperHtmlResult(new T("", "", 1e3, 1e3, 0, 25e3, 0, 0, !0, void 0, 0, void 0), {}, t); + var e = this.getPaperHtmlResult(new T("", "", void 0, 1e3, 1e3, 0, 25e3, 0, 0, !0, !0, void 0, 0, void 0), {}, t); return this.removeTempContainer(), e[0].referenceElement.bottomInLastPaper - e[0].referenceElement.printTopInPaper; }, e.prototype.getLongTextIndent = function () { return this.options.longTextIndent ? '' : ''; @@ -6326,7 +8692,7 @@ var hiprint = function (t) { for (var d = this.getBeginPrintTopInPaperByReferenceElement(t); l.length > 0;) { var c = 0, h = t.getPaperFooter(r); - 0 == r && d > h && (d = d - h + t.paperHeader, o.push(new P.a({ + 0 == r && d > h && "none" != t.panelPageRule && (d = d - h + t.paperHeader, o.push(new P.a({ target: void 0, printLine: void 0 })), r++ , c = t.getContentHeight(r) - (d - t.paperHeader), h = t.getPaperFooter(r)); @@ -6347,7 +8713,7 @@ var hiprint = function (t) { printTopInPaper: m }) })), r++; - this.updatePanelHeight(g + this.options.getHeight(),t); + e && this.updatePanelHeight(g + this.options.getHeight(), t); } return o; @@ -6375,7 +8741,7 @@ var hiprint = function (t) { if (-1 == n) { i.find(".hiprint-printElement-longText-content").html(t.slice(0, e).join("")); var a = i.height(); - return { + return { IsPagination: !0, height: o.a.px.toPt(a), length: t.length, @@ -6455,6 +8821,12 @@ var hiprint = function (t) { return (null == this.fontSize ? this.defaultOptions.fontSize : this.fontSize) || 9; }, e.prototype.getbarcodeMode = function () { return (null == this.barcodeMode ? this.defaultOptions.barcodeMode : this.barcodeMode) || "CODE128"; + }, e.prototype.getBarWidth = function () { + return (null == this.barWidth ? this.defaultOptions.barWidth : this.barWidth) || 1; + }, e.prototype.getBarAutoWidth = function () { + return (null == this.barAutoWidth ? this.defaultOptions.barAutoWidth : this.barAutoWidth) ?? true; + }, e.prototype.getQRcodeLevel = function () { + return (null == this.qrCodeLevel ? this.defaultOptions.qrCodeLevel : this.qrCodeLevel) || 0; }, e; }(g.a), H = function () { @@ -6492,6 +8864,15 @@ var hiprint = function (t) { n = this.createTarget(this.printElementType.getText(!0), e); return this.updateTargetSize(n), this.css(n, e), n; }, e.prototype.updateDesignViewFromOptions = function () { + var els = this.panel.printElements.filter(function (t) { + return ('block' == t.designTarget.children().last().css('display') + && t.designTarget.children().last().hasClass('selected')) && !t.printElementType.type.includes('table'); + }); + els.forEach(ele => { + var t = ele.getData() + ele.css(ele.designTarget, t) + this.updateTargetText(ele.designTarget, ele.getTitle(), t) + }) if (this.designTarget) { var t = this.getData(); this.css(this.designTarget, t), this.updateTargetText(this.designTarget, this.getTitle(), t); @@ -6504,38 +8885,44 @@ var hiprint = function (t) { }, e.prototype.getData = function (t) { var e = void 0; var f = this.getField(); - if (e = t ? f ? f.split('.').reduce((a,c)=>a ? a[c] : t ? t[c] : "", !1) : "" : this.options.testData || this.printElementType.getData() || "", this.options.format) { + if (e = t ? f ? f.split('.').reduce((a, c) => a ? a[c] : t ? t[c] : "", !1) || "" : "" : this.options.testData || this.printElementType.getData() || "", this.options.format) { if ("datetime" == this.options.dataType) return o.a.dateFormat(e, this.options.format); - if ("boolen" == this.options.dataType) { + if ("boolean" == this.options.dataType) { var n = this.options.format.split(":"); if (n.length > 0) return !0 === e || "true" === e ? n[0] : n[1]; } } - return e; - }, e.prototype.updateTargetText = function (t, e, n, i) { + }, e.prototype.updateTargetText = function (t, e, n, i, rowIndex) { var r = this.getFormatter(), a = t.find(".hiprint-printElement-text-content"), p = ""; - p = this.getField() ? (this.options.getHideTitle() ? "" : e ? e + ":" : "") + (r ? r(e, n, this.options, this._currenttemplateData, t) : n) : n = r ? r(e, e, this.options, this._currenttemplateData, t) : e; + p = this.getField() ? (this.options.getHideTitle() ? "" : e ? e + ":" : "") + hinnn.toUpperCase(this.options.upperCase, (r ? r(e, n, this.options, this._currenttemplateData, t) : n)) : n = hinnn.toUpperCase(this.options.upperCase,(r ? r(e, e, this.options, this._currenttemplateData, t) : e)); var s = this.options.getTextType(); if ("text" == s) a.html(p); else { if ("barcode" == s) { - a.html('
        '); - + a.css({ + "display": "flex", + "flex-direction": "column" + }) + a.html('
        '); try { n ? (JsBarcode(a.find(".hibarcode_imgcode")[0], n, { format: this.options.getbarcodeMode(), - width: 1, + width: this.options.getBarWidth(), textMargin: -1, lineColor: this.options.color || "#000000", margin: 0, height: parseInt(o.a.pt.toPx(this.options.getHeight() || 10).toString()), displayValue: !1 }), a.find(".hibarcode_imgcode").attr("height", "100%"), a.find(".hibarcode_imgcode").attr("width", "100%"), this.options.hideTitle || a.find(".hibarcode_displayValue").html(n)) : a.html(""); + let svgWidth = a.find(".hibarcode_imgcode rect")[0].attributes.width.value * 1.2 + if (this.options.getBarAutoWidth() && svgWidth > hinnn.pt.toPx(this.options.width)) { + this.options.width = Math.ceil(hinnn.px.toPt(svgWidth)); + } } catch (t) { - console.log(t), a.html("此格式不支持该文本"); + console.log(t), a.html(`${i18n.__('此格式不支持该文本')}`); } } @@ -6544,17 +8931,28 @@ var hiprint = function (t) { try { if (n) { - var l = parseInt(o.a.pt.toPx(this.options.getWidth() || 20)), - u = parseInt(o.a.pt.toPx(this.options.getHeight() || 20)); - new QRCode(a[0], { - width: l, - height: u, + a.css({ + "display": "flex", + "flex-direction": "column" + }) + var width = this.options.width + var height = this.options.height - (!this.options.hideTitle ? this.options.lineHeight ?? (this.options.fontSize ?? 10.5) * 1.5 : 0) + var box = $('
        ').css({ + "width": Math.min(width, height) + 'pt', + "height": Math.min(width, height) + 'pt', + "margin": "auto" + }) + new QRCode(box[0], { + width: "100%", + height: "100%", colorDark: this.options.color || "#000000", - useSVG: !0 + useSVG: !0, + correctLevel: this.options.getQRcodeLevel() }).makeCode(n); + a.html(box), !this.options.hideTitle && a.append(`
        ${n}
        `); } } catch (t) { - console.log(t), a.html("二维码生成失败"); + console.log(t), a.html(`${i18n.__('二维码生成失败')}`); } } } @@ -6684,11 +9082,11 @@ var hiprint = function (t) { this.css(this.designTarget, t); } }, e.prototype.getConfigOptions = function () { - return p.a.instance.hline; + return p.a.instance.vline; }, e.prototype.createTarget = function (t, e) { return $('
        '); }, e.prototype.getReizeableShowPoints = function () { - return ["s"]; + return ["s", "r"]; }, e.prototype.getHtml = function (t, e, n) { return this.getHtml2(t, e, n); }, e; @@ -6730,7 +9128,7 @@ var hiprint = function (t) { }, e.prototype.createTarget = function (t, e) { return $('
        '); }, e.prototype.getReizeableShowPoints = function () { - return ["e"]; + return ["e", "r"]; }, e; }(f.a), z = function () { @@ -6766,7 +9164,7 @@ var hiprint = function (t) { this.css(this.designTarget, t); } }, e.prototype.getConfigOptions = function () { - return p.a.instance.hline; + return p.a.instance.rect; }, e.prototype.createTarget = function (t, e) { return $('
        '); }, e.prototype.getHtml = function (t, e, n) { @@ -6806,19 +9204,149 @@ var hiprint = function (t) { this.css(this.designTarget, t); } }, e.prototype.getConfigOptions = function () { - return p.a.instance.hline; + return p.a.instance.oval; }, e.prototype.createTarget = function (t, e) { return $('
        '); }, e.prototype.getHtml = function (t, e, n) { return this.getHtml2(t, e, n); }, e; }(f.a), + barcode = function(t) { + function e(e, n) { + var i = t.call(this, e) || this; + return i.options = new g.a(n), i.options.setDefault(new g.a(p.a.instance.barcode.default).getPrintElementOptionEntity()), i; + } + return N(e, t), e.prototype.updateDesignViewFromOptions = function () { + if (this.designTarget) { + var t = this.getData(); + this.css(this.designTarget, t), this.initBarcode(this.designTarget, this.getTitle(), this.getData()); + } + }, e.prototype.getConfigOptions = function () { + return p.a.instance.barcode; + }, e.prototype.onResize = function (e, n, i, o, r) { + t.prototype.onResize.call(this, e, n, i, o, r); + this.initBarcode(this.designTarget, this.getTitle(), this.getData()) + }, e.prototype.getTitle = function () { + return this.options.title || this.printElementType.title; + }, e.prototype.getData = function (t) { + var e = void 0; + var f = this.getField(); + e = t ? f ? f.split('.').reduce((a, c) => a ? a[c] : t ? t[c] : "", !1) || "" : "" : this.options.testData || this.printElementType.getData() || "" + return e; + }, e.prototype.initBarcode = function (designTarget, title, text) { + designTarget = designTarget || this.designTarget + var content = designTarget.find('.hiprint-printElement-barcode-content') + try { + // 计算 barcode 的高度,判断是否需要减去 title,使 title 包含在元素内部 + const height = o.a.pt.toMm(this.options.height - (!this.options.hideTitle ? this.options.lineHeight ?? (this.options.fontSize ?? 10.5) * 1.5 :0)); + var barcode = bwipjs.toSVG({ + bcid: this.options.barcodeType || 'code128', + text: text || this.options.testData || this.options.title, + scale: this.options.barWidth || 1, + width: parseInt(o.a.pt.toMm(this.options.getWidth())), + height: parseInt(height), + includetext: false, + barcolor: this.options.barColor || "#000", + }) + content.html($(barcode)) + if (!this.options.hideTitle) { + const titleText = title ? title + ( text ? ':' : '' ) : ''; + const textAlign = this.options.textAlign || 'center'; + // 支持type为barcode的textAlign属性 + const textStyle = textAlign === 'justify' ? 'text-align-last: justify;text-justify: distribute-all-lines;' : `text-align: ${ textAlign };` + content.append($(`
        ${ titleText }${ text }
        `)) + } + } catch (error) { + console.error(error) + content.html($(`
        ${i18n.__('条形码生成失败')}
        `)) + } + }, + // 设置 barcode 元素 resize 控制点 + e.prototype.getReizeableShowPoints = function () { + return ['s', 'e', 'se', 'r']; + }, e.prototype.createTarget = function (title, data) { + var designTarget = $('
        '); + this.initBarcode(designTarget, title, data); + return designTarget; + }, e.prototype.getHtml = function (t, e, n) { + return this.getHtml2(t, e, n) + }, e; + }(f.a), + qrcode = function(t) { + function e(e, n) { + var i = t.call(this, e) || this; + return i.options = new g.a(n), i.options.setDefault(new g.a(p.a.instance.qrcode.default).getPrintElementOptionEntity()), i; + } + return N(e, t), e.prototype.updateDesignViewFromOptions = function () { + if (this.designTarget) { + var t = this.getData(); + this.css(this.designTarget, t), this.initQrcode(this.designTarget, this.getTitle(), this.getData()); + } + }, e.prototype.getConfigOptions = function () { + return p.a.instance.qrcode; + }, e.prototype.onResize = function (e, n, i, o, r) { + t.prototype.onResize.call(this, e, n, i, o, r); + this.initQrcode(this.designTarget, this.getTitle(), this.getData()) + }, e.prototype.getTitle = function () { + return this.options.title || this.printElementType.title; + }, e.prototype.getData = function (t) { + var e = void 0; + var f = this.getField(); + e = t ? f ? f.split('.').reduce((a, c) => a ? a[c] : t ? t[c] : "", !1) || "" : "" : this.options.testData || this.printElementType.getData() || "" + return e; + }, e.prototype.initQrcode = function (designTarget, title, text) { + designTarget = designTarget || this.designTarget + var content = designTarget.find('.hiprint-printElement-qrcode-content') + try { + const width = o.a.pt.toPx(this.options.getWidth()); + // 计算 qrcode 的高度,判断是否需要减去 title,使 title 包含在元素内部 + const height = o.a.pt.toPx(this.options.height - (!this.options.hideTitle ? this.options.lineHeight ?? (this.options.fontSize ?? 10.5) * 1.5 :0)); + // 根据宽高 判断 qrcode 上下、左右 留白边距 + const paddingwidth = width >= height ? Math.abs(parseInt((width - height) / 2)) : 0; + const paddingheight = width >= height ? 0 : Math.abs(parseInt((height - width) / 2)); + var qrcode = bwipjs.toSVG({ + bcid: this.options.qrcodeType || 'qrcode', + text: text || this.options.testData || this.options.title, + scale: 1, + paddingwidth, + paddingheight, + // 保持 qrcode 始终为正方形 + width: Math.min(parseInt(width / 2.835), parseInt(height / 2.835)), + height: Math.min(parseInt(width / 2.835), parseInt(height / 2.835)), + includetext: false, + eclevel: ['M', 'L', 'H', 'Q'][this.options.qrCodeLevel ?? 0], + barcolor: this.options.barColor || "#000", + }) + content.html($(qrcode)) + if (!this.options.hideTitle) { + const titleText = title ? title + ( text ? ':' : '' ) : ''; + const textAlign = this.options.textAlign || 'center'; + // 支持type为qrcode的textAlign属性 + const textStyle = textAlign === 'justify' ? 'text-align-last: justify;text-justify: distribute-all-lines;' : `text-align: ${ textAlign };` + content.append($(`
        ${ titleText }${ text }
        `)) + } + } catch (error) { + console.error(error) + content.html($(`
        ${i18n.__('二维码生成失败')}
        `)) + } + }, + // 设置 qrcode 元素 resize 控制点 + e.prototype.getReizeableShowPoints = function () { + return ['s', 'e', 'se', 'r']; + }, e.prototype.createTarget = function (title, data) { + var designTarget = $('
        '); + this.initQrcode(designTarget, title, data); + return designTarget; + }, e.prototype.getHtml = function (t, e, n) { + return this.getHtml2(t, e, n) + }, e; + }(f.a), W = function () { function t() { } return t.createPrintElement = function (t, e) { - return "text" == t.type ? new D(t, e) : "image" == t.type ? new v(t, e) : "longText" == t.type ? new w(t, e) : "table" == t.type ? new d.a(t, e) : "html" == t.type ? new S(t, e) : "vline" == t.type ? new F(t, e) : "hline" == t.type ? new A(t, e) : "rect" == t.type ? new k(t, e) : "oval" == t.type ? new V(t, e) : void 0; + return "text" == t.type ? new D(t, e) : "image" == t.type ? new v(t, e) : "longText" == t.type ? new w(t, e) : "table" == t.type ? new d.a(t, e) : "html" == t.type ? new S(t, e) : "vline" == t.type ? new F(t, e) : "hline" == t.type ? new A(t, e) : "rect" == t.type ? new k(t, e) : "oval" == t.type ? new V(t, e) : "barcode" == t.type ? new barcode(t, e) : "qrcode" == t.type ? new qrcode(t, e) : void 0; }, t; }(), j = function () { @@ -6889,228 +9417,7 @@ var hiprint = function (t) { e.columns.push(t.getPrintElementOptionEntity()); }), e; }, e; - }(g.a), - X = n(7), - Y = function () { - var _t15 = function t(e, n) { - return (_t15 = Object.setPrototypeOf || _instanceof({ - __proto__: [] - }, Array) && function (t, e) { - t.__proto__ = e; - } || function (t, e) { - for (var n in e) { - e.hasOwnProperty(n) && (t[n] = e[n]); - } - })(e, n); - }; - - return function (e, n) { - function i() { - this.constructor = e; - } - - _t15(e, n), e.prototype = null === n ? Object.create(n) : (i.prototype = n.prototype, new i()); - }; - }(), - J = function (t) { - function e(e, n) { - var i = t.call(this, e) || this; - return i.options = new q(n), i.options.setDefault(new q(p.a.instance.tableCustom.default).getPrintElementOptionEntity()), i.columns = i.options.columns, i; - } - - return Y(e, t), e.prototype.updateDesignViewFromOptions = function () { - if (this.designTarget) { - this.css(this.designTarget, this.getData()); - var t = this.designTarget.find(".hiprint-printElement-table-content"), - e = this.getHtml(this.designPaper); - t.html(""), t.append(e[0].target.find(".hiprint-printElement-tableTarget")), this.setHiReizeable(); - } - }, e.prototype.getDesignTarget = function (t) { - var e = this; - return this.designTarget = this.getHtml(t)[0].target, this.designPaper = t, this.designTarget.click(function () { - o.a.event.trigger(e.getPrintElementSelectEventKey(), { - printElement: e - }); - }), this.designTarget.find("td").hidroppable({ - accept: ".rn-draggable-item", - onDrop: function onDrop(t, e) { - }, - onDragEnter: function onDragEnter(t, e) { - $(e).removeClass("rn-draggable-item"); - }, - onDragLeave: function onDragLeave(t, e) { - $(e).addClass("rn-draggable-item"); - } - }), this.designTarget; - }, e.prototype.getConfigOptions = function () { - return p.a.instance.tableCustom; - }, e.prototype.createTarget = function (t, e, n) { - var i = $('
        '); - return i.find(".hiprint-printElement-table-content").append(this.getTableHtml(e, n)), i; - }, e.prototype.getTableHtml = function (t, e) { - var n = $('
        '); - return n.append(X.a.createTableHead(this.columns, this.options.getWidth())), n.append(X.a.createTableRow(this.columns, t, this.options, this.printElementType)), this.printElementType.footerFormatter && ("no" == this.options.tableFooterRepeat || ("last" == this.options.tableFooterRepeat ? n.find("tbody").append(X.a.createTableFooter(this.printElementType.columns, t, this.options, this.printElementType, e, t).html()) : n.append(X.a.createTableFooter(this.printElementType.columns, t, this.options, this.printElementType, e, [])))), n; - }, e.prototype.getHtml = function (t, e) { - this.setCurrenttemplateData(e), this.createTempContainer(); - var n = this.getPaperHtmlResult(t, e); - return this.removeTempContainer(), n; - }, e.prototype.getPaperHtmlResult = function (t, e) { - var n = [], - i = this.getData(e), - o = this.getTableHtml(i, e), - r = this.createTarget(this.printElementType.title, [], e); - e ? this.updateTargetWidth(r) : this.updateTargetSize(r), this.css(r, i), this.css(o, i), this.getTempContainer().html(""), this.getTempContainer().append(r); - - for (var a, p = this.getBeginPrintTopInPaperByReferenceElement(t), s = 0, l = !1; !l;) { - var u = 0, - d = t.getPaperFooter(s); - 0 == s && p > d && (p = p - d + t.paperHeader, n.push(new P.a({ - target: void 0, - printLine: void 0 - })), s++ , u = t.getContentHeight(s) - (p - t.paperHeader), d = t.getPaperFooter(s)); - var c = n.length > 0 ? n[n.length - 1].target : void 0, - h = this.getRowsInSpecificHeight(u > 0 ? u : 0 == s ? d - p : t.getContentHeight(s), r, o, s, c, e); - l = h.isEnd; - var f = void 0; - h.target && (h.target.css("left", this.options.displayLeft()), h.target[0].height = ""), 0 == s || u > 0 ? (h.target && (a = p, h.target.css("top", p + "pt")), f = l && null != this.options.lHeight ? p + (h.height > this.options.lHeight ? h.height : this.options.lHeight) : p + h.height) : (h.target && (a = t.paperHeader, h.target.css("top", t.paperHeader + "pt")), f = t.paperHeader + h.height), n.push(new P.a({ - target: h.target, - printLine: f, - referenceElement: new E.a({ - top: this.options.getTop(), - left: this.options.getLeft(), - height: this.options.getHeight(), - width: this.options.getWidth(), - beginPrintPaperIndex: t.index, - bottomInLastPaper: f, - printTopInPaper: a - }) - })), s++; - } - - return n; - }, e.prototype.getRowsInSpecificHeight = function (t, e, n, i, r, a) { - var p = void 0, - s = n.find("tbody"), - l = o.a.pt.toPx(t); - e.find("tbody").html(""); - - for (var u = e.outerHeight(), d = []; ;) { - if (u <= l) { - if (0 == s.find("tr").length) { - a && this.options.autoCompletion && (this.autoCompletion(l, e), u = e.outerHeight()), p = { - target: e.clone(), - length: e.find("tbody tr").length, - height: o.a.px.toPt(u), - isEnd: !0 - }, 0 == e.find("tbody tr").length && r && (p = { - target: void 0, - length: 0, - height: 0, - isEnd: !0 - }); - } else { - var c = s.find("tr:lt(1)"); - e.find("tbody").append(c), u = e.outerHeight(); - var h = c.data("rowData"); - d.push(h), u > l && (s.prepend(c), d.pop(), u = e.outerHeight(), p = { - target: e.clone(), - length: e.find("tbody tr").length, - height: o.a.px.toPt(u), - isEnd: !1 - }); - } - } else p = { - target: void 0, - length: 0, - height: 0, - isEnd: !1 - }; - - if (p) { - // 这里是tableCustom, 有tfoot - if ("last" == this.options.tableFooterRepeat && !p.isEnd) break; - if (this.printElementType.footerFormatter) { - e.find("tfoot") && e.find("tfoot").html(X.a.createTableFooter(this.printElementType.columns, this.getData(a), this.options, this.printElementType, a, d).html()); - } - break; - } - } - - return p; - }, e.prototype.getData = function (t) { - if (!t) return [{}]; - var f = this.getField(); - var e = f ? f.split('.').reduce((a,c)=>a ? a[c] : t ? t[c] : "", !1) : ""; - return e ? JSON.parse(JSON.stringify(e)) : []; - }, e.prototype.autoCompletion = function (t, e) { - for (var n, i = this.getEmptyRowTarget(), o = e.outerHeight(); t > o;) { - n = i.clone(), e.find("tbody").append(n), o = e.outerHeight(); - } - - n && n.remove(); - }, e.prototype.getEmptyRowTarget = function () { - return X.a.createEmptyRowTarget(this.columns); - }, e.prototype.onResize = function (e, n, i, o, r) { - t.prototype.updateSizeAndPositionOptions.call(this, r, o, i, n), X.a.resizeTableCellWidth(this.designTarget, this.columns, this.options.getWidth()); - }, e.prototype.getReizeableShowPoints = function () { - return ["s", "e"]; - }, e.prototype.design = function (t, e) { - var n = this; - this.designTarget.hidraggable({ - handle: this.designTarget.find(".hiprint-printElement-table-handle"), - axis: n.options.axis && t && t.axisEnabled ? n.options.axis : void 0, - onDrag: function onDrag(t, i, o) { - n.updateSizeAndPositionOptions(i, o), n.createLineOfPosition(e); - }, - moveUnit: "pt", - minMove: p.a.instance.movingDistance, - onBeforeDrag: function onBeforeDrag(t) { - s.a.instance.draging = !0, n.createLineOfPosition(e); - }, - onStopDrag: function onStopDrag(t) { - s.a.instance.draging = !1, n.removeLineOfPosition(); - } - }), this.setHiReizeable(), this.designTarget.hireizeable({ - showPoints: n.getReizeableShowPoints(), - noContainer: !0, - onBeforeResize: function onBeforeResize() { - s.a.instance.draging = !0; - }, - onResize: function onResize(t, i, o, r, a) { - n.onResize(t, i, o, r, a), n.hitable.updateColumnGrips(), n.createLineOfPosition(e); - }, - onStopResize: function onStopResize() { - s.a.instance.draging = !1, n.removeLineOfPosition(); - } - }), this.bingKeyboardMoveEvent(this.designTarget, e); - }, e.prototype.setHiReizeable = function () { - var t = this; - this.hitable = new U.a({ - table: this.designTarget.find("table"), - rows: this.columns, - resizeRow: !1, - resizeColumn: !0, - fields: this.options.fields, - trs: $(this.designTarget).find("tbody tr"), - handle: this.designTarget.find("table thead"), - columnDisplayEditable: !0, - columnDisplayIndexEditable: !0, - columnResizable: !0, - columnAlignEditable: !0, - isEnableEdit: !0, - isEnableEditText: !0, - isEnableEditField: !0, - isEnableContextMenu: !0, - isEnableInsertRow: !0, - isEnableDeleteRow: !0, - isEnableInsertColumn: !0, - isEnableDeleteColumn: !0, - isEnableMergeCell: !0 - }), o.a.event.on("updateTable" + this.hitable.id, function () { - t.updateDesignViewFromOptions(); - }); - }, e; - }(f.a), + }(g.a), Q = function () { var _t16 = function t(e, n) { return (_t16 = Object.setPrototypeOf || _instanceof({ @@ -7132,15 +9439,6 @@ var hiprint = function (t) { _t16(e, n), e.prototype = null === n ? Object.create(n) : (i.prototype = n.prototype, new i()); }; }(), - Z = function (t) { - function e(e) { - return t.call(this, e) || this; - } - - return Q(e, t), e.prototype.createPrintElement = function (t) { - return new J(this, t); - }, e; - }(h), tt = function () { var _t17 = function t(e, n) { return (_t17 = Object.setPrototypeOf || _instanceof({ @@ -7182,7 +9480,7 @@ var hiprint = function (t) { } return t.createPrintElementType = function (t) { - return t.type = t.type || "text", "text" == t.type ? new et(t) : "table" == t.type ? new h(t) : "tableCustom" == t.type ? new Z(t) : new j(t); + return t.type = t.type || "text", "text" == t.type ? new et(t) : "table" == t.type ? new h(t) : new j(t); }, t; }(), it = function () { @@ -7215,8 +9513,20 @@ var hiprint = function (t) { minMove: 4, onBeforeDrag: function onBeforeDrag(e) { s.a.instance.draging = !0; - var n = t.getElementType($(e.data.target).attr("tid"), $(e.data.target).attr("ptype")); - return s.a.instance.setDragingPrintElement(n.createPrintElement()), !0; + var tid = $(e.data.target).attr("tid"); + var n = t.getElementType(tid, $(e.data.target).attr("ptype")); + if (!n) { + throw new Error(`${i18n.__('请检查 hiprint.init 的 provider 是否配置了')} [${tid}]`); + return !1; + } + var ele = n.createPrintElement(); + if (!ele) { + if (n.type == 'tableCustom') { + throw new Error(`${i18n.__("已移除'tableCustom',请替换使用'table'详情见更新记录")}`); + return !1; + } + } + return s.a.instance.setDragingPrintElement(ele), !0; }, onDrag: function onDrag(t, e, n) { s.a.instance.getDragingPrintElement().updatePosition(e, n); @@ -7239,12 +9549,12 @@ var hiprint = function (t) { }(), rt = function () { return function (t) { - if (this.index = t.index, this.paperType = t.paperType, this.paperType) { + if (this.index = t.index, this.name = t.name, this.paperType = t.paperType, this.paperType) { var e = s.a.instance[this.paperType]; t.height ? (this.height = t.height, this.width = t.width) : (this.height = e.height, this.width = e.width); } else this.height = t.height, this.width = t.width; - this.paperHeader = t.paperHeader || 0, this.paperFooter = t.paperFooter || o.a.mm.toPt(this.height), this.printElements = t.printElements || [], this.paperNumberLeft = t.paperNumberLeft, this.paperNumberTop = t.paperNumberTop, this.paperNumberDisabled = t.paperNumberDisabled, this.paperNumberFormat = t.paperNumberFormat, this.panelPaperRule = t.panelPaperRule, this.panelPageRule = t.panelPageRule, this.rotate = t.rotate || void 0, this.firstPaperFooter = t.firstPaperFooter, this.evenPaperFooter = t.evenPaperFooter, this.oddPaperFooter = t.oddPaperFooter, this.lastPaperFooter = t.lastPaperFooter, this.topOffset = t.topOffset, this.fontFamily = t.fontFamily, this.leftOffset = t.leftOffset, this.orient = t.orient; + this.paperHeader = t.paperHeader || 0, this.paperFooter = t.paperFooter || o.a.mm.toPt(this.height), this.printElements = t.printElements || [], this.paperNumberLeft = t.paperNumberLeft, this.paperNumberTop = t.paperNumberTop, this.paperNumberDisabled = t.paperNumberDisabled, this.paperNumberContinue = t.paperNumberContinue, this.paperNumberFormat = t.paperNumberFormat, this.panelPaperRule = t.panelPaperRule, this.panelPageRule = t.panelPageRule, this.rotate = t.rotate || void 0, this.firstPaperFooter = t.firstPaperFooter, this.evenPaperFooter = t.evenPaperFooter, this.oddPaperFooter = t.oddPaperFooter, this.lastPaperFooter = t.lastPaperFooter, this.topOffset = t.topOffset, this.fontFamily = t.fontFamily, this.leftOffset = t.leftOffset, this.orient = t.orient, this.scale = t.scale, this.watermarkOptions= t.watermarkOptions, this.panelLayoutOptions = t.panelLayoutOptions; }; }(), at = function () { @@ -7252,8 +9562,15 @@ var hiprint = function (t) { this.bx = t, this.by = e, this.ex = t, this.ey = e, this.startX = this.minX = t, this.startY = this.minY = e, this.maxX = t, this.maxY = e, this.lastLeft = n, this.lastTop = i; } - return t.prototype.updateRect = function (t, e) { - this.ex = t, this.ey = e, this.minX = this.startX < t ? this.startX : t, this.minY = this.startY < e ? this.startY : e, this.maxX = this.startX < t ? t : this.startX, this.maxY = this.startY < e ? e : this.startY; + return t.prototype.updateRect = function (t, e, i) { + var scale = i.designPaper.scale||1.0 + this.ex = t + this.ey = e + this.minX = this.startX/scale < t/scale ? this.startX/scale : t/scale, + this.minY = this.startY/scale < e/scale ? this.startY/scale : e/scale, + this.maxX = this.startX/scale < t/scale ? t/scale : this.startX/scale, + this.maxY = this.startY/scale < e/scale ? e/scale : this.startY/scale; + }, t.prototype.updatePositionByMultipleSelect = function (t, e) { null != t && (this.lastLeft = this.lastLeft + t), null != e && (this.lastTop = this.lastTop + e), this.target.css({ left: this.lastLeft + "pt", @@ -7263,7 +9580,7 @@ var hiprint = function (t) { }(), pt = function () { function t(t, e) { - this.templateId = e, this.index = t.index, this.width = t.width, this.height = t.height, this.paperType = t.paperType, this.paperHeader = t.paperHeader, this.paperFooter = t.paperFooter, this.initPrintElements(t.printElements), this.paperNumberLeft = t.paperNumberLeft, this.paperNumberTop = t.paperNumberTop, this.paperNumberDisabled = t.paperNumberDisabled, this.paperNumberFormat = t.paperNumberFormat, this.panelPaperRule = t.panelPaperRule, this.panelPageRule = t.panelPageRule, this.firstPaperFooter = t.firstPaperFooter, this.evenPaperFooter = t.evenPaperFooter, this.oddPaperFooter = t.oddPaperFooter, this.lastPaperFooter = t.lastPaperFooter, this.topOffset = t.topOffset, this.leftOffset = t.leftOffset, this.fontFamily = t.fontFamily, this.orient = t.orient, this.target = this.createTarget(), this.rotate = t.rotate; + this.templateId = e, this.index = t.index, this.name = t.name, this.width = t.width, this.height = t.height, this.paperType = t.paperType, this.paperHeader = t.paperHeader, this.paperFooter = t.paperFooter, this.initPrintElements(t.printElements), this.paperNumberLeft = t.paperNumberLeft, this.paperNumberTop = t.paperNumberTop, this.paperNumberDisabled = t.paperNumberDisabled, this.paperNumberContinue = t.paperNumberContinue == void 0 ? true : t.paperNumberContinue, this.paperNumberFormat = t.paperNumberFormat, this.panelPaperRule = t.panelPaperRule, this.panelPageRule = t.panelPageRule, this.firstPaperFooter = t.firstPaperFooter, this.evenPaperFooter = t.evenPaperFooter, this.oddPaperFooter = t.oddPaperFooter, this.lastPaperFooter = t.lastPaperFooter, this.topOffset = t.topOffset, this.leftOffset = t.leftOffset, this.fontFamily = t.fontFamily, this.orient = t.orient, this.target = this.createTarget(), this.rotate = t.rotate, this.scale = t.scale, this.watermarkOptions = t.watermarkOptions || {}, this.panelLayoutOptions = t.panelLayoutOptions || {}; } return t.prototype.design = function (t) { @@ -7273,32 +9590,111 @@ var hiprint = function (t) { }), this.printElements.forEach(function (n) { e.appendDesignPrintElement(e.designPaper, n), n.design(t, e.designPaper); }), this.target.bind("click.hiprint", function (t) { + let panelOptions = { + panelPaperRule: e.panelPaperRule, + panelPageRule: e.panelPageRule, + firstPaperFooter: e.firstPaperFooter, + evenPaperFooter: e.evenPaperFooter, + oddPaperFooter: e.oddPaperFooter, + lastPaperFooter: e.lastPaperFooter, + leftOffset: e.leftOffset, + topOffset: e.topOffset, + panelLayoutOptions:e.panelLayoutOptions || {}, + fontFamily: e.fontFamily, + orient: e.orient, + paperNumberDisabled: e.paperNumberDisabled, + paperNumberContinue: e.paperNumberContinue, + paperNumberFormat: e.paperNumberFormat, + watermarkOptions: e.watermarkOptions || {}, + }; + if (!p.a.instance.paperNumberContinue) { + delete panelOptions['paperNumberContinue']; + } o.a.event.trigger("BuildCustomOptionSettingEventKey_" + e.templateId, { - options: { - panelPaperRule: e.panelPaperRule, - panelPageRule: e.panelPageRule, - firstPaperFooter: e.firstPaperFooter, - evenPaperFooter: e.evenPaperFooter, - oddPaperFooter: e.oddPaperFooter, - lastPaperFooter: e.lastPaperFooter, - leftOffset: e.leftOffset, - topOffset: e.topOffset, - fontFamily: e.fontFamily, - orient: e.orient, - paperNumberDisabled: e.paperNumberDisabled, - paperNumberFormat: e.paperNumberFormat - }, + options: panelOptions, callback: function callback(t) { - e.panelPaperRule = t.panelPaperRule, e.panelPageRule = t.panelPageRule, e.firstPaperFooter = t.firstPaperFooter, e.evenPaperFooter = t.evenPaperFooter, e.oddPaperFooter = t.oddPaperFooter, e.lastPaperFooter = t.lastPaperFooter, e.leftOffset = t.leftOffset, e.topOffset = t.topOffset, e.fontFamily = t.fontFamily, e.orient = t.orient, e.paperNumberDisabled = e.designPaper.paperNumberDisabled = !!t.paperNumberDisabled || void 0, e.paperNumberFormat = t.paperNumberFormat, e.designPaper.setOffset(e.leftOffset, e.topOffset), e.css(e.target), e.designPaper.resetPaperNumber(e.designPaper.paperNumberTarget), e.designPaper.triggerOnPaperBaseInfoChanged(); + e.panelLayoutOptions = t.panelLayoutOptions || {},e.watermarkOptions = t.watermarkOptions || void 0, (t.watermarkOptions && e.designPaper.createWaterMark(true, 1, t.watermarkOptions)) + e.panelPaperRule = t.panelPaperRule, e.panelPageRule = t.panelPageRule, e.firstPaperFooter = t.firstPaperFooter, e.evenPaperFooter = t.evenPaperFooter, e.oddPaperFooter = t.oddPaperFooter, e.lastPaperFooter = t.lastPaperFooter, e.leftOffset = t.leftOffset, e.topOffset = t.topOffset, e.fontFamily = t.fontFamily, e.orient = t.orient, e.paperNumberDisabled = e.designPaper.paperNumberDisabled = !!t.paperNumberDisabled || void 0, e.paperNumberContinue = e.designPaper.paperNumberContinue = t.paperNumberContinue, e.paperNumberFormat = t.paperNumberFormat, e.designPaper.paperNumberFormat = t.paperNumberFormat, (t.paperNumberFormat && (e.designPaper.paperNumberTarget = e.designPaper.createPaperNumber(e.designPaper.formatPaperNumber(1, 1), true))), e.designPaper.setOffset(e.leftOffset, e.topOffset), e.css(e.target), e.designPaper.resetPaperNumber(e.designPaper.paperNumberTarget), e.designPaper.triggerOnPaperBaseInfoChanged(); } }); - }), this.bingPasteEvent(); this.bindBatchMoveElement(); + }), this.bindShortcutKeyEvent(); + this.bingPasteEvent(); + this.bindBatchMoveElement(); + }, t.prototype.update = function (t) { + try { + var start = Date.now(); + console.log('start', start) + var e = this; + this.index = t.index, this.name = t.name, this.width = t.width, this.height = t.height, this.paperType = t.paperType, this.paperHeader = t.paperHeader, this.paperFooter = t.paperFooter; + this.designPaper.width = o.a.mm.toPt(t.width), this.designPaper.height = o.a.mm.toPt(this.height), this.designPaper.paperType = this.paperType, this.designPaper.paperHeader = this.paperHeader, this.designPaper.paperFooter = this.paperFooter; + this.designPaper.mmheight = t.height, this.designPaper.mmwidth = t.width; + // 页眉线 + this.designPaper.headerLinetarget.css("top", (this.paperHeader || -1) + "pt"), + 0 == this.paperHeader && this.designPaper.headerLinetarget.addClass("hideheaderLinetarget"); + // 页脚线 + this.designPaper.footerLinetarget.css("top", parseInt(this.paperFooter.toString()) + "pt"), + this.paperFooter == this.height && (this.designPaper.footerLinetarget.css("top", t.height - p.a.instance.paperHeightTrim + "mm")); + // 水印参数 + this.watermarkOptions = t.watermarkOptions || {}; + this.designPaper.createWaterMark(true, this.index, this.watermarkOptions); + // 页码 + this.paperNumberLeft = t.paperNumberLeft, this.paperNumberTop = t.paperNumberTop, this.paperNumberDisabled = t.paperNumberDisabled, this.paperNumberContinue = t.paperNumberContinue, this.paperNumberFormat = t.paperNumberFormat; + this.designPaper.paperNumberLeft = this.paperNumberLeft, this.designPaper.paperNumberTop = this.paperNumberTop, this.designPaper.paperNumberDisabled = this.paperNumberDisabled, this.designPaper.paperNumberContinue = this.paperNumberContinue, this.designPaper.paperNumberFormat = this.paperNumberFormat; + this.designPaper.paperNumberTarget.css("top", this.paperNumberTop + "pt").css("left", this.paperNumberLeft + "pt"), this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget); + // 字体方向 + this.fontFamily = t.fontFamily, this.orient = t.orient, this.rotate = t.rotate, this.scale = t.scale; + this.designPaper.fontFamily = this.fontFamily, this.designPaper.orient = this.orient, this.designPaper.scale = e.designPaper.scale || this.scale; + // 面板参数 + this.panelLayoutOptions = t.panelLayoutOptions, this.panelPaperRule = t.panelPaperRule, this.panelPageRule = t.panelPageRule, this.firstPaperFooter = t.firstPaperFooter, this.evenPaperFooter = t.evenPaperFooter, + this.oddPaperFooter = t.oddPaperFooter, this.lastPaperFooter = t.lastPaperFooter, this.topOffset = t.topOffset, this.leftOffset = t.leftOffset; + this.designPaper.setFooter(this.firstPaperFooter, this.evenPaperFooter, this.oddPaperFooter, this.lastPaperFooter), + this.designPaper.setOffset(this.leftOffset, this.topOffset); + var end = Date.now(); + console.log('更新参数 end', end) + console.log('更新参数 time:', end - start) + // 清空面板 + this.printElements.forEach(function (t) { + t.designTarget && t.designTarget.length && t.designTarget.remove(); + }), this.printElements = []; + var end = Date.now(); + console.log('清空面板 end', end) + console.log('清空面板 time:', end - start) + // 更新面板 + this.initPrintElements(t.printElements); + var end = Date.now(); + console.log('初始化元素 end', end) + console.log('初始化元素 time:', end - start) + this.printElements.forEach(function (n) { + e.appendDesignPrintElement(e.designPaper, n), n.design(t, e.designPaper); + }) + var end = Date.now(); + console.log('插入面板 end', end) + console.log('插入面板 time:', end - start) + } catch (e) { + console.log('???????') + console.log(e) + } + }, t.prototype.bindShortcutKeyEvent = function () { + var n = this; + $(document).keydown(function (e) { + if ('INPUT' == e.target.tagName) return; + // ctrl/command + z 撤销 / ctrl/command + shift + z 重做 + if ((e.ctrlKey || e.metaKey) && 90 == e.keyCode) { + if (e.shiftKey) { + o.a.event.trigger("hiprintTemplateDataShortcutKey_" + n.templateId, "redo"); + } else { + o.a.event.trigger("hiprintTemplateDataShortcutKey_" + n.templateId, "undo"); + } + e.preventDefault(); + } + }); }, t.prototype.bingPasteEvent = function () { var n = this; n.designPaper.target.attr("tabindex", "1"); n.designPaper.target.keydown(function (e) { // ctrl + v / command + v - if ((e.ctrlKey || e.metaKey ) && 86 == e.keyCode) { + if ('INPUT' == e.target.tagName) return; + if ((e.ctrlKey || e.metaKey) && 86 == e.keyCode) { n.pasteJson(e); e.preventDefault(); } @@ -7308,68 +9704,140 @@ var hiprint = function (t) { if (!copyArea.length) return; try { var json = copyArea.text(); - var obj = JSON.parse(json); - if (!obj.printElementType && !obj.templateId) return; - // 复制使用当前模板内的元素 进行克隆 - // todo: 使用参数创建 - var n = this, r = obj.options, ele = n.getElementById(obj.id); - if (!ele) return; - var a = ele.clone(obj); - if (!a) return; - // 判断是否是在元素上进行paste - var useMouse = e.currentTarget.className != e.target.className; - var left = (!useMouse && n.mouseOffsetX && o.a.px.toPt(n.mouseOffsetX)) || (r.left += 10); - var top = (!useMouse &&n.mouseOffsetY && o.a.px.toPt(n.mouseOffsetY)) || (r.top += 10); - a.options.setLeft(left); - a.options.setTop(top); - a.setTemplateId(n.templateId), a.setPanel(n); - n.appendDesignPrintElement(n.designPaper, a, !1); - n.printElements.push(a), a.design(void 0, n.designPaper); - console.log('pasteJson success'); - // 点击克隆出来的元素 - a.designTarget.children('.resize-panel').trigger($.Event('click')); + var objList = JSON.parse(json); + let operationPasterPosition = null + let replacePosition = null + var left = null + var top = null + objList.forEach((obj,index) => { + if (!obj.printElementType && !obj.templateId) return; + // 复制使用当前模板内的元素 进行克隆 + // todo: 使用参数创建 + var n = this, r = obj.options, ele = n.getElementById(obj.id); + if (!ele) return; + var a = ele.clone(obj); + if (!a) return; + // 判断是否是在元素上进行paste + if(index === 0){ + operationPasterPosition = { + x: obj.options.left, + y: obj.options.top + } + var useMouse = e.currentTarget.className != e.target.className; + left = (!useMouse && n.mouseOffsetX && o.a.px.toPt(n.mouseOffsetX)) || (r.left += 10); + top = (!useMouse && n.mouseOffsetY && o.a.px.toPt(n.mouseOffsetY)) || (r.top += 10); + replacePosition = { + x: left, + y: top + } + }else{ + const position = { + x: obj.options.left, + y: obj.options.top + } + const incrementPosition = { + x: position.x - operationPasterPosition.x, + y: position.y - operationPasterPosition.y + } + left = replacePosition.x + incrementPosition.x + top = replacePosition.y + incrementPosition.y + + } + a.options.setLeft(left); + a.options.setTop(top); + a.setTemplateId(n.templateId), a.setPanel(n); + n.appendDesignPrintElement(n.designPaper, a, !1); + // 在复制的地方也重新给他算轮次 + const template = s.a.instance.getPrintTemplateById(n.templateId) + if(a.options.field && template.qtDesigner){ + a.options.qid = template.qtDesignderFunction(a.options.field) + } + n.printElements.push(a), a.design(void 0, n.designPaper); + console.log('pasteJson success'); + o.a.event.trigger("hiprintTemplateDataChanged_" + n.templateId, "复制"); + // 点击克隆出来的元素 + a.designTarget.children('.resize-panel').trigger($.Event('click')); + }) } catch (e) { console.error('pasteJson error', e); } }, t.prototype.css = function (t) { - this.fontFamily && t.css("fontFamily", this.fontFamily); + if (this.fontFamily) t.css("fontFamily", this.fontFamily); + else t[0].style.fontFamily = ''; + }, t.prototype.getConfig = function () { + return p.a.instance; }, t.prototype.getHtml = function (t, e, n, i, o) { var r = this; this.orderPrintElements(); + let config = r.getConfig(); var a, p = n || [], s = i || this, l = void 0; - if (i ? (l = p[p.length - 1], a = l.getPanelTarget(), l.updateReferenceElement(new E.a({ - top: this.paperHeader, - left: 0, - height: 0, - width: 0, - bottomInLastPaper: l.referenceElement.bottomInLastPaper, - beginPrintPaperIndex: p.length - 1, - printTopInPaper: l.referenceElement.bottomInLastPaper, - endPrintPaperIndex: p.length - 1 - }))) : (a = s.createTarget(), l = s.createNewPage(p.length), p.push(l), a.append(l.getTarget())), this.printElements.filter(function (t) { + if (i) { + l = p[p.length - 1]; + a = l.getPanelTarget(); + l.updateReferenceElement(new E.a({ + top: this.paperHeader, + left: 0, + height: 0, + width: 0, + bottomInLastPaper: l.referenceElement.bottomInLastPaper, + beginPrintPaperIndex: p.length - 1, + printTopInPaper: l.referenceElement.bottomInLastPaper, + endPrintPaperIndex: p.length - 1 + })); + } else { + a = s.createTarget(); + l = s.createNewPage(p.length); + p.push(l); + a.append(l.getTarget()); + } + this.printElements.filter(function (t) { return !t.isFixed() && !t.isHeaderOrFooter(); }).forEach(function (e) { var n = [], i = p[p.length - 1]; - i.referenceElement.isPositionLeftOrRight(e.options.getTop()) ? (l = p[i.referenceElement.beginPrintPaperIndex], n = e.getHtml(l, t)) : (l = p[i.referenceElement.endPrintPaperIndex], n = e.getHtml(l, t)); + if (i.referenceElement.isPositionLeftOrRight(e.options.getTop())) { + l = p[i.referenceElement.beginPrintPaperIndex]; + } else { + l = p[i.referenceElement.endPrintPaperIndex]; + } + n = e.getHtml(l, t) n.forEach(function (t, i) { t.referenceElement && (t.referenceElement.endPrintPaperIndex = t.referenceElement.beginPrintPaperIndex + n.length - 1); - // 不分页时,不创建新page 后面调整了,好像不添加也行... - "none" != r.panelPageRule && i > 0 && (l.index < p.length - 1 ? l = p[l.index + 1] : (l = s.createNewPage(p.length, l.referenceElement), p.push(l)), a.append(l.getTarget())); - t.target && (l.append(t.target), l.updatePrintLine(t.printLine), e.onRendered(l, t.target)); + if (i > 0) { + if (l.index < p.length - 1) { + l = p[l.index + 1]; + } else { + l = s.createNewPage(p.length, l.referenceElement); + p.push(l) + } + a.append(l.getTarget()); + } + // 元素隐藏时不添加到html内 + t.target && (("none" != e.options.showInPage && l.append(t.target)), l.updatePrintLine(t.printLine), e.onRendered(l, t.target)); i == n.length - 1 && t.referenceElement && l.updateReferenceElement(t.referenceElement); }); - }), o && o.templates.forEach(function (t, e) { + }); + o && o.templates.forEach(function (t, e) { var i = t.data || {}, o = t.options || {}; t.template.printPanels.forEach(function (t) { t.getHtml(i, o, n, r); }); - }), !i) { + }); + // config 是否开启页码续排 + if (config.paperNumberContinue) { + // 面板是否页码续排 + if (r.paperNumberContinue) { + hinnn._paperList = [...(hinnn._paperList||[]),...p]; + } else { + hinnn._paperList = [...p]; + } + } + if (!i) { if (this.lastPaperFooter) p[p.length - 1].printLine > this.lastPaperFooter && (l = s.createNewPage(p.length, l.referenceElement), p.push(l), a.append(l.getTarget())); // 这里是处理奇偶页设置 this.panelPaperRule && ("odd" == this.panelPaperRule && p.length % 2 == 0 && (l = s.createNewPage(p.length, l.referenceElement), p.push(l), a.append(l.getTarget())), "even" == this.panelPaperRule && p.length % 2 == 1 && (l = s.createNewPage(p.length, l.referenceElement), p.push(l), a.append(l.getTarget()))); @@ -7377,6 +9845,12 @@ var hiprint = function (t) { n.updatePaperNumber(n.index + 1, p.length, e.paperNumberToggleInEven), r.fillPaperHeaderAndFooter(n, t, p.length), e && (null != e.leftOffset && n.setLeftOffset(e.leftOffset), null != e.topOffset && n.setTopOffset(e.topOffset)); }); a.prepend(this.getPrintStyle()); + // config 是否开启页码续排 + if (config.paperNumberContinue) { + hinnn._paperList.forEach(function (n, index) { + n.updatePaperNumber(index + 1, hinnn._paperList.length) + }); + } } return a; @@ -7384,6 +9858,13 @@ var hiprint = function (t) { this.width = e, this.height = n, this.paperType = t, this.rotate = i, this.designPaper.resize(e, n); }, t.prototype.rotatePaper = function () { null == this.rotate && (this.rotate = !1), this.rotate = !this.rotate, this.resize(this.paperType, this.height, this.width, this.rotate); + }, t.prototype.zoom = function (s, p) { + if (p) { + this.scale = s + } else { + this.scale = void 0 + } + this.designPaper.zoom(s); }, t.prototype.getTarget = function () { return this.target; }, t.prototype.enable = function () { @@ -7396,12 +9877,14 @@ var hiprint = function (t) { e.push(n.getPrintElementEntity(t)); }), new rt({ index: this.index, + name: this.name || this.index + 1, width: this.width, height: this.height, paperType: this.paperType, paperHeader: this.paperHeader, paperFooter: this.paperFooter, paperNumberDisabled: !!this.paperNumberDisabled || void 0, + paperNumberContinue: this.paperNumberContinue == void 0 ? !0 : this.paperNumberContinue, paperNumberFormat: this.paperNumberFormat ? this.paperNumberFormat : void 0, panelPaperRule: this.panelPaperRule ? this.panelPaperRule : void 0, panelPageRule: this.panelPageRule ? this.panelPageRule : void 0, @@ -7416,7 +9899,10 @@ var hiprint = function (t) { topOffset: this.topOffset, fontFamily: this.fontFamily, orient: this.orient, - leftOffset: this.leftOffset + scale: this.scale, + watermarkOptions: this.watermarkOptions ? this.watermarkOptions : void 0, + leftOffset: this.leftOffset, + panelLayoutOptions: this.panelLayoutOptions || {} }); }, t.prototype.createTarget = function () { var t = $('
        '); @@ -7426,11 +9912,20 @@ var hiprint = function (t) { t.getTarget().hidroppable({ accept: ".ep-draggable-item", onDrop: function onDrop(n, i) { + const template = s.a.instance.getPrintTemplateById(e.templateId) var r = s.a.instance.getDragingPrintElement(), a = r.printElement; - a.updateSizeAndPositionOptions(e.mathroundToporleft(r.left - o.a.px.toPt(e.target.offset().left)), e.mathroundToporleft(r.top - o.a.px.toPt(e.target.offset().top))); + var ptr = e.designPaper.scale || 1; + var left = (r.left - o.a.px.toPt(e.target.children(".hiprint-printPaper").offset().left)) / ptr, + top = (r.top - o.a.px.toPt(e.target.children(".hiprint-printPaper").offset().top)) / ptr; + a.updateSizeAndPositionOptions(e.mathroundToporleft(left), e.mathroundToporleft(top)); a.setTemplateId(e.templateId), a.setPanel(e), e.appendDesignPrintElement(e.designPaper, a, !0); + // 如果说编辑器开启qtDesigner,那么就将唯一ID构建唯一ID生成逻辑代码 + if(a.options.field && template.qtDesigner){ + a.options.qid = template.qtDesignderFunction(a.options.field) + } e.printElements.push(a), a.design(void 0, t); + o.a.event.trigger("hiprintTemplateDataChanged_" + e.templateId, "新增"); } }); }, t.prototype.initPrintElements = function (t) { @@ -7451,7 +9946,7 @@ var hiprint = function (t) { var i = e.getDesignTarget(t); i.addClass("design"), n && e.initSizeByHtml(i), t.append(i); }, t.prototype.createNewPage = function (t, e) { - var n = new T(this.templateId, this.panelPageRule, this.width, this.height, this.paperHeader, this.paperFooter, this.paperNumberLeft, this.paperNumberTop, this.paperNumberDisabled, this.paperNumberFormat, t, e); + var n = new T(this.templateId, this.index, this.watermarkOptions, this.panelPageRule, this.scale, this.width, this.height, this.paperHeader, this.paperFooter, this.paperNumberLeft, this.paperNumberTop, this.paperNumberDisabled, this.paperNumberContinue, this.paperNumberFormat, t, e); return n.setFooter(this.firstPaperFooter, this.evenPaperFooter, this.oddPaperFooter, this.lastPaperFooter), n.setOffset(this.leftOffset, this.topOffset), n; }, t.prototype.orderPrintElements = function () { this.printElements = o.a.orderBy(this.printElements, function (t) { @@ -7472,6 +9967,7 @@ var hiprint = function (t) { this.printElements.forEach(function (t) { t.designTarget && t.designTarget.length && t.designTarget.remove(); }), this.printElements = []; + o.a.event.trigger("hiprintTemplateDataChanged_" + this.templateId, "清空"); }, t.prototype.insertPrintElementToPanel = function (t) { var e = this.getPrintElementTypeByEntity(t); @@ -7506,9 +10002,23 @@ var hiprint = function (t) { var e; return (e = t.tid ? a.instance.getElementType(t.tid) : nt.createPrintElementType(t.printElementType)) || console.log("miss " + JSON.stringify(t)), e; }, t.prototype.getPrintStyle = function () { - return " \n "; + let layoutStyle = '' + if(this.panelLayoutOptions && this.panelLayoutOptions['layoutType'] === 'row'){ + layoutStyle = ` + + ` + } + return layoutStyle + " \n"; }, t.prototype.getPrintSizeStyle = function () { - return this.paperType ? "size:" + this.paperType + " " + (this.height > this.width ? "portrait" : "landscape") + ";" : "size: " + this.width + "mm " + this.height + "mm " + (this.orient ? 1 == this.orient ? "portrait" : "landscape" : "portrait") + ";"; + return this.paperType ? "size:" + this.paperType + " " + (this.height > this.width ? "portrait" : "landscape") + ";" : "size: " + this.width + "mm " + this.height + "mm " + (this.orient ? 1 == this.orient ? "portrait" : "landscape" : "") + ";"; }, t.prototype.deletePrintElement = function (t) { var e = this; this.printElements.filter(function (n, i) { @@ -7535,79 +10045,110 @@ var hiprint = function (t) { return this.printElements.forEach(function (e) { e.options && e.options.field ? t.push(e.options.field) : e.printElementType.field && t.push(e.printElementType.field); }), t; + }, t.prototype.getTestData = function () { + var t = {}; + return this.printElements.forEach(function (e) { + if ("table" != e.printElementType.type) { + e.options && e.options.field ? t[e.options.field] = e.options.testData : e.printElementType.field ? t[e.printElementType.field] = e.printElementType.data || e.options.testData : void 0; + } + }), t; }, t.prototype.bindBatchMoveElement = function () { var t = this; this.designPaper.getTarget().on("mousemove", function (e) { + if ((e.target.className && _typeof(e.target.className) == "string" && (e.target.className.includes("editing")))) { + return; + } if (e.currentTarget.className == t.designPaper.target[0].className) { t.mouseOffsetX = e.offsetX, t.mouseOffsetY = e.offsetY; } else { t.mouseOffsetX = t.mouseOffsetY = void 0; } - s.a.instance.draging || 1 === e.buttons && (t.mouseRect && (t.mouseRect.updateRect(e.pageX, e.pageY), t.updateRectPanel(t.mouseRect))); + s.a.instance.draging || 1 === e.buttons && s.a.instance.rectDraging && (t.mouseRect && (t.mouseRect.updateRect(e.pageX, e.pageY, t), t.updateRectPanel(t.mouseRect))); }).on("mousedown", function (e) { - s.a.instance.draging || (t.mouseRect && t.mouseRect.target && t.mouseRect.target.remove(), 1 === e.buttons && (t.mouseRect = new at(e.pageX, e.pageY, s.a.instance.dragLengthCNum(e.pageX - t.designPaper.getTarget().offset().left, p.a.instance.movingDistance), s.a.instance.dragLengthCNum(e.pageY - t.designPaper.getTarget().offset().top, p.a.instance.movingDistance)))); + s.a.instance.rectDraging = true; + if ((e.target.className && _typeof(e.target.className) == "string" && (e.target.className.includes("editing")))) { + return; + } + s.a.instance.draging || (t.mouseRect && t.mouseRect.target && t.mouseRect.target.remove(), 1 === e.buttons && _typeof(e.target.className) == "string" && e.target.className.includes("hiprint-printPaper hidroppable design") && (t.mouseRect = new at(e.pageX, e.pageY, s.a.instance.dragLengthCNum(e.pageX - t.designPaper.getTarget().offset().left, p.a.instance.movingDistance), s.a.instance.dragLengthCNum(e.pageY - t.designPaper.getTarget().offset().top, p.a.instance.movingDistance)))); + }).on("mouseup", function (e) { + s.a.instance.rectDraging = false; }); }, t.prototype.getElementInRect = function (t) { var e = []; - return this.printElements.forEach(function (n) { + return this.printElements.filter(function (n) { + return n.options.draggable !== false; + }).forEach(function (n) { n.inRect(t) && e.push(n); }), e; }, t.prototype.updateRectPanel = function (t) { var e = this, n = this.designPaper.getTarget(); - this.mouseRect.target || (this.mouseRect.target = $('
        '), n.find(".hiprint-printPaper-content").append(this.mouseRect.target), this.bingKeyboardMoveEvent(this.mouseRect.target), this.mouseRect.target.hidraggable({ + var ptr = this.designPaper.scale || 1; + this.mouseRect.target || (this.mouseRect.target = $('
        '), n.find(".hiprint-printPaper-content").append(this.mouseRect.target), this.bingKeyboardMoveEvent(this.mouseRect.target), this.mouseRect.target.hidraggable({ onDrag: function onDrag(t, n, i) { - e.mouseRect.target.css({ - transform: 'unset' - }), - e.mouseRect.lastLeft = e.mouseRect.lastLeft ? o.a.px.toPt(e.mouseRect.target[0].offsetLeft) : n, e.mouseRect.lastTop = e.mouseRect.lastTop ? o.a.px.toPt(e.mouseRect.target[0].offsetTop) : i + e.mouseRect.lastLeft = e.mouseRect.lastLeft ? o.a.px.toPt(e.mouseRect.target[0].offsetLeft) : n / ptr, e.mouseRect.lastTop = e.mouseRect.lastTop ? o.a.px.toPt(e.mouseRect.target[0].offsetTop) : i / ptr , (e.mouseRect.mouseRectSelectedElement || []).forEach(function (t) { - t.updatePositionByMultipleSelect(n - e.mouseRect.lastLeft, i - e.mouseRect.lastTop); - }), e.mouseRect.lastLeft = n, e.mouseRect.lastTop = i; + t.updatePositionByMultipleSelect(n - e.mouseRect.lastLeft, i - e.mouseRect.lastTop); + }), + e.mouseRect.lastLeft = n / ptr, + e.mouseRect.lastTop = i / ptr, + s.a.instance.changed = !0; }, moveUnit: "pt", minMove: p.a.instance.movingDistance, onBeforeDrag: function onBeforeDrag(t) { e.mouseRect.target.focus(), s.a.instance.draging = !0, e.mouseRect.mouseRectSelectedElement || (e.mouseRect.mouseRectSelectedElement = e.getElementInRect(e.mouseRect)); + e.mouseRect.target.css({ + transform: 'unset' + }); + }, + getScale: function getScale() { + return e.designPaper.scale || 1; }, onStopDrag: function onStopDrag(t) { + if (s.a.instance.changed) o.a.event.trigger("hiprintTemplateDataChanged_" + n.templateId, "框选移动"); s.a.instance.draging = !1; + s.a.instance.changed = !1; } })) if (t.ex >= t.bx && t.ey >= t.by) {// 终点大于起点 this.mouseRect.target.css({ height: t.maxY - t.minY + "px", width: t.maxX - t.minX + "px", - left: t.lastLeft + "pt", - top: t.lastTop + "pt", + left: t.lastLeft / ptr + "pt", + top: t.lastTop / ptr + "pt", transform: 'unset', }); } else if (t.ex < t.bx && t.ey < t.by) { - this.mouseRect.target.css({ - height: t.maxY - t.minY + "px", - width: t.maxX - t.minX + "px", - left: t.lastLeft + "pt", - top: t.lastTop + "pt", - transform: 'rotate(180deg)', - 'transform-origin': '0 0' - }); - } else { - var r = '',f = 'rotate(180deg)'; - if (t.startX == t.minX || t.startX == t.maxX) { - if (t.ey >= t.by) {f = 'scaleX(-1)',r = 'left'} else {r = 'center top'} - } else if (t.startY == t.minY || t.startY == t.maxY) { - r = t.ex >= t.bx ? 'right' : 'left' - } this.mouseRect.target.css({ height: t.maxY - t.minY + "px", width: t.maxX - t.minX + "px", - left: t.lastLeft + "pt", - top: t.lastTop + "pt", - transform: f, - 'transform-origin': r + left: t.lastLeft / ptr + "pt", + top: t.lastTop / ptr + "pt", + transform: 'rotate(180deg)', + 'transform-origin': '0 0' + }); + // 左下角 + } else if (t.ex < t.bx && t.ey >t.by){ + this.mouseRect.target.css({ + height: t.maxY - t.minY + "px", + width: t.maxX - t.minX + "px", + left: t.lastLeft / ptr + "pt", + top: t.lastTop / ptr + "pt", + transform: 'rotateY(180deg)', + 'transform-origin': '0 0' + }); + } else if (t.ex > t.bx && t.ey < t.by){ + this.mouseRect.target.css({ + height: t.maxY - t.minY + "px", + width: t.maxX - t.minX + "px", + left: t.lastLeft / ptr + "pt", + top: t.lastTop / ptr + "pt", + transform: 'rotateX(180deg)', + 'transform-origin': '0 0' }); } - t.target.focus() + t.target.focus() }, t.prototype.bingKeyboardMoveEvent = function (t) { var e = this; t.attr("tabindex", "1"), t.keydown(function (t) { @@ -7615,28 +10156,31 @@ var hiprint = function (t) { var n = e.mouseRect.mouseRectSelectedElement || []; switch (t.keyCode) { - case 37: - e.mouseRect.updatePositionByMultipleSelect(0 - p.a.instance.movingDistance, 0), n.forEach(function (t) { - t.updatePositionByMultipleSelect(0 - p.a.instance.movingDistance, 0); - }), t.preventDefault(); - break; + case 37: + e.mouseRect.updatePositionByMultipleSelect(0 - p.a.instance.movingDistance, 0), n.forEach(function (t) { + t.updatePositionByMultipleSelect(0 - p.a.instance.movingDistance, 0); + }), t.preventDefault(); + break; - case 38: - e.mouseRect.updatePositionByMultipleSelect(0, 0 - p.a.instance.movingDistance), n.forEach(function (t) { - t.updatePositionByMultipleSelect(0, 0 - p.a.instance.movingDistance); - }), t.preventDefault(); - break; + case 38: + e.mouseRect.updatePositionByMultipleSelect(0, 0 - p.a.instance.movingDistance), n.forEach(function (t) { + t.updatePositionByMultipleSelect(0, 0 - p.a.instance.movingDistance); + }), t.preventDefault(); + break; - case 39: - e.mouseRect.updatePositionByMultipleSelect(p.a.instance.movingDistance, 0), n.forEach(function (t) { - t.updatePositionByMultipleSelect(p.a.instance.movingDistance, 0); - }), t.preventDefault(); - break; + case 39: + e.mouseRect.updatePositionByMultipleSelect(p.a.instance.movingDistance, 0), n.forEach(function (t) { + t.updatePositionByMultipleSelect(p.a.instance.movingDistance, 0); + }), t.preventDefault(); + break; - case 40: - e.mouseRect.updatePositionByMultipleSelect(0, p.a.instance.movingDistance), n.forEach(function (t) { - t.updatePositionByMultipleSelect(0, p.a.instance.movingDistance); - }), t.preventDefault(); + case 40: + e.mouseRect.updatePositionByMultipleSelect(0, p.a.instance.movingDistance), n.forEach(function (t) { + t.updatePositionByMultipleSelect(0, p.a.instance.movingDistance); + }), t.preventDefault(); + } + if ([37, 38, 39, 40].includes(t.keyCode)) { + o.a.event.trigger("hiprintTemplateDataChanged_" + e.templateId, "框选移动"); } }); }, t; @@ -7667,44 +10211,151 @@ var hiprint = function (t) { return t.prototype.init = function () { }, t.prototype.clearSettingContainer = function () { - this.lastPrintElement && this.lastPrintElement.getPrintElementOptionItems().forEach(function (t) { - t.destroy(); - }); - this.lastPrintElement = void 0, this.settingContainer.html(""); + this.clearLastPrintElement(), this.settingContainer.html(""); + }, t.prototype.clearLastPrintElement = function () { + if (this.lastPrintElement) { + if (this.lastPrintElement._editing) { + this.lastPrintElement.updateByContent(true); + } + if (this.lastPrintElement._printElementOptionTabs) { + this.lastPrintElement._printElementOptionTabs.forEach(function (t) { + t.list && t.list.forEach(function (e) { + e.destroy(); + }) + }) + } + if (this.lastPrintElement._printElementOptionItems) { + this.lastPrintElement._printElementOptionItems.forEach(function (t) { + t.destroy(); + }) + } + } + this.lastPrintElement = void 0; }, t.prototype.buildSetting = function (t) { var e = this, n = this, i = t.printElement, o = t.customOptionsInput; + var tabs = i.getPrintElementOptionTabs(); e.clearSettingContainer(); - var r = $('
        '); - i.getPrintElementOptionItems().forEach(function (t) { - t.submit = function (t) { - i.submitOption(); - }; - - var n = t.createTarget(i, i.options, i.printElementType); - e.printElementOptionSettingPanel[t.name] = n, r.append(n); - // 貌似只有这两个才需要多个参数 - if (['columns','dataType'].includes(t.name)) { - t.setValue(i.options[t.name], i.options, i.printElementType); - } else { - // options 没有就取 printElementType内的 (如 table 的 footerFormatter) - t.setValue(i.options[t.name] || i.printElementType[t.name]) + var r; + if (tabs.length) { + r = $('
          '); + tabs.forEach(function (tab) { + var item = $('
        • ' + i18n.__(tab.name) + '
        • ') + r.find('.prop-tab-items').append(item) + var options = $('
          ') + tab.list.forEach(function (t) { + t.submit = function (t) { + i.submitOption(); + }; + var n = t.createTarget(i, i.options, i.printElementType); + e.printElementOptionSettingPanel[t.name] = n, options.append(n); + // 貌似只有这两个才需要多个参数 + if (['columns', 'dataType'].includes(t.name)) { + t.setValue(i.options[t.name], i.options, i.printElementType); + } else { + // 传入所有参数 + if (['coordinate', 'widthHeight'].includes(t.name)) { + t.setValue(i.options, i) + } else { + // options 没有就取 printElementType内的 (如 table 的 footerFormatter) + t.setValue(i.options[t.name] || i.printElementType[t.name]) + } + } + n.find("textarea").bind("dblclick.textarea", function (event) { + if (!$(this).val()) { + var placeholder = event.target.placeholder || ""; + $(this).val(placeholder); + }; + }); + }) + if (tab.list.length == 0 && o && o.length) { + o.forEach(function (t) { + var n2 = t.callback; + t.callback = function (t) { + n2 && (n2(t)); + }; + var tableColumn = t.optionItems; + t.title && options.append('
          \n
          \n ' + t.title + "\n
          \n
          "); + tableColumn.forEach(function (e) { + e.submit = function (e) { + t.callback(n.getValueByOptionItems(tableColumn)); + }, options.append(e.createTarget(n.printTemplate, t.options, void 0)), + e.setValue(t.options[e.name], t.options, void 0); + }); + options.find('.auto-submit').change(function () { + t.callback(n.getValueByOptionItems(tableColumn)) + }) + options.find('.auto-submit:input').bind('keydown.submitOption', function (e) { + 13 === e.keyCode && t.callback(n.getValueByOptionItems(tableColumn)); + }) + options.find("textarea").bind("dblclick.textarea", function (event) { + if (!$(this).val()) { + var placeholder = event.target.placeholder || ""; + $(this).val(placeholder); + }; + }); + }) + } + r.append(options) + }) + } else { + r = $('
          ') + i.getPrintElementOptionItems().forEach(function (t) { + t.submit = function (t) { + i.submitOption(); + }; + + var n = t.createTarget(i, i.options, i.printElementType); + e.printElementOptionSettingPanel[t.name] = n, r.append(n); + // 貌似只有这两个才需要多个参数 + if (['columns', 'dataType'].includes(t.name)) { + t.setValue(i.options[t.name], i.options, i.printElementType); + } else { + // 传入所有参数 + if (['coordinate', 'widthHeight'].includes(t.name)) { + t.setValue(i.options, i) + } else { + // options 没有就取 printElementType内的 (如 table 的 footerFormatter) + t.setValue(i.options[t.name] || i.printElementType[t.name]) + } + } + }); + } + var a = $(``), + p = $(``); + r.append(a); + i.options.draggable != false && r.append(p); // draggable 为 false 时不显示参数面板 删除 按钮 + if (tabs.length) { + r.on('click', '.prop-tab-item', function () { + var $li = $(this); + var index = $li.index(); + // 上次点击tab的index + e.settingContainer.data('last-index', index); + $li.addClass('active'); + $li.siblings().removeClass('active'); + var options = r.find('.hiprint-option-items:eq(' + index + ')'); + options.addClass('active') + options.siblings().removeClass('active'); + }) + var lastIndex = +(e.settingContainer.data('last-index') || 0); + if (lastIndex >= tabs.length) { + lastIndex = 0; } - }); - var a = $(''), - p = $(''); - r.append(a), r.append(p), a.bind("click.submitOption", function () { + r.find('.prop-tab-item:eq(' + lastIndex + ')').click(); + } + a.bind("click.submitOption", function () { i.submitOption(); }), p.bind("click.deleteBtn", function () { + hinnn.event.trigger("hiprintTemplateDataChanged_" + i.templateId, "删除"); n.printTemplate.deletePrintElement(i); e.clearSettingContainer(); }), r.find(".auto-submit").change(function (t) { i.submitOption(); }), r.find(".auto-submit:input").bind("keydown.submitOption", function (t) { 13 == t.keyCode && i.submitOption(); - }), this.settingContainer.append(r), o && o.forEach(function (t) { + }), this.settingContainer.append(r), tabs.length < 1 && o && o.forEach(function (t) { var n = t.callback; t.callback = function (t) { n && (n(t), i.submitOption()); @@ -7712,14 +10363,17 @@ var hiprint = function (t) { }), this.lastPrintElement = i; }, t.prototype.buildSettingByCustomOptions = function (t, e) { var n = this; - this.lastPrintElement && this.lastPrintElement.getPrintElementOptionItems().forEach(function (t) { - t.destroy(); - }); - this.lastPrintElement = void 0; + this.clearLastPrintElement(); var i = e || this.settingContainer; e || this.settingContainer.html(""); - var o = []; - t.optionItems ? o = t.optionItems : Object.keys(t.options).forEach(function (t) { + var o = [], supportOptions = p.a.instance.panel.supportOptions.filter(function (t) { + return !t.hidden; + }).map(function (e) { + return e.name; + }); + t.optionItems ? o = t.optionItems : Object.keys(t.options).filter(function (t) { + return supportOptions.includes(t); + }).forEach(function (t) { var e = lt.a.getItem(t); e && o.push(e); }); @@ -7727,9 +10381,9 @@ var hiprint = function (t) { t.title && r.append('
          \n
          \n ' + t.title + "\n
          \n
          "), o.forEach(function (e) { e.submit = function (e) { t.callback(n.getValueByOptionItems(o)); - }, r.append(e.createTarget(void 0, t.options, void 0)), e.setValue(t.options[e.name], t.options, void 0); + }, r.append(e.createTarget(n.printTemplate, t.options, void 0)), e.setValue(t.options[e.name], t.options, void 0); }); - var a = $(''); + var a = $(``); r.append(a), a.bind("click.submitOption", function () { t.callback(n.getValueByOptionItems(o)); }), r.find(".auto-submit").change(function (e) { @@ -7756,9 +10410,10 @@ var hiprint = function (t) { for (var i = $('
            '), o = function o() { var t = r, - e = $("
          • " + (t + 1) + 'x
          • '); + name = n.template.printPanels[t].name || (t + 1), + e = $("
          • " + name + 'x
          • '); e.find("span").click(function () { - n.template.selectPanel(t), e.removeClass("selected"), $(this).parent("li").addClass("selected"); + n.template.selectPanel(t), e.siblings().removeClass("selected"), $(this).parent("li").addClass("selected"); }), e.find("a").click(function () { n.template.deletePanel(t), n.buildPagination(); }), i.append(e); @@ -7768,8 +10423,29 @@ var hiprint = function (t) { var a = $("
          • +
          • "); i.append(a), this.jqPaginationContainer.append(i), a.click(function () { - n.template.addPrintPanel(void 0, !0), n.buildPagination(); + var createPanel = function(t) { + n.template.addPrintPanel(t || void 0, !0), n.buildPagination(); + $('.hiprint-pagination li').removeClass('selected'); + $('.hiprint-pagination li:nth-last-child(2)').addClass('selected'); + }; + if (n.template.onPanelAddClick) { + var panel = { + index: n.template.printPanels.length, + paperType: "A4" + } + n.template.onPanelAddClick(panel, createPanel); + } else { + createPanel(); + } }); + }, t.prototype.selectPanel = function (idx) { + var i = idx || this.template.editingPanel.index; + var li = $('.hiprint-pagination li:nth(' + i + ')'); + if (li.length) { + li.siblings().removeClass('selected'); + li.addClass("selected"); + } + hinnn.event.trigger("onSelectPanel", this.template.editingPanel, i, li); }, t; }(), ct = function () { @@ -7778,10 +10454,44 @@ var hiprint = function (t) { this.tempimageBase64 = {}, this.id = s.a.instance.guid(), s.a.instance.setPrintTemplateById(this.id, this); var n = t || {}; this.printPanels = []; + this.dataMode = n.dataMode || 1; + this.history = n.history != void 0 ? n.history : !0; + this.willOutOfBounds = n.willOutOfBounds != void 0 ? n.willOutOfBounds : !0; + this.onDataChanged = n.onDataChanged; + this.onUpdateError = n.onUpdateError; + this.lastJson = n.template || {}; + this.historyList = [{id: s.a.instance.guid(), type: '初始', json: this.lastJson}]; + this.historyPos = 0; + this.defaultPanelName = n.defaultPanelName; + this.designOptions = {}; + this.qtDesigner = n.qtDesigner != void 0 ? n.qtDesigner : !0; + this.qtDesignerMap = {} + this.qtDesignderFunction = function(field){ + this.qtDesignerMap = {} + const fieldTitle = field.split("_")[0] + for(const item of this.editingPanel.printElements){ + if(item.options.field === void 0){ + continue + } + const renderKey = item.options.field.split("_")[0] + if(this.qtDesignerMap[renderKey] === void 0){ + this.qtDesignerMap[renderKey] = 1 + }else{ + this.qtDesignerMap[renderKey] += 1 + } + } + if(this.qtDesignerMap[fieldTitle] === 0||this.qtDesignerMap[fieldTitle] === void 0){ + return fieldTitle + }else{ + return fieldTitle +"_"+ this.qtDesignerMap[fieldTitle] + } + } var i = new st(n.template || []); n.template && i.panels.forEach(function (t) { e.printPanels.push(new pt(t, e.id)); - }), n.fields && (this.fields = n.fields), n.settingContainer && new ut(this, n.settingContainer), n.paginationContainer && (this.printPaginationCreator = new dt(n.paginationContainer, this), this.printPaginationCreator.buildPagination()), this.initAutoSave(); + }), n.fontList && (this.fontList = n.fontList), n.fields && (this.fields = n.fields), n.onImageChooseClick && (this.onImageChooseClick = n.onImageChooseClick), + n.onPanelAddClick && (this.onPanelAddClick = n.onPanelAddClick), + n.settingContainer && new ut(this, n.settingContainer), n.paginationContainer && (this.printPaginationCreator = new dt(n.paginationContainer, this), this.printPaginationCreator.buildPagination()), this.initAutoSave(); } return t.prototype.design = function (t, e) { @@ -7793,6 +10503,7 @@ var hiprint = function (t) { } if (!t) throw new Error("options.container can not be empty"); + n.designOptions = e; this.createContainer(t), this.printPanels.forEach(function (t, i) { n.container.append(t.getTarget()), i > 0 && t.disable(), t.design(e); }), this.selectPanel(0); @@ -7800,12 +10511,20 @@ var hiprint = function (t) { var n = this; e || (e = {}); var i = $('
            '); - t && t.constructor === Array ? t.forEach(function (t) { - t && n.printPanels.forEach(function (n, o) { - i.append(n.getHtml(t, e)); + t && t.constructor === Array ? t.forEach(function (data,dataIndex) { + data && n.printPanels.forEach(function (n, o) { + i.append(n.getHtml(data, e)); + // 批量打印 续排页码 + if (dataIndex == t.length - 1) { + delete hinnn._paperList; + } }); - }) : this.printPanels.forEach(function (n, o) { - i.append(n.getHtml(t, e)); + }) : this.printPanels.forEach(function (panel, panelIndex) { + i.append(panel.getHtml(t, e)); + // 多面板打印 续排页码 + if (panelIndex == n.printPanels.length - 1) { + delete hinnn._paperList; + } }); return e && e.imgToBase64 && this.transformImg(i.find("img")), i; }, t.prototype.getHtml = function (t, e) { @@ -7824,13 +10543,16 @@ var hiprint = function (t) { } }, t.prototype.rotatePaper = function () { this.editingPanel.rotatePaper(); + }, t.prototype.zoom = function (s, p) { + this.editingPanel.zoom(s, p); }, t.prototype.addPrintPanel = function (t, e) { var n = t ? new pt(new rt(t), this.id) : this.createDefaultPanel(); - return t && (t.index = this.printPanels.length), e && (this.container.append(n.getTarget()), n.design()), this.printPanels.push(n), e && this.selectPanel(n.index), n; + return t && (t.index = this.printPanels.length), e && (this.container.append(n.getTarget()), n.design(this.designOptions)), this.printPanels.push(n), e && this.selectPanel(n.index), n; }, t.prototype.selectPanel = function (t) { var e = this; + if (t > e.printPanels.length - 1) t = e.printPanels.length - 1; this.printPanels.forEach(function (n, i) { - t == i ? (n.enable(), e.editingPanel = n) : n.disable(); + t == i ? (n.enable(), e.editingPanel = n, e.printPaginationCreator && e.printPaginationCreator.selectPanel(t)) : n.disable(); }); }, t.prototype.deletePanel = function (t) { this.printPanels[t].clear(), this.printPanels[t].getTarget().remove(), this.printPanels.splice(t, 1); @@ -7839,6 +10561,7 @@ var hiprint = function (t) { }, t.prototype.createDefaultPanel = function () { return new pt(new rt({ index: this.printPanels.length, + name: this.defaultPanelName, paperType: "A4" }), this.id); }, t.prototype.createContainer = function (t) { @@ -7857,6 +10580,10 @@ var hiprint = function (t) { }), new st({ panels: t }); + }, t.prototype.undo = function (t) { + o.a.event.trigger("hiprintTemplateDataShortcutKey_" + this.id, "undo"); + }, t.prototype.redo = function (t) { + o.a.event.trigger("hiprintTemplateDataShortcutKey_" + this.id, "redo"); }, t.prototype.getPrintElementSelectEventKey = function () { return "PrintElementSelectEventKey_" + this.id; }, t.prototype.getBuildCustomOptionSettingEventKey = function () { @@ -7881,38 +10608,28 @@ var hiprint = function (t) { var n = this, i = 0, o = {}, - // r = $("link[media=print]").length > 0 ? $("link[media=print]") : $("link"), + r = $('link[media=print][href*="print-lock.css"]'), css = ''; if (e.styleHandler) { css += e.styleHandler() - } else { - if (!window.__VUE_HOT_MAP__) { // production 环境 - var linkList = $("link").toArray().filter((e) => { - return e.href.includes("css/app") && e.rel === "stylesheet" - }) - linkList.forEach((e) => { - css += e.outerHTML - }) - } - var styleList = $("style").toArray().filter((e) => e.innerHTML.includes(".hiprint")) - styleList.forEach((e) => { - css += e.outerHTML - }) } - n.sentToClient(css, t, e); - // r.forEach(function (p, a) { - // var s = new XMLHttpRequest(); - // s.open("GET", $(p).attr("href")), s.onreadystatechange = function () { - // if (4 === s.readyState && 200 === s.status && (o[a + ""] = '", ++i == r.length)) { - // for (var p = "", l = 0; l < r.length; l++) { - // p += o[l + ""]; - // } - // - // n.sentToClient(p, t, e); - // } - // }, s.send(); - // }); - } else alert("连接客户端失败"); + if (r.length <= 0) { + throw new Error("请在 入口文件(index.html) 中引入 print-lock.css. 注意: link[media=\"print\"]"); + return; + } + r.each(function (a, p) { + var s = new XMLHttpRequest(); + s.open("GET", $(p).attr("href")), s.onreadystatechange = function () { + if (4 === s.readyState && 200 === s.status && (o[a + ""] = '", ++i == r.length)) { + for (var p = "", l = 0; l < r.length; l++) { + p += o[l + ""]; + } + if (css) p = css + p; + n.sentToClient(p, t, e); + } + }, s.send(); + }); + } else alert(`${i18n.__('连接客户端失败')}`); }, t.prototype.imageToBase64 = function (t) { var e = $(t).attr("src"); if (-1 == e.indexOf("base64")) try { @@ -7944,7 +10661,11 @@ var hiprint = function (t) { var n = this, i = 0, o = {}, - r = $("link[media=print]").length > 0 ? $("link[media=print]") : $("link"); + r = $('link[media=print][href*="print-lock.css"]'); + if (r.length <= 0) { + throw new Error("请在 入口文件(index.html) 中引入 print-lock.css. 注意: link[media=\"print\"]"); + return; + } r.each(function (a, p) { var l = new XMLHttpRequest(); l.open("GET", $(p).attr("href")), l.onreadystatechange = function () { @@ -7959,7 +10680,7 @@ var hiprint = function (t) { } }, l.send(); }); - } else alert("连接客户端失败"); + } else alert(`${i18n.__('连接客户端失败')}`); }, t.prototype.deletePrintElement = function (t) { this.printPanels.forEach(function (e) { e.deletePrintElement(t); @@ -7969,9 +10690,10 @@ var hiprint = function (t) { t.map(function (t, n) { e.imageToBase64($(n)); }); - }, t.prototype.toPdf = function (t, e, n) { + }, t.prototype.toPdf = function (t, e, options) { var i = this; - + var dtd = $.Deferred(); + var isDownload = true; if (this.printPanels.length) { var r = o.a.mm.toPt(this.printPanels[0].width), a = o.a.mm.toPt(this.printPanels[0].height), @@ -7981,13 +10703,16 @@ var hiprint = function (t) { x: 0, y: 0, useCORS: !0 - }, n || {}), + }, options || {}), s = new jsPDF({ orientation: 1 == this.getOrient(0) ? "portrait" : "landscape", unit: "pt", format: this.printPanels[0].paperType ? this.printPanels[0].paperType.toLocaleLowerCase() : [r, a] }), - l = this.getHtml(t, n); + l = this.getHtml(t, options); + if (options && undefined != options.isDownload) { + isDownload = options.isDownload + } this.createTempContainer(); var u = this.getTempContainer(); this.svg2canvas(l), u.html(l[0]); @@ -7999,10 +10724,17 @@ var hiprint = function (t) { for (var o = t.toDataURL("image/jpeg"), p = 0; p < d; p++) { s.addImage(o, "JPEG", 0, 0 - p * a, r, d * a), p < d - 1 && s.addPage(); } - - i.removeTempContainer(), e.indexOf(".pdf") > -1 ? s.save(e) : s.save(e + ".pdf"); + if (isDownload) { + i.removeTempContainer(), e.indexOf(".pdf") > -1 ? s.save(e) : s.save(e + ".pdf"); + } else { + i.removeTempContainer(); + let type = options.type || 'blob'; + var pdfFile = s.output(type); + dtd.resolve(pdfFile); + } }); } + return dtd.promise(); }, t.prototype.createTempContainer = function () { this.removeTempContainer(), $("body").prepend($('
            ')); }, t.prototype.removeTempContainer = function () { @@ -8010,13 +10742,26 @@ var hiprint = function (t) { }, t.prototype.getTempContainer = function () { return $(".hiprint_temp_Container"); }, t.prototype.svg2canvas = function (t) { + var that = this; t.find("svg").each(function (t, e) { - var n = e.parentNode, - i = document.createElement("canvas"), - o = new XMLSerializer().serializeToString(e); - canvg(i, o), $(e).before(i), n.removeChild(e), $(i).css("width", "100%"), $(i).css("height", "100%"); + var n = e.parentNode, p = that.parentWidthHeight(n), + i = document.createElement("canvas"); + i.width = p.width, i.height = p.height; + var ctx = i.getContext('2d'), + str = new XMLSerializer().serializeToString(e); + Canvg.fromString(ctx, str).render(), $(e).before(i), n.removeChild(e); }); + }, t.prototype.parentWidthHeight = function (t) { + if (t.style.width.endsWith('%') || t.style.height.endsWith('%')) { + if (t.className != 'hiprint-printPaper-content') { + return this.parentWidthHeight(t.parentNode); + } + return {width: 10, height: 10} + } else { + return {width: o.a.pt.toPx(parseFloat(t.style.width)), height: o.a.pt.toPx(parseFloat(t.style.height))} + } }, t.prototype.on = function (t, e) { + o.a.event.clear(t + "_" + this.id); o.a.event.on(t + "_" + this.id, e); }, t.prototype.clientIsOpened = function () { return hiwebSocket.opened; @@ -8041,19 +10786,227 @@ var hiprint = function (t) { n++ , !r && n < 10 ? setTimeout(function () { i.loadAllImages(t, e, n); }, 500) : e(); + }, t.prototype.setFontList = function (t) { + this.fontList = t; + }, t.prototype.getFontList = function () { + return this.fontList; }, t.prototype.setFields = function (t) { this.fields = t; }, t.prototype.getFields = function () { return this.fields; + }, t.prototype.setOnImageChooseClick = function (t) { + this.onImageChooseClick = t; + }, t.prototype.getOnImageChooseClick = function () { + return this.onImageChooseClick; }, t.prototype.getFieldsInPanel = function () { var t = []; return this.printPanels.forEach(function (e) { t = t.concat(e.getFieldsInPanel()); }), t; + }, t.prototype.getTestData = function () { + var t = {}; + return this.printPanels.forEach(function (e) { + t = Object.assign(t, e.getTestData()); + }), t; + }, t.prototype.update = function (t, idx) { + var e = this; + try { + if (t && "object" == _typeof(t) && t.panels.length > 0) { + var curLen = e.printPanels.length - 1; + t.panels.forEach(function(panel, index) { + if (index > curLen) { + e.printPanels.push(new pt(panel, e.id)); + var t = e.printPanels[index]; + e.container.append(t.getTarget()), index > 0 && t.disable(), t.design(e.designOptions); + e.printPaginationCreator && e.printPaginationCreator.buildPagination(); + } + var temp = new rt(panel); + e.editingPanel = e.printPanels[index]; + e.editingPanel.update(temp); + }) + e.selectPanel(idx || 0); + } + } catch (er) { + console.log(er); + e.onUpdateError && e.onUpdateError(er); + } + }, t.prototype.getSelectEls = function () { + var t = this; + var elements = []; + // 获取选区元素 + if (t.editingPanel.mouseRect && t.editingPanel.mouseRect.target && $(".mouseRect").length) { + elements = t.editingPanel.getElementInRect(t.editingPanel.mouseRect); + } else { // 获取多选元素 + elements = t.editingPanel.printElements.filter(function (el) { + return "block" == el.designTarget.children().last().css("display") && !el.printElementType.type.includes("table"); + }) + } + return elements + }, + t.prototype.selectAllElements = function () { + var hiPrintEntity = this + var t = $ + hiPrintEntity.editingPanel.printElements.forEach((e, index) => { + let designTarget = e.designTarget + designTarget.children("div[panelindex]").addClass("selected") + designTarget.children().last().css({ + display: "block" + }) + designTarget = designTarget[0] + t.data(designTarget, "hidraggable").options + .onBeforeSelectAllDrag + .call(designTarget, {}) + }) + }, + t.prototype.updateOption = function (option, v) { // 批量更新参数 + var elements = this.getSelectEls(); + if (elements && elements.length) { + elements.forEach(function (e) { + e.updateOption(option, v, true) + }) + o.a.event.trigger("hiprintTemplateDataChanged_" + this.id, "批量修改"); + } + }, t.prototype.setElsAlign = function (e) { // 设置框选、多选元素对齐api + var t = this; + var elements = this.getSelectEls(); + if (elements.length) { + var minLeft = Math.min.apply(null, elements.map(function (el) {return el.options.left})); + var maxRight = Math.max.apply(null, elements.map(function (el) {return el.options.left + el.options.width})); + var minTop = Math.min.apply(null, elements.map(function (el) {return el.options.top})); + var maxBottom = Math.max.apply(null, elements.map(function (el) {return el.options.top + el.options.height})); + switch (e) { + case "left": // 左对齐 + elements.forEach(function (el) { + el.updateSizeAndPositionOptions(minLeft); + el.designTarget.css("left", el.options.displayLeft()); + }) + break; + case "vertical": // 居中 + var vertical = minLeft + (maxRight - minLeft) / 2; + elements.forEach(function (el) { + el.updateSizeAndPositionOptions(vertical - el.options.width / 2); + el.designTarget.css("left", el.options.displayLeft()); + }) + break; + case "right": // 右对齐 + elements.forEach(function (el) { + el.updateSizeAndPositionOptions(maxRight - el.options.width); + el.designTarget.css("left", el.options.displayLeft()) + }) + break; + case "top": // 顶部对齐 + elements.forEach(function (el) { + el.updateSizeAndPositionOptions(undefined, minTop); + el.designTarget.css("top", el.options.displayTop()); + }) + break; + case "horizontal": // 垂直居中 + var horizontal = minTop + (maxBottom - minTop) / 2; + elements.forEach(function (el) { + el.updateSizeAndPositionOptions(undefined, horizontal - el.options.height / 2); + el.designTarget.css("top", el.options.displayTop()); + }) + break; + case "bottom": //底部对齐 + elements.forEach(function (el) { + el.updateSizeAndPositionOptions(undefined, maxBottom - el.options.height); + el.designTarget.css("top", el.options.displayTop()); + }) + break; + case "distributeHor": // 横向分散 + var sumWidth = [].reduce.call(elements, function (total, el) { + return total + el.options.width; + }, 0) + var distributeHor = ((maxRight - minLeft) - sumWidth) / (elements.length - 1); + elements.sort(function (prev, curr) { + return prev.options.left - curr.options.left; + }) + elements.forEach(function (el, index) { + if (![0, elements.length - 1].includes(index)) { + el.updateSizeAndPositionOptions(elements[index - 1].options.left + elements[index - 1].options.width + distributeHor); + el.designTarget.css("left", el.options.displayLeft()); + } + }) + break; + case "distributeVer": // 纵向分散 + var sumHeight = [].reduce.call(elements, function (total, el) { + return total + el.options.height; + }, 0) + var distributeVer = ((maxBottom - minTop) - sumHeight) / (elements.length - 1); + elements.sort(function (prev, curr) { + return prev.options.top - curr.options.top; + }) + elements.forEach(function (el, index) { + if (![0, elements.length - 1].includes(index)) { + el.updateSizeAndPositionOptions(undefined, elements[index - 1].options.top + elements[index - 1].options.height + distributeVer); + el.designTarget.css("top", el.options.displayTop()); + } + }) + break; + } + } + }, t.prototype.setElsSpace = function (dis, isHor) { + var t = this; + var elements = this.getSelectEls(); + if (elements.length) { + if (isHor) { // 水平距离 → + elements.sort(function (prev, curr) { + return prev.options.left - curr.options.left; + }) + elements.forEach(function (el, index) { + if (index > 0) { + el.updateSizeAndPositionOptions(elements[index - 1].options.left + elements[index - 1].options.width + dis); + el.designTarget.css("left", el.options.displayLeft()); + } + }) + } else { // 垂直距离 ↓ + elements.sort(function (prev, curr) { + return prev.options.top - curr.options.top; + }) + elements.forEach(function (el, index) { + if (index > 0) { + el.updateSizeAndPositionOptions(undefined, elements[index - 1].options.top + elements[index - 1].options.height + dis); + el.designTarget.css("top", el.options.displayTop()); + } + }) + } + } }, t.prototype.initAutoSave = function () { var t = this; - this.autoSave && o.a.event.on("hiprintTemplateDataChanged_" + this.id, function () { - hiLocalStorage.saveLocalData(t.autoSaveKey || "hiprintAutoSave", JSON.stringify(1 == t.autoSaveMode ? t.getJson() : t.getJsonTid())); + o.a.event.on("hiprintTemplateDataShortcutKey_" + this.id, function (key) { + if (!t.history) return; + switch (key) { + case "undo": + if (t.historyPos > 0) { + t.historyPos -= 1; + var cur = t.historyList[t.historyPos]; + t.update(cur.json); + } + break; + case "redo": + if (t.historyPos < t.historyList.length - 1) { + t.historyPos += 1; + var cur = t.historyList[t.historyPos]; + t.update(cur.json); + } + break; + } + }); + o.a.event.on("hiprintTemplateDataChanged_" + this.id, function (type) { + if (t.history) { + var j = 1 == t.dataMode ? t.getJson() : t.getJsonTid() + t.lastJson = j; + if (t.historyPos < t.historyList.length - 1) { + t.historyList = t.historyList.slice(0, t.historyPos + 1); + } + t.historyList.push({id: s.a.instance.guid(), type: type, json: j}); + if (t.historyList.length > 50) { + t.historyList = t.historyList.slice(0, 1).concat(t.historyList.slice(1, 50)); + } else { + t.historyPos += 1; + } + t.onDataChanged && t.onDataChanged(type, j); + } }); }, t; }(); @@ -8077,36 +11030,147 @@ var hiprint = function (t) { } function mt(t) { - p.a.instance.init(t), p.a.instance.providers.forEach(function (t) { + p.a.instance.init(t), p.a.instance.providers && p.a.instance.providers.forEach(function (t) { t.addElementTypes(a.instance); }); + if (window.autoConnect && (p.a.instance.host != hiwebSocket.host || p.a.instance.token != hiwebSocket.token)) { + hiwebSocket.stop() + p.a.instance.host && (hiwebSocket.host = p.a.instance.host); + p.a.instance.token && (hiwebSocket.token = p.a.instance.token); + hiwebSocket.start() + } + if (p.a.instance.lang && Object.keys(languages).includes(p.a.instance.lang)) { + i18n.lang = p.a.instance.lang; + } else { + i18n.lang = 'cn' + } } function cig(t) { if (t) { t && Object.keys(t).forEach(function (i) { - if (t[i].supportOptions) { - var options = t[i].supportOptions, - configs = p.a.instance[i].supportOptions, - list = configs.filter(function (e) { - return options.every(function (ee) { - return ee.name != e.name + if (i == "optionItems" && t.optionItems && t.optionItems.length) { + p.a.instance.registerItems(t.optionItems); + } + else if (t[i].tabs && t[i].tabs.length) { + t[i].tabs.forEach(function (tab, idx) { + if (tab.replace) { + $.extend(p.a.instance[i].tabs[idx], tab); + } else { + var options = tab.options, list = p.a.instance[i].tabs[idx].options; + options.forEach(function (o) { + var idx = list.findIndex(function (e) { + return e.name == o.name + }); + if (idx > -1) list[idx].hidden = o.hidden; + else { + if (o.after) { + idx = list.findIndex(function (e) { + return e.name == o.after + }); + if (idx > -1) list.splice(idx + 1, 0, o) + } else list.push(o); + } }) - }),list = list.concat(options); + $.extend(p.a.instance[i].tabs[idx], { + name: tab.name, + options: list + }); + } + }) + delete t[i].tabs; + } + else if (t[i].supportOptions) { + var options = t[i].supportOptions, list = p.a.instance[i].supportOptions; + options.forEach(function (o) { + var idx = list.findIndex(function (e) { + return e.name == o.name + }); + if (idx > -1) list[idx].hidden = o.hidden; + else { + if (o.after) { + idx = list.findIndex(function (e) { + return e.name == o.after + }); + if (idx > -1) list.splice(idx + 1, 0, o) + } else list.push(o); + } + }) $.extend(p.a.instance[i].supportOptions, list); delete t[i].supportOptions; + } else { + var keyMap = {}; + keyMap[i] = t[i]; + $.extend(p.a.instance, keyMap); } - $.extend(p.a.instance[i], t[i]); }); } else { $.extend(p.a.instance, HIPRINT_CONFIG); } } + function uep(t, c) { + return a.instance.updateElementType(t, c); + } + + function rpl(c) { + p.a.instance.clear("printerList"); + p.a.instance.on("printerList", c); + hiwebSocket.refreshPrinterList(); + } + + function getClients(c) { + p.a.instance.clear("clients"); + p.a.instance.on("clients", c); + hiwebSocket.getClients(); + } + + function getClientInfo(c) { + p.a.instance.clear("clientInfo"); + p.a.instance.on("getClientInfo", c); + hiwebSocket.getClientInfo() + } + + function getAddr(type, c, ...args) { + p.a.instance.clear("address_" + type); + p.a.instance.on("address_" + type, c); + hiwebSocket.getAddress(type, ...args); + } + + function ippPrint(options, callback, connected) { + p.a.instance.clear("ippPrinterCallback"); + p.a.instance.on("ippPrinterCallback", callback); + p.a.instance.clear("ippPrinterConnected"); + p.a.instance.on("ippPrinterConnected", connected); + hiwebSocket.ippPrint(options); + } + + function ippRequest(options, callback) { + p.a.instance.clear("ippRequestCallback"); + p.a.instance.on("ippRequestCallback", callback); + hiwebSocket.ippRequest(options); + } + n.d(e, "init", function () { return mt; }), n.d(e, "setConfig", function () { return cig; + }), n.d(e, "updateElementType", function () { + return uep; + }), n.d(e, "hiwebSocket", function () { + return hiwebSocket; + }), n.d(e, "refreshPrinterList", function () { + return rpl; + }), n.d(e, "getClients", function() { + return getClients; + }), n.d(e, "getClientInfo", function() { + return getClientInfo; + }), n.d(e, "getAddress", function () { + return getAddr; + }), n.d(e, "ippPrint", function () { + return ippPrint; + }), n.d(e, "ippRequest", function () { + return ippRequest; }), n.d(e, "PrintElementTypeManager", function () { return it; }), n.d(e, "PrintElementTypeGroup", function () { @@ -8120,13 +11184,14 @@ var hiprint = function (t) { }), n.d(e, "getHtml", function () { return gt; }), $(document).ready(function () { - hiwebSocket.hasIo() && hiwebSocket.start(); + console.log('document ready'); + console.log(window.autoConnect); + if (hiwebSocket.hasIo() && window.autoConnect) { + hiwebSocket.start(); + } }); }]); -// 默认自定义拖拽列表 -import defaultTypeProvider from './etypes/default-etyps-provider' - var defaultElementTypeProvider = defaultTypeProvider(hiprint) export { diff --git a/src/hiprint/hiprint.config.js b/src/hiprint/hiprint.config.js index 88b7a341e24e8a568b37e24f9f73825e12e4af6a..95ec103ae4461d8e0a8bd836cdcf41c34735a434 100644 --- a/src/hiprint/hiprint.config.js +++ b/src/hiprint/hiprint.config.js @@ -1,756 +1,2210 @@ (function () { - window.HIPRINT_CONFIG = { - //optionItems: [hiprintCustomOptionItem],//自定义选项 - movingDistance: 1.5, //鼠标拖动一次移动的距离,默认1.5pt - paperHeightTrim: 1, //纸张html 的高度等于真实高度-1 - text: any = { - supportOptions: [ - // { - // name: 'hiprintCustomOptionItem', - // hidden: false - // }, - { - name: 'title', - hidden: false - }, - { - name: 'field', - hidden: false - }, - { - name: 'testData', - hidden: false - }, - { - name: 'dataType', - hidden: false - }, - { - name: 'fontFamily', - hidden: false - }, - { - name: 'fontSize', - hidden: false - }, - { - name: 'fontWeight', - hidden: false - }, - { - name: 'letterSpacing', - hidden: false - }, - { - name: 'color', - hidden: false - }, - { - name: 'textDecoration', - hidden: false - }, - { - name: 'textAlign', - hidden: false - }, - { - name: 'textContentVerticalAlign', - hidden: false - }, - - { - name: 'lineHeight', - hidden: false - }, - { - name: 'textType', - hidden: false - }, - { - name: 'barcodeMode', - hidden: false - }, - { - name: 'hideTitle', - hidden: false - }, - { - name: 'showInPage', - hidden: false - }, - { - name: 'unShowInPage', - hidden: false - }, - { - name: 'fixed', - hidden: false - }, - { - name: 'axis', - hidden: false - }, - { - name: 'transform', - hidden: false - }, - { - name: 'optionsGroup', - hidden: false - }, - { - name: 'borderLeft', - hidden: false - }, - { - name: 'borderTop', - hidden: false - }, - { - name: 'borderRight', - hidden: false - }, - { - name: 'borderBottom', - hidden: false - }, - { - name: 'borderWidth', - hidden: false - }, - { - name: 'borderColor', - hidden: false - }, - { - name: 'contentPaddingLeft', - hidden: false - }, - { - name: 'contentPaddingTop', - hidden: false - }, - { - name: 'contentPaddingRight', - hidden: false - }, - { - name: 'contentPaddingBottom', - hidden: false - }, - { - name: 'backgroundColor', - hidden: false - }, - { - name: 'formatter', - hidden: false - }, - { - name: 'styler', - hidden: false - } - - ], - default: { - width: 120, - height: 9.75, - } + window.HIPRINT_CONFIG = { + //optionItems: [hiprintCustomOptionItem],//自定义选项 + movingDistance: 1.5, //鼠标拖动一次移动的距离,默认1.5pt + paperHeightTrim: 1, //纸张html 的高度等于真实高度-1 + showPosition: true, //显示坐标位置 + positionLineMode: false, //坐标显示在线上的 + positionUnit: true, //显示坐标单位 + showSizeBox: true, //显示宽高box + adsorbMin: 3, //吸附最小距离pt + showAdsorbLine: true, //显示吸附线 + adsorbLineMin: 6, //吸附线显示最小距离pt + paperNumberContinue: true, //连续打印页码 + panel: { + supportOptions: [ + { + name: 'panelPaperRule', + hidden: false + }, + { + name: 'panelPageRule', + hidden: false + }, + { + name: 'firstPaperFooter', + hidden: false + }, + { + name: 'evenPaperFooter', + hidden: false + }, + { + name: 'oddPaperFooter', + hidden: false + }, + { + name: 'lastPaperFooter', + hidden: false + }, + { + name: 'leftOffset', + hidden: false + }, + { + name: 'topOffset', + hidden: false }, - image: any = { - supportOptions: [{ - name: 'field', - hidden: false + { + name: 'fontFamily', + hidden: false + }, + { + name: 'orient', + hidden: false + }, + { + name: 'paperNumberDisabled', + hidden: false + }, + { + name: 'paperNumberContinue', + hidden: false + }, + { + name: 'paperNumberFormat', + hidden: false + }, + { + name: 'watermarkOptions', + hidden: false + }, + { + name: 'panelLayoutOptions', + hidden: false + }, + ], + default: {} + }, + text: { + tabs: [ + { + name: '基础', options: [ + { + name: 'title', + hidden: false }, { - name: 'src', - hidden: false + name: 'field', + hidden: false }, { - name: 'showInPage', - hidden: false + name: 'testData', + hidden: false }, { - name: 'fixed', - hidden: false + name: 'coordinate', + hidden: false }, { - name: 'axis', - hidden: false + name: 'widthHeight', + hidden: false }, { - name: 'transform', - hidden: false + name: 'hideTitle', + hidden: false }, { - name: 'formatter', - hidden: false + name: 'fixed', + hidden: false }, - { - name: 'styler', - hidden: false - } - ], - default: { - - } + ] }, - longText: any = { - supportOptions: [{ - name: 'title', - hidden: false - }, + { + name: '样式', options: [ { - name: 'field', - hidden: false + name: 'dataType', + hidden: false }, { - name: 'testData', - hidden: false + name: 'fontFamily', + hidden: false }, { - name: 'fontFamily', - hidden: false + name: 'fontSize', + hidden: false }, { - name: 'fontSize', - hidden: false + name: 'fontWeight', + hidden: false }, { - name: 'fontWeight', - hidden: false + name: 'letterSpacing', + hidden: false }, { - name: 'letterSpacing', - hidden: false + name: 'color', + hidden: false }, - { - name: 'textAlign', - hidden: false + name: 'backgroundColor', + hidden: false }, { - name: 'lineHeight', - hidden: false + name: 'textDecoration', + hidden: false }, { - name: 'color', - hidden: false + name: 'textAlign', + hidden: false }, { - name: 'hideTitle', - hidden: false + name: 'textContentVerticalAlign', + hidden: false }, - { - name: 'longTextIndent', - hidden: false + name: 'textContentWrap', + hidden: false }, - { - name: 'leftSpaceRemoved', - hidden: false + name: 'lineHeight', + hidden: false }, { - name: 'showInPage', - hidden: false + name: 'transform', + hidden: false }, { - name: 'unShowInPage', - hidden: false + name: 'zIndex', + hidden: false + } + ] + }, + { + name: '边框', options: [ + { + name: 'optionsGroup', + hidden: false }, { - name: 'fixed', - hidden: false + name: 'borderLeft', + hidden: false }, { - name: 'axis', - hidden: false + name: 'borderTop', + hidden: false }, { - name: 'lHeight', - hidden: false + name: 'borderRight', + hidden: false }, { - name: 'transform', - hidden: false + name: 'borderBottom', + hidden: false }, { - name: 'optionsGroup', - hidden: false + name: 'borderWidth', + hidden: false }, { - name: 'borderLeft', - hidden: false + name: 'borderColor', + hidden: false }, { - name: 'borderTop', - hidden: false + name: 'contentPaddingLeft', + hidden: false }, { - name: 'borderRight', - hidden: false + name: 'contentPaddingTop', + hidden: false }, { - name: 'borderBottom', - hidden: false + name: 'contentPaddingRight', + hidden: false }, { - name: 'borderWidth', - hidden: false + name: 'contentPaddingBottom', + hidden: false }, + ] + }, + { + name: '高级', options: [ { - name: 'borderColor', - hidden: false + name: 'textType', + hidden: false }, { - name: 'contentPaddingLeft', - hidden: false + name: 'barcodeMode', + hidden: false }, { - name: 'contentPaddingTop', - hidden: false + name: 'barWidth', + hidden: false }, { - name: 'contentPaddingRight', - hidden: false + name: 'barAutoWidth', + hidden: false }, { - name: 'contentPaddingBottom', - hidden: false + name: 'qrCodeLevel', + hidden: false }, { - name: 'backgroundColor', - hidden: false + name: 'pageBreak', + hidden: false }, { - name: 'formatter', - hidden: false + name: 'showInPage', + hidden: false }, { - name: 'styler', - hidden: false - } - - ], - default: { - height: 42, - width: 550 - } - }, - table: any = { - supportOptions: [{ - name: 'field', - hidden: false + name: 'unShowInPage', + hidden: false }, { - name: 'fontFamily', - hidden: false + name: 'axis', + hidden: false }, { - name: 'fontSize', - hidden: false + name: 'upperCase', + hidden: false }, { - name: 'lineHeight', - hidden: false + name: 'formatter', + hidden: false }, { - name: 'textAlign', - hidden: false + name: 'styler', + hidden: false + } + ] + }, + ], + supportOptions: [ + { + name: 'title', + hidden: false + }, + { + name: 'field', + hidden: false + }, + { + name: 'testData', + hidden: false + }, + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'dataType', + hidden: false + }, + { + name: 'fontFamily', + hidden: false + }, + { + name: 'fontSize', + hidden: false + }, + { + name: 'fontWeight', + hidden: false + }, + { + name: 'letterSpacing', + hidden: false + }, + { + name: 'color', + hidden: false + }, + { + name: 'textDecoration', + hidden: false + }, + { + name: 'textAlign', + hidden: false + }, + { + name: 'textContentVerticalAlign', + hidden: false + }, + { + name: 'textContentWrap', + hidden: false + }, + { + name: 'lineHeight', + hidden: false + }, + { + name: 'textType', + hidden: false + }, + { + name: 'barcodeMode', + hidden: false + }, + { + name: 'barWidth', + hidden: false + }, + { + name: 'barAutoWidth', + hidden: false + }, + { + name: "qrCodeLevel", + hidden: false + }, + { + name: 'hideTitle', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'unShowInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + { + name: 'optionsGroup', + hidden: false + }, + { + name: 'borderLeft', + hidden: false + }, + { + name: 'borderTop', + hidden: false + }, + { + name: 'borderRight', + hidden: false + }, + { + name: 'borderBottom', + hidden: false + }, + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'contentPaddingLeft', + hidden: false + }, + { + name: 'contentPaddingTop', + hidden: false + }, + { + name: 'contentPaddingRight', + hidden: false + }, + { + name: 'contentPaddingBottom', + hidden: false + }, + { + name: 'backgroundColor', + hidden: false + }, + { + name: 'formatter', + hidden: false + }, + { + name: 'styler', + hidden: false + } + ], + default: { + width: 120, + height: 9.75, + } + }, + image: { + tabs: [ + { + name: '基础', options: [ + { + name: 'field', + hidden: false }, { - name: 'gridColumns', - hidden: false + name: 'src', + hidden: false }, { - name: 'gridColumnsGutter', - hidden: false + name: 'fit', + hidden: false }, { - name: 'tableHeaderRepeat', + name: 'coordinate', hidden: false }, { - name: 'tableBorder', - hidden: false + name: 'widthHeight', + hidden: false }, { - name: 'tableHeaderBorder', - hidden: false + name: 'showInPage', + hidden: false }, { - name: 'tableHeaderCellBorder', - hidden: false + name: 'unShowInPage', + hidden: false }, { - name: 'tableHeaderRowHeight', - hidden: false + name: 'fixed', + hidden: false }, + ] + }, + { + name: '样式', options: [ { - name: 'tableHeaderBackground', - hidden: false + name: 'transform', + hidden: false }, { - name: 'tableHeaderFontSize', - hidden: false + name: 'zIndex', + hidden: false }, { - name: 'tableHeaderFontWeight', - hidden: false + name: 'borderRadius', + hidden: false }, - + ] + }, + { + name: '高级', options: [ { - name: 'tableBodyRowHeight', - hidden: false + name: 'pageBreak', + hidden: false }, { - name: 'tableBodyRowBorder', - hidden: false + name: 'axis', + hidden: false }, { - name: 'tableBodyCellBorder', - hidden: false + name: 'formatter', + hidden: false }, - { - name: 'axis', - hidden: false + name: 'styler', + hidden: false + } + ] + }, + ], + supportOptions: [ + { + name: 'field', + hidden: false + }, + { + name: 'src', + hidden: false + }, + { + name: 'fit', + hidden: false + }, + { + name: 'borderRadius', + hidden: false + }, + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'unShowInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + { + name: 'formatter', + hidden: false + }, + { + name: 'styler', + hidden: false + } + ], + default: {} + }, + longText: { + tabs: [ + { + name: '基础', options: [ + { + name: 'title', + hidden: false }, { - name: 'lHeight', - hidden: false + name: 'field', + hidden: false }, - { - name: 'autoCompletion', - hidden: false + name: 'testData', + hidden: false }, { - name: 'columns', - hidden: false + name: 'coordinate', + hidden: false }, { - - name: 'styler', - hidden: false + name: 'widthHeight', + hidden: false }, { - - name: 'rowStyler', - hidden: false + name: 'hideTitle', + hidden: false }, - { - - name: 'tableFooterRepeat', - hidden: false + name: 'fixed', + hidden: false }, + ] + }, + { + name: '样式', options: [ { - - name: 'footerFormatter', - hidden: false + name: 'fontFamily', + hidden: false }, { - name: 'gridColumnsFooterFormatter', - hidden: false - - } - - - ], - default: { - - width: 550 - } - }, - tableCustom: any = { - supportOptions: [{ - name: 'field', - hidden: false + name: 'fontSize', + hidden: false }, { - name: 'fontFamily', - hidden: false + name: 'fontWeight', + hidden: false }, { - name: 'fontSize', - hidden: false + name: 'letterSpacing', + hidden: false }, { - name: 'textAlign', - hidden: false + name: 'textAlign', + hidden: false }, { - name: 'tableBorder', - hidden: false + name: 'lineHeight', + hidden: false }, { - name: 'tableHeaderBorder', - hidden: false + name: 'color', + hidden: false }, { - name: 'tableHeaderCellBorder', - hidden: false + name: 'longTextIndent', + hidden: false }, { - name: 'tableHeaderRowHeight', - hidden: false + name: 'leftSpaceRemoved', + hidden: false }, { - name: 'tableHeaderFontSize', - hidden: false + name: 'lHeight', + hidden: false }, { - name: 'tableHeaderFontWeight', - hidden: false + name: 'transform', + hidden: false }, { - name: 'tableHeaderBackground', - hidden: false + name: 'zIndex', + hidden: false }, - + ] + }, + { + name: '高级', options: [ { - name: 'tableBodyRowHeight', - hidden: false + name: 'pageBreak', + hidden: false }, { - name: 'tableBodyRowBorder', - hidden: false + name: 'showInPage', + hidden: false }, { - name: 'tableBodyCellBorder', - hidden: false + name: 'unShowInPage', + hidden: false }, { - name: 'axis', - hidden: false + name: 'axis', + hidden: false }, { - name: 'lHeight', - hidden: false + name: 'formatter', + hidden: false }, { - name: 'autoCompletion', - hidden: false - }, { - - name: 'tableFooterRepeat', - hidden: false - } - ], - default: { - - width: 550 + name: 'styler', + hidden: false } + ] + }, + ], + supportOptions: [ + { + name: 'title', + hidden: false + }, + { + name: 'field', + hidden: false + }, + { + name: 'testData', + hidden: false + }, + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'fontFamily', + hidden: false + }, + { + name: 'fontSize', + hidden: false + }, + { + name: 'fontWeight', + hidden: false + }, + { + name: 'letterSpacing', + hidden: false + }, + { + name: 'textAlign', + hidden: false + }, + { + name: 'lineHeight', + hidden: false + }, + { + name: 'color', + hidden: false }, - - - hline: any = { - supportOptions: [{ - name: 'borderColor', - hidden: false - }, { - name: 'borderWidth', - hidden: false - }, { - name: 'showInPage', - hidden: false + { + name: 'hideTitle', + hidden: false + }, + { + name: 'longTextIndent', + hidden: false + }, + { + name: 'leftSpaceRemoved', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'unShowInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'lHeight', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + { + name: 'optionsGroup', + hidden: false + }, + { + name: 'borderLeft', + hidden: false + }, + { + name: 'borderTop', + hidden: false + }, + { + name: 'borderRight', + hidden: false + }, + { + name: 'borderBottom', + hidden: false + }, + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'contentPaddingLeft', + hidden: false + }, + { + name: 'contentPaddingTop', + hidden: false + }, + { + name: 'contentPaddingRight', + hidden: false + }, + { + name: 'contentPaddingBottom', + hidden: false + }, + { + name: 'backgroundColor', + hidden: false + }, + { + name: 'formatter', + hidden: false + }, + { + name: 'styler', + hidden: false + } + ], + default: { + height: 42, + width: 550 + } + }, + table: { + tabs: [ + { + name: '基础', options: [ + { + name: 'field', + hidden: false }, { - name: 'fixed', - hidden: false + name: 'testData', + hidden: false }, { - name: 'axis', - hidden: false + name: 'coordinate', + hidden: false }, { - name: 'transform', - hidden: false + name: 'widthHeight', + hidden: false }, { - name: 'borderStyle', - hidden: false - } - - ], - default: { - borderWidth: 0.75, - height: 9, - width: 90 - } - }, - vline: any = { - supportOptions: [{ - name: 'borderColor', - hidden: false - }, { - name: 'borderWidth', - hidden: false - }, { - name: 'showInPage', - hidden: false + name: 'tableHeaderRepeat', + hidden: false }, { - name: 'fixed', - hidden: false + name: 'tableFooterRepeat', + hidden: false }, { - name: 'axis', - hidden: false + name: 'autoCompletion', + hidden: false }, { - name: 'transform', - hidden: false + name: 'maxRows', + hidden: false }, { - name: 'borderStyle', - hidden: false - } - ], - default: { - borderWidth: undefined, - height: 90, - width: 9 - } + name: 'columns', + hidden: false + }, + ] }, - rect: any = { - supportOptions: [{ - name: 'borderColor', - hidden: false - }, { - name: 'borderWidth', - hidden: false - }, { - name: 'showInPage', - hidden: false + { + name: '样式', options: [ + { + name: 'fontFamily', + hidden: false }, { - name: 'fixed', - hidden: false + name: 'fontSize', + hidden: false }, { - name: 'axis', - hidden: false + name: 'lineHeight', + hidden: false }, { - name: 'transform', - hidden: false + name: 'textAlign', + hidden: false }, { - name: 'borderStyle', - hidden: false - } - ], - default: { - borderWidth: undefined, - height: 90, - width: 90 - } - }, - oval: any = { - supportOptions: [{ - name: 'borderColor', - hidden: false - }, { - name: 'borderWidth', - hidden: false - }, { - name: 'showInPage', - hidden: false + name: 'gridColumns', + hidden: false }, { - name: 'fixed', - hidden: false + name: 'gridColumnsGutter', + hidden: false }, { - name: 'axis', - hidden: false - }, { - name: 'transform', - hidden: false + name: 'tableBorder', + hidden: false }, { - name: 'borderStyle', - hidden: false - } - ], - default: { - borderWidth: undefined, - height: 90, - width: 90 - } - }, - html: any = { - supportOptions: [{ - name: 'showInPage', - hidden: false + name: 'tableHeaderBorder', + hidden: false }, { - name: 'unShowInPage', - hidden: false + name: 'tableHeaderCellBorder', + hidden: false }, { - name: 'fixed', - hidden: false + name: 'tableHeaderRowHeight', + hidden: false }, { - name: 'axis', - hidden: false + name: 'tableHeaderBackground', + hidden: false }, { - name: 'formatter', - hidden: false - } - ], - default: { - - height: 90, - width: 90 - } - }, - tableColumn: any = { - supportOptions: [ - { - name: 'title', - hidden: false - }, - { - name: 'align', - hidden: false - }, - { - name: 'halign', - hidden: false - }, - { - name: 'vAlign', - hidden: false - }, - - - { - name: 'paddingLeft', - hidden: false - }, - { - name: 'paddingRight', - hidden: false - }, - { - name: 'formatter2', - hidden: false - }, { - name: 'styler2', - hidden: false - } - ], - default: { - - height: 90, - width: 90 - } - } + name: 'tableHeaderFontSize', + hidden: false + }, + { + name: 'tableHeaderFontWeight', + hidden: false + }, + { + name: 'tableBodyRowHeight', + hidden: false + }, + { + name: 'tableBodyRowBorder', + hidden: false + }, + { + name: 'tableBodyCellBorder', + hidden: false + }, + { + name: 'tableFooterBorder', + hidden: false + }, + { + name: 'tableFooterCellBorder', + hidden: false + }, + { + name: 'lHeight', + hidden: false + }, + ] + }, + // 留空即显示 表格 列 属性 + { + name: '列', options: [] + }, + { + name: '高级', options: [ + { + name: 'axis', + hidden: false + }, + { + name: 'styler', + hidden: false + }, + { + name: 'rowStyler', + hidden: false + }, + { + name: 'footerFormatter', + hidden: false + }, + { + name: 'rowsColumnsMerge', + hidden: false + }, + { + name: 'rowsColumnsMergeClean', + hidden: false + }, + { + name: 'groupFieldsFormatter', + hidden: false + }, + { + name: 'groupFormatter', + hidden: false + }, + { + name: 'groupFooterFormatter', + hidden: false + }, + { + name: 'gridColumnsFooterFormatter', + hidden: false + } + ] + }, + ], + supportOptions: [ + { + name: 'field', + hidden: false + }, + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'fontFamily', + hidden: false + }, + { + name: 'fontSize', + hidden: false + }, + { + name: 'lineHeight', + hidden: false + }, + { + name: 'textAlign', + hidden: false + }, + { + name: 'gridColumns', + hidden: false + }, + { + name: 'gridColumnsGutter', + hidden: false + }, + { + name: 'tableHeaderRepeat', + hidden: false + }, + { + name: 'tableBorder', + hidden: false + }, + { + name: 'tableHeaderBorder', + hidden: false + }, + { + name: 'tableHeaderCellBorder', + hidden: false + }, + { + name: 'tableHeaderRowHeight', + hidden: false + }, + { + name: 'tableHeaderBackground', + hidden: false + }, + { + name: 'tableHeaderFontSize', + hidden: false + }, + { + name: 'tableHeaderFontWeight', + hidden: false + }, + { + name: 'tableBodyRowHeight', + hidden: false + }, + { + name: 'tableBodyRowBorder', + hidden: false + }, + { + name: 'tableBodyCellBorder', + hidden: false + }, + { + name: 'tableFooterBorder', + hidden: false + }, + { + name: 'tableFooterCellBorder', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'lHeight', + hidden: false + }, + { + name: 'autoCompletion', + hidden: false + }, + { + name: 'maxRows', + hidden: false + }, + { + name: 'columns', + hidden: false + }, + { + name: 'styler', + hidden: false + }, + { + name: 'rowStyler', + hidden: false + }, + { + name: 'tableFooterRepeat', + hidden: false + }, + { + name: 'footerFormatter', + hidden: false + }, + { + name: 'rowsColumnsMerge', + hidden: false + }, + { + name: 'groupFieldsFormatter', + hidden: false + }, + { + name: 'groupFormatter', + hidden: false + }, + { + name: 'groupFooterFormatter', + hidden: false + }, + { + name: 'gridColumnsFooterFormatter', + hidden: false + } + ], + default: { + width: 550 + } + }, + hline: { + tabs: [ + { + name: '基础', options: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + ] + }, + { + name: '样式', options: [ + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ] + }, + { + name: '高级', options: [ + { + name: 'pageBreak', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + ] + }, + ], + supportOptions: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ], + default: { + borderWidth: 0.75, + height: 9, + width: 90 + } + }, + vline: { + tabs: [ + { + name: '基础', options: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + ] + }, + { + name: '样式', options: [ + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ] + }, + { + name: '高级', options: [ + { + name: 'pageBreak', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + ] + }, + ], + supportOptions: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ], + default: { + borderWidth: undefined, + height: 90, + width: 9 + } + }, + rect: { + tabs: [ + { + name: '基础', options: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + ] + }, + { + name: '样式', options: [ + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'backgroundColor', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ] + }, + { + name: '高级', options: [ + { + name: 'pageBreak', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + ] + }, + ], + supportOptions: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'backgroundColor', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ], + default: { + borderWidth: undefined, + height: 90, + width: 90 + } + }, + oval: { + tabs: [ + { + name: '基础', options: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + ] + }, + { + name: '样式', options: [ + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'backgroundColor', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ] + }, + { + name: '高级', options: [ + { + name: 'pageBreak', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + ] + }, + ], + supportOptions: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'borderWidth', + hidden: false + }, + { + name: 'borderStyle', + hidden: false + }, + { + name: 'borderColor', + hidden: false + }, + { + name: 'backgroundColor', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + } + ], + default: { + borderWidth: undefined, + height: 90, + width: 90 + } + }, + html: { + tabs: [ + { + name: '基础', options: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'unShowInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + ] + }, + { + name: '样式', options: [ + { + name: 'transform', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + ] + }, + { + name: '高级', options: [ + { + name: 'pageBreak', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'formatter', + hidden: false + } + ] + }, + ], + supportOptions: [ + { + name: 'coordinate', + hidden: false + }, + { + name: 'widthHeight', + hidden: false + }, + { + name: 'pageBreak', + hidden: false + }, + { + name: 'showInPage', + hidden: false + }, + { + name: 'unShowInPage', + hidden: false + }, + { + name: 'fixed', + hidden: false + }, + { + name: 'zIndex', + hidden: false + }, + { + name: 'axis', + hidden: false + }, + { + name: 'formatter', + hidden: false + } + ], + default: { + height: 90, + width: 90 + } + }, + tableColumn: { + supportOptions: [ + { + name: 'title', + hidden: false + }, + { + name: 'align', + hidden: false + }, + { + name: 'halign', + hidden: false + }, + { + name: 'vAlign', + hidden: false + }, + { + name: 'tableTextType', + hidden: false + }, + { + name: 'tableBarcodeMode', + hidden: false + }, + { + name: 'tableQRCodeLevel', + hidden: false + }, + { + name: 'tableColumnHeight', + hidden: false + }, + { + // 表格条码底部是否显示内容 + name: 'showCodeTitle', + hidden: false, + }, + { + name: 'paddingLeft', + hidden: false + }, + { + name: 'paddingRight', + hidden: false + }, + { + name: 'tableSummaryTitle', + hidden: false + }, + { + name: 'tableSummaryText', + hidden: false + }, + { + name: 'tableSummaryColspan', + hidden: false + }, + { + name: 'tableSummary', + hidden: false + }, + { + name: 'tableSummaryAlign', + hidden: false + }, + { + name: 'tableSummaryNumFormat', + hidden: false + }, + + { + name: 'tableSummaryFormatter', + hidden: false + }, + { + name: 'upperCase', + hidden: false + }, + + { + name: 'renderFormatter', + hidden: false + }, + { + name: 'formatter2', + hidden: false + }, + { + name: 'styler2', + hidden: false + }, + { + name: 'stylerHeader', + hidden: false + }, + + ], + default: { + height: 90, + width: 90 + } + }, + barcode: { + tabs: [{ + name: '基础', + options: [{ + name: 'title', + hidden: false + }, { + name: 'field', + hidden: false + }, { + name: 'testData', + hidden: false + }, { + name: 'barcodeType', + hidden: false + }, { + name: 'barWidth', + hidden: false + }, { + name: 'coordinate', + hidden: false + }, { + name: 'widthHeight', + hidden: false + }, { + name: 'hideTitle', + hidden: false + }, { + name: 'fixed', + hidden: false + }] + }, { + name: '样式', + options: [{ + name: 'fontFamily', + hidden: false + }, { + name: 'fontSize', + hidden: false + }, { + name: 'fontWeight', + hidden: false + }, { + name: 'letterSpacing', + hidden: false + }, { + name: 'color', + hidden: false + }, { + name: 'backgroundColor', + hidden: false + }, { + name: 'barColor', + hidden: false + }, { + name: 'textAlign', + hidden: false + }, { + name: 'textContentVerticalAlign', + hidden: false + }, { + name: 'lineHeight', + hidden: false + }, { + name: 'transform', + hidden: false + }, { + name: 'zIndex', + hidden: false + }] + }, { + name: '高级', + options: [{ + name: 'pageBreak', + hidden: false + }, { + name: 'showInPage', + hidden: false + }, { + name: 'unShowInPage', + hidden: false + }, { + name: 'axis', + hidden: false + }, { + name: 'formatter', + hidden: false + }, { + name: 'styler', + hidden: false + }] + }], + supportOptions: [{ + name: 'title', + hidden:false + }, { + name: 'field', + hidden:false + }, { + name: 'testData', + hidden:false + }, { + name: 'barcodeType', + hidden:false + }, { + name: 'barWidth', + hidden: false + }, { + name: 'coordinate', + hidden:false + }, { + name: 'widthHeight', + hidden:false + }, { + name: 'hideTitle', + hidden:false + }, { + name: 'fixed', + hidden:false + }, { + name: 'fontFamily', + hidden:false + }, { + name: 'fontSize', + hidden:false + }, { + name: 'fontWeight', + hidden:false + }, { + name: 'letterSpacing', + hidden:false + }, { + name: 'color', + hidden:false + }, { + name: 'backgroundColor', + hidden:false + }, { + name: 'barColor', + hidden:false + }, { + name: 'textAlign', + hidden:false + }, { + name: 'textContentVerticalAlign', + hidden:false + }, { + name: 'lineHeight', + hidden:false + }, { + name: 'transform', + hidden:false + }, { + name: 'zIndex', + hidden:false + }, { + name: 'pageBreak', + hidden:false + }, { + name: 'showInPage', + hidden:false + }, { + name: 'unShowInPage', + hidden:false + }, { + name: 'axis', + hidden:false + }, { + name: 'formatter', + hidden:false + }, { + name: 'styler', + hidden:false + }], + default: { + width: 160, + height: 40, + title: '条形码', + barcodeType: 'code128', + testData: 'barcode' + } + }, + qrcode: { + tabs: [{ + name: '基础', + options: [{ + name: 'title', + hidden: false + }, { + name: 'field', + hidden: false + }, { + name: 'testData', + hidden: false + }, { + name: 'qrcodeType', + hidden: false + }, { + name: 'qrCodeLevel', + hidden: false + }, { + name: 'coordinate', + hidden: false + }, { + name: 'widthHeight', + hidden: false + }, { + name: 'hideTitle', + hidden: false + }, { + name: 'fixed', + hidden: false + }] + }, { + name: '样式', + options: [{ + name: 'fontFamily', + hidden: false + }, { + name: 'fontSize', + hidden: false + }, { + name: 'fontWeight', + hidden: false + }, { + name: 'letterSpacing', + hidden: false + }, { + name: 'color', + hidden: false + }, { + name: 'backgroundColor', + hidden: false + }, { + name: 'barColor', + hidden: false + }, { + name: 'textAlign', + hidden: false + }, { + name: 'textContentVerticalAlign', + hidden: false + }, { + name: 'lineHeight', + hidden: false + }, { + name: 'transform', + hidden: false + }, { + name: 'zIndex', + hidden: false + }] + }, { + name: '高级', + options: [{ + name: 'pageBreak', + hidden: false + }, { + name: 'showInPage', + hidden: false + }, { + name: 'unShowInPage', + hidden: false + }, { + name: 'axis', + hidden: false + }, { + name: 'formatter', + hidden: false + }, { + name: 'styler', + hidden: false + }] + }], + supportOptions: [{ + name: 'title', + hidden:false + }, { + name: 'field', + hidden:false + }, { + name: 'testData', + hidden:false + }, { + name: 'qrcodeType', + hidden:false + }, { + name: 'qrCodeLevel', + hidden:false + }, { + name: 'coordinate', + hidden:false + }, { + name: 'widthHeight', + hidden:false + }, { + name: 'hideTitle', + hidden:false + }, { + name: 'fixed', + hidden:false + }, { + name: 'fontFamily', + hidden:false + }, { + name: 'fontSize', + hidden:false + }, { + name: 'fontWeight', + hidden:false + }, { + name: 'letterSpacing', + hidden:false + }, { + name: 'color', + hidden:false + }, { + name: 'backgroundColor', + hidden:false + }, { + name: 'barColor', + hidden: false + }, { + name: 'textAlign', + hidden:false + }, { + name: 'textContentVerticalAlign', + hidden:false + }, { + name: 'lineHeight', + hidden:false + }, { + name: 'transform', + hidden:false + }, { + name: 'zIndex', + hidden:false + }, { + name: 'pageBreak', + hidden:false + }, { + name: 'showInPage', + hidden:false + }, { + name: 'unShowInPage', + hidden:false + }, { + name: 'axis', + hidden:false + }, { + name: 'formatter', + hidden:false + }, { + name: 'styler', + hidden:false + }], + default: { + width: 80, + height: 80, + title: '二维码', + qrcodeType: 'qrcode', + testData: 'qrcode' + } } + } })(); diff --git a/src/hiprint/plugins/JsBarcode.all.min.js b/src/hiprint/plugins/JsBarcode.all.min.js deleted file mode 100644 index 289aa08d9f9216f259d242609b3afa1dd71d2979..0000000000000000000000000000000000000000 --- a/src/hiprint/plugins/JsBarcode.all.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! JsBarcode v3.11.0 | (c) Johan Lindell | MIT license */ -!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=20)}([function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e,n){r(this,t),this.data=e,this.text=n.text||e,this.options=n};e.default=o},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o,i=e.SET_A=0,u=e.SET_B=1,a=e.SET_C=2,f=(e.SHIFT=98,e.START_A=103),c=e.START_B=104,s=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(o={},r(o,f,i),r(o,c,u),r(o,s,a),o),e.SWAP={101:i,100:u,99:a},e.A_START_CHAR=String.fromCharCode(208),e.B_START_CHAR=String.fromCharCode(209),e.C_START_CHAR=String.fromCharCode(210),e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=function(t,e,n){var o=t.split("").map(function(t,n){return r.BINARIES[e[n]]}).map(function(e,n){return e?e[t[n]]:""});if(n){var i=t.length-1;o=o.map(function(t,e){return e=200){i=t.shift()-105;var u=c.SWAP[i];void 0!==u?o=e.next(t,n+1,u):(r!==c.SET_A&&r!==c.SET_B||i!==c.SHIFT||(t[0]=r===c.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),o=e.next(t,n+1,r))}else i=e.correctIndex(t,r),o=e.next(t,n+1,r);var a=e.getBar(i),f=i*n;return{result:a+o.result,checksum:f+o.checksum}}}]),e}(f.default);e.default=s},function(t,e,n){"use strict";function r(t){for(var e=0,n=0;n10*n.width?10*n.width:n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return u(e,t),a(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,e){return(0,s.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,s.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:f.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:f.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:f.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){return{data:[f.SIDE_BIN,this.leftEncode(),f.MIDDLE_BIN,this.rightEncode(),f.SIDE_BIN].join(""),text:this.text}}}]),e}(p.default);e.default=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e,n=0;for(e=1;e<11;e+=2)n+=parseInt(t[e]);for(e=0;e<11;e+=2)n+=3*parseInt(t[e]);return(10-n%10)%10}Object.defineProperty(e,"__esModule",{value:!0});var f=function(){function t(t,e){for(var n=0;n10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return u(e,t),f(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==a(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=(0,s.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,s.default)(this.data.substr(6,6),"RRRRRR"),t+="101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101"+(0,s.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,s.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),t.push({data:"01010",options:{height:this.guardHeight}}),t.push({data:(0,s.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,s.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),t}}]),e}(p.default);e.default=d},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function o(t,e,n){if(n.displayValue&&ee&&(e=t[n].height);return e}function f(t,e,n){var r;if(n)r=n;else{if("undefined"==typeof document)return 0;r=document.createElement("canvas").getContext("2d")}return r.font=e.fontOptions+" "+e.fontSize+"px "+e.font,r.measureText(t).width}Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var c=n(5),s=function(t){return t&&t.__esModule?t:{default:t}}(c);e.getMaximumHeightOfEncodings=a,e.getEncodingHeight=r,e.getBarcodePadding=o,e.calculateEncodingAttributes=i,e.getTotalWidthOfEncodings=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),o=n(26),i=n(33),u=n(37),a=n(42),f=n(44),c=n(43),s=n(34);e.default={CODE39:r.CODE39,CODE128:o.CODE128,CODE128A:o.CODE128A,CODE128B:o.CODE128B,CODE128C:o.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:u.ITF14,ITF:u.ITF,MSI:a.MSI,MSI10:a.MSI10,MSI11:a.MSI11,MSI1010:a.MSI1010,MSI1110:a.MSI1110,pharmacode:f.pharmacode,codabar:c.codabar,GenericBarcode:s.GenericBarcode}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n=a(t);return e+String.fromCharCode(o?206:205)+r(t,o)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),u=function(t){return t.match(new RegExp("^"+i.A_CHARS+"*"))[0].length},a=function(t){return t.match(new RegExp("^"+i.B_CHARS+"*"))[0].length},f=function(t){return t.match(new RegExp("^"+i.C_CHARS+"*"))[0]};e.default=function(t){var e=void 0;if(f(t).length>=2)e=i.C_START_CHAR+o(t);else{var n=u(t)>a(t);e=(n?i.A_START_CHAR:i.B_START_CHAR)+r(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(t,e){return String.fromCharCode(203)+e})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var o=n(24),i=r(o),u=n(21),a=r(u),f=n(22),c=r(f),s=n(23),l=r(s);e.CODE128=i.default,e.CODE128A=a.default,e.CODE128B=c.default,e.CODE128C=l.default},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t){return a(c(t))}function a(t){return b[t].toString(2)}function f(t){return y[t]}function c(t){return y.indexOf(t)}function s(t){for(var e=0,n=0;n10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return u(e,t),f(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),t+="010101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}},{key:"encodeMiddleDigits",value:function(){var t=this.upcA[0],e=this.upcA[this.upcA.length-1],n=y[parseInt(e)][parseInt(t)];return(0,s.default)(this.middleDigits,n)}}]),e}(p.default);e.default=b},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var o=n(28),i=r(o),u=n(31),a=r(u),f=n(30),c=r(f),s=n(29),l=r(s),p=n(12),d=r(p),h=n(32),y=r(h);e.EAN13=i.default,e.EAN8=a.default,e.EAN5=c.default,e.EAN2=l.default,e.UPC=d.default,e.UPCE=y.default},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var u=function(){function t(t,e){for(var n=0;n=3&&this.number<=131070}}]),e}(f.default);e.pharmacode=c},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){var e={};for(var n in f.default)f.default.hasOwnProperty(n)&&(t.hasAttribute("jsbarcode-"+n.toLowerCase())&&(e[n]=t.getAttribute("jsbarcode-"+n.toLowerCase())),t.hasAttribute("data-"+n.toLowerCase())&&(e[n]=t.getAttribute("data-"+n.toLowerCase())));return e.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,u.default)(e)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),u=r(i),a=n(10),f=r(a);e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n0?(o=0,n.textAlign="left"):"right"==t.textAlign?(o=e.width-1,n.textAlign="right"):(o=e.width/2,n.textAlign="center"),n.fillText(e.text,o,i)}}},{key:"moveCanvasDrawing",value:function(t){this.canvas.getContext("2d").translate(t.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),t}();e.default=f},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(46),i=r(o),u=n(49),a=r(u),f=n(48),c=r(f);e.default={CanvasRenderer:i.default,SVGRenderer:a.default,ObjectRenderer:c.default}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n0&&(this.drawRect(u-e.width*i,r,e.width*i,e.height,t),i=0);i>0&&this.drawRect(u-e.width*(i-1),r,e.width*i,e.height,t)}},{key:"drawSVGText",value:function(t,e,n){var r=this.document.createElementNS(f,"text");if(e.displayValue){var o,i;r.setAttribute("style","font:"+e.fontOptions+" "+e.fontSize+"px "+e.font),i="top"==e.textPosition?e.fontSize-e.textMargin:e.height+e.textMargin+e.fontSize,"left"==e.textAlign||n.barcodePadding>0?(o=0,r.setAttribute("text-anchor","start")):"right"==e.textAlign?(o=n.width-1,r.setAttribute("text-anchor","end")):(o=n.width/2,r.setAttribute("text-anchor","middle")),r.setAttribute("x",o),r.setAttribute("y",i),r.appendChild(this.document.createTextNode(n.text)),t.appendChild(r)}}},{key:"setSvgAttributes",value:function(t,e){var n=this.svg;n.setAttribute("width",t+"px"),n.setAttribute("height",e+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+t+" "+e),n.setAttribute("xmlns",f),n.setAttribute("version","1.1"),n.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(t,e,n){var r=this.document.createElementNS(f,"g");return r.setAttribute("transform","translate("+t+", "+e+")"),n.appendChild(r),r}},{key:"setGroupOptions",value:function(t,e){t.setAttribute("style","fill:"+e.lineColor+";")}},{key:"drawRect",value:function(t,e,n,r,o){var i=this.document.createElementNS(f,"rect");return i.setAttribute("x",t),i.setAttribute("y",e),i.setAttribute("width",n),i.setAttribute("height",r),o.appendChild(i),i}}]),t}();e.default=c}]); \ No newline at end of file diff --git a/src/hiprint/plugins/jq-3.31.js b/src/hiprint/plugins/jq-3.31.js deleted file mode 100644 index e052798781bce95319895c2b5d6e3cb78e0eed02..0000000000000000000000000000000000000000 --- a/src/hiprint/plugins/jq-3.31.js +++ /dev/null @@ -1,10328 +0,0 @@ -/*! - * jQuery JavaScript Library v3.3.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2018-01-20T17:24Z - */ -(function (global, factory) { - - "use strict"; - - if (typeof module === "object" && typeof module.exports === "object") { - - // For CommonJS and CommonJS-like environments where a proper `window` - // is present, execute the factory and get jQuery. - // For environments that do not have a `window` with a `document` - // (such as Node.js), expose a factory as module.exports. - // This accentuates the need for the creation of a real `window`. - // e.g. var jQuery = require("jquery")(window); - // See ticket #14549 for more info. - module.exports = global.document ? - factory(global, true) : - function (w) { - if (!w.document) { - throw new Error("jQuery requires a window with a document"); - } - return factory(w); - }; - } else { - factory(global); - } - -// Pass this if window is not defined yet -})(typeof window !== "undefined" ? window : this, function (window, noGlobal) { - -// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 -// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode -// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common -// enough that all such attempts are guarded in a try block. - "use strict"; - - var arr = []; - - var document = window.document; - - var getProto = Object.getPrototypeOf; - - var slice = arr.slice; - - var concat = arr.concat; - - var push = arr.push; - - var indexOf = arr.indexOf; - - var class2type = {}; - - var toString = class2type.toString; - - var hasOwn = class2type.hasOwnProperty; - - var fnToString = hasOwn.toString; - - var ObjectFunctionString = fnToString.call(Object); - - var support = {}; - - var isFunction = function isFunction(obj) { - - // Support: Chrome <=57, Firefox <=52 - // In some browsers, typeof returns "function" for HTML elements - // (i.e., `typeof document.createElement( "object" ) === "function"`). - // We don't want to classify *any* DOM node as a function. - return typeof obj === "function" && typeof obj.nodeType !== "number"; - }; - - - var isWindow = function isWindow(obj) { - return obj != null && obj === obj.window; - }; - - - var preservedScriptAttributes = { - type: true, - src: true, - noModule: true - }; - - function DOMEval(code, doc, node) { - doc = doc || document; - - var i, - script = doc.createElement("script"); - - script.text = code; - if (node) { - for (i in preservedScriptAttributes) { - if (node[i]) { - script[i] = node[i]; - } - } - } - doc.head.appendChild(script).parentNode.removeChild(script); - } - - - function toType(obj) { - if (obj == null) { - return obj + ""; - } - - // Support: Android <=2.3 only (functionish RegExp) - return typeof obj === "object" || typeof obj === "function" ? - class2type[toString.call(obj)] || "object" : - typeof obj; - } - - /* global Symbol */ -// Defining this global in .eslintrc.json would create a danger of using the global -// unguarded in another place, it seems safer to define global only for this module - - - var - version = "3.3.1", - - // Define a local copy of jQuery - jQuery = function (selector, context) { - - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init(selector, context); - }, - - // Support: Android <=4.0 only - // Make sure we trim BOM and NBSP - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; - - jQuery.fn = jQuery.prototype = { - - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function () { - return slice.call(this); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function (num) { - - // Return all the elements in a clean array - if (num == null) { - return slice.call(this); - } - - // Return just the one element from the set - return num < 0 ? this[num + this.length] : this[num]; - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function (elems) { - - // Build a new jQuery matched element set - var ret = jQuery.merge(this.constructor(), elems); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - each: function (callback) { - return jQuery.each(this, callback); - }, - - map: function (callback) { - return this.pushStack(jQuery.map(this, function (elem, i) { - return callback.call(elem, i, elem); - })); - }, - - slice: function () { - return this.pushStack(slice.apply(this, arguments)); - }, - - first: function () { - return this.eq(0); - }, - - last: function () { - return this.eq(-1); - }, - - eq: function (i) { - var len = this.length, - j = +i + (i < 0 ? len : 0); - return this.pushStack(j >= 0 && j < len ? [this[j]] : []); - }, - - end: function () { - return this.prevObject || this.constructor(); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: arr.sort, - splice: arr.splice - }; - - jQuery.extend = jQuery.fn.extend = function () { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if (typeof target === "boolean") { - deep = target; - - // Skip the boolean and the target - target = arguments[i] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if (typeof target !== "object" && !isFunction(target)) { - target = {}; - } - - // Extend jQuery itself if only one argument is passed - if (i === length) { - target = this; - i--; - } - - for (; i < length; i++) { - - // Only deal with non-null/undefined values - if ((options = arguments[i]) != null) { - - // Extend the base object - for (name in options) { - src = target[name]; - copy = options[name]; - - // Prevent never-ending loop - if (target === copy) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if (deep && copy && (jQuery.isPlainObject(copy) || - (copyIsArray = Array.isArray(copy)))) { - - if (copyIsArray) { - copyIsArray = false; - clone = src && Array.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[name] = jQuery.extend(deep, clone, copy); - - // Don't bring in undefined values - } else if (copy !== undefined) { - target[name] = copy; - } - } - } - } - - // Return the modified object - return target; - }; - - jQuery.extend({ - - // Unique for each copy of jQuery on the page - expando: "jQuery" + (version + Math.random()).replace(/\D/g, ""), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function (msg) { - throw new Error(msg); - }, - - noop: function () { - }, - - isPlainObject: function (obj) { - var proto, Ctor; - - // Detect obvious negatives - // Use toString instead of jQuery.type to catch host objects - if (!obj || toString.call(obj) !== "[object Object]") { - return false; - } - - proto = getProto(obj); - - // Objects with no prototype (e.g., `Object.create( null )`) are plain - if (!proto) { - return true; - } - - // Objects with prototype are plain iff they were constructed by a global Object function - Ctor = hasOwn.call(proto, "constructor") && proto.constructor; - return typeof Ctor === "function" && fnToString.call(Ctor) === ObjectFunctionString; - }, - - isEmptyObject: function (obj) { - - /* eslint-disable no-unused-vars */ - // See https://github.com/eslint/eslint/issues/6125 - var name; - - for (name in obj) { - return false; - } - return true; - }, - - // Evaluates a script in a global context - globalEval: function (code) { - DOMEval(code); - }, - - each: function (obj, callback) { - var length, i = 0; - - if (isArrayLike(obj)) { - length = obj.length; - for (; i < length; i++) { - if (callback.call(obj[i], i, obj[i]) === false) { - break; - } - } - } else { - for (i in obj) { - if (callback.call(obj[i], i, obj[i]) === false) { - break; - } - } - } - - return obj; - }, - - // Support: Android <=4.0 only - trim: function (text) { - return text == null ? - "" : - (text + "").replace(rtrim, ""); - }, - - // results is for internal usage only - makeArray: function (arr, results) { - var ret = results || []; - - if (arr != null) { - if (isArrayLike(Object(arr))) { - jQuery.merge(ret, - typeof arr === "string" ? - [arr] : arr - ); - } else { - push.call(ret, arr); - } - } - - return ret; - }, - - inArray: function (elem, arr, i) { - return arr == null ? -1 : indexOf.call(arr, elem, i); - }, - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - merge: function (first, second) { - var len = +second.length, - j = 0, - i = first.length; - - for (; j < len; j++) { - first[i++] = second[j]; - } - - first.length = i; - - return first; - }, - - grep: function (elems, callback, invert) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for (; i < length; i++) { - callbackInverse = !callback(elems[i], i); - if (callbackInverse !== callbackExpect) { - matches.push(elems[i]); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function (elems, callback, arg) { - var length, value, - i = 0, - ret = []; - - // Go through the array, translating each of the items to their new values - if (isArrayLike(elems)) { - length = elems.length; - for (; i < length; i++) { - value = callback(elems[i], i, arg); - - if (value != null) { - ret.push(value); - } - } - - // Go through every key on the object, - } else { - for (i in elems) { - value = callback(elems[i], i, arg); - - if (value != null) { - ret.push(value); - } - } - } - - // Flatten any nested arrays - return concat.apply([], ret); - }, - - // A global GUID counter for objects - guid: 1, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support - }); - - if (typeof Symbol === "function") { - jQuery.fn[Symbol.iterator] = arr[Symbol.iterator]; - } - -// Populate the class2type map - jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), - function (i, name) { - class2type["[object " + name + "]"] = name.toLowerCase(); - }); - - function isArrayLike(obj) { - - // Support: real iOS 8.2 only (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = !!obj && "length" in obj && obj.length, - type = toType(obj); - - if (isFunction(obj) || isWindow(obj)) { - return false; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && (length - 1) in obj; - } - - var Sizzle = - /*! - * Sizzle CSS Selector Engine v2.3.3 - * https://sizzlejs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2016-08-08 - */ - (function (window) { - - var i, - support, - Expr, - getText, - isXML, - tokenize, - compile, - select, - outermostContext, - sortInput, - hasDuplicate, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + 1 * new Date(), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - sortOrder = function (a, b) { - if (a === b) { - hasDuplicate = true; - } - return 0; - }, - - // Instance methods - hasOwn = ({}).hasOwnProperty, - arr = [], - pop = arr.pop, - push_native = arr.push, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf as it's faster than native - // https://jsperf.com/thor-indexof-vs-for/5 - indexOf = function (list, elem) { - var i = 0, - len = list.length; - for (; i < len; i++) { - if (list[i] === elem) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - - // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", - - // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + - // Operator (capture 2) - "*([*^$|!~]?=)" + whitespace + - // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + - "*\\]", - - pseudos = ":(" + identifier + ")(?:\\((" + - // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: - // 1. quoted (capture 3; capture 4 or capture 5) - "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + - // 2. simple (capture 6) - "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + - // 3. anything else (capture 2) - ".*" + - ")\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rwhitespace = new RegExp(whitespace + "+", "g"), - rtrim = new RegExp("^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g"), - - rcomma = new RegExp("^" + whitespace + "*," + whitespace + "*"), - rcombinators = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*"), - - rattributeQuotes = new RegExp("=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g"), - - rpseudo = new RegExp(pseudos), - ridentifier = new RegExp("^" + identifier + "$"), - - matchExpr = { - "ID": new RegExp("^#(" + identifier + ")"), - "CLASS": new RegExp("^\\.(" + identifier + ")"), - "TAG": new RegExp("^(" + identifier + "|[*])"), - "ATTR": new RegExp("^" + attributes), - "PSEUDO": new RegExp("^" + pseudos), - "CHILD": new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i"), - "bool": new RegExp("^(?:" + booleans + ")$", "i"), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp("^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i") - }, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rsibling = /[+~]/, - - // CSS escapes - // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig"), - funescape = function (_, escaped, escapedWhitespace) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - // Support: Firefox<24 - // Workaround erroneous numeric interpretation of +"0x" - return high !== high || escapedWhitespace ? - escaped : - high < 0 ? - // BMP codepoint - String.fromCharCode(high + 0x10000) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00); - }, - - // CSS string/identifier serialization - // https://drafts.csswg.org/cssom/#common-serializing-idioms - rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, - fcssescape = function (ch, asCodePoint) { - if (asCodePoint) { - - // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER - if (ch === "\0") { - return "\uFFFD"; - } - - // Control characters and (dependent upon position) numbers get escaped as code points - return ch.slice(0, -1) + "\\" + ch.charCodeAt(ch.length - 1).toString(16) + " "; - } - - // Other potentially-special ASCII characters get backslash-escaped - return "\\" + ch; - }, - - // Used for iframes - // See setDocument() - // Removing the function wrapper causes a "Permission Denied" - // error in IE - unloadHandler = function () { - setDocument(); - }, - - disabledAncestor = addCombinator( - function (elem) { - return elem.disabled === true && ("form" in elem || "label" in elem); - }, - {dir: "parentNode", next: "legend"} - ); - -// Optimize for push.apply( _, NodeList ) - try { - push.apply( - (arr = slice.call(preferredDoc.childNodes)), - preferredDoc.childNodes - ); - // Support: Android<4.0 - // Detect silently failing push.apply - arr[preferredDoc.childNodes.length].nodeType; - } catch (e) { - push = { - apply: arr.length ? - - // Leverage slice if possible - function (target, els) { - push_native.apply(target, slice.call(els)); - } : - - // Support: IE<9 - // Otherwise append directly - function (target, els) { - var j = target.length, - i = 0; - // Can't trust NodeList.length - while ((target[j++] = els[i++])) { - } - target.length = j - 1; - } - }; - } - - function Sizzle(selector, context, results, seed) { - var m, i, elem, nid, match, groups, newSelector, - newContext = context && context.ownerDocument, - - // nodeType defaults to 9, since context defaults to document - nodeType = context ? context.nodeType : 9; - - results = results || []; - - // Return early from calls with invalid selector or context - if (typeof selector !== "string" || !selector || - nodeType !== 1 && nodeType !== 9 && nodeType !== 11) { - - return results; - } - - // Try to shortcut find operations (as opposed to filters) in HTML documents - if (!seed) { - - if ((context ? context.ownerDocument || context : preferredDoc) !== document) { - setDocument(context); - } - context = context || document; - - if (documentIsHTML) { - - // If the selector is sufficiently simple, try using a "get*By*" DOM method - // (excepting DocumentFragment context, where the methods don't exist) - if (nodeType !== 11 && (match = rquickExpr.exec(selector))) { - - // ID selector - if ((m = match[1])) { - - // Document context - if (nodeType === 9) { - if ((elem = context.getElementById(m))) { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if (elem.id === m) { - results.push(elem); - return results; - } - } else { - return results; - } - - // Element context - } else { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if (newContext && (elem = newContext.getElementById(m)) && - contains(context, elem) && - elem.id === m) { - - results.push(elem); - return results; - } - } - - // Type selector - } else if (match[2]) { - push.apply(results, context.getElementsByTagName(selector)); - return results; - - // Class selector - } else if ((m = match[3]) && support.getElementsByClassName && - context.getElementsByClassName) { - - push.apply(results, context.getElementsByClassName(m)); - return results; - } - } - - // Take advantage of querySelectorAll - if (support.qsa && - !compilerCache[selector + " "] && - (!rbuggyQSA || !rbuggyQSA.test(selector))) { - - if (nodeType !== 1) { - newContext = context; - newSelector = selector; - - // qSA looks outside Element context, which is not what we want - // Thanks to Andrew Dupont for this workaround technique - // Support: IE <=8 - // Exclude object elements - } else if (context.nodeName.toLowerCase() !== "object") { - - // Capture the context ID, setting it first if necessary - if ((nid = context.getAttribute("id"))) { - nid = nid.replace(rcssescape, fcssescape); - } else { - context.setAttribute("id", (nid = expando)); - } - - // Prefix every selector in the list - groups = tokenize(selector); - i = groups.length; - while (i--) { - groups[i] = "#" + nid + " " + toSelector(groups[i]); - } - newSelector = groups.join(","); - - // Expand context for sibling selectors - newContext = rsibling.test(selector) && testContext(context.parentNode) || - context; - } - - if (newSelector) { - try { - push.apply(results, - newContext.querySelectorAll(newSelector) - ); - return results; - } catch (qsaError) { - } finally { - if (nid === expando) { - context.removeAttribute("id"); - } - } - } - } - } - } - - // All others - return select(selector.replace(rtrim, "$1"), context, results, seed); - } - - /** - * Create key-value caches of limited size - * @returns {function(string, object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ - function createCache() { - var keys = []; - - function cache(key, value) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if (keys.push(key + " ") > Expr.cacheLength) { - // Only keep the most recent entries - delete cache[keys.shift()]; - } - return (cache[key + " "] = value); - } - - return cache; - } - - /** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ - function markFunction(fn) { - fn[expando] = true; - return fn; - } - - /** - * Support testing using an element - * @param {Function} fn Passed the created element and returns a boolean result - */ - function assert(fn) { - var el = document.createElement("fieldset"); - - try { - return !!fn(el); - } catch (e) { - return false; - } finally { - // Remove from its parent by default - if (el.parentNode) { - el.parentNode.removeChild(el); - } - // release memory in IE - el = null; - } - } - - /** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ - function addHandle(attrs, handler) { - var arr = attrs.split("|"), - i = arr.length; - - while (i--) { - Expr.attrHandle[arr[i]] = handler; - } - } - - /** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ - function siblingCheck(a, b) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - a.sourceIndex - b.sourceIndex; - - // Use IE sourceIndex if available on both nodes - if (diff) { - return diff; - } - - // Check if b follows a - if (cur) { - while ((cur = cur.nextSibling)) { - if (cur === b) { - return -1; - } - } - } - - return a ? 1 : -1; - } - - /** - * Returns a function to use in pseudos for input types - * @param {String} type - */ - function createInputPseudo(type) { - return function (elem) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; - } - - /** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ - function createButtonPseudo(type) { - return function (elem) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; - } - - /** - * Returns a function to use in pseudos for :enabled/:disabled - * @param {Boolean} disabled true for :disabled; false for :enabled - */ - function createDisabledPseudo(disabled) { - - // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable - return function (elem) { - - // Only certain elements can match :enabled or :disabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled - if ("form" in elem) { - - // Check for inherited disabledness on relevant non-disabled elements: - // * listed form-associated elements in a disabled fieldset - // https://html.spec.whatwg.org/multipage/forms.html#category-listed - // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled - // * option elements in a disabled optgroup - // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled - // All such elements have a "form" property. - if (elem.parentNode && elem.disabled === false) { - - // Option elements defer to a parent optgroup if present - if ("label" in elem) { - if ("label" in elem.parentNode) { - return elem.parentNode.disabled === disabled; - } else { - return elem.disabled === disabled; - } - } - - // Support: IE 6 - 11 - // Use the isDisabled shortcut property to check for disabled fieldset ancestors - return elem.isDisabled === disabled || - - // Where there is no isDisabled, check manually - /* jshint -W018 */ - elem.isDisabled !== !disabled && - disabledAncestor(elem) === disabled; - } - - return elem.disabled === disabled; - - // Try to winnow out elements that can't be disabled before trusting the disabled property. - // Some victims get caught in our net (label, legend, menu, track), but it shouldn't - // even exist on them, let alone have a boolean value. - } else if ("label" in elem) { - return elem.disabled === disabled; - } - - // Remaining elements are neither :enabled nor :disabled - return false; - }; - } - - /** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ - function createPositionalPseudo(fn) { - return markFunction(function (argument) { - argument = +argument; - return markFunction(function (seed, matches) { - var j, - matchIndexes = fn([], seed.length, argument), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while (i--) { - if (seed[(j = matchIndexes[i])]) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); - } - - /** - * Checks a node for validity as a Sizzle context - * @param {Element|Object=} context - * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value - */ - function testContext(context) { - return context && typeof context.getElementsByTagName !== "undefined" && context; - } - -// Expose support vars for convenience - support = Sizzle.support = {}; - - /** - * Detects XML nodes - * @param {Element|Object} elem An element or a document - * @returns {Boolean} True iff elem is a non-HTML XML node - */ - isXML = Sizzle.isXML = function (elem) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; - }; - - /** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ - setDocument = Sizzle.setDocument = function (node) { - var hasCompare, subWindow, - doc = node ? node.ownerDocument || node : preferredDoc; - - // Return early if doc is invalid or already selected - if (doc === document || doc.nodeType !== 9 || !doc.documentElement) { - return document; - } - - // Update global variables - document = doc; - docElem = document.documentElement; - documentIsHTML = !isXML(document); - - // Support: IE 9-11, Edge - // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) - if (preferredDoc !== document && - (subWindow = document.defaultView) && subWindow.top !== subWindow) { - - // Support: IE 11, Edge - if (subWindow.addEventListener) { - subWindow.addEventListener("unload", unloadHandler, false); - - // Support: IE 9 - 10 only - } else if (subWindow.attachEvent) { - subWindow.attachEvent("onunload", unloadHandler); - } - } - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties - // (excepting IE8 booleans) - support.attributes = assert(function (el) { - el.className = "i"; - return !el.getAttribute("className"); - }); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert(function (el) { - el.appendChild(document.createComment("")); - return !el.getElementsByTagName("*").length; - }); - - // Support: IE<9 - support.getElementsByClassName = rnative.test(document.getElementsByClassName); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programmatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert(function (el) { - docElem.appendChild(el).id = expando; - return !document.getElementsByName || !document.getElementsByName(expando).length; - }); - - // ID filter and find - if (support.getById) { - Expr.filter["ID"] = function (id) { - var attrId = id.replace(runescape, funescape); - return function (elem) { - return elem.getAttribute("id") === attrId; - }; - }; - Expr.find["ID"] = function (id, context) { - if (typeof context.getElementById !== "undefined" && documentIsHTML) { - var elem = context.getElementById(id); - return elem ? [elem] : []; - } - }; - } else { - Expr.filter["ID"] = function (id) { - var attrId = id.replace(runescape, funescape); - return function (elem) { - var node = typeof elem.getAttributeNode !== "undefined" && - elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - - // Support: IE 6 - 7 only - // getElementById is not reliable as a find shortcut - Expr.find["ID"] = function (id, context) { - if (typeof context.getElementById !== "undefined" && documentIsHTML) { - var node, i, elems, - elem = context.getElementById(id); - - if (elem) { - - // Verify the id attribute - node = elem.getAttributeNode("id"); - if (node && node.value === id) { - return [elem]; - } - - // Fall back on getElementsByName - elems = context.getElementsByName(id); - i = 0; - while ((elem = elems[i++])) { - node = elem.getAttributeNode("id"); - if (node && node.value === id) { - return [elem]; - } - } - } - - return []; - } - }; - } - - // Tag - Expr.find["TAG"] = support.getElementsByTagName ? - function (tag, context) { - if (typeof context.getElementsByTagName !== "undefined") { - return context.getElementsByTagName(tag); - - // DocumentFragment nodes don't have gEBTN - } else if (support.qsa) { - return context.querySelectorAll(tag); - } - } : - - function (tag, context) { - var elem, - tmp = [], - i = 0, - // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too - results = context.getElementsByTagName(tag); - - // Filter out possible comments - if (tag === "*") { - while ((elem = results[i++])) { - if (elem.nodeType === 1) { - tmp.push(elem); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find["CLASS"] = support.getElementsByClassName && function (className, context) { - if (typeof context.getElementsByClassName !== "undefined" && documentIsHTML) { - return context.getElementsByClassName(className); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See https://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ((support.qsa = rnative.test(document.querySelectorAll))) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function (el) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // https://bugs.jquery.com/ticket/12359 - docElem.appendChild(el).innerHTML = "" + - ""; - - // Support: IE8, Opera 11-12.16 - // Nothing should be selected when empty strings follow ^= or $= or *= - // The test attribute must be unknown in Opera but "safe" for WinRT - // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section - if (el.querySelectorAll("[msallowcapture^='']").length) { - rbuggyQSA.push("[*^$]=" + whitespace + "*(?:''|\"\")"); - } - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if (!el.querySelectorAll("[selected]").length) { - rbuggyQSA.push("\\[" + whitespace + "*(?:value|" + booleans + ")"); - } - - // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ - if (!el.querySelectorAll("[id~=" + expando + "-]").length) { - rbuggyQSA.push("~="); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if (!el.querySelectorAll(":checked").length) { - rbuggyQSA.push(":checked"); - } - - // Support: Safari 8+, iOS 8+ - // https://bugs.webkit.org/show_bug.cgi?id=136851 - // In-page `selector#id sibling-combinator selector` fails - if (!el.querySelectorAll("a#" + expando + "+*").length) { - rbuggyQSA.push(".#.+[+~]"); - } - }); - - assert(function (el) { - el.innerHTML = "" + - ""; - - // Support: Windows 8 Native Apps - // The type and name attributes are restricted during .innerHTML assignment - var input = document.createElement("input"); - input.setAttribute("type", "hidden"); - el.appendChild(input).setAttribute("name", "D"); - - // Support: IE8 - // Enforce case-sensitivity of name attribute - if (el.querySelectorAll("[name=d]").length) { - rbuggyQSA.push("name" + whitespace + "*[*^$|!~]?="); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if (el.querySelectorAll(":enabled").length !== 2) { - rbuggyQSA.push(":enabled", ":disabled"); - } - - // Support: IE9-11+ - // IE's :disabled selector does not pick up the children of disabled fieldsets - docElem.appendChild(el).disabled = true; - if (el.querySelectorAll(":disabled").length !== 2) { - rbuggyQSA.push(":enabled", ":disabled"); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - el.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ((support.matchesSelector = rnative.test((matches = docElem.matches || - docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector)))) { - - assert(function (el) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call(el, "*"); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call(el, "[s!='']:x"); - rbuggyMatches.push("!=", pseudos); - }); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|")); - rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|")); - - /* Contains - ---------------------------------------------------------------------- */ - hasCompare = rnative.test(docElem.compareDocumentPosition); - - // Element contains another - // Purposefully self-exclusive - // As in, an element does not contain itself - contains = hasCompare || rnative.test(docElem.contains) ? - function (a, b) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!(bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains(bup) : - a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16 - )); - } : - function (a, b) { - if (b) { - while ((b = b.parentNode)) { - if (b === a) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = hasCompare ? - function (a, b) { - - // Flag for duplicate removal - if (a === b) { - hasDuplicate = true; - return 0; - } - - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if (compare) { - return compare; - } - - // Calculate position if both inputs belong to the same document - compare = (a.ownerDocument || a) === (b.ownerDocument || b) ? - a.compareDocumentPosition(b) : - - // Otherwise we know they are disconnected - 1; - - // Disconnected nodes - if (compare & 1 || - (!support.sortDetached && b.compareDocumentPosition(a) === compare)) { - - // Choose the first element that is related to our preferred document - if (a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a)) { - return -1; - } - if (b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b)) { - return 1; - } - - // Maintain original order - return sortInput ? - (indexOf(sortInput, a) - indexOf(sortInput, b)) : - 0; - } - - return compare & 4 ? -1 : 1; - } : - function (a, b) { - // Exit early if the nodes are identical - if (a === b) { - hasDuplicate = true; - return 0; - } - - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [a], - bp = [b]; - - // Parentless nodes are either documents or disconnected - if (!aup || !bup) { - return a === document ? -1 : - b === document ? 1 : - aup ? -1 : - bup ? 1 : - sortInput ? - (indexOf(sortInput, a) - indexOf(sortInput, b)) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if (aup === bup) { - return siblingCheck(a, b); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ((cur = cur.parentNode)) { - ap.unshift(cur); - } - cur = b; - while ((cur = cur.parentNode)) { - bp.unshift(cur); - } - - // Walk down the tree looking for a discrepancy - while (ap[i] === bp[i]) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck(ap[i], bp[i]) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - return document; - }; - - Sizzle.matches = function (expr, elements) { - return Sizzle(expr, null, null, elements); - }; - - Sizzle.matchesSelector = function (elem, expr) { - // Set document vars if needed - if ((elem.ownerDocument || elem) !== document) { - setDocument(elem); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace(rattributeQuotes, "='$1']"); - - if (support.matchesSelector && documentIsHTML && - !compilerCache[expr + " "] && - (!rbuggyMatches || !rbuggyMatches.test(expr)) && - (!rbuggyQSA || !rbuggyQSA.test(expr))) { - - try { - var ret = matches.call(elem, expr); - - // IE 9's matchesSelector returns false on disconnected nodes - if (ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11) { - return ret; - } - } catch (e) { - } - } - - return Sizzle(expr, document, null, [elem]).length > 0; - }; - - Sizzle.contains = function (context, elem) { - // Set document vars if needed - if ((context.ownerDocument || context) !== document) { - setDocument(context); - } - return contains(context, elem); - }; - - Sizzle.attr = function (elem, name) { - // Set document vars if needed - if ((elem.ownerDocument || elem) !== document) { - setDocument(elem); - } - - var fn = Expr.attrHandle[name.toLowerCase()], - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ? - fn(elem, name, !documentIsHTML) : - undefined; - - return val !== undefined ? - val : - support.attributes || !documentIsHTML ? - elem.getAttribute(name) : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null; - }; - - Sizzle.escape = function (sel) { - return (sel + "").replace(rcssescape, fcssescape); - }; - - Sizzle.error = function (msg) { - throw new Error("Syntax error, unrecognized expression: " + msg); - }; - - /** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ - Sizzle.uniqueSort = function (results) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice(0); - results.sort(sortOrder); - - if (hasDuplicate) { - while ((elem = results[i++])) { - if (elem === results[i]) { - j = duplicates.push(i); - } - } - while (j--) { - results.splice(duplicates[j], 1); - } - } - - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; - - return results; - }; - - /** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ - getText = Sizzle.getText = function (elem) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if (!nodeType) { - // If no nodeType, this is expected to be an array - while ((node = elem[i++])) { - // Do not traverse comment nodes - ret += getText(node); - } - } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (jQuery #11153) - if (typeof elem.textContent === "string") { - return elem.textContent; - } else { - // Traverse its children - for (elem = elem.firstChild; elem; elem = elem.nextSibling) { - ret += getText(elem); - } - } - } else if (nodeType === 3 || nodeType === 4) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; - }; - - Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": {dir: "parentNode", first: true}, - " ": {dir: "parentNode"}, - "+": {dir: "previousSibling", first: true}, - "~": {dir: "previousSibling"} - }, - - preFilter: { - "ATTR": function (match) { - match[1] = match[1].replace(runescape, funescape); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = (match[3] || match[4] || match[5] || "").replace(runescape, funescape); - - if (match[2] === "~=") { - match[3] = " " + match[3] + " "; - } - - return match.slice(0, 4); - }, - - "CHILD": function (match) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if (match[1].slice(0, 3) === "nth") { - // nth-* requires argument - if (!match[3]) { - Sizzle.error(match[0]); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +(match[4] ? match[5] + (match[6] || 1) : 2 * (match[3] === "even" || match[3] === "odd")); - match[5] = +((match[7] + match[8]) || match[3] === "odd"); - - // other types prohibit arguments - } else if (match[3]) { - Sizzle.error(match[0]); - } - - return match; - }, - - "PSEUDO": function (match) { - var excess, - unquoted = !match[6] && match[2]; - - if (matchExpr["CHILD"].test(match[0])) { - return null; - } - - // Accept quoted arguments as-is - if (match[3]) { - match[2] = match[4] || match[5] || ""; - - // Strip excess characters from unquoted arguments - } else if (unquoted && rpseudo.test(unquoted) && - // Get excess from tokenize (recursively) - (excess = tokenize(unquoted, true)) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf(")", unquoted.length - excess) - unquoted.length)) { - - // excess is a negative index - match[0] = match[0].slice(0, excess); - match[2] = unquoted.slice(0, excess); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice(0, 3); - } - }, - - filter: { - - "TAG": function (nodeNameSelector) { - var nodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase(); - return nodeNameSelector === "*" ? - function () { - return true; - } : - function (elem) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function (className) { - var pattern = classCache[className + " "]; - - return pattern || - (pattern = new RegExp("(^|" + whitespace + ")" + className + "(" + whitespace + "|$)")) && - classCache(className, function (elem) { - return pattern.test(typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || ""); - }); - }, - - "ATTR": function (name, operator, check) { - return function (elem) { - var result = Sizzle.attr(elem, name); - - if (result == null) { - return operator === "!="; - } - if (!operator) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf(check) === 0 : - operator === "*=" ? check && result.indexOf(check) > -1 : - operator === "$=" ? check && result.slice(-check.length) === check : - operator === "~=" ? (" " + result.replace(rwhitespace, " ") + " ").indexOf(check) > -1 : - operator === "|=" ? result === check || result.slice(0, check.length + 1) === check + "-" : - false; - }; - }, - - "CHILD": function (type, what, argument, first, last) { - var simple = type.slice(0, 3) !== "nth", - forward = type.slice(-4) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function (elem) { - return !!elem.parentNode; - } : - - function (elem, context, xml) { - var cache, uniqueCache, outerCache, node, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType, - diff = false; - - if (parent) { - - // :(first|last|only)-(child|of-type) - if (simple) { - while (dir) { - node = elem; - while ((node = node[dir])) { - if (ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1) { - - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [forward ? parent.firstChild : parent.lastChild]; - - // non-xml :nth-child(...) stores cache data on `parent` - if (forward && useCache) { - - // Seek `elem` from a previously-cached index - - // ...in a gzip-friendly way - node = parent; - outerCache = node[expando] || (node[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[node.uniqueID] || - (outerCache[node.uniqueID] = {}); - - cache = uniqueCache[type] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = nodeIndex && cache[2]; - node = nodeIndex && parent.childNodes[nodeIndex]; - - while ((node = ++nodeIndex && node && node[dir] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop())) { - - // When found, cache indexes on `parent` and break - if (node.nodeType === 1 && ++diff && node === elem) { - uniqueCache[type] = [dirruns, nodeIndex, diff]; - break; - } - } - - } else { - // Use previously-cached element index if available - if (useCache) { - // ...in a gzip-friendly way - node = elem; - outerCache = node[expando] || (node[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[node.uniqueID] || - (outerCache[node.uniqueID] = {}); - - cache = uniqueCache[type] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = nodeIndex; - } - - // xml :nth-child(...) - // or :nth-last-child(...) or :nth(-last)?-of-type(...) - if (diff === false) { - // Use the same loop as above to seek `elem` from the start - while ((node = ++nodeIndex && node && node[dir] || - (diff = nodeIndex = 0) || start.pop())) { - - if ((ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1) && - ++diff) { - - // Cache the index of each encountered element - if (useCache) { - outerCache = node[expando] || (node[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[node.uniqueID] || - (outerCache[node.uniqueID] = {}); - - uniqueCache[type] = [dirruns, diff]; - } - - if (node === elem) { - break; - } - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || (diff % first === 0 && diff / first >= 0); - } - }; - }, - - "PSEUDO": function (pseudo, argument) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || - Sizzle.error("unsupported pseudo: " + pseudo); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if (fn[expando]) { - return fn(argument); - } - - // But maintain support for old signatures - if (fn.length > 1) { - args = [pseudo, pseudo, "", argument]; - return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? - markFunction(function (seed, matches) { - var idx, - matched = fn(seed, argument), - i = matched.length; - while (i--) { - idx = indexOf(seed, matched[i]); - seed[idx] = !(matches[idx] = matched[i]); - } - }) : - function (elem) { - return fn(elem, 0, args); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function (selector) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile(selector.replace(rtrim, "$1")); - - return matcher[expando] ? - markFunction(function (seed, matches, context, xml) { - var elem, - unmatched = matcher(seed, null, xml, []), - i = seed.length; - - // Match elements unmatched by `matcher` - while (i--) { - if ((elem = unmatched[i])) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function (elem, context, xml) { - input[0] = elem; - matcher(input, null, xml, results); - // Don't keep the element (issue #299) - input[0] = null; - return !results.pop(); - }; - }), - - "has": markFunction(function (selector) { - return function (elem) { - return Sizzle(selector, elem).length > 0; - }; - }), - - "contains": markFunction(function (text) { - text = text.replace(runescape, funescape); - return function (elem) { - return (elem.textContent || elem.innerText || getText(elem)).indexOf(text) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction(function (lang) { - // lang value must be a valid identifier - if (!ridentifier.test(lang || "")) { - Sizzle.error("unsupported lang: " + lang); - } - lang = lang.replace(runescape, funescape).toLowerCase(); - return function (elem) { - var elemLang; - do { - if ((elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute("xml:lang") || elem.getAttribute("lang"))) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf(lang + "-") === 0; - } - } while ((elem = elem.parentNode) && elem.nodeType === 1); - return false; - }; - }), - - // Miscellaneous - "target": function (elem) { - var hash = window.location && window.location.hash; - return hash && hash.slice(1) === elem.id; - }, - - "root": function (elem) { - return elem === docElem; - }, - - "focus": function (elem) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": createDisabledPseudo(false), - "disabled": createDisabledPseudo(true), - - "checked": function (elem) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function (elem) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if (elem.parentNode) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function (elem) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), - // but not by others (comment: 8; processing instruction: 7; etc.) - // nodeType < 6 works because attributes (2) do not appear as children - for (elem = elem.firstChild; elem; elem = elem.nextSibling) { - if (elem.nodeType < 6) { - return false; - } - } - return true; - }, - - "parent": function (elem) { - return !Expr.pseudos["empty"](elem); - }, - - // Element/input types - "header": function (elem) { - return rheader.test(elem.nodeName); - }, - - "input": function (elem) { - return rinputs.test(elem.nodeName); - }, - - "button": function (elem) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function (elem) { - var attr; - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - - // Support: IE<8 - // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" - ((attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text"); - }, - - // Position-in-collection - "first": createPositionalPseudo(function () { - return [0]; - }), - - "last": createPositionalPseudo(function (matchIndexes, length) { - return [length - 1]; - }), - - "eq": createPositionalPseudo(function (matchIndexes, length, argument) { - return [argument < 0 ? argument + length : argument]; - }), - - "even": createPositionalPseudo(function (matchIndexes, length) { - var i = 0; - for (; i < length; i += 2) { - matchIndexes.push(i); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function (matchIndexes, length) { - var i = 1; - for (; i < length; i += 2) { - matchIndexes.push(i); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function (matchIndexes, length, argument) { - var i = argument < 0 ? argument + length : argument; - for (; --i >= 0;) { - matchIndexes.push(i); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function (matchIndexes, length, argument) { - var i = argument < 0 ? argument + length : argument; - for (; ++i < length;) { - matchIndexes.push(i); - } - return matchIndexes; - }) - } - }; - - Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Add button/input type pseudos - for (i in {radio: true, checkbox: true, file: true, password: true, image: true}) { - Expr.pseudos[i] = createInputPseudo(i); - } - for (i in {submit: true, reset: true}) { - Expr.pseudos[i] = createButtonPseudo(i); - } - -// Easy API for creating new setFilters - function setFilters() { - } - - setFilters.prototype = Expr.filters = Expr.pseudos; - Expr.setFilters = new setFilters(); - - tokenize = Sizzle.tokenize = function (selector, parseOnly) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[selector + " "]; - - if (cached) { - return parseOnly ? 0 : cached.slice(0); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while (soFar) { - - // Comma and first run - if (!matched || (match = rcomma.exec(soFar))) { - if (match) { - // Don't consume trailing commas as valid - soFar = soFar.slice(match[0].length) || soFar; - } - groups.push((tokens = [])); - } - - matched = false; - - // Combinators - if ((match = rcombinators.exec(soFar))) { - matched = match.shift(); - tokens.push({ - value: matched, - // Cast descendant combinators to space - type: match[0].replace(rtrim, " ") - }); - soFar = soFar.slice(matched.length); - } - - // Filters - for (type in Expr.filter) { - if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] || - (match = preFilters[type](match)))) { - matched = match.shift(); - tokens.push({ - value: matched, - type: type, - matches: match - }); - soFar = soFar.slice(matched.length); - } - } - - if (!matched) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error(selector) : - // Cache the tokens - tokenCache(selector, groups).slice(0); - }; - - function toSelector(tokens) { - var i = 0, - len = tokens.length, - selector = ""; - for (; i < len; i++) { - selector += tokens[i].value; - } - return selector; - } - - function addCombinator(matcher, combinator, base) { - var dir = combinator.dir, - skip = combinator.next, - key = skip || dir, - checkNonElements = base && key === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function (elem, context, xml) { - while ((elem = elem[dir])) { - if (elem.nodeType === 1 || checkNonElements) { - return matcher(elem, context, xml); - } - } - return false; - } : - - // Check against all ancestor/preceding elements - function (elem, context, xml) { - var oldCache, uniqueCache, outerCache, - newCache = [dirruns, doneName]; - - // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching - if (xml) { - while ((elem = elem[dir])) { - if (elem.nodeType === 1 || checkNonElements) { - if (matcher(elem, context, xml)) { - return true; - } - } - } - } else { - while ((elem = elem[dir])) { - if (elem.nodeType === 1 || checkNonElements) { - outerCache = elem[expando] || (elem[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[elem.uniqueID] || (outerCache[elem.uniqueID] = {}); - - if (skip && skip === elem.nodeName.toLowerCase()) { - elem = elem[dir] || elem; - } else if ((oldCache = uniqueCache[key]) && - oldCache[0] === dirruns && oldCache[1] === doneName) { - - // Assign to newCache so results back-propagate to previous elements - return (newCache[2] = oldCache[2]); - } else { - // Reuse newcache so results back-propagate to previous elements - uniqueCache[key] = newCache; - - // A match means we're done; a fail means we have to keep checking - if ((newCache[2] = matcher(elem, context, xml))) { - return true; - } - } - } - } - } - return false; - }; - } - - function elementMatcher(matchers) { - return matchers.length > 1 ? - function (elem, context, xml) { - var i = matchers.length; - while (i--) { - if (!matchers[i](elem, context, xml)) { - return false; - } - } - return true; - } : - matchers[0]; - } - - function multipleContexts(selector, contexts, results) { - var i = 0, - len = contexts.length; - for (; i < len; i++) { - Sizzle(selector, contexts[i], results); - } - return results; - } - - function condense(unmatched, map, filter, context, xml) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for (; i < len; i++) { - if ((elem = unmatched[i])) { - if (!filter || filter(elem, context, xml)) { - newUnmatched.push(elem); - if (mapped) { - map.push(i); - } - } - } - } - - return newUnmatched; - } - - function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) { - if (postFilter && !postFilter[expando]) { - postFilter = setMatcher(postFilter); - } - if (postFinder && !postFinder[expando]) { - postFinder = setMatcher(postFinder, postSelector); - } - return markFunction(function (seed, results, context, xml) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts(selector || "*", context.nodeType ? [context] : context, []), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && (seed || !selector) ? - condense(elems, preMap, preFilter, context, xml) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || (seed ? preFilter : preexisting || postFilter) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if (matcher) { - matcher(matcherIn, matcherOut, context, xml); - } - - // Apply postFilter - if (postFilter) { - temp = condense(matcherOut, postMap); - postFilter(temp, [], context, xml); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while (i--) { - if ((elem = temp[i])) { - matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem); - } - } - } - - if (seed) { - if (postFinder || preFilter) { - if (postFinder) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while (i--) { - if ((elem = matcherOut[i])) { - // Restore matcherIn since elem is not yet a final match - temp.push((matcherIn[i] = elem)); - } - } - postFinder(null, (matcherOut = []), temp, xml); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while (i--) { - if ((elem = matcherOut[i]) && - (temp = postFinder ? indexOf(seed, elem) : preMap[i]) > -1) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice(preexisting, matcherOut.length) : - matcherOut - ); - if (postFinder) { - postFinder(null, results, matcherOut, xml); - } else { - push.apply(results, matcherOut); - } - } - }); - } - - function matcherFromTokens(tokens) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[tokens[0].type], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator(function (elem) { - return elem === checkContext; - }, implicitRelative, true), - matchAnyContext = addCombinator(function (elem) { - return indexOf(checkContext, elem) > -1; - }, implicitRelative, true), - matchers = [function (elem, context, xml) { - var ret = (!leadingRelative && (xml || context !== outermostContext)) || ( - (checkContext = context).nodeType ? - matchContext(elem, context, xml) : - matchAnyContext(elem, context, xml)); - // Avoid hanging onto element (issue #299) - checkContext = null; - return ret; - }]; - - for (; i < len; i++) { - if ((matcher = Expr.relative[tokens[i].type])) { - matchers = [addCombinator(elementMatcher(matchers), matcher)]; - } else { - matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches); - - // Return special upon seeing a positional matcher - if (matcher[expando]) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for (; j < len; j++) { - if (Expr.relative[tokens[j].type]) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher(matchers), - i > 1 && toSelector( - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice(0, i - 1).concat({value: tokens[i - 2].type === " " ? "*" : ""}) - ).replace(rtrim, "$1"), - matcher, - i < j && matcherFromTokens(tokens.slice(i, j)), - j < len && matcherFromTokens((tokens = tokens.slice(j))), - j < len && toSelector(tokens) - ); - } - matchers.push(matcher); - } - } - - return elementMatcher(matchers); - } - - function matcherFromGroupMatchers(elementMatchers, setMatchers) { - var bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function (seed, context, xml, results, outermost) { - var elem, j, matcher, - matchedCount = 0, - i = "0", - unmatched = seed && [], - setMatched = [], - contextBackup = outermostContext, - // We must always have either seed elements or outermost context - elems = seed || byElement && Expr.find["TAG"]("*", outermost), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), - len = elems.length; - - if (outermost) { - outermostContext = context === document || context || outermost; - } - - // Add elements passing elementMatchers directly to results - // Support: IE<9, Safari - // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id - for (; i !== len && (elem = elems[i]) != null; i++) { - if (byElement && elem) { - j = 0; - if (!context && elem.ownerDocument !== document) { - setDocument(elem); - xml = !documentIsHTML; - } - while ((matcher = elementMatchers[j++])) { - if (matcher(elem, context || document, xml)) { - results.push(elem); - break; - } - } - if (outermost) { - dirruns = dirrunsUnique; - } - } - - // Track unmatched elements for set filters - if (bySet) { - // They will have gone through all possible matchers - if ((elem = !matcher && elem)) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if (seed) { - unmatched.push(elem); - } - } - } - - // `i` is now the count of elements visited above, and adding it to `matchedCount` - // makes the latter nonnegative. - matchedCount += i; - - // Apply set filters to unmatched elements - // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` - // equals `i`), unless we didn't visit _any_ elements in the above loop because we have - // no element matchers and no seed. - // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that - // case, which will result in a "00" `matchedCount` that differs from `i` but is also - // numerically zero. - if (bySet && i !== matchedCount) { - j = 0; - while ((matcher = setMatchers[j++])) { - matcher(unmatched, setMatched, context, xml); - } - - if (seed) { - // Reintegrate element matches to eliminate the need for sorting - if (matchedCount > 0) { - while (i--) { - if (!(unmatched[i] || setMatched[i])) { - setMatched[i] = pop.call(results); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense(setMatched); - } - - // Add matches to results - push.apply(results, setMatched); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if (outermost && !seed && setMatched.length > 0 && - (matchedCount + setMatchers.length) > 1) { - - Sizzle.uniqueSort(results); - } - } - - // Override manipulation of globals by nested matchers - if (outermost) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction(superMatcher) : - superMatcher; - } - - compile = Sizzle.compile = function (selector, match /* Internal Use Only */) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[selector + " "]; - - if (!cached) { - // Generate a function of recursive functions that can be used to check each element - if (!match) { - match = tokenize(selector); - } - i = match.length; - while (i--) { - cached = matcherFromTokens(match[i]); - if (cached[expando]) { - setMatchers.push(cached); - } else { - elementMatchers.push(cached); - } - } - - // Cache the compiled function - cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers)); - - // Save selector and tokenization - cached.selector = selector; - } - return cached; - }; - - /** - * A low-level selection function that works with Sizzle's compiled - * selector functions - * @param {String|Function} selector A selector or a pre-compiled - * selector function built with Sizzle.compile - * @param {Element} context - * @param {Array} [results] - * @param {Array} [seed] A set of elements to match against - */ - select = Sizzle.select = function (selector, context, results, seed) { - var i, tokens, token, type, find, - compiled = typeof selector === "function" && selector, - match = !seed && tokenize((selector = compiled.selector || selector)); - - results = results || []; - - // Try to minimize operations if there is only one selector in the list and no seed - // (the latter of which guarantees us context) - if (match.length === 1) { - - // Reduce context if the leading compound selector is an ID - tokens = match[0] = match[0].slice(0); - if (tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && documentIsHTML && Expr.relative[tokens[1].type]) { - - context = (Expr.find["ID"](token.matches[0].replace(runescape, funescape), context) || [])[0]; - if (!context) { - return results; - - // Precompiled matchers will still verify ancestry, so step up a level - } else if (compiled) { - context = context.parentNode; - } - - selector = selector.slice(tokens.shift().value.length); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test(selector) ? 0 : tokens.length; - while (i--) { - token = tokens[i]; - - // Abort if we hit a combinator - if (Expr.relative[(type = token.type)]) { - break; - } - if ((find = Expr.find[type])) { - // Search, expanding context for leading sibling combinators - if ((seed = find( - token.matches[0].replace(runescape, funescape), - rsibling.test(tokens[0].type) && testContext(context.parentNode) || context - ))) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice(i, 1); - selector = seed.length && toSelector(tokens); - if (!selector) { - push.apply(results, seed); - return results; - } - - break; - } - } - } - } - - // Compile and execute a filtering function if one is not provided - // Provide `match` to avoid retokenization if we modified the selector above - (compiled || compile(selector, match))( - seed, - context, - !documentIsHTML, - results, - !context || rsibling.test(selector) && testContext(context.parentNode) || context - ); - return results; - }; - -// One-time assignments - -// Sort stability - support.sortStable = expando.split("").sort(sortOrder).join("") === expando; - -// Support: Chrome 14-35+ -// Always assume duplicates if they aren't passed to the comparison function - support.detectDuplicates = !!hasDuplicate; - -// Initialize against the default document - setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* - support.sortDetached = assert(function (el) { - // Should return 1, but returns 4 (following) - return el.compareDocumentPosition(document.createElement("fieldset")) & 1; - }); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx - if (!assert(function (el) { - el.innerHTML = ""; - return el.firstChild.getAttribute("href") === "#"; - })) { - addHandle("type|href|height|width", function (elem, name, isXML) { - if (!isXML) { - return elem.getAttribute(name, name.toLowerCase() === "type" ? 1 : 2); - } - }); - } - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") - if (!support.attributes || !assert(function (el) { - el.innerHTML = ""; - el.firstChild.setAttribute("value", ""); - return el.firstChild.getAttribute("value") === ""; - })) { - addHandle("value", function (elem, name, isXML) { - if (!isXML && elem.nodeName.toLowerCase() === "input") { - return elem.defaultValue; - } - }); - } - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies - if (!assert(function (el) { - return el.getAttribute("disabled") == null; - })) { - addHandle(booleans, function (elem, name, isXML) { - var val; - if (!isXML) { - return elem[name] === true ? name.toLowerCase() : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null; - } - }); - } - - return Sizzle; - - })(window); - - - jQuery.find = Sizzle; - jQuery.expr = Sizzle.selectors; - -// Deprecated - jQuery.expr[":"] = jQuery.expr.pseudos; - jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; - jQuery.text = Sizzle.getText; - jQuery.isXMLDoc = Sizzle.isXML; - jQuery.contains = Sizzle.contains; - jQuery.escapeSelector = Sizzle.escape; - - - var dir = function (elem, dir, until) { - var matched = [], - truncate = until !== undefined; - - while ((elem = elem[dir]) && elem.nodeType !== 9) { - if (elem.nodeType === 1) { - if (truncate && jQuery(elem).is(until)) { - break; - } - matched.push(elem); - } - } - return matched; - }; - - - var siblings = function (n, elem) { - var matched = []; - - for (; n; n = n.nextSibling) { - if (n.nodeType === 1 && n !== elem) { - matched.push(n); - } - } - - return matched; - }; - - - var rneedsContext = jQuery.expr.match.needsContext; - - - function nodeName(elem, name) { - - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - - }; - var rsingleTag = (/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i); - - -// Implement the identical functionality for filter and not - function winnow(elements, qualifier, not) { - if (isFunction(qualifier)) { - return jQuery.grep(elements, function (elem, i) { - return !!qualifier.call(elem, i, elem) !== not; - }); - } - - // Single element - if (qualifier.nodeType) { - return jQuery.grep(elements, function (elem) { - return (elem === qualifier) !== not; - }); - } - - // Arraylike of elements (jQuery, arguments, Array) - if (typeof qualifier !== "string") { - return jQuery.grep(elements, function (elem) { - return (indexOf.call(qualifier, elem) > -1) !== not; - }); - } - - // Filtered directly for both simple and complex selectors - return jQuery.filter(qualifier, elements, not); - } - - jQuery.filter = function (expr, elems, not) { - var elem = elems[0]; - - if (not) { - expr = ":not(" + expr + ")"; - } - - if (elems.length === 1 && elem.nodeType === 1) { - return jQuery.find.matchesSelector(elem, expr) ? [elem] : []; - } - - return jQuery.find.matches(expr, jQuery.grep(elems, function (elem) { - return elem.nodeType === 1; - })); - }; - - jQuery.fn.extend({ - find: function (selector) { - var i, ret, - len = this.length, - self = this; - - if (typeof selector !== "string") { - return this.pushStack(jQuery(selector).filter(function () { - for (i = 0; i < len; i++) { - if (jQuery.contains(self[i], this)) { - return true; - } - } - })); - } - - ret = this.pushStack([]); - - for (i = 0; i < len; i++) { - jQuery.find(selector, self[i], ret); - } - - return len > 1 ? jQuery.uniqueSort(ret) : ret; - }, - filter: function (selector) { - return this.pushStack(winnow(this, selector || [], false)); - }, - not: function (selector) { - return this.pushStack(winnow(this, selector || [], true)); - }, - is: function (selector) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test(selector) ? - jQuery(selector) : - selector || [], - false - ).length; - } - }); - - -// Initialize a jQuery object - - -// A central reference to the root jQuery(document) - var rootjQuery, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - // Shortcut simple #id case for speed - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, - - init = jQuery.fn.init = function (selector, context, root) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if (!selector) { - return this; - } - - // Method init() accepts an alternate rootjQuery - // so migrate can support jQuery.sub (gh-2101) - root = root || rootjQuery; - - // Handle HTML strings - if (typeof selector === "string") { - if (selector[0] === "<" && - selector[selector.length - 1] === ">" && - selector.length >= 3) { - - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [null, selector, null]; - - } else { - match = rquickExpr.exec(selector); - } - - // Match html or make sure no context is specified for #id - if (match && (match[1] || !context)) { - - // HANDLE: $(html) -> $(array) - if (match[1]) { - context = context instanceof jQuery ? context[0] : context; - - // Option to run scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge(this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - )); - - // HANDLE: $(html, props) - if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) { - for (match in context) { - - // Properties of context are called as methods if possible - if (isFunction(this[match])) { - this[match](context[match]); - - // ...and otherwise set as attributes - } else { - this.attr(match, context[match]); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById(match[2]); - - if (elem) { - - // Inject the element directly into the jQuery object - this[0] = elem; - this.length = 1; - } - return this; - } - - // HANDLE: $(expr, $(...)) - } else if (!context || context.jquery) { - return (context || root).find(selector); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor(context).find(selector); - } - - // HANDLE: $(DOMElement) - } else if (selector.nodeType) { - this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if (isFunction(selector)) { - return root.ready !== undefined ? - root.ready(selector) : - - // Execute immediately if ready is not present - selector(jQuery); - } - - return jQuery.makeArray(selector, this); - }; - -// Give the init function the jQuery prototype for later instantiation - init.prototype = jQuery.fn; - -// Initialize central reference - rootjQuery = jQuery(document); - - - var rparentsprev = /^(?:parents|prev(?:Until|All))/, - - // Methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - - jQuery.fn.extend({ - has: function (target) { - var targets = jQuery(target, this), - l = targets.length; - - return this.filter(function () { - var i = 0; - for (; i < l; i++) { - if (jQuery.contains(this, targets[i])) { - return true; - } - } - }); - }, - - closest: function (selectors, context) { - var cur, - i = 0, - l = this.length, - matched = [], - targets = typeof selectors !== "string" && jQuery(selectors); - - // Positional selectors never match, since there's no _selection_ context - if (!rneedsContext.test(selectors)) { - for (; i < l; i++) { - for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) { - - // Always skip document fragments - if (cur.nodeType < 11 && (targets ? - targets.index(cur) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector(cur, selectors))) { - - matched.push(cur); - break; - } - } - } - } - - return this.pushStack(matched.length > 1 ? jQuery.uniqueSort(matched) : matched); - }, - - // Determine the position of an element within the set - index: function (elem) { - - // No argument, return index in parent - if (!elem) { - return (this[0] && this[0].parentNode) ? this.first().prevAll().length : -1; - } - - // Index in selector - if (typeof elem === "string") { - return indexOf.call(jQuery(elem), this[0]); - } - - // Locate the position of the desired element - return indexOf.call(this, - - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem - ); - }, - - add: function (selector, context) { - return this.pushStack( - jQuery.uniqueSort( - jQuery.merge(this.get(), jQuery(selector, context)) - ) - ); - }, - - addBack: function (selector) { - return this.add(selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } - }); - - function sibling(cur, dir) { - while ((cur = cur[dir]) && cur.nodeType !== 1) { - } - return cur; - } - - jQuery.each({ - parent: function (elem) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function (elem) { - return dir(elem, "parentNode"); - }, - parentsUntil: function (elem, i, until) { - return dir(elem, "parentNode", until); - }, - next: function (elem) { - return sibling(elem, "nextSibling"); - }, - prev: function (elem) { - return sibling(elem, "previousSibling"); - }, - nextAll: function (elem) { - return dir(elem, "nextSibling"); - }, - prevAll: function (elem) { - return dir(elem, "previousSibling"); - }, - nextUntil: function (elem, i, until) { - return dir(elem, "nextSibling", until); - }, - prevUntil: function (elem, i, until) { - return dir(elem, "previousSibling", until); - }, - siblings: function (elem) { - return siblings((elem.parentNode || {}).firstChild, elem); - }, - children: function (elem) { - return siblings(elem.firstChild); - }, - contents: function (elem) { - if (nodeName(elem, "iframe")) { - return elem.contentDocument; - } - - // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only - // Treat the template element as a regular one in browsers that - // don't support it. - if (nodeName(elem, "template")) { - elem = elem.content || elem; - } - - return jQuery.merge([], elem.childNodes); - } - }, function (name, fn) { - jQuery.fn[name] = function (until, selector) { - var matched = jQuery.map(this, fn, until); - - if (name.slice(-5) !== "Until") { - selector = until; - } - - if (selector && typeof selector === "string") { - matched = jQuery.filter(selector, matched); - } - - if (this.length > 1) { - - // Remove duplicates - if (!guaranteedUnique[name]) { - jQuery.uniqueSort(matched); - } - - // Reverse order for parents* and prev-derivatives - if (rparentsprev.test(name)) { - matched.reverse(); - } - } - - return this.pushStack(matched); - }; - }); - var rnothtmlwhite = (/[^\x20\t\r\n\f]+/g); - - -// Convert String-formatted options into Object-formatted ones - function createOptions(options) { - var object = {}; - jQuery.each(options.match(rnothtmlwhite) || [], function (_, flag) { - object[flag] = true; - }); - return object; - } - - /* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ - jQuery.Callbacks = function (options) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - createOptions(options) : - jQuery.extend({}, options); - - var // Flag to know if list is currently firing - firing, - - // Last fire value for non-forgettable lists - memory, - - // Flag to know if list was already fired - fired, - - // Flag to prevent firing - locked, - - // Actual callback list - list = [], - - // Queue of execution data for repeatable lists - queue = [], - - // Index of currently firing callback (modified by add/remove as needed) - firingIndex = -1, - - // Fire callbacks - fire = function () { - - // Enforce single-firing - locked = locked || options.once; - - // Execute callbacks for all pending executions, - // respecting firingIndex overrides and runtime changes - fired = firing = true; - for (; queue.length; firingIndex = -1) { - memory = queue.shift(); - while (++firingIndex < list.length) { - - // Run callback and check for early termination - if (list[firingIndex].apply(memory[0], memory[1]) === false && - options.stopOnFalse) { - - // Jump to end and forget the data so .add doesn't re-fire - firingIndex = list.length; - memory = false; - } - } - } - - // Forget the data if we're done with it - if (!options.memory) { - memory = false; - } - - firing = false; - - // Clean up if we're done firing for good - if (locked) { - - // Keep an empty list if we have data for future add calls - if (memory) { - list = []; - - // Otherwise, this object is spent - } else { - list = ""; - } - } - }, - - // Actual Callbacks object - self = { - - // Add a callback or a collection of callbacks to the list - add: function () { - if (list) { - - // If we have memory from a past run, we should fire after adding - if (memory && !firing) { - firingIndex = list.length - 1; - queue.push(memory); - } - - (function add(args) { - jQuery.each(args, function (_, arg) { - if (isFunction(arg)) { - if (!options.unique || !self.has(arg)) { - list.push(arg); - } - } else if (arg && arg.length && toType(arg) !== "string") { - - // Inspect recursively - add(arg); - } - }); - })(arguments); - - if (memory && !firing) { - fire(); - } - } - return this; - }, - - // Remove a callback from the list - remove: function () { - jQuery.each(arguments, function (_, arg) { - var index; - while ((index = jQuery.inArray(arg, list, index)) > -1) { - list.splice(index, 1); - - // Handle firing indexes - if (index <= firingIndex) { - firingIndex--; - } - } - }); - return this; - }, - - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function (fn) { - return fn ? - jQuery.inArray(fn, list) > -1 : - list.length > 0; - }, - - // Remove all callbacks from the list - empty: function () { - if (list) { - list = []; - } - return this; - }, - - // Disable .fire and .add - // Abort any current/pending executions - // Clear all callbacks and values - disable: function () { - locked = queue = []; - list = memory = ""; - return this; - }, - disabled: function () { - return !list; - }, - - // Disable .fire - // Also disable .add unless we have memory (since it would have no effect) - // Abort any pending executions - lock: function () { - locked = queue = []; - if (!memory && !firing) { - list = memory = ""; - } - return this; - }, - locked: function () { - return !!locked; - }, - - // Call all callbacks with the given context and arguments - fireWith: function (context, args) { - if (!locked) { - args = args || []; - args = [context, args.slice ? args.slice() : args]; - queue.push(args); - if (!firing) { - fire(); - } - } - return this; - }, - - // Call all the callbacks with the given arguments - fire: function () { - self.fireWith(this, arguments); - return this; - }, - - // To know if the callbacks have already been called at least once - fired: function () { - return !!fired; - } - }; - - return self; - }; - - - function Identity(v) { - return v; - } - - function Thrower(ex) { - throw ex; - } - - function adoptValue(value, resolve, reject, noValue) { - var method; - - try { - - // Check for promise aspect first to privilege synchronous behavior - if (value && isFunction((method = value.promise))) { - method.call(value).done(resolve).fail(reject); - - // Other thenables - } else if (value && isFunction((method = value.then))) { - method.call(value, resolve, reject); - - // Other non-thenables - } else { - - // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: - // * false: [ value ].slice( 0 ) => resolve( value ) - // * true: [ value ].slice( 1 ) => resolve() - resolve.apply(undefined, [value].slice(noValue)); - } - - // For Promises/A+, convert exceptions into rejections - // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in - // Deferred#then to conditionally suppress rejection. - } catch (value) { - - // Support: Android 4.0 only - // Strict mode functions invoked without .call/.apply get global-object context - reject.apply(undefined, [value]); - } - } - - jQuery.extend({ - - Deferred: function (func) { - var tuples = [ - - // action, add listener, callbacks, - // ... .then handlers, argument index, [final state] - ["notify", "progress", jQuery.Callbacks("memory"), - jQuery.Callbacks("memory"), 2], - ["resolve", "done", jQuery.Callbacks("once memory"), - jQuery.Callbacks("once memory"), 0, "resolved"], - ["reject", "fail", jQuery.Callbacks("once memory"), - jQuery.Callbacks("once memory"), 1, "rejected"] - ], - state = "pending", - promise = { - state: function () { - return state; - }, - always: function () { - deferred.done(arguments).fail(arguments); - return this; - }, - "catch": function (fn) { - return promise.then(null, fn); - }, - - // Keep pipe for back-compat - pipe: function ( /* fnDone, fnFail, fnProgress */) { - var fns = arguments; - - return jQuery.Deferred(function (newDefer) { - jQuery.each(tuples, function (i, tuple) { - - // Map tuples (progress, done, fail) to arguments (done, fail, progress) - var fn = isFunction(fns[tuple[4]]) && fns[tuple[4]]; - - // deferred.progress(function() { bind to newDefer or newDefer.notify }) - // deferred.done(function() { bind to newDefer or newDefer.resolve }) - // deferred.fail(function() { bind to newDefer or newDefer.reject }) - deferred[tuple[1]](function () { - var returned = fn && fn.apply(this, arguments); - if (returned && isFunction(returned.promise)) { - returned.promise() - .progress(newDefer.notify) - .done(newDefer.resolve) - .fail(newDefer.reject); - } else { - newDefer[tuple[0] + "With"]( - this, - fn ? [returned] : arguments - ); - } - }); - }); - fns = null; - }).promise(); - }, - then: function (onFulfilled, onRejected, onProgress) { - var maxDepth = 0; - - function resolve(depth, deferred, handler, special) { - return function () { - var that = this, - args = arguments, - mightThrow = function () { - var returned, then; - - // Support: Promises/A+ section 2.3.3.3.3 - // https://promisesaplus.com/#point-59 - // Ignore double-resolution attempts - if (depth < maxDepth) { - return; - } - - returned = handler.apply(that, args); - - // Support: Promises/A+ section 2.3.1 - // https://promisesaplus.com/#point-48 - if (returned === deferred.promise()) { - throw new TypeError("Thenable self-resolution"); - } - - // Support: Promises/A+ sections 2.3.3.1, 3.5 - // https://promisesaplus.com/#point-54 - // https://promisesaplus.com/#point-75 - // Retrieve `then` only once - then = returned && - - // Support: Promises/A+ section 2.3.4 - // https://promisesaplus.com/#point-64 - // Only check objects and functions for thenability - (typeof returned === "object" || - typeof returned === "function") && - returned.then; - - // Handle a returned thenable - if (isFunction(then)) { - - // Special processors (notify) just wait for resolution - if (special) { - then.call( - returned, - resolve(maxDepth, deferred, Identity, special), - resolve(maxDepth, deferred, Thrower, special) - ); - - // Normal processors (resolve) also hook into progress - } else { - - // ...and disregard older resolution values - maxDepth++; - - then.call( - returned, - resolve(maxDepth, deferred, Identity, special), - resolve(maxDepth, deferred, Thrower, special), - resolve(maxDepth, deferred, Identity, - deferred.notifyWith) - ); - } - - // Handle all other returned values - } else { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if (handler !== Identity) { - that = undefined; - args = [returned]; - } - - // Process the value(s) - // Default process is resolve - (special || deferred.resolveWith)(that, args); - } - }, - - // Only normal processors (resolve) catch and reject exceptions - process = special ? - mightThrow : - function () { - try { - mightThrow(); - } catch (e) { - - if (jQuery.Deferred.exceptionHook) { - jQuery.Deferred.exceptionHook(e, - process.stackTrace); - } - - // Support: Promises/A+ section 2.3.3.3.4.1 - // https://promisesaplus.com/#point-61 - // Ignore post-resolution exceptions - if (depth + 1 >= maxDepth) { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if (handler !== Thrower) { - that = undefined; - args = [e]; - } - - deferred.rejectWith(that, args); - } - } - }; - - // Support: Promises/A+ section 2.3.3.3.1 - // https://promisesaplus.com/#point-57 - // Re-resolve promises immediately to dodge false rejection from - // subsequent errors - if (depth) { - process(); - } else { - - // Call an optional hook to record the stack, in case of exception - // since it's otherwise lost when execution goes async - if (jQuery.Deferred.getStackHook) { - process.stackTrace = jQuery.Deferred.getStackHook(); - } - window.setTimeout(process); - } - }; - } - - return jQuery.Deferred(function (newDefer) { - - // progress_handlers.add( ... ) - tuples[0][3].add( - resolve( - 0, - newDefer, - isFunction(onProgress) ? - onProgress : - Identity, - newDefer.notifyWith - ) - ); - - // fulfilled_handlers.add( ... ) - tuples[1][3].add( - resolve( - 0, - newDefer, - isFunction(onFulfilled) ? - onFulfilled : - Identity - ) - ); - - // rejected_handlers.add( ... ) - tuples[2][3].add( - resolve( - 0, - newDefer, - isFunction(onRejected) ? - onRejected : - Thrower - ) - ); - }).promise(); - }, - - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function (obj) { - return obj != null ? jQuery.extend(obj, promise) : promise; - } - }, - deferred = {}; - - // Add list-specific methods - jQuery.each(tuples, function (i, tuple) { - var list = tuple[2], - stateString = tuple[5]; - - // promise.progress = list.add - // promise.done = list.add - // promise.fail = list.add - promise[tuple[1]] = list.add; - - // Handle state - if (stateString) { - list.add( - function () { - - // state = "resolved" (i.e., fulfilled) - // state = "rejected" - state = stateString; - }, - - // rejected_callbacks.disable - // fulfilled_callbacks.disable - tuples[3 - i][2].disable, - - // rejected_handlers.disable - // fulfilled_handlers.disable - tuples[3 - i][3].disable, - - // progress_callbacks.lock - tuples[0][2].lock, - - // progress_handlers.lock - tuples[0][3].lock - ); - } - - // progress_handlers.fire - // fulfilled_handlers.fire - // rejected_handlers.fire - list.add(tuple[3].fire); - - // deferred.notify = function() { deferred.notifyWith(...) } - // deferred.resolve = function() { deferred.resolveWith(...) } - // deferred.reject = function() { deferred.rejectWith(...) } - deferred[tuple[0]] = function () { - deferred[tuple[0] + "With"](this === deferred ? undefined : this, arguments); - return this; - }; - - // deferred.notifyWith = list.fireWith - // deferred.resolveWith = list.fireWith - // deferred.rejectWith = list.fireWith - deferred[tuple[0] + "With"] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise(deferred); - - // Call given func if any - if (func) { - func.call(deferred, deferred); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function (singleValue) { - var - - // count of uncompleted subordinates - remaining = arguments.length, - - // count of unprocessed arguments - i = remaining, - - // subordinate fulfillment data - resolveContexts = Array(i), - resolveValues = slice.call(arguments), - - // the master Deferred - master = jQuery.Deferred(), - - // subordinate callback factory - updateFunc = function (i) { - return function (value) { - resolveContexts[i] = this; - resolveValues[i] = arguments.length > 1 ? slice.call(arguments) : value; - if (!(--remaining)) { - master.resolveWith(resolveContexts, resolveValues); - } - }; - }; - - // Single- and empty arguments are adopted like Promise.resolve - if (remaining <= 1) { - adoptValue(singleValue, master.done(updateFunc(i)).resolve, master.reject, - !remaining); - - // Use .then() to unwrap secondary thenables (cf. gh-3000) - if (master.state() === "pending" || - isFunction(resolveValues[i] && resolveValues[i].then)) { - - return master.then(); - } - } - - // Multiple arguments are aggregated like Promise.all array elements - while (i--) { - adoptValue(resolveValues[i], updateFunc(i), master.reject); - } - - return master.promise(); - } - }); - - -// These usually indicate a programmer mistake during development, -// warn about them ASAP rather than swallowing them by default. - var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; - - jQuery.Deferred.exceptionHook = function (error, stack) { - - // Support: IE 8 - 9 only - // Console exists when dev tools are open, which can happen at any time - if (window.console && window.console.warn && error && rerrorNames.test(error.name)) { - window.console.warn("jQuery.Deferred exception: " + error.message, error.stack, stack); - } - }; - - - jQuery.readyException = function (error) { - window.setTimeout(function () { - throw error; - }); - }; - - -// The deferred used on DOM ready - var readyList = jQuery.Deferred(); - - jQuery.fn.ready = function (fn) { - - readyList - .then(fn) - - // Wrap jQuery.readyException in a function so that the lookup - // happens at the time of error handling instead of callback - // registration. - .catch(function (error) { - jQuery.readyException(error); - }); - - return this; - }; - - jQuery.extend({ - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Handle when the DOM is ready - ready: function (wait) { - - // Abort if there are pending holds or we're already ready - if (wait === true ? --jQuery.readyWait : jQuery.isReady) { - return; - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if (wait !== true && --jQuery.readyWait > 0) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith(document, [jQuery]); - } - }); - - jQuery.ready.then = readyList.then; - -// The ready event handler and self cleanup method - function completed() { - document.removeEventListener("DOMContentLoaded", completed); - window.removeEventListener("load", completed); - jQuery.ready(); - } - -// Catch cases where $(document).ready() is called -// after the browser event has already occurred. -// Support: IE <=9 - 10 only -// Older IE sometimes signals "interactive" too soon - if (document.readyState === "complete" || - (document.readyState !== "loading" && !document.documentElement.doScroll)) { - - // Handle it asynchronously to allow scripts the opportunity to delay ready - window.setTimeout(jQuery.ready); - - } else { - - // Use the handy event callback - document.addEventListener("DOMContentLoaded", completed); - - // A fallback to window.onload, that will always work - window.addEventListener("load", completed); - } - - -// Multifunctional method to get and set values of a collection -// The value/s can optionally be executed if it's a function - var access = function (elems, fn, key, value, chainable, emptyGet, raw) { - var i = 0, - len = elems.length, - bulk = key == null; - - // Sets many values - if (toType(key) === "object") { - chainable = true; - for (i in key) { - access(elems, fn, i, key[i], true, emptyGet, raw); - } - - // Sets one value - } else if (value !== undefined) { - chainable = true; - - if (!isFunction(value)) { - raw = true; - } - - if (bulk) { - - // Bulk operations run against the entire set - if (raw) { - fn.call(elems, value); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function (elem, key, value) { - return bulk.call(jQuery(elem), value); - }; - } - } - - if (fn) { - for (; i < len; i++) { - fn( - elems[i], key, raw ? - value : - value.call(elems[i], i, fn(elems[i], key)) - ); - } - } - } - - if (chainable) { - return elems; - } - - // Gets - if (bulk) { - return fn.call(elems); - } - - return len ? fn(elems[0], key) : emptyGet; - }; - - -// Matches dashed string for camelizing - var rmsPrefix = /^-ms-/, - rdashAlpha = /-([a-z])/g; - -// Used by camelCase as callback to replace() - function fcamelCase(all, letter) { - return letter.toUpperCase(); - } - -// Convert dashed to camelCase; used by the css and data modules -// Support: IE <=9 - 11, Edge 12 - 15 -// Microsoft forgot to hump their vendor prefix (#9572) - function camelCase(string) { - return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase); - } - - var acceptData = function (owner) { - - // Accepts only: - // - Node - // - Node.ELEMENT_NODE - // - Node.DOCUMENT_NODE - // - Object - // - Any - return owner.nodeType === 1 || owner.nodeType === 9 || !(+owner.nodeType); - }; - - - function Data() { - this.expando = jQuery.expando + Data.uid++; - } - - Data.uid = 1; - - Data.prototype = { - - cache: function (owner) { - - // Check if the owner object already has a cache - var value = owner[this.expando]; - - // If not, create one - if (!value) { - value = {}; - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if (acceptData(owner)) { - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if (owner.nodeType) { - owner[this.expando] = value; - - // Otherwise secure it in a non-enumerable property - // configurable must be true to allow the property to be - // deleted when data is removed - } else { - Object.defineProperty(owner, this.expando, { - value: value, - configurable: true - }); - } - } - } - - return value; - }, - set: function (owner, data, value) { - var prop, - cache = this.cache(owner); - - // Handle: [ owner, key, value ] args - // Always use camelCase key (gh-2257) - if (typeof data === "string") { - cache[camelCase(data)] = value; - - // Handle: [ owner, { properties } ] args - } else { - - // Copy the properties one-by-one to the cache object - for (prop in data) { - cache[camelCase(prop)] = data[prop]; - } - } - return cache; - }, - get: function (owner, key) { - return key === undefined ? - this.cache(owner) : - - // Always use camelCase key (gh-2257) - owner[this.expando] && owner[this.expando][camelCase(key)]; - }, - access: function (owner, key, value) { - - // In cases where either: - // - // 1. No key was specified - // 2. A string key was specified, but no value provided - // - // Take the "read" path and allow the get method to determine - // which value to return, respectively either: - // - // 1. The entire cache object - // 2. The data stored at the key - // - if (key === undefined || - ((key && typeof key === "string") && value === undefined)) { - - return this.get(owner, key); - } - - // When the key is not a string, or both a key and value - // are specified, set or extend (existing objects) with either: - // - // 1. An object of properties - // 2. A key and value - // - this.set(owner, key, value); - - // Since the "set" path can have two possible entry points - // return the expected data based on which path was taken[*] - return value !== undefined ? value : key; - }, - remove: function (owner, key) { - var i, - cache = owner[this.expando]; - - if (cache === undefined) { - return; - } - - if (key !== undefined) { - - // Support array or space separated string of keys - if (Array.isArray(key)) { - - // If key is an array of keys... - // We always set camelCase keys, so remove that. - key = key.map(camelCase); - } else { - key = camelCase(key); - - // If a key with the spaces exists, use it. - // Otherwise, create an array by matching non-whitespace - key = key in cache ? - [key] : - (key.match(rnothtmlwhite) || []); - } - - i = key.length; - - while (i--) { - delete cache[key[i]]; - } - } - - // Remove the expando if there's no more data - if (key === undefined || jQuery.isEmptyObject(cache)) { - - // Support: Chrome <=35 - 45 - // Webkit & Blink performance suffers when deleting properties - // from DOM nodes, so set to undefined instead - // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) - if (owner.nodeType) { - owner[this.expando] = undefined; - } else { - delete owner[this.expando]; - } - } - }, - hasData: function (owner) { - var cache = owner[this.expando]; - return cache !== undefined && !jQuery.isEmptyObject(cache); - } - }; - var dataPriv = new Data(); - - var dataUser = new Data(); - - -// Implementation Summary -// -// 1. Enforce API surface and semantic compatibility with 1.9.x branch -// 2. Improve the module's maintainability by reducing the storage -// paths to a single mechanism. -// 3. Use the same single mechanism to support "private" and "user" data. -// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) -// 5. Avoid exposing implementation details on user objects (eg. expando properties) -// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 - - var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /[A-Z]/g; - - function getData(data) { - if (data === "true") { - return true; - } - - if (data === "false") { - return false; - } - - if (data === "null") { - return null; - } - - // Only convert to a number if it doesn't change the string - if (data === +data + "") { - return +data; - } - - if (rbrace.test(data)) { - return JSON.parse(data); - } - - return data; - } - - function dataAttr(elem, key, data) { - var name; - - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if (data === undefined && elem.nodeType === 1) { - name = "data-" + key.replace(rmultiDash, "-$&").toLowerCase(); - data = elem.getAttribute(name); - - if (typeof data === "string") { - try { - data = getData(data); - } catch (e) { - } - - // Make sure we set the data so it isn't changed later - dataUser.set(elem, key, data); - } else { - data = undefined; - } - } - return data; - } - - jQuery.extend({ - hasData: function (elem) { - return dataUser.hasData(elem) || dataPriv.hasData(elem); - }, - - data: function (elem, name, data) { - return dataUser.access(elem, name, data); - }, - - removeData: function (elem, name) { - dataUser.remove(elem, name); - }, - - // TODO: Now that all calls to _data and _removeData have been replaced - // with direct calls to dataPriv methods, these can be deprecated. - _data: function (elem, name, data) { - return dataPriv.access(elem, name, data); - }, - - _removeData: function (elem, name) { - dataPriv.remove(elem, name); - } - }); - - jQuery.fn.extend({ - data: function (key, value) { - var i, name, data, - elem = this[0], - attrs = elem && elem.attributes; - - // Gets all values - if (key === undefined) { - if (this.length) { - data = dataUser.get(elem); - - if (elem.nodeType === 1 && !dataPriv.get(elem, "hasDataAttrs")) { - i = attrs.length; - while (i--) { - - // Support: IE 11 only - // The attrs elements can be null (#14894) - if (attrs[i]) { - name = attrs[i].name; - if (name.indexOf("data-") === 0) { - name = camelCase(name.slice(5)); - dataAttr(elem, name, data[name]); - } - } - } - dataPriv.set(elem, "hasDataAttrs", true); - } - } - - return data; - } - - // Sets multiple values - if (typeof key === "object") { - return this.each(function () { - dataUser.set(this, key); - }); - } - - return access(this, function (value) { - var data; - - // The calling jQuery object (element matches) is not empty - // (and therefore has an element appears at this[ 0 ]) and the - // `value` parameter was not undefined. An empty jQuery object - // will result in `undefined` for elem = this[ 0 ] which will - // throw an exception if an attempt to read a data cache is made. - if (elem && value === undefined) { - - // Attempt to get data from the cache - // The key will always be camelCased in Data - data = dataUser.get(elem, key); - if (data !== undefined) { - return data; - } - - // Attempt to "discover" the data in - // HTML5 custom data-* attrs - data = dataAttr(elem, key); - if (data !== undefined) { - return data; - } - - // We tried really hard, but the data doesn't exist. - return; - } - - // Set the data... - this.each(function () { - - // We always store the camelCased key - dataUser.set(this, key, value); - }); - }, null, value, arguments.length > 1, null, true); - }, - - removeData: function (key) { - return this.each(function () { - dataUser.remove(this, key); - }); - } - }); - - - jQuery.extend({ - queue: function (elem, type, data) { - var queue; - - if (elem) { - type = (type || "fx") + "queue"; - queue = dataPriv.get(elem, type); - - // Speed up dequeue by getting out quickly if this is just a lookup - if (data) { - if (!queue || Array.isArray(data)) { - queue = dataPriv.access(elem, type, jQuery.makeArray(data)); - } else { - queue.push(data); - } - } - return queue || []; - } - }, - - dequeue: function (elem, type) { - type = type || "fx"; - - var queue = jQuery.queue(elem, type), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks(elem, type), - next = function () { - jQuery.dequeue(elem, type); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if (fn === "inprogress") { - fn = queue.shift(); - startLength--; - } - - if (fn) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if (type === "fx") { - queue.unshift("inprogress"); - } - - // Clear up the last queue stop function - delete hooks.stop; - fn.call(elem, next, hooks); - } - - if (!startLength && hooks) { - hooks.empty.fire(); - } - }, - - // Not public - generate a queueHooks object, or return the current one - _queueHooks: function (elem, type) { - var key = type + "queueHooks"; - return dataPriv.get(elem, key) || dataPriv.access(elem, key, { - empty: jQuery.Callbacks("once memory").add(function () { - dataPriv.remove(elem, [type + "queue", key]); - }) - }); - } - }); - - jQuery.fn.extend({ - queue: function (type, data) { - var setter = 2; - - if (typeof type !== "string") { - data = type; - type = "fx"; - setter--; - } - - if (arguments.length < setter) { - return jQuery.queue(this[0], type); - } - - return data === undefined ? - this : - this.each(function () { - var queue = jQuery.queue(this, type, data); - - // Ensure a hooks for this queue - jQuery._queueHooks(this, type); - - if (type === "fx" && queue[0] !== "inprogress") { - jQuery.dequeue(this, type); - } - }); - }, - dequeue: function (type) { - return this.each(function () { - jQuery.dequeue(this, type); - }); - }, - clearQueue: function (type) { - return this.queue(type || "fx", []); - }, - - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function (type, obj) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function () { - if (!(--count)) { - defer.resolveWith(elements, [elements]); - } - }; - - if (typeof type !== "string") { - obj = type; - type = undefined; - } - type = type || "fx"; - - while (i--) { - tmp = dataPriv.get(elements[i], type + "queueHooks"); - if (tmp && tmp.empty) { - count++; - tmp.empty.add(resolve); - } - } - resolve(); - return defer.promise(obj); - } - }); - var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; - - var rcssNum = new RegExp("^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i"); - - - var cssExpand = ["Top", "Right", "Bottom", "Left"]; - - var isHiddenWithinTree = function (elem, el) { - - // isHiddenWithinTree might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - - // Inline style trumps all - return elem.style.display === "none" || - elem.style.display === "" && - - // Otherwise, check computed style - // Support: Firefox <=43 - 45 - // Disconnected elements can have computed display: none, so first confirm that elem is - // in the document. - jQuery.contains(elem.ownerDocument, elem) && - - jQuery.css(elem, "display") === "none"; - }; - - var swap = function (elem, options, callback, args) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for (name in options) { - old[name] = elem.style[name]; - elem.style[name] = options[name]; - } - - ret = callback.apply(elem, args || []); - - // Revert the old values - for (name in options) { - elem.style[name] = old[name]; - } - - return ret; - }; - - - function adjustCSS(elem, prop, valueParts, tween) { - var adjusted, scale, - maxIterations = 20, - currentValue = tween ? - function () { - return tween.cur(); - } : - function () { - return jQuery.css(elem, prop, ""); - }, - initial = currentValue(), - unit = valueParts && valueParts[3] || (jQuery.cssNumber[prop] ? "" : "px"), - - // Starting value computation is required for potential unit mismatches - initialInUnit = (jQuery.cssNumber[prop] || unit !== "px" && +initial) && - rcssNum.exec(jQuery.css(elem, prop)); - - if (initialInUnit && initialInUnit[3] !== unit) { - - // Support: Firefox <=54 - // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) - initial = initial / 2; - - // Trust units reported by jQuery.css - unit = unit || initialInUnit[3]; - - // Iteratively approximate from a nonzero starting point - initialInUnit = +initial || 1; - - while (maxIterations--) { - - // Evaluate and update our best guess (doubling guesses that zero out). - // Finish if the scale equals or crosses 1 (making the old*new product non-positive). - jQuery.style(elem, prop, initialInUnit + unit); - if ((1 - scale) * (1 - (scale = currentValue() / initial || 0.5)) <= 0) { - maxIterations = 0; - } - initialInUnit = initialInUnit / scale; - - } - - initialInUnit = initialInUnit * 2; - jQuery.style(elem, prop, initialInUnit + unit); - - // Make sure we update the tween properties later on - valueParts = valueParts || []; - } - - if (valueParts) { - initialInUnit = +initialInUnit || +initial || 0; - - // Apply relative offset (+=/-=) if specified - adjusted = valueParts[1] ? - initialInUnit + (valueParts[1] + 1) * valueParts[2] : - +valueParts[2]; - if (tween) { - tween.unit = unit; - tween.start = initialInUnit; - tween.end = adjusted; - } - } - return adjusted; - } - - - var defaultDisplayMap = {}; - - function getDefaultDisplay(elem) { - var temp, - doc = elem.ownerDocument, - nodeName = elem.nodeName, - display = defaultDisplayMap[nodeName]; - - if (display) { - return display; - } - - temp = doc.body.appendChild(doc.createElement(nodeName)); - display = jQuery.css(temp, "display"); - - temp.parentNode.removeChild(temp); - - if (display === "none") { - display = "block"; - } - defaultDisplayMap[nodeName] = display; - - return display; - } - - function showHide(elements, show) { - var display, elem, - values = [], - index = 0, - length = elements.length; - - // Determine new display value for elements that need to change - for (; index < length; index++) { - elem = elements[index]; - if (!elem.style) { - continue; - } - - display = elem.style.display; - if (show) { - - // Since we force visibility upon cascade-hidden elements, an immediate (and slow) - // check is required in this first loop unless we have a nonempty display value (either - // inline or about-to-be-restored) - if (display === "none") { - values[index] = dataPriv.get(elem, "display") || null; - if (!values[index]) { - elem.style.display = ""; - } - } - if (elem.style.display === "" && isHiddenWithinTree(elem)) { - values[index] = getDefaultDisplay(elem); - } - } else { - if (display !== "none") { - values[index] = "none"; - - // Remember what we're overwriting - dataPriv.set(elem, "display", display); - } - } - } - - // Set the display of the elements in a second loop to avoid constant reflow - for (index = 0; index < length; index++) { - if (values[index] != null) { - elements[index].style.display = values[index]; - } - } - - return elements; - } - - jQuery.fn.extend({ - show: function () { - return showHide(this, true); - }, - hide: function () { - return showHide(this); - }, - toggle: function (state) { - if (typeof state === "boolean") { - return state ? this.show() : this.hide(); - } - - return this.each(function () { - if (isHiddenWithinTree(this)) { - jQuery(this).show(); - } else { - jQuery(this).hide(); - } - }); - } - }); - var rcheckableType = (/^(?:checkbox|radio)$/i); - - var rtagName = (/<([a-z][^\/\0>\x20\t\r\n\f]+)/i); - - var rscriptType = (/^$|^module$|\/(?:java|ecma)script/i); - - -// We have to close these tags to support XHTML (#13200) - var wrapMap = { - - // Support: IE <=9 only - option: [1, ""], - - // XHTML parsers do not magically insert elements in the - // same way that tag soup parsers do. So we cannot shorten - // this by omitting or other required elements. - thead: [1, "", "
            "], - col: [2, "", "
            "], - tr: [2, "", "
            "], - td: [3, "", "
            "], - - _default: [0, "", ""] - }; - -// Support: IE <=9 only - wrapMap.optgroup = wrapMap.option; - - wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; - wrapMap.th = wrapMap.td; - - - function getAll(context, tag) { - - // Support: IE <=9 - 11 only - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret; - - if (typeof context.getElementsByTagName !== "undefined") { - ret = context.getElementsByTagName(tag || "*"); - - } else if (typeof context.querySelectorAll !== "undefined") { - ret = context.querySelectorAll(tag || "*"); - - } else { - ret = []; - } - - if (tag === undefined || tag && nodeName(context, tag)) { - return jQuery.merge([context], ret); - } - - return ret; - } - - -// Mark scripts as having already been evaluated - function setGlobalEval(elems, refElements) { - var i = 0, - l = elems.length; - - for (; i < l; i++) { - dataPriv.set( - elems[i], - "globalEval", - !refElements || dataPriv.get(refElements[i], "globalEval") - ); - } - } - - - var rhtml = /<|&#?\w+;/; - - function buildFragment(elems, context, scripts, selection, ignored) { - var elem, tmp, tag, wrap, contains, j, - fragment = context.createDocumentFragment(), - nodes = [], - i = 0, - l = elems.length; - - for (; i < l; i++) { - elem = elems[i]; - - if (elem || elem === 0) { - - // Add nodes directly - if (toType(elem) === "object") { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge(nodes, elem.nodeType ? [elem] : elem); - - // Convert non-html into a text node - } else if (!rhtml.test(elem)) { - nodes.push(context.createTextNode(elem)); - - // Convert html into DOM nodes - } else { - tmp = tmp || fragment.appendChild(context.createElement("div")); - - // Deserialize a standard representation - tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase(); - wrap = wrapMap[tag] || wrapMap._default; - tmp.innerHTML = wrap[1] + jQuery.htmlPrefilter(elem) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while (j--) { - tmp = tmp.lastChild; - } - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge(nodes, tmp.childNodes); - - // Remember the top-level container - tmp = fragment.firstChild; - - // Ensure the created nodes are orphaned (#12392) - tmp.textContent = ""; - } - } - } - - // Remove wrapper from fragment - fragment.textContent = ""; - - i = 0; - while ((elem = nodes[i++])) { - - // Skip elements already in the context collection (trac-4087) - if (selection && jQuery.inArray(elem, selection) > -1) { - if (ignored) { - ignored.push(elem); - } - continue; - } - - contains = jQuery.contains(elem.ownerDocument, elem); - - // Append to fragment - tmp = getAll(fragment.appendChild(elem), "script"); - - // Preserve script evaluation history - if (contains) { - setGlobalEval(tmp); - } - - // Capture executables - if (scripts) { - j = 0; - while ((elem = tmp[j++])) { - if (rscriptType.test(elem.type || "")) { - scripts.push(elem); - } - } - } - } - - return fragment; - } - - - (function () { - var fragment = document.createDocumentFragment(), - div = fragment.appendChild(document.createElement("div")), - input = document.createElement("input"); - - // Support: Android 4.0 - 4.3 only - // Check state lost if the name is set (#11217) - // Support: Windows Web Apps (WWA) - // `name` and `type` must use .setAttribute for WWA (#14901) - input.setAttribute("type", "radio"); - input.setAttribute("checked", "checked"); - input.setAttribute("name", "t"); - - div.appendChild(input); - - // Support: Android <=4.1 only - // Older WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked; - - // Support: IE <=11 only - // Make sure textarea (and checkbox) defaultValue is properly cloned - div.innerHTML = ""; - support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue; - })(); - var documentElement = document.documentElement; - - - var - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)/; - - function returnTrue() { - return true; - } - - function returnFalse() { - return false; - } - -// Support: IE <=9 only -// See #13393 for more info - function safeActiveElement() { - try { - return document.activeElement; - } catch (err) { - } - } - - function on(elem, types, selector, data, fn, one) { - var origFn, type; - - // Types can be a map of types/handlers - if (typeof types === "object") { - - // ( types-Object, selector, data ) - if (typeof selector !== "string") { - - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for (type in types) { - on(elem, type, selector, data, types[type], one); - } - return elem; - } - - if (data == null && fn == null) { - - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if (fn == null) { - if (typeof selector === "string") { - - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if (fn === false) { - fn = returnFalse; - } else if (!fn) { - return elem; - } - - if (one === 1) { - origFn = fn; - fn = function (event) { - - // Can use an empty set, since event contains the info - jQuery().off(event); - return origFn.apply(this, arguments); - }; - - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || (origFn.guid = jQuery.guid++); - } - return elem.each(function () { - jQuery.event.add(this, types, fn, data, selector); - }); - } - - /* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ - jQuery.event = { - - global: {}, - - add: function (elem, types, handler, data, selector) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.get(elem); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if (!elemData) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if (handler.handler) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Ensure that invalid selectors throw exceptions at attach time - // Evaluate against documentElement in case elem is a non-element node (e.g., document) - if (selector) { - jQuery.find.matchesSelector(documentElement, selector); - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if (!handler.guid) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if (!(events = elemData.events)) { - events = elemData.events = {}; - } - if (!(eventHandle = elemData.handle)) { - eventHandle = elemData.handle = function (e) { - - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? - jQuery.event.dispatch.apply(elem, arguments) : undefined; - }; - } - - // Handle multiple events separated by a space - types = (types || "").match(rnothtmlwhite) || [""]; - t = types.length; - while (t--) { - tmp = rtypenamespace.exec(types[t]) || []; - type = origType = tmp[1]; - namespaces = (tmp[2] || "").split(".").sort(); - - // There *must* be a type, no attaching namespace-only handlers - if (!type) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[type] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = (selector ? special.delegateType : special.bindType) || type; - - // Update special based on newly reset type - special = jQuery.event.special[type] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test(selector), - namespace: namespaces.join(".") - }, handleObjIn); - - // Init the event handler queue if we're the first - if (!(handlers = events[type])) { - handlers = events[type] = []; - handlers.delegateCount = 0; - - // Only use addEventListener if the special events handler returns false - if (!special.setup || - special.setup.call(elem, data, namespaces, eventHandle) === false) { - - if (elem.addEventListener) { - elem.addEventListener(type, eventHandle); - } - } - } - - if (special.add) { - special.add.call(elem, handleObj); - - if (!handleObj.handler.guid) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if (selector) { - handlers.splice(handlers.delegateCount++, 0, handleObj); - } else { - handlers.push(handleObj); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[type] = true; - } - - }, - - // Detach an event or set of events from an element - remove: function (elem, types, handler, selector, mappedTypes) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.hasData(elem) && dataPriv.get(elem); - - if (!elemData || !(events = elemData.events)) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = (types || "").match(rnothtmlwhite) || [""]; - t = types.length; - while (t--) { - tmp = rtypenamespace.exec(types[t]) || []; - type = origType = tmp[1]; - namespaces = (tmp[2] || "").split(".").sort(); - - // Unbind all events (on this namespace, if provided) for the element - if (!type) { - for (type in events) { - jQuery.event.remove(elem, type + types[t], handler, selector, true); - } - continue; - } - - special = jQuery.event.special[type] || {}; - type = (selector ? special.delegateType : special.bindType) || type; - handlers = events[type] || []; - tmp = tmp[2] && - new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)"); - - // Remove matching events - origCount = j = handlers.length; - while (j--) { - handleObj = handlers[j]; - - if ((mappedTypes || origType === handleObj.origType) && - (!handler || handler.guid === handleObj.guid) && - (!tmp || tmp.test(handleObj.namespace)) && - (!selector || selector === handleObj.selector || - selector === "**" && handleObj.selector)) { - handlers.splice(j, 1); - - if (handleObj.selector) { - handlers.delegateCount--; - } - if (special.remove) { - special.remove.call(elem, handleObj); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if (origCount && !handlers.length) { - if (!special.teardown || - special.teardown.call(elem, namespaces, elemData.handle) === false) { - - jQuery.removeEvent(elem, type, elemData.handle); - } - - delete events[type]; - } - } - - // Remove data and the expando if it's no longer used - if (jQuery.isEmptyObject(events)) { - dataPriv.remove(elem, "handle events"); - } - }, - - dispatch: function (nativeEvent) { - - // Make a writable jQuery.Event from the native event object - var event = jQuery.event.fix(nativeEvent); - - var i, j, ret, matched, handleObj, handlerQueue, - args = new Array(arguments.length), - handlers = (dataPriv.get(this, "events") || {})[event.type] || [], - special = jQuery.event.special[event.type] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - - for (i = 1; i < arguments.length; i++) { - args[i] = arguments[i]; - } - - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if (special.preDispatch && special.preDispatch.call(this, event) === false) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call(this, event, handlers); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) { - event.currentTarget = matched.elem; - - j = 0; - while ((handleObj = matched.handlers[j++]) && - !event.isImmediatePropagationStopped()) { - - // Triggered event must either 1) have no namespace, or 2) have namespace(s) - // a subset or equal to those in the bound event (both can have no namespace). - if (!event.rnamespace || event.rnamespace.test(handleObj.namespace)) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ((jQuery.event.special[handleObj.origType] || {}).handle || - handleObj.handler).apply(matched.elem, args); - - if (ret !== undefined) { - if ((event.result = ret) === false) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if (special.postDispatch) { - special.postDispatch.call(this, event); - } - - return event.result; - }, - - handlers: function (event, handlers) { - var i, handleObj, sel, matchedHandlers, matchedSelectors, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - if (delegateCount && - - // Support: IE <=9 - // Black-hole SVG instance trees (trac-13180) - cur.nodeType && - - // Support: Firefox <=42 - // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) - // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click - // Support: IE 11 only - // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) - !(event.type === "click" && event.button >= 1)) { - - for (; cur !== this; cur = cur.parentNode || this) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if (cur.nodeType === 1 && !(event.type === "click" && cur.disabled === true)) { - matchedHandlers = []; - matchedSelectors = {}; - for (i = 0; i < delegateCount; i++) { - handleObj = handlers[i]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if (matchedSelectors[sel] === undefined) { - matchedSelectors[sel] = handleObj.needsContext ? - jQuery(sel, this).index(cur) > -1 : - jQuery.find(sel, this, null, [cur]).length; - } - if (matchedSelectors[sel]) { - matchedHandlers.push(handleObj); - } - } - if (matchedHandlers.length) { - handlerQueue.push({elem: cur, handlers: matchedHandlers}); - } - } - } - } - - // Add the remaining (directly-bound) handlers - cur = this; - if (delegateCount < handlers.length) { - handlerQueue.push({elem: cur, handlers: handlers.slice(delegateCount)}); - } - - return handlerQueue; - }, - - addProp: function (name, hook) { - Object.defineProperty(jQuery.Event.prototype, name, { - enumerable: true, - configurable: true, - - get: isFunction(hook) ? - function () { - if (this.originalEvent) { - return hook(this.originalEvent); - } - } : - function () { - if (this.originalEvent) { - return this.originalEvent[name]; - } - }, - - set: function (value) { - Object.defineProperty(this, name, { - enumerable: true, - configurable: true, - writable: true, - value: value - }); - } - }); - }, - - fix: function (originalEvent) { - return originalEvent[jQuery.expando] ? - originalEvent : - new jQuery.Event(originalEvent); - }, - - special: { - load: { - - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - - // Fire native event if possible so blur/focus sequence is correct - trigger: function () { - if (this !== safeActiveElement() && this.focus) { - this.focus(); - return false; - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function () { - if (this === safeActiveElement() && this.blur) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - - // For checkbox, fire native event so checked state will be right - trigger: function () { - if (this.type === "checkbox" && this.click && nodeName(this, "input")) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function (event) { - return nodeName(event.target, "a"); - } - }, - - beforeunload: { - postDispatch: function (event) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if (event.result !== undefined && event.originalEvent) { - event.originalEvent.returnValue = event.result; - } - } - } - } - }; - - jQuery.removeEvent = function (elem, type, handle) { - - // This "if" is needed for plain objects - if (elem.removeEventListener) { - elem.removeEventListener(type, handle); - } - }; - - jQuery.Event = function (src, props) { - - // Allow instantiation without the 'new' keyword - if (!(this instanceof jQuery.Event)) { - return new jQuery.Event(src, props); - } - - // Event object - if (src && src.type) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - - // Support: Android <=2.3 only - src.returnValue === false ? - returnTrue : - returnFalse; - - // Create target properties - // Support: Safari <=6 - 7 only - // Target should not be a text node (#504, #13143) - this.target = (src.target && src.target.nodeType === 3) ? - src.target.parentNode : - src.target; - - this.currentTarget = src.currentTarget; - this.relatedTarget = src.relatedTarget; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if (props) { - jQuery.extend(this, props); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || Date.now(); - - // Mark it as fixed - this[jQuery.expando] = true; - }; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html - jQuery.Event.prototype = { - constructor: jQuery.Event, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - isSimulated: false, - - preventDefault: function () { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - - if (e && !this.isSimulated) { - e.preventDefault(); - } - }, - stopPropagation: function () { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - - if (e && !this.isSimulated) { - e.stopPropagation(); - } - }, - stopImmediatePropagation: function () { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if (e && !this.isSimulated) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } - }; - -// Includes all common event props including KeyEvent and MouseEvent specific props - jQuery.each({ - altKey: true, - bubbles: true, - cancelable: true, - changedTouches: true, - ctrlKey: true, - detail: true, - eventPhase: true, - metaKey: true, - pageX: true, - pageY: true, - shiftKey: true, - view: true, - "char": true, - charCode: true, - key: true, - keyCode: true, - button: true, - buttons: true, - clientX: true, - clientY: true, - offsetX: true, - offsetY: true, - pointerId: true, - pointerType: true, - screenX: true, - screenY: true, - targetTouches: true, - toElement: true, - touches: true, - - which: function (event) { - var button = event.button; - - // Add which for key events - if (event.which == null && rkeyEvent.test(event.type)) { - return event.charCode != null ? event.charCode : event.keyCode; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - if (!event.which && button !== undefined && rmouseEvent.test(event.type)) { - if (button & 1) { - return 1; - } - - if (button & 2) { - return 3; - } - - if (button & 4) { - return 2; - } - - return 0; - } - - return event.which; - } - }, jQuery.event.addProp); - -// Create mouseenter/leave events using mouseover/out and event-time checks -// so that event delegation works in jQuery. -// Do the same for pointerenter/pointerleave and pointerover/pointerout -// -// Support: Safari 7 only -// Safari sends mouseenter too often; see: -// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 -// for the description of the bug (it existed in older Chrome versions as well). - jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" - }, function (orig, fix) { - jQuery.event.special[orig] = { - delegateType: fix, - bindType: fix, - - handle: function (event) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mouseenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if (!related || (related !== target && !jQuery.contains(target, related))) { - event.type = handleObj.origType; - ret = handleObj.handler.apply(this, arguments); - event.type = fix; - } - return ret; - } - }; - }); - - jQuery.fn.extend({ - - on: function (types, selector, data, fn) { - return on(this, types, selector, data, fn); - }, - one: function (types, selector, data, fn) { - return on(this, types, selector, data, fn, 1); - }, - off: function (types, selector, fn) { - var handleObj, type; - if (types && types.preventDefault && types.handleObj) { - - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery(types.delegateTarget).off( - handleObj.namespace ? - handleObj.origType + "." + handleObj.namespace : - handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if (typeof types === "object") { - - // ( types-object [, selector] ) - for (type in types) { - this.off(type, selector, types[type]); - } - return this; - } - if (selector === false || typeof selector === "function") { - - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if (fn === false) { - fn = returnFalse; - } - return this.each(function () { - jQuery.event.remove(this, types, fn, selector); - }); - } - }); - - - var - - /* eslint-disable max-len */ - - // See https://github.com/eslint/eslint/issues/3229 - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, - - /* eslint-enable */ - - // Support: IE <=10 - 11, Edge 12 - 13 only - // In IE/Edge using regex groups here causes severe slowdowns. - // See https://connect.microsoft.com/IE/feedback/details/1736512/ - rnoInnerhtml = /\s*$/g; - -// Prefer a tbody over its parent table for containing new rows - function manipulationTarget(elem, content) { - if (nodeName(elem, "table") && - nodeName(content.nodeType !== 11 ? content : content.firstChild, "tr")) { - - return jQuery(elem).children("tbody")[0] || elem; - } - - return elem; - } - -// Replace/restore the type attribute of script elements for safe DOM manipulation - function disableScript(elem) { - elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type; - return elem; - } - - function restoreScript(elem) { - if ((elem.type || "").slice(0, 5) === "true/") { - elem.type = elem.type.slice(5); - } else { - elem.removeAttribute("type"); - } - - return elem; - } - - function cloneCopyEvent(src, dest) { - var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; - - if (dest.nodeType !== 1) { - return; - } - - // 1. Copy private data: events, handlers, etc. - if (dataPriv.hasData(src)) { - pdataOld = dataPriv.access(src); - pdataCur = dataPriv.set(dest, pdataOld); - events = pdataOld.events; - - if (events) { - delete pdataCur.handle; - pdataCur.events = {}; - - for (type in events) { - for (i = 0, l = events[type].length; i < l; i++) { - jQuery.event.add(dest, type, events[type][i]); - } - } - } - } - - // 2. Copy user data - if (dataUser.hasData(src)) { - udataOld = dataUser.access(src); - udataCur = jQuery.extend({}, udataOld); - - dataUser.set(dest, udataCur); - } - } - -// Fix IE bugs, see support tests - function fixInput(src, dest) { - var nodeName = dest.nodeName.toLowerCase(); - - // Fails to persist the checked state of a cloned checkbox or radio button. - if (nodeName === "input" && rcheckableType.test(src.type)) { - dest.checked = src.checked; - - // Fails to return the selected option to the default selected state when cloning options - } else if (nodeName === "input" || nodeName === "textarea") { - dest.defaultValue = src.defaultValue; - } - } - - function domManip(collection, args, callback, ignored) { - - // Flatten any nested arrays - args = concat.apply([], args); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = collection.length, - iNoClone = l - 1, - value = args[0], - valueIsFunction = isFunction(value); - - // We can't cloneNode fragments that contain checked, in WebKit - if (valueIsFunction || - (l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test(value))) { - return collection.each(function (index) { - var self = collection.eq(index); - if (valueIsFunction) { - args[0] = value.call(this, index, self.html()); - } - domManip(self, args, callback, ignored); - }); - } - - if (l) { - fragment = buildFragment(args, collection[0].ownerDocument, false, collection, ignored); - first = fragment.firstChild; - - if (fragment.childNodes.length === 1) { - fragment = first; - } - - // Require either new content or an interest in ignored elements to invoke the callback - if (first || ignored) { - scripts = jQuery.map(getAll(fragment, "script"), disableScript); - hasScripts = scripts.length; - - // Use the original fragment for the last item - // instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for (; i < l; i++) { - node = fragment; - - if (i !== iNoClone) { - node = jQuery.clone(node, true, true); - - // Keep references to cloned scripts for later restoration - if (hasScripts) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge(scripts, getAll(node, "script")); - } - } - - callback.call(collection[i], node, i); - } - - if (hasScripts) { - doc = scripts[scripts.length - 1].ownerDocument; - - // Reenable scripts - jQuery.map(scripts, restoreScript); - - // Evaluate executable scripts on first document insertion - for (i = 0; i < hasScripts; i++) { - node = scripts[i]; - if (rscriptType.test(node.type || "") && - !dataPriv.access(node, "globalEval") && - jQuery.contains(doc, node)) { - - if (node.src && (node.type || "").toLowerCase() !== "module") { - - // Optional AJAX dependency, but won't run scripts if not present - if (jQuery._evalUrl) { - jQuery._evalUrl(node.src); - } - } else { - DOMEval(node.textContent.replace(rcleanScript, ""), doc, node); - } - } - } - } - } - } - - return collection; - } - - function remove(elem, selector, keepData) { - var node, - nodes = selector ? jQuery.filter(selector, elem) : elem, - i = 0; - - for (; (node = nodes[i]) != null; i++) { - if (!keepData && node.nodeType === 1) { - jQuery.cleanData(getAll(node)); - } - - if (node.parentNode) { - if (keepData && jQuery.contains(node.ownerDocument, node)) { - setGlobalEval(getAll(node, "script")); - } - node.parentNode.removeChild(node); - } - } - - return elem; - } - - jQuery.extend({ - htmlPrefilter: function (html) { - return html.replace(rxhtmlTag, "<$1>"); - }, - - clone: function (elem, dataAndEvents, deepDataAndEvents) { - var i, l, srcElements, destElements, - clone = elem.cloneNode(true), - inPage = jQuery.contains(elem.ownerDocument, elem); - - // Fix IE cloning issues - if (!support.noCloneChecked && (elem.nodeType === 1 || elem.nodeType === 11) && - !jQuery.isXMLDoc(elem)) { - - // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 - destElements = getAll(clone); - srcElements = getAll(elem); - - for (i = 0, l = srcElements.length; i < l; i++) { - fixInput(srcElements[i], destElements[i]); - } - } - - // Copy the events from the original to the clone - if (dataAndEvents) { - if (deepDataAndEvents) { - srcElements = srcElements || getAll(elem); - destElements = destElements || getAll(clone); - - for (i = 0, l = srcElements.length; i < l; i++) { - cloneCopyEvent(srcElements[i], destElements[i]); - } - } else { - cloneCopyEvent(elem, clone); - } - } - - // Preserve script evaluation history - destElements = getAll(clone, "script"); - if (destElements.length > 0) { - setGlobalEval(destElements, !inPage && getAll(elem, "script")); - } - - // Return the cloned set - return clone; - }, - - cleanData: function (elems) { - var data, elem, type, - special = jQuery.event.special, - i = 0; - - for (; (elem = elems[i]) !== undefined; i++) { - if (acceptData(elem)) { - if ((data = elem[dataPriv.expando])) { - if (data.events) { - for (type in data.events) { - if (special[type]) { - jQuery.event.remove(elem, type); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent(elem, type, data.handle); - } - } - } - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[dataPriv.expando] = undefined; - } - if (elem[dataUser.expando]) { - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[dataUser.expando] = undefined; - } - } - } - } - }); - - jQuery.fn.extend({ - detach: function (selector) { - return remove(this, selector, true); - }, - - remove: function (selector) { - return remove(this, selector); - }, - - text: function (value) { - return access(this, function (value) { - return value === undefined ? - jQuery.text(this) : - this.empty().each(function () { - if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { - this.textContent = value; - } - }); - }, null, value, arguments.length); - }, - - append: function () { - return domManip(this, arguments, function (elem) { - if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { - var target = manipulationTarget(this, elem); - target.appendChild(elem); - } - }); - }, - - prepend: function () { - return domManip(this, arguments, function (elem) { - if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { - var target = manipulationTarget(this, elem); - target.insertBefore(elem, target.firstChild); - } - }); - }, - - before: function () { - return domManip(this, arguments, function (elem) { - if (this.parentNode) { - this.parentNode.insertBefore(elem, this); - } - }); - }, - - after: function () { - return domManip(this, arguments, function (elem) { - if (this.parentNode) { - this.parentNode.insertBefore(elem, this.nextSibling); - } - }); - }, - - empty: function () { - var elem, - i = 0; - - for (; (elem = this[i]) != null; i++) { - if (elem.nodeType === 1) { - - // Prevent memory leaks - jQuery.cleanData(getAll(elem, false)); - - // Remove any remaining nodes - elem.textContent = ""; - } - } - - return this; - }, - - clone: function (dataAndEvents, deepDataAndEvents) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map(function () { - return jQuery.clone(this, dataAndEvents, deepDataAndEvents); - }); - }, - - html: function (value) { - return access(this, function (value) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if (value === undefined && elem.nodeType === 1) { - return elem.innerHTML; - } - - // See if we can take a shortcut and just use innerHTML - if (typeof value === "string" && !rnoInnerhtml.test(value) && - !wrapMap[(rtagName.exec(value) || ["", ""])[1].toLowerCase()]) { - - value = jQuery.htmlPrefilter(value); - - try { - for (; i < l; i++) { - elem = this[i] || {}; - - // Remove element nodes and prevent memory leaks - if (elem.nodeType === 1) { - jQuery.cleanData(getAll(elem, false)); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch (e) { - } - } - - if (elem) { - this.empty().append(value); - } - }, null, value, arguments.length); - }, - - replaceWith: function () { - var ignored = []; - - // Make the changes, replacing each non-ignored context element with the new content - return domManip(this, arguments, function (elem) { - var parent = this.parentNode; - - if (jQuery.inArray(this, ignored) < 0) { - jQuery.cleanData(getAll(this)); - if (parent) { - parent.replaceChild(elem, this); - } - } - - // Force callback invocation - }, ignored); - } - }); - - jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" - }, function (name, original) { - jQuery.fn[name] = function (selector) { - var elems, - ret = [], - insert = jQuery(selector), - last = insert.length - 1, - i = 0; - - for (; i <= last; i++) { - elems = i === last ? this : this.clone(true); - jQuery(insert[i])[original](elems); - - // Support: Android <=4.0 only, PhantomJS 1 only - // .get() because push.apply(_, arraylike) throws on ancient WebKit - push.apply(ret, elems.get()); - } - - return this.pushStack(ret); - }; - }); - var rnumnonpx = new RegExp("^(" + pnum + ")(?!px)[a-z%]+$", "i"); - - var getStyles = function (elem) { - - // Support: IE <=11 only, Firefox <=30 (#15098, #14150) - // IE throws on elements created in popups - // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" - var view = elem.ownerDocument.defaultView; - - if (!view || !view.opener) { - view = window; - } - - return view.getComputedStyle(elem); - }; - - var rboxStyle = new RegExp(cssExpand.join("|"), "i"); - - - (function () { - - // Executing both pixelPosition & boxSizingReliable tests require only one layout - // so they're executed at the same time to save the second computation. - function computeStyleTests() { - - // This is a singleton, we need to execute it only once - if (!div) { - return; - } - - container.style.cssText = "position:absolute;left:-11111px;width:60px;" + - "margin-top:1px;padding:0;border:0"; - div.style.cssText = - "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + - "margin:auto;border:1px;padding:1px;" + - "width:60%;top:1%"; - documentElement.appendChild(container).appendChild(div); - - var divStyle = window.getComputedStyle(div); - pixelPositionVal = divStyle.top !== "1%"; - - // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 - reliableMarginLeftVal = roundPixelMeasures(divStyle.marginLeft) === 12; - - // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 - // Some styles come back with percentage values, even though they shouldn't - div.style.right = "60%"; - pixelBoxStylesVal = roundPixelMeasures(divStyle.right) === 36; - - // Support: IE 9 - 11 only - // Detect misreporting of content dimensions for box-sizing:border-box elements - boxSizingReliableVal = roundPixelMeasures(divStyle.width) === 36; - - // Support: IE 9 only - // Detect overflow:scroll screwiness (gh-3699) - div.style.position = "absolute"; - scrollboxSizeVal = div.offsetWidth === 36 || "absolute"; - - documentElement.removeChild(container); - - // Nullify the div so it wouldn't be stored in the memory and - // it will also be a sign that checks already performed - div = null; - } - - function roundPixelMeasures(measure) { - return Math.round(parseFloat(measure)); - } - - var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, - reliableMarginLeftVal, - container = document.createElement("div"), - div = document.createElement("div"); - - // Finish early in limited (non-browser) environments - if (!div.style) { - return; - } - - // Support: IE <=9 - 11 only - // Style of cloned element affects source element cloned (#8908) - div.style.backgroundClip = "content-box"; - div.cloneNode(true).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - jQuery.extend(support, { - boxSizingReliable: function () { - computeStyleTests(); - return boxSizingReliableVal; - }, - pixelBoxStyles: function () { - computeStyleTests(); - return pixelBoxStylesVal; - }, - pixelPosition: function () { - computeStyleTests(); - return pixelPositionVal; - }, - reliableMarginLeft: function () { - computeStyleTests(); - return reliableMarginLeftVal; - }, - scrollboxSize: function () { - computeStyleTests(); - return scrollboxSizeVal; - } - }); - })(); - - - function curCSS(elem, name, computed) { - var width, minWidth, maxWidth, ret, - - // Support: Firefox 51+ - // Retrieving style before computed somehow - // fixes an issue with getting wrong values - // on detached elements - style = elem.style; - - computed = computed || getStyles(elem); - - // getPropertyValue is needed for: - // .css('filter') (IE 9 only, #12537) - // .css('--customProperty) (#3144) - if (computed) { - ret = computed.getPropertyValue(name) || computed[name]; - - if (ret === "" && !jQuery.contains(elem.ownerDocument, elem)) { - ret = jQuery.style(elem, name); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Android Browser returns percentage for some values, - // but width seems to be reliably pixels. - // This is against the CSSOM draft spec: - // https://drafts.csswg.org/cssom/#resolved-values - if (!support.pixelBoxStyles() && rnumnonpx.test(ret) && rboxStyle.test(name)) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret !== undefined ? - - // Support: IE <=9 - 11 only - // IE returns zIndex value as an integer. - ret + "" : - ret; - } - - - function addGetHookIf(conditionFn, hookFn) { - - // Define the hook, we'll check on the first run if it's really needed. - return { - get: function () { - if (conditionFn()) { - - // Hook not needed (or it's not possible to use it due - // to missing dependency), remove it. - delete this.get; - return; - } - - // Hook needed; redefine it so that the support test is not executed again. - return (this.get = hookFn).apply(this, arguments); - } - }; - } - - - var - - // Swappable if display is none or starts with table - // except "table", "table-cell", or "table-caption" - // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rcustomProp = /^--/, - cssShow = {position: "absolute", visibility: "hidden", display: "block"}, - cssNormalTransform = { - letterSpacing: "0", - fontWeight: "400" - }, - - cssPrefixes = ["Webkit", "Moz", "ms"], - emptyStyle = document.createElement("div").style; - -// Return a css property mapped to a potentially vendor prefixed property - function vendorPropName(name) { - - // Shortcut for names that are not vendor prefixed - if (name in emptyStyle) { - return name; - } - - // Check for vendor prefixed names - var capName = name[0].toUpperCase() + name.slice(1), - i = cssPrefixes.length; - - while (i--) { - name = cssPrefixes[i] + capName; - if (name in emptyStyle) { - return name; - } - } - } - -// Return a property mapped along what jQuery.cssProps suggests or to -// a vendor prefixed property. - function finalPropName(name) { - var ret = jQuery.cssProps[name]; - if (!ret) { - ret = jQuery.cssProps[name] = vendorPropName(name) || name; - } - return ret; - } - - function setPositiveNumber(elem, value, subtract) { - - // Any relative (+/-) values have already been - // normalized at this point - var matches = rcssNum.exec(value); - return matches ? - - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max(0, matches[2] - (subtract || 0)) + (matches[3] || "px") : - value; - } - - function boxModelAdjustment(elem, dimension, box, isBorderBox, styles, computedVal) { - var i = dimension === "width" ? 1 : 0, - extra = 0, - delta = 0; - - // Adjustment may not be necessary - if (box === (isBorderBox ? "border" : "content")) { - return 0; - } - - for (; i < 4; i += 2) { - - // Both box models exclude margin - if (box === "margin") { - delta += jQuery.css(elem, box + cssExpand[i], true, styles); - } - - // If we get here with a content-box, we're seeking "padding" or "border" or "margin" - if (!isBorderBox) { - - // Add padding - delta += jQuery.css(elem, "padding" + cssExpand[i], true, styles); - - // For "border" or "margin", add border - if (box !== "padding") { - delta += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles); - - // But still keep track of it otherwise - } else { - extra += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles); - } - - // If we get here with a border-box (content + padding + border), we're seeking "content" or - // "padding" or "margin" - } else { - - // For "content", subtract padding - if (box === "content") { - delta -= jQuery.css(elem, "padding" + cssExpand[i], true, styles); - } - - // For "content" or "padding", subtract border - if (box !== "margin") { - delta -= jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles); - } - } - } - - // Account for positive content-box scroll gutter when requested by providing computedVal - if (!isBorderBox && computedVal >= 0) { - - // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border - // Assuming integer scroll gutter, subtract the rest and round down - delta += Math.max(0, Math.ceil( - elem["offset" + dimension[0].toUpperCase() + dimension.slice(1)] - - computedVal - - delta - - extra - - 0.5 - )); - } - - return delta; - } - - function getWidthOrHeight(elem, dimension, extra) { - - // Start with computed style - var styles = getStyles(elem), - val = curCSS(elem, dimension, styles), - isBorderBox = jQuery.css(elem, "boxSizing", false, styles) === "border-box", - valueIsBorderBox = isBorderBox; - - // Support: Firefox <=54 - // Return a confounding non-pixel value or feign ignorance, as appropriate. - if (rnumnonpx.test(val)) { - if (!extra) { - return val; - } - val = "auto"; - } - - // Check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = valueIsBorderBox && - (support.boxSizingReliable() || val === elem.style[dimension]); - - // Fall back to offsetWidth/offsetHeight when value is "auto" - // This happens for inline elements with no explicit setting (gh-3571) - // Support: Android <=4.1 - 4.3 only - // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) - if (val === "auto" || - !parseFloat(val) && jQuery.css(elem, "display", false, styles) === "inline") { - - val = elem["offset" + dimension[0].toUpperCase() + dimension.slice(1)]; - - // offsetWidth/offsetHeight provide border-box values - valueIsBorderBox = true; - } - - // Normalize "" and auto - val = parseFloat(val) || 0; - - // Adjust for the element's box model - return (val + - boxModelAdjustment( - elem, - dimension, - extra || (isBorderBox ? "border" : "content"), - valueIsBorderBox, - styles, - - // Provide the current computed size to request scroll gutter calculation (gh-3589) - val - ) - ) + "px"; - } - - jQuery.extend({ - - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function (elem, computed) { - if (computed) { - - // We should always get a number back from opacity - var ret = curCSS(elem, "opacity"); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "animationIterationCount": true, - "columnCount": true, - "fillOpacity": true, - "flexGrow": true, - "flexShrink": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: {}, - - // Get and set the style property on a DOM Node - style: function (elem, name, value, extra) { - - // Don't set styles on text and comment nodes - if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = camelCase(name), - isCustomProp = rcustomProp.test(name), - style = elem.style; - - // Make sure that we're working with the right name. We don't - // want to query the value if it is a CSS custom property - // since they are user-defined. - if (!isCustomProp) { - name = finalPropName(origName); - } - - // Gets hook for the prefixed version, then unprefixed version - hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName]; - - // Check if we're setting a value - if (value !== undefined) { - type = typeof value; - - // Convert "+=" or "-=" to relative numbers (#7345) - if (type === "string" && (ret = rcssNum.exec(value)) && ret[1]) { - value = adjustCSS(elem, name, ret); - - // Fixes bug #9237 - type = "number"; - } - - // Make sure that null and NaN values aren't set (#7116) - if (value == null || value !== value) { - return; - } - - // If a number was passed in, add the unit (except for certain CSS properties) - if (type === "number") { - value += ret && ret[3] || (jQuery.cssNumber[origName] ? "" : "px"); - } - - // background-* props affect original clone's values - if (!support.clearCloneStyle && value === "" && name.indexOf("background") === 0) { - style[name] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if (!hooks || !("set" in hooks) || - (value = hooks.set(elem, value, extra)) !== undefined) { - - if (isCustomProp) { - style.setProperty(name, value); - } else { - style[name] = value; - } - } - - } else { - - // If a hook was provided get the non-computed value from there - if (hooks && "get" in hooks && - (ret = hooks.get(elem, false, extra)) !== undefined) { - - return ret; - } - - // Otherwise just get the value from the style object - return style[name]; - } - }, - - css: function (elem, name, extra, styles) { - var val, num, hooks, - origName = camelCase(name), - isCustomProp = rcustomProp.test(name); - - // Make sure that we're working with the right name. We don't - // want to modify the value if it is a CSS custom property - // since they are user-defined. - if (!isCustomProp) { - name = finalPropName(origName); - } - - // Try prefixed name followed by the unprefixed name - hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName]; - - // If a hook was provided get the computed value from there - if (hooks && "get" in hooks) { - val = hooks.get(elem, true, extra); - } - - // Otherwise, if a way to get the computed value exists, use that - if (val === undefined) { - val = curCSS(elem, name, styles); - } - - // Convert "normal" to computed value - if (val === "normal" && name in cssNormalTransform) { - val = cssNormalTransform[name]; - } - - // Make numeric if forced or a qualifier was provided and val looks numeric - if (extra === "" || extra) { - num = parseFloat(val); - return extra === true || isFinite(num) ? num || 0 : val; - } - - return val; - } - }); - - jQuery.each(["height", "width"], function (i, dimension) { - jQuery.cssHooks[dimension] = { - get: function (elem, computed, extra) { - if (computed) { - - // Certain elements can have dimension info if we invisibly show them - // but it must have a current display style that would benefit - return rdisplayswap.test(jQuery.css(elem, "display")) && - - // Support: Safari 8+ - // Table columns in Safari have non-zero offsetWidth & zero - // getBoundingClientRect().width unless display is changed. - // Support: IE <=11 only - // Running getBoundingClientRect on a disconnected node - // in IE throws an error. - (!elem.getClientRects().length || !elem.getBoundingClientRect().width) ? - swap(elem, cssShow, function () { - return getWidthOrHeight(elem, dimension, extra); - }) : - getWidthOrHeight(elem, dimension, extra); - } - }, - - set: function (elem, value, extra) { - var matches, - styles = getStyles(elem), - isBorderBox = jQuery.css(elem, "boxSizing", false, styles) === "border-box", - subtract = extra && boxModelAdjustment( - elem, - dimension, - extra, - isBorderBox, - styles - ); - - // Account for unreliable border-box dimensions by comparing offset* to computed and - // faking a content-box to get border and padding (gh-3699) - if (isBorderBox && support.scrollboxSize() === styles.position) { - subtract -= Math.ceil( - elem["offset" + dimension[0].toUpperCase() + dimension.slice(1)] - - parseFloat(styles[dimension]) - - boxModelAdjustment(elem, dimension, "border", false, styles) - - 0.5 - ); - } - - // Convert to pixels if value adjustment is needed - if (subtract && (matches = rcssNum.exec(value)) && - (matches[3] || "px") !== "px") { - - elem.style[dimension] = value; - value = jQuery.css(elem, dimension); - } - - return setPositiveNumber(elem, value, subtract); - } - }; - }); - - jQuery.cssHooks.marginLeft = addGetHookIf(support.reliableMarginLeft, - function (elem, computed) { - if (computed) { - return (parseFloat(curCSS(elem, "marginLeft")) || - elem.getBoundingClientRect().left - - swap(elem, {marginLeft: 0}, function () { - return elem.getBoundingClientRect().left; - }) - ) + "px"; - } - } - ); - -// These hooks are used by animate to expand properties - jQuery.each({ - margin: "", - padding: "", - border: "Width" - }, function (prefix, suffix) { - jQuery.cssHooks[prefix + suffix] = { - expand: function (value) { - var i = 0, - expanded = {}, - - // Assumes a single number if not a string - parts = typeof value === "string" ? value.split(" ") : [value]; - - for (; i < 4; i++) { - expanded[prefix + cssExpand[i] + suffix] = - parts[i] || parts[i - 2] || parts[0]; - } - - return expanded; - } - }; - - if (prefix !== "margin") { - jQuery.cssHooks[prefix + suffix].set = setPositiveNumber; - } - }); - - jQuery.fn.extend({ - css: function (name, value) { - return access(this, function (elem, name, value) { - var styles, len, - map = {}, - i = 0; - - if (Array.isArray(name)) { - styles = getStyles(elem); - len = name.length; - - for (; i < len; i++) { - map[name[i]] = jQuery.css(elem, name[i], false, styles); - } - - return map; - } - - return value !== undefined ? - jQuery.style(elem, name, value) : - jQuery.css(elem, name); - }, name, value, arguments.length > 1); - } - }); - - - function Tween(elem, options, prop, end, easing) { - return new Tween.prototype.init(elem, options, prop, end, easing); - } - - jQuery.Tween = Tween; - - Tween.prototype = { - constructor: Tween, - init: function (elem, options, prop, end, easing, unit) { - this.elem = elem; - this.prop = prop; - this.easing = easing || jQuery.easing._default; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || (jQuery.cssNumber[prop] ? "" : "px"); - }, - cur: function () { - var hooks = Tween.propHooks[this.prop]; - - return hooks && hooks.get ? - hooks.get(this) : - Tween.propHooks._default.get(this); - }, - run: function (percent) { - var eased, - hooks = Tween.propHooks[this.prop]; - - if (this.options.duration) { - this.pos = eased = jQuery.easing[this.easing]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = (this.end - this.start) * eased + this.start; - - if (this.options.step) { - this.options.step.call(this.elem, this.now, this); - } - - if (hooks && hooks.set) { - hooks.set(this); - } else { - Tween.propHooks._default.set(this); - } - return this; - } - }; - - Tween.prototype.init.prototype = Tween.prototype; - - Tween.propHooks = { - _default: { - get: function (tween) { - var result; - - // Use a property on the element directly when it is not a DOM element, - // or when there is no matching style property that exists. - if (tween.elem.nodeType !== 1 || - tween.elem[tween.prop] != null && tween.elem.style[tween.prop] == null) { - return tween.elem[tween.prop]; - } - - // Passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails. - // Simple values such as "10px" are parsed to Float; - // complex values such as "rotate(1rad)" are returned as-is. - result = jQuery.css(tween.elem, tween.prop, ""); - - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function (tween) { - - // Use step hook for back compat. - // Use cssHook if its there. - // Use .style if available and use plain properties where available. - if (jQuery.fx.step[tween.prop]) { - jQuery.fx.step[tween.prop](tween); - } else if (tween.elem.nodeType === 1 && - (tween.elem.style[jQuery.cssProps[tween.prop]] != null || - jQuery.cssHooks[tween.prop])) { - jQuery.style(tween.elem, tween.prop, tween.now + tween.unit); - } else { - tween.elem[tween.prop] = tween.now; - } - } - } - }; - -// Support: IE <=9 only -// Panic based approach to setting things on disconnected nodes - Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function (tween) { - if (tween.elem.nodeType && tween.elem.parentNode) { - tween.elem[tween.prop] = tween.now; - } - } - }; - - jQuery.easing = { - linear: function (p) { - return p; - }, - swing: function (p) { - return 0.5 - Math.cos(p * Math.PI) / 2; - }, - _default: "swing" - }; - - jQuery.fx = Tween.prototype.init; - -// Back compat <1.8 extension point - jQuery.fx.step = {}; - - - var - fxNow, inProgress, - rfxtypes = /^(?:toggle|show|hide)$/, - rrun = /queueHooks$/; - - function schedule() { - if (inProgress) { - if (document.hidden === false && window.requestAnimationFrame) { - window.requestAnimationFrame(schedule); - } else { - window.setTimeout(schedule, jQuery.fx.interval); - } - - jQuery.fx.tick(); - } - } - -// Animations created synchronously will run synchronously - function createFxNow() { - window.setTimeout(function () { - fxNow = undefined; - }); - return (fxNow = Date.now()); - } - -// Generate parameters to create a standard animation - function genFx(type, includeWidth) { - var which, - i = 0, - attrs = {height: type}; - - // If we include width, step value is 1 to do all cssExpand values, - // otherwise step value is 2 to skip over Left and Right - includeWidth = includeWidth ? 1 : 0; - for (; i < 4; i += 2 - includeWidth) { - which = cssExpand[i]; - attrs["margin" + which] = attrs["padding" + which] = type; - } - - if (includeWidth) { - attrs.opacity = attrs.width = type; - } - - return attrs; - } - - function createTween(value, prop, animation) { - var tween, - collection = (Animation.tweeners[prop] || []).concat(Animation.tweeners["*"]), - index = 0, - length = collection.length; - for (; index < length; index++) { - if ((tween = collection[index].call(animation, prop, value))) { - - // We're done with this property - return tween; - } - } - } - - function defaultPrefilter(elem, props, opts) { - var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, - isBox = "width" in props || "height" in props, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHiddenWithinTree(elem), - dataShow = dataPriv.get(elem, "fxshow"); - - // Queue-skipping animations hijack the fx hooks - if (!opts.queue) { - hooks = jQuery._queueHooks(elem, "fx"); - if (hooks.unqueued == null) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function () { - if (!hooks.unqueued) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always(function () { - - // Ensure the complete handler is called before this completes - anim.always(function () { - hooks.unqueued--; - if (!jQuery.queue(elem, "fx").length) { - hooks.empty.fire(); - } - }); - }); - } - - // Detect show/hide animations - for (prop in props) { - value = props[prop]; - if (rfxtypes.test(value)) { - delete props[prop]; - toggle = toggle || value === "toggle"; - if (value === (hidden ? "hide" : "show")) { - - // Pretend to be hidden if this is a "show" and - // there is still data from a stopped show/hide - if (value === "show" && dataShow && dataShow[prop] !== undefined) { - hidden = true; - - // Ignore all other no-op show/hide data - } else { - continue; - } - } - orig[prop] = dataShow && dataShow[prop] || jQuery.style(elem, prop); - } - } - - // Bail out if this is a no-op like .hide().hide() - propTween = !jQuery.isEmptyObject(props); - if (!propTween && jQuery.isEmptyObject(orig)) { - return; - } - - // Restrict "overflow" and "display" styles during box animations - if (isBox && elem.nodeType === 1) { - - // Support: IE <=9 - 11, Edge 12 - 15 - // Record all 3 overflow attributes because IE does not infer the shorthand - // from identically-valued overflowX and overflowY and Edge just mirrors - // the overflowX value there. - opts.overflow = [style.overflow, style.overflowX, style.overflowY]; - - // Identify a display type, preferring old show/hide data over the CSS cascade - restoreDisplay = dataShow && dataShow.display; - if (restoreDisplay == null) { - restoreDisplay = dataPriv.get(elem, "display"); - } - display = jQuery.css(elem, "display"); - if (display === "none") { - if (restoreDisplay) { - display = restoreDisplay; - } else { - - // Get nonempty value(s) by temporarily forcing visibility - showHide([elem], true); - restoreDisplay = elem.style.display || restoreDisplay; - display = jQuery.css(elem, "display"); - showHide([elem]); - } - } - - // Animate inline elements as inline-block - if (display === "inline" || display === "inline-block" && restoreDisplay != null) { - if (jQuery.css(elem, "float") === "none") { - - // Restore the original display value at the end of pure show/hide animations - if (!propTween) { - anim.done(function () { - style.display = restoreDisplay; - }); - if (restoreDisplay == null) { - display = style.display; - restoreDisplay = display === "none" ? "" : display; - } - } - style.display = "inline-block"; - } - } - } - - if (opts.overflow) { - style.overflow = "hidden"; - anim.always(function () { - style.overflow = opts.overflow[0]; - style.overflowX = opts.overflow[1]; - style.overflowY = opts.overflow[2]; - }); - } - - // Implement show/hide animations - propTween = false; - for (prop in orig) { - - // General show/hide setup for this element animation - if (!propTween) { - if (dataShow) { - if ("hidden" in dataShow) { - hidden = dataShow.hidden; - } - } else { - dataShow = dataPriv.access(elem, "fxshow", {display: restoreDisplay}); - } - - // Store hidden/visible for toggle so `.stop().toggle()` "reverses" - if (toggle) { - dataShow.hidden = !hidden; - } - - // Show elements before animating them - if (hidden) { - showHide([elem], true); - } - - /* eslint-disable no-loop-func */ - - anim.done(function () { - - /* eslint-enable no-loop-func */ - - // The final step of a "hide" animation is actually hiding the element - if (!hidden) { - showHide([elem]); - } - dataPriv.remove(elem, "fxshow"); - for (prop in orig) { - jQuery.style(elem, prop, orig[prop]); - } - }); - } - - // Per-property setup - propTween = createTween(hidden ? dataShow[prop] : 0, prop, anim); - if (!(prop in dataShow)) { - dataShow[prop] = propTween.start; - if (hidden) { - propTween.end = propTween.start; - propTween.start = 0; - } - } - } - } - - function propFilter(props, specialEasing) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for (index in props) { - name = camelCase(index); - easing = specialEasing[name]; - value = props[index]; - if (Array.isArray(value)) { - easing = value[1]; - value = props[index] = value[0]; - } - - if (index !== name) { - props[name] = value; - delete props[index]; - } - - hooks = jQuery.cssHooks[name]; - if (hooks && "expand" in hooks) { - value = hooks.expand(value); - delete props[name]; - - // Not quite $.extend, this won't overwrite existing keys. - // Reusing 'index' because we have the correct "name" - for (index in value) { - if (!(index in props)) { - props[index] = value[index]; - specialEasing[index] = easing; - } - } - } else { - specialEasing[name] = easing; - } - } - } - - function Animation(elem, properties, options) { - var result, - stopped, - index = 0, - length = Animation.prefilters.length, - deferred = jQuery.Deferred().always(function () { - - // Don't match elem in the :animated selector - delete tick.elem; - }), - tick = function () { - if (stopped) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max(0, animation.startTime + animation.duration - currentTime), - - // Support: Android 2.3 only - // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for (; index < length; index++) { - animation.tweens[index].run(percent); - } - - deferred.notifyWith(elem, [animation, percent, remaining]); - - // If there's more to do, yield - if (percent < 1 && length) { - return remaining; - } - - // If this was an empty animation, synthesize a final progress notification - if (!length) { - deferred.notifyWith(elem, [animation, 1, 0]); - } - - // Resolve the animation and report its conclusion - deferred.resolveWith(elem, [animation]); - return false; - }, - animation = deferred.promise({ - elem: elem, - props: jQuery.extend({}, properties), - opts: jQuery.extend(true, { - specialEasing: {}, - easing: jQuery.easing._default - }, options), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function (prop, end) { - var tween = jQuery.Tween(elem, animation.opts, prop, end, - animation.opts.specialEasing[prop] || animation.opts.easing); - animation.tweens.push(tween); - return tween; - }, - stop: function (gotoEnd) { - var index = 0, - - // If we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if (stopped) { - return this; - } - stopped = true; - for (; index < length; index++) { - animation.tweens[index].run(1); - } - - // Resolve when we played the last frame; otherwise, reject - if (gotoEnd) { - deferred.notifyWith(elem, [animation, 1, 0]); - deferred.resolveWith(elem, [animation, gotoEnd]); - } else { - deferred.rejectWith(elem, [animation, gotoEnd]); - } - return this; - } - }), - props = animation.props; - - propFilter(props, animation.opts.specialEasing); - - for (; index < length; index++) { - result = Animation.prefilters[index].call(animation, elem, props, animation.opts); - if (result) { - if (isFunction(result.stop)) { - jQuery._queueHooks(animation.elem, animation.opts.queue).stop = - result.stop.bind(result); - } - return result; - } - } - - jQuery.map(props, createTween, animation); - - if (isFunction(animation.opts.start)) { - animation.opts.start.call(elem, animation); - } - - // Attach callbacks from options - animation - .progress(animation.opts.progress) - .done(animation.opts.done, animation.opts.complete) - .fail(animation.opts.fail) - .always(animation.opts.always); - - jQuery.fx.timer( - jQuery.extend(tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - }) - ); - - return animation; - } - - jQuery.Animation = jQuery.extend(Animation, { - - tweeners: { - "*": [function (prop, value) { - var tween = this.createTween(prop, value); - adjustCSS(tween.elem, prop, rcssNum.exec(value), tween); - return tween; - }] - }, - - tweener: function (props, callback) { - if (isFunction(props)) { - callback = props; - props = ["*"]; - } else { - props = props.match(rnothtmlwhite); - } - - var prop, - index = 0, - length = props.length; - - for (; index < length; index++) { - prop = props[index]; - Animation.tweeners[prop] = Animation.tweeners[prop] || []; - Animation.tweeners[prop].unshift(callback); - } - }, - - prefilters: [defaultPrefilter], - - prefilter: function (callback, prepend) { - if (prepend) { - Animation.prefilters.unshift(callback); - } else { - Animation.prefilters.push(callback); - } - } - }); - - jQuery.speed = function (speed, easing, fn) { - var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : { - complete: fn || !fn && easing || - isFunction(speed) && speed, - duration: speed, - easing: fn && easing || easing && !isFunction(easing) && easing - }; - - // Go to the end state if fx are off - if (jQuery.fx.off) { - opt.duration = 0; - - } else { - if (typeof opt.duration !== "number") { - if (opt.duration in jQuery.fx.speeds) { - opt.duration = jQuery.fx.speeds[opt.duration]; - - } else { - opt.duration = jQuery.fx.speeds._default; - } - } - } - - // Normalize opt.queue - true/undefined/null -> "fx" - if (opt.queue == null || opt.queue === true) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function () { - if (isFunction(opt.old)) { - opt.old.call(this); - } - - if (opt.queue) { - jQuery.dequeue(this, opt.queue); - } - }; - - return opt; - }; - - jQuery.fn.extend({ - fadeTo: function (speed, to, easing, callback) { - - // Show any hidden elements after setting opacity to 0 - return this.filter(isHiddenWithinTree).css("opacity", 0).show() - - // Animate to the value specified - .end().animate({opacity: to}, speed, easing, callback); - }, - animate: function (prop, speed, easing, callback) { - var empty = jQuery.isEmptyObject(prop), - optall = jQuery.speed(speed, easing, callback), - doAnimation = function () { - - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation(this, jQuery.extend({}, prop), optall); - - // Empty animations, or finishing resolves immediately - if (empty || dataPriv.get(this, "finish")) { - anim.stop(true); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each(doAnimation) : - this.queue(optall.queue, doAnimation); - }, - stop: function (type, clearQueue, gotoEnd) { - var stopQueue = function (hooks) { - var stop = hooks.stop; - delete hooks.stop; - stop(gotoEnd); - }; - - if (typeof type !== "string") { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if (clearQueue && type !== false) { - this.queue(type || "fx", []); - } - - return this.each(function () { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = dataPriv.get(this); - - if (index) { - if (data[index] && data[index].stop) { - stopQueue(data[index]); - } - } else { - for (index in data) { - if (data[index] && data[index].stop && rrun.test(index)) { - stopQueue(data[index]); - } - } - } - - for (index = timers.length; index--;) { - if (timers[index].elem === this && - (type == null || timers[index].queue === type)) { - - timers[index].anim.stop(gotoEnd); - dequeue = false; - timers.splice(index, 1); - } - } - - // Start the next in the queue if the last step wasn't forced. - // Timers currently will call their complete callbacks, which - // will dequeue but only if they were gotoEnd. - if (dequeue || !gotoEnd) { - jQuery.dequeue(this, type); - } - }); - }, - finish: function (type) { - if (type !== false) { - type = type || "fx"; - } - return this.each(function () { - var index, - data = dataPriv.get(this), - queue = data[type + "queue"], - hooks = data[type + "queueHooks"], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // Enable finishing flag on private data - data.finish = true; - - // Empty the queue first - jQuery.queue(this, type, []); - - if (hooks && hooks.stop) { - hooks.stop.call(this, true); - } - - // Look for any active animations, and finish them - for (index = timers.length; index--;) { - if (timers[index].elem === this && timers[index].queue === type) { - timers[index].anim.stop(true); - timers.splice(index, 1); - } - } - - // Look for any animations in the old queue and finish them - for (index = 0; index < length; index++) { - if (queue[index] && queue[index].finish) { - queue[index].finish.call(this); - } - } - - // Turn off finishing flag - delete data.finish; - }); - } - }); - - jQuery.each(["toggle", "show", "hide"], function (i, name) { - var cssFn = jQuery.fn[name]; - jQuery.fn[name] = function (speed, easing, callback) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply(this, arguments) : - this.animate(genFx(name, true), speed, easing, callback); - }; - }); - -// Generate shortcuts for custom animations - jQuery.each({ - slideDown: genFx("show"), - slideUp: genFx("hide"), - slideToggle: genFx("toggle"), - fadeIn: {opacity: "show"}, - fadeOut: {opacity: "hide"}, - fadeToggle: {opacity: "toggle"} - }, function (name, props) { - jQuery.fn[name] = function (speed, easing, callback) { - return this.animate(props, speed, easing, callback); - }; - }); - - jQuery.timers = []; - jQuery.fx.tick = function () { - var timer, - i = 0, - timers = jQuery.timers; - - fxNow = Date.now(); - - for (; i < timers.length; i++) { - timer = timers[i]; - - // Run the timer and safely remove it when done (allowing for external removal) - if (!timer() && timers[i] === timer) { - timers.splice(i--, 1); - } - } - - if (!timers.length) { - jQuery.fx.stop(); - } - fxNow = undefined; - }; - - jQuery.fx.timer = function (timer) { - jQuery.timers.push(timer); - jQuery.fx.start(); - }; - - jQuery.fx.interval = 13; - jQuery.fx.start = function () { - if (inProgress) { - return; - } - - inProgress = true; - schedule(); - }; - - jQuery.fx.stop = function () { - inProgress = null; - }; - - jQuery.fx.speeds = { - slow: 600, - fast: 200, - - // Default speed - _default: 400 - }; - - -// Based off of the plugin by Clint Helfers, with permission. -// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ - jQuery.fn.delay = function (time, type) { - time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; - type = type || "fx"; - - return this.queue(type, function (next, hooks) { - var timeout = window.setTimeout(next, time); - hooks.stop = function () { - window.clearTimeout(timeout); - }; - }); - }; - - - (function () { - var input = document.createElement("input"), - select = document.createElement("select"), - opt = select.appendChild(document.createElement("option")); - - input.type = "checkbox"; - - // Support: Android <=4.3 only - // Default value for a checkbox should be "on" - support.checkOn = input.value !== ""; - - // Support: IE <=11 only - // Must access selectedIndex to make default options select - support.optSelected = opt.selected; - - // Support: IE <=11 only - // An input loses its value after becoming a radio - input = document.createElement("input"); - input.value = "t"; - input.type = "radio"; - support.radioValue = input.value === "t"; - })(); - - - var boolHook, - attrHandle = jQuery.expr.attrHandle; - - jQuery.fn.extend({ - attr: function (name, value) { - return access(this, jQuery.attr, name, value, arguments.length > 1); - }, - - removeAttr: function (name) { - return this.each(function () { - jQuery.removeAttr(this, name); - }); - } - }); - - jQuery.extend({ - attr: function (elem, name, value) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set attributes on text, comment and attribute nodes - if (nType === 3 || nType === 8 || nType === 2) { - return; - } - - // Fallback to prop when attributes are not supported - if (typeof elem.getAttribute === "undefined") { - return jQuery.prop(elem, name, value); - } - - // Attribute hooks are determined by the lowercase version - // Grab necessary hook if one is defined - if (nType !== 1 || !jQuery.isXMLDoc(elem)) { - hooks = jQuery.attrHooks[name.toLowerCase()] || - (jQuery.expr.match.bool.test(name) ? boolHook : undefined); - } - - if (value !== undefined) { - if (value === null) { - jQuery.removeAttr(elem, name); - return; - } - - if (hooks && "set" in hooks && - (ret = hooks.set(elem, value, name)) !== undefined) { - return ret; - } - - elem.setAttribute(name, value + ""); - return value; - } - - if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) { - return ret; - } - - ret = jQuery.find.attr(elem, name); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? undefined : ret; - }, - - attrHooks: { - type: { - set: function (elem, value) { - if (!support.radioValue && value === "radio" && - nodeName(elem, "input")) { - var val = elem.value; - elem.setAttribute("type", value); - if (val) { - elem.value = val; - } - return value; - } - } - } - }, - - removeAttr: function (elem, value) { - var name, - i = 0, - - // Attribute names can contain non-HTML whitespace characters - // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 - attrNames = value && value.match(rnothtmlwhite); - - if (attrNames && elem.nodeType === 1) { - while ((name = attrNames[i++])) { - elem.removeAttribute(name); - } - } - } - }); - -// Hooks for boolean attributes - boolHook = { - set: function (elem, value, name) { - if (value === false) { - - // Remove boolean attributes when set to false - jQuery.removeAttr(elem, name); - } else { - elem.setAttribute(name, name); - } - return name; - } - }; - - jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function (i, name) { - var getter = attrHandle[name] || jQuery.find.attr; - - attrHandle[name] = function (elem, name, isXML) { - var ret, handle, - lowercaseName = name.toLowerCase(); - - if (!isXML) { - - // Avoid an infinite loop by temporarily removing this function from the getter - handle = attrHandle[lowercaseName]; - attrHandle[lowercaseName] = ret; - ret = getter(elem, name, isXML) != null ? - lowercaseName : - null; - attrHandle[lowercaseName] = handle; - } - return ret; - }; - }); - - - var rfocusable = /^(?:input|select|textarea|button)$/i, - rclickable = /^(?:a|area)$/i; - - jQuery.fn.extend({ - prop: function (name, value) { - return access(this, jQuery.prop, name, value, arguments.length > 1); - }, - - removeProp: function (name) { - return this.each(function () { - delete this[jQuery.propFix[name] || name]; - }); - } - }); - - jQuery.extend({ - prop: function (elem, name, value) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set properties on text, comment and attribute nodes - if (nType === 3 || nType === 8 || nType === 2) { - return; - } - - if (nType !== 1 || !jQuery.isXMLDoc(elem)) { - - // Fix name and attach hooks - name = jQuery.propFix[name] || name; - hooks = jQuery.propHooks[name]; - } - - if (value !== undefined) { - if (hooks && "set" in hooks && - (ret = hooks.set(elem, value, name)) !== undefined) { - return ret; - } - - return (elem[name] = value); - } - - if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) { - return ret; - } - - return elem[name]; - }, - - propHooks: { - tabIndex: { - get: function (elem) { - - // Support: IE <=9 - 11 only - // elem.tabIndex doesn't always return the - // correct value when it hasn't been explicitly set - // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr(elem, "tabindex"); - - if (tabindex) { - return parseInt(tabindex, 10); - } - - if ( - rfocusable.test(elem.nodeName) || - rclickable.test(elem.nodeName) && - elem.href - ) { - return 0; - } - - return -1; - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - } - }); - -// Support: IE <=11 only -// Accessing the selectedIndex property -// forces the browser to respect setting selected -// on the option -// The getter ensures a default option is selected -// when in an optgroup -// eslint rule "no-unused-expressions" is disabled for this code -// since it considers such accessions noop - if (!support.optSelected) { - jQuery.propHooks.selected = { - get: function (elem) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if (parent && parent.parentNode) { - parent.parentNode.selectedIndex; - } - return null; - }, - set: function (elem) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if (parent) { - parent.selectedIndex; - - if (parent.parentNode) { - parent.parentNode.selectedIndex; - } - } - } - }; - } - - jQuery.each([ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" - ], function () { - jQuery.propFix[this.toLowerCase()] = this; - }); - - - // Strip and collapse whitespace according to HTML spec - // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace - function stripAndCollapse(value) { - var tokens = value.match(rnothtmlwhite) || []; - return tokens.join(" "); - } - - - function getClass(elem) { - return elem.getAttribute && elem.getAttribute("class") || ""; - } - - function classesToArray(value) { - if (Array.isArray(value)) { - return value; - } - if (typeof value === "string") { - return value.match(rnothtmlwhite) || []; - } - return []; - } - - jQuery.fn.extend({ - addClass: function (value) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if (isFunction(value)) { - return this.each(function (j) { - jQuery(this).addClass(value.call(this, j, getClass(this))); - }); - } - - classes = classesToArray(value); - - if (classes.length) { - while ((elem = this[i++])) { - curValue = getClass(elem); - cur = elem.nodeType === 1 && (" " + stripAndCollapse(curValue) + " "); - - if (cur) { - j = 0; - while ((clazz = classes[j++])) { - if (cur.indexOf(" " + clazz + " ") < 0) { - cur += clazz + " "; - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse(cur); - if (curValue !== finalValue) { - elem.setAttribute("class", finalValue); - } - } - } - } - - return this; - }, - - removeClass: function (value) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if (isFunction(value)) { - return this.each(function (j) { - jQuery(this).removeClass(value.call(this, j, getClass(this))); - }); - } - - if (!arguments.length) { - return this.attr("class", ""); - } - - classes = classesToArray(value); - - if (classes.length) { - while ((elem = this[i++])) { - curValue = getClass(elem); - - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && (" " + stripAndCollapse(curValue) + " "); - - if (cur) { - j = 0; - while ((clazz = classes[j++])) { - - // Remove *all* instances - while (cur.indexOf(" " + clazz + " ") > -1) { - cur = cur.replace(" " + clazz + " ", " "); - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse(cur); - if (curValue !== finalValue) { - elem.setAttribute("class", finalValue); - } - } - } - } - - return this; - }, - - toggleClass: function (value, stateVal) { - var type = typeof value, - isValidValue = type === "string" || Array.isArray(value); - - if (typeof stateVal === "boolean" && isValidValue) { - return stateVal ? this.addClass(value) : this.removeClass(value); - } - - if (isFunction(value)) { - return this.each(function (i) { - jQuery(this).toggleClass( - value.call(this, i, getClass(this), stateVal), - stateVal - ); - }); - } - - return this.each(function () { - var className, i, self, classNames; - - if (isValidValue) { - - // Toggle individual class names - i = 0; - self = jQuery(this); - classNames = classesToArray(value); - - while ((className = classNames[i++])) { - - // Check each className given, space separated list - if (self.hasClass(className)) { - self.removeClass(className); - } else { - self.addClass(className); - } - } - - // Toggle whole class name - } else if (value === undefined || type === "boolean") { - className = getClass(this); - if (className) { - - // Store className if set - dataPriv.set(this, "__className__", className); - } - - // If the element has a class name or if we're passed `false`, - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - if (this.setAttribute) { - this.setAttribute("class", - className || value === false ? - "" : - dataPriv.get(this, "__className__") || "" - ); - } - } - }); - }, - - hasClass: function (selector) { - var className, elem, - i = 0; - - className = " " + selector + " "; - while ((elem = this[i++])) { - if (elem.nodeType === 1 && - (" " + stripAndCollapse(getClass(elem)) + " ").indexOf(className) > -1) { - return true; - } - } - - return false; - } - }); - - - var rreturn = /\r/g; - - jQuery.fn.extend({ - val: function (value) { - var hooks, ret, valueIsFunction, - elem = this[0]; - - if (!arguments.length) { - if (elem) { - hooks = jQuery.valHooks[elem.type] || - jQuery.valHooks[elem.nodeName.toLowerCase()]; - - if (hooks && - "get" in hooks && - (ret = hooks.get(elem, "value")) !== undefined - ) { - return ret; - } - - ret = elem.value; - - // Handle most common string cases - if (typeof ret === "string") { - return ret.replace(rreturn, ""); - } - - // Handle cases where value is null/undef or number - return ret == null ? "" : ret; - } - - return; - } - - valueIsFunction = isFunction(value); - - return this.each(function (i) { - var val; - - if (this.nodeType !== 1) { - return; - } - - if (valueIsFunction) { - val = value.call(this, i, jQuery(this).val()); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if (val == null) { - val = ""; - - } else if (typeof val === "number") { - val += ""; - - } else if (Array.isArray(val)) { - val = jQuery.map(val, function (value) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[this.type] || jQuery.valHooks[this.nodeName.toLowerCase()]; - - // If set returns undefined, fall back to normal setting - if (!hooks || !("set" in hooks) || hooks.set(this, val, "value") === undefined) { - this.value = val; - } - }); - } - }); - - jQuery.extend({ - valHooks: { - option: { - get: function (elem) { - - var val = jQuery.find.attr(elem, "value"); - return val != null ? - val : - - // Support: IE <=10 - 11 only - // option.text throws exceptions (#14686, #14858) - // Strip and collapse whitespace - // https://html.spec.whatwg.org/#strip-and-collapse-whitespace - stripAndCollapse(jQuery.text(elem)); - } - }, - select: { - get: function (elem) { - var value, option, i, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one", - values = one ? null : [], - max = one ? index + 1 : options.length; - - if (index < 0) { - i = max; - - } else { - i = one ? index : 0; - } - - // Loop through all the selected options - for (; i < max; i++) { - option = options[i]; - - // Support: IE <=9 only - // IE8-9 doesn't update selected after form reset (#2551) - if ((option.selected || i === index) && - - // Don't return options that are disabled or in a disabled optgroup - !option.disabled && - (!option.parentNode.disabled || - !nodeName(option.parentNode, "optgroup"))) { - - // Get the specific value for the option - value = jQuery(option).val(); - - // We don't need an array for one selects - if (one) { - return value; - } - - // Multi-Selects return an array - values.push(value); - } - } - - return values; - }, - - set: function (elem, value) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray(value), - i = options.length; - - while (i--) { - option = options[i]; - - /* eslint-disable no-cond-assign */ - - if (option.selected = - jQuery.inArray(jQuery.valHooks.option.get(option), values) > -1 - ) { - optionSet = true; - } - - /* eslint-enable no-cond-assign */ - } - - // Force browsers to behave consistently when non-matching value is set - if (!optionSet) { - elem.selectedIndex = -1; - } - return values; - } - } - } - }); - -// Radios and checkboxes getter/setter - jQuery.each(["radio", "checkbox"], function () { - jQuery.valHooks[this] = { - set: function (elem, value) { - if (Array.isArray(value)) { - return (elem.checked = jQuery.inArray(jQuery(elem).val(), value) > -1); - } - } - }; - if (!support.checkOn) { - jQuery.valHooks[this].get = function (elem) { - return elem.getAttribute("value") === null ? "on" : elem.value; - }; - } - }); - - -// Return jQuery for attributes-only inclusion - - - support.focusin = "onfocusin" in window; - - - var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - stopPropagationCallback = function (e) { - e.stopPropagation(); - }; - - jQuery.extend(jQuery.event, { - - trigger: function (event, data, elem, onlyHandlers) { - - var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, - eventPath = [elem || document], - type = hasOwn.call(event, "type") ? event.type : event, - namespaces = hasOwn.call(event, "namespace") ? event.namespace.split(".") : []; - - cur = lastElement = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if (elem.nodeType === 3 || elem.nodeType === 8) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if (rfocusMorph.test(type + jQuery.event.triggered)) { - return; - } - - if (type.indexOf(".") > -1) { - - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[jQuery.expando] ? - event : - new jQuery.Event(type, typeof event === "object" && event); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join("."); - event.rnamespace = event.namespace ? - new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if (!event.target) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [event] : - jQuery.makeArray(data, [event]); - - // Allow special events to draw outside the lines - special = jQuery.event.special[type] || {}; - if (!onlyHandlers && special.trigger && special.trigger.apply(elem, data) === false) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if (!onlyHandlers && !special.noBubble && !isWindow(elem)) { - - bubbleType = special.delegateType || type; - if (!rfocusMorph.test(bubbleType + type)) { - cur = cur.parentNode; - } - for (; cur; cur = cur.parentNode) { - eventPath.push(cur); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if (tmp === (elem.ownerDocument || document)) { - eventPath.push(tmp.defaultView || tmp.parentWindow || window); - } - } - - // Fire handlers on the event path - i = 0; - while ((cur = eventPath[i++]) && !event.isPropagationStopped()) { - lastElement = cur; - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = (dataPriv.get(cur, "events") || {})[event.type] && - dataPriv.get(cur, "handle"); - if (handle) { - handle.apply(cur, data); - } - - // Native handler - handle = ontype && cur[ontype]; - if (handle && handle.apply && acceptData(cur)) { - event.result = handle.apply(cur, data); - if (event.result === false) { - event.preventDefault(); - } - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if (!onlyHandlers && !event.isDefaultPrevented()) { - - if ((!special._default || - special._default.apply(eventPath.pop(), data) === false) && - acceptData(elem)) { - - // Call a native DOM method on the target with the same name as the event. - // Don't do default actions on window, that's where global variables be (#6170) - if (ontype && isFunction(elem[type]) && !isWindow(elem)) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ontype]; - - if (tmp) { - elem[ontype] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - - if (event.isPropagationStopped()) { - lastElement.addEventListener(type, stopPropagationCallback); - } - - elem[type](); - - if (event.isPropagationStopped()) { - lastElement.removeEventListener(type, stopPropagationCallback); - } - - jQuery.event.triggered = undefined; - - if (tmp) { - elem[ontype] = tmp; - } - } - } - } - - return event.result; - }, - - // Piggyback on a donor event to simulate a different one - // Used only for `focus(in | out)` events - simulate: function (type, elem, event) { - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true - } - ); - - jQuery.event.trigger(e, null, elem); - } - - }); - - jQuery.fn.extend({ - - trigger: function (type, data) { - return this.each(function () { - jQuery.event.trigger(type, data, this); - }); - }, - triggerHandler: function (type, data) { - var elem = this[0]; - if (elem) { - return jQuery.event.trigger(type, data, elem, true); - } - } - }); - - -// Support: Firefox <=44 -// Firefox doesn't have focus(in | out) events -// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 -// -// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 -// focus(in | out) events fire after focus & blur events, -// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order -// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 - if (!support.focusin) { - jQuery.each({focus: "focusin", blur: "focusout"}, function (orig, fix) { - - // Attach a single capturing handler on the document while someone wants focusin/focusout - var handler = function (event) { - jQuery.event.simulate(fix, event.target, jQuery.event.fix(event)); - }; - - jQuery.event.special[fix] = { - setup: function () { - var doc = this.ownerDocument || this, - attaches = dataPriv.access(doc, fix); - - if (!attaches) { - doc.addEventListener(orig, handler, true); - } - dataPriv.access(doc, fix, (attaches || 0) + 1); - }, - teardown: function () { - var doc = this.ownerDocument || this, - attaches = dataPriv.access(doc, fix) - 1; - - if (!attaches) { - doc.removeEventListener(orig, handler, true); - dataPriv.remove(doc, fix); - - } else { - dataPriv.access(doc, fix, attaches); - } - } - }; - }); - } - var location = window.location; - - var nonce = Date.now(); - - var rquery = (/\?/); - - -// Cross-browser xml parsing - jQuery.parseXML = function (data) { - var xml; - if (!data || typeof data !== "string") { - return null; - } - - // Support: IE 9 - 11 only - // IE throws on parseFromString with invalid input. - try { - xml = (new window.DOMParser()).parseFromString(data, "text/xml"); - } catch (e) { - xml = undefined; - } - - if (!xml || xml.getElementsByTagName("parsererror").length) { - jQuery.error("Invalid XML: " + data); - } - return xml; - }; - - - var - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - - function buildParams(prefix, obj, traditional, add) { - var name; - - if (Array.isArray(obj)) { - - // Serialize array item. - jQuery.each(obj, function (i, v) { - if (traditional || rbracket.test(prefix)) { - - // Treat each array item as a scalar. - add(prefix, v); - - } else { - - // Item is non-scalar (array or object), encode its numeric index. - buildParams( - prefix + "[" + (typeof v === "object" && v != null ? i : "") + "]", - v, - traditional, - add - ); - } - }); - - } else if (!traditional && toType(obj) === "object") { - - // Serialize object item. - for (name in obj) { - buildParams(prefix + "[" + name + "]", obj[name], traditional, add); - } - - } else { - - // Serialize scalar item. - add(prefix, obj); - } - } - -// Serialize an array of form elements or a set of -// key/values into a query string - jQuery.param = function (a, traditional) { - var prefix, - s = [], - add = function (key, valueOrFunction) { - - // If value is a function, invoke it and use its return value - var value = isFunction(valueOrFunction) ? - valueOrFunction() : - valueOrFunction; - - s[s.length] = encodeURIComponent(key) + "=" + - encodeURIComponent(value == null ? "" : value); - }; - - // If an array was passed in, assume that it is an array of form elements. - if (Array.isArray(a) || (a.jquery && !jQuery.isPlainObject(a))) { - - // Serialize the form elements - jQuery.each(a, function () { - add(this.name, this.value); - }); - - } else { - - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for (prefix in a) { - buildParams(prefix, a[prefix], traditional, add); - } - } - - // Return the resulting serialization - return s.join("&"); - }; - - jQuery.fn.extend({ - serialize: function () { - return jQuery.param(this.serializeArray()); - }, - serializeArray: function () { - return this.map(function () { - - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop(this, "elements"); - return elements ? jQuery.makeArray(elements) : this; - }) - .filter(function () { - var type = this.type; - - // Use .is( ":disabled" ) so that fieldset[disabled] works - return this.name && !jQuery(this).is(":disabled") && - rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) && - (this.checked || !rcheckableType.test(type)); - }) - .map(function (i, elem) { - var val = jQuery(this).val(); - - if (val == null) { - return null; - } - - if (Array.isArray(val)) { - return jQuery.map(val, function (val) { - return {name: elem.name, value: val.replace(rCRLF, "\r\n")}; - }); - } - - return {name: elem.name, value: val.replace(rCRLF, "\r\n")}; - }).get(); - } - }); - - - var - r20 = /%20/g, - rhash = /#.*$/, - rantiCache = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, - - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat("*"), - - // Anchor tag for parsing the document origin - originAnchor = document.createElement("a"); - originAnchor.href = location.href; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport - function addToPrefiltersOrTransports(structure) { - - // dataTypeExpression is optional and defaults to "*" - return function (dataTypeExpression, func) { - - if (typeof dataTypeExpression !== "string") { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || []; - - if (isFunction(func)) { - - // For each dataType in the dataTypeExpression - while ((dataType = dataTypes[i++])) { - - // Prepend if requested - if (dataType[0] === "+") { - dataType = dataType.slice(1) || "*"; - (structure[dataType] = structure[dataType] || []).unshift(func); - - // Otherwise append - } else { - (structure[dataType] = structure[dataType] || []).push(func); - } - } - } - }; - } - -// Base inspection function for prefilters and transports - function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) { - - var inspected = {}, - seekingTransport = (structure === transports); - - function inspect(dataType) { - var selected; - inspected[dataType] = true; - jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) { - var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR); - if (typeof dataTypeOrTransport === "string" && - !seekingTransport && !inspected[dataTypeOrTransport]) { - - options.dataTypes.unshift(dataTypeOrTransport); - inspect(dataTypeOrTransport); - return false; - } else if (seekingTransport) { - return !(selected = dataTypeOrTransport); - } - }); - return selected; - } - - return inspect(options.dataTypes[0]) || !inspected["*"] && inspect("*"); - } - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 - function ajaxExtend(target, src) { - var key, deep, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for (key in src) { - if (src[key] !== undefined) { - (flatOptions[key] ? target : (deep || (deep = {})))[key] = src[key]; - } - } - if (deep) { - jQuery.extend(true, target, deep); - } - - return target; - } - - /* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ - function ajaxHandleResponses(s, jqXHR, responses) { - - var ct, type, finalDataType, firstDataType, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while (dataTypes[0] === "*") { - dataTypes.shift(); - if (ct === undefined) { - ct = s.mimeType || jqXHR.getResponseHeader("Content-Type"); - } - } - - // Check if we're dealing with a known content-type - if (ct) { - for (type in contents) { - if (contents[type] && contents[type].test(ct)) { - dataTypes.unshift(type); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if (dataTypes[0] in responses) { - finalDataType = dataTypes[0]; - } else { - - // Try convertible dataTypes - for (type in responses) { - if (!dataTypes[0] || s.converters[type + " " + dataTypes[0]]) { - finalDataType = type; - break; - } - if (!firstDataType) { - firstDataType = type; - } - } - - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if (finalDataType) { - if (finalDataType !== dataTypes[0]) { - dataTypes.unshift(finalDataType); - } - return responses[finalDataType]; - } - } - - /* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ - function ajaxConvert(s, response, jqXHR, isSuccess) { - var conv2, current, conv, tmp, prev, - converters = {}, - - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if (dataTypes[1]) { - for (conv in s.converters) { - converters[conv.toLowerCase()] = s.converters[conv]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while (current) { - - if (s.responseFields[current]) { - jqXHR[s.responseFields[current]] = response; - } - - // Apply the dataFilter if provided - if (!prev && isSuccess && s.dataFilter) { - response = s.dataFilter(response, s.dataType); - } - - prev = current; - current = dataTypes.shift(); - - if (current) { - - // There's only work to do if current dataType is non-auto - if (current === "*") { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if (prev !== "*" && prev !== current) { - - // Seek a direct converter - conv = converters[prev + " " + current] || converters["* " + current]; - - // If none found, seek a pair - if (!conv) { - for (conv2 in converters) { - - // If conv2 outputs current - tmp = conv2.split(" "); - if (tmp[1] === current) { - - // If prev can be converted to accepted input - conv = converters[prev + " " + tmp[0]] || - converters["* " + tmp[0]]; - if (conv) { - - // Condense equivalence converters - if (conv === true) { - conv = converters[conv2]; - - // Otherwise, insert the intermediate dataType - } else if (converters[conv2] !== true) { - current = tmp[0]; - dataTypes.unshift(tmp[1]); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if (conv !== true) { - - // Unless errors are allowed to bubble, catch and return them - if (conv && s.throws) { - response = conv(response); - } else { - try { - response = conv(response); - } catch (e) { - return { - state: "parsererror", - error: conv ? e : "No conversion from " + prev + " to " + current - }; - } - } - } - } - } - } - - return {state: "success", data: response}; - } - - jQuery.extend({ - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: location.href, - type: "GET", - isLocal: rlocalProtocol.test(location.protocol), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": JSON.parse, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function (target, settings) { - return settings ? - - // Building a settings object - ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) : - - // Extending ajaxSettings - ajaxExtend(jQuery.ajaxSettings, target); - }, - - ajaxPrefilter: addToPrefiltersOrTransports(prefilters), - ajaxTransport: addToPrefiltersOrTransports(transports), - - // Main method - ajax: function (url, options) { - - // If url is an object, simulate pre-1.5 signature - if (typeof url === "object") { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var transport, - - // URL without anti-cache param - cacheURL, - - // Response headers - responseHeadersString, - responseHeaders, - - // timeout handle - timeoutTimer, - - // Url cleanup var - urlAnchor, - - // Request state (becomes false upon send and true upon completion) - completed, - - // To know if global events are to be dispatched - fireGlobals, - - // Loop variable - i, - - // uncached part of the url - uncached, - - // Create the final options object - s = jQuery.ajaxSetup({}, options), - - // Callbacks context - callbackContext = s.context || s, - - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && - (callbackContext.nodeType || callbackContext.jquery) ? - jQuery(callbackContext) : - jQuery.event, - - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks("once memory"), - - // Status-dependent callbacks - statusCode = s.statusCode || {}, - - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - - // Default abort message - strAbort = "canceled", - - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function (key) { - var match; - if (completed) { - if (!responseHeaders) { - responseHeaders = {}; - while ((match = rheaders.exec(responseHeadersString))) { - responseHeaders[match[1].toLowerCase()] = match[2]; - } - } - match = responseHeaders[key.toLowerCase()]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function () { - return completed ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function (name, value) { - if (completed == null) { - name = requestHeadersNames[name.toLowerCase()] = - requestHeadersNames[name.toLowerCase()] || name; - requestHeaders[name] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function (type) { - if (completed == null) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function (map) { - var code; - if (map) { - if (completed) { - - // Execute the appropriate callbacks - jqXHR.always(map[jqXHR.status]); - } else { - - // Lazy-add the new callbacks in a way that preserves old ones - for (code in map) { - statusCode[code] = [statusCode[code], map[code]]; - } - } - } - return this; - }, - - // Cancel the request - abort: function (statusText) { - var finalText = statusText || strAbort; - if (transport) { - transport.abort(finalText); - } - done(0, finalText); - return this; - } - }; - - // Attach deferreds - deferred.promise(jqXHR); - - // Add protocol if not provided (prefilters might expect it) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ((url || s.url || location.href) + "") - .replace(rprotocol, location.protocol + "//"); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = (s.dataType || "*").toLowerCase().match(rnothtmlwhite) || [""]; - - // A cross-domain request is in order when the origin doesn't match the current origin. - if (s.crossDomain == null) { - urlAnchor = document.createElement("a"); - - // Support: IE <=8 - 11, Edge 12 - 15 - // IE throws exception on accessing the href property if url is malformed, - // e.g. http://example.com:80x/ - try { - urlAnchor.href = s.url; - - // Support: IE <=8 - 11 only - // Anchor's host property isn't correctly set when s.url is relative - urlAnchor.href = urlAnchor.href; - s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== - urlAnchor.protocol + "//" + urlAnchor.host; - } catch (e) { - - // If there is an error parsing the URL, assume it is crossDomain, - // it can be rejected by the transport if it is invalid - s.crossDomain = true; - } - } - - // Convert data if not already a string - if (s.data && s.processData && typeof s.data !== "string") { - s.data = jQuery.param(s.data, s.traditional); - } - - // Apply prefilters - inspectPrefiltersOrTransports(prefilters, s, options, jqXHR); - - // If request was aborted inside a prefilter, stop there - if (completed) { - return jqXHR; - } - - // We can fire global events as of now if asked to - // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) - fireGlobals = jQuery.event && s.global; - - // Watch for a new set of requests - if (fireGlobals && jQuery.active++ === 0) { - jQuery.event.trigger("ajaxStart"); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test(s.type); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - // Remove hash to simplify url manipulation - cacheURL = s.url.replace(rhash, ""); - - // More options handling for requests with no content - if (!s.hasContent) { - - // Remember the hash so we can put it back - uncached = s.url.slice(cacheURL.length); - - // If data is available and should be processed, append data to url - if (s.data && (s.processData || typeof s.data === "string")) { - cacheURL += (rquery.test(cacheURL) ? "&" : "?") + s.data; - - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add or update anti-cache param if needed - if (s.cache === false) { - cacheURL = cacheURL.replace(rantiCache, "$1"); - uncached = (rquery.test(cacheURL) ? "&" : "?") + "_=" + (nonce++) + uncached; - } - - // Put hash and anti-cache on the URL that will be requested (gh-1732) - s.url = cacheURL + uncached; - - // Change '%20' to '+' if this is encoded form body content (gh-2658) - } else if (s.data && s.processData && - (s.contentType || "").indexOf("application/x-www-form-urlencoded") === 0) { - s.data = s.data.replace(r20, "+"); - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if (s.ifModified) { - if (jQuery.lastModified[cacheURL]) { - jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]); - } - if (jQuery.etag[cacheURL]) { - jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL]); - } - } - - // Set the correct header, if data is being sent - if (s.data && s.hasContent && s.contentType !== false || options.contentType) { - jqXHR.setRequestHeader("Content-Type", s.contentType); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[0] && s.accepts[s.dataTypes[0]] ? - s.accepts[s.dataTypes[0]] + - (s.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "") : - s.accepts["*"] - ); - - // Check for headers option - for (i in s.headers) { - jqXHR.setRequestHeader(i, s.headers[i]); - } - - // Allow custom headers/mimetypes and early abort - if (s.beforeSend && - (s.beforeSend.call(callbackContext, jqXHR, s) === false || completed)) { - - // Abort if not done already and return - return jqXHR.abort(); - } - - // Aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - completeDeferred.add(s.complete); - jqXHR.done(s.success); - jqXHR.fail(s.error); - - // Get transport - transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR); - - // If no transport, we auto-abort - if (!transport) { - done(-1, "No Transport"); - } else { - jqXHR.readyState = 1; - - // Send global event - if (fireGlobals) { - globalEventContext.trigger("ajaxSend", [jqXHR, s]); - } - - // If request was aborted inside ajaxSend, stop there - if (completed) { - return jqXHR; - } - - // Timeout - if (s.async && s.timeout > 0) { - timeoutTimer = window.setTimeout(function () { - jqXHR.abort("timeout"); - }, s.timeout); - } - - try { - completed = false; - transport.send(requestHeaders, done); - } catch (e) { - - // Rethrow post-completion exceptions - if (completed) { - throw e; - } - - // Propagate others as results - done(-1, e); - } - } - - // Callback for when everything is done - function done(status, nativeStatusText, responses, headers) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Ignore repeat invocations - if (completed) { - return; - } - - completed = true; - - // Clear timeout if it exists - if (timeoutTimer) { - window.clearTimeout(timeoutTimer); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if (responses) { - response = ajaxHandleResponses(s, jqXHR, responses); - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert(s, response, jqXHR, isSuccess); - - // If successful, handle type chaining - if (isSuccess) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if (s.ifModified) { - modified = jqXHR.getResponseHeader("Last-Modified"); - if (modified) { - jQuery.lastModified[cacheURL] = modified; - } - modified = jqXHR.getResponseHeader("etag"); - if (modified) { - jQuery.etag[cacheURL] = modified; - } - } - - // if no content - if (status === 204 || s.type === "HEAD") { - statusText = "nocontent"; - - // if not modified - } else if (status === 304) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - - // Extract error from statusText and normalize for non-aborts - error = statusText; - if (status || !statusText) { - statusText = "error"; - if (status < 0) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = (nativeStatusText || statusText) + ""; - - // Success/Error - if (isSuccess) { - deferred.resolveWith(callbackContext, [success, statusText, jqXHR]); - } else { - deferred.rejectWith(callbackContext, [jqXHR, statusText, error]); - } - - // Status-dependent callbacks - jqXHR.statusCode(statusCode); - statusCode = undefined; - - if (fireGlobals) { - globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError", - [jqXHR, s, isSuccess ? success : error]); - } - - // Complete - completeDeferred.fireWith(callbackContext, [jqXHR, statusText]); - - if (fireGlobals) { - globalEventContext.trigger("ajaxComplete", [jqXHR, s]); - - // Handle the global AJAX counter - if (!(--jQuery.active)) { - jQuery.event.trigger("ajaxStop"); - } - } - } - - return jqXHR; - }, - - getJSON: function (url, data, callback) { - return jQuery.get(url, data, callback, "json"); - }, - - getScript: function (url, callback) { - return jQuery.get(url, undefined, callback, "script"); - } - }); - - jQuery.each(["get", "post"], function (i, method) { - jQuery[method] = function (url, data, callback, type) { - - // Shift arguments if data argument was omitted - if (isFunction(data)) { - type = type || callback; - callback = data; - data = undefined; - } - - // The url can be an options object (which then must have .url) - return jQuery.ajax(jQuery.extend({ - url: url, - type: method, - dataType: type, - data: data, - success: callback - }, jQuery.isPlainObject(url) && url)); - }; - }); - - - jQuery._evalUrl = function (url) { - return jQuery.ajax({ - url: url, - - // Make this explicit, since user can override this through ajaxSetup (#11264) - type: "GET", - dataType: "script", - cache: true, - async: false, - global: false, - "throws": true - }); - }; - - - jQuery.fn.extend({ - wrapAll: function (html) { - var wrap; - - if (this[0]) { - if (isFunction(html)) { - html = html.call(this[0]); - } - - // The elements to wrap the target around - wrap = jQuery(html, this[0].ownerDocument).eq(0).clone(true); - - if (this[0].parentNode) { - wrap.insertBefore(this[0]); - } - - wrap.map(function () { - var elem = this; - - while (elem.firstElementChild) { - elem = elem.firstElementChild; - } - - return elem; - }).append(this); - } - - return this; - }, - - wrapInner: function (html) { - if (isFunction(html)) { - return this.each(function (i) { - jQuery(this).wrapInner(html.call(this, i)); - }); - } - - return this.each(function () { - var self = jQuery(this), - contents = self.contents(); - - if (contents.length) { - contents.wrapAll(html); - - } else { - self.append(html); - } - }); - }, - - wrap: function (html) { - var htmlIsFunction = isFunction(html); - - return this.each(function (i) { - jQuery(this).wrapAll(htmlIsFunction ? html.call(this, i) : html); - }); - }, - - unwrap: function (selector) { - this.parent(selector).not("body").each(function () { - jQuery(this).replaceWith(this.childNodes); - }); - return this; - } - }); - - - jQuery.expr.pseudos.hidden = function (elem) { - return !jQuery.expr.pseudos.visible(elem); - }; - jQuery.expr.pseudos.visible = function (elem) { - return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length); - }; - - - jQuery.ajaxSettings.xhr = function () { - try { - return new window.XMLHttpRequest(); - } catch (e) { - } - }; - - var xhrSuccessStatus = { - - // File protocol always yields status code 0, assume 200 - 0: 200, - - // Support: IE <=9 only - // #1450: sometimes IE returns 1223 when it should be 204 - 1223: 204 - }, - xhrSupported = jQuery.ajaxSettings.xhr(); - - support.cors = !!xhrSupported && ("withCredentials" in xhrSupported); - support.ajax = xhrSupported = !!xhrSupported; - - jQuery.ajaxTransport(function (options) { - var callback, errorCallback; - - // Cross domain only allowed if supported through XMLHttpRequest - if (support.cors || xhrSupported && !options.crossDomain) { - return { - send: function (headers, complete) { - var i, - xhr = options.xhr(); - - xhr.open( - options.type, - options.url, - options.async, - options.username, - options.password - ); - - // Apply custom fields if provided - if (options.xhrFields) { - for (i in options.xhrFields) { - xhr[i] = options.xhrFields[i]; - } - } - - // Override mime type if needed - if (options.mimeType && xhr.overrideMimeType) { - xhr.overrideMimeType(options.mimeType); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if (!options.crossDomain && !headers["X-Requested-With"]) { - headers["X-Requested-With"] = "XMLHttpRequest"; - } - - // Set headers - for (i in headers) { - xhr.setRequestHeader(i, headers[i]); - } - - // Callback - callback = function (type) { - return function () { - if (callback) { - callback = errorCallback = xhr.onload = - xhr.onerror = xhr.onabort = xhr.ontimeout = - xhr.onreadystatechange = null; - - if (type === "abort") { - xhr.abort(); - } else if (type === "error") { - - // Support: IE <=9 only - // On a manual native abort, IE9 throws - // errors on any property access that is not readyState - if (typeof xhr.status !== "number") { - complete(0, "error"); - } else { - complete( - // File: protocol always yields status 0; see #8605, #14207 - xhr.status, - xhr.statusText - ); - } - } else { - complete( - xhrSuccessStatus[xhr.status] || xhr.status, - xhr.statusText, - - // Support: IE <=9 only - // IE9 has no XHR2 but throws on binary (trac-11426) - // For XHR2 non-text, let the caller handle it (gh-2498) - (xhr.responseType || "text") !== "text" || - typeof xhr.responseText !== "string" ? - {binary: xhr.response} : - {text: xhr.responseText}, - xhr.getAllResponseHeaders() - ); - } - } - }; - }; - - // Listen to events - xhr.onload = callback(); - errorCallback = xhr.onerror = xhr.ontimeout = callback("error"); - - // Support: IE 9 only - // Use onreadystatechange to replace onabort - // to handle uncaught aborts - if (xhr.onabort !== undefined) { - xhr.onabort = errorCallback; - } else { - xhr.onreadystatechange = function () { - - // Check readyState before timeout as it changes - if (xhr.readyState === 4) { - - // Allow onerror to be called first, - // but that will not handle a native abort - // Also, save errorCallback to a variable - // as xhr.onerror cannot be accessed - window.setTimeout(function () { - if (callback) { - errorCallback(); - } - }); - } - }; - } - - // Create the abort callback - callback = callback("abort"); - - try { - - // Do send the request (this may raise an exception) - xhr.send(options.hasContent && options.data || null); - } catch (e) { - - // #14683: Only rethrow if this hasn't been notified as an error yet - if (callback) { - throw e; - } - } - }, - - abort: function () { - if (callback) { - callback(); - } - } - }; - } - }); - - -// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) - jQuery.ajaxPrefilter(function (s) { - if (s.crossDomain) { - s.contents.script = false; - } - }); - -// Install script dataType - jQuery.ajaxSetup({ - accepts: { - script: "text/javascript, application/javascript, " + - "application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function (text) { - jQuery.globalEval(text); - return text; - } - } - }); - -// Handle cache's special case and crossDomain - jQuery.ajaxPrefilter("script", function (s) { - if (s.cache === undefined) { - s.cache = false; - } - if (s.crossDomain) { - s.type = "GET"; - } - }); - -// Bind script tag hack transport - jQuery.ajaxTransport("script", function (s) { - - // This transport only deals with cross domain requests - if (s.crossDomain) { - var script, callback; - return { - send: function (_, complete) { - script = jQuery("