From 90c827142369efa6557776e5f615f3f0e87c0106 Mon Sep 17 00:00:00 2001 From: unliar Date: Wed, 15 Sep 2021 08:23:08 +0000 Subject: [PATCH] deploy: a19197bc8c3815b61f85ab7ad049b02184cad2c6 --- ...d5984.js => SimpleInfoItem-legacy.b7b97413.js} | 2 +- assets/SimpleInfoItem.1430404a.js | 1 - assets/SimpleInfoItem.b3f6f051.js | 1 + assets/index-legacy.025a9311.js | 1 + assets/index-legacy.0f1fb98a.js | 1 - assets/index-legacy.55c98de9.js | 1 - assets/index-legacy.6cec1b28.js | 1 + ...egacy.8d16064a.js => index-legacy.900b3a5e.js} | 2 +- assets/index-legacy.98e2101f.js | 1 + assets/index-legacy.a10a3530.js | 1 - assets/index-legacy.a8112a93.js | 1 + assets/index-legacy.befaea30.js | 6 ------ assets/index-legacy.df48b921.js | 1 - assets/index-legacy.ffe8bfb5.js | 1 + assets/index.0aea1b90.js | 1 + assets/index.0dd62910.js | 1 - assets/index.146225bc.js | 1 + assets/{index.d2f0ecfb.js => index.24cabceb.js} | 2 +- assets/index.48b6cbd9.js | 1 - assets/index.48f528b8.js | 1 - assets/index.6d51bcce.js | 14 -------------- assets/index.79a86b74.css | 1 + assets/index.7b8df9f4.js | 15 +++++++++++++++ assets/index.a2f30696.css | 1 + assets/index.cc0d6e60.js | 1 + assets/index.d086ce17.js | 1 - assets/index.dc05998d.js | 1 + assets/index.e421bd7e.css | 1 - assets/index.f51f598c.css | 1 - ...vue&type=style&index=0&lang-legacy.acfbfdf7.js | 1 - ...vue&type=style&index=0&lang-legacy.ec660a35.js | 1 + ...ex.vue_vue&type=style&index=0&lang.2e9c245a.js | 1 - ....vue_vue&type=style&index=0&lang.593a7d4c.css} | 2 +- ...ex.vue_vue&type=style&index=0&lang.d6191442.js | 1 + ...-legacy.a7199190.js => pid-legacy.0f92b42f.js} | 2 +- assets/{pid.89523e4f.js => pid.89964575.js} | 2 +- assets/pid.b25a421b.css | 1 - assets/pid.d8c878a3.css | 1 + assets/polyfills-legacy.85937c9b.js | 1 - assets/polyfills-legacy.996180b0.js | 1 + ...legacy.1f496f24.js => time-legacy.6cd5ad23.js} | 2 +- assets/{time.2aac0ac0.js => time.93dfc2a8.js} | 2 +- assets/uid-legacy.08f67ccf.js | 1 - assets/uid-legacy.69cea2d4.js | 1 + assets/uid.57317e48.css | 1 + assets/uid.8ec6235c.js | 1 - assets/uid.915351d3.js | 1 + assets/uid.c6a0df4e.css | 1 - assets/vendor-legacy.73e5f43f.js | 3 +++ assets/vendor-legacy.b2b943d4.js | 3 --- assets/vendor.18b3a30d.js | 3 +++ assets/vendor.8d059d2b.js | 3 --- index.html | 8 ++++---- 53 files changed, 52 insertions(+), 56 deletions(-) rename assets/{SimpleInfoItem-legacy.51dd5984.js => SimpleInfoItem-legacy.b7b97413.js} (66%) delete mode 100644 assets/SimpleInfoItem.1430404a.js create mode 100644 assets/SimpleInfoItem.b3f6f051.js create mode 100644 assets/index-legacy.025a9311.js delete mode 100644 assets/index-legacy.0f1fb98a.js delete mode 100644 assets/index-legacy.55c98de9.js create mode 100644 assets/index-legacy.6cec1b28.js rename assets/{index-legacy.8d16064a.js => index-legacy.900b3a5e.js} (92%) create mode 100644 assets/index-legacy.98e2101f.js delete mode 100644 assets/index-legacy.a10a3530.js create mode 100644 assets/index-legacy.a8112a93.js delete mode 100644 assets/index-legacy.befaea30.js delete mode 100644 assets/index-legacy.df48b921.js create mode 100644 assets/index-legacy.ffe8bfb5.js create mode 100644 assets/index.0aea1b90.js delete mode 100644 assets/index.0dd62910.js create mode 100644 assets/index.146225bc.js rename assets/{index.d2f0ecfb.js => index.24cabceb.js} (88%) delete mode 100644 assets/index.48b6cbd9.js delete mode 100644 assets/index.48f528b8.js delete mode 100644 assets/index.6d51bcce.js create mode 100644 assets/index.79a86b74.css create mode 100644 assets/index.7b8df9f4.js create mode 100644 assets/index.a2f30696.css create mode 100644 assets/index.cc0d6e60.js delete mode 100644 assets/index.d086ce17.js create mode 100644 assets/index.dc05998d.js delete mode 100644 assets/index.e421bd7e.css delete mode 100644 assets/index.f51f598c.css delete mode 100644 assets/index.vue_vue&type=style&index=0&lang-legacy.acfbfdf7.js create mode 100644 assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js delete mode 100644 assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js rename assets/{index.vue_vue&type=style&index=0&lang.a6d1317a.css => index.vue_vue&type=style&index=0&lang.593a7d4c.css} (85%) create mode 100644 assets/index.vue_vue&type=style&index=0&lang.d6191442.js rename assets/{pid-legacy.a7199190.js => pid-legacy.0f92b42f.js} (92%) rename assets/{pid.89523e4f.js => pid.89964575.js} (93%) delete mode 100644 assets/pid.b25a421b.css create mode 100644 assets/pid.d8c878a3.css delete mode 100644 assets/polyfills-legacy.85937c9b.js create mode 100644 assets/polyfills-legacy.996180b0.js rename assets/{time-legacy.1f496f24.js => time-legacy.6cd5ad23.js} (98%) rename assets/{time.2aac0ac0.js => time.93dfc2a8.js} (99%) delete mode 100644 assets/uid-legacy.08f67ccf.js create mode 100644 assets/uid-legacy.69cea2d4.js create mode 100644 assets/uid.57317e48.css delete mode 100644 assets/uid.8ec6235c.js create mode 100644 assets/uid.915351d3.js delete mode 100644 assets/uid.c6a0df4e.css create mode 100644 assets/vendor-legacy.73e5f43f.js delete mode 100644 assets/vendor-legacy.b2b943d4.js create mode 100644 assets/vendor.18b3a30d.js delete mode 100644 assets/vendor.8d059d2b.js diff --git a/assets/SimpleInfoItem-legacy.51dd5984.js b/assets/SimpleInfoItem-legacy.b7b97413.js similarity index 66% rename from assets/SimpleInfoItem-legacy.51dd5984.js rename to assets/SimpleInfoItem-legacy.b7b97413.js index 49a28b5..198c179 100644 --- a/assets/SimpleInfoItem-legacy.51dd5984.js +++ b/assets/SimpleInfoItem-legacy.b7b97413.js @@ -1 +1 @@ -var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".item-container[data-v-15c332d0]{padding:20px 0;border-bottom:1px solid #ededed}.item-summary[data-v-15c332d0]{font-size:14px;margin:10px 0;color:#444}.item-dot[data-v-15c332d0]{padding:0 5px}.item-info[data-v-15c332d0]{display:flex;color:#757575;font-size:12px;justify-content:space-between}",document.head.appendChild(__vite_style__),System.register(["./time-legacy.1f496f24.js","./vendor-legacy.b2b943d4.js"],(function(t){"use strict";var e,n,i,o,a,s,r,c,d,l,u,f;return{setters:[function(t){e=t.F},function(t){n=t.d,i=t.g,o=t.a,a=t.b,s=t.j,r=t.l,c=t.k,d=t.u,l=t.E,u=t.G,f=t.H}],execute:function(){var m=l();u("data-v-15c332d0");var p={class:"item-container"},_={class:"article-title content-limit-one"},v={class:"item-summary content-limit-two"},y={class:"item-info"},x={class:"article-info-base"},b=s("span",{class:"item-dot"},"·",-1),g={class:"article-info-time"};f();t("_",n({expose:[],props:{info:{type:Object,required:!0}},setup:function(t){var n=e(t.info.CreatedAt);return m((function(e,l){var u=i("router-link");return o(),a("div",p,[s(u,{to:"/post/"+t.info.Id},{default:m((function(){return[s("h2",_,r(t.info.Title),1),s("div",v,r(t.info.Summary),1)]})),_:1},8,["to"]),s("div",y,[s("span",x,[s("span",null,r(t.info.Category.CN),1),b,s("span",null,[s(u,{to:"/users/"+t.info.AuthorInfo.UID},{default:m((function(){return[c(r(t.info.AuthorInfo.Nickname),1)]})),_:1},8,["to"])])]),s("span",g,r(d(n)),1)])])}))}})).__scopeId="data-v-15c332d0"}}})); +var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".item-container[data-v-15c332d0]{padding:20px 0;border-bottom:1px solid #ededed}.item-summary[data-v-15c332d0]{font-size:14px;margin:10px 0;color:#444}.item-dot[data-v-15c332d0]{padding:0 5px}.item-info[data-v-15c332d0]{display:flex;color:#757575;font-size:12px;justify-content:space-between}",document.head.appendChild(__vite_style__),System.register(["./time-legacy.6cd5ad23.js","./vendor-legacy.73e5f43f.js"],(function(t){"use strict";var e,n,i,o,a,s,r,c,d,l,u,f;return{setters:[function(t){e=t.F},function(t){n=t.k,i=t.x,o=t.n,a=t.p,s=t.z,r=t.B,c=t.A,d=t.u,l=t.N,u=t.O,f=t.P}],execute:function(){var m=l();u("data-v-15c332d0");var p={class:"item-container"},_={class:"article-title content-limit-one"},v={class:"item-summary content-limit-two"},y={class:"item-info"},x={class:"article-info-base"},g=s("span",{class:"item-dot"},"·",-1),b={class:"article-info-time"};f();t("_",n({expose:[],props:{info:{type:Object,required:!0}},setup:function(t){var n=e(t.info.CreatedAt);return m((function(e,l){var u=i("router-link");return o(),a("div",p,[s(u,{to:"/post/"+t.info.Id},{default:m((function(){return[s("h2",_,r(t.info.Title),1),s("div",v,r(t.info.Summary),1)]})),_:1},8,["to"]),s("div",y,[s("span",x,[s("span",null,r(t.info.Category.CN),1),g,s("span",null,[s(u,{to:"/users/"+t.info.AuthorInfo.UID},{default:m((function(){return[c(r(t.info.AuthorInfo.Nickname),1)]})),_:1},8,["to"])])]),s("span",b,r(d(n)),1)])])}))}})).__scopeId="data-v-15c332d0"}}})); diff --git a/assets/SimpleInfoItem.1430404a.js b/assets/SimpleInfoItem.1430404a.js deleted file mode 100644 index 45b3487..0000000 --- a/assets/SimpleInfoItem.1430404a.js +++ /dev/null @@ -1 +0,0 @@ -import{F as t}from"./time.2aac0ac0.js";import{d as s,g as a,a as o,b as e,j as n,l as i,k as r,u as c,E as l,G as d,H as f}from"./vendor.8d059d2b.js";const m=l();d("data-v-15c332d0");const p={class:"item-container"},u={class:"article-title content-limit-one"},v={class:"item-summary content-limit-two"},I={class:"item-info"},_={class:"article-info-base"},b=n("span",{class:"item-dot"},"·",-1),j={class:"article-info-time"};f();var y=s({expose:[],props:{info:{type:Object,required:!0}},setup(s){const l=t(s.info.CreatedAt);return m(((t,d)=>{const f=a("router-link");return o(),e("div",p,[n(f,{to:`/post/${s.info.Id}`},{default:m((()=>[n("h2",u,i(s.info.Title),1),n("div",v,i(s.info.Summary),1)])),_:1},8,["to"]),n("div",I,[n("span",_,[n("span",null,i(s.info.Category.CN),1),b,n("span",null,[n(f,{to:`/users/${s.info.AuthorInfo.UID}`},{default:m((()=>[r(i(s.info.AuthorInfo.Nickname),1)])),_:1},8,["to"])])]),n("span",j,i(c(l)),1)])])}))}});y.__scopeId="data-v-15c332d0";export{y as _}; diff --git a/assets/SimpleInfoItem.b3f6f051.js b/assets/SimpleInfoItem.b3f6f051.js new file mode 100644 index 0000000..5c7411f --- /dev/null +++ b/assets/SimpleInfoItem.b3f6f051.js @@ -0,0 +1 @@ +import{F as t}from"./time.93dfc2a8.js";import{k as s,x as a,n as o,p as n,z as e,B as i,A as r,u as c,N as l,O as f,P as d}from"./vendor.18b3a30d.js";const m=l();f("data-v-15c332d0");const p={class:"item-container"},u={class:"article-title content-limit-one"},v={class:"item-summary content-limit-two"},I={class:"item-info"},_={class:"article-info-base"},y=e("span",{class:"item-dot"},"·",-1),A={class:"article-info-time"};d();var b=s({expose:[],props:{info:{type:Object,required:!0}},setup(s){const l=t(s.info.CreatedAt);return m(((t,f)=>{const d=a("router-link");return o(),n("div",p,[e(d,{to:`/post/${s.info.Id}`},{default:m((()=>[e("h2",u,i(s.info.Title),1),e("div",v,i(s.info.Summary),1)])),_:1},8,["to"]),e("div",I,[e("span",_,[e("span",null,i(s.info.Category.CN),1),y,e("span",null,[e(d,{to:`/users/${s.info.AuthorInfo.UID}`},{default:m((()=>[r(i(s.info.AuthorInfo.Nickname),1)])),_:1},8,["to"])])]),e("span",A,i(c(l)),1)])])}))}});b.__scopeId="data-v-15c332d0";export{b as _}; diff --git a/assets/index-legacy.025a9311.js b/assets/index-legacy.025a9311.js new file mode 100644 index 0000000..ee9ffd5 --- /dev/null +++ b/assets/index-legacy.025a9311.js @@ -0,0 +1 @@ +import"core-js/modules/es.promise.js";import"core-js/modules/es.object.to-string.js";function asyncGeneratorStep(e,n,t,r,a,i,o){try{var u=e[i](o),s=u.value}catch(d){return void t(d)}u.done?n(s):Promise.resolve(s).then(r,a)}function _asyncToGenerator(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var i=e.apply(n,t);function o(e){asyncGeneratorStep(i,r,a,o,u,"next",e)}function u(e){asyncGeneratorStep(i,r,a,o,u,"throw",e)}o(void 0)}))}}var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".signin-container[data-v-7f7d81da]{display:flex;align-items:center;justify-content:center;padding:50px 15px}.signin-container div[data-v-7f7d81da]{padding:15px 0;margin:0 auto;width:100%}.title[data-v-7f7d81da]{font-size:24px;padding:15px 0;font-weight:500;color:#262626}.summary[data-v-7f7d81da]{font-size:12px;color:#6a6a6a}.signin-title[data-v-7f7d81da]{text-align:center}.signin-info[data-v-7f7d81da]{font-size:12px}div button[data-v-7f7d81da],div input[data-v-7f7d81da]{outline:0;display:flex;justify-content:center;align-items:center;padding:10px;width:100%;border-radius:5px;border:1px solid #999;font-size:14px;box-sizing:border-box}.signin-info span[data-v-7f7d81da]{font-weight:bolder}.signin-main[data-v-7f7d81da]{max-width:750px;overflow:hidden}.btn-login-register[data-v-7f7d81da]{background-color:#f5f5f5;opacity:.5}.btn-login-register[data-v-7f7d81da]:hover{opacity:1}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js","./index-legacy.6cec1b28.js"],(function(e){"use strict";var n,t,r,a,i,o,u,s,d,l,c,v,f,p,m,g,y,x,b,h,_,k;return{setters:[function(e){n=e.k,t=e.x,r=e.n,a=e.p,i=e.z,o=e.W,u=e.X,s=e.y,d=e.u,l=e.F,c=e.A,v=e.B,f=e.N,p=e.O,m=e.P},function(e){g=e.c,y=e.u,x=e.b,b=e.e,h=e.f,_=e.S,k=e.g}],execute:function(){var w=function(e){return e.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合"},j=f();p("data-v-7f7d81da");var R={class:"signin-container"},z={class:"signin-main"},C={class:"signin-title"},G=i("div",null,"嘿;-) 好巧在这里遇到您.",-1),T=c(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 "),U=i("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1),A={class:"signin-form"},E={class:"form-account"},N={key:0},S={class:"summary"},I=c(" 注册一下不会有任何损失,甚至会变得更加 "),P=i("del",null,"沙雕",-1),V=c(" 快乐。 ");m();e("default",n({expose:[],setup:function(e){var n=g(),f=y(),p=x(),m=ref(""),M=ref(""),Z=ref(""),B=ref(!1),D=computed((function(){return f.User.Id}));watch(m,(function(e){e.trim()&&b({type:"loginName",value:e.trim()}).then((function(e){1000005===e.Result?B.value=!1:B.value=!0}))}));var F=function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=w(m.value.trim()))){e.next=4;break}return n.error(t),e.abrupt("return");case 4:return e.next=6,h({type:"loginName",value:m.value.trim(),password:Z.value.trim()});case 6:if(!(null!=(r=e.sent)&&r.ErrorCode||null==r)&&r.Result){e.next=10;break}return n.error(r.ErrorCode+" "+r.ErrorMsg),e.abrupt("return");case 10:a=r.Result.Token,i=r.Result.TokenAvailableDays,_(a,i),f.GetAuthedUserInfo(),n.success("欢迎 "+(null==r?void 0:r.Result.UserInfo.Nickname)+" 前来观光",{onClose:function(){p.back()}});case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=w(m.value.trim()))){e.next=4;break}return n.error(t),e.abrupt("return");case 4:return e.next=6,k({type:"loginName",value:m.value.trim(),password:Z.value.trim(),nickname:M.value.trim()});case 6:e.sent.ErrorCode||n.success("注册成功,即将自动登录~ "+m.value,{onClose:function(){F()}});case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return j((function(e,n){var f=t("router-link");return r(),a("div",R,[i("div",z,[i("div",C,[G,i("div",null,[i(f,{to:"/"},{default:j((function(){return[T]})),_:1})])]),U,i("div",A,[i("div",E,[o(i("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":n[1]||(n[1]=function(e){return m.value=e}),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[u,m.value,void 0,{trim:!0}]])]),B.value?(r(),a("div",N,[o(i("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":n[2]||(n[2]=function(e){return M.value=e}),placeholder:"用户昵称"},null,512),[[u,M.value,void 0,{trim:!0}]])])):s("",!0),i("div",null,[o(i("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":n[3]||(n[3]=function(e){return Z.value=e}),placeholder:"登录密码"},null,512),[[u,Z.value,void 0,{trim:!0}]])]),i("div",null,[B.value?(r(),a("button",{key:0,type:"button",class:"btn-login-register",onClick:H}," 立即注册 ")):(r(),a("button",{key:1,type:"button",class:"btn-login-register",onClick:F}," 立即登录 "))])]),i("div",S,[I,P,V,d(D)?(r(),a(l,{key:0},[c("很少有人让我心动 但你是第"+v(d(D))+"个。",1)],64)):s("",!0)])])])}))}})).__scopeId="data-v-7f7d81da"}}})); diff --git a/assets/index-legacy.0f1fb98a.js b/assets/index-legacy.0f1fb98a.js deleted file mode 100644 index cd0278b..0000000 --- a/assets/index-legacy.0f1fb98a.js +++ /dev/null @@ -1 +0,0 @@ -import"core-js/modules/es.promise.js";import"core-js/modules/es.object.to-string.js";function asyncGeneratorStep(e,n,t,r,a,i,o){try{var u=e[i](o),s=u.value}catch(c){return void t(c)}u.done?n(s):Promise.resolve(s).then(r,a)}function _asyncToGenerator(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var i=e.apply(n,t);function o(e){asyncGeneratorStep(i,r,a,o,u,"next",e)}function u(e){asyncGeneratorStep(i,r,a,o,u,"throw",e)}o(void 0)}))}}var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".signin-container[data-v-5c01e9b3]{display:flex;align-items:center;justify-content:center;padding:50px 15px}.signin-container div[data-v-5c01e9b3]{padding:15px 0;margin:0 auto;width:100%}.title[data-v-5c01e9b3]{font-size:24px;padding:15px 0;font-weight:500;color:#262626}.summary[data-v-5c01e9b3]{font-size:12px;color:#6a6a6a}.signin-title[data-v-5c01e9b3]{text-align:center}.signin-info[data-v-5c01e9b3]{font-size:12px}div button[data-v-5c01e9b3],div input[data-v-5c01e9b3]{outline:0;display:flex;justify-content:center;align-items:center;padding:10px;width:100%;border-radius:5px;border:1px solid #999;font-size:14px;box-sizing:border-box}.signin-info span[data-v-5c01e9b3]{font-weight:bolder}.signin-main[data-v-5c01e9b3]{max-width:750px;overflow:hidden}.btn-login-register[data-v-5c01e9b3]{background-color:#f5f5f5;opacity:.5}.btn-login-register[data-v-5c01e9b3]:hover{opacity:1}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.b2b943d4.js","./index-legacy.befaea30.js"],(function(e){"use strict";var n,t,r,a,i,o,u,s,c,l,d,v,p,f,m,g,b,y,x,h,_,k,w;return{setters:[function(e){n=e.d,t=e.g,r=e.a,a=e.b,i=e.j,o=e.O,u=e.P,s=e.h,c=e.u,l=e.F,d=e.k,v=e.l,p=e.E,f=e.G,m=e.H},function(e){g=e.c,b=e.u,y=e.b,x=e.e,h=e.f,_=e.S,k=e.A,w=e.g}],execute:function(){var j=function(e){return e.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合"},R=p();f("data-v-5c01e9b3");var E={class:"signin-container"},C={class:"signin-main"},G={class:"signin-title"},T=i("div",null,"嘿;-) 好巧在这里遇到您.",-1),z=d(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 "),U=i("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1),S={class:"signin-form"},A={class:"form-account"},N={key:0},I={class:"summary"},H=d(" 注册一下不会有任何损失,甚至会变得更加 "),P=i("del",null,"沙雕",-1),V=d(" 快乐。 ");m();e("default",n({expose:[],setup:function(e){var n=g(),p=b(),f=y(),m=ref(""),D=ref(""),F=ref(""),M=ref(!1),O=computed((function(){return p.state.User.Id}));watch(m,(function(e){e.trim()&&x({type:"loginName",value:e.trim()}).then((function(e){1000005===e.Result?M.value=!1:M.value=!0}))}));var Z=function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=j(m.value.trim()))){e.next=4;break}return n.error(t),e.abrupt("return");case 4:return e.next=6,h({type:"loginName",value:m.value.trim(),password:F.value.trim()});case 6:if(!(null!=(r=e.sent)&&r.ErrorCode||null==r)&&r.Result){e.next=10;break}return n.error(r.ErrorCode+" "+r.ErrorMsg),e.abrupt("return");case 10:a=r.Result.Token,i=r.Result.TokenAvailableDays,_(a,i),p.dispatch(k.GET_AUTHED_USER_INFO),n.success("欢迎 "+(null==r?void 0:r.Result.UserInfo.Nickname)+" 前来观光",{onClose:function(){f.back()}});case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),L=function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=j(m.value.trim()))){e.next=4;break}return n.error(t),e.abrupt("return");case 4:return e.next=6,w({type:"loginName",value:m.value.trim(),password:F.value.trim(),nickname:D.value.trim()});case 6:e.sent.ErrorCode||n.success("注册成功,即将自动登录~ "+m.value,{onClose:function(){Z()}});case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return R((function(e,n){var p=t("router-link");return r(),a("div",E,[i("div",C,[i("div",G,[T,i("div",null,[i(p,{to:"/"},{default:R((function(){return[z]})),_:1})])]),U,i("div",S,[i("div",A,[o(i("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":n[1]||(n[1]=function(e){return m.value=e}),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[u,m.value,void 0,{trim:!0}]])]),M.value?(r(),a("div",N,[o(i("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":n[2]||(n[2]=function(e){return D.value=e}),placeholder:"用户昵称"},null,512),[[u,D.value,void 0,{trim:!0}]])])):s("",!0),i("div",null,[o(i("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":n[3]||(n[3]=function(e){return F.value=e}),placeholder:"登录密码"},null,512),[[u,F.value,void 0,{trim:!0}]])]),i("div",null,[M.value?(r(),a("button",{key:0,type:"button",class:"btn-login-register",onClick:L}," 立即注册 ")):(r(),a("button",{key:1,type:"button",class:"btn-login-register",onClick:Z}," 立即登录 "))])]),i("div",I,[H,P,V,c(O)?(r(),a(l,{key:0},[d("很少有人让我心动 但你是第"+v(c(O))+"个。",1)],64)):s("",!0)])])])}))}})).__scopeId="data-v-5c01e9b3"}}})); diff --git a/assets/index-legacy.55c98de9.js b/assets/index-legacy.55c98de9.js deleted file mode 100644 index 327e137..0000000 --- a/assets/index-legacy.55c98de9.js +++ /dev/null @@ -1 +0,0 @@ -function asyncGeneratorStep(t,e,n,a,r,i,o){try{var d=t[i](o),c=d.value}catch(l){return void n(l)}d.done?e(c):Promise.resolve(c).then(a,r)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(a,r){var i=t.apply(e,n);function o(t){asyncGeneratorStep(i,a,r,o,d,"next",t)}function d(t){asyncGeneratorStep(i,a,r,o,d,"throw",t)}o(void 0)}))}}var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".category-title[data-v-cdd6b77a],.content-layout-container li[data-v-cdd6b77a]{font-size:14px;color:#444}.content-layout-widget-container[data-v-cdd6b77a]{padding-top:20px}a[data-v-cdd6b77a]{color:#444}.category-title[data-v-cdd6b77a]{font-weight:700}.category-item[data-v-cdd6b77a]{padding:10px 10px 10px 0;list-style:none}.category-item[data-v-cdd6b77a]:before{display:none}.category-list[data-v-cdd6b77a]{display:flex;min-height:36px;align-items:center}.content-layout-container[data-v-cdd6b77a]{display:flex;flex-direction:column-reverse}@media screen and (min-width:1200px){.content-layout-container[data-v-cdd6b77a]{display:flex;flex-direction:row}.content-layout-child-container[data-v-cdd6b77a]{flex:1}.category-list[data-v-cdd6b77a]{display:block}.category-item[data-v-cdd6b77a]:before{display:inline-block}.content-layout-widget-container[data-v-cdd6b77a]{width:100px;padding:20px}}@media screen and (max-width:1200px){.category-list[data-v-cdd6b77a]{margin:0}}.page-navi[data-v-422f221b]{padding:20px 0;text-align:center}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.b2b943d4.js","./index-legacy.befaea30.js","./index.vue_vue&type=style&index=0&lang-legacy.acfbfdf7.js","./SimpleInfoItem-legacy.51dd5984.js","./time-legacy.1f496f24.js"],(function(t){"use strict";var e,n,a,r,i,o,d,c,l,u,s,y,f,v,g,p,b,_,x,m,h;return{setters:[function(t){e=t.d,n=t.g,a=t.a,r=t.b,i=t.j,o=t.v,d=t.F,c=t.q,l=t.k,u=t.l,s=t.u,y=t.E,f=t.G,v=t.H,g=t.T,p=t.h},function(t){b=t.u,_=t.a,x=t.G},function(t){m=t._},function(t){h=t._},function(){}],execute:function(){var w=y();f("data-v-cdd6b77a");var q={class:"content-layout-container"},k={class:"content-layout-child-container"},P={class:"content-layout-widget-container"},I={class:"widget-category"},T=i("div",{class:"category-title"},"目录分类",-1),j={class:"category-list"};v();var G=e({expose:[],setup:function(t){var e=b(),y=computed((function(){return e.state.Article.CategoryList}));return w((function(t,e){var f=n("router-link");return a(),r("div",q,[i("div",k,[o(t.$slots,"default")]),i("div",P,[i("div",I,[T,i("ul",j,[(a(!0),r(d,null,c(s(y),(function(t){return a(),r("li",{class:"category-item",key:t.Id},[i(f,{to:"/?CategoryID="+t.Id},{default:w((function(){return[l(u(t.CN),1)]})),_:2},1032,["to"])])})),128))])])])])}))}});G.__scopeId="data-v-cdd6b77a";var L=y();f("data-v-422f221b");var O={key:0,class:"page-navi"},S=l("上一页"),C=l("下一页");v();t("default",e({expose:[],props:{query:{type:Object}},setup:function(t){var e=t,o=reactive({List:[],q:e.query||{},loading:!1});_({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"});return onMounted(_asyncToGenerator(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a=null!=(n=e.query)?n:{},o.loading=!0,o.List=[],x(a).then((function(t){var e,n;o.List=[].concat(null!=(e=null==(n=t.Result)?void 0:n.Articles)?e:[])})).finally((function(){o.loading=!1}));case 2:case"end":return t.stop()}var a}),t)})))),L((function(t,e){var l=n("router-link");return a(),r(m,null,{default:L((function(){return[i(G,null,{default:L((function(){return[i(g,{name:"list"},{default:L((function(){return[(a(!0),r(d,null,c(o.List,(function(t){return a(),r(h,{key:t.Id,info:t},null,8,["info"])})),128))]})),_:1}),o.loading?p("",!0):(a(),r("div",O,[o.q.Page&&o.q.Page>=2?(a(),r(l,{key:0,to:"/?Page="+(o.q.Page-1)+"&OrderType="+(o.q.OrderType||"desc")},{default:L((function(){return[S]})),_:1},8,["to"])):p("",!0),15==o.List.length?(a(),r(l,{key:1,to:"/?Page="+(o.q.Page?+o.q.Page+1:2)+"&OrderType="+(o.q.OrderType||"desc")},{default:L((function(){return[C]})),_:1},8,["to"])):p("",!0)]))]})),_:1})]})),_:1})}))}})).__scopeId="data-v-422f221b"}}})); diff --git a/assets/index-legacy.6cec1b28.js b/assets/index-legacy.6cec1b28.js new file mode 100644 index 0000000..5dd8a2e --- /dev/null +++ b/assets/index-legacy.6cec1b28.js @@ -0,0 +1 @@ +import"core-js/modules/es.symbol.iterator.js";function asyncGeneratorStep(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,o)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function i(t){asyncGeneratorStep(a,r,o,i,s,"next",t)}function s(t){asyncGeneratorStep(a,r,o,i,s,"throw",t)}i(void 0)}))}}function _createForOfIteratorHelperLoose(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nh1,.article-container>h2,.article-container>h3,.article-container>h4,.article-container>h5{margin-top:20px}.article-container>p{margin-top:10px}.article-container>ul{list-style-position:inside}.article-container a{color:teal;border-bottom:1px solid teal}.article-container table{border-collapse:collapse;empty-cells:show}.article-container td,.article-container th{border:1px solid #dfe2e5;padding:6px 13px;word-break:normal;display:table-cell;vertical-align:inherit}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);border:none;color:#333;border-left:10px solid #d6dbdf}.list-enter-active,.list-leave-active{transition:all .65s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translateX(30px)}.content-enter-active,.content-leave-active{transition:all 1s ease}.content-enter-from,.content-leave-to{opacity:0}.hljs-comment,.hljs-quote{color:#969896}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#c66}.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#de935f}.hljs-attribute{color:#f0c674}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#b5bd68}.hljs-section,.hljs-title{color:#81a2be}.hljs-keyword,.hljs-selector-tag{color:#b294bb}.hljs{display:block;overflow-x:auto;background:#1d1f21;color:#c5c8c6;padding:.5em}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);-ms-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}div[data-v-f327bc66]{--color:var(--4d29237e);--size:var(--767083d4);--padding:var(--3ec5956c)}.loading-container[data-v-f327bc66]{display:flex;align-items:center;justify-content:center;margin:10px 0;padding:var(--padding);font-size:var(--size)}.text-info[data-v-f327bc66]{padding:0 .8em}.balls[data-v-f327bc66]{width:4em;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}.balls div[data-v-f327bc66]{width:.5em;height:.5em;border-radius:50%;background-color:var(--color)}.balls div[data-v-f327bc66]:nth-of-type(1){transform:translateX(-100%);animation:left-swing-f327bc66 .5s ease-in alternate infinite}.balls div[data-v-f327bc66]:nth-of-type(3){transform:translateX(-95%);animation:right-swing-f327bc66 .5s ease-out alternate infinite}@keyframes left-swing-f327bc66{100%,50%{transform:translateX(95%)}}@keyframes right-swing-f327bc66{50%{transform:translateX(-95%)}100%{transform:translateX(100%)}}img[data-v-7892bead]{--size:var(--aa0c0ed6);--scale:var(--977bf994)}img[data-v-7892bead]{border-radius:50%;text-align:center;display:block;width:var(--size);height:var(--size);line-height:var(--size)}img[data-v-7892bead]:hover{transition:transform .1s ease-in-out;transform:scale(var(--scale))}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js"],(function(t,e){"use strict";var n,r,o,a,i,s,c,u,l,f,d,p,h,m,v,g,b,y,_,w,x,T,O,E,k,C,R,S,A,j,B,V,I,L,P,D,N,U,z,F,H,M,X,q,$;return{setters:[function(t){n=t.c,r=t.r,o=t.w,a=t.o,i=t.i,s=t.e,c=t.m,u=t.a,l=t.b,f=t.d,d=t.f,p=t.g,h=t.h,m=t.j,v=t.t,g=t.k,b=t.l,y=t.u,_=t.n,w=t.p,x=t.q,T=t.s,O=t.v,E=t.x,k=t.y,C=t.z,R=t.F,S=t.A,A=t.B,j=t.C,B=t.D,V=t.T,I=t.E,L=t.G,P=t.H,D=t.I,N=t.J,U=t.K,z=t.L,F=t.M,H=t.N,M=t.O,X=t.P,q=t.Q,$=t.R}],execute:function(){t("b",(function(){return i(sn)}));var Y,G,J="_vue_use_head_",W="head:count",K="data-head-attrs",Q=function(t,e,n){for(var r=n.createElement(t),o=0,a=Object.keys(e);o-1&&t.splice(n,1)};return!n&&h()&&m(r),r}function ut(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0},bt=function(t){return void 0===t},yt=function(t){return"object"==typeof t&&null!==t},_t=function(t){return window.TouchEvent&&t instanceof TouchEvent},wt=function(t){return Ot(t,"component")&&xt(t.component)},xt=function(t){return!bt(t)&&(vt(t)||(mt(e=t)||yt(e))||wt(t));var e},Tt=function(t){return yt(t)&&["height","width","right","left","top","bottom"].every((function(e){return"number"==typeof t[e]}))},Ot=function(t,e){return(yt(t)||mt(t))&&e in t},Et=(ht=0,function(){return ht++});function kt(t){return _t(t)?t.targetTouches[0].clientX:t.clientX}function Ct(t){return _t(t)?t.targetTouches[0].clientY:t.clientY}var Rt,St,At,jt=function t(e){return wt(e)?t(e.component):function(t){return Ot(t,"tag")&>(t.tag)}(e)?g({render:function(){return e}}):"string"==typeof e?e:b(y(e))},Bt=function(){function t(){this.allHandlers={}}var e=t.prototype;return e.getHandlers=function(t){return this.allHandlers[t]||[]},e.on=function(t,e){var n=this.getHandlers(t);n.push(e),this.allHandlers[t]=n},e.off=function(t,e){var n=this.getHandlers(t);n.splice(n.indexOf(e)>>>0,1)},e.emit=function(t,e){this.getHandlers(t).forEach((function(t){return t(e)}))},t}();!function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"}(Rt||(Rt={})),function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"}(St||(St={})),function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"}(At||(At={}));var Vt="Vue-Toastification",It={type:{type:String,default:Rt.DEFAULT},classNames:{type:[String,Array],default:function(){return[]}},trueBoolean:{type:Boolean,default:!0}},Lt={type:It.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},Pt={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:It.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Dt={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},Nt={transition:{type:[Object,String],default:Vt+"__bounce"}},Ut={CORE_TOAST:{position:{type:String,default:St.TOP_RIGHT},draggable:It.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:It.trueBoolean,pauseOnHover:It.trueBoolean,closeOnClick:It.trueBoolean,timeout:Dt.timeout,hideProgressBar:Dt.hideProgressBar,toastClassName:It.classNames,bodyClassName:It.classNames,icon:Lt.customIcon,closeButton:Pt.component,closeButtonClassName:Pt.classNames,showCloseButtonOnHover:Pt.showOnHover,accessibility:{type:Object,default:function(){return{toastRole:"alert",closeButtonLabel:"close"}}},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!0,default:new Bt}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:It.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:function(){}},onClose:{type:Function,default:function(){}}},CONTAINER:{container:{type:[Object,Function],default:function(){return document.body}},newestOnTop:It.trueBoolean,maxToasts:{type:Number,default:20},transition:Nt.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:function(t){return t}},filterToasts:{type:Function,default:function(t){return t}},containerClassName:It.classNames,onMounted:Function},PROGRESS_BAR:Dt,ICON:Lt,TRANSITION:Nt,CLOSE_BUTTON:Pt},zt=g({name:"VtProgressBar",props:Ut.PROGRESS_BAR,data:function(){return{hasClass:!0}},computed:{style:function(){return{animationDuration:this.timeout+"ms",animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass:function(){return this.hasClass?Vt+"__progress-bar":""}},watch:{timeout:function(){var t=this;this.hasClass=!1,this.$nextTick((function(){return t.hasClass=!0}))}},mounted:function(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount:function(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded:function(){this.$emit("close-toast")}}});zt.render=function(t,e,n,r,o,a){return _(),w("div",{style:t.style,class:t.cpClass},null,6)},zt.__file="src/components/VtProgressBar.vue";var Ft=g({name:"VtCloseButton",props:Ut.CLOSE_BUTTON,computed:{buttonComponent:function(){return!1!==this.component?jt(this.component):"button"},classes:function(){var t=[Vt+"__close-button"];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}}),Ht=S(" × ");Ft.render=function(t,e,n,r,o,a){return _(),w(O(t.buttonComponent),T({"aria-label":t.ariaLabel,class:t.classes},t.$attrs),{default:x((function(){return[Ht]})),_:1},16,["aria-label","class"])},Ft.__file="src/components/VtCloseButton.vue";var Mt={},Xt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},qt=C("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1);Mt.render=function(t,e,n,r,o,a){return _(),w("svg",Xt,[qt])},Mt.__file="src/components/icons/VtSuccessIcon.vue";var $t={},Yt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Gt=C("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1);$t.render=function(t,e,n,r,o,a){return _(),w("svg",Yt,[Gt])},$t.__file="src/components/icons/VtInfoIcon.vue";var Jt={},Wt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Kt=C("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Jt.render=function(t,e,n,r,o,a){return _(),w("svg",Wt,[Kt])},Jt.__file="src/components/icons/VtWarningIcon.vue";var Qt={},Zt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},te=C("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Qt.render=function(t,e,n,r,o,a){return _(),w("svg",Zt,[te])},Qt.__file="src/components/icons/VtErrorIcon.vue";var ee=g({name:"VtIcon",props:Ut.ICON,computed:{customIconChildren:function(){return Ot(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass:function(){return vt(this.customIcon)?this.trimValue(this.customIcon):Ot(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag:function(){return Ot(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon:function(){return this.customIconClass.length>0},component:function(){return this.hasCustomIcon?this.customIconTag:xt(this.customIcon)?jt(this.customIcon):this.iconTypeComponent},iconTypeComponent:function(){var t;return((t={})[Rt.DEFAULT]=$t,t[Rt.INFO]=$t,t[Rt.SUCCESS]=Mt,t[Rt.ERROR]=Qt,t[Rt.WARNING]=Jt,t)[this.type]},iconClasses:function(){var t=[Vt+"__icon"];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue:function(t,e){return void 0===e&&(e=""),gt(t)?t.trim():e}}});ee.render=function(t,e,n,r,o,a){return _(),w(O(t.component),{class:t.iconClasses},{default:x((function(){return[S(A(t.customIconChildren),1)]})),_:1},8,["class"])},ee.__file="src/components/VtIcon.vue";var ne=g({name:"VtToast",components:{ProgressBar:zt,CloseButton:Ft,Icon:ee},inheritAttrs:!1,props:Object.assign({},Ut.CORE_TOAST,Ut.TOAST),data:function(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes:function(){var t=[Vt+"__toast",Vt+"__toast--"+this.type,""+this.position].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(Vt+"__toast--rtl"),t},bodyClasses:function(){return[Vt+"__toast-"+(vt(this.content)?"body":"component-body")].concat(this.bodyClassName)},draggableStyle:function(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:"translateX("+this.dragDelta+"px)",opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta:function(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance:function(){return Tt(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted:function(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount:function(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{getVueComponentFromObj:jt,closeToast:function(){this.eventBus.emit(At.DISMISS,this.id)},clickHandler:function(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler:function(){this.closeToast()},hoverPause:function(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay:function(){this.pauseOnHover&&(this.isRunning=!0)},focusPause:function(){this.isRunning=!1},focusPlay:function(){this.isRunning=!0},focusSetup:function(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup:function(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup:function(){var t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup:function(){var t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart:function(t){this.beingDragged=!0,this.dragPos={x:kt(t),y:Ct(t)},this.dragStart=kt(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove:function(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:kt(t),y:Ct(t)})},onDragEnd:function(){var t=this;this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick((function(){return t.closeToast()}))):setTimeout((function(){t.beingDragged=!1,Tt(t.dragRect)&&t.pauseOnHover&&t.dragRect.bottom>=t.dragPos.y&&t.dragPos.y>=t.dragRect.top&&t.dragRect.left<=t.dragPos.x&&t.dragPos.x<=t.dragRect.right?t.isRunning=!1:t.isRunning=!0})))}}});ne.render=function(t,e,n,r,o,a){var i=E("Icon"),s=E("CloseButton"),c=E("ProgressBar");return _(),w("div",{class:t.classes,style:t.draggableStyle,onClick:e[1]||(e[1]=function(){return t.clickHandler.apply(t,arguments)}),onMouseenter:e[2]||(e[2]=function(){return t.hoverPause.apply(t,arguments)}),onMouseleave:e[3]||(e[3]=function(){return t.hoverPlay.apply(t,arguments)})},[t.icon?(_(),w(i,{key:0,"custom-icon":t.icon,type:t.type},null,8,["custom-icon","type"])):k("v-if",!0),C("div",{role:t.accessibility.toastRole||"alert",class:t.bodyClasses},["string"==typeof t.content?(_(),w(R,{key:0},[S(A(t.content),1)],64)):(_(),w(O(t.getVueComponentFromObj(t.content)),T({key:1,"toast-id":t.id},t.content.props,j(t.content.listeners),{onCloseToast:t.closeToast}),null,16,["toast-id","onCloseToast"]))],10,["role"]),t.closeButton?(_(),w(s,{key:1,component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel,onClick:B(t.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):k("v-if",!0),t.timeout?(_(),w(c,{key:2,"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout,onCloseToast:t.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):k("v-if",!0)],38)},ne.__file="src/components/VtToast.vue";var re=g({name:"VtTransition",props:Ut.TRANSITION,emits:["leave"],methods:{leave:function(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.position="absolute"}}});re.render=function(t,e,n,r,o,a){return _(),w(V,{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:t.transition+"-enter-active","move-class":t.transition.move?t.transition.move:t.transition+"-move","leave-active-class":t.transition.leave?t.transition.leave:t.transition+"-leave-active",onLeave:t.leave},{default:x((function(){return[L(t.$slots,"default")]})),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])},re.__file="src/components/VtTransition.vue";var oe=g({name:"VueToastification",components:{Toast:ne,VtTransition:re},props:Object.assign({},Ut.CORE_TOAST,Ut.CONTAINER,Ut.TRANSITION),data:function(){var t={count:0,positions:Object.values(St),toasts:{},defaults:{}};return t},computed:{toastArray:function(){return Object.values(this.toasts)},filteredToasts:function(){return this.defaults.filterToasts(this.toastArray)}},beforeMount:function(){var t=this.eventBus;t.on(At.ADD,this.addToast),t.on(At.CLEAR,this.clearToasts),t.on(At.DISMISS,this.dismissToast),t.on(At.UPDATE,this.updateToast),t.on(At.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted:function(){this.setup(this.container)},methods:{setup:function(t){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!mt(t)){n.next=4;break}return n.next=3,t();case 3:t=n.sent;case 4:r=e.$el,bt(r.remove)?r.parentNode&&r.parentNode.removeChild(r):r.remove(),t.appendChild(e.$el);case 6:case"end":return n.stop()}var r}),n)})))()},setToast:function(t){bt(t.id)||(this.toasts[t.id]=t)},addToast:function(t){t.content=function(t){if("string"==typeof t)return t;var e=Ot(t,"props")&&yt(t.props)?t.props:{},n=Ot(t,"listeners")&&yt(t.listeners)?t.listeners:{};return{component:jt(t),props:e,listeners:n}}(t.content);var e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),n=this.defaults.filterBeforeCreate(e,this.toastArray);n&&this.setToast(n)},dismissToast:function(t){var e=this.toasts[t];bt(e)||bt(e.onClose)||e.onClose(),delete this.toasts[t]},clearToasts:function(){var t=this;Object.keys(this.toasts).forEach((function(e){t.dismissToast(e)}))},getPositionToasts:function(t){var e=this.filteredToasts.filter((function(e){return e.position===t})).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults:function(t){bt(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast:function(t){var e=t.id,n=t.options,r=t.create;this.toasts[e]?(n.timeout&&n.timeout===this.toasts[e].timeout&&n.timeout++,this.setToast(Object.assign({},this.toasts[e],n))):r&&this.addToast(Object.assign({},{id:e},n))},getClasses:function(t){return[Vt+"__container",t].concat(this.defaults.containerClassName)}}});oe.render=function(t,e,n,r,o,a){var i=E("Toast"),s=E("VtTransition");return _(),w("div",null,[(_(!0),w(R,null,I(t.positions,(function(e){return _(),w("div",{key:e},[C(s,{transition:t.defaults.transition,class:t.getClasses(e)},{default:x((function(){return[(_(!0),w(R,null,I(t.getPositionToasts(e),(function(t){return _(),w(i,T({key:t.id},t),null,16)})),128))]})),_:2},1032,["transition","class"])])})),128))])},oe.__file="src/components/VtToastContainer.vue";var ae=function(t,e){void 0===t&&(t={}),void 0===e&&(e=!0);var n=t.eventBus=t.eventBus||new Bt;e&&P((function(){var e=D(oe,Object.assign({},t)),n=e.mount(document.createElement("div")),r=t.onMounted;bt(r)||r(n,e)}));var r=function(t,e){var r=Object.assign({},{id:Et(),type:Rt.DEFAULT},e,{content:t});return n.emit(At.ADD,r),r.id};return r.clear=function(){return n.emit(At.CLEAR,void 0)},r.updateDefaults=function(t){n.emit(At.UPDATE_DEFAULTS,t)},r.dismiss=function(t){n.emit(At.DISMISS,t)},r.update=function(t,e,r){var o=e.content,a=e.options;void 0===r&&(r=!1);var i=Object.assign({},a,{content:o});n.emit(At.UPDATE,{id:t,options:i,create:r})},r.success=function(t,e){return r(t,Object.assign({},e,{type:Rt.SUCCESS}))},r.info=function(t,e){return r(t,Object.assign({},e,{type:Rt.INFO}))},r.error=function(t,e){return r(t,Object.assign({},e,{type:Rt.ERROR}))},r.warning=function(t,e){return r(t,Object.assign({},e,{type:Rt.WARNING}))},r};function ie(t){return"undefined"==typeof window?(e=function(){return console.warn("[Vue Toastification] This plugin does not support SSR!")},new Proxy(e,{get:function(){return e}})):(n=t,["on","off","emit"].every((function(t){return Ot(n,t)&&mt(n[t])}))?ae({eventBus:t},!1):ae(t,!0));var e,n}var se=Symbol("VueToastification"),ce=new Bt,ue=t("c",(function(t){if(t)return ie(t);var e=h()?i(se):void 0;return e||ie(ce)})),le=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}(a.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:r,config:t,request:a};!function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(ke("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}(e,n,o),a=null}},a.onabort=function(){a&&(n(ke("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){n(ke("Network Error",t,null,a)),a=null},a.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(ke(e,t,"ECONNABORTED",a)),a=null},be.isStandardBrowserEnv()){var f=(t.withCredentials||Se(l))&&t.xsrfCookieName?Ce.read(t.xsrfCookieName):void 0;f&&(o[t.xsrfHeaderName]=f)}if("setRequestHeader"in a&&be.forEach(o,(function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete o[e]:a.setRequestHeader(e,t)})),be.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),t.responseType)try{a.responseType=t.responseType}catch(d){if("json"!==t.responseType)throw d}"function"==typeof t.onDownloadProgress&&a.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){a&&(a.abort(),n(t),a=null)})),r||(r=null),a.send(r)}))},je={"Content-Type":"application/x-www-form-urlencoded"};function Be(t,e){!be.isUndefined(t)&&be.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var Ve,Ie={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(Ve=Ae),Ve),transformRequest:[function(t,e){return Ee(e,"Accept"),Ee(e,"Content-Type"),be.isFormData(t)||be.isArrayBuffer(t)||be.isBuffer(t)||be.isStream(t)||be.isFile(t)||be.isBlob(t)?t:be.isArrayBufferView(t)?t.buffer:be.isURLSearchParams(t)?(Be(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):be.isObject(t)?(Be(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};Ie.headers={common:{Accept:"application/json, text/plain, */*"}},be.forEach(["delete","get","head"],(function(t){Ie.headers[t]={}})),be.forEach(["post","put","patch"],(function(t){Ie.headers[t]=be.merge(je)}));var Le=Ie;function Pe(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var De=function(t){return Pe(t),t.headers=t.headers||{},t.data=Te(t.data,t.headers,t.transformRequest),t.headers=be.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),be.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||Le.adapter)(t).then((function(e){return Pe(t),e.data=Te(e.data,e.headers,t.transformResponse),e}),(function(e){return Oe(e)||(Pe(t),e&&e.response&&(e.response.data=Te(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},Ne=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function s(t,e){return be.isPlainObject(t)&&be.isPlainObject(e)?be.merge(t,e):be.isPlainObject(e)?be.merge({},e):be.isArray(e)?e.slice():e}function c(r){be.isUndefined(e[r])?be.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(t[r],e[r])}be.forEach(r,(function(t){be.isUndefined(e[t])||(n[t]=s(void 0,e[t]))})),be.forEach(o,c),be.forEach(a,(function(r){be.isUndefined(e[r])?be.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(void 0,e[r])})),be.forEach(i,(function(r){r in e?n[r]=s(t[r],e[r]):r in t&&(n[r]=s(void 0,t[r]))}));var u=r.concat(o).concat(a).concat(i),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return be.forEach(l,c),n};function Ue(t){this.defaults=t,this.interceptors={request:new xe,response:new xe}}Ue.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=Ne(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[De,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},Ue.prototype.getUri=function(t){return t=Ne(this.defaults,t),_e(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},be.forEach(["delete","get","head","options"],(function(t){Ue.prototype[t]=function(e,n){return this.request(Ne(n||{},{method:t,url:e,data:(n||{}).data}))}})),be.forEach(["post","put","patch"],(function(t){Ue.prototype[t]=function(e,n,r){return this.request(Ne(r||{},{method:t,url:e,data:n}))}}));var ze=Ue;function Fe(t){this.message=t}Fe.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Fe.prototype.__CANCEL__=!0;var He=Fe;function Me(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 He(t),e(n.reason))}))}Me.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Me.source=function(){var t;return{token:new Me((function(e){t=e})),cancel:t}};var Xe=Me;function qe(t){var e=new ze(t),n=le(ze.prototype.request,e);return be.extend(n,ze.prototype,e),be.extend(n,e),n}var $e=qe(Le);$e.Axios=ze,$e.create=function(t){return qe(Ne($e.defaults,t))},$e.Cancel=He,$e.CancelToken=Xe,$e.isCancel=Oe,$e.all=function(t){return Promise.all(t)},$e.spread=function(t){return function(e){return t.apply(null,e)}},$e.isAxiosError=function(t){return"object"==typeof t&&!0===t.isAxiosError};var Ye=$e,Ge=$e;Ye.default=Ge;var Je=Ye,We="HAPPY_USER_TOKEN",Ke=N((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t-1?s:0);return s>-1&&(r=e.slice(0,s),o=t(a=e.slice(s+1,c>-1?c:e.length))),c>-1&&(r=r||e.slice(0,c),i=e.slice(c,e.length)),{fullPath:(r=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;var n,r,o=e.split("/"),a=t.split("/"),i=o.length-1;for(n=0;n-1){var a=o.slice(1);return"/"!==a[0]&&(a="/"+a),bn(a,"")}return bn(n,t)+r+o}function Bn(t,e,n,r,o){return void 0===r&&(r=!1),void 0===o&&(o=!1),{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?kn():null}}function Vn(t){var e=function(t){var e=window,n=e.history,r=e.location,o={value:jn(t,r)},a={value:n.state};function i(e,o,i){var s=t.indexOf("#"),c=s>-1?(r.host&&document.querySelector("base")?t:t.slice(s))+e:An()+t+e;try{n[i?"replaceState":"pushState"](o,"",c),a.value=o}catch(u){console.error(u),r[i?"replace":"assign"](c)}}return a.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:o,state:a,push:function(t,e){var r=fn({},a.value,n.state,{forward:t,scroll:kn()});i(r.current,r,!0),i(t,fn({},Bn(o.value,t,null),{position:r.position+1},e),!1),o.value=t},replace:function(t,e){i(t,fn({},n.state,Bn(a.value.back,t,a.value.forward,!0),e,{position:a.value.position}),!0),o.value=t}}}(t=Tn(t)),n=function(t,e,n,r){var o=[],a=[],i=null,s=function(a){var s=a.state,c=jn(t,location),u=n.value,l=e.value,f=0;if(s){if(n.value=c,e.value=s,i&&i===u)return void(i=null);f=l?s.position-l.position:0}else r(c);o.forEach((function(t){t(n.value,u,{delta:f,type:pn.pop,direction:f?f>0?hn.forward:hn.back:hn.unknown})}))};function c(){var t=window.history;t.state&&t.replaceState(fn({},t.state,{scroll:kn()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:function(){i=n.value},listen:function(t){o.push(t);var e=function(){var e=o.indexOf(t);e>-1&&o.splice(e,1)};return a.push(e),e},destroy:function(){for(var t,e=_createForOfIteratorHelperLoose(a);!(t=e()).done;)(0,t.value)();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}}}(t,e.state,e.location,e.replace);var r=fn({location:"",base:t,go:function(t,e){void 0===e&&(e=!0),e||n.pauseListeners(),history.go(t)},createHref:En.bind(null,t)},e,n);return Object.defineProperty(r,"location",{get:function(){return e.location.value}}),Object.defineProperty(r,"state",{get:function(){return e.state.value}}),r}function In(t){return"string"==typeof t||"symbol"==typeof t}var Ln,Pn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Dn=rn("nf");function Nn(t,e){var n;return fn(new Error,((n={type:t})[Dn]=!0,n),e)}function Un(t,e){return t instanceof Error&&Dn in t&&(null==e||!!(t.type&e))}!function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"}(Ln||(Ln={}));var zn="[^/]+?",Fn={sensitive:!1,strict:!1,start:!0,end:!0},Hn=/[.+*?^${}()[\]/\\]/g;function Mn(t,e){for(var n=0;ne.length?1===e.length&&80===e[0]?1:-1:0}function Xn(t,e){for(var n=0,r=t.score,o=e.score;n1&&("*"===s||"+"===s)&&e("A repeatable param ("+u+") must be alone in its segment. eg: '/:ids+."),n.push({type:1,value:u,regexp:l,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),u="")}function d(){u+=s}for(;c-1&&(n.splice(o,1),t.record.name&&r.delete(t.record.name),t.children.forEach(a),t.alias.forEach(a))}}function i(t){for(var e=0;e=0;)e++;n.splice(e,0,t),t.record.name&&!Wn(t)&&r.set(t.record.name,t)}return e=Qn({strict:!1,end:!0,sensitive:!1},e),t.forEach((function(t){return o(t)})),{addRoute:o,resolve:function(t,e){var o,a,i,s={};if("name"in t&&t.name){if(!(o=r.get(t.name)))throw Nn(1,{location:t});i=o.record.name,s=fn(function(t,e){for(var n,r={},o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;a in t&&(r[a]=t[a])}return r}(e.params,o.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}))),t.params),a=o.stringify(s)}else if("path"in t)a=t.path,(o=n.find((function(t){return t.re.test(a)})))&&(s=o.parse(a),i=o.record.name);else{if(!(o=e.name?r.get(e.name):n.find((function(t){return t.re.test(e.path)}))))throw Nn(1,{location:t,currentLocation:e});i=o.record.name,s=fn({},e.params,t.params),a=o.stringify(s)}for(var c=[],u=o;u;)c.unshift(u.record),u=u.parent;return{name:i,path:a,params:s,matched:c,meta:Kn(c)}},removeRoute:a,getRoutes:function(){return n},getRecordMatcher:function(t){return r.get(t)}}}function Jn(t){var e={},n=t.props||!1;if("component"in t)e.default=n;else for(var r in t.components)e[r]="boolean"==typeof n?n:n[r];return e}function Wn(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Kn(t){return t.reduce((function(t,e){return fn(t,e.meta)}),{})}function Qn(t,e){var n={};for(var r in t)n[r]=r in e?e[r]:t[r];return n}var Zn=/#/g,tr=/&/g,er=/\//g,nr=/=/g,rr=/\?/g,or=/\+/g,ar=/%5B/g,ir=/%5D/g,sr=/%5E/g,cr=/%60/g,ur=/%7B/g,lr=/%7C/g,fr=/%7D/g,dr=/%20/g;function pr(t){return encodeURI(""+t).replace(lr,"|").replace(ar,"[").replace(ir,"]")}function hr(t){return pr(t).replace(or,"%2B").replace(dr,"+").replace(Zn,"%23").replace(tr,"%26").replace(cr,"`").replace(ur,"{").replace(fr,"}").replace(sr,"^")}function mr(t){return function(t){return pr(t).replace(Zn,"%23").replace(rr,"%3F")}(t).replace(er,"%2F")}function vr(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function gr(t){var e={};if(""===t||"?"===t)return e;for(var n=("?"===t[0]?t.slice(1):t).split("&"),r=0;r-1&&t.splice(n,1)}},list:function(){return t},reset:function(){t=[]}}}function wr(t,e,n,r,o){var a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return function(){return new Promise((function(i,s){var c=function(t){var c;!1===t?s(Nn(4,{from:n,to:e})):t instanceof Error?s(t):"string"==typeof(c=t)||c&&"object"==typeof c?s(Nn(2,{from:e,to:t})):(a&&r.enterCallbacks[o]===a&&"function"==typeof t&&a.push(t),i())},u=t.call(r&&r.instances[o],e,n,c),l=Promise.resolve(u);t.length<3&&(l=l.then(c)),l.catch((function(t){return s(t)}))}))}}function xr(t,e,n,r){for(var o,a=[],i=function(){var t=o.value,i=function(o){var i,s=t.components[o];if("beforeRouteEnter"!==e&&!t.instances[o])return"continue";if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){var c=(s.__vccOpts||s)[e];c&&a.push(wr(c,n,r,t,o))}else{var u=s();u=u.catch(console.error),a.push((function(){return u.then((function(a){if(!a)return Promise.reject(new Error("Couldn't resolve component \""+o+'" at "'+t.path+'"'));var i,s=(i=a).__esModule||nn&&"Module"===i[Symbol.toStringTag]?a.default:a;t.components[o]=s;var c=(s.__vccOpts||s)[e];return c&&wr(c,n,r,t,o)()}))}))}};for(var s in t.components)i(s)},s=_createForOfIteratorHelperLoose(t);!(o=s()).done;)i();return a}function Tr(t){var e=i(sn),r=i(cn),o=n((function(){return e.resolve(y(t.to))})),a=n((function(){var t=o.value.matched,e=t.length,n=t[e-1],a=r.matched;if(!n||!a.length)return-1;var i=a.findIndex(yn.bind(null,n));if(i>-1)return i;var s=Er(t[e-2]);return e>1&&Er(n)===s&&a[a.length-1].path!==s?a.findIndex(yn.bind(null,t[e-2])):i})),s=n((function(){return a.value>-1&&function(t,e){var n=function(n){var r=e[n],o=t[n];if("string"==typeof r){if(r!==o)return{v:!1}}else if(!Array.isArray(o)||o.length!==r.length||r.some((function(t,e){return t!==o[e]})))return{v:!1}};for(var r in e){var o=n(r);if("object"==typeof o)return o.v}return!0}(r.params,o.value.params)})),c=n((function(){return a.value>-1&&a.value===r.matched.length-1&&_n(r.params,o.value.params)}));return{route:o,href:n((function(){return o.value.href})),isActive:s,isExactActive:c,navigate:function(n){return void 0===n&&(n={}),function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)?e[y(t.replace)?"replace":"push"](y(t.to)):Promise.resolve()}}}var Or=g({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup:function(t,e){var r=e.slots,o=e.attrs,a=f(Tr(t)),s=i(sn).options,c=n((function(){var e;return(e={})[kr(t.activeClass,s.linkActiveClass,"router-link-active")]=a.isActive,e[kr(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]=a.isExactActive,e}));return function(){var e=r.default&&r.default(a);return t.custom?e:z("a",fn({"aria-current":a.isExactActive?t.ariaCurrentValue:null,onClick:a.navigate,href:a.href},o,{class:c.value}),e)}}});function Er(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}var kr=function(t,e,n){return null!=t?t:null!=e?e:n};function Cr(t,e){if(!t)return null;var n=t(e);return 1===n.length?n[0]:n}var Rr=g({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup:function(t,e){var o=e.attrs,a=e.slots,s=i(un),c=n((function(){return t.route||s.value})),u=i(an,0),f=n((function(){return c.value.matched[u]}));F(an,u+1),F(on,f),F(un,c);var d=r();return l((function(){return[d.value,f.value,t.name]}),(function(t,e){var n=t[0],r=t[1],o=t[2],a=e[0],i=e[1];e[2];r&&(r.instances[o]=n,i&&i!==r&&n&&n===a&&(r.leaveGuards=i.leaveGuards,r.updateGuards=i.updateGuards)),!n||!r||i&&yn(r,i)&&a||(r.enterCallbacks[o]||[]).forEach((function(t){return t(n)}))}),{flush:"post"}),function(){var e=c.value,n=f.value,r=n&&n.components[t.name],i=t.name;if(!r)return Cr(a.default,{Component:r,route:e});var s=n.props[t.name],u=s?!0===s?e.params:"function"==typeof s?s(e):s:null,l=z(r,fn({},u,o,{onVnodeUnmounted:function(t){t.component.isUnmounted&&(n.instances[i]=null)},ref:d}));return Cr(a.default,{Component:l,route:e})||l}}});function Sr(t){return t.reduce((function(t,e){return t.then((function(){return e()}))}),Promise.resolve())}var Ar=H();M("data-v-3629a0e2");var jr=C("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Br=C("div",null,[S(" 请点击前往 "),C("strong",null,"Github"),S("交友网站查看源码 ")],-1);X();var Vr=g({expose:[],setup:function(t){var e=function(){window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return Ar((function(t,n){return _(),w("div",{onClick:e},[jr,Br])}))}});Vr.__scopeId="data-v-3629a0e2";var Ir,Lr=g({expose:[],setup:function(t){var e=en(),n=ue(),r=i(cn);!function(t){t?onBeforeMount((function(){var e;if(document.getElementById(t))console.error("useBaiduInit 无需多次调用",t);else{console.info("useBaiduInit 注册成功",t);var n=document.createElement("script");n.src="https://hm.baidu.com/hm.js?"+t,n.id=t;var r=document.getElementsByTagName("script")[0];null==r||null==(e=r.parentNode)||e.insertBefore(n,r)}})):console.error("useBaiduInit 未检测到百度统计ID",t)}("6b599d2d50ef582710e04da83818e1b0");var o=computed((function(){return r.fullPath}));return rt({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted(_asyncToGenerator(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:setTimeout((function(){n.info(Vr,{position:St.BOTTOM_RIGHT,timeout:3e4})}),2e3),e.GetAuthedUserInfo(),e.GetCategoryList(),null==(r=window)||null==(o=r.hljs)||null==o.initHighlightingOnLoad||o.initHighlightingOnLoad();case 4:case"end":return t.stop()}}),t)})))),function(t,e){var n=E("router-view");return _(),w(n,{key:y(o)})}}}),Pr=function(t,e){return t()},Dr=[{path:"/",name:"home-page",component:function(){return Pr((function(){return e.import("./index-legacy.a8112a93.js")}))},props:function(t){return{query:t.query}}},{path:"/post/:pid",name:"post-detail",component:function(){return Pr((function(){return e.import("./pid-legacy.0f92b42f.js")}))},props:function(t){return{pid:+t.params.pid}}},{path:"/users/:uid",name:"user-details",component:function(){return Pr((function(){return e.import("./uid-legacy.69cea2d4.js")}))},props:function(t){return{uid:+t.params.uid}}},{path:"/daily-articles",name:"daily-read",component:function(){return Pr((function(){return e.import("./index-legacy.98e2101f.js")}))},props:function(t){return{query:t.query}}},{path:"/signin",name:"signin",component:function(){return Pr((function(){return e.import("./index-legacy.025a9311.js")}))}},{path:"/about",name:"about",component:function(){return Pr((function(){return e.import("./index-legacy.900b3a5e.js")}))}},{path:"/:pathMatch(.*)*",name:"not-found",component:function(){return Pr((function(){return e.import("./index-legacy.ffe8bfb5.js")}))}}],Nr=function(t){var e=Gn(t.routes,t),r=t.parseQuery||gr,o=t.stringifyQuery||br,a=t.history,i=_r(),s=_r(),c=_r(),u=U(Pn),l=Pn;ln&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var d,p=dn.bind(null,(function(t){return""+t})),h=dn.bind(null,mr),m=dn.bind(null,vr);function v(t,n){if(n=fn({},n||u.value),"string"==typeof t){var i=gn(r,t,n.path),s=e.resolve({path:i.path},n),c=a.createHref(i.fullPath);return fn(i,s,{params:m(s.params),hash:vr(i.hash),redirectedFrom:void 0,href:c})}var l;"path"in t?l=fn({},t,{path:gn(r,t.path,n.path).path}):(l=fn({},t,{params:h(t.params)}),n.params=h(n.params));var f=e.resolve(l,n),d=t.hash||"";f.params=p(m(f.params));var v,g=function(t,e){var n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(o,fn({},t,{hash:(v=d,pr(v).replace(ur,"{").replace(fr,"}").replace(sr,"^")),path:f.path})),b=a.createHref(g);return fn({fullPath:g,hash:d,query:o===br?yr(t.query):t.query},f,{redirectedFrom:void 0,href:b})}function g(t){return"string"==typeof t?gn(r,t,u.value.path):fn({},t)}function b(t,e){if(l!==t)return Nn(8,{from:e,to:t})}function _(t){return x(t)}function w(t){var e=t.matched[t.matched.length-1];if(e&&e.redirect){var n=e.redirect,r="function"==typeof n?n(t):n;return"string"==typeof r&&(r=r.indexOf("?")>-1||r.indexOf("#")>-1?r=g(r):{path:r}),fn({query:t.query,hash:t.hash,params:t.params},r)}}function x(t,e){var n=l=v(t),r=u.value,a=t.state,i=t.force,s=!0===t.replace,c=w(n);if(c)return x(fn(g(c),{state:a,force:i,replace:s}),e||n);var f,d=n;return d.redirectedFrom=e,!i&&function(t,e,n){var r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&yn(e.matched[r],n.matched[o])&&_n(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(o,r,n)&&(f=Nn(16,{to:d,from:r}),V(r,r,!0,!1)),(f?Promise.resolve(f):O(d,r)).catch((function(t){return Un(t)?t:j(t)})).then((function(t){if(t){if(Un(t,2))return x(fn(g(t.to),{state:a,force:i,replace:s}),e||d)}else t=k(d,r,!0,s,a);return E(d,r,t),t}))}function T(t,e){var n=b(t,e);return n?Promise.reject(n):Promise.resolve()}function O(t,e){var n,r=function(t,e){for(var n=[],r=[],o=[],a=Math.max(e.matched.length,t.matched.length),i=0;i=2?(a(),r(u,{key:0,to:"/?Page="+(o.q.Page-1)+"&OrderType="+(o.q.OrderType||"desc")},{default:j((function(){return[S]})),_:1},8,["to"])):g("",!0),15==o.List.length?(a(),r(u,{key:1,to:"/?Page="+(o.q.Page?+o.q.Page+1:2)+"&OrderType="+(o.q.OrderType||"desc")},{default:j((function(){return[C]})),_:1},8,["to"])):g("",!0)]))]})),_:1})]})),_:1})}))}})).__scopeId="data-v-422f221b"}}})); diff --git a/assets/index-legacy.befaea30.js b/assets/index-legacy.befaea30.js deleted file mode 100644 index 274d87b..0000000 --- a/assets/index-legacy.befaea30.js +++ /dev/null @@ -1,6 +0,0 @@ -import"core-js/modules/es.array.from.js";import"core-js/modules/es.symbol.iterator.js";function asyncGeneratorStep(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,o)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function i(t){asyncGeneratorStep(a,r,o,i,s,"next",t)}function s(t){asyncGeneratorStep(a,r,o,i,s,"throw",t)}i(void 0)}))}}function _createForOfIteratorHelperLoose(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nh1,.article-container>h2,.article-container>h3,.article-container>h4,.article-container>h5{margin-top:20px}.article-container>p{margin-top:10px}.article-container>ul{list-style-position:inside}.article-container a{color:teal;border-bottom:1px solid teal}.article-container table{border-collapse:collapse;empty-cells:show}.article-container td,.article-container th{border:1px solid #dfe2e5;padding:6px 13px;word-break:normal;display:table-cell;vertical-align:inherit}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);border:none;color:#333;border-left:10px solid #d6dbdf}.list-enter-active,.list-leave-active{transition:all .65s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translateX(30px)}.content-enter-active,.content-leave-active{transition:all 1s ease}.content-enter-from,.content-leave-to{opacity:0}.hljs-comment,.hljs-quote{color:#969896}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#c66}.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#de935f}.hljs-attribute{color:#f0c674}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#b5bd68}.hljs-section,.hljs-title{color:#81a2be}.hljs-keyword,.hljs-selector-tag{color:#b294bb}.hljs{display:block;overflow-x:auto;background:#1d1f21;color:#c5c8c6;padding:.5em}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);-ms-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}div[data-v-f327bc66]{--color:var(--4d29237e);--size:var(--767083d4);--padding:var(--3ec5956c)}.loading-container[data-v-f327bc66]{display:flex;align-items:center;justify-content:center;margin:10px 0;padding:var(--padding);font-size:var(--size)}.text-info[data-v-f327bc66]{padding:0 .8em}.balls[data-v-f327bc66]{width:4em;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}.balls div[data-v-f327bc66]{width:.5em;height:.5em;border-radius:50%;background-color:var(--color)}.balls div[data-v-f327bc66]:nth-of-type(1){transform:translateX(-100%);animation:left-swing-f327bc66 .5s ease-in alternate infinite}.balls div[data-v-f327bc66]:nth-of-type(3){transform:translateX(-95%);animation:right-swing-f327bc66 .5s ease-out alternate infinite}@keyframes left-swing-f327bc66{100%,50%{transform:translateX(95%)}}@keyframes right-swing-f327bc66{50%{transform:translateX(-95%)}100%{transform:translateX(100%)}}img[data-v-7892bead]{--size:var(--aa0c0ed6);--scale:var(--977bf994)}img[data-v-7892bead]{border-radius:50%;text-align:center;display:block;width:var(--size);height:var(--size);line-height:var(--size)}img[data-v-7892bead]:hover{transition:transform .1s ease-in-out;transform:scale(var(--scale))}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.b2b943d4.js"],(function(t,e){"use strict";var n,r,o,a,i,s,c,u,l,f,d,p,h,m,v,g,b,y,_,w,T,x,O,E,C,k,S,R,A,j,B,V,I,L,P,D,U,N;return{setters:[function(t){n=t.c,r=t.r,o=t.w,a=t.o,i=t.i,s=t.d,c=t.t,u=t.u,l=t.a,f=t.b,d=t.e,p=t.m,h=t.f,m=t.g,v=t.h,g=t.j,b=t.F,y=t.k,_=t.l,w=t.n,T=t.p,x=t.T,O=t.q,E=t.s,C=t.v,k=t.x,S=t.y,R=t.z,A=t.A,j=t.B,B=t.C,V=t.D,I=t.E,L=t.G,P=t.H,D=t.I,U=t.J,N=t.K}],execute:function(){var M,z;t({b:function(){return i(pe)},u:$t});var H,F="_vue_use_head_",G="head:count",X="data-head-attrs",q=function(t,e,n){for(var r=n.createElement(t),o=0,a=Object.keys(e);o0},et=function(t){return void 0===t},nt=function(t){return"object"==typeof t&&null!==t},rt=function(t){return window.TouchEvent&&t instanceof TouchEvent},ot=function(t){return st(t,"component")&&at(t.component)},at=function(t){return!et(t)&&(Q(t)||(Z(e=t)||nt(e))||ot(t));var e},it=function(t){return nt(t)&&["height","width","right","left","top","bottom"].every((function(e){return"number"==typeof t[e]}))},st=function(t,e){return(nt(t)||Z(t))&&e in t},ct=(H=0,function(){return H++});function ut(t){return rt(t)?t.targetTouches[0].clientX:t.clientX}function lt(t){return rt(t)?t.targetTouches[0].clientY:t.clientY}var ft,dt,pt,ht=function t(e){return ot(e)?t(e.component):function(t){return st(t,"tag")&&tt(t.tag)}(e)?s({render:function(){return e}}):"string"==typeof e?e:c(u(e))},mt=function(){function t(){this.allHandlers={}}var e=t.prototype;return e.getHandlers=function(t){return this.allHandlers[t]||[]},e.on=function(t,e){var n=this.getHandlers(t);n.push(e),this.allHandlers[t]=n},e.off=function(t,e){var n=this.getHandlers(t);n.splice(n.indexOf(e)>>>0,1)},e.emit=function(t,e){this.getHandlers(t).forEach((function(t){return t(e)}))},t}();!function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"}(ft||(ft={})),function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"}(dt||(dt={})),function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"}(pt||(pt={}));var vt="Vue-Toastification",gt={type:{type:String,default:ft.DEFAULT},classNames:{type:[String,Array],default:function(){return[]}},trueBoolean:{type:Boolean,default:!0}},bt={type:gt.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},yt={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:gt.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},_t={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},wt={transition:{type:[Object,String],default:vt+"__bounce"}},Tt={CORE_TOAST:{position:{type:String,default:dt.TOP_RIGHT},draggable:gt.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:gt.trueBoolean,pauseOnHover:gt.trueBoolean,closeOnClick:gt.trueBoolean,timeout:_t.timeout,hideProgressBar:_t.hideProgressBar,toastClassName:gt.classNames,bodyClassName:gt.classNames,icon:bt.customIcon,closeButton:yt.component,closeButtonClassName:yt.classNames,showCloseButtonOnHover:yt.showOnHover,accessibility:{type:Object,default:function(){return{toastRole:"alert",closeButtonLabel:"close"}}},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!0,default:new mt}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:gt.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:function(){}},onClose:{type:Function,default:function(){}}},CONTAINER:{container:{type:[Object,Function],default:function(){return document.body}},newestOnTop:gt.trueBoolean,maxToasts:{type:Number,default:20},transition:wt.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:function(t){return t}},filterToasts:{type:Function,default:function(t){return t}},containerClassName:gt.classNames,onMounted:Function},PROGRESS_BAR:_t,ICON:bt,TRANSITION:wt,CLOSE_BUTTON:yt},xt=s({name:"VtProgressBar",props:Tt.PROGRESS_BAR,data:function(){return{hasClass:!0}},computed:{style:function(){return{animationDuration:this.timeout+"ms",animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass:function(){return this.hasClass?vt+"__progress-bar":""}},watch:{timeout:function(){var t=this;this.hasClass=!1,this.$nextTick((function(){return t.hasClass=!0}))}},mounted:function(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount:function(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded:function(){this.$emit("close-toast")}}});xt.render=function(t,e,n,r,o,a){return l(),f("div",{style:t.style,class:t.cpClass},null,6)},xt.__file="src/components/VtProgressBar.vue";var Ot=s({name:"VtCloseButton",props:Tt.CLOSE_BUTTON,computed:{buttonComponent:function(){return!1!==this.component?ht(this.component):"button"},classes:function(){var t=[vt+"__close-button"];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}}),Et=y(" × ");Ot.render=function(t,e,n,r,o,a){return l(),f(h(t.buttonComponent),p({"aria-label":t.ariaLabel,class:t.classes},t.$attrs),{default:d((function(){return[Et]})),_:1},16,["aria-label","class"])},Ot.__file="src/components/VtCloseButton.vue";var Ct={},kt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},St=g("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1);Ct.render=function(t,e,n,r,o,a){return l(),f("svg",kt,[St])},Ct.__file="src/components/icons/VtSuccessIcon.vue";var Rt={},At={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},jt=g("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1);Rt.render=function(t,e,n,r,o,a){return l(),f("svg",At,[jt])},Rt.__file="src/components/icons/VtInfoIcon.vue";var Bt={},Vt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},It=g("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Bt.render=function(t,e,n,r,o,a){return l(),f("svg",Vt,[It])},Bt.__file="src/components/icons/VtWarningIcon.vue";var Lt={},Pt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},Dt=g("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Lt.render=function(t,e,n,r,o,a){return l(),f("svg",Pt,[Dt])},Lt.__file="src/components/icons/VtErrorIcon.vue";var Ut=s({name:"VtIcon",props:Tt.ICON,computed:{customIconChildren:function(){return st(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass:function(){return Q(this.customIcon)?this.trimValue(this.customIcon):st(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag:function(){return st(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon:function(){return this.customIconClass.length>0},component:function(){return this.hasCustomIcon?this.customIconTag:at(this.customIcon)?ht(this.customIcon):this.iconTypeComponent},iconTypeComponent:function(){var t;return((t={})[ft.DEFAULT]=Rt,t[ft.INFO]=Rt,t[ft.SUCCESS]=Ct,t[ft.ERROR]=Lt,t[ft.WARNING]=Bt,t)[this.type]},iconClasses:function(){var t=[vt+"__icon"];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue:function(t,e){return void 0===e&&(e=""),tt(t)?t.trim():e}}});Ut.render=function(t,e,n,r,o,a){return l(),f(h(t.component),{class:t.iconClasses},{default:d((function(){return[y(_(t.customIconChildren),1)]})),_:1},8,["class"])},Ut.__file="src/components/VtIcon.vue";var Nt=s({name:"VtToast",components:{ProgressBar:xt,CloseButton:Ot,Icon:Ut},inheritAttrs:!1,props:Object.assign({},Tt.CORE_TOAST,Tt.TOAST),data:function(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes:function(){var t=[vt+"__toast",vt+"__toast--"+this.type,""+this.position].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(vt+"__toast--rtl"),t},bodyClasses:function(){return[vt+"__toast-"+(Q(this.content)?"body":"component-body")].concat(this.bodyClassName)},draggableStyle:function(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:"translateX("+this.dragDelta+"px)",opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta:function(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance:function(){return it(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted:function(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount:function(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{getVueComponentFromObj:ht,closeToast:function(){this.eventBus.emit(pt.DISMISS,this.id)},clickHandler:function(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler:function(){this.closeToast()},hoverPause:function(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay:function(){this.pauseOnHover&&(this.isRunning=!0)},focusPause:function(){this.isRunning=!1},focusPlay:function(){this.isRunning=!0},focusSetup:function(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup:function(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup:function(){var t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup:function(){var t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart:function(t){this.beingDragged=!0,this.dragPos={x:ut(t),y:lt(t)},this.dragStart=ut(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove:function(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:ut(t),y:lt(t)})},onDragEnd:function(){var t=this;this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick((function(){return t.closeToast()}))):setTimeout((function(){t.beingDragged=!1,it(t.dragRect)&&t.pauseOnHover&&t.dragRect.bottom>=t.dragPos.y&&t.dragPos.y>=t.dragRect.top&&t.dragRect.left<=t.dragPos.x&&t.dragPos.x<=t.dragRect.right?t.isRunning=!1:t.isRunning=!0})))}}});Nt.render=function(t,e,n,r,o,a){var i=m("Icon"),s=m("CloseButton"),c=m("ProgressBar");return l(),f("div",{class:t.classes,style:t.draggableStyle,onClick:e[1]||(e[1]=function(){return t.clickHandler.apply(t,arguments)}),onMouseenter:e[2]||(e[2]=function(){return t.hoverPause.apply(t,arguments)}),onMouseleave:e[3]||(e[3]=function(){return t.hoverPlay.apply(t,arguments)})},[t.icon?(l(),f(i,{key:0,"custom-icon":t.icon,type:t.type},null,8,["custom-icon","type"])):v("v-if",!0),g("div",{role:t.accessibility.toastRole||"alert",class:t.bodyClasses},["string"==typeof t.content?(l(),f(b,{key:0},[y(_(t.content),1)],64)):(l(),f(h(t.getVueComponentFromObj(t.content)),p({key:1,"toast-id":t.id},t.content.props,w(t.content.listeners),{onCloseToast:t.closeToast}),null,16,["toast-id","onCloseToast"]))],10,["role"]),t.closeButton?(l(),f(s,{key:1,component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel,onClick:T(t.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):v("v-if",!0),t.timeout?(l(),f(c,{key:2,"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout,onCloseToast:t.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):v("v-if",!0)],38)},Nt.__file="src/components/VtToast.vue";var Mt=s({name:"VtTransition",props:Tt.TRANSITION,emits:["leave"],methods:{leave:function(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.position="absolute"}}});Mt.render=function(t,e,n,r,o,a){return l(),f(x,{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:t.transition+"-enter-active","move-class":t.transition.move?t.transition.move:t.transition+"-move","leave-active-class":t.transition.leave?t.transition.leave:t.transition+"-leave-active",onLeave:t.leave},{default:d((function(){return[C(t.$slots,"default")]})),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])},Mt.__file="src/components/VtTransition.vue";var zt=s({name:"VueToastification",components:{Toast:Nt,VtTransition:Mt},props:Object.assign({},Tt.CORE_TOAST,Tt.CONTAINER,Tt.TRANSITION),data:function(){var t={count:0,positions:Object.values(dt),toasts:{},defaults:{}};return t},computed:{toastArray:function(){return Object.values(this.toasts)},filteredToasts:function(){return this.defaults.filterToasts(this.toastArray)}},beforeMount:function(){var t=this.eventBus;t.on(pt.ADD,this.addToast),t.on(pt.CLEAR,this.clearToasts),t.on(pt.DISMISS,this.dismissToast),t.on(pt.UPDATE,this.updateToast),t.on(pt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted:function(){this.setup(this.container)},methods:{setup:function(t){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!Z(t)){n.next=4;break}return n.next=3,t();case 3:t=n.sent;case 4:r=e.$el,et(r.remove)?r.parentNode&&r.parentNode.removeChild(r):r.remove(),t.appendChild(e.$el);case 6:case"end":return n.stop()}var r}),n)})))()},setToast:function(t){et(t.id)||(this.toasts[t.id]=t)},addToast:function(t){t.content=function(t){if("string"==typeof t)return t;var e=st(t,"props")&&nt(t.props)?t.props:{},n=st(t,"listeners")&&nt(t.listeners)?t.listeners:{};return{component:ht(t),props:e,listeners:n}}(t.content);var e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),n=this.defaults.filterBeforeCreate(e,this.toastArray);n&&this.setToast(n)},dismissToast:function(t){var e=this.toasts[t];et(e)||et(e.onClose)||e.onClose(),delete this.toasts[t]},clearToasts:function(){var t=this;Object.keys(this.toasts).forEach((function(e){t.dismissToast(e)}))},getPositionToasts:function(t){var e=this.filteredToasts.filter((function(e){return e.position===t})).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults:function(t){et(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast:function(t){var e=t.id,n=t.options,r=t.create;this.toasts[e]?(n.timeout&&n.timeout===this.toasts[e].timeout&&n.timeout++,this.setToast(Object.assign({},this.toasts[e],n))):r&&this.addToast(Object.assign({},{id:e},n))},getClasses:function(t){return[vt+"__container",t].concat(this.defaults.containerClassName)}}});zt.render=function(t,e,n,r,o,a){var i=m("Toast"),s=m("VtTransition");return l(),f("div",null,[(l(!0),f(b,null,O(t.positions,(function(e){return l(),f("div",{key:e},[g(s,{transition:t.defaults.transition,class:t.getClasses(e)},{default:d((function(){return[(l(!0),f(b,null,O(t.getPositionToasts(e),(function(t){return l(),f(i,p({key:t.id},t),null,16)})),128))]})),_:2},1032,["transition","class"])])})),128))])},zt.__file="src/components/VtToastContainer.vue";var Ht=function(t,e){void 0===t&&(t={}),void 0===e&&(e=!0);var n=t.eventBus=t.eventBus||new mt;e&&k((function(){var e=S(zt,Object.assign({},t)),n=e.mount(document.createElement("div")),r=t.onMounted;et(r)||r(n,e)}));var r=function(t,e){var r=Object.assign({},{id:ct(),type:ft.DEFAULT},e,{content:t});return n.emit(pt.ADD,r),r.id};return r.clear=function(){return n.emit(pt.CLEAR,void 0)},r.updateDefaults=function(t){n.emit(pt.UPDATE_DEFAULTS,t)},r.dismiss=function(t){n.emit(pt.DISMISS,t)},r.update=function(t,e,r){var o=e.content,a=e.options;void 0===r&&(r=!1);var i=Object.assign({},a,{content:o});n.emit(pt.UPDATE,{id:t,options:i,create:r})},r.success=function(t,e){return r(t,Object.assign({},e,{type:ft.SUCCESS}))},r.info=function(t,e){return r(t,Object.assign({},e,{type:ft.INFO}))},r.error=function(t,e){return r(t,Object.assign({},e,{type:ft.ERROR}))},r.warning=function(t,e){return r(t,Object.assign({},e,{type:ft.WARNING}))},r};function Ft(t){return"undefined"==typeof window?(e=function(){return console.warn("[Vue Toastification] This plugin does not support SSR!")},new Proxy(e,{get:function(){return e}})):(n=t,["on","off","emit"].every((function(t){return st(n,t)&&Z(n[t])}))?Ht({eventBus:t},!1):Ht(t,!0));var e,n}var Gt=Symbol("VueToastification"),Xt=new mt,qt=t("c",(function(t){if(t)return Ft(t);var e=E()?i(Gt):void 0;return e||Ft(Xt)})),Yt="store";function $t(t){return void 0===t&&(t=null),i(null!==t?t:Yt)}var Jt=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function Kt(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}var Wt=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},Zt={namespaced:{configurable:!0}};Zt.namespaced.get=function(){return!!this._rawModule.namespaced},Wt.prototype.addChild=function(t,e){this._children[t]=e},Wt.prototype.removeChild=function(t){delete this._children[t]},Wt.prototype.getChild=function(t){return this._children[t]},Wt.prototype.hasChild=function(t){return t in this._children},Wt.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},Wt.prototype.forEachChild=function(t){Kt(this._children,t)},Wt.prototype.forEachGetter=function(t){this._rawModule.getters&&Kt(this._rawModule.getters,t)},Wt.prototype.forEachAction=function(t){this._rawModule.actions&&Kt(this._rawModule.actions,t)},Wt.prototype.forEachMutation=function(t){this._rawModule.mutations&&Kt(this._rawModule.mutations,t)},Object.defineProperties(Wt.prototype,Zt);var Qt=function(t){this.register([],t,!1)};function te(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;te(t.concat(r),e.getChild(r),n.modules[r])}}Qt.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},Qt.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},Qt.prototype.update=function(t){te([],this.root,t)},Qt.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new Wt(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&Kt(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},Qt.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},Qt.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var ee=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Qt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,i=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return i.call(o,t,e,n)},this.strict=r;var s=this._modules.root.state;ie(this,s,[],this._modules.root),ae(this,s),n.forEach((function(t){return t(e)})),(void 0===t.devtools||t.devtools)&&function(t){Jt&&(t._devtoolHook=Jt,Jt.emit("vuex:init",t),Jt.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){Jt.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){Jt.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},ne={state:{configurable:!0}};function re(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function oe(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ie(t,n,[],t._modules.root,!0),ae(t,n,e)}function ae(t,e,n){var r=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};Kt(o,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return a[n]()},enumerable:!0})})),t._state=A({data:e}),t.strict&&function(t){R((function(){return t._state.data}),(function(){}),{deep:!0,flush:"sync"})}(t),r&&n&&t._withCommit((function(){r.data=null}))}function ie(t,e,n,r,o){var a=!n.length,i=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=r),!a&&!o){var s=se(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){s[c]=r.state}))}var u=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var a=ce(n,r,o),i=a.payload,s=a.options,c=a.type;return s&&s.root||(c=e+c),t.dispatch(c,i)},commit:r?t.commit:function(n,r,o){var a=ce(n,r,o),i=a.payload,s=a.options,c=a.type;s&&s.root||(c=e+c),t.commit(c,i,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var a=o.slice(r);Object.defineProperty(n,a,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return se(t.state,n)}}}),o}(t,i,n);r.forEachMutation((function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,r.state,e)}))}(t,i+n,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:i+n,o=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,a=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,r,o,u)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,i+n,e,u)})),r.forEachChild((function(r,a){ie(t,e,n.concat(a),r,o)}))}function se(t,e){return e.reduce((function(t,e){return t[e]}),t)}function ce(t,e,n){var r;return null!==(r=t)&&"object"==typeof r&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}} -/*! - * vue-router v4.0.4 - * (c) 2021 Eduardo San Martin Morote - * @license MIT - */ee.prototype.install=function(t,e){t.provide(e||Yt,this),t.config.globalProperties.$store=this},ne.state.get=function(){return this._state.data},ne.state.set=function(t){},ee.prototype.commit=function(t,e,n){var r=this,o=ce(t,e,n),a=o.type,i=o.payload,s={type:a,payload:i},c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(i)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},ee.prototype.dispatch=function(t,e){var n=this,r=ce(t,e),o=r.type,a=r.payload,i={type:o,payload:a},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(i,n.state)}))}catch(u){}var c=s.length>1?Promise.all(s.map((function(t){return t(a)}))):s[0](a);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(i,n.state)}))}catch(u){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(i,n.state,t)}))}catch(u){}e(t)}))}))}},ee.prototype.subscribe=function(t,e){return re(t,this._subscribers,e)},ee.prototype.subscribeAction=function(t,e){return re("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},ee.prototype.watch=function(t,e,n){var r=this;return R((function(){return t(r.state,r.getters)}),e,Object.assign({},n))},ee.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},ee.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),ie(this,this.state,t,this._modules.get(t),n.preserveState),ae(this,this.state)},ee.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){delete se(e.state,t.slice(0,-1))[t[t.length-1]]})),oe(this)},ee.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},ee.prototype.hotUpdate=function(t){this._modules.update(t),oe(this,!0)},ee.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(ee.prototype,ne);var ue="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,le=function(t){return ue?Symbol(t):"_vr_"+t},fe=le("rvlm"),de=le("rvd"),pe=le("r"),he=le("rl"),me=le("rvl"),ve="undefined"!=typeof window;var ge=Object.assign;function be(t,e){var n={};for(var r in e){var o=e[r];n[r]=Array.isArray(o)?o.map(t):t(o)}return n}var ye,_e,we=function(){},Te=/\/$/;function xe(t,e,n){void 0===n&&(n="/");var r,o={},a="",i="",s=e.indexOf("?"),c=e.indexOf("#",s>-1?s:0);return s>-1&&(r=e.slice(0,s),o=t(a=e.slice(s+1,c>-1?c:e.length))),c>-1&&(r=r||e.slice(0,c),i=e.slice(c,e.length)),{fullPath:(r=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;var n,r,o=e.split("/"),a=t.split("/"),i=o.length-1;for(n=0;n-1){var a=o.slice(1);return"/"!==a[0]&&(a="/"+a),Oe(a,"")}return Oe(n,t)+r+o}function Ue(t,e,n,r,o){return void 0===r&&(r=!1),void 0===o&&(o=!1),{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?Be():null}}function Ne(t){var e=function(t){var e=window,n=e.history,r=e.location,o={value:De(t,r)},a={value:n.state};function i(e,o,i){var s=t.indexOf("#"),c=s>-1?(r.host&&document.querySelector("base")?t:t.slice(s))+e:Pe()+t+e;try{n[i?"replaceState":"pushState"](o,"",c),a.value=o}catch(u){console.error(u),r[i?"replace":"assign"](c)}}return a.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:o,state:a,push:function(t,e){var r=ge({},a.value,n.state,{forward:t,scroll:Be()});i(r.current,r,!0),i(t,ge({},Ue(o.value,t,null),{position:r.position+1},e),!1),o.value=t},replace:function(t,e){i(t,ge({},n.state,Ue(a.value.back,t,a.value.forward,!0),e,{position:a.value.position}),!0),o.value=t}}}(t=Re(t)),n=function(t,e,n,r){var o=[],a=[],i=null,s=function(a){var s=a.state,c=De(t,location),u=n.value,l=e.value,f=0;if(s){if(n.value=c,e.value=s,i&&i===u)return void(i=null);f=l?s.position-l.position:0}else r(c);o.forEach((function(t){t(n.value,u,{delta:f,type:ye.pop,direction:f?f>0?_e.forward:_e.back:_e.unknown})}))};function c(){var t=window.history;t.state&&t.replaceState(ge({},t.state,{scroll:Be()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:function(){i=n.value},listen:function(t){o.push(t);var e=function(){var e=o.indexOf(t);e>-1&&o.splice(e,1)};return a.push(e),e},destroy:function(){for(var t,e=_createForOfIteratorHelperLoose(a);!(t=e()).done;)(0,t.value)();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}}}(t,e.state,e.location,e.replace);var r=ge({location:"",base:t,go:function(t,e){void 0===e&&(e=!0),e||n.pauseListeners(),history.go(t)},createHref:je.bind(null,t)},e,n);return Object.defineProperty(r,"location",{get:function(){return e.location.value}}),Object.defineProperty(r,"state",{get:function(){return e.state.value}}),r}function Me(t){return"string"==typeof t||"symbol"==typeof t}var ze,He={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fe=le("nf");function Ge(t,e){var n;return ge(new Error,((n={type:t})[Fe]=!0,n),e)}function Xe(t,e){return t instanceof Error&&Fe in t&&(null==e||!!(t.type&e))}!function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"}(ze||(ze={}));var qe="[^/]+?",Ye={sensitive:!1,strict:!1,start:!0,end:!0},$e=/[.+*?^${}()[\]/\\]/g;function Je(t,e){for(var n=0;ne.length?1===e.length&&80===e[0]?1:-1:0}function Ke(t,e){for(var n=0,r=t.score,o=e.score;n1&&("*"===s||"+"===s)&&e("A repeatable param ("+u+") must be alone in its segment. eg: '/:ids+."),n.push({type:1,value:u,regexp:l,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),u="")}function d(){u+=s}for(;c-1&&(n.splice(o,1),t.record.name&&r.delete(t.record.name),t.children.forEach(a),t.alias.forEach(a))}}function i(t){for(var e=0;e=0;)e++;n.splice(e,0,t),t.record.name&&!nn(t)&&r.set(t.record.name,t)}return e=on({strict:!1,end:!0,sensitive:!1},e),t.forEach((function(t){return o(t)})),{addRoute:o,resolve:function(t,e){var o,a,i,s={};if("name"in t&&t.name){if(!(o=r.get(t.name)))throw Ge(1,{location:t});i=o.record.name,s=ge(function(t,e){for(var n,r={},o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;a in t&&(r[a]=t[a])}return r}(e.params,o.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}))),t.params),a=o.stringify(s)}else if("path"in t)a=t.path,(o=n.find((function(t){return t.re.test(a)})))&&(s=o.parse(a),i=o.record.name);else{if(!(o=e.name?r.get(e.name):n.find((function(t){return t.re.test(e.path)}))))throw Ge(1,{location:t,currentLocation:e});i=o.record.name,s=ge({},e.params,t.params),a=o.stringify(s)}for(var c=[],u=o;u;)c.unshift(u.record),u=u.parent;return{name:i,path:a,params:s,matched:c,meta:rn(c)}},removeRoute:a,getRoutes:function(){return n},getRecordMatcher:function(t){return r.get(t)}}}function en(t){var e={},n=t.props||!1;if("component"in t)e.default=n;else for(var r in t.components)e[r]="boolean"==typeof n?n:n[r];return e}function nn(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function rn(t){return t.reduce((function(t,e){return ge(t,e.meta)}),{})}function on(t,e){var n={};for(var r in t)n[r]=r in e?e[r]:t[r];return n}var an=/#/g,sn=/&/g,cn=/\//g,un=/=/g,ln=/\?/g,fn=/\+/g,dn=/%5B/g,pn=/%5D/g,hn=/%5E/g,mn=/%60/g,vn=/%7B/g,gn=/%7C/g,bn=/%7D/g,yn=/%20/g;function _n(t){return encodeURI(""+t).replace(gn,"|").replace(dn,"[").replace(pn,"]")}function wn(t){return _n(t).replace(fn,"%2B").replace(yn,"+").replace(an,"%23").replace(sn,"%26").replace(mn,"`").replace(vn,"{").replace(bn,"}").replace(hn,"^")}function Tn(t){return function(t){return _n(t).replace(an,"%23").replace(ln,"%3F")}(t).replace(cn,"%2F")}function xn(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function On(t){var e={};if(""===t||"?"===t)return e;for(var n=("?"===t[0]?t.slice(1):t).split("&"),r=0;r-1&&t.splice(n,1)}},list:function(){return t},reset:function(){t=[]}}}function Sn(t,e,n,r,o){var a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return function(){return new Promise((function(i,s){var c=function(t){var c;!1===t?s(Ge(4,{from:n,to:e})):t instanceof Error?s(t):"string"==typeof(c=t)||c&&"object"==typeof c?s(Ge(2,{from:e,to:t})):(a&&r.enterCallbacks[o]===a&&"function"==typeof t&&a.push(t),i())},u=t.call(r&&r.instances[o],e,n,c),l=Promise.resolve(u);t.length<3&&(l=l.then(c)),l.catch((function(t){return s(t)}))}))}}function Rn(t,e,n,r){for(var o,a=[],i=function(){var t=o.value,i=function(o){var i,s=t.components[o];if("beforeRouteEnter"!==e&&!t.instances[o])return"continue";if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){var c=(s.__vccOpts||s)[e];c&&a.push(Sn(c,n,r,t,o))}else{var u=s();u=u.catch(console.error),a.push((function(){return u.then((function(a){if(!a)return Promise.reject(new Error("Couldn't resolve component \""+o+'" at "'+t.path+'"'));var i,s=(i=a).__esModule||ue&&"Module"===i[Symbol.toStringTag]?a.default:a;t.components[o]=s;var c=(s.__vccOpts||s)[e];return c&&Sn(c,n,r,t,o)()}))}))}};for(var s in t.components)i(s)},s=_createForOfIteratorHelperLoose(t);!(o=s()).done;)i();return a}function An(t){var e=i(pe),r=i(he),o=n((function(){return e.resolve(u(t.to))})),a=n((function(){var t=o.value.matched,e=t.length,n=t[e-1],a=r.matched;if(!n||!a.length)return-1;var i=a.findIndex(Ee.bind(null,n));if(i>-1)return i;var s=Bn(t[e-2]);return e>1&&Bn(n)===s&&a[a.length-1].path!==s?a.findIndex(Ee.bind(null,t[e-2])):i})),s=n((function(){return a.value>-1&&function(t,e){var n=function(n){var r=e[n],o=t[n];if("string"==typeof r){if(r!==o)return{v:!1}}else if(!Array.isArray(o)||o.length!==r.length||r.some((function(t,e){return t!==o[e]})))return{v:!1}};for(var r in e){var o=n(r);if("object"==typeof o)return o.v}return!0}(r.params,o.value.params)})),c=n((function(){return a.value>-1&&a.value===r.matched.length-1&&Ce(r.params,o.value.params)}));return{route:o,href:n((function(){return o.value.href})),isActive:s,isExactActive:c,navigate:function(n){return void 0===n&&(n={}),function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)?e[u(t.replace)?"replace":"push"](u(t.to)):Promise.resolve()}}}var jn=s({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup:function(t,e){var r=e.slots,o=e.attrs,a=A(An(t)),s=i(pe).options,c=n((function(){var e;return(e={})[Vn(t.activeClass,s.linkActiveClass,"router-link-active")]=a.isActive,e[Vn(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]=a.isExactActive,e}));return function(){var e=r.default&&r.default(a);return t.custom?e:B("a",ge({"aria-current":a.isExactActive?t.ariaCurrentValue:null,onClick:a.navigate,href:a.href},o,{class:c.value}),e)}}});function Bn(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}var Vn=function(t,e,n){return null!=t?t:null!=e?e:n};function In(t,e){if(!t)return null;var n=t(e);return 1===n.length?n[0]:n}var Ln=s({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup:function(t,e){var o=e.attrs,a=e.slots,s=i(me),c=n((function(){return t.route||s.value})),u=i(de,0),l=n((function(){return c.value.matched[u]}));V(de,u+1),V(fe,l),V(me,c);var f=r();return R((function(){return[f.value,l.value,t.name]}),(function(t,e){var n=t[0],r=t[1],o=t[2],a=e[0],i=e[1];e[2];r&&(r.instances[o]=n,i&&i!==r&&n&&n===a&&(r.leaveGuards=i.leaveGuards,r.updateGuards=i.updateGuards)),!n||!r||i&&Ee(r,i)&&a||(r.enterCallbacks[o]||[]).forEach((function(t){return t(n)}))}),{flush:"post"}),function(){var e=c.value,n=l.value,r=n&&n.components[t.name],i=t.name;if(!r)return In(a.default,{Component:r,route:e});var s=n.props[t.name],u=s?!0===s?e.params:"function"==typeof s?s(e):s:null,d=B(r,ge({},u,o,{onVnodeUnmounted:function(t){t.component.isUnmounted&&(n.instances[i]=null)},ref:f}));return In(a.default,{Component:d,route:e})||d}}});function Pn(t){return t.reduce((function(t,e){return t.then((function(){return e()}))}),Promise.resolve())}var Dn=I();L("data-v-3629a0e2");var Un=g("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Nn=g("div",null,[y(" 请点击前往 "),g("strong",null,"Github"),y("交友网站查看源码 ")],-1);P();var Mn=s({expose:[],setup:function(t){var e=function(){window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return Dn((function(t,n){return l(),f("div",{onClick:e},[Un,Nn])}))}});Mn.__scopeId="data-v-3629a0e2";var zn,Hn=t("M",{UPDATE_USER_STORE:"UpdateUserStore",RESET_USER_STORE:"ResetUserStore",UPDATE_CATEGORY_LIST:"UpdateCategoryList"}),Fn=t("A",{GET_AUTHED_USER_INFO:"GetAuthedUserInfo",GET_CATEGORY_LIST:"GetCategoryList"}),Gn=s({expose:[],setup:function(t){var e=$t(),n=qt(),r=i(he);!function(t){t?onBeforeMount((function(){var e;if(document.getElementById(t))console.error("useBaiduInit 无需多次调用",t);else{console.info("useBaiduInit 注册成功",t);var n=document.createElement("script");n.src="https://hm.baidu.com/hm.js?"+t,n.id=t;var r=document.getElementsByTagName("script")[0];null==r||null==(e=r.parentNode)||e.insertBefore(n,r)}})):console.error("useBaiduInit 未检测到百度统计ID",t)}("6b599d2d50ef582710e04da83818e1b0");var o=computed((function(){return r.fullPath}));return W({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted(_asyncToGenerator(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:setTimeout((function(){n.info(Mn,{position:dt.BOTTOM_RIGHT,timeout:3e4})}),2e3),e.dispatch(Fn.GET_AUTHED_USER_INFO),e.dispatch(Fn.GET_CATEGORY_LIST),null==(r=window)||null==(o=r.hljs)||null==o.initHighlightingOnLoad||o.initHighlightingOnLoad();case 4:case"end":return t.stop()}}),t)})))),function(t,e){var n=m("router-view");return l(),f(n,{key:u(o)})}}}),Xn=function(t,e){return t()},qn=[{path:"/",name:"home-page",component:function(){return Xn((function(){return e.import("./index-legacy.55c98de9.js")}))},props:function(t){return{query:t.query}}},{path:"/post/:pid",name:"post-detail",component:function(){return Xn((function(){return e.import("./pid-legacy.a7199190.js")}))},props:function(t){return{pid:+t.params.pid}}},{path:"/users/:uid",name:"user-details",component:function(){return Xn((function(){return e.import("./uid-legacy.08f67ccf.js")}))},props:function(t){return{uid:+t.params.uid}}},{path:"/daily-articles",name:"daily-read",component:function(){return Xn((function(){return e.import("./index-legacy.a10a3530.js")}))},props:function(t){return{query:t.query}}},{path:"/signin",name:"signin",component:function(){return Xn((function(){return e.import("./index-legacy.0f1fb98a.js")}))}},{path:"/about",name:"about",component:function(){return Xn((function(){return e.import("./index-legacy.8d16064a.js")}))}},{path:"/:pathMatch(.*)*",name:"not-found",component:function(){return Xn((function(){return e.import("./index-legacy.df48b921.js")}))}}],Yn=function(t){var e=tn(t.routes,t),r=t.parseQuery||On,o=t.stringifyQuery||En,a=t.history,i=kn(),s=kn(),c=kn(),l=j(He),f=He;ve&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var d,p=be.bind(null,(function(t){return""+t})),h=be.bind(null,Tn),m=be.bind(null,xn);function v(t,n){if(n=ge({},n||l.value),"string"==typeof t){var i=xe(r,t,n.path),s=e.resolve({path:i.path},n),c=a.createHref(i.fullPath);return ge(i,s,{params:m(s.params),hash:xn(i.hash),redirectedFrom:void 0,href:c})}var u;"path"in t?u=ge({},t,{path:xe(r,t.path,n.path).path}):(u=ge({},t,{params:h(t.params)}),n.params=h(n.params));var f=e.resolve(u,n),d=t.hash||"";f.params=p(m(f.params));var v,g=function(t,e){var n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(o,ge({},t,{hash:(v=d,_n(v).replace(vn,"{").replace(bn,"}").replace(hn,"^")),path:f.path})),b=a.createHref(g);return ge({fullPath:g,hash:d,query:o===En?Cn(t.query):t.query},f,{redirectedFrom:void 0,href:b})}function g(t){return"string"==typeof t?xe(r,t,l.value.path):ge({},t)}function b(t,e){if(f!==t)return Ge(8,{from:e,to:t})}function y(t){return w(t)}function _(t){var e=t.matched[t.matched.length-1];if(e&&e.redirect){var n=e.redirect,r="function"==typeof n?n(t):n;return"string"==typeof r&&(r=r.indexOf("?")>-1||r.indexOf("#")>-1?r=g(r):{path:r}),ge({query:t.query,hash:t.hash,params:t.params},r)}}function w(t,e){var n=f=v(t),r=l.value,a=t.state,i=t.force,s=!0===t.replace,c=_(n);if(c)return w(ge(g(c),{state:a,force:i,replace:s}),e||n);var u,d=n;return d.redirectedFrom=e,!i&&function(t,e,n){var r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ee(e.matched[r],n.matched[o])&&Ce(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(o,r,n)&&(u=Ge(16,{to:d,from:r}),L(r,r,!0,!1)),(u?Promise.resolve(u):x(d,r)).catch((function(t){return Xe(t)?t:V(t)})).then((function(t){if(t){if(Xe(t,2))return w(ge(g(t.to),{state:a,force:i,replace:s}),e||d)}else t=E(d,r,!0,s,a);return O(d,r,t),t}))}function T(t,e){var n=b(t,e);return n?Promise.reject(n):Promise.resolve()}function x(t,e){var n,r=function(t,e){for(var n=[],r=[],o=[],a=Math.max(e.matched.length,t.matched.length),i=0;i=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}(a.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:r,config:t,request:a};!function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(lr("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}(e,n,o),a=null}},a.onabort=function(){a&&(n(lr("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){n(lr("Network Error",t,null,a)),a=null},a.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(lr(e,t,"ECONNABORTED",a)),a=null},nr.isStandardBrowserEnv()){var f=(t.withCredentials||pr(l))&&t.xsrfCookieName?fr.read(t.xsrfCookieName):void 0;f&&(o[t.xsrfHeaderName]=f)}if("setRequestHeader"in a&&nr.forEach(o,(function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete o[e]:a.setRequestHeader(e,t)})),nr.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),t.responseType)try{a.responseType=t.responseType}catch(d){if("json"!==t.responseType)throw d}"function"==typeof t.onDownloadProgress&&a.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){a&&(a.abort(),n(t),a=null)})),r||(r=null),a.send(r)}))},mr={"Content-Type":"application/x-www-form-urlencoded"};function vr(t,e){!nr.isUndefined(t)&&nr.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var gr,br={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(gr=hr),gr),transformRequest:[function(t,e){return ur(e,"Accept"),ur(e,"Content-Type"),nr.isFormData(t)||nr.isArrayBuffer(t)||nr.isBuffer(t)||nr.isStream(t)||nr.isFile(t)||nr.isBlob(t)?t:nr.isArrayBufferView(t)?t.buffer:nr.isURLSearchParams(t)?(vr(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):nr.isObject(t)?(vr(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};br.headers={common:{Accept:"application/json, text/plain, */*"}},nr.forEach(["delete","get","head"],(function(t){br.headers[t]={}})),nr.forEach(["post","put","patch"],(function(t){br.headers[t]=nr.merge(mr)}));var yr=br;function _r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var wr=function(t){return _r(t),t.headers=t.headers||{},t.data=sr(t.data,t.headers,t.transformRequest),t.headers=nr.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),nr.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||yr.adapter)(t).then((function(e){return _r(t),e.data=sr(e.data,e.headers,t.transformResponse),e}),(function(e){return cr(e)||(_r(t),e&&e.response&&(e.response.data=sr(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},Tr=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function s(t,e){return nr.isPlainObject(t)&&nr.isPlainObject(e)?nr.merge(t,e):nr.isPlainObject(e)?nr.merge({},e):nr.isArray(e)?e.slice():e}function c(r){nr.isUndefined(e[r])?nr.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(t[r],e[r])}nr.forEach(r,(function(t){nr.isUndefined(e[t])||(n[t]=s(void 0,e[t]))})),nr.forEach(o,c),nr.forEach(a,(function(r){nr.isUndefined(e[r])?nr.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(void 0,e[r])})),nr.forEach(i,(function(r){r in e?n[r]=s(t[r],e[r]):r in t&&(n[r]=s(void 0,t[r]))}));var u=r.concat(o).concat(a).concat(i),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return nr.forEach(l,c),n};function xr(t){this.defaults=t,this.interceptors={request:new ir,response:new ir}}xr.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=Tr(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[wr,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},xr.prototype.getUri=function(t){return t=Tr(this.defaults,t),or(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},nr.forEach(["delete","get","head","options"],(function(t){xr.prototype[t]=function(e,n){return this.request(Tr(n||{},{method:t,url:e,data:(n||{}).data}))}})),nr.forEach(["post","put","patch"],(function(t){xr.prototype[t]=function(e,n,r){return this.request(Tr(r||{},{method:t,url:e,data:n}))}}));var Or=xr;function Er(t){this.message=t}Er.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Er.prototype.__CANCEL__=!0;var Cr=Er;function kr(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 Cr(t),e(n.reason))}))}kr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},kr.source=function(){var t;return{token:new kr((function(e){t=e})),cancel:t}};var Sr=kr;function Rr(t){var e=new Or(t),n=$n(Or.prototype.request,e);return nr.extend(n,Or.prototype,e),nr.extend(n,e),n}var Ar=Rr(yr);Ar.Axios=Or,Ar.create=function(t){return Rr(Tr(Ar.defaults,t))},Ar.Cancel=Cr,Ar.CancelToken=Sr,Ar.isCancel=cr,Ar.all=function(t){return Promise.all(t)},Ar.spread=function(t){return function(e){return t.apply(null,e)}},Ar.isAxiosError=function(t){return"object"==typeof t&&!0===t.isAxiosError};var jr=Ar,Br=Ar;jr.default=Br;var Vr=jr,Ir="HAPPY_USER_TOKEN",Lr=D((function(t,e){var n;n=function(){function t(){for(var t=0,e={};te.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合",x=c();m("data-v-7f7d81da");const U={class:"signin-container"},A={class:"signin-main"},N={class:"signin-title"},R=t("div",null,"嘿;-) 好巧在这里遇到您.",-1),$=d(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 "),E=t("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1),I={class:"signin-form"},_={class:"form-account"},z={key:0},V={class:"summary"},j=d(" 注册一下不会有任何损失,甚至会变得更加 "),T=t("del",null,"沙雕",-1),Z=d(" 快乐。 ");p();var B=e({expose:[],setup(e){const c=f(),m=y(),p=k(),B=ref(""),D=ref(""),F=ref(""),G=ref(!1),M=computed((()=>m.User.Id));watch(B,(e=>{e.trim()&&g({type:"loginName",value:e.trim()}).then((e=>{1000005===e.Result?G.value=!1:G.value=!0}))}));const O=async()=>{const e=C(B.value.trim());if(e)return void c.error(e);const a=await b({type:"loginName",value:B.value.trim(),password:F.value.trim()});if((null==a?void 0:a.ErrorCode)||!(null==a?void 0:a.Result))return void c.error(`${a.ErrorCode} ${a.ErrorMsg}`);const s=a.Result.Token,l=a.Result.TokenAvailableDays;w(s,l),m.GetAuthedUserInfo(),c.success(`欢迎 ${null==a?void 0:a.Result.UserInfo.Nickname} 前来观光`,{onClose(){p.back()}})},P=async()=>{const e=C(B.value.trim());if(e)return void c.error(e);(await h({type:"loginName",value:B.value.trim(),password:F.value.trim(),nickname:D.value.trim()})).ErrorCode||c.success(`注册成功,即将自动登录~ ${B.value}`,{onClose(){O()}})};return x(((e,c)=>{const m=a("router-link");return s(),l("div",U,[t("div",A,[t("div",N,[R,t("div",null,[t(m,{to:"/"},{default:x((()=>[$])),_:1})])]),E,t("div",I,[t("div",_,[n(t("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":c[1]||(c[1]=e=>B.value=e),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[o,B.value,void 0,{trim:!0}]])]),G.value?(s(),l("div",z,[n(t("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":c[2]||(c[2]=e=>D.value=e),placeholder:"用户昵称"},null,512),[[o,D.value,void 0,{trim:!0}]])])):i("",!0),t("div",null,[n(t("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":c[3]||(c[3]=e=>F.value=e),placeholder:"登录密码"},null,512),[[o,F.value,void 0,{trim:!0}]])]),t("div",null,[G.value?(s(),l("button",{key:0,type:"button",class:"btn-login-register",onClick:P}," 立即注册 ")):(s(),l("button",{key:1,type:"button",class:"btn-login-register",onClick:O}," 立即登录 "))])]),t("div",V,[j,T,Z,r(M)?(s(),l(u,{key:0},[d("很少有人让我心动 但你是第"+v(r(M))+"个。",1)],64)):i("",!0)])])])}))}});B.__scopeId="data-v-7f7d81da";export default B; diff --git a/assets/index.0dd62910.js b/assets/index.0dd62910.js deleted file mode 100644 index 6fd12bf..0000000 --- a/assets/index.0dd62910.js +++ /dev/null @@ -1 +0,0 @@ -import{b as a,a as e}from"./index.6d51bcce.js";import{d as s,a as d,b as t,j as n,l as o,E as l,G as r,H as v}from"./vendor.8d059d2b.js";const u=l();r("data-v-ad037df8");const c={class:"not-found"},i={class:"x-mian"},f=n("div",null,"你所寻找的页面不在服务区~",-1);v();var p=s({expose:[],setup(s){const l=a(),r=ref(5);let v;return e({title:"404 not found"}),onMounted((()=>{v=setInterval((()=>{r.value=r.value-1,r.value<=0&&l.replace("/")}),1e3)})),onUnmounted((()=>{clearInterval(v)})),u(((a,e)=>(d(),t("div",c,[n("div",i,[f,n("div",null,o(r.value)+"秒后返回主页",1)])]))))}});p.__scopeId="data-v-ad037df8";export default p; diff --git a/assets/index.146225bc.js b/assets/index.146225bc.js new file mode 100644 index 0000000..dfa4b26 --- /dev/null +++ b/assets/index.146225bc.js @@ -0,0 +1 @@ +import{c as e,h as a,a as t}from"./index.7b8df9f4.js";import{_ as l}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{k as n,x as r,n as u,p as d,z as i,u as o,B as s,y as v,N as c,O as p,P as m}from"./vendor.18b3a30d.js";const f=c();p("data-v-750295de");const g={key:0},y={class:"article-title"},x={class:"article-nav-container"},R={class:"article-nav"};m();var h=n({expose:[],props:{query:{type:Object}},setup(n){var c;const p=n,m=e(),{data:h,loading:_}=a(null==(c=p.query)?void 0:c.date),j=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.title})),$=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.author})),b=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.content})),k=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.date.prev}));return t({title:computed((()=>{var e,a;return`每日阅读 - ${null==(e=h.value.Result)?void 0:e.title} - ${null==(a=h.value.Result)?void 0:a.author}`})),meta:[{name:"description",content:computed((()=>{var e;return`${null==(e=h.value.Result)?void 0:e.digest}`}))}]}),watch((()=>h.value.ErrorMsg),(e=>{e&&m.warning(e)})),f(((e,a)=>{const t=r("LoadingBall"),n=r("router-link");return u(),d(l,null,{default:f((()=>[i(t,{loading:o(_),padding:"30vh 0",infoSize:"18px",info:"努力加载中"},null,8,["loading"]),o(_)?v("",!0):(u(),d("main",g,[i("h1",y,s(o(j)),1),i("div",null,"作者:"+s(o($)),1),i("div",{class:"article-container",innerHTML:o(b)},null,8,["innerHTML"]),i("div",x,[i("div",R,[i(n,{to:`/daily-articles?date=${o(k)}`},{default:f((()=>[i("a",null,"查看"+s(o(k))+"的文章",1)])),_:1},8,["to"])])])]))])),_:1})}))}});h.__scopeId="data-v-750295de";export default h; diff --git a/assets/index.d2f0ecfb.js b/assets/index.24cabceb.js similarity index 88% rename from assets/index.d2f0ecfb.js rename to assets/index.24cabceb.js index ef2d098..f1ecfe4 100644 --- a/assets/index.d2f0ecfb.js +++ b/assets/index.24cabceb.js @@ -1 +1 @@ -import{_ as l}from"./index.vue_vue&type=style&index=0&lang.2e9c245a.js";import{d as t,a as e,b as n,E as o,G as a,j as u,k as s,H as r}from"./vendor.8d059d2b.js";import"./index.6d51bcce.js";const p=o();a("data-v-23ebcad1");const i=u("div",{class:"about-container"},[u("h1",{class:"about-title"},"关于本站"),u("div",{class:"about-item-container"},[u("h2",null,"技术相关"),u("p",null,[s(" 本站是 "),u("a",{href:"https://happysooner.com"},"happysooner.com"),s(" 的Vue复刻版。 ")]),u("p",null," 这是一个前端采用 Vue 全家桶,后端使用微服务架构搭建的网站。 "),u("p",null,[s(" 代码存贮于 "),u("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"}," Github"),s(" 拥有完整的 "),u("a",{href:"https://mp.weixin.qq.com/s/bJtO5Y54XIB8qfJR6ownyg",target:"_blank"},"Github Action"),s(" 自动化构建部署流程 。 ")]),u("p",null,[s(" 大致架构图: "),u("img",{src:"https://cdn.gelonghui.com/ad/96660-6bfe1023-cc1c-4928-a192-ca2f1773c028.png"})]),u("p",null," 前端: Vite 2.0、 Vue 3.0 、 Vuex 4.0 、 Vue-Router 4.0、TypeScript@latest、Vue@next "),u("p",null,"后端: Golang、Go-Micro、MySQL、NSQ、Consul"),u("p",null,[s(" 运行环境: "),u("del",null,"Docker Swarm"),s(" 已迁移到k8s、Portainer、Nginx、Let's Encrypt、 "),u("a",{href:"https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=hsupvlb8",target:"_blank"},"阿里云🇭🇰轻量服务器(推广)")]),u("p",null,[s(" 第三方服务: "),u("a",{href:"https://www.googlefonts.cn/",rel:"nofollow"},"谷歌字体库"),s(" 、 "),u("a",{href:"https://sentry.io/",rel:"nofollow"},"Sentry日志监控"),s(" 、 "),u("a",{href:"https://github.com/features/actions",rel:"nofollow"},"Github Action"),s(" 、 "),u("a",{href:"https://www.iconfont.cn",rel:"nofollow"},"阿里矢量图标库")]),u("p",null," 由于网站部署于 香港、深圳、上海 三节点组成的 k8s 集群, 用户的请求会被分散到各个服务器, 访问速度不可避免的会出现差异。同时, 网站使用 Redis 对页面进行了 30分钟 的缓存, 更新可能会存在不及时的情况。 ")]),u("div",{class:"about-item-container"},[u("h2",null,"作者信息"),u("p",null,"昵称: 远浅"),u("p",null,"职业: Web/前端开发工程师"),u("p",null,"坐标: 广东深圳"),u("p",null,"家乡: 湖南衡阳"),u("p",null," 爱好: 写好代码,睡个好觉,看看动画,打打羽毛球,四处闲逛。 "),u("p",null,[s(" 社交: "),u("a",{href:"//github.com/unliar",target:"_blank",rel:"nofollow"},"Github"),s(" 、 "),u("a",{href:"https://twitter.com/lzt224",target:"_blank",rel:"nofollow"},"Twitter")]),u("p",null,[s(" 邮箱: "),u("a",{href:"mailto:i@happysooner.com"},"i@happysooner.com")]),u("p",null,"简历: 不给看"),u("p",null,[s(" 梦想: "),u("del",null,"世界和平,这个世界因为有我的存在,而有一点点的不同。"),s(" 算了,还是多赚钱点零花钱。 ")])]),u("div",{class:"about-item-container"},[u("h2",null,"本站愿景"),u("p",null," 让这个网站成为远浅 Web 开发的实验田,用来更新自己的技术栈。 "),u("p",null,"这就是它存在的所有意义。"),u("p",null," 本站所写的文章大部分都是为了存档和自娱自乐, 不可作为准确的学习资料, 请知悉其中存在的风险。 ")])],-1);r();var c=t({expose:[],setup:t=>p(((t,o)=>(e(),n(l,null,{default:p((()=>[i])),_:1}))))});c.__scopeId="data-v-23ebcad1";export default c; +import{_ as l}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{k as t,n as e,p as n,N as o,O as a,z as u,A as s,P as p}from"./vendor.18b3a30d.js";import"./index.7b8df9f4.js";const r=o();a("data-v-23ebcad1");const i=u("div",{class:"about-container"},[u("h1",{class:"about-title"},"关于本站"),u("div",{class:"about-item-container"},[u("h2",null,"技术相关"),u("p",null,[s(" 本站是 "),u("a",{href:"https://happysooner.com"},"happysooner.com"),s(" 的Vue复刻版。 ")]),u("p",null," 这是一个前端采用 Vue 全家桶,后端使用微服务架构搭建的网站。 "),u("p",null,[s(" 代码存贮于 "),u("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"}," Github"),s(" 拥有完整的 "),u("a",{href:"https://mp.weixin.qq.com/s/bJtO5Y54XIB8qfJR6ownyg",target:"_blank"},"Github Action"),s(" 自动化构建部署流程 。 ")]),u("p",null,[s(" 大致架构图: "),u("img",{src:"https://cdn.gelonghui.com/ad/96660-6bfe1023-cc1c-4928-a192-ca2f1773c028.png"})]),u("p",null," 前端: Vite 2.0、 Vue 3.0 、 Vuex 4.0 、 Vue-Router 4.0、TypeScript@latest、Vue@next "),u("p",null,"后端: Golang、Go-Micro、MySQL、NSQ、Consul"),u("p",null,[s(" 运行环境: "),u("del",null,"Docker Swarm"),s(" 已迁移到k8s、Portainer、Nginx、Let's Encrypt、 "),u("a",{href:"https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=hsupvlb8",target:"_blank"},"阿里云🇭🇰轻量服务器(推广)")]),u("p",null,[s(" 第三方服务: "),u("a",{href:"https://www.googlefonts.cn/",rel:"nofollow"},"谷歌字体库"),s(" 、 "),u("a",{href:"https://sentry.io/",rel:"nofollow"},"Sentry日志监控"),s(" 、 "),u("a",{href:"https://github.com/features/actions",rel:"nofollow"},"Github Action"),s(" 、 "),u("a",{href:"https://www.iconfont.cn",rel:"nofollow"},"阿里矢量图标库")]),u("p",null," 由于网站部署于 香港、深圳、上海 三节点组成的 k8s 集群, 用户的请求会被分散到各个服务器, 访问速度不可避免的会出现差异。同时, 网站使用 Redis 对页面进行了 30分钟 的缓存, 更新可能会存在不及时的情况。 ")]),u("div",{class:"about-item-container"},[u("h2",null,"作者信息"),u("p",null,"昵称: 远浅"),u("p",null,"职业: Web/前端开发工程师"),u("p",null,"坐标: 广东深圳"),u("p",null,"家乡: 湖南衡阳"),u("p",null," 爱好: 写好代码,睡个好觉,看看动画,打打羽毛球,四处闲逛。 "),u("p",null,[s(" 社交: "),u("a",{href:"//github.com/unliar",target:"_blank",rel:"nofollow"},"Github"),s(" 、 "),u("a",{href:"https://twitter.com/lzt224",target:"_blank",rel:"nofollow"},"Twitter")]),u("p",null,[s(" 邮箱: "),u("a",{href:"mailto:i@happysooner.com"},"i@happysooner.com")]),u("p",null,"简历: 不给看"),u("p",null,[s(" 梦想: "),u("del",null,"世界和平,这个世界因为有我的存在,而有一点点的不同。"),s(" 算了,还是多赚钱点零花钱。 ")])]),u("div",{class:"about-item-container"},[u("h2",null,"本站愿景"),u("p",null," 让这个网站成为远浅 Web 开发的实验田,用来更新自己的技术栈。 "),u("p",null,"这就是它存在的所有意义。"),u("p",null," 本站所写的文章大部分都是为了存档和自娱自乐, 不可作为准确的学习资料, 请知悉其中存在的风险。 ")])],-1);p();var c=t({expose:[],setup:t=>r(((t,o)=>(e(),n(l,null,{default:r((()=>[i])),_:1}))))});c.__scopeId="data-v-23ebcad1";export default c; diff --git a/assets/index.48b6cbd9.js b/assets/index.48b6cbd9.js deleted file mode 100644 index 68fb987..0000000 --- a/assets/index.48b6cbd9.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,g as a,a as t,b as s,j as l,v as o,F as n,q as d,k as r,l as i,u as c,E as u,G as y,H as g,T as p,h as v}from"./vendor.8d059d2b.js";import{u as f,a as m,G as _}from"./index.6d51bcce.js";import{_ as q}from"./index.vue_vue&type=style&index=0&lang.2e9c245a.js";import{_ as b}from"./SimpleInfoItem.1430404a.js";import"./time.2aac0ac0.js";const k=u();y("data-v-cdd6b77a");const I={class:"content-layout-container"},j={class:"content-layout-child-container"},P={class:"content-layout-widget-container"},x={class:"widget-category"},L=l("div",{class:"category-title"},"目录分类",-1),$={class:"category-list"};g();var O=e({expose:[],setup(e){const u=f(),y=computed((()=>u.state.Article.CategoryList));return k(((e,u)=>{const g=a("router-link");return t(),s("div",I,[l("div",j,[o(e.$slots,"default")]),l("div",P,[l("div",x,[L,l("ul",$,[(t(!0),s(n,null,d(c(y),(e=>(t(),s("li",{class:"category-item",key:e.Id},[l(g,{to:`/?CategoryID=${e.Id}`},{default:k((()=>[r(i(e.CN),1)])),_:2},1032,["to"])])))),128))])])])])}))}});O.__scopeId="data-v-cdd6b77a";const T=u();y("data-v-422f221b");const h={key:0,class:"page-navi"},w=r("上一页"),C=r("下一页");g();var A=e({expose:[],props:{query:{type:Object}},setup(e){const o=e,r=reactive({List:[],q:o.query||{},loading:!1});m({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"});return onMounted((async()=>{var e,a;await(a=null!=(e=o.query)?e:{},r.loading=!0,r.List=[],_(a).then((e=>{var a,t;r.List=[...null!=(t=null==(a=e.Result)?void 0:a.Articles)?t:[]]})).finally((()=>{r.loading=!1})))})),T(((e,o)=>{const i=a("router-link");return t(),s(q,null,{default:T((()=>[l(O,null,{default:T((()=>[l(p,{name:"list"},{default:T((()=>[(t(!0),s(n,null,d(r.List,(e=>(t(),s(b,{key:e.Id,info:e},null,8,["info"])))),128))])),_:1}),r.loading?v("",!0):(t(),s("div",h,[r.q.Page&&r.q.Page>=2?(t(),s(i,{key:0,to:`/?Page=${r.q.Page-1}&OrderType=${r.q.OrderType||"desc"}`},{default:T((()=>[w])),_:1},8,["to"])):v("",!0),15==r.List.length?(t(),s(i,{key:1,to:`/?Page=${r.q.Page?+r.q.Page+1:2}&OrderType=${r.q.OrderType||"desc"}`},{default:T((()=>[C])),_:1},8,["to"])):v("",!0)]))])),_:1})])),_:1})}))}});A.__scopeId="data-v-422f221b";export default A; diff --git a/assets/index.48f528b8.js b/assets/index.48f528b8.js deleted file mode 100644 index 0ff5112..0000000 --- a/assets/index.48f528b8.js +++ /dev/null @@ -1 +0,0 @@ -import{c as e,h as a,a as t}from"./index.6d51bcce.js";import{_ as l}from"./index.vue_vue&type=style&index=0&lang.2e9c245a.js";import{d as n,g as r,a as u,b as d,j as i,u as o,l as s,h as v,E as c,G as p,H as m}from"./vendor.8d059d2b.js";const g=c();p("data-v-750295de");const f={key:0},h={class:"article-title"},y={class:"article-nav-container"},R={class:"article-nav"};m();var x=n({expose:[],props:{query:{type:Object}},setup(n){var c;const p=n,m=e(),{data:x,loading:_}=a(null==(c=p.query)?void 0:c.date),j=computed((()=>{var e;return null==(e=x.value.Result)?void 0:e.title})),b=computed((()=>{var e;return null==(e=x.value.Result)?void 0:e.author})),$=computed((()=>{var e;return null==(e=x.value.Result)?void 0:e.content})),H=computed((()=>{var e;return null==(e=x.value.Result)?void 0:e.date.prev}));return t({title:computed((()=>{var e,a;return`每日阅读 - ${null==(e=x.value.Result)?void 0:e.title} - ${null==(a=x.value.Result)?void 0:a.author}`})),meta:[{name:"description",content:computed((()=>{var e;return`${null==(e=x.value.Result)?void 0:e.digest}`}))}]}),watch((()=>x.value.ErrorMsg),(e=>{e&&m.warning(e)})),g(((e,a)=>{const t=r("LoadingBall"),n=r("router-link");return u(),d(l,null,{default:g((()=>[i(t,{loading:o(_),padding:"30vh 0",infoSize:"18px",info:"努力加载中"},null,8,["loading"]),o(_)?v("",!0):(u(),d("main",f,[i("h1",h,s(o(j)),1),i("div",null,"作者:"+s(o(b)),1),i("div",{class:"article-container",innerHTML:o($)},null,8,["innerHTML"]),i("div",y,[i("div",R,[i(n,{to:`/daily-articles?date=${o(H)}`},{default:g((()=>[i("a",null,"查看"+s(o(H))+"的文章",1)])),_:1},8,["to"])])])]))])),_:1})}))}});x.__scopeId="data-v-750295de";export default x; diff --git a/assets/index.6d51bcce.js b/assets/index.6d51bcce.js deleted file mode 100644 index 822dfa6..0000000 --- a/assets/index.6d51bcce.js +++ /dev/null @@ -1,14 +0,0 @@ -var t=Object.assign;import{c as e,r as n,w as o,o as r,i as s,d as a,t as i,u as c,a as u,b as l,e as f,m as d,f as p,g as h,h as m,j as g,F as v,k as y,l as b,n as E,p as _,T as w,q as O,s as C,v as T,x as S,y as R,z as A,A as x,B as P,C as j,D as L,E as D,G as B,H as k,I,J as U,K as N}from"./vendor.8d059d2b.js";!function(t=".",e="__import__"){try{self[e]=new Function("u","return import(u)")}catch(n){const o=new URL(t,location),r=t=>{URL.revokeObjectURL(t.src),t.remove()};self[e]=t=>new Promise(((n,s)=>{const a=new URL(t,o);if(self[e].moduleMap[a])return n(self[e].moduleMap[a]);const i=new Blob([`import * as m from '${a}';`,`${e}.moduleMap['${a}']=m;`],{type:"text/javascript"}),c=Object.assign(document.createElement("script"),{type:"module",src:URL.createObjectURL(i),onerror(){s(new Error(`Failed to import: ${t}`)),r(c)},onload(){n(self[e].moduleMap[a]),r(c)}});document.head.appendChild(c)})),self[e].moduleMap={}}}("https:/unliar.github.io/vue3-ts-happysooner-web/assets/");var M=(t,e,n)=>{const o=n.createElement(t);for(const r of Object.keys(e)){let t=e[r];"key"!==r&&!1!==t&&("children"===r?o.textContent=t:o.setAttribute(r,t))}return o},$=["title","meta","link","base","style","script","htmlAttrs","bodyAttrs"],H=e=>{const n=[];for(const o of Object.keys(e))if("title"===o)n.push({tag:o,props:{children:e[o]}});else if("base"===o)n.push({tag:o,props:t({key:"default"},e[o])});else if($.includes(o)){const t=e[o];Array.isArray(t)?t.forEach((t=>{n.push({tag:o,props:t})})):t&&n.push({tag:o,props:t})}return n},F=(t,e)=>{const n=t.getAttribute("data-head-attrs");if(n)for(const r of n.split(","))t.removeAttribute(r);const o=Object.keys(e);for(const r of o){const n=e[r];!1===n?t.removeAttribute(r):t.setAttribute(r,n)}t.setAttribute("data-head-attrs",o.join(","))},V="undefined"!=typeof window,q=t=>{const a="function"==typeof t?e(t):n(t),i=(()=>{const t=s("_vue_use_head_");if(!t)throw new Error("You may forget to apply app.use(head)");return t})();if(V){let t;o((()=>{t&&i.removeHeadTags(t),t=H(a.value),i.addHeadTags(t),i.updateDOM()})),r((()=>{t&&(i.removeHeadTags(t),i.updateDOM())}))}else i.addHeadTags(H(a.value))};const G=t=>"function"==typeof t,z=t=>"string"==typeof t,Y=t=>z(t)&&t.trim().length>0,K=t=>void 0===t,X=t=>"object"==typeof t&&null!==t,W=t=>window.TouchEvent&&t instanceof TouchEvent,J=t=>tt(t,"component")&&Q(t.component),Q=t=>{return!K(t)&&(z(t)||(G(e=t)||X(e))||J(t));var e},Z=t=>X(t)&&["height","width","right","left","top","bottom"].every((e=>"number"==typeof t[e])),tt=(t,e)=>(X(t)||G(t))&&e in t,et=(nt=0,()=>nt++);var nt;function ot(t){return W(t)?t.targetTouches[0].clientX:t.clientX}function rt(t){return W(t)?t.targetTouches[0].clientY:t.clientY}const st=t=>J(t)?st(t.component):(t=>tt(t,"tag")&&Y(t.tag))(t)?a({render:()=>t}):"string"==typeof t?t:i(c(t));class at{constructor(){this.allHandlers={}}getHandlers(t){return this.allHandlers[t]||[]}on(t,e){const n=this.getHandlers(t);n.push(e),this.allHandlers[t]=n}off(t,e){const n=this.getHandlers(t);n.splice(n.indexOf(e)>>>0,1)}emit(t,e){this.getHandlers(t).forEach((t=>t(e)))}}var it,ct,ut,lt,ft,dt;(ct=it||(it={})).SUCCESS="success",ct.ERROR="error",ct.WARNING="warning",ct.INFO="info",ct.DEFAULT="default",(lt=ut||(ut={})).TOP_LEFT="top-left",lt.TOP_CENTER="top-center",lt.TOP_RIGHT="top-right",lt.BOTTOM_LEFT="bottom-left",lt.BOTTOM_CENTER="bottom-center",lt.BOTTOM_RIGHT="bottom-right",(dt=ft||(ft={})).ADD="add",dt.DISMISS="dismiss",dt.UPDATE="update",dt.CLEAR="clear",dt.UPDATE_DEFAULTS="update_defaults";const pt="Vue-Toastification",ht={type:{type:String,default:it.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},mt={type:ht.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},gt={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:ht.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},vt={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},yt={transition:{type:[Object,String],default:`${pt}__bounce`}};var bt={CORE_TOAST:{position:{type:String,default:ut.TOP_RIGHT},draggable:ht.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:ht.trueBoolean,pauseOnHover:ht.trueBoolean,closeOnClick:ht.trueBoolean,timeout:vt.timeout,hideProgressBar:vt.hideProgressBar,toastClassName:ht.classNames,bodyClassName:ht.classNames,icon:mt.customIcon,closeButton:gt.component,closeButtonClassName:gt.classNames,showCloseButtonOnHover:gt.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!0,default:new at}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:ht.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:()=>{}},onClose:{type:Function,default:()=>{}}},CONTAINER:{container:{type:[Object,Function],default:()=>document.body},newestOnTop:ht.trueBoolean,maxToasts:{type:Number,default:20},transition:yt.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:t=>t},filterToasts:{type:Function,default:t=>t},containerClassName:ht.classNames,onMounted:Function},PROGRESS_BAR:vt,ICON:mt,TRANSITION:yt,CLOSE_BUTTON:gt},Et=a({name:"VtProgressBar",props:bt.PROGRESS_BAR,data:()=>({hasClass:!0}),computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${pt}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick((()=>this.hasClass=!0))}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});Et.render=function(t,e,n,o,r,s){return u(),l("div",{style:t.style,class:t.cpClass},null,6)},Et.__file="src/components/VtProgressBar.vue";var _t=a({name:"VtCloseButton",props:bt.CLOSE_BUTTON,computed:{buttonComponent(){return!1!==this.component?st(this.component):"button"},classes(){const t=[`${pt}__close-button`];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}});const wt=y(" × ");_t.render=function(t,e,n,o,r,s){return u(),l(p(t.buttonComponent),d({"aria-label":t.ariaLabel,class:t.classes},t.$attrs),{default:f((()=>[wt])),_:1},16,["aria-label","class"])},_t.__file="src/components/VtCloseButton.vue";var Ot={};const Ct={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Tt=g("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1);Ot.render=function(t,e,n,o,r,s){return u(),l("svg",Ct,[Tt])},Ot.__file="src/components/icons/VtSuccessIcon.vue";var St={};const Rt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},At=g("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1);St.render=function(t,e,n,o,r,s){return u(),l("svg",Rt,[At])},St.__file="src/components/icons/VtInfoIcon.vue";var xt={};const Pt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},jt=g("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);xt.render=function(t,e,n,o,r,s){return u(),l("svg",Pt,[jt])},xt.__file="src/components/icons/VtWarningIcon.vue";var Lt={};const Dt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},Bt=g("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Lt.render=function(t,e,n,o,r,s){return u(),l("svg",Dt,[Bt])},Lt.__file="src/components/icons/VtErrorIcon.vue";var kt=a({name:"VtIcon",props:bt.ICON,computed:{customIconChildren(){return tt(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return z(this.customIcon)?this.trimValue(this.customIcon):tt(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return tt(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:Q(this.customIcon)?st(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[it.DEFAULT]:St,[it.INFO]:St,[it.SUCCESS]:Ot,[it.ERROR]:Lt,[it.WARNING]:xt}[this.type]},iconClasses(){const t=[`${pt}__icon`];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue:(t,e="")=>Y(t)?t.trim():e}});kt.render=function(t,e,n,o,r,s){return u(),l(p(t.component),{class:t.iconClasses},{default:f((()=>[y(b(t.customIconChildren),1)])),_:1},8,["class"])},kt.__file="src/components/VtIcon.vue";var It=a({name:"VtToast",components:{ProgressBar:Et,CloseButton:_t,Icon:kt},inheritAttrs:!1,props:Object.assign({},bt.CORE_TOAST,bt.TOAST),data:()=>({isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}),computed:{classes(){const t=[`${pt}__toast`,`${pt}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(`${pt}__toast--rtl`),t},bodyClasses(){return[`${pt}__toast-${z(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return Z(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{getVueComponentFromObj:st,closeToast(){this.eventBus.emit(ft.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(t){this.beingDragged=!0,this.dragPos={x:ot(t),y:rt(t)},this.dragStart=ot(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:ot(t),y:rt(t)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick((()=>this.closeToast()))):setTimeout((()=>{this.beingDragged=!1,Z(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0})))}}});It.render=function(t,e,n,o,r,s){const a=h("Icon"),i=h("CloseButton"),c=h("ProgressBar");return u(),l("div",{class:t.classes,style:t.draggableStyle,onClick:e[1]||(e[1]=(...e)=>t.clickHandler(...e)),onMouseenter:e[2]||(e[2]=(...e)=>t.hoverPause(...e)),onMouseleave:e[3]||(e[3]=(...e)=>t.hoverPlay(...e))},[t.icon?(u(),l(a,{key:0,"custom-icon":t.icon,type:t.type},null,8,["custom-icon","type"])):m("v-if",!0),g("div",{role:t.accessibility.toastRole||"alert",class:t.bodyClasses},["string"==typeof t.content?(u(),l(v,{key:0},[y(b(t.content),1)],64)):(u(),l(p(t.getVueComponentFromObj(t.content)),d({key:1,"toast-id":t.id},t.content.props,E(t.content.listeners),{onCloseToast:t.closeToast}),null,16,["toast-id","onCloseToast"]))],10,["role"]),t.closeButton?(u(),l(i,{key:1,component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel,onClick:_(t.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):m("v-if",!0),t.timeout?(u(),l(c,{key:2,"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout,onCloseToast:t.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):m("v-if",!0)],38)},It.__file="src/components/VtToast.vue";var Ut=a({name:"VtTransition",props:bt.TRANSITION,emits:["leave"],methods:{leave(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.position="absolute"}}});Ut.render=function(t,e,n,o,r,s){return u(),l(w,{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:`${t.transition}-enter-active`,"move-class":t.transition.move?t.transition.move:`${t.transition}-move`,"leave-active-class":t.transition.leave?t.transition.leave:`${t.transition}-leave-active`,onLeave:t.leave},{default:f((()=>[T(t.$slots,"default")])),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])},Ut.__file="src/components/VtTransition.vue";var Nt=a({name:"VueToastification",components:{Toast:It,VtTransition:Ut},props:Object.assign({},bt.CORE_TOAST,bt.CONTAINER,bt.TRANSITION),data:()=>({count:0,positions:Object.values(ut),toasts:{},defaults:{}}),computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const t=this.eventBus;t.on(ft.ADD,this.addToast),t.on(ft.CLEAR,this.clearToasts),t.on(ft.DISMISS,this.dismissToast),t.on(ft.UPDATE,this.updateToast),t.on(ft.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(t){var e;G(t)&&(t=await t()),e=this.$el,K(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove(),t.appendChild(this.$el)},setToast(t){K(t.id)||(this.toasts[t.id]=t)},addToast(t){t.content=(t=>{if("string"==typeof t)return t;const e=tt(t,"props")&&X(t.props)?t.props:{},n=tt(t,"listeners")&&X(t.listeners)?t.listeners:{};return{component:st(t),props:e,listeners:n}})(t.content);const e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),n=this.defaults.filterBeforeCreate(e,this.toastArray);n&&this.setToast(n)},dismissToast(t){const e=this.toasts[t];K(e)||K(e.onClose)||e.onClose(),delete this.toasts[t]},clearToasts(){Object.keys(this.toasts).forEach((t=>{this.dismissToast(t)}))},getPositionToasts(t){const e=this.filteredToasts.filter((e=>e.position===t)).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults(t){K(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast({id:t,options:e,create:n}){this.toasts[t]?(e.timeout&&e.timeout===this.toasts[t].timeout&&e.timeout++,this.setToast(Object.assign({},this.toasts[t],e))):n&&this.addToast(Object.assign({},{id:t},e))},getClasses(t){return[`${pt}__container`,t].concat(this.defaults.containerClassName)}}});Nt.render=function(t,e,n,o,r,s){const a=h("Toast"),i=h("VtTransition");return u(),l("div",null,[(u(!0),l(v,null,O(t.positions,(e=>(u(),l("div",{key:e},[g(i,{transition:t.defaults.transition,class:t.getClasses(e)},{default:f((()=>[(u(!0),l(v,null,O(t.getPositionToasts(e),(t=>(u(),l(a,d({key:t.id},t),null,16)))),128))])),_:2},1032,["transition","class"])])))),128))])},Nt.__file="src/components/VtToastContainer.vue";const Mt=(t={},e=!0)=>{const n=t.eventBus=t.eventBus||new at;e&&S((()=>{const e=R(Nt,Object.assign({},t)),n=e.mount(document.createElement("div")),o=t.onMounted;K(o)||o(n,e)}));const o=(t,e)=>{const o=Object.assign({},{id:et(),type:it.DEFAULT},e,{content:t});return n.emit(ft.ADD,o),o.id};return o.clear=()=>n.emit(ft.CLEAR,void 0),o.updateDefaults=t=>{n.emit(ft.UPDATE_DEFAULTS,t)},o.dismiss=t=>{n.emit(ft.DISMISS,t)},o.update=function(t,{content:e,options:o},r=!1){const s=Object.assign({},o,{content:e});n.emit(ft.UPDATE,{id:t,options:s,create:r})},o.success=(t,e)=>o(t,Object.assign({},e,{type:it.SUCCESS})),o.info=(t,e)=>o(t,Object.assign({},e,{type:it.INFO})),o.error=(t,e)=>o(t,Object.assign({},e,{type:it.ERROR})),o.warning=(t,e)=>o(t,Object.assign({},e,{type:it.WARNING})),o};function $t(t){return"undefined"==typeof window?(()=>{const t=()=>console.warn("[Vue Toastification] This plugin does not support SSR!");return new Proxy(t,{get:()=>t})})():(e=t,["on","off","emit"].every((t=>tt(e,t)&&G(e[t])))?Mt({eventBus:t},!1):Mt(t,!0));var e}const Ht=Symbol("VueToastification"),Ft=new at,Vt=t=>{if(t)return $t(t);const e=C()?s(Ht):void 0;return e||$t(Ft)};function qt(t){return void 0===t&&(t=null),s(null!==t?t:"store")}var Gt=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function zt(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}var Yt=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},Kt={namespaced:{configurable:!0}};Kt.namespaced.get=function(){return!!this._rawModule.namespaced},Yt.prototype.addChild=function(t,e){this._children[t]=e},Yt.prototype.removeChild=function(t){delete this._children[t]},Yt.prototype.getChild=function(t){return this._children[t]},Yt.prototype.hasChild=function(t){return t in this._children},Yt.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},Yt.prototype.forEachChild=function(t){zt(this._children,t)},Yt.prototype.forEachGetter=function(t){this._rawModule.getters&&zt(this._rawModule.getters,t)},Yt.prototype.forEachAction=function(t){this._rawModule.actions&&zt(this._rawModule.actions,t)},Yt.prototype.forEachMutation=function(t){this._rawModule.mutations&&zt(this._rawModule.mutations,t)},Object.defineProperties(Yt.prototype,Kt);var Xt=function(t){this.register([],t,!1)};function Wt(t,e,n){if(e.update(n),n.modules)for(var o in n.modules){if(!e.getChild(o))return;Wt(t.concat(o),e.getChild(o),n.modules[o])}}Xt.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},Xt.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},Xt.prototype.update=function(t){Wt([],this.root,t)},Xt.prototype.register=function(t,e,n){var o=this;void 0===n&&(n=!0);var r=new Yt(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&zt(e.modules,(function(e,r){o.register(t.concat(r),e,n)}))},Xt.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],o=e.getChild(n);o&&o.runtime&&e.removeChild(n)},Xt.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var Jt=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Xt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null);var r=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,n){return a.call(r,t,e,n)},this.strict=o;var i=this._modules.root.state;ne(this,i,[],this._modules.root),ee(this,i),n.forEach((function(t){return t(e)})),(void 0===t.devtools||t.devtools)&&function(t){Gt&&(t._devtoolHook=Gt,Gt.emit("vuex:init",t),Gt.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){Gt.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){Gt.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},Qt={state:{configurable:!0}};function Zt(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function te(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ne(t,n,[],t._modules.root,!0),ee(t,n,e)}function ee(t,e,n){var o=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,s={};zt(r,(function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return s[n]()},enumerable:!0})})),t._state=x({data:e}),t.strict&&function(t){A((function(){return t._state.data}),(function(){}),{deep:!0,flush:"sync"})}(t),o&&n&&t._withCommit((function(){o.data=null}))}function ne(t,e,n,o,r){var s=!n.length,a=t._modules.getNamespace(n);if(o.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=o),!s&&!r){var i=oe(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){i[c]=o.state}))}var u=o.context=function(t,e,n){var o=""===e,r={dispatch:o?t.dispatch:function(n,o,r){var s=re(n,o,r),a=s.payload,i=s.options,c=s.type;return i&&i.root||(c=e+c),t.dispatch(c,a)},commit:o?t.commit:function(n,o,r){var s=re(n,o,r),a=s.payload,i=s.options,c=s.type;i&&i.root||(c=e+c),t.commit(c,a,i)}};return Object.defineProperties(r,{getters:{get:o?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},o=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,o)===e){var s=r.slice(o);Object.defineProperty(n,s,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return oe(t.state,n)}}}),r}(t,a,n);o.forEachMutation((function(e,n){!function(t,e,n,o){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,o.state,e)}))}(t,a+n,e,u)})),o.forEachAction((function(e,n){var o=e.root?n:a+n,r=e.handler||e;!function(t,e,n,o){(t._actions[e]||(t._actions[e]=[])).push((function(e){var r,s=n.call(t,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:t.getters,rootState:t.state},e);return(r=s)&&"function"==typeof r.then||(s=Promise.resolve(s)),t._devtoolHook?s.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):s}))}(t,o,r,u)})),o.forEachGetter((function(e,n){!function(t,e,n,o){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(o.state,o.getters,t.state,t.getters)}}(t,a+n,e,u)})),o.forEachChild((function(o,s){ne(t,e,n.concat(s),o,r)}))}function oe(t,e){return e.reduce((function(t,e){return t[e]}),t)}function re(t,e,n){var o;return null!==(o=t)&&"object"==typeof o&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}} -/*! - * vue-router v4.0.4 - * (c) 2021 Eduardo San Martin Morote - * @license MIT - */Jt.prototype.install=function(t,e){t.provide(e||"store",this),t.config.globalProperties.$store=this},Qt.state.get=function(){return this._state.data},Qt.state.set=function(t){},Jt.prototype.commit=function(t,e,n){var o=this,r=re(t,e,n),s=r.type,a=r.payload,i={type:s,payload:a},c=this._mutations[s];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(i,o.state)})))},Jt.prototype.dispatch=function(t,e){var n=this,o=re(t,e),r=o.type,s=o.payload,a={type:r,payload:s},i=this._actions[r];if(i){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){}var c=i.length>1?Promise.all(i.map((function(t){return t(s)}))):i[0](s);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){}e(t)}))}))}},Jt.prototype.subscribe=function(t,e){return Zt(t,this._subscribers,e)},Jt.prototype.subscribeAction=function(t,e){return Zt("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},Jt.prototype.watch=function(t,e,n){var o=this;return A((function(){return t(o.state,o.getters)}),e,Object.assign({},n))},Jt.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},Jt.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),ne(this,this.state,t,this._modules.get(t),n.preserveState),ee(this,this.state)},Jt.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){delete oe(e.state,t.slice(0,-1))[t[t.length-1]]})),te(this)},Jt.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},Jt.prototype.hotUpdate=function(t){this._modules.update(t),te(this,!0)},Jt.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(Jt.prototype,Qt);const se="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,ae=t=>se?Symbol(t):"_vr_"+t,ie=ae("rvlm"),ce=ae("rvd"),ue=ae("r"),le=ae("rl"),fe=ae("rvl"),de="undefined"!=typeof window;const pe=Object.assign;function he(t,e){const n={};for(const o in e){const r=e[o];n[o]=Array.isArray(r)?r.map(t):t(r)}return n}let me=()=>{};const ge=/\/$/;function ve(t,e,n="/"){let o,r={},s="",a="";const i=e.indexOf("?"),c=e.indexOf("#",i>-1?i:0);return i>-1&&(o=e.slice(0,i),s=e.slice(i+1,c>-1?c:e.length),r=t(s)),c>-1&&(o=o||e.slice(0,c),a=e.slice(c,e.length)),o=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),o=t.split("/");let r,s,a=n.length-1;for(r=0;rt===e[n])):1===t.length&&t[0]===e}var Oe,Ce,Te,Se;function Re(t){if(!t)if(de){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(ge,"")}(Ce=Oe||(Oe={})).pop="pop",Ce.push="push",(Se=Te||(Te={})).back="back",Se.forward="forward",Se.unknown="";const Ae=/^[^#]+#/;function xe(t,e){return t.replace(Ae,"#")+e}const Pe=()=>({left:window.pageXOffset,top:window.pageYOffset});function je(t){let e;if("el"in t){let n=t.el;const o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:e.behavior,left:o.left-n.left-(e.left||0),top:o.top-n.top-(e.top||0)}}(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function Le(t,e){return(history.state?history.state.position-e:-1)+t}const De=new Map;function Be(t,e){const{pathname:n,search:o,hash:r}=e;if(t.indexOf("#")>-1){let t=r.slice(1);return"/"!==t[0]&&(t="/"+t),ye(t,"")}return ye(n,t)+o+r}function ke(t,e,n,o=!1,r=!1){return{back:t,current:e,forward:n,replaced:o,position:window.history.length,scroll:r?Pe():null}}function Ie(t){const{history:e,location:n}=window;let o={value:Be(t,n)},r={value:e.state};function s(o,s,a){const i=t.indexOf("#"),c=i>-1?(n.host&&document.querySelector("base")?t:t.slice(i))+o:location.protocol+"//"+location.host+t+o;try{e[a?"replaceState":"pushState"](s,"",c),r.value=s}catch(u){console.error(u),n[a?"replace":"assign"](c)}}return r.value||s(o.value,{back:null,current:o.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(t,n){const a=pe({},r.value,e.state,{forward:t,scroll:Pe()});s(a.current,a,!0),s(t,pe({},ke(o.value,t,null),{position:a.position+1},n),!1),o.value=t},replace:function(t,n){s(t,pe({},e.state,ke(r.value.back,t,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=t}}}function Ue(t){const e=Ie(t=Re(t)),n=function(t,e,n,o){let r=[],s=[],a=null;const i=({state:s})=>{const i=Be(t,location),c=n.value,u=e.value;let l=0;if(s){if(n.value=i,e.value=s,a&&a===c)return void(a=null);l=u?s.position-u.position:0}else o(i);r.forEach((t=>{t(n.value,c,{delta:l,type:Oe.pop,direction:l?l>0?Te.forward:Te.back:Te.unknown})}))};function c(){const{history:t}=window;t.state&&t.replaceState(pe({},t.state,{scroll:Pe()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",c),{pauseListeners:function(){a=n.value},listen:function(t){r.push(t);const e=()=>{const e=r.indexOf(t);e>-1&&r.splice(e,1)};return s.push(e),e},destroy:function(){for(const t of s)t();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",c)}}}(t,e.state,e.location,e.replace);const o=pe({location:"",base:t,go:function(t,e=!0){e||n.pauseListeners(),history.go(t)},createHref:xe.bind(null,t)},e,n);return Object.defineProperty(o,"location",{get:()=>e.location.value}),Object.defineProperty(o,"state",{get:()=>e.state.value}),o}function Ne(t){return"string"==typeof t||"symbol"==typeof t}const Me={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},$e=ae("nf");var He,Fe;function Ve(t,e){return pe(new Error,{type:t,[$e]:!0},e)}function qe(t,e){return t instanceof Error&&$e in t&&(null==e||!!(t.type&e))}(Fe=He||(He={}))[Fe.aborted=4]="aborted",Fe[Fe.cancelled=8]="cancelled",Fe[Fe.duplicated=16]="duplicated";const Ge={sensitive:!1,strict:!1,start:!0,end:!0},ze=/[.+*?^${}()[\]/\\]/g;function Ye(t,e){let n=0;for(;ne.length?1===e.length&&80===e[0]?1:-1:0}function Ke(t,e){let n=0;const o=t.score,r=e.score;for(;n1&&("*"===i||"+"===i)&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):e("Invalid state to consume buffer"),u="")}function d(){u+=i}for(;c{s(d)}:me}function s(t){if(Ne(t)){const e=o.get(t);e&&(o.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{let e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&o.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function a(t){let e=0;for(;e=0;)e++;n.splice(e,0,t),t.record.name&&!tn(t)&&o.set(t.record.name,t)}return e=nn({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>r(t))),{addRoute:r,resolve:function(t,e){let r,s,a,i={};if("name"in t&&t.name){if(r=o.get(t.name),!r)throw Ve(1,{location:t});a=r.record.name,i=pe(function(t,e){let n={};for(let o of e)o in t&&(n[o]=t[o]);return n}(e.params,r.keys.filter((t=>!t.optional)).map((t=>t.name))),t.params),s=r.stringify(i)}else if("path"in t)s=t.path,r=n.find((t=>t.re.test(s))),r&&(i=r.parse(s),a=r.record.name);else{if(r=e.name?o.get(e.name):n.find((t=>t.re.test(e.path))),!r)throw Ve(1,{location:t,currentLocation:e});a=r.record.name,i=pe({},e.params,t.params),s=r.stringify(i)}const c=[];let u=r;for(;u;)c.unshift(u.record),u=u.parent;return{name:a,path:s,params:i,matched:c,meta:en(c)}},removeRoute:s,getRoutes:function(){return n},getRecordMatcher:function(t){return o.get(t)}}}function Ze(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(let o in t.components)e[o]="boolean"==typeof n?n:n[o];return e}function tn(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function en(t){return t.reduce(((t,e)=>pe(t,e.meta)),{})}function nn(t,e){let n={};for(let o in t)n[o]=o in e?e[o]:t[o];return n}const on=/#/g,rn=/&/g,sn=/\//g,an=/=/g,cn=/\?/g,un=/\+/g,ln=/%5B/g,fn=/%5D/g,dn=/%5E/g,pn=/%60/g,hn=/%7B/g,mn=/%7C/g,gn=/%7D/g,vn=/%20/g;function yn(t){return encodeURI(""+t).replace(mn,"|").replace(ln,"[").replace(fn,"]")}function bn(t){return yn(t).replace(un,"%2B").replace(vn,"+").replace(on,"%23").replace(rn,"%26").replace(pn,"`").replace(hn,"{").replace(gn,"}").replace(dn,"^")}function En(t){return function(t){return yn(t).replace(on,"%23").replace(cn,"%3F")}(t).replace(sn,"%2F")}function _n(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function wn(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let o=0;ot&&bn(t))):[o&&bn(o)];for(let t=0;tnull==t?null:""+t)):null==o?o:""+o)}return e}function Tn(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t,reset:function(){t=[]}}}function Sn(t,e,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,i)=>{const c=t=>{var c;!1===t?i(Ve(4,{from:n,to:e})):t instanceof Error?i(t):"string"==typeof(c=t)||c&&"object"==typeof c?i(Ve(2,{from:e,to:t})):(s&&o.enterCallbacks[r]===s&&"function"==typeof t&&s.push(t),a())},u=t.call(o&&o.instances[r],e,n,c);let l=Promise.resolve(u);t.length<3&&(l=l.then(c)),l.catch((t=>i(t)))}))}function Rn(t,e,n,o){const r=[];for(const a of t)for(const t in a.components){let i=a.components[t];if("beforeRouteEnter"===e||a.instances[t])if("object"==typeof(s=i)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(i.__vccOpts||i)[e];s&&r.push(Sn(s,n,o,a,t))}else{let s=i();s=s.catch(console.error),r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${a.path}"`));const s=(i=r).__esModule||se&&"Module"===i[Symbol.toStringTag]?r.default:r;var i;a.components[t]=s;const c=(s.__vccOpts||s)[e];return c&&Sn(c,n,o,a,t)()}))))}}var s;return r}function An(t){const n=s(ue),o=s(le),r=e((()=>n.resolve(c(t.to)))),a=e((()=>{let{matched:t}=r.value,{length:e}=t;const n=t[e-1];let s=o.matched;if(!n||!s.length)return-1;let a=s.findIndex(be.bind(null,n));if(a>-1)return a;let i=Pn(t[e-2]);return e>1&&Pn(n)===i&&s[s.length-1].path!==i?s.findIndex(be.bind(null,t[e-2])):a})),i=e((()=>a.value>-1&&function(t,e){for(let n in e){let o=e[n],r=t[n];if("string"==typeof o){if(o!==r)return!1}else if(!Array.isArray(r)||r.length!==o.length||o.some(((t,e)=>t!==r[e])))return!1}return!0}(o.params,r.value.params))),u=e((()=>a.value>-1&&a.value===o.matched.length-1&&Ee(o.params,r.value.params)));return{route:r,href:e((()=>r.value.href)),isActive:i,isExactActive:u,navigate:function(e={}){return function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(e)?n[c(t.replace)?"replace":"push"](c(t.to)):Promise.resolve()}}}const xn=a({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup(t,{slots:n,attrs:o}){const r=x(An(t)),{options:a}=s(ue),i=e((()=>({[jn(t.activeClass,a.linkActiveClass,"router-link-active")]:r.isActive,[jn(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive})));return()=>{const e=n.default&&n.default(r);return t.custom?e:j("a",pe({"aria-current":r.isExactActive?t.ariaCurrentValue:null,onClick:r.navigate,href:r.href},o,{class:i.value}),e)}}});function Pn(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const jn=(t,e,n)=>null!=t?t:null!=e?e:n;function Ln(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const Dn=a({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(t,{attrs:o,slots:r}){const a=s(fe),i=e((()=>t.route||a.value)),c=s(ce,0),u=e((()=>i.value.matched[c]));L(ce,c+1),L(ie,u),L(fe,i);const l=n();return A((()=>[l.value,u.value,t.name]),(([t,e,n],[o,r,s])=>{e&&(e.instances[n]=t,r&&r!==e&&t&&t===o&&(e.leaveGuards=r.leaveGuards,e.updateGuards=r.updateGuards)),!t||!e||r&&be(e,r)&&o||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const e=i.value,n=u.value,s=n&&n.components[t.name],a=t.name;if(!s)return Ln(r.default,{Component:s,route:e});const c=n.props[t.name],f=c?!0===c?e.params:"function"==typeof c?c(e):c:null,d=j(s,pe({},f,o,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(n.instances[a]=null)},ref:l}));return Ln(r.default,{Component:d,route:e})||d}}});function Bn(t){return t.reduce(((t,e)=>t.then((()=>e()))),Promise.resolve())}function kn(){return s(ue)}const In=D();B("data-v-3629a0e2");const Un=g("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Nn=g("div",null,[y(" 请点击前往 "),g("strong",null,"Github"),y("交友网站查看源码 ")],-1);k();var Mn=a({expose:[],setup(t){const e=()=>{window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return In(((t,n)=>(u(),l("div",{onClick:e},[Un,Nn]))))}});Mn.__scopeId="data-v-3629a0e2";const $n={UPDATE_USER_STORE:"UpdateUserStore",RESET_USER_STORE:"ResetUserStore",UPDATE_CATEGORY_LIST:"UpdateCategoryList"},Hn={GET_AUTHED_USER_INFO:"GetAuthedUserInfo",GET_CATEGORY_LIST:"GetCategoryList"};var Fn=a({expose:[],setup(t){const e=qt(),n=Vt(),o=s(le);(t=>{t?onBeforeMount((()=>{var e;if(document.getElementById(t))return void console.error("useBaiduInit 无需多次调用",t);console.info("useBaiduInit 注册成功",t);const n=document.createElement("script");n.src=`https://hm.baidu.com/hm.js?${t}`,n.id=t;var o=document.getElementsByTagName("script")[0];null==(e=null==o?void 0:o.parentNode)||e.insertBefore(n,o)})):console.error("useBaiduInit 未检测到百度统计ID",t)})("6b599d2d50ef582710e04da83818e1b0");const r=computed((()=>o.fullPath));return q({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted((async()=>{var t,o;setTimeout((()=>{n.info(Mn,{position:ut.BOTTOM_RIGHT,timeout:3e4})}),2e3),e.dispatch(Hn.GET_AUTHED_USER_INFO),e.dispatch(Hn.GET_CATEGORY_LIST),null==(o=null==(t=null==window?void 0:window.hljs)?void 0:t.initHighlightingOnLoad)||o.call(t)})),(t,e)=>{const n=h("router-view");return u(),l(n,{key:c(r)})}}});let Vn;const qn={},Gn=function(t,e){if(!e)return t();if(void 0===Vn){const t=document.createElement("link").relList;Vn=t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(e.map((t=>{if(t in qn)return;qn[t]=!0;const e=t.endsWith(".css"),n=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${n}`))return;const o=document.createElement("link");return o.rel=e?"stylesheet":Vn,e||(o.as="script",o.crossOrigin=""),o.href=t,document.head.appendChild(o),e?new Promise(((t,e)=>{o.addEventListener("load",t),o.addEventListener("error",e)})):void 0}))).then((()=>t()))},zn=[{path:"/",name:"home-page",component:()=>Gn((()=>__import__("./index.48b6cbd9.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.48b6cbd9.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.e421bd7e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.8d059d2b.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.1430404a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.2aac0ac0.js"]),props:t=>({query:t.query})},{path:"/post/:pid",name:"post-detail",component:()=>Gn((()=>__import__("./pid.89523e4f.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.89523e4f.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.b25a421b.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.8d059d2b.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.2aac0ac0.js"]),props:t=>({pid:+t.params.pid})},{path:"/users/:uid",name:"user-details",component:()=>Gn((()=>__import__("./uid.8ec6235c.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.8ec6235c.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.c6a0df4e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.8d059d2b.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.1430404a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.2aac0ac0.js"]),props:t=>({uid:+t.params.uid})},{path:"/daily-articles",name:"daily-read",component:()=>Gn((()=>__import__("./index.48f528b8.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.48f528b8.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.69f30477.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.8d059d2b.js"]),props:t=>({query:t.query})},{path:"/signin",name:"signin",component:()=>Gn((()=>__import__("./index.d086ce17.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.d086ce17.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.f51f598c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.8d059d2b.js"])},{path:"/about",name:"about",component:()=>Gn((()=>__import__("./index.d2f0ecfb.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.d2f0ecfb.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.6e083b63.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.8d059d2b.js"])},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>Gn((()=>__import__("./index.0dd62910.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.0dd62910.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.39204bc0.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.8d059d2b.js"])}],Yn=function(t){const n=Qe(t.routes,t);let o=t.parseQuery||wn,r=t.stringifyQuery||On,s=t.history;const a=Tn(),i=Tn(),u=Tn(),l=P(Me);let f=Me;de&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=he.bind(null,(t=>""+t)),p=he.bind(null,En),h=he.bind(null,_n);function m(t,e){if(e=pe({},e||l.value),"string"==typeof t){let r=ve(o,t,e.path),a=n.resolve({path:r.path},e),i=s.createHref(r.fullPath);return pe(r,a,{params:h(a.params),hash:_n(r.hash),redirectedFrom:void 0,href:i})}let a;"path"in t?a=pe({},t,{path:ve(o,t.path,e.path).path}):(a=pe({},t,{params:p(t.params)}),e.params=p(e.params));let i=n.resolve(a,e);const c=t.hash||"";i.params=d(h(i.params));const u=function(t,e){let n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(r,pe({},t,{hash:(f=c,yn(f).replace(hn,"{").replace(gn,"}").replace(dn,"^")),path:i.path}));var f;let m=s.createHref(u);return pe({fullPath:u,hash:c,query:r===On?Cn(t.query):t.query},i,{redirectedFrom:void 0,href:m})}function g(t){return"string"==typeof t?ve(o,t,l.value.path):pe({},t)}function v(t,e){if(f!==t)return Ve(8,{from:e,to:t})}function y(t){return E(t)}function b(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let o="function"==typeof n?n(t):n;return"string"==typeof o&&(o=o.indexOf("?")>-1||o.indexOf("#")>-1?o=g(o):{path:o}),pe({query:t.query,hash:t.hash,params:t.params},o)}}function E(t,e){const n=f=m(t),o=l.value,s=t.state,a=t.force,i=!0===t.replace,c=b(n);if(c)return E(pe(g(c),{state:s,force:a,replace:i}),e||n);const u=n;let d;return u.redirectedFrom=e,!a&&function(t,e,n){let o=e.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&be(e.matched[o],n.matched[r])&&Ee(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(r,o,n)&&(d=Ve(16,{to:u,from:o}),k(o,o,!0,!1)),(d?Promise.resolve(d):w(u,o)).catch((t=>qe(t)?t:D(t))).then((t=>{if(t){if(qe(t,2))return E(pe(g(t.to),{state:s,force:a,replace:i}),e||u)}else t=C(u,o,!0,i,s);return O(u,o,t),t}))}function _(t,e){const n=v(t,e);return n?Promise.reject(n):Promise.resolve()}function w(t,e){let n;const[o,r,s]=function(t,e){const n=[],o=[],r=[],s=Math.max(e.matched.length,t.matched.length);for(let a=0;a{n.push(Sn(o,t,e))}));const c=_.bind(null,t,e);return n.push(c),Bn(n).then((()=>{n=[];for(const o of a.list())n.push(Sn(o,t,e));return n.push(c),Bn(n)})).then((()=>{n=Rn(r,"beforeRouteUpdate",t,e);for(const o of r)o.updateGuards.forEach((o=>{n.push(Sn(o,t,e))}));return n.push(c),Bn(n)})).then((()=>{n=[];for(const o of t.matched)if(o.beforeEnter&&e.matched.indexOf(o)<0)if(Array.isArray(o.beforeEnter))for(const r of o.beforeEnter)n.push(Sn(r,t,e));else n.push(Sn(o.beforeEnter,t,e));return n.push(c),Bn(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Rn(s,"beforeRouteEnter",t,e),n.push(c),Bn(n)))).then((()=>{n=[];for(const o of i.list())n.push(Sn(o,t,e));return n.push(c),Bn(n)})).catch((t=>qe(t,8)?t:Promise.reject(t)))}function O(t,e,n){for(const o of u.list())o(t,e,n)}function C(t,e,n,o,r){const a=v(t,e);if(a)return a;const i=e===Me,c=de?history.state:{};n&&(o||i?s.replace(t.fullPath,pe({scroll:i&&c&&c.scroll},r)):s.push(t.fullPath,r)),l.value=t,k(t,e,n,i),B()}let T;function R(){T=s.listen(((t,e,n)=>{let o=m(t);const r=b(o);if(r)return void E(pe(r,{replace:!0}),o).catch(me);f=o;const a=l.value;var i,c;de&&(i=Le(a.fullPath,n.delta),c=Pe(),De.set(i,c)),w(o,a).catch((t=>qe(t,12)?t:qe(t,2)?(E(t.to,o).catch(me),Promise.reject()):(n.delta&&s.go(-n.delta,!1),D(t)))).then((t=>{(t=t||C(o,a,!1))&&n.delta&&s.go(-n.delta,!1),O(o,a,t)})).catch(me)}))}let A,j=Tn(),L=Tn();function D(t){return B(t),L.list().forEach((e=>e(t))),Promise.reject(t)}function B(t){A||(A=!0,R(),j.list().forEach((([e,n])=>t?n(t):e())),j.reset())}function k(e,n,o,r){const{scrollBehavior:s}=t;if(!de||!s)return Promise.resolve();let a=!o&&function(t){const e=De.get(t);return De.delete(t),e}(Le(e.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return S().then((()=>s(e,n,a))).then((t=>t&&je(t))).catch(D)}const I=t=>s.go(t);let U;const N=new Set;return{currentRoute:l,addRoute:function(t,e){let o,r;return Ne(t)?(o=n.getRecordMatcher(t),r=e):r=t,n.addRoute(r,o)},removeRoute:function(t){let e=n.getRecordMatcher(t);e&&n.removeRoute(e)},hasRoute:function(t){return!!n.getRecordMatcher(t)},getRoutes:function(){return n.getRoutes().map((t=>t.record))},resolve:m,options:t,push:y,replace:function(t){return y(pe(g(t),{replace:!0}))},go:I,back:()=>I(-1),forward:()=>I(1),beforeEach:a.add,beforeResolve:i.add,afterEach:u.add,onError:L.add,isReady:function(){return A&&l.value!==Me?Promise.resolve():new Promise(((t,e)=>{j.add([t,e])}))},install(t){t.component("RouterLink",xn),t.component("RouterView",Dn),t.config.globalProperties.$router=this,Object.defineProperty(t.config.globalProperties,"$route",{get:()=>c(l)}),de&&!U&&l.value===Me&&(U=!0,y(s.location).catch((t=>{})));const n={};for(let r in Me)n[r]=e((()=>l.value[r]));t.provide(ue,this),t.provide(le,x(n)),t.provide(fe,l);let o=t.unmount;N.add(t),t.unmount=function(){N.delete(t),N.size<1&&(T(),l.value=Me,U=!1,A=!1),o.call(this,arguments)}}}}({history:((Kn=location.host?Kn||location.pathname+location.search:"").indexOf("#")<0&&(Kn+="#"),Ue(Kn)),routes:zn,scrollBehavior:(t,e,n)=>n||(t.hash?{el:t.hash,behavior:"smooth"}:{left:0,top:0})});var Kn,Xn=function(t,e){return function(){for(var n=new Array(arguments.length),o=0;o=0)return;r[e]="set-cookie"===e?(r[e]?r[e]:[]).concat([n]):r[e]?r[e]+", "+n:n}})),r):r}(s.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:o,config:t,request:s};!function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(fo("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}(e,n,r),s=null}},s.onabort=function(){s&&(n(fo("Request aborted",t,"ECONNABORTED",s)),s=null)},s.onerror=function(){n(fo("Network Error",t,null,s)),s=null},s.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(fo(e,t,"ECONNABORTED",s)),s=null},oo.isStandardBrowserEnv()){var f=(t.withCredentials||mo(l))&&t.xsrfCookieName?po.read(t.xsrfCookieName):void 0;f&&(r[t.xsrfHeaderName]=f)}if("setRequestHeader"in s&&oo.forEach(r,(function(t,e){void 0===o&&"content-type"===e.toLowerCase()?delete r[e]:s.setRequestHeader(e,t)})),oo.isUndefined(t.withCredentials)||(s.withCredentials=!!t.withCredentials),t.responseType)try{s.responseType=t.responseType}catch(d){if("json"!==t.responseType)throw d}"function"==typeof t.onDownloadProgress&&s.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){s&&(s.abort(),n(t),s=null)})),o||(o=null),s.send(o)}))},vo={"Content-Type":"application/x-www-form-urlencoded"};function yo(t,e){!oo.isUndefined(t)&&oo.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var bo,Eo={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(bo=go),bo),transformRequest:[function(t,e){return lo(e,"Accept"),lo(e,"Content-Type"),oo.isFormData(t)||oo.isArrayBuffer(t)||oo.isBuffer(t)||oo.isStream(t)||oo.isFile(t)||oo.isBlob(t)?t:oo.isArrayBufferView(t)?t.buffer:oo.isURLSearchParams(t)?(yo(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):oo.isObject(t)?(yo(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};Eo.headers={common:{Accept:"application/json, text/plain, */*"}},oo.forEach(["delete","get","head"],(function(t){Eo.headers[t]={}})),oo.forEach(["post","put","patch"],(function(t){Eo.headers[t]=oo.merge(vo)}));var _o=Eo;function wo(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var Oo=function(t){return wo(t),t.headers=t.headers||{},t.data=co(t.data,t.headers,t.transformRequest),t.headers=oo.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),oo.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||_o.adapter)(t).then((function(e){return wo(t),e.data=co(e.data,e.headers,t.transformResponse),e}),(function(e){return uo(e)||(wo(t),e&&e.response&&(e.response.data=co(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},Co=function(t,e){e=e||{};var n={},o=["url","method","data"],r=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function i(t,e){return oo.isPlainObject(t)&&oo.isPlainObject(e)?oo.merge(t,e):oo.isPlainObject(e)?oo.merge({},e):oo.isArray(e)?e.slice():e}function c(o){oo.isUndefined(e[o])?oo.isUndefined(t[o])||(n[o]=i(void 0,t[o])):n[o]=i(t[o],e[o])}oo.forEach(o,(function(t){oo.isUndefined(e[t])||(n[t]=i(void 0,e[t]))})),oo.forEach(r,c),oo.forEach(s,(function(o){oo.isUndefined(e[o])?oo.isUndefined(t[o])||(n[o]=i(void 0,t[o])):n[o]=i(void 0,e[o])})),oo.forEach(a,(function(o){o in e?n[o]=i(t[o],e[o]):o in t&&(n[o]=i(void 0,t[o]))}));var u=o.concat(r).concat(s).concat(a),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return oo.forEach(l,c),n};function To(t){this.defaults=t,this.interceptors={request:new io,response:new io}}To.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=Co(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[Oo,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},To.prototype.getUri=function(t){return t=Co(this.defaults,t),so(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},oo.forEach(["delete","get","head","options"],(function(t){To.prototype[t]=function(e,n){return this.request(Co(n||{},{method:t,url:e,data:(n||{}).data}))}})),oo.forEach(["post","put","patch"],(function(t){To.prototype[t]=function(e,n,o){return this.request(Co(o||{},{method:t,url:e,data:n}))}}));var So=To;function Ro(t){this.message=t}Ro.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Ro.prototype.__CANCEL__=!0;var Ao=Ro;function xo(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 Ao(t),e(n.reason))}))}xo.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},xo.source=function(){var t;return{token:new xo((function(e){t=e})),cancel:t}};var Po=xo;function jo(t){var e=new So(t),n=Xn(So.prototype.request,e);return oo.extend(n,So.prototype,e),oo.extend(n,e),n}var Lo=jo(_o);Lo.Axios=So,Lo.create=function(t){return jo(Co(Lo.defaults,t))},Lo.Cancel=Ao,Lo.CancelToken=Po,Lo.isCancel=uo,Lo.all=function(t){return Promise.all(t)},Lo.spread=function(t){return function(e){return t.apply(null,e)}},Lo.isAxiosError=function(t){return"object"==typeof t&&!0===t.isAxiosError};var Do=Lo,Bo=Lo;Do.default=Bo;var ko=Do; -/*! - * JavaScript Cookie v2.2.1 - * https://github.com/js-cookie/js-cookie - * - * Copyright 2006, 2015 Klaus Hartl & Fagner Brack - * Released under the MIT license - */ -var Io=I((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t{Io.set("HAPPY_USER_TOKEN",t,{expires:null!=e?e:365,sameSite:"Lax"})},No=ko.create({baseURL:"https://happysooner.com",headers:{"Content-Type":"application/json"},withCredentials:!0});No.interceptors.request.use((t=>(t.headers["happy-auth-token"]=Io.get("HAPPY_USER_TOKEN")||"",t))),No.interceptors.response.use((t=>{var e,n,o,r;const s=t.config.url;return 403===(null==(e=null==t?void 0:t.data)?void 0:e.ErrorCode)?(console.error("权限错误❌"),console.error("请求接口: ",s),console.error("错误信息: ",null==(n=null==t?void 0:t.data)?void 0:n.ErrorMsg)):(null==(o=null==t?void 0:t.data)?void 0:o.ErrorCode)&&(console.error("其他错误❌"),console.error("请求接口: ",s),console.error("错误数据",JSON.stringify(null!=(r=null==t?void 0:t.data)?r:"{}"))),t}),(t=>(console.error("系统错误❌",t),Promise.resolve({data:{ErrorCode:-1,ErrorMsg:t.message,Result:null}}))));const Mo=t=>{const e=reactive({data:{},loading:!1});return watchEffect((()=>{(async t=>{var n;e.loading=!0;try{const n=await No(t).then((t=>null==t?void 0:t.data));e.data=n}catch(o){const t={ErrorCode:-1,ErrorMsg:null!=(n=null==o?void 0:o.message)?n:"系统错误"};e.data=t}e.loading=!1})(t)})),toRefs(e)},$o=t=>No.get("/api/v1/writing/articles",{params:t}).then((t=>null==t?void 0:t.data)),Ho=t=>Mo({url:`/api/v1/writing/articles/${t}`}),Fo=t=>{let e="random";return t&&(e="day"),Mo({url:`/api/v1/proxy/meiriyiwen/${e}/articles?date=${t}`})},Vo=t=>No.post(`/api/v1/writing/articles/${t.PostID}/comments`,{Content:t.Content,AuthorUID:t.AuthorUID,ReplyCommentID:t.ReplyCommentID||0,ReplyCommentUID:t.ReplyCommentUID||0}).then((t=>null==t?void 0:t.data)),qo=t=>No.get(`/api/v1/writing/articles/${t.PostID}/comments`,{params:{Page:t.Page,Size:t.Size}}).then((t=>null==t?void 0:t.data)),Go=t=>Mo({url:`/api/v1/account/users/${t}`}),zo=t=>No.get("/api/v1/account/unique",{params:t}).then((t=>null==t?void 0:t.data)),Yo=t=>No.post("/api/v1/account/tokens",t).then((t=>null==t?void 0:t.data)),Ko=t=>No.post("/api/v1/account/users",t).then((t=>t.data)),Xo=new Jt({state:()=>({User:{},Article:{CategoryList:[]}}),mutations:{[$n.UPDATE_USER_STORE](e,n){e.User=t({},n)},[$n.RESET_USER_STORE](){Xo.commit($n.UPDATE_USER_STORE,{}),Io.remove("HAPPY_USER_TOKEN",{sameSite:"Lax"})},[$n.UPDATE_CATEGORY_LIST](t,e){t.Article.CategoryList=e}},actions:{async[Hn.GET_AUTHED_USER_INFO](t){var e;const n=await(async()=>No.get("/api/v1/account/tokens").then((t=>null==t?void 0:t.data)))(),o=null!=(e=null==n?void 0:n.Result)?e:{};t.commit($n.UPDATE_USER_STORE,o)},async[Hn.GET_CATEGORY_LIST](t){var e,n;const o=await No.get("/api/v1/writing/categories").then((t=>null==t?void 0:t.data)),r=null!=(n=null==(e=null==o?void 0:o.Result)?void 0:e.List)?n:[];t.commit($n.UPDATE_CATEGORY_LIST,r)}}});U.configure({showSpinner:!1});let Wo={install:function(t){t.directive("highlight",{mounted:function(t){t.querySelectorAll("pre code").forEach((t=>{var e,n;null==(n=null==(e=null==window?void 0:window.hljs)?void 0:e.highlightBlock)||n.call(e,t)}))}})}};const Jo=D();B("data-v-f327bc66");const Qo={key:0,class:"loading-container"},Zo={class:"text-info"},tr=g("div",{class:"balls"},[g("div"),g("div"),g("div")],-1);k();var er=a({expose:[],props:{info:String,color:String,infoSize:String,loading:Boolean,padding:String},setup(t){var e,n,o,r;const s=t;N((t=>({"4d29237e":a.color,"767083d4":a.infoSize,"3ec5956c":a.padding})));const a=reactive({info:null!=(e=s.info)?e:"努力加载中",color:null!=(n=s.color)?n:"#888",infoSize:null!=(o=s.infoSize)?o:"1rem",loading:s.loading,padding:null!=(r=s.padding)?r:"30px 0"}),i=computed((()=>s.loading));return Jo(((t,e)=>c(i)?(u(),l("div",Qo,[g("div",Zo,b(a.info),1),tr])):m("",!0)))}});er.__scopeId="data-v-f327bc66";let nr={install:function(t){t.component("LoadingBall",er)}};const or=D();var rr=a({expose:[],props:{size:String,src:String,scale:Number},setup(t){const e=t;N((t=>({aa0c0ed6:e.size,"977bf994":e.scale})));const n=computed((()=>{var t;return null!=(t=e.src)?t:"https://happysooner.com/api/v1/tools/ident-icon?key=happy"}));return or(((t,e)=>(u(),l("img",{alt:"avatar",src:c(n),key:c(n)},null,8,["src"]))))}});rr.__scopeId="data-v-7892bead";let sr={install:function(t){t.component("Avatar",rr)}};var ar;(ar=Yn).beforeEach(((t,e,n)=>{U.start(),console.log("from:",e.fullPath,"---\x3e",t.fullPath),n()})),ar.afterEach((()=>{U.done()}));const ir={position:ut.TOP_CENTER,timeout:2e3,newestOnTop:!0,transition:"Vue-Toastification__fade"},cr=(()=>{const t=[],e={install(t){t.config.globalProperties.$head=e,t.provide("_vue_use_head_",e)},headTags:t,addHeadTags(e){e.forEach((e=>{if("meta"===e.tag||"base"===e.tag){const o=void 0!==(n=e.props).key?{name:"key",value:n.key}:void 0!==n.name?{name:"name",value:n.name}:void 0!==n.property?{name:"property",value:n.property}:void 0;if(o){let n=-1;for(let r=0;r{const n=t.indexOf(e);-1!==n&&t.splice(n,1)}))},updateDOM(e){((t,e=window.document)=>{const n=e.head;let o=n.querySelector('meta[name="head:count"]');const r=o?Number(o.getAttribute("content")):0,s=[];if(o)for(let l=0,f=o.previousElementSibling;l{t.remove()})),void 0!==i&&(e.title=i),F(e.documentElement,c),F(e.body,u),a.forEach((t=>{n.insertBefore(t,o)})),o.setAttribute("content",""+a.length)})(t,e)}};return e})();R(Fn).use(((t,e)=>{const n=$t(Object.assign({eventBus:Ft},e));t.provide(Ht,n)}),ir).use(cr).use(Yn).use(Wo).use(nr).use(sr).use(Xo).mount("#vue-next");export{Hn as A,$o as G,$n as M,Vo as P,Uo as S,Ho as U,q as a,kn as b,Vt as c,qo as d,zo as e,Yo as f,Ko as g,Fo as h,Go as i,qt as u}; diff --git a/assets/index.79a86b74.css b/assets/index.79a86b74.css new file mode 100644 index 0000000..fce26b0 --- /dev/null +++ b/assets/index.79a86b74.css @@ -0,0 +1 @@ +.category-title[data-v-ee729a98],.content-layout-container li[data-v-ee729a98]{font-size:14px;color:#444}.content-layout-widget-container[data-v-ee729a98]{padding-top:20px}a[data-v-ee729a98]{color:#444}.category-title[data-v-ee729a98]{font-weight:700}.category-item[data-v-ee729a98]{padding:10px 10px 10px 0;list-style:none}.category-item[data-v-ee729a98]:before{display:none}.category-list[data-v-ee729a98]{display:flex;min-height:36px;align-items:center}.content-layout-container[data-v-ee729a98]{display:flex;flex-direction:column-reverse}@media screen and (min-width:1200px){.content-layout-container[data-v-ee729a98]{display:flex;flex-direction:row}.content-layout-child-container[data-v-ee729a98]{flex:1}.category-list[data-v-ee729a98]{display:block}.category-item[data-v-ee729a98]:before{display:inline-block}.content-layout-widget-container[data-v-ee729a98]{width:100px;padding:20px}}@media screen and (max-width:1200px){.category-list[data-v-ee729a98]{margin:0}}.page-navi[data-v-422f221b]{padding:20px 0;text-align:center} \ No newline at end of file diff --git a/assets/index.7b8df9f4.js b/assets/index.7b8df9f4.js new file mode 100644 index 0000000..4e35cac --- /dev/null +++ b/assets/index.7b8df9f4.js @@ -0,0 +1,15 @@ +var e=Object.assign;import{c as t,r as n,w as o,o as r,i as s,e as a,m as i,a as c,b as u,d as l,f,g as d,h as p,j as h,t as m,k as g,l as v,u as y,n as b,p as w,q as E,s as O,v as C,x as T,y as R,z as S,F as _,A,B as x,C as P,D as j,T as B,E as I,G as D,H as L,I as k,J as N,K as $,L as U,M,N as F,O as q,P as H,Q as V,R as z}from"./vendor.18b3a30d.js";!function(e=".",t="__import__"){try{self[t]=new Function("u","return import(u)")}catch(n){const o=new URL(e,location),r=e=>{URL.revokeObjectURL(e.src),e.remove()};self[t]=e=>new Promise(((n,s)=>{const a=new URL(e,o);if(self[t].moduleMap[a])return n(self[t].moduleMap[a]);const i=new Blob([`import * as m from '${a}';`,`${t}.moduleMap['${a}']=m;`],{type:"text/javascript"}),c=Object.assign(document.createElement("script"),{type:"module",src:URL.createObjectURL(i),onerror(){s(new Error(`Failed to import: ${e}`)),r(c)},onload(){n(self[t].moduleMap[a]),r(c)}});document.head.appendChild(c)})),self[t].moduleMap={}}}("https:/unliar.github.io/vue3-ts-happysooner-web/assets/");var G=(e,t,n)=>{const o=n.createElement(e);for(const r of Object.keys(t)){let e=t[r];"key"!==r&&!1!==e&&("children"===r?o.textContent=e:o.setAttribute(r,e))}return o},X=["title","meta","link","base","style","script","htmlAttrs","bodyAttrs"],J=t=>{const n=[];for(const o of Object.keys(t))if("title"===o)n.push({tag:o,props:{children:t[o]}});else if("base"===o)n.push({tag:o,props:e({key:"default"},t[o])});else if(X.includes(o)){const e=t[o];Array.isArray(e)?e.forEach((e=>{n.push({tag:o,props:e})})):e&&n.push({tag:o,props:e})}return n},K=(e,t)=>{const n=e.getAttribute("data-head-attrs");if(n)for(const r of n.split(","))e.removeAttribute(r);const o=Object.keys(t);for(const r of o){const n=t[r];!1===n?e.removeAttribute(r):e.setAttribute(r,n)}e.setAttribute("data-head-attrs",o.join(","))},W="undefined"!=typeof window,Y=e=>{const a="function"==typeof e?t(e):n(e),i=(()=>{const e=s("_vue_use_head_");if(!e)throw new Error("You may forget to apply app.use(head)");return e})();if(W){let e;o((()=>{e&&i.removeHeadTags(e),e=J(a.value),i.addHeadTags(e),i.updateDOM()})),r((()=>{e&&(i.removeHeadTags(e),i.updateDOM())}))}else i.addHeadTags(J(a.value))}; +/*! + * pinia v2.0.0-rc.9 + * (c) 2021 Eduardo San Martin Morote + * @license MIT + */ +let Q;const Z=e=>Q=e,ee=Symbol();function te(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var ne,oe;(oe=ne||(ne={})).direct="direct",oe.patchObject="patch object",oe.patchFunction="patch function";const re="undefined"!=typeof window;function se(e,t,n){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)};return!n&&p()&&h(o),o}function ae(e,...t){e.forEach((e=>{e(...t)}))}function ie(e,t){for(const n in t){const o=t[n],r=e[n];te(r)&&te(o)&&!f(o)&&!d(o)?e[n]=ie(r,o):e[n]=o}return e}const{assign:ce}=Object;const ue=()=>{};function le(t,o,r={},s,c){let p;const h=r.state,m=e({actions:{}},r),g={deep:!0};let v,y,b=i([]),w=i([]);const E=s.state.value[t];E||(s.state.value[t]={}),n({});const O=ue;function C(e,n){return function(){Z(s);const o=Array.from(arguments);let r,a=ue,i=ue;function c(e){a=e}function u(e){i=e}ae(w,{args:o,name:e,store:R,after:c,onError:u});try{r=n.apply(this&&this.$id===t?this:R,o)}catch(f){if(!1!==i(f))throw f}if(r instanceof Promise)return r.then((e=>{const t=a(e);return void 0===t?e:t})).catch((e=>{if(!1!==i(e))return Promise.reject(e)}));const l=a(r);return void 0===l?r:l}}const T={_p:s,$id:t,$onAction:se.bind(null,w),$patch:function(e){let n;v=!1,"function"==typeof e?(e(s.state.value[t]),n={type:ne.patchFunction,storeId:t,events:y}):(ie(s.state.value[t],e),n={type:ne.patchObject,payload:e,storeId:t,events:y}),v=!0,ae(b,n,s.state.value[t])},$reset:O,$subscribe(e,n={}){const o=se(b,e,n.detached),r=p.run((()=>u((()=>s.state.value[t]),((n,o)=>{v&&e({storeId:t,type:ne.direct,events:y},n)}),ce({},g,n))));return()=>{r(),o()}},$dispose:function(){p.stop(),b=[],w=[],s._s.delete(t)}},R=l(ce({},T));s._s.set(t,R);const S=s._e.run((()=>(p=a(),p.run((()=>o())))));for(const e in S){const n=S[e];if(f(n)&&(!(_=n)||!_.effect)||d(n))h||(E&&(f(n)?n.value=E[e]:ie(n,E[e])),s.state.value[t][e]=n);else if("function"==typeof n){const t=C(e,n);S[e]=t,m.actions[e]=n}}var _;return ce(R,S),Object.defineProperty(R,"$state",{get:()=>s.state.value[t],set:e=>{s.state.value[t]=e}}),s._p.forEach((e=>{ce(R,p.run((()=>e({store:R,app:s._a,pinia:s,options:m}))))})),E&&h&&(r.hydrate||ie)(R,E),v=!0,R}const fe=e=>"function"==typeof e,de=e=>"string"==typeof e,pe=e=>de(e)&&e.trim().length>0,he=e=>void 0===e,me=e=>"object"==typeof e&&null!==e,ge=e=>window.TouchEvent&&e instanceof TouchEvent,ve=e=>we(e,"component")&&ye(e.component),ye=e=>{return!he(e)&&(de(e)||(fe(t=e)||me(t))||ve(e));var t},be=e=>me(e)&&["height","width","right","left","top","bottom"].every((t=>"number"==typeof e[t])),we=(e,t)=>(me(e)||fe(e))&&t in e,Ee=(Oe=0,()=>Oe++);var Oe;function Ce(e){return ge(e)?e.targetTouches[0].clientX:e.clientX}function Te(e){return ge(e)?e.targetTouches[0].clientY:e.clientY}const Re=e=>ve(e)?Re(e.component):(e=>we(e,"tag")&&pe(e.tag))(e)?g({render:()=>e}):"string"==typeof e?e:v(y(e));class Se{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const n=this.getHandlers(e);n.push(t),this.allHandlers[e]=n}off(e,t){const n=this.getHandlers(e);n.splice(n.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach((e=>e(t)))}}var _e,Ae,xe,Pe,je,Be;(Ae=_e||(_e={})).SUCCESS="success",Ae.ERROR="error",Ae.WARNING="warning",Ae.INFO="info",Ae.DEFAULT="default",(Pe=xe||(xe={})).TOP_LEFT="top-left",Pe.TOP_CENTER="top-center",Pe.TOP_RIGHT="top-right",Pe.BOTTOM_LEFT="bottom-left",Pe.BOTTOM_CENTER="bottom-center",Pe.BOTTOM_RIGHT="bottom-right",(Be=je||(je={})).ADD="add",Be.DISMISS="dismiss",Be.UPDATE="update",Be.CLEAR="clear",Be.UPDATE_DEFAULTS="update_defaults";const Ie="Vue-Toastification",De={type:{type:String,default:_e.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},Le={type:De.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},ke={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:De.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Ne={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},$e={transition:{type:[Object,String],default:`${Ie}__bounce`}};var Ue={CORE_TOAST:{position:{type:String,default:xe.TOP_RIGHT},draggable:De.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:De.trueBoolean,pauseOnHover:De.trueBoolean,closeOnClick:De.trueBoolean,timeout:Ne.timeout,hideProgressBar:Ne.hideProgressBar,toastClassName:De.classNames,bodyClassName:De.classNames,icon:Le.customIcon,closeButton:ke.component,closeButtonClassName:ke.classNames,showCloseButtonOnHover:ke.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!0,default:new Se}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:De.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:()=>{}},onClose:{type:Function,default:()=>{}}},CONTAINER:{container:{type:[Object,Function],default:()=>document.body},newestOnTop:De.trueBoolean,maxToasts:{type:Number,default:20},transition:$e.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:De.classNames,onMounted:Function},PROGRESS_BAR:Ne,ICON:Le,TRANSITION:$e,CLOSE_BUTTON:ke},Me=g({name:"VtProgressBar",props:Ue.PROGRESS_BAR,data:()=>({hasClass:!0}),computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Ie}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick((()=>this.hasClass=!0))}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});Me.render=function(e,t,n,o,r,s){return b(),w("div",{style:e.style,class:e.cpClass},null,6)},Me.__file="src/components/VtProgressBar.vue";var Fe=g({name:"VtCloseButton",props:Ue.CLOSE_BUTTON,computed:{buttonComponent(){return!1!==this.component?Re(this.component):"button"},classes(){const e=[`${Ie}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}});const qe=A(" × ");Fe.render=function(e,t,n,o,r,s){return b(),w(C(e.buttonComponent),O({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:E((()=>[qe])),_:1},16,["aria-label","class"])},Fe.__file="src/components/VtCloseButton.vue";var He={};const Ve={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},ze=S("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1);He.render=function(e,t,n,o,r,s){return b(),w("svg",Ve,[ze])},He.__file="src/components/icons/VtSuccessIcon.vue";var Ge={};const Xe={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Je=S("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1);Ge.render=function(e,t,n,o,r,s){return b(),w("svg",Xe,[Je])},Ge.__file="src/components/icons/VtInfoIcon.vue";var Ke={};const We={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Ye=S("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Ke.render=function(e,t,n,o,r,s){return b(),w("svg",We,[Ye])},Ke.__file="src/components/icons/VtWarningIcon.vue";var Qe={};const Ze={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},et=S("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Qe.render=function(e,t,n,o,r,s){return b(),w("svg",Ze,[et])},Qe.__file="src/components/icons/VtErrorIcon.vue";var tt=g({name:"VtIcon",props:Ue.ICON,computed:{customIconChildren(){return we(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return de(this.customIcon)?this.trimValue(this.customIcon):we(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return we(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:ye(this.customIcon)?Re(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[_e.DEFAULT]:Ge,[_e.INFO]:Ge,[_e.SUCCESS]:He,[_e.ERROR]:Qe,[_e.WARNING]:Ke}[this.type]},iconClasses(){const e=[`${Ie}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue:(e,t="")=>pe(e)?e.trim():t}});tt.render=function(e,t,n,o,r,s){return b(),w(C(e.component),{class:e.iconClasses},{default:E((()=>[A(x(e.customIconChildren),1)])),_:1},8,["class"])},tt.__file="src/components/VtIcon.vue";var nt=g({name:"VtToast",components:{ProgressBar:Me,CloseButton:Fe,Icon:tt},inheritAttrs:!1,props:Object.assign({},Ue.CORE_TOAST,Ue.TOAST),data:()=>({isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}),computed:{classes(){const e=[`${Ie}__toast`,`${Ie}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${Ie}__toast--rtl`),e},bodyClasses(){return[`${Ie}__toast-${de(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return be(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{getVueComponentFromObj:Re,closeToast(){this.eventBus.emit(je.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:Ce(e),y:Te(e)},this.dragStart=Ce(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:Ce(e),y:Te(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick((()=>this.closeToast()))):setTimeout((()=>{this.beingDragged=!1,be(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0})))}}});nt.render=function(e,t,n,o,r,s){const a=T("Icon"),i=T("CloseButton"),c=T("ProgressBar");return b(),w("div",{class:e.classes,style:e.draggableStyle,onClick:t[1]||(t[1]=(...t)=>e.clickHandler(...t)),onMouseenter:t[2]||(t[2]=(...t)=>e.hoverPause(...t)),onMouseleave:t[3]||(t[3]=(...t)=>e.hoverPlay(...t))},[e.icon?(b(),w(a,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):R("v-if",!0),S("div",{role:e.accessibility.toastRole||"alert",class:e.bodyClasses},["string"==typeof e.content?(b(),w(_,{key:0},[A(x(e.content),1)],64)):(b(),w(C(e.getVueComponentFromObj(e.content)),O({key:1,"toast-id":e.id},e.content.props,P(e.content.listeners),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,["role"]),e.closeButton?(b(),w(i,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:j(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):R("v-if",!0),e.timeout?(b(),w(c,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):R("v-if",!0)],38)},nt.__file="src/components/VtToast.vue";var ot=g({name:"VtTransition",props:Ue.TRANSITION,emits:["leave"],methods:{leave(e){e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute"}}});ot.render=function(e,t,n,o,r,s){return b(),w(B,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:E((()=>[D(e.$slots,"default")])),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])},ot.__file="src/components/VtTransition.vue";var rt=g({name:"VueToastification",components:{Toast:nt,VtTransition:ot},props:Object.assign({},Ue.CORE_TOAST,Ue.CONTAINER,Ue.TRANSITION),data:()=>({count:0,positions:Object.values(xe),toasts:{},defaults:{}}),computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(je.ADD,this.addToast),e.on(je.CLEAR,this.clearToasts),e.on(je.DISMISS,this.dismissToast),e.on(je.UPDATE,this.updateToast),e.on(je.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){var t;fe(e)&&(e=await e()),t=this.$el,he(t.remove)?t.parentNode&&t.parentNode.removeChild(t):t.remove(),e.appendChild(this.$el)},setToast(e){he(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=(e=>{if("string"==typeof e)return e;const t=we(e,"props")&&me(e.props)?e.props:{},n=we(e,"listeners")&&me(e.listeners)?e.listeners:{};return{component:Re(e),props:t,listeners:n}})(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),n=this.defaults.filterBeforeCreate(t,this.toastArray);n&&this.setToast(n)},dismissToast(e){const t=this.toasts[e];he(t)||he(t.onClose)||t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach((e=>{this.dismissToast(e)}))},getPositionToasts(e){const t=this.filteredToasts.filter((t=>t.position===e)).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){he(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:n}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):n&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${Ie}__container`,e].concat(this.defaults.containerClassName)}}});rt.render=function(e,t,n,o,r,s){const a=T("Toast"),i=T("VtTransition");return b(),w("div",null,[(b(!0),w(_,null,I(e.positions,(t=>(b(),w("div",{key:t},[S(i,{transition:e.defaults.transition,class:e.getClasses(t)},{default:E((()=>[(b(!0),w(_,null,I(e.getPositionToasts(t),(e=>(b(),w(a,O({key:e.id},e),null,16)))),128))])),_:2},1032,["transition","class"])])))),128))])},rt.__file="src/components/VtToastContainer.vue";const st=(e={},t=!0)=>{const n=e.eventBus=e.eventBus||new Se;t&&L((()=>{const t=k(rt,Object.assign({},e)),n=t.mount(document.createElement("div")),o=e.onMounted;he(o)||o(n,t)}));const o=(e,t)=>{const o=Object.assign({},{id:Ee(),type:_e.DEFAULT},t,{content:e});return n.emit(je.ADD,o),o.id};return o.clear=()=>n.emit(je.CLEAR,void 0),o.updateDefaults=e=>{n.emit(je.UPDATE_DEFAULTS,e)},o.dismiss=e=>{n.emit(je.DISMISS,e)},o.update=function(e,{content:t,options:o},r=!1){const s=Object.assign({},o,{content:t});n.emit(je.UPDATE,{id:e,options:s,create:r})},o.success=(e,t)=>o(e,Object.assign({},t,{type:_e.SUCCESS})),o.info=(e,t)=>o(e,Object.assign({},t,{type:_e.INFO})),o.error=(e,t)=>o(e,Object.assign({},t,{type:_e.ERROR})),o.warning=(e,t)=>o(e,Object.assign({},t,{type:_e.WARNING})),o};function at(e){return"undefined"==typeof window?(()=>{const e=()=>console.warn("[Vue Toastification] This plugin does not support SSR!");return new Proxy(e,{get:()=>e})})():(t=e,["on","off","emit"].every((e=>we(t,e)&&fe(t[e])))?st({eventBus:e},!1):st(e,!0));var t}const it=Symbol("VueToastification"),ct=new Se,ut=e=>{if(e)return at(e);const t=p()?s(it):void 0;return t||at(ct)};var lt=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}(s.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:o,config:e,request:s};!function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(St("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}(t,n,r),s=null}},s.onabort=function(){s&&(n(St("Request aborted",e,"ECONNABORTED",s)),s=null)},s.onerror=function(){n(St("Network Error",e,null,s)),s=null},s.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(St(t,e,"ECONNABORTED",s)),s=null},yt.isStandardBrowserEnv()){var f=(e.withCredentials||xt(l))&&e.xsrfCookieName?_t.read(e.xsrfCookieName):void 0;f&&(r[e.xsrfHeaderName]=f)}if("setRequestHeader"in s&&yt.forEach(r,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete r[t]:s.setRequestHeader(t,e)})),yt.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),e.responseType)try{s.responseType=e.responseType}catch(d){if("json"!==e.responseType)throw d}"function"==typeof e.onDownloadProgress&&s.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){s&&(s.abort(),n(e),s=null)})),o||(o=null),s.send(o)}))},jt={"Content-Type":"application/x-www-form-urlencoded"};function Bt(e,t){!yt.isUndefined(e)&&yt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var It,Dt={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(It=Pt),It),transformRequest:[function(e,t){return Rt(t,"Accept"),Rt(t,"Content-Type"),yt.isFormData(e)||yt.isArrayBuffer(e)||yt.isBuffer(e)||yt.isStream(e)||yt.isFile(e)||yt.isBlob(e)?e:yt.isArrayBufferView(e)?e.buffer:yt.isURLSearchParams(e)?(Bt(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):yt.isObject(e)?(Bt(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};Dt.headers={common:{Accept:"application/json, text/plain, */*"}},yt.forEach(["delete","get","head"],(function(e){Dt.headers[e]={}})),yt.forEach(["post","put","patch"],(function(e){Dt.headers[e]=yt.merge(jt)}));var Lt=Dt;function kt(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var Nt=function(e){return kt(e),e.headers=e.headers||{},e.data=Ct(e.data,e.headers,e.transformRequest),e.headers=yt.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),yt.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||Lt.adapter)(e).then((function(t){return kt(e),t.data=Ct(t.data,t.headers,e.transformResponse),t}),(function(t){return Tt(t)||(kt(e),t&&t.response&&(t.response.data=Ct(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},$t=function(e,t){t=t||{};var n={},o=["url","method","data"],r=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function i(e,t){return yt.isPlainObject(e)&&yt.isPlainObject(t)?yt.merge(e,t):yt.isPlainObject(t)?yt.merge({},t):yt.isArray(t)?t.slice():t}function c(o){yt.isUndefined(t[o])?yt.isUndefined(e[o])||(n[o]=i(void 0,e[o])):n[o]=i(e[o],t[o])}yt.forEach(o,(function(e){yt.isUndefined(t[e])||(n[e]=i(void 0,t[e]))})),yt.forEach(r,c),yt.forEach(s,(function(o){yt.isUndefined(t[o])?yt.isUndefined(e[o])||(n[o]=i(void 0,e[o])):n[o]=i(void 0,t[o])})),yt.forEach(a,(function(o){o in t?n[o]=i(e[o],t[o]):o in e&&(n[o]=i(void 0,e[o]))}));var u=o.concat(r).concat(s).concat(a),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return yt.forEach(l,c),n};function Ut(e){this.defaults=e,this.interceptors={request:new Ot,response:new Ot}}Ut.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=$t(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[Nt,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},Ut.prototype.getUri=function(e){return e=$t(this.defaults,e),wt(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},yt.forEach(["delete","get","head","options"],(function(e){Ut.prototype[e]=function(t,n){return this.request($t(n||{},{method:e,url:t,data:(n||{}).data}))}})),yt.forEach(["post","put","patch"],(function(e){Ut.prototype[e]=function(t,n,o){return this.request($t(o||{},{method:e,url:t,data:n}))}}));var Mt=Ut;function Ft(e){this.message=e}Ft.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Ft.prototype.__CANCEL__=!0;var qt=Ft;function Ht(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new qt(e),t(n.reason))}))}Ht.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Ht.source=function(){var e;return{token:new Ht((function(t){e=t})),cancel:e}};var Vt=Ht;function zt(e){var t=new Mt(e),n=lt(Mt.prototype.request,t);return yt.extend(n,Mt.prototype,t),yt.extend(n,t),n}var Gt=zt(Lt);Gt.Axios=Mt,Gt.create=function(e){return zt($t(Gt.defaults,e))},Gt.Cancel=qt,Gt.CancelToken=Vt,Gt.isCancel=Tt,Gt.all=function(e){return Promise.all(e)},Gt.spread=function(e){return function(t){return e.apply(null,t)}},Gt.isAxiosError=function(e){return"object"==typeof e&&!0===e.isAxiosError};var Xt=Gt,Jt=Gt;Xt.default=Jt;var Kt=Xt; +/*! + * JavaScript Cookie v2.2.1 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */ +var Wt=N((function(e,t){var n;n=function(){function e(){for(var e=0,t={};e{Wt.set("HAPPY_USER_TOKEN",e,{expires:null!=t?t:365,sameSite:"Lax"})},Qt=Kt.create({baseURL:"https://happysooner.com",headers:{"Content-Type":"application/json"},withCredentials:!0});Qt.interceptors.request.use((e=>(e.headers["happy-auth-token"]=Wt.get("HAPPY_USER_TOKEN")||"",e))),Qt.interceptors.response.use((e=>{var t,n,o,r;const s=e.config.url;return 403===(null==(t=null==e?void 0:e.data)?void 0:t.ErrorCode)?(console.error("权限错误❌"),console.error("请求接口: ",s),console.error("错误信息: ",null==(n=null==e?void 0:e.data)?void 0:n.ErrorMsg)):(null==(o=null==e?void 0:e.data)?void 0:o.ErrorCode)&&(console.error("其他错误❌"),console.error("请求接口: ",s),console.error("错误数据",JSON.stringify(null!=(r=null==e?void 0:e.data)?r:"{}"))),e}),(e=>(console.error("系统错误❌",e),Promise.resolve({data:{ErrorCode:-1,ErrorMsg:e.message,Result:null}}))));const Zt=e=>{const t=reactive({data:{},loading:!1});return watchEffect((()=>{(async e=>{var n;t.loading=!0;try{const n=await Qt(e).then((e=>null==e?void 0:e.data));t.data=n}catch(o){const e={ErrorCode:-1,ErrorMsg:null!=(n=null==o?void 0:o.message)?n:"系统错误"};t.data=e}t.loading=!1})(e)})),toRefs(t)},en=e=>Qt.get("/api/v1/writing/articles",{params:e}).then((e=>null==e?void 0:e.data)),tn=e=>Zt({url:`/api/v1/writing/articles/${e}`}),nn=e=>{let t="random";return e&&(t="day"),Zt({url:`/api/v1/proxy/meiriyiwen/${t}/articles?date=${e}`})},on=e=>Qt.post(`/api/v1/writing/articles/${e.PostID}/comments`,{Content:e.Content,AuthorUID:e.AuthorUID,ReplyCommentID:e.ReplyCommentID||0,ReplyCommentUID:e.ReplyCommentUID||0}).then((e=>null==e?void 0:e.data)),rn=e=>Qt.get(`/api/v1/writing/articles/${e.PostID}/comments`,{params:{Page:e.Page,Size:e.Size}}).then((e=>null==e?void 0:e.data)),sn=e=>Zt({url:`/api/v1/account/users/${e}`}),an=e=>Qt.get("/api/v1/account/unique",{params:e}).then((e=>null==e?void 0:e.data)),cn=e=>Qt.post("/api/v1/account/tokens",e).then((e=>null==e?void 0:e.data)),un=e=>Qt.post("/api/v1/account/users",e).then((e=>e.data)),ln=function(e,n,o){let r,a;const c="function"==typeof n;function u(e,o){const u=p();(e=e||u&&s(ee))&&Z(e),(e=Q)._s.has(r)||(c?le(r,n,a,e):function(e,n,o,r){const{state:s,actions:a,getters:c}=n,u=o.state.value[e];let l;l=le(e,(function(){u||(o.state.value[e]=s?s():{});const n=m(o.state.value[e]);return ce(n,a,Object.keys(c||{}).reduce(((n,r)=>(n[r]=i(t((()=>{Z(o);const t=o._s.get(e);return c[r].call(t,t)}))),n)),{}))}),n,o),l.$reset=function(){const e=s?s():{};this.$patch((t=>{ce(t,e)}))}}(r,a,e));return e._s.get(r)}return"string"==typeof e?(r=e,a=c?o:n):(a=e,r=e.id),u.$id=r,u}("PiniaStore",{state:()=>({User:{},Article:{CategoryList:[]}}),actions:{async GetCategoryList(){var e,t;const n=await Qt.get("/api/v1/writing/categories").then((e=>null==e?void 0:e.data)),o=null!=(t=null==(e=null==n?void 0:n.Result)?void 0:e.List)?t:[];this.Article.CategoryList=o},async GetAuthedUserInfo(){var e;const t=await(async()=>Qt.get("/api/v1/account/tokens").then((e=>null==e?void 0:e.data)))(),n=null!=(e=null==t?void 0:t.Result)?e:{};this.User=n},async ResetUserStore(){this.User={},Wt.remove("HAPPY_USER_TOKEN",{sameSite:"Lax"})}}}),fn="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,dn=e=>fn?Symbol(e):"_vr_"+e,pn=dn("rvlm"),hn=dn("rvd"),mn=dn("r"),gn=dn("rl"),vn=dn("rvl"),yn="undefined"!=typeof window;const bn=Object.assign;function wn(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}let En=()=>{};const On=/\/$/;function Cn(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("?"),c=t.indexOf("#",i>-1?i:0);return i>-1&&(o=t.slice(0,i),s=t.slice(i+1,c>-1?c:t.length),r=e(s)),c>-1&&(o=o||t.slice(0,c),a=t.slice(c,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,s,a=n.length-1;for(r=0;re===t[n])):1===e.length&&e[0]===t}var xn,Pn,jn,Bn;function In(e){if(!e)if(yn){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(On,"")}(Pn=xn||(xn={})).pop="pop",Pn.push="push",(Bn=jn||(jn={})).back="back",Bn.forward="forward",Bn.unknown="";const Dn=/^[^#]+#/;function Ln(e,t){return e.replace(Dn,"#")+t}const kn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Nn(e){let t;if("el"in e){let n=e.el;const o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function $n(e,t){return(history.state?history.state.position-t:-1)+e}const Un=new Map;function Mn(e,t){const{pathname:n,search:o,hash:r}=t;if(e.indexOf("#")>-1){let e=r.slice(1);return"/"!==e[0]&&(e="/"+e),Tn(e,"")}return Tn(n,e)+o+r}function Fn(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?kn():null}}function qn(e){const{history:t,location:n}=window;let o={value:Mn(e,n)},r={value:t.state};function s(o,s,a){const i=e.indexOf("#"),c=i>-1?(n.host&&document.querySelector("base")?e:e.slice(i))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](s,"",c),r.value=s}catch(u){console.error(u),n[a?"replace":"assign"](c)}}return r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=bn({},r.value,t.state,{forward:e,scroll:kn()});s(a.current,a,!0),s(e,bn({},Fn(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){s(e,bn({},t.state,Fn(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Hn(e){const t=qn(e=In(e)),n=function(e,t,n,o){let r=[],s=[],a=null;const i=({state:s})=>{const i=Mn(e,location),c=n.value,u=t.value;let l=0;if(s){if(n.value=i,t.value=s,a&&a===c)return void(a=null);l=u?s.position-u.position:0}else o(i);r.forEach((e=>{e(n.value,c,{delta:l,type:xn.pop,direction:l?l>0?jn.forward:jn.back:jn.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(bn({},e.state,{scroll:kn()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",c),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return s.push(t),t},destroy:function(){for(const e of s)e();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",c)}}}(e,t.state,t.location,t.replace);const o=bn({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ln.bind(null,e)},t,n);return Object.defineProperty(o,"location",{get:()=>t.location.value}),Object.defineProperty(o,"state",{get:()=>t.state.value}),o}function Vn(e){return"string"==typeof e||"symbol"==typeof e}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gn=dn("nf");var Xn,Jn;function Kn(e,t){return bn(new Error,{type:e,[Gn]:!0},t)}function Wn(e,t){return e instanceof Error&&Gn in e&&(null==t||!!(e.type&t))}(Jn=Xn||(Xn={}))[Jn.aborted=4]="aborted",Jn[Jn.cancelled=8]="cancelled",Jn[Jn.duplicated=16]="duplicated";const Yn={sensitive:!1,strict:!1,start:!0,end:!0},Qn=/[.+*?^${}()[\]/\\]/g;function Zn(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function eo(e,t){let n=0;const o=e.score,r=t.score;for(;n1&&("*"===i||"+"===i)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),u="")}function d(){u+=i}for(;c{s(d)}:En}function s(e){if(Vn(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function a(e){let t=0;for(;t=0;)t++;n.splice(t,0,e),e.record.name&&!ao(e)&&o.set(e.record.name,e)}return t=co({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,s,a,i={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw Kn(1,{location:e});a=r.record.name,i=bn(function(e,t){let n={};for(let o of t)o in e&&(n[o]=e[o]);return n}(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),s=r.stringify(i)}else if("path"in e)s=e.path,r=n.find((e=>e.re.test(s))),r&&(i=r.parse(s),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw Kn(1,{location:e,currentLocation:t});a=r.record.name,i=bn({},t.params,e.params),s=r.stringify(i)}const c=[];let u=r;for(;u;)c.unshift(u.record),u=u.parent;return{name:a,path:s,params:i,matched:c,meta:io(c)}},removeRoute:s,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function so(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(let o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function ao(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function io(e){return e.reduce(((e,t)=>bn(e,t.meta)),{})}function co(e,t){let n={};for(let o in e)n[o]=o in t?t[o]:e[o];return n}const uo=/#/g,lo=/&/g,fo=/\//g,po=/=/g,ho=/\?/g,mo=/\+/g,go=/%5B/g,vo=/%5D/g,yo=/%5E/g,bo=/%60/g,wo=/%7B/g,Eo=/%7C/g,Oo=/%7D/g,Co=/%20/g;function To(e){return encodeURI(""+e).replace(Eo,"|").replace(go,"[").replace(vo,"]")}function Ro(e){return To(e).replace(mo,"%2B").replace(Co,"+").replace(uo,"%23").replace(lo,"%26").replace(bo,"`").replace(wo,"{").replace(Oo,"}").replace(yo,"^")}function So(e){return function(e){return To(e).replace(uo,"%23").replace(ho,"%3F")}(e).replace(fo,"%2F")}function _o(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ao(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ro(e))):[o&&Ro(o)];for(let e=0;enull==e?null:""+e)):null==o?o:""+o)}return t}function jo(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function Bo(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,i)=>{const c=e=>{var c;!1===e?i(Kn(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(c=e)||c&&"object"==typeof c?i(Kn(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=e.call(o&&o.instances[r],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch((e=>i(e)))}))}function Io(e,t,n,o){const r=[];for(const a of e)for(const e in a.components){let i=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=i)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(i.__vccOpts||i)[t];s&&r.push(Bo(s,n,o,a,e))}else{let s=i();s=s.catch(console.error),r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(i=r).__esModule||fn&&"Module"===i[Symbol.toStringTag]?r.default:r;var i;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Bo(c,n,o,a,e)()}))))}}var s;return r}function Do(e){const n=s(mn),o=s(gn),r=t((()=>n.resolve(y(e.to)))),a=t((()=>{let{matched:e}=r.value,{length:t}=e;const n=e[t-1];let s=o.matched;if(!n||!s.length)return-1;let a=s.findIndex(Rn.bind(null,n));if(a>-1)return a;let i=ko(e[t-2]);return t>1&&ko(n)===i&&s[s.length-1].path!==i?s.findIndex(Rn.bind(null,e[t-2])):a})),i=t((()=>a.value>-1&&function(e,t){for(let n in t){let o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Array.isArray(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(o.params,r.value.params))),c=t((()=>a.value>-1&&a.value===o.matched.length-1&&Sn(o.params,r.value.params)));return{route:r,href:t((()=>r.value.href)),isActive:i,isExactActive:c,navigate:function(t={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(t)?n[y(e.replace)?"replace":"push"](y(e.to)):Promise.resolve()}}}const Lo=g({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup(e,{slots:n,attrs:o}){const r=l(Do(e)),{options:a}=s(mn),i=t((()=>({[No(e.activeClass,a.linkActiveClass,"router-link-active")]:r.isActive,[No(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive})));return()=>{const t=n.default&&n.default(r);return e.custom?t:U("a",bn({"aria-current":r.isExactActive?e.ariaCurrentValue:null,onClick:r.navigate,href:r.href},o,{class:i.value}),t)}}});function ko(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const No=(e,t,n)=>null!=e?e:null!=t?t:n;function $o(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Uo=g({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:o,slots:r}){const a=s(vn),i=t((()=>e.route||a.value)),c=s(hn,0),l=t((()=>i.value.matched[c]));M(hn,c+1),M(pn,l),M(vn,i);const f=n();return u((()=>[f.value,l.value,e.name]),(([e,t,n],[o,r,s])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards=r.leaveGuards,t.updateGuards=r.updateGuards)),!e||!t||r&&Rn(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const t=i.value,n=l.value,s=n&&n.components[e.name],a=e.name;if(!s)return $o(r.default,{Component:s,route:t});const c=n.props[e.name],u=c?!0===c?t.params:"function"==typeof c?c(t):c:null,d=U(s,bn({},u,o,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(n.instances[a]=null)},ref:f}));return $o(r.default,{Component:d,route:t})||d}}});function Mo(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function Fo(){return s(mn)}const qo=F();q("data-v-3629a0e2");const Ho=S("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Vo=S("div",null,[A(" 请点击前往 "),S("strong",null,"Github"),A("交友网站查看源码 ")],-1);H();var zo=g({expose:[],setup(e){const t=()=>{window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return qo(((e,n)=>(b(),w("div",{onClick:t},[Ho,Vo]))))}});zo.__scopeId="data-v-3629a0e2";var Go=g({expose:[],setup(e){const t=ln(),n=ut(),o=s(gn);(e=>{e?onBeforeMount((()=>{var t;if(document.getElementById(e))return void console.error("useBaiduInit 无需多次调用",e);console.info("useBaiduInit 注册成功",e);const n=document.createElement("script");n.src=`https://hm.baidu.com/hm.js?${e}`,n.id=e;var o=document.getElementsByTagName("script")[0];null==(t=null==o?void 0:o.parentNode)||t.insertBefore(n,o)})):console.error("useBaiduInit 未检测到百度统计ID",e)})("6b599d2d50ef582710e04da83818e1b0");const r=computed((()=>o.fullPath));return Y({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted((async()=>{var e,o;setTimeout((()=>{n.info(zo,{position:xe.BOTTOM_RIGHT,timeout:3e4})}),2e3),t.GetAuthedUserInfo(),t.GetCategoryList(),null==(o=null==(e=null==window?void 0:window.hljs)?void 0:e.initHighlightingOnLoad)||o.call(e)})),(e,t)=>{const n=T("router-view");return b(),w(n,{key:y(r)})}}});let Xo;const Jo={},Ko=function(e,t){if(!t)return e();if(void 0===Xo){const e=document.createElement("link").relList;Xo=e&&e.supports&&e.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(t.map((e=>{if(e in Jo)return;Jo[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":Xo,t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((e,t)=>{o.addEventListener("load",e),o.addEventListener("error",t)})):void 0}))).then((()=>e()))},Wo=[{path:"/",name:"home-page",component:()=>Ko((()=>__import__("./index.cc0d6e60.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.cc0d6e60.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.79a86b74.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.b3f6f051.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({query:e.query})},{path:"/post/:pid",name:"post-detail",component:()=>Ko((()=>__import__("./pid.89964575.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.89964575.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.d8c878a3.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({pid:+e.params.pid})},{path:"/users/:uid",name:"user-details",component:()=>Ko((()=>__import__("./uid.915351d3.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.915351d3.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.57317e48.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.b3f6f051.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({uid:+e.params.uid})},{path:"/daily-articles",name:"daily-read",component:()=>Ko((()=>__import__("./index.146225bc.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.146225bc.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.69f30477.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"]),props:e=>({query:e.query})},{path:"/signin",name:"signin",component:()=>Ko((()=>__import__("./index.0aea1b90.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.0aea1b90.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.a2f30696.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])},{path:"/about",name:"about",component:()=>Ko((()=>__import__("./index.24cabceb.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.24cabceb.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.6e083b63.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>Ko((()=>__import__("./index.dc05998d.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.dc05998d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.39204bc0.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])}],Yo=function(e){const n=ro(e.routes,e);let o=e.parseQuery||Ao,r=e.stringifyQuery||xo,s=e.history;const a=jo(),i=jo(),c=jo(),u=$(zn);let f=zn;yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=wn.bind(null,(e=>""+e)),p=wn.bind(null,So),h=wn.bind(null,_o);function m(e,t){if(t=bn({},t||u.value),"string"==typeof e){let r=Cn(o,e,t.path),a=n.resolve({path:r.path},t),i=s.createHref(r.fullPath);return bn(r,a,{params:h(a.params),hash:_o(r.hash),redirectedFrom:void 0,href:i})}let a;"path"in e?a=bn({},e,{path:Cn(o,e.path,t.path).path}):(a=bn({},e,{params:p(e.params)}),t.params=p(t.params));let i=n.resolve(a,t);const c=e.hash||"";i.params=d(h(i.params));const l=function(e,t){let n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,bn({},e,{hash:(f=c,To(f).replace(wo,"{").replace(Oo,"}").replace(yo,"^")),path:i.path}));var f;let m=s.createHref(l);return bn({fullPath:l,hash:c,query:r===xo?Po(e.query):e.query},i,{redirectedFrom:void 0,href:m})}function g(e){return"string"==typeof e?Cn(o,e,u.value.path):bn({},e)}function v(e,t){if(f!==e)return Kn(8,{from:t,to:e})}function b(e){return E(e)}function w(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.indexOf("?")>-1||o.indexOf("#")>-1?o=g(o):{path:o}),bn({query:e.query,hash:e.hash,params:e.params},o)}}function E(e,t){const n=f=m(e),o=u.value,s=e.state,a=e.force,i=!0===e.replace,c=w(n);if(c)return E(bn(g(c),{state:s,force:a,replace:i}),t||n);const l=n;let d;return l.redirectedFrom=t,!a&&function(e,t,n){let o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Rn(t.matched[o],n.matched[r])&&Sn(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(d=Kn(16,{to:l,from:o}),I(o,o,!0,!1)),(d?Promise.resolve(d):C(l,o)).catch((e=>Wn(e)?e:j(e))).then((e=>{if(e){if(Wn(e,2))return E(bn(g(e.to),{state:s,force:a,replace:i}),t||l)}else e=R(l,o,!0,i,s);return T(l,o,e),e}))}function O(e,t){const n=v(e,t);return n?Promise.reject(n):Promise.resolve()}function C(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a{n.push(Bo(o,e,t))}));const c=O.bind(null,e,t);return n.push(c),Mo(n).then((()=>{n=[];for(const o of a.list())n.push(Bo(o,e,t));return n.push(c),Mo(n)})).then((()=>{n=Io(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Bo(o,e,t))}));return n.push(c),Mo(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&t.matched.indexOf(o)<0)if(Array.isArray(o.beforeEnter))for(const r of o.beforeEnter)n.push(Bo(r,e,t));else n.push(Bo(o.beforeEnter,e,t));return n.push(c),Mo(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Io(s,"beforeRouteEnter",e,t),n.push(c),Mo(n)))).then((()=>{n=[];for(const o of i.list())n.push(Bo(o,e,t));return n.push(c),Mo(n)})).catch((e=>Wn(e,8)?e:Promise.reject(e)))}function T(e,t,n){for(const o of c.list())o(e,t,n)}function R(e,t,n,o,r){const a=v(e,t);if(a)return a;const i=t===zn,c=yn?history.state:{};n&&(o||i?s.replace(e.fullPath,bn({scroll:i&&c&&c.scroll},r)):s.push(e.fullPath,r)),u.value=e,I(e,t,n,i),B()}let S;function _(){S=s.listen(((e,t,n)=>{let o=m(e);const r=w(o);if(r)return void E(bn(r,{replace:!0}),o).catch(En);f=o;const a=u.value;var i,c;yn&&(i=$n(a.fullPath,n.delta),c=kn(),Un.set(i,c)),C(o,a).catch((e=>Wn(e,12)?e:Wn(e,2)?(E(e.to,o).catch(En),Promise.reject()):(n.delta&&s.go(-n.delta,!1),j(e)))).then((e=>{(e=e||R(o,a,!1))&&n.delta&&s.go(-n.delta,!1),T(o,a,e)})).catch(En)}))}let A,x=jo(),P=jo();function j(e){return B(e),P.list().forEach((t=>t(e))),Promise.reject(e)}function B(e){A||(A=!0,_(),x.list().forEach((([t,n])=>e?n(e):t())),x.reset())}function I(t,n,o,r){const{scrollBehavior:s}=e;if(!yn||!s)return Promise.resolve();let a=!o&&function(e){const t=Un.get(e);return Un.delete(e),t}($n(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return L().then((()=>s(t,n,a))).then((e=>e&&Nn(e))).catch(j)}const D=e=>s.go(e);let k;const N=new Set;return{currentRoute:u,addRoute:function(e,t){let o,r;return Vn(e)?(o=n.getRecordMatcher(e),r=t):r=e,n.addRoute(r,o)},removeRoute:function(e){let t=n.getRecordMatcher(e);t&&n.removeRoute(t)},hasRoute:function(e){return!!n.getRecordMatcher(e)},getRoutes:function(){return n.getRoutes().map((e=>e.record))},resolve:m,options:e,push:b,replace:function(e){return b(bn(g(e),{replace:!0}))},go:D,back:()=>D(-1),forward:()=>D(1),beforeEach:a.add,beforeResolve:i.add,afterEach:c.add,onError:P.add,isReady:function(){return A&&u.value!==zn?Promise.resolve():new Promise(((e,t)=>{x.add([e,t])}))},install(e){e.component("RouterLink",Lo),e.component("RouterView",Uo),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{get:()=>y(u)}),yn&&!k&&u.value===zn&&(k=!0,b(s.location).catch((e=>{})));const n={};for(let r in zn)n[r]=t((()=>u.value[r]));e.provide(mn,this),e.provide(gn,l(n)),e.provide(vn,u);let o=e.unmount;N.add(e),e.unmount=function(){N.delete(e),N.size<1&&(S(),u.value=zn,k=!1,A=!1),o.call(this,arguments)}}}}({history:((Qo=location.host?Qo||location.pathname+location.search:"").indexOf("#")<0&&(Qo+="#"),Hn(Qo)),routes:Wo,scrollBehavior:(e,t,n)=>n||(e.hash?{el:e.hash,behavior:"smooth"}:{left:0,top:0})});var Qo;V.configure({showSpinner:!1});let Zo={install:function(e){e.directive("highlight",{mounted:function(e){e.querySelectorAll("pre code").forEach((e=>{var t,n;null==(n=null==(t=null==window?void 0:window.hljs)?void 0:t.highlightBlock)||n.call(t,e)}))}})}};const er=F();q("data-v-f327bc66");const tr={key:0,class:"loading-container"},nr={class:"text-info"},or=S("div",{class:"balls"},[S("div"),S("div"),S("div")],-1);H();var rr=g({expose:[],props:{info:String,color:String,infoSize:String,loading:Boolean,padding:String},setup(e){var t,n,o,r;const s=e;z((e=>({"4d29237e":a.color,"767083d4":a.infoSize,"3ec5956c":a.padding})));const a=reactive({info:null!=(t=s.info)?t:"努力加载中",color:null!=(n=s.color)?n:"#888",infoSize:null!=(o=s.infoSize)?o:"1rem",loading:s.loading,padding:null!=(r=s.padding)?r:"30px 0"}),i=computed((()=>s.loading));return er(((e,t)=>y(i)?(b(),w("div",tr,[S("div",nr,x(a.info),1),or])):R("",!0)))}});rr.__scopeId="data-v-f327bc66";let sr={install:function(e){e.component("LoadingBall",rr)}};const ar=F();var ir=g({expose:[],props:{size:String,src:String,scale:Number},setup(e){const t=e;z((e=>({aa0c0ed6:t.size,"977bf994":t.scale})));const n=computed((()=>{var e;return null!=(e=t.src)?e:"https://happysooner.com/api/v1/tools/ident-icon?key=happy"}));return ar(((e,t)=>(b(),w("img",{alt:"avatar",src:y(n),key:y(n)},null,8,["src"]))))}});ir.__scopeId="data-v-7892bead";let cr={install:function(e){e.component("Avatar",ir)}};var ur;(ur=Yo).beforeEach(((e,t,n)=>{V.start(),console.log("from:",t.fullPath,"---\x3e",e.fullPath),n()})),ur.afterEach((()=>{V.done()}));const lr={position:xe.TOP_CENTER,timeout:2e3,newestOnTop:!0,transition:"Vue-Toastification__fade"},fr=(()=>{const e=[],t={install(e){e.config.globalProperties.$head=t,e.provide("_vue_use_head_",t)},headTags:e,addHeadTags(t){t.forEach((t=>{if("meta"===t.tag||"base"===t.tag){const o=void 0!==(n=t.props).key?{name:"key",value:n.key}:void 0!==n.name?{name:"name",value:n.name}:void 0!==n.property?{name:"property",value:n.property}:void 0;if(o){let n=-1;for(let r=0;r{const n=e.indexOf(t);-1!==n&&e.splice(n,1)}))},updateDOM(t){((e,t=window.document)=>{const n=t.head;let o=n.querySelector('meta[name="head:count"]');const r=o?Number(o.getAttribute("content")):0,s=[];if(o)for(let l=0,f=o.previousElementSibling;l{e.remove()})),void 0!==i&&(t.title=i),K(t.documentElement,c),K(t.body,u),a.forEach((e=>{n.insertBefore(e,o)})),o.setAttribute("content",""+a.length)})(e,t)}};return t})(),dr=function(){const e=a(!0),t=e.run((()=>n({})));let o=[];const r=[],s=i({install(e){s._a=e,e.provide(ee,s),e.config.globalProperties.$pinia=s,re&&Z(s),r.forEach((e=>o.push(e)))},use(e){return this._a||c?o.push(e):r.push(e),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return s}();dr.use((({store:e})=>{e.$subscribe((e=>{console.log("store state changed",e)})),e.$onAction((e=>{console.log("store action fired",e)}))})),k(Go).use(dr).use(((e,t)=>{const n=at(Object.assign({eventBus:ct},t));e.provide(it,n)}),lr).use(fr).use(Yo).use(Zo).use(sr).use(cr).mount("#vue-next");export{en as G,on as P,Yt as S,tn as U,Y as a,Fo as b,ut as c,rn as d,an as e,cn as f,un as g,nn as h,sn as i,ln as u}; diff --git a/assets/index.a2f30696.css b/assets/index.a2f30696.css new file mode 100644 index 0000000..56ac562 --- /dev/null +++ b/assets/index.a2f30696.css @@ -0,0 +1 @@ +.signin-container[data-v-7f7d81da]{display:flex;align-items:center;justify-content:center;padding:50px 15px}.signin-container div[data-v-7f7d81da]{padding:15px 0;margin:0 auto;width:100%}.title[data-v-7f7d81da]{font-size:24px;padding:15px 0;font-weight:500;color:#262626}.summary[data-v-7f7d81da]{font-size:12px;color:#6a6a6a}.signin-title[data-v-7f7d81da]{text-align:center}.signin-info[data-v-7f7d81da]{font-size:12px}div button[data-v-7f7d81da],div input[data-v-7f7d81da]{outline:0;display:flex;justify-content:center;align-items:center;padding:10px;width:100%;border-radius:5px;border:1px solid #999;font-size:14px;box-sizing:border-box}.signin-info span[data-v-7f7d81da]{font-weight:bolder}.signin-main[data-v-7f7d81da]{max-width:750px;overflow:hidden}.btn-login-register[data-v-7f7d81da]{background-color:#f5f5f5;opacity:.5}.btn-login-register[data-v-7f7d81da]:hover{opacity:1} \ No newline at end of file diff --git a/assets/index.cc0d6e60.js b/assets/index.cc0d6e60.js new file mode 100644 index 0000000..39557aa --- /dev/null +++ b/assets/index.cc0d6e60.js @@ -0,0 +1 @@ +import{k as e,x as t,n as a,p as s,z as o,G as l,F as n,E as r,A as i,B as d,u,N as c,O as y,P as p,T as f,y as g}from"./vendor.18b3a30d.js";import{u as v,a as m,G as _}from"./index.7b8df9f4.js";import{_ as q}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{_ as k}from"./SimpleInfoItem.b3f6f051.js";import"./time.93dfc2a8.js";const I=c();y("data-v-ee729a98");const P={class:"content-layout-container"},x={class:"content-layout-child-container"},b={class:"content-layout-widget-container"},j={class:"widget-category"},L=o("div",{class:"category-title"},"目录分类",-1),O={class:"category-list"};p();var $=e({expose:[],setup(e){const c=v(),y=computed((()=>c.Article.CategoryList));return I(((e,c)=>{const p=t("router-link");return a(),s("div",P,[o("div",x,[l(e.$slots,"default")]),o("div",b,[o("div",j,[L,o("ul",O,[(a(!0),s(n,null,r(u(y),(e=>(a(),s("li",{class:"category-item",key:e.Id},[o(p,{to:`/?CategoryID=${e.Id}`},{default:I((()=>[i(d(e.CN),1)])),_:2},1032,["to"])])))),128))])])])])}))}});$.__scopeId="data-v-ee729a98";const T=c();y("data-v-422f221b");const h={key:0,class:"page-navi"},w=i("上一页"),A=i("下一页");p();var C=e({expose:[],props:{query:{type:Object}},setup(e){const l=e,i=reactive({List:[],q:l.query||{},loading:!1});m({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"});return onMounted((async()=>{var e,t;await(t=null!=(e=l.query)?e:{},i.loading=!0,i.List=[],_(t).then((e=>{var t,a;i.List=[...null!=(a=null==(t=e.Result)?void 0:t.Articles)?a:[]]})).finally((()=>{i.loading=!1})))})),T(((e,l)=>{const d=t("router-link");return a(),s(q,null,{default:T((()=>[o($,null,{default:T((()=>[o(f,{name:"list"},{default:T((()=>[(a(!0),s(n,null,r(i.List,(e=>(a(),s(k,{key:e.Id,info:e},null,8,["info"])))),128))])),_:1}),i.loading?g("",!0):(a(),s("div",h,[i.q.Page&&i.q.Page>=2?(a(),s(d,{key:0,to:`/?Page=${i.q.Page-1}&OrderType=${i.q.OrderType||"desc"}`},{default:T((()=>[w])),_:1},8,["to"])):g("",!0),15==i.List.length?(a(),s(d,{key:1,to:`/?Page=${i.q.Page?+i.q.Page+1:2}&OrderType=${i.q.OrderType||"desc"}`},{default:T((()=>[A])),_:1},8,["to"])):g("",!0)]))])),_:1})])),_:1})}))}});C.__scopeId="data-v-422f221b";export default C; diff --git a/assets/index.d086ce17.js b/assets/index.d086ce17.js deleted file mode 100644 index f0131c4..0000000 --- a/assets/index.d086ce17.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,g as a,a as s,b as l,j as t,O as n,P as o,h as i,u as r,F as u,k as d,l as c,E as v,G as m,H as p}from"./vendor.8d059d2b.js";import{c as f,u as y,b as g,e as k,f as b,S as h,A as w,g as E}from"./index.6d51bcce.js";const C=e=>e.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合",U=v();m("data-v-5c01e9b3");const _={class:"signin-container"},R={class:"signin-main"},x={class:"signin-title"},A=t("div",null,"嘿;-) 好巧在这里遇到您.",-1),N=d(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 "),$=t("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1),I={class:"signin-form"},T={class:"form-account"},j={key:0},V={class:"summary"},z=d(" 注册一下不会有任何损失,甚至会变得更加 "),D=t("del",null,"沙雕",-1),F=d(" 快乐。 ");p();var G=e({expose:[],setup(e){const v=f(),m=y(),p=g(),G=ref(""),H=ref(""),O=ref(""),S=ref(!1),Z=computed((()=>m.state.User.Id));watch(G,(e=>{e.trim()&&k({type:"loginName",value:e.trim()}).then((e=>{1000005===e.Result?S.value=!1:S.value=!0}))}));const M=async()=>{const e=C(G.value.trim());if(e)return void v.error(e);const a=await b({type:"loginName",value:G.value.trim(),password:O.value.trim()});if((null==a?void 0:a.ErrorCode)||!(null==a?void 0:a.Result))return void v.error(`${a.ErrorCode} ${a.ErrorMsg}`);const s=a.Result.Token,l=a.Result.TokenAvailableDays;h(s,l),m.dispatch(w.GET_AUTHED_USER_INFO),v.success(`欢迎 ${null==a?void 0:a.Result.UserInfo.Nickname} 前来观光`,{onClose(){p.back()}})},P=async()=>{const e=C(G.value.trim());if(e)return void v.error(e);(await E({type:"loginName",value:G.value.trim(),password:O.value.trim(),nickname:H.value.trim()})).ErrorCode||v.success(`注册成功,即将自动登录~ ${G.value}`,{onClose(){M()}})};return U(((e,v)=>{const m=a("router-link");return s(),l("div",_,[t("div",R,[t("div",x,[A,t("div",null,[t(m,{to:"/"},{default:U((()=>[N])),_:1})])]),$,t("div",I,[t("div",T,[n(t("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":v[1]||(v[1]=e=>G.value=e),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[o,G.value,void 0,{trim:!0}]])]),S.value?(s(),l("div",j,[n(t("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":v[2]||(v[2]=e=>H.value=e),placeholder:"用户昵称"},null,512),[[o,H.value,void 0,{trim:!0}]])])):i("",!0),t("div",null,[n(t("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":v[3]||(v[3]=e=>O.value=e),placeholder:"登录密码"},null,512),[[o,O.value,void 0,{trim:!0}]])]),t("div",null,[S.value?(s(),l("button",{key:0,type:"button",class:"btn-login-register",onClick:P}," 立即注册 ")):(s(),l("button",{key:1,type:"button",class:"btn-login-register",onClick:M}," 立即登录 "))])]),t("div",V,[z,D,F,r(Z)?(s(),l(u,{key:0},[d("很少有人让我心动 但你是第"+c(r(Z))+"个。",1)],64)):i("",!0)])])])}))}});G.__scopeId="data-v-5c01e9b3";export default G; diff --git a/assets/index.dc05998d.js b/assets/index.dc05998d.js new file mode 100644 index 0000000..95175ef --- /dev/null +++ b/assets/index.dc05998d.js @@ -0,0 +1 @@ +import{b as a,a as e}from"./index.7b8df9f4.js";import{k as s,n,p as t,z as d,B as o,N as l,O as r,P as v}from"./vendor.18b3a30d.js";const u=l();r("data-v-ad037df8");const f={class:"not-found"},i={class:"x-mian"},c=d("div",null,"你所寻找的页面不在服务区~",-1);v();var p=s({expose:[],setup(s){const l=a(),r=ref(5);let v;return e({title:"404 not found"}),onMounted((()=>{v=setInterval((()=>{r.value=r.value-1,r.value<=0&&l.replace("/")}),1e3)})),onUnmounted((()=>{clearInterval(v)})),u(((a,e)=>(n(),t("div",f,[d("div",i,[c,d("div",null,o(r.value)+"秒后返回主页",1)])]))))}});p.__scopeId="data-v-ad037df8";export default p; diff --git a/assets/index.e421bd7e.css b/assets/index.e421bd7e.css deleted file mode 100644 index 3fedfe6..0000000 --- a/assets/index.e421bd7e.css +++ /dev/null @@ -1 +0,0 @@ -.category-title[data-v-cdd6b77a],.content-layout-container li[data-v-cdd6b77a]{font-size:14px;color:#444}.content-layout-widget-container[data-v-cdd6b77a]{padding-top:20px}a[data-v-cdd6b77a]{color:#444}.category-title[data-v-cdd6b77a]{font-weight:700}.category-item[data-v-cdd6b77a]{padding:10px 10px 10px 0;list-style:none}.category-item[data-v-cdd6b77a]:before{display:none}.category-list[data-v-cdd6b77a]{display:flex;min-height:36px;align-items:center}.content-layout-container[data-v-cdd6b77a]{display:flex;flex-direction:column-reverse}@media screen and (min-width:1200px){.content-layout-container[data-v-cdd6b77a]{display:flex;flex-direction:row}.content-layout-child-container[data-v-cdd6b77a]{flex:1}.category-list[data-v-cdd6b77a]{display:block}.category-item[data-v-cdd6b77a]:before{display:inline-block}.content-layout-widget-container[data-v-cdd6b77a]{width:100px;padding:20px}}@media screen and (max-width:1200px){.category-list[data-v-cdd6b77a]{margin:0}}.page-navi[data-v-422f221b]{padding:20px 0;text-align:center} \ No newline at end of file diff --git a/assets/index.f51f598c.css b/assets/index.f51f598c.css deleted file mode 100644 index 28b4a49..0000000 --- a/assets/index.f51f598c.css +++ /dev/null @@ -1 +0,0 @@ -.signin-container[data-v-5c01e9b3]{display:flex;align-items:center;justify-content:center;padding:50px 15px}.signin-container div[data-v-5c01e9b3]{padding:15px 0;margin:0 auto;width:100%}.title[data-v-5c01e9b3]{font-size:24px;padding:15px 0;font-weight:500;color:#262626}.summary[data-v-5c01e9b3]{font-size:12px;color:#6a6a6a}.signin-title[data-v-5c01e9b3]{text-align:center}.signin-info[data-v-5c01e9b3]{font-size:12px}div button[data-v-5c01e9b3],div input[data-v-5c01e9b3]{outline:0;display:flex;justify-content:center;align-items:center;padding:10px;width:100%;border-radius:5px;border:1px solid #999;font-size:14px;box-sizing:border-box}.signin-info span[data-v-5c01e9b3]{font-weight:bolder}.signin-main[data-v-5c01e9b3]{max-width:750px;overflow:hidden}.btn-login-register[data-v-5c01e9b3]{background-color:#f5f5f5;opacity:.5}.btn-login-register[data-v-5c01e9b3]:hover{opacity:1} \ No newline at end of file diff --git a/assets/index.vue_vue&type=style&index=0&lang-legacy.acfbfdf7.js b/assets/index.vue_vue&type=style&index=0&lang-legacy.acfbfdf7.js deleted file mode 100644 index d4d7f26..0000000 --- a/assets/index.vue_vue&type=style&index=0&lang-legacy.acfbfdf7.js +++ /dev/null @@ -1 +0,0 @@ -var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".happy-header-wrapper[data-v-24eaece2]{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;height:60px;color:#6a6a6a;margin:0 auto}.title[data-v-24eaece2]:hover{color:#000}.title[data-v-24eaece2]{font-weight:600;font-size:18px;cursor:pointer}.brief[data-v-24eaece2]{font-size:14px}.tools-user[data-v-24eaece2]{font-size:14px}.tools-container[data-v-24eaece2]{display:flex;justify-content:center;align-items:center}.site-status[data-v-c949bfb0]{display:flex;align-items:center;flex-wrap:wrap}.footer-container[data-v-c949bfb0]{display:flex;align-items:flex-start;justify-content:space-between;background:#f5f5f5;line-height:1.5;font-size:14px;color:#999;padding:10px 5%}@media screen and (min-width:1200px){.footer-container[data-v-c949bfb0]{padding:10px 15%}}.footer-info[data-v-c949bfb0]{padding:5px}.daily-read[data-v-c949bfb0]{padding:0 2px;color:#6a6a6a}.icp-link[data-v-c949bfb0]{color:#999}a[data-v-c949bfb0]{color:#6a6a6a;display:inline-block}.friend-link a[data-v-c949bfb0]{padding:0 2px}.site-link span[data-v-c949bfb0]{width:60px}.site-link[data-v-c949bfb0]{display:flex}sub[data-v-c949bfb0]{font-size:12px}.my-shake[data-v-c949bfb0]{animation:my-face-c949bfb0 1.5s infinite ease;display:inline-block;margin:0 1px}@keyframes my-face-c949bfb0{0%{-webkit-transform:translate(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) scale(1.3)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg) scale(1.4)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg) scale(1.5)}60%{-webkit-transform:translate(-3px,1px) rotate(0) scale(1.4)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg) scale(1.3)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg) scale(1.2)}90%{-webkit-transform:translate(2px,2px) rotate(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)}",document.head.appendChild(__vite_style__),System.register(["./index-legacy.befaea30.js","./vendor-legacy.b2b943d4.js"],(function(e){"use strict";var a,t,n,r,i,s,o,l,c,d,u,f,p,b,v,m;return{setters:[function(e){a=e.b,t=e.u},function(e){n=e.d,r=e.g,i=e.a,s=e.b,o=e.j,l=e.l,c=e.u,d=e.E,u=e.G,f=e.k,p=e.H,b=e.L,v=e.v,m=e.F}],execute:function(){var h=d();u("data-v-24eaece2");var g={class:"happy-header-container"},x={class:"happy-header-wrapper"},y={class:"title-container"},k={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},z=f("登录/注册");p();var j=n({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup:function(e){var n=e,d=a(),u=function(){d.push("/")},f=t();computed((function(){var e,a;return!(null==(e=f.state.User)||null==(a=e.Roles)||!a.find((function(e){return"Author"==e.Title})))}));var p=computed((function(){var e;return null!=(e=f.state.User.Id)?e:0})),b=computed((function(){var e;return null!=(e=f.state.User.Avatar)?e:""})),v=n.title,m=n.brief;return h((function(e,a){var t=r("Avatar"),n=r("router-link");return i(),s("header",g,[o("div",x,[o("div",y,[o("div",{class:"title",onClick:u},l(c(v)),1),o("div",k,l(c(m)),1)]),o("div",w,[c(p)>0?(i(),s("span",_,[o(n,{to:"/users/"+c(p)},{default:h((function(){return[o(t,{src:c(b),size:"40px"},null,8,["src"])]})),_:1},8,["to"])])):(i(),s("span",F,[o(n,{to:"/signin"},{default:h((function(){return[z]})),_:1})]))])])])}))}});j.__scopeId="data-v-24eaece2";var M=d();u("data-v-c949bfb0");var I={class:"footer-container"},A={class:"footer-info content-limit-three"},U=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),C=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),S={class:"site-status"},T=f(" 本网站已坚持用 "),D=o("span",{class:"my-shake"},"❤️",-1),E=f("发 "),H=o("span",{class:"my-shake"},"⚡",-1),L=o("img",{src:"https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Funliar%2Fhappy-upptime%2Fmaster%2Fapi%2Fhappysooner-com%2Fuptime.json"},null,-1),O=o("div",null,"本网站的作者头发还剩下挺多的。",-1),q={class:"footer-info"},G={class:"site-link"},P=f("关于本站"),R=f("随机阅读"),Y=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),$=b('',1);p();var B=n({expose:[],setup:function(e){var a,t=ref("2021"),n=reactive({day:0,hour:0,min:0,sec:0});return onMounted((function(){var e=(new Date).getFullYear();t.value=""+e,a=setInterval((function(){var e=Date.now(),a=Math.floor((e-15671808e5)/1e3),t=Math.floor(a/60/60/24),r=Math.floor(a/60/60)%24,i=Math.floor(a/60)%60,s=Math.floor(a%60);n.day=t,n.hour=r,n.min=i,n.sec=s}))})),onUnmounted((function(){clearInterval(a)})),M((function(e,a){var c=r("router-link");return i(),s("footer",I,[o("div",A,[o("div",null,[f(" © 2019 - "+l(t.value)+" 远浅 ",1),U]),C,o("div",S,[T,D,E,H,f(" 运行了 "+l(n.day)+"天"+l(n.hour)+"小时 "+l(n.min)+"分"+l(n.sec)+"秒。 ",1),L]),O]),o("div",q,[o("div",G,[o("span",null,[o(c,{to:"/about"},{default:M((function(){return[P]})),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:M((function(){return[R]})),_:1})]),Y]),$])])}))}});B.__scopeId="data-v-c949bfb0";var J={class:"main-container"},K={class:"sticky-container"},N={class:"default-layout-container"};e("_",n({expose:[],setup:function(e){return function(e,a){return i(),s(m,null,[o("div",J,[o("div",K,[o(j,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",N,[v(e.$slots,"default")])]),o(B)],64)}}}))}}})); diff --git a/assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js b/assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js new file mode 100644 index 0000000..95f2737 --- /dev/null +++ b/assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js @@ -0,0 +1 @@ +var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".happy-header-wrapper[data-v-e7338c34]{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;height:60px;color:#6a6a6a;margin:0 auto}.title[data-v-e7338c34]:hover{color:#000}.title[data-v-e7338c34]{font-weight:600;font-size:18px;cursor:pointer}.brief[data-v-e7338c34]{font-size:14px}.tools-user[data-v-e7338c34]{font-size:14px}.tools-container[data-v-e7338c34]{display:flex;justify-content:center;align-items:center}.site-status[data-v-c949bfb0]{display:flex;align-items:center;flex-wrap:wrap}.footer-container[data-v-c949bfb0]{display:flex;align-items:flex-start;justify-content:space-between;background:#f5f5f5;line-height:1.5;font-size:14px;color:#999;padding:10px 5%}@media screen and (min-width:1200px){.footer-container[data-v-c949bfb0]{padding:10px 15%}}.footer-info[data-v-c949bfb0]{padding:5px}.daily-read[data-v-c949bfb0]{padding:0 2px;color:#6a6a6a}.icp-link[data-v-c949bfb0]{color:#999}a[data-v-c949bfb0]{color:#6a6a6a;display:inline-block}.friend-link a[data-v-c949bfb0]{padding:0 2px}.site-link span[data-v-c949bfb0]{width:60px}.site-link[data-v-c949bfb0]{display:flex}sub[data-v-c949bfb0]{font-size:12px}.my-shake[data-v-c949bfb0]{animation:my-face-c949bfb0 1.5s infinite ease;display:inline-block;margin:0 1px}@keyframes my-face-c949bfb0{0%{-webkit-transform:translate(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) scale(1.3)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg) scale(1.4)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg) scale(1.5)}60%{-webkit-transform:translate(-3px,1px) rotate(0) scale(1.4)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg) scale(1.3)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg) scale(1.2)}90%{-webkit-transform:translate(2px,2px) rotate(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)}",document.head.appendChild(__vite_style__),System.register(["./index-legacy.6cec1b28.js","./vendor-legacy.73e5f43f.js"],(function(t){"use strict";var a,e,n,r,i,s,o,l,c,d,f,u,p,b,v,m;return{setters:[function(t){a=t.b,e=t.u},function(t){n=t.k,r=t.x,i=t.n,s=t.p,o=t.z,l=t.B,c=t.u,d=t.N,f=t.O,u=t.A,p=t.P,b=t.S,v=t.G,m=t.F}],execute:function(){var h=d();f("data-v-e7338c34");var x={class:"happy-header-container"},y={class:"happy-header-wrapper"},g={class:"title-container"},k={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},z=u("登录/注册");p();var M=n({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup:function(t){var n=t,d=a(),f=function(){d.push("/")},u=e();computed((function(){var t,a;return!(null==(t=u.User)||null==(a=t.Roles)||!a.find((function(t){return"Author"==t.Title})))}));var p=computed((function(){var t;return null!=(t=u.User.Id)?t:0})),b=computed((function(){var t;return null!=(t=u.User.Avatar)?t:""})),v=n.title,m=n.brief;return h((function(t,a){var e=r("Avatar"),n=r("router-link");return i(),s("header",x,[o("div",y,[o("div",g,[o("div",{class:"title",onClick:f},l(c(v)),1),o("div",k,l(c(m)),1)]),o("div",w,[c(p)>0?(i(),s("span",_,[o(n,{to:"/users/"+c(p)},{default:h((function(){return[o(e,{src:c(b),size:"40px"},null,8,["src"])]})),_:1},8,["to"])])):(i(),s("span",F,[o(n,{to:"/signin"},{default:h((function(){return[z]})),_:1})]))])])])}))}});M.__scopeId="data-v-e7338c34";var j=d();f("data-v-c949bfb0");var I={class:"footer-container"},A={class:"footer-info content-limit-three"},S=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),U=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),C={class:"site-status"},O=u(" 本网站已坚持用 "),T=o("span",{class:"my-shake"},"❤️",-1),D=u("发 "),P=o("span",{class:"my-shake"},"⚡",-1),q=o("img",{src:"https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Funliar%2Fhappy-upptime%2Fmaster%2Fapi%2Fhappysooner-com%2Fuptime.json"},null,-1),B=o("div",null,"本网站的作者头发还剩下挺多的。",-1),E={class:"footer-info"},G={class:"site-link"},H=u("关于本站"),L=u("随机阅读"),N=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),R=b('',1);p();var Y=n({expose:[],setup:function(t){var a,e=ref("2021"),n=reactive({day:0,hour:0,min:0,sec:0});return onMounted((function(){var t=(new Date).getFullYear();e.value=""+t,a=setInterval((function(){var t=Date.now(),a=Math.floor((t-15671808e5)/1e3),e=Math.floor(a/60/60/24),r=Math.floor(a/60/60)%24,i=Math.floor(a/60)%60,s=Math.floor(a%60);n.day=e,n.hour=r,n.min=i,n.sec=s}))})),onUnmounted((function(){clearInterval(a)})),j((function(t,a){var c=r("router-link");return i(),s("footer",I,[o("div",A,[o("div",null,[u(" © 2019 - "+l(e.value)+" 远浅 ",1),S]),U,o("div",C,[O,T,D,P,u(" 运行了 "+l(n.day)+"天"+l(n.hour)+"小时 "+l(n.min)+"分"+l(n.sec)+"秒。 ",1),q]),B]),o("div",E,[o("div",G,[o("span",null,[o(c,{to:"/about"},{default:j((function(){return[H]})),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:j((function(){return[L]})),_:1})]),N]),R])])}))}});Y.__scopeId="data-v-c949bfb0";var $={class:"main-container"},J={class:"sticky-container"},K={class:"default-layout-container"};t("_",n({expose:[],setup:function(t){return function(t,a){return i(),s(m,null,[o("div",$,[o("div",J,[o(M,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",K,[v(t.$slots,"default")])]),o(Y)],64)}}}))}}})); diff --git a/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js b/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js deleted file mode 100644 index ad6e073..0000000 --- a/assets/index.vue_vue&type=style&index=0&lang.2e9c245a.js +++ /dev/null @@ -1 +0,0 @@ -import{b as a,u as t}from"./index.6d51bcce.js";import{d as e,g as s,a as r,b as n,j as o,l,u as i,E as c,G as u,k as d,H as p,L as v,v as f,F as b}from"./vendor.8d059d2b.js";const h=c();u("data-v-24eaece2");const m={class:"happy-header-container"},y={class:"happy-header-wrapper"},k={class:"title-container"},g={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},x=d("登录/注册");p();var I=e({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup(e){const c=e,u=a(),d=()=>{u.push("/")},p=t();computed((()=>{var a,t;return!!(null==(t=null==(a=p.state.User)?void 0:a.Roles)?void 0:t.find((a=>"Author"==a.Title)))}));const v=computed((()=>{var a;return null!=(a=p.state.User.Id)?a:0})),f=computed((()=>{var a;return null!=(a=p.state.User.Avatar)?a:""})),b=c.title,I=c.brief;return h(((a,t)=>{const e=s("Avatar"),c=s("router-link");return r(),n("header",m,[o("div",y,[o("div",k,[o("div",{class:"title",onClick:d},l(i(b)),1),o("div",g,l(i(I)),1)]),o("div",w,[i(v)>0?(r(),n("span",_,[o(c,{to:`/users/${i(v)}`},{default:h((()=>[o(e,{src:i(f),size:"40px"},null,8,["src"])])),_:1},8,["to"])])):(r(),n("span",F,[o(c,{to:"/signin"},{default:h((()=>[x])),_:1})]))])])])}))}});I.__scopeId="data-v-24eaece2";const M=c();u("data-v-c949bfb0");const j={class:"footer-container"},A={class:"footer-info content-limit-three"},U=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),z=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),$={class:"site-status"},C=d(" 本网站已坚持用 "),D=o("span",{class:"my-shake"},"❤️",-1),O=d("发 "),S=o("span",{class:"my-shake"},"⚡",-1),T=o("img",{src:"https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Funliar%2Fhappy-upptime%2Fmaster%2Fapi%2Fhappysooner-com%2Fuptime.json"},null,-1),q=o("div",null,"本网站的作者头发还剩下挺多的。",-1),E={class:"footer-info"},G={class:"site-link"},H=d("关于本站"),L=d("随机阅读"),P=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),R=v('',1);p();var Y=e({expose:[],setup(a){const t=ref("2021"),e=reactive({day:0,hour:0,min:0,sec:0});let i;return onMounted((()=>{const a=(new Date).getFullYear();t.value=`${a}`,i=setInterval((()=>{const a=Date.now(),t=Math.floor((a-15671808e5)/1e3),s=Math.floor(t/60/60/24),r=Math.floor(t/60/60)%24,n=Math.floor(t/60)%60,o=Math.floor(t%60);e.day=s,e.hour=r,e.min=n,e.sec=o}))})),onUnmounted((()=>{clearInterval(i)})),M(((a,i)=>{const c=s("router-link");return r(),n("footer",j,[o("div",A,[o("div",null,[d(" © 2019 - "+l(t.value)+" 远浅 ",1),U]),z,o("div",$,[C,D,O,S,d(" 运行了 "+l(e.day)+"天"+l(e.hour)+"小时 "+l(e.min)+"分"+l(e.sec)+"秒。 ",1),T]),q]),o("div",E,[o("div",G,[o("span",null,[o(c,{to:"/about"},{default:M((()=>[H])),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:M((()=>[L])),_:1})]),P]),R])])}))}});Y.__scopeId="data-v-c949bfb0";const B={class:"main-container"},J={class:"sticky-container"},K={class:"default-layout-container"};var N=e({expose:[],setup:a=>(a,t)=>(r(),n(b,null,[o("div",B,[o("div",J,[o(I,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",K,[f(a.$slots,"default")])]),o(Y)],64))});export{N as _}; diff --git a/assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css b/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css similarity index 85% rename from assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css rename to assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css index 186db9e..90ed04d 100644 --- a/assets/index.vue_vue&type=style&index=0&lang.a6d1317a.css +++ b/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css @@ -1 +1 @@ -.happy-header-wrapper[data-v-24eaece2]{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;height:60px;color:#6a6a6a;margin:0 auto}.title[data-v-24eaece2]:hover{color:#000}.title[data-v-24eaece2]{font-weight:600;font-size:18px;cursor:pointer}.brief[data-v-24eaece2]{font-size:14px}.tools-user[data-v-24eaece2]{font-size:14px}.tools-container[data-v-24eaece2]{display:flex;justify-content:center;align-items:center}.site-status[data-v-c949bfb0]{display:flex;align-items:center;flex-wrap:wrap}.footer-container[data-v-c949bfb0]{display:flex;align-items:flex-start;justify-content:space-between;background:#f5f5f5;line-height:1.5;font-size:14px;color:#999;padding:10px 5%}@media screen and (min-width:1200px){.footer-container[data-v-c949bfb0]{padding:10px 15%}}.footer-info[data-v-c949bfb0]{padding:5px}.daily-read[data-v-c949bfb0]{padding:0 2px;color:#6a6a6a}.icp-link[data-v-c949bfb0]{color:#999}a[data-v-c949bfb0]{color:#6a6a6a;display:inline-block}.friend-link a[data-v-c949bfb0]{padding:0 2px}.site-link span[data-v-c949bfb0]{width:60px}.site-link[data-v-c949bfb0]{display:flex}sub[data-v-c949bfb0]{font-size:12px}.my-shake[data-v-c949bfb0]{animation:my-face-c949bfb0 1.5s infinite ease;display:inline-block;margin:0 1px}@keyframes my-face-c949bfb0{0%{-webkit-transform:translate(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) scale(1.3)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg) scale(1.4)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg) scale(1.5)}60%{-webkit-transform:translate(-3px,1px) rotate(0) scale(1.4)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg) scale(1.3)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg) scale(1.2)}90%{-webkit-transform:translate(2px,2px) rotate(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)} \ No newline at end of file +.happy-header-wrapper[data-v-e7338c34]{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;height:60px;color:#6a6a6a;margin:0 auto}.title[data-v-e7338c34]:hover{color:#000}.title[data-v-e7338c34]{font-weight:600;font-size:18px;cursor:pointer}.brief[data-v-e7338c34]{font-size:14px}.tools-user[data-v-e7338c34]{font-size:14px}.tools-container[data-v-e7338c34]{display:flex;justify-content:center;align-items:center}.site-status[data-v-c949bfb0]{display:flex;align-items:center;flex-wrap:wrap}.footer-container[data-v-c949bfb0]{display:flex;align-items:flex-start;justify-content:space-between;background:#f5f5f5;line-height:1.5;font-size:14px;color:#999;padding:10px 5%}@media screen and (min-width:1200px){.footer-container[data-v-c949bfb0]{padding:10px 15%}}.footer-info[data-v-c949bfb0]{padding:5px}.daily-read[data-v-c949bfb0]{padding:0 2px;color:#6a6a6a}.icp-link[data-v-c949bfb0]{color:#999}a[data-v-c949bfb0]{color:#6a6a6a;display:inline-block}.friend-link a[data-v-c949bfb0]{padding:0 2px}.site-link span[data-v-c949bfb0]{width:60px}.site-link[data-v-c949bfb0]{display:flex}sub[data-v-c949bfb0]{font-size:12px}.my-shake[data-v-c949bfb0]{animation:my-face-c949bfb0 1.5s infinite ease;display:inline-block;margin:0 1px}@keyframes my-face-c949bfb0{0%{-webkit-transform:translate(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) scale(1.3)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg) scale(1.4)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg) scale(1.5)}60%{-webkit-transform:translate(-3px,1px) rotate(0) scale(1.4)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg) scale(1.3)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg) scale(1.2)}90%{-webkit-transform:translate(2px,2px) rotate(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)} \ No newline at end of file diff --git a/assets/index.vue_vue&type=style&index=0&lang.d6191442.js b/assets/index.vue_vue&type=style&index=0&lang.d6191442.js new file mode 100644 index 0000000..566c967 --- /dev/null +++ b/assets/index.vue_vue&type=style&index=0&lang.d6191442.js @@ -0,0 +1 @@ +import{b as a,u as t}from"./index.7b8df9f4.js";import{k as e,x as s,n as r,p as n,z as o,B as l,u as i,N as c,O as u,A as d,P as p,S as v,G as f,F as h}from"./vendor.18b3a30d.js";const b=c();u("data-v-e7338c34");const m={class:"happy-header-container"},y={class:"happy-header-wrapper"},k={class:"title-container"},g={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},x=d("登录/注册");p();var I=e({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup(e){const c=e,u=a(),d=()=>{u.push("/")},p=t();computed((()=>{var a,t;return!!(null==(t=null==(a=p.User)?void 0:a.Roles)?void 0:t.find((a=>"Author"==a.Title)))}));const v=computed((()=>{var a;return null!=(a=p.User.Id)?a:0})),f=computed((()=>{var a;return null!=(a=p.User.Avatar)?a:""})),h=c.title,I=c.brief;return b(((a,t)=>{const e=s("Avatar"),c=s("router-link");return r(),n("header",m,[o("div",y,[o("div",k,[o("div",{class:"title",onClick:d},l(i(h)),1),o("div",g,l(i(I)),1)]),o("div",w,[i(v)>0?(r(),n("span",_,[o(c,{to:`/users/${i(v)}`},{default:b((()=>[o(e,{src:i(f),size:"40px"},null,8,["src"])])),_:1},8,["to"])])):(r(),n("span",F,[o(c,{to:"/signin"},{default:b((()=>[x])),_:1})]))])])])}))}});I.__scopeId="data-v-e7338c34";const M=c();u("data-v-c949bfb0");const A={class:"footer-container"},z={class:"footer-info content-limit-three"},U=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),j=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),O={class:"site-status"},S=d(" 本网站已坚持用 "),$=o("span",{class:"my-shake"},"❤️",-1),C=d("发 "),D=o("span",{class:"my-shake"},"⚡",-1),P=o("img",{src:"https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Funliar%2Fhappy-upptime%2Fmaster%2Fapi%2Fhappysooner-com%2Fuptime.json"},null,-1),T=o("div",null,"本网站的作者头发还剩下挺多的。",-1),q={class:"footer-info"},B={class:"site-link"},G=d("关于本站"),N=d("随机阅读"),R=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),Y=v('',1);p();var E=e({expose:[],setup(a){const t=ref("2021"),e=reactive({day:0,hour:0,min:0,sec:0});let i;return onMounted((()=>{const a=(new Date).getFullYear();t.value=`${a}`,i=setInterval((()=>{const a=Date.now(),t=Math.floor((a-15671808e5)/1e3),s=Math.floor(t/60/60/24),r=Math.floor(t/60/60)%24,n=Math.floor(t/60)%60,o=Math.floor(t%60);e.day=s,e.hour=r,e.min=n,e.sec=o}))})),onUnmounted((()=>{clearInterval(i)})),M(((a,i)=>{const c=s("router-link");return r(),n("footer",A,[o("div",z,[o("div",null,[d(" © 2019 - "+l(t.value)+" 远浅 ",1),U]),j,o("div",O,[S,$,C,D,d(" 运行了 "+l(e.day)+"天"+l(e.hour)+"小时 "+l(e.min)+"分"+l(e.sec)+"秒。 ",1),P]),T]),o("div",q,[o("div",B,[o("span",null,[o(c,{to:"/about"},{default:M((()=>[G])),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:M((()=>[N])),_:1})]),R]),Y])])}))}});E.__scopeId="data-v-c949bfb0";const H={class:"main-container"},J={class:"sticky-container"},K={class:"default-layout-container"};var L=e({expose:[],setup:a=>(a,t)=>(r(),n(h,null,[o("div",H,[o("div",J,[o(I,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",K,[f(a.$slots,"default")])]),o(E)],64))});export{L as _}; diff --git a/assets/pid-legacy.a7199190.js b/assets/pid-legacy.0f92b42f.js similarity index 92% rename from assets/pid-legacy.a7199190.js rename to assets/pid-legacy.0f92b42f.js index 38cf04c..b05df42 100644 --- a/assets/pid-legacy.a7199190.js +++ b/assets/pid-legacy.0f92b42f.js @@ -1 +1 @@ -import"core-js/modules/es.array.from.js";import"core-js/modules/es.string.iterator.js";import"core-js/modules/es.symbol.iterator.js";import"core-js/modules/es.array.iterator.js";import"core-js/modules/web.dom-collections.iterator.js";function _createForOfIteratorHelperLoose(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},M=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,B={};function N(e,t,r){var n,o,s,i,a,l="";for("string"!=typeof t&&(r=t,t=N.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=B[e];if(n)return n;for(n=B[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}N.defaultChars=";/?:@&=+$,-_.!~*'()#",N.componentChars="-_.!~*'()";var P=N,j={};function O(e,t){var r;return"string"!=typeof t&&(t=O.defaultChars),r=function(e){var t,r,n=j[e];if(n)return n;for(n=j[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&o)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}O.defaultChars=";/?:@&=+$,#",O.componentChars="";var U=O;function V(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Z=/^([a-z0-9.+-]+:)/i,H=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,G=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),J=["'"].concat(G),W=["%","/","?",";","#"].concat(J),Y=["/","?","#"],K=/^[+a-z0-9A-Z_-]{0,63}$/,Q=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,X={javascript:!0,"javascript:":!0},ee={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};V.prototype.parse=function(e,t){var r,n,o,s,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Z.exec(a);if(c&&(o=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&X[c]||(a=a.substr(2),this.slashes=!0)),!X[c]&&(i||c&&!ee[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[b];if(!_.match(K)){var k=m.slice(0,r),y=m.slice(r+1),C=g.match(Q);C&&(k.push(C[1]),y.unshift(C[2])),y.length&&(a=y.join(".")+a),this.hostname=k.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var x=a.indexOf("#");-1!==x&&(this.hash=a.substr(x),a=a.slice(0,x));var A=a.indexOf("?");return-1!==A&&(this.search=a.substr(A),a=a.slice(0,A)),a&&(this.pathname=a),ee[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},V.prototype.parseHost=function(e){var t=H.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var te={encode:P,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof V)return e;var r=new V;return r.parse(e,t),r}},re=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ne=/[\0-\x1F\x7F-\x9F]/,oe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,se={Any:re,Cc:ne,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:M,Z:oe},ie=t((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=te,t.lib.ucmicro=se,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(R,t)?R[t]:35===t.charCodeAt(0)&&l.test(t)&&o(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=o,t.fromCodePoint=s,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return M.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),ae=ie.unescapeAll,le=ie.unescapeAll,ce={parseLinkLabel:function(e,t,r){var n,o,s,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===o)break;o--}t++}return s===t||0!==o||(i.str=ae(e.slice(s,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,o,s=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return a;for(t++,40===o&&(o=41);t"+he(e[t].content)+""},de.code_block=function(e,t,r,n,o){var s=e[t];return""+he(e[t].content)+"\n"},de.fence=function(e,t,r,n,o){var s,i,a,l,c,u=e[t],p=u.info?pe(u.info).trim():"",h="",d="";return p&&(h=(a=p.split(/(\s+)/g))[0],d=a.slice(2).join("")),0===(s=r.highlight&&r.highlight(u.content,h,d)||he(u.content)).indexOf(""+s+"\n"):"
"+s+"
\n"},de.image=function(e,t,r,n,o){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,r,n),o.renderToken(e,t,r)},de.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},de.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},de.text=function(e,t){return he(e[t].content)},de.html_block=function(e,t){return e[t].content},de.html_inline=function(e,t){return e[t].content},fe.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},fe.prototype.renderInline=function(e,t,r){for(var n,o="",s=this.rules,i=0,a=e.length;i/i.test(e)}var Ce=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,xe=/\((c|tm|r|p)\)/i,Ae=/\((c|tm|r|p)\)/gi,we={c:"©",r:"®",p:"§",tm:"™"};function De(e,t){return we[t.toLowerCase()]}function Ee(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(Ae,De)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function qe(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||Ce.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Se=ie.isWhiteSpace,Fe=ie.isPunctChar,Le=ie.isMdAsciiPunct,ze=/['"]/,Ie=/['"]/g;function Te(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Re(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v,k,y,C;for(k=[],r=0;r=0&&!(k[b].level<=l);b--);if(k.length=b+1,"text"===n.type){i=0,a=(o=n.content).length;e:for(;i=0)u=o.charCodeAt(s.index-1);else for(b=r-1;b>=0&&("softbreak"!==e[b].type&&"hardbreak"!==e[b].type);b--)if(e[b].content){u=e[b].content.charCodeAt(e[b].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(b=k.length-1;b>=0&&(c=k[b],!(k[b].level=0&&(r=this.attrs[t][1]),r},Me.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Be=Me;function Ne(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ne.prototype.Token=Be;var Pe=Ne,je=[["normalize",function(e){var t;t=(t=e.src.replace(be,"\n")).replace(ve,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r=0;t--)if("link_close"!==(i=o[t]).type){if("html_inline"===i.type&&(b=i.content,/^\s]/i.test(b)&&d>0&&d--,ye(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((s=new e.Token("text","",0)).content=c.slice(p,u),s.level=h,a.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",m]],s.level=h++,s.markup="linkify",s.info="auto",a.push(s),(s=new e.Token("text","",0)).content=g,s.level=h,a.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",a.push(s),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(xe.test(e.tokens[t].content)&&Ee(e.tokens[t].children),Ce.test(e.tokens[t].content)&&qe(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&ze.test(e.tokens[t].content)&&Re(e.tokens[t].children,e)}]];function Oe(){this.ruler=new _e;for(var e=0;e=s)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=s)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-n>=10)return-1}return o`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",tt="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",rt={HTML_TAG_RE:new RegExp("^(?:"+et+"|"+tt+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+et+"|"+tt+")")},nt=rt.HTML_OPEN_CLOSE_TAG_RE,ot=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(nt.source+"\\s*$"),/^$/,!1]],st=ie.isSpace;function it(e,t,r,n){var o,s,i,a,l,c,u,p;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,i=a=c=u=0,l=(s=this.src).length;a0&&this.level++,this.tokens.push(n),n},it.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},it.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!st(this.src.charCodeAt(--e)))return e+1;return e},it.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},it.prototype.getLines=function(e,t,r,n){var o,s,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),o=0;pr?new Array(s-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},it.prototype.Token=Be;var at=it,lt=[["table",function(e,t,r,n){var o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(o=e.src.charCodeAt(i++))&&45!==o&&58!==o)return!1;for(;i=4)return!1;if((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",v=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=4))break;o=++n}return e.line=o,(s=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),s.map=[t,e.line],!0}],["fence",function(e,t,r,n){var o,s,i,a,l,c,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(o=e.src.charCodeAt(h))&&96!==o)return!1;if(l=h,(s=(h=e.skipChars(h,o))-l)<3)return!1;if(u=e.src.slice(l,h),i=e.src.slice(h,d),96===o&&i.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((h=l=e.bMarks[a]+e.tShift[a])<(d=e.eMarks[a])&&e.sCount[a]=4||(h=e.skipChars(h,o))-l=4)return!1;if(62!==e.src.charCodeAt(w++))return!1;if(n)return!0;for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(w)?(w++,a++,h++,o=!1,v=!0):9===e.src.charCodeAt(w)?(v=!0,(e.bsCount[t]+h)%4==3?(w++,a++,h++,o=!1):o=!0):v=!1,d=[e.bMarks[t]],e.bMarks[t]=w;w=D,_=[e.sCount[t]],e.sCount[t]=h-a,b=[e.tShift[t]],e.tShift[t]=w-e.bMarks[t],y=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(D=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(w++)||x){if(c)break;for(k=!1,i=0,l=y.length;i=D,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(v?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,b.push(e.tShift[p]),e.tShift[p]=w-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=u=[t,0],e.md.block.tokenize(e,t,p),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=A,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(s=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(D=Ye(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,D-q-1)),z&&1!==g)return!1}else{if(!((D=We(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(D-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),b=t,E=!1,F=e.md.block.ruler.getRules("list"),y=e.parentType,e.parentType="list";b=_?1:v-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],A=e.tight,x=e.tShift[t],C=e.sCount[t],k=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=v,s>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=k,e.tShift[t]=x,e.sCount[t]=C,e.tight=A,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),b=t=e.line,p[1]=b,s=e.bMarks[t],b>=r)break;if(e.sCount[b]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(y))return!1;for(;++y3||e.sCount[x]<0)){for(_=!1,c=0,u=b.length;c=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=c)return!1;for(s=1,o=e.src.charCodeAt(++l);35===o&&l6||ll&&Xe(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,o,s,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,s=0,i=f.length;s=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),o=0;o3||e.sCount[l]<0)){for(n=!1,o=0,s=c.length;o=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".split("").forEach((function(e){ft[e.charCodeAt(0)]=1}));function gt(e,t){var r,n,o,s,i,a=[],l=t.length;for(r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(s=e.tokens[n.token]).type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?i+i:i,s.content="",(s=e.tokens[o.token]).type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?i+i:i,s.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var vt={tokenize:function(e,t){var r,n,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(95!==s&&42!==s)return!1;for(n=e.scanDelims(e.pos,42===s),r=0;r\x00-\x20]*)$/,Dt=rt.HTML_TAG_RE;var Et=ie.has,qt=ie.isValidEntityCode,St=ie.fromCodePoint,Ft=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Lt=/^&([a-z][a-z0-9]{1,31});/i;function zt(e,t){var r,n,o,s,i,a,l,c,u={},p=t.length;for(r=0;ri;n-=s.jump+1)if((s=t[n]).marker===o.marker&&s.open&&s.end<0&&(l=!1,(s.close||o.open)&&(s.length+o.length)%3==0&&(s.length%3==0&&o.length%3==0||(l=!0)),!l)){c=n>0&&!t[n-1].open?t[n-1].jump+1:0,o.jump=r-n+c,o.open=!1,s.end=r,s.jump=c,s.close=!1,a=-1;break}-1!==a&&(u[o.marker][(o.length||0)%3]=a)}}var It=ie.isWhiteSpace,Tt=ie.isPunctChar,Rt=ie.isMdAsciiPunct;function Mt(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Mt.prototype.pushPending=function(){var e=new Be("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Mt.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Be(e,t,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},Mt.prototype.scanDelims=function(e,t){var r,n,o,s,i,a,l,c,u,p=e,h=!0,d=!0,f=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;p=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?o=e.src.slice(f,a++):a=s+1):a=s+1,o||(o=e.src.slice(i,s)),!(c=e.env.references[kt(o)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?s=e.src.slice(f,l++):l=i+1):l=i+1,s||(s=e.src.slice(a,i)),!(c=e.env.references[Ct(s)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(o=e.src.slice(a,i),e.md.inline.parse(o,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=o,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,o,s,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(s=e.src.charCodeAt(l)))return!1;if(62===s)break}return r=e.src.slice(i+1,l),wt.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0)):!!At.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,o,s=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=o)&&(!(33!==(r=e.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(s).match(Dt))&&(t||(e.push("html_inline","",0).content=e.src.slice(s,s+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,o=e.pos,s=e.posMax;if(38!==e.src.charCodeAt(o))return!1;if(o+10&&n++,"text"===o[t].type&&t+1=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},jt.prototype.parse=function(e,t,r,n){var o,s,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(s=this.ruler2.getRules("")).length,o=0;o=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Jt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Wt(e){var t=e.re=function(e){var t={};return t.src_Any=re.source,t.src_Cc=ne.source,t.src_Z=oe.source,t.src_P=M.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var o=[];function s(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Vt(r))return!function(e){return"[object RegExp]"===Vt(e)}(r.validate)?Zt(r.validate)?n.validate=r.validate:s(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(Zt(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Vt(e)}(r)?s(t,r):o.push(t)}})),o.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var i=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Ht).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Yt(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function Kt(e,t){var r=new Yt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Qt(e,t){if(!(this instanceof Qt))return new Qt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Gt,e),this.__compiled__={},this.__tlds__=Jt,this.__tlds_replaced__=!1,this.re={},Wt(this)}Qt.prototype.add=function(e,t){return this.__schemas__[e]=t,Wt(this),this},Qt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Qt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,s,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i)),this.__index__>=0},Qt.prototype.pretest=function(e){return this.re.pretest.test(e)},Qt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Qt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Kt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Kt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Qt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Wt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Wt(this),this)},Qt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Qt.prototype.onCompile=function(){};var Xt=Qt,er=2147483647,tr=36,rr=/^xn--/,nr=/[^\0-\x7E]/,or=/[\x2E\u3002\uFF0E\uFF61]/g,sr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ir=Math.floor,ar=String.fromCharCode;function lr(e){throw new RangeError(sr[e])}function cr(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var o=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(or,".")).split("."),t).join(".");return n+o}function ur(e){for(var t=[],r=0,n=e.length;r=55296&&o<=56319&&r>1,e+=ir(e/t);e>455;n+=tr)e=ir(e/35);return ir(n+36*e/(e+38))},fr=function(e){var t,r=[],n=e.length,o=0,s=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var l=0;l=128&&lr("not-basic"),r.push(e.charCodeAt(l));for(var c=a>0?a+1:0;c=n&&lr("invalid-input");var d=(t=e.charCodeAt(c++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:tr;(d>=tr||d>ir((er-o)/p))&&lr("overflow"),o+=d*p;var f=h<=i?1:h>=i+26?26:h-i;if(dir(er/m)&&lr("overflow"),p*=m}var g=r.length+1;i=dr(o-u,g,0==u),ir(o/g)>er-s&&lr("overflow"),s+=ir(o/g),o%=g,r.splice(o++,0,s)}return String.fromCodePoint.apply(String,r)},mr=function(e){for(var t,r=[],n=(e=ur(e)).length,o=128,s=0,i=72,a=_createForOfIteratorHelperLoose(e);!(t=a()).done;){var l=t.value;l<128&&r.push(ar(l))}var c=r.length,u=c;for(c&&r.push("-");u=o&&fir((er-s)/m)&&lr("overflow"),s+=(h-o)*m,o=h;for(var g,_=_createForOfIteratorHelperLoose(e);!(g=_()).done;){var b=g.value;if(ber&&lr("overflow"),b==o){for(var v=s,k=tr;;k+=tr){var y=k<=i?1:k>=i+26?26:k-i;if(v=0))try{t.hostname=kr.toASCII(t.hostname)}catch(r){}return te.encode(te.format(t))}function Er(e){var t=te.parse(e,!0);if(t.hostname&&(!t.protocol||wr.indexOf(t.protocol)>=0))try{t.hostname=kr.toUnicode(t.hostname)}catch(r){}return te.decode(te.format(t),te.decode.defaultChars+"%")}function qr(e,t){if(!(this instanceof qr))return new qr(e,t);t||ie.isString(e)||(t=e||{},e="default"),this.inline=new Ot,this.block=new ut,this.core=new Ue,this.renderer=new me,this.linkify=new Xt,this.validateLink=Ar,this.normalizeLink=Dr,this.normalizeLinkText=Er,this.utils=ie,this.helpers=ie.assign({},ce),this.options={},this.configure(e),t&&this.set(t)}qr.prototype.set=function(e){return ie.assign(this.options,e),this},qr.prototype.configure=function(e){var t,r=this;if(ie.isString(e)&&!(e=yr[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},qr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},qr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},qr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},qr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},qr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},qr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},qr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Sr=new qr,Fr=b();v("data-v-64deee34");var Lr={class:"comment-container"},zr={class:"comment-send"},Ir={class:"comment-input"},Tr=a("div",{class:"comment-title"},[a("span",null,"文章交流区")],-1),Rr={class:"comment-list"},Mr={class:"comment-avatar"},Br={class:"comment-content"},Nr={class:"main-comment"},Pr={class:"comment-user-info"},jr={class:"floor"},Or={class:"badge"},Ur={key:0,class:"author"},Vr={class:"time"},Zr={class:"main-content"},Hr={key:0,class:"empty-content"};k();var $r=n({expose:[],props:{postId:Number,authorId:Number},setup:function(e){var t=e,r=A(),n=w(),b=D(),v=computed((function(){var e,t,r;return null!=(e=null==b||null==(t=b.state)||null==(r=t.User)?void 0:r.Id)&&e})),k=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),C=function(){k.text?k.submitting?r.warning("评论过快"):(k.submitting=!0,q({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:k.text+" ____ From Vue-next"}).then((function(e){if(null!=e&&e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose:function(){n.push("/signin")}}):void r.warning("评论出错: "+e.ErrorCode+" "+e.ErrorMsg);r.success("评论成功~"),k.text="",k.listLoadingStatus=1,E({Page:1,Size:15,PostID:t.postId||-1}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];k.list=n})).finally((function(){k.listLoadingStatus=0}))})).finally((function(){k.submitting=!1}))):r.warning("评论不能为空")},x=function(){n.push("/signin")},S=z;onMounted((function(){k.listLoadingStatus=2,k.page=1,k.loaded=!1,E({PostID:t.postId||0,Page:1,Size:15}).then((function(e){var t,n,o,s=null!=(t=null==e||null==(n=e.Result)?void 0:n.Comments)?t:[];k.list=s,15===s.length?k.loaded=!1:k.loaded=!0,e.ErrorCode&&r.warning(null!=(o=null==e?void 0:e.ErrorMsg)?o:""+e.ErrorCode)})).finally((function(){k.listLoadingStatus=0}))}));var F=function(){k.page+=1,k.listLoadingStatus=2,E({PostID:t.postId||-1,Page:k.page,Size:15}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];15===n.length?k.loaded=!1:k.loaded=!0,k.list=[].concat(k.list,n)})).finally((function(){k.listLoadingStatus=0}))};return Fr((function(e,t){var r=o("Avatar"),n=o("router-link"),b=o("LoadingBall");return s(),i("div",Lr,[a("div",zr,[a("div",Ir,[l(a("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=function(e){return k.text=e}),onKeydown:u(y(C,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[c,k.text,void 0,{trim:!0}]])]),p(v)?(s(),i("div",{key:0,class:"comment-btn",onClick:C}," 发表评论 ")):(s(),i("div",{key:1,class:"comment-btn",onClick:x},"登录发表评论"))]),Tr,a("div",Rr,[a(h,{name:"list"},{default:Fr((function(){return[(s(!0),i(d,null,f(k.list,(function(t,o){return s(),i("div",{class:"comment-item",key:t.Id},[a("div",Mr,[a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[a(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])]})),_:2},1032,["to"])]),a("div",Br,[a("div",Nr,[a("div",Pr,[a("span",jr,"#"+m(k.list.length-o),1),a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[g(m(t.CommentUserInfo.Nickname),1)]})),_:2},1032,["to"]),a("span",Or,[t.CommentUserInfo.UID==e.$props.authorId?(s(),i("sup",Ur,"本文作者")):_("",!0),(s(!0),i(d,null,f(t.CommentUserInfo.Roles,(function(e){return s(),i("sup",{class:"role",key:e.RID},m(e.Description),1)})),128))]),a("span",Vr,m(p(S)(t.CreatedAt)),1)]),a("div",Zr,m(t.Content),1)])])])})),128))]})),_:1}),0!==k.list.length||k.listLoadingStatus?_("",!0):(s(),i("div",Hr," 暂无任何评论,快去发表吧~ ")),a(b,{loading:k.list.length>0&&2==k.listLoadingStatus},null,8,["loading"]),k.loaded||k.listLoadingStatus?_("",!0):(s(),i("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});$r.__scopeId="data-v-64deee34";var Gr=b();v("data-v-ad8ad844");var Jr={key:0},Wr={class:"article-title"},Yr={class:"artilce-info"},Kr=g(" 分类: "),Qr={class:"article-navi"};k();e("default",n({expose:[],props:{pid:{required:!0,type:Number,validator:function(e){return!isNaN(+e)}}},setup:function(e){var t=e,r=A(),n=S(t.pid),c=n.data,u=n.loading,h=computed((function(){var e,t;return Sr.render(null!=(e=null==(t=c.value.Result)?void 0:t.Content)?e:"")})),d=computed((function(){var e,t;return I(null!=(e=null==(t=c.value.Result)?void 0:t.CreatedAt)?e:Date.now())})),f=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Title})),b=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Summary})),v=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.UID})),k=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.Nickname})),y=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.Id})),w=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.CN})),D=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Id})),E=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Id})),q=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Title})),z=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Title})),T=computed((function(){return k.value+"发表了"+f.value+","+b.value}));return F({title:f,meta:[{name:"description",content:T},{name:"author",content:k}]}),watch((function(){return null==c?void 0:c.value.ErrorMsg}),(function(e,t){r.error("请求出错:"+e)})),Gr((function(e,r){var n=o("LoadingBall"),c=o("router-link"),b=C("highlight");return s(),i(L,null,{default:Gr((function(){return[a(n,{loading:p(u),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),a(x,{name:"content"},{default:Gr((function(){return[p(u)?_("",!0):(s(),i("main",Jr,[a("h1",Wr,m(p(f)),1),a("div",Yr,[a("span",null,[a(c,{to:"/users/"+p(v)},{default:Gr((function(){return[a("a",null,m(p(k)),1)]})),_:1},8,["to"])]),a("span",null,"发表于: "+m(p(d)),1),a("span",null,[Kr,a(c,{to:"/?CategoryID="+p(y)},{default:Gr((function(){return[g(m(p(w)),1)]})),_:1},8,["to"])])]),l(a("div",{innerHTML:p(h),class:"article-container"},null,8,["innerHTML"]),[[b]]),a("div",Qr,[a("div",null,[p(D)?(s(),i(c,{key:0,to:"/post/"+p(D)},{default:Gr((function(){return[g(" 上一篇 « "+m(p(z)),1)]})),_:1},8,["to"])):_("",!0)]),a("div",null,[p(E)?(s(),i(c,{key:0,to:"/post/"+p(E)},{default:Gr((function(){return[g(" 下一篇 » "+m(p(q)),1)]})),_:1},8,["to"])):_("",!0)])]),a($r,{"author-id":p(v),"post-id":t.pid},null,8,["author-id","post-id"])]))]})),_:1})]})),_:1})}))}})).__scopeId="data-v-ad8ad844"}}})); +import"core-js/modules/es.array.from.js";import"core-js/modules/es.string.iterator.js";import"core-js/modules/es.symbol.iterator.js";import"core-js/modules/es.array.iterator.js";import"core-js/modules/web.dom-collections.iterator.js";function _createForOfIteratorHelperLoose(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},M=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,B={};function N(e,t,r){var n,o,s,i,a,l="";for("string"!=typeof t&&(r=t,t=N.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=B[e];if(n)return n;for(n=B[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}N.defaultChars=";/?:@&=+$,-_.!~*'()#",N.componentChars="-_.!~*'()";var P=N,j={};function O(e,t){var r;return"string"!=typeof t&&(t=O.defaultChars),r=function(e){var t,r,n=j[e];if(n)return n;for(n=j[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&o)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}O.defaultChars=";/?:@&=+$,#",O.componentChars="";var U=O;function V(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Z=/^([a-z0-9.+-]+:)/i,H=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,G=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),J=["'"].concat(G),W=["%","/","?",";","#"].concat(J),Y=["/","?","#"],K=/^[+a-z0-9A-Z_-]{0,63}$/,Q=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,X={javascript:!0,"javascript:":!0},ee={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};V.prototype.parse=function(e,t){var r,n,o,s,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Z.exec(a);if(c&&(o=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&X[c]||(a=a.substr(2),this.slashes=!0)),!X[c]&&(i||c&&!ee[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[b];if(!_.match(K)){var k=m.slice(0,r),y=m.slice(r+1),C=g.match(Q);C&&(k.push(C[1]),y.unshift(C[2])),y.length&&(a=y.join(".")+a),this.hostname=k.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var x=a.indexOf("#");-1!==x&&(this.hash=a.substr(x),a=a.slice(0,x));var A=a.indexOf("?");return-1!==A&&(this.search=a.substr(A),a=a.slice(0,A)),a&&(this.pathname=a),ee[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},V.prototype.parseHost=function(e){var t=H.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var te={encode:P,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof V)return e;var r=new V;return r.parse(e,t),r}},re=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ne=/[\0-\x1F\x7F-\x9F]/,oe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,se={Any:re,Cc:ne,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:M,Z:oe},ie=t((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=te,t.lib.ucmicro=se,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(R,t)?R[t]:35===t.charCodeAt(0)&&l.test(t)&&o(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=o,t.fromCodePoint=s,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return M.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),ae=ie.unescapeAll,le=ie.unescapeAll,ce={parseLinkLabel:function(e,t,r){var n,o,s,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===o)break;o--}t++}return s===t||0!==o||(i.str=ae(e.slice(s,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,o,s=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return a;for(t++,40===o&&(o=41);t"+he(e[t].content)+""},de.code_block=function(e,t,r,n,o){var s=e[t];return""+he(e[t].content)+"\n"},de.fence=function(e,t,r,n,o){var s,i,a,l,c,u=e[t],p=u.info?pe(u.info).trim():"",h="",d="";return p&&(h=(a=p.split(/(\s+)/g))[0],d=a.slice(2).join("")),0===(s=r.highlight&&r.highlight(u.content,h,d)||he(u.content)).indexOf(""+s+"\n"):"
"+s+"
\n"},de.image=function(e,t,r,n,o){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,r,n),o.renderToken(e,t,r)},de.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},de.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},de.text=function(e,t){return he(e[t].content)},de.html_block=function(e,t){return e[t].content},de.html_inline=function(e,t){return e[t].content},fe.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},fe.prototype.renderInline=function(e,t,r){for(var n,o="",s=this.rules,i=0,a=e.length;i/i.test(e)}var Ce=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,xe=/\((c|tm|r|p)\)/i,Ae=/\((c|tm|r|p)\)/gi,we={c:"©",r:"®",p:"§",tm:"™"};function De(e,t){return we[t.toLowerCase()]}function Ee(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(Ae,De)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function qe(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||Ce.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Se=ie.isWhiteSpace,Fe=ie.isPunctChar,Le=ie.isMdAsciiPunct,ze=/['"]/,Ie=/['"]/g;function Te(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Re(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v,k,y,C;for(k=[],r=0;r=0&&!(k[b].level<=l);b--);if(k.length=b+1,"text"===n.type){i=0,a=(o=n.content).length;e:for(;i=0)u=o.charCodeAt(s.index-1);else for(b=r-1;b>=0&&("softbreak"!==e[b].type&&"hardbreak"!==e[b].type);b--)if(e[b].content){u=e[b].content.charCodeAt(e[b].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(b=k.length-1;b>=0&&(c=k[b],!(k[b].level=0&&(r=this.attrs[t][1]),r},Me.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Be=Me;function Ne(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ne.prototype.Token=Be;var Pe=Ne,je=[["normalize",function(e){var t;t=(t=e.src.replace(be,"\n")).replace(ve,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r=0;t--)if("link_close"!==(i=o[t]).type){if("html_inline"===i.type&&(b=i.content,/^\s]/i.test(b)&&d>0&&d--,ye(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((s=new e.Token("text","",0)).content=c.slice(p,u),s.level=h,a.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",m]],s.level=h++,s.markup="linkify",s.info="auto",a.push(s),(s=new e.Token("text","",0)).content=g,s.level=h,a.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",a.push(s),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(xe.test(e.tokens[t].content)&&Ee(e.tokens[t].children),Ce.test(e.tokens[t].content)&&qe(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&ze.test(e.tokens[t].content)&&Re(e.tokens[t].children,e)}]];function Oe(){this.ruler=new _e;for(var e=0;e=s)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=s)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-n>=10)return-1}return o`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",tt="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",rt={HTML_TAG_RE:new RegExp("^(?:"+et+"|"+tt+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+et+"|"+tt+")")},nt=rt.HTML_OPEN_CLOSE_TAG_RE,ot=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(nt.source+"\\s*$"),/^$/,!1]],st=ie.isSpace;function it(e,t,r,n){var o,s,i,a,l,c,u,p;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,i=a=c=u=0,l=(s=this.src).length;a0&&this.level++,this.tokens.push(n),n},it.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},it.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!st(this.src.charCodeAt(--e)))return e+1;return e},it.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},it.prototype.getLines=function(e,t,r,n){var o,s,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),o=0;pr?new Array(s-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},it.prototype.Token=Be;var at=it,lt=[["table",function(e,t,r,n){var o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(o=e.src.charCodeAt(i++))&&45!==o&&58!==o)return!1;for(;i=4)return!1;if((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",v=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=4))break;o=++n}return e.line=o,(s=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),s.map=[t,e.line],!0}],["fence",function(e,t,r,n){var o,s,i,a,l,c,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(o=e.src.charCodeAt(h))&&96!==o)return!1;if(l=h,(s=(h=e.skipChars(h,o))-l)<3)return!1;if(u=e.src.slice(l,h),i=e.src.slice(h,d),96===o&&i.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((h=l=e.bMarks[a]+e.tShift[a])<(d=e.eMarks[a])&&e.sCount[a]=4||(h=e.skipChars(h,o))-l=4)return!1;if(62!==e.src.charCodeAt(w++))return!1;if(n)return!0;for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(w)?(w++,a++,h++,o=!1,v=!0):9===e.src.charCodeAt(w)?(v=!0,(e.bsCount[t]+h)%4==3?(w++,a++,h++,o=!1):o=!0):v=!1,d=[e.bMarks[t]],e.bMarks[t]=w;w=D,_=[e.sCount[t]],e.sCount[t]=h-a,b=[e.tShift[t]],e.tShift[t]=w-e.bMarks[t],y=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(D=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(w++)||x){if(c)break;for(k=!1,i=0,l=y.length;i=D,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(v?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,b.push(e.tShift[p]),e.tShift[p]=w-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=u=[t,0],e.md.block.tokenize(e,t,p),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=A,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(s=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(D=Ye(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,D-q-1)),z&&1!==g)return!1}else{if(!((D=We(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(D-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),b=t,E=!1,F=e.md.block.ruler.getRules("list"),y=e.parentType,e.parentType="list";b=_?1:v-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],A=e.tight,x=e.tShift[t],C=e.sCount[t],k=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=v,s>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=k,e.tShift[t]=x,e.sCount[t]=C,e.tight=A,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),b=t=e.line,p[1]=b,s=e.bMarks[t],b>=r)break;if(e.sCount[b]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(y))return!1;for(;++y3||e.sCount[x]<0)){for(_=!1,c=0,u=b.length;c=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=c)return!1;for(s=1,o=e.src.charCodeAt(++l);35===o&&l6||ll&&Xe(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,o,s,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,s=0,i=f.length;s=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),o=0;o3||e.sCount[l]<0)){for(n=!1,o=0,s=c.length;o=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".split("").forEach((function(e){ft[e.charCodeAt(0)]=1}));function gt(e,t){var r,n,o,s,i,a=[],l=t.length;for(r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(s=e.tokens[n.token]).type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?i+i:i,s.content="",(s=e.tokens[o.token]).type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?i+i:i,s.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var vt={tokenize:function(e,t){var r,n,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(95!==s&&42!==s)return!1;for(n=e.scanDelims(e.pos,42===s),r=0;r\x00-\x20]*)$/,Dt=rt.HTML_TAG_RE;var Et=ie.has,qt=ie.isValidEntityCode,St=ie.fromCodePoint,Ft=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Lt=/^&([a-z][a-z0-9]{1,31});/i;function zt(e,t){var r,n,o,s,i,a,l,c,u={},p=t.length;for(r=0;ri;n-=s.jump+1)if((s=t[n]).marker===o.marker&&s.open&&s.end<0&&(l=!1,(s.close||o.open)&&(s.length+o.length)%3==0&&(s.length%3==0&&o.length%3==0||(l=!0)),!l)){c=n>0&&!t[n-1].open?t[n-1].jump+1:0,o.jump=r-n+c,o.open=!1,s.end=r,s.jump=c,s.close=!1,a=-1;break}-1!==a&&(u[o.marker][(o.length||0)%3]=a)}}var It=ie.isWhiteSpace,Tt=ie.isPunctChar,Rt=ie.isMdAsciiPunct;function Mt(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Mt.prototype.pushPending=function(){var e=new Be("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Mt.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Be(e,t,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},Mt.prototype.scanDelims=function(e,t){var r,n,o,s,i,a,l,c,u,p=e,h=!0,d=!0,f=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;p=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?o=e.src.slice(f,a++):a=s+1):a=s+1,o||(o=e.src.slice(i,s)),!(c=e.env.references[kt(o)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?s=e.src.slice(f,l++):l=i+1):l=i+1,s||(s=e.src.slice(a,i)),!(c=e.env.references[Ct(s)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(o=e.src.slice(a,i),e.md.inline.parse(o,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=o,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,o,s,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(s=e.src.charCodeAt(l)))return!1;if(62===s)break}return r=e.src.slice(i+1,l),wt.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0)):!!At.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,o,s=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=o)&&(!(33!==(r=e.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(s).match(Dt))&&(t||(e.push("html_inline","",0).content=e.src.slice(s,s+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,o=e.pos,s=e.posMax;if(38!==e.src.charCodeAt(o))return!1;if(o+10&&n++,"text"===o[t].type&&t+1=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},jt.prototype.parse=function(e,t,r,n){var o,s,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(s=this.ruler2.getRules("")).length,o=0;o=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Jt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Wt(e){var t=e.re=function(e){var t={};return t.src_Any=re.source,t.src_Cc=ne.source,t.src_Z=oe.source,t.src_P=M.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var o=[];function s(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Vt(r))return!function(e){return"[object RegExp]"===Vt(e)}(r.validate)?Zt(r.validate)?n.validate=r.validate:s(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(Zt(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Vt(e)}(r)?s(t,r):o.push(t)}})),o.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var i=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Ht).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Yt(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function Kt(e,t){var r=new Yt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Qt(e,t){if(!(this instanceof Qt))return new Qt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Gt,e),this.__compiled__={},this.__tlds__=Jt,this.__tlds_replaced__=!1,this.re={},Wt(this)}Qt.prototype.add=function(e,t){return this.__schemas__[e]=t,Wt(this),this},Qt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Qt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,s,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i)),this.__index__>=0},Qt.prototype.pretest=function(e){return this.re.pretest.test(e)},Qt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Qt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Kt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Kt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Qt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Wt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Wt(this),this)},Qt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Qt.prototype.onCompile=function(){};var Xt=Qt,er=2147483647,tr=36,rr=/^xn--/,nr=/[^\0-\x7E]/,or=/[\x2E\u3002\uFF0E\uFF61]/g,sr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ir=Math.floor,ar=String.fromCharCode;function lr(e){throw new RangeError(sr[e])}function cr(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var o=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(or,".")).split("."),t).join(".");return n+o}function ur(e){for(var t=[],r=0,n=e.length;r=55296&&o<=56319&&r>1,e+=ir(e/t);e>455;n+=tr)e=ir(e/35);return ir(n+36*e/(e+38))},fr=function(e){var t,r=[],n=e.length,o=0,s=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var l=0;l=128&&lr("not-basic"),r.push(e.charCodeAt(l));for(var c=a>0?a+1:0;c=n&&lr("invalid-input");var d=(t=e.charCodeAt(c++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:tr;(d>=tr||d>ir((er-o)/p))&&lr("overflow"),o+=d*p;var f=h<=i?1:h>=i+26?26:h-i;if(dir(er/m)&&lr("overflow"),p*=m}var g=r.length+1;i=dr(o-u,g,0==u),ir(o/g)>er-s&&lr("overflow"),s+=ir(o/g),o%=g,r.splice(o++,0,s)}return String.fromCodePoint.apply(String,r)},mr=function(e){for(var t,r=[],n=(e=ur(e)).length,o=128,s=0,i=72,a=_createForOfIteratorHelperLoose(e);!(t=a()).done;){var l=t.value;l<128&&r.push(ar(l))}var c=r.length,u=c;for(c&&r.push("-");u=o&&fir((er-s)/m)&&lr("overflow"),s+=(h-o)*m,o=h;for(var g,_=_createForOfIteratorHelperLoose(e);!(g=_()).done;){var b=g.value;if(ber&&lr("overflow"),b==o){for(var v=s,k=tr;;k+=tr){var y=k<=i?1:k>=i+26?26:k-i;if(v=0))try{t.hostname=kr.toASCII(t.hostname)}catch(r){}return te.encode(te.format(t))}function Er(e){var t=te.parse(e,!0);if(t.hostname&&(!t.protocol||wr.indexOf(t.protocol)>=0))try{t.hostname=kr.toUnicode(t.hostname)}catch(r){}return te.decode(te.format(t),te.decode.defaultChars+"%")}function qr(e,t){if(!(this instanceof qr))return new qr(e,t);t||ie.isString(e)||(t=e||{},e="default"),this.inline=new Ot,this.block=new ut,this.core=new Ue,this.renderer=new me,this.linkify=new Xt,this.validateLink=Ar,this.normalizeLink=Dr,this.normalizeLinkText=Er,this.utils=ie,this.helpers=ie.assign({},ce),this.options={},this.configure(e),t&&this.set(t)}qr.prototype.set=function(e){return ie.assign(this.options,e),this},qr.prototype.configure=function(e){var t,r=this;if(ie.isString(e)&&!(e=yr[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},qr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},qr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},qr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},qr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},qr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},qr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},qr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Sr=new qr,Fr=b();v("data-v-44467b26");var Lr={class:"comment-container"},zr={class:"comment-send"},Ir={class:"comment-input"},Tr=a("div",{class:"comment-title"},[a("span",null,"文章交流区")],-1),Rr={class:"comment-list"},Mr={class:"comment-avatar"},Br={class:"comment-content"},Nr={class:"main-comment"},Pr={class:"comment-user-info"},jr={class:"floor"},Or={class:"badge"},Ur={key:0,class:"author"},Vr={class:"time"},Zr={class:"main-content"},Hr={key:0,class:"empty-content"};k();var $r=n({expose:[],props:{postId:Number,authorId:Number},setup:function(e){var t=e,r=A(),n=w(),b=D(),v=computed((function(){var e,t;return null!=(e=null==b||null==(t=b.User)?void 0:t.Id)&&e})),k=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),C=function(){k.text?k.submitting?r.warning("评论过快"):(k.submitting=!0,q({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:k.text+" ____ From Vue-next"}).then((function(e){if(null!=e&&e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose:function(){n.push("/signin")}}):void r.warning("评论出错: "+e.ErrorCode+" "+e.ErrorMsg);r.success("评论成功~"),k.text="",k.listLoadingStatus=1,E({Page:1,Size:15,PostID:t.postId||-1}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];k.list=n})).finally((function(){k.listLoadingStatus=0}))})).finally((function(){k.submitting=!1}))):r.warning("评论不能为空")},x=function(){n.push("/signin")},S=z;onMounted((function(){k.listLoadingStatus=2,k.page=1,k.loaded=!1,E({PostID:t.postId||0,Page:1,Size:15}).then((function(e){var t,n,o,s=null!=(t=null==e||null==(n=e.Result)?void 0:n.Comments)?t:[];k.list=s,15===s.length?k.loaded=!1:k.loaded=!0,e.ErrorCode&&r.warning(null!=(o=null==e?void 0:e.ErrorMsg)?o:""+e.ErrorCode)})).finally((function(){k.listLoadingStatus=0}))}));var F=function(){k.page+=1,k.listLoadingStatus=2,E({PostID:t.postId||-1,Page:k.page,Size:15}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];15===n.length?k.loaded=!1:k.loaded=!0,k.list=[].concat(k.list,n)})).finally((function(){k.listLoadingStatus=0}))};return Fr((function(e,t){var r=o("Avatar"),n=o("router-link"),b=o("LoadingBall");return s(),i("div",Lr,[a("div",zr,[a("div",Ir,[l(a("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=function(e){return k.text=e}),onKeydown:u(y(C,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[c,k.text,void 0,{trim:!0}]])]),p(v)?(s(),i("div",{key:0,class:"comment-btn",onClick:C}," 发表评论 ")):(s(),i("div",{key:1,class:"comment-btn",onClick:x},"登录发表评论"))]),Tr,a("div",Rr,[a(h,{name:"list"},{default:Fr((function(){return[(s(!0),i(d,null,f(k.list,(function(t,o){return s(),i("div",{class:"comment-item",key:t.Id},[a("div",Mr,[a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[a(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])]})),_:2},1032,["to"])]),a("div",Br,[a("div",Nr,[a("div",Pr,[a("span",jr,"#"+m(k.list.length-o),1),a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[g(m(t.CommentUserInfo.Nickname),1)]})),_:2},1032,["to"]),a("span",Or,[t.CommentUserInfo.UID==e.$props.authorId?(s(),i("sup",Ur,"本文作者")):_("",!0),(s(!0),i(d,null,f(t.CommentUserInfo.Roles,(function(e){return s(),i("sup",{class:"role",key:e.RID},m(e.Description),1)})),128))]),a("span",Vr,m(p(S)(t.CreatedAt)),1)]),a("div",Zr,m(t.Content),1)])])])})),128))]})),_:1}),0!==k.list.length||k.listLoadingStatus?_("",!0):(s(),i("div",Hr," 暂无任何评论,快去发表吧~ ")),a(b,{loading:k.list.length>0&&2==k.listLoadingStatus},null,8,["loading"]),k.loaded||k.listLoadingStatus?_("",!0):(s(),i("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});$r.__scopeId="data-v-44467b26";var Gr=b();v("data-v-ad8ad844");var Jr={key:0},Wr={class:"article-title"},Yr={class:"artilce-info"},Kr=g(" 分类: "),Qr={class:"article-navi"};k();e("default",n({expose:[],props:{pid:{required:!0,type:Number,validator:function(e){return!isNaN(+e)}}},setup:function(e){var t=e,r=A(),n=S(t.pid),c=n.data,u=n.loading,h=computed((function(){var e,t;return Sr.render(null!=(e=null==(t=c.value.Result)?void 0:t.Content)?e:"")})),d=computed((function(){var e,t;return I(null!=(e=null==(t=c.value.Result)?void 0:t.CreatedAt)?e:Date.now())})),f=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Title})),b=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Summary})),v=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.UID})),k=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.Nickname})),y=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.Id})),w=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.CN})),D=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Id})),E=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Id})),q=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Title})),z=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Title})),T=computed((function(){return k.value+"发表了"+f.value+","+b.value}));return F({title:f,meta:[{name:"description",content:T},{name:"author",content:k}]}),watch((function(){return null==c?void 0:c.value.ErrorMsg}),(function(e,t){r.error("请求出错:"+e)})),Gr((function(e,r){var n=o("LoadingBall"),c=o("router-link"),b=C("highlight");return s(),i(L,null,{default:Gr((function(){return[a(n,{loading:p(u),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),a(x,{name:"content"},{default:Gr((function(){return[p(u)?_("",!0):(s(),i("main",Jr,[a("h1",Wr,m(p(f)),1),a("div",Yr,[a("span",null,[a(c,{to:"/users/"+p(v)},{default:Gr((function(){return[a("a",null,m(p(k)),1)]})),_:1},8,["to"])]),a("span",null,"发表于: "+m(p(d)),1),a("span",null,[Kr,a(c,{to:"/?CategoryID="+p(y)},{default:Gr((function(){return[g(m(p(w)),1)]})),_:1},8,["to"])])]),l(a("div",{innerHTML:p(h),class:"article-container"},null,8,["innerHTML"]),[[b]]),a("div",Qr,[a("div",null,[p(D)?(s(),i(c,{key:0,to:"/post/"+p(D)},{default:Gr((function(){return[g(" 上一篇 « "+m(p(z)),1)]})),_:1},8,["to"])):_("",!0)]),a("div",null,[p(E)?(s(),i(c,{key:0,to:"/post/"+p(E)},{default:Gr((function(){return[g(" 下一篇 » "+m(p(q)),1)]})),_:1},8,["to"])):_("",!0)])]),a($r,{"author-id":p(v),"post-id":t.pid},null,8,["author-id","post-id"])]))]})),_:1})]})),_:1})}))}})).__scopeId="data-v-ad8ad844"}}})); diff --git a/assets/pid.89523e4f.js b/assets/pid.89964575.js similarity index 93% rename from assets/pid.89523e4f.js rename to assets/pid.89964575.js index b9f707f..1c94212 100644 --- a/assets/pid.89523e4f.js +++ b/assets/pid.89964575.js @@ -1 +1 @@ -import{I as e,N as t,d as r,g as n,a as s,b as o,j as i,O as a,P as l,Q as c,u,T as p,F as h,q as d,l as f,k as m,h as g,E as _,G as k,H as b,p as v,R as C,S as y}from"./vendor.8d059d2b.js";import{c as A,b as x,u as D,d as w,P as E,U as q,a as S}from"./index.6d51bcce.js";import{_ as F}from"./index.vue_vue&type=style&index=0&lang.2e9c245a.js";import{D as L,F as z}from"./time.2aac0ac0.js";var I={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},T=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,R={};function M(e,t,r){var n,s,o,i,a,l="";for("string"!=typeof t&&(r=t,t=M.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=R[e];if(n)return n;for(n=R[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}M.defaultChars=";/?:@&=+$,-_.!~*'()#",M.componentChars="-_.!~*'()";var B=M,N={};function P(e,t){var r;return"string"!=typeof t&&(t=P.defaultChars),r=function(e){var t,r,n=N[e];if(n)return n;for(n=N[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&s)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}P.defaultChars=";/?:@&=+$,#",P.componentChars="";var U=P;function O(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var j=/^([a-z0-9.+-]+:)/i,V=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Z=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),G=["'"].concat(Z),H=["%","/","?",";","#"].concat(G),J=["/","?","#"],W=/^[+a-z0-9A-Z_-]{0,63}$/,Y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K={javascript:!0,"javascript:":!0},Q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};O.prototype.parse=function(e,t){var r,n,s,o,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=j.exec(a);if(c&&(s=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&K[c]||(a=a.substr(2),this.slashes=!0)),!K[c]&&(i||c&&!Q[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[k];if(!_.match(W)){var v=m.slice(0,r),C=m.slice(r+1),y=g.match(Y);y&&(v.push(y[1]),C.unshift(y[2])),C.length&&(a=C.join(".")+a),this.hostname=v.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=a.indexOf("#");-1!==A&&(this.hash=a.substr(A),a=a.slice(0,A));var x=a.indexOf("?");return-1!==x&&(this.search=a.substr(x),a=a.slice(0,x)),a&&(this.pathname=a),Q[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},O.prototype.parseHost=function(e){var t=V.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var X={encode:B,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof O)return e;var r=new O;return r.parse(e,t),r}},ee=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,te=/[\0-\x1F\x7F-\x9F]/,re=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ne={Any:ee,Cc:te,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:T,Z:re},se=e((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=X,t.lib.ucmicro=ne,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(I,t)?I[t]:35===t.charCodeAt(0)&&l.test(t)&&s(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(r):e}(e,r)}))},t.isValidEntityCode=s,t.fromCodePoint=o,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return T.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),oe=se.unescapeAll,ie=se.unescapeAll,ae={parseLinkLabel:function(e,t,r){var n,s,o,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===s)break;s--}t++}return o===t||0!==s||(i.str=oe(e.slice(o,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,s,o=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return a;for(t++,40===s&&(s=41);t"+ue(e[t].content)+""},pe.code_block=function(e,t,r,n,s){var o=e[t];return""+ue(e[t].content)+"\n"},pe.fence=function(e,t,r,n,s){var o,i,a,l,c,u=e[t],p=u.info?ce(u.info).trim():"",h="",d="";return p&&(h=(a=p.split(/(\s+)/g))[0],d=a.slice(2).join("")),0===(o=r.highlight&&r.highlight(u.content,h,d)||ue(u.content)).indexOf(""+o+"\n"):"
"+o+"
\n"},pe.image=function(e,t,r,n,s){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,r,n),s.renderToken(e,t,r)},pe.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},pe.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},pe.text=function(e,t){return ue(e[t].content)},pe.html_block=function(e,t){return e[t].content},pe.html_inline=function(e,t){return e[t].content},he.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},he.prototype.renderInline=function(e,t,r){for(var n,s="",o=this.rules,i=0,a=e.length;i/i.test(e)}var ve=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ce=/\((c|tm|r|p)\)/i,ye=/\((c|tm|r|p)\)/gi,Ae={c:"©",r:"®",p:"§",tm:"™"};function xe(e,t){return Ae[t.toLowerCase()]}function De(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(ye,xe)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function we(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||ve.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Ee=se.isWhiteSpace,qe=se.isPunctChar,Se=se.isMdAsciiPunct,Fe=/['"]/,Le=/['"]/g;function ze(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Ie(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b,v,C,y;for(v=[],r=0;r=0&&!(v[k].level<=l);k--);if(v.length=k+1,"text"===n.type){i=0,a=(s=n.content).length;e:for(;i=0)u=s.charCodeAt(o.index-1);else for(k=r-1;k>=0&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k--)if(e[k].content){u=e[k].content.charCodeAt(e[k].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(k=v.length-1;k>=0&&(c=v[k],!(v[k].level=0&&(r=this.attrs[t][1]),r},Te.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Re=Te;function Me(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Me.prototype.Token=Re;var Be=Me,Ne=[["normalize",function(e){var t;t=(t=e.src.replace(ge,"\n")).replace(_e,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,s=e.tokens;for(r=0,n=s.length;r=0;t--)if("link_close"!==(i=s[t]).type){if("html_inline"===i.type&&(k=i.content,/^\s]/i.test(k)&&d>0&&d--,be(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((o=new e.Token("text","",0)).content=c.slice(p,u),o.level=h,a.push(o)),(o=new e.Token("link_open","a",1)).attrs=[["href",m]],o.level=h++,o.markup="linkify",o.info="auto",a.push(o),(o=new e.Token("text","",0)).content=g,o.level=h,a.push(o),(o=new e.Token("link_close","a",-1)).level=--h,o.markup="linkify",o.info="auto",a.push(o),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(Ce.test(e.tokens[t].content)&&De(e.tokens[t].children),ve.test(e.tokens[t].content)&&we(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Fe.test(e.tokens[t].content)&&Ie(e.tokens[t].children,e)}]];function Pe(){this.ruler=new me;for(var e=0;e=o)return-1;if((r=e.src.charCodeAt(s++))<48||r>57)return-1;for(;;){if(s>=o)return-1;if(!((r=e.src.charCodeAt(s++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Xe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",et={HTML_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+")")},tt=et.HTML_OPEN_CLOSE_TAG_RE,rt=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(tt.source+"\\s*$"),/^$/,!1]],nt=se.isSpace;function st(e,t,r,n){var s,o,i,a,l,c,u,p;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,i=a=c=u=0,l=(o=this.src).length;a0&&this.level++,this.tokens.push(n),n},st.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},st.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!nt(this.src.charCodeAt(--e)))return e+1;return e},st.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},st.prototype.getLines=function(e,t,r,n){var s,o,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),s=0;pr?new Array(o-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},st.prototype.Token=Re;var ot=st,it=[["table",function(e,t,r,n){var s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(s=e.src.charCodeAt(i++))&&45!==s&&58!==s)return!1;for(;i=4)return!1;if((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",b=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=4))break;s=++n}return e.line=s,(o=e.push("code_block","code",0)).content=e.getLines(t,s,4+e.blkIndent,!0),o.map=[t,e.line],!0}],["fence",function(e,t,r,n){var s,o,i,a,l,c,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(s=e.src.charCodeAt(h))&&96!==s)return!1;if(l=h,(o=(h=e.skipChars(h,s))-l)<3)return!1;if(u=e.src.slice(l,h),i=e.src.slice(h,d),96===s&&i.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((h=l=e.bMarks[a]+e.tShift[a])<(d=e.eMarks[a])&&e.sCount[a]=4||(h=e.skipChars(h,s))-l=4)return!1;if(62!==e.src.charCodeAt(D++))return!1;if(n)return!0;for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(D)?(D++,a++,h++,s=!1,b=!0):9===e.src.charCodeAt(D)?(b=!0,(e.bsCount[t]+h)%4==3?(D++,a++,h++,s=!1):s=!0):b=!1,d=[e.bMarks[t]],e.bMarks[t]=D;D=w,_=[e.sCount[t]],e.sCount[t]=h-a,k=[e.tShift[t]],e.tShift[t]=D-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(w=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(D++)||A){if(c)break;for(v=!1,i=0,l=C.length;i=w,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(b?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,k.push(e.tShift[p]),e.tShift[p]=D-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(y=e.push("blockquote_open","blockquote",1)).markup=">",y.map=u=[t,0],e.md.block.tokenize(e,t,p),(y=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(s=e.src.charCodeAt(l++))&&45!==s&&95!==s)return!1;for(o=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(w=Je(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,w-q-1)),z&&1!==g)return!1}else{if(!((w=He(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(w)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(w-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),k=t,E=!1,F=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";k=_?1:b-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],x=e.tight,A=e.tShift[t],y=e.sCount[t],v=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=o-e.bMarks[t],e.sCount[t]=b,o>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=v,e.tShift[t]=A,e.sCount[t]=y,e.tight=x,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),k=t=e.line,p[1]=k,o=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C3||e.sCount[A]<0)){for(_=!1,c=0,u=k.length;c=4)return!1;if(35!==(s=e.src.charCodeAt(l))||l>=c)return!1;for(o=1,s=e.src.charCodeAt(++l);35===s&&l6||ll&&Ke(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,s,o,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(s=!1,o=0,i=f.length;o=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),s=0;s3||e.sCount[l]<0)){for(n=!1,s=0,o=c.length;s=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".split("").forEach((function(e){ht[e.charCodeAt(0)]=1}));function ft(e,t){var r,n,s,o,i,a=[],l=t.length;for(r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(s=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===s.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(o=e.tokens[n.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[s.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var _t={tokenize:function(e,t){var r,n,s=e.pos,o=e.src.charCodeAt(s);if(t)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),r=0;r\x00-\x20]*)$/,xt=et.HTML_TAG_RE;var Dt=se.has,wt=se.isValidEntityCode,Et=se.fromCodePoint,qt=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,St=/^&([a-z][a-z0-9]{1,31});/i;function Ft(e,t){var r,n,s,o,i,a,l,c,u={},p=t.length;for(r=0;ri;n-=o.jump+1)if((o=t[n]).marker===s.marker&&o.open&&o.end<0&&(l=!1,(o.close||s.open)&&(o.length+s.length)%3==0&&(o.length%3==0&&s.length%3==0||(l=!0)),!l)){c=n>0&&!t[n-1].open?t[n-1].jump+1:0,s.jump=r-n+c,s.open=!1,o.end=r,o.jump=c,o.close=!1,a=-1;break}-1!==a&&(u[s.marker][(s.length||0)%3]=a)}}var Lt=se.isWhiteSpace,zt=se.isPunctChar,It=se.isMdAsciiPunct;function Tt(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Tt.prototype.pushPending=function(){var e=new Re("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Tt.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Re(e,t,r),s=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(s),n},Tt.prototype.scanDelims=function(e,t){var r,n,s,o,i,a,l,c,u,p=e,h=!0,d=!0,f=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;p=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),s++;s=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?s=e.src.slice(f,a++):a=o+1):a=o+1,s||(s=e.src.slice(i,o)),!(c=e.env.references[kt(s)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=o,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(f,l++):l=i+1):l=i+1,o||(o=e.src.slice(a,i)),!(c=e.env.references[vt(o)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=s,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,s,o,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(o=e.src.charCodeAt(l)))return!1;if(62===o)break}return r=e.src.slice(i+1,l),At.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0)):!!yt.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,s,o=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=s)&&(!(33!==(r=e.src.charCodeAt(o+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(o).match(xt))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,s=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(s))return!1;if(s+10&&n++,"text"===s[t].type&&t+1=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Nt.prototype.parse=function(e,t,r,n){var s,o,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(o=this.ruler2.getRules("")).length,s=0;s=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Gt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ht(e){var t,r,n=e.re=(t=e.__opts__,(r={}).src_Any=ee.source,r.src_Cc=te.source,r.src_Z=re.source,r.src_P=T.source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|"),r.src_pseudo_letter="(?:(?![><|]|"+r.src_ZPCc+")"+r.src_Any+")",r.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|[><|]|"+r.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+r.src_ZCc+").|\\!+(?!"+r.src_ZCc+"|[!]).|\\?(?!"+r.src_ZCc+"|[?]).)+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy='(^|[><|]|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r),s=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",n.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),s.push(n.src_xn),n.src_tlds=s.join("|"),n.email_fuzzy=RegExp(o(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(o(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(o(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(o(n.tpl_host_fuzzy_test),"i");var i=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Ot(r))return!function(e){return"[object RegExp]"===Ot(e)}(r.validate)?jt(r.validate)?n.validate=r.validate:a(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(jt(r.normalize)?n.normalize=r.normalize:r.normalize?a(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Ot(e)}(r)?a(t,r):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Vt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Jt(e,t){var r=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=s,this.text=s,this.url=s}function Wt(e,t){var r=new Jt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Yt(e,t){if(!(this instanceof Yt))return new Yt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Zt,e),this.__compiled__={},this.__tlds__=Gt,this.__tlds_replaced__=!1,this.re={},Ht(this)}Yt.prototype.add=function(e,t){return this.__schemas__[e]=t,Ht(this),this},Yt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Yt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,s,o,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(s=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},Yt.prototype.pretest=function(e){return this.re.pretest.test(e)},Yt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Yt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Wt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Wt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Yt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Ht(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Ht(this),this)},Yt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Yt.prototype.onCompile=function(){};var Kt=Yt;const Qt=2147483647,Xt=/^xn--/,er=/[^\0-\x7E]/,tr=/[\x2E\u3002\uFF0E\uFF61]/g,rr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},nr=Math.floor,sr=String.fromCharCode;function or(e){throw new RangeError(rr[e])}function ir(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const s=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(tr,".")).split("."),t).join(".");return n+s}function ar(e){const t=[];let r=0;const n=e.length;for(;r=55296&&s<=56319&&rString.fromCodePoint(...e),cr=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},ur=function(e,t,r){let n=0;for(e=r?nr(e/700):e>>1,e+=nr(e/t);e>455;n+=36)e=nr(e/35);return nr(n+36*e/(e+38))},pr=function(e){const t=[],r=e.length;let n=0,s=128,o=72,i=e.lastIndexOf("-");i<0&&(i=0);for(let l=0;l=128&&or("not-basic"),t.push(e.charCodeAt(l));for(let l=i>0?i+1:0;l=r&&or("invalid-input");const i=(a=e.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(i>=36||i>nr((Qt-n)/t))&&or("overflow"),n+=i*t;const c=s<=o?1:s>=o+26?26:s-o;if(inr(Qt/u)&&or("overflow"),t*=u}const c=t.length+1;o=ur(n-i,c,0==i),nr(n/c)>Qt-s&&or("overflow"),s+=nr(n/c),n%=c,t.splice(n++,0,s)}var a;return String.fromCodePoint(...t)},hr=function(e){const t=[];let r=(e=ar(e)).length,n=128,s=0,o=72;for(const l of e)l<128&&t.push(sr(l));let i=t.length,a=i;for(i&&t.push("-");a=n&&tnr((Qt-s)/l)&&or("overflow"),s+=(r-n)*l,n=r;for(const c of e)if(cQt&&or("overflow"),c==n){let e=s;for(let r=36;;r+=36){const n=r<=o?1:r>=o+26?26:r-o;if(e=0))try{t.hostname=gr.toASCII(t.hostname)}catch(r){}return X.encode(X.format(t))}function Ar(e){var t=X.parse(e,!0);if(t.hostname&&(!t.protocol||Cr.indexOf(t.protocol)>=0))try{t.hostname=gr.toUnicode(t.hostname)}catch(r){}return X.decode(X.format(t),X.decode.defaultChars+"%")}function xr(e,t){if(!(this instanceof xr))return new xr(e,t);t||se.isString(e)||(t=e||{},e="default"),this.inline=new Pt,this.block=new lt,this.core=new Ue,this.renderer=new de,this.linkify=new Kt,this.validateLink=vr,this.normalizeLink=yr,this.normalizeLinkText=Ar,this.utils=se,this.helpers=se.assign({},ae),this.options={},this.configure(e),t&&this.set(t)}xr.prototype.set=function(e){return se.assign(this.options,e),this},xr.prototype.configure=function(e){var t,r=this;if(se.isString(e)&&!(e=_r[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},xr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},xr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},xr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},xr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},xr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},xr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},xr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const Dr=new xr,wr=_();k("data-v-64deee34");const Er={class:"comment-container"},qr={class:"comment-send"},Sr={class:"comment-input"},Fr=i("div",{class:"comment-title"},[i("span",null,"文章交流区")],-1),Lr={class:"comment-list"},zr={class:"comment-avatar"},Ir={class:"comment-content"},Tr={class:"main-comment"},Rr={class:"comment-user-info"},Mr={class:"floor"},Br={class:"badge"},Nr={key:0,class:"author"},Pr={class:"time"},Ur={class:"main-content"},Or={key:0,class:"empty-content"};b();var jr=r({expose:[],props:{postId:Number,authorId:Number},setup(e){const t=e,r=A(),_=x(),k=D(),b=computed((()=>{var e,t,r;return null!=(r=null==(t=null==(e=null==k?void 0:k.state)?void 0:e.User)?void 0:t.Id)&&r})),C=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),y=()=>{C.text?C.submitting?r.warning("评论过快"):(C.submitting=!0,E({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:`${C.text} ____ From Vue-next`}).then((e=>{if(null==e?void 0:e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose(){_.push("/signin")}}):void r.warning(`评论出错: ${e.ErrorCode} ${e.ErrorMsg}`);r.success("评论成功~"),C.text="",C.listLoadingStatus=1,w({Page:1,Size:15,PostID:t.postId||-1}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];C.list=n})).finally((()=>{C.listLoadingStatus=0}))})).finally((()=>{C.submitting=!1}))):r.warning("评论不能为空")},q=()=>{_.push("/signin")},S=L;onMounted((()=>{C.listLoadingStatus=2,C.page=1,C.loaded=!1,w({PostID:t.postId||0,Page:1,Size:15}).then((e=>{var t,n,s;const o=null!=(n=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?n:[];C.list=o,15===o.length?C.loaded=!1:C.loaded=!0,e.ErrorCode&&r.warning(null!=(s=null==e?void 0:e.ErrorMsg)?s:`${e.ErrorCode}`)})).finally((()=>{C.listLoadingStatus=0}))}));const F=()=>{C.page+=1,C.listLoadingStatus=2,w({PostID:t.postId||-1,Page:C.page,Size:15}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];15===n.length?C.loaded=!1:C.loaded=!0,C.list=[...C.list,...n]})).finally((()=>{C.listLoadingStatus=0}))};return wr(((e,t)=>{const r=n("Avatar"),_=n("router-link"),k=n("LoadingBall");return s(),o("div",Er,[i("div",qr,[i("div",Sr,[a(i("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=e=>C.text=e),onKeydown:c(v(y,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[l,C.text,void 0,{trim:!0}]])]),u(b)?(s(),o("div",{key:0,class:"comment-btn",onClick:y}," 发表评论 ")):(s(),o("div",{key:1,class:"comment-btn",onClick:q},"登录发表评论"))]),Fr,i("div",Lr,[i(p,{name:"list"},{default:wr((()=>[(s(!0),o(h,null,d(C.list,((t,n)=>(s(),o("div",{class:"comment-item",key:t.Id},[i("div",zr,[i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[i(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])])),_:2},1032,["to"])]),i("div",Ir,[i("div",Tr,[i("div",Rr,[i("span",Mr,"#"+f(C.list.length-n),1),i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[m(f(t.CommentUserInfo.Nickname),1)])),_:2},1032,["to"]),i("span",Br,[t.CommentUserInfo.UID==e.$props.authorId?(s(),o("sup",Nr,"本文作者")):g("",!0),(s(!0),o(h,null,d(t.CommentUserInfo.Roles,(e=>(s(),o("sup",{class:"role",key:e.RID},f(e.Description),1)))),128))]),i("span",Pr,f(u(S)(t.CreatedAt)),1)]),i("div",Ur,f(t.Content),1)])])])))),128))])),_:1}),0!==C.list.length||C.listLoadingStatus?g("",!0):(s(),o("div",Or," 暂无任何评论,快去发表吧~ ")),i(k,{loading:C.list.length>0&&2==C.listLoadingStatus},null,8,["loading"]),C.loaded||C.listLoadingStatus?g("",!0):(s(),o("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});jr.__scopeId="data-v-64deee34";const Vr=_();k("data-v-ad8ad844");const $r={key:0},Zr={class:"article-title"},Gr={class:"artilce-info"},Hr=m(" 分类: "),Jr={class:"article-navi"};b();var Wr=r({expose:[],props:{pid:{required:!0,type:Number,validator:e=>!isNaN(+e)}},setup(e){const t=e,r=A(),{data:l,loading:c}=q(t.pid),p=computed((()=>{var e,t;return Dr.render(null!=(t=null==(e=l.value.Result)?void 0:e.Content)?t:"")})),h=computed((()=>{var e,t;return z(null!=(t=null==(e=l.value.Result)?void 0:e.CreatedAt)?t:Date.now())})),d=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Title})),_=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Summary})),k=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.UID})),b=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.Nickname})),v=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.Id})),x=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.CN})),D=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Id})),w=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Id})),E=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Title})),L=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Title})),I=computed((()=>`${b.value}发表了${d.value},${_.value}`));return S({title:d,meta:[{name:"description",content:I},{name:"author",content:b}]}),watch((()=>null==l?void 0:l.value.ErrorMsg),((e,t)=>{r.error("请求出错:"+e)})),Vr(((e,r)=>{const l=n("LoadingBall"),_=n("router-link"),A=C("highlight");return s(),o(F,null,{default:Vr((()=>[i(l,{loading:u(c),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),i(y,{name:"content"},{default:Vr((()=>[u(c)?g("",!0):(s(),o("main",$r,[i("h1",Zr,f(u(d)),1),i("div",Gr,[i("span",null,[i(_,{to:`/users/${u(k)}`},{default:Vr((()=>[i("a",null,f(u(b)),1)])),_:1},8,["to"])]),i("span",null,"发表于: "+f(u(h)),1),i("span",null,[Hr,i(_,{to:`/?CategoryID=${u(v)}`},{default:Vr((()=>[m(f(u(x)),1)])),_:1},8,["to"])])]),a(i("div",{innerHTML:u(p),class:"article-container"},null,8,["innerHTML"]),[[A]]),i("div",Jr,[i("div",null,[u(D)?(s(),o(_,{key:0,to:`/post/${u(D)}`},{default:Vr((()=>[m(" 上一篇 « "+f(u(L)),1)])),_:1},8,["to"])):g("",!0)]),i("div",null,[u(w)?(s(),o(_,{key:0,to:`/post/${u(w)}`},{default:Vr((()=>[m(" 下一篇 » "+f(u(E)),1)])),_:1},8,["to"])):g("",!0)])]),i(jr,{"author-id":u(k),"post-id":t.pid},null,8,["author-id","post-id"])]))])),_:1})])),_:1})}))}});Wr.__scopeId="data-v-ad8ad844";export default Wr; +import{J as e,V as t,k as r,x as n,n as s,p as o,z as i,W as a,X as l,Y as c,u,T as p,F as h,E as d,B as f,A as m,y as g,N as _,O as k,P as b,D as v,Z as C,_ as y}from"./vendor.18b3a30d.js";import{c as A,b as x,u as D,d as w,P as E,U as q,a as S}from"./index.7b8df9f4.js";import{_ as F}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{D as L,F as z}from"./time.93dfc2a8.js";var I={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},T=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,R={};function M(e,t,r){var n,s,o,i,a,l="";for("string"!=typeof t&&(r=t,t=M.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=R[e];if(n)return n;for(n=R[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}M.defaultChars=";/?:@&=+$,-_.!~*'()#",M.componentChars="-_.!~*'()";var B=M,N={};function P(e,t){var r;return"string"!=typeof t&&(t=P.defaultChars),r=function(e){var t,r,n=N[e];if(n)return n;for(n=N[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&s)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}P.defaultChars=";/?:@&=+$,#",P.componentChars="";var U=P;function O(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var j=/^([a-z0-9.+-]+:)/i,V=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Z=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),G=["'"].concat(Z),H=["%","/","?",";","#"].concat(G),J=["/","?","#"],W=/^[+a-z0-9A-Z_-]{0,63}$/,Y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K={javascript:!0,"javascript:":!0},Q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};O.prototype.parse=function(e,t){var r,n,s,o,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=j.exec(a);if(c&&(s=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&K[c]||(a=a.substr(2),this.slashes=!0)),!K[c]&&(i||c&&!Q[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[k];if(!_.match(W)){var v=m.slice(0,r),C=m.slice(r+1),y=g.match(Y);y&&(v.push(y[1]),C.unshift(y[2])),C.length&&(a=C.join(".")+a),this.hostname=v.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=a.indexOf("#");-1!==A&&(this.hash=a.substr(A),a=a.slice(0,A));var x=a.indexOf("?");return-1!==x&&(this.search=a.substr(x),a=a.slice(0,x)),a&&(this.pathname=a),Q[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},O.prototype.parseHost=function(e){var t=V.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var X={encode:B,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof O)return e;var r=new O;return r.parse(e,t),r}},ee=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,te=/[\0-\x1F\x7F-\x9F]/,re=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ne={Any:ee,Cc:te,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:T,Z:re},se=e((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=X,t.lib.ucmicro=ne,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(I,t)?I[t]:35===t.charCodeAt(0)&&l.test(t)&&s(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(r):e}(e,r)}))},t.isValidEntityCode=s,t.fromCodePoint=o,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return T.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),oe=se.unescapeAll,ie=se.unescapeAll,ae={parseLinkLabel:function(e,t,r){var n,s,o,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===s)break;s--}t++}return o===t||0!==s||(i.str=oe(e.slice(o,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,s,o=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return a;for(t++,40===s&&(s=41);t"+ue(e[t].content)+""},pe.code_block=function(e,t,r,n,s){var o=e[t];return""+ue(e[t].content)+"\n"},pe.fence=function(e,t,r,n,s){var o,i,a,l,c,u=e[t],p=u.info?ce(u.info).trim():"",h="",d="";return p&&(h=(a=p.split(/(\s+)/g))[0],d=a.slice(2).join("")),0===(o=r.highlight&&r.highlight(u.content,h,d)||ue(u.content)).indexOf(""+o+"\n"):"
"+o+"
\n"},pe.image=function(e,t,r,n,s){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,r,n),s.renderToken(e,t,r)},pe.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},pe.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},pe.text=function(e,t){return ue(e[t].content)},pe.html_block=function(e,t){return e[t].content},pe.html_inline=function(e,t){return e[t].content},he.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},he.prototype.renderInline=function(e,t,r){for(var n,s="",o=this.rules,i=0,a=e.length;i/i.test(e)}var ve=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ce=/\((c|tm|r|p)\)/i,ye=/\((c|tm|r|p)\)/gi,Ae={c:"©",r:"®",p:"§",tm:"™"};function xe(e,t){return Ae[t.toLowerCase()]}function De(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(ye,xe)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function we(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||ve.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Ee=se.isWhiteSpace,qe=se.isPunctChar,Se=se.isMdAsciiPunct,Fe=/['"]/,Le=/['"]/g;function ze(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Ie(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b,v,C,y;for(v=[],r=0;r=0&&!(v[k].level<=l);k--);if(v.length=k+1,"text"===n.type){i=0,a=(s=n.content).length;e:for(;i=0)u=s.charCodeAt(o.index-1);else for(k=r-1;k>=0&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k--)if(e[k].content){u=e[k].content.charCodeAt(e[k].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(k=v.length-1;k>=0&&(c=v[k],!(v[k].level=0&&(r=this.attrs[t][1]),r},Te.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Re=Te;function Me(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Me.prototype.Token=Re;var Be=Me,Ne=[["normalize",function(e){var t;t=(t=e.src.replace(ge,"\n")).replace(_e,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,s=e.tokens;for(r=0,n=s.length;r=0;t--)if("link_close"!==(i=s[t]).type){if("html_inline"===i.type&&(k=i.content,/^\s]/i.test(k)&&d>0&&d--,be(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((o=new e.Token("text","",0)).content=c.slice(p,u),o.level=h,a.push(o)),(o=new e.Token("link_open","a",1)).attrs=[["href",m]],o.level=h++,o.markup="linkify",o.info="auto",a.push(o),(o=new e.Token("text","",0)).content=g,o.level=h,a.push(o),(o=new e.Token("link_close","a",-1)).level=--h,o.markup="linkify",o.info="auto",a.push(o),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(Ce.test(e.tokens[t].content)&&De(e.tokens[t].children),ve.test(e.tokens[t].content)&&we(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Fe.test(e.tokens[t].content)&&Ie(e.tokens[t].children,e)}]];function Pe(){this.ruler=new me;for(var e=0;e=o)return-1;if((r=e.src.charCodeAt(s++))<48||r>57)return-1;for(;;){if(s>=o)return-1;if(!((r=e.src.charCodeAt(s++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Xe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",et={HTML_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+")")},tt=et.HTML_OPEN_CLOSE_TAG_RE,rt=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(tt.source+"\\s*$"),/^$/,!1]],nt=se.isSpace;function st(e,t,r,n){var s,o,i,a,l,c,u,p;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,i=a=c=u=0,l=(o=this.src).length;a0&&this.level++,this.tokens.push(n),n},st.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},st.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!nt(this.src.charCodeAt(--e)))return e+1;return e},st.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},st.prototype.getLines=function(e,t,r,n){var s,o,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),s=0;pr?new Array(o-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},st.prototype.Token=Re;var ot=st,it=[["table",function(e,t,r,n){var s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(s=e.src.charCodeAt(i++))&&45!==s&&58!==s)return!1;for(;i=4)return!1;if((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",b=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=4))break;s=++n}return e.line=s,(o=e.push("code_block","code",0)).content=e.getLines(t,s,4+e.blkIndent,!0),o.map=[t,e.line],!0}],["fence",function(e,t,r,n){var s,o,i,a,l,c,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(s=e.src.charCodeAt(h))&&96!==s)return!1;if(l=h,(o=(h=e.skipChars(h,s))-l)<3)return!1;if(u=e.src.slice(l,h),i=e.src.slice(h,d),96===s&&i.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((h=l=e.bMarks[a]+e.tShift[a])<(d=e.eMarks[a])&&e.sCount[a]=4||(h=e.skipChars(h,s))-l=4)return!1;if(62!==e.src.charCodeAt(D++))return!1;if(n)return!0;for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(D)?(D++,a++,h++,s=!1,b=!0):9===e.src.charCodeAt(D)?(b=!0,(e.bsCount[t]+h)%4==3?(D++,a++,h++,s=!1):s=!0):b=!1,d=[e.bMarks[t]],e.bMarks[t]=D;D=w,_=[e.sCount[t]],e.sCount[t]=h-a,k=[e.tShift[t]],e.tShift[t]=D-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(w=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(D++)||A){if(c)break;for(v=!1,i=0,l=C.length;i=w,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(b?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,k.push(e.tShift[p]),e.tShift[p]=D-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(y=e.push("blockquote_open","blockquote",1)).markup=">",y.map=u=[t,0],e.md.block.tokenize(e,t,p),(y=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(s=e.src.charCodeAt(l++))&&45!==s&&95!==s)return!1;for(o=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(w=Je(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,w-q-1)),z&&1!==g)return!1}else{if(!((w=He(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(w)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(w-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),k=t,E=!1,F=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";k=_?1:b-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],x=e.tight,A=e.tShift[t],y=e.sCount[t],v=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=o-e.bMarks[t],e.sCount[t]=b,o>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=v,e.tShift[t]=A,e.sCount[t]=y,e.tight=x,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),k=t=e.line,p[1]=k,o=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C3||e.sCount[A]<0)){for(_=!1,c=0,u=k.length;c=4)return!1;if(35!==(s=e.src.charCodeAt(l))||l>=c)return!1;for(o=1,s=e.src.charCodeAt(++l);35===s&&l6||ll&&Ke(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,s,o,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(s=!1,o=0,i=f.length;o=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),s=0;s3||e.sCount[l]<0)){for(n=!1,s=0,o=c.length;s=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".split("").forEach((function(e){ht[e.charCodeAt(0)]=1}));function ft(e,t){var r,n,s,o,i,a=[],l=t.length;for(r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(s=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===s.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(o=e.tokens[n.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[s.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var _t={tokenize:function(e,t){var r,n,s=e.pos,o=e.src.charCodeAt(s);if(t)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),r=0;r\x00-\x20]*)$/,xt=et.HTML_TAG_RE;var Dt=se.has,wt=se.isValidEntityCode,Et=se.fromCodePoint,qt=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,St=/^&([a-z][a-z0-9]{1,31});/i;function Ft(e,t){var r,n,s,o,i,a,l,c,u={},p=t.length;for(r=0;ri;n-=o.jump+1)if((o=t[n]).marker===s.marker&&o.open&&o.end<0&&(l=!1,(o.close||s.open)&&(o.length+s.length)%3==0&&(o.length%3==0&&s.length%3==0||(l=!0)),!l)){c=n>0&&!t[n-1].open?t[n-1].jump+1:0,s.jump=r-n+c,s.open=!1,o.end=r,o.jump=c,o.close=!1,a=-1;break}-1!==a&&(u[s.marker][(s.length||0)%3]=a)}}var Lt=se.isWhiteSpace,zt=se.isPunctChar,It=se.isMdAsciiPunct;function Tt(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Tt.prototype.pushPending=function(){var e=new Re("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Tt.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Re(e,t,r),s=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(s),n},Tt.prototype.scanDelims=function(e,t){var r,n,s,o,i,a,l,c,u,p=e,h=!0,d=!0,f=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;p=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),s++;s=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?s=e.src.slice(f,a++):a=o+1):a=o+1,s||(s=e.src.slice(i,o)),!(c=e.env.references[kt(s)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=o,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(f,l++):l=i+1):l=i+1,o||(o=e.src.slice(a,i)),!(c=e.env.references[vt(o)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=s,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,s,o,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(o=e.src.charCodeAt(l)))return!1;if(62===o)break}return r=e.src.slice(i+1,l),At.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0)):!!yt.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,s,o=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=s)&&(!(33!==(r=e.src.charCodeAt(o+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(o).match(xt))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,s=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(s))return!1;if(s+10&&n++,"text"===s[t].type&&t+1=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Nt.prototype.parse=function(e,t,r,n){var s,o,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(o=this.ruler2.getRules("")).length,s=0;s=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Gt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ht(e){var t,r,n=e.re=(t=e.__opts__,(r={}).src_Any=ee.source,r.src_Cc=te.source,r.src_Z=re.source,r.src_P=T.source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|"),r.src_pseudo_letter="(?:(?![><|]|"+r.src_ZPCc+")"+r.src_Any+")",r.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|[><|]|"+r.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+r.src_ZCc+").|\\!+(?!"+r.src_ZCc+"|[!]).|\\?(?!"+r.src_ZCc+"|[?]).)+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy='(^|[><|]|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r),s=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",n.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),s.push(n.src_xn),n.src_tlds=s.join("|"),n.email_fuzzy=RegExp(o(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(o(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(o(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(o(n.tpl_host_fuzzy_test),"i");var i=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Ot(r))return!function(e){return"[object RegExp]"===Ot(e)}(r.validate)?jt(r.validate)?n.validate=r.validate:a(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(jt(r.normalize)?n.normalize=r.normalize:r.normalize?a(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Ot(e)}(r)?a(t,r):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Vt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Jt(e,t){var r=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=s,this.text=s,this.url=s}function Wt(e,t){var r=new Jt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Yt(e,t){if(!(this instanceof Yt))return new Yt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Zt,e),this.__compiled__={},this.__tlds__=Gt,this.__tlds_replaced__=!1,this.re={},Ht(this)}Yt.prototype.add=function(e,t){return this.__schemas__[e]=t,Ht(this),this},Yt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Yt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,s,o,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(s=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},Yt.prototype.pretest=function(e){return this.re.pretest.test(e)},Yt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Yt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Wt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Wt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Yt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Ht(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Ht(this),this)},Yt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Yt.prototype.onCompile=function(){};var Kt=Yt;const Qt=2147483647,Xt=/^xn--/,er=/[^\0-\x7E]/,tr=/[\x2E\u3002\uFF0E\uFF61]/g,rr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},nr=Math.floor,sr=String.fromCharCode;function or(e){throw new RangeError(rr[e])}function ir(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const s=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(tr,".")).split("."),t).join(".");return n+s}function ar(e){const t=[];let r=0;const n=e.length;for(;r=55296&&s<=56319&&rString.fromCodePoint(...e),cr=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},ur=function(e,t,r){let n=0;for(e=r?nr(e/700):e>>1,e+=nr(e/t);e>455;n+=36)e=nr(e/35);return nr(n+36*e/(e+38))},pr=function(e){const t=[],r=e.length;let n=0,s=128,o=72,i=e.lastIndexOf("-");i<0&&(i=0);for(let l=0;l=128&&or("not-basic"),t.push(e.charCodeAt(l));for(let l=i>0?i+1:0;l=r&&or("invalid-input");const i=(a=e.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(i>=36||i>nr((Qt-n)/t))&&or("overflow"),n+=i*t;const c=s<=o?1:s>=o+26?26:s-o;if(inr(Qt/u)&&or("overflow"),t*=u}const c=t.length+1;o=ur(n-i,c,0==i),nr(n/c)>Qt-s&&or("overflow"),s+=nr(n/c),n%=c,t.splice(n++,0,s)}var a;return String.fromCodePoint(...t)},hr=function(e){const t=[];let r=(e=ar(e)).length,n=128,s=0,o=72;for(const l of e)l<128&&t.push(sr(l));let i=t.length,a=i;for(i&&t.push("-");a=n&&tnr((Qt-s)/l)&&or("overflow"),s+=(r-n)*l,n=r;for(const c of e)if(cQt&&or("overflow"),c==n){let e=s;for(let r=36;;r+=36){const n=r<=o?1:r>=o+26?26:r-o;if(e=0))try{t.hostname=gr.toASCII(t.hostname)}catch(r){}return X.encode(X.format(t))}function Ar(e){var t=X.parse(e,!0);if(t.hostname&&(!t.protocol||Cr.indexOf(t.protocol)>=0))try{t.hostname=gr.toUnicode(t.hostname)}catch(r){}return X.decode(X.format(t),X.decode.defaultChars+"%")}function xr(e,t){if(!(this instanceof xr))return new xr(e,t);t||se.isString(e)||(t=e||{},e="default"),this.inline=new Pt,this.block=new lt,this.core=new Ue,this.renderer=new de,this.linkify=new Kt,this.validateLink=vr,this.normalizeLink=yr,this.normalizeLinkText=Ar,this.utils=se,this.helpers=se.assign({},ae),this.options={},this.configure(e),t&&this.set(t)}xr.prototype.set=function(e){return se.assign(this.options,e),this},xr.prototype.configure=function(e){var t,r=this;if(se.isString(e)&&!(e=_r[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},xr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},xr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},xr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},xr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},xr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},xr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},xr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const Dr=new xr,wr=_();k("data-v-44467b26");const Er={class:"comment-container"},qr={class:"comment-send"},Sr={class:"comment-input"},Fr=i("div",{class:"comment-title"},[i("span",null,"文章交流区")],-1),Lr={class:"comment-list"},zr={class:"comment-avatar"},Ir={class:"comment-content"},Tr={class:"main-comment"},Rr={class:"comment-user-info"},Mr={class:"floor"},Br={class:"badge"},Nr={key:0,class:"author"},Pr={class:"time"},Ur={class:"main-content"},Or={key:0,class:"empty-content"};b();var jr=r({expose:[],props:{postId:Number,authorId:Number},setup(e){const t=e,r=A(),_=x(),k=D(),b=computed((()=>{var e,t;return null!=(t=null==(e=null==k?void 0:k.User)?void 0:e.Id)&&t})),C=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),y=()=>{C.text?C.submitting?r.warning("评论过快"):(C.submitting=!0,E({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:`${C.text} ____ From Vue-next`}).then((e=>{if(null==e?void 0:e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose(){_.push("/signin")}}):void r.warning(`评论出错: ${e.ErrorCode} ${e.ErrorMsg}`);r.success("评论成功~"),C.text="",C.listLoadingStatus=1,w({Page:1,Size:15,PostID:t.postId||-1}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];C.list=n})).finally((()=>{C.listLoadingStatus=0}))})).finally((()=>{C.submitting=!1}))):r.warning("评论不能为空")},q=()=>{_.push("/signin")},S=L;onMounted((()=>{C.listLoadingStatus=2,C.page=1,C.loaded=!1,w({PostID:t.postId||0,Page:1,Size:15}).then((e=>{var t,n,s;const o=null!=(n=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?n:[];C.list=o,15===o.length?C.loaded=!1:C.loaded=!0,e.ErrorCode&&r.warning(null!=(s=null==e?void 0:e.ErrorMsg)?s:`${e.ErrorCode}`)})).finally((()=>{C.listLoadingStatus=0}))}));const F=()=>{C.page+=1,C.listLoadingStatus=2,w({PostID:t.postId||-1,Page:C.page,Size:15}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];15===n.length?C.loaded=!1:C.loaded=!0,C.list=[...C.list,...n]})).finally((()=>{C.listLoadingStatus=0}))};return wr(((e,t)=>{const r=n("Avatar"),_=n("router-link"),k=n("LoadingBall");return s(),o("div",Er,[i("div",qr,[i("div",Sr,[a(i("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=e=>C.text=e),onKeydown:c(v(y,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[l,C.text,void 0,{trim:!0}]])]),u(b)?(s(),o("div",{key:0,class:"comment-btn",onClick:y}," 发表评论 ")):(s(),o("div",{key:1,class:"comment-btn",onClick:q},"登录发表评论"))]),Fr,i("div",Lr,[i(p,{name:"list"},{default:wr((()=>[(s(!0),o(h,null,d(C.list,((t,n)=>(s(),o("div",{class:"comment-item",key:t.Id},[i("div",zr,[i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[i(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])])),_:2},1032,["to"])]),i("div",Ir,[i("div",Tr,[i("div",Rr,[i("span",Mr,"#"+f(C.list.length-n),1),i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[m(f(t.CommentUserInfo.Nickname),1)])),_:2},1032,["to"]),i("span",Br,[t.CommentUserInfo.UID==e.$props.authorId?(s(),o("sup",Nr,"本文作者")):g("",!0),(s(!0),o(h,null,d(t.CommentUserInfo.Roles,(e=>(s(),o("sup",{class:"role",key:e.RID},f(e.Description),1)))),128))]),i("span",Pr,f(u(S)(t.CreatedAt)),1)]),i("div",Ur,f(t.Content),1)])])])))),128))])),_:1}),0!==C.list.length||C.listLoadingStatus?g("",!0):(s(),o("div",Or," 暂无任何评论,快去发表吧~ ")),i(k,{loading:C.list.length>0&&2==C.listLoadingStatus},null,8,["loading"]),C.loaded||C.listLoadingStatus?g("",!0):(s(),o("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});jr.__scopeId="data-v-44467b26";const Vr=_();k("data-v-ad8ad844");const $r={key:0},Zr={class:"article-title"},Gr={class:"artilce-info"},Hr=m(" 分类: "),Jr={class:"article-navi"};b();var Wr=r({expose:[],props:{pid:{required:!0,type:Number,validator:e=>!isNaN(+e)}},setup(e){const t=e,r=A(),{data:l,loading:c}=q(t.pid),p=computed((()=>{var e,t;return Dr.render(null!=(t=null==(e=l.value.Result)?void 0:e.Content)?t:"")})),h=computed((()=>{var e,t;return z(null!=(t=null==(e=l.value.Result)?void 0:e.CreatedAt)?t:Date.now())})),d=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Title})),_=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Summary})),k=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.UID})),b=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.Nickname})),v=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.Id})),x=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.CN})),D=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Id})),w=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Id})),E=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Title})),L=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Title})),I=computed((()=>`${b.value}发表了${d.value},${_.value}`));return S({title:d,meta:[{name:"description",content:I},{name:"author",content:b}]}),watch((()=>null==l?void 0:l.value.ErrorMsg),((e,t)=>{r.error("请求出错:"+e)})),Vr(((e,r)=>{const l=n("LoadingBall"),_=n("router-link"),A=C("highlight");return s(),o(F,null,{default:Vr((()=>[i(l,{loading:u(c),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),i(y,{name:"content"},{default:Vr((()=>[u(c)?g("",!0):(s(),o("main",$r,[i("h1",Zr,f(u(d)),1),i("div",Gr,[i("span",null,[i(_,{to:`/users/${u(k)}`},{default:Vr((()=>[i("a",null,f(u(b)),1)])),_:1},8,["to"])]),i("span",null,"发表于: "+f(u(h)),1),i("span",null,[Hr,i(_,{to:`/?CategoryID=${u(v)}`},{default:Vr((()=>[m(f(u(x)),1)])),_:1},8,["to"])])]),a(i("div",{innerHTML:u(p),class:"article-container"},null,8,["innerHTML"]),[[A]]),i("div",Jr,[i("div",null,[u(D)?(s(),o(_,{key:0,to:`/post/${u(D)}`},{default:Vr((()=>[m(" 上一篇 « "+f(u(L)),1)])),_:1},8,["to"])):g("",!0)]),i("div",null,[u(w)?(s(),o(_,{key:0,to:`/post/${u(w)}`},{default:Vr((()=>[m(" 下一篇 » "+f(u(E)),1)])),_:1},8,["to"])):g("",!0)])]),i(jr,{"author-id":u(k),"post-id":t.pid},null,8,["author-id","post-id"])]))])),_:1})])),_:1})}))}});Wr.__scopeId="data-v-ad8ad844";export default Wr; diff --git a/assets/pid.b25a421b.css b/assets/pid.b25a421b.css deleted file mode 100644 index 1b65ae7..0000000 --- a/assets/pid.b25a421b.css +++ /dev/null @@ -1 +0,0 @@ -.comment-container[data-v-64deee34]{margin-top:50px;color:#444}.comment-title[data-v-64deee34]{padding:10px 0;font-weight:700}.btn-next[data-v-64deee34]{width:80px;text-align:center;margin:20px auto;cursor:pointer;height:32px;line-height:32px;border:1px solid #efefef;border-radius:3px}.btn-next[data-v-64deee34]:hover{background:#999;color:#fff}.comment-item[data-v-64deee34]{display:flex;padding:5px;margin:10px 0}.comment-item[data-v-64deee34]:hover{background:#e3e3e3}.comment-content[data-v-64deee34]{flex:1}.sub-comment[data-v-64deee34]{padding:0 20px}.main-content[data-v-64deee34]{line-height:1.5;border-bottom:1px solid #e8e8e8;padding-bottom:20px}.comment-content[data-v-64deee34]{padding:0 10px}.comment-user-info[data-v-64deee34]{font-size:14px;margin-bottom:5px}.comment-send[data-v-64deee34]{overflow:hidden;position:relative;width:100%}.comment-input[data-v-64deee34]{position:relative;display:flex}.comment-btn[data-v-64deee34]{float:right;padding:0 10px;margin:5px 0;height:32px;line-height:32px;border:1px solid #efefef;border-radius:3px;cursor:pointer}.comment-input textarea[data-v-64deee34]{flex:1;height:80px;border:1px solid #efefef;font-size:14px;line-height:1.5;padding:10px;border-radius:5px;-webkit-appearance:none}textarea[data-v-64deee34]:focus{outline:0}.comment-user-info[data-v-64deee34]{display:flex;align-items:center}.time[data-v-64deee34]{padding:0 10px}.floor[data-v-64deee34]{color:#999;padding-right:10px}.empty-content[data-v-64deee34]{text-align:center;padding:40px;font-size:14px}.badge sup[data-v-64deee34]{margin-left:5px;height:18px;line-height:18px;min-width:9px;border-radius:12px;padding:0 5px;text-align:center;font-size:12px;color:#fff}.badge sup.author[data-v-64deee34]{background-color:#f96268}.badge sup.role[data-v-64deee34]{background-color:#ff5b05}main[data-v-ad8ad844]{padding:10px 0}.artilce-info span[data-v-ad8ad844]{padding-right:10px;color:#666;font-size:14px}.article-navi[data-v-ad8ad844]{display:flex;align-items:center;justify-content:space-between;font-size:14px;padding:20px 0}.article-navi div[data-v-ad8ad844]{width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.article-navi div a[data-v-ad8ad844]{color:teal;border-bottom:1px solid teal} \ No newline at end of file diff --git a/assets/pid.d8c878a3.css b/assets/pid.d8c878a3.css new file mode 100644 index 0000000..82e880e --- /dev/null +++ b/assets/pid.d8c878a3.css @@ -0,0 +1 @@ +.comment-container[data-v-44467b26]{margin-top:50px;color:#444}.comment-title[data-v-44467b26]{padding:10px 0;font-weight:700}.btn-next[data-v-44467b26]{width:80px;text-align:center;margin:20px auto;cursor:pointer;height:32px;line-height:32px;border:1px solid #efefef;border-radius:3px}.btn-next[data-v-44467b26]:hover{background:#999;color:#fff}.comment-item[data-v-44467b26]{display:flex;padding:5px;margin:10px 0}.comment-item[data-v-44467b26]:hover{background:#e3e3e3}.comment-content[data-v-44467b26]{flex:1}.sub-comment[data-v-44467b26]{padding:0 20px}.main-content[data-v-44467b26]{line-height:1.5;border-bottom:1px solid #e8e8e8;padding-bottom:20px}.comment-content[data-v-44467b26]{padding:0 10px}.comment-user-info[data-v-44467b26]{font-size:14px;margin-bottom:5px}.comment-send[data-v-44467b26]{overflow:hidden;position:relative;width:100%}.comment-input[data-v-44467b26]{position:relative;display:flex}.comment-btn[data-v-44467b26]{float:right;padding:0 10px;margin:5px 0;height:32px;line-height:32px;border:1px solid #efefef;border-radius:3px;cursor:pointer}.comment-input textarea[data-v-44467b26]{flex:1;height:80px;border:1px solid #efefef;font-size:14px;line-height:1.5;padding:10px;border-radius:5px;-webkit-appearance:none}textarea[data-v-44467b26]:focus{outline:0}.comment-user-info[data-v-44467b26]{display:flex;align-items:center}.time[data-v-44467b26]{padding:0 10px}.floor[data-v-44467b26]{color:#999;padding-right:10px}.empty-content[data-v-44467b26]{text-align:center;padding:40px;font-size:14px}.badge sup[data-v-44467b26]{margin-left:5px;height:18px;line-height:18px;min-width:9px;border-radius:12px;padding:0 5px;text-align:center;font-size:12px;color:#fff}.badge sup.author[data-v-44467b26]{background-color:#f96268}.badge sup.role[data-v-44467b26]{background-color:#ff5b05}main[data-v-ad8ad844]{padding:10px 0}.artilce-info span[data-v-ad8ad844]{padding-right:10px;color:#666;font-size:14px}.article-navi[data-v-ad8ad844]{display:flex;align-items:center;justify-content:space-between;font-size:14px;padding:20px 0}.article-navi div[data-v-ad8ad844]{width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.article-navi div a[data-v-ad8ad844]{color:teal;border-bottom:1px solid teal} \ No newline at end of file diff --git a/assets/polyfills-legacy.85937c9b.js b/assets/polyfills-legacy.85937c9b.js deleted file mode 100644 index 9a2203c..0000000 --- a/assets/polyfills-legacy.85937c9b.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),o=function(t){try{return!!t()}catch(e){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,c={f:u&&!a.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:a},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,l=function(t){return s.call(t).slice(8,-1)},h="".split,p=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==l(t)?h.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},d=function(t){return p(v(t))},g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},y=function(t,e){if(!g(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!g(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!g(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!g(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,b=function(t,e){return m.call(t,e)},w=n.document,S=g(w)&&g(w.createElement),E=function(t){return S?w.createElement(t):{}},x=!i&&!o((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),O=Object.getOwnPropertyDescriptor,j={f:i?O:function(t,e){if(t=d(t),e=y(e,!0),x)try{return O(t,e)}catch(r){}if(b(t,e))return f(!c.f.call(t,e),t[e])}},R=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},L=Object.defineProperty,A={f:i?L:function(t,e,r){if(R(t),e=y(e,!0),R(r),x)try{return L(t,e,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},I=i?function(t,e,r){return A.f(t,e,f(1,r))}:function(t,e,r){return t[e]=r,t},P=function(t,e){try{I(n,t,e)}catch(r){n[t]=e}return e},k="__core-js_shared__",T=n[k]||P(k,{}),U=Function.toString;"function"!=typeof T.inspectSource&&(T.inspectSource=function(t){return U.call(t)});var _,N,C,M=T.inspectSource,F=n.WeakMap,B="function"==typeof F&&/native code/.test(M(F)),D=e((function(t){(t.exports=function(t,e){return T[t]||(T[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),z=0,q=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+q).toString(36)},G=D("keys"),$=function(t){return G[t]||(G[t]=W(t))},V={},J=n.WeakMap;if(B){var Y=T.state||(T.state=new J),K=Y.get,X=Y.has,H=Y.set;_=function(t,e){return e.facade=t,H.call(Y,t,e),e},N=function(t){return K.call(Y,t)||{}},C=function(t){return X.call(Y,t)}}else{var Q=$("state");V[Q]=!0,_=function(t,e){return e.facade=t,I(t,Q,e),e},N=function(t){return b(t,Q)?t[Q]:{}},C=function(t){return b(t,Q)}}var Z={set:_,get:N,has:C,enforce:function(t){return C(t)?N(t):_(t,{})},getterFor:function(t){return function(e){var r;if(!g(e)||(r=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},tt=e((function(t){var e=Z.get,r=Z.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u,c=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||b(i,"name")||I(i,"name",e),(u=r(i)).source||(u.source=o.join("string"==typeof e?e:""))),t!==n?(c?!s&&t[e]&&(f=!0):delete t[e],f?t[e]=i:I(t,e,i)):f?t[e]=i:P(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||M(this)}))})),et=n,rt=function(t){return"function"==typeof t?t:void 0},nt=function(t,e){return arguments.length<2?rt(et[t])||rt(n[t]):et[t]&&et[t][e]||n[t]&&n[t][e]},ot=Math.ceil,it=Math.floor,at=function(t){return isNaN(t=+t)?0:(t>0?it:ot)(t)},ut=Math.min,ct=function(t){return t>0?ut(at(t),9007199254740991):0},ft=Math.max,st=Math.min,lt=function(t,e){var r=at(t);return r<0?ft(r+e,0):st(r,e)},ht=function(t){return function(e,r,n){var o,i=d(e),a=ct(i.length),u=lt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},pt={includes:ht(!0),indexOf:ht(!1)},vt=pt.indexOf,dt=function(t,e){var r,n=d(t),o=0,i=[];for(r in n)!b(V,r)&&b(n,r)&&i.push(r);for(;e.length>o;)b(n,r=e[o++])&&(~vt(i,r)||i.push(r));return i},gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yt=gt.concat("length","prototype"),mt={f:Object.getOwnPropertyNames||function(t){return dt(t,yt)}},bt={f:Object.getOwnPropertySymbols},wt=nt("Reflect","ownKeys")||function(t){var e=mt.f(R(t)),r=bt.f;return r?e.concat(r(t)):e},St=function(t,e){for(var r=wt(e),n=A.f,o=j.f,i=0;i0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(c="(?: "+c+")",s=" "+s,f++),r=new RegExp("^(?:"+c+")",u)),Bt&&(r=new RegExp("^"+c+"$(?!\\s)",u)),Mt&&(e=i.lastIndex),n=_t.call(a?r:i,s),a?n?(n.input=n.input.slice(f),n[0]=n[0].slice(f),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:Mt&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),Bt&&n&&n.length>1&&Nt.call(n[0],r,(function(){for(o=1;o")})),Kt="$0"==="a".replace(/./,"$0"),Xt=Vt("replace"),Ht=!!/./[Xt]&&""===/./[Xt]("a","$0"),Qt=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Zt=function(t,e,r,n){var i=Vt(t),a=!o((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),u=a&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Jt]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return e=!0,null},r[i](""),!e}));if(!a||!u||"replace"===t&&(!Yt||!Kt||Ht)||"split"===t&&!Qt){var c=/./[i],f=r(i,""[t],(function(t,e,r,n,o){return e.exec===Dt?a&&!o?{done:!0,value:c.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:Kt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ht}),s=f[0],l=f[1];tt(String.prototype,t,s),tt(RegExp.prototype,i,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}n&&I(RegExp.prototype[i],"sham",!0)},te=Vt("match"),ee=function(t){var e;return g(t)&&(void 0!==(e=t[te])?!!e:"RegExp"==l(t))},re=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},ne=Vt("species"),oe=function(t,e){var r,n=R(t).constructor;return void 0===n||null==(r=R(n)[ne])?e:re(r)},ie=function(t){return function(e,r){var n,o,i=String(v(e)),a=at(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},ae={codeAt:ie(!1),charAt:ie(!0)},ue=ae.charAt,ce=function(t,e,r){return e+(r?ue(t,e).length:1)},fe=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==l(t))throw TypeError("RegExp#exec called on incompatible receiver");return Dt.call(t,e)},se=[].push,le=Math.min,he=4294967295,pe=!o((function(){return!RegExp(he,"y")}));Zt("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(v(this)),o=void 0===r?he:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!ee(t))return e.call(n,t,o);for(var i,a,u,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,f+"g");(i=Dt.call(l,n))&&!((a=l.lastIndex)>s&&(c.push(n.slice(s,i.index)),i.length>1&&i.index=o));)l.lastIndex===i.index&&l.lastIndex++;return s===n.length?!u&&l.test("")||c.push(""):c.push(n.slice(s)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=v(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,t,this,o,n!==e);if(i.done)return i.value;var a=R(t),u=String(this),c=oe(a,RegExp),f=a.unicode,s=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(pe?"y":"g"),l=new c(pe?a:"^(?:"+a.source+")",s),h=void 0===o?he:o>>>0;if(0===h)return[];if(0===u.length)return null===fe(l,u)?[u]:[];for(var p=0,v=0,d=[];vo;)for(var f,s=p(arguments[o++]),l=a?ve(s).concat(a(s)):ve(s),h=l.length,v=0;h>v;)f=l[v++],i&&!u.call(s,f)||(r[f]=s[f]);return r}:ge;Pt({target:"Object",stat:!0,forced:Object.assign!==me},{assign:me});var be={};be[Vt("toStringTag")]="z";var we="[object z]"===String(be),Se=Vt("toStringTag"),Ee="Arguments"==l(function(){return arguments}()),xe=we?l:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=Object(t),Se))?r:Ee?l(e):"Object"==(n=l(e))&&"function"==typeof e.callee?"Arguments":n},Oe=we?{}.toString:function(){return"[object "+xe(this)+"]"};we||tt(Object.prototype,"toString",Oe,{unsafe:!0});var je,Re,Le=Array.isArray||function(t){return"Array"==l(t)},Ae=function(t,e,r){var n=y(e);n in t?A.f(t,n,f(0,r)):t[n]=r},Ie=nt("navigator","userAgent")||"",Pe=n.process,ke=Pe&&Pe.versions,Te=ke&&ke.v8;Te?Re=(je=Te.split("."))[0]+je[1]:Ie&&(!(je=Ie.match(/Edge\/(\d+)/))||je[1]>=74)&&(je=Ie.match(/Chrome\/(\d+)/))&&(Re=je[1]);var Ue=Re&&+Re,_e=Vt("species"),Ne=function(t){return Ue>=51||!o((function(){var e=[];return(e.constructor={})[_e]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Ce=Ne("slice"),Me=Vt("species"),Fe=[].slice,Be=Math.max;Pt({target:"Array",proto:!0,forced:!Ce},{slice:function(t,e){var r,n,o,i=d(this),a=ct(i.length),u=lt(t,a),c=lt(void 0===e?a:e,a);if(Le(i)&&("function"!=typeof(r=i.constructor)||r!==Array&&!Le(r.prototype)?g(r)&&null===(r=r[Me])&&(r=void 0):r=void 0,r===Array||void 0===r))return Fe.call(i,u,c);for(n=new(void 0===r?Array:r)(Be(c-u,0)),o=0;ui;i++)if((u=g(t[i]))&&u instanceof He)return u;return new He(!1)}n=o.call(t)}for(c=n.next;!(f=c.call(n)).done;){try{u=g(f.value)}catch(y){throw Xe(n),y}if("object"==typeof u&&u&&u instanceof He)return u}return new He(!1)},Ze=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},tr=Vt("iterator"),er=!1;try{var rr=0,nr={next:function(){return{done:!!rr++}},return:function(){er=!0}};nr[tr]=function(){return this},Array.from(nr,(function(){throw 2}))}catch(Zs){}var or=function(t,e){if(!e&&!er)return!1;var r=!1;try{var n={};n[tr]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(Zs){}return r},ir=A.f,ar=Vt("toStringTag"),ur=function(t,e,r){t&&!b(t=r?t:t.prototype,ar)&&ir(t,ar,{configurable:!0,value:e})},cr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(Zs){}return function(r,n){return R(r),function(t){if(!g(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),fr=function(t,e,r){var n,o;return cr&&"function"==typeof(n=e.constructor)&&n!==r&&g(o=n.prototype)&&o!==r.prototype&&cr(t,o),t},sr=function(t,e,r){var i=-1!==t.indexOf("Map"),a=-1!==t.indexOf("Weak"),u=i?"set":"add",c=n[t],f=c&&c.prototype,s=c,l={},h=function(t){var e=f[t];tt(f,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(a&&!g(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return a&&!g(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(a&&!g(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(At(t,"function"!=typeof c||!(a||f.forEach&&!o((function(){(new c).entries().next()})))))s=r.getConstructor(e,t,i,u),qe.REQUIRED=!0;else if(At(t,!0)){var p=new s,v=p[u](a?{}:-0,1)!=p,d=o((function(){p.has(1)})),y=or((function(t){new c(t)})),m=!a&&o((function(){for(var t=new c,e=5;e--;)t[u](e,e);return!t.has(-0)}));y||((s=e((function(e,r){Ze(e,s,t);var n=fr(new c,e,s);return null!=r&&Qe(r,n[u],{that:n,AS_ENTRIES:i}),n}))).prototype=f,f.constructor=s),(d||m)&&(h("delete"),h("has"),i&&h("get")),(m||v)&&h(u),a&&f.clear&&delete f.clear}return l[t]=s,Pt({global:!0,forced:s!=c},l),ur(s,t),a||r.setStrong(s,t,i),s},lr=Vt("species"),hr=function(t,e){var r;return Le(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Le(r.prototype)?g(r)&&null===(r=r[lr])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},pr=[].push,vr=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,s,l){for(var h,v,d=de(c),g=p(d),y=Je(f,s,3),m=ct(g.length),b=0,w=l||hr,S=e?w(c,m):r||a?w(c,0):void 0;m>b;b++)if((u||b in g)&&(v=y(h=g[b],b,d),t))if(e)S[b]=v;else if(v)switch(t){case 3:return!0;case 5:return h;case 6:return b;case 2:pr.call(S,h)}else switch(t){case 4:return!1;case 7:pr.call(S,h)}return i?-1:n||o?o:S}},dr={forEach:vr(0),map:vr(1),filter:vr(2),some:vr(3),every:vr(4),find:vr(5),findIndex:vr(6),filterOut:vr(7)},gr=qe.getWeakData,yr=Z.set,mr=Z.getterFor,br=dr.find,wr=dr.findIndex,Sr=0,Er=function(t){return t.frozen||(t.frozen=new xr)},xr=function(){this.entries=[]},Or=function(t,e){return br(t.entries,(function(t){return t[0]===e}))};xr.prototype={get:function(t){var e=Or(this,t);if(e)return e[1]},has:function(t){return!!Or(this,t)},set:function(t,e){var r=Or(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=wr(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var jr={getConstructor:function(t,e,r,n){var o=t((function(t,i){Ze(t,o,e),yr(t,{type:e,id:Sr++,frozen:void 0}),null!=i&&Qe(i,t[n],{that:t,AS_ENTRIES:r})})),i=mr(e),a=function(t,e,r){var n=i(t),o=gr(R(e),!0);return!0===o?Er(n).set(e,r):o[n.id]=r,t};return De(o.prototype,{delete:function(t){var e=i(this);if(!g(t))return!1;var r=gr(t);return!0===r?Er(e).delete(t):r&&b(r,e.id)&&delete r[e.id]},has:function(t){var e=i(this);if(!g(t))return!1;var r=gr(t);return!0===r?Er(e).has(t):r&&b(r,e.id)}}),De(o.prototype,r?{get:function(t){var e=i(this);if(g(t)){var r=gr(t);return!0===r?Er(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}};e((function(t){var e,r=Z.enforce,o=!n.ActiveXObject&&"ActiveXObject"in n,i=Object.isExtensible,a=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},u=t.exports=sr("WeakMap",a,jr);if(B&&o){e=jr.getConstructor(a,"WeakMap",!0),qe.REQUIRED=!0;var c=u.prototype,f=c.delete,s=c.has,l=c.get,h=c.set;De(c,{delete:function(t){if(g(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),f.call(this,t)||n.frozen.delete(t)}return f.call(this,t)},has:function(t){if(g(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),s.call(this,t)||n.frozen.has(t)}return s.call(this,t)},get:function(t){if(g(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),s.call(this,t)?l.call(this,t):n.frozen.get(t)}return l.call(this,t)},set:function(t,n){if(g(t)&&!i(t)){var o=r(this);o.frozen||(o.frozen=new e),s.call(this,t)?h.call(this,t,n):o.frozen.set(t,n)}else h.call(this,t,n);return this}})}}));var Rr,Lr,Ar,Ir=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Pr=$("IE_PROTO"),kr=Object.prototype,Tr=Ir?Object.getPrototypeOf:function(t){return t=de(t),b(t,Pr)?t[Pr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?kr:null},Ur=Vt("iterator"),_r=!1;[].keys&&("next"in(Ar=[].keys())?(Lr=Tr(Tr(Ar)))!==Object.prototype&&(Rr=Lr):_r=!0),(null==Rr||o((function(){var t={};return Rr[Ur].call(t)!==t})))&&(Rr={}),b(Rr,Ur)||I(Rr,Ur,(function(){return this}));var Nr,Cr={IteratorPrototype:Rr,BUGGY_SAFARI_ITERATORS:_r},Mr=i?Object.defineProperties:function(t,e){R(t);for(var r,n=ve(e),o=n.length,i=0;o>i;)A.f(t,r=n[i++],e[r]);return t},Fr=nt("document","documentElement"),Br=$("IE_PROTO"),Dr=function(){},zr=function(t){return" 远浅 - 为美好的世界献上祝福 - Vue3实战项目 - - + + @@ -29,7 +29,7 @@ - - + +