diff --git a/404.html b/404.html index 2bfe535b..c7819a28 100644 --- a/404.html +++ b/404.html @@ -5,15 +5,15 @@ 绪山真寻Bot - + - - + +
- + diff --git a/assets/js/11.0b6a2442.js b/assets/js/11.91f3c979.js similarity index 79% rename from assets/js/11.0b6a2442.js rename to assets/js/11.91f3c979.js index 8c91858e..d7662161 100644 --- a/assets/js/11.0b6a2442.js +++ b/assets/js/11.91f3c979.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{546:function(t,e,n){"use strict";n.r(e);var s=n(8),l=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{547:function(t,e,n){"use strict";n.r(e);var s=n(8),l=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/12.a3e0f9dd.js b/assets/js/12.f106c3e1.js similarity index 99% rename from assets/js/12.a3e0f9dd.js rename to assets/js/12.f106c3e1.js index 7c1e9258..22f18c51 100644 --- a/assets/js/12.a3e0f9dd.js +++ b/assets/js/12.f106c3e1.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{547:function(t,r,e){"use strict";e.r(r);var n=e(8),o=Object(n.a)({},(function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"真寻是谁"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#真寻是谁"}},[t._v("#")]),t._v(" "),e("strong",[t._v("真寻是谁?")])]),t._v(" "),e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"title"}),e("p",[e("em",[e("strong",[t._v("欧尼酱被妹妹下药了!摇身一变成了白发傲娇美少女!")])])])]),e("h1",{attrs:{id:"为什么选择真寻作为bot"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#为什么选择真寻作为bot"}},[t._v("#")]),t._v(" "),e("strong",[t._v("为什么选择真寻作为Bot?")])]),t._v(" "),e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"title"}),e("p",[e("em",[e("strong",[t._v("当然是因为xp了兄弟,白发傲娇娇小可爱美少女谁不爱?")])])])]),e("h1",{attrs:{id:"简介"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#简介"}},[t._v("#")]),t._v(" "),e("strong",[t._v("简介")])]),t._v(" "),e("h2",{attrs:{id:"关于"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#关于"}},[t._v("#")]),t._v(" 关于")]),t._v(" "),e("p",[t._v("此项目用爱发电,个人学习的实践项目,也算比较有趣,希望有个机器人老婆(迫真,希望给一个star(球球")]),t._v(" "),e("h2",{attrs:{id:"使用以onebot协议为准的框架"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#使用以onebot协议为准的框架"}},[t._v("#")]),t._v(" 使用以OneBot协议为准的框架")]),t._v(" "),e("p",[t._v("基于 "),e("a",{attrs:{href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"}},[t._v("Mrs4s / go-cqhttp"),e("OutboundLink")],1),e("code",[t._v("(没错,超好用的无头QQ)")]),t._v(" 作为基础框架"),e("br"),t._v("\n后端使用 "),e("a",{attrs:{href:"https://github.com/nonebot/nonebot2",target:"_blank",rel:"noopener noreferrer"}},[t._v("nonebot / nonebot2"),e("OutboundLink")],1),e("code",[t._v("(反正好用就是了)")]),t._v(" 为后端框架开发")]),t._v(" "),e("h2",{attrs:{id:"数据库"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#数据库"}},[t._v("#")]),t._v(" 数据库")]),t._v(" "),e("p",[t._v("目前仅仅只支持了"),e("code",[t._v("Postgresql")]),t._v("关系型数据库,ORM主要使用 "),e("a",{attrs:{href:"https://github.com/python-gino/gino",target:"_blank",rel:"noopener noreferrer"}},[t._v("python-gino / gino"),e("OutboundLink")],1)]),t._v(" "),e("h2",{attrs:{id:"推荐的部署系统"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#推荐的部署系统"}},[t._v("#")]),t._v(" 推荐的部署系统")]),t._v(" "),e("p",[t._v("Linux,可以使用 "),e("strong",[t._v("Ubuntu")]),t._v(" 等,Windows上虽然也可以成功部署,但是"),e("code",[t._v("playwright")]),t._v("方面功能会被限制使用,将来可能会解决这个问题(大概")]),t._v(" "),e("h2",{attrs:{id:"吹水聊天"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#吹水聊天"}},[t._v("#")]),t._v(" 吹水聊天")]),t._v(" "),e("p",[t._v("欢迎加入 "),e("a",{attrs:{href:"https://jq.qq.com/?_wv=1027&k=u8PgBkMZ",target:"_blank",rel:"noopener noreferrer"}},[t._v("是真寻酱哒"),e("OutboundLink")],1)]),t._v(" "),e("h2",{attrs:{id:"救命-我部署或使用出了问题"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#救命-我部署或使用出了问题"}},[t._v("#")]),t._v(" 救命!我部署或使用出了问题!")]),t._v(" "),e("p",[t._v("莫慌,请先在"),e("a",{attrs:{href:"https://github.com/HibiKier/zhenxun_bot/issues",target:"_blank",rel:"noopener noreferrer"}},[t._v("issues"),e("OutboundLink")],1),t._v("和"),e("a",{attrs:{href:"/development/faq/FAQ"}},[t._v("FQA")]),t._v("尝试寻找解决方案"),e("br"),t._v("\n如果还是没有解决,可选择以下方式")]),t._v(" "),e("ul",[e("li",[t._v("尝试百度/Google")]),t._v(" "),e("li",[t._v("提交issues")]),t._v(" "),e("li",[t._v("加入"),e("a",{attrs:{href:"https://jq.qq.com/?_wv=1027&k=u8PgBkMZ",target:"_blank",rel:"noopener noreferrer"}},[t._v("是真寻酱哒"),e("OutboundLink")],1)])]),t._v(" "),e("h1",{attrs:{id:"开源协议"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#开源协议"}},[t._v("#")]),t._v(" "),e("strong",[t._v("开源协议")])]),t._v(" "),e("p",[t._v("本项目使用 "),e("a",{attrs:{href:"https://github.com/HibiKier/zhenxun_bot/blob/main/LICENSE",target:"_blank",rel:"noopener noreferrer"}},[t._v("AGPL-3.0 License"),e("OutboundLink")],1),t._v(" 作为开源协议。")]),t._v(" "),e("h1",{attrs:{id:"感谢"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#感谢"}},[t._v("#")]),t._v(" "),e("strong",[t._v("感谢")])]),t._v(" "),e("p",[e("em",[e("strong",[t._v("以下项目为真寻提供了不少的帮助和灵感")])]),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/botuniverse/onebot",target:"_blank",rel:"noopener noreferrer"}},[t._v("botuniverse / onebot"),e("OutboundLink")],1),t._v(":超棒的机器人协议"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"}},[t._v("Mrs4s / go-cqhttp"),e("OutboundLink")],1),t._v(":cqhttp的golang实现,轻量、原生跨平台."),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/nonebot/nonebot2",target:"_blank",rel:"noopener noreferrer"}},[t._v("nonebot / nonebot2"),e("OutboundLink")],1),t._v(":跨平台Python异步机器人框架"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Angel-Hair/XUN_Bot",target:"_blank",rel:"noopener noreferrer"}},[t._v("Angel-Hair / XUN_Bot"),e("OutboundLink")],1),t._v(":一个基于NoneBot和酷Q的功能性QQ机器人"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/pcrbot/cappuccilo_plugins",target:"_blank",rel:"noopener noreferrer"}},[t._v("pcrbot / cappuccilo_plugins"),e("OutboundLink")],1),t._v(":hoshino插件合集"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/MeetWq/nonebot-plugin-withdraw",target:"_blank",rel:"noopener noreferrer"}},[t._v("MeetWq /nonebot-plugin-withdraw"),e("OutboundLink")],1),t._v(":A simple withdraw plugin for Nonebot2"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/maxesisn/nonebot_plugin_songpicker2",target:"_blank",rel:"noopener noreferrer"}},[t._v("maxesisn / nonebot_plugin_songpicker2"),e("OutboundLink")],1),t._v(":适用于nonebot2的点歌插件"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/nonepkg/nonebot-plugin-manager",target:"_blank",rel:"noopener noreferrer"}},[t._v("nonepkg / nonebot-plugin-manager"),e("OutboundLink")],1),t._v(":Nonebot Plugin Manager base on import hook"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/H-K-Y/Genshin_Impact_bot",target:"_blank",rel:"noopener noreferrer"}},[t._v("H-K-Y / Genshin_Impact_bot"),e("OutboundLink")],1),t._v(":原神bot,这是一个基于nonebot和HoshinoBot的原神娱乐及信息查询插件\n"),e("a",{attrs:{href:"https://github.com/NothAmor/nonebot2_luxun_says",target:"_blank",rel:"noopener noreferrer"}},[t._v("NothAmor / nonebot2_luxun_says"),e("OutboundLink")],1),t._v(":基于nonebot2机器人框架的鲁迅说插件"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Kyomotoi/AnimeThesaurus",target:"_blank",rel:"noopener noreferrer"}},[t._v("Kyomotoi / AnimeThesaurus"),e("OutboundLink")],1),t._v(":一个"),e("s",[t._v("特二刺螈")]),t._v("(文爱)的适用于任何bot的词库"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Ailitonia/omega-miya",target:"_blank",rel:"noopener noreferrer"}},[t._v("Ailitonia / omega-miya"),e("OutboundLink")],1),t._v(":基于nonebot2的qq机器人")])])}),[],!1,null,null,null);r.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{549:function(t,r,e){"use strict";e.r(r);var n=e(8),o=Object(n.a)({},(function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"真寻是谁"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#真寻是谁"}},[t._v("#")]),t._v(" "),e("strong",[t._v("真寻是谁?")])]),t._v(" "),e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"title"}),e("p",[e("em",[e("strong",[t._v("欧尼酱被妹妹下药了!摇身一变成了白发傲娇美少女!")])])])]),e("h1",{attrs:{id:"为什么选择真寻作为bot"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#为什么选择真寻作为bot"}},[t._v("#")]),t._v(" "),e("strong",[t._v("为什么选择真寻作为Bot?")])]),t._v(" "),e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"title"}),e("p",[e("em",[e("strong",[t._v("当然是因为xp了兄弟,白发傲娇娇小可爱美少女谁不爱?")])])])]),e("h1",{attrs:{id:"简介"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#简介"}},[t._v("#")]),t._v(" "),e("strong",[t._v("简介")])]),t._v(" "),e("h2",{attrs:{id:"关于"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#关于"}},[t._v("#")]),t._v(" 关于")]),t._v(" "),e("p",[t._v("此项目用爱发电,个人学习的实践项目,也算比较有趣,希望有个机器人老婆(迫真,希望给一个star(球球")]),t._v(" "),e("h2",{attrs:{id:"使用以onebot协议为准的框架"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#使用以onebot协议为准的框架"}},[t._v("#")]),t._v(" 使用以OneBot协议为准的框架")]),t._v(" "),e("p",[t._v("基于 "),e("a",{attrs:{href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"}},[t._v("Mrs4s / go-cqhttp"),e("OutboundLink")],1),e("code",[t._v("(没错,超好用的无头QQ)")]),t._v(" 作为基础框架"),e("br"),t._v("\n后端使用 "),e("a",{attrs:{href:"https://github.com/nonebot/nonebot2",target:"_blank",rel:"noopener noreferrer"}},[t._v("nonebot / nonebot2"),e("OutboundLink")],1),e("code",[t._v("(反正好用就是了)")]),t._v(" 为后端框架开发")]),t._v(" "),e("h2",{attrs:{id:"数据库"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#数据库"}},[t._v("#")]),t._v(" 数据库")]),t._v(" "),e("p",[t._v("目前仅仅只支持了"),e("code",[t._v("Postgresql")]),t._v("关系型数据库,ORM主要使用 "),e("a",{attrs:{href:"https://github.com/python-gino/gino",target:"_blank",rel:"noopener noreferrer"}},[t._v("python-gino / gino"),e("OutboundLink")],1)]),t._v(" "),e("h2",{attrs:{id:"推荐的部署系统"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#推荐的部署系统"}},[t._v("#")]),t._v(" 推荐的部署系统")]),t._v(" "),e("p",[t._v("Linux,可以使用 "),e("strong",[t._v("Ubuntu")]),t._v(" 等,Windows上虽然也可以成功部署,但是"),e("code",[t._v("playwright")]),t._v("方面功能会被限制使用,将来可能会解决这个问题(大概")]),t._v(" "),e("h2",{attrs:{id:"吹水聊天"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#吹水聊天"}},[t._v("#")]),t._v(" 吹水聊天")]),t._v(" "),e("p",[t._v("欢迎加入 "),e("a",{attrs:{href:"https://jq.qq.com/?_wv=1027&k=u8PgBkMZ",target:"_blank",rel:"noopener noreferrer"}},[t._v("是真寻酱哒"),e("OutboundLink")],1)]),t._v(" "),e("h2",{attrs:{id:"救命-我部署或使用出了问题"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#救命-我部署或使用出了问题"}},[t._v("#")]),t._v(" 救命!我部署或使用出了问题!")]),t._v(" "),e("p",[t._v("莫慌,请先在"),e("a",{attrs:{href:"https://github.com/HibiKier/zhenxun_bot/issues",target:"_blank",rel:"noopener noreferrer"}},[t._v("issues"),e("OutboundLink")],1),t._v("和"),e("a",{attrs:{href:"/development/faq/FAQ"}},[t._v("FQA")]),t._v("尝试寻找解决方案"),e("br"),t._v("\n如果还是没有解决,可选择以下方式")]),t._v(" "),e("ul",[e("li",[t._v("尝试百度/Google")]),t._v(" "),e("li",[t._v("提交issues")]),t._v(" "),e("li",[t._v("加入"),e("a",{attrs:{href:"https://jq.qq.com/?_wv=1027&k=u8PgBkMZ",target:"_blank",rel:"noopener noreferrer"}},[t._v("是真寻酱哒"),e("OutboundLink")],1)])]),t._v(" "),e("h1",{attrs:{id:"开源协议"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#开源协议"}},[t._v("#")]),t._v(" "),e("strong",[t._v("开源协议")])]),t._v(" "),e("p",[t._v("本项目使用 "),e("a",{attrs:{href:"https://github.com/HibiKier/zhenxun_bot/blob/main/LICENSE",target:"_blank",rel:"noopener noreferrer"}},[t._v("AGPL-3.0 License"),e("OutboundLink")],1),t._v(" 作为开源协议。")]),t._v(" "),e("h1",{attrs:{id:"感谢"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#感谢"}},[t._v("#")]),t._v(" "),e("strong",[t._v("感谢")])]),t._v(" "),e("p",[e("em",[e("strong",[t._v("以下项目为真寻提供了不少的帮助和灵感")])]),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/botuniverse/onebot",target:"_blank",rel:"noopener noreferrer"}},[t._v("botuniverse / onebot"),e("OutboundLink")],1),t._v(":超棒的机器人协议"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"}},[t._v("Mrs4s / go-cqhttp"),e("OutboundLink")],1),t._v(":cqhttp的golang实现,轻量、原生跨平台."),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/nonebot/nonebot2",target:"_blank",rel:"noopener noreferrer"}},[t._v("nonebot / nonebot2"),e("OutboundLink")],1),t._v(":跨平台Python异步机器人框架"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Angel-Hair/XUN_Bot",target:"_blank",rel:"noopener noreferrer"}},[t._v("Angel-Hair / XUN_Bot"),e("OutboundLink")],1),t._v(":一个基于NoneBot和酷Q的功能性QQ机器人"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/pcrbot/cappuccilo_plugins",target:"_blank",rel:"noopener noreferrer"}},[t._v("pcrbot / cappuccilo_plugins"),e("OutboundLink")],1),t._v(":hoshino插件合集"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/MeetWq/nonebot-plugin-withdraw",target:"_blank",rel:"noopener noreferrer"}},[t._v("MeetWq /nonebot-plugin-withdraw"),e("OutboundLink")],1),t._v(":A simple withdraw plugin for Nonebot2"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/maxesisn/nonebot_plugin_songpicker2",target:"_blank",rel:"noopener noreferrer"}},[t._v("maxesisn / nonebot_plugin_songpicker2"),e("OutboundLink")],1),t._v(":适用于nonebot2的点歌插件"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/nonepkg/nonebot-plugin-manager",target:"_blank",rel:"noopener noreferrer"}},[t._v("nonepkg / nonebot-plugin-manager"),e("OutboundLink")],1),t._v(":Nonebot Plugin Manager base on import hook"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/H-K-Y/Genshin_Impact_bot",target:"_blank",rel:"noopener noreferrer"}},[t._v("H-K-Y / Genshin_Impact_bot"),e("OutboundLink")],1),t._v(":原神bot,这是一个基于nonebot和HoshinoBot的原神娱乐及信息查询插件\n"),e("a",{attrs:{href:"https://github.com/NothAmor/nonebot2_luxun_says",target:"_blank",rel:"noopener noreferrer"}},[t._v("NothAmor / nonebot2_luxun_says"),e("OutboundLink")],1),t._v(":基于nonebot2机器人框架的鲁迅说插件"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Kyomotoi/AnimeThesaurus",target:"_blank",rel:"noopener noreferrer"}},[t._v("Kyomotoi / AnimeThesaurus"),e("OutboundLink")],1),t._v(":一个"),e("s",[t._v("特二刺螈")]),t._v("(文爱)的适用于任何bot的词库"),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/Ailitonia/omega-miya",target:"_blank",rel:"noopener noreferrer"}},[t._v("Ailitonia / omega-miya"),e("OutboundLink")],1),t._v(":基于nonebot2的qq机器人")])])}),[],!1,null,null,null);r.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/14.b623f521.js b/assets/js/14.01d72eb9.js similarity index 79% rename from assets/js/14.b623f521.js rename to assets/js/14.01d72eb9.js index ea75f405..8d4db375 100644 --- a/assets/js/14.b623f521.js +++ b/assets/js/14.01d72eb9.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{549:function(t,e,n){"use strict";n.r(e);var s=n(8),l=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{546:function(t,e,n){"use strict";n.r(e);var s=n(8),l=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/app.5991c721.js b/assets/js/app.5ff3651f.js similarity index 95% rename from assets/js/app.5991c721.js rename to assets/js/app.5ff3651f.js index 5e937cad..aa46f1cf 100644 --- a/assets/js/app.5991c721.js +++ b/assets/js/app.5ff3651f.js @@ -1,4 +1,4 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,s=e[0],c=e[1],u=e[2],f=0,p=[];f1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(d.indexOf(t)>-1)e[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"==typeof r.value?(e.methods||(e.methods={}))[t]=r.value:(e.mixins||(e.mixins=[])).push({data:function(){return i({},t,r.value)}}):(r.get||r.set)&&((e.computed||(e.computed={}))[t]={get:r.get,set:r.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return p(this,t)}});var o=t.__decorators__;o&&(o.forEach((function(t){return t(e)})),delete t.__decorators__);var a=Object.getPrototypeOf(t.prototype),u=a instanceof r.default?a.constructor:r.default,l=u.extend(e);return m(l,t,u),s()&&c(l,t),l}var v={prototype:!0,arguments:!0,callee:!0,caller:!0};function m(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!v[r]){var i=Object.getOwnPropertyDescriptor(t,r);if(!i||i.configurable){var a,s,c=Object.getOwnPropertyDescriptor(e,r);if(!l){if("cid"===r)return;var u=Object.getOwnPropertyDescriptor(n,r);if(a=c.value,s=o(a),null!=a&&("object"===s||"function"===s)&&u&&u.value===c.value)return}0,Object.defineProperty(t,r,c)}}}))}function g(t){return"function"==typeof t?h(t):function(e){return h(e,t)}}g.registerHooks=function(t){d.push.apply(d,a(t))},e.b=g},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";n.d(e,"e",(function(){return _})),n.d(e,"d",(function(){return x})),n.d(e,"c",(function(){return k})),n.d(e,"f",(function(){return O})),n.d(e,"a",(function(){return C})),n.d(e,"g",(function(){return S})),n.d(e,"b",(function(){return $})),n.d(e,"h",(function(){return j})),n.d(e,"i",(function(){return A}));var r=n(144),o=n(61),i=n(56),a=(n(119),n(186),n(45),n(59),n(37),n(283),n(284),n(16),n(21),n(24),n(44),n(25),n(0)),s={NotFound:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,544))},Category:function(){return Promise.all([n.e(0),n.e(1),n.e(6)]).then(n.bind(null,545))},Layout:function(){return Promise.all([n.e(0),n.e(1),n.e(3)]).then(n.bind(null,539))},Tag:function(){return Promise.all([n.e(0),n.e(1),n.e(4)]).then(n.bind(null,543))},Tags:function(){return Promise.all([n.e(0),n.e(1),n.e(5)]).then(n.bind(null,542))},TimeLines:function(){return Promise.all([n.e(0),n.e(1),n.e(10)]).then(n.bind(null,541))}},c={"v-3cc1e510":function(){return n.e(11).then(n.bind(null,546))},"v-bc3078f0":function(){return n.e(12).then(n.bind(null,547))},"v-10d900e8":function(){return n.e(14).then(n.bind(null,549))},"v-2c5ec342":function(){return n.e(13).then(n.bind(null,550))}};function u(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var l=/-(\w)/g,f=u((function(t){return t.replace(l,(function(t,e){return e?e.toUpperCase():""}))})),p=/\B([A-Z])/g,d=u((function(t){return t.replace(p,"-$1").toLowerCase()})),h=u((function(t){return t.charAt(0).toUpperCase()+t.slice(1)}));function v(t,e){if(e)return t(e)?t(e):e.includes("-")?t(h(f(e))):t(h(e))||t(d(e))}var m=Object.assign({},s,c),g=function(t){return m[t]},y=function(t){return c[t]},b=function(t){return s[t]},w=function(t){return a.default.component(t)};function _(t){return v(y,t)}function x(t){return v(b,t)}function k(t){return v(g,t)}function O(t){return v(w,t)}function C(){for(var t=arguments.length,e=new Array(t),n=0;n=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n(78);function r(t,e){for(var n=0;n1?arguments[1]:void 0)}})},function(t,e,n){var r=n(63),o=n(22);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(3),o=n(6),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){t.exports=n(416)},function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"j",(function(){return a})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return u})),n.d(e,"i",(function(){return l})),n.d(e,"e",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"l",(function(){return d})),n.d(e,"m",(function(){return h})),n.d(e,"k",(function(){return v})),n.d(e,"c",(function(){return g})),n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return b}));n(45),n(59),n(251),n(390),n(189),n(44),n(52),n(53),n(25),n(121),n(60),n(75),n(252),n(253);var r=/#.*$/,o=/\.(md|html)$/,i=/\/$/,a=/^(https?:|mailto:|tel:)/;function s(t){return decodeURI(t).replace(r,"").replace(o,"")}function c(t){return a.test(t)}function u(t){return/^mailto:/.test(t)}function l(t){return/^tel:/.test(t)}function f(t){if(c(t))return t;var e=t.match(r),n=e?e[0]:"",o=s(t);return i.test(o)?t:o+".html"+n}function p(t,e){var n=t.hash,o=function(t){var e=t.match(r);if(e)return e[0]}(e);return(!o||n===o)&&s(t.path)===s(e)}function d(t,e,n){n&&(e=function(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a3&&void 0!==arguments[3]?arguments[3]:1;if("string"==typeof e)return d(n,e,r);if(Array.isArray(e))return Object.assign(d(n,e[0],r),{title:e[1]});o>3&&console.error("[vuepress] detected a too deep nested sidebar group.");var i=e.children||[];return 0===i.length&&e.path?Object.assign(d(n,e.path,r),{title:e.title}):{type:"group",path:e.path,title:e.title,sidebarDepth:e.sidebarDepth,children:i.map((function(e){return t(e,n,r,o+1)})),collapsable:!1!==e.collapsable}}(t,o,s)})):[]}function v(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}function m(t){return t?new Date(t).getTime():0}function g(t,e){var n=m(t.frontmatter.date),r=m(e.frontmatter.date);return 0===n||0===r?0:r-n}function y(t){var e=document.createElement("link");e.rel="stylesheet",e.href=t,document.head.append(e)}function b(t){var e=document.createElement("script");e.src=t,document.head.append(e)}},function(t,e,n){var r=n(191),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(49);t.exports=function(t){return r(t.length)}},function(t,e,n){var r=n(27);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(6),o=n(154);t.exports=function(t){if(r(t))return t;throw TypeError(o(t)+" is not a function")}},function(t,e,n){var r=n(11),o=n(15),i=n(66);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(11),o=n(113),i=n(66),a=n(26),s=n(85),c=n(14),u=n(153),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e),u)try{return l(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r=n(1),o=n(67),i=n(95),a=n(10),s=n(142),c=n(32),u=n(26),l=n(80),f=n(4),p=n(81)("slice"),d=f("species"),h=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,f,p=u(this),m=c(p),g=s(t,m),y=s(void 0===e?m:e,m);if(o(p)&&(n=p.constructor,(i(n)&&(n===Array||o(n.prototype))||a(n)&&null===(n=n[d]))&&(n=void 0),n===Array||void 0===n))return h.call(p,g,y);for(r=new(void 0===n?Array:n)(v(y-g,0)),f=0;g"+t+"<\/script>"},h=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&r?h(r):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):h(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[f]=t):n=v(),void 0===e?n:i(n,e)}},function(t,e,n){var r,o,i,a=n(257),s=n(3),c=n(10),u=n(35),l=n(14),f=n(107),p=n(88),d=n(64),h=s.WeakMap;if(a||f.state){var v=f.state||(f.state=new h),m=v.get,g=v.has,y=v.set;r=function(t,e){if(g.call(v,t))throw new TypeError("Object already initialized");return e.facade=t,y.call(v,t,e),e},o=function(t){return m.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var b=p("state");d[b]=!0,r=function(t,e){if(l(t,b))throw new TypeError("Object already initialized");return e.facade=t,u(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(303),o=n(306);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(404),o=n(222),i=/[T ]/,a=/:/,s=/^(\d{2})$/,c=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],u=/^(\d{4})/,l=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],f=/^-(\d{2})$/,p=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,h=/^-?W(\d{2})$/,v=/^-?W(\d{2})-?(\d{1})$/,m=/^(\d{2}([.,]\d*)?)$/,g=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,y=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/([Z+-].*)$/,w=/^(Z)$/,_=/^([+-])(\d{2})$/,x=/^([+-])(\d{2}):?(\d{2})$/;function k(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var o=7*e+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}t.exports=function(t,e){if(o(t))return new Date(t.getTime());if("string"!=typeof t)return new Date(t);var n=(e||{}).additionalDigits;n=null==n?2:Number(n);var O=function(t){var e,n={},r=t.split(i);a.test(r[0])?(n.date=null,e=r[0]):(n.date=r[0],e=r[1]);if(e){var o=b.exec(e);o?(n.time=e.replace(o[1],""),n.timezone=o[1]):n.time=e}return n}(t),C=function(t,e){var n,r=c[e],o=l[e];if(n=u.exec(t)||o.exec(t)){var i=n[1];return{year:parseInt(i,10),restDateString:t.slice(i.length)}}if(n=s.exec(t)||r.exec(t)){var a=n[1];return{year:100*parseInt(a,10),restDateString:t.slice(a.length)}}return{year:null}}(O.date,n),S=C.year,$=function(t,e){if(null===e)return null;var n,r,o,i;if(0===t.length)return(r=new Date(0)).setUTCFullYear(e),r;if(n=f.exec(t))return r=new Date(0),o=parseInt(n[1],10)-1,r.setUTCFullYear(e,o),r;if(n=p.exec(t)){r=new Date(0);var a=parseInt(n[1],10);return r.setUTCFullYear(e,0,a),r}if(n=d.exec(t)){r=new Date(0),o=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return r.setUTCFullYear(e,o,s),r}if(n=h.exec(t))return i=parseInt(n[1],10)-1,k(e,i);if(n=v.exec(t)){i=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return k(e,i,c)}return null}(C.restDateString,S);if($){var j,A=$.getTime(),E=0;if(O.time&&(E=function(t){var e,n,r;if(e=m.exec(t))return(n=parseFloat(e[1].replace(",",".")))%24*36e5;if(e=g.exec(t))return n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")),n%24*36e5+6e4*r;if(e=y.exec(t)){n=parseInt(e[1],10),r=parseInt(e[2],10);var o=parseFloat(e[3].replace(",","."));return n%24*36e5+6e4*r+1e3*o}return null}(O.time)),O.timezone)j=6e4*function(t){var e,n;if(e=w.exec(t))return 0;if(e=_.exec(t))return n=60*parseInt(e[2],10),"+"===e[1]?-n:n;if(e=x.exec(t))return n=60*parseInt(e[2],10)+parseInt(e[3],10),"+"===e[1]?-n:n;return 0}(O.timezone);else{var T=A+E,I=new Date(T);j=r(I);var P=new Date(T);P.setDate(I.getDate()+1);var R=r(P)-r(I);R>0&&(j+=R)}return new Date(A+E+j)}return new Date(t)}},function(t,e,n){var r=n(1),o=n(3),i=n(6),a=n(33),s=[].slice,c=function(t){return function(e,n){var r=arguments.length>2,o=r?s.call(arguments,2):void 0;return t(r?function(){(i(e)?e:Function(e)).apply(this,o)}:e,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(a)},{setTimeout:c(o.setTimeout),setInterval:c(o.setInterval)})},function(t,e,n){"use strict";var r=n(1),o=n(68).map;r({target:"Array",proto:!0,forced:!n(81)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(98);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r,o,i=n(3),a=n(33),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l?o=(r=l.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){var r=n(34);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},function(t,e,n){var r=n(62),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(155),o=n(112).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(1),o=n(181);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(3),o=n(174),i=n(175),a=n(181),s=n(35),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},function(t,e,n){"use strict";var r=n(1),o=n(3),i=n(27),a=n(38),s=n(11),c=n(109),u=n(2),l=n(14),f=n(67),p=n(6),d=n(10),h=n(86),v=n(9),m=n(17),g=n(26),y=n(85),b=n(13),w=n(66),_=n(39),x=n(87),k=n(50),O=n(183),C=n(114),S=n(36),$=n(15),j=n(113),A=n(18),E=n(82),T=n(88),I=n(64),P=n(83),R=n(4),M=n(184),L=n(185),z=n(91),F=n(40),N=n(68).forEach,D=T("hidden"),U=R("toPrimitive"),q=F.set,B=F.getterFor("Symbol"),V=Object.prototype,H=o.Symbol,W=i("JSON","stringify"),Q=S.f,G=$.f,Y=O.f,K=j.f,J=E("symbols"),X=E("op-symbols"),Z=E("string-to-symbol-registry"),tt=E("symbol-to-string-registry"),et=E("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,ot=s&&u((function(){return 7!=_(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Q(V,e);r&&delete V[e],G(t,e,n),r&&t!==V&&G(V,e,r)}:G,it=function(t,e){var n=J[t]=_(H.prototype);return q(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},at=function(t,e,n){t===V&&at(X,e,n),v(t);var r=y(e);return v(n),l(J,r)?(n.enumerable?(l(t,D)&&t[D][r]&&(t[D][r]=!1),n=_(n,{enumerable:w(0,!1)})):(l(t,D)||G(t,D,w(1,{})),t[D][r]=!0),ot(t,r,n)):G(t,r,n)},st=function(t,e){v(t);var n=g(e),r=x(n).concat(ft(n));return N(r,(function(e){s&&!ct.call(n,e)||at(t,e,n[e])})),t},ct=function(t){var e=y(t),n=K.call(this,e);return!(this===V&&l(J,e)&&!l(X,e))&&(!(n||!l(this,e)||!l(J,e)||l(this,D)&&this[D][e])||n)},ut=function(t,e){var n=g(t),r=y(e);if(n!==V||!l(J,r)||l(X,r)){var o=Q(n,r);return!o||!l(J,r)||l(n,D)&&n[D][r]||(o.enumerable=!0),o}},lt=function(t){var e=Y(g(t)),n=[];return N(e,(function(t){l(J,t)||l(I,t)||n.push(t)})),n},ft=function(t){var e=t===V,n=Y(e?X:g(t)),r=[];return N(n,(function(t){!l(J,t)||e&&!l(V,t)||r.push(J[t])})),r};(c||(A((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,e=P(t),n=function(t){this===V&&n.call(X,t),l(this,D)&&l(this[D],e)&&(this[D][e]=!1),ot(this,e,w(1,t))};return s&&rt&&ot(V,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return B(this).tag})),A(H,"withoutSetter",(function(t){return it(P(t),t)})),j.f=ct,$.f=at,S.f=ut,k.f=O.f=lt,C.f=ft,M.f=function(t){return it(R(t),t)},s&&(G(H.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),a||A(V,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),N(x(et),(function(t){L(t)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=b(t);if(l(Z,e))return Z[e];var n=H(e);return Z[e]=n,tt[n]=e,n},keyFor:function(t){if(!h(t))throw TypeError(t+" is not a symbol");if(l(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?_(t):st(_(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:u((function(){C.f(1)}))},{getOwnPropertySymbols:function(t){return C.f(m(t))}}),W)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var t=H();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(d(e)||void 0!==t)&&!h(t))return f(e)||(e=function(t,e){if(p(r)&&(e=r.call(this,t,e)),!h(e))return e}),o[1]=e,W.apply(null,o)}});if(!H.prototype[U]){var pt=H.prototype.valueOf;A(H.prototype,U,(function(){return pt.apply(this,arguments)}))}z(H,"Symbol"),I[D]=!0},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n(16);function r(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,c,"next",t)}function c(t){r(a,o,i,s,c,"throw",t)}s(void 0)}))}}},function(t,e,n){"use strict";var r=n(401),o=n(402),i=n(221);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(0);e.a=new r.default},function(t,e,n){"use strict";var r=n(125),o=n(2),i=n(9),a=n(6),s=n(62),c=n(49),u=n(13),l=n(22),f=n(126),p=n(48),d=n(282),h=n(127),v=n(4)("replace"),m=Math.max,g=Math.min,y="$0"==="a".replace(/./,"$0"),b=!!/./[v]&&""===/./[v]("a","$0");r("replace",(function(t,e,n){var r=b?"$":"$0";return[function(t,n){var r=l(this),o=null==t?void 0:p(t,v);return o?o.call(t,r,n):e.call(u(r),t,n)},function(t,o){var l=i(this),p=u(t);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var v=n(e,l,p,o);if(v.done)return v.value}var y=a(o);y||(o=u(o));var b=l.global;if(b){var w=l.unicode;l.lastIndex=0}for(var _=[];;){var x=h(l,p);if(null===x)break;if(_.push(x),!b)break;""===u(x[0])&&(l.lastIndex=f(p,c(l.lastIndex),w))}for(var k,O="",C=0,S=0;S<_.length;S++){x=_[S];for(var $=u(x[0]),j=m(g(s(x.index),p.length),0),A=[],E=1;E=C&&(O+=p.slice(C,j)+P,C=j+$.length)}return O+p.slice(C)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!y||b)},function(t,e,n){"use strict";var r=n(1),o=n(111).indexOf,i=n(51),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:s||!c},{indexOf:function(t){return s?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n(121);var r=n(74);n(54),n(69),n(16),n(97),n(21),n(24),n(122);var o=n(104);function i(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},function(t,e,n){var r=n(2),o=n(46),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){t.exports={}},function(t,e){t.exports={}},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(46);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(93),o=n(63),i=n(17),a=n(32),s=n(143),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,f=6==t,p=7==t,d=5==t||f;return function(h,v,m,g){for(var y,b,w=i(h),_=o(w),x=r(v,m,3),k=a(_),O=0,C=g||s,S=e?C(h,k):n||p?C(h,0):void 0;k>O;O++)if((d||O in _)&&(b=x(y=_[O],O,w),t))if(e)S[O]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return O;case 2:c.call(S,y)}else switch(t){case 4:return!1;case 7:c.call(S,y)}return f?-1:u||l?l:S}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},function(t,e,n){"use strict";var r=n(1),o=n(11),i=n(3),a=n(14),s=n(6),c=n(10),u=n(15).f,l=n(158),f=i.Symbol;if(o&&s(f)&&(!("description"in f.prototype)||void 0!==f().description)){var p={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new f(t):void 0===t?f():f(t);return""===t&&(p[e]=!0),e};l(d,f);var h=d.prototype=f.prototype;h.constructor=d;var v=h.toString,m="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(p,t))return"";var n=m?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(t,e,n){var r=n(30).Symbol;t.exports=r},function(t,e,n){var r=n(70),o=n(288),i=n(289),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return a}));n(25),n(60),n(213);var r=n(29);function o(t,e){return t=t.filter((function(n,r){var o=n.title,i=n.frontmatter,a=i.home,s=i.date,c=i.publish;if(t.indexOf(n)!==r)return!1;var u=!0===a||null==o||!1===c;return!0===e?!(u||void 0===s):!u}))}function i(t){t.sort((function(t,e){var n=t.frontmatter.sticky,o=e.frontmatter.sticky;return n&&o?n==o?Object(r.c)(t,e):n-o:n&&!o?-1:!n&&o?1:Object(r.c)(t,e)}))}function a(t){t.sort((function(t,e){return Object(r.c)(t,e)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n(78);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"tomorrow",e=["tomorrow","funky","okaidia","solarizedlight","default"],n="//prismjs.com/themes/prism".concat(e.indexOf(t)>-1?"-".concat(t):"",".css");Object(r.a)(n)}function a(t){var e=t.__proto__.push;t.__proto__.push=function(t){return e.call(this,t).catch((function(t){return t}))}}function s(t){t.beforeEach((function(t,e,n){var r=decodeURIComponent(t.path);r!==t.path?n(Object.assign({},t,{fullPath:decodeURIComponent(t.fullPath),path:r})):n()}))}},function(t,e,n){var r=n(1),o=n(17),i=n(87);r({target:"Object",stat:!0,forced:n(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,n){var r=n(1),o=n(11);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(t,e,n){var r=n(11),o=n(14),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},function(t,e,n){"use strict";var r=n(85),o=n(15),i=n(66);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},function(t,e,n){var r=n(2),o=n(4),i=n(47),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(38),o=n(107);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.18.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(3),o=n(10),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){var r=n(110),o=n(86);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},function(t,e,n){var r=n(6),o=n(27),i=n(151);t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return r(e)&&Object(t)instanceof e}},function(t,e,n){var r=n(155),o=n(112);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(82),o=n(83),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(6),o=n(107),i=Function.toString;r(o.inspectSource)||(o.inspectSource=function(t){return i.call(t)}),t.exports=o.inspectSource},function(t,e,n){var r=n(2),o=n(6),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},function(t,e,n){var r=n(15).f,o=n(14),i=n(4)("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(9),o=n(259);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(34);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};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(117),o=n(6),i=n(46),a=n(4)("toStringTag"),s="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?n:s?i(e):"Object"==(r=i(e))&&o(e.callee)?"Arguments":r}},function(t,e,n){var r=n(2),o=n(6),i=n(94),a=n(27),s=n(89),c=[],u=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=l.exec,p=!l.exec((function(){})),d=function(t){if(!o(t))return!1;try{return u(Object,c,t),!0}catch(t){return!1}};t.exports=!u||r((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!o(t))return!1;switch(i(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!f.call(l,s(t))}:d},function(t,e,n){var r=n(46),o=n(3);t.exports="process"==r(o.process)},function(t,e,n){n(185)("iterator")},function(t,e,n){"use strict";var r,o,i=n(13),a=n(123),s=n(124),c=n(82),u=n(39),l=n(40).get,f=n(187),p=n(188),d=RegExp.prototype.exec,h=c("native-string-replace",String.prototype.replace),v=d,m=(r=/a/,o=/b*/g,d.call(r,"a"),d.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),g=s.UNSUPPORTED_Y||s.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(m||y||g||f||p)&&(v=function(t){var e,n,r,o,s,c,f,p=this,b=l(p),w=i(t),_=b.raw;if(_)return _.lastIndex=p.lastIndex,e=v.call(_,w),p.lastIndex=_.lastIndex,e;var x=b.groups,k=g&&p.sticky,O=a.call(p),C=p.source,S=0,$=w;if(k&&(-1===(O=O.replace("y","")).indexOf("g")&&(O+="g"),$=w.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==w.charAt(p.lastIndex-1))&&(C="(?: "+C+")",$=" "+$,S++),n=new RegExp("^(?:"+C+")",O)),y&&(n=new RegExp("^"+C+"$(?!\\s)",O)),m&&(r=p.lastIndex),o=d.call(k?n:p,$),k?o?(o.input=o.input.slice(S),o[0]=o[0].slice(S),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:m&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),y&&o&&o.length>1&&h.call(o[0],n,(function(){for(s=1;s1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(d.indexOf(t)>-1)e[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"==typeof r.value?(e.methods||(e.methods={}))[t]=r.value:(e.mixins||(e.mixins=[])).push({data:function(){return i({},t,r.value)}}):(r.get||r.set)&&((e.computed||(e.computed={}))[t]={get:r.get,set:r.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return p(this,t)}});var o=t.__decorators__;o&&(o.forEach((function(t){return t(e)})),delete t.__decorators__);var a=Object.getPrototypeOf(t.prototype),u=a instanceof r.default?a.constructor:r.default,l=u.extend(e);return m(l,t,u),s()&&c(l,t),l}var v={prototype:!0,arguments:!0,callee:!0,caller:!0};function m(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!v[r]){var i=Object.getOwnPropertyDescriptor(t,r);if(!i||i.configurable){var a,s,c=Object.getOwnPropertyDescriptor(e,r);if(!l){if("cid"===r)return;var u=Object.getOwnPropertyDescriptor(n,r);if(a=c.value,s=o(a),null!=a&&("object"===s||"function"===s)&&u&&u.value===c.value)return}0,Object.defineProperty(t,r,c)}}}))}function g(t){return"function"==typeof t?h(t):function(e){return h(e,t)}}g.registerHooks=function(t){d.push.apply(d,a(t))},e.b=g},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";n.d(e,"e",(function(){return _})),n.d(e,"d",(function(){return x})),n.d(e,"c",(function(){return k})),n.d(e,"f",(function(){return O})),n.d(e,"a",(function(){return C})),n.d(e,"g",(function(){return S})),n.d(e,"b",(function(){return $})),n.d(e,"h",(function(){return j})),n.d(e,"i",(function(){return A}));var r=n(144),o=n(61),i=n(56),a=(n(119),n(186),n(45),n(59),n(37),n(283),n(284),n(16),n(21),n(24),n(44),n(25),n(0)),s={NotFound:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,544))},Category:function(){return Promise.all([n.e(0),n.e(1),n.e(6)]).then(n.bind(null,545))},Layout:function(){return Promise.all([n.e(0),n.e(1),n.e(3)]).then(n.bind(null,539))},Tag:function(){return Promise.all([n.e(0),n.e(1),n.e(4)]).then(n.bind(null,543))},Tags:function(){return Promise.all([n.e(0),n.e(1),n.e(5)]).then(n.bind(null,542))},TimeLines:function(){return Promise.all([n.e(0),n.e(1),n.e(10)]).then(n.bind(null,541))}},c={"v-10d900e8":function(){return n.e(14).then(n.bind(null,546))},"v-3cc1e510":function(){return n.e(11).then(n.bind(null,547))},"v-bc3078f0":function(){return n.e(12).then(n.bind(null,549))},"v-2c5ec342":function(){return n.e(13).then(n.bind(null,550))}};function u(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var l=/-(\w)/g,f=u((function(t){return t.replace(l,(function(t,e){return e?e.toUpperCase():""}))})),p=/\B([A-Z])/g,d=u((function(t){return t.replace(p,"-$1").toLowerCase()})),h=u((function(t){return t.charAt(0).toUpperCase()+t.slice(1)}));function v(t,e){if(e)return t(e)?t(e):e.includes("-")?t(h(f(e))):t(h(e))||t(d(e))}var m=Object.assign({},s,c),g=function(t){return m[t]},y=function(t){return c[t]},b=function(t){return s[t]},w=function(t){return a.default.component(t)};function _(t){return v(y,t)}function x(t){return v(b,t)}function k(t){return v(g,t)}function O(t){return v(w,t)}function C(){for(var t=arguments.length,e=new Array(t),n=0;n=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n(78);function r(t,e){for(var n=0;n1?arguments[1]:void 0)}})},function(t,e,n){var r=n(63),o=n(22);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(3),o=n(6),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){t.exports=n(416)},function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"j",(function(){return a})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return u})),n.d(e,"i",(function(){return l})),n.d(e,"e",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"l",(function(){return d})),n.d(e,"m",(function(){return h})),n.d(e,"k",(function(){return v})),n.d(e,"c",(function(){return g})),n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return b}));n(45),n(59),n(251),n(390),n(189),n(44),n(52),n(53),n(25),n(121),n(60),n(75),n(252),n(253);var r=/#.*$/,o=/\.(md|html)$/,i=/\/$/,a=/^(https?:|mailto:|tel:)/;function s(t){return decodeURI(t).replace(r,"").replace(o,"")}function c(t){return a.test(t)}function u(t){return/^mailto:/.test(t)}function l(t){return/^tel:/.test(t)}function f(t){if(c(t))return t;var e=t.match(r),n=e?e[0]:"",o=s(t);return i.test(o)?t:o+".html"+n}function p(t,e){var n=t.hash,o=function(t){var e=t.match(r);if(e)return e[0]}(e);return(!o||n===o)&&s(t.path)===s(e)}function d(t,e,n){n&&(e=function(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a3&&void 0!==arguments[3]?arguments[3]:1;if("string"==typeof e)return d(n,e,r);if(Array.isArray(e))return Object.assign(d(n,e[0],r),{title:e[1]});o>3&&console.error("[vuepress] detected a too deep nested sidebar group.");var i=e.children||[];return 0===i.length&&e.path?Object.assign(d(n,e.path,r),{title:e.title}):{type:"group",path:e.path,title:e.title,sidebarDepth:e.sidebarDepth,children:i.map((function(e){return t(e,n,r,o+1)})),collapsable:!1!==e.collapsable}}(t,o,s)})):[]}function v(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}function m(t){return t?new Date(t).getTime():0}function g(t,e){var n=m(t.frontmatter.date),r=m(e.frontmatter.date);return 0===n||0===r?0:r-n}function y(t){var e=document.createElement("link");e.rel="stylesheet",e.href=t,document.head.append(e)}function b(t){var e=document.createElement("script");e.src=t,document.head.append(e)}},function(t,e,n){var r=n(191),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(49);t.exports=function(t){return r(t.length)}},function(t,e,n){var r=n(27);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(6),o=n(154);t.exports=function(t){if(r(t))return t;throw TypeError(o(t)+" is not a function")}},function(t,e,n){var r=n(11),o=n(15),i=n(66);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(11),o=n(113),i=n(66),a=n(26),s=n(85),c=n(14),u=n(153),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e),u)try{return l(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r=n(1),o=n(67),i=n(95),a=n(10),s=n(142),c=n(32),u=n(26),l=n(80),f=n(4),p=n(81)("slice"),d=f("species"),h=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,f,p=u(this),m=c(p),g=s(t,m),y=s(void 0===e?m:e,m);if(o(p)&&(n=p.constructor,(i(n)&&(n===Array||o(n.prototype))||a(n)&&null===(n=n[d]))&&(n=void 0),n===Array||void 0===n))return h.call(p,g,y);for(r=new(void 0===n?Array:n)(v(y-g,0)),f=0;g"+t+"<\/script>"},h=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&r?h(r):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):h(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[f]=t):n=v(),void 0===e?n:i(n,e)}},function(t,e,n){var r,o,i,a=n(257),s=n(3),c=n(10),u=n(35),l=n(14),f=n(107),p=n(88),d=n(64),h=s.WeakMap;if(a||f.state){var v=f.state||(f.state=new h),m=v.get,g=v.has,y=v.set;r=function(t,e){if(g.call(v,t))throw new TypeError("Object already initialized");return e.facade=t,y.call(v,t,e),e},o=function(t){return m.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var b=p("state");d[b]=!0,r=function(t,e){if(l(t,b))throw new TypeError("Object already initialized");return e.facade=t,u(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(303),o=n(306);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(404),o=n(222),i=/[T ]/,a=/:/,s=/^(\d{2})$/,c=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],u=/^(\d{4})/,l=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],f=/^-(\d{2})$/,p=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,h=/^-?W(\d{2})$/,v=/^-?W(\d{2})-?(\d{1})$/,m=/^(\d{2}([.,]\d*)?)$/,g=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,y=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/([Z+-].*)$/,w=/^(Z)$/,_=/^([+-])(\d{2})$/,x=/^([+-])(\d{2}):?(\d{2})$/;function k(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var o=7*e+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}t.exports=function(t,e){if(o(t))return new Date(t.getTime());if("string"!=typeof t)return new Date(t);var n=(e||{}).additionalDigits;n=null==n?2:Number(n);var O=function(t){var e,n={},r=t.split(i);a.test(r[0])?(n.date=null,e=r[0]):(n.date=r[0],e=r[1]);if(e){var o=b.exec(e);o?(n.time=e.replace(o[1],""),n.timezone=o[1]):n.time=e}return n}(t),C=function(t,e){var n,r=c[e],o=l[e];if(n=u.exec(t)||o.exec(t)){var i=n[1];return{year:parseInt(i,10),restDateString:t.slice(i.length)}}if(n=s.exec(t)||r.exec(t)){var a=n[1];return{year:100*parseInt(a,10),restDateString:t.slice(a.length)}}return{year:null}}(O.date,n),S=C.year,$=function(t,e){if(null===e)return null;var n,r,o,i;if(0===t.length)return(r=new Date(0)).setUTCFullYear(e),r;if(n=f.exec(t))return r=new Date(0),o=parseInt(n[1],10)-1,r.setUTCFullYear(e,o),r;if(n=p.exec(t)){r=new Date(0);var a=parseInt(n[1],10);return r.setUTCFullYear(e,0,a),r}if(n=d.exec(t)){r=new Date(0),o=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return r.setUTCFullYear(e,o,s),r}if(n=h.exec(t))return i=parseInt(n[1],10)-1,k(e,i);if(n=v.exec(t)){i=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return k(e,i,c)}return null}(C.restDateString,S);if($){var j,A=$.getTime(),E=0;if(O.time&&(E=function(t){var e,n,r;if(e=m.exec(t))return(n=parseFloat(e[1].replace(",",".")))%24*36e5;if(e=g.exec(t))return n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")),n%24*36e5+6e4*r;if(e=y.exec(t)){n=parseInt(e[1],10),r=parseInt(e[2],10);var o=parseFloat(e[3].replace(",","."));return n%24*36e5+6e4*r+1e3*o}return null}(O.time)),O.timezone)j=6e4*function(t){var e,n;if(e=w.exec(t))return 0;if(e=_.exec(t))return n=60*parseInt(e[2],10),"+"===e[1]?-n:n;if(e=x.exec(t))return n=60*parseInt(e[2],10)+parseInt(e[3],10),"+"===e[1]?-n:n;return 0}(O.timezone);else{var T=A+E,I=new Date(T);j=r(I);var P=new Date(T);P.setDate(I.getDate()+1);var R=r(P)-r(I);R>0&&(j+=R)}return new Date(A+E+j)}return new Date(t)}},function(t,e,n){var r=n(1),o=n(3),i=n(6),a=n(33),s=[].slice,c=function(t){return function(e,n){var r=arguments.length>2,o=r?s.call(arguments,2):void 0;return t(r?function(){(i(e)?e:Function(e)).apply(this,o)}:e,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(a)},{setTimeout:c(o.setTimeout),setInterval:c(o.setInterval)})},function(t,e,n){"use strict";var r=n(1),o=n(68).map;r({target:"Array",proto:!0,forced:!n(81)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(98);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r,o,i=n(3),a=n(33),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l?o=(r=l.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){var r=n(34);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},function(t,e,n){var r=n(62),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(155),o=n(112).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(1),o=n(181);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(3),o=n(174),i=n(175),a=n(181),s=n(35),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},function(t,e,n){"use strict";var r=n(1),o=n(3),i=n(27),a=n(38),s=n(11),c=n(109),u=n(2),l=n(14),f=n(67),p=n(6),d=n(10),h=n(86),v=n(9),m=n(17),g=n(26),y=n(85),b=n(13),w=n(66),_=n(39),x=n(87),k=n(50),O=n(183),C=n(114),S=n(36),$=n(15),j=n(113),A=n(18),E=n(82),T=n(88),I=n(64),P=n(83),R=n(4),M=n(184),L=n(185),z=n(91),F=n(40),N=n(68).forEach,D=T("hidden"),U=R("toPrimitive"),q=F.set,B=F.getterFor("Symbol"),V=Object.prototype,H=o.Symbol,W=i("JSON","stringify"),Q=S.f,G=$.f,Y=O.f,K=j.f,J=E("symbols"),X=E("op-symbols"),Z=E("string-to-symbol-registry"),tt=E("symbol-to-string-registry"),et=E("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,ot=s&&u((function(){return 7!=_(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Q(V,e);r&&delete V[e],G(t,e,n),r&&t!==V&&G(V,e,r)}:G,it=function(t,e){var n=J[t]=_(H.prototype);return q(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},at=function(t,e,n){t===V&&at(X,e,n),v(t);var r=y(e);return v(n),l(J,r)?(n.enumerable?(l(t,D)&&t[D][r]&&(t[D][r]=!1),n=_(n,{enumerable:w(0,!1)})):(l(t,D)||G(t,D,w(1,{})),t[D][r]=!0),ot(t,r,n)):G(t,r,n)},st=function(t,e){v(t);var n=g(e),r=x(n).concat(ft(n));return N(r,(function(e){s&&!ct.call(n,e)||at(t,e,n[e])})),t},ct=function(t){var e=y(t),n=K.call(this,e);return!(this===V&&l(J,e)&&!l(X,e))&&(!(n||!l(this,e)||!l(J,e)||l(this,D)&&this[D][e])||n)},ut=function(t,e){var n=g(t),r=y(e);if(n!==V||!l(J,r)||l(X,r)){var o=Q(n,r);return!o||!l(J,r)||l(n,D)&&n[D][r]||(o.enumerable=!0),o}},lt=function(t){var e=Y(g(t)),n=[];return N(e,(function(t){l(J,t)||l(I,t)||n.push(t)})),n},ft=function(t){var e=t===V,n=Y(e?X:g(t)),r=[];return N(n,(function(t){!l(J,t)||e&&!l(V,t)||r.push(J[t])})),r};(c||(A((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,e=P(t),n=function(t){this===V&&n.call(X,t),l(this,D)&&l(this[D],e)&&(this[D][e]=!1),ot(this,e,w(1,t))};return s&&rt&&ot(V,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return B(this).tag})),A(H,"withoutSetter",(function(t){return it(P(t),t)})),j.f=ct,$.f=at,S.f=ut,k.f=O.f=lt,C.f=ft,M.f=function(t){return it(R(t),t)},s&&(G(H.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),a||A(V,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),N(x(et),(function(t){L(t)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=b(t);if(l(Z,e))return Z[e];var n=H(e);return Z[e]=n,tt[n]=e,n},keyFor:function(t){if(!h(t))throw TypeError(t+" is not a symbol");if(l(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?_(t):st(_(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:u((function(){C.f(1)}))},{getOwnPropertySymbols:function(t){return C.f(m(t))}}),W)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var t=H();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(d(e)||void 0!==t)&&!h(t))return f(e)||(e=function(t,e){if(p(r)&&(e=r.call(this,t,e)),!h(e))return e}),o[1]=e,W.apply(null,o)}});if(!H.prototype[U]){var pt=H.prototype.valueOf;A(H.prototype,U,(function(){return pt.apply(this,arguments)}))}z(H,"Symbol"),I[D]=!0},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n(16);function r(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,c,"next",t)}function c(t){r(a,o,i,s,c,"throw",t)}s(void 0)}))}}},function(t,e,n){"use strict";var r=n(401),o=n(402),i=n(221);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(0);e.a=new r.default},function(t,e,n){"use strict";var r=n(125),o=n(2),i=n(9),a=n(6),s=n(62),c=n(49),u=n(13),l=n(22),f=n(126),p=n(48),d=n(282),h=n(127),v=n(4)("replace"),m=Math.max,g=Math.min,y="$0"==="a".replace(/./,"$0"),b=!!/./[v]&&""===/./[v]("a","$0");r("replace",(function(t,e,n){var r=b?"$":"$0";return[function(t,n){var r=l(this),o=null==t?void 0:p(t,v);return o?o.call(t,r,n):e.call(u(r),t,n)},function(t,o){var l=i(this),p=u(t);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var v=n(e,l,p,o);if(v.done)return v.value}var y=a(o);y||(o=u(o));var b=l.global;if(b){var w=l.unicode;l.lastIndex=0}for(var _=[];;){var x=h(l,p);if(null===x)break;if(_.push(x),!b)break;""===u(x[0])&&(l.lastIndex=f(p,c(l.lastIndex),w))}for(var k,O="",C=0,S=0;S<_.length;S++){x=_[S];for(var $=u(x[0]),j=m(g(s(x.index),p.length),0),A=[],E=1;E=C&&(O+=p.slice(C,j)+P,C=j+$.length)}return O+p.slice(C)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!y||b)},function(t,e,n){"use strict";var r=n(1),o=n(111).indexOf,i=n(51),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:s||!c},{indexOf:function(t){return s?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n(121);var r=n(74);n(54),n(69),n(16),n(97),n(21),n(24),n(122);var o=n(104);function i(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},function(t,e,n){var r=n(2),o=n(46),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){t.exports={}},function(t,e){t.exports={}},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(46);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(93),o=n(63),i=n(17),a=n(32),s=n(143),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,f=6==t,p=7==t,d=5==t||f;return function(h,v,m,g){for(var y,b,w=i(h),_=o(w),x=r(v,m,3),k=a(_),O=0,C=g||s,S=e?C(h,k):n||p?C(h,0):void 0;k>O;O++)if((d||O in _)&&(b=x(y=_[O],O,w),t))if(e)S[O]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return O;case 2:c.call(S,y)}else switch(t){case 4:return!1;case 7:c.call(S,y)}return f?-1:u||l?l:S}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},function(t,e,n){"use strict";var r=n(1),o=n(11),i=n(3),a=n(14),s=n(6),c=n(10),u=n(15).f,l=n(158),f=i.Symbol;if(o&&s(f)&&(!("description"in f.prototype)||void 0!==f().description)){var p={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new f(t):void 0===t?f():f(t);return""===t&&(p[e]=!0),e};l(d,f);var h=d.prototype=f.prototype;h.constructor=d;var v=h.toString,m="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(p,t))return"";var n=m?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(t,e,n){var r=n(30).Symbol;t.exports=r},function(t,e,n){var r=n(70),o=n(288),i=n(289),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return a}));n(25),n(60),n(213);var r=n(29);function o(t,e){return t=t.filter((function(n,r){var o=n.title,i=n.frontmatter,a=i.home,s=i.date,c=i.publish;if(t.indexOf(n)!==r)return!1;var u=!0===a||null==o||!1===c;return!0===e?!(u||void 0===s):!u}))}function i(t){t.sort((function(t,e){var n=t.frontmatter.sticky,o=e.frontmatter.sticky;return n&&o?n==o?Object(r.c)(t,e):n-o:n&&!o?-1:!n&&o?1:Object(r.c)(t,e)}))}function a(t){t.sort((function(t,e){return Object(r.c)(t,e)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n(78);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"tomorrow",e=["tomorrow","funky","okaidia","solarizedlight","default"],n="//prismjs.com/themes/prism".concat(e.indexOf(t)>-1?"-".concat(t):"",".css");Object(r.a)(n)}function a(t){var e=t.__proto__.push;t.__proto__.push=function(t){return e.call(this,t).catch((function(t){return t}))}}function s(t){t.beforeEach((function(t,e,n){var r=decodeURIComponent(t.path);r!==t.path?n(Object.assign({},t,{fullPath:decodeURIComponent(t.fullPath),path:r})):n()}))}},function(t,e,n){var r=n(1),o=n(17),i=n(87);r({target:"Object",stat:!0,forced:n(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,n){var r=n(1),o=n(11);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(t,e,n){var r=n(11),o=n(14),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},function(t,e,n){"use strict";var r=n(85),o=n(15),i=n(66);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},function(t,e,n){var r=n(2),o=n(4),i=n(47),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(38),o=n(107);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.18.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(3),o=n(10),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){var r=n(110),o=n(86);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},function(t,e,n){var r=n(6),o=n(27),i=n(151);t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return r(e)&&Object(t)instanceof e}},function(t,e,n){var r=n(155),o=n(112);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(82),o=n(83),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(6),o=n(107),i=Function.toString;r(o.inspectSource)||(o.inspectSource=function(t){return i.call(t)}),t.exports=o.inspectSource},function(t,e,n){var r=n(2),o=n(6),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},function(t,e,n){var r=n(15).f,o=n(14),i=n(4)("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(9),o=n(259);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(34);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};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(117),o=n(6),i=n(46),a=n(4)("toStringTag"),s="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?n:s?i(e):"Object"==(r=i(e))&&o(e.callee)?"Arguments":r}},function(t,e,n){var r=n(2),o=n(6),i=n(94),a=n(27),s=n(89),c=[],u=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=l.exec,p=!l.exec((function(){})),d=function(t){if(!o(t))return!1;try{return u(Object,c,t),!0}catch(t){return!1}};t.exports=!u||r((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!o(t))return!1;switch(i(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!f.call(l,s(t))}:d},function(t,e,n){var r=n(46),o=n(3);t.exports="process"==r(o.process)},function(t,e,n){n(185)("iterator")},function(t,e,n){"use strict";var r,o,i=n(13),a=n(123),s=n(124),c=n(82),u=n(39),l=n(40).get,f=n(187),p=n(188),d=RegExp.prototype.exec,h=c("native-string-replace",String.prototype.replace),v=d,m=(r=/a/,o=/b*/g,d.call(r,"a"),d.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),g=s.UNSUPPORTED_Y||s.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(m||y||g||f||p)&&(v=function(t){var e,n,r,o,s,c,f,p=this,b=l(p),w=i(t),_=b.raw;if(_)return _.lastIndex=p.lastIndex,e=v.call(_,w),p.lastIndex=_.lastIndex,e;var x=b.groups,k=g&&p.sticky,O=a.call(p),C=p.source,S=0,$=w;if(k&&(-1===(O=O.replace("y","")).indexOf("g")&&(O+="g"),$=w.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==w.charAt(p.lastIndex-1))&&(C="(?: "+C+")",$=" "+$,S++),n=new RegExp("^(?:"+C+")",O)),y&&(n=new RegExp("^"+C+"$(?!\\s)",O)),m&&(r=p.lastIndex),o=d.call(k?n:p,$),k?o?(o.input=o.input.slice(S),o[0]=o[0].slice(S),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:m&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),y&&o&&o.length>1&&h.call(o[0],n,(function(){for(s=1;s
'};function o(t,e,n){return tn?n:t}function i(t){return 100*(-1+t)}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(r[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,r.minimum,1),n.status=1===t?null:t;var c=n.render(!e),u=c.querySelector(r.barSelector),l=r.speed,f=r.easing;return c.offsetWidth,a((function(e){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,function(t,e,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(t)+"%,0)"}:{"margin-left":i(t)+"%"}).transition="all "+e+"ms "+n,o}(t,l,f)),1===t?(s(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout((function(){s(c,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),l)}),l)):setTimeout(e,l)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout((function(){n.status&&(n.trickle(),t())}),r.trickleSpeed)};return r.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===e&&n.start(),t++,e++,r.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=r.template;var o,a=e.querySelector(r.barSelector),c=t?"-100":i(n.status||0),l=document.querySelector(r.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),r.showSpinner||(o=e.querySelector(r.spinnerSelector))&&p(o),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(e),e},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(r.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&p(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var a=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()})),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+i)in n)return r;return e}(n))}function r(t,e,r){e=n(e),t.style[e]=r}return function(t,e){var n,o,i=arguments;if(2==i.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&r(t,n,o);else r(t,i[1],i[2])}}();function c(t,e){return("string"==typeof t?t:f(t)).indexOf(" "+e+" ")>=0}function u(t,e){var n=f(t),r=n+e;c(n,e)||(t.className=r.substring(1))}function l(t,e){var n,r=f(t);c(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function f(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function p(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){var r=n(11),o=n(79).EXISTS,i=n(15).f,a=Function.prototype,s=a.toString,c=/^\s*function ([^ (]*)/;r&&!o&&i(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(c)[1]}catch(t){return""}}})},function(t,e,n){var r=n(3),o=n(108),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(3);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(47),o=n(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e,n){var r=n(10),o=n(86),i=n(48),a=n(256),s=n(4)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,c=i(t,s);if(c){if(void 0===e&&(e="default"),n=c.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},function(t,e,n){var r=n(26),o=n(142),i=n(32),a=function(t){return function(e,n,a){var s,c=r(e),u=i(c),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(14),o=n(6),i=n(17),a=n(88),s=n(161),c=a("IE_PROTO"),u=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){var e=i(t);if(r(e,c))return e[c];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof Object?u:null}},function(t,e,n){var r=n(94),o=n(48),i=n(65),a=n(4)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[r(t)]}},function(t,e,n){var r={};r[n(4)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(9),o=n(168),i=n(4)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function p(){}function d(){}var h={};s(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==e&&n.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var r;this._invoke=function(o,i){function a(){return new e((function(r,a){!function r(o,i,a,s){var c=u(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){var r=n(10),o=n(46),i=n(4)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){n(1)({target:"Array",stat:!0},{isArray:n(67)})},function(t,e,n){var r=n(1),o=n(280);r({target:"Array",stat:!0,forced:!n(167)((function(t){Array.from(t)}))},{from:o})},function(t,e,n){"use strict";var r=n(9);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(2),o=n(3).RegExp;e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,n){"use strict";n(45);var r=n(18),o=n(98),i=n(2),a=n(4),s=n(35),c=a("species"),u=RegExp.prototype;t.exports=function(t,e,n,l){var f=a(t),p=!i((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),d=p&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e}));if(!p||!d||n){var h=/./[f],v=e(f,""[t],(function(t,e,n,r,i){var a=e.exec;return a===o||a===u.exec?p&&!i?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,v[0]),r(u,f,v[1])}l&&s(u[f],"sham",!0)}},function(t,e,n){"use strict";var r=n(173).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(9),o=n(6),i=n(46),a=n(98);t.exports=function(t,e){var n=t.exec;if(o(n)){var s=n.call(t,e);return null!==s&&r(s),s}if("RegExp"===i(t))return a.call(t,e);throw TypeError("RegExp#exec called on incompatible receiver")}},function(t,e,n){var r=n(287),o=n(55),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e,n){var r=n(41)(n(30),"Map");t.exports=r},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(307),o=n(314),i=n(316),a=n(317),s=n(318);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=9007199254740991}},function(t,e,n){var r=n(31),o=n(135),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=e&&t in Object(e))}},function(t,e,n){var r=n(71),o=n(55);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(409);t.exports=function(t){return r(t,{weekStartsOn:1})}},function(t,e,n){"use strict";var r=n(19),o=n(421),i=n(226),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=n(227)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(a)})),t.exports=u},function(t,e,n){"use strict";n.d(e,"a",(function(){return ot})),n.d(e,"b",(function(){return pt})),n.d(e,"c",(function(){return E})),n.d(e,"e",(function(){return nt})),n.d(e,"f",(function(){return rt})),n.d(e,"g",(function(){return tt})),n.d(e,"h",(function(){return B})),n.d(e,"i",(function(){return H})),n.d(e,"d",(function(){return ht}));var r=n(0);function o(t){return"function"==typeof t&&/native code/.test(t.toString())}var i="undefined"!=typeof Symbol&&o(Symbol)&&"undefined"!=typeof Reflect&&o(Reflect.ownKeys),a=function(t){return t};function s(t,e,n){var r=n.get,o=n.set;Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:r||a,set:o||a})}function c(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function u(t,e){return Object.hasOwnProperty.call(t,e)}function l(t){return Array.isArray(t)}Object.prototype.toString;function f(t){return null!==t&&"object"==typeof t}function p(t){return"[object Object]"===function(t){return Object.prototype.toString.call(t)}(t)}function d(t){return"function"==typeof t} /*! ***************************************************************************** @@ -50,7 +50,7 @@ t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r, object-assign (c) Sindre Sorhus @license MIT -*/var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,s,c=r(t),u=1;ue.maxStringLength){var n=t.length-e.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return h(t.slice(0,e.maxStringLength),e)+o}return r(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,v),"single",e)}function v(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function m(t){return"Object("+t+")"}function g(t){return t+" { ? }"}function y(t,e,n,r){return t+" ("+e+") {"+(r?b(n,r):n.join(", "))+"}"}function b(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+t.join(","+n)+"\n"+e.prev}function w(t,e){var n=i(t),r=[];if(n){r.length=t.length;for(var o=0;o0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return h(e,C);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var A=void 0===C.depth?5:C.depth;if(void 0===v&&(v=0),v>=A&&A>0&&"object"==typeof e)return i(e)?"[Array]":"[Object]";var E=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}(C,v);if(void 0===_)_=[];else if(l(_,e)>=0)return"[Circular]";if("function"==typeof e){var T=u(e),P=w(e,x);return"[Function"+(T?": "+T:" (anonymous)")+"]"+(P.length>0?" { "+P.join(", ")+" }":"")}if(a(e)){var R=N?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(e);return"object"!=typeof e||N?R:m(R)}if(function(t){return!(!t||"object"!=typeof t)&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}(e)){for(var M="<"+String(e.nodeName).toLowerCase(),z=e.attributes||[],D=0;D"}if(i(e)){if(0===e.length)return"[]";var q=w(e,x);return E&&!function(t){for(var e=0;e=0)return!1;return!0}(q)?"["+b(q,E)+"]":"[ "+q.join(", ")+" ]"}if(function(t){return!("[object Error]"!==c(t)||V&&"object"==typeof t&&V in t)}(e)){var H=w(e,x);return 0===H.length?"["+String(e)+"]":"{ ["+String(e)+"] "+H.join(", ")+" }"}if("object"==typeof e&&S){if(B&&"function"==typeof e[B])return e[B]();if("symbol"!==S&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!k||!t||"object"!=typeof t)return!1;try{k.call(t);try{$.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var W=[];return O.call(e,(function(t,n){W.push(x(n,e,!0)+" => "+x(t,e))})),y("Map",k.call(e),W,E)}if(function(t){if(!$||!t||"object"!=typeof t)return!1;try{$.call(t);try{k.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return j.call(e,(function(t){Q.push(x(t,e))})),y("Set",$.call(e),Q,E)}if(f(e))return g("WeakMap");if(d(e))return g("WeakSet");if(p(e))return g("WeakRef");if(function(t){return!("[object Number]"!==c(t)||V&&"object"==typeof t&&V in t)}(e))return m(x(Number(e)));if(function(t){if(!t||"object"!=typeof t||!L)return!1;try{return L.call(t),!0}catch(t){}return!1}(e))return m(x(L.call(e)));if(function(t){return!("[object Boolean]"!==c(t)||V&&"object"==typeof t&&V in t)}(e))return m(I.call(e));if(function(t){return!("[object String]"!==c(t)||V&&"object"==typeof t&&V in t)}(e))return m(x(String(e)));if(!function(t){return!("[object Date]"!==c(t)||V&&"object"==typeof t&&V in t)}(e)&&!function(t){return!("[object RegExp]"!==c(t)||V&&"object"==typeof t&&V in t)}(e)){var G=w(e,x),Y=U?U(e)===Object.prototype:e instanceof Object||e.constructor===Object,K=e instanceof Object?"":"null prototype",J=!Y&&V&&Object(e)===e&&V in e?c(e).slice(8,-1):K?"Object":"",X=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(J||K?"["+[].concat(J||[],K||[]).join(": ")+"] ":"");return 0===G.length?X+"{}":E?X+"{"+b(G,E)+"}":X+"{ "+G.join(", ")+" }"}return String(e)};var H=Object.prototype.hasOwnProperty||function(t){return t in this}},function(t,e,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(30),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),h=function(t){if("undefined"==typeof window||!d)return f(t);try{return f(t)}catch(t){return!1}};r=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===i.call(t),r=a(t),s=e&&"[object String]"===i.call(t),f=[];if(!e&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=u&&n;if(s&&t.length>0&&!o.call(t,0))for(var d=0;d0)for(var v=0;v1)for(var n=1;n1?n-1:0);for(var r=1;r2?o-2:0);for(var i=2;i";var y=function(t){var e=l.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var n="/"===(t=l.trim(t.slice(e+1,-1)))[t.length-1];return n&&(t=l.trim(t.slice(0,-1))),{html:t,closing:n}}(c),b=n[a],w=u(y.html,(function(t,e){var n,o=-1!==l.indexOf(b,t);return r(n=s(a,t,e,o))?o?(e=p(a,t,e,h))?t+'="'+e+'"':t:r(n=f(a,t,e,o))?void 0:n:n}));return c="<"+a,w&&(c+=" "+w),y.closing&&(c+=" /"),c+">"}return r(m=i(a,c,g))?d(c):m}),d);return v&&(m=v.remove(m)),m},t.exports=o},function(t,e){t.exports={smile:"e3/2018new_weixioa02_org.png",lovely:"09/2018new_keai_org.png",happy:"1e/2018new_taikaixin_org.png",clap:"6e/2018new_guzhang_thumb.png",whee:"33/2018new_xixi_thumb.png",haha:"8f/2018new_haha_thumb.png","laugh and cry":"4a/2018new_xiaoku_thumb.png",wink:"43/2018new_jiyan_org.png",greddy:"fa/2018new_chanzui_org.png",awkward:"a3/2018new_heixian_thumb.png",sweat:"28/2018new_han_org.png","pick nose":"9a/2018new_wabi_thumb.png",hum:"7c/2018new_heng_thumb.png",angry:"f6/2018new_nu_thumb.png",grievance:"a5/2018new_weiqu_thumb.png",poor:"96/2018new_kelian_org.png",disappoint:"aa/2018new_shiwang_thumb.png",sad:"ee/2018new_beishang_org.png",tear:"6e/2018new_leimu_org.png","no way":"83/2018new_kuxiao_org.png",shy:"c1/2018new_haixiu_org.png",dirt:"10/2018new_wu_thumb.png","love you":"f6/2018new_aini_org.png",kiss:"2c/2018new_qinqin_thumb.png",amorousness:"9d/2018new_huaxin_org.png",longing:"c9/2018new_chongjing_org.png",desire:"3e/2018new_tianping_thumb.png","bad laugh":"4d/2018new_huaixiao_org.png",blackness:"9e/2018new_yinxian_org.png","laugh without word":"2d/2018new_xiaoerbuyu_org.png",titter:"71/2018new_touxiao_org.png",cool:"c4/2018new_ku_org.png","not easy":"aa/2018new_bingbujiandan_thumb.png",think:"30/2018new_sikao_org.png",question:"b8/2018new_ningwen_org.png","no idea":"2a/2018new_wenhao_thumb.png",dizzy:"07/2018new_yun_thumb.png",bomb:"a2/2018new_shuai_thumb.png",bone:"a1/2018new_kulou_thumb.png","be quiet":"b0/2018new_xu_org.png","shut up":"62/2018new_bizui_org.png",stupid:"dd/2018new_shayan_org.png","surprise ":"49/2018new_chijing_org.png",vomit:"08/2018new_tu_org.png",cold:"40/2018new_kouzhao_thumb.png",sick:"3b/2018new_shengbing_thumb.png",bye:"fd/2018new_baibai_thumb.png","look down on":"da/2018new_bishi_org.png","white eye":"ef/2018new_landelini_org.png","left hum":"43/2018new_zuohengheng_thumb.png","right hum":"c1/2018new_youhengheng_thumb.png",crazy:"17/2018new_zhuakuang_org.png","scold ":"87/2018new_zhouma_thumb.png","hit on face":"cb/2018new_dalian_org.png",wow:"ae/2018new_ding_org.png",fan:"86/2018new_hufen02_org.png",money:"a2/2018new_qian_thumb.png",yawn:"55/2018new_dahaqian_org.png",sleepy:"3c/2018new_kun_thumb.png",sleep:"e2/2018new_shuijiao_thumb.png","watermelon ":"01/2018new_chigua_thumb.png",doge:"a1/2018new_doge02_org.png",dog:"22/2018new_erha_org.png",cat:"7b/2018new_miaomiao_thumb.png",thumb:"e6/2018new_zan_org.png",good:"8a/2018new_good_org.png",ok:"45/2018new_ok_org.png",yeah:"29/2018new_ye_thumb.png","shack hand":"e9/2018new_woshou_thumb.png",bow:"e7/2018new_zuoyi_org.png",come:"42/2018new_guolai_thumb.png",punch:"86/2018new_quantou_thumb.png"}},function(t,e){t.exports={nick:"NickName",mail:"E-Mail",link:"Website(http://)",nickFail:"NickName cannot be less than 3 bytes.",mailFail:"Please confirm your email address.",sofa:"No comment yet.",submit:"Submit",reply:"Reply",cancelReply:"Cancel reply",comments:"Comments",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",preview:"Preview",emoji:"Emoji",expand:"See more....",seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now",uploading:"Uploading ...",uploadDone:"Upload completed!",busy:"Submit is busy, please wait...","code-98":"Valine initialization failed, please check your version of av-min.js.","code-99":"Valine initialization failed, Please check the `el` element in the init method.","code-100":"Valine initialization failed, Please check your appId and appKey.","code-140":"The total number of API calls today has exceeded the development version limit.","code-401":"Unauthorized operation, Please check your appId and appKey.","code-403":"Access denied by API domain white list, Please check your security domain."}},function(t,e){t.exports={nick:"ニックネーム",mail:"メールアドレス",link:"サイト(http://)",nickFail:"3バイト以上のニックネームをご入力ください.",mailFail:"メールアドレスをご確認ください.",sofa:"コメントしましょう~",submit:"提出する",reply:"返信する",cancelReply:"キャンセル",comments:"コメント",cancel:"キャンセル",confirm:"確認する",continue:"继续",more:"さらに読み込む...",preview:"プレビュー",emoji:"絵文字",expand:"もっと見る",seconds:"秒前",minutes:"分前",hours:"時間前",days:"日前",now:"たっだ今",uploading:"アップロード中...",uploadDone:"アップロードが完了しました!",busy:"20 秒間隔で提出してください ...","code-98":"ロードエラーです。av-min.js のバージョンを確認してください.","code-99":"ロードエラーです。initにある`el`エレメントを確認ください.","code-100":"ロードエラーです。AppIdとAppKeyを確認ください.","code-140":"今日のAPIコールの総数が開発バージョンの上限を超えた.","code-401":"権限が制限されています。AppIdとAppKeyを確認ください.","code-403":"アクセスがAPIなどに制限されました、ドメイン名のセキュリティ設定を確認ください"}},function(t,e){t.exports={nick:"昵称",mail:"邮箱",link:"网址(http://)",nickFail:"昵称不能少于3个字符",mailFail:"请填写正确的邮件地址",sofa:"来发评论吧~",submit:"提交",reply:"回复",cancelReply:"取消回复",comments:"评论",cancel:"取消",confirm:"确认",continue:"继续",more:"加载更多...",preview:"预览",emoji:"表情",expand:"查看更多...",seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚",uploading:"正在传输...",uploadDone:"传输完成!",busy:"操作频繁,请稍候再试...","code-98":"Valine 初始化失败,请检查 av-min.js 版本","code-99":"Valine 初始化失败,请检查init中的`el`元素.","code-100":"Valine 初始化失败,请检查你的AppId和AppKey.","code-140":"今日 API 调用总次数已超过开发版限制.","code-401":"未经授权的操作,请检查你的AppId和AppKey.","code-403":"访问被API域名白名单拒绝,请检查你的安全域名设置."}},function(t,e){t.exports={nick:"暱稱",mail:"郵箱",link:"網址(http://)",nickFail:"昵稱不能少於3個字符",mailFail:"請填寫正確的郵件地址",sofa:"來發評論吧~",submit:"提交",reply:"回覆",cancelReply:"取消回覆",comments:"評論",cancel:"取消",confirm:"確認",continue:"繼續",more:"加載更多...",preview:"預覽",emoji:"表情",expand:"查看更多...",seconds:"秒前",minutes:"分鐘前",hours:"小時前",days:"天前",now:"剛剛",uploading:"正在上傳...",uploadDone:"上傳完成!",busy:"操作頻繁,請稍候再試...","code-98":"Valine 初始化失敗,請檢查 av-min.js 版本","code-99":"Valine 初始化失敗,請檢查init中的`el`元素.","code-100":"Valine 初始化失敗,請檢查你的AppId和AppKey.","code-140":"今日 API 調用總次數已超過開發版限制.","code-401":"未經授權的操作,請檢查你的AppId和AppKey.","code-403":"訪問被API域名白名單拒絕,請檢查你的安全域名設置."}},function(t,e){},function(t,e,n){var r=n(115);"string"==typeof r&&(r=[[t.i,r,""]]);var o={transform:void 0};n(117)(r,o),r.locals&&(t.exports=r.locals)},function(t,e,n){(e=n(116)(!1)).push([t.i,'.v[data-class="v"]{font-size:16px;text-align:left}.v[data-class="v"] *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.75}.v[data-class="v"] .vinput,.v[data-class="v"] .veditor,.v[data-class="v"] p,.v[data-class="v"] pre code,.v[data-class="v"] .status-bar{color:#555}.v[data-class="v"] .vtime,.v[data-class="v"] .vsys{color:#b3b3b3}.v[data-class="v"] .text-right{text-align:right}.v[data-class="v"] .text-center{text-align:center}.v[data-class="v"] img{max-width:100%;border:none}.v[data-class="v"] hr{margin:.825em 0;border-color:#f6f6f6;border-style:dashed}.v[data-class="v"].hide-avatar .vimg{display:none}.v[data-class="v"] a{position:relative;cursor:pointer;color:#1abc9c;text-decoration:none;display:inline-block}.v[data-class="v"] a:hover{color:#D7191A}.v[data-class="v"] pre,.v[data-class="v"] code{background-color:#f8f8f8;padding:0.2em 0.4em;border-radius:3px;font-size:85%;margin:0}.v[data-class="v"] pre{padding:10px;overflow:auto;line-height:1.45}.v[data-class="v"] pre code{padding:0;background:transparent;white-space:pre-wrap;word-break:keep-all}.v[data-class="v"] blockquote{color:#666;margin:.5em 0;padding:0 0 0 1em;border-left:8px solid rgba(238,238,238,0.5)}.v[data-class="v"] .vinput{border:none;resize:none;outline:none;padding:10px 5px;max-width:100%;font-size:.775em;-webkit-box-sizing:border-box;box-sizing:border-box}.v[data-class="v"] input[type=\'checkbox\'],.v[data-class="v"] input[type=\'radio\']{display:inline-block;vertical-align:middle;margin-top:-2px}.v[data-class="v"] .vicon{cursor:pointer;display:inline-block;overflow:hidden;fill:#555;vertical-align:middle}.v[data-class="v"] .vicon+.vicon{margin-left:10px}.v[data-class="v"] .vicon.actived{fill:#66b1ff}.v[data-class="v"] .vrow{font-size:0;padding:10px 0}.v[data-class="v"] .vrow .vcol{display:inline-block;vertical-align:middle;font-size:14px}.v[data-class="v"] .vrow .vcol.vcol-20{width:20%}.v[data-class="v"] .vrow .vcol.vcol-30{width:30%}.v[data-class="v"] .vrow .vcol.vcol-40{width:40%}.v[data-class="v"] .vrow .vcol.vcol-50{width:50%}.v[data-class="v"] .vrow .vcol.vcol-60{width:60%}.v[data-class="v"] .vrow .vcol.vcol-70{width:70%}.v[data-class="v"] .vrow .vcol.vcol-80{width:80%}.v[data-class="v"] .vrow .vcol.vctrl{font-size:12px}.v[data-class="v"] .vemoji,.v[data-class="v"] .emoji{width:26px;height:26px;overflow:hidden;vertical-align:middle;margin:0 1px;display:inline-block}.v[data-class="v"] .vwrap{border:1px solid #f0f0f0;border-radius:4px;margin-bottom:10px;overflow:hidden;position:relative;padding:10px}.v[data-class="v"] .vwrap input{background:transparent}.v[data-class="v"] .vwrap .vedit{position:relative;padding-top:10px}.v[data-class="v"] .vwrap .cancel-reply-btn{position:absolute;right:5px;top:5px;cursor:pointer}.v[data-class="v"] .vwrap .vemojis{display:none;font-size:18px;max-height:145px;overflow:auto;padding-bottom:10px;-webkit-box-shadow:0px 0 1px #f0f0f0;box-shadow:0px 0 1px #f0f0f0}.v[data-class="v"] .vwrap .vemojis i{font-style:normal;padding-top:7px;width:36px;cursor:pointer;text-align:center;display:inline-block;vertical-align:middle}.v[data-class="v"] .vwrap .vpreview{padding:7px;-webkit-box-shadow:0px 0 1px #f0f0f0;box-shadow:0px 0 1px #f0f0f0}.v[data-class="v"] .vwrap .vheader .vinput{width:33.33%;border-bottom:1px #dedede dashed}.v[data-class="v"] .vwrap .vheader.item2 .vinput{width:50%}.v[data-class="v"] .vwrap .vheader.item1 .vinput{width:100%}.v[data-class="v"] .vwrap .vheader .vinput:focus{border-bottom-color:#eb5055}@media screen and (max-width: 520px){.v[data-class="v"] .vwrap .vheader .vinput{width:100%}.v[data-class="v"] .vwrap .vheader.item2 .vinput{width:100%}}.v[data-class="v"] .vpower{color:#999;font-size:.75em;padding:.5em 0}.v[data-class="v"] .vpower a{font-size:.75em}.v[data-class="v"] .vcount{padding:5px;font-weight:600;font-size:1.25em}.v[data-class="v"] ul,.v[data-class="v"] ol{padding:0;margin-left:1.25em}.v[data-class="v"] .txt-center{text-align:center}.v[data-class="v"] .txt-right{text-align:right}.v[data-class="v"] .veditor{width:100%;min-height:8.75em;font-size:.875em;background:transparent;resize:vertical;-webkit-transition:all .25s ease;transition:all .25s ease}.v[data-class="v"] .vbtn{-webkit-transition-duration:.4s;transition-duration:.4s;text-align:center;color:#555;border:1px solid #ededed;border-radius:.3em;display:inline-block;background:transparent;margin-bottom:0;font-weight:400;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;white-space:nowrap;padding:.5em 1.25em;font-size:.875em;line-height:1.42857143;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.v[data-class="v"] .vbtn+.vbtn{margin-left:1.25em}.v[data-class="v"] .vbtn:active,.v[data-class="v"] .vbtn:hover{color:#3090e4;border-color:#3090e4}.v[data-class="v"] .vbtn:disabled{border-color:#E1E1E1;color:#E1E1E1;background-color:#fdfafa;cursor:not-allowed}.v[data-class="v"] .vempty{padding:1.25em;text-align:center;color:#555;overflow:auto}.v[data-class="v"] .vsys{display:inline-block;padding:.2em .5em;font-size:.75em;border-radius:.2em;margin-right:.3em}@media screen and (max-width: 520px){.v[data-class="v"] .vsys{display:none}}.v[data-class="v"] .vcards{width:100%}.v[data-class="v"] .vcards .vcard{padding-top:1.25em;position:relative;display:block}.v[data-class="v"] .vcards .vcard:after{content:\'\';clear:both;display:block}.v[data-class="v"] .vcards .vcard .vimg{width:3.125em;height:3.125em;float:left;border-radius:50%;margin-right:.7525em;border:1px solid #f5f5f5;padding:.125em}@media screen and (max-width: 720px){.v[data-class="v"] .vcards .vcard .vimg{width:2.5em;height:2.5em}}.v[data-class="v"] .vcards .vcard .vhead{line-height:1.5;margin-top:0}.v[data-class="v"] .vcards .vcard .vhead .vnick{position:relative;font-size:.875em;font-weight:500;margin-right:.875em;cursor:pointer;text-decoration:none;display:inline-block}.v[data-class="v"] .vcards .vcard .vhead .vnick:hover{color:#D7191A}.v[data-class="v"] .vcards .vcard .vh{overflow:hidden;padding-bottom:.5em;border-bottom:1px dashed #f5f5f5}.v[data-class="v"] .vcards .vcard .vh .vtime{font-size:.75em;margin-right:.875em}.v[data-class="v"] .vcards .vcard .vh .vmeta{line-height:1;position:relative}.v[data-class="v"] .vcards .vcard .vh .vmeta .vat{font-size:.8125em;color:#ef2f11;cursor:pointer;float:right}.v[data-class="v"] .vcards .vcard:last-child .vh{border-bottom:none}.v[data-class="v"] .vcards .vcard .vcontent{word-wrap:break-word;word-break:break-all;font-size:.875em;line-height:2;position:relative;margin-bottom:.75em;padding-top:.625em}.v[data-class="v"] .vcards .vcard .vcontent.expand{cursor:pointer;max-height:8em;overflow:hidden}.v[data-class="v"] .vcards .vcard .vcontent.expand::before{display:block;content:"";position:absolute;width:100%;left:0;top:0;bottom:3.15em;background:-webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(rgba(255,255,255,0.9)));background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.9));z-index:999}.v[data-class="v"] .vcards .vcard .vcontent.expand::after{display:block;content:attr(data-expand);text-align:center;color:#828586;position:absolute;width:100%;height:3.15em;line-height:3.15em;left:0;bottom:0;z-index:999;background:rgba(255,255,255,0.9)}.v[data-class="v"] .vcards .vcard .vquote{padding-left:1em;border-left:1px dashed rgba(238,238,238,0.5)}.v[data-class="v"] .vcards .vcard .vquote .vimg{width:2.225em;height:2.225em}.v[data-class="v"] .vpage .vmore{margin:1em 0}.v[data-class="v"] .clear{content:\'\';display:block;clear:both}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes pulse{50%{background:#dcdcdc}}@keyframes pulse{50%{background:#dcdcdc}}.v[data-class="v"] .vspinner{width:22px;height:22px;display:inline-block;border:6px double #a0a0a0;border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear;position:relative;vertical-align:middle;margin:0 5px}[data-theme="dark"] .v[data-class="v"] .vinput,[data-theme="dark"] .v[data-class="v"] .veditor,[data-theme="dark"] .v[data-class="v"] p,[data-theme="dark"] .v[data-class="v"] pre code,[data-theme="dark"] .v[data-class="v"] .status-bar,.dark .v[data-class="v"] .vinput,.dark .v[data-class="v"] .veditor,.dark .v[data-class="v"] p,.dark .v[data-class="v"] pre code,.dark .v[data-class="v"] .status-bar,.theme__dark .v[data-class="v"] .vinput,.theme__dark .v[data-class="v"] .veditor,.theme__dark .v[data-class="v"] p,.theme__dark .v[data-class="v"] pre code,.theme__dark .v[data-class="v"] .status-bar,.night .v[data-class="v"] .vinput,.night .v[data-class="v"] .veditor,.night .v[data-class="v"] p,.night .v[data-class="v"] pre code,.night .v[data-class="v"] .status-bar{color:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vtime,[data-theme="dark"] .v[data-class="v"] .vsys,.dark .v[data-class="v"] .vtime,.dark .v[data-class="v"] .vsys,.theme__dark .v[data-class="v"] .vtime,.theme__dark .v[data-class="v"] .vsys,.night .v[data-class="v"] .vtime,.night .v[data-class="v"] .vsys{color:#929298}[data-theme="dark"] .v[data-class="v"] pre,[data-theme="dark"] .v[data-class="v"] code,[data-theme="dark"] .v[data-class="v"] pre code,.dark .v[data-class="v"] pre,.dark .v[data-class="v"] code,.dark .v[data-class="v"] pre code,.theme__dark .v[data-class="v"] pre,.theme__dark .v[data-class="v"] code,.theme__dark .v[data-class="v"] pre code,.night .v[data-class="v"] pre,.night .v[data-class="v"] code,.night .v[data-class="v"] pre code{color:#929298;background-color:#151414}[data-theme="dark"] .v[data-class="v"] .vwrap,.dark .v[data-class="v"] .vwrap,.theme__dark .v[data-class="v"] .vwrap,.night .v[data-class="v"] .vwrap{border-color:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vicon,.dark .v[data-class="v"] .vicon,.theme__dark .v[data-class="v"] .vicon,.night .v[data-class="v"] .vicon{fill:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vicon.actived,.dark .v[data-class="v"] .vicon.actived,.theme__dark .v[data-class="v"] .vicon.actived,.night .v[data-class="v"] .vicon.actived{fill:#66b1ff}[data-theme="dark"] .v[data-class="v"] .vbtn,.dark .v[data-class="v"] .vbtn,.theme__dark .v[data-class="v"] .vbtn,.night .v[data-class="v"] .vbtn{color:#b2b2b5;border-color:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vbtn:hover,.dark .v[data-class="v"] .vbtn:hover,.theme__dark .v[data-class="v"] .vbtn:hover,.night .v[data-class="v"] .vbtn:hover{color:#66b1ff;border-color:#66b1ff}[data-theme="dark"] .v[data-class="v"] a:hover,.dark .v[data-class="v"] a:hover,.theme__dark .v[data-class="v"] a:hover,.night .v[data-class="v"] a:hover{color:#D7191A}[data-theme="dark"] .v[data-class="v"] .vcards .vcard .vcontent.expand::before,.dark .v[data-class="v"] .vcards .vcard .vcontent.expand::before,.theme__dark .v[data-class="v"] .vcards .vcard .vcontent.expand::before,.night .v[data-class="v"] .vcards .vcard .vcontent.expand::before{background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.7)));background:linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7))}[data-theme="dark"] .v[data-class="v"] .vcards .vcard .vcontent.expand::after,.dark .v[data-class="v"] .vcards .vcard .vcontent.expand::after,.theme__dark .v[data-class="v"] .vcards .vcard .vcontent.expand::after,.night .v[data-class="v"] .vcards .vcard .vcontent.expand::after{background:rgba(0,0,0,0.7)}@media (prefers-color-scheme: dark){.v[data-class="v"] .vinput,.v[data-class="v"] .veditor,.v[data-class="v"] p,.v[data-class="v"] pre code,.v[data-class="v"] .status-bar{color:#b2b2b5}.v[data-class="v"] .vtime,.v[data-class="v"] .vsys{color:#929298}.v[data-class="v"] pre,.v[data-class="v"] code,.v[data-class="v"] pre code{color:#929298;background-color:#151414}.v[data-class="v"] .vwrap{border-color:#b2b2b5}.v[data-class="v"] .vicon{fill:#b2b2b5}.v[data-class="v"] .vicon.actived{fill:#66b1ff}.v[data-class="v"] .vbtn{color:#b2b2b5;border-color:#b2b2b5}.v[data-class="v"] .vbtn:hover{color:#66b1ff;border-color:#66b1ff}.v[data-class="v"] a:hover{color:#D7191A}.v[data-class="v"] .vcards .vcard .vcontent.expand::before{background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.7)));background:linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7))}.v[data-class="v"] .vcards .vcard .vcontent.expand::after{background:rgba(0,0,0,0.7)}}\n',""]),t.exports=e},function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(t)))))," */")}(r);return[n].concat(r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}))).concat([o]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),i(t,e),e}function u(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function l(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var u=y++;n=g||(g=s(e)),r=f.bind(null,n,u,!1),o=f.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),r=d.bind(null,n,e),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=p.bind(null,n),o=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function f(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(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 p(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=w(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),m=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}((function(t){return document.querySelector(t)})),g=null,y=0,b=[],w=n(118);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=o(t,e);return r(n,e),function(t){for(var i=[],a=0;a0?$+S:""}},function(t,e,n){"use strict";var r=n(220),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=i.exec(r))&&u=0;--o){var i,a=t[o];if("[]"===a)i=(i=[]).concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=r:i[s]=r}r=i}return r}(c,e,n)}};t.exports=function(t,e){var n=e?r.assign({},e):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,""===t||null==t)return n.plainObjects?Object.create(null):{};for(var s="string"==typeof t?function(t,e){for(var n={},r=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,s=r.split(e.delimiter,a),c=0;c0?"in "+o:o+" ago":o}}}},function(t,e,n){var r=n(415);t.exports=function(){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],c=["a.m.","p.m."],u={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return n[t.getDay()]},ddd:function(t){return o[t.getDay()]},dddd:function(t){return i[t.getDay()]},A:function(t){return t.getHours()/12>=1?a[1]:a[0]},a:function(t){return t.getHours()/12>=1?s[1]:s[0]},aa:function(t){return t.getHours()/12>=1?c[1]:c[0]}};return["M","D","DDD","d","Q","W"].forEach((function(t){u[t+"o"]=function(e,n){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}(n[t](e))}})),{formatters:u,formattingTokensRegExp:r(u)}}},function(t,e){var n=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];t.exports=function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);var o=n.concat(e).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")}},function(t,e,n){"use strict";var r=n(19),o=n(224),i=n(417),a=n(230);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var c=s(n(138));c.Axios=i,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(231),c.CancelToken=n(431),c.isCancel=n(229),c.all=function(t){return Promise.all(t)},c.spread=n(432),c.isAxiosError=n(433),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(19),o=n(225),i=n(418),a=n(419),s=n(230),c=n(429),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(t);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=t;n.length;){var p=n.shift(),d=n.shift();try{f=p(f)}catch(t){d(t);break}}try{o=a(f)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(19);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(19),o=n(420),i=n(229),a=n(138);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(19),o=n(138);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},function(t,e,n){"use strict";var r=n(19);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(228);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(19);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(425),o=n(426);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(19),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(19);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(430),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]0;){var i=r[o],a=e[i];if(a){var s=t[i],c=void 0===s||a(s,i,t);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(t,e,n){"use strict";var r=n(231);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){},function(t,e,n){"use strict";n(232)},function(t,e,n){},function(t,e,n){t.exports=function(t){function e(t){let n,o,i,a=null;function s(...t){if(!s.enabled)return;const r=s,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let a=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,o)=>{if("%%"===n)return"%";a++;const i=e.formatters[o];if("function"==typeof i){const e=t[a];n=i.call(r,e),t.splice(a,1),a--}return n}),e.formatArgs.call(r,t);(r.log||e.log).apply(r,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=r,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==e.namespaces&&(o=e.namespaces,i=e.enabled(t)),i),set:t=>{a=t}}),"function"==typeof e.init&&e.init(s),s}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(n=0;n{e[n]=t[n]}),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}t.exports=function(t,e){e=e||{};var s=typeof t;if("string"===s&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===s&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=i)return a(t,e,i,"day");if(e>=o)return a(t,e,o,"hour");if(e>=r)return a(t,e,r,"minute");if(e>=n)return a(t,e,n,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=i)return Math.round(t/i)+"d";if(e>=o)return Math.round(t/o)+"h";if(e>=r)return Math.round(t/r)+"m";if(e>=n)return Math.round(t/n)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){},function(t,e,n){n(1)({target:"Number",stat:!0},{isFinite:n(441)})},function(t,e,n){var r=n(3).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},function(t,e,n){"use strict";n(233)},function(t,e,n){"use strict";n(234)},function(t,e,n){"use strict";n(237)},function(t,e,n){"use strict";n(238)},function(t,e,n){"use strict";n.r(e);n(149),n(260),n(270),n(272);var r=n(56),o=(n(119),n(37),n(16),n(21),n(24),n(44),n(25),n(0));function i(t,e){for(var n in e)t[n]=e[n];return t}var a=/[!'()*]/g,s=function(t){return"%"+t.charCodeAt(0).toString(16)},c=/%2C/g,u=function(t){return encodeURIComponent(t).replace(a,s).replace(c,",")};function l(t){try{return decodeURIComponent(t)}catch(t){0}return t}var f=function(t){return null==t||"object"==typeof t?t:String(t)};function p(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=l(n.shift()),o=n.length>0?l(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return u(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(u(e)):r.push(u(e)+"="+u(t)))})),r.join("&")}return u(e)+"="+u(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var h=/\/?$/;function v(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=m(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:b(e,o),matched:t?y(t):[]};return n&&(a.redirectedFrom=b(n,o)),Object.freeze(a)}function m(t){if(Array.isArray(t))return t.map(m);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=m(t[n]);return e}return t}var g=v(null,{path:"/"});function y(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function b(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||d)(r)+o}function w(t,e,n){return e===g?t===e:!!e&&(t.path&&e.path?t.path.replace(h,"")===e.path.replace(h,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n];if(r[o]!==n)return!1;var a=e[n];return null==i||null==a?i===a:"object"==typeof i&&"object"==typeof a?_(i,a):String(i)===String(a)}))}function x(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),l=e&&e.path||"/",d=u.path?C(u.path,l,n||o.append):l,h=function(t,e,n){void 0===e&&(e={});var r,o=n||p;try{r=o(t||"")}catch(t){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(f):f(a)}return r}(u.query,o.query,r&&r.options.parseQuery),v=o.hash||u.hash;return v&&"#"!==v.charAt(0)&&(v="#"+v),{_normalized:!0,path:d,query:h,hash:v}}var W,Q=function(){},G={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,c=o.href,u={},l=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==l?"router-link-active":l,d=null==f?"router-link-exact-active":f,m=null==this.activeClass?p:this.activeClass,g=null==this.exactActiveClass?d:this.exactActiveClass,y=s.redirectedFrom?v(null,H(s.redirectedFrom),null,n):s;u[g]=w(r,y,this.exactPath),u[m]=this.exact||this.exactPath?u[g]:function(t,e){return 0===t.path.replace(h,"/").indexOf(e.path.replace(h,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,y);var b=u[g]?this.ariaCurrentValue:null,_=function(t){Y(t)&&(e.replace?n.replace(a,Q):n.push(a,Q))},x={click:Y};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=_})):x[this.event]=_;var k={class:u},O=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:s,navigate:_,isActive:u[m],isExactActive:u[g]});if(O){if(1===O.length)return O[0];if(O.length>1||!O.length)return 0===O.length?t():t("span",{},O)}if("a"===this.tag)k.on=x,k.attrs={href:c,"aria-current":b};else{var C=function t(e){var n;if(e)for(var r=0;r-1&&(s.params[p]=n.params[p]);return s.path=V(l.path,s.params),c(l,s,a)}if(s.path){s.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}var _t={redirected:2,aborted:4,cancelled:8,duplicated:16};function xt(t,e){return Ot(t,e,_t.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Ct.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function kt(t,e){return Ot(t,e,_t.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ot(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var Ct=["params","query","hash"];function St(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function $t(t,e){return St(t)&&t._isRouter&&(null==e||t.type===e)}function jt(t){return function(e,n,r){var o=!1,i=0,a=null;At(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,i++;var c,u=It((function(e){var o;((o=e).__esModule||Tt&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:W.extend(e),n.components[s]=e,--i<=0&&r()})),l=It((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=St(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"==typeof f.then&&f.then(u,l)}}})),o||r()}}function At(t,e){return Et(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Et(t){return Array.prototype.concat.apply([],t)}var Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function It(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Pt=function(t,e){this.router=t,this.base=function(t){if(!t)if(K){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Rt(t,e,n,r){var o=At(t,(function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=W.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,o,i)})):n(a,r,o,i)}));return Et(r?o.reverse():o)}function Mt(t,e){if(e)return function(){return t.apply(e,arguments)}}Pt.prototype.listen=function(t){this.cb=t},Pt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Pt.prototype.onError=function(t){this.errorCbs.push(t)},Pt.prototype.transitionTo=function(t,e,n){var r,o=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var i=this.current;this.confirmTransition(r,(function(){o.updateRoute(r),e&&e(r),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(r,i)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!o.ready&&($t(t,_t.redirected)&&i===g||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},Pt.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var i,a,s=function(t){!$t(t)&&St(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},c=t.matched.length-1,u=o.matched.length-1;if(w(t,o)&&c===u&&t.matched[c]===o.matched[u])return this.ensureURL(),s(((a=Ot(i=o,t,_t.duplicated,'Avoided redundant navigation to current location: "'+i.fullPath+'".')).name="NavigationDuplicated",a));var l=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=gt&&n;r&&this.listeners.push(st());var o=function(){var n=t.current,o=zt(t.base);t.current===g&&o===t._startLocation||t.transitionTo(o,(function(t){r&&ct(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){yt(S(r.base+t.fullPath)),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){bt(S(r.base+t.fullPath)),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(zt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?yt(e):bt(e)}},e.prototype.getCurrentLocation=function(){return zt(this.base)},e}(Pt);function zt(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(S(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Ft=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=zt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Nt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=gt&&e;n&&this.listeners.push(st());var r=function(){var e=t.current;Nt()&&t.transitionTo(Dt(),(function(r){n&&ct(t.router,r,e,!0),gt||Bt(r.fullPath)}))},o=gt?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){qt(t.fullPath),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){Bt(t.fullPath),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Dt()!==e&&(t?qt(e):Bt(e))},e.prototype.getCurrentLocation=function(){return Dt()},e}(Pt);function Nt(){var t=Dt();return"/"===t.charAt(0)||(Bt("/"+t),!1)}function Dt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Ut(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function qt(t){gt?yt(Ut(t)):window.location.hash=t}function Bt(t){gt?bt(Ut(t)):window.location.replace(Ut(t))}var Vt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){$t(t,_t.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Pt),Ht=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!gt&&!1!==t.fallback,this.fallback&&(e="hash"),K||(e="abstract"),this.mode=e,e){case"history":this.history=new Lt(this,t.base);break;case"hash":this.history=new Ft(this,t.base,this.fallback);break;case"abstract":this.history=new Vt(this,t.base);break;default:0}},Wt={currentRoute:{configurable:!0}};function Qt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Ht.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Wt.currentRoute.get=function(){return this.history&&this.history.current},Ht.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof Lt||n instanceof Ft){var r=function(t){n.setupListeners(),function(t){var r=n.current,o=e.options.scrollBehavior;gt&&o&&"fullPath"in t&&ct(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Ht.prototype.beforeEach=function(t){return Qt(this.beforeHooks,t)},Ht.prototype.beforeResolve=function(t){return Qt(this.resolveHooks,t)},Ht.prototype.afterEach=function(t){return Qt(this.afterHooks,t)},Ht.prototype.onReady=function(t,e){this.history.onReady(t,e)},Ht.prototype.onError=function(t){this.history.onError(t)},Ht.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Ht.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Ht.prototype.go=function(t){this.history.go(t)},Ht.prototype.back=function(){this.go(-1)},Ht.prototype.forward=function(){this.go(1)},Ht.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Ht.prototype.resolve=function(t,e,n){var r=H(t,e=e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},Ht.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ht.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Ht.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ht.prototype,Wt),Ht.install=function t(e){if(!t.installed||W!==e){t.installed=!0,W=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",k),e.component("RouterLink",G);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Ht.version="3.5.2",Ht.isNavigationFailure=$t,Ht.NavigationFailureType=_t,Ht.START_LOCATION=g,K&&window.Vue&&window.Vue.use(Ht);var Gt=Ht;n(176),n(177),n(178),n(77),n(276),n(52),n(53),n(277);function Yt(t){t.locales&&Object.keys(t.locales).forEach((function(e){t.locales[e].path=e})),Object.freeze(t)}var Kt=n(7),Jt=n(61);n(121);n(54),n(69),n(97);var Xt=n(104);function Zt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||Object(Xt.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n(189),n(140);var te=n(239),ee=n.n(te),ne={created:function(){if(this.siteMeta=this.$site.headTags.filter((function(t){return"meta"===Zt(t,1)[0]})).map((function(t){var e=Zt(t,2);e[0];return e[1]})),this.$ssrContext){var t=this.getMergedMetaTags();this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.pageMeta=(e=t)?e.map((function(t){var e=""})).join("\n "):"",this.$ssrContext.canonicalLink=oe(this.$canonicalUrl)}var e},mounted:function(){this.currentMetaTags=Object(Jt.a)(document.querySelectorAll("meta")),this.updateMeta(),this.updateCanonicalLink()},methods:{updateMeta:function(){document.title=this.$title,document.documentElement.lang=this.$lang;var t=this.getMergedMetaTags();this.currentMetaTags=ie(t,this.currentMetaTags)},getMergedMetaTags:function(){var t=this.$page.frontmatter.meta||[];return ee()([{name:"description",content:this.$description}],t,this.siteMeta,ae)},updateCanonicalLink:function(){re(),this.$canonicalUrl&&document.head.insertAdjacentHTML("beforeend",oe(this.$canonicalUrl))}},watch:{$page:function(){this.updateMeta(),this.updateCanonicalLink()}},beforeDestroy:function(){ie(null,this.currentMetaTags),re()}};function re(){var t=document.querySelector("link[rel='canonical']");t&&t.remove()}function oe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t?''):""}function ie(t,e){if(e&&Object(Jt.a)(e).filter((function(t){return t.parentNode===document.head})).forEach((function(t){return document.head.removeChild(t)})),t)return t.map((function(t){var e=document.createElement("meta");return Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])})),document.head.appendChild(e),e}))}function ae(t){for(var e=0,n=["name","property","itemprop"];e=s.parentElement.offsetTop+10&&(!c||r1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(t){function e(){}t(e,e)},o=function(t){var e=t.target;e!==C?-1!==b.indexOf(e)&&v({target:e}):h()},i=function(){if(!_&&O.original){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(x-t)>k.scrollOffset&&setTimeout(h,150)}},a=function(t){var e=t.key||t.keyCode;"Escape"!==e&&"Esc"!==e&&27!==e||h()},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t;if(t.background&&(C.style.background=t.background),t.container&&t.container instanceof Object&&(e.container=ue({},k.container,t.container)),t.template){var n=fe(t.template)?t.template:document.querySelector(t.template);e.template=n}return k=ue({},k,e),b.forEach((function(t){t.dispatchEvent(me("medium-zoom:update",{detail:{zoom:S}}))})),S},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(ue({},k,e))},u=function(){for(var t=arguments.length,e=Array(t),n=0;n0?e.reduce((function(t,e){return[].concat(t,de(e))}),[]):b;return r.forEach((function(t){t.classList.remove("medium-zoom-image"),t.dispatchEvent(me("medium-zoom:detach",{detail:{zoom:S}}))})),b=b.filter((function(t){return-1===r.indexOf(t)})),S},f=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return b.forEach((function(r){r.addEventListener("medium-zoom:"+t,e,n)})),w.push({type:"medium-zoom:"+t,listener:e,options:n}),S},p=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return b.forEach((function(r){r.removeEventListener("medium-zoom:"+t,e,n)})),w=w.filter((function(n){return!(n.type==="medium-zoom:"+t&&n.listener.toString()===e.toString())})),S},d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=function(){var t={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},e=void 0,n=void 0;if(k.container)if(k.container instanceof Object)e=(t=ue({},t,k.container)).width-t.left-t.right-2*k.margin,n=t.height-t.top-t.bottom-2*k.margin;else{var r=(fe(k.container)?k.container:document.querySelector(k.container)).getBoundingClientRect(),o=r.width,i=r.height,a=r.left,s=r.top;t=ue({},t,{width:o,height:i,left:a,top:s})}e=e||t.width-2*k.margin,n=n||t.height-2*k.margin;var c=O.zoomedHd||O.original,u=pe(c)?e:c.naturalWidth||e,l=pe(c)?n:c.naturalHeight||n,f=c.getBoundingClientRect(),p=f.top,d=f.left,h=f.width,v=f.height,m=Math.min(u,e)/h,g=Math.min(l,n)/v,y=Math.min(m,g),b="scale("+y+") translate3d("+((e-h)/2-d+k.margin+t.left)/y+"px, "+((n-v)/2-p+k.margin+t.top)/y+"px, 0)";O.zoomed.style.transform=b,O.zoomedHd&&(O.zoomedHd.style.transform=b)};return new r((function(t){if(e&&-1===b.indexOf(e))t(S);else{if(O.zoomed)t(S);else{if(e)O.original=e;else{if(!(b.length>0))return void t(S);var r=b;O.original=r[0]}if(O.original.dispatchEvent(me("medium-zoom:open",{detail:{zoom:S}})),x=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,_=!0,O.zoomed=ve(O.original),document.body.appendChild(C),k.template){var o=fe(k.template)?k.template:document.querySelector(k.template);O.template=document.createElement("div"),O.template.appendChild(o.content.cloneNode(!0)),document.body.appendChild(O.template)}if(document.body.appendChild(O.zoomed),window.requestAnimationFrame((function(){document.body.classList.add("medium-zoom--opened")})),O.original.classList.add("medium-zoom-image--hidden"),O.zoomed.classList.add("medium-zoom-image--opened"),O.zoomed.addEventListener("click",h),O.zoomed.addEventListener("transitionend",(function e(){_=!1,O.zoomed.removeEventListener("transitionend",e),O.original.dispatchEvent(me("medium-zoom:opened",{detail:{zoom:S}})),t(S)})),O.original.getAttribute("data-zoom-src")){O.zoomedHd=O.zoomed.cloneNode(),O.zoomedHd.removeAttribute("srcset"),O.zoomedHd.removeAttribute("sizes"),O.zoomedHd.src=O.zoomed.getAttribute("data-zoom-src"),O.zoomedHd.onerror=function(){clearInterval(i),console.warn("Unable to reach the zoom image target "+O.zoomedHd.src),O.zoomedHd=null,n()};var i=setInterval((function(){O.zoomedHd.complete&&(clearInterval(i),O.zoomedHd.classList.add("medium-zoom-image--opened"),O.zoomedHd.addEventListener("click",h),document.body.appendChild(O.zoomedHd),n())}),10)}else if(O.original.hasAttribute("srcset")){O.zoomedHd=O.zoomed.cloneNode(),O.zoomedHd.removeAttribute("sizes"),O.zoomedHd.removeAttribute("loading");var a=O.zoomedHd.addEventListener("load",(function(){O.zoomedHd.removeEventListener("load",a),O.zoomedHd.classList.add("medium-zoom-image--opened"),O.zoomedHd.addEventListener("click",h),document.body.appendChild(O.zoomedHd),n()}))}else n()}}}))},h=function(){return new r((function(t){if(!_&&O.original){_=!0,document.body.classList.remove("medium-zoom--opened"),O.zoomed.style.transform="",O.zoomedHd&&(O.zoomedHd.style.transform=""),O.template&&(O.template.style.transition="opacity 150ms",O.template.style.opacity=0),O.original.dispatchEvent(me("medium-zoom:close",{detail:{zoom:S}})),O.zoomed.addEventListener("transitionend",(function e(){O.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(O.zoomed),O.zoomedHd&&document.body.removeChild(O.zoomedHd),document.body.removeChild(C),O.zoomed.classList.remove("medium-zoom-image--opened"),O.template&&document.body.removeChild(O.template),_=!1,O.zoomed.removeEventListener("transitionend",e),O.original.dispatchEvent(me("medium-zoom:closed",{detail:{zoom:S}})),O.original=null,O.zoomed=null,O.zoomedHd=null,O.template=null,t(S)}))}else t(S)}))},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target;return O.original?h():d({target:e})},m=function(){return k},g=function(){return b},y=function(){return O.original},b=[],w=[],_=!1,x=0,k=n,O={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(e)?k=e:(e||"string"==typeof e)&&u(e),k=ue({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},k);var C=he(k.background);document.addEventListener("click",o),document.addEventListener("keyup",a),document.addEventListener("scroll",i),window.addEventListener("resize",h);var S={open:d,close:h,toggle:v,update:s,clone:c,attach:u,detach:l,on:f,off:p,getOptions:m,getImages:g,getZoomedImage:y};return S},be={data:function(){return{zoom:null}},mounted:function(){this.updateZoom()},updated:function(){this.updateZoom()},methods:{updateZoom:function(){var t=this;setTimeout((function(){t.zoom&&t.zoom.detach(),t.zoom=ye(".theme-reco-content :not(a) > img",void 0)}),1e3)}}},we=(n(106),n(105)),_e=n.n(we),xe={mounted:function(){var t=this;_e.a.configure({showSpinner:!1}),this.$router.beforeEach((function(t,e,n){t.path===e.path||o.default.component(t.name)||_e.a.start(),n()})),this.$router.afterEach((function(){_e.a.done(),t.isSidebarOpen=!1}))}},ke=n(241),Oe=n.n(ke),Ce={mounted:function(){Oe.a.polyfill()}},Se=(n(122),n(242)),$e=n.n(Se);var je=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return new Promise((function(e,n){ge||((ge=document.createElement("div")).style.display="none",document.body.appendChild(ge));var r=new $e.a(ge,{text:function(){return t}}),o=new Event("click");r.on("success",(function(){e(t),r.destroy()})),r.on("error",(function(t){n(t.action),r.destroy()})),ge.dispatchEvent(o)}))},Ae={props:{copyText:String,code:String},methods:{copyClick:function(){var t=function(t){0};this.$message({time:3e3,content:"复制成功!",title:"Tips"}),je(this.code).then((function(e){return t})).catch(t)}}},Ee=(n(381),n(382),n(8)),Te=Object(Ee.a)(Ae,(function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("span",{ref:"btn",staticClass:"v-copy-code-btn",on:{click:this.copyClick}},[this._v(this._s(this.copyText))])])}),[],!1,null,"a4cb51ca",null).exports,Ie=[ne,ce,be,xe,Ce,{updated:function(){var t=this;setTimeout((function(){t.$copyUpdates()}),0)},methods:{$copyUpdates:function(){Array.from(document.querySelectorAll('div[class*="language-"] pre')).forEach((function(t){var e=t;if(!/v-copy/.test(e.className)){var n=new(o.default.extend(Te));n.copyText="复制代码",n.code=e.textContent,n.$mount(),e.className+=" v-copy",e.parentElement.appendChild(n.$el)}}))}}}],Pe={name:"GlobalLayout",computed:{layout:function(){var t=this.getLayout();return Object(Kt.i)("layout",t),o.default.component(t)}},methods:{getLayout:function(){if(this.$page.path){var t=this.$page.frontmatter.layout;return t&&(this.$vuepress.getLayoutAsyncComponent(t)||this.$vuepress.getVueComponent(t))?t:"Layout"}return"NotFound"}}},Re=Object(Ee.a)(Pe,(function(){var t=this.$createElement;return(this._self._c||t)(this.layout,{tag:"component"})}),[],!1,null,null,null).exports;Object(Kt.g)(Re,"mixins",Ie);var Me=[{name:"v-3cc1e510",path:"/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-3cc1e510").then(n)}},{path:"/index.html",redirect:"/"},{name:"v-bc3078f0",path:"/docs/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-bc3078f0").then(n)}},{path:"/docs/index.html",redirect:"/docs/"},{name:"v-10d900e8",path:"/docs/faq/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-10d900e8").then(n)}},{path:"/docs/faq/index.html",redirect:"/docs/faq/"},{name:"v-2c5ec342",path:"/docs/development/plugins.html",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-2c5ec342").then(n)}},{name:"v-b1564aac",path:"/tag/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Tags","v-b1564aac").then(n)},meta:{pid:"tags",id:"tags"}},{path:"/tag/index.html",redirect:"/tag/"},{name:"v-ef9325c4",path:"/categories/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("FrontmatterKey","v-ef9325c4").then(n)},meta:{pid:"categories",id:"categories"}},{path:"/categories/index.html",redirect:"/categories/"},{name:"v-6319eb4e",path:"/timeline/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("TimeLines","v-6319eb4e").then(n)},meta:{pid:"timeline",id:"timeline"}},{path:"/timeline/index.html",redirect:"/timeline/"},{path:"*",component:Re}],Le={title:"绪山真寻Bot",description:"这是个绪山真寻Bot的部署教程",base:"/",headTags:[["link",{rel:"icon",href:"/favicon.ico"}],["meta",{name:"viewport",content:"width=device-width,initial-scale=1,user-scalable=no"}]],pages:[{title:"Home",frontmatter:{home:!0,heroText:null,tagline:null,bgImageStyle:{"background-image":"url(background.png)",height:"890px"}},regularPath:"/",relativePath:"README.md",key:"v-3cc1e510",path:"/"},{title:"你好,这里是绪山真寻",frontmatter:{title:"你好,这里是绪山真寻",subSidebar:!1},regularPath:"/docs/",relativePath:"docs/README.md",key:"v-bc3078f0",path:"/docs/",headers:[{level:2,title:"关于",slug:"关于"},{level:2,title:"使用以OneBot协议为准的框架",slug:"使用以onebot协议为准的框架"},{level:2,title:"数据库",slug:"数据库"},{level:2,title:"推荐的部署系统",slug:"推荐的部署系统"},{level:2,title:"吹水聊天",slug:"吹水聊天"},{level:2,title:"救命!我部署或使用出了问题!",slug:"救命-我部署或使用出了问题"}]},{frontmatter:{},regularPath:"/docs/faq/",relativePath:"docs/faq/README.md",key:"v-10d900e8",path:"/docs/faq/"},{frontmatter:{},regularPath:"/docs/development/plugins.html",relativePath:"docs/development/plugins.md",key:"v-2c5ec342",path:"/docs/development/plugins.html",headers:[{level:2,title:"简介",slug:"简介"},{level:2,title:"__zx_plugin_name__",slug:"zx-plugin-name"},{level:2,title:"__plugin_usage__",slug:"plugin-usage"},{level:2,title:"__plugin_super_usage__",slug:"plugin-super-usage"},{level:2,title:"__plugin_des__",slug:"plugin-des"},{level:2,title:"__plugin_cmd__",slug:"plugin-cmd"},{level:2,title:"__plugin_settings__",slug:"plugin-settings"},{level:2,title:"__plugin_task__",slug:"plugin-task"},{level:2,title:"__plugin_type__",slug:"plugin-type"},{level:2,title:"__plugin_version__",slug:"plugin-version"},{level:2,title:"__plugin_author__",slug:"plugin-author"},{level:2,title:"__plugin_cd_limit__",slug:"plugin-cd-limit"},{level:2,title:"__plugin_block_limit__",slug:"plugin-block-limit"},{level:2,title:"__plugin_count_limit__",slug:"plugin-count-limit"},{level:2,title:"__plugin_configs__",slug:"plugin-configs"}]},{frontmatter:{layout:"Tags",title:"Tags"},regularPath:"/tag/",key:"v-b1564aac",path:"/tag/"},{frontmatter:{layout:"FrontmatterKey",title:"Categories"},regularPath:"/categories/",key:"v-ef9325c4",path:"/categories/"},{frontmatter:{layout:"TimeLines",title:"Timeline"},regularPath:"/timeline/",key:"v-6319eb4e",path:"/timeline/"}],themeConfig:{mode:"light",subSidebar:"auto",nav:[{text:"首页",link:"/",icon:"reco-home"},{text:"安装文档",link:"/timeline/",icon:"reco-document"},{text:"使用文档",link:"",icon:"reco-document"},{text:"开发文档",link:"/docs/development/plugins",icon:"reco-document"},{text:"FAQ",link:"/docs/faq/",icon:"reco-faq"},{text:"关于",link:"/docs/",icon:"reco-faq"},{text:"GitHub",link:"https://github.com/HibiKier/zhenxun_bot",icon:"reco-github"}],sidebar:{"/docs/development/":[["plugins","插件标准"]]},type:"blog",friendLink:[],logo:"/logo.png",search:!0,searchMaxSuggestions:10,lastUpdated:"Last Updated",author:"hibikier",authorAvatar:"https://s.gravatar.com/avatar/27d0f38d5b14cf1ae60da1522a9a246e?s=80",record:"xxxx",startYear:"2021"}},ze=(n(60),n(248),n(249),n(75),n(250),n(72)),Fe={computed:{$recoPosts:function(){var t=this.$site.pages;return t=Object(ze.a)(t,!1),Object(ze.c)(t),t},$recoPostsForTimeline:function(){var t=this.$recoPosts,e={},n=[];t=Object(ze.a)(t,!0),this.pages=0==t.length?[]:t;for(var r=0,o=t.length;r-1)&&([o,i].indexOf("auto")>-1&&a.length>0||[e,n].indexOf("auto")>-1&&a.length>0)}}};function Ne(t,e){t=function(t){var e=new Date(t).toJSON();return new Date(+new Date(e)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"").replace(/-/g,"/")}(t);var n=new Date(t),r=n.getFullYear(),o=n.getMonth()+1,i=n.getDate();return"year"==e?r:"".concat(o,"-").concat(i)}var De=n(12),Ue={all:"全部",article:"文章",tag:"标签",category:"分类",friendLink:"友情链接",timeLine:"时间轴",timeLineMsg:"昨日重现!"},qe={all:"全部",article:"文章",tag:"標簽",category:"分類",friendLink:"友情鏈接",timeLine:"時間軸",timeLineMsg:"昨日重現!"},Be={all:"All",article:"Articles",tag:"Tags",category:"Categories",friendLink:"Friend Links",timeLine:"TimeLine",timeLineMsg:"Yesterday Once More!"},Ve={all:"全部",article:"文章",tag:"ラベル",category:"分類",friendLink:"友情リンク",timeLine:"タイムライン",timeLineMsg:"昨日また!"},He={all:"전체",article:"글",tag:"태그",category:"분류",friendLink:"링크 참조",timeLine:"타임 라인",timeLineMsg:"어제 또!"},We={all:"Todas",article:"Artículos",tag:"Etiquetas",category:"Categorías",friendLink:"Páginas amigas",timeLine:"Cronología",timeLineMsg:"¡Ayer otra vez!"},Qe={computed:{$recoLocales:function(){var t=this.$themeLocaleConfig.recoLocales||{};return/^zh\-(CN|SG)$/.test(this.$lang)?Object(De.a)(Object(De.a)({},Ue),t):/^zh\-(HK|MO|TW)$/.test(this.$lang)?Object(De.a)(Object(De.a)({},qe),t):/^ja\-JP$/.test(this.$lang)?Object(De.a)(Object(De.a)({},Ve),t):/^ko\-KR$/.test(this.$lang)?Object(De.a)(Object(De.a)({},He),t):/^es(\-[A-Z]+)?$/.test(this.$lang)?Object(De.a)(Object(De.a)({},We),t):Object(De.a)(Object(De.a)({},Be),t)}}},Ge=n(29),Ye=n(76),Ke=n(139);n(392);o.default.component("Badge",(function(){return Promise.all([n.e(0),n.e(9)]).then(n.bind(null,548))}));n(393);var Je={name:"BackToTop",data:function(){return{visible:!1,customStyle:{right:"1rem",bottom:"6rem",width:"2.5rem",height:"2.5rem","border-radius":".25rem","line-height":"2.5rem"},visibilityHeight:400}},mounted:function(){window.addEventListener("scroll",this.throttle(this.handleScroll,500))},beforeDestroy:function(){window.removeEventListener("scroll",this.throttle(this.handleScroll,500))},methods:{handleScroll:function(){this.visible=window.pageYOffset>this.visibilityHeight},backToTop:function(){window.scrollTo(0,0)},throttle:function(t,e){var n=null,r=Date.now();return function(){var o=Date.now(),i=e-(o-r),a=this,s=arguments;clearTimeout(n),i<=0?(t.apply(a,s),r=Date.now()):n=setTimeout(t,i)}}}},Xe=(n(394),Object(Ee.a)(Je,(function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"back-to-ceiling",style:this.customStyle,on:{click:this.backToTop}},[e("svg",{staticClass:"icon",attrs:{t:"1574745035067",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5404"}},[e("path",{attrs:{d:"M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z","p-id":"5405"}}),e("path",{attrs:{d:"M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z","p-id":"5406"}})])])])}),[],!1,null,"c6073ba8",null).exports),Ze=(n(395),Object(Ee.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"loader-wrapper"}},[n("div",{staticClass:"loader-main"},t._l(4,(function(t){return n("div",{key:"out"+t})})),0),t._v(" "),t.$frontmatter.home?n("h3",{staticClass:"title"},[t._v(t._s(t.$site.title||t.$localeConfig.title))]):t._e(),t._v(" "),t.$frontmatter.home?n("p",{staticClass:"description"},[t._v(t._s(t.$site.description||t.$localeConfig.description))]):t._e()])}),[],!1,null,"d48f4d20",null).exports),tn=(n(217),n(246),{prev:"上一页",next:"下一页",go:"前往",jump:"跳转至"}),en={prev:"上壹頁",next:"下壹頁",go:"前往",jump:"跳轉至"},nn={prev:"Prev",next:"Next",go:"Go",jump:"Jump To"},rn={prev:"前のページ",next:"次のページ",go:"へ",jump:"ジャンプ"},on={prev:"이전 페이지",next:"다음 페이지",go:"행",jump:"건너뛰기"};var an={data:function(){return{changePage:"",pageSize:10}},props:{total:{type:Number,default:10},perPage:{type:Number,default:10},currentPage:{type:Number,default:1}},computed:{pages:function(){var t=this.pageSize||this.perPage;return Math.ceil(this.total/t)},show:function(){return this.pages&&1!=this.pages},efont:function(){return!(this.pages<=7)&&this.currentPage>5},indexs:function(){var t=1,e=this.pages,n=[];for(this.pages>=7&&(this.currentPage>5&&this.currentPage1&&this.emit(--t)},goNext:function(){var t=this.currentPage;t0?this.emit(e):alert("请输入大于0,并且小于".concat(this.pages,"的页码!"))},emit:function(t){this.$emit("getCurrentPage",t)}}},sn=(n(398),Object(Ee.a)(an,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"pagation"},[n("div",{staticClass:"pagation-list"},[n("span",{directives:[{name:"show",rawName:"v-show",value:t.currentPage>1,expression:"currentPage > 1"}],staticClass:"jump",attrs:{unselectable:"on"},on:{click:t.goPrev}},[t._v(t._s(t.pagationLocales.prev))]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"jump",on:{click:function(e){return t.jumpPage(1)}}},[t._v("1")]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"ellipsis"},[t._v("...")]),t._v(" "),t._l(t.indexs,(function(e){return n("span",{key:e,staticClass:"jump",class:{bgprimary:t.currentPage==e},on:{click:function(n){return t.jumpPage(e)}}},[t._v(t._s(e))])})),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont&&t.currentPageObject(wn.stringify)(t),xn=(t,e)=>`${t}${Object(wn.stringify)(e,{addQueryPrefix:!0})}`,kn=(t,e)=>`${t.replace(/\/$/,"")}/${e.replace(/^\//,"")}`;var On=n(243),Cn=n.n(On);const Sn=t=>Cn()(t,"YYYY-MM-DD HH:mm:ss"),$n=t=>(t.split("#")[0]||"").split("?")[0]||"",jn=t=>Object(wn.parse)(t,{ignoreQueryPrefix:!0}) +*/var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,s,c=r(t),u=1;ue.maxStringLength){var n=t.length-e.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return h(t.slice(0,e.maxStringLength),e)+o}return r(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,v),"single",e)}function v(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function m(t){return"Object("+t+")"}function g(t){return t+" { ? }"}function y(t,e,n,r){return t+" ("+e+") {"+(r?b(n,r):n.join(", "))+"}"}function b(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+t.join(","+n)+"\n"+e.prev}function w(t,e){var n=i(t),r=[];if(n){r.length=t.length;for(var o=0;o0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return h(e,C);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var A=void 0===C.depth?5:C.depth;if(void 0===v&&(v=0),v>=A&&A>0&&"object"==typeof e)return i(e)?"[Array]":"[Object]";var E=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}(C,v);if(void 0===_)_=[];else if(l(_,e)>=0)return"[Circular]";if("function"==typeof e){var T=u(e),P=w(e,x);return"[Function"+(T?": "+T:" (anonymous)")+"]"+(P.length>0?" { "+P.join(", ")+" }":"")}if(a(e)){var R=N?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(e);return"object"!=typeof e||N?R:m(R)}if(function(t){return!(!t||"object"!=typeof t)&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}(e)){for(var M="<"+String(e.nodeName).toLowerCase(),z=e.attributes||[],D=0;D"}if(i(e)){if(0===e.length)return"[]";var q=w(e,x);return E&&!function(t){for(var e=0;e=0)return!1;return!0}(q)?"["+b(q,E)+"]":"[ "+q.join(", ")+" ]"}if(function(t){return!("[object Error]"!==c(t)||V&&"object"==typeof t&&V in t)}(e)){var H=w(e,x);return 0===H.length?"["+String(e)+"]":"{ ["+String(e)+"] "+H.join(", ")+" }"}if("object"==typeof e&&S){if(B&&"function"==typeof e[B])return e[B]();if("symbol"!==S&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!k||!t||"object"!=typeof t)return!1;try{k.call(t);try{$.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var W=[];return O.call(e,(function(t,n){W.push(x(n,e,!0)+" => "+x(t,e))})),y("Map",k.call(e),W,E)}if(function(t){if(!$||!t||"object"!=typeof t)return!1;try{$.call(t);try{k.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var Q=[];return j.call(e,(function(t){Q.push(x(t,e))})),y("Set",$.call(e),Q,E)}if(f(e))return g("WeakMap");if(d(e))return g("WeakSet");if(p(e))return g("WeakRef");if(function(t){return!("[object Number]"!==c(t)||V&&"object"==typeof t&&V in t)}(e))return m(x(Number(e)));if(function(t){if(!t||"object"!=typeof t||!L)return!1;try{return L.call(t),!0}catch(t){}return!1}(e))return m(x(L.call(e)));if(function(t){return!("[object Boolean]"!==c(t)||V&&"object"==typeof t&&V in t)}(e))return m(I.call(e));if(function(t){return!("[object String]"!==c(t)||V&&"object"==typeof t&&V in t)}(e))return m(x(String(e)));if(!function(t){return!("[object Date]"!==c(t)||V&&"object"==typeof t&&V in t)}(e)&&!function(t){return!("[object RegExp]"!==c(t)||V&&"object"==typeof t&&V in t)}(e)){var G=w(e,x),Y=U?U(e)===Object.prototype:e instanceof Object||e.constructor===Object,K=e instanceof Object?"":"null prototype",J=!Y&&V&&Object(e)===e&&V in e?c(e).slice(8,-1):K?"Object":"",X=(Y||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(J||K?"["+[].concat(J||[],K||[]).join(": ")+"] ":"");return 0===G.length?X+"{}":E?X+"{"+b(G,E)+"}":X+"{ "+G.join(", ")+" }"}return String(e)};var H=Object.prototype.hasOwnProperty||function(t){return t in this}},function(t,e,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(30),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),h=function(t){if("undefined"==typeof window||!d)return f(t);try{return f(t)}catch(t){return!1}};r=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===i.call(t),r=a(t),s=e&&"[object String]"===i.call(t),f=[];if(!e&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=u&&n;if(s&&t.length>0&&!o.call(t,0))for(var d=0;d0)for(var v=0;v1)for(var n=1;n1?n-1:0);for(var r=1;r2?o-2:0);for(var i=2;i";var y=function(t){var e=l.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var n="/"===(t=l.trim(t.slice(e+1,-1)))[t.length-1];return n&&(t=l.trim(t.slice(0,-1))),{html:t,closing:n}}(c),b=n[a],w=u(y.html,(function(t,e){var n,o=-1!==l.indexOf(b,t);return r(n=s(a,t,e,o))?o?(e=p(a,t,e,h))?t+'="'+e+'"':t:r(n=f(a,t,e,o))?void 0:n:n}));return c="<"+a,w&&(c+=" "+w),y.closing&&(c+=" /"),c+">"}return r(m=i(a,c,g))?d(c):m}),d);return v&&(m=v.remove(m)),m},t.exports=o},function(t,e){t.exports={smile:"e3/2018new_weixioa02_org.png",lovely:"09/2018new_keai_org.png",happy:"1e/2018new_taikaixin_org.png",clap:"6e/2018new_guzhang_thumb.png",whee:"33/2018new_xixi_thumb.png",haha:"8f/2018new_haha_thumb.png","laugh and cry":"4a/2018new_xiaoku_thumb.png",wink:"43/2018new_jiyan_org.png",greddy:"fa/2018new_chanzui_org.png",awkward:"a3/2018new_heixian_thumb.png",sweat:"28/2018new_han_org.png","pick nose":"9a/2018new_wabi_thumb.png",hum:"7c/2018new_heng_thumb.png",angry:"f6/2018new_nu_thumb.png",grievance:"a5/2018new_weiqu_thumb.png",poor:"96/2018new_kelian_org.png",disappoint:"aa/2018new_shiwang_thumb.png",sad:"ee/2018new_beishang_org.png",tear:"6e/2018new_leimu_org.png","no way":"83/2018new_kuxiao_org.png",shy:"c1/2018new_haixiu_org.png",dirt:"10/2018new_wu_thumb.png","love you":"f6/2018new_aini_org.png",kiss:"2c/2018new_qinqin_thumb.png",amorousness:"9d/2018new_huaxin_org.png",longing:"c9/2018new_chongjing_org.png",desire:"3e/2018new_tianping_thumb.png","bad laugh":"4d/2018new_huaixiao_org.png",blackness:"9e/2018new_yinxian_org.png","laugh without word":"2d/2018new_xiaoerbuyu_org.png",titter:"71/2018new_touxiao_org.png",cool:"c4/2018new_ku_org.png","not easy":"aa/2018new_bingbujiandan_thumb.png",think:"30/2018new_sikao_org.png",question:"b8/2018new_ningwen_org.png","no idea":"2a/2018new_wenhao_thumb.png",dizzy:"07/2018new_yun_thumb.png",bomb:"a2/2018new_shuai_thumb.png",bone:"a1/2018new_kulou_thumb.png","be quiet":"b0/2018new_xu_org.png","shut up":"62/2018new_bizui_org.png",stupid:"dd/2018new_shayan_org.png","surprise ":"49/2018new_chijing_org.png",vomit:"08/2018new_tu_org.png",cold:"40/2018new_kouzhao_thumb.png",sick:"3b/2018new_shengbing_thumb.png",bye:"fd/2018new_baibai_thumb.png","look down on":"da/2018new_bishi_org.png","white eye":"ef/2018new_landelini_org.png","left hum":"43/2018new_zuohengheng_thumb.png","right hum":"c1/2018new_youhengheng_thumb.png",crazy:"17/2018new_zhuakuang_org.png","scold ":"87/2018new_zhouma_thumb.png","hit on face":"cb/2018new_dalian_org.png",wow:"ae/2018new_ding_org.png",fan:"86/2018new_hufen02_org.png",money:"a2/2018new_qian_thumb.png",yawn:"55/2018new_dahaqian_org.png",sleepy:"3c/2018new_kun_thumb.png",sleep:"e2/2018new_shuijiao_thumb.png","watermelon ":"01/2018new_chigua_thumb.png",doge:"a1/2018new_doge02_org.png",dog:"22/2018new_erha_org.png",cat:"7b/2018new_miaomiao_thumb.png",thumb:"e6/2018new_zan_org.png",good:"8a/2018new_good_org.png",ok:"45/2018new_ok_org.png",yeah:"29/2018new_ye_thumb.png","shack hand":"e9/2018new_woshou_thumb.png",bow:"e7/2018new_zuoyi_org.png",come:"42/2018new_guolai_thumb.png",punch:"86/2018new_quantou_thumb.png"}},function(t,e){t.exports={nick:"NickName",mail:"E-Mail",link:"Website(http://)",nickFail:"NickName cannot be less than 3 bytes.",mailFail:"Please confirm your email address.",sofa:"No comment yet.",submit:"Submit",reply:"Reply",cancelReply:"Cancel reply",comments:"Comments",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",preview:"Preview",emoji:"Emoji",expand:"See more....",seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now",uploading:"Uploading ...",uploadDone:"Upload completed!",busy:"Submit is busy, please wait...","code-98":"Valine initialization failed, please check your version of av-min.js.","code-99":"Valine initialization failed, Please check the `el` element in the init method.","code-100":"Valine initialization failed, Please check your appId and appKey.","code-140":"The total number of API calls today has exceeded the development version limit.","code-401":"Unauthorized operation, Please check your appId and appKey.","code-403":"Access denied by API domain white list, Please check your security domain."}},function(t,e){t.exports={nick:"ニックネーム",mail:"メールアドレス",link:"サイト(http://)",nickFail:"3バイト以上のニックネームをご入力ください.",mailFail:"メールアドレスをご確認ください.",sofa:"コメントしましょう~",submit:"提出する",reply:"返信する",cancelReply:"キャンセル",comments:"コメント",cancel:"キャンセル",confirm:"確認する",continue:"继续",more:"さらに読み込む...",preview:"プレビュー",emoji:"絵文字",expand:"もっと見る",seconds:"秒前",minutes:"分前",hours:"時間前",days:"日前",now:"たっだ今",uploading:"アップロード中...",uploadDone:"アップロードが完了しました!",busy:"20 秒間隔で提出してください ...","code-98":"ロードエラーです。av-min.js のバージョンを確認してください.","code-99":"ロードエラーです。initにある`el`エレメントを確認ください.","code-100":"ロードエラーです。AppIdとAppKeyを確認ください.","code-140":"今日のAPIコールの総数が開発バージョンの上限を超えた.","code-401":"権限が制限されています。AppIdとAppKeyを確認ください.","code-403":"アクセスがAPIなどに制限されました、ドメイン名のセキュリティ設定を確認ください"}},function(t,e){t.exports={nick:"昵称",mail:"邮箱",link:"网址(http://)",nickFail:"昵称不能少于3个字符",mailFail:"请填写正确的邮件地址",sofa:"来发评论吧~",submit:"提交",reply:"回复",cancelReply:"取消回复",comments:"评论",cancel:"取消",confirm:"确认",continue:"继续",more:"加载更多...",preview:"预览",emoji:"表情",expand:"查看更多...",seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚",uploading:"正在传输...",uploadDone:"传输完成!",busy:"操作频繁,请稍候再试...","code-98":"Valine 初始化失败,请检查 av-min.js 版本","code-99":"Valine 初始化失败,请检查init中的`el`元素.","code-100":"Valine 初始化失败,请检查你的AppId和AppKey.","code-140":"今日 API 调用总次数已超过开发版限制.","code-401":"未经授权的操作,请检查你的AppId和AppKey.","code-403":"访问被API域名白名单拒绝,请检查你的安全域名设置."}},function(t,e){t.exports={nick:"暱稱",mail:"郵箱",link:"網址(http://)",nickFail:"昵稱不能少於3個字符",mailFail:"請填寫正確的郵件地址",sofa:"來發評論吧~",submit:"提交",reply:"回覆",cancelReply:"取消回覆",comments:"評論",cancel:"取消",confirm:"確認",continue:"繼續",more:"加載更多...",preview:"預覽",emoji:"表情",expand:"查看更多...",seconds:"秒前",minutes:"分鐘前",hours:"小時前",days:"天前",now:"剛剛",uploading:"正在上傳...",uploadDone:"上傳完成!",busy:"操作頻繁,請稍候再試...","code-98":"Valine 初始化失敗,請檢查 av-min.js 版本","code-99":"Valine 初始化失敗,請檢查init中的`el`元素.","code-100":"Valine 初始化失敗,請檢查你的AppId和AppKey.","code-140":"今日 API 調用總次數已超過開發版限制.","code-401":"未經授權的操作,請檢查你的AppId和AppKey.","code-403":"訪問被API域名白名單拒絕,請檢查你的安全域名設置."}},function(t,e){},function(t,e,n){var r=n(115);"string"==typeof r&&(r=[[t.i,r,""]]);var o={transform:void 0};n(117)(r,o),r.locals&&(t.exports=r.locals)},function(t,e,n){(e=n(116)(!1)).push([t.i,'.v[data-class="v"]{font-size:16px;text-align:left}.v[data-class="v"] *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.75}.v[data-class="v"] .vinput,.v[data-class="v"] .veditor,.v[data-class="v"] p,.v[data-class="v"] pre code,.v[data-class="v"] .status-bar{color:#555}.v[data-class="v"] .vtime,.v[data-class="v"] .vsys{color:#b3b3b3}.v[data-class="v"] .text-right{text-align:right}.v[data-class="v"] .text-center{text-align:center}.v[data-class="v"] img{max-width:100%;border:none}.v[data-class="v"] hr{margin:.825em 0;border-color:#f6f6f6;border-style:dashed}.v[data-class="v"].hide-avatar .vimg{display:none}.v[data-class="v"] a{position:relative;cursor:pointer;color:#1abc9c;text-decoration:none;display:inline-block}.v[data-class="v"] a:hover{color:#D7191A}.v[data-class="v"] pre,.v[data-class="v"] code{background-color:#f8f8f8;padding:0.2em 0.4em;border-radius:3px;font-size:85%;margin:0}.v[data-class="v"] pre{padding:10px;overflow:auto;line-height:1.45}.v[data-class="v"] pre code{padding:0;background:transparent;white-space:pre-wrap;word-break:keep-all}.v[data-class="v"] blockquote{color:#666;margin:.5em 0;padding:0 0 0 1em;border-left:8px solid rgba(238,238,238,0.5)}.v[data-class="v"] .vinput{border:none;resize:none;outline:none;padding:10px 5px;max-width:100%;font-size:.775em;-webkit-box-sizing:border-box;box-sizing:border-box}.v[data-class="v"] input[type=\'checkbox\'],.v[data-class="v"] input[type=\'radio\']{display:inline-block;vertical-align:middle;margin-top:-2px}.v[data-class="v"] .vicon{cursor:pointer;display:inline-block;overflow:hidden;fill:#555;vertical-align:middle}.v[data-class="v"] .vicon+.vicon{margin-left:10px}.v[data-class="v"] .vicon.actived{fill:#66b1ff}.v[data-class="v"] .vrow{font-size:0;padding:10px 0}.v[data-class="v"] .vrow .vcol{display:inline-block;vertical-align:middle;font-size:14px}.v[data-class="v"] .vrow .vcol.vcol-20{width:20%}.v[data-class="v"] .vrow .vcol.vcol-30{width:30%}.v[data-class="v"] .vrow .vcol.vcol-40{width:40%}.v[data-class="v"] .vrow .vcol.vcol-50{width:50%}.v[data-class="v"] .vrow .vcol.vcol-60{width:60%}.v[data-class="v"] .vrow .vcol.vcol-70{width:70%}.v[data-class="v"] .vrow .vcol.vcol-80{width:80%}.v[data-class="v"] .vrow .vcol.vctrl{font-size:12px}.v[data-class="v"] .vemoji,.v[data-class="v"] .emoji{width:26px;height:26px;overflow:hidden;vertical-align:middle;margin:0 1px;display:inline-block}.v[data-class="v"] .vwrap{border:1px solid #f0f0f0;border-radius:4px;margin-bottom:10px;overflow:hidden;position:relative;padding:10px}.v[data-class="v"] .vwrap input{background:transparent}.v[data-class="v"] .vwrap .vedit{position:relative;padding-top:10px}.v[data-class="v"] .vwrap .cancel-reply-btn{position:absolute;right:5px;top:5px;cursor:pointer}.v[data-class="v"] .vwrap .vemojis{display:none;font-size:18px;max-height:145px;overflow:auto;padding-bottom:10px;-webkit-box-shadow:0px 0 1px #f0f0f0;box-shadow:0px 0 1px #f0f0f0}.v[data-class="v"] .vwrap .vemojis i{font-style:normal;padding-top:7px;width:36px;cursor:pointer;text-align:center;display:inline-block;vertical-align:middle}.v[data-class="v"] .vwrap .vpreview{padding:7px;-webkit-box-shadow:0px 0 1px #f0f0f0;box-shadow:0px 0 1px #f0f0f0}.v[data-class="v"] .vwrap .vheader .vinput{width:33.33%;border-bottom:1px #dedede dashed}.v[data-class="v"] .vwrap .vheader.item2 .vinput{width:50%}.v[data-class="v"] .vwrap .vheader.item1 .vinput{width:100%}.v[data-class="v"] .vwrap .vheader .vinput:focus{border-bottom-color:#eb5055}@media screen and (max-width: 520px){.v[data-class="v"] .vwrap .vheader .vinput{width:100%}.v[data-class="v"] .vwrap .vheader.item2 .vinput{width:100%}}.v[data-class="v"] .vpower{color:#999;font-size:.75em;padding:.5em 0}.v[data-class="v"] .vpower a{font-size:.75em}.v[data-class="v"] .vcount{padding:5px;font-weight:600;font-size:1.25em}.v[data-class="v"] ul,.v[data-class="v"] ol{padding:0;margin-left:1.25em}.v[data-class="v"] .txt-center{text-align:center}.v[data-class="v"] .txt-right{text-align:right}.v[data-class="v"] .veditor{width:100%;min-height:8.75em;font-size:.875em;background:transparent;resize:vertical;-webkit-transition:all .25s ease;transition:all .25s ease}.v[data-class="v"] .vbtn{-webkit-transition-duration:.4s;transition-duration:.4s;text-align:center;color:#555;border:1px solid #ededed;border-radius:.3em;display:inline-block;background:transparent;margin-bottom:0;font-weight:400;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;white-space:nowrap;padding:.5em 1.25em;font-size:.875em;line-height:1.42857143;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.v[data-class="v"] .vbtn+.vbtn{margin-left:1.25em}.v[data-class="v"] .vbtn:active,.v[data-class="v"] .vbtn:hover{color:#3090e4;border-color:#3090e4}.v[data-class="v"] .vbtn:disabled{border-color:#E1E1E1;color:#E1E1E1;background-color:#fdfafa;cursor:not-allowed}.v[data-class="v"] .vempty{padding:1.25em;text-align:center;color:#555;overflow:auto}.v[data-class="v"] .vsys{display:inline-block;padding:.2em .5em;font-size:.75em;border-radius:.2em;margin-right:.3em}@media screen and (max-width: 520px){.v[data-class="v"] .vsys{display:none}}.v[data-class="v"] .vcards{width:100%}.v[data-class="v"] .vcards .vcard{padding-top:1.25em;position:relative;display:block}.v[data-class="v"] .vcards .vcard:after{content:\'\';clear:both;display:block}.v[data-class="v"] .vcards .vcard .vimg{width:3.125em;height:3.125em;float:left;border-radius:50%;margin-right:.7525em;border:1px solid #f5f5f5;padding:.125em}@media screen and (max-width: 720px){.v[data-class="v"] .vcards .vcard .vimg{width:2.5em;height:2.5em}}.v[data-class="v"] .vcards .vcard .vhead{line-height:1.5;margin-top:0}.v[data-class="v"] .vcards .vcard .vhead .vnick{position:relative;font-size:.875em;font-weight:500;margin-right:.875em;cursor:pointer;text-decoration:none;display:inline-block}.v[data-class="v"] .vcards .vcard .vhead .vnick:hover{color:#D7191A}.v[data-class="v"] .vcards .vcard .vh{overflow:hidden;padding-bottom:.5em;border-bottom:1px dashed #f5f5f5}.v[data-class="v"] .vcards .vcard .vh .vtime{font-size:.75em;margin-right:.875em}.v[data-class="v"] .vcards .vcard .vh .vmeta{line-height:1;position:relative}.v[data-class="v"] .vcards .vcard .vh .vmeta .vat{font-size:.8125em;color:#ef2f11;cursor:pointer;float:right}.v[data-class="v"] .vcards .vcard:last-child .vh{border-bottom:none}.v[data-class="v"] .vcards .vcard .vcontent{word-wrap:break-word;word-break:break-all;font-size:.875em;line-height:2;position:relative;margin-bottom:.75em;padding-top:.625em}.v[data-class="v"] .vcards .vcard .vcontent.expand{cursor:pointer;max-height:8em;overflow:hidden}.v[data-class="v"] .vcards .vcard .vcontent.expand::before{display:block;content:"";position:absolute;width:100%;left:0;top:0;bottom:3.15em;background:-webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(rgba(255,255,255,0.9)));background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.9));z-index:999}.v[data-class="v"] .vcards .vcard .vcontent.expand::after{display:block;content:attr(data-expand);text-align:center;color:#828586;position:absolute;width:100%;height:3.15em;line-height:3.15em;left:0;bottom:0;z-index:999;background:rgba(255,255,255,0.9)}.v[data-class="v"] .vcards .vcard .vquote{padding-left:1em;border-left:1px dashed rgba(238,238,238,0.5)}.v[data-class="v"] .vcards .vcard .vquote .vimg{width:2.225em;height:2.225em}.v[data-class="v"] .vpage .vmore{margin:1em 0}.v[data-class="v"] .clear{content:\'\';display:block;clear:both}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes pulse{50%{background:#dcdcdc}}@keyframes pulse{50%{background:#dcdcdc}}.v[data-class="v"] .vspinner{width:22px;height:22px;display:inline-block;border:6px double #a0a0a0;border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear;position:relative;vertical-align:middle;margin:0 5px}[data-theme="dark"] .v[data-class="v"] .vinput,[data-theme="dark"] .v[data-class="v"] .veditor,[data-theme="dark"] .v[data-class="v"] p,[data-theme="dark"] .v[data-class="v"] pre code,[data-theme="dark"] .v[data-class="v"] .status-bar,.dark .v[data-class="v"] .vinput,.dark .v[data-class="v"] .veditor,.dark .v[data-class="v"] p,.dark .v[data-class="v"] pre code,.dark .v[data-class="v"] .status-bar,.theme__dark .v[data-class="v"] .vinput,.theme__dark .v[data-class="v"] .veditor,.theme__dark .v[data-class="v"] p,.theme__dark .v[data-class="v"] pre code,.theme__dark .v[data-class="v"] .status-bar,.night .v[data-class="v"] .vinput,.night .v[data-class="v"] .veditor,.night .v[data-class="v"] p,.night .v[data-class="v"] pre code,.night .v[data-class="v"] .status-bar{color:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vtime,[data-theme="dark"] .v[data-class="v"] .vsys,.dark .v[data-class="v"] .vtime,.dark .v[data-class="v"] .vsys,.theme__dark .v[data-class="v"] .vtime,.theme__dark .v[data-class="v"] .vsys,.night .v[data-class="v"] .vtime,.night .v[data-class="v"] .vsys{color:#929298}[data-theme="dark"] .v[data-class="v"] pre,[data-theme="dark"] .v[data-class="v"] code,[data-theme="dark"] .v[data-class="v"] pre code,.dark .v[data-class="v"] pre,.dark .v[data-class="v"] code,.dark .v[data-class="v"] pre code,.theme__dark .v[data-class="v"] pre,.theme__dark .v[data-class="v"] code,.theme__dark .v[data-class="v"] pre code,.night .v[data-class="v"] pre,.night .v[data-class="v"] code,.night .v[data-class="v"] pre code{color:#929298;background-color:#151414}[data-theme="dark"] .v[data-class="v"] .vwrap,.dark .v[data-class="v"] .vwrap,.theme__dark .v[data-class="v"] .vwrap,.night .v[data-class="v"] .vwrap{border-color:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vicon,.dark .v[data-class="v"] .vicon,.theme__dark .v[data-class="v"] .vicon,.night .v[data-class="v"] .vicon{fill:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vicon.actived,.dark .v[data-class="v"] .vicon.actived,.theme__dark .v[data-class="v"] .vicon.actived,.night .v[data-class="v"] .vicon.actived{fill:#66b1ff}[data-theme="dark"] .v[data-class="v"] .vbtn,.dark .v[data-class="v"] .vbtn,.theme__dark .v[data-class="v"] .vbtn,.night .v[data-class="v"] .vbtn{color:#b2b2b5;border-color:#b2b2b5}[data-theme="dark"] .v[data-class="v"] .vbtn:hover,.dark .v[data-class="v"] .vbtn:hover,.theme__dark .v[data-class="v"] .vbtn:hover,.night .v[data-class="v"] .vbtn:hover{color:#66b1ff;border-color:#66b1ff}[data-theme="dark"] .v[data-class="v"] a:hover,.dark .v[data-class="v"] a:hover,.theme__dark .v[data-class="v"] a:hover,.night .v[data-class="v"] a:hover{color:#D7191A}[data-theme="dark"] .v[data-class="v"] .vcards .vcard .vcontent.expand::before,.dark .v[data-class="v"] .vcards .vcard .vcontent.expand::before,.theme__dark .v[data-class="v"] .vcards .vcard .vcontent.expand::before,.night .v[data-class="v"] .vcards .vcard .vcontent.expand::before{background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.7)));background:linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7))}[data-theme="dark"] .v[data-class="v"] .vcards .vcard .vcontent.expand::after,.dark .v[data-class="v"] .vcards .vcard .vcontent.expand::after,.theme__dark .v[data-class="v"] .vcards .vcard .vcontent.expand::after,.night .v[data-class="v"] .vcards .vcard .vcontent.expand::after{background:rgba(0,0,0,0.7)}@media (prefers-color-scheme: dark){.v[data-class="v"] .vinput,.v[data-class="v"] .veditor,.v[data-class="v"] p,.v[data-class="v"] pre code,.v[data-class="v"] .status-bar{color:#b2b2b5}.v[data-class="v"] .vtime,.v[data-class="v"] .vsys{color:#929298}.v[data-class="v"] pre,.v[data-class="v"] code,.v[data-class="v"] pre code{color:#929298;background-color:#151414}.v[data-class="v"] .vwrap{border-color:#b2b2b5}.v[data-class="v"] .vicon{fill:#b2b2b5}.v[data-class="v"] .vicon.actived{fill:#66b1ff}.v[data-class="v"] .vbtn{color:#b2b2b5;border-color:#b2b2b5}.v[data-class="v"] .vbtn:hover{color:#66b1ff;border-color:#66b1ff}.v[data-class="v"] a:hover{color:#D7191A}.v[data-class="v"] .vcards .vcard .vcontent.expand::before{background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.7)));background:linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7))}.v[data-class="v"] .vcards .vcard .vcontent.expand::after{background:rgba(0,0,0,0.7)}}\n',""]),t.exports=e},function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(t)))))," */")}(r);return[n].concat(r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}))).concat([o]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),i(t,e),e}function u(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function l(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var u=y++;n=g||(g=s(e)),r=f.bind(null,n,u,!1),o=f.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),r=d.bind(null,n,e),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=p.bind(null,n),o=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function f(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(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 p(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=w(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),m=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}((function(t){return document.querySelector(t)})),g=null,y=0,b=[],w=n(118);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=o(t,e);return r(n,e),function(t){for(var i=[],a=0;a0?$+S:""}},function(t,e,n){"use strict";var r=n(220),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=i.exec(r))&&u=0;--o){var i,a=t[o];if("[]"===a)i=(i=[]).concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=r:i[s]=r}r=i}return r}(c,e,n)}};t.exports=function(t,e){var n=e?r.assign({},e):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,""===t||null==t)return n.plainObjects?Object.create(null):{};for(var s="string"==typeof t?function(t,e){for(var n={},r=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,s=r.split(e.delimiter,a),c=0;c0?"in "+o:o+" ago":o}}}},function(t,e,n){var r=n(415);t.exports=function(){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],c=["a.m.","p.m."],u={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return n[t.getDay()]},ddd:function(t){return o[t.getDay()]},dddd:function(t){return i[t.getDay()]},A:function(t){return t.getHours()/12>=1?a[1]:a[0]},a:function(t){return t.getHours()/12>=1?s[1]:s[0]},aa:function(t){return t.getHours()/12>=1?c[1]:c[0]}};return["M","D","DDD","d","Q","W"].forEach((function(t){u[t+"o"]=function(e,n){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}(n[t](e))}})),{formatters:u,formattingTokensRegExp:r(u)}}},function(t,e){var n=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];t.exports=function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);var o=n.concat(e).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")}},function(t,e,n){"use strict";var r=n(19),o=n(224),i=n(417),a=n(230);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var c=s(n(138));c.Axios=i,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(231),c.CancelToken=n(431),c.isCancel=n(229),c.all=function(t){return Promise.all(t)},c.spread=n(432),c.isAxiosError=n(433),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(19),o=n(225),i=n(418),a=n(419),s=n(230),c=n(429),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(t);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=t;n.length;){var p=n.shift(),d=n.shift();try{f=p(f)}catch(t){d(t);break}}try{o=a(f)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(19);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(19),o=n(420),i=n(229),a=n(138);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(19),o=n(138);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},function(t,e,n){"use strict";var r=n(19);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(228);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(19);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(425),o=n(426);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(19),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(19);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(430),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]0;){var i=r[o],a=e[i];if(a){var s=t[i],c=void 0===s||a(s,i,t);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(t,e,n){"use strict";var r=n(231);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){},function(t,e,n){"use strict";n(232)},function(t,e,n){},function(t,e,n){t.exports=function(t){function e(t){let n,o,i,a=null;function s(...t){if(!s.enabled)return;const r=s,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let a=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,o)=>{if("%%"===n)return"%";a++;const i=e.formatters[o];if("function"==typeof i){const e=t[a];n=i.call(r,e),t.splice(a,1),a--}return n}),e.formatArgs.call(r,t);(r.log||e.log).apply(r,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=r,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==e.namespaces&&(o=e.namespaces,i=e.enabled(t)),i),set:t=>{a=t}}),"function"==typeof e.init&&e.init(s),s}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(n=0;n{e[n]=t[n]}),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}t.exports=function(t,e){e=e||{};var s=typeof t;if("string"===s&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===s&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=i)return a(t,e,i,"day");if(e>=o)return a(t,e,o,"hour");if(e>=r)return a(t,e,r,"minute");if(e>=n)return a(t,e,n,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=i)return Math.round(t/i)+"d";if(e>=o)return Math.round(t/o)+"h";if(e>=r)return Math.round(t/r)+"m";if(e>=n)return Math.round(t/n)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){},function(t,e,n){n(1)({target:"Number",stat:!0},{isFinite:n(441)})},function(t,e,n){var r=n(3).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},function(t,e,n){"use strict";n(233)},function(t,e,n){"use strict";n(234)},function(t,e,n){"use strict";n(237)},function(t,e,n){"use strict";n(238)},function(t,e,n){"use strict";n.r(e);n(149),n(260),n(270),n(272);var r=n(56),o=(n(119),n(37),n(16),n(21),n(24),n(44),n(25),n(0));function i(t,e){for(var n in e)t[n]=e[n];return t}var a=/[!'()*]/g,s=function(t){return"%"+t.charCodeAt(0).toString(16)},c=/%2C/g,u=function(t){return encodeURIComponent(t).replace(a,s).replace(c,",")};function l(t){try{return decodeURIComponent(t)}catch(t){0}return t}var f=function(t){return null==t||"object"==typeof t?t:String(t)};function p(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=l(n.shift()),o=n.length>0?l(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return u(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(u(e)):r.push(u(e)+"="+u(t)))})),r.join("&")}return u(e)+"="+u(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var h=/\/?$/;function v(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=m(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:b(e,o),matched:t?y(t):[]};return n&&(a.redirectedFrom=b(n,o)),Object.freeze(a)}function m(t){if(Array.isArray(t))return t.map(m);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=m(t[n]);return e}return t}var g=v(null,{path:"/"});function y(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function b(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||d)(r)+o}function w(t,e,n){return e===g?t===e:!!e&&(t.path&&e.path?t.path.replace(h,"")===e.path.replace(h,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n];if(r[o]!==n)return!1;var a=e[n];return null==i||null==a?i===a:"object"==typeof i&&"object"==typeof a?_(i,a):String(i)===String(a)}))}function x(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),l=e&&e.path||"/",d=u.path?C(u.path,l,n||o.append):l,h=function(t,e,n){void 0===e&&(e={});var r,o=n||p;try{r=o(t||"")}catch(t){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(f):f(a)}return r}(u.query,o.query,r&&r.options.parseQuery),v=o.hash||u.hash;return v&&"#"!==v.charAt(0)&&(v="#"+v),{_normalized:!0,path:d,query:h,hash:v}}var W,Q=function(){},G={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,c=o.href,u={},l=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==l?"router-link-active":l,d=null==f?"router-link-exact-active":f,m=null==this.activeClass?p:this.activeClass,g=null==this.exactActiveClass?d:this.exactActiveClass,y=s.redirectedFrom?v(null,H(s.redirectedFrom),null,n):s;u[g]=w(r,y,this.exactPath),u[m]=this.exact||this.exactPath?u[g]:function(t,e){return 0===t.path.replace(h,"/").indexOf(e.path.replace(h,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,y);var b=u[g]?this.ariaCurrentValue:null,_=function(t){Y(t)&&(e.replace?n.replace(a,Q):n.push(a,Q))},x={click:Y};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=_})):x[this.event]=_;var k={class:u},O=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:s,navigate:_,isActive:u[m],isExactActive:u[g]});if(O){if(1===O.length)return O[0];if(O.length>1||!O.length)return 0===O.length?t():t("span",{},O)}if("a"===this.tag)k.on=x,k.attrs={href:c,"aria-current":b};else{var C=function t(e){var n;if(e)for(var r=0;r-1&&(s.params[p]=n.params[p]);return s.path=V(l.path,s.params),c(l,s,a)}if(s.path){s.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}var _t={redirected:2,aborted:4,cancelled:8,duplicated:16};function xt(t,e){return Ot(t,e,_t.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Ct.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function kt(t,e){return Ot(t,e,_t.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ot(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var Ct=["params","query","hash"];function St(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function $t(t,e){return St(t)&&t._isRouter&&(null==e||t.type===e)}function jt(t){return function(e,n,r){var o=!1,i=0,a=null;At(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,i++;var c,u=It((function(e){var o;((o=e).__esModule||Tt&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:W.extend(e),n.components[s]=e,--i<=0&&r()})),l=It((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=St(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"==typeof f.then&&f.then(u,l)}}})),o||r()}}function At(t,e){return Et(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Et(t){return Array.prototype.concat.apply([],t)}var Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function It(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Pt=function(t,e){this.router=t,this.base=function(t){if(!t)if(K){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Rt(t,e,n,r){var o=At(t,(function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=W.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,o,i)})):n(a,r,o,i)}));return Et(r?o.reverse():o)}function Mt(t,e){if(e)return function(){return t.apply(e,arguments)}}Pt.prototype.listen=function(t){this.cb=t},Pt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Pt.prototype.onError=function(t){this.errorCbs.push(t)},Pt.prototype.transitionTo=function(t,e,n){var r,o=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var i=this.current;this.confirmTransition(r,(function(){o.updateRoute(r),e&&e(r),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(r,i)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!o.ready&&($t(t,_t.redirected)&&i===g||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},Pt.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var i,a,s=function(t){!$t(t)&&St(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},c=t.matched.length-1,u=o.matched.length-1;if(w(t,o)&&c===u&&t.matched[c]===o.matched[u])return this.ensureURL(),s(((a=Ot(i=o,t,_t.duplicated,'Avoided redundant navigation to current location: "'+i.fullPath+'".')).name="NavigationDuplicated",a));var l=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=gt&&n;r&&this.listeners.push(st());var o=function(){var n=t.current,o=zt(t.base);t.current===g&&o===t._startLocation||t.transitionTo(o,(function(t){r&&ct(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){yt(S(r.base+t.fullPath)),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){bt(S(r.base+t.fullPath)),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(zt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?yt(e):bt(e)}},e.prototype.getCurrentLocation=function(){return zt(this.base)},e}(Pt);function zt(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(S(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Ft=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=zt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Nt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=gt&&e;n&&this.listeners.push(st());var r=function(){var e=t.current;Nt()&&t.transitionTo(Dt(),(function(r){n&&ct(t.router,r,e,!0),gt||Bt(r.fullPath)}))},o=gt?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){qt(t.fullPath),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){Bt(t.fullPath),ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Dt()!==e&&(t?qt(e):Bt(e))},e.prototype.getCurrentLocation=function(){return Dt()},e}(Pt);function Nt(){var t=Dt();return"/"===t.charAt(0)||(Bt("/"+t),!1)}function Dt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Ut(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function qt(t){gt?yt(Ut(t)):window.location.hash=t}function Bt(t){gt?bt(Ut(t)):window.location.replace(Ut(t))}var Vt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){$t(t,_t.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Pt),Ht=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!gt&&!1!==t.fallback,this.fallback&&(e="hash"),K||(e="abstract"),this.mode=e,e){case"history":this.history=new Lt(this,t.base);break;case"hash":this.history=new Ft(this,t.base,this.fallback);break;case"abstract":this.history=new Vt(this,t.base);break;default:0}},Wt={currentRoute:{configurable:!0}};function Qt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Ht.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Wt.currentRoute.get=function(){return this.history&&this.history.current},Ht.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof Lt||n instanceof Ft){var r=function(t){n.setupListeners(),function(t){var r=n.current,o=e.options.scrollBehavior;gt&&o&&"fullPath"in t&&ct(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Ht.prototype.beforeEach=function(t){return Qt(this.beforeHooks,t)},Ht.prototype.beforeResolve=function(t){return Qt(this.resolveHooks,t)},Ht.prototype.afterEach=function(t){return Qt(this.afterHooks,t)},Ht.prototype.onReady=function(t,e){this.history.onReady(t,e)},Ht.prototype.onError=function(t){this.history.onError(t)},Ht.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Ht.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Ht.prototype.go=function(t){this.history.go(t)},Ht.prototype.back=function(){this.go(-1)},Ht.prototype.forward=function(){this.go(1)},Ht.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Ht.prototype.resolve=function(t,e,n){var r=H(t,e=e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},Ht.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ht.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Ht.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ht.prototype,Wt),Ht.install=function t(e){if(!t.installed||W!==e){t.installed=!0,W=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",k),e.component("RouterLink",G);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Ht.version="3.5.2",Ht.isNavigationFailure=$t,Ht.NavigationFailureType=_t,Ht.START_LOCATION=g,K&&window.Vue&&window.Vue.use(Ht);var Gt=Ht;n(176),n(177),n(178),n(77),n(276),n(52),n(53),n(277);function Yt(t){t.locales&&Object.keys(t.locales).forEach((function(e){t.locales[e].path=e})),Object.freeze(t)}var Kt=n(7),Jt=n(61);n(121);n(54),n(69),n(97);var Xt=n(104);function Zt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||Object(Xt.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n(189),n(140);var te=n(239),ee=n.n(te),ne={created:function(){if(this.siteMeta=this.$site.headTags.filter((function(t){return"meta"===Zt(t,1)[0]})).map((function(t){var e=Zt(t,2);e[0];return e[1]})),this.$ssrContext){var t=this.getMergedMetaTags();this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.pageMeta=(e=t)?e.map((function(t){var e=""})).join("\n "):"",this.$ssrContext.canonicalLink=oe(this.$canonicalUrl)}var e},mounted:function(){this.currentMetaTags=Object(Jt.a)(document.querySelectorAll("meta")),this.updateMeta(),this.updateCanonicalLink()},methods:{updateMeta:function(){document.title=this.$title,document.documentElement.lang=this.$lang;var t=this.getMergedMetaTags();this.currentMetaTags=ie(t,this.currentMetaTags)},getMergedMetaTags:function(){var t=this.$page.frontmatter.meta||[];return ee()([{name:"description",content:this.$description}],t,this.siteMeta,ae)},updateCanonicalLink:function(){re(),this.$canonicalUrl&&document.head.insertAdjacentHTML("beforeend",oe(this.$canonicalUrl))}},watch:{$page:function(){this.updateMeta(),this.updateCanonicalLink()}},beforeDestroy:function(){ie(null,this.currentMetaTags),re()}};function re(){var t=document.querySelector("link[rel='canonical']");t&&t.remove()}function oe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t?''):""}function ie(t,e){if(e&&Object(Jt.a)(e).filter((function(t){return t.parentNode===document.head})).forEach((function(t){return document.head.removeChild(t)})),t)return t.map((function(t){var e=document.createElement("meta");return Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])})),document.head.appendChild(e),e}))}function ae(t){for(var e=0,n=["name","property","itemprop"];e=s.parentElement.offsetTop+10&&(!c||r1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(t){function e(){}t(e,e)},o=function(t){var e=t.target;e!==C?-1!==b.indexOf(e)&&v({target:e}):h()},i=function(){if(!_&&O.original){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(x-t)>k.scrollOffset&&setTimeout(h,150)}},a=function(t){var e=t.key||t.keyCode;"Escape"!==e&&"Esc"!==e&&27!==e||h()},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t;if(t.background&&(C.style.background=t.background),t.container&&t.container instanceof Object&&(e.container=ue({},k.container,t.container)),t.template){var n=fe(t.template)?t.template:document.querySelector(t.template);e.template=n}return k=ue({},k,e),b.forEach((function(t){t.dispatchEvent(me("medium-zoom:update",{detail:{zoom:S}}))})),S},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(ue({},k,e))},u=function(){for(var t=arguments.length,e=Array(t),n=0;n0?e.reduce((function(t,e){return[].concat(t,de(e))}),[]):b;return r.forEach((function(t){t.classList.remove("medium-zoom-image"),t.dispatchEvent(me("medium-zoom:detach",{detail:{zoom:S}}))})),b=b.filter((function(t){return-1===r.indexOf(t)})),S},f=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return b.forEach((function(r){r.addEventListener("medium-zoom:"+t,e,n)})),w.push({type:"medium-zoom:"+t,listener:e,options:n}),S},p=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return b.forEach((function(r){r.removeEventListener("medium-zoom:"+t,e,n)})),w=w.filter((function(n){return!(n.type==="medium-zoom:"+t&&n.listener.toString()===e.toString())})),S},d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=function(){var t={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},e=void 0,n=void 0;if(k.container)if(k.container instanceof Object)e=(t=ue({},t,k.container)).width-t.left-t.right-2*k.margin,n=t.height-t.top-t.bottom-2*k.margin;else{var r=(fe(k.container)?k.container:document.querySelector(k.container)).getBoundingClientRect(),o=r.width,i=r.height,a=r.left,s=r.top;t=ue({},t,{width:o,height:i,left:a,top:s})}e=e||t.width-2*k.margin,n=n||t.height-2*k.margin;var c=O.zoomedHd||O.original,u=pe(c)?e:c.naturalWidth||e,l=pe(c)?n:c.naturalHeight||n,f=c.getBoundingClientRect(),p=f.top,d=f.left,h=f.width,v=f.height,m=Math.min(u,e)/h,g=Math.min(l,n)/v,y=Math.min(m,g),b="scale("+y+") translate3d("+((e-h)/2-d+k.margin+t.left)/y+"px, "+((n-v)/2-p+k.margin+t.top)/y+"px, 0)";O.zoomed.style.transform=b,O.zoomedHd&&(O.zoomedHd.style.transform=b)};return new r((function(t){if(e&&-1===b.indexOf(e))t(S);else{if(O.zoomed)t(S);else{if(e)O.original=e;else{if(!(b.length>0))return void t(S);var r=b;O.original=r[0]}if(O.original.dispatchEvent(me("medium-zoom:open",{detail:{zoom:S}})),x=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,_=!0,O.zoomed=ve(O.original),document.body.appendChild(C),k.template){var o=fe(k.template)?k.template:document.querySelector(k.template);O.template=document.createElement("div"),O.template.appendChild(o.content.cloneNode(!0)),document.body.appendChild(O.template)}if(document.body.appendChild(O.zoomed),window.requestAnimationFrame((function(){document.body.classList.add("medium-zoom--opened")})),O.original.classList.add("medium-zoom-image--hidden"),O.zoomed.classList.add("medium-zoom-image--opened"),O.zoomed.addEventListener("click",h),O.zoomed.addEventListener("transitionend",(function e(){_=!1,O.zoomed.removeEventListener("transitionend",e),O.original.dispatchEvent(me("medium-zoom:opened",{detail:{zoom:S}})),t(S)})),O.original.getAttribute("data-zoom-src")){O.zoomedHd=O.zoomed.cloneNode(),O.zoomedHd.removeAttribute("srcset"),O.zoomedHd.removeAttribute("sizes"),O.zoomedHd.src=O.zoomed.getAttribute("data-zoom-src"),O.zoomedHd.onerror=function(){clearInterval(i),console.warn("Unable to reach the zoom image target "+O.zoomedHd.src),O.zoomedHd=null,n()};var i=setInterval((function(){O.zoomedHd.complete&&(clearInterval(i),O.zoomedHd.classList.add("medium-zoom-image--opened"),O.zoomedHd.addEventListener("click",h),document.body.appendChild(O.zoomedHd),n())}),10)}else if(O.original.hasAttribute("srcset")){O.zoomedHd=O.zoomed.cloneNode(),O.zoomedHd.removeAttribute("sizes"),O.zoomedHd.removeAttribute("loading");var a=O.zoomedHd.addEventListener("load",(function(){O.zoomedHd.removeEventListener("load",a),O.zoomedHd.classList.add("medium-zoom-image--opened"),O.zoomedHd.addEventListener("click",h),document.body.appendChild(O.zoomedHd),n()}))}else n()}}}))},h=function(){return new r((function(t){if(!_&&O.original){_=!0,document.body.classList.remove("medium-zoom--opened"),O.zoomed.style.transform="",O.zoomedHd&&(O.zoomedHd.style.transform=""),O.template&&(O.template.style.transition="opacity 150ms",O.template.style.opacity=0),O.original.dispatchEvent(me("medium-zoom:close",{detail:{zoom:S}})),O.zoomed.addEventListener("transitionend",(function e(){O.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(O.zoomed),O.zoomedHd&&document.body.removeChild(O.zoomedHd),document.body.removeChild(C),O.zoomed.classList.remove("medium-zoom-image--opened"),O.template&&document.body.removeChild(O.template),_=!1,O.zoomed.removeEventListener("transitionend",e),O.original.dispatchEvent(me("medium-zoom:closed",{detail:{zoom:S}})),O.original=null,O.zoomed=null,O.zoomedHd=null,O.template=null,t(S)}))}else t(S)}))},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target;return O.original?h():d({target:e})},m=function(){return k},g=function(){return b},y=function(){return O.original},b=[],w=[],_=!1,x=0,k=n,O={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(e)?k=e:(e||"string"==typeof e)&&u(e),k=ue({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},k);var C=he(k.background);document.addEventListener("click",o),document.addEventListener("keyup",a),document.addEventListener("scroll",i),window.addEventListener("resize",h);var S={open:d,close:h,toggle:v,update:s,clone:c,attach:u,detach:l,on:f,off:p,getOptions:m,getImages:g,getZoomedImage:y};return S},be={data:function(){return{zoom:null}},mounted:function(){this.updateZoom()},updated:function(){this.updateZoom()},methods:{updateZoom:function(){var t=this;setTimeout((function(){t.zoom&&t.zoom.detach(),t.zoom=ye(".theme-reco-content :not(a) > img",void 0)}),1e3)}}},we=(n(106),n(105)),_e=n.n(we),xe={mounted:function(){var t=this;_e.a.configure({showSpinner:!1}),this.$router.beforeEach((function(t,e,n){t.path===e.path||o.default.component(t.name)||_e.a.start(),n()})),this.$router.afterEach((function(){_e.a.done(),t.isSidebarOpen=!1}))}},ke=n(241),Oe=n.n(ke),Ce={mounted:function(){Oe.a.polyfill()}},Se=(n(122),n(242)),$e=n.n(Se);var je=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return new Promise((function(e,n){ge||((ge=document.createElement("div")).style.display="none",document.body.appendChild(ge));var r=new $e.a(ge,{text:function(){return t}}),o=new Event("click");r.on("success",(function(){e(t),r.destroy()})),r.on("error",(function(t){n(t.action),r.destroy()})),ge.dispatchEvent(o)}))},Ae={props:{copyText:String,code:String},methods:{copyClick:function(){var t=function(t){0};this.$message({time:3e3,content:"复制成功!",title:"Tips"}),je(this.code).then((function(e){return t})).catch(t)}}},Ee=(n(381),n(382),n(8)),Te=Object(Ee.a)(Ae,(function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("span",{ref:"btn",staticClass:"v-copy-code-btn",on:{click:this.copyClick}},[this._v(this._s(this.copyText))])])}),[],!1,null,"a4cb51ca",null).exports,Ie=[ne,ce,be,xe,Ce,{updated:function(){var t=this;setTimeout((function(){t.$copyUpdates()}),0)},methods:{$copyUpdates:function(){Array.from(document.querySelectorAll('div[class*="language-"] pre')).forEach((function(t){var e=t;if(!/v-copy/.test(e.className)){var n=new(o.default.extend(Te));n.copyText="复制代码",n.code=e.textContent,n.$mount(),e.className+=" v-copy",e.parentElement.appendChild(n.$el)}}))}}}],Pe={name:"GlobalLayout",computed:{layout:function(){var t=this.getLayout();return Object(Kt.i)("layout",t),o.default.component(t)}},methods:{getLayout:function(){if(this.$page.path){var t=this.$page.frontmatter.layout;return t&&(this.$vuepress.getLayoutAsyncComponent(t)||this.$vuepress.getVueComponent(t))?t:"Layout"}return"NotFound"}}},Re=Object(Ee.a)(Pe,(function(){var t=this.$createElement;return(this._self._c||t)(this.layout,{tag:"component"})}),[],!1,null,null,null).exports;Object(Kt.g)(Re,"mixins",Ie);var Me=[{name:"v-10d900e8",path:"/docs/faq/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-10d900e8").then(n)}},{path:"/docs/faq/index.html",redirect:"/docs/faq/"},{name:"v-3cc1e510",path:"/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-3cc1e510").then(n)}},{path:"/index.html",redirect:"/"},{name:"v-bc3078f0",path:"/docs/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-bc3078f0").then(n)}},{path:"/docs/index.html",redirect:"/docs/"},{name:"v-2c5ec342",path:"/docs/development/plugins.html",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Layout","v-2c5ec342").then(n)}},{name:"v-b1564aac",path:"/tag/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("Tags","v-b1564aac").then(n)},meta:{pid:"tags",id:"tags"}},{path:"/tag/index.html",redirect:"/tag/"},{name:"v-ef9325c4",path:"/categories/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("FrontmatterKey","v-ef9325c4").then(n)},meta:{pid:"categories",id:"categories"}},{path:"/categories/index.html",redirect:"/categories/"},{name:"v-6319eb4e",path:"/timeline/",component:Re,beforeEnter:function(t,e,n){Object(Kt.a)("TimeLines","v-6319eb4e").then(n)},meta:{pid:"timeline",id:"timeline"}},{path:"/timeline/index.html",redirect:"/timeline/"},{path:"*",component:Re}],Le={title:"绪山真寻Bot",description:"这是个绪山真寻Bot的部署教程",base:"/zhenxun_bot/",headTags:[["link",{rel:"icon",href:"/zhenxun_bot/favicon.ico"}],["meta",{name:"viewport",content:"width=device-width,initial-scale=1,user-scalable=no"}]],pages:[{frontmatter:{},regularPath:"/docs/faq/",relativePath:"docs/faq/README.md",key:"v-10d900e8",path:"/docs/faq/"},{title:"Home",frontmatter:{home:!0,heroText:null,tagline:null,bgImageStyle:{"background-image":"url(background.png)",height:"890px"}},regularPath:"/",relativePath:"README.md",key:"v-3cc1e510",path:"/"},{title:"你好,这里是绪山真寻",frontmatter:{title:"你好,这里是绪山真寻",subSidebar:!1},regularPath:"/docs/",relativePath:"docs/README.md",key:"v-bc3078f0",path:"/docs/",headers:[{level:2,title:"关于",slug:"关于"},{level:2,title:"使用以OneBot协议为准的框架",slug:"使用以onebot协议为准的框架"},{level:2,title:"数据库",slug:"数据库"},{level:2,title:"推荐的部署系统",slug:"推荐的部署系统"},{level:2,title:"吹水聊天",slug:"吹水聊天"},{level:2,title:"救命!我部署或使用出了问题!",slug:"救命-我部署或使用出了问题"}]},{frontmatter:{},regularPath:"/docs/development/plugins.html",relativePath:"docs/development/plugins.md",key:"v-2c5ec342",path:"/docs/development/plugins.html",headers:[{level:2,title:"简介",slug:"简介"},{level:2,title:"__zx_plugin_name__",slug:"zx-plugin-name"},{level:2,title:"__plugin_usage__",slug:"plugin-usage"},{level:2,title:"__plugin_super_usage__",slug:"plugin-super-usage"},{level:2,title:"__plugin_des__",slug:"plugin-des"},{level:2,title:"__plugin_cmd__",slug:"plugin-cmd"},{level:2,title:"__plugin_settings__",slug:"plugin-settings"},{level:2,title:"__plugin_task__",slug:"plugin-task"},{level:2,title:"__plugin_type__",slug:"plugin-type"},{level:2,title:"__plugin_version__",slug:"plugin-version"},{level:2,title:"__plugin_author__",slug:"plugin-author"},{level:2,title:"__plugin_cd_limit__",slug:"plugin-cd-limit"},{level:2,title:"__plugin_block_limit__",slug:"plugin-block-limit"},{level:2,title:"__plugin_count_limit__",slug:"plugin-count-limit"},{level:2,title:"__plugin_configs__",slug:"plugin-configs"}]},{frontmatter:{layout:"Tags",title:"Tags"},regularPath:"/tag/",key:"v-b1564aac",path:"/tag/"},{frontmatter:{layout:"FrontmatterKey",title:"Categories"},regularPath:"/categories/",key:"v-ef9325c4",path:"/categories/"},{frontmatter:{layout:"TimeLines",title:"Timeline"},regularPath:"/timeline/",key:"v-6319eb4e",path:"/timeline/"}],themeConfig:{mode:"light",subSidebar:"auto",nav:[{text:"首页",link:"/",icon:"reco-home"},{text:"安装文档",link:"/timeline/",icon:"reco-document"},{text:"使用文档",link:"",icon:"reco-document"},{text:"开发文档",link:"/docs/development/plugins",icon:"reco-document"},{text:"FAQ",link:"/docs/faq/",icon:"reco-faq"},{text:"关于",link:"/docs/",icon:"reco-faq"},{text:"GitHub",link:"https://github.com/HibiKier/zhenxun_bot",icon:"reco-github"}],sidebar:{"/docs/development/":[["plugins","插件标准"]]},type:"blog",friendLink:[],logo:"/logo.png",search:!0,searchMaxSuggestions:10,lastUpdated:"Last Updated",author:"hibikier",authorAvatar:"https://s.gravatar.com/avatar/27d0f38d5b14cf1ae60da1522a9a246e?s=80",record:"xxxx",startYear:"2021"}},ze=(n(60),n(248),n(249),n(75),n(250),n(72)),Fe={computed:{$recoPosts:function(){var t=this.$site.pages;return t=Object(ze.a)(t,!1),Object(ze.c)(t),t},$recoPostsForTimeline:function(){var t=this.$recoPosts,e={},n=[];t=Object(ze.a)(t,!0),this.pages=0==t.length?[]:t;for(var r=0,o=t.length;r-1)&&([o,i].indexOf("auto")>-1&&a.length>0||[e,n].indexOf("auto")>-1&&a.length>0)}}};function Ne(t,e){t=function(t){var e=new Date(t).toJSON();return new Date(+new Date(e)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"").replace(/-/g,"/")}(t);var n=new Date(t),r=n.getFullYear(),o=n.getMonth()+1,i=n.getDate();return"year"==e?r:"".concat(o,"-").concat(i)}var De=n(12),Ue={all:"全部",article:"文章",tag:"标签",category:"分类",friendLink:"友情链接",timeLine:"时间轴",timeLineMsg:"昨日重现!"},qe={all:"全部",article:"文章",tag:"標簽",category:"分類",friendLink:"友情鏈接",timeLine:"時間軸",timeLineMsg:"昨日重現!"},Be={all:"All",article:"Articles",tag:"Tags",category:"Categories",friendLink:"Friend Links",timeLine:"TimeLine",timeLineMsg:"Yesterday Once More!"},Ve={all:"全部",article:"文章",tag:"ラベル",category:"分類",friendLink:"友情リンク",timeLine:"タイムライン",timeLineMsg:"昨日また!"},He={all:"전체",article:"글",tag:"태그",category:"분류",friendLink:"링크 참조",timeLine:"타임 라인",timeLineMsg:"어제 또!"},We={all:"Todas",article:"Artículos",tag:"Etiquetas",category:"Categorías",friendLink:"Páginas amigas",timeLine:"Cronología",timeLineMsg:"¡Ayer otra vez!"},Qe={computed:{$recoLocales:function(){var t=this.$themeLocaleConfig.recoLocales||{};return/^zh\-(CN|SG)$/.test(this.$lang)?Object(De.a)(Object(De.a)({},Ue),t):/^zh\-(HK|MO|TW)$/.test(this.$lang)?Object(De.a)(Object(De.a)({},qe),t):/^ja\-JP$/.test(this.$lang)?Object(De.a)(Object(De.a)({},Ve),t):/^ko\-KR$/.test(this.$lang)?Object(De.a)(Object(De.a)({},He),t):/^es(\-[A-Z]+)?$/.test(this.$lang)?Object(De.a)(Object(De.a)({},We),t):Object(De.a)(Object(De.a)({},Be),t)}}},Ge=n(29),Ye=n(76),Ke=n(139);n(392);o.default.component("Badge",(function(){return Promise.all([n.e(0),n.e(9)]).then(n.bind(null,548))}));n(393);var Je={name:"BackToTop",data:function(){return{visible:!1,customStyle:{right:"1rem",bottom:"6rem",width:"2.5rem",height:"2.5rem","border-radius":".25rem","line-height":"2.5rem"},visibilityHeight:400}},mounted:function(){window.addEventListener("scroll",this.throttle(this.handleScroll,500))},beforeDestroy:function(){window.removeEventListener("scroll",this.throttle(this.handleScroll,500))},methods:{handleScroll:function(){this.visible=window.pageYOffset>this.visibilityHeight},backToTop:function(){window.scrollTo(0,0)},throttle:function(t,e){var n=null,r=Date.now();return function(){var o=Date.now(),i=e-(o-r),a=this,s=arguments;clearTimeout(n),i<=0?(t.apply(a,s),r=Date.now()):n=setTimeout(t,i)}}}},Xe=(n(394),Object(Ee.a)(Je,(function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"back-to-ceiling",style:this.customStyle,on:{click:this.backToTop}},[e("svg",{staticClass:"icon",attrs:{t:"1574745035067",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5404"}},[e("path",{attrs:{d:"M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z","p-id":"5405"}}),e("path",{attrs:{d:"M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z","p-id":"5406"}})])])])}),[],!1,null,"c6073ba8",null).exports),Ze=(n(395),Object(Ee.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"loader-wrapper"}},[n("div",{staticClass:"loader-main"},t._l(4,(function(t){return n("div",{key:"out"+t})})),0),t._v(" "),t.$frontmatter.home?n("h3",{staticClass:"title"},[t._v(t._s(t.$site.title||t.$localeConfig.title))]):t._e(),t._v(" "),t.$frontmatter.home?n("p",{staticClass:"description"},[t._v(t._s(t.$site.description||t.$localeConfig.description))]):t._e()])}),[],!1,null,"d48f4d20",null).exports),tn=(n(217),n(246),{prev:"上一页",next:"下一页",go:"前往",jump:"跳转至"}),en={prev:"上壹頁",next:"下壹頁",go:"前往",jump:"跳轉至"},nn={prev:"Prev",next:"Next",go:"Go",jump:"Jump To"},rn={prev:"前のページ",next:"次のページ",go:"へ",jump:"ジャンプ"},on={prev:"이전 페이지",next:"다음 페이지",go:"행",jump:"건너뛰기"};var an={data:function(){return{changePage:"",pageSize:10}},props:{total:{type:Number,default:10},perPage:{type:Number,default:10},currentPage:{type:Number,default:1}},computed:{pages:function(){var t=this.pageSize||this.perPage;return Math.ceil(this.total/t)},show:function(){return this.pages&&1!=this.pages},efont:function(){return!(this.pages<=7)&&this.currentPage>5},indexs:function(){var t=1,e=this.pages,n=[];for(this.pages>=7&&(this.currentPage>5&&this.currentPage1&&this.emit(--t)},goNext:function(){var t=this.currentPage;t0?this.emit(e):alert("请输入大于0,并且小于".concat(this.pages,"的页码!"))},emit:function(t){this.$emit("getCurrentPage",t)}}},sn=(n(398),Object(Ee.a)(an,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"pagation"},[n("div",{staticClass:"pagation-list"},[n("span",{directives:[{name:"show",rawName:"v-show",value:t.currentPage>1,expression:"currentPage > 1"}],staticClass:"jump",attrs:{unselectable:"on"},on:{click:t.goPrev}},[t._v(t._s(t.pagationLocales.prev))]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"jump",on:{click:function(e){return t.jumpPage(1)}}},[t._v("1")]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"ellipsis"},[t._v("...")]),t._v(" "),t._l(t.indexs,(function(e){return n("span",{key:e,staticClass:"jump",class:{bgprimary:t.currentPage==e},on:{click:function(n){return t.jumpPage(e)}}},[t._v(t._s(e))])})),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont&&t.currentPageObject(wn.stringify)(t),xn=(t,e)=>`${t}${Object(wn.stringify)(e,{addQueryPrefix:!0})}`,kn=(t,e)=>`${t.replace(/\/$/,"")}/${e.replace(/^\//,"")}`;var On=n(243),Cn=n.n(On);const Sn=t=>Cn()(t,"YYYY-MM-DD HH:mm:ss"),$n=t=>(t.split("#")[0]||"").split("?")[0]||"",jn=t=>Object(wn.parse)(t,{ignoreQueryPrefix:!0}) /*! * vue-i18n v8.26.5 * (c) 2021 kazuya kawaguchi @@ -77,4 +77,4 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. -***************************************************************************** */function kr(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}var Or=o.default.extend({name:"Iconfont"});function Cr(t,e,n,r,o,i,a,s,c,u){"boolean"!=typeof a&&(c=s,s=a,a=!1);const l="function"==typeof n?n.options:n;let f;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=f):e&&(f=a?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),f)if(l.functional){const t=l.render;l.render=function(e,n){return f.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,f):[f]}return n}"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());const Sr=Cr({render:function(t,e){var n=e._c;return n("svg",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[n("symbol",{attrs:{id:"vssue-icon-bitbucket",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M579.5522464 489.45249493q4.8371808 38.38537173-30.81752427 61.55702827t-67.95459093 3.66689493q-23.79580907-10.37653333-32.6119616-35.34262826t-0.31207573-50.01020907 31.67573333-35.34262827q21.92335253-11.00068587 44.1587808-7.33379093t39.00952427 21.61127573 16.77409493 41.1160384zM647.19476053 476.65737173q-8.50407573-65.22392427-68.8908192-99.9424t-120.07131413-7.9579424q-38.38537173 17.08617173-61.24495253 53.9111616t-21.0651424 78.95527574q2.41859093 55.4715424 47.20152426 94.48106666t100.87862827 34.1723424q55.4715424-4.8371808 92.60860907-51.18049493t30.50544746-102.43900907zM792.93434133 146.32472427q-12.17097173-16.4620192-34.1723424-27.15062827t-35.34262826-13.41927573-43.30057174-7.64586667q-177.33729493-28.63299093-345.00022826 1.24830507-26.2144 4.29104747-40.25782827 7.33379093t-33.54819093 13.41927573-30.50544747 26.2144q18.2564576 17.08617173 46.34331413 27.6967616t44.78293334 13.41927574 53.36502826 7.02171413q138.95192427 17.71032427 273.06666667 0.62415253 38.38537173-4.8371808 54.53531413-7.33379093t44.1587808-13.1072 45.7191616-28.32091413zM827.65281813 777.10872427q-4.8371808 15.83786667-9.44030506 46.65539093t-8.50407574 51.18049493-17.39824746 42.6764192-35.34262827 34.4064q-52.4288 29.2571424-115.46819093 43.61264747t-123.1140576 13.41927573-122.8019808-11.3127616q-28.0088384-4.8371808-49.69813334-11.00068586t-46.65539093-16.4620192-44.4708576-26.52647574-31.67573333-37.4491424q-15.21371413-58.51428587-34.71847574-177.96144746l3.66689494-9.7523808 11.00068586-5.46133334q135.9091808 90.1900192 308.72137174 90.1900192t309.34552426-90.1900192q12.79512427 3.66689493 14.5895616 14.04342827t-3.0427424 27.46270507-4.8371808 22.54750506zM937.97175147 191.41973333q-15.83786667 101.8148576-67.64251414 399.22346667-3.0427424 18.2564576-16.4620192 34.1723424t-26.52647573 24.3419424-33.23611413 18.88060907q-153.61950507 76.7707424-371.8387808 53.67710506-151.12289493-16.4620192-240.14262827-84.72868586-9.12822827-7.33379093-15.52579093-16.1499424t-10.37653334-21.2992-5.46133333-20.75306667-3.66689493-24.10788587-3.3548192-21.2992q-5.46133333-30.50544747-16.1499424-91.43832426t-17.08617174-98.4600384-14.35550506-89.8779424-13.41927574-96.27550507q1.7944384-15.83786667 10.68860907-29.5692192t19.19268587-22.8595808 27.46270506-18.2564576 28.0088384-13.73135253 29.2571424-11.3127616q76.22460907-28.0088384 190.75657174-39.00952427 231.0144-22.54750507 412.01859093 30.50544747 94.48106667 28.0088384 131.072 74.35215253 9.7523808 12.17097173 10.0644576 31.0515808t-3.3548192 32.9240384z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitea",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M184.31868985 236.10860742C106.94832667 235.94086648 3.32655508 285.13080468 9.02973665 408.46209936c8.93218827 192.65010787 206.32096845 210.5144844 285.20099725 212.06608453 8.63864186 36.14810496 101.48307766 160.77938883 170.21479898 167.32127321h301.09442177c180.57278288-11.99345499 315.77172611-546.07960359 215.54670217-548.09249109-165.7696721 7.79993906-264.02374305 11.74184405-348.27147151 12.41280591v166.69224585l-26.25140843-11.61603761-0.16773997-154.99233728c-96.70246985-0.04193548-181.83083757-4.52899687-343.4069947-12.49667687-20.21274496-0.12580547-48.39316992-3.5644886-78.67035236-3.64835859z m10.94507577 68.14462849h9.22573371c10.98701124 98.75729283 28.85138778 156.50200291 64.99949274 244.73357185-92.25734394-10.90314029-170.75995634-37.69970509-185.18564974-137.75698809-7.46445813-51.78991757 17.69663558-105.84433456 110.96042329-107.01851827z m358.83913087 97.07988723c6.29027343 0.08386999 12.70635233 1.25805468 18.74501482 4.02577499l31.40943263 13.54505513-22.51917887 41.05451824a28.18042496 25.03528825 0 0 0-10.10637297 1.59353561 28.18042496 25.03528825 0 0 0-16.98373825 32.038459 28.18042496 25.03528825 0 0 0 4.69673781 7.29671718l-38.83195528 70.70267333a28.18042496 25.03528825 0 0 0-9.30960467 1.59353659 28.18042496 25.03528825 0 0 0-16.98373825 32.038459 28.18042496 25.03528825 0 0 0 36.06423497 15.09665623 28.18042496 25.03528825 0 0 0 16.94180276-32.08039449 28.18042496 25.03528825 0 0 0-6.62575434-9.22573468l37.82551056-68.85752581a28.18042496 25.03528825 0 0 0 12.28700044-1.25805469 28.18042496 25.03528825 0 0 0 8.93218826-4.69673783c14.59343435 6.12253248 26.54495386 11.11281671 35.14166122 15.34826717 12.91602778 6.37414341 17.48696012 10.60959485 18.87082027 15.30633169 1.38386015 4.61286685-0.12580547 13.50312062-7.42252263 29.10299872-5.45157063 11.61603859-14.46762889 28.09655497-25.11915823 47.51253164a28.18042496 25.03528825 0 0 0-10.52572486 1.59353659 28.18042496 25.03528825 0 0 0-16.98373826 32.038459 28.18042496 25.03528825 0 0 0 36.06423498 15.09665623 28.18042496 25.03528825 0 0 0 16.94180278-32.03845901 28.18042496 25.03528825 0 0 0-5.74511608-8.47090188c10.52572388-19.20630122 19.58371762-35.72875308 25.41270465-48.14155897 7.88380904-16.85793279 11.99345499-29.39654416 8.38703091-41.51580463-3.60642311-12.11926046-14.67730434-20.0030695-29.35460966-27.25785217-9.6450856-4.73867233-21.68047607-9.77089106-36.06423399-15.80955357a28.18042496 25.03528825 0 0 0-1.59353562-10.022502 28.18042496 25.03528825 0 0 0-6.08059796-8.7644483l22.14176246-40.38355541 122.61839638 52.96410227c22.14176247 9.6031511 31.2836262 33.12877372 20.54822685 52.8382968l-84.28966393 154.32137544c-10.77733482 19.66758857-37.23841869 27.80300855-59.38018118 18.24179293l-173.48574115-74.98005927c-22.14176247-9.5612156-31.32556167-33.12877372-20.54822687-52.83829679l84.28966395-154.27943995c7.38058716-13.54505513 22.22563246-21.59660511 37.951317-22.22563246h2.68384935z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitee",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M978.404275 409.561604H455.061338c-25.117645 0-45.499734 20.382089-45.499734 45.499734l-0.031997 113.781333c0 25.117645 20.350092 45.499734 45.499734 45.531731h318.594132c25.117645 0 45.499734 20.382089 45.499734 45.499735v22.749867a136.5312 136.5312 0 0 1-136.5312 136.5312H250.248539a45.499734 45.499734 0 0 1-45.499734-45.499734V341.343999a136.5312 136.5312 0 0 1 136.5312-136.5312L978.308284 204.780802c25.117645 0 45.499734-20.350092 45.499734-45.467738L1023.904009 45.531731h0.031997A45.499734 45.499734 0 0 0 978.468269 0h-0.031997L341.343999 0.031997C152.84967 0.031997 0.031997 152.84967 0.031997 341.343999v637.092273c0 25.117645 20.382089 45.499734 45.499734 45.499734h671.233072a307.171203 307.171203 0 0 0 307.171203-307.171203v-261.671468c0-25.117645-20.382089-45.499734-45.499734-45.499734z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-github",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M512 20.4425c-278.334 0-504 225.6345-504 504 0 222.6735 144.4275 411.6105 344.673 478.233 25.2 4.662 34.461-10.9305 34.461-24.255 0-12.0015-0.4725-51.723-0.693-93.8385-140.238 30.492-169.8165-59.472-169.8165-59.472-22.932-58.2435-55.944-73.7415-55.944-73.7415-45.738-31.2795 3.465-30.6495 3.465-30.6495 50.589 3.5595 77.238 51.9435 77.238 51.9435 44.9505 77.049 117.9045 54.7785 146.664 41.895 4.5045-32.571 17.577-54.81 32.004-67.41-111.951-12.726-229.635-55.9755-229.635-249.0705 0-55.0305 19.6875-99.981 51.9435-135.2925-5.229-12.6945-22.491-63.945 4.8825-133.371 0 0 42.336-13.545 138.6315 51.66 40.194-11.1825 83.3175-16.758 126.1575-16.9785 42.8085 0.189 85.9635 5.796 126.252 16.9785 96.201-65.205 138.4425-51.66 138.4425-51.66 27.4365 69.426 10.1745 120.6765 4.9455 133.371 32.319 35.28 51.8805 80.262 51.8805 135.2925 0 193.5675-117.9045 236.187-230.139 248.6925 18.081 15.6555 34.1775 46.305 34.1775 93.3345 0 67.4415-0.5985 121.716-0.5985 138.3165 0 13.419 9.072 29.1375 34.6185 24.192 200.151-66.717 344.3895-255.5595 344.3895-478.17 0-278.3655-225.666-504-504-504z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitlab",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M66.61375986 405.11600042L512.11376028 976.03999972 23.84576 621.65599958a39.312 39.312 0 0 1-14.07600042-43.30799944l56.8080007-173.26800028z m259.88400014 0h371.26800014L512.14975986 976.03999972zM215.11376 60.88400042l111.384 344.232H66.61375986l111.384-344.232a19.72800014 19.72800014 0 0 1 37.11600014 0z m742.49999972 344.232l56.8080007 173.2679993a39.23999986 39.23999986 0 0 1-14.07600042 43.30800042l-488.26800028 354.38400014 445.50000042-570.92400028z m0 0h-259.88400014l111.384-344.232a19.72800014 19.72800014 0 0 1 37.11600014 0z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-loading",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M843.307 742.24c0 3.217 2.607 5.824 5.824 5.824s5.824-2.607 5.824-5.824a5.823 5.823 0 0 0-5.824-5.824 5.823 5.823 0 0 0-5.824 5.824zM714.731 874.912c0 6.398 5.186 11.584 11.584 11.584s11.584-5.186 11.584-11.584-5.186-11.584-11.584-11.584-11.584 5.186-11.584 11.584zM541.419 943.2c0 9.614 7.794 17.408 17.408 17.408s17.408-7.794 17.408-17.408-7.794-17.408-17.408-17.408-17.408 7.794-17.408 17.408z m-186.56-9.152c0 12.795 10.373 23.168 23.168 23.168s23.168-10.373 23.168-23.168-10.373-23.168-23.168-23.168-23.168 10.373-23.168 23.168zM189.355 849.12c0 16.012 12.98 28.992 28.992 28.992s28.992-12.98 28.992-28.992-12.98-28.992-28.992-28.992-28.992 12.98-28.992 28.992zM74.731 704.736c0 19.228 15.588 34.816 34.816 34.816s34.816-15.588 34.816-34.816-15.588-34.816-34.816-34.816-34.816 15.588-34.816 34.816z m-43.008-177.28c0 22.41 18.166 40.576 40.576 40.576s40.576-18.166 40.576-40.576-18.166-40.576-40.576-40.576-40.576 18.166-40.576 40.576z m35.392-176.128c0 25.626 20.774 46.4 46.4 46.4s46.4-20.774 46.4-46.4c0-25.626-20.774-46.4-46.4-46.4-25.626 0-46.4 20.774-46.4 46.4z m106.176-142.016c0 28.843 23.381 52.224 52.224 52.224s52.224-23.381 52.224-52.224c0-28.843-23.381-52.224-52.224-52.224-28.843 0-52.224 23.381-52.224 52.224z m155.904-81.344c0 32.024 25.96 57.984 57.984 57.984s57.984-25.96 57.984-57.984-25.96-57.984-57.984-57.984-57.984 25.96-57.984 57.984z m175.104-5.056c0 35.24 28.568 63.808 63.808 63.808s63.808-28.568 63.808-63.808c0-35.24-28.568-63.808-63.808-63.808-35.24 0-63.808 28.568-63.808 63.808z m160.32 72.128c0 38.421 31.147 69.568 69.568 69.568s69.568-31.147 69.568-69.568-31.147-69.568-69.568-69.568-69.568 31.147-69.568 69.568z m113.92 135.488c0 41.638 33.754 75.392 75.392 75.392s75.392-33.754 75.392-75.392-33.754-75.392-75.392-75.392-75.392 33.754-75.392 75.392z m45.312 175.488c0 44.854 36.362 81.216 81.216 81.216s81.216-36.362 81.216-81.216c0-44.854-36.362-81.216-81.216-81.216-44.854 0-81.216 36.362-81.216 81.216z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-like",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 0 0-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4-20.5-21.5-48.1-33.4-77.9-33.4-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-0.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81z m636.4-353l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5c5.2-18.9 22.5-32.2 42.2-32.3 7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-unlike",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4-8.3-3.6-17.2-5.4-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81z m627.2 160.4H496.8l9.6 198.4c0.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7-19.6-0.1-36.9-13.4-42.2-32.3L329 459.2V172h415.4c20.4 9.2 33.6 29.4 33.6 51.8 0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 19.1-11 37.5-28.8 48.4z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-heart",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-edit",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M723.2 917.76H286.72c-65.28 0-118.4-51.2-118.4-113.92V261.76C168.32 198.4 221.44 147.2 286.72 147.2h375.04c17.92 0 32 14.08 32 32s-14.08 32-32 32H286.72c-30.08 0-54.4 22.4-54.4 49.92v542.08c0 27.52 24.32 49.92 54.4 49.92H723.2c30.08 0 54.4-22.4 54.4-49.92V440.32c0-17.92 14.08-32 32-32s32 14.08 32 32v363.52c0 62.72-53.12 113.92-118.4 113.92z"}}),e._v(" "),n("path",{attrs:{d:"M499.84 602.24c-7.68 0-14.72-2.56-21.12-7.68-13.44-11.52-14.72-32-3.2-45.44L780.16 198.4c11.52-13.44 32-14.72 45.44-3.2s14.72 32 3.2 45.44L524.16 591.36c-6.4 7.04-15.36 10.88-24.32 10.88z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-delete",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M677.647059 256l0-90.352941c0-37.436235-23.461647-60.235294-61.771294-60.235294L408.094118 105.411765c-38.249412 0-61.741176 22.799059-61.741176 60.235294l0 90.352941-180.705882 0 0 60.235294 60.235294 0 0 512c0 54.272 33.972706 90.352941 90.352941 90.352941l391.529412 0c55.085176 0 90.352941-33.490824 90.352941-90.352941l0-512 60.235294 0 0-60.235294L677.647059 256zM406.588235 165.647059l210.823529 0-1.264941 90.352941L406.588235 256 406.588235 165.647059zM737.882353 858.352941l-451.764706 0 0-542.117647 451.764706 0L737.882353 858.352941zM466.823529 376.470588l-58.729412 0-1.505882 391.529412 60.235294 0L466.823529 376.470588zM617.411765 376.470588l-60.235294 0 0 391.529412 60.235294 0L617.411765 376.470588z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-reply",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M426.666667 384 426.666667 213.333333 128 512 426.666667 810.666667 426.666667 635.733333C640 635.733333 789.333333 704 896 853.333333 853.333333 640 725.333333 426.666667 426.666667 384Z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-error",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M512 720m-48 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0Z"}}),e._v(" "),n("path",{attrs:{d:"M480 416v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z"}}),e._v(" "),n("path",{attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48z m-783.5-27.9L512 239.9l339.8 588.2H172.2z"}})])])},staticRenderFns:[]},void 0,Or,void 0,!0,void 0,!1,void 0,void 0,void 0);const $r=Cr({},void 0,o.default.extend({name:"TransitionFade",functional:!0,props:{group:{type:Boolean,required:!1,default:!1},tag:{type:String,required:!1,default:"div"}},render:(t,{props:e,children:n})=>t(e.group?"TransitionGroup":"Transition",{props:{name:"fade",mode:"out-in",appear:!0,tag:e.tag}},n)}),void 0,void 0,void 0,!1,void 0,void 0,void 0);const jr=Cr({},void 0,o.default.extend({name:"VssueIcon",functional:!0,props:{name:{type:String,required:!0},title:{type:String,required:!1,default:null}},render:(t,{props:e,data:n})=>t("svg",Object.assign(Object.assign({},n),{class:["vssue-icon","vssue-icon-"+e.name],attrs:{"aria-hidden":"true"}}),[t("title",e.title),t("use",{attrs:{"xlink:href":"#vssue-icon-"+e.name}})])}),void 0,void 0,void 0,!1,void 0,void 0,void 0);let Ar=class extends o.default{constructor(){super(...arguments),this.editMode=!1,this.editContent=this.comment.contentRaw,this.creatingReactions=[],this.isPutingComment=!1,this.isDeletingComment=!1}get currentUser(){return this.vssue.user?this.vssue.user.username:null}get content(){return this.comment.content}get author(){return this.comment.author}get createdAt(){return Sn(this.comment.createdAt)}get updatedAt(){return Sn(this.comment.updatedAt)}get showReactions(){return Boolean(this.vssue.API&&this.vssue.API.platform.meta.reactable&&this.comment.reactions&&!this.editMode)}get reactionKeys(){return["heart","like","unlike"]}get editContentRows(){return this.editContent.split("\n").length-1}get editInputRows(){return this.editContentRows<3?5:this.editContentRows+2}async postReaction({reaction:t}){try{if(this.creatingReactions.includes(t))return;this.creatingReactions.push(t);await this.vssue.postCommentReaction({commentId:this.comment.id,reaction:t})||this.vssue.$emit("error",new Error(this.vssue.$t("reactionGiven",{reaction:this.vssue.$t(t)})));const e=await this.vssue.getCommentReactions({commentId:this.comment.id});e&&(this.comment.reactions=e)}finally{this.creatingReactions.splice(this.creatingReactions.findIndex(e=>e===t),1)}}enterEdit(){this.editMode=!0,this.$nextTick(()=>{this.$refs.input.focus()})}resetEdit(){this.editMode=!1,this.editContent=this.comment.contentRaw}async putComment(){try{if(this.vssue.isPending)return;if(this.editContent!==this.comment.contentRaw){this.isPutingComment=!0,this.vssue.isUpdatingComment=!0;const t=await this.vssue.putComment({commentId:this.comment.id,content:this.editContent});t&&this.vssue.comments.data.splice(this.vssue.comments.data.findIndex(t=>t.id===this.comment.id),1,t)}this.editMode=!1}finally{this.isPutingComment=!1,this.vssue.isUpdatingComment=!1}}async deleteComment(){try{if(this.vssue.isPending)return;if(!window.confirm(this.vssue.$t("deleteConfirm")))return;this.isDeletingComment=!0,this.vssue.isUpdatingComment=!0;await this.vssue.deleteComment({commentId:this.comment.id})?(this.vssue.comments.count-=1,this.vssue.comments.data.length>1&&this.vssue.comments.data.splice(this.vssue.comments.data.findIndex(t=>t.id===this.comment.id),1),this.vssue.query.page>1&&this.vssue.query.page>Math.ceil(this.vssue.comments.count/this.vssue.query.perPage)?this.vssue.query.page-=1:await this.vssue.getComments()):this.vssue.$emit("error",new Error(this.vssue.$t("deleteFailed")))}finally{this.isDeletingComment=!1,this.vssue.isUpdatingComment=!1}}};kr([yn({type:Object,required:!0})],Ar.prototype,"comment",void 0),kr([fn()],Ar.prototype,"vssue",void 0),Ar=kr([Object(ln.b)({components:{VssueIcon:jr}})],Ar);const Er=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-comment",class:{"vssue-comment-edit-mode":t.editMode,"vssue-comment-disabled":t.isDeletingComment||t.isPutingComment}},[n("div",{staticClass:"vssue-comment-avatar"},[n("a",{attrs:{href:t.author.homepage,title:t.author.username,target:"_blank",rel:"noopener noreferrer"}},[n("img",{attrs:{src:t.author.avatar,alt:t.author.username}})])]),t._v(" "),n("div",{staticClass:"vssue-comment-body"},[t._t("body",[n("div",{staticClass:"vssue-comment-header"},[n("span",{staticClass:"vssue-comment-author"},[n("a",{attrs:{href:t.author.homepage,title:t.author.username,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.author.username)+"\n ")])]),t._v(" "),n("span",{staticClass:"vssue-comment-created-at"},[t._v("\n "+t._s(t.createdAt)+"\n ")])]),t._v(" "),n("div",{staticClass:"vssue-comment-main"},[t.editMode?n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editContent,expression:"editContent"}],ref:"input",staticClass:"vssue-edit-comment-input",attrs:{rows:t.editInputRows},domProps:{value:t.editContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey?t.putComment():null},input:function(e){e.target.composing||(t.editContent=e.target.value)}}}):n("article",{staticClass:"markdown-body",domProps:{innerHTML:t._s(t.content)}})]),t._v(" "),n("div",{staticClass:"vssue-comment-footer"},[t.editMode?n("span",{staticClass:"vssue-comment-hint"},[t._v("\n "+t._s(t.vssue.$t("editMode"))+"\n ")]):t._e(),t._v(" "),t.showReactions?n("span",{staticClass:"vssue-comment-reactions"},t._l(t.reactionKeys,(function(e){return n("span",{key:e,staticClass:"vssue-comment-reaction",attrs:{title:t.vssue.$t(t.creatingReactions.includes(e)?"loading":e)},on:{click:function(n){return t.postReaction({reaction:e})}}},[n("VssueIcon",{attrs:{name:t.creatingReactions.includes(e)?"loading":e,title:t.vssue.$t(t.creatingReactions.includes(e)?"loading":e)}}),t._v(" "),n("span",{staticClass:"vssue-comment-reaction-number"},[t._v("\n "+t._s(t.comment.reactions[e])+"\n ")])],1)})),0):t._e(),t._v(" "),n("span",{staticClass:"vssue-comment-operations"},[t.comment.author.username===t.currentUser&&t.editMode?n("span",{staticClass:"vssue-comment-operation",class:{"vssue-comment-operation-muted":t.isPutingComment},attrs:{title:t.vssue.$t(t.isPutingComment?"loading":"submit")},on:{click:function(e){return t.putComment()}}},[n("VssueIcon",{directives:[{name:"show",rawName:"v-show",value:t.isPutingComment,expression:"isPutingComment"}],attrs:{name:"loading",title:t.vssue.$t("loading")}}),t._v("\n\n "+t._s(t.vssue.$t("submit"))+"\n ")],1):t._e(),t._v(" "),t.comment.author.username===t.currentUser&&t.editMode?n("span",{staticClass:"vssue-comment-operation vssue-comment-operation-muted",attrs:{title:t.vssue.$t("cancel")},on:{click:function(e){return t.resetEdit()}}},[t._v("\n "+t._s(t.vssue.$t("cancel"))+"\n ")]):t._e(),t._v(" "),t.comment.author.username===t.currentUser?n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.enterEdit()}}},[n("VssueIcon",{attrs:{name:"edit",title:t.vssue.$t("edit")}})],1):t._e(),t._v(" "),t.comment.author.username===t.currentUser||t.vssue.isAdmin?n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.deleteComment()}}},[n("VssueIcon",{attrs:{name:t.isDeletingComment?"loading":"delete",title:t.vssue.$t(t.isDeletingComment?"loading":"delete")}})],1):t._e(),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.vssue.$emit("reply-comment",t.comment)}}},[n("VssueIcon",{attrs:{name:"reply",title:t.vssue.$t("reply")}})],1)])])])],2)])},staticRenderFns:[]},void 0,Ar,void 0,!1,void 0,!1,void 0,void 0,void 0);let Tr=class extends o.default{get disabled(){return this.vssue.isPending}get pageCount(){const t=Math.ceil(this.vssue.comments.count/this.vssue.comments.perPage);return t>1?t:1}get perPageOptions(){const t=[5,10,20,50];return!t.includes(this.vssue.options.perPage)&&this.vssue.options.perPage<100&&t.push(this.vssue.options.perPage),t.sort((t,e)=>t-e)}get page(){return this.vssue.query.page>this.pageCount?this.pageCount:this.vssue.query.page}set page(t){t>0&&t<=this.pageCount&&(this.vssue.query.page=t)}get perPage(){return this.vssue.query.perPage}set perPage(t){this.perPageOptions.includes(t)&&(this.vssue.query.perPage=t)}};kr([fn()],Tr.prototype,"vssue",void 0),Tr=kr([Object(ln.b)({components:{VssueIcon:jr}})],Tr);const Ir=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-pagination"},[n("div",{staticClass:"vssue-pagination-per-page"},[n("label",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.perPage,expression:"perPage"}],staticClass:"vssue-pagination-select",attrs:{disabled:t.disabled},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.perPage=e.target.multiple?n:n[0]}}},t._l(t.perPageOptions,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])})),0),t._v(" "),n("span",[t._v("\n "+t._s(t.vssue.$t("perPage"))+"\n ")])]),t._v(" "),t.vssue.API.platform.meta.sortable?n("span",{class:{"vssue-pagination-link":!0,disabled:t.disabled},attrs:{title:t.vssue.$t("sort")},on:{click:function(e){t.vssue.query.sort="asc"===t.vssue.query.sort?"desc":"asc"}}},[t._v("\n "+t._s("asc"===t.vssue.query.sort?"↑":"↓")+"\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"vssue-pagination-page"},[n("span",{class:{"vssue-pagination-link":!0,disabled:1===t.page||t.disabled},attrs:{title:t.vssue.$t("prev")},domProps:{textContent:t._s("<")},on:{click:function(e){t.page-=1}}}),t._v(" "),n("label",[n("span",[t._v("\n "+t._s(t.vssue.$t("page"))+"\n ")]),t._v(" "),n("select",{directives:[{name:"show",rawName:"v-show",value:t.pageCount>1,expression:"pageCount > 1"},{name:"model",rawName:"v-model",value:t.page,expression:"page"}],staticClass:"vssue-pagination-select",attrs:{disabled:t.disabled},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.page=e.target.multiple?n:n[0]}}},t._l(t.pageCount,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.pageCount<2,expression:"pageCount < 2"}],domProps:{textContent:t._s(t.page)}}),t._v(" "),n("span",{domProps:{textContent:t._s(" / "+t.pageCount+" ")}})]),t._v(" "),n("span",{class:{"vssue-pagination-link":!0,disabled:t.page===t.pageCount||t.disabled},attrs:{title:t.vssue.$t("next")},domProps:{textContent:t._s(">")},on:{click:function(e){t.page+=1}}})])])},staticRenderFns:[]},void 0,Tr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Pr=class extends o.default{};kr([fn()],Pr.prototype,"vssue",void 0),Pr=kr([Object(ln.b)({components:{TransitionFade:$r,VssueComment:Er,VssuePagination:Ir}})],Pr);const Rr=Cr({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vssue-comments"},[e("VssuePagination"),this._v(" "),e("TransitionFade",{attrs:{group:""}},this._l(this.vssue.comments.data,(function(t){return e("VssueComment",{key:t.id,attrs:{comment:t}})})),1),this._v(" "),e("VssuePagination",{directives:[{name:"show",rawName:"v-show",value:this.vssue.comments.data.length>5,expression:"vssue.comments.data.length > 5"}]})],1)},staticRenderFns:[]},void 0,Pr,void 0,!1,void 0,!1,void 0,void 0,void 0);const Mr=Cr({},void 0,o.default.extend({name:"VssueIcon",functional:!0,props:{type:{type:String,required:!1,default:"default"}},render:(t,{props:e,data:n,children:r})=>t("button",Object.assign(Object.assign({},n),{class:["vssue-button","vssue-button-"+e.type]}),r)}),void 0,void 0,void 0,!1,void 0,void 0,void 0);let Lr=class extends o.default{constructor(){super(...arguments),this.content=""}get user(){return this.vssue.user}get platform(){return this.vssue.API&&this.vssue.API.platform.name}get isInputDisabled(){return this.loading||null===this.user||null===this.vssue.issue}get isSubmitDisabled(){return""===this.content||this.vssue.isPending||null===this.vssue.issue}get loading(){return this.vssue.isCreatingComment}get contentRows(){return this.content.split("\n").length-1}get inputRows(){return this.contentRows<3?5:this.contentRows+2}created(){this.vssue.$on("reply-comment",t=>{const e=t.contentRaw.replace(/\n/g,"\n> "),n=`@${t.author.username}\n\n> ${e}\n\n`;this.content=this.content.concat(n),this.focus()})}beforeDestroy(){this.vssue.$off("reply-comment")}focus(){this.$refs.input.focus()}async submit(){this.isSubmitDisabled||(await this.vssue.postComment({content:this.content}),this.content="",await this.vssue.getComments())}};kr([fn()],Lr.prototype,"vssue",void 0),Lr=kr([Object(ln.b)({components:{VssueButton:Mr,VssueIcon:jr}})],Lr);const zr=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-new-comment"},[n("div",{staticClass:"vssue-comment-avatar"},[t.user?n("a",{attrs:{href:t.user.homepage,title:t.user.username,target:"_blank",rel:"noopener noreferrer"}},[n("img",{attrs:{src:t.user.avatar,alt:t.user.username}})]):n("VssueIcon",{attrs:{name:t.platform.toLowerCase(),title:t.vssue.$t("loginToComment",{platform:t.platform})},on:{click:function(e){return t.vssue.login()}}})],1),t._v(" "),n("div",{staticClass:"vssue-new-comment-body"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],ref:"input",staticClass:"vssue-new-comment-input",attrs:{rows:t.inputRows,disabled:t.isInputDisabled,placeholder:t.vssue.$t(t.user?"placeholder":"noLoginPlaceHolder"),spellcheck:!1,"aria-label":"leave a comment"},domProps:{value:t.content},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey?t.submit():null},input:function(e){e.target.composing||(t.content=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"vssue-new-comment-footer"},[t.user?n("span",{staticClass:"vssue-current-user"},[n("span",[t._v(t._s(t.vssue.$t("currentUser"))+" - "+t._s(t.user.username)+" - ")]),t._v(" "),n("a",{staticClass:"vssue-logout",on:{click:function(e){return t.vssue.logout()}}},[t._v("\n "+t._s(t.vssue.$t("logout"))+"\n ")])]):n("span",{staticClass:"vssue-current-user"},[t._v("\n "+t._s(t.vssue.$t("loginToComment",{platform:t.platform}))+"\n ")]),t._v(" "),n("div",{staticClass:"vssue-new-comment-operations"},[t.user?n("VssueButton",{staticClass:"vssue-button-submit-comment",attrs:{type:"primary",disabled:t.isSubmitDisabled},on:{click:function(e){return t.submit()}}},[n("VssueIcon",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],attrs:{name:"loading"}}),t._v("\n\n "+t._s(t.vssue.$t(t.loading?"submitting":"submitComment"))+"\n ")],1):n("VssueButton",{staticClass:"vssue-button-login",attrs:{type:"primary",title:t.vssue.$t("loginToComment",{platform:t.platform})},on:{click:function(e){return t.vssue.login()}}},[t._v("\n "+t._s(t.vssue.$t("login",{platform:t.platform}))+"\n ")])],1)])])},staticRenderFns:[]},void 0,Lr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Fr=class extends o.default{constructor(){super(...arguments),this.progress={show:!1,percent:0,timer:null,speed:200},this.alert={show:!1,message:null,timer:null}}onLoadingCommentsChange(t){this.vssue.comments&&(t?this.progressStart():this.progressDone())}created(){this.vssue.$on("error",t=>this.alertShow(t.message))}beforeDestroy(){this.vssue.$off("error"),null!==this.progress.timer&&window.clearTimeout(this.progress.timer),null!==this.alert.timer&&window.clearTimeout(this.alert.timer)}progressStart(){this.progress.show=!0,this.progress.percent=0,this.progress.timer=window.setInterval(()=>{this.progress.percent+=5,this.progress.percent>94&&null!==this.progress.timer&&window.clearInterval(this.progress.timer)},this.progress.speed)}progressDone(){this.progress.percent=100,null!==this.progress.timer&&window.clearTimeout(this.progress.timer),this.progress.timer=null,window.setTimeout(()=>{this.progress.show=!1},this.progress.speed)}alertShow(t){this.alert.show=!0,this.alert.message=t,null!==this.alert.timer&&window.clearTimeout(this.alert.timer),this.alert.timer=window.setTimeout(()=>{this.alertHide()},3e3)}alertHide(){this.alert.show=!1,null!==this.alert.timer&&window.clearTimeout(this.alert.timer),this.alert.timer=null}};kr([fn()],Fr.prototype,"vssue",void 0),kr([bn("vssue.isLoadingComments")],Fr.prototype,"onLoadingCommentsChange",null),Fr=kr([Object(ln.b)({components:{TransitionFade:$r}})],Fr);const Nr=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-notice"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.progress.show,expression:"progress.show"}],staticClass:"vssue-progress",style:{width:t.progress.percent+"%",transition:"all "+t.progress.speed+"ms linear"}}),t._v(" "),n("TransitionFade",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.alert.show,expression:"alert.show"}],staticClass:"vssue-alert",domProps:{textContent:t._s(t.alert.message)},on:{click:function(e){return t.alertHide()}}})])],1)},staticRenderFns:[]},void 0,Fr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Dr=class extends o.default{get status(){return this.vssue.isFailed?"failed":this.vssue.isInitializing?"initializing":this.vssue.isIssueNotCreated&&!this.vssue.isCreatingIssue?this.vssue.isAdmin||!this.vssue.isLogined?"issueNotCreated":"failed":this.vssue.isLoginRequired?"loginRequired":!this.vssue.comments||this.vssue.isCreatingIssue?"loadingComments":0===this.vssue.comments.data.length?"noComments":null}handleClick(){"issueNotCreated"===this.status?this.vssue.postIssue():"loginRequired"===this.status&&this.vssue.login()}};kr([fn()],Dr.prototype,"vssue",void 0),Dr=kr([Object(ln.b)({components:{TransitionFade:$r,VssueIcon:jr}})],Dr);const Ur=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("TransitionFade",[t.status?n("div",{key:t.status,staticClass:"vssue-status"},[["failed","loadingComments","initializing"].includes(t.status)?n("VssueIcon",{attrs:{name:"failed"===t.status?"error":"loading"}}):t._e(),t._v(" "),n("p",{staticClass:"vssue-status-info"},[n(["issueNotCreated","loginRequired"].includes(t.status)?"a":"span",{tag:"Component",on:{click:t.handleClick}},[t._v("\n "+t._s(t.vssue.$t(t.status))+"\n ")])],1)],1):t._e()])},staticRenderFns:[]},void 0,Dr,void 0,!1,void 0,!1,void 0,void 0,void 0);let qr=class extends o.default{};kr([fn()],qr.prototype,"vssue",void 0),qr=kr([Object(ln.b)({components:{TransitionFade:$r,VssueIcon:jr,VssueComments:Rr,VssueNewComment:zr,VssueNotice:Nr,VssueStatus:Ur}})],qr);const Br=Cr({render:function(){var t=this.$createElement,e=this._self._c||t;return e("TransitionFade",[this.vssue.isInitializing?e("VssueStatus"):e("div",{staticClass:"vssue-body"},[this.vssue.API?e("VssueNewComment"):this._e(),this._v(" "),e("VssueNotice"),this._v(" "),e("TransitionFade",[this.vssue.comments&&this.vssue.comments.data.length>0?e("VssueComments"):e("VssueStatus")],1)],1)],1)},staticRenderFns:[]},void 0,qr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Vr=class extends o.default{};kr([fn()],Vr.prototype,"vssue",void 0),Vr=kr([ln.b],Vr);const Hr=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-header"},[n("a",{staticClass:"vssue-header-comments-count",attrs:{href:t.vssue.issue?t.vssue.issue.link:null,target:"_blank",rel:"noopener noreferrer"}},[n("span",[t._v("\n "+t._s(t.vssue.comments?t.vssue.$tc("comments",t.vssue.comments.count,{count:t.vssue.comments.count}):t.vssue.$tc("comments",0))+"\n ")])]),t._v(" "),n("span",{staticClass:"vssue-header-powered-by"},[n("span",[t._v("Powered by")]),t._v(" "),t.vssue.API?n("span",[n("a",{attrs:{href:t.vssue.API.platform.link,title:t.vssue.API.platform.name+" API "+t.vssue.API.platform.version,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.vssue.API.platform.name)+"\n ")]),t._v(" "),n("span",[t._v("&")])]):t._e(),t._v(" "),n("a",{attrs:{href:"https://github.com/meteorlxy/vssue",title:"Vssue v"+t.vssue.version,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n Vssue\n ")])])])},staticRenderFns:[]},void 0,Vr,void 0,!1,void 0,!1,void 0,void 0,void 0),Wr={login:"Login with {platform}",logout:"Logout",currentUser:"Current User",loading:"Loading",submit:"Submit",submitting:"Submitting",submitComment:"Submit Comment",cancel:"Cancel",edit:"Edit",editMode:"Edit Mode",delete:"Delete",reply:"Reply",heart:"Heart",like:"Like",unlike:"Unlike",perPage:"Comments per page",sort:"Click to change the sort direction",page:"Page",prev:"Previous Page",next:"Next Page",comments:"Comments | {count} Comment | {count} Comments",loginToComment:"Login with {platform} account to leave a comment",placeholder:"Leave a comment. Styling with Markdown is supported. Ctrl + Enter to submit.",noLoginPlaceHolder:"Login to leave a comment. Styling with Markdown is supported. ",failed:"Failed to load comments",initializing:"Initializing...",issueNotCreated:"Click to create issue",loadingComments:"Loading comments...",loginRequired:"Login to view comments",noComments:"No comments yet. Leave the first comment !",reactionGiven:"Already given '{reaction}' reaction",deleteConfirm:"Confirm to delete this comment ?",deleteFailed:"Failed to delete comment"},Qr={login:"使用 {platform} 登录",logout:"退出登录",currentUser:"当前用户",loading:"加载中",submit:"提交",submitting:"发表中",submitComment:"发表评论",cancel:"取消",edit:"编辑",editMode:"编辑模式",delete:"删除",reply:"回复",heart:"喜欢",like:"赞",unlike:"踩",perPage:"每页评论数",sort:"点击改变排序方式",page:"页数",prev:"上一页",next:"下一页",comments:"评论 | {count} 条评论 | {count} 条评论",loginToComment:"使用 {platform} 帐号登录后发表评论",placeholder:"留下你的评论丨支持 Markdown 语法丨Ctrl + Enter 发表评论",noLoginPlaceHolder:"登录后才能发表评论丨支持 Markdown 语法",failed:"评论加载失败",initializing:"正在初始化...",issueNotCreated:"点击创建 Issue",loadingComments:"正在加载评论...",loginRequired:"登录后查看评论",noComments:"还没有评论,来发表第一条评论吧!",reactionGiven:"已经添加过 '{reaction}' 了",deleteConfirm:"确认要删除该评论吗?",deleteFailed:"评论删除失败"},Gr={login:"Entrar com {platform}",logout:"Sair",currentUser:"Usuário Atual",loading:"Carregando",submit:"Enviar",submitting:"Enviando",submitComment:"Enviar Comentário",cancel:"Cancelar",edit:"Editar",editMode:"Modo de Edição",delete:"Apagar",reply:"Responder",heart:"Heart",like:"Like",unlike:"Unlike",perPage:"Comentários por página",sort:"Clique para alterar a ordenação",page:"Página",prev:"Página Anterior",next:"Próxima Página",comments:"Comentários | {count} Comentário | {count} Comentários",loginToComment:"Entre com uma conta {platform} para deixar um comentário",placeholder:"Deixe um comentário. Estilos com Markdown suportados. Ctrl + Enter para enviar.",noLoginPlaceHolder:"Entre para deixar um comentário. Estilos com Markdown suportados. ",failed:"Falha ao carregar comentários",initializing:"Inicializando...",issueNotCreated:"Click to create issue",loadingComments:"Carregando comentários...",loginRequired:"Entrar para visualizar comentários",noComments:"Nenhum comentário. Deixe o primeiro comentário!",reactionGiven:"Já reagiu com '{reaction}'",deleteConfirm:"Apagar este comentário?",deleteFailed:"Falha ao apagar comentário"},Yr={login:"{platform} でログイン",logout:"ログアウト",currentUser:"現在のユーザー",loading:"読み込み中",submit:"送信",submitting:"送信中",submitComment:"コメントを送信",cancel:"キャンセル",edit:"編集",editMode:"編集モード",delete:"削除",reply:"返信",heart:"ハート",like:"高評価",unlike:"低評価",perPage:"コメント/ページ",sort:"並び順を変更するにはクリックしてください",page:"ページ",prev:"前のページ",next:"次のページ",comments:"コメント | {count} コメント | {count} コメント",loginToComment:"コメントを残すには {platform} アカウントでログインしてください。",placeholder:"コメントを残してください。Markdown 記法をサポートしています。 Ctrl + Enter で送信できます。",noLoginPlaceHolder:"コメントを残すにはログインしてください。マークダウン記法をサポートしています。",failed:"コメントの読み込みに失敗しました",initializing:"初期化中...",issueNotCreated:"Click to create issue",loadingComments:"コメントの読み込み中...",loginRequired:"コメントを見るにはログインしてください",noComments:"まだコメントがありません。最初のコメントを残しましょう!",reactionGiven:"既に '{reaction}' のリアクションをしています",deleteConfirm:"本当にコメントを削除してもいいですか?",deleteFailed:"コメントの削除に失敗しました"},Kr={login:"התחברו עם {platform}",logout:"התנתקו",currentUser:"משתמש/ת נוכחי/ת",loading:"טוען",submit:"שליחה",submitting:"שולח",submitComment:"שליחת תגובה",cancel:"ביטל",edit:"עריכה",editMode:"מצב עריכה",delete:"מחיקה",reply:"תשובה",heart:"לב",like:"לייק",unlike:"אנלייק",perPage:"תגובות לדף",sort:"לחצו כדי לשנות את כיוון המיון",page:"דף",prev:"הדף הקודם",next:"הדף הבא",comments:"תגובות | {count} תגובה | {count} תגובות",loginToComment:"התחברו עם חשבון {platform} כדי להשאיר תגובה",placeholder:"השאירו תגובה. יש תמיכה בעיצוב בעזרת Markdown. Ctrl + Enter כדי לשלוח.",noLoginPlaceHolder:"התחברו כדי להשאיר תגובה. יש תמיכה בעיצוב בעזרת Markdown. ",failed:"כשלון בטעינת התגובות",initializing:"מאתחל...",issueNotCreated:"לחצו ליצירת issue",loadingComments:"טוען תגובות...",loginRequired:"התחברו כדי לצפות בתגובות",noComments:"עדיין אין תגובות. השאירו תגובה ראשונה !",reactionGiven:"כבר ניתן חיווי '{reaction}'",deleteConfirm:"בטוחים במחיקת התגובה ?",deleteFailed:"כשלון במחיקת התגובה"};Object.prototype.hasOwnProperty.call(o.default,"$i18n")||o.default.use(xr);const Jr=new xr({locale:"en",fallbackLocale:"en",messages:{en:Wr,"en-US":Wr,zh:Qr,"zh-CN":Qr,pt:Gr,"pt-BR":Gr,ja:Yr,"ja-JP":Yr,he:Kr,"he-IL":Kr}});let Xr=class extends o.default{constructor(){super(...arguments),this.title=t=>`${t.prefix}${document.title}`,this.issueId=null,this.options=null,this.API=null,this.accessToken=null,this.user=null,this.issue=null,this.comments=null,this.query={page:1,perPage:10,sort:"desc"},this.isInitializing=!0,this.isIssueNotCreated=!1,this.isLoginRequired=!1,this.isFailed=!1,this.isCreatingIssue=!1,this.isLoadingComments=!1,this.isCreatingComment=!1,this.isUpdatingComment=!1}get version(){return"1.4.8"}get issueTitle(){return null===this.options?"":"function"==typeof this.title?this.title(this.options):`${this.options.prefix}${this.title}`}get isPending(){return this.isLoadingComments||this.isCreatingComment||this.isUpdatingComment}get isLogined(){return null!==this.accessToken&&null!==this.user}get isAdmin(){return null!==this.options&&null!==this.accessToken&&null!==this.user&&(this.user.username===this.options.owner||this.options.admins.includes(this.user.username))}get accessTokenKey(){return this.API?`Vssue.${this.API.platform.name.toLowerCase()}.access_token`:""}onQueryPerPageChange(){this.query.page=1,this.getComments()}onQueryChange(){this.getComments()}setOptions(t){this.options=Object.assign({labels:["Vssue"],state:"Vssue",prefix:"[Vssue]",admins:[],perPage:10,proxy:t=>"https://cors-anywhere.azm.workers.dev/"+t,issueContent:({url:t})=>t,autoCreateIssue:!1},t);const e=["api","owner","repo","clientId"];for(const t of e)this.options[t]||console.warn(`[Vssue] the option '${t}' is required`);if(this.options.locale)this.$i18n.locale=this.options.locale;else{const t=Object.keys(this.$i18n.messages),e=window.navigator.languages;this.$i18n.locale=e.filter(e=>t.includes(e)).shift()||"en"}}async init(){try{await this.initStore(),await this.initComments()}catch(t){t.response&&[401,403].includes(t.response.status)?this.isLoginRequired=!0:this.isFailed=!0,console.error(t)}}async initStore(){try{if(!this.options)throw new Error("Options are required to initialize Vssue");this.API=null,this.accessToken=null,this.user=null,this.issue=null,this.comments=null,this.query={page:1,perPage:this.options.perPage,sort:"desc"},this.isInitializing=!0,this.isIssueNotCreated=!1,this.isLoginRequired=!1,this.isFailed=!1,this.isCreatingIssue=!1,this.isLoadingComments=!1,this.isCreatingComment=!1,this.isUpdatingComment=!1;const t=this.options.api;this.API=new t({baseURL:this.options.baseURL,labels:this.options.labels,state:this.options.state,owner:this.options.owner,repo:this.options.repo,clientId:this.options.clientId,clientSecret:this.options.clientSecret,proxy:this.options.proxy}),await this.handleAuth()}finally{this.isInitializing=!1}}async initComments(){if(this.API&&this.options)if(this.issueId){const[t,e]=await Promise.all([this.API.getIssue({accessToken:this.accessToken,issueId:this.issueId}),this.API.getComments({accessToken:this.accessToken,issueId:this.issueId,query:this.query})]);this.issue=t,this.comments=e}else this.issue=await this.API.getIssue({accessToken:this.accessToken,issueTitle:this.issueTitle}),null===this.issue?(this.isIssueNotCreated=!0,this.options.autoCreateIssue&&await this.postIssue()):await this.getComments()}async postIssue(){if(this.API&&this.options&&!this.issue&&!this.issueId&&(this.isLogined||this.login(),this.isAdmin))try{this.isCreatingIssue=!0;const t=await this.API.postIssue({title:this.issueTitle,content:await this.options.issueContent({options:this.options,url:$n(window.location.href)}),accessToken:this.accessToken});this.issue=t,this.isIssueNotCreated=!1,await this.getComments()}catch(t){this.isFailed=!0}finally{this.isCreatingIssue=!1}}async getComments(){try{if(!this.API||!this.issue||this.isLoadingComments)return;this.isLoadingComments=!0;const t=await this.API.getComments({accessToken:this.accessToken,issueId:this.issue.id,query:this.query});return this.comments=t,this.query.page!==t.page&&(this.query.page=t.page),this.query.perPage!==t.perPage&&(this.query.perPage=t.perPage),t}catch(t){if(!t.response||![401,403].includes(t.response.status)||this.isLogined)throw this.$emit("error",t),t;this.isLoginRequired=!0}finally{this.isLoadingComments=!1}}async postComment({content:t}){try{if(!this.API||!this.issue||this.isCreatingComment)return;this.isCreatingComment=!0;return await this.API.postComment({accessToken:this.accessToken,content:t,issueId:this.issue.id})}catch(t){throw this.$emit("error",t),t}finally{this.isCreatingComment=!1}}async putComment({commentId:t,content:e}){try{if(!this.API||!this.issue)return;return await this.API.putComment({accessToken:this.accessToken,issueId:this.issue.id,commentId:t,content:e})}catch(t){throw this.$emit("error",t),t}}async deleteComment({commentId:t}){try{if(!this.API||!this.issue)return;return await this.API.deleteComment({accessToken:this.accessToken,issueId:this.issue.id,commentId:t})}catch(t){throw this.$emit("error",t),t}}async getCommentReactions({commentId:t}){try{if(!this.API||!this.issue)return;return await this.API.getCommentReactions({accessToken:this.accessToken,issueId:this.issue.id,commentId:t})}catch(t){throw this.$emit("error",t),t}}async postCommentReaction({commentId:t,reaction:e}){try{if(!this.API||!this.issue)return!1;return await this.API.postCommentReaction({accessToken:this.accessToken,issueId:this.issue.id,commentId:t,reaction:e})}catch(t){throw this.$emit("error",t),t}}login(){this.API&&this.API.redirectAuth()}logout(){this.setAccessToken(null),this.user=null}async handleAuth(){if(!this.API)return;const t=await this.API.handleAuth();t?(this.setAccessToken(t),this.user=await this.API.getUser({accessToken:t})):this.getAccessToken()?this.user=await this.API.getUser({accessToken:this.accessToken}):(this.setAccessToken(null),this.user=null)}getAccessToken(){return this.accessToken=window.localStorage.getItem(this.accessTokenKey),this.accessToken}setAccessToken(t){null===t?window.localStorage.removeItem(this.accessTokenKey):window.localStorage.setItem(this.accessTokenKey,t),this.accessToken=t}};kr([bn("query.perPage")],Xr.prototype,"onQueryPerPageChange",null),kr([bn("query.page"),bn("query.sort")],Xr.prototype,"onQueryChange",null),Xr=kr([Object(ln.b)({i18n:Jr})],Xr);var Zr=Xr;let to=class extends o.default{constructor(){super(...arguments),this.vssue=new Zr}onOptionsChange(t){this.vssue.setOptions(t)}mounted(){null!==this.title&&(this.vssue.title=this.title),null!==this.issueId&&(this.vssue.issueId=this.issueId),this.vssue.setOptions(this.options),this.vssue.init()}};var eo;kr([yn({type:[String,Function],required:!1,default:null})],to.prototype,"title",void 0),kr([yn({type:[String,Number],required:!1,default:null})],to.prototype,"issueId",void 0),kr([yn({type:Object,required:!1,default:()=>({})})],to.prototype,"options",void 0),kr([(eo="vssue",Object(ln.a)((function(t,e){var n=t.provide;vn(t),pn(n)&&(n=t.provide=dn(n)),n.managed[e]=eo||e})))],to.prototype,"vssue",void 0),kr([bn("options",{deep:!0})],to.prototype,"onOptionsChange",null),to=kr([Object(ln.b)({components:{Iconfont:Sr,VssueBody:Br,VssueHeader:Hr}})],to);const no=Cr({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vssue"},[e("Iconfont"),this._v(" "),e("VssueHeader"),this._v(" "),e("VssueBody")],1)},staticRenderFns:[]},void 0,to,void 0,!1,void 0,!1,void 0,void 0,void 0);var ro=n(28),oo=n.n(ro);function io(t){return{username:t.login,avatar:t.avatar_url,homepage:t.html_url}}function ao(t){return{id:t.number,title:t.title,content:t.body,link:t.html_url}}function so(t){return{like:t["+1"],unlike:t[-1],heart:t.heart}}function co(t){return{id:t.id,content:t.body_html,contentRaw:t.body,author:io(t.user),createdAt:t.created_at,updatedAt:t.updated_at,reactions:so(t.reactions)}}function uo(t){return"like"===t?"+1":"unlike"===t?"-1":t}class lo{constructor({baseURL:t="https://github.com",owner:e,repo:n,labels:r,clientId:o,clientSecret:i,state:a,proxy:s}){if(void 0===i||void 0===s)throw new Error("clientSecret and proxy is required for GitHub V3");this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.clientSecret=i,this.state=a,this.proxy=s,this.$http=oo.a.create({baseURL:"https://github.com"===t?"https://api.github.com":kn(t,"api/v3"),headers:{Accept:"application/vnd.github.v3+json"}}),this.$http.interceptors.response.use(t=>t.data&&t.data.error?Promise.reject(new Error(t.data.error_description)):t,t=>(void 0===t.response&&"Network Error"===t.message&&(t.response={status:403}),Promise.reject(t)))}get platform(){return{name:"GitHub",link:this.baseURL,version:"v3",meta:{reactable:!0,sortable:!1}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"login/oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,scope:"public_repo",state:this.state})}async handleAuth(){const t=jn(window.location.search);if(t.code){if(t.state!==this.state)return null;const e=t.code;delete t.code,delete t.state;const n=xn($n(window.location.href),t)+window.location.hash;window.history.replaceState(null,"",n);return await this.getAccessToken({code:e})}return null}async getAccessToken({code:t}){const e=kn(this.baseURL,"login/oauth/access_token"),n="function"==typeof this.proxy?this.proxy(e):this.proxy,{data:r}=await this.$http.post(n,{client_id:this.clientId,client_secret:this.clientSecret,code:t},{headers:{Accept:"application/json"}});return r.access_token}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{headers:{Authorization:"token "+t}});return io(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"token "+t}),!e){r.params={q:[`"${n}"`,"is:issue","in:title",`repo:${this.owner}/${this.repo}`,"is:public",...this.labels.map(t=>"label:"+t)].join(" "),timestamp:Date.now()};const{data:t}=await this.$http.get("search/issues",r);return t.items.map(ao).find(t=>t.title===n)||null}try{r.params={timestamp:Date.now()};const{data:t}=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}`,r);return ao(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues`,{title:e,body:n,labels:this.labels},{headers:{Authorization:"token "+t}});return ao(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10}={}}){const o={params:{timestamp:Date.now()}},i={params:{page:n,per_page:r,timestamp:Date.now()},headers:{Accept:["application/vnd.github.v3.raw+json","application/vnd.github.v3.html+json","application/vnd.github.squirrel-girl-preview"]}};t&&(o.headers={Authorization:"token "+t},i.headers.Authorization="token "+t);const[a,s]=await Promise.all([this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}`,o),this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,i)]),c=s.headers.link||null,u=/rel="next"/.test(c)?Number(c.replace(/^.*[^_]page=(\d*).*rel="next".*$/,"$1"))-1:/rel="prev"/.test(c)?Number(c.replace(/^.*[^_]page=(\d*).*rel="prev".*$/,"$1"))+1:1,l=c?Number(c.replace(/^.*per_page=(\d*).*$/,"$1")):r;return{count:Number(a.data.comments),page:u,perPage:l,data:s.data.map(co)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,{body:n},{headers:{Authorization:"token "+t,Accept:["application/vnd.github.v3.raw+json","application/vnd.github.v3.html+json","application/vnd.github.squirrel-girl-preview"]}});return co(r)}async putComment({accessToken:t,commentId:e,content:n}){const{data:r}=await this.$http.patch(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{body:n},{headers:{Authorization:"token "+t,Accept:["application/vnd.github.v3.raw+json","application/vnd.github.v3.html+json","application/vnd.github.squirrel-girl-preview"]}});return co(r)}async deleteComment({accessToken:t,commentId:e}){const{status:n}=await this.$http.delete(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{headers:{Authorization:"token "+t}});return 204===n}async getCommentReactions({accessToken:t,commentId:e}){const{data:n}=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{params:{timestamp:Date.now()},headers:{Authorization:"token "+t,Accept:"application/vnd.github.squirrel-girl-preview"}});return so(n.reactions)}async postCommentReaction({accessToken:t,commentId:e,reaction:n}){const r=await this.$http.post(`repos/${this.owner}/${this.repo}/issues/comments/${e}/reactions`,{content:uo(n)},{headers:{Authorization:"token "+t,Accept:"application/vnd.github.squirrel-girl-preview"}});return 200===r.status?this.deleteCommentReaction({accessToken:t,commentId:e,reactionId:r.data.id}):201===r.status}async deleteCommentReaction({accessToken:t,commentId:e,reactionId:n}){return 204===(await this.$http.delete(`repos/${this.owner}/${this.repo}/issues/comments/${e}/reactions/${n}`,{headers:{Authorization:"token "+t,Accept:"application/vnd.github.squirrel-girl-preview"}})).status}}function fo(t){return null===t?{username:"ghost",avatar:"https://avatars3.githubusercontent.com/u/10137?v=4",homepage:"https://github.com/ghost"}:{username:t.login,avatar:t.avatarUrl,homepage:t.url}}function po(t){return{id:t.number,title:t.title,content:t.body,link:t.url}}function ho(t){return{like:t.find(t=>"THUMBS_UP"===t.content).users.totalCount,unlike:t.find(t=>"THUMBS_DOWN"===t.content).users.totalCount,heart:t.find(t=>"HEART"===t.content).users.totalCount}}function vo(t){return{id:t.id,content:t.bodyHTML,contentRaw:t.body,author:fo(t.author),createdAt:t.createdAt,updatedAt:t.updatedAt,reactions:ho(t.reactionGroups)}}function mo(t){return"like"===t?"THUMBS_UP":"unlike"===t?"THUMBS_DOWN":"heart"===t?"HEART":t}class go{constructor({baseURL:t="https://github.com",owner:e,repo:n,labels:r,clientId:o,clientSecret:i,state:a,proxy:s}){if(void 0===i||void 0===s)throw new Error("clientSecret and proxy is required for GitHub V4");this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.clientSecret=i,this.state=a,this.proxy=s,this._pageInfo={page:1,startCursor:null,endCursor:null,sort:null,perPage:null},this._issueNodeId=null,this.$http=oo.a.create({baseURL:"https://github.com"===t?"https://api.github.com":kn(t,"api"),headers:{Accept:"application/vnd.github.v3+json"}}),this.$http.interceptors.response.use(t=>t.data.error?Promise.reject(t.data.error_description):t.data.errors?Promise.reject(t.data.errors[0].message):t)}get platform(){return{name:"GitHub",link:this.baseURL,version:"v4",meta:{reactable:!0,sortable:!0}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"login/oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,scope:"public_repo",state:this.state})}async handleAuth(){const t=jn(window.location.search);if(t.code){if(t.state!==this.state)return null;const e=t.code;delete t.code,delete t.state;const n=xn($n(window.location.href),t)+window.location.hash;window.history.replaceState(null,"",n);return await this.getAccessToken({code:e})}return null}async getAccessToken({code:t}){const e=kn(this.baseURL,"login/oauth/access_token"),n="function"==typeof this.proxy?this.proxy(e):this.proxy,{data:r}=await this.$http.post(n,{client_id:this.clientId,client_secret:this.clientSecret,code:t},{headers:{Accept:"application/json"}});return r.access_token}async getUser({accessToken:t}){const{data:e}=await this.$http.post("graphql",{query:"query getUser {\n viewer {\n login\n avatarUrl\n url\n }\n}"},{headers:{Authorization:"token "+t}});return fo(e.data.viewer)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"token "+t}),!e){const t=[`"${n}"`,"in:title",`repo:${this.owner}/${this.repo}`,"is:public",...this.labels.map(t=>"label:"+t)].join(" "),{data:e}=await this.$http.post("graphql",{variables:{query:t},query:"query getIssueByTitle(\n $query: String!\n) {\n search(\n query: $query\n type: ISSUE\n first: 20\n ) {\n nodes {\n ... on Issue {\n id\n number\n title\n body\n url\n }\n }\n }\n}"},r),o=e.data.search.nodes.find(t=>t.title===n);return o?(this._issueNodeId=o.id,po(o)):null}try{const{data:t}=await this.$http.post("graphql",{query:`query getIssueById {\n repository(owner: "${this.owner}", name: "${this.repo}") {\n issue (number: ${e}) {\n id\n number\n title\n body\n url\n }\n }\n}`},r);return this._issueNodeId=t.data.repository.issue.id,po(t.data.repository.issue)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues`,{title:e,body:n,labels:this.labels},{headers:{Authorization:"token "+t}});return r.url=r.html_url,this._issueNodeId=r.node_id,po(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10,sort:o="desc"}={}}){const i={};t&&(i.headers={Authorization:"token "+t}),null!==this._pageInfo.sort&&o!==this._pageInfo.sort&&(n=1);const{firstOrLast:a,afterOrBefore:s,cursor:c}=this._getQueryParams({page:n,sort:o}),{data:u}=await this.$http.post("graphql",{variables:{owner:this.owner,repo:this.repo,issueId:e,perPage:r},query:`query getComments(\n $owner: String!\n $repo: String!\n $issueId: Int!\n $perPage: Int!\n) {\n repository(owner: $owner, name: $repo) {\n issue(number: $issueId) {\n comments(\n ${a}: $perPage\n ${null===s?"":`${s}: "${c}"`}\n ) {\n totalCount\n pageInfo {\n endCursor\n startCursor\n }\n nodes {\n id\n body\n bodyHTML\n createdAt\n updatedAt\n author {\n avatarUrl\n login\n url\n }\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n }\n }\n}`},i),l=u.data.repository.issue.comments;return"desc"===o&&l.nodes.reverse(),this._pageInfo={page:n,startCursor:l.pageInfo.startCursor,endCursor:l.pageInfo.endCursor,sort:o,perPage:r},{count:l.totalCount,page:n,perPage:r,data:l.nodes.map(vo)}}async postComment({accessToken:t,content:e}){const{data:n}=await this.$http.post("graphql",{variables:{issueNodeId:this._issueNodeId,content:e},query:"mutation postComment(\n $issueNodeId: ID!\n $content: String!\n) {\n addComment(\n input: {\n subjectId: $issueNodeId\n body: $content\n }\n ) {\n commentEdge {\n node {\n id\n body\n bodyHTML\n createdAt\n updatedAt\n author {\n avatarUrl\n login\n url\n }\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n }\n}"},{headers:{Authorization:"token "+t}});return vo(n.data.addComment.commentEdge.node)}async putComment({accessToken:t,commentId:e,content:n}){const{data:r}=await this.$http.post("graphql",{variables:{commentId:e,content:n},query:"mutation putComment(\n $commentId: ID!,\n $content: String!,\n) {\n updateIssueComment(input: {\n id: $commentId\n body: $content\n }) {\n issueComment {\n id\n body\n bodyHTML\n createdAt\n updatedAt\n author {\n avatarUrl\n login\n url\n }\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n}"},{headers:{Authorization:"token "+t}});return vo(r.data.updateIssueComment.issueComment)}async deleteComment({accessToken:t,commentId:e}){return await this.$http.post("graphql",{variables:{commentId:e},query:"mutation deleteComment(\n $commentId: ID!,\n) {\n deleteIssueComment(input: {\n id: $commentId\n }) {\n clientMutationId\n }\n}"},{headers:{Authorization:"token "+t}}),!0}async getCommentReactions({accessToken:t,issueId:e,commentId:n}){const{firstOrLast:r,afterOrBefore:o,cursor:i}=this._getQueryParams(),{data:a}=await this.$http.post("graphql",{variables:{owner:this.owner,repo:this.repo,issueId:e,perPage:this._pageInfo.perPage},query:`query getComments(\n $owner: String!\n $repo: String!\n $issueId: Int!\n $perPage: Int!\n) {\n repository(owner: $owner, name: $repo) {\n issue(number: $issueId) {\n comments(\n ${r}: $perPage\n ${null===o?"":`${o}: "${i}"`}\n ) {\n nodes {\n id\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n }\n }\n}`},{headers:{Authorization:"token "+t}});return ho(a.data.repository.issue.comments.nodes.find(t=>t.id===n).reactionGroups)}async postCommentReaction({accessToken:t,commentId:e,reaction:n}){return await this.$http.post("graphql",{variables:{commentId:e,content:mo(n)},query:"mutation postCommentReaction(\n $commentId: ID!,\n $content: ReactionContent!,\n) {\n addReaction(input: {\n subjectId: $commentId\n content: $content\n }) {\n reaction {\n databaseId\n }\n }\n}"},{headers:{Authorization:"token "+t}}),!0}_getQueryParams({page:t=this._pageInfo.page,sort:e=this._pageInfo.sort}={}){let n,r,o;return 1===t?(n="asc"===e?"first":"last",r=null,o=null):"asc"===e?t>this._pageInfo.page?(n="first",r="after",o=this._pageInfo.endCursor):(n="last",r="before",o=this._pageInfo.startCursor):t>this._pageInfo.page?(n="last",r="before",o=this._pageInfo.startCursor):(n="first",r="after",o=this._pageInfo.endCursor),{firstOrLast:n,afterOrBefore:r,cursor:o}}}function yo(t){return{username:t.username,avatar:t.avatar_url,homepage:t.web_url}}function bo(t){return{id:t.iid,title:t.title,content:t.description,link:t.web_url}}function wo(t){return{id:t.id,content:t.body_html||"",contentRaw:t.body,author:yo(t.author),createdAt:t.created_at,updatedAt:t.updated_at,reactions:t.reactions}}function _o(t){return{like:t.filter(t=>"thumbsup"===t.name).length,unlike:t.filter(t=>"thumbsdown"===t.name).length,heart:t.filter(t=>"heart"===t.name).length}}function xo(t){return"like"===t?"thumbsup":"unlike"===t?"thumbsdown":t}class ko{constructor({baseURL:t="https://gitlab.com",owner:e,repo:n,labels:r,clientId:o,state:i}){this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.state=i,this._encodedRepo=encodeURIComponent(`${this.owner}/${this.repo}`),this.$http=oo.a.create({baseURL:kn(t,"api/v4"),headers:{Accept:"application/json"}})}get platform(){return{name:"GitLab",link:this.baseURL,version:"v4",meta:{reactable:!0,sortable:!0}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,response_type:"token",state:this.state})}async handleAuth(){const t=jn(window.location.hash.slice(1));if(!t.access_token||t.state!==this.state)return null;const e=t.access_token;delete t.access_token,delete t.token_type,delete t.expires_in,delete t.state;const n=_n(t),r=n?"#"+n:"",o=`${$n(window.location.href)}${window.location.search}${r}`;return window.history.replaceState(null,"",o),e}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{headers:{Authorization:"Bearer "+t}});return yo(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"Bearer "+t}),!e){r.params={labels:this.labels.join(","),order_by:"created_at",sort:"asc",search:n};const{data:t}=await this.$http.get(`projects/${this._encodedRepo}/issues`,r);return t.map(bo).find(t=>t.title===n)||null}try{const{data:t}=await this.$http.get(`projects/${this._encodedRepo}/issues/${e}`,r);return bo(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`projects/${this._encodedRepo}/issues`,{title:e,description:n,labels:this.labels.join(",")},{headers:{Authorization:"Bearer "+t}});return bo(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10,sort:o="desc"}={}}){const i={params:{page:n,per_page:r,order_by:"created_at",sort:o}};t&&(i.headers={Authorization:"Bearer "+t});const a=await this.$http.get(`projects/${this._encodedRepo}/issues/${e}/notes`,i),s=a.data,c=[];for(const n of s)c.push((async()=>{n.body_html=await this.getMarkdownContent({accessToken:t,contentRaw:n.body})})()),c.push((async()=>{n.reactions=await this.getCommentReactions({accessToken:t,issueId:e,commentId:n.id})})());return await Promise.all(c),{count:Number(a.headers["x-total"]),page:Number(a.headers["x-page"]),perPage:Number(a.headers["x-per-page"]),data:s.map(wo)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`projects/${this._encodedRepo}/issues/${e}/notes`,{body:n},{headers:{Authorization:"Bearer "+t}});return wo(r)}async putComment({accessToken:t,issueId:e,commentId:n,content:r}){const{data:o}=await this.$http.put(`projects/${this._encodedRepo}/issues/${e}/notes/${n}`,{body:r},{headers:{Authorization:"Bearer "+t}}),[i,a]=await Promise.all([this.getMarkdownContent({accessToken:t,contentRaw:o.body}),this.getCommentReactions({accessToken:t,issueId:e,commentId:o.id})]);return o.body_html=i,o.reactions=a,wo(o)}async deleteComment({accessToken:t,issueId:e,commentId:n}){const{status:r}=await this.$http.delete(`projects/${this._encodedRepo}/issues/${e}/notes/${n}`,{headers:{Authorization:"Bearer "+t}});return 204===r}async getCommentReactions({accessToken:t,issueId:e,commentId:n}){const{data:r}=await this.$http.get(`projects/${this._encodedRepo}/issues/${e}/notes/${n}/award_emoji`,{headers:{Authorization:"Bearer "+t}});return _o(r)}async postCommentReaction({issueId:t,commentId:e,reaction:n,accessToken:r}){try{return 201===(await this.$http.post(`projects/${this._encodedRepo}/issues/${t}/notes/${e}/award_emoji`,{name:xo(n)},{headers:{Authorization:"Bearer "+r}})).status}catch(t){if(t.response&&404===t.response.status)return!1;throw t}}async getMarkdownContent({accessToken:t,contentRaw:e}){const n={};t&&(n.headers={Authorization:"Bearer "+t});const{data:r}=await this.$http.post("markdown",{text:e,gfm:!0},n);return r.html}}function Oo(t){return{username:t.nickname,avatar:t.links.avatar.href,homepage:t.links.html.href}}function Co(t){return{id:t.id,title:t.title,content:t.content.raw,link:t.links.html.href}}function So(t){return{id:t.id,content:t.content.html,contentRaw:t.content.raw,author:Oo(t.user),createdAt:t.created_on,updatedAt:t.updated_on,reactions:null}}class $o{constructor({baseURL:t="https://bitbucket.org",owner:e,repo:n,clientId:r,state:o}){this.baseURL=t,this.owner=e,this.repo=n,this.clientId=r,this.state=o,this.$http=oo.a.create({baseURL:"https://api.bitbucket.org/2.0",headers:{Accept:"application/json"}})}get platform(){return{name:"Bitbucket",link:this.baseURL,version:"v2",meta:{reactable:!1,sortable:!0}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"site/oauth2/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,response_type:"token",state:this.state})}async handleAuth(){const t=jn(window.location.hash.slice(1));if(!t.access_token||t.state!==this.state)return null;const e=t.access_token;delete t.access_token,delete t.token_type,delete t.expires_in,delete t.state,delete t.scopes;const n=_n(t),r=n?"#"+n:"",o=`${$n(window.location.href)}${window.location.search}${r}`;return window.history.replaceState(null,"",o),e}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{headers:{Authorization:"Bearer "+t}});return Oo(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"Bearer "+t}),!e){r.params={sort:"created_on",q:`title="${n}"`,timestamp:Date.now()};const{data:t}=await this.$http.get(`repositories/${this.owner}/${this.repo}/issues`,r);return t.size>0?Co(t.values[0]):null}try{r.params={timestamp:Date.now()};const{data:t}=await this.$http.get(`repositories/${this.owner}/${this.repo}/issues/${e}`,r);return Co(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repositories/${this.owner}/${this.repo}/issues`,{title:e,content:{raw:n},priority:"trivial",kind:"task"},{headers:{Authorization:"Bearer "+t}});return r.links.html={href:kn(this.baseURL,`${this.owner}/${this.repo}/issues/${r.id}`)},Co(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10,sort:o="desc"}={}}){const i={params:{page:n,pagelen:r,sort:"desc"===o?"-created_on":"created_on",timestamp:Date.now()}};t&&(i.headers={Authorization:"Bearer "+t});const{data:a}=await this.$http.get(`repositories/${this.owner}/${this.repo}/issues/${e}/comments`,i);return{count:a.size,page:a.page,perPage:a.pagelen,data:a.values.filter(t=>null!==t.content.raw).map(So)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`repositories/${this.owner}/${this.repo}/issues/${e}/comments`,{content:{raw:n}},{headers:{Authorization:"Bearer "+t}});return So(r)}async putComment({accessToken:t,issueId:e,commentId:n,content:r}){const{data:o}=await this.$http.put(`repositories/${this.owner}/${this.repo}/issues/${e}/comments/${n}`,{content:{raw:r}},{headers:{Authorization:"Bearer "+t}});return So(o)}async deleteComment({accessToken:t,issueId:e,commentId:n}){const{status:r}=await this.$http.delete(`repositories/${this.owner}/${this.repo}/issues/${e}/comments/${n}`,{headers:{Authorization:"Bearer "+t}});return 204===r}async getCommentReactions(t){throw new Error("501 Not Implemented")}async postCommentReaction(t){throw new Error("501 Not Implemented")}}function jo(t){return{username:t.login,avatar:t.avatar_url,homepage:t.html_url}}function Ao(t){return{id:t.number,title:t.title,content:t.body,link:t.html_url}}function Eo(t){return{id:t.id,content:t.body_html||"",contentRaw:t.body,author:jo(t.user),createdAt:t.created_at,updatedAt:t.updated_at||"",reactions:null}}class To{constructor({baseURL:t="https://gitee.com",owner:e,repo:n,labels:r,clientId:o,clientSecret:i,state:a,proxy:s}){if(void 0===i||void 0===s)throw new Error("clientSecret and proxy is required for Gitee V5");this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.clientSecret=i,this.state=a,this.proxy=s,this.$http=oo.a.create({baseURL:kn(t,"api/v5")}),this.$http.interceptors.response.use(t=>t,t=>(t.response.data&&t.response.data.message&&(t.message=t.response.data.message),Promise.reject(t)))}get platform(){return{name:"Gitee",link:this.baseURL,version:"v5",meta:{reactable:!1,sortable:!1}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,scope:"user_info issues notes",response_type:"code",state:this.state})}async handleAuth(){const t=jn(window.location.search);if(t.code){if(t.state!==this.state)return null;const e=t.code;delete t.code,delete t.state;const n=xn($n(window.location.href),t)+window.location.hash;window.history.replaceState(null,"",n);return await this.getAccessToken({code:e})}return null}async getAccessToken({code:t}){const e=kn(this.baseURL,"oauth/token"),n="function"==typeof this.proxy?this.proxy(e):this.proxy,{data:r}=await this.$http.post(n,{client_id:this.clientId,client_secret:this.clientSecret,code:t,grant_type:"authorization_code",redirect_uri:window.location.href});return r.access_token}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{params:{access_token:t}});return jo(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={params:{timestamp:Date.now()}};if(t&&(r.params.access_token=t),!e){Object.assign(r.params,{q:n,repo:`${this.owner}/${this.repo}`,per_page:1});const{data:t}=await this.$http.get("search/issues",r);return t.map(Ao).find(t=>t.title===n)||null}try{const{data:t}=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}`,r);return Ao(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/issues`,{access_token:t,repo:this.repo,title:e,body:n,labels:this.labels.join(",")});return Ao(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10}={}}){const o={params:{page:n,per_page:r,timestamp:Date.now()},headers:{Accept:["application/vnd.gitee.html+json"]}};t&&(o.params.access_token=t);const i=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,o);return{count:Number(i.headers.total_count),page:n,perPage:r,data:i.data.map(Eo)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,{body:n,access_token:t},{headers:{Accept:["application/vnd.gitee.html+json"]}});return Eo(r)}async putComment({accessToken:t,commentId:e,content:n}){const{data:r}=await this.$http.patch(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{body:n,access_token:t},{headers:{Accept:["application/vnd.gitee.html+json"]}});return Eo(r)}async deleteComment({accessToken:t,commentId:e}){const{status:n}=await this.$http.delete(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{params:{access_token:t}});return 204===n}async getCommentReactions(t){throw new Error("501 Not Implemented")}async postCommentReaction(t){throw new Error("501 Not Implemented")}}n(434);var Io={name:"Vssue",components:{VssueComponent:no},props:{options:{type:Object,default:function(){return{}}}},data:function(){return{key:"key",platformOptions:{github:lo,"github-v4":go,gitlab:ko,bitbucket:$o,gitee:To}}},computed:{vssueOptions:function(){var t=this.platformOptions,e=this.options,n=t[e.platform];return Object(De.a)(Object(De.a)({},e),{},{api:n})}},watch:{$route:function(t,e){var n=this;t.path!==e.path&&setTimeout((function(){n.key="reco-".concat((new Date).getTime())}),300)}}},Po=(n(435),{components:{Valine:un,Vssue:Object(Ee.a)(Io,(function(){var t=this.$createElement;return(this._self._c||t)("VssueComponent",{key:this.key,staticClass:"vssue-wrapper",attrs:{options:this.vssueOptions}})}),[],!1,null,null,null).exports},props:{isShowComments:{type:Boolean,default:!0}},data:function(){return{commentsOptions:{}}},computed:{solution:function(){var t=this.commentsOptions.solution,e=this.$themeConfig,n=e.valineConfig,r=e.vssueConfig,o=this.$themeLocaleConfig,i=o.valineConfig,a=o.vssueConfig,s="";return void 0!==t?s=t:void 0!==i||void 0!==n?s="valine":void 0===a&&void 0===r||(s="vssue"),s},options:function(){var t=this.commentsOptions.options,e=this.$themeConfig,n=e.valineConfig,r=e.vssueConfig,o=this.$themeLocaleConfig,i=o.valineConfig,a=o.vssueConfig;return void 0!==t?t:void 0!==i||void 0!==n?i||n:void 0!==a||void 0!==r?a||r:null},componentName:function(){var t=this.solution;return"valine"===t?"Valine":"vssue"===t?"Vssue":""}},mounted:function(){this.$themeConfig.commentsSolution=this.solution}}),Ro=Object(Ee.a)(Po,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{directives:[{name:"show",rawName:"v-show",value:this.isShowComments,expression:"isShowComments"}],staticClass:"comments-wrapper"},[e("ClientOnly",[e(this.componentName,{tag:"component",attrs:{options:this.options}})],1)],1)}),[],!1,null,null,null).exports,Mo={props:{idVal:String,numStyle:Object,flagTitle:{type:String,default:"Your Article Title"}},methods:{getIdVal:function(t){var e=this.$site.base;return e.slice(0,e.length-1)+t}}},Lo=Object(Ee.a)(Mo,(function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"leancloud-visitors",attrs:{id:this.getIdVal(this.idVal),"data-flag-title":this.flagTitle}},[e("a",{staticClass:"leancloud-visitors-count",style:this.numStyle})])}),[],!1,null,null,null).exports,zo=(n(436),n(73)),Fo=n(20),No=n(23),Do={tags:{},categories:{},timeline:{}},Uo=function(){function t(e,n){var r=this;Object(Fo.a)(this,t),this._metaMap=Object.assign({},e),Object.keys(this._metaMap).forEach((function(t){var e=r._metaMap[t].pageKeys;r._metaMap[t].pages=e.map((function(t){return Object(Kt.b)(n,t)}))}))}return Object(No.a)(t,[{key:"length",get:function(){return Object.keys(this._metaMap).length}},{key:"map",get:function(){return this._metaMap}},{key:"pages",get:function(){return this.list}},{key:"list",get:function(){return this.toArray()}},{key:"toArray",value:function(){var t=this,e=[];return Object.keys(this._metaMap).forEach((function(n){var r=t._metaMap[n],o=r.pages,i=r.path;e.push({name:n,pages:o,path:i})})),e}},{key:"getItemByName",value:function(t){return this._metaMap[t]}}]),t}(),qo=(n(213),n(244)),Bo=n.n(qo)()("plugin-blog:pagination"),Vo=function(){function t(e,n,r){Object(Fo.a)(this,t),Bo("pagination",e);var o=e.pages,i=e.prevText,a=e.nextText,s=r.path;this._prevText=i,this._nextText=a;for(var c=0,u=o.length;c0&&void 0!==arguments[0]?arguments[0]:{},n=document.querySelector(".alert-list");n||((n=document.createElement("div")).className="alert-list",document.body.appendChild(n));var r=e.extend(Jo),o=new r;Object.assign(o,t),o.$mount(),n.appendChild(o.$el)}}],Zo=["BackToTop","SWUpdatePopup"];var ti=n(148),ei=n(147),ni=function(t){Object(ti.a)(n,t);var e=Object(ei.a)(n);function n(){return Object(Fo.a)(this,n),e.apply(this,arguments)}return n}(function(){function t(){Object(Fo.a)(this,t),this.store=new o.default({data:{state:{}}})}return Object(No.a)(t,[{key:"$get",value:function(t){return this.store.state[t]}},{key:"$set",value:function(t,e){o.default.set(this.store.state,t,e)}},{key:"$emit",value:function(){var t;(t=this.store).$emit.apply(t,arguments)}},{key:"$on",value:function(){var t;(t=this.store).$on.apply(t,arguments)}}]),t}());Object.assign(ni.prototype,{getPageAsyncComponent:Kt.e,getLayoutAsyncComponent:Kt.d,getAsyncComponent:Kt.c,getVueComponent:Kt.f});var ri={install:function(t){var e=new ni;t.$vuepress=e,t.prototype.$vuepress=e}};function oi(t){t.beforeEach((function(e,n,r){if(ii(t,e.path))r();else if(/(\/|\.html)$/.test(e.path))if(/\/$/.test(e.path)){var o=e.path.replace(/\/$/,"")+".html";ii(t,o)?r(o):r()}else r();else{var i=e.path+"/",a=e.path+".html";ii(t,a)?r(a):ii(t,i)?r(i):r()}}))}function ii(t,e){var n=e.toLowerCase();return t.options.routes.some((function(t){return t.path.toLowerCase()===n}))}var ai={props:{pageKey:String,slotKey:{type:String,default:"default"}},render:function(t){var e=this.pageKey||this.$parent.$page.key;return Object(Kt.i)("pageKey",e),o.default.component(e)||o.default.component(e,Object(Kt.e)(e)),o.default.component(e)?t(e):t("")}},si={functional:!0,props:{slotKey:String,required:!0},render:function(t,e){var n=e.props,r=e.slots;return t("div",{class:["content__".concat(n.slotKey)]},r()[n.slotKey])}},ci={computed:{openInNewWindowTitle:function(){return this.$themeLocaleConfig.openNewWindowText||"(opens new window)"}}},ui=(n(444),n(445),Object(Ee.a)(ci,(function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("svg",{staticClass:"icon outbound",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"}},[e("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),this._v(" "),e("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})]),this._v(" "),e("span",{staticClass:"sr-only"},[this._v(this._s(this.openInNewWindowTitle))])])}),[],!1,null,null,null).exports);function li(){return(li=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="undefined"!=typeof window&&window.__VUEPRESS_ROUTER_BASE__?window.__VUEPRESS_ROUTER_BASE__:Le.routerBase||Le.base,oi(r=new Gt({base:n,mode:"history",fallback:!1,routes:Me,scrollBehavior:function(t,e,n){return n||(t.hash?!o.default.$vuepress.$get("disableScrollBehavior")&&{selector:decodeURIComponent(t.hash)}:{x:0,y:0})}})),i={},t.prev=4,t.next=7,Promise.all(Xo.filter((function(t){return"function"==typeof t})).map((function(t){return t({Vue:o.default,options:i,router:r,siteData:Le,isServer:e})})));case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4),console.error(t.t0);case 12:return a=new o.default(Object.assign(i,{router:r,render:function(t){return t("div",{attrs:{id:"app"}},[t("RouterView",{ref:"layout"}),t("div",{class:"global-ui"},Zo.map((function(e){return t(e)})))])}})),t.abrupt("return",{app:a,router:r});case 14:case"end":return t.stop()}}),t,null,[[4,9]])})))).apply(this,arguments)}o.default.config.productionTip=!1,o.default.use(Gt),o.default.use(ri),o.default.mixin(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.default;Yt(e),n.$vuepress.$set("siteData",e);var r=t(n.$vuepress.$get("siteData")),i=new r,a=Object.getOwnPropertyDescriptors(Object.getPrototypeOf(i)),s={};return Object.keys(a).reduce((function(t,e){return e.startsWith("$")&&(t[e]=a[e].get),t}),s),{computed:s}}((function(t){return function(){function e(){Object(Fo.a)(this,e)}return Object(No.a)(e,[{key:"setPage",value:function(t){this.__page=t}},{key:"$site",get:function(){return t}},{key:"$themeConfig",get:function(){return this.$site.themeConfig}},{key:"$frontmatter",get:function(){return this.$page.frontmatter}},{key:"$localeConfig",get:function(){var t,e,n=this.$site.locales,r=void 0===n?{}:n;for(var o in r)"/"===o?e=r[o]:0===this.$page.path.indexOf(o)&&(t=r[o]);return t||e||{}}},{key:"$siteTitle",get:function(){return this.$localeConfig.title||this.$site.title||""}},{key:"$canonicalUrl",get:function(){var t=this.$page.frontmatter.canonicalUrl;return"string"==typeof t&&t}},{key:"$title",get:function(){var t=this.$page,e=this.$page.frontmatter.metaTitle;if("string"==typeof e)return e;var n=this.$siteTitle,r=t.frontmatter.home?null:t.frontmatter.title||t.title;return n?r?r+" | "+n:n:r||"VuePress"}},{key:"$description",get:function(){var t=function(t){if(t){var e=t.filter((function(t){return"description"===t.name}))[0];if(e)return e.content}}(this.$page.frontmatter.meta);return t||(this.$page.frontmatter.description||this.$localeConfig.description||this.$site.description||"")}},{key:"$lang",get:function(){return this.$page.frontmatter.lang||this.$localeConfig.lang||"en-US"}},{key:"$localePath",get:function(){return this.$localeConfig.path||"/"}},{key:"$themeLocaleConfig",get:function(){return(this.$site.themeConfig.locales||{})[this.$localePath]||{}}},{key:"$page",get:function(){return this.__page?this.__page:function(t,e){for(var n=0;n=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}var Or=o.default.extend({name:"Iconfont"});function Cr(t,e,n,r,o,i,a,s,c,u){"boolean"!=typeof a&&(c=s,s=a,a=!1);const l="function"==typeof n?n.options:n;let f;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=f):e&&(f=a?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),f)if(l.functional){const t=l.render;l.render=function(e,n){return f.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,f):[f]}return n}"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());const Sr=Cr({render:function(t,e){var n=e._c;return n("svg",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[n("symbol",{attrs:{id:"vssue-icon-bitbucket",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M579.5522464 489.45249493q4.8371808 38.38537173-30.81752427 61.55702827t-67.95459093 3.66689493q-23.79580907-10.37653333-32.6119616-35.34262826t-0.31207573-50.01020907 31.67573333-35.34262827q21.92335253-11.00068587 44.1587808-7.33379093t39.00952427 21.61127573 16.77409493 41.1160384zM647.19476053 476.65737173q-8.50407573-65.22392427-68.8908192-99.9424t-120.07131413-7.9579424q-38.38537173 17.08617173-61.24495253 53.9111616t-21.0651424 78.95527574q2.41859093 55.4715424 47.20152426 94.48106666t100.87862827 34.1723424q55.4715424-4.8371808 92.60860907-51.18049493t30.50544746-102.43900907zM792.93434133 146.32472427q-12.17097173-16.4620192-34.1723424-27.15062827t-35.34262826-13.41927573-43.30057174-7.64586667q-177.33729493-28.63299093-345.00022826 1.24830507-26.2144 4.29104747-40.25782827 7.33379093t-33.54819093 13.41927573-30.50544747 26.2144q18.2564576 17.08617173 46.34331413 27.6967616t44.78293334 13.41927574 53.36502826 7.02171413q138.95192427 17.71032427 273.06666667 0.62415253 38.38537173-4.8371808 54.53531413-7.33379093t44.1587808-13.1072 45.7191616-28.32091413zM827.65281813 777.10872427q-4.8371808 15.83786667-9.44030506 46.65539093t-8.50407574 51.18049493-17.39824746 42.6764192-35.34262827 34.4064q-52.4288 29.2571424-115.46819093 43.61264747t-123.1140576 13.41927573-122.8019808-11.3127616q-28.0088384-4.8371808-49.69813334-11.00068586t-46.65539093-16.4620192-44.4708576-26.52647574-31.67573333-37.4491424q-15.21371413-58.51428587-34.71847574-177.96144746l3.66689494-9.7523808 11.00068586-5.46133334q135.9091808 90.1900192 308.72137174 90.1900192t309.34552426-90.1900192q12.79512427 3.66689493 14.5895616 14.04342827t-3.0427424 27.46270507-4.8371808 22.54750506zM937.97175147 191.41973333q-15.83786667 101.8148576-67.64251414 399.22346667-3.0427424 18.2564576-16.4620192 34.1723424t-26.52647573 24.3419424-33.23611413 18.88060907q-153.61950507 76.7707424-371.8387808 53.67710506-151.12289493-16.4620192-240.14262827-84.72868586-9.12822827-7.33379093-15.52579093-16.1499424t-10.37653334-21.2992-5.46133333-20.75306667-3.66689493-24.10788587-3.3548192-21.2992q-5.46133333-30.50544747-16.1499424-91.43832426t-17.08617174-98.4600384-14.35550506-89.8779424-13.41927574-96.27550507q1.7944384-15.83786667 10.68860907-29.5692192t19.19268587-22.8595808 27.46270506-18.2564576 28.0088384-13.73135253 29.2571424-11.3127616q76.22460907-28.0088384 190.75657174-39.00952427 231.0144-22.54750507 412.01859093 30.50544747 94.48106667 28.0088384 131.072 74.35215253 9.7523808 12.17097173 10.0644576 31.0515808t-3.3548192 32.9240384z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitea",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M184.31868985 236.10860742C106.94832667 235.94086648 3.32655508 285.13080468 9.02973665 408.46209936c8.93218827 192.65010787 206.32096845 210.5144844 285.20099725 212.06608453 8.63864186 36.14810496 101.48307766 160.77938883 170.21479898 167.32127321h301.09442177c180.57278288-11.99345499 315.77172611-546.07960359 215.54670217-548.09249109-165.7696721 7.79993906-264.02374305 11.74184405-348.27147151 12.41280591v166.69224585l-26.25140843-11.61603761-0.16773997-154.99233728c-96.70246985-0.04193548-181.83083757-4.52899687-343.4069947-12.49667687-20.21274496-0.12580547-48.39316992-3.5644886-78.67035236-3.64835859z m10.94507577 68.14462849h9.22573371c10.98701124 98.75729283 28.85138778 156.50200291 64.99949274 244.73357185-92.25734394-10.90314029-170.75995634-37.69970509-185.18564974-137.75698809-7.46445813-51.78991757 17.69663558-105.84433456 110.96042329-107.01851827z m358.83913087 97.07988723c6.29027343 0.08386999 12.70635233 1.25805468 18.74501482 4.02577499l31.40943263 13.54505513-22.51917887 41.05451824a28.18042496 25.03528825 0 0 0-10.10637297 1.59353561 28.18042496 25.03528825 0 0 0-16.98373825 32.038459 28.18042496 25.03528825 0 0 0 4.69673781 7.29671718l-38.83195528 70.70267333a28.18042496 25.03528825 0 0 0-9.30960467 1.59353659 28.18042496 25.03528825 0 0 0-16.98373825 32.038459 28.18042496 25.03528825 0 0 0 36.06423497 15.09665623 28.18042496 25.03528825 0 0 0 16.94180276-32.08039449 28.18042496 25.03528825 0 0 0-6.62575434-9.22573468l37.82551056-68.85752581a28.18042496 25.03528825 0 0 0 12.28700044-1.25805469 28.18042496 25.03528825 0 0 0 8.93218826-4.69673783c14.59343435 6.12253248 26.54495386 11.11281671 35.14166122 15.34826717 12.91602778 6.37414341 17.48696012 10.60959485 18.87082027 15.30633169 1.38386015 4.61286685-0.12580547 13.50312062-7.42252263 29.10299872-5.45157063 11.61603859-14.46762889 28.09655497-25.11915823 47.51253164a28.18042496 25.03528825 0 0 0-10.52572486 1.59353659 28.18042496 25.03528825 0 0 0-16.98373826 32.038459 28.18042496 25.03528825 0 0 0 36.06423498 15.09665623 28.18042496 25.03528825 0 0 0 16.94180278-32.03845901 28.18042496 25.03528825 0 0 0-5.74511608-8.47090188c10.52572388-19.20630122 19.58371762-35.72875308 25.41270465-48.14155897 7.88380904-16.85793279 11.99345499-29.39654416 8.38703091-41.51580463-3.60642311-12.11926046-14.67730434-20.0030695-29.35460966-27.25785217-9.6450856-4.73867233-21.68047607-9.77089106-36.06423399-15.80955357a28.18042496 25.03528825 0 0 0-1.59353562-10.022502 28.18042496 25.03528825 0 0 0-6.08059796-8.7644483l22.14176246-40.38355541 122.61839638 52.96410227c22.14176247 9.6031511 31.2836262 33.12877372 20.54822685 52.8382968l-84.28966393 154.32137544c-10.77733482 19.66758857-37.23841869 27.80300855-59.38018118 18.24179293l-173.48574115-74.98005927c-22.14176247-9.5612156-31.32556167-33.12877372-20.54822687-52.83829679l84.28966395-154.27943995c7.38058716-13.54505513 22.22563246-21.59660511 37.951317-22.22563246h2.68384935z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitee",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M978.404275 409.561604H455.061338c-25.117645 0-45.499734 20.382089-45.499734 45.499734l-0.031997 113.781333c0 25.117645 20.350092 45.499734 45.499734 45.531731h318.594132c25.117645 0 45.499734 20.382089 45.499734 45.499735v22.749867a136.5312 136.5312 0 0 1-136.5312 136.5312H250.248539a45.499734 45.499734 0 0 1-45.499734-45.499734V341.343999a136.5312 136.5312 0 0 1 136.5312-136.5312L978.308284 204.780802c25.117645 0 45.499734-20.350092 45.499734-45.467738L1023.904009 45.531731h0.031997A45.499734 45.499734 0 0 0 978.468269 0h-0.031997L341.343999 0.031997C152.84967 0.031997 0.031997 152.84967 0.031997 341.343999v637.092273c0 25.117645 20.382089 45.499734 45.499734 45.499734h671.233072a307.171203 307.171203 0 0 0 307.171203-307.171203v-261.671468c0-25.117645-20.382089-45.499734-45.499734-45.499734z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-github",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M512 20.4425c-278.334 0-504 225.6345-504 504 0 222.6735 144.4275 411.6105 344.673 478.233 25.2 4.662 34.461-10.9305 34.461-24.255 0-12.0015-0.4725-51.723-0.693-93.8385-140.238 30.492-169.8165-59.472-169.8165-59.472-22.932-58.2435-55.944-73.7415-55.944-73.7415-45.738-31.2795 3.465-30.6495 3.465-30.6495 50.589 3.5595 77.238 51.9435 77.238 51.9435 44.9505 77.049 117.9045 54.7785 146.664 41.895 4.5045-32.571 17.577-54.81 32.004-67.41-111.951-12.726-229.635-55.9755-229.635-249.0705 0-55.0305 19.6875-99.981 51.9435-135.2925-5.229-12.6945-22.491-63.945 4.8825-133.371 0 0 42.336-13.545 138.6315 51.66 40.194-11.1825 83.3175-16.758 126.1575-16.9785 42.8085 0.189 85.9635 5.796 126.252 16.9785 96.201-65.205 138.4425-51.66 138.4425-51.66 27.4365 69.426 10.1745 120.6765 4.9455 133.371 32.319 35.28 51.8805 80.262 51.8805 135.2925 0 193.5675-117.9045 236.187-230.139 248.6925 18.081 15.6555 34.1775 46.305 34.1775 93.3345 0 67.4415-0.5985 121.716-0.5985 138.3165 0 13.419 9.072 29.1375 34.6185 24.192 200.151-66.717 344.3895-255.5595 344.3895-478.17 0-278.3655-225.666-504-504-504z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitlab",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M66.61375986 405.11600042L512.11376028 976.03999972 23.84576 621.65599958a39.312 39.312 0 0 1-14.07600042-43.30799944l56.8080007-173.26800028z m259.88400014 0h371.26800014L512.14975986 976.03999972zM215.11376 60.88400042l111.384 344.232H66.61375986l111.384-344.232a19.72800014 19.72800014 0 0 1 37.11600014 0z m742.49999972 344.232l56.8080007 173.2679993a39.23999986 39.23999986 0 0 1-14.07600042 43.30800042l-488.26800028 354.38400014 445.50000042-570.92400028z m0 0h-259.88400014l111.384-344.232a19.72800014 19.72800014 0 0 1 37.11600014 0z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-loading",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M843.307 742.24c0 3.217 2.607 5.824 5.824 5.824s5.824-2.607 5.824-5.824a5.823 5.823 0 0 0-5.824-5.824 5.823 5.823 0 0 0-5.824 5.824zM714.731 874.912c0 6.398 5.186 11.584 11.584 11.584s11.584-5.186 11.584-11.584-5.186-11.584-11.584-11.584-11.584 5.186-11.584 11.584zM541.419 943.2c0 9.614 7.794 17.408 17.408 17.408s17.408-7.794 17.408-17.408-7.794-17.408-17.408-17.408-17.408 7.794-17.408 17.408z m-186.56-9.152c0 12.795 10.373 23.168 23.168 23.168s23.168-10.373 23.168-23.168-10.373-23.168-23.168-23.168-23.168 10.373-23.168 23.168zM189.355 849.12c0 16.012 12.98 28.992 28.992 28.992s28.992-12.98 28.992-28.992-12.98-28.992-28.992-28.992-28.992 12.98-28.992 28.992zM74.731 704.736c0 19.228 15.588 34.816 34.816 34.816s34.816-15.588 34.816-34.816-15.588-34.816-34.816-34.816-34.816 15.588-34.816 34.816z m-43.008-177.28c0 22.41 18.166 40.576 40.576 40.576s40.576-18.166 40.576-40.576-18.166-40.576-40.576-40.576-40.576 18.166-40.576 40.576z m35.392-176.128c0 25.626 20.774 46.4 46.4 46.4s46.4-20.774 46.4-46.4c0-25.626-20.774-46.4-46.4-46.4-25.626 0-46.4 20.774-46.4 46.4z m106.176-142.016c0 28.843 23.381 52.224 52.224 52.224s52.224-23.381 52.224-52.224c0-28.843-23.381-52.224-52.224-52.224-28.843 0-52.224 23.381-52.224 52.224z m155.904-81.344c0 32.024 25.96 57.984 57.984 57.984s57.984-25.96 57.984-57.984-25.96-57.984-57.984-57.984-57.984 25.96-57.984 57.984z m175.104-5.056c0 35.24 28.568 63.808 63.808 63.808s63.808-28.568 63.808-63.808c0-35.24-28.568-63.808-63.808-63.808-35.24 0-63.808 28.568-63.808 63.808z m160.32 72.128c0 38.421 31.147 69.568 69.568 69.568s69.568-31.147 69.568-69.568-31.147-69.568-69.568-69.568-69.568 31.147-69.568 69.568z m113.92 135.488c0 41.638 33.754 75.392 75.392 75.392s75.392-33.754 75.392-75.392-33.754-75.392-75.392-75.392-75.392 33.754-75.392 75.392z m45.312 175.488c0 44.854 36.362 81.216 81.216 81.216s81.216-36.362 81.216-81.216c0-44.854-36.362-81.216-81.216-81.216-44.854 0-81.216 36.362-81.216 81.216z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-like",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 0 0-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4-20.5-21.5-48.1-33.4-77.9-33.4-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-0.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81z m636.4-353l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5c5.2-18.9 22.5-32.2 42.2-32.3 7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-unlike",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4-8.3-3.6-17.2-5.4-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81z m627.2 160.4H496.8l9.6 198.4c0.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7-19.6-0.1-36.9-13.4-42.2-32.3L329 459.2V172h415.4c20.4 9.2 33.6 29.4 33.6 51.8 0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 19.1-11 37.5-28.8 48.4z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-heart",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-edit",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M723.2 917.76H286.72c-65.28 0-118.4-51.2-118.4-113.92V261.76C168.32 198.4 221.44 147.2 286.72 147.2h375.04c17.92 0 32 14.08 32 32s-14.08 32-32 32H286.72c-30.08 0-54.4 22.4-54.4 49.92v542.08c0 27.52 24.32 49.92 54.4 49.92H723.2c30.08 0 54.4-22.4 54.4-49.92V440.32c0-17.92 14.08-32 32-32s32 14.08 32 32v363.52c0 62.72-53.12 113.92-118.4 113.92z"}}),e._v(" "),n("path",{attrs:{d:"M499.84 602.24c-7.68 0-14.72-2.56-21.12-7.68-13.44-11.52-14.72-32-3.2-45.44L780.16 198.4c11.52-13.44 32-14.72 45.44-3.2s14.72 32 3.2 45.44L524.16 591.36c-6.4 7.04-15.36 10.88-24.32 10.88z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-delete",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M677.647059 256l0-90.352941c0-37.436235-23.461647-60.235294-61.771294-60.235294L408.094118 105.411765c-38.249412 0-61.741176 22.799059-61.741176 60.235294l0 90.352941-180.705882 0 0 60.235294 60.235294 0 0 512c0 54.272 33.972706 90.352941 90.352941 90.352941l391.529412 0c55.085176 0 90.352941-33.490824 90.352941-90.352941l0-512 60.235294 0 0-60.235294L677.647059 256zM406.588235 165.647059l210.823529 0-1.264941 90.352941L406.588235 256 406.588235 165.647059zM737.882353 858.352941l-451.764706 0 0-542.117647 451.764706 0L737.882353 858.352941zM466.823529 376.470588l-58.729412 0-1.505882 391.529412 60.235294 0L466.823529 376.470588zM617.411765 376.470588l-60.235294 0 0 391.529412 60.235294 0L617.411765 376.470588z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-reply",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M426.666667 384 426.666667 213.333333 128 512 426.666667 810.666667 426.666667 635.733333C640 635.733333 789.333333 704 896 853.333333 853.333333 640 725.333333 426.666667 426.666667 384Z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-error",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M512 720m-48 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0Z"}}),e._v(" "),n("path",{attrs:{d:"M480 416v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z"}}),e._v(" "),n("path",{attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48z m-783.5-27.9L512 239.9l339.8 588.2H172.2z"}})])])},staticRenderFns:[]},void 0,Or,void 0,!0,void 0,!1,void 0,void 0,void 0);const $r=Cr({},void 0,o.default.extend({name:"TransitionFade",functional:!0,props:{group:{type:Boolean,required:!1,default:!1},tag:{type:String,required:!1,default:"div"}},render:(t,{props:e,children:n})=>t(e.group?"TransitionGroup":"Transition",{props:{name:"fade",mode:"out-in",appear:!0,tag:e.tag}},n)}),void 0,void 0,void 0,!1,void 0,void 0,void 0);const jr=Cr({},void 0,o.default.extend({name:"VssueIcon",functional:!0,props:{name:{type:String,required:!0},title:{type:String,required:!1,default:null}},render:(t,{props:e,data:n})=>t("svg",Object.assign(Object.assign({},n),{class:["vssue-icon","vssue-icon-"+e.name],attrs:{"aria-hidden":"true"}}),[t("title",e.title),t("use",{attrs:{"xlink:href":"#vssue-icon-"+e.name}})])}),void 0,void 0,void 0,!1,void 0,void 0,void 0);let Ar=class extends o.default{constructor(){super(...arguments),this.editMode=!1,this.editContent=this.comment.contentRaw,this.creatingReactions=[],this.isPutingComment=!1,this.isDeletingComment=!1}get currentUser(){return this.vssue.user?this.vssue.user.username:null}get content(){return this.comment.content}get author(){return this.comment.author}get createdAt(){return Sn(this.comment.createdAt)}get updatedAt(){return Sn(this.comment.updatedAt)}get showReactions(){return Boolean(this.vssue.API&&this.vssue.API.platform.meta.reactable&&this.comment.reactions&&!this.editMode)}get reactionKeys(){return["heart","like","unlike"]}get editContentRows(){return this.editContent.split("\n").length-1}get editInputRows(){return this.editContentRows<3?5:this.editContentRows+2}async postReaction({reaction:t}){try{if(this.creatingReactions.includes(t))return;this.creatingReactions.push(t);await this.vssue.postCommentReaction({commentId:this.comment.id,reaction:t})||this.vssue.$emit("error",new Error(this.vssue.$t("reactionGiven",{reaction:this.vssue.$t(t)})));const e=await this.vssue.getCommentReactions({commentId:this.comment.id});e&&(this.comment.reactions=e)}finally{this.creatingReactions.splice(this.creatingReactions.findIndex(e=>e===t),1)}}enterEdit(){this.editMode=!0,this.$nextTick(()=>{this.$refs.input.focus()})}resetEdit(){this.editMode=!1,this.editContent=this.comment.contentRaw}async putComment(){try{if(this.vssue.isPending)return;if(this.editContent!==this.comment.contentRaw){this.isPutingComment=!0,this.vssue.isUpdatingComment=!0;const t=await this.vssue.putComment({commentId:this.comment.id,content:this.editContent});t&&this.vssue.comments.data.splice(this.vssue.comments.data.findIndex(t=>t.id===this.comment.id),1,t)}this.editMode=!1}finally{this.isPutingComment=!1,this.vssue.isUpdatingComment=!1}}async deleteComment(){try{if(this.vssue.isPending)return;if(!window.confirm(this.vssue.$t("deleteConfirm")))return;this.isDeletingComment=!0,this.vssue.isUpdatingComment=!0;await this.vssue.deleteComment({commentId:this.comment.id})?(this.vssue.comments.count-=1,this.vssue.comments.data.length>1&&this.vssue.comments.data.splice(this.vssue.comments.data.findIndex(t=>t.id===this.comment.id),1),this.vssue.query.page>1&&this.vssue.query.page>Math.ceil(this.vssue.comments.count/this.vssue.query.perPage)?this.vssue.query.page-=1:await this.vssue.getComments()):this.vssue.$emit("error",new Error(this.vssue.$t("deleteFailed")))}finally{this.isDeletingComment=!1,this.vssue.isUpdatingComment=!1}}};kr([yn({type:Object,required:!0})],Ar.prototype,"comment",void 0),kr([fn()],Ar.prototype,"vssue",void 0),Ar=kr([Object(ln.b)({components:{VssueIcon:jr}})],Ar);const Er=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-comment",class:{"vssue-comment-edit-mode":t.editMode,"vssue-comment-disabled":t.isDeletingComment||t.isPutingComment}},[n("div",{staticClass:"vssue-comment-avatar"},[n("a",{attrs:{href:t.author.homepage,title:t.author.username,target:"_blank",rel:"noopener noreferrer"}},[n("img",{attrs:{src:t.author.avatar,alt:t.author.username}})])]),t._v(" "),n("div",{staticClass:"vssue-comment-body"},[t._t("body",[n("div",{staticClass:"vssue-comment-header"},[n("span",{staticClass:"vssue-comment-author"},[n("a",{attrs:{href:t.author.homepage,title:t.author.username,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.author.username)+"\n ")])]),t._v(" "),n("span",{staticClass:"vssue-comment-created-at"},[t._v("\n "+t._s(t.createdAt)+"\n ")])]),t._v(" "),n("div",{staticClass:"vssue-comment-main"},[t.editMode?n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editContent,expression:"editContent"}],ref:"input",staticClass:"vssue-edit-comment-input",attrs:{rows:t.editInputRows},domProps:{value:t.editContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey?t.putComment():null},input:function(e){e.target.composing||(t.editContent=e.target.value)}}}):n("article",{staticClass:"markdown-body",domProps:{innerHTML:t._s(t.content)}})]),t._v(" "),n("div",{staticClass:"vssue-comment-footer"},[t.editMode?n("span",{staticClass:"vssue-comment-hint"},[t._v("\n "+t._s(t.vssue.$t("editMode"))+"\n ")]):t._e(),t._v(" "),t.showReactions?n("span",{staticClass:"vssue-comment-reactions"},t._l(t.reactionKeys,(function(e){return n("span",{key:e,staticClass:"vssue-comment-reaction",attrs:{title:t.vssue.$t(t.creatingReactions.includes(e)?"loading":e)},on:{click:function(n){return t.postReaction({reaction:e})}}},[n("VssueIcon",{attrs:{name:t.creatingReactions.includes(e)?"loading":e,title:t.vssue.$t(t.creatingReactions.includes(e)?"loading":e)}}),t._v(" "),n("span",{staticClass:"vssue-comment-reaction-number"},[t._v("\n "+t._s(t.comment.reactions[e])+"\n ")])],1)})),0):t._e(),t._v(" "),n("span",{staticClass:"vssue-comment-operations"},[t.comment.author.username===t.currentUser&&t.editMode?n("span",{staticClass:"vssue-comment-operation",class:{"vssue-comment-operation-muted":t.isPutingComment},attrs:{title:t.vssue.$t(t.isPutingComment?"loading":"submit")},on:{click:function(e){return t.putComment()}}},[n("VssueIcon",{directives:[{name:"show",rawName:"v-show",value:t.isPutingComment,expression:"isPutingComment"}],attrs:{name:"loading",title:t.vssue.$t("loading")}}),t._v("\n\n "+t._s(t.vssue.$t("submit"))+"\n ")],1):t._e(),t._v(" "),t.comment.author.username===t.currentUser&&t.editMode?n("span",{staticClass:"vssue-comment-operation vssue-comment-operation-muted",attrs:{title:t.vssue.$t("cancel")},on:{click:function(e){return t.resetEdit()}}},[t._v("\n "+t._s(t.vssue.$t("cancel"))+"\n ")]):t._e(),t._v(" "),t.comment.author.username===t.currentUser?n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.enterEdit()}}},[n("VssueIcon",{attrs:{name:"edit",title:t.vssue.$t("edit")}})],1):t._e(),t._v(" "),t.comment.author.username===t.currentUser||t.vssue.isAdmin?n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.deleteComment()}}},[n("VssueIcon",{attrs:{name:t.isDeletingComment?"loading":"delete",title:t.vssue.$t(t.isDeletingComment?"loading":"delete")}})],1):t._e(),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.vssue.$emit("reply-comment",t.comment)}}},[n("VssueIcon",{attrs:{name:"reply",title:t.vssue.$t("reply")}})],1)])])])],2)])},staticRenderFns:[]},void 0,Ar,void 0,!1,void 0,!1,void 0,void 0,void 0);let Tr=class extends o.default{get disabled(){return this.vssue.isPending}get pageCount(){const t=Math.ceil(this.vssue.comments.count/this.vssue.comments.perPage);return t>1?t:1}get perPageOptions(){const t=[5,10,20,50];return!t.includes(this.vssue.options.perPage)&&this.vssue.options.perPage<100&&t.push(this.vssue.options.perPage),t.sort((t,e)=>t-e)}get page(){return this.vssue.query.page>this.pageCount?this.pageCount:this.vssue.query.page}set page(t){t>0&&t<=this.pageCount&&(this.vssue.query.page=t)}get perPage(){return this.vssue.query.perPage}set perPage(t){this.perPageOptions.includes(t)&&(this.vssue.query.perPage=t)}};kr([fn()],Tr.prototype,"vssue",void 0),Tr=kr([Object(ln.b)({components:{VssueIcon:jr}})],Tr);const Ir=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-pagination"},[n("div",{staticClass:"vssue-pagination-per-page"},[n("label",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.perPage,expression:"perPage"}],staticClass:"vssue-pagination-select",attrs:{disabled:t.disabled},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.perPage=e.target.multiple?n:n[0]}}},t._l(t.perPageOptions,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])})),0),t._v(" "),n("span",[t._v("\n "+t._s(t.vssue.$t("perPage"))+"\n ")])]),t._v(" "),t.vssue.API.platform.meta.sortable?n("span",{class:{"vssue-pagination-link":!0,disabled:t.disabled},attrs:{title:t.vssue.$t("sort")},on:{click:function(e){t.vssue.query.sort="asc"===t.vssue.query.sort?"desc":"asc"}}},[t._v("\n "+t._s("asc"===t.vssue.query.sort?"↑":"↓")+"\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"vssue-pagination-page"},[n("span",{class:{"vssue-pagination-link":!0,disabled:1===t.page||t.disabled},attrs:{title:t.vssue.$t("prev")},domProps:{textContent:t._s("<")},on:{click:function(e){t.page-=1}}}),t._v(" "),n("label",[n("span",[t._v("\n "+t._s(t.vssue.$t("page"))+"\n ")]),t._v(" "),n("select",{directives:[{name:"show",rawName:"v-show",value:t.pageCount>1,expression:"pageCount > 1"},{name:"model",rawName:"v-model",value:t.page,expression:"page"}],staticClass:"vssue-pagination-select",attrs:{disabled:t.disabled},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.page=e.target.multiple?n:n[0]}}},t._l(t.pageCount,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.pageCount<2,expression:"pageCount < 2"}],domProps:{textContent:t._s(t.page)}}),t._v(" "),n("span",{domProps:{textContent:t._s(" / "+t.pageCount+" ")}})]),t._v(" "),n("span",{class:{"vssue-pagination-link":!0,disabled:t.page===t.pageCount||t.disabled},attrs:{title:t.vssue.$t("next")},domProps:{textContent:t._s(">")},on:{click:function(e){t.page+=1}}})])])},staticRenderFns:[]},void 0,Tr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Pr=class extends o.default{};kr([fn()],Pr.prototype,"vssue",void 0),Pr=kr([Object(ln.b)({components:{TransitionFade:$r,VssueComment:Er,VssuePagination:Ir}})],Pr);const Rr=Cr({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vssue-comments"},[e("VssuePagination"),this._v(" "),e("TransitionFade",{attrs:{group:""}},this._l(this.vssue.comments.data,(function(t){return e("VssueComment",{key:t.id,attrs:{comment:t}})})),1),this._v(" "),e("VssuePagination",{directives:[{name:"show",rawName:"v-show",value:this.vssue.comments.data.length>5,expression:"vssue.comments.data.length > 5"}]})],1)},staticRenderFns:[]},void 0,Pr,void 0,!1,void 0,!1,void 0,void 0,void 0);const Mr=Cr({},void 0,o.default.extend({name:"VssueIcon",functional:!0,props:{type:{type:String,required:!1,default:"default"}},render:(t,{props:e,data:n,children:r})=>t("button",Object.assign(Object.assign({},n),{class:["vssue-button","vssue-button-"+e.type]}),r)}),void 0,void 0,void 0,!1,void 0,void 0,void 0);let Lr=class extends o.default{constructor(){super(...arguments),this.content=""}get user(){return this.vssue.user}get platform(){return this.vssue.API&&this.vssue.API.platform.name}get isInputDisabled(){return this.loading||null===this.user||null===this.vssue.issue}get isSubmitDisabled(){return""===this.content||this.vssue.isPending||null===this.vssue.issue}get loading(){return this.vssue.isCreatingComment}get contentRows(){return this.content.split("\n").length-1}get inputRows(){return this.contentRows<3?5:this.contentRows+2}created(){this.vssue.$on("reply-comment",t=>{const e=t.contentRaw.replace(/\n/g,"\n> "),n=`@${t.author.username}\n\n> ${e}\n\n`;this.content=this.content.concat(n),this.focus()})}beforeDestroy(){this.vssue.$off("reply-comment")}focus(){this.$refs.input.focus()}async submit(){this.isSubmitDisabled||(await this.vssue.postComment({content:this.content}),this.content="",await this.vssue.getComments())}};kr([fn()],Lr.prototype,"vssue",void 0),Lr=kr([Object(ln.b)({components:{VssueButton:Mr,VssueIcon:jr}})],Lr);const zr=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-new-comment"},[n("div",{staticClass:"vssue-comment-avatar"},[t.user?n("a",{attrs:{href:t.user.homepage,title:t.user.username,target:"_blank",rel:"noopener noreferrer"}},[n("img",{attrs:{src:t.user.avatar,alt:t.user.username}})]):n("VssueIcon",{attrs:{name:t.platform.toLowerCase(),title:t.vssue.$t("loginToComment",{platform:t.platform})},on:{click:function(e){return t.vssue.login()}}})],1),t._v(" "),n("div",{staticClass:"vssue-new-comment-body"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],ref:"input",staticClass:"vssue-new-comment-input",attrs:{rows:t.inputRows,disabled:t.isInputDisabled,placeholder:t.vssue.$t(t.user?"placeholder":"noLoginPlaceHolder"),spellcheck:!1,"aria-label":"leave a comment"},domProps:{value:t.content},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey?t.submit():null},input:function(e){e.target.composing||(t.content=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"vssue-new-comment-footer"},[t.user?n("span",{staticClass:"vssue-current-user"},[n("span",[t._v(t._s(t.vssue.$t("currentUser"))+" - "+t._s(t.user.username)+" - ")]),t._v(" "),n("a",{staticClass:"vssue-logout",on:{click:function(e){return t.vssue.logout()}}},[t._v("\n "+t._s(t.vssue.$t("logout"))+"\n ")])]):n("span",{staticClass:"vssue-current-user"},[t._v("\n "+t._s(t.vssue.$t("loginToComment",{platform:t.platform}))+"\n ")]),t._v(" "),n("div",{staticClass:"vssue-new-comment-operations"},[t.user?n("VssueButton",{staticClass:"vssue-button-submit-comment",attrs:{type:"primary",disabled:t.isSubmitDisabled},on:{click:function(e){return t.submit()}}},[n("VssueIcon",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],attrs:{name:"loading"}}),t._v("\n\n "+t._s(t.vssue.$t(t.loading?"submitting":"submitComment"))+"\n ")],1):n("VssueButton",{staticClass:"vssue-button-login",attrs:{type:"primary",title:t.vssue.$t("loginToComment",{platform:t.platform})},on:{click:function(e){return t.vssue.login()}}},[t._v("\n "+t._s(t.vssue.$t("login",{platform:t.platform}))+"\n ")])],1)])])},staticRenderFns:[]},void 0,Lr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Fr=class extends o.default{constructor(){super(...arguments),this.progress={show:!1,percent:0,timer:null,speed:200},this.alert={show:!1,message:null,timer:null}}onLoadingCommentsChange(t){this.vssue.comments&&(t?this.progressStart():this.progressDone())}created(){this.vssue.$on("error",t=>this.alertShow(t.message))}beforeDestroy(){this.vssue.$off("error"),null!==this.progress.timer&&window.clearTimeout(this.progress.timer),null!==this.alert.timer&&window.clearTimeout(this.alert.timer)}progressStart(){this.progress.show=!0,this.progress.percent=0,this.progress.timer=window.setInterval(()=>{this.progress.percent+=5,this.progress.percent>94&&null!==this.progress.timer&&window.clearInterval(this.progress.timer)},this.progress.speed)}progressDone(){this.progress.percent=100,null!==this.progress.timer&&window.clearTimeout(this.progress.timer),this.progress.timer=null,window.setTimeout(()=>{this.progress.show=!1},this.progress.speed)}alertShow(t){this.alert.show=!0,this.alert.message=t,null!==this.alert.timer&&window.clearTimeout(this.alert.timer),this.alert.timer=window.setTimeout(()=>{this.alertHide()},3e3)}alertHide(){this.alert.show=!1,null!==this.alert.timer&&window.clearTimeout(this.alert.timer),this.alert.timer=null}};kr([fn()],Fr.prototype,"vssue",void 0),kr([bn("vssue.isLoadingComments")],Fr.prototype,"onLoadingCommentsChange",null),Fr=kr([Object(ln.b)({components:{TransitionFade:$r}})],Fr);const Nr=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-notice"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.progress.show,expression:"progress.show"}],staticClass:"vssue-progress",style:{width:t.progress.percent+"%",transition:"all "+t.progress.speed+"ms linear"}}),t._v(" "),n("TransitionFade",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.alert.show,expression:"alert.show"}],staticClass:"vssue-alert",domProps:{textContent:t._s(t.alert.message)},on:{click:function(e){return t.alertHide()}}})])],1)},staticRenderFns:[]},void 0,Fr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Dr=class extends o.default{get status(){return this.vssue.isFailed?"failed":this.vssue.isInitializing?"initializing":this.vssue.isIssueNotCreated&&!this.vssue.isCreatingIssue?this.vssue.isAdmin||!this.vssue.isLogined?"issueNotCreated":"failed":this.vssue.isLoginRequired?"loginRequired":!this.vssue.comments||this.vssue.isCreatingIssue?"loadingComments":0===this.vssue.comments.data.length?"noComments":null}handleClick(){"issueNotCreated"===this.status?this.vssue.postIssue():"loginRequired"===this.status&&this.vssue.login()}};kr([fn()],Dr.prototype,"vssue",void 0),Dr=kr([Object(ln.b)({components:{TransitionFade:$r,VssueIcon:jr}})],Dr);const Ur=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("TransitionFade",[t.status?n("div",{key:t.status,staticClass:"vssue-status"},[["failed","loadingComments","initializing"].includes(t.status)?n("VssueIcon",{attrs:{name:"failed"===t.status?"error":"loading"}}):t._e(),t._v(" "),n("p",{staticClass:"vssue-status-info"},[n(["issueNotCreated","loginRequired"].includes(t.status)?"a":"span",{tag:"Component",on:{click:t.handleClick}},[t._v("\n "+t._s(t.vssue.$t(t.status))+"\n ")])],1)],1):t._e()])},staticRenderFns:[]},void 0,Dr,void 0,!1,void 0,!1,void 0,void 0,void 0);let qr=class extends o.default{};kr([fn()],qr.prototype,"vssue",void 0),qr=kr([Object(ln.b)({components:{TransitionFade:$r,VssueIcon:jr,VssueComments:Rr,VssueNewComment:zr,VssueNotice:Nr,VssueStatus:Ur}})],qr);const Br=Cr({render:function(){var t=this.$createElement,e=this._self._c||t;return e("TransitionFade",[this.vssue.isInitializing?e("VssueStatus"):e("div",{staticClass:"vssue-body"},[this.vssue.API?e("VssueNewComment"):this._e(),this._v(" "),e("VssueNotice"),this._v(" "),e("TransitionFade",[this.vssue.comments&&this.vssue.comments.data.length>0?e("VssueComments"):e("VssueStatus")],1)],1)],1)},staticRenderFns:[]},void 0,qr,void 0,!1,void 0,!1,void 0,void 0,void 0);let Vr=class extends o.default{};kr([fn()],Vr.prototype,"vssue",void 0),Vr=kr([ln.b],Vr);const Hr=Cr({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-header"},[n("a",{staticClass:"vssue-header-comments-count",attrs:{href:t.vssue.issue?t.vssue.issue.link:null,target:"_blank",rel:"noopener noreferrer"}},[n("span",[t._v("\n "+t._s(t.vssue.comments?t.vssue.$tc("comments",t.vssue.comments.count,{count:t.vssue.comments.count}):t.vssue.$tc("comments",0))+"\n ")])]),t._v(" "),n("span",{staticClass:"vssue-header-powered-by"},[n("span",[t._v("Powered by")]),t._v(" "),t.vssue.API?n("span",[n("a",{attrs:{href:t.vssue.API.platform.link,title:t.vssue.API.platform.name+" API "+t.vssue.API.platform.version,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.vssue.API.platform.name)+"\n ")]),t._v(" "),n("span",[t._v("&")])]):t._e(),t._v(" "),n("a",{attrs:{href:"https://github.com/meteorlxy/vssue",title:"Vssue v"+t.vssue.version,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n Vssue\n ")])])])},staticRenderFns:[]},void 0,Vr,void 0,!1,void 0,!1,void 0,void 0,void 0),Wr={login:"Login with {platform}",logout:"Logout",currentUser:"Current User",loading:"Loading",submit:"Submit",submitting:"Submitting",submitComment:"Submit Comment",cancel:"Cancel",edit:"Edit",editMode:"Edit Mode",delete:"Delete",reply:"Reply",heart:"Heart",like:"Like",unlike:"Unlike",perPage:"Comments per page",sort:"Click to change the sort direction",page:"Page",prev:"Previous Page",next:"Next Page",comments:"Comments | {count} Comment | {count} Comments",loginToComment:"Login with {platform} account to leave a comment",placeholder:"Leave a comment. Styling with Markdown is supported. Ctrl + Enter to submit.",noLoginPlaceHolder:"Login to leave a comment. Styling with Markdown is supported. ",failed:"Failed to load comments",initializing:"Initializing...",issueNotCreated:"Click to create issue",loadingComments:"Loading comments...",loginRequired:"Login to view comments",noComments:"No comments yet. Leave the first comment !",reactionGiven:"Already given '{reaction}' reaction",deleteConfirm:"Confirm to delete this comment ?",deleteFailed:"Failed to delete comment"},Qr={login:"使用 {platform} 登录",logout:"退出登录",currentUser:"当前用户",loading:"加载中",submit:"提交",submitting:"发表中",submitComment:"发表评论",cancel:"取消",edit:"编辑",editMode:"编辑模式",delete:"删除",reply:"回复",heart:"喜欢",like:"赞",unlike:"踩",perPage:"每页评论数",sort:"点击改变排序方式",page:"页数",prev:"上一页",next:"下一页",comments:"评论 | {count} 条评论 | {count} 条评论",loginToComment:"使用 {platform} 帐号登录后发表评论",placeholder:"留下你的评论丨支持 Markdown 语法丨Ctrl + Enter 发表评论",noLoginPlaceHolder:"登录后才能发表评论丨支持 Markdown 语法",failed:"评论加载失败",initializing:"正在初始化...",issueNotCreated:"点击创建 Issue",loadingComments:"正在加载评论...",loginRequired:"登录后查看评论",noComments:"还没有评论,来发表第一条评论吧!",reactionGiven:"已经添加过 '{reaction}' 了",deleteConfirm:"确认要删除该评论吗?",deleteFailed:"评论删除失败"},Gr={login:"Entrar com {platform}",logout:"Sair",currentUser:"Usuário Atual",loading:"Carregando",submit:"Enviar",submitting:"Enviando",submitComment:"Enviar Comentário",cancel:"Cancelar",edit:"Editar",editMode:"Modo de Edição",delete:"Apagar",reply:"Responder",heart:"Heart",like:"Like",unlike:"Unlike",perPage:"Comentários por página",sort:"Clique para alterar a ordenação",page:"Página",prev:"Página Anterior",next:"Próxima Página",comments:"Comentários | {count} Comentário | {count} Comentários",loginToComment:"Entre com uma conta {platform} para deixar um comentário",placeholder:"Deixe um comentário. Estilos com Markdown suportados. Ctrl + Enter para enviar.",noLoginPlaceHolder:"Entre para deixar um comentário. Estilos com Markdown suportados. ",failed:"Falha ao carregar comentários",initializing:"Inicializando...",issueNotCreated:"Click to create issue",loadingComments:"Carregando comentários...",loginRequired:"Entrar para visualizar comentários",noComments:"Nenhum comentário. Deixe o primeiro comentário!",reactionGiven:"Já reagiu com '{reaction}'",deleteConfirm:"Apagar este comentário?",deleteFailed:"Falha ao apagar comentário"},Yr={login:"{platform} でログイン",logout:"ログアウト",currentUser:"現在のユーザー",loading:"読み込み中",submit:"送信",submitting:"送信中",submitComment:"コメントを送信",cancel:"キャンセル",edit:"編集",editMode:"編集モード",delete:"削除",reply:"返信",heart:"ハート",like:"高評価",unlike:"低評価",perPage:"コメント/ページ",sort:"並び順を変更するにはクリックしてください",page:"ページ",prev:"前のページ",next:"次のページ",comments:"コメント | {count} コメント | {count} コメント",loginToComment:"コメントを残すには {platform} アカウントでログインしてください。",placeholder:"コメントを残してください。Markdown 記法をサポートしています。 Ctrl + Enter で送信できます。",noLoginPlaceHolder:"コメントを残すにはログインしてください。マークダウン記法をサポートしています。",failed:"コメントの読み込みに失敗しました",initializing:"初期化中...",issueNotCreated:"Click to create issue",loadingComments:"コメントの読み込み中...",loginRequired:"コメントを見るにはログインしてください",noComments:"まだコメントがありません。最初のコメントを残しましょう!",reactionGiven:"既に '{reaction}' のリアクションをしています",deleteConfirm:"本当にコメントを削除してもいいですか?",deleteFailed:"コメントの削除に失敗しました"},Kr={login:"התחברו עם {platform}",logout:"התנתקו",currentUser:"משתמש/ת נוכחי/ת",loading:"טוען",submit:"שליחה",submitting:"שולח",submitComment:"שליחת תגובה",cancel:"ביטל",edit:"עריכה",editMode:"מצב עריכה",delete:"מחיקה",reply:"תשובה",heart:"לב",like:"לייק",unlike:"אנלייק",perPage:"תגובות לדף",sort:"לחצו כדי לשנות את כיוון המיון",page:"דף",prev:"הדף הקודם",next:"הדף הבא",comments:"תגובות | {count} תגובה | {count} תגובות",loginToComment:"התחברו עם חשבון {platform} כדי להשאיר תגובה",placeholder:"השאירו תגובה. יש תמיכה בעיצוב בעזרת Markdown. Ctrl + Enter כדי לשלוח.",noLoginPlaceHolder:"התחברו כדי להשאיר תגובה. יש תמיכה בעיצוב בעזרת Markdown. ",failed:"כשלון בטעינת התגובות",initializing:"מאתחל...",issueNotCreated:"לחצו ליצירת issue",loadingComments:"טוען תגובות...",loginRequired:"התחברו כדי לצפות בתגובות",noComments:"עדיין אין תגובות. השאירו תגובה ראשונה !",reactionGiven:"כבר ניתן חיווי '{reaction}'",deleteConfirm:"בטוחים במחיקת התגובה ?",deleteFailed:"כשלון במחיקת התגובה"};Object.prototype.hasOwnProperty.call(o.default,"$i18n")||o.default.use(xr);const Jr=new xr({locale:"en",fallbackLocale:"en",messages:{en:Wr,"en-US":Wr,zh:Qr,"zh-CN":Qr,pt:Gr,"pt-BR":Gr,ja:Yr,"ja-JP":Yr,he:Kr,"he-IL":Kr}});let Xr=class extends o.default{constructor(){super(...arguments),this.title=t=>`${t.prefix}${document.title}`,this.issueId=null,this.options=null,this.API=null,this.accessToken=null,this.user=null,this.issue=null,this.comments=null,this.query={page:1,perPage:10,sort:"desc"},this.isInitializing=!0,this.isIssueNotCreated=!1,this.isLoginRequired=!1,this.isFailed=!1,this.isCreatingIssue=!1,this.isLoadingComments=!1,this.isCreatingComment=!1,this.isUpdatingComment=!1}get version(){return"1.4.8"}get issueTitle(){return null===this.options?"":"function"==typeof this.title?this.title(this.options):`${this.options.prefix}${this.title}`}get isPending(){return this.isLoadingComments||this.isCreatingComment||this.isUpdatingComment}get isLogined(){return null!==this.accessToken&&null!==this.user}get isAdmin(){return null!==this.options&&null!==this.accessToken&&null!==this.user&&(this.user.username===this.options.owner||this.options.admins.includes(this.user.username))}get accessTokenKey(){return this.API?`Vssue.${this.API.platform.name.toLowerCase()}.access_token`:""}onQueryPerPageChange(){this.query.page=1,this.getComments()}onQueryChange(){this.getComments()}setOptions(t){this.options=Object.assign({labels:["Vssue"],state:"Vssue",prefix:"[Vssue]",admins:[],perPage:10,proxy:t=>"https://cors-anywhere.azm.workers.dev/"+t,issueContent:({url:t})=>t,autoCreateIssue:!1},t);const e=["api","owner","repo","clientId"];for(const t of e)this.options[t]||console.warn(`[Vssue] the option '${t}' is required`);if(this.options.locale)this.$i18n.locale=this.options.locale;else{const t=Object.keys(this.$i18n.messages),e=window.navigator.languages;this.$i18n.locale=e.filter(e=>t.includes(e)).shift()||"en"}}async init(){try{await this.initStore(),await this.initComments()}catch(t){t.response&&[401,403].includes(t.response.status)?this.isLoginRequired=!0:this.isFailed=!0,console.error(t)}}async initStore(){try{if(!this.options)throw new Error("Options are required to initialize Vssue");this.API=null,this.accessToken=null,this.user=null,this.issue=null,this.comments=null,this.query={page:1,perPage:this.options.perPage,sort:"desc"},this.isInitializing=!0,this.isIssueNotCreated=!1,this.isLoginRequired=!1,this.isFailed=!1,this.isCreatingIssue=!1,this.isLoadingComments=!1,this.isCreatingComment=!1,this.isUpdatingComment=!1;const t=this.options.api;this.API=new t({baseURL:this.options.baseURL,labels:this.options.labels,state:this.options.state,owner:this.options.owner,repo:this.options.repo,clientId:this.options.clientId,clientSecret:this.options.clientSecret,proxy:this.options.proxy}),await this.handleAuth()}finally{this.isInitializing=!1}}async initComments(){if(this.API&&this.options)if(this.issueId){const[t,e]=await Promise.all([this.API.getIssue({accessToken:this.accessToken,issueId:this.issueId}),this.API.getComments({accessToken:this.accessToken,issueId:this.issueId,query:this.query})]);this.issue=t,this.comments=e}else this.issue=await this.API.getIssue({accessToken:this.accessToken,issueTitle:this.issueTitle}),null===this.issue?(this.isIssueNotCreated=!0,this.options.autoCreateIssue&&await this.postIssue()):await this.getComments()}async postIssue(){if(this.API&&this.options&&!this.issue&&!this.issueId&&(this.isLogined||this.login(),this.isAdmin))try{this.isCreatingIssue=!0;const t=await this.API.postIssue({title:this.issueTitle,content:await this.options.issueContent({options:this.options,url:$n(window.location.href)}),accessToken:this.accessToken});this.issue=t,this.isIssueNotCreated=!1,await this.getComments()}catch(t){this.isFailed=!0}finally{this.isCreatingIssue=!1}}async getComments(){try{if(!this.API||!this.issue||this.isLoadingComments)return;this.isLoadingComments=!0;const t=await this.API.getComments({accessToken:this.accessToken,issueId:this.issue.id,query:this.query});return this.comments=t,this.query.page!==t.page&&(this.query.page=t.page),this.query.perPage!==t.perPage&&(this.query.perPage=t.perPage),t}catch(t){if(!t.response||![401,403].includes(t.response.status)||this.isLogined)throw this.$emit("error",t),t;this.isLoginRequired=!0}finally{this.isLoadingComments=!1}}async postComment({content:t}){try{if(!this.API||!this.issue||this.isCreatingComment)return;this.isCreatingComment=!0;return await this.API.postComment({accessToken:this.accessToken,content:t,issueId:this.issue.id})}catch(t){throw this.$emit("error",t),t}finally{this.isCreatingComment=!1}}async putComment({commentId:t,content:e}){try{if(!this.API||!this.issue)return;return await this.API.putComment({accessToken:this.accessToken,issueId:this.issue.id,commentId:t,content:e})}catch(t){throw this.$emit("error",t),t}}async deleteComment({commentId:t}){try{if(!this.API||!this.issue)return;return await this.API.deleteComment({accessToken:this.accessToken,issueId:this.issue.id,commentId:t})}catch(t){throw this.$emit("error",t),t}}async getCommentReactions({commentId:t}){try{if(!this.API||!this.issue)return;return await this.API.getCommentReactions({accessToken:this.accessToken,issueId:this.issue.id,commentId:t})}catch(t){throw this.$emit("error",t),t}}async postCommentReaction({commentId:t,reaction:e}){try{if(!this.API||!this.issue)return!1;return await this.API.postCommentReaction({accessToken:this.accessToken,issueId:this.issue.id,commentId:t,reaction:e})}catch(t){throw this.$emit("error",t),t}}login(){this.API&&this.API.redirectAuth()}logout(){this.setAccessToken(null),this.user=null}async handleAuth(){if(!this.API)return;const t=await this.API.handleAuth();t?(this.setAccessToken(t),this.user=await this.API.getUser({accessToken:t})):this.getAccessToken()?this.user=await this.API.getUser({accessToken:this.accessToken}):(this.setAccessToken(null),this.user=null)}getAccessToken(){return this.accessToken=window.localStorage.getItem(this.accessTokenKey),this.accessToken}setAccessToken(t){null===t?window.localStorage.removeItem(this.accessTokenKey):window.localStorage.setItem(this.accessTokenKey,t),this.accessToken=t}};kr([bn("query.perPage")],Xr.prototype,"onQueryPerPageChange",null),kr([bn("query.page"),bn("query.sort")],Xr.prototype,"onQueryChange",null),Xr=kr([Object(ln.b)({i18n:Jr})],Xr);var Zr=Xr;let to=class extends o.default{constructor(){super(...arguments),this.vssue=new Zr}onOptionsChange(t){this.vssue.setOptions(t)}mounted(){null!==this.title&&(this.vssue.title=this.title),null!==this.issueId&&(this.vssue.issueId=this.issueId),this.vssue.setOptions(this.options),this.vssue.init()}};var eo;kr([yn({type:[String,Function],required:!1,default:null})],to.prototype,"title",void 0),kr([yn({type:[String,Number],required:!1,default:null})],to.prototype,"issueId",void 0),kr([yn({type:Object,required:!1,default:()=>({})})],to.prototype,"options",void 0),kr([(eo="vssue",Object(ln.a)((function(t,e){var n=t.provide;vn(t),pn(n)&&(n=t.provide=dn(n)),n.managed[e]=eo||e})))],to.prototype,"vssue",void 0),kr([bn("options",{deep:!0})],to.prototype,"onOptionsChange",null),to=kr([Object(ln.b)({components:{Iconfont:Sr,VssueBody:Br,VssueHeader:Hr}})],to);const no=Cr({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vssue"},[e("Iconfont"),this._v(" "),e("VssueHeader"),this._v(" "),e("VssueBody")],1)},staticRenderFns:[]},void 0,to,void 0,!1,void 0,!1,void 0,void 0,void 0);var ro=n(28),oo=n.n(ro);function io(t){return{username:t.login,avatar:t.avatar_url,homepage:t.html_url}}function ao(t){return{id:t.number,title:t.title,content:t.body,link:t.html_url}}function so(t){return{like:t["+1"],unlike:t[-1],heart:t.heart}}function co(t){return{id:t.id,content:t.body_html,contentRaw:t.body,author:io(t.user),createdAt:t.created_at,updatedAt:t.updated_at,reactions:so(t.reactions)}}function uo(t){return"like"===t?"+1":"unlike"===t?"-1":t}class lo{constructor({baseURL:t="https://github.com",owner:e,repo:n,labels:r,clientId:o,clientSecret:i,state:a,proxy:s}){if(void 0===i||void 0===s)throw new Error("clientSecret and proxy is required for GitHub V3");this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.clientSecret=i,this.state=a,this.proxy=s,this.$http=oo.a.create({baseURL:"https://github.com"===t?"https://api.github.com":kn(t,"api/v3"),headers:{Accept:"application/vnd.github.v3+json"}}),this.$http.interceptors.response.use(t=>t.data&&t.data.error?Promise.reject(new Error(t.data.error_description)):t,t=>(void 0===t.response&&"Network Error"===t.message&&(t.response={status:403}),Promise.reject(t)))}get platform(){return{name:"GitHub",link:this.baseURL,version:"v3",meta:{reactable:!0,sortable:!1}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"login/oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,scope:"public_repo",state:this.state})}async handleAuth(){const t=jn(window.location.search);if(t.code){if(t.state!==this.state)return null;const e=t.code;delete t.code,delete t.state;const n=xn($n(window.location.href),t)+window.location.hash;window.history.replaceState(null,"",n);return await this.getAccessToken({code:e})}return null}async getAccessToken({code:t}){const e=kn(this.baseURL,"login/oauth/access_token"),n="function"==typeof this.proxy?this.proxy(e):this.proxy,{data:r}=await this.$http.post(n,{client_id:this.clientId,client_secret:this.clientSecret,code:t},{headers:{Accept:"application/json"}});return r.access_token}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{headers:{Authorization:"token "+t}});return io(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"token "+t}),!e){r.params={q:[`"${n}"`,"is:issue","in:title",`repo:${this.owner}/${this.repo}`,"is:public",...this.labels.map(t=>"label:"+t)].join(" "),timestamp:Date.now()};const{data:t}=await this.$http.get("search/issues",r);return t.items.map(ao).find(t=>t.title===n)||null}try{r.params={timestamp:Date.now()};const{data:t}=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}`,r);return ao(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues`,{title:e,body:n,labels:this.labels},{headers:{Authorization:"token "+t}});return ao(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10}={}}){const o={params:{timestamp:Date.now()}},i={params:{page:n,per_page:r,timestamp:Date.now()},headers:{Accept:["application/vnd.github.v3.raw+json","application/vnd.github.v3.html+json","application/vnd.github.squirrel-girl-preview"]}};t&&(o.headers={Authorization:"token "+t},i.headers.Authorization="token "+t);const[a,s]=await Promise.all([this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}`,o),this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,i)]),c=s.headers.link||null,u=/rel="next"/.test(c)?Number(c.replace(/^.*[^_]page=(\d*).*rel="next".*$/,"$1"))-1:/rel="prev"/.test(c)?Number(c.replace(/^.*[^_]page=(\d*).*rel="prev".*$/,"$1"))+1:1,l=c?Number(c.replace(/^.*per_page=(\d*).*$/,"$1")):r;return{count:Number(a.data.comments),page:u,perPage:l,data:s.data.map(co)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,{body:n},{headers:{Authorization:"token "+t,Accept:["application/vnd.github.v3.raw+json","application/vnd.github.v3.html+json","application/vnd.github.squirrel-girl-preview"]}});return co(r)}async putComment({accessToken:t,commentId:e,content:n}){const{data:r}=await this.$http.patch(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{body:n},{headers:{Authorization:"token "+t,Accept:["application/vnd.github.v3.raw+json","application/vnd.github.v3.html+json","application/vnd.github.squirrel-girl-preview"]}});return co(r)}async deleteComment({accessToken:t,commentId:e}){const{status:n}=await this.$http.delete(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{headers:{Authorization:"token "+t}});return 204===n}async getCommentReactions({accessToken:t,commentId:e}){const{data:n}=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{params:{timestamp:Date.now()},headers:{Authorization:"token "+t,Accept:"application/vnd.github.squirrel-girl-preview"}});return so(n.reactions)}async postCommentReaction({accessToken:t,commentId:e,reaction:n}){const r=await this.$http.post(`repos/${this.owner}/${this.repo}/issues/comments/${e}/reactions`,{content:uo(n)},{headers:{Authorization:"token "+t,Accept:"application/vnd.github.squirrel-girl-preview"}});return 200===r.status?this.deleteCommentReaction({accessToken:t,commentId:e,reactionId:r.data.id}):201===r.status}async deleteCommentReaction({accessToken:t,commentId:e,reactionId:n}){return 204===(await this.$http.delete(`repos/${this.owner}/${this.repo}/issues/comments/${e}/reactions/${n}`,{headers:{Authorization:"token "+t,Accept:"application/vnd.github.squirrel-girl-preview"}})).status}}function fo(t){return null===t?{username:"ghost",avatar:"https://avatars3.githubusercontent.com/u/10137?v=4",homepage:"https://github.com/ghost"}:{username:t.login,avatar:t.avatarUrl,homepage:t.url}}function po(t){return{id:t.number,title:t.title,content:t.body,link:t.url}}function ho(t){return{like:t.find(t=>"THUMBS_UP"===t.content).users.totalCount,unlike:t.find(t=>"THUMBS_DOWN"===t.content).users.totalCount,heart:t.find(t=>"HEART"===t.content).users.totalCount}}function vo(t){return{id:t.id,content:t.bodyHTML,contentRaw:t.body,author:fo(t.author),createdAt:t.createdAt,updatedAt:t.updatedAt,reactions:ho(t.reactionGroups)}}function mo(t){return"like"===t?"THUMBS_UP":"unlike"===t?"THUMBS_DOWN":"heart"===t?"HEART":t}class go{constructor({baseURL:t="https://github.com",owner:e,repo:n,labels:r,clientId:o,clientSecret:i,state:a,proxy:s}){if(void 0===i||void 0===s)throw new Error("clientSecret and proxy is required for GitHub V4");this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.clientSecret=i,this.state=a,this.proxy=s,this._pageInfo={page:1,startCursor:null,endCursor:null,sort:null,perPage:null},this._issueNodeId=null,this.$http=oo.a.create({baseURL:"https://github.com"===t?"https://api.github.com":kn(t,"api"),headers:{Accept:"application/vnd.github.v3+json"}}),this.$http.interceptors.response.use(t=>t.data.error?Promise.reject(t.data.error_description):t.data.errors?Promise.reject(t.data.errors[0].message):t)}get platform(){return{name:"GitHub",link:this.baseURL,version:"v4",meta:{reactable:!0,sortable:!0}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"login/oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,scope:"public_repo",state:this.state})}async handleAuth(){const t=jn(window.location.search);if(t.code){if(t.state!==this.state)return null;const e=t.code;delete t.code,delete t.state;const n=xn($n(window.location.href),t)+window.location.hash;window.history.replaceState(null,"",n);return await this.getAccessToken({code:e})}return null}async getAccessToken({code:t}){const e=kn(this.baseURL,"login/oauth/access_token"),n="function"==typeof this.proxy?this.proxy(e):this.proxy,{data:r}=await this.$http.post(n,{client_id:this.clientId,client_secret:this.clientSecret,code:t},{headers:{Accept:"application/json"}});return r.access_token}async getUser({accessToken:t}){const{data:e}=await this.$http.post("graphql",{query:"query getUser {\n viewer {\n login\n avatarUrl\n url\n }\n}"},{headers:{Authorization:"token "+t}});return fo(e.data.viewer)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"token "+t}),!e){const t=[`"${n}"`,"in:title",`repo:${this.owner}/${this.repo}`,"is:public",...this.labels.map(t=>"label:"+t)].join(" "),{data:e}=await this.$http.post("graphql",{variables:{query:t},query:"query getIssueByTitle(\n $query: String!\n) {\n search(\n query: $query\n type: ISSUE\n first: 20\n ) {\n nodes {\n ... on Issue {\n id\n number\n title\n body\n url\n }\n }\n }\n}"},r),o=e.data.search.nodes.find(t=>t.title===n);return o?(this._issueNodeId=o.id,po(o)):null}try{const{data:t}=await this.$http.post("graphql",{query:`query getIssueById {\n repository(owner: "${this.owner}", name: "${this.repo}") {\n issue (number: ${e}) {\n id\n number\n title\n body\n url\n }\n }\n}`},r);return this._issueNodeId=t.data.repository.issue.id,po(t.data.repository.issue)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues`,{title:e,body:n,labels:this.labels},{headers:{Authorization:"token "+t}});return r.url=r.html_url,this._issueNodeId=r.node_id,po(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10,sort:o="desc"}={}}){const i={};t&&(i.headers={Authorization:"token "+t}),null!==this._pageInfo.sort&&o!==this._pageInfo.sort&&(n=1);const{firstOrLast:a,afterOrBefore:s,cursor:c}=this._getQueryParams({page:n,sort:o}),{data:u}=await this.$http.post("graphql",{variables:{owner:this.owner,repo:this.repo,issueId:e,perPage:r},query:`query getComments(\n $owner: String!\n $repo: String!\n $issueId: Int!\n $perPage: Int!\n) {\n repository(owner: $owner, name: $repo) {\n issue(number: $issueId) {\n comments(\n ${a}: $perPage\n ${null===s?"":`${s}: "${c}"`}\n ) {\n totalCount\n pageInfo {\n endCursor\n startCursor\n }\n nodes {\n id\n body\n bodyHTML\n createdAt\n updatedAt\n author {\n avatarUrl\n login\n url\n }\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n }\n }\n}`},i),l=u.data.repository.issue.comments;return"desc"===o&&l.nodes.reverse(),this._pageInfo={page:n,startCursor:l.pageInfo.startCursor,endCursor:l.pageInfo.endCursor,sort:o,perPage:r},{count:l.totalCount,page:n,perPage:r,data:l.nodes.map(vo)}}async postComment({accessToken:t,content:e}){const{data:n}=await this.$http.post("graphql",{variables:{issueNodeId:this._issueNodeId,content:e},query:"mutation postComment(\n $issueNodeId: ID!\n $content: String!\n) {\n addComment(\n input: {\n subjectId: $issueNodeId\n body: $content\n }\n ) {\n commentEdge {\n node {\n id\n body\n bodyHTML\n createdAt\n updatedAt\n author {\n avatarUrl\n login\n url\n }\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n }\n}"},{headers:{Authorization:"token "+t}});return vo(n.data.addComment.commentEdge.node)}async putComment({accessToken:t,commentId:e,content:n}){const{data:r}=await this.$http.post("graphql",{variables:{commentId:e,content:n},query:"mutation putComment(\n $commentId: ID!,\n $content: String!,\n) {\n updateIssueComment(input: {\n id: $commentId\n body: $content\n }) {\n issueComment {\n id\n body\n bodyHTML\n createdAt\n updatedAt\n author {\n avatarUrl\n login\n url\n }\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n}"},{headers:{Authorization:"token "+t}});return vo(r.data.updateIssueComment.issueComment)}async deleteComment({accessToken:t,commentId:e}){return await this.$http.post("graphql",{variables:{commentId:e},query:"mutation deleteComment(\n $commentId: ID!,\n) {\n deleteIssueComment(input: {\n id: $commentId\n }) {\n clientMutationId\n }\n}"},{headers:{Authorization:"token "+t}}),!0}async getCommentReactions({accessToken:t,issueId:e,commentId:n}){const{firstOrLast:r,afterOrBefore:o,cursor:i}=this._getQueryParams(),{data:a}=await this.$http.post("graphql",{variables:{owner:this.owner,repo:this.repo,issueId:e,perPage:this._pageInfo.perPage},query:`query getComments(\n $owner: String!\n $repo: String!\n $issueId: Int!\n $perPage: Int!\n) {\n repository(owner: $owner, name: $repo) {\n issue(number: $issueId) {\n comments(\n ${r}: $perPage\n ${null===o?"":`${o}: "${i}"`}\n ) {\n nodes {\n id\n reactionGroups {\n users (first: 0) {\n totalCount\n }\n content\n }\n }\n }\n }\n }\n}`},{headers:{Authorization:"token "+t}});return ho(a.data.repository.issue.comments.nodes.find(t=>t.id===n).reactionGroups)}async postCommentReaction({accessToken:t,commentId:e,reaction:n}){return await this.$http.post("graphql",{variables:{commentId:e,content:mo(n)},query:"mutation postCommentReaction(\n $commentId: ID!,\n $content: ReactionContent!,\n) {\n addReaction(input: {\n subjectId: $commentId\n content: $content\n }) {\n reaction {\n databaseId\n }\n }\n}"},{headers:{Authorization:"token "+t}}),!0}_getQueryParams({page:t=this._pageInfo.page,sort:e=this._pageInfo.sort}={}){let n,r,o;return 1===t?(n="asc"===e?"first":"last",r=null,o=null):"asc"===e?t>this._pageInfo.page?(n="first",r="after",o=this._pageInfo.endCursor):(n="last",r="before",o=this._pageInfo.startCursor):t>this._pageInfo.page?(n="last",r="before",o=this._pageInfo.startCursor):(n="first",r="after",o=this._pageInfo.endCursor),{firstOrLast:n,afterOrBefore:r,cursor:o}}}function yo(t){return{username:t.username,avatar:t.avatar_url,homepage:t.web_url}}function bo(t){return{id:t.iid,title:t.title,content:t.description,link:t.web_url}}function wo(t){return{id:t.id,content:t.body_html||"",contentRaw:t.body,author:yo(t.author),createdAt:t.created_at,updatedAt:t.updated_at,reactions:t.reactions}}function _o(t){return{like:t.filter(t=>"thumbsup"===t.name).length,unlike:t.filter(t=>"thumbsdown"===t.name).length,heart:t.filter(t=>"heart"===t.name).length}}function xo(t){return"like"===t?"thumbsup":"unlike"===t?"thumbsdown":t}class ko{constructor({baseURL:t="https://gitlab.com",owner:e,repo:n,labels:r,clientId:o,state:i}){this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.state=i,this._encodedRepo=encodeURIComponent(`${this.owner}/${this.repo}`),this.$http=oo.a.create({baseURL:kn(t,"api/v4"),headers:{Accept:"application/json"}})}get platform(){return{name:"GitLab",link:this.baseURL,version:"v4",meta:{reactable:!0,sortable:!0}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,response_type:"token",state:this.state})}async handleAuth(){const t=jn(window.location.hash.slice(1));if(!t.access_token||t.state!==this.state)return null;const e=t.access_token;delete t.access_token,delete t.token_type,delete t.expires_in,delete t.state;const n=_n(t),r=n?"#"+n:"",o=`${$n(window.location.href)}${window.location.search}${r}`;return window.history.replaceState(null,"",o),e}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{headers:{Authorization:"Bearer "+t}});return yo(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"Bearer "+t}),!e){r.params={labels:this.labels.join(","),order_by:"created_at",sort:"asc",search:n};const{data:t}=await this.$http.get(`projects/${this._encodedRepo}/issues`,r);return t.map(bo).find(t=>t.title===n)||null}try{const{data:t}=await this.$http.get(`projects/${this._encodedRepo}/issues/${e}`,r);return bo(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`projects/${this._encodedRepo}/issues`,{title:e,description:n,labels:this.labels.join(",")},{headers:{Authorization:"Bearer "+t}});return bo(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10,sort:o="desc"}={}}){const i={params:{page:n,per_page:r,order_by:"created_at",sort:o}};t&&(i.headers={Authorization:"Bearer "+t});const a=await this.$http.get(`projects/${this._encodedRepo}/issues/${e}/notes`,i),s=a.data,c=[];for(const n of s)c.push((async()=>{n.body_html=await this.getMarkdownContent({accessToken:t,contentRaw:n.body})})()),c.push((async()=>{n.reactions=await this.getCommentReactions({accessToken:t,issueId:e,commentId:n.id})})());return await Promise.all(c),{count:Number(a.headers["x-total"]),page:Number(a.headers["x-page"]),perPage:Number(a.headers["x-per-page"]),data:s.map(wo)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`projects/${this._encodedRepo}/issues/${e}/notes`,{body:n},{headers:{Authorization:"Bearer "+t}});return wo(r)}async putComment({accessToken:t,issueId:e,commentId:n,content:r}){const{data:o}=await this.$http.put(`projects/${this._encodedRepo}/issues/${e}/notes/${n}`,{body:r},{headers:{Authorization:"Bearer "+t}}),[i,a]=await Promise.all([this.getMarkdownContent({accessToken:t,contentRaw:o.body}),this.getCommentReactions({accessToken:t,issueId:e,commentId:o.id})]);return o.body_html=i,o.reactions=a,wo(o)}async deleteComment({accessToken:t,issueId:e,commentId:n}){const{status:r}=await this.$http.delete(`projects/${this._encodedRepo}/issues/${e}/notes/${n}`,{headers:{Authorization:"Bearer "+t}});return 204===r}async getCommentReactions({accessToken:t,issueId:e,commentId:n}){const{data:r}=await this.$http.get(`projects/${this._encodedRepo}/issues/${e}/notes/${n}/award_emoji`,{headers:{Authorization:"Bearer "+t}});return _o(r)}async postCommentReaction({issueId:t,commentId:e,reaction:n,accessToken:r}){try{return 201===(await this.$http.post(`projects/${this._encodedRepo}/issues/${t}/notes/${e}/award_emoji`,{name:xo(n)},{headers:{Authorization:"Bearer "+r}})).status}catch(t){if(t.response&&404===t.response.status)return!1;throw t}}async getMarkdownContent({accessToken:t,contentRaw:e}){const n={};t&&(n.headers={Authorization:"Bearer "+t});const{data:r}=await this.$http.post("markdown",{text:e,gfm:!0},n);return r.html}}function Oo(t){return{username:t.nickname,avatar:t.links.avatar.href,homepage:t.links.html.href}}function Co(t){return{id:t.id,title:t.title,content:t.content.raw,link:t.links.html.href}}function So(t){return{id:t.id,content:t.content.html,contentRaw:t.content.raw,author:Oo(t.user),createdAt:t.created_on,updatedAt:t.updated_on,reactions:null}}class $o{constructor({baseURL:t="https://bitbucket.org",owner:e,repo:n,clientId:r,state:o}){this.baseURL=t,this.owner=e,this.repo=n,this.clientId=r,this.state=o,this.$http=oo.a.create({baseURL:"https://api.bitbucket.org/2.0",headers:{Accept:"application/json"}})}get platform(){return{name:"Bitbucket",link:this.baseURL,version:"v2",meta:{reactable:!1,sortable:!0}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"site/oauth2/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,response_type:"token",state:this.state})}async handleAuth(){const t=jn(window.location.hash.slice(1));if(!t.access_token||t.state!==this.state)return null;const e=t.access_token;delete t.access_token,delete t.token_type,delete t.expires_in,delete t.state,delete t.scopes;const n=_n(t),r=n?"#"+n:"",o=`${$n(window.location.href)}${window.location.search}${r}`;return window.history.replaceState(null,"",o),e}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{headers:{Authorization:"Bearer "+t}});return Oo(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={};if(t&&(r.headers={Authorization:"Bearer "+t}),!e){r.params={sort:"created_on",q:`title="${n}"`,timestamp:Date.now()};const{data:t}=await this.$http.get(`repositories/${this.owner}/${this.repo}/issues`,r);return t.size>0?Co(t.values[0]):null}try{r.params={timestamp:Date.now()};const{data:t}=await this.$http.get(`repositories/${this.owner}/${this.repo}/issues/${e}`,r);return Co(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repositories/${this.owner}/${this.repo}/issues`,{title:e,content:{raw:n},priority:"trivial",kind:"task"},{headers:{Authorization:"Bearer "+t}});return r.links.html={href:kn(this.baseURL,`${this.owner}/${this.repo}/issues/${r.id}`)},Co(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10,sort:o="desc"}={}}){const i={params:{page:n,pagelen:r,sort:"desc"===o?"-created_on":"created_on",timestamp:Date.now()}};t&&(i.headers={Authorization:"Bearer "+t});const{data:a}=await this.$http.get(`repositories/${this.owner}/${this.repo}/issues/${e}/comments`,i);return{count:a.size,page:a.page,perPage:a.pagelen,data:a.values.filter(t=>null!==t.content.raw).map(So)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`repositories/${this.owner}/${this.repo}/issues/${e}/comments`,{content:{raw:n}},{headers:{Authorization:"Bearer "+t}});return So(r)}async putComment({accessToken:t,issueId:e,commentId:n,content:r}){const{data:o}=await this.$http.put(`repositories/${this.owner}/${this.repo}/issues/${e}/comments/${n}`,{content:{raw:r}},{headers:{Authorization:"Bearer "+t}});return So(o)}async deleteComment({accessToken:t,issueId:e,commentId:n}){const{status:r}=await this.$http.delete(`repositories/${this.owner}/${this.repo}/issues/${e}/comments/${n}`,{headers:{Authorization:"Bearer "+t}});return 204===r}async getCommentReactions(t){throw new Error("501 Not Implemented")}async postCommentReaction(t){throw new Error("501 Not Implemented")}}function jo(t){return{username:t.login,avatar:t.avatar_url,homepage:t.html_url}}function Ao(t){return{id:t.number,title:t.title,content:t.body,link:t.html_url}}function Eo(t){return{id:t.id,content:t.body_html||"",contentRaw:t.body,author:jo(t.user),createdAt:t.created_at,updatedAt:t.updated_at||"",reactions:null}}class To{constructor({baseURL:t="https://gitee.com",owner:e,repo:n,labels:r,clientId:o,clientSecret:i,state:a,proxy:s}){if(void 0===i||void 0===s)throw new Error("clientSecret and proxy is required for Gitee V5");this.baseURL=t,this.owner=e,this.repo=n,this.labels=r,this.clientId=o,this.clientSecret=i,this.state=a,this.proxy=s,this.$http=oo.a.create({baseURL:kn(t,"api/v5")}),this.$http.interceptors.response.use(t=>t,t=>(t.response.data&&t.response.data.message&&(t.message=t.response.data.message),Promise.reject(t)))}get platform(){return{name:"Gitee",link:this.baseURL,version:"v5",meta:{reactable:!1,sortable:!1}}}redirectAuth(){window.location.href=xn(kn(this.baseURL,"oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,scope:"user_info issues notes",response_type:"code",state:this.state})}async handleAuth(){const t=jn(window.location.search);if(t.code){if(t.state!==this.state)return null;const e=t.code;delete t.code,delete t.state;const n=xn($n(window.location.href),t)+window.location.hash;window.history.replaceState(null,"",n);return await this.getAccessToken({code:e})}return null}async getAccessToken({code:t}){const e=kn(this.baseURL,"oauth/token"),n="function"==typeof this.proxy?this.proxy(e):this.proxy,{data:r}=await this.$http.post(n,{client_id:this.clientId,client_secret:this.clientSecret,code:t,grant_type:"authorization_code",redirect_uri:window.location.href});return r.access_token}async getUser({accessToken:t}){const{data:e}=await this.$http.get("user",{params:{access_token:t}});return jo(e)}async getIssue({accessToken:t,issueId:e,issueTitle:n}){const r={params:{timestamp:Date.now()}};if(t&&(r.params.access_token=t),!e){Object.assign(r.params,{q:n,repo:`${this.owner}/${this.repo}`,per_page:1});const{data:t}=await this.$http.get("search/issues",r);return t.map(Ao).find(t=>t.title===n)||null}try{const{data:t}=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}`,r);return Ao(t)}catch(t){if(t.response&&404===t.response.status)return null;throw t}}async postIssue({accessToken:t,title:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/issues`,{access_token:t,repo:this.repo,title:e,body:n,labels:this.labels.join(",")});return Ao(r)}async getComments({accessToken:t,issueId:e,query:{page:n=1,perPage:r=10}={}}){const o={params:{page:n,per_page:r,timestamp:Date.now()},headers:{Accept:["application/vnd.gitee.html+json"]}};t&&(o.params.access_token=t);const i=await this.$http.get(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,o);return{count:Number(i.headers.total_count),page:n,perPage:r,data:i.data.map(Eo)}}async postComment({accessToken:t,issueId:e,content:n}){const{data:r}=await this.$http.post(`repos/${this.owner}/${this.repo}/issues/${e}/comments`,{body:n,access_token:t},{headers:{Accept:["application/vnd.gitee.html+json"]}});return Eo(r)}async putComment({accessToken:t,commentId:e,content:n}){const{data:r}=await this.$http.patch(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{body:n,access_token:t},{headers:{Accept:["application/vnd.gitee.html+json"]}});return Eo(r)}async deleteComment({accessToken:t,commentId:e}){const{status:n}=await this.$http.delete(`repos/${this.owner}/${this.repo}/issues/comments/${e}`,{params:{access_token:t}});return 204===n}async getCommentReactions(t){throw new Error("501 Not Implemented")}async postCommentReaction(t){throw new Error("501 Not Implemented")}}n(434);var Io={name:"Vssue",components:{VssueComponent:no},props:{options:{type:Object,default:function(){return{}}}},data:function(){return{key:"key",platformOptions:{github:lo,"github-v4":go,gitlab:ko,bitbucket:$o,gitee:To}}},computed:{vssueOptions:function(){var t=this.platformOptions,e=this.options,n=t[e.platform];return Object(De.a)(Object(De.a)({},e),{},{api:n})}},watch:{$route:function(t,e){var n=this;t.path!==e.path&&setTimeout((function(){n.key="reco-".concat((new Date).getTime())}),300)}}},Po=(n(435),{components:{Valine:un,Vssue:Object(Ee.a)(Io,(function(){var t=this.$createElement;return(this._self._c||t)("VssueComponent",{key:this.key,staticClass:"vssue-wrapper",attrs:{options:this.vssueOptions}})}),[],!1,null,null,null).exports},props:{isShowComments:{type:Boolean,default:!0}},data:function(){return{commentsOptions:{}}},computed:{solution:function(){var t=this.commentsOptions.solution,e=this.$themeConfig,n=e.valineConfig,r=e.vssueConfig,o=this.$themeLocaleConfig,i=o.valineConfig,a=o.vssueConfig,s="";return void 0!==t?s=t:void 0!==i||void 0!==n?s="valine":void 0===a&&void 0===r||(s="vssue"),s},options:function(){var t=this.commentsOptions.options,e=this.$themeConfig,n=e.valineConfig,r=e.vssueConfig,o=this.$themeLocaleConfig,i=o.valineConfig,a=o.vssueConfig;return void 0!==t?t:void 0!==i||void 0!==n?i||n:void 0!==a||void 0!==r?a||r:null},componentName:function(){var t=this.solution;return"valine"===t?"Valine":"vssue"===t?"Vssue":""}},mounted:function(){this.$themeConfig.commentsSolution=this.solution}}),Ro=Object(Ee.a)(Po,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{directives:[{name:"show",rawName:"v-show",value:this.isShowComments,expression:"isShowComments"}],staticClass:"comments-wrapper"},[e("ClientOnly",[e(this.componentName,{tag:"component",attrs:{options:this.options}})],1)],1)}),[],!1,null,null,null).exports,Mo={props:{idVal:String,numStyle:Object,flagTitle:{type:String,default:"Your Article Title"}},methods:{getIdVal:function(t){var e=this.$site.base;return e.slice(0,e.length-1)+t}}},Lo=Object(Ee.a)(Mo,(function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"leancloud-visitors",attrs:{id:this.getIdVal(this.idVal),"data-flag-title":this.flagTitle}},[e("a",{staticClass:"leancloud-visitors-count",style:this.numStyle})])}),[],!1,null,null,null).exports,zo=(n(436),n(73)),Fo=n(20),No=n(23),Do={tags:{},categories:{},timeline:{}},Uo=function(){function t(e,n){var r=this;Object(Fo.a)(this,t),this._metaMap=Object.assign({},e),Object.keys(this._metaMap).forEach((function(t){var e=r._metaMap[t].pageKeys;r._metaMap[t].pages=e.map((function(t){return Object(Kt.b)(n,t)}))}))}return Object(No.a)(t,[{key:"length",get:function(){return Object.keys(this._metaMap).length}},{key:"map",get:function(){return this._metaMap}},{key:"pages",get:function(){return this.list}},{key:"list",get:function(){return this.toArray()}},{key:"toArray",value:function(){var t=this,e=[];return Object.keys(this._metaMap).forEach((function(n){var r=t._metaMap[n],o=r.pages,i=r.path;e.push({name:n,pages:o,path:i})})),e}},{key:"getItemByName",value:function(t){return this._metaMap[t]}}]),t}(),qo=(n(213),n(244)),Bo=n.n(qo)()("plugin-blog:pagination"),Vo=function(){function t(e,n,r){Object(Fo.a)(this,t),Bo("pagination",e);var o=e.pages,i=e.prevText,a=e.nextText,s=r.path;this._prevText=i,this._nextText=a;for(var c=0,u=o.length;c0&&void 0!==arguments[0]?arguments[0]:{},n=document.querySelector(".alert-list");n||((n=document.createElement("div")).className="alert-list",document.body.appendChild(n));var r=e.extend(Jo),o=new r;Object.assign(o,t),o.$mount(),n.appendChild(o.$el)}}],Zo=["BackToTop","SWUpdatePopup"];var ti=n(148),ei=n(147),ni=function(t){Object(ti.a)(n,t);var e=Object(ei.a)(n);function n(){return Object(Fo.a)(this,n),e.apply(this,arguments)}return n}(function(){function t(){Object(Fo.a)(this,t),this.store=new o.default({data:{state:{}}})}return Object(No.a)(t,[{key:"$get",value:function(t){return this.store.state[t]}},{key:"$set",value:function(t,e){o.default.set(this.store.state,t,e)}},{key:"$emit",value:function(){var t;(t=this.store).$emit.apply(t,arguments)}},{key:"$on",value:function(){var t;(t=this.store).$on.apply(t,arguments)}}]),t}());Object.assign(ni.prototype,{getPageAsyncComponent:Kt.e,getLayoutAsyncComponent:Kt.d,getAsyncComponent:Kt.c,getVueComponent:Kt.f});var ri={install:function(t){var e=new ni;t.$vuepress=e,t.prototype.$vuepress=e}};function oi(t){t.beforeEach((function(e,n,r){if(ii(t,e.path))r();else if(/(\/|\.html)$/.test(e.path))if(/\/$/.test(e.path)){var o=e.path.replace(/\/$/,"")+".html";ii(t,o)?r(o):r()}else r();else{var i=e.path+"/",a=e.path+".html";ii(t,a)?r(a):ii(t,i)?r(i):r()}}))}function ii(t,e){var n=e.toLowerCase();return t.options.routes.some((function(t){return t.path.toLowerCase()===n}))}var ai={props:{pageKey:String,slotKey:{type:String,default:"default"}},render:function(t){var e=this.pageKey||this.$parent.$page.key;return Object(Kt.i)("pageKey",e),o.default.component(e)||o.default.component(e,Object(Kt.e)(e)),o.default.component(e)?t(e):t("")}},si={functional:!0,props:{slotKey:String,required:!0},render:function(t,e){var n=e.props,r=e.slots;return t("div",{class:["content__".concat(n.slotKey)]},r()[n.slotKey])}},ci={computed:{openInNewWindowTitle:function(){return this.$themeLocaleConfig.openNewWindowText||"(opens new window)"}}},ui=(n(444),n(445),Object(Ee.a)(ci,(function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("svg",{staticClass:"icon outbound",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"}},[e("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),this._v(" "),e("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})]),this._v(" "),e("span",{staticClass:"sr-only"},[this._v(this._s(this.openInNewWindowTitle))])])}),[],!1,null,null,null).exports);function li(){return(li=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="undefined"!=typeof window&&window.__VUEPRESS_ROUTER_BASE__?window.__VUEPRESS_ROUTER_BASE__:Le.routerBase||Le.base,oi(r=new Gt({base:n,mode:"history",fallback:!1,routes:Me,scrollBehavior:function(t,e,n){return n||(t.hash?!o.default.$vuepress.$get("disableScrollBehavior")&&{selector:decodeURIComponent(t.hash)}:{x:0,y:0})}})),i={},t.prev=4,t.next=7,Promise.all(Xo.filter((function(t){return"function"==typeof t})).map((function(t){return t({Vue:o.default,options:i,router:r,siteData:Le,isServer:e})})));case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4),console.error(t.t0);case 12:return a=new o.default(Object.assign(i,{router:r,render:function(t){return t("div",{attrs:{id:"app"}},[t("RouterView",{ref:"layout"}),t("div",{class:"global-ui"},Zo.map((function(e){return t(e)})))])}})),t.abrupt("return",{app:a,router:r});case 14:case"end":return t.stop()}}),t,null,[[4,9]])})))).apply(this,arguments)}o.default.config.productionTip=!1,o.default.use(Gt),o.default.use(ri),o.default.mixin(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.default;Yt(e),n.$vuepress.$set("siteData",e);var r=t(n.$vuepress.$get("siteData")),i=new r,a=Object.getOwnPropertyDescriptors(Object.getPrototypeOf(i)),s={};return Object.keys(a).reduce((function(t,e){return e.startsWith("$")&&(t[e]=a[e].get),t}),s),{computed:s}}((function(t){return function(){function e(){Object(Fo.a)(this,e)}return Object(No.a)(e,[{key:"setPage",value:function(t){this.__page=t}},{key:"$site",get:function(){return t}},{key:"$themeConfig",get:function(){return this.$site.themeConfig}},{key:"$frontmatter",get:function(){return this.$page.frontmatter}},{key:"$localeConfig",get:function(){var t,e,n=this.$site.locales,r=void 0===n?{}:n;for(var o in r)"/"===o?e=r[o]:0===this.$page.path.indexOf(o)&&(t=r[o]);return t||e||{}}},{key:"$siteTitle",get:function(){return this.$localeConfig.title||this.$site.title||""}},{key:"$canonicalUrl",get:function(){var t=this.$page.frontmatter.canonicalUrl;return"string"==typeof t&&t}},{key:"$title",get:function(){var t=this.$page,e=this.$page.frontmatter.metaTitle;if("string"==typeof e)return e;var n=this.$siteTitle,r=t.frontmatter.home?null:t.frontmatter.title||t.title;return n?r?r+" | "+n:n:r||"VuePress"}},{key:"$description",get:function(){var t=function(t){if(t){var e=t.filter((function(t){return"description"===t.name}))[0];if(e)return e.content}}(this.$page.frontmatter.meta);return t||(this.$page.frontmatter.description||this.$localeConfig.description||this.$site.description||"")}},{key:"$lang",get:function(){return this.$page.frontmatter.lang||this.$localeConfig.lang||"en-US"}},{key:"$localePath",get:function(){return this.$localeConfig.path||"/"}},{key:"$themeLocaleConfig",get:function(){return(this.$site.themeConfig.locales||{})[this.$localePath]||{}}},{key:"$page",get:function(){return this.__page?this.__page:function(t,e){for(var n=0;n Categories | 绪山真寻Bot - + - - + +
- + diff --git a/docs/development/plugins.html b/docs/development/plugins.html index 884f1bfd..413a4146 100644 --- a/docs/development/plugins.html +++ b/docs/development/plugins.html @@ -5,49 +5,49 @@ 绪山真寻Bot - + - - + +
+ diff --git a/docs/faq/index.html b/docs/faq/index.html index 5bd395de..24b69118 100644 --- a/docs/faq/index.html +++ b/docs/faq/index.html @@ -5,45 +5,45 @@ 绪山真寻Bot - + - - + + - + diff --git a/docs/index.html b/docs/index.html index d947bb19..185a796d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,45 +5,45 @@ 你好,这里是绪山真寻 | 绪山真寻Bot - + - - + +
- + diff --git a/index.html b/index.html index a8b32f24..7822356a 100644 --- a/index.html +++ b/index.html @@ -5,45 +5,45 @@ 绪山真寻Bot - + - - + +

绪山真寻Bot

这是个绪山真寻Bot的部署教程

- +
+ diff --git a/service-worker.js b/service-worker.js index 62f002d6..9e8a9d25 100644 --- a/service-worker.js +++ b/service-worker.js @@ -27,7 +27,7 @@ self.addEventListener('message', (event) => { self.__precacheManifest = [ { "url": "404.html", - "revision": "b84d5ab4eb753fe1ed5602f5523f10cd" + "revision": "4da6215c00e7d6d3bea6857bbee700eb" }, { "url": "assets/css/0.styles.f77825aa.css", @@ -46,20 +46,20 @@ self.__precacheManifest = [ "revision": "5c005aa042a19cdd871edacde9c5253f" }, { - "url": "assets/js/11.0b6a2442.js", - "revision": "b5d12807f046adf196cc1922bbaebf6e" + "url": "assets/js/11.91f3c979.js", + "revision": "8b563d4fe35a250326097fbe72921d1a" }, { - "url": "assets/js/12.a3e0f9dd.js", - "revision": "2566e3c47dc96cb42fe806171588e672" + "url": "assets/js/12.f106c3e1.js", + "revision": "64de6c33390d02bd44b9030d8abcce64" }, { "url": "assets/js/13.6bdf2c67.js", "revision": "098115b6615f7a4772ad47b9d22122fc" }, { - "url": "assets/js/14.b623f521.js", - "revision": "598dcd1cf6b91282a0ff76e9e1bfd532" + "url": "assets/js/14.01d72eb9.js", + "revision": "da992415480692bbc84e23209b70feb3" }, { "url": "assets/js/15.6345eb47.js", @@ -94,8 +94,8 @@ self.__precacheManifest = [ "revision": "60f5268e6341238a986b2393b469e343" }, { - "url": "assets/js/app.5991c721.js", - "revision": "cff68db3b23b7802fd48047d889c80a8" + "url": "assets/js/app.5ff3651f.js", + "revision": "2febd926d778393b6b24f1de4547b084" }, { "url": "background.png", @@ -103,23 +103,23 @@ self.__precacheManifest = [ }, { "url": "categories/index.html", - "revision": "c30e62ac8b451b2053cb6b6d9ad785fc" + "revision": "8c3002b4b84bd4fcfd4f559103baf82a" }, { "url": "docs/development/plugins.html", - "revision": "3ff1939ecb555d333bb95fdabf8173ee" + "revision": "47a2e10319b93e49be58e7074c517d8a" }, { "url": "docs/faq/index.html", - "revision": "5181d014a48ddb46fadae6f159a96fc4" + "revision": "1734592f3ae829ec839a01b54b9d9ba7" }, { "url": "docs/index.html", - "revision": "8e79b2931f394db815638cc994f0b61e" + "revision": "d5b63b749fd581097d6297797238c951" }, { "url": "index.html", - "revision": "8080028b0432631b6622cd3a61793c6d" + "revision": "68b41f1bdd8a55c3f7d40d2af29e346b" }, { "url": "logo.png", @@ -127,11 +127,11 @@ self.__precacheManifest = [ }, { "url": "tag/index.html", - "revision": "d6a5511de180db0192853635913387ec" + "revision": "6e69d6394fd21c7e1233f536b0302cae" }, { "url": "timeline/index.html", - "revision": "077a8a44aec434574528fcb67f19312b" + "revision": "2522534adcc2c00056d2d132971afb0e" } ].concat(self.__precacheManifest || []); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); diff --git a/tag/index.html b/tag/index.html index cefd90d8..eb56e970 100644 --- a/tag/index.html +++ b/tag/index.html @@ -5,45 +5,45 @@ Tags | 绪山真寻Bot - + - - + + - +
+ diff --git a/timeline/index.html b/timeline/index.html index a86dd225..4e32fbcc 100644 --- a/timeline/index.html +++ b/timeline/index.html @@ -5,45 +5,45 @@ Timeline | 绪山真寻Bot - + - - + + - +