diff --git a/build/css/themeSet.css b/build/css/themeSet.css deleted file mode 100644 index bdd2513..0000000 --- a/build/css/themeSet.css +++ /dev/null @@ -1,18 +0,0 @@ -:root { - --b2-theme-c: #379ae8; - --b2-theme-c-light: #4ea3e4; - --b2-bg: #f8f8f8; - --b2-pre-bg: #fff; - --b2-text: #2c3e50; - --b2-active: #fff; - --b2-border: #EBEEF5; -} -html.dark { - --b2-theme-c: #f7c099; - --b2-theme-c-light: #d8a682; - --b2-bg: #2a2a2f; - --b2-pre-bg: #22272e; - --b2-text: #adbac7; - --b2-active: #78757c; - --b2-border: #78757c; -} diff --git a/build/css/themeSet.less b/build/css/themeSet.less deleted file mode 100644 index f8f3fbc..0000000 --- a/build/css/themeSet.less +++ /dev/null @@ -1,19 +0,0 @@ -:root { - --b2-theme-c: #379ae8; - --b2-theme-c-light: #4ea3e4; - --b2-bg: #f8f8f8; - --b2-pre-bg: #fff; - --b2-text: #2c3e50; - --b2-active: #fff; - --b2-border: #EBEEF5; -} - -html.dark { - --b2-theme-c: #f7c099; - --b2-theme-c-light: #d8a682; - --b2-bg: #2a2a2f; - --b2-pre-bg: #22272e; - --b2-text: #adbac7; - --b2-active: #78757c; - --b2-border: #78757c; -} \ No newline at end of file diff --git a/build/favicon.ico b/build/favicon.ico deleted file mode 100644 index b2451e4..0000000 Binary files a/build/favicon.ico and /dev/null differ diff --git a/build/fonts/element-icons.535877f5.woff b/build/fonts/element-icons.535877f5.woff deleted file mode 100644 index 02b9a25..0000000 Binary files a/build/fonts/element-icons.535877f5.woff and /dev/null differ diff --git a/build/fonts/element-icons.732389de.ttf b/build/fonts/element-icons.732389de.ttf deleted file mode 100644 index 91b74de..0000000 Binary files a/build/fonts/element-icons.732389de.ttf and /dev/null differ diff --git a/build/fonts/element-icons.732389de.ttf.gz b/build/fonts/element-icons.732389de.ttf.gz deleted file mode 100644 index 8047c95..0000000 Binary files a/build/fonts/element-icons.732389de.ttf.gz and /dev/null differ diff --git a/build/img/icons/android-chrome-192x192.png b/build/img/icons/android-chrome-192x192.png deleted file mode 100644 index 1cdb6bf..0000000 Binary files a/build/img/icons/android-chrome-192x192.png and /dev/null differ diff --git a/build/img/icons/android-chrome-512x512.png b/build/img/icons/android-chrome-512x512.png deleted file mode 100644 index 168a8e4..0000000 Binary files a/build/img/icons/android-chrome-512x512.png and /dev/null differ diff --git a/build/img/icons/logo-128x128.png b/build/img/icons/logo-128x128.png deleted file mode 100644 index 22c0494..0000000 Binary files a/build/img/icons/logo-128x128.png and /dev/null differ diff --git a/build/img/icons/logo-16x16.png b/build/img/icons/logo-16x16.png deleted file mode 100644 index fbf7335..0000000 Binary files a/build/img/icons/logo-16x16.png and /dev/null differ diff --git a/build/img/icons/logo-192x192.png b/build/img/icons/logo-192x192.png deleted file mode 100644 index 1cdb6bf..0000000 Binary files a/build/img/icons/logo-192x192.png and /dev/null differ diff --git a/build/img/icons/logo-256x256.png b/build/img/icons/logo-256x256.png deleted file mode 100644 index 8b38d1b..0000000 Binary files a/build/img/icons/logo-256x256.png and /dev/null differ diff --git a/build/img/icons/logo-32x32.png b/build/img/icons/logo-32x32.png deleted file mode 100644 index c4a8536..0000000 Binary files a/build/img/icons/logo-32x32.png and /dev/null differ diff --git a/build/img/icons/logo-64x64.png b/build/img/icons/logo-64x64.png deleted file mode 100644 index cac6ebd..0000000 Binary files a/build/img/icons/logo-64x64.png and /dev/null differ diff --git a/build/img/icons/logo.svg b/build/img/icons/logo.svg deleted file mode 100644 index 26ee14e..0000000 --- a/build/img/icons/logo.svg +++ /dev/null @@ -1,9 +0,0 @@ - - logo - - - - - - \ No newline at end of file diff --git a/build/img/icons/logo.svg.gz b/build/img/icons/logo.svg.gz deleted file mode 100644 index 4eec5dd..0000000 Binary files a/build/img/icons/logo.svg.gz and /dev/null differ diff --git a/build/img/logo.svg b/build/img/logo.svg deleted file mode 100644 index 26ee14e..0000000 --- a/build/img/logo.svg +++ /dev/null @@ -1,9 +0,0 @@ - - logo - - - - - - \ No newline at end of file diff --git a/build/img/logo.svg.gz b/build/img/logo.svg.gz deleted file mode 100644 index 4eec5dd..0000000 Binary files a/build/img/logo.svg.gz and /dev/null differ diff --git a/build/index.html b/build/index.html deleted file mode 100644 index e983850..0000000 --- a/build/index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BlazeB2图床 @Harry - - - -
- - - diff --git a/build/js/0.js.gz b/build/js/0.js.gz deleted file mode 100644 index 7c0c44f..0000000 Binary files a/build/js/0.js.gz and /dev/null differ diff --git a/build/js/1.js b/build/js/1.js deleted file mode 100644 index 75c3a71..0000000 --- a/build/js/1.js +++ /dev/null @@ -1,853 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],{ - -/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Home.vue?vue&type=script&lang=js&": -/*!********************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Home.vue?vue&type=script&lang=js& ***! - \********************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! element-ui */ \"element-ui\");\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _plugin_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../plugin/filter */ \"./src/plugin/filter.js\");\n/* harmony import */ var _utils_api_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/api/index */ \"./src/utils/api/index.js\");\n/* harmony import */ var _utils_common_login__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/common/login */ \"./src/utils/common/login.js\");\n/* harmony import */ var _utils_common_paste__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/common/paste */ \"./src/utils/common/paste.js\");\n/* harmony import */ var _utils_common_loading__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/common/loading */ \"./src/utils/common/loading.js\");\n/* harmony import */ var _utils_common_compress__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/common/compress */ \"./src/utils/common/compress.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../store */ \"./src/store/index.js\");\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\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//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n\nconst CopyView = () => __webpack_require__.e(/*! import() */ 0).then(__webpack_require__.bind(null, /*! ./CopyView.vue */ \"./src/views/CopyView.vue\"));\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n components: {\n CopyView\n },\n\n data() {\n return {\n fdata: {},\n radio2: 'URL',\n copycontent: '',\n loadings: false,\n compressMsg: {\n iscompress: false,\n rank: 0.8\n },\n tofile: ''\n };\n },\n\n created() {\n window.addEventListener('paste', this.pasteHandle);\n },\n\n computed: { ...Object(pinia__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])(_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"], ['toFile']),\n\n timeE() {\n const t = new Date();\n return t.getFullYear();\n },\n\n resultCopy() {\n return this.copycontent !== '' ? this.changeCopyStatus(this.radio2) : '暂无内容';\n }\n\n },\n\n mounted() {\n const store = Object(_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n this.compressMsg = store.CompressData;\n window.addEventListener('paste', this.pasteHandle);\n const token = localStorage.getItem('token_api');\n\n if (token) {\n this.fdata = JSON.parse(token);\n this.fdata.tofile = this.toFile;\n }\n },\n\n destroyed() {\n window.removeEventListener('paste', this.pasteHandle);\n },\n\n methods: {\n pasteHandle: Object(_plugin_filter__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"])(function (event) {\n Object(_utils_common_paste__WEBPACK_IMPORTED_MODULE_4__[\"picPaste\"])(event, this);\n }, 500, true),\n\n changeCopyStatus(e) {\n const a_ = this.copycontent;\n\n if (a_ !== '') {\n let u = '';\n\n switch (e) {\n case 'URL':\n u = a_;\n break;\n\n case 'Html':\n u = ``;\n break;\n\n case 'Markdown':\n u = `![](${a_})`;\n break;\n }\n\n return u;\n } else {\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Message\"])({\n message: '您还未上传图片',\n type: 'error'\n });\n }\n },\n\n copyhandle: Object(_plugin_filter__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"])(function () {\n const copyData = this.resultCopy;\n this.$copyText(copyData).then(() => {\n // element ui的弹窗\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Message\"])({\n message: this.copycontent !== '' ? '已复制到剪贴板' : '您还未上传图片',\n type: this.copycontent !== '' ? 'success' : 'error'\n });\n }).catch(() => {\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Message\"])({\n message: '复制失败,请手动复制',\n type: 'error'\n });\n });\n }, 300, true),\n\n UploadFile(params) {\n const _this = this;\n\n Object(_utils_common_login__WEBPACK_IMPORTED_MODULE_3__[\"authIsexit\"])().then(() => {\n Object(_utils_common_loading__WEBPACK_IMPORTED_MODULE_5__[\"startLoading\"])(document.querySelector('.el-upload'), '正在上传图片...');\n const authmsg = localStorage.getItem('authmsg');\n const list_ = Object.assign(JSON.parse(authmsg), {\n tofile: this.fdata.tofile\n });\n\n if (_this.compressMsg.iscompress) {\n Object(_utils_common_compress__WEBPACK_IMPORTED_MODULE_6__[\"HandleCompressor\"])(params.file, _this.compressMsg.rank, this.nocommpress, list_);\n } else {\n _this.nocommpress(params.file, list_);\n }\n }).catch(() => {\n Object(_utils_common_loading__WEBPACK_IMPORTED_MODULE_5__[\"endLoading\"])();\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Notification\"])({\n title: '提示',\n message: '请检查是否登陆,请检查keyid和key是否填写正确',\n type: 'error'\n });\n });\n },\n\n async nocommpress(file, list_) {\n const formData = new FormData();\n formData.append('file_', file);\n\n for (const i in list_) {\n formData.append(i, list_[i]);\n }\n\n const {\n data: res\n } = await Object(_utils_api_index__WEBPACK_IMPORTED_MODULE_2__[\"uploadServer\"])(formData);\n this.copycontent = res.action ? this.fdata.host_url + res.fileName : '';\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Notification\"])({\n title: '提示',\n message: res.action ? '上传成功' : `状态码:${res.status},错误信息:${res.message},请检查keyid和key是否填写正确`,\n type: res.action ? 'success' : 'error'\n });\n document.getElementById('tar_box').innerHTML = '';\n Object(_utils_common_loading__WEBPACK_IMPORTED_MODULE_5__[\"endLoading\"])();\n }\n\n }\n});\n\n//# sourceURL=webpack:///./src/views/Home.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImageItem/ImageItem.vue?vue&type=script&lang=js&": -/*!*********************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImageItem/ImageItem.vue?vue&type=script&lang=js& ***! - \*********************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/store */ \"./src/store/index.js\");\n/* harmony import */ var _moremsg_MoreMsg_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./moremsg/MoreMsg.vue */ \"./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue\");\n/* harmony import */ var _views_svg_MarkDown_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/svg/MarkDown.vue */ \"./src/views/svg/MarkDown.vue\");\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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n piclink: {\n type: String,\n required: true\n },\n pictitle: {\n type: String,\n required: true\n },\n fileId: {\n type: String,\n required: true\n },\n picid: {\n type: Number,\n required: true\n }\n },\n emits: ['ishow'],\n\n data() {\n return {\n loadimg: ''\n };\n },\n\n methods: {\n imgshow() {\n this.$emit('ishow', {\n id: this.picid,\n f_: this.picL\n });\n }\n\n },\n computed: {\n picL() {\n return this.loadimg + this.piclink;\n },\n\n ptit() {\n const a_ = this.pictitle.split('/');\n return a_[a_.length - 1];\n },\n\n ...Object(pinia__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])(_store__WEBPACK_IMPORTED_MODULE_1__[\"default\"], ['prefixImg'])\n },\n\n mounted() {\n const auth = localStorage.getItem('authmsg');\n const token = localStorage.getItem('token_api');\n\n if (auth && token) {\n const picD = this.prefixImg.defaultUrl.replace(/\\/file\\/(.*?)$/, '');\n this.loadimg = picD + '/';\n }\n },\n\n components: {\n MoreMsg: _moremsg_MoreMsg_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n MarkDown: _views_svg_MarkDown_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImageItem/ImageItem.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?vue&type=script&lang=js&": -/*!***************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?vue&type=script&lang=js& ***! - \***************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! element-ui */ \"element-ui\");\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _utils_api___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/api/ */ \"./src/utils/api/index.js\");\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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n data() {\n return {};\n },\n\n props: {\n piclink: {\n type: String,\n required: true\n },\n pictitle: {\n type: String,\n required: true\n },\n fileId: {\n type: String,\n required: true\n },\n picid: {\n type: Number,\n required: true\n }\n },\n methods: {\n handleDrop(e) {\n switch (e) {\n case '0':\n return this.deleteImg();\n\n case '1':\n return this.moreImageDetail();\n }\n },\n\n // 删除图片函数\n deleteImg() {\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"MessageBox\"])({\n title: '提示',\n message: '此操作将删除选中图片, 是否继续?',\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n showCancelButton: true,\n type: 'warning'\n }).then(async () => {\n const auth = JSON.parse(localStorage.getItem('authmsg'));\n const params = {\n api_url: auth.api_url,\n init_token: auth.init_token,\n file_name: this.pictitle,\n file_id: this.fileId\n };\n const {\n data: res\n } = await Object(_utils_api___WEBPACK_IMPORTED_MODULE_1__[\"deleteitemImg\"])({\n params\n });\n this.$emit('update', this.picid);\n }).then(() => {\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Message\"])({\n type: 'success',\n message: '删除成功'\n });\n });\n },\n\n // 详情函数\n moreImageDetail() {\n this.$emit('setshowdiag', this.picid);\n }\n\n }\n});\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImgManage.vue?vue&type=script&lang=js&": -/*!***********************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImgManage.vue?vue&type=script&lang=js& ***! - \***********************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! element-ui */ \"element-ui\");\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/* harmony import */ var _plugin_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../plugin/filter */ \"./src/plugin/filter.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../store */ \"./src/store/index.js\");\n/* harmony import */ var _utils_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/api */ \"./src/utils/api/index.js\");\n/* harmony import */ var _svg_LargeList_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../svg/LargeList.vue */ \"./src/views/svg/LargeList.vue\");\n/* harmony import */ var _svg_Refresh_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../svg/Refresh.vue */ \"./src/views/svg/Refresh.vue\");\n/* harmony import */ var _ImageItem_ImageItem_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ImageItem/ImageItem.vue */ \"./src/views/ImgManage/ImageItem/ImageItem.vue\");\n/* harmony import */ var viewerjs_dist_viewer_css__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! viewerjs/dist/viewer.css */ \"./node_modules/viewerjs/dist/viewer.css\");\n/* harmony import */ var viewerjs_dist_viewer_css__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(viewerjs_dist_viewer_css__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var v_viewer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! v-viewer */ \"./node_modules/v-viewer/dist/v-viewer.js\");\n/* harmony import */ var v_viewer__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(v_viewer__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _utils_common_loading__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/common/loading */ \"./src/utils/common/loading.js\");\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\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n data() {\n return {\n inputval: '',\n centerDialogVisible: false,\n picListDatas: [],\n currentPage: 1,\n currentitemdetail: {\n filesize: '',\n filename: '',\n filetime: ''\n },\n classType: '',\n reqParams: {\n startFileName: '',\n // 获得下一个文件名称,从该名称开始\n maxFileCount: 50,\n // 获取的数量\n prefix: '',\n // 指定文件夹前缀\n delimiter: ''\n },\n loadingPicShow: false\n };\n },\n\n components: {\n LargeList: _svg_LargeList_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n Refresh: _svg_Refresh_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n ImageItem: _ImageItem_ImageItem_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n },\n computed: { ...Object(pinia__WEBPACK_IMPORTED_MODULE_1__[\"mapWritableState\"])(_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ['isLogined']),\n // 映射函数,取出isLogined\n ...Object(pinia__WEBPACK_IMPORTED_MODULE_1__[\"mapWritableState\"])(_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ['prefixImg']),\n // 映射函数,取出prefixImg\n ...Object(pinia__WEBPACK_IMPORTED_MODULE_1__[\"mapState\"])(_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ['setdefaultFile']),\n // 映射函数,取出setdefaultFile\n ...Object(pinia__WEBPACK_IMPORTED_MODULE_1__[\"mapState\"])(_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ['imgDefaultFile']) // 映射函数,取出setdefaultFile\n\n },\n watch: {\n isLogined: {\n // immediate: true,\n deep: true,\n\n // 深度监听\n handler(newValue) {\n if (newValue) {\n this.getPicList();\n }\n }\n\n }\n },\n\n mounted() {\n const auth = localStorage.getItem('authmsg');\n\n if (this.imgDefaultFile) {\n this.reqParams.prefix = this.imgDefaultFile;\n }\n\n if (auth) {\n this.getPicList();\n }\n },\n\n methods: {\n handleDiag(e) {\n const a_ = this.picListDatas[e];\n this.currentitemdetail = {\n filesize: (a_.contentLength / 1000).toFixed(2) + 'kb',\n filename: a_.fileName,\n filetime: Object(_plugin_filter__WEBPACK_IMPORTED_MODULE_2__[\"transiTime\"])(a_.uploadTimestamp)\n };\n this.centerDialogVisible = true;\n },\n\n imgshow(e) {\n Object(v_viewer__WEBPACK_IMPORTED_MODULE_9__[\"api\"])({\n images: [e.f_]\n });\n },\n\n updatePicLists(e) {\n this.picListDatas.splice(e, 1);\n },\n\n ...Object(pinia__WEBPACK_IMPORTED_MODULE_1__[\"mapActions\"])(_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ['handleIsLogined']),\n\n // 获取数据\n async getPicList() {\n Object(_utils_common_loading__WEBPACK_IMPORTED_MODULE_10__[\"startLoading\"])(document.querySelector('.img-m'), '正在加载....');\n const auth = localStorage.getItem('authmsg');\n\n if (auth) {\n const p_ = Object.assign(JSON.parse(auth), this.reqParams);\n const {\n data: res\n } = await Object(_utils_api__WEBPACK_IMPORTED_MODULE_4__[\"picList\"])({\n params: p_\n });\n\n if (res.files.length === 0) {\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Notification\"])({\n title: '提示',\n message: '文件夹内无图片',\n type: 'error'\n });\n }\n\n this.picListDatas = [...this.picListDatas, ...res.files];\n this.reqParams.startFileName = res.nextFileName;\n Object(_utils_common_loading__WEBPACK_IMPORTED_MODULE_10__[\"endLoading\"])();\n }\n },\n\n // 根据文件夹前缀进行搜索\n searchList: Object(_plugin_filter__WEBPACK_IMPORTED_MODULE_2__[\"debounce\"])(function () {\n this.picListDatas = [];\n this.reqParams.startFileName = '';\n const val = this.reqParams.prefix.trim();\n\n if (val) {\n this.getPicList();\n }\n }, 300, true),\n refreshData: Object(_plugin_filter__WEBPACK_IMPORTED_MODULE_2__[\"debounce\"])(function () {\n this.picListDatas = [];\n this.reqParams.startFileName = ''; // this.reqParams.prefix = ''\n\n this.getPicList();\n }, 400, true),\n\n handleSizeChange(e) {\n this.reqParams.maxFileCount = e;\n this.getPicList();\n },\n\n handleCurrentChange(e) {\n this.getPicList();\n }\n\n }\n});\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImgManage.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/svg/LargeList.vue?vue&type=script&lang=js&": -/*!*****************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/svg/LargeList.vue?vue&type=script&lang=js& ***! - \*****************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n data() {\n return {\n isshow: true\n };\n }\n\n});\n\n//# sourceURL=webpack:///./src/views/svg/LargeList.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/svg/MarkDown.vue?vue&type=script&lang=js&": -/*!****************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/svg/MarkDown.vue?vue&type=script&lang=js& ***! - \****************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! element-ui */ \"element-ui\");\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _plugin_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../plugin/filter */ \"./src/plugin/filter.js\");\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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n data() {\n return {\n isMark: false,\n linktemp: ''\n };\n },\n\n props: {\n link: {\n type: String,\n default: ''\n }\n },\n\n mounted() {\n this.linktemp = this.isMark ? `![](${this.link})` : this.link;\n },\n\n methods: {\n handleMark() {\n this.isMark = !this.isMark;\n this.linktemp = this.isMark ? `![](${this.link})` : this.link;\n },\n\n copyhandle: Object(_plugin_filter__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"])(function () {\n const copyData = this.link;\n this.$copyText(copyData).then(() => {\n // element ui的弹窗\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Message\"])({\n message: this.linktemp !== '' ? `已复制剪切板:${copyData}` : '复制失败',\n type: this.linktemp !== '' ? 'success' : 'error'\n });\n }).catch(() => {\n Object(element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Message\"])({\n message: '复制失败,请手动复制',\n type: 'error'\n });\n });\n }, 300, true)\n }\n});\n\n//# sourceURL=webpack:///./src/views/svg/MarkDown.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"86a8fac6-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Home.vue?vue&type=template&id=fae5bece&scoped=true&": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"86a8fac6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Home.vue?vue&type=template&id=fae5bece&scoped=true& ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render, staticRenderFns */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"home-w\" }, [\n _c(\n \"div\",\n { staticClass: \"upload-w\", staticStyle: { width: \"100%\" } },\n [\n _c(\"div\", { attrs: { id: \"tar_box\", contenteditable: \"\" } }),\n _c(\n \"el-upload\",\n {\n directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.loadings,\n expression: \"loadings\",\n },\n ],\n ref: \"upload\",\n staticClass: \"upload-demo\",\n attrs: {\n action: \"customize\",\n \"show-file-list\": false,\n drag: \"\",\n \"http-request\": _vm.UploadFile,\n },\n },\n [\n _vm.compressMsg.iscompress\n ? _c(\"div\", { staticClass: \"compress-remind\" }, [\n _vm._v(\"开启压缩,压缩等级(\"),\n _c(\"span\", { staticClass: \"red-c\" }, [\n _vm._v(_vm._s(_vm.compressMsg.rank)),\n ]),\n _vm._v(\") \"),\n ])\n : _vm._e(),\n _c(\"i\", { staticClass: \"el-icon-upload\" }),\n _c(\"div\", { staticClass: \"el-upload__text\" }, [\n _vm._v(\" 支持\"),\n _c(\"em\", [_vm._v(\"拖动、点击、粘贴\")]),\n _vm._v(\"图片\"),\n _c(\"em\", [_vm._v(\"上传\")]),\n ]),\n _c(\n \"div\",\n {\n staticClass: \"el-upload__tip\",\n attrs: { slot: \"tip\" },\n slot: \"tip\",\n },\n [\n _c(\n \"div\",\n [\n _vm._v(\"当前上传路径:\"),\n _c(\n \"el-tag\",\n {\n attrs: {\n type: _vm.fdata.tofile ? \"\" : \"danger\",\n size: \"mini\",\n },\n on: {\n click: function ($event) {\n return _vm.$router.replace({\n name: \"setting\",\n query: { id: \"2\" },\n })\n },\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.fdata.tofile\n ? _vm.fdata.tofile\n : \"你还未填写路径,点击这里\"\n )\n ),\n ]\n ),\n ],\n 1\n ),\n _vm.fdata.bucket_name\n ? _c(\n \"div\",\n {\n on: {\n click: function ($event) {\n return _vm.$router.replace({\n name: \"setting\",\n query: { id: \"1\" },\n })\n },\n },\n },\n [\n _vm._v(\"当前B2桶名称: \"),\n _c(\"el-tag\", { attrs: { size: \"mini\" } }, [\n _vm._v(_vm._s(_vm.fdata.bucket_name)),\n ]),\n ],\n 1\n )\n : _vm._e(),\n ]\n ),\n ]\n ),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticStyle: { margin: \"20px 0\", \"text-align\": \"center\" } },\n [\n _c(\n \"el-radio-group\",\n {\n staticClass: \"e-rg\",\n attrs: { size: \"medium\" },\n on: { change: _vm.changeCopyStatus },\n model: {\n value: _vm.radio2,\n callback: function ($$v) {\n _vm.radio2 = $$v\n },\n expression: \"radio2\",\n },\n },\n [\n _c(\"el-radio-button\", {\n staticClass: \"e-rb\",\n attrs: { label: \"Markdown\" },\n }),\n _c(\"el-radio-button\", {\n staticClass: \"e-rb\",\n attrs: { label: \"Html\" },\n }),\n _c(\"el-radio-button\", {\n staticClass: \"e-rb\",\n attrs: { label: \"URL\" },\n }),\n _c(\"el-radio-button\", {\n staticClass: \"e-rb\",\n attrs: { label: \"自定义\" },\n }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"res-upload\" }, [\n _c(\n \"div\",\n { staticClass: \"res-content\", attrs: { title: \"点击复制\" } },\n [\n _c(\"p\", [_vm._v(_vm._s(_vm.resultCopy))]),\n _c(\n \"div\",\n { on: { click: _vm.copyhandle } },\n [_c(\"CopyView\", { staticClass: \"copy-view\" })],\n 1\n ),\n ]\n ),\n ]),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Home.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2286a8fac6-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"86a8fac6-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImageItem/ImageItem.vue?vue&type=template&id=0bd98688&scoped=true&": -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"86a8fac6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImageItem/ImageItem.vue?vue&type=template&id=0bd98688&scoped=true& ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render, staticRenderFns */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"img-item-t1\" },\n [\n _c(\n \"MoreMsg\",\n _vm._g(\n {\n attrs: {\n piclink: _vm.piclink,\n pictitle: _vm.pictitle,\n fileId: _vm.fileId,\n picid: _vm.picid,\n },\n },\n _vm.$listeners\n )\n ),\n _c(\"img\", {\n attrs: { src: _vm.picL, alt: \"pictitle\", srcset: \"\" },\n on: {\n click: function ($event) {\n return _vm.imgshow(_vm.picL)\n },\n },\n }),\n _c(\"div\", { staticClass: \"item-t\" }, [\n _c(\"div\", { staticClass: \"pic-tit\" }, [_vm._v(_vm._s(_vm.ptit))]),\n _c(\n \"div\",\n { staticClass: \"link-copy-w\" },\n [_c(\"mark-down\", { attrs: { link: _vm.picL } })],\n 1\n ),\n ]),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImageItem/ImageItem.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2286a8fac6-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"86a8fac6-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?vue&type=template&id=4c7a3497&scoped=true&": -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"86a8fac6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?vue&type=template&id=4c7a3497&scoped=true& ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render, staticRenderFns */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"more-w\" },\n [\n _c(\n \"el-dropdown\",\n { on: { command: _vm.handleDrop } },\n [\n _c(\"span\", [\n _c(\n \"svg\",\n {\n staticClass: \"icon-more\",\n attrs: {\n t: \"1656927071071\",\n viewBox: \"0 0 1024 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"10310\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M512 398.848c-61.952 0-112.64 50.176-112.64 112.64v1.024c0 61.952 50.176 112.64 112.64 112.64 61.952 0 112.64-50.176 112.64-112.64v-1.024c0-62.464-50.688-112.64-112.64-112.64z m-266.24 40.96c-39.424 0-71.68 32.256-71.68 71.68v1.024c0 39.424 32.256 71.68 71.68 71.68s71.68-32.256 71.68-71.68v-1.024c0-39.424-32.256-71.68-71.68-71.68z m532.48 0c-39.424 0-71.68 32.256-71.68 71.68v1.024c0 39.424 32.256 71.68 71.68 71.68s71.68-32.256 71.68-71.68v-1.024c0-39.424-32.256-71.68-71.68-71.68z\",\n fill: \"var(--bg-text)\",\n \"p-id\": \"10311\",\n },\n }),\n ]\n ),\n ]),\n _c(\n \"el-dropdown-menu\",\n { attrs: { slot: \"dropdown\" }, slot: \"dropdown\" },\n [\n _c(\"el-dropdown-item\", { attrs: { command: \"0\" } }, [\n _vm._v(\"删除\"),\n ]),\n _c(\"el-dropdown-item\", { attrs: { command: \"1\" } }, [\n _vm._v(\"详情\"),\n ]),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2286a8fac6-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"86a8fac6-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImgManage.vue?vue&type=template&id=2b1aa1d7&scoped=true&": -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"86a8fac6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImgManage.vue?vue&type=template&id=2b1aa1d7&scoped=true& ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render, staticRenderFns */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.loadingPicShow,\n expression: \"loadingPicShow\",\n },\n ],\n staticClass: \"img-m common-container\",\n },\n [\n _c(\n \"div\",\n { staticClass: \"inp-w\" },\n [\n _c(\"el-tag\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.imgDefaultFile === \"\"\n ? \"配置页面修改默认仓库地址\"\n : \"当前的仓库名:\" + _vm.imgDefaultFile\n ) +\n \" \"\n ),\n ]),\n _c(\n \"el-tag\",\n {\n attrs: { type: \"info\" },\n on: {\n click: function ($event) {\n return _vm.$router.replace({\n name: \"setting\",\n query: { id: \"3\" },\n })\n },\n },\n },\n [_vm._v(\"修改\")]\n ),\n _c(\n \"div\",\n {\n staticClass: \"svg-w\",\n on: {\n click: function ($event) {\n _vm.classType = !_vm.classType\n },\n },\n },\n [\n _c(\n \"div\",\n { attrs: { title: \"图片显示方式\" } },\n [_c(\"LargeList\")],\n 1\n ),\n _c(\n \"div\",\n {\n attrs: { title: \"重新加载\" },\n on: { click: _vm.refreshData },\n },\n [_c(\"Refresh\")],\n 1\n ),\n ]\n ),\n ],\n 1\n ),\n _c(\n \"div\",\n {\n staticClass: \"pic-list-t1 animate__animated animate__fadeIn\",\n class: _vm.classType ? \"pic-list-t2\" : \"\",\n },\n _vm._l(_vm.picListDatas, function (item, index) {\n return _c(\"image-item\", {\n key: item.fileName,\n attrs: {\n picid: index,\n piclink: item.fileName,\n pictitle: item.fileName,\n fileId: item.fileId,\n picTime: item.uploadTimestamp,\n },\n on: {\n setshowdiag: _vm.handleDiag,\n ishow: _vm.imgshow,\n update: _vm.updatePicLists,\n },\n })\n }),\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n \"current-page\": _vm.currentPage,\n \"page-sizes\": [50, 80, 100, 200],\n \"page-size\": _vm.reqParams.maxFileCount,\n layout: \"sizes,next\",\n },\n on: {\n \"size-change\": _vm.handleSizeChange,\n \"current-change\": _vm.handleCurrentChange,\n \"update:currentPage\": function ($event) {\n _vm.currentPage = $event\n },\n \"update:current-page\": function ($event) {\n _vm.currentPage = $event\n },\n },\n }),\n _c(\n \"el-dialog\",\n {\n staticClass: \"tpxq_w\",\n attrs: {\n title: \"图片详情\",\n visible: _vm.centerDialogVisible,\n width: \"40%\",\n center: \"\",\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.centerDialogVisible = $event\n },\n },\n },\n [\n _c(\"div\", [\n _c(\"span\", [_vm._v(\"图片名称:\")]),\n _vm._v(_vm._s(_vm.currentitemdetail.filename)),\n ]),\n _c(\"div\", [\n _c(\"span\", [_vm._v(\"图片大小:\")]),\n _vm._v(_vm._s(_vm.currentitemdetail.filesize)),\n ]),\n _c(\"div\", [\n _c(\"span\", [_vm._v(\"上传时间:\")]),\n _vm._v(_vm._s(_vm.currentitemdetail.filetime)),\n ]),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImgManage.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2286a8fac6-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"86a8fac6-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/svg/LargeList.vue?vue&type=template&id=ff423c78&": -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"86a8fac6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/svg/LargeList.vue?vue&type=template&id=ff423c78& ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render, staticRenderFns */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n on: {\n click: function ($event) {\n _vm.isshow = !_vm.isshow\n },\n },\n },\n [\n _c(\n \"el-tooltip\",\n {\n staticClass: \"item\",\n attrs: {\n effect: \"dark\",\n content: _vm.isshow ? \"切换列表展示\" : \"切换方块展示\",\n placement: \"top-start\",\n },\n },\n [\n _vm.isshow\n ? _c(\n \"svg\",\n {\n staticClass: \"icon\",\n attrs: {\n t: \"1656667681958\",\n viewBox: \"0 0 1024 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"3352\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M781.8 283.8H408.3c-11.5 0-20.8 9.3-20.8 20.8s9.3 20.8 20.8 20.8h373.5c11.5 0 20.8-9.3 20.8-20.8-0.1-11.6-9.4-20.8-20.8-20.8z\",\n \"p-id\": \"3353\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M802.5 97h-581C153 97 97 153 97 221.5v581C97 871 153 927 221.5 927h581C871 927 927 871 927 802.5v-581C927 153 871 97 802.5 97z m83 705.5c0 45.8-37.2 83-83 83h-581c-45.8 0-83-37.2-83-83v-581c0-45.8 37.2-83 83-83h581c45.8 0 83 37.2 83 83v581z\",\n \"p-id\": \"3354\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M263 304.5m-41.5 0a41.5 41.5 0 1 0 83 0 41.5 41.5 0 1 0-83 0Z\",\n \"p-id\": \"3355\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M781.8 491.3H408.3c-11.5 0-20.8 9.3-20.8 20.8s9.3 20.8 20.8 20.8h373.5c11.5 0 20.8-9.3 20.8-20.8-0.1-11.6-9.4-20.8-20.8-20.8z\",\n \"p-id\": \"3356\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M263 512m-41.5 0a41.5 41.5 0 1 0 83 0 41.5 41.5 0 1 0-83 0Z\",\n \"p-id\": \"3357\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M781.8 698.8H408.3c-11.5 0-20.8 9.3-20.8 20.8s9.3 20.8 20.8 20.8h373.5c11.5 0 20.8-9.3 20.8-20.8-0.1-11.6-9.4-20.8-20.8-20.8z\",\n \"p-id\": \"3358\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M263 719.5m-41.5 0a41.5 41.5 0 1 0 83 0 41.5 41.5 0 1 0-83 0Z\",\n \"p-id\": \"3359\",\n },\n }),\n ]\n )\n : _c(\n \"svg\",\n {\n staticClass: \"icon\",\n attrs: {\n t: \"1656667517789\",\n viewBox: \"0 0 1024 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"2105\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M248.832 63.488q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-116.736 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l116.736 0zM572.416 63.488q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-118.784 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l118.784 0zM891.904 63.488q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-118.784 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l118.784 0zM248.832 385.024q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-116.736 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l116.736 0zM572.416 385.024q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-118.784 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l118.784 0zM891.904 385.024q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-118.784 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l118.784 0zM248.832 706.56q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-116.736 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l116.736 0zM572.416 706.56q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-118.784 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l118.784 0zM891.904 706.56q28.672 0 48.64 19.968t19.968 48.64l0 116.736q0 28.672-19.968 48.64t-48.64 19.968l-118.784 0q-28.672 0-48.64-19.968t-19.968-48.64l0-116.736q0-28.672 19.968-48.64t48.64-19.968l118.784 0z\",\n \"p-id\": \"2106\",\n },\n }),\n ]\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/svg/LargeList.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2286a8fac6-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"86a8fac6-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/svg/MarkDown.vue?vue&type=template&id=3b554894&scoped=true&": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"86a8fac6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/svg/MarkDown.vue?vue&type=template&id=3b554894&scoped=true& ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render, staticRenderFns */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"mark-w\" },\n [\n _c(\n \"el-tooltip\",\n {\n staticClass: \"item\",\n attrs: {\n effect: \"dark\",\n content: _vm.isMark ? \"切换到普通链接模式\" : \"切换到MarkDown模式\",\n placement: \"top-start\",\n },\n },\n [\n _vm.isMark\n ? _c(\n \"svg\",\n {\n staticClass: \"markdown-icon active\",\n attrs: {\n t: \"1631784688556\",\n viewBox: \"0 0 1280 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"3242\",\n width: \"26\",\n height: \"26\",\n },\n on: { click: _vm.handleMark },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M1187.6 118.2H92.4C41.4 118.2 0 159.6 0 210.4v603c0 51 41.4 92.4 92.4 92.4h1095.4c51 0 92.4-41.4 92.2-92.2V210.4c0-50.8-41.4-92.2-92.4-92.2zM677 721.2H554v-240l-123 153.8-123-153.8v240H184.6V302.8h123l123 153.8 123-153.8h123v418.4z m270.6 6.2L763 512H886V302.8h123V512H1132z\",\n \"p-id\": \"3243\",\n fill: \"#3c3c3c\",\n },\n }),\n ]\n )\n : _c(\n \"svg\",\n {\n staticClass: \"markdown-icon\",\n attrs: {\n t: \"1631782798077\",\n viewBox: \"0 0 1024 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"2861\",\n width: \"26\",\n height: \"26\",\n },\n on: { click: _vm.handleMark },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M92 192C42.24 192 0 232.128 0 282.016v459.968C0 791.904 42.24 832 92 832h840C981.76 832 1024 791.872 1024 741.984V282.016C1024 232.16 981.76 192 932 192z m0 64h840c16.512 0 28 12.256 28 26.016v459.968c0 13.76-11.52 26.016-28 26.016H92C75.488 768 64 755.744 64 741.984V282.016c0-13.76 11.52-25.984 28-25.984zM160 352v320h96v-212.992l96 127.008 96-127.04V672h96V352h-96l-96 128-96-128z m544 0v160h-96l144 160 144-160h-96v-160z\",\n \"p-id\": \"2862\",\n fill: \"#808080\",\n },\n }),\n ]\n ),\n ]\n ),\n _c(\n \"svg\",\n {\n staticClass: \"icon\",\n attrs: {\n t: \"1656940838877\",\n viewBox: \"0 0 1024 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"11279\",\n width: \"26\",\n height: \"26\",\n },\n on: { click: _vm.copyhandle },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M624.5 786.3c92.9 0 168.2-75.3 168.2-168.2V309c0-92.4-75.3-168.2-168.2-168.2H303.6c-92.4 0-168.2 75.3-168.2 168.2v309.1c0 92.4 75.3 168.2 168.2 168.2h320.9zM178.2 618.1V309c0-69.4 56.1-125.5 125.5-125.5h320.9c69.4 0 125.5 56.1 125.5 125.5v309.1c0 69.4-56.1 125.5-125.5 125.5h-321c-69.4 0-125.4-56.1-125.4-125.5z\",\n \"p-id\": \"11280\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M849.8 295.1v361.5c0 102.7-83.6 186.3-186.3 186.3H279.1v42.7h384.4c126.3 0 229.1-102.8 229.1-229.1V295.1h-42.8zM307.9 361.8h312.3c11.8 0 21.4-9.6 21.4-21.4 0-11.8-9.6-21.4-21.4-21.4H307.9c-11.8 0-21.4 9.6-21.4 21.4 0 11.9 9.6 21.4 21.4 21.4zM307.9 484.6h312.3c11.8 0 21.4-9.6 21.4-21.4 0-11.8-9.6-21.4-21.4-21.4H307.9c-11.8 0-21.4 9.6-21.4 21.4 0 11.9 9.6 21.4 21.4 21.4z\",\n \"p-id\": \"11281\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M620.2 607.4c11.8 0 21.4-9.6 21.4-21.4 0-11.8-9.6-21.4-21.4-21.4H307.9c-11.8 0-21.4 9.6-21.4 21.4 0 11.8 9.6 21.4 21.4 21.4h312.3z\",\n \"p-id\": \"11282\",\n },\n }),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/svg/MarkDown.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2286a8fac6-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"86a8fac6-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/svg/Refresh.vue?vue&type=template&id=34fb59e6&": -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"86a8fac6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/svg/Refresh.vue?vue&type=template&id=34fb59e6& ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render, staticRenderFns */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"svg\",\n {\n staticClass: \"icon\",\n attrs: {\n t: \"1656667732712\",\n viewBox: \"0 0 1024 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"4434\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M320.067666 286.437731c53.150524-53.15564 126.532835-86.077447 207.455889-86.077447 89.598644 0 172.483376 40.805358 227.39501 108.063181l-101.596909 101.603049 251.597225 0L904.918881 158.424172l-90.333378 90.361007C743.985562 166.207439 639.765919 116.493178 527.524578 116.493178c-104.055914 0-198.409862 42.322921-266.757506 110.670565-49.444109 49.455365-84.98865 112.251573-100.999298 182.862771l86.263689 0C260.052804 362.352725 285.750069 320.744072 320.067666 286.437731L320.067666 286.437731z\",\n \"p-id\": \"4435\",\n },\n }),\n _c(\"path\", {\n attrs: {\n d: \"M734.974327 701.344393c-53.151547 53.15564-126.533858 86.083587-207.450772 86.083587-89.599667 0-172.488493-40.810474-227.402173-108.069321l101.603049-101.596909L150.122089 577.76175 150.122089 829.358975l90.333378-90.333378c70.601988 82.555228 174.820608 132.270513 287.067065 132.270513 104.055914 0 198.402699-42.306548 266.750343-110.650099 49.360198-49.397037 84.866876-112.477724 100.920504-182.883237L808.689213 577.762773C794.560424 624.99654 768.983909 667.338904 734.974327 701.344393L734.974327 701.344393z\",\n \"p-id\": \"4436\",\n },\n }),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/svg/Refresh.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2286a8fac6-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/compressorjs/dist/compressor.js": -/*!******************************************************!*\ - !*** ./node_modules/compressorjs/dist/compressor.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/*!\n * Compressor.js v1.1.1\n * https://fengyuanchen.github.io/compressorjs\n *\n * Copyright 2018-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2021-10-05T02:32:40.212Z\n */\n\n(function (global, factory) {\n true ? module.exports = factory() :\n undefined;\n})(this, (function () { 'use strict';\n\n function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n }\n\n function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n }\n\n function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n }\n\n function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n }\n\n var canvasToBlob = {exports: {}};\n\n /*\n * JavaScript Canvas to Blob\n * https://github.com/blueimp/JavaScript-Canvas-to-Blob\n *\n * Copyright 2012, Sebastian Tschan\n * https://blueimp.net\n *\n * Licensed under the MIT license:\n * https://opensource.org/licenses/MIT\n *\n * Based on stackoverflow user Stoive's code snippet:\n * http://stackoverflow.com/q/4998908\n */\n\n (function (module) {\n if (typeof window === 'undefined') {\n return;\n }\n\n (function (window) {\n\n var CanvasPrototype = window.HTMLCanvasElement && window.HTMLCanvasElement.prototype;\n\n var hasBlobConstructor = window.Blob && function () {\n try {\n return Boolean(new Blob());\n } catch (e) {\n return false;\n }\n }();\n\n var hasArrayBufferViewSupport = hasBlobConstructor && window.Uint8Array && function () {\n try {\n return new Blob([new Uint8Array(100)]).size === 100;\n } catch (e) {\n return false;\n }\n }();\n\n var BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder;\n var dataURIPattern = /^data:((.*?)(;charset=.*?)?)(;base64)?,/;\n\n var dataURLtoBlob = (hasBlobConstructor || BlobBuilder) && window.atob && window.ArrayBuffer && window.Uint8Array && function (dataURI) {\n var matches, mediaType, isBase64, dataString, byteString, arrayBuffer, intArray, i, bb; // Parse the dataURI components as per RFC 2397\n\n matches = dataURI.match(dataURIPattern);\n\n if (!matches) {\n throw new Error('invalid data URI');\n } // Default to text/plain;charset=US-ASCII\n\n\n mediaType = matches[2] ? matches[1] : 'text/plain' + (matches[3] || ';charset=US-ASCII');\n isBase64 = !!matches[4];\n dataString = dataURI.slice(matches[0].length);\n\n if (isBase64) {\n // Convert base64 to raw binary data held in a string:\n byteString = atob(dataString);\n } else {\n // Convert base64/URLEncoded data component to raw binary:\n byteString = decodeURIComponent(dataString);\n } // Write the bytes of the string to an ArrayBuffer:\n\n\n arrayBuffer = new ArrayBuffer(byteString.length);\n intArray = new Uint8Array(arrayBuffer);\n\n for (i = 0; i < byteString.length; i += 1) {\n intArray[i] = byteString.charCodeAt(i);\n } // Write the ArrayBuffer (or ArrayBufferView) to a blob:\n\n\n if (hasBlobConstructor) {\n return new Blob([hasArrayBufferViewSupport ? intArray : arrayBuffer], {\n type: mediaType\n });\n }\n\n bb = new BlobBuilder();\n bb.append(arrayBuffer);\n return bb.getBlob(mediaType);\n };\n\n if (window.HTMLCanvasElement && !CanvasPrototype.toBlob) {\n if (CanvasPrototype.mozGetAsFile) {\n CanvasPrototype.toBlob = function (callback, type, quality) {\n var self = this;\n setTimeout(function () {\n if (quality && CanvasPrototype.toDataURL && dataURLtoBlob) {\n callback(dataURLtoBlob(self.toDataURL(type, quality)));\n } else {\n callback(self.mozGetAsFile('blob', type));\n }\n });\n };\n } else if (CanvasPrototype.toDataURL && dataURLtoBlob) {\n if (CanvasPrototype.msToBlob) {\n CanvasPrototype.toBlob = function (callback, type, quality) {\n var self = this;\n setTimeout(function () {\n if ((type && type !== 'image/png' || quality) && CanvasPrototype.toDataURL && dataURLtoBlob) {\n callback(dataURLtoBlob(self.toDataURL(type, quality)));\n } else {\n callback(self.msToBlob(type));\n }\n });\n };\n } else {\n CanvasPrototype.toBlob = function (callback, type, quality) {\n var self = this;\n setTimeout(function () {\n callback(dataURLtoBlob(self.toDataURL(type, quality)));\n });\n };\n }\n }\n }\n\n if (module.exports) {\n module.exports = dataURLtoBlob;\n } else {\n window.dataURLtoBlob = dataURLtoBlob;\n }\n })(window);\n })(canvasToBlob);\n\n var toBlob = canvasToBlob.exports;\n\n var isBlob = function isBlob(value) {\n if (typeof Blob === 'undefined') {\n return false;\n }\n\n return value instanceof Blob || Object.prototype.toString.call(value) === '[object Blob]';\n };\n\n var DEFAULTS = {\n /**\n * Indicates if output the original image instead of the compressed one\n * when the size of the compressed image is greater than the original one's\n * @type {boolean}\n */\n strict: true,\n\n /**\n * Indicates if read the image's Exif Orientation information,\n * and then rotate or flip the image automatically.\n * @type {boolean}\n */\n checkOrientation: true,\n\n /**\n * The max width of the output image.\n * @type {number}\n */\n maxWidth: Infinity,\n\n /**\n * The max height of the output image.\n * @type {number}\n */\n maxHeight: Infinity,\n\n /**\n * The min width of the output image.\n * @type {number}\n */\n minWidth: 0,\n\n /**\n * The min height of the output image.\n * @type {number}\n */\n minHeight: 0,\n\n /**\n * The width of the output image.\n * If not specified, the natural width of the source image will be used.\n * @type {number}\n */\n width: undefined,\n\n /**\n * The height of the output image.\n * If not specified, the natural height of the source image will be used.\n * @type {number}\n */\n height: undefined,\n\n /**\n * Sets how the size of the image should be resized to the container\n * specified by the `width` and `height` options.\n * @type {string}\n */\n resize: 'none',\n\n /**\n * The quality of the output image.\n * It must be a number between `0` and `1`,\n * and only available for `image/jpeg` and `image/webp` images.\n * Check out {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob canvas.toBlob}.\n * @type {number}\n */\n quality: 0.8,\n\n /**\n * The mime type of the output image.\n * By default, the original mime type of the source image file will be used.\n * @type {string}\n */\n mimeType: 'auto',\n\n /**\n * Files whose file type is included in this list,\n * and whose file size exceeds the `convertSize` value will be converted to JPEGs.\n * @type {string|Array}\n */\n convertTypes: ['image/png'],\n\n /**\n * PNG files over this size (5 MB by default) will be converted to JPEGs.\n * To disable this, just set the value to `Infinity`.\n * @type {number}\n */\n convertSize: 5000000,\n\n /**\n * The hook function to execute before draw the image into the canvas for compression.\n * @type {Function}\n * @param {CanvasRenderingContext2D} context - The 2d rendering context of the canvas.\n * @param {HTMLCanvasElement} canvas - The canvas for compression.\n * @example\n * function (context, canvas) {\n * context.fillStyle = '#fff';\n * }\n */\n beforeDraw: null,\n\n /**\n * The hook function to execute after drew the image into the canvas for compression.\n * @type {Function}\n * @param {CanvasRenderingContext2D} context - The 2d rendering context of the canvas.\n * @param {HTMLCanvasElement} canvas - The canvas for compression.\n * @example\n * function (context, canvas) {\n * context.filter = 'grayscale(100%)';\n * }\n */\n drew: null,\n\n /**\n * The hook function to execute when success to compress the image.\n * @type {Function}\n * @param {File} file - The compressed image File object.\n * @example\n * function (file) {\n * console.log(file);\n * }\n */\n success: null,\n\n /**\n * The hook function to execute when fail to compress the image.\n * @type {Function}\n * @param {Error} err - An Error object.\n * @example\n * function (err) {\n * console.log(err.message);\n * }\n */\n error: null\n };\n\n var IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';\n var WINDOW = IS_BROWSER ? window : {};\n\n /**\n * Check if the given value is a positive number.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is a positive number, else `false`.\n */\n\n var isPositiveNumber = function isPositiveNumber(value) {\n return value > 0 && value < Infinity;\n };\n var slice = Array.prototype.slice;\n /**\n * Convert array-like or iterable object to an array.\n * @param {*} value - The value to convert.\n * @returns {Array} Returns a new array.\n */\n\n function toArray(value) {\n return Array.from ? Array.from(value) : slice.call(value);\n }\n var REGEXP_IMAGE_TYPE = /^image\\/.+$/;\n /**\n * Check if the given value is a mime type of image.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given is a mime type of image, else `false`.\n */\n\n function isImageType(value) {\n return REGEXP_IMAGE_TYPE.test(value);\n }\n /**\n * Convert image type to extension.\n * @param {string} value - The image type to convert.\n * @returns {boolean} Returns the image extension.\n */\n\n function imageTypeToExtension(value) {\n var extension = isImageType(value) ? value.substr(6) : '';\n\n if (extension === 'jpeg') {\n extension = 'jpg';\n }\n\n return \".\".concat(extension);\n }\n var fromCharCode = String.fromCharCode;\n /**\n * Get string from char code in data view.\n * @param {DataView} dataView - The data view for read.\n * @param {number} start - The start index.\n * @param {number} length - The read length.\n * @returns {string} The read result.\n */\n\n function getStringFromCharCode(dataView, start, length) {\n var str = '';\n var i;\n length += start;\n\n for (i = start; i < length; i += 1) {\n str += fromCharCode(dataView.getUint8(i));\n }\n\n return str;\n }\n var btoa = WINDOW.btoa;\n /**\n * Transform array buffer to Data URL.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to transform.\n * @param {string} mimeType - The mime type of the Data URL.\n * @returns {string} The result Data URL.\n */\n\n function arrayBufferToDataURL(arrayBuffer, mimeType) {\n var chunks = [];\n var chunkSize = 8192;\n var uint8 = new Uint8Array(arrayBuffer);\n\n while (uint8.length > 0) {\n // XXX: Babel's `toConsumableArray` helper will throw error in IE or Safari 9\n // eslint-disable-next-line prefer-spread\n chunks.push(fromCharCode.apply(null, toArray(uint8.subarray(0, chunkSize))));\n uint8 = uint8.subarray(chunkSize);\n }\n\n return \"data:\".concat(mimeType, \";base64,\").concat(btoa(chunks.join('')));\n }\n /**\n * Get orientation value from given array buffer.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to read.\n * @returns {number} The read orientation value.\n */\n\n function resetAndGetOrientation(arrayBuffer) {\n var dataView = new DataView(arrayBuffer);\n var orientation; // Ignores range error when the image does not have correct Exif information\n\n try {\n var littleEndian;\n var app1Start;\n var ifdStart; // Only handle JPEG image (start by 0xFFD8)\n\n if (dataView.getUint8(0) === 0xFF && dataView.getUint8(1) === 0xD8) {\n var length = dataView.byteLength;\n var offset = 2;\n\n while (offset + 1 < length) {\n if (dataView.getUint8(offset) === 0xFF && dataView.getUint8(offset + 1) === 0xE1) {\n app1Start = offset;\n break;\n }\n\n offset += 1;\n }\n }\n\n if (app1Start) {\n var exifIDCode = app1Start + 4;\n var tiffOffset = app1Start + 10;\n\n if (getStringFromCharCode(dataView, exifIDCode, 4) === 'Exif') {\n var endianness = dataView.getUint16(tiffOffset);\n littleEndian = endianness === 0x4949;\n\n if (littleEndian || endianness === 0x4D4D\n /* bigEndian */\n ) {\n if (dataView.getUint16(tiffOffset + 2, littleEndian) === 0x002A) {\n var firstIFDOffset = dataView.getUint32(tiffOffset + 4, littleEndian);\n\n if (firstIFDOffset >= 0x00000008) {\n ifdStart = tiffOffset + firstIFDOffset;\n }\n }\n }\n }\n }\n\n if (ifdStart) {\n var _length = dataView.getUint16(ifdStart, littleEndian);\n\n var _offset;\n\n var i;\n\n for (i = 0; i < _length; i += 1) {\n _offset = ifdStart + i * 12 + 2;\n\n if (dataView.getUint16(_offset, littleEndian) === 0x0112\n /* Orientation */\n ) {\n // 8 is the offset of the current tag's value\n _offset += 8; // Get the original orientation value\n\n orientation = dataView.getUint16(_offset, littleEndian); // Override the orientation with its default value\n\n dataView.setUint16(_offset, 1, littleEndian);\n break;\n }\n }\n }\n } catch (e) {\n orientation = 1;\n }\n\n return orientation;\n }\n /**\n * Parse Exif Orientation value.\n * @param {number} orientation - The orientation to parse.\n * @returns {Object} The parsed result.\n */\n\n function parseOrientation(orientation) {\n var rotate = 0;\n var scaleX = 1;\n var scaleY = 1;\n\n switch (orientation) {\n // Flip horizontal\n case 2:\n scaleX = -1;\n break;\n // Rotate left 180°\n\n case 3:\n rotate = -180;\n break;\n // Flip vertical\n\n case 4:\n scaleY = -1;\n break;\n // Flip vertical and rotate right 90°\n\n case 5:\n rotate = 90;\n scaleY = -1;\n break;\n // Rotate right 90°\n\n case 6:\n rotate = 90;\n break;\n // Flip horizontal and rotate right 90°\n\n case 7:\n rotate = 90;\n scaleX = -1;\n break;\n // Rotate left 90°\n\n case 8:\n rotate = -90;\n break;\n }\n\n return {\n rotate: rotate,\n scaleX: scaleX,\n scaleY: scaleY\n };\n }\n var REGEXP_DECIMALS = /\\.\\d*(?:0|9){12}\\d*$/;\n /**\n * Normalize decimal number.\n * Check out {@link https://0.30000000000000004.com/}\n * @param {number} value - The value to normalize.\n * @param {number} [times=100000000000] - The times for normalizing.\n * @returns {number} Returns the normalized number.\n */\n\n function normalizeDecimalNumber(value) {\n var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100000000000;\n return REGEXP_DECIMALS.test(value) ? Math.round(value * times) / times : value;\n }\n /**\n * Get the max sizes in a rectangle under the given aspect ratio.\n * @param {Object} data - The original sizes.\n * @param {string} [type='contain'] - The adjust type.\n * @returns {Object} The result sizes.\n */\n\n function getAdjustedSizes(_ref) {\n var aspectRatio = _ref.aspectRatio,\n height = _ref.height,\n width = _ref.width;\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'none';\n var isValidWidth = isPositiveNumber(width);\n var isValidHeight = isPositiveNumber(height);\n\n if (isValidWidth && isValidHeight) {\n var adjustedWidth = height * aspectRatio;\n\n if ((type === 'contain' || type === 'none') && adjustedWidth > width || type === 'cover' && adjustedWidth < width) {\n height = width / aspectRatio;\n } else {\n width = height * aspectRatio;\n }\n } else if (isValidWidth) {\n height = width / aspectRatio;\n } else if (isValidHeight) {\n width = height * aspectRatio;\n }\n\n return {\n width: width,\n height: height\n };\n }\n\n var ArrayBuffer$1 = WINDOW.ArrayBuffer,\n FileReader = WINDOW.FileReader;\n var URL = WINDOW.URL || WINDOW.webkitURL;\n var REGEXP_EXTENSION = /\\.\\w+$/;\n var AnotherCompressor = WINDOW.Compressor;\n /**\n * Creates a new image compressor.\n * @class\n */\n\n var Compressor = /*#__PURE__*/function () {\n /**\n * The constructor of Compressor.\n * @param {File|Blob} file - The target image file for compressing.\n * @param {Object} [options] - The options for compressing.\n */\n function Compressor(file, options) {\n _classCallCheck(this, Compressor);\n\n this.file = file;\n this.image = new Image();\n this.options = _objectSpread2(_objectSpread2({}, DEFAULTS), options);\n this.aborted = false;\n this.result = null;\n this.init();\n }\n\n _createClass(Compressor, [{\n key: \"init\",\n value: function init() {\n var _this = this;\n\n var file = this.file,\n options = this.options;\n\n if (!isBlob(file)) {\n this.fail(new Error('The first argument must be a File or Blob object.'));\n return;\n }\n\n var mimeType = file.type;\n\n if (!isImageType(mimeType)) {\n this.fail(new Error('The first argument must be an image File or Blob object.'));\n return;\n }\n\n if (!URL || !FileReader) {\n this.fail(new Error('The current browser does not support image compression.'));\n return;\n }\n\n if (!ArrayBuffer$1) {\n options.checkOrientation = false;\n }\n\n if (URL && !options.checkOrientation) {\n this.load({\n url: URL.createObjectURL(file)\n });\n } else {\n var reader = new FileReader();\n var checkOrientation = options.checkOrientation && mimeType === 'image/jpeg';\n this.reader = reader;\n\n reader.onload = function (_ref) {\n var target = _ref.target;\n var result = target.result;\n var data = {};\n\n if (checkOrientation) {\n // Reset the orientation value to its default value 1\n // as some iOS browsers will render image with its orientation\n var orientation = resetAndGetOrientation(result);\n\n if (orientation > 1 || !URL) {\n // Generate a new URL which has the default orientation value\n data.url = arrayBufferToDataURL(result, mimeType);\n\n if (orientation > 1) {\n _extends(data, parseOrientation(orientation));\n }\n } else {\n data.url = URL.createObjectURL(file);\n }\n } else {\n data.url = result;\n }\n\n _this.load(data);\n };\n\n reader.onabort = function () {\n _this.fail(new Error('Aborted to read the image with FileReader.'));\n };\n\n reader.onerror = function () {\n _this.fail(new Error('Failed to read the image with FileReader.'));\n };\n\n reader.onloadend = function () {\n _this.reader = null;\n };\n\n if (checkOrientation) {\n reader.readAsArrayBuffer(file);\n } else {\n reader.readAsDataURL(file);\n }\n }\n }\n }, {\n key: \"load\",\n value: function load(data) {\n var _this2 = this;\n\n var file = this.file,\n image = this.image;\n\n image.onload = function () {\n _this2.draw(_objectSpread2(_objectSpread2({}, data), {}, {\n naturalWidth: image.naturalWidth,\n naturalHeight: image.naturalHeight\n }));\n };\n\n image.onabort = function () {\n _this2.fail(new Error('Aborted to load the image.'));\n };\n\n image.onerror = function () {\n _this2.fail(new Error('Failed to load the image.'));\n }; // Match all browsers that use WebKit as the layout engine in iOS devices,\n // such as Safari for iOS, Chrome for iOS, and in-app browsers.\n\n\n if (WINDOW.navigator && /(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(WINDOW.navigator.userAgent)) {\n // Fix the `The operation is insecure` error (#57)\n image.crossOrigin = 'anonymous';\n }\n\n image.alt = file.name;\n image.src = data.url;\n }\n }, {\n key: \"draw\",\n value: function draw(_ref2) {\n var _this3 = this;\n\n var naturalWidth = _ref2.naturalWidth,\n naturalHeight = _ref2.naturalHeight,\n _ref2$rotate = _ref2.rotate,\n rotate = _ref2$rotate === void 0 ? 0 : _ref2$rotate,\n _ref2$scaleX = _ref2.scaleX,\n scaleX = _ref2$scaleX === void 0 ? 1 : _ref2$scaleX,\n _ref2$scaleY = _ref2.scaleY,\n scaleY = _ref2$scaleY === void 0 ? 1 : _ref2$scaleY;\n var file = this.file,\n image = this.image,\n options = this.options;\n var canvas = document.createElement('canvas');\n var context = canvas.getContext('2d');\n var is90DegreesRotated = Math.abs(rotate) % 180 === 90;\n var resizable = (options.resize === 'contain' || options.resize === 'cover') && isPositiveNumber(options.width) && isPositiveNumber(options.height);\n var maxWidth = Math.max(options.maxWidth, 0) || Infinity;\n var maxHeight = Math.max(options.maxHeight, 0) || Infinity;\n var minWidth = Math.max(options.minWidth, 0) || 0;\n var minHeight = Math.max(options.minHeight, 0) || 0;\n var aspectRatio = naturalWidth / naturalHeight;\n var width = options.width,\n height = options.height;\n\n if (is90DegreesRotated) {\n var _ref3 = [maxHeight, maxWidth];\n maxWidth = _ref3[0];\n maxHeight = _ref3[1];\n var _ref4 = [minHeight, minWidth];\n minWidth = _ref4[0];\n minHeight = _ref4[1];\n var _ref5 = [height, width];\n width = _ref5[0];\n height = _ref5[1];\n }\n\n if (resizable) {\n aspectRatio = width / height;\n }\n\n var _getAdjustedSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: maxWidth,\n height: maxHeight\n }, 'contain');\n\n maxWidth = _getAdjustedSizes.width;\n maxHeight = _getAdjustedSizes.height;\n\n var _getAdjustedSizes2 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: minWidth,\n height: minHeight\n }, 'cover');\n\n minWidth = _getAdjustedSizes2.width;\n minHeight = _getAdjustedSizes2.height;\n\n if (resizable) {\n var _getAdjustedSizes3 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: width,\n height: height\n }, options.resize);\n\n width = _getAdjustedSizes3.width;\n height = _getAdjustedSizes3.height;\n } else {\n var _getAdjustedSizes4 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: width,\n height: height\n });\n\n var _getAdjustedSizes4$wi = _getAdjustedSizes4.width;\n width = _getAdjustedSizes4$wi === void 0 ? naturalWidth : _getAdjustedSizes4$wi;\n var _getAdjustedSizes4$he = _getAdjustedSizes4.height;\n height = _getAdjustedSizes4$he === void 0 ? naturalHeight : _getAdjustedSizes4$he;\n }\n\n width = Math.floor(normalizeDecimalNumber(Math.min(Math.max(width, minWidth), maxWidth)));\n height = Math.floor(normalizeDecimalNumber(Math.min(Math.max(height, minHeight), maxHeight)));\n var destX = -width / 2;\n var destY = -height / 2;\n var destWidth = width;\n var destHeight = height;\n var params = [];\n\n if (resizable) {\n var srcX = 0;\n var srcY = 0;\n var srcWidth = naturalWidth;\n var srcHeight = naturalHeight;\n\n var _getAdjustedSizes5 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: naturalWidth,\n height: naturalHeight\n }, {\n contain: 'cover',\n cover: 'contain'\n }[options.resize]);\n\n srcWidth = _getAdjustedSizes5.width;\n srcHeight = _getAdjustedSizes5.height;\n srcX = (naturalWidth - srcWidth) / 2;\n srcY = (naturalHeight - srcHeight) / 2;\n params.push(srcX, srcY, srcWidth, srcHeight);\n }\n\n params.push(destX, destY, destWidth, destHeight);\n\n if (is90DegreesRotated) {\n var _ref6 = [height, width];\n width = _ref6[0];\n height = _ref6[1];\n }\n\n canvas.width = width;\n canvas.height = height;\n\n if (!isImageType(options.mimeType)) {\n options.mimeType = file.type;\n }\n\n var fillStyle = 'transparent'; // Converts PNG files over the `convertSize` to JPEGs.\n\n if (file.size > options.convertSize && options.convertTypes.indexOf(options.mimeType) >= 0) {\n options.mimeType = 'image/jpeg';\n }\n\n if (options.mimeType === 'image/jpeg') {\n fillStyle = '#fff';\n } // Override the default fill color (#000, black)\n\n\n context.fillStyle = fillStyle;\n context.fillRect(0, 0, width, height);\n\n if (options.beforeDraw) {\n options.beforeDraw.call(this, context, canvas);\n }\n\n if (this.aborted) {\n return;\n }\n\n context.save();\n context.translate(width / 2, height / 2);\n context.rotate(rotate * Math.PI / 180);\n context.scale(scaleX, scaleY);\n context.drawImage.apply(context, [image].concat(params));\n context.restore();\n\n if (options.drew) {\n options.drew.call(this, context, canvas);\n }\n\n if (this.aborted) {\n return;\n }\n\n var done = function done(result) {\n if (!_this3.aborted) {\n _this3.done({\n naturalWidth: naturalWidth,\n naturalHeight: naturalHeight,\n result: result\n });\n }\n };\n\n if (canvas.toBlob) {\n canvas.toBlob(done, options.mimeType, options.quality);\n } else {\n done(toBlob(canvas.toDataURL(options.mimeType, options.quality)));\n }\n }\n }, {\n key: \"done\",\n value: function done(_ref7) {\n var naturalWidth = _ref7.naturalWidth,\n naturalHeight = _ref7.naturalHeight,\n result = _ref7.result;\n var file = this.file,\n image = this.image,\n options = this.options;\n\n if (URL && !options.checkOrientation) {\n URL.revokeObjectURL(image.src);\n }\n\n if (result) {\n // Returns original file if the result is greater than it and without size related options\n if (options.strict && result.size > file.size && options.mimeType === file.type && !(options.width > naturalWidth || options.height > naturalHeight || options.minWidth > naturalWidth || options.minHeight > naturalHeight || options.maxWidth < naturalWidth || options.maxHeight < naturalHeight)) {\n result = file;\n } else {\n var date = new Date();\n result.lastModified = date.getTime();\n result.lastModifiedDate = date;\n result.name = file.name; // Convert the extension to match its type\n\n if (result.name && result.type !== file.type) {\n result.name = result.name.replace(REGEXP_EXTENSION, imageTypeToExtension(result.type));\n }\n }\n } else {\n // Returns original file if the result is null in some cases.\n result = file;\n }\n\n this.result = result;\n\n if (options.success) {\n options.success.call(this, result);\n }\n }\n }, {\n key: \"fail\",\n value: function fail(err) {\n var options = this.options;\n\n if (options.error) {\n options.error.call(this, err);\n } else {\n throw err;\n }\n }\n }, {\n key: \"abort\",\n value: function abort() {\n if (!this.aborted) {\n this.aborted = true;\n\n if (this.reader) {\n this.reader.abort();\n } else if (!this.image.complete) {\n this.image.onload = null;\n this.image.onabort();\n } else {\n this.fail(new Error('The compression process has been aborted.'));\n }\n }\n }\n /**\n * Get the no conflict compressor class.\n * @returns {Compressor} The compressor class.\n */\n\n }], [{\n key: \"noConflict\",\n value: function noConflict() {\n window.Compressor = AnotherCompressor;\n return Compressor;\n }\n /**\n * Change the default options.\n * @param {Object} options - The new default options.\n */\n\n }, {\n key: \"setDefaults\",\n value: function setDefaults(options) {\n _extends(DEFAULTS, options);\n }\n }]);\n\n return Compressor;\n }();\n\n return Compressor;\n\n}));\n\n\n//# sourceURL=webpack:///./node_modules/compressorjs/dist/compressor.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/an-instance.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/internals/an-instance.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ \"./node_modules/core-js/internals/object-is-prototype-of.js\");\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/an-instance.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/array-buffer-native.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/internals/array-buffer-native.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// eslint-disable-next-line es-x/no-typed-arrays -- safe\nmodule.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/array-buffer-native.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/array-buffer-view-core.js": -/*!******************************************************************!*\ - !*** ./node_modules/core-js/internals/array-buffer-view-core.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-native */ \"./node_modules/core-js/internals/array-buffer-native.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar classof = __webpack_require__(/*! ../internals/classof */ \"./node_modules/core-js/internals/classof.js\");\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ \"./node_modules/core-js/internals/try-to-string.js\");\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ \"./node_modules/core-js/internals/create-non-enumerable-property.js\");\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ \"./node_modules/core-js/internals/define-built-in.js\");\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f;\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ \"./node_modules/core-js/internals/object-is-prototype-of.js\");\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar TypeError = global.TypeError;\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\nvar TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQUIRED = false;\nvar NAME, Constructor, Prototype;\n\nvar TypedArrayConstructorsList = {\n Int8Array: 1,\n Uint8Array: 1,\n Uint8ClampedArray: 1,\n Int16Array: 2,\n Uint16Array: 2,\n Int32Array: 4,\n Uint32Array: 4,\n Float32Array: 4,\n Float64Array: 8\n};\n\nvar BigIntArrayConstructorsList = {\n BigInt64Array: 8,\n BigUint64Array: 8\n};\n\nvar isView = function isView(it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return klass === 'DataView'\n || hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar getTypedArrayConstructor = function (it) {\n var proto = getPrototypeOf(it);\n if (!isObject(proto)) return;\n var state = getInternalState(proto);\n return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);\n};\n\nvar isTypedArray = function (it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar aTypedArray = function (it) {\n if (isTypedArray(it)) return it;\n throw TypeError('Target is not a typed array');\n};\n\nvar aTypedArrayConstructor = function (C) {\n if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;\n throw TypeError(tryToString(C) + ' is not a typed array constructor');\n};\n\nvar exportTypedArrayMethod = function (KEY, property, forced, options) {\n if (!DESCRIPTORS) return;\n if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {\n delete TypedArrayConstructor.prototype[KEY];\n } catch (error) {\n // old WebKit bug - some methods are non-configurable\n try {\n TypedArrayConstructor.prototype[KEY] = property;\n } catch (error2) { /* empty */ }\n }\n }\n if (!TypedArrayPrototype[KEY] || forced) {\n defineBuiltIn(TypedArrayPrototype, KEY, forced ? property\n : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);\n }\n};\n\nvar exportTypedArrayStaticMethod = function (KEY, property, forced) {\n var ARRAY, TypedArrayConstructor;\n if (!DESCRIPTORS) return;\n if (setPrototypeOf) {\n if (forced) for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {\n delete TypedArrayConstructor[KEY];\n } catch (error) { /* empty */ }\n }\n if (!TypedArray[KEY] || forced) {\n // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n try {\n return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);\n } catch (error) { /* empty */ }\n } else return;\n }\n for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n defineBuiltIn(TypedArrayConstructor, KEY, property);\n }\n }\n};\n\nfor (NAME in TypedArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n else NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\n\nfor (NAME in BigIntArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {\n // eslint-disable-next-line no-shadow -- safe\n TypedArray = function TypedArray() {\n throw TypeError('Incorrect invocation');\n };\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n }\n}\n\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n TypedArrayPrototype = TypedArray.prototype;\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\n\nif (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {\n TYPED_ARRAY_TAG_REQUIRED = true;\n defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () {\n return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n } });\n for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n }\n}\n\nmodule.exports = {\n NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,\n aTypedArray: aTypedArray,\n aTypedArrayConstructor: aTypedArrayConstructor,\n exportTypedArrayMethod: exportTypedArrayMethod,\n exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n getTypedArrayConstructor: getTypedArrayConstructor,\n isView: isView,\n isTypedArray: isTypedArray,\n TypedArray: TypedArray,\n TypedArrayPrototype: TypedArrayPrototype\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/array-buffer-view-core.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/array-iteration-from-last.js": -/*!*********************************************************************!*\ - !*** ./node_modules/core-js/internals/array-iteration-from-last.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var bind = __webpack_require__(/*! ../internals/function-bind-context */ \"./node_modules/core-js/internals/function-bind-context.js\");\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ \"./node_modules/core-js/internals/indexed-object.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\n\n// `Array.prototype.{ findLast, findLastIndex }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_FIND_LAST_INDEX = TYPE == 1;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var index = lengthOfArrayLike(self);\n var value, result;\n while (index-- > 0) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (result) switch (TYPE) {\n case 0: return value; // findLast\n case 1: return index; // findLastIndex\n }\n }\n return IS_FIND_LAST_INDEX ? -1 : undefined;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.findLast` method\n // https://github.com/tc39/proposal-array-find-from-last\n findLast: createMethod(0),\n // `Array.prototype.findLastIndex` method\n // https://github.com/tc39/proposal-array-find-from-last\n findLastIndex: createMethod(1)\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/array-iteration-from-last.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/correct-prototype-getter.js": -/*!********************************************************************!*\ - !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/correct-prototype-getter.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/dom-exception-constants.js": -/*!*******************************************************************!*\ - !*** ./node_modules/core-js/internals/dom-exception-constants.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/dom-exception-constants.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/function-bind-context.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/internals/function-bind-context.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ \"./node_modules/core-js/internals/a-callable.js\");\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ \"./node_modules/core-js/internals/function-bind-native.js\");\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/function-bind-context.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/object-get-prototype-of.js": -/*!*******************************************************************!*\ - !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ \"./node_modules/core-js/internals/correct-prototype-getter.js\");\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es-x/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/object-get-prototype-of.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/to-offset.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/internals/to-offset.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ \"./node_modules/core-js/internals/to-positive-integer.js\");\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it, BYTES) {\n var offset = toPositiveInteger(it);\n if (offset % BYTES) throw $RangeError('Wrong offset');\n return offset;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/to-offset.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/internals/to-positive-integer.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/internals/to-positive-integer.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ \"./node_modules/core-js/internals/to-integer-or-infinity.js\");\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it) {\n var result = toIntegerOrInfinity(it);\n if (result < 0) throw $RangeError(\"The argument can't be less than 0\");\n return result;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/to-positive-integer.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es.typed-array.at.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es.typed-array.at.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ \"./node_modules/core-js/internals/array-buffer-view-core.js\");\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ \"./node_modules/core-js/internals/to-integer-or-infinity.js\");\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\nexportTypedArrayMethod('at', function at(index) {\n var O = aTypedArray(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : O[k];\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.typed-array.at.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es.typed-array.find-last-index.js": -/*!************************************************************************!*\ - !*** ./node_modules/core-js/modules/es.typed-array.find-last-index.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ \"./node_modules/core-js/internals/array-buffer-view-core.js\");\nvar $findLastIndex = __webpack_require__(/*! ../internals/array-iteration-from-last */ \"./node_modules/core-js/internals/array-iteration-from-last.js\").findLastIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findLastIndex` method\n// https://github.com/tc39/proposal-array-find-from-last\nexportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) {\n return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.typed-array.find-last-index.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es.typed-array.find-last.js": -/*!******************************************************************!*\ - !*** ./node_modules/core-js/modules/es.typed-array.find-last.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ \"./node_modules/core-js/internals/array-buffer-view-core.js\");\nvar $findLast = __webpack_require__(/*! ../internals/array-iteration-from-last */ \"./node_modules/core-js/internals/array-iteration-from-last.js\").findLast;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findLast` method\n// https://github.com/tc39/proposal-array-find-from-last\nexportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) {\n return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.typed-array.find-last.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es.typed-array.set.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es.typed-array.set.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar call = __webpack_require__(/*! ../internals/function-call */ \"./node_modules/core-js/internals/function-call.js\");\nvar ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ \"./node_modules/core-js/internals/array-buffer-view-core.js\");\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\nvar toOffset = __webpack_require__(/*! ../internals/to-offset */ \"./node_modules/core-js/internals/to-offset.js\");\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nvar RangeError = global.RangeError;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar $set = Int8ArrayPrototype && Int8ArrayPrototype.set;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails(function () {\n // eslint-disable-next-line es-x/no-typed-arrays -- required for testing\n var array = new Uint8ClampedArray(2);\n call($set, array, { length: 1, 0: 3 }, 1);\n return array[1] !== 3;\n});\n\n// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other\nvar TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {\n var array = new Int8Array(2);\n array.set(1);\n array.set('2', 1);\n return array[0] !== 0 || array[1] !== 2;\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var src = toIndexedObject(arrayLike);\n if (WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);\n var length = this.length;\n var len = lengthOfArrayLike(src);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, !WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.typed-array.set.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/esnext.typed-array.find-last-index.js": -/*!****************************************************************************!*\ - !*** ./node_modules/core-js/modules/esnext.typed-array.find-last-index.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../modules/es.typed-array.find-last-index */ \"./node_modules/core-js/modules/es.typed-array.find-last-index.js\");\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/esnext.typed-array.find-last-index.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/esnext.typed-array.find-last.js": -/*!**********************************************************************!*\ - !*** ./node_modules/core-js/modules/esnext.typed-array.find-last.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../modules/es.typed-array.find-last */ \"./node_modules/core-js/modules/es.typed-array.find-last.js\");\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/esnext.typed-array.find-last.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/web.dom-exception.stack.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/modules/web.dom-exception.stack.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f;\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ \"./node_modules/core-js/internals/an-instance.js\");\nvar inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ \"./node_modules/core-js/internals/inherit-if-required.js\");\nvar normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ \"./node_modules/core-js/internals/normalize-string-argument.js\");\nvar DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ \"./node_modules/core-js/internals/dom-exception-constants.js\");\nvar clearErrorStack = __webpack_require__(/*! ../internals/clear-error-stack */ \"./node_modules/core-js/internals/clear-error-stack.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/web.dom-exception.stack.js?"); - -/***/ }), - -/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/viewerjs/dist/viewer.css": -/*!***********************************************************************************************************************************************************!*\ - !*** ./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-3-1!./node_modules/postcss-loader/src??ref--7-oneOf-3-2!./node_modules/viewerjs/dist/viewer.css ***! - \***********************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \"/*!\\n * Viewer.js v1.10.5\\n * https://fengyuanchen.github.io/viewerjs\\n *\\n * Copyright 2015-present Chen Fengyuan\\n * Released under the MIT license\\n *\\n * Date: 2022-04-05T08:21:00.150Z\\n */\\n\\n.viewer-zoom-in::before, .viewer-zoom-out::before, .viewer-one-to-one::before, .viewer-reset::before, .viewer-prev::before, .viewer-play::before, .viewer-next::before, .viewer-rotate-left::before, .viewer-rotate-right::before, .viewer-flip-horizontal::before, .viewer-flip-vertical::before, .viewer-fullscreen::before, .viewer-fullscreen-exit::before, .viewer-close::before {\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC\\\");\\n background-repeat: no-repeat;\\n background-size: 280px;\\n color: transparent;\\n display: block;\\n font-size: 0;\\n height: 20px;\\n line-height: 0;\\n width: 20px;\\n }\\n\\n.viewer-zoom-in::before {\\n background-position: 0 0;\\n content: \\\"Zoom In\\\";\\n}\\n\\n.viewer-zoom-out::before {\\n background-position: -20px 0;\\n content: \\\"Zoom Out\\\";\\n}\\n\\n.viewer-one-to-one::before {\\n background-position: -40px 0;\\n content: \\\"One to One\\\";\\n}\\n\\n.viewer-reset::before {\\n background-position: -60px 0;\\n content: \\\"Reset\\\";\\n}\\n\\n.viewer-prev::before {\\n background-position: -80px 0;\\n content: \\\"Previous\\\";\\n}\\n\\n.viewer-play::before {\\n background-position: -100px 0;\\n content: \\\"Play\\\";\\n}\\n\\n.viewer-next::before {\\n background-position: -120px 0;\\n content: \\\"Next\\\";\\n}\\n\\n.viewer-rotate-left::before {\\n background-position: -140px 0;\\n content: \\\"Rotate Left\\\";\\n}\\n\\n.viewer-rotate-right::before {\\n background-position: -160px 0;\\n content: \\\"Rotate Right\\\";\\n}\\n\\n.viewer-flip-horizontal::before {\\n background-position: -180px 0;\\n content: \\\"Flip Horizontal\\\";\\n}\\n\\n.viewer-flip-vertical::before {\\n background-position: -200px 0;\\n content: \\\"Flip Vertical\\\";\\n}\\n\\n.viewer-fullscreen::before {\\n background-position: -220px 0;\\n content: \\\"Enter Full Screen\\\";\\n}\\n\\n.viewer-fullscreen-exit::before {\\n background-position: -240px 0;\\n content: \\\"Exit Full Screen\\\";\\n}\\n\\n.viewer-close::before {\\n background-position: -260px 0;\\n content: \\\"Close\\\";\\n}\\n\\n.viewer-container {\\n bottom: 0;\\n direction: ltr;\\n font-size: 0;\\n left: 0;\\n line-height: 0;\\n overflow: hidden;\\n position: absolute;\\n right: 0;\\n -webkit-tap-highlight-color: transparent;\\n top: 0;\\n touch-action: none;\\n -webkit-touch-callout: none;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n user-select: none\\n}\\n\\n.viewer-container::-moz-selection, .viewer-container *::-moz-selection {\\n background-color: transparent;\\n }\\n\\n.viewer-container::selection,\\n .viewer-container *::selection {\\n background-color: transparent;\\n }\\n\\n.viewer-container:focus {\\n outline: 0;\\n }\\n\\n.viewer-container img {\\n display: block;\\n height: auto;\\n max-height: none !important;\\n max-width: none !important;\\n min-height: 0 !important;\\n min-width: 0 !important;\\n width: 100%;\\n }\\n\\n.viewer-canvas {\\n bottom: 0;\\n left: 0;\\n overflow: hidden;\\n position: absolute;\\n right: 0;\\n top: 0\\n}\\n\\n.viewer-canvas > img {\\n height: auto;\\n margin: 15px auto;\\n max-width: 90% !important;\\n width: auto;\\n }\\n\\n.viewer-footer {\\n bottom: 0;\\n left: 0;\\n overflow: hidden;\\n position: absolute;\\n right: 0;\\n text-align: center;\\n}\\n\\n.viewer-navbar {\\n background-color: rgba(0, 0, 0, 50%);\\n overflow: hidden;\\n}\\n\\n.viewer-list {\\n box-sizing: content-box;\\n height: 50px;\\n margin: 0;\\n overflow: hidden;\\n padding: 1px 0\\n}\\n\\n.viewer-list > li {\\n color: transparent;\\n cursor: pointer;\\n float: left;\\n font-size: 0;\\n height: 50px;\\n line-height: 0;\\n opacity: 0.5;\\n overflow: hidden;\\n transition: opacity 0.15s;\\n width: 30px\\n }\\n\\n.viewer-list > li:focus,\\n .viewer-list > li:hover {\\n opacity: 0.75;\\n }\\n\\n.viewer-list > li:focus {\\n outline: 0;\\n }\\n\\n.viewer-list > li + li {\\n margin-left: 1px;\\n }\\n\\n.viewer-list > .viewer-loading {\\n position: relative\\n }\\n\\n.viewer-list > .viewer-loading::after {\\n border-width: 2px;\\n height: 20px;\\n margin-left: -10px;\\n margin-top: -10px;\\n width: 20px;\\n }\\n\\n.viewer-list > .viewer-active,\\n .viewer-list > .viewer-active:focus,\\n .viewer-list > .viewer-active:hover {\\n opacity: 1;\\n }\\n\\n.viewer-player {\\n background-color: #000;\\n bottom: 0;\\n cursor: none;\\n display: none;\\n left: 0;\\n position: absolute;\\n right: 0;\\n top: 0;\\n z-index: 1\\n}\\n\\n.viewer-player > img {\\n left: 0;\\n position: absolute;\\n top: 0;\\n }\\n\\n.viewer-toolbar > ul {\\n display: inline-block;\\n margin: 0 auto 5px;\\n overflow: hidden;\\n padding: 6px 3px\\n }\\n\\n.viewer-toolbar > ul > li {\\n background-color: rgba(0, 0, 0, 50%);\\n border-radius: 50%;\\n cursor: pointer;\\n float: left;\\n height: 24px;\\n overflow: hidden;\\n transition: background-color 0.15s;\\n width: 24px\\n }\\n\\n.viewer-toolbar > ul > li:focus,\\n .viewer-toolbar > ul > li:hover {\\n background-color: rgba(0, 0, 0, 80%);\\n }\\n\\n.viewer-toolbar > ul > li:focus {\\n box-shadow: 0 0 3px #fff;\\n outline: 0;\\n position: relative;\\n z-index: 1;\\n }\\n\\n.viewer-toolbar > ul > li::before {\\n margin: 2px;\\n }\\n\\n.viewer-toolbar > ul > li + li {\\n margin-left: 1px;\\n }\\n\\n.viewer-toolbar > ul > .viewer-small {\\n height: 18px;\\n margin-bottom: 3px;\\n margin-top: 3px;\\n width: 18px\\n }\\n\\n.viewer-toolbar > ul > .viewer-small::before {\\n margin: -1px;\\n }\\n\\n.viewer-toolbar > ul > .viewer-large {\\n height: 30px;\\n margin-bottom: -3px;\\n margin-top: -3px;\\n width: 30px\\n }\\n\\n.viewer-toolbar > ul > .viewer-large::before {\\n margin: 5px;\\n }\\n\\n.viewer-tooltip {\\n background-color: rgba(0, 0, 0, 80%);\\n border-radius: 10px;\\n color: #fff;\\n display: none;\\n font-size: 12px;\\n height: 20px;\\n left: 50%;\\n line-height: 20px;\\n margin-left: -25px;\\n margin-top: -10px;\\n position: absolute;\\n text-align: center;\\n top: 50%;\\n width: 50px;\\n}\\n\\n.viewer-title {\\n color: #ccc;\\n display: inline-block;\\n font-size: 12px;\\n line-height: 1.2;\\n margin: 0 5% 5px;\\n max-width: 90%;\\n opacity: 0.8;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n transition: opacity 0.15s;\\n white-space: nowrap\\n}\\n\\n.viewer-title:hover {\\n opacity: 1;\\n }\\n\\n.viewer-button {\\n -webkit-app-region: no-drag;\\n background-color: rgba(0, 0, 0, 50%);\\n border-radius: 50%;\\n cursor: pointer;\\n height: 80px;\\n overflow: hidden;\\n position: absolute;\\n right: -40px;\\n top: -40px;\\n transition: background-color 0.15s;\\n width: 80px\\n}\\n\\n.viewer-button:focus,\\n .viewer-button:hover {\\n background-color: rgba(0, 0, 0, 80%);\\n }\\n\\n.viewer-button:focus {\\n box-shadow: 0 0 3px #fff;\\n outline: 0;\\n }\\n\\n.viewer-button::before {\\n bottom: 15px;\\n left: 15px;\\n position: absolute;\\n }\\n\\n.viewer-fixed {\\n position: fixed;\\n}\\n\\n.viewer-open {\\n overflow: hidden;\\n}\\n\\n.viewer-show {\\n display: block;\\n}\\n\\n.viewer-hide {\\n display: none;\\n}\\n\\n.viewer-backdrop {\\n background-color: rgba(0, 0, 0, 50%);\\n}\\n\\n.viewer-invisible {\\n visibility: hidden;\\n}\\n\\n.viewer-move {\\n cursor: move;\\n cursor: -webkit-grab;\\n cursor: grab;\\n}\\n\\n.viewer-fade {\\n opacity: 0;\\n}\\n\\n.viewer-in {\\n opacity: 1;\\n}\\n\\n.viewer-transition {\\n transition: all 0.3s;\\n}\\n\\n@-webkit-keyframes viewer-spinner {\\n 0% {\\n transform: rotate(0deg);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n@keyframes viewer-spinner {\\n 0% {\\n transform: rotate(0deg);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n.viewer-loading::after {\\n -webkit-animation: viewer-spinner 1s linear infinite;\\n animation: viewer-spinner 1s linear infinite;\\n border: 4px solid rgba(255, 255, 255, 10%);\\n border-left-color: rgba(255, 255, 255, 50%);\\n border-radius: 50%;\\n content: \\\"\\\";\\n display: inline-block;\\n height: 40px;\\n left: 50%;\\n margin-left: -20px;\\n margin-top: -20px;\\n position: absolute;\\n top: 50%;\\n width: 40px;\\n z-index: 1;\\n }\\n\\n@media (max-width: 767px) {\\n .viewer-hide-xs-down {\\n display: none;\\n }\\n}\\n\\n@media (max-width: 991px) {\\n .viewer-hide-sm-down {\\n display: none;\\n }\\n}\\n\\n@media (max-width: 1199px) {\\n .viewer-hide-md-down {\\n display: none;\\n }\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./node_modules/viewerjs/dist/viewer.css?./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-3-1!./node_modules/postcss-loader/src??ref--7-oneOf-3-2"); - -/***/ }), - -/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Home.vue?vue&type=style&index=0&id=fae5bece&lang=less&scoped=true&": -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Home.vue?vue&type=style&index=0&id=fae5bece&lang=less&scoped=true& ***! - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".compress-remind[data-v-fae5bece] {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 10px;\\n line-height: 20px;\\n}\\n.upload-w[data-v-fae5bece] {\\n display: flex;\\n justify-content: center;\\n margin-top: 80px;\\n margin-bottom: 50px;\\n}\\n.upload-w[data-v-fae5bece] .el-upload-dragger {\\n background-color: var(--b2-pre-bg);\\n}\\n.upload-w[data-v-fae5bece] .el-upload__tip {\\n display: flex;\\n justify-content: space-between;\\n}\\n.upload-w[data-v-fae5bece] .el-upload__tip .el-tag {\\n cursor: pointer;\\n}\\n.remind-upload-file[data-v-fae5bece] {\\n text-align: center;\\n}\\n[data-v-fae5bece] .el-radio-button__inner {\\n background-color: var(--b2-pre-bg);\\n border: 1px solid var(--b2-border);\\n color: var(--bg-text);\\n}\\n.el-radio-button:first-child .el-radio-button__inner[data-v-fae5bece] {\\n border-radius: 40px !important;\\n}\\nh3[data-v-fae5bece] {\\n text-align: center;\\n font-size: 18px;\\n}\\n.res-upload[data-v-fae5bece] {\\n text-align: center;\\n}\\n.res-upload .res-content[data-v-fae5bece] {\\n position: relative;\\n width: 50%;\\n margin: 20px auto;\\n box-shadow: 0 0 2px #dddbdb;\\n border: 1px dashed #ccc;\\n height: 50px;\\n line-height: 50px;\\n padding: 0 30px 0 10px;\\n}\\n.res-upload .res-content p[data-v-fae5bece] {\\n word-break: keep-all;\\n width: 100%;\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n.copy-view[data-v-fae5bece] {\\n position: absolute;\\n top: calc(50% - 10px);\\n right: 10px;\\n width: 20px;\\n z-index: 2;\\n cursor: pointer;\\n}\\n.copy-view[data-v-fae5bece]:hover {\\n transition: all 0.3s cubic-bezier(0.25, 0.88, 1, 1);\\n width: 22px;\\n}\\n@media only screen and (max-width: 537px) {\\n.upload-w[data-v-fae5bece] {\\n margin-bottom: 50px;\\n}\\n.upload-w[data-v-fae5bece] .el-upload-dragger {\\n width: 90vw;\\n height: 253px;\\n}\\nh3[data-v-fae5bece] {\\n display: none;\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/Home.vue?./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImageItem/ImageItem.vue?vue&type=style&index=0&id=0bd98688&lang=less&scoped=true&": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImageItem/ImageItem.vue?vue&type=style&index=0&id=0bd98688&lang=less&scoped=true& ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".img-item-t1[data-v-0bd98688] {\\n position: relative;\\n border-radius: 10px;\\n box-shadow: 0 0 5px #ccc;\\n text-align: center;\\n width: 15%;\\n padding: 5px;\\n box-sizing: border-box;\\n margin: 10px;\\n cursor: pointer;\\n}\\n.img-item-t1[data-v-0bd98688]:hover {\\n box-shadow: 0 0 12px #ccc;\\n}\\n.img-item-t1:hover .more-w[data-v-0bd98688] {\\n transition: all 0.4s linear;\\n opacity: 1;\\n}\\n.img-item-t1 img[data-v-0bd98688] {\\n width: 90%;\\n height: 150px;\\n border-radius: 10px;\\n}\\n.img-item-t1 .pic-tit[data-v-0bd98688] {\\n padding: 10px 0;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n border-bottom: 1px dashed #f2f2f2;\\n}\\n@media only screen and (max-width: 537px) {\\n.img-item-t1[data-v-0bd98688] {\\n margin: 5px;\\n width: 45%;\\n}\\n.img-item-t1 img[data-v-0bd98688] {\\n width: 100%;\\n height: 120px;\\n}\\n}\\n@media only screen and (max-width: 820px) {\\n.img-item-t1[data-v-0bd98688] {\\n width: 30%;\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImageItem/ImageItem.vue?./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?vue&type=style&index=0&id=4c7a3497&lang=less&scoped=true&": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?vue&type=style&index=0&id=4c7a3497&lang=less&scoped=true& ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".more-w[data-v-4c7a3497] {\\n position: absolute;\\n top: 2%;\\n right: 2%;\\n width: 30px;\\n height: 30px;\\n background-color: var(--b2-bg);\\n border-radius: 20px;\\n box-shadow: 0 0 5px #ccc;\\n z-index: 200;\\n opacity: 0;\\n}\\n.icon-more[data-v-4c7a3497] {\\n width: 30px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImageItem/moremsg/MoreMsg.vue?./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/ImgManage/ImgManage.vue?vue&type=style&index=0&id=2b1aa1d7&lang=less&scoped=true&": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ImgManage/ImgManage.vue?vue&type=style&index=0&id=2b1aa1d7&lang=less&scoped=true& ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".img-m[data-v-2b1aa1d7] {\\n position: relative;\\n padding-bottom: 20px;\\n}\\n.img-m .el-input[data-v-2b1aa1d7] {\\n width: 340px;\\n}\\n.img-m .el-button[data-v-2b1aa1d7] {\\n margin-left: 10px;\\n}\\n.img-m .el-pagination[data-v-2b1aa1d7] {\\n position: absolute;\\n bottom: 20px;\\n left: 20px;\\n}\\n.inp-w[data-v-2b1aa1d7] {\\n width: 100%;\\n padding-bottom: 20px;\\n border-bottom: 1px solid #f2f2f2;\\n}\\n.inp-w .el-tag[data-v-2b1aa1d7] {\\n margin-right: 10px;\\n cursor: pointer;\\n}\\n.svg-w[data-v-2b1aa1d7] {\\n float: right;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n height: 40px;\\n}\\n.svg-w div[title][data-v-2b1aa1d7] {\\n margin: 0 5px;\\n width: 30px;\\n cursor: pointer;\\n}\\n.svg-w div[title] svg[data-v-2b1aa1d7] {\\n width: 30px;\\n height: 30px;\\n}\\n.pic-list-t1[data-v-2b1aa1d7] {\\n margin: 10px 0;\\n display: flex;\\n flex-wrap: wrap;\\n overflow: auto;\\n max-height: 70vh;\\n border-bottom: 1px solid #f2f2f2;\\n padding: 5px 0;\\n}\\n.pic-list-t2 .img-item-t1[data-v-2b1aa1d7] {\\n width: 46%;\\n display: flex;\\n}\\n.pic-list-t2 .img-item-t1[data-v-2b1aa1d7] img {\\n width: 28%;\\n}\\n.pic-list-t2 .img-item-t1[data-v-2b1aa1d7] .item-t {\\n flex: auto;\\n display: flex;\\n flex-direction: column;\\n justify-content: space-between;\\n padding: 15px 0;\\n}\\n.pic-list-t2 .img-item-t1[data-v-2b1aa1d7] .item-t .pic-tit {\\n border: none;\\n}\\n.tpxq_w[data-v-2b1aa1d7] {\\n line-height: 20px;\\n}\\n@media only screen and (max-width: 537px) {\\n.inp-w[data-v-2b1aa1d7] {\\n padding-top: 20px;\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/ImgManage/ImgManage.vue?./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/svg/MarkDown.vue?vue&type=style&index=0&id=3b554894&lang=less&scoped=true&": -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/svg/MarkDown.vue?vue&type=style&index=0&id=3b554894&lang=less&scoped=true& ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".mark-w[data-v-3b554894] {\\n display: flex;\\n justify-content: space-between;\\n padding: 0 10px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/svg/MarkDown.vue?./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/v-viewer/dist/v-viewer.js": -/*!************************************************!*\ - !*** ./node_modules/v-viewer/dist/v-viewer.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(/*! viewerjs */ \"./node_modules/viewerjs/dist/viewer.js\"), __webpack_require__(/*! vue */ \"vue\"));\n\telse {}\n})(this, function(__WEBPACK_EXTERNAL_MODULE_0__, __WEBPACK_EXTERNAL_MODULE_2__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 6);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_0__;\n\n/***/ }),\n/* 1 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = extend;\n\nfunction extend() {\n var extended = {};\n var deep = false;\n var i = 0;\n var length = arguments.length;\n\n if (Object.prototype.toString.call(arguments[0]) === '[object Boolean]') {\n deep = arguments[0];\n i++;\n }\n\n function merge(obj) {\n for (var prop in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n if (deep && Object.prototype.toString.call(obj[prop]) === '[object Object]') {\n extended[prop] = extend(true, extended[prop], obj[prop]);\n } else {\n extended[prop] = obj[prop];\n }\n }\n }\n }\n\n for (; i < length; i++) {\n var obj = arguments[i];\n merge(obj);\n }\n\n return extended;\n}\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n/***/ }),\n/* 3 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_viewerjs__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_viewerjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_viewerjs__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_vue__);\n\n\n\n\nvar api = function api() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$images = _ref.images,\n images = _ref$images === undefined ? [] : _ref$images,\n _ref$options = _ref.options,\n options = _ref$options === undefined ? {} : _ref$options;\n\n options = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__utils__[\"a\" /* extend */])(options, {\n inline: false });\n\n var ViewerToken = __WEBPACK_IMPORTED_MODULE_2_vue___default.a.extend({\n render: function render(h) {\n return h('div', {\n style: {\n display: 'none'\n },\n class: ['__viewer-token']\n }, images.map(function (attr) {\n return h('img', {\n attrs: typeof attr === 'string' ? { src: attr } : attr\n });\n }));\n }\n });\n var token = new ViewerToken();\n token.$mount();\n document.body.appendChild(token.$el);\n\n var $viewer = new __WEBPACK_IMPORTED_MODULE_0_viewerjs___default.a(token.$el, options);\n var $destroy = $viewer.destroy.bind($viewer);\n $viewer.destroy = function () {\n $destroy();\n token.$destroy();\n document.body.removeChild(token.$el);\n return $viewer;\n };\n $viewer.show();\n\n token.$el.addEventListener('hidden', function () {\n if (this.viewer === $viewer) {\n $viewer.destroy();\n }\n });\n\n return $viewer;\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (api);\n\n/***/ }),\n/* 4 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_viewerjs__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_viewerjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_viewerjs__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_throttle_debounce__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_throttle_debounce___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_throttle_debounce__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_vue__);\n\n\n\n\nvar directive = function directive() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$name = _ref.name,\n name = _ref$name === undefined ? 'viewer' : _ref$name,\n _ref$debug = _ref.debug,\n debug = _ref$debug === undefined ? false : _ref$debug;\n\n function createViewer(el, options) {\n var rebuild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var observer = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n\n __WEBPACK_IMPORTED_MODULE_2_vue___default.a.nextTick(function () {\n if (observer && !imageDiff(el)) return;\n if (rebuild || !el['$' + name]) {\n destroyViewer(el);\n el['$' + name] = new __WEBPACK_IMPORTED_MODULE_0_viewerjs___default.a(el, options);\n log('Viewer created');\n } else {\n el['$' + name].update();\n log('Viewer updated');\n }\n });\n }\n\n function imageDiff(el) {\n var imageContent = el.innerHTML.match(//g);\n var viewerImageText = imageContent ? imageContent.join('') : undefined;\n if (el.__viewerImageDiffCache === viewerImageText) {\n log('Element change detected, but image(s) has not changed');\n return false;\n } else {\n log('Image change detected');\n el.__viewerImageDiffCache = viewerImageText;\n return true;\n }\n }\n\n function createObserver(el, options, debouncedCreateViewer, rebuild) {\n destroyObserver(el);\n var MutationObserver = global.MutationObserver || global.WebKitMutationObserver || global.MozMutationObserver;\n if (!MutationObserver) {\n log('Observer not supported');\n return;\n }\n var observer = new MutationObserver(function (mutations) {\n mutations.forEach(function (mutation) {\n log('Viewer mutation:' + mutation.type);\n debouncedCreateViewer(el, options, rebuild, true);\n });\n });\n var config = { attributes: true, childList: true, characterData: true, subtree: true };\n observer.observe(el, config);\n el.__viewerMutationObserver = observer;\n log('Observer created');\n }\n\n function createWatcher(el, _ref2, vnode, debouncedCreateViewer) {\n var expression = _ref2.expression;\n\n var simplePathRE = /^[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['[^']*?']|\\[\"[^\"]*?\"]|\\[\\d+]|\\[[A-Za-z_$][\\w$]*])*$/;\n if (!expression || !simplePathRE.test(expression)) {\n log('Only simple dot-delimited paths can create watcher');\n return;\n }\n el.__viewerUnwatch = vnode.context.$watch(expression, function (newVal, oldVal) {\n log('Change detected by watcher: ', expression);\n debouncedCreateViewer(el, newVal, true);\n }, {\n deep: true\n });\n log('Watcher created, expression: ', expression);\n }\n\n function destroyViewer(el) {\n if (!el['$' + name]) {\n return;\n }\n el['$' + name].destroy();\n delete el['$' + name];\n log('Viewer destroyed');\n }\n\n function destroyObserver(el) {\n if (!el.__viewerMutationObserver) {\n return;\n }\n el.__viewerMutationObserver.disconnect();\n delete el.__viewerMutationObserver;\n log('Observer destroyed');\n }\n\n function destroyWatcher(el) {\n if (!el.__viewerUnwatch) {\n return;\n }\n el.__viewerUnwatch();\n delete el.__viewerUnwatch;\n log('Watcher destroyed');\n }\n\n function log() {\n var _console;\n\n debug && (_console = console).log.apply(_console, arguments);\n }\n\n var directive = {\n bind: function bind(el, binding, vnode) {\n log('Viewer bind');\n var debouncedCreateViewer = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1_throttle_debounce__[\"debounce\"])(50, createViewer);\n debouncedCreateViewer(el, binding.value);\n\n createWatcher(el, binding, vnode, debouncedCreateViewer);\n\n if (!binding.modifiers.static) {\n createObserver(el, binding.value, debouncedCreateViewer, binding.modifiers.rebuild);\n }\n },\n unbind: function unbind(el, binding) {\n log('Viewer unbind');\n\n destroyObserver(el);\n\n destroyWatcher(el);\n\n destroyViewer(el);\n }\n };\n\n return directive;\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (directive);\n/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(9)))\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Component = __webpack_require__(10)(\n /* script */\n __webpack_require__(8),\n /* template */\n __webpack_require__(11),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\nComponent.options.__file = \"/Volumes/public/Workspace/web/v-viewer/src/component.vue\"\nif (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== \"default\" && key !== \"__esModule\"})) {console.error(\"named exports are not supported in *.vue files.\")}\nif (Component.options.functional) {console.error(\"[vue-loader] component.vue: functional components are not supported with templates, they should use render functions.\")}\n\n/* hot reload */\nif (false) {}\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_viewerjs__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_viewerjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_viewerjs__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__component_vue__ = __webpack_require__(5);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__component_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__component_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__directive__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__api__ = __webpack_require__(3);\n/* harmony reexport (default from non-hamory) */ __webpack_require__.d(__webpack_exports__, \"component\", function() { return __WEBPACK_IMPORTED_MODULE_2__component_vue___default.a; });\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"directive\", function() { return __WEBPACK_IMPORTED_MODULE_3__directive__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"api\", function() { return __WEBPACK_IMPORTED_MODULE_4__api__[\"a\"]; });\n/* harmony reexport (default from non-hamory) */ __webpack_require__.d(__webpack_exports__, \"Viewer\", function() { return __WEBPACK_IMPORTED_MODULE_1_viewerjs___default.a; });\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n install: function install(Vue) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$name = _ref.name,\n name = _ref$name === undefined ? 'viewer' : _ref$name,\n _ref$debug = _ref.debug,\n debug = _ref$debug === undefined ? false : _ref$debug,\n defaultOptions = _ref.defaultOptions;\n\n __WEBPACK_IMPORTED_MODULE_1_viewerjs___default.a.setDefaults(defaultOptions);\n\n Vue.component(name, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* extend */])(__WEBPACK_IMPORTED_MODULE_2__component_vue___default.a, { name: name }));\n Vue.directive(name, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__directive__[\"a\" /* default */])({ name: name, debug: debug }));\n Vue.prototype['$' + name + 'Api'] = __WEBPACK_IMPORTED_MODULE_4__api__[\"a\" /* default */];\n },\n setDefaults: function setDefaults(defaultOptions) {\n __WEBPACK_IMPORTED_MODULE_1_viewerjs___default.a.setDefaults(defaultOptions);\n }\n});\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n(function (global, factory) {\n\t( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? factory(exports) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : (undefined);\n})(this, function (exports) {\n\t'use strict';\n\n\tfunction throttle(delay, noTrailing, callback, debounceMode) {\n\t\tvar timeoutID;\n\t\tvar cancelled = false;\n\n\t\tvar lastExec = 0;\n\n\t\tfunction clearExistingTimeout() {\n\t\t\tif (timeoutID) {\n\t\t\t\tclearTimeout(timeoutID);\n\t\t\t}\n\t\t}\n\n\t\tfunction cancel() {\n\t\t\tclearExistingTimeout();\n\t\t\tcancelled = true;\n\t\t}\n\n\t\tif (typeof noTrailing !== 'boolean') {\n\t\t\tdebounceMode = callback;\n\t\t\tcallback = noTrailing;\n\t\t\tnoTrailing = undefined;\n\t\t}\n\n\n\t\tfunction wrapper() {\n\t\t\tfor (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n\t\t\t\targuments_[_key] = arguments[_key];\n\t\t\t}\n\n\t\t\tvar self = this;\n\t\t\tvar elapsed = Date.now() - lastExec;\n\n\t\t\tif (cancelled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfunction exec() {\n\t\t\t\tlastExec = Date.now();\n\t\t\t\tcallback.apply(self, arguments_);\n\t\t\t}\n\n\n\t\t\tfunction clear() {\n\t\t\t\ttimeoutID = undefined;\n\t\t\t}\n\n\t\t\tif (debounceMode && !timeoutID) {\n\t\t\t\texec();\n\t\t\t}\n\n\t\t\tclearExistingTimeout();\n\n\t\t\tif (debounceMode === undefined && elapsed > delay) {\n\t\t\t\texec();\n\t\t\t} else if (noTrailing !== true) {\n\t\t\t\ttimeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n\t\t\t}\n\t\t}\n\n\t\twrapper.cancel = cancel;\n\n\t\treturn wrapper;\n\t}\n\n\tfunction debounce(delay, atBegin, callback) {\n\t\treturn callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n\t}\n\n\texports.debounce = debounce;\n\texports.throttle = throttle;\n\n\tObject.defineProperty(exports, '__esModule', { value: true });\n});\n\n/***/ }),\n/* 8 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_viewerjs__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_viewerjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_viewerjs__);\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n images: {\n type: Array\n },\n rebuild: {\n type: Boolean,\n default: false\n },\n trigger: {},\n options: {\n type: Object\n }\n },\n\n data: function data() {\n return {};\n },\n\n\n computed: {},\n\n methods: {\n onChange: function onChange() {\n if (this.rebuild) {\n this.rebuildViewer();\n } else {\n this.updateViewer();\n }\n },\n rebuildViewer: function rebuildViewer() {\n this.destroyViewer();\n this.createViewer();\n },\n updateViewer: function updateViewer() {\n if (this.$viewer) {\n this.$viewer.update();\n this.$emit('inited', this.$viewer);\n } else {\n this.createViewer();\n }\n },\n destroyViewer: function destroyViewer() {\n this.$viewer && this.$viewer.destroy();\n },\n createViewer: function createViewer() {\n this.$viewer = new __WEBPACK_IMPORTED_MODULE_0_viewerjs___default.a(this.$el, this.options);\n this.$emit('inited', this.$viewer);\n }\n },\n\n watch: {\n images: function images() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.onChange();\n });\n },\n\n trigger: {\n handler: function handler() {\n var _this2 = this;\n\n this.$nextTick(function () {\n _this2.onChange();\n });\n },\n\n deep: true\n },\n options: {\n handler: function handler() {\n var _this3 = this;\n\n this.$nextTick(function () {\n _this3.rebuildViewer();\n });\n },\n\n deep: true\n }\n },\n\n mounted: function mounted() {\n this.createViewer();\n },\n destroyed: function destroyed() {\n this.destroyViewer();\n }\n});\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar g;\n\ng = function () {\n\treturn this;\n}();\n\ntry {\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\tif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n}\n\nmodule.exports = g;\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports) {\n\n// this module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle\n\nmodule.exports = function normalizeComponent (\n rawScriptExports,\n compiledTemplate,\n scopeId,\n cssModules\n) {\n var esModule\n var scriptExports = rawScriptExports = rawScriptExports || {}\n\n // ES6 modules interop\n var type = typeof rawScriptExports.default\n if (type === 'object' || type === 'function') {\n esModule = rawScriptExports\n scriptExports = rawScriptExports.default\n }\n\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (compiledTemplate) {\n options.render = compiledTemplate.render\n options.staticRenderFns = compiledTemplate.staticRenderFns\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = scopeId\n }\n\n // inject cssModules\n if (cssModules) {\n var computed = Object.create(options.computed || null)\n Object.keys(cssModules).forEach(function (key) {\n var module = cssModules[key]\n computed[key] = function () { return module }\n })\n options.computed = computed\n }\n\n return {\n esModule: esModule,\n exports: scriptExports,\n options: options\n }\n}\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_vm._t(\"default\", null, {\n \"images\": _vm.images,\n \"options\": _vm.options\n })], 2)\n},staticRenderFns: []}\nmodule.exports.render._withStripped = true\nif (false) {}\n\n/***/ })\n/******/ ]);\n});\n\n//# sourceURL=webpack:///./node_modules/v-viewer/dist/v-viewer.js?"); - -/***/ }), - -/***/ "./node_modules/viewerjs/dist/viewer.css": -/*!***********************************************!*\ - !*** ./node_modules/viewerjs/dist/viewer.css ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// style-loader: Adds some css to the DOM by adding a - - BlazeB2 图床 - - - - -

404

There's nothing here.
Take me home
- - - diff --git a/docs/docs/.vuepress/dist/assets/404.08cdf94a.js b/docs/docs/.vuepress/dist/assets/404.08cdf94a.js deleted file mode 100644 index b41316f..0000000 --- a/docs/docs/.vuepress/dist/assets/404.08cdf94a.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d,f as i,u as f,g as p,r as v,o as k,c as L,b as o,t as c,d as g,w as x,h as l,e as B}from"./app.b9af7f8c.js";const N={class:"theme-container"},T={class:"theme-default-content"},b=o("h1",null,"404",-1),C=i({__name:"404",setup(M){var a,s,n;const r=f(),e=p(),t=(a=e.value.notFound)!=null?a:["Not Found"],u=()=>t[Math.floor(Math.random()*t.length)],_=(s=e.value.home)!=null?s:r.value,m=(n=e.value.backToHome)!=null?n:"Back to home";return(R,V)=>{const h=v("RouterLink");return k(),L("div",N,[o("div",T,[b,o("blockquote",null,c(u()),1),g(h,{to:l(_)},{default:x(()=>[B(c(l(m)),1)]),_:1},8,["to"])])])}}});var D=d(C,[["__file","404.vue"]]);export{D as default}; diff --git a/docs/docs/.vuepress/dist/assets/404.html.265028f6.js b/docs/docs/.vuepress/dist/assets/404.html.265028f6.js deleted file mode 100644 index 839944b..0000000 --- a/docs/docs/.vuepress/dist/assets/404.html.265028f6.js +++ /dev/null @@ -1 +0,0 @@ -const t=JSON.parse('{"key":"v-3706649a","path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"404"},"excerpt":"","headers":[],"git":{},"filePathRelative":null}');export{t as data}; diff --git a/docs/docs/.vuepress/dist/assets/404.html.38d7d5c2.js b/docs/docs/.vuepress/dist/assets/404.html.38d7d5c2.js deleted file mode 100644 index e30326e..0000000 --- a/docs/docs/.vuepress/dist/assets/404.html.38d7d5c2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as _,c}from"./app.b9af7f8c.js";const r={};function t(o,a){return _(),c("div")}var s=e(r,[["render",t],["__file","404.html.vue"]]);export{s as default}; diff --git a/docs/docs/.vuepress/dist/assets/Layout.5b992c4b.js b/docs/docs/.vuepress/dist/assets/Layout.5b992c4b.js deleted file mode 100644 index 010525c..0000000 --- a/docs/docs/.vuepress/dist/assets/Layout.5b992c4b.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as C,r as D,o as a,c as d,d as y,f as S,i as A,j as m,k as he,h as t,F as H,l as E,m as T,b as g,t as N,n as z,p as X,q as $,w as x,s as ve,v as k,e as J,x as Y,y as xe,z as Ne,A as Be,B as Z,C as Q,D as V,E as pe,G as me,H as R,u as fe,g as I,T as ge,I as O,J as be,K,L as q,M as Ie,N as He,O as ee,P as ke,Q as $e,a as Me,R as te,S as Pe,U as G,V as ne,W as De,X as Ae,Y as Re,Z as Ee,$ as U}from"./app.b9af7f8c.js";const Fe={},Oe={class:"theme-default-content"};function ze(i,n){const e=D("Content");return a(),d("div",Oe,[y(e)])}var We=C(Fe,[["render",ze],["__file","HomeContent.vue"]]);const je={key:0,class:"features"},Ue=S({__name:"HomeFeatures",setup(i){const n=A(),e=m(()=>he(n.value.features)?n.value.features:[]);return(l,o)=>t(e).length?(a(),d("div",je,[(a(!0),d(H,null,E(t(e),c=>(a(),d("div",{key:c.title,class:"feature"},[g("h2",null,N(c.title),1),g("p",null,N(c.details),1)]))),128))])):T("",!0)}});var Ge=C(Ue,[["__file","HomeFeatures.vue"]]);const Je=["innerHTML"],Ve=["textContent"],Ke=S({__name:"HomeFooter",setup(i){const n=A(),e=m(()=>n.value.footer),l=m(()=>n.value.footerHtml);return(o,c)=>t(e)?(a(),d(H,{key:0},[t(l)?(a(),d("div",{key:0,class:"footer",innerHTML:t(e)},null,8,Je)):(a(),d("div",{key:1,class:"footer",textContent:N(t(e))},null,8,Ve))],64)):T("",!0)}});var qe=C(Ke,[["__file","HomeFooter.vue"]]);const Ye=["href","rel","target","aria-label"],Xe=S({inheritAttrs:!1}),Ze=S({...Xe,__name:"AutoLink",props:{item:{type:Object,required:!0}},setup(i){const n=i,e=z(),l=Be(),{item:o}=X(n),c=m(()=>Y(o.value.link)),p=m(()=>xe(o.value.link)||Ne(o.value.link)),v=m(()=>{if(!p.value){if(o.value.target)return o.value.target;if(c.value)return"_blank"}}),r=m(()=>v.value==="_blank"),s=m(()=>!c.value&&!p.value&&!r.value),u=m(()=>{if(!p.value){if(o.value.rel)return o.value.rel;if(r.value)return"noopener noreferrer"}}),_=m(()=>o.value.ariaLabel||o.value.text),h=m(()=>{const w=Object.keys(l.value.locales);return w.length?!w.some(f=>f===o.value.link):o.value.link!=="/"}),b=m(()=>h.value?e.path.startsWith(o.value.link):!1),L=m(()=>s.value?o.value.activeMatch?new RegExp(o.value.activeMatch).test(e.path):b.value:!1);return(w,f)=>{const B=D("RouterLink"),M=D("AutoLinkExternalIcon");return t(s)?(a(),$(B,ve({key:0,class:{"router-link-active":t(L)},to:t(o).link,"aria-label":t(_)},w.$attrs),{default:x(()=>[k(w.$slots,"before"),J(" "+N(t(o).text)+" ",1),k(w.$slots,"after")]),_:3},16,["class","to","aria-label"])):(a(),d("a",ve({key:1,class:"external-link",href:t(o).link,rel:t(u),target:t(v),"aria-label":t(_)},w.$attrs),[k(w.$slots,"before"),J(" "+N(t(o).text)+" ",1),t(r)?(a(),$(M,{key:0})):T("",!0),k(w.$slots,"after")],16,Ye))}}});var P=C(Ze,[["__file","AutoLink.vue"]]);const Qe={class:"hero"},et={key:0,id:"main-title"},tt={key:1,class:"description"},nt={key:2,class:"actions"},at=S({__name:"HomeHero",setup(i){const n=A(),e=Z(),l=Q(),o=m(()=>l.value&&n.value.heroImageDark!==void 0?n.value.heroImageDark:n.value.heroImage),c=m(()=>n.value.heroText===null?null:n.value.heroText||e.value.title||"Hello"),p=m(()=>n.value.heroAlt||c.value||"hero"),v=m(()=>n.value.tagline===null?null:n.value.tagline||e.value.description||"Welcome to your VuePress site"),r=m(()=>he(n.value.actions)?n.value.actions.map(({text:u,link:_,type:h="primary"})=>({text:u,link:_,type:h})):[]),s=()=>{if(!o.value)return null;const u=V("img",{src:pe(o.value),alt:p.value});return n.value.heroImageDark===void 0?u:V(me,()=>u)};return(u,_)=>(a(),d("header",Qe,[y(s),t(c)?(a(),d("h1",et,N(t(c)),1)):T("",!0),t(v)?(a(),d("p",tt,N(t(v)),1)):T("",!0),t(r).length?(a(),d("p",nt,[(a(!0),d(H,null,E(t(r),h=>(a(),$(P,{key:h.text,class:R(["action-button",[h.type]]),item:h},null,8,["class","item"]))),128))])):T("",!0)]))}});var ot=C(at,[["__file","HomeHero.vue"]]);const rt={class:"home"},st=S({__name:"Home",setup(i){return(n,e)=>(a(),d("main",rt,[y(ot),y(Ge),y(We),y(qe)]))}});var lt=C(st,[["__file","Home.vue"]]);const it=S({__name:"NavbarBrand",setup(i){const n=fe(),e=Z(),l=I(),o=Q(),c=m(()=>l.value.home||n.value),p=m(()=>e.value.title),v=m(()=>o.value&&l.value.logoDark!==void 0?l.value.logoDark:l.value.logo),r=()=>{if(!v.value)return null;const s=V("img",{class:"logo",src:pe(v.value),alt:p.value});return l.value.logoDark===void 0?s:V(me,()=>s)};return(s,u)=>{const _=D("RouterLink");return a(),$(_,{to:t(c)},{default:x(()=>[y(r),t(p)?(a(),d("span",{key:0,class:R(["site-name",{"can-hide":t(v)}])},N(t(p)),3)):T("",!0)]),_:1},8,["to"])}}});var ut=C(it,[["__file","NavbarBrand.vue"]]);const ct=S({__name:"DropdownTransition",setup(i){const n=l=>{l.style.height=l.scrollHeight+"px"},e=l=>{l.style.height=""};return(l,o)=>(a(),$(ge,{name:"dropdown",onEnter:n,onAfterEnter:e,onBeforeLeave:n},{default:x(()=>[k(l.$slots,"default")]),_:3}))}});var ye=C(ct,[["__file","DropdownTransition.vue"]]);const dt=["aria-label"],vt={class:"title"},_t=g("span",{class:"arrow down"},null,-1),ht=["aria-label"],pt={class:"title"},mt={class:"navbar-dropdown"},ft={class:"navbar-dropdown-subtitle"},gt={key:1},bt={class:"navbar-dropdown-subitem-wrapper"},kt=S({__name:"NavbarDropdown",props:{item:{type:Object,required:!0}},setup(i){const n=i,{item:e}=X(n),l=m(()=>e.value.ariaLabel||e.value.text),o=O(!1),c=z();be(()=>c.path,()=>{o.value=!1});const p=r=>{r.detail===0?o.value=!o.value:o.value=!1},v=(r,s)=>s[s.length-1]===r;return(r,s)=>(a(),d("div",{class:R(["navbar-dropdown-wrapper",{open:o.value}])},[g("button",{class:"navbar-dropdown-title",type:"button","aria-label":t(l),onClick:p},[g("span",vt,N(t(e).text),1),_t],8,dt),g("button",{class:"navbar-dropdown-title-mobile",type:"button","aria-label":t(l),onClick:s[0]||(s[0]=u=>o.value=!o.value)},[g("span",pt,N(t(e).text),1),g("span",{class:R(["arrow",o.value?"down":"right"])},null,2)],8,ht),y(ye,null,{default:x(()=>[K(g("ul",mt,[(a(!0),d(H,null,E(t(e).children,u=>(a(),d("li",{key:u.text,class:"navbar-dropdown-item"},[u.children?(a(),d(H,{key:0},[g("h4",ft,[u.link?(a(),$(P,{key:0,item:u,onFocusout:_=>v(u,t(e).children)&&u.children.length===0&&(o.value=!1)},null,8,["item","onFocusout"])):(a(),d("span",gt,N(u.text),1))]),g("ul",bt,[(a(!0),d(H,null,E(u.children,_=>(a(),d("li",{key:_.link,class:"navbar-dropdown-subitem"},[y(P,{item:_,onFocusout:h=>v(_,u.children)&&v(u,t(e).children)&&(o.value=!1)},null,8,["item","onFocusout"])]))),128))])],64)):(a(),$(P,{key:1,item:u,onFocusout:_=>v(u,t(e).children)&&(o.value=!1)},null,8,["item","onFocusout"]))]))),128))],512),[[q,o.value]])]),_:1})],2))}});var $t=C(kt,[["__file","NavbarDropdown.vue"]]);const _e=i=>decodeURI(i).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),yt=(i,n)=>{if(n.hash===i)return!0;const e=_e(n.path),l=_e(i);return e===l},Le=(i,n)=>i.link&&yt(i.link,n)?!0:i.children?i.children.some(e=>Le(e,n)):!1,we=i=>!Y(i)||/github\.com/.test(i)?"GitHub":/bitbucket\.org/.test(i)?"Bitbucket":/gitlab\.com/.test(i)?"GitLab":/gitee\.com/.test(i)?"Gitee":null,Lt={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},wt=({docsRepo:i,editLinkPattern:n})=>{if(n)return n;const e=we(i);return e!==null?Lt[e]:null},Ct=({docsRepo:i,docsBranch:n,docsDir:e,filePathRelative:l,editLinkPattern:o})=>{if(!l)return null;const c=wt({docsRepo:i,editLinkPattern:o});return c?c.replace(/:repo/,Y(i)?i:`https://github.com/${i}`).replace(/:branch/,n).replace(/:path/,Ie(`${He(e)}/${l}`)):null},Tt={key:0,class:"navbar-items"},St=S({__name:"NavbarItems",setup(i){const n=()=>{const s=ee(),u=fe(),_=Z(),h=I();return m(()=>{var B,M;const b=Object.keys(_.value.locales);if(b.length<2)return[];const L=s.currentRoute.value.path,w=s.currentRoute.value.fullPath;return[{text:(B=h.value.selectLanguageText)!=null?B:"unknown language",ariaLabel:(M=h.value.selectLanguageAriaLabel)!=null?M:"unkown language",children:b.map(F=>{var re,se,le,ie,ue,ce;const W=(se=(re=_.value.locales)==null?void 0:re[F])!=null?se:{},ae=(ie=(le=h.value.locales)==null?void 0:le[F])!=null?ie:{},oe=`${W.lang}`,Te=(ue=ae.selectLanguageName)!=null?ue:oe;let j;if(oe===_.value.lang)j=w;else{const de=L.replace(u.value,F);s.getRoutes().some(Se=>Se.path===de)?j=de:j=(ce=ae.home)!=null?ce:F}return{text:Te,link:j}})}]})},e=()=>{const s=I(),u=m(()=>s.value.repo),_=m(()=>u.value?we(u.value):null),h=m(()=>u.value&&!Y(u.value)?`https://github.com/${u.value}`:u.value),b=m(()=>h.value?s.value.repoLabel?s.value.repoLabel:_.value===null?"Source":_.value:null);return m(()=>!h.value||!b.value?[]:[{text:b.value,link:h.value}])},l=s=>ke(s)?$e(s):s.children?{...s,children:s.children.map(l)}:s,c=(()=>{const s=I();return m(()=>(s.value.navbar||[]).map(l))})(),p=n(),v=e(),r=m(()=>[...c.value,...p.value,...v.value]);return(s,u)=>t(r).length?(a(),d("nav",Tt,[(a(!0),d(H,null,E(t(r),_=>(a(),d("div",{key:_.text,class:"navbar-item"},[_.children?(a(),$($t,{key:0,item:_},null,8,["item"])):(a(),$(P,{key:1,item:_},null,8,["item"]))]))),128))])):T("",!0)}});var Ce=C(St,[["__file","NavbarItems.vue"]]);const xt=["title"],Nt={class:"icon",focusable:"false",viewBox:"0 0 32 32"},Bt=Me('',9),It=[Bt],Ht={class:"icon",focusable:"false",viewBox:"0 0 32 32"},Mt=g("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1),Pt=[Mt],Dt=S({__name:"ToggleColorModeButton",setup(i){const n=I(),e=Q(),l=()=>{e.value=!e.value};return(o,c)=>(a(),d("button",{class:"toggle-color-mode-button",title:t(n).toggleColorMode,onClick:l},[K((a(),d("svg",Nt,It,512)),[[q,!t(e)]]),K((a(),d("svg",Ht,Pt,512)),[[q,t(e)]])],8,xt))}});var At=C(Dt,[["__file","ToggleColorModeButton.vue"]]);const Rt=["title"],Et=g("div",{class:"icon","aria-hidden":"true"},[g("span"),g("span"),g("span")],-1),Ft=[Et],Ot=S({__name:"ToggleSidebarButton",emits:["toggle"],setup(i){const n=I();return(e,l)=>(a(),d("div",{class:"toggle-sidebar-button",title:t(n).toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:l[0]||(l[0]=o=>e.$emit("toggle"))},Ft,8,Rt))}});var zt=C(Ot,[["__file","ToggleSidebarButton.vue"]]);const Wt=S({__name:"Navbar",emits:["toggle-sidebar"],setup(i){const n=I(),e=O(null),l=O(null),o=O(0),c=m(()=>o.value?{maxWidth:o.value+"px"}:{});te(()=>{const r=p(e.value,"paddingLeft")+p(e.value,"paddingRight"),s=()=>{var u;window.innerWidth<=719?o.value=0:o.value=e.value.offsetWidth-r-(((u=l.value)==null?void 0:u.offsetWidth)||0)};s(),window.addEventListener("resize",s,!1),window.addEventListener("orientationchange",s,!1)});function p(v,r){var _,h,b;const s=(b=(h=(_=v==null?void 0:v.ownerDocument)==null?void 0:_.defaultView)==null?void 0:h.getComputedStyle(v,null))==null?void 0:b[r],u=Number.parseInt(s,10);return Number.isNaN(u)?0:u}return(v,r)=>{const s=D("NavbarSearch");return a(),d("header",{ref_key:"navbar",ref:e,class:"navbar"},[y(zt,{onToggle:r[0]||(r[0]=u=>v.$emit("toggle-sidebar"))}),g("span",{ref_key:"navbarBrand",ref:l},[y(ut)],512),g("div",{class:"navbar-items-wrapper",style:Pe(t(c))},[k(v.$slots,"before"),y(Ce,{class:"can-hide"}),k(v.$slots,"after"),t(n).colorModeSwitch?(a(),$(At,{key:0})):T("",!0),y(s)],4)],512)}}});var jt=C(Wt,[["__file","Navbar.vue"]]);const Ut={class:"page-meta"},Gt={key:0,class:"meta-item edit-link"},Jt={key:1,class:"meta-item last-updated"},Vt={class:"meta-item-label"},Kt={class:"meta-item-info"},qt={key:2,class:"meta-item contributors"},Yt={class:"meta-item-label"},Xt={class:"meta-item-info"},Zt=["title"],Qt=J(", "),en=S({__name:"PageMeta",setup(i){const n=()=>{const r=I(),s=G(),u=A();return m(()=>{var M,F,W;if(!((F=(M=u.value.editLink)!=null?M:r.value.editLink)!=null?F:!0))return null;const{repo:h,docsRepo:b=h,docsBranch:L="main",docsDir:w="",editLinkText:f}=r.value;if(!b)return null;const B=Ct({docsRepo:b,docsBranch:L,docsDir:w,filePathRelative:s.value.filePathRelative,editLinkPattern:(W=u.value.editLinkPattern)!=null?W:r.value.editLinkPattern});return B?{text:f!=null?f:"Edit this page",link:B}:null})},e=()=>{const r=I(),s=G(),u=A();return m(()=>{var b,L,w,f;return!((L=(b=u.value.lastUpdated)!=null?b:r.value.lastUpdated)!=null?L:!0)||!((w=s.value.git)!=null&&w.updatedTime)?null:new Date((f=s.value.git)==null?void 0:f.updatedTime).toLocaleString()})},l=()=>{const r=I(),s=G(),u=A();return m(()=>{var h,b,L,w;return((b=(h=u.value.contributors)!=null?h:r.value.contributors)!=null?b:!0)&&(w=(L=s.value.git)==null?void 0:L.contributors)!=null?w:null})},o=I(),c=n(),p=e(),v=l();return(r,s)=>{const u=D("ClientOnly");return a(),d("footer",Ut,[t(c)?(a(),d("div",Gt,[y(P,{class:"meta-item-label",item:t(c)},null,8,["item"])])):T("",!0),t(p)?(a(),d("div",Jt,[g("span",Vt,N(t(o).lastUpdatedText)+": ",1),y(u,null,{default:x(()=>[g("span",Kt,N(t(p)),1)]),_:1})])):T("",!0),t(v)&&t(v).length?(a(),d("div",qt,[g("span",Yt,N(t(o).contributorsText)+": ",1),g("span",Xt,[(a(!0),d(H,null,E(t(v),(_,h)=>(a(),d(H,{key:h},[g("span",{class:"contributor",title:`email: ${_.email}`},N(_.name),9,Zt),h!==t(v).length-1?(a(),d(H,{key:0},[Qt],64)):T("",!0)],64))),128))])])):T("",!0)])}}});var tn=C(en,[["__file","PageMeta.vue"]]);const nn={key:0,class:"page-nav"},an={class:"inner"},on={key:0,class:"prev"},rn={key:1,class:"next"},sn=S({__name:"PageNav",setup(i){const n=r=>r===!1?null:ke(r)?$e(r):De(r)?r:!1,e=(r,s,u)=>{const _=r.findIndex(h=>h.link===s);if(_!==-1){const h=r[_+u];return h!=null&&h.link?h:null}for(const h of r)if(h.children){const b=e(h.children,s,u);if(b)return b}return null},l=A(),o=ne(),c=z(),p=m(()=>{const r=n(l.value.prev);return r!==!1?r:e(o.value,c.path,-1)}),v=m(()=>{const r=n(l.value.next);return r!==!1?r:e(o.value,c.path,1)});return(r,s)=>t(p)||t(v)?(a(),d("nav",nn,[g("p",an,[t(p)?(a(),d("span",on,[y(P,{item:t(p)},null,8,["item"])])):T("",!0),t(v)?(a(),d("span",rn,[y(P,{item:t(v)},null,8,["item"])])):T("",!0)])])):T("",!0)}});var ln=C(sn,[["__file","PageNav.vue"]]);const un={class:"page"},cn={class:"theme-default-content"},dn=S({__name:"Page",setup(i){return(n,e)=>{const l=D("Content");return a(),d("main",un,[k(n.$slots,"top"),g("div",cn,[k(n.$slots,"content-top"),y(l),k(n.$slots,"content-bottom")]),y(tn),y(ln),k(n.$slots,"bottom")])}}});var vn=C(dn,[["__file","Page.vue"]]);const _n={class:"sidebar-item-children"},hn=S({__name:"SidebarItem",props:{item:{type:Object,required:!0},depth:{type:Number,required:!1,default:0}},setup(i){const n=i,{item:e,depth:l}=X(n),o=z(),c=ee(),p=m(()=>Le(e.value,o)),v=m(()=>({"sidebar-item":!0,"sidebar-heading":l.value===0,active:p.value,collapsible:e.value.collapsible})),r=O(!0),s=O(void 0);return e.value.collapsible&&(r.value=p.value,s.value=()=>{r.value=!r.value},c.afterEach(()=>{r.value=p.value})),(u,_)=>{var b;const h=D("SidebarItem",!0);return a(),d("li",null,[t(e).link?(a(),$(P,{key:0,class:R(t(v)),item:t(e)},null,8,["class","item"])):(a(),d("p",{key:1,tabindex:"0",class:R(t(v)),onClick:_[0]||(_[0]=(...L)=>s.value&&s.value(...L)),onKeydown:_[1]||(_[1]=Ae((...L)=>s.value&&s.value(...L),["enter"]))},[J(N(t(e).text)+" ",1),t(e).collapsible?(a(),d("span",{key:0,class:R(["arrow",r.value?"down":"right"])},null,2)):T("",!0)],34)),(b=t(e).children)!=null&&b.length?(a(),$(ye,{key:2},{default:x(()=>[K(g("ul",_n,[(a(!0),d(H,null,E(t(e).children,L=>(a(),$(h,{key:`${t(l)}${L.text}${L.link}`,item:L,depth:t(l)+1},null,8,["item","depth"]))),128))],512),[[q,r.value]])]),_:1})):T("",!0)])}}});var pn=C(hn,[["__file","SidebarItem.vue"]]);const mn={key:0,class:"sidebar-items"},fn=S({__name:"SidebarItems",setup(i){const n=z(),e=ne();return te(()=>{be(()=>n.hash,l=>{const o=document.querySelector(".sidebar");if(!o)return;const c=document.querySelector(`.sidebar a.sidebar-item[href="${n.path}${l}"]`);if(!c)return;const{top:p,height:v}=o.getBoundingClientRect(),{top:r,height:s}=c.getBoundingClientRect();rp+v&&c.scrollIntoView(!1)})}),(l,o)=>t(e).length?(a(),d("ul",mn,[(a(!0),d(H,null,E(t(e),c=>(a(),$(pn,{key:c.link||c.text,item:c},null,8,["item"]))),128))])):T("",!0)}});var gn=C(fn,[["__file","SidebarItems.vue"]]);const bn={class:"sidebar"},kn=S({__name:"Sidebar",setup(i){return(n,e)=>(a(),d("aside",bn,[y(Ce),k(n.$slots,"top"),y(gn),k(n.$slots,"bottom")]))}});var $n=C(kn,[["__file","Sidebar.vue"]]);const yn=S({__name:"Layout",setup(i){const n=G(),e=A(),l=I(),o=m(()=>e.value.navbar!==!1&&l.value.navbar!==!1),c=ne(),p=O(!1),v=f=>{p.value=typeof f=="boolean"?f:!p.value},r={x:0,y:0},s=f=>{r.x=f.changedTouches[0].clientX,r.y=f.changedTouches[0].clientY},u=f=>{const B=f.changedTouches[0].clientX-r.x,M=f.changedTouches[0].clientY-r.y;Math.abs(B)>Math.abs(M)&&Math.abs(B)>40&&(B>0&&r.x<=80?v(!0):v(!1))},_=m(()=>[{"no-navbar":!o.value,"no-sidebar":!c.value.length,"sidebar-open":p.value},e.value.pageClass]);let h;te(()=>{h=ee().afterEach(()=>{v(!1)})}),Re(()=>{h()});const b=Ee(),L=b.resolve,w=b.pending;return(f,B)=>(a(),d("div",{class:R(["theme-container",t(_)]),onTouchstart:s,onTouchend:u},[k(f.$slots,"navbar",{},()=>[t(o)?(a(),$(jt,{key:0,onToggleSidebar:v},{before:x(()=>[k(f.$slots,"navbar-before")]),after:x(()=>[k(f.$slots,"navbar-after")]),_:3})):T("",!0)]),g("div",{class:"sidebar-mask",onClick:B[0]||(B[0]=M=>v(!1))}),k(f.$slots,"sidebar",{},()=>[y($n,null,{top:x(()=>[k(f.$slots,"sidebar-top")]),bottom:x(()=>[k(f.$slots,"sidebar-bottom")]),_:3})]),k(f.$slots,"page",{},()=>[t(e).home?(a(),$(lt,{key:0})):(a(),$(ge,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:t(L),onBeforeLeave:t(w)},{default:x(()=>[(a(),$(vn,{key:t(n).path},{top:x(()=>[k(f.$slots,"page-top")]),"content-top":x(()=>[k(f.$slots,"page-content-top")]),"content-bottom":x(()=>[k(f.$slots,"page-content-bottom")]),bottom:x(()=>[k(f.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34))}});var Ln=C(yn,[["__file","Layout.vue"]]);const wn="twikoo-6gul6t4a61223d84",Cn={name:"Layout",components:{ParentLayout:Ln},mounted(){this.initTwikoo(),this.initJs()},methods:{initTwikoo(){try{twikoo.init({envId:wn,onCommentLoaded:this.initLightGallery})}catch{}},initLightGallery(){for(var i=document.getElementsByClassName("tk-content"),n=0;n0){for(var o=0;o[g("div",Tn,[Sn,(a(),$(U("script"),{defer:"",src:"https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.js",integrity:"sha384-g7c+Jr9ZivxKLnZTDUhnkOnsh30B4H0rpLUpJ4jAIKs4fnJI+sEnkvrMWph2EDg4",crossorigin:"anonymous"})),(a(),$(U("script"),{defer:"",src:"https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/contrib/auto-render.min.js",integrity:"sha384-mll67QQFJfxn0IYznZYonOWZ644AWYC+Pt2cHqMaRhXVrursRwvLnLaebdGIlYNa",crossorigin:"anonymous"})),xn,(a(),$(U("script"),{src:"https://cdn.staticfile.org/lightgallery/2.1.8/lightgallery.min.js"})),Nn,(a(),$(U("script"),{src:"https://cdn.staticfile.org/twikoo/1.5.11/twikoo.all.min.js",ref:"twikooJs"},null,512))])]),_:1})}var Hn=C(Cn,[["render",Bn],["__file","Layout.vue"]]);export{Hn as default}; diff --git a/docs/docs/.vuepress/dist/assets/app.b9af7f8c.js b/docs/docs/.vuepress/dist/assets/app.b9af7f8c.js deleted file mode 100644 index 2f4ee8f..0000000 --- a/docs/docs/.vuepress/dist/assets/app.b9af7f8c.js +++ /dev/null @@ -1,23 +0,0 @@ -const $a={},Lu="modulepreload",Ja={},Nu="/blazeB2/",se=function(t,r){return!r||r.length===0?t():Promise.all(r.map(n=>{if(n=`${Nu}${n}`,n in Ja)return;Ja[n]=!0;const o=n.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${a}`))return;const i=document.createElement("link");if(i.rel=o?"stylesheet":Lu,o||(i.as="script",i.crossOrigin=""),i.href=n,document.head.appendChild(i),o)return new Promise((c,s)=>{i.addEventListener("load",c),i.addEventListener("error",()=>s(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())},zu={"v-8daa1a0e":()=>se(()=>import("./index.html.85b965ee.js"),[]).then(({data:e})=>e),"v-2d0a870d":()=>se(()=>import("./index.html.842d0928.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>se(()=>import("./index.html.40aab88a.js"),[]).then(({data:e})=>e),"v-552348d7":()=>se(()=>import("./config.html.6a8b9b97.js"),[]).then(({data:e})=>e),"v-0cd3f8c9":()=>se(()=>import("./contribution.html.e97e6201.js"),[]).then(({data:e})=>e),"v-53161a52":()=>se(()=>import("./deploy.html.f05861e5.js"),[]).then(({data:e})=>e),"v-e6412400":()=>se(()=>import("./index.html.85a4aaa9.js"),[]).then(({data:e})=>e),"v-3e9371aa":()=>se(()=>import("./page.html.9e4f99f1.js"),[]).then(({data:e})=>e),"v-361c421a":()=>se(()=>import("./summary.html.9a593653.js"),[]).then(({data:e})=>e),"v-f928d7c8":()=>se(()=>import("./config.html.48a2114c.js"),[]).then(({data:e})=>e),"v-1a85fc4e":()=>se(()=>import("./contribution.html.8876db93.js"),[]).then(({data:e})=>e),"v-fd4334d2":()=>se(()=>import("./deploy.html.39d6d3b3.js"),[]).then(({data:e})=>e),"v-47357bdb":()=>se(()=>import("./index.html.9865e31d.js"),[]).then(({data:e})=>e),"v-7a8fca2f":()=>se(()=>import("./page.html.02afc90b.js"),[]).then(({data:e})=>e),"v-7fb2fc4e":()=>se(()=>import("./summary.html.bc08fd43.js"),[]).then(({data:e})=>e),"v-3706649a":()=>se(()=>import("./404.html.265028f6.js"),[]).then(({data:e})=>e)};function da(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o.toLowerCase()]:o=>!!r[o]}const Hu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Mu=da(Hu);function cs(e){return!!e||e===""}function Wn(e){if(Z(e)){const t={};for(let r=0;r{if(r){const n=r.split(Bu);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Gr(e){let t="";if(be(e))t=e;else if(Z(e))for(let r=0;rbe(e)?e:e==null?"":Z(e)||ke(e)&&(e.toString===ds||!oe(e.toString))?JSON.stringify(e,ss,2):String(e),ss=(e,t)=>t&&t.__v_isRef?ss(e,t.value):ar(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:ls(t)?{[`Set(${t.size})`]:[...t.values()]}:ke(t)&&!Z(t)&&!fs(t)?String(t):t,ve={},or=[],tt=()=>{},$u=()=>!1,Vu=/^on[^a-z]/,Zr=e=>Vu.test(e),fa=e=>e.startsWith("onUpdate:"),Te=Object.assign,pa=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Ku=Object.prototype.hasOwnProperty,le=(e,t)=>Ku.call(e,t),Z=Array.isArray,ar=e=>Jn(e)==="[object Map]",ls=e=>Jn(e)==="[object Set]",oe=e=>typeof e=="function",be=e=>typeof e=="string",ha=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",us=e=>ke(e)&&oe(e.then)&&oe(e.catch),ds=Object.prototype.toString,Jn=e=>ds.call(e),Wu=e=>Jn(e).slice(8,-1),fs=e=>Jn(e)==="[object Object]",ma=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ir=da(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qn=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ju=/-(\w)/g,ct=Qn(e=>e.replace(Ju,(t,r)=>r?r.toUpperCase():"")),Qu=/\B([A-Z])/g,Kt=Qn(e=>e.replace(Qu,"-$1").toLowerCase()),Yn=Qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),lo=Qn(e=>e?`on${Yn(e)}`:""),Fr=(e,t)=>!Object.is(e,t),uo=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},ps=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Qa;const Yu=()=>Qa||(Qa=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ue;class Gu{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ue&&(this.parent=Ue,this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}run(t){if(this.active){const r=Ue;try{return Ue=this,t()}finally{Ue=r}}}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this.active){let r,n;for(r=0,n=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},hs=e=>(e.w&Pt)>0,ms=e=>(e.n&Pt)>0,td=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(l==="length"||l>=n)&&c.push(s)});else switch(r!==void 0&&c.push(i.get(r)),t){case"add":Z(e)?ma(r)&&c.push(i.get("length")):(c.push(i.get(qt)),ar(e)&&c.push(i.get(Ro)));break;case"delete":Z(e)||(c.push(i.get(qt)),ar(e)&&c.push(i.get(Ro)));break;case"set":ar(e)&&c.push(i.get(qt));break}if(c.length===1)c[0]&&Lo(c[0]);else{const s=[];for(const l of c)l&&s.push(...l);Lo(ga(s))}}function Lo(e,t){const r=Z(e)?e:[...e];for(const n of r)n.computed&&Ga(n);for(const n of r)n.computed||Ga(n)}function Ga(e,t){(e!==Xe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const nd=da("__proto__,__v_isRef,__isVue"),bs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ha)),od=ba(),ad=ba(!1,!0),id=ba(!0),Za=cd();function cd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=fe(this);for(let a=0,i=this.length;a{e[t]=function(...r){pr();const n=fe(this)[t].apply(this,r);return hr(),n}}),e}function ba(e=!1,t=!1){return function(n,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?Sd:Ss:t?xs:ws).get(n))return n;const i=Z(n);if(!e&&i&&le(Za,o))return Reflect.get(Za,o,a);const c=Reflect.get(n,o,a);return(ha(o)?bs.has(o):nd(o))||(e||Ke(n,"get",o),t)?c:je(c)?i&&ma(o)?c:c.value:ke(c)?e?wa(c):mr(c):c}}const sd=ys(),ld=ys(!0);function ys(e=!1){return function(r,n,o,a){let i=r[n];if(Br(i)&&je(i)&&!je(o))return!1;if(!e&&!Br(o)&&(No(o)||(o=fe(o),i=fe(i)),!Z(r)&&je(i)&&!je(o)))return i.value=o,!0;const c=Z(r)&&ma(n)?Number(n)e,Gn=e=>Reflect.getPrototypeOf(e);function on(e,t,r=!1,n=!1){e=e.__v_raw;const o=fe(e),a=fe(t);r||(t!==a&&Ke(o,"get",t),Ke(o,"get",a));const{has:i}=Gn(o),c=n?ya:r?Sa:qr;if(i.call(o,t))return c(e.get(t));if(i.call(o,a))return c(e.get(a));e!==o&&e.get(t)}function an(e,t=!1){const r=this.__v_raw,n=fe(r),o=fe(e);return t||(e!==o&&Ke(n,"has",e),Ke(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function cn(e,t=!1){return e=e.__v_raw,!t&&Ke(fe(e),"iterate",qt),Reflect.get(e,"size",e)}function Xa(e){e=fe(e);const t=fe(this);return Gn(t).has.call(t,e)||(t.add(e),pt(t,"add",e,e)),this}function ei(e,t){t=fe(t);const r=fe(this),{has:n,get:o}=Gn(r);let a=n.call(r,e);a||(e=fe(e),a=n.call(r,e));const i=o.call(r,e);return r.set(e,t),a?Fr(t,i)&&pt(r,"set",e,t):pt(r,"add",e,t),this}function ti(e){const t=fe(this),{has:r,get:n}=Gn(t);let o=r.call(t,e);o||(e=fe(e),o=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return o&&pt(t,"delete",e,void 0),a}function ri(){const e=fe(this),t=e.size!==0,r=e.clear();return t&&pt(e,"clear",void 0,void 0),r}function sn(e,t){return function(n,o){const a=this,i=a.__v_raw,c=fe(i),s=t?ya:e?Sa:qr;return!e&&Ke(c,"iterate",qt),i.forEach((l,u)=>n.call(o,s(l),s(u),a))}}function ln(e,t,r){return function(...n){const o=this.__v_raw,a=fe(o),i=ar(a),c=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,l=o[e](...n),u=r?ya:t?Sa:qr;return!t&&Ke(a,"iterate",s?Ro:qt),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:c?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function gt(e){return function(...t){return e==="delete"?!1:this}}function md(){const e={get(a){return on(this,a)},get size(){return cn(this)},has:an,add:Xa,set:ei,delete:ti,clear:ri,forEach:sn(!1,!1)},t={get(a){return on(this,a,!1,!0)},get size(){return cn(this)},has:an,add:Xa,set:ei,delete:ti,clear:ri,forEach:sn(!1,!0)},r={get(a){return on(this,a,!0)},get size(){return cn(this,!0)},has(a){return an.call(this,a,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:sn(!0,!1)},n={get(a){return on(this,a,!0,!0)},get size(){return cn(this,!0)},has(a){return an.call(this,a,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=ln(a,!1,!1),r[a]=ln(a,!0,!1),t[a]=ln(a,!1,!0),n[a]=ln(a,!0,!0)}),[e,r,t,n]}const[gd,vd,bd,yd]=md();function _a(e,t){const r=t?e?yd:bd:e?vd:gd;return(n,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(le(r,o)&&o in n?r:n,o,a)}const _d={get:_a(!1,!1)},wd={get:_a(!1,!0)},xd={get:_a(!0,!1)},ws=new WeakMap,xs=new WeakMap,Ss=new WeakMap,Sd=new WeakMap;function Od(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ed(e){return e.__v_skip||!Object.isExtensible(e)?0:Od(Wu(e))}function mr(e){return Br(e)?e:xa(e,!1,_s,_d,ws)}function kd(e){return xa(e,!1,hd,wd,xs)}function wa(e){return xa(e,!0,pd,xd,Ss)}function xa(e,t,r,n,o){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=Ed(e);if(i===0)return e;const c=new Proxy(e,i===2?n:r);return o.set(e,c),c}function ir(e){return Br(e)?ir(e.__v_raw):!!(e&&e.__v_isReactive)}function Br(e){return!!(e&&e.__v_isReadonly)}function No(e){return!!(e&&e.__v_isShallow)}function Os(e){return ir(e)||Br(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Es(e){return Cn(e,"__v_skip",!0),e}const qr=e=>ke(e)?mr(e):e,Sa=e=>ke(e)?wa(e):e;function ks(e){Et&&Xe&&(e=fe(e),vs(e.dep||(e.dep=ga())))}function Ps(e,t){e=fe(e),e.dep&&Lo(e.dep)}function je(e){return!!(e&&e.__v_isRef===!0)}function Ne(e){return Ds(e,!1)}function Cs(e){return Ds(e,!0)}function Ds(e,t){return je(e)?e:new Pd(e,t)}class Pd{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:fe(t),this._value=r?t:qr(t)}get value(){return ks(this),this._value}set value(t){t=this.__v_isShallow?t:fe(t),Fr(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:qr(t),Ps(this))}}function Ut(e){return je(e)?e.value:e}const Cd={get:(e,t,r)=>Ut(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return je(o)&&!je(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Is(e){return ir(e)?e:new Proxy(e,Cd)}function wb(e){const t=Z(e)?new Array(e.length):{};for(const r in e)t[r]=Id(e,r);return t}class Dd{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Id(e,t,r){const n=e[t];return je(n)?n:new Dd(e,t,r)}class Ad{constructor(t,r,n,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new va(t,()=>{this._dirty||(this._dirty=!0,Ps(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=fe(this);return ks(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function jd(e,t,r=!1){let n,o;const a=oe(e);return a?(n=e,o=tt):(n=e.get,o=e.set),new Ad(n,o,a||!o,r)}function kt(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){Xr(a,t,r)}return o}function Ye(e,t,r,n){if(oe(e)){const a=kt(e,t,r,n);return a&&us(a)&&a.catch(i=>{Xr(i,t,r)}),a}const o=[];for(let a=0;a>>1;Ur($e[n])lt&&$e.splice(t,1)}function Ts(e,t,r,n){Z(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?n+1:n))&&r.push(e),js()}function Nd(e){Ts(e,Pr,Ar,Zt)}function zd(e){Ts(e,wt,jr,Xt)}function Zn(e,t=null){if(Ar.length){for(Ho=t,Pr=[...new Set(Ar)],Ar.length=0,Zt=0;ZtUr(r)-Ur(n)),Xt=0;Xte.id==null?1/0:e.id;function Rs(e){zo=!1,Dn=!0,Zn(e),$e.sort((r,n)=>Ur(r)-Ur(n));const t=tt;try{for(lt=0;lt<$e.length;lt++){const r=$e[lt];r&&r.active!==!1&&kt(r,null,14)}}finally{lt=0,$e.length=0,In(),Dn=!1,Oa=null,($e.length||Ar.length||jr.length)&&Rs(e)}}function Hd(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||ve;let o=r;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in n){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=n[u]||ve;d&&(o=r.map(h=>h.trim())),f&&(o=r.map(ps))}let c,s=n[c=lo(t)]||n[c=lo(ct(t))];!s&&a&&(s=n[c=lo(Kt(t))]),s&&Ye(s,e,6,o);const l=n[c+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ye(l,e,6,o)}}function Ls(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const a=e.emits;let i={},c=!1;if(!oe(e)){const s=l=>{const u=Ls(l,t,!0);u&&(c=!0,Te(i,u))};!r&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!a&&!c?(n.set(e,null),null):(Z(a)?a.forEach(s=>i[s]=null):Te(i,a),n.set(e,i),i)}function Xn(e,t){return!e||!Zr(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,Kt(t))||le(e,t))}let Le=null,Ns=null;function An(e){const t=Le;return Le=e,Ns=e&&e.type.__scopeId||null,t}function Md(e,t=Le,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&pi(-1);const a=An(t),i=e(...o);return An(a),n._d&&pi(1),i};return n._n=!0,n._c=!0,n._d=!0,n}function fo(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:a,propsOptions:[i],slots:c,attrs:s,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:b,inheritAttrs:_}=e;let x,m;const y=An(e);try{if(r.shapeFlag&4){const S=o||n;x=Ze(u.call(S,S,f,a,h,d,b)),m=s}else{const S=t;x=Ze(S.length>1?S(a,{attrs:s,slots:c,emit:l}):S(a,null)),m=t.props?s:Fd(s)}}catch(S){Rr.length=0,Xr(S,e,1),x=Oe(Ve)}let E=x;if(m&&_!==!1){const S=Object.keys(m),{shapeFlag:P}=E;S.length&&P&7&&(i&&S.some(fa)&&(m=Bd(m,i)),E=Ct(E,m))}return r.dirs&&(E=Ct(E),E.dirs=E.dirs?E.dirs.concat(r.dirs):r.dirs),r.transition&&(E.transition=r.transition),x=E,An(y),x}const Fd=e=>{let t;for(const r in e)(r==="class"||r==="style"||Zr(r))&&((t||(t={}))[r]=e[r]);return t},Bd=(e,t)=>{const r={};for(const n in e)(!fa(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function qd(e,t,r){const{props:n,children:o,component:a}=e,{props:i,children:c,patchFlag:s}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&s>=0){if(s&1024)return!0;if(s&16)return n?ni(n,i,l):!!i;if(s&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function zs(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):zd(e)}function $t(e,t){if(De){let r=De.provides;const n=De.parent&&De.parent.provides;n===r&&(r=De.provides=Object.create(n)),r[e]=t}}function Ie(e,t,r=!1){const n=De||Le;if(n){const o=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return r&&oe(t)?t.call(n.proxy):t}}const oi={};function rt(e,t,r){return Hs(e,t,r)}function Hs(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=ve){const c=De;let s,l=!1,u=!1;if(je(e)?(s=()=>e.value,l=No(e)):ir(e)?(s=()=>e,n=!0):Z(e)?(u=!0,l=e.some(m=>ir(m)||No(m)),s=()=>e.map(m=>{if(je(m))return m.value;if(ir(m))return Bt(m);if(oe(m))return kt(m,c,2)})):oe(e)?t?s=()=>kt(e,c,2):s=()=>{if(!(c&&c.isUnmounted))return f&&f(),Ye(e,c,3,[d])}:s=tt,t&&n){const m=s;s=()=>Bt(m())}let f,d=m=>{f=x.onStop=()=>{kt(m,c,4)}};if(ur)return d=tt,t?r&&Ye(t,c,3,[s(),u?[]:void 0,d]):s(),tt;let h=u?[]:oi;const b=()=>{if(!!x.active)if(t){const m=x.run();(n||l||(u?m.some((y,E)=>Fr(y,h[E])):Fr(m,h)))&&(f&&f(),Ye(t,c,3,[m,h===oi?void 0:h,d]),h=m)}else x.run()};b.allowRecurse=!!t;let _;o==="sync"?_=b:o==="post"?_=()=>Me(b,c&&c.suspense):_=()=>Nd(b);const x=new va(s,_);return t?r?b():h=x.run():o==="post"?Me(x.run.bind(x),c&&c.suspense):x.run(),()=>{x.stop(),c&&c.scope&&pa(c.scope.effects,x)}}function Vd(e,t,r){const n=this.proxy,o=be(e)?e.includes(".")?Ms(n,e):()=>n[e]:e.bind(n,n);let a;oe(t)?a=t:(a=t.handler,r=t);const i=De;lr(this);const c=Hs(o,a.bind(n),r);return i?lr(i):Vt(),c}function Ms(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{Bt(r,t)});else if(fs(e))for(const r in e)Bt(e[r],t);return e}function Kd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return mt(()=>{e.isMounted=!0}),Pa(()=>{e.isUnmounting=!0}),e}const Je=[Function,Array],Wd={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Je,onEnter:Je,onAfterEnter:Je,onEnterCancelled:Je,onBeforeLeave:Je,onLeave:Je,onAfterLeave:Je,onLeaveCancelled:Je,onBeforeAppear:Je,onAppear:Je,onAfterAppear:Je,onAppearCancelled:Je},setup(e,{slots:t}){const r=ll(),n=Kd();let o;return()=>{const a=t.default&&qs(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const _ of a)if(_.type!==Ve){i=_;break}}const c=fe(e),{mode:s}=c;if(n.isLeaving)return po(i);const l=ai(i);if(!l)return po(i);const u=Mo(l,c,n,r);Fo(l,u);const f=r.subTree,d=f&&ai(f);let h=!1;const{getTransitionKey:b}=l.type;if(b){const _=b();o===void 0?o=_:_!==o&&(o=_,h=!0)}if(d&&d.type!==Ve&&(!Mt(l,d)||h)){const _=Mo(d,c,n,r);if(Fo(d,_),s==="out-in")return n.isLeaving=!0,_.afterLeave=()=>{n.isLeaving=!1,r.update()},po(i);s==="in-out"&&l.type!==Ve&&(_.delayLeave=(x,m,y)=>{const E=Bs(n,d);E[String(d.key)]=d,x._leaveCb=()=>{m(),x._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},Fs=Wd;function Bs(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Mo(e,t,r,n){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:c,onEnter:s,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:b,onBeforeAppear:_,onAppear:x,onAfterAppear:m,onAppearCancelled:y}=t,E=String(e.key),S=Bs(r,e),P=(w,q)=>{w&&Ye(w,n,9,q)},N=(w,q)=>{const F=q[1];P(w,q),Z(w)?w.every($=>$.length<=1)&&F():w.length<=1&&F()},R={mode:a,persisted:i,beforeEnter(w){let q=c;if(!r.isMounted)if(o)q=_||c;else return;w._leaveCb&&w._leaveCb(!0);const F=S[E];F&&Mt(e,F)&&F.el._leaveCb&&F.el._leaveCb(),P(q,[w])},enter(w){let q=s,F=l,$=u;if(!r.isMounted)if(o)q=x||s,F=m||l,$=y||u;else return;let k=!1;const L=w._enterCb=z=>{k||(k=!0,z?P($,[w]):P(F,[w]),R.delayedLeave&&R.delayedLeave(),w._enterCb=void 0)};q?N(q,[w,L]):L()},leave(w,q){const F=String(e.key);if(w._enterCb&&w._enterCb(!0),r.isUnmounting)return q();P(f,[w]);let $=!1;const k=w._leaveCb=L=>{$||($=!0,q(),L?P(b,[w]):P(h,[w]),w._leaveCb=void 0,S[F]===e&&delete S[F])};S[F]=e,d?N(d,[w,k]):k()},clone(w){return Mo(w,t,r,n)}};return R}function po(e){if(en(e))return e=Ct(e),e.children=null,e}function ai(e){return en(e)?e.children?e.children[0]:void 0:e}function Fo(e,t){e.shapeFlag&6&&e.component?Fo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qs(e,t=!1,r){let n=[],o=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader;function Ce(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,timeout:a,suspensible:i=!0,onError:c}=e;let s=null,l,u=0;const f=()=>(u++,s=null,d()),d=()=>{let h;return s||(h=s=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((_,x)=>{c(b,()=>_(f()),()=>x(b),u+1)});throw b}).then(b=>h!==s&&s?s:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),l=b,b)))};return We({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=De;if(l)return()=>ho(l,h);const b=y=>{s=null,Xr(y,h,13,!n)};if(i&&h.suspense||ur)return d().then(y=>()=>ho(y,h)).catch(y=>(b(y),()=>n?Oe(n,{error:y}):null));const _=Ne(!1),x=Ne(),m=Ne(!!o);return o&&setTimeout(()=>{m.value=!1},o),a!=null&&setTimeout(()=>{if(!_.value&&!x.value){const y=new Error(`Async component timed out after ${a}ms.`);b(y),x.value=y}},a),d().then(()=>{_.value=!0,h.parent&&en(h.parent.vnode)&&ka(h.parent.update)}).catch(y=>{b(y),x.value=y}),()=>{if(_.value&&l)return ho(l,h);if(x.value&&n)return Oe(n,{error:x.value});if(r&&!m.value)return Oe(r)}}})}function ho(e,{vnode:{ref:t,props:r,children:n,shapeFlag:o},parent:a}){const i=Oe(e,r,n);return i.ref=t,i}const en=e=>e.type.__isKeepAlive;function Jd(e,t){Us(e,"a",t)}function Qd(e,t){Us(e,"da",t)}function Us(e,t,r=De){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(eo(t,n,r),r){let o=r.parent;for(;o&&o.parent;)en(o.parent.vnode)&&Yd(n,t,r,o),o=o.parent}}function Yd(e,t,r,n){const o=eo(t,e,n,!0);Ca(()=>{pa(n[t],o)},r)}function eo(e,t,r=De,n=!1){if(r){const o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;pr(),lr(r);const c=Ye(t,r,e,i);return Vt(),hr(),c});return n?o.unshift(a):o.push(a),a}}const ht=e=>(t,r=De)=>(!ur||e==="sp")&&eo(e,t,r),$s=ht("bm"),mt=ht("m"),Gd=ht("bu"),Zd=ht("u"),Pa=ht("bum"),Ca=ht("um"),Xd=ht("sp"),ef=ht("rtg"),tf=ht("rtc");function rf(e,t=De){eo("ec",e,t)}function xb(e,t){const r=Le;if(r===null)return e;const n=no(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;at(i,c,void 0,a&&a[c]));else{const i=Object.keys(e);o=new Array(i.length);for(let c=0,s=i.length;cLn(t)?!(t.type===Ve||t.type===Fe&&!Js(t.children)):!0)?e:null}const Bo=e=>e?ul(e)?no(e)||e.proxy:Bo(e.parent):null,jn=Te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Bo(e.parent),$root:e=>Bo(e.root),$emit:e=>e.emit,$options:e=>Ys(e),$forceUpdate:e=>e.f||(e.f=()=>ka(e.update)),$nextTick:e=>e.n||(e.n=Ea.bind(e.proxy)),$watch:e=>Vd.bind(e)}),of={get({_:e},t){const{ctx:r,setupState:n,data:o,props:a,accessCache:i,type:c,appContext:s}=e;let l;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return a[t]}else{if(n!==ve&&le(n,t))return i[t]=1,n[t];if(o!==ve&&le(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&le(l,t))return i[t]=3,a[t];if(r!==ve&&le(r,t))return i[t]=4,r[t];qo&&(i[t]=0)}}const u=jn[t];let f,d;if(u)return t==="$attrs"&&Ke(e,"get",t),u(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(r!==ve&&le(r,t))return i[t]=4,r[t];if(d=s.config.globalProperties,le(d,t))return d[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:a}=e;return o!==ve&&le(o,t)?(o[t]=r,!0):n!==ve&&le(n,t)?(n[t]=r,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:a}},i){let c;return!!r[i]||e!==ve&&le(e,i)||t!==ve&&le(t,i)||(c=a[0])&&le(c,i)||le(n,i)||le(jn,i)||le(o.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:le(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};let qo=!0;function af(e){const t=Ys(e),r=e.proxy,n=e.ctx;qo=!1,t.beforeCreate&&ci(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:c,provide:s,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:b,activated:_,deactivated:x,beforeDestroy:m,beforeUnmount:y,destroyed:E,unmounted:S,render:P,renderTracked:N,renderTriggered:R,errorCaptured:w,serverPrefetch:q,expose:F,inheritAttrs:$,components:k,directives:L,filters:z}=t;if(l&&cf(l,n,null,e.appContext.config.unwrapInjectedRef),i)for(const X in i){const re=i[X];oe(re)&&(n[X]=re.bind(r))}if(o){const X=o.call(r,r);ke(X)&&(e.data=mr(X))}if(qo=!0,a)for(const X in a){const re=a[X],xe=oe(re)?re.bind(r,r):oe(re.get)?re.get.bind(r,r):tt,Ee=!oe(re)&&oe(re.set)?re.set.bind(r):tt,Pe=we({get:xe,set:Ee});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>Pe.value,set:Se=>Pe.value=Se})}if(c)for(const X in c)Qs(c[X],n,r,X);if(s){const X=oe(s)?s.call(r):s;Reflect.ownKeys(X).forEach(re=>{$t(re,X[re])})}u&&ci(u,e,"c");function U(X,re){Z(re)?re.forEach(xe=>X(xe.bind(r))):re&&X(re.bind(r))}if(U($s,f),U(mt,d),U(Gd,h),U(Zd,b),U(Jd,_),U(Qd,x),U(rf,w),U(tf,N),U(ef,R),U(Pa,y),U(Ca,S),U(Xd,q),Z(F))if(F.length){const X=e.exposed||(e.exposed={});F.forEach(re=>{Object.defineProperty(X,re,{get:()=>r[re],set:xe=>r[re]=xe})})}else e.exposed||(e.exposed={});P&&e.render===tt&&(e.render=P),$!=null&&(e.inheritAttrs=$),k&&(e.components=k),L&&(e.directives=L)}function cf(e,t,r=tt,n=!1){Z(e)&&(e=Uo(e));for(const o in e){const a=e[o];let i;ke(a)?"default"in a?i=Ie(a.from||o,a.default,!0):i=Ie(a.from||o):i=Ie(a),je(i)&&n?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):t[o]=i}}function ci(e,t,r){Ye(Z(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Qs(e,t,r,n){const o=n.includes(".")?Ms(r,n):()=>r[n];if(be(e)){const a=t[e];oe(a)&&rt(o,a)}else if(oe(e))rt(o,e.bind(r));else if(ke(e))if(Z(e))e.forEach(a=>Qs(a,t,r,n));else{const a=oe(e.handler)?e.handler.bind(r):t[e.handler];oe(a)&&rt(o,a,e)}}function Ys(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,c=a.get(t);let s;return c?s=c:!o.length&&!r&&!n?s=t:(s={},o.length&&o.forEach(l=>Tn(s,l,i,!0)),Tn(s,t,i)),a.set(t,s),s}function Tn(e,t,r,n=!1){const{mixins:o,extends:a}=t;a&&Tn(e,a,r,!0),o&&o.forEach(i=>Tn(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const c=sf[i]||r&&r[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const sf={data:si,props:Nt,emits:Nt,methods:Nt,computed:Nt,beforeCreate:ze,created:ze,beforeMount:ze,mounted:ze,beforeUpdate:ze,updated:ze,beforeDestroy:ze,beforeUnmount:ze,destroyed:ze,unmounted:ze,activated:ze,deactivated:ze,errorCaptured:ze,serverPrefetch:ze,components:Nt,directives:Nt,watch:uf,provide:si,inject:lf};function si(e,t){return t?e?function(){return Te(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function lf(e,t){return Nt(Uo(e),Uo(t))}function Uo(e){if(Z(e)){const t={};for(let r=0;r0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{s=!0;const[d,h]=Zs(f,t,!0);Te(i,d),h&&c.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!s)return n.set(e,or),or;if(Z(a))for(let u=0;u-1,h[1]=_<0||b<_,(b>-1||le(h,"default"))&&c.push(f)}}}const l=[i,c];return n.set(e,l),l}function li(e){return e[0]!=="$"}function ui(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function di(e,t){return ui(e)===ui(t)}function fi(e,t){return Z(t)?t.findIndex(r=>di(r,e)):oe(t)&&di(t,e)?0:-1}const Xs=e=>e[0]==="_"||e==="$stable",Ia=e=>Z(e)?e.map(Ze):[Ze(e)],pf=(e,t,r)=>{if(t._n)return t;const n=Md((...o)=>Ia(t(...o)),r);return n._c=!1,n},el=(e,t,r)=>{const n=e._ctx;for(const o in e){if(Xs(o))continue;const a=e[o];if(oe(a))t[o]=pf(o,a,n);else if(a!=null){const i=Ia(a);t[o]=()=>i}}},tl=(e,t)=>{const r=Ia(t);e.slots.default=()=>r},hf=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=fe(t),Cn(t,"_",r)):el(t,e.slots={})}else e.slots={},t&&tl(e,t);Cn(e.slots,ro,1)},mf=(e,t,r)=>{const{vnode:n,slots:o}=e;let a=!0,i=ve;if(n.shapeFlag&32){const c=t._;c?r&&c===1?a=!1:(Te(o,t),!r&&c===1&&delete o._):(a=!t.$stable,el(t,o)),i=t}else t&&(tl(e,t),i={default:1});if(a)for(const c in o)!Xs(c)&&!(c in i)&&delete o[c]};function rl(){return{app:null,config:{isNativeTag:$u,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gf=0;function vf(e,t){return function(n,o=null){oe(n)||(n=Object.assign({},n)),o!=null&&!ke(o)&&(o=null);const a=rl(),i=new Set;let c=!1;const s=a.app={_uid:gf++,_component:n,_props:o,_container:null,_context:a,_instance:null,version:Nf,get config(){return a.config},set config(l){},use(l,...u){return i.has(l)||(l&&oe(l.install)?(i.add(l),l.install(s,...u)):oe(l)&&(i.add(l),l(s,...u))),s},mixin(l){return a.mixins.includes(l)||a.mixins.push(l),s},component(l,u){return u?(a.components[l]=u,s):a.components[l]},directive(l,u){return u?(a.directives[l]=u,s):a.directives[l]},mount(l,u,f){if(!c){const d=Oe(n,o);return d.appContext=a,u&&t?t(d,l):e(d,l,f),c=!0,s._container=l,l.__vue_app__=s,no(d.component)||d.component.proxy}},unmount(){c&&(e(null,s._container),delete s._container.__vue_app__)},provide(l,u){return a.provides[l]=u,s}};return s}}function Rn(e,t,r,n,o=!1){if(Z(e)){e.forEach((d,h)=>Rn(d,t&&(Z(t)?t[h]:t),r,n,o));return}if(cr(n)&&!o)return;const a=n.shapeFlag&4?no(n.component)||n.component.proxy:n.el,i=o?null:a,{i:c,r:s}=e,l=t&&t.r,u=c.refs===ve?c.refs={}:c.refs,f=c.setupState;if(l!=null&&l!==s&&(be(l)?(u[l]=null,le(f,l)&&(f[l]=null)):je(l)&&(l.value=null)),oe(s))kt(s,c,12,[i,u]);else{const d=be(s),h=je(s);if(d||h){const b=()=>{if(e.f){const _=d?u[s]:s.value;o?Z(_)&&pa(_,a):Z(_)?_.includes(a)||_.push(a):d?(u[s]=[a],le(f,s)&&(f[s]=u[s])):(s.value=[a],e.k&&(u[e.k]=s.value))}else d?(u[s]=i,le(f,s)&&(f[s]=i)):h&&(s.value=i,e.k&&(u[e.k]=i))};i?(b.id=-1,Me(b,r)):b()}}}let vt=!1;const un=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",dn=e=>e.nodeType===8;function bf(e){const{mt:t,p:r,o:{patchProp:n,createText:o,nextSibling:a,parentNode:i,remove:c,insert:s,createComment:l}}=e,u=(m,y)=>{if(!y.hasChildNodes()){r(null,m,y),In(),y._vnode=m;return}vt=!1,f(y.firstChild,m,null,null,null),In(),y._vnode=m,vt&&console.error("Hydration completed but contains mismatches.")},f=(m,y,E,S,P,N=!1)=>{const R=dn(m)&&m.data==="[",w=()=>_(m,y,E,S,P,R),{type:q,ref:F,shapeFlag:$,patchFlag:k}=y,L=m.nodeType;y.el=m,k===-2&&(N=!1,y.dynamicChildren=null);let z=null;switch(q){case $r:L!==3?y.children===""?(s(y.el=o(""),i(m),m),z=m):z=w():(m.data!==y.children&&(vt=!0,m.data=y.children),z=a(m));break;case Ve:L!==8||R?z=w():z=a(m);break;case Tr:if(L!==1&&L!==3)z=w();else{z=m;const ee=!y.children.length;for(let U=0;U{N=N||!!y.dynamicChildren;const{type:R,props:w,patchFlag:q,shapeFlag:F,dirs:$}=y,k=R==="input"&&$||R==="option";if(k||q!==-1){if($&&ot(y,null,E,"created"),w)if(k||!N||q&48)for(const z in w)(k&&z.endsWith("value")||Zr(z)&&!Ir(z))&&n(m,z,null,w[z],!1,void 0,E);else w.onClick&&n(m,"onClick",null,w.onClick,!1,void 0,E);let L;if((L=w&&w.onVnodeBeforeMount)&&Qe(L,E,y),$&&ot(y,null,E,"beforeMount"),((L=w&&w.onVnodeMounted)||$)&&zs(()=>{L&&Qe(L,E,y),$&&ot(y,null,E,"mounted")},S),F&16&&!(w&&(w.innerHTML||w.textContent))){let z=h(m.firstChild,y,m,E,S,P,N);for(;z;){vt=!0;const ee=z;z=z.nextSibling,c(ee)}}else F&8&&m.textContent!==y.children&&(vt=!0,m.textContent=y.children)}return m.nextSibling},h=(m,y,E,S,P,N,R)=>{R=R||!!y.dynamicChildren;const w=y.children,q=w.length;for(let F=0;F{const{slotScopeIds:R}=y;R&&(P=P?P.concat(R):R);const w=i(m),q=h(a(m),y,w,E,S,P,N);return q&&dn(q)&&q.data==="]"?a(y.anchor=q):(vt=!0,s(y.anchor=l("]"),w,q),q)},_=(m,y,E,S,P,N)=>{if(vt=!0,y.el=null,N){const q=x(m);for(;;){const F=a(m);if(F&&F!==q)c(F);else break}}const R=a(m),w=i(m);return c(m),r(null,y,w,R,E,S,un(w),P),R},x=m=>{let y=0;for(;m;)if(m=a(m),m&&dn(m)&&(m.data==="["&&y++,m.data==="]")){if(y===0)return a(m);y--}return m};return[u,f]}const Me=zs;function yf(e){return _f(e,bf)}function _f(e,t){const r=Yu();r.__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:i,createText:c,createComment:s,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=tt,cloneNode:b,insertStaticContent:_}=e,x=(p,g,O,C=null,I=null,A=null,M=!1,T=null,B=!!g.dynamicChildren)=>{if(p===g)return;p&&!Mt(p,g)&&(C=K(p),Ae(p,I,A,!0),p=null),g.patchFlag===-2&&(B=!1,g.dynamicChildren=null);const{type:j,ref:Q,shapeFlag:J}=g;switch(j){case $r:m(p,g,O,C);break;case Ve:y(p,g,O,C);break;case Tr:p==null&&E(g,O,C,M);break;case Fe:L(p,g,O,C,I,A,M,T,B);break;default:J&1?N(p,g,O,C,I,A,M,T,B):J&6?z(p,g,O,C,I,A,M,T,B):(J&64||J&128)&&j.process(p,g,O,C,I,A,M,T,B,pe)}Q!=null&&I&&Rn(Q,p&&p.ref,A,g||p,!g)},m=(p,g,O,C)=>{if(p==null)n(g.el=c(g.children),O,C);else{const I=g.el=p.el;g.children!==p.children&&l(I,g.children)}},y=(p,g,O,C)=>{p==null?n(g.el=s(g.children||""),O,C):g.el=p.el},E=(p,g,O,C)=>{[p.el,p.anchor]=_(p.children,g,O,C,p.el,p.anchor)},S=({el:p,anchor:g},O,C)=>{let I;for(;p&&p!==g;)I=d(p),n(p,O,C),p=I;n(g,O,C)},P=({el:p,anchor:g})=>{let O;for(;p&&p!==g;)O=d(p),o(p),p=O;o(g)},N=(p,g,O,C,I,A,M,T,B)=>{M=M||g.type==="svg",p==null?R(g,O,C,I,A,M,T,B):F(p,g,I,A,M,T,B)},R=(p,g,O,C,I,A,M,T)=>{let B,j;const{type:Q,props:J,shapeFlag:W,transition:G,patchFlag:ae,dirs:he}=p;if(p.el&&b!==void 0&&ae===-1)B=p.el=b(p.el);else{if(B=p.el=i(p.type,A,J&&J.is,J),W&8?u(B,p.children):W&16&&q(p.children,B,null,C,I,A&&Q!=="foreignObject",M,T),he&&ot(p,null,C,"created"),J){for(const ye in J)ye!=="value"&&!Ir(ye)&&a(B,ye,null,J[ye],A,p.children,C,I,H);"value"in J&&a(B,"value",null,J.value),(j=J.onVnodeBeforeMount)&&Qe(j,C,p)}w(B,p,p.scopeId,M,C)}he&&ot(p,null,C,"beforeMount");const me=(!I||I&&!I.pendingBranch)&&G&&!G.persisted;me&&G.beforeEnter(B),n(B,g,O),((j=J&&J.onVnodeMounted)||me||he)&&Me(()=>{j&&Qe(j,C,p),me&&G.enter(B),he&&ot(p,null,C,"mounted")},I)},w=(p,g,O,C,I)=>{if(O&&h(p,O),C)for(let A=0;A{for(let j=B;j{const T=g.el=p.el;let{patchFlag:B,dynamicChildren:j,dirs:Q}=g;B|=p.patchFlag&16;const J=p.props||ve,W=g.props||ve;let G;O&&At(O,!1),(G=W.onVnodeBeforeUpdate)&&Qe(G,O,g,p),Q&&ot(g,p,O,"beforeUpdate"),O&&At(O,!0);const ae=I&&g.type!=="foreignObject";if(j?$(p.dynamicChildren,j,T,O,C,ae,A):M||xe(p,g,T,null,O,C,ae,A,!1),B>0){if(B&16)k(T,g,J,W,O,C,I);else if(B&2&&J.class!==W.class&&a(T,"class",null,W.class,I),B&4&&a(T,"style",J.style,W.style,I),B&8){const he=g.dynamicProps;for(let me=0;me{G&&Qe(G,O,g,p),Q&&ot(g,p,O,"updated")},C)},$=(p,g,O,C,I,A,M)=>{for(let T=0;T{if(O!==C){for(const T in C){if(Ir(T))continue;const B=C[T],j=O[T];B!==j&&T!=="value"&&a(p,T,j,B,M,g.children,I,A,H)}if(O!==ve)for(const T in O)!Ir(T)&&!(T in C)&&a(p,T,O[T],null,M,g.children,I,A,H);"value"in C&&a(p,"value",O.value,C.value)}},L=(p,g,O,C,I,A,M,T,B)=>{const j=g.el=p?p.el:c(""),Q=g.anchor=p?p.anchor:c("");let{patchFlag:J,dynamicChildren:W,slotScopeIds:G}=g;G&&(T=T?T.concat(G):G),p==null?(n(j,O,C),n(Q,O,C),q(g.children,O,Q,I,A,M,T,B)):J>0&&J&64&&W&&p.dynamicChildren?($(p.dynamicChildren,W,O,I,A,M,T),(g.key!=null||I&&g===I.subTree)&&nl(p,g,!0)):xe(p,g,O,Q,I,A,M,T,B)},z=(p,g,O,C,I,A,M,T,B)=>{g.slotScopeIds=T,p==null?g.shapeFlag&512?I.ctx.activate(g,O,C,M,B):ee(g,O,C,I,A,M,B):U(p,g,B)},ee=(p,g,O,C,I,A,M)=>{const T=p.component=Df(p,C,I);if(en(p)&&(T.ctx.renderer=pe),If(T),T.asyncDep){if(I&&I.registerDep(T,X),!p.el){const B=T.subTree=Oe(Ve);y(null,B,g,O)}return}X(T,p,g,O,I,A,M)},U=(p,g,O)=>{const C=g.component=p.component;if(qd(p,g,O))if(C.asyncDep&&!C.asyncResolved){re(C,g,O);return}else C.next=g,Ld(C.update),C.update();else g.el=p.el,C.vnode=g},X=(p,g,O,C,I,A,M)=>{const T=()=>{if(p.isMounted){let{next:Q,bu:J,u:W,parent:G,vnode:ae}=p,he=Q,me;At(p,!1),Q?(Q.el=ae.el,re(p,Q,M)):Q=ae,J&&uo(J),(me=Q.props&&Q.props.onVnodeBeforeUpdate)&&Qe(me,G,Q,ae),At(p,!0);const ye=fo(p),Ge=p.subTree;p.subTree=ye,x(Ge,ye,f(Ge.el),K(Ge),p,I,A),Q.el=ye.el,he===null&&Ud(p,ye.el),W&&Me(W,I),(me=Q.props&&Q.props.onVnodeUpdated)&&Me(()=>Qe(me,G,Q,ae),I)}else{let Q;const{el:J,props:W}=g,{bm:G,m:ae,parent:he}=p,me=cr(g);if(At(p,!1),G&&uo(G),!me&&(Q=W&&W.onVnodeBeforeMount)&&Qe(Q,he,g),At(p,!0),J&&te){const ye=()=>{p.subTree=fo(p),te(J,p.subTree,p,I,null)};me?g.type.__asyncLoader().then(()=>!p.isUnmounted&&ye()):ye()}else{const ye=p.subTree=fo(p);x(null,ye,O,C,p,I,A),g.el=ye.el}if(ae&&Me(ae,I),!me&&(Q=W&&W.onVnodeMounted)){const ye=g;Me(()=>Qe(Q,he,ye),I)}(g.shapeFlag&256||he&&cr(he.vnode)&&he.vnode.shapeFlag&256)&&p.a&&Me(p.a,I),p.isMounted=!0,g=O=C=null}},B=p.effect=new va(T,()=>ka(j),p.scope),j=p.update=()=>B.run();j.id=p.uid,At(p,!0),j()},re=(p,g,O)=>{g.component=p;const C=p.vnode.props;p.vnode=g,p.next=null,ff(p,g.props,C,O),mf(p,g.children,O),pr(),Zn(void 0,p.update),hr()},xe=(p,g,O,C,I,A,M,T,B=!1)=>{const j=p&&p.children,Q=p?p.shapeFlag:0,J=g.children,{patchFlag:W,shapeFlag:G}=g;if(W>0){if(W&128){Pe(j,J,O,C,I,A,M,T,B);return}else if(W&256){Ee(j,J,O,C,I,A,M,T,B);return}}G&8?(Q&16&&H(j,I,A),J!==j&&u(O,J)):Q&16?G&16?Pe(j,J,O,C,I,A,M,T,B):H(j,I,A,!0):(Q&8&&u(O,""),G&16&&q(J,O,C,I,A,M,T,B))},Ee=(p,g,O,C,I,A,M,T,B)=>{p=p||or,g=g||or;const j=p.length,Q=g.length,J=Math.min(j,Q);let W;for(W=0;WQ?H(p,I,A,!0,!1,J):q(g,O,C,I,A,M,T,B,J)},Pe=(p,g,O,C,I,A,M,T,B)=>{let j=0;const Q=g.length;let J=p.length-1,W=Q-1;for(;j<=J&&j<=W;){const G=p[j],ae=g[j]=B?xt(g[j]):Ze(g[j]);if(Mt(G,ae))x(G,ae,O,null,I,A,M,T,B);else break;j++}for(;j<=J&&j<=W;){const G=p[J],ae=g[W]=B?xt(g[W]):Ze(g[W]);if(Mt(G,ae))x(G,ae,O,null,I,A,M,T,B);else break;J--,W--}if(j>J){if(j<=W){const G=W+1,ae=GW)for(;j<=J;)Ae(p[j],I,A,!0),j++;else{const G=j,ae=j,he=new Map;for(j=ae;j<=W;j++){const qe=g[j]=B?xt(g[j]):Ze(g[j]);qe.key!=null&&he.set(qe.key,j)}let me,ye=0;const Ge=W-ae+1;let Wt=!1,Va=0;const br=new Array(Ge);for(j=0;j=Ge){Ae(qe,I,A,!0);continue}let nt;if(qe.key!=null)nt=he.get(qe.key);else for(me=ae;me<=W;me++)if(br[me-ae]===0&&Mt(qe,g[me])){nt=me;break}nt===void 0?Ae(qe,I,A,!0):(br[nt-ae]=j+1,nt>=Va?Va=nt:Wt=!0,x(qe,g[nt],O,null,I,A,M,T,B),ye++)}const Ka=Wt?wf(br):or;for(me=Ka.length-1,j=Ge-1;j>=0;j--){const qe=ae+j,nt=g[qe],Wa=qe+1{const{el:A,type:M,transition:T,children:B,shapeFlag:j}=p;if(j&6){Se(p.component.subTree,g,O,C);return}if(j&128){p.suspense.move(g,O,C);return}if(j&64){M.move(p,g,O,pe);return}if(M===Fe){n(A,g,O);for(let J=0;JT.enter(A),I);else{const{leave:J,delayLeave:W,afterLeave:G}=T,ae=()=>n(A,g,O),he=()=>{J(A,()=>{ae(),G&&G()})};W?W(A,ae,he):he()}else n(A,g,O)},Ae=(p,g,O,C=!1,I=!1)=>{const{type:A,props:M,ref:T,children:B,dynamicChildren:j,shapeFlag:Q,patchFlag:J,dirs:W}=p;if(T!=null&&Rn(T,null,O,p,!0),Q&256){g.ctx.deactivate(p);return}const G=Q&1&&W,ae=!cr(p);let he;if(ae&&(he=M&&M.onVnodeBeforeUnmount)&&Qe(he,g,p),Q&6)V(p.component,O,C);else{if(Q&128){p.suspense.unmount(O,C);return}G&&ot(p,null,g,"beforeUnmount"),Q&64?p.type.remove(p,g,O,I,pe,C):j&&(A!==Fe||J>0&&J&64)?H(j,g,O,!1,!0):(A===Fe&&J&384||!I&&Q&16)&&H(B,g,O),C&&Be(p)}(ae&&(he=M&&M.onVnodeUnmounted)||G)&&Me(()=>{he&&Qe(he,g,p),G&&ot(p,null,g,"unmounted")},O)},Be=p=>{const{type:g,el:O,anchor:C,transition:I}=p;if(g===Fe){D(O,C);return}if(g===Tr){P(p);return}const A=()=>{o(O),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(p.shapeFlag&1&&I&&!I.persisted){const{leave:M,delayLeave:T}=I,B=()=>M(O,A);T?T(p.el,A,B):B()}else A()},D=(p,g)=>{let O;for(;p!==g;)O=d(p),o(p),p=O;o(g)},V=(p,g,O)=>{const{bum:C,scope:I,update:A,subTree:M,um:T}=p;C&&uo(C),I.stop(),A&&(A.active=!1,Ae(M,p,g,O)),T&&Me(T,g),Me(()=>{p.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},H=(p,g,O,C=!1,I=!1,A=0)=>{for(let M=A;Mp.shapeFlag&6?K(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),ce=(p,g,O)=>{p==null?g._vnode&&Ae(g._vnode,null,null,!0):x(g._vnode||null,p,g,null,null,null,O),In(),g._vnode=p},pe={p:x,um:Ae,m:Se,r:Be,mt:ee,mc:q,pc:xe,pbc:$,n:K,o:e};let ne,te;return t&&([ne,te]=t(pe)),{render:ce,hydrate:ne,createApp:vf(ce,ne)}}function At({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function nl(e,t,r=!1){const n=e.children,o=t.children;if(Z(n)&&Z(o))for(let a=0;a>1,e[r[c]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,i=r[a-1];a-- >0;)r[a]=i,i=t[i];return r}const xf=e=>e.__isTeleport,Fe=Symbol(void 0),$r=Symbol(void 0),Ve=Symbol(void 0),Tr=Symbol(void 0),Rr=[];let et=null;function to(e=!1){Rr.push(et=e?null:[])}function Sf(){Rr.pop(),et=Rr[Rr.length-1]||null}let Vr=1;function pi(e){Vr+=e}function ol(e){return e.dynamicChildren=Vr>0?et||or:null,Sf(),Vr>0&&et&&et.push(e),e}function al(e,t,r,n,o,a){return ol(sl(e,t,r,n,o,a,!0))}function il(e,t,r,n,o){return ol(Oe(e,t,r,n,o,!0))}function Ln(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const ro="__vInternal",cl=({key:e})=>e!=null?e:null,xn=({ref:e,ref_key:t,ref_for:r})=>e!=null?be(e)||je(e)||oe(e)?{i:Le,r:e,k:t,f:!!r}:e:null;function sl(e,t=null,r=null,n=0,o=null,a=e===Fe?0:1,i=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&cl(t),ref:t&&xn(t),scopeId:Ns,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null};return c?(ja(s,r),a&128&&e.normalize(s)):r&&(s.shapeFlag|=be(r)?8:16),Vr>0&&!i&&et&&(s.patchFlag>0||a&6)&&s.patchFlag!==32&&et.push(s),s}const Oe=Of;function Of(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===Vs)&&(e=Ve),Ln(e)){const c=Ct(e,t,!0);return r&&ja(c,r),Vr>0&&!a&&et&&(c.shapeFlag&6?et[et.indexOf(e)]=c:et.push(c)),c.patchFlag|=-2,c}if(Lf(e)&&(e=e.__vccOpts),t){t=Ef(t);let{class:c,style:s}=t;c&&!be(c)&&(t.class=Gr(c)),ke(s)&&(Os(s)&&!Z(s)&&(s=Te({},s)),t.style=Wn(s))}const i=be(e)?1:$d(e)?128:xf(e)?64:ke(e)?4:oe(e)?2:0;return sl(e,t,r,n,o,i,a,!0)}function Ef(e){return e?Os(e)||ro in e?Te({},e):e:null}function Ct(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,c=t?kf(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&cl(c),ref:t&&t.ref?r&&o?Z(o)?o.concat(xn(t)):[o,xn(t)]:xn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ct(e.ssContent),ssFallback:e.ssFallback&&Ct(e.ssFallback),el:e.el,anchor:e.anchor}}function Aa(e=" ",t=0){return Oe($r,null,e,t)}function Eb(e,t){const r=Oe(Tr,null,e);return r.staticCount=t,r}function kb(e="",t=!1){return t?(to(),il(Ve,null,e)):Oe(Ve,null,e)}function Ze(e){return e==null||typeof e=="boolean"?Oe(Ve):Z(e)?Oe(Fe,null,e.slice()):typeof e=="object"?xt(e):Oe($r,null,String(e))}function xt(e){return e.el===null||e.memo?e:Ct(e)}function ja(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Z(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),ja(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(ro in t)?t._ctx=Le:o===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:Le},r=32):(t=String(t),n&64?(r=16,t=[Aa(t)]):r=8);e.children=t,e.shapeFlag|=r}function kf(...e){const t={};for(let r=0;rDe||Le,lr=e=>{De=e,e.scope.on()},Vt=()=>{De&&De.scope.off(),De=null};function ul(e){return e.vnode.shapeFlag&4}let ur=!1;function If(e,t=!1){ur=t;const{props:r,children:n}=e.vnode,o=ul(e);df(e,r,o,t),hf(e,n);const a=o?Af(e,t):void 0;return ur=!1,a}function Af(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Es(new Proxy(e.ctx,of));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?Tf(e):null;lr(e),pr();const a=kt(n,e,0,[e.props,o]);if(hr(),Vt(),us(a)){if(a.then(Vt,Vt),t)return a.then(i=>{hi(e,i,t)}).catch(i=>{Xr(i,e,0)});e.asyncDep=a}else hi(e,a,t)}else dl(e,t)}function hi(e,t,r){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=Is(t)),dl(e,r)}let mi;function dl(e,t,r){const n=e.type;if(!e.render){if(!t&&mi&&!n.render){const o=n.template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:s}=n,l=Te(Te({isCustomElement:a,delimiters:c},i),s);n.render=mi(o,l)}}e.render=n.render||tt}lr(e),pr(),af(e),hr(),Vt()}function jf(e){return new Proxy(e.attrs,{get(t,r){return Ke(e,"get","$attrs"),t[r]}})}function Tf(e){const t=n=>{e.exposed=n||{}};let r;return{get attrs(){return r||(r=jf(e))},slots:e.slots,emit:e.emit,expose:t}}function no(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Is(Es(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in jn)return jn[r](e)}}))}function Rf(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function Lf(e){return oe(e)&&"__vccOpts"in e}const we=(e,t)=>jd(e,t,ur);function _e(e,t,r){const n=arguments.length;return n===2?ke(t)&&!Z(t)?Ln(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Ln(r)&&(r=[r]),Oe(e,t,r))}const Nf="3.2.37",zf="http://www.w3.org/2000/svg",Ft=typeof document!="undefined"?document:null,gi=Ft&&Ft.createElement("template"),Hf={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t?Ft.createElementNS(zf,e):Ft.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,n,o,a){const i=r?r.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===a||!(o=o.nextSibling)););else{gi.innerHTML=n?`${e}`:e;const c=gi.content;if(n){const s=c.firstChild;for(;s.firstChild;)c.appendChild(s.firstChild);c.removeChild(s)}t.insertBefore(c,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function Mf(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Ff(e,t,r){const n=e.style,o=be(r);if(r&&!o){for(const a in r)Vo(n,a,r[a]);if(t&&!be(t))for(const a in t)r[a]==null&&Vo(n,a,"")}else{const a=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=a)}}const vi=/\s*!important$/;function Vo(e,t,r){if(Z(r))r.forEach(n=>Vo(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Bf(e,t);vi.test(r)?e.setProperty(Kt(n),r.replace(vi,""),"important"):e[n]=r}}const bi=["Webkit","Moz","ms"],mo={};function Bf(e,t){const r=mo[t];if(r)return r;let n=ct(t);if(n!=="filter"&&n in e)return mo[t]=n;n=Yn(n);for(let o=0;o{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const r=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(r&&Number(r[1])<=53)}return[e,t]})();let Ko=0;const Vf=Promise.resolve(),Kf=()=>{Ko=0},Wf=()=>Ko||(Vf.then(Kf),Ko=fl());function Jf(e,t,r,n){e.addEventListener(t,r,n)}function Qf(e,t,r,n){e.removeEventListener(t,r,n)}function Yf(e,t,r,n,o=null){const a=e._vei||(e._vei={}),i=a[t];if(n&&i)i.value=n;else{const[c,s]=Gf(t);if(n){const l=a[t]=Zf(n,o);Jf(e,c,l,s)}else i&&(Qf(e,c,i,s),a[t]=void 0)}}const _i=/(?:Once|Passive|Capture)$/;function Gf(e){let t;if(_i.test(e)){t={};let r;for(;r=e.match(_i);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Kt(e.slice(2)),t]}function Zf(e,t){const r=n=>{const o=n.timeStamp||fl();($f||o>=r.attached-1)&&Ye(Xf(n,r.value),t,5,[n])};return r.value=e,r.attached=Wf(),r}function Xf(e,t){if(Z(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const wi=/^on[a-z]/,ep=(e,t,r,n,o=!1,a,i,c,s)=>{t==="class"?Mf(e,n,o):t==="style"?Ff(e,r,n):Zr(t)?fa(t)||Yf(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):tp(e,t,n,o))?Uf(e,t,n,a,i,c,s):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),qf(e,t,n,o))};function tp(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&wi.test(t)&&oe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||wi.test(t)&&be(r)?!1:t in e}const bt="transition",yr="animation",Ta=(e,{slots:t})=>_e(Fs,rp(e),t);Ta.displayName="Transition";const pl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ta.props=Te({},Fs.props,pl);const jt=(e,t=[])=>{Z(e)?e.forEach(r=>r(...t)):e&&e(...t)},xi=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function rp(e){const t={};for(const k in e)k in pl||(t[k]=e[k]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:a=`${r}-enter-from`,enterActiveClass:i=`${r}-enter-active`,enterToClass:c=`${r}-enter-to`,appearFromClass:s=a,appearActiveClass:l=i,appearToClass:u=c,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:d=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=e,b=np(o),_=b&&b[0],x=b&&b[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:E,onLeave:S,onLeaveCancelled:P,onBeforeAppear:N=m,onAppear:R=y,onAppearCancelled:w=E}=t,q=(k,L,z)=>{Tt(k,L?u:c),Tt(k,L?l:i),z&&z()},F=(k,L)=>{k._isLeaving=!1,Tt(k,f),Tt(k,h),Tt(k,d),L&&L()},$=k=>(L,z)=>{const ee=k?R:y,U=()=>q(L,k,z);jt(ee,[L,U]),Si(()=>{Tt(L,k?s:a),yt(L,k?u:c),xi(ee)||Oi(L,n,_,U)})};return Te(t,{onBeforeEnter(k){jt(m,[k]),yt(k,a),yt(k,i)},onBeforeAppear(k){jt(N,[k]),yt(k,s),yt(k,l)},onEnter:$(!1),onAppear:$(!0),onLeave(k,L){k._isLeaving=!0;const z=()=>F(k,L);yt(k,f),ip(),yt(k,d),Si(()=>{!k._isLeaving||(Tt(k,f),yt(k,h),xi(S)||Oi(k,n,x,z))}),jt(S,[k,z])},onEnterCancelled(k){q(k,!1),jt(E,[k])},onAppearCancelled(k){q(k,!0),jt(w,[k])},onLeaveCancelled(k){F(k),jt(P,[k])}})}function np(e){if(e==null)return null;if(ke(e))return[go(e.enter),go(e.leave)];{const t=go(e);return[t,t]}}function go(e){return ps(e)}function yt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function Tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function Si(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let op=0;function Oi(e,t,r,n){const o=e._endId=++op,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:c,propCount:s}=ap(e,t);if(!i)return n();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),a()},d=h=>{h.target===e&&++u>=s&&f()};setTimeout(()=>{u(r[b]||"").split(", "),o=n(bt+"Delay"),a=n(bt+"Duration"),i=Ei(o,a),c=n(yr+"Delay"),s=n(yr+"Duration"),l=Ei(c,s);let u=null,f=0,d=0;t===bt?i>0&&(u=bt,f=i,d=a.length):t===yr?l>0&&(u=yr,f=l,d=s.length):(f=Math.max(i,l),u=f>0?i>l?bt:yr:null,d=u?u===bt?a.length:s.length:0);const h=u===bt&&/\b(transform|all)(,|$)/.test(r[bt+"Property"]);return{type:u,timeout:f,propCount:d,hasTransform:h}}function Ei(e,t){for(;e.lengthki(r)+ki(e[n])))}function ki(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ip(){return document.body.offsetHeight}const cp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Pb=(e,t)=>r=>{if(!("key"in r))return;const n=Kt(r.key);if(t.some(o=>o===n||cp[o]===n))return e(r)},Cb={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):_r(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),_r(e,!0),n.enter(e)):n.leave(e,()=>{_r(e,!1)}):_r(e,t))},beforeUnmount(e,{value:t}){_r(e,t)}};function _r(e,t){e.style.display=t?e._vod:"none"}const sp=Te({patchProp:ep},Hf);let vo,Pi=!1;function lp(){return vo=Pi?vo:yf(sp),Pi=!0,vo}const up=(...e)=>{const t=lp().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=dp(n);if(o)return r(o,!0,o instanceof SVGElement)},t};function dp(e){return be(e)?document.querySelector(e):e}const fp=JSON.parse('{"base":"/blazeB2/","lang":"zh-CN","title":"BlazeB2 \u56FE\u5E8A","description":"\u57FA\u4E8E backBlazeb2 API & cloudflare \u5F00\u53D1\u7684\u5177\u6709 CDN \u52A0\u901F\u529F\u80FD\u7684\u56FE\u5E8A\u5DE5\u5177","head":[["link",{"rel":"icon","href":"/blazeB2/favicon.ico"}]],"locales":{"/en/":{"lang":"en-US"},"/zh/":{"lang":"zh-CN"}}}');var pp=([e,t,r])=>e==="meta"&&t.name?`${e}.${t.name}`:["title","base"].includes(e)?e:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,t,r]),hp=e=>{const t=new Set,r=[];return e.forEach(n=>{const o=pp(n);t.has(o)||(t.add(o),r.push(n))}),r},mp=e=>/^(https?:)?\/\//.test(e),Db=e=>/^mailto:/.test(e),Ib=e=>/^tel:/.test(e),hl=e=>Object.prototype.toString.call(e)==="[object Object]",gp=e=>e.replace(/\/$/,""),vp=e=>e.replace(/^\//,""),ml=(e,t)=>{const r=Object.keys(e).sort((n,o)=>{const a=o.split("/").length-n.split("/").length;return a!==0?a:o.length-n.length});for(const n of r)if(t.startsWith(n))return n;return"/"},bp=(e,t="/")=>e.replace(/^(https?:)?\/\/[^/]*/,"").replace(new RegExp(`^${t}`),"/");const gl={"v-8daa1a0e":Ce(()=>se(()=>import("./index.html.c3dc2ea9.js"),[])),"v-2d0a870d":Ce(()=>se(()=>import("./index.html.b1456821.js"),[])),"v-2d0ad528":Ce(()=>se(()=>import("./index.html.ba441775.js"),[])),"v-552348d7":Ce(()=>se(()=>import("./config.html.51980192.js"),[])),"v-0cd3f8c9":Ce(()=>se(()=>import("./contribution.html.0a2d1e36.js"),[])),"v-53161a52":Ce(()=>se(()=>import("./deploy.html.0c2a1020.js"),[])),"v-e6412400":Ce(()=>se(()=>import("./index.html.859f4610.js"),[])),"v-3e9371aa":Ce(()=>se(()=>import("./page.html.4d6a273e.js"),[])),"v-361c421a":Ce(()=>se(()=>import("./summary.html.e9ab8476.js"),[])),"v-f928d7c8":Ce(()=>se(()=>import("./config.html.93bfbc2b.js"),[])),"v-1a85fc4e":Ce(()=>se(()=>import("./contribution.html.1c6c1740.js"),[])),"v-fd4334d2":Ce(()=>se(()=>import("./deploy.html.e1e1bd65.js"),[])),"v-47357bdb":Ce(()=>se(()=>import("./index.html.169ce184.js"),[])),"v-7a8fca2f":Ce(()=>se(()=>import("./page.html.b93e1783.js"),[])),"v-7fb2fc4e":Ce(()=>se(()=>import("./summary.html.77a51253.js"),[])),"v-3706649a":Ce(()=>se(()=>import("./404.html.38d7d5c2.js"),[]))},yp={404:Ce(()=>se(()=>import("./404.08cdf94a.js"),[])),Layout:Ce(()=>se(()=>import("./Layout.5b992c4b.js"),[]))};var vl=Ne(zu),bl=wa({key:"",path:"",title:"",lang:"",frontmatter:{},excerpt:"",headers:[]}),ut=Ne(bl),tn=()=>ut;$a.webpackHot&&(__VUE_HMR_RUNTIME__.updatePageData=e=>{vl.value[e.key]=()=>Promise.resolve(e),e.key===ut.value.key&&(ut.value=e)});var yl=Symbol(""),_p=()=>{const e=Ie(yl);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},_l=Symbol(""),wp=()=>{const e=Ie(_l);if(!e)throw new Error("usePageHead() is called without provider.");return e},xp=Symbol(""),wl=Symbol(""),xl=()=>{const e=Ie(wl);if(!e)throw new Error("usePageLang() is called without provider.");return e},Ra=Symbol(""),Sl=()=>{const e=Ie(Ra);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},Ot=Ne(fp),Ol=()=>Ot;$a.webpackHot&&(__VUE_HMR_RUNTIME__.updateSiteData=e=>{Ot.value=e});var El=Symbol(""),Ab=()=>{const e=Ie(El);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},Sp=Symbol(""),zt=mr({resolvePageData:async e=>{const t=vl.value[e],r=await(t==null?void 0:t());return r!=null?r:bl},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,r)=>{const n=be(t.description)?t.description:r.description,o=[...Z(t.head)?t.head:[],...r.head,["title",{},e],["meta",{name:"description",content:n}]];return hp(o)},resolvePageHeadTitle:(e,t)=>`${e.title?`${e.title} | `:""}${t.title}`,resolvePageLang:e=>e.lang||"en",resolveRouteLocale:(e,t)=>ml(e,t),resolveSiteLocaleData:(e,t)=>({...e,...e.locales[t]})}),Op=We({name:"ClientOnly",setup(e,t){const r=Ne(!1);return mt(()=>{r.value=!0}),()=>{var n,o;return r.value?(o=(n=t.slots).default)==null?void 0:o.call(n):null}}}),Ep=We({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(e){const t=tn(),r=we(()=>gl[e.pageKey||t.value.key]);return()=>r.value?_e(r.value):_e("div","404 Not Found")}}),Ci=We({name:"Vuepress",setup(){const e=tn(),t=we(()=>{let r;if(e.value.path){const n=e.value.frontmatter.layout;be(n)?r=n:r="Layout"}else r="404";return yp[r]||nf(r,!1)});return()=>_e(t.value)}}),kp=e=>mp(e)?e:`${Ol().value.base}${vp(e)}`,It=e=>e;function La(e,t,r){var n,o,a;t===void 0&&(t=50),r===void 0&&(r={});var i=(n=r.isImmediate)!=null&&n,c=(o=r.callback)!=null&&o,s=r.maxWait,l=Date.now(),u=[];function f(){if(s!==void 0){var h=Date.now()-l;if(h+t>=s)return s-h}return t}var d=function(){var h=[].slice.call(arguments),b=this;return new Promise(function(_,x){var m=i&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,l=Date.now(),!i){var E=e.apply(b,h);c&&c(E),u.forEach(function(S){return(0,S.resolve)(E)}),u=[]}},f()),m){var y=e.apply(b,h);return c&&c(y),_(y)}u.push({resolve:_,reject:x})})};return d.cancel=function(h){a!==void 0&&clearTimeout(a),u.forEach(function(b){return(0,b.reject)(h)}),u=[]},d}/*! - * vue-router v4.0.16 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */const kl=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",gr=e=>kl?Symbol(e):"_vr_"+e,Pp=gr("rvlm"),Di=gr("rvd"),oo=gr("r"),Na=gr("rl"),Wo=gr("rvl"),er=typeof window!="undefined";function Cp(e){return e.__esModule||kl&&e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function bo(e,t){const r={};for(const n in t){const o=t[n];r[n]=Array.isArray(o)?o.map(e):e(o)}return r}const Lr=()=>{},Dp=/\/$/,Ip=e=>e.replace(Dp,"");function yo(e,t,r="/"){let n,o={},a="",i="";const c=t.indexOf("?"),s=t.indexOf("#",c>-1?c:0);return c>-1&&(n=t.slice(0,c),a=t.slice(c+1,s>-1?s:t.length),o=e(a)),s>-1&&(n=n||t.slice(0,s),i=t.slice(s,t.length)),n=Rp(n!=null?n:t,r),{fullPath:n+(a&&"?")+a+i,path:n,query:o,hash:i}}function Ap(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function Ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jp(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&dr(t.matched[n],r.matched[o])&&Pl(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function dr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!Tp(e[r],t[r]))return!1;return!0}function Tp(e,t){return Array.isArray(e)?Ai(e,t):Array.isArray(t)?Ai(t,e):e===t}function Ai(e,t){return Array.isArray(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function Rp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/");let o=r.length-1,a,i;for(a=0;a({left:window.pageXOffset,top:window.pageYOffset});function Mp(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=Hp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ji(e,t){return(history.state?history.state.position-t:-1)+e}const Jo=new Map;function Fp(e,t){Jo.set(e,t)}function Bp(e){const t=Jo.get(e);return Jo.delete(e),t}let qp=()=>location.protocol+"//"+location.host;function Cl(e,t){const{pathname:r,search:n,hash:o}=t,a=e.indexOf("#");if(a>-1){let c=o.includes(e.slice(a))?e.slice(a).length:1,s=o.slice(c);return s[0]!=="/"&&(s="/"+s),Ii(s,"")}return Ii(r,e)+n+o}function Up(e,t,r,n){let o=[],a=[],i=null;const c=({state:d})=>{const h=Cl(e,location),b=r.value,_=t.value;let x=0;if(d){if(r.value=h,t.value=d,i&&i===b){i=null;return}x=_?d.position-_.position:0}else n(h);o.forEach(m=>{m(r.value,b,{delta:x,type:Kr.pop,direction:x?x>0?Nr.forward:Nr.back:Nr.unknown})})};function s(){i=r.value}function l(d){o.push(d);const h=()=>{const b=o.indexOf(d);b>-1&&o.splice(b,1)};return a.push(h),h}function u(){const{history:d}=window;!d.state||d.replaceState(ge({},d.state,{scroll:ao()}),"")}function f(){for(const d of a)d();a=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",u),{pauseListeners:s,listen:l,destroy:f}}function Ti(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?ao():null}}function $p(e){const{history:t,location:r}=window,n={value:Cl(e,r)},o={value:t.state};o.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(s,l,u){const f=e.indexOf("#"),d=f>-1?(r.host&&document.querySelector("base")?e:e.slice(f))+s:qp()+e+s;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(h){console.error(h),r[u?"replace":"assign"](d)}}function i(s,l){const u=ge({},t.state,Ti(o.value.back,s,o.value.forward,!0),l,{position:o.value.position});a(s,u,!0),n.value=s}function c(s,l){const u=ge({},o.value,t.state,{forward:s,scroll:ao()});a(u.current,u,!0);const f=ge({},Ti(n.value,s,null),{position:u.position+1},l);a(s,f,!1),n.value=s}return{location:n,state:o,push:c,replace:i}}function Vp(e){e=Lp(e);const t=$p(e),r=Up(e,t.state,t.location,t.replace);function n(a,i=!0){i||r.pauseListeners(),history.go(a)}const o=ge({location:"",base:e,go:n,createHref:zp.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Kp(e){return typeof e=="string"||e&&typeof e=="object"}function Dl(e){return typeof e=="string"||typeof e=="symbol"}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Il=gr("nf");var Ri;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ri||(Ri={}));function fr(e,t){return ge(new Error,{type:e,[Il]:!0},t)}function _t(e,t){return e instanceof Error&&Il in e&&(t==null||!!(e.type&t))}const Li="[^/]+?",Wp={sensitive:!1,strict:!1,start:!0,end:!0},Jp=/[.+*?^${}()[\]/\\]/g;function Qp(e,t){const r=ge({},Wp,t),n=[];let o=r.start?"^":"";const a=[];for(const l of e){const u=l.length?[]:[90];r.strict&&!l.length&&(o+="/");for(let f=0;f1&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${b}"`);u+=y}}return u}return{re:i,score:n,keys:a,parse:c,stringify:s}}function Yp(e,t){let r=0;for(;rt.length?t.length===1&&t[0]===40+40?1:-1:0}function Gp(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const Zp={type:0,value:""},Xp=/[a-zA-Z0-9_]/;function eh(e){if(!e)return[[]];if(e==="/")return[[Zp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${r})/"${l}": ${h}`)}let r=0,n=r;const o=[];let a;function i(){a&&o.push(a),a=[]}let c=0,s,l="",u="";function f(){!l||(r===0?a.push({type:0,value:l}):r===1||r===2||r===3?(a.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=s}for(;c{i(y)}:Lr}function i(u){if(Dl(u)){const f=n.get(u);f&&(n.delete(u),r.splice(r.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=r.indexOf(u);f>-1&&(r.splice(f,1),u.record.name&&n.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function c(){return r}function s(u){let f=0;for(;f=0&&(u.record.path!==r[f].record.path||!Al(u,r[f]));)f++;r.splice(f,0,u),u.record.name&&!zi(u)&&n.set(u.record.name,u)}function l(u,f){let d,h={},b,_;if("name"in u&&u.name){if(d=n.get(u.name),!d)throw fr(1,{location:u});_=d.record.name,h=ge(nh(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),u.params),b=d.stringify(h)}else if("path"in u)b=u.path,d=r.find(y=>y.re.test(b)),d&&(h=d.parse(b),_=d.record.name);else{if(d=f.name?n.get(f.name):r.find(y=>y.re.test(f.path)),!d)throw fr(1,{location:u,currentLocation:f});_=d.record.name,h=ge({},f.params,u.params),b=d.stringify(h)}const x=[];let m=d;for(;m;)x.unshift(m.record),m=m.parent;return{name:_,path:b,params:h,matched:x,meta:ih(x)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:l,removeRoute:i,getRoutes:c,getRecordMatcher:o}}function nh(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function oh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ah(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function ah(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="boolean"?r:r[n];return t}function zi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ih(e){return e.reduce((t,r)=>ge(t,r.meta),{})}function Hi(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function Al(e,t){return t.children.some(r=>r===e||Al(e,r))}const jl=/#/g,ch=/&/g,sh=/\//g,lh=/=/g,uh=/\?/g,Tl=/\+/g,dh=/%5B/g,fh=/%5D/g,Rl=/%5E/g,ph=/%60/g,Ll=/%7B/g,hh=/%7C/g,Nl=/%7D/g,mh=/%20/g;function za(e){return encodeURI(""+e).replace(hh,"|").replace(dh,"[").replace(fh,"]")}function gh(e){return za(e).replace(Ll,"{").replace(Nl,"}").replace(Rl,"^")}function Qo(e){return za(e).replace(Tl,"%2B").replace(mh,"+").replace(jl,"%23").replace(ch,"%26").replace(ph,"`").replace(Ll,"{").replace(Nl,"}").replace(Rl,"^")}function vh(e){return Qo(e).replace(lh,"%3D")}function bh(e){return za(e).replace(jl,"%23").replace(uh,"%3F")}function yh(e){return e==null?"":bh(e).replace(sh,"%2F")}function Nn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _h(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&Qo(a)):[n&&Qo(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function wh(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=Array.isArray(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}function wr(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e,reset:r}}function St(e,t,r,n,o){const a=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((i,c)=>{const s=f=>{f===!1?c(fr(4,{from:r,to:t})):f instanceof Error?c(f):Kp(f)?c(fr(2,{from:t,to:f})):(a&&n.enterCallbacks[o]===a&&typeof f=="function"&&a.push(f),i())},l=e.call(n&&n.instances[o],t,r,s);let u=Promise.resolve(l);e.length<3&&(u=u.then(s)),u.catch(f=>c(f))})}function _o(e,t,r,n){const o=[];for(const a of e)for(const i in a.components){let c=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(xh(c)){const l=(c.__vccOpts||c)[t];l&&o.push(St(l,r,n,a,i))}else{let s=c();o.push(()=>s.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${a.path}"`));const u=Cp(l)?l.default:l;a.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&St(d,r,n,a,i)()}))}}return o}function xh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fi(e){const t=Ie(oo),r=Ie(Na),n=we(()=>t.resolve(Ut(e.to))),o=we(()=>{const{matched:s}=n.value,{length:l}=s,u=s[l-1],f=r.matched;if(!u||!f.length)return-1;const d=f.findIndex(dr.bind(null,u));if(d>-1)return d;const h=Bi(s[l-2]);return l>1&&Bi(u)===h&&f[f.length-1].path!==h?f.findIndex(dr.bind(null,s[l-2])):d}),a=we(()=>o.value>-1&&kh(r.params,n.value.params)),i=we(()=>o.value>-1&&o.value===r.matched.length-1&&Pl(r.params,n.value.params));function c(s={}){return Eh(s)?t[Ut(e.replace)?"replace":"push"](Ut(e.to)).catch(Lr):Promise.resolve()}return{route:n,href:we(()=>n.value.href),isActive:a,isExactActive:i,navigate:c}}const Sh=We({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Fi,setup(e,{slots:t}){const r=mr(Fi(e)),{options:n}=Ie(oo),o=we(()=>({[qi(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[qi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:_e("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),Oh=Sh;function Eh(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function kh(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!Array.isArray(o)||o.length!==n.length||n.some((a,i)=>a!==o[i]))return!1}return!0}function Bi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const qi=(e,t,r)=>e!=null?e:t!=null?t:r,Ph=We({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=Ie(Wo),o=we(()=>e.route||n.value),a=Ie(Di,0),i=we(()=>o.value.matched[a]);$t(Di,a+1),$t(Pp,i),$t(Wo,o);const c=Ne();return rt(()=>[c.value,i.value,e.name],([s,l,u],[f,d,h])=>{l&&(l.instances[u]=s,d&&d!==l&&s&&s===f&&(l.leaveGuards.size||(l.leaveGuards=d.leaveGuards),l.updateGuards.size||(l.updateGuards=d.updateGuards))),s&&l&&(!d||!dr(l,d)||!f)&&(l.enterCallbacks[u]||[]).forEach(b=>b(s))},{flush:"post"}),()=>{const s=o.value,l=i.value,u=l&&l.components[e.name],f=e.name;if(!u)return Ui(r.default,{Component:u,route:s});const d=l.props[e.name],h=d?d===!0?s.params:typeof d=="function"?d(s):d:null,_=_e(u,ge({},h,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(l.instances[f]=null)},ref:c}));return Ui(r.default,{Component:_,route:s})||_}}});function Ui(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const zl=Ph;function Ch(e){const t=rh(e.routes,e),r=e.parseQuery||_h,n=e.stringifyQuery||Mi,o=e.history,a=wr(),i=wr(),c=wr(),s=Cs(st);let l=st;er&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=bo.bind(null,D=>""+D),f=bo.bind(null,yh),d=bo.bind(null,Nn);function h(D,V){let H,K;return Dl(D)?(H=t.getRecordMatcher(D),K=V):K=D,t.addRoute(K,H)}function b(D){const V=t.getRecordMatcher(D);V&&t.removeRoute(V)}function _(){return t.getRoutes().map(D=>D.record)}function x(D){return!!t.getRecordMatcher(D)}function m(D,V){if(V=ge({},V||s.value),typeof D=="string"){const te=yo(r,D,V.path),p=t.resolve({path:te.path},V),g=o.createHref(te.fullPath);return ge(te,p,{params:d(p.params),hash:Nn(te.hash),redirectedFrom:void 0,href:g})}let H;if("path"in D)H=ge({},D,{path:yo(r,D.path,V.path).path});else{const te=ge({},D.params);for(const p in te)te[p]==null&&delete te[p];H=ge({},D,{params:f(D.params)}),V.params=f(V.params)}const K=t.resolve(H,V),ce=D.hash||"";K.params=u(d(K.params));const pe=Ap(n,ge({},D,{hash:gh(ce),path:K.path})),ne=o.createHref(pe);return ge({fullPath:pe,hash:ce,query:n===Mi?wh(D.query):D.query||{}},K,{redirectedFrom:void 0,href:ne})}function y(D){return typeof D=="string"?yo(r,D,s.value.path):ge({},D)}function E(D,V){if(l!==D)return fr(8,{from:V,to:D})}function S(D){return R(D)}function P(D){return S(ge(y(D),{replace:!0}))}function N(D){const V=D.matched[D.matched.length-1];if(V&&V.redirect){const{redirect:H}=V;let K=typeof H=="function"?H(D):H;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=y(K):{path:K},K.params={}),ge({query:D.query,hash:D.hash,params:D.params},K)}}function R(D,V){const H=l=m(D),K=s.value,ce=D.state,pe=D.force,ne=D.replace===!0,te=N(H);if(te)return R(ge(y(te),{state:ce,force:pe,replace:ne}),V||H);const p=H;p.redirectedFrom=V;let g;return!pe&&jp(n,K,H)&&(g=fr(16,{to:p,from:K}),Ee(K,K,!0,!1)),(g?Promise.resolve(g):q(p,K)).catch(O=>_t(O)?_t(O,2)?O:xe(O):X(O,p,K)).then(O=>{if(O){if(_t(O,2))return R(ge(y(O.to),{state:ce,force:pe,replace:ne}),V||p)}else O=$(p,K,!0,ne,ce);return F(p,K,O),O})}function w(D,V){const H=E(D,V);return H?Promise.reject(H):Promise.resolve()}function q(D,V){let H;const[K,ce,pe]=Dh(D,V);H=_o(K.reverse(),"beforeRouteLeave",D,V);for(const te of K)te.leaveGuards.forEach(p=>{H.push(St(p,D,V))});const ne=w.bind(null,D,V);return H.push(ne),Jt(H).then(()=>{H=[];for(const te of a.list())H.push(St(te,D,V));return H.push(ne),Jt(H)}).then(()=>{H=_o(ce,"beforeRouteUpdate",D,V);for(const te of ce)te.updateGuards.forEach(p=>{H.push(St(p,D,V))});return H.push(ne),Jt(H)}).then(()=>{H=[];for(const te of D.matched)if(te.beforeEnter&&!V.matched.includes(te))if(Array.isArray(te.beforeEnter))for(const p of te.beforeEnter)H.push(St(p,D,V));else H.push(St(te.beforeEnter,D,V));return H.push(ne),Jt(H)}).then(()=>(D.matched.forEach(te=>te.enterCallbacks={}),H=_o(pe,"beforeRouteEnter",D,V),H.push(ne),Jt(H))).then(()=>{H=[];for(const te of i.list())H.push(St(te,D,V));return H.push(ne),Jt(H)}).catch(te=>_t(te,8)?te:Promise.reject(te))}function F(D,V,H){for(const K of c.list())K(D,V,H)}function $(D,V,H,K,ce){const pe=E(D,V);if(pe)return pe;const ne=V===st,te=er?history.state:{};H&&(K||ne?o.replace(D.fullPath,ge({scroll:ne&&te&&te.scroll},ce)):o.push(D.fullPath,ce)),s.value=D,Ee(D,V,H,ne),xe()}let k;function L(){k||(k=o.listen((D,V,H)=>{const K=m(D),ce=N(K);if(ce){R(ge(ce,{replace:!0}),K).catch(Lr);return}l=K;const pe=s.value;er&&Fp(ji(pe.fullPath,H.delta),ao()),q(K,pe).catch(ne=>_t(ne,12)?ne:_t(ne,2)?(R(ne.to,K).then(te=>{_t(te,20)&&!H.delta&&H.type===Kr.pop&&o.go(-1,!1)}).catch(Lr),Promise.reject()):(H.delta&&o.go(-H.delta,!1),X(ne,K,pe))).then(ne=>{ne=ne||$(K,pe,!1),ne&&(H.delta?o.go(-H.delta,!1):H.type===Kr.pop&&_t(ne,20)&&o.go(-1,!1)),F(K,pe,ne)}).catch(Lr)}))}let z=wr(),ee=wr(),U;function X(D,V,H){xe(D);const K=ee.list();return K.length?K.forEach(ce=>ce(D,V,H)):console.error(D),Promise.reject(D)}function re(){return U&&s.value!==st?Promise.resolve():new Promise((D,V)=>{z.add([D,V])})}function xe(D){return U||(U=!D,L(),z.list().forEach(([V,H])=>D?H(D):V()),z.reset()),D}function Ee(D,V,H,K){const{scrollBehavior:ce}=e;if(!er||!ce)return Promise.resolve();const pe=!H&&Bp(ji(D.fullPath,0))||(K||!H)&&history.state&&history.state.scroll||null;return Ea().then(()=>ce(D,V,pe)).then(ne=>ne&&Mp(ne)).catch(ne=>X(ne,D,V))}const Pe=D=>o.go(D);let Se;const Ae=new Set;return{currentRoute:s,addRoute:h,removeRoute:b,hasRoute:x,getRoutes:_,resolve:m,options:e,push:S,replace:P,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:a.add,beforeResolve:i.add,afterEach:c.add,onError:ee.add,isReady:re,install(D){const V=this;D.component("RouterLink",Oh),D.component("RouterView",zl),D.config.globalProperties.$router=V,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>Ut(s)}),er&&!Se&&s.value===st&&(Se=!0,S(o.location).catch(ce=>{}));const H={};for(const ce in st)H[ce]=we(()=>s.value[ce]);D.provide(oo,V),D.provide(Na,mr(H)),D.provide(Wo,s);const K=D.unmount;Ae.add(D),D.unmount=function(){Ae.delete(D),Ae.size<1&&(l=st,k&&k(),k=null,s.value=st,Se=!1,U=!1),K()}}}}function Jt(e){return e.reduce((t,r)=>t.then(()=>r()),Promise.resolve())}function Dh(e,t){const r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;idr(l,c))?n.push(c):r.push(c));const s=e.matched[i];s&&(t.matched.find(l=>dr(l,s))||o.push(s))}return[r,n,o]}function io(){return Ie(oo)}function Ha(){return Ie(Na)}const Ih=({headerLinkSelector:e,headerAnchorSelector:t,delay:r,offset:n=5})=>{const o=io(),a=tn(),c=La(()=>{var x,m,y,E;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)h.some(P=>P.hash===S.hash));for(let S=0;S<_.length;S++){const P=_[S],N=_[S+1],R=s>=((m=(x=P.parentElement)==null?void 0:x.offsetTop)!=null?m:0)-n,w=!N||s<((E=(y=N.parentElement)==null?void 0:y.offsetTop)!=null?E:0)-n;if(!(R&&w))continue;const F=decodeURIComponent(o.currentRoute.value.hash),$=decodeURIComponent(P.hash);if(F===$)return;if(d){for(let k=S+1;k<_.length;k++)if(F===decodeURIComponent(_[k].hash))return}$i(o,{hash:$,force:!0});return}},r);mt(()=>{c(),window.addEventListener("scroll",c)}),Pa(()=>{window.removeEventListener("scroll",c)}),rt(()=>a.value.path,c)},$i=async(e,...t)=>{const{scrollBehavior:r}=e.options;e.options.scrollBehavior=void 0,await e.replace(...t).finally(()=>e.options.scrollBehavior=r)},Ah="a.sidebar-item",jh=".header-anchor",Th=300,Rh=5;var Lh=It({setup(){Ih({headerLinkSelector:Ah,headerAnchorSelector:jh,delay:Th,offset:Rh})}});const Vi=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Nh=()=>window.scrollTo({top:0,behavior:"smooth"});const zh=We({name:"BackToTop",setup(){const e=Ne(0),t=we(()=>e.value>300),r=La(()=>{e.value=Vi()},100);mt(()=>{e.value=Vi(),window.addEventListener("scroll",()=>r())});const n=_e("div",{class:"back-to-top",onClick:Nh});return()=>_e(Ta,{name:"back-to-top"},()=>t.value?n:null)}});var Hh=It({rootComponents:[zh]});const Mh=_e("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[_e("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),_e("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Fh=We({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Sl(),r=we(()=>{var n;return(n=e.locales[t.value])!=null?n:{openInNewWindow:"open in new window"}});return()=>_e("span",[Mh,_e("span",{class:"external-link-icon-sr-only"},r.value.openInNewWindow)])}}),Bh={"/en/":{openInNewWindow:"open in new window"},"/zh/":{openInNewWindow:"open in new window"},"/":{openInNewWindow:"open in new window"}};var qh=It({enhance({app:e}){e.component("ExternalLinkIcon",_e(Fh,{locales:Bh}))}});/*! medium-zoom 1.0.6 | MIT License | https://github.com/francoischalifour/medium-zoom */var Ht=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(k){function L(){}k(L,L)},o=function(k){var L=k.target;if(L===q){b();return}E.indexOf(L)!==-1&&_({target:L})},a=function(){if(!(P||!w.original)){var k=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(N-k)>R.scrollOffset&&setTimeout(b,150)}},i=function(k){var L=k.key||k.keyCode;(L==="Escape"||L==="Esc"||L===27)&&b()},c=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=k;if(k.background&&(q.style.background=k.background),k.container&&k.container instanceof Object&&(L.container=Ht({},R.container,k.container)),k.template){var z=Sn(k.template)?k.template:document.querySelector(k.template);L.template=z}return R=Ht({},R,L),E.forEach(function(ee){ee.dispatchEvent(Qt("medium-zoom:update",{detail:{zoom:F}}))}),F},s=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(Ht({},R,k))},l=function(){for(var k=arguments.length,L=Array(k),z=0;z0?L.reduce(function(U,X){return[].concat(U,Wi(X))},[]):E;return ee.forEach(function(U){U.classList.remove("medium-zoom-image"),U.dispatchEvent(Qt("medium-zoom:detach",{detail:{zoom:F}}))}),E=E.filter(function(U){return ee.indexOf(U)===-1}),F},f=function(k,L){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(ee){ee.addEventListener("medium-zoom:"+k,L,z)}),S.push({type:"medium-zoom:"+k,listener:L,options:z}),F},d=function(k,L){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(ee){ee.removeEventListener("medium-zoom:"+k,L,z)}),S=S.filter(function(ee){return!(ee.type==="medium-zoom:"+k&&ee.listener.toString()===L.toString())}),F},h=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=k.target,z=function(){var U={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},X=void 0,re=void 0;if(R.container)if(R.container instanceof Object)U=Ht({},U,R.container),X=U.width-U.left-U.right-R.margin*2,re=U.height-U.top-U.bottom-R.margin*2;else{var xe=Sn(R.container)?R.container:document.querySelector(R.container),Ee=xe.getBoundingClientRect(),Pe=Ee.width,Se=Ee.height,Ae=Ee.left,Be=Ee.top;U=Ht({},U,{width:Pe,height:Se,left:Ae,top:Be})}X=X||U.width-R.margin*2,re=re||U.height-R.margin*2;var D=w.zoomedHd||w.original,V=Ki(D)?X:D.naturalWidth||X,H=Ki(D)?re:D.naturalHeight||re,K=D.getBoundingClientRect(),ce=K.top,pe=K.left,ne=K.width,te=K.height,p=Math.min(V,X)/ne,g=Math.min(H,re)/te,O=Math.min(p,g),C=(-pe+(X-ne)/2+R.margin+U.left)/O,I=(-ce+(re-te)/2+R.margin+U.top)/O,A="scale("+O+") translate3d("+C+"px, "+I+"px, 0)";w.zoomed.style.transform=A,w.zoomedHd&&(w.zoomedHd.style.transform=A)};return new n(function(ee){if(L&&E.indexOf(L)===-1){ee(F);return}var U=function Pe(){P=!1,w.zoomed.removeEventListener("transitionend",Pe),w.original.dispatchEvent(Qt("medium-zoom:opened",{detail:{zoom:F}})),ee(F)};if(w.zoomed){ee(F);return}if(L)w.original=L;else if(E.length>0){var X=E;w.original=X[0]}else{ee(F);return}if(w.original.dispatchEvent(Qt("medium-zoom:open",{detail:{zoom:F}})),N=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,P=!0,w.zoomed=Vh(w.original),document.body.appendChild(q),R.template){var re=Sn(R.template)?R.template:document.querySelector(R.template);w.template=document.createElement("div"),w.template.appendChild(re.content.cloneNode(!0)),document.body.appendChild(w.template)}if(document.body.appendChild(w.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),w.original.classList.add("medium-zoom-image--hidden"),w.zoomed.classList.add("medium-zoom-image--opened"),w.zoomed.addEventListener("click",b),w.zoomed.addEventListener("transitionend",U),w.original.getAttribute("data-zoom-src")){w.zoomedHd=w.zoomed.cloneNode(),w.zoomedHd.removeAttribute("srcset"),w.zoomedHd.removeAttribute("sizes"),w.zoomedHd.src=w.zoomed.getAttribute("data-zoom-src"),w.zoomedHd.onerror=function(){clearInterval(xe),console.warn("Unable to reach the zoom image target "+w.zoomedHd.src),w.zoomedHd=null,z()};var xe=setInterval(function(){w.zoomedHd.complete&&(clearInterval(xe),w.zoomedHd.classList.add("medium-zoom-image--opened"),w.zoomedHd.addEventListener("click",b),document.body.appendChild(w.zoomedHd),z())},10)}else if(w.original.hasAttribute("srcset")){w.zoomedHd=w.zoomed.cloneNode(),w.zoomedHd.removeAttribute("sizes"),w.zoomedHd.removeAttribute("loading");var Ee=w.zoomedHd.addEventListener("load",function(){w.zoomedHd.removeEventListener("load",Ee),w.zoomedHd.classList.add("medium-zoom-image--opened"),w.zoomedHd.addEventListener("click",b),document.body.appendChild(w.zoomedHd),z()})}else z()})},b=function(){return new n(function(k){if(P||!w.original){k(F);return}var L=function z(){w.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(w.zoomed),w.zoomedHd&&document.body.removeChild(w.zoomedHd),document.body.removeChild(q),w.zoomed.classList.remove("medium-zoom-image--opened"),w.template&&document.body.removeChild(w.template),P=!1,w.zoomed.removeEventListener("transitionend",z),w.original.dispatchEvent(Qt("medium-zoom:closed",{detail:{zoom:F}})),w.original=null,w.zoomed=null,w.zoomedHd=null,w.template=null,k(F)};P=!0,document.body.classList.remove("medium-zoom--opened"),w.zoomed.style.transform="",w.zoomedHd&&(w.zoomedHd.style.transform=""),w.template&&(w.template.style.transition="opacity 150ms",w.template.style.opacity=0),w.original.dispatchEvent(Qt("medium-zoom:close",{detail:{zoom:F}})),w.zoomed.addEventListener("transitionend",L)})},_=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=k.target;return w.original?b():h({target:L})},x=function(){return R},m=function(){return E},y=function(){return w.original},E=[],S=[],P=!1,N=0,R=r,w={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?R=t:(t||typeof t=="string")&&l(t),R=Ht({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},R);var q=$h(R.background);document.addEventListener("click",o),document.addEventListener("keyup",i),document.addEventListener("scroll",a),window.addEventListener("resize",b);var F={open:h,close:b,toggle:_,update:c,clone:s,attach:l,detach:u,on:f,off:d,getOptions:x,getImages:m,getZoomedImage:y};return F};function Wh(e,t){t===void 0&&(t={});var r=t.insertAt;if(!(!e||typeof document=="undefined")){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",r==="top"&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var Jh=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Wh(Jh);var Qh=Kh;const Yh=Symbol("mediumZoom");const Gh=".theme-default-content > img, .theme-default-content :not(a) > img",Zh={},Xh=300;var em=It({enhance({app:e,router:t}){const r=Qh(Zh);r.refresh=(n=Gh)=>{r.detach(),r.attach(n)},e.provide(Yh,r),t.afterEach(()=>{setTimeout(()=>r.refresh(),Xh)})}});/** - * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT - */const ue={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=ue.isStarted();e=wo(e,ue.settings.minimum,1),ue.status=e===1?null:e;const r=ue.render(!t),n=r.querySelector(ue.settings.barSelector),o=ue.settings.speed,a=ue.settings.easing;return r.offsetWidth,tm(i=>{pn(n,{transform:"translate3d("+Ji(e)+"%,0,0)",transition:"all "+o+"ms "+a}),e===1?(pn(r,{transition:"none",opacity:"1"}),r.offsetWidth,setTimeout(function(){pn(r,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){ue.remove(),i()},o)},o)):setTimeout(()=>i(),o)}),ue},isStarted:()=>typeof ue.status=="number",start:()=>{ue.status||ue.set(0);const e=()=>{setTimeout(()=>{!ue.status||(ue.trickle(),e())},ue.settings.trickleSpeed)};return ue.settings.trickle&&e(),ue},done:e=>!e&&!ue.status?ue:ue.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=ue.status;return t?(typeof e!="number"&&(e=(1-t)*wo(Math.random()*t,.1,.95)),t=wo(t+e,0,.994),ue.set(t)):ue.start()},trickle:()=>ue.inc(Math.random()*ue.settings.trickleRate),render:e=>{if(ue.isRendered())return document.getElementById("nprogress");Qi(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=ue.settings.template;const r=t.querySelector(ue.settings.barSelector),n=e?"-100":Ji(ue.status||0),o=document.querySelector(ue.settings.parent);return pn(r,{transition:"all 0 linear",transform:"translate3d("+n+"%,0,0)"}),o!==document.body&&Qi(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{Yi(document.documentElement,"nprogress-busy"),Yi(document.querySelector(ue.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&rm(e)},isRendered:()=>!!document.getElementById("nprogress")},wo=(e,t,r)=>er?r:e,Ji=e=>(-1+e)*100,tm=function(){const e=[];function t(){const r=e.shift();r&&r(t)}return function(r){e.push(r),e.length===1&&t()}}(),pn=function(){const e=["Webkit","O","Moz","ms"],t={};function r(i){return i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(c,s){return s.toUpperCase()})}function n(i){const c=document.body.style;if(i in c)return i;let s=e.length;const l=i.charAt(0).toUpperCase()+i.slice(1);let u;for(;s--;)if(u=e[s]+l,u in c)return u;return i}function o(i){return i=r(i),t[i]||(t[i]=n(i))}function a(i,c,s){c=o(c),i.style[c]=s}return function(i,c){for(const s in c){const l=c[s];l!==void 0&&Object.prototype.hasOwnProperty.call(c,s)&&a(i,s,l)}}}(),Hl=(e,t)=>(typeof e=="string"?e:Ma(e)).indexOf(" "+t+" ")>=0,Qi=(e,t)=>{const r=Ma(e),n=r+t;Hl(r,t)||(e.className=n.substring(1))},Yi=(e,t)=>{const r=Ma(e);if(!Hl(e,t))return;const n=r.replace(" "+t+" "," ");e.className=n.substring(1,n.length-1)},Ma=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),rm=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)};const nm=()=>{mt(()=>{const e=io(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(r=>{t.has(r.path)||ue.start()}),e.afterEach(r=>{t.add(r.path),ue.done()})})};var om=It({setup(){nm()}});const am=JSON.parse(`{"navbar":[{"text":"\u5728\u7EBF\u4F7F\u7528","link":"https://b2.mr90.top/"},{"text":"Github","link":"https://github.com/Rr210/blazeB2"}],"locales":{"/en/":{"selectLanguageName":"English"},"/zh/":{"selectLanguageName":"\u7B80\u4F53\u4E2D\u6587"},"/":{"selectLanguageName":"English"}},"sidebar":["/zh/guide/summary","/zh/guide/","/zh/guide/page/","/zh/guide/deploy/","/zh/guide/config/","/zh/guide/contribution"],"colorMode":"auto","colorModeSwitch":true,"logo":null,"repo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleColorMode":"toggle color mode","toggleSidebar":"toggle sidebar"}`),Ml=Ne(am),im=()=>Ml;$a.webpackHot&&(__VUE_HMR_RUNTIME__.updateThemeData=e=>{Ml.value=e});const Fl=Symbol(""),cm=()=>{const e=Ie(Fl);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},sm=(e,t)=>{var r;return{...e,...(r=e.locales)==null?void 0:r[t]}};var lm=It({enhance({app:e}){const t=im(),r=e._context.provides[Ra],n=we(()=>sm(t.value,r.value));e.provide(Fl,n),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return n.value}}})}}),Bl=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};const um=We({__name:"Badge",props:{type:{type:String,required:!1,default:"tip"},text:{type:String,required:!1,default:""},vertical:{type:String,required:!1,default:void 0}},setup(e){return(t,r)=>(to(),al("span",{class:Gr(["badge",e.type]),style:Wn({verticalAlign:e.vertical})},[Ws(t.$slots,"default",{},()=>[Aa(Uu(e.text),1)])],6))}});var dm=Bl(um,[["__file","Badge.vue"]]);const fm=We({name:"CodeGroup",setup(e,{slots:t}){const r=Ne(-1),n=Ne([]),o=(c=r.value)=>{c{c>0?r.value=c-1:r.value=n.value.length-1,n.value[r.value].focus()},i=(c,s)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),r.value=s):c.key==="ArrowRight"?(c.preventDefault(),o(s)):c.key==="ArrowLeft"&&(c.preventDefault(),a(s))};return()=>{var s;const c=(((s=t.default)==null?void 0:s.call(t))||[]).filter(l=>l.type.name==="CodeGroupItem").map(l=>(l.props===null&&(l.props={}),l));return c.length===0?null:(r.value<0||r.value>c.length-1?(r.value=c.findIndex(l=>l.props.active===""||l.props.active===!0),r.value===-1&&(r.value=0)):c.forEach((l,u)=>{l.props.active=u===r.value}),_e("div",{class:"code-group"},[_e("div",{class:"code-group__nav"},_e("ul",{class:"code-group__ul"},c.map((l,u)=>{const f=u===r.value;return _e("li",{class:"code-group__li"},_e("button",{ref:d=>{d&&(n.value[u]=d)},class:{"code-group__nav-tab":!0,"code-group__nav-tab-active":f},ariaPressed:f,ariaExpanded:f,onClick:()=>r.value=u,onKeydown:d=>i(d,u)},l.props.title))}))),c]))}}}),pm=["aria-selected"],hm=We({name:"CodeGroupItem"}),mm=We({...hm,props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,r)=>(to(),al("div",{class:Gr(["code-group-item",{"code-group-item__active":e.active}]),"aria-selected":e.active},[Ws(t.$slots,"default")],10,pm))}});var gm=Bl(mm,[["__file","CodeGroupItem.vue"]]);function ql(e){return Xu()?(ed(e),!0):!1}var Gi;const rn=typeof window!="undefined",vm=e=>typeof e=="string",xo=()=>{};rn&&((Gi=window==null?void 0:window.navigator)==null?void 0:Gi.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function bm(e,t){function r(...n){e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})}return r}const Ul=e=>e();function ym(e=Ul){const t=Ne(!0);function r(){t.value=!1}function n(){t.value=!0}return{isActive:t,pause:r,resume:n,eventFilter:(...a)=>{t.value&&e(...a)}}}function _m(e,t=!0){ll()?$s(e):t?e():Ea(e)}var Zi=Object.getOwnPropertySymbols,wm=Object.prototype.hasOwnProperty,xm=Object.prototype.propertyIsEnumerable,Sm=(e,t)=>{var r={};for(var n in e)wm.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Zi)for(var n of Zi(e))t.indexOf(n)<0&&xm.call(e,n)&&(r[n]=e[n]);return r};function Om(e,t,r={}){const n=r,{eventFilter:o=Ul}=n,a=Sm(n,["eventFilter"]);return rt(e,bm(o,t),a)}var Em=Object.defineProperty,km=Object.defineProperties,Pm=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,$l=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,Xi=(e,t,r)=>t in e?Em(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Cm=(e,t)=>{for(var r in t||(t={}))$l.call(t,r)&&Xi(e,r,t[r]);if(zn)for(var r of zn(t))Vl.call(t,r)&&Xi(e,r,t[r]);return e},Dm=(e,t)=>km(e,Pm(t)),Im=(e,t)=>{var r={};for(var n in e)$l.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&zn)for(var n of zn(e))t.indexOf(n)<0&&Vl.call(e,n)&&(r[n]=e[n]);return r};function Am(e,t,r={}){const n=r,{eventFilter:o}=n,a=Im(n,["eventFilter"]),{eventFilter:i,pause:c,resume:s,isActive:l}=ym(o);return{stop:Om(e,t,Dm(Cm({},a),{eventFilter:i})),pause:c,resume:s,isActive:l}}function jm(e){var t;const r=Ut(e);return(t=r==null?void 0:r.$el)!=null?t:r}const Hn=rn?window:void 0;rn&&window.document;rn&&window.navigator;rn&&window.location;function Tm(...e){let t,r,n,o;if(vm(e[0])?([r,n,o]=e,t=Hn):[t,r,n,o]=e,!t)return xo;let a=xo;const i=rt(()=>jm(t),s=>{a(),s&&(s.addEventListener(r,n,o),a=()=>{s.removeEventListener(r,n,o),a=xo})},{immediate:!0,flush:"post"}),c=()=>{i(),a()};return ql(c),c}function Rm(e,t={}){const{window:r=Hn}=t,n=Boolean(r&&"matchMedia"in r);let o;const a=Ne(!1),i=()=>{!n||(o||(o=r.matchMedia(e)),a.value=o.matches)};return _m(()=>{i(),o&&("addEventListener"in o?o.addEventListener("change",i):o.addListener(i),ql(()=>{"removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i)}))}),a}const Yo=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Go="__vueuse_ssr_handlers__";Yo[Go]=Yo[Go]||{};const Lm=Yo[Go];function Nm(e,t){return Lm[e]||t}function zm(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const Hm={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function Mm(e,t,r,n={}){var o;const{flush:a="pre",deep:i=!0,listenToStorageChanges:c=!0,writeDefaults:s=!0,shallow:l,window:u=Hn,eventFilter:f,onError:d=N=>{console.error(N)}}=n,h=(l?Cs:Ne)(t);if(!r)try{r=Nm("getDefaultStorage",()=>{var N;return(N=Hn)==null?void 0:N.localStorage})()}catch(N){d(N)}if(!r)return h;const b=Ut(t),_=zm(b),x=(o=n.serializer)!=null?o:Hm[_],{pause:m,resume:y}=Am(h,()=>E(h.value),{flush:a,deep:i,eventFilter:f});return u&&c&&Tm(u,"storage",P),P(),h;function E(N){try{N==null?r.removeItem(e):r.setItem(e,x.write(N))}catch(R){d(R)}}function S(N){if(!(N&&N.key!==e)){m();try{const R=N?N.newValue:r.getItem(e);return R==null?(s&&b!==null&&r.setItem(e,x.write(b)),b):typeof R!="string"?R:x.read(R)}catch(R){d(R)}finally{y()}}}function P(N){N&&N.key!==e||(h.value=S(N))}}function Fm(e){return Rm("(prefers-color-scheme: dark)",e)}var ec;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ec||(ec={}));const Kl=Symbol(""),jb=()=>{const e=Ie(Kl);if(!e)throw new Error("useDarkMode() is called without provider.");return e},Bm=()=>{const e=Yl(),t=Fm(),r=Mm("vuepress-color-scheme",e.value.colorMode),n=we({get(){return e.value.colorModeSwitch?r.value==="auto"?t.value:r.value==="dark":e.value.colorMode==="dark"},set(o){o===t.value?r.value="auto":r.value=o?"dark":"light"}});$t(Kl,n),qm(n)},qm=e=>{const t=(r=e.value)=>{const n=window==null?void 0:window.document.querySelector("html");n==null||n.classList.toggle("dark",r)};mt(()=>{rt(e,t,{immediate:!0})}),Ca(()=>t())},Wl=(...e)=>{const r=io().resolve(...e),n=r.matched[r.matched.length-1];if(!(n!=null&&n.redirect))return r;const{redirect:o}=n,a=oe(o)?o(r):o,i=be(a)?{path:a}:a;return Wl({hash:r.hash,query:r.query,params:r.params,...i})},Um=e=>{const t=Wl(encodeURI(e));return{text:t.meta.title||e,link:t.name==="404"?e:t.fullPath}};let So=null,xr=null;const $m={wait:()=>So,pending:()=>{So=new Promise(e=>xr=e)},resolve:()=>{xr==null||xr(),So=null,xr=null}},Vm=()=>$m,Jl=Symbol("sidebarItems"),Tb=()=>{const e=Ie(Jl);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},Km=()=>{const e=Yl(),t=_p(),r=we(()=>Wm(t.value,e.value));$t(Jl,r)},Wm=(e,t)=>{var o,a,i,c;const r=(a=(o=e.sidebar)!=null?o:t.sidebar)!=null?a:"auto",n=(c=(i=e.sidebarDepth)!=null?i:t.sidebarDepth)!=null?c:2;return e.home||r===!1?[]:r==="auto"?Qm(n):Z(r)?Ql(r,n):hl(r)?Ym(r,n):[]},Jm=(e,t)=>({text:e.title,link:`#${e.slug}`,children:Fa(e.children,t)}),Fa=(e,t)=>t>0?e.map(r=>Jm(r,t-1)):[],Qm=e=>{const t=tn();return[{text:t.value.title,children:Fa(t.value.headers,e)}]},Ql=(e,t)=>{const r=Ha(),n=tn(),o=a=>{var c;let i;if(be(a)?i=Um(a):i=a,i.children)return{...i,children:i.children.map(s=>o(s))};if(i.link===r.path){const s=((c=n.value.headers[0])==null?void 0:c.level)===1?n.value.headers[0].children:n.value.headers;return{...i,children:Fa(s,t)}}return i};return e.map(a=>o(a))},Ym=(e,t)=>{var a;const r=Ha(),n=ml(e,r.path),o=(a=e[n])!=null?a:[];return Ql(o,t)},Yl=()=>cm();var Gm=It({enhance({app:e,router:t}){e.component("Badge",dm),e.component("CodeGroup",fm),e.component("CodeGroupItem",gm),e.component("AutoLinkExternalIcon",()=>{const n=e.component("ExternalLinkIcon");return n?_e(n):null}),e.component("NavbarSearch",()=>{const n=e.component("Docsearch")||e.component("SearchBox");return n?_e(n):null});const r=t.options.scrollBehavior;t.options.scrollBehavior=async(...n)=>(await Vm().wait(),r(...n))},setup(){Bm(),Km()}});/*! @docsearch/js 3.1.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function tc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function de(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Mn(e,t){return function(r){if(Array.isArray(r))return r}(e)||function(r,n){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var a,i,c=[],s=!0,l=!1;try{for(o=o.call(r);!(s=(a=o.next()).done)&&(c.push(a.value),!n||c.length!==n);s=!0);}catch(u){l=!0,i=u}finally{try{s||o.return==null||o.return()}finally{if(l)throw i}}return c}}(e,t)||Gl(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Fn(e){return function(t){if(Array.isArray(t))return Xo(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||Gl(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Gl(e,t){if(e){if(typeof e=="string")return Xo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xo(e,t):void 0}}function Xo(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r3)for(r=[r],a=3;a0?Hr(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=r,h.__b=r.__b+1,(d=m[u])===null||d&&h.key==d.key&&h.type===d.type)m[u]=void 0;else for(f=0;f3)for(r=[r],a=3;a=r.__.length&&r.__.push({}),r.__[e]}function lu(e){return sr=1,uu(fu,e)}function uu(e,t,r){var n=nn(vr++,2);return n.t=e,n.__c||(n.__=[r?r(t):fu(void 0,t),function(o){var a=n.t(n.__[0],o);n.__[0]!==a&&(n.__=[a,n.__[1]],n.__c.setState({}))}],n.__c=He),n.__}function du(e,t){var r=nn(vr++,3);!Y.__s&&Ua(r.__H,t)&&(r.__=e,r.__H=t,He.__H.__h.push(r))}function fc(e,t){var r=nn(vr++,4);!Y.__s&&Ua(r.__H,t)&&(r.__=e,r.__H=t,He.__h.push(r))}function Oo(e,t){var r=nn(vr++,7);return Ua(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function og(){ta.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(On),e.__H.__h.forEach(ra),e.__H.__h=[]}catch(t){e.__H.__h=[],Y.__e(t,e.__v)}}),ta=[]}Y.__b=function(e){He=null,cc&&cc(e)},Y.__r=function(e){sc&&sc(e),vr=0;var t=(He=e.__c).__H;t&&(t.__h.forEach(On),t.__h.forEach(ra),t.__h=[])},Y.diffed=function(e){lc&&lc(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(ta.push(t)!==1&&ic===Y.requestAnimationFrame||((ic=Y.requestAnimationFrame)||function(r){var n,o=function(){clearTimeout(a),pc&&cancelAnimationFrame(n),setTimeout(r)},a=setTimeout(o,100);pc&&(n=requestAnimationFrame(o))})(og)),He=void 0},Y.__c=function(e,t){t.some(function(r){try{r.__h.forEach(On),r.__h=r.__h.filter(function(n){return!n.__||ra(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Y.__e(n,r.__v)}}),uc&&uc(e,t)},Y.unmount=function(e){dc&&dc(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(On)}catch(r){Y.__e(r,t.__v)}};var pc=typeof requestAnimationFrame=="function";function On(e){var t=He;typeof e.__c=="function"&&e.__c(),He=t}function ra(e){var t=He;e.__c=e.__(),He=t}function Ua(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function fu(e,t){return typeof t=="function"?t(e):t}function pu(e,t){for(var r in t)e[r]=t[r];return e}function na(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function oa(e){this.props=e}(oa.prototype=new it).isPureReactComponent=!0,oa.prototype.shouldComponentUpdate=function(e,t){return na(this.props,e)||na(this.state,t)};var hc=Y.__b;Y.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),hc&&hc(e)};var ag=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,mc=function(e,t){return e==null?null:ft(ft(e).map(t))},ig={map:mc,forEach:mc,count:function(e){return e?ft(e).length:0},only:function(e){var t=ft(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:ft},cg=Y.__e;function En(){this.__u=0,this.t=null,this.__b=null}function hu(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Cr(){this.u=null,this.o=null}Y.__e=function(e,t,r){if(e.then){for(var n,o=t;o=o.__;)if((n=o.__c)&&n.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),n.__c(e,t)}cg(e,t,r)},(En.prototype=new it).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=hu(n.__v),a=!1,i=function(){a||(a=!0,r.componentWillUnmount=r.__c,o?o(c):c())};r.__c=r.componentWillUnmount,r.componentWillUnmount=function(){i(),r.__c&&r.__c()};var c=function(){if(!--n.__u){if(n.state.__e){var l=n.state.__e;n.__v.__k[0]=function f(d,h,b){return d&&(d.__v=null,d.__k=d.__k&&d.__k.map(function(_){return f(_,h,b)}),d.__c&&d.__c.__P===h&&(d.__e&&b.insertBefore(d.__e,d.__d),d.__c.__e=!0,d.__c.__P=b)),d}(l,l.__c.__P,l.__c.__O)}var u;for(n.setState({__e:n.__b=null});u=n.t.pop();)u.forceUpdate()}},s=t.__h===!0;n.__u++||s||n.setState({__e:n.__b=n.__v.__k[0]}),e.then(i,i)},En.prototype.componentWillUnmount=function(){this.t=[]},En.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=function a(i,c,s){return i&&(i.__c&&i.__c.__H&&(i.__c.__H.__.forEach(function(l){typeof l.__c=="function"&&l.__c()}),i.__c.__H=null),(i=pu({},i)).__c!=null&&(i.__c.__P===s&&(i.__c.__P=c),i.__c=null),i.__k=i.__k&&i.__k.map(function(l){return a(l,c,s)})),i}(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__e&&at(Dt,null,e.fallback);return o&&(o.__h=null),[at(Dt,null,t.__e?null:e.children),o]};var gc=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.i.removeChild(n)}}),Qr(at(sg,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function mu(e,t){return at(lg,{__v:e,i:t})}(Cr.prototype=new it).__e=function(e){var t=this,r=hu(t.__v),n=t.o.get(e);return n[0]++,function(o){var a=function(){t.props.revealOrder?(n.push(o),gc(t,e,n)):o()};r?r(a):a()}},Cr.prototype.render=function(e){this.u=null,this.o=new Map;var t=ft(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Cr.prototype.componentDidUpdate=Cr.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){gc(e,r,t)})};var gu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,ug=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,dg=function(e){return(typeof Symbol!="undefined"&&Wr(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function vu(e,t,r){return t.__k==null&&(t.textContent=""),Qr(e,t),typeof r=="function"&&r(),e?e.__c:null}it.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(it.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var vc=Y.event;function fg(){}function pg(){return this.cancelBubble}function hg(){return this.defaultPrevented}Y.event=function(e){return vc&&(e=vc(e)),e.persist=fg,e.isPropagationStopped=pg,e.isDefaultPrevented=hg,e.nativeEvent=e};var bu,bc={configurable:!0,get:function(){return this.class}},yc=Y.vnode;Y.vnode=function(e){var t=e.type,r=e.props,n=r;if(typeof t=="string"){for(var o in n={},r){var a=r[o];o==="value"&&"defaultValue"in r&&a==null||(o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&a===!0?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!dg(r.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():ug.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():a===null&&(a=void 0),n[o]=a)}t=="select"&&n.multiple&&Array.isArray(n.value)&&(n.value=ft(r.children).forEach(function(i){i.props.selected=n.value.indexOf(i.props.value)!=-1})),t=="select"&&n.defaultValue!=null&&(n.value=ft(r.children).forEach(function(i){i.props.selected=n.multiple?n.defaultValue.indexOf(i.props.value)!=-1:n.defaultValue==i.props.value})),e.props=n}t&&r.class!=r.className&&(bc.enumerable="className"in r,r.className!=null&&(n.class=r.className),Object.defineProperty(n,"className",bc)),e.$$typeof=gu,yc&&yc(e)};var _c=Y.__r;Y.__r=function(e){_c&&_c(e),bu=e.__c};var mg={ReactCurrentDispatcher:{current:{readContext:function(e){return bu.__n[e.__c].props.value}}}};(typeof performance=="undefined"?"undefined":Wr(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function wc(e){return!!e&&e.$$typeof===gu}var v={useState:lu,useReducer:uu,useEffect:du,useLayoutEffect:fc,useRef:function(e){return sr=5,Oo(function(){return{current:e}},[])},useImperativeHandle:function(e,t,r){sr=6,fc(function(){typeof e=="function"?e(t()):e&&(e.current=t())},r==null?r:r.concat(e))},useMemo:Oo,useCallback:function(e,t){return sr=8,Oo(function(){return e},t)},useContext:function(e){var t=He.context[e.__c],r=nn(vr++,9);return r.__c=e,t?(r.__==null&&(r.__=!0,t.sub(He)),t.props.value):e.__},useDebugValue:function(e,t){Y.useDebugValue&&Y.useDebugValue(t?t(e):e)},version:"16.8.0",Children:ig,render:vu,hydrate:function(e,t,r){return su(e,t),typeof r=="function"&&r(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Qr(null,e),!0)},createPortal:mu,createElement:at,createContext:function(e,t){var r={__c:t="__cC"+Xl++,__:e,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,a;return this.getChildContext||(o=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(ea)},this.sub=function(i){o.push(i);var c=i.componentWillUnmount;i.componentWillUnmount=function(){o.splice(o.indexOf(i),1),c&&c.call(i)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r},createFactory:function(e){return at.bind(null,e)},cloneElement:function(e){return wc(e)?ng.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Dt,isValidElement:wc,findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:it,PureComponent:oa,memo:function(e,t){function r(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:na(this.props,o)}function n(o){return this.shouldComponentUpdate=r,at(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n},forwardRef:function(e){function t(r,n){var o=pu({},r);return delete o.ref,e(o,(n=r.ref||n)&&(Wr(n)!="object"||"current"in n)?n:null)}return t.$$typeof=ag,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Dt,Suspense:En,SuspenseList:Cr,lazy:function(e){var t,r,n;function o(a){if(t||(t=e()).then(function(i){r=i.default||i},function(i){n=i}),n)throw n;if(!r)throw t;return at(r,a)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:mg};function gg(){return v.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},v.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function yu(){return v.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},v.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var vg=["translations"];function aa(){return aa=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var _g=v.forwardRef(function(e,t){var r=e.translations,n=r===void 0?{}:r,o=yg(e,vg),a=n.buttonText,i=a===void 0?"Search":a,c=n.buttonAriaLabel,s=c===void 0?"Search":c,l=bg(lu(null),2),u=l[0],f=l[1];return du(function(){typeof navigator!="undefined"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?f("\u2318"):f("Ctrl"))},[]),v.createElement("button",aa({type:"button",className:"DocSearch DocSearch-Button","aria-label":s},o,{ref:t}),v.createElement("span",{className:"DocSearch-Button-Container"},v.createElement(yu,null),v.createElement("span",{className:"DocSearch-Button-Placeholder"},i)),v.createElement("span",{className:"DocSearch-Button-Keys"},u!==null&&v.createElement(v.Fragment,null,v.createElement("kbd",{className:"DocSearch-Button-Key"},u==="Ctrl"?v.createElement(gg,null):u),v.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))});function Yr(e){return e.reduce(function(t,r){return t.concat(r)},[])}var wg=0;function ia(e){return e.collections.length===0?0:e.collections.reduce(function(t,r){return t+r.items.length},0)}var _u=function(){},xg=[{segment:"autocomplete-core",version:"1.7.1"}];function kn(e,t){var r=t;return{then:function(n,o){return kn(e.then(mn(n,r,e),mn(o,r,e)),r)},catch:function(n){return kn(e.catch(mn(n,r,e)),r)},finally:function(n){return n&&r.onCancelList.push(n),kn(e.finally(mn(n&&function(){return r.onCancelList=[],n()},r,e)),r)},cancel:function(){r.isCanceled=!0;var n=r.onCancelList;r.onCancelList=[],n.forEach(function(o){o()})},isCanceled:function(){return r.isCanceled===!0}}}function Sc(e){return kn(e,{isCanceled:!1,onCancelList:[]})}function mn(e,t,r){return e?function(n){return t.isCanceled?n:e(n)}:r}function Oc(e,t,r,n){if(!r)return null;if(e<0&&(t===null||n!==null&&t===0))return r+e;var o=(t===null?-1:t)+e;return o<=-1||o>=r?n===null?null:0:o}function Ec(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Sg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Og(e,t){var r=[];return Promise.resolve(e(t)).then(function(n){return Promise.all(n.filter(function(o){return Boolean(o)}).map(function(o){if(o.sourceId,r.includes(o.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(o.sourceId)," is not unique."));r.push(o.sourceId);var a=function(i){for(var c=1;ce.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Rc,Po,_n,Or=null,Lc=(Rc=-1,Po=-1,_n=void 0,function(e){var t=++Rc;return Promise.resolve(e).then(function(r){return _n&&t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Ug=["props","refresh","store"],$g=["inputElement","formElement","panelElement"],Vg=["inputElement"],Kg=["inputElement","maxLength"],Wg=["item","source"];function zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Qg(e){var t=e.props,r=e.refresh,n=e.store,o=Er(e,Ug);return{getEnvironmentProps:function(a){var i=a.inputElement,c=a.formElement,s=a.panelElement;function l(u){!n.getState().isOpen&&n.pendingRequests.isEmpty()||u.target===i||[c,s].some(function(f){return d=f,h=u.target,d===h||d.contains(h);var d,h})===!1&&(n.dispatch("blur",null),t.debug||n.pendingRequests.cancelAll())}return Re({onTouchStart:l,onMouseDown:l,onTouchMove:function(u){n.getState().isOpen!==!1&&i===t.environment.document.activeElement&&u.target!==i&&i.blur()}},Er(a,$g))},getRootProps:function(a){return Re({role:"combobox","aria-expanded":n.getState().isOpen,"aria-haspopup":"listbox","aria-owns":n.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},a)},getFormProps:function(a){return a.inputElement,Re({action:"",noValidate:!0,role:"search",onSubmit:function(i){var c;i.preventDefault(),t.onSubmit(Re({event:i,refresh:r,state:n.getState()},o)),n.dispatch("submit",null),(c=a.inputElement)===null||c===void 0||c.blur()},onReset:function(i){var c;i.preventDefault(),t.onReset(Re({event:i,refresh:r,state:n.getState()},o)),n.dispatch("reset",null),(c=a.inputElement)===null||c===void 0||c.focus()}},Er(a,Vg))},getLabelProps:function(a){return Re({htmlFor:"".concat(t.id,"-input"),id:"".concat(t.id,"-label")},a)},getInputProps:function(a){var i;function c(_){(t.openOnFocus||Boolean(n.getState().query))&&tr(Re({event:_,props:t,query:n.getState().completion||n.getState().query,refresh:r,store:n},o)),n.dispatch("focus",null)}var s=a||{},l=(s.inputElement,s.maxLength),u=l===void 0?512:l,f=Er(s,Kg),d=rr(n.getState()),h=function(_){return Boolean(_&&_.match(Eg))}(((i=t.environment.navigator)===null||i===void 0?void 0:i.userAgent)||""),b=d!=null&&d.itemUrl&&!h?"go":"search";return Re({"aria-autocomplete":"both","aria-activedescendant":n.getState().isOpen&&n.getState().activeItemId!==null?"".concat(t.id,"-item-").concat(n.getState().activeItemId):void 0,"aria-controls":n.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:n.getState().completion||n.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:b,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:u,type:"search",onChange:function(_){tr(Re({event:_,props:t,query:_.currentTarget.value.slice(0,u),refresh:r,store:n},o))},onKeyDown:function(_){(function(x){var m=x.event,y=x.props,E=x.refresh,S=x.store,P=qg(x,Fg);if(m.key==="ArrowUp"||m.key==="ArrowDown"){var N=function(){var L=y.environment.document.getElementById("".concat(y.id,"-item-").concat(S.getState().activeItemId));L&&(L.scrollIntoViewIfNeeded?L.scrollIntoViewIfNeeded(!1):L.scrollIntoView(!1))},R=function(){var L=rr(S.getState());if(S.getState().activeItemId!==null&&L){var z=L.item,ee=L.itemInputValue,U=L.itemUrl,X=L.source;X.onActive(Rt({event:m,item:z,itemInputValue:ee,itemUrl:U,refresh:E,source:X,state:S.getState()},P))}};m.preventDefault(),S.getState().isOpen===!1&&(y.openOnFocus||Boolean(S.getState().query))?tr(Rt({event:m,props:y,query:S.getState().query,refresh:E,store:S},P)).then(function(){S.dispatch(m.key,{nextActiveItemId:y.defaultActiveItemId}),R(),setTimeout(N,0)}):(S.dispatch(m.key,{}),R(),N())}else if(m.key==="Escape")m.preventDefault(),S.dispatch(m.key,null),S.pendingRequests.cancelAll();else if(m.key==="Tab")S.dispatch("blur",null),S.pendingRequests.cancelAll();else if(m.key==="Enter"){if(S.getState().activeItemId===null||S.getState().collections.every(function(L){return L.items.length===0}))return void(y.debug||S.pendingRequests.cancelAll());m.preventDefault();var w=rr(S.getState()),q=w.item,F=w.itemInputValue,$=w.itemUrl,k=w.source;if(m.metaKey||m.ctrlKey)$!==void 0&&(k.onSelect(Rt({event:m,item:q,itemInputValue:F,itemUrl:$,refresh:E,source:k,state:S.getState()},P)),y.navigator.navigateNewTab({itemUrl:$,item:q,state:S.getState()}));else if(m.shiftKey)$!==void 0&&(k.onSelect(Rt({event:m,item:q,itemInputValue:F,itemUrl:$,refresh:E,source:k,state:S.getState()},P)),y.navigator.navigateNewWindow({itemUrl:$,item:q,state:S.getState()}));else if(!m.altKey){if($!==void 0)return k.onSelect(Rt({event:m,item:q,itemInputValue:F,itemUrl:$,refresh:E,source:k,state:S.getState()},P)),void y.navigator.navigate({itemUrl:$,item:q,state:S.getState()});tr(Rt({event:m,nextState:{isOpen:!1},props:y,query:F,refresh:E,store:S},P)).then(function(){k.onSelect(Rt({event:m,item:q,itemInputValue:F,itemUrl:$,refresh:E,source:k,state:S.getState()},P))})}}})(Re({event:_,props:t,refresh:r,store:n},o))},onFocus:c,onBlur:_u,onClick:function(_){a.inputElement!==t.environment.document.activeElement||n.getState().isOpen||c(_)}},f)},getPanelProps:function(a){return Re({onMouseDown:function(i){i.preventDefault()},onMouseLeave:function(){n.dispatch("mouseleave",null)}},a)},getListProps:function(a){return Re({role:"listbox","aria-labelledby":"".concat(t.id,"-label"),id:"".concat(t.id,"-list")},a)},getItemProps:function(a){var i=a.item,c=a.source,s=Er(a,Wg);return Re({id:"".concat(t.id,"-item-").concat(i.__autocomplete_id),role:"option","aria-selected":n.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(l){if(i.__autocomplete_id!==n.getState().activeItemId){n.dispatch("mousemove",i.__autocomplete_id);var u=rr(n.getState());if(n.getState().activeItemId!==null&&u){var f=u.item,d=u.itemInputValue,h=u.itemUrl,b=u.source;b.onActive(Re({event:l,item:f,itemInputValue:d,itemUrl:h,refresh:r,source:b,state:n.getState()},o))}}},onMouseDown:function(l){l.preventDefault()},onClick:function(l){var u=c.getItemInputValue({item:i,state:n.getState()}),f=c.getItemUrl({item:i,state:n.getState()});(f?Promise.resolve():tr(Re({event:l,nextState:{isOpen:!1},props:t,query:u,refresh:r,store:n},o))).then(function(){c.onSelect(Re({event:l,item:i,itemInputValue:u,itemUrl:f,refresh:r,source:c,state:n.getState()},o))})}},s)}}}function Hc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Yg(e){for(var t=1;t0},reshape:function(d){return d.sources}},c),{},{id:(l=c.id)!==null&&l!==void 0?l:"autocomplete-".concat(wg++),plugins:f,initialState:Yt({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},c.initialState),onStateChange:function(d){var h;(h=c.onStateChange)===null||h===void 0||h.call(c,d),f.forEach(function(b){var _;return(_=b.onStateChange)===null||_===void 0?void 0:_.call(b,d)})},onSubmit:function(d){var h;(h=c.onSubmit)===null||h===void 0||h.call(c,d),f.forEach(function(b){var _;return(_=b.onSubmit)===null||_===void 0?void 0:_.call(b,d)})},onReset:function(d){var h;(h=c.onReset)===null||h===void 0||h.call(c,d),f.forEach(function(b){var _;return(_=b.onReset)===null||_===void 0?void 0:_.call(b,d)})},getSources:function(d){return Promise.all([].concat(Ig(f.map(function(h){return h.getSources})),[c.getSources]).filter(Boolean).map(function(h){return Og(h,d)})).then(function(h){return Yr(h)}).then(function(h){return h.map(function(b){return Yt(Yt({},b),{},{onSelect:function(_){b.onSelect(_),s.forEach(function(x){var m;return(m=x.onSelect)===null||m===void 0?void 0:m.call(x,_)})},onActive:function(_){b.onActive(_),s.forEach(function(x){var m;return(m=x.onActive)===null||m===void 0?void 0:m.call(x,_)})}})})})},navigator:Yt({navigate:function(d){var h=d.itemUrl;u.location.assign(h)},navigateNewTab:function(d){var h=d.itemUrl,b=u.open(h,"_blank","noopener");b==null||b.focus()},navigateNewWindow:function(d){var h=d.itemUrl;u.open(h,"_blank","noopener")}},c.navigator)})}(e,t),n=Cg(Xg,r,function(c){var s=c.prevState,l=c.state;r.onStateChange(Lt({prevState:s,state:l,refresh:i},o))}),o=function(c){var s=c.store;return{setActiveItemId:function(l){s.dispatch("setActiveItemId",l)},setQuery:function(l){s.dispatch("setQuery",l)},setCollections:function(l){var u=0,f=l.map(function(d){return vn(vn({},d),{},{items:Yr(d.items).map(function(h){return vn(vn({},h),{},{__autocomplete_id:u++})})})});s.dispatch("setCollections",f)},setIsOpen:function(l){s.dispatch("setIsOpen",l)},setStatus:function(l){s.dispatch("setStatus",l)},setContext:function(l){s.dispatch("setContext",l)}}}({store:n}),a=Qg(Lt({props:r,refresh:i,store:n},o));function i(){return tr(Lt({event:new Event("input"),nextState:{isOpen:n.getState().isOpen},props:r,query:n.getState().query,refresh:i,store:n},o))}return r.plugins.forEach(function(c){var s;return(s=c.subscribe)===null||s===void 0?void 0:s.call(c,Lt(Lt({},o),{},{refresh:i,onSelect:function(l){t.push({onSelect:l})},onActive:function(l){t.push({onActive:l})}}))}),function(c){var s,l,u=c.metadata,f=c.environment;if(!((s=f.navigator)===null||s===void 0||(l=s.userAgent)===null||l===void 0)&&l.includes("Algolia Crawler")){var d=f.document.createElement("meta"),h=f.document.querySelector("head");d.name="algolia:metadata",setTimeout(function(){d.content=JSON.stringify(u),h.appendChild(d)},0)}}({metadata:Gg({plugins:r.plugins,options:e}),environment:r.environment}),Lt(Lt({refresh:i},a),o)}function rv(e){var t=e.translations,r=(t===void 0?{}:t).searchByText,n=r===void 0?"Search by":r;return v.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},v.createElement("span",{className:"DocSearch-Label"},n),v.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img"},v.createElement("path",{d:"M2.5067 0h14.0245c1.384.001 2.5058 1.1205 2.5068 2.5017V16.5c-.0014 1.3808-1.1232 2.4995-2.5068 2.5H2.5067C1.1232 18.9995.0014 17.8808 0 16.5V2.4958A2.495 2.495 0 01.735.7294 2.505 2.505 0 012.5068 0zM37.95 15.0695c-3.7068.0168-3.7068-2.986-3.7068-3.4634L34.2372.3576 36.498 0v11.1794c0 .2715 0 1.9889 1.452 1.994v1.8961zm-9.1666-1.8388c.694 0 1.2086-.0397 1.5678-.1088v-2.2934a5.3639 5.3639 0 00-1.3303-.1679 4.8283 4.8283 0 00-.758.0582 2.2845 2.2845 0 00-.688.2024c-.2029.0979-.371.2362-.4919.4142-.1268.1788-.185.2826-.185.5533 0 .5297.185.8359.5205 1.0375.3355.2016.7928.3053 1.365.3053v-.0008zm-.1969-8.1817c.7463 0 1.3768.092 1.8856.2767.5088.1838.9195.4428 1.2204.7717.3068.334.5147.7777.6423 1.251.1327.4723.196.991.196 1.5603v5.798c-.5235.1036-1.05.192-1.5787.2649-.7048.1037-1.4976.156-2.3774.156-.5832 0-1.1215-.0582-1.6016-.167a3.385 3.385 0 01-1.2432-.5364 2.6034 2.6034 0 01-.8037-.9565c-.191-.3922-.29-.9447-.29-1.5208 0-.5533.11-.905.3246-1.2863a2.7351 2.7351 0 01.8849-.9329c.376-.242.8029-.415 1.2948-.5187a7.4517 7.4517 0 011.5381-.156 7.1162 7.1162 0 011.6667.2024V8.886c0-.259-.0296-.5061-.093-.7372a1.5847 1.5847 0 00-.3245-.6158 1.5079 1.5079 0 00-.6119-.4158 2.6788 2.6788 0 00-.966-.173c-.5206 0-.9948.0634-1.4283.1384a6.5481 6.5481 0 00-1.065.259l-.2712-1.849c.2831-.0986.7048-.1964 1.2491-.2943a9.2979 9.2979 0 011.752-.1501v.0008zm44.6597 8.1193c.6947 0 1.2086-.0405 1.567-.1097v-2.2942a5.3743 5.3743 0 00-1.3303-.1679c-.2485 0-.503.0177-.7573.0582a2.2853 2.2853 0 00-.688.2024 1.2333 1.2333 0 00-.4918.4142c-.1268.1788-.1843.2826-.1843.5533 0 .5297.1843.8359.5198 1.0375.3414.2066.7927.3053 1.365.3053v.0009zm-.191-8.1767c.7463 0 1.3768.0912 1.8856.2759.5087.1847.9195.4436 1.2204.7717.3.329.5147.7786.6414 1.251a5.7248 5.7248 0 01.197 1.562v5.7972c-.3466.0742-.874.1602-1.5788.2648-.7049.1038-1.4976.1552-2.3774.1552-.5832 0-1.1215-.0573-1.6016-.167a3.385 3.385 0 01-1.2432-.5356 2.6034 2.6034 0 01-.8038-.9565c-.191-.3922-.2898-.9447-.2898-1.5216 0-.5533.1098-.905.3245-1.2854a2.7373 2.7373 0 01.8849-.9338c.376-.2412.8029-.4141 1.2947-.5178a7.4545 7.4545 0 012.325-.1097c.2781.0287.5672.081.879.156v-.3686a2.7781 2.7781 0 00-.092-.738 1.5788 1.5788 0 00-.3246-.6166 1.5079 1.5079 0 00-.612-.415 2.6797 2.6797 0 00-.966-.1729c-.5205 0-.9947.0633-1.4282.1384a6.5608 6.5608 0 00-1.065.259l-.2712-1.8498c.283-.0979.7048-.1957 1.2491-.2935a9.8597 9.8597 0 011.752-.1494zm-6.79-1.072c-.7576.001-1.373-.6103-1.3759-1.3664 0-.755.6128-1.3664 1.376-1.3664.764 0 1.3775.6115 1.3775 1.3664s-.6195 1.3664-1.3776 1.3664zm1.1393 11.1507h-2.2726V5.3409l2.2734-.3568v10.0845l-.0008.0017zm-3.984 0c-3.707.0168-3.707-2.986-3.707-3.4642L59.7069.3576 61.9685 0v11.1794c0 .2715 0 1.9889 1.452 1.994V15.0703zm-7.3512-4.979c0-.975-.2138-1.7873-.6305-2.3516-.4167-.571-.9998-.852-1.747-.852-.7454 0-1.3302.281-1.7452.852-.4166.5702-.6195 1.3765-.6195 2.3516 0 .9851.208 1.6473.6254 2.2183.4158.576.9998.8587 1.7461.8587.7454 0 1.3303-.2885 1.747-.8595.4158-.5761.6237-1.2315.6237-2.2184v.0009zm2.3132-.006c0 .7609-.1099 1.3361-.3356 1.9654a4.654 4.654 0 01-.9533 1.6076A4.214 4.214 0 0155.613 14.69c-.579.2412-1.4697.3795-1.9143.3795-.4462-.005-1.3303-.1324-1.9033-.3795a4.307 4.307 0 01-1.474-1.0316c-.4115-.4445-.7293-.9801-.9609-1.6076a5.3423 5.3423 0 01-.3465-1.9653c0-.7608.104-1.493.3356-2.1155a4.683 4.683 0 01.9719-1.5958 4.3383 4.3383 0 011.479-1.0257c.5739-.242 1.2043-.3567 1.8864-.3567.6829 0 1.3125.1197 1.8906.3567a4.1245 4.1245 0 011.4816 1.0257 4.7587 4.7587 0 01.9592 1.5958c.2426.6225.3643 1.3547.3643 2.1155zm-17.0198 0c0 .9448.208 1.9932.6238 2.431.4166.4386.955.6579 1.6142.6579.3584 0 .6998-.0523 1.0176-.1502.3186-.0978.5721-.2134.775-.3517V7.0784a8.8706 8.8706 0 00-1.4926-.1906c-.8206-.0236-1.4452.312-1.8847.8468-.4335.5365-.6533 1.476-.6533 2.3516v-.0008zm6.2863 4.4485c0 1.5385-.3938 2.662-1.1866 3.3773-.791.7136-2.0005 1.0712-3.6308 1.0712-.5958 0-1.834-.1156-2.8228-.334l.3643-1.7865c.8282.173 1.9202.2193 2.4932.2193.9077 0 1.555-.1847 1.943-.5533.388-.3686.578-.916.578-1.643v-.3687a6.8289 6.8289 0 01-.8848.3349c-.3634.1096-.786.167-1.261.167-.6246 0-1.1917-.0979-1.7055-.2944a3.5554 3.5554 0 01-1.3244-.8645c-.3642-.3796-.6541-.8579-.8561-1.4289-.2028-.571-.3068-1.59-.3068-2.339 0-.7034.1099-1.5856.3245-2.1735.2198-.5871.5316-1.0949.9542-1.515.4167-.42.9255-.743 1.5213-.98a5.5923 5.5923 0 012.052-.3855c.7353 0 1.4114.092 2.0707.2024.6592.1088 1.2204.2236 1.6776.35v8.945-.0008zM11.5026 4.2418v-.6511c-.0005-.4553-.3704-.8241-.8266-.8241H8.749c-.4561 0-.826.3688-.8265.824v.669c0 .0742.0693.1264.1445.1096a6.0346 6.0346 0 011.6768-.2362 6.125 6.125 0 011.6202.2185.1116.1116 0 00.1386-.1097zm-5.2806.852l-.3296-.3282a.8266.8266 0 00-1.168 0l-.393.3922a.8199.8199 0 000 1.164l.3237.323c.0524.0515.1268.0397.1733-.0117.191-.259.3989-.507.6305-.7372.2374-.2362.48-.4437.7462-.6335.0575-.0354.0634-.1155.017-.1687zm3.5159 2.069v2.818c0 .081.0879.1392.1622.0987l2.5102-1.2964c.0574-.0287.0752-.0987.0464-.1552a3.1237 3.1237 0 00-2.603-1.574c-.0575 0-.115.0456-.115.1097l-.0008-.0009zm.0008 6.789c-2.0933.0005-3.7915-1.6912-3.7947-3.7804C5.9468 8.0821 7.6452 6.39 9.7387 6.391c2.0932-.0005 3.7911 1.6914 3.794 3.7804a3.7783 3.7783 0 01-1.1124 2.675 3.7936 3.7936 0 01-2.6824 1.1054h.0008zM9.738 4.8002c-1.9218 0-3.6975 1.0232-4.6584 2.6841a5.359 5.359 0 000 5.3683c.9609 1.661 2.7366 2.6841 4.6584 2.6841a5.3891 5.3891 0 003.8073-1.5725 5.3675 5.3675 0 001.578-3.7987 5.3574 5.3574 0 00-1.5771-3.797A5.379 5.379 0 009.7387 4.801l-.0008-.0008z",fill:"currentColor",fillRule:"evenodd"})))}function wn(e){return v.createElement("svg",{width:"15",height:"15","aria-label":e.ariaLabel,role:"img"},v.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function nv(e){var t=e.translations,r=t===void 0?{}:t,n=r.selectText,o=n===void 0?"to select":n,a=r.selectKeyAriaLabel,i=a===void 0?"Enter key":a,c=r.navigateText,s=c===void 0?"to navigate":c,l=r.navigateUpKeyAriaLabel,u=l===void 0?"Arrow up":l,f=r.navigateDownKeyAriaLabel,d=f===void 0?"Arrow down":f,h=r.closeText,b=h===void 0?"to close":h,_=r.closeKeyAriaLabel,x=_===void 0?"Escape key":_,m=r.searchByText,y=m===void 0?"Search by":m;return v.createElement(v.Fragment,null,v.createElement("div",{className:"DocSearch-Logo"},v.createElement(rv,{translations:{searchByText:y}})),v.createElement("ul",{className:"DocSearch-Commands"},v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(wn,{ariaLabel:i},v.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),v.createElement("span",{className:"DocSearch-Label"},o)),v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(wn,{ariaLabel:d},v.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(wn,{ariaLabel:u},v.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),v.createElement("span",{className:"DocSearch-Label"},s)),v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(wn,{ariaLabel:x},v.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),v.createElement("span",{className:"DocSearch-Label"},b))))}function ov(e){var t=e.hit,r=e.children;return v.createElement("a",{href:t.url},r)}function av(){return v.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},v.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),v.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},v.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function iv(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),v.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function ca(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function cv(){return v.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),v.createElement("path",{d:"M8 17l-6-6 6-6"})))}var sv=function(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function lv(e){switch(e.type){case"lvl1":return v.createElement(sv,null);case"content":return v.createElement(dv,null);default:return v.createElement(uv,null)}}function uv(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function dv(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function qc(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function fv(){return v.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function pv(){return v.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function hv(e){var t=e.translations,r=t===void 0?{}:t,n=r.titleText,o=n===void 0?"Unable to fetch results":n,a=r.helpText,i=a===void 0?"You might want to check your network connection.":a;return v.createElement("div",{className:"DocSearch-ErrorScreen"},v.createElement("div",{className:"DocSearch-Screen-Icon"},v.createElement(fv,null)),v.createElement("p",{className:"DocSearch-Title"},o),v.createElement("p",{className:"DocSearch-Help"},i))}var mv=["translations"];function gv(e){return function(t){if(Array.isArray(t))return Co(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,r){if(!!t){if(typeof t=="string")return Co(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Co(t,r)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Co(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function bv(e){var t=e.translations,r=t===void 0?{}:t,n=vv(e,mv),o=r.noResultsText,a=o===void 0?"No results for":o,i=r.suggestedQueryText,c=i===void 0?"Try searching for":i,s=r.reportMissingResultsText,l=s===void 0?"Believe this query should return results?":s,u=r.reportMissingResultsLinkText,f=u===void 0?"Let us know.":u,d=n.state.context.searchSuggestions;return v.createElement("div",{className:"DocSearch-NoResults"},v.createElement("div",{className:"DocSearch-Screen-Icon"},v.createElement(pv,null)),v.createElement("p",{className:"DocSearch-Title"},a,' "',v.createElement("strong",null,n.state.query),'"'),d&&d.length>0&&v.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},v.createElement("p",{className:"DocSearch-Help"},c,":"),v.createElement("ul",null,d.slice(0,3).reduce(function(h,b){return[].concat(gv(h),[v.createElement("li",{key:b},v.createElement("button",{className:"DocSearch-Prefill",key:b,type:"button",onClick:function(){n.setQuery(b.toLowerCase()+" "),n.refresh(),n.inputRef.current.focus()}},b))])},[]))),n.getMissingResultsUrl&&v.createElement("p",{className:"DocSearch-Help"},"".concat(l," "),v.createElement("a",{href:n.getMissingResultsUrl({query:n.state.query}),target:"_blank",rel:"noopener noreferrer"},f)))}var yv=["hit","attribute","tagName"];function Uc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function $c(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Vc(e,t){return t.split(".").reduce(function(r,n){return r!=null&&r[n]?r[n]:null},e)}function Gt(e){var t=e.hit,r=e.attribute,n=e.tagName;return at(n===void 0?"span":n,$c($c({},wv(e,yv)),{},{dangerouslySetInnerHTML:{__html:Vc(t,"_snippetResult.".concat(r,".value"))||Vc(t,r)}}))}function Kc(e,t){return function(r){if(Array.isArray(r))return r}(e)||function(r,n){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var a,i,c=[],s=!0,l=!1;try{for(o=o.call(r);!(s=(a=o.next()).done)&&(c.push(a.value),!n||c.length!==n);s=!0);}catch(u){l=!0,i=u}finally{try{s||o.return==null||o.return()}finally{if(l)throw i}}return c}}(e,t)||function(r,n){if(!!r){if(typeof r=="string")return Wc(r,n);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Wc(r,n)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Wc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r|<\/mark>)/g,Ov=RegExp(Su.source);function Ou(e){var t,r,n,o,a,i=e;if(!i.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var c=((i.__docsearch_parent?(t=i.__docsearch_parent)===null||t===void 0||(r=t._highlightResult)===null||r===void 0||(n=r.hierarchy)===null||n===void 0?void 0:n.lvl0:(o=e._highlightResult)===null||o===void 0||(a=o.hierarchy)===null||a===void 0?void 0:a.lvl0)||{}).value;return c&&Ov.test(c)?c.replace(Su,""):c}function la(){return la=Object.assign||function(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Cv(e){var t=e.translations,r=t===void 0?{}:t,n=Pv(e,kv),o=r.recentSearchesTitle,a=o===void 0?"Recent":o,i=r.noRecentSearchesText,c=i===void 0?"No recent searches":i,s=r.saveRecentSearchButtonTitle,l=s===void 0?"Save this search":s,u=r.removeRecentSearchButtonTitle,f=u===void 0?"Remove this search from history":u,d=r.favoriteSearchesTitle,h=d===void 0?"Favorite":d,b=r.removeFavoriteSearchButtonTitle,_=b===void 0?"Remove this search from favorites":b;return n.state.status==="idle"&&n.hasCollections===!1?n.disableUserPersonalization?null:v.createElement("div",{className:"DocSearch-StartScreen"},v.createElement("p",{className:"DocSearch-Help"},c)):n.hasCollections===!1?null:v.createElement("div",{className:"DocSearch-Dropdown-Container"},v.createElement(sa,$n({},n,{title:a,collection:n.state.collections[0],renderIcon:function(){return v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement(iv,null))},renderAction:function(x){var m=x.item,y=x.runFavoriteTransition,E=x.runDeleteTransition;return v.createElement(v.Fragment,null,v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:l,type:"submit",onClick:function(S){S.preventDefault(),S.stopPropagation(),y(function(){n.favoriteSearches.add(m),n.recentSearches.remove(m),n.refresh()})}},v.createElement(qc,null))),v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:f,type:"submit",onClick:function(S){S.preventDefault(),S.stopPropagation(),E(function(){n.recentSearches.remove(m),n.refresh()})}},v.createElement(ca,null))))}})),v.createElement(sa,$n({},n,{title:h,collection:n.state.collections[1],renderIcon:function(){return v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement(qc,null))},renderAction:function(x){var m=x.item,y=x.runDeleteTransition;return v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:_,type:"submit",onClick:function(E){E.preventDefault(),E.stopPropagation(),y(function(){n.favoriteSearches.remove(m),n.refresh()})}},v.createElement(ca,null)))}})))}var Dv=["translations"];function Vn(){return Vn=Object.assign||function(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Av=v.memo(function(e){var t=e.translations,r=t===void 0?{}:t,n=Iv(e,Dv);if(n.state.status==="error")return v.createElement(hv,{translations:r==null?void 0:r.errorScreen});var o=n.state.collections.some(function(a){return a.items.length>0});return n.state.query?o===!1?v.createElement(bv,Vn({},n,{translations:r==null?void 0:r.noResultsScreen})):v.createElement(Ev,n):v.createElement(Cv,Vn({},n,{hasCollections:o,translations:r==null?void 0:r.startScreen}))},function(e,t){return t.state.status==="loading"||t.state.status==="stalled"}),jv=["translations"];function Kn(){return Kn=Object.assign||function(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Rv(e){var t=e.translations,r=t===void 0?{}:t,n=Tv(e,jv),o=r.resetButtonTitle,a=o===void 0?"Clear the query":o,i=r.resetButtonAriaLabel,c=i===void 0?"Clear the query":i,s=r.cancelButtonText,l=s===void 0?"Cancel":s,u=r.cancelButtonAriaLabel,f=u===void 0?"Cancel":u,d=n.getFormProps({inputElement:n.inputRef.current}).onReset;return v.useEffect(function(){n.autoFocus&&n.inputRef.current&&n.inputRef.current.focus()},[n.autoFocus,n.inputRef]),v.useEffect(function(){n.isFromSelection&&n.inputRef.current&&n.inputRef.current.select()},[n.isFromSelection,n.inputRef]),v.createElement(v.Fragment,null,v.createElement("form",{className:"DocSearch-Form",onSubmit:function(h){h.preventDefault()},onReset:d},v.createElement("label",Kn({className:"DocSearch-MagnifierLabel"},n.getLabelProps()),v.createElement(yu,null)),v.createElement("div",{className:"DocSearch-LoadingIndicator"},v.createElement(av,null)),v.createElement("input",Kn({className:"DocSearch-Input",ref:n.inputRef},n.getInputProps({inputElement:n.inputRef.current,autoFocus:n.autoFocus,maxLength:64}))),v.createElement("button",{type:"reset",title:a,className:"DocSearch-Reset","aria-label":c,hidden:!n.state.query},v.createElement(ca,null))),v.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":f,onClick:n.onClose},l))}var Lv=["_highlightResult","_snippetResult"];function Nv(e,t){if(e==null)return{};var r,n,o=function(i,c){if(i==null)return{};var s,l,u={},f=Object.keys(i);for(l=0;l=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function zv(e){return function(){var t="__TEST_KEY__";try{return localStorage.setItem(t,""),localStorage.removeItem(t),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function Yc(e){var t=e.key,r=e.limit,n=r===void 0?5:r,o=zv(t),a=o.getItem().slice(0,n);return{add:function(i){var c=i,s=(c._highlightResult,c._snippetResult,Nv(c,Lv)),l=a.findIndex(function(u){return u.objectID===s.objectID});l>-1&&a.splice(l,1),a.unshift(s),a=a.slice(0,n),o.setItem(a)},remove:function(i){a=a.filter(function(c){return c.objectID!==i.objectID}),o.setItem(a)},getAll:function(){return a}}}var Hv=["facetName","facetQuery"];function Mv(e){var t,r="algoliasearch-client-js-".concat(e.key),n=function(){return t===void 0&&(t=e.localStorage||window.localStorage),t},o=function(){return JSON.parse(n().getItem(r)||"{}")};return{get:function(a,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var s=JSON.stringify(a),l=o()[s];return Promise.all([l||i(),l!==void 0])}).then(function(s){var l=Mn(s,2),u=l[0],f=l[1];return Promise.all([u,f||c.miss(u)])}).then(function(s){return Mn(s,1)[0]})},set:function(a,i){return Promise.resolve().then(function(){var c=o();return c[JSON.stringify(a)]=i,n().setItem(r,JSON.stringify(c)),i})},delete:function(a){return Promise.resolve().then(function(){var i=o();delete i[JSON.stringify(a)],n().setItem(r,JSON.stringify(i))})},clear:function(){return Promise.resolve().then(function(){n().removeItem(r)})}}}function Dr(e){var t=Fn(e.caches),r=t.shift();return r===void 0?{get:function(n,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(i){return Promise.all([i,a.miss(i)])}).then(function(i){return Mn(i,1)[0]})},set:function(n,o){return Promise.resolve(o)},delete:function(n){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(n,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(n,o,a).catch(function(){return Dr({caches:t}).get(n,o,a)})},set:function(n,o){return r.set(n,o).catch(function(){return Dr({caches:t}).set(n,o)})},delete:function(n){return r.delete(n).catch(function(){return Dr({caches:t}).delete(n)})},clear:function(){return r.clear().catch(function(){return Dr({caches:t}).clear()})}}}function Do(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var i=n(),c=o&&o.miss||function(){return Promise.resolve()};return i.then(function(s){return c(s)}).then(function(){return i})},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(r){return delete t[JSON.stringify(r)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Fv(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function Eu(e,t){return t&&Object.keys(t).forEach(function(r){e[r]=t[r](e)}),e}function co(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var nr={Read:1,Write:2,Any:3},ku=1,Bv=2,Pu=3;function Cu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ku;return de(de({},e),{},{status:t,lastUpdate:Date.now()})}function Du(e){return typeof e=="string"?{protocol:"https",url:e,accept:nr.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||nr.Any}}var Zc="GET",so="POST";function qv(e,t){return Promise.all(t.map(function(r){return e.get(r,function(){return Promise.resolve(Cu(r))})})).then(function(r){var n=r.filter(function(i){return function(c){return c.status===ku||Date.now()-c.lastUpdate>12e4}(i)}),o=r.filter(function(i){return function(c){return c.status===Pu&&Date.now()-c.lastUpdate<=12e4}(i)}),a=[].concat(Fn(n),Fn(o));return{getTimeout:function(i,c){return(o.length===0&&i===0?1:o.length+3+i)*c},statelessHosts:a.length>0?a.map(function(i){return Du(i)}):t}})}function Xc(e,t,r,n){var o=[],a=function(d,h){if(!(d.method===Zc||d.data===void 0&&h.data===void 0)){var b=Array.isArray(d.data)?d.data:de(de({},d.data),h.data);return JSON.stringify(b)}}(r,n),i=function(d,h){var b=de(de({},d.headers),h.headers),_={};return Object.keys(b).forEach(function(x){var m=b[x];_[x.toLowerCase()]=m}),_}(e,n),c=r.method,s=r.method!==Zc?{}:de(de({},r.data),n.data),l=de(de(de({"x-algolia-agent":e.userAgent.value},e.queryParameters),s),n.queryParameters),u=0,f=function d(h,b){var _=h.pop();if(_===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:es(o)};var x={data:a,headers:i,method:c,url:$v(_,r.path,l),connectTimeout:b(u,e.timeouts.connect),responseTimeout:b(u,n.timeout)},m=function(E){var S={request:x,response:E,host:_,triesLeft:h.length};return o.push(S),S},y={onSucess:function(E){return function(S){try{return JSON.parse(S.content)}catch(P){throw function(N,R){return{name:"DeserializationError",message:N,response:R}}(P.message,S)}}(E)},onRetry:function(E){var S=m(E);return E.isTimedOut&&u++,Promise.all([e.logger.info("Retryable failure",Au(S)),e.hostsCache.set(_,Cu(_,E.isTimedOut?Pu:Bv))]).then(function(){return d(h,b)})},onFail:function(E){throw m(E),function(S,P){var N=S.content,R=S.status,w=N;try{w=JSON.parse(N).message}catch{}return function(q,F,$){return{name:"ApiError",message:q,status:F,transporterStackTrace:$}}(w,R,P)}(E,es(o))}};return e.requester.send(x).then(function(E){return function(S,P){return function(N){var R=N.status;return N.isTimedOut||function(w){var q=w.isTimedOut,F=w.status;return!q&&~~F==0}(N)||~~(R/100)!=2&&~~(R/100)!=4}(S)?P.onRetry(S):~~(S.status/100)==2?P.onSucess(S):P.onFail(S)}(E,y)})};return qv(e.hostsCache,t).then(function(d){return f(Fn(d.statelessHosts).reverse(),d.getTimeout)})}function Uv(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(r){var n="; ".concat(r.segment).concat(r.version!==void 0?" (".concat(r.version,")"):"");return t.value.indexOf(n)===-1&&(t.value="".concat(t.value).concat(n)),t}};return t}function $v(e,t,r){var n=Iu(r),o="".concat(e.protocol,"://").concat(e.url,"/").concat(t.charAt(0)==="/"?t.substr(1):t);return n.length&&(o+="?".concat(n)),o}function Iu(e){return Object.keys(e).map(function(t){return co("%s=%s",t,(r=e[t],Object.prototype.toString.call(r)==="[object Object]"||Object.prototype.toString.call(r)==="[object Array]"?JSON.stringify(e[t]):e[t]));var r}).join("&")}function es(e){return e.map(function(t){return Au(t)})}function Au(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return de(de({},e),{},{request:de(de({},e.request),{},{headers:de(de({},e.request.headers),t)})})}var Vv=function(e){var t=e.appId,r=function(a,i,c){var s={"x-algolia-api-key":c,"x-algolia-application-id":i};return{headers:function(){return a===Pn.WithinHeaders?s:{}},queryParameters:function(){return a===Pn.WithinQueryParameters?s:{}}}}(e.authMode!==void 0?e.authMode:Pn.WithinHeaders,t,e.apiKey),n=function(a){var i=a.hostsCache,c=a.logger,s=a.requester,l=a.requestsCache,u=a.responsesCache,f=a.timeouts,d=a.userAgent,h=a.hosts,b=a.queryParameters,_={hostsCache:i,logger:c,requester:s,requestsCache:l,responsesCache:u,timeouts:f,userAgent:d,headers:a.headers,queryParameters:b,hosts:h.map(function(x){return Du(x)}),read:function(x,m){var y=Gc(m,_.timeouts.read),E=function(){return Xc(_,_.hosts.filter(function(P){return(P.accept&nr.Read)!=0}),x,y)};if((y.cacheable!==void 0?y.cacheable:x.cacheable)!==!0)return E();var S={request:x,mappedRequestOptions:y,transporter:{queryParameters:_.queryParameters,headers:_.headers}};return _.responsesCache.get(S,function(){return _.requestsCache.get(S,function(){return _.requestsCache.set(S,E()).then(function(P){return Promise.all([_.requestsCache.delete(S),P])},function(P){return Promise.all([_.requestsCache.delete(S),Promise.reject(P)])}).then(function(P){var N=Mn(P,2);return N[0],N[1]})})},{miss:function(P){return _.responsesCache.set(S,P)}})},write:function(x,m){return Xc(_,_.hosts.filter(function(y){return(y.accept&nr.Write)!=0}),x,Gc(m,_.timeouts.write))}};return _}(de(de({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:nr.Read},{url:"".concat(t,".algolia.net"),accept:nr.Write}].concat(Fv([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:de(de(de({},r.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:de(de({},r.queryParameters()),e.queryParameters)})),o={transporter:n,appId:t,addAlgoliaAgent:function(a,i){n.userAgent.add({segment:a,version:i})},clearCache:function(){return Promise.all([n.requestsCache.clear(),n.responsesCache.clear()]).then(function(){})}};return Eu(o,e.methods)},ju=function(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n={transporter:e.transporter,appId:e.appId,indexName:t};return Eu(n,r.methods)}},ts=function(e){return function(t,r){var n=t.map(function(o){return de(de({},o),{},{params:Iu(o.params||{})})});return e.transporter.read({method:so,path:"1/indexes/*/queries",data:{requests:n},cacheable:!0},r)}},rs=function(e){return function(t,r){return Promise.all(t.map(function(n){var o=n.params,a=o.facetName,i=o.facetQuery,c=Xm(o,Hv);return ju(e)(n.indexName,{methods:{searchForFacetValues:Tu}}).searchForFacetValues(a,i,de(de({},r),c))}))}},Kv=function(e){return function(t,r,n){return e.transporter.read({method:so,path:co("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},Wv=function(e){return function(t,r){return e.transporter.read({method:so,path:co("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},Tu=function(e){return function(t,r,n){return e.transporter.read({method:so,path:co("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},Jv=1,Qv=2,Yv=3;function Ru(e,t,r){var n,o={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(a){return new Promise(function(i){var c=new XMLHttpRequest;c.open(a.method,a.url,!0),Object.keys(a.headers).forEach(function(f){return c.setRequestHeader(f,a.headers[f])});var s,l=function(f,d){return setTimeout(function(){c.abort(),i({status:0,content:d,isTimedOut:!0})},1e3*f)},u=l(a.connectTimeout,"Connection timeout");c.onreadystatechange=function(){c.readyState>c.OPENED&&s===void 0&&(clearTimeout(u),s=l(a.responseTimeout,"Socket timeout"))},c.onerror=function(){c.status===0&&(clearTimeout(u),clearTimeout(s),i({content:c.responseText||"Network request failed",status:c.status,isTimedOut:!1}))},c.onload=function(){clearTimeout(u),clearTimeout(s),i({content:c.responseText,status:c.status,isTimedOut:!1})},c.send(a.data)})}},logger:(n=Yv,{debug:function(a,i){return Jv>=n&&console.debug(a,i),Promise.resolve()},info:function(a,i){return Qv>=n&&console.info(a,i),Promise.resolve()},error:function(a,i){return console.error(a,i),Promise.resolve()}}),responsesCache:Do(),requestsCache:Do({serializable:!1}),hostsCache:Dr({caches:[Mv({key:"".concat("4.8.5","-").concat(e)}),Do()]}),userAgent:Uv("4.8.5").add({segment:"Browser",version:"lite"}),authMode:Pn.WithinQueryParameters};return Vv(de(de(de({},o),r),{},{methods:{search:ts,searchForFacetValues:rs,multipleQueries:ts,multipleSearchForFacetValues:rs,initIndex:function(a){return function(i){return ju(a)(i,{methods:{search:Wv,searchForFacetValues:Tu,findAnswers:Kv}})}}}}))}Ru.version="4.8.5";var Gv=["footer","searchBox"];function Mr(){return Mr=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function tb(e){var t=e.appId,r=e.apiKey,n=e.indexName,o=e.placeholder,a=o===void 0?"Search docs":o,i=e.searchParameters,c=e.onClose,s=c===void 0?Sv:c,l=e.transformItems,u=l===void 0?Qc:l,f=e.hitComponent,d=f===void 0?ov:f,h=e.resultsFooterComponent,b=h===void 0?function(){return null}:h,_=e.navigator,x=e.initialScrollY,m=x===void 0?0:x,y=e.transformSearchClient,E=y===void 0?Qc:y,S=e.disableUserPersonalization,P=S!==void 0&&S,N=e.initialQuery,R=N===void 0?"":N,w=e.translations,q=w===void 0?{}:w,F=e.getMissingResultsUrl,$=q.footer,k=q.searchBox,L=eb(q,Gv),z=Xv(v.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),ee=z[0],U=z[1],X=v.useRef(null),re=v.useRef(null),xe=v.useRef(null),Ee=v.useRef(null),Pe=v.useRef(null),Se=v.useRef(10),Ae=v.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,Be=v.useRef(R||Ae).current,D=function(p,g,O){return v.useMemo(function(){var C=Ru(p,g);return C.addAlgoliaAgent("docsearch","3.1.1"),/docsearch.js \(.*\)/.test(C.transporter.userAgent.value)===!1&&C.addAlgoliaAgent("docsearch-react","3.1.1"),O(C)},[p,g,O])}(t,r,E),V=v.useRef(Yc({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(n),limit:10})).current,H=v.useRef(Yc({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(n),limit:V.getAll().length===0?7:4})).current,K=v.useCallback(function(p){if(!P){var g=p.type==="content"?p.__docsearch_parent:p;g&&V.getAll().findIndex(function(O){return O.objectID===g.objectID})===-1&&H.add(g)}},[V,H,P]),ce=v.useMemo(function(){return tv({id:"docsearch",defaultActiveItemId:0,placeholder:a,openOnFocus:!0,initialState:{query:Be,context:{searchSuggestions:[]}},navigator:_,onStateChange:function(p){U(p.state)},getSources:function(p){var g=p.query,O=p.state,C=p.setContext,I=p.setStatus;return g?D.search([{query:g,indexName:n,params:Io({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(Se.current),"hierarchy.lvl2:".concat(Se.current),"hierarchy.lvl3:".concat(Se.current),"hierarchy.lvl4:".concat(Se.current),"hierarchy.lvl5:".concat(Se.current),"hierarchy.lvl6:".concat(Se.current),"content:".concat(Se.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20},i)}]).catch(function(A){throw A.name==="RetryError"&&I("error"),A}).then(function(A){var M=A.results[0],T=M.hits,B=M.nbHits,j=Jc(T,function(Q){return Ou(Q)});return O.context.searchSuggestions.length0&&(te(),Pe.current&&Pe.current.focus())},[Be,te]),v.useEffect(function(){function p(){if(re.current){var g=.01*window.innerHeight;re.current.style.setProperty("--docsearch-vh","".concat(g,"px"))}}return p(),window.addEventListener("resize",p),function(){window.removeEventListener("resize",p)}},[]),v.createElement("div",Mr({ref:X},ne({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",ee.status==="stalled"&&"DocSearch-Container--Stalled",ee.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(p){p.target===p.currentTarget&&s()}}),v.createElement("div",{className:"DocSearch-Modal",ref:re},v.createElement("header",{className:"DocSearch-SearchBar",ref:xe},v.createElement(Rv,Mr({},ce,{state:ee,autoFocus:Be.length===0,inputRef:Pe,isFromSelection:Boolean(Be)&&Be===Ae,translations:k,onClose:s}))),v.createElement("div",{className:"DocSearch-Dropdown",ref:Ee},v.createElement(Av,Mr({},ce,{indexName:n,state:ee,hitComponent:d,resultsFooterComponent:b,disableUserPersonalization:P,recentSearches:H,favoriteSearches:V,inputRef:Pe,translations:L,getMissingResultsUrl:F,onItemClick:function(p){K(p),s()}}))),v.createElement("footer",{className:"DocSearch-Footer"},v.createElement(nv,{translations:$}))))}function ua(){return ua=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:window;return typeof t=="string"?r.document.querySelector(t):t}(e.container,e.environment))}const ob=e=>e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey,ab=()=>{const e=io(),t=Ol();return{hitComponent:({hit:r,children:n})=>{const o=bp(r.url,t.value.base);return{type:"a",ref:void 0,constructor:void 0,key:void 0,props:{href:r.url,onClick:a=>{ob(a)||(a.preventDefault(),e.push(o))},children:n},__v:null}},navigator:{navigate:({itemUrl:r})=>{e.push(r)}},transformSearchClient:r=>{const n=La(r.search,500);return{...r,search:async(...o)=>n(...o)}}}};const ib=We({name:"Docsearch",props:{containerId:{type:String,required:!1,default:"docsearch-container"},options:{type:Object,required:!0}},setup(e){const t=Sl(),r=xl(),n=ab(),o=we(()=>{var c;return{...e.options,...(c=e.options.locales)==null?void 0:c[t.value]}}),a=[],i=()=>{var s,l;const c=(l=(s=o.value.searchParameters)==null?void 0:s.facetFilters)!=null?l:[];a.splice(0,a.length,`lang:${r.value}`,...Z(c)?c:[c]),nb({...n,...o.value,container:`#${e.containerId}`,searchParameters:{...o.value.searchParameters,facetFilters:a}})};return mt(()=>{i(),rt([t,o],([c,s],[l,u])=>{c!==l&&JSON.stringify(s)!==JSON.stringify(u)&&i()}),rt(r,(c,s)=>{if(c!==s){const l=a.findIndex(u=>u===`lang:${s}`);l>-1&&a.splice(l,1,`lang:${c}`)}})}),()=>_e("div",{id:e.containerId})}}),cb={apiKey:"cf1d8a01f6ea082eb7e186491f304ad6",indexName:"BlazeB2",appId:"NMU3PE3UD9"};var sb=It({enhance({app:e}){e.component("Docsearch",()=>_e(ib,{options:cb}))}}),lb={enhance:({app:e})=>{e.component("Comments",Ce(()=>se(()=>import("./b2comments.b3e3d466.js"),[])))}};const Ao=[Lh,Hh,qh,em,om,lm,Gm,sb,lb],ub=[["v-8daa1a0e","/",{title:""},["/index.html","/README.md"]],["v-2d0a870d","/en/",{title:""},["/en/index.html","/en/README.md"]],["v-2d0ad528","/zh/",{title:""},["/zh/index.html","/zh/README.md"]],["v-552348d7","/en/guide/config.html",{title:"\u56FE\u5E8A\u914D\u7F6E"},["/en/guide/config","/en/guide/config.md"]],["v-0cd3f8c9","/en/guide/contribution.html",{title:"\u8D21\u732E\u6307\u5357"},["/en/guide/contribution","/en/guide/contribution.md"]],["v-53161a52","/en/guide/deploy.html",{title:"\u4E00\u952E\u90E8\u7F72"},["/en/guide/deploy","/en/guide/deploy.md"]],["v-e6412400","/en/guide/",{title:"\u5FEB\u901F\u4E0A\u624B"},["/en/guide/index.html","/en/guide/index.md"]],["v-3e9371aa","/en/guide/page.html",{title:"\u5F00\u59CB\u4F7F\u7528"},["/en/guide/page","/en/guide/page.md"]],["v-361c421a","/en/guide/summary.html",{title:"\u6982\u8FF0"},["/en/guide/summary","/en/guide/summary.md"]],["v-f928d7c8","/zh/guide/config.html",{title:"\u56FE\u5E8A\u914D\u7F6E"},["/zh/guide/config","/zh/guide/config.md"]],["v-1a85fc4e","/zh/guide/contribution.html",{title:"\u8D21\u732E\u6307\u5357"},["/zh/guide/contribution","/zh/guide/contribution.md"]],["v-fd4334d2","/zh/guide/deploy.html",{title:"\u4E00\u952E\u90E8\u7F72"},["/zh/guide/deploy","/zh/guide/deploy.md"]],["v-47357bdb","/zh/guide/",{title:"\u5FEB\u901F\u4E0A\u624B"},["/zh/guide/index.html","/zh/guide/index.md"]],["v-7a8fca2f","/zh/guide/page.html",{title:"\u5F00\u59CB\u4F7F\u7528"},["/zh/guide/page","/zh/guide/page.md"]],["v-7fb2fc4e","/zh/guide/summary.html",{title:"\u6982\u8FF0"},["/zh/guide/summary","/zh/guide/summary.md"]],["v-3706649a","/404.html",{title:""},["/404"]]];var db=()=>ub.reduce((e,[t,r,n,o])=>(e.push({name:t,path:r,component:Ci,meta:n},...o.map(a=>({path:a,redirect:r}))),e),[{name:"404",path:"/:catchAll(.*)",component:Ci}]),fb=Vp,pb=()=>{const e=Ch({history:fb(gp(Ot.value.base)),routes:db(),scrollBehavior:(t,r,n)=>n||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,r)=>{var n;(t.path!==r.path||r===st)&&([ut.value]=await Promise.all([zt.resolvePageData(t.name),(n=gl[t.name])==null?void 0:n.__asyncLoader()]))}),e},hb=e=>{e.component("ClientOnly",Op),e.component("Content",Ep)},mb=(e,t)=>{const r=we(()=>zt.resolveRouteLocale(Ot.value.locales,t.currentRoute.value.path)),n=we(()=>zt.resolveSiteLocaleData(Ot.value,r.value)),o=we(()=>zt.resolvePageFrontmatter(ut.value)),a=we(()=>zt.resolvePageHeadTitle(ut.value,n.value)),i=we(()=>zt.resolvePageHead(a.value,o.value,n.value)),c=we(()=>zt.resolvePageLang(ut.value));return e.provide(Ra,r),e.provide(El,n),e.provide(yl,o),e.provide(xp,a),e.provide(_l,i),e.provide(wl,c),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>o.value},$head:{get:()=>i.value},$headTitle:{get:()=>a.value},$lang:{get:()=>c.value},$page:{get:()=>ut.value},$routeLocale:{get:()=>r.value},$site:{get:()=>Ot.value},$siteLocale:{get:()=>n.value},$withBase:{get:()=>kp}}),{pageData:ut,pageFrontmatter:o,pageHead:i,pageHeadTitle:a,pageLang:c,routeLocale:r,siteData:Ot,siteLocaleData:n}},gb=()=>{const e=Ha(),t=wp(),r=xl(),n=Ne([]),o=()=>{t.value.forEach(i=>{const c=vb(i);c&&n.value.push(c)})},a=()=>{document.documentElement.lang=r.value,n.value.forEach(i=>{i.parentNode===document.head&&document.head.removeChild(i)}),n.value.splice(0,n.value.length),t.value.forEach(i=>{const c=bb(i);c!==null&&(document.head.appendChild(c),n.value.push(c))})};$t(Sp,a),mt(()=>{o(),a(),rt(()=>e.path,()=>a())})},vb=([e,t,r=""])=>{const n=Object.entries(t).map(([c,s])=>be(s)?`[${c}="${s}"]`:s===!0?`[${c}]`:"").join(""),o=`head > ${e}${n}`;return Array.from(document.querySelectorAll(o)).find(c=>c.innerText===r)||null},bb=([e,t,r])=>{if(!be(e))return null;const n=document.createElement(e);return hl(t)&&Object.entries(t).forEach(([o,a])=>{be(a)?n.setAttribute(o,a):a===!0&&n.setAttribute(o,"")}),be(r)&&n.appendChild(document.createTextNode(r)),n},yb=up,_b=async()=>{var r;const e=yb({name:"VuepressApp",setup(){var n;gb();for(const o of Ao)(n=o.setup)==null||n.call(o);return()=>[_e(zl),...Ao.flatMap(({rootComponents:o=[]})=>o.map(a=>_e(a)))]}}),t=pb();hb(e),mb(e,t);for(const n of Ao)await((r=n.enhance)==null?void 0:r.call(n,{app:e,router:t,siteData:Ot}));return e.use(t),{app:e,router:t}};_b().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Sb as $,Ol as A,Ab as B,jb as C,_e as D,kp as E,Fe as F,Op as G,Gr as H,Ne as I,rt as J,xb as K,Cb as L,vp as M,gp as N,io as O,be as P,Um as Q,mt as R,Wn as S,Ta as T,tn as U,Tb as V,hl as W,Pb as X,Ca as Y,Vm as Z,Bl as _,Eb as a,sl as b,al as c,_b as createVueApp,Oe as d,Aa as e,We as f,Yl as g,Ut as h,_p as i,we as j,Z as k,Ob as l,kb as m,Ha as n,to as o,wb as p,il as q,nf as r,kf as s,Uu as t,Sl as u,Ws as v,Md as w,mp as x,Db as y,Ib as z}; diff --git a/docs/docs/.vuepress/dist/assets/b2comments.b3e3d466.js b/docs/docs/.vuepress/dist/assets/b2comments.b3e3d466.js deleted file mode 100644 index 7444831..0000000 --- a/docs/docs/.vuepress/dist/assets/b2comments.b3e3d466.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./app.b9af7f8c.js";const m={};var s=e(m,[["__file","b2comments.vue"]]);export{s as default}; diff --git a/docs/docs/.vuepress/dist/assets/back-to-top.8efcbe56.svg b/docs/docs/.vuepress/dist/assets/back-to-top.8efcbe56.svg deleted file mode 100644 index 8323678..0000000 --- a/docs/docs/.vuepress/dist/assets/back-to-top.8efcbe56.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/docs/.vuepress/dist/assets/config.html.48a2114c.js b/docs/docs/.vuepress/dist/assets/config.html.48a2114c.js deleted file mode 100644 index ea81b8f..0000000 --- a/docs/docs/.vuepress/dist/assets/config.html.48a2114c.js +++ /dev/null @@ -1 +0,0 @@ -const t=JSON.parse('{"key":"v-f928d7c8","path":"/zh/guide/config.html","title":"\u56FE\u5E8A\u914D\u7F6E","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u56FE\u5E8A\u914D\u7F6E","description":"\u4F7F\u7528\u65B9\u6CD5"},"excerpt":"","headers":[],"git":{"updatedTime":1657012595000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":3}]},"filePathRelative":"zh/guide/config.md"}');export{t as data}; diff --git a/docs/docs/.vuepress/dist/assets/config.html.51980192.js b/docs/docs/.vuepress/dist/assets/config.html.51980192.js deleted file mode 100644 index 75aaba1..0000000 --- a/docs/docs/.vuepress/dist/assets/config.html.51980192.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as c,c as o}from"./app.b9af7f8c.js";const r={};function t(_,n){return c(),o("div")}var f=e(r,[["render",t],["__file","config.html.vue"]]);export{f as default}; diff --git a/docs/docs/.vuepress/dist/assets/config.html.6a8b9b97.js b/docs/docs/.vuepress/dist/assets/config.html.6a8b9b97.js deleted file mode 100644 index b484f4d..0000000 --- a/docs/docs/.vuepress/dist/assets/config.html.6a8b9b97.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-552348d7","path":"/en/guide/config.html","title":"\u56FE\u5E8A\u914D\u7F6E","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u56FE\u5E8A\u914D\u7F6E","description":"\u4F7F\u7528\u65B9\u6CD5"},"excerpt":"","headers":[],"git":{"updatedTime":1656772393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":1}]},"filePathRelative":"en/guide/config.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/config.html.93bfbc2b.js b/docs/docs/.vuepress/dist/assets/config.html.93bfbc2b.js deleted file mode 100644 index b34e6d2..0000000 --- a/docs/docs/.vuepress/dist/assets/config.html.93bfbc2b.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o,r as n,o as t,c,d as r}from"./app.b9af7f8c.js";const s={};function _(a,m){const e=n("Comments");return t(),c("div",null,[r(e)])}var f=o(s,[["render",_],["__file","config.html.vue"]]);export{f as default}; diff --git a/docs/docs/.vuepress/dist/assets/contribution.html.0a2d1e36.js b/docs/docs/.vuepress/dist/assets/contribution.html.0a2d1e36.js deleted file mode 100644 index 3c47fda..0000000 --- a/docs/docs/.vuepress/dist/assets/contribution.html.0a2d1e36.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,o as e,c as r,a as i}from"./app.b9af7f8c.js";const t={},n=i('

\u8D21\u732E\u6307\u5357

waiting

\u8D21\u732E\u987B\u77E5

waiting

\u4EE3\u7801\u89C4\u8303

waiting

\u63D0\u4EA4\u89C4\u8303

',7),h=[n];function d(c,o){return e(),r("div",null,h)}var _=a(t,[["render",d],["__file","contribution.html.vue"]]);export{_ as default}; diff --git a/docs/docs/.vuepress/dist/assets/contribution.html.1c6c1740.js b/docs/docs/.vuepress/dist/assets/contribution.html.1c6c1740.js deleted file mode 100644 index a60175f..0000000 --- a/docs/docs/.vuepress/dist/assets/contribution.html.1c6c1740.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,r,o as t,c as n,d as i,a as o}from"./app.b9af7f8c.js";const c={},d=o('

\u8D21\u732E\u6307\u5357

waiting

\u8D21\u732E\u987B\u77E5

waiting

\u4EE3\u7801\u89C4\u8303

waiting

\u63D0\u4EA4\u89C4\u8303

',7);function h(s,_){const e=r("Comments");return t(),n("div",null,[d,i(e)])}var m=a(c,[["render",h],["__file","contribution.html.vue"]]);export{m as default}; diff --git a/docs/docs/.vuepress/dist/assets/contribution.html.8876db93.js b/docs/docs/.vuepress/dist/assets/contribution.html.8876db93.js deleted file mode 100644 index f70988d..0000000 --- a/docs/docs/.vuepress/dist/assets/contribution.html.8876db93.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-1a85fc4e","path":"/zh/guide/contribution.html","title":"\u8D21\u732E\u6307\u5357","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u8D21\u732E\u6307\u5357","description":"\u6B22\u8FCEBlazeB2\u5404\u79CD\u5F62\u5F0F\u7684\u8D21\u732E\uFF0C\u5305\u62EC\u4F46\u4E0D\u9650\u4E8E\uFF1A\u7F8E\u5316\u754C\u9762\u3001\u589E\u52A0\u529F\u80FD\u3001\u6539\u8FDB\u4EE3\u7801\u3001 \u4FEE\u590D Bug \u7B49"},"excerpt":"","headers":[{"level":2,"title":"\u8D21\u732E\u6307\u5357","slug":"\u8D21\u732E\u6307\u5357","children":[]},{"level":2,"title":"\u8D21\u732E\u987B\u77E5","slug":"\u8D21\u732E\u987B\u77E5","children":[]},{"level":2,"title":"\u4EE3\u7801\u89C4\u8303","slug":"\u4EE3\u7801\u89C4\u8303","children":[]},{"level":2,"title":"\u63D0\u4EA4\u89C4\u8303","slug":"\u63D0\u4EA4\u89C4\u8303","children":[]}],"git":{"updatedTime":1657012595000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":2}]},"filePathRelative":"zh/guide/contribution.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/contribution.html.e97e6201.js b/docs/docs/.vuepress/dist/assets/contribution.html.e97e6201.js deleted file mode 100644 index 2ad7b84..0000000 --- a/docs/docs/.vuepress/dist/assets/contribution.html.e97e6201.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-0cd3f8c9","path":"/en/guide/contribution.html","title":"\u8D21\u732E\u6307\u5357","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u8D21\u732E\u6307\u5357","description":"\u6B22\u8FCEBlazeB2\u5404\u79CD\u5F62\u5F0F\u7684\u8D21\u732E\uFF0C\u5305\u62EC\u4F46\u4E0D\u9650\u4E8E\uFF1A\u7F8E\u5316\u754C\u9762\u3001\u589E\u52A0\u529F\u80FD\u3001\u6539\u8FDB\u4EE3\u7801\u3001 \u4FEE\u590D Bug \u7B49"},"excerpt":"","headers":[{"level":2,"title":"\u8D21\u732E\u6307\u5357","slug":"\u8D21\u732E\u6307\u5357","children":[]},{"level":2,"title":"\u8D21\u732E\u987B\u77E5","slug":"\u8D21\u732E\u987B\u77E5","children":[]},{"level":2,"title":"\u4EE3\u7801\u89C4\u8303","slug":"\u4EE3\u7801\u89C4\u8303","children":[]},{"level":2,"title":"\u63D0\u4EA4\u89C4\u8303","slug":"\u63D0\u4EA4\u89C4\u8303","children":[]}],"git":{"updatedTime":1656772393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":1}]},"filePathRelative":"en/guide/contribution.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/deploy.html.0c2a1020.js b/docs/docs/.vuepress/dist/assets/deploy.html.0c2a1020.js deleted file mode 100644 index d018612..0000000 --- a/docs/docs/.vuepress/dist/assets/deploy.html.0c2a1020.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as c,c as o}from"./app.b9af7f8c.js";const r={};function t(_,a){return c(),o("div")}var n=e(r,[["render",t],["__file","deploy.html.vue"]]);export{n as default}; diff --git a/docs/docs/.vuepress/dist/assets/deploy.html.39d6d3b3.js b/docs/docs/.vuepress/dist/assets/deploy.html.39d6d3b3.js deleted file mode 100644 index 98bb4c8..0000000 --- a/docs/docs/.vuepress/dist/assets/deploy.html.39d6d3b3.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-fd4334d2","path":"/zh/guide/deploy.html","title":"\u4E00\u952E\u90E8\u7F72","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u4E00\u952E\u90E8\u7F72","description":"\u5C06blazeB2\u56FE\u5E8A\u4E00\u952E\u90E8\u7F72"},"excerpt":"","headers":[{"level":2,"title":"\u9879\u76EE\u6587\u4EF6\u7ED3\u6784","slug":"\u9879\u76EE\u6587\u4EF6\u7ED3\u6784","children":[]},{"level":2,"title":"\u90E8\u7F72","slug":"\u90E8\u7F72","children":[{"level":3,"title":"\u57FA\u4E8Edocker + nginx \u90E8\u7F72","slug":"\u57FA\u4E8Edocker-nginx-\u90E8\u7F72","children":[]},{"level":3,"title":"Heroku \u90E8\u7F72","slug":"heroku-\u90E8\u7F72","children":[]},{"level":3,"title":"\u817E\u8BAF\u4E91\u90E8\u7F72","slug":"\u817E\u8BAF\u4E91\u90E8\u7F72","children":[]},{"level":3,"title":"vercel\u4E00\u952E\u79D2\u90E8\u7F72","slug":"vercel\u4E00\u952E\u79D2\u90E8\u7F72","children":[]}]}],"git":{"updatedTime":1657083393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":7}]},"filePathRelative":"zh/guide/deploy.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/deploy.html.e1e1bd65.js b/docs/docs/.vuepress/dist/assets/deploy.html.e1e1bd65.js deleted file mode 100644 index e11f490..0000000 --- a/docs/docs/.vuepress/dist/assets/deploy.html.e1e1bd65.js +++ /dev/null @@ -1,59 +0,0 @@ -import{_ as i,r as l,o as c,c as r,b as n,d as e,a as t,e as s}from"./app.b9af7f8c.js";var p="/blazeB2/img/txy.svg";const d={},u=t(`

\u9879\u76EE\u6587\u4EF6\u7ED3\u6784

\u2514\u2500static  // \u5B58\u653E\u9759\u6001\u6587\u4EF6
-    \u251C\u2500css
-    \u251C\u2500fonts
-    \u251C\u2500img
-    \u2502  \u2514\u2500icons
-    \u2514\u2500js
-\u2514\u2500index.py  // \u9879\u76EE\u542F\u52A8\u6587\u4EF6
-\u2514\u2500Procfile  // Heroku\u542F\u52A8\u6587\u4EF6
-\u2514\u2500requirements.txt //\u9879\u76EE\u4F9D\u8D56\u5E93
-\u2514\u2500scf_bootstrap  // \u817E\u8BAF\u4E91\u90E8\u7F72\u542F\u52A8\u6587\u4EF6
-

\u90E8\u7F72

\u57FA\u4E8Edocker + nginx \u90E8\u7F72

`,4),v=s("docker\u5B89\u88C5 \u3010"),m={href:"https://blog.csdn.net/weixin_40118894/article/details/117221102",target:"_blank",rel:"noopener noreferrer"},k=s("\u5B89\u88C5"),h=s("\u3011"),b=n("li",null,"\u62C9\u53D6\u4EE3\u7801\u5230\u670D\u52A1\u7AEF",-1),_=t(`
git clone -b build https://github.com/Rr210/blazeB2.git
-# gitee
-git clone -b build https://gitee.com/rbozo/blazeB2.git
-
  1. \u6253\u5F00docker-compose.yml \u6587\u4EF6\u4FEE\u6539\u6620\u5C04\u7AEF\u53E3\u53F7
version: "3"
-services:
-  flask_test:
-    image: flask-test:1.0 # \u751F\u6210\u7684\u955C\u50CF\u7684\u540D\u79F0 \u548C tag
-    build: . # \u4E00\u952E\u6784\u5EFA\u955C\u50CF  =================  \u4EE5\u4E0A\u4E3A\u6784\u5EFA\u547D\u4EE4\uFF0C\u4EE5\u4E0B\u4E3A\u8FD0\u884C\u547D\u4EE4
-    restart: always # \u603B\u662F\u91CD\u542F
-    container_name: flask_v1 # \u8FD0\u884C\u540E\u7684\u5BB9\u5668\u7684\u540D\u79F0
-    ports:
-      - "7008:9000" # \u7AEF\u53E3\u6620\u5C04\uFF0C \u8FD9\u91CC\u662F\u5C06 docker \u5BB9\u5668\u5185\u7684 9000 \u7AEF\u53E3\u6620\u5C04\u5230\u4E91\u670D\u52A1\u5668\u7684 7008 \u7AEF\u53E3  7008\u4E3A\u5916\u7F51\u7AEF\u53E3\u53F7
-
  1. \u5728\u5F53\u524D\u76EE\u5F55\u4E0B\u6267\u884C
docker-compose up -d --build
-
  1. \u68C0\u67E5\u9879\u76EE\u662F\u5426\u542F\u52A8
#\u68C0\u67E5\u662F\u5426\u542F\u52A8
-docker-compose ps 
-# \u67E5\u770B\u7AEF\u53E3\u662F\u5426\u542F\u52A8\u5360\u7528
-netstat -nltp
-# \u67E5\u770B\u65E5\u5FD7\u662F\u5426\u62A5\u9519
-docker logs flask_v1
-
  1. \u914D\u7F6Enginx
  • \u53EF\u4EE5\u5F00\u542Fgzip\u52A0\u901F
server {
-    listen  80; # \u76D1\u542C80\u7AEF\u53E3
-    root       /www/wwwroot/b2.mr90.top; 
-    server_name b2.mr90.top; # \u914D\u7F6E\u57DF\u540D
-    # \u5904\u7406\u9759\u6001\u8D44\u6E90:
-    location ~ ^\\/static\\/.*$ {
-        root /www/wwwroot/b2.mr90.top/static/;
-    }
-    fastcgi_param   HTTPS    on;
-	fastcgi_param   HTTP_SCHEME   https;
-	gzip_static on;
-    gzip_proxied expired no-cache no-store private auth;
-    gzip on;
-    gzip_min_length 1k;
-    gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript;
-    gzip_vary on;
-    gzip_disable "MSIE [1-6]\\.";
-    # \u52A8\u6001\u8BF7\u6C42\u8F6C\u53D1\u52307008\u7AEF\u53E3(gunicorn):
-    location / {
-        proxy_pass       http://127.0.0.1:7008;
-        proxy_set_header X-Real-IP $remote_addr;
-        proxy_set_header Host $host;
-        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-    }
-}
-

Heroku \u90E8\u7F72

  • \u65B9\u5F0F\u4E00\uFF1A
`,12),g=s("\u5982\u679C \u60A8\u8FD8\u6CA1\u6709 Heroku \u5E10\u6237\uFF0C\u53EF\u524D\u5F80 "),f={href:"https://dashboard.heroku.com/login",target:"_blank",rel:"noopener noreferrer"},x=s("Heroku"),y=s(" \u6CE8\u518C\u4E00\u4E2A\u514D\u8D39\u5E10\u6237\u3002"),w=n("li",null,"\u6CE8\u518C\u90AE\u7BB1\u5EFA\u8BAE\u4F7F\u7528\u8C37\u6B4C\u90AE\u7BB1\uFF08qq,163\u65E0\u6CD5\u6CE8\u518C\uFF09",-1),z=n("li",null,"\u521B\u5EFA\u65B0\u7684 Heroku App",-1),B=s("\u62C9\u53D6\u4EE3\u7801\u90E8\u7F72\uFF08\u6216\u8005\u76F4\u63A5"),q={href:"https://github.com/Rr210/blazeB2",target:"_blank",rel:"noopener noreferrer"},H=s("fork"),j=s("\u672C\u4ED3\u5E93\uFF09"),R=t(`
git clone -b build https://github.com/Rr210/blazeB2.git
-
  • fork\u65E0\u9700\u62C9\u53D6\u4E0A\u4F20
  • \u5C06\u4EE3\u7801\u521B\u5EFA\u5E76\u4FDD\u5B58\u5230\u81EA\u5DF1\u7684github\u4ED3\u5E93
  1. \u5F00\u59CB\u90E8\u7F72
  • \u9009\u62E9github\u65B9\u5F0F\u90E8\u7F72\uFF0C\u7ED1\u5B9A\u81EA\u5DF1\u7684\u4ED3\u5E93

  • \u9009\u62E9\u4E0B\u9762\u624B\u52A8\u90E8\u7F72 \u9009\u62E9\u5206\u652Fbuild \u5982\u679C\u662Ffork\u9879\u76EE\uFF0C\u6839\u636E\u60C5\u51B5\u9009\u62E9

`,7),E=n("li",null,[n("p",null,"\u65B9\u5F0F\u4E8C:")],-1),T={href:"https://www.jianshu.com/p/b3478aaa82d3",target:"_blank",rel:"noopener noreferrer"},C=s("\u4F7F\u7528Herku cli"),V=n("p",null,[n("img",{src:"https://cloud.mr90.top/hexo/4/182df770-6256-4589-8b54-50593c7bd7e0.png",alt:""})],-1),I=n("h3",{id:"\u817E\u8BAF\u4E91\u90E8\u7F72",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#\u817E\u8BAF\u4E91\u90E8\u7F72","aria-hidden":"true"},"#"),s(" \u817E\u8BAF\u4E91\u90E8\u7F72")],-1),N={href:"https://console.cloud.tencent.com/scf/list-create?rid=1&ns=default&createType=empty",target:"_blank",rel:"noopener noreferrer"},P=n("img",{src:p,alt:""},null,-1),S=n("ol",null,[n("li",null,"\u521B\u5EFAweb\u51FD\u6570")],-1),$=n("p",null,[n("img",{src:"https://cloud.mr90.top/hexo/4/bfdb068c-a2c1-472c-990a-6f4420ee7cf7.png",alt:""})],-1),F=n("ol",{start:"2"},[n("li",null,"\u5C06\u539F\u6709\u7684\u6587\u4EF6\u5220\u9664\uFF0C\u65B0\u5EFA\u4E00\u4E2A\u7A7A\u7684src\u6587\u4EF6")],-1),L=n("p",null,[n("img",{src:"https://cloud.mr90.top/hexo/4/5a0fb26f-b137-4dda-a4f0-704cc23ad279.png",alt:""})],-1),M={start:"3"},X=s("\u7136\u540E\u5C06"),A={href:"https://github.com/Rr210/blazeB2/tree/master/api",target:"_blank",rel:"noopener noreferrer"},D=s("api"),G=s("\u6587\u4EF6\u4E0A\u4F20\u5230src\u6587\u4EF6\u4E2D"),J=t(`

  1. \u70B9\u51FB\u7EC8\u7AEF\u5B89\u88C5\u4F9D\u8D56
  • \u5FC5\u987B\u6267\u884C \u4FEE\u6539\u6587\u4EF6\u6743\u9650
cd src/
-pip3 install Flask requests -t .
-chmod 755 scf_bootstrap
-
  • \u6CE8\u610F\uFF1A \u542F\u52A8\u6587\u4EF6\u53EF\u80FD\u5B58\u5728\u6743\u9650\u4E0D\u8DB3\u95EE\u9898

  1. \u70B9\u51FB\u4F9D\u8D56\u5B8C\u6210\u90E8\u7F72\uFF0C\u4E0B\u6ED1\u627E\u5230\u90E8\u7F72\u5730\u5740\u8BBF\u95EE

vercel\u4E00\u952E\u79D2\u90E8\u7F72

`,9),K=s("\u70B9\u51FB\u4E00\u952E\u90E8\u7F72 "),O={href:"https://vercel.com/new/clone?s=https://github.com/Rr210/blazeB2.git",target:"_blank",rel:"noopener noreferrer"},Q=n("img",{src:"https://img.shields.io/badge/vercel-%23000000.svg?style=for-the-badge&logo=vercel&logoColor=white",alt:"Vercel"},null,-1),U=n("p",null,[n("img",{src:"https://cloud.mr90.top/hexo/4/38c9dcba-97bc-413d-a6a7-c8681937fa59.png",alt:""})],-1),W=n("ul",null,[n("li",null,"\u53EF\u80FD\u4F1A\u5B58\u5728\u4EE5\u4E0B\u95EE\u9898")],-1),Y=n("p",null,[n("img",{src:"https://cloud.mr90.top/hexo/4/179e261a-b2e6-4116-97b1-7984086f6d28.png",alt:""})],-1),Z=n("li",null,[n("p",null,"\u53D7\u9650\u5236\u670D\u52A1 vercel \u540C\u4E00\u4E2A\u9879\u76EE\u53EA\u80FD\u90E8\u7F7212\u6B21 \u5EFA\u8BAEfork\u672C\u4ED3\u5E93\u540E\u518D\u53BB\u4F7F\u7528")],-1),nn=s("\u3010"),sn={href:"https://github.com/Rr210/blazeB2",target:"_blank",rel:"noopener noreferrer"},en=s("\u4ED3\u5E93\u5730\u5740"),an=s("\u3011");function tn(ln,on){const a=l("ExternalLinkIcon"),o=l("Comments");return c(),r("div",null,[u,n("ol",null,[n("li",null,[v,n("a",m,[k,e(a)]),h]),b]),_,n("ol",null,[n("li",null,[g,n("a",f,[x,e(a)]),y]),w,z,n("li",null,[B,n("a",q,[H,e(a)]),j])]),R,n("ul",null,[E,n("li",null,[n("p",null,[n("a",T,[C,e(a)])])])]),V,I,n("p",null,[n("a",N,[P,e(a)])]),S,$,F,L,n("ol",M,[n("li",null,[X,n("a",A,[D,e(a)]),G])]),J,n("ul",null,[n("li",null,[K,n("a",O,[Q,e(a)])])]),U,W,Y,n("ul",null,[Z,n("li",null,[n("p",null,[nn,n("a",sn,[en,e(a)]),an])])]),e(o)])}var rn=i(d,[["render",tn],["__file","deploy.html.vue"]]);export{rn as default}; diff --git a/docs/docs/.vuepress/dist/assets/deploy.html.f05861e5.js b/docs/docs/.vuepress/dist/assets/deploy.html.f05861e5.js deleted file mode 100644 index 1e1aa07..0000000 --- a/docs/docs/.vuepress/dist/assets/deploy.html.f05861e5.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-53161a52","path":"/en/guide/deploy.html","title":"\u4E00\u952E\u90E8\u7F72","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u4E00\u952E\u90E8\u7F72","description":"\u5C06blazeB2\u56FE\u5E8A\u4E00\u952E\u90E8\u7F72"},"excerpt":"","headers":[],"git":{"updatedTime":1656772393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":1}]},"filePathRelative":"en/guide/deploy.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.169ce184.js b/docs/docs/.vuepress/dist/assets/index.html.169ce184.js deleted file mode 100644 index 50ff902..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.169ce184.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as l,r as n,o as c,c as i,b as e,d as t,e as a,a as o}from"./app.b9af7f8c.js";const d={},p=e("h1",{id:"\u5FEB\u901F\u4E0A\u624B",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u5FEB\u901F\u4E0A\u624B","aria-hidden":"true"},"#"),a(" \u5FEB\u901F\u4E0A\u624B")],-1),h=a("\u6CE8\u518C BackBlaze "),u={href:"https://www.backblaze.com/b2/sign-up.html?referrer=nopref",target:"_blank",rel:"noopener noreferrer"},m=a("\u4F20\u9001\u95E8"),g=o(`

\u65B0\u5EFA\u5B58\u50A8\u6876

  1. \u6253\u5F00 Backblaze B2 \u4E91\u5B58\u50A8\u5B98\u7F51 \uFF0C\u8FDB\u884C\u6CE8\u518C\u767B\u5F55\uFF0C\u5728\u53F3\u4E0B\u89D2\u5207\u6362\u8BED\u8A00\u4E3A \u7B80\u4F53\u4E2D\u6587\u3002
  2. My Account ==> \u6876 ==> \u521B\u4F5C\u4E00\u4E2A\u6876 ==> \u8BBE\u7F6E\u5B58\u50A8\u6876\u540D\u79F0\uFF08\u552F\u4E00\uFF09 ==> \u8BBE\u4E3A\uFF08\u516C\u5F00public\uFF09

  • \u521B\u5EFA\u5B8C\u6210\u540E\u5982\u56FE\u6240\u793A

\u6876\u8BBE\u5B9A

  • \u8BBE\u7F6E\u7F13\u51B2\uFF0C\u6876\u4FE1\u606F\u8BBE\u7F6E\u4E3A{"cache-control":"max-age=43200"}\uFF0C\u9ED8\u8BA4\u4E0D\u4F1A\u8FDB\u884C\u7F13\u51B2\u3002
{"cache-control":"max-age=43200"}
-

  • CORS\u89C4\u5219\u8DE8\u57DF\u914D\u7F6E\u53EF\u6839\u636E\u9700\u8981\u8FDB\u884C\u914D\u7F6E

\u67E5\u770BB2\u6876\u57DF\u540D

  • \u914D\u7F6E\u5B8C\u6210\uFF0C\u70B9\u51FB \u201CUpload/Download(\u4E0A\u4F20/\u4E0B\u8F7D)\u201D\uFF0C\u4E0A\u4F20\u4E00\u4E2A\u4E34\u65F6\u7684\u6D4B\u8BD5\u6587\u4EF6\u5230\u5B58\u50A8\u6876\u4E2D\uFF0C\u7136\u540E\u5728\u4F60\u521A\u4E0A\u4F20\u7684\u6587\u4EF6\u5904\uFF0C\u70B9\u51FB \u201Ci(information\uFF0C\u4FE1\u606F)\u201D. \u8FD9\u662F\u4E3A\u4E86\u83B7\u53D6\u4E0B\u4E00\u6B65\u9700\u8981\u7684\u4FE1\u606F\uFF0C\u4F60\u7684\u5B58\u50A8\u6876\u5904\u4E8E\u54EA\u53F0\u670D\u52A1\u5668\u4E0A\u3002

Cloudflare\u914D\u7F6E

`,14),b=a("\u51C6\u5907\uFF1A\u57DF\u540D \u53EF\u4F7F\u7528cf\u57DF\u540D\u3010"),f={href:"https://blog.csdn.net/pqowlaksmznx/article/details/124911996",target:"_blank",rel:"noopener noreferrer"},x=a("cf\u514D\u8D39\u57DF\u540D"),_=a("\u3011"),k=a("\u767B\u5F55\u3010"),v={href:"https://dash.cloudflare.com/",target:"_blank",rel:"noopener noreferrer"},q=a("cloudflare"),B=a("\u3011\uFF0C\u7ED9\u4F60\u7684\u57DF\u540D\u6DFB\u52A0\u4E00\u4E2A\u5B50\u57DF\u540D\uFF0C\u5E76\u65B0\u589E\u4E00\u6761cname\u8BB0\u5F55\uFF0C\u6307\u5411\u6587\u4EF6\u5730\u5740\u4E2D\u7684\u57DF\u540D\u3002"),z=o(`

\u91CD\u5B9A\u5411&&\u7F13\u51B2\u5904\u7406

  • \u4F7F\u7528cloudflare \u91CD\u5B9A\u5411 \u89C4\u5219\u8BBE\u5B9A \u7F13\u51B2\u5904\u7406 \uFF08\u6309\u7167\u56FE\u7247\u914D\u7F6E\u64CD\u4F5C\uFF09

\u91CD\u5199URL

  • \u5C06 /file/bucket/ \u540D\u79F0\u9690\u85CF \u9690\u85CF\u6876\u540D\u79F0
concat("/file/bucket", http.request.uri.path)
-

  • \u4F18\u5316\u524D\u6211\u4EEC\u7684\u8BBF\u95EE\u8DEF\u5F84\u4E3A\uFF1Ahttps://b2.domain.com/file/bucket/xxx.txt
  • \u4F18\u5316\u540E\u7684\u8DEF\u5F84\u4E3A\uFF1Ahttps://b2.domain.com/xxx.txt
  • \u53EF\u4EE5\u770B\u51FA\u53BB\u9664\u4E86file/bucket/

\u91CD\u5199\u8BF7\u6C42\u5934

  • \u53BB\u9664\u4E0D\u5FC5\u8981\u7684\u54CD\u5E94Header
  • Backblaze B2\u4F1A\u5728\u8BF7\u6C42\u7684\u54CD\u5E94\u5934\u4E2D\u6DFB\u52A0\u4EE5\u4E0B\u51E0\u4E2Aheader\u53C2\u6570\uFF1A
x-bz-content-sha1
-x-bz-file-id
-x-bz-file-name
-x-bz-upload-timestamp
-
  • \u867D\u7136\u5F71\u54CD\u4E0D\u5927\uFF0C\u4F46\u662F\u4E00\u770B\u8FD9\u4E9B\u53C2\u6570\u5C31\u77E5\u9053\u4F60\u7528\u7684B2\uFF0C\u5E76\u4E14\u8FD9\u4E9B\u53C2\u6570\u5934\u4E00\u822C\u62FF\u6765\u4E5F\u6CA1\u5565\u7528\uFF0C\u6211\u4EEC\u4E5F\u53EF\u4EE5\u901A\u8FC7CloudFlare\u7684\u91CD\u5199\u89C4\u5219\u5C06\u5176\u53BB\u6389\u3002
  • \u4F9D\u7136\u5728\u8F6C\u6362\u89C4\u5219\u90A3\u91CC - \u521B\u5EFA\u8F6C\u6362\u89C4\u5219 - \u4FEE\u6539\u54CD\u5E94\u5934\u3002

`,14);function j(C,w){const s=n("ExternalLinkIcon"),r=n("Comments");return c(),i("div",null,[p,e("ul",null,[e("li",null,[h,e("a",u,[m,t(s)])])]),g,e("ul",null,[e("li",null,[b,e("a",f,[x,t(s)]),_]),e("li",null,[k,e("a",v,[q,t(s)]),B])]),z,t(r)])}var V=l(d,[["render",j],["__file","index.html.vue"]]);export{V as default}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.40aab88a.js b/docs/docs/.vuepress/dist/assets/index.html.40aab88a.js deleted file mode 100644 index 036b286..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.40aab88a.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-2d0ad528","path":"/zh/","title":"","lang":"zh-CN","frontmatter":{"home":true,"heroImage":"img/logo.svg","heroText":"BlazeB2 \u56FE\u5E8A","tagline":"\u57FA\u4E8Ebackblazeb2 Api\u5F00\u53D1 Cloudflare\u52A0\u901F\u56FE\u5E8A\u5DE5\u5177","actions":[{"text":"\u5FEB\u901F\u4E0A\u624B","link":"/zh/guide/index.html","type":"primary"}],"features":[{"title":"\u{1F6E0}\uFE0F \u7B80\u6D01\u81F3\u4E0A","details":"\u65E0\u9700\u4E0B\u8F7D\uFF0C\u65E0\u9700\u5B89\u88C5\uFF0C\u6D4F\u89C8\u5668\u6253\u5F00\u5B98\u7F51\u8FDB\u884C\u7B80\u5355\u914D\u7F6E\u5373\u53EF\u4F7F\u7528\u3002"},{"title":"\u{1F369} \u7A33\u5B9A\u53EF\u9760","details":"\u4F9D\u6258\u4E8E\u5DE8\u5934\u5927\u5382\u6210\u719F\u6280\u672F\uFF0C\u5B8C\u5168\u514D\u8D39\uFF0C\u7A33\u5B9A\u53EF\u9760\uFF0C\u968F\u65F6\u53EF\u7528\u3002"},{"title":"\u26A1\uFE0F \u6781\u901F\u9AD8\u6548","details":"BlazeB2 & Cloudflare CDN \u52A0\u901F\u529F\u80FD\uFF0C\u6781\u901F\u9AD8\u6548\u3002"}],"footer":"MIT Licensed | Copyright \xA9 2018-present @Harry"},"excerpt":"","headers":[],"git":{"updatedTime":1657083393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":3}]},"filePathRelative":"zh/README.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.842d0928.js b/docs/docs/.vuepress/dist/assets/index.html.842d0928.js deleted file mode 100644 index 224c231..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.842d0928.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-2d0a870d","path":"/en/","title":"","lang":"en-US","frontmatter":{"home":true,"heroImage":"img/logo.svg","heroText":"BlazeB2 Drawing bed","tagline":"Developing cloudflare accelerated mapping tool based on backblazeb2 API","actions":[{"text":"Get started quickly","link":"/en/guide/index.html","type":"primary"}],"features":[{"title":"\u{1F6E0}\uFE0F Simplicity first","details":"There is no need to download or install. The browser can be used by opening the official website for simple configuration\u3002"},{"title":"\u{1F369} Stable and reliable","details":"Relying on the mature technology of giant factories, it is completely free, stable, reliable and available at any time."},{"title":"\u26A1\uFE0F Extremely fast and efficient","details":"blazeb2 & cloudflare CDN acceleration function, extremely fast and efficient."}],"footer":"MIT Licensed | Copyright \xA9 2018-present @Harry"},"excerpt":"","headers":[],"git":{"updatedTime":1657083393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":3}]},"filePathRelative":"en/README.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.859f4610.js b/docs/docs/.vuepress/dist/assets/index.html.859f4610.js deleted file mode 100644 index b36d301..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.859f4610.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as n,r,o as s,c as l,b as e,d as o,e as t,a as c}from"./app.b9af7f8c.js";const d={},i=e("h1",{id:"\u5FEB\u901F\u4E0A\u624B",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u5FEB\u901F\u4E0A\u624B","aria-hidden":"true"},"#"),t(" \u5FEB\u901F\u4E0A\u624B")],-1),h=t("\u6CE8\u518C BackBlaze "),p={href:"https://www.backblaze.com/b2/sign-up.html?referrer=nopref",target:"_blank",rel:"noopener noreferrer"},u=t("\u4F20\u9001\u95E8"),_=c(`

\u65B0\u5EFA\u5B58\u50A8\u6876

  1. \u6253\u5F00 Backblaze B2 \u4E91\u5B58\u50A8\u5B98\u7F51 \uFF0C\u8FDB\u884C\u6CE8\u518C\u767B\u5F55\uFF0C\u5728\u53F3\u4E0B\u89D2\u5207\u6362\u8BED\u8A00\u4E3A \u7B80\u4F53\u4E2D\u6587\u3002
  2. My Account ==> \u6876 ==> \u521B\u4F5C\u4E00\u4E2A\u6876 ==> \u8BBE\u7F6E\u5B58\u50A8\u6876\u540D\u79F0\uFF08\u552F\u4E00\uFF09 ==> \u8BBE\u4E3A\uFF08\u516C\u5F00public\uFF09

  • \u521B\u5EFA\u5B8C\u6210\u540E\u5982\u56FE\u6240\u793A

\u6876\u8BBE\u5B9A

  • \u8BBE\u7F6E\u7F13\u51B2\uFF0C\u6876\u4FE1\u606F\u8BBE\u7F6E\u4E3A{"cache-control":"max-age=43200"}\uFF0C\u9ED8\u8BA4\u4E0D\u4F1A\u8FDB\u884C\u7F13\u51B2\u3002
{"cache-control":"max-age=43200"}
-

  • CORS\u89C4\u5219\u8DE8\u57DF\u914D\u7F6E\u53EF\u6839\u636E\u9700\u8981\u8FDB\u884C\u914D\u7F6E

\u67E5\u770BB2\u6876\u57DF\u540D

  • \u914D\u7F6E\u5B8C\u6210\uFF0C\u70B9\u51FB \u201CUpload/Download(\u4E0A\u4F20/\u4E0B\u8F7D)\u201D\uFF0C\u4E0A\u4F20\u4E00\u4E2A\u4E34\u65F6\u7684\u6D4B\u8BD5\u6587\u4EF6\u5230\u5B58\u50A8\u6876\u4E2D\uFF0C\u7136\u540E\u5728\u4F60\u521A\u4E0A\u4F20\u7684\u6587\u4EF6\u5904\uFF0C\u70B9\u51FB \u201Ci(information\uFF0C\u4FE1\u606F)\u201D. \u8FD9\u662F\u4E3A\u4E86\u83B7\u53D6\u4E0B\u4E00\u6B65\u9700\u8981\u7684\u4FE1\u606F\uFF0C\u4F60\u7684\u5B58\u50A8\u6876\u5904\u4E8E\u54EA\u53F0\u670D\u52A1\u5668\u4E0A\u3002

Cloudflare\u914D\u7F6E\uFF08\u975E\u5FC5\u8981\uFF09

`,14),g=t("\u51C6\u5907\uFF1A\u57DF\u540D \u53EF\u4F7F\u7528cf\u57DF\u540D\u3010"),f={href:"https://blog.csdn.net/pqowlaksmznx/article/details/124911996",target:"_blank",rel:"noopener noreferrer"},m=t("cf\u514D\u8D39\u57DF\u540D"),b=t("\u3011"),x=t("\u767B\u5F55\u3010"),k={href:"https://dash.cloudflare.com/",target:"_blank",rel:"noopener noreferrer"},v=t("cloudflare"),q=t("\u3011\uFF0C\u7ED9\u4F60\u7684\u57DF\u540D\u6DFB\u52A0\u4E00\u4E2A\u5B50\u57DF\u540D\uFF0C\u5E76\u65B0\u589E\u4E00\u6761cname\u8BB0\u5F55\uFF0C\u6307\u5411\u6587\u4EF6\u5730\u5740\u4E2D\u7684\u57DF\u540D\u3002"),B=e("p",null,[e("img",{src:"https://cloud.mr90.top/hexo/4/1501d938-a4e2-47c2-a2ee-b49169e3e487.png",alt:""})],-1),w=e("h3",{id:"\u91CD\u5B9A\u5411-\u7F13\u51B2\u5904\u7406",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u91CD\u5B9A\u5411-\u7F13\u51B2\u5904\u7406","aria-hidden":"true"},"#"),t(" \u91CD\u5B9A\u5411&&\u7F13\u51B2\u5904\u7406")],-1),z=e("ul",null,[e("li",null,"\u4F7F\u7528cloudflare \u91CD\u5B9A\u5411 \u89C4\u5219\u8BBE\u5B9A \u7F13\u51B2\u5904\u7406 \uFF08\u6309\u7167\u56FE\u7247\u914D\u7F6E\u64CD\u4F5C\uFF09")],-1),N=e("p",null,[e("img",{src:"https://cloud.mr90.top/hexo/4/e729288c-06a6-4992-a850-ce41f54c5ca9.png",alt:""})],-1);function V(j,y){const a=r("ExternalLinkIcon");return s(),l("div",null,[i,e("ul",null,[e("li",null,[h,e("a",p,[u,o(a)])])]),_,e("ul",null,[e("li",null,[g,e("a",f,[m,o(a)]),b]),e("li",null,[x,e("a",k,[v,o(a)]),q])]),B,w,z,N])}var E=n(d,[["render",V],["__file","index.html.vue"]]);export{E as default}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.85a4aaa9.js b/docs/docs/.vuepress/dist/assets/index.html.85a4aaa9.js deleted file mode 100644 index 808d5f1..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.85a4aaa9.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-e6412400","path":"/en/guide/","title":"\u5FEB\u901F\u4E0A\u624B","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u5FEB\u901F\u4E0A\u624B","description":"\u9875\u9762\u4ECB\u7ECD\u53CA\u5176\u4F7F\u7528\u7684\u65B9\u6CD5","navbar":true},"excerpt":"","headers":[{"level":2,"title":"\u65B0\u5EFA\u5B58\u50A8\u6876","slug":"\u65B0\u5EFA\u5B58\u50A8\u6876","children":[]},{"level":2,"title":"\u6876\u8BBE\u5B9A","slug":"\u6876\u8BBE\u5B9A","children":[]},{"level":2,"title":"\u67E5\u770BB2\u6876\u57DF\u540D","slug":"\u67E5\u770Bb2\u6876\u57DF\u540D","children":[]},{"level":2,"title":"Cloudflare\u914D\u7F6E\uFF08\u975E\u5FC5\u8981\uFF09","slug":"cloudflare\u914D\u7F6E-\u975E\u5FC5\u8981","children":[{"level":3,"title":"\u91CD\u5B9A\u5411&&\u7F13\u51B2\u5904\u7406","slug":"\u91CD\u5B9A\u5411-\u7F13\u51B2\u5904\u7406","children":[]}]}],"git":{"updatedTime":1656942506000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":2}]},"filePathRelative":"en/guide/index.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.85b965ee.js b/docs/docs/.vuepress/dist/assets/index.html.85b965ee.js deleted file mode 100644 index 14477ce..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.85b965ee.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-8daa1a0e","path":"/","title":"","lang":"zh-CN","frontmatter":{"home":true,"heroImage":"img/logo.svg","heroText":"BlazeB2 \u56FE\u5E8A","tagline":"\u57FA\u4E8Ebackblazeb2 Api\u5F00\u53D1 Cloudflare\u52A0\u901F\u56FE\u5E8A\u5DE5\u5177","actions":[{"text":"\u5FEB\u901F\u4E0A\u624B","link":"/zh/guide/index.html","type":"primary"}],"features":[{"title":"\u{1F6E0}\uFE0F \u7B80\u6D01\u81F3\u4E0A","details":"\u65E0\u9700\u4E0B\u8F7D\uFF0C\u65E0\u9700\u5B89\u88C5\uFF0C\u6D4F\u89C8\u5668\u6253\u5F00\u5B98\u7F51\u8FDB\u884C\u7B80\u5355\u914D\u7F6E\u5373\u53EF\u4F7F\u7528\u3002"},{"title":"\u{1F369} \u7A33\u5B9A\u53EF\u9760","details":"\u4F9D\u6258\u4E8E\u5DE8\u5934\u5927\u5382\u6210\u719F\u6280\u672F\uFF0C\u5B8C\u5168\u514D\u8D39\uFF0C\u7A33\u5B9A\u53EF\u9760\uFF0C\u968F\u65F6\u53EF\u7528\u3002"},{"title":"\u26A1\uFE0F \u6781\u901F\u9AD8\u6548","details":"BlazeB2 & Cloudflare CDN \u52A0\u901F\u529F\u80FD\uFF0C\u6781\u901F\u9AD8\u6548\u3002"}],"footer":"MIT Licensed | Copyright \xA9 2018-present @Harry"},"excerpt":"","headers":[],"git":{"updatedTime":1657083393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":3}]},"filePathRelative":"README.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.9865e31d.js b/docs/docs/.vuepress/dist/assets/index.html.9865e31d.js deleted file mode 100644 index bad1572..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.9865e31d.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-47357bdb","path":"/zh/guide/","title":"\u5FEB\u901F\u4E0A\u624B","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u5FEB\u901F\u4E0A\u624B","description":"\u9875\u9762\u4ECB\u7ECD\u53CA\u5176\u4F7F\u7528\u7684\u65B9\u6CD5","navbar":true},"excerpt":"","headers":[{"level":2,"title":"\u65B0\u5EFA\u5B58\u50A8\u6876","slug":"\u65B0\u5EFA\u5B58\u50A8\u6876","children":[]},{"level":2,"title":"\u6876\u8BBE\u5B9A","slug":"\u6876\u8BBE\u5B9A","children":[]},{"level":2,"title":"\u67E5\u770BB2\u6876\u57DF\u540D","slug":"\u67E5\u770Bb2\u6876\u57DF\u540D","children":[]},{"level":2,"title":"Cloudflare\u914D\u7F6E","slug":"cloudflare\u914D\u7F6E","children":[{"level":3,"title":"\u91CD\u5B9A\u5411&&\u7F13\u51B2\u5904\u7406","slug":"\u91CD\u5B9A\u5411-\u7F13\u51B2\u5904\u7406","children":[]},{"level":3,"title":"\u91CD\u5199URL","slug":"\u91CD\u5199url","children":[]},{"level":3,"title":"\u91CD\u5199\u8BF7\u6C42\u5934","slug":"\u91CD\u5199\u8BF7\u6C42\u5934","children":[]}]}],"git":{"updatedTime":1657012595000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":4}]},"filePathRelative":"zh/guide/index.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.b1456821.js b/docs/docs/.vuepress/dist/assets/index.html.b1456821.js deleted file mode 100644 index 8c444bb..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.b1456821.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as c,c as r}from"./app.b9af7f8c.js";const t={};function _(n,o){return c(),r("div")}var s=e(t,[["render",_],["__file","index.html.vue"]]);export{s as default}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.ba441775.js b/docs/docs/.vuepress/dist/assets/index.html.ba441775.js deleted file mode 100644 index 8c444bb..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.ba441775.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as c,c as r}from"./app.b9af7f8c.js";const t={};function _(n,o){return c(),r("div")}var s=e(t,[["render",_],["__file","index.html.vue"]]);export{s as default}; diff --git a/docs/docs/.vuepress/dist/assets/index.html.c3dc2ea9.js b/docs/docs/.vuepress/dist/assets/index.html.c3dc2ea9.js deleted file mode 100644 index 8c444bb..0000000 --- a/docs/docs/.vuepress/dist/assets/index.html.c3dc2ea9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as c,c as r}from"./app.b9af7f8c.js";const t={};function _(n,o){return c(),r("div")}var s=e(t,[["render",_],["__file","index.html.vue"]]);export{s as default}; diff --git a/docs/docs/.vuepress/dist/assets/page.html.02afc90b.js b/docs/docs/.vuepress/dist/assets/page.html.02afc90b.js deleted file mode 100644 index 8e84cb4..0000000 --- a/docs/docs/.vuepress/dist/assets/page.html.02afc90b.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-7a8fca2f","path":"/zh/guide/page.html","title":"\u5F00\u59CB\u4F7F\u7528","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u5F00\u59CB\u4F7F\u7528","description":"\u4F7F\u7528\u65B9\u6CD5"},"excerpt":"","headers":[{"level":2,"title":"\u8FDB\u5165\u9875\u9762","slug":"\u8FDB\u5165\u9875\u9762","children":[]},{"level":2,"title":"\u5F00\u59CB\u914D\u7F6E","slug":"\u5F00\u59CB\u914D\u7F6E","children":[]},{"level":2,"title":"\u586B\u5199\u5BC6\u94A5","slug":"\u586B\u5199\u5BC6\u94A5","children":[]},{"level":2,"title":"\u4E0A\u4F20\u56FE\u7247\u914D\u7F6E","slug":"\u4E0A\u4F20\u56FE\u7247\u914D\u7F6E","children":[]},{"level":2,"title":"\u56FE\u5E8A\u7BA1\u7406\u914D\u7F6E","slug":"\u56FE\u5E8A\u7BA1\u7406\u914D\u7F6E","children":[]}],"git":{"updatedTime":1657208120000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":6}]},"filePathRelative":"zh/guide/page.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/page.html.4d6a273e.js b/docs/docs/.vuepress/dist/assets/page.html.4d6a273e.js deleted file mode 100644 index 770e43b..0000000 --- a/docs/docs/.vuepress/dist/assets/page.html.4d6a273e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,o as t,c as r,b as e,e as c}from"./app.b9af7f8c.js";const o={},s=e("h2",{id:"\u5185\u5BB9",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u5185\u5BB9","aria-hidden":"true"},"#"),c(" \u5185\u5BB9")],-1),_=[s];function n(d,i){return t(),r("div",null,_)}var l=a(o,[["render",n],["__file","page.html.vue"]]);export{l as default}; diff --git a/docs/docs/.vuepress/dist/assets/page.html.9e4f99f1.js b/docs/docs/.vuepress/dist/assets/page.html.9e4f99f1.js deleted file mode 100644 index 98862bc..0000000 --- a/docs/docs/.vuepress/dist/assets/page.html.9e4f99f1.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-3e9371aa","path":"/en/guide/page.html","title":"\u5F00\u59CB\u4F7F\u7528","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u5F00\u59CB\u4F7F\u7528","description":"\u4F7F\u7528\u65B9\u6CD5"},"excerpt":"","headers":[{"level":2,"title":"\u5185\u5BB9","slug":"\u5185\u5BB9","children":[]}],"git":{"updatedTime":1656772393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":1}]},"filePathRelative":"en/guide/page.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/page.html.b93e1783.js b/docs/docs/.vuepress/dist/assets/page.html.b93e1783.js deleted file mode 100644 index 2dcddd2..0000000 --- a/docs/docs/.vuepress/dist/assets/page.html.b93e1783.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r,r as n,o as l,c as s,b as e,d as o,e as t,a as c}from"./app.b9af7f8c.js";const i={},h=e("h2",{id:"\u8FDB\u5165\u9875\u9762",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u8FDB\u5165\u9875\u9762","aria-hidden":"true"},"#"),t(" \u8FDB\u5165\u9875\u9762")],-1),d={href:"https://b2.mr90.top/",target:"_blank",rel:"noopener noreferrer"},_=t("\u5728\u7EBF\u5730\u5740"),p=e("h2",{id:"\u5F00\u59CB\u914D\u7F6E",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u5F00\u59CB\u914D\u7F6E","aria-hidden":"true"},"#"),t(" \u5F00\u59CB\u914D\u7F6E")],-1),u=e("li",null,[t("\u70B9\u51FB\u53F3\u4E0A\u89D2\u767B\u5F55\uFF0C\u8FDB\u5165"),e("strong",null,"\u5BC6\u94A5\u7BA1\u7406\u914D\u7F6E"),t("\u754C\u9762")],-1),f=t("\u9996\u5148\u5728blazeb2\u7533\u8BF7\u4E00\u4E2A "),b=e("strong",null,"\u5E94\u7528\u5BC6\u94A5",-1),g=t(),m={href:"https://secure.backblaze.com/app_keys.htm",target:"_blank",rel:"noopener noreferrer"},x=t("\u7533\u8BF7\u5730\u5740"),k=e("li",null,"\u70B9\u51FB\u6DFB\u52A0\u65B0\u7684\u5E94\u7528\u7A0B\u5E8F\u5BC6\u94A5,\u7136\u540E\u6309\u7167\u56FE\u7247\u64CD\u4F5C",-1),v=c('

  • \u786E\u8BA4\u6DFB\u52A0\u540E\u5C06\u751F\u6210\u7684\u5BC6\u94A5\u590D\u5236\u4FDD\u5B58

\u586B\u5199\u5BC6\u94A5

  • \u6309\u7167\u56FE\u7247\u586B\u5199\uFF0C\u4FDD\u5B58\u81F3\u672C\u5730\u5C31\u53EF\u4EE5\u4F7F\u7528

\u4E0A\u4F20\u56FE\u7247\u914D\u7F6E

  • \u5BC6\u94A5\u914D\u7F6E\u5B8C\u6210\u540E,\u5F00\u59CB\u914D\u7F6E\u9996\u9875\u7684\u4E0A\u4F20\u56FE\u7247\u7684\u8BBE\u7F6E
  • \u538B\u7F29\u9ED8\u8BA4\u5173\u95ED\uFF0C\u6253\u5F00\u540E\u9ED8\u8BA4\u538B\u7F29\u6BD4\u4E3A80%
  • \u7B2C\u4E00\u4E2A\u4E0A\u4F20\u8DEF\u5F84 \u5FC5\u987B\u586B\u5199 \u6309\u7167\u5DE6\u56FE\u683C\u5F0F\u586B\u5199 \u51E0\u7EA7\u76EE\u5F55\u90FD\u53EF\u4EE5\uFF0C\u5982\u679Cb2\u6876\u4E2D\u7684\u4E0D\u5B58\u5728\u6587\u4EF6\u5939 \u4E0A\u4F20\u65F6 \u4F1A\u81EA\u52A8\u521B\u5EFA\u6587\u4EF6\u5939

\u56FE\u5E8A\u7BA1\u7406\u914D\u7F6E

  • \u56FE\u7247\u6587\u4EF6\u5939\u76EE\u5F55\u4E3A\u56FE\u5E8A\u7BA1\u7406\u754C\u9762\u4E0B\u7684\u9ED8\u8BA4\u68C0\u7D22\u5730\u5740\uFF0C\u6709\u4E24\u79CD\u8BBE\u7F6E\u65B9\u5F0F \u624B\u52A8\u8F93\u5165\u548C\u81EA\u52A8\u586B\u5199 \u63A8\u8350\u624B\u52A8\u8F93\u5165
',10);function N(V,B){const a=n("ExternalLinkIcon");return l(),s("div",null,[h,e("ul",null,[e("li",null,[e("a",d,[_,o(a)])])]),p,e("ul",null,[u,e("li",null,[f,b,g,e("a",m,[x,o(a)])]),k]),v])}var z=r(i,[["render",N],["__file","page.html.vue"]]);export{z as default}; diff --git a/docs/docs/.vuepress/dist/assets/style.79e9de3f.css b/docs/docs/.vuepress/dist/assets/style.79e9de3f.css deleted file mode 100644 index abbe6ed..0000000 --- a/docs/docs/.vuepress/dist/assets/style.79e9de3f.css +++ /dev/null @@ -1 +0,0 @@ -:root{--back-to-top-z-index: 5;--back-to-top-color: #3eaf7c;--back-to-top-color-hover: #71cda3}.back-to-top{cursor:pointer;position:fixed;bottom:2rem;right:2.5rem;width:2rem;height:1.2rem;background-color:var(--back-to-top-color);-webkit-mask:url(/blazeB2/assets/back-to-top.8efcbe56.svg) no-repeat;mask:url(/blazeB2/assets/back-to-top.8efcbe56.svg) no-repeat;z-index:var(--back-to-top-z-index)}.back-to-top:hover{background-color:var(--back-to-top-color-hover)}@media (max-width: 959px){.back-to-top{display:none}}.back-to-top-enter-active,.back-to-top-leave-active{transition:opacity .3s}.back-to-top-enter-from,.back-to-top-leave-to{opacity:0}:root{--external-link-icon-color: #aaa}.external-link-icon{position:relative;display:inline-block;color:var(--external-link-icon-color);vertical-align:middle;top:-1px}.external-link-icon-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}:root{--medium-zoom-z-index: 100;--medium-zoom-bg-color: #ffffff;--medium-zoom-opacity: 1}.medium-zoom-overlay{background-color:var(--medium-zoom-bg-color)!important;z-index:var(--medium-zoom-z-index)}.medium-zoom-overlay~img{z-index:calc(var(--medium-zoom-z-index) + 1)}.medium-zoom--opened .medium-zoom-overlay{opacity:var(--medium-zoom-opacity)}:root{--nprogress-color: #29d;--nprogress-z-index: 1031}#nprogress{pointer-events:none}#nprogress .bar{background:var(--nprogress-color);position:fixed;z-index:var(--nprogress-z-index);top:0;left:0;width:100%;height:2px}:root{--c-brand: #3eaf7c;--c-brand-light: #4abf8a;--c-bg: #ffffff;--c-bg-light: #f3f4f5;--c-bg-lighter: #eeeeee;--c-bg-navbar: var(--c-bg);--c-bg-sidebar: var(--c-bg);--c-bg-arrow: #cccccc;--c-text: #2c3e50;--c-text-accent: var(--c-brand);--c-text-light: #3a5169;--c-text-lighter: #4e6e8e;--c-text-lightest: #6a8bad;--c-text-quote: #999999;--c-border: #eaecef;--c-border-dark: #dfe2e5;--c-tip: #42b983;--c-tip-bg: var(--c-bg-light);--c-tip-title: var(--c-text);--c-tip-text: var(--c-text);--c-tip-text-accent: var(--c-text-accent);--c-warning: #e7c000;--c-warning-bg: #fffae3;--c-warning-title: #ad9000;--c-warning-text: #746000;--c-warning-text-accent: var(--c-text);--c-danger: #cc0000;--c-danger-bg: #ffe0e0;--c-danger-title: #990000;--c-danger-text: #660000;--c-danger-text-accent: var(--c-text);--c-details-bg: #eeeeee;--c-badge-tip: var(--c-tip);--c-badge-warning: var(--c-warning);--c-badge-danger: var(--c-danger);--t-color: .3s ease;--t-transform: .3s ease;--code-bg-color: #282c34;--code-hl-bg-color: rgba(0, 0, 0, .66);--code-ln-color: #9e9e9e;--code-ln-wrapper-width: 3.5rem;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--font-family-code: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;--navbar-height: 3.6rem;--navbar-padding-v: .7rem;--navbar-padding-h: 1.5rem;--sidebar-width: 20rem;--sidebar-width-mobile: calc(var(--sidebar-width) * .82);--content-width: 740px;--homepage-width: 960px}.back-to-top{--back-to-top-color: var(--c-brand);--back-to-top-color-hover: var(--c-brand-light)}.DocSearch{--docsearch-primary-color: var(--c-brand);--docsearch-text-color: var(--c-text);--docsearch-highlight-color: var(--c-brand);--docsearch-muted-color: var(--c-text-quote);--docsearch-container-background: rgba(9, 10, 17, .8);--docsearch-modal-background: var(--c-bg-light);--docsearch-searchbox-background: var(--c-bg-lighter);--docsearch-searchbox-focus-background: var(--c-bg);--docsearch-searchbox-shadow: inset 0 0 0 2px var(--c-brand);--docsearch-hit-color: var(--c-text-light);--docsearch-hit-active-color: var(--c-bg);--docsearch-hit-background: var(--c-bg);--docsearch-hit-shadow: 0 1px 3px 0 var(--c-border-dark);--docsearch-footer-background: var(--c-bg)}.external-link-icon{--external-link-icon-color: var(--c-text-quote)}.medium-zoom-overlay{--medium-zoom-bg-color: var(--c-bg)}#nprogress{--nprogress-color: var(--c-brand)}.pwa-popup{--pwa-popup-text-color: var(--c-text);--pwa-popup-bg-color: var(--c-bg);--pwa-popup-border-color: var(--c-brand);--pwa-popup-shadow: 0 4px 16px var(--c-brand);--pwa-popup-btn-text-color: var(--c-bg);--pwa-popup-btn-bg-color: var(--c-brand);--pwa-popup-btn-hover-bg-color: var(--c-brand-light)}.search-box{--search-bg-color: var(--c-bg);--search-accent-color: var(--c-brand);--search-text-color: var(--c-text);--search-border-color: var(--c-border);--search-item-text-color: var(--c-text-lighter);--search-item-focus-bg-color: var(--c-bg-light)}html.dark{--c-brand: #3aa675;--c-brand-light: #349469;--c-bg: #22272e;--c-bg-light: #2b313a;--c-bg-lighter: #262c34;--c-text: #adbac7;--c-text-light: #96a7b7;--c-text-lighter: #8b9eb0;--c-text-lightest: #8094a8;--c-border: #3e4c5a;--c-border-dark: #34404c;--c-tip: #318a62;--c-warning: #ceab00;--c-warning-bg: #7e755b;--c-warning-title: #ceac03;--c-warning-text: #362e00;--c-danger: #940000;--c-danger-bg: #806161;--c-danger-title: #610000;--c-danger-text: #3a0000;--c-details-bg: #323843;--code-hl-bg-color: #363b46}html.dark .DocSearch{--docsearch-logo-color: var(--c-text);--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgba(3, 4, 9, .3);--docsearch-key-gradient: linear-gradient(-225deg, #444950, #1c1e21);--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, .5), 0 -4px 8px 0 rgba(0, 0, 0, .2)}html,body{padding:0;margin:0;background-color:var(--c-bg);transition:background-color var(--t-color)}html.dark{color-scheme:dark}html{font-size:16px}body{font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:1rem;color:var(--c-text)}a{font-weight:500;color:var(--c-text-accent);text-decoration:none;overflow-wrap:break-word}p a code{font-weight:400;color:var(--c-text-accent)}kbd{font-family:var(--font-family-code);color:var(--c-text);background:var(--c-bg-lighter);border:solid .15rem var(--c-border-dark);border-bottom:solid .25rem var(--c-border-dark);border-radius:.15rem;padding:0 .15em}code{font-family:var(--font-family-code);color:var(--c-text-lighter);padding:.25rem .5rem;margin:0;font-size:.85em;background-color:var(--c-bg-lighter);border-radius:3px;overflow-wrap:break-word;transition:background-color var(--t-color)}blockquote{font-size:1rem;color:var(--c-text-quote);border-left:.2rem solid var(--c-border-dark);margin:1rem 0;padding:.25rem 0 .25rem 1rem}blockquote>p{margin:0}ul,ol{padding-left:1.2em}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25}h1:focus-visible,h2:focus-visible,h3:focus-visible,h4:focus-visible,h5:focus-visible,h6:focus-visible{outline:none}h1:hover .header-anchor,h2:hover .header-anchor,h3:hover .header-anchor,h4:hover .header-anchor,h5:hover .header-anchor,h6:hover .header-anchor{opacity:1}h1{font-size:2.2rem}h2{font-size:1.65rem;padding-bottom:.3rem;border-bottom:1px solid var(--c-border);transition:border-color var(--t-color)}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:1.05rem}h6{font-size:1rem}a.header-anchor{font-size:.85em;float:left;margin-left:-.87em;padding-right:.23em;margin-top:.125em;opacity:0}a.header-anchor:hover{text-decoration:none}a.header-anchor:focus-visible{opacity:1}p,ul,ol{line-height:1.7}hr{border:0;border-top:1px solid var(--c-border)}table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto;transition:border-color var(--t-color)}tr{border-top:1px solid var(--c-border-dark);transition:border-color var(--t-color)}tr:nth-child(2n){background-color:var(--c-bg-light);transition:background-color var(--t-color)}th,td{padding:.6em 1em;border:1px solid var(--c-border-dark);transition:border-color var(--t-color)}.arrow{display:inline-block;width:0;height:0}.arrow.up{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:6px solid var(--c-bg-arrow)}.arrow.down{border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid var(--c-bg-arrow)}.arrow.right{border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--c-bg-arrow)}.arrow.left{border-top:4px solid transparent;border-bottom:4px solid transparent;border-right:6px solid var(--c-bg-arrow)}.badge{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:var(--c-bg);vertical-align:top;transition:color var(--t-color),background-color var(--t-color)}.badge.tip{background-color:var(--c-badge-tip)}.badge.warning{background-color:var(--c-badge-warning)}.badge.danger{background-color:var(--c-badge-danger)}.badge+.badge{margin-left:5px}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:var(--font-family-code);font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#ec5975}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:#3eaf7c}.theme-default-content pre,.theme-default-content pre[class*=language-]{line-height:1.4;padding:1.3rem 1.5rem;margin:.85rem 0;border-radius:6px;overflow:auto}.theme-default-content pre code,.theme-default-content pre[class*=language-] code{color:#fff;padding:0;background-color:transparent;border-radius:0;overflow-wrap:unset;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.theme-default-content .line-number{font-family:var(--font-family-code)}div[class*=language-]{position:relative;background-color:var(--code-bg-color);border-radius:6px}div[class*=language-]:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.75rem;color:var(--code-ln-color)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{background:transparent!important;position:relative;z-index:1}div[class*=language-] .highlight-lines{-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-top:1.3rem;position:absolute;top:0;left:0;width:100%;line-height:1.4}div[class*=language-] .highlight-lines .highlight-line{background-color:var(--code-hl-bg-color)}div[class*=language-]:not(.line-numbers-mode) .line-numbers{display:none}div[class*=language-].line-numbers-mode .highlight-lines .highlight-line{position:relative}div[class*=language-].line-numbers-mode .highlight-lines .highlight-line:before{content:" ";position:absolute;z-index:2;left:0;top:0;display:block;width:var(--code-ln-wrapper-width);height:100%}div[class*=language-].line-numbers-mode pre{margin-left:var(--code-ln-wrapper-width);padding-left:1rem;vertical-align:middle}div[class*=language-].line-numbers-mode .line-numbers{position:absolute;top:0;width:var(--code-ln-wrapper-width);text-align:center;color:var(--code-ln-color);padding-top:1.25rem;line-height:1.4;counter-reset:line-number}div[class*=language-].line-numbers-mode .line-numbers .line-number{position:relative;z-index:3;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:1.4em}div[class*=language-].line-numbers-mode .line-numbers .line-number:before{counter-increment:line-number;content:counter(line-number);font-size:.85em}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;top:0;left:0;width:var(--code-ln-wrapper-width);height:100%;border-radius:6px 0 0 6px;border-right:1px solid var(--code-hl-bg-color)}div[class*=language-].ext-c:before{content:"c"}div[class*=language-].ext-cpp:before{content:"cpp"}div[class*=language-].ext-cs:before{content:"cs"}div[class*=language-].ext-css:before{content:"css"}div[class*=language-].ext-dart:before{content:"dart"}div[class*=language-].ext-docker:before{content:"docker"}div[class*=language-].ext-fs:before{content:"fs"}div[class*=language-].ext-go:before{content:"go"}div[class*=language-].ext-html:before{content:"html"}div[class*=language-].ext-java:before{content:"java"}div[class*=language-].ext-js:before{content:"js"}div[class*=language-].ext-json:before{content:"json"}div[class*=language-].ext-kt:before{content:"kt"}div[class*=language-].ext-less:before{content:"less"}div[class*=language-].ext-makefile:before{content:"makefile"}div[class*=language-].ext-md:before{content:"md"}div[class*=language-].ext-php:before{content:"php"}div[class*=language-].ext-py:before{content:"py"}div[class*=language-].ext-rb:before{content:"rb"}div[class*=language-].ext-rs:before{content:"rs"}div[class*=language-].ext-sass:before{content:"sass"}div[class*=language-].ext-scss:before{content:"scss"}div[class*=language-].ext-sh:before{content:"sh"}div[class*=language-].ext-styl:before{content:"styl"}div[class*=language-].ext-ts:before{content:"ts"}div[class*=language-].ext-toml:before{content:"toml"}div[class*=language-].ext-vue:before{content:"vue"}div[class*=language-].ext-yml:before{content:"yml"}@media (max-width: 419px){.theme-default-content div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}.code-group__nav{margin-top:.85rem;margin-bottom:calc(-1.7rem - 6px);padding-bottom:calc(1.7rem - 6px);padding-left:10px;padding-top:10px;border-top-left-radius:6px;border-top-right-radius:6px;background-color:var(--code-bg-color)}.code-group__ul{margin:auto 0;padding-left:0;display:inline-flex;list-style:none}.code-group__nav-tab{border:0;padding:5px;cursor:pointer;background-color:transparent;font-size:.85em;line-height:1.4;color:#ffffffe6;font-weight:600}.code-group__nav-tab:focus{outline:none}.code-group__nav-tab:focus-visible{outline:1px solid rgba(255,255,255,.9)}.code-group__nav-tab-active{border-bottom:var(--c-brand) 1px solid}@media (max-width: 419px){.code-group__nav{margin-left:-1.5rem;margin-right:-1.5rem;border-radius:0}}.code-group-item{display:none}.code-group-item__active{display:block}.code-group-item>pre{background-color:orange}.custom-container{transition:color var(--t-color),border-color var(--t-color),background-color var(--t-color)}.custom-container .custom-container-title{font-weight:600}.custom-container .custom-container-title:not(:only-child){margin-bottom:-.4rem}.custom-container.tip,.custom-container.warning,.custom-container.danger{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-container.tip{border-color:var(--c-tip);background-color:var(--c-tip-bg);color:var(--c-tip-text)}.custom-container.tip .custom-container-title{color:var(--c-tip-title)}.custom-container.tip a{color:var(--c-tip-text-accent)}.custom-container.warning{border-color:var(--c-warning);background-color:var(--c-warning-bg);color:var(--c-warning-text)}.custom-container.warning .custom-container-title{color:var(--c-warning-title)}.custom-container.warning a{color:var(--c-warning-text-accent)}.custom-container.danger{border-color:var(--c-danger);background-color:var(--c-danger-bg);color:var(--c-danger-text)}.custom-container.danger .custom-container-title{color:var(--c-danger-title)}.custom-container.danger a{color:var(--c-danger-text-accent)}.custom-container.details{display:block;position:relative;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:var(--c-details-bg)}.custom-container.details h4{margin-top:0}.custom-container.details figure:last-child,.custom-container.details p:last-child{margin-bottom:0;padding-bottom:0}.custom-container.details summary{outline:none;cursor:pointer}.home{padding:var(--navbar-height) 2rem 0;max-width:var(--homepage-width);margin:0 auto;display:block}.home .hero{text-align:center}.home .hero img{max-width:100%;max-height:280px;display:block;margin:3rem auto 1.5rem}.home .hero h1{font-size:3rem}.home .hero h1,.home .hero .description,.home .hero .actions{margin:1.8rem auto}.home .hero .actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.home .hero .description{max-width:35rem;font-size:1.6rem;line-height:1.3;color:var(--c-text-lightest)}.home .hero .action-button{display:inline-block;font-size:1.2rem;padding:.8rem 1.6rem;border-width:2px;border-style:solid;border-radius:4px;transition:background-color var(--t-color);box-sizing:border-box}.home .hero .action-button.primary{color:var(--c-bg);background-color:var(--c-brand);border-color:var(--c-brand)}.home .hero .action-button.primary:hover{background-color:var(--c-brand-light)}.home .hero .action-button.secondary{color:var(--c-brand);background-color:var(--c-bg);border-color:var(--c-brand)}.home .hero .action-button.secondary:hover{color:var(--c-bg);background-color:var(--c-brand-light)}.home .features{border-top:1px solid var(--c-border);transition:border-color var(--t-color);padding:1.2rem 0;margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:stretch;justify-content:space-between}.home .feature{flex-grow:1;flex-basis:30%;max-width:30%}.home .feature h2{font-size:1.4rem;font-weight:500;border-bottom:none;padding-bottom:0;color:var(--c-text-light)}.home .feature p{color:var(--c-text-lighter)}.home .theme-default-content{padding:0;margin:0}.home .footer{padding:2.5rem;border-top:1px solid var(--c-border);text-align:center;color:var(--c-text-lighter);transition:border-color var(--t-color)}@media (max-width: 719px){.home .features{flex-direction:column}.home .feature{max-width:100%;padding:0 2.5rem}}@media (max-width: 419px){.home{padding-left:1.5rem;padding-right:1.5rem}.home .hero img{max-height:210px;margin:2rem auto 1.2rem}.home .hero h1{font-size:2rem}.home .hero h1,.home .hero .description,.home .hero .actions{margin:1.2rem auto}.home .hero .description{font-size:1.2rem}.home .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home .feature h2{font-size:1.25rem}}.page{padding-top:var(--navbar-height);padding-left:var(--sidebar-width)}.navbar{position:fixed;z-index:20;top:0;left:0;right:0;height:var(--navbar-height);box-sizing:border-box;border-bottom:1px solid var(--c-border);background-color:var(--c-bg-navbar);transition:background-color var(--t-color),border-color var(--t-color)}.sidebar{font-size:16px;width:var(--sidebar-width);position:fixed;z-index:10;margin:0;top:var(--navbar-height);left:0;bottom:0;box-sizing:border-box;border-right:1px solid var(--c-border);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--c-brand) var(--c-border);background-color:var(--c-bg-sidebar);transition:transform var(--t-transform),background-color var(--t-color),border-color var(--t-color)}.sidebar::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-track{background-color:var(--c-border)}.sidebar::-webkit-scrollbar-thumb{background-color:var(--c-brand)}.sidebar-mask{position:fixed;z-index:9;top:0;left:0;width:100vw;height:100vh;display:none}.theme-container.sidebar-open .sidebar-mask{display:block}.theme-container.sidebar-open .navbar>.toggle-sidebar-button .icon span:nth-child(1){transform:rotate(45deg) translate3d(5.5px,5.5px,0)}.theme-container.sidebar-open .navbar>.toggle-sidebar-button .icon span:nth-child(2){transform:scale3d(0,1,1)}.theme-container.sidebar-open .navbar>.toggle-sidebar-button .icon span:nth-child(3){transform:rotate(-45deg) translate3d(6px,-6px,0)}.theme-container.sidebar-open .navbar>.toggle-sidebar-button .icon span:nth-child(1),.theme-container.sidebar-open .navbar>.toggle-sidebar-button .icon span:nth-child(3){transform-origin:center}.theme-container.no-navbar .theme-default-content h1,.theme-container.no-navbar .theme-default-content h2,.theme-container.no-navbar .theme-default-content h3,.theme-container.no-navbar .theme-default-content h4,.theme-container.no-navbar .theme-default-content h5,.theme-container.no-navbar .theme-default-content h6{margin-top:1.5rem;padding-top:0}.theme-container.no-navbar .page{padding-top:0}.theme-container.no-navbar .sidebar{top:0}@media (min-width: 720px){.theme-container.no-sidebar .sidebar{display:none}.theme-container.no-sidebar .page{padding-left:0}}.theme-default-content a:hover{text-decoration:underline}.theme-default-content img{max-width:100%}.theme-default-content h1,.theme-default-content h2,.theme-default-content h3,.theme-default-content h4,.theme-default-content h5,.theme-default-content h6{margin-top:calc(.5rem - var(--navbar-height));padding-top:calc(1rem + var(--navbar-height));margin-bottom:0}.theme-default-content h1:first-child,.theme-default-content h2:first-child,.theme-default-content h3:first-child,.theme-default-content h4:first-child,.theme-default-content h5:first-child,.theme-default-content h6:first-child{margin-bottom:1rem}.theme-default-content h1:first-child+p,.theme-default-content h1:first-child+pre,.theme-default-content h1:first-child+.custom-container,.theme-default-content h2:first-child+p,.theme-default-content h2:first-child+pre,.theme-default-content h2:first-child+.custom-container,.theme-default-content h3:first-child+p,.theme-default-content h3:first-child+pre,.theme-default-content h3:first-child+.custom-container,.theme-default-content h4:first-child+p,.theme-default-content h4:first-child+pre,.theme-default-content h4:first-child+.custom-container,.theme-default-content h5:first-child+p,.theme-default-content h5:first-child+pre,.theme-default-content h5:first-child+.custom-container,.theme-default-content h6:first-child+p,.theme-default-content h6:first-child+pre,.theme-default-content h6:first-child+.custom-container{margin-top:2rem}@media (max-width: 959px){.sidebar{font-size:15px;width:var(--sidebar-width-mobile)}.page{padding-left:var(--sidebar-width-mobile)}}@media (max-width: 719px){.sidebar{top:0;padding-top:var(--navbar-height);transform:translate(-100%)}.page{padding-left:0}.theme-container.sidebar-open .sidebar{transform:translate(0)}.theme-container.no-navbar .sidebar{padding-top:0}}@media (max-width: 419px){h1{font-size:1.9rem}}.navbar{--navbar-line-height: calc( var(--navbar-height) - 2 * var(--navbar-padding-v) );padding:var(--navbar-padding-v) var(--navbar-padding-h);line-height:var(--navbar-line-height)}.navbar .logo{height:var(--navbar-line-height);margin-right:var(--navbar-padding-v);vertical-align:top}.navbar .site-name{font-size:1.3rem;font-weight:600;color:var(--c-text);position:relative}.navbar .navbar-items-wrapper{display:flex;position:absolute;box-sizing:border-box;top:var(--navbar-padding-v);right:var(--navbar-padding-h);height:var(--navbar-line-height);padding-left:var(--navbar-padding-h);white-space:nowrap;font-size:.9rem}.navbar .navbar-items-wrapper .search-box{flex:0 0 auto;vertical-align:top}@media (max-width: 719px){.navbar{padding-left:4rem}.navbar .can-hide{display:none}.navbar .site-name{width:calc(100vw - 9.4rem);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.navbar-items{display:inline-block}.navbar-items a{display:inline-block;line-height:1.4rem;color:inherit}.navbar-items a:hover,.navbar-items a.router-link-active{color:var(--c-text-accent)}.navbar-items .navbar-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:var(--navbar-line-height)}.navbar-items .navbar-item:first-child{margin-left:0}@media (max-width: 719px){.navbar-items .navbar-item{margin-left:0}}@media (min-width: 719px){.navbar-items a:hover,.navbar-items a.router-link-active{color:var(--c-text)}.navbar-item>a:hover,.navbar-item>a.router-link-active{margin-bottom:-2px;border-bottom:2px solid var(--c-text-accent)}}.toggle-sidebar-button{position:absolute;top:.6rem;left:1rem;display:none;padding:.6rem;cursor:pointer}.toggle-sidebar-button .icon{display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.25rem;height:1.25rem;cursor:inherit}.toggle-sidebar-button .icon span{display:inline-block;width:100%;height:2px;border-radius:2px;background-color:var(--c-text);transition:transform var(--t-transform)}.toggle-sidebar-button .icon span:nth-child(2){margin:6px 0}@media screen and (max-width: 719px){.toggle-sidebar-button{display:block}}.toggle-color-mode-button{display:flex;margin:auto;margin-left:1rem;border:0;background:none;color:var(--c-text);opacity:.8;cursor:pointer}.toggle-color-mode-button:hover{opacity:1}.toggle-color-mode-button .icon{width:1.25rem;height:1.25rem}.DocSearch{transition:background-color var(--t-color)}.navbar-dropdown-wrapper{cursor:pointer}.navbar-dropdown-wrapper .navbar-dropdown-title,.navbar-dropdown-wrapper .navbar-dropdown-title-mobile{display:block;font-size:.9rem;font-family:inherit;cursor:inherit;padding:inherit;line-height:1.4rem;background:transparent;border:none;font-weight:500;color:var(--c-text)}.navbar-dropdown-wrapper .navbar-dropdown-title:hover,.navbar-dropdown-wrapper .navbar-dropdown-title-mobile:hover{border-color:transparent}.navbar-dropdown-wrapper .navbar-dropdown-title .arrow,.navbar-dropdown-wrapper .navbar-dropdown-title-mobile .arrow{vertical-align:middle;margin-top:-1px;margin-left:.4rem}.navbar-dropdown-wrapper .navbar-dropdown-title-mobile{display:none;font-weight:600;font-size:inherit}.navbar-dropdown-wrapper .navbar-dropdown-title-mobile:hover{color:var(--c-text-accent)}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item{color:inherit;line-height:1.7rem}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subtitle{margin:.45rem 0 0;border-top:1px solid var(--c-border);padding:1rem 0 .45rem;font-size:.9rem}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subtitle>span{padding:0 1.5rem 0 1.25rem}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subtitle>a{font-weight:inherit}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subtitle>a.router-link-active:after{display:none}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subitem-wrapper{padding:0;list-style:none}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subitem-wrapper .navbar-dropdown-subitem{font-size:.9em}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item a{display:block;line-height:1.7rem;position:relative;border-bottom:none;font-weight:400;margin-bottom:0;padding:0 1.5rem 0 1.25rem}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item a:hover,.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item a.router-link-active{color:var(--c-text-accent)}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item a.router-link-active:after{content:"";width:0;height:0;border-left:5px solid var(--c-text-accent);border-top:3px solid transparent;border-bottom:3px solid transparent;position:absolute;top:calc(50% - 2px);left:9px}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item:first-child .navbar-dropdown-subtitle{margin-top:0;padding-top:0;border-top:0}@media (max-width: 719px){.navbar-dropdown-wrapper.open .navbar-dropdown-title,.navbar-dropdown-wrapper.open .navbar-dropdown-title-mobile{margin-bottom:.5rem}.navbar-dropdown-wrapper .navbar-dropdown-title,.navbar-dropdown-wrapper .navbar-dropdown-title-mobile{display:none}.navbar-dropdown-wrapper .navbar-dropdown-title-mobile{display:block}.navbar-dropdown-wrapper .navbar-dropdown{transition:height .1s ease-out;overflow:hidden}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subtitle{border-top:0;margin-top:0;padding-top:0;padding-bottom:0}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subtitle,.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item>a{font-size:15px;line-height:2rem}.navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item .navbar-dropdown-subitem{font-size:14px;padding-left:1rem}}@media (min-width: 720px){.navbar-dropdown-wrapper{height:1.8rem}.navbar-dropdown-wrapper:hover .navbar-dropdown,.navbar-dropdown-wrapper.open .navbar-dropdown{display:block!important}.navbar-dropdown-wrapper.open:blur{display:none}.navbar-dropdown-wrapper .navbar-dropdown{display:none;height:auto!important;box-sizing:border-box;max-height:calc(100vh - 2.7rem);overflow-y:auto;position:absolute;top:100%;right:0;background-color:var(--c-bg-navbar);padding:.6rem 0;border:1px solid var(--c-border);border-bottom-color:var(--c-border-dark);text-align:left;border-radius:.25rem;white-space:nowrap;margin:0}}.page{padding-bottom:2rem;display:block}.page .theme-default-content{max-width:var(--content-width);margin:0 auto;padding:2rem 2.5rem;padding-top:0}@media (max-width: 959px){.page .theme-default-content{padding:2rem}}@media (max-width: 419px){.page .theme-default-content{padding:1.5rem}}.page-meta{max-width:var(--content-width);margin:0 auto;padding:1rem 2.5rem;overflow:auto}@media (max-width: 959px){.page-meta{padding:2rem}}@media (max-width: 419px){.page-meta{padding:1.5rem}}.page-meta .meta-item{cursor:default;margin-top:.8rem}.page-meta .meta-item .meta-item-label{font-weight:500;color:var(--c-text-lighter)}.page-meta .meta-item .meta-item-info{font-weight:400;color:var(--c-text-quote)}.page-meta .edit-link{display:inline-block;margin-right:.25rem}.page-meta .last-updated{float:right}@media (max-width: 719px){.page-meta .last-updated{font-size:.8em;float:none}.page-meta .contributors{font-size:.8em}}.page-nav{max-width:var(--content-width);margin:0 auto;padding:1rem 2.5rem 2rem;padding-bottom:0}@media (max-width: 959px){.page-nav{padding:2rem}}@media (max-width: 419px){.page-nav{padding:1.5rem}}.page-nav .inner{min-height:2rem;margin-top:0;border-top:1px solid var(--c-border);transition:border-color var(--t-color);padding-top:1rem;overflow:auto}.page-nav .prev a:before{content:"\2190"}.page-nav .next{float:right}.page-nav .next a:after{content:"\2192"}.sidebar ul{padding:0;margin:0;list-style-type:none}.sidebar a{display:inline-block}.sidebar .navbar-items{display:none;border-bottom:1px solid var(--c-border);transition:border-color var(--t-color);padding:.5rem 0 .75rem}.sidebar .navbar-items a{font-weight:600}.sidebar .navbar-items .navbar-item{display:block;line-height:1.25rem;font-size:1.1em;padding:.5rem 0 .5rem 1.5rem}.sidebar .sidebar-items{padding:1.5rem 0}@media (max-width: 719px){.sidebar .navbar-items{display:block}.sidebar .navbar-items .navbar-dropdown-wrapper .navbar-dropdown .navbar-dropdown-item a.router-link-active:after{top:calc(1rem - 2px)}.sidebar .sidebar-items{padding:1rem 0}}.sidebar-item{cursor:default;border-left:.25rem solid transparent;color:var(--c-text)}.sidebar-item:focus-visible{outline-width:1px;outline-offset:-1px}.sidebar-item.active:not(p.sidebar-heading){font-weight:600;color:var(--c-text-accent);border-left-color:var(--c-text-accent)}.sidebar-item.sidebar-heading{transition:color .15s ease;font-size:1.1em;font-weight:700;padding:.35rem 1.5rem .35rem 1.25rem;width:100%;box-sizing:border-box;margin:0}.sidebar-item.sidebar-heading.collapsible{cursor:pointer}.sidebar-item.sidebar-heading.collapsible+.sidebar-item-children{transition:height .1s ease-out;overflow:hidden;margin-bottom:.75rem}.sidebar-item.sidebar-heading .arrow{position:relative;top:-.12em;left:.5em}.sidebar-item:not(.sidebar-heading){font-size:1em;font-weight:400;display:inline-block;margin:0;padding:.35rem 1rem .35rem 2rem;line-height:1.4;width:100%;box-sizing:border-box}.sidebar-item:not(.sidebar-heading)+.sidebar-item-children{padding-left:1rem;font-size:.95em}.sidebar-item-children .sidebar-item-children .sidebar-item:not(.sidebar-heading){padding:.25rem 1rem .25rem 1.75rem}.sidebar-item-children .sidebar-item-children .sidebar-item:not(.sidebar-heading).active{font-weight:500;border-left-color:transparent}a.sidebar-heading+.sidebar-item-children .sidebar-item:not(.sidebar-heading).active{border-left-color:transparent}a.sidebar-item{cursor:pointer}a.sidebar-item:hover{color:var(--c-text-accent)}.table-of-contents .badge{vertical-align:middle}.dropdown-enter-from,.dropdown-leave-to{height:0!important}.fade-slide-y-enter-active{transition:all .2s ease}.fade-slide-y-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1)}.fade-slide-y-enter-from,.fade-slide-y-leave-to{transform:translateY(10px);opacity:0}.home .hero .description{max-width:40rem}.home .hero .action-button{padding:.5rem 1.8rem}.sidebar-item.sidebar-heading{padding-top:1.1rem}:root{--c-brand: #379ae8;--c-brand-light: #4ea3e4}html.dark{--c-brand: #f7c099;--c-brand-light: #d8a682}/*! @docsearch/css 3.1.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}@media (max-width:750px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::-moz-placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{-webkit-animation:none;animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{-webkit-animation:fade-in .1s ease-in forwards;animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:focus{outline:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:-webkit-sticky;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"\bb "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}@media (max-width:750px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (min-width: 751px){#docsearch-container{min-width:171.36px}}@media (max-width: 750px){.DocSearch-Container{position:fixed}#docsearch-container{min-width:52px}} diff --git a/docs/docs/.vuepress/dist/assets/summary.html.77a51253.js b/docs/docs/.vuepress/dist/assets/summary.html.77a51253.js deleted file mode 100644 index 0a0bb2c..0000000 --- a/docs/docs/.vuepress/dist/assets/summary.html.77a51253.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as l,r as o,o as i,c as a,b as e,d as r,e as t,a as g}from"./app.b9af7f8c.js";const c={},h=e("h2",{id:"\u89C6\u9891\u5C55\u793A",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u89C6\u9891\u5C55\u793A","aria-hidden":"true"},"#"),t(" \u89C6\u9891\u5C55\u793A")],-1),_=e("iframe",{height:"400px",width:"100%",src:"//player.bilibili.com/player.html?bvid=BV1fv4y1T72e&page=1",scrolling:"no",border:"0",frameborder:"no",framespacing:"0",allowfullscreen:"true"}," ",-1),d=e("h2",{id:"\u9879\u76EE\u4ECB\u7ECD",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u9879\u76EE\u4ECB\u7ECD","aria-hidden":"true"},"#"),t(" \u9879\u76EE\u4ECB\u7ECD")],-1),u=e("ol",null,[e("li",null,[e("strong",null,"backblaze"),t("\uFF1A\u53C8\u53EBb2\uFF0C\u662F\u4E00\u5BB6\u4E91\u5B58\u50A8\u5E73\u53F0\uFF0C\u53EF\u4EE5\u628A\u81EA\u5DF1\u7684\u6587\u4EF6\u4E0A\u4F20\u81F3\u4E91\u7AEF\uFF0C\u540C\u65F6\u63D0\u4F9B\u4E00\u4E2A\u53EF\u4EE5\u5728\u5916\u754C\u8BBF\u95EE\u7684url\u5730\u5740\u3002")]),e("li",null,[e("strong",null,"cloudflare"),t("\uFF1ACDN\uFF0C\u7F13\u5B58\u7F51\u9875\uFF0C\u6211\u4EEC\u7684\u76EE\u7684\u662F\u7F13\u5B58backblaze\u7684\u56FE\u7247,\u5E76\u4E14\u505ACDN\u52A0\u901F\uFF0C\u4F7F\u7528\u6237\u770B\u56FE\u7684\u6D41\u91CF\u4E0D\u8D70 backblaze\uFF0C\u8D70 cloudflare\u3002backblaze \u5728 cloudflare \u7684\u5E26\u5BBD\u8054\u76DF\u4E2D\uFF0C\u4E8C\u8005\u4E4B\u95F4\u7684\u6D41\u91CF\u514D\u8D39\uFF0C\u5728\u8FD9\u91CC\u4F7F\u7528backblaze\uFF0C\u4F7F\u7528\u6237\u6D41\u91CF\u5168\u90E8\u8D70\u5E26\u5BBD\u8054\u76DF\u3002")])],-1),b=e("h2",{id:"\u529F\u80FD\u652F\u6301",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u529F\u80FD\u652F\u6301","aria-hidden":"true"},"#"),t(" \u529F\u80FD\u652F\u6301")],-1),m={href:"https://github.com/Rr210",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/badge/author-Rr210-violet.svg",alt:"Author"},null,-1),p=t(),k={href:"https://github.com/Rr210/blazeB2/releases",target:"_blank",rel:"noopener noreferrer"},z=e("img",{src:"https://img.shields.io/github/release/Rr210/blazeB2.svg",alt:"Release"},null,-1),v=t(),B={href:"https://github.com/Rr210/blazeB2/blob/master/LICENSE",target:"_blank",rel:"noopener noreferrer"},R=e("img",{src:"https://img.shields.io/github/license/Rr210/blazeB2.svg",alt:"License"},null,-1),x=t(),N={href:"https://github.com/Rr210/blazeB2",target:"_blank",rel:"noopener noreferrer"},C=e("img",{src:"https://img.shields.io/github/stars/Rr210/blazeB2",alt:"Stars"},null,-1),y=t(),E={href:"https://github.com/Rr210/blazeB2/issues",target:"_blank",rel:"noopener noreferrer"},V=e("img",{src:"https://img.shields.io/github/issues/Rr210/blazeB2",alt:"Issues"},null,-1),I=g("
  • \u652F\u6301 \u62D6\u62FD\u3001\u590D\u5236\u7C98\u8D34\u3001\u9009\u62E9\u6587\u4EF6 \u7B49\u65B9\u5F0F\u8FDB\u884C\u9009\u62E9\u56FE\u7247
  • \u652F\u6301 \u56FE\u7247\u540D\u79F0\u552F\u4E00\u6027 \u540E\u7AEF\u751F\u6210uuid\u5B57\u7B26\u4E32\uFF0C\u6682\u4E0D\u652F\u6301\u81EA\u5B9A\u4E49\u540D\u79F0
  • \u652F\u6301 \u81EA\u5B9A\u4E49\u4E0A\u4F20\u6587\u4EF6\u5939 \u53EF\u81EA\u52A8\u751F\u6210
  • \u652F\u6301 \u81EA\u5B9A\u4E49\u68C0\u7D22\u67D0\u4E2A\u6307\u5B9A\u6587\u4EF6\u5939\u6216\u56FE\u7247
  • \u652F\u6301 \u4E00\u952E\u590D\u5236 \u56FE\u7247\u5916\u94FE\u548C\u652F\u6301\u591A\u79CD\u683C\u5F0F(MarkDown\uFF0Chtml,\u81EA\u5B9A\u4E49)
  • \u652F\u6301 \u4E00\u952E\u90E8\u7F72\uFF08vercel,\u817E\u8BAF\u4E91serverless,heroku,docker\uFF09\u67E5\u770B\u90E8\u7F72\u65B9\u6CD5
  • \u652F\u6301 \u56FE\u5E8A\u7BA1\u7406\uFF08\u5BF9\u4ED3\u5E93\u56FE\u7247\u7684 \u589E\u5220\u67E5 \u9884\u89C8\uFF09
  • \u652F\u6301 \u663E\u793A\u4ED3\u5E93\u4E0B\u6240\u6709\u6587\u4EF6\u5939\u540D\u79F0 \u652F\u6301\u81EA\u5B9A\u4E49\u9ED8\u8BA4\u641C\u7D22\u4ED3\u5E93\u540D
  • \u652F\u6301 \u6697\u591C\u6A21\u5F0F (\u81EA\u7531\u5207\u6362 / \u81EA\u52A8\u5207\u6362)
  • \u652F\u6301 \u56FE\u7247\u538B\u7F29 \u53EF\u81EA\u5B9A\u4E49\u538B\u7F29\u7B49\u7EA7 \u9ED8\u8BA4\u5173\u95ED\uFF0C\u5F00\u542F\u9ED8\u8BA4(0.8)
  • \u652F\u6301 PWA \u5F85\u5B8C\u6210
  • \u652F\u6301 \u6279\u91CF\u4E0A\u4F20\u56FE\u7247\u3001\u6279\u91CF\u5220\u9664\u56FE\u7247 \u548C \u6279\u91CF\u590D\u5236\u56FE\u7247\u5916\u94FE \u5F85\u5B8C\u6210
  • \u652F\u6301 \u56FE\u7247\u6C34\u5370 \u5F85\u5B8C\u6210
",1);function L(w,D){const s=o("ExternalLinkIcon"),n=o("Comments");return i(),a("div",null,[h,_,d,u,b,e("p",null,[e("a",m,[f,r(s)]),p,e("a",k,[z,r(s)]),v,e("a",B,[R,r(s)]),x,e("a",N,[C,r(s)]),y,e("a",E,[V,r(s)])]),I,r(n)])}var A=l(c,[["render",L],["__file","summary.html.vue"]]);export{A as default}; diff --git a/docs/docs/.vuepress/dist/assets/summary.html.9a593653.js b/docs/docs/.vuepress/dist/assets/summary.html.9a593653.js deleted file mode 100644 index 4897822..0000000 --- a/docs/docs/.vuepress/dist/assets/summary.html.9a593653.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-361c421a","path":"/en/guide/summary.html","title":"\u6982\u8FF0","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u6982\u8FF0","description":"\u56FE\u5E8A\u529F\u80FD\u7684\u4ECB\u7ECD"},"excerpt":"","headers":[{"level":2,"title":"\u9879\u76EE\u4ECB\u7ECD","slug":"\u9879\u76EE\u4ECB\u7ECD","children":[]},{"level":2,"title":"\u529F\u80FD\u652F\u6301","slug":"\u529F\u80FD\u652F\u6301","children":[]}],"git":{"updatedTime":1656772393000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":1}]},"filePathRelative":"en/guide/summary.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/summary.html.bc08fd43.js b/docs/docs/.vuepress/dist/assets/summary.html.bc08fd43.js deleted file mode 100644 index f83f023..0000000 --- a/docs/docs/.vuepress/dist/assets/summary.html.bc08fd43.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-7fb2fc4e","path":"/zh/guide/summary.html","title":"\u6982\u8FF0","lang":"zh-CN","frontmatter":{"lang":"zh-CN","title":"\u6982\u8FF0","description":"\u56FE\u5E8A\u529F\u80FD\u7684\u4ECB\u7ECD"},"excerpt":"","headers":[{"level":2,"title":"\u89C6\u9891\u5C55\u793A","slug":"\u89C6\u9891\u5C55\u793A","children":[]},{"level":2,"title":"\u9879\u76EE\u4ECB\u7ECD","slug":"\u9879\u76EE\u4ECB\u7ECD","children":[]},{"level":2,"title":"\u529F\u80FD\u652F\u6301","slug":"\u529F\u80FD\u652F\u6301","children":[]}],"git":{"updatedTime":1657208120000,"contributors":[{"name":"rr210","email":"1577791638@qq.com","commits":7}]},"filePathRelative":"zh/guide/summary.md"}');export{e as data}; diff --git a/docs/docs/.vuepress/dist/assets/summary.html.e9ab8476.js b/docs/docs/.vuepress/dist/assets/summary.html.e9ab8476.js deleted file mode 100644 index 970dd3c..0000000 --- a/docs/docs/.vuepress/dist/assets/summary.html.e9ab8476.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o,r as n,o as l,c as i,b as t,d as r,e,a}from"./app.b9af7f8c.js";const g={},c=t("h2",{id:"\u9879\u76EE\u4ECB\u7ECD",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#\u9879\u76EE\u4ECB\u7ECD","aria-hidden":"true"},"#"),e(" \u9879\u76EE\u4ECB\u7ECD")],-1),h=t("ol",null,[t("li",null,[t("strong",null,"backblaze"),e("\uFF1A\u53C8\u53EBb2\uFF0C\u662F\u4E00\u5BB6\u4E91\u5B58\u50A8\u5E73\u53F0\uFF0C\u53EF\u4EE5\u628A\u81EA\u5DF1\u7684\u6587\u4EF6\u4E0A\u4F20\u81F3\u4E91\u7AEF\uFF0C\u540C\u65F6\u63D0\u4F9B\u4E00\u4E2A\u53EF\u4EE5\u5728\u5916\u754C\u8BBF\u95EE\u7684url\u5730\u5740\u3002")]),t("li",null,[t("strong",null,"cloudflare"),e("\uFF1ACDN\uFF0C\u7F13\u5B58\u7F51\u9875\uFF0C\u6211\u4EEC\u7684\u76EE\u7684\u662F\u7F13\u5B58backblaze\u7684\u56FE\u7247,\u5E76\u4E14\u505ACDN\u52A0\u901F\uFF0C\u4F7F\u7528\u6237\u770B\u56FE\u7684\u6D41\u91CF\u4E0D\u8D70 backblaze\uFF0C\u8D70 cloudflare\u3002backblaze \u5728 cloudflare \u7684\u5E26\u5BBD\u8054\u76DF\u4E2D\uFF0C\u4E8C\u8005\u4E4B\u95F4\u7684\u6D41\u91CF\u514D\u8D39\uFF0C\u5728\u8FD9\u91CC\u4F7F\u7528backblaze\uFF0C\u4F7F\u7528\u6237\u6D41\u91CF\u5168\u90E8\u8D70\u5E26\u5BBD\u8054\u76DF\u3002")])],-1),_=t("h2",{id:"\u529F\u80FD\u652F\u6301",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#\u529F\u80FD\u652F\u6301","aria-hidden":"true"},"#"),e(" \u529F\u80FD\u652F\u6301")],-1),d={href:"https://github.com/Rr210",target:"_blank",rel:"noopener noreferrer"},u=t("img",{src:"https://img.shields.io/badge/author-Rr210-violet.svg",alt:"Author"},null,-1),b=e(),m={href:"https://github.com/Rr210/blazeB2/releases",target:"_blank",rel:"noopener noreferrer"},f=t("img",{src:"https://img.shields.io/github/release/Rr210/blazeB2.svg",alt:"Release"},null,-1),p=e(),k={href:"https://github.com/Rr210/blazeB2/blob/master/LICENSE",target:"_blank",rel:"noopener noreferrer"},z=t("img",{src:"https://img.shields.io/github/license/Rr210/blazeB2.svg",alt:"License"},null,-1),x=e(),B={href:"https://github.com/Rr210/blazeB2",target:"_blank",rel:"noopener noreferrer"},R=t("img",{src:"https://img.shields.io/github/stars/Rr210/blazeB2",alt:"Stars"},null,-1),v=e(),N={href:"https://github.com/Rr210/blazeB2/issues",target:"_blank",rel:"noopener noreferrer"},E=t("img",{src:"https://img.shields.io/github/issues/Rr210/blazeB2",alt:"Issues"},null,-1),C=a("
  • [x] \u652F\u6301 \u62D6\u62FD\u3001\u590D\u5236\u7C98\u8D34\u3001\u9009\u62E9\u6587\u4EF6 \u7B49\u65B9\u5F0F\u8FDB\u884C\u9009\u62E9\u56FE\u7247
  • [x] \u652F\u6301 \u56FE\u7247\u540D\u79F0\u552F\u4E00\u6027\uFF0C\u53EF\u8BBE\u7F6E\u547D\u540D\u524D\u7F00
  • [x] \u652F\u6301 \u4E00\u952E\u590D\u5236 \u56FE\u7247\u5916\u94FE\u548C\u652F\u6301\u591A\u79CD\u683C\u5F0F(MarkDown\uFF0Chtml,\u81EA\u5B9A\u4E49)
  • [x] \u652F\u6301 \u4E00\u952E\u90E8\u7F72\uFF08vercel,\u817E\u8BAF\u4E91serverless\uFF09\u67E5\u770B\u90E8\u7F72\u65B9\u6CD5
  • [ ] \u652F\u6301 \u56FE\u5E8A\u7BA1\u7406\uFF08\u5BF9\u4ED3\u5E93\u56FE\u7247\u7684 \u589E\u5220\u6539\u67E5\uFF09
  • [ ] \u652F\u6301 \u6697\u591C\u6A21\u5F0F (\u81EA\u7531\u5207\u6362 / \u81EA\u52A8\u5207\u6362)
  • [ ] \u652F\u6301 PWA
  • [ ] \u652F\u6301 \u56FE\u7247\u538B\u7F29
  • [ ] \u652F\u6301 \u6279\u91CF\u4E0A\u4F20\u56FE\u7247\u3001\u6279\u91CF\u5220\u9664\u56FE\u7247 \u548C \u6279\u91CF\u590D\u5236\u56FE\u7247\u5916\u94FE
  • [ ] \u8BBE\u7F6E\u56FE\u7247\u6C34\u5370
",1);function I(L,V){const s=n("ExternalLinkIcon");return l(),i("div",null,[c,h,_,t("p",null,[t("a",d,[u,r(s)]),b,t("a",m,[f,r(s)]),p,t("a",k,[z,r(s)]),x,t("a",B,[R,r(s)]),v,t("a",N,[E,r(s)])]),C])}var S=o(g,[["render",I],["__file","summary.html.vue"]]);export{S as default}; diff --git a/docs/docs/.vuepress/dist/en/guide/config.html b/docs/docs/.vuepress/dist/en/guide/config.html deleted file mode 100644 index 844f125..0000000 --- a/docs/docs/.vuepress/dist/en/guide/config.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 图床配置 | BlazeB2 图床 - - - - - - - - diff --git a/docs/docs/.vuepress/dist/en/guide/contribution.html b/docs/docs/.vuepress/dist/en/guide/contribution.html deleted file mode 100644 index 5a99787..0000000 --- a/docs/docs/.vuepress/dist/en/guide/contribution.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 贡献指南 | BlazeB2 图床 - - - - - - - - diff --git a/docs/docs/.vuepress/dist/en/guide/deploy.html b/docs/docs/.vuepress/dist/en/guide/deploy.html deleted file mode 100644 index 16553d7..0000000 --- a/docs/docs/.vuepress/dist/en/guide/deploy.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 一键部署 | BlazeB2 图床 - - - - - - - - diff --git a/docs/docs/.vuepress/dist/en/guide/index.html b/docs/docs/.vuepress/dist/en/guide/index.html deleted file mode 100644 index bdef17c..0000000 --- a/docs/docs/.vuepress/dist/en/guide/index.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - 快速上手 | BlazeB2 图床 - - - - -

快速上手

新建存储桶

  1. 打开 Backblaze B2 云存储官网 ,进行注册登录,在右下角切换语言为 简体中文
  2. My Account ==> ==> 创作一个桶 ==> 设置存储桶名称(唯一) ==> 设为(公开public)

  • 创建完成后如图所示

桶设定

  • 设置缓冲,桶信息设置为{"cache-control":"max-age=43200"},默认不会进行缓冲。
{"cache-control":"max-age=43200"}
-

  • CORS规则跨域配置可根据需要进行配置

查看B2桶域名

  • 配置完成,点击 “Upload/Download(上传/下载)”,上传一个临时的测试文件到存储桶中,然后在你刚上传的文件处,点击 “i(information,信息)”. 这是为了获取下一步需要的信息,你的存储桶处于哪台服务器上。

Cloudflare配置(非必要)

重定向&&缓冲处理

  • 使用cloudflare 重定向 规则设定 缓冲处理 (按照图片配置操作)

Last Updated:
Contributors: rr210
- - - diff --git a/docs/docs/.vuepress/dist/en/guide/page.html b/docs/docs/.vuepress/dist/en/guide/page.html deleted file mode 100644 index 3e70f1a..0000000 --- a/docs/docs/.vuepress/dist/en/guide/page.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 开始使用 | BlazeB2 图床 - - - - - - - - diff --git a/docs/docs/.vuepress/dist/en/guide/summary.html b/docs/docs/.vuepress/dist/en/guide/summary.html deleted file mode 100644 index 1748290..0000000 --- a/docs/docs/.vuepress/dist/en/guide/summary.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 概述 | BlazeB2 图床 - - - - -

项目介绍

  1. backblaze:又叫b2,是一家云存储平台,可以把自己的文件上传至云端,同时提供一个可以在外界访问的url地址。
  2. cloudflare:CDN,缓存网页,我们的目的是缓存backblaze的图片,并且做CDN加速,使用户看图的流量不走 backblaze,走 cloudflare。backblaze 在 cloudflare 的带宽联盟中,二者之间的流量免费,在这里使用backblaze,使用户流量全部走带宽联盟。

功能支持

Authoropen in new window Releaseopen in new window Licenseopen in new window Starsopen in new window Issuesopen in new window

  • [x] 支持 拖拽复制粘贴选择文件 等方式进行选择图片
  • [x] 支持 图片名称唯一性,可设置命名前缀
  • [x] 支持 一键复制 图片外链和支持多种格式(MarkDownhtml,自定义)
  • [x] 支持 一键部署(vercel,腾讯云serverless)查看部署方法
  • [ ] 支持 图床管理(对仓库图片的 增删改查
  • [ ] 支持 暗夜模式 (自由切换 / 自动切换)
  • [ ] 支持 PWA
  • [ ] 支持 图片压缩
  • [ ] 支持 批量上传图片批量删除图片批量复制图片外链
  • [ ] 设置图片水印
Last Updated:
Contributors: rr210
- - - diff --git a/docs/docs/.vuepress/dist/en/index.html b/docs/docs/.vuepress/dist/en/index.html deleted file mode 100644 index 4e6793e..0000000 --- a/docs/docs/.vuepress/dist/en/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - BlazeB2 图床 - - - - -
BlazeB2 Drawing bed

BlazeB2 Drawing bed

Developing cloudflare accelerated mapping tool based on backblazeb2 API

Get started quickly

🛠️ Simplicity first

There is no need to download or install. The browser can be used by opening the official website for simple configuration。

🍩 Stable and reliable

Relying on the mature technology of giant factories, it is completely free, stable, reliable and available at any time.

⚡️ Extremely fast and efficient

blazeb2 &amp; cloudflare CDN acceleration function, extremely fast and efficient.

- - - diff --git a/docs/docs/.vuepress/dist/favicon.ico b/docs/docs/.vuepress/dist/favicon.ico deleted file mode 100644 index b2451e4..0000000 Binary files a/docs/docs/.vuepress/dist/favicon.ico and /dev/null differ diff --git a/docs/docs/.vuepress/dist/img/logo.svg b/docs/docs/.vuepress/dist/img/logo.svg deleted file mode 100644 index 26ee14e..0000000 --- a/docs/docs/.vuepress/dist/img/logo.svg +++ /dev/null @@ -1,9 +0,0 @@ - - logo - - - - - - \ No newline at end of file diff --git a/docs/docs/.vuepress/dist/img/txy.svg b/docs/docs/.vuepress/dist/img/txy.svg deleted file mode 100644 index cff13f2..0000000 --- a/docs/docs/.vuepress/dist/img/txy.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/docs/docs/.vuepress/dist/index.html b/docs/docs/.vuepress/dist/index.html deleted file mode 100644 index 07d694f..0000000 --- a/docs/docs/.vuepress/dist/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - BlazeB2 图床 - - - - -
BlazeB2 图床

BlazeB2 图床

基于backblazeb2 Api开发 Cloudflare加速图床工具

快速上手

🛠️ 简洁至上

无需下载,无需安装,浏览器打开官网进行简单配置即可使用。

🍩 稳定可靠

依托于巨头大厂成熟技术,完全免费,稳定可靠,随时可用。

⚡️ 极速高效

BlazeB2 & Cloudflare CDN 加速功能,极速高效。

- - - diff --git a/docs/docs/.vuepress/dist/zh/guide/config.html b/docs/docs/.vuepress/dist/zh/guide/config.html deleted file mode 100644 index 9742cf0..0000000 --- a/docs/docs/.vuepress/dist/zh/guide/config.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 图床配置 | BlazeB2 图床 - - - - - - - - diff --git a/docs/docs/.vuepress/dist/zh/guide/contribution.html b/docs/docs/.vuepress/dist/zh/guide/contribution.html deleted file mode 100644 index 7cd14e0..0000000 --- a/docs/docs/.vuepress/dist/zh/guide/contribution.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 贡献指南 | BlazeB2 图床 - - - - - - - - diff --git a/docs/docs/.vuepress/dist/zh/guide/deploy.html b/docs/docs/.vuepress/dist/zh/guide/deploy.html deleted file mode 100644 index a601244..0000000 --- a/docs/docs/.vuepress/dist/zh/guide/deploy.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - 一键部署 | BlazeB2 图床 - - - - -

项目文件结构

└─static  // 存放静态文件
-    ├─css
-    ├─fonts
-    ├─img
-    │  └─icons
-    └─js
-└─index.py  // 项目启动文件
-└─Procfile  // Heroku启动文件
-└─requirements.txt //项目依赖库
-└─scf_bootstrap  // 腾讯云部署启动文件
-

部署

基于docker + nginx 部署

  1. docker安装 【安装open in new window
  2. 拉取代码到服务端
git clone -b build https://github.com/Rr210/blazeB2.git
-# gitee
-git clone -b build https://gitee.com/rbozo/blazeB2.git
-
  1. 打开docker-compose.yml 文件修改映射端口号
version: "3"
-services:
-  flask_test:
-    image: flask-test:1.0 # 生成的镜像的名称 和 tag
-    build: . # 一键构建镜像  =================  以上为构建命令,以下为运行命令
-    restart: always # 总是重启
-    container_name: flask_v1 # 运行后的容器的名称
-    ports:
-      - "7008:9000" # 端口映射, 这里是将 docker 容器内的 9000 端口映射到云服务器的 7008 端口  7008为外网端口号
-
  1. 在当前目录下执行
docker-compose up -d --build
-
  1. 检查项目是否启动
#检查是否启动
-docker-compose ps 
-# 查看端口是否启动占用
-netstat -nltp
-# 查看日志是否报错
-docker logs flask_v1
-
  1. 配置nginx
  • 可以开启gzip加速
server {
-    listen  80; # 监听80端口
-    root       /www/wwwroot/b2.mr90.top; 
-    server_name b2.mr90.top; # 配置域名
-    # 处理静态资源:
-    location ~ ^\/static\/.*$ {
-        root /www/wwwroot/b2.mr90.top/static/;
-    }
-    fastcgi_param   HTTPS    on;
-	fastcgi_param   HTTP_SCHEME   https;
-	gzip_static on;
-    gzip_proxied expired no-cache no-store private auth;
-    gzip on;
-    gzip_min_length 1k;
-    gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript;
-    gzip_vary on;
-    gzip_disable "MSIE [1-6]\.";
-    # 动态请求转发到7008端口(gunicorn):
-    location / {
-        proxy_pass       http://127.0.0.1:7008;
-        proxy_set_header X-Real-IP $remote_addr;
-        proxy_set_header Host $host;
-        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-    }
-}
-

Heroku 部署

  • 方式一:
  1. 如果 您还没有 Heroku 帐户,可前往 Herokuopen in new window 注册一个免费帐户。
  2. 注册邮箱建议使用谷歌邮箱(qq,163无法注册)
  3. 创建新的 Heroku App
  4. 拉取代码部署(或者直接forkopen in new window本仓库)
git clone -b build https://github.com/Rr210/blazeB2.git
-
  • fork无需拉取上传
  • 将代码创建并保存到自己的github仓库
  1. 开始部署
  • 选择github方式部署,绑定自己的仓库

  • 选择下面手动部署 选择分支build 如果是fork项目,根据情况选择

腾讯云部署

open in new window

  1. 创建web函数

  1. 将原有的文件删除,新建一个空的src文件

  1. 然后将apiopen in new window文件上传到src文件中

  1. 点击终端安装依赖
  • 必须执行 修改文件权限
cd src/
-pip3 install Flask requests -t .
-chmod 755 scf_bootstrap
-
  • 注意: 启动文件可能存在权限不足问题

  1. 点击依赖完成部署,下滑找到部署地址访问

vercel一键秒部署

  • 可能会存在以下问题

Last Updated:
Contributors: rr210
- - - diff --git a/docs/docs/.vuepress/dist/zh/guide/index.html b/docs/docs/.vuepress/dist/zh/guide/index.html deleted file mode 100644 index bc28c6b..0000000 --- a/docs/docs/.vuepress/dist/zh/guide/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - 快速上手 | BlazeB2 图床 - - - - -

快速上手

新建存储桶

  1. 打开 Backblaze B2 云存储官网 ,进行注册登录,在右下角切换语言为 简体中文
  2. My Account ==> ==> 创作一个桶 ==> 设置存储桶名称(唯一) ==> 设为(公开public)

  • 创建完成后如图所示

桶设定

  • 设置缓冲,桶信息设置为{"cache-control":"max-age=43200"},默认不会进行缓冲。
{"cache-control":"max-age=43200"}
-

  • CORS规则跨域配置可根据需要进行配置

查看B2桶域名

  • 配置完成,点击 “Upload/Download(上传/下载)”,上传一个临时的测试文件到存储桶中,然后在你刚上传的文件处,点击 “i(information,信息)”. 这是为了获取下一步需要的信息,你的存储桶处于哪台服务器上。

Cloudflare配置

重定向&&缓冲处理

  • 使用cloudflare 重定向 规则设定 缓冲处理 (按照图片配置操作)

重写URL

  • /file/bucket/ 名称隐藏 隐藏桶名称
concat("/file/bucket", http.request.uri.path)
-

  • 优化前我们的访问路径为:https://b2.domain.com/file/bucket/xxx.txt
  • 优化后的路径为:https://b2.domain.com/xxx.txt
  • 可以看出去除了file/bucket/

重写请求头

  • 去除不必要的响应Header
  • Backblaze B2会在请求的响应头中添加以下几个header参数:
x-bz-content-sha1
-x-bz-file-id
-x-bz-file-name
-x-bz-upload-timestamp
-
  • 虽然影响不大,但是一看这些参数就知道你用的B2,并且这些参数头一般拿来也没啥用,我们也可以通过CloudFlare的重写规则将其去掉。
  • 依然在转换规则那里 - 创建转换规则 - 修改响应头。

Last Updated:
Contributors: rr210
- - - diff --git a/docs/docs/.vuepress/dist/zh/guide/page.html b/docs/docs/.vuepress/dist/zh/guide/page.html deleted file mode 100644 index ccd2cb3..0000000 --- a/docs/docs/.vuepress/dist/zh/guide/page.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 开始使用 | BlazeB2 图床 - - - - -

进入页面

开始配置

  • 点击右上角登录,进入密钥管理配置界面
  • 首先在blazeb2申请一个 应用密钥 申请地址open in new window
  • 点击添加新的应用程序密钥,然后按照图片操作

  • 确认添加后将生成的密钥复制保存

填写密钥

  • 按照图片填写,保存至本地就可以使用

上传图片配置

  • 密钥配置完成后,开始配置首页的上传图片的设置
  • 压缩默认关闭,打开后默认压缩比为80%
  • 第一个上传路径 必须填写 按照左图格式填写 几级目录都可以,如果b2桶中的不存在文件夹 上传时 会自动创建文件夹

图床管理配置

  • 图片文件夹目录为图床管理界面下的默认检索地址,有两种设置方式 手动输入和自动填写 推荐手动输入
Last Updated:
Contributors: rr210
- - - diff --git a/docs/docs/.vuepress/dist/zh/guide/summary.html b/docs/docs/.vuepress/dist/zh/guide/summary.html deleted file mode 100644 index e06ecf0..0000000 --- a/docs/docs/.vuepress/dist/zh/guide/summary.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - 概述 | BlazeB2 图床 - - - - -

视频展示

项目介绍

  1. backblaze:又叫b2,是一家云存储平台,可以把自己的文件上传至云端,同时提供一个可以在外界访问的url地址。
  2. cloudflare:CDN,缓存网页,我们的目的是缓存backblaze的图片,并且做CDN加速,使用户看图的流量不走 backblaze,走 cloudflare。backblaze 在 cloudflare 的带宽联盟中,二者之间的流量免费,在这里使用backblaze,使用户流量全部走带宽联盟。

功能支持

Authoropen in new window Releaseopen in new window Licenseopen in new window Starsopen in new window Issuesopen in new window

  • 支持 拖拽复制粘贴选择文件 等方式进行选择图片
  • 支持 图片名称唯一性 后端生成uuid字符串,暂不支持自定义名称
  • 支持 自定义上传文件夹 可自动生成
  • 支持 自定义检索某个指定文件夹或图片
  • 支持 一键复制 图片外链和支持多种格式(MarkDownhtml,自定义)
  • 支持 一键部署(vercel,腾讯云serverless,heroku,docker)查看部署方法
  • 支持 图床管理(对仓库图片的 增删查 预览)
  • 支持 显示仓库下所有文件夹名称 支持自定义默认搜索仓库名
  • 支持 暗夜模式 (自由切换 / 自动切换)
  • 支持 图片压缩 可自定义压缩等级 默认关闭,开启默认(0.8)
  • 支持 PWA 待完成
  • 支持 批量上传图片批量删除图片批量复制图片外链 待完成
  • 支持 图片水印 待完成
Last Updated:
Contributors: rr210
- - - diff --git a/docs/docs/.vuepress/dist/zh/index.html b/docs/docs/.vuepress/dist/zh/index.html deleted file mode 100644 index 8768f75..0000000 --- a/docs/docs/.vuepress/dist/zh/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - BlazeB2 图床 - - - - -
BlazeB2 图床

BlazeB2 图床

基于backblazeb2 Api开发 Cloudflare加速图床工具

快速上手

🛠️ 简洁至上

无需下载,无需安装,浏览器打开官网进行简单配置即可使用。

🍩 稳定可靠

依托于巨头大厂成熟技术,完全免费,稳定可靠,随时可用。

⚡️ 极速高效

BlazeB2 & Cloudflare CDN 加速功能,极速高效。

- - - diff --git a/docs/docs/.vuepress/public/CNAME b/docs/docs/.vuepress/public/CNAME new file mode 100644 index 0000000..f8254ee --- /dev/null +++ b/docs/docs/.vuepress/public/CNAME @@ -0,0 +1 @@ +blazeb2.js.org \ No newline at end of file diff --git a/docs/docs/README.md b/docs/docs/README.md index bc05916..e8c63c1 100644 --- a/docs/docs/README.md +++ b/docs/docs/README.md @@ -5,7 +5,7 @@ heroText: BlazeB2 图床 tagline: 基于backblazeb2 Api开发 Cloudflare加速图床工具 actions: - text: 快速上手 - link: /zh/guide/index.html + link: /zh/guide/summary.html type: primary features: - title: 🛠️ 简洁至上 diff --git a/package-lock.json b/package-lock.json index 019c1fd..ebeb1c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8044,13 +8044,20 @@ } }, "less-loader": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/less-loader/-/less-loader-5.0.0.tgz", - "integrity": "sha512-bquCU89mO/yWLaUq0Clk7qCsKhsF/TZpJUzETRvJa9KSVEL9SO3ovCvdEHISBhrC81OwC8QSVX7E0bzElZj9cg==", + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/less-loader/-/less-loader-4.1.0.tgz", + "integrity": "sha512-KNTsgCE9tMOM70+ddxp9yyt9iHqgmSs0yTZc5XH5Wo+g80RWRIYNqE58QJKm/yMud5wZEvz50ugRDuzVIkyahg==", "requires": { "clone": "^2.1.1", "loader-utils": "^1.1.0", - "pify": "^4.0.1" + "pify": "^3.0.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==" + } } }, "levn": { @@ -9468,7 +9475,8 @@ "pify": { "version": "4.0.1", "resolved": "https://registry.npmmirror.com/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true }, "pinia": { "version": "2.0.14", diff --git a/package.json b/package.json index b790a56..63417b1 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "core-js": "^3.6.5", "element-ui": "^2.15.6", "less": "3.9.0", - "less-loader": "5.0.0", + "less-loader": "4.1.0", "node-sass": "^4.14.1", "nprogress": "^0.2.0", "pinia": "^2.0.14", diff --git a/public/index.html b/public/index.html index 4ea85a7..88cde5d 100644 --- a/public/index.html +++ b/public/index.html @@ -5,22 +5,14 @@ - - <% if (process.env.NODE_ENV === 'pro') { %> - <% for(var css of htmlWebpackPlugin.options.cdn.css) { %> - - - <% } %> - <% for(var js of htmlWebpackPlugin.options.cdn.js) { %> - - - <% } %> - - <% } %> + <% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %> + + + <% } %> <%= htmlWebpackPlugin.options.title %> @@ -31,5 +23,8 @@
+ <% for (let i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %> + + <% } %> diff --git a/src/assets/css/global.css b/src/assets/css/global.css index df0cac7..b69bc91 100644 --- a/src/assets/css/global.css +++ b/src/assets/css/global.css @@ -1,3 +1,21 @@ +:root { + --b2-theme-c: #379ae8; + --b2-theme-c-light: #4ea3e4; + --b2-bg: #f8f8f8; + --b2-pre-bg: #fff; + --b2-text: #2c3e50; + --b2-active: #fff; + --b2-border: #EBEEF5; +} +html.dark { + --b2-theme-c: #f7c099; + --b2-theme-c-light: #d8a682; + --b2-bg: #2a2a2f; + --b2-pre-bg: #22272e; + --b2-text: #adbac7; + --b2-active: #78757c; + --b2-border: #78757c; +} html, body, div, diff --git a/src/assets/css/global.less b/src/assets/css/global.less index 185b2a4..d535c2d 100644 --- a/src/assets/css/global.less +++ b/src/assets/css/global.less @@ -1,172 +1,4 @@ -html, -body, -div, -span, -applet, -object, -iframe, -h1, -h2, -h3, -h4, -h5, -h6, -p, -blockquote, -pre, -a, -abbr, -acronym, -address, -big, -cite, -code, -del, -dfn, -em, -img, -ins, -kbd, -q, -s, -samp, -small, -strike, -strong, -sub, -sup, -tt, -var, -b, -u, -i, -center, -dl, -dt, -dd, -ol, -ul, -li, -fieldset, -form, -label, -legend, -table, -caption, -tbody, -tfoot, -thead, -tr, -th, -td, -article, -aside, -canvas, -details, -embed, -figure, -figcaption, -footer, -header, -hgroup, -menu, -nav, -output, -ruby, -section, -summary, -time, -mark, -audio, -video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} - -/* HTML5 display-role reset for older browsers */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -menu, -nav, -section { - display: block; -} - -body { - line-height: 1; -} - -ol, -ul { - - list-style: none; -} - -blockquote, -q { - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - - content: ''; - content: none; -} - -table { - - border-collapse: collapse; - border-spacing: 0; -} - -html { - - font-size: 62.5%; - color: #222; -} - -::selection { - - background-color: #b3d4fc; - text-shadow: none; -} - -ul { - - margin: 0; - padding: 0; -} - -li { - - list-style: none; -} - -.clearfix:before, -.clearfix:after { - - content: " "; - display: table; -} - -.clearfix:after { - - clear: both; -} - +@import url('./themeSet'); .home-w .el-upload-dragger { width: 70vw; height: 300px; diff --git a/src/assets/css/themeSet.css b/src/assets/css/themeSet.css new file mode 100644 index 0000000..71f09c6 --- /dev/null +++ b/src/assets/css/themeSet.css @@ -0,0 +1,165 @@ +:root { + --b2-theme-c: #379ae8; + --b2-theme-c-light: #4ea3e4; + --b2-bg: #f8f8f8; + --b2-pre-bg: #fff; + --b2-text: #2c3e50; + --b2-active: #fff; + --b2-border: #EBEEF5; +} +html.dark { + --b2-theme-c: #f7c099; + --b2-theme-c-light: #d8a682; + --b2-bg: #2a2a2f; + --b2-pre-bg: #22272e; + --b2-text: #adbac7; + --b2-active: #78757c; + --b2-border: #78757c; +} +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} +body { + line-height: 1; +} +ol, +ul { + list-style: none; +} +blockquote, +q { + quotes: none; +} +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +html { + font-size: 62.5%; + color: #222; +} +::selection { + background-color: #b3d4fc; + text-shadow: none; +} +ul { + margin: 0; + padding: 0; +} +li { + list-style: none; +} +.clearfix:before, +.clearfix:after { + content: " "; + display: table; +} +.clearfix:after { + clear: both; +} diff --git a/src/assets/css/themeSet.less b/src/assets/css/themeSet.less new file mode 100644 index 0000000..895f922 --- /dev/null +++ b/src/assets/css/themeSet.less @@ -0,0 +1,188 @@ +:root { + --b2-theme-c: #379ae8; + --b2-theme-c-light: #4ea3e4; + --b2-bg: #f8f8f8; + --b2-pre-bg: #fff; + --b2-text: #2c3e50; + --b2-active: #fff; + --b2-border: #EBEEF5; +} + +html.dark { + --b2-theme-c: #f7c099; + --b2-theme-c-light: #d8a682; + --b2-bg: #2a2a2f; + --b2-pre-bg: #22272e; + --b2-text: #adbac7; + --b2-active: #78757c; + --b2-border: #78757c; +} + +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} + +/* HTML5 display-role reset for older browsers */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} + +body { + line-height: 1; +} + +ol, +ul { + + list-style: none; +} + +blockquote, +q { + quotes: none; +} + +blockquote:before, +blockquote:after, +q:before, +q:after { + + content: ''; + content: none; +} + +table { + + border-collapse: collapse; + border-spacing: 0; +} + +html { + + font-size: 62.5%; + color: #222; +} + +::selection { + + background-color: #b3d4fc; + text-shadow: none; +} + +ul { + + margin: 0; + padding: 0; +} + +li { + + list-style: none; +} + +.clearfix:before, +.clearfix:after { + + content: " "; + display: table; +} + +.clearfix:after { + + clear: both; +} \ No newline at end of file diff --git a/src/main.prod.js b/src/main.prod.js index d8ac695..e0dea7e 100644 --- a/src/main.prod.js +++ b/src/main.prod.js @@ -3,12 +3,12 @@ * @Date: 2022-04-20 20:40:43 * @LastEditors: harry * @Github: https://github.com/rr210 - * @LastEditTime: 2022-07-08 13:03:23 - * @FilePath: \web\src\main.prod.js + * @LastEditTime: 2022-07-09 11:52:43 + * @FilePath: \master\src\main.prod.js */ /* eslint-disable */ -// import Vue from 'vue' +import Vue from 'vue' import { createPersistedState } from 'pinia-persistedstate-plugin' import { createPinia, PiniaVuePlugin } from 'pinia' import App from './App.vue' diff --git a/src/router/index.js b/src/router/index.js index 23c43a3..f4a3054 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,8 +3,8 @@ * @Date: 2022-04-20 20:40:43 * @LastEditors: harry * @Github: https://github.com/rr210 - * @LastEditTime: 2022-07-07 20:52:17 - * @FilePath: \web\src\router\index.js + * @LastEditTime: 2022-07-09 14:45:26 + * @FilePath: \master\src\router\index.js */ import Vue from 'vue' import VueRouter from 'vue-router' @@ -20,7 +20,7 @@ const routes = [ { path: '/home', name: 'home', - component: () => import('@/views/Home.vue') + component: () => import('@/views/home/Home.vue') }, { path: '/imanage', @@ -62,6 +62,8 @@ router.afterEach( storeInit.handleIsLogined() if (storeInit.isLogined) { storeInit.setNewAuthMsg() + } else { + console.log('您还未输入信息,还无法使用该程序') } } } diff --git a/src/store/index.js b/src/store/index.js index 8acc4c7..4aea90b 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -3,8 +3,8 @@ * @Date: 2022-07-01 12:52:23 * @LastEditors: harry * @Github: https://github.com/rr210 - * @LastEditTime: 2022-07-07 20:02:30 - * @FilePath: \web\src\store\index.js + * @LastEditTime: 2022-07-09 15:02:41 + * @FilePath: \master\src\store\index.js */ import { defineStore } from 'pinia' import { authIsexit } from '../utils/common/login' @@ -15,7 +15,8 @@ const useStore = defineStore('store', { }, state: () => { return { - isLogined: false, + isLogined: false, // 是否输入formview + noInvalid: false, // 是否验证过期,默认过期 prefixImg: { support: [], defaultUrl: '' @@ -66,8 +67,8 @@ const useStore = defineStore('store', { }, actions: { handleIsLogined() { - const tokenApi = localStorage.getItem('token_api') - this.isLogined = !!tokenApi + this.isLogined = !!localStorage.getItem('token_api') + this.noInvalid = !!localStorage.getItem('authmsg') }, setNewAuthMsg() { authIsexit().then(() => { diff --git a/src/utils/common/login.js b/src/utils/common/login.js index 30d3e0a..884483b 100644 --- a/src/utils/common/login.js +++ b/src/utils/common/login.js @@ -3,13 +3,13 @@ * @Date: 2022-07-03 08:59:18 * @LastEditors: harry * @Github: https://github.com/rr210 - * @LastEditTime: 2022-07-04 12:06:19 - * @FilePath: \web\src\utils\common\login.js + * @LastEditTime: 2022-07-09 15:07:02 + * @FilePath: \master\src\utils\common\login.js */ import { auth } from '@/utils/api' import { Notification } from 'element-ui' import useStore from '../../store' -function authIsexit() { +function authIsexit(fn = null) { return new Promise((resolve, reject) => { const authmsg = localStorage.getItem('authmsg') const token = localStorage.getItem('token_api') @@ -45,8 +45,6 @@ async function setAuthStorage(token) { console.log(fdata) const { data: res } = await auth(fdata) if (res.bucketId) { - console.log(1) - // https://imagecloud.s3.us-west-004.backblazeb2.com/ const urlList = { s3ApiUrl: `https://${fdata.bucket_name}.${res.s3ApiUrl.replace('https://', '')}`, downloadUrl: res.downloadUrl, @@ -61,9 +59,9 @@ async function setAuthStorage(token) { time: (new Date()).getTime() } const resStorData = Object.assign(sdata, urlList) - console.log(resStorData) setPrefixImg(urlList, fdata.host_url) localStorage.setItem('authmsg', JSON.stringify(resStorData)) + useStore().handleIsLogined() } } diff --git a/src/views/About/About.vue b/src/views/About/About.vue index bdb6697..a04b20c 100644 --- a/src/views/About/About.vue +++ b/src/views/About/About.vue @@ -3,7 +3,7 @@ * @Date: 2022-07-01 14:18:36 * @LastEditors: harry * @Github: https://github.com/rr210 - * @LastEditTime: 2022-07-08 22:57:59 + * @LastEditTime: 2022-07-09 12:59:12 * @FilePath: \master\src\views\About\About.vue -->