Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug:

Vanessaba5d3d47b238
diff --git a/app/appearance/themes/notion-theme/README.md b/app/appearance/themes/notion-theme/README.md
deleted file mode 100644
index 17b8c9d1c2..0000000000
--- a/app/appearance/themes/notion-theme/README.md
+++ /dev/null
@@ -1,247 +0,0 @@
-# light dark salt 三合一主题
-
-![image.png](https://tva1.sinaimg.cn/large/8ff342a8gy1h2wjjwfqm7j20u01d9wjq.jpg)
----
-## 2.6.3
-* 修复悬浮大纲面板跳动问题
-## 2.6.2
-* 优化隐藏侧栏动画
- * 悬浮侧栏动画时间加快
- * 悬浮侧栏改为平移动画
- * 悬浮侧栏加大触发区域
-* 默认表格宽度改为编辑器宽度
-## 2.6.1
-* salt主题左侧面板背景色修复
-* 搜索分栏恢复,宽度加宽,微调搜索结果栏
-* 修复dark日历颜色
-* 修复悬浮面板对面包屑影响bug
-* 取消顶栏dark主题按钮,使用dark主题直接用外观模式切换
-* 顶栏标题水平居中
-## 2.6.0
-* 【新特性】左右悬浮面板功能(界面右上角切换)
-* 【新特性】日历可点击创建日记
-* 调整弹出二级菜单间距
-* pdf导出面板错误修复
-* 取消列表内标题间距
-* 修正搜索和替换弹窗跳动
-* 嵌入块列表导线对齐调整
-* 适配2.4.2主题(页签,状态栏)
-## 2.5.4
-* 下架dark和salt主题
-* 菜单动画调整
-* 修复dark主题表格线条颜色
-* 调整dark看板背景色
-* 顶栏改为默认显示,点击隐藏
-* 取消编辑器滚动条overlay
-## 2.5.3
-* 适配siyuan v2.4.1
-* 调整嵌入块样式
-* dark主题字体灰色调整
-* 顶栏标题水平居中
-* 界面线条微调
-* 优化页签样式
-## 2.5.2
-* 修复页签上工具【新增】【更多】重叠bug
-* 顶栏右上角切换器动画同步
-* 顶栏标题垂直居中
-* 修复有序、任务列表混排方形符号消失bug
-* 优化备注样式
-* 修复标题排版间距失效问题
-* 修复dark主题mermaid线条颜色
-* 修复dark主题代码块颜色
-* 历史记录面板宽度调整
-## 2.5.1
-* 引述块样式调整
-* 历史记录界面优化
-* 快捷键界面导线修正
-* 调整导图根目录最小宽度
-## 2.5.0
-* 三款主题合并在一起,右上角按钮切换
-#### 有使用dark salt主题的朋友,请直接换到此主题,其他主题后续会停更
-* 加入顶栏固定按钮,右上角切换
-* 修复日历路径问题,适配各版本的配色
-## 2.4.0
-* 标题折叠后【···】显示bug
-* 导图导线对齐
-* 修改右下角工具展开动画
-* 修正topbar图标显示
-* 调节dock图标大小
-* 调整工具栏样式
-* 调整块标样式
-* 新版反链面板,提及样式适配
-* 修复批注显示问题
-* 表格自动宽度空格bug
-* dark主题代码块行号背景修正
-* 开启notion-light主题日历功能
-## 2.3.7
-* 引入[UFDXD](https://github.com/UFDXD) HBuilderX-Light主题各种功能
- * 显示文档创建时间
- * 引用悬浮窗折叠列表自动展开
- * 折叠列表后方鼠标悬浮预览
- * 标题、列表鼠标中键文本折叠展开
- * 最近打开文档
-* 修正导图偏移辅助线
-* 调整集市主题页面
-* 修复动态加载滚动条bug
-* 新建标签的样式调整
-* 修复工具栏激活颜色
-* 修复行内代码块样式
-* 修改顶栏样式
-## 2.3.6
-* 适配2.1.13页签
-## 2.3.5
-* 修复块标不能点击bug
-## 2.3.4
-* 在没有emoji的情况下钉住页签显示全部文档名
-* 修复编辑器滚动条层级
-## 2.3.3
-* 修复callout在list中左侧导线偏移问题
-## 2.3.2
-* 竖向搜索结果跳动偏移修复
-* 侧栏大纲样式修改,减少数字对标题的干扰
-* 底栏按钮与状态统一移到右下角,增大左侧显示面积
-* 修复callout在list中的样式
-## 2.3.1
-* 新增引述块callout样式
-![image.jpg](https://tva1.sinaimg.cn/large/8ff342a8gy1h4tx557jc6j20xc0m8aby.jpg)
-## 2.3.0
-* 引入`Tsundoku`的链接图标
-* 增加表格转换竖表头功能
-* 增加引用悬浮框动画
-* 增加侧栏模块切换动画
-* 增加页签动画
-* 修复编辑器底部显示区域(但隐藏底栏时侧栏会有显示bug)
-* 标题层级圆点符减少透明度
-* 滚动条修改为圆角样式,编辑器内不占位
-* 调整侧栏样式
-* docker栏间距修正
-* 右下角功能图标缩减
-* 修复列表看板模式的引用计数样式
-## 2.2.4
-* 修复引用单行出现滚动条bug
-* 修复隐藏底栏界面跳动bug
-* 聚焦列表小图标显示问题
-## 2.2.3
-* 修复搜索跳转偏移bug
-* 修复dark主题dock栏图标位置
-## 2.2.2
-* 侧栏添加滚动浮出线条
-* 修改动态加载&进度条样式
-* 底栏适配
- * dock栏图标样式调整
- * 侧栏下边距调整
- * 底栏样式调整
- * 加入状态信息&计数器动画
-* 块标样式调整
-## 2.2.1
-* 增加隐藏顶栏动画
-## 2.2.0
-* 更换`/`菜单分栏方式,修复emoji菜单显示效果
-* 加入n-topbar.css文件
-## 2.1.9
-* 更新预览图&简介图
-* 加入自定义配置css文件
-* 修复H1标题后色块
-## 2.1.8
-* 重构css,使三个主题结构代码一致
-* 清除部分不生效的样式
-* 隐藏顶栏
-* 文档标题间距调整
-* 超级块间距调整
-* 代码块宽度调整
-* 表格宽度调整
-* 正文第一个标题取消上间距
-* PDF目录栏修正
-## 2.1.7
-* 修复替换搜索框跳动问题
-* 修复graphviz,flowchart显示问题
-* 调整行内右侧引用数间距
-## 2.1.6
-* 修复搜索框显示错误问题
-## 2.1.5
-* 列表转表格样式调整
-* 列表里列表转表格辅助线修正
-* 列表转表格、转导图的代码块显示修正
-## 2.1.4
-* 调整面包屑高度遮盖
-* 调整完成任务列表文本颜色
-## 2.1.3
-* 修正大纲层级缩进
-## 2.1.2
-* 调整斜杆菜单分栏宽度
-* 取消引用块分栏
-## 2.1.1
-* 代码块折叠高度调整
-* h1~6标题间距调整
-## 2.1.0
-* 修正代码块间距
-## 2.0.9
-* 修复搜索预览窗口链接输入框宽度
-* 大纲性能优化
- * 取消圆点遮盖
- * 取消数字遮盖
-* 修复弹出框顶栏钉住样式
-* 思源2.0.11版本顶栏适配
-* 调整引用计数样式
-## 2.0.8
-* 关闭大纲动画
-* 修正历史与集市页签显示
-* 调整列表转表格的间距
-## 2.0.7
-* 适配2.0.9主题
- * toolbar图标大小间距
- * dock图标大小间距
- * 面板工具栏图标&引用计数大小
- * 面包屑样式调整
-* 超链接字体样式调整
-* 修正搜索页面包屑过长bug
-## 2.0.6
-* 引入[UserZYF](https://github.com/UserZYF)横版斜杠菜单
-* 引入[langzhou](https://github.com/langzhou/siyuan-note)评论功能
-## 2.0.5
-* 适配2.0.8版本页签
-* 新增大纲&标签展开动画
-## 2.0.4
-* 修复大纲圆点定位
-* 页签样式调整
-* 新增页签钉住样式
-## 2.0.3
-* 加入块标过渡动画
-* 隐藏左右面板与编辑器的分割线
-* 调整面板和页签线条颜色
-* 恢复大纲根目录箭头
-* 历史数据窗口调整
-* 列表转表格样式修正
-* 列表转导图圆点区域修正
-* 列表代码块间距修正
-* 头图选项透明度修正
-* 代码块样式调整
-## 2.0.2
-* 优化菜单列表js
-* dark主题pdf背景色修复
-* dark主题浮窗右上角按钮修复
-* 右上角引用计数样式
-* 嵌入块列表样式调整
-* 搜索结果页面左侧栏优化
-* 超级块里看板样式标题颜色修复
-* 看板标题间距调整
-* 文档移动选择界面优化
-* 采用系统默认图标时位置调整
-* 添加表格取消表头样式功能
-* 修改表格默认样式为自动换行
-* 导图样式宽度限制并自动换行
-* 列表里导图根目录线去除
-* 代码块间距调整
-## 2.0.1
-* 修复js写入自定义属性
-* 引入列表转表格特性
-* 引入列表转看板特性
-* 修复导图混排列表样式
-* 修复表格宽度设定样式
-* 文档树字重取消
-* 修复无序列表混排任务列表样式错误
-* 引入竖排搜索面板特性
-* 修复有序列表折叠后提示样式
----
-## 2.0.0
-* 修复集市页签不居中问题
diff --git a/app/appearance/themes/notion-theme/calendar/css/app.08a685a0.css b/app/appearance/themes/notion-theme/calendar/css/app.08a685a0.css
deleted file mode 100644
index 0046e84d8c..0000000000
--- a/app/appearance/themes/notion-theme/calendar/css/app.08a685a0.css
+++ /dev/null
@@ -1,3 +0,0 @@
-.notebooksList{width:155px;max-width:200px;padding:10px 20px;background:#ededed;height:278px;overflow:auto;position:fixed;top:49px;left:102px;z-index: 1;border-radius:5px}.notebooksList::-webkit-scrollbar{width:6px;height:6px}.notebooksList::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.notebook{min-width:140px;padding:5px 0}.notebook:hover{background:#ccc}
-
-.now-data-myself{width:40%;height:47px;margin-left:60%;position:absolute;display:flex;justify-content:center;align-items:center}.con{position:relative;max-width:280px}.con .wh_content_all{background:transparent!important}.wh_top_changge li{color:#000!important;font-size:16px!important;font-weight:700}.wh_content_item,.wh_content_item_tag{color:#686c6e!important;}.wh_content_item .wh_isToday{background: rgba(46, 170, 220)!important;color:#fff!important;font-weight:700;border-radius:6px!important;}.wh_content_item .wh_chose_day{background:#409eff!important}.wh_item_date:hover{background:#d9ecff!important;border-radius:6px!important;color:#66b1ff!important}.wh_jiantou1[data-v-2ebcbc83]{border-left:2px solid #000!important}.wh_jiantou1[data-v-2ebcbc83],.wh_jiantou2[data-v-2ebcbc83]{border-top:2px solid #000!important;width:5px!important;height:5px!important}.wh_jiantou2[data-v-2ebcbc83]{border-right:2px solid #000!important}.wh_top_tag[data-v-2ebcbc83]{color:#000;font-weight:700;border-top:1px solid hsla(0,0%,89%,.6);padding-top:10px!important;z-index:4;width:30px!important;}.wh_container[data-v-2ebcbc83]{max-width:280px}.wh_top_changge[data-v-2ebcbc83]{display:flex;width:60%}.now-data-myself-time{color:#000;font-size:15px;margin-right:10px;font-family:Helvetica Neue;cursor:pointer}.now-data-myself-week{font-size:15px;}.wh_top_changge .wh_content_li[data-v-2ebcbc83]{font-family:Helvetica}.wh_content_item>.wh_isMark[data-v-2ebcbc83]:after{content:"";width:5px;height:5px;border-radius:50%;background:#eb8383;position:absolute;top:31px;left:17px}body{cursor:pointer}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/calendar/favicon.ico b/app/appearance/themes/notion-theme/calendar/favicon.ico
deleted file mode 100644
index 77263a2330..0000000000
Binary files a/app/appearance/themes/notion-theme/calendar/favicon.ico and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/calendar/index.html b/app/appearance/themes/notion-theme/calendar/index.html
deleted file mode 100644
index 8d5ff3862d..0000000000
--- a/app/appearance/themes/notion-theme/calendar/index.html
+++ /dev/null
@@ -1 +0,0 @@
-<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="./favicon.ico"><title>calendar</title><link href="./css/app.08a685a0.css" rel="preload" as="style"><link href="./js/app.796dd5e3.js" rel="preload" as="script"><link href="./js/chunk-vendors.5c31667a.js" rel="preload" as="script"><link href="./css/app.08a685a0.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but calendar doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="./js/chunk-vendors.5c31667a.js"></script><script src="./js/app.796dd5e3.js"></script></body></html>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/calendar/js/app.796dd5e3.js b/app/appearance/themes/notion-theme/calendar/js/app.796dd5e3.js
deleted file mode 100644
index 546ccc936e..0000000000
--- a/app/appearance/themes/notion-theme/calendar/js/app.796dd5e3.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(function(t){function e(e){for(var a,i,s=e[0],c=e[1],l=e[2],u=0,h=[];u<s.length;u++)i=s[u],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&h.push(n[i][0]),n[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);d&&d(e);while(h.length)h.shift()();return r.push.apply(r,l||[]),o()}function o(){for(var t,e=0;e<r.length;e++){for(var o=r[e],a=!0,s=1;s<o.length;s++){var c=o[s];0!==n[c]&&(a=!1)}a&&(r.splice(e--,1),t=i(i.s=o[0]))}return t}var a={},n={app:0},r=[];function i(e){if(a[e])return a[e].exports;var o=a[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=a,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(o,a,function(e){return t[e]}.bind(null,a));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],c=s.push.bind(s);s.push=e,s=s.slice();for(var l=0;l<s.length;l++)e(s[l]);var d=c;r.push([0,"chunk-vendors"]),o()})({0:function(t,e,o){t.exports=o("56d7")},"56d7":function(t,e,o){"use strict";o.r(e);var a=o("2b0e"),n=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"app"}},[e("div",{staticClass:"con"},[e("div",{staticClass:"now-data-myself"},[e("div",{ref:"today",staticClass:"now-data-myself-time"},[t._v(t._s(t.date)+"日")]),e("div",{ref:"week",staticClass:"now-data-myself-week",attrs:{title:t.currentNotebook.name}},[t._v(" "+t._s(t.week)+" ")]),t.showNotebookList?e("div",{staticClass:"notebooksList",on:{click:t.handleNotebookClick}},t._l(t.notebookList,(function(o){return e("div",{key:o.id,staticClass:"notebook",attrs:{"data-id":o.id,"data-name":o.name}},[t._v(" "+t._s(o.name)+" ")])})),0):t._e()]),e("Calendar",{ref:"Calendar",attrs:{markDate:t.markArr,textTop:t.textTop},on:{choseDay:t.clickDay,changeMonth:t.changeDate}})],1)])},r=[],i=o("be6e"),s=o.n(i),c={name:"App",components:{Calendar:s.a},data(){return{date:"",week:"",markArr:[],DateLinkToNote:{},textTop:["Su","Mo","Tu","We","Th","Fr","Sa"],currentNotebook:{name:"",id:null},notebookList:[],showNotebookList:!1}},created(){var t=new Date;this.date=t.getDate();var e=t.getDay(),o=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");this.week=o[e]},mounted(){this.$refs.today.addEventListener("click",(function(){window.location.reload(!0)}),!1),this.changeDate(),this.$refs.week.addEventListener("click",this.handleWeekClick,!1),localStorage.getItem("calendar_current_notebook")&&(this.currentNotebook=JSON.parse(localStorage.getItem("calendar_current_notebook")))},methods:{handleNotebookClick(t){t.target.classList.contains("notebook")&&(this.currentNotebook.name=t.target.getAttribute("data-name"),this.currentNotebook.id=t.target.getAttribute("data-id"),this.showNotebookList=!1,localStorage.setItem("calendar_current_notebook",JSON.stringify(this.currentNotebook)))},async request(t,e=null,o="POST"){return new Promise((a,n)=>{"POST"==o.toUpperCase()&&fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Token "},body:JSON.stringify(e)}).then(t=>a(t.json()),t=>{n(t)}).catch(t=>{console.error("请求失败:",t)})})},async requestTemplateMd(t,e=null,o="POST"){return new Promise((a,n)=>{"POST"==o.toUpperCase()&&fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Token "},body:JSON.stringify(e)}).then(t=>a(t.text()),t=>{n(t)}).catch(t=>{console.error("请求失败:",t)})})},async clickDay(t){let e=t.split("/");e[1]=e[1].padStart(2,"0"),e[2]=e[2].padStart(2,"0");let o=e.join("-");if(this.DateLinkToNote[o])try{window.open(this.DateLinkToNote[o])}catch(a){console.error(a)}else if(this.currentNotebook.id){let t={notebook:this.currentNotebook.id},n=await this.request("/api/notebook/getNotebookConf",t);if(0===n.code&&n.data&&n.data.conf){let t=n.data.conf,r="";if(t.dailyNoteTemplatePath){let e="/data/templates"+t.dailyNoteTemplatePath,o={path:e};r=await this.requestTemplateMd("/api/file/getFile",o)}let i={notebook:this.currentNotebook.id,path:`/daily note/${e[0]}/${e[1]}/${o}`,markdown:r},s=await this.request("/api/filetree/createDocWithMd",i);if(0===s.code&&s.data){let t=s.data;try{window.open("siyuan://blocks/"+t)}catch(a){console.log(a)}}}}},async changeDate(t){await this.$nextTick();let e=document.querySelectorAll(".wh_item_date:not(.wh_other_dayhide)"),o=document.querySelector(".wh_content_li");o=o.innerText,o=o.replace(/年|月/g,"-"),e.forEach(t=>{let e=(o+t.innerText).split("-");e[1]=e[1].padStart(2,"0"),e[2]=e[2].padStart(2,"0"),e=e.join("-"),this.AutoMarkDate(e)})},async SiYuan_SQL_dailyNote(t){let e="/api/query/sql",o={stmt:`select * from blocks WHERE content LIKE '${t}' AND type = 'd' ORDER BY random() LIMIT 1`},a=null;return await fetch(e,{body:JSON.stringify(o),method:"POST",headers:{Authorization:"Token "}}).then((function(t){a=t.json()})).catch(t=>{console.log(t)}),a},async AutoMarkDate(t){let e=await this.SiYuan_SQL_dailyNote(t);if(!e.code&&e.data.length>0){let o="siyuan://blocks/"+e.data[0].id;this.DateLinkToNote[t]=o,this.markArr.push(t)}},async handleWeekClick(){this.showNotebookList=!this.showNotebookList;let t=await this.request("/api/notebook/lsNotebooks");0===t.code&&t.data&&t.data.notebooks&&(this.notebookList=t.data.notebooks.filter((item)=>item.closed === false))}}},l=c,d=(o("a2da"),o("2877")),u=Object(d["a"])(l,n,r,!1,null,null,null),h=u.exports;a["a"].config.productionTip=!1,new a["a"]({render:t=>t(h)}).$mount("#app")},a2da:function(t,e,o){"use strict";o("f1bb")},f1bb:function(t,e,o){}});
-//# sourceMappingURL=app.796dd5e3.js.map
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/calendar/js/app.796dd5e3.js.map b/app/appearance/themes/notion-theme/calendar/js/app.796dd5e3.js.map
deleted file mode 100644
index 08c58cfaef..0000000000
--- a/app/appearance/themes/notion-theme/calendar/js/app.796dd5e3.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/App.vue?4c4f","webpack:///./src/App.vue?3746","webpack:///./src/main.js","webpack:///./src/App.vue?2791"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_c","_self","attrs","staticClass","ref","_v","_s","date","currentNotebook","week","showNotebookList","on","handleNotebookClick","_l","notebookList","item","id","_e","markArr","textTop","clickDay","changeDate","staticRenderFns","components","Calendar","DateLinkToNote","created","mounted","localStorage","methods","JSON","fetch","method","headers","Authorization","body","then","error","reject","catch","err","console","arr","notebook","NotebookConfReqBody","NotebookConf","path","dailyNoteContent","dailyNoteContentReqBody","markdown","createDocWithMdReqBody","DateStr","DayArr","tempStr","stmt","resData","lsNotebooks","component","Vue","config","productionTip","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ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GACAC,YACAA,QACAA,YACA,CACA,kBAEA,KAEA,4BACA,gDACA,GACAC,QAEAC,+BACA,oBACAC,GAIA,OACAL,iCACAG,gCACAG,YAEA,qBACA,gCACAC,GAEA,uBACA,aACA,IACAxD,kCACA,SACA+C,oBAOA,0BACA,iBACA,gCACA,wCAEA,2CACAU,cACAA,wBACAC,cACA,iCACAC,0BACAA,0BACAA,cACA,wBAIA,8BACA,uBACA,GACAC,iGAEA,OAcA,aAbA,SACAnB,uBACAH,cACAC,SACAC,0BAGAE,MAAA,YACAmB,cAEAhB,MAAAC,IACAC,iBAEA,GAEA,sBACA,yCACA,6BACA,sCACA,yBACA,uBAGA,wBACA,6CACA,yBACA,6BAGAe,YACAA,QACAA,mBAEA,uCC7Q8T,I,wBCQ1TC,EAAY,eACd,EACA5D,EACAyB,GACA,EACA,KACA,KACA,MAIa,EAAAmC,E,QChBfC,OAAIC,OAAOC,eAAgB,EAE3B,IAAIF,OAAI,CACN7D,OAAQgE,GAAKA,EAAEC,KACdC,OAAO,S,kCCPV,W","file":"js/app.796dd5e3.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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 \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('div',{staticClass:\"con\"},[_c('div',{staticClass:\"now-data-myself\"},[_c('div',{ref:\"today\",staticClass:\"now-data-myself-time\"},[_vm._v(_vm._s(_vm.date)+\"日\")]),_c('div',{ref:\"week\",staticClass:\"now-data-myself-week\",attrs:{\"title\":_vm.currentNotebook.name}},[_vm._v(\" \"+_vm._s(_vm.week)+\" \")]),(_vm.showNotebookList)?_c('div',{staticClass:\"notebooksList\",on:{\"click\":_vm.handleNotebookClick}},_vm._l((_vm.notebookList),function(item){return _c('div',{key:item.id,staticClass:\"notebook\",attrs:{\"data-id\":item.id,\"data-name\":item.name}},[_vm._v(\" \"+_vm._s(item.name)+\" \")])}),0):_vm._e()]),_c('Calendar',{ref:\"Calendar\",attrs:{\"markDate\":_vm.markArr,\"textTop\":_vm.textTop},on:{\"choseDay\":_vm.clickDay,\"changeMonth\":_vm.changeDate}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div id=\"app\">\n <div class=\"con\">\n <div class=\"now-data-myself\">\n <div ref=\"today\" class=\"now-data-myself-time\">{{ date }}日</div>\n <div\n ref=\"week\"\n class=\"now-data-myself-week\"\n :title=\"currentNotebook.name\"\n >\n {{ week }}\n </div>\n <div\n v-if=\"showNotebookList\"\n class=\"notebooksList\"\n @click=\"handleNotebookClick\"\n >\n <div\n v-for=\"item in notebookList\"\n :key=\"item.id\"\n class=\"notebook\"\n :data-id=\"item.id\"\n :data-name=\"item.name\"\n >\n {{ item.name }}\n </div>\n </div>\n </div>\n <Calendar\n ref=\"Calendar\"\n v-on:choseDay=\"clickDay\"\n v-on:changeMonth=\"changeDate\"\n :markDate=\"markArr\"\n :textTop=\"textTop\"\n ></Calendar>\n </div>\n </div>\n</template>\n\n<script>\nimport Calendar from \"vue-calendar-component\";\nexport default {\n name: \"App\",\n components: { Calendar },\n data() {\n return {\n date: \"\",\n week: \"\",\n markArr: [],\n DateLinkToNote: {},\n textTop: [\"一\", \"二\", \"三\", \"四\", \"五\", \"六\", \"日\"],\n currentNotebook: {\n name: \"\",\n id: null,\n },\n notebookList: [],\n showNotebookList: false,\n };\n },\n created() {\n var now = new Date();\n this.date = now.getDate(); //得到日期\n var day = now.getDay(); //得到周几\n var arr_week = new Array(\n \"星期日\",\n \"星期一\",\n \"星期二\",\n \"星期三\",\n \"星期四\",\n \"星期五\",\n \"星期六\"\n );\n this.week = arr_week[day];\n },\n mounted() {\n this.$refs.today.addEventListener(\n \"click\",\n function () {\n window.location.reload(true);\n },\n false\n );\n this.changeDate();\n\n this.$refs.week.addEventListener(\"click\", this.handleWeekClick, false);\n if (localStorage.getItem(\"calendar_current_notebook\")) {\n this.currentNotebook = JSON.parse(\n localStorage.getItem(\"calendar_current_notebook\")\n );\n }\n },\n methods: {\n // 选中笔记本\n handleNotebookClick(e) {\n if (e.target.classList.contains(\"notebook\")) {\n this.currentNotebook.name = e.target.getAttribute(\"data-name\");\n this.currentNotebook.id = e.target.getAttribute(\"data-id\");\n this.showNotebookList = false;\n localStorage.setItem(\n \"calendar_current_notebook\",\n JSON.stringify(this.currentNotebook)\n );\n }\n },\n // 请求函数——向服务器接口发送请求\n async request(url, data = null, method = \"POST\") {\n return new Promise((resolve, reject) => {\n if (method.toUpperCase() == \"POST\") {\n fetch(url, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `Token `,\n },\n body: JSON.stringify(data),\n })\n .then(\n (data) => resolve(data.json()),\n (error) => {\n reject(error);\n }\n )\n .catch((err) => {\n console.error(\"请求失败:\", err);\n });\n }\n });\n },\n async requestTemplateMd(url, data = null, method = \"POST\") {\n return new Promise((resolve, reject) => {\n if (method.toUpperCase() == \"POST\") {\n fetch(url, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `Token `,\n },\n body: JSON.stringify(data),\n })\n .then(\n (data) => resolve(data.text()),\n (error) => {\n reject(error);\n }\n )\n .catch((err) => {\n console.error(\"请求失败:\", err);\n });\n }\n });\n },\n async clickDay(data) {\n let arr = data.split(\"/\");\n arr[1] = arr[1].padStart(2, \"0\");\n arr[2] = arr[2].padStart(2, \"0\");\n let TempData = arr.join(\"-\");\n if (this.DateLinkToNote[TempData]) {\n try {\n window.open(this.DateLinkToNote[TempData]);\n } catch (err) {\n console.error(err);\n }\n } else {\n // 标记——点击没有日记文档的日期时\n if (this.currentNotebook.id) {\n let NotebookConfReqBody = {\n notebook: this.currentNotebook.id,\n };\n let NotebookConf = await this.request(\n \"/api/notebook/getNotebookConf\",\n NotebookConfReqBody\n );\n if (\n NotebookConf.code === 0 &&\n NotebookConf.data &&\n NotebookConf.data.conf\n ) {\n let conf = NotebookConf.data.conf;\n\n let dailyNoteContent = \"\";\n // 设置了日记模板\n if (conf.dailyNoteTemplatePath) {\n let template_path = `/data/templates${conf.dailyNoteTemplatePath}`;\n let dailyNoteContentReqBody = {\n path: template_path,\n };\n dailyNoteContent = await this.requestTemplateMd(\n \"/api/file/getFile\",\n dailyNoteContentReqBody\n );\n }\n\n let createDocWithMdReqBody = {\n notebook: this.currentNotebook.id,\n path: `/日记/${arr[0]}/${arr[1]}/${TempData}`,\n markdown: dailyNoteContent,\n };\n let res = await this.request(\n \"/api/filetree/createDocWithMd\",\n createDocWithMdReqBody\n );\n if (res.code === 0 && res.data) {\n let DailyNoteID = res.data;\n try {\n window.open(`siyuan://blocks/${DailyNoteID}`);\n } catch (err) {\n console.log(err);\n }\n }\n }\n }\n }\n },\n async changeDate(data) {\n await this.$nextTick();\n let DayArr = document.querySelectorAll(\n \".wh_item_date:not(.wh_other_dayhide)\"\n );\n let DateStr = document.querySelector(\".wh_content_li\");\n DateStr = DateStr.innerText;\n DateStr = DateStr.replace(/年|月/g, \"-\");\n DayArr.forEach((item) => {\n let tempStr = (DateStr + item.innerText).split(\"-\");\n tempStr[1] = tempStr[1].padStart(2, \"0\");\n tempStr[2] = tempStr[2].padStart(2, \"0\");\n tempStr = tempStr.join(\"-\");\n this.AutoMarkDate(tempStr);\n });\n },\n\n async SiYuan_SQL_dailyNote(DateStr) {\n let url = \"/api/query/sql\";\n let data = {\n stmt: `select * from blocks WHERE content LIKE '${DateStr}' AND type = 'd' ORDER BY random() LIMIT 1`,\n };\n let resData = null;\n await fetch(url, {\n body: JSON.stringify(data),\n method: \"POST\",\n headers: {\n Authorization: `Token `,\n },\n })\n .then(function (response) {\n resData = response.json();\n })\n .catch((err) => {\n console.log(err);\n });\n return resData;\n },\n async AutoMarkDate(data) {\n let res = await this.SiYuan_SQL_dailyNote(data);\n if (!res.code && res.data.length > 0) {\n let link = \"siyuan://blocks/\" + res.data[0].id;\n this.DateLinkToNote[data] = link;\n this.markArr.push(data);\n }\n },\n async handleWeekClick() {\n this.showNotebookList = !this.showNotebookList;\n let lsNotebooks = await this.request(\n \"/api/notebook/lsNotebooks\"\n );\n if (\n lsNotebooks.code === 0 &&\n lsNotebooks.data &&\n lsNotebooks.data.notebooks\n ) {\n this.notebookList = lsNotebooks.data.notebooks;\n }\n },\n },\n};\n</script>\n\n<style lang=\"stylus\">\n.notebooksList {\n width: 155px;\n max-width: 200px;\n padding: 10px 20px;\n background: #ededed;\n height: 278px;\n overflow: auto;\n position: absolute;\n top: 10px;\n left: 122px;\n}\n\n.notebooksList::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n\n.notebooksList::-webkit-scrollbar-thumb {\n background: #cccccc;\n border-radius: 3px;\n}\n\n.notebook {\n min-width: 140px;\n padding: 5px 0px;\n}\n\n.notebook:hover {\n background: #ccc;\n}\n\n.now-data-myself {\n width: 40%;\n height: 47px;\n margin-left: 60%;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.con {\n position: relative;\n max-width: 280px;\n}\n\n.con .wh_content_all {\n background: transparent !important;\n}\n\n.wh_top_changge li {\n color: black !important;\n font-size: 16px !important;\n font-weight: bold;\n}\n\n.wh_content_item, .wh_content_item_tag {\n color: #303133 !important;\n}\n\n.wh_content_item .wh_isToday {\n background: #00d985 !important;\n color: black !important;\n font-weight: bold;\n}\n\n.wh_content_item .wh_chose_day {\n background: #409EFF !important;\n}\n\n.wh_item_date:hover {\n background: rgb(217, 236, 255) !important;\n border-radius: 100px !important;\n color: rgb(102, 177, 255) !important;\n}\n\n.wh_jiantou1[data-v-2ebcbc83] {\n border-top: 2px solid black !important;\n border-left: 2px solid black !important;\n width: 7px !important;\n height: 7px !important;\n}\n\n.wh_jiantou2[data-v-2ebcbc83] {\n border-top: 2px solid #000 !important;\n border-right: 2px solid #000 !important;\n width: 7px !important;\n height: 7px !important;\n}\n\n.wh_top_changge + .wh_content {\n border-bottom: 2px solid #0d84e5;\n border-top: 1px solid rgba(227, 227, 227, 0.6);\n}\n\n.wh_top_tag[data-v-2ebcbc83] {\n color: black;\n font-weight: bold;\n z-index: 4;\n}\n\n.wh_container[data-v-2ebcbc83] {\n max-width: 280px;\n}\n\n.wh_top_changge[data-v-2ebcbc83] {\n display: flex;\n width: 60%;\n}\n\n.now-data-myself-time {\n color: black;\n font-size: 15px;\n margin-right: 10px;\n font-family: 'Helvetica Neue';\n cursor: pointer;\n}\n\n.now-data-myself-week {\n font-size: 10px;\n color: #909399;\n}\n\n.wh_top_changge .wh_content_li[data-v-2ebcbc83] {\n font-family: Helvetica;\n}\n\n.wh_content_item > .wh_isMark[data-v-2ebcbc83] {\n background: transparent !important;\n}\n\n.wh_content_item > .wh_isMark[data-v-2ebcbc83]::after {\n content: '';\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: #0fc37c;\n position: absolute;\n top: 31px;\n left: 18px;\n}\n\nbody {\n cursor: pointer;\n}\n</style>","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=61cd7d2c&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=61cd7d2c&prod&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport App from './App.vue'\n\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(App),\n}).$mount('#app')\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--12-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--12-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--12-oneOf-1-2!../node_modules/stylus-loader/index.js??ref--12-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=61cd7d2c&prod&lang=stylus&\""],"sourceRoot":""}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/calendar/js/chunk-vendors.5c31667a.js b/app/appearance/themes/notion-theme/calendar/js/chunk-vendors.5c31667a.js
deleted file mode 100644
index b3ed937127..0000000000
--- a/app/appearance/themes/notion-theme/calendar/js/chunk-vendors.5c31667a.js
+++ /dev/null
@@ -1,8 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{2877:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"2b0e":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Kr}));
-/*!
- * Vue.js v2.7.10
- * (c) 2014-2022 Evan You
- * Released under the MIT License.
- */
-var r=Object.freeze({}),o=Array.isArray;function i(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function f(t){return"function"===typeof t}function l(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function p(t){return"[object Object]"===d.call(t)}function v(t){return"[object RegExp]"===d.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function y(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===d?JSON.stringify(t,null,2):String(t)}function _(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}g("slot,component",!0);var b=g("key,ref,slot,slot-scope,is");function w(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function C(t,e){return x.call(t,e)}function O(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var $=/-(\w)/g,k=O((function(t){return t.replace($,(function(t,e){return e?e.toUpperCase():""}))})),S=O((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),M=/\B([A-Z])/g,D=O((function(t){return t.replace(M,"-$1").toLowerCase()}));function T(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function j(t,e){return t.bind(e)}var A=Function.prototype.bind?j:T;function E(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function P(t,e){for(var n in e)t[n]=e[n];return t}function L(t){for(var e={},n=0;n<t.length;n++)t[n]&&P(e,t[n]);return e}function I(t,e,n){}var N=function(t,e,n){return!1},F=function(t){return t};function R(t,e){if(t===e)return!0;var n=l(t),r=l(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return R(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return R(t[n],e[n])}))}catch(c){return!1}}function H(t,e){for(var n=0;n<t.length;n++)if(R(t[n],e))return n;return-1}function U(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function V(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var B="data-server-rendered",z=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:I,parsePlatformTagName:F,mustUseProp:N,async:!0,_lifecycleHooks:G},q=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function Y(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var J=new RegExp("[^".concat(q.source,".$_\\d]"));function X(t){if(!J.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var Z="__proto__"in{},Q="undefined"!==typeof window,tt=Q&&window.navigator.userAgent.toLowerCase(),et=tt&&/msie|trident/.test(tt),nt=tt&&tt.indexOf("msie 9.0")>0,rt=tt&&tt.indexOf("edge/")>0;tt&&tt.indexOf("android");var ot=tt&&/iphone|ipad|ipod|ios/.test(tt);tt&&/chrome\/\d+/.test(tt),tt&&/phantomjs/.test(tt);var it,at=tt&&tt.match(/firefox\/(\d+)/),st={}.watch,ct=!1;if(Q)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch(Ya){}var ft=function(){return void 0===it&&(it=!Q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),it},lt=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function dt(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,vt="undefined"!==typeof Symbol&&dt(Symbol)&&"undefined"!==typeof Reflect&&dt(Reflect.ownKeys);pt="undefined"!==typeof Set&&dt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ht=null;function mt(t){void 0===t&&(t=null),t||ht&&ht._scope.off(),ht=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),_t=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function gt(t){return new yt(void 0,void 0,void 0,String(t))}function bt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var wt=0,xt=function(){function t(){this.id=wt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){w(this.subs,t)},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.slice();for(var n=0,r=e.length;n<r;n++){e[n].update()}},t}();xt.target=null;var Ct=[];function Ot(t){Ct.push(t),xt.target=t}function $t(){Ct.pop(),xt.target=Ct[Ct.length-1]}var kt=Array.prototype,St=Object.create(kt),Mt=["push","pop","shift","unshift","splice","sort","reverse"];Mt.forEach((function(t){var e=kt[t];Y(St,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),i}))}));var Dt=Object.getOwnPropertyNames(St),Tt={},jt=!0;function At(t){jt=t}var Et={notify:I,depend:I,addSub:I,removeSub:I},Pt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Et:new xt,this.vmCount=0,Y(t,"__ob__",this),o(t)){if(!n)if(Z)t.__proto__=St;else for(var r=0,i=Dt.length;r<i;r++){var a=Dt[r];Y(t,a,St[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(r=0;r<s.length;r++){a=s[r];It(t,a,Tt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Lt(t[e],!1,this.mock)},t}();function Lt(t,e,n){var r;if(!(!l(t)||Bt(t)||t instanceof yt))return C(t,"__ob__")&&t.__ob__ instanceof Pt?r=t.__ob__:!jt||!n&&ft()||!o(t)&&!p(t)||!Object.isExtensible(t)||t.__v_skip||(r=new Pt(t,e,n)),r}function It(t,e,n,r,i,a){var s=new xt,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var u=c&&c.get,f=c&&c.set;u&&!f||n!==Tt&&2!==arguments.length||(n=t[e]);var l=!i&&Lt(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return xt.target&&(s.depend(),l&&(l.dep.depend(),o(e)&&Rt(e))),Bt(e)&&!i?e.value:e},set:function(e){var r=u?u.call(t):n;if(V(r,e)){if(f)f.call(t,e);else{if(u)return;if(!i&&Bt(r)&&!Bt(e))return void(r.value=e);n=e}l=!i&&Lt(e,!1,a),s.notify()}}}),s}}function Nt(t,e,n){if(!Vt(t)){var r=t.__ob__;return o(t)&&h(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&Lt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(It(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function Ft(t,e){if(o(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Vt(t)||C(t,e)&&(delete t[e],n&&n.dep.notify())}}function Rt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),o(e)&&Rt(e)}function Ht(t){return Ut(t,!0),Y(t,"__v_isShallow",!0),t}function Ut(t,e){if(!Vt(t)){Lt(t,e,ft());0}}function Vt(t){return!(!t||!t.__v_isReadonly)}function Bt(t){return!(!t||!0!==t.__v_isRef)}function zt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Bt(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Bt(r)&&!Bt(t)?r.value=t:e[n]=t}})}var Gt="watcher";"".concat(Gt," callback"),"".concat(Gt," getter"),"".concat(Gt," cleanup");var Wt;var qt=function(){function t(t){void 0===t&&(t=!1),this.active=!0,this.effects=[],this.cleanups=[],!t&&Wt&&(this.parent=Wt,this.index=(Wt.scopes||(Wt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Wt;try{return Wt=this,t()}finally{Wt=e}}else 0},t.prototype.on=function(){Wt=this},t.prototype.off=function(){Wt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}},t}();function Kt(t,e){void 0===e&&(e=Wt),e&&e.active&&e.effects.push(t)}function Yt(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var Jt=O((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function Xt(t,e){function n(){var t=n.fns;if(!o(t))return qe(t,null,arguments,e,"v-on handler");for(var r=t.slice(),i=0;i<r.length;i++)qe(r[i],null,arguments,e,"v-on handler")}return n.fns=t,n}function Zt(t,e,n,r,o,a){var c,u,f,l;for(c in t)u=t[c],f=e[c],l=Jt(c),i(u)||(i(f)?(i(u.fns)&&(u=t[c]=Xt(u,a)),s(l.once)&&(u=t[c]=o(l.name,u,l.capture)),n(l.name,u,l.capture,l.passive,l.params)):u!==f&&(f.fns=u,t[c]=f));for(c in e)i(t[c])&&(l=Jt(c),r(l.name,e[c],l.capture))}function Qt(t,e,n){var r;t instanceof yt&&(t=t.data.hook||(t.data.hook={}));var o=t[e];function c(){n.apply(this,arguments),w(r.fns,c)}i(o)?r=Xt([c]):a(o.fns)&&s(o.merged)?(r=o,r.fns.push(c)):r=Xt([o,c]),r.merged=!0,t[e]=r}function te(t,e,n){var r=e.options.props;if(!i(r)){var o={},s=t.attrs,c=t.props;if(a(s)||a(c))for(var u in r){var f=D(u);ee(o,c,u,f,!0)||ee(o,s,u,f,!1)}return o}}function ee(t,e,n,r,o){if(a(e)){if(C(e,n))return t[n]=e[n],o||delete e[n],!0;if(C(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function ne(t){for(var e=0;e<t.length;e++)if(o(t[e]))return Array.prototype.concat.apply([],t);return t}function re(t){return u(t)?[gt(t)]:o(t)?ie(t):void 0}function oe(t){return a(t)&&a(t.text)&&c(t.isComment)}function ie(t,e){var n,r,c,f,l=[];for(n=0;n<t.length;n++)r=t[n],i(r)||"boolean"===typeof r||(c=l.length-1,f=l[c],o(r)?r.length>0&&(r=ie(r,"".concat(e||"","_").concat(n)),oe(r[0])&&oe(f)&&(l[c]=gt(f.text+r[0].text),r.shift()),l.push.apply(l,r)):u(r)?oe(f)?l[c]=gt(f.text+r):""!==r&&l.push(gt(r)):oe(r)&&oe(f)?l[c]=gt(f.text+r.text):(s(t._isVList)&&a(r.tag)&&i(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),l.push(r)));return l}function ae(t,e){var n,r,i,s,c=null;if(o(t)||"string"===typeof t)for(c=new Array(t.length),n=0,r=t.length;n<r;n++)c[n]=e(t[n],n);else if("number"===typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(l(t))if(vt&&t[Symbol.iterator]){c=[];var u=t[Symbol.iterator](),f=u.next();while(!f.done)c.push(e(f.value,c.length)),f=u.next()}else for(i=Object.keys(t),c=new Array(i.length),n=0,r=i.length;n<r;n++)s=i[n],c[n]=e(t[s],s,n);return a(c)||(c=[]),c._isVList=!0,c}function se(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=P(P({},r),n)),o=i(n)||(f(e)?e():e)):o=this.$slots[t]||(f(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function ce(t){return wr(this.$options,"filters",t,!0)||F}function ue(t,e){return o(t)?-1===t.indexOf(e):t!==e}function fe(t,e,n,r,o){var i=W.keyCodes[e]||n;return o&&r&&!W.keyCodes[e]?ue(o,r):i?ue(i,t):r?D(r)!==e:void 0===t}function le(t,e,n,r,i){if(n)if(l(n)){o(n)&&(n=L(n));var a=void 0,s=function(o){if("class"===o||"style"===o||b(o))a=t;else{var s=t.attrs&&t.attrs.type;a=r||W.mustUseProp(e,s,o)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=k(o),u=D(o);if(!(c in a)&&!(u in a)&&(a[o]=n[o],i)){var f=t.on||(t.on={});f["update:".concat(o)]=function(t){n[o]=t}}};for(var c in n)s(c)}else;return t}function de(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),ve(r,"__static__".concat(t),!1)),r}function pe(t,e,n){return ve(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function ve(t,e,n){if(o(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&he(t[r],"".concat(e,"_").concat(r),n);else he(t,e,n)}function he(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function me(t,e){if(e)if(p(e)){var n=t.on=t.on?P({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function ye(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var a=t[i];o(a)?ye(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return r&&(e.$key=r),e}function _e(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function ge(t,e){return"string"===typeof t?e+t:t}function be(t){t._o=pe,t._n=_,t._s=y,t._l=ae,t._t=se,t._q=R,t._i=H,t._m=de,t._f=ce,t._k=fe,t._b=le,t._v=gt,t._e=_t,t._u=ye,t._g=me,t._d=_e,t._p=ge}function we(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(xe)&&delete n[u];return n}function xe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Ce(t){return t.isComment&&t.asyncFactory}function Oe(t,e,n,o){var i,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=$e(t,n,u,e[u]))}else i={};for(var f in n)f in i||(i[f]=ke(n,f));return e&&Object.isExtensible(e)&&(e._normalized=i),Y(i,"$stable",s),Y(i,"$key",c),Y(i,"$hasNormal",a),i}function $e(t,e,n,r){var i=function(){var e=ht;mt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!o(n)?[n]:re(n);var i=n&&n[0];return mt(e),n&&(!i||1===n.length&&i.isComment&&!Ce(i))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function ke(t,e){return function(){return t[e]}}function Se(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Me(t);mt(t),Ot();var o=qe(n,null,[t._props||Ht({}),r],t,"setup");if($t(),mt(),f(o))e.render=o;else if(l(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&zt(i,o,a)}else for(var a in o)K(a)||zt(t,o,a);else 0}}function Me(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Y(e,"_v_attr_proxy",!0),De(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};De(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return je(t)},emit:A(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return zt(t,e,n)}))}}}function De(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Te(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Te(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function je(t){return t._slotsProxy||Ae(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ae(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Ee(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=we(e._renderChildren,o),t.$scopedSlots=n?Oe(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return Ve(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Ve(t,e,n,r,o,!0)};var i=n&&n.data;It(t,"$attrs",i&&i.attrs||r,null,!0),It(t,"$listeners",e._parentListeners||r,null,!0)}var Pe=null;function Le(t){be(t.prototype),t.prototype.$nextTick=function(t){return an(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&e._isMounted&&(e.$scopedSlots=Oe(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Ae(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;try{mt(e),Pe=e,t=r.call(e._renderProxy,e.$createElement)}catch(Ya){We(Ya,e,"render"),t=e._vnode}finally{Pe=null,mt()}return o(t)&&1===t.length&&(t=t[0]),t instanceof yt||(t=_t()),t.parent=i,t}}function Ie(t,e){return(t.__esModule||vt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function Ne(t,e,n,r,o){var i=_t();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function Fe(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Pe;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],o=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return w(r,n)}));var f=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},d=U((function(n){t.resolved=Ie(n,e),o?r.length=0:f(!0)})),p=U((function(e){a(t.errorComp)&&(t.error=!0,f(!0))})),v=t(d,p);return l(v)&&(m(v)?i(t.resolved)&&v.then(d,p):m(v.component)&&(v.component.then(d,p),a(v.error)&&(t.errorComp=Ie(v.error,e)),a(v.loading)&&(t.loadingComp=Ie(v.loading,e),0===v.delay?t.loading=!0:c=setTimeout((function(){c=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,f(!1))}),v.delay||200)),a(v.timeout)&&(u=setTimeout((function(){u=null,i(t.resolved)&&p(null)}),v.timeout)))),o=!1,t.loading?t.loadingComp:t.resolved}}function Re(t){if(o(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||Ce(n)))return n}}var He=1,Ue=2;function Ve(t,e,n,r,i,a){return(o(n)||u(n))&&(i=r,r=n,n=void 0),s(a)&&(i=Ue),Be(t,e,n,r,i)}function Be(t,e,n,r,i){if(a(n)&&a(n.__ob__))return _t();if(a(n)&&a(n.is)&&(e=n.is),!e)return _t();var s,c;if(o(r)&&f(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Ue?r=re(r):i===He&&(r=ne(r)),"string"===typeof e){var u=void 0;c=t.$vnode&&t.$vnode.ns||W.getTagNamespace(e),s=W.isReservedTag(e)?new yt(W.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!a(u=wr(t.$options,"components",e))?new yt(e,n,r,void 0,void 0,t):or(u,n,t,r,e)}else s=or(e,n,t,r);return o(s)?s:a(s)?(a(c)&&ze(s,c),a(n)&&Ge(n),s):_t()}function ze(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var r=0,o=t.children.length;r<o;r++){var c=t.children[r];a(c.tag)&&(i(c.ns)||s(n)&&"svg"!==c.tag)&&ze(c,e,n)}}function Ge(t){l(t.style)&&ln(t.style),l(t.class)&&ln(t.class)}function We(t,e,n){Ot();try{if(e){var r=e;while(r=r.$parent){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,t,e,n);if(a)return}catch(Ya){Ke(Ya,r,"errorCaptured hook")}}}Ke(t,e,n)}finally{$t()}}function qe(t,e,n,r,o){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&m(i)&&!i._handled&&(i.catch((function(t){return We(t,r,o+" (Promise/async)")})),i._handled=!0)}catch(Ya){We(Ya,r,o)}return i}function Ke(t,e,n){if(W.errorHandler)try{return W.errorHandler.call(null,t,e,n)}catch(Ya){Ya!==t&&Ye(Ya,null,"config.errorHandler")}Ye(t,e,n)}function Ye(t,e,n){if(!Q||"undefined"===typeof console)throw t;console.error(t)}var Je,Xe=!1,Ze=[],Qe=!1;function tn(){Qe=!1;var t=Ze.slice(0);Ze.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&dt(Promise)){var en=Promise.resolve();Je=function(){en.then(tn),ot&&setTimeout(I)},Xe=!0}else if(et||"undefined"===typeof MutationObserver||!dt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Je="undefined"!==typeof setImmediate&&dt(setImmediate)?function(){setImmediate(tn)}:function(){setTimeout(tn,0)};else{var nn=1,rn=new MutationObserver(tn),on=document.createTextNode(String(nn));rn.observe(on,{characterData:!0}),Je=function(){nn=(nn+1)%2,on.data=String(nn)},Xe=!0}function an(t,e){var n;if(Ze.push((function(){if(t)try{t.call(e)}catch(Ya){We(Ya,e,"nextTick")}else n&&n(e)})),Qe||(Qe=!0,Je()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function sn(t){return function(e,n){if(void 0===n&&(n=ht),n)return cn(n,t,e)}}function cn(t,e,n){var r=t.$options;r[e]=pr(r[e],n)}sn("beforeMount"),sn("mounted"),sn("beforeUpdate"),sn("updated"),sn("beforeDestroy"),sn("destroyed"),sn("activated"),sn("deactivated"),sn("serverPrefetch"),sn("renderTracked"),sn("renderTriggered"),sn("errorCaptured");var un="2.7.10";var fn=new pt;function ln(t){return dn(t,fn),fn.clear(),t}function dn(t,e){var n,r,i=o(t);if(!(!i&&!l(t)||Object.isFrozen(t)||t instanceof yt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i){n=t.length;while(n--)dn(t[n],e)}else if(Bt(t))dn(t.value,e);else{r=Object.keys(t),n=r.length;while(n--)dn(t[r[n]],e)}}}var pn,vn=0,hn=function(){function t(t,e,n,r,o){Kt(this,Wt&&!Wt._vm?Wt:t?t._scope:void 0),(this.vm=t)&&o&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++vn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pt,this.newDepIds=new pt,this.expression="",f(e)?this.getter=e:(this.getter=X(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Ot(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Ya){if(!this.user)throw Ya;We(Ya,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&ln(t),$t(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():qn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');qe(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&w(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function mn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&bn(t,e)}function yn(t,e){pn.$on(t,e)}function _n(t,e){pn.$off(t,e)}function gn(t,e){var n=pn;return function r(){var o=e.apply(null,arguments);null!==o&&n.$off(t,r)}}function bn(t,e,n){pn=t,Zt(e,n||{},yn,_n,gn,t),pn=void 0}function wn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(o(t))for(var i=0,a=t.length;i<a;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(o(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var c=s.length;while(c--)if(a=s[c],a===e||a.fn===e){s.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?E(n):n;for(var r=E(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;i<a;i++)qe(n[i],e,r,e,o)}return e}}var xn=null;function Cn(t){var e=xn;return xn=t,function(){xn=e}}function On(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function $n(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=Cn(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);var a=n;while(a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){jn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||w(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),jn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function kn(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=_t),jn(t,"beforeMount"),r=function(){t._update(t._render(),n)};var o={before:function(){t._isMounted&&!t._isDestroyed&&jn(t,"beforeUpdate")}};new hn(t,r,I,o,!0),n=!1;var i=t._preWatchers;if(i)for(var a=0;a<i.length;a++)i[a].run();return null==t.$vnode&&(t._isMounted=!0,jn(t,"mounted")),t}function Sn(t,e,n,o,i){var a=o.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(i||t.$options._renderChildren||c),f=t.$vnode;t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i;var l=o.data.attrs||r;t._attrsProxy&&De(t._attrsProxy,l,f.data&&f.data.attrs||r,t,"$attrs")&&(u=!0),t.$attrs=l,n=n||r;var d=t.$options._parentListeners;if(t._listenersProxy&&De(t._listenersProxy,n,d||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,bn(t,n,d),e&&t.$options.props){At(!1);for(var p=t._props,v=t.$options._propKeys||[],h=0;h<v.length;h++){var m=v[h],y=t.$options.props;p[m]=xr(m,y,e,t)}At(!0),t.$options.propsData=e}u&&(t.$slots=we(i,o.context),t.$forceUpdate())}function Mn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Dn(t,e){if(e){if(t._directInactive=!1,Mn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Dn(t.$children[n]);jn(t,"activated")}}function Tn(t,e){if((!e||(t._directInactive=!0,!Mn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Tn(t.$children[n]);jn(t,"deactivated")}}function jn(t,e,n,r){void 0===r&&(r=!0),Ot();var o=ht;r&&mt(t);var i=t.$options[e],a="".concat(e," hook");if(i)for(var s=0,c=i.length;s<c;s++)qe(i[s],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),r&&mt(o),$t()}var An=[],En=[],Pn={},Ln=!1,In=!1,Nn=0;function Fn(){Nn=An.length=En.length=0,Pn={},Ln=In=!1}var Rn=0,Hn=Date.now;if(Q&&!et){var Un=window.performance;Un&&"function"===typeof Un.now&&Hn()>document.createEvent("Event").timeStamp&&(Hn=function(){return Un.now()})}var Vn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Bn(){var t,e;for(Rn=Hn(),In=!0,An.sort(Vn),Nn=0;Nn<An.length;Nn++)t=An[Nn],t.before&&t.before(),e=t.id,Pn[e]=null,t.run();var n=En.slice(),r=An.slice();Fn(),Wn(n),zn(r),lt&&W.devtools&&lt.emit("flush")}function zn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&jn(r,"updated")}}function Gn(t){t._inactive=!1,En.push(t)}function Wn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Dn(t[e],!0)}function qn(t){var e=t.id;if(null==Pn[e]&&(t!==xt.target||!t.noRecurse)){if(Pn[e]=!0,In){var n=An.length-1;while(n>Nn&&An[n].id>t.id)n--;An.splice(n+1,0,t)}else An.push(t);Ln||(Ln=!0,an(Bn))}}function Kn(t){var e=t.$options.provide;if(e){var n=f(e)?e.call(t):e;if(!l(n))return;for(var r=Yt(t),o=vt?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var a=o[i];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}function Yn(t){var e=Jn(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){It(t,n,e[n])})),At(!0))}function Jn(t,e){if(t){for(var n=Object.create(null),r=vt?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=t[i].from;if(a in e._provided)n[i]=e._provided[a];else if("default"in t[i]){var s=t[i].default;n[i]=f(s)?s.call(e):s}else 0}}return n}}function Xn(t,e,n,i,a){var c,u=this,f=a.options;C(i,"_uid")?(c=Object.create(i),c._original=i):(c=i,i=i._original);var l=s(f._compiled),d=!l;this.data=t,this.props=e,this.children=n,this.parent=i,this.listeners=t.on||r,this.injections=Jn(f.inject,i),this.slots=function(){return u.$slots||Oe(i,t.scopedSlots,u.$slots=we(n,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Oe(i,t.scopedSlots,this.slots())}}),l&&(this.$options=f,this.$slots=this.slots(),this.$scopedSlots=Oe(i,t.scopedSlots,this.$slots)),f._scopeId?this._c=function(t,e,n,r){var a=Ve(c,t,e,n,r,d);return a&&!o(a)&&(a.fnScopeId=f._scopeId,a.fnContext=i),a}:this._c=function(t,e,n,r){return Ve(c,t,e,n,r,d)}}function Zn(t,e,n,i,s){var c=t.options,u={},f=c.props;if(a(f))for(var l in f)u[l]=xr(l,f,e||r);else a(n.attrs)&&tr(u,n.attrs),a(n.props)&&tr(u,n.props);var d=new Xn(n,u,s,i,t),p=c.render.call(null,d._c,d);if(p instanceof yt)return Qn(p,n,d.parent,c,d);if(o(p)){for(var v=re(p)||[],h=new Array(v.length),m=0;m<v.length;m++)h[m]=Qn(v[m],n,d.parent,c,d);return h}}function Qn(t,e,n,r,o){var i=bt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function tr(t,e){for(var n in e)t[k(n)]=e[n]}function er(t){return t.name||t.__name||t._componentTag}be(Xn.prototype);var nr={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;nr.prepatch(n,n)}else{var r=t.componentInstance=ir(t,xn);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;Sn(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,jn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Gn(n):Dn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Tn(e,!0):e.$destroy())}},rr=Object.keys(nr);function or(t,e,n,r,o){if(!i(t)){var c=n.$options._base;if(l(t)&&(t=c.extend(t)),"function"===typeof t){var u;if(i(t.cid)&&(u=t,t=Fe(u,c),void 0===t))return Ne(u,e,n,r,o);e=e||{},Wr(t),a(e.model)&&cr(t.options,e);var f=te(e,t,o);if(s(t.options.functional))return Zn(t,f,e,n,r);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}ar(e);var v=er(t.options)||o,h=new yt("vue-component-".concat(t.cid).concat(v?"-".concat(v):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:d,tag:o,children:r},u);return h}}}function ir(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function ar(t){for(var e=t.hook||(t.hook={}),n=0;n<rr.length;n++){var r=rr[n],o=e[r],i=nr[r];o===i||o&&o._merged||(e[r]=o?sr(i,o):i)}}function sr(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function cr(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),s=i[r],c=e.model.callback;a(s)?(o(s)?-1===s.indexOf(c):s!==c)&&(i[r]=[c].concat(s)):i[r]=c}var ur=I,fr=W.optionMergeStrategies;function lr(t,e){if(!e)return t;for(var n,r,o,i=vt?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)n=i[a],"__ob__"!==n&&(r=t[n],o=e[n],C(t,n)?r!==o&&p(r)&&p(o)&&lr(r,o):Nt(t,n,o));return t}function dr(t,e,n){return n?function(){var r=f(e)?e.call(n,n):e,o=f(t)?t.call(n,n):t;return r?lr(r,o):o}:e?t?function(){return lr(f(e)?e.call(this,this):e,f(t)?t.call(this,this):t)}:e:t}function pr(t,e){var n=e?t?t.concat(e):o(e)?e:[e]:t;return n?vr(n):n}function vr(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function hr(t,e,n,r){var o=Object.create(t||null);return e?P(o,e):o}fr.data=function(t,e,n){return n?dr(t,e,n):e&&"function"!==typeof e?t:dr(t,e)},G.forEach((function(t){fr[t]=pr})),z.forEach((function(t){fr[t+"s"]=hr})),fr.watch=function(t,e,n,r){if(t===st&&(t=void 0),e===st&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var a in P(i,t),e){var s=i[a],c=e[a];s&&!o(s)&&(s=[s]),i[a]=s?s.concat(c):o(c)?c:[c]}return i},fr.props=fr.methods=fr.inject=fr.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return P(o,t),e&&P(o,e),o},fr.provide=dr;var mr=function(t,e){return void 0===e?t:e};function yr(t,e){var n=t.props;if(n){var r,i,a,s={};if(o(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(a=k(i),s[a]={type:null})}else if(p(n))for(var c in n)i=n[c],a=k(c),s[a]=p(i)?i:{type:i};else 0;t.props=s}}function _r(t,e){var n=t.inject;if(n){var r=t.inject={};if(o(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(p(n))for(var a in n){var s=n[a];r[a]=p(s)?P({from:a},s):{from:s}}else 0}}function gr(t){var e=t.directives;if(e)for(var n in e){var r=e[n];f(r)&&(e[n]={bind:r,update:r})}}function br(t,e,n){if(f(e)&&(e=e.options),yr(e,n),_r(e,n),gr(e),!e._base&&(e.extends&&(t=br(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=br(t,e.mixins[r],n);var i,a={};for(i in t)s(i);for(i in e)C(t,i)||s(i);function s(r){var o=fr[r]||mr;a[r]=o(t[r],e[r],n,r)}return a}function wr(t,e,n,r){if("string"===typeof n){var o=t[e];if(C(o,n))return o[n];var i=k(n);if(C(o,i))return o[i];var a=S(i);if(C(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function xr(t,e,n,r){var o=e[t],i=!C(n,t),a=n[t],s=Sr(Boolean,o.type);if(s>-1)if(i&&!C(o,"default"))a=!1;else if(""===a||a===D(t)){var c=Sr(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=Cr(r,o,t);var u=jt;At(!0),Lt(a),At(u)}return a}function Cr(t,e,n){if(C(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:f(r)&&"Function"!==$r(e.type)?r.call(t):r}}var Or=/^\s*function (\w+)/;function $r(t){var e=t&&t.toString().match(Or);return e?e[1]:""}function kr(t,e){return $r(t)===$r(e)}function Sr(t,e){if(!o(e))return kr(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(kr(e[n],t))return n;return-1}var Mr={enumerable:!0,configurable:!0,get:I,set:I};function Dr(t,e,n){Mr.get=function(){return this[e][n]},Mr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Mr)}function Tr(t){var e=t.$options;if(e.props&&jr(t,e.props),Se(t),e.methods&&Rr(t,e.methods),e.data)Ar(t);else{var n=Lt(t._data={});n&&n.vmCount++}e.computed&&Lr(t,e.computed),e.watch&&e.watch!==st&&Hr(t,e.watch)}function jr(t,e){var n=t.$options.propsData||{},r=t._props=Ht({}),o=t.$options._propKeys=[],i=!t.$parent;i||At(!1);var a=function(i){o.push(i);var a=xr(i,e,n,t);It(r,i,a),i in t||Dr(t,"_props",i)};for(var s in e)a(s);At(!0)}function Ar(t){var e=t.$options.data;e=t._data=f(e)?Er(e,t):e||{},p(e)||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);while(o--){var i=n[o];0,r&&C(r,i)||K(i)||Dr(t,"_data",i)}var a=Lt(e);a&&a.vmCount++}function Er(t,e){Ot();try{return t.call(e,e)}catch(Ya){return We(Ya,e,"data()"),{}}finally{$t()}}var Pr={lazy:!0};function Lr(t,e){var n=t._computedWatchers=Object.create(null),r=ft();for(var o in e){var i=e[o],a=f(i)?i:i.get;0,r||(n[o]=new hn(t,a||I,I,Pr)),o in t||Ir(t,o,i)}}function Ir(t,e,n){var r=!ft();f(n)?(Mr.get=r?Nr(e):Fr(n),Mr.set=I):(Mr.get=n.get?r&&!1!==n.cache?Nr(e):Fr(n.get):I,Mr.set=n.set||I),Object.defineProperty(t,e,Mr)}function Nr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),xt.target&&e.depend(),e.value}}function Fr(t){return function(){return t.call(this,this)}}function Rr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:A(e[n],t)}function Hr(t,e){for(var n in e){var r=e[n];if(o(r))for(var i=0;i<r.length;i++)Ur(t,n,r[i]);else Ur(t,n,r)}}function Ur(t,e,n,r){return p(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function Vr(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Nt,t.prototype.$delete=Ft,t.prototype.$watch=function(t,e,n){var r=this;if(p(e))return Ur(r,t,e,n);n=n||{},n.user=!0;var o=new hn(r,t,e,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');Ot(),qe(e,r,[o.value],r,i),$t()}return function(){o.teardown()}}}var Br=0;function zr(t){t.prototype._init=function(t){var e=this;e._uid=Br++,e._isVue=!0,e.__v_skip=!0,e._scope=new qt(!0),e._scope._vm=!0,t&&t._isComponent?Gr(e,t):e.$options=br(Wr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,On(e),mn(e),Ee(e),jn(e,"beforeCreate",void 0,!1),Yn(e),Tr(e),Kn(e),jn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Gr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Wr(t){var e=t.options;if(t.super){var n=Wr(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var o=qr(t);o&&P(t.extendOptions,o),e=t.options=br(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function qr(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}function Kr(t){this._init(t)}function Yr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=E(arguments,1);return n.unshift(this),f(t.install)?t.install.apply(t,n):f(t)&&t.apply(null,n),e.push(t),this}}function Jr(t){t.mixin=function(t){return this.options=br(this.options,t),this}}function Xr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=er(t)||er(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=br(n.options,t),a["super"]=n,a.options.props&&Zr(a),a.options.computed&&Qr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=P({},a.options),o[r]=a,a}}function Zr(t){var e=t.options.props;for(var n in e)Dr(t.prototype,"_props",n)}function Qr(t){var e=t.options.computed;for(var n in e)Ir(t.prototype,n,e[n])}function to(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&f(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function eo(t){return t&&(er(t.Ctor.options)||t.tag)}function no(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!v(t)&&t.test(e)}function ro(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=a.name;s&&!e(s)&&oo(n,i,r,o)}}}function oo(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,w(n,e)}zr(Kr),Vr(Kr),wn(Kr),$n(Kr),Le(Kr);var io=[String,RegExp,Array],ao={name:"keep-alive",abstract:!0,props:{include:io,exclude:io,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:eo(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&oo(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)oo(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ro(t,(function(t){return no(e,t)}))})),this.$watch("exclude",(function(e){ro(t,(function(t){return!no(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Re(t),n=e&&e.componentOptions;if(n){var r=eo(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!no(i,r))||a&&r&&no(a,r))return e;var s=this,c=s.cache,u=s.keys,f=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[f]?(e.componentInstance=c[f].componentInstance,w(u,f),u.push(f)):(this.vnodeToCache=e,this.keyToCache=f),e.data.keepAlive=!0}return e||t&&t[0]}},so={KeepAlive:ao};function co(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:ur,extend:P,mergeOptions:br,defineReactive:It},t.set=Nt,t.delete=Ft,t.nextTick=an,t.observable=function(t){return Lt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,so),Yr(t),Jr(t),Xr(t),to(t)}co(Kr),Object.defineProperty(Kr.prototype,"$isServer",{get:ft}),Object.defineProperty(Kr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Kr,"FunctionalRenderContext",{value:Xn}),Kr.version=un;var uo=g("style,class"),fo=g("input,textarea,option,select,progress"),lo=function(t,e,n){return"value"===n&&fo(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},po=g("contenteditable,draggable,spellcheck"),vo=g("events,caret,typing,plaintext-only"),ho=function(t,e){return bo(e)||"false"===e?"false":"contenteditable"===t&&vo(e)?e:"true"},mo=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),yo="http://www.w3.org/1999/xlink",_o=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},go=function(t){return _o(t)?t.slice(6,t.length):""},bo=function(t){return null==t||!1===t};function wo(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=xo(r.data,e));while(a(n=n.parent))n&&n.data&&(e=xo(e,n.data));return Co(e.staticClass,e.class)}function xo(t,e){return{staticClass:Oo(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Co(t,e){return a(t)||a(e)?Oo(t,$o(e)):""}function Oo(t,e){return t?e?t+" "+e:t:e||""}function $o(t){return Array.isArray(t)?ko(t):l(t)?So(t):"string"===typeof t?t:""}function ko(t){for(var e,n="",r=0,o=t.length;r<o;r++)a(e=$o(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function So(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Mo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Do=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),To=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),jo=function(t){return Do(t)||To(t)};function Ao(t){return To(t)?"svg":"math"===t?"math":void 0}var Eo=Object.create(null);function Po(t){if(!Q)return!0;if(jo(t))return!1;if(t=t.toLowerCase(),null!=Eo[t])return Eo[t];var e=document.createElement(t);return t.indexOf("-")>-1?Eo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Eo[t]=/HTMLUnknownElement/.test(e.toString())}var Lo=g("text,number,password,search,email,tel,url");function Io(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function No(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Fo(t,e){return document.createElementNS(Mo[t],e)}function Ro(t){return document.createTextNode(t)}function Ho(t){return document.createComment(t)}function Uo(t,e,n){t.insertBefore(e,n)}function Vo(t,e){t.removeChild(e)}function Bo(t,e){t.appendChild(e)}function zo(t){return t.parentNode}function Go(t){return t.nextSibling}function Wo(t){return t.tagName}function qo(t,e){t.textContent=e}function Ko(t,e){t.setAttribute(e,"")}var Yo=Object.freeze({__proto__:null,createElement:No,createElementNS:Fo,createTextNode:Ro,createComment:Ho,insertBefore:Uo,removeChild:Vo,appendChild:Bo,parentNode:zo,nextSibling:Go,tagName:Wo,setTextContent:qo,setStyleScope:Ko}),Jo={create:function(t,e){Xo(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Xo(t,!0),Xo(e))},destroy:function(t){Xo(t,!0)}};function Xo(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,s=e?null:i,c=e?void 0:i;if(f(n))qe(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,l="string"===typeof n||"number"===typeof n,d=Bt(n),p=r.$refs;if(l||d)if(u){var v=l?p[n]:n.value;e?o(v)&&w(v,i):o(v)?v.includes(i)||v.push(i):l?(p[n]=[i],Zo(r,n,p[n])):n.value=[i]}else if(l){if(e&&p[n]!==i)return;p[n]=c,Zo(r,n,s)}else if(d){if(e&&n.value!==i)return;n.value=s}else 0}}}function Zo(t,e,n){var r=t._setupState;r&&C(r,e)&&(Bt(r[e])?r[e].value=n:r[e]=n)}var Qo=new yt("",{},[]),ti=["create","activate","update","remove","destroy"];function ei(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ni(t,e)||s(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function ni(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===o||Lo(r)&&Lo(o)}function ri(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,a(o)&&(i[o]=r);return i}function oi(t){var e,n,r={},c=t.modules,f=t.nodeOps;for(e=0;e<ti.length;++e)for(r[ti[e]]=[],n=0;n<c.length;++n)a(c[n][ti[e]])&&r[ti[e]].push(c[n][ti[e]]);function l(t){return new yt(f.tagName(t).toLowerCase(),{},[],void 0,t)}function d(t,e){function n(){0===--n.listeners&&p(t)}return n.listeners=e,n}function p(t){var e=f.parentNode(t);a(e)&&f.removeChild(e,t)}function v(t,e,n,r,o,i,c){if(a(t.elm)&&a(i)&&(t=i[c]=bt(t)),t.isRootInsert=!o,!h(t,e,n,r)){var u=t.data,l=t.children,d=t.tag;a(d)?(t.elm=t.ns?f.createElementNS(t.ns,d):f.createElement(d,t),C(t),b(t,l,e),a(u)&&x(t,e),_(n,t.elm,r)):s(t.isComment)?(t.elm=f.createComment(t.text),_(n,t.elm,r)):(t.elm=f.createTextNode(t.text),_(n,t.elm,r))}}function h(t,e,n,r){var o=t.data;if(a(o)){var i=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return m(t,e),_(n,t.elm,r),s(i)&&y(t,e,n,r),!0}}function m(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,w(t)?(x(t,e),C(t)):(Xo(t),e.push(t))}function y(t,e,n,o){var i,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,a(i=s.data)&&a(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](Qo,s);e.push(s);break}_(n,t.elm,o)}function _(t,e,n){a(t)&&(a(n)?f.parentNode(n)===t&&f.insertBefore(t,e,n):f.appendChild(t,e))}function b(t,e,n){if(o(e)){0;for(var r=0;r<e.length;++r)v(e[r],n,t.elm,null,!0,e,r)}else u(t.text)&&f.appendChild(t.elm,f.createTextNode(String(t.text)))}function w(t){while(t.componentInstance)t=t.componentInstance._vnode;return a(t.tag)}function x(t,n){for(var o=0;o<r.create.length;++o)r.create[o](Qo,t);e=t.data.hook,a(e)&&(a(e.create)&&e.create(Qo,t),a(e.insert)&&n.push(t))}function C(t){var e;if(a(e=t.fnScopeId))f.setStyleScope(t.elm,e);else{var n=t;while(n)a(e=n.context)&&a(e=e.$options._scopeId)&&f.setStyleScope(t.elm,e),n=n.parent}a(e=xn)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&f.setStyleScope(t.elm,e)}function O(t,e,n,r,o,i){for(;r<=o;++r)v(n[r],i,t,e,!1,n,r)}function $(t){var e,n,o=t.data;if(a(o))for(a(e=o.hook)&&a(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)$(t.children[n])}function k(t,e,n){for(;e<=n;++e){var r=t[e];a(r)&&(a(r.tag)?(S(r),$(r)):p(r.elm))}}function S(t,e){if(a(e)||a(t.data)){var n,o=r.remove.length+1;for(a(e)?e.listeners+=o:e=d(t.elm,o),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&S(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else p(t.elm)}function M(t,e,n,r,o){var s,c,u,l,d=0,p=0,h=e.length-1,m=e[0],y=e[h],_=n.length-1,g=n[0],b=n[_],w=!o;while(d<=h&&p<=_)i(m)?m=e[++d]:i(y)?y=e[--h]:ei(m,g)?(T(m,g,r,n,p),m=e[++d],g=n[++p]):ei(y,b)?(T(y,b,r,n,_),y=e[--h],b=n[--_]):ei(m,b)?(T(m,b,r,n,_),w&&f.insertBefore(t,m.elm,f.nextSibling(y.elm)),m=e[++d],b=n[--_]):ei(y,g)?(T(y,g,r,n,p),w&&f.insertBefore(t,y.elm,m.elm),y=e[--h],g=n[++p]):(i(s)&&(s=ri(e,d,h)),c=a(g.key)?s[g.key]:D(g,e,d,h),i(c)?v(g,r,t,m.elm,!1,n,p):(u=e[c],ei(u,g)?(T(u,g,r,n,p),e[c]=void 0,w&&f.insertBefore(t,u.elm,m.elm)):v(g,r,t,m.elm,!1,n,p)),g=n[++p]);d>h?(l=i(n[_+1])?null:n[_+1].elm,O(t,l,n,p,_,r)):p>_&&k(e,d,h)}function D(t,e,n,r){for(var o=n;o<r;o++){var i=e[o];if(a(i)&&ei(t,i))return o}}function T(t,e,n,o,c,u){if(t!==e){a(e.elm)&&a(o)&&(e=o[c]=bt(e));var l=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;a(p)&&a(d=p.hook)&&a(d=d.prepatch)&&d(t,e);var v=t.children,h=e.children;if(a(p)&&w(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);a(d=p.hook)&&a(d=d.update)&&d(t,e)}i(e.text)?a(v)&&a(h)?v!==h&&M(l,v,h,n,u):a(h)?(a(t.text)&&f.setTextContent(l,""),O(l,null,h,0,h.length-1,n)):a(v)?k(v,0,v.length-1):a(t.text)&&f.setTextContent(l,""):t.text!==e.text&&f.setTextContent(l,e.text),a(p)&&a(d=p.hook)&&a(d=d.postpatch)&&d(t,e)}}}function j(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var A=g("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var o,i=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(c)&&(a(o=c.hook)&&a(o=o.init)&&o(e,!0),a(o=e.componentInstance)))return m(e,n),!0;if(a(i)){if(a(u))if(t.hasChildNodes())if(a(o=c)&&a(o=o.domProps)&&a(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var f=!0,l=t.firstChild,d=0;d<u.length;d++){if(!l||!E(l,u[d],n,r)){f=!1;break}l=l.nextSibling}if(!f||l)return!1}else b(e,u,n);if(a(c)){var p=!1;for(var v in c)if(!A(v)){p=!0,x(e,n);break}!p&&c["class"]&&ln(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,o){if(!i(e)){var c=!1,u=[];if(i(t))c=!0,v(e,u);else{var d=a(t.nodeType);if(!d&&ei(t,e))T(t,e,u,null,null,o);else{if(d){if(1===t.nodeType&&t.hasAttribute(B)&&(t.removeAttribute(B),n=!0),s(n)&&E(t,e,u))return j(e,u,!0),t;t=l(t)}var p=t.elm,h=f.parentNode(p);if(v(e,u,p._leaveCb?null:h,f.nextSibling(p)),a(e.parent)){var m=e.parent,y=w(e);while(m){for(var _=0;_<r.destroy.length;++_)r.destroy[_](m);if(m.elm=e.elm,y){for(var g=0;g<r.create.length;++g)r.create[g](Qo,m);var b=m.data.hook.insert;if(b.merged)for(var x=1;x<b.fns.length;x++)b.fns[x]()}else Xo(m);m=m.parent}}a(h)?k([t],0,0):a(t.tag)&&$(t)}}return j(e,u,c),e.elm}a(t)&&$(t)}}var ii={create:ai,update:ai,destroy:function(t){ai(t,Qo)}};function ai(t,e){(t.data.directives||e.data.directives)&&si(t,e)}function si(t,e){var n,r,o,i=t===Qo,a=e===Qo,s=ui(t.data.directives,t.context),c=ui(e.data.directives,e.context),u=[],f=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,li(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(li(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var l=function(){for(var n=0;n<u.length;n++)li(u[n],"inserted",e,t)};i?Qt(e,"insert",l):l()}if(f.length&&Qt(e,"postpatch",(function(){for(var n=0;n<f.length;n++)li(f[n],"componentUpdated",e,t)})),!i)for(n in s)c[n]||li(s[n],"unbind",t,t,a)}var ci=Object.create(null);function ui(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++){if(r=t[n],r.modifiers||(r.modifiers=ci),o[fi(r)]=r,e._setupState&&e._setupState.__sfc){var i=r.def||wr(e,"_setupState","v-"+r.name);r.def="function"===typeof i?{bind:i,update:i}:i}r.def=r.def||wr(e.$options,"directives",r.name,!0)}return o}function fi(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function li(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(Ya){We(Ya,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var di=[Jo,ii];function pi(t,e){var n=e.componentOptions;if((!a(n)||!1!==n.Ctor.options.inheritAttrs)&&(!i(t.data.attrs)||!i(e.data.attrs))){var r,o,c,u=e.elm,f=t.data.attrs||{},l=e.data.attrs||{};for(r in(a(l.__ob__)||s(l._v_attr_proxy))&&(l=e.data.attrs=P({},l)),l)o=l[r],c=f[r],c!==o&&vi(u,r,o,e.data.pre);for(r in(et||rt)&&l.value!==f.value&&vi(u,"value",l.value),f)i(l[r])&&(_o(r)?u.removeAttributeNS(yo,go(r)):po(r)||u.removeAttribute(r))}}function vi(t,e,n,r){r||t.tagName.indexOf("-")>-1?hi(t,e,n):mo(e)?bo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):po(e)?t.setAttribute(e,ho(e,n)):_o(e)?bo(n)?t.removeAttributeNS(yo,go(e)):t.setAttributeNS(yo,e,n):hi(t,e,n)}function hi(t,e,n){if(bo(n))t.removeAttribute(e);else{if(et&&!nt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var mi={create:pi,update:pi};function yi(t,e){var n=e.elm,r=e.data,o=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=wo(e),c=n._transitionClasses;a(c)&&(s=Oo(s,$o(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var _i,gi={create:yi,update:yi},bi="__r",wi="__c";function xi(t){if(a(t[bi])){var e=et?"change":"input";t[e]=[].concat(t[bi],t[e]||[]),delete t[bi]}a(t[wi])&&(t.change=[].concat(t[wi],t.change||[]),delete t[wi])}function Ci(t,e,n){var r=_i;return function o(){var i=e.apply(null,arguments);null!==i&&ki(t,o,n,r)}}var Oi=Xe&&!(at&&Number(at[1])<=53);function $i(t,e,n,r){if(Oi){var o=Rn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}_i.addEventListener(t,e,ct?{capture:n,passive:r}:n)}function ki(t,e,n,r){(r||_i).removeEventListener(t,e._wrapper||e,n)}function Si(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};_i=e.elm||t.elm,xi(n),Zt(n,r,$i,ki,Ci,e.context),_i=void 0}}var Mi,Di={create:Si,update:Si,destroy:function(t){return Si(t,Qo)}};function Ti(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=P({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var f=i(r)?"":String(r);ji(o,f)&&(o.value=f)}else if("innerHTML"===n&&To(o.tagName)&&i(o.innerHTML)){Mi=Mi||document.createElement("div"),Mi.innerHTML="<svg>".concat(r,"</svg>");var l=Mi.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(l.firstChild)o.appendChild(l.firstChild)}else if(r!==c[n])try{o[n]=r}catch(Ya){}}}}function ji(t,e){return!t.composing&&("OPTION"===t.tagName||Ai(t,e)||Ei(t,e))}function Ai(t,e){var n=!0;try{n=document.activeElement!==t}catch(Ya){}return n&&t.value!==e}function Ei(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return _(n)!==_(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Pi={create:Ti,update:Ti},Li=O((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ii(t){var e=Ni(t.style);return t.staticStyle?P(t.staticStyle,e):e}function Ni(t){return Array.isArray(t)?L(t):"string"===typeof t?Li(t):t}function Fi(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Ii(o.data))&&P(r,n)}(n=Ii(t.data))&&P(r,n);var i=t;while(i=i.parent)i.data&&(n=Ii(i.data))&&P(r,n);return r}var Ri,Hi=/^--/,Ui=/\s*!important$/,Vi=function(t,e,n){if(Hi.test(e))t.style.setProperty(e,n);else if(Ui.test(n))t.style.setProperty(D(e),n.replace(Ui,""),"important");else{var r=zi(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Bi=["Webkit","Moz","ms"],zi=O((function(t){if(Ri=Ri||document.createElement("div").style,t=k(t),"filter"!==t&&t in Ri)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Bi.length;n++){var r=Bi[n]+e;if(r in Ri)return r}}));function Gi(t,e){var n=e.data,r=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var o,s,c=e.elm,u=r.staticStyle,f=r.normalizedStyle||r.style||{},l=u||f,d=Ni(e.data.style)||{};e.data.normalizedStyle=a(d.__ob__)?P({},d):d;var p=Fi(e,!0);for(s in l)i(p[s])&&Vi(c,s,"");for(s in p)o=p[s],o!==l[s]&&Vi(c,s,null==o?"":o)}}var Wi={create:Gi,update:Gi},qi=/\s+/;function Ki(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(qi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Yi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(qi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Ji(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&P(e,Xi(t.name||"v")),P(e,t),e}return"string"===typeof t?Xi(t):void 0}}var Xi=O((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Zi=Q&&!nt,Qi="transition",ta="animation",ea="transition",na="transitionend",ra="animation",oa="animationend";Zi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ea="WebkitTransition",na="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ra="WebkitAnimation",oa="webkitAnimationEnd"));var ia=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function aa(t){ia((function(){ia(t)}))}function sa(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Ki(t,e))}function ca(t,e){t._transitionClasses&&w(t._transitionClasses,e),Yi(t,e)}function ua(t,e,n){var r=la(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Qi?na:oa,c=0,u=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c<a&&u()}),i+1),t.addEventListener(s,f)}var fa=/\b(transform|all)(,|$)/;function la(t,e){var n,r=window.getComputedStyle(t),o=(r[ea+"Delay"]||"").split(", "),i=(r[ea+"Duration"]||"").split(", "),a=da(o,i),s=(r[ra+"Delay"]||"").split(", "),c=(r[ra+"Duration"]||"").split(", "),u=da(s,c),f=0,l=0;e===Qi?a>0&&(n=Qi,f=a,l=i.length):e===ta?u>0&&(n=ta,f=u,l=c.length):(f=Math.max(a,u),n=f>0?a>u?Qi:ta:null,l=n?n===Qi?i.length:c.length:0);var d=n===Qi&&fa.test(r[ea+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:d}}function da(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return pa(e)+pa(t[n])})))}function pa(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function va(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ji(t.data.transition);if(!i(r)&&!a(n._enterCb)&&1===n.nodeType){var o=r.css,s=r.type,c=r.enterClass,u=r.enterToClass,d=r.enterActiveClass,p=r.appearClass,v=r.appearToClass,h=r.appearActiveClass,m=r.beforeEnter,y=r.enter,g=r.afterEnter,b=r.enterCancelled,w=r.beforeAppear,x=r.appear,C=r.afterAppear,O=r.appearCancelled,$=r.duration,k=xn,S=xn.$vnode;while(S&&S.parent)k=S.context,S=S.parent;var M=!k._isMounted||!t.isRootInsert;if(!M||x||""===x){var D=M&&p?p:c,T=M&&h?h:d,j=M&&v?v:u,A=M&&w||m,E=M&&f(x)?x:y,P=M&&C||g,L=M&&O||b,I=_(l($)?$.enter:$);0;var N=!1!==o&&!nt,F=ya(E),R=n._enterCb=U((function(){N&&(ca(n,j),ca(n,T)),R.cancelled?(N&&ca(n,D),L&&L(n)):P&&P(n),n._enterCb=null}));t.data.show||Qt(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),E&&E(n,R)})),A&&A(n),N&&(sa(n,D),sa(n,T),aa((function(){ca(n,D),R.cancelled||(sa(n,j),F||(ma(I)?setTimeout(R,I):ua(n,s,R)))}))),t.data.show&&(e&&e(),E&&E(n,R)),N||F||R()}}}function ha(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Ji(t.data.transition);if(i(r)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var o=r.css,s=r.type,c=r.leaveClass,u=r.leaveToClass,f=r.leaveActiveClass,d=r.beforeLeave,p=r.leave,v=r.afterLeave,h=r.leaveCancelled,m=r.delayLeave,y=r.duration,g=!1!==o&&!nt,b=ya(p),w=_(l(y)?y.leave:y);0;var x=n._leaveCb=U((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),g&&(ca(n,u),ca(n,f)),x.cancelled?(g&&ca(n,c),h&&h(n)):(e(),v&&v(n)),n._leaveCb=null}));m?m(C):C()}function C(){x.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),g&&(sa(n,c),sa(n,f),aa((function(){ca(n,c),x.cancelled||(sa(n,u),b||(ma(w)?setTimeout(x,w):ua(n,s,x)))}))),p&&p(n,x),g||b||x())}}function ma(t){return"number"===typeof t&&!isNaN(t)}function ya(t){if(i(t))return!1;var e=t.fns;return a(e)?ya(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function _a(t,e){!0!==e.data.show&&va(e)}var ga=Q?{create:_a,activate:_a,remove:function(t,e){!0!==t.data.show?ha(t,e):e()}}:{},ba=[mi,gi,Di,Pi,Wi,ga],wa=ba.concat(di),xa=oi({nodeOps:Yo,modules:wa});nt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ta(t,"input")}));var Ca={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Qt(n,"postpatch",(function(){Ca.componentUpdated(t,e,n)})):Oa(t,e,n.context),t._vOptions=[].map.call(t.options,Sa)):("textarea"===n.tag||Lo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ma),t.addEventListener("compositionend",Da),t.addEventListener("change",Da),nt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Oa(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Sa);if(o.some((function(t,e){return!R(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return ka(t,o)})):e.value!==e.oldValue&&ka(e.value,o);i&&Ta(t,"change")}}}};function Oa(t,e,n){$a(t,e,n),(et||rt)&&setTimeout((function(){$a(t,e,n)}),0)}function $a(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],o)i=H(r,Sa(a))>-1,a.selected!==i&&(a.selected=i);else if(R(Sa(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function ka(t,e){return e.every((function(e){return!R(e,t)}))}function Sa(t){return"_value"in t?t._value:t.value}function Ma(t){t.target.composing=!0}function Da(t){t.target.composing&&(t.target.composing=!1,Ta(t.target,"input"))}function Ta(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ja(t){return!t.componentInstance||t.data&&t.data.transition?t:ja(t.componentInstance._vnode)}var Aa={bind:function(t,e,n){var r=e.value;n=ja(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,va(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=ja(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?va(n,(function(){t.style.display=t.__vOriginalDisplay})):ha(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Ea={model:Ca,show:Aa},Pa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function La(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?La(Re(e.children)):t}function Ia(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[k(r)]=o[r];return e}function Na(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Fa(t){while(t=t.parent)if(t.data.transition)return!0}function Ra(t,e){return e.key===t.key&&e.tag===t.tag}var Ha=function(t){return t.tag||Ce(t)},Ua=function(t){return"show"===t.name},Va={name:"transition",props:Pa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ha),n.length)){0;var r=this.mode;0;var o=n[0];if(Fa(this.$vnode))return o;var i=La(o);if(!i)return o;if(this._leaving)return Na(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Ia(this),c=this._vnode,f=La(c);if(i.data.directives&&i.data.directives.some(Ua)&&(i.data.show=!0),f&&f.data&&!Ra(i,f)&&!Ce(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=P({},s);if("out-in"===r)return this._leaving=!0,Qt(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Na(t,o);if("in-out"===r){if(Ce(i))return c;var d,p=function(){d()};Qt(s,"afterEnter",p),Qt(s,"enterCancelled",p),Qt(l,"delayLeave",(function(t){d=t}))}}return o}}},Ba=P({tag:String,moveClass:String},Pa);delete Ba.mode;var za={props:Ba,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Cn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Ia(this),s=0;s<o.length;s++){var c=o[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){var u=[],f=[];for(s=0;s<r.length;s++){c=r[s];c.data.transition=a,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?u.push(c):f.push(c)}this.kept=t(e,null,u),this.removed=f}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ga),t.forEach(Wa),t.forEach(qa),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;sa(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(na,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(na,t),n._moveCb=null,ca(n,e))})}})))},methods:{hasMove:function(t,e){if(!Zi)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Yi(n,t)})),Ki(n,e),n.style.display="none",this.$el.appendChild(n);var r=la(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Ga(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Wa(t){t.data.newPos=t.elm.getBoundingClientRect()}function qa(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var Ka={Transition:Va,TransitionGroup:za};Kr.config.mustUseProp=lo,Kr.config.isReservedTag=jo,Kr.config.isReservedAttr=uo,Kr.config.getTagNamespace=Ao,Kr.config.isUnknownElement=Po,P(Kr.options.directives,Ea),P(Kr.options.components,Ka),Kr.prototype.__patch__=Q?xa:I,Kr.prototype.$mount=function(t,e){return t=t&&Q?Io(t):void 0,kn(this,t,e)},Q&&setTimeout((function(){W.devtools&&lt&&lt.emit("init",Kr)}),0)}).call(this,n("c8ba"))},be6e:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=36)}([function(t,e,n){var r=n(27)("wks"),o=n(30),i=n(2).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports={version:"2.6.3"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports={}},function(t,e,n){var r=n(10);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(8),o=n(11);t.exports=n(6)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(23)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(4),o=n(49),i=n(64),a=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(27)("keys"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(50),o=n(9);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(62)(!0);n(24)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){t.exports={default:n(42),__esModule:!0}},function(t,e,n){var r=n(18),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(44);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(10),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(2),o=n(1),i=n(19),a=n(5),s=n(7),c=function(t,e,n){var u,f,l,d=t&c.F,p=t&c.G,v=t&c.S,h=t&c.P,m=t&c.B,y=t&c.W,_=p?o:o[e]||(o[e]={}),g=_.prototype,b=p?r:v?r[e]:(r[e]||{}).prototype;for(u in p&&(n=e),n)(f=!d&&b&&void 0!==b[u])&&s(_,u)||(l=f?b[u]:n[u],_[u]=p&&"function"!=typeof b[u]?n[u]:m&&f?i(l,r):y&&b[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((_.virtual||(_.virtual={}))[u]=l,t&c.R&&g&&!g[u]&&a(g,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var r=n(25),o=n(22),i=n(61),a=n(5),s=n(3),c=n(53),u=n(26),f=n(58),l=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,v,h,m,y){c(n,e,v);var _,g,b,w=function(t){if(!d&&t in $)return $[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",C="values"==h,O=!1,$=t.prototype,k=$[l]||$["@@iterator"]||h&&$[h],S=k||w(h),M=h?C?w("entries"):S:void 0,D="Array"==e&&$.entries||k;if(D&&(b=f(D.call(new t)))!==Object.prototype&&b.next&&(u(b,x,!0),r||"function"==typeof b[l]||a(b,l,p)),C&&k&&"values"!==k.name&&(O=!0,S=function(){return k.call(this)}),r&&!y||!d&&!O&&$[l]||a($,l,S),s[e]=S,s[x]=p,h)if(_={values:C?S:w("values"),keys:m?S:w("keys"),entries:M},y)for(g in _)g in $||i($,g,_[g]);else o(o.P+o.F*(d||O),e,_);return _}},function(t,e){t.exports=!0},function(t,e,n){var r=n(8).f,o=n(7),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(1),o=n(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(25)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(13),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(9);t.exports=function(t){return Object(r(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(17),o=n(0)("iterator"),i=n(3);t.exports=n(1).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){n(68);for(var r=n(2),o=n(5),i=n(3),a=n(0)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],f=r[u],l=f&&f.prototype;l&&!l[a]&&o(l,a,u),i[u]=i.Array}},function(t,e,n){n(73);var r=n(71)(n(34),n(72),"data-v-2ebcbc83",null);t.exports=r.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(16),i=r(o),a=n(39),s=r(a),c=n(35),u=r(c);e.default={data:function(){return{myDate:[],list:[],historyChose:[],dateTop:""}},props:{markDate:{type:Array,default:function(){return[]}},markDateMore:{type:Array,default:function(){return[]}},textTop:{type:Array,default:function(){return["一","二","三","四","五","六","日"]}},sundayStart:{type:Boolean,default:function(){return!1}},agoDayHide:{type:String,default:"0"},futureDayHide:{type:String,default:"2554387200"}},created:function(){this.intStart(),this.myDate=new Date},methods:{intStart:function(){u.default.sundayStart=this.sundayStart},setClass:function(t){var e={};return e[t.markClassName]=t.markClassName,e},clickDay:function(t,e){"nowMonth"!==t.otherMonth||t.dayHide||this.getList(this.myDate,t.date),"nowMonth"!==t.otherMonth&&("preMonth"===t.otherMonth?this.PreMonth(t.date):this.NextMonth(t.date))},ChoseMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=u.default.dateFormat(t),this.myDate=new Date(t),this.$emit("changeMonth",u.default.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},PreMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=u.default.dateFormat(t),this.myDate=u.default.getOtherMonth(this.myDate,"preMonth"),this.$emit("changeMonth",u.default.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},NextMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=u.default.dateFormat(t),this.myDate=u.default.getOtherMonth(this.myDate,"nextMonth"),this.$emit("changeMonth",u.default.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},forMatArgs:function(){var t=this.markDate,e=this.markDateMore;return t=t.map((function(t){return u.default.dateFormat(t)})),e=e.map((function(t){return t.date=u.default.dateFormat(t.date),t})),[t,e]},getList:function(t,e){var n=this.forMatArgs(),r=(0,s.default)(n,2),o=r[0],a=r[1];this.dateTop=t.getFullYear()+"年"+(t.getMonth()+1)+"月";for(var c=u.default.getMonthList(this.myDate),f=0;f<c.length;f++){var l="",d=c[f];d.chooseDay=!1;var p=d.date,v=new Date(p).getTime()/1e3,h=!0,m=!1,y=void 0;try{for(var _,g=(0,i.default)(a);!(h=(_=g.next()).done);h=!0){var b=_.value;b.date===p&&(l=b.className||"")}}catch(t){m=!0,y=t}finally{try{!h&&g.return&&g.return()}finally{if(m)throw y}}d.markClassName=l,d.isMark=o.indexOf(p)>-1,d.dayHide=v<this.agoDayHide||v>this.futureDayHide,d.isToday&&this.$emit("isToday",p);var w=!d.dayHide&&"nowMonth"===d.otherMonth;e&&e===p&&w?(this.$emit("choseDay",p),this.historyChose.push(p),d.chooseDay=!0):this.historyChose[this.historyChose.length-1]===p&&!e&&w&&(d.chooseDay=!0)}this.list=c}},mounted:function(){this.getList(this.myDate)},watch:{markDate:{handler:function(t,e){this.getList(this.myDate)},deep:!0},markDateMore:{handler:function(t,e){this.getList(this.myDate)},deep:!0},agoDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},futureDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},sundayStart:{handler:function(t,e){this.intStart(),this.getList(this.myDate)},deep:!0}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(40),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={getDaysInOneMonth:function(t){var e=t.getFullYear(),n=t.getMonth()+1;return new Date(e,n,0).getDate()},getMonthweek:function(t){var e=t.getFullYear(),n=t.getMonth()+1,r=new Date(e+"/"+n+"/1");return this.sundayStart?0==r.getDay()?7:r.getDay():0==r.getDay()?6:r.getDay()-1},getOtherMonth:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nextMonth",n=this.dateFormat(t).split("/"),r=n[0],o=n[1],i=n[2],a=r,s=void 0;"nextMonth"===e?13==(s=parseInt(o)+1)&&(a=parseInt(a)+1,s=1):0==(s=parseInt(o)-1)&&(a=parseInt(a)-1,s=12);var c=i,u=new Date(a,s,0).getDate();c>u&&(c=u),s<10&&(s="0"+s),c<10&&(c="0"+c);var f=a+"/"+s+"/"+c;return new Date(f)},getLeftArr:function(t){for(var e=[],n=this.getMonthweek(t),r=this.getDaysInOneMonth(this.getOtherMonth(t,"preMonth"))-n+1,o=this.getOtherMonth(t,"preMonth"),i=0;i<n;i++){var a=o.getFullYear()+"/"+(o.getMonth()+1)+"/"+(r+i);e.push({id:r+i,date:a,isToday:!1,otherMonth:"preMonth"})}return e},getRightArr:function(t){for(var e=[],n=this.getOtherMonth(t,"nextMonth"),r=this.getDaysInOneMonth(t)+this.getMonthweek(t),o=7-r%7,i=0;i<o;i++){var a=n.getFullYear()+"/"+(n.getMonth()+1)+"/"+(i+1);e.push({id:i+1,date:a,isToday:!1,otherMonth:"nextMonth"})}return e},dateFormat:function(t){return t="string"==typeof t?new Date(t.replace(/\-/g,"/")):t,t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate()},getMonthListNoOther:function(t){for(var e=[],n=this.getDaysInOneMonth(t),r=t.getFullYear(),o=t.getMonth()+1,i=this.dateFormat(new Date),a=0;a<n;a++){var s=r+"/"+o+"/"+(a+1);e.push({id:a+1,date:s,isToday:i===s,otherMonth:"nowMonth"})}return e},getMonthList:function(t){return[].concat((0,o.default)(this.getLeftArr(t)),(0,o.default)(this.getMonthListNoOther(t)),(0,o.default)(this.getRightArr(t)))},sundayStart:!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(33),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("clock",Clock)},function(t,e,n){t.exports={default:n(41),__esModule:!0}},function(t,e,n){t.exports={default:n(43),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(38),i=r(o),a=n(16),s=r(a);e.default=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=(0,s.default)(t);!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,i.default)(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,e,n){"use strict";e.__esModule=!0;var r=n(37),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){n(15),n(67),t.exports=n(1).Array.from},function(t,e,n){n(32),n(15),t.exports=n(65)},function(t,e,n){n(32),n(15),t.exports=n(66)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(14),o=n(28),i=n(63);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),f=i(a,u);if(t&&n!=n){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(8),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(6)&&!n(23)((function(){return 7!=Object.defineProperty(n(20)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(18);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(3),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(56),o=n(11),i=n(26),a={};n(5)(a,n(0)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(4),o=n(57),i=n(21),a=n(12)("IE_PROTO"),s=function(){},c=function(){var t,e=n(20)("iframe"),r=i.length;for(e.style.display="none",n(48).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(8),o=n(4),i=n(60);t.exports=n(6)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(7),o=n(29),i=n(12)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(7),o=n(14),i=n(46)(!1),a=n(12)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},function(t,e,n){var r=n(59),o=n(21);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){t.exports=n(5)},function(t,e,n){var r=n(13),o=n(9);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(13),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(10);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(4),o=n(31);t.exports=n(1).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){var r=n(17),o=n(0)("iterator"),i=n(3);t.exports=n(1).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},function(t,e,n){"use strict";var r=n(19),o=n(22),i=n(29),a=n(52),s=n(51),c=n(28),u=n(47),f=n(31);o(o.S+o.F*!n(54)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,l,d=i(t),p="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,m=void 0!==h,y=0,_=f(d);if(m&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==_||p==Array&&s(_))for(e=c(d.length),n=new p(e);e>y;y++)u(n,y,m?h(d[y],y):d[y]);else for(l=_.call(d),n=new p;!(o=l.next()).done;y++)u(n,y,m?a(l,h,[o.value,y],!0):o.value);return n.length=y,n}})},function(t,e,n){"use strict";var r=n(45),o=n(55),i=n(3),a=n(14);t.exports=n(24)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){e=t.exports=n(70)(),e.push([t.i,"@media screen and (min-width:460px){.wh_item_date[data-v-2ebcbc83]:hover{background:#71c7a5;cursor:pointer}}[data-v-2ebcbc83]{margin:0;padding:0}.wh_container[data-v-2ebcbc83]{max-width:410px;margin:auto}li[data-v-2ebcbc83]{list-style-type:none}.wh_top_changge[data-v-2ebcbc83]{display:flex}.wh_top_changge li[data-v-2ebcbc83]{cursor:pointer;display:flex;color:#fff;font-size:18px;flex:1;justify-content:center;align-items:center;height:47px}.wh_top_changge .wh_content_li[data-v-2ebcbc83]{cursor:auto;flex:2.5}.wh_content_all[data-v-2ebcbc83]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,STHeiti,Microsoft Yahei,Tahoma,Simsun,sans-serif;background-color:#0fc37c;width:100%;overflow:hidden;}.wh_content[data-v-2ebcbc83]{display:flex;flex-wrap:wrap;padding:0 3%;width:100%}.wh_content:first-child .wh_content_item[data-v-2ebcbc83],.wh_content:first-child .wh_content_item_tag[data-v-2ebcbc83]{color:#ddd;font-size:16px}.wh_content_item[data-v-2ebcbc83],wh_content_item_tag[data-v-2ebcbc83]{font-size:15px;width:13.4%;text-align:center;color:#fff;position:relative}.wh_content_item[data-v-2ebcbc83]{height:40px}.wh_item_date[data-v-2ebcbc83],.wh_top_tag[data-v-2ebcbc83]{width:20px;height:20px;line-height:20px;padding:5px;margin:auto;display:flex;justify-content:center;align-items:center}.wh_jiantou1[data-v-2ebcbc83]{width:12px;height:12px;border-top:2px solid #fff;border-left:2px solid #fff;transform:rotate(-45deg)}.wh_jiantou1[data-v-2ebcbc83]:active,.wh_jiantou2[data-v-2ebcbc83]:active{border-color:#ddd}.wh_jiantou2[data-v-2ebcbc83]{width:12px;height:12px;border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg)}.wh_content_item>.wh_isMark[data-v-2ebcbc83]{margin:auto;border-radius:10px;z-index:2}.wh_content_item .wh_other_dayhide[data-v-2ebcbc83],.wh_content_item .wh_want_dayhide[data-v-2ebcbc83]{color:#dbdbdb}.wh_content_item .wh_isToday[data-v-2ebcbc83]{background:#ff0;border-radius:10px}.wh_content_item .wh_chose_day[data-v-2ebcbc83]{background:green;border-radius:10px}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e){t.exports=function(t,e,n,r){var o,i=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(o=t,i=t.default);var s="function"==typeof i?i.options:i;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var c=Object.create(s.computed||null);Object.keys(r).forEach((function(t){var e=r[t];c[t]=function(){return e}})),s.computed=c}return{esModule:o,exports:i,options:s}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"wh_container"},[n("div",{staticClass:"wh_content_all"},[n("div",{staticClass:"wh_top_changge"},[n("li",{on:{click:function(e){t.PreMonth(t.myDate,!1)}}},[n("div",{staticClass:"wh_jiantou1"})]),t._v(" "),n("li",{staticClass:"wh_content_li"},[t._v(t._s(t.dateTop))]),t._v(" "),n("li",{on:{click:function(e){t.NextMonth(t.myDate,!1)}}},[n("div",{staticClass:"wh_jiantou2"})])]),t._v(" "),n("div",{staticClass:"wh_content"},t._l(t.textTop,(function(e){return n("div",{staticClass:"wh_content_item"},[n("div",{staticClass:"wh_top_tag"},[t._v(t._s(e))])])})),0),t._v(" "),n("div",{staticClass:"wh_content"},t._l(t.list,(function(e,r){return n("div",{staticClass:"wh_content_item",on:{click:function(n){t.clickDay(e,r)}}},[n("div",{staticClass:"wh_item_date",class:[{wh_isMark:e.isMark},{wh_other_dayhide:"nowMonth"!==e.otherMonth},{wh_want_dayhide:e.dayHide},{wh_isToday:e.isToday},{wh_chose_day:e.chooseDay},t.setClass(e)]},[t._v(t._s(e.id))])])})),0)])])},staticRenderFns:[]}},function(t,e,n){var r=n(69);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(74)("05c81390",r,!0)},function(t,e,n){function r(t){for(var e=0;e<t.length;e++){var n=t[e],r=f[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(i(n.parts[o]));f[n.id]={id:n.id,refs:1,parts:a}}}}function o(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function i(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(v)return h;r.parentNode.removeChild(r)}if(m){var i=p++;r=d||(d=o()),e=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),e=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function a(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function s(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(75),f={},l=c&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,v=!1,h=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){v=n;var o=u(t,e);return r(o),function(e){for(var n=[],i=0;i<o.length;i++){var a=o[i],s=f[a.id];s.refs--,n.push(s)}e?(o=u(t,e),r(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete f[s.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],s=i[1],c=i[2],u=i[3],f={id:t+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(f):n.push(r[a]={id:a,parts:[f]})}return n}}])}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n}}]);
-//# sourceMappingURL=chunk-vendors.5c31667a.js.map
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/calendar/js/chunk-vendors.5c31667a.js.map b/app/appearance/themes/notion-theme/calendar/js/chunk-vendors.5c31667a.js.map
deleted file mode 100644
index 594d75b78f..0000000000
--- a/app/appearance/themes/notion-theme/calendar/js/chunk-vendors.5c31667a.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./node_modules/vue/dist/vue.runtime.esm.js","webpack:///./node_modules/vue-calendar-component/dist/index.js","webpack:///(webpack)/buildin/global.js"],"names":["normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","this","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","call","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","exports","emptyObject","Object","freeze","isArray","Array","isUndef","v","undefined","isDef","isTrue","isFalse","isPrimitive","value","isFunction","isObject","obj","_toString","prototype","toString","isPlainObject","isRegExp","isValidArrayIndex","val","n","parseFloat","String","Math","floor","isFinite","isPromise","then","catch","JSON","stringify","toNumber","isNaN","makeMap","str","expectsLowerCase","map","create","list","split","i","length","toLowerCase","isReservedAttribute","remove$2","arr","item","index","indexOf","splice","hasOwnProperty","hasOwn","key","cached","fn","cache","hit","camelizeRE","camelize","replace","_","c","toUpperCase","capitalize","charAt","slice","hyphenateRE","hyphenate","polyfillBind","ctx","boundFn","a","l","arguments","apply","_length","nativeBind","bind","Function","toArray","start","ret","extend","to","_from","toObject","res","noop","b","no","identity","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","every","e","Date","getTime","keysA","keys","keysB","looseIndexOf","once","called","hasChanged","x","y","SSR_ATTR","ASSET_TYPES","LIFECYCLE_HOOKS","config","optionMergeStrategies","silent","productionTip","devtools","performance","errorHandler","warnHandler","ignoredElements","keyCodes","isReservedTag","isReservedAttr","isUnknownElement","getTagNamespace","parsePlatformTagName","mustUseProp","async","_lifecycleHooks","unicodeRegExp","isReserved","charCodeAt","def","enumerable","defineProperty","writable","configurable","bailRE","RegExp","source","parsePath","path","test","segments","hasProto","inBrowser","window","UA","navigator","userAgent","isIE","isIE9","isEdge","isIOS","_isServer","isFF","match","nativeWatch","watch","supportsPassive","opts","get","addEventListener","isServerRendering","global","env","VUE_ENV","__VUE_DEVTOOLS_GLOBAL_HOOK__","isNative","Ctor","_Set","hasSymbol","Symbol","Reflect","ownKeys","Set","set","has","clear","currentInstance","setCurrentInstance","vm","_scope","off","on","VNode","tag","data","children","text","elm","componentOptions","asyncFactory","ns","fnContext","fnOptions","fnScopeId","componentInstance","raw","isStatic","isRootInsert","isComment","isCloned","isOnce","asyncMeta","isAsyncPlaceholder","createEmptyVNode","node","createTextVNode","cloneVNode","vnode","cloned","uid$2","Dep","id","subs","addSub","sub","push","removeSub","depend","info","target","addDep","notify","update","targetStack","pushTarget","popTarget","pop","arrayProto","arrayMethods","methodsToPatch","forEach","method","original","args","_i","inserted","result","ob","__ob__","observeArray","dep","arrayKeys","getOwnPropertyNames","NO_INIITIAL_VALUE","shouldObserve","toggleObserving","mockDep","Observer","shallow","mock","vmCount","__proto__","defineReactive","observe","ssrMockReactivity","isRef","isExtensible","__v_skip","customSetter","property","getOwnPropertyDescriptor","getter","setter","childOb","dependArray","newVal","isReadonly","max","_isVue","del","shallowReactive","makeReactive","__v_isReadonly","r","__v_isRef","proxyWithRefUnwrap","oldValue","WATCHER","activeEffectScope","EffectScope","detached","active","effects","cleanups","scopes","run","currentEffectScope","stop","fromParent","teardown","last","recordEffectScope","effect","scope","resolveProvided","_provided","parentProvides","$parent","normalizeEvent","name","passive","capture","createFnInvoker","fns","invoker","invokeWithErrorHandling","updateListeners","oldOn","remove","createOnceHandler","cur","old","event","params","mergeVNodeHook","hookKey","oldHook","wrappedHook","merged","extractPropsFromVNodeData","propOptions","props","attrs","altKey","checkProp","hash","preserve","simpleNormalizeChildren","normalizeChildren","normalizeArrayChildren","isTextNode","nestedIndex","lastIndex","shift","_isVList","renderList","iterator","next","done","renderSlot","fallbackRender","bindObject","nodes","scopedSlotFn","$scopedSlots","$slots","slot","$createElement","resolveFilter","resolveAsset","isKeyNotMatch","expect","actual","checkKeyCodes","eventKeyCode","builtInKeyCode","eventKeyName","builtInKeyName","mappedKeyCode","bindObjectProps","asProp","isSync","_loop_1","type","domProps","camelizedKey","hyphenatedKey","$event","renderStatic","isInFor","_staticTrees","tree","_renderProxy","_c","markStatic","markOnce","markStaticNode","bindObjectListeners","ours","resolveScopedSlots","hasDynamicKeys","contentHashKey","$stable","proxy","$key","bindDynamicKeys","baseObj","values","prependModifier","symbol","installRenderHelpers","_o","_n","_s","_l","_t","_q","_m","_f","_k","_b","_v","_e","_u","_g","_d","_p","resolveSlots","slots","child","default","name_1","name_2","isWhitespace","normalizeScopedSlots","ownerVm","scopedSlots","normalSlots","prevScopedSlots","hasNormalSlots","isStable","_normalized","$hasNormal","key_1","normalizeScopedSlot","key_2","proxyNormalSlot","normalized","initSetup","setup","_setupContext","createSetupContext","setupResult","_props","_setupState","__sfc","_setupProxy","_attrsProxy","syncSetupProxy","$attrs","_listenersProxy","$listeners","initSlotsProxy","emit","$emit","expose","exposed","from","prev","instance","changed","defineProxyAttr","_slotsProxy","syncSetupSlots","initRender","_vnode","parentVnode","_parentVnode","renderContext","_renderChildren","d","createElement$1","parentData","_parentListeners","currentRenderingInstance","renderMixin","Vue","$nextTick","nextTick","_render","_a","_isMounted","handleError","ensureCtor","comp","base","__esModule","toStringTag","createAsyncPlaceholder","factory","resolveAsyncComponent","baseCtor","error","errorComp","resolved","owner","owners","loading","loadingComp","owners_1","sync_1","timerLoading_1","timerTimeout_1","$on","forceRender_1","renderCompleted","$forceUpdate","clearTimeout","resolve","reject_1","reason","res_1","component","delay","setTimeout","timeout","getFirstComponentChild","SIMPLE_NORMALIZE","ALWAYS_NORMALIZE","normalizationType","alwaysNormalize","_createElement","is","pre","createComponent","applyNS","registerDeepBindings","force","style","traverse","class","err","hooks","errorCaptured","globalHandleError","handler","_handled","logError","console","timerFunc","isUsingMicroTask","callbacks","pending","flushCallbacks","copies","Promise","p_1","MutationObserver","setImmediate","counter_1","observer","textNode_1","document","createTextNode","characterData","cb","_resolve","createLifeCycle","hookName","injectHook","mergeLifecycleHook","version","seenObjects","_traverse","seen","isA","isFrozen","depId","target$1","uid$1","Watcher","expOrFn","isRenderWatcher","_vm","_watcher","deep","user","lazy","sync","before","post","dirty","deps","newDeps","depIds","newDepIds","expression","cleanupDeps","tmp","queueWatcher","evaluate","_isBeingDestroyed","onStop","initEvents","_events","_hasHookEvent","listeners","updateComponentListeners","add$1","remove$1","$off","createOnceHandler$1","_target","onceHandler","oldListeners","eventsMixin","hookRE","$once","i_1","cbs","activeInstance","setActiveInstance","prevActiveInstance","initLifecycle","abstract","$children","$refs","_inactive","_directInactive","_isDestroyed","lifecycleMixin","_update","hydrating","prevEl","$el","prevVnode","restoreActiveInstance","__patch__","__vue__","wrapper","$destroy","callHook$1","_data","mountComponent","el","updateComponent","watcherOptions","preWatchers","_preWatchers","updateChildComponent","propsData","renderChildren","newScopedSlots","oldScopedSlots","hasDynamicScopedSlot","needsForceUpdate","prevVNode","prevListeners","propKeys","_propKeys","validateProp","isInInactiveTree","activateChildComponent","direct","deactivateChildComponent","setContext","handlers","j","queue","activatedChildren","waiting","flushing","resetSchedulerState","currentFlushTimestamp","getNow","now","performance_1","createEvent","timeStamp","sortCompareFn","flushSchedulerQueue","watcher","sort","activatedQueue","updatedQueue","callActivatedHooks","callUpdatedHooks","queueActivatedComponent","noRecurse","initProvide","provideOption","provide","provided","initInjections","resolveInject","inject","provideKey","provideDefault","FunctionalRenderContext","contextVm","_this","_original","isCompiled","needNormalization","injections","createFunctionalComponent","mergeProps","cloneAndMarkFunctionalResult","vnodes","clone","getComponentName","__name","_componentTag","componentVNodeHooks","init","keepAlive","mountedNode","prepatch","createComponentInstanceForVnode","$mount","oldVnode","insert","destroy","hooksToMerge","_base","cid","resolveConstructorOptions","model","transformModel","nativeOn","installComponentHooks","_isComponent","inlineTemplate","toMerge","_merged","mergeHook","f1","f2","prop","callback","warn","strats","mergeData","toVal","fromVal","mergeDataOrFn","parentVal","childVal","instanceData","defaultData","dedupeHooks","mergeAssets","parent_1","methods","computed","defaultStrat","normalizeProps","normalizeInject","normalizeDirectives$1","dirs","directives","mergeOptions","extends","mixins","mergeField","strat","warnMissing","assets","camelizedId","PascalCaseId","absent","booleanIndex","getTypeIndex","Boolean","stringIndex","getPropDefaultValue","prevShouldObserve","getType","functionTypeCheckRE","isSameType","expectedTypes","len","sharedPropertyDefinition","sourceKey","initState","initProps$1","initMethods","initData","initComputed$1","initWatch","propsOptions","isRoot","getData","computedWatcherOptions","watchers","_computedWatchers","isSSR","userDef","defineComputed","shouldCache","createComputedGetter","createGetterInvoker","createWatcher","$watch","stateMixin","dataDef","propsDef","$set","$delete","immediate","uid","initMixin$1","_init","_uid","initInternalComponent","constructor","_self","vnodeComponentOptions","super","superOptions","cachedSuperOptions","modifiedOptions","resolveModifiedOptions","extendOptions","components","modified","latest","sealed","sealedOptions","initUse","use","plugin","installedPlugins","_installedPlugins","unshift","install","initMixin","mixin","initExtend","Super","SuperId","cachedCtors","_Ctor","Sub","initProps","initComputed","Comp","initAssetRegisters","definition","_getComponentName","matches","pattern","pruneCache","keepAliveInstance","filter","entry","pruneCacheEntry","current","patternTypes","KeepAlive","include","exclude","Number","cacheVNode","vnodeToCache","keyToCache","parseInt","created","destroyed","mounted","updated","builtInComponents","initGlobalAPI","configDef","util","delete","observable","acceptValue","attr","isEnumeratedAttr","isValidContentEditableValue","convertEnumeratedValue","isFalsyAttrValue","isBooleanAttr","xlinkNS","isXlink","getXlinkProp","genClassForVnode","parentNode","childNode","mergeClassData","renderClass","staticClass","dynamicClass","stringifyClass","stringifyArray","stringifyObject","stringified","namespaceMap","svg","math","isHTMLTag","isSVG","unknownElementCache","createElement","HTMLUnknownElement","HTMLElement","isTextInputType","query","selected","querySelector","tagName","multiple","setAttribute","createElementNS","namespace","createComment","insertBefore","newNode","referenceNode","removeChild","appendChild","nextSibling","setTextContent","textContent","setStyleScope","nodeOps","ref","registerRef","isRemoval","refValue","$refsValue","isFor","refInFor","_isString","_isRef","refs","includes","setSetupRef","emptyNode","sameVnode","sameInputType","typeA","typeB","createKeyToOldIdx","beginIdx","endIdx","createPatchFunction","backend","modules","emptyNodeAt","createRmCb","childElm","removeNode","createElm","insertedVnodeQueue","parentElm","refElm","nested","ownerArray","setScope","createChildren","invokeCreateHooks","isReactivated","initComponent","reactivateComponent","pendingInsert","isPatchable","innerNode","transition","activate","i_2","ancestor","addVnodes","startIdx","invokeDestroyHook","removeVnodes","ch","removeAndInvokeRemoveHook","rm","i_3","updateChildren","oldCh","newCh","removeOnly","oldKeyToIdx","idxInOld","vnodeToMove","oldStartIdx","newStartIdx","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","canMove","patchVnode","findIdxInOld","end","i_5","hydrate","postpatch","invokeInsertHook","initial","i_6","isRenderedModule","inVPre","hasChildNodes","innerHTML","childrenMatch","firstChild","i_7","fullInvoke","isInitialPatch","isRealElement","nodeType","hasAttribute","removeAttribute","oldElm","_leaveCb","patchable","i_8","i_9","insert_1","i_10","updateDirectives","oldDir","dir","isCreate","isDestroy","oldDirs","normalizeDirectives","newDirs","dirsWithInsert","dirsWithPostpatch","oldArg","arg","callHook","componentUpdated","callInsert","emptyModifiers","modifiers","getRawDirName","setupDef","rawName","join","baseModules","updateAttrs","inheritAttrs","oldAttrs","_v_attr_proxy","setAttr","removeAttributeNS","isInPre","baseSetAttr","setAttributeNS","__ieph","blocker_1","stopImmediatePropagation","removeEventListener","updateClass","oldData","cls","transitionClass","_transitionClasses","_prevClass","klass","RANGE_TOKEN","CHECKBOX_RADIO_TOKEN","normalizeEvents","event_1","change","useMicrotaskFix","attachedTimestamp_1","original_1","_wrapper","currentTarget","ownerDocument","updateDOMListeners","svgContainer","events","updateDOMProps","oldProps","childNodes","_value","strCur","shouldUpdateValue","checkVal","composing","isNotInFocusAndDirty","isDirtyWithModifiers","notInFocus","activeElement","_vModifiers","number","trim","parseStyleText","cssText","listDelimiter","propertyDelimiter","normalizeStyleData","normalizeStyleBinding","staticStyle","bindingStyle","getStyle","checkChild","styleData","emptyStyle","cssVarRE","importantRE","setProp","setProperty","normalizedName","normalize","vendorNames","capName","updateStyle","oldStaticStyle","oldStyleBinding","normalizedStyle","oldStyle","newStyle","whitespaceRE","addClass","classList","getAttribute","removeClass","tar","resolveTransition","css","autoCssTransition","enterClass","enterToClass","enterActiveClass","leaveClass","leaveToClass","leaveActiveClass","hasTransition","TRANSITION","ANIMATION","transitionProp","transitionEndEvent","animationProp","animationEndEvent","ontransitionend","onwebkittransitionend","onanimationend","onwebkitanimationend","raf","requestAnimationFrame","nextFrame","addTransitionClass","transitionClasses","removeTransitionClass","whenTransitionEnds","expectedType","getTransitionInfo","propCount","ended","onEnd","transformRE","styles","getComputedStyle","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","hasTransform","delays","durations","toMs","s","enter","toggleDisplay","cancelled","_enterCb","appearClass","appearToClass","appearActiveClass","beforeEnter","afterEnter","enterCancelled","beforeAppear","appear","afterAppear","appearCancelled","duration","transitionNode","isAppear","startClass","activeClass","toClass","beforeEnterHook","enterHook","afterEnterHook","enterCancelledHook","explicitEnterDuration","expectsCSS","userWantsControl","getHookArgumentsLength","show","pendingNode","_pending","isValidDuration","leave","beforeLeave","afterLeave","leaveCancelled","delayLeave","explicitLeaveDuration","performLeave","invokerFns","_enter","platformModules","patch","vmodel","trigger","directive","binding","_vOptions","setSelected","getValue","onCompositionStart","onCompositionEnd","prevOptions_1","curOptions_1","some","o","needReset","hasNoMatchingOption","actuallySetSelected","isMultiple","option","selectedIndex","initEvent","dispatchEvent","locateNode","originalDisplay","__vOriginalDisplay","display","unbind","platformDirectives","transitionProps","mode","getRealChild","compOptions","extractTransitionData","placeholder","rawChild","hasParentTransition","isSameChild","oldChild","isNotTextNode","isVShowDirective","Transition","_leaving","oldRawChild","delayedLeave_1","moveClass","TransitionGroup","beforeMount","kept","prevChildren","rawChildren","transitionData","removed","pos","getBoundingClientRect","hasMove","callPendingCbs","recordPosition","applyTranslation","_reflow","body","offsetHeight","moved","el_1","transform","WebkitTransform","transitionDuration","_moveCb","propertyName","_hasMove","cloneNode","newPos","oldPos","dx","left","dy","top","platformComponents","t","module","m","p","store","__e","self","__g","TypeError","f","ceil","u","callee","F","G","S","P","B","g","W","virtual","R","U","w","M","D","O","k","L","C","entries","copyright","min","random","getIteratorMethod","myDate","historyChose","dateTop","markDate","markDateMore","textTop","sundayStart","agoDayHide","futureDayHide","intStart","setClass","markClassName","clickDay","otherMonth","dayHide","getList","date","PreMonth","NextMonth","ChoseMonth","dateFormat","getOtherMonth","forMatArgs","getFullYear","getMonth","getMonthList","chooseDay","className","return","isMark","isToday","getDaysInOneMonth","getDate","getMonthweek","getDay","getLeftArr","getRightArr","getMonthListNoOther","Clock","documentElement","propertyIsEnumerable","src","contentWindow","open","write","close","defineProperties","getPrototypeOf","valueOf","getIterator","isIterable","Arguments","esModule","click","wh_isMark","wh_other_dayhide","wh_want_dayhide","wh_isToday","wh_chose_day","locals","parts","media","sourceMap","styleSheet","sources","btoa","unescape","encodeURIComponent","DEBUG","Error","head","getElementsByTagName"],"mappings":"+GAMe,SAASA,EACtBC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,IAoBIC,EApBAC,EACuB,oBAAlBT,EAA+BA,EAAcS,QAAUT,EAuDhE,GApDIC,IACFQ,EAAQR,OAASA,EACjBQ,EAAQP,gBAAkBA,EAC1BO,EAAQC,WAAY,GAIlBP,IACFM,EAAQE,YAAa,GAInBN,IACFI,EAAQG,SAAW,UAAYP,GAI7BC,GAEFE,EAAO,SAAUK,GAEfA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AAI0jC,EAAE,WAAW,IAAIlB,EAAE,GAAG,OAAO,SAAS9pC,EAAE7E,GAAG,OAAO2uC,EAAE9pC,GAAG7E,EAAE2uC,EAAEzb,OAAOjF,SAASiR,KAAK,OAA9E,IAAyF,SAASyP,EAAE9pC,GAAG8pC,EAAEnwC,QAAQ,SAASmwC,EAAE9pC,GAAG,IAAI,IAAI7E,EAAE,GAAGiQ,EAAE,GAAG06B,EAAE,EAAEA,EAAE9lC,EAAExD,OAAOspC,IAAI,CAAC,IAAIvpC,EAAEyD,EAAE8lC,GAAGxnC,EAAE/B,EAAE,GAAGkuC,EAAEluC,EAAE,GAAG+lC,EAAE/lC,EAAE,GAAGqB,EAAErB,EAAE,GAAGguC,EAAE,CAACjjC,GAAGwiC,EAAE,IAAIhE,EAAErG,IAAIgL,EAAEqF,MAAMxN,EAAEyN,UAAUnyC,GAAGwN,EAAE9M,GAAG8M,EAAE9M,GAAGuxC,MAAMnoC,KAAK6iC,GAAGpvC,EAAEuM,KAAK0D,EAAE9M,GAAG,CAACgJ,GAAGhJ,EAAEuxC,MAAM,CAACtF,KAAK,OAAOpvC,U,mBCA3jxB,IAAI6vC,EAGJA,EAAI,WACH,OAAOvyC,KADJ,GAIJ,IAECuyC,EAAIA,GAAK,IAAInsC,SAAS,cAAb,GACR,MAAOmB,GAEc,kBAAXkD,SAAqB8nC,EAAI9nC,QAOrC6mC,EAAOpwC,QAAUqxC","file":"js/chunk-vendors.5c31667a.js","sourcesContent":["/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","/*!\n * Vue.js v2.7.10\n * (c) 2014-2022 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\r\nvar isArray = Array.isArray;\r\n// These helpers produce better VM code in JS engines due to their\r\n// explicitness and function inlining.\r\nfunction isUndef(v) {\r\n return v === undefined || v === null;\r\n}\r\nfunction isDef(v) {\r\n return v !== undefined && v !== null;\r\n}\r\nfunction isTrue(v) {\r\n return v === true;\r\n}\r\nfunction isFalse(v) {\r\n return v === false;\r\n}\r\n/**\r\n * Check if value is primitive.\r\n */\r\nfunction isPrimitive(value) {\r\n return (typeof value === 'string' ||\r\n typeof value === 'number' ||\r\n // $flow-disable-line\r\n typeof value === 'symbol' ||\r\n typeof value === 'boolean');\r\n}\r\nfunction isFunction(value) {\r\n return typeof value === 'function';\r\n}\r\n/**\r\n * Quick object check - this is primarily used to tell\r\n * objects from primitive values when we know the value\r\n * is a JSON-compliant type.\r\n */\r\nfunction isObject(obj) {\r\n return obj !== null && typeof obj === 'object';\r\n}\r\n/**\r\n * Get the raw type string of a value, e.g., [object Object].\r\n */\r\nvar _toString = Object.prototype.toString;\r\nfunction toRawType(value) {\r\n return _toString.call(value).slice(8, -1);\r\n}\r\n/**\r\n * Strict object type check. Only returns true\r\n * for plain JavaScript objects.\r\n */\r\nfunction isPlainObject(obj) {\r\n return _toString.call(obj) === '[object Object]';\r\n}\r\nfunction isRegExp(v) {\r\n return _toString.call(v) === '[object RegExp]';\r\n}\r\n/**\r\n * Check if val is a valid array index.\r\n */\r\nfunction isValidArrayIndex(val) {\r\n var n = parseFloat(String(val));\r\n return n >= 0 && Math.floor(n) === n && isFinite(val);\r\n}\r\nfunction isPromise(val) {\r\n return (isDef(val) &&\r\n typeof val.then === 'function' &&\r\n typeof val.catch === 'function');\r\n}\r\n/**\r\n * Convert a value to a string that is actually rendered.\r\n */\r\nfunction toString(val) {\r\n return val == null\r\n ? ''\r\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\r\n ? JSON.stringify(val, null, 2)\r\n : String(val);\r\n}\r\n/**\r\n * Convert an input value to a number for persistence.\r\n * If the conversion fails, return original string.\r\n */\r\nfunction toNumber(val) {\r\n var n = parseFloat(val);\r\n return isNaN(n) ? val : n;\r\n}\r\n/**\r\n * Make a map and return a function for checking if a key\r\n * is in that map.\r\n */\r\nfunction makeMap(str, expectsLowerCase) {\r\n var map = Object.create(null);\r\n var list = str.split(',');\r\n for (var i = 0; i < list.length; i++) {\r\n map[list[i]] = true;\r\n }\r\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\r\n}\r\n/**\r\n * Check if a tag is a built-in tag.\r\n */\r\nvar isBuiltInTag = makeMap('slot,component', true);\r\n/**\r\n * Check if an attribute is a reserved attribute.\r\n */\r\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\r\n/**\r\n * Remove an item from an array.\r\n */\r\nfunction remove$2(arr, item) {\r\n if (arr.length) {\r\n var index = arr.indexOf(item);\r\n if (index > -1) {\r\n return arr.splice(index, 1);\r\n }\r\n }\r\n}\r\n/**\r\n * Check whether an object has the property.\r\n */\r\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\r\nfunction hasOwn(obj, key) {\r\n return hasOwnProperty.call(obj, key);\r\n}\r\n/**\r\n * Create a cached version of a pure function.\r\n */\r\nfunction cached(fn) {\r\n var cache = Object.create(null);\r\n return function cachedFn(str) {\r\n var hit = cache[str];\r\n return hit || (cache[str] = fn(str));\r\n };\r\n}\r\n/**\r\n * Camelize a hyphen-delimited string.\r\n */\r\nvar camelizeRE = /-(\\w)/g;\r\nvar camelize = cached(function (str) {\r\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\r\n});\r\n/**\r\n * Capitalize a string.\r\n */\r\nvar capitalize = cached(function (str) {\r\n return str.charAt(0).toUpperCase() + str.slice(1);\r\n});\r\n/**\r\n * Hyphenate a camelCase string.\r\n */\r\nvar hyphenateRE = /\\B([A-Z])/g;\r\nvar hyphenate = cached(function (str) {\r\n return str.replace(hyphenateRE, '-$1').toLowerCase();\r\n});\r\n/**\r\n * Simple bind polyfill for environments that do not support it,\r\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\r\n * since native bind is now performant enough in most browsers.\r\n * But removing it would mean breaking code that was able to run in\r\n * PhantomJS 1.x, so this must be kept for backward compatibility.\r\n */\r\n/* istanbul ignore next */\r\nfunction polyfillBind(fn, ctx) {\r\n function boundFn(a) {\r\n var l = arguments.length;\r\n return l\r\n ? l > 1\r\n ? fn.apply(ctx, arguments)\r\n : fn.call(ctx, a)\r\n : fn.call(ctx);\r\n }\r\n boundFn._length = fn.length;\r\n return boundFn;\r\n}\r\nfunction nativeBind(fn, ctx) {\r\n return fn.bind(ctx);\r\n}\r\n// @ts-expect-error bind cannot be `undefined`\r\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\r\n/**\r\n * Convert an Array-like object to a real Array.\r\n */\r\nfunction toArray(list, start) {\r\n start = start || 0;\r\n var i = list.length - start;\r\n var ret = new Array(i);\r\n while (i--) {\r\n ret[i] = list[i + start];\r\n }\r\n return ret;\r\n}\r\n/**\r\n * Mix properties into target object.\r\n */\r\nfunction extend(to, _from) {\r\n for (var key in _from) {\r\n to[key] = _from[key];\r\n }\r\n return to;\r\n}\r\n/**\r\n * Merge an Array of Objects into a single Object.\r\n */\r\nfunction toObject(arr) {\r\n var res = {};\r\n for (var i = 0; i < arr.length; i++) {\r\n if (arr[i]) {\r\n extend(res, arr[i]);\r\n }\r\n }\r\n return res;\r\n}\r\n/* eslint-disable no-unused-vars */\r\n/**\r\n * Perform no operation.\r\n * Stubbing args to make Flow happy without leaving useless transpiled code\r\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\r\n */\r\nfunction noop(a, b, c) { }\r\n/**\r\n * Always return false.\r\n */\r\nvar no = function (a, b, c) { return false; };\r\n/* eslint-enable no-unused-vars */\r\n/**\r\n * Return the same value.\r\n */\r\nvar identity = function (_) { return _; };\r\n/**\r\n * Check if two values are loosely equal - that is,\r\n * if they are plain objects, do they have the same shape?\r\n */\r\nfunction looseEqual(a, b) {\r\n if (a === b)\r\n return true;\r\n var isObjectA = isObject(a);\r\n var isObjectB = isObject(b);\r\n if (isObjectA && isObjectB) {\r\n try {\r\n var isArrayA = Array.isArray(a);\r\n var isArrayB = Array.isArray(b);\r\n if (isArrayA && isArrayB) {\r\n return (a.length === b.length &&\r\n a.every(function (e, i) {\r\n return looseEqual(e, b[i]);\r\n }));\r\n }\r\n else if (a instanceof Date && b instanceof Date) {\r\n return a.getTime() === b.getTime();\r\n }\r\n else if (!isArrayA && !isArrayB) {\r\n var keysA = Object.keys(a);\r\n var keysB = Object.keys(b);\r\n return (keysA.length === keysB.length &&\r\n keysA.every(function (key) {\r\n return looseEqual(a[key], b[key]);\r\n }));\r\n }\r\n else {\r\n /* istanbul ignore next */\r\n return false;\r\n }\r\n }\r\n catch (e) {\r\n /* istanbul ignore next */\r\n return false;\r\n }\r\n }\r\n else if (!isObjectA && !isObjectB) {\r\n return String(a) === String(b);\r\n }\r\n else {\r\n return false;\r\n }\r\n}\r\n/**\r\n * Return the first index at which a loosely equal value can be\r\n * found in the array (if value is a plain object, the array must\r\n * contain an object of the same shape), or -1 if it is not present.\r\n */\r\nfunction looseIndexOf(arr, val) {\r\n for (var i = 0; i < arr.length; i++) {\r\n if (looseEqual(arr[i], val))\r\n return i;\r\n }\r\n return -1;\r\n}\r\n/**\r\n * Ensure a function is called only once.\r\n */\r\nfunction once(fn) {\r\n var called = false;\r\n return function () {\r\n if (!called) {\r\n called = true;\r\n fn.apply(this, arguments);\r\n }\r\n };\r\n}\r\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\r\nfunction hasChanged(x, y) {\r\n if (x === y) {\r\n return x === 0 && 1 / x !== 1 / y;\r\n }\r\n else {\r\n return x === x || y === y;\r\n }\r\n}\n\nvar SSR_ATTR = 'data-server-rendered';\r\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\r\nvar LIFECYCLE_HOOKS = [\r\n 'beforeCreate',\r\n 'created',\r\n 'beforeMount',\r\n 'mounted',\r\n 'beforeUpdate',\r\n 'updated',\r\n 'beforeDestroy',\r\n 'destroyed',\r\n 'activated',\r\n 'deactivated',\r\n 'errorCaptured',\r\n 'serverPrefetch',\r\n 'renderTracked',\r\n 'renderTriggered'\r\n];\n\nvar config = {\r\n /**\r\n * Option merge strategies (used in core/util/options)\r\n */\r\n // $flow-disable-line\r\n optionMergeStrategies: Object.create(null),\r\n /**\r\n * Whether to suppress warnings.\r\n */\r\n silent: false,\r\n /**\r\n * Show production mode tip message on boot?\r\n */\r\n productionTip: process.env.NODE_ENV !== 'production',\r\n /**\r\n * Whether to enable devtools\r\n */\r\n devtools: process.env.NODE_ENV !== 'production',\r\n /**\r\n * Whether to record perf\r\n */\r\n performance: false,\r\n /**\r\n * Error handler for watcher errors\r\n */\r\n errorHandler: null,\r\n /**\r\n * Warn handler for watcher warns\r\n */\r\n warnHandler: null,\r\n /**\r\n * Ignore certain custom elements\r\n */\r\n ignoredElements: [],\r\n /**\r\n * Custom user key aliases for v-on\r\n */\r\n // $flow-disable-line\r\n keyCodes: Object.create(null),\r\n /**\r\n * Check if a tag is reserved so that it cannot be registered as a\r\n * component. This is platform-dependent and may be overwritten.\r\n */\r\n isReservedTag: no,\r\n /**\r\n * Check if an attribute is reserved so that it cannot be used as a component\r\n * prop. This is platform-dependent and may be overwritten.\r\n */\r\n isReservedAttr: no,\r\n /**\r\n * Check if a tag is an unknown element.\r\n * Platform-dependent.\r\n */\r\n isUnknownElement: no,\r\n /**\r\n * Get the namespace of an element\r\n */\r\n getTagNamespace: noop,\r\n /**\r\n * Parse the real tag name for the specific platform.\r\n */\r\n parsePlatformTagName: identity,\r\n /**\r\n * Check if an attribute must be bound using property, e.g. value\r\n * Platform-dependent.\r\n */\r\n mustUseProp: no,\r\n /**\r\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\r\n * This will significantly reduce performance if set to false.\r\n */\r\n async: true,\r\n /**\r\n * Exposed for legacy reasons\r\n */\r\n _lifecycleHooks: LIFECYCLE_HOOKS\r\n};\n\n/**\r\n * unicode letters used for parsing html tags, component names and property paths.\r\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\r\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\r\n */\r\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\r\n/**\r\n * Check if a string starts with $ or _\r\n */\r\nfunction isReserved(str) {\r\n var c = (str + '').charCodeAt(0);\r\n return c === 0x24 || c === 0x5f;\r\n}\r\n/**\r\n * Define a property.\r\n */\r\nfunction def(obj, key, val, enumerable) {\r\n Object.defineProperty(obj, key, {\r\n value: val,\r\n enumerable: !!enumerable,\r\n writable: true,\r\n configurable: true\r\n });\r\n}\r\n/**\r\n * Parse simple path.\r\n */\r\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\r\nfunction parsePath(path) {\r\n if (bailRE.test(path)) {\r\n return;\r\n }\r\n var segments = path.split('.');\r\n return function (obj) {\r\n for (var i = 0; i < segments.length; i++) {\r\n if (!obj)\r\n return;\r\n obj = obj[segments[i]];\r\n }\r\n return obj;\r\n };\r\n}\n\n// can we use __proto__?\r\nvar hasProto = '__proto__' in {};\r\n// Browser environment sniffing\r\nvar inBrowser = typeof window !== 'undefined';\r\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\r\nvar isIE = UA && /msie|trident/.test(UA);\r\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\r\nvar isEdge = UA && UA.indexOf('edge/') > 0;\r\nUA && UA.indexOf('android') > 0;\r\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\r\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\r\nUA && /phantomjs/.test(UA);\r\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\r\n// Firefox has a \"watch\" function on Object.prototype...\r\n// @ts-expect-error firebox support\r\nvar nativeWatch = {}.watch;\r\nvar supportsPassive = false;\r\nif (inBrowser) {\r\n try {\r\n var opts = {};\r\n Object.defineProperty(opts, 'passive', {\r\n get: function () {\r\n /* istanbul ignore next */\r\n supportsPassive = true;\r\n }\r\n }); // https://github.com/facebook/flow/issues/285\r\n window.addEventListener('test-passive', null, opts);\r\n }\r\n catch (e) { }\r\n}\r\n// this needs to be lazy-evaled because vue may be required before\r\n// vue-server-renderer can set VUE_ENV\r\nvar _isServer;\r\nvar isServerRendering = function () {\r\n if (_isServer === undefined) {\r\n /* istanbul ignore if */\r\n if (!inBrowser && typeof global !== 'undefined') {\r\n // detect presence of vue-server-renderer and avoid\r\n // Webpack shimming the process\r\n _isServer =\r\n global['process'] && global['process'].env.VUE_ENV === 'server';\r\n }\r\n else {\r\n _isServer = false;\r\n }\r\n }\r\n return _isServer;\r\n};\r\n// detect devtools\r\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\r\n/* istanbul ignore next */\r\nfunction isNative(Ctor) {\r\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\r\n}\r\nvar hasSymbol = typeof Symbol !== 'undefined' &&\r\n isNative(Symbol) &&\r\n typeof Reflect !== 'undefined' &&\r\n isNative(Reflect.ownKeys);\r\nvar _Set; // $flow-disable-line\r\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\r\n // use native Set when available.\r\n _Set = Set;\r\n}\r\nelse {\r\n // a non-standard Set polyfill that only works with primitive keys.\r\n _Set = /** @class */ (function () {\r\n function Set() {\r\n this.set = Object.create(null);\r\n }\r\n Set.prototype.has = function (key) {\r\n return this.set[key] === true;\r\n };\r\n Set.prototype.add = function (key) {\r\n this.set[key] = true;\r\n };\r\n Set.prototype.clear = function () {\r\n this.set = Object.create(null);\r\n };\r\n return Set;\r\n }());\r\n}\n\nvar currentInstance = null;\r\n/**\r\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\r\n * relies on it). Do not use this internally, just use `currentInstance`.\r\n *\r\n * @internal this function needs manual type declaration because it relies\r\n * on previously manually authored types from Vue 2\r\n */\r\nfunction getCurrentInstance() {\r\n return currentInstance && { proxy: currentInstance };\r\n}\r\n/**\r\n * @internal\r\n */\r\nfunction setCurrentInstance(vm) {\r\n if (vm === void 0) { vm = null; }\r\n if (!vm)\r\n currentInstance && currentInstance._scope.off();\r\n currentInstance = vm;\r\n vm && vm._scope.on();\r\n}\n\n/**\r\n * @internal\r\n */\r\nvar VNode = /** @class */ (function () {\r\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\r\n this.tag = tag;\r\n this.data = data;\r\n this.children = children;\r\n this.text = text;\r\n this.elm = elm;\r\n this.ns = undefined;\r\n this.context = context;\r\n this.fnContext = undefined;\r\n this.fnOptions = undefined;\r\n this.fnScopeId = undefined;\r\n this.key = data && data.key;\r\n this.componentOptions = componentOptions;\r\n this.componentInstance = undefined;\r\n this.parent = undefined;\r\n this.raw = false;\r\n this.isStatic = false;\r\n this.isRootInsert = true;\r\n this.isComment = false;\r\n this.isCloned = false;\r\n this.isOnce = false;\r\n this.asyncFactory = asyncFactory;\r\n this.asyncMeta = undefined;\r\n this.isAsyncPlaceholder = false;\r\n }\r\n Object.defineProperty(VNode.prototype, \"child\", {\r\n // DEPRECATED: alias for componentInstance for backwards compat.\r\n /* istanbul ignore next */\r\n get: function () {\r\n return this.componentInstance;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return VNode;\r\n}());\r\nvar createEmptyVNode = function (text) {\r\n if (text === void 0) { text = ''; }\r\n var node = new VNode();\r\n node.text = text;\r\n node.isComment = true;\r\n return node;\r\n};\r\nfunction createTextVNode(val) {\r\n return new VNode(undefined, undefined, undefined, String(val));\r\n}\r\n// optimized shallow clone\r\n// used for static nodes and slot nodes because they may be reused across\r\n// multiple renders, cloning them avoids errors when DOM manipulations rely\r\n// on their elm reference.\r\nfunction cloneVNode(vnode) {\r\n var cloned = new VNode(vnode.tag, vnode.data, \r\n // #7975\r\n // clone children array to avoid mutating original in case of cloning\r\n // a child.\r\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\r\n cloned.ns = vnode.ns;\r\n cloned.isStatic = vnode.isStatic;\r\n cloned.key = vnode.key;\r\n cloned.isComment = vnode.isComment;\r\n cloned.fnContext = vnode.fnContext;\r\n cloned.fnOptions = vnode.fnOptions;\r\n cloned.fnScopeId = vnode.fnScopeId;\r\n cloned.asyncMeta = vnode.asyncMeta;\r\n cloned.isCloned = true;\r\n return cloned;\r\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\n\nvar uid$2 = 0;\r\n/**\r\n * A dep is an observable that can have multiple\r\n * directives subscribing to it.\r\n * @internal\r\n */\r\nvar Dep = /** @class */ (function () {\r\n function Dep() {\r\n this.id = uid$2++;\r\n this.subs = [];\r\n }\r\n Dep.prototype.addSub = function (sub) {\r\n this.subs.push(sub);\r\n };\r\n Dep.prototype.removeSub = function (sub) {\r\n remove$2(this.subs, sub);\r\n };\r\n Dep.prototype.depend = function (info) {\r\n if (Dep.target) {\r\n Dep.target.addDep(this);\r\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\r\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\r\n }\r\n }\r\n };\r\n Dep.prototype.notify = function (info) {\r\n // stabilize the subscriber list first\r\n var subs = this.subs.slice();\r\n if (process.env.NODE_ENV !== 'production' && !config.async) {\r\n // subs aren't sorted in scheduler if not running async\r\n // we need to sort them now to make sure they fire in correct\r\n // order\r\n subs.sort(function (a, b) { return a.id - b.id; });\r\n }\r\n for (var i = 0, l = subs.length; i < l; i++) {\r\n if (process.env.NODE_ENV !== 'production' && info) {\r\n var sub = subs[i];\r\n sub.onTrigger &&\r\n sub.onTrigger(__assign({ effect: subs[i] }, info));\r\n }\r\n subs[i].update();\r\n }\r\n };\r\n return Dep;\r\n}());\r\n// The current target watcher being evaluated.\r\n// This is globally unique because only one watcher\r\n// can be evaluated at a time.\r\nDep.target = null;\r\nvar targetStack = [];\r\nfunction pushTarget(target) {\r\n targetStack.push(target);\r\n Dep.target = target;\r\n}\r\nfunction popTarget() {\r\n targetStack.pop();\r\n Dep.target = targetStack[targetStack.length - 1];\r\n}\n\n/*\r\n * not type checking this file because flow doesn't play well with\r\n * dynamically accessing methods on Array prototype\r\n */\r\nvar arrayProto = Array.prototype;\r\nvar arrayMethods = Object.create(arrayProto);\r\nvar methodsToPatch = [\r\n 'push',\r\n 'pop',\r\n 'shift',\r\n 'unshift',\r\n 'splice',\r\n 'sort',\r\n 'reverse'\r\n];\r\n/**\r\n * Intercept mutating methods and emit events\r\n */\r\nmethodsToPatch.forEach(function (method) {\r\n // cache original method\r\n var original = arrayProto[method];\r\n def(arrayMethods, method, function mutator() {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n var result = original.apply(this, args);\r\n var ob = this.__ob__;\r\n var inserted;\r\n switch (method) {\r\n case 'push':\r\n case 'unshift':\r\n inserted = args;\r\n break;\r\n case 'splice':\r\n inserted = args.slice(2);\r\n break;\r\n }\r\n if (inserted)\r\n ob.observeArray(inserted);\r\n // notify change\r\n if (process.env.NODE_ENV !== 'production') {\r\n ob.dep.notify({\r\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\r\n target: this,\r\n key: method\r\n });\r\n }\r\n else {\r\n ob.dep.notify();\r\n }\r\n return result;\r\n });\r\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\r\nvar NO_INIITIAL_VALUE = {};\r\n/**\r\n * In some cases we may want to disable observation inside a component's\r\n * update computation.\r\n */\r\nvar shouldObserve = true;\r\nfunction toggleObserving(value) {\r\n shouldObserve = value;\r\n}\r\n// ssr mock dep\r\nvar mockDep = {\r\n notify: noop,\r\n depend: noop,\r\n addSub: noop,\r\n removeSub: noop\r\n};\r\n/**\r\n * Observer class that is attached to each observed\r\n * object. Once attached, the observer converts the target\r\n * object's property keys into getter/setters that\r\n * collect dependencies and dispatch updates.\r\n */\r\nvar Observer = /** @class */ (function () {\r\n function Observer(value, shallow, mock) {\r\n if (shallow === void 0) { shallow = false; }\r\n if (mock === void 0) { mock = false; }\r\n this.value = value;\r\n this.shallow = shallow;\r\n this.mock = mock;\r\n // this.value = value\r\n this.dep = mock ? mockDep : new Dep();\r\n this.vmCount = 0;\r\n def(value, '__ob__', this);\r\n if (isArray(value)) {\r\n if (!mock) {\r\n if (hasProto) {\r\n value.__proto__ = arrayMethods;\r\n /* eslint-enable no-proto */\r\n }\r\n else {\r\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\r\n var key = arrayKeys[i];\r\n def(value, key, arrayMethods[key]);\r\n }\r\n }\r\n }\r\n if (!shallow) {\r\n this.observeArray(value);\r\n }\r\n }\r\n else {\r\n /**\r\n * Walk through all properties and convert them into\r\n * getter/setters. This method should only be called when\r\n * value type is Object.\r\n */\r\n var keys = Object.keys(value);\r\n for (var i = 0; i < keys.length; i++) {\r\n var key = keys[i];\r\n defineReactive(value, key, NO_INIITIAL_VALUE, undefined, shallow, mock);\r\n }\r\n }\r\n }\r\n /**\r\n * Observe a list of Array items.\r\n */\r\n Observer.prototype.observeArray = function (value) {\r\n for (var i = 0, l = value.length; i < l; i++) {\r\n observe(value[i], false, this.mock);\r\n }\r\n };\r\n return Observer;\r\n}());\r\n// helpers\r\n/**\r\n * Attempt to create an observer instance for a value,\r\n * returns the new observer if successfully observed,\r\n * or the existing observer if the value already has one.\r\n */\r\nfunction observe(value, shallow, ssrMockReactivity) {\r\n if (!isObject(value) || isRef(value) || value instanceof VNode) {\r\n return;\r\n }\r\n var ob;\r\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\r\n ob = value.__ob__;\r\n }\r\n else if (shouldObserve &&\r\n (ssrMockReactivity || !isServerRendering()) &&\r\n (isArray(value) || isPlainObject(value)) &&\r\n Object.isExtensible(value) &&\r\n !value.__v_skip /* ReactiveFlags.SKIP */) {\r\n ob = new Observer(value, shallow, ssrMockReactivity);\r\n }\r\n return ob;\r\n}\r\n/**\r\n * Define a reactive property on an Object.\r\n */\r\nfunction defineReactive(obj, key, val, customSetter, shallow, mock) {\r\n var dep = new Dep();\r\n var property = Object.getOwnPropertyDescriptor(obj, key);\r\n if (property && property.configurable === false) {\r\n return;\r\n }\r\n // cater for pre-defined getter/setters\r\n var getter = property && property.get;\r\n var setter = property && property.set;\r\n if ((!getter || setter) &&\r\n (val === NO_INIITIAL_VALUE || arguments.length === 2)) {\r\n val = obj[key];\r\n }\r\n var childOb = !shallow && observe(val, false, mock);\r\n Object.defineProperty(obj, key, {\r\n enumerable: true,\r\n configurable: true,\r\n get: function reactiveGetter() {\r\n var value = getter ? getter.call(obj) : val;\r\n if (Dep.target) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n dep.depend({\r\n target: obj,\r\n type: \"get\" /* TrackOpTypes.GET */,\r\n key: key\r\n });\r\n }\r\n else {\r\n dep.depend();\r\n }\r\n if (childOb) {\r\n childOb.dep.depend();\r\n if (isArray(value)) {\r\n dependArray(value);\r\n }\r\n }\r\n }\r\n return isRef(value) && !shallow ? value.value : value;\r\n },\r\n set: function reactiveSetter(newVal) {\r\n var value = getter ? getter.call(obj) : val;\r\n if (!hasChanged(value, newVal)) {\r\n return;\r\n }\r\n if (process.env.NODE_ENV !== 'production' && customSetter) {\r\n customSetter();\r\n }\r\n if (setter) {\r\n setter.call(obj, newVal);\r\n }\r\n else if (getter) {\r\n // #7981: for accessor properties without setter\r\n return;\r\n }\r\n else if (!shallow && isRef(value) && !isRef(newVal)) {\r\n value.value = newVal;\r\n return;\r\n }\r\n else {\r\n val = newVal;\r\n }\r\n childOb = !shallow && observe(newVal, false, mock);\r\n if (process.env.NODE_ENV !== 'production') {\r\n dep.notify({\r\n type: \"set\" /* TriggerOpTypes.SET */,\r\n target: obj,\r\n key: key,\r\n newValue: newVal,\r\n oldValue: value\r\n });\r\n }\r\n else {\r\n dep.notify();\r\n }\r\n }\r\n });\r\n return dep;\r\n}\r\nfunction set(target, key, val) {\r\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\r\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\r\n }\r\n if (isReadonly(target)) {\r\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\r\n return;\r\n }\r\n var ob = target.__ob__;\r\n if (isArray(target) && isValidArrayIndex(key)) {\r\n target.length = Math.max(target.length, key);\r\n target.splice(key, 1, val);\r\n // when mocking for SSR, array methods are not hijacked\r\n if (ob && !ob.shallow && ob.mock) {\r\n observe(val, false, true);\r\n }\r\n return val;\r\n }\r\n if (key in target && !(key in Object.prototype)) {\r\n target[key] = val;\r\n return val;\r\n }\r\n if (target._isVue || (ob && ob.vmCount)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\r\n 'at runtime - declare it upfront in the data option.');\r\n return val;\r\n }\r\n if (!ob) {\r\n target[key] = val;\r\n return val;\r\n }\r\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\r\n if (process.env.NODE_ENV !== 'production') {\r\n ob.dep.notify({\r\n type: \"add\" /* TriggerOpTypes.ADD */,\r\n target: target,\r\n key: key,\r\n newValue: val,\r\n oldValue: undefined\r\n });\r\n }\r\n else {\r\n ob.dep.notify();\r\n }\r\n return val;\r\n}\r\nfunction del(target, key) {\r\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\r\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\r\n }\r\n if (isArray(target) && isValidArrayIndex(key)) {\r\n target.splice(key, 1);\r\n return;\r\n }\r\n var ob = target.__ob__;\r\n if (target._isVue || (ob && ob.vmCount)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\r\n '- just set it to null.');\r\n return;\r\n }\r\n if (isReadonly(target)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\r\n return;\r\n }\r\n if (!hasOwn(target, key)) {\r\n return;\r\n }\r\n delete target[key];\r\n if (!ob) {\r\n return;\r\n }\r\n if (process.env.NODE_ENV !== 'production') {\r\n ob.dep.notify({\r\n type: \"delete\" /* TriggerOpTypes.DELETE */,\r\n target: target,\r\n key: key\r\n });\r\n }\r\n else {\r\n ob.dep.notify();\r\n }\r\n}\r\n/**\r\n * Collect dependencies on array elements when the array is touched, since\r\n * we cannot intercept array element access like property getters.\r\n */\r\nfunction dependArray(value) {\r\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\r\n e = value[i];\r\n if (e && e.__ob__) {\r\n e.__ob__.dep.depend();\r\n }\r\n if (isArray(e)) {\r\n dependArray(e);\r\n }\r\n }\r\n}\n\nfunction reactive(target) {\r\n makeReactive(target, false);\r\n return target;\r\n}\r\n/**\r\n * Return a shallowly-reactive copy of the original object, where only the root\r\n * level properties are reactive. It also does not auto-unwrap refs (even at the\r\n * root level).\r\n */\r\nfunction shallowReactive(target) {\r\n makeReactive(target, true);\r\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\r\n return target;\r\n}\r\nfunction makeReactive(target, shallow) {\r\n // if trying to observe a readonly proxy, return the readonly version.\r\n if (!isReadonly(target)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (isArray(target)) {\r\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\r\n }\r\n var existingOb = target && target.__ob__;\r\n if (existingOb && existingOb.shallow !== shallow) {\r\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\r\n }\r\n }\r\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\r\n if (process.env.NODE_ENV !== 'production' && !ob) {\r\n if (target == null || isPrimitive(target)) {\r\n warn(\"value cannot be made reactive: \".concat(String(target)));\r\n }\r\n if (isCollectionType(target)) {\r\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\r\n }\r\n }\r\n }\r\n}\r\nfunction isReactive(value) {\r\n if (isReadonly(value)) {\r\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\r\n }\r\n return !!(value && value.__ob__);\r\n}\r\nfunction isShallow(value) {\r\n return !!(value && value.__v_isShallow);\r\n}\r\nfunction isReadonly(value) {\r\n return !!(value && value.__v_isReadonly);\r\n}\r\nfunction isProxy(value) {\r\n return isReactive(value) || isReadonly(value);\r\n}\r\nfunction toRaw(observed) {\r\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\r\n return raw ? toRaw(raw) : observed;\r\n}\r\nfunction markRaw(value) {\r\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\r\n return value;\r\n}\r\n/**\r\n * @internal\r\n */\r\nfunction isCollectionType(value) {\r\n var type = toRawType(value);\r\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\r\n}\n\n/**\r\n * @internal\r\n */\r\nvar RefFlag = \"__v_isRef\";\r\nfunction isRef(r) {\r\n return !!(r && r.__v_isRef === true);\r\n}\r\nfunction ref$1(value) {\r\n return createRef(value, false);\r\n}\r\nfunction shallowRef(value) {\r\n return createRef(value, true);\r\n}\r\nfunction createRef(rawValue, shallow) {\r\n if (isRef(rawValue)) {\r\n return rawValue;\r\n }\r\n var ref = {};\r\n def(ref, RefFlag, true);\r\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\r\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\r\n return ref;\r\n}\r\nfunction triggerRef(ref) {\r\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\r\n warn(\"received object is not a triggerable ref.\");\r\n }\r\n if (process.env.NODE_ENV !== 'production') {\r\n ref.dep &&\r\n ref.dep.notify({\r\n type: \"set\" /* TriggerOpTypes.SET */,\r\n target: ref,\r\n key: 'value'\r\n });\r\n }\r\n else {\r\n ref.dep && ref.dep.notify();\r\n }\r\n}\r\nfunction unref(ref) {\r\n return isRef(ref) ? ref.value : ref;\r\n}\r\nfunction proxyRefs(objectWithRefs) {\r\n if (isReactive(objectWithRefs)) {\r\n return objectWithRefs;\r\n }\r\n var proxy = {};\r\n var keys = Object.keys(objectWithRefs);\r\n for (var i = 0; i < keys.length; i++) {\r\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\r\n }\r\n return proxy;\r\n}\r\nfunction proxyWithRefUnwrap(target, source, key) {\r\n Object.defineProperty(target, key, {\r\n enumerable: true,\r\n configurable: true,\r\n get: function () {\r\n var val = source[key];\r\n if (isRef(val)) {\r\n return val.value;\r\n }\r\n else {\r\n var ob = val && val.__ob__;\r\n if (ob)\r\n ob.dep.depend();\r\n return val;\r\n }\r\n },\r\n set: function (value) {\r\n var oldValue = source[key];\r\n if (isRef(oldValue) && !isRef(value)) {\r\n oldValue.value = value;\r\n }\r\n else {\r\n source[key] = value;\r\n }\r\n }\r\n });\r\n}\r\nfunction customRef(factory) {\r\n var dep = new Dep();\r\n var _a = factory(function () {\r\n if (process.env.NODE_ENV !== 'production') {\r\n dep.depend({\r\n target: ref,\r\n type: \"get\" /* TrackOpTypes.GET */,\r\n key: 'value'\r\n });\r\n }\r\n else {\r\n dep.depend();\r\n }\r\n }, function () {\r\n if (process.env.NODE_ENV !== 'production') {\r\n dep.notify({\r\n target: ref,\r\n type: \"set\" /* TriggerOpTypes.SET */,\r\n key: 'value'\r\n });\r\n }\r\n else {\r\n dep.notify();\r\n }\r\n }), get = _a.get, set = _a.set;\r\n var ref = {\r\n get value() {\r\n return get();\r\n },\r\n set value(newVal) {\r\n set(newVal);\r\n }\r\n };\r\n def(ref, RefFlag, true);\r\n return ref;\r\n}\r\nfunction toRefs(object) {\r\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\r\n warn(\"toRefs() expects a reactive object but received a plain one.\");\r\n }\r\n var ret = isArray(object) ? new Array(object.length) : {};\r\n for (var key in object) {\r\n ret[key] = toRef(object, key);\r\n }\r\n return ret;\r\n}\r\nfunction toRef(object, key, defaultValue) {\r\n var val = object[key];\r\n if (isRef(val)) {\r\n return val;\r\n }\r\n var ref = {\r\n get value() {\r\n var val = object[key];\r\n return val === undefined ? defaultValue : val;\r\n },\r\n set value(newVal) {\r\n object[key] = newVal;\r\n }\r\n };\r\n def(ref, RefFlag, true);\r\n return ref;\r\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\r\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\r\nfunction readonly(target) {\r\n return createReadonly(target, false);\r\n}\r\nfunction createReadonly(target, shallow) {\r\n if (!isPlainObject(target)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (isArray(target)) {\r\n warn(\"Vue 2 does not support readonly arrays.\");\r\n }\r\n else if (isCollectionType(target)) {\r\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\r\n }\r\n else {\r\n warn(\"value cannot be made readonly: \".concat(typeof target));\r\n }\r\n }\r\n return target;\r\n }\r\n // already a readonly object\r\n if (isReadonly(target)) {\r\n return target;\r\n }\r\n // already has a readonly proxy\r\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\r\n var existingProxy = target[existingFlag];\r\n if (existingProxy) {\r\n return existingProxy;\r\n }\r\n var proxy = Object.create(Object.getPrototypeOf(target));\r\n def(target, existingFlag, proxy);\r\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\r\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\r\n if (isRef(target)) {\r\n def(proxy, RefFlag, true);\r\n }\r\n if (shallow || isShallow(target)) {\r\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\r\n }\r\n var keys = Object.keys(target);\r\n for (var i = 0; i < keys.length; i++) {\r\n defineReadonlyProperty(proxy, target, keys[i], shallow);\r\n }\r\n return proxy;\r\n}\r\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\r\n Object.defineProperty(proxy, key, {\r\n enumerable: true,\r\n configurable: true,\r\n get: function () {\r\n var val = target[key];\r\n return shallow || !isPlainObject(val) ? val : readonly(val);\r\n },\r\n set: function () {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\r\n }\r\n });\r\n}\r\n/**\r\n * Returns a reactive-copy of the original object, where only the root level\r\n * properties are readonly, and does NOT unwrap refs nor recursively convert\r\n * returned properties.\r\n * This is used for creating the props proxy object for stateful components.\r\n */\r\nfunction shallowReadonly(target) {\r\n return createReadonly(target, true);\r\n}\n\nfunction computed(getterOrOptions, debugOptions) {\r\n var getter;\r\n var setter;\r\n var onlyGetter = isFunction(getterOrOptions);\r\n if (onlyGetter) {\r\n getter = getterOrOptions;\r\n setter = process.env.NODE_ENV !== 'production'\r\n ? function () {\r\n warn('Write operation failed: computed value is readonly');\r\n }\r\n : noop;\r\n }\r\n else {\r\n getter = getterOrOptions.get;\r\n setter = getterOrOptions.set;\r\n }\r\n var watcher = isServerRendering()\r\n ? null\r\n : new Watcher(currentInstance, getter, noop, { lazy: true });\r\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\r\n watcher.onTrack = debugOptions.onTrack;\r\n watcher.onTrigger = debugOptions.onTrigger;\r\n }\r\n var ref = {\r\n // some libs rely on the presence effect for checking computed refs\r\n // from normal refs, but the implementation doesn't matter\r\n effect: watcher,\r\n get value() {\r\n if (watcher) {\r\n if (watcher.dirty) {\r\n watcher.evaluate();\r\n }\r\n if (Dep.target) {\r\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\r\n Dep.target.onTrack({\r\n effect: Dep.target,\r\n target: ref,\r\n type: \"get\" /* TrackOpTypes.GET */,\r\n key: 'value'\r\n });\r\n }\r\n watcher.depend();\r\n }\r\n return watcher.value;\r\n }\r\n else {\r\n return getter();\r\n }\r\n },\r\n set value(newVal) {\r\n setter(newVal);\r\n }\r\n };\r\n def(ref, RefFlag, true);\r\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\r\n return ref;\r\n}\n\nvar WATCHER = \"watcher\";\r\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\r\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\r\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\r\n// Simple effect.\r\nfunction watchEffect(effect, options) {\r\n return doWatch(effect, null, options);\r\n}\r\nfunction watchPostEffect(effect, options) {\r\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\r\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\r\n}\r\nfunction watchSyncEffect(effect, options) {\r\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\r\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\r\n}\r\n// initial value for watchers to trigger on undefined initial values\r\nvar INITIAL_WATCHER_VALUE = {};\r\n// implementation\r\nfunction watch(source, cb, options) {\r\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\r\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\r\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\r\n \"supports `watch(source, cb, options?) signature.\");\r\n }\r\n return doWatch(source, cb, options);\r\n}\r\nfunction doWatch(source, cb, _a) {\r\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\r\n if (process.env.NODE_ENV !== 'production' && !cb) {\r\n if (immediate !== undefined) {\r\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\r\n \"watch(source, callback, options?) signature.\");\r\n }\r\n if (deep !== undefined) {\r\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\r\n \"watch(source, callback, options?) signature.\");\r\n }\r\n }\r\n var warnInvalidSource = function (s) {\r\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\r\n \"function, a ref, a reactive object, or an array of these types.\");\r\n };\r\n var instance = currentInstance;\r\n var call = function (fn, type, args) {\r\n if (args === void 0) { args = null; }\r\n return invokeWithErrorHandling(fn, null, args, instance, type);\r\n };\r\n var getter;\r\n var forceTrigger = false;\r\n var isMultiSource = false;\r\n if (isRef(source)) {\r\n getter = function () { return source.value; };\r\n forceTrigger = isShallow(source);\r\n }\r\n else if (isReactive(source)) {\r\n getter = function () {\r\n source.__ob__.dep.depend();\r\n return source;\r\n };\r\n deep = true;\r\n }\r\n else if (isArray(source)) {\r\n isMultiSource = true;\r\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\r\n getter = function () {\r\n return source.map(function (s) {\r\n if (isRef(s)) {\r\n return s.value;\r\n }\r\n else if (isReactive(s)) {\r\n return traverse(s);\r\n }\r\n else if (isFunction(s)) {\r\n return call(s, WATCHER_GETTER);\r\n }\r\n else {\r\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\r\n }\r\n });\r\n };\r\n }\r\n else if (isFunction(source)) {\r\n if (cb) {\r\n // getter with cb\r\n getter = function () { return call(source, WATCHER_GETTER); };\r\n }\r\n else {\r\n // no cb -> simple effect\r\n getter = function () {\r\n if (instance && instance._isDestroyed) {\r\n return;\r\n }\r\n if (cleanup) {\r\n cleanup();\r\n }\r\n return call(source, WATCHER, [onCleanup]);\r\n };\r\n }\r\n }\r\n else {\r\n getter = noop;\r\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\r\n }\r\n if (cb && deep) {\r\n var baseGetter_1 = getter;\r\n getter = function () { return traverse(baseGetter_1()); };\r\n }\r\n var cleanup;\r\n var onCleanup = function (fn) {\r\n cleanup = watcher.onStop = function () {\r\n call(fn, WATCHER_CLEANUP);\r\n };\r\n };\r\n // in SSR there is no need to setup an actual effect, and it should be noop\r\n // unless it's eager\r\n if (isServerRendering()) {\r\n // we will also not call the invalidate callback (+ runner is not set up)\r\n onCleanup = noop;\r\n if (!cb) {\r\n getter();\r\n }\r\n else if (immediate) {\r\n call(cb, WATCHER_CB, [\r\n getter(),\r\n isMultiSource ? [] : undefined,\r\n onCleanup\r\n ]);\r\n }\r\n return noop;\r\n }\r\n var watcher = new Watcher(currentInstance, getter, noop, {\r\n lazy: true\r\n });\r\n watcher.noRecurse = !cb;\r\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\r\n // overwrite default run\r\n watcher.run = function () {\r\n if (!watcher.active) {\r\n return;\r\n }\r\n if (cb) {\r\n // watch(source, cb)\r\n var newValue = watcher.get();\r\n if (deep ||\r\n forceTrigger ||\r\n (isMultiSource\r\n ? newValue.some(function (v, i) {\r\n return hasChanged(v, oldValue[i]);\r\n })\r\n : hasChanged(newValue, oldValue))) {\r\n // cleanup before running cb again\r\n if (cleanup) {\r\n cleanup();\r\n }\r\n call(cb, WATCHER_CB, [\r\n newValue,\r\n // pass undefined as the old value when it's changed for the first time\r\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\r\n onCleanup\r\n ]);\r\n oldValue = newValue;\r\n }\r\n }\r\n else {\r\n // watchEffect\r\n watcher.get();\r\n }\r\n };\r\n if (flush === 'sync') {\r\n watcher.update = watcher.run;\r\n }\r\n else if (flush === 'post') {\r\n watcher.post = true;\r\n watcher.update = function () { return queueWatcher(watcher); };\r\n }\r\n else {\r\n // pre\r\n watcher.update = function () {\r\n if (instance && instance === currentInstance && !instance._isMounted) {\r\n // pre-watcher triggered before\r\n var buffer = instance._preWatchers || (instance._preWatchers = []);\r\n if (buffer.indexOf(watcher) < 0)\r\n buffer.push(watcher);\r\n }\r\n else {\r\n queueWatcher(watcher);\r\n }\r\n };\r\n }\r\n if (process.env.NODE_ENV !== 'production') {\r\n watcher.onTrack = onTrack;\r\n watcher.onTrigger = onTrigger;\r\n }\r\n // initial run\r\n if (cb) {\r\n if (immediate) {\r\n watcher.run();\r\n }\r\n else {\r\n oldValue = watcher.get();\r\n }\r\n }\r\n else if (flush === 'post' && instance) {\r\n instance.$once('hook:mounted', function () { return watcher.get(); });\r\n }\r\n else {\r\n watcher.get();\r\n }\r\n return function () {\r\n watcher.teardown();\r\n };\r\n}\n\nvar activeEffectScope;\r\nvar EffectScope = /** @class */ (function () {\r\n function EffectScope(detached) {\r\n if (detached === void 0) { detached = false; }\r\n /**\r\n * @internal\r\n */\r\n this.active = true;\r\n /**\r\n * @internal\r\n */\r\n this.effects = [];\r\n /**\r\n * @internal\r\n */\r\n this.cleanups = [];\r\n if (!detached && activeEffectScope) {\r\n this.parent = activeEffectScope;\r\n this.index =\r\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\r\n }\r\n }\r\n EffectScope.prototype.run = function (fn) {\r\n if (this.active) {\r\n var currentEffectScope = activeEffectScope;\r\n try {\r\n activeEffectScope = this;\r\n return fn();\r\n }\r\n finally {\r\n activeEffectScope = currentEffectScope;\r\n }\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"cannot run an inactive effect scope.\");\r\n }\r\n };\r\n /**\r\n * This should only be called on non-detached scopes\r\n * @internal\r\n */\r\n EffectScope.prototype.on = function () {\r\n activeEffectScope = this;\r\n };\r\n /**\r\n * This should only be called on non-detached scopes\r\n * @internal\r\n */\r\n EffectScope.prototype.off = function () {\r\n activeEffectScope = this.parent;\r\n };\r\n EffectScope.prototype.stop = function (fromParent) {\r\n if (this.active) {\r\n var i = void 0, l = void 0;\r\n for (i = 0, l = this.effects.length; i < l; i++) {\r\n this.effects[i].teardown();\r\n }\r\n for (i = 0, l = this.cleanups.length; i < l; i++) {\r\n this.cleanups[i]();\r\n }\r\n if (this.scopes) {\r\n for (i = 0, l = this.scopes.length; i < l; i++) {\r\n this.scopes[i].stop(true);\r\n }\r\n }\r\n // nested scope, dereference from parent to avoid memory leaks\r\n if (this.parent && !fromParent) {\r\n // optimized O(1) removal\r\n var last = this.parent.scopes.pop();\r\n if (last && last !== this) {\r\n this.parent.scopes[this.index] = last;\r\n last.index = this.index;\r\n }\r\n }\r\n this.active = false;\r\n }\r\n };\r\n return EffectScope;\r\n}());\r\nfunction effectScope(detached) {\r\n return new EffectScope(detached);\r\n}\r\n/**\r\n * @internal\r\n */\r\nfunction recordEffectScope(effect, scope) {\r\n if (scope === void 0) { scope = activeEffectScope; }\r\n if (scope && scope.active) {\r\n scope.effects.push(effect);\r\n }\r\n}\r\nfunction getCurrentScope() {\r\n return activeEffectScope;\r\n}\r\nfunction onScopeDispose(fn) {\r\n if (activeEffectScope) {\r\n activeEffectScope.cleanups.push(fn);\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\r\n \" to be associated with.\");\r\n }\r\n}\n\nfunction provide(key, value) {\r\n if (!currentInstance) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n warn(\"provide() can only be used inside setup().\");\r\n }\r\n }\r\n else {\r\n // TS doesn't allow symbol as index type\r\n resolveProvided(currentInstance)[key] = value;\r\n }\r\n}\r\nfunction resolveProvided(vm) {\r\n // by default an instance inherits its parent's provides object\r\n // but when it needs to provide values of its own, it creates its\r\n // own provides object using parent provides object as prototype.\r\n // this way in `inject` we can simply look up injections from direct\r\n // parent and let the prototype chain do the work.\r\n var existing = vm._provided;\r\n var parentProvides = vm.$parent && vm.$parent._provided;\r\n if (parentProvides === existing) {\r\n return (vm._provided = Object.create(parentProvides));\r\n }\r\n else {\r\n return existing;\r\n }\r\n}\r\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\r\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\r\n // fallback to `currentRenderingInstance` so that this can be called in\r\n // a functional component\r\n var instance = currentInstance;\r\n if (instance) {\r\n // #2400\r\n // to support `app.use` plugins,\r\n // fallback to appContext's `provides` if the instance is at root\r\n var provides = instance.$parent && instance.$parent._provided;\r\n if (provides && key in provides) {\r\n // TS doesn't allow symbol as index type\r\n return provides[key];\r\n }\r\n else if (arguments.length > 1) {\r\n return treatDefaultAsFactory && isFunction(defaultValue)\r\n ? defaultValue.call(instance)\r\n : defaultValue;\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\r\n }\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"inject() can only be used inside setup() or functional components.\");\r\n }\r\n}\n\nvar normalizeEvent = cached(function (name) {\r\n var passive = name.charAt(0) === '&';\r\n name = passive ? name.slice(1) : name;\r\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\r\n name = once ? name.slice(1) : name;\r\n var capture = name.charAt(0) === '!';\r\n name = capture ? name.slice(1) : name;\r\n return {\r\n name: name,\r\n once: once,\r\n capture: capture,\r\n passive: passive\r\n };\r\n});\r\nfunction createFnInvoker(fns, vm) {\r\n function invoker() {\r\n var fns = invoker.fns;\r\n if (isArray(fns)) {\r\n var cloned = fns.slice();\r\n for (var i = 0; i < cloned.length; i++) {\r\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\r\n }\r\n }\r\n else {\r\n // return handler return value for single handlers\r\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\r\n }\r\n }\r\n invoker.fns = fns;\r\n return invoker;\r\n}\r\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\r\n var name, cur, old, event;\r\n for (name in on) {\r\n cur = on[name];\r\n old = oldOn[name];\r\n event = normalizeEvent(name);\r\n if (isUndef(cur)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\r\n }\r\n else if (isUndef(old)) {\r\n if (isUndef(cur.fns)) {\r\n cur = on[name] = createFnInvoker(cur, vm);\r\n }\r\n if (isTrue(event.once)) {\r\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\r\n }\r\n add(event.name, cur, event.capture, event.passive, event.params);\r\n }\r\n else if (cur !== old) {\r\n old.fns = cur;\r\n on[name] = old;\r\n }\r\n }\r\n for (name in oldOn) {\r\n if (isUndef(on[name])) {\r\n event = normalizeEvent(name);\r\n remove(event.name, oldOn[name], event.capture);\r\n }\r\n }\r\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\r\n if (def instanceof VNode) {\r\n def = def.data.hook || (def.data.hook = {});\r\n }\r\n var invoker;\r\n var oldHook = def[hookKey];\r\n function wrappedHook() {\r\n hook.apply(this, arguments);\r\n // important: remove merged hook to ensure it's called only once\r\n // and prevent memory leak\r\n remove$2(invoker.fns, wrappedHook);\r\n }\r\n if (isUndef(oldHook)) {\r\n // no existing hook\r\n invoker = createFnInvoker([wrappedHook]);\r\n }\r\n else {\r\n /* istanbul ignore if */\r\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\r\n // already a merged invoker\r\n invoker = oldHook;\r\n invoker.fns.push(wrappedHook);\r\n }\r\n else {\r\n // existing plain hook\r\n invoker = createFnInvoker([oldHook, wrappedHook]);\r\n }\r\n }\r\n invoker.merged = true;\r\n def[hookKey] = invoker;\r\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\r\n // we are only extracting raw values here.\r\n // validation and default values are handled in the child\r\n // component itself.\r\n var propOptions = Ctor.options.props;\r\n if (isUndef(propOptions)) {\r\n return;\r\n }\r\n var res = {};\r\n var attrs = data.attrs, props = data.props;\r\n if (isDef(attrs) || isDef(props)) {\r\n for (var key in propOptions) {\r\n var altKey = hyphenate(key);\r\n if (process.env.NODE_ENV !== 'production') {\r\n var keyInLowerCase = key.toLowerCase();\r\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\r\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\r\n \"\".concat(formatComponentName(\r\n // @ts-expect-error tag is string\r\n tag || Ctor), \", but the declared prop name is\") +\r\n \" \\\"\".concat(key, \"\\\". \") +\r\n \"Note that HTML attributes are case-insensitive and camelCased \" +\r\n \"props need to use their kebab-case equivalents when using in-DOM \" +\r\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\r\n }\r\n }\r\n checkProp(res, props, key, altKey, true) ||\r\n checkProp(res, attrs, key, altKey, false);\r\n }\r\n }\r\n return res;\r\n}\r\nfunction checkProp(res, hash, key, altKey, preserve) {\r\n if (isDef(hash)) {\r\n if (hasOwn(hash, key)) {\r\n res[key] = hash[key];\r\n if (!preserve) {\r\n delete hash[key];\r\n }\r\n return true;\r\n }\r\n else if (hasOwn(hash, altKey)) {\r\n res[key] = hash[altKey];\r\n if (!preserve) {\r\n delete hash[altKey];\r\n }\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\n\n// The template compiler attempts to minimize the need for normalization by\r\n// statically analyzing the template at compile time.\r\n//\r\n// For plain HTML markup, normalization can be completely skipped because the\r\n// generated render function is guaranteed to return Array<VNode>. There are\r\n// two cases where extra normalization is needed:\r\n// 1. When the children contains components - because a functional component\r\n// may return an Array instead of a single root. In this case, just a simple\r\n// normalization is needed - if any child is an Array, we flatten the whole\r\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\r\n// because functional components already normalize their own children.\r\nfunction simpleNormalizeChildren(children) {\r\n for (var i = 0; i < children.length; i++) {\r\n if (isArray(children[i])) {\r\n return Array.prototype.concat.apply([], children);\r\n }\r\n }\r\n return children;\r\n}\r\n// 2. When the children contains constructs that always generated nested Arrays,\r\n// e.g. <template>, <slot>, v-for, or when the children is provided by user\r\n// with hand-written render functions / JSX. In such cases a full normalization\r\n// is needed to cater to all possible types of children values.\r\nfunction normalizeChildren(children) {\r\n return isPrimitive(children)\r\n ? [createTextVNode(children)]\r\n : isArray(children)\r\n ? normalizeArrayChildren(children)\r\n : undefined;\r\n}\r\nfunction isTextNode(node) {\r\n return isDef(node) && isDef(node.text) && isFalse(node.isComment);\r\n}\r\nfunction normalizeArrayChildren(children, nestedIndex) {\r\n var res = [];\r\n var i, c, lastIndex, last;\r\n for (i = 0; i < children.length; i++) {\r\n c = children[i];\r\n if (isUndef(c) || typeof c === 'boolean')\r\n continue;\r\n lastIndex = res.length - 1;\r\n last = res[lastIndex];\r\n // nested\r\n if (isArray(c)) {\r\n if (c.length > 0) {\r\n c = normalizeArrayChildren(c, \"\".concat(nestedIndex || '', \"_\").concat(i));\r\n // merge adjacent text nodes\r\n if (isTextNode(c[0]) && isTextNode(last)) {\r\n res[lastIndex] = createTextVNode(last.text + c[0].text);\r\n c.shift();\r\n }\r\n res.push.apply(res, c);\r\n }\r\n }\r\n else if (isPrimitive(c)) {\r\n if (isTextNode(last)) {\r\n // merge adjacent text nodes\r\n // this is necessary for SSR hydration because text nodes are\r\n // essentially merged when rendered to HTML strings\r\n res[lastIndex] = createTextVNode(last.text + c);\r\n }\r\n else if (c !== '') {\r\n // convert primitive to vnode\r\n res.push(createTextVNode(c));\r\n }\r\n }\r\n else {\r\n if (isTextNode(c) && isTextNode(last)) {\r\n // merge adjacent text nodes\r\n res[lastIndex] = createTextVNode(last.text + c.text);\r\n }\r\n else {\r\n // default key for nested array children (likely generated by v-for)\r\n if (isTrue(children._isVList) &&\r\n isDef(c.tag) &&\r\n isUndef(c.key) &&\r\n isDef(nestedIndex)) {\r\n c.key = \"__vlist\".concat(nestedIndex, \"_\").concat(i, \"__\");\r\n }\r\n res.push(c);\r\n }\r\n }\r\n }\r\n return res;\r\n}\n\n/**\r\n * Runtime helper for rendering v-for lists.\r\n */\r\nfunction renderList(val, render) {\r\n var ret = null, i, l, keys, key;\r\n if (isArray(val) || typeof val === 'string') {\r\n ret = new Array(val.length);\r\n for (i = 0, l = val.length; i < l; i++) {\r\n ret[i] = render(val[i], i);\r\n }\r\n }\r\n else if (typeof val === 'number') {\r\n ret = new Array(val);\r\n for (i = 0; i < val; i++) {\r\n ret[i] = render(i + 1, i);\r\n }\r\n }\r\n else if (isObject(val)) {\r\n if (hasSymbol && val[Symbol.iterator]) {\r\n ret = [];\r\n var iterator = val[Symbol.iterator]();\r\n var result = iterator.next();\r\n while (!result.done) {\r\n ret.push(render(result.value, ret.length));\r\n result = iterator.next();\r\n }\r\n }\r\n else {\r\n keys = Object.keys(val);\r\n ret = new Array(keys.length);\r\n for (i = 0, l = keys.length; i < l; i++) {\r\n key = keys[i];\r\n ret[i] = render(val[key], key, i);\r\n }\r\n }\r\n }\r\n if (!isDef(ret)) {\r\n ret = [];\r\n }\r\n ret._isVList = true;\r\n return ret;\r\n}\n\n/**\r\n * Runtime helper for rendering <slot>\r\n */\r\nfunction renderSlot(name, fallbackRender, props, bindObject) {\r\n var scopedSlotFn = this.$scopedSlots[name];\r\n var nodes;\r\n if (scopedSlotFn) {\r\n // scoped slot\r\n props = props || {};\r\n if (bindObject) {\r\n if (process.env.NODE_ENV !== 'production' && !isObject(bindObject)) {\r\n warn('slot v-bind without argument expects an Object', this);\r\n }\r\n props = extend(extend({}, bindObject), props);\r\n }\r\n nodes =\r\n scopedSlotFn(props) ||\r\n (isFunction(fallbackRender) ? fallbackRender() : fallbackRender);\r\n }\r\n else {\r\n nodes =\r\n this.$slots[name] ||\r\n (isFunction(fallbackRender) ? fallbackRender() : fallbackRender);\r\n }\r\n var target = props && props.slot;\r\n if (target) {\r\n return this.$createElement('template', { slot: target }, nodes);\r\n }\r\n else {\r\n return nodes;\r\n }\r\n}\n\n/**\r\n * Runtime helper for resolving filters\r\n */\r\nfunction resolveFilter(id) {\r\n return resolveAsset(this.$options, 'filters', id, true) || identity;\r\n}\n\nfunction isKeyNotMatch(expect, actual) {\r\n if (isArray(expect)) {\r\n return expect.indexOf(actual) === -1;\r\n }\r\n else {\r\n return expect !== actual;\r\n }\r\n}\r\n/**\r\n * Runtime helper for checking keyCodes from config.\r\n * exposed as Vue.prototype._k\r\n * passing in eventKeyName as last argument separately for backwards compat\r\n */\r\nfunction checkKeyCodes(eventKeyCode, key, builtInKeyCode, eventKeyName, builtInKeyName) {\r\n var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;\r\n if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {\r\n return isKeyNotMatch(builtInKeyName, eventKeyName);\r\n }\r\n else if (mappedKeyCode) {\r\n return isKeyNotMatch(mappedKeyCode, eventKeyCode);\r\n }\r\n else if (eventKeyName) {\r\n return hyphenate(eventKeyName) !== key;\r\n }\r\n return eventKeyCode === undefined;\r\n}\n\n/**\r\n * Runtime helper for merging v-bind=\"object\" into a VNode's data.\r\n */\r\nfunction bindObjectProps(data, tag, value, asProp, isSync) {\r\n if (value) {\r\n if (!isObject(value)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn('v-bind without argument expects an Object or Array value', this);\r\n }\r\n else {\r\n if (isArray(value)) {\r\n value = toObject(value);\r\n }\r\n var hash = void 0;\r\n var _loop_1 = function (key) {\r\n if (key === 'class' || key === 'style' || isReservedAttribute(key)) {\r\n hash = data;\r\n }\r\n else {\r\n var type = data.attrs && data.attrs.type;\r\n hash =\r\n asProp || config.mustUseProp(tag, type, key)\r\n ? data.domProps || (data.domProps = {})\r\n : data.attrs || (data.attrs = {});\r\n }\r\n var camelizedKey = camelize(key);\r\n var hyphenatedKey = hyphenate(key);\r\n if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {\r\n hash[key] = value[key];\r\n if (isSync) {\r\n var on = data.on || (data.on = {});\r\n on[\"update:\".concat(key)] = function ($event) {\r\n value[key] = $event;\r\n };\r\n }\r\n }\r\n };\r\n for (var key in value) {\r\n _loop_1(key);\r\n }\r\n }\r\n }\r\n return data;\r\n}\n\n/**\r\n * Runtime helper for rendering static trees.\r\n */\r\nfunction renderStatic(index, isInFor) {\r\n var cached = this._staticTrees || (this._staticTrees = []);\r\n var tree = cached[index];\r\n // if has already-rendered static tree and not inside v-for,\r\n // we can reuse the same tree.\r\n if (tree && !isInFor) {\r\n return tree;\r\n }\r\n // otherwise, render a fresh tree.\r\n tree = cached[index] = this.$options.staticRenderFns[index].call(this._renderProxy, this._c, this // for render fns generated for functional component templates\r\n );\r\n markStatic(tree, \"__static__\".concat(index), false);\r\n return tree;\r\n}\r\n/**\r\n * Runtime helper for v-once.\r\n * Effectively it means marking the node as static with a unique key.\r\n */\r\nfunction markOnce(tree, index, key) {\r\n markStatic(tree, \"__once__\".concat(index).concat(key ? \"_\".concat(key) : \"\"), true);\r\n return tree;\r\n}\r\nfunction markStatic(tree, key, isOnce) {\r\n if (isArray(tree)) {\r\n for (var i = 0; i < tree.length; i++) {\r\n if (tree[i] && typeof tree[i] !== 'string') {\r\n markStaticNode(tree[i], \"\".concat(key, \"_\").concat(i), isOnce);\r\n }\r\n }\r\n }\r\n else {\r\n markStaticNode(tree, key, isOnce);\r\n }\r\n}\r\nfunction markStaticNode(node, key, isOnce) {\r\n node.isStatic = true;\r\n node.key = key;\r\n node.isOnce = isOnce;\r\n}\n\nfunction bindObjectListeners(data, value) {\r\n if (value) {\r\n if (!isPlainObject(value)) {\r\n process.env.NODE_ENV !== 'production' && warn('v-on without argument expects an Object value', this);\r\n }\r\n else {\r\n var on = (data.on = data.on ? extend({}, data.on) : {});\r\n for (var key in value) {\r\n var existing = on[key];\r\n var ours = value[key];\r\n on[key] = existing ? [].concat(existing, ours) : ours;\r\n }\r\n }\r\n }\r\n return data;\r\n}\n\nfunction resolveScopedSlots(fns, res, \r\n// the following are added in 2.6\r\nhasDynamicKeys, contentHashKey) {\r\n res = res || { $stable: !hasDynamicKeys };\r\n for (var i = 0; i < fns.length; i++) {\r\n var slot = fns[i];\r\n if (isArray(slot)) {\r\n resolveScopedSlots(slot, res, hasDynamicKeys);\r\n }\r\n else if (slot) {\r\n // marker for reverse proxying v-slot without scope on this.$slots\r\n // @ts-expect-error\r\n if (slot.proxy) {\r\n // @ts-expect-error\r\n slot.fn.proxy = true;\r\n }\r\n res[slot.key] = slot.fn;\r\n }\r\n }\r\n if (contentHashKey) {\r\n res.$key = contentHashKey;\r\n }\r\n return res;\r\n}\n\n// helper to process dynamic keys for dynamic arguments in v-bind and v-on.\r\nfunction bindDynamicKeys(baseObj, values) {\r\n for (var i = 0; i < values.length; i += 2) {\r\n var key = values[i];\r\n if (typeof key === 'string' && key) {\r\n baseObj[values[i]] = values[i + 1];\r\n }\r\n else if (process.env.NODE_ENV !== 'production' && key !== '' && key !== null) {\r\n // null is a special value for explicitly removing a binding\r\n warn(\"Invalid value for dynamic directive argument (expected string or null): \".concat(key), this);\r\n }\r\n }\r\n return baseObj;\r\n}\r\n// helper to dynamically append modifier runtime markers to event names.\r\n// ensure only append when value is already string, otherwise it will be cast\r\n// to string and cause the type check to miss.\r\nfunction prependModifier(value, symbol) {\r\n return typeof value === 'string' ? symbol + value : value;\r\n}\n\nfunction installRenderHelpers(target) {\r\n target._o = markOnce;\r\n target._n = toNumber;\r\n target._s = toString;\r\n target._l = renderList;\r\n target._t = renderSlot;\r\n target._q = looseEqual;\r\n target._i = looseIndexOf;\r\n target._m = renderStatic;\r\n target._f = resolveFilter;\r\n target._k = checkKeyCodes;\r\n target._b = bindObjectProps;\r\n target._v = createTextVNode;\r\n target._e = createEmptyVNode;\r\n target._u = resolveScopedSlots;\r\n target._g = bindObjectListeners;\r\n target._d = bindDynamicKeys;\r\n target._p = prependModifier;\r\n}\n\n/**\r\n * Runtime helper for resolving raw children VNodes into a slot object.\r\n */\r\nfunction resolveSlots(children, context) {\r\n if (!children || !children.length) {\r\n return {};\r\n }\r\n var slots = {};\r\n for (var i = 0, l = children.length; i < l; i++) {\r\n var child = children[i];\r\n var data = child.data;\r\n // remove slot attribute if the node is resolved as a Vue slot node\r\n if (data && data.attrs && data.attrs.slot) {\r\n delete data.attrs.slot;\r\n }\r\n // named slots should only be respected if the vnode was rendered in the\r\n // same context.\r\n if ((child.context === context || child.fnContext === context) &&\r\n data &&\r\n data.slot != null) {\r\n var name_1 = data.slot;\r\n var slot = slots[name_1] || (slots[name_1] = []);\r\n if (child.tag === 'template') {\r\n slot.push.apply(slot, child.children || []);\r\n }\r\n else {\r\n slot.push(child);\r\n }\r\n }\r\n else {\r\n (slots.default || (slots.default = [])).push(child);\r\n }\r\n }\r\n // ignore slots that contains only whitespace\r\n for (var name_2 in slots) {\r\n if (slots[name_2].every(isWhitespace)) {\r\n delete slots[name_2];\r\n }\r\n }\r\n return slots;\r\n}\r\nfunction isWhitespace(node) {\r\n return (node.isComment && !node.asyncFactory) || node.text === ' ';\r\n}\n\nfunction isAsyncPlaceholder(node) {\r\n // @ts-expect-error not really boolean type\r\n return node.isComment && node.asyncFactory;\r\n}\n\nfunction normalizeScopedSlots(ownerVm, scopedSlots, normalSlots, prevScopedSlots) {\r\n var res;\r\n var hasNormalSlots = Object.keys(normalSlots).length > 0;\r\n var isStable = scopedSlots ? !!scopedSlots.$stable : !hasNormalSlots;\r\n var key = scopedSlots && scopedSlots.$key;\r\n if (!scopedSlots) {\r\n res = {};\r\n }\r\n else if (scopedSlots._normalized) {\r\n // fast path 1: child component re-render only, parent did not change\r\n return scopedSlots._normalized;\r\n }\r\n else if (isStable &&\r\n prevScopedSlots &&\r\n prevScopedSlots !== emptyObject &&\r\n key === prevScopedSlots.$key &&\r\n !hasNormalSlots &&\r\n !prevScopedSlots.$hasNormal) {\r\n // fast path 2: stable scoped slots w/ no normal slots to proxy,\r\n // only need to normalize once\r\n return prevScopedSlots;\r\n }\r\n else {\r\n res = {};\r\n for (var key_1 in scopedSlots) {\r\n if (scopedSlots[key_1] && key_1[0] !== '$') {\r\n res[key_1] = normalizeScopedSlot(ownerVm, normalSlots, key_1, scopedSlots[key_1]);\r\n }\r\n }\r\n }\r\n // expose normal slots on scopedSlots\r\n for (var key_2 in normalSlots) {\r\n if (!(key_2 in res)) {\r\n res[key_2] = proxyNormalSlot(normalSlots, key_2);\r\n }\r\n }\r\n // avoriaz seems to mock a non-extensible $scopedSlots object\r\n // and when that is passed down this would cause an error\r\n if (scopedSlots && Object.isExtensible(scopedSlots)) {\r\n scopedSlots._normalized = res;\r\n }\r\n def(res, '$stable', isStable);\r\n def(res, '$key', key);\r\n def(res, '$hasNormal', hasNormalSlots);\r\n return res;\r\n}\r\nfunction normalizeScopedSlot(vm, normalSlots, key, fn) {\r\n var normalized = function () {\r\n var cur = currentInstance;\r\n setCurrentInstance(vm);\r\n var res = arguments.length ? fn.apply(null, arguments) : fn({});\r\n res =\r\n res && typeof res === 'object' && !isArray(res)\r\n ? [res] // single vnode\r\n : normalizeChildren(res);\r\n var vnode = res && res[0];\r\n setCurrentInstance(cur);\r\n return res &&\r\n (!vnode ||\r\n (res.length === 1 && vnode.isComment && !isAsyncPlaceholder(vnode))) // #9658, #10391\r\n ? undefined\r\n : res;\r\n };\r\n // this is a slot using the new v-slot syntax without scope. although it is\r\n // compiled as a scoped slot, render fn users would expect it to be present\r\n // on this.$slots because the usage is semantically a normal slot.\r\n if (fn.proxy) {\r\n Object.defineProperty(normalSlots, key, {\r\n get: normalized,\r\n enumerable: true,\r\n configurable: true\r\n });\r\n }\r\n return normalized;\r\n}\r\nfunction proxyNormalSlot(slots, key) {\r\n return function () { return slots[key]; };\r\n}\n\nfunction initSetup(vm) {\r\n var options = vm.$options;\r\n var setup = options.setup;\r\n if (setup) {\r\n var ctx = (vm._setupContext = createSetupContext(vm));\r\n setCurrentInstance(vm);\r\n pushTarget();\r\n var setupResult = invokeWithErrorHandling(setup, null, [vm._props || shallowReactive({}), ctx], vm, \"setup\");\r\n popTarget();\r\n setCurrentInstance();\r\n if (isFunction(setupResult)) {\r\n // render function\r\n // @ts-ignore\r\n options.render = setupResult;\r\n }\r\n else if (isObject(setupResult)) {\r\n // bindings\r\n if (process.env.NODE_ENV !== 'production' && setupResult instanceof VNode) {\r\n warn(\"setup() should not return VNodes directly - \" +\r\n \"return a render function instead.\");\r\n }\r\n vm._setupState = setupResult;\r\n // __sfc indicates compiled bindings from <script setup>\r\n if (!setupResult.__sfc) {\r\n for (var key in setupResult) {\r\n if (!isReserved(key)) {\r\n proxyWithRefUnwrap(vm, setupResult, key);\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"Avoid using variables that start with _ or $ in setup().\");\r\n }\r\n }\r\n }\r\n else {\r\n // exposed for compiled render fn\r\n var proxy = (vm._setupProxy = {});\r\n for (var key in setupResult) {\r\n if (key !== '__sfc') {\r\n proxyWithRefUnwrap(proxy, setupResult, key);\r\n }\r\n }\r\n }\r\n }\r\n else if (process.env.NODE_ENV !== 'production' && setupResult !== undefined) {\r\n warn(\"setup() should return an object. Received: \".concat(setupResult === null ? 'null' : typeof setupResult));\r\n }\r\n }\r\n}\r\nfunction createSetupContext(vm) {\r\n var exposeCalled = false;\r\n return {\r\n get attrs() {\r\n if (!vm._attrsProxy) {\r\n var proxy = (vm._attrsProxy = {});\r\n def(proxy, '_v_attr_proxy', true);\r\n syncSetupProxy(proxy, vm.$attrs, emptyObject, vm, '$attrs');\r\n }\r\n return vm._attrsProxy;\r\n },\r\n get listeners() {\r\n if (!vm._listenersProxy) {\r\n var proxy = (vm._listenersProxy = {});\r\n syncSetupProxy(proxy, vm.$listeners, emptyObject, vm, '$listeners');\r\n }\r\n return vm._listenersProxy;\r\n },\r\n get slots() {\r\n return initSlotsProxy(vm);\r\n },\r\n emit: bind(vm.$emit, vm),\r\n expose: function (exposed) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (exposeCalled) {\r\n warn(\"expose() should be called only once per setup().\", vm);\r\n }\r\n exposeCalled = true;\r\n }\r\n if (exposed) {\r\n Object.keys(exposed).forEach(function (key) {\r\n return proxyWithRefUnwrap(vm, exposed, key);\r\n });\r\n }\r\n }\r\n };\r\n}\r\nfunction syncSetupProxy(to, from, prev, instance, type) {\r\n var changed = false;\r\n for (var key in from) {\r\n if (!(key in to)) {\r\n changed = true;\r\n defineProxyAttr(to, key, instance, type);\r\n }\r\n else if (from[key] !== prev[key]) {\r\n changed = true;\r\n }\r\n }\r\n for (var key in to) {\r\n if (!(key in from)) {\r\n changed = true;\r\n delete to[key];\r\n }\r\n }\r\n return changed;\r\n}\r\nfunction defineProxyAttr(proxy, key, instance, type) {\r\n Object.defineProperty(proxy, key, {\r\n enumerable: true,\r\n configurable: true,\r\n get: function () {\r\n return instance[type][key];\r\n }\r\n });\r\n}\r\nfunction initSlotsProxy(vm) {\r\n if (!vm._slotsProxy) {\r\n syncSetupSlots((vm._slotsProxy = {}), vm.$scopedSlots);\r\n }\r\n return vm._slotsProxy;\r\n}\r\nfunction syncSetupSlots(to, from) {\r\n for (var key in from) {\r\n to[key] = from[key];\r\n }\r\n for (var key in to) {\r\n if (!(key in from)) {\r\n delete to[key];\r\n }\r\n }\r\n}\r\n/**\r\n * @internal use manual type def because public setup context type relies on\r\n * legacy VNode types\r\n */\r\nfunction useSlots() {\r\n return getContext().slots;\r\n}\r\n/**\r\n * @internal use manual type def because public setup context type relies on\r\n * legacy VNode types\r\n */\r\nfunction useAttrs() {\r\n return getContext().attrs;\r\n}\r\n/**\r\n * Vue 2 only\r\n * @internal use manual type def because public setup context type relies on\r\n * legacy VNode types\r\n */\r\nfunction useListeners() {\r\n return getContext().listeners;\r\n}\r\nfunction getContext() {\r\n if (process.env.NODE_ENV !== 'production' && !currentInstance) {\r\n warn(\"useContext() called without active instance.\");\r\n }\r\n var vm = currentInstance;\r\n return vm._setupContext || (vm._setupContext = createSetupContext(vm));\r\n}\r\n/**\r\n * Runtime helper for merging default declarations. Imported by compiled code\r\n * only.\r\n * @internal\r\n */\r\nfunction mergeDefaults(raw, defaults) {\r\n var props = isArray(raw)\r\n ? raw.reduce(function (normalized, p) { return ((normalized[p] = {}), normalized); }, {})\r\n : raw;\r\n for (var key in defaults) {\r\n var opt = props[key];\r\n if (opt) {\r\n if (isArray(opt) || isFunction(opt)) {\r\n props[key] = { type: opt, default: defaults[key] };\r\n }\r\n else {\r\n opt.default = defaults[key];\r\n }\r\n }\r\n else if (opt === null) {\r\n props[key] = { default: defaults[key] };\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"props default key \\\"\".concat(key, \"\\\" has no corresponding declaration.\"));\r\n }\r\n }\r\n return props;\r\n}\n\nfunction initRender(vm) {\r\n vm._vnode = null; // the root of the child tree\r\n vm._staticTrees = null; // v-once cached trees\r\n var options = vm.$options;\r\n var parentVnode = (vm.$vnode = options._parentVnode); // the placeholder node in parent tree\r\n var renderContext = parentVnode && parentVnode.context;\r\n vm.$slots = resolveSlots(options._renderChildren, renderContext);\r\n vm.$scopedSlots = parentVnode\r\n ? normalizeScopedSlots(vm.$parent, parentVnode.data.scopedSlots, vm.$slots)\r\n : emptyObject;\r\n // bind the createElement fn to this instance\r\n // so that we get proper render context inside it.\r\n // args order: tag, data, children, normalizationType, alwaysNormalize\r\n // internal version is used by render functions compiled from templates\r\n // @ts-expect-error\r\n vm._c = function (a, b, c, d) { return createElement$1(vm, a, b, c, d, false); };\r\n // normalization is always applied for the public version, used in\r\n // user-written render functions.\r\n // @ts-expect-error\r\n vm.$createElement = function (a, b, c, d) { return createElement$1(vm, a, b, c, d, true); };\r\n // $attrs & $listeners are exposed for easier HOC creation.\r\n // they need to be reactive so that HOCs using them are always updated\r\n var parentData = parentVnode && parentVnode.data;\r\n /* istanbul ignore else */\r\n if (process.env.NODE_ENV !== 'production') {\r\n defineReactive(vm, '$attrs', (parentData && parentData.attrs) || emptyObject, function () {\r\n !isUpdatingChildComponent && warn(\"$attrs is readonly.\", vm);\r\n }, true);\r\n defineReactive(vm, '$listeners', options._parentListeners || emptyObject, function () {\r\n !isUpdatingChildComponent && warn(\"$listeners is readonly.\", vm);\r\n }, true);\r\n }\r\n else {\r\n defineReactive(vm, '$attrs', (parentData && parentData.attrs) || emptyObject, null, true);\r\n defineReactive(vm, '$listeners', options._parentListeners || emptyObject, null, true);\r\n }\r\n}\r\nvar currentRenderingInstance = null;\r\nfunction renderMixin(Vue) {\r\n // install runtime convenience helpers\r\n installRenderHelpers(Vue.prototype);\r\n Vue.prototype.$nextTick = function (fn) {\r\n return nextTick(fn, this);\r\n };\r\n Vue.prototype._render = function () {\r\n var vm = this;\r\n var _a = vm.$options, render = _a.render, _parentVnode = _a._parentVnode;\r\n if (_parentVnode && vm._isMounted) {\r\n vm.$scopedSlots = normalizeScopedSlots(vm.$parent, _parentVnode.data.scopedSlots, vm.$slots, vm.$scopedSlots);\r\n if (vm._slotsProxy) {\r\n syncSetupSlots(vm._slotsProxy, vm.$scopedSlots);\r\n }\r\n }\r\n // set parent vnode. this allows render functions to have access\r\n // to the data on the placeholder node.\r\n vm.$vnode = _parentVnode;\r\n // render self\r\n var vnode;\r\n try {\r\n // There's no need to maintain a stack because all render fns are called\r\n // separately from one another. Nested component's render fns are called\r\n // when parent component is patched.\r\n setCurrentInstance(vm);\r\n currentRenderingInstance = vm;\r\n vnode = render.call(vm._renderProxy, vm.$createElement);\r\n }\r\n catch (e) {\r\n handleError(e, vm, \"render\");\r\n // return error render result,\r\n // or previous vnode to prevent render error causing blank component\r\n /* istanbul ignore else */\r\n if (process.env.NODE_ENV !== 'production' && vm.$options.renderError) {\r\n try {\r\n vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);\r\n }\r\n catch (e) {\r\n handleError(e, vm, \"renderError\");\r\n vnode = vm._vnode;\r\n }\r\n }\r\n else {\r\n vnode = vm._vnode;\r\n }\r\n }\r\n finally {\r\n currentRenderingInstance = null;\r\n setCurrentInstance();\r\n }\r\n // if the returned array contains only a single node, allow it\r\n if (isArray(vnode) && vnode.length === 1) {\r\n vnode = vnode[0];\r\n }\r\n // return empty vnode in case the render function errored out\r\n if (!(vnode instanceof VNode)) {\r\n if (process.env.NODE_ENV !== 'production' && isArray(vnode)) {\r\n warn('Multiple root nodes returned from render function. Render function ' +\r\n 'should return a single root node.', vm);\r\n }\r\n vnode = createEmptyVNode();\r\n }\r\n // set parent\r\n vnode.parent = _parentVnode;\r\n return vnode;\r\n };\r\n}\n\nfunction ensureCtor(comp, base) {\r\n if (comp.__esModule || (hasSymbol && comp[Symbol.toStringTag] === 'Module')) {\r\n comp = comp.default;\r\n }\r\n return isObject(comp) ? base.extend(comp) : comp;\r\n}\r\nfunction createAsyncPlaceholder(factory, data, context, children, tag) {\r\n var node = createEmptyVNode();\r\n node.asyncFactory = factory;\r\n node.asyncMeta = { data: data, context: context, children: children, tag: tag };\r\n return node;\r\n}\r\nfunction resolveAsyncComponent(factory, baseCtor) {\r\n if (isTrue(factory.error) && isDef(factory.errorComp)) {\r\n return factory.errorComp;\r\n }\r\n if (isDef(factory.resolved)) {\r\n return factory.resolved;\r\n }\r\n var owner = currentRenderingInstance;\r\n if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {\r\n // already pending\r\n factory.owners.push(owner);\r\n }\r\n if (isTrue(factory.loading) && isDef(factory.loadingComp)) {\r\n return factory.loadingComp;\r\n }\r\n if (owner && !isDef(factory.owners)) {\r\n var owners_1 = (factory.owners = [owner]);\r\n var sync_1 = true;\r\n var timerLoading_1 = null;\r\n var timerTimeout_1 = null;\r\n owner.$on('hook:destroyed', function () { return remove$2(owners_1, owner); });\r\n var forceRender_1 = function (renderCompleted) {\r\n for (var i = 0, l = owners_1.length; i < l; i++) {\r\n owners_1[i].$forceUpdate();\r\n }\r\n if (renderCompleted) {\r\n owners_1.length = 0;\r\n if (timerLoading_1 !== null) {\r\n clearTimeout(timerLoading_1);\r\n timerLoading_1 = null;\r\n }\r\n if (timerTimeout_1 !== null) {\r\n clearTimeout(timerTimeout_1);\r\n timerTimeout_1 = null;\r\n }\r\n }\r\n };\r\n var resolve = once(function (res) {\r\n // cache resolved\r\n factory.resolved = ensureCtor(res, baseCtor);\r\n // invoke callbacks only if this is not a synchronous resolve\r\n // (async resolves are shimmed as synchronous during SSR)\r\n if (!sync_1) {\r\n forceRender_1(true);\r\n }\r\n else {\r\n owners_1.length = 0;\r\n }\r\n });\r\n var reject_1 = once(function (reason) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"Failed to resolve async component: \".concat(String(factory)) +\r\n (reason ? \"\\nReason: \".concat(reason) : ''));\r\n if (isDef(factory.errorComp)) {\r\n factory.error = true;\r\n forceRender_1(true);\r\n }\r\n });\r\n var res_1 = factory(resolve, reject_1);\r\n if (isObject(res_1)) {\r\n if (isPromise(res_1)) {\r\n // () => Promise\r\n if (isUndef(factory.resolved)) {\r\n res_1.then(resolve, reject_1);\r\n }\r\n }\r\n else if (isPromise(res_1.component)) {\r\n res_1.component.then(resolve, reject_1);\r\n if (isDef(res_1.error)) {\r\n factory.errorComp = ensureCtor(res_1.error, baseCtor);\r\n }\r\n if (isDef(res_1.loading)) {\r\n factory.loadingComp = ensureCtor(res_1.loading, baseCtor);\r\n if (res_1.delay === 0) {\r\n factory.loading = true;\r\n }\r\n else {\r\n // @ts-expect-error NodeJS timeout type\r\n timerLoading_1 = setTimeout(function () {\r\n timerLoading_1 = null;\r\n if (isUndef(factory.resolved) && isUndef(factory.error)) {\r\n factory.loading = true;\r\n forceRender_1(false);\r\n }\r\n }, res_1.delay || 200);\r\n }\r\n }\r\n if (isDef(res_1.timeout)) {\r\n // @ts-expect-error NodeJS timeout type\r\n timerTimeout_1 = setTimeout(function () {\r\n timerTimeout_1 = null;\r\n if (isUndef(factory.resolved)) {\r\n reject_1(process.env.NODE_ENV !== 'production' ? \"timeout (\".concat(res_1.timeout, \"ms)\") : null);\r\n }\r\n }, res_1.timeout);\r\n }\r\n }\r\n }\r\n sync_1 = false;\r\n // return in case resolved synchronously\r\n return factory.loading ? factory.loadingComp : factory.resolved;\r\n }\r\n}\n\nfunction getFirstComponentChild(children) {\r\n if (isArray(children)) {\r\n for (var i = 0; i < children.length; i++) {\r\n var c = children[i];\r\n if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {\r\n return c;\r\n }\r\n }\r\n }\r\n}\n\nvar SIMPLE_NORMALIZE = 1;\r\nvar ALWAYS_NORMALIZE = 2;\r\n// wrapper function for providing a more flexible interface\r\n// without getting yelled at by flow\r\nfunction createElement$1(context, tag, data, children, normalizationType, alwaysNormalize) {\r\n if (isArray(data) || isPrimitive(data)) {\r\n normalizationType = children;\r\n children = data;\r\n data = undefined;\r\n }\r\n if (isTrue(alwaysNormalize)) {\r\n normalizationType = ALWAYS_NORMALIZE;\r\n }\r\n return _createElement(context, tag, data, children, normalizationType);\r\n}\r\nfunction _createElement(context, tag, data, children, normalizationType) {\r\n if (isDef(data) && isDef(data.__ob__)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"Avoid using observed data object as vnode data: \".concat(JSON.stringify(data), \"\\n\") + 'Always create fresh vnode data objects in each render!', context);\r\n return createEmptyVNode();\r\n }\r\n // object syntax in v-bind\r\n if (isDef(data) && isDef(data.is)) {\r\n tag = data.is;\r\n }\r\n if (!tag) {\r\n // in case of component :is set to falsy value\r\n return createEmptyVNode();\r\n }\r\n // warn against non-primitive key\r\n if (process.env.NODE_ENV !== 'production' && isDef(data) && isDef(data.key) && !isPrimitive(data.key)) {\r\n warn('Avoid using non-primitive value as key, ' +\r\n 'use string/number value instead.', context);\r\n }\r\n // support single function children as default scoped slot\r\n if (isArray(children) && isFunction(children[0])) {\r\n data = data || {};\r\n data.scopedSlots = { default: children[0] };\r\n children.length = 0;\r\n }\r\n if (normalizationType === ALWAYS_NORMALIZE) {\r\n children = normalizeChildren(children);\r\n }\r\n else if (normalizationType === SIMPLE_NORMALIZE) {\r\n children = simpleNormalizeChildren(children);\r\n }\r\n var vnode, ns;\r\n if (typeof tag === 'string') {\r\n var Ctor = void 0;\r\n ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);\r\n if (config.isReservedTag(tag)) {\r\n // platform built-in elements\r\n if (process.env.NODE_ENV !== 'production' &&\r\n isDef(data) &&\r\n isDef(data.nativeOn) &&\r\n data.tag !== 'component') {\r\n warn(\"The .native modifier for v-on is only valid on components but it was used on <\".concat(tag, \">.\"), context);\r\n }\r\n vnode = new VNode(config.parsePlatformTagName(tag), data, children, undefined, undefined, context);\r\n }\r\n else if ((!data || !data.pre) &&\r\n isDef((Ctor = resolveAsset(context.$options, 'components', tag)))) {\r\n // component\r\n vnode = createComponent(Ctor, data, context, children, tag);\r\n }\r\n else {\r\n // unknown or unlisted namespaced elements\r\n // check at runtime because it may get assigned a namespace when its\r\n // parent normalizes children\r\n vnode = new VNode(tag, data, children, undefined, undefined, context);\r\n }\r\n }\r\n else {\r\n // direct component options / constructor\r\n vnode = createComponent(tag, data, context, children);\r\n }\r\n if (isArray(vnode)) {\r\n return vnode;\r\n }\r\n else if (isDef(vnode)) {\r\n if (isDef(ns))\r\n applyNS(vnode, ns);\r\n if (isDef(data))\r\n registerDeepBindings(data);\r\n return vnode;\r\n }\r\n else {\r\n return createEmptyVNode();\r\n }\r\n}\r\nfunction applyNS(vnode, ns, force) {\r\n vnode.ns = ns;\r\n if (vnode.tag === 'foreignObject') {\r\n // use default namespace inside foreignObject\r\n ns = undefined;\r\n force = true;\r\n }\r\n if (isDef(vnode.children)) {\r\n for (var i = 0, l = vnode.children.length; i < l; i++) {\r\n var child = vnode.children[i];\r\n if (isDef(child.tag) &&\r\n (isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {\r\n applyNS(child, ns, force);\r\n }\r\n }\r\n }\r\n}\r\n// ref #5318\r\n// necessary to ensure parent re-render when deep bindings like :style and\r\n// :class are used on slot nodes\r\nfunction registerDeepBindings(data) {\r\n if (isObject(data.style)) {\r\n traverse(data.style);\r\n }\r\n if (isObject(data.class)) {\r\n traverse(data.class);\r\n }\r\n}\n\n/**\r\n * @internal this function needs manual public type declaration because it relies\r\n * on previously manually authored types from Vue 2\r\n */\r\nfunction h(type, props, children) {\r\n if (!currentInstance) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"globally imported h() can only be invoked when there is an active \" +\r\n \"component instance, e.g. synchronously in a component's render or setup function.\");\r\n }\r\n return createElement$1(currentInstance, type, props, children, 2, true);\r\n}\n\nfunction handleError(err, vm, info) {\r\n // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.\r\n // See: https://github.com/vuejs/vuex/issues/1505\r\n pushTarget();\r\n try {\r\n if (vm) {\r\n var cur = vm;\r\n while ((cur = cur.$parent)) {\r\n var hooks = cur.$options.errorCaptured;\r\n if (hooks) {\r\n for (var i = 0; i < hooks.length; i++) {\r\n try {\r\n var capture = hooks[i].call(cur, err, vm, info) === false;\r\n if (capture)\r\n return;\r\n }\r\n catch (e) {\r\n globalHandleError(e, cur, 'errorCaptured hook');\r\n }\r\n }\r\n }\r\n }\r\n }\r\n globalHandleError(err, vm, info);\r\n }\r\n finally {\r\n popTarget();\r\n }\r\n}\r\nfunction invokeWithErrorHandling(handler, context, args, vm, info) {\r\n var res;\r\n try {\r\n res = args ? handler.apply(context, args) : handler.call(context);\r\n if (res && !res._isVue && isPromise(res) && !res._handled) {\r\n res.catch(function (e) { return handleError(e, vm, info + \" (Promise/async)\"); });\r\n res._handled = true;\r\n }\r\n }\r\n catch (e) {\r\n handleError(e, vm, info);\r\n }\r\n return res;\r\n}\r\nfunction globalHandleError(err, vm, info) {\r\n if (config.errorHandler) {\r\n try {\r\n return config.errorHandler.call(null, err, vm, info);\r\n }\r\n catch (e) {\r\n // if the user intentionally throws the original error in the handler,\r\n // do not log it twice\r\n if (e !== err) {\r\n logError(e, null, 'config.errorHandler');\r\n }\r\n }\r\n }\r\n logError(err, vm, info);\r\n}\r\nfunction logError(err, vm, info) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n warn(\"Error in \".concat(info, \": \\\"\").concat(err.toString(), \"\\\"\"), vm);\r\n }\r\n /* istanbul ignore else */\r\n if (inBrowser && typeof console !== 'undefined') {\r\n console.error(err);\r\n }\r\n else {\r\n throw err;\r\n }\r\n}\n\n/* globals MutationObserver */\r\nvar isUsingMicroTask = false;\r\nvar callbacks = [];\r\nvar pending = false;\r\nfunction flushCallbacks() {\r\n pending = false;\r\n var copies = callbacks.slice(0);\r\n callbacks.length = 0;\r\n for (var i = 0; i < copies.length; i++) {\r\n copies[i]();\r\n }\r\n}\r\n// Here we have async deferring wrappers using microtasks.\r\n// In 2.5 we used (macro) tasks (in combination with microtasks).\r\n// However, it has subtle problems when state is changed right before repaint\r\n// (e.g. #6813, out-in transitions).\r\n// Also, using (macro) tasks in event handler would cause some weird behaviors\r\n// that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).\r\n// So we now use microtasks everywhere, again.\r\n// A major drawback of this tradeoff is that there are some scenarios\r\n// where microtasks have too high a priority and fire in between supposedly\r\n// sequential events (e.g. #4521, #6690, which have workarounds)\r\n// or even between bubbling of the same event (#6566).\r\nvar timerFunc;\r\n// The nextTick behavior leverages the microtask queue, which can be accessed\r\n// via either native Promise.then or MutationObserver.\r\n// MutationObserver has wider support, however it is seriously bugged in\r\n// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\r\n// completely stops working after triggering a few times... so, if native\r\n// Promise is available, we will use it:\r\n/* istanbul ignore next, $flow-disable-line */\r\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\r\n var p_1 = Promise.resolve();\r\n timerFunc = function () {\r\n p_1.then(flushCallbacks);\r\n // In problematic UIWebViews, Promise.then doesn't completely break, but\r\n // it can get stuck in a weird state where callbacks are pushed into the\r\n // microtask queue but the queue isn't being flushed, until the browser\r\n // needs to do some other work, e.g. handle a timer. Therefore we can\r\n // \"force\" the microtask queue to be flushed by adding an empty timer.\r\n if (isIOS)\r\n setTimeout(noop);\r\n };\r\n isUsingMicroTask = true;\r\n}\r\nelse if (!isIE &&\r\n typeof MutationObserver !== 'undefined' &&\r\n (isNative(MutationObserver) ||\r\n // PhantomJS and iOS 7.x\r\n MutationObserver.toString() === '[object MutationObserverConstructor]')) {\r\n // Use MutationObserver where native Promise is not available,\r\n // e.g. PhantomJS, iOS7, Android 4.4\r\n // (#6466 MutationObserver is unreliable in IE11)\r\n var counter_1 = 1;\r\n var observer = new MutationObserver(flushCallbacks);\r\n var textNode_1 = document.createTextNode(String(counter_1));\r\n observer.observe(textNode_1, {\r\n characterData: true\r\n });\r\n timerFunc = function () {\r\n counter_1 = (counter_1 + 1) % 2;\r\n textNode_1.data = String(counter_1);\r\n };\r\n isUsingMicroTask = true;\r\n}\r\nelse if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\r\n // Fallback to setImmediate.\r\n // Technically it leverages the (macro) task queue,\r\n // but it is still a better choice than setTimeout.\r\n timerFunc = function () {\r\n setImmediate(flushCallbacks);\r\n };\r\n}\r\nelse {\r\n // Fallback to setTimeout.\r\n timerFunc = function () {\r\n setTimeout(flushCallbacks, 0);\r\n };\r\n}\r\n/**\r\n * @internal\r\n */\r\nfunction nextTick(cb, ctx) {\r\n var _resolve;\r\n callbacks.push(function () {\r\n if (cb) {\r\n try {\r\n cb.call(ctx);\r\n }\r\n catch (e) {\r\n handleError(e, ctx, 'nextTick');\r\n }\r\n }\r\n else if (_resolve) {\r\n _resolve(ctx);\r\n }\r\n });\r\n if (!pending) {\r\n pending = true;\r\n timerFunc();\r\n }\r\n // $flow-disable-line\r\n if (!cb && typeof Promise !== 'undefined') {\r\n return new Promise(function (resolve) {\r\n _resolve = resolve;\r\n });\r\n }\r\n}\n\nfunction useCssModule(name) {\r\n if (name === void 0) { name = '$style'; }\r\n /* istanbul ignore else */\r\n {\r\n if (!currentInstance) {\r\n process.env.NODE_ENV !== 'production' && warn(\"useCssModule must be called inside setup()\");\r\n return emptyObject;\r\n }\r\n var mod = currentInstance[name];\r\n if (!mod) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"Current instance does not have CSS module named \\\"\".concat(name, \"\\\".\"));\r\n return emptyObject;\r\n }\r\n return mod;\r\n }\r\n}\n\n/**\r\n * Runtime helper for SFC's CSS variable injection feature.\r\n * @private\r\n */\r\nfunction useCssVars(getter) {\r\n if (!inBrowser && !false)\r\n return;\r\n var instance = currentInstance;\r\n if (!instance) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"useCssVars is called without current active component instance.\");\r\n return;\r\n }\r\n watchPostEffect(function () {\r\n var el = instance.$el;\r\n var vars = getter(instance, instance._setupProxy);\r\n if (el && el.nodeType === 1) {\r\n var style = el.style;\r\n for (var key in vars) {\r\n style.setProperty(\"--\".concat(key), vars[key]);\r\n }\r\n }\r\n });\r\n}\n\n/**\r\n * v3-compatible async component API.\r\n * @internal the type is manually declared in <root>/types/v3-define-async-component.d.ts\r\n * because it relies on existing manual types\r\n */\r\nfunction defineAsyncComponent(source) {\r\n if (isFunction(source)) {\r\n source = { loader: source };\r\n }\r\n var loader = source.loader, loadingComponent = source.loadingComponent, errorComponent = source.errorComponent, _a = source.delay, delay = _a === void 0 ? 200 : _a, timeout = source.timeout, // undefined = never times out\r\n _b = source.suspensible, // undefined = never times out\r\n suspensible = _b === void 0 ? false : _b, // in Vue 3 default is true\r\n userOnError = source.onError;\r\n if (process.env.NODE_ENV !== 'production' && suspensible) {\r\n warn(\"The suspensiblbe option for async components is not supported in Vue2. It is ignored.\");\r\n }\r\n var pendingRequest = null;\r\n var retries = 0;\r\n var retry = function () {\r\n retries++;\r\n pendingRequest = null;\r\n return load();\r\n };\r\n var load = function () {\r\n var thisRequest;\r\n return (pendingRequest ||\r\n (thisRequest = pendingRequest =\r\n loader()\r\n .catch(function (err) {\r\n err = err instanceof Error ? err : new Error(String(err));\r\n if (userOnError) {\r\n return new Promise(function (resolve, reject) {\r\n var userRetry = function () { return resolve(retry()); };\r\n var userFail = function () { return reject(err); };\r\n userOnError(err, userRetry, userFail, retries + 1);\r\n });\r\n }\r\n else {\r\n throw err;\r\n }\r\n })\r\n .then(function (comp) {\r\n if (thisRequest !== pendingRequest && pendingRequest) {\r\n return pendingRequest;\r\n }\r\n if (process.env.NODE_ENV !== 'production' && !comp) {\r\n warn(\"Async component loader resolved to undefined. \" +\r\n \"If you are using retry(), make sure to return its return value.\");\r\n }\r\n // interop module default\r\n if (comp &&\r\n (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {\r\n comp = comp.default;\r\n }\r\n if (process.env.NODE_ENV !== 'production' && comp && !isObject(comp) && !isFunction(comp)) {\r\n throw new Error(\"Invalid async component load result: \".concat(comp));\r\n }\r\n return comp;\r\n })));\r\n };\r\n return function () {\r\n var component = load();\r\n return {\r\n component: component,\r\n delay: delay,\r\n timeout: timeout,\r\n error: errorComponent,\r\n loading: loadingComponent\r\n };\r\n };\r\n}\n\nfunction createLifeCycle(hookName) {\r\n return function (fn, target) {\r\n if (target === void 0) { target = currentInstance; }\r\n if (!target) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"\".concat(formatName(hookName), \" is called when there is no active component instance to be \") +\r\n \"associated with. \" +\r\n \"Lifecycle injection APIs can only be used during execution of setup().\");\r\n return;\r\n }\r\n return injectHook(target, hookName, fn);\r\n };\r\n}\r\nfunction formatName(name) {\r\n if (name === 'beforeDestroy') {\r\n name = 'beforeUnmount';\r\n }\r\n else if (name === 'destroyed') {\r\n name = 'unmounted';\r\n }\r\n return \"on\".concat(name[0].toUpperCase() + name.slice(1));\r\n}\r\nfunction injectHook(instance, hookName, fn) {\r\n var options = instance.$options;\r\n options[hookName] = mergeLifecycleHook(options[hookName], fn);\r\n}\r\nvar onBeforeMount = createLifeCycle('beforeMount');\r\nvar onMounted = createLifeCycle('mounted');\r\nvar onBeforeUpdate = createLifeCycle('beforeUpdate');\r\nvar onUpdated = createLifeCycle('updated');\r\nvar onBeforeUnmount = createLifeCycle('beforeDestroy');\r\nvar onUnmounted = createLifeCycle('destroyed');\r\nvar onActivated = createLifeCycle('activated');\r\nvar onDeactivated = createLifeCycle('deactivated');\r\nvar onServerPrefetch = createLifeCycle('serverPrefetch');\r\nvar onRenderTracked = createLifeCycle('renderTracked');\r\nvar onRenderTriggered = createLifeCycle('renderTriggered');\r\nvar injectErrorCapturedHook = createLifeCycle('errorCaptured');\r\nfunction onErrorCaptured(hook, target) {\r\n if (target === void 0) { target = currentInstance; }\r\n injectErrorCapturedHook(hook, target);\r\n}\n\n/**\r\n * Note: also update dist/vue.runtime.mjs when adding new exports to this file.\r\n */\r\nvar version = '2.7.10';\r\n/**\r\n * @internal type is manually declared in <root>/types/v3-define-component.d.ts\r\n */\r\nfunction defineComponent(options) {\r\n return options;\r\n}\n\nvar seenObjects = new _Set();\r\n/**\r\n * Recursively traverse an object to evoke all converted\r\n * getters, so that every nested property inside the object\r\n * is collected as a \"deep\" dependency.\r\n */\r\nfunction traverse(val) {\r\n _traverse(val, seenObjects);\r\n seenObjects.clear();\r\n return val;\r\n}\r\nfunction _traverse(val, seen) {\r\n var i, keys;\r\n var isA = isArray(val);\r\n if ((!isA && !isObject(val)) ||\r\n Object.isFrozen(val) ||\r\n val instanceof VNode) {\r\n return;\r\n }\r\n if (val.__ob__) {\r\n var depId = val.__ob__.dep.id;\r\n if (seen.has(depId)) {\r\n return;\r\n }\r\n seen.add(depId);\r\n }\r\n if (isA) {\r\n i = val.length;\r\n while (i--)\r\n _traverse(val[i], seen);\r\n }\r\n else if (isRef(val)) {\r\n _traverse(val.value, seen);\r\n }\r\n else {\r\n keys = Object.keys(val);\r\n i = keys.length;\r\n while (i--)\r\n _traverse(val[keys[i]], seen);\r\n }\r\n}\n\nvar uid$1 = 0;\r\n/**\r\n * A watcher parses an expression, collects dependencies,\r\n * and fires callback when the expression value changes.\r\n * This is used for both the $watch() api and directives.\r\n * @internal\r\n */\r\nvar Watcher = /** @class */ (function () {\r\n function Watcher(vm, expOrFn, cb, options, isRenderWatcher) {\r\n recordEffectScope(this, \r\n // if the active effect scope is manually created (not a component scope),\r\n // prioritize it\r\n activeEffectScope && !activeEffectScope._vm\r\n ? activeEffectScope\r\n : vm\r\n ? vm._scope\r\n : undefined);\r\n if ((this.vm = vm) && isRenderWatcher) {\r\n vm._watcher = this;\r\n }\r\n // options\r\n if (options) {\r\n this.deep = !!options.deep;\r\n this.user = !!options.user;\r\n this.lazy = !!options.lazy;\r\n this.sync = !!options.sync;\r\n this.before = options.before;\r\n if (process.env.NODE_ENV !== 'production') {\r\n this.onTrack = options.onTrack;\r\n this.onTrigger = options.onTrigger;\r\n }\r\n }\r\n else {\r\n this.deep = this.user = this.lazy = this.sync = false;\r\n }\r\n this.cb = cb;\r\n this.id = ++uid$1; // uid for batching\r\n this.active = true;\r\n this.post = false;\r\n this.dirty = this.lazy; // for lazy watchers\r\n this.deps = [];\r\n this.newDeps = [];\r\n this.depIds = new _Set();\r\n this.newDepIds = new _Set();\r\n this.expression = process.env.NODE_ENV !== 'production' ? expOrFn.toString() : '';\r\n // parse expression for getter\r\n if (isFunction(expOrFn)) {\r\n this.getter = expOrFn;\r\n }\r\n else {\r\n this.getter = parsePath(expOrFn);\r\n if (!this.getter) {\r\n this.getter = noop;\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"Failed watching path: \\\"\".concat(expOrFn, \"\\\" \") +\r\n 'Watcher only accepts simple dot-delimited paths. ' +\r\n 'For full control, use a function instead.', vm);\r\n }\r\n }\r\n this.value = this.lazy ? undefined : this.get();\r\n }\r\n /**\r\n * Evaluate the getter, and re-collect dependencies.\r\n */\r\n Watcher.prototype.get = function () {\r\n pushTarget(this);\r\n var value;\r\n var vm = this.vm;\r\n try {\r\n value = this.getter.call(vm, vm);\r\n }\r\n catch (e) {\r\n if (this.user) {\r\n handleError(e, vm, \"getter for watcher \\\"\".concat(this.expression, \"\\\"\"));\r\n }\r\n else {\r\n throw e;\r\n }\r\n }\r\n finally {\r\n // \"touch\" every property so they are all tracked as\r\n // dependencies for deep watching\r\n if (this.deep) {\r\n traverse(value);\r\n }\r\n popTarget();\r\n this.cleanupDeps();\r\n }\r\n return value;\r\n };\r\n /**\r\n * Add a dependency to this directive.\r\n */\r\n Watcher.prototype.addDep = function (dep) {\r\n var id = dep.id;\r\n if (!this.newDepIds.has(id)) {\r\n this.newDepIds.add(id);\r\n this.newDeps.push(dep);\r\n if (!this.depIds.has(id)) {\r\n dep.addSub(this);\r\n }\r\n }\r\n };\r\n /**\r\n * Clean up for dependency collection.\r\n */\r\n Watcher.prototype.cleanupDeps = function () {\r\n var i = this.deps.length;\r\n while (i--) {\r\n var dep = this.deps[i];\r\n if (!this.newDepIds.has(dep.id)) {\r\n dep.removeSub(this);\r\n }\r\n }\r\n var tmp = this.depIds;\r\n this.depIds = this.newDepIds;\r\n this.newDepIds = tmp;\r\n this.newDepIds.clear();\r\n tmp = this.deps;\r\n this.deps = this.newDeps;\r\n this.newDeps = tmp;\r\n this.newDeps.length = 0;\r\n };\r\n /**\r\n * Subscriber interface.\r\n * Will be called when a dependency changes.\r\n */\r\n Watcher.prototype.update = function () {\r\n /* istanbul ignore else */\r\n if (this.lazy) {\r\n this.dirty = true;\r\n }\r\n else if (this.sync) {\r\n this.run();\r\n }\r\n else {\r\n queueWatcher(this);\r\n }\r\n };\r\n /**\r\n * Scheduler job interface.\r\n * Will be called by the scheduler.\r\n */\r\n Watcher.prototype.run = function () {\r\n if (this.active) {\r\n var value = this.get();\r\n if (value !== this.value ||\r\n // Deep watchers and watchers on Object/Arrays should fire even\r\n // when the value is the same, because the value may\r\n // have mutated.\r\n isObject(value) ||\r\n this.deep) {\r\n // set new value\r\n var oldValue = this.value;\r\n this.value = value;\r\n if (this.user) {\r\n var info = \"callback for watcher \\\"\".concat(this.expression, \"\\\"\");\r\n invokeWithErrorHandling(this.cb, this.vm, [value, oldValue], this.vm, info);\r\n }\r\n else {\r\n this.cb.call(this.vm, value, oldValue);\r\n }\r\n }\r\n }\r\n };\r\n /**\r\n * Evaluate the value of the watcher.\r\n * This only gets called for lazy watchers.\r\n */\r\n Watcher.prototype.evaluate = function () {\r\n this.value = this.get();\r\n this.dirty = false;\r\n };\r\n /**\r\n * Depend on all deps collected by this watcher.\r\n */\r\n Watcher.prototype.depend = function () {\r\n var i = this.deps.length;\r\n while (i--) {\r\n this.deps[i].depend();\r\n }\r\n };\r\n /**\r\n * Remove self from all dependencies' subscriber list.\r\n */\r\n Watcher.prototype.teardown = function () {\r\n if (this.vm && !this.vm._isBeingDestroyed) {\r\n remove$2(this.vm._scope.effects, this);\r\n }\r\n if (this.active) {\r\n var i = this.deps.length;\r\n while (i--) {\r\n this.deps[i].removeSub(this);\r\n }\r\n this.active = false;\r\n if (this.onStop) {\r\n this.onStop();\r\n }\r\n }\r\n };\r\n return Watcher;\r\n}());\n\nvar mark;\r\nvar measure;\r\nif (process.env.NODE_ENV !== 'production') {\r\n var perf_1 = inBrowser && window.performance;\r\n /* istanbul ignore if */\r\n if (perf_1 &&\r\n // @ts-ignore\r\n perf_1.mark &&\r\n // @ts-ignore\r\n perf_1.measure &&\r\n // @ts-ignore\r\n perf_1.clearMarks &&\r\n // @ts-ignore\r\n perf_1.clearMeasures) {\r\n mark = function (tag) { return perf_1.mark(tag); };\r\n measure = function (name, startTag, endTag) {\r\n perf_1.measure(name, startTag, endTag);\r\n perf_1.clearMarks(startTag);\r\n perf_1.clearMarks(endTag);\r\n // perf.clearMeasures(name)\r\n };\r\n }\r\n}\n\nfunction initEvents(vm) {\r\n vm._events = Object.create(null);\r\n vm._hasHookEvent = false;\r\n // init parent attached events\r\n var listeners = vm.$options._parentListeners;\r\n if (listeners) {\r\n updateComponentListeners(vm, listeners);\r\n }\r\n}\r\nvar target$1;\r\nfunction add$1(event, fn) {\r\n target$1.$on(event, fn);\r\n}\r\nfunction remove$1(event, fn) {\r\n target$1.$off(event, fn);\r\n}\r\nfunction createOnceHandler$1(event, fn) {\r\n var _target = target$1;\r\n return function onceHandler() {\r\n var res = fn.apply(null, arguments);\r\n if (res !== null) {\r\n _target.$off(event, onceHandler);\r\n }\r\n };\r\n}\r\nfunction updateComponentListeners(vm, listeners, oldListeners) {\r\n target$1 = vm;\r\n updateListeners(listeners, oldListeners || {}, add$1, remove$1, createOnceHandler$1, vm);\r\n target$1 = undefined;\r\n}\r\nfunction eventsMixin(Vue) {\r\n var hookRE = /^hook:/;\r\n Vue.prototype.$on = function (event, fn) {\r\n var vm = this;\r\n if (isArray(event)) {\r\n for (var i = 0, l = event.length; i < l; i++) {\r\n vm.$on(event[i], fn);\r\n }\r\n }\r\n else {\r\n (vm._events[event] || (vm._events[event] = [])).push(fn);\r\n // optimize hook:event cost by using a boolean flag marked at registration\r\n // instead of a hash lookup\r\n if (hookRE.test(event)) {\r\n vm._hasHookEvent = true;\r\n }\r\n }\r\n return vm;\r\n };\r\n Vue.prototype.$once = function (event, fn) {\r\n var vm = this;\r\n function on() {\r\n vm.$off(event, on);\r\n fn.apply(vm, arguments);\r\n }\r\n on.fn = fn;\r\n vm.$on(event, on);\r\n return vm;\r\n };\r\n Vue.prototype.$off = function (event, fn) {\r\n var vm = this;\r\n // all\r\n if (!arguments.length) {\r\n vm._events = Object.create(null);\r\n return vm;\r\n }\r\n // array of events\r\n if (isArray(event)) {\r\n for (var i_1 = 0, l = event.length; i_1 < l; i_1++) {\r\n vm.$off(event[i_1], fn);\r\n }\r\n return vm;\r\n }\r\n // specific event\r\n var cbs = vm._events[event];\r\n if (!cbs) {\r\n return vm;\r\n }\r\n if (!fn) {\r\n vm._events[event] = null;\r\n return vm;\r\n }\r\n // specific handler\r\n var cb;\r\n var i = cbs.length;\r\n while (i--) {\r\n cb = cbs[i];\r\n if (cb === fn || cb.fn === fn) {\r\n cbs.splice(i, 1);\r\n break;\r\n }\r\n }\r\n return vm;\r\n };\r\n Vue.prototype.$emit = function (event) {\r\n var vm = this;\r\n if (process.env.NODE_ENV !== 'production') {\r\n var lowerCaseEvent = event.toLowerCase();\r\n if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {\r\n tip(\"Event \\\"\".concat(lowerCaseEvent, \"\\\" is emitted in component \") +\r\n \"\".concat(formatComponentName(vm), \" but the handler is registered for \\\"\").concat(event, \"\\\". \") +\r\n \"Note that HTML attributes are case-insensitive and you cannot use \" +\r\n \"v-on to listen to camelCase events when using in-DOM templates. \" +\r\n \"You should probably use \\\"\".concat(hyphenate(event), \"\\\" instead of \\\"\").concat(event, \"\\\".\"));\r\n }\r\n }\r\n var cbs = vm._events[event];\r\n if (cbs) {\r\n cbs = cbs.length > 1 ? toArray(cbs) : cbs;\r\n var args = toArray(arguments, 1);\r\n var info = \"event handler for \\\"\".concat(event, \"\\\"\");\r\n for (var i = 0, l = cbs.length; i < l; i++) {\r\n invokeWithErrorHandling(cbs[i], vm, args, vm, info);\r\n }\r\n }\r\n return vm;\r\n };\r\n}\n\nvar activeInstance = null;\r\nvar isUpdatingChildComponent = false;\r\nfunction setActiveInstance(vm) {\r\n var prevActiveInstance = activeInstance;\r\n activeInstance = vm;\r\n return function () {\r\n activeInstance = prevActiveInstance;\r\n };\r\n}\r\nfunction initLifecycle(vm) {\r\n var options = vm.$options;\r\n // locate first non-abstract parent\r\n var parent = options.parent;\r\n if (parent && !options.abstract) {\r\n while (parent.$options.abstract && parent.$parent) {\r\n parent = parent.$parent;\r\n }\r\n parent.$children.push(vm);\r\n }\r\n vm.$parent = parent;\r\n vm.$root = parent ? parent.$root : vm;\r\n vm.$children = [];\r\n vm.$refs = {};\r\n vm._provided = parent ? parent._provided : Object.create(null);\r\n vm._watcher = null;\r\n vm._inactive = null;\r\n vm._directInactive = false;\r\n vm._isMounted = false;\r\n vm._isDestroyed = false;\r\n vm._isBeingDestroyed = false;\r\n}\r\nfunction lifecycleMixin(Vue) {\r\n Vue.prototype._update = function (vnode, hydrating) {\r\n var vm = this;\r\n var prevEl = vm.$el;\r\n var prevVnode = vm._vnode;\r\n var restoreActiveInstance = setActiveInstance(vm);\r\n vm._vnode = vnode;\r\n // Vue.prototype.__patch__ is injected in entry points\r\n // based on the rendering backend used.\r\n if (!prevVnode) {\r\n // initial render\r\n vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);\r\n }\r\n else {\r\n // updates\r\n vm.$el = vm.__patch__(prevVnode, vnode);\r\n }\r\n restoreActiveInstance();\r\n // update __vue__ reference\r\n if (prevEl) {\r\n prevEl.__vue__ = null;\r\n }\r\n if (vm.$el) {\r\n vm.$el.__vue__ = vm;\r\n }\r\n // if parent is an HOC, update its $el as well\r\n var wrapper = vm;\r\n while (wrapper &&\r\n wrapper.$vnode &&\r\n wrapper.$parent &&\r\n wrapper.$vnode === wrapper.$parent._vnode) {\r\n wrapper.$parent.$el = wrapper.$el;\r\n wrapper = wrapper.$parent;\r\n }\r\n // updated hook is called by the scheduler to ensure that children are\r\n // updated in a parent's updated hook.\r\n };\r\n Vue.prototype.$forceUpdate = function () {\r\n var vm = this;\r\n if (vm._watcher) {\r\n vm._watcher.update();\r\n }\r\n };\r\n Vue.prototype.$destroy = function () {\r\n var vm = this;\r\n if (vm._isBeingDestroyed) {\r\n return;\r\n }\r\n callHook$1(vm, 'beforeDestroy');\r\n vm._isBeingDestroyed = true;\r\n // remove self from parent\r\n var parent = vm.$parent;\r\n if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {\r\n remove$2(parent.$children, vm);\r\n }\r\n // teardown scope. this includes both the render watcher and other\r\n // watchers created\r\n vm._scope.stop();\r\n // remove reference from data ob\r\n // frozen object may not have observer.\r\n if (vm._data.__ob__) {\r\n vm._data.__ob__.vmCount--;\r\n }\r\n // call the last hook...\r\n vm._isDestroyed = true;\r\n // invoke destroy hooks on current rendered tree\r\n vm.__patch__(vm._vnode, null);\r\n // fire destroyed hook\r\n callHook$1(vm, 'destroyed');\r\n // turn off all instance listeners.\r\n vm.$off();\r\n // remove __vue__ reference\r\n if (vm.$el) {\r\n vm.$el.__vue__ = null;\r\n }\r\n // release circular reference (#6759)\r\n if (vm.$vnode) {\r\n vm.$vnode.parent = null;\r\n }\r\n };\r\n}\r\nfunction mountComponent(vm, el, hydrating) {\r\n vm.$el = el;\r\n if (!vm.$options.render) {\r\n // @ts-expect-error invalid type\r\n vm.$options.render = createEmptyVNode;\r\n if (process.env.NODE_ENV !== 'production') {\r\n /* istanbul ignore if */\r\n if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||\r\n vm.$options.el ||\r\n el) {\r\n warn('You are using the runtime-only build of Vue where the template ' +\r\n 'compiler is not available. Either pre-compile the templates into ' +\r\n 'render functions, or use the compiler-included build.', vm);\r\n }\r\n else {\r\n warn('Failed to mount component: template or render function not defined.', vm);\r\n }\r\n }\r\n }\r\n callHook$1(vm, 'beforeMount');\r\n var updateComponent;\r\n /* istanbul ignore if */\r\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\r\n updateComponent = function () {\r\n var name = vm._name;\r\n var id = vm._uid;\r\n var startTag = \"vue-perf-start:\".concat(id);\r\n var endTag = \"vue-perf-end:\".concat(id);\r\n mark(startTag);\r\n var vnode = vm._render();\r\n mark(endTag);\r\n measure(\"vue \".concat(name, \" render\"), startTag, endTag);\r\n mark(startTag);\r\n vm._update(vnode, hydrating);\r\n mark(endTag);\r\n measure(\"vue \".concat(name, \" patch\"), startTag, endTag);\r\n };\r\n }\r\n else {\r\n updateComponent = function () {\r\n vm._update(vm._render(), hydrating);\r\n };\r\n }\r\n var watcherOptions = {\r\n before: function () {\r\n if (vm._isMounted && !vm._isDestroyed) {\r\n callHook$1(vm, 'beforeUpdate');\r\n }\r\n }\r\n };\r\n if (process.env.NODE_ENV !== 'production') {\r\n watcherOptions.onTrack = function (e) { return callHook$1(vm, 'renderTracked', [e]); };\r\n watcherOptions.onTrigger = function (e) { return callHook$1(vm, 'renderTriggered', [e]); };\r\n }\r\n // we set this to vm._watcher inside the watcher's constructor\r\n // since the watcher's initial patch may call $forceUpdate (e.g. inside child\r\n // component's mounted hook), which relies on vm._watcher being already defined\r\n new Watcher(vm, updateComponent, noop, watcherOptions, true /* isRenderWatcher */);\r\n hydrating = false;\r\n // flush buffer for flush: \"pre\" watchers queued in setup()\r\n var preWatchers = vm._preWatchers;\r\n if (preWatchers) {\r\n for (var i = 0; i < preWatchers.length; i++) {\r\n preWatchers[i].run();\r\n }\r\n }\r\n // manually mounted instance, call mounted on self\r\n // mounted is called for render-created child components in its inserted hook\r\n if (vm.$vnode == null) {\r\n vm._isMounted = true;\r\n callHook$1(vm, 'mounted');\r\n }\r\n return vm;\r\n}\r\nfunction updateChildComponent(vm, propsData, listeners, parentVnode, renderChildren) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n isUpdatingChildComponent = true;\r\n }\r\n // determine whether component has slot children\r\n // we need to do this before overwriting $options._renderChildren.\r\n // check if there are dynamic scopedSlots (hand-written or compiled but with\r\n // dynamic slot names). Static scoped slots compiled from template has the\r\n // \"$stable\" marker.\r\n var newScopedSlots = parentVnode.data.scopedSlots;\r\n var oldScopedSlots = vm.$scopedSlots;\r\n var hasDynamicScopedSlot = !!((newScopedSlots && !newScopedSlots.$stable) ||\r\n (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||\r\n (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key) ||\r\n (!newScopedSlots && vm.$scopedSlots.$key));\r\n // Any static slot children from the parent may have changed during parent's\r\n // update. Dynamic scoped slots may also have changed. In such cases, a forced\r\n // update is necessary to ensure correctness.\r\n var needsForceUpdate = !!(renderChildren || // has new static slots\r\n vm.$options._renderChildren || // has old static slots\r\n hasDynamicScopedSlot);\r\n var prevVNode = vm.$vnode;\r\n vm.$options._parentVnode = parentVnode;\r\n vm.$vnode = parentVnode; // update vm's placeholder node without re-render\r\n if (vm._vnode) {\r\n // update child tree's parent\r\n vm._vnode.parent = parentVnode;\r\n }\r\n vm.$options._renderChildren = renderChildren;\r\n // update $attrs and $listeners hash\r\n // these are also reactive so they may trigger child update if the child\r\n // used them during render\r\n var attrs = parentVnode.data.attrs || emptyObject;\r\n if (vm._attrsProxy) {\r\n // force update if attrs are accessed and has changed since it may be\r\n // passed to a child component.\r\n if (syncSetupProxy(vm._attrsProxy, attrs, (prevVNode.data && prevVNode.data.attrs) || emptyObject, vm, '$attrs')) {\r\n needsForceUpdate = true;\r\n }\r\n }\r\n vm.$attrs = attrs;\r\n // update listeners\r\n listeners = listeners || emptyObject;\r\n var prevListeners = vm.$options._parentListeners;\r\n if (vm._listenersProxy) {\r\n syncSetupProxy(vm._listenersProxy, listeners, prevListeners || emptyObject, vm, '$listeners');\r\n }\r\n vm.$listeners = vm.$options._parentListeners = listeners;\r\n updateComponentListeners(vm, listeners, prevListeners);\r\n // update props\r\n if (propsData && vm.$options.props) {\r\n toggleObserving(false);\r\n var props = vm._props;\r\n var propKeys = vm.$options._propKeys || [];\r\n for (var i = 0; i < propKeys.length; i++) {\r\n var key = propKeys[i];\r\n var propOptions = vm.$options.props; // wtf flow?\r\n props[key] = validateProp(key, propOptions, propsData, vm);\r\n }\r\n toggleObserving(true);\r\n // keep a copy of raw propsData\r\n vm.$options.propsData = propsData;\r\n }\r\n // resolve slots + force update if has children\r\n if (needsForceUpdate) {\r\n vm.$slots = resolveSlots(renderChildren, parentVnode.context);\r\n vm.$forceUpdate();\r\n }\r\n if (process.env.NODE_ENV !== 'production') {\r\n isUpdatingChildComponent = false;\r\n }\r\n}\r\nfunction isInInactiveTree(vm) {\r\n while (vm && (vm = vm.$parent)) {\r\n if (vm._inactive)\r\n return true;\r\n }\r\n return false;\r\n}\r\nfunction activateChildComponent(vm, direct) {\r\n if (direct) {\r\n vm._directInactive = false;\r\n if (isInInactiveTree(vm)) {\r\n return;\r\n }\r\n }\r\n else if (vm._directInactive) {\r\n return;\r\n }\r\n if (vm._inactive || vm._inactive === null) {\r\n vm._inactive = false;\r\n for (var i = 0; i < vm.$children.length; i++) {\r\n activateChildComponent(vm.$children[i]);\r\n }\r\n callHook$1(vm, 'activated');\r\n }\r\n}\r\nfunction deactivateChildComponent(vm, direct) {\r\n if (direct) {\r\n vm._directInactive = true;\r\n if (isInInactiveTree(vm)) {\r\n return;\r\n }\r\n }\r\n if (!vm._inactive) {\r\n vm._inactive = true;\r\n for (var i = 0; i < vm.$children.length; i++) {\r\n deactivateChildComponent(vm.$children[i]);\r\n }\r\n callHook$1(vm, 'deactivated');\r\n }\r\n}\r\nfunction callHook$1(vm, hook, args, setContext) {\r\n if (setContext === void 0) { setContext = true; }\r\n // #7573 disable dep collection when invoking lifecycle hooks\r\n pushTarget();\r\n var prev = currentInstance;\r\n setContext && setCurrentInstance(vm);\r\n var handlers = vm.$options[hook];\r\n var info = \"\".concat(hook, \" hook\");\r\n if (handlers) {\r\n for (var i = 0, j = handlers.length; i < j; i++) {\r\n invokeWithErrorHandling(handlers[i], vm, args || null, vm, info);\r\n }\r\n }\r\n if (vm._hasHookEvent) {\r\n vm.$emit('hook:' + hook);\r\n }\r\n setContext && setCurrentInstance(prev);\r\n popTarget();\r\n}\n\nvar MAX_UPDATE_COUNT = 100;\r\nvar queue = [];\r\nvar activatedChildren = [];\r\nvar has = {};\r\nvar circular = {};\r\nvar waiting = false;\r\nvar flushing = false;\r\nvar index = 0;\r\n/**\r\n * Reset the scheduler's state.\r\n */\r\nfunction resetSchedulerState() {\r\n index = queue.length = activatedChildren.length = 0;\r\n has = {};\r\n if (process.env.NODE_ENV !== 'production') {\r\n circular = {};\r\n }\r\n waiting = flushing = false;\r\n}\r\n// Async edge case #6566 requires saving the timestamp when event listeners are\r\n// attached. However, calling performance.now() has a perf overhead especially\r\n// if the page has thousands of event listeners. Instead, we take a timestamp\r\n// every time the scheduler flushes and use that for all event listeners\r\n// attached during that flush.\r\nvar currentFlushTimestamp = 0;\r\n// Async edge case fix requires storing an event listener's attach timestamp.\r\nvar getNow = Date.now;\r\n// Determine what event timestamp the browser is using. Annoyingly, the\r\n// timestamp can either be hi-res (relative to page load) or low-res\r\n// (relative to UNIX epoch), so in order to compare time we have to use the\r\n// same timestamp type when saving the flush timestamp.\r\n// All IE versions use low-res event timestamps, and have problematic clock\r\n// implementations (#9632)\r\nif (inBrowser && !isIE) {\r\n var performance_1 = window.performance;\r\n if (performance_1 &&\r\n typeof performance_1.now === 'function' &&\r\n getNow() > document.createEvent('Event').timeStamp) {\r\n // if the event timestamp, although evaluated AFTER the Date.now(), is\r\n // smaller than it, it means the event is using a hi-res timestamp,\r\n // and we need to use the hi-res version for event listener timestamps as\r\n // well.\r\n getNow = function () { return performance_1.now(); };\r\n }\r\n}\r\nvar sortCompareFn = function (a, b) {\r\n if (a.post) {\r\n if (!b.post)\r\n return 1;\r\n }\r\n else if (b.post) {\r\n return -1;\r\n }\r\n return a.id - b.id;\r\n};\r\n/**\r\n * Flush both queues and run the watchers.\r\n */\r\nfunction flushSchedulerQueue() {\r\n currentFlushTimestamp = getNow();\r\n flushing = true;\r\n var watcher, id;\r\n // Sort queue before flush.\r\n // This ensures that:\r\n // 1. Components are updated from parent to child. (because parent is always\r\n // created before the child)\r\n // 2. A component's user watchers are run before its render watcher (because\r\n // user watchers are created before the render watcher)\r\n // 3. If a component is destroyed during a parent component's watcher run,\r\n // its watchers can be skipped.\r\n queue.sort(sortCompareFn);\r\n // do not cache length because more watchers might be pushed\r\n // as we run existing watchers\r\n for (index = 0; index < queue.length; index++) {\r\n watcher = queue[index];\r\n if (watcher.before) {\r\n watcher.before();\r\n }\r\n id = watcher.id;\r\n has[id] = null;\r\n watcher.run();\r\n // in dev build, check and stop circular updates.\r\n if (process.env.NODE_ENV !== 'production' && has[id] != null) {\r\n circular[id] = (circular[id] || 0) + 1;\r\n if (circular[id] > MAX_UPDATE_COUNT) {\r\n warn('You may have an infinite update loop ' +\r\n (watcher.user\r\n ? \"in watcher with expression \\\"\".concat(watcher.expression, \"\\\"\")\r\n : \"in a component render function.\"), watcher.vm);\r\n break;\r\n }\r\n }\r\n }\r\n // keep copies of post queues before resetting state\r\n var activatedQueue = activatedChildren.slice();\r\n var updatedQueue = queue.slice();\r\n resetSchedulerState();\r\n // call component updated and activated hooks\r\n callActivatedHooks(activatedQueue);\r\n callUpdatedHooks(updatedQueue);\r\n // devtool hook\r\n /* istanbul ignore if */\r\n if (devtools && config.devtools) {\r\n devtools.emit('flush');\r\n }\r\n}\r\nfunction callUpdatedHooks(queue) {\r\n var i = queue.length;\r\n while (i--) {\r\n var watcher = queue[i];\r\n var vm = watcher.vm;\r\n if (vm && vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {\r\n callHook$1(vm, 'updated');\r\n }\r\n }\r\n}\r\n/**\r\n * Queue a kept-alive component that was activated during patch.\r\n * The queue will be processed after the entire tree has been patched.\r\n */\r\nfunction queueActivatedComponent(vm) {\r\n // setting _inactive to false here so that a render function can\r\n // rely on checking whether it's in an inactive tree (e.g. router-view)\r\n vm._inactive = false;\r\n activatedChildren.push(vm);\r\n}\r\nfunction callActivatedHooks(queue) {\r\n for (var i = 0; i < queue.length; i++) {\r\n queue[i]._inactive = true;\r\n activateChildComponent(queue[i], true /* true */);\r\n }\r\n}\r\n/**\r\n * Push a watcher into the watcher queue.\r\n * Jobs with duplicate IDs will be skipped unless it's\r\n * pushed when the queue is being flushed.\r\n */\r\nfunction queueWatcher(watcher) {\r\n var id = watcher.id;\r\n if (has[id] != null) {\r\n return;\r\n }\r\n if (watcher === Dep.target && watcher.noRecurse) {\r\n return;\r\n }\r\n has[id] = true;\r\n if (!flushing) {\r\n queue.push(watcher);\r\n }\r\n else {\r\n // if already flushing, splice the watcher based on its id\r\n // if already past its id, it will be run next immediately.\r\n var i = queue.length - 1;\r\n while (i > index && queue[i].id > watcher.id) {\r\n i--;\r\n }\r\n queue.splice(i + 1, 0, watcher);\r\n }\r\n // queue the flush\r\n if (!waiting) {\r\n waiting = true;\r\n if (process.env.NODE_ENV !== 'production' && !config.async) {\r\n flushSchedulerQueue();\r\n return;\r\n }\r\n nextTick(flushSchedulerQueue);\r\n }\r\n}\n\nfunction initProvide(vm) {\r\n var provideOption = vm.$options.provide;\r\n if (provideOption) {\r\n var provided = isFunction(provideOption)\r\n ? provideOption.call(vm)\r\n : provideOption;\r\n if (!isObject(provided)) {\r\n return;\r\n }\r\n var source = resolveProvided(vm);\r\n // IE9 doesn't support Object.getOwnPropertyDescriptors so we have to\r\n // iterate the keys ourselves.\r\n var keys = hasSymbol ? Reflect.ownKeys(provided) : Object.keys(provided);\r\n for (var i = 0; i < keys.length; i++) {\r\n var key = keys[i];\r\n Object.defineProperty(source, key, Object.getOwnPropertyDescriptor(provided, key));\r\n }\r\n }\r\n}\r\nfunction initInjections(vm) {\r\n var result = resolveInject(vm.$options.inject, vm);\r\n if (result) {\r\n toggleObserving(false);\r\n Object.keys(result).forEach(function (key) {\r\n /* istanbul ignore else */\r\n if (process.env.NODE_ENV !== 'production') {\r\n defineReactive(vm, key, result[key], function () {\r\n warn(\"Avoid mutating an injected value directly since the changes will be \" +\r\n \"overwritten whenever the provided component re-renders. \" +\r\n \"injection being mutated: \\\"\".concat(key, \"\\\"\"), vm);\r\n });\r\n }\r\n else {\r\n defineReactive(vm, key, result[key]);\r\n }\r\n });\r\n toggleObserving(true);\r\n }\r\n}\r\nfunction resolveInject(inject, vm) {\r\n if (inject) {\r\n // inject is :any because flow is not smart enough to figure out cached\r\n var result = Object.create(null);\r\n var keys = hasSymbol ? Reflect.ownKeys(inject) : Object.keys(inject);\r\n for (var i = 0; i < keys.length; i++) {\r\n var key = keys[i];\r\n // #6574 in case the inject object is observed...\r\n if (key === '__ob__')\r\n continue;\r\n var provideKey = inject[key].from;\r\n if (provideKey in vm._provided) {\r\n result[key] = vm._provided[provideKey];\r\n }\r\n else if ('default' in inject[key]) {\r\n var provideDefault = inject[key].default;\r\n result[key] = isFunction(provideDefault)\r\n ? provideDefault.call(vm)\r\n : provideDefault;\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"Injection \\\"\".concat(key, \"\\\" not found\"), vm);\r\n }\r\n }\r\n return result;\r\n }\r\n}\n\nfunction FunctionalRenderContext(data, props, children, parent, Ctor) {\r\n var _this = this;\r\n var options = Ctor.options;\r\n // ensure the createElement function in functional components\r\n // gets a unique context - this is necessary for correct named slot check\r\n var contextVm;\r\n if (hasOwn(parent, '_uid')) {\r\n contextVm = Object.create(parent);\r\n contextVm._original = parent;\r\n }\r\n else {\r\n // the context vm passed in is a functional context as well.\r\n // in this case we want to make sure we are able to get a hold to the\r\n // real context instance.\r\n contextVm = parent;\r\n // @ts-ignore\r\n parent = parent._original;\r\n }\r\n var isCompiled = isTrue(options._compiled);\r\n var needNormalization = !isCompiled;\r\n this.data = data;\r\n this.props = props;\r\n this.children = children;\r\n this.parent = parent;\r\n this.listeners = data.on || emptyObject;\r\n this.injections = resolveInject(options.inject, parent);\r\n this.slots = function () {\r\n if (!_this.$slots) {\r\n normalizeScopedSlots(parent, data.scopedSlots, (_this.$slots = resolveSlots(children, parent)));\r\n }\r\n return _this.$slots;\r\n };\r\n Object.defineProperty(this, 'scopedSlots', {\r\n enumerable: true,\r\n get: function () {\r\n return normalizeScopedSlots(parent, data.scopedSlots, this.slots());\r\n }\r\n });\r\n // support for compiled functional template\r\n if (isCompiled) {\r\n // exposing $options for renderStatic()\r\n this.$options = options;\r\n // pre-resolve slots for renderSlot()\r\n this.$slots = this.slots();\r\n this.$scopedSlots = normalizeScopedSlots(parent, data.scopedSlots, this.$slots);\r\n }\r\n if (options._scopeId) {\r\n this._c = function (a, b, c, d) {\r\n var vnode = createElement$1(contextVm, a, b, c, d, needNormalization);\r\n if (vnode && !isArray(vnode)) {\r\n vnode.fnScopeId = options._scopeId;\r\n vnode.fnContext = parent;\r\n }\r\n return vnode;\r\n };\r\n }\r\n else {\r\n this._c = function (a, b, c, d) {\r\n return createElement$1(contextVm, a, b, c, d, needNormalization);\r\n };\r\n }\r\n}\r\ninstallRenderHelpers(FunctionalRenderContext.prototype);\r\nfunction createFunctionalComponent(Ctor, propsData, data, contextVm, children) {\r\n var options = Ctor.options;\r\n var props = {};\r\n var propOptions = options.props;\r\n if (isDef(propOptions)) {\r\n for (var key in propOptions) {\r\n props[key] = validateProp(key, propOptions, propsData || emptyObject);\r\n }\r\n }\r\n else {\r\n if (isDef(data.attrs))\r\n mergeProps(props, data.attrs);\r\n if (isDef(data.props))\r\n mergeProps(props, data.props);\r\n }\r\n var renderContext = new FunctionalRenderContext(data, props, children, contextVm, Ctor);\r\n var vnode = options.render.call(null, renderContext._c, renderContext);\r\n if (vnode instanceof VNode) {\r\n return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext);\r\n }\r\n else if (isArray(vnode)) {\r\n var vnodes = normalizeChildren(vnode) || [];\r\n var res = new Array(vnodes.length);\r\n for (var i = 0; i < vnodes.length; i++) {\r\n res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);\r\n }\r\n return res;\r\n }\r\n}\r\nfunction cloneAndMarkFunctionalResult(vnode, data, contextVm, options, renderContext) {\r\n // #7817 clone node before setting fnContext, otherwise if the node is reused\r\n // (e.g. it was from a cached normal slot) the fnContext causes named slots\r\n // that should not be matched to match.\r\n var clone = cloneVNode(vnode);\r\n clone.fnContext = contextVm;\r\n clone.fnOptions = options;\r\n if (process.env.NODE_ENV !== 'production') {\r\n (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext =\r\n renderContext;\r\n }\r\n if (data.slot) {\r\n (clone.data || (clone.data = {})).slot = data.slot;\r\n }\r\n return clone;\r\n}\r\nfunction mergeProps(to, from) {\r\n for (var key in from) {\r\n to[camelize(key)] = from[key];\r\n }\r\n}\n\nfunction getComponentName(options) {\r\n return options.name || options.__name || options._componentTag;\r\n}\r\n// inline hooks to be invoked on component VNodes during patch\r\nvar componentVNodeHooks = {\r\n init: function (vnode, hydrating) {\r\n if (vnode.componentInstance &&\r\n !vnode.componentInstance._isDestroyed &&\r\n vnode.data.keepAlive) {\r\n // kept-alive components, treat as a patch\r\n var mountedNode = vnode; // work around flow\r\n componentVNodeHooks.prepatch(mountedNode, mountedNode);\r\n }\r\n else {\r\n var child = (vnode.componentInstance = createComponentInstanceForVnode(vnode, activeInstance));\r\n child.$mount(hydrating ? vnode.elm : undefined, hydrating);\r\n }\r\n },\r\n prepatch: function (oldVnode, vnode) {\r\n var options = vnode.componentOptions;\r\n var child = (vnode.componentInstance = oldVnode.componentInstance);\r\n updateChildComponent(child, options.propsData, // updated props\r\n options.listeners, // updated listeners\r\n vnode, // new parent vnode\r\n options.children // new children\r\n );\r\n },\r\n insert: function (vnode) {\r\n var context = vnode.context, componentInstance = vnode.componentInstance;\r\n if (!componentInstance._isMounted) {\r\n componentInstance._isMounted = true;\r\n callHook$1(componentInstance, 'mounted');\r\n }\r\n if (vnode.data.keepAlive) {\r\n if (context._isMounted) {\r\n // vue-router#1212\r\n // During updates, a kept-alive component's child components may\r\n // change, so directly walking the tree here may call activated hooks\r\n // on incorrect children. Instead we push them into a queue which will\r\n // be processed after the whole patch process ended.\r\n queueActivatedComponent(componentInstance);\r\n }\r\n else {\r\n activateChildComponent(componentInstance, true /* direct */);\r\n }\r\n }\r\n },\r\n destroy: function (vnode) {\r\n var componentInstance = vnode.componentInstance;\r\n if (!componentInstance._isDestroyed) {\r\n if (!vnode.data.keepAlive) {\r\n componentInstance.$destroy();\r\n }\r\n else {\r\n deactivateChildComponent(componentInstance, true /* direct */);\r\n }\r\n }\r\n }\r\n};\r\nvar hooksToMerge = Object.keys(componentVNodeHooks);\r\nfunction createComponent(Ctor, data, context, children, tag) {\r\n if (isUndef(Ctor)) {\r\n return;\r\n }\r\n var baseCtor = context.$options._base;\r\n // plain options object: turn it into a constructor\r\n if (isObject(Ctor)) {\r\n Ctor = baseCtor.extend(Ctor);\r\n }\r\n // if at this stage it's not a constructor or an async component factory,\r\n // reject.\r\n if (typeof Ctor !== 'function') {\r\n if (process.env.NODE_ENV !== 'production') {\r\n warn(\"Invalid Component definition: \".concat(String(Ctor)), context);\r\n }\r\n return;\r\n }\r\n // async component\r\n var asyncFactory;\r\n // @ts-expect-error\r\n if (isUndef(Ctor.cid)) {\r\n asyncFactory = Ctor;\r\n Ctor = resolveAsyncComponent(asyncFactory, baseCtor);\r\n if (Ctor === undefined) {\r\n // return a placeholder node for async component, which is rendered\r\n // as a comment node but preserves all the raw information for the node.\r\n // the information will be used for async server-rendering and hydration.\r\n return createAsyncPlaceholder(asyncFactory, data, context, children, tag);\r\n }\r\n }\r\n data = data || {};\r\n // resolve constructor options in case global mixins are applied after\r\n // component constructor creation\r\n resolveConstructorOptions(Ctor);\r\n // transform component v-model data into props & events\r\n if (isDef(data.model)) {\r\n // @ts-expect-error\r\n transformModel(Ctor.options, data);\r\n }\r\n // extract props\r\n // @ts-expect-error\r\n var propsData = extractPropsFromVNodeData(data, Ctor, tag);\r\n // functional component\r\n // @ts-expect-error\r\n if (isTrue(Ctor.options.functional)) {\r\n return createFunctionalComponent(Ctor, propsData, data, context, children);\r\n }\r\n // extract listeners, since these needs to be treated as\r\n // child component listeners instead of DOM listeners\r\n var listeners = data.on;\r\n // replace with listeners with .native modifier\r\n // so it gets processed during parent component patch.\r\n data.on = data.nativeOn;\r\n // @ts-expect-error\r\n if (isTrue(Ctor.options.abstract)) {\r\n // abstract components do not keep anything\r\n // other than props & listeners & slot\r\n // work around flow\r\n var slot = data.slot;\r\n data = {};\r\n if (slot) {\r\n data.slot = slot;\r\n }\r\n }\r\n // install component management hooks onto the placeholder node\r\n installComponentHooks(data);\r\n // return a placeholder vnode\r\n // @ts-expect-error\r\n var name = getComponentName(Ctor.options) || tag;\r\n var vnode = new VNode(\r\n // @ts-expect-error\r\n \"vue-component-\".concat(Ctor.cid).concat(name ? \"-\".concat(name) : ''), data, undefined, undefined, undefined, context, \r\n // @ts-expect-error\r\n { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children }, asyncFactory);\r\n return vnode;\r\n}\r\nfunction createComponentInstanceForVnode(\r\n// we know it's MountedComponentVNode but flow doesn't\r\nvnode, \r\n// activeInstance in lifecycle state\r\nparent) {\r\n var options = {\r\n _isComponent: true,\r\n _parentVnode: vnode,\r\n parent: parent\r\n };\r\n // check inline-template render functions\r\n var inlineTemplate = vnode.data.inlineTemplate;\r\n if (isDef(inlineTemplate)) {\r\n options.render = inlineTemplate.render;\r\n options.staticRenderFns = inlineTemplate.staticRenderFns;\r\n }\r\n return new vnode.componentOptions.Ctor(options);\r\n}\r\nfunction installComponentHooks(data) {\r\n var hooks = data.hook || (data.hook = {});\r\n for (var i = 0; i < hooksToMerge.length; i++) {\r\n var key = hooksToMerge[i];\r\n var existing = hooks[key];\r\n var toMerge = componentVNodeHooks[key];\r\n // @ts-expect-error\r\n if (existing !== toMerge && !(existing && existing._merged)) {\r\n hooks[key] = existing ? mergeHook(toMerge, existing) : toMerge;\r\n }\r\n }\r\n}\r\nfunction mergeHook(f1, f2) {\r\n var merged = function (a, b) {\r\n // flow complains about extra args which is why we use any\r\n f1(a, b);\r\n f2(a, b);\r\n };\r\n merged._merged = true;\r\n return merged;\r\n}\r\n// transform component v-model info (value and callback) into\r\n// prop and event handler respectively.\r\nfunction transformModel(options, data) {\r\n var prop = (options.model && options.model.prop) || 'value';\r\n var event = (options.model && options.model.event) || 'input';\r\n (data.attrs || (data.attrs = {}))[prop] = data.model.value;\r\n var on = data.on || (data.on = {});\r\n var existing = on[event];\r\n var callback = data.model.callback;\r\n if (isDef(existing)) {\r\n if (isArray(existing)\r\n ? existing.indexOf(callback) === -1\r\n : existing !== callback) {\r\n on[event] = [callback].concat(existing);\r\n }\r\n }\r\n else {\r\n on[event] = callback;\r\n }\r\n}\n\nvar warn = noop;\r\nvar tip = noop;\r\nvar generateComponentTrace; // work around flow check\r\nvar formatComponentName;\r\nif (process.env.NODE_ENV !== 'production') {\r\n var hasConsole_1 = typeof console !== 'undefined';\r\n var classifyRE_1 = /(?:^|[-_])(\\w)/g;\r\n var classify_1 = function (str) {\r\n return str.replace(classifyRE_1, function (c) { return c.toUpperCase(); }).replace(/[-_]/g, '');\r\n };\r\n warn = function (msg, vm) {\r\n if (vm === void 0) { vm = currentInstance; }\r\n var trace = vm ? generateComponentTrace(vm) : '';\r\n if (config.warnHandler) {\r\n config.warnHandler.call(null, msg, vm, trace);\r\n }\r\n else if (hasConsole_1 && !config.silent) {\r\n console.error(\"[Vue warn]: \".concat(msg).concat(trace));\r\n }\r\n };\r\n tip = function (msg, vm) {\r\n if (hasConsole_1 && !config.silent) {\r\n console.warn(\"[Vue tip]: \".concat(msg) + (vm ? generateComponentTrace(vm) : ''));\r\n }\r\n };\r\n formatComponentName = function (vm, includeFile) {\r\n if (vm.$root === vm) {\r\n return '<Root>';\r\n }\r\n var options = isFunction(vm) && vm.cid != null\r\n ? vm.options\r\n : vm._isVue\r\n ? vm.$options || vm.constructor.options\r\n : vm;\r\n var name = getComponentName(options);\r\n var file = options.__file;\r\n if (!name && file) {\r\n var match = file.match(/([^/\\\\]+)\\.vue$/);\r\n name = match && match[1];\r\n }\r\n return ((name ? \"<\".concat(classify_1(name), \">\") : \"<Anonymous>\") +\r\n (file && includeFile !== false ? \" at \".concat(file) : ''));\r\n };\r\n var repeat_1 = function (str, n) {\r\n var res = '';\r\n while (n) {\r\n if (n % 2 === 1)\r\n res += str;\r\n if (n > 1)\r\n str += str;\r\n n >>= 1;\r\n }\r\n return res;\r\n };\r\n generateComponentTrace = function (vm) {\r\n if (vm._isVue && vm.$parent) {\r\n var tree = [];\r\n var currentRecursiveSequence = 0;\r\n while (vm) {\r\n if (tree.length > 0) {\r\n var last = tree[tree.length - 1];\r\n if (last.constructor === vm.constructor) {\r\n currentRecursiveSequence++;\r\n vm = vm.$parent;\r\n continue;\r\n }\r\n else if (currentRecursiveSequence > 0) {\r\n tree[tree.length - 1] = [last, currentRecursiveSequence];\r\n currentRecursiveSequence = 0;\r\n }\r\n }\r\n tree.push(vm);\r\n vm = vm.$parent;\r\n }\r\n return ('\\n\\nfound in\\n\\n' +\r\n tree\r\n .map(function (vm, i) {\r\n return \"\".concat(i === 0 ? '---> ' : repeat_1(' ', 5 + i * 2)).concat(isArray(vm)\r\n ? \"\".concat(formatComponentName(vm[0]), \"... (\").concat(vm[1], \" recursive calls)\")\r\n : formatComponentName(vm));\r\n })\r\n .join('\\n'));\r\n }\r\n else {\r\n return \"\\n\\n(found in \".concat(formatComponentName(vm), \")\");\r\n }\r\n };\r\n}\n\n/**\r\n * Option overwriting strategies are functions that handle\r\n * how to merge a parent option value and a child option\r\n * value into the final value.\r\n */\r\nvar strats = config.optionMergeStrategies;\r\n/**\r\n * Options with restrictions\r\n */\r\nif (process.env.NODE_ENV !== 'production') {\r\n strats.el = strats.propsData = function (parent, child, vm, key) {\r\n if (!vm) {\r\n warn(\"option \\\"\".concat(key, \"\\\" can only be used during instance \") +\r\n 'creation with the `new` keyword.');\r\n }\r\n return defaultStrat(parent, child);\r\n };\r\n}\r\n/**\r\n * Helper that recursively merges two data objects together.\r\n */\r\nfunction mergeData(to, from) {\r\n if (!from)\r\n return to;\r\n var key, toVal, fromVal;\r\n var keys = hasSymbol\r\n ? Reflect.ownKeys(from)\r\n : Object.keys(from);\r\n for (var i = 0; i < keys.length; i++) {\r\n key = keys[i];\r\n // in case the object is already observed...\r\n if (key === '__ob__')\r\n continue;\r\n toVal = to[key];\r\n fromVal = from[key];\r\n if (!hasOwn(to, key)) {\r\n set(to, key, fromVal);\r\n }\r\n else if (toVal !== fromVal &&\r\n isPlainObject(toVal) &&\r\n isPlainObject(fromVal)) {\r\n mergeData(toVal, fromVal);\r\n }\r\n }\r\n return to;\r\n}\r\n/**\r\n * Data\r\n */\r\nfunction mergeDataOrFn(parentVal, childVal, vm) {\r\n if (!vm) {\r\n // in a Vue.extend merge, both should be functions\r\n if (!childVal) {\r\n return parentVal;\r\n }\r\n if (!parentVal) {\r\n return childVal;\r\n }\r\n // when parentVal & childVal are both present,\r\n // we need to return a function that returns the\r\n // merged result of both functions... no need to\r\n // check if parentVal is a function here because\r\n // it has to be a function to pass previous merges.\r\n return function mergedDataFn() {\r\n return mergeData(isFunction(childVal) ? childVal.call(this, this) : childVal, isFunction(parentVal) ? parentVal.call(this, this) : parentVal);\r\n };\r\n }\r\n else {\r\n return function mergedInstanceDataFn() {\r\n // instance merge\r\n var instanceData = isFunction(childVal)\r\n ? childVal.call(vm, vm)\r\n : childVal;\r\n var defaultData = isFunction(parentVal)\r\n ? parentVal.call(vm, vm)\r\n : parentVal;\r\n if (instanceData) {\r\n return mergeData(instanceData, defaultData);\r\n }\r\n else {\r\n return defaultData;\r\n }\r\n };\r\n }\r\n}\r\nstrats.data = function (parentVal, childVal, vm) {\r\n if (!vm) {\r\n if (childVal && typeof childVal !== 'function') {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn('The \"data\" option should be a function ' +\r\n 'that returns a per-instance value in component ' +\r\n 'definitions.', vm);\r\n return parentVal;\r\n }\r\n return mergeDataOrFn(parentVal, childVal);\r\n }\r\n return mergeDataOrFn(parentVal, childVal, vm);\r\n};\r\n/**\r\n * Hooks and props are merged as arrays.\r\n */\r\nfunction mergeLifecycleHook(parentVal, childVal) {\r\n var res = childVal\r\n ? parentVal\r\n ? parentVal.concat(childVal)\r\n : isArray(childVal)\r\n ? childVal\r\n : [childVal]\r\n : parentVal;\r\n return res ? dedupeHooks(res) : res;\r\n}\r\nfunction dedupeHooks(hooks) {\r\n var res = [];\r\n for (var i = 0; i < hooks.length; i++) {\r\n if (res.indexOf(hooks[i]) === -1) {\r\n res.push(hooks[i]);\r\n }\r\n }\r\n return res;\r\n}\r\nLIFECYCLE_HOOKS.forEach(function (hook) {\r\n strats[hook] = mergeLifecycleHook;\r\n});\r\n/**\r\n * Assets\r\n *\r\n * When a vm is present (instance creation), we need to do\r\n * a three-way merge between constructor options, instance\r\n * options and parent options.\r\n */\r\nfunction mergeAssets(parentVal, childVal, vm, key) {\r\n var res = Object.create(parentVal || null);\r\n if (childVal) {\r\n process.env.NODE_ENV !== 'production' && assertObjectType(key, childVal, vm);\r\n return extend(res, childVal);\r\n }\r\n else {\r\n return res;\r\n }\r\n}\r\nASSET_TYPES.forEach(function (type) {\r\n strats[type + 's'] = mergeAssets;\r\n});\r\n/**\r\n * Watchers.\r\n *\r\n * Watchers hashes should not overwrite one\r\n * another, so we merge them as arrays.\r\n */\r\nstrats.watch = function (parentVal, childVal, vm, key) {\r\n // work around Firefox's Object.prototype.watch...\r\n //@ts-expect-error work around\r\n if (parentVal === nativeWatch)\r\n parentVal = undefined;\r\n //@ts-expect-error work around\r\n if (childVal === nativeWatch)\r\n childVal = undefined;\r\n /* istanbul ignore if */\r\n if (!childVal)\r\n return Object.create(parentVal || null);\r\n if (process.env.NODE_ENV !== 'production') {\r\n assertObjectType(key, childVal, vm);\r\n }\r\n if (!parentVal)\r\n return childVal;\r\n var ret = {};\r\n extend(ret, parentVal);\r\n for (var key_1 in childVal) {\r\n var parent_1 = ret[key_1];\r\n var child = childVal[key_1];\r\n if (parent_1 && !isArray(parent_1)) {\r\n parent_1 = [parent_1];\r\n }\r\n ret[key_1] = parent_1 ? parent_1.concat(child) : isArray(child) ? child : [child];\r\n }\r\n return ret;\r\n};\r\n/**\r\n * Other object hashes.\r\n */\r\nstrats.props =\r\n strats.methods =\r\n strats.inject =\r\n strats.computed =\r\n function (parentVal, childVal, vm, key) {\r\n if (childVal && process.env.NODE_ENV !== 'production') {\r\n assertObjectType(key, childVal, vm);\r\n }\r\n if (!parentVal)\r\n return childVal;\r\n var ret = Object.create(null);\r\n extend(ret, parentVal);\r\n if (childVal)\r\n extend(ret, childVal);\r\n return ret;\r\n };\r\nstrats.provide = mergeDataOrFn;\r\n/**\r\n * Default strategy.\r\n */\r\nvar defaultStrat = function (parentVal, childVal) {\r\n return childVal === undefined ? parentVal : childVal;\r\n};\r\n/**\r\n * Validate component names\r\n */\r\nfunction checkComponents(options) {\r\n for (var key in options.components) {\r\n validateComponentName(key);\r\n }\r\n}\r\nfunction validateComponentName(name) {\r\n if (!new RegExp(\"^[a-zA-Z][\\\\-\\\\.0-9_\".concat(unicodeRegExp.source, \"]*$\")).test(name)) {\r\n warn('Invalid component name: \"' +\r\n name +\r\n '\". Component names ' +\r\n 'should conform to valid custom element name in html5 specification.');\r\n }\r\n if (isBuiltInTag(name) || config.isReservedTag(name)) {\r\n warn('Do not use built-in or reserved HTML elements as component ' +\r\n 'id: ' +\r\n name);\r\n }\r\n}\r\n/**\r\n * Ensure all props option syntax are normalized into the\r\n * Object-based format.\r\n */\r\nfunction normalizeProps(options, vm) {\r\n var props = options.props;\r\n if (!props)\r\n return;\r\n var res = {};\r\n var i, val, name;\r\n if (isArray(props)) {\r\n i = props.length;\r\n while (i--) {\r\n val = props[i];\r\n if (typeof val === 'string') {\r\n name = camelize(val);\r\n res[name] = { type: null };\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn('props must be strings when using array syntax.');\r\n }\r\n }\r\n }\r\n else if (isPlainObject(props)) {\r\n for (var key in props) {\r\n val = props[key];\r\n name = camelize(key);\r\n res[name] = isPlainObject(val) ? val : { type: val };\r\n }\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"Invalid value for option \\\"props\\\": expected an Array or an Object, \" +\r\n \"but got \".concat(toRawType(props), \".\"), vm);\r\n }\r\n options.props = res;\r\n}\r\n/**\r\n * Normalize all injections into Object-based format\r\n */\r\nfunction normalizeInject(options, vm) {\r\n var inject = options.inject;\r\n if (!inject)\r\n return;\r\n var normalized = (options.inject = {});\r\n if (isArray(inject)) {\r\n for (var i = 0; i < inject.length; i++) {\r\n normalized[inject[i]] = { from: inject[i] };\r\n }\r\n }\r\n else if (isPlainObject(inject)) {\r\n for (var key in inject) {\r\n var val = inject[key];\r\n normalized[key] = isPlainObject(val)\r\n ? extend({ from: key }, val)\r\n : { from: val };\r\n }\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" +\r\n \"but got \".concat(toRawType(inject), \".\"), vm);\r\n }\r\n}\r\n/**\r\n * Normalize raw function directives into object format.\r\n */\r\nfunction normalizeDirectives$1(options) {\r\n var dirs = options.directives;\r\n if (dirs) {\r\n for (var key in dirs) {\r\n var def = dirs[key];\r\n if (isFunction(def)) {\r\n dirs[key] = { bind: def, update: def };\r\n }\r\n }\r\n }\r\n}\r\nfunction assertObjectType(name, value, vm) {\r\n if (!isPlainObject(value)) {\r\n warn(\"Invalid value for option \\\"\".concat(name, \"\\\": expected an Object, \") +\r\n \"but got \".concat(toRawType(value), \".\"), vm);\r\n }\r\n}\r\n/**\r\n * Merge two option objects into a new one.\r\n * Core utility used in both instantiation and inheritance.\r\n */\r\nfunction mergeOptions(parent, child, vm) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n checkComponents(child);\r\n }\r\n if (isFunction(child)) {\r\n // @ts-expect-error\r\n child = child.options;\r\n }\r\n normalizeProps(child, vm);\r\n normalizeInject(child, vm);\r\n normalizeDirectives$1(child);\r\n // Apply extends and mixins on the child options,\r\n // but only if it is a raw options object that isn't\r\n // the result of another mergeOptions call.\r\n // Only merged options has the _base property.\r\n if (!child._base) {\r\n if (child.extends) {\r\n parent = mergeOptions(parent, child.extends, vm);\r\n }\r\n if (child.mixins) {\r\n for (var i = 0, l = child.mixins.length; i < l; i++) {\r\n parent = mergeOptions(parent, child.mixins[i], vm);\r\n }\r\n }\r\n }\r\n var options = {};\r\n var key;\r\n for (key in parent) {\r\n mergeField(key);\r\n }\r\n for (key in child) {\r\n if (!hasOwn(parent, key)) {\r\n mergeField(key);\r\n }\r\n }\r\n function mergeField(key) {\r\n var strat = strats[key] || defaultStrat;\r\n options[key] = strat(parent[key], child[key], vm, key);\r\n }\r\n return options;\r\n}\r\n/**\r\n * Resolve an asset.\r\n * This function is used because child instances need access\r\n * to assets defined in its ancestor chain.\r\n */\r\nfunction resolveAsset(options, type, id, warnMissing) {\r\n /* istanbul ignore if */\r\n if (typeof id !== 'string') {\r\n return;\r\n }\r\n var assets = options[type];\r\n // check local registration variations first\r\n if (hasOwn(assets, id))\r\n return assets[id];\r\n var camelizedId = camelize(id);\r\n if (hasOwn(assets, camelizedId))\r\n return assets[camelizedId];\r\n var PascalCaseId = capitalize(camelizedId);\r\n if (hasOwn(assets, PascalCaseId))\r\n return assets[PascalCaseId];\r\n // fallback to prototype chain\r\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\r\n if (process.env.NODE_ENV !== 'production' && warnMissing && !res) {\r\n warn('Failed to resolve ' + type.slice(0, -1) + ': ' + id);\r\n }\r\n return res;\r\n}\n\nfunction validateProp(key, propOptions, propsData, vm) {\r\n var prop = propOptions[key];\r\n var absent = !hasOwn(propsData, key);\r\n var value = propsData[key];\r\n // boolean casting\r\n var booleanIndex = getTypeIndex(Boolean, prop.type);\r\n if (booleanIndex > -1) {\r\n if (absent && !hasOwn(prop, 'default')) {\r\n value = false;\r\n }\r\n else if (value === '' || value === hyphenate(key)) {\r\n // only cast empty string / same name to boolean if\r\n // boolean has higher priority\r\n var stringIndex = getTypeIndex(String, prop.type);\r\n if (stringIndex < 0 || booleanIndex < stringIndex) {\r\n value = true;\r\n }\r\n }\r\n }\r\n // check default value\r\n if (value === undefined) {\r\n value = getPropDefaultValue(vm, prop, key);\r\n // since the default value is a fresh copy,\r\n // make sure to observe it.\r\n var prevShouldObserve = shouldObserve;\r\n toggleObserving(true);\r\n observe(value);\r\n toggleObserving(prevShouldObserve);\r\n }\r\n if (process.env.NODE_ENV !== 'production') {\r\n assertProp(prop, key, value, vm, absent);\r\n }\r\n return value;\r\n}\r\n/**\r\n * Get the default value of a prop.\r\n */\r\nfunction getPropDefaultValue(vm, prop, key) {\r\n // no default, return undefined\r\n if (!hasOwn(prop, 'default')) {\r\n return undefined;\r\n }\r\n var def = prop.default;\r\n // warn against non-factory defaults for Object & Array\r\n if (process.env.NODE_ENV !== 'production' && isObject(def)) {\r\n warn('Invalid default value for prop \"' +\r\n key +\r\n '\": ' +\r\n 'Props with type Object/Array must use a factory function ' +\r\n 'to return the default value.', vm);\r\n }\r\n // the raw prop value was also undefined from previous render,\r\n // return previous default value to avoid unnecessary watcher trigger\r\n if (vm &&\r\n vm.$options.propsData &&\r\n vm.$options.propsData[key] === undefined &&\r\n vm._props[key] !== undefined) {\r\n return vm._props[key];\r\n }\r\n // call factory function for non-Function types\r\n // a value is Function if its prototype is function even across different execution context\r\n return isFunction(def) && getType(prop.type) !== 'Function'\r\n ? def.call(vm)\r\n : def;\r\n}\r\n/**\r\n * Assert whether a prop is valid.\r\n */\r\nfunction assertProp(prop, name, value, vm, absent) {\r\n if (prop.required && absent) {\r\n warn('Missing required prop: \"' + name + '\"', vm);\r\n return;\r\n }\r\n if (value == null && !prop.required) {\r\n return;\r\n }\r\n var type = prop.type;\r\n var valid = !type || type === true;\r\n var expectedTypes = [];\r\n if (type) {\r\n if (!isArray(type)) {\r\n type = [type];\r\n }\r\n for (var i = 0; i < type.length && !valid; i++) {\r\n var assertedType = assertType(value, type[i], vm);\r\n expectedTypes.push(assertedType.expectedType || '');\r\n valid = assertedType.valid;\r\n }\r\n }\r\n var haveExpectedTypes = expectedTypes.some(function (t) { return t; });\r\n if (!valid && haveExpectedTypes) {\r\n warn(getInvalidTypeMessage(name, value, expectedTypes), vm);\r\n return;\r\n }\r\n var validator = prop.validator;\r\n if (validator) {\r\n if (!validator(value)) {\r\n warn('Invalid prop: custom validator check failed for prop \"' + name + '\".', vm);\r\n }\r\n }\r\n}\r\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol|BigInt)$/;\r\nfunction assertType(value, type, vm) {\r\n var valid;\r\n var expectedType = getType(type);\r\n if (simpleCheckRE.test(expectedType)) {\r\n var t = typeof value;\r\n valid = t === expectedType.toLowerCase();\r\n // for primitive wrapper objects\r\n if (!valid && t === 'object') {\r\n valid = value instanceof type;\r\n }\r\n }\r\n else if (expectedType === 'Object') {\r\n valid = isPlainObject(value);\r\n }\r\n else if (expectedType === 'Array') {\r\n valid = isArray(value);\r\n }\r\n else {\r\n try {\r\n valid = value instanceof type;\r\n }\r\n catch (e) {\r\n warn('Invalid prop type: \"' + String(type) + '\" is not a constructor', vm);\r\n valid = false;\r\n }\r\n }\r\n return {\r\n valid: valid,\r\n expectedType: expectedType\r\n };\r\n}\r\nvar functionTypeCheckRE = /^\\s*function (\\w+)/;\r\n/**\r\n * Use function string name to check built-in types,\r\n * because a simple equality check will fail when running\r\n * across different vms / iframes.\r\n */\r\nfunction getType(fn) {\r\n var match = fn && fn.toString().match(functionTypeCheckRE);\r\n return match ? match[1] : '';\r\n}\r\nfunction isSameType(a, b) {\r\n return getType(a) === getType(b);\r\n}\r\nfunction getTypeIndex(type, expectedTypes) {\r\n if (!isArray(expectedTypes)) {\r\n return isSameType(expectedTypes, type) ? 0 : -1;\r\n }\r\n for (var i = 0, len = expectedTypes.length; i < len; i++) {\r\n if (isSameType(expectedTypes[i], type)) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n}\r\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\r\n var message = \"Invalid prop: type check failed for prop \\\"\".concat(name, \"\\\".\") +\r\n \" Expected \".concat(expectedTypes.map(capitalize).join(', '));\r\n var expectedType = expectedTypes[0];\r\n var receivedType = toRawType(value);\r\n // check if we need to specify expected value\r\n if (expectedTypes.length === 1 &&\r\n isExplicable(expectedType) &&\r\n isExplicable(typeof value) &&\r\n !isBoolean(expectedType, receivedType)) {\r\n message += \" with value \".concat(styleValue(value, expectedType));\r\n }\r\n message += \", got \".concat(receivedType, \" \");\r\n // check if we need to specify received value\r\n if (isExplicable(receivedType)) {\r\n message += \"with value \".concat(styleValue(value, receivedType), \".\");\r\n }\r\n return message;\r\n}\r\nfunction styleValue(value, type) {\r\n if (type === 'String') {\r\n return \"\\\"\".concat(value, \"\\\"\");\r\n }\r\n else if (type === 'Number') {\r\n return \"\".concat(Number(value));\r\n }\r\n else {\r\n return \"\".concat(value);\r\n }\r\n}\r\nvar EXPLICABLE_TYPES = ['string', 'number', 'boolean'];\r\nfunction isExplicable(value) {\r\n return EXPLICABLE_TYPES.some(function (elem) { return value.toLowerCase() === elem; });\r\n}\r\nfunction isBoolean() {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; });\r\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\r\nvar initProxy;\r\nif (process.env.NODE_ENV !== 'production') {\r\n var allowedGlobals_1 = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' +\r\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\r\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' +\r\n 'require' // for Webpack/Browserify\r\n );\r\n var warnNonPresent_1 = function (target, key) {\r\n warn(\"Property or method \\\"\".concat(key, \"\\\" is not defined on the instance but \") +\r\n 'referenced during render. Make sure that this property is reactive, ' +\r\n 'either in the data option, or for class-based components, by ' +\r\n 'initializing the property. ' +\r\n 'See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.', target);\r\n };\r\n var warnReservedPrefix_1 = function (target, key) {\r\n warn(\"Property \\\"\".concat(key, \"\\\" must be accessed with \\\"$data.\").concat(key, \"\\\" because \") +\r\n 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\r\n 'prevent conflicts with Vue internals. ' +\r\n 'See: https://v2.vuejs.org/v2/api/#data', target);\r\n };\r\n var hasProxy_1 = typeof Proxy !== 'undefined' && isNative(Proxy);\r\n if (hasProxy_1) {\r\n var isBuiltInModifier_1 = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\r\n config.keyCodes = new Proxy(config.keyCodes, {\r\n set: function (target, key, value) {\r\n if (isBuiltInModifier_1(key)) {\r\n warn(\"Avoid overwriting built-in modifier in config.keyCodes: .\".concat(key));\r\n return false;\r\n }\r\n else {\r\n target[key] = value;\r\n return true;\r\n }\r\n }\r\n });\r\n }\r\n var hasHandler_1 = {\r\n has: function (target, key) {\r\n var has = key in target;\r\n var isAllowed = allowedGlobals_1(key) ||\r\n (typeof key === 'string' &&\r\n key.charAt(0) === '_' &&\r\n !(key in target.$data));\r\n if (!has && !isAllowed) {\r\n if (key in target.$data)\r\n warnReservedPrefix_1(target, key);\r\n else\r\n warnNonPresent_1(target, key);\r\n }\r\n return has || !isAllowed;\r\n }\r\n };\r\n var getHandler_1 = {\r\n get: function (target, key) {\r\n if (typeof key === 'string' && !(key in target)) {\r\n if (key in target.$data)\r\n warnReservedPrefix_1(target, key);\r\n else\r\n warnNonPresent_1(target, key);\r\n }\r\n return target[key];\r\n }\r\n };\r\n initProxy = function initProxy(vm) {\r\n if (hasProxy_1) {\r\n // determine which proxy handler to use\r\n var options = vm.$options;\r\n var handlers = options.render && options.render._withStripped ? getHandler_1 : hasHandler_1;\r\n vm._renderProxy = new Proxy(vm, handlers);\r\n }\r\n else {\r\n vm._renderProxy = vm;\r\n }\r\n };\r\n}\n\nvar sharedPropertyDefinition = {\r\n enumerable: true,\r\n configurable: true,\r\n get: noop,\r\n set: noop\r\n};\r\nfunction proxy(target, sourceKey, key) {\r\n sharedPropertyDefinition.get = function proxyGetter() {\r\n return this[sourceKey][key];\r\n };\r\n sharedPropertyDefinition.set = function proxySetter(val) {\r\n this[sourceKey][key] = val;\r\n };\r\n Object.defineProperty(target, key, sharedPropertyDefinition);\r\n}\r\nfunction initState(vm) {\r\n var opts = vm.$options;\r\n if (opts.props)\r\n initProps$1(vm, opts.props);\r\n // Composition API\r\n initSetup(vm);\r\n if (opts.methods)\r\n initMethods(vm, opts.methods);\r\n if (opts.data) {\r\n initData(vm);\r\n }\r\n else {\r\n var ob = observe((vm._data = {}));\r\n ob && ob.vmCount++;\r\n }\r\n if (opts.computed)\r\n initComputed$1(vm, opts.computed);\r\n if (opts.watch && opts.watch !== nativeWatch) {\r\n initWatch(vm, opts.watch);\r\n }\r\n}\r\nfunction initProps$1(vm, propsOptions) {\r\n var propsData = vm.$options.propsData || {};\r\n var props = (vm._props = shallowReactive({}));\r\n // cache prop keys so that future props updates can iterate using Array\r\n // instead of dynamic object key enumeration.\r\n var keys = (vm.$options._propKeys = []);\r\n var isRoot = !vm.$parent;\r\n // root instance props should be converted\r\n if (!isRoot) {\r\n toggleObserving(false);\r\n }\r\n var _loop_1 = function (key) {\r\n keys.push(key);\r\n var value = validateProp(key, propsOptions, propsData, vm);\r\n /* istanbul ignore else */\r\n if (process.env.NODE_ENV !== 'production') {\r\n var hyphenatedKey = hyphenate(key);\r\n if (isReservedAttribute(hyphenatedKey) ||\r\n config.isReservedAttr(hyphenatedKey)) {\r\n warn(\"\\\"\".concat(hyphenatedKey, \"\\\" is a reserved attribute and cannot be used as component prop.\"), vm);\r\n }\r\n defineReactive(props, key, value, function () {\r\n if (!isRoot && !isUpdatingChildComponent) {\r\n warn(\"Avoid mutating a prop directly since the value will be \" +\r\n \"overwritten whenever the parent component re-renders. \" +\r\n \"Instead, use a data or computed property based on the prop's \" +\r\n \"value. Prop being mutated: \\\"\".concat(key, \"\\\"\"), vm);\r\n }\r\n });\r\n }\r\n else {\r\n defineReactive(props, key, value);\r\n }\r\n // static props are already proxied on the component's prototype\r\n // during Vue.extend(). We only need to proxy props defined at\r\n // instantiation here.\r\n if (!(key in vm)) {\r\n proxy(vm, \"_props\", key);\r\n }\r\n };\r\n for (var key in propsOptions) {\r\n _loop_1(key);\r\n }\r\n toggleObserving(true);\r\n}\r\nfunction initData(vm) {\r\n var data = vm.$options.data;\r\n data = vm._data = isFunction(data) ? getData(data, vm) : data || {};\r\n if (!isPlainObject(data)) {\r\n data = {};\r\n process.env.NODE_ENV !== 'production' &&\r\n warn('data functions should return an object:\\n' +\r\n 'https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function', vm);\r\n }\r\n // proxy data on instance\r\n var keys = Object.keys(data);\r\n var props = vm.$options.props;\r\n var methods = vm.$options.methods;\r\n var i = keys.length;\r\n while (i--) {\r\n var key = keys[i];\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (methods && hasOwn(methods, key)) {\r\n warn(\"Method \\\"\".concat(key, \"\\\" has already been defined as a data property.\"), vm);\r\n }\r\n }\r\n if (props && hasOwn(props, key)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"The data property \\\"\".concat(key, \"\\\" is already declared as a prop. \") +\r\n \"Use prop default value instead.\", vm);\r\n }\r\n else if (!isReserved(key)) {\r\n proxy(vm, \"_data\", key);\r\n }\r\n }\r\n // observe data\r\n var ob = observe(data);\r\n ob && ob.vmCount++;\r\n}\r\nfunction getData(data, vm) {\r\n // #7573 disable dep collection when invoking data getters\r\n pushTarget();\r\n try {\r\n return data.call(vm, vm);\r\n }\r\n catch (e) {\r\n handleError(e, vm, \"data()\");\r\n return {};\r\n }\r\n finally {\r\n popTarget();\r\n }\r\n}\r\nvar computedWatcherOptions = { lazy: true };\r\nfunction initComputed$1(vm, computed) {\r\n // $flow-disable-line\r\n var watchers = (vm._computedWatchers = Object.create(null));\r\n // computed properties are just getters during SSR\r\n var isSSR = isServerRendering();\r\n for (var key in computed) {\r\n var userDef = computed[key];\r\n var getter = isFunction(userDef) ? userDef : userDef.get;\r\n if (process.env.NODE_ENV !== 'production' && getter == null) {\r\n warn(\"Getter is missing for computed property \\\"\".concat(key, \"\\\".\"), vm);\r\n }\r\n if (!isSSR) {\r\n // create internal watcher for the computed property.\r\n watchers[key] = new Watcher(vm, getter || noop, noop, computedWatcherOptions);\r\n }\r\n // component-defined computed properties are already defined on the\r\n // component prototype. We only need to define computed properties defined\r\n // at instantiation here.\r\n if (!(key in vm)) {\r\n defineComputed(vm, key, userDef);\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n if (key in vm.$data) {\r\n warn(\"The computed property \\\"\".concat(key, \"\\\" is already defined in data.\"), vm);\r\n }\r\n else if (vm.$options.props && key in vm.$options.props) {\r\n warn(\"The computed property \\\"\".concat(key, \"\\\" is already defined as a prop.\"), vm);\r\n }\r\n else if (vm.$options.methods && key in vm.$options.methods) {\r\n warn(\"The computed property \\\"\".concat(key, \"\\\" is already defined as a method.\"), vm);\r\n }\r\n }\r\n }\r\n}\r\nfunction defineComputed(target, key, userDef) {\r\n var shouldCache = !isServerRendering();\r\n if (isFunction(userDef)) {\r\n sharedPropertyDefinition.get = shouldCache\r\n ? createComputedGetter(key)\r\n : createGetterInvoker(userDef);\r\n sharedPropertyDefinition.set = noop;\r\n }\r\n else {\r\n sharedPropertyDefinition.get = userDef.get\r\n ? shouldCache && userDef.cache !== false\r\n ? createComputedGetter(key)\r\n : createGetterInvoker(userDef.get)\r\n : noop;\r\n sharedPropertyDefinition.set = userDef.set || noop;\r\n }\r\n if (process.env.NODE_ENV !== 'production' && sharedPropertyDefinition.set === noop) {\r\n sharedPropertyDefinition.set = function () {\r\n warn(\"Computed property \\\"\".concat(key, \"\\\" was assigned to but it has no setter.\"), this);\r\n };\r\n }\r\n Object.defineProperty(target, key, sharedPropertyDefinition);\r\n}\r\nfunction createComputedGetter(key) {\r\n return function computedGetter() {\r\n var watcher = this._computedWatchers && this._computedWatchers[key];\r\n if (watcher) {\r\n if (watcher.dirty) {\r\n watcher.evaluate();\r\n }\r\n if (Dep.target) {\r\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\r\n Dep.target.onTrack({\r\n effect: Dep.target,\r\n target: this,\r\n type: \"get\" /* TrackOpTypes.GET */,\r\n key: key\r\n });\r\n }\r\n watcher.depend();\r\n }\r\n return watcher.value;\r\n }\r\n };\r\n}\r\nfunction createGetterInvoker(fn) {\r\n return function computedGetter() {\r\n return fn.call(this, this);\r\n };\r\n}\r\nfunction initMethods(vm, methods) {\r\n var props = vm.$options.props;\r\n for (var key in methods) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (typeof methods[key] !== 'function') {\r\n warn(\"Method \\\"\".concat(key, \"\\\" has type \\\"\").concat(typeof methods[key], \"\\\" in the component definition. \") +\r\n \"Did you reference the function correctly?\", vm);\r\n }\r\n if (props && hasOwn(props, key)) {\r\n warn(\"Method \\\"\".concat(key, \"\\\" has already been defined as a prop.\"), vm);\r\n }\r\n if (key in vm && isReserved(key)) {\r\n warn(\"Method \\\"\".concat(key, \"\\\" conflicts with an existing Vue instance method. \") +\r\n \"Avoid defining component methods that start with _ or $.\");\r\n }\r\n }\r\n vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);\r\n }\r\n}\r\nfunction initWatch(vm, watch) {\r\n for (var key in watch) {\r\n var handler = watch[key];\r\n if (isArray(handler)) {\r\n for (var i = 0; i < handler.length; i++) {\r\n createWatcher(vm, key, handler[i]);\r\n }\r\n }\r\n else {\r\n createWatcher(vm, key, handler);\r\n }\r\n }\r\n}\r\nfunction createWatcher(vm, expOrFn, handler, options) {\r\n if (isPlainObject(handler)) {\r\n options = handler;\r\n handler = handler.handler;\r\n }\r\n if (typeof handler === 'string') {\r\n handler = vm[handler];\r\n }\r\n return vm.$watch(expOrFn, handler, options);\r\n}\r\nfunction stateMixin(Vue) {\r\n // flow somehow has problems with directly declared definition object\r\n // when using Object.defineProperty, so we have to procedurally build up\r\n // the object here.\r\n var dataDef = {};\r\n dataDef.get = function () {\r\n return this._data;\r\n };\r\n var propsDef = {};\r\n propsDef.get = function () {\r\n return this._props;\r\n };\r\n if (process.env.NODE_ENV !== 'production') {\r\n dataDef.set = function () {\r\n warn('Avoid replacing instance root $data. ' +\r\n 'Use nested data properties instead.', this);\r\n };\r\n propsDef.set = function () {\r\n warn(\"$props is readonly.\", this);\r\n };\r\n }\r\n Object.defineProperty(Vue.prototype, '$data', dataDef);\r\n Object.defineProperty(Vue.prototype, '$props', propsDef);\r\n Vue.prototype.$set = set;\r\n Vue.prototype.$delete = del;\r\n Vue.prototype.$watch = function (expOrFn, cb, options) {\r\n var vm = this;\r\n if (isPlainObject(cb)) {\r\n return createWatcher(vm, expOrFn, cb, options);\r\n }\r\n options = options || {};\r\n options.user = true;\r\n var watcher = new Watcher(vm, expOrFn, cb, options);\r\n if (options.immediate) {\r\n var info = \"callback for immediate watcher \\\"\".concat(watcher.expression, \"\\\"\");\r\n pushTarget();\r\n invokeWithErrorHandling(cb, vm, [watcher.value], vm, info);\r\n popTarget();\r\n }\r\n return function unwatchFn() {\r\n watcher.teardown();\r\n };\r\n };\r\n}\n\nvar uid = 0;\r\nfunction initMixin$1(Vue) {\r\n Vue.prototype._init = function (options) {\r\n var vm = this;\r\n // a uid\r\n vm._uid = uid++;\r\n var startTag, endTag;\r\n /* istanbul ignore if */\r\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\r\n startTag = \"vue-perf-start:\".concat(vm._uid);\r\n endTag = \"vue-perf-end:\".concat(vm._uid);\r\n mark(startTag);\r\n }\r\n // a flag to mark this as a Vue instance without having to do instanceof\r\n // check\r\n vm._isVue = true;\r\n // avoid instances from being observed\r\n vm.__v_skip = true;\r\n // effect scope\r\n vm._scope = new EffectScope(true /* detached */);\r\n vm._scope._vm = true;\r\n // merge options\r\n if (options && options._isComponent) {\r\n // optimize internal component instantiation\r\n // since dynamic options merging is pretty slow, and none of the\r\n // internal component options needs special treatment.\r\n initInternalComponent(vm, options);\r\n }\r\n else {\r\n vm.$options = mergeOptions(resolveConstructorOptions(vm.constructor), options || {}, vm);\r\n }\r\n /* istanbul ignore else */\r\n if (process.env.NODE_ENV !== 'production') {\r\n initProxy(vm);\r\n }\r\n else {\r\n vm._renderProxy = vm;\r\n }\r\n // expose real self\r\n vm._self = vm;\r\n initLifecycle(vm);\r\n initEvents(vm);\r\n initRender(vm);\r\n callHook$1(vm, 'beforeCreate', undefined, false /* setContext */);\r\n initInjections(vm); // resolve injections before data/props\r\n initState(vm);\r\n initProvide(vm); // resolve provide after data/props\r\n callHook$1(vm, 'created');\r\n /* istanbul ignore if */\r\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\r\n vm._name = formatComponentName(vm, false);\r\n mark(endTag);\r\n measure(\"vue \".concat(vm._name, \" init\"), startTag, endTag);\r\n }\r\n if (vm.$options.el) {\r\n vm.$mount(vm.$options.el);\r\n }\r\n };\r\n}\r\nfunction initInternalComponent(vm, options) {\r\n var opts = (vm.$options = Object.create(vm.constructor.options));\r\n // doing this because it's faster than dynamic enumeration.\r\n var parentVnode = options._parentVnode;\r\n opts.parent = options.parent;\r\n opts._parentVnode = parentVnode;\r\n var vnodeComponentOptions = parentVnode.componentOptions;\r\n opts.propsData = vnodeComponentOptions.propsData;\r\n opts._parentListeners = vnodeComponentOptions.listeners;\r\n opts._renderChildren = vnodeComponentOptions.children;\r\n opts._componentTag = vnodeComponentOptions.tag;\r\n if (options.render) {\r\n opts.render = options.render;\r\n opts.staticRenderFns = options.staticRenderFns;\r\n }\r\n}\r\nfunction resolveConstructorOptions(Ctor) {\r\n var options = Ctor.options;\r\n if (Ctor.super) {\r\n var superOptions = resolveConstructorOptions(Ctor.super);\r\n var cachedSuperOptions = Ctor.superOptions;\r\n if (superOptions !== cachedSuperOptions) {\r\n // super option changed,\r\n // need to resolve new options.\r\n Ctor.superOptions = superOptions;\r\n // check if there are any late-modified/attached options (#4976)\r\n var modifiedOptions = resolveModifiedOptions(Ctor);\r\n // update base extend options\r\n if (modifiedOptions) {\r\n extend(Ctor.extendOptions, modifiedOptions);\r\n }\r\n options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);\r\n if (options.name) {\r\n options.components[options.name] = Ctor;\r\n }\r\n }\r\n }\r\n return options;\r\n}\r\nfunction resolveModifiedOptions(Ctor) {\r\n var modified;\r\n var latest = Ctor.options;\r\n var sealed = Ctor.sealedOptions;\r\n for (var key in latest) {\r\n if (latest[key] !== sealed[key]) {\r\n if (!modified)\r\n modified = {};\r\n modified[key] = latest[key];\r\n }\r\n }\r\n return modified;\r\n}\n\nfunction Vue(options) {\r\n if (process.env.NODE_ENV !== 'production' && !(this instanceof Vue)) {\r\n warn('Vue is a constructor and should be called with the `new` keyword');\r\n }\r\n this._init(options);\r\n}\r\n//@ts-expect-error Vue has function type\r\ninitMixin$1(Vue);\r\n//@ts-expect-error Vue has function type\r\nstateMixin(Vue);\r\n//@ts-expect-error Vue has function type\r\neventsMixin(Vue);\r\n//@ts-expect-error Vue has function type\r\nlifecycleMixin(Vue);\r\n//@ts-expect-error Vue has function type\r\nrenderMixin(Vue);\n\nfunction initUse(Vue) {\r\n Vue.use = function (plugin) {\r\n var installedPlugins = this._installedPlugins || (this._installedPlugins = []);\r\n if (installedPlugins.indexOf(plugin) > -1) {\r\n return this;\r\n }\r\n // additional parameters\r\n var args = toArray(arguments, 1);\r\n args.unshift(this);\r\n if (isFunction(plugin.install)) {\r\n plugin.install.apply(plugin, args);\r\n }\r\n else if (isFunction(plugin)) {\r\n plugin.apply(null, args);\r\n }\r\n installedPlugins.push(plugin);\r\n return this;\r\n };\r\n}\n\nfunction initMixin(Vue) {\r\n Vue.mixin = function (mixin) {\r\n this.options = mergeOptions(this.options, mixin);\r\n return this;\r\n };\r\n}\n\nfunction initExtend(Vue) {\r\n /**\r\n * Each instance constructor, including Vue, has a unique\r\n * cid. This enables us to create wrapped \"child\r\n * constructors\" for prototypal inheritance and cache them.\r\n */\r\n Vue.cid = 0;\r\n var cid = 1;\r\n /**\r\n * Class inheritance\r\n */\r\n Vue.extend = function (extendOptions) {\r\n extendOptions = extendOptions || {};\r\n var Super = this;\r\n var SuperId = Super.cid;\r\n var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});\r\n if (cachedCtors[SuperId]) {\r\n return cachedCtors[SuperId];\r\n }\r\n var name = getComponentName(extendOptions) || getComponentName(Super.options);\r\n if (process.env.NODE_ENV !== 'production' && name) {\r\n validateComponentName(name);\r\n }\r\n var Sub = function VueComponent(options) {\r\n this._init(options);\r\n };\r\n Sub.prototype = Object.create(Super.prototype);\r\n Sub.prototype.constructor = Sub;\r\n Sub.cid = cid++;\r\n Sub.options = mergeOptions(Super.options, extendOptions);\r\n Sub['super'] = Super;\r\n // For props and computed properties, we define the proxy getters on\r\n // the Vue instances at extension time, on the extended prototype. This\r\n // avoids Object.defineProperty calls for each instance created.\r\n if (Sub.options.props) {\r\n initProps(Sub);\r\n }\r\n if (Sub.options.computed) {\r\n initComputed(Sub);\r\n }\r\n // allow further extension/mixin/plugin usage\r\n Sub.extend = Super.extend;\r\n Sub.mixin = Super.mixin;\r\n Sub.use = Super.use;\r\n // create asset registers, so extended classes\r\n // can have their private assets too.\r\n ASSET_TYPES.forEach(function (type) {\r\n Sub[type] = Super[type];\r\n });\r\n // enable recursive self-lookup\r\n if (name) {\r\n Sub.options.components[name] = Sub;\r\n }\r\n // keep a reference to the super options at extension time.\r\n // later at instantiation we can check if Super's options have\r\n // been updated.\r\n Sub.superOptions = Super.options;\r\n Sub.extendOptions = extendOptions;\r\n Sub.sealedOptions = extend({}, Sub.options);\r\n // cache constructor\r\n cachedCtors[SuperId] = Sub;\r\n return Sub;\r\n };\r\n}\r\nfunction initProps(Comp) {\r\n var props = Comp.options.props;\r\n for (var key in props) {\r\n proxy(Comp.prototype, \"_props\", key);\r\n }\r\n}\r\nfunction initComputed(Comp) {\r\n var computed = Comp.options.computed;\r\n for (var key in computed) {\r\n defineComputed(Comp.prototype, key, computed[key]);\r\n }\r\n}\n\nfunction initAssetRegisters(Vue) {\r\n /**\r\n * Create asset registration methods.\r\n */\r\n ASSET_TYPES.forEach(function (type) {\r\n // @ts-expect-error function is not exact same type\r\n Vue[type] = function (id, definition) {\r\n if (!definition) {\r\n return this.options[type + 's'][id];\r\n }\r\n else {\r\n /* istanbul ignore if */\r\n if (process.env.NODE_ENV !== 'production' && type === 'component') {\r\n validateComponentName(id);\r\n }\r\n if (type === 'component' && isPlainObject(definition)) {\r\n // @ts-expect-error\r\n definition.name = definition.name || id;\r\n definition = this.options._base.extend(definition);\r\n }\r\n if (type === 'directive' && isFunction(definition)) {\r\n definition = { bind: definition, update: definition };\r\n }\r\n this.options[type + 's'][id] = definition;\r\n return definition;\r\n }\r\n };\r\n });\r\n}\n\nfunction _getComponentName(opts) {\r\n return opts && (getComponentName(opts.Ctor.options) || opts.tag);\r\n}\r\nfunction matches(pattern, name) {\r\n if (isArray(pattern)) {\r\n return pattern.indexOf(name) > -1;\r\n }\r\n else if (typeof pattern === 'string') {\r\n return pattern.split(',').indexOf(name) > -1;\r\n }\r\n else if (isRegExp(pattern)) {\r\n return pattern.test(name);\r\n }\r\n /* istanbul ignore next */\r\n return false;\r\n}\r\nfunction pruneCache(keepAliveInstance, filter) {\r\n var cache = keepAliveInstance.cache, keys = keepAliveInstance.keys, _vnode = keepAliveInstance._vnode;\r\n for (var key in cache) {\r\n var entry = cache[key];\r\n if (entry) {\r\n var name_1 = entry.name;\r\n if (name_1 && !filter(name_1)) {\r\n pruneCacheEntry(cache, key, keys, _vnode);\r\n }\r\n }\r\n }\r\n}\r\nfunction pruneCacheEntry(cache, key, keys, current) {\r\n var entry = cache[key];\r\n if (entry && (!current || entry.tag !== current.tag)) {\r\n // @ts-expect-error can be undefined\r\n entry.componentInstance.$destroy();\r\n }\r\n cache[key] = null;\r\n remove$2(keys, key);\r\n}\r\nvar patternTypes = [String, RegExp, Array];\r\n// TODO defineComponent\r\nvar KeepAlive = {\r\n name: 'keep-alive',\r\n abstract: true,\r\n props: {\r\n include: patternTypes,\r\n exclude: patternTypes,\r\n max: [String, Number]\r\n },\r\n methods: {\r\n cacheVNode: function () {\r\n var _a = this, cache = _a.cache, keys = _a.keys, vnodeToCache = _a.vnodeToCache, keyToCache = _a.keyToCache;\r\n if (vnodeToCache) {\r\n var tag = vnodeToCache.tag, componentInstance = vnodeToCache.componentInstance, componentOptions = vnodeToCache.componentOptions;\r\n cache[keyToCache] = {\r\n name: _getComponentName(componentOptions),\r\n tag: tag,\r\n componentInstance: componentInstance\r\n };\r\n keys.push(keyToCache);\r\n // prune oldest entry\r\n if (this.max && keys.length > parseInt(this.max)) {\r\n pruneCacheEntry(cache, keys[0], keys, this._vnode);\r\n }\r\n this.vnodeToCache = null;\r\n }\r\n }\r\n },\r\n created: function () {\r\n this.cache = Object.create(null);\r\n this.keys = [];\r\n },\r\n destroyed: function () {\r\n for (var key in this.cache) {\r\n pruneCacheEntry(this.cache, key, this.keys);\r\n }\r\n },\r\n mounted: function () {\r\n var _this = this;\r\n this.cacheVNode();\r\n this.$watch('include', function (val) {\r\n pruneCache(_this, function (name) { return matches(val, name); });\r\n });\r\n this.$watch('exclude', function (val) {\r\n pruneCache(_this, function (name) { return !matches(val, name); });\r\n });\r\n },\r\n updated: function () {\r\n this.cacheVNode();\r\n },\r\n render: function () {\r\n var slot = this.$slots.default;\r\n var vnode = getFirstComponentChild(slot);\r\n var componentOptions = vnode && vnode.componentOptions;\r\n if (componentOptions) {\r\n // check pattern\r\n var name_2 = _getComponentName(componentOptions);\r\n var _a = this, include = _a.include, exclude = _a.exclude;\r\n if (\r\n // not included\r\n (include && (!name_2 || !matches(include, name_2))) ||\r\n // excluded\r\n (exclude && name_2 && matches(exclude, name_2))) {\r\n return vnode;\r\n }\r\n var _b = this, cache = _b.cache, keys = _b.keys;\r\n var key = vnode.key == null\r\n ? // same constructor may get registered as different local components\r\n // so cid alone is not enough (#3269)\r\n componentOptions.Ctor.cid +\r\n (componentOptions.tag ? \"::\".concat(componentOptions.tag) : '')\r\n : vnode.key;\r\n if (cache[key]) {\r\n vnode.componentInstance = cache[key].componentInstance;\r\n // make current key freshest\r\n remove$2(keys, key);\r\n keys.push(key);\r\n }\r\n else {\r\n // delay setting the cache until update\r\n this.vnodeToCache = vnode;\r\n this.keyToCache = key;\r\n }\r\n // @ts-expect-error can vnode.data can be undefined\r\n vnode.data.keepAlive = true;\r\n }\r\n return vnode || (slot && slot[0]);\r\n }\r\n};\n\nvar builtInComponents = {\r\n KeepAlive: KeepAlive\r\n};\n\nfunction initGlobalAPI(Vue) {\r\n // config\r\n var configDef = {};\r\n configDef.get = function () { return config; };\r\n if (process.env.NODE_ENV !== 'production') {\r\n configDef.set = function () {\r\n warn('Do not replace the Vue.config object, set individual fields instead.');\r\n };\r\n }\r\n Object.defineProperty(Vue, 'config', configDef);\r\n // exposed util methods.\r\n // NOTE: these are not considered part of the public API - avoid relying on\r\n // them unless you are aware of the risk.\r\n Vue.util = {\r\n warn: warn,\r\n extend: extend,\r\n mergeOptions: mergeOptions,\r\n defineReactive: defineReactive\r\n };\r\n Vue.set = set;\r\n Vue.delete = del;\r\n Vue.nextTick = nextTick;\r\n // 2.6 explicit observable API\r\n Vue.observable = function (obj) {\r\n observe(obj);\r\n return obj;\r\n };\r\n Vue.options = Object.create(null);\r\n ASSET_TYPES.forEach(function (type) {\r\n Vue.options[type + 's'] = Object.create(null);\r\n });\r\n // this is used to identify the \"base\" constructor to extend all plain-object\r\n // components with in Weex's multi-instance scenarios.\r\n Vue.options._base = Vue;\r\n extend(Vue.options.components, builtInComponents);\r\n initUse(Vue);\r\n initMixin(Vue);\r\n initExtend(Vue);\r\n initAssetRegisters(Vue);\r\n}\n\ninitGlobalAPI(Vue);\r\nObject.defineProperty(Vue.prototype, '$isServer', {\r\n get: isServerRendering\r\n});\r\nObject.defineProperty(Vue.prototype, '$ssrContext', {\r\n get: function () {\r\n /* istanbul ignore next */\r\n return this.$vnode && this.$vnode.ssrContext;\r\n }\r\n});\r\n// expose FunctionalRenderContext for ssr runtime helper installation\r\nObject.defineProperty(Vue, 'FunctionalRenderContext', {\r\n value: FunctionalRenderContext\r\n});\r\nVue.version = version;\n\n// these are reserved for web because they are directly compiled away\r\n// during template compilation\r\nvar isReservedAttr = makeMap('style,class');\r\n// attributes that should be using props for binding\r\nvar acceptValue = makeMap('input,textarea,option,select,progress');\r\nvar mustUseProp = function (tag, type, attr) {\r\n return ((attr === 'value' && acceptValue(tag) && type !== 'button') ||\r\n (attr === 'selected' && tag === 'option') ||\r\n (attr === 'checked' && tag === 'input') ||\r\n (attr === 'muted' && tag === 'video'));\r\n};\r\nvar isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck');\r\nvar isValidContentEditableValue = makeMap('events,caret,typing,plaintext-only');\r\nvar convertEnumeratedValue = function (key, value) {\r\n return isFalsyAttrValue(value) || value === 'false'\r\n ? 'false'\r\n : // allow arbitrary string value for contenteditable\r\n key === 'contenteditable' && isValidContentEditableValue(value)\r\n ? value\r\n : 'true';\r\n};\r\nvar isBooleanAttr = makeMap('allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' +\r\n 'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' +\r\n 'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' +\r\n 'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' +\r\n 'required,reversed,scoped,seamless,selected,sortable,' +\r\n 'truespeed,typemustmatch,visible');\r\nvar xlinkNS = 'http://www.w3.org/1999/xlink';\r\nvar isXlink = function (name) {\r\n return name.charAt(5) === ':' && name.slice(0, 5) === 'xlink';\r\n};\r\nvar getXlinkProp = function (name) {\r\n return isXlink(name) ? name.slice(6, name.length) : '';\r\n};\r\nvar isFalsyAttrValue = function (val) {\r\n return val == null || val === false;\r\n};\n\nfunction genClassForVnode(vnode) {\r\n var data = vnode.data;\r\n var parentNode = vnode;\r\n var childNode = vnode;\r\n while (isDef(childNode.componentInstance)) {\r\n childNode = childNode.componentInstance._vnode;\r\n if (childNode && childNode.data) {\r\n data = mergeClassData(childNode.data, data);\r\n }\r\n }\r\n // @ts-expect-error parentNode.parent not VNodeWithData\r\n while (isDef((parentNode = parentNode.parent))) {\r\n if (parentNode && parentNode.data) {\r\n data = mergeClassData(data, parentNode.data);\r\n }\r\n }\r\n return renderClass(data.staticClass, data.class);\r\n}\r\nfunction mergeClassData(child, parent) {\r\n return {\r\n staticClass: concat(child.staticClass, parent.staticClass),\r\n class: isDef(child.class) ? [child.class, parent.class] : parent.class\r\n };\r\n}\r\nfunction renderClass(staticClass, dynamicClass) {\r\n if (isDef(staticClass) || isDef(dynamicClass)) {\r\n return concat(staticClass, stringifyClass(dynamicClass));\r\n }\r\n /* istanbul ignore next */\r\n return '';\r\n}\r\nfunction concat(a, b) {\r\n return a ? (b ? a + ' ' + b : a) : b || '';\r\n}\r\nfunction stringifyClass(value) {\r\n if (Array.isArray(value)) {\r\n return stringifyArray(value);\r\n }\r\n if (isObject(value)) {\r\n return stringifyObject(value);\r\n }\r\n if (typeof value === 'string') {\r\n return value;\r\n }\r\n /* istanbul ignore next */\r\n return '';\r\n}\r\nfunction stringifyArray(value) {\r\n var res = '';\r\n var stringified;\r\n for (var i = 0, l = value.length; i < l; i++) {\r\n if (isDef((stringified = stringifyClass(value[i]))) && stringified !== '') {\r\n if (res)\r\n res += ' ';\r\n res += stringified;\r\n }\r\n }\r\n return res;\r\n}\r\nfunction stringifyObject(value) {\r\n var res = '';\r\n for (var key in value) {\r\n if (value[key]) {\r\n if (res)\r\n res += ' ';\r\n res += key;\r\n }\r\n }\r\n return res;\r\n}\n\nvar namespaceMap = {\r\n svg: 'http://www.w3.org/2000/svg',\r\n math: 'http://www.w3.org/1998/Math/MathML'\r\n};\r\nvar isHTMLTag = makeMap('html,body,base,head,link,meta,style,title,' +\r\n 'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,' +\r\n 'div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,' +\r\n 'a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,' +\r\n 's,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,' +\r\n 'embed,object,param,source,canvas,script,noscript,del,ins,' +\r\n 'caption,col,colgroup,table,thead,tbody,td,th,tr,' +\r\n 'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,' +\r\n 'output,progress,select,textarea,' +\r\n 'details,dialog,menu,menuitem,summary,' +\r\n 'content,element,shadow,template,blockquote,iframe,tfoot');\r\n// this map is intentionally selective, only covering SVG elements that may\r\n// contain child elements.\r\nvar isSVG = makeMap('svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' +\r\n 'foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' +\r\n 'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', true);\r\nvar isReservedTag = function (tag) {\r\n return isHTMLTag(tag) || isSVG(tag);\r\n};\r\nfunction getTagNamespace(tag) {\r\n if (isSVG(tag)) {\r\n return 'svg';\r\n }\r\n // basic support for MathML\r\n // note it doesn't support other MathML elements being component roots\r\n if (tag === 'math') {\r\n return 'math';\r\n }\r\n}\r\nvar unknownElementCache = Object.create(null);\r\nfunction isUnknownElement(tag) {\r\n /* istanbul ignore if */\r\n if (!inBrowser) {\r\n return true;\r\n }\r\n if (isReservedTag(tag)) {\r\n return false;\r\n }\r\n tag = tag.toLowerCase();\r\n /* istanbul ignore if */\r\n if (unknownElementCache[tag] != null) {\r\n return unknownElementCache[tag];\r\n }\r\n var el = document.createElement(tag);\r\n if (tag.indexOf('-') > -1) {\r\n // http://stackoverflow.com/a/28210364/1070244\r\n return (unknownElementCache[tag] =\r\n el.constructor === window.HTMLUnknownElement ||\r\n el.constructor === window.HTMLElement);\r\n }\r\n else {\r\n return (unknownElementCache[tag] = /HTMLUnknownElement/.test(el.toString()));\r\n }\r\n}\r\nvar isTextInputType = makeMap('text,number,password,search,email,tel,url');\n\n/**\r\n * Query an element selector if it's not an element already.\r\n */\r\nfunction query(el) {\r\n if (typeof el === 'string') {\r\n var selected = document.querySelector(el);\r\n if (!selected) {\r\n process.env.NODE_ENV !== 'production' && warn('Cannot find element: ' + el);\r\n return document.createElement('div');\r\n }\r\n return selected;\r\n }\r\n else {\r\n return el;\r\n }\r\n}\n\nfunction createElement(tagName, vnode) {\r\n var elm = document.createElement(tagName);\r\n if (tagName !== 'select') {\r\n return elm;\r\n }\r\n // false or null will remove the attribute but undefined will not\r\n if (vnode.data &&\r\n vnode.data.attrs &&\r\n vnode.data.attrs.multiple !== undefined) {\r\n elm.setAttribute('multiple', 'multiple');\r\n }\r\n return elm;\r\n}\r\nfunction createElementNS(namespace, tagName) {\r\n return document.createElementNS(namespaceMap[namespace], tagName);\r\n}\r\nfunction createTextNode(text) {\r\n return document.createTextNode(text);\r\n}\r\nfunction createComment(text) {\r\n return document.createComment(text);\r\n}\r\nfunction insertBefore(parentNode, newNode, referenceNode) {\r\n parentNode.insertBefore(newNode, referenceNode);\r\n}\r\nfunction removeChild(node, child) {\r\n node.removeChild(child);\r\n}\r\nfunction appendChild(node, child) {\r\n node.appendChild(child);\r\n}\r\nfunction parentNode(node) {\r\n return node.parentNode;\r\n}\r\nfunction nextSibling(node) {\r\n return node.nextSibling;\r\n}\r\nfunction tagName(node) {\r\n return node.tagName;\r\n}\r\nfunction setTextContent(node, text) {\r\n node.textContent = text;\r\n}\r\nfunction setStyleScope(node, scopeId) {\r\n node.setAttribute(scopeId, '');\r\n}\n\nvar nodeOps = /*#__PURE__*/Object.freeze({\n __proto__: null,\n createElement: createElement,\n createElementNS: createElementNS,\n createTextNode: createTextNode,\n createComment: createComment,\n insertBefore: insertBefore,\n removeChild: removeChild,\n appendChild: appendChild,\n parentNode: parentNode,\n nextSibling: nextSibling,\n tagName: tagName,\n setTextContent: setTextContent,\n setStyleScope: setStyleScope\n});\n\nvar ref = {\r\n create: function (_, vnode) {\r\n registerRef(vnode);\r\n },\r\n update: function (oldVnode, vnode) {\r\n if (oldVnode.data.ref !== vnode.data.ref) {\r\n registerRef(oldVnode, true);\r\n registerRef(vnode);\r\n }\r\n },\r\n destroy: function (vnode) {\r\n registerRef(vnode, true);\r\n }\r\n};\r\nfunction registerRef(vnode, isRemoval) {\r\n var ref = vnode.data.ref;\r\n if (!isDef(ref))\r\n return;\r\n var vm = vnode.context;\r\n var refValue = vnode.componentInstance || vnode.elm;\r\n var value = isRemoval ? null : refValue;\r\n var $refsValue = isRemoval ? undefined : refValue;\r\n if (isFunction(ref)) {\r\n invokeWithErrorHandling(ref, vm, [value], vm, \"template ref function\");\r\n return;\r\n }\r\n var isFor = vnode.data.refInFor;\r\n var _isString = typeof ref === 'string' || typeof ref === 'number';\r\n var _isRef = isRef(ref);\r\n var refs = vm.$refs;\r\n if (_isString || _isRef) {\r\n if (isFor) {\r\n var existing = _isString ? refs[ref] : ref.value;\r\n if (isRemoval) {\r\n isArray(existing) && remove$2(existing, refValue);\r\n }\r\n else {\r\n if (!isArray(existing)) {\r\n if (_isString) {\r\n refs[ref] = [refValue];\r\n setSetupRef(vm, ref, refs[ref]);\r\n }\r\n else {\r\n ref.value = [refValue];\r\n }\r\n }\r\n else if (!existing.includes(refValue)) {\r\n existing.push(refValue);\r\n }\r\n }\r\n }\r\n else if (_isString) {\r\n if (isRemoval && refs[ref] !== refValue) {\r\n return;\r\n }\r\n refs[ref] = $refsValue;\r\n setSetupRef(vm, ref, value);\r\n }\r\n else if (_isRef) {\r\n if (isRemoval && ref.value !== refValue) {\r\n return;\r\n }\r\n ref.value = value;\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn(\"Invalid template ref type: \".concat(typeof ref));\r\n }\r\n }\r\n}\r\nfunction setSetupRef(_a, key, val) {\r\n var _setupState = _a._setupState;\r\n if (_setupState && hasOwn(_setupState, key)) {\r\n if (isRef(_setupState[key])) {\r\n _setupState[key].value = val;\r\n }\r\n else {\r\n _setupState[key] = val;\r\n }\r\n }\r\n}\n\n/**\r\n * Virtual DOM patching algorithm based on Snabbdom by\r\n * Simon Friis Vindum (@paldepind)\r\n * Licensed under the MIT License\r\n * https://github.com/paldepind/snabbdom/blob/master/LICENSE\r\n *\r\n * modified by Evan You (@yyx990803)\r\n *\r\n * Not type-checking this because this file is perf-critical and the cost\r\n * of making flow understand it is not worth it.\r\n */\r\nvar emptyNode = new VNode('', {}, []);\r\nvar hooks = ['create', 'activate', 'update', 'remove', 'destroy'];\r\nfunction sameVnode(a, b) {\r\n return (a.key === b.key &&\r\n a.asyncFactory === b.asyncFactory &&\r\n ((a.tag === b.tag &&\r\n a.isComment === b.isComment &&\r\n isDef(a.data) === isDef(b.data) &&\r\n sameInputType(a, b)) ||\r\n (isTrue(a.isAsyncPlaceholder) && isUndef(b.asyncFactory.error))));\r\n}\r\nfunction sameInputType(a, b) {\r\n if (a.tag !== 'input')\r\n return true;\r\n var i;\r\n var typeA = isDef((i = a.data)) && isDef((i = i.attrs)) && i.type;\r\n var typeB = isDef((i = b.data)) && isDef((i = i.attrs)) && i.type;\r\n return typeA === typeB || (isTextInputType(typeA) && isTextInputType(typeB));\r\n}\r\nfunction createKeyToOldIdx(children, beginIdx, endIdx) {\r\n var i, key;\r\n var map = {};\r\n for (i = beginIdx; i <= endIdx; ++i) {\r\n key = children[i].key;\r\n if (isDef(key))\r\n map[key] = i;\r\n }\r\n return map;\r\n}\r\nfunction createPatchFunction(backend) {\r\n var i, j;\r\n var cbs = {};\r\n var modules = backend.modules, nodeOps = backend.nodeOps;\r\n for (i = 0; i < hooks.length; ++i) {\r\n cbs[hooks[i]] = [];\r\n for (j = 0; j < modules.length; ++j) {\r\n if (isDef(modules[j][hooks[i]])) {\r\n cbs[hooks[i]].push(modules[j][hooks[i]]);\r\n }\r\n }\r\n }\r\n function emptyNodeAt(elm) {\r\n return new VNode(nodeOps.tagName(elm).toLowerCase(), {}, [], undefined, elm);\r\n }\r\n function createRmCb(childElm, listeners) {\r\n function remove() {\r\n if (--remove.listeners === 0) {\r\n removeNode(childElm);\r\n }\r\n }\r\n remove.listeners = listeners;\r\n return remove;\r\n }\r\n function removeNode(el) {\r\n var parent = nodeOps.parentNode(el);\r\n // element may have already been removed due to v-html / v-text\r\n if (isDef(parent)) {\r\n nodeOps.removeChild(parent, el);\r\n }\r\n }\r\n function isUnknownElement(vnode, inVPre) {\r\n return (!inVPre &&\r\n !vnode.ns &&\r\n !(config.ignoredElements.length &&\r\n config.ignoredElements.some(function (ignore) {\r\n return isRegExp(ignore)\r\n ? ignore.test(vnode.tag)\r\n : ignore === vnode.tag;\r\n })) &&\r\n config.isUnknownElement(vnode.tag));\r\n }\r\n var creatingElmInVPre = 0;\r\n function createElm(vnode, insertedVnodeQueue, parentElm, refElm, nested, ownerArray, index) {\r\n if (isDef(vnode.elm) && isDef(ownerArray)) {\r\n // This vnode was used in a previous render!\r\n // now it's used as a new node, overwriting its elm would cause\r\n // potential patch errors down the road when it's used as an insertion\r\n // reference node. Instead, we clone the node on-demand before creating\r\n // associated DOM element for it.\r\n vnode = ownerArray[index] = cloneVNode(vnode);\r\n }\r\n vnode.isRootInsert = !nested; // for transition enter check\r\n if (createComponent(vnode, insertedVnodeQueue, parentElm, refElm)) {\r\n return;\r\n }\r\n var data = vnode.data;\r\n var children = vnode.children;\r\n var tag = vnode.tag;\r\n if (isDef(tag)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (data && data.pre) {\r\n creatingElmInVPre++;\r\n }\r\n if (isUnknownElement(vnode, creatingElmInVPre)) {\r\n warn('Unknown custom element: <' +\r\n tag +\r\n '> - did you ' +\r\n 'register the component correctly? For recursive components, ' +\r\n 'make sure to provide the \"name\" option.', vnode.context);\r\n }\r\n }\r\n vnode.elm = vnode.ns\r\n ? nodeOps.createElementNS(vnode.ns, tag)\r\n : nodeOps.createElement(tag, vnode);\r\n setScope(vnode);\r\n createChildren(vnode, children, insertedVnodeQueue);\r\n if (isDef(data)) {\r\n invokeCreateHooks(vnode, insertedVnodeQueue);\r\n }\r\n insert(parentElm, vnode.elm, refElm);\r\n if (process.env.NODE_ENV !== 'production' && data && data.pre) {\r\n creatingElmInVPre--;\r\n }\r\n }\r\n else if (isTrue(vnode.isComment)) {\r\n vnode.elm = nodeOps.createComment(vnode.text);\r\n insert(parentElm, vnode.elm, refElm);\r\n }\r\n else {\r\n vnode.elm = nodeOps.createTextNode(vnode.text);\r\n insert(parentElm, vnode.elm, refElm);\r\n }\r\n }\r\n function createComponent(vnode, insertedVnodeQueue, parentElm, refElm) {\r\n var i = vnode.data;\r\n if (isDef(i)) {\r\n var isReactivated = isDef(vnode.componentInstance) && i.keepAlive;\r\n if (isDef((i = i.hook)) && isDef((i = i.init))) {\r\n i(vnode, false /* hydrating */);\r\n }\r\n // after calling the init hook, if the vnode is a child component\r\n // it should've created a child instance and mounted it. the child\r\n // component also has set the placeholder vnode's elm.\r\n // in that case we can just return the element and be done.\r\n if (isDef(vnode.componentInstance)) {\r\n initComponent(vnode, insertedVnodeQueue);\r\n insert(parentElm, vnode.elm, refElm);\r\n if (isTrue(isReactivated)) {\r\n reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm);\r\n }\r\n return true;\r\n }\r\n }\r\n }\r\n function initComponent(vnode, insertedVnodeQueue) {\r\n if (isDef(vnode.data.pendingInsert)) {\r\n insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert);\r\n vnode.data.pendingInsert = null;\r\n }\r\n vnode.elm = vnode.componentInstance.$el;\r\n if (isPatchable(vnode)) {\r\n invokeCreateHooks(vnode, insertedVnodeQueue);\r\n setScope(vnode);\r\n }\r\n else {\r\n // empty component root.\r\n // skip all element-related modules except for ref (#3455)\r\n registerRef(vnode);\r\n // make sure to invoke the insert hook\r\n insertedVnodeQueue.push(vnode);\r\n }\r\n }\r\n function reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm) {\r\n var i;\r\n // hack for #4339: a reactivated component with inner transition\r\n // does not trigger because the inner node's created hooks are not called\r\n // again. It's not ideal to involve module-specific logic in here but\r\n // there doesn't seem to be a better way to do it.\r\n var innerNode = vnode;\r\n while (innerNode.componentInstance) {\r\n innerNode = innerNode.componentInstance._vnode;\r\n if (isDef((i = innerNode.data)) && isDef((i = i.transition))) {\r\n for (i = 0; i < cbs.activate.length; ++i) {\r\n cbs.activate[i](emptyNode, innerNode);\r\n }\r\n insertedVnodeQueue.push(innerNode);\r\n break;\r\n }\r\n }\r\n // unlike a newly created component,\r\n // a reactivated keep-alive component doesn't insert itself\r\n insert(parentElm, vnode.elm, refElm);\r\n }\r\n function insert(parent, elm, ref) {\r\n if (isDef(parent)) {\r\n if (isDef(ref)) {\r\n if (nodeOps.parentNode(ref) === parent) {\r\n nodeOps.insertBefore(parent, elm, ref);\r\n }\r\n }\r\n else {\r\n nodeOps.appendChild(parent, elm);\r\n }\r\n }\r\n }\r\n function createChildren(vnode, children, insertedVnodeQueue) {\r\n if (isArray(children)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n checkDuplicateKeys(children);\r\n }\r\n for (var i_1 = 0; i_1 < children.length; ++i_1) {\r\n createElm(children[i_1], insertedVnodeQueue, vnode.elm, null, true, children, i_1);\r\n }\r\n }\r\n else if (isPrimitive(vnode.text)) {\r\n nodeOps.appendChild(vnode.elm, nodeOps.createTextNode(String(vnode.text)));\r\n }\r\n }\r\n function isPatchable(vnode) {\r\n while (vnode.componentInstance) {\r\n vnode = vnode.componentInstance._vnode;\r\n }\r\n return isDef(vnode.tag);\r\n }\r\n function invokeCreateHooks(vnode, insertedVnodeQueue) {\r\n for (var i_2 = 0; i_2 < cbs.create.length; ++i_2) {\r\n cbs.create[i_2](emptyNode, vnode);\r\n }\r\n i = vnode.data.hook; // Reuse variable\r\n if (isDef(i)) {\r\n if (isDef(i.create))\r\n i.create(emptyNode, vnode);\r\n if (isDef(i.insert))\r\n insertedVnodeQueue.push(vnode);\r\n }\r\n }\r\n // set scope id attribute for scoped CSS.\r\n // this is implemented as a special case to avoid the overhead\r\n // of going through the normal attribute patching process.\r\n function setScope(vnode) {\r\n var i;\r\n if (isDef((i = vnode.fnScopeId))) {\r\n nodeOps.setStyleScope(vnode.elm, i);\r\n }\r\n else {\r\n var ancestor = vnode;\r\n while (ancestor) {\r\n if (isDef((i = ancestor.context)) && isDef((i = i.$options._scopeId))) {\r\n nodeOps.setStyleScope(vnode.elm, i);\r\n }\r\n ancestor = ancestor.parent;\r\n }\r\n }\r\n // for slot content they should also get the scopeId from the host instance.\r\n if (isDef((i = activeInstance)) &&\r\n i !== vnode.context &&\r\n i !== vnode.fnContext &&\r\n isDef((i = i.$options._scopeId))) {\r\n nodeOps.setStyleScope(vnode.elm, i);\r\n }\r\n }\r\n function addVnodes(parentElm, refElm, vnodes, startIdx, endIdx, insertedVnodeQueue) {\r\n for (; startIdx <= endIdx; ++startIdx) {\r\n createElm(vnodes[startIdx], insertedVnodeQueue, parentElm, refElm, false, vnodes, startIdx);\r\n }\r\n }\r\n function invokeDestroyHook(vnode) {\r\n var i, j;\r\n var data = vnode.data;\r\n if (isDef(data)) {\r\n if (isDef((i = data.hook)) && isDef((i = i.destroy)))\r\n i(vnode);\r\n for (i = 0; i < cbs.destroy.length; ++i)\r\n cbs.destroy[i](vnode);\r\n }\r\n if (isDef((i = vnode.children))) {\r\n for (j = 0; j < vnode.children.length; ++j) {\r\n invokeDestroyHook(vnode.children[j]);\r\n }\r\n }\r\n }\r\n function removeVnodes(vnodes, startIdx, endIdx) {\r\n for (; startIdx <= endIdx; ++startIdx) {\r\n var ch = vnodes[startIdx];\r\n if (isDef(ch)) {\r\n if (isDef(ch.tag)) {\r\n removeAndInvokeRemoveHook(ch);\r\n invokeDestroyHook(ch);\r\n }\r\n else {\r\n // Text node\r\n removeNode(ch.elm);\r\n }\r\n }\r\n }\r\n }\r\n function removeAndInvokeRemoveHook(vnode, rm) {\r\n if (isDef(rm) || isDef(vnode.data)) {\r\n var i_3;\r\n var listeners = cbs.remove.length + 1;\r\n if (isDef(rm)) {\r\n // we have a recursively passed down rm callback\r\n // increase the listeners count\r\n rm.listeners += listeners;\r\n }\r\n else {\r\n // directly removing\r\n rm = createRmCb(vnode.elm, listeners);\r\n }\r\n // recursively invoke hooks on child component root node\r\n if (isDef((i_3 = vnode.componentInstance)) &&\r\n isDef((i_3 = i_3._vnode)) &&\r\n isDef(i_3.data)) {\r\n removeAndInvokeRemoveHook(i_3, rm);\r\n }\r\n for (i_3 = 0; i_3 < cbs.remove.length; ++i_3) {\r\n cbs.remove[i_3](vnode, rm);\r\n }\r\n if (isDef((i_3 = vnode.data.hook)) && isDef((i_3 = i_3.remove))) {\r\n i_3(vnode, rm);\r\n }\r\n else {\r\n rm();\r\n }\r\n }\r\n else {\r\n removeNode(vnode.elm);\r\n }\r\n }\r\n function updateChildren(parentElm, oldCh, newCh, insertedVnodeQueue, removeOnly) {\r\n var oldStartIdx = 0;\r\n var newStartIdx = 0;\r\n var oldEndIdx = oldCh.length - 1;\r\n var oldStartVnode = oldCh[0];\r\n var oldEndVnode = oldCh[oldEndIdx];\r\n var newEndIdx = newCh.length - 1;\r\n var newStartVnode = newCh[0];\r\n var newEndVnode = newCh[newEndIdx];\r\n var oldKeyToIdx, idxInOld, vnodeToMove, refElm;\r\n // removeOnly is a special flag used only by <transition-group>\r\n // to ensure removed elements stay in correct relative positions\r\n // during leaving transitions\r\n var canMove = !removeOnly;\r\n if (process.env.NODE_ENV !== 'production') {\r\n checkDuplicateKeys(newCh);\r\n }\r\n while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\r\n if (isUndef(oldStartVnode)) {\r\n oldStartVnode = oldCh[++oldStartIdx]; // Vnode has been moved left\r\n }\r\n else if (isUndef(oldEndVnode)) {\r\n oldEndVnode = oldCh[--oldEndIdx];\r\n }\r\n else if (sameVnode(oldStartVnode, newStartVnode)) {\r\n patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\r\n oldStartVnode = oldCh[++oldStartIdx];\r\n newStartVnode = newCh[++newStartIdx];\r\n }\r\n else if (sameVnode(oldEndVnode, newEndVnode)) {\r\n patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx);\r\n oldEndVnode = oldCh[--oldEndIdx];\r\n newEndVnode = newCh[--newEndIdx];\r\n }\r\n else if (sameVnode(oldStartVnode, newEndVnode)) {\r\n // Vnode moved right\r\n patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx);\r\n canMove &&\r\n nodeOps.insertBefore(parentElm, oldStartVnode.elm, nodeOps.nextSibling(oldEndVnode.elm));\r\n oldStartVnode = oldCh[++oldStartIdx];\r\n newEndVnode = newCh[--newEndIdx];\r\n }\r\n else if (sameVnode(oldEndVnode, newStartVnode)) {\r\n // Vnode moved left\r\n patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\r\n canMove &&\r\n nodeOps.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm);\r\n oldEndVnode = oldCh[--oldEndIdx];\r\n newStartVnode = newCh[++newStartIdx];\r\n }\r\n else {\r\n if (isUndef(oldKeyToIdx))\r\n oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx);\r\n idxInOld = isDef(newStartVnode.key)\r\n ? oldKeyToIdx[newStartVnode.key]\r\n : findIdxInOld(newStartVnode, oldCh, oldStartIdx, oldEndIdx);\r\n if (isUndef(idxInOld)) {\r\n // New element\r\n createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);\r\n }\r\n else {\r\n vnodeToMove = oldCh[idxInOld];\r\n if (sameVnode(vnodeToMove, newStartVnode)) {\r\n patchVnode(vnodeToMove, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\r\n oldCh[idxInOld] = undefined;\r\n canMove &&\r\n nodeOps.insertBefore(parentElm, vnodeToMove.elm, oldStartVnode.elm);\r\n }\r\n else {\r\n // same key but different element. treat as new element\r\n createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);\r\n }\r\n }\r\n newStartVnode = newCh[++newStartIdx];\r\n }\r\n }\r\n if (oldStartIdx > oldEndIdx) {\r\n refElm = isUndef(newCh[newEndIdx + 1]) ? null : newCh[newEndIdx + 1].elm;\r\n addVnodes(parentElm, refElm, newCh, newStartIdx, newEndIdx, insertedVnodeQueue);\r\n }\r\n else if (newStartIdx > newEndIdx) {\r\n removeVnodes(oldCh, oldStartIdx, oldEndIdx);\r\n }\r\n }\r\n function checkDuplicateKeys(children) {\r\n var seenKeys = {};\r\n for (var i_4 = 0; i_4 < children.length; i_4++) {\r\n var vnode = children[i_4];\r\n var key = vnode.key;\r\n if (isDef(key)) {\r\n if (seenKeys[key]) {\r\n warn(\"Duplicate keys detected: '\".concat(key, \"'. This may cause an update error.\"), vnode.context);\r\n }\r\n else {\r\n seenKeys[key] = true;\r\n }\r\n }\r\n }\r\n }\r\n function findIdxInOld(node, oldCh, start, end) {\r\n for (var i_5 = start; i_5 < end; i_5++) {\r\n var c = oldCh[i_5];\r\n if (isDef(c) && sameVnode(node, c))\r\n return i_5;\r\n }\r\n }\r\n function patchVnode(oldVnode, vnode, insertedVnodeQueue, ownerArray, index, removeOnly) {\r\n if (oldVnode === vnode) {\r\n return;\r\n }\r\n if (isDef(vnode.elm) && isDef(ownerArray)) {\r\n // clone reused vnode\r\n vnode = ownerArray[index] = cloneVNode(vnode);\r\n }\r\n var elm = (vnode.elm = oldVnode.elm);\r\n if (isTrue(oldVnode.isAsyncPlaceholder)) {\r\n if (isDef(vnode.asyncFactory.resolved)) {\r\n hydrate(oldVnode.elm, vnode, insertedVnodeQueue);\r\n }\r\n else {\r\n vnode.isAsyncPlaceholder = true;\r\n }\r\n return;\r\n }\r\n // reuse element for static trees.\r\n // note we only do this if the vnode is cloned -\r\n // if the new node is not cloned it means the render functions have been\r\n // reset by the hot-reload-api and we need to do a proper re-render.\r\n if (isTrue(vnode.isStatic) &&\r\n isTrue(oldVnode.isStatic) &&\r\n vnode.key === oldVnode.key &&\r\n (isTrue(vnode.isCloned) || isTrue(vnode.isOnce))) {\r\n vnode.componentInstance = oldVnode.componentInstance;\r\n return;\r\n }\r\n var i;\r\n var data = vnode.data;\r\n if (isDef(data) && isDef((i = data.hook)) && isDef((i = i.prepatch))) {\r\n i(oldVnode, vnode);\r\n }\r\n var oldCh = oldVnode.children;\r\n var ch = vnode.children;\r\n if (isDef(data) && isPatchable(vnode)) {\r\n for (i = 0; i < cbs.update.length; ++i)\r\n cbs.update[i](oldVnode, vnode);\r\n if (isDef((i = data.hook)) && isDef((i = i.update)))\r\n i(oldVnode, vnode);\r\n }\r\n if (isUndef(vnode.text)) {\r\n if (isDef(oldCh) && isDef(ch)) {\r\n if (oldCh !== ch)\r\n updateChildren(elm, oldCh, ch, insertedVnodeQueue, removeOnly);\r\n }\r\n else if (isDef(ch)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n checkDuplicateKeys(ch);\r\n }\r\n if (isDef(oldVnode.text))\r\n nodeOps.setTextContent(elm, '');\r\n addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue);\r\n }\r\n else if (isDef(oldCh)) {\r\n removeVnodes(oldCh, 0, oldCh.length - 1);\r\n }\r\n else if (isDef(oldVnode.text)) {\r\n nodeOps.setTextContent(elm, '');\r\n }\r\n }\r\n else if (oldVnode.text !== vnode.text) {\r\n nodeOps.setTextContent(elm, vnode.text);\r\n }\r\n if (isDef(data)) {\r\n if (isDef((i = data.hook)) && isDef((i = i.postpatch)))\r\n i(oldVnode, vnode);\r\n }\r\n }\r\n function invokeInsertHook(vnode, queue, initial) {\r\n // delay insert hooks for component root nodes, invoke them after the\r\n // element is really inserted\r\n if (isTrue(initial) && isDef(vnode.parent)) {\r\n vnode.parent.data.pendingInsert = queue;\r\n }\r\n else {\r\n for (var i_6 = 0; i_6 < queue.length; ++i_6) {\r\n queue[i_6].data.hook.insert(queue[i_6]);\r\n }\r\n }\r\n }\r\n var hydrationBailed = false;\r\n // list of modules that can skip create hook during hydration because they\r\n // are already rendered on the client or has no need for initialization\r\n // Note: style is excluded because it relies on initial clone for future\r\n // deep updates (#7063).\r\n var isRenderedModule = makeMap('attrs,class,staticClass,staticStyle,key');\r\n // Note: this is a browser-only function so we can assume elms are DOM nodes.\r\n function hydrate(elm, vnode, insertedVnodeQueue, inVPre) {\r\n var i;\r\n var tag = vnode.tag, data = vnode.data, children = vnode.children;\r\n inVPre = inVPre || (data && data.pre);\r\n vnode.elm = elm;\r\n if (isTrue(vnode.isComment) && isDef(vnode.asyncFactory)) {\r\n vnode.isAsyncPlaceholder = true;\r\n return true;\r\n }\r\n // assert node match\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (!assertNodeMatch(elm, vnode, inVPre)) {\r\n return false;\r\n }\r\n }\r\n if (isDef(data)) {\r\n if (isDef((i = data.hook)) && isDef((i = i.init)))\r\n i(vnode, true /* hydrating */);\r\n if (isDef((i = vnode.componentInstance))) {\r\n // child component. it should have hydrated its own tree.\r\n initComponent(vnode, insertedVnodeQueue);\r\n return true;\r\n }\r\n }\r\n if (isDef(tag)) {\r\n if (isDef(children)) {\r\n // empty element, allow client to pick up and populate children\r\n if (!elm.hasChildNodes()) {\r\n createChildren(vnode, children, insertedVnodeQueue);\r\n }\r\n else {\r\n // v-html and domProps: innerHTML\r\n if (isDef((i = data)) &&\r\n isDef((i = i.domProps)) &&\r\n isDef((i = i.innerHTML))) {\r\n if (i !== elm.innerHTML) {\r\n /* istanbul ignore if */\r\n if (process.env.NODE_ENV !== 'production' &&\r\n typeof console !== 'undefined' &&\r\n !hydrationBailed) {\r\n hydrationBailed = true;\r\n console.warn('Parent: ', elm);\r\n console.warn('server innerHTML: ', i);\r\n console.warn('client innerHTML: ', elm.innerHTML);\r\n }\r\n return false;\r\n }\r\n }\r\n else {\r\n // iterate and compare children lists\r\n var childrenMatch = true;\r\n var childNode = elm.firstChild;\r\n for (var i_7 = 0; i_7 < children.length; i_7++) {\r\n if (!childNode ||\r\n !hydrate(childNode, children[i_7], insertedVnodeQueue, inVPre)) {\r\n childrenMatch = false;\r\n break;\r\n }\r\n childNode = childNode.nextSibling;\r\n }\r\n // if childNode is not null, it means the actual childNodes list is\r\n // longer than the virtual children list.\r\n if (!childrenMatch || childNode) {\r\n /* istanbul ignore if */\r\n if (process.env.NODE_ENV !== 'production' &&\r\n typeof console !== 'undefined' &&\r\n !hydrationBailed) {\r\n hydrationBailed = true;\r\n console.warn('Parent: ', elm);\r\n console.warn('Mismatching childNodes vs. VNodes: ', elm.childNodes, children);\r\n }\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n if (isDef(data)) {\r\n var fullInvoke = false;\r\n for (var key in data) {\r\n if (!isRenderedModule(key)) {\r\n fullInvoke = true;\r\n invokeCreateHooks(vnode, insertedVnodeQueue);\r\n break;\r\n }\r\n }\r\n if (!fullInvoke && data['class']) {\r\n // ensure collecting deps for deep class bindings for future updates\r\n traverse(data['class']);\r\n }\r\n }\r\n }\r\n else if (elm.data !== vnode.text) {\r\n elm.data = vnode.text;\r\n }\r\n return true;\r\n }\r\n function assertNodeMatch(node, vnode, inVPre) {\r\n if (isDef(vnode.tag)) {\r\n return (vnode.tag.indexOf('vue-component') === 0 ||\r\n (!isUnknownElement(vnode, inVPre) &&\r\n vnode.tag.toLowerCase() ===\r\n (node.tagName && node.tagName.toLowerCase())));\r\n }\r\n else {\r\n return node.nodeType === (vnode.isComment ? 8 : 3);\r\n }\r\n }\r\n return function patch(oldVnode, vnode, hydrating, removeOnly) {\r\n if (isUndef(vnode)) {\r\n if (isDef(oldVnode))\r\n invokeDestroyHook(oldVnode);\r\n return;\r\n }\r\n var isInitialPatch = false;\r\n var insertedVnodeQueue = [];\r\n if (isUndef(oldVnode)) {\r\n // empty mount (likely as component), create new root element\r\n isInitialPatch = true;\r\n createElm(vnode, insertedVnodeQueue);\r\n }\r\n else {\r\n var isRealElement = isDef(oldVnode.nodeType);\r\n if (!isRealElement && sameVnode(oldVnode, vnode)) {\r\n // patch existing root node\r\n patchVnode(oldVnode, vnode, insertedVnodeQueue, null, null, removeOnly);\r\n }\r\n else {\r\n if (isRealElement) {\r\n // mounting to a real element\r\n // check if this is server-rendered content and if we can perform\r\n // a successful hydration.\r\n if (oldVnode.nodeType === 1 && oldVnode.hasAttribute(SSR_ATTR)) {\r\n oldVnode.removeAttribute(SSR_ATTR);\r\n hydrating = true;\r\n }\r\n if (isTrue(hydrating)) {\r\n if (hydrate(oldVnode, vnode, insertedVnodeQueue)) {\r\n invokeInsertHook(vnode, insertedVnodeQueue, true);\r\n return oldVnode;\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n warn('The client-side rendered virtual DOM tree is not matching ' +\r\n 'server-rendered content. This is likely caused by incorrect ' +\r\n 'HTML markup, for example nesting block-level elements inside ' +\r\n '<p>, or missing <tbody>. Bailing hydration and performing ' +\r\n 'full client-side render.');\r\n }\r\n }\r\n // either not server-rendered, or hydration failed.\r\n // create an empty node and replace it\r\n oldVnode = emptyNodeAt(oldVnode);\r\n }\r\n // replacing existing element\r\n var oldElm = oldVnode.elm;\r\n var parentElm = nodeOps.parentNode(oldElm);\r\n // create new node\r\n createElm(vnode, insertedVnodeQueue, \r\n // extremely rare edge case: do not insert if old element is in a\r\n // leaving transition. Only happens when combining transition +\r\n // keep-alive + HOCs. (#4590)\r\n oldElm._leaveCb ? null : parentElm, nodeOps.nextSibling(oldElm));\r\n // update parent placeholder node element, recursively\r\n if (isDef(vnode.parent)) {\r\n var ancestor = vnode.parent;\r\n var patchable = isPatchable(vnode);\r\n while (ancestor) {\r\n for (var i_8 = 0; i_8 < cbs.destroy.length; ++i_8) {\r\n cbs.destroy[i_8](ancestor);\r\n }\r\n ancestor.elm = vnode.elm;\r\n if (patchable) {\r\n for (var i_9 = 0; i_9 < cbs.create.length; ++i_9) {\r\n cbs.create[i_9](emptyNode, ancestor);\r\n }\r\n // #6513\r\n // invoke insert hooks that may have been merged by create hooks.\r\n // e.g. for directives that uses the \"inserted\" hook.\r\n var insert_1 = ancestor.data.hook.insert;\r\n if (insert_1.merged) {\r\n // start at index 1 to avoid re-invoking component mounted hook\r\n for (var i_10 = 1; i_10 < insert_1.fns.length; i_10++) {\r\n insert_1.fns[i_10]();\r\n }\r\n }\r\n }\r\n else {\r\n registerRef(ancestor);\r\n }\r\n ancestor = ancestor.parent;\r\n }\r\n }\r\n // destroy old node\r\n if (isDef(parentElm)) {\r\n removeVnodes([oldVnode], 0, 0);\r\n }\r\n else if (isDef(oldVnode.tag)) {\r\n invokeDestroyHook(oldVnode);\r\n }\r\n }\r\n }\r\n invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch);\r\n return vnode.elm;\r\n };\r\n}\n\nvar directives = {\r\n create: updateDirectives,\r\n update: updateDirectives,\r\n destroy: function unbindDirectives(vnode) {\r\n // @ts-expect-error emptyNode is not VNodeWithData\r\n updateDirectives(vnode, emptyNode);\r\n }\r\n};\r\nfunction updateDirectives(oldVnode, vnode) {\r\n if (oldVnode.data.directives || vnode.data.directives) {\r\n _update(oldVnode, vnode);\r\n }\r\n}\r\nfunction _update(oldVnode, vnode) {\r\n var isCreate = oldVnode === emptyNode;\r\n var isDestroy = vnode === emptyNode;\r\n var oldDirs = normalizeDirectives(oldVnode.data.directives, oldVnode.context);\r\n var newDirs = normalizeDirectives(vnode.data.directives, vnode.context);\r\n var dirsWithInsert = [];\r\n var dirsWithPostpatch = [];\r\n var key, oldDir, dir;\r\n for (key in newDirs) {\r\n oldDir = oldDirs[key];\r\n dir = newDirs[key];\r\n if (!oldDir) {\r\n // new directive, bind\r\n callHook(dir, 'bind', vnode, oldVnode);\r\n if (dir.def && dir.def.inserted) {\r\n dirsWithInsert.push(dir);\r\n }\r\n }\r\n else {\r\n // existing directive, update\r\n dir.oldValue = oldDir.value;\r\n dir.oldArg = oldDir.arg;\r\n callHook(dir, 'update', vnode, oldVnode);\r\n if (dir.def && dir.def.componentUpdated) {\r\n dirsWithPostpatch.push(dir);\r\n }\r\n }\r\n }\r\n if (dirsWithInsert.length) {\r\n var callInsert = function () {\r\n for (var i = 0; i < dirsWithInsert.length; i++) {\r\n callHook(dirsWithInsert[i], 'inserted', vnode, oldVnode);\r\n }\r\n };\r\n if (isCreate) {\r\n mergeVNodeHook(vnode, 'insert', callInsert);\r\n }\r\n else {\r\n callInsert();\r\n }\r\n }\r\n if (dirsWithPostpatch.length) {\r\n mergeVNodeHook(vnode, 'postpatch', function () {\r\n for (var i = 0; i < dirsWithPostpatch.length; i++) {\r\n callHook(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode);\r\n }\r\n });\r\n }\r\n if (!isCreate) {\r\n for (key in oldDirs) {\r\n if (!newDirs[key]) {\r\n // no longer present, unbind\r\n callHook(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy);\r\n }\r\n }\r\n }\r\n}\r\nvar emptyModifiers = Object.create(null);\r\nfunction normalizeDirectives(dirs, vm) {\r\n var res = Object.create(null);\r\n if (!dirs) {\r\n // $flow-disable-line\r\n return res;\r\n }\r\n var i, dir;\r\n for (i = 0; i < dirs.length; i++) {\r\n dir = dirs[i];\r\n if (!dir.modifiers) {\r\n // $flow-disable-line\r\n dir.modifiers = emptyModifiers;\r\n }\r\n res[getRawDirName(dir)] = dir;\r\n if (vm._setupState && vm._setupState.__sfc) {\r\n var setupDef = dir.def || resolveAsset(vm, '_setupState', 'v-' + dir.name);\r\n if (typeof setupDef === 'function') {\r\n dir.def = {\r\n bind: setupDef,\r\n update: setupDef,\r\n };\r\n }\r\n else {\r\n dir.def = setupDef;\r\n }\r\n }\r\n dir.def = dir.def || resolveAsset(vm.$options, 'directives', dir.name, true);\r\n }\r\n // $flow-disable-line\r\n return res;\r\n}\r\nfunction getRawDirName(dir) {\r\n return (dir.rawName || \"\".concat(dir.name, \".\").concat(Object.keys(dir.modifiers || {}).join('.')));\r\n}\r\nfunction callHook(dir, hook, vnode, oldVnode, isDestroy) {\r\n var fn = dir.def && dir.def[hook];\r\n if (fn) {\r\n try {\r\n fn(vnode.elm, dir, vnode, oldVnode, isDestroy);\r\n }\r\n catch (e) {\r\n handleError(e, vnode.context, \"directive \".concat(dir.name, \" \").concat(hook, \" hook\"));\r\n }\r\n }\r\n}\n\nvar baseModules = [ref, directives];\n\nfunction updateAttrs(oldVnode, vnode) {\r\n var opts = vnode.componentOptions;\r\n if (isDef(opts) && opts.Ctor.options.inheritAttrs === false) {\r\n return;\r\n }\r\n if (isUndef(oldVnode.data.attrs) && isUndef(vnode.data.attrs)) {\r\n return;\r\n }\r\n var key, cur, old;\r\n var elm = vnode.elm;\r\n var oldAttrs = oldVnode.data.attrs || {};\r\n var attrs = vnode.data.attrs || {};\r\n // clone observed objects, as the user probably wants to mutate it\r\n if (isDef(attrs.__ob__) || isTrue(attrs._v_attr_proxy)) {\r\n attrs = vnode.data.attrs = extend({}, attrs);\r\n }\r\n for (key in attrs) {\r\n cur = attrs[key];\r\n old = oldAttrs[key];\r\n if (old !== cur) {\r\n setAttr(elm, key, cur, vnode.data.pre);\r\n }\r\n }\r\n // #4391: in IE9, setting type can reset value for input[type=radio]\r\n // #6666: IE/Edge forces progress value down to 1 before setting a max\r\n /* istanbul ignore if */\r\n if ((isIE || isEdge) && attrs.value !== oldAttrs.value) {\r\n setAttr(elm, 'value', attrs.value);\r\n }\r\n for (key in oldAttrs) {\r\n if (isUndef(attrs[key])) {\r\n if (isXlink(key)) {\r\n elm.removeAttributeNS(xlinkNS, getXlinkProp(key));\r\n }\r\n else if (!isEnumeratedAttr(key)) {\r\n elm.removeAttribute(key);\r\n }\r\n }\r\n }\r\n}\r\nfunction setAttr(el, key, value, isInPre) {\r\n if (isInPre || el.tagName.indexOf('-') > -1) {\r\n baseSetAttr(el, key, value);\r\n }\r\n else if (isBooleanAttr(key)) {\r\n // set attribute for blank value\r\n // e.g. <option disabled>Select one</option>\r\n if (isFalsyAttrValue(value)) {\r\n el.removeAttribute(key);\r\n }\r\n else {\r\n // technically allowfullscreen is a boolean attribute for <iframe>,\r\n // but Flash expects a value of \"true\" when used on <embed> tag\r\n value = key === 'allowfullscreen' && el.tagName === 'EMBED' ? 'true' : key;\r\n el.setAttribute(key, value);\r\n }\r\n }\r\n else if (isEnumeratedAttr(key)) {\r\n el.setAttribute(key, convertEnumeratedValue(key, value));\r\n }\r\n else if (isXlink(key)) {\r\n if (isFalsyAttrValue(value)) {\r\n el.removeAttributeNS(xlinkNS, getXlinkProp(key));\r\n }\r\n else {\r\n el.setAttributeNS(xlinkNS, key, value);\r\n }\r\n }\r\n else {\r\n baseSetAttr(el, key, value);\r\n }\r\n}\r\nfunction baseSetAttr(el, key, value) {\r\n if (isFalsyAttrValue(value)) {\r\n el.removeAttribute(key);\r\n }\r\n else {\r\n // #7138: IE10 & 11 fires input event when setting placeholder on\r\n // <textarea>... block the first input event and remove the blocker\r\n // immediately.\r\n /* istanbul ignore if */\r\n if (isIE &&\r\n !isIE9 &&\r\n el.tagName === 'TEXTAREA' &&\r\n key === 'placeholder' &&\r\n value !== '' &&\r\n !el.__ieph) {\r\n var blocker_1 = function (e) {\r\n e.stopImmediatePropagation();\r\n el.removeEventListener('input', blocker_1);\r\n };\r\n el.addEventListener('input', blocker_1);\r\n // $flow-disable-line\r\n el.__ieph = true; /* IE placeholder patched */\r\n }\r\n el.setAttribute(key, value);\r\n }\r\n}\r\nvar attrs = {\r\n create: updateAttrs,\r\n update: updateAttrs\r\n};\n\nfunction updateClass(oldVnode, vnode) {\r\n var el = vnode.elm;\r\n var data = vnode.data;\r\n var oldData = oldVnode.data;\r\n if (isUndef(data.staticClass) &&\r\n isUndef(data.class) &&\r\n (isUndef(oldData) ||\r\n (isUndef(oldData.staticClass) && isUndef(oldData.class)))) {\r\n return;\r\n }\r\n var cls = genClassForVnode(vnode);\r\n // handle transition classes\r\n var transitionClass = el._transitionClasses;\r\n if (isDef(transitionClass)) {\r\n cls = concat(cls, stringifyClass(transitionClass));\r\n }\r\n // set the class\r\n if (cls !== el._prevClass) {\r\n el.setAttribute('class', cls);\r\n el._prevClass = cls;\r\n }\r\n}\r\nvar klass = {\r\n create: updateClass,\r\n update: updateClass\r\n};\n\n// in some cases, the event used has to be determined at runtime\r\n// so we used some reserved tokens during compile.\r\nvar RANGE_TOKEN = '__r';\r\nvar CHECKBOX_RADIO_TOKEN = '__c';\n\n// normalize v-model event tokens that can only be determined at runtime.\r\n// it's important to place the event as the first in the array because\r\n// the whole point is ensuring the v-model callback gets called before\r\n// user-attached handlers.\r\nfunction normalizeEvents(on) {\r\n /* istanbul ignore if */\r\n if (isDef(on[RANGE_TOKEN])) {\r\n // IE input[type=range] only supports `change` event\r\n var event_1 = isIE ? 'change' : 'input';\r\n on[event_1] = [].concat(on[RANGE_TOKEN], on[event_1] || []);\r\n delete on[RANGE_TOKEN];\r\n }\r\n // This was originally intended to fix #4521 but no longer necessary\r\n // after 2.5. Keeping it for backwards compat with generated code from < 2.4\r\n /* istanbul ignore if */\r\n if (isDef(on[CHECKBOX_RADIO_TOKEN])) {\r\n on.change = [].concat(on[CHECKBOX_RADIO_TOKEN], on.change || []);\r\n delete on[CHECKBOX_RADIO_TOKEN];\r\n }\r\n}\r\nvar target;\r\nfunction createOnceHandler(event, handler, capture) {\r\n var _target = target; // save current target element in closure\r\n return function onceHandler() {\r\n var res = handler.apply(null, arguments);\r\n if (res !== null) {\r\n remove(event, onceHandler, capture, _target);\r\n }\r\n };\r\n}\r\n// #9446: Firefox <= 53 (in particular, ESR 52) has incorrect Event.timeStamp\r\n// implementation and does not fire microtasks in between event propagation, so\r\n// safe to exclude.\r\nvar useMicrotaskFix = isUsingMicroTask && !(isFF && Number(isFF[1]) <= 53);\r\nfunction add(name, handler, capture, passive) {\r\n // async edge case #6566: inner click event triggers patch, event handler\r\n // attached to outer element during patch, and triggered again. This\r\n // happens because browsers fire microtask ticks between event propagation.\r\n // the solution is simple: we save the timestamp when a handler is attached,\r\n // and the handler would only fire if the event passed to it was fired\r\n // AFTER it was attached.\r\n if (useMicrotaskFix) {\r\n var attachedTimestamp_1 = currentFlushTimestamp;\r\n var original_1 = handler;\r\n //@ts-expect-error\r\n handler = original_1._wrapper = function (e) {\r\n if (\r\n // no bubbling, should always fire.\r\n // this is just a safety net in case event.timeStamp is unreliable in\r\n // certain weird environments...\r\n e.target === e.currentTarget ||\r\n // event is fired after handler attachment\r\n e.timeStamp >= attachedTimestamp_1 ||\r\n // bail for environments that have buggy event.timeStamp implementations\r\n // #9462 iOS 9 bug: event.timeStamp is 0 after history.pushState\r\n // #9681 QtWebEngine event.timeStamp is negative value\r\n e.timeStamp <= 0 ||\r\n // #9448 bail if event is fired in another document in a multi-page\r\n // electron/nw.js app, since event.timeStamp will be using a different\r\n // starting reference\r\n e.target.ownerDocument !== document) {\r\n return original_1.apply(this, arguments);\r\n }\r\n };\r\n }\r\n target.addEventListener(name, handler, supportsPassive ? { capture: capture, passive: passive } : capture);\r\n}\r\nfunction remove(name, handler, capture, _target) {\r\n (_target || target).removeEventListener(name, \r\n //@ts-expect-error\r\n handler._wrapper || handler, capture);\r\n}\r\nfunction updateDOMListeners(oldVnode, vnode) {\r\n if (isUndef(oldVnode.data.on) && isUndef(vnode.data.on)) {\r\n return;\r\n }\r\n var on = vnode.data.on || {};\r\n var oldOn = oldVnode.data.on || {};\r\n // vnode is empty when removing all listeners,\r\n // and use old vnode dom element\r\n target = vnode.elm || oldVnode.elm;\r\n normalizeEvents(on);\r\n updateListeners(on, oldOn, add, remove, createOnceHandler, vnode.context);\r\n target = undefined;\r\n}\r\nvar events = {\r\n create: updateDOMListeners,\r\n update: updateDOMListeners,\r\n // @ts-expect-error emptyNode has actually data\r\n destroy: function (vnode) { return updateDOMListeners(vnode, emptyNode); }\r\n};\n\nvar svgContainer;\r\nfunction updateDOMProps(oldVnode, vnode) {\r\n if (isUndef(oldVnode.data.domProps) && isUndef(vnode.data.domProps)) {\r\n return;\r\n }\r\n var key, cur;\r\n var elm = vnode.elm;\r\n var oldProps = oldVnode.data.domProps || {};\r\n var props = vnode.data.domProps || {};\r\n // clone observed objects, as the user probably wants to mutate it\r\n if (isDef(props.__ob__) || isTrue(props._v_attr_proxy)) {\r\n props = vnode.data.domProps = extend({}, props);\r\n }\r\n for (key in oldProps) {\r\n if (!(key in props)) {\r\n elm[key] = '';\r\n }\r\n }\r\n for (key in props) {\r\n cur = props[key];\r\n // ignore children if the node has textContent or innerHTML,\r\n // as these will throw away existing DOM nodes and cause removal errors\r\n // on subsequent patches (#3360)\r\n if (key === 'textContent' || key === 'innerHTML') {\r\n if (vnode.children)\r\n vnode.children.length = 0;\r\n if (cur === oldProps[key])\r\n continue;\r\n // #6601 work around Chrome version <= 55 bug where single textNode\r\n // replaced by innerHTML/textContent retains its parentNode property\r\n if (elm.childNodes.length === 1) {\r\n elm.removeChild(elm.childNodes[0]);\r\n }\r\n }\r\n if (key === 'value' && elm.tagName !== 'PROGRESS') {\r\n // store value as _value as well since\r\n // non-string values will be stringified\r\n elm._value = cur;\r\n // avoid resetting cursor position when value is the same\r\n var strCur = isUndef(cur) ? '' : String(cur);\r\n if (shouldUpdateValue(elm, strCur)) {\r\n elm.value = strCur;\r\n }\r\n }\r\n else if (key === 'innerHTML' &&\r\n isSVG(elm.tagName) &&\r\n isUndef(elm.innerHTML)) {\r\n // IE doesn't support innerHTML for SVG elements\r\n svgContainer = svgContainer || document.createElement('div');\r\n svgContainer.innerHTML = \"<svg>\".concat(cur, \"</svg>\");\r\n var svg = svgContainer.firstChild;\r\n while (elm.firstChild) {\r\n elm.removeChild(elm.firstChild);\r\n }\r\n while (svg.firstChild) {\r\n elm.appendChild(svg.firstChild);\r\n }\r\n }\r\n else if (\r\n // skip the update if old and new VDOM state is the same.\r\n // `value` is handled separately because the DOM value may be temporarily\r\n // out of sync with VDOM state due to focus, composition and modifiers.\r\n // This #4521 by skipping the unnecessary `checked` update.\r\n cur !== oldProps[key]) {\r\n // some property updates can throw\r\n // e.g. `value` on <progress> w/ non-finite value\r\n try {\r\n elm[key] = cur;\r\n }\r\n catch (e) { }\r\n }\r\n }\r\n}\r\nfunction shouldUpdateValue(elm, checkVal) {\r\n return (\r\n //@ts-expect-error\r\n !elm.composing &&\r\n (elm.tagName === 'OPTION' ||\r\n isNotInFocusAndDirty(elm, checkVal) ||\r\n isDirtyWithModifiers(elm, checkVal)));\r\n}\r\nfunction isNotInFocusAndDirty(elm, checkVal) {\r\n // return true when textbox (.number and .trim) loses focus and its value is\r\n // not equal to the updated value\r\n var notInFocus = true;\r\n // #6157\r\n // work around IE bug when accessing document.activeElement in an iframe\r\n try {\r\n notInFocus = document.activeElement !== elm;\r\n }\r\n catch (e) { }\r\n return notInFocus && elm.value !== checkVal;\r\n}\r\nfunction isDirtyWithModifiers(elm, newVal) {\r\n var value = elm.value;\r\n var modifiers = elm._vModifiers; // injected by v-model runtime\r\n if (isDef(modifiers)) {\r\n if (modifiers.number) {\r\n return toNumber(value) !== toNumber(newVal);\r\n }\r\n if (modifiers.trim) {\r\n return value.trim() !== newVal.trim();\r\n }\r\n }\r\n return value !== newVal;\r\n}\r\nvar domProps = {\r\n create: updateDOMProps,\r\n update: updateDOMProps\r\n};\n\nvar parseStyleText = cached(function (cssText) {\r\n var res = {};\r\n var listDelimiter = /;(?![^(]*\\))/g;\r\n var propertyDelimiter = /:(.+)/;\r\n cssText.split(listDelimiter).forEach(function (item) {\r\n if (item) {\r\n var tmp = item.split(propertyDelimiter);\r\n tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());\r\n }\r\n });\r\n return res;\r\n});\r\n// merge static and dynamic style data on the same vnode\r\nfunction normalizeStyleData(data) {\r\n var style = normalizeStyleBinding(data.style);\r\n // static style is pre-processed into an object during compilation\r\n // and is always a fresh object, so it's safe to merge into it\r\n return data.staticStyle ? extend(data.staticStyle, style) : style;\r\n}\r\n// normalize possible array / string values into Object\r\nfunction normalizeStyleBinding(bindingStyle) {\r\n if (Array.isArray(bindingStyle)) {\r\n return toObject(bindingStyle);\r\n }\r\n if (typeof bindingStyle === 'string') {\r\n return parseStyleText(bindingStyle);\r\n }\r\n return bindingStyle;\r\n}\r\n/**\r\n * parent component style should be after child's\r\n * so that parent component's style could override it\r\n */\r\nfunction getStyle(vnode, checkChild) {\r\n var res = {};\r\n var styleData;\r\n if (checkChild) {\r\n var childNode = vnode;\r\n while (childNode.componentInstance) {\r\n childNode = childNode.componentInstance._vnode;\r\n if (childNode &&\r\n childNode.data &&\r\n (styleData = normalizeStyleData(childNode.data))) {\r\n extend(res, styleData);\r\n }\r\n }\r\n }\r\n if ((styleData = normalizeStyleData(vnode.data))) {\r\n extend(res, styleData);\r\n }\r\n var parentNode = vnode;\r\n // @ts-expect-error parentNode.parent not VNodeWithData\r\n while ((parentNode = parentNode.parent)) {\r\n if (parentNode.data && (styleData = normalizeStyleData(parentNode.data))) {\r\n extend(res, styleData);\r\n }\r\n }\r\n return res;\r\n}\n\nvar cssVarRE = /^--/;\r\nvar importantRE = /\\s*!important$/;\r\nvar setProp = function (el, name, val) {\r\n /* istanbul ignore if */\r\n if (cssVarRE.test(name)) {\r\n el.style.setProperty(name, val);\r\n }\r\n else if (importantRE.test(val)) {\r\n el.style.setProperty(hyphenate(name), val.replace(importantRE, ''), 'important');\r\n }\r\n else {\r\n var normalizedName = normalize(name);\r\n if (Array.isArray(val)) {\r\n // Support values array created by autoprefixer, e.g.\r\n // {display: [\"-webkit-box\", \"-ms-flexbox\", \"flex\"]}\r\n // Set them one by one, and the browser will only set those it can recognize\r\n for (var i = 0, len = val.length; i < len; i++) {\r\n el.style[normalizedName] = val[i];\r\n }\r\n }\r\n else {\r\n el.style[normalizedName] = val;\r\n }\r\n }\r\n};\r\nvar vendorNames = ['Webkit', 'Moz', 'ms'];\r\nvar emptyStyle;\r\nvar normalize = cached(function (prop) {\r\n emptyStyle = emptyStyle || document.createElement('div').style;\r\n prop = camelize(prop);\r\n if (prop !== 'filter' && prop in emptyStyle) {\r\n return prop;\r\n }\r\n var capName = prop.charAt(0).toUpperCase() + prop.slice(1);\r\n for (var i = 0; i < vendorNames.length; i++) {\r\n var name_1 = vendorNames[i] + capName;\r\n if (name_1 in emptyStyle) {\r\n return name_1;\r\n }\r\n }\r\n});\r\nfunction updateStyle(oldVnode, vnode) {\r\n var data = vnode.data;\r\n var oldData = oldVnode.data;\r\n if (isUndef(data.staticStyle) &&\r\n isUndef(data.style) &&\r\n isUndef(oldData.staticStyle) &&\r\n isUndef(oldData.style)) {\r\n return;\r\n }\r\n var cur, name;\r\n var el = vnode.elm;\r\n var oldStaticStyle = oldData.staticStyle;\r\n var oldStyleBinding = oldData.normalizedStyle || oldData.style || {};\r\n // if static style exists, stylebinding already merged into it when doing normalizeStyleData\r\n var oldStyle = oldStaticStyle || oldStyleBinding;\r\n var style = normalizeStyleBinding(vnode.data.style) || {};\r\n // store normalized style under a different key for next diff\r\n // make sure to clone it if it's reactive, since the user likely wants\r\n // to mutate it.\r\n vnode.data.normalizedStyle = isDef(style.__ob__) ? extend({}, style) : style;\r\n var newStyle = getStyle(vnode, true);\r\n for (name in oldStyle) {\r\n if (isUndef(newStyle[name])) {\r\n setProp(el, name, '');\r\n }\r\n }\r\n for (name in newStyle) {\r\n cur = newStyle[name];\r\n if (cur !== oldStyle[name]) {\r\n // ie9 setting to null has no effect, must use empty string\r\n setProp(el, name, cur == null ? '' : cur);\r\n }\r\n }\r\n}\r\nvar style = {\r\n create: updateStyle,\r\n update: updateStyle\r\n};\n\nvar whitespaceRE = /\\s+/;\r\n/**\r\n * Add class with compatibility for SVG since classList is not supported on\r\n * SVG elements in IE\r\n */\r\nfunction addClass(el, cls) {\r\n /* istanbul ignore if */\r\n if (!cls || !(cls = cls.trim())) {\r\n return;\r\n }\r\n /* istanbul ignore else */\r\n if (el.classList) {\r\n if (cls.indexOf(' ') > -1) {\r\n cls.split(whitespaceRE).forEach(function (c) { return el.classList.add(c); });\r\n }\r\n else {\r\n el.classList.add(cls);\r\n }\r\n }\r\n else {\r\n var cur = \" \".concat(el.getAttribute('class') || '', \" \");\r\n if (cur.indexOf(' ' + cls + ' ') < 0) {\r\n el.setAttribute('class', (cur + cls).trim());\r\n }\r\n }\r\n}\r\n/**\r\n * Remove class with compatibility for SVG since classList is not supported on\r\n * SVG elements in IE\r\n */\r\nfunction removeClass(el, cls) {\r\n /* istanbul ignore if */\r\n if (!cls || !(cls = cls.trim())) {\r\n return;\r\n }\r\n /* istanbul ignore else */\r\n if (el.classList) {\r\n if (cls.indexOf(' ') > -1) {\r\n cls.split(whitespaceRE).forEach(function (c) { return el.classList.remove(c); });\r\n }\r\n else {\r\n el.classList.remove(cls);\r\n }\r\n if (!el.classList.length) {\r\n el.removeAttribute('class');\r\n }\r\n }\r\n else {\r\n var cur = \" \".concat(el.getAttribute('class') || '', \" \");\r\n var tar = ' ' + cls + ' ';\r\n while (cur.indexOf(tar) >= 0) {\r\n cur = cur.replace(tar, ' ');\r\n }\r\n cur = cur.trim();\r\n if (cur) {\r\n el.setAttribute('class', cur);\r\n }\r\n else {\r\n el.removeAttribute('class');\r\n }\r\n }\r\n}\n\nfunction resolveTransition(def) {\r\n if (!def) {\r\n return;\r\n }\r\n /* istanbul ignore else */\r\n if (typeof def === 'object') {\r\n var res = {};\r\n if (def.css !== false) {\r\n extend(res, autoCssTransition(def.name || 'v'));\r\n }\r\n extend(res, def);\r\n return res;\r\n }\r\n else if (typeof def === 'string') {\r\n return autoCssTransition(def);\r\n }\r\n}\r\nvar autoCssTransition = cached(function (name) {\r\n return {\r\n enterClass: \"\".concat(name, \"-enter\"),\r\n enterToClass: \"\".concat(name, \"-enter-to\"),\r\n enterActiveClass: \"\".concat(name, \"-enter-active\"),\r\n leaveClass: \"\".concat(name, \"-leave\"),\r\n leaveToClass: \"\".concat(name, \"-leave-to\"),\r\n leaveActiveClass: \"\".concat(name, \"-leave-active\")\r\n };\r\n});\r\nvar hasTransition = inBrowser && !isIE9;\r\nvar TRANSITION = 'transition';\r\nvar ANIMATION = 'animation';\r\n// Transition property/event sniffing\r\nvar transitionProp = 'transition';\r\nvar transitionEndEvent = 'transitionend';\r\nvar animationProp = 'animation';\r\nvar animationEndEvent = 'animationend';\r\nif (hasTransition) {\r\n /* istanbul ignore if */\r\n if (window.ontransitionend === undefined &&\r\n window.onwebkittransitionend !== undefined) {\r\n transitionProp = 'WebkitTransition';\r\n transitionEndEvent = 'webkitTransitionEnd';\r\n }\r\n if (window.onanimationend === undefined &&\r\n window.onwebkitanimationend !== undefined) {\r\n animationProp = 'WebkitAnimation';\r\n animationEndEvent = 'webkitAnimationEnd';\r\n }\r\n}\r\n// binding to window is necessary to make hot reload work in IE in strict mode\r\nvar raf = inBrowser\r\n ? window.requestAnimationFrame\r\n ? window.requestAnimationFrame.bind(window)\r\n : setTimeout\r\n : /* istanbul ignore next */ function (/* istanbul ignore next */ fn) { return fn(); };\r\nfunction nextFrame(fn) {\r\n raf(function () {\r\n // @ts-expect-error\r\n raf(fn);\r\n });\r\n}\r\nfunction addTransitionClass(el, cls) {\r\n var transitionClasses = el._transitionClasses || (el._transitionClasses = []);\r\n if (transitionClasses.indexOf(cls) < 0) {\r\n transitionClasses.push(cls);\r\n addClass(el, cls);\r\n }\r\n}\r\nfunction removeTransitionClass(el, cls) {\r\n if (el._transitionClasses) {\r\n remove$2(el._transitionClasses, cls);\r\n }\r\n removeClass(el, cls);\r\n}\r\nfunction whenTransitionEnds(el, expectedType, cb) {\r\n var _a = getTransitionInfo(el, expectedType), type = _a.type, timeout = _a.timeout, propCount = _a.propCount;\r\n if (!type)\r\n return cb();\r\n var event = type === TRANSITION ? transitionEndEvent : animationEndEvent;\r\n var ended = 0;\r\n var end = function () {\r\n el.removeEventListener(event, onEnd);\r\n cb();\r\n };\r\n var onEnd = function (e) {\r\n if (e.target === el) {\r\n if (++ended >= propCount) {\r\n end();\r\n }\r\n }\r\n };\r\n setTimeout(function () {\r\n if (ended < propCount) {\r\n end();\r\n }\r\n }, timeout + 1);\r\n el.addEventListener(event, onEnd);\r\n}\r\nvar transformRE = /\\b(transform|all)(,|$)/;\r\nfunction getTransitionInfo(el, expectedType) {\r\n var styles = window.getComputedStyle(el);\r\n // JSDOM may return undefined for transition properties\r\n var transitionDelays = (styles[transitionProp + 'Delay'] || '').split(', ');\r\n var transitionDurations = (styles[transitionProp + 'Duration'] || '').split(', ');\r\n var transitionTimeout = getTimeout(transitionDelays, transitionDurations);\r\n var animationDelays = (styles[animationProp + 'Delay'] || '').split(', ');\r\n var animationDurations = (styles[animationProp + 'Duration'] || '').split(', ');\r\n var animationTimeout = getTimeout(animationDelays, animationDurations);\r\n var type;\r\n var timeout = 0;\r\n var propCount = 0;\r\n /* istanbul ignore if */\r\n if (expectedType === TRANSITION) {\r\n if (transitionTimeout > 0) {\r\n type = TRANSITION;\r\n timeout = transitionTimeout;\r\n propCount = transitionDurations.length;\r\n }\r\n }\r\n else if (expectedType === ANIMATION) {\r\n if (animationTimeout > 0) {\r\n type = ANIMATION;\r\n timeout = animationTimeout;\r\n propCount = animationDurations.length;\r\n }\r\n }\r\n else {\r\n timeout = Math.max(transitionTimeout, animationTimeout);\r\n type =\r\n timeout > 0\r\n ? transitionTimeout > animationTimeout\r\n ? TRANSITION\r\n : ANIMATION\r\n : null;\r\n propCount = type\r\n ? type === TRANSITION\r\n ? transitionDurations.length\r\n : animationDurations.length\r\n : 0;\r\n }\r\n var hasTransform = type === TRANSITION && transformRE.test(styles[transitionProp + 'Property']);\r\n return {\r\n type: type,\r\n timeout: timeout,\r\n propCount: propCount,\r\n hasTransform: hasTransform\r\n };\r\n}\r\nfunction getTimeout(delays, durations) {\r\n /* istanbul ignore next */\r\n while (delays.length < durations.length) {\r\n delays = delays.concat(delays);\r\n }\r\n return Math.max.apply(null, durations.map(function (d, i) {\r\n return toMs(d) + toMs(delays[i]);\r\n }));\r\n}\r\n// Old versions of Chromium (below 61.0.3163.100) formats floating pointer numbers\r\n// in a locale-dependent way, using a comma instead of a dot.\r\n// If comma is not replaced with a dot, the input will be rounded down (i.e. acting\r\n// as a floor function) causing unexpected behaviors\r\nfunction toMs(s) {\r\n return Number(s.slice(0, -1).replace(',', '.')) * 1000;\r\n}\n\nfunction enter(vnode, toggleDisplay) {\r\n var el = vnode.elm;\r\n // call leave callback now\r\n if (isDef(el._leaveCb)) {\r\n el._leaveCb.cancelled = true;\r\n el._leaveCb();\r\n }\r\n var data = resolveTransition(vnode.data.transition);\r\n if (isUndef(data)) {\r\n return;\r\n }\r\n /* istanbul ignore if */\r\n if (isDef(el._enterCb) || el.nodeType !== 1) {\r\n return;\r\n }\r\n var css = data.css, type = data.type, enterClass = data.enterClass, enterToClass = data.enterToClass, enterActiveClass = data.enterActiveClass, appearClass = data.appearClass, appearToClass = data.appearToClass, appearActiveClass = data.appearActiveClass, beforeEnter = data.beforeEnter, enter = data.enter, afterEnter = data.afterEnter, enterCancelled = data.enterCancelled, beforeAppear = data.beforeAppear, appear = data.appear, afterAppear = data.afterAppear, appearCancelled = data.appearCancelled, duration = data.duration;\r\n // activeInstance will always be the <transition> component managing this\r\n // transition. One edge case to check is when the <transition> is placed\r\n // as the root node of a child component. In that case we need to check\r\n // <transition>'s parent for appear check.\r\n var context = activeInstance;\r\n var transitionNode = activeInstance.$vnode;\r\n while (transitionNode && transitionNode.parent) {\r\n context = transitionNode.context;\r\n transitionNode = transitionNode.parent;\r\n }\r\n var isAppear = !context._isMounted || !vnode.isRootInsert;\r\n if (isAppear && !appear && appear !== '') {\r\n return;\r\n }\r\n var startClass = isAppear && appearClass ? appearClass : enterClass;\r\n var activeClass = isAppear && appearActiveClass ? appearActiveClass : enterActiveClass;\r\n var toClass = isAppear && appearToClass ? appearToClass : enterToClass;\r\n var beforeEnterHook = isAppear ? beforeAppear || beforeEnter : beforeEnter;\r\n var enterHook = isAppear ? (isFunction(appear) ? appear : enter) : enter;\r\n var afterEnterHook = isAppear ? afterAppear || afterEnter : afterEnter;\r\n var enterCancelledHook = isAppear\r\n ? appearCancelled || enterCancelled\r\n : enterCancelled;\r\n var explicitEnterDuration = toNumber(isObject(duration) ? duration.enter : duration);\r\n if (process.env.NODE_ENV !== 'production' && explicitEnterDuration != null) {\r\n checkDuration(explicitEnterDuration, 'enter', vnode);\r\n }\r\n var expectsCSS = css !== false && !isIE9;\r\n var userWantsControl = getHookArgumentsLength(enterHook);\r\n var cb = (el._enterCb = once(function () {\r\n if (expectsCSS) {\r\n removeTransitionClass(el, toClass);\r\n removeTransitionClass(el, activeClass);\r\n }\r\n // @ts-expect-error\r\n if (cb.cancelled) {\r\n if (expectsCSS) {\r\n removeTransitionClass(el, startClass);\r\n }\r\n enterCancelledHook && enterCancelledHook(el);\r\n }\r\n else {\r\n afterEnterHook && afterEnterHook(el);\r\n }\r\n el._enterCb = null;\r\n }));\r\n if (!vnode.data.show) {\r\n // remove pending leave element on enter by injecting an insert hook\r\n mergeVNodeHook(vnode, 'insert', function () {\r\n var parent = el.parentNode;\r\n var pendingNode = parent && parent._pending && parent._pending[vnode.key];\r\n if (pendingNode &&\r\n pendingNode.tag === vnode.tag &&\r\n pendingNode.elm._leaveCb) {\r\n pendingNode.elm._leaveCb();\r\n }\r\n enterHook && enterHook(el, cb);\r\n });\r\n }\r\n // start enter transition\r\n beforeEnterHook && beforeEnterHook(el);\r\n if (expectsCSS) {\r\n addTransitionClass(el, startClass);\r\n addTransitionClass(el, activeClass);\r\n nextFrame(function () {\r\n removeTransitionClass(el, startClass);\r\n // @ts-expect-error\r\n if (!cb.cancelled) {\r\n addTransitionClass(el, toClass);\r\n if (!userWantsControl) {\r\n if (isValidDuration(explicitEnterDuration)) {\r\n setTimeout(cb, explicitEnterDuration);\r\n }\r\n else {\r\n whenTransitionEnds(el, type, cb);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n if (vnode.data.show) {\r\n toggleDisplay && toggleDisplay();\r\n enterHook && enterHook(el, cb);\r\n }\r\n if (!expectsCSS && !userWantsControl) {\r\n cb();\r\n }\r\n}\r\nfunction leave(vnode, rm) {\r\n var el = vnode.elm;\r\n // call enter callback now\r\n if (isDef(el._enterCb)) {\r\n el._enterCb.cancelled = true;\r\n el._enterCb();\r\n }\r\n var data = resolveTransition(vnode.data.transition);\r\n if (isUndef(data) || el.nodeType !== 1) {\r\n return rm();\r\n }\r\n /* istanbul ignore if */\r\n if (isDef(el._leaveCb)) {\r\n return;\r\n }\r\n var css = data.css, type = data.type, leaveClass = data.leaveClass, leaveToClass = data.leaveToClass, leaveActiveClass = data.leaveActiveClass, beforeLeave = data.beforeLeave, leave = data.leave, afterLeave = data.afterLeave, leaveCancelled = data.leaveCancelled, delayLeave = data.delayLeave, duration = data.duration;\r\n var expectsCSS = css !== false && !isIE9;\r\n var userWantsControl = getHookArgumentsLength(leave);\r\n var explicitLeaveDuration = toNumber(isObject(duration) ? duration.leave : duration);\r\n if (process.env.NODE_ENV !== 'production' && isDef(explicitLeaveDuration)) {\r\n checkDuration(explicitLeaveDuration, 'leave', vnode);\r\n }\r\n var cb = (el._leaveCb = once(function () {\r\n if (el.parentNode && el.parentNode._pending) {\r\n el.parentNode._pending[vnode.key] = null;\r\n }\r\n if (expectsCSS) {\r\n removeTransitionClass(el, leaveToClass);\r\n removeTransitionClass(el, leaveActiveClass);\r\n }\r\n // @ts-expect-error\r\n if (cb.cancelled) {\r\n if (expectsCSS) {\r\n removeTransitionClass(el, leaveClass);\r\n }\r\n leaveCancelled && leaveCancelled(el);\r\n }\r\n else {\r\n rm();\r\n afterLeave && afterLeave(el);\r\n }\r\n el._leaveCb = null;\r\n }));\r\n if (delayLeave) {\r\n delayLeave(performLeave);\r\n }\r\n else {\r\n performLeave();\r\n }\r\n function performLeave() {\r\n // the delayed leave may have already been cancelled\r\n // @ts-expect-error\r\n if (cb.cancelled) {\r\n return;\r\n }\r\n // record leaving element\r\n if (!vnode.data.show && el.parentNode) {\r\n (el.parentNode._pending || (el.parentNode._pending = {}))[vnode.key] =\r\n vnode;\r\n }\r\n beforeLeave && beforeLeave(el);\r\n if (expectsCSS) {\r\n addTransitionClass(el, leaveClass);\r\n addTransitionClass(el, leaveActiveClass);\r\n nextFrame(function () {\r\n removeTransitionClass(el, leaveClass);\r\n // @ts-expect-error\r\n if (!cb.cancelled) {\r\n addTransitionClass(el, leaveToClass);\r\n if (!userWantsControl) {\r\n if (isValidDuration(explicitLeaveDuration)) {\r\n setTimeout(cb, explicitLeaveDuration);\r\n }\r\n else {\r\n whenTransitionEnds(el, type, cb);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n leave && leave(el, cb);\r\n if (!expectsCSS && !userWantsControl) {\r\n cb();\r\n }\r\n }\r\n}\r\n// only used in dev mode\r\nfunction checkDuration(val, name, vnode) {\r\n if (typeof val !== 'number') {\r\n warn(\"<transition> explicit \".concat(name, \" duration is not a valid number - \") +\r\n \"got \".concat(JSON.stringify(val), \".\"), vnode.context);\r\n }\r\n else if (isNaN(val)) {\r\n warn(\"<transition> explicit \".concat(name, \" duration is NaN - \") +\r\n 'the duration expression might be incorrect.', vnode.context);\r\n }\r\n}\r\nfunction isValidDuration(val) {\r\n return typeof val === 'number' && !isNaN(val);\r\n}\r\n/**\r\n * Normalize a transition hook's argument length. The hook may be:\r\n * - a merged hook (invoker) with the original in .fns\r\n * - a wrapped component method (check ._length)\r\n * - a plain function (.length)\r\n */\r\nfunction getHookArgumentsLength(fn) {\r\n if (isUndef(fn)) {\r\n return false;\r\n }\r\n // @ts-expect-error\r\n var invokerFns = fn.fns;\r\n if (isDef(invokerFns)) {\r\n // invoker\r\n return getHookArgumentsLength(Array.isArray(invokerFns) ? invokerFns[0] : invokerFns);\r\n }\r\n else {\r\n // @ts-expect-error\r\n return (fn._length || fn.length) > 1;\r\n }\r\n}\r\nfunction _enter(_, vnode) {\r\n if (vnode.data.show !== true) {\r\n enter(vnode);\r\n }\r\n}\r\nvar transition = inBrowser\r\n ? {\r\n create: _enter,\r\n activate: _enter,\r\n remove: function (vnode, rm) {\r\n /* istanbul ignore else */\r\n if (vnode.data.show !== true) {\r\n // @ts-expect-error\r\n leave(vnode, rm);\r\n }\r\n else {\r\n rm();\r\n }\r\n }\r\n }\r\n : {};\n\nvar platformModules = [attrs, klass, events, domProps, style, transition];\n\n// the directive module should be applied last, after all\r\n// built-in modules have been applied.\r\nvar modules = platformModules.concat(baseModules);\r\nvar patch = createPatchFunction({ nodeOps: nodeOps, modules: modules });\n\n/**\r\n * Not type checking this file because flow doesn't like attaching\r\n * properties to Elements.\r\n */\r\n/* istanbul ignore if */\r\nif (isIE9) {\r\n // http://www.matts411.com/post/internet-explorer-9-oninput/\r\n document.addEventListener('selectionchange', function () {\r\n var el = document.activeElement;\r\n // @ts-expect-error\r\n if (el && el.vmodel) {\r\n trigger(el, 'input');\r\n }\r\n });\r\n}\r\nvar directive = {\r\n inserted: function (el, binding, vnode, oldVnode) {\r\n if (vnode.tag === 'select') {\r\n // #6903\r\n if (oldVnode.elm && !oldVnode.elm._vOptions) {\r\n mergeVNodeHook(vnode, 'postpatch', function () {\r\n directive.componentUpdated(el, binding, vnode);\r\n });\r\n }\r\n else {\r\n setSelected(el, binding, vnode.context);\r\n }\r\n el._vOptions = [].map.call(el.options, getValue);\r\n }\r\n else if (vnode.tag === 'textarea' || isTextInputType(el.type)) {\r\n el._vModifiers = binding.modifiers;\r\n if (!binding.modifiers.lazy) {\r\n el.addEventListener('compositionstart', onCompositionStart);\r\n el.addEventListener('compositionend', onCompositionEnd);\r\n // Safari < 10.2 & UIWebView doesn't fire compositionend when\r\n // switching focus before confirming composition choice\r\n // this also fixes the issue where some browsers e.g. iOS Chrome\r\n // fires \"change\" instead of \"input\" on autocomplete.\r\n el.addEventListener('change', onCompositionEnd);\r\n /* istanbul ignore if */\r\n if (isIE9) {\r\n el.vmodel = true;\r\n }\r\n }\r\n }\r\n },\r\n componentUpdated: function (el, binding, vnode) {\r\n if (vnode.tag === 'select') {\r\n setSelected(el, binding, vnode.context);\r\n // in case the options rendered by v-for have changed,\r\n // it's possible that the value is out-of-sync with the rendered options.\r\n // detect such cases and filter out values that no longer has a matching\r\n // option in the DOM.\r\n var prevOptions_1 = el._vOptions;\r\n var curOptions_1 = (el._vOptions = [].map.call(el.options, getValue));\r\n if (curOptions_1.some(function (o, i) { return !looseEqual(o, prevOptions_1[i]); })) {\r\n // trigger change event if\r\n // no matching option found for at least one value\r\n var needReset = el.multiple\r\n ? binding.value.some(function (v) { return hasNoMatchingOption(v, curOptions_1); })\r\n : binding.value !== binding.oldValue &&\r\n hasNoMatchingOption(binding.value, curOptions_1);\r\n if (needReset) {\r\n trigger(el, 'change');\r\n }\r\n }\r\n }\r\n }\r\n};\r\nfunction setSelected(el, binding, vm) {\r\n actuallySetSelected(el, binding, vm);\r\n /* istanbul ignore if */\r\n if (isIE || isEdge) {\r\n setTimeout(function () {\r\n actuallySetSelected(el, binding, vm);\r\n }, 0);\r\n }\r\n}\r\nfunction actuallySetSelected(el, binding, vm) {\r\n var value = binding.value;\r\n var isMultiple = el.multiple;\r\n if (isMultiple && !Array.isArray(value)) {\r\n process.env.NODE_ENV !== 'production' &&\r\n warn(\"<select multiple v-model=\\\"\".concat(binding.expression, \"\\\"> \") +\r\n \"expects an Array value for its binding, but got \".concat(Object.prototype.toString\r\n .call(value)\r\n .slice(8, -1)), vm);\r\n return;\r\n }\r\n var selected, option;\r\n for (var i = 0, l = el.options.length; i < l; i++) {\r\n option = el.options[i];\r\n if (isMultiple) {\r\n selected = looseIndexOf(value, getValue(option)) > -1;\r\n if (option.selected !== selected) {\r\n option.selected = selected;\r\n }\r\n }\r\n else {\r\n if (looseEqual(getValue(option), value)) {\r\n if (el.selectedIndex !== i) {\r\n el.selectedIndex = i;\r\n }\r\n return;\r\n }\r\n }\r\n }\r\n if (!isMultiple) {\r\n el.selectedIndex = -1;\r\n }\r\n}\r\nfunction hasNoMatchingOption(value, options) {\r\n return options.every(function (o) { return !looseEqual(o, value); });\r\n}\r\nfunction getValue(option) {\r\n return '_value' in option ? option._value : option.value;\r\n}\r\nfunction onCompositionStart(e) {\r\n e.target.composing = true;\r\n}\r\nfunction onCompositionEnd(e) {\r\n // prevent triggering an input event for no reason\r\n if (!e.target.composing)\r\n return;\r\n e.target.composing = false;\r\n trigger(e.target, 'input');\r\n}\r\nfunction trigger(el, type) {\r\n var e = document.createEvent('HTMLEvents');\r\n e.initEvent(type, true, true);\r\n el.dispatchEvent(e);\r\n}\n\n// recursively search for possible transition defined inside the component root\r\nfunction locateNode(vnode) {\r\n // @ts-expect-error\r\n return vnode.componentInstance && (!vnode.data || !vnode.data.transition)\r\n ? locateNode(vnode.componentInstance._vnode)\r\n : vnode;\r\n}\r\nvar show = {\r\n bind: function (el, _a, vnode) {\r\n var value = _a.value;\r\n vnode = locateNode(vnode);\r\n var transition = vnode.data && vnode.data.transition;\r\n var originalDisplay = (el.__vOriginalDisplay =\r\n el.style.display === 'none' ? '' : el.style.display);\r\n if (value && transition) {\r\n vnode.data.show = true;\r\n enter(vnode, function () {\r\n el.style.display = originalDisplay;\r\n });\r\n }\r\n else {\r\n el.style.display = value ? originalDisplay : 'none';\r\n }\r\n },\r\n update: function (el, _a, vnode) {\r\n var value = _a.value, oldValue = _a.oldValue;\r\n /* istanbul ignore if */\r\n if (!value === !oldValue)\r\n return;\r\n vnode = locateNode(vnode);\r\n var transition = vnode.data && vnode.data.transition;\r\n if (transition) {\r\n vnode.data.show = true;\r\n if (value) {\r\n enter(vnode, function () {\r\n el.style.display = el.__vOriginalDisplay;\r\n });\r\n }\r\n else {\r\n leave(vnode, function () {\r\n el.style.display = 'none';\r\n });\r\n }\r\n }\r\n else {\r\n el.style.display = value ? el.__vOriginalDisplay : 'none';\r\n }\r\n },\r\n unbind: function (el, binding, vnode, oldVnode, isDestroy) {\r\n if (!isDestroy) {\r\n el.style.display = el.__vOriginalDisplay;\r\n }\r\n }\r\n};\n\nvar platformDirectives = {\r\n model: directive,\r\n show: show\r\n};\n\n// Provides transition support for a single element/component.\r\nvar transitionProps = {\r\n name: String,\r\n appear: Boolean,\r\n css: Boolean,\r\n mode: String,\r\n type: String,\r\n enterClass: String,\r\n leaveClass: String,\r\n enterToClass: String,\r\n leaveToClass: String,\r\n enterActiveClass: String,\r\n leaveActiveClass: String,\r\n appearClass: String,\r\n appearActiveClass: String,\r\n appearToClass: String,\r\n duration: [Number, String, Object]\r\n};\r\n// in case the child is also an abstract component, e.g. <keep-alive>\r\n// we want to recursively retrieve the real component to be rendered\r\nfunction getRealChild(vnode) {\r\n var compOptions = vnode && vnode.componentOptions;\r\n if (compOptions && compOptions.Ctor.options.abstract) {\r\n return getRealChild(getFirstComponentChild(compOptions.children));\r\n }\r\n else {\r\n return vnode;\r\n }\r\n}\r\nfunction extractTransitionData(comp) {\r\n var data = {};\r\n var options = comp.$options;\r\n // props\r\n for (var key in options.propsData) {\r\n data[key] = comp[key];\r\n }\r\n // events.\r\n // extract listeners and pass them directly to the transition methods\r\n var listeners = options._parentListeners;\r\n for (var key in listeners) {\r\n data[camelize(key)] = listeners[key];\r\n }\r\n return data;\r\n}\r\nfunction placeholder(h, rawChild) {\r\n // @ts-expect-error\r\n if (/\\d-keep-alive$/.test(rawChild.tag)) {\r\n return h('keep-alive', {\r\n props: rawChild.componentOptions.propsData\r\n });\r\n }\r\n}\r\nfunction hasParentTransition(vnode) {\r\n while ((vnode = vnode.parent)) {\r\n if (vnode.data.transition) {\r\n return true;\r\n }\r\n }\r\n}\r\nfunction isSameChild(child, oldChild) {\r\n return oldChild.key === child.key && oldChild.tag === child.tag;\r\n}\r\nvar isNotTextNode = function (c) { return c.tag || isAsyncPlaceholder(c); };\r\nvar isVShowDirective = function (d) { return d.name === 'show'; };\r\nvar Transition = {\r\n name: 'transition',\r\n props: transitionProps,\r\n abstract: true,\r\n render: function (h) {\r\n var _this = this;\r\n var children = this.$slots.default;\r\n if (!children) {\r\n return;\r\n }\r\n // filter out text nodes (possible whitespaces)\r\n children = children.filter(isNotTextNode);\r\n /* istanbul ignore if */\r\n if (!children.length) {\r\n return;\r\n }\r\n // warn multiple elements\r\n if (process.env.NODE_ENV !== 'production' && children.length > 1) {\r\n warn('<transition> can only be used on a single element. Use ' +\r\n '<transition-group> for lists.', this.$parent);\r\n }\r\n var mode = this.mode;\r\n // warn invalid mode\r\n if (process.env.NODE_ENV !== 'production' && mode && mode !== 'in-out' && mode !== 'out-in') {\r\n warn('invalid <transition> mode: ' + mode, this.$parent);\r\n }\r\n var rawChild = children[0];\r\n // if this is a component root node and the component's\r\n // parent container node also has transition, skip.\r\n if (hasParentTransition(this.$vnode)) {\r\n return rawChild;\r\n }\r\n // apply transition data to child\r\n // use getRealChild() to ignore abstract components e.g. keep-alive\r\n var child = getRealChild(rawChild);\r\n /* istanbul ignore if */\r\n if (!child) {\r\n return rawChild;\r\n }\r\n if (this._leaving) {\r\n return placeholder(h, rawChild);\r\n }\r\n // ensure a key that is unique to the vnode type and to this transition\r\n // component instance. This key will be used to remove pending leaving nodes\r\n // during entering.\r\n var id = \"__transition-\".concat(this._uid, \"-\");\r\n child.key =\r\n child.key == null\r\n ? child.isComment\r\n ? id + 'comment'\r\n : id + child.tag\r\n : isPrimitive(child.key)\r\n ? String(child.key).indexOf(id) === 0\r\n ? child.key\r\n : id + child.key\r\n : child.key;\r\n var data = ((child.data || (child.data = {})).transition =\r\n extractTransitionData(this));\r\n var oldRawChild = this._vnode;\r\n var oldChild = getRealChild(oldRawChild);\r\n // mark v-show\r\n // so that the transition module can hand over the control to the directive\r\n if (child.data.directives && child.data.directives.some(isVShowDirective)) {\r\n child.data.show = true;\r\n }\r\n if (oldChild &&\r\n oldChild.data &&\r\n !isSameChild(child, oldChild) &&\r\n !isAsyncPlaceholder(oldChild) &&\r\n // #6687 component root is a comment node\r\n !(oldChild.componentInstance &&\r\n oldChild.componentInstance._vnode.isComment)) {\r\n // replace old child transition data with fresh one\r\n // important for dynamic transitions!\r\n var oldData = (oldChild.data.transition = extend({}, data));\r\n // handle transition mode\r\n if (mode === 'out-in') {\r\n // return placeholder node and queue update when leave finishes\r\n this._leaving = true;\r\n mergeVNodeHook(oldData, 'afterLeave', function () {\r\n _this._leaving = false;\r\n _this.$forceUpdate();\r\n });\r\n return placeholder(h, rawChild);\r\n }\r\n else if (mode === 'in-out') {\r\n if (isAsyncPlaceholder(child)) {\r\n return oldRawChild;\r\n }\r\n var delayedLeave_1;\r\n var performLeave = function () {\r\n delayedLeave_1();\r\n };\r\n mergeVNodeHook(data, 'afterEnter', performLeave);\r\n mergeVNodeHook(data, 'enterCancelled', performLeave);\r\n mergeVNodeHook(oldData, 'delayLeave', function (leave) {\r\n delayedLeave_1 = leave;\r\n });\r\n }\r\n }\r\n return rawChild;\r\n }\r\n};\n\n// Provides transition support for list items.\r\nvar props = extend({\r\n tag: String,\r\n moveClass: String\r\n}, transitionProps);\r\ndelete props.mode;\r\nvar TransitionGroup = {\r\n props: props,\r\n beforeMount: function () {\r\n var _this = this;\r\n var update = this._update;\r\n this._update = function (vnode, hydrating) {\r\n var restoreActiveInstance = setActiveInstance(_this);\r\n // force removing pass\r\n _this.__patch__(_this._vnode, _this.kept, false, // hydrating\r\n true // removeOnly (!important, avoids unnecessary moves)\r\n );\r\n _this._vnode = _this.kept;\r\n restoreActiveInstance();\r\n update.call(_this, vnode, hydrating);\r\n };\r\n },\r\n render: function (h) {\r\n var tag = this.tag || this.$vnode.data.tag || 'span';\r\n var map = Object.create(null);\r\n var prevChildren = (this.prevChildren = this.children);\r\n var rawChildren = this.$slots.default || [];\r\n var children = (this.children = []);\r\n var transitionData = extractTransitionData(this);\r\n for (var i = 0; i < rawChildren.length; i++) {\r\n var c = rawChildren[i];\r\n if (c.tag) {\r\n if (c.key != null && String(c.key).indexOf('__vlist') !== 0) {\r\n children.push(c);\r\n map[c.key] = c;\r\n (c.data || (c.data = {})).transition = transitionData;\r\n }\r\n else if (process.env.NODE_ENV !== 'production') {\r\n var opts = c.componentOptions;\r\n var name_1 = opts\r\n ? getComponentName(opts.Ctor.options) || opts.tag || ''\r\n : c.tag;\r\n warn(\"<transition-group> children must be keyed: <\".concat(name_1, \">\"));\r\n }\r\n }\r\n }\r\n if (prevChildren) {\r\n var kept = [];\r\n var removed = [];\r\n for (var i = 0; i < prevChildren.length; i++) {\r\n var c = prevChildren[i];\r\n c.data.transition = transitionData;\r\n // @ts-expect-error .getBoundingClientRect is not typed in Node\r\n c.data.pos = c.elm.getBoundingClientRect();\r\n if (map[c.key]) {\r\n kept.push(c);\r\n }\r\n else {\r\n removed.push(c);\r\n }\r\n }\r\n this.kept = h(tag, null, kept);\r\n this.removed = removed;\r\n }\r\n return h(tag, null, children);\r\n },\r\n updated: function () {\r\n var children = this.prevChildren;\r\n var moveClass = this.moveClass || (this.name || 'v') + '-move';\r\n if (!children.length || !this.hasMove(children[0].elm, moveClass)) {\r\n return;\r\n }\r\n // we divide the work into three loops to avoid mixing DOM reads and writes\r\n // in each iteration - which helps prevent layout thrashing.\r\n children.forEach(callPendingCbs);\r\n children.forEach(recordPosition);\r\n children.forEach(applyTranslation);\r\n // force reflow to put everything in position\r\n // assign to this to avoid being removed in tree-shaking\r\n // $flow-disable-line\r\n this._reflow = document.body.offsetHeight;\r\n children.forEach(function (c) {\r\n if (c.data.moved) {\r\n var el_1 = c.elm;\r\n var s = el_1.style;\r\n addTransitionClass(el_1, moveClass);\r\n s.transform = s.WebkitTransform = s.transitionDuration = '';\r\n el_1.addEventListener(transitionEndEvent, (el_1._moveCb = function cb(e) {\r\n if (e && e.target !== el_1) {\r\n return;\r\n }\r\n if (!e || /transform$/.test(e.propertyName)) {\r\n el_1.removeEventListener(transitionEndEvent, cb);\r\n el_1._moveCb = null;\r\n removeTransitionClass(el_1, moveClass);\r\n }\r\n }));\r\n }\r\n });\r\n },\r\n methods: {\r\n hasMove: function (el, moveClass) {\r\n /* istanbul ignore if */\r\n if (!hasTransition) {\r\n return false;\r\n }\r\n /* istanbul ignore if */\r\n if (this._hasMove) {\r\n return this._hasMove;\r\n }\r\n // Detect whether an element with the move class applied has\r\n // CSS transitions. Since the element may be inside an entering\r\n // transition at this very moment, we make a clone of it and remove\r\n // all other transition classes applied to ensure only the move class\r\n // is applied.\r\n var clone = el.cloneNode();\r\n if (el._transitionClasses) {\r\n el._transitionClasses.forEach(function (cls) {\r\n removeClass(clone, cls);\r\n });\r\n }\r\n addClass(clone, moveClass);\r\n clone.style.display = 'none';\r\n this.$el.appendChild(clone);\r\n var info = getTransitionInfo(clone);\r\n this.$el.removeChild(clone);\r\n return (this._hasMove = info.hasTransform);\r\n }\r\n }\r\n};\r\nfunction callPendingCbs(c) {\r\n /* istanbul ignore if */\r\n if (c.elm._moveCb) {\r\n c.elm._moveCb();\r\n }\r\n /* istanbul ignore if */\r\n if (c.elm._enterCb) {\r\n c.elm._enterCb();\r\n }\r\n}\r\nfunction recordPosition(c) {\r\n c.data.newPos = c.elm.getBoundingClientRect();\r\n}\r\nfunction applyTranslation(c) {\r\n var oldPos = c.data.pos;\r\n var newPos = c.data.newPos;\r\n var dx = oldPos.left - newPos.left;\r\n var dy = oldPos.top - newPos.top;\r\n if (dx || dy) {\r\n c.data.moved = true;\r\n var s = c.elm.style;\r\n s.transform = s.WebkitTransform = \"translate(\".concat(dx, \"px,\").concat(dy, \"px)\");\r\n s.transitionDuration = '0s';\r\n }\r\n}\n\nvar platformComponents = {\r\n Transition: Transition,\r\n TransitionGroup: TransitionGroup\r\n};\n\n// install platform specific utils\r\nVue.config.mustUseProp = mustUseProp;\r\nVue.config.isReservedTag = isReservedTag;\r\nVue.config.isReservedAttr = isReservedAttr;\r\nVue.config.getTagNamespace = getTagNamespace;\r\nVue.config.isUnknownElement = isUnknownElement;\r\n// install platform runtime directives & components\r\nextend(Vue.options.directives, platformDirectives);\r\nextend(Vue.options.components, platformComponents);\r\n// install platform patch function\r\nVue.prototype.__patch__ = inBrowser ? patch : noop;\r\n// public mount method\r\nVue.prototype.$mount = function (el, hydrating) {\r\n el = el && inBrowser ? query(el) : undefined;\r\n return mountComponent(this, el, hydrating);\r\n};\r\n// devtools global hook\r\n/* istanbul ignore next */\r\nif (inBrowser) {\r\n setTimeout(function () {\r\n if (config.devtools) {\r\n if (devtools) {\r\n devtools.emit('init', Vue);\r\n }\r\n else if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test') {\r\n // @ts-expect-error\r\n console[console.info ? 'info' : 'log']('Download the Vue Devtools extension for a better development experience:\\n' +\r\n 'https://github.com/vuejs/vue-devtools');\r\n }\r\n }\r\n if (process.env.NODE_ENV !== 'production' &&\r\n process.env.NODE_ENV !== 'test' &&\r\n config.productionTip !== false &&\r\n typeof console !== 'undefined') {\r\n // @ts-expect-error\r\n console[console.info ? 'info' : 'log'](\"You are running Vue in development mode.\\n\" +\r\n \"Make sure to turn on production mode when deploying for production.\\n\" +\r\n \"See more tips at https://vuejs.org/guide/deployment.html\");\r\n }\r\n }, 0);\r\n}\n\nexport { EffectScope, computed, customRef, Vue as default, defineAsyncComponent, defineComponent, del, effectScope, getCurrentInstance, getCurrentScope, h, inject, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, mergeDefaults, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, provide, proxyRefs, reactive, readonly, ref$1 as ref, set, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useListeners, useSlots, version, watch, watchEffect, watchPostEffect, watchSyncEffect };\n","!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(\"Clock\",[],e):\"object\"==typeof exports?exports.Clock=e():t.Clock=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,\"a\",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=\"/dist/\",e(e.s=36)}([function(t,e,n){var r=n(27)(\"wks\"),o=n(30),i=n(2).Symbol,a=\"function\"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)(\"Symbol.\"+t))}).store=r},function(t,e){var n=t.exports={version:\"2.6.3\"};\"number\"==typeof __e&&(__e=n)},function(t,e){var n=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=n)},function(t,e){t.exports={}},function(t,e,n){var r=n(10);t.exports=function(t){if(!r(t))throw TypeError(t+\" is not an object!\");return t}},function(t,e,n){var r=n(8),o=n(11);t.exports=n(6)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(23)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(4),o=n(49),i=n(64),a=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if(\"get\"in n||\"set\"in n)throw TypeError(\"Accessors not supported!\");return\"value\"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,e){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(27)(\"keys\"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(50),o=n(9);t.exports=function(t){return r(o(t))}},function(t,e,n){\"use strict\";var r=n(62)(!0);n(24)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){t.exports={default:n(42),__esModule:!0}},function(t,e,n){var r=n(18),o=n(0)(\"toStringTag\"),i=\"Arguments\"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(n=a(e=Object(t),o))?n:i?r(e):\"Object\"==(u=r(e))&&\"function\"==typeof e.callee?\"Arguments\":u}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(44);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(10),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\")},function(t,e,n){var r=n(2),o=n(1),i=n(19),a=n(5),u=n(7),s=function(t,e,n){var c,f,h,l=t&s.F,d=t&s.G,p=t&s.S,v=t&s.P,y=t&s.B,g=t&s.W,m=d?o:o[e]||(o[e]={}),_=m.prototype,x=d?r:p?r[e]:(r[e]||{}).prototype;d&&(n=e);for(c in n)(f=!l&&x&&void 0!==x[c])&&u(m,c)||(h=f?x[c]:n[c],m[c]=d&&\"function\"!=typeof x[c]?n[c]:y&&f?i(h,r):g&&x[c]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):v&&\"function\"==typeof h?i(Function.call,h):h,v&&((m.virtual||(m.virtual={}))[c]=h,t&s.R&&_&&!_[c]&&a(_,c,h)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){\"use strict\";var r=n(25),o=n(22),i=n(61),a=n(5),u=n(3),s=n(53),c=n(26),f=n(58),h=n(0)(\"iterator\"),l=!([].keys&&\"next\"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,v,y,g){s(n,e,p);var m,_,x,b=function(t){if(!l&&t in S)return S[t];switch(t){case\"keys\":case\"values\":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+\" Iterator\",M=\"values\"==v,D=!1,S=t.prototype,O=S[h]||S[\"@@iterator\"]||v&&S[v],k=O||b(v),L=v?M?b(\"entries\"):k:void 0,C=\"Array\"==e?S.entries||O:O;if(C&&(x=f(C.call(new t)))!==Object.prototype&&x.next&&(c(x,w,!0),r||\"function\"==typeof x[h]||a(x,h,d)),M&&O&&\"values\"!==O.name&&(D=!0,k=function(){return O.call(this)}),r&&!g||!l&&!D&&S[h]||a(S,h,k),u[e]=k,u[w]=d,v)if(m={values:M?k:b(\"values\"),keys:y?k:b(\"keys\"),entries:L},g)for(_ in m)_ in S||i(S,_,m[_]);else o(o.P+o.F*(l||D),e,m);return m}},function(t,e){t.exports=!0},function(t,e,n){var r=n(8).f,o=n(7),i=n(0)(\"toStringTag\");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(1),o=n(2),i=o[\"__core-js_shared__\"]||(o[\"__core-js_shared__\"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:r.version,mode:n(25)?\"pure\":\"global\",copyright:\"© 2019 Denis Pushkarev (zloirock.ru)\"})},function(t,e,n){var r=n(13),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(9);t.exports=function(t){return Object(r(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+r).toString(36))}},function(t,e,n){var r=n(17),o=n(0)(\"iterator\"),i=n(3);t.exports=n(1).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t[\"@@iterator\"]||i[r(t)]}},function(t,e,n){n(68);for(var r=n(2),o=n(5),i=n(3),a=n(0)(\"toStringTag\"),u=\"CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList\".split(\",\"),s=0;s<u.length;s++){var c=u[s],f=r[c],h=f&&f.prototype;h&&!h[a]&&o(h,a,c),i[c]=i.Array}},function(t,e,n){n(73);var r=n(71)(n(34),n(72),\"data-v-2ebcbc83\",null);t.exports=r.exports},function(t,e,n){\"use strict\";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(16),i=r(o),a=n(39),u=r(a),s=n(35),c=r(s);e.default={data:function(){return{myDate:[],list:[],historyChose:[],dateTop:\"\"}},props:{markDate:{type:Array,default:function(){return[]}},markDateMore:{type:Array,default:function(){return[]}},textTop:{type:Array,default:function(){return[\"一\",\"二\",\"三\",\"四\",\"五\",\"六\",\"日\"]}},sundayStart:{type:Boolean,default:function(){return!1}},agoDayHide:{type:String,default:\"0\"},futureDayHide:{type:String,default:\"2554387200\"}},created:function(){this.intStart(),this.myDate=new Date},methods:{intStart:function(){c.default.sundayStart=this.sundayStart},setClass:function(t){var e={};return e[t.markClassName]=t.markClassName,e},clickDay:function(t,e){\"nowMonth\"!==t.otherMonth||t.dayHide||this.getList(this.myDate,t.date),\"nowMonth\"!==t.otherMonth&&(\"preMonth\"===t.otherMonth?this.PreMonth(t.date):this.NextMonth(t.date))},ChoseMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=c.default.dateFormat(t),this.myDate=new Date(t),this.$emit(\"changeMonth\",c.default.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},PreMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=c.default.dateFormat(t),this.myDate=c.default.getOtherMonth(this.myDate,\"preMonth\"),this.$emit(\"changeMonth\",c.default.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},NextMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=c.default.dateFormat(t),this.myDate=c.default.getOtherMonth(this.myDate,\"nextMonth\"),this.$emit(\"changeMonth\",c.default.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},forMatArgs:function(){var t=this.markDate,e=this.markDateMore;return t=t.map(function(t){return c.default.dateFormat(t)}),e=e.map(function(t){return t.date=c.default.dateFormat(t.date),t}),[t,e]},getList:function(t,e){var n=(!(arguments.length>2&&void 0!==arguments[2])||arguments[2],this.forMatArgs()),r=(0,u.default)(n,2),o=r[0],a=r[1];this.dateTop=t.getFullYear()+\"年\"+(t.getMonth()+1)+\"月\";for(var s=c.default.getMonthList(this.myDate),f=0;f<s.length;f++){var h=\"\",l=s[f];l.chooseDay=!1;var d=l.date,p=new Date(d).getTime()/1e3,v=!0,y=!1,g=void 0;try{for(var m,_=(0,i.default)(a);!(v=(m=_.next()).done);v=!0){var x=m.value;x.date===d&&(h=x.className||\"\")}}catch(t){y=!0,g=t}finally{try{!v&&_.return&&_.return()}finally{if(y)throw g}}l.markClassName=h,l.isMark=o.indexOf(d)>-1,l.dayHide=p<this.agoDayHide||p>this.futureDayHide,l.isToday&&this.$emit(\"isToday\",d);var b=!l.dayHide&&\"nowMonth\"===l.otherMonth;e&&e===d&&b?(this.$emit(\"choseDay\",d),this.historyChose.push(d),l.chooseDay=!0):this.historyChose[this.historyChose.length-1]===d&&!e&&b&&(l.chooseDay=!0)}this.list=s}},mounted:function(){this.getList(this.myDate)},watch:{markDate:{handler:function(t,e){this.getList(this.myDate)},deep:!0},markDateMore:{handler:function(t,e){this.getList(this.myDate)},deep:!0},agoDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},futureDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},sundayStart:{handler:function(t,e){this.intStart(),this.getList(this.myDate)},deep:!0}}}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(40),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={getDaysInOneMonth:function(t){var e=t.getFullYear(),n=t.getMonth()+1;return new Date(e,n,0).getDate()},getMonthweek:function(t){var e=t.getFullYear(),n=t.getMonth()+1,r=new Date(e+\"/\"+n+\"/1\");return this.sundayStart?0==r.getDay()?7:r.getDay():0==r.getDay()?6:r.getDay()-1},getOtherMonth:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"nextMonth\",n=this.dateFormat(t).split(\"/\"),r=n[0],o=n[1],i=n[2],a=r,u=void 0;\"nextMonth\"===e?13==(u=parseInt(o)+1)&&(a=parseInt(a)+1,u=1):0==(u=parseInt(o)-1)&&(a=parseInt(a)-1,u=12);var s=i,c=new Date(a,u,0).getDate();s>c&&(s=c),u<10&&(u=\"0\"+u),s<10&&(s=\"0\"+s);var f=a+\"/\"+u+\"/\"+s;return new Date(f)},getLeftArr:function(t){for(var e=[],n=this.getMonthweek(t),r=this.getDaysInOneMonth(this.getOtherMonth(t,\"preMonth\"))-n+1,o=this.getOtherMonth(t,\"preMonth\"),i=0;i<n;i++){var a=o.getFullYear()+\"/\"+(o.getMonth()+1)+\"/\"+(r+i);e.push({id:r+i,date:a,isToday:!1,otherMonth:\"preMonth\"})}return e},getRightArr:function(t){for(var e=[],n=this.getOtherMonth(t,\"nextMonth\"),r=this.getDaysInOneMonth(t)+this.getMonthweek(t),o=7-r%7,i=0;i<o;i++){var a=n.getFullYear()+\"/\"+(n.getMonth()+1)+\"/\"+(i+1);e.push({id:i+1,date:a,isToday:!1,otherMonth:\"nextMonth\"})}return e},dateFormat:function(t){return t=\"string\"==typeof t?new Date(t.replace(/\\-/g,\"/\")):t,t.getFullYear()+\"/\"+(t.getMonth()+1)+\"/\"+t.getDate()},getMonthListNoOther:function(t){for(var e=[],n=this.getDaysInOneMonth(t),r=t.getFullYear(),o=t.getMonth()+1,i=this.dateFormat(new Date),a=0;a<n;a++){var u=r+\"/\"+o+\"/\"+(a+1);e.push({id:a+1,date:u,isToday:i===u,otherMonth:\"nowMonth\"})}return e},getMonthList:function(t){return[].concat((0,o.default)(this.getLeftArr(t)),(0,o.default)(this.getMonthListNoOther(t)),(0,o.default)(this.getRightArr(t)))},sundayStart:!1}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(33),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default,\"undefined\"!=typeof window&&window.Vue&&window.Vue.component(\"clock\",Clock)},function(t,e,n){t.exports={default:n(41),__esModule:!0}},function(t,e,n){t.exports={default:n(43),__esModule:!0}},function(t,e,n){\"use strict\";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(38),i=r(o),a=n(16),u=r(a);e.default=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=(0,u.default)(t);!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,i.default)(Object(e)))return t(e,n);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}()},function(t,e,n){\"use strict\";e.__esModule=!0;var r=n(37),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){n(15),n(67),t.exports=n(1).Array.from},function(t,e,n){n(32),n(15),t.exports=n(65)},function(t,e,n){n(32),n(15),t.exports=n(66)},function(t,e){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(14),o=n(28),i=n(63);t.exports=function(t){return function(e,n,a){var u,s=r(e),c=o(s.length),f=i(a,c);if(t&&n!=n){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){\"use strict\";var r=n(8),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(6)&&!n(23)(function(){return 7!=Object.defineProperty(n(20)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,e,n){var r=n(18);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==r(t)?t.split(\"\"):Object(t)}},function(t,e,n){var r=n(3),o=n(0)(\"iterator\"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){\"use strict\";var r=n(56),o=n(11),i=n(26),a={};n(5)(a,n(0)(\"iterator\"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+\" Iterator\")}},function(t,e,n){var r=n(0)(\"iterator\"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(4),o=n(57),i=n(21),a=n(12)(\"IE_PROTO\"),u=function(){},s=function(){var t,e=n(20)(\"iframe\"),r=i.length;for(e.style.display=\"none\",n(48).appendChild(e),e.src=\"javascript:\",t=e.contentWindow.document,t.open(),t.write(\"<script>document.F=Object<\\/script>\"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=s(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(8),o=n(4),i=n(60);t.exports=n(6)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,s=0;u>s;)r.f(t,n=a[s++],e[n]);return t}},function(t,e,n){var r=n(7),o=n(29),i=n(12)(\"IE_PROTO\"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(7),o=n(14),i=n(46)(!1),a=n(12)(\"IE_PROTO\");t.exports=function(t,e){var n,u=o(t),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;e.length>s;)r(u,n=e[s++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(59),o=n(21);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){t.exports=n(5)},function(t,e,n){var r=n(13),o=n(9);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),s=r(n),c=u.length;return s<0||s>=c?t?\"\":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(13),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(10);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if(\"function\"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,e,n){var r=n(4),o=n(31);t.exports=n(1).getIterator=function(t){var e=o(t);if(\"function\"!=typeof e)throw TypeError(t+\" is not iterable!\");return r(e.call(t))}},function(t,e,n){var r=n(17),o=n(0)(\"iterator\"),i=n(3);t.exports=n(1).isIterable=function(t){var e=Object(t);return void 0!==e[o]||\"@@iterator\"in e||i.hasOwnProperty(r(e))}},function(t,e,n){\"use strict\";var r=n(19),o=n(22),i=n(29),a=n(52),u=n(51),s=n(28),c=n(47),f=n(31);o(o.S+o.F*!n(54)(function(t){Array.from(t)}),\"Array\",{from:function(t){var e,n,o,h,l=i(t),d=\"function\"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,y=void 0!==v,g=0,m=f(l);if(y&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&u(m))for(e=s(l.length),n=new d(e);e>g;g++)c(n,g,y?v(l[g],g):l[g]);else for(h=m.call(l),n=new d;!(o=h.next()).done;g++)c(n,g,y?a(h,v,[o.value,g],!0):o.value);return n.length=g,n}})},function(t,e,n){\"use strict\";var r=n(45),o=n(55),i=n(3),a=n(14);t.exports=n(24)(Array,\"Array\",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):\"keys\"==e?o(0,n):\"values\"==e?o(0,t[n]):o(0,[n,t[n]])},\"values\"),i.Arguments=i.Array,r(\"keys\"),r(\"values\"),r(\"entries\")},function(t,e,n){e=t.exports=n(70)(),e.push([t.i,\"@media screen and (min-width:460px){.wh_item_date[data-v-2ebcbc83]:hover{background:#71c7a5;cursor:pointer}}[data-v-2ebcbc83]{margin:0;padding:0}.wh_container[data-v-2ebcbc83]{max-width:410px;margin:auto}li[data-v-2ebcbc83]{list-style-type:none}.wh_top_changge[data-v-2ebcbc83]{display:flex}.wh_top_changge li[data-v-2ebcbc83]{cursor:pointer;display:flex;color:#fff;font-size:18px;flex:1;justify-content:center;align-items:center;height:47px}.wh_top_changge .wh_content_li[data-v-2ebcbc83]{cursor:auto;flex:2.5}.wh_content_all[data-v-2ebcbc83]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,STHeiti,Microsoft Yahei,Tahoma,Simsun,sans-serif;background-color:#0fc37c;width:100%;overflow:hidden;padding-bottom:8px}.wh_content[data-v-2ebcbc83]{display:flex;flex-wrap:wrap;padding:0 3%;width:100%}.wh_content:first-child .wh_content_item[data-v-2ebcbc83],.wh_content:first-child .wh_content_item_tag[data-v-2ebcbc83]{color:#ddd;font-size:16px}.wh_content_item[data-v-2ebcbc83],wh_content_item_tag[data-v-2ebcbc83]{font-size:15px;width:13.4%;text-align:center;color:#fff;position:relative}.wh_content_item[data-v-2ebcbc83]{height:40px}.wh_item_date[data-v-2ebcbc83],.wh_top_tag[data-v-2ebcbc83]{width:40px;height:40px;line-height:40px;margin:auto;display:flex;justify-content:center;align-items:center}.wh_jiantou1[data-v-2ebcbc83]{width:12px;height:12px;border-top:2px solid #fff;border-left:2px solid #fff;transform:rotate(-45deg)}.wh_jiantou1[data-v-2ebcbc83]:active,.wh_jiantou2[data-v-2ebcbc83]:active{border-color:#ddd}.wh_jiantou2[data-v-2ebcbc83]{width:12px;height:12px;border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg)}.wh_content_item>.wh_isMark[data-v-2ebcbc83]{margin:auto;border-radius:100px;background:blue;z-index:2}.wh_content_item .wh_other_dayhide[data-v-2ebcbc83],.wh_content_item .wh_want_dayhide[data-v-2ebcbc83]{color:#bfbfbf}.wh_content_item .wh_isToday[data-v-2ebcbc83]{background:#ff0;border-radius:100px}.wh_content_item .wh_chose_day[data-v-2ebcbc83]{background:green;border-radius:100px}\",\"\"])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push(\"@media \"+n[2]+\"{\"+n[1]+\"}\"):t.push(n[1])}return t.join(\"\")},t.i=function(e,n){\"string\"==typeof e&&(e=[[null,e,\"\"]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];\"number\"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];\"number\"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]=\"(\"+a[2]+\") and (\"+n+\")\"),t.push(a))}},t}},function(t,e){t.exports=function(t,e,n,r){var o,i=t=t||{},a=typeof t.default;\"object\"!==a&&\"function\"!==a||(o=t,i=t.default);var u=\"function\"==typeof i?i.options:i;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),n&&(u._scopeId=n),r){var s=Object.create(u.computed||null);Object.keys(r).forEach(function(t){var e=r[t];s[t]=function(){return e}}),u.computed=s}return{esModule:o,exports:i,options:u}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(\"section\",{staticClass:\"wh_container\"},[n(\"div\",{staticClass:\"wh_content_all\"},[n(\"div\",{staticClass:\"wh_top_changge\"},[n(\"li\",{on:{click:function(e){t.PreMonth(t.myDate,!1)}}},[n(\"div\",{staticClass:\"wh_jiantou1\"})]),t._v(\" \"),n(\"li\",{staticClass:\"wh_content_li\"},[t._v(t._s(t.dateTop))]),t._v(\" \"),n(\"li\",{on:{click:function(e){t.NextMonth(t.myDate,!1)}}},[n(\"div\",{staticClass:\"wh_jiantou2\"})])]),t._v(\" \"),n(\"div\",{staticClass:\"wh_content\"},t._l(t.textTop,function(e){return n(\"div\",{staticClass:\"wh_content_item\"},[n(\"div\",{staticClass:\"wh_top_tag\"},[t._v(t._s(e))])])}),0),t._v(\" \"),n(\"div\",{staticClass:\"wh_content\"},t._l(t.list,function(e,r){return n(\"div\",{staticClass:\"wh_content_item\",on:{click:function(n){t.clickDay(e,r)}}},[n(\"div\",{staticClass:\"wh_item_date\",class:[{wh_isMark:e.isMark},{wh_other_dayhide:\"nowMonth\"!==e.otherMonth},{wh_want_dayhide:e.dayHide},{wh_isToday:e.isToday},{wh_chose_day:e.chooseDay},t.setClass(e)]},[t._v(t._s(e.id))])])}),0)])])},staticRenderFns:[]}},function(t,e,n){var r=n(69);\"string\"==typeof r&&(r=[[t.i,r,\"\"]]),r.locals&&(t.exports=r.locals);n(74)(\"05c81390\",r,!0)},function(t,e,n){function r(t){for(var e=0;e<t.length;e++){var n=t[e],r=f[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o<n.parts.length;o++)a.push(i(n.parts[o]));f[n.id]={id:n.id,refs:1,parts:a}}}}function o(){var t=document.createElement(\"style\");return t.type=\"text/css\",h.appendChild(t),t}function i(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~=\"'+t.id+'\"]');if(r){if(p)return v;r.parentNode.removeChild(r)}if(y){var i=d++;r=l||(l=o()),e=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),e=u.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function a(t,e,n,r){var o=n?\"\":r.css;if(t.styleSheet)t.styleSheet.cssText=g(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function u(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute(\"media\",r),o&&(n+=\"\\n/*# sourceURL=\"+o.sources[0]+\" */\",n+=\"\\n/*# sourceMappingURL=data:application/json;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+\" */\"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var s=\"undefined\"!=typeof document;if(\"undefined\"!=typeof DEBUG&&DEBUG&&!s)throw new Error(\"vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\");var c=n(75),f={},h=s&&(document.head||document.getElementsByTagName(\"head\")[0]),l=null,d=0,p=!1,v=function(){},y=\"undefined\"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){p=n;var o=c(t,e);return r(o),function(e){for(var n=[],i=0;i<o.length;i++){var a=o[i],u=f[a.id];u.refs--,n.push(u)}e?(o=c(t,e),r(o)):o=[];for(var i=0;i<n.length;i++){var u=n[i];if(0===u.refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete f[u.id]}}}};var g=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join(\"\\n\")}}()},function(t,e){t.exports=function(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],u=i[1],s=i[2],c=i[3],f={id:t+\":\"+o,css:u,media:s,sourceMap:c};r[a]?r[a].parts.push(f):n.push(r[a]={id:a,parts:[f]})}return n}}])});","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"],"sourceRoot":""}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/comment/comment.css b/app/appearance/themes/notion-theme/comment/comment.css
deleted file mode 100644
index fcb926f1c9..0000000000
--- a/app/appearance/themes/notion-theme/comment/comment.css
+++ /dev/null
@@ -1,437 +0,0 @@
-/* Common */
-strong[style="blank"] {
- background-color: var(--b3-theme-on-background);
- color: var(--b3-theme-on-background);
- font-weight: normal;
- /* border: 1px solid var(--b3-theme-on-background); */
- border-radius: 1px;
- transition: all 300ms ease-in-out;
- /* cursor: pointer; */
-}
-
-strong[style="blank"]:hover {
- color: var(--b3-theme-on-background);
- background-color: var(--b3-theme-background);
- transition: all 300ms ease-in-out;
-}
-
-.lz-overlay,
-.lz-overlay-black {
- z-index: 999;
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- background-color: transparent;
- transition: opacity 150ms linear;
- display: none;
- opacity: 1;
-}
-
-.lz-overlay-black {
- background-color: rgba(0, 0, 0, 0.2);
-}
-
-/* flex card layout */
-.protyle-wysiwyg.card {
- display: flex;
- flex-wrap: wrap;
- /* background-color: var(--b3-theme-surface); */
-}
-
-.protyle-wysiwyg.card div[data-node-id] {
- /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); */
- margin: 5px;
- padding: 10px;
- border-radius: 3px;
- flex-basis: 200px;
- background-color: var(--b3-theme-surface);
-}
-
-
-/* Inline comment */
-strong[style*="quote"],
-span[data-type~=strong][style*="quote"] {
- border-bottom: 2px solid rgb(255, 212, 0)!important;
- background-color: rgba(255,212,0,0.16) !important;
- /*padding-bottom: 1px;*/
- font-weight: normal !important;
-}
-
-strong[style*="quote"]:hover,
-span[data-type~=strong][style*="quote"]:hover {
- cursor: pointer;
- /* background-color: rgb(255, 212, 0); */
-}
-
-
-#lz-comment-box {
- font-size: 15px;
- display: none;
- position: fixed;
- z-index: 1000;
- left: 800px;
- top: 200px;
- width: 480px;
- border: 1px solid var(--b3-border-color);
- box-shadow: var(--b3-dialog-shadow);
- background-color: var(--b3-theme-background);
- border-radius: 3px;
- padding: 10px 0;
-}
-
-#lz-comment-box a {
- border-bottom: 1px solid var(--b3-theme-primary);
-}
-
-#lz-comment-box a:hover {
- text-decoration: none;
-}
-
-#lz-comment-box .list {
- width: 100%;
- max-height: 370px;
- overflow-y: scroll;
-}
-
-#lz-comment-box .list::-webkit-scrollbar {
- width: 3px;
- border-radius: 5px;
-}
-
-#lz-comment-box .list .quote {
- border-left: 3px solid #F9DE6D;
- padding: 2px 0 2px 8px;
- margin: 10px 15px;
- color: var(--b3-theme-on-surface);
-}
-
-#lz-comment-box .quote .delete-quote {
- color: #f56c6c;
- font-size: 0.8em;
- margin-left: 5px;
- opacity: 0;
-}
-
-#lz-comment-box .quote:hover .delete-quote {
- opacity: 1;
- cursor: pointer;
-}
-
-#lz-comment-box .list-item {
- /* width: calc(100% - 30px); */
- padding: 0px 15px 5px 15px;
- border-bottom: 1px solid var(--b3-border-color);
-}
-
-#lz-comment-box .list-item:last-child {
- border-bottom: none;
-}
-
-#lz-comment-box .list-item .header {
- margin-top: 12px;
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
-
-#lz-comment-box .list-item .date {
- color: #999;
- font-size: 0.9em;
-}
-
-#lz-comment-box .list-item .actions {
- display: flex;
-}
-
-#lz-comment-box .list-item .delete-comment {
- color: #f56c6c;
- font-size: 0.8em;
- opacity: 0;
- margin-left: 8px;
-}
-
-#lz-comment-box .list-item .actions a {
- border: none;
-}
-
-#lz-comment-box .list-item:hover .delete-comment {
- opacity: 1;
- cursor: pointer;
-}
-
-#lz-comment-box .list-item .comment {
- margin: 5px 0;
- padding: 0;
- color: var(--b3-theme-on-background);
-}
-
-#lz-comment-box .add {
- display: flex;
- padding: 0 15px;
-}
-
-#lz-comment-box .add .input {
- min-height: 30px;
- background-color: var(--b3-theme-surface);
- padding: 4px 5px;
- line-height: 30px;
- color: var(--b3-theme-on-background);
- border-radius: 3px;
- outline: none;
- flex-grow: 1;
-}
-
-#lz-comment-box .input:empty:before {
- content: attr(placeholder);
- /* content: 'hello'; */
- color: var(--b3-theme-on-surface);
- opacity: 0.4;
-}
-
-#lz-comment-box .add .btn {
- flex-shrink: 0;
- height: 30px;
- line-height: 30px;
- text-align: center;
- padding: 4px 10px;
- background-color: var(--b3-theme-primary);
- color: var(--b3-theme-on-primary);
- border-radius: 3px;
- margin-left: 8px;
- cursor: pointer;
-}
-
-
-/* Toolbar */
-#lz-toolbar {
- font-size: 15px;
- position: fixed;
- right: 60px;
- bottom: 25px;
- background-color: #fefefe;
- background-color: var(--b3-theme-background);
- box-shadow: var(--b3-point-shadow);
- /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14); */
- /* border: 1px solid #efefef; */
- border-radius: 20px;
- padding: 5px 10px;
- z-index: 99;
-}
-
-#lz-toolbar.close i:not(.closeBtn) {
- display: none;
-}
-
-#lz-toolbar .toolbar-btn {
- display: inline-block;
- font-size: 20px;
- padding: 5px;
- margin: 0 5px;
- cursor: pointer;
-}
-
-#lz-toolbar .toolbar-btn:hover,
-#lz-toolbar .toolbar-btn.show {
- color: var(--b3-theme-primary);
- /* background-color: #efefef; */
-}
-
-#lz-toolbar .menu,
-#lz-toolbar .submenu {
- position: fixed;
- padding: 10px 0px;
- border-radius: 4px;
- background-color: white;
- background-color: var(--b3-theme-background);
- /* box-shadow: 0 0px 2px rgba(0, 0, 0, 0.14); */
- box-shadow: var(--b3-point-shadow);
- z-index: 99;
- min-width: 100px;
- max-width: 150px;
- display: none;
-}
-
-#lz-toolbar .menu {
- bottom: 70px;
-}
-
-#lz-toolbar .submenu {
- right: -999px;
- /* position: absolute; */
-
-}
-
-#lz-toolbar .menu.show,
-#lz-toolbar .submenu.show {
- display: block;
-}
-
-.menu-mask {
- z-index: 98;
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- background-color: transparent;
- display: none;
-}
-
-.menu-item {
- cursor: pointer;
- padding: 5px 20px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.menu-item:hover {
- background-color: var(--b3-list-hover);
- color: var(--b3-theme-primary);
-}
-
-#snackbar {
- visibility: hidden;
- min-width: 120px;
- margin-left: -125px;
- background-color: #666;
- color: #fff;
- text-align: center;
- border-radius: 6px;
- padding: 10px;
- position: fixed;
- z-index: 10000;
- left: 50%;
- top: 30px;
- font-size: 14px;
-}
-
-#snackbar.info {
- background-color: #444;
-}
-
-#snackbar.success {
- background-color: #67c23a;
-}
-
-#snackbar.danger {
- background-color: #f56c6c;
-}
-
-#snackbar.warning {
- background-color: #e6a23c;
-}
-
-#snackbar.show {
- visibility: visible;
- -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
- animation: fadein 0.5s, fadeout 0.5s 2.5s;
-}
-
-@-webkit-keyframes fadein {
- from {
- top: 0;
- opacity: 0;
- }
-
- to {
- top: 30px;
- opacity: 1;
- }
-}
-
-@keyframes fadein {
- from {
- top: 0;
- opacity: 0;
- }
-
- to {
- top: 30px;
- opacity: 1;
- }
-}
-
-@-webkit-keyframes fadeout {
- from {
- top: 30px;
- opacity: 1;
- }
-
- to {
- top: 0;
- opacity: 0;
- }
-}
-
-@keyframes fadeout {
- from {
- top: 30px;
- opacity: 1;
- }
-
- to {
- top: 0;
- opacity: 0;
- }
-}
-
-
-#popup {
- min-width: 120px;
- max-height: 150px;
- overflow-y: scroll;
- position: absolute;
- padding: 5px 0;
- box-shadow: var(--b3-dialog-shadow);
- background-color: var(--b3-menu-background);
- color: var(--b3-theme-on-surface);
- border-radius: 3px;
- display: none;
- z-index: 99;
-}
-
-#popup::-webkit-scrollbar {
- width: 0px;
- border-radius: 5px;
-}
-
-.popup-item {
- font-size: 15px;
- padding: 5px 10px;
-}
-
-.popup-item:hover,
-.popup-item.on {
- background-color: var(--b3-border-color);
- cursor: pointer;
-}
-
-
-.popup-mask {
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- z-index: 98;
- display: none;
-}
-
-.popup-success {
- background-color: #67c23a23;
- transition: all ease-in-out 500ms;
-}
-
-.popup-error {
- background-color: #f56c6c23;
- transition: all ease-in-out 500ms;
-}
-
-/* 评论显示评论时间 */
-.protyle-wysiwyg [data-node-id][custom-quote-type="container"] [data-node-id][custom-quote-time]::before {
- content: attr(custom-quote-time);
- font-size: 12px;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/comment/comment.js b/app/appearance/themes/notion-theme/comment/comment.js
deleted file mode 100644
index df1d09d283..0000000000
--- a/app/appearance/themes/notion-theme/comment/comment.js
+++ /dev/null
@@ -1,692 +0,0 @@
-import config from './config.js'
-import {
- snackbar,
- computeBoxPosition,
- createBlockId,
- saveViaTransaction,
- formatSYDate,
- dateFormat,
- compareVersion,
-} from './utils.js'
-import {
- querySQL,
- insertBlock,
- appendBlock,
- deleteBlock,
- setBlockAttrs,
-} from './network.js'
-
-const VERSION_LE_2_1_14 = compareVersion(
- window.siyuan.config.system.kernelVersion,
- '2.1.14',
-) <= 0; // 当前版本号 <= v2.1.14
-
-class Comment {
-
- constructor() {
- this.icons = config.icons
- this.isShow = false //是否弹出评论框
- setTimeout(() => this.appendToolbarBtn(), 1000) //添加 toolbar 评论按钮
- // setTimeout(()=>this.resolveCommentNodes(),1000) //等待文章内容加载完整后解析评论span todo
- }
-
- async handleKeyDown(e) {
- // 监听组合快捷键(暂时没用)
- // if(e.shiftKey && e.altKey && e.code =='KeyC'){
- // e.preventDefault()
- // e.stopPropagation()
- // this.showBox(e)
- // }
-
- // 回车键提交评论
- if (this.isShow && e.key == 'Enter') {
- e.preventDefault()
- e.stopPropagation()
- await this.submitComment()
- }
-
- // esc 关闭 box
- if (this.isShow && e.key == 'Escape') {
- this.hiddenBox()
- }
- }
-
- /**
- * 渲染弹出框内的评论列表
- * @param {*} node
- * @param {*} from 点击来源位置
- */
- async renderCommentsHtml(node, from) {
-
- let html = ''
-
- switch (from) {
- case 'toolbar':
- html = `<div class="quote">${this.range.toString()}</div>`
- this.list.innerHTML = html
- break
- case 'attr':
- let item = node
- this.list.innerHTML = '//Todo: fetch all comments in the block'
- break
- case 'block':
- let quoteId = node.getAttribute('style');
- if (quoteId && quoteId.indexOf('quote') > -1) {
- quoteId = quoteId.replace("quote-", "") //移除 style 属性中用于表示的“quote”,获得原始 id
- let sql = `select * from blocks as b left join attributes as a on b.id = a.block_id where a.name = 'custom-quote-id' and a.value = '${quoteId}' and b.type = 'p' order by b.created`,
- res = await querySQL(sql),
- quote = node.innerText,
- comments = res.data
- html += `<div class="quote">${quote}<span class="delete-quote" data-quote-id="${quoteId}">移除引文</span></div>`
-
- if (res.data.length > 0) {
- for (let key in comments) {
- html += `
- <div class="list-item">
- <div class="header">
- <div class="date">${formatSYDate(comments[key]['created'])}</div>
- <div class="actions">
- <div class="delete-comment" data-quote-id="${quoteId}" data-comment-id="${comments[key]['block_id']}">移除评论</div>
- <div class="delete-comment" data-quote-id="${quoteId}" data-comment-id="${comments[key]['block_id']}"><a href="siyuan://blocks/${comments[key]['block_id']}">跳转到评论</a></div>
- </div>
- </div>
- <div class="comment">${comments[key]['content']}</div>
- </div>
- `
- }
- } else {
- html += `<div class="list-item"><div class="header"><div class="date">暂无评论</div></div></div>`
- }
-
- this.input.setAttribute('data-quote-id', quoteId)
- this.list.innerHTML = html
- }
-
- break
-
- default:
- break
- }
- }
-
- /**
- * 提交评论
- * @returns
- */
- async submitComment() {
- // 输入框内容为空
- if (!this.input.innerText) {
- this.hiddenBox()
- console.log('未填写评论内容');
- return
- }
- // 如果已有 quoteid,则是追加,否则是新增
- let quoteId = this.input.dataset.quoteId
- if (quoteId) {
- //追加评论
- let blockId = document.querySelector(`.protyle-wysiwyg [custom-${quoteId}]`).dataset.nodeId //comment 所在 block
- let quoteText = document.querySelector(`strong[style*="quote-${quoteId}"]`)?.innerText
- ?? document.querySelector(`span[data-type~=strong][style*="quote-${quoteId}"]`)?.innerText
- this.appendBlocks(quoteText, blockId, quoteId)
- let selection = getSelection()
- selection.removeAllRanges()
- selection.addRange(this.range) // 使得 protyle 获得光标
- this.hiddenBox()
-
- } else {
- //全新评论
- let selection = getSelection()
- let range = this.range
- let start = range.startContainer
- while (start != null && (start.dataset == null || start.dataset.nodeId == null)) {
- start = start.parentElement
- }
- if (start == null) {
- return
- }
- let block = start //由于没有一炮三响了,所以列表项上无法在属性弹框中看到存储的评论内容
- let txt = range.toString() //引用的内容
- range.deleteContents()
-
- /* 兼容 <= 2.1.14 版本 */
- let strongNode = VERSION_LE_2_1_14
- ? document.createElement('strong')
- : document.createElement('span')
- if (!VERSION_LE_2_1_14) strongNode.setAttribute('data-type', 'strong')
-
- strongNode.innerText = txt
- quoteId = createBlockId()
- this.appendBlocks(txt, block.dataset.nodeId, quoteId)
- strongNode.setAttribute('style', 'quote-' + quoteId)
-
- let attr = { key: `custom-${quoteId}`, value: "true" }
- block.setAttribute(attr.key, attr.value)
- // 使用 API 设置块属性
- await setBlockAttrs({
- id: block.dataset.nodeId,
- attrs: {
- [attr.key]: attr.value,
- },
- })
- range.insertNode(strongNode)
- range.setStartAfter(strongNode)
- range.collapse(true) //取消文本选择状态
- selection.removeAllRanges()
- selection.addRange(range)
- this.hiddenBox()
- }
-
- saveViaTransaction()
-
- }
-
- /**
- * 将评论内容以内容块的形式插入到文章尾部
- * @param {*} quoteText 引文内容
- * @param {*} blockId 引文所在 blockid
- * @param {*} quoteId 引文 id
- */
- async appendBlocks(quoteText, blockId, quoteId) {
- let activeEditor = document.querySelector('.layout__center [data-type="wnd"].layout__wnd--active') || document.querySelector('.layout__center [data-type="wnd"]') || document.getElementById('editor') //获得当前光标所在页面
- let background = activeEditor.querySelector('div.protyle:not(.fn__none) .protyle-background') || activeEditor.querySelector('.protyle-background') // 获得桌面端当前编辑的文章
- let docId = background.dataset.nodeId //获得当前编辑的文章 id
-
- // 评论 h1 标题
- // let headerHtml = `<div data-subtype="h4" data-node-id="${createBlockId()}" data-type="NodeHeading" class="h4" style="comment-header" updated="${createBlockId(false)}"><div contenteditable="true" spellcheck="false">评论</div><div class="protyle-attr" contenteditable="false"></div></div>`
- let headerMd = `
-# 评论
-{: custom-quote-type="${config.attrs.type.heading}"}
-`
-
- // 评论内容块
- // let commentHtml = `<div data-node-id="${createBlockId()}" custom-quote-id="${quoteId}" data-type="NodeParagraph" class="p" updated="${createBlockId(false)}" data-eof="true"><div contenteditable="true" spellcheck="false">${this.input.innerHTML}</div><div class="protyle-attr"></div></div>`
- let commentMd = `
-${this.input.innerHTML}
-{: custom-quote-id="${quoteId}" custom-quote-type="${config.attrs.type.comment}" custom-quote-time="${dateFormat("YYYY-mm-dd HH:MM:SS", new Date())}"}
-`
-
- // 引文内容块
- // let quoteHtml = `<div data-node-id="${createBlockId()}" data-type="NodeBlockquote" class="bq" updated="${quoteId}" data-eof="true" custom-quote-id="${quoteId}"><div data-node-id="${createBlockId()}" data-type="NodeParagraph" class="p" updated="${createBlockId()}"><div contenteditable="true" spellcheck="false"><span data-type="a" data-href="siyuan://blocks/${blockId}">${quoteText}</span></div><div class="protyle-attr" contenteditable="false"></div></div><div class="protyle-attr" contenteditable="false"></div></div>`
- let quoteMd = `
-> [${quoteText}](siyuan://blocks/${blockId})
-{: custom-quote-id="${quoteId}" custom-quote-type="${config.attrs.type.quote}"}
-`
-
- // 分割线
- // let hrHtml = `<div data-node-id="${createBlockId()}" data-type="NodeThematicBreak" class="hr" ></div>`
- // 先判断是否存在「评论」header,没有则添加,然后依次插入 block(虽然可以一次性批量添加,但不建议,因为可能导致不会及时更新到页面)
- // let header = activeEditor.querySelector('.fn__flex-1.protyle:not(.fn__none) div[style*="comment-header"]')
- let res = await querySQL(`
- select
- *
- from
- attributes as a
- where
- a.root_id = '${docId}'
- and a.name = 'custom-quote-type'
- and a.value = '${config.attrs.type.heading}'
- `)
- // console.log(res)
- if (res && res.code == 0 && res.data.length == 0) {
- // 没有评论标题块,则添加
- await this.appendBlockMd(headerMd, docId)
- }
-
- res = await querySQL(`
- select
- b.id
- from
- blocks as b
- inner join
- attributes as a
- on
- a.block_id = b.id
- where
- a.root_id = '${docId}'
- and a.name = 'custom-quote-id'
- and a.value = '${quoteId}'
- and b.type = 's'
- `)
- // console.log(res)
- if (res && res.code == 0) {
- if (res.data.length == 0) {
- // 没有关联当前评论的超级块(容器块),则添加
- let containerMd = `
-{{{row
-${quoteMd}
-
-${commentMd}
-}}}
-{: custom-quote-id="${quoteId}" custom-quote-type="${config.attrs.type.container}"}
-`
- await this.appendBlockMd(containerMd, docId)
- }
- else if (res.data.length == 1) {
- let containerId = res.data[0].id
- await this.appendBlockMd(commentMd, containerId)
- }
- }
-
- // 如果已经存在之前的引文评论,则直接在其下方插入新评论
- // let existQuote = activeEditor.querySelector(`.fn__flex-1.protyle:not(.fn__none) .bq[custom-quote-id*="${quoteId}"]`)
- // if(existQuote){
- // await this.insertBlockDom(commentHtml, existQuote.dataset.nodeId)
- // }else{
- // await this.appendBlockDom(quoteHtml, docId)
- // await this.appendBlockDom(commentHtml, docId)
- // }
-
- }
-
- /* 评论列表事件,主要是移除评论和引文 */
- async handleListEvents(e) {
- e.stopPropagation()
- let target = e.target
- // 删除评论
- if (target.className == 'delete-comment') {
- // 移除评论按钮
- let quoteId = target.dataset.quoteId
- let commentId = target.dataset.commentId
- let block = document.querySelector(`.protyle-wysiwyg [custom-${quoteId}]`)
- deleteBlock(commentId)
- target.parentNode.parentNode.parentNode.remove()
- return
- }
-
- if (target.className == 'delete-quote') {
- // 移除引文按钮, 移除评论块与原文块中的评论 ID 属性
- let quoteId = target.dataset.quoteId,
- quoteNode = VERSION_LE_2_1_14
- ? document.querySelector(`strong[style*="quote-${quoteId}"]`)
- : document.querySelector(`span[data-type~=strong][style*="quote-${quoteId}"]`),
- block = document.querySelector(`.protyle-wysiwyg [data-node-id][custom-${quoteId}]`)
-
- if (block) {
- // 移除 block 中的属性
- let attr_key = `custom-${quoteId}`
- block.removeAttribute(attr_key)
- // 使用 API 移除块属性
- await setBlockAttrs({
- id: block.dataset.nodeId,
- attrs: {
- [attr_key]: '',
- },
- })
- }
- if (quoteNode) {
- // 移除 strong 标签
- let selection = getSelection(),
- range = document.createRange(),
- text = document.createTextNode(quoteNode.innerText)
- range.setStart(quoteNode.firstChild, 0)
- range.setEnd(quoteNode.firstChild, quoteNode.firstChild.length)
- selection.removeAllRanges()
- selection.addRange(range)
- quoteNode.remove()
- range.deleteContents()
- range.insertNode(text)
- range.setStartAfter(text)
- saveViaTransaction()
- }
-
- // 移除文章末尾评论内容
- // let nodes = document.querySelectorAll(`div[custom-quote-id="${quoteId}"]`)
- // if(nodes){
- // for(var node of nodes) {
- // let blockId = node.dataset.nodeId
- // if(blockId){
- // deleteBlock(blockId)
- // }
- // }
- // }
- let res = await querySQL(`
- select
- b.id
- from
- blocks as b
- inner join
- attributes as a
- on
- a.block_id = b.id
- where
- a.name = 'custom-quote-id'
- and a.value = '${quoteId}'
- and b.type = 's'
- `)
- // console.log(res)
- if (res && res.code == 0) {
- if (res.data.length == 1) {
- await deleteBlock(res.data[0].id)
- }
- }
- }
- this.hiddenBox()
- }
-
- /**
- * 插入新块
- * @param {*} html
- * @param {*} previousId 前一个块的位置
- * @returns
- */
- insertBlockDom(html, previousId) {
- return insertBlock({
- "data": html,
- "dataType": "dom",
- "previousID": previousId
- })
- }
-
- /**
- * 以 markdown 的形式插入新块
- * @param {*} html
- * @param {*} previousId 前一个块的位置
- * @returns
- */
- insertBlockMd(md, previousId) {
- return insertBlock({
- "data": md,
- "dataType": "markdown",
- "previousID": previousId
- })
- }
-
- /**
- * 以 dom 的形式插入后置子块
- * @param {string} html
- * @param {string} parentId
- * @returns
- */
- appendBlockDom(html, parentId) {
- return appendBlock({
- "data": html,
- "dataType": "dom",
- "parentID": parentId
- })
- }
-
- /**
- * 以 markdown 的形式插入后置子块
- * @param {string} md
- * @param {string} parentId
- * @returns
- */
- appendBlockMd(md, parentId) {
- return appendBlock({
- "data": md,
- "dataType": "markdown",
- "parentID": parentId
- })
- }
-
- /**
- * TODO: 评论输入框支持粘贴内容块链接
- * @param {*} e
- */
- handlePaste(e) {
- e.stopPropagation()
- const clipdata = e.clipboardData || window.clipboardData;
- const data = clipdata.getData("text/plain")
- let selection = getSelection()
- if (data && selection.toString()) {
- let reg1 = /.*\(\((\d{14}-.*)\)\).*/ //匹配格式:((20210815214330-btqo1b2))
- let reg2 = /.*siyuan:\/\/blocks\/(\d{14}-\S{7})/ //匹配格式:siyuan://blocks/20210815214330-btqo1b2
- let result = data.match(reg1) || data.match(reg2)
- if (result) {
- e.preventDefault()
- let link = document.createElement('a')
- link.setAttribute('href', 'siyuan://blocks/' + result[1])
- link.innerText = selection.toString()
- let range = selection.getRangeAt(0)
- range.deleteContents()
- range.insertNode(link)
- range.setStartAfter(link)
- }
- }
- }
-
- /**
- * 响应文本选择事件
- * @param {event} e
- */
- handleSelectionEvent(e) {
- let node = e.target, inProtyle = false
- // 判断事件是否发生在 protyle 中
- while (node != document) {
- if (node.classList.contains('protyle-wysiwyg')) {
- inProtyle = true
- break
- }
- node = node.parentNode
- }
-
- if (inProtyle) {
- let selection = getSelection()
- // 获得文本选择事件的坐标,用于确定弹出 comment box 的位置
- if (selection.rangeCount > 0 && selection.getRangeAt(0).toString()) {
- this.selectionX = e.clientX
- this.selectionY = e.clientY
- } else {
- this.selectionX = null
- this.selectionY = null
- }
- }
- }
-
- /**
- * 解析文章中的 comment 元素
- */
- resolveCommentNodes() {
- let elements = VERSION_LE_2_1_14
- ? document.querySelectorAll('strong[style*="quote"]')
- : document.querySelector('span[data-type~=strong][style*="quote"]')
- if (elements) {
- elements.forEach((item, index, node) => {
- // 在内容块右侧添加图标
- this.createBlockIcon(item.parentElement)
- })
- }
- }
-
- /**
- * 在内容块右侧添加图标
- * @param {*} contentBlock
- */
- createBlockIcon(contentBlock) {
- let sibling = contentBlock.nextSibling
- if (sibling && !sibling.querySelector('.protyle-attr--comment')) {
- let div = document.createElement('div')
- div.className = 'protyle-attr--comment'
- div.innerHTML = this.icons.comment
- div.addEventListener('click', (e) => this.showBox(e))
- contentBlock.nextSibling.appendChild(div)
- }
- }
-
- /**
- * 弹出 box
- * @param {*} e
- */
- showBox(e) {
- let show = false, //用来决定是否弹出 box
- from = '', //判断弹出 box 点击来源
- x = e.clientX, //事件坐标,用于计算弹框位置
- y = e.clientY,
- target = e.target,
- parent = target.parentNode || target,
- grandParent = parent.parentNode || target, //可能会点击到按钮中的svg、path 元素,所以需要获取父级元素
- style = target.getAttribute('style') //获取 strong 的 style 属性
-
- // 如果之前不存在box,则创建
- if (!this.box) { this.createBox() }
-
- // 首先根据点击事件来源决定哪些情况下要弹出 box
- if (target != null && target.dataset != null && target.dataset.type == 'comment'
- || parent != null && parent.dataset != null && parent.dataset.type == 'comment'
- || grandParent != null && grandParent.dataset != null && grandParent.dataset.type == 'comment') {
- // 1)点击 toolbar 图标触发
- e.stopPropagation()
- let selection = getSelection(),
- range = selection.getRangeAt(0)
- if (range) {
- // 需要进一步判断选取是否是在 strong 标签里面
- let start = range.startContainer, end = range.endContainer
- if ((start.parentElement.localName == 'strong' || end.parentElement.localName == 'strong')
- || (start.parentElement.localName == 'span' || end.parentElement.localName == 'span')
- ) {
- snackbar('请不要在行内元素中评论', 'warning')
- } else if (!range.toString()) {
- snackbar('没有选中内容', 'danger')
- } else {
- this.range = range // 因为弹出 box 后,选区会消失,所以提前存储 range
- show = true
- from = 'toolbar'
- }
- }
-
- } else
- if (style && style.indexOf('quote') > -1 && getSelection().toString() == '') {
- // 2)点击 block 引文触发
- e.stopPropagation()
- show = true
- from = 'block'
- this.range = getSelection().getRangeAt(0)
- } else if (target.classList && target.classList.contains('protyle-attr--comment')
- || parent.classList && parent.classList.contains('protyle-attr--comment')
- || grandParent.classList && grandParent.classList.contains('protyle-attr--comment')) {
- // 3)点击内容块右侧图标触发
- e.stopPropagation()
- show = true
- from = 'attr'
- }
-
- if (show) {
- this.isShow = true
- this.box.style.display = 'block'
- this.overlay.style.display = 'block'
- if (from == 'attr') {
- this.add.style.display = 'none' //点击attr区图标时不展示输入框
- } else {
- this.add.style.display = 'flex'
- this.input.focus()
- }
-
- this.renderCommentsHtml(target, from) //获取评论列表
-
- // 如果是从 toolbar 触发,box 的坐标不参照事件坐标,而是参照文本选区坐标
- if (from == 'toolbar') {
- x = this.selectionX || x
- y = this.selectionY || y
- }
- let p = computeBoxPosition(this.box, x, y)
- this.box.style.left = p.x + 'px'
- this.box.style.top = p.y + 'px'
- }
- }
-
- /**
- * 创建评论框
- */
- createBox() {
- let fragment = document.createDocumentFragment()
- this.box = document.createElement('div')
- this.box.id = 'lz-comment-box'
- this.list = document.createElement('div')
- this.list.className = 'list'
- this.list.addEventListener('click', async e => this.handleListEvents(e))
-
- this.add = document.createElement('div')
- this.add.className = 'add'
- this.input = document.createElement('div')
- this.input.setAttribute('contenteditable', true)
- this.input.className = 'input'
- this.input.setAttribute('placeholder', '说点啥呗 ..')
- this.input.setAttribute('spellcheck', false)
- this.input.setAttribute('data-quote-id', '')
- this.input.addEventListener('paste', e => this.handlePaste(e))
-
- this.btn = document.createElement('div')
- this.btn.className = 'btn'
- this.btn.innerText = '评论'
- this.btn.addEventListener('click', async () => this.submitComment())
- this.add.appendChild(this.input)
- this.add.appendChild(this.btn)
-
- //遮罩层,用于实现点击空白处关闭评论框
- this.overlay = document.createElement('div')
- this.overlay.className = 'lz-overlay'
- this.overlay.addEventListener('click', () => this.hiddenBox())
-
- this.box.appendChild(this.list)
- this.box.appendChild(this.add)
-
- fragment.appendChild(this.box)
- fragment.appendChild(this.overlay)
- document.body.appendChild(fragment)
- }
-
- /**
- * 关闭评论框
- */
- hiddenBox() {
- if (this.box) {
- this.box.style.display = 'none'
- this.overlay.style.display = 'none'
- this.input.innerText = ''
- this.input.setAttribute('data-quote-id', '')
- this.isShow = false
- }
- }
-
- /**
- * 往 toolbar 中添加按钮
- * @param {node} protyle 需要添加功能按钮的 protyle editor
- */
- appendToolbarBtn(protyle) {
- if (protyle) {
- // 处理新增的 protyle
- let icon = protyle.querySelector('[data-type="comment"]')
- if (!icon) {
- let toolbar = protyle.querySelector('.protyle-toolbar')
- let fragment = this.createToolbarBtn()
- toolbar.appendChild(fragment)
- }
- } else {
- // 初始化时找到所有 protyle-toolbar
- let toolbars = document.querySelectorAll('.protyle-toolbar')
- if (toolbars) {
- toolbars.forEach((item, index, node) => {
- if (!item.querySelector('[data-type="comment"]')) {
- let fragment = this.createToolbarBtn()
- item.appendChild(fragment)
- }
- })
- }
- }
- }
-
- /**
- * 创建 toolbar 功能按钮
- * @returns
- */
- createToolbarBtn() {
- let fragment = document.createDocumentFragment()
- let divider = document.createElement('div')
- divider.className = 'protyle-toolbar__divider'
- let btn = document.createElement('button')
- btn.className = 'protyle-toolbar__item b3-tooltips b3-tooltips__n'
- btn.setAttribute('data-type', 'comment')
- btn.setAttribute('aria-label', '评论')
- btn.innerHTML = this.icons.comment
- btn.addEventListener('click', (e) => {
- btn.parentElement.classList.add('fn__none') //关闭 toolbar
- this.showBox(e)
- })
- fragment.appendChild(divider)
- fragment.appendChild(btn)
- return fragment
- }
-
-}
-
-export default Comment
diff --git a/app/appearance/themes/notion-theme/comment/config.js b/app/appearance/themes/notion-theme/comment/config.js
deleted file mode 100644
index 19db21d8b0..0000000000
--- a/app/appearance/themes/notion-theme/comment/config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-const config = {
- api_token: "", //在 设置 - 关于 里查看 API token
- icons: {
- comment: '<svg viewBox="0 0 32 32" style="width: 16px; height: 14px; display: block; flex-shrink: 0; backface-visibility: hidden;"> <path d="M9.143 31.2c0.8 0 1.371-0.343 2.4-1.257l4.914-4.343h8.686c4.343 0 6.743-2.514 6.743-6.743v-11.314c0-4.343-2.4-6.743-6.743-6.743h-18.4c-4.343 0-6.743 2.514-6.743 6.743v11.2c0 4.343 2.514 6.743 6.743 6.743h0.571v3.543c0 1.371 0.686 2.171 1.829 2.171zM9.829 28v-4.114c0-0.8-0.343-1.143-1.143-1.143h-1.829c-2.743 0-4-1.371-4-4v-11.086c0-2.629 1.257-4 4-4h18.286c2.743 0 4 1.371 4 4v11.086c0 2.629-1.371 4-4 4h-8.8c-0.914 0-1.257 0.114-1.943 0.8l-4.571 4.457zM8.686 9.371h14.514c0.457 0 0.914-0.457 0.914-0.914s-0.457-0.914-0.914-0.914h-14.514c-0.571 0-0.914 0.457-0.914 0.914 0 0.571 0.343 0.914 0.914 0.914zM8.686 13.943h14.514c0.457 0 0.914-0.457 0.914-0.914s-0.457-0.914-0.914-0.914h-14.514c-0.457 0-0.914 0.457-0.914 0.914 0 0.571 0.343 0.914 0.914 0.914zM8.686 18.629h9.486c0.457 0 0.914-0.457 0.914-0.914s-0.343-0.914-0.914-0.914h-9.486c-0.457 0-0.914 0.343-0.914 0.914 0 0.457 0.343 0.914 0.914 0.914z"></path></svg>',
- brush: '<svg t="1628848791142" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3646" width="32" height="32"><path d="M768 448a64 64 0 0 1-64 64h-640A64 64 0 0 1 0 448v-298.666667A64 64 0 0 1 64 85.333333h640A64 64 0 0 1 768 149.333333V256h192a64 64 0 0 1 63.701333 57.856L1024 320v260.736a64 64 0 0 1-49.92 62.421333l-5.888 1.066667L512 703.104V981.333333a42.666667 42.666667 0 0 1-37.674667 42.368L469.333333 1024a42.666667 42.666667 0 0 1-42.368-37.674667L426.666667 981.333333v-296.96a64 64 0 0 1 49.92-62.464l5.888-1.024L938.666667 561.962667V341.333333h-170.666667zM682.666667 170.666667H85.333333v256h597.333334V170.666667z" p-id="3647"></path></svg>',
- },
- attrs: {
- // 块属性
- type: {
- // 块属性类型值
- heading: "heading", // 标题
- quote: "quote", // 原文引用
- comment: "comment", // 评论
- container: "container", // 容器
- },
- },
-}
-
-export default config
diff --git a/app/appearance/themes/notion-theme/comment/index.js b/app/appearance/themes/notion-theme/comment/index.js
deleted file mode 100644
index ffe48c878e..0000000000
--- a/app/appearance/themes/notion-theme/comment/index.js
+++ /dev/null
@@ -1,161 +0,0 @@
-/**
- * 行内评论功能
- * REF: [siyuan-note/siyuan-comment at main · langzhou/siyuan-note · GitHub](https://github.com/langzhou/siyuan-note/tree/main/siyuan-comment)
- */
-
-import Comment from './comment.js'
-
-class SiyuanUtil{
- constructor(){
- this.themeName = this.getThemeName()
- if(this.themeName){
- this.appendStyleSheet()
- this.comment = new Comment()
- this.domWatcher()
- this.handleEvents()
- }
-
-
-
-
-
- }
-
- /* 事件委托 */
- handleEvents() {
- // 按键按下事件
- window.addEventListener('keydown', e => {
- // this.shortcutKey(e)
- if (this.comment) this.comment.handleKeyDown(e)
- })
-
- // 输入防抖
- // window.addEventListener('keyup',lodash.debounce(e =>{
- // if(this.searchBox) this.searchBox.handleInput(e)
- // },800))
-
- // 按键弹起事件
- // window.addEventListener('keyup',e =>{
- // if(this.searchBox) this.searchBox.actionTrigger(e)
- // })
-
- // 鼠标单击事件
- window.addEventListener('click', e => {
- if (this.comment) this.comment.showBox(e)
- })
-
- // 鼠标松开事件
- window.addEventListener('mouseup', e => {
- if (this.comment) this.comment.handleSelectionEvent(e)
- })
- }
-
- // 获取当前主题名称
- getThemeName(){
- let themeStyle = document.querySelector('#themeStyle')
- if(themeStyle){
- let url = themeStyle.getAttribute('href').split('/')
- return url[url.length - 2]
- }else{
- setTimeout(()=>this.getThemeName(),500)
- }
- }
-
- /* 检测 dom 变动,用于动态插入元素 */
- domWatcher() {
- var targetNode = document.querySelector('.layout__center.fn__flex.fn__flex-1');
- if (!targetNode) {
- setTimeout(() => { this.domWatcher() }, 500);
- } else {
- const config = { attributes: false, childList: true, subtree: true };
- const callback = (mutationsList, observer) => {
- for (let mutation of mutationsList) {
- if (mutation.type === 'childList') {
- this.childListChangedHook(mutation)
- }
- else if (mutation.type === 'attributes') {
- console.log('The ' + mutation.attributeName + ' attribute was modified.');
- }
- }
- };
- const observer = new MutationObserver(callback);
- observer.observe(targetNode, config);
- // observer.disconnect();
- }
- }
-
- /* 处理观察对象节点变动事件 */
- childListChangedHook(mutation) {
- // 监听 node added 事件
- if (mutation.addedNodes.length > 0) {
- let node = mutation.addedNodes.item(0)
- // 新增 protyle 节点,即判断为打开了新文档
- if (node && node.className == 'fn__flex-1 protyle') {
- // 因为 dom 树可能没有完全加载,需要延迟处理
- setTimeout(() => {
- if (this.comment) {
- this.comment.appendToolbarBtn()
- // this.comment.resolveCommentNodes() //todo
- }
- }, 1000)
- }
- }
- }
-
-
- /* 检测子窗口 dom 变动,用于动态插入元素 */
- popoverDomWatcher() {
- const config = { childList: true };
- const callback = (mutationsList, observer) => {
- for (let mutation of mutationsList) {
- // console.log(mutation)
- this.popoverChildListChangedHook(mutation)
- }
- };
- const observer = new MutationObserver(callback);
- observer.observe(document.body, config);
- // observer.disconnect();
- }
-
-
- /* 处理观察对象节点变动事件 */
- popoverChildListChangedHook(mutation) {
- // 监听 node added 事件
- if (mutation.addedNodes.length > 0) {
- let node = mutation.addedNodes.item(0)
- // 新增 protyle 节点,即判断为打开了新文档
- if (node && node.classList.contains('block__popover')) {
- // 因为 dom 树可能没有完全加载,需要延迟处理
- this.comment.appendToolbarBtn(node.querySelector('.protyle'))
- }
- }
- }
-
- /* 插入样式表 */
- appendStyleSheet() {
- let node = document.querySelector('#protyleHljsStyle')
- if (!node) {
- setTimeout(() => {
- this.appendStyleSheet()
- }, 500);
- } else {
- let fragment = document.createDocumentFragment()
- let css = document.createElement('link')
- css.setAttribute('type', 'text/css')
- css.setAttribute('rel', 'stylesheet')
- css.setAttribute('href','./appearance/themes/'+ this.themeName + '/comment/comment.css')
- fragment.appendChild(css)
- document.head.insertBefore(fragment, node)
- }
- }
-}
-
-(() => {
- try {
- if (true) {
- new SiyuanUtil()
- }
- } catch (err) {
- console.error(err);
- }
-})();
diff --git a/app/appearance/themes/notion-theme/comment/network.js b/app/appearance/themes/notion-theme/comment/network.js
deleted file mode 100644
index 11956b1a53..0000000000
--- a/app/appearance/themes/notion-theme/comment/network.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * 设置属性
- * @param {object} data
- * @returns
- */
-export function setBlockAttrs(data) {
- return request("/api/attr/setBlockAttrs", data)
-}
-
-export function insertBlock(data) {
- return request("/api/block/insertBlock", data)
-}
-
-export function prependBlock(data) {
- return request("/api/block/prependBlock", data)
-}
-
-export function appendBlock(data) {
- return request("/api/block/appendBlock", data)
-}
-
-export function updateBlock(data) {
- return request("/api/block/updateBlock", data)
-}
-
-export function deleteBlock(id) {
- return request("/api/block/deleteBlock", { "id": id })
-}
-
-export function querySQL(sql) {
- return request("/api/query/sql", { "stmt": sql })
-}
-
-/**
- * 网络请求
- * @param {*} url 请求地址
- * @param {object} data
- * @param {*} method 请求方法 get post
- * @returns
- */
-export function request(url, data, method = 'POST') {
- return new Promise((resolve, reject) => {
- if (method.toUpperCase() == 'POST') {
- fetch(url, {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify(data)
- // body:data
- }).then(handleResponse)
- .then(data => resolve(data))
- .then(error => reject(error))
-
- } else {
- fetch(url)
- .then(handleResponse)
- .then(data => resolve(data))
- .then(error => reject(error))
- }
- })
-
- function handleResponse(response) {
- let contentType = response.headers.get('content-type')
- if (contentType.includes('application/json')) {
- return handleJSONResponse(response)
- } else if (contentType.includes('text/html')) {
- return handleTextResponse(response)
- } else {
- throw new Error(`Sorry, content-type ${contentType} not supported`)
- }
- }
-
- function handleJSONResponse(response) {
- return response.json()
- .then(json => {
- if (response.ok) {
- return json
- } else {
- return Promise.reject(Object.assign({}, json, {
- status: response.status,
- statusText: response.statusText
- }))
- }
- })
- }
- function handleTextResponse(response) {
- return response.text()
- .then(text => {
- if (response.ok) {
- return text
- } else {
- return Promise.reject({
- status: response.status,
- statusText: response.statusText,
- err: text
- })
- }
- })
- }
-}
diff --git a/app/appearance/themes/notion-theme/comment/utils.js b/app/appearance/themes/notion-theme/comment/utils.js
deleted file mode 100644
index 9423619e82..0000000000
--- a/app/appearance/themes/notion-theme/comment/utils.js
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
-** randomWord 产生任意长度随机字母数字组合
-** randomFlag-是否任意长度 min-任意长度最小位[固定位数] max-任意长度最大位
-** xuanfeng 2014-08-28
-*/
-
-function randomWord(randomFlag, min, max) {
- var str = "",
- range = min,
- arr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
-
- // 随机产生
- if (randomFlag) {
- range = Math.round(Math.random() * (max - min)) + min;
- }
- for (var i = 0; i < range; i++) {
- let pos = Math.round(Math.random() * (arr.length - 1));
- str += arr[pos];
- }
- return str;
-}
-
-export function dateFormat(fmt, date) {
- let ret;
- const opt = {
- "Y+": date.getFullYear().toString(), // 年
- "m+": (date.getMonth() + 1).toString(), // 月
- "d+": date.getDate().toString(), // 日
- "H+": date.getHours().toString(), // 时
- "M+": date.getMinutes().toString(), // 分
- "S+": date.getSeconds().toString(),
- "s+": date.getMilliseconds().toString() // 毫秒
- // 有其他格式化字符需求可以继续添加,必须转化成字符串
- };
- for (let k in opt) {
- ret = new RegExp("(" + k + ")").exec(fmt);
- if (ret) {
- fmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, "0")))
- };
- };
- return fmt;
-}
-
-/**
- * 构建符合规范的 blockid
- * @param {bool} suffix 是否添加 7 为字母数字组合的后缀,默认为不添加,仅通过日期构建 id
- * @returns blockid
- */
-export function createBlockId(suffix = true) {
- let id = dateFormat("YYYYmmddHHMMSS", new Date())
- if (suffix) {
- id += "-" + randomWord(true, 7, 7)
- }
- return id
-}
-
-/**
- * 创建弹框遮罩
- * @param {*} obj 对象句柄
- * @param {*} type 弹框样式: black 半透明遮罩;default 透明遮罩
- * @returns
- */
-export function createOverlay(obj = this, type) {
- let className = ''
- if (type == 'black') {
- className = 'lz-overlay-black'
- } else {
- className = 'lz-overlay'
- }
- let overlay = document.querySelector(`.${className}`)
- if (overlay) {
- obj.overlay = overlay
- } else {
- obj.overlay = document.createElement('div')
- obj.overlay.className = className
- }
- return obj.overlay
-}
-
-
-/**
- * 通过触发 protyle input 事件来保存 block 内容,需要确保 protyle 获得焦点
- */
-export function saveViaTransaction() {
- let protyle = document.querySelector('.fn__flex-1.protyle:not(.fn__none) .protyle-wysiwyg.protyle-wysiwyg--attr') //需要获取到当前正在编辑的 protyle
- let e = document.createEvent('HTMLEvents')
- e.initEvent('input', true, false)
- protyle.dispatchEvent(e)
-}
-
-/**
- * 消息提示 toast
- * @param text 提示文案
- * @param type 样式,取值:info / success / danger / warning
- **/
-export function snackbar(text, type = 'info') {
- let snackbar = document.querySelector('#snackbar')
- if (!snackbar) {
- snackbar = document.createElement('div')
- snackbar.id = 'snackbar'
- document.body.appendChild(snackbar)
- }
- snackbar.classList.add('show', type)
- snackbar.innerText = text
- setTimeout(function () { snackbar.classList.remove("show", type); }, 3000);
-}
-
-/**
- * 计算弹出框的坐标位置,使得 box 不会超出页面范围
- * @param box 元素 node
- * @param x 事件 Event x 坐标
- * @param y 事件 Event y 坐标
- * @param offsetX x 偏移量
- * @param offsetY y 偏移量
- * @param offsetPostion 设置 box 相对于点击坐标的位置
- */
-export function computeBoxPosition(box, x, y, offsetX = 10, offsetY = 20, offsetPostion = 'center') {
- let boxWidth = box.clientWidth,
- boxHeight = box.clientHeight,
- docWidth = document.body.clientWidth,
- docHeight = document.body.clientHeight,
- top = y + offsetY,
- left = 0
-
- switch (offsetPostion) {
- case 'left':
- left = x - boxWidth - offsetX
- break
- case 'right':
- left = x + offsetX
- break
- default:
- left = x - boxWidth / 2 - offsetX
- break
- }
-
- // box右侧超出页面
- if (left + boxWidth > docWidth) left = docWidth - boxWidth - offsetX
- // box下侧抽出页面
- if (top + boxHeight > docHeight) top = docHeight - boxHeight - offsetY
- // box遮挡了点击位置
- if (y > top && y < top + boxHeight) top = y - boxHeight - offsetY
- top = top < 0 ? offsetY : top
- left = left < 0 ? offsetX : left
- return { x: left, y: top }
-}
-
-/**
- * 格式化思源笔记字符串日期
- * @param {*} value
- * @param {*} from 可选值:date | blockid
- * @returns
- */
-export function formatSYDate(value, from = "date") {
-
- let str = ''
- if (from == "blockid") {
- let arr = value.split('-')
- str = arr[0]
- } else {
- str = value
- }
-
- let year = str.substring(0, 4),
- month = str.substring(4, 6),
- day = str.substring(6, 8),
- hour = str.substring(8, 10),
- min = str.substring(10, 12),
- second = str.substring(12, 14)
-
- return year + '-' + month + '-' + day + ' ' + hour + ':' + min + ':' + second
-}
-
-/**
- * 比较版本号
- * @params {string} version1: 版本号1
- * @params {string} version2: 版本号2
- * @return {number}: 1: v1 > v2; -1: v1 < v2; 0: v1 = v2
- */
-export function compareVersion(version1, version2) {
- let v1_arr = version1.split('.');
- let v2_arr = version2.split('.');
- for (let i = 0; i < v1_arr.length; i++) {
- let v1, v2;
- if (!isNaN(v1_arr[i]) && !isNaN(v2_arr[i])) { // 两者都为数字
- v1 = parseInt(v1_arr[i]);
- v2 = parseInt(v2_arr[i]);
- }
- else if (!isNaN(v1_arr[i]) || !isNaN(v2_arr[i])) { // 其中一者为数字
- v1 = v1_arr[i];
- v2 = v2_arr[i];
- if (v1 == undefined || v2 == undefined) // 其中一者没有更细分的版本号
- return 0;
- else if (!isNaN(v1) && isNaN(v2)) // v1 是发行版 | v2 是内测(x-alphaX)/公测版(x-devX)
- return 1;
- else if (isNaN(v1) && !isNaN(v2)) // v2 是发行版 | v1 是内测(x-alphaX)/公测版(x-devX)
- return -1;
- else // 意外的情况
- return 0;
- }
- else { // 都不为数字, 比较字符串, 内测版(alpha)比公测版(dev)版本号小
- v1 = v1_arr[i];
- v2 = v2_arr[i];
- }
- switch (true) {
- case v1 > v2:
- return 1;
- case v1 < v2:
- return -1;
- case v1 === v2:
- default:
- break;
- }
- }
- return 0;
-}
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/52pojie_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/52pojie_cn.png
deleted file mode 100644
index fd554a90aa..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/52pojie_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/Facebook.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/Facebook.svg
deleted file mode 100644
index 33c28c076a..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/Facebook.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648127855792" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="49135" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M967.601349 1024c31.076808 0 56.398651-25.321843 56.398651-56.398651V56.398651c0-31.076808-25.321843-56.398651-56.398651-56.398651H56.398651C25.321843 0 0 25.321843 0 56.398651v910.819034c0 31.076808 25.321843 56.398651 56.398651 56.398651h911.202698z" fill="#3C5A99" p-id="49136"></path><path d="M706.709629 1024V627.29112h133.13151l19.950543-154.61671h-153.082053V374.072686c0-44.888722 12.277257-75.198202 76.732859-75.198201h81.720494v-138.119146c-14.195579-1.918321-62.920944-6.138629-119.319595-6.138629-118.168602 0-198.738104 72.128887-198.738104 204.109405v113.948295h-133.515174v154.61671h133.515174v396.70888h159.604346z" fill="#FFFFFF" p-id="49137"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/Twitter.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/Twitter.svg
deleted file mode 100644
index 73bda54b98..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/Twitter.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648127689842" class="icon" viewBox="0 0 1260 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="47668" xmlns:xlink="http://www.w3.org/1999/xlink" width="24.609375" height="20"><defs><style type="text/css"></style></defs><path d="M1259.846921 121.148242c-46.524504 20.728739-96.273478 34.547899-148.325646 40.536201 53.434084-31.784067 94.430924-82.454319 113.777747-142.797982-50.209613 29.480874-105.486251 51.13089-164.447999 62.646857A257.584528 257.584528 0 0 0 872.449815 0.000276c-142.797982 0-258.418284 115.620302-258.418284 258.418284 0 20.268101 2.303193 40.075563 6.909579 58.961748C405.82286 306.32498 215.579097 203.602561 87.98219 47.446058c-22.110655 38.233008-35.008538 82.454319-35.008538 129.900099 0 89.824537 45.603227 168.593747 115.159663 215.118251-42.378756-1.381916-81.99368-12.897882-117.002217-32.244706v3.224471c0 125.293713 88.90326 229.398049 207.287393 253.351259-21.650017 5.988302-44.681949 9.212773-68.17452 9.212773-16.582991 0-32.705344-1.842555-48.827697-4.606387 32.705344 102.722419 128.518184 177.345881 241.374653 179.649074-88.442621 69.095798-199.917175 110.553277-321.06514 110.553277-20.728739 0-41.457479-1.381916-61.72558-3.685109 114.238386 73.241546 250.126788 116.08094 396.149241 116.08094 475.379089 0 735.179289-393.846048 735.179289-735.179289 0-11.055328-0.460639-22.571294-0.921277-33.626621 51.13089-36.851092 94.891562-82.454319 129.439461-134.045848z" fill="#55ACEE" p-id="47669"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/aliyundrive_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/aliyundrive_com.png
deleted file mode 100644
index 4c021685a0..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/aliyundrive_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/appinn_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/appinn_com.png
deleted file mode 100644
index 96f8ac98c2..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/appinn_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/apple_com_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/apple_com_cn.png
deleted file mode 100644
index 70017aef79..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/apple_com_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/auth_alipay_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/auth_alipay_com.png
deleted file mode 100644
index a6d998febc..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/auth_alipay_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/baidu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/baidu_com.png
deleted file mode 100644
index c0ed705d7d..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/baidu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/baike_baidu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/baike_baidu_com.png
deleted file mode 100644
index c0ed705d7d..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/baike_baidu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/bbs_hupu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/bbs_hupu_com.png
deleted file mode 100644
index 4b17fba71b..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/bbs_hupu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/bilibili_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/bilibili_com.png
deleted file mode 100644
index 6e87f4e3b7..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/bilibili_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/blog_csdn_net.png b/app/appearance/themes/notion-theme/icon4Tsundoku/blog_csdn_net.png
deleted file mode 100644
index 45863bf464..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/blog_csdn_net.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/cn_bing_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/cn_bing_com.png
deleted file mode 100644
index 0a17413482..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/cn_bing_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/douban_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/douban_com.png
deleted file mode 100644
index 6b626839d4..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/douban_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fanyi_baidu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/fanyi_baidu_com.png
deleted file mode 100644
index 48ac0e9ec1..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/fanyi_baidu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/JAVA.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/JAVA.svg
deleted file mode 100644
index cdbe532da3..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/JAVA.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M594.944 0l335.124 341.32v563.2c0 65.996-52.5 119.48-117.294 119.48H209.546c-64.793 0-117.299-53.53-117.299-119.48V119.48C92.252 53.484 144.757 0 209.551 0h385.393z" fill="#424242" /><path d="M930.068 341.32H718.152c-64.748 0-123.208-59.49-123.208-125.492V0l335.124 341.32z" fill="#FFFFFF" fill-opacity=".4" /><path d="M504.458 580.608c49.526 0 90.343 40.868 90.343 92.022 0 50.452-40.817 92.068-90.343 92.068a86.108 86.108 0 0 1-51.574-16.384c-6.051-4.096-7.352-12.944-3.348-19.088a13.542 13.542 0 0 1 18.755-3.394c10.705 7.444 23.413 11.586 36.167 11.586 34.816 0 63.58-29.322 63.58-64.788 0-35.472-28.764-64.794-63.58-64.794-32.768 0-60.185 25.974-63.303 58.65l-0.323 6.144c0 50.452-40.822 92.068-90.348 92.068-49.525 0-90.388-41.616-90.388-92.068 0-50.458 40.863-92.022 90.388-92.022 17.408 0 34.12 4.746 48.876 14.285 6.047 4.096 8.003 12.288 3.999 19.087a13.594 13.594 0 0 1-18.755 4.096 60.877 60.877 0 0 0-34.12-10.24c-34.816 0-63.58 29.322-63.58 64.794 0 35.466 28.764 64.788 63.58 64.788s63.58-29.322 63.58-64.788c0-50.458 40.822-92.022 90.394-92.022z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/MP4.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/MP4.svg
deleted file mode 100644
index e955074920..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/MP4.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M594.944 0l335.124 341.32v563.2c0 65.996-52.5 119.48-117.294 119.48H209.546c-64.793 0-117.299-53.53-117.299-119.48V119.48C92.252 53.484 144.757 0 209.551 0h385.393z" fill="#627CFE" /><path d="M930.068 341.32H718.152c-64.748 0-123.208-59.49-123.208-125.492V0l335.124 341.32z" fill="#FFFFFF" fill-opacity=".4" /><path d="M519.68 606.628v66.422l120.832 73.4V533.407z" fill="#FFFFFF" opacity=".99" /><path d="M534.528 512.138H282.25a22.482 22.482 0 0 0-22.297 22.62v210.53c0 12.38 9.917 22.666 22.251 22.666h252.508a22.482 22.482 0 0 0 22.252-22.666V534.574a22.62 22.62 0 0 0-22.436-22.436zM356.25 719.36V560.548l127.078 79.4L356.25 719.36z" fill="#FFFFFF" opacity=".99" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/css.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/css.svg
deleted file mode 100644
index c48716906c..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/css.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M88.064 27.648l77.824 871.424L512 996.352l346.112-97.28 77.824-871.424z" fill="#2196F3" /><path d="M771.072 312.32l-10.24 109.568-29.696 328.704L512 811.008l-220.16-60.416-14.336-172.032h107.52l7.168 89.088L512 700.416l119.808-32.768 16.384-148.48-375.808 1.024-11.264-101.376 395.264-4.096 8.192-108.544-413.696 1.024-7.168-101.376h536.576z" fill="#FAFAFA" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/excel.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/excel.svg
deleted file mode 100644
index bf0bd0b881..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/excel.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M116.91 0H668.97l262.774 257.705V995.43c0 15.77-13.2 28.57-29.46 28.57H116.91c-16.261 0-29.455-12.8-29.455-28.57V28.57C87.45 12.8 100.649 0 116.91 0z" fill="#00C090" /><path d="M668.969 0v229.135c0 15.79 13.2 28.57 29.46 28.57h233.314L668.969 0z" fill="#68DBBF" /><path d="M703.744 370.601l-447.54 435.2a39.148 39.148 0 0 0 0.748 55.905c15.857 15.345 41.447 15.606 57.636 0.589l447.519-435.2c10.818-10.035 15.18-24.965 11.402-39.014-3.773-14.045-15.104-25.001-29.593-28.631-14.49-3.63-29.876 0.64-40.192 11.151h0.015z" fill="#FFFFFF" /><path d="M256.205 425.969l447.539 435.18c16.19 15.016 41.78 14.755 57.636-0.59a39.148 39.148 0 0 0 0.747-55.9L314.61 369.46c-16.19-15.017-41.78-14.756-57.641 0.589a39.148 39.148 0 0 0-0.748 55.9l-0.015 0.02z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/folder.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/folder.svg
deleted file mode 100644
index ef94e53dcc..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/folder.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="16.88px" viewBox="0 0 1213 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M1190.43586 169.1941a59.684993 59.684993 0 0 0-42.253995-18.131998H554.027935l-132.929984-132.929984a63.070993 63.070993 0 0 0-19.082998-13.084999A64.577992 64.577992 0 0 0 378.835956 0.00012H60.393993a58.031993 58.031993 0 0 0-42.261995 18.139998A63.940993 63.940993 0 0 0 0 60.386113V412.890072h1208.575858V211.456095a57.709993 57.709993 0 0 0-18.139998-42.261995z" fill="#FFD766" /><path d="M1148.415865 1016.752001H60.393993A60.634993 60.634993 0 0 1 0 956.357008V311.823083h1208.575858v644.533925a60.634993 60.634993 0 0 1-60.393993 60.394993h0.234z" fill="#FFAC33" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/html.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/html.svg
deleted file mode 100644
index 0b0894f1c2..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/html.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M89.088 59.392l62.464 803.84c1.024 12.288 9.216 22.528 20.48 25.6L502.784 993.28c6.144 2.048 12.288 2.048 18.432 0l330.752-104.448c11.264-4.096 19.456-14.336 20.48-25.6l62.464-803.84c1.024-17.408-12.288-31.744-29.696-31.744H118.784c-17.408 0-31.744 14.336-29.696 31.744z" fill="#FC490B" /><path d="M774.144 309.248h-409.6l12.288 113.664h388.096l-25.6 325.632-227.328 71.68-227.328-71.68-13.312-169.984h118.784v82.944l124.928 33.792 123.904-33.792 10.24-132.096H267.264L241.664 204.8h540.672z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/jpg.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/jpg.svg
deleted file mode 100644
index d615f4776b..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/jpg.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M137.902164 0.00045a48.572979 48.572979 0 0 0-35.588984 15.293993 53.964976 53.964976 0 0 0-15.272993 35.639985v917.411596a48.706979 48.706979 0 0 0 15.272993 35.639985 49.970978 49.970978 0 0 0 35.589984 15.292993h746.335672a48.639979 48.639979 0 0 0 35.589985-15.292993 50.369978 50.369978 0 0 0 15.272993-35.639985V288.717323L646.727941 0.00045H137.902164z" fill="#FF5562" /><path d="M935.101814 288.717323H697.655918c-27.821988-0.666-50.226978-23.07599-50.927977-50.933977V0.00045l288.373873 288.716873z" fill="#FFBBC0" /><path d="M772.289886 715.070136L666.049932 550.303208a16.593993 16.593993 0 0 0-14.411993-7.649996 18.851992 18.851992 0 0 0-14.407994 7.649996l-56.836975 88.299961L453.171026 432.47026a16.526993 16.526993 0 0 0-14.406994-7.643997 18.851992 18.851992 0 0 0-14.412993 7.649997L249.657115 715.263136a15.446993 15.446993 0 0 0 0 16.957992 15.666993 15.666993 0 0 0 14.406994 8.508996h493.547783a18.851992 18.851992 0 0 0 15.272993-8.509996 16.977993 16.977993 0 0 0-0.793999-16.956992l0.2-0.2zM628.069949 403.149273a42.489981 42.489981 0 0 0 26.142989 39.305983 42.387981 42.387981 0 0 0 46.264979-9.169996 42.531981 42.531981 0 0 0 9.225996-46.30998A42.429981 42.429981 0 0 0 670.49993 360.730291c-23.40899 0-42.393981 18.979992-42.434981 42.418982z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/json.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/json.svg
deleted file mode 100644
index 83eb286554..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/json.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M192 0h448.1536L960 320v576c0 70.6944-57.3056 128-128 128H192C121.3056 1024 64 966.6944 64 896V128C64 57.3056 121.3056 0 192 0z" fill="#9342D5" /><path d="M283.4816 204.16c7.04 0 10.6752 3.6608 10.6752 10.7776 0 6.016-2.6112 9.536-7.7312 10.368l-1.4592 0.1536-1.4848 0.0256h-13.5936c-6.8736 0-10.6496 3.2384-11.584 10.0224l-0.1664 1.7792-0.0512 1.8432v44.2368c0 14.784-6.848 24.704-20.4416 28.4416 11.904 4.9152 18.624 13.12 20.1216 24.5504l0.2304 2.5088 0.0896 2.56v44.4672c0 7.6928 2.9056 12.0832 8.704 13.1456l1.5104 0.2048 1.5872 0.064h13.5936c7.04 0 10.6752 3.584 10.6752 10.5472 0 5.8368-2.56 9.3696-7.6032 10.4448l-1.4336 0.2304-1.6384 0.1024h-18.2016c-10.7136 0-18.9952-3.4944-24.704-10.368-4.1216-5.0816-6.6048-11.4944-7.424-19.2512l-0.2304-2.9824-0.0768-3.0592v-42.1632c0-6.5536-1.3568-11.2256-3.9936-13.8624-3.072-3.52-8.6656-5.5552-16.6656-6.016-5.3248-0.8576-8.0256-4.4288-8.0256-10.5216 0-6.08 2.7008-9.664 8.064-10.56 7.8592-0.6656 13.5296-2.6752 16.6272-5.76 1.984-2.3296 3.2384-5.5424 3.7376-9.6512l0.192-2.1248 0.064-2.3296v-41.9328c0-10.7136 2.56-19.1616 7.744-25.5104 4.6592-5.8368 11.136-9.1648 19.5072-10.112l2.56-0.2048 2.624-0.064h18.2016z m179.968 0c10.7008 0 18.9824 3.4944 24.6784 10.368 4.1344 5.0816 6.6176 11.4944 7.4368 19.2512l0.2304 2.9824 0.0768 3.0592v42.1632c0 6.5536 1.3568 11.2256 3.9936 13.8624 3.072 3.52 8.6528 5.5552 16.6656 6.016 5.312 0.8576 8.0256 4.4288 8.0256 10.5216 0 6.08-2.7136 9.664-8.064 10.56-7.8592 0.6656-13.5296 2.6752-16.6272 5.76-1.984 2.3296-3.2384 5.5424-3.7376 9.6512l-0.192 2.1248-0.064 2.3296v41.9328c0 10.7136-2.56 19.1616-7.744 25.5104-4.6592 5.8368-11.136 9.1648-19.5072 10.112l-2.56 0.2048-2.624 0.064h-18.2016c-7.04 0-10.6752-3.6608-10.6752-10.7776 0-6.016 2.6112-9.536 7.7184-10.368l1.4592-0.1536 1.4976-0.0256h13.5936c6.8736 0 10.6496-3.2384 11.5712-10.0224l0.1792-1.7792 0.0512-1.8432v-44.2368c0-14.784 6.848-24.704 20.4416-28.4416-11.904-4.9152-18.624-13.12-20.1216-24.5504l-0.2432-2.5088-0.0768-2.56v-44.4672c0-7.6928-2.9184-12.0832-8.704-13.1456l-1.5232-0.2048-1.5744-0.064h-13.5936c-7.04 0-10.6752-3.584-10.6752-10.5472 0-5.8368 2.56-9.3696 7.6032-10.4448l1.4336-0.2304 1.6384-0.1024h18.2016z m-72.896 140.8c6.4384 0 11.904 2.6496 16.1792 7.8464 4.032 5.2352 6.1184 12.0832 6.1184 20.2112 0 12.16-3.6096 22.912-10.7136 32.3968-5.632 7.8464-11.0848 10.8416-16.2304 8.9728-4.608-1.664-5.0688-8.384-2.112-11.4688l1.3696-1.4464 1.0112-1.2672c0.256-0.3584 0.8064-1.1904 2.2528-3.3664 3.9168-5.2224 5.632-10.1504 6.4768-15.1552-1.856 0.6272-3.712 0.96-5.9648 0.96-5.1456 0-9.472-1.8432-13.12-5.4912-3.52-3.5072-5.2608-8.0128-5.2608-13.3504 0-5.7088 1.92-10.2656 5.7216-13.5808 3.5328-3.5456 8.2688-5.2608 14.272-5.2608z m-65.3824 1.28c-4.4544 0-8.1536 1.28-11.0464 3.9168l-1.1904 1.2032c-3.4432 3.2384-5.0944 7.3728-5.0944 12.4416 0 4.992 1.6 8.9472 5.12 12.4544 3.1488 3.1616 7.3984 4.8768 12.2112 4.8768 4.7104 0 8.7296-1.6384 12.4416-4.864 3.4432-3.6736 5.12-7.6928 5.12-12.4672 0-4.864-1.7408-9.088-5.12-12.4544a16.576 16.576 0 0 0-12.4416-5.1072z m0-78.08c5.3248 0 9.6 1.7408 13.3504 5.4912 3.6096 3.5968 5.4912 8.1536 5.4912 13.3504 0 5.12-1.8176 9.4336-5.5168 13.3888-3.968 3.4688-8.2944 5.2224-13.3248 5.2224-5.1584 0-9.728-1.856-13.12-5.248a17.856 17.856 0 0 1-5.4912-13.3632c0-4.736 1.3696-8.7552 4.1728-11.9936l1.28-1.3312c3.2512-3.712 7.7184-5.5168 13.1584-5.5168z" fill="#C88CFF" fill-opacity=".9" /><path d="M640 0l320 320H768c-70.6944 0-128-57.3056-128-128V0z" fill="#C88CFF" /><path d="M246.9504 732.224c17.8304 0 32.4608-5.5168 43.8784-16.5632 11.4176-11.0336 17.1264-25.856 17.1264-44.4416v-123.6224h-42.2528v123.6224c0 8.9216-1.7536 15.8976-5.248 20.9408-3.5072 5.0432-8 7.5648-13.504 7.5648-7.2448 0-13.12-2.0864-17.6256-6.2464-4.5056-4.1728-6.7456-10.7136-6.7456-19.6224h-41.2544l-0.384 0.7424c-0.4096 18.752 5.3632 33.0496 17.3184 42.88 11.968 9.8304 28.1856 14.7456 48.6912 14.7456z m157.376 0c20.6592 0 37.248-4.5184 49.7536-13.568 12.4928-9.0368 18.7392-21.5552 18.7392-37.5552 0-15.6672-5.4144-28.0064-16.256-36.992-10.816-9.0112-26.7776-16.64-47.872-22.8864-12.416-4.8256-20.8896-8.8576-25.4336-12.0576-4.5312-3.2-6.8096-7.4752-6.8096-12.8128 0-5.504 2.2144-10.1248 6.6304-13.8752 4.416-3.7504 10.4576-5.632 18.1248-5.632 9.408 0 16.4608 1.9456 21.12 5.824 4.672 3.8656 7.0016 10.0992 7.0016 18.688h40.9984l0.256-0.768c0.4096-17.664-5.7088-31.3472-18.3808-41.0496-12.672-9.7152-29.376-14.5664-50.1248-14.5664-19.6608 0-35.8784 4.7104-48.6272 14.1312-12.7488 9.408-19.1232 21.7472-19.1232 36.992 0 15.5904 5.4784 27.52 16.4352 35.8144 10.9568 8.2944 27.7376 16.1024 50.3168 23.4368 11.1616 3.9168 18.88 7.6032 23.1296 11.0592 4.2496 3.456 6.3744 8.448 6.3744 14.9376 0 5.6704-2.176 10.2528-6.5024 13.76-4.3392 3.4944-10.9184 5.248-19.7504 5.248-10.752 0-18.7264-2.2272-23.936-6.6944-5.2096-4.4544-7.808-11.968-7.808-22.5536h-41.1264l-0.256 0.7424c-0.4224 20.8384 6.528 36.096 20.8128 45.824 14.2976 9.7024 31.7312 14.5536 52.3136 14.5536z m165.76 0c22.912 0 41.472-7.2704 55.68-21.8112 14.208-14.5408 21.312-33.024 21.312-55.4368V622.208c0-22.3232-7.168-40.7936-21.504-55.3728-14.336-14.592-32.9216-21.8752-55.744-21.8752-23.0016 0-41.6512 7.296-55.936 21.888-14.2976 14.5664-21.44 33.024-21.44 55.36v32.7552c0 22.4128 7.168 40.896 21.504 55.4368 14.336 14.5408 33.024 21.8112 56.1152 21.8112z m0-32.4992c-11.4304 0-20.1984-4.1728-26.3296-12.5056-6.1184-8.32-9.1776-19.072-9.1776-32.256v-32.9856c0-13.0816 3.0208-23.7696 9.0624-32.064 6.0416-8.2944 14.7712-12.4416 26.1888-12.4416 11.1616 0 19.8016 4.1728 25.9328 12.5056 6.1184 8.32 9.1904 18.9952 9.1904 32v32.9984c0 13.1712-3.0464 23.9104-9.1264 32.256-6.08 8.32-14.6688 12.4928-25.7536 12.4928zM715.0592 729.6v-114.2528l0.7552-0.256L782.4512 729.6h42.112V547.5968h-42.112v114.1248l-0.7552 0.256-66.624-114.3808h-42.24V729.6h42.24z" fill="#FFFFFF" fill-opacity=".9" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/md.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/md.svg
deleted file mode 100644
index 44391bde11..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/md.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648117428772" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23971" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M936.228571 299.885714l-292.571428-292.571428S629.028571 0 621.714286 0h-438.857143C124.342857 0 73.142857 51.2 73.142857 109.714286v804.571428c0 58.514286 51.2 109.714286 109.714286 109.714286h658.285714c58.514286 0 109.714286-51.2 109.714286-109.714286v-585.142857c0-7.314286-7.314286-21.942857-14.628572-29.257143zM658.285714 124.342857L826.514286 292.571429H694.857143c-21.942857 0-36.571429-14.628571-36.571429-36.571429V124.342857z m219.428572 789.942857c0 21.942857-14.628571 36.571429-36.571429 36.571429h-658.285714c-21.942857 0-36.571429-14.628571-36.571429-36.571429v-804.571428c0-21.942857 14.628571-36.571429 36.571429-36.571429H585.142857v182.857143C585.142857 314.514286 636.342857 365.714286 694.857143 365.714286H877.714286v548.571428z" p-id="23972"></path><path d="M650.971429 526.628571l-7.314286-7.314285h-7.314286-7.314286-7.314285-7.314286-7.314286-7.314285s-7.314286 0-7.314286 7.314285l-7.314286 7.314286-73.142857 131.657143-80.457143-138.971429-7.314286-7.314285-7.314285-7.314286h-7.314286-7.314286-7.314285-7.314286-7.314286-7.314286S365.714286 512 365.714286 519.314286l-7.314286 7.314285-95.085714 190.171429c-7.314286 14.628571-7.314286 36.571429 14.628571 51.2s36.571429 7.314286 51.2-14.628571l80.457143-131.657143 80.457143 131.657143 7.314286 7.314285h29.257142l7.314286-7.314285 80.457143-131.657143 80.457143 131.657143c7.314286 14.628571 29.257143 21.942857 51.2 14.628571s21.942857-29.257143 14.628571-51.2L650.971429 526.628571z" p-id="23973"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/mp3.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/mp3.svg
deleted file mode 100644
index d8c2339269..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/mp3.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M137.902164 0.00045a48.572979 48.572979 0 0 0-35.588984 15.293993 53.964976 53.964976 0 0 0-15.272993 35.639985v917.411596a48.706979 48.706979 0 0 0 15.272993 35.639985 49.970978 49.970978 0 0 0 35.589984 15.292993h746.335672a48.639979 48.639979 0 0 0 35.589985-15.292993 50.369978 50.369978 0 0 0 15.272993-35.639985V288.717323L646.727941 0.00045H137.902164z" fill="#FF5562" /><path d="M935.101814 288.717323H697.655918c-27.821988-0.666-50.226978-23.07599-50.927977-50.933977V0.00045l288.373873 288.716873z" fill="#FFBBC0" /><path d="M678.133927 487.465236c0.42-2.200999 0.42-4.453998 0-6.649997V358.532292a18.099992 18.099992 0 0 0-5.908997-12.763994 15.922993 15.922993 0 0 0-13.613994-3.393998l-265.599884 74.740967a15.420993 15.420993 0 0 0-12.681994 15.293993v292.105872a90.39396 90.39396 0 0 0-34.794985-6.655997 106.192953 106.192953 0 0 0-27.954988 3.394998c-43.289981 11.903995-70.379969 45.87998-61.951972 77.331966 6.644997 24.601989 32.275986 39.894982 64.475971 39.894983a161.209929 161.209929 0 0 0 28.020988-3.389999c38.978983-11.037995 64.409972-39.095983 63.544972-67.09197a12.457995 12.457995 0 0 0 0.865-5.984998V571.776199l233.266897-65.361972v144.358937a90.65496 90.65496 0 0 0-34.794985-6.650997 106.096953 106.096953 0 0 0-28.021987 3.393998c-43.227981 11.899995-70.384969 45.87498-61.885973 77.260966 6.640997 24.672989 32.204986 39.899982 64.470972 39.899983a105.901953 105.901953 0 0 0 27.955987-3.393999c38.179983-10.239996 63.609972-38.230983 63.609972-66.49397a12.170995 12.170995 0 0 0 0.866-5.912998l0.133-201.409911z m-265.599883 50.933977v-56.852975l233.394897-65.094971v56.918975l-233.394897 65.023971z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/pdf.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/pdf.svg
deleted file mode 100644
index b5379a329c..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/pdf.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M116.91 0H668.97l262.774 257.705V995.43c0 15.77-13.2 28.57-29.46 28.57H116.91c-16.261 0-29.455-12.8-29.455-28.57V28.57C87.45 12.8 100.649 0 116.91 0z" fill="#FF4867" /><path d="M668.969 0v229.135c0 15.79 13.2 28.57 29.46 28.57h233.314L668.969 0z" fill="#FF97A9" /><path d="M721.306 854.871c-52.317 0-99.246-87.091-123.92-143.703-41.523-16.809-87.316-32.512-131.778-42.665-38.912 24.899-105.124 62.172-155.981 62.172-31.55 0-54.267-15.396-62.607-42.189-6.39-22.051-0.989-37.273 5.877-45.516 13.41-17.767 41.037-26.793 82.407-26.793 33.52 0 76.016 5.698 123.443 16.793a785.05 785.05 0 0 0 89.262-71.373c-12.262-56.458-25.672-147.968 8.346-190.156 16.834-20.142 42.496-26.798 73.548-17.767 34.018 9.523 46.935 29.66 50.857 45.517 14.393 55.04-50.857 129.26-94.827 172.882 9.815 37.734 22.733 77.553 38.43 114.022 63.1 27.29 138.138 68.045 146.653 112.471 3.43 15.36-1.485 29.645-14.398 42.174-11.12 8.873-22.876 14.11-35.318 14.11v0.021z m-47.038-96.02c11.505 24.852 22.487 36.577 28.278 36.577 0.88 0 2.145-0.379 3.922-1.895 2.15-2.288 2.15-3.809 1.792-5.207-1.193-6.517-10.906-17.239-33.997-29.475z m-332.19-100.573c-18.407 0-23.476 4.317-25.007 6.334-0.44 0.645-1.76 2.59-0.44 7.608 1.09 4.321 4.173 8.93 13.706 8.93 11.95 0 29.246-6.554 49.342-18.264-14.377-3.087-27.044-4.608-37.602-4.608z m180.188-22.185c10.997 2.97 22.4 6.81 32.993 10.752a280.934 280.934 0 0 1-9.59-29.696 722.857 722.857 0 0 1-23.398 18.944z m77.721-214.374a11.715 11.715 0 0 0-9.113 4.009c-7.281 8.893-8.09 31.299-2.458 59.991 21.325-22.205 32.922-42.598 30.034-53.504-0.405-1.608-1.638-6.487-11.597-9.303a24.018 24.018 0 0 0-6.86-1.193z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/ppt.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/ppt.svg
deleted file mode 100644
index a8c4f0a2f6..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/ppt.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M116.91 0H668.97l262.774 257.705V995.43c0 15.77-13.2 28.57-29.46 28.57H116.91c-16.261 0-29.455-12.8-29.455-28.57V28.57C87.45 12.8 100.649 0 116.91 0z" fill="#FF7861" /><path d="M668.969 0v229.135c0 15.79 13.2 28.57 29.46 28.57h233.314L668.969 0z" fill="#FFB0A4" /><path d="M695.593 473.257c9.185 9.098 14.029 22.19 14.029 41.595 0 19.42-4.844 32.512-14.029 41.605-9.8 9.728-26.394 16.947-50.908 20.685H280.704c-22.784 0-41.252 17.91-41.252 40.007v179.42c0 14.296 7.86 27.505 20.624 34.653a42.358 42.358 0 0 0 41.246 0c12.764-7.148 20.629-20.357 20.624-34.652V657.137h325.821c1.935 0 3.891-0.123 5.821-0.395 88.11-12.2 138.522-62.223 138.522-141.89 0-79.652-50.411-129.674-138.522-141.875a42.045 42.045 0 0 0-5.821-0.41H280.699c-22.784 0-41.247 17.91-41.247 40.003 0 22.092 18.468 40.002 41.247 40.002h363.986c24.514 3.738 41.108 10.957 50.908 20.67v0.015z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/txt.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/txt.svg
deleted file mode 100644
index 401a5e3e45..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/txt.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648116983679" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15329" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z" fill="#777777" p-id="15330"></path><path d="M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z" fill="#E0E0E0" opacity=".619" p-id="15331"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/vscode.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/vscode.svg
deleted file mode 100644
index 1b547ab252..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/vscode.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648116753323" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="14447" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M123.648 399.9232s-12.4928-12.288-11.264-19.968c1.024-7.7824 5.632-11.9296 5.632-11.9296l72.5504-61.7472s5.0176-2.4576 10.4448-1.8432c5.4272 0.6144 11.6736 4.608 11.6736 4.608l504.576 382.976 1.8944 200.6016-19.4048 13.1584-13.7728-2.7136L123.648 399.9232z" fill="#008BD1" p-id="14448"></path><path d="M227.072 698.9312l-15.0016 11.6736s-5.632 4.4032-12.7488 4.608c-7.0656 0.2048-13.312-5.632-13.312-5.632l-67.7888-62.5664s-2.304-3.7376-1.024-9.3696c1.2288-5.632 2.7136-7.3216 2.7136-7.3216l553.5744-502.9376 6.2464-3.7376 28.5696-5.8368 42.5472 65.8944 3.7376 115.712-527.5136 399.5136z" fill="#0079BF" p-id="14449"></path><path d="M673.4848 127.3856s31.488-10.5984 38.6048 21.504l0.2048 723.3024s-3.9936 15.4624-12.9536 21.0944c-8.96 5.632-22.9376 1.8432-22.9376 1.8432s11.264 13.7728 23.9616 13.312c6.2976 0 16.0768-6.8608 16.0768-6.8608l176.1792-86.9376s10.4448-7.4752 14.3872-14.592c3.9936-6.8608 4.608-12.4928 4.608-12.4928V235.008s1.8944-11.4688-5.632-19.6096-10.8544-9.3696-10.8544-9.3696L709.632 117.1968s-3.9936-1.4848-12.1344-1.024c-8.2944 0.1536-23.9616 11.264-23.9616 11.264z" fill="#009BD9" p-id="14450"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/word.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/word.svg
deleted file mode 100644
index b7cfbebf57..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/word.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="20.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M116.91 0H668.97l262.774 257.705V995.43c0 15.77-13.2 28.57-29.46 28.57H116.91c-16.261 0-29.455-12.8-29.455-28.57V28.57C87.45 12.8 100.649 0 116.91 0z" fill="#4A8DFF" /><path d="M668.969 0v229.135c0 15.79 13.2 28.57 29.46 28.57h233.314L668.969 0z" fill="#E5F0FF" /><path d="M722.765 823.537c25.395 26.962 71.705 9.554 71.705-26.967V371.44h-82.514v321.977L547.994 519.235c-7.814-8.3-18.873-13.03-30.464-13.03-11.587 0-22.641 4.73-30.46 13.03L323.109 693.417V371.42H240.63v425.15c0 36.52 46.315 53.929 71.71 26.967l205.21-217.995 205.21 217.995z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/xmind.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/xmind.svg
deleted file mode 100644
index 986017a22c..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/xmind.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648116720004" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13596" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M610.88 0l326.84 341.343v563.171c0 65.959-36.384 119.458-102.967 119.458H214.79c-66.582 0.028-128.51-53.47-128.51-119.458V119.486C86.28 53.47 148.207 0 214.79 0h396.09z" fill="#E94848" p-id="13597"></path><path d="M717.481 452.314c2.384 0.624 4.825 1.078 7.152 1.93 7.152 2.725 9.48 8.912 9.31 16.745-0.228 10.842-0.937 21.57-3.86 32.156-5.393 19.583-17.03 32.553-33.86 40.273-11.863 5.393-24.322 7.38-36.895 8.912-8.685 1.05-17.313 2.299-25.97 3.548a11.778 11.778 0 0 0-3.405 1.135c-4.626 2.27-5.818 6.641-2.412 10.53 3.547 4.03 7.464 7.72 11.58 11.011 15.524 12.403 31.474 24.153 46.687 36.953a186.75 186.75 0 0 1 43.764 51.881c11.267 20.15 16.972 42.09 16.234 66.129-0.199 6.357-2.98 10.018-8.742 10.302-8.911 0.454-17.823 0.54-26.763 0.624-11.07 0.114-22.138 0.057-33.207 0.086-11.295 0-22.591 0-33.887 0.056-8.06 0-16.12 0.142-24.21 0.142-2.355 0-4.71-0.085-7.095-0.312-10.047-0.908-13.765-4.995-14.758-16.092-1.476-15.78-3.775-31.248-9.564-45.808a121.416 121.416 0 0 0-45.836-56.82c-17.597-11.976-36.726-19.469-57.501-21.37-20.52-1.874-39.592 2.384-54.918 19.668-9.252 10.473-14.36 23.358-17.909 37.094-1.646 6.216-3.036 12.488-4.824 18.647-2.044 6.982-7.493 8.43-13 8.628-12.033 0.426-24.095 0.426-36.129 0.54-11.068 0.084-22.137 0.113-33.234 0.17-10.217 0.056-20.435 0.226-30.652 0.141a33.774 33.774 0 0 1-7.947-1.334c-3.86-0.965-5.392-3.349-5.194-7.663 1.334-26.196 11.325-47.538 30.425-63.744 15.723-13.34 33.632-21.627 52.42-27.303 17.824-5.393 35.931-9.593 53.868-14.446 5.052-1.362 10.104-2.838 14.929-4.882 7.748-3.292 9.025-8.684 2.895-14.616a138.047 138.047 0 0 0-19.1-15.184c-17.966-12.147-36.5-23.33-52.875-38.145-16.745-15.212-30.822-32.752-38.457-55.798-4.03-12.118-5.705-24.691-5.676-37.633 0-4.967 2.27-8.827 7.35-10.076a89.924 89.924 0 0 1 18.193-2.469c13.765-0.397 27.53-0.227 41.295-0.255l33.234 0.057c8.174 0 16.348-0.114 24.522-0.086 3.775 0 7.521 0.199 11.296 0.284 6.329 0.142 9.082 2.327 10.274 9.224 1.447 8.117 2.412 16.348 3.69 24.522 4.427 29.318 14.985 54.918 36.157 73.876 14.588 13.056 31.56 19.13 50.377 19.98 9.849 0.455 19.583 0.285 29.12-3.235 14.644-5.392 21.768-17.596 20.377-34.483-0.596-7.777-1.107-15.61-1.56-23.415-0.313-5.307 1.277-8.514 6.073-9.479 5.96-1.22 12.147-1.646 18.25-1.731 12.146-0.199 24.294 0.113 36.44 0.17 11.07 0.057 22.138-0.028 33.207 0.057 6.812 0.057 13.538 0.312 20.321 0.51v0.398" fill="#FFFFFF" p-id="13598"></path><path d="M937.72 341.343H737.519c-66.582 0-140.374-58.948-140.374-124.878V0.625l340.577 340.718z" fill-opacity=".255" p-id="13599"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/zip.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/fold/zip.svg
deleted file mode 100644
index bca4566971..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/fold/zip.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="20px" height="17.96px" viewBox="0 0 1140 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M1079.049 1022.302H56.746C25.56 1022.302 0 1000.524 0 974.078v-292.54h1135.575v292.39c0 26.451-25.566 48.23-56.746 48.23l0.22 0.144z" fill="#5ACC9B" /><path d="M56.746 0H1079.05c31.187 0 56.746 21.786 56.746 48.224v292.541H0.22V48.382C0.22 21.923 25.786 0.152 56.973 0.152L56.746 0z" fill="#6CCBFF" /><path d="M0.22 340.84h1135.423v340.622H0.22z" fill="#FFD766" /><path d="M378.694 0.22H757.17v1021.863H378.694z" fill="#FF5562" /><path d="M487.445 56.973h75.714v56.815h-75.714V56.966zM563.159 0.213h75.707v56.76h-75.707V0.22z m0 113.568h75.707v56.595h-75.707V113.78z m-75.714 56.595h75.714v56.746h-75.714v-56.746z m75.714 56.746h75.707v56.822h-75.707v-56.822z m-75.714 56.822h75.714v56.814h-75.714v-56.814z m75.714 56.746h75.707v56.746h-75.707V340.69z m-75.714 56.746h75.714v56.815h-75.714v-56.815z m75.714 56.815h75.707v56.897h-75.707V454.25z m-75.714 56.897h75.714v56.746h-75.714v-56.746z m75.714 56.746h75.707v56.815h-75.707v-56.815z m-75.714 56.815h75.714v56.821h-75.714V624.71z m75.714 56.746h75.707V738.2h-75.707v-56.746zM487.445 738.2h75.714v56.822h-75.714V738.2z m75.714 56.822h75.707v56.89h-75.707v-56.89z m-75.714 56.89h75.714v56.746h-75.714v-56.746z m0 113.568h75.714v56.815h-75.714V965.48z m75.714-56.822h75.707v56.822h-75.707v-56.822z" fill="#FFFFFF" /></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/getpocket_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/getpocket_com.png
deleted file mode 100644
index 09f63e3765..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/getpocket_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/ghxi_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/ghxi_com.png
deleted file mode 100644
index 5f4bdb30b7..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/ghxi_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/github_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/github_com.png
deleted file mode 100644
index 6a745ec1c0..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/github_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/guancha_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/guancha_cn.png
deleted file mode 100644
index 217090304e..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/guancha_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/haokan_baidu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/haokan_baidu_com.png
deleted file mode 100644
index 7fd2a8de1d..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/haokan_baidu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/huaban_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/huaban_com.png
deleted file mode 100644
index e4f8d5cfc2..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/huaban_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/huawei_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/huawei_com.png
deleted file mode 100644
index 2ac56394de..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/huawei_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/iconfont_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/iconfont_cn.png
deleted file mode 100644
index 460c1b7990..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/iconfont_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/ins.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/ins.svg
deleted file mode 100644
index a7ef26bcd4..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/ins.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648127539840" class="icon" viewBox="0 0 1031 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="46858" xmlns:xlink="http://www.w3.org/1999/xlink" width="20.13671875" height="20"><defs><style type="text/css"></style></defs><path d="M0 0z m790.037 519.76c0 149.27-121.04 270.277-270.276 270.277-149.269 0-270.276-121.007-270.276-270.276a266.31 266.31 0 0 1 5.1-51.976H72.767v359.252c0 77.12 62.468 139.718 139.718 139.718h614.552c77.12 0 139.718-62.533 139.718-139.718V467.785H785.001a271.41 271.41 0 0 1 5.036 51.976z m37-446.993H212.485c-77.185 0-139.718 62.566-139.718 139.718v151.348h226.29c48.923-69.129 129.518-114.348 220.704-114.348s171.78 45.22 220.703 114.348h226.291V212.485c0-77.12-62.566-139.718-139.718-139.718z m68.349 172.56c0 13.774-11.24 24.949-24.949 24.949h-74.78c-13.71 0-24.95-11.24-24.95-24.949v-74.845c0-13.774 11.273-24.949 24.95-24.949h74.78c13.774 0 24.949 11.24 24.949 24.949v74.845zM686.084 519.761c0-91.9-74.488-166.324-166.323-166.324s-166.324 74.424-166.324 166.324 74.489 166.323 166.324 166.323 166.323-74.423 166.323-166.323z" fill="#CF2F79" p-id="46859"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/instapaper_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/instapaper_com.png
deleted file mode 100644
index 2ae35ea2ff..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/instapaper_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/iplaysoft_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/iplaysoft_com.png
deleted file mode 100644
index e9ba07ef42..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/iplaysoft_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/iqiyi_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/iqiyi_com.png
deleted file mode 100644
index 6290241d6f..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/iqiyi_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/ixigua_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/ixigua_com.png
deleted file mode 100644
index d759ec579f..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/ixigua_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/jianshu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/jianshu_com.png
deleted file mode 100644
index 1508d6942a..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/jianshu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/kugou_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/kugou_com.png
deleted file mode 100644
index da6e036c7d..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/kugou_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/kuwo_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/kuwo_cn.png
deleted file mode 100644
index 545cc75914..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/kuwo_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/ld246_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/ld246_com.png
deleted file mode 100644
index 07258e2654..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/ld246_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/link2.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/link2.svg
deleted file mode 100644
index 2d943fc0a3..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/link2.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><svg width="20" height="20" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" fill="white" fill-opacity="0.01"/><rect width="48" height="48" fill="white" fill-opacity="0.01"/><path d="M44 6H4V36H13V41L23 36H44V6Z" fill="#fff" stroke="#000" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/><path d="M14 19.5V22.5" stroke="#000" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/><path d="M24 19.5V22.5" stroke="#000" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/><path d="M34 19.5V22.5" stroke="#000" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/logseq_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/logseq_com.png
deleted file mode 100644
index 072f8011c0..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/logseq_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/mi_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/mi_com.png
deleted file mode 100644
index 8bf45d25da..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/mi_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/mp_weixin_qq_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/mp_weixin_qq_com.png
deleted file mode 100644
index 1f4fc575d7..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/mp_weixin_qq_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/music_163_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/music_163_com.png
deleted file mode 100644
index f12da7cfe3..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/music_163_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/news_163_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/news_163_com.png
deleted file mode 100644
index 2a03b291ef..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/news_163_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/news_qq_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/news_qq_com.png
deleted file mode 100644
index 845c079dc3..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/news_qq_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/notion.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/notion.svg
deleted file mode 100644
index 0cb389c7e4..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/notion.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648127973097" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="49830" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M647.165837 2.332635L78.85493 44.179432C33.04873 48.138835 17.074585 78.005024 17.074585 113.810318v621.148461c0 27.886487 9.966774 51.745305 33.893858 83.625329l133.595729 173.189762c21.947382 27.886487 41.88093 33.859725 83.795993 31.880024l659.957441-39.832963c55.807107-3.959403 71.781251-29.866189 71.781251-73.658555V211.361824c0-22.630038-8.976923-29.1494-35.3957-48.468558a1594.683818 1594.683818 0 0 1-4.505528-3.276748L778.781865 32.198823C734.8871 0.387066 716.967387-3.640603 647.165837 2.332635zM283.310326 199.92734c-53.895671 3.618075-66.115209 4.437262-96.732319-20.377274l-77.822755-61.712079c-7.918807-7.987072-3.925271-17.953846 15.974144-19.933548l546.363525-39.79883c45.840333-3.993536 69.767417 11.946476 87.721263 25.872653l93.728634 67.71945c3.993536 1.979702 13.926177 13.892044 1.979702 13.892044l-564.249106 33.859725-6.963088 0.477859zM220.471864 904.189138V310.961297c0-25.906785 7.952939-37.853261 31.880024-39.867096l648.010965-37.819128c21.981515-1.979702 31.948289 11.946476 31.948289 37.819128v589.268439c0 25.906785-3.993536 47.820035-39.935361 49.799736l-620.090346 35.839427c-35.873559 1.979702-51.813571-9.932641-51.813571-41.812665z m612.171539-561.416084c3.959403 17.919713 0 35.839427-17.987979 37.887394l-29.900321 5.904972v437.991926c-25.940918 13.926177-49.833869 21.879117-69.767417 21.879116-31.914156 0-39.935361-9.966774-63.828313-39.79883l-195.444339-306.580694v296.613921l61.84861 13.96031s0 35.839427-49.902135 35.839426l-137.555132 7.95294c-3.959403-7.987072 0-27.886487 13.994443-31.845891l35.839426-9.932641v-392.185725l-49.833869-4.027669c-3.959403-17.919713 5.973238-43.792366 33.92799-45.772068l147.55604-9.966773 203.397279 310.608363v-274.768937l-51.881837-5.939105c-3.959403-21.947382 11.946476-37.853261 31.914156-39.832962l137.623398-7.987073z" fill="#000000" p-id="49831"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/obsidian_md.png b/app/appearance/themes/notion-theme/icon4Tsundoku/obsidian_md.png
deleted file mode 100644
index fbb116bbf3..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/obsidian_md.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/oppo_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/oppo_com.png
deleted file mode 100644
index 5de69b4165..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/oppo_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/oschina_net.png b/app/appearance/themes/notion-theme/icon4Tsundoku/oschina_net.png
deleted file mode 100644
index f216b49b06..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/oschina_net.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/page.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/page.svg
deleted file mode 100644
index 74fe2c273f..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/page.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><svg width="16" height="16" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="8" y="4" width="32" height="40" rx="2" stroke="#000" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/><path d="M16 4H25V20L20.5 16L16 20V4Z" fill="#cf5659" stroke="#000" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/><path d="M16 28H26" stroke="#000" stroke-width="3" stroke-linecap="square"/><path d="M16 34H32" stroke="#000" stroke-width="3" stroke-linecap="square"/></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/pan_baidu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/pan_baidu_com.png
deleted file mode 100644
index 41362ed603..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/pan_baidu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/reddit.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/reddit.svg
deleted file mode 100644
index 6e1b68dc96..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/reddit.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648127401415" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="25740" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M512 938.666667C276.352 938.666667 85.333333 747.648 85.333333 512S276.352 85.333333 512 85.333333s426.666667 191.018667 426.666667 426.666667-191.018667 426.666667-426.666667 426.666667z m284.586667-426.666667a62.293333 62.293333 0 0 0-105.386667-42.666667 303.786667 303.786667 0 0 0-164.266667-52.48L554.666667 283.733333l91.306666 19.2a42.666667 42.666667 0 1 0 5.546667-26.026666L546.986667 256a13.226667 13.226667 0 0 0-15.786667 10.24l-31.573333 148.053333a304.64 304.64 0 0 0-166.4 52.48 62.293333 62.293333 0 1 0-68.693334 101.973334 122.453333 122.453333 0 0 0 0 18.773333c0 95.573333 111.36 173.226667 248.746667 173.226667s248.746667-77.653333 248.746667-173.226667a122.453333 122.453333 0 0 0 0-18.773333 62.293333 62.293333 0 0 0 34.56-56.746667z m-426.666667 42.666667a42.666667 42.666667 0 1 1 85.333333 0 42.666667 42.666667 0 0 1-85.333333 0z m247.893333 117.333333a163.84 163.84 0 0 1-105.386666 32.853333 163.84 163.84 0 0 1-105.386667-32.853333 11.52 11.52 0 0 1 16.213333-16.213333A139.52 139.52 0 0 0 512 682.666667a139.946667 139.946667 0 0 0 89.173333-26.026667 11.946667 11.946667 0 1 1 16.64 17.066667v-1.706667z m-7.68-72.96a42.666667 42.666667 0 1 1 42.666667-42.666667 42.666667 42.666667 0 0 1-43.093333 44.373334l0.426666-1.706667z" p-id="25741" fill="#ff4500"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/runoob_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/runoob_com.png
deleted file mode 100644
index 1198639756..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/runoob_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/samsung_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/samsung_com.png
deleted file mode 100644
index 34fb8ceb0b..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/samsung_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/so_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/so_com.png
deleted file mode 100644
index 801173619a..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/so_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/souhu.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/souhu.svg
deleted file mode 100644
index c9c734cfce..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/souhu.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648126870710" class="icon" viewBox="0 0 1035 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="37755" xmlns:xlink="http://www.w3.org/1999/xlink" width="20.21484375" height="20"><defs><style type="text/css"></style></defs><path d="M456.96 645.12s2.56 0 0 0c0-2.56-2.56 0-2.56 0h2.56z" fill="#FDFDFD" p-id="37756"></path><path d="M8.96 931.84c-10.24-15.36-5.12-30.72-5.12-46.08v-808.96c0-66.56 7.68-74.24 74.24-74.24h890.88c64 0 66.56 2.56 66.56 64 0 227.84-2.56 455.68-2.56 683.52" fill="#FDFDFD" p-id="37757"></path><path d="M884.48 808.96zM372.48 463.36c12.8 12.8 25.6 25.6 38.4 35.84 23.04 15.36 51.2 23.04 76.8 23.04 43.52 2.56 87.04 0 128-12.8 12.8-5.12 28.16-10.24 35.84-20.48 10.24-10.24 15.36-25.6 7.68-38.4" fill="#FDD000" p-id="37758"></path><path d="M746.24 573.44c-92.16 43.52-184.32 33.28-291.84 38.4 0 0 2.56 33.28 2.56 35.84 23.04 10.24 38.4 17.92 51.2 23.04 2.56 0 2.56 0 5.12 2.56 17.92 10.24 33.28 17.92 51.2 25.6 48.64 15.36 43.52 12.8 61.44 23.04 66.56 35.84 135.68 69.12 212.48 76.8h94.72c33.28-15.36 64-33.28 97.28-48.64 0-227.84 2.56-455.68 2.56-683.52 0-61.44-2.56-64-66.56-64h-919.04c-12.8 0-28.16 0-35.84 10.24-5.12 7.68-7.68 17.92-7.68 28.16-5.12 294.4-5.12 591.36 0 885.76 38.4-81.92 61.44-148.48 120.32-199.68 58.88-51.2 166.4-76.8 245.76-81.92-12.8-23.04-48.64-56.32-71.68-71.68" fill="#FDD000" p-id="37759"></path><path d="M884.48 806.4c0 2.56 0 2.56 0 0 2.56 0-2.56-5.12 0 0z" fill="#FDD000" p-id="37760"></path><path d="M428.8 739.84c25.6 33.28 58.88 40.96 81.92 76.8-40.96 12.8-74.24 33.28-112.64 46.08 30.72 35.84 56.32 69.12 84.48 99.84 43.52 15.36 87.04 35.84 130.56 46.08 38.4 10.24 79.36 15.36 120.32 12.8 43.52-2.56 79.36-17.92 117.76-33.28 15.36-5.12 28.16-10.24 43.52-17.92 48.64-25.6 92.16-69.12 117.76-117.76 10.24-20.48 15.36-40.96 15.36-66.56-2.56-2.56-5.12-43.52-2.56-43.52-33.28 15.36-69.12 40.96-104.96 48.64-10.24 2.56-20.48 2.56-30.72 2.56-48.64 0-92.16-2.56-138.24-17.92s-151.04-69.12-194.56-84.48" fill="#E70B00" p-id="37761"></path><path d="M485.12 181.76h2.56c48.64-17.92 104.96-28.16 151.04-5.12 17.92 7.68 30.72 23.04 48.64 30.72 25.6 12.8 56.32 12.8 84.48 10.24 25.6-2.56 51.2-7.68 66.56-28.16 15.36-20.48 12.8-51.2-2.56-74.24-15.36-20.48-38.4-35.84-64-43.52-51.2-20.48-107.52-23.04-161.28-25.6-84.48-2.56-168.96-2.56-248.32 25.6-43.52 15.36-87.04 40.96-115.2 76.8s-38.4 92.16-15.36 133.12c23.04 43.52 71.68 66.56 117.76 81.92 79.36 28.16 163.84 46.08 248.32 53.76 28.16 2.56 61.44 7.68 66.56 35.84 5.12 15.36-5.12 30.72-15.36 40.96-12.8 10.24-28.16 15.36-43.52 17.92-43.52 10.24-89.6 12.8-135.68 5.12-23.04-2.56-48.64-7.68-66.56-23.04-15.36-10.24-25.6-25.6-38.4-38.4-20.48-17.92-46.08-25.6-71.68-25.6-20.48 0-51.2 5.12-66.56 23.04-12.8 12.8-17.92 33.28-15.36 48.64 5.12 23.04 25.6 38.4 43.52 53.76 30.72 25.6 61.44 51.2 94.72 76.8-92.16 2.56-181.76 43.52-245.76 110.08-64 66.56-99.84 158.72-97.28 250.88 0 10.24 2.56 20.48 10.24 25.6 10.24 5.12 23.04-2.56 30.72-7.68 125.44-87.04 296.96-107.52 440.32-48.64-28.16-33.28-53.76-66.56-81.92-102.4 38.4-12.8 76.8-28.16 115.2-40.96l-79.36-79.36c43.52-12.8 81.92-33.28 122.88-46.08-33.28-23.04-71.68-43.52-110.08-58.88 92.16 2.56 189.44 2.56 276.48-25.6 40.96-12.8 81.92-35.84 102.4-74.24 25.6-48.64 10.24-112.64-25.6-153.6s-89.6-64-143.36-74.24-110.08-12.8-163.84-20.48c-30.72-5.12-66.56-17.92-69.12-48.64-5.12-23.04 25.6-43.52 53.76-56.32z" fill="#605E5E" p-id="37762"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/sspai_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/sspai_com.png
deleted file mode 100644
index b86a05c38d..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/sspai_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/t_bilibili_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/t_bilibili_com.png
deleted file mode 100644
index 6e87f4e3b7..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/t_bilibili_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/taobao_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/taobao_com.png
deleted file mode 100644
index 3fcf75afad..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/taobao_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/tianya_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/tianya_cn.png
deleted file mode 100644
index 6847b5ea33..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/tianya_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/tieba_baidu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/tieba_baidu_com.png
deleted file mode 100644
index c46288e7fa..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/tieba_baidu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/topbook_cc.png b/app/appearance/themes/notion-theme/icon4Tsundoku/topbook_cc.png
deleted file mode 100644
index 6b5837bd02..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/topbook_cc.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/toutiao_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/toutiao_com.png
deleted file mode 100644
index 3e7f525688..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/toutiao_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/translate_google_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/translate_google_cn.png
deleted file mode 100644
index ebb800b1bc..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/translate_google_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/uisdc_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/uisdc_com.png
deleted file mode 100644
index d746ca0f52..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/uisdc_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/v_qq_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/v_qq_com.png
deleted file mode 100644
index f9db389125..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/v_qq_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/vivo_com_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/vivo_com_cn.png
deleted file mode 100644
index 85f65a03c0..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/vivo_com_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/wandou.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/wandou.svg
deleted file mode 100644
index 70239fd5d3..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/wandou.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648127000678" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="38032" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M0 1006.08c0 15.36 2.56 17.92 17.92 17.92h988.16c15.36 0 17.92-2.56 17.92-17.92V0H0v1006.08z m568.32-107.52c-64 38.4-145.92 17.92-184.32-46.08-7.68-10.24-10.24-12.8-20.48-2.56-46.08 46.08-112.64 43.52-158.72-2.56-40.96-43.52-38.4-115.2 7.68-156.16 46.08-40.96 115.2-35.84 156.16 12.8 2.56 2.56 5.12 7.68 7.68 10.24 15.36-23.04 33.28-40.96 56.32-53.76 69.12-33.28 145.92-7.68 181.76 58.88 38.4 64 15.36 145.92-46.08 179.2z m-225.28-637.44c0 15.36 2.56 20.48 20.48 17.92 25.6-2.56 48.64 5.12 66.56 23.04 30.72 23.04 38.4 56.32 33.28 92.16-2.56 10.24-2.56 12.8 7.68 10.24 69.12-7.68 117.76 40.96 110.08 112.64 0 10.24 0 10.24 7.68 7.68 74.24-15.36 130.56 48.64 115.2 112.64-2.56 10.24 5.12 7.68 10.24 7.68 40.96-2.56 71.68 25.6 74.24 64v10.24c-15.36-12.8-30.72-23.04-46.08-35.84-135.68-112.64-263.68-235.52-378.88-368.64-2.56-2.56-5.12-7.68-7.68-10.24l-2.56-2.56c-30.72-30.72-56.32-66.56-81.92-99.84 35.84-10.24 71.68 20.48 71.68 58.88zM156.16 104.96c202.24 281.6 442.88 522.24 724.48 724.48-71.68 12.8-140.8 15.36-209.92 5.12-12.8-2.56-12.8-5.12-10.24-17.92 15.36-71.68-15.36-140.8-79.36-176.64-61.44-35.84-138.24-28.16-192 20.48-7.68 7.68-12.8 7.68-20.48 0-15.36-12.8-35.84-20.48-56.32-23.04-7.68-2.56-15.36-5.12-20.48-12.8-84.48-99.84-133.12-212.48-145.92-340.48-5.12-56.32-2.56-115.2 10.24-179.2z" fill="#35AC14" p-id="38033"></path><path d="M583.68 798.72h-125.44c-10.24 0-12.8 2.56-10.24 12.8 5.12 33.28 35.84 61.44 71.68 61.44s66.56-25.6 74.24-61.44c0-10.24-2.56-12.8-10.24-12.8z" fill="#36AC15" p-id="38034"></path><path d="M322.56 791.04c-33.28-5.12-69.12-12.8-102.4-17.92-7.68-2.56-7.68 2.56-10.24 7.68-2.56 33.28 28.16 61.44 61.44 61.44 25.6 0 48.64-15.36 56.32-38.4 5.12-7.68 5.12-12.8-5.12-12.8z" fill="#35AC14" p-id="38035"></path><path d="M473.6 760.32c12.8 0 23.04-10.24 23.04-20.48 0-12.8-10.24-20.48-20.48-20.48-12.8 0-23.04 10.24-23.04 20.48s7.68 20.48 20.48 20.48z" fill="#39AB19" p-id="38036"></path><path d="M573.44 721.92c-10.24 0-20.48 7.68-20.48 20.48s7.68 23.04 20.48 20.48c12.8 0 20.48-7.68 20.48-20.48 2.56-7.68-7.68-17.92-20.48-20.48z" fill="#3AAB1B" p-id="38037"></path><path d="M317.44 727.04c-10.24 0-17.92 5.12-17.92 17.92 0 12.8 7.68 17.92 17.92 17.92 10.24 0 17.92-7.68 17.92-17.92 0-10.24-5.12-15.36-17.92-17.92z" fill="#3BAA1C" p-id="38038"></path><path d="M235.52 747.52c10.24 0 12.8-5.12 15.36-15.36 0-10.24-5.12-15.36-15.36-15.36-10.24 0-15.36 5.12-15.36 15.36 0 7.68 5.12 15.36 15.36 15.36z" fill="#39A81B" p-id="38039"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/weibo_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/weibo_com.png
deleted file mode 100644
index 4ce210be1e..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/weibo_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/weixin_sogou_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/weixin_sogou_com.png
deleted file mode 100644
index 5e8dece732..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/weixin_sogou_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/weread_qq_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/weread_qq_com.png
deleted file mode 100644
index 7343cc7d35..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/weread_qq_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/wiz_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/wiz_cn.png
deleted file mode 100644
index 1e8fd3e449..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/wiz_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/wolai_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/wolai_com.png
deleted file mode 100644
index 4b79ce925a..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/wolai_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/y_qq_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/y_qq_com.png
deleted file mode 100644
index f01000ae3d..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/y_qq_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/yandex_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/yandex_com.png
deleted file mode 100644
index b5da06aa43..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/yandex_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/yinxiang_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/yinxiang_com.png
deleted file mode 100644
index f6f2fd3361..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/yinxiang_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/youku_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/youku_com.png
deleted file mode 100644
index cef220ea7e..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/youku_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/youtube.svg b/app/appearance/themes/notion-theme/icon4Tsundoku/youtube.svg
deleted file mode 100644
index c512dbbed6..0000000000
--- a/app/appearance/themes/notion-theme/icon4Tsundoku/youtube.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1648128143605" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="52103" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M1013.76 307.264s-9.984-70.570667-40.704-101.632c-38.933333-40.789333-82.56-41.002667-102.592-43.392C727.168 151.893333 512.213333 151.893333 512.213333 151.893333h-0.426666s-214.954667 0-358.250667 10.346667c-20.010667 2.389333-63.658667 2.602667-102.613333 43.392C20.245333 236.693333 10.24 307.264 10.24 307.264S0 390.122667 0 473.002667v77.674666c0 82.858667 10.24 165.738667 10.24 165.738667s9.984 70.570667 40.704 101.632c38.933333 40.789333 90.112 39.509333 112.896 43.776 81.92 7.850667 348.16 10.282667 348.16 10.282667s215.168-0.32 358.464-10.666667c20.010667-2.410667 63.658667-2.602667 102.613333-43.392 30.698667-31.061333 40.704-101.632 40.704-101.632S1024 633.536 1024 550.677333v-77.674666c0-82.88-10.24-165.738667-10.24-165.738667z" fill="#DC2217" p-id="52104"></path><path d="M406.293333 644.821333l-0.064-287.722666 276.693334 144.362666-276.629334 143.36z" fill="#FFFFFF" p-id="52105"></path></svg>
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/yuque_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/yuque_com.png
deleted file mode 100644
index 1476e8159d..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/yuque_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/zcool_com_cn.png b/app/appearance/themes/notion-theme/icon4Tsundoku/zcool_com_cn.png
deleted file mode 100644
index e366a69b18..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/zcool_com_cn.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/zhihu_com.png b/app/appearance/themes/notion-theme/icon4Tsundoku/zhihu_com.png
deleted file mode 100644
index c5ad48400b..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/zhihu_com.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/icon4Tsundoku/zotero.png b/app/appearance/themes/notion-theme/icon4Tsundoku/zotero.png
deleted file mode 100644
index 9ab7b11323..0000000000
Binary files a/app/appearance/themes/notion-theme/icon4Tsundoku/zotero.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/img/leftcolumn.svg b/app/appearance/themes/notion-theme/img/leftcolumn.svg
deleted file mode 100644
index e19129393e..0000000000
--- a/app/appearance/themes/notion-theme/img/leftcolumn.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#37352F;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="14.8" width="16" x="6" y="6.6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M12.9,21.1c0.2,0.2,0.4,0.3,0.7,0.3c0.5,0,1-0.4,1-1c0-0.3-0.1-0.5-0.3-0.7L8.3,14l5.9-5.7
- c0.2-0.2,0.3-0.4,0.3-0.7c0-0.5-0.4-1-1-1c-0.3,0-0.5,0.1-0.7,0.3l-6.5,6.4C6.1,13.5,6,13.7,6,14c0,0.3,0.1,0.5,0.3,0.8L12.9,21.1z
- M20.3,21.1c0.2,0.2,0.4,0.3,0.7,0.3c0.5,0,1-0.4,1-1c0-0.3-0.1-0.5-0.3-0.7L15.8,14l5.9-5.7C21.9,8.1,22,7.8,22,7.6
- c0-0.5-0.4-1-1-1c-0.3,0-0.5,0.1-0.7,0.3l-6.5,6.4c-0.2,0.2-0.3,0.5-0.3,0.8c0,0.3,0.1,0.5,0.3,0.8L20.3,21.1z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/leftcolumn2.svg b/app/appearance/themes/notion-theme/img/leftcolumn2.svg
deleted file mode 100644
index 44f5de65f2..0000000000
--- a/app/appearance/themes/notion-theme/img/leftcolumn2.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#EB8383;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="14.8" width="16" x="6" y="6.6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M12.9,21.1c0.2,0.2,0.4,0.3,0.7,0.3c0.5,0,1-0.4,1-1c0-0.3-0.1-0.5-0.3-0.7L8.3,14l5.9-5.7
- c0.2-0.2,0.3-0.4,0.3-0.7c0-0.5-0.4-1-1-1c-0.3,0-0.5,0.1-0.7,0.3l-6.5,6.4C6.1,13.5,6,13.7,6,14c0,0.3,0.1,0.5,0.3,0.8L12.9,21.1z
- M20.3,21.1c0.2,0.2,0.4,0.3,0.7,0.3c0.5,0,1-0.4,1-1c0-0.3-0.1-0.5-0.3-0.7L15.8,14l5.9-5.7C21.9,8.1,22,7.8,22,7.6
- c0-0.5-0.4-1-1-1c-0.3,0-0.5,0.1-0.7,0.3l-6.5,6.4c-0.2,0.2-0.3,0.5-0.3,0.8c0,0.3,0.1,0.5,0.3,0.8L20.3,21.1z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/moon.svg b/app/appearance/themes/notion-theme/img/moon.svg
deleted file mode 100644
index 34d3dbbeed..0000000000
--- a/app/appearance/themes/notion-theme/img/moon.svg
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#37352F;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="16" width="16" x="6" y="6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<path class="st0" d="M18.1,15.5c-0.1,0-0.1,0-0.2,0.1c-0.5,0.1-1,0.2-1.4,0.2c-2.4,0-3.9-1.5-3.9-3.9c0-0.5,0.1-1.2,0.3-1.5v-0.2
- c0-0.1-0.1-0.2-0.2-0.2c-0.1,0-0.2,0-0.3,0.1c-1.6,0.6-2.7,2.3-2.7,4.2c0,2.6,2,4.4,4.6,4.4c1.9,0,3.5-1.1,4.1-2.6
- c0.1-0.1,0.1-0.2,0.1-0.2C18.3,15.6,18.2,15.5,18.1,15.5z M14,6c-4.4,0-8,3.6-8,8c0,4.3,3.7,8,8,8c4.4,0,8-3.7,8-8
- C22,9.6,18.3,6,14,6z M14,20.2c-3.5,0-6.3-2.8-6.3-6.2s2.8-6.2,6.3-6.2c3.4,0,6.2,2.8,6.2,6.2S17.4,20.2,14,20.2z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/moon2.svg b/app/appearance/themes/notion-theme/img/moon2.svg
deleted file mode 100644
index 95df7a191e..0000000000
--- a/app/appearance/themes/notion-theme/img/moon2.svg
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#EB8383;}
- .st1{fill:none;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="16383" width="16383.8" x="-8177" y="-8178"></sliceSourceBounds>
- </sfw>
-</metadata>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<desc>Created with Sketch.</desc>
-<path class="st0" d="M18.1,15.5c-0.1,0-0.1,0-0.2,0.1c-0.5,0.1-1,0.2-1.4,0.2c-2.4,0-3.9-1.5-3.9-3.9c0-0.5,0.1-1.2,0.3-1.5v-0.2
- c0-0.1-0.1-0.2-0.2-0.2c-0.1,0-0.2,0-0.3,0.1c-1.6,0.6-2.7,2.3-2.7,4.2c0,2.6,2,4.4,4.6,4.4c1.9,0,3.5-1.1,4.1-2.6
- c0.1-0.1,0.1-0.2,0.1-0.2C18.3,15.6,18.2,15.5,18.1,15.5z M14,6c-4.4,0-8,3.6-8,8c0,4.3,3.7,8,8,8c4.4,0,8-3.7,8-8
- C22,9.6,18.3,6,14,6z M14,20.2c-3.5,0-6.3-2.8-6.3-6.2s2.8-6.2,6.3-6.2c3.4,0,6.2,2.8,6.2,6.2S17.4,20.2,14,20.2z"/>
-<line class="st1" x1="-8176.2" y1="6" x2="8206.8" y2="6"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/rightcolumn.svg b/app/appearance/themes/notion-theme/img/rightcolumn.svg
deleted file mode 100644
index d46644f95b..0000000000
--- a/app/appearance/themes/notion-theme/img/rightcolumn.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#37352F;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="14.8" width="16" x="6" y="6.6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M21.7,14.8c0.2-0.2,0.3-0.5,0.3-0.8c0-0.3-0.1-0.5-0.3-0.8l-6.5-6.4c-0.2-0.2-0.4-0.3-0.7-0.3c-0.5,0-1,0.4-1,1
- c0,0.3,0.1,0.5,0.3,0.7l5.9,5.7l-5.9,5.8c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.5,0.4,1,1,1c0.3,0,0.5-0.1,0.7-0.3L21.7,14.8z M14.2,14.8
- c0.2-0.2,0.3-0.5,0.3-0.8c0-0.3-0.1-0.5-0.3-0.8L7.7,6.9C7.5,6.7,7.2,6.6,7,6.6c-0.5,0-1,0.4-1,1c0,0.3,0.1,0.5,0.3,0.7l5.9,5.7
- l-5.9,5.8C6.1,19.9,6,20.2,6,20.4c0,0.5,0.4,1,1,1c0.3,0,0.5-0.1,0.7-0.3L14.2,14.8z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/rightcolumn2.svg b/app/appearance/themes/notion-theme/img/rightcolumn2.svg
deleted file mode 100644
index 19e37f2584..0000000000
--- a/app/appearance/themes/notion-theme/img/rightcolumn2.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#EB8383;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="14.8" width="16" x="6" y="6.6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M21.7,14.8c0.2-0.2,0.3-0.5,0.3-0.8c0-0.3-0.1-0.5-0.3-0.8l-6.5-6.4c-0.2-0.2-0.4-0.3-0.7-0.3c-0.5,0-1,0.4-1,1
- c0,0.3,0.1,0.5,0.3,0.7l5.9,5.7l-5.9,5.8c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.5,0.4,1,1,1c0.3,0,0.5-0.1,0.7-0.3L21.7,14.8z M14.2,14.8
- c0.2-0.2,0.3-0.5,0.3-0.8c0-0.3-0.1-0.5-0.3-0.8L7.7,6.9C7.5,6.7,7.2,6.6,7,6.6c-0.5,0-1,0.4-1,1c0,0.3,0.1,0.5,0.3,0.7l5.9,5.7
- l-5.9,5.8C6.1,19.9,6,20.2,6,20.4c0,0.5,0.4,1,1,1c0.3,0,0.5-0.1,0.7-0.3L14.2,14.8z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/salt.svg b/app/appearance/themes/notion-theme/img/salt.svg
deleted file mode 100644
index b7df749458..0000000000
--- a/app/appearance/themes/notion-theme/img/salt.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#37352F;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="16" width="16" x="6" y="6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M14,6c-4.4,0-8,3.6-8,8c0,4.3,3.7,8,8,8c4.4,0,8-3.7,8-8C22,9.6,18.3,6,14,6z M14,20.2c-3.5,0-6.3-2.8-6.3-6.2
- s2.8-6.2,6.3-6.2c3.4,0,6.2,2.8,6.2,6.2S17.4,20.2,14,20.2z M14.1,13.9c-2.2-1.3-4.7-2.6-4.7,0c0,2.6,2.1,4.7,4.7,4.7
- s4.7-2.1,4.7-4.7C18.8,11.3,16.3,15.1,14.1,13.9z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/salt2.svg b/app/appearance/themes/notion-theme/img/salt2.svg
deleted file mode 100644
index ffdd4d7600..0000000000
--- a/app/appearance/themes/notion-theme/img/salt2.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#EB8383;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="16" width="16" x="6" y="6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M14,6c-4.4,0-8,3.6-8,8c0,4.3,3.7,8,8,8c4.4,0,8-3.7,8-8C22,9.6,18.3,6,14,6z M14,20.2c-3.5,0-6.3-2.8-6.3-6.2
- s2.8-6.2,6.3-6.2c3.4,0,6.2,2.8,6.2,6.2S17.4,20.2,14,20.2z M14.1,13.9c-2.2-1.3-4.7-2.6-4.7,0c0,2.6,2.1,4.7,4.7,4.7
- s4.7-2.1,4.7-4.7C18.8,11.3,16.3,15.1,14.1,13.9z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/square.svg b/app/appearance/themes/notion-theme/img/square.svg
deleted file mode 100644
index 7506b97b8b..0000000000
--- a/app/appearance/themes/notion-theme/img/square.svg
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 36 36"
- style="enable-background:new 0 0 36 36;" xml:space="preserve">
-<style type="text/css">
- .st0{opacity:5.000000e-02;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="36" width="36" x="0" y="0"></sliceSourceBounds>
- </sfw>
-</metadata>
-<desc>Created with Sketch.</desc>
-<path class="st0" d="M32,36H4c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h28c2.2,0,4,1.8,4,4v28C36,34.2,34.2,36,32,36z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/topbar.svg b/app/appearance/themes/notion-theme/img/topbar.svg
deleted file mode 100644
index 7a7f17b296..0000000000
--- a/app/appearance/themes/notion-theme/img/topbar.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#37352F;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="16" width="16" x="6" y="6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M20,6h-2.3c-0.1,0-0.2,0-0.3,0h-4.5c-0.1,0-0.2,0-0.3,0H8C6.9,6,6,6.9,6,8v12c0,1.1,0.9,2,2,2h12
- c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M13.2,7.6h2.9l-1.3,2h-2.9L13.2,7.6z M7.6,8c0-0.2,0.2-0.4,0.4-0.4h3.3l-1.3,2H7.6V8z
- M20.4,20c0,0.2-0.2,0.4-0.4,0.4H8c-0.2,0-0.4-0.2-0.4-0.4v-8.8h12.8C20.4,11.2,20.4,20,20.4,20z M20.4,9.6h-3.7l1.3-2h2
- c0.2,0,0.4,0.2,0.4,0.4V9.6z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/img/topbar2.svg b/app/appearance/themes/notion-theme/img/topbar2.svg
deleted file mode 100644
index ac43fff476..0000000000
--- a/app/appearance/themes/notion-theme/img/topbar2.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28"
- style="enable-background:new 0 0 28 28;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#EB8383;}
-</style>
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="16" width="16" x="6" y="6"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path class="st0" d="M20,6h-2.3c-0.1,0-0.2,0-0.3,0h-4.5c-0.1,0-0.2,0-0.3,0H8C6.9,6,6,6.9,6,8v12c0,1.1,0.9,2,2,2h12
- c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M13.2,7.6h2.9l-1.3,2h-2.9L13.2,7.6z M7.6,8c0-0.2,0.2-0.4,0.4-0.4h3.3l-1.3,2H7.6V8z
- M20.4,20c0,0.2-0.2,0.4-0.4,0.4H8c-0.2,0-0.4-0.2-0.4-0.4v-8.8h12.8C20.4,11.2,20.4,20,20.4,20z M20.4,9.6h-3.7l1.3-2h2
- c0.2,0,0.4,0.2,0.4,0.4V9.6z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/preview.png b/app/appearance/themes/notion-theme/preview.png
deleted file mode 100644
index 42e9c09a41..0000000000
Binary files a/app/appearance/themes/notion-theme/preview.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/bq-callout.css b/app/appearance/themes/notion-theme/style/bq-callout.css
deleted file mode 100644
index 65da1c3687..0000000000
--- a/app/appearance/themes/notion-theme/style/bq-callout.css
+++ /dev/null
@@ -1,273 +0,0 @@
-/* 引述 */
-.protyle-wysiwyg .bq{
- color: var( --b3-theme-on-background);
- border-left: 0.25em solid var(--b3-theme-on-background);
- border-radius:0 3px 3px 0;
- background-color: var(--b3-bq-background);
-}
-.protyle-wysiwyg .bq .p{
- padding-left:10px;
-}
-/*引述callout第一行样式 */
-.bq[custom-b~=error] .p:first-child,
-.bq[custom-b~=error][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=warn] .p:first-child,
-.bq[custom-b~=warn][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=bug] .p:first-child,
-.bq[custom-b~=bug][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=check] .p:first-child,
-.bq[custom-b~=check][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=light] .p:first-child,
-.bq[custom-b~=light][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=question] .p:first-child,
-.bq[custom-b~=question][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=wrong] .p:first-child,
-.bq[custom-b~=wrong][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=info] .p:first-child,
-.bq[custom-b~=info][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=pen] .p:first-child,
-.bq[custom-b~=pen][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=note] .p:first-child,
-.bq[custom-b~=note][data-type="NodeHeading"]:first-child,
-.bq[custom-b~=bell] .p:first-child,
-.bq[custom-b~=bell][data-type="NodeHeading"]:first-child {
- font-weight: 700 !important;
- font-size: 1.3em !important;
- padding: 2px 8px 2px 40px;
-}
-
-/* 引述callout段落的内边距 */
-.bq[custom-b~=error] .p,
-.bq[custom-b~=error] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=warn] .p,
-.bq[custom-b~=warn] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=bug] .p,
-.bq[custom-b~=bug] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=check] .p,
-.bq[custom-b~=check] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=light] .p,
-.bq[custom-b~=light] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=question] .p,
-.bq[custom-b~=question] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=wrong] .p,
-.bq[custom-b~=wrong] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=info] .p,
-.bq[custom-b~=info] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=pen] .p,
-.bq[custom-b~=pen] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=note] .p,
-.bq[custom-b~=note] [data-node-id][data-type="NodeHeading"],
-.bq[custom-b~=bell] .p,
-.bq[custom-b~=bell] [data-node-id][data-type="NodeHeading"] {
- padding-left:40px;
-}
-
-/*错误*/
-.protyle-wysiwyg [data-node-id][custom-b~=error].bq{
- border:none;
- background-color: var(--b3-bq-background13);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background13) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=error]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/prohibited.png);
- background-size: 100% 100%;
-}
-/*警告*/
-.protyle-wysiwyg [data-node-id][custom-b~=warn].bq{
- border:none;
- background-color: var(--b3-bq-background7);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background7) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=warn]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/warning.png);
- background-size: 100% 100%;
-}
-/*bug*/
-.protyle-wysiwyg [data-node-id][custom-b~=bug].bq{
- border:none;
- background-color: var(--b3-bq-background11);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background11) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=bug]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/bug.png);
- background-size: 100% 100%;
-}
-/*正确*/
-.protyle-wysiwyg [data-node-id][custom-b~=check].bq{
- border:none;
- background-color: var(--b3-bq-background8);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background8) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=check]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/check.png);
- background-size: 100% 100%;
-}
-/*灵感*/
-.protyle-wysiwyg [data-node-id][custom-b~=light].bq{
- border:none;
- background-color: var(--b3-bq-background6);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background6) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=light]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/light-bulb.png);
- background-size: 100% 100%;
-}
-/*问题*/
-.protyle-wysiwyg [data-node-id][custom-b~=question].bq{
- border:none;
- background-color: var(--b3-bq-background12);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background12) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=question]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/question.png);
- background-size: 100% 100%;
-}
-/*错误*/
-.protyle-wysiwyg [data-node-id][custom-b~=wrong].bq{
- border:none;
- background-color: var(--b3-bq-background13);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background13) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=wrong]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/cross.png);
- background-size: 100% 100%;
-}
-/*信息*/
-.protyle-wysiwyg [data-node-id][custom-b~=info].bq{
- border:none;
- background-color: var(--b3-bq-background10);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background10) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=info]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/info.png);
- background-size: 100% 100%;
-}
-/*记录*/
-.protyle-wysiwyg [data-node-id][custom-b~=pen].bq{
- border:none;
- background-color: var(--b3-bq-background3);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background3) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=pen]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/pen.png);
- background-size: 100% 100%;
-}
-/*汇总*/
-.protyle-wysiwyg [data-node-id][custom-b~=note].bq{
- border:none;
- background-color: var(--b3-bq-background1);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background1) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=note]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/notebook.png);
- background-size: 100% 100%;
-}
-/*提醒*/
-.protyle-wysiwyg [data-node-id][custom-b~=bell].bq{
- border:none;
- background-color: var(--b3-bq-background5);
- border-radius:5px;
- box-shadow:0 0 0 2px var(--b3-font-background5) inset;
- left:0.25em;
-}
-
-.bq[custom-b~=bell]::after {
- content: "";
- position: absolute;
- top: 1.1em;
- margin-left:10px;
- width: 1.5em;
- height: 1.5em;
- background-image: url(callout/bell.png);
- background-size: 100% 100%;
-}
diff --git a/app/appearance/themes/notion-theme/style/callout/bell.png b/app/appearance/themes/notion-theme/style/callout/bell.png
deleted file mode 100644
index 2cd5569efd..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/bell.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/bug.png b/app/appearance/themes/notion-theme/style/callout/bug.png
deleted file mode 100644
index 58773917f8..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/bug.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/check.png b/app/appearance/themes/notion-theme/style/callout/check.png
deleted file mode 100644
index 64e2c87709..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/check.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/cross.png b/app/appearance/themes/notion-theme/style/callout/cross.png
deleted file mode 100644
index b1bb15c901..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/cross.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/info.png b/app/appearance/themes/notion-theme/style/callout/info.png
deleted file mode 100644
index 4e4626229f..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/info.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/light-bulb.png b/app/appearance/themes/notion-theme/style/callout/light-bulb.png
deleted file mode 100644
index 0e06fd51c1..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/light-bulb.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/notebook.png b/app/appearance/themes/notion-theme/style/callout/notebook.png
deleted file mode 100644
index a87853214e..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/notebook.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/pen.png b/app/appearance/themes/notion-theme/style/callout/pen.png
deleted file mode 100644
index df76c782c2..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/pen.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/prohibited.png b/app/appearance/themes/notion-theme/style/callout/prohibited.png
deleted file mode 100644
index c069f3b899..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/prohibited.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/question.png b/app/appearance/themes/notion-theme/style/callout/question.png
deleted file mode 100644
index e605c63729..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/question.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/callout/warning.png b/app/appearance/themes/notion-theme/style/callout/warning.png
deleted file mode 100644
index d957fd71ac..0000000000
Binary files a/app/appearance/themes/notion-theme/style/callout/warning.png and /dev/null differ
diff --git a/app/appearance/themes/notion-theme/style/ctrlp.css b/app/appearance/themes/notion-theme/style/ctrlp.css
deleted file mode 100644
index 0be53252bc..0000000000
--- a/app/appearance/themes/notion-theme/style/ctrlp.css
+++ /dev/null
@@ -1,97 +0,0 @@
-/*---------ctrl+p窗口改造-------------*/
-/*放大ctrl+p窗口尺寸*/
-/*不添加[data-key]属性选择器将会同时影响alt+p窗口*/
-body > div[data-key] > .b3-dialog > .b3-dialog__container {
- width: 90vw !important;
-}
-
-body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column {
- height: 80vh !important;
- width: 90vw !important;
-}
-
-/*ctrl+p改造成左右排列*/
-/*先把容器改成左右排列并自动换行*/
-body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column {
- flex-direction: row !important;
- flex-wrap: wrap;
-}
-
-
-/*设置需要占满一行的项目*/
-body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column .search__header,
-body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column>.b3-form__space--small {
- width: 100vw;
-}
-
-/*窗口宽度大于一定尺寸时候,左右排列*/
-@media screen and (min-width: 960px) {
- /*搜索结果列表占一半宽度,靠左排列*/
- body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column #searchList {
- float: left;
- width: 35vw;
- height: calc(100% - 145px) !important;
- }
- /*结果预览自动占满剩余宽度,高度和结果列表等高*/
- div[data-key] .b3-dialog__container .fn__flex-column #searchPreview {
- /*width:45vw;*/
- height: calc(100% - 146px) !important;
- }
-}
-@media screen and (min-width: 960px) {
- /*搜索结果列表占一半宽度,靠左排列*/
- body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column .fn__none~#searchList {
- float: left;
- width: 35vw;
- height: calc(100% - 95px) !important;
- }
- /*结果预览自动占满剩余宽度,高度和结果列表等高*/
- body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column .fn__none~#searchPreview {
- /*width:45vw;*/
- height: calc(100% - 96px) !important;
- }
-}
-
-/*窗口宽度小于一定尺寸时候,上下排列*/
-@media screen and (max-width: 960px) {
- body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column #searchList {
- float: left;
- /*width:45vw;*/
- width: calc(100%);
- height: calc(50% - 85px) !important;
- }
- body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn__flex > .fn__flex-column {
- flex-direction: column !important;
- flex-wrap: nowrap;
- }
-}
-
-/*结果预览自动占满剩余宽度*/
-body > div[data-key] > .b3-dialog > .b3-dialog__container > div > .fn_flex > .fn__flex-column #searchPreview {
- width: 55vw;
-}
-
-/* 修复搜索文章不能完整显示的问题 */
-.spread-search__preview .protyle-content {
- padding-bottom: 56px;
-}
-
-div[data-key='⌘R'] #searchPreview .protyle-content {
- padding-bottom: 90px;
-}
-.fn__flex-column #searchList .b3-list-item[data-type='search-item']{
- padding-bottom:20px;
- border-radius: 0px;
- box-shadow: 0 1px 0 0 var(--b3-toolbarSidebar) inset;
-}
-.fn__flex-column #searchList .b3-list-item[data-type='search-item']>.b3-list-item__meta{
- color:var(--b3-list-item--meta);
- top:22px;
- right:8px;
- max-width:34vw;
- position:absolute;
- white-space:nowrap;
- overflow:hidden !important;
- text-overflow: ellipsis;
-}
-
diff --git a/app/appearance/themes/notion-theme/style/h-reminder.css b/app/appearance/themes/notion-theme/style/h-reminder.css
deleted file mode 100644
index d289d9a0b9..0000000000
--- a/app/appearance/themes/notion-theme/style/h-reminder.css
+++ /dev/null
@@ -1,88 +0,0 @@
-.protyle-wysiwyg .h1>[spellcheck="false"]:not(:empty)::after{
- content:"";
- position:absolute;
- float:left;
- margin-left:5px;
- height:0.45em;
- width:0.15em;
- bottom:0.5em;
- border-radius:3px;
- background-color:var(--h1-list-graphic);
- opacity:0.5;
-}
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h1>[spellcheck="false"]::after{
- bottom:0.2em;
-}
-
-.protyle-wysiwyg .h2>[spellcheck="false"]:not(:empty)::after{
- content:"";
- position:absolute;
- float:left;
- margin-left:5px;
- height:0.16em;
- width:0.16em;
- bottom:0.76em;
- border-radius:3px;
- background-color:var(--h2-list-graphic);
- opacity:0.5;
- box-shadow: 0.25em 0.25em 0 0 var(--h2-list-graphic);
-}
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h2>[spellcheck="false"]::after{
- bottom:0.5em;
-}
-
-.protyle-wysiwyg .h3>[spellcheck="false"]:not(:empty)::after{
- content:"";
- position:absolute;
- float:left;
- margin-left:5px;
- height:0.16em;
- width:0.16em;
- bottom:0.62em;
- border-radius:3px;
- background-color:var(--h3-list-graphic);
- opacity:0.5;
- box-shadow: 0.25em 0.25em 0 0 var(--h3-list-graphic),0 0.25em 0 0 var(--h3-list-graphic);
-}
-
-.protyle-wysiwyg .h4>[spellcheck="false"]:not(:empty)::after{
- content:"";
- position:absolute;
- float:left;
- margin-left:5px;
- height:0.15em;
- width:0.15em;
- bottom:0.68em;
- border-radius:3px;
- background-color:var(--h4-list-graphic);
- opacity:0.5;
- box-shadow: 0.25em 0.25em 0 0 var(--h4-list-graphic),0 0.25em 0 0 var(--h4-list-graphic),0.25em 0 0 0 var(--h4-list-graphic);
-}
-
-.protyle-wysiwyg .h5>[spellcheck="false"]:not(:empty)::after{
- content:"";
- position:absolute;
- float:left;
- margin-left:5px;
- height:0.15em;
- width:0.15em;
- bottom:0.8em;
- border-radius:3px;
- background-color:var(--h5-list-graphic);
- opacity:0.5;
- box-shadow: 0.25em 0.25em 0 0 var(--h5-list-graphic),0 0.25em 0 0 var(--h5-list-graphic),0.25em 0 0 0 var(--h5-list-graphic),0 -0.25em 0 0 var(--h5-list-graphic);
-}
-
-.protyle-wysiwyg .h6>[spellcheck="false"]:not(:empty)::after{
- content:"";
- position:absolute;
- float:left;
- margin-left:5px;
- height:0.15em;
- width:0.15em;
- bottom:1em;
- border-radius:3px;
- background-color:var(--h6-list-graphic);
- opacity:0.5;
- box-shadow: 0.25em 0.25em 0 0 var(--h6-list-graphic),0 0.25em 0 0 var(--h6-list-graphic),0.25em 0 0 0 var(--h6-list-graphic),0 -0.25em 0 0 var(--h6-list-graphic),0.25em -0.25em 0 0 var(--h6-list-graphic);
-}
diff --git a/app/appearance/themes/notion-theme/style/img/circle.svg b/app/appearance/themes/notion-theme/style/img/circle.svg
deleted file mode 100644
index 4ed28836bf..0000000000
--- a/app/appearance/themes/notion-theme/style/img/circle.svg
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 68 28"
- style="enable-background:new 0 0 68 28;" xml:space="preserve">
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="12" width="12" x="28" y="8"></sliceSourceBounds>
- </sfw>
-</metadata>
-<path d="M34,8c-3.3,0-6,2.7-6,6s2.7,6,6,6s6-2.7,6-6S37.3,8,34,8z M34,17.3c-1.8,0-3.3-1.5-3.3-3.3s1.5-3.3,3.3-3.3s3.3,1.5,3.3,3.3
- S35.8,17.3,34,17.3z"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/style/img/dot.svg b/app/appearance/themes/notion-theme/style/img/dot.svg
deleted file mode 100644
index 532c2de16a..0000000000
--- a/app/appearance/themes/notion-theme/style/img/dot.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 68 28"
- style="enable-background:new 0 0 68 28;" xml:space="preserve">
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="11" width="11" x="8.5" y="8.5"></sliceSourceBounds>
- </sfw>
-</metadata>
-<desc>Created with Sketch.</desc>
-<circle cx="34" cy="14" r="5.5"/>
-<circle cx="34" cy="14" r="5.5"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/style/img/square-u.svg b/app/appearance/themes/notion-theme/style/img/square-u.svg
deleted file mode 100644
index 9a239b9fbc..0000000000
--- a/app/appearance/themes/notion-theme/style/img/square-u.svg
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
- <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
- <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
- <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
- <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
- <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
- <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
- <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
-]>
-<svg version="1.1" id="图层_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 68 28"
- style="enable-background:new 0 0 68 28;" xml:space="preserve">
-<metadata>
- <sfw xmlns="&ns_sfw;">
- <slices></slices>
- <sliceSourceBounds bottomLeftOrigin="true" height="11" width="11" x="8.5" y="8.5"></sliceSourceBounds>
- </sfw>
-</metadata>
-<desc>Created with Sketch.</desc>
-<rect x="28.5" y="8.5" width="11" height="11"/>
-</svg>
diff --git a/app/appearance/themes/notion-theme/style/link-icon.css b/app/appearance/themes/notion-theme/style/link-icon.css
deleted file mode 100644
index 8cbb98c41f..0000000000
--- a/app/appearance/themes/notion-theme/style/link-icon.css
+++ /dev/null
@@ -1,651 +0,0 @@
-/* ———————————————————————————————————————————————————为链接前的icon图标设置格式———————————————————————————————————————————————— */
-.protyle-wysiwyg [data-node-id] span[data-type='a']:not(:empty)::before,
-.b3-typography a:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a:not(:empty)::before {
- display: inline-block;
- position: relative;
- background-repeat: no-repeat;
- background-size: 1em 1em;
- top: 0.1em !important;
- width: 1em;
- height: 1em;
- margin-right: 0.2em !important;
-}
-
-/* ————————————————————为常见的文件格式设置图标———————————————————— */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href^="file://"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href^="file://"]::before,
-.b3-typography a[href^="file://"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/folder.svg');
-}
-
-/* ————————————————————为没有收集icon图标的网站设置格式—————————————————— */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href ^="http"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href ^="http"]::before,
-.b3-typography a[href ^="http"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/link2.svg');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="weibo.com"]:not(:empty)::before,
-.b3-typography a[href *="weibo.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/weibo_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="zhihu.com"]:not(:empty)::before,
-.b3-typography a[href *="zhihu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/zhihu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="t.bilibili.com"]:not(:empty)::before,
-.b3-typography a[href *="t.bilibili.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/t_bilibili_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="bilibili.com"]:not(:empty)::before,
-.b3-typography a[href *="bilibili.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/bilibili_com.png');
-}
-
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="douban.com"]:not(:empty)::before,
-.b3-typography a[href *="douban.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/douban_com.png');
-}
-
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="oschina.net"]:not(:empty)::before,
-.b3-typography a[href *="oschina.net"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/oschina_net.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="ld246.com"]:not(:empty)::before,
-.b3-typography a[href *="ld246.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/ld246_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="music.163.com"]:not(:empty)::before,
-.b3-typography a[href *="music.163.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/music_163_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="runoob.com"]:not(:empty)::before,
-.b3-typography a[href *="runoob.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/runoob_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="iconfont.cn"]:not(:empty)::before,
-.b3-typography a[href *="iconfont.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/iconfont_cn.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="pan.baidu.com"]:not(:empty)::before,
-.b3-typography a[href *="pan.baidu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/pan_baidu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="yuque.com"]:not(:empty)::before,
-.b3-typography a[href *="yuque.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/yuque_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="52pojie.cn"]:not(:empty)::before,
-.b3-typography a[href *="52pojie.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/52pojie_cn.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="sspai.com"]:not(:empty)::before,
-.b3-typography a[href *="sspai.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/sspai_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="uisdc.com"]:not(:empty)::before,
-.b3-typography a[href *="uisdc.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/uisdc_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="cn.bing.com"]:not(:empty)::before,
-.b3-typography a[href *="cn.bing.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/cn_bing_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="jianshu.com"]:not(:empty)::before,
-.b3-typography a[href *="jianshu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/jianshu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="blog.csdn.net"]:not(:empty)::before,
-.b3-typography a[href *="blog.csdn.net"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/blog_csdn_net.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="zcool.com.cn"]:not(:empty)::before,
-.b3-typography a[href *="zcool.com.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/zcool_com_cn.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="ixigua.com"]:not(:empty)::before,
-.b3-typography a[href *="ixigua.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/ixigua_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="weixin.sogou.com"]:not(:empty)::before,
-.b3-typography a[href *="weixin.sogou.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/weixin_sogou_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="baidu.com"]:not(:empty)::before,
-.b3-typography a[href *="baidu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/baidu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="tieba.baidu.com"]:not(:empty)::before,
-.b3-typography a[href *="tieba.baidu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/tieba_baidu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="fanyi.baidu.com"]:not(:empty)::before,
-.b3-typography a[href *="fanyi.baidu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fanyi_baidu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="iplaysoft.com"]:not(:empty)::before,
-.b3-typography a[href *="iplaysoft.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/iplaysoft_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="huaban.com"]:not(:empty)::before,
-.b3-typography a[href *="huaban.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/huaban_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="v.qq.com"]:not(:empty)::before,
-.b3-typography a[href *="v.qq.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/v_qq_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="iqiyi.com"]:not(:empty)::before,
-.b3-typography a[href *="iqiyi.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/iqiyi_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="youku.com"]:not(:empty)::before,
-.b3-typography a[href *="youku.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/youku_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="haokan.baidu.com"]:not(:empty)::before,
-.b3-typography a[href *="haokan.baidu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/haokan_baidu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="y.qq.com"]:not(:empty)::before,
-.b3-typography a[href *="y.qq.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/y_qq_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="kugou.com"]:not(:empty)::before,
-.b3-typography a[href *="kugou.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/kugou_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="kuwo.cn"]:not(:empty)::before,
-.b3-typography a[href *="kuwo.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/kuwo_cn.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="toutiao.com"]:not(:empty)::before,
-.b3-typography a[href *="toutiao.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/toutiao_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="tianya.cn"]:not(:empty)::before,
-.b3-typography a[href *="tianya.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/tianya_cn.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="bbs.hupu.com"]:not(:empty)::before,
-.b3-typography a[href *="bbs.hupu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/bbs_hupu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="wiz.cn"]:not(:empty)::before,
-.b3-typography a[href *="wiz.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/wiz_cn.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="yinxiang.com"]:not(:empty)::before,
-.b3-typography a[href *="yinxiang.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/yinxiang_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="logseq.com"]:not(:empty)::before,
-.b3-typography a[href *="logseq.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/logseq_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="obsidian.md"]:not(:empty)::before,
-.b3-typography a[href *="obsidian.md"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/obsidian_md.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="taobao.com"]:not(:empty)::before,
-.b3-typography a[href *="taobao.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/taobao_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="so.com"]:not(:empty)::before,
-.b3-typography a[href *="so.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/so_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="mp.weixin.qq.com"]:not(:empty)::before,
-.b3-typography a[href *="mp.weixin.qq.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/mp_weixin_qq_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="yandex.com"]:not(:empty)::before,
-.b3-typography a[href *="yandex.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/yandex_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="wolai.com"]:not(:empty)::before,
-.b3-typography a[href *="wolai.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/wolai_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="auth.alipay.com"]:not(:empty)::before,
-.b3-typography a[href *="auth.alipay.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/auth_alipay_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="aliyundrive.com"]:not(:empty)::before,
-.b3-typography a[href *="aliyundrive.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/aliyundrive_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="baike.baidu.com"]:not(:empty)::before,
-.b3-typography a[href *="baike.baidu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/baike_baidu_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="apple.com.cn"]:not(:empty)::before,
-.b3-typography a[href *="apple.com.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/apple_com_cn.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="huawei.com"]:not(:empty)::before,
-.b3-typography a[href *="huawei.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/huawei_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="samsung.com"]:not(:empty)::before,
-.b3-typography a[href *="samsung.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/samsung_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="mi.com"]:not(:empty)::before,
-.b3-typography a[href *="mi.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/mi_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="oppo.com"]:not(:empty)::before,
-.b3-typography a[href *="oppo.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/oppo_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="vivo.com.cn"]:not(:empty)::before,
-.b3-typography a[href *="vivo.com.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/vivo_com_cn.png');
-}
-
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="topbook.cc"]:not(:empty)::before,
-.b3-typography a[href *="topbook.cc"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/topbook_cc.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="appinn.com"]:not(:empty)::before,
-.b3-typography a[href *="appinn.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/appinn_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="ghxi.com"]:not(:empty)::before,
-.b3-typography a[href *="ghxi.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/ghxi_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="weread.qq.com"]:not(:empty)::before,
-.b3-typography a[href *="weread.qq.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/weread_qq_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="news.qq.com"]:not(:empty)::before,
-.b3-typography a[href *="news.qq.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/news_qq_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="news.163.com"]:not(:empty)::before,
-.b3-typography a[href *="news.163.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/news_163_com.png');
-}
-
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="guancha.cn"]:not(:empty)::before,
-.b3-typography a[href *="guancha.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/guancha_cn.png');
-}
-
-/* pocket */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="getpocket.com"]:not(:empty)::before,
-.b3-typography a[href *="getpocket.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/getpocket_com.png');
-}
-
-/* instapaper */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="instapaper.com"]:not(:empty)::before,
-.b3-typography a[href *="instapaper.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/instapaper_com.png');
-}
-
-/* GitHub */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="github.com"]:not(:empty)::before,
-.b3-typography a[href *="github.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/github_com.png');
-}
-
-/* 谷歌翻译 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="translate.google.cn"]:not(:empty)::before,
-.b3-typography a[href *="translate.google.cn"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/translate_google_cn.png');
-}
-
-
-/* zotero */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="zotero"]:not(:empty)::before,
-.b3-typography a[href *="zotero"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/zotero.png');
-}
-
-/* 搜狐 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="sohu.com"]:not(:empty)::before,
-.b3-typography a[href *="sohu.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/souhu.svg');
-}
-
-/* 豌豆荚 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="wandoujia.com"]:not(:empty)::before,
-.b3-typography a[href *="wandoujia.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/wandou.svg');
-}
-
-/* Reddit */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="redditinc.com"]:not(:empty)::before,
-.b3-typography a[href *="redditinc.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/reddit.svg');
-}
-
-/* Instagram.com */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="Instagram.com"]:not(:empty)::before,
-.b3-typography a[href *="Instagram.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/ins.svg');
-}
-
-/* twitter.com */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="twitter.com"]:not(:empty)::before,
-.b3-typography a[href *="twitter.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/Twitter.svg');
-}
-
-/* facebook.com */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="facebook.com"]:not(:empty)::before,
-.b3-typography a[href *="facebook.com"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/Facebook.svg');
-}
-
-/* notion */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="notion"]:not(:empty)::before,
-.b3-typography a[href *="notion"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/notion.svg');
-}
-
-/* Youtube */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="youtube"]:not(:empty)::before,
-.b3-typography a[href *="youtube"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/youtube.svg');
-}
-
-/* ————————————————————为常见的文件格式设置图标———————————————————— */
-/* 文件夹 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href^="file://"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href^="file://"]::before,
-.b3-typography a[href^="file://"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/folder.svg');
-}
-
-/* 压缩包 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".zip"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".zip"]::before,
-.b3-typography a[href ^="assets/"][href $=".zip"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".rar"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".rar"]::before,
-.b3-typography a[href ^="assets/"][href $=".rar"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".7z"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".7z"]::before,
-.b3-typography a[href ^="assets/"][href $=".7z"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/zip.svg');
-}
-
-/* word */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".docx"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".docx"]::before,
-.b3-typography [href ^="assets/"][href $=".docx"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".doc"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".doc"]::before,
-.b3-typography [href ^="assets/"][href $=".doc"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/word.svg');
-}
-
-/* ppt */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".pptx"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".pptx"]::before,
-.b3-typography [href ^="assets/"][href $=".pptx"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".ppt"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".ppt"]::before,
-.b3-typography [href ^="assets/"][href $=".ppt"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/ppt.svg');
-}
-
-/* excel */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".xlsx"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".xlsx"]::before,
-.b3-typography [href ^="assets/"][href $=".xlsx"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".xls"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".xls"]::before,
-.b3-typography [href ^="assets/"][href $=".xls"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/excel.svg');
-}
-
-/* pdf */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".pdf"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".pdf"]::before,
-.b3-typography [href ^="assets/"][href $=".pdf"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/pdf.svg');
-}
-
-/* txt */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".txt"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".txt"]::before,
-.b3-typography [href ^="assets/"][href $=".txt"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/txt.svg');
-}
-
-/* 视频 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".mp4"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".mp4"]::before,
-.b3-typography [href ^="assets/"][href $=".mp4"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".m4v"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".m4v"]::before,
-.b3-typography [href ^="assets/"][href $=".m4v"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".mov"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".mov"]::before,
-.b3-typography [href ^="assets/"][href $=".mov"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".flv"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".flv"]::before,
-.b3-typography [href ^="assets/"][href $=".flv"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".avi"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".avi"]::before,
-.b3-typography [href ^="assets/"][href $=".avi"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/MP4.svg');
-}
-
-/* 图片 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".jpg"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".jpg"]::before,
-.b3-typography [href ^="assets/"][href $=".jpg"]::before,
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".png"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".png"]::before,
-.b3-typography [href ^="assets/"][href $=".png"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/jpg.svg');
-}
-
-/* html */
-/* .protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".html"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".html"]::before,
-.b3-typography [href ^="assets/"][href $=".html"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/html.svg');
-} */
-
-/* json */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".json"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".json"]::before,
-.b3-typography [href ^="assets/"][href $=".json"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/json.svg');
-}
-
-/* css */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".css"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".css"]::before,
-.b3-typography [href ^="assets/"][href $=".css"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/css.svg');
-}
-
-/* js,c++等 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".java"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".java"]::before,
-.b3-typography [href ^="assets/"][href $=".java"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/JAVA.svg');
-}
-
-/* js,c++等 */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".js"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".js"]::before,
-.b3-typography [href ^="assets/"][href $=".js"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/vscode.svg');
-}
-
-/* xmind */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".xmind"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".xmind"]::before,
-.b3-typography [href ^="assets/"][href $=".xmind"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/xmind.svg');
-}
-
-/* xmind */
-.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href $=".md"]:not(:empty)::before,
-.protyle-wysiwyg [data-node-id] a[href $=".md"]::before,
-.b3-typography [href ^="assets/"][href $=".md"]::before {
- content: "";
- background-image: url('../icon4Tsundoku/fold/md.svg');
-}
-
-/* ————————————————————————————————————————————————————文件格式到此为止—————————————————————————————————————————————————————— */
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/list2board.css b/app/appearance/themes/notion-theme/style/list2board.css
deleted file mode 100644
index 8e4380ffc6..0000000000
--- a/app/appearance/themes/notion-theme/style/list2board.css
+++ /dev/null
@@ -1,110 +0,0 @@
-/*————————————————————列表转看板————————————————————*/
-
-.protyle-wysiwyg .list[custom-f~=kb][data-node-id][data-type="NodeList"]
-{
- display: flex;
-}
-.protyle-wysiwyg *[custom-f~=kb].list[data-node-index]{
- width:100%!important;
- overflow-x:auto;/*溢出滚动*/
- padding-bottom:50px;
-}
-/* ————————————————————所有子项目的表格(除去第一列其余的列),包含溢出的空白部分,所以才会有边框—————————————————————— */
-.protyle-wysiwyg *[custom-f~=kb] .li .list{
- min-width: var(--kbline-boarditem-minwidth);
- border-radius: 3px;
- transform: translate(-30px, 0);
-}
-
-
-/* ————————————————————对所有子列表项设置格式———————————————————— */
-
-.protyle-wysiwyg *[custom-f~=kb] .li .li{
- border-radius: 3px;
- padding: 0.4em 0 0.1em 0 ;
- margin-bottom: 6px;
- background-color:var(--kb--li--background);
- box-shadow: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 2px 4px;
-}
-
-/*只处理每个列表的第一行*/
-.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div > div:nth-child(2),
-.protyle-wysiwyg .sb>*[custom-f~=kb] > div > div:nth-child(2)
-{
- min-width: var(--kbline-boarditem-minwidth);
- border-radius: 3px;
- padding:9px 0px 11px 30px;
- left:-30px;
- margin-bottom: 10px;
-}
-.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div > div:nth-child(2)[data-type="NodeHeading"],
-.protyle-wysiwyg .sb>*[custom-f~=kb] > div > div:nth-child(2)[data-type="NodeHeading"]
-{
-
- padding:5px 0px 7px 30px;
-}
-.protyle-wysiwyg *[custom-f~=kb] .li [data-type="NodeHeading"]>[spellcheck="false"]:after{
- display:none;
-}/*取消标题层级提示*/
-
-/*标题行循环颜色*/
-.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n-3) > div:nth-child(2),
-.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n-3) > div:nth-child(2){
- background-color:var(--b3-card-error-background);
-}
-.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n-2) > div:nth-child(2),
-.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n-2) > div:nth-child(2){
- background-color:var(--b3-card-warning-background);
-}
-.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n-1) > div:nth-child(2),
-.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n-1) > div:nth-child(2){
- background-color:var(--b3-card-info-background);
-}
-.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n) > div:nth-child(2),
-.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n) > div:nth-child(2){
- background-color:var(--b3-card-success-background);
-}
-
-/*只处理每个列表第一行的点*/
-.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div > div:nth-child(1),
-.protyle-wysiwyg .sb>*[custom-f~=kb] > div > div:nth-child(1)
-{
- transform: translate(4px,5px);
- z-index:2;
-}
-
-/* ————————————————————去除小竖线———————————————————— */
-.list[custom-f="kb"][data-node-id] .li>:before {
- display: none;
-}
-
-/* 对除了第一层之外的子列表 .protyle-action 移动 */
-.protyle-wysiwyg *[custom-f~=kb] .li .list .protyle-action{
- position: absolute;
- top: 50%;
- transform: translate(0, -50%);
- border-radius: 3px;
-}
-
-/* 引用计数 */
-.list[custom-f="kb"] .protyle-attr--refcount{
- height: 14px;
- width: 14px;
- left:-44px;
- top:9px;
- padding: 0;
- line-height: 14px;
- text-align: center;
-}
-
-.list[custom-f="kb"] .list .protyle-attr--refcount{
- height: 14px;
- width: 14px;
- left:-14px;
- top:9px;
- padding: 0;
- line-height: 14px;
- text-align: center;
-}
-
-/*————————————————————列表转化看板 END————————————————————*/
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/list2map.css b/app/appearance/themes/notion-theme/style/list2map.css
deleted file mode 100644
index bad39609fa..0000000000
--- a/app/appearance/themes/notion-theme/style/list2map.css
+++ /dev/null
@@ -1,175 +0,0 @@
-/*————————————————————————列表转导图————————————————————————*/
-/*整个导图取消缩进*/
-.protyle-wysiwyg *[custom-f="dt"] .li .list{
- padding: 0px;
- margin: 0px;
- transition: all 0.5s;
-}
-.protyle-wysiwyg *[custom-f="dt"].list{
- width:100%-50!important;
- overflow-x:auto;/*溢出滚动*/
- padding-bottom:30px!important;
- margin:10px 4px;
-}
-/*子项设偏移调整*/
-.protyle-wysiwyg *[custom-f="dt"] [data-node-id].li>[data-node-id]{
- margin-left: 20px !important;
- margin-right: -24px !important;
-}
-.protyle-wysiwyg *[custom-f="dt"] [data-node-id].li>.list{
- padding-left: 20px;
-}
-/*文字设置居中*/
-.protyle-wysiwyg *[custom-f="dt"] .li {
- display: flex;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li .p,.protyle-wysiwyg *[custom-f="dt"] .li [data-type="NodeHeading"] {
- display: flex;
- align-items: center;
- left:6px;
- margin: 0;
- flex-shrink:0;/*不压缩宽度*/
-}
-.protyle-wysiwyg *[custom-f="dt"] .li [data-type="NodeHeading"]>[spellcheck="false"]:after{
- display:none;
-}/*取消标题层级提示*/
-.protyle-wysiwyg *[custom-f="dt"] .li div{
- border-right:10px solid transparent;
-}
-/*文字框*/
-.protyle-wysiwyg *[custom-f="dt"] .li div>div[spellcheck="false"]{
- margin-left:-8px;
- padding:5px 0 5px 10px;
- margin-top:2px;
- background-color:var(--b3-block-daotu);
- border-radius:3px;
- box-shadow: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 2px 4px;
- max-width:15vw;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="t"]>[data-node-id]>div[spellcheck="false"]
-{
- padding:5px 0px 5px 35px;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="o"]>[data-node-id]>div[spellcheck="false"]
-{
- padding:5px 10px 5px 25px;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="t"]>.code-block>.protyle-action{
- padding:5px 0px 5px 30px;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="t"]>[data-node-id]>div.hljs
-{
- padding:30px 0px 22px 30px;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="o"]>.code-block>.protyle-action{
- padding:5px 0px 5px 30px;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="o"]>[data-node-id]>div.hljs
-{
- padding:30px 0px 22px 30px;
-}
-.protyle-wysiwyg *[custom-f="dt"] .li div>div.hljs{
- padding:30px 10px 22px;
- margin-left: 2px;
- background-color:var(--b3-menu-background);
-}
-/*去除竖线*/
-.list[custom-f="dt"][data-node-id] .li>:before {
- display: none;
-}
-
-/*圆点符号居中对齐*/
-.protyle-content *[custom-f~=dt] [data-subtype="u"][data-node-id].li>div.protyle-action {
- top:50%;
- margin-left:-18px;
-}/*无序列表*/
-.protyle-content *[custom-f~=dt] [data-subtype="o"][data-node-id].li>div.protyle-action {
- top:calc(50% + 1px);
- margin-left:17px;
-}/*有序列表*/
-.list[custom-f="dt"][data-node-id] .li>.protyle-action{
- top:calc(50% + 1px);
- left:3px;
- position: absolute;
- transform: translate(0, -50%);
- z-index: 2;
-}
-.protyle-wysiwyg *[custom-f="dt"] [data-subtype="u"][data-node-id].li>.protyle-action:after{
- left:37px;
-}
-.list[custom-f="dt"][data-node-id] .protyle-action svg{
- left:20px;
-}
-
-/*前继承线*/
-.protyle-wysiwyg *[custom-f="dt"] .li::before{
- content: '';
- position: absolute;
- top: 50%;
- border-top:var(--b3-border-daotu);
- width: 20px;
- height: 50%;
-}
-/*上竖线*/
-.protyle-wysiwyg *[custom-f="dt"] .li::before{
- bottom: 50%;
- border-left:var(--b3-border-daotu);
-}
-/*下竖线*/
-.protyle-wysiwyg *[custom-f="dt"] .li::after{
- content: '';
- position: absolute;
- bottom: 50%;
- border-left:var(--b3-border-daotu);
- width: 20px;
- height: 50%;
-}
-/*单个子项直线*/
-.protyle-wysiwyg *[custom-f="dt"] .list>.li:first-child:nth-last-child(2)::after{
- width: 0px;
-}
-/*单个子项直线对齐修正*/
-.list[custom-f="dt"] .list:has(>.li:first-child:nth-last-child(2))::after{
- border-radius:0px;
- width: 39px;
- margin-bottom:-2px;
-}
-/*单子项居中*/
-.protyle-wysiwyg *[custom-f="dt"] .list>.li:first-child:nth-last-child(2){
- top: 50%;
- transform: translate(0, -50%);
-}
-/*取消多余线条*/
-.protyle-wysiwyg *[custom-f="dt"] .li:first-child::after,.protyle-wysiwyg *[custom-f="dt"] .li:nth-last-child(2)::before{
- border:none!important;
-}
-/*上框线*/
-.protyle-wysiwyg *[custom-f="dt"] .li:first-child::before{
- border-radius:5px 0 0 0 ;
-}
-/*下框线*/
-.protyle-wysiwyg *[custom-f="dt"] .li:nth-last-child(2)::after{
- border-bottom:var(--b3-border-daotu)!important;
- border-radius:0 0 0 5px;
-}
-/*后继承线*/
-.list[custom-f="dt"] .list::after{
- content: '';
- position: absolute;
- left: 0;
- top: 50%;
- border-top:var(--b3-border-daotu);
- width: 20px;
- height: 0;
-}
-/*取消根目录线*/
-div *[custom-f="dt"]>[data-type="NodeListItem"]::before,
-div *[custom-f="dt"]>[data-type="NodeListItem"]::after{
- display: none;
-}
-/*根目录最小宽度,保证块标可点*/
-div *[custom-f="dt"]>[data-type="NodeListItem"]>[data-type="NodeParagraph"]>[spellcheck="false"]{
- min-width:50px;
-}
-
-/*————————————————————————————————————————————————————————————————————————*/
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/list2table.css b/app/appearance/themes/notion-theme/style/list2table.css
deleted file mode 100644
index 6490a97104..0000000000
--- a/app/appearance/themes/notion-theme/style/list2table.css
+++ /dev/null
@@ -1,85 +0,0 @@
-/* -----------------------------------------------列表转化为表格------------------------------------------- */
-.list[data-node-id][data-type="NodeList"][custom-f="bg"]{
- display:table;
- padding:15px 50px 15px 5px;
-}
-/* ————————————————————所有子项目的表格(除去第一列其余的列),包含溢出的空白部分,所以才会有边框—————————————————————— */
-
-.protyle-wysiwyg *[custom-f="bg"] .li .list {
- padding: 0px;
- margin: 0px !important;
- width:100%;
- outline: 1px solid var(--b3-layout-resize);
-}
-
-/* ————————————————————对所有子列表项设置格式———————————————————— */
-.protyle-wysiwyg *[custom-f="bg"] .li {
- display: flex;
- outline: 1px solid var(--b3-layout-resize);
- background-color: var(--b3-theme-background);
-}
-
-/* ————————————————————调整每个子列表项右侧边距———————————————————— */
-.protyle-wysiwyg *[custom-f="bg"] .li>div {
- margin-right: 20px;
-}
-
-/* ————————————————————大神增加代码———————————————————— */
-.protyle-wysiwyg *[custom-f="bg"] [data-node-id].li>[data-node-id] {
- margin-left: 6px !important;
-}
-
-/* ————————————————————对符号后文字设置格式———————————————————— */
-.protyle-wysiwyg *[custom-f="bg"] .p {
- flex: 1;
- left:18px;
- text-align: left;
- align-items: center;
- display: flex;
- min-width: 120px;
- min-height: 30px;
- height:auto;
- margin: 0;
-}
-.protyle-wysiwyg *[custom-f="bg"] .li>.list>.li {
- outline: none !important;
- border-top:1px solid var(--b3-layout-resize);
-}
-.protyle-wysiwyg *[custom-f="bg"] .li>.list>.li:first-of-type {
- border-top: none;
-}
-/* ————————————————————去除小竖线———————————————————— */
-.list[data-node-id][data-type="NodeList"][custom-f="bg"] .li>:before {
- display: none;
-}
-
-/* ————————————————————设置前面的符号居中对齐———————————————————— */
-.list[data-node-id][data-type="NodeList"][custom-f="bg"] .li>.protyle-action {
- position: absolute;
- top: 50%;
- transform: translate(0, -50%);
- opacity:0.3;
-}
-/*单子项居中*/
-
-.protyle-wysiwyg *[custom-f="bg"] .list>.li:first-child:nth-last-child(2){
- top: 50%;
- transform: translate(0, -50%);
- height:100%;
-}
-
-.protyle-wysiwyg *[custom-f="bg"] .li [data-type="NodeHeading"]>[spellcheck="false"]:after{
- display:none;
-}/*取消标题层级提示*/
-
-
-
-
-.protyle-wysiwyg *[custom-f="bg"] .code-block {
- width:calc(100% - 12px);
-}
-
-
-
-
-/* ---------------------------------------------------------列表转化为表格 END-------------------------------------------------- */
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/main.css b/app/appearance/themes/notion-theme/style/main.css
deleted file mode 100644
index 0d7bff7f11..0000000000
--- a/app/appearance/themes/notion-theme/style/main.css
+++ /dev/null
@@ -1,1667 +0,0 @@
-@keyframes menu {
- 0% {opacity: 0;}
- 50% { transform: scale(1.01);
- opacity: 0.5; }
- 100% { transform: scale(1);
- }
-}
-@keyframes statusmsg {
- 0% {max-width:1000px;}
- 80% {max-width:1000px;}
- 100% {max-width:180px;}
-}
-:root {
- /* 主色 */
- --b3-theme-primary: rgb(46, 170, 220);/* 主色 */
- --b3-theme-primary-light: rgba(46, 170, 220, 0.54);
- --b3-theme-primary-lighter: rgba(46, 170, 220, 0.38);
- --b3-theme-primary-lightest: rgba(46, 170, 220, 0.2);
- --b3-theme-secondary: #f3a92f;
- --b3-theme-background: #fff;/* 编辑区背景 */
- --b3-theme-background-light: #dfe0e1;
- --b3-theme-surface: rgb(247, 246, 243);/* 面板主色 */
- --b3-theme-surface-light: rgba(243, 243, 243, .5);
- --b3-theme-error: #eb5757;
-
- /* 文字颜色 */
- --b3-theme-on-primary: #fff;
- --b3-theme-on-secondary: #fff;
- --b3-theme-on-background: rgb(55, 53, 47);
- --b3-theme-on-surface: rgba(55, 53, 47, 0.6);
- --b3-theme-on-surface-light: rgba(95, 99, 104, .68);
- --b3-theme-on-error: #fff;
-
- /* 字体 */
- --b3-font-family:apple-system, BlinkMacSystemFont, "Segoe UI", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-code: "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-graph: mononoki;
- --b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
- --b3-font-family-math: KaTeX_Math;
-
- /* 线条 */
- --b3-border-color: rgba(0, 0, 0, 0.1);
-
- /* 滚动条 */
- --b3-scroll-color: rgba(211,209,203,.5);
- --b3-scroll-color-hover: rgba(174,172,166);
- --b3-scroll-bgcolor: rgba(237, 236, 233);
-
- --b3-border-scroll: rgba(55, 53, 47, 0.2);
-
- --webkit-scrollbar: 10px;
- --webkit-scrollbar-thumb: 0px;
- /* 列表 */
- --b3-list-hover: rgba(55, 53, 47, 0.08);
-
- /* 菜单 */
- --b3-menu-background: #f8f9fa;
-
- /* 提示 */
- --b3-tooltips-color: rgba(15, 15, 15);
-
- /* 遮罩 */
- --b3-mask-background: rgba(0, 0, 0, 0.78);
-
- /* 卡片背景 */
- --b3-card-error-color: rgb(97, 26, 21);
- --b3-card-error-background: rgb(253, 236, 234);
- --b3-card-warning-color: rgb(102, 60, 0);
- --b3-card-warning-background: rgb(255, 244, 229);
- --b3-card-info-color: rgb(13, 60, 97);
- --b3-card-info-background: rgb(232, 244, 253);
- --b3-card-success-color: rgb(30, 70, 32);
- --b3-card-success-background: rgb(237, 247, 237);
-
- /* 自定义文字 */
- --b3-font-color1: #000;
- --b3-font-color2: rgba(55, 53, 47, 0.6);
- --b3-font-color3: rgb(100, 71, 58);
- --b3-font-color4: rgb(217, 115, 13);
- --b3-font-color5: #f5822e;
- --b3-font-color6: rgb(223, 171, 1);
- --b3-font-color7: #65b84d;
- --b3-font-color8: rgb(15, 123, 108);
- --b3-font-color9: rgb(11, 110, 153);
- --b3-font-color10: rgb(105, 64, 165);
- --b3-font-color11: rgb(173, 26, 114);
- --b3-font-color12: rgb(224, 62, 62);
- --b3-font-color13: #e81123;
-
- --b3-font-background1: rgb(198, 203, 208);
- --b3-font-background2: rgb(225, 225, 225);
- --b3-font-background3: rgb(235, 236, 237);
- --b3-font-background4: rgb(233, 229, 227);
- --b3-font-background5: rgb(246, 225, 205);
- --b3-font-background6: rgb(250, 235, 221);
- --b3-font-background7: rgb(251, 243, 219);
- --b3-font-background8: rgba(221, 237, 226);
- --b3-font-background9: rgb(221, 237, 234);
- --b3-font-background10: rgb(221, 235, 241);
- --b3-font-background11: rgb(234, 228, 242);
- --b3-font-background12: rgb(244, 223, 235);
- --b3-font-background13: rgb(251, 228, 228);
- /* 动画效果 */
- --b3-transition: all .15s cubic-bezier(0, 0, .2, 1) 0ms;
- --b3-width-transition: width .15s cubic-bezier(0, 0, .2, 1) 0ms;
-
- /* 阴影 */
- --b3-point-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
- --b3-dialog-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
- --b3-menu-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-
- /* 图表颜色 */
- --b3-graph-p-point: #076f7e;
- --b3-graph-heading-point: #660e7a;
- --b3-graph-math-point: #80FFA5;
- --b3-graph-code-point: #00DDFF;
- --b3-graph-table-point: #37A2FF;
- --b3-graph-list-point: #FF0087;
- --b3-graph-todo-point: #FFBF00;
- --b3-graph-olist-point: #b3005f;
- --b3-graph-listitem-point: #f65b00;
- --b3-graph-bq-point: #8d48e3;
- --b3-graph-super-point: #dd79ff;
- --b3-graph-doc-point: #202124;
- --b3-graph-tag-point: #dbf32f;
- --b3-graph-asset-point: #05c091;
- --b3-graph-line: #5f6368;
- --b3-graph-ref-line: #d23f31;
- --b3-graph-tag-line: #5f6b06;
- --b3-graph-tag-tag-line: #dbf32f;
- --b3-graph-asset-line: #037457;
- --b3-graph-hl-point: #f3a92f;
- --b3-graph-hl-line: #4285f4;
-
- /* 编辑器搜索颜色 */
- --b3-protyle-search-background: #ffe955;
- --b3-protyle-search-border-color: #f2e680;
- --b3-protyle-search-current-background: #a5d3fe;
-
- /* 代码片段背景 */
- --b3-protyle-code-background: rgba(27, 31, 35, .05);
- --b3-protyle-code-linenumber-hl: #b9d1f4;
-
- /* 所见即所得行内元素颜色 */
- --b3-protyle-inline-strong-color: #202124;
- --b3-protyle-inline-em-color: #202124;
- --b3-protyle-inline-s-color: #202124;
- --b3-protyle-inline-link-color: #4285f4;
- --b3-protyle-inline-mark-background: #ffe955;
- --b3-protyle-inline-mark-color: #202124;
- --b3-protyle-inline-tag-color: #5f6368;
- --b3-protyle-inline-blockref-color: #660e7a;
-
- /* PDF */
- --b3-pdf-selection: #d0e9c8;
- --b3-pdf-sidebar-width: 200px;
- --b3-pdf-offset: 0;
- --b3-pdf-background1: var(--b3-font-background5);
- --b3-pdf-background2: var(--b3-font-background6);
- --b3-pdf-background3: var(--b3-font-background7);
- --b3-pdf-background4: var(--b3-font-background8);
- --b3-pdf-background5: var(--b3-font-background10);
- --b3-pdf-background6: var(--b3-font-background11);
- --b3-pdf-background7: var(--b3-font-background13);
-
- /* 自定义结构配色 */
- /* 顶栏 */
- --b3-toolbar-background: var(--b3-theme-background);
- --b3-toolbar-item-hover: rgba(0, 0, 0, .05);
- --b3-toolbar-closeWindow-hover: #e81123;
- --b3-toolbar-closeWindow-svg: #fff;
- /* dock栏 */
- --b3-dockright-color: rgb(55, 53, 47, .5);
- --b3-dockright-background: rgba(237, 236, 233);
- --b3-dockleft-color: rgb(55, 53, 47, .5);
- --b3-dock-background: rgba(237, 236, 233);
- --b3-dockright-item-active-background: #fff;
- --b3-dockleft-item-active-background: #fff;
- --b3-dock-item-active-color: #eb8383;
- --b3-dock-item-hover-background: #fff;
-
- --b3-dock-item-width: 36px;
- --b3-dock-item-padding: 5px;
- --b3-dock-item-margin: 7px 5px 7px 5px;
- --b3-dock-item-radius: 5px;
- /* 侧栏面板 */
- --b3-fn__flex-column-background: rgb(247, 246, 243);
- --b3-fn__flex-shrink-background: rgb(247, 246, 243);
- --b3-block-logo-color: rgb(247, 246, 243);
- --b3-block-logo-background-color: rgba(55, 53, 47, 0.3);
- --b3-block-icon-svg-color: rgba(161, 160, 156);
- --b3-block-icon-hover: rgba(55, 53, 47, 0.08);
- --b3-block-icon-active: #eb8383;
- --b3-list-item-arrow: rgba(55, 53, 47, 0.4);
- --b3-list-background: rgba(55, 53, 47, 0.08);
- --b3-list-background-focus: rgba(55, 53, 47, 0.14);
- --b3-list-background-more: rgba(108, 106, 101);
-
- --b3-flex-column-padding: 6px 0 0 0;
- --b3-list-item-radius: 0px;
- /* 大纲数字 */
- --h1-list-graphic: #eb8383;
- --h2-list-graphic: #ae9acb;
- --h3-list-graphic: #7db5cd;
- --h4-list-graphic: #71a796;
- --h5-list-graphic: #dcbf61;
- --h6-list-graphic: #dda36a;
- /* 线条 */
- --b3-layout-resize: rgba(230, 229, 225);
- --b3-shrink-layout-resize: rgba(230, 229, 225);
- --b3-layout-resize-hover: var(--b3-scroll-color);
- --flex-width-transition:width 150ms linear; /*调节宽度动画*/
- --b3-border-fold: rgb(15, 15 , 15, .1);/*折叠边框*/
- /* 页签 */
- --b3-item-focus: rgb(0, 0, 0 ,1);
- /* 面包屑 */
- --b3-protyle-breadcrumb-shadow:var(--b3-layout-resize);
- --b3-protyle-breadcrumb-arrow: rgba(174,172,166);
- --b3-breadcrumb-svg: rgba(55, 53, 47, 0.8);
- /* 头图按钮 */
- --b3-icons-tooltips: rgba(55, 53, 47, 0.5);
- --b3-icons-tooltips-hover: var(--b3-list-background);
- --b3-img-icons-tooltips: var(--b3-theme-on-surface);
- --b3-img-icons-tooltips-bg: var(--b3-theme-background);
- --b3-img-icons-span: rgba(0, 0, 0, .5);
- /* 块标 */
- --b3-gutters-color: rgba(211,209,203);
- /* 弹出工具条字体颜色选择 */
- --b3-color--square: var(--b3-border-color);
- /* 任务列表 */
- --b3-task-done-color: var(--b3-scroll-color-hover);
- --b3-task-done-hover: #069ccd;
- /* 引述 */
- --b3-bq-background: rgba(249, 249, 250);
- /* 块引用 */
- --b3-block-ref-background: var(--b3-toolbar-item-hover);
- /* 代码块 */
- --b3-linenumber-rows: rgba(237, 236, 233);
- --b3-code-block-hljs: var(--b3-fn__flex-shrink-background);
- /*行内代码*/
- --b3-inline-code:var(--b3-theme-error);
- /*按钮*/
- --b3-button: #069ccd;
- /*pdf*/
- --b3-toolbarSidebar: rgba(237, 236, 233);
- /*导图*/
- --b3-border-daotu: 2px solid #ffb8b8;
- --b3-block-daotu:#FFF;
- /*看板*/
- --kbline-boarditem-minwidth: 14rem;/*看板卡片的最小宽度*/
- --kb--li--background:#fff;
- /*ctrlp*/
- --b3-list-item--meta: rgba(55, 53, 47, 0.3);
-}
-
-/* PDF */
-.textLayer,
-.pdf__resize {
- mix-blend-mode: darken;
-}
-
-.b3-typography div.hljs, .protyle-wysiwyg div.hljs {
- background-color: #f8f9fa;
-}
-
-body{
- border: 0px!important;
-}
-
-/* ————————————————————顶栏———————————————————— */
-.toolbar{
- background-color: var(--b3-toolbar-background);
- margin-bottom: -22px;
- z-index: 99;
- opacity: 0;
- transition: opacity 300ms;
- transition-delay: 500ms;
-}
-.toolbar:hover{
- opacity: 1;
- transition: all 300ms;
-}
-.toolbar__item{
- margin: 0px;
- border-radius: 0px;
-}
-.toolbar__item svg{
- padding: 3px 7px;
- height: 12px;
- width: 12px;
-}
-.toolbar__item:not(.toolbar__item--disabled) svg{
- color: var(--b3-theme-on-background);
-}
-.toolbar__item:hover{
- background-color: var(--b3-toolbar-item-hover);
-}
-#minWindow svg, #restoreWindow svg, #maxWindow svg, #closeWindow svg{
- width: 10px!important;
- padding: 2px 8px;
-}
-.toolbar__item--close{
- padding: 4px 8px;
-}
-#closeWindow:hover{
- background-color: var(--b3-toolbar-closeWindow-hover);
-}
-#closeWindow:hover svg{
- color: var(--b3-toolbar-closeWindow-svg);
-}
-
-/* ————————————————————dock栏———————————————————— */
-.dock{
- background-color: var(--b3-dock-background);
-}
-.dock#dockLeft,
-.dock#dockRight{
- border: 0px;
- width: var(--b3-dock-item-width);
-}
-.dock#dockLeft .dock__item{
- padding: var(--b3-dock-item-padding);
- margin: var(--b3-dock-item-margin);
- border-radius: var(--b3-dock-item-radius);
- color: var(--b3-dockleft-color);
-}
-.dock#dockRight .dock__item{
- padding: var(--b3-dock-item-padding);
- margin: var(--b3-dock-item-margin);
- border-radius: var(--b3-dock-item-radius);
- color: var(--b3-dockright-color);
-}
-.dock#dockLeft .dock__item--active{
- color: var(--b3-dock-item-active-color)!important;
- background-color: var(--b3-dockleft-item-active-background);
-}
-.dock#dockRight{
- background-color: var(--b3-dockright-background);
-}
-.dock#dockRight .dock__item--active{
- color: var(--b3-dock-item-active-color)!important;
- background-color:var(--b3-dockright-item-active-background);
-}
-.dock#dockLeft .dock__item:last-child,.dock#dockRight .dock__item:last-child{
- margin: 7px 5px 20px 5px;
-}
-.dock__item svg{
- width: 14px;
-}
-.dock#dockLeft .dock__item:hover,
-.dock#dockRight .dock__item:hover{
- background-color: var(--b3-dock-item-hover-background);
- transition: all 300ms;
-}
-
-/* ————————————————————侧栏面板———————————————————— */
-.layout-tab-container>.fn__flex-column{
- background-color: var(--b3-fn__flex-column-background);
- padding: var(--b3-flex-column-padding);
- min-height: 90% ;
-}
-/*侧栏滚动出现分割线*/
-.layout-tab-container>.fn__flex-column>.fn__flex-1{
- background: linear-gradient(var(--b3-fn__flex-column-background), transparent 100%),
- linear-gradient(var(--b3-border-scroll), transparent 100%);
- background-size: 100% 30px, 100% 1px;
- background-repeat: no-repeat;
- background-attachment: local, scroll;
-}
-.fn__flex >.fn__flex-shrink>.fn__flex>.fn__flex>.layout-tab-container>.fn__flex-column{
- background-color: var(--b3-fn__flex-shrink-background);
-}
-/*面板标题*/
-.file-tree .block__icons{
- height:46px;
- padding: 0px 15px;
-}
-/*面板标题图标*/
-.block__logo svg{
- width: 12px;
- height: 12px;
- padding: 6px;
- margin: 0px 10px 0px 0px;
- border-radius: 5px;
- color: var(--b3-block-logo-color);
- background-color: var(--b3-block-logo-background-color);
-}
-/*面板功能*/
-.file-tree .block__icons>.block__icon svg,
-.file-tree .block__icons>.fn__flex>.block__icon svg{
- padding: 5px;
- height: 12px;
- width: 12px;
- color: var(--b3-block-icon-svg-color);
-}
-.file-tree .block__icons>.block__icon,.file-tree .block__icons>.fn__flex>.block__icon{
- margin:-4px;
- padding: 0px;
-}
-.file-tree .block__icons>.fn__flex>.block__icon[type="checkbox"]{
- margin:0px 0px 0px -8px;
-}
-.file-tree .block__icons .block__icon:hover{
- background-color: var(--b3-block-icon-hover);
- border-radius: 3px;
-}
-/*面板标题激活状态*/
-.block__icons.block__icons--active>.block__logo svg{
- background-color: var(--b3-block-icon-active);
-}
-
-.block__icons.block__icons--active>.block__logo,
-.block__icons.block__icons--active>.block__icon svg,
-.block__icons.block__icons--active>.fn__flex>.block__icon svg{
- color: var(--b3-block-icon-active);
-}
-.block__icons--active{
- background-color: transparent;
-}
-/*面板列表项*/
-.b3-list-item{
- border-radius:var(--b3-list-item-radius);
-}
-.b3-list-item__arrow{
- color:var(--b3-list-item-arrow);
- padding:5px;
- margin:0 -5px 0 5px;
- border-radius: 3px;
-}
-.b3-list-item__icon{
- height: 22px;
- width: 16px;
- font-size:14px;
- line-height:22px;
-}
-.b3-list-item__icon svg,.b3-list-item__icon img{
- margin: 0px;
- padding: 3px 0px 2px 0px;
- border-radius: 3px;
-}
-.b3-list-item__graphic{
- padding: 3px 4px;
- border-radius: 3px;
-}
-.b3-list-item__toggle.fn__hidden:before {
- visibility: visible!important;
- content: "•";
- margin:0px -18px 0 12px;
- color:var(--b3-list-item-arrow);
- font-size: 100%;
-}
-.b3-list-item__text{
- color:var(--b3-theme-on-surface);
-}
-.b3-list-item--hide-action .b3-list-item__action {
- height:20px;
- padding: 0 3px;
- margin-left:4px;
- border-radius: 3px;
- color:var(--b3-list-background-more);
-}
-/*新建文档*/
-.b3-list-item__action[data-type='new']{
- box-shadow: 0px 0px 0px 1px var(--b3-border-color) inset;
-}
-/*引用数*/
-.b3-list-item .counter:not(:empty){
- height: 20px;
- line-height: 20px;
- text-align: center;
- min-width: 12px;
- border-radius: 3px;
- padding: 0 4px;
- margin-left: 4px;
- box-shadow: 0 0 0 1px var(--b3-border-color) inset;
-}
-/*面板列表项hover状态*/
-.b3-list-item:hover,.b3-list-item__arrow:hover,
-.b3-list-item__action:hover,.counter:not(:empty):hover,.b3-list-item__icon:hover{
- background-color: var(--b3-list-background)!important ;
-}
-.b3-list-item--focus:hover{
- background-color: var(--b3-list-background-focus)!important ;
-}
-.b3-list-item__toggle:hover{
- background-color: rgba(0, 0, 0, 0)!important;
-}
-
-/* 面板列表项 选中状态*/
-.b3-list-item--focus .b3-list-item__text{
- font-weight:600;
- color:var(--b3-theme-on-background)!important;
-}
-/*标签树*/
-.sy__tag>.fn__flex-1>ul>.b3-list-item>.b3-list-item__graphic,
-.sy__tag ul ul li>.b3-list-item__graphic{
- display:none;
-}
-.sy__tag>.fn__flex-1>ul>.b3-list-item>.b3-list-item__text:before,
-.sy__tag ul ul li>.b3-list-item__text:before{
- visibility: visible!important;
- content: "# ";
- color:var(--b3-list-item-arrow);
- padding-left:0px;
-}
-/*收集箱面板*/
-.sy__inbox .inbox__details{
- top: 50px;
-}
-input[type="checkbox" i] {
- margin-left:6px;
-}
-/*大纲面板*/
-.sy__outline>.b3-list-item>.b3-list-item__graphic{
- padding-left: 10px;
-}
-/*大纲前圆点*/
-.sy__outline .b3-list-item__arrow.fn__hidden{
- visibility: visible!important;
- opacity: 0.6;
- width: 0.2em;
- height: 0.2em;
- color: transparent;
- background-color:var(--b3-list-item-arrow);
- border-radius: 50%;
- padding: 0px;
- margin: 0 4px 0 14px;
-}
-.sy__outline .b3-list-item__arrow.fn__hidden:hover{
- background-color: var(--b3-list-item-arrow)!important ;
-}
-/*大纲数字*/
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] .b3-list-item__toggle::after{
- font-weight: 600;
- position:relative;
- left:10px;
- border-radius:3px;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] .b3-list-item__toggle::after{
- font-weight: 600;
- position:relative;
- left:9px;
- border-radius:3px;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] svg.b3-list-item__graphic{
- margin-left:-10px;
- margin-right:4px;
- color:transparent;
- z-index:2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] .b3-list-item__toggle::after{
- content:"1";
- color:var(--h1-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] .b3-list-item__toggle::after{
- content:"2";
- color:var(--h2-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] .b3-list-item__toggle::after{
- content:"3";
- color:var(--h3-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] .b3-list-item__toggle::after{
- content:"4";
- color:var(--h4-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] .b3-list-item__toggle::after{
- content:"5";
- color:var(--h5-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] .b3-list-item__toggle::after{
- content:"6";
- color:var(--h6-list-graphic);
-}
-
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] svg.b3-list-item__graphic:hover{
- background-color:var(--h1-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] svg.b3-list-item__graphic:hover{
- background-color:var(--h2-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] svg.b3-list-item__graphic:hover{
- background-color:var(--h3-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] svg.b3-list-item__graphic:hover{
- background-color:var(--h4-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] svg.b3-list-item__graphic:hover{
- background-color:var(--h5-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] svg.b3-list-item__graphic:hover{
- background-color:var(--h6-list-graphic);
- opacity:0.2;
-}
-/*分界线*/
-.layout__resize:after{
- background-color: var(--b3-layout-resize);
-}
-.fn__flex-shrink .layout__resize:after{
- background-color: var(--b3-shrink-layout-resize);
-}
-.fn__flex-shrink+.layout__resize--lr:after{
- background-color:transparent;
- width:2px;
- margin-left:-2px;
-}
-.layout__resize--lr:hover:after,.layout__resize--lr:active:after{
- width:2px;
-}
-.layout__resize:hover:after,.layout__resize--lr:hover:after,.layout__resize--lr:active:after{
- background-color:var(--b3-layout-resize-hover);
- transition: background-color 300ms ease-in 0s;
-}
-.layout__resize--lr:after{
- background-color: var(--b3-layout-resize);
- width:0px;
- margin-left:-1px;
- top: 0px;
- height:100%;
-}
-/*侧栏宽度调整动画*/
-#layouts > .fn__flex-1 > .fn__flex-column,#layouts > .fn__flex-1 > .fn__flex{
- transition: var(--flex-width-transition);
-}
-
-/* ————————————————————页签———————————————————— */
-.layout-tab-bar{
- padding:0 8px;
- background-color: var(--b3-theme-background);
-}
-.layout-tab-bar .item{
- flex:unset;
- padding-left:6px;
- margin:15px 0px 7px 0px;
- max-width:150px;
- border-radius: 3px!important;
-}
-.layout-tab-bar .item__icon{
- padding: 4px 2px;
-}
-.layout-tab-bar .item__icon svg{
- height: 16px;
-}
-.layout-tab-bar .item:not(:last-child){
- box-shadow:none!important;
-}
-.layout__wnd--active .layout-tab-bar .item--focus{
- position: relative;
- box-shadow: none!important;
-}
-.layout__wnd--active .layout-tab-bar .item--focus::after{
- content: '';
- position: absolute;
- bottom: -7px;
- left: 0px;
- right: 0px;
- height: 2px;
- background-color: var(--b3-item-focus);
-}
-.layout-tab-bar .item:hover{
- background-color:var(--b3-list-background)!important;
-}
-.layout-tab-bar .item__text{
- padding: 3px;
- text-align: left;
- min-width: 1px;
-}
-.layout-tab-bar .item__close{
- padding: 4px 6px 4px 2px;
-}
-.layout-tab-bar .item--pin{
- margin-right:8px;
- padding:0 2px 0 4px;
- width:24px;
-}
-.layout-tab-bar .item--pin .item__icon{
- padding: 4px 0px;
-}
-.layout-tab-bar .item--pin:nth-child(4n-3){
- background-color:var(--b3-card-error-background);
-}
-.layout-tab-bar .item--pin:nth-child(4n-2){
- background-color:var(--b3-card-warning-background);
-}
-.layout-tab-bar .item--pin:nth-child(4n-1){
- background-color:var(--b3-card-info-background);
-}
-.layout-tab-bar .item--pin:nth-child(4n){
- background-color:var(--b3-card-success-background);
-}
-.layout-tab-bar .item__graphic{
- padding: 4px 4px 4px 0px;
-}
-/* ————————————————————面包屑———————————————————— */
-.protyle-breadcrumb{
- padding: 6px 8px 4px 8px;
- box-shadow: 0px 1px 0px 0px var(--b3-protyle-breadcrumb-shadow) inset;
-}
-.protyle-breadcrumb__item--active,.protyle-breadcrumb__item--active>svg,
-.protyle-breadcrumb__item--active>svg.ft__primary+span{
- color: var(--b3-theme-primary)!important;
- background-color: transparent;
-}
-.protyle-breadcrumb__item,.protyle-breadcrumb__icon{
- padding: 5px;
- margin: 0px;
-}
-.protyle-breadcrumb__text{
- margin-left: 6px;
-}
-.protyle-breadcrumb__arrow{
- width: 0px;
- height: 13px;
- transform: rotate(20deg);
- border-left: 1px solid var(--b3-protyle-breadcrumb-arrow);
-}
-.protyle-breadcrumb>.block__icon:not(.ft__primary):hover,
-.protyle-breadcrumb__icon:hover,.protyle-breadcrumb__item:hover,
-.protyle-breadcrumb>.b3-tooltips__w:hover{
- background-color: var(--b3-list-background);
- border-radius: 3px;
-}
-/*面包屑更多*/
-.protyle-breadcrumb>.block__icon:not(.ft__primary) svg{
- color: var(--b3-breadcrumb-svg)!important;
- width: 19px;
- height: 19px;
- padding: 3px 1px;
-}
-.protyle-breadcrumb>.b3-tooltips__w{
- padding: 0 4px;
-}
-
-/* ————————————————————编辑区———————————————————— */
-/*头图、图标、标签*/
-.protyle-background{
- border-bottom:10px solid transparent !important
-}
-.protyle-background[style*="30vh"]>.protyle-background__iconw >.protyle-icons,
-.protyle-background[style*="64px"]>.protyle-background__iconw >.protyle-icons,
-.protyle-background[style*="56px"]>.protyle-background__iconw >.protyle-icons,
-.protyle-background[style*="103px"]>.protyle-background__iconw >.protyle-icons{
- background-color:transparent;
- position:absolute;
- left:0px;
- margin:0px;
- opacity:0;
-}
-.protyle-background[style*="30vh"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips,
-.protyle-background[style*="64px"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips,
-.protyle-background[style*="56px"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips,
-.protyle-background[style*="103px"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips{
- margin-top:80px;
-}
-.protyle-background[style*="30vh"]>.protyle-background__iconw >.fn__none+.protyle-icons>.b3-tooltips{
- margin-top:0px;
-}/*没图标的情况下浮动*/
-
-.protyle-background__iconw {
- height:auto;
- width:256px;
- margin-left:5px;
-}
-.protyle-background__iconw .protyle-icons .b3-tooltips{
- display:inline-flex;
- height:28px;
- border-radius:3px;
- padding:0 8px 0 6px;
- color:var(--b3-icons-tooltips);
- background-color:transparent;
-}
-.protyle-background__iconw .protyle-icons{
- background-color:transparent;
- margin:72px 0 0 0px;
- height:1px;
- opacity:0
-}
-.protyle-background__iconw .protyle-icons .b3-tooltips svg{
- width:14px;
- height:14px;
- padding:7px 6px 0 0;
- display:inline-flex
-}
-.protyle-background__iconw .protyle-icons .b3-tooltips::after{
- display:inline-flex;
- height:28px;
- font-size:12px;
- line-height:28px;
- transform:none;
- opacity:1;
- color:var(--b3-icons-tooltips);
- background-color:transparent;
- position:static;
- margin:0;
- padding:0
-}
-.protyle-background .protyle-icons .b3-tooltips input{
- width:100% !important;
-}/*上传按钮*/
-.protyle-background__iconw .protyle-icons .b3-tooltips:hover{
- background-color:var(--b3-icons-tooltips-hover);
-}
-.protyle-background .protyle-background__icon{
- width:78px;
- height:78px;
- font-size:54px;
- top:calc(30vh - 42px);
- line-height:78px;
- text-align:center;
- border-radius:4px
- }
-.protyle-background .protyle-background__icon svg{
- width:78px;
- height:78px
-}
-.protyle-background .protyle-background__icon:hover{
- background-color:var(--b3-icons-tooltips-hover);
- opacity:1;
-}
-.protyle-background:hover >.protyle-background__iconw >.protyle-icons{
- opacity:1
-}
-.protyle-background .protyle-icons .b3-tooltips::before{
- border:none
-}/*取消箭头*/
-
-/*头图选项*/
-.protyle-background__img .protyle-icons{
- background-color:transparent;
- left: auto;
- right:max(calc((100% - min(1920px, max(1500px, 46.9vw))) / 2), 103px);
- opacity:0;
- border-radius:3px;
-}
-.protyle-background__img .protyle-icons .b3-tooltips{
- display:inline-flex;
- height:28px;
- padding:0 10px 0 6px;
- color:var(--b3-img-icons-tooltips);
-}
-.protyle-background__img .protyle-icons .b3-tooltips svg{
- width:12px;
- height:12px;
- padding:8px 6px 0 2px;
- display:inline-flex
-}
-.protyle-background__img .protyle-icons .b3-tooltips::after{
- display:inline-flex;
- height:28px;
- font-size:12px;
- line-height:28px;
- transform:none;
- transition:none;
- opacity:1;
- color:var(--b3-img-icons-tooltips);
- background-color:transparent;
- position:static;
- margin:0;
- padding:0;
-}
-
-.protyle-background__img .protyle-icons>span{
- color:var(--b3-img-icons-tooltips);
- background-color:var(--b3-img-icons-tooltips-bg);
- box-shadow: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 2px 4px;
-
-}
-.protyle-background__img .protyle-icons .b3-tooltips:hover,.protyle-background__img.protyle-icons>span:hover{
- background-color:var(--b3-fn__flex-shrink-background);
- color:var(--b3-img-icons-tooltips);
-}
-
-.protyle-background__img .protyle-icons>span:not(span[data-type='cancel']):not(span[data-type='confirm']):not(span[data-type='link']):not(span[data-type='random']):not(span[data-type='position']):not(span[data-type='remove']):not(span[style*="relative"])
-{
- background-color: var(--b3-img-icons-span);
- color:var(--b3-theme-background);
- padding:5px 20px;
-}/*上下移动题图提示语*/
-
-.protyle-background .protyle-background__img:hover .protyle-icons{opacity:1;}
-/*选项块透明度*/
-
-
-/*文档标签*/
-.protyle-icons{
- z-index:2;
-}
-.protyle-background__tags{
- right:76px;
-}
-.protyle-background[style*="30vh"]>.protyle-background__tags{
- float:right;
- padding-top:30.5vh;
-}
-.protyle-background[style*="103px"]>.protyle-background__tags,.protyle-background[style*="47px"]>.protyle-background__tags{
- float:right;
-}
-.protyle-background__tags .item{
- margin: 11px 10px 4px 0;
- border-radius:5px;
- padding:2px 8px;
- font-size:90%;
- transition: all 200ms;
-}
-.protyle-background__tags .item:hover{
- padding:2px 22px 2px 8px;
- transition:padding 200ms ease-in 0s;
-}
-.protyle-background__tags .item svg{
- top: 4px;
- right: 4px;
- background-color:transparent;
-}
-.protyle-background__tags .item svg:hover{
- background-color:var(--b3-list-background-focus);
-}
-/*文档标题块*/
-.protyle-title__input{
- font-weight:700;
- font-size: 40px;
-}
-/*h1~6标题间距*/
-.protyle-wysiwyg .h1,.protyle-wysiwyg .h2,
-.protyle-wysiwyg .h3,.protyle-wysiwyg .h4,
-.protyle-wysiwyg .h5,.protyle-wysiwyg .h6{
- font-weight:700;
- margin-top: 1.2em;
- margin-bottom: .4em;
-}
-.protyle-wysiwyg[data-doc-type="NodeDocument"]>[data-type="NodeHeading"]{
- margin-top: 0em;
-}
-/*块标 */
-.protyle-gutters button svg {
- color: var(--b3-gutters-color);
- padding:0 4px;
- border-radius:3px;
-}
-.protyle-gutters button[data-type="fold"] svg {
- padding:0px 6px;
-}
-.protyle-gutters button svg:hover {
- background-color: var(--b3-toolbar-item-hover);
-}
-.protyle-gutters button{
- padding:4px 0px;
-}
-.protyle-gutters{
- transition: all 200ms ease-out;
-}
-/*块右上角引用数*/
-.protyle-attr--refcount{
- height: 20px;
- width: 20px;
- left:1px;
- padding: 0;
- line-height: 20px;
- text-align: center;
-}
-/* 超级块 */
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="col"],
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="row"],
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="col"]>div,
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="row"]>div{
- margin-bottom: 5px;
- border-radius: 3px;
-}
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout=col]>div:not(:nth-last-child(2)),
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout=col] .sb:not(:nth-last-child(2)){
- margin-right:5px;
-}
-
-/* 图片圆角 */
-.protyle-wysiwyg img{
- border-radius: 3px;
-}
-/* 文字弹出工具条 */
-.protyle-toolbar{
- border-radius: 3px;
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
- animation: toolbar 0.2s ease-in-out;
-
-}
-.protyle-toolbar__item svg{
- color: var(--b3-list-background-more);
-}
-
-.protyle-toolbar__item {
- height:30px;
- width:30px;
-}
-
-.protyle-toolbar__item[data-type='blockRef']{
- padding-right:3px;
- width:31px;
-}
-.protyle-toolbar__item[data-type='font']{
- width:44px
-}
-.protyle-toolbar__item[data-type='font'] svg{
-margin-left:-10px;
-width:36px;
-}
-.protyle-toolbar__item:hover {
- background-color: var(--b3-toolbar-item-hover);
-}
-.protyle-toolbar__divider{
- margin:0px;
-}
-.protyle-util{
-animation: menu 0.2s ease-in-out;
-box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-}
-.protyle-util{
- background-color: var(--b3-theme-background);
-}
-/* 弹出工具条字体颜色选择 */
-.b3-color__square[data-type="color"]{
- border-radius: 3px;
- width:22px;
- height:22px;
- background-color:transparent!important;
- box-shadow: 0 0 0 1px var(--b3-color--square) inset;
-}
-.b3-color__square[style="background-color:var(--b3-font-color1)"]::before{
- content: "A";
- color:var(--b3-font-color1);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color2)"]::before{
- content: "A";
- color:var(--b3-font-color2);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color3)"]::before{
- content: "A";
- color:var(--b3-font-color3);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color4)"]::before{
- content: "A";
- color:var(--b3-font-color4);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color5)"]::before{
- content: "A";
- color:var(--b3-font-color5);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color6)"]::before{
- content: "A";
- color:var(--b3-font-color6);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color7)"]::before{
- content: "A";
- color:var(--b3-font-color7);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color8)"]::before{
- content: "A";
- color:var(--b3-font-color8);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color9)"]::before{
- content: "A";
- color:var(--b3-font-color9);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color10)"]::before{
- content: "A";
- color:var(--b3-font-color10);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color11)"]::before{
- content: "A";
- color:var(--b3-font-color11);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color12)"]::before{
- content: "A";
- color:var(--b3-font-color12);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color13)"]::before{
- content: "A";
- color:var(--b3-font-color13);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[data-type="backgroundColor"]{
- border-radius: 3px;
- width:22px;
- height:22px;
- box-shadow: 0 0 0 1px var(--b3-color--square) inset;
-}
-.b3-color__square[data-type="backgroundColor"]::before{
- content: "A";
- color:var(--b3-theme-on-background);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square:hover{
- box-shadow: 0 0 0 1px var(--b3-theme-on-background) inset;
-}
-/* 无序列表 */
-.protyle-wysiwyg [data-node-id].li>.protyle-action{
- color: var(--b3-theme-on-background);
-}
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.protyle-action:after, .protyle-wysiwyg [data-node-id].li>.protyle-action:hover:after{
- background-color: var(--b3-border-color)!important;
-}
-/* 有序列表 */
-.protyle-wysiwyg [data-node-id].li[data-subtype="o"]>.protyle-action--order:after{
- padding:4px;
- margin:-20px 0 0 -12px;
- height:32px;
-}
-.protyle-wysiwyg div[fold="1"].li[data-subtype="o"]>.protyle-action--order:after{
- background: url("img/square.svg") no-repeat center!important;
- transition:none;
-}
-.protyle-wysiwyg [data-node-id].li[data-subtype="o"]>.protyle-action--order:hover:after{
- background: url("img/square.svg") no-repeat center!important;
- transition:none;
-}
-/* 任务列表 */
-.protyle-task--done{
- color: var(--b3-task-done-color);
- text-decoration: line-through;
-}
-.protyle-task--done svg{
- color: var(--b3-theme-primary) !important;
-}
-.protyle-task--done:hover svg{
- color: var(--b3-task-done-hover) !important;
-}
-.protyle-wysiwyg [data-node-id].li>.protyle-action--task:hover:after{
- display:none;
-}
-/* 引述 */
-.protyle-wysiwyg .bq{
- padding: 0.3em 1em;
- color: var( --b3-theme-on-background);
- border-left: 0.25em solid var(--b3-theme-on-background);
- border-radius:0 3px 3px 0;
- margin-left:4px;
- background-color: var(--b3-bq-background);
-}
-/* 表格 */
-.b3-typography table, .protyle-wysiwyg table{
- font-weight:500;
- border-radius:3px;
- border:1px solid var(--b3-border-color);
-}
-.b3-typography colgroup, .protyle-wysiwyg colgroup{
- border-style:hidden;
-}
-.protyle-wysiwyg table tbody tr{
- background-color:var(--b3-theme-background);
-}
-/* 自定义表格宽度 */
-.protyle-wysiwyg div.table[data-node-id]{
- width: calc(100% - 8px);
-}
-.protyle-wysiwyg div.table[data-node-id] table {
- width: auto;
-}
-.protyle-wysiwyg [data-node-id][custom-f~=auto] table {
- width: auto !important;
- white-space: nowrap;
-}
-/* 表头和表行格式一致 */
-.protyle-wysiwyg [data-node-id][custom-t~=biaotou] table th {
- font-weight: normal !important;
- text-align: left !important;
- color: inherit !important;
- background-color: var(--b3-theme-background) !important;
-}
-/* 标签 */
-.protyle-wysiwyg span[data-type="tag"] {
- font-size: 90%;
- border-radius: 3px;
- padding:0px 6px 2px 6px;
- color: var( --b3-theme-on-background)!important;
- border-bottom:none !important;
- background-color:var(--b3-font-background7);
-}
-/*###############自定义标签颜色#######################*/
-.protyle-wysiwyg span[data-content="重要"]/*自定义标签内容*/{
- background-color:var(--b3-font-background13);/*自定义标签颜色*/
-}
-
-.protyle-wysiwyg span[data-content="TODO"]{
- background-color:var(--b3-font-background8);
-}
-
-.protyle-wysiwyg span[data-content="注意"]{
- background-color:var(--b3-font-background7);
-}
-/*块引用*/
-.protyle-wysiwyg [data-node-id] span[data-type="block-ref"]{
- font-size: 95%;
- padding:0px 5px 1px 5px;
- color:var(--b3-theme-on-background)!important;
- background-color:var(--b3-block-ref-background);
- border-bottom: 1px dashed var(--b3-theme-on-surface);
-}
-.protyle-wysiwyg [data-node-id] span[data-type="block-ref"]:hover{
- background-color:var(--b3-list-background-focus);
-}
-/* 超链接 */
-.protyle-wysiwyg [data-node-id] span[data-type="a"]{
- padding: 0 2px;
- color: var(--b3-theme-on-surface);
- border-bottom:1px solid var(--b3-border-color);
-}
-.protyle-wysiwyg [data-node-id] span[data-type="a"]:hover{
- color: var(--b3-theme-on-background);
- border-bottom:1px solid var(--b3-theme-on-background);
-}
-/* 嵌入块 */
-.protyle-wysiwyg [data-node-id].render-node[data-type="NodeBlockQueryEmbed"]{
- color: var( --b3-theme-on-background);
- border-left: 1px dashed var(--b3-theme-on-surface);
- background-color: var(--b3-theme-surface-light);
- border-radius:0 5px 5px 0;
-}
-/* 命名,别名,备注*/
-.protyle-attr--name,.protyle-attr--alias,.protyle-attr--memo{
- color: var(--b3-font-color3);
- font-size:90%;
- padding:0 3px;
- width:auto;
-}
-/*代码块*/
-.code-block {
- margin-left:4px!important;
-}
-.b3-typography .hljs, .protyle-wysiwyg .hljs{
- background-color:var(--b3-code-block-hljs)!important;
- padding: 30px 10px 22px 10px;
-}
-.protyle-wysiwyg[contenteditable="true"] .code-block .protyle-action{
- padding:6px 3px;
-}
-.code-block .protyle-action .protyle-action__language{
- height:14px;
- line-height:12px;
- border-radius:3px;
- padding:4px 4px;
-}
-.code-block .protyle-action .protyle-action__language:hover{
- background-color:var(--b3-list-background);
-}
-.code-block .protyle-action .protyle-action__copy,.code-block .protyle-action .protyle-action__menu{
- margin-top:-3px;
- color:var(--b3-icons-tooltips);
- background-color:var(--b3-list-background);
-}
-.code-block .protyle-action .protyle-action__copy:hover,
-.code-block .protyle-action .protyle-action__menu:hover{
- background-color:var(--b3-list-background-focus);
-}
-.protyle-linenumber__rows{
- background-color: var(--b3-linenumber-rows);
- padding: 30px 4px 22px 4px;
-}
-.protyle-wysiwyg [data-node-id][fold="1"]:not(.li):not([data-type="NodeHeading"]).code-block{
- height: 2.2em;
-}
-/*行内代码*/
-.b3-typography code:not(.hljs), .protyle-wysiwyg code:not(.hljs){
- color:var(--b3-inline-code);
-}
-/*折叠样式*/
-.protyle-wysiwyg div[fold="1"]:not(div[data-type="NodeListItem"]){
- background-color:var(--b3-fn__flex-shrink-background);
- border-radius:5px;
- border:1px solid var(--b3-border-fold);
-}
-.protyle-wysiwyg div[fold="1"][data-type="NodeHeading"]:before{
- background-color:transparent;
-}
-
-
-/* ————————————————————弹出菜单&设置菜单———————————————————— */
-.b3-menu{
- animation: menu 0.2s ease-in-out;
- box-shadow: var(--b3-menu-shadow);
- background-color:var(--b3-theme-background);
- padding:5px 4px;
-}
-.b3-menu .b3-menu__submenu{
- top:-6px;
- padding:5px 4px;
- margin:0 4px;
- background-color:var(--b3-theme-background)!important;
-}
-.b3-menu__item{
- padding: 0 8px;
- background-color: var(--b3-theme-background);
- border-radius:3px;
-}
-.b3-menu__item:hover:not(.b3-menu__item--readonly):not(.b3-menu__item--custom),
-.b3-menu__item--current {
- background-color:var(--b3-list-background);
-}
-.b3-menu__accelerator{
- color:var(--b3-scroll-color-hover);
-}/*快捷键提示*/
-.b3-list-item--big{
- padding: 14px 24px;
- border-radius: 0px;
-}
-/* 按钮 */
-.b3-button:not(.b3-button--text):not(.b3-button--cancel){
- font-weight:700;
- background-color:var(--b3-theme-primary);
- color: var(--b3-theme-background) !important;
- border:1px solid rgb(15 15 15 / 10%);
- box-shadow:rgb(15 15 15 / 10%) 0px 1px 2px;
-}
-
-.b3-button:not(.b3-button--text):not(.b3-button--cancel):hover{
- background-color:var(--b3-button);
-}
-/* 开关 */
-.b3-switch {
- height: 14px;
- width: 26px;
- padding: 1px;
- border-radius: 44px;
- box-sizing: content-box;
- background: var(--b3-border-color);
-}
-
-.b3-switch::after {
- border: none;
- box-shadow: none;
- width: 14px;
- height: 14px;
- border-radius: 44px;
- background: var(--b3-theme-background);
- transform: translateX(5px) translateY(4px);
-}
-
-.b3-switch::before {
- display: none !important;
-}
-
-.b3-switch:checked {
- background-color: var(--b3-theme-primary);
-}
-
-.b3-switch:checked:after {
- background: var(--b3-theme-background);
- transform: translateX(17px) translateY(4px);
-}
-/*属性面板*/
-.b3-dialog__container{
- background-color: var(--b3-fn__flex-shrink-background);
-}
-/*设置菜单窗口*/
-.b3-dialog__container .fn__flex-column{
- background-color: var(--b3-theme-background);
- border-radius: 5px;
-}
-.b3-dialog__container .b3-list--background
-{
- background-color:var(--b3-fn__flex-shrink-background);
- border-radius:0 0 0 5px;
- border-right: 0px;
-
-}
-.fn__flex .b3-label{
- padding: 20px 0px;
- margin: 0% 4%;
-}
-.b3-list-item--big .b3-list-item__graphic{
- height: 14px;
- width: 14px;
- color:var(--b3-list-background-more);
-}
-/*引用块弹出框*/
-.block__popover--open{
- border:none;
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-}
-.block__edit>.protyle-breadcrumb>.block__icon svg{
- color:var(--b3-theme-on-surface);
- width:14px;
- height:14px;
- padding: 5px;
-}
-.block__edit>.protyle-breadcrumb>.block__icon{
- padding: 0px;
-}
-.block__popover--move>.block__icons{
- padding:0 10px;
-}
-/* 弹出框钉住 */
-.block__icon--active[data-type='pin'] svg{
- color: var(--b3-theme-primary)!important;
- transition: all 200ms;
- transform: rotate(-46deg);
-}
-.block__icon--active{
- background-color:transparent;
-}
-/* 选择下拉菜单 */
-.b3-select {
- border: 1px solid var(--b3-border-color);
- padding: 2px 8px 4px 8px;
-}
-/* 移动文档菜单 */
-#foldList .b3-list-item__icon{
- padding-left:18px;
-}
-#foldList .b3-list-item__showall{
- padding-left:3px;
- height:26px;
- line-height:26px;
- color:var(--b3-theme-on-surface);
-}
-/*历史面板*/
-.b3-dialog__container .layout-tab-bar .item{
- padding: 8px 14px;
-}
-.b3-dialog__container .layout-tab-bar .item--focus{
- position:relative;
-}
-.b3-dialog__container .layout-tab-bar .item--focus::after{
- content: '';
- position: absolute;
- bottom: -7px;
- left: 0px;
- right: 0px;
- height: 2px;
- background-color:var(--b3-item-focus);
-}
-div#historyContainer{
- border-top:1px solid var(--b3-border-color);
-}
-/*pdf*/
-.pdf__outer,#sidebarContainer,#toolbarViewer,#toolbarViewer>.fn__flex-1{
- background-color:var(--b3-fn__flex-shrink-background);
-}
-
-#toolbarSidebar,#toolbarSidebar>.fn__flex-1{
- background-color:var(--b3-toolbarSidebar);
-}
-.pdfViewer{
- background-color:var(--b3-theme-background);
-}
-.b3-color__square{
- border-radius: 3px;
- width:22px;
- height:22px;
- box-shadow: 0 0 0 1px var(--b3-border-color) inset;
- font-weight: 500;
-}
-.b3-color__square[style*="--b3-pdf-background"]::before{
- content: "A";
- color:var(--b3-theme-on-background);
- margin-top:-2px;
- font-weight:500;
- font-size:1.1em;
- }
-/*pdf批注*/
-.protyle-wysiwyg [data-node-id] span[data-type="file-annotation-ref"]:before {
- content:"💡 ";
-}
-.protyle-wysiwyg span[data-type="file-annotation-ref"] {
- font-size: 90%;
- border-radius: 3px;
- padding:2px 6px 4px 6px;
- color: var( --b3-theme-on-background)!important;
- background-color:var(--b3-toolbar-item-hover);
-}
-.protyle-wysiwyg span[data-type="file-annotation-ref"]:hover {
- background-color:var(--b3-border-color);
-}
-/* '/'弹出分栏*/
-.b3-menu .b3-list-item{
- border-radius:3px;
-}
-.b3-menu .b3-list-item__text{
- margin:0 0 0 8px;
- color:var(--b3-theme-on-background);
-}
-.b3-menu .b3-list-item__graphic{
- margin:0px;
- width:10px;
- height:12px;
- border:1px solid var(--b3-border-color);
-}
-.b3-menu.b3-list.b3-list--background.hint--menu{
- display: flex;
- flex-flow: column wrap;
- min-width: 50vw !important;
- padding:5px 0px 5px 5px;
-}
-@media screen and (min-width: 1280px){
- .b3-menu.b3-list.b3-list--background.hint--menu>.b3-list-item--two,.b3-menu.b3-list.b3-list--background.hint--menu>.b3-menu__separator{
- width:calc(25% - 5px);
-}
- .b3-menu.b3-list.b3-list--background.hint--menu{
- max-height: 412px !important;
- }
-}
-@media screen and (max-width: 1280px) {
- .b3-menu.b3-list.b3-list--background.hint--menu>.b3-list-item--two,.b3-menu.b3-list.b3-list--background.hint--menu>.b3-menu__separator{
- width:calc(33.3% - 5px);
- }
- .b3-menu.b3-list.b3-list--background.hint--menu{
- max-height: 540px !important;
- }
-}
-/*文本框选颜色*/
-::selection {
- background: var( --b3-theme-primary-lightest);
-}
-/*滚动条*/
-::-webkit-scrollbar {
- width : var(--webkit-scrollbar);
- height: var(--webkit-scrollbar);
- background-color:var(--b3-scroll-bgcolor);
-}
-::-webkit-scrollbar-thumb:hover{
- background-color:var(--b3-scroll-color-hover);
-}
-::-webkit-scrollbar-thumb{
- border-radius: var(--webkit-scrollbar-thumb);
-}
-/* 动态加载和调节进度条*/
-.b3-slider{height:24px;}
-.b3-slider::-webkit-slider-runnable-track {
- height: 4px;
- background: var(--b3-theme-primary-lighter);
-
-
-}
-.b3-slider::-webkit-slider-container {
-padding:3px;
- height: 30px;
- overflow: hidden;
-}
-
-.b3-slider::-webkit-slider-thumb {
- transform:unset !important;
- width: 8px;
- height: 8px;
- background-color: #fff;
- border: 2px solid transparent;
- margin-top: -2px;
- border-image: linear-gradient(var(--b3-theme-primary),var(--b3-theme-primary)) 0 fill / 1 5 1 0 / 0px 0px 0 2000px;
- box-shadow: 0px 0px 0px 3px var(--b3-theme-primary) ;
-}
-.b3-slider::-webkit-slider-thumb:hover{
- box-shadow:0px 0px 0px 3px var(--b3-theme-primary),0px 0px 0px 5px var(--b3-theme-primary-lighter);
- transition:all 500ms;
-}
-
-/*底栏适配调整测试*/
-.status{
- height:30px;
- background-color:transparent;
-}
-.status .toolbar__item{
- margin: 7px 5px 13px 5px;
- border-radius: 5px;
- background-color: var(--b3-scroll-color);
-}
-
-.status .toolbar__item svg{
- padding:5px;
- color:var(--b3-dockright-color);
-}
-.body--win32>.fn__flex-1{
- overflow:visible;
-}
-.dock#dockLeft,
-.dock#dockRight{
- padding-top:10px;
- padding-bottom:30px;
-}
-
-.layout#layouts .fn__flex-column>.fn__flex-1>.fn__flex>.layout-tab-container>.fn__flex-column{
- padding-bottom:30px;
-}
-.layout#layouts{
- margin-bottom:-30px;
-}
-
-.status__counter:not(:empty){
- border-radius:5px;
- background-color:var(--b3-theme-primary);
- color:#fff;
- padding-left:10px;
- margin-right:5px;
- margin-bottom:5px;
- opacity:0;
- transition: opacity 300ms;
- transition-delay: 3000ms;
-}
-.status__counter:not(:empty) span{
- color:#fff;
-}
-.status__msg:not(:empty){
- opacity:0.5;
- animation: statusmsg 5s ease-in-out;
- max-width: 180px;
- padding:2px 5px 5px 5px;
- font-size:80%;
- border-radius:5px;
- background-color:var(--b3-scroll-color);
- margin-left:5px;
- margin-bottom:5px;
- transition: max-width 300ms,opacity 300ms;
- transition-delay: 2000ms;
-}
-.status__msg:not(:empty):hover{
- opacity:1;
- max-width:400px;
- transition: max-width 500ms ease-out;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/ordered-list.css b/app/appearance/themes/notion-theme/style/ordered-list.css
deleted file mode 100644
index 55870b92c4..0000000000
--- a/app/appearance/themes/notion-theme/style/ordered-list.css
+++ /dev/null
@@ -1,86 +0,0 @@
-.li[data-subtype="o"] .li[data-subtype="o"] .protyle-action:not(.protyle-action--task){
- color:transparent;
-}
-.li[data-subtype="o"] .li[data-subtype="o"] .protyle-action::after{
- color:var(--b3-theme-on-background);
-}
-.list[data-subtype="o"]{
- counter-reset: o1 0 o2 0 o3 0;
-}
-.li[data-subtype="o"]>.protyle-action::after{
- padding:3px 2px;
- width: 24px;
- display:flex;
- justify-content: center;
-}
-
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o2;
- content: counter(o2,lower-latin)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o3;
- content: counter(o3,lower-roman)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o1;
- content: counter(o1,decimal)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o2;
- content: counter(o2,lower-latin)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o3;
- content: counter(o3,lower-roman)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o1;
- content: counter(o1,decimal)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o2;
- content: counter(o2,lower-latin)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o3;
- content: counter(o3,lower-roman)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o1;
- content: counter(o1,decimal)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o2;
- content: counter(o2,lower-latin)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o3;
- content: counter(o3,lower-roman)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o1;
- content: counter(o1,decimal)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o2;
- content: counter(o2,lower-latin)".";
- position:absolute;
-}
-.list[data-subtype="o"]>.li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"] .li[data-subtype="o"]>.protyle-action::after{
- counter-increment: o3;
- content: counter(o3,lower-roman)".";
- position:absolute;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/topbar/leftcolumn.css b/app/appearance/themes/notion-theme/style/topbar/leftcolumn.css
deleted file mode 100644
index 87a8c25779..0000000000
--- a/app/appearance/themes/notion-theme/style/topbar/leftcolumn.css
+++ /dev/null
@@ -1,44 +0,0 @@
-.fn__flex-shrink .layout-tab-container>.fn__flex-column.file-tree{
- background-color:var(--b3-theme-background)!important;
-}
-
-.fn__flex-column.fn__flex-shrink {
- opacity:0;
- transform:translateX(-70%);
- transform-origin: 0 0 ;
- position:absolute;
- z-index:5;
- top:80px;
- bottom:50px;
- left:0px;
- min-height: unset;
- height:calc(100% - 130px);
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
- border-left:36px solid transparent;/*增加点击区域*/
- border-radius:0 5px 5px 0;
- overflow:hidden;
- transition: all 200ms!important;
-}
-
-.fn__flex-shrink:hover,#dockLeft:hover+.layouts .fn__flex-column.fn__flex-shrink {
- opacity:1;
- transform:translateX(0%);
- transition: all 300ms!important;
-}
-.dock__item {
- z-index:7;
-}
-#dockLeft:before{
- content: "";
- height:calc(100% - 35px);
- width:36px;
- left:-36px;
- box-shadow: var(--b3-dock-background) 36px 0px 0px 0px;
- z-index:6;
- position: absolute;
- bottom:0px;
-}
-
-#dockLeft.fn__none+#layouts .fn__flex-column.fn__flex-shrink {
- left:-36px;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/topbar/notion-dark-mode.css b/app/appearance/themes/notion-theme/style/topbar/notion-dark-mode.css
deleted file mode 100644
index f61dfaa8ca..0000000000
--- a/app/appearance/themes/notion-theme/style/topbar/notion-dark-mode.css
+++ /dev/null
@@ -1,285 +0,0 @@
-:root {
- /* 主色 */
- --b3-theme-primary: rgb(46, 170, 220);/* 主色 */
- --b3-theme-primary-light: rgba(46, 170, 220, 0.54);
- --b3-theme-primary-lighter: rgba(46, 170, 220, 0.38);
- --b3-theme-primary-lightest: rgba(46, 170, 220, 0.2);
- --b3-theme-secondary: #f3a92f;
- --b3-theme-background: #2f3437;/* 编辑区背景 */
- --b3-theme-background-light: rgba(230, 230, 230, .1);
- --b3-theme-surface:rgba(55, 60, 63);/* 面板主色 */
- --b3-theme-surface-light: rgba(41, 42, 45, .86);
- --b3-theme-surface-lighter:rgba(230, 230, 230, .06);
- --b3-theme-error: #d23f31;
-
- /* 文字颜色 */
- --b3-theme-on-primary: #fff;
- --b3-theme-on-secondary: #fff;
- --b3-theme-on-background: #ebebeb;
- --b3-theme-on-surface: #afb1b2;
- --b3-theme-on-surface-light: rgba(154, 160, 166, .68);
- --b3-theme-on-error: #fff;
-
- /* 字体 */
- --b3-font-family:apple-system, BlinkMacSystemFont, "Segoe UI", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-code: "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-graph: mononoki;
- --b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
- --b3-font-family-math: KaTeX_Math;
-
- /* 线条 */
- --b3-border-color: rgba(230, 230, 230, .1);
-
- /* 滚动条 */
- --b3-scroll-color: rgba(71, 76, 80 );
- --b3-scroll-color-hover: rgba(104,108,110);
- --b3-scroll-bgcolor: transparent;
-
- --b3-border-scroll: rgba(255, 255, 255, 0.2);
-
- --webkit-scrollbar: 6px;
- --webkit-scrollbar-thumb: 4px;
- /* 列表 */
- --b3-list-hover: rgba(230, 230, 230, .05);
-
- /* 菜单 */
- --b3-menu-background: #27282a;
-
- /* 提示 */
- --b3-tooltips-color: rgba(70, 72, 76, .86);
-
- /* 遮罩 */
- --b3-mask-background: rgba(0, 0, 0, 0.78);
-
- /* 卡片背景 */
- --b3-card-error-color: #d69595;
- --b3-card-error-background: var(--b3-font-background13);
- --b3-card-warning-color: rgb(255, 213, 153);
- --b3-card-warning-background: var(--b3-font-background5);
- --b3-card-info-color: rgb(166, 213, 250);
- --b3-card-info-background: var(--b3-font-background10);
- --b3-card-success-color: rgb(183, 223, 185);
- --b3-card-success-background: var(--b3-font-background8);
-
- /* 自定义文字 */
- --b3-font-color1: #FFF;
- --b3-font-color2: #6f7477;
- --b3-font-color3: rgb(147, 114, 100);
- --b3-font-color4: rgb(253, 162, 68);
- --b3-font-color5: rgb(255, 184, 73);
- --b3-font-color6: rgb(255, 220, 73);
- --b3-font-color7: rgb(77, 171, 154);
- --b3-font-color8: rgb(82, 178, 202);
- --b3-font-color9: rgb(82, 156, 202);
- --b3-font-color10: rgb(154, 109, 215);
- --b3-font-color11: rgb(226, 85, 161);
- --b3-font-color12: rgb(255, 115, 105);
- --b3-font-color13: rgb(223, 84, 82);
-
- --b3-font-background1: rgb(35, 38, 40);
- --b3-font-background2: rgb(63, 68, 71);
- --b3-font-background3: rgb(69, 75, 78);
- --b3-font-background4: rgb(67, 64, 64);
- --b3-font-background5: rgb(89, 74, 58);
- --b3-font-background6: rgb(89, 79, 59);
- --b3-font-background7: rgb(89, 86, 59);
- --b3-font-background8: rgba(53, 76, 75);
- --b3-font-background9: rgb(54, 79, 84);
- --b3-font-background10: rgb(54, 73, 84);
- --b3-font-background11: rgb(68, 63, 87);
- --b3-font-background12: rgb(83, 59, 76);
- --b3-font-background13: rgb(89, 65, 65);
- /*callout*/
- --b3-bq-background1: rgb(35, 38, 40 , .3);
- --b3-bq-background2: rgb(63, 68, 71 , .3);
- --b3-bq-background3: rgb(69, 75, 78 , .3);
- --b3-bq-background4: rgb(67, 64, 64 , .3);
- --b3-bq-background5: rgb(89, 74, 58 , .3);
- --b3-bq-background6: rgb(89, 79, 59 , .3);
- --b3-bq-background7: rgb(89, 86, 59 , .3);
- --b3-bq-background8: rgba(53, 76, 75 , .3);
- --b3-bq-background9: rgb(54, 79, 84 , .3);
- --b3-bq-background10: rgb(54, 73, 84 , .3);
- --b3-bq-background11: rgb(68, 63, 87 , .3);
- --b3-bq-background12: rgb(83, 59, 76 , .3);
- --b3-bq-background13: rgb(89, 65, 65 , .3);
- /* 动画效果 */
- --b3-transition: all .15s cubic-bezier(0, 0, .2, 1) 0ms;
- --b3-width-transition: width .15s cubic-bezier(0, 0, .2, 1) 0ms;
-
- /* 阴影 */
- --b3-point-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
- --b3-dialog-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
- --b3-menu-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-
- /* 图表颜色 */
- --b3-graph-p-point: #076f7e;
- --b3-graph-heading-point: #660e7a;
- --b3-graph-math-point: #80FFA5;
- --b3-graph-code-point: #00DDFF;
- --b3-graph-table-point: #37A2FF;
- --b3-graph-list-point: #FF0087;
- --b3-graph-todo-point: #FFBF00;
- --b3-graph-olist-point: #b3005f;
- --b3-graph-listitem-point: #f65b00;
- --b3-graph-bq-point: #8d48e3;
- --b3-graph-super-point: #dd79ff;
- --b3-graph-doc-point: #202124;
- --b3-graph-tag-point: #dbf32f;
- --b3-graph-asset-point: #05c091;
- --b3-graph-line: #5f6368;
- --b3-graph-ref-line: #d23f31;
- --b3-graph-tag-line: #5f6b06;
- --b3-graph-tag-tag-line: #dbf32f;
- --b3-graph-asset-line: #037457;
- --b3-graph-hl-point: #f3a92f;
- --b3-graph-hl-line: #4285f4;
-
- /* 编辑器搜索颜色 */
- --b3-protyle-search-background: #32593c;
- --b3-protyle-search-border-color: #486a51;
- --b3-protyle-search-current-background: #204282;
-
- /* 代码片段背景 */
- --b3-protyle-code-background: rgba(240, 246, 252, .15);
- --b3-protyle-code-linenumber-hl: #26364a;
-
- /* 所见即所得行内元素颜色 */
- --b3-protyle-inline-strong-color: #e8eaed;
- --b3-protyle-inline-em-color: #e8eaed;
- --b3-protyle-inline-s-color: #e8eaed;
- --b3-protyle-inline-link-color: #8ab4f8;
- --b3-protyle-inline-mark-background: #32593c;
- --b3-protyle-inline-mark-color: #e8eaed;
- --b3-protyle-inline-tag-color: #9aa0a6;
- --b3-protyle-inline-blockref-color: #9876aa;
-
- /* PDF */
- --b3-pdf-selection: #779170;
- --b3-pdf-sidebar-width: 200px;
- --b3-pdf-offset: 0;
- --b3-pdf-background1: var(--b3-font-background5);
- --b3-pdf-background2: var(--b3-font-background6);
- --b3-pdf-background3: var(--b3-font-background7);
- --b3-pdf-background4: var(--b3-font-background8);
- --b3-pdf-background5: var(--b3-font-background10);
- --b3-pdf-background6: var(--b3-font-background11);
- --b3-pdf-background7: var(--b3-font-background13);
-
- /* 自定义结构配色 */
- /* 顶栏 */
- --b3-toolbar-blur-background: var(--b3-fn__flex-shrink-background);
- --b3-toolbar-background: var(--b3-theme-background);
- --b3-toolbar-item-hover: rgba(255, 255, 255, 0.1);
- --b3-toolbar-closeWindow-hover: #e81123;
- --b3-toolbar-closeWindow-svg: #fff;
- /* dock栏 */
- --b3-dockright-color: rgba(114, 118, 120);
- --b3-dockright-background: #414648;
- --b3-dockleft-color: rgba(114, 118, 120);
- --b3-dock-background: #414648;
- --b3-dockright-item-active-background: rgba(71, 76, 80 );
- --b3-dockleft-item-active-background: rgba(71, 76, 80 );
- --b3-dock-item-active-color: #eb8383;
- --b3-dock-item-hover-background: rgba(71, 76, 80 );
-
- --b3-dock-item-width: 36px;
- --b3-dock-item-padding: 5px;
- --b3-dock-item-margin: 7px 5px 7px 5px;
- --b3-dock-item-radius: 5px;
- /* 侧栏面板 */
- --b3-fn__flex-column-background: rgba(55, 60, 63);
- --b3-fn__flex-shrink-background: rgba(55, 60, 63);
- --b3-block-logo-color: rgba(55, 60, 63);
- --b3-block-logo-background-color: rgba(114, 118, 120);
- --b3-block-icon-svg-color: rgba(114, 118, 120);
- --b3-block-icon-hover: rgba(255, 255, 255, 0.1 );
- --b3-block-icon-active: #eb8383;
- --b3-list-item-arrow: rgba(149, 152, 156);
- --b3-list-background: rgba(255, 255, 255, 0.1);
- --b3-list-background-focus: rgba(255, 255, 255, 0.2 );
- --b3-list-background-more:#c5c7c8;
-
- --b3-flex-column-padding:6px 0px 4px 0px;
- --b3-list-item-radius: 3px;
- /* 大纲数字 */
- --h1-list-graphic: #eb8383;
- --h2-list-graphic: #ae9acb;
- --h3-list-graphic: #7db5cd;
- --h4-list-graphic: #71a796;
- --h5-list-graphic: #dcbf61;
- --h6-list-graphic: #dda36a;
- /* 线条 */
- --b3-layout-resize: rgba(230, 230, 230, .1);
- --b3-shrink-layout-resize: rgba(230, 230, 230, .1);
- --b3-layout-resize-hover: var(--b3-scroll-color);
- --flex-width-transition:width 150ms linear; /*调节宽度动画*/
- --b3-border-fold: rgba(114, 118, 120);/*折叠边框*/
- --b3-layout-resize-width: 1px;
- /* 页签 */
- --b3-item-focus: rgba(255, 255, 255 ,0.2);
- /* 面包屑 */
- --b3-protyle-breadcrumb-shadow:var(--b3-layout-resize);
- --b3-protyle-breadcrumb-arrow: rgba(174,172,166);
- --b3-breadcrumb-svg: var(--b3-theme-on-surface);
- /* 头图按钮 */
- --b3-icons-tooltips: var(--b3-theme-on-surface);
- --b3-icons-tooltips-hover: var(--b3-list-background);
- --b3-img-icons-tooltips: var(--b3-theme-on-surface);
- --b3-img-icons-tooltips-bg: var(--b3-theme-background);
- --b3-img-icons-span: rgba(255, 255, 255, .5);
- /* 块标 */
- --b3-gutters-color: var(--b3-scroll-color);
- --b3-gutters-background: var(--b3-border-color);
- /* 弹出工具条字体颜色选择 */
- --b3-color--square: var(--b3-border-color);
- /* 任务列表 */
- --b3-task-done-color: var(--b3-scroll-color-hover);
- --b3-task-done-hover: #069ccd;
- /* 引述 */
- --b3-bq-background: rgba(54, 59, 62);
- /* 块引用 */
- --b3-block-ref-background: var(--b3-toolbar-item-hover);
- /* 代码块 */
- --b3-linenumber-rows: rgba(61, 66, 69);
- --b3-code-block-hljs: var(--b3-fn__flex-shrink-background);
- /*行内代码*/
- --b3-inline-code:var(--b3-theme-error);
- /*按钮*/
- --b3-button: #069ccd;
- /*pdf*/
- --b3-toolbarSidebar: #484d50;
- /*导图*/
- --b3-border-daotu: 2px solid rgba(69, 74, 77);
- --b3-block-daotu:var(--b3-theme-surface-light);
- /*看板*/
- --kbline-boarditem-minwidth: 14rem;/*看板卡片的最小宽度*/
- --kb--li--background:rgba(55, 60, 63);
- /*ctrlp*/
- --b3-list-item--meta: var(--b3-scroll-color-hover);
- /*底栏状态*/
- --b3-status-msg-background: var(--b3-scroll-color);
-}
-
-/* PDF */
-.pdfViewer .page canvas,
-.thumbnailImage {
- filter: grayscale(0%) invert(100%) contrast(100%) brightness(100%) hue-rotate(180deg);
-}
-
-.textLayer,
-.pdf__resize {
- mix-blend-mode: screen;
-}
-
-.b3-text-field::-webkit-calendar-picker-indicator {
- filter: invert(1)
-}
-body{
- border: 0px!important;
-}
-
-#notionToolbar {
- filter: hue-rotate(180deg) invert(90%);
-}
-
diff --git a/app/appearance/themes/notion-theme/style/topbar/notion-dark.css b/app/appearance/themes/notion-theme/style/topbar/notion-dark.css
deleted file mode 100644
index 42731579b1..0000000000
--- a/app/appearance/themes/notion-theme/style/topbar/notion-dark.css
+++ /dev/null
@@ -1,304 +0,0 @@
-:root {
- /* 主色 */
- --b3-theme-primary: rgb(46, 170, 220);/* 主色 */
- --b3-theme-primary-light: rgba(46, 170, 220, 0.54);
- --b3-theme-primary-lighter: rgba(46, 170, 220, 0.38);
- --b3-theme-primary-lightest: rgba(46, 170, 220, 0.2);
- --b3-theme-secondary: #f3a92f;
- --b3-theme-background: #2f3437;/* 编辑区背景 */
- --b3-theme-background-light: rgba(230, 230, 230, .1);
- --b3-theme-surface:rgba(55, 60, 63);/* 面板主色 */
- --b3-theme-surface-light: rgba(41, 42, 45, .86);
- --b3-theme-surface-lighter:rgba(230, 230, 230, .06);
- --b3-theme-error: #d23f31;
-
- /* 文字颜色 */
- --b3-theme-on-primary: #fff;
- --b3-theme-on-secondary: #fff;
- --b3-theme-on-background: #ebebeb;
- --b3-theme-on-surface: #afb1b2;
- --b3-theme-on-surface-light: rgba(154, 160, 166, .68);
- --b3-theme-on-error: #fff;
-
- /* 字体 */
- --b3-font-family:apple-system, BlinkMacSystemFont, "Segoe UI", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-code: "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-graph: mononoki;
- --b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
- --b3-font-family-math: KaTeX_Math;
-
- /* 线条 */
- --b3-border-color: rgba(230, 230, 230, .1);
-
- /* 滚动条 */
- --b3-scroll-color: rgba(71, 76, 80 );
- --b3-scroll-color-hover: rgba(104,108,110);
- --b3-scroll-bgcolor: transparent;
-
- --b3-border-scroll: rgba(255, 255, 255, 0.2);
-
- --webkit-scrollbar: 6px;
- --webkit-scrollbar-thumb: 4px;
- /* 列表 */
- --b3-list-hover: rgba(230, 230, 230, .05);
-
- /* 菜单 */
- --b3-menu-background: #27282a;
-
- /* 提示 */
- --b3-tooltips-color: rgba(70, 72, 76, .86);
-
- /* 遮罩 */
- --b3-mask-background: rgba(0, 0, 0, 0.78);
-
- /* 卡片背景 */
- --b3-card-error-color: #d69595;
- --b3-card-error-background: var(--b3-font-background13);
- --b3-card-warning-color: rgb(255, 213, 153);
- --b3-card-warning-background: var(--b3-font-background5);
- --b3-card-info-color: rgb(166, 213, 250);
- --b3-card-info-background: var(--b3-font-background10);
- --b3-card-success-color: rgb(183, 223, 185);
- --b3-card-success-background: var(--b3-font-background8);
-
- /* 自定义文字 */
- --b3-font-color1: #FFF;
- --b3-font-color2: #6f7477;
- --b3-font-color3: rgb(147, 114, 100);
- --b3-font-color4: rgb(253, 162, 68);
- --b3-font-color5: rgb(255, 184, 73);
- --b3-font-color6: rgb(255, 220, 73);
- --b3-font-color7: rgb(77, 171, 154);
- --b3-font-color8: rgb(82, 178, 202);
- --b3-font-color9: rgb(82, 156, 202);
- --b3-font-color10: rgb(154, 109, 215);
- --b3-font-color11: rgb(226, 85, 161);
- --b3-font-color12: rgb(255, 115, 105);
- --b3-font-color13: rgb(223, 84, 82);
-
- --b3-font-background1: rgb(35, 38, 40);
- --b3-font-background2: rgb(63, 68, 71);
- --b3-font-background3: rgb(69, 75, 78);
- --b3-font-background4: rgb(67, 64, 64);
- --b3-font-background5: rgb(89, 74, 58);
- --b3-font-background6: rgb(89, 79, 59);
- --b3-font-background7: rgb(89, 86, 59);
- --b3-font-background8: rgba(53, 76, 75);
- --b3-font-background9: rgb(54, 79, 84);
- --b3-font-background10: rgb(54, 73, 84);
- --b3-font-background11: rgb(68, 63, 87);
- --b3-font-background12: rgb(83, 59, 76);
- --b3-font-background13: rgb(89, 65, 65);
- /*callout*/
- --b3-bq-background1: rgb(35, 38, 40 , .3);
- --b3-bq-background2: rgb(63, 68, 71 , .3);
- --b3-bq-background3: rgb(69, 75, 78 , .3);
- --b3-bq-background4: rgb(67, 64, 64 , .3);
- --b3-bq-background5: rgb(89, 74, 58 , .3);
- --b3-bq-background6: rgb(89, 79, 59 , .3);
- --b3-bq-background7: rgb(89, 86, 59 , .3);
- --b3-bq-background8: rgba(53, 76, 75 , .3);
- --b3-bq-background9: rgb(54, 79, 84 , .3);
- --b3-bq-background10: rgb(54, 73, 84 , .3);
- --b3-bq-background11: rgb(68, 63, 87 , .3);
- --b3-bq-background12: rgb(83, 59, 76 , .3);
- --b3-bq-background13: rgb(89, 65, 65 , .3);
- /* 动画效果 */
- --b3-transition: all .15s cubic-bezier(0, 0, .2, 1) 0ms;
- --b3-width-transition: width .15s cubic-bezier(0, 0, .2, 1) 0ms;
-
- /* 阴影 */
- --b3-point-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
- --b3-dialog-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
- --b3-menu-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-
- /* 图表颜色 */
- --b3-graph-p-point: #076f7e;
- --b3-graph-heading-point: #660e7a;
- --b3-graph-math-point: #80FFA5;
- --b3-graph-code-point: #00DDFF;
- --b3-graph-table-point: #37A2FF;
- --b3-graph-list-point: #FF0087;
- --b3-graph-todo-point: #FFBF00;
- --b3-graph-olist-point: #b3005f;
- --b3-graph-listitem-point: #f65b00;
- --b3-graph-bq-point: #8d48e3;
- --b3-graph-super-point: #dd79ff;
- --b3-graph-doc-point: #202124;
- --b3-graph-tag-point: #dbf32f;
- --b3-graph-asset-point: #05c091;
- --b3-graph-line: #5f6368;
- --b3-graph-ref-line: #d23f31;
- --b3-graph-tag-line: #5f6b06;
- --b3-graph-tag-tag-line: #dbf32f;
- --b3-graph-asset-line: #037457;
- --b3-graph-hl-point: #f3a92f;
- --b3-graph-hl-line: #4285f4;
-
- /* 编辑器搜索颜色 */
- --b3-protyle-search-background: #32593c;
- --b3-protyle-search-border-color: #486a51;
- --b3-protyle-search-current-background: #204282;
-
- /* 代码片段背景 */
- --b3-protyle-code-background: rgba(240, 246, 252, .15);
- --b3-protyle-code-linenumber-hl: #26364a;
-
- /* 所见即所得行内元素颜色 */
- --b3-protyle-inline-strong-color: #e8eaed;
- --b3-protyle-inline-em-color: #e8eaed;
- --b3-protyle-inline-s-color: #e8eaed;
- --b3-protyle-inline-link-color: #8ab4f8;
- --b3-protyle-inline-mark-background: #32593c;
- --b3-protyle-inline-mark-color: #e8eaed;
- --b3-protyle-inline-tag-color: #9aa0a6;
- --b3-protyle-inline-blockref-color: #9876aa;
-
- /* PDF */
- --b3-pdf-selection: #779170;
- --b3-pdf-sidebar-width: 200px;
- --b3-pdf-offset: 0;
- --b3-pdf-background1: var(--b3-font-background5);
- --b3-pdf-background2: var(--b3-font-background6);
- --b3-pdf-background3: var(--b3-font-background7);
- --b3-pdf-background4: var(--b3-font-background8);
- --b3-pdf-background5: var(--b3-font-background10);
- --b3-pdf-background6: var(--b3-font-background11);
- --b3-pdf-background7: var(--b3-font-background13);
-
- /* 自定义结构配色 */
- /* 顶栏 */
- --b3-toolbar-blur-background: var(--b3-fn__flex-shrink-background);
- --b3-toolbar-background: var(--b3-theme-background);
- --b3-toolbar-item-hover: rgba(255, 255, 255, 0.1);
- --b3-toolbar-closeWindow-hover: #e81123;
- --b3-toolbar-closeWindow-svg: #fff;
- /* dock栏 */
- --b3-dockright-color: rgba(114, 118, 120);
- --b3-dockright-background: rgba(230, 230, 230, .1);
- --b3-dockleft-color: rgba(114, 118, 120);
- --b3-dock-background: rgba(230, 230, 230, .1);
- --b3-dockright-item-active-background: rgba(71, 76, 80 );
- --b3-dockleft-item-active-background: rgba(71, 76, 80 );
- --b3-dock-item-active-color: #eb8383;
- --b3-dock-item-hover-background: rgba(71, 76, 80 );
-
- --b3-dock-item-width: 36px;
- --b3-dock-item-padding: 5px;
- --b3-dock-item-margin: 7px 5px 7px 5px;
- --b3-dock-item-radius: 5px;
- /* 侧栏面板 */
- --b3-fn__flex-column-background: rgba(55, 60, 63);
- --b3-fn__flex-shrink-background: rgba(55, 60, 63);
- --b3-block-logo-color: rgba(55, 60, 63);
- --b3-block-logo-background-color: rgba(114, 118, 120);
- --b3-block-icon-svg-color: rgba(114, 118, 120);
- --b3-block-icon-hover: rgba(255, 255, 255, 0.1 );
- --b3-block-icon-active: #eb8383;
- --b3-list-item-arrow: rgba(149, 152, 156);
- --b3-list-background: rgba(255, 255, 255, 0.1);
- --b3-list-background-focus: rgba(255, 255, 255, 0.2 );
- --b3-list-background-more:#c5c7c8;
-
- --b3-flex-column-padding:6px 0px 4px 0px;
- --b3-list-item-radius: 3px;
- /* 大纲数字 */
- --h1-list-graphic: #eb8383;
- --h2-list-graphic: #ae9acb;
- --h3-list-graphic: #7db5cd;
- --h4-list-graphic: #71a796;
- --h5-list-graphic: #dcbf61;
- --h6-list-graphic: #dda36a;
- /* 线条 */
- --b3-layout-resize: rgba(230, 230, 230, .1);
- --b3-shrink-layout-resize: rgba(230, 230, 230, .1);
- --b3-layout-resize-hover: var(--b3-scroll-color);
- --flex-width-transition:width 150ms linear; /*调节宽度动画*/
- --b3-border-fold: rgba(114, 118, 120);/*折叠边框*/
- --b3-layout-resize-width: 1px;
- /* 页签 */
- --b3-item-focus: rgba(255, 255, 255 ,0.2);
- /* 面包屑 */
- --b3-protyle-breadcrumb-shadow:var(--b3-layout-resize);
- --b3-protyle-breadcrumb-arrow: rgba(174,172,166);
- --b3-breadcrumb-svg: var(--b3-theme-on-surface);
- /* 头图按钮 */
- --b3-icons-tooltips: var(--b3-theme-on-surface);
- --b3-icons-tooltips-hover: var(--b3-list-background);
- --b3-img-icons-tooltips: var(--b3-theme-on-surface);
- --b3-img-icons-tooltips-bg: var(--b3-theme-background);
- --b3-img-icons-span: rgba(255, 255, 255, .5);
- /* 块标 */
- --b3-gutters-color: var(--b3-scroll-color);
- --b3-gutters-background: var(--b3-border-color);
- /* 弹出工具条字体颜色选择 */
- --b3-color--square: var(--b3-border-color);
- /* 任务列表 */
- --b3-task-done-color: var(--b3-scroll-color-hover);
- --b3-task-done-hover: #069ccd;
- /* 引述 */
- --b3-bq-background: rgba(54, 59, 62);
- /* 块引用 */
- --b3-block-ref-background: var(--b3-toolbar-item-hover);
- /* 代码块 */
- --b3-linenumber-rows: rgba(61, 66, 69);
- --b3-code-block-hljs: var(--b3-fn__flex-shrink-background);
- /*行内代码*/
- --b3-inline-code:var(--b3-theme-error);
- /*按钮*/
- --b3-button: #069ccd;
- /*pdf*/
- --b3-toolbarSidebar: #484d50;
- /*导图*/
- --b3-border-daotu: 2px solid rgba(69, 74, 77);
- --b3-block-daotu:var(--b3-theme-surface-light);
- /*看板*/
- --kbline-boarditem-minwidth: 14rem;/*看板卡片的最小宽度*/
- --kb--li--background:rgba(55, 60, 63);
- /*ctrlp*/
- --b3-list-item--meta: var(--b3-scroll-color-hover);
- /*底栏状态*/
- --b3-status-msg-background: var(--b3-scroll-color);
-}
-
-/* PDF */
-.pdfViewer .page canvas,
-.thumbnailImage {
- filter: grayscale(0%) invert(100%) contrast(100%) brightness(100%) hue-rotate(180deg);
-}
-
-.textLayer,
-.pdf__resize {
- mix-blend-mode: screen;
-}
-
-.b3-text-field::-webkit-calendar-picker-indicator {
- filter: invert(1)
-}
-body{
- border: 0px!important;
-}
-
-#notionToolbar {
- filter: hue-rotate(180deg) invert(90%);
-}
-
-.protyle-wysiwyg .hljs{
- background-color:#c8c2c8!important;
- filter: hue-rotate(90deg) invert(100%);
-}
-
-
-[id*=mermaid] line {
- stroke: #808080!important;
-}
-
-[id*=mermaid] .relation {
- filter: invert(100%)!important;
-}
-[id*=mermaid] .messageText {
- stroke: #808080!important;
-}
-[id*=mermaid] .relationshipLine {
- stroke: #808080!important;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/topbar/notion-light.css b/app/appearance/themes/notion-theme/style/topbar/notion-light.css
deleted file mode 100644
index 52e7dddef3..0000000000
--- a/app/appearance/themes/notion-theme/style/topbar/notion-light.css
+++ /dev/null
@@ -1,275 +0,0 @@
-:root {
- /* 主色 */
- --b3-theme-primary: rgb(46, 170, 220);/* 主色 */
- --b3-theme-primary-light: rgba(46, 170, 220, 0.54);
- --b3-theme-primary-lighter: rgba(46, 170, 220, 0.38);
- --b3-theme-primary-lightest: rgba(46, 170, 220, 0.2);
- --b3-theme-secondary: #f3a92f;
- --b3-theme-background: #fff;/* 编辑区背景 */
- --b3-theme-background-light: #dfe0e1;
- --b3-theme-surface: rgb(247, 246, 243);/* 面板主色 */
- --b3-theme-surface-light: rgba(243, 243, 243, .5);
- --b3-theme-error: #eb5757;
-
- /* 文字颜色 */
- --b3-theme-on-primary: #fff;
- --b3-theme-on-secondary: #fff;
- --b3-theme-on-background: rgb(55, 53, 47);
- --b3-theme-on-surface: rgba(55, 53, 47, 0.6);
- --b3-theme-on-surface-light: rgba(95, 99, 104, .68);
- --b3-theme-on-error: #fff;
-
- /* 字体 */
- --b3-font-family:apple-system, BlinkMacSystemFont, "Segoe UI", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-code: "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-graph: mononoki;
- --b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
- --b3-font-family-math: KaTeX_Math;
-
- /* 线条 */
- --b3-border-color: rgba(0, 0, 0, 0.1);
-
- /* 滚动条 */
- --b3-scroll-color: rgba(211,209,203,.5);
- --b3-scroll-color-hover: rgba(174,172,166);
- --b3-scroll-bgcolor: transparent;
-
- --b3-border-scroll: rgba(55, 53, 47, 0.2);
-
- --webkit-scrollbar: 6px;
- --webkit-scrollbar-thumb: 4px;
- /* 列表 */
- --b3-list-hover: rgba(55, 53, 47, 0.08);
-
- /* 菜单 */
- --b3-menu-background: #f8f9fa;
-
- /* 提示 */
- --b3-tooltips-color: rgba(15, 15, 15);
-
- /* 遮罩 */
- --b3-mask-background: rgba(0, 0, 0, 0.78);
-
- /* 卡片背景 */
- --b3-card-error-color: rgb(97, 26, 21);
- --b3-card-error-background: rgb(253, 236, 234);
- --b3-card-warning-color: rgb(102, 60, 0);
- --b3-card-warning-background: rgb(255, 244, 229);
- --b3-card-info-color: rgb(13, 60, 97);
- --b3-card-info-background: rgb(232, 244, 253);
- --b3-card-success-color: rgb(30, 70, 32);
- --b3-card-success-background: rgb(237, 247, 237);
-
- /* 自定义文字 */
- --b3-font-color1: #000;
- --b3-font-color2: rgba(55, 53, 47, 0.6);
- --b3-font-color3: rgb(100, 71, 58);
- --b3-font-color4: rgb(217, 115, 13);
- --b3-font-color5: #f5822e;
- --b3-font-color6: rgb(223, 171, 1);
- --b3-font-color7: #65b84d;
- --b3-font-color8: rgb(15, 123, 108);
- --b3-font-color9: rgb(11, 110, 153);
- --b3-font-color10: rgb(105, 64, 165);
- --b3-font-color11: rgb(173, 26, 114);
- --b3-font-color12: rgb(224, 62, 62);
- --b3-font-color13: #e81123;
-
- --b3-font-background1: rgb(198, 203, 208);
- --b3-font-background2: rgb(225, 225, 225);
- --b3-font-background3: rgb(235, 236, 237);
- --b3-font-background4: rgb(233, 229, 227);
- --b3-font-background5: rgb(246, 225, 205);
- --b3-font-background6: rgb(250, 235, 221);
- --b3-font-background7: rgb(251, 243, 219);
- --b3-font-background8: rgba(221, 237, 226);
- --b3-font-background9: rgb(221, 237, 234);
- --b3-font-background10: rgb(221, 235, 241);
- --b3-font-background11: rgb(234, 228, 242);
- --b3-font-background12: rgb(244, 223, 235);
- --b3-font-background13: rgb(251, 228, 228);
- /*callout*/
- --b3-bq-background1: rgb(198, 203, 208 , .3);
- --b3-bq-background2: rgb(225, 225, 225 , .3);
- --b3-bq-background3: rgb(235, 236, 237 , .3);
- --b3-bq-background4: rgb(233, 229, 227 , .3);
- --b3-bq-background5: rgb(246, 225, 205 , .3);
- --b3-bq-background6: rgb(250, 235, 221 , .3);
- --b3-bq-background7: rgb(251, 243, 219 , .3);
- --b3-bq-background8: rgba(221, 237, 226 , .3);
- --b3-bq-background9: rgb(221, 237, 234 , .3);
- --b3-bq-background10: rgb(221, 235, 241 , .3);
- --b3-bq-background11: rgb(234, 228, 242 , .3);
- --b3-bq-background12: rgb(244, 223, 235 , .3);
- --b3-bq-background13: rgb(251, 228, 228 , .3);
- /* 动画效果 */
- --b3-transition: all .15s cubic-bezier(0, 0, .2, 1) 0ms;
- --b3-width-transition: width .15s cubic-bezier(0, 0, .2, 1) 0ms;
-
- /* 阴影 */
- --b3-point-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
- --b3-dialog-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
- --b3-menu-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-
- /* 图表颜色 */
- --b3-graph-p-point: #076f7e;
- --b3-graph-heading-point: #660e7a;
- --b3-graph-math-point: #80FFA5;
- --b3-graph-code-point: #00DDFF;
- --b3-graph-table-point: #37A2FF;
- --b3-graph-list-point: #FF0087;
- --b3-graph-todo-point: #FFBF00;
- --b3-graph-olist-point: #b3005f;
- --b3-graph-listitem-point: #f65b00;
- --b3-graph-bq-point: #8d48e3;
- --b3-graph-super-point: #dd79ff;
- --b3-graph-doc-point: #202124;
- --b3-graph-tag-point: #dbf32f;
- --b3-graph-asset-point: #05c091;
- --b3-graph-line: #5f6368;
- --b3-graph-ref-line: #d23f31;
- --b3-graph-tag-line: #5f6b06;
- --b3-graph-tag-tag-line: #dbf32f;
- --b3-graph-asset-line: #037457;
- --b3-graph-hl-point: #f3a92f;
- --b3-graph-hl-line: #4285f4;
-
- /* 编辑器搜索颜色 */
- --b3-protyle-search-background: #ffe955;
- --b3-protyle-search-border-color: #f2e680;
- --b3-protyle-search-current-background: #a5d3fe;
-
- /* 代码片段背景 */
- --b3-protyle-code-background: rgba(27, 31, 35, .05);
- --b3-protyle-code-linenumber-hl: #b9d1f4;
-
- /* 所见即所得行内元素颜色 */
- --b3-protyle-inline-strong-color: #202124;
- --b3-protyle-inline-em-color: #202124;
- --b3-protyle-inline-s-color: #202124;
- --b3-protyle-inline-link-color: #4285f4;
- --b3-protyle-inline-mark-background: #ffe955;
- --b3-protyle-inline-mark-color: #202124;
- --b3-protyle-inline-tag-color: #5f6368;
- --b3-protyle-inline-blockref-color: #660e7a;
-
- /* PDF */
- --b3-pdf-selection: #d0e9c8;
- --b3-pdf-sidebar-width: 200px;
- --b3-pdf-offset: 0;
- --b3-pdf-background1: var(--b3-font-background5);
- --b3-pdf-background2: var(--b3-font-background6);
- --b3-pdf-background3: var(--b3-font-background7);
- --b3-pdf-background4: var(--b3-font-background8);
- --b3-pdf-background5: var(--b3-font-background10);
- --b3-pdf-background6: var(--b3-font-background11);
- --b3-pdf-background7: var(--b3-font-background13);
-
- /* 自定义结构配色 */
- /* 顶栏 */
- --b3-toolbar-blur-background: var(--b3-fn__flex-shrink-background);
- --b3-toolbar-background: var(--b3-theme-background);
- --b3-toolbar-item-hover: rgba(0, 0, 0, .05);
- --b3-toolbar-closeWindow-hover: #e81123;
- --b3-toolbar-closeWindow-svg: #fff;
- /* dock栏 */
- --b3-dockright-color: rgb(55, 53, 47, .5);
- --b3-dockright-background: rgba(237, 236, 233);
- --b3-dockleft-color: rgb(55, 53, 47, .5);
- --b3-dock-background: rgba(237, 236, 233);
- --b3-dockright-item-active-background: #fff;
- --b3-dockleft-item-active-background: #fff;
- --b3-dock-item-active-color: #eb8383;
- --b3-dock-item-hover-background: #fff;
-
- --b3-dock-item-width: 36px;
- --b3-dock-item-padding: 5px;
- --b3-dock-item-margin: 7px 5px 7px 5px;
- --b3-dock-item-radius: 5px;
- /* 侧栏面板 */
- --b3-fn__flex-column-background: rgb(247, 246, 243);
- --b3-fn__flex-shrink-background: rgb(247, 246, 243);
- --b3-block-logo-color: rgb(247, 246, 243);
- --b3-block-logo-background-color: rgba(55, 53, 47, 0.3);
- --b3-block-icon-svg-color: rgba(161, 160, 156);
- --b3-block-icon-hover: rgba(55, 53, 47, 0.08);
- --b3-block-icon-active: #eb8383;
- --b3-list-item-arrow: rgba(55, 53, 47, 0.4);
- --b3-list-background: rgba(55, 53, 47, 0.08);
- --b3-list-background-focus: rgba(55, 53, 47, 0.14);
- --b3-list-background-more: rgba(108, 106, 101);
-
- --b3-flex-column-padding:6px 0px 4px 0px;
- --b3-list-item-radius: 3px;
- /* 大纲数字 */
- --h1-list-graphic: #eb8383;
- --h2-list-graphic: #ae9acb;
- --h3-list-graphic: #7db5cd;
- --h4-list-graphic: #71a796;
- --h5-list-graphic: #dcbf61;
- --h6-list-graphic: #dda36a;
- /* 线条 */
- --b3-layout-resize: rgba(230, 229, 225);
- --b3-shrink-layout-resize: rgba(230, 229, 225);
- --b3-layout-resize-hover: var(--b3-scroll-color);
- --flex-width-transition:width 150ms linear; /*调节宽度动画*/
- --b3-border-fold: rgb(15, 15 , 15, .1);/*折叠边框*/
- --b3-layout-resize-width: 1px;
- /* 页签 */
- --b3-item-focus: rgb(0, 0, 0 ,1);
- /* 面包屑 */
- --b3-protyle-breadcrumb-shadow:var(--b3-layout-resize);
- --b3-protyle-breadcrumb-arrow: rgba(174,172,166);
- --b3-breadcrumb-svg: rgba(55, 53, 47, 0.8);
- /* 头图按钮 */
- --b3-icons-tooltips: rgba(55, 53, 47, 0.5);
- --b3-icons-tooltips-hover: var(--b3-list-background);
- --b3-img-icons-tooltips: var(--b3-theme-on-surface);
- --b3-img-icons-tooltips-bg: var(--b3-theme-background);
- --b3-img-icons-span: rgba(0, 0, 0, .5);
- /* 块标 */
- --b3-gutters-color: rgba(211,209,203);
- --b3-gutters-background: var(--b3-toolbar-item-hover);
- /* 弹出工具条字体颜色选择 */
- --b3-color--square: var(--b3-border-color);
- /* 任务列表 */
- --b3-task-done-color: var(--b3-scroll-color-hover);
- --b3-task-done-hover: #069ccd;
- /* 引述 */
- --b3-bq-background: rgba(249, 249, 250);
- /* 块引用 */
- --b3-block-ref-background: var(--b3-toolbar-item-hover);
- /* 代码块 */
- --b3-linenumber-rows: rgba(237, 236, 233);
- --b3-code-block-hljs: var(--b3-fn__flex-shrink-background);
- /*行内代码*/
- --b3-inline-code:var(--b3-theme-error);
- /*按钮*/
- --b3-button: #069ccd;
- /*pdf*/
- --b3-toolbarSidebar: rgba(237, 236, 233);
- /*导图*/
- --b3-border-daotu: 2px solid #ffb8b8;
- --b3-block-daotu:#FFF;
- /*看板*/
- --kbline-boarditem-minwidth: 14rem;/*看板卡片的最小宽度*/
- --kb--li--background:#fff;
- /*ctrlp*/
- --b3-list-item--meta: rgba(55, 53, 47, 0.3);
- /*底栏状态*/
- --b3-status-msg-background: #e0dfda;
-}
-
-/* PDF */
-.textLayer,
-.pdf__resize {
- mix-blend-mode: darken;
-}
-
-.b3-typography div.hljs, .protyle-wysiwyg div.hljs {
- background-color: #f8f9fa;
-}
-
-body{
- border: 0px!important;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/topbar/rightcolumn.css b/app/appearance/themes/notion-theme/style/topbar/rightcolumn.css
deleted file mode 100644
index 9da781fc48..0000000000
--- a/app/appearance/themes/notion-theme/style/topbar/rightcolumn.css
+++ /dev/null
@@ -1,48 +0,0 @@
-.layout__center ~ .fn__flex-column .layout-tab-container>.fn__flex-column.file-tree{
- background-color:var(--b3-theme-background)!important;
-}
-
-.layout__center ~ .fn__flex-column {
- opacity:0;
- transform:translateX(65%);
- transform-origin: 100% 0 ;
- position:absolute;
- right:0px;
- z-index:2;
- top:80px;
- bottom:50px;
- min-height: unset;
- height:calc(100% - 130px);
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
- border-right:36px solid transparent;/*增加点击区域*/
- border-radius:5px 0 0 5px;
- overflow:hidden;
- transition: all 200ms!important;
-}
-
-.layout__center ~ .fn__flex-column:hover{
- opacity:1;
- transform:translateX(0%);
- transition: all 300ms!important;
-}
-.layout__center+.layout__resize--lr{
- width:0px;
- margin:0;
-}
-.dock__item {
- z-index:7;
-}
-#dockRight:before{
- content: "";
- height:calc(100% - 35px);
- width:36px;
- right:-36px;
- box-shadow: var(--b3-dockright-background) -36px 0px 0px 0px;
- z-index:2;
- position: absolute;
- bottom:0px;
-}
-
-#dockLeft.fn__none+#layouts .layout__center ~ .fn__flex-column{
- right:-36px;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/topbar/salt.css b/app/appearance/themes/notion-theme/style/topbar/salt.css
deleted file mode 100644
index d522cdd1f3..0000000000
--- a/app/appearance/themes/notion-theme/style/topbar/salt.css
+++ /dev/null
@@ -1,275 +0,0 @@
-:root {
- /* 主色 */
- --b3-theme-primary: rgb(0, 122, 149);/* 主色 */
- --b3-theme-primary-light: rgb(0, 122, 149, 0.54);/* 半透明色,用于输入框边框阴影等 */
- --b3-theme-primary-lighter: rgb(0, 122, 149, 0.38);
- --b3-theme-primary-lightest: rgb(0, 122, 149, 0.12);
- --b3-theme-secondary: #f3a92f;
- --b3-theme-background:rgb(240, 244, 244);/* 编辑区背景 */
- --b3-theme-background-light: #dfe0e1;
- --b3-theme-surface:rgb(215, 224, 224);/* 面板主色 */
- --b3-theme-surface-light: rgb(215, 224, 224, .5);
- --b3-theme-error: #eb5757;
-
- /* 文字颜色 */
- --b3-theme-on-primary: #fff;
- --b3-theme-on-secondary: #fff;
- --b3-theme-on-background: rgb(37, 40, 48);
- --b3-theme-on-surface: rgba(37, 40, 48, 0.6);
- --b3-theme-on-surface-light: rgba(95, 99, 104, .68);
- --b3-theme-on-error: #fff;
-
- /* 字体 */
- --b3-font-family:apple-system, BlinkMacSystemFont, "Segoe UI", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-code: "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-graph: mononoki;
- --b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
- --b3-font-family-math: KaTeX_Math;
-
- /* 线条 */
- --b3-border-color: rgba(0, 0, 0, .1);
-
- /* 滚动条 */
- --b3-scroll-color: rgba(98, 122, 123, 0.14);
- --b3-scroll-color-hover: rgba(98, 122, 123 ,0.6);
- --b3-scroll-bgcolor: transparent;
-
- --b3-border-scroll: rgba(55, 53, 47, 0.2);
-
- --webkit-scrollbar: 6px;
- --webkit-scrollbar-thumb: 4px;
- /* 列表 */
- --b3-list-hover: rgba(98, 122, 123, 0.1);
-
- /* 菜单 */
- --b3-menu-background: #f8f9fa;
-
- /* 提示 */
- --b3-tooltips-color: rgba(15, 15, 15);
-
- /* 遮罩 */
- --b3-mask-background: rgba(0, 0, 0, 0.78);
-
- /* 卡片背景 */
- --b3-card-error-color: rgb(97, 26, 21);
- --b3-card-error-background: rgb(238, 213, 210);
- --b3-card-warning-color: rgb(102, 60, 0);
- --b3-card-warning-background: rgb(243, 225, 200);
- --b3-card-info-color: rgb(13, 60, 97);
- --b3-card-info-background: rgb(204, 223, 237);
- --b3-card-success-color: rgb(30, 70, 32);
- --b3-card-success-background: rgb(217, 239, 217);
-
- /* 自定义文字 */
- --b3-font-color1: #000;
- --b3-font-color2: rgba(55, 53, 47, 0.6);
- --b3-font-color3: rgb(100, 71, 58);
- --b3-font-color4: rgb(217, 115, 13);
- --b3-font-color5: #f5822e;
- --b3-font-color6: rgb(223, 171, 1);
- --b3-font-color7: #65b84d;
- --b3-font-color8: rgb(15, 123, 108);
- --b3-font-color9: rgb(11, 110, 153);
- --b3-font-color10: rgb(105, 64, 165);
- --b3-font-color11: rgb(173, 26, 114);
- --b3-font-color12: rgb(224, 62, 62);
- --b3-font-color13: #e81123;
-
- --b3-font-background1: rgb(198, 203, 208);
- --b3-font-background2: rgb(225, 225, 225);
- --b3-font-background3: rgb(235, 236, 237);
- --b3-font-background4: rgb(233, 229, 227);
- --b3-font-background5: rgb(246, 225, 205);
- --b3-font-background6: rgb(250, 235, 221);
- --b3-font-background7: rgb(251, 243, 219);
- --b3-font-background8: rgba(221, 237, 226);
- --b3-font-background9: rgb(221, 237, 234);
- --b3-font-background10: rgb(221, 235, 241);
- --b3-font-background11: rgb(234, 228, 242);
- --b3-font-background12: rgb(244, 223, 235);
- --b3-font-background13: rgb(251, 228, 228);
- /*callout*/
- --b3-bq-background1: rgb(198, 203, 208 , .5);
- --b3-bq-background2: rgb(225, 225, 225 , .5);
- --b3-bq-background3: rgb(235, 236, 237 , .5);
- --b3-bq-background4: rgb(233, 229, 227 , .5);
- --b3-bq-background5: rgb(246, 225, 205 , .5);
- --b3-bq-background6: rgb(250, 235, 221 , .5);
- --b3-bq-background7: rgb(251, 243, 219 , .5);
- --b3-bq-background8: rgba(221, 237, 226 , .5);
- --b3-bq-background9: rgb(221, 237, 234 , .5);
- --b3-bq-background10: rgb(221, 235, 241 , .5);
- --b3-bq-background11: rgb(234, 228, 242 , .5);
- --b3-bq-background12: rgb(244, 223, 235 , .5);
- --b3-bq-background13: rgb(251, 228, 228 , .5);
- /* 动画效果 */
- --b3-transition: all .15s cubic-bezier(0, 0, .2, 1) 0ms;
- --b3-width-transition: width .15s cubic-bezier(0, 0, .2, 1) 0ms;
-
- /* 阴影 */
- --b3-point-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
- --b3-dialog-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
- --b3-menu-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-
- /* 图表颜色 */
- --b3-graph-p-point: #076f7e;
- --b3-graph-heading-point: #660e7a;
- --b3-graph-math-point: #80FFA5;
- --b3-graph-code-point: #00DDFF;
- --b3-graph-table-point: #37A2FF;
- --b3-graph-list-point: #FF0087;
- --b3-graph-todo-point: #FFBF00;
- --b3-graph-olist-point: #b3005f;
- --b3-graph-listitem-point: #f65b00;
- --b3-graph-bq-point: #8d48e3;
- --b3-graph-super-point: #dd79ff;
- --b3-graph-doc-point: #202124;
- --b3-graph-tag-point: #dbf32f;
- --b3-graph-asset-point: #05c091;
- --b3-graph-line: #5f6368;
- --b3-graph-ref-line: #d23f31;
- --b3-graph-tag-line: #5f6b06;
- --b3-graph-tag-tag-line: #dbf32f;
- --b3-graph-asset-line: #037457;
- --b3-graph-hl-point: #f3a92f;
- --b3-graph-hl-line: #4285f4;
-
- /* 编辑器搜索颜色 */
- --b3-protyle-search-background: #ffe955;
- --b3-protyle-search-border-color: #f2e680;
- --b3-protyle-search-current-background: #a5d3fe;
-
- /* 代码片段背景 */
- --b3-protyle-code-background: rgba(27, 31, 35, .05);
- --b3-protyle-code-linenumber-hl: #b9d1f4;
-
- /* 所见即所得行内元素颜色 */
- --b3-protyle-inline-strong-color: #202124;
- --b3-protyle-inline-em-color: #202124;
- --b3-protyle-inline-s-color: #202124;
- --b3-protyle-inline-link-color: #4285f4;
- --b3-protyle-inline-mark-background: #ffe955;
- --b3-protyle-inline-mark-color: #202124;
- --b3-protyle-inline-tag-color: #5f6368;
- --b3-protyle-inline-blockref-color: #660e7a;
-
- /* PDF */
- --b3-pdf-selection: #d0e9c8;
- --b3-pdf-sidebar-width: 200px;
- --b3-pdf-offset: 0;
- --b3-pdf-background1: var(--b3-font-background5);
- --b3-pdf-background2: var(--b3-font-background6);
- --b3-pdf-background3: var(--b3-font-background7);
- --b3-pdf-background4: var(--b3-font-background8);
- --b3-pdf-background5: var(--b3-font-background10);
- --b3-pdf-background6: var(--b3-font-background11);
- --b3-pdf-background7: var(--b3-font-background13);
-
- /* 自定义结构配色 */
- /* 顶栏 */
- --b3-toolbar-blur-background: var(--b3-fn__flex-shrink-background);
- --b3-toolbar-background: var(--b3-theme-background);
- --b3-toolbar-item-hover: rgba(0, 0, 0, .05);
- --b3-toolbar-closeWindow-hover: #e81123;
- --b3-toolbar-closeWindow-svg: #fff;
- /* dock栏 */
- --b3-dockright-color: rgb(37, 40, 48);
- --b3-dockright-background: rgb(215, 224, 224);
- --b3-dockleft-color: var(--b3-theme-background);
- --b3-dock-background: rgb(37, 40, 48);
- --b3-dockright-item-active-background: #fff;
- --b3-dockleft-item-active-background: var(--b3-theme-background);
- --b3-dock-item-active-color: rgb(37, 40, 48);
- --b3-dock-item-hover-background: rgb(182, 200, 201);
-
- --b3-dock-item-width: 36px;
- --b3-dock-item-padding: 5px;
- --b3-dock-item-margin: 7px 5px 7px 5px;
- --b3-dock-item-radius: 5px;
- /* 侧栏面板 */
- --b3-fn__flex-column-background: var(--b3-theme-background);
- --b3-fn__flex-shrink-background: rgb(215, 224, 224);
- --b3-block-logo-color: #fff;
- --b3-block-logo-background-color: rgba(37, 40, 48);
- --b3-block-icon-svg-color: rgba(37, 40, 48,0.4);
- --b3-block-icon-hover: var(--b3-list-background);
- --b3-block-icon-active: #f4614b;
- --b3-list-item-arrow: rgba(37, 40, 48,0.4);
- --b3-list-background: rgba(98, 122, 123, 0.1);
- --b3-list-background-focus: rgba(98, 122, 123, 0.2);
- --b3-list-background-more: rgba(37, 40, 48, 0.8);
-
- --b3-flex-column-padding:6px 0px 4px 0px;
- --b3-list-item-radius: 3px;
- /* 大纲数字 */
- --h1-list-graphic: #eb8383;
- --h2-list-graphic: #ae9acb;
- --h3-list-graphic: #7db5cd;
- --h4-list-graphic: #71a796;
- --h5-list-graphic: #dcbf61;
- --h6-list-graphic: #dda36a;
- /* 线条 */
- --b3-layout-resize: #d8dbdb;
- --b3-shrink-layout-resize: var(--b3-scroll-color);
- --b3-layout-resize-hover: var(--b3-scroll-color-hover);
- --flex-width-transition:width 150ms linear; /*调节宽度动画*/
- --b3-border-fold: rgb(15, 15 , 15, .1);/*折叠边框*/
- --b3-layout-resize-width: 1px;
- /* 页签 */
- --b3-item-focus: rgb(0, 0, 0 ,1);
- /* 面包屑 */
- --b3-protyle-breadcrumb-shadow:var(--b3-layout-resize);
- --b3-protyle-breadcrumb-arrow: rgba(174,172,166);
- --b3-breadcrumb-svg: rgba(37, 40, 48, 0.8);
- /* 头图按钮 */
- --b3-icons-tooltips: rgba(37, 40, 48, 0.5);
- --b3-icons-tooltips-hover: var(--b3-list-background);
- --b3-img-icons-tooltips: var(--b3-theme-on-surface);
- --b3-img-icons-tooltips-bg: var(--b3-theme-background);
- --b3-img-icons-span: rgba(0, 0, 0, .5);
- /* 块标 */
- --b3-gutters-color: rgb(182, 200, 201);
- --b3-gutters-background: var(--b3-toolbar-item-hover);
- /* 弹出工具条字体颜色选择 */
- --b3-color--square: var(--b3-border-color);
- /* 任务列表 */
- --b3-task-done-color: var(--b3-scroll-color-hover);
- --b3-task-done-hover: rgb(0, 122, 149, 0.7);
- /* 引述 */
- --b3-bq-background: rgb(215, 224, 224, .5);
- /* 块引用 */
- --b3-block-ref-background: var(--b3-toolbar-item-hover);
- /* 代码块 */
- --b3-linenumber-rows: rgb(215, 224, 224);
- --b3-code-block-hljs: rgb(215, 224, 224, .5);
- /*行内代码*/
- --b3-inline-code:var(--b3-theme-error);
- /*按钮*/
- --b3-button: rgb(0, 122, 149, 0.7);
- /*pdf*/
- --b3-toolbarSidebar: rgb(182, 200, 201);
- /*导图*/
- --b3-border-daotu: 2px solid #ffb8b8;
- --b3-block-daotu:#FFF;
- /*看板*/
- --kbline-boarditem-minwidth: 14rem;/*看板卡片的最小宽度*/
- --kb--li--background:#fff;
- /*ctrlp*/
- --b3-list-item--meta: rgba(37, 40, 48, 0.3);
- /*底栏状态*/
- --b3-status-msg-background: #c7d1d1;
-}
-
-/* PDF */
-.textLayer,
-.pdf__resize {
- mix-blend-mode: darken;
-}
-
-.b3-typography div.hljs, .protyle-wysiwyg div.hljs {
- background-color: #f8f9fa;
-}
-
-body{
- border: 0px!important;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/topbar/top-fixed.css b/app/appearance/themes/notion-theme/style/topbar/top-fixed.css
deleted file mode 100644
index b7beb7fe32..0000000000
--- a/app/appearance/themes/notion-theme/style/topbar/top-fixed.css
+++ /dev/null
@@ -1,25 +0,0 @@
-.toolbar{
- height:22px;
- margin-bottom: -22px;
- opacity: 0;
- transition: all 300ms;
- transition-delay: 500ms;
- box-shadow: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px;
-}
-
-.toolbar:hover{
- height:35px;
- margin-bottom: -35px;
- opacity: 1;
- transition: all 300ms;
-}
-
-#notionToolbar{
- transform:translateY(-8px);
- transition: all 300ms;
- transition-delay: 500ms;
-}
-.toolbar:hover #notionToolbar{
- transform:translateY(0px);
- transition: all 300ms;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/style/unordered-list.css b/app/appearance/themes/notion-theme/style/unordered-list.css
deleted file mode 100644
index f8a99fc3eb..0000000000
--- a/app/appearance/themes/notion-theme/style/unordered-list.css
+++ /dev/null
@@ -1,72 +0,0 @@
-[data-subtype="u"]>[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/dot.svg) no-repeat;
- mask: url(img/dot.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/circle.svg) no-repeat;
- mask: url(img/circle.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/square-u.svg) no-repeat;
- mask: url(img/square-u.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/dot.svg) no-repeat;
- mask: url(img/dot.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/circle.svg) no-repeat;
- mask: url(img/circle.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/square-u.svg) no-repeat;
- mask: url(img/square-u.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/dot.svg) no-repeat;
- mask: url(img/dot.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/circle.svg) no-repeat;
- mask: url(img/circle.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/square-u.svg) no-repeat;
- mask: url(img/square-u.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/dot.svg) no-repeat;
- mask: url(img/dot.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/circle.svg) no-repeat;
- mask: url(img/circle.svg) no-repeat;
-}
-[data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action svg{
- color:transparent;
- background-color:var(--b3-theme-on-background);
- -webkit-mask: url(img/square-u.svg) no-repeat;
- mask: url(img/square-u.svg) no-repeat;
-}
\ No newline at end of file
diff --git a/app/appearance/themes/notion-theme/theme.css b/app/appearance/themes/notion-theme/theme.css
deleted file mode 100644
index 47f8ff4d04..0000000000
--- a/app/appearance/themes/notion-theme/theme.css
+++ /dev/null
@@ -1,1945 +0,0 @@
-/* 引入特性 */
-@import url(style/ordered-list.css);/*有序列表*/
-@import url(style/unordered-list.css);/*无序列表*/
-@import url(style/h-reminder.css);/*标题符号*/
-@import url(style/list2map.css);/*列表转导图*/
-@import url(style/list2table.css);/*列表转表格*/
-@import url(style/list2board.css);/*列表转看板*/
-@import url(style/ctrlp.css);/*搜索分栏*/
-@import url(style/bq-callout.css);/*引述样式*/
-/* 引入网址链接前的图标相关代码 */
-@import url("style/link-icon.css");
-/* 自定义配置文件 */
-@import url(/widgets/custom.css);
-/*-------------------------------------------*/
-@keyframes menu {
- 0% {opacity: 0;}
- 50% { transform: scale(1.01);
- transform-origin: 0 0 ;
- opacity: 0.5; }
- 100% { transform: scale(1);
- }
-}
-@keyframes statusmsg {
- 0% {max-width:1000px;}
- 80% {max-width:1000px;}
- 100% {max-width:180px;}
-}
-@keyframes item-focus {
- 0% { transform: scale(.01);
- opacity: 0.5; }
- 100% { transform: scale(1);
- }
-}
-@keyframes flex-column{
- 0% { transform: scale(1,.8);
- transform-origin: 0 0 ;
- opacity: 0; }
- 100% { transform: scale(1,1);
- transform-origin: 0 0 ;
- }
-}
-
-:root {
- /* 主色 */
- --b3-theme-primary: rgb(46, 170, 220);/* 主色 */
- --b3-theme-primary-light: rgba(46, 170, 220, 0.54);
- --b3-theme-primary-lighter: rgba(46, 170, 220, 0.38);
- --b3-theme-primary-lightest: rgba(46, 170, 220, 0.2);
- --b3-theme-secondary: #f3a92f;
- --b3-theme-background: #fff;/* 编辑区背景 */
- --b3-theme-background-light: rgb(247, 246, 243);
- --b3-theme-surface: rgb(247, 246, 243);/* 面板主色 */
- --b3-theme-surface-light: rgba(243, 243, 243, .5);
- --b3-theme-error: #eb5757;
-
- /* 文字颜色 */
- --b3-theme-on-primary: #fff;
- --b3-theme-on-secondary: #fff;
- --b3-theme-on-background: rgb(55, 53, 47);
- --b3-theme-on-surface: rgba(55, 53, 47, 0.6);
- --b3-theme-on-surface-light: rgba(95, 99, 104, .68);
- --b3-theme-on-error: #fff;
-
- /* 字体 */
- --b3-font-family:apple-system, BlinkMacSystemFont, "Segoe UI", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-code: "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- --b3-font-family-graph: mononoki;
- --b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
- --b3-font-family-math: KaTeX_Math;
-
- /* 线条 */
- --b3-border-color: rgba(0, 0, 0, 0.1);
-
- /* 滚动条 */
- --b3-scroll-color: rgba(211,209,203,.5);
- --b3-scroll-color-hover: rgba(174,172,166);
- --b3-scroll-bgcolor: transparent;
-
- --b3-border-scroll: rgba(55, 53, 47, 0.2);
-
- --webkit-scrollbar: 6px;
- --webkit-scrollbar-thumb: 4px;
- /* 列表 */
- --b3-list-hover: rgba(55, 53, 47, 0.08);
-
- /* 菜单 */
- --b3-menu-background: #f8f9fa;
-
- /* 提示 */
- --b3-tooltips-color: rgba(15, 15, 15);
-
- /* 遮罩 */
- --b3-mask-background: rgba(0, 0, 0, 0.78);
-
- /* 卡片背景 */
- --b3-card-error-color: rgb(97, 26, 21);
- --b3-card-error-background: rgb(253, 236, 234);
- --b3-card-warning-color: rgb(102, 60, 0);
- --b3-card-warning-background: rgb(255, 244, 229);
- --b3-card-info-color: rgb(13, 60, 97);
- --b3-card-info-background: rgb(232, 244, 253);
- --b3-card-success-color: rgb(30, 70, 32);
- --b3-card-success-background: rgb(237, 247, 237);
-
- /* 自定义文字 */
- --b3-font-color1: #000;
- --b3-font-color2: rgba(55, 53, 47, 0.6);
- --b3-font-color3: rgb(100, 71, 58);
- --b3-font-color4: rgb(217, 115, 13);
- --b3-font-color5: #f5822e;
- --b3-font-color6: rgb(223, 171, 1);
- --b3-font-color7: #65b84d;
- --b3-font-color8: rgb(15, 123, 108);
- --b3-font-color9: rgb(11, 110, 153);
- --b3-font-color10: rgb(105, 64, 165);
- --b3-font-color11: rgb(173, 26, 114);
- --b3-font-color12: rgb(224, 62, 62);
- --b3-font-color13: #e81123;
-
- --b3-font-background1: rgb(198, 203, 208);
- --b3-font-background2: rgb(225, 225, 225);
- --b3-font-background3: rgb(235, 236, 237);
- --b3-font-background4: rgb(233, 229, 227);
- --b3-font-background5: rgb(246, 225, 205);
- --b3-font-background6: rgb(250, 235, 221);
- --b3-font-background7: rgb(251, 243, 219);
- --b3-font-background8: rgba(221, 237, 226);
- --b3-font-background9: rgb(221, 237, 234);
- --b3-font-background10: rgb(221, 235, 241);
- --b3-font-background11: rgb(234, 228, 242);
- --b3-font-background12: rgb(244, 223, 235);
- --b3-font-background13: rgb(251, 228, 228);
- /*callout*/
- --b3-bq-background1: rgb(198, 203, 208 , .3);
- --b3-bq-background2: rgb(225, 225, 225 , .3);
- --b3-bq-background3: rgb(235, 236, 237 , .3);
- --b3-bq-background4: rgb(233, 229, 227 , .3);
- --b3-bq-background5: rgb(246, 225, 205 , .3);
- --b3-bq-background6: rgb(250, 235, 221 , .3);
- --b3-bq-background7: rgb(251, 243, 219 , .3);
- --b3-bq-background8: rgba(221, 237, 226 , .3);
- --b3-bq-background9: rgb(221, 237, 234 , .3);
- --b3-bq-background10: rgb(221, 235, 241 , .3);
- --b3-bq-background11: rgb(234, 228, 242 , .3);
- --b3-bq-background12: rgb(244, 223, 235 , .3);
- --b3-bq-background13: rgb(251, 228, 228 , .3);
- /* 动画效果 */
- --b3-transition: all .15s cubic-bezier(0, 0, .2, 1) 0ms;
- --b3-width-transition: width .15s cubic-bezier(0, 0, .2, 1) 0ms;
-
- /* 阴影 */
- --b3-point-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
- --b3-dialog-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
- --b3-menu-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-
- /* 图表颜色 */
- --b3-graph-p-point: #076f7e;
- --b3-graph-heading-point: #660e7a;
- --b3-graph-math-point: #80FFA5;
- --b3-graph-code-point: #00DDFF;
- --b3-graph-table-point: #37A2FF;
- --b3-graph-list-point: #FF0087;
- --b3-graph-todo-point: #FFBF00;
- --b3-graph-olist-point: #b3005f;
- --b3-graph-listitem-point: #f65b00;
- --b3-graph-bq-point: #8d48e3;
- --b3-graph-super-point: #dd79ff;
- --b3-graph-doc-point: #202124;
- --b3-graph-tag-point: #dbf32f;
- --b3-graph-asset-point: #05c091;
- --b3-graph-line: #5f6368;
- --b3-graph-ref-line: #d23f31;
- --b3-graph-tag-line: #5f6b06;
- --b3-graph-tag-tag-line: #dbf32f;
- --b3-graph-asset-line: #037457;
- --b3-graph-hl-point: #f3a92f;
- --b3-graph-hl-line: #4285f4;
-
- /* 编辑器搜索颜色 */
- --b3-protyle-search-background: #ffe955;
- --b3-protyle-search-border-color: #f2e680;
- --b3-protyle-search-current-background: #a5d3fe;
-
- /* 代码片段背景 */
- --b3-protyle-code-background: rgba(27, 31, 35, .05);
- --b3-protyle-code-linenumber-hl: #b9d1f4;
-
- /* 所见即所得行内元素颜色 */
- --b3-protyle-inline-strong-color: #202124;
- --b3-protyle-inline-em-color: #202124;
- --b3-protyle-inline-s-color: #202124;
- --b3-protyle-inline-link-color: #4285f4;
- --b3-protyle-inline-mark-background: #ffe955;
- --b3-protyle-inline-mark-color: #202124;
- --b3-protyle-inline-tag-color: #5f6368;
- --b3-protyle-inline-blockref-color: #660e7a;
-
- /* PDF */
- --b3-pdf-selection: #d0e9c8;
- --b3-pdf-sidebar-width: 200px;
- --b3-pdf-offset: 0;
- --b3-pdf-background1: var(--b3-font-background5);
- --b3-pdf-background2: var(--b3-font-background6);
- --b3-pdf-background3: var(--b3-font-background7);
- --b3-pdf-background4: var(--b3-font-background8);
- --b3-pdf-background5: var(--b3-font-background10);
- --b3-pdf-background6: var(--b3-font-background11);
- --b3-pdf-background7: var(--b3-font-background13);
-
- /* 自定义结构配色 */
- /* 顶栏 */
- --b3-toolbar-blur-background: var(--b3-fn__flex-shrink-background);
- --b3-toolbar-background: var(--b3-theme-background);
- --b3-toolbar-item-hover: rgba(0, 0, 0, .05);
- --b3-toolbar-closeWindow-hover: #e81123;
- --b3-toolbar-closeWindow-svg: #fff;
- /* dock栏 */
- --b3-dockright-color: rgb(55, 53, 47, .5);
- --b3-dockright-background: rgba(237, 236, 233);
- --b3-dockleft-color: rgb(55, 53, 47, .5);
- --b3-dock-background: rgba(237, 236, 233);
- --b3-dockright-item-active-background: #fff;
- --b3-dockleft-item-active-background: #fff;
- --b3-dock-item-active-color: #eb8383;
- --b3-dock-item-hover-background: #fff;
-
- --b3-dock-item-width: 36px;
- --b3-dock-item-padding: 5px;
- --b3-dock-item-margin: 7px 5px 7px 5px;
- --b3-dock-item-radius: 5px;
- /* 侧栏面板 */
- --b3-fn__flex-column-background: rgb(247, 246, 243);
- --b3-fn__flex-shrink-background: rgb(247, 246, 243);
- --b3-block-logo-color: rgb(247, 246, 243);
- --b3-block-logo-background-color: rgba(55, 53, 47, 0.3);
- --b3-block-icon-svg-color: rgba(161, 160, 156);
- --b3-block-icon-hover: rgba(55, 53, 47, 0.08);
- --b3-block-icon-active: #eb8383;
- --b3-list-item-arrow: rgba(55, 53, 47, 0.4);
- --b3-list-background: rgba(55, 53, 47, 0.08);
- --b3-list-background-focus: rgba(55, 53, 47, 0.14);
- --b3-list-background-more: rgba(108, 106, 101);
-
- --b3-flex-column-padding:6px 0px 4px 0px;
- --b3-list-item-radius: 3px;
- /* 大纲数字 */
- --h1-list-graphic: #eb8383;
- --h2-list-graphic: #ae9acb;
- --h3-list-graphic: #7db5cd;
- --h4-list-graphic: #71a796;
- --h5-list-graphic: #dcbf61;
- --h6-list-graphic: #dda36a;
- /* 线条 */
- --b3-layout-resize: rgba(230, 229, 225);
- --b3-shrink-layout-resize: rgba(230, 229, 225);
- --b3-layout-resize-hover: var(--b3-scroll-color);
- --flex-width-transition:width 150ms linear; /*调节宽度动画*/
- --b3-border-fold: rgb(15, 15 , 15, .1);/*折叠边框*/
- --b3-layout-resize-width: 1px;
- /* 页签 */
- --b3-item-focus: rgb(0, 0, 0 ,1);
- /* 面包屑 */
- --b3-protyle-breadcrumb-shadow:var(--b3-layout-resize);
- --b3-protyle-breadcrumb-arrow: rgba(174,172,166);
- --b3-breadcrumb-svg: rgba(55, 53, 47, 0.8);
- /* 头图按钮 */
- --b3-icons-tooltips: rgba(55, 53, 47, 0.5);
- --b3-icons-tooltips-hover: var(--b3-list-background);
- --b3-img-icons-tooltips: var(--b3-theme-on-surface);
- --b3-img-icons-tooltips-bg: var(--b3-theme-background);
- --b3-img-icons-span: rgba(0, 0, 0, .5);
- /* 块标 */
- --b3-gutters-color: rgba(211,209,203);
- --b3-gutters-background: var(--b3-toolbar-item-hover);
- /* 弹出工具条字体颜色选择 */
- --b3-color--square: var(--b3-border-color);
- /* 任务列表 */
- --b3-task-done-color: var(--b3-scroll-color-hover);
- --b3-task-done-hover: #069ccd;
- /* 引述 */
- --b3-bq-background: rgba(249, 249, 250);
- /* 块引用 */
- --b3-block-ref-background: var(--b3-toolbar-item-hover);
- /* 代码块 */
- --b3-linenumber-rows: rgba(237, 236, 233);
- --b3-code-block-hljs: var(--b3-fn__flex-shrink-background);
- /*行内代码*/
- --b3-inline-code:var(--b3-theme-error);
- /*按钮*/
- --b3-button: #069ccd;
- /*pdf*/
- --b3-toolbarSidebar: rgba(237, 236, 233);
- /*导图*/
- --b3-border-daotu: 2px solid #ffb8b8;
- --b3-block-daotu:#FFF;
- /*看板*/
- --kbline-boarditem-minwidth: 14rem;/*看板卡片的最小宽度*/
- --kb--li--background:#fff;
- /*ctrlp*/
- --b3-list-item--meta: rgba(55, 53, 47, 0.3);
- /*底栏状态*/
- --b3-status-msg-background: #e0dfda;
-}
-
-/* PDF */
-.textLayer,
-.pdf__resize {
- mix-blend-mode: darken;
-}
-
-.b3-typography div.hljs, .protyle-wysiwyg div.hljs {
- background-color: #f8f9fa;
-}
-
-body{
- border: 0px!important;
-}
-/* ————————————————————顶栏———————————————————— */
-.toolbar{
- background-color: var(--b3-toolbar-background);
- margin-bottom: -7px;
- height:35px;
- z-index: 99;
- opacity: 1;
- box-shadow: 0px -1px 0px 0px var(--b3-fn__flex-shrink-background) inset;
-}
-
-
-#notionToolbar{
- transform:translateY(0px);
-}
-
-.toolbar__item{
- margin: 5px 0px 5px 5px ;
- border-radius:3px;
- padding: 3px;
-}
-.toolbar__item svg{
- padding: 4px;
- height: 13px;
- width: 13px;
-}
-
-.toolbar__item:not(.toolbar__item--disabled) svg{
- color: var(--b3-theme-on-background);
-}
-
-.toolbar__item:hover{
- background-color: var(--b3-toolbar-item-hover);
-}
-#minWindow svg, #restoreWindow svg, #maxWindow svg, #closeWindow svg{
- width: 10px!important;
- padding: 3px 8px;
-}
-#minWindow, #restoreWindow, #maxWindow, #closeWindow{
- margin: 6px 5px 4px 0px ;
-}
-.toolbar__item--close{
- padding: 4px 8px;
-}
-#closeWindow:hover{
- background-color: var(--b3-toolbar-closeWindow-hover);
-}
-#closeWindow:hover svg{
- color: var(--b3-toolbar-closeWindow-svg);
-}
-#drag {
- line-height:35px;
- padding-left:75px!important;
-}
-
-/* ————————————————————dock栏———————————————————— */
-.dock{
- background-color: var(--b3-dock-background);
-}
-.dock#dockLeft,
-.dock#dockRight{
- border: 0px;
- width: var(--b3-dock-item-width);
-}
-.dock#dockLeft .dock__item{
- padding: var(--b3-dock-item-padding);
- margin: var(--b3-dock-item-margin);
- border-radius: var(--b3-dock-item-radius);
- color: var(--b3-dockleft-color);
-}
-.dock#dockRight .dock__item{
- padding: var(--b3-dock-item-padding);
- margin: var(--b3-dock-item-margin);
- border-radius: var(--b3-dock-item-radius);
- color: var(--b3-dockright-color);
-}
-.dock#dockLeft .dock__item--active{
- color: var(--b3-dock-item-active-color);
- background-color: var(--b3-dockleft-item-active-background);
-}
-.dock#dockRight{
- background-color: var(--b3-dockright-background);
-}
-.dock#dockRight .dock__item--active{
- color: var(--b3-dock-item-active-color);
- background-color:var(--b3-dockright-item-active-background);
-}
-.dock#dockLeft .dock__item:first-child,.dock#dockRight .dock__item:first-child{
- margin: 17px 5px 7px 5px;
-}
-.dock#dockRight .dock__item:last-child{
- margin: 7px 5px 40px 5px;
- bottom:0px;
-}
-.dock#dockLeft .dock__item:last-child{
- margin: 7px 5px 7px 5px;
- bottom:0px;
-}
-.dock__item svg{
- width: 14px;
-}
-.dock__item {
- padding-left:6px!important;
-}
-.dock#dockLeft .dock__item:hover,
-.dock#dockRight .dock__item:hover{
- background-color: var(--b3-dock-item-hover-background);
- transition: all 300ms;
-}
-
-/*dock活动状态*/
-.dock__item--activefocus{
- background-color:var(--b3-dock-item-active-color)!important;
- color:var(--b3-theme-background)!important;
-}
-
-/* ————————————————————侧栏面板———————————————————— */
-.layout-tab-container>.fn__flex-column{
- background-color: var(--b3-fn__flex-column-background);
- padding: var(--b3-flex-column-padding);
- min-height: 90% ;
-}
-/*侧栏滚动出现分割线
-.layout-tab-container>.fn__flex-column>.fn__flex-1{
- background: linear-gradient(var(--b3-fn__flex-column-background), transparent 100%),
- linear-gradient(var(--b3-border-scroll), transparent 100%);
- background-size: 100% 30px, 100% 1px;
- background-repeat: no-repeat;
- background-attachment: local, scroll;
-}*/
-.fn__flex >.fn__flex-shrink>.fn__flex>.fn__flex>.layout-tab-container>.fn__flex-column{
- background-color: var(--b3-fn__flex-shrink-background);
-}
-/*侧栏展开动画*/
-#layouts>.fn__flex>.fn__flex-column>.fn__flex>div[data-type=wnd]>.layout-tab-container>.fn__flex-column{animation: flex-column 0.2s ease-in-out;}
-/*面板标题*/
-.file-tree .block__icons{
- height:46px;
- padding: 0px 15px;
-}
-/*面板标题图标*/
-.block__logo svg{
- width: 12px;
- height: 12px;
- padding: 6px;
- margin: 0px 10px 0px 0px;
- border-radius: 5px;
- color: var(--b3-block-logo-color);
- background-color: var(--b3-block-logo-background-color);
-}
-/*面板功能*/
-.file-tree .block__icons>.block__icon svg,
-.file-tree .block__icons>.fn__flex>.block__icon svg{
- padding: 5px;
- height: 12px;
- width: 12px;
- color: var(--b3-block-icon-svg-color);
-}
-.file-tree .block__icons>.block__icon,.file-tree .block__icons>.fn__flex>.block__icon{
- margin:-4px;
- padding: 0px;
-}
-.file-tree .block__icons>.fn__flex>.block__icon[type="checkbox"]{
- margin:0px 0px 0px -8px;
-}
-.file-tree .block__icons .block__icon:hover{
- background-color: var(--b3-block-icon-hover);
- border-radius: 3px;
-}
-/*面板标题激活状态
-.block__icons.block__icons--active>.block__logo svg{
- background-color: var(--b3-block-icon-active);
-}
-
-.block__icons.block__icons--active>.block__logo,
-.block__icons.block__icons--active>.block__icon svg,
-.block__icons.block__icons--active>.fn__flex>.block__icon svg{
- color: var(--b3-block-icon-active);
-}
-.block__icons--active{
- background-color: transparent;
-}*/
-
-.layout__tab--active .b3-list--background .b3-list-item--focus:not(.dragover):not(.dragover__top):not(.dragover__bottom){
- background-color:var(--b3-list-hover);
-}
-/*面板列表项*/
-.file-tree .b3-list-item{
- margin:0 5px!important;
-}
-.b3-list-item{
- border-radius:var(--b3-list-item-radius);
-}
-.fn__flex>.fn__flex>.layout-tab-container>.fn__flex-column .b3-list-item{
- margin:0 4px;
- padding:1px 6px;
-}
-.b3-list-item__arrow{
- color:var(--b3-list-item-arrow);
- padding:5px;
- margin:0 -5px 0 5px;
- border-radius: 3px;
-}
-.b3-list-item__icon{
- height: 22px;
- width: 16px;
- font-size:14px;
- line-height:22px;
-}
-.b3-list-item__icon svg,.b3-list-item__icon img{
- margin: 0px;
- padding: 3px 0px 2px 0px;
- border-radius: 3px;
-}
-.b3-list-item__graphic{
- padding: 3px 4px;
- border-radius: 3px;
-}
-.b3-list-item__toggle.fn__hidden:before {
- visibility: visible!important;
- content: "•";
- margin:0px -18px 0 12px;
- color:var(--b3-list-item-arrow);
- font-size: 100%;
-}
-.b3-list-item__text{
- color:var(--b3-theme-on-surface);
-}
-.b3-list-item--hide-action .b3-list-item__action {
- height:20px;
- padding: 0 3px;
- margin-left:4px;
- border-radius: 3px;
- color:var(--b3-list-background-more);
-}
-/*新建文档*/
-
-/*引用数*/
-.b3-list-item .counter:not(:empty){
- height: 20px;
- line-height: 20px;
- text-align: center;
- min-width: 12px;
- border-radius: 3px;
- padding: 0 4px;
- margin-left: 4px;
- box-shadow: 0 0 0 1px var(--b3-border-color) inset;
-}
-/*面板列表项hover状态*/
-.b3-list-item:hover,.b3-list-item__arrow:hover,
-.b3-list-item__action:hover,.counter:not(:empty):hover,.b3-list-item__icon:hover{
- background-color: var(--b3-list-background)!important ;
-}
-.b3-list-item--focus:hover{
- background-color: var(--b3-list-background-focus)!important ;
-}
-.b3-list-item__toggle:hover{
- background-color: rgba(0, 0, 0, 0)!important;
-}
-
-/* 面板列表项 选中状态*/
-.b3-list-item--focus .b3-list-item__text{
- font-weight:600;
- color:var(--b3-theme-on-background)!important;
-}
-/*标签树*/
-.sy__tag>.fn__flex-1>ul>.b3-list-item>.b3-list-item__graphic,
-.sy__tag ul ul li>.b3-list-item__graphic{
- display:none;
-}
-.sy__tag>.fn__flex-1>ul>.b3-list-item>.b3-list-item__text:before,
-.sy__tag ul ul li>.b3-list-item__text:before{
- visibility: visible!important;
- content: "# ";
- color:var(--b3-list-item-arrow);
- padding-left:0px;
-}
-/*收集箱面板*/
-.sy__inbox .inbox__details{
- top: 50px;
-}
-input[type="checkbox" i] {
- margin-left:6px;
-}
-/*大纲面板*/
-.sy__outline>.b3-list-item>.b3-list-item__graphic{
- padding-left: 10px;
-}
-/*大纲前圆点*/
-.sy__outline .b3-list-item__arrow.fn__hidden{
- visibility: visible!important;
- opacity: 0.6;
- width: 0.2em;
- height: 0.2em;
- color: transparent;
- background-color:var(--b3-list-item-arrow);
- border-radius: 50%;
- padding: 0px;
- margin: 0 4px 0 14px;
-}
-.sy__outline .b3-list-item__arrow.fn__hidden:hover{
- background-color: var(--b3-list-item-arrow)!important ;
-}
-/*大纲数字*/
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] .b3-list-item__toggle::after,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] .b3-list-item__toggle::after{
- position:relative;
- left:8px;
- border-radius:3px;
- opacity:0.5;
- font-size:10px;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] svg.b3-list-item__graphic,
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] svg.b3-list-item__graphic{
- margin-left:-14px;
- margin-right:4px;
- color:transparent;
- z-index:2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] .b3-list-item__toggle::after{
- content:"❶";
- color:var(--h1-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] .b3-list-item__toggle::after{
- content:"❷";
- color:var(--h2-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] .b3-list-item__toggle::after{
- content:"❸";
- color:var(--h3-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] .b3-list-item__toggle::after{
- content:"❹";
- color:var(--h4-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] .b3-list-item__toggle::after{
- content:"❺";
- color:var(--h5-list-graphic);
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] .b3-list-item__toggle::after{
- content:"❻";
- color:var(--h6-list-graphic);
-}
-
-.file-tree ul.b3-list.b3-list--background [data-subtype="h1"] svg.b3-list-item__graphic:hover{
- background-color:var(--h1-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h2"] svg.b3-list-item__graphic:hover{
- background-color:var(--h2-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h3"] svg.b3-list-item__graphic:hover{
- background-color:var(--h3-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h4"] svg.b3-list-item__graphic:hover{
- background-color:var(--h4-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h5"] svg.b3-list-item__graphic:hover{
- background-color:var(--h5-list-graphic);
- opacity:0.2;
-}
-.file-tree ul.b3-list.b3-list--background [data-subtype="h6"] svg.b3-list-item__graphic:hover{
- background-color:var(--h6-list-graphic);
- opacity:0.2;
-}
-/* 反链面板 */
-.backlinkList>.b3-list>.protyle,.backlinkMList>.b3-list>.protyle{
- margin:0 4px 4px 4px;
- border-radius:3px;
-}
-.sy__backlink .b3-text-field{
- height:24px;
-}
-.sy__backlink .b3-text-field:not(.b3-text-field:focus){
- box-shadow: inset 0 0 0 1px var(--b3-layout-resize);
-}
-/*分界线*/
-.layout__resize:after{
- background-color: var(--b3-layout-resize);
-}
-.fn__flex-shrink .layout__resize:after{
- background-color: var(--b3-shrink-layout-resize);
-}
-.fn__flex-shrink+.layout__resize--lr:after{
- background-color:transparent;
- width:2px;
- margin-left:-2px;
-}
-.layout__resize--lr:hover:after,.layout__resize--lr:active:after{
- width:2px;
-}
-.layout__resize:hover:after,.layout__resize--lr:hover:after,.layout__resize--lr:active:after{
- background-color:var(--b3-layout-resize-hover);
- transition: background-color 300ms ease-in 0s;
-}
-.layout__resize--lr:after{
- background-color: var(--b3-layout-resize);
- width:var(--b3-layout-resize-width);
- margin-left:-1px;
- top: 0px;
- height:100%;
-}
-/*侧栏宽度调整动画*/
-#layouts > .fn__flex-1 > .fn__flex-column,#layouts > .fn__flex-1 > .fn__flex{
- transition: var(--flex-width-transition);
-}
-
-/* ————————————————————页签———————————————————— */
-.layout-tab-bar{
- padding:0 0 0 8px;
- background-color: var(--b3-theme-background);
-}
-.layout-tab-bar .item{
- margin:15px 0px 7px 0px;
- border-radius: 3px!important;
- min-height:unset;
- min-width:unset;
- overflow:visible;
-}
-
-
-.layout-tab-bar .item__icon svg{
- height: 16px;
-}
-.layout__wnd--active .layout-tab-bar .item--focus{
- box-shadow:none!important;
-}
-.layout-tab-bar .item--focus:after {
- content: "";
- width: 100%;
- height: 3px;
- border-radius: 6px;
- bottom: -7px;
- position: absolute;
- background-color: var(--b3-theme-background-light);
-}
-.layout__wnd--active .layout-tab-bar .item--focus::after{
- content: '';
- position: absolute;
- bottom: -7px;
- left: 0px;
- right: 0px;
- height: 3px;
- background-color: var(--b3-item-focus);
- animation: item-focus 0.2s ease-in-out;
- overflow:visible;
-}
-.layout-tab-bar .item:not(.item--readonly):hover{
- background-color:var(--b3-list-background)!important;
- transition: all 300ms;
-}
-.layout-tab-bar .item--readonly{
- margin:12px 5px 5px 0px;
-}
-
-.item__close[data-type="more"] svg{
- padding: 8px;
- border-radius: 5px;
-}
-.item__close[data-type="new"] svg{
- padding: 7px!important;
- border-radius: 5px;
-}
-.item__close[data-type="more"] svg:hover,.item__close[data-type="new"] svg:hover{
- background-color:var(--b3-list-background);
-}
-.layout-tab-bar .item__text{
- padding: 4px 8px 4px 11px;
-}
-.layout-tab-bar .item__close{
- padding: 6px 6px 4px 2px;
-}
-
-.layout-tab-bar .item--pin{
- margin-right:8px!important;
- padding:2px;
-}
-.layout-tab-bar .item__icon>img, .layout-tab-bar .item__icon>svg{
- width: 18px;
-}
-.layout-tab-bar .item__icon{
- height:20px;
- width: 20px;
- line-height:20px;
- align-items: center;
-}
-.layout-tab-bar .item--pin .item__icon{
- padding:4px 2px 2px 3px;
-}
-.layout-tab-bar .item--pin:nth-child(4n-3){
- background-color:var(--b3-card-error-background);
-}
-.layout-tab-bar .item--pin:nth-child(4n-2){
- background-color:var(--b3-card-warning-background);
-}
-.layout-tab-bar .item--pin:nth-child(4n-1){
- background-color:var(--b3-card-info-background);
-}
-.layout-tab-bar .item--pin:nth-child(4n){
- background-color:var(--b3-card-success-background);
-}
-.layout-tab-bar .item__graphic{
- padding: 4px 4px 4px 0px;
-}
-/* ————————————————————面包屑———————————————————— */
-.protyle-breadcrumb{
- padding: 6px 8px 4px 8px;
- box-shadow: 0px 1px 0px 0px var(--b3-protyle-breadcrumb-shadow) inset;
-}
-.block__popover .protyle-breadcrumb{
- padding: 6px 8px 0px 8px;
- margin-bottom: -10px;
-}
-.protyle-breadcrumb__item--active,.protyle-breadcrumb__item--active>svg,
-.protyle-breadcrumb__item--active>svg.ft__primary+span{
- color: var(--b3-theme-primary)!important;
- background-color: transparent;
-}
-.protyle-breadcrumb__item,.protyle-breadcrumb__icon{
- padding: 5px;
- margin: 0px;
-}
-.protyle-breadcrumb__text{
- margin-left: 6px;
-}
-.protyle-breadcrumb__arrow{
- width: 0px;
- height: 13px;
- transform: rotate(20deg);
- border-left: 1px solid var(--b3-protyle-breadcrumb-arrow);
-}
-.protyle-breadcrumb>.block__icon:not(.ft__primary):hover,
-.protyle-breadcrumb__icon:hover,.protyle-breadcrumb__item:hover,
-.protyle-breadcrumb>.b3-tooltips__w:hover{
- background-color: var(--b3-list-background);
- border-radius: 3px;
-}
-/*面包屑更多*/
-.protyle-breadcrumb>.block__icon:not(.ft__primary) svg{
- color: var(--b3-breadcrumb-svg)!important;
- width: 19px;
- height: 19px;
- padding: 3px 1px;
-}
-.protyle-breadcrumb>.b3-tooltips__w{
- padding: 0 4px;
-}
-
-/* ————————————————————编辑区———————————————————— */
-/*头图、图标、标签*/
-.protyle-background{
- border-bottom:10px solid transparent !important
-}
-.protyle-background[style*="30vh"]>.protyle-background__iconw >.protyle-icons,
-.protyle-background[style*="64px"]>.protyle-background__iconw >.protyle-icons,
-.protyle-background[style*="56px"]>.protyle-background__iconw >.protyle-icons,
-.protyle-background[style*="103px"]>.protyle-background__iconw >.protyle-icons{
- background-color:transparent;
- position:absolute;
- left:0px;
- margin:0px;
- opacity:0;
-}
-.protyle-background[style*="30vh"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips,
-.protyle-background[style*="64px"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips,
-.protyle-background[style*="56px"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips,
-.protyle-background[style*="103px"]>.protyle-background__iconw >.protyle-icons>.b3-tooltips{
- margin-top:80px;
-}
-.protyle-background[style*="30vh"]>.protyle-background__iconw >.fn__none+.protyle-icons>.b3-tooltips{
- margin-top:0px;
-}/*没图标的情况下浮动*/
-
-.protyle-background__iconw {
- height:auto;
- width:256px;
- margin-left:5px;
-}
-.protyle-background__iconw .protyle-icons .b3-tooltips{
- display:inline-flex;
- height:28px;
- border-radius:3px;
- padding:0 8px 0 6px;
- color:var(--b3-icons-tooltips);
- background-color:transparent;
-}
-.protyle-background__iconw .protyle-icons{
- background-color:transparent;
- margin:72px 0 0 0px;
- height:1px;
- opacity:0
-}
-.protyle-background__iconw .protyle-icons .b3-tooltips svg{
- width:14px;
- height:14px;
- padding:7px 6px 0 0;
- display:inline-flex
-}
-.protyle-background__iconw .protyle-icons .b3-tooltips::after{
- display:inline-flex;
- height:28px;
- font-size:12px;
- line-height:28px;
- transform:none;
- opacity:1;
- color:var(--b3-icons-tooltips);
- background-color:transparent;
- position:static;
- margin:0;
- padding:0
-}
-.protyle-background .protyle-icons .b3-tooltips input{
- width:100% !important;
-}/*上传按钮*/
-.protyle-background__iconw .protyle-icons .b3-tooltips:hover{
- background-color:var(--b3-icons-tooltips-hover);
-}
-.protyle-background .protyle-background__icon{
- width:78px;
- height:78px;
- font-size:54px;
- top:calc(30vh - 42px);
- line-height:78px;
- text-align:center;
- border-radius:4px
- }
-.protyle-background .protyle-background__icon svg{
- width:78px;
- height:78px
-}
-.protyle-background .protyle-background__icon:hover{
- background-color:var(--b3-icons-tooltips-hover);
- opacity:1;
-}
-.protyle-background:hover >.protyle-background__iconw >.protyle-icons{
- opacity:1
-}
-.protyle-background .protyle-icons .b3-tooltips::before{
- border:none
-}/*取消箭头*/
-
-/*头图选项*/
-.protyle-background__img .protyle-icons{
- background-color:transparent;
- left: auto;
- right:max(calc((100% - min(1920px, max(1500px, 46.9vw))) / 2), 103px);
- opacity:0;
- border-radius:3px;
-}
-.protyle-background__img .protyle-icons .b3-tooltips{
- display:inline-flex;
- height:28px;
- padding:0 10px 0 6px;
- color:var(--b3-img-icons-tooltips);
-}
-.protyle-background__img .protyle-icons .b3-tooltips svg{
- width:12px;
- height:12px;
- padding:8px 6px 0 2px;
- display:inline-flex
-}
-.protyle-background__img .protyle-icons .b3-tooltips::after{
- display:inline-flex;
- height:28px;
- font-size:12px;
- line-height:28px;
- transform:none;
- transition:none;
- opacity:1;
- color:var(--b3-img-icons-tooltips);
- background-color:transparent;
- position:static;
- margin:0;
- padding:0;
-}
-
-.protyle-background__img .protyle-icons>span{
- color:var(--b3-img-icons-tooltips);
- background-color:var(--b3-img-icons-tooltips-bg);
- box-shadow: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 2px 4px;
-
-}
-.protyle-background__img .protyle-icons .b3-tooltips:hover,.protyle-background__img.protyle-icons>span:hover{
- background-color:var(--b3-fn__flex-shrink-background);
- color:var(--b3-img-icons-tooltips);
-}
-
-.protyle-background__img .protyle-icons>span:not(span[data-type='cancel']):not(span[data-type='confirm']):not(span[data-type='link']):not(span[data-type='random']):not(span[data-type='position']):not(span[data-type='remove']):not(span[style*="relative"])
-{
- background-color: var(--b3-img-icons-span);
- color:var(--b3-theme-background);
- padding:5px 20px;
-}/*上下移动题图提示语*/
-
-.protyle-background .protyle-background__img:hover .protyle-icons{opacity:1;}
-/*选项块透明度*/
-
-
-/*文档标签*/
-.protyle-icons{
- z-index:2;
-}
-.protyle-background__tags{
- right:76px;
-}
-.protyle-background[style*="30vh"]>.protyle-background__tags{
- float:right;
- padding-top:30.5vh;
-}
-.protyle-background[style*="103px"]>.protyle-background__tags,.protyle-background[style*="47px"]>.protyle-background__tags{
- float:right;
-}
-.protyle-background__tags .item{
- margin: 11px 10px 4px 0;
- border-radius:5px;
- padding:2px 8px;
- font-size:90%;
- transition: all 200ms;
-}
-.protyle-background__tags .item:hover{
- padding:2px 22px 2px 8px;
- transition:padding 200ms ease-in 0s;
-}
-.protyle-background__tags .item svg{
- top: 4px;
- right: 4px;
- background-color:transparent;
-}
-.protyle-background__tags .item svg:hover{
- background-color:var(--b3-list-background-focus);
-}
-/*文档标题块*/
-.protyle-title__input{
- font-weight:700;
- font-size: 40px;
-}
-/*h1~6标题间距*/
-.protyle-wysiwyg .h1,.protyle-wysiwyg .h2,
-.protyle-wysiwyg .h3,.protyle-wysiwyg .h4,
-.protyle-wysiwyg .h5,.protyle-wysiwyg .h6{
- font-weight:700;
- margin-top: 1.2em!important;
- margin-bottom: .4em!important;
-}
-/*.protyle-wysiwyg[data-doc-type="NodeDocument"]>[data-type="NodeHeading"]{
- margin-top: 0em;
-}*/
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h1,
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h2,
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h3,
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h4,
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h5,
-.protyle-wysiwyg [data-node-id].li > .protyle-action ~ .h6{
- margin-top: 0em!important;
- margin-bottom: 0.2em!important;
-}
-/*块标 */
-.protyle-gutters button svg {
- color: var(--b3-gutters-color);
- padding:0 5px;
- border-radius:3px;
- height: 24px;
-}
-.protyle-gutters button[data-type="fold"] svg {
- padding:0px 6px;
-}
-.protyle-gutters button svg:hover {
- background-color: var(--b3-gutters-background);
-}
-.protyle-gutters button{
- padding:4px 0px;
-}
-.protyle-gutters{
- transition: all 200ms ease-out;
-}
-/*块右上角引用数*/
-.protyle-attr--refcount{
- height: 20px;
- width: 20px;
- left:1px;
- padding: 0;
- line-height: 20px;
- text-align: center;
-}
-/* 超级块 */
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="col"],
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="row"],
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="col"]>div,
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout="row"]>div{
- margin-bottom: 5px;
- border-radius: 3px;
-}
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout=col]>div:not(:nth-last-child(2)),
-.protyle-wysiwyg [data-node-id].sb[data-sb-layout=col] .sb:not(:nth-last-child(2)){
- margin-right:5px;
-}
-
-/* 图片圆角 */
-.protyle-wysiwyg img{
- border-radius: 3px;
-}
-/* 文字弹出工具条 */
-.protyle-toolbar{
- border-radius: 3px;
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
- animation: toolbar 0.2s ease-in-out;
-
-}
-
-.protyle-toolbar__item{
- height:32px;
- width:30px;
-}
-.protyle-toolbar__item:not(.protyle-toolbar__item--current){
- color:var(--b3-theme-on-background);
-}
-.protyle-toolbar__item[data-type='blockRef']{
- padding-right:3px;
- width:31px;
-}
-.protyle-toolbar__item[data-type='font']{
- width:44px
-}
-.protyle-toolbar__item[data-type='font'] svg{
-margin-left:-10px;
-width:36px;
-}
-.protyle-toolbar__item:hover {
- background-color: var(--b3-toolbar-item-hover);
-}
-.protyle-toolbar__divider{
- margin:0px;
-}
-.protyle-util{
-animation: menu 0.2s ease-in-out;
-box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
-}
-.protyle-util{
- background-color: var(--b3-theme-background);
-}
-/* 弹出工具条字体颜色选择 */
-.b3-color__square[data-type="color"]{
- border-radius: 3px;
- width:22px;
- height:22px;
- background-color:transparent!important;
- box-shadow: 0 0 0 1px var(--b3-color--square) inset;
-}
-.b3-color__square[style="background-color:var(--b3-font-color1)"]::before{
- content: "A";
- color:var(--b3-font-color1);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color2)"]::before{
- content: "A";
- color:var(--b3-font-color2);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color3)"]::before{
- content: "A";
- color:var(--b3-font-color3);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color4)"]::before{
- content: "A";
- color:var(--b3-font-color4);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color5)"]::before{
- content: "A";
- color:var(--b3-font-color5);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color6)"]::before{
- content: "A";
- color:var(--b3-font-color6);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color7)"]::before{
- content: "A";
- color:var(--b3-font-color7);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color8)"]::before{
- content: "A";
- color:var(--b3-font-color8);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color9)"]::before{
- content: "A";
- color:var(--b3-font-color9);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color10)"]::before{
- content: "A";
- color:var(--b3-font-color10);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color11)"]::before{
- content: "A";
- color:var(--b3-font-color11);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color12)"]::before{
- content: "A";
- color:var(--b3-font-color12);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[style="background-color:var(--b3-font-color13)"]::before{
- content: "A";
- color:var(--b3-font-color13);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square[data-type="backgroundColor"]{
- border-radius: 3px;
- width:22px;
- height:22px;
- box-shadow: 0 0 0 1px var(--b3-color--square) inset;
-}
-.b3-color__square[data-type="backgroundColor"]::before{
- content: "A";
- color:var(--b3-theme-on-background);
- margin-top:-2px;
- font-weight: 500;
- font-size:1.3em;
-}
-.b3-color__square:hover{
- box-shadow: 0 0 0 1px var(--b3-theme-on-background) inset;
-}
-/* 无序列表 */
-.protyle-wysiwyg [data-node-id].li>.protyle-action{
- color: var(--b3-theme-on-background);
-}
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.protyle-action:after, .protyle-wysiwyg [data-node-id].li>.protyle-action:hover:after{
- background-color: var(--b3-border-color)!important;
-}
-/* 有序列表 */
-.protyle-wysiwyg [data-node-id].li[data-subtype="o"]>.protyle-action--order:after{
- padding:4px;
- margin:-20px 0 0 -12px;
- height:32px;
-}
-.protyle-wysiwyg div[fold="1"].li[data-subtype="o"]>.protyle-action--order:after{
- background: url("img/square.svg") no-repeat center!important;
- transition:none;
-}
-.protyle-wysiwyg [data-node-id].li[data-subtype="o"]>.protyle-action--order:hover:after{
- background: url("img/square.svg") no-repeat center!important;
- transition:none;
-}
-/* 任务列表 */
-.protyle-task--done{
- color: var(--b3-task-done-color);
- text-decoration: line-through;
-}
-.protyle-task--done svg{
- color: var(--b3-theme-primary) !important;
-}
-.protyle-task--done:hover svg{
- color: var(--b3-task-done-hover) !important;
-}
-.protyle-wysiwyg [data-node-id].li>.protyle-action--task:hover:after{
- display:none;
-}
-/* 表格 */
-.b3-typography table, .protyle-wysiwyg table{
- font-weight:500;
- border-radius:5px;
- overflow:hidden;
- width: 100%;
- display: table;
- box-shadow: var(--b3-border-color) 0px 0px 0px 1px;
-}
-
-.protyle-wysiwyg table tbody tr{
- background-color:var(--b3-theme-background);
-
-}
-/* 自定义表格宽度 */
-.protyle-wysiwyg div.table[data-node-id]{
- width: calc(100% - 8px);
-}
-
-.protyle-wysiwyg [data-node-id][custom-f~=auto] table {
- width: auto !important;
- white-space: pre;
-}
-/* 表头和表行格式一致 */
-.protyle-wysiwyg [data-node-id][custom-t~=biaotou] table th {
- font-weight: normal !important;
- color: inherit !important;
- background-color: var(--b3-theme-background) !important;
-}
-/* 竖表头格式 */
-.protyle-wysiwyg [data-node-id][custom-t~=vbiaotou] table th {
- font-weight: normal !important;
- color: inherit !important;
- background-color: var(--b3-theme-background) !important;
-}
-.protyle-wysiwyg [data-node-id][custom-t~=vbiaotou] table tr th:first-child,
-.protyle-wysiwyg [data-node-id][custom-t~=vbiaotou] table tr td:first-child{
- font-weight: bold !important;
- background-color: var(--b3-theme-surface) !important;
-}
-/* 标签 */
-.protyle-wysiwyg span[data-type="tag"] {
- font-size: 90%;
- border-radius: 3px;
- padding:0px 6px 2px 6px;
- color: var( --b3-theme-on-background)!important;
- border-bottom:none !important;
- background-color:var(--b3-font-background7);
-}
-/*###############自定义标签颜色#######################*/
-.protyle-wysiwyg span[data-content="重要"]/*自定义标签内容*/{
- background-color:var(--b3-font-background13);/*自定义标签颜色*/
-}
-
-.protyle-wysiwyg span[data-content="TODO"]{
- background-color:var(--b3-font-background8);
-}
-
-.protyle-wysiwyg span[data-content="注意"]{
- background-color:var(--b3-font-background7);
-}
-/*块引用*/
-.protyle-wysiwyg [data-node-id] span[data-type="block-ref"]{
- font-size: 95%;
- padding:0px 5px 1px 5px;
- color:var(--b3-theme-on-background);
- background-color:var(--b3-block-ref-background);
- border-bottom: 1px dashed var(--b3-theme-on-surface);
-}
-.protyle-wysiwyg [data-node-id] span[data-type="block-ref"]:hover{
- background-color:var(--b3-list-background-focus);
-}
-/* 超链接 */
-.protyle-wysiwyg [data-node-id] span[data-type="a"]{
- padding: 0 2px;
- color: var(--b3-theme-on-surface);
- border-bottom:1px solid var(--b3-border-color);
-}
-.protyle-wysiwyg [data-node-id] span[data-type="a"]:hover{
- color: var(--b3-theme-on-background);
- border-bottom:1px solid var(--b3-theme-on-background);
-}
-/* 嵌入块 */
-.protyle-wysiwyg [data-node-id].render-node[data-type="NodeBlockQueryEmbed"]{
- color: var( --b3-theme-on-background);
- background-color: var(--b3-theme-surface-light);
- border-radius:0 5px 5px 0;
-}
-/* 命名,别名,备注*/
-.protyle-attr--name,.protyle-attr--alias,.protyle-attr--memo{
- color: var(--b3-font-color3);
- font-size:90%;
- padding:0 3px;
- width:auto;
-}
-/*代码块*/
-.code-block {
- margin-left:4px!important;
-}
-.b3-typography .hljs, .protyle-wysiwyg .hljs{
- background-color:var(--b3-code-block-hljs)!important;
- padding: 30px 10px 22px 10px;
-}
-.protyle-wysiwyg[contenteditable="true"] .code-block .protyle-action{
- padding:6px 3px;
-}
-.code-block .protyle-action .protyle-action__language{
- height:14px;
- line-height:12px;
- border-radius:3px;
- padding:4px 4px;
-}
-.code-block .protyle-action .protyle-action__language:hover{
- background-color:var(--b3-list-background);
-}
-.code-block .protyle-action .protyle-action__copy,.code-block .protyle-action .protyle-action__menu{
- margin-top:-3px;
- color:var(--b3-icons-tooltips);
- background-color:var(--b3-list-background);
-}
-.code-block .protyle-action .protyle-action__copy:hover,
-.code-block .protyle-action .protyle-action__menu:hover{
- background-color:var(--b3-list-background-focus);
-}
-.protyle-linenumber__rows{
- background-color: var(--b3-linenumber-rows);
- padding: 30px 4px 22px 4px;
-}
-.protyle-wysiwyg [data-node-id][fold="1"]:not(.li):not([data-type="NodeHeading"]).code-block{
- height: 2.2em;
-}
-/*行内代码*/
-.fn__code, .b3-typography code:not(.hljs), .b3-typography span[data-type~=code], .protyle-wysiwyg code:not(.hljs), .protyle-wysiwyg span[data-type~=code]{
- color:var(--b3-inline-code);
-}
-/*折叠样式*/
-.protyle-wysiwyg div[fold="1"]:not(div[data-type="NodeListItem"]){
- background-color:var(--b3-fn__flex-shrink-background);
- border-radius:5px;
- border:1px solid var(--b3-border-fold);
-}
-.protyle-wysiwyg div[fold="1"][data-type="NodeHeading"]:before{
- background-color:transparent;
-}
-
-
-/* ————————————————————弹出菜单&设置菜单———————————————————— */
-.b3-menu{
- animation: menu 0.2s ease-in-out;
- box-shadow: var(--b3-menu-shadow);
- background-color:var(--b3-theme-background);
- padding:5px 4px;
-}
-.b3-menu .b3-menu__submenu{
- top:-6px;
- padding:5px 4px;
- background-color:var(--b3-theme-background)!important;
-}
-.b3-menu__item{
- padding: 0 8px;
- background-color: var(--b3-theme-background);
- border-radius:3px;
-}
-.b3-menu__item:hover:not(.b3-menu__item--readonly):not(.b3-menu__item--custom),
-.b3-menu__item--current {
- background-color:var(--b3-list-background);
-}
-.b3-menu__accelerator{
- color:var(--b3-scroll-color-hover);
-}/*快捷键提示*/
-.b3-list-item--big{
- padding: 14px 24px;
- border-radius: 0px;
-}
-/*快捷键面板*/
-#keymapList .b3-list--border>ul li:before {
- left: -12px;
-}
-#keymapList .b3-list--border>ul>ul li:before {
- left: -46px;
-}
-#keymapList .b3-list--border>ul ul:before {
- left: -12px;
-}
-/* 按钮 */
-.b3-button:not(.b3-button--text):not(.b3-button--cancel){
- font-weight:700;
- background-color:var(--b3-theme-primary);
- color: var(--b3-theme-background) !important;
- border:1px solid rgb(15 15 15 / 10%);
- box-shadow:rgb(15 15 15 / 10%) 0px 1px 2px;
-}
-
-.b3-button:not(.b3-button--text):not(.b3-button--cancel):hover{
- background-color:var(--b3-button);
-}
-/* 开关 */
-.b3-switch {
- height: 14px;
- width: 26px;
- padding: 1px;
- border-radius: 44px;
- box-sizing: content-box;
- background: var(--b3-border-color);
-}
-
-.b3-switch::after {
- border: none;
- box-shadow: none;
- width: 14px;
- height: 14px;
- border-radius: 44px;
- background: var(--b3-theme-background);
- transform: translateX(5px) translateY(4px);
-}
-
-.b3-switch::before {
- display: none !important;
-}
-
-.b3-switch:checked {
- background-color: var(--b3-theme-primary);
-}
-
-.b3-switch:checked:after {
- background: var(--b3-theme-background);
- transform: translateX(17px) translateY(4px);
-}
-/*属性面板*/
-.b3-dialog__container{
- background-color: var(--b3-fn__flex-shrink-background);
-}
-/*设置菜单窗口*/
-.b3-dialog__container .fn__flex-column{
- background-color: var(--b3-theme-background);
- border-radius: 5px;
-}
-.b3-dialog__container .b3-list--background
-{
- background-color:var(--b3-fn__flex-shrink-background);
- border-radius:0 0 0 5px;
- border-right: 0px;
-
-}
-.fn__flex .b3-label{
- padding: 20px 0px;
- margin: 0% 4%;
-}
-.b3-list-item--big .b3-list-item__graphic{
- height: 14px;
- width: 14px;
- color:var(--b3-list-background-more);
-}
-/*引用块弹出框*/
-.block__popover--open{
- border:none;
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
- animation: menu 0.2s ease-in-out;
-}
-.block__edit>.protyle-breadcrumb>.block__icon svg{
- color:var(--b3-theme-on-surface);
- width:14px;
- height:14px;
- padding: 5px;
-}
-.block__edit>.protyle-breadcrumb>.block__icon{
- padding: 0px;
-}
-.block__popover--move>.block__icons{
- padding:0 10px;
-}
-/* 弹出框钉住 */
-.block__icon--active[data-type='pin'] svg{
- color: var(--b3-theme-primary)!important;
- transition: all 200ms;
- transform: rotate(-46deg);
-}
-.block__icon--active{
- background-color:transparent;
-}
-/* 选择下拉菜单 */
-.b3-select {
- border: 1px solid var(--b3-border-color);
- padding: 2px 8px 4px 8px;
-}
-/* 移动文档菜单 */
-#foldList .b3-list-item__icon{
- padding-left:18px;
-}
-#foldList .b3-list-item__showall{
- padding-left:3px;
- height:26px;
- line-height:26px;
- color:var(--b3-theme-on-surface);
-}
-/*历史面板*/
-.b3-dialog__container .layout-tab-bar .item{
- padding: 8px 14px;
-}
-.b3-dialog__container .layout-tab-bar .item--focus{
- position:relative;
-}
-.b3-dialog__container .layout-tab-bar .item--focus::after{
- content: '';
- position: absolute;
- bottom: -7px;
- left: 0px;
- right: 0px;
- height: 2px;
- background-color:var(--b3-item-focus);
-}
-div#historyContainer{
- border-top:1px solid var(--b3-border-color);
-}
-/*pdf*/
-.pdf__outer,#sidebarContainer,#toolbarViewer,#toolbarViewer>.fn__flex-1{
- background-color:var(--b3-fn__flex-shrink-background);
-}
-
-#toolbarSidebar,#toolbarSidebar>.fn__flex-1{
- background-color:var(--b3-toolbarSidebar);
-}
-.pdfViewer{
- background-color:var(--b3-theme-background);
-}
-.b3-color__square{
- border-radius: 3px;
- width:22px;
- height:22px;
- box-shadow: 0 0 0 1px var(--b3-border-color) inset;
- font-weight: 500;
-}
-.b3-color__square[style*="--b3-pdf-background"]::before{
- content: "A";
- color:var(--b3-theme-on-background);
- margin-top:-2px;
- font-weight:500;
- font-size:1.1em;
- }
-/*pdf批注*/
-.protyle-wysiwyg [data-node-id] span[data-type="file-annotation-ref"]:before {
- content:"💡 ";
-}
-.protyle-wysiwyg span[data-type="file-annotation-ref"] {
- font-size: 90%;
- border-radius: 3px;
- padding:2px 6px 4px 6px;
- color: var( --b3-theme-on-background)!important;
- background-color:var(--b3-toolbar-item-hover);
-}
-.protyle-wysiwyg span[data-type="file-annotation-ref"]:hover {
- background-color:var(--b3-border-color);
-}
-/* '/'弹出分栏*/
-.hint--menu{
- animation: menu 0.2s ease-in-out;
- box-shadow: var(--b3-menu-shadow);
- background-color: var(--b3-theme-background);
- columns: 50px 4;
- column-rule:1px outset var(--b3-border-color);
- min-width: 50vw !important;
- padding:5px;
-}
-.hint--menu .b3-list-item{
- border-radius:3px;
- margin:0!important;
- width:100%!important;
-}
-.hint--menu .b3-list-item__text{
- margin:0 0 0 8px;
- color:var(--b3-theme-on-background);
-}
-.hint--menu .b3-list-item__graphic{
- margin:0px;
- width:10px;
- height:12px;
- border:1px solid var(--b3-border-color);
-}
-.hint--menu>.b3-list-item--two{
- margin:0;
-}
-@media screen and (min-width: 1280px){
- .hint--menu>.b3-list-item--two{
- width:calc(25% - 5px);
-}
- .hint--menu{
- max-height: 412px !important;
- }
-}
-@media screen and (max-width: 1280px) {
- .hint--menu>.b3-list-item--two{
- width:calc(33.3% - 5px);
- }
- .hint--menu{
- max-height: 540px !important;
- }
-}
-.hint--menu:has(>.emojis){
- columns:unset!important;
-}
-/*文本框选颜色*/
-::selection {
- background: var( --b3-theme-primary-lightest);
-}
-/*滚动条*/
-::-webkit-scrollbar {
- width : var(--webkit-scrollbar);
- height: var(--webkit-scrollbar);
- background-color:var(--b3-scroll-bgcolor);
-}
-::-webkit-scrollbar-thumb:hover{
- background-color:var(--b3-scroll-color-hover);
-}
-::-webkit-scrollbar-thumb{
- border-radius: var(--webkit-scrollbar-thumb);
- background-color:var(--b3-scroll-color);
-}
-/*.protyle-content{
- overflow: overlay;
-}*/
-/* 动态加载和调节进度条*/
-.b3-slider{height:24px;}
-.b3-slider::-webkit-slider-runnable-track {
- height: 4px;
- background: var(--b3-theme-primary-lighter);
-
-
-}
-.b3-slider::-webkit-slider-container {
-padding:3px;
- height: 30px;
- overflow: hidden;
-}
-
-.b3-slider::-webkit-slider-thumb {
- transform:unset !important;
- width: 8px;
- height: 8px;
- background-color: var(--b3-theme-background);
- border: 2px solid transparent;
- margin-top: -2px;
- border-image: linear-gradient(var(--b3-theme-primary),var(--b3-theme-primary)) 0 fill / 1 5 1 0 / 0px 0px 0 2000px;
- box-shadow: 0px 0px 0px 3px var(--b3-theme-primary) ;
-}
-.b3-slider::-webkit-slider-thumb:hover{
- box-shadow:0px 0px 0px 3px var(--b3-theme-primary),0px 0px 0px 5px var(--b3-theme-primary-lighter);
- transition:all 500ms;
-}
-
-/*底栏适配调整测试*/
-.status{
- height:32px;
- background-color:transparent;
- margin-top: -30px;
- position:absolute;
- right:0px;
- bottom:0px;
- border:0;
-}
-.status .toolbar__item{
- margin: 7px 5px 13px 5px;
- border-radius: 5px;
- background-color: var(--b3-status-msg-background);
- padding:2px;
-}
-
-.status .toolbar__item svg{
- padding:5px;
- color:var(--b3-dockright-color);
-}
-.body--win32>.fn__flex-1
-{
- overflow:visible;
-}
-
-.status__counter:not(:empty){
- border-radius:5px;
- background-color:var(--b3-theme-primary);
- color:#fff;
- padding: 0px 0 0 8px ;
- margin:0 5px 5px 5px;
- position:relative;
- right:36px;
- height:27px;
- line-height:27px;
-}
-.status__counter:not(:empty) span{
- color:#fff;
-}
-.status__msg:not(:empty){
- opacity:0.5;
- animation: statusmsg 5s ease-in-out;
- max-width: 100px;
- padding: 0px 8px;
- border-radius:5px;
- background-color:var(--b3-status-msg-background);
- margin:0 5px 5px 5px;
- transition: max-width 300ms,opacity 300ms;
- transition-delay: 2000ms;
- position:relative;
- right:36px;
- height:27px;
- line-height:27px;
-}
-.status__msg:not(:empty):before{
- content: "📢";
- font-size:12px;
-}
-
-.status__msg:not(:empty):hover{
- opacity:1;
- max-width:400px;
- transition: max-width 500ms ease-out;
-}
-
-.layout#layouts .fn__flex-column:not(.fn__flex-shrink)>.fn__flex-1>.fn__flex>.layout-tab-container>.fn__flex-column{
-padding-bottom:30px;}
-
-
-.status #barHelp{
- position:relative;
- right:36px;
-}
-
-.status #barDock{
- position:absolute;
- right:0px;
- z-index:8;
-}
-
-.status>.fn__flex-1{
- position:relative!important;
- width:0px!important;
- right:0px;
- flex:0;
-}
-
-.status #barDock>.b3-menu{
- left:unset!important;
- right:4px;
- bottom:30px!important;
-}
-.status #barDock:before{
- right:unset!important;
- left: 0px;
- transform: rotateY(180deg);
-}
-.status #barDock:after{
- left:unset!important;
- right:100%;
-}
-
-
-
-
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.h1>[spellcheck]:not(.fn__flex-1.history__text.protyle [data-node-id].li[fold="1"]>.h1>[spellcheck])::after,
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.h2>[spellcheck]:not(.fn__flex-1.history__text.protyle [data-node-id].li[fold="1"]>.h2>[spellcheck])::after,
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.h3>[spellcheck]:not(.fn__flex-1.history__text.protyle [data-node-id].li[fold="1"]>.h3>[spellcheck])::after,
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.h4>[spellcheck]:not(.fn__flex-1.history__text.protyle [data-node-id].li[fold="1"]>.h4>[spellcheck])::after,
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.h5>[spellcheck]:not(.fn__flex-1.history__text.protyle [data-node-id].li[fold="1"]>.h5>[spellcheck])::after,
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.h6>[spellcheck]:not(.fn__flex-1.history__text.protyle [data-node-id].li[fold="1"]>.h6>[spellcheck])::after,
-.protyle-wysiwyg [data-node-id].li[fold="1"]>.p>[spellcheck]:not(.fn__flex-1.history__text.protyle [data-node-id].li[fold="1"]>.p>[spellcheck])::after {
- content: " ••• ";
- display: inline;
- vertical-align: 15%;
- font-size: 10px;
- color: var(--b3-dock-item-active-color);
- margin-left: 9px;
- border-radius: 4px;
- background-color: var(--b3-card-error-background);
- box-shadow: 0px 0px 0px 2px var(--b3-card-error-background) inset;
- padding:1px 0px 3px 0px;
- opacity:1;
- position:unset;
- float:unset;
-}
-
-
-.b3-card{
- box-shadow: rgb(15 15 15 / 10%) 0px 0px 0px 1px, rgb(15 15 15 / 10%) 0px 2px 4px;
-}
-
-.b3-card--current{
- box-shadow: var(--b3-theme-primary-light) 0px 0px 0px 1px, var(--b3-theme-primary-light) 0px 2px 4px,0px 0px 0px 3px var(--b3-theme-primary-light) inset;
-}
-.b3-card--current .b3-card__info, .b3-card--current .b3-card__actions{
- background-color:transparent;
-}
-
-.b3-card:hover{
- box-shadow: var(--b3-theme-primary-light) 0px 0px 0px 1px, var(--b3-theme-primary-light) 0px 2px 4px;
- background-color:transparent;
-}
-
-
-
-
-.b3-typography span[data-type~=inline-memo], .protyle-wysiwyg span[data-type~=inline-memo] {
- background-color: var(--b3-theme-primary-lightest);
- border-bottom: 2px solid var(--b3-theme-primary);
-}
-.tooltip--memo{
- font-size:14px;
- color:VAR(--b3-theme-on-background);
- background-color:var(--b3-theme-background);
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
- padding:10px;
-}
-
-#buttonnotion-dark,#buttonsalt,#topBar,#leftColumn,#rightColumn{
- width:26px;
- height:26px;
- margin:4px 0 4px 4px;
-}
-
-
-
-.protyle-wysiwyg [data-node-id].render-node[data-type="NodeBlockQueryEmbed"] {
- padding-left:2px;
-}
-
-
-
-.fn__flex-column #searchList .b3-list-item[data-type='search-item']{
- margin:0!important;
-}
-
-
diff --git a/app/appearance/themes/notion-theme/theme.js b/app/appearance/themes/notion-theme/theme.js
deleted file mode 100644
index b46bf03f4c..0000000000
--- a/app/appearance/themes/notion-theme/theme.js
+++ /dev/null
@@ -1,2317 +0,0 @@
-window.theme = {};
-
-/**
- * 加载样式文件
- * @params {string} href 样式地址
- * @params {string} id 样式 ID
- */
-window.theme.loadStyle = function (href, id = null) {
- let style = document.createElement('link');
- if (id) style.id = id;
- style.type = 'text/css';
- style.rel = 'stylesheet';
- style.href = href;
- document.head.appendChild(style);
-}
-
-/**
- * 更新样式文件
- * @params {string} id 样式文件 ID
- * @params {string} href 样式文件地址
- */
-window.theme.updateStyle = function (id, href) {
- let style = document.getElementById(id);
- if (style) {
- style.setAttribute('href', href);
- }
- else {
- window.theme.loadStyle(href, id);
- }
-}
-
-window.theme.ID_COLOR_STYLE = 'theme-color-style';
-
-/**
- * 获取主题模式
- * @return {string} light 或 dark
- */
-window.theme.themeMode = (() => {
- /* 根据浏览器主题判断颜色模式 */
- // switch (true) {
- // case window.matchMedia('(prefers-color-scheme: light)').matches:
- // return 'light';
- // case window.matchMedia('(prefers-color-scheme: dark)').matches:
- // return 'dark';
- // default:
- // return null;
- // }
- /* 根据配置选项判断主题 */
- switch (window.siyuan.config.appearance.mode) {
- case 0:
- return 'light';
- case 1:
- return 'dark';
- default:
- return null;
- }
-})();
-
-
-/**
- * 更换主题模式
- * @params {string} lightStyle 浅色主题配置文件路径
- * @params {string} darkStyle 深色主题配置文件路径
- */
-window.theme.changeThemeMode = function (
- lightStyle,
- darkStyle,
-) {
- let href_color = null;
- switch (window.theme.themeMode) {
- case 'light':
- href_color = lightStyle;
- break;
- case 'dark':
- default:
- href_color = darkStyle;
- break;
- }
- window.theme.updateStyle(window.theme.ID_COLOR_STYLE, href_color);
-}
-
-
-/* 根据当前主题模式加载样式配置文件 */
-window.theme.changeThemeMode(
- `/appearance/themes/notion-theme/style/topbar/notion-light.css`,
- `/appearance/themes/notion-theme/style/topbar/notion-dark-mode.css`,
-);
-
-
-
-
-
-/*----------------------------------创建notion主题工具栏区域----------------------------------
-function createnotionToolbar() {
- var siYuanToolbar = getSiYuanToolbar();
-
- var notionToolbar = getnotionToolbar();
- var windowControls = document.getElementById("windowControls");
-
- if (notionToolbar) siYuanToolbar.removeChild(notionToolbar);
- notionToolbar = insertCreateBefore(windowControls, "div", "notionToolbar");
- notionToolbar.style.marginRight = "14px";
- notionToolbar.style.marginLeft = "11px";
-}*/
-
- /****************************思源API操作**************************/
- async function 设置思源块属性(内容块id, 属性对象) {
- let url = '/api/attr/setBlockAttrs'
- return 解析响应体(向思源请求数据(url, {
- id: 内容块id,
- attrs: 属性对象,
- }))
- }
- async function 向思源请求数据(url, data) {
- let resData = null
- await fetch(url, {
- body: JSON.stringify(data),
- method: 'POST',
- headers: {
- Authorization: `Token ''`,
- }
- }).then(function (response) { resData = response.json() })
- return resData
- }
- async function 解析响应体(response) {
- let r = await response
- return r.code === 0 ? r.data : null
- }
-
-
- /****UI****/
- function ViewSelect(selectid,selecttype){
- let button = document.createElement("button")
- button.id="viewselect"
- button.className="b3-menu__item"
- button.innerHTML='<svg class="b3-menu__icon" style="null"><use xlink:href="#iconGlobalGraph"></use></svg><span class="b3-menu__label" style="">视图选择</span><svg class="b3-menu__icon b3-menu__icon--arrow" style="null"><use xlink:href="#iconRight"></use></svg></button>'
- button.appendChild(SubMenu(selectid,selecttype))
- return button
-}
-
-function SubMenu(selectid,selecttype,className = 'b3-menu__submenu') {
- let node = document.createElement('div');
- node.className = className;
- if(selecttype=="NodeList"){
- node.appendChild(GraphView(selectid))
- node.appendChild(TableView(selectid))
- node.appendChild(kanbanView(selectid))
- node.appendChild(DefaultView(selectid))
- }
- if(selecttype=="NodeTable"){
- node.appendChild(FixWidth(selectid))
- node.appendChild(AutoWidth(selectid))
- node.appendChild(vHeader(selectid))
- node.appendChild(Removeth(selectid))
- node.appendChild(Defaultth(selectid))
- }
- if(selecttype=="NodeBlockquote"){
- node.appendChild(Error(selectid))
- node.appendChild(Warn(selectid))
- node.appendChild(Bug(selectid))
- node.appendChild(Check(selectid))
- node.appendChild(Light(selectid))
- node.appendChild(Question(selectid))
- node.appendChild(Wrong(selectid))
- node.appendChild(Info(selectid))
- node.appendChild(Pen(selectid))
- node.appendChild(Note(selectid))
- node.appendChild(Bell(selectid))
- node.appendChild(Defaultbq(selectid))
- }
-return node;
-}
-
-function GraphView(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","f")
- button.setAttribute("custom-attr-value","dt")
-
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconFiles"></use></svg><span class="b3-menu__label">转换为导图</span>`
- button.onclick=ViewMonitor
- return button
-}
-function TableView(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","f")
- button.setAttribute("custom-attr-value","bg")
-
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconTable"></use></svg><span class="b3-menu__label">转换为表格</span>`
- button.onclick=ViewMonitor
- return button
-}
-function kanbanView(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","f")
- button.setAttribute("custom-attr-value","kb")
-
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconMenu"></use></svg><span class="b3-menu__label">转换为看板</span>`
- button.onclick=ViewMonitor
- return button
-}
-function DefaultView(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.onclick=ViewMonitor
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","f")
- button.setAttribute("custom-attr-value",'')
-
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconList"></use></svg><span class="b3-menu__label">恢复为列表</span>`
- return button
-}
-function FixWidth(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.onclick=ViewMonitor
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","f")
- button.setAttribute("custom-attr-value","")
-
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconTable"></use></svg><span class="b3-menu__label">页面宽度</span>`
- return button
-}
-function AutoWidth(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","f")
- button.setAttribute("custom-attr-value","auto")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconTable"></use></svg><span class="b3-menu__label">自动宽度</span>`
- button.onclick=ViewMonitor
- return button
-}
-function vHeader(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.onclick=ViewMonitor
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","t")
- button.setAttribute("custom-attr-value","vbiaotou")
-
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconTable"></use></svg><span class="b3-menu__label">竖表头样式</span>`
- return button
-}
-function Removeth(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.onclick=ViewMonitor
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","t")
- button.setAttribute("custom-attr-value","biaotou")
-
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconTable"></use></svg><span class="b3-menu__label">取消表头样式</span>`
- return button
-}
-function Defaultth(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","t")
- button.setAttribute("custom-attr-value","")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconTable"></use></svg><span class="b3-menu__label">默认表头样式</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Error(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","error")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-1f6ab"></use></svg><span class="b3-menu__label">禁止</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Warn(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","warn")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-26a0"></use></svg><span class="b3-menu__label">警告</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Bug(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","bug")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-1f41b"></use></svg><span class="b3-menu__label">bug</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Check(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","check")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-2705"></use></svg><span class="b3-menu__label">正确</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Light(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","light")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-1f4a1"></use></svg><span class="b3-menu__label">灵感</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Question(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","question")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-2753"></use></svg><span class="b3-menu__label">问题</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Wrong(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","wrong")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-274c"></use></svg><span class="b3-menu__label">错误</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Info(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","info")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-2139"></use></svg><span class="b3-menu__label">信息</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Pen(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","pen")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-1f58b"></use></svg><span class="b3-menu__label">记录</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Note(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","note")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-1f4d3"></use></svg><span class="b3-menu__label">汇总</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Bell(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","bell")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#icon-1f514"></use></svg><span class="b3-menu__label">提醒</span>`
- button.onclick=ViewMonitor
- return button
-}
-function Defaultbq(selectid){
- let button = document.createElement("button")
- button.className="b3-menu__item"
- button.setAttribute("data-node-id",selectid)
- button.setAttribute("custom-attr-name","b")
- button.setAttribute("custom-attr-value","")
- button.innerHTML=`<svg class="b3-menu__icon" style=""><use xlink:href="#iconRefresh"></use></svg><span class="b3-menu__label">恢复默认样式</span>`
- button.onclick=ViewMonitor
- return button
-}
-function MenuSeparator(className = 'b3-menu__separator') {
- let node = document.createElement('button');
- node.className = className;
- return node;
-}
-
-/* 操作 */
-
-/**
- * 获得所选择的块对应的块 ID
- * @returns {string} 块 ID
- * @returns {
- * id: string, // 块 ID
- * type: string, // 块类型
- * subtype: string, // 块子类型(若没有则为 null)
- * }
- * @returns {null} 没有找到块 ID */
-function getBlockSelected() {
- let node_list = document.querySelectorAll('.protyle-wysiwyg--select');
- if (node_list.length === 1 && node_list[0].dataset.nodeId != null) return {
- id: node_list[0].dataset.nodeId,
- type: node_list[0].dataset.type,
- subtype: node_list[0].dataset.subtype,
- };
- return null;
-}
-
-function ClickMonitor () {
- window.addEventListener('mouseup', MenuShow)
-}
-
-function MenuShow() {
- setTimeout(() => {
- let selectinfo = getBlockSelected()
- if(selectinfo){
- let selecttype = selectinfo.type
- let selectid = selectinfo.id
- if(selecttype=="NodeList"||selecttype=="NodeTable"||selecttype=="NodeBlockquote"){
- setTimeout(()=>InsertMenuItem(selectid,selecttype), 0)
- }
- }
- }, 0);
-}
-
-
-function InsertMenuItem(selectid,selecttype){
- let commonMenu = document.getElementById("commonMenu")
- let readonly = commonMenu.querySelector(".b3-menu__item--readonly")
- let selectview = commonMenu.querySelector('[id="viewselect"]')
- if(readonly){
- if(!selectview){
- commonMenu.insertBefore(ViewSelect(selectid,selecttype),readonly)
- commonMenu.insertBefore(MenuSeparator(),readonly)
- }
- }
-}
-
-function ViewMonitor(event){
- let id = event.currentTarget.getAttribute("data-node-id")
- let attrName = 'custom-'+event.currentTarget.getAttribute("custom-attr-name")
- let attrValue = event.currentTarget.getAttribute("custom-attr-value")
- let blocks = document.querySelectorAll(`.protyle-wysiwyg [data-node-id="${id}"]`)
- if(blocks){
- blocks.forEach(block=>block.setAttribute(attrName,attrValue))
- }
- let attrs={}
- attrs[attrName] =attrValue
- 设置思源块属性(id,attrs)
-}
-
-setTimeout(()=>ClickMonitor(),1000)
-
-
-
-
-
-
-
-
-
-
-
-
-
-/**----------------------------------为文档标题创建动态下划线---------------------------------- */
-
-function rundynamicUnderline() {
- setInterval(dynamicUnderline, 500);
-}
-
-function dynamicUnderline() {
- var AllDocumentTitleElement = getAllDocumentTitleElement();
-
- for (let index = 0; index < AllDocumentTitleElement.length; index++) {
- const element = AllDocumentTitleElement[index];
-
- var line = createLine(element);
- var txt = getTileTxt(element);
- var maxWidth = element.offsetWidth;
-
- var Style = getComputedStyle(element, null);
- var font = Style.font;
- var width = getTextWidth(txt, font) + 58;
-
- if (width < 288) {
- width = 288;
- }
-
- if (width > maxWidth) {
- width = maxWidth;
- }
-
- line.style.width = width + "px";
- }
-}
-
-
-function createLine(TitleElement) {
-
- var item = TitleElement.parentElement.children;
-
- for (let index = 0; index < item.length; index++) {
- const element = item[index];
-
- if (element.getAttribute("Line") != null) {
- return element;
- }
- }
-
- var line = insertCreateAfter(TitleElement, "div");
- line.setAttribute("Line", "true");
- line.style.height = "1px";
- line.style.marginTop = "-2px";
- line.style.marginBottom = "7px";
- line.style.backgroundColor = "var(--b3-border-color)";
- line.style.transition = "all 400ms linear";
- return line;
-}
-
-
-function getTileTxt(TitleElement) {
- return TitleElement.innerText;
-}
-
-
-
-
-
-
-/**----------------------------------为打开文档的标题下显示文档创建日期----------------------------------*/
-
-function showDocumentCreationDate() {
-
- setInterval(DocumentCreationDate, 300);
-}
-
-
-function DocumentCreationDate() {
-
- var openDoc = document.querySelectorAll(".layout-tab-container>.fn__flex-1.protyle:not(.fn__none):not([CreatTimeOK])");
- var allDocumentTitleElement = [];
- for (let index = 0; index < openDoc.length; index++) {
- const element = openDoc[index];
- element.setAttribute("CreatTimeOK", true);
- allDocumentTitleElement.push(element.children[1].children[1].children[1]);
- }
-
- for (let index = 0; index < allDocumentTitleElement.length; index++) {
- const element = allDocumentTitleElement[index];
- var documentCreatTimeElement = creatTimeSpanElement(element.parentElement);
- documentCreatTimeElement.innerText = "获取文档创建日期中……";
- tilteWhlie(element, documentCreatTimeElement);
- }
-}
-
-function tilteWhlie(element, documentCreatTimeElement) {
- var setID = setInterval(() => {
- var time = getDocumentTime(element);
- if (time != "") {
- documentCreatTimeElement.innerText = time;
- clearInterval(setID);
- };
- }, 3000);
-}
-
-/**获取所有打开文档的标题元素 */
-function getAllDocumentTitleElement() {
- var openDoc = document.querySelectorAll(".layout-tab-container>.fn__flex-1.protyle:not(.fn__none)");
- var arr = [];
- for (let index = 0; index < openDoc.length; index++) {
- const element = openDoc[index];
- arr.push(element.children[1].children[1].children[1]);
- }
- return arr;
-}
-
-/**为文档标题元素下创建时间容器元素 */
-function creatTimeSpanElement(tilteElement) {
- var item = tilteElement.children;
- for (let index = 0; index < item.length; index++) {
- const element = item[index];
- if (element.getAttribute("documentCreatTimeElement") != null) return element;
- }
- var documentCreatTimeElement = addinsertCreateElement(tilteElement, "span");
- documentCreatTimeElement.setAttribute("documentCreatTimeElement", "true");
- documentCreatTimeElement.style.display = "block";
- documentCreatTimeElement.style.marginLeft = "7px";
- documentCreatTimeElement.style.marginBottom = "0px";
- documentCreatTimeElement.style.fontSize = "61%";
- documentCreatTimeElement.style.color = "#767676";
- return documentCreatTimeElement;
-}
-
-
-/**获得这个文档的创建时间 */
-function getDocumentTime(tilteElement) {
- try {
- var tS = tilteElement.parentElement.parentElement.previousElementSibling.firstElementChild.firstElementChild.getAttribute("data-node-id");
- if (tS == null) return "";
- var year = tS.substring(0, 4);
- var moon = tS.substring(4, 6);
- var day = tS.substring(6, 8);
- var hour = tS.substring(8, 10);
- var minute = tS.substring(10, 12);
- var second = tS.substring(12, 14);
- return year + "-" + moon + "-" + day + " " + hour + ":" + minute + ":" + second;
- } catch (error) {
- return "";
- }
-}
-
-
-/**---------------------------------------------------------主题-------------------------------------------------------------- */
-
-function themeButton() {
- /*notionThemeToolbarAddButton(
- "buttonnotion-dark",
- "toolbar__item b3-tooltips b3-tooltips__se",
- "notion-dark主题",
- "/appearance/themes/notion-theme/img/moon2.svg",
- "/appearance/themes/notion-theme/img/moon.svg",
- () => {
- loadStyle("/appearance/themes/notion-theme/style/topbar/notion-dark.css", "notion-dark主题").setAttribute("topicfilter", "buttonnotion-dark");
- qucuFiiter();
- },
- () => {
- document.getElementById("notion-dark主题").remove();
- },
- true
- );*/
-
- notionThemeToolbarAddButton(
- "buttonsalt",
- "toolbar__item b3-tooltips b3-tooltips__se",
- "salt主题",
- "/appearance/themes/notion-theme/img/salt2.svg",
- "/appearance/themes/notion-theme/img/salt.svg",
- () => {
- loadStyle("/appearance/themes/notion-theme/style/topbar/salt.css", "salt主题").setAttribute("topicfilter", "buttonsalt");
- qucuFiiter();
- },
- () => {
- document.getElementById("salt主题").remove();
- },
- true
- );
-}
-
-
-/**---------------------------------------------------------顶栏-------------------------------------------------------------- */
-
-function topbarfixedButton() {
- notionThemeToolbarAddButton(
- "topBar",
- "toolbar__item b3-tooltips b3-tooltips__se",
- "顶栏隐藏",
- "/appearance/themes/notion-theme/img/topbar2.svg",
- "/appearance/themes/notion-theme/img/topbar.svg",
- () => {
- loadStyle("/appearance/themes/notion-theme/style/topbar/top-fixed.css", "topbar隐藏").setAttribute("topBarcss", "topbar隐藏");
- },
- () => {
- document.getElementById("topbar隐藏").remove();
- },
- true
- );
-}
-
-/**---------------------------------------------------------左侧面板悬浮-------------------------------------------------------------- */
-
-function leftColumnButton() {
- notionThemeToolbarAddButton(
- "leftColumn",
- "toolbar__item b3-tooltips b3-tooltips__se",
- "左侧面板悬浮",
- "/appearance/themes/notion-theme/img/leftcolumn2.svg",
- "/appearance/themes/notion-theme/img/leftcolumn.svg",
- () => {
- loadStyle("/appearance/themes/notion-theme/style/topbar/leftcolumn.css", "leftColumn悬浮").setAttribute("topBarcss", "leftColumn悬浮");
- },
- () => {
- document.getElementById("leftColumn悬浮").remove();
- },
- true
- );
-}
-
-/**---------------------------------------------------------右侧面板悬浮--------------------------------------------------------------*/
-
-function rightColumnButton() {
- notionThemeToolbarAddButton(
- "rightColumn",
- "toolbar__item b3-tooltips b3-tooltips__se",
- "右侧面板悬浮",
- "/appearance/themes/notion-theme/img/rightcolumn2.svg",
- "/appearance/themes/notion-theme/img/rightcolumn.svg",
- () => {
- loadStyle("/appearance/themes/notion-theme/style/topbar/rightcolumn.css", "rightColumn悬浮").setAttribute("topBarcss", "rightColumn悬浮");
- },
- () => {
- document.getElementById("rightColumn悬浮").remove();
- },
- true
- );
-}
-
-
- //去除主题所有滤镜还原按钮状态
-function qucuFiiter() {
- var Topicfilters = document.querySelectorAll("head [topicfilter]");
- Topicfilters.forEach(element => {
- var offNo = localStorage.getItem(element.getAttribute("topicfilter"));
- if (offNo == "1") {
- document.getElementById(element.getAttribute("topicfilter")).click();
- element.remove();
- }
- });
-}
-
-/**----------------------------------自动展开悬浮窗折叠列表,展开搜索条目折叠列表,聚焦单独列表-----体验优化----------------------------------*/
-
-function autoOpenList() {
-
- setInterval(() => {
- //找到所有的悬浮窗
- var Preview = document.querySelectorAll("[data-oid]");
-
- //如果发现悬浮窗内首行是折叠列表就展开并打上标记
- if (Preview.length != 0) {
- for (let index = 0; index < Preview.length; index++) {
- const element = Preview[index];
- var item = element.children[1].children;
-
- for (let index = 0; index < item.length; index++) {
- var obj = item[index].children[1]
- if (obj == null) continue;
- const element = obj.children[0].children[0];
- if (element == null) continue;
- if (element.className != "li") continue;//判断是否是列表
- if (element.getAttribute("foldTag") != null) continue;//判断是否存在标记
- if (element.getAttribute("foid") == 0) continue;//判断是折叠
-
- element.setAttribute("fold", 0);
- element.setAttribute("foldTag", true);
- }
- }
- }
-
- var searchPreview = document.querySelector("#searchPreview [data-doc-type='NodeListItem'].protyle-wysiwyg.protyle-wysiwyg--attr>div:nth-child(1)");
- if (searchPreview != null && searchPreview.getAttribute("data-type") == "NodeListItem" && searchPreview.getAttribute("fold") == 1) {
- if (searchPreview.getAttribute("foldTag") != null) return;//判断是否存在标记
- searchPreview.setAttribute("fold", 0);
- searchPreview.setAttribute("foldTag", true);
- }
-
- var contentLIst = document.querySelectorAll(".layout-tab-container>.fn__flex-1.protyle:not(.fn__none) [data-doc-type='NodeListItem'].protyle-wysiwyg.protyle-wysiwyg--attr>div:nth-child(1)");
- for (let index = 0; index < contentLIst.length; index++) {
- const element = contentLIst[index];
- if (element != null && element.getAttribute("data-type") == "NodeListItem" && element.getAttribute("fold") == 1) {
- if (element.getAttribute("foldTag") != null) return;//判断是否存在标记
- element.setAttribute("fold", 0);
- element.setAttribute("foldTag", true);
- }
- }
-
- }, 500)
-}
-
-
-/**----------------------------------列表折叠内容预览查看---------------------------------- */
-function collapsedListPreview() {
- BodyEventRunFun("mouseover", collapsedListPreviewEvent, 3000)
-}
-
-
-
-function collapsedListPreviewEvent() {
- var _turn = [...document.querySelectorAll(".layout-tab-container>.fn__flex-1.protyle:not(.fn__none) [data-node-id].li[fold='1']"),
- ...document.querySelectorAll("[data-oid] [data-node-id].li[fold='1']"),
- ...document.querySelectorAll("#searchPreview [data-node-id].li[fold='1']")];//查询页面所有的折叠列表
- var turn = [];
- for (let index = 0; index < _turn.length; index++) {//找到列表第一列表项(父项)
- const element = _turn[index].children[1];
- var item = element.className;
- if (item == "p" || item == "h1" || item == "h2" || item == "h3" || item == "h4" || item == "h5" || item == "h6") {
- turn.push(element.children[0])
- }
- }
-
- //检查注册事件的折叠列表是否恢复未折叠状态,是清除事件和去除标志属性
- var ListPreview = [...document.querySelectorAll(".layout-tab-container>.fn__flex-1.protyle:not(.fn__none) [ListPreview]"),
- ...document.querySelectorAll("[data-oid] [ListPreview]"),
- ...document.querySelectorAll("#searchPreview [ListPreview]")];
- for (let index = 0; index < ListPreview.length; index++) {
- const element = ListPreview[index];
- var fold = element.parentElement.getAttribute("fold")
-
- if (fold == null || fold == 0) {
- element.removeAttribute("ListPreview");
- var item = element.children[0];
- myRemoveEvent(item, "mouseenter", LIstIn);//解绑鼠标进入
- myRemoveEvent(item.parentElement.parentElement, "mouseleave", LIstout);//解绑鼠标离开
-
- items = Array.from(item.parentElement.parentElement.children);
- for (let index = 0; index < items.length; index++) {
- const element = items[index];
- if (element.getAttribute("triggerBlock") != null) {
- element.remove();
- }
- }
- }
- }
-
- for (let index = 0; index < turn.length; index++) {//重新注册、筛选未注册鼠标事件折叠列表
- const element = turn[index];
- var elementPP = element.parentElement.parentElement;
-
- if (element.parentElement.getAttribute("ListPreview") != null) {
- myRemoveEvent(element, "mouseenter", LIstIn);//解绑鼠标进入
- myRemoveEvent(elementPP, "mouseleave", LIstout);//解绑鼠标离开
-
- AddEvent(element, "mouseenter", LIstIn);//注册鼠标进入
- AddEvent(elementPP, "mouseleave", LIstout);//注册鼠标离开
- } else {
- element.parentElement.setAttribute("ListPreview", true);
- AddEvent(element, "mouseenter", LIstIn);//注册鼠标进入
- AddEvent(elementPP, "mouseleave", LIstout);//注册鼠标离开
- }
- }
-}
-
-var flag22 = false;
-
-function LIstout(e) {
- items = Array.from(e.target.children);
- flag22 = false;
- for (let index = 0; index < items.length; index++) {
- const element = items[index];
- if (element.getAttribute("triggerBlock") != null) {
- element.remove();
- }
- }
-}
-
-function LIstIns(e) {
-
- var id = setInterval(() => {
-
- if (!flag22) {
- clearInterval(id);
- return;
- }
-
- var obj = e.target;
-
- var timeDiv = addinsertCreateElement(obj, "div");
- timeDiv.style.display = "inline-block";
- timeDiv.style.width = "0px";
- timeDiv.style.height = "16px";
-
- var X = timeDiv.offsetLeft;
- var Y = timeDiv.offsetTop;
- timeDiv.remove();
-
- var item = obj.parentElement.parentElement;
- if (item == null) return;
- items = item.children
- var itemobj = items[items.length - 1];
- if (itemobj != null && itemobj.getAttribute("triggerBlock") != null) {
-
- var items1 = items[items.length - 1];
- items1.style.top = (Y + 35) + "px";
- items1.style.left = (obj.offsetLeft + 35) + "px";
- var items2 = items[items.length - 2];
- items2.style.top = (Y + 2) + "px";
- items2.style.left = (X + 45) + "px";
- return;
- }
-
- }, 500);
-}
-
-function LIstIn(e) {
- flag22 = true;
-
- var obj = e.target;
- var timeDiv = addinsertCreateElement(obj, "div");
- timeDiv.style.display = "inline-block";
- timeDiv.style.width = "0px";
- timeDiv.style.height = "16px";
-
- var X = timeDiv.offsetLeft;
- var Y = timeDiv.offsetTop;
- timeDiv.remove();
-
- var f = obj.parentElement.parentElement;
- if (!f) return;
- items = f.children;
-
- var itemobj = items[items.length - 1];
- if (itemobj != null && itemobj.getAttribute("triggerBlock") != null) return;
-
- var triggerBlock1 = CreatetriggerBlock(e)//创建触发块1
- //设置触发块样式,将触发块显示在〔 ··· 〕第二行位置
- triggerBlock1.style.top = (Y + 35) + "px";
- triggerBlock1.style.left = (obj.offsetLeft + 35) + "px";
- AddEvent(triggerBlock1, "mouseenter", () => {
- //一秒延时后搜索打开的悬浮窗,将悬浮窗中的列表展开,重复检查三次
- setTimeout(Suspended, 1000)
- });//注册鼠标进入
-
- var triggerBlock2 = CreatetriggerBlock(e)//创建触发块2
- //设置触发块样式,将触发块显示在〔 ··· 〕位置
- triggerBlock2.style.top = (Y + 2) + "px";
- triggerBlock2.style.left = (X + 45) + "px";
-
- AddEvent(triggerBlock2, "mouseenter", () => {
- //一秒延时后搜索打开的悬浮窗,将悬浮窗中的列表展开,重复检查三次
- setTimeout(Suspended, 1000)
- });//注册鼠标进入
-
- //一秒延时后搜索打开的悬浮窗,将悬浮窗中的列表展开,重复检查三次
- var previewID = obj.parentElement.parentElement.getAttribute("data-node-id");
- var jisu = 0;
- function Suspended() {
- jisu++;
- var y = false;
- if (jisu == 3) return
- var Sd = document.querySelectorAll("[data-oid]");
- if (Sd.length >= 1) { //如果找到那么就将悬浮窗中列表展开
- for (let index = 0; index < Sd.length; index++) {
- const element = Sd[index];
- var item = element.children[1].children[0].children[1].children[0].children[0];
- if (item == null) continue;
- if (item.getAttribute("data-node-id") == previewID) {
- item.setAttribute("fold", 0);
- y = true;
- }
- }
- }
- if (!y) { setTimeout(Suspended, 800) }
- }
- LIstIns(e);
-}
-
-function CreatetriggerBlock(e) {
- var objParent = e.target.parentElement;
- var triggerBlock = addinsertCreateElement(objParent.parentElement, "div");//创建触发块
- //设置触发块样式,将触发块显示在〔 ··· 〕位置
- triggerBlock.setAttribute("triggerBlock", true);
- triggerBlock.style.position = "absolute";
- triggerBlock.style.width = "20px";
- triggerBlock.style.height = "15px";
- //triggerBlock.style.background="red";
- triggerBlock.style.display = "flex";
- triggerBlock.style.zIndex = "999";
- triggerBlock.style.cursor = "pointer";
- triggerBlock.style.WebkitUserModify = "read-only";
- triggerBlock.setAttribute("contenteditable", "false");
- triggerBlock.innerHTML = "&#8203";
-
- //获取折叠列表ID,设置悬浮窗
- //protyle-wysiwyg__embed data-id
- var previewID = objParent.parentElement.getAttribute("data-node-id");
- triggerBlock.setAttribute("class", "protyle-attr");
- triggerBlock.style.backgroundColor = "transparent";
- //在触发块内创建思源超链接
- triggerBlock.innerHTML = "<span data-type='a' class='list-A' data-href=siyuan://blocks/" + previewID + ">####</span>";
- //将这个思源连接样式隐藏
- var a = triggerBlock.children[0];
- a.style.fontSize = "15px";
- a.style.lineHeight = "15px";
- a.style.color = "transparent";
- a.style.textShadow = "none";
- a.style.border = "none";
- return triggerBlock;
-}
-
-
-
-
-/**----------------鼠标中键标题、列表文本折叠/展开----------------*/
-function collapseExpand_Head_List() {
- var flag45 = false;
- setInterval(() => {
-
- var NodeHeading = null;
- var NodeListItem = null;
-
- if (isPhone()) {
- NodeHeading = document.querySelectorAll('#editor [data-type="NodeHeading"]');
- NodeListItem = document.querySelectorAll('#editor [data-type="NodeListItem"].li');
- } else {
- NodeHeading = [...document.querySelectorAll('.layout-tab-container>.fn__flex-1.protyle:not(.fn__none) [data-type="NodeHeading"]'),
- ...document.querySelectorAll('[data-oid] [data-type="NodeHeading"]'),
- ...document.querySelectorAll('#searchPreview [data-type="NodeHeading"]')];
-
-
- NodeListItem = [...document.querySelectorAll('.layout-tab-container>.fn__flex-1.protyle:not(.fn__none) [data-type="NodeListItem"].li'),
- ...document.querySelectorAll('[data-oid] [data-type="NodeListItem"].li'),
- ...document.querySelectorAll('#searchPreview [data-type="NodeListItem"].li')];
- }
-
- var H = [];
-
-
- for (let index = 0; index < NodeHeading.length; index++) {
- const element = NodeHeading[index];
- var item = element.parentElement;
- if (item.className != "li") H.push(element);
- }
- for (let index = 0; index < H.length; index++) {
- const element = H[index].children[0];
- myRemoveEvent(element, "mousedown", _collapseExpand_NodeListItem);
- myRemoveEvent(element, "mousedown", _collapseExpand_NodeHeading);
- AddEvent(element, "mousedown", _collapseExpand_NodeHeading)
- AddEvent(element, "mouseup", () => { flag45 = false })
- }
-
-
- for (let index = 0; index < NodeListItem.length; index++) {
- const element = NodeListItem[index].children[1].children[0];
- myRemoveEvent(element, "mousedown", _collapseExpand_NodeHeading);
- myRemoveEvent(element, "mousedown", _collapseExpand_NodeListItem);
- AddEvent(element, "mousedown", _collapseExpand_NodeListItem)
- AddEvent(element, "mouseup", () => { flag45 = false })
- }
- }, 3000);
-
-
-
- function _collapseExpand_NodeHeading(e) {
- if (e.button == 2) { fflag45lag = true; return }
- if (flag45 || e.shiftKey || e.altKey || e.button != 1) return;
- e.preventDefault();
- protyle_gutters_click(e.target);
- }
-
- function _collapseExpand_NodeListItem(e) {
- if (e.button == 2) { flag45 = true; return }
- if (flag45 || e.shiftKey || e.altKey || e.button != 1) return;
- e.preventDefault();
- var element = e.target;
- var i = 0;
- while (element.getAttribute("contenteditable") == null) {
- if (i == 999) return;
- i++;
- element = element.parentElement;
- }
- var elementParentElement = element.parentElement;
-
- if (elementParentElement.getAttribute("data-type") == "NodeHeading" && elementParentElement.getAttribute("fold") == 1) {
- console.log("1");
- protyle_gutters_click(element);
- } else {
- commonMenu_click(elementParentElement.previousElementSibling);
- }
-
- }
-
- function commonMenu_click(element) {
-
- var elementParentElement = element.parentElement;
- var data_node_id = elementParentElement.getAttribute("data-node-id");
- var elementParentElementParentElement = elementParentElement.parentElement;
-
-
- if (elementParentElementParentElement.className == "protyle-wysiwyg protyle-wysiwyg--attr") {
- if (elementParentElementParentElement.children[0].getAttribute("data-node-id") == data_node_id) {
- var i = 0;
- var item2 = elementParentElementParentElement;
- while (item2) {
- if (i > 99) return;
- if (item2.getAttribute("data-oid") != null) return;
- item2 = item2.parentElement;
- i++;
- }
- elementParentElement.setAttribute("foldTag", true);
- }
- }
-
- element.click();
- var caidan = (document.getElementById("commonMenu")).children;
- for (let index = 0; index < caidan.length; index++) {
- const element = caidan[index];
- var item = element.children;
- if (item.length != 0 && item[1].innerText == "折叠/展开") element.click();
- }
- }
-
- function protyle_gutters_click(element) {
- var i = 0;
- while (element.className != "fn__flex-1 protyle" && element.className != "block__edit fn__flex-1 protyle" && element.className != "fn__flex-1 spread-search__preview protyle") {
- if (i == 999) return;
- i++;
- element = element.parentElement;
- }
- var ddddd = element.children;
- for (let index = ddddd.length - 1; index >= 0; index--) {
- const element = ddddd[index];
- if (element.className == "protyle-gutters") {
- var fold = diguiTooONE(element, (v) => { return v.getAttribute("data-type") === "fold"; })
- if (fold != null) fold.click();
- return;
- }
- }
- }
-}
-
-
-
-
-
-/*----------------日历面板----------------*/
-function initcalendar() {
- // 把日历图标 放到 搜索图标前面
- var barSearch = document.getElementById("barDailyNote");
- barSearch.insertAdjacentHTML(
- "afterend",
- '<div id="calendar"class="toolbar__item b3-tooltips b3-tooltips__se" aria-label="日历" ></div>'
- );
- let calendarIcon = document.getElementById("calendar");
-
- // 日历面板,这里是插入挂件
- barSearch.insertAdjacentHTML(
- "afterend",
- ` <div
- data-node-index="1"
- data-type="NodeWidget"
- class="iframe"
- data-subtype="widget"
- >
- <div class="iframe-content">
- <iframe id="calendarPanel" style="visibility:hidden;position: fixed; z-index: 1000; top: 225px; left: 170px; width: 300px; height: 350px; background-color: var(--b3-theme-background);box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;border:none; border-radius: 5px; transform: translate(-50%, -50%); overflow: auto;" src="/appearance/themes/notion-theme/calendar" data-src="/appearance/themes/notion-theme/calendar" data-subtype="widget" ></iframe>
- </div>
- </div>`
- );
-
- let calendarPanel = document.getElementById("calendarPanel");
-
- calendarIcon.innerHTML = `<svg t="1662957805816" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2374" width="200" height="200"><path d="M797.257 402.286h-570.514v113.371h570.514v-113.371zM910.629 76.8h-58.514v-76.8h-113.371v76.8h-453.486v-76.8h-113.371v76.8h-58.514c-62.171 0-113.371 51.2-113.371 113.371v724.114c0 62.171 51.2 109.714 113.371 109.714h797.257c62.171 0 113.371-47.543 113.371-109.714v-724.114c0-62.171-51.2-113.371-113.371-113.371zM910.629 914.286h-797.257v-625.371h797.257v625.371zM625.371 629.029h-398.629v113.371h398.629v-113.371z"></path></svg>`;
-
- calendarIcon.addEventListener(
- "click",
- function (e) {
- e.stopPropagation();
- if (calendarPanel.style.visibility === "hidden") {
- calendarPanel.style.visibility = "visible";
- } else {
- calendarPanel.style.visibility = "hidden";
- }
- },
- false
- );
- calendarPanel.addEventListener('click',function(e){e.stopPropagation()},false)
-
- // 隐藏历史面板
- function hideCalendarPanel() {
- if (calendarPanel.style.visibility === "visible") {
- calendarPanel.style.visibility = "hidden";
- }
- }
- // 点击其他区域时,隐藏日历面板
- window.addEventListener("click", hideCalendarPanel, false);
-}
-
-
-
-
-
-
-
-/****************************最近打开文档****************************************** */
-//https://ld246.com/article/1662697317986 来自社区分享
-function init() {
- // 日期-时间格式化
- Date.prototype.Format = function (fmt) {
- var o = {
- "M+": this.getMonth() + 1, //月份
- "d+": this.getDate(), //日
- "h+": this.getHours(), //小时
- "m+": this.getMinutes(), //分
- "s+": this.getSeconds(), //秒
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
- S: this.getMilliseconds(), //毫秒
- };
- if (/(y+)/.test(fmt))
- fmt = fmt.replace(
- RegExp.$1,
- (this.getFullYear() + "").substr(4 - RegExp.$1.length)
- );
- for (var k in o)
- if (new RegExp("(" + k + ")").test(fmt))
- fmt = fmt.replace(
- RegExp.$1,
- RegExp.$1.length == 1
- ? o[k]
- : ("00" + o[k]).substr(("" + o[k]).length)
- );
- return fmt;
- };
- // 历史条目保存到该数组
- let historyArr = [];
- if (localStorage.getItem("historyArr")) {
- historyArr = JSON.parse(localStorage.getItem("historyArr"));
- }
- // 新打开页签后更新历史记录
- function update_history_tags(newTag) {
- if (!newTag) return;
- let tag = undefined;
- if (newTag.tagName === "DIV") {
- tag = newTag.querySelector("li[data-type='tab-header']");
- } else if (newTag.tagName === "LI") {
- tag = newTag;
- } else {
- return;
- }
- // 历史记录条目的默认图标
- let historyItemIcon = `<use xlink:href="#icon-1f4c4"></use>`;
- let docIcon = tag.querySelector(".item__icon > svg");
- // 如果设置了其他图标,就换成其他图标
- if (docIcon) {
- historyItemIcon = docIcon.innerHTML;
- }
-
- // 页签标题
- let nodeText = tag.querySelector("span.item__text").innerText;
- // 页签打开的时间
- let timeStamp = tag.getAttribute("data-activetime");
- timeStamp = new Date(parseInt(timeStamp)).Format("yyyy-MM-dd hh:mm:ss");
- let data_id = tag.getAttribute("data-id");
- setTimeout(() => {
- let current_doc = document.querySelector(
- `div.fn__flex-1.protyle[data-id="${data_id}"] >div.protyle-content>div.protyle-background`
- );
- if (current_doc) {
- let doc_link =
- "siyuan://blocks/" + current_doc.getAttribute("data-node-id");
- let newTag = `${timeStamp}--${nodeText}--${doc_link}--${historyItemIcon}`;
- if (!historyArr.includes(newTag)) {
- historyArr.push(newTag);
- }
- //只保留最近200条历史记录
- while (historyArr.length > 200) {
- historyArr.shift();
- }
- localStorage.setItem("historyArr", JSON.stringify(historyArr));
- }
- }, 700);
- }
-
- // 标签页容器ul,观测其子元素的变动
- let tab_containers = document.querySelectorAll(
- "div[data-type='wnd'] > div.fn__flex ul.fn__flex.layout-tab-bar.fn__flex-1"
- );
- const config = { attributes: false, childList: true, subtree: false };
-
- // 新增标签页时,更新历史记录
- const tag_change = function (mutationsList, observer) {
- if (
- mutationsList[0].type === "childList" &&
- mutationsList[0].addedNodes.length
- ) {
- update_history_tags(mutationsList[0].addedNodes[0]);
- }
- };
-
- // 标签页容器发生变化——通常是出现分屏、关闭分屏 或者关闭了所有标签页的情况,此时需要更新观测的节点
- const tab_container_change = function (mutationsList, observer) {
- if (mutationsList[0].type === "childList") {
- update_history_tags(mutationsList[0].addedNodes[0]);
- updateNode();
- }
- };
-
- // 创建实例——观测页签的新增
- const tabs_observer = new MutationObserver(tag_change);
- // 创建实例——观测标签容器发生的变动
- const tabs_container_observer = new MutationObserver(tab_container_change);
-
- // 初始化
- for (let tab_container of tab_containers) {
- tabs_observer.observe(tab_container, config);
- }
-
- // 更新观测的节点
- function updateNode() {
- tabs_observer.disconnect();
- // 重新获取节点
- tab_containers = document.querySelectorAll(
- "div[data-type='wnd'] > div.fn__flex ul.fn__flex.layout-tab-bar.fn__flex-1"
- );
- // 对节点重新进行观测
- for (let tab_container of tab_containers) {
- tabs_observer.observe(tab_container, config);
- }
- }
-
-
- let parentNode = document.querySelector(
- "div#layouts > div.fn__flex.fn__flex-1 >div.layout__center.fn__flex.fn__flex-1"
- );
- tabs_container_observer.observe(parentNode, config);
-
-
- // 【设置】按钮的前面添加一个【历史记录】按钮
- var settingBtn = document.getElementById("barHistory");
- settingBtn.insertAdjacentHTML(
- "afterend",
- '<div id="history"class="toolbar__item b3-tooltips b3-tooltips__se" aria-label="历史记录" ></div>'
- );
- // 历史记录面板
- settingBtn.insertAdjacentHTML(
- "afterend",
- '<div id="myHistory" style="position:absolute;z-index:100;top:43%;left:18%;width:430px;height:74vh;background-color: var(--b3-theme-background);box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px; border-radius: 5px; visibility:hidden;transform: translate(-50%, -50%);overflow:auto;padding:0px 25px 10px 25px;"><div style="position:sticky;top:0px;padding-top:20px;margin-top:-2px;padding-bottom:15px; background-color:var(--b3-theme-background);" class="topBar"><input id="history_input"style="margin-left:5px; border:1px solid black ;" type="text" placeholder="搜索历史记录" size="30"><button id = "showAllHistory" style="margin-left:5px;">显示全部</button><button id = "clearHistory" style="position:absolute;right:10px;">清除历史</button></div><div id ="historyContainer"></div></div>'
- );
-
- let showAllHistoryBtn = document.getElementById("showAllHistory");
- let historyInputArea = document.getElementById("history_input");
- var historyDom = document.getElementById("history");
- historyDom.style.width = "auto";
- var historyIcon ='<svg id="_x30_1" style="enable-background:new 0 0 1024 1024;" version="1.1" viewBox="0 0 1024 1024" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M513 1024c131 0 262-50.4 361.6-151.2 199.2-199 199.2-524.6 0-723.5-199.2-199-525.3-199-724.5 0-96.9 96.7-150.1 226.1-150.1 362.4 0 137.6 53.2 265.7 150.1 362.4 100.9 99.5 231.9 149.9 362.9 149.9zM272.8 512.7v120.4h347v-400.1h-134.6v265.5h-212.4v14.2zM134.6 511.7c0-100.8 39.6-195.3 111.2-266.8 146.8-146.6 386.7-146.8 533.8-0.6 0.2 0.2 0.4 0.4 0.6 0.6 147 146.8 147 386.8 0 533.6s-387.4 146.8-534.4 0c-71.6-71.6-111.2-166-111.2-266.8z"></g></svg>';
- historyDom.innerHTML = historyIcon;
- let myHistory = document.getElementById("myHistory");
-
- // DOM——放置历史条目的容器
- let historyContainer = document.getElementById("historyContainer");
-
- // 打开某个历史文档
- function openHistoryDoc(e) {
- e.stopPropagation();
- if (e.target.tagName == "SPAN" && e.target.getAttribute("data-href")) {
- try {
- window.open(e.target.getAttribute("data-href"));
- } catch (err) {
- console.error(err);
- }
- }
- }
-
- // 点击某一条历史记录后——跳转到对应的文档
- myHistory.addEventListener("click", openHistoryDoc, false);
-
- let clearHistory = document.getElementById("clearHistory");
- // callback——清空历史
- function clearAllHistory(e) {
- e.stopPropagation();
- historyArr = [];
- localStorage.setItem("historyArr", JSON.stringify(historyArr));
- historyContainer.innerHTML = "";
- myHistory.style.visibility = "hidden";
- }
- clearHistory.addEventListener("click", clearAllHistory, false);
-
- // callback——显示最近打开过的文档
- function showAllHistoryItems(e) {
- e.stopPropagation();
- if (myHistory.style.visibility === "hidden") {
- myHistory.style.visibility = "visible";
- }
- if (
- localStorage.getItem("historyArr") &&
- JSON.parse(localStorage.getItem("historyArr")).length > 0
- ) {
- historyArr = JSON.parse(localStorage.getItem("historyArr"));
- const fragment = document.createDocumentFragment();
- historyContainer.innerHTML = "";
- // 时间最新的记录显示在上方
- let tempArr = [...historyArr];
- tempArr.reverse();
- tempArr.forEach((value) => {
- let [item_time, item_text, href, history_item_icon] = value.split("--");
- item_text = item_text.replace(/</g, "&lt;");
- item_text = item_text.replace(/>/g, "&gt;");
- const elem_div = document.createElement("div");
- elem_div.className = "historyItem";
- elem_div.style.marginTop = "10px";
- elem_div.innerHTML = `<span class="historyTimeStamp" style="color: var(--b3-theme-on-background);margin-right: 2em;">${item_time}</span>
- <span><svg class="history-icon" style="height:16px;width:16px;vertical-align: middle;">${history_item_icon}</svg></span>
- <span style="color:#3481c5;margin-left:5px;cursor: pointer;" data-href="${href}" title="${href}">${item_text}</span>`;
- fragment.appendChild(elem_div);
- });
- historyContainer.appendChild(fragment);
- }
- }
-
- // 简要处理一下防抖
- function debounce(func, wait = 500) {
- let timer = null;
- return function (...args) {
- clearTimeout(timer);
- timer = setTimeout(() => {
- func.apply(this, args);
- }, wait);
- };
- }
-
- // 处理提交的关键词
- function historyKeySubmit(e) {
- if (historyInputArea.value.trim()) {
- let keyword = historyInputArea.value.trim();
- if (
- localStorage.getItem("historyArr") &&
- JSON.parse(localStorage.getItem("historyArr")).length > 0
- ) {
- historyArr = JSON.parse(localStorage.getItem("historyArr"));
- const fragment = document.createDocumentFragment();
- historyContainer.innerHTML = "";
- let tempArr = [...historyArr];
- tempArr.reverse();
- tempArr = tempArr.filter((item) => item.includes(keyword));
- tempArr.forEach((value) => {
- let [item_time, item_text, href, history_item_icon] =
- value.split("--");
- const regExp = new RegExp(`${keyword}`, "g");
- item_text = item_text
- .replace(/</g, "&lt;")
- .replace(/>/g, "&gt;")
- .replace(regExp, function (value) {
- return `<span style="background-color:#ffe955;color:black;">${value}</span>`;
- });
- item_time = item_time.replace(regExp, function (value) {
- return `<span style="background-color:#ffe955;color:black;">${value}</span>`;
- });
- const elem_div = document.createElement("div");
- elem_div.className = "historyItem";
- elem_div.style.marginTop = "10px";
- elem_div.innerHTML = `<span class="historyTimeStamp" style="color: black;margin-right: 2em;">${item_time}</span>
- <span><svg class="history-icon" style="height:16px;width:16px;vertical-align: middle;">${history_item_icon}</svg></span>
- <span style="color:#3481c5;margin-left:5px;cursor: pointer;" data-href="${href}" title="${href}">${item_text}</span>`;
- fragment.appendChild(elem_div);
- });
- historyContainer.appendChild(fragment);
- }
- } else {
- showAllHistoryItems(e);
- }
- }
- // 顶栏【历史记录】图标
- historyDom.addEventListener("click", showAllHistoryItems, false);
- // 按钮——显示全部
- showAllHistoryBtn.addEventListener("click", showAllHistoryItems, false);
- // 输入框——搜索历史记录
- historyInputArea.addEventListener("input", debounce(historyKeySubmit), false);
-
- // 隐藏历史面板
- function hideHistoryPanel() {
- if (myHistory.style.visibility === "visible") {
- myHistory.style.visibility = "hidden";
- }
- }
- // 点击其他区域时,隐藏历史面板
- window.addEventListener("click", hideHistoryPanel, false);
-
- }
-
-
-
-
-
-
-
-
-
-//+++++++++++++++++++++++++++++++++思源API++++++++++++++++++++++++++++++++++++
-//思源官方API文档 https://github.com/siyuan-note/siyuan/blob/master/API_zh_CN.md
-
-/**
- *
- * @param {*} 内容块id
- * @param {*} 回调函数
- * @param {*} 传递对象
- */
-async function 根据ID获取人类可读路径(内容块id, then, obj = null) {
- await 向思源请求数据('/api/filetree/getHPathByID', {
- id: 内容块id
- }).then((v) => then(v.data, obj))
-}
-
-async function 以id获取文档聚焦内容(id, then, obj = null) {
- await 向思源请求数据('/api/filetree/getDoc', {
- id: id,
- k: "",
- mode: 0,
- size: 36,
- }).then((v) => then(v.data, obj))
-}
-
-async function 更新块(id, dataType, data, then = null, obj = null) {
- await 向思源请求数据('/api/block/updateBlock', {
- id: id,
- dataType: dataType,
- data: data,
- }).then((v) => {
- if (then) then(v.data, obj);
- })
-}
-
-async function 设置思源块属性(内容块id, 属性对象) {
- let url = '/api/attr/setBlockAttrs'
- return 解析响应体(向思源请求数据(url, {
- id: 内容块id,
- attrs: 属性对象,
- }))
-}
-
-async function 向思源请求数据(url, data) {
- let resData = null
- await fetch(url, {
- body: JSON.stringify(data),
- method: 'POST',
- headers: {
- Authorization: `Token ''`,
- }
- }).then(function (response) { resData = response.json() })
- return resData
-}
-
-async function 解析响应体(response) {
- let r = await response
- return r.code === 0 ? r.data : null
-}
-
-
-//+++++++++++++++++++++++++++++++++辅助API++++++++++++++++++++++++++++++++++++
-
-
-/**
- * 方便为主题功能添加开关按钮,并选择是否拥有记忆状态
- * @param {*} ButtonID 按钮ID。
- * @param {*} ButtonTitle 按钮作用提示文字。
- * @param {*} NoButtonSvg 按钮激活Svg图标路径
- * @param {*} OffButtonSvg 按钮未激活Svg图标路径
- * @param {*} NoClickRunFun 按钮开启执行函数
- * @param {*} OffClickRunFun 按钮关闭执行函数
- * @param {*} Memory 是否设置记忆状态 true为是留空或false为不设置记忆状态。
- */
-function notionThemeToolbarAddButton(ButtonID, ButtonTitle, ButtonLabel, NoButtonSvgURL, OffButtonSvgURL, NoClickRunFun, OffClickRunFun, Memory) {
- var notionToolbar = document.getElementById("notionToolbar");
- if (notionToolbar == null) {
- var toolbarEdit = document.getElementById("toolbarEdit");
- var windowControls = document.getElementById("windowControls");
-
- if (toolbarEdit == null && windowControls != null) {
- notionToolbar = document.createElement("div");
- notionToolbar.id = "notionToolbar";
- windowControls.parentElement.insertBefore(notionToolbar, windowControls);
- } else if (toolbarEdit != null) {
- notionToolbar = insertCreateBefore(toolbarEdit, "div", "notionToolbar");
- notionToolbar.style.position = "relative";
- }
- }
-
- var addButton = addinsertCreateElement(notionToolbar, "div");
- addButton.style.float = "left";
- addButton.style.backgroundImage = "url(" + OffButtonSvgURL + ")";
- addButton.style.backgroundRepeat = "no-repeat";
- addButton.style.backgroundPosition = "left top";
- addButton.style.backgroundSize = "100%";
-
-
- addButton.id = ButtonID;
- addButton.setAttribute("class", ButtonTitle);
- addButton.setAttribute("aria-label", ButtonLabel)
-
- var offNo = "0";
-
-
-
- if (Memory == true) {
- offNo = localStorage.getItem(ButtonID);
- if (offNo == "1") {
- addButton.style.backgroundImage = "url(" + NoButtonSvgURL + ")";
- localStorage.setItem(ButtonID, "0");
- NoClickRunFun(addButton);
- localStorage.setItem(ButtonID, "1");
- } else if (offNo != "0") {
- offNo = "0";
- localStorage.setItem(ButtonID, "0");
- }
- }
-
- AddEvent(addButton, "click", () => {
-
- if (offNo == "0") {
- addButton.style.backgroundImage = "url(" + NoButtonSvgURL + ")";
-
- NoClickRunFun(addButton);
- if (Memory != null) localStorage.setItem(ButtonID, "1");
- offNo = "1";
- return;
- }
-
- if (offNo == "1") {
- addButton.style.backgroundImage = "url(" + OffButtonSvgURL + ")";
- addButton.style.filter = "none";
- OffClickRunFun(addButton);
- if (Memory != null) localStorage.setItem(ButtonID, "0");
- offNo = "0";
- return;
- }
- });
-
-
-}
-
-
-/**
- * 在DIV光标位置插入内容
- * @param {*} content
- */
-function insertContent(content) {
- if (content) {
- var sel = window.getSelection();
- if (sel.rangeCount > 0) {
- var range = sel.getRangeAt(0); //获取选择范围
- range.deleteContents(); //删除选中的内容
- var el = document.createElement("div"); //创建一个空的div外壳
- el.innerHTML = content; //设置div内容为我们想要插入的内容。
- var frag = document.createDocumentFragment(); //创建一个空白的文档片段,便于之后插入dom树
- var node = el.firstChild;
- var lastNode = frag.appendChild(node);
- range.insertNode(frag); //设置选择范围的内容为插入的内容
- var contentRange = range.cloneRange(); //克隆选区
-
- contentRange.setStartAfter(lastNode); //设置光标位置为插入内容的末尾
- contentRange.collapse(true); //移动光标位置到末尾
- sel.removeAllRanges(); //移出所有选区
- sel.addRange(contentRange); //添加修改后的选区
-
- }
- }
-}
-
-
-/**
- * 获取DIV文本光标位置
- * @param {*} element
- * @returns
- */
-function getPosition(element) {
- var caretOffset = 0;
- var doc = element.ownerDocument || element.document;
- var win = doc.defaultView || doc.parentWindow;
- var sel;
- if (typeof win.getSelection != "undefined") {
- //谷歌、火狐
- sel = win.getSelection();
- if (sel.rangeCount > 0) {
- var range = sel.getRangeAt(0);
- var preCaretRange = range.cloneRange(); //克隆一个选区
- preCaretRange.selectNodeContents(element); //设置选区的节点内容为当前节点
- preCaretRange.setEnd(range.endContainer, range.endOffset); //重置选中区域的结束位置
- caretOffset = preCaretRange.toString().length;
- }
- } else if ((sel = doc.selection) && sel.type != "Control") {
- //IE
- var textRange = sel.createRange();
- var preCaretTextRange = doc.body.createTextRange();
- preCaretTextRange.moveToElementText(element);
- preCaretTextRange.setEndPoint("EndToEnd", textRange);
- caretOffset = preCaretTextRange.text.length;
- }
- return caretOffset;
-};
-/**
- * 在指定DIV索引位置设置光标
- * @param {*} element
- * @param {*} index
- */
-function setCursor(element, index) {
- var codeEl = element.firstChild;
- var selection = window.getSelection();
- // 创建新的光标对象
- let range = selection.getRangeAt(0);
- // 光标对象的范围界定为新建的代码节点
- range.selectNodeContents(codeEl)
- // 光标位置定位在代码节点的最大长度
- // console.log(codeEl.length);
- range.setStart(codeEl, index);
- // 使光标开始和光标结束重叠
- range.collapse(true)
- selection.removeAllRanges()
- selection.addRange(range)
-}
-
-
-/**
- * 获得文本的占用的宽度
- * @param {*} text 字符串文班
- * @param {*} font 文本字体的样式
- * @returns
- */
-function getTextWidth(text, font) {
- var canvas = getTextWidth.canvas || (getTextWidth.canvas = document.createElement("canvas"));
- var context = canvas.getContext("2d");
- context.font = font;
- var metrics = context.measureText(text);
- return metrics.width;
-}
-
-/**
- * 触发元素的事件
- * @param {触发元素事件} type
- * @param {*} element
- * @param {*} detail
- */
-function trigger(type, element) {
- var customEvent = new Event(type, { bubbles: false, cancelable: true });
- element.dispatchEvent(customEvent);
-}
-
-/**
- * 向body注入新style覆盖原本的css
- * @param {css文本字符串} csstxt
- */
-function injectionCss(csstxt) {
- var styleElement = document.createElement('style');
-
- styleElement.innerText = t;
-
- document.body.appendChild(styleElement);
-};
-
-/**
- * 向指定父级创建追加一个子元素,并可选添加ID,
- * @param {Element} fatherElement
- * @param {string} addElementTxt 要创建添加的元素标签
- * @param {string} setId
- * @returns addElementObject
- */
-function addinsertCreateElement(fatherElement, addElementTxt, setId = null) {
- if (!fatherElement) console.error("指定元素对象不存在!");
- if (!addElementTxt) console.error("未指定字符串!");
-
- var element = document.createElement(addElementTxt);
-
- if (setId) element.id = setId;
-
- fatherElement.appendChild(element);
-
- return element;
-}
-
-
-/**
- * 向指定元素后创建插入一个元素,可选添加ID
- * @param {*} targetElement 目标元素
- * @param {*} addElementTxt 要创建添加的元素标签
- * @param {*} setId 为创建元素设置ID
- */
-function insertCreateAfter(targetElement, addElementTxt, setId = null) {
-
- if (!targetElement) console.error("指定元素对象不存在!");
- if (!addElementTxt) console.error("未指定字符串!");
-
- var element = document.createElement(addElementTxt);
-
- if (setId) element.id = setId;
-
- var parent = targetElement.parentNode;//得到父节点
- if (parent.lastChild === targetElement) {
- //如果最后一个子节点是当前元素那么直接添加即可
- parent.appendChild(element);
- return element;
- } else {
- parent.insertBefore(element, targetElement.nextSibling);//否则,当前节点的下一个节点之前添加
- return element;
- }
-}
-
-
-/**
- * 向指定元素前创建插入一个元素,可选添加ID
- * @param {*} targetElement 目标元素
- * @param {*} addElementTxt 要创建添加的元素标签
- * @param {*} setId 为创建元素设置ID
- */
-function insertCreateBefore(targetElement, addElementTxt, setId = null) {
-
- if (!targetElement) console.error("指定元素对象不存在!");
- if (!addElementTxt) console.error("未指定字符串!");
-
- var element = document.createElement(addElementTxt);
-
- if (setId) element.id = setId;
-
- targetElement.parentElement.insertBefore(element, targetElement);
-
- return element;
-}
-
-
-
-/**
- * 为元素注册监听事件
- * @param {Element} element
- * @param {string} strType
- * @param {Fun} fun
- */
-function AddEvent(element, strType, fun) {
- //判断浏览器有没有addEventListener方法
- if (element.addEventListener) {
- element.addEventListener(strType, fun, false);
- //判断浏览器有没 有attachEvent IE8的方法
- } else if (element.attachEvent) {
- element.attachEvent("on" + strType, fun);
- //如果都没有则使用 元素.事件属性这个基本方法
- } else {
- element["on" + strType] = fun;
- }
-}
-
-
-/**
- * 为元素解绑监听事件
- * @param {Element} element ---注册事件元素对象
- * @param {String} strType ---注册事件名(不加on 如"click")
- * @param {Function} fun ---回调函数
- *
- */
-function myRemoveEvent(element, strType, fun) {
- //判断浏览器有没有addEventListener方法
- if (element.addEventListener) {
- // addEventListener方法专用删除方法
- element.removeEventListener(strType, fun, false);
- //判断浏览器有没有attachEvent IE8的方法
- } else if (element.attachEvent) {
- // attachEvent方法专用删除事件方法
- element.detachEvent("on" + strType, fun);
- //如果都没有则使用 元素.事件属性这个基本方法
- } else {
- //删除事件用null
- element["on" + strType] = null;
- }
-}
-
-
-/**
-* 加载脚本文件
-* @param {string} url 脚本地址
-* @param {string} type 脚本类型
-*/
-function loadScript(url, type = 'module') {
- let script = document.createElement('script');
- if (type) script.setAttribute('type', type);
- script.setAttribute('src', url);
- document.head.appendChild(script);
-}
-
-
-
-/**
- * 得到思源toolbar
- * @returns
- */
-function getSiYuanToolbar() { return document.getElementById("toolbar"); }
-
-/**
- * 得到notionToolbar
- * @returns
- */
-function getnotionToolbar() { return document.getElementById("notionToolbar"); }
-
-
-
-/**简单判断目前思源是否是手机模式 */
-function isPhone() {
- return document.getElementById("toolbar") == null;
-}
-
-
-/**
- * 加载样式文件
- * @param {string} url 样式地址
- * @param {string} id 样式 ID
- */
-function loadStyle(url, id, cssName) {
-
- var headElement = document.head;
-
- let style = document.getElementById(id);
- if (id != null) {
- if (style) headElement.removeChild(style);
- }
-
- style = document.createElement('link');
- if (id != null) style.id = id;
-
-
- style.setAttribute('type', 'text/css');
- style.setAttribute('rel', 'stylesheet');
- style.setAttribute('href', url);
- if (cssName != null) style.setAttribute("class", cssName);
- headElement.appendChild(style);
- return style;
-}
-
-/**
- * 取出两个数组的不同元素
- * @param {*} arr1
- * @param {*} arr2
- * @returns
- */
-function getArrDifference(arr1, arr2) {
- return arr1.concat(arr2).filter(function (v, i, arr) {
- return arr.indexOf(v) === arr.lastIndexOf(v);
- });
-}
-
-/**
- * 取出两个数组的相同元素
- * @param {*} arr1
- * @param {*} arr2
- * @returns
- */
-function getArrEqual(arr1, arr2) {
- let newArr = [];
- for (let i = 0; i < arr2.length; i++) {
- for (let j = 0; j < arr1.length; j++) {
- if (arr1[j] === arr2[i]) {
- newArr.push(arr1[j]);
- }
- }
- }
- return newArr;
-}
-
-/**
- * 思源吭叽元素属性解析看是否包含那种行级元素类型
- * @param {} attributes
- * @param {*} attribute
- * @returns
- */
-function attributesContains(attributes, attribute) {
- if (attribute == true) return;
- var arr = attributes.split(" ");
- if (arr.length != 0) {
- arr.forEach((v) => {
- if (v == attribute) attribute = true;
- });
- return attribute == true ? true : false;
- } else {
- return attributes == attribute;
- }
-}
-/**
- * 间隔执行指定次数的函数(不立即执行)
- * @param {*} time 间隔时间s
- * @param {*} frequency 执行次数
- * @param {*} Fun 执行函数
- */
-function IntervalFunTimes(time, frequency, Fun) {
-
- for (let i = 0; i < frequency; i++) {
- sleep(time * i).then(v => {
- Fun();
- })
- }
-
- function sleep(time2) {
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- resolve()
- }, time2)
- })
- }
-}
-
-/**
- * 获得当前浏览器缩放系数 默认值为1
- * @returns
- */
-function detectZoom() {
- var ratio = 0, screen = window.screen, ua = navigator.userAgent.toLowerCase();
- if (window.devicePixelRatio !== undefined) {
- ratio = window.devicePixelRatio;
- } else if (~ua.indexOf('msie')) {
- if (screen.deviceXDPI && screen.logicalXDPI) {
- ratio = screen.deviceXDPI / screen.logicalXDPI;
- }
- } else if (window.outerWidth !== undefined && window.innerWidth !== undefined) {
- ratio = window.outerWidth / window.innerWidth;
- }
- if (ratio) {
- ratio = Math.round(ratio * 100);
- }
- return ratio * 0.01;
-};
-/**
- * 递归DOM元素查找深度子级的一批符合条件的元素返回数组
- * @param {*} element 要查找DOM元素
- * @param {*} judgeFun 查找函数 : fun(v) return true or false
- * @returns array
- */
-function diguiTooALL(element, judgeFun) {
-
- var target = [];
-
- if (element == null) return null;
- if (judgeFun == null) return null;
-
-
- digui(element);
- return target;
-
- function digui(elem) {
- var child = elem.children;
- if (child.length == 0) return;
-
- for (let index = 0; index < child.length; index++) {
- const element2 = child[index];
- if (judgeFun(element2)) {
- target.push(element2);
- digui(element2);
- } else {
- digui(element2);
- }
- }
- }
-}
-
-/**
- * 递归DOM元素查找深度子级的第一个符合条件的元素-子级的子级深度搜索赶紧后在搜索下一个子级
- * @param {*} element 要查找DOM元素
- * @param {*} judgeFun 查找函数 : fun(v) return true or false
- * @returns element
- */
-function diguiTooONE_1(element, judgeFun) {
-
- if (element == null) return null;
- if (judgeFun == null) return null;
-
- return digui(element);
-
- function digui(elem) {
- var child = elem.children;
- if (child.length == 0) return null;
-
- for (let index = 0; index < child.length; index++) {
- const element2 = child[index];
- if (judgeFun(element2)) {
- return element2;
- } else {
- var item = digui(element2);
- if (item == null) continue;
- return item;
- }
- }
- return null;
- }
-}
-
-/**
- * 递归DOM元素查找深度子级的第一个符合条件的元素-同层全部筛选一遍在依次深度搜索。
- * @param {*} element 要查找DOM元素
- * @param {*} judgeFun 查找函数 : fun(v) return true or false
- * @param {*} xianz 限制递归最大次数
- * @returns element
- */
-function diguiTooONE_2(element, judgeFun, xianz = 999) {
-
- if (element == null || element.firstElementChild == null) return null;
- if (judgeFun == null) return null;
- var i = xianz <= 0 ? 10 : xianz;
- return digui(element);
-
- function digui(elem) {
-
- if (i <= 0) return null;
- xianz--;
-
- var child = elem.children;
- var newchild = [];
- for (let index = 0; index < child.length; index++) {
- const element2 = child[index];
- if (judgeFun(element2)) {
- return element2;
- } else {
- if (newchild.firstElementChild != null) newchild.push(element2);
- }
- }
-
- for (let index = 0; index < newchild.length; index++) {
- const element2 = newchild[index];
- var item = digui(element2);
- if (item == null) continue;
- return item;
- }
- return null;
- }
-}
-/**
- * 不断查找元素父级的父级知道这个父级符合条件函数
- * @param {*} element 起始元素
- * @param {*} judgeFun 条件函数
- * @param {*} upTimes 限制向上查找父级次数
- * @returns 返回符合条件的父级,或null
- */
-function isFatherFather(element, judgeFun, upTimes) {
- var i = 0;
- for (; ;) {
- if (!element) return null;
- if (upTimes < 1 || i >= upTimes) return null;
- if (judgeFun(element)) return element;
- element = element.parentElement;
- i++;
- }
-}
-
-
-/**
- * 获得焦点所在的块
- * @return {HTMLElement} 光标所在块
- * @return {null} 光标不在块内
- */
-function getFocusedBlock() {
- let block = window.getSelection()
- && window.getSelection().focusNode
- && window.getSelection().focusNode.parentElement; // 当前光标
- while (block != null && block.dataset.nodeId == null) block = block.parentElement;
- return block;
-}
-/**
- * 清除选中文本
- */
-function clearSelections() {
- if (window.getSelection) {
- var selection = window.getSelection();
- selection.removeAllRanges();
- } else if (document.selection && document.selection.empty) {
- document.selection.empty();
- }
-}
-
-/**
- * body全局事件频率优化执行
- * @param {*} eventStr 那种事件如 "mouseover"
- * @param {*} fun(e) 执行函数,e:事件对象
- * @param {*} accurate 精确度:每隔多少毫秒检测一次触发事件执行
- * @param {*} delay 检测到事件触发后延时执行的ms
- * @param {*} frequency 执行后再延时重复执行几次
- * @param {*} frequencydelay 执行后再延时重复执行之间的延时时间ms
- */
-function BodyEventRunFun(eventStr, fun, accurate = 100, delay = 0, frequency = 1, frequencydelay = 16) {
- var isMove = true;
- var _e = null;
- AddEvent(document.body, eventStr, (e) => { isMove = true; _e = e })
- setInterval(() => {
- if (!isMove) return;
- isMove = false;
- setTimeout(() => {
- fun(_e);
- if (frequency == 1) return;
- if (frequencydelay < 16) frequencydelay = 16;
-
- var _frequencydelay = frequencydelay;
- for (let index = 0; index < frequency; index++) {
- setTimeout(() => { fun(_e); }, frequencydelay);
- frequencydelay += _frequencydelay;
- }
-
- }, delay);
- }, accurate);
-}
-
-/**
- * 为元素添加思源悬浮打开指定ID块内容悬浮窗事件
- * @param {*} element 绑定的元素
- * @param {*} id 悬浮窗内打开的块的ID
- */
-function suspensionToOpenSiyuanSuspensionWindow(element, id) {
- element.setAttribute("data-defids", '[""]');
- element.classList.add("popover__block");
- element.setAttribute("data-id", id);
-}
-
-/**
- * 为元素添加思源点击打开指定ID块内容悬浮窗事件
- * @param {*} element 绑定的元素
- * @param {*} id 悬浮窗内打开的块的ID
- */
-function clickToOpenSiyuanFloatingWindow(element, id) {
- element.classList.add("protyle-wysiwyg__embed");
- element.setAttribute("data-id", id);
-}
-
-/**
- * 控制台打印输出
- * @param {*} obj
- */
-function c(...data) {
- console.log(data);
-}
-
-/**
- * 安全While循环
- * frequency:限制循环次数
- * 返回值不等于null终止循环
- */
-function WhileSafety(fun, frequency = 99999) {
- var i = 0;
- if (frequency <= 0) {
- console.log("安全循环次数小于等于0")
- return;
- }
- while (i < frequency) {
- var _return = fun();
- if (_return != null || _return != undefined) return _return;
- i++;
- }
-}
-/**设置思源块展开 */
-function setBlockfold_0(BlockId) {
- 设置思源块属性(BlockId, { "fold": "0" });
-}
-
-/**设置思源块折叠 */
-function setBlockfold_1(BlockId) {
- 设置思源块属性(BlockId, { "fold": "1" });
-}
-
-/**
- * 得到光标编辑状态下的显示commonMenu菜单;
- * @returns
- */
-function getcommonMenu_Cursor() {
- if ((window.getSelection ? window.getSelection() : document.selection.createRange().text).toString().length != 0) return null;
- var commonMenu = document.querySelector("#commonMenu:not(.fn__none)");
- if (commonMenu == null) return null;
- if (commonMenu.firstChild == null) return null;
- if (commonMenu.children.length < 8) {
- return commonMenu;
- }
- return null;
-}
-
-/**
- * 得到光标选中编辑状态下的显示commonMenu菜单;
- * @returns
- */
-function getcommonMenu_Cursor2() {
- if ((window.getSelection ? window.getSelection() : document.selection.createRange().text).toString().length != 0) {
- return document.querySelector("#commonMenu:not(.fn__none)");
- };
- return null;
-}
-
-/**
- * 得到快选中状态下的显示commonMenu菜单;
- * @returns
- */
-function getcommonMenu_Bolck() {
- var commonMenu = document.querySelector("#commonMenu:not(.fn__none)");
- if (commonMenu.children.length < 8) {
- return commonMenu;
- }
- return null;
-}
-
-
-/**++++++++++++++++++++++++++++++++按需调用++++++++++++++++++++++++++++++ */
-
-setTimeout(() => {
-
- if (isPhone()) {
-
- collapseExpand_Head_List()//鼠标中键标题、列表文本折叠/展开
-
- themeButton()//主题
-
- console.log("==============>附加CSS和特性JS_已经执行<==============");
- } else {
-
- themeButton()//主题
-
- topbarfixedButton()//顶栏固定
-
- leftColumnButton()//左侧面板悬浮
-
- rightColumnButton()//右侧面板悬浮
-
- setTimeout(() => ClickMonitor(), 3000);//各种列表转xx
-
- rundynamicUnderline();//为文档标题创建动态下划线
-
- showDocumentCreationDate();//为打开文档标题下面显示文档创建日期
-
- autoOpenList();//自动展开悬浮窗内折叠列表(第一次折叠)
-
- collapsedListPreview();//折叠列表内容预览查看
-
- collapseExpand_Head_List()//鼠标中键标题、列表文本折叠/展开
-
- init()//最近打开文档
-
- initcalendar()//打开日历
-
- loadScript("/appearance/themes/notion-theme/comment/index.js");//js批注评论
-
- console.log("==============>附加CSS和特性JS_已经执行<==============");
- }
-}, 1000);
-
-
-
-
diff --git a/app/appearance/themes/notion-theme/theme.json b/app/appearance/themes/notion-theme/theme.json
deleted file mode 100644
index 41d2bc10e8..0000000000
--- a/app/appearance/themes/notion-theme/theme.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "name": "notion-theme",
- "author": "Roy",
- "url": "https://github.com/royc01/notion-theme",
- "version": "2.6.3",
- "modes": [
- "light",
- "dark"
- ]
-}
-