@waline/client 1.4.0 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Waline.min.d.ts +12 -5
- package/dist/Waline.min.js +1 -1
- package/dist/Waline.min.js.map +1 -1
- package/dist/Waline.noStyle.d.ts +12 -5
- package/dist/Waline.noStyle.js +1 -1
- package/dist/Waline.noStyle.js.map +1 -1
- package/package.json +7 -7
package/dist/Waline.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Waline=t():e.Waline=t()}(this,(function(){return(()=>{var e={523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(601),o=n.n(r),a=n(609),i=n.n(a)()(o());i.push([e.id,':root{--waline-font-size: 16px;--waline-white: #fff;--waline-light-grey: #999;--waline-dark-grey: #666;--waline-theme-color: #27ae60;--waline-active-color: #2ecc71;--waline-text-color: #444;--waline-bgcolor: #fff;--waline-bgcolor-light: #f8f8f8;--waline-bgcolor-hover: #f0f0f0;--waline-border-color: #ddd;--waline-disable-bgcolor: #f8f8f8;--waline-disable-color: #000;--waline-code-bgcolor: #282c34;--waline-bq-color: #f0f0f0;--waline-avatar-size: 3.25rem;--waline-mobile-avatar-size: calc(var(--waline-avatar-size) * 9 / 13);--waline-badge-color: #3498db;--waline-badge-font-size: 0.775em;--waline-info-bgcolor: #f8f8f8;--waline-info-color: #999;--waline-info-font-size: 0.625em;--waline-border: 1px solid var(--waline-border-color);--waline-avatar-radius: 50%;--waline-box-shadow: none}.v[data-class=v]{font-size:var(--waline-font-size);text-align:left}.v[data-class=v] *{box-sizing:content-box;line-height:1.75}.v[data-class=v] p{color:var(--waline-text-color)}.v[data-class=v] a{position:relative;display:inline-block;color:var(--waline-theme-color);text-decoration:none;cursor:pointer}.v[data-class=v] a:hover{color:var(--waline-active-color)}.v[data-class=v] img{max-width:100%;max-height:400px;border:none}.v[data-class=v] hr{margin:.825em 0;border-style:dashed;border-color:var(--waline-bgcolor-light)}.v[data-class=v] code,.v[data-class=v] pre{margin:0;padding:.2em .4em;border-radius:3px;background:var(--waline-bgcolor-light);font-size:85%}.v[data-class=v] pre{overflow:auto;padding:10px;line-height:1.45}.v[data-class=v] pre::-webkit-scrollbar{width:6px;height:6px}.v[data-class=v] pre::-webkit-scrollbar-track-piece:horizontal{border-radius:6px;background:rgba(0,0,0,.1)}.v[data-class=v] pre::-webkit-scrollbar-thumb:horizontal{width:6px;border-radius:6px;background:var(--waline-theme-color)}.v[data-class=v] pre code{padding:0;background:transparent;color:var(--waline-text-color);white-space:pre-wrap;word-break:keep-all}.v[data-class=v] blockquote{margin:.5em 0;padding:.5em 0 .5em 1em;border-left:8px solid var(--waline-bq-color);color:var(--waline-dark-grey)}.v[data-class=v] blockquote>p{margin:0}.v[data-class=v] ol,.v[data-class=v] ul{margin-left:1.25em;padding:0}.v[data-class=v] input[type=checkbox],.v[data-class=v] input[type=radio]{display:inline-block;vertical-align:middle;margin-top:-2px}.v[data-class=v] .vbtn{display:inline-block;vertical-align:middle;min-width:2.5em;margin-bottom:0;padding:.5em 1em;border:1px solid var(--waline-border-color);border-radius:.5em;background:transparent;color:var(--waline-text-color);font-weight:400;font-size:.75em;line-height:1.5;text-align:center;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;transition-duration:.4s;touch-action:manipulation}.v[data-class=v] .vbtn:hover,.v[data-class=v] .vbtn:active{border-color:var(--waline-theme-color);color:var(--waline-theme-color)}.v[data-class=v] .vbtn:disabled{border-color:var(--waline-border-color);background:var(--waline-disable-bgcolor);color:var(--waline-disable-color);cursor:not-allowed}.v[data-class=v] .vbtn.primary{border-color:var(--waline-theme-color);background:var(--waline-theme-color);color:var(--waline-white)}.v[data-class=v] .vbtn.primary:hover,.v[data-class=v] .vbtn.primary:active{border-color:var(--waline-active-color);background:var(--waline-active-color);color:var(--waline-white)}.v[data-class=v] .vbtn.primary:disabled{border-color:var(--waline-border-color);background:var(--waline-disable-bgcolor);color:var(--waline-disable-color);cursor:not-allowed}.v[data-class=v] .vloading{text-align:center}.v[data-class=v] .vloading svg{margin:0 auto}.v[data-class=v] .vcomment{position:relative;display:flex;margin-bottom:.75em}.v[data-class=v] .vclose{position:absolute;top:-4px;right:-4px;padding:0;border:none;background:transparent;line-height:1;cursor:pointer}.v[data-class=v] .vlogin-info{max-width:80px;margin-top:.75em;text-align:center}.v[data-class=v] .vlogout-btn{position:absolute;top:-10px;right:-10px;padding:3px;border:none;background:transparent;line-height:0;cursor:pointer}.v[data-class=v] .vavatar{position:relative;width:var(--waline-avatar-size);height:var(--waline-avatar-size);margin:0 auto;border:var(--waline-border);border-radius:var(--waline-avatar-radius)}@media(max-width: 720px){.v[data-class=v] .vavatar{width:var(--waline-mobile-avatar-size);height:var(--waline-mobile-avatar-size)}}.v[data-class=v] .vavatar img{width:100%;height:100%;border-radius:var(--waline-avatar-radius)}.v[data-class=v] .vlogin-nick{display:block;color:var(--waline-theme-color);font-size:.75em;word-break:break-all}.v[data-class=v] .vpanel{position:relative;width:100%;flex-shrink:1;margin:.5em;border:var(--waline-border);border-radius:.75em;background:var(--waline-bgcolor);box-shadow:var(--waline-box-shadow)}.v[data-class=v] .vheader{display:flex;padding:0 4px;border-bottom:2px dashed var(--waline-border-color);border-top-left-radius:.75em;border-top-right-radius:.75em;overflow:hidden}@media(max-width: 580px){.v[data-class=v] .vheader{display:block}}.v[data-class=v] .vheader .vheader-item{display:flex;flex:1}@media(max-width: 580px){.v[data-class=v] .vheader .vheader-item:not(:last-child){border-bottom:2px dashed var(--waline-border-color)}}.v[data-class=v] .vheader.vheader-1 .vheader-item{width:100%}.v[data-class=v] .vheader.vheader-2 .vheader-item{width:50%}@media(max-width: 580px){.v[data-class=v] .vheader.vheader-2 .vheader-item{flex:0;width:100%}}.v[data-class=v] .vheader.vheader-3 .vheader-item{width:33.33%}@media(max-width: 580px){.v[data-class=v] .vheader.vheader-3 .vheader-item{width:100%}}.v[data-class=v] .vheader label{min-width:40px;padding:.75em .5em;color:var(--waline-text-color);font-size:.75em;text-align:center}.v[data-class=v] .vheader input{flex:1;width:0;padding:.5em;background:transparent;font-size:.625em;resize:none}.v[data-class=v] .veditor,.v[data-class=v] .vinput{max-width:100%;border:none;color:var(--waline-text-color);outline:none;transition:all .25s ease}.v[data-class=v] .veditor:focus,.v[data-class=v] .vinput:focus{background:var(--waline-bgcolor-light)}.v[data-class=v] .veditor{position:relative;width:calc(100% - 1em);min-height:8.75em;margin:.75em .5em;border-radius:.5em;background:transparent;font-size:.875em;resize:vertical}.v[data-class=v] .vpreview{padding:0 .5em .5em}.v[data-class=v] .vpreview h4{margin:.25em;font-weight:bold;font-size:.9375em}.v[data-class=v] .vpreview .vcontent{padding:.25em;min-height:1.25em;border:var(--waline-border);border-radius:.25em;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.v[data-class=v] .vpreview .vcontent>*:first-child{margin-top:0}.v[data-class=v] .vpreview .vcontent>*:last-child{margin-bottom:0}.v[data-class=v] .vfooter{position:relative;display:flex;flex-wrap:wrap;margin:.5em .75em}.v[data-class=v] .vactions{display:flex;flex:2;align-items:center}.v[data-class=v] .vaction{width:1.5em;height:1.5em;border:none;margin:2px;padding:0;background:transparent;font-size:16px;cursor:pointer;color:var(--waline-text-color);display:inline-flex;justify-content:center;align-items:center}.v[data-class=v] .vaction:hover{color:var(--waline-theme-color)}.v[data-class=v] .vaction.actived{color:var(--waline-active-color)}.v[data-class=v] #waline-image-upload{display:none}.v[data-class=v] #waline-image-upload:focus+label{color:var(--waline-text-color)}.v[data-class=v] #waline-image-upload:focus-visible+label{outline:-webkit-focus-ring-color auto 1px}.v[data-class=v] .vinfo{display:flex;flex:3;align-items:center;justify-content:flex-end}.v[data-class=v] .vinfo .vtext-number{color:var(--waline-info-color);font-size:.75em}.v[data-class=v] .vinfo .vtext-number .illegal{color:red}.v[data-class=v] .vinfo button{margin-left:.75em}.v[data-class=v] .vinfo button svg{display:block;margin:0 auto;line-height:18px}.v[data-class=v] .vemoji-popup{position:absolute;top:100%;left:1.25em;z-index:10;max-width:526px;border:var(--waline-border);border-radius:6px;background:var(--waline-bgcolor);box-shadow:var(--waline-box-shadow);visibility:hidden;opacity:0;transform:scale(0.9, 0.9);transform-origin:0 0;transition:transform .2s ease-out,opacity .2s ease-out}.v[data-class=v] .vemoji-popup.display{visibility:visible;opacity:1;transform:none}.v[data-class=v] .vemoji-popup button{display:inline-block;vertical-align:middle;background:transparent;width:2em;margin:.125em;padding:0;border-width:0;font-size:inherit;line-height:2;text-align:center;cursor:pointer}.v[data-class=v] .vemoji-popup button:hover{background:var(--waline-bgcolor-hover)}.v[data-class=v] .vemoji-popup .vemoji{display:inline-block;vertical-align:middle;max-width:1.5em;max-height:1.5em}.v[data-class=v] .vemoji-popup .vtab-wrapper{max-height:145px;overflow-y:auto;padding:.5em}.v[data-class=v] .vemoji-popup .vtab-wrapper::-webkit-scrollbar{width:6px;height:6px}.v[data-class=v] .vemoji-popup .vtab-wrapper::-webkit-scrollbar-track-piece:vertical{border-radius:6px;background:rgba(0,0,0,.1)}.v[data-class=v] .vemoji-popup .vtab-wrapper::-webkit-scrollbar-thumb:vertical{width:6px;border-radius:6px;background:var(--waline-theme-color)}.v[data-class=v] .vemoji-popup .vtabs{position:relative;height:2em;padding:0 6px}.v[data-class=v] .vemoji-popup .vtabs::before{content:" ";position:absolute;z-index:2;left:0;top:0;right:0;height:1px;background:var(--waline-border-color)}.v[data-class=v] .vemoji-popup .vtab{position:relative;margin:0;padding:0 .5em}.v[data-class=v] .vemoji-popup .vtab.active{z-index:3;background:var(--waline-bgcolor);border:1px solid var(--waline-border-color);border-top-width:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.v[data-class=v] .vcards .vitem{position:relative;display:flex;padding:.5em}.v[data-class=v] .vcards .vitem .vuser{width:var(--waline-avatar-size);height:var(--waline-avatar-size);margin-right:.75em;border-radius:var(--waline-avatar-radius);box-shadow:var(--waline-box-shadow)}@media(max-width: 720px){.v[data-class=v] .vcards .vitem .vuser{width:var(--waline-mobile-avatar-size);height:var(--waline-mobile-avatar-size)}}.v[data-class=v] .vcards .vitem:last-child .vcard{border-bottom:none}.v[data-class=v] .vcards .vcard .vitem{padding-right:0}.v[data-class=v] .vcard{flex:1;width:0;padding-bottom:.5em;border-bottom:1px dashed var(--waline-border-color)}.v[data-class=v] .vcard:first-child{margin-left:1em}.v[data-class=v] .vcard .vhead{line-height:1.5}.v[data-class=v] .vcard .vhead .vnick{position:relative;display:inline-block;margin-right:.5em;font-weight:bold;font-size:.875em;line-height:1;text-decoration:none;cursor:pointer}.v[data-class=v] .vcard .vhead .vnick svg{position:relative;bottom:-0.125em;line-height:1}.v[data-class=v] .vcard .vhead span.vnick{color:var(--waline-dark-grey)}.v[data-class=v] .vcard .vhead .vbadge{display:inline-block;margin-right:.5em;padding:0 .3em;border-radius:3px;background:var(--waline-badge-color);color:var(--waline-white);font-size:var(--waline-badge-font-size)}.v[data-class=v] .vcard .vhead .vtime{margin-right:.875em;color:var(--waline-info-color);font-size:.75em}.v[data-class=v] .vcard .vhead .vreply{float:right;cursor:pointer;padding:4px;border:none;background:transparent;color:var(--waline-text-color);line-height:1;transition:color .2s ease}.v[data-class=v] .vcard .vhead .vreply:hover{color:var(--waline-theme-color)}.v[data-class=v] .vcard .vhead .vreply.active{color:var(--waline-active-color)}.v[data-class=v] .vcard .vmeta{position:relative;line-height:1}.v[data-class=v] .vcard .vmeta>span{display:inline-block;margin-right:.25em;padding:2px 4px;border-radius:.2em;background:var(--waline-info-bgcolor);color:var(--waline-info-color);font-size:var(--waline-info-font-size);line-height:1.5}@media(max-width: 520px){.v[data-class=v] .vcard .vmeta>span{display:none}}.v[data-class=v] .vcard .vmeta>span:empty{display:none}.v[data-class=v] .vcard .vcontent{line-height:2;position:relative;margin-bottom:.75em;padding-top:.625em;font-size:.875em;word-wrap:break-word}.v[data-class=v] .vcard .vcontent.expand{overflow:hidden;max-height:8em;cursor:pointer}.v[data-class=v] .vcard .vcontent.expand::before{content:"";position:absolute;top:0;bottom:3.15em;left:0;z-index:999;display:block;width:100%;background:linear-gradient(180deg, #000, rgba(255, 255, 255, 0.9))}.v[data-class=v] .vcard .vcontent.expand::after{content:attr(data-expand);position:absolute;bottom:0;left:0;z-index:999;display:block;width:100%;height:3.15em;background:rgba(255,255,255,.9);color:#828586;line-height:3.15em;text-align:center}.v[data-class=v] .vcard .vcontent>*:first-child{margin-top:0}.v[data-class=v] .vcard .vcontent>*:last-child{margin-bottom:0}.v[data-class=v] .vcard .vquote{border-left:1px dashed rgba(237,237,237,.5)}.v[data-class=v] .vcard .vquote .vuser{width:var(--waline-mobile-avatar-size);height:var(--waline-mobile-avatar-size)}.v[data-class=v] .vclose-icon{color:var(--waline-border-color)}.v[data-class=v] .vcontent .vemoji{display:inline-block;vertical-align:middle;width:1.25em;margin:.25em}.v[data-class=v] .vcontent .vtex{background:var(--waline-info-bgcolor);color:var(--waline-info-color)}.v[data-class=v] .vcontent span.vtex{display:inline-block;margin-right:.25em;padding:2px 4px;border-radius:.2em;font-size:var(--waline-info-font-size);line-height:1.5}.v[data-class=v] .vcontent p.vtex{text-align:center}.v[data-class=v] .vcontent .katex-display{padding-top:.2em;padding-bottom:.2em;overflow:auto hidden;-webkit-overflow-scrolling:touch}.v[data-class=v] .vcontent .katex-display::-webkit-scrollbar{height:3px}.v[data-class=v] .vcontent .katex-error{color:red}.v[data-class=v] .vcount{padding:.375em;font-weight:bold;font-size:1.25em}.v[data-class=v] .vempty{overflow:auto;padding:1.25em;color:var(--waline-text-color);text-align:center}.v[data-class=v] .vmore{text-align:center}.v[data-class=v] .vmore button{margin:1em 0}.v[data-class=v] .vpower{padding:.5em 0;color:var(--waline-light-grey);font-size:var(--waline-info-font-size);text-align:right}.v[data-class=v] pre,.v[data-class=v] pre[class*=language-]{line-height:1.4;padding:1rem 1.25rem;margin:.75rem 0;background:var(--waline-code-bgcolor);border-radius:6px;overflow:auto}.v[data-class=v] pre code,.v[data-class=v] pre[class*=language-] code{color:#bbb;padding:0;background:transparent !important;border-radius:0}.v[data-class=v] code[class*=language-],.v[data-class=v] pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}.v[data-class=v] pre[class*=language-]{overflow:auto}.v[data-class=v] :not(pre)>code[class*=language-],.v[data-class=v] pre[class*=language-]{background:#2d2d2d}.v[data-class=v] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.v[data-class=v] .token.comment,.v[data-class=v] .token.block-comment,.v[data-class=v] .token.prolog,.v[data-class=v] .token.doctype,.v[data-class=v] .token.cdata{color:#999}.v[data-class=v] .token.punctuation{color:#ccc}.v[data-class=v] .token.tag,.v[data-class=v] .token.attr-name,.v[data-class=v] .token.namespace,.v[data-class=v] .token.deleted{color:#e2777a}.v[data-class=v] .token.function-name{color:#6196cc}.v[data-class=v] .token.boolean,.v[data-class=v] .token.number,.v[data-class=v] .token.function{color:#f08d49}.v[data-class=v] .token.property,.v[data-class=v] .token.class-name,.v[data-class=v] .token.constant,.v[data-class=v] .token.symbol{color:#f8c555}.v[data-class=v] .token.selector,.v[data-class=v] .token.important,.v[data-class=v] .token.atrule,.v[data-class=v] .token.keyword,.v[data-class=v] .token.builtin{color:#cc99cd}.v[data-class=v] .token.string,.v[data-class=v] .token.char,.v[data-class=v] .token.attr-value,.v[data-class=v] .token.regex,.v[data-class=v] .token.variable{color:#7ec699}.v[data-class=v] .token.operator,.v[data-class=v] .token.entity,.v[data-class=v] .token.url{color:#67cdcc}.v[data-class=v] .token.important,.v[data-class=v] .token.bold{font-weight:bold}.v[data-class=v] .token.italic{font-style:italic}.v[data-class=v] .token.entity{cursor:help}.v[data-class=v] .token.inserted{color:green}.waline-widget-item p{display:inline}',""]);const l=i},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(i[s]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&i[c[0]]||(void 0!==a&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=a),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},601:e=>{"use strict";e.exports=function(e){return e[1]}},948:function(e){e.exports=function(){"use strict";var e=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var t=e.exports=function(){return new RegExp("(?:"+t.line().source+")|(?:"+t.block().source+")","gm")};t.line=function(){return/(?:^|\s)\/\/(.+?)$/gm},t.block=function(){return/\/\*([\S\s]*?)\*\//gm}})),t=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"];return function(n,r){void 0===r&&(r={});var o=r.colors;void 0===o&&(o=t);var a=0,i={},l=new RegExp("("+/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/.source+"|"+/</.source+")|("+e().source+")","gmi");return n.replace(l,(function(e,t,n){if(n)return function(e){return'<span style="color: slategray">'+e+"</span>"}(n);if("<"===t)return"<";var r;i[t]?r=i[t]:(r=o[a],i[t]=r);var l='<span style="color: #'+r+'">'+t+"</span>";return a=++a%o.length,l}))}}()},917:function(e){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);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)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r={exports:{}};function o(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}r.exports={defaults:{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:o,changeDefaults:function(e){r.exports.defaults=e}};var a=/[&<>"']/,i=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return u[e]};var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function p(e){return e.replace(d,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var h=/(^|[^\[])\^/g;var v=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var m={},g=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,D=/^([^:]+:\/*[^/]*)[\s\S]*$/;function y(e,t){m[" "+e]||(g.test(e)?m[" "+e]=e+"/":m[" "+e]=w(e,"/",!0));var n=-1===(e=m[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(b,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(D,"$1")+t:e+t}function w(e,t,n){var r=e.length;if(0===r)return"";for(var o=0;o<r;){var a=e.charAt(r-o-1);if(a!==t||n){if(a===t||!n)break;o++}else o++}return e.substr(0,r-o)}var x=function(e,t){if(t){if(a.test(e))return e.replace(i,c)}else if(l.test(e))return e.replace(s,c);return e},k=p,C=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(h,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n},E=function(e,t,n){if(e){var r;try{r=decodeURIComponent(p(n)).replace(v,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!f.test(n)&&(n=y(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},A={exec:function(){}},F=function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},_=function(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,o=t;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n[0].trim()||n.shift(),n[n.length-1].trim()||n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},B=w,S=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,o=0;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])r++;else if(e[o]===t[1]&&--r<0)return o;return-1},z=function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")},L=function(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},T=r.exports.defaults,R=B,I=_,O=x,j=S;function $(e,t,n,r){var o=t.href,a=t.title?O(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var l={type:"link",raw:n,href:o,title:a,text:i,tokens:r.inlineTokens(i,[])};return r.state.inLink=!1,l}return{type:"image",raw:n,href:o,title:a,text:O(i)}}var M=function(){function e(e){this.options=e||T}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:R(n,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=R(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}var o={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};return this.lexer.inline(o.text,o.tokens),o}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,o,a,i,l,s,u,c,d,p=t[1].trim(),h=p.length>1,v={type:"list",raw:"",ordered:h,start:h?+p.slice(0,-1):"",loose:!1,items:[]};p=h?"\\d{1,9}\\"+p.slice(-1):"\\"+p,this.options.pedantic&&(p=h?p:"[*+-]");for(var f=new RegExp("^( {0,3}"+p+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");e&&!this.rules.block.hr.test(e)&&(t=f.exec(e));){c=t[2].split("\n"),this.options.pedantic?(a=2,d=c[0].trimLeft()):(a=t[2].search(/[^ ]/),a=t[1].length+(a>4?1:a),d=c[0].slice(a-t[1].length)),l=!1,n=t[0],!c[0]&&/^ *$/.test(c[1])&&(n=t[1]+c.slice(0,2).join("\n")+"\n",v.loose=!0,c=[]);var m=new RegExp("^ {0,"+Math.min(3,a-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(i=1;i<c.length;i++){if(u=c[i],this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),m.test(u)){n=t[1]+c.slice(0,i).join("\n")+"\n";break}if(l){if(!(u.search(/[^ ]/)>=a)&&u.trim()){n=t[1]+c.slice(0,i).join("\n")+"\n";break}d+="\n"+u.slice(a)}else u.trim()||(l=!0),u.search(/[^ ]/)>=a?d+="\n"+u.slice(a):d+="\n"+u}v.loose||(s?v.loose=!0:/\n *\n *$/.test(n)&&(s=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(d))&&(o="[ ] "!==r[0],d=d.replace(/^\[[ xX]\] +/,"")),v.items.push({type:"list_item",raw:n,task:!!r,checked:o,loose:!1,text:d}),v.raw+=n,e=e.slice(n.length)}v.items[v.items.length-1].raw=n.trimRight(),v.items[v.items.length-1].text=d.trimRight(),v.raw=v.raw.trimRight();var g=v.items.length;for(i=0;i<g;i++)this.lexer.state.top=!1,v.items[i].tokens=this.lexer.blockTokens(v.items[i].text,[]),v.items[i].tokens.some((function(e){return"space"===e.type}))&&(v.loose=!0,v.items[i].loose=!0);return v}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(t[0]):O(t[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:I(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,o,a,i,l=n.align.length;for(r=0;r<l;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(l=n.rows.length,r=0;r<l;r++)n.rows[r]=I(n.rows[r],n.header.length).map((function(e){return{text:e}}));for(l=n.header.length,o=0;o<l;o++)n.header[o].tokens=[],this.lexer.inlineTokens(n.header[o].text,n.header[o].tokens);for(l=n.rows.length,o=0;o<l;o++)for(i=n.rows[o],a=0;a<i.length;a++)i[a].tokens=[],this.lexer.inlineTokens(i[a].text,i[a].tokens);return n}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t){var n={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},t.text=function(e){var t=this.rules.block.text.exec(e);if(t){var n={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:O(t[1])}},t.tag=function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):O(t[0]):t[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=R(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var o=j(t[2],"()");if(o>-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var i=t[2],l="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],l=s[3])}else l=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(i=this.options.pedantic&&!/>$/.test(n)?i.slice(1):i.slice(1,-1)),$(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:l?l.replace(this.rules.inline._escapes,"$1"):l},t[0],this.lexer)}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])||!r.href){var o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return $(n,r,n[0],this.lexer)}},t.emStrong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=r[1]||r[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){var a,i,l=r[0].length-1,s=l,u=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+l);null!=(r=c.exec(t));)if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(i=a.length,r[3]||r[4])s+=i;else if(!((r[5]||r[6])&&l%3)||(l+i)%3){if(!((s-=i)>0)){if(i=Math.min(i,i+s+u),Math.min(l,i)%2){var d=e.slice(1,l+r.index+i);return{type:"em",raw:e.slice(0,l+r.index+i+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}var p=e.slice(2,l+r.index+i-1);return{type:"strong",raw:e.slice(0,l+r.index+i+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}else u+=i}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),o=/^ /.test(n)&&/ $/.test(n);return r&&o&&(n=n.substring(1,n.length-1)),n=O(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},t.autolink=function(e,t){var n,r,o=this.rules.inline.autolink.exec(e);if(o)return r="@"===o[2]?"mailto:"+(n=O(this.options.mangle?t(o[1]):o[1])):n=O(o[1]),{type:"link",raw:o[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,o;if("@"===n[2])o="mailto:"+(r=O(this.options.mangle?t(n[0]):n[0]));else{var a;do{a=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(a!==n[0]);r=O(n[0]),o="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t){var n,r=this.rules.inline.text.exec(e);if(r)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):O(r[0]):r[0]:O(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:n}},e}(),U=A,P=C,N=F,V={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:U,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};V.def=P(V.def).replace("label",V._label).replace("title",V._title).getRegex(),V.bullet=/(?:[*+-]|\d{1,9}[.)])/,V.listItemStart=P(/^( *)(bull) */).replace("bull",V.bullet).getRegex(),V.list=P(V.list).replace(/bull/g,V.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+V.def.source+")").getRegex(),V._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",V._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,V.html=P(V.html,"i").replace("comment",V._comment).replace("tag",V._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),V.paragraph=P(V._paragraph).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",V._tag).getRegex(),V.blockquote=P(V.blockquote).replace("paragraph",V.paragraph).getRegex(),V.normal=N({},V),V.gfm=N({},V.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),V.gfm.table=P(V.gfm.table).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",V._tag).getRegex(),V.pedantic=N({},V.normal,{html:P("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",V._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:U,paragraph:P(V.normal._paragraph).replace("hr",V.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",V.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var q={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:U,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:U,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};q.punctuation=P(q.punctuation).replace(/punctuation/g,q._punctuation).getRegex(),q.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,q.escapedEmSt=/\\\*|\\_/g,q._comment=P(V._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),q.emStrong.lDelim=P(q.emStrong.lDelim).replace(/punct/g,q._punctuation).getRegex(),q.emStrong.rDelimAst=P(q.emStrong.rDelimAst,"g").replace(/punct/g,q._punctuation).getRegex(),q.emStrong.rDelimUnd=P(q.emStrong.rDelimUnd,"g").replace(/punct/g,q._punctuation).getRegex(),q._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,q._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,q._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,q.autolink=P(q.autolink).replace("scheme",q._scheme).replace("email",q._email).getRegex(),q._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,q.tag=P(q.tag).replace("comment",q._comment).replace("attribute",q._attribute).getRegex(),q._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,q._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,q._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,q.link=P(q.link).replace("label",q._label).replace("href",q._href).replace("title",q._title).getRegex(),q.reflink=P(q.reflink).replace("label",q._label).getRegex(),q.reflinkSearch=P(q.reflinkSearch,"g").replace("reflink",q.reflink).replace("nolink",q.nolink).getRegex(),q.normal=N({},q),q.pedantic=N({},q.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:P(/^!?\[(label)\]\((.*?)\)/).replace("label",q._label).getRegex(),reflink:P(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q._label).getRegex()}),q.gfm=N({},q.normal,{escape:P(q.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),q.gfm.url=P(q.gfm.url,"i").replace("email",q.gfm._extended_email).getRegex(),q.breaks=N({},q.gfm,{br:P(q.br).replace("{2,}","*").getRegex(),text:P(q.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var W={block:V,inline:q},H=M,Z=r.exports.defaults,J=W.block,K=W.inline,Q=L;function Y(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function X(e){var t,n,r="",o=e.length;for(t=0;t<o;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var G=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Z,this.options.tokenizer=this.options.tokenizer||new H,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var t={block:J.normal,inline:K.normal};this.options.pedantic?(t.block=J.pedantic,t.inline=K.pedantic):this.options.gfm&&(t.block=J.gfm,this.options.breaks?t.inline=K.breaks:t.inline=K.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)},t.lexInline=function(e,n){return new t(n).inlineTokens(e)};var n,r,o,a=t.prototype;return a.lex=function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens},a.blockTokens=function(e,t){var n,r,o,a,i=this;for(void 0===t&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(r){return!!(n=r.call({lexer:i},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)}))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),!(r=t[t.length-1])||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),!(r=t[t.length-1])||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else if(o=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,n=e.slice(1),r=void 0;i.options.extensions.startBlock.forEach((function(e){"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),this.state.top&&(n=this.tokenizer.paragraph(o)))r=t[t.length-1],a&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),a=o.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}return this.state.top=!0,t},a.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},a.inlineTokens=function(e,t){var n,r,o,a=this;void 0===t&&(t=[]);var i,l,s,u=e;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(u));)c.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,i.index)+"["+Q("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,i.index)+"["+Q("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,i.index)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(l||(s=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(r){return!!(n=r.call({lexer:a},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)}))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,u,s))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,X))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,X))){if(o=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),r=void 0;a.options.extensions.startInline.forEach((function(e){"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),n=this.tokenizer.inlineText(o,Y))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),l=!0,(r=t[t.length-1])&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(n.raw.length),t.push(n);return t},n=t,o=[{key:"rules",get:function(){return{block:J,inline:K}}}],(r=null)&&e(n.prototype,r),o&&e(n,o),t}(),ee=r.exports.defaults,te=E,ne=x,re=function(){function e(e){this.options=e||ee}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,r);null!=o&&o!==e&&(n=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+ne(r,!0)+'">'+(n?e:ne(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:ne(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(null===(e=te(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+ne(e)+'"';return t&&(r+=' title="'+t+'"'),r+">"+n+"</a>"},t.image=function(e,t,n){if(null===(e=te(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+(this.options.xhtml?"/>":">")},t.text=function(e){return e},e}(),oe=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ae=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),ie=re,le=oe,se=ae,ue=r.exports.defaults,ce=k,de=function(){function e(e){this.options=e||ue,this.options.renderer=this.options.renderer||new ie,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new le,this.slugger=new se}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,o,a,i,l,s,u,c,d,p,h,v,f,m,g,b,D,y,w="",x=e.length;for(n=0;n<x;n++)if(d=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type])||!1===(y=this.options.extensions.renderers[d.type].call({parser:this},d))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))switch(d.type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(d.tokens),d.depth,ce(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(u="",s="",a=d.header.length,r=0;r<a;r++)s+=this.renderer.tablecell(this.parseInline(d.header[r].tokens),{header:!0,align:d.align[r]});for(u+=this.renderer.tablerow(s),c="",a=d.rows.length,r=0;r<a;r++){for(s="",i=(l=d.rows[r]).length,o=0;o<i;o++)s+=this.renderer.tablecell(this.parseInline(l[o].tokens),{header:!1,align:d.align[o]});c+=this.renderer.tablerow(s)}w+=this.renderer.table(u,c);continue;case"blockquote":c=this.parse(d.tokens),w+=this.renderer.blockquote(c);continue;case"list":for(p=d.ordered,h=d.start,v=d.loose,a=d.items.length,c="",r=0;r<a;r++)g=(m=d.items[r]).checked,b=m.task,f="",m.task&&(D=this.renderer.checkbox(g),v?m.tokens.length>0&&"paragraph"===m.tokens[0].type?(m.tokens[0].text=D+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=D+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:D}):f+=D),f+=this.parse(m.tokens,v),c+=this.renderer.listitem(f,b,g);w+=this.renderer.list(c,p,h);continue;case"html":w+=this.renderer.html(d.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(c=d.tokens?this.parseInline(d.tokens):d.text;n+1<x&&"text"===e[n+1].type;)c+="\n"+((d=e[++n]).tokens?this.parseInline(d.tokens):d.text);w+=t?this.renderer.paragraph(c):c;continue;default:var k='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(k);throw new Error(k)}else w+=y||"";return w},t.parseInline=function(e,t){t=t||this.renderer;var n,r,o,a="",i=e.length;for(n=0;n<i;n++)if(r=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type])||!1===(o=this.options.extensions.renderers[r.type].call({parser:this},r))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))switch(r.type){case"escape":case"text":a+=t.text(r.text);break;case"html":a+=t.html(r.text);break;case"link":a+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":a+=t.image(r.href,r.title,r.text);break;case"strong":a+=t.strong(this.parseInline(r.tokens,t));break;case"em":a+=t.em(this.parseInline(r.tokens,t));break;case"codespan":a+=t.codespan(r.text);break;case"br":a+=t.br();break;case"del":a+=t.del(this.parseInline(r.tokens,t));break;default:var l='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(l);throw new Error(l)}else a+=o||"";return a},e}(),pe=G,he=de,ve=M,fe=re,me=oe,ge=ae,be=F,De=z,ye=x,we=r.exports.getDefaults,xe=r.exports.changeDefaults,ke=r.exports.defaults;function Ce(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),t=be({},Ce.defaults,t||{}),De(t),n){var r,o=t.highlight;try{r=pe.lex(e,t)}catch(e){return n(e)}var a=function(e){var a;if(!e)try{t.walkTokens&&Ce.walkTokens(r,t.walkTokens),a=he.parse(r,t)}catch(t){e=t}return t.highlight=o,e?n(e):n(null,a)};if(!o||o.length<3)return a();if(delete t.highlight,!r.length)return a();var i=0;return Ce.walkTokens(r,(function(e){"code"===e.type&&(i++,setTimeout((function(){o(e.text,e.lang,(function(t,n){if(t)return a(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--i&&a()}))}),0))})),void(0===i&&a())}try{var l=pe.lex(e,t);return t.walkTokens&&Ce.walkTokens(l,t.walkTokens),he.parse(l,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ye(e.message+"",!0)+"</pre>";throw e}}return Ce.options=Ce.setOptions=function(e){return be(Ce.defaults,e),xe(Ce.defaults),Ce},Ce.getDefaults=we,Ce.defaults=ke,Ce.use=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=be.apply(void 0,[{}].concat(t)),a=Ce.defaults.extensions||{renderers:{},childTokens:{}};t.forEach((function(e){if(e.extensions&&(r=!0,e.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=a.renderers?a.renderers[e.name]:null;a.renderers[e.name]=t?function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=e.renderer.apply(this,r);return!1===a&&(a=t.apply(this,r)),a}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");a[e.level]?a[e.level].unshift(e.tokenizer):a[e.level]=[e.tokenizer],e.start&&("block"===e.level?a.startBlock?a.startBlock.push(e.start):a.startBlock=[e.start]:"inline"===e.level&&(a.startInline?a.startInline.push(e.start):a.startInline=[e.start]))}e.childTokens&&(a.childTokens[e.name]=e.childTokens)}))),e.renderer&&function(){var t=Ce.defaults.renderer||new fe,n=function(n){var r=t[n];t[n]=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var l=e.renderer[n].apply(t,a);return!1===l&&(l=r.apply(t,a)),l}};for(var r in e.renderer)n(r);o.renderer=t}(),e.tokenizer&&function(){var t=Ce.defaults.tokenizer||new ve,n=function(n){var r=t[n];t[n]=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var l=e.tokenizer[n].apply(t,a);return!1===l&&(l=r.apply(t,a)),l}};for(var r in e.tokenizer)n(r);o.tokenizer=t}(),e.walkTokens){var t=Ce.defaults.walkTokens;o.walkTokens=function(n){e.walkTokens.call(this,n),t&&t.call(this,n)}}r&&(o.extensions=a),Ce.setOptions(o)}))},Ce.walkTokens=function(e,t){for(var r,o=function(){var e=r.value;switch(t.call(Ce,e),e.type){case"table":for(var o,a=n(e.header);!(o=a()).done;){var i=o.value;Ce.walkTokens(i.tokens,t)}for(var l,s=n(e.rows);!(l=s()).done;)for(var u,c=n(l.value);!(u=c()).done;){var d=u.value;Ce.walkTokens(d.tokens,t)}break;case"list":Ce.walkTokens(e.items,t);break;default:Ce.defaults.extensions&&Ce.defaults.extensions.childTokens&&Ce.defaults.extensions.childTokens[e.type]?Ce.defaults.extensions.childTokens[e.type].forEach((function(n){Ce.walkTokens(e[n],t)})):e.tokens&&Ce.walkTokens(e.tokens,t)}},a=n(e);!(r=a()).done;)o()},Ce.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=be({},Ce.defaults,t||{}),De(t);try{var n=pe.lexInline(e,t);return t.walkTokens&&Ce.walkTokens(n,t.walkTokens),he.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ye(e.message+"",!0)+"</pre>";throw e}},Ce.Parser=he,Ce.parser=he.parse,Ce.Renderer=fe,Ce.TextRenderer=me,Ce.Lexer=pe,Ce.lexer=pe.lex,Ce.Tokenizer=ve,Ce.Slugger=ge,Ce.parse=Ce,Ce}()},62:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],l=0;l<e.length;l++){var s=e[l],u=r.base?s[0]+r.base:s[0],c=a[u]||0,d="".concat(u," ").concat(c);a[u]=c+1;var p=n(d),h={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var v=o(h,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:v,references:1})}i.push(d)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=n(a[i]);t[l].references--}for(var s=r(e,o),u=0;u<a.length;u++){var c=n(a[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}a=s}}},793:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},173:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},892:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},36:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},464:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},407:(e,t)=>{"use strict";t.Z=(e,t)=>{for(const[n,r]of t)e[n]=r;return e}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r={};return(()=>{"use strict";function e(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(r,{default:()=>ml});const t=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function o(e){return!!e||""===e}function a(e){if(C(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=B(r)?s(r):a(r);if(o)for(const e in o)t[e]=o[e]}return t}return B(e)||z(e)?e:void 0}const i=/;(?![^(]*\))/g,l=/:(.+)/;function s(e){const t={};return e.split(i).forEach((e=>{if(e){const n=e.split(l);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function u(e){let t="";if(B(e))t=e;else if(C(e))for(let n=0;n<e.length;n++){const r=u(e[n]);r&&(t+=r+" ")}else if(z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function c(e,t){if(e===t)return!0;let n=F(e),r=F(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=C(e),r=C(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=c(e[r],t[r]);return n}(e,t);if(n=z(e),r=z(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!c(e[n],t[n]))return!1}}return String(e)===String(t)}function d(e,t){return e.findIndex((e=>c(e,t)))}const p=e=>null==e?"":C(e)||z(e)&&(e.toString===T||!_(e.toString))?JSON.stringify(e,h,2):String(e),h=(e,t)=>t&&t.__v_isRef?h(e,t.value):E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:A(t)?{[`Set(${t.size})`]:[...t.values()]}:!z(t)||C(t)||I(t)?t:String(t),v={},f=[],m=()=>{},g=()=>!1,b=/^on[^a-z]/,D=e=>b.test(e),y=e=>e.startsWith("onUpdate:"),w=Object.assign,x=Object.prototype.hasOwnProperty,k=(e,t)=>x.call(e,t),C=Array.isArray,E=e=>"[object Map]"===R(e),A=e=>"[object Set]"===R(e),F=e=>e instanceof Date,_=e=>"function"==typeof e,B=e=>"string"==typeof e,S=e=>"symbol"==typeof e,z=e=>null!==e&&"object"==typeof e,L=e=>z(e)&&_(e.then)&&_(e.catch),T=Object.prototype.toString,R=e=>T.call(e),I=e=>"[object Object]"===R(e),O=e=>B(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,j=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},M=/-(\w)/g,U=$((e=>e.replace(M,((e,t)=>t?t.toUpperCase():"")))),P=/\B([A-Z])/g,N=$((e=>e.replace(P,"-$1").toLowerCase())),V=$((e=>e.charAt(0).toUpperCase()+e.slice(1))),q=$((e=>e?`on${V(e)}`:"")),W=(e,t)=>!Object.is(e,t),H=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Z=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},J=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let K;const Q=()=>K||(K="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});let Y;const X=[];class G{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&Y&&(this.parent=Y,this.index=(Y.scopes||(Y.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}}on(){this.active&&(X.push(this),Y=this)}off(){this.active&&(X.pop(),Y=X[X.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}const ee=e=>{const t=new Set(e);return t.w=0,t.n=0,t},te=e=>(e.w&ae)>0,ne=e=>(e.n&ae)>0,re=new WeakMap;let oe=0,ae=1;const ie=[];let le;const se=Symbol(""),ue=Symbol("");class ce{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],function(e,t){(t=t||Y)&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();if(!ie.includes(this))try{return ie.push(le=this),he.push(pe),pe=!0,ae=1<<++oe,oe<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ae})(this):de(this),this.fn()}finally{oe<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];te(o)&&!ne(o)?o.delete(e):t[n++]=o,o.w&=~ae,o.n&=~ae}t.length=n}})(this),ae=1<<--oe,fe(),ie.pop();const e=ie.length;le=e>0?ie[e-1]:void 0}}stop(){this.active&&(de(this),this.onStop&&this.onStop(),this.active=!1)}}function de(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let pe=!0;const he=[];function ve(){he.push(pe),pe=!1}function fe(){const e=he.pop();pe=void 0===e||e}function me(e,t,n){if(!ge())return;let r=re.get(e);r||re.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=ee()),be(o)}function ge(){return pe&&void 0!==le}function be(e,t){let n=!1;oe<=30?ne(e)||(e.n|=ae,n=!te(e)):n=!e.has(le),n&&(e.add(le),le.deps.push(e))}function De(e,t,n,r,o,a){const i=re.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&C(e))i.forEach(((e,t)=>{("length"===t||t>=r)&&l.push(e)}));else switch(void 0!==n&&l.push(i.get(n)),t){case"add":C(e)?O(n)&&l.push(i.get("length")):(l.push(i.get(se)),E(e)&&l.push(i.get(ue)));break;case"delete":C(e)||(l.push(i.get(se)),E(e)&&l.push(i.get(ue)));break;case"set":E(e)&&l.push(i.get(se))}if(1===l.length)l[0]&&ye(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);ye(ee(e))}}function ye(e,t){for(const t of C(e)?e:[...e])(t!==le||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const we=e("__proto__,__v_isRef,__isVue"),xe=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(S)),ke=_e(),Ce=_e(!1,!0),Ee=_e(!0),Ae=Fe();function Fe(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ct(this);for(let e=0,t=this.length;e<t;e++)me(n,0,e+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(ct)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ve();const n=ct(this)[t].apply(this,e);return fe(),n}})),e}function _e(e=!1,t=!1){return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&o===(e?t?rt:nt:t?tt:et).get(n))return n;const a=C(n);if(!e&&a&&k(Ae,r))return Reflect.get(Ae,r,o);const i=Reflect.get(n,r,o);return(S(r)?xe.has(r):we(r))?i:(e||me(n,0,r),t?i:mt(i)?a&&O(r)?i:i.value:z(i)?e?at(i):ot(i):i)}}function Be(e=!1){return function(t,n,r,o){let a=t[n];if(!e&&(r=ct(r),a=ct(a),!C(t)&&mt(a)&&!mt(r)))return a.value=r,!0;const i=C(t)&&O(n)?Number(n)<t.length:k(t,n),l=Reflect.set(t,n,r,o);return t===ct(o)&&(i?W(r,a)&&De(t,"set",n,r):De(t,"add",n,r)),l}}const Se={get:ke,set:Be(),deleteProperty:function(e,t){const n=k(e,t),r=(e[t],Reflect.deleteProperty(e,t));return r&&n&&De(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return S(t)&&xe.has(t)||me(e,0,t),n},ownKeys:function(e){return me(e,0,C(e)?"length":se),Reflect.ownKeys(e)}},ze={get:Ee,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Le=w({},Se,{get:Ce,set:Be(!0)}),Te=e=>e,Re=e=>Reflect.getPrototypeOf(e);function Ie(e,t,n=!1,r=!1){const o=ct(e=e.__v_raw),a=ct(t);t!==a&&!n&&me(o,0,t),!n&&me(o,0,a);const{has:i}=Re(o),l=r?Te:n?ht:pt;return i.call(o,t)?l(e.get(t)):i.call(o,a)?l(e.get(a)):void(e!==o&&e.get(t))}function Oe(e,t=!1){const n=this.__v_raw,r=ct(n),o=ct(e);return e!==o&&!t&&me(r,0,e),!t&&me(r,0,o),e===o?n.has(e):n.has(e)||n.has(o)}function je(e,t=!1){return e=e.__v_raw,!t&&me(ct(e),0,se),Reflect.get(e,"size",e)}function $e(e){e=ct(e);const t=ct(this);return Re(t).has.call(t,e)||(t.add(e),De(t,"add",e,e)),this}function Me(e,t){t=ct(t);const n=ct(this),{has:r,get:o}=Re(n);let a=r.call(n,e);a||(e=ct(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?W(t,i)&&De(n,"set",e,t):De(n,"add",e,t),this}function Ue(e){const t=ct(this),{has:n,get:r}=Re(t);let o=n.call(t,e);o||(e=ct(e),o=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return o&&De(t,"delete",e,void 0),a}function Pe(){const e=ct(this),t=0!==e.size,n=e.clear();return t&&De(e,"clear",void 0,void 0),n}function Ne(e,t){return function(n,r){const o=this,a=o.__v_raw,i=ct(a),l=t?Te:e?ht:pt;return!e&&me(i,0,se),a.forEach(((e,t)=>n.call(r,l(e),l(t),o)))}}function Ve(e,t,n){return function(...r){const o=this.__v_raw,a=ct(o),i=E(a),l="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,u=o[e](...r),c=n?Te:t?ht:pt;return!t&&me(a,0,s?ue:se),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return"delete"!==e&&this}}function We(){const e={get(e){return Ie(this,e)},get size(){return je(this)},has:Oe,add:$e,set:Me,delete:Ue,clear:Pe,forEach:Ne(!1,!1)},t={get(e){return Ie(this,e,!1,!0)},get size(){return je(this)},has:Oe,add:$e,set:Me,delete:Ue,clear:Pe,forEach:Ne(!1,!0)},n={get(e){return Ie(this,e,!0)},get size(){return je(this,!0)},has(e){return Oe.call(this,e,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:Ne(!0,!1)},r={get(e){return Ie(this,e,!0,!0)},get size(){return je(this,!0)},has(e){return Oe.call(this,e,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:Ne(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Ve(o,!1,!1),n[o]=Ve(o,!0,!1),t[o]=Ve(o,!1,!0),r[o]=Ve(o,!0,!0)})),[e,n,t,r]}const[He,Ze,Je,Ke]=We();function Qe(e,t){const n=t?e?Ke:Je:e?Ze:He;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(k(n,r)&&r in t?n:t,r,o)}const Ye={get:Qe(!1,!1)},Xe={get:Qe(!1,!0)},Ge={get:Qe(!0,!1)},et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap;function ot(e){return e&&e.__v_isReadonly?e:it(e,!1,Se,Ye,et)}function at(e){return it(e,!0,ze,Ge,nt)}function it(e,t,n,r,o){if(!z(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(l));var l;if(0===i)return e;const s=new Proxy(e,2===i?r:n);return o.set(e,s),s}function lt(e){return st(e)?lt(e.__v_raw):!(!e||!e.__v_isReactive)}function st(e){return!(!e||!e.__v_isReadonly)}function ut(e){return lt(e)||st(e)}function ct(e){const t=e&&e.__v_raw;return t?ct(t):e}function dt(e){return Z(e,"__v_skip",!0),e}const pt=e=>z(e)?ot(e):e,ht=e=>z(e)?at(e):e;function vt(e){ge()&&((e=ct(e)).dep||(e.dep=ee()),be(e.dep))}function ft(e,t){(e=ct(e)).dep&&ye(e.dep)}function mt(e){return Boolean(e&&!0===e.__v_isRef)}function gt(e){return n=!1,mt(t=e)?t:new bt(t,n);var t,n}class bt{constructor(e,t){this._shallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ct(e),this._value=t?e:pt(e)}get value(){return vt(this),this._value}set value(e){e=this._shallow?e:ct(e),W(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:pt(e),ft(this))}}const Dt={get:(e,t,n)=>{return mt(r=Reflect.get(e,t,n))?r.value:r;var r},set:(e,t,n,r)=>{const o=e[t];return mt(o)&&!mt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function yt(e){return lt(e)?e:new Proxy(e,Dt)}class wt{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new ce(e,(()=>{this._dirty||(this._dirty=!0,ft(this))})),this.__v_isReadonly=n}get value(){const e=ct(this);return vt(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function xt(e,t){let n,r;const o=_(e);return o?(n=e,r=m):(n=e.get,r=e.set),new wt(n,r,o||!r)}Promise.resolve(),new Set,new Map;let kt,Ct=[];function Et(e,...t){kt?kt.emit(e,...t):Ct.push({event:e,args:t})}function At(e,t){kt=e,kt?(kt.enabled=!0,Ct.forEach((({event:e,args:t})=>kt.emit(e,...t))),Ct=[]):((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{At(e,t)})),setTimeout((()=>{Ct=[]}),3e3))}const Ft=St("component:added"),_t=St("component:updated"),Bt=St("component:removed");function St(e){return t=>{Et(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function zt(e,t,...n){const r=e.vnode.props||v;let o=n;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in r){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:a}=r[e]||v;a?o=n.map((e=>e.trim())):t&&(o=n.map(J))}let l;__VUE_PROD_DEVTOOLS__&&function(e,t,n){Et("component:emit",e.appContext.app,e,t,n)}(e,t,o);let s=r[l=q(t)]||r[l=q(U(t))];!s&&a&&(s=r[l=q(N(t))]),s&&gr(s,e,6,o);const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,gr(u,e,6,o)}}function Lt(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const a=e.emits;let i={};return a?(C(a)?a.forEach((e=>i[e]=null)):w(i,a),r.set(e,i),i):(r.set(e,null),null)}function Tt(e,t){return!(!e||!D(t))&&(t=t.slice(2).replace(/Once$/,""),k(e,t[0].toLowerCase()+t.slice(1))||k(e,N(t))||k(e,t))}let Rt=null,It=null;function Ot(e){const t=Rt;return Rt=e,It=e&&e.type.__scopeId||null,t}function jt(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[i],slots:l,attrs:s,emit:u,render:c,renderCache:d,data:p,setupState:h,ctx:v,inheritAttrs:f}=e;let m,g;const b=Ot(e);try{if(4&n.shapeFlag){const e=o||r;m=Xn(c.call(e,e,d,a,h,p,v)),g=s}else{const e=t;m=Xn(e.length>1?e(a,{attrs:s,slots:l,emit:u}):e(a,null)),g=t.props?s:$t(s)}}catch(t){Rn.length=0,br(t,e,1),m=Jn(Ln)}let D=m;if(g&&!1!==f){const e=Object.keys(g),{shapeFlag:t}=D;e.length&&7&t&&(i&&e.some(y)&&(g=Mt(g,i)),D=Kn(D,g))}return n.dirs&&(D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),m=D,Ot(b),m}const $t=e=>{let t;for(const n in e)("class"===n||"style"===n||D(n))&&((t||(t={}))[n]=e[n]);return t},Mt=(e,t)=>{const n={};for(const r in e)y(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Ut(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const a=r[o];if(t[a]!==e[a]&&!Tt(n,a))return!0}return!1}function Pt(e,t,n=!1){const r=lr||Rt;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&_(t)?t.call(r.proxy):t}}const Nt=[Function,Array],Vt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nt,onEnter:Nt,onAfterEnter:Nt,onEnterCancelled:Nt,onBeforeLeave:Nt,onLeave:Nt,onAfterLeave:Nt,onLeaveCancelled:Nt,onBeforeAppear:Nt,onAppear:Nt,onAfterAppear:Nt,onAppearCancelled:Nt},setup(e,{slots:t}){const n=sr(),r=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return en((()=>{e.isMounted=!0})),tn((()=>{e.isUnmounting=!0})),e}();let o;return()=>{const a=t.default&&Kt(t.default(),!0);if(!a||!a.length)return;const i=ct(e),{mode:l}=i,s=a[0];if(r.isLeaving)return Ht(s);const u=Zt(s);if(!u)return Ht(s);const c=Wt(u,i,r,n);Jt(u,c);const d=n.subTree,p=d&&Zt(d);let h=!1;const{getTransitionKey:v}=u.type;if(v){const e=v();void 0===o?o=e:e!==o&&(o=e,h=!0)}if(p&&p.type!==Ln&&(!Vn(u,p)||h)){const e=Wt(p,i,r,n);if(Jt(p,e),"out-in"===l)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.update()},Ht(s);"in-out"===l&&u.type!==Ln&&(e.delayLeave=(e,t,n)=>{qt(r,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=n})}return s}}};function qt(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Wt(e,t,n,r){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:v,onBeforeAppear:f,onAppear:m,onAfterAppear:g,onAppearCancelled:b}=t,D=String(e.key),y=qt(n,e),w=(e,t)=>{e&&gr(e,r,9,t)},x={mode:a,persisted:i,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=f||l}t._leaveCb&&t._leaveCb(!0);const a=y[D];a&&Vn(e,a)&&a.el._leaveCb&&a.el._leaveCb(),w(r,[t])},enter(e){let t=s,r=u,a=c;if(!n.isMounted){if(!o)return;t=m||s,r=g||u,a=b||c}let i=!1;const l=e._enterCb=t=>{i||(i=!0,w(t?a:r,[e]),x.delayedLeave&&x.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();w(d,[t]);let a=!1;const i=t._leaveCb=n=>{a||(a=!0,r(),w(n?v:h,[t]),t._leaveCb=void 0,y[o]===e&&delete y[o])};y[o]=e,p?(p(t,i),p.length<=1&&i()):i()},clone:e=>Wt(e,t,n,r)};return x}function Ht(e){if(Xt(e))return(e=Kn(e)).children=null,e}function Zt(e){return Xt(e)?e.children?e.children[0]:void 0:e}function Jt(e,t){6&e.shapeFlag&&e.component?Jt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Kt(e,t=!1){let n=[],r=0;for(let o=0;o<e.length;o++){const a=e[o];a.type===Sn?(128&a.patchFlag&&r++,n=n.concat(Kt(a.children,t))):(t||a.type!==Ln)&&n.push(a)}if(r>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function Qt(e){return _(e)?{setup:e,name:e.name}:e}const Yt=e=>!!e.type.__asyncLoader,Xt=e=>e.type.__isKeepAlive;RegExp,RegExp;const Gt=e=>(t,n=lr)=>(!pr||"sp"===e)&&function(e,t,n=lr,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;ve(),ur(n);const o=gr(t,n,e,r);return cr(),fe(),o});return r?o.unshift(a):o.push(a),a}}(e,t,n),en=(Gt("bm"),Gt("m")),tn=(Gt("bu"),Gt("u"),Gt("bum")),nn=Gt("um");function rn(e,t,n,r){const[o,a]=e.propsOptions;let i,l=!1;if(t)for(let s in t){if(j(s))continue;const u=t[s];let c;o&&k(o,c=U(s))?a&&a.includes(c)?(i||(i={}))[c]=u:n[c]=u:Tt(e.emitsOptions,s)||u!==r[s]&&(r[s]=u,l=!0)}if(a){const t=ct(n),r=i||v;for(let i=0;i<a.length;i++){const l=a[i];n[l]=on(o,t,l,r[l],e,!k(r,l))}}return l}function on(e,t,n,r,o,a){const i=e[n];if(null!=i){const e=k(i,"default");if(e&&void 0===r){const e=i.default;if(i.type!==Function&&_(e)){const{propsDefaults:a}=o;n in a?r=a[n]:(ur(o),r=a[n]=e.call(null,t),cr())}else r=e}i[0]&&(a&&!e?r=!1:!i[1]||""!==r&&r!==N(n)||(r=!0))}return r}function an(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const a=e.props,i={},l=[];if(!a)return r.set(e,f),f;if(C(a))for(let e=0;e<a.length;e++){const t=U(a[e]);ln(t)&&(i[t]=v)}else if(a)for(const e in a){const t=U(e);if(ln(t)){const n=a[e],r=i[t]=C(n)||_(n)?{type:n}:n;if(r){const e=cn(Boolean,r.type),n=cn(String,r.type);r[0]=e>-1,r[1]=n<0||e<n,(e>-1||k(r,"default"))&&l.push(t)}}}const s=[i,l];return r.set(e,s),s}function ln(e){return"$"!==e[0]}function sn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function un(e,t){return sn(e)===sn(t)}function cn(e,t){return C(t)?t.findIndex((t=>un(t,e))):_(t)&&un(t,e)?0:-1}Gt("sp"),Gt("rtg"),Gt("rtc");const dn=e=>"_"===e[0]||"$stable"===e,pn=e=>C(e)?e.map(Xn):[Xn(e)],hn=(e,t,n)=>{const r=function(e,t=Rt,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&$n(-1);const o=Ot(t),a=e(...n);return Ot(o),r._d&&$n(1),__VUE_PROD_DEVTOOLS__&&_t(t),a};return r._n=!0,r._c=!0,r._d=!0,r}(((...e)=>pn(t(...e))),n);return r._c=!1,r},vn=(e,t,n)=>{const r=e._ctx;for(const n in e){if(dn(n))continue;const o=e[n];if(_(o))t[n]=hn(0,o,r);else if(null!=o){const e=pn(o);t[n]=()=>e}}},fn=(e,t)=>{const n=pn(t);e.slots.default=()=>n};function mn(e,t){if(null===Rt)return e;const n=Rt.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[o,a,i,l=v]=t[e];_(o)&&(o={mounted:o,updated:o}),o.deep&&Nr(a),r.push({dir:o,instance:n,value:a,oldValue:void 0,arg:i,modifiers:l})}return e}function gn(e,t,n,r){const o=e.dirs,a=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];a&&(l.oldValue=a[i].value);let s=l.dir[r];s&&(ve(),gr(s,n,8,[e.el,l,e,t]),fe())}}function bn(){return{app:null,config:{isNativeTag:g,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Dn=0;function yn(e,t){return function(n,r=null){null==r||z(r)||(r=null);const o=bn(),a=new Set;let i=!1;const l=o.app={_uid:Dn++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:qr,get config(){return o.config},set config(e){},use:(e,...t)=>(a.has(e)||(e&&_(e.install)?(a.add(e),e.install(l,...t)):_(e)&&(a.add(e),e(l,...t))),l),mixin:e=>l,component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(a,s,u){if(!i){const c=Jn(n,r);return c.appContext=o,s&&t?t(c,a):e(c,a,u),i=!0,l._container=a,a.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=c.component,function(e,t){Et("app:init",e,t,{Fragment:Sn,Text:zn,Comment:Ln,Static:Tn})}(l,qr)),fr(c.component)||c.component.proxy}},unmount(){i&&(e(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(e){Et("app:unmount",e)}(l)),delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l)};return l}}const wn=function(e,t){t&&t.pendingBranch?C(e)?t.effects.push(...e):t.effects.push(e):Ir(e,Fr,Ar,_r)};function xn(e,t){"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(Q().__VUE_PROD_DEVTOOLS__=!1);const n=Q();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&At(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:a,createElement:i,createText:l,createComment:s,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:h=m,cloneNode:g,insertStaticContent:b}=e,D=(e,t,n,r=null,o=null,a=null,i=!1,l=null,s=!!t.dynamicChildren)=>{if(e===t)return;e&&!Vn(e,t)&&(r=te(e),J(e,o,a,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:d}=t;switch(u){case zn:y(e,t,n,r);break;case Ln:x(e,t,n,r);break;case Tn:null==e&&C(t,n,r,i);break;case Sn:T(e,t,n,r,o,a,i,l,s);break;default:1&d?E(e,t,n,r,o,a,i,l,s):6&d?R(e,t,n,r,o,a,i,l,s):(64&d||128&d)&&u.process(e,t,n,r,o,a,i,l,s,re)}null!=c&&o&&kn(c,e&&e.ref,a,t||e,!t)},y=(e,t,n,o)=>{if(null==e)r(t.el=l(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},x=(e,t,n,o)=>{null==e?r(t.el=s(t.children||""),n,o):t.el=e.el},C=(e,t,n,r)=>{[e.el,e.anchor]=b(e.children,t,n,r)},E=(e,t,n,r,o,a,i,l,s)=>{i=i||"svg"===t.type,null==e?A(t,n,r,o,a,i,l,s):B(e,t,o,a,i,l,s)},A=(e,t,n,o,l,s,u,d)=>{let p,h;const{type:v,props:f,shapeFlag:m,transition:b,patchFlag:D,dirs:y}=e;if(e.el&&void 0!==g&&-1===D)p=e.el=g(e.el);else{if(p=e.el=i(e.type,s,f&&f.is,f),8&m?c(p,e.children):16&m&&_(e.children,p,null,o,l,s&&"foreignObject"!==v,u,d),y&&gn(e,null,o,"created"),f){for(const t in f)"value"===t||j(t)||a(p,t,null,f[t],s,e.children,o,l,ee);"value"in f&&a(p,"value",null,f.value),(h=f.onVnodeBeforeMount)&&Cn(h,o,e)}F(p,e,e.scopeId,u,o)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(p,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(p,"__vueParentComponent",{value:o,enumerable:!1})),y&&gn(e,null,o,"beforeMount");const w=(!l||l&&!l.pendingBranch)&&b&&!b.persisted;w&&b.beforeEnter(p),r(p,t,n),((h=f&&f.onVnodeMounted)||w||y)&&wn((()=>{h&&Cn(h,o,e),w&&b.enter(p),y&&gn(e,null,o,"mounted")}),l)},F=(e,t,n,r,o)=>{if(n&&h(e,n),r)for(let t=0;t<r.length;t++)h(e,r[t]);if(o&&t===o.subTree){const t=o.vnode;F(e,t,t.scopeId,t.slotScopeIds,o.parent)}},_=(e,t,n,r,o,a,i,l,s=0)=>{for(let u=s;u<e.length;u++){const s=e[u]=l?Gn(e[u]):Xn(e[u]);D(null,s,t,n,r,o,a,i,l)}},B=(e,t,n,r,o,i,l)=>{const s=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||v,f=t.props||v;let m;(m=f.onVnodeBeforeUpdate)&&Cn(m,n,t,e),p&&gn(t,e,n,"beforeUpdate");const g=o&&"foreignObject"!==t.type;if(d?S(e.dynamicChildren,d,s,n,r,g,i):l||P(e,t,s,null,n,r,g,i,!1),u>0){if(16&u)z(s,t,h,f,n,r,o);else if(2&u&&h.class!==f.class&&a(s,"class",null,f.class,o),4&u&&a(s,"style",h.style,f.style,o),8&u){const i=t.dynamicProps;for(let t=0;t<i.length;t++){const l=i[t],u=h[l],c=f[l];c===u&&"value"!==l||a(s,l,u,c,o,e.children,n,r,ee)}}1&u&&e.children!==t.children&&c(s,t.children)}else l||null!=d||z(s,t,h,f,n,r,o);((m=f.onVnodeUpdated)||p)&&wn((()=>{m&&Cn(m,n,t,e),p&&gn(t,e,n,"updated")}),r)},S=(e,t,n,r,o,a,i)=>{for(let l=0;l<t.length;l++){const s=e[l],u=t[l],c=s.el&&(s.type===Sn||!Vn(s,u)||70&s.shapeFlag)?d(s.el):n;D(s,u,c,null,r,o,a,i,!0)}},z=(e,t,n,r,o,i,l)=>{if(n!==r){for(const s in r){if(j(s))continue;const u=r[s],c=n[s];u!==c&&"value"!==s&&a(e,s,c,u,l,t.children,o,i,ee)}if(n!==v)for(const s in n)j(s)||s in r||a(e,s,n[s],null,l,t.children,o,i,ee);"value"in r&&a(e,"value",n.value,r.value)}},T=(e,t,n,o,a,i,s,u,c)=>{const d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:h,dynamicChildren:v,slotScopeIds:f}=t;f&&(u=u?u.concat(f):f),null==e?(r(d,n,o),r(p,n,o),_(t.children,n,p,a,i,s,u,c)):h>0&&64&h&&v&&e.dynamicChildren?(S(e.dynamicChildren,v,n,a,i,s,u),(null!=t.key||a&&t===a.subTree)&&En(e,t,!0)):P(e,t,n,p,a,i,s,u,c)},R=(e,t,n,r,o,a,i,l,s)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,s):I(t,n,r,o,a,i,s):O(e,t,s)},I=(e,t,n,r,o,a,i)=>{const l=e.component=function(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||ar,a={uid:ir++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,update:null,scope:new G(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:an(r,o),emitsOptions:Lt(r,o),emit:null,emitted:null,propsDefaults:v,inheritAttrs:r.inheritAttrs,ctx:v,data:v,props:v,attrs:v,slots:v,refs:v,setupState:v,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=zt.bind(null,a),e.ce&&e.ce(a),a}(e,r,o);if(Xt(e)&&(l.ctx.renderer=re),function(e,t=!1){pr=t;const{props:n,children:r}=e.vnode,o=dr(e);(function(e,t,n,r=!1){const o={},a={};Z(a,qn,1),e.propsDefaults=Object.create(null),rn(e,t,o,a);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:it(o,!1,Le,Xe,tt):e.type.props?e.props=o:e.props=a,e.attrs=a})(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=ct(t),Z(t,"_",n)):vn(t,e.slots={})}else e.slots={},t&&fn(e,t);Z(e.slots,qn,1)})(e,r);const a=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=dt(new Proxy(e.ctx,or));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(me(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;ur(e),ve();const o=mr(r,e,0,[e.props,n]);if(fe(),cr(),L(o)){if(o.then(cr,cr),t)return o.then((n=>{hr(e,n,t)})).catch((t=>{br(t,e,0)}));e.asyncDep=o}else hr(e,o,t)}else vr(e,t)}(e,t):void 0;pr=!1}(l),l.asyncDep){if(o&&o.registerDep(l,$),!e.el){const e=l.subTree=Jn(Ln);x(null,e,t,n)}}else $(l,e,t,n,o,a,i)},O=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:a}=e,{props:i,children:l,patchFlag:s}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&s>=0))return!(!o&&!l||l&&l.$stable)||r!==i&&(r?!i||Ut(r,i,u):!!i);if(1024&s)return!0;if(16&s)return r?Ut(r,i,u):!!i;if(8&s){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==r[n]&&!Tt(u,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void M(r,t,n);r.next=t,function(e){const t=wr.indexOf(e);t>xr&&wr.splice(t,1)}(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},$=(e,t,n,r,o,a,i)=>{const l=new ce((()=>{if(e.isMounted){let t,{next:n,bu:r,u:s,parent:u,vnode:c}=e,p=n;l.allowRecurse=!1,n?(n.el=c.el,M(e,n,i)):n=c,r&&H(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Cn(t,u,n,c),l.allowRecurse=!0;const h=jt(e),v=e.subTree;e.subTree=h,D(v,h,d(v.el),te(v),e,o,a),n.el=h.el,null===p&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,h.el),s&&wn(s,o),(t=n.props&&n.props.onVnodeUpdated)&&wn((()=>Cn(t,u,n,c)),o),__VUE_PROD_DEVTOOLS__&&_t(e)}else{let i;const{el:s,props:u}=t,{bm:c,m:d,parent:p}=e,h=Yt(t);if(l.allowRecurse=!1,c&&H(c),!h&&(i=u&&u.onVnodeBeforeMount)&&Cn(i,p,t),l.allowRecurse=!0,s&&ae){const n=()=>{e.subTree=jt(e),ae(s,e.subTree,e,o,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=jt(e);D(null,i,n,r,e,o,a),t.el=i.el}if(d&&wn(d,o),!h&&(i=u&&u.onVnodeMounted)){const e=t;wn((()=>Cn(i,p,e)),o)}256&t.shapeFlag&&e.a&&wn(e.a,o),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&Ft(e),t=n=r=null}}),(()=>Tr(e.update)),e.scope),s=e.update=l.run.bind(l);s.id=e.uid,l.allowRecurse=s.allowRecurse=!0,s()},M=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,l=ct(o),[s]=e.propsOptions;let u=!1;if(!(r||i>0)||16&i){let r;rn(e,t,o,a)&&(u=!0);for(const a in l)t&&(k(t,a)||(r=N(a))!==a&&k(t,r))||(s?!n||void 0===n[a]&&void 0===n[r]||(o[a]=on(s,l,a,void 0,e,!0)):delete o[a]);if(a!==l)for(const e in a)t&&k(t,e)||(delete a[e],u=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r];const c=t[i];if(s)if(k(a,i))c!==a[i]&&(a[i]=c,u=!0);else{const t=U(i);o[t]=on(s,l,t,c,e,!1)}else c!==a[i]&&(a[i]=c,u=!0)}}u&&De(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,i=v;if(32&r.shapeFlag){const e=t._;e?n&&1===e?a=!1:(w(o,t),n||1!==e||delete o._):(a=!t.$stable,vn(t,o)),i=t}else t&&(fn(e,t),i={default:1});if(a)for(const e in o)dn(e)||e in i||delete o[e]})(e,t.children,n),ve(),Or(void 0,e.update),fe()},P=(e,t,n,r,o,a,i,l,s=!1)=>{const u=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:v}=t;if(h>0){if(128&h)return void q(u,p,n,r,o,a,i,l,s);if(256&h)return void V(u,p,n,r,o,a,i,l,s)}8&v?(16&d&&ee(u,o,a),p!==u&&c(n,p)):16&d?16&v?q(u,p,n,r,o,a,i,l,s):ee(u,o,a,!0):(8&d&&c(n,""),16&v&&_(p,n,r,o,a,i,l,s))},V=(e,t,n,r,o,a,i,l,s)=>{t=t||f;const u=(e=e||f).length,c=t.length,d=Math.min(u,c);let p;for(p=0;p<d;p++){const r=t[p]=s?Gn(t[p]):Xn(t[p]);D(e[p],r,n,null,o,a,i,l,s)}u>c?ee(e,o,a,!0,!1,d):_(t,n,r,o,a,i,l,s,d)},q=(e,t,n,r,o,a,i,l,s)=>{let u=0;const c=t.length;let d=e.length-1,p=c-1;for(;u<=d&&u<=p;){const r=e[u],c=t[u]=s?Gn(t[u]):Xn(t[u]);if(!Vn(r,c))break;D(r,c,n,null,o,a,i,l,s),u++}for(;u<=d&&u<=p;){const r=e[d],u=t[p]=s?Gn(t[p]):Xn(t[p]);if(!Vn(r,u))break;D(r,u,n,null,o,a,i,l,s),d--,p--}if(u>d){if(u<=p){const e=p+1,d=e<c?t[e].el:r;for(;u<=p;)D(null,t[u]=s?Gn(t[u]):Xn(t[u]),n,d,o,a,i,l,s),u++}}else if(u>p)for(;u<=d;)J(e[u],o,a,!0),u++;else{const h=u,v=u,m=new Map;for(u=v;u<=p;u++){const e=t[u]=s?Gn(t[u]):Xn(t[u]);null!=e.key&&m.set(e.key,u)}let g,b=0;const y=p-v+1;let w=!1,x=0;const k=new Array(y);for(u=0;u<y;u++)k[u]=0;for(u=h;u<=d;u++){const r=e[u];if(b>=y){J(r,o,a,!0);continue}let c;if(null!=r.key)c=m.get(r.key);else for(g=v;g<=p;g++)if(0===k[g-v]&&Vn(r,t[g])){c=g;break}void 0===c?J(r,o,a,!0):(k[c-v]=u+1,c>=x?x=c:w=!0,D(r,t[c],n,null,o,a,i,l,s),b++)}const C=w?function(e){const t=e.slice(),n=[0];let r,o,a,i,l;const s=e.length;for(r=0;r<s;r++){const s=e[r];if(0!==s){if(o=n[n.length-1],e[o]<s){t[r]=o,n.push(r);continue}for(a=0,i=n.length-1;a<i;)l=a+i>>1,e[n[l]]<s?a=l+1:i=l;s<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}(k):f;for(g=C.length-1,u=y-1;u>=0;u--){const e=v+u,d=t[e],p=e+1<c?t[e+1].el:r;0===k[u]?D(null,d,n,p,o,a,i,l,s):w&&(g<0||u!==C[g]?W(d,n,p,2):g--)}}},W=(e,t,n,o,a=null)=>{const{el:i,type:l,transition:s,children:u,shapeFlag:c}=e;if(6&c)W(e.component.subTree,t,n,o);else if(128&c)e.suspense.move(t,n,o);else if(64&c)l.move(e,t,n,re);else if(l!==Sn)if(l!==Tn)if(2!==o&&1&c&&s)if(0===o)s.beforeEnter(i),r(i,t,n),wn((()=>s.enter(i)),a);else{const{leave:e,delayLeave:o,afterLeave:a}=s,l=()=>r(i,t,n),u=()=>{e(i,(()=>{l(),a&&a()}))};o?o(i,l,u):u()}else r(i,t,n);else(({el:e,anchor:t},n,o)=>{let a;for(;e&&e!==t;)a=p(e),r(e,n,o),e=a;r(t,n,o)})(e,t,n);else{r(i,t,n);for(let e=0;e<u.length;e++)W(u[e],t,n,o);r(e.anchor,t,n)}},J=(e,t,n,r=!1,o=!1)=>{const{type:a,props:i,ref:l,children:s,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:p}=e;if(null!=l&&kn(l,null,n,e,!0),256&c)return void t.ctx.deactivate(e);const h=1&c&&p,v=!Yt(e);let f;if(v&&(f=i&&i.onVnodeBeforeUnmount)&&Cn(f,t,e),6&c)X(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);h&&gn(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,o,re,r):u&&(a!==Sn||d>0&&64&d)?ee(u,t,n,!1,!0):(a===Sn&&384&d||!o&&16&c)&&ee(s,t,n),r&&K(e)}(v&&(f=i&&i.onVnodeUnmounted)||h)&&wn((()=>{f&&Cn(f,t,e),h&&gn(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:r,transition:a}=e;if(t===Sn)return void Y(n,r);if(t===Tn)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:r}=a,o=()=>t(n,i);r?r(e.el,i,o):o()}else i()},Y=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},X=(e,t,n)=>{const{bum:r,scope:o,update:a,subTree:i,um:l}=e;r&&H(r),o.stop(),a&&(a.active=!1,J(i,e,t,n)),l&&wn(l,t),wn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),__VUE_PROD_DEVTOOLS__&&Bt(e)},ee=(e,t,n,r=!1,o=!1,a=0)=>{for(let i=a;i<e.length;i++)J(e[i],t,n,r,o)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),ne=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):D(t._vnode||null,e,t,null,null,null,n),jr(),t._vnode=e},re={p:D,um:J,m:W,r:K,mt:I,mc:_,pc:P,pbc:S,n:te,o:e};let oe,ae;return t&&([oe,ae]=t(re)),{render:ne,hydrate:oe,createApp:yn(ne,oe)}}function kn(e,t,n,r,o=!1){if(C(e))return void e.forEach(((e,a)=>kn(e,t&&(C(t)?t[a]:t),n,r,o)));if(Yt(r)&&!o)return;const a=4&r.shapeFlag?fr(r.component)||r.component.proxy:r.el,i=o?null:a,{i:l,r:s}=e,u=t&&t.r,c=l.refs===v?l.refs={}:l.refs,d=l.setupState;if(null!=u&&u!==s&&(B(u)?(c[u]=null,k(d,u)&&(d[u]=null)):mt(u)&&(u.value=null)),B(s)){const e=()=>{c[s]=i,k(d,s)&&(d[s]=i)};i?(e.id=-1,wn(e,n)):e()}else if(mt(s)){const e=()=>{s.value=i};i?(e.id=-1,wn(e,n)):e()}else _(s)&&mr(s,l,12,[i,c])}function Cn(e,t,n,r=null){gr(e,t,7,[n,r])}function En(e,t,n=!1){const r=e.children,o=t.children;if(C(r)&&C(o))for(let e=0;e<r.length;e++){const t=r[e];let a=o[e];1&a.shapeFlag&&!a.dynamicChildren&&((a.patchFlag<=0||32===a.patchFlag)&&(a=o[e]=Gn(o[e]),a.el=t.el),n||En(t,a))}}const An="components";function Fn(e,t){return function(e,t,n=!0,r=!1){const o=Rt||lr;if(o){const n=o.type;if(e===An){const e=function(e){return _(e)&&e.displayName||e.name}(n);if(e&&(e===t||e===U(t)||e===V(U(t))))return n}const a=Bn(o[e]||n[e],t)||Bn(o.appContext[e],t);return!a&&r?n:a}}(An,e,!0,t)||e}const _n=Symbol();function Bn(e,t){return e&&(e[t]||e[U(t)]||e[V(U(t))])}const Sn=Symbol(void 0),zn=Symbol(void 0),Ln=Symbol(void 0),Tn=Symbol(void 0),Rn=[];let In=null;function On(e=!1){Rn.push(In=e?null:[])}let jn=1;function $n(e){jn+=e}function Mn(e){return e.dynamicChildren=jn>0?In||f:null,Rn.pop(),In=Rn[Rn.length-1]||null,jn>0&&In&&In.push(e),e}function Un(e,t,n,r,o,a){return Mn(Zn(e,t,n,r,o,a,!0))}function Pn(e,t,n,r,o){return Mn(Jn(e,t,n,r,o,!0))}function Nn(e){return!!e&&!0===e.__v_isVNode}function Vn(e,t){return e.type===t.type&&e.key===t.key}const qn="__vInternal",Wn=({key:e})=>null!=e?e:null,Hn=({ref:e})=>null!=e?B(e)||mt(e)||_(e)?{i:Rt,r:e}:e:null;function Zn(e,t=null,n=null,r=0,o=null,a=(e===Sn?0:1),i=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wn(t),ref:t&&Hn(t),scopeId:It,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return l?(er(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=B(n)?8:16),jn>0&&!i&&In&&(s.patchFlag>0||6&a)&&32!==s.patchFlag&&In.push(s),s}const Jn=function(e,t=null,n=null,r=0,o=null,i=!1){if(e&&e!==_n||(e=Ln),Nn(e)){const r=Kn(e,t,!0);return n&&er(r,n),r}if(l=e,_(l)&&"__vccOpts"in l&&(e=e.__vccOpts),t){t=function(e){return e?ut(e)||qn in e?w({},e):e:null}(t);let{class:e,style:n}=t;e&&!B(e)&&(t.class=u(e)),z(n)&&(ut(n)&&!C(n)&&(n=w({},n)),t.style=a(n))}var l;return Zn(e,t,n,r,o,B(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:z(e)?4:_(e)?2:0,i,!0)};function Kn(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:l}=e,s=t?function(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=u([t.class,r.class]));else if("style"===e)t.style=a([t.style,r.style]);else if(D(e)){const n=t[e],o=r[e];n!==o&&(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Wn(s),ref:t&&t.ref?n&&o?C(o)?o.concat(Hn(t)):[o,Hn(t)]:Hn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Sn?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kn(e.ssContent),ssFallback:e.ssFallback&&Kn(e.ssFallback),el:e.el,anchor:e.anchor}}function Qn(e=" ",t=0){return Jn(zn,null,e,t)}function Yn(e="",t=!1){return t?(On(),Pn(Ln,null,e)):Jn(Ln,null,e)}function Xn(e){return null==e||"boolean"==typeof e?Jn(Ln):C(e)?Jn(Sn,null,e.slice()):"object"==typeof e?Gn(e):Jn(zn,null,String(e))}function Gn(e){return null===e.el||e.memo?e:Kn(e)}function er(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(C(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),er(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||qn in t?3===r&&Rt&&(1===Rt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Rt}}else _(t)?(t={default:t,_ctx:Rt},n=32):(t=String(t),64&r?(n=16,t=[Qn(t)]):n=8);e.children=t,e.shapeFlag|=n}function tr(e,t,n,r){let o;const a=n&&n[r];if(C(e)||B(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,a&&a[n])}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,a&&a[n])}else if(z(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=t(e[i],i,r,a&&a[r])}}else o=[];return n&&(n[r]=o),o}const nr=e=>e?dr(e)?fr(e)||e.proxy:nr(e.parent):null,rr=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>nr(e.parent),$root:e=>nr(e.root),$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>()=>Tr(e.update),$nextTick:e=>Lr.bind(e.proxy),$watch:e=>m}),or={get({_:e},t){const{ctx:n,setupState:r,data:o,props:a,accessCache:i,type:l,appContext:s}=e;let u;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 0:return r[t];case 1:return o[t];case 3:return n[t];case 2:return a[t]}else{if(r!==v&&k(r,t))return i[t]=0,r[t];if(o!==v&&k(o,t))return i[t]=1,o[t];if((u=e.propsOptions[0])&&k(u,t))return i[t]=2,a[t];if(n!==v&&k(n,t))return i[t]=3,n[t];i[t]=4}}const c=rr[t];let d,p;return c?("$attrs"===t&&me(e,0,t),c(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==v&&k(n,t)?(i[t]=3,n[t]):(p=s.config.globalProperties,k(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;if(o!==v&&k(o,t))o[t]=n;else if(r!==v&&k(r,t))r[t]=n;else if(k(e.props,t))return!1;return!("$"===t[0]&&t.slice(1)in e||(a[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},i){let l;return void 0!==n[i]||e!==v&&k(e,i)||t!==v&&k(t,i)||(l=a[0])&&k(l,i)||k(r,i)||k(rr,i)||k(o.config.globalProperties,i)}},ar=bn();let ir=0;let lr=null;const sr=()=>lr||Rt,ur=e=>{lr=e,e.scope.on()},cr=()=>{lr&&lr.scope.off(),lr=null};function dr(e){return 4&e.vnode.shapeFlag}let pr=!1;function hr(e,t,n){_(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:z(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=yt(t)),vr(e,n)}function vr(e,t,n){const r=e.type;e.render||(e.render=r.render||m)}function fr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(yt(dt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in rr?rr[n](e):void 0}))}function mr(e,t,n,r){let o;try{o=r?e(...r):e()}catch(e){br(e,t,n)}return o}function gr(e,t,n,r){if(_(e)){const o=mr(e,t,n,r);return o&&L(o)&&o.catch((e=>{br(e,t,n)})),o}const o=[];for(let a=0;a<e.length;a++)o.push(gr(e[a],t,n,r));return o}function br(e,t,n,r=!0){if(t&&t.vnode,t){let r=t.parent;const o=t.proxy,a=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,a))return;r=r.parent}const i=t.appContext.config.errorHandler;if(i)return void mr(i,null,10,[e,o,a])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let Dr=!1,yr=!1;const wr=[];let xr=0;const kr=[];let Cr=null,Er=0;const Ar=[];let Fr=null,_r=0;const Br=Promise.resolve();let Sr=null,zr=null;function Lr(e){const t=Sr||Br;return e?t.then(this?e.bind(this):e):t}function Tr(e){wr.length&&wr.includes(e,Dr&&e.allowRecurse?xr+1:xr)||e===zr||(null==e.id?wr.push(e):wr.splice(function(e){let t=xr+1,n=wr.length;for(;t<n;){const r=t+n>>>1;$r(wr[r])<e?t=r+1:n=r}return t}(e.id),0,e),Rr())}function Rr(){Dr||yr||(yr=!0,Sr=Br.then(Mr))}function Ir(e,t,n,r){C(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),Rr()}function Or(e,t=null){if(kr.length){for(zr=t,Cr=[...new Set(kr)],kr.length=0,Er=0;Er<Cr.length;Er++)Cr[Er]();Cr=null,Er=0,zr=null,Or(e,t)}}function jr(e){if(Ar.length){const e=[...new Set(Ar)];if(Ar.length=0,Fr)return void Fr.push(...e);for(Fr=e,Fr.sort(((e,t)=>$r(e)-$r(t))),_r=0;_r<Fr.length;_r++)Fr[_r]();Fr=null,_r=0}}const $r=e=>null==e.id?1/0:e.id;function Mr(e){yr=!1,Dr=!0,Or(e),wr.sort(((e,t)=>$r(e)-$r(t)));try{for(xr=0;xr<wr.length;xr++){const e=wr[xr];e&&!1!==e.active&&mr(e,null,14)}}finally{xr=0,wr.length=0,jr(),Dr=!1,Sr=null,(wr.length||kr.length||Ar.length)&&Mr(e)}}const Ur={};function Pr(e,t,n){return function(e,t,{immediate:n,deep:r,flush:o,onTrack:a,onTrigger:i}=v){const l=lr;let s,u,c=!1,d=!1;if(mt(e)?(s=()=>e.value,c=!!e._shallow):lt(e)?(s=()=>e,r=!0):C(e)?(d=!0,c=e.some(lt),s=()=>e.map((e=>mt(e)?e.value:lt(e)?Nr(e):_(e)?mr(e,l,2):void 0))):s=_(e)?t?()=>mr(e,l,2):()=>{if(!l||!l.isUnmounted)return u&&u(),gr(e,l,3,[p])}:m,t&&r){const e=s;s=()=>Nr(e())}let p=e=>{u=b.onStop=()=>{mr(e,l,4)}};if(pr)return p=m,t?n&&gr(t,l,3,[s(),d?[]:void 0,p]):s(),m;let h=d?[]:Ur;const f=()=>{if(b.active)if(t){const e=b.run();(r||c||(d?e.some(((e,t)=>W(e,h[t]))):W(e,h)))&&(u&&u(),gr(t,l,3,[e,h===Ur?void 0:h,p]),h=e)}else b.run()};let g;f.allowRecurse=!!t,g="sync"===o?f:"post"===o?()=>wn(f,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ir(e,Cr,kr,Er)}(f):f()};const b=new ce(s,g);return t?n?f():h=b.run():"post"===o?wn(b.run.bind(b),l&&l.suspense):b.run(),()=>{b.stop(),l&&l.scope&&((e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)})(l.scope.effects,b)}}(e,t,n)}function Nr(e,t){if(!z(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),mt(e))Nr(e.value,t);else if(C(e))for(let n=0;n<e.length;n++)Nr(e[n],t);else if(A(e)||E(e))e.forEach((e=>{Nr(e,t)}));else if(I(e))for(const n in e)Nr(e[n],t);return e}function Vr(e,t,n){const r=arguments.length;return 2===r?z(t)&&!C(t)?Nn(t)?Jn(e,null,[t]):Jn(e,t):Jn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Nn(n)&&(n=[n]),Jn(e,t,n))}Symbol("");const qr="3.2.20",Wr="undefined"!=typeof document?document:null,Hr=new Map,Zr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Wr.createElementNS("http://www.w3.org/2000/svg",e):Wr.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Wr.createTextNode(e),createComment:e=>Wr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r){const o=n?n.previousSibling:t.lastChild;let a=Hr.get(e);if(!a){const t=Wr.createElement("template");if(t.innerHTML=r?`<svg>${e}</svg>`:e,a=t.content,r){const e=a.firstChild;for(;e.firstChild;)a.appendChild(e.firstChild);a.removeChild(e)}Hr.set(e,a)}return t.insertBefore(a.cloneNode(!0),n),[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Jr=/\s*!important$/;function Kr(e,t,n){if(C(n))n.forEach((n=>Kr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Yr[t];if(n)return n;let r=U(t);if("filter"!==r&&r in e)return Yr[t]=r;r=V(r);for(let n=0;n<Qr.length;n++){const o=Qr[n]+r;if(o in e)return Yr[t]=o}return t}(e,t);Jr.test(n)?e.setProperty(N(r),n.replace(Jr,""),"important"):e[r]=n}}const Qr=["Webkit","Moz","ms"],Yr={},Xr="http://www.w3.org/1999/xlink";let Gr=Date.now,eo=!1;if("undefined"!=typeof window){Gr()>document.createEvent("Event").timeStamp&&(Gr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);eo=!!(e&&Number(e[1])<=53)}let to=0;const no=Promise.resolve(),ro=()=>{to=0};function oo(e,t,n,r){e.addEventListener(t,n,r)}const ao=/(?:Once|Passive|Capture)$/,io=/^on[a-z]/;"undefined"!=typeof HTMLElement&&HTMLElement;const lo="transition",so="animation",uo=(e,{slots:t})=>Vr(Vt,function(e){const t={};for(const n in e)n in co||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=function(e){if(null==e)return null;if(z(e))return[vo(e.enter),vo(e.leave)];{const t=vo(e);return[t,t]}}(o),f=v&&v[0],m=v&&v[1],{onBeforeEnter:g,onEnter:b,onEnterCancelled:D,onLeave:y,onLeaveCancelled:x,onBeforeAppear:k=g,onAppear:C=b,onAppearCancelled:E=D}=t,A=(e,t,n)=>{mo(e,t?c:l),mo(e,t?u:i),n&&n()},F=(e,t)=>{mo(e,h),mo(e,p),t&&t()},_=e=>(t,n)=>{const o=e?C:b,i=()=>A(t,e,n);po(o,[t,i]),go((()=>{mo(t,e?s:a),fo(t,e?c:l),ho(o)||Do(t,r,f,i)}))};return w(t,{onBeforeEnter(e){po(g,[e]),fo(e,a),fo(e,i)},onBeforeAppear(e){po(k,[e]),fo(e,s),fo(e,u)},onEnter:_(!1),onAppear:_(!0),onLeave(e,t){const n=()=>F(e,t);fo(e,d),document.body.offsetHeight,fo(e,p),go((()=>{mo(e,d),fo(e,h),ho(y)||Do(e,r,m,n)})),po(y,[e,n])},onEnterCancelled(e){A(e,!1),po(D,[e])},onAppearCancelled(e){A(e,!0),po(E,[e])},onLeaveCancelled(e){F(e),po(x,[e])}})}(e),t);uo.displayName="Transition";const co={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},po=(uo.props=w({},Vt.props,co),(e,t=[])=>{C(e)?e.forEach((e=>e(...t))):e&&e(...t)}),ho=e=>!!e&&(C(e)?e.some((e=>e.length>1)):e.length>1);function vo(e){return J(e)}function fo(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function mo(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function go(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let bo=0;function Do(e,t,n,r){const o=e._endId=++bo,a=()=>{o===e._endId&&r()};if(n)return setTimeout(a,n);const{type:i,timeout:l,propCount:s}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r("transitionDelay"),a=r("transitionDuration"),i=yo(o,a),l=r("animationDelay"),s=r("animationDuration"),u=yo(l,s);let c=null,d=0,p=0;return t===lo?i>0&&(c=lo,d=i,p=a.length):t===so?u>0&&(c=so,d=u,p=s.length):(d=Math.max(i,u),c=d>0?i>u?lo:so:null,p=c?c===lo?a.length:s.length:0),{type:c,timeout:d,propCount:p,hasTransform:c===lo&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}(e,t);if(!i)return r();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,p),a()},p=t=>{t.target===e&&++c>=s&&d()};setTimeout((()=>{c<s&&d()}),l+1),e.addEventListener(u,p)}function yo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>wo(t)+wo(e[n]))))}function wo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}new WeakMap,new WeakMap;const xo=e=>{const t=e.props["onUpdate:modelValue"];return C(t)?e=>H(t,e):t};function ko(e){e.target.composing=!0}function Co(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent("input",!0,!0),e.dispatchEvent(n)}(t))}const Eo={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=xo(o);const a=r||o.props&&"number"===o.props.type;oo(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n?r=r.trim():a&&(r=J(r)),e._assign(r)})),n&&oo(e,"change",(()=>{e.value=e.value.trim()})),t||(oo(e,"compositionstart",ko),oo(e,"compositionend",Co),oo(e,"change",Co))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},a){if(e._assign=xo(a),e.composing)return;if(document.activeElement===e){if(n)return;if(r&&e.value.trim()===t)return;if((o||"number"===e.type)&&J(e.value)===t)return}const i=null==t?"":t;e.value!==i&&(e.value=i)}},Ao={deep:!0,created(e,t,n){e._assign=xo(n),oo(e,"change",(()=>{const t=e._modelValue,n=zo(e),r=e.checked,o=e._assign;if(C(t)){const e=d(t,n),a=-1!==e;if(r&&!a)o(t.concat(n));else if(!r&&a){const n=[...t];n.splice(e,1),o(n)}}else if(A(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(Lo(e,r))}))},mounted:Fo,beforeUpdate(e,t,n){e._assign=xo(n),Fo(e,t,n)}};function Fo(e,{value:t,oldValue:n},r){e._modelValue=t,C(t)?e.checked=d(t,r.props.value)>-1:A(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=c(t,Lo(e,!0)))}const _o={created(e,{value:t},n){e.checked=c(t,n.props.value),e._assign=xo(n),oo(e,"change",(()=>{e._assign(zo(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=xo(r),t!==n&&(e.checked=c(t,r.props.value))}},Bo={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=A(t);oo(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?J(zo(e)):zo(e)));e._assign(e.multiple?o?new Set(t):t:t[0])})),e._assign=xo(r)},mounted(e,{value:t}){So(e,t)},beforeUpdate(e,t,n){e._assign=xo(n)},updated(e,{value:t}){So(e,t)}};function So(e,t){const n=e.multiple;if(!n||C(t)||A(t)){for(let r=0,o=e.options.length;r<o;r++){const o=e.options[r],a=zo(o);if(n)C(t)?o.selected=d(t,a)>-1:o.selected=t.has(a);else if(c(zo(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function zo(e){return"_value"in e?e._value:e.value}function Lo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const To={created(e,t,n){Ro(e,t,n,null,"created")},mounted(e,t,n){Ro(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ro(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ro(e,t,n,r,"updated")}};function Ro(e,t,n,r,o){let a;switch(e.tagName){case"SELECT":a=Bo;break;case"TEXTAREA":a=Eo;break;default:switch(n.props&&n.props.type){case"checkbox":a=Ao;break;case"radio":a=_o;break;default:a=Eo}}const i=a[o];i&&i(e,t,n,r)}const Io=w({patchProp:(e,n,r,a,i=!1,l,s,u,c)=>{"class"===n?function(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,a,i):"style"===n?function(e,t,n){const r=e.style,o=r.display;if(n)if(B(n))t!==n&&(r.cssText=n);else{for(const e in n)Kr(r,e,n[e]);if(t&&!B(t))for(const e in t)null==n[e]&&Kr(r,e,"")}else e.removeAttribute("style");"_vod"in e&&(r.display=o)}(e,r,a):D(n)?y(n)||function(e,t,n,r,o=null){const a=e._vei||(e._vei={}),i=a[t];if(r&&i)i.value=r;else{const[n,l]=function(e){let t;if(ao.test(e)){let n;for(t={};n=e.match(ao);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[N(e.slice(2)),t]}(t);if(r){const i=a[t]=function(e,t){const n=e=>{const r=e.timeStamp||Gr();(eo||r>=n.attached-1)&&gr(function(e,t){if(C(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=to||(no.then(ro),to=Gr()),n}(r,o);oo(e,n,i,l)}else i&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,l),a[t]=void 0)}}(e,n,0,a,s):("."===n[0]?(n=n.slice(1),1):"^"===n[0]?(n=n.slice(1),0):function(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&io.test(t)&&_(n)):"spellcheck"!==t&&"draggable"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!io.test(t)||!B(n))&&t in e))))}(e,n,a,i))?function(e,t,n,r,a,i,l){if("innerHTML"===t||"textContent"===t)return r&&l(r,a,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName){e._value=n;const r=null==n?"":n;return e.value!==r&&(e.value=r),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const r=typeof e[t];if("boolean"===r)return void(e[t]=o(n));if(null==n&&"string"===r)return e[t]="",void e.removeAttribute(t);if("number"===r){try{e[t]=0}catch(e){}return void e.removeAttribute(t)}}try{e[t]=n}catch(e){}}(e,n,a,l,s,u,c):("true-value"===n?e._trueValue=a:"false-value"===n&&(e._falseValue=a),function(e,n,r,a,i){if(a&&n.startsWith("xlink:"))null==r?e.removeAttributeNS(Xr,n.slice(6,n.length)):e.setAttributeNS(Xr,n,r);else{const a=t(n);null==r||a&&!o(r)?e.removeAttribute(n):e.setAttribute(n,a?"":r)}}(e,n,a,i))}},Zr);let Oo;const jo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("object"==typeof e&&e.errno)throw new TypeError("Fetch ".concat(t," failed with ").concat(e.errno,": ").concat(e.errmsg));return e},$o=e=>{try{e=decodeURI(e)}catch(e){}return e},Mo=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/\/$/u,"")},Uo=["mp","identicon","monsterid","wavatar","robohash","retro",""],Po=["nick","mail","link"],No=e=>e&&Uo.includes(e)?e:"mp",Vo=e=>e.filter((e=>Po.includes(e))),qo="zh-CN",Wo=e=>{const t=new FormData;return t.append("image",e),fetch("https://pic.alexhchu.com/api/upload",{method:"POST",body:t}).then((e=>e.json())).then((e=>e.data.url))},Ho=e=>!0===e?'<p class="vtex">Tex is not available in preview</p>':'<span class="vtex">Tex is not available in preview</span>',Zo=["nick","nickError","mail","mailError","link","optional","placeholder","sofa","submit","reply","cancelReply","comment","refresh","more","preview","emoji","uploadImage","seconds","minutes","hours","days","now","uploading","login","logout","admin","sticky","word","wordHint","anonymous"],Jo=e=>Object.fromEntries(e.map(((e,t)=>[Zo[t],e]))),Ko=Jo(["NickName","NickName cannot be less than 3 bytes.","E-Mail","Please confirm your email address.","Website","Optional","Comment here...","No comment yet.","Submit","Reply","Cancel reply","Comments","Refresh","Load More...","Preview","Emoji","Upload Image","seconds ago","minutes ago","hours ago","days ago","just now","Uploading","Login","logout","Admin","Sticky","Words","Please input comments between $0 and $1 words!\n Current word number: $2","Anonymous"]),Qo=Jo(["ニックネーム","3バイト以上のニックネームをご入力ください.","メールアドレス","メールアドレスをご確認ください.","サイト","オプション","ここにコメント","コメントしましょう~","提出する","返信する","キャンセル","コメント","更新","さらに読み込む","プレビュー","絵文字","画像をアップロード","秒前","分前","時間前","日前","たっだ今","アップロード","ログインする","ログアウト","管理者","トップに置く","ワード","コメントは $0 から $1 ワードの間でなければなりません!\n 現在の単語番号: $2","匿名"]),Yo=Jo(["昵称","昵称不能少于3个字符","邮箱","请填写正确的邮件地址","网址","可选","欢迎评论","来发评论吧~","提交","回复","取消回复","评论","刷新","加载更多...","预览","表情","上传图片","秒前","分钟前","小时前","天前","刚刚","正在上传","登录","退出","博主","置顶","字","评论字数应在 $0 到 $1 字之间!\n当前字数:$2","匿名"]),Xo=Jo(["暱稱","郵箱","網址","可選","暱稱不能少於3個字元","請填寫正確的郵件地址","歡迎評論","來發評論吧~","提交","回覆","取消回覆","評論","刷新","載入更多...","預覽","表情","上傳圖片","秒前","分鐘前","小時前","天前","剛剛","正在上傳","登錄","退出","博主","置頂","字","評論字數應在 $0 到 $1 字之間!\n當前字數:$2","匿名"]),Go=Jo(["Apelido","Apelido não pode ser menor que 3 bytes.","E-Mail","Por favor, confirme seu endereço de e-mail.","Website","Opcional","Comente aqui...","Nenhum comentário, ainda.","Enviar","Responder","Cancelar resposta","Comentários","Refrescar","Carregar Mais...","Visualizar","Emoji","Enviar Imagem","segundos atrás","minutos atrás","horas atrás","dias atrás","agora mesmo","Enviando","Entrar","Sair","Admin","Sticky","Palavras","Favor enviar comentário com $0 a $1 palavras!\n Número de palavras atuais: $2","Anônimo"]),ea={zh:Yo,"zh-cn":Yo,"zh-CN":Yo,"zh-tw":Xo,"zh-TW":Xo,en:Ko,"en-US":Ko,jp:Qo,"jp-jp":Qo,"jp-JP":Qo,"pt-br":Go,"pt-BR":Go},ta=e=>{let t={};const n=localStorage.getItem(e);if(n)try{t=JSON.parse(n)}catch(e){}return{get:e=>t[e]||null,set(n,r){try{t[n]=JSON.parse(JSON.stringify(r)),localStorage.setItem(e,JSON.stringify(t))}catch(e){}},update(n){t=JSON.parse(JSON.stringify(n)),localStorage.setItem(e,JSON.stringify(t))}}};let na;const ra=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return"".concat(t,"/").concat(n).concat(e).concat(r?".".concat(r):"")},oa=e=>{let{el:t="#waline",serverURL:n,placeholder:r,langMode:o,emojiCDN:a,emojiMaps:i,requiredFields:l=[],anonymous:s,avatarCDN:u,avatar:c,avatarForce:d,path:p=location.pathname,lang:h=qo,locale:v=o,emoji:f=["https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/weibo"],meta:m=["nick","mail","link"],requiredMeta:g=l,pageSize:b=10,wordLimit:D,uploadImage:y,previewMath:w,copyright:x=!0,login:k=(!0===s?"disable":!1===s?"force":"enable"),...C}=e;const E=ea[h]||ea[qo];r&&(E.placeholder=r);const A=a&&"object"==typeof i?Promise.resolve(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n={};for(const r in e)n[r]=/(?:https?:)?\/\//.test(e[r])?e[r]:"".concat(t).concat(e[r]);return{tabs:[{name:"Emoji",icon:Object.values(n).pop()||"",items:Object.keys(n)}],map:n}}(i,a)):(F=f,Promise.all(F.map((e=>"string"==typeof e?(e=>{na||(na=ta("WALINE_EMOJI"));const t=Boolean(/@[0-9]+\.[0-9]+\.[0-9]+/.test(e));if(t){const t=na.get(e);if(t)return Promise.resolve(t)}return fetch("".concat(e,"/info.json")).then((e=>e.json())).then((n=>{const r={folder:e,...n};return t&&na.set(e,r),r}))})(Mo(e)):Promise.resolve(e)))).then((e=>{const t={tabs:[],map:{}};return e.forEach((e=>{const{name:n,folder:r,icon:o,prefix:a,type:i,items:l}=e;t.tabs.push({name:n,icon:ra(o,r,a,i),items:l.map((e=>{const n="".concat(a||"").concat(e);return t.map[n]=ra(e,r,a,i),n}))})})),t})));var F;return{el:t,serverURL:Mo(n),path:$o(p),lang:h,locale:{...E,..."object"==typeof v?v:{}},emoji:A,wordLimit:Array.isArray(D)?D:!!D&&[0,D],meta:Vo(m),requiredMeta:Vo(g),pageSize:b,avatar:{cdn:u||"https://seccdn.libravatar.org/avatar/",param:"?d=".concat(No(c)).concat(d?"&q=".concat(Math.random().toString(32).substring(2)):""),default:!c&&!u,hide:"hide"===c},uploadImage:"function"==typeof y?y:!1!==y&&Wo,previewMath:"function"==typeof w?w:!1!==w&&Ho,copyright:x,login:k,...C}},aa=e=>e.type.includes("image"),ia=e=>{const t=Array.from(e).find(aa);return!!t&&t.getAsFile()},la="{--waline-white:#000;--waline-light-grey:#666;--waline-dark-grey:#999;--waline-text-color:#888;--waline-bgcolor:#1e1e1e;--waline-bgcolor-light:#272727;--waline-bgcolor-hover: #444;--waline-border-color:#333;--waline-disable-bgcolor:#444;--waline-disable-color:#272727;--waline-bq-color:#272727;--waline-info-bgcolor:#272727;--waline-info-color:#666}",sa=(e,t)=>{if(!document.body.hasAttribute(t)){const n=document.createElement("style");n.appendChild(document.createTextNode(e)),document.head.appendChild(n),document.body.setAttribute(t,"")}},ua=()=>{sa('\n/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n/* See https://github.com/fred-wang/mathml.css */\n\n@namespace "http://www.w3.org/1998/Math/MathML";\nbody[waline-math] .v math{display:inline;font-size:0;font-family:Cambria Math,Latin Modern Math;text-indent:0}body[waline-math] .v math>*{font-size:14px}body[waline-math] .v math[display=block]{display:block;font-size:0;text-align:center}body[waline-math] .v math[display=block]>*{font-size:16px}body[waline-math] .v mfrac{display:inline-block !important;vertical-align:-50%;border-collapse:collapse;text-align:center}body[waline-math] .v mfrac>*{display:block !important}body[waline-math] .v mfrac>*+*{display:inline-block !important;vertical-align:top}body[waline-math] .v mfrac:not([linethickness="0"])>*:first-child{border-bottom:solid thin}body[waline-math] .v msub>*:nth-child(2),body[waline-math] .v msubsup>*:nth-child(2),body[waline-math] .v mmultiscripts>*:nth-child(2n+2),body[waline-math] .v mmultiscripts>mprescripts~*:nth-child(2n+3){vertical-align:sub;font-size:.8em}body[waline-math] .v msup>*:nth-child(2),body[waline-math] .v msubsup>*:nth-child(3),body[waline-math] .v mmultiscripts>*:nth-child(2n+3),body[waline-math] .v mmultiscripts>mprescripts~*:nth-child(2n+2){vertical-align:super;font-size:.8em}body[waline-math] .v mprescripts::after{content:";"}body[waline-math] .v munder,body[waline-math] .v mover,body[waline-math] .v munderover{display:inline-flex !important;flex-direction:column}body[waline-math] .v munder>*:nth-child(2),body[waline-math] .v munderover>*:nth-child(2){order:1;font-size:.8em}body[waline-math] .v mover>*:nth-child(2),body[waline-math] .v munderover>*:nth-child(3){order:-1;font-size:.8em}body[waline-math] .v munder{vertical-align:text-top}body[waline-math] .v mover{vertical-align:text-bottom}body[waline-math] .v munderover{vertical-align:middle}body[waline-math] .v msqrt,body[waline-math] .v mroot{display:inline-flex !important;vertical-align:middle;margin-left:.5em;border-top:solid thin}body[waline-math] .v msqrt::before,body[waline-math] .v mroot::before{content:"√";margin-left:-0.5em}body[waline-math] .v mroot>*:nth-child(2){order:-1;margin-right:.25em;margin-left:-0.75em;font-size:.8em}body[waline-math] .v menclose{display:inline-table !important;border-spacing:.4ex 0;border-collapse:separate}body[waline-math] .v menclose[notation*=top],body[waline-math] .v menclose[notation*=actuarial]{border-top:solid thin}body[waline-math] .v menclose[notation*=bottom],body[waline-math] .v menclose[notation*=madruwb]{border-bottom:solid thin}body[waline-math] .v menclose[notation*=right],body[waline-math] .v menclose[notation*=actuarial],body[waline-math] .v menclose[notation*=madruwb]{border-right:solid thin}body[waline-math] .v menclose[notation*=left]{border-left:solid thin}body[waline-math] .v menclose[notation*=box],body[waline-math] .v menclose[notation*=roundedbox],body[waline-math] .v menclose[notation*=circle]{border:solid thin}body[waline-math] .v menclose[notation*=roundedbox]{border-radius:15%}body[waline-math] .v menclose[notation*=circle]{border-radius:50%}body[waline-math] .v menclose[notation*=horizontalstrike]{text-decoration:line-through}body[waline-math] .v mtable{display:inline-table !important;vertical-align:middle;text-align:center}body[waline-math] .v mtr{display:table-row !important}body[waline-math] .v mtd{display:table-cell !important;padding:0 .5ex}body[waline-math] .v mspace{margin:.2em}body[waline-math] .v mi{font-style:italic}body[waline-math] .v mo{margin-right:.2em;margin-left:.2em}body[waline-math] .v ms::before,body[waline-math] .v ms::after{content:\'"\'}body[waline-math] .v ms[lquote]::before{content:attr(lquote)}body[waline-math] .v ms[lquote]::after{content:attr(rquote)}body[waline-math] .v [mathvariant=bold],body[waline-math] .v [mathvariant=bold-italic],body[waline-math] .v [mathvariant=bold-sans-serif],body[waline-math] .v [mathvariant=sans-serif-bold-italic]{font-weight:bold;font-style:normal}body[waline-math] .v [mathvariant=monospace]{font-style:normal;font-family:monospace}body[waline-math] .v [mathvariant=sans-serif],body[waline-math] .v [mathvariant=bold-sans-serif],body[waline-math] .v [mathvariant=sans-serif-italic],body[waline-math] .v [mathvariant=sans-serif-bold-italic]{font-style:normal;font-family:sans-serif}body[waline-math] .v [mathvariant=italic],body[waline-math] .v [mathvariant=bold-italic],body[waline-math] .v [mathvariant=sans-serif-italic],body[waline-math] .v [mathvariant=sans-serif-bold-italic]{font-style:italic}body[waline-math] .v [mathvariant=normal]{font-style:normal}body[waline-math] .v mphantom{visibility:hidden}body[waline-math] .v merror{outline:solid thin red}body[waline-math] .v merror::before{content:"Error: "}body[waline-math] .v semantics>*:first-child{display:inline}body[waline-math] .v annotation,body[waline-math] .v annotation-xml{display:none !important;font-family:monospace}body[waline-math] .v math:active>semantics>*:first-child{display:none !important}body[waline-math] .v math:active annotation:first-of-type{display:inline !important}',"waline-math-style"),document.body.insertAdjacentHTML("afterbegin","<div style='border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;'><math xmlns='http://www.w3.org/1998/Math/MathML'><mspace height='23px' width='77px'></mspace></math></div>");const e=document.body.firstChild,t=e.firstChild.firstChild.getBoundingClientRect();document.body.removeChild(e),(Math.abs(t.height-23)>1||Math.abs(t.width-77)>1)&&document.body.setAttribute("waline-math","")},ca=e=>e instanceof HTMLElement?e:"string"==typeof e?document.querySelector(e):null;var da=n(948),pa=n.n(da),ha=n(917),va=n.n(ha);const fa=/\$.*?\$/,ma=/^\$(.*?)\$/,ga=/^(?:\s{0,3})\$\$((?:[^\n]|\n[^\n])+?)\n{0,1}\$\$/,ba=e=>{const t={name:"blockMath",level:"block",tokenizer(t){const n=ga.exec(t);if(null!==n)return{type:"html",raw:n[0],text:e(!0,n[1])}}},n={name:"inlineMath",level:"inline",start(e){const t=e.search(fa);return-1!==t?t:e.length},tokenizer(t){const n=ma.exec(t);if(null!==n)return{type:"html",raw:n[0],text:e(!1,n[1])}}};return[t,n]},Da=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.replace(/:(.+?):/g,((e,n)=>t[n]?'<img class="vemoji" src="'.concat(t[n],'" alt="').concat(n,'">'):e))},ya=(e,t)=>{let n=e.toString();for(;n.length<t;)n="0"+n;return n},wa=(e,t)=>{if(e)try{"string"==typeof e&&(e=new Date(-1!==e.indexOf(" ")?e.replace(/-/g,"/"):e));const n=e.getTime(),r=(new Date).getTime()-n,o=Math.floor(r/864e5);if(0===o){const e=r%864e5,n=Math.floor(e/36e5);if(0===n){const n=e%36e5,r=Math.floor(n/6e4);if(0===r){const e=n%6e4,r=Math.round(e/1e3);return"".concat(r," ").concat(t.seconds)}return"".concat(r," ").concat(t.minutes)}return"".concat(n," ").concat(t.hours)}return o<0?t.now:o<8?"".concat(o," ").concat(t.days):(e=>{const t=ya(e.getDate(),2),n=ya(e.getMonth()+1,2),r=ya(e.getFullYear(),2);return"".concat(r,"-").concat(n,"-").concat(t)})(e)}catch(e){console.log(e)}return""},xa=(e,t)=>{t.forEach(((t,n)=>{(t.querySelector(".leancloud-visitors-count")||t).innerText=e[n].toString()}))};let ka,Ca;const Ea=()=>(Ca||(ka=ta("WALINE_USER_CACHE"),Ca=ot({nick:ka.get("nick")||"",mail:ka.get("mail")||"",link:ka.get("link")||"",editor:""})),{inputs:Ca,store:ka}),Aa="WALINE_USER",Fa=gt({}),_a=()=>{if(!Fa.value)try{Fa.value=JSON.parse(localStorage.getItem(Aa)||"")||JSON.parse(sessionStorage.getItem(Aa)||"")||{}}catch(e){}return{userInfo:at(Fa),setUserInfo:e=>{Fa.value=e}}},Ba={class:"v","data-class":"v"},Sa={class:"vcount"},za=["textContent"],La={class:"vcards"},Ta={key:1,class:"vloading"},Ra=["textContent"],Ia={key:2,class:"vloading"},Oa=["textContent"],ja={key:4,class:"vmore"},$a=["textContent"],Ma={key:5,class:"vpower"},Ua=Qn(" Powered by "),Pa=Zn("a",{href:"https://github.com/walinejs/waline",target:"_blank",rel:"noreferrer"}," Waline ",-1),Na={class:"vcomment"},Va={key:0,class:"vlogin-info"},qa={class:"vavatar"},Wa=["title"],Ha=["src"],Za=["textContent"],Ja={class:"vpanel"},Ka=["for","textContent"],Qa=["id","name","type","onUpdate:modelValue"],Ya=["placeholder"],Xa=["innerHTML"],Ga={class:"vfooter"},ei={class:"vactions"},ti={href:"https://guides.github.com/features/mastering-markdown/",title:"Markdown Guide","aria-label":"Markdown is supported",class:"vaction",target:"_blank",rel:"noreferrer"},ni=["title"],ri=["title"],oi=["title"],ai={class:"vinfo"},ii={class:"vtext-number"},li={key:0},si=Qn(" / "),ui=["textContent"],ci=["textContent"],di=["disabled"],pi={key:0,class:"vtab-wrapper"},hi=["title","onClick"],vi=["src","alt"],fi={key:0,class:"vtabs"},mi=["onClick"],gi=["src","alt","title"],bi=["title"];var Di,yi,wi="function"==typeof Map?new Map:(Di=[],yi=[],{has:function(e){return Di.indexOf(e)>-1},get:function(e){return yi[Di.indexOf(e)]},set:function(e,t){-1===Di.indexOf(e)&&(Di.push(e),yi.push(t))},delete:function(e){var t=Di.indexOf(e);t>-1&&(Di.splice(t,1),yi.splice(t,1))}}),xi=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(Di){xi=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function ki(e){var t=wi.get(e);t&&t.destroy()}function Ci(e){var t=wi.get(e);t&&t.update()}var Ei=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((Ei=function(e){return e}).destroy=function(e){return e},Ei.update=function(e){return e}):((Ei=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!wi.has(e)){var t,n=null,r=null,o=null,a=function(){e.clientWidth!==r&&u()},i=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",u,!1),e.removeEventListener("keyup",u,!1),e.removeEventListener("autosize:destroy",i,!1),e.removeEventListener("autosize:update",u,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),wi.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",i,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",u,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",u,!1),e.addEventListener("autosize:update",u,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",wi.set(e,{destroy:i,update:u}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),u()}function l(t){var n=e.style.width;e.style.width="0px",e.style.width=n,e.style.overflowY=t}function s(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function u(){s();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(l("scroll"),s(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),s(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),o!==r){o=r;var a=xi("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],ki),e},Ei.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],Ci),e});const Ai=Ei,Fi=e=>{let{size:t}=e;return Vr("svg",{width:t,height:t,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},Vr("circle",{cx:50,cy:50,fill:"none",stroke:"currentColor",strokeWidth:"4",r:"40","stroke-dasharray":"85 30"},Vr("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1s",values:"0 50 50;360 50 50",keyTimes:"0;1"})))},_i=Qt({name:"CommentBox",components:{CloseIcon:e=>{let{size:t}=e;return Vr("svg",{class:"vclose-icon",viewBox:"0 0 1024 1024",width:t,height:t},[Vr("path",{d:"M697.173 85.333h-369.92c-144.64 0-241.92 101.547-241.92 252.587v348.587c0 150.613 97.28 252.16 241.92 252.16h369.92c144.64 0 241.494-101.547 241.494-252.16V337.92c0-151.04-96.854-252.587-241.494-252.587z",fill:"currentColor"}),Vr("path",{d:"m640.683 587.52-75.947-75.861 75.904-75.862a37.29 37.29 0 0 0 0-52.778 37.205 37.205 0 0 0-52.779 0l-75.946 75.818-75.862-75.946a37.419 37.419 0 0 0-52.821 0 37.419 37.419 0 0 0 0 52.821l75.947 75.947-75.776 75.733a37.29 37.29 0 1 0 52.778 52.821l75.776-75.776 75.947 75.947a37.376 37.376 0 0 0 52.779-52.821z",fill:"#888"})])},EmojiIcon:()=>Vr("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},Vr("path",{d:"M563.2 463.3 677 540c1.7 1.2 3.7 1.8 5.8 1.8.7 0 1.4-.1 2-.2 2.7-.5 5.1-2.1 6.6-4.4l25.3-37.8c1.5-2.3 2.1-5.1 1.6-7.8s-2.1-5.1-4.4-6.6l-73.6-49.1 73.6-49.1c2.3-1.5 3.9-3.9 4.4-6.6.5-2.7 0-5.5-1.6-7.8l-25.3-37.8a10.1 10.1 0 0 0-6.6-4.4c-.7-.1-1.3-.2-2-.2-2.1 0-4.1.6-5.8 1.8l-113.8 76.6c-9.2 6.2-14.7 16.4-14.7 27.5.1 11 5.5 21.3 14.7 27.4zM387 348.8h-45.5c-5.7 0-10.4 4.7-10.4 10.4v153.3c0 5.7 4.7 10.4 10.4 10.4H387c5.7 0 10.4-4.7 10.4-10.4V359.2c0-5.7-4.7-10.4-10.4-10.4zm333.8 241.3-41-20a10.3 10.3 0 0 0-8.1-.5c-2.6.9-4.8 2.9-5.9 5.4-30.1 64.9-93.1 109.1-164.4 115.2-5.7.5-9.9 5.5-9.5 11.2l3.9 45.5c.5 5.3 5 9.5 10.3 9.5h.9c94.8-8 178.5-66.5 218.6-152.7 2.4-5 .3-11.2-4.8-13.6zm186-186.1c-11.9-42-30.5-81.4-55.2-117.1-24.1-34.9-53.5-65.6-87.5-91.2-33.9-25.6-71.5-45.5-111.6-59.2-41.2-14-84.1-21.1-127.8-21.1h-1.2c-75.4 0-148.8 21.4-212.5 61.7-63.7 40.3-114.3 97.6-146.5 165.8-32.2 68.1-44.3 143.6-35.1 218.4 9.3 74.8 39.4 145 87.3 203.3.1.2.3.3.4.5l36.2 38.4c1.1 1.2 2.5 2.1 3.9 2.6 73.3 66.7 168.2 103.5 267.5 103.5 73.3 0 145.2-20.3 207.7-58.7 37.3-22.9 70.3-51.5 98.1-85 27.1-32.7 48.7-69.5 64.2-109.1 15.5-39.7 24.4-81.3 26.6-123.8 2.4-43.6-2.5-87-14.5-129zm-60.5 181.1c-8.3 37-22.8 72-43 104-19.7 31.1-44.3 58.6-73.1 81.7-28.8 23.1-61 41-95.7 53.4-35.6 12.7-72.9 19.1-110.9 19.1-82.6 0-161.7-30.6-222.8-86.2l-34.1-35.8c-23.9-29.3-42.4-62.2-55.1-97.7-12.4-34.7-18.8-71-19.2-107.9-.4-36.9 5.4-73.3 17.1-108.2 12-35.8 30-69.2 53.4-99.1 31.7-40.4 71.1-72 117.2-94.1 44.5-21.3 94-32.6 143.4-32.6 49.3 0 97 10.8 141.8 32 34.3 16.3 65.3 38.1 92 64.8 26.1 26 47.5 56 63.6 89.2 16.2 33.2 26.6 68.5 31 105.1 4.6 37.5 2.7 75.3-5.6 112.3z",fill:"currentColor"})),ImageIcon:()=>Vr("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[Vr("path",{d:"M784 112H240c-88 0-160 72-160 160v480c0 88 72 160 160 160h544c88 0 160-72 160-160V272c0-88-72-160-160-160zm96 640c0 52.8-43.2 96-96 96H240c-52.8 0-96-43.2-96-96V272c0-52.8 43.2-96 96-96h544c52.8 0 96 43.2 96 96v480z",fill:"currentColor"}),Vr("path",{d:"M352 480c52.8 0 96-43.2 96-96s-43.2-96-96-96-96 43.2-96 96 43.2 96 96 96zm0-128c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32zm462.4 379.2-3.2-3.2-177.6-177.6c-25.6-25.6-65.6-25.6-91.2 0l-80 80-36.8-36.8c-25.6-25.6-65.6-25.6-91.2 0L200 728c-4.8 6.4-8 14.4-8 24 0 17.6 14.4 32 32 32 9.6 0 16-3.2 22.4-9.6L380.8 640l134.4 134.4c6.4 6.4 14.4 9.6 24 9.6 17.6 0 32-14.4 32-32 0-9.6-4.8-17.6-9.6-24l-52.8-52.8 80-80L769.6 776c6.4 4.8 12.8 8 20.8 8 17.6 0 32-14.4 32-32 0-8-3.2-16-8-20.8z",fill:"currentColor"})]),MarkdownIcon:()=>Vr("svg",{width:"16",height:"16",ariaHidden:"true"},Vr("path",{d:"M14.85 3H1.15C.52 3 0 3.52 0 4.15v7.69C0 12.48.52 13 1.15 13h13.69c.64 0 1.15-.52 1.15-1.15v-7.7C16 3.52 15.48 3 14.85 3zM9 11H7V8L5.5 9.92 4 8v3H2V5h2l1.5 2L7 5h2v6zm2.99.5L9.5 8H11V5h2v3h1.5l-2.51 3.5z",fill:"currentColor"})),PreviewIcon:()=>Vr("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[Vr("path",{d:"M710.816 654.301c70.323-96.639 61.084-230.578-23.705-314.843-46.098-46.098-107.183-71.109-172.28-71.109-65.008 0-126.092 25.444-172.28 71.109-45.227 46.098-70.756 107.183-70.756 172.106 0 64.923 25.444 126.007 71.194 172.106 46.099 46.098 107.184 71.109 172.28 71.109 51.414 0 100.648-16.212 142.824-47.404l126.53 126.006c7.058 7.06 16.297 10.979 26.406 10.979 10.105 0 19.343-3.919 26.402-10.979 14.467-14.467 14.467-38.172 0-52.723L710.816 654.301zm-315.107-23.265c-65.88-65.88-65.88-172.54 0-238.42 32.069-32.07 74.245-49.149 119.471-49.149 45.227 0 87.407 17.603 119.472 49.149 65.88 65.879 65.88 172.539 0 238.42-63.612 63.178-175.242 63.178-238.943 0zm0 0",fill:"currentColor"}),Vr("path",{d:"M703.319 121.603H321.03c-109.8 0-199.469 89.146-199.469 199.38v382.034c0 109.796 89.236 199.38 199.469 199.38h207.397c20.653 0 37.384-16.645 37.384-37.299 0-20.649-16.731-37.296-37.384-37.296H321.03c-68.582 0-124.352-55.77-124.352-124.267V321.421c0-68.496 55.77-124.267 124.352-124.267h382.289c68.582 0 124.352 55.771 124.352 124.267V524.72c0 20.654 16.736 37.299 37.385 37.299 20.654 0 37.384-16.645 37.384-37.299V320.549c-.085-109.8-89.321-198.946-199.121-198.946zm0 0",fill:"currentColor"})]),LoadingIcon:Fi},props:{rootId:{type:String,default:""},replyId:{type:String,default:""},replyUser:{type:String,default:""}},emits:["submit","cancel-reply"],setup(e,t){let{emit:n}=t;const r=Pt("config"),{inputs:o,store:a}=Ea(),{userInfo:i,setUserInfo:l}=_a(),s=gt({}),u=gt(null),c=gt(null),d=gt(null),p=gt(null),h=gt({tabs:[],map:{}}),v=gt(0),f=gt(!1),m=gt(!1),g=gt(""),b=gt(0),D=gt(0),y=gt(!1),w=gt(""),x=gt(!1),k=xt((()=>r.value.locale)),C=xt((()=>{var e;return Boolean(null===(e=i.value)||void 0===e?void 0:e.token)})),E=xt((()=>!1!==r.value.uploadImage)),A=e=>{const t=u.value,n=t.selectionStart,r=t.selectionEnd||0,a=t.scrollTop;o.editor=t.value.substring(0,n)+e+t.value.substring(r,t.value.length),t.focus(),t.selectionStart=n+e.length,t.selectionEnd=n+e.length,t.scrollTop=a},F=e=>{const t="![".concat(r.value.locale.uploading," ").concat(e.name,"]()");return A(t),Promise.resolve().then((()=>r.value.uploadImage(e))).then((n=>{o.editor=o.editor.replace(t,"\r\n.concat(n,")"))}))},_=()=>{var t,l;const{serverURL:c,lang:d,login:p,wordLimit:v,requiredMeta:f}=r.value,m={comment:w.value,nick:o.nick,mail:o.mail,link:o.link,ua:navigator.userAgent,url:r.value.path};if(null!==(t=i.value)&&void 0!==t&&t.token)m.nick=i.value.display_name,m.mail=i.value.email,m.link=i.value.url;else{if("force"===p)return;var D,C,E;if((f.indexOf("nick")>-1||m.nick)&&m.nick.length<3)return null===(D=s.value.nick)||void 0===D||D.focus(),alert(k.value.nickError);if((f.indexOf("mail")>-1||m.mail)&&!/^(\w)+([._-]\w+)*@(\w)+((\.\w{2,}){1,3})$/.exec(m.mail))return null===(C=s.value.mail)||void 0===C||C.focus(),alert(k.value.mailError);if(!m.comment)return void(null===(E=u.value)||void 0===E||E.focus());m.nick=k.value.anonymous}if(!y.value)return alert(k.value.wordHint.replace("$0",v[0].toString()).replace("$1",v[1].toString()).replace("$2",b.value.toString()));m.comment=Da(m.comment,h.value.map),e.replyId&&e.rootId&&(m.pid=e.replyId,m.rid=e.rootId,m.at=e.replyUser),x.value=!0,(e=>{let{serverURL:t,lang:n,token:r,comment:o}=e;const a={"Content-Type":"application/json"};return r&&(a.Authorization="Bearer ".concat(r)),fetch("".concat(t,"/comment?lang=").concat(n),{method:"POST",headers:a,body:JSON.stringify(o)}).then((e=>e.json()))})({serverURL:c,lang:d,token:null===(l=i.value)||void 0===l?void 0:l.token,comment:m}).then((t=>{if(x.value=!1,a.update({nick:m.nick,link:m.link,mail:m.mail}),t.errmsg)return alert(t.errmsg);n("submit",t.data),o.editor="",g.value="",e.replyId&&n("cancel-reply")})).catch((e=>{x.value=!1,alert(e.message)}))},B=e=>{d.value.contains(e.target)||p.value.contains(e.target)||(f.value=!1)};return Pr((()=>o.editor),(e=>{const{highlight:t,previewMath:n}=r.value;w.value=e,g.value=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(va().setOptions({highlight:t?pa():void 0,breaks:!0,smartLists:!0,smartypants:!0}),!1!==r){const e=ba(r);va().use({extensions:e})}return va()(Da(e,n))}(e,t,h.value.map,n),b.value=(e=>(e=>e.match(/[\w\d\s\u00C0-\u024F]+/giu)||[])(e).reduce(((e,t)=>e+(""===t.trim()?0:t.trim().split(/\s+/u).length)),0)+(e=>e.match(/[\u4E00-\u9FA5]/gu)||[])(e).length)(e),u.value&&(e?Ai(u.value):Ai.destroy(u.value))}),{immediate:!0}),Pr((()=>r.value.emoji),(e=>e.then((e=>{h.value=e}))),{immediate:!0}),Pr([r,b],(e=>{let[t,n]=e;const{wordLimit:r}=t;r?n<r[0]&&0!==r[0]?(D.value=r[0],y.value=!1):n>r[1]?(D.value=r[1],y.value=!1):(D.value=r[1],y.value=!0):(D.value=0,y.value=!0)}),{immediate:!0}),en((()=>{document.body.addEventListener("click",B)})),nn((()=>{document.body.removeEventListener("click",B)})),{config:r,locale:k,insert:A,onChange:()=>{const e=c.value;e.files&&E.value&&F(e.files[0]).then((()=>{e.value=""}))},onDrop:e=>{var t;if(null!==(t=e.dataTransfer)&&void 0!==t&&t.items){const t=ia(e.dataTransfer.items);t&&E.value&&(F(t),e.preventDefault())}},onKeyDown:e=>{const t=e.key;(e.ctrlKey||e.metaKey)&&"Enter"===t&&_()},onPaste:e=>{if(e.clipboardData){const t=ia(e.clipboardData.items);t&&E.value&&F(t)}},onLogin:e=>{e.preventDefault();const{lang:t,serverURL:n}=r.value,o=(window.innerWidth-450)/2,a=(window.innerHeight-450)/2,i=window.open("".concat(n,"/ui/login?lng=").concat(encodeURIComponent(t)),"_blank","width=".concat(450,",height=").concat(450,",left=").concat(o,",top=").concat(a,",scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no"));null==i||i.postMessage({type:"TOKEN",data:null},"*");const s=e=>{let{data:t}=e;t&&"userInfo"===t.type&&t.data.token&&(null==i||i.close(),l(t.data),(t.data.remember?localStorage:sessionStorage).setItem("WALINE_USER",JSON.stringify(t.data)),window.removeEventListener("message",s))};window.addEventListener("message",s)},onLogout:()=>{l({}),localStorage.setItem("WALINE_USER","null"),sessionStorage.setItem("WALINE_USER","null")},onProfile:e=>{e.preventDefault();const{lang:t,serverURL:n}=r.value,o=(window.innerWidth-800)/2,a=(window.innerHeight-800)/2,s=window.open("".concat(n,"/ui/profile?lng=").concat(encodeURIComponent(t)),"_blank","width=".concat(800,",height=").concat(800,",left=").concat(o,",top=").concat(a,",scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no"));null==s||s.postMessage({type:"TOKEN",data:i.value.token},"*");const u=e=>{let{data:t}=e;t&&"profile"===t.type&&(l(Object.assign({},i.value,t)),[localStorage,sessionStorage].filter((e=>e.getItem("WALINE_USER"))).forEach((e=>e.setItem("WALINE_USER",JSON.stringify(i)))),window.removeEventListener("message",u))};window.addEventListener("message",u)},submitComment:_,isLogin:C,userInfo:i,isSubmitting:x,wordNumber:b,wordLimit:D,isWordNumberLegal:y,inputs:o,emoji:h,emojiTabIndex:v,showEmoji:f,canUploadImage:E,previewText:g,showPreview:m,inputRefs:s,editorRef:u,emojiButtonRef:d,emojiPopupRef:p,imageUploadRef:c}}});var Bi=n(407);const Si=(0,Bi.Z)(_i,[["render",function(e,t,n,r,o,i){const l=Fn("CloseIcon"),s=Fn("MarkdownIcon"),c=Fn("EmojiIcon"),d=Fn("ImageIcon"),h=Fn("PreviewIcon"),v=Fn("LoadingIcon");return On(),Un("div",Na,["disable"!==e.config.login&&e.isLogin?(On(),Un("div",Va,[Zn("div",qa,[Zn("button",{class:"vlogout-btn",title:e.locale.logout,onClick:t[0]||(t[0]=function(){return e.onLogout&&e.onLogout(...arguments)})},[Jn(l,{size:"14"})],8,Wa),Zn("img",{src:e.userInfo.avatar||"".concat(e.config.avatar.cdn).concat(e.userInfo.mailMd5).concat(e.config.avatar.param),alt:"avatar"},null,8,Ha)]),Zn("a",{href:"#",class:"vlogin-nick","aria-label":"Profile",onClick:t[1]||(t[1]=function(){return e.onProfile&&e.onProfile(...arguments)}),textContent:p(e.userInfo.display_name)},null,8,Za)])):Yn("v-if",!0),Zn("div",Ja,["force"!==e.config.login&&e.config.meta.length&&!e.isLogin?(On(),Un("div",{key:0,class:u(["vheader","vheader-".concat(e.config.meta.length)])},[(On(!0),Un(Sn,null,tr(e.config.meta,(t=>(On(),Un("div",{class:"vheader-item",key:t},[Zn("label",{for:t,textContent:p(e.locale[t]+(e.config.requiredMeta.includes(t)||!e.config.requiredMeta.length?"":"(".concat(e.locale.optional,")")))},null,8,Ka),mn(Zn("input",{ref:n=>{n&&(e.inputRefs[t]=n)},id:"waline-".concat(t),class:u(["vinput","v".concat(t)]),name:t,type:"mail"===t?"email":"text","onUpdate:modelValue":n=>e.inputs[t]=n},null,10,Qa),[[To,e.inputs[t]]])])))),128))],2)):Yn("v-if",!0),mn(Zn("textarea",{class:"veditor",ref:"editorRef",id:"waline-edit",placeholder:e.replyUser?"@".concat(e.replyUser):e.locale.placeholder,"onUpdate:modelValue":t[2]||(t[2]=t=>e.inputs.editor=t),onKeydown:t[3]||(t[3]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)}),onDrop:t[4]||(t[4]=function(){return e.onDrop&&e.onDrop(...arguments)}),onPaste:t[5]||(t[5]=function(){return e.onPaste&&e.onPaste(...arguments)})},null,40,Ya),[[Eo,e.inputs.editor]]),Zn("div",{class:"vpreview",style:a({display:e.showPreview?"block":"none"})},[Zn("h4",null,p(e.locale.preview)+":",1),Zn("div",{class:"vcontent",innerHTML:e.previewText},null,8,Xa)],4),Zn("div",Ga,[Zn("div",ei,[Zn("a",ti,[Jn(s)]),Zn("button",{ref:"emojiButtonRef",class:u(["vaction",{actived:e.showEmoji}]),title:e.locale.emoji,onClick:t[6]||(t[6]=t=>e.showEmoji=!e.showEmoji)},[Jn(c)],10,ni),Zn("input",{ref:"imageUploadRef",class:"upload",id:"waline-image-upload",type:"file",accept:".png,.jpg,.jpeg,.webp,.bmp,.gif",onChange:t[7]||(t[7]=function(){return e.onChange&&e.onChange(...arguments)})},null,544),e.canUploadImage?(On(),Un("label",{key:0,for:"waline-image-upload",class:"vaction",title:e.locale.uploadImage},[Jn(d)],8,ri)):Yn("v-if",!0),Zn("button",{class:u(["vaction",{actived:e.showPreview}]),title:e.locale.preview,onClick:t[8]||(t[8]=t=>e.showPreview=!e.showPreview)},[Jn(h)],10,oi)]),Zn("div",ai,[Zn("div",ii,[Qn(p(e.wordNumber)+" ",1),e.config.wordLimit?(On(),Un("span",li,[si,Zn("span",{class:u({illegal:!e.isWordNumberLegal}),textContent:p(e.wordLimit)},null,10,ui)])):Yn("v-if",!0),Qn(" "+p(e.locale.word),1)]),"disable"===e.config.login||e.isLogin?Yn("v-if",!0):(On(),Un("button",{key:0,class:"vbtn",onClick:t[9]||(t[9]=function(){return e.onLogin&&e.onLogin(...arguments)}),textContent:p(e.locale.login)},null,8,ci)),"force"!==e.config.login||e.isLogin?(On(),Un("button",{key:1,class:"vbtn primary",title:"Cmd|Ctrl + Enter",disabled:e.isSubmitting,onClick:t[10]||(t[10]=function(){return e.submitComment&&e.submitComment(...arguments)})},[e.isSubmitting?(On(),Pn(v,{key:0,size:16})):(On(),Un(Sn,{key:1},[Qn(p(e.locale.submit),1)],2112))],8,di)):Yn("v-if",!0)]),Zn("div",{ref:"emojiPopupRef",class:u(["vemoji-popup",{display:e.showEmoji}])},[(On(!0),Un(Sn,null,tr(e.emoji.tabs,((t,n)=>(On(),Un(Sn,{key:t.name},[n===e.emojiTabIndex?(On(),Un("div",pi,[(On(!0),Un(Sn,null,tr(t.items,(t=>(On(),Un("button",{key:t,title:t,onClick:n=>e.insert(":".concat(t,":"))},[e.showEmoji?(On(),Un("img",{key:0,class:"vemoji",src:e.emoji.map[t],alt:t,loading:"lazy",referrerPolicy:"no-referrer"},null,8,vi)):Yn("v-if",!0)],8,hi)))),128))])):Yn("v-if",!0)],64)))),128)),e.emoji.tabs.length>1?(On(),Un("div",fi,[(On(!0),Un(Sn,null,tr(e.emoji.tabs,((t,n)=>(On(),Un("button",{key:t.name,class:u(["vtab",{active:e.emojiTabIndex===n}]),onClick:t=>e.emojiTabIndex=n},[Zn("img",{class:"vemoji",src:t.icon,alt:t.name,title:t.name,loading:"lazy",referrerPolicy:"no-referrer"},null,8,gi)],10,mi)))),128))])):Yn("v-if",!0)],2)])]),e.replyId?(On(),Un("button",{key:1,class:"vclose",title:e.locale.cancelReply,onClick:t[11]||(t[11]=t=>e.$emit("cancel-reply"))},[Jn(l,{size:"24"})],8,bi)):Yn("v-if",!0)])}]]),zi=Si,Li=["id"],Ti=["src"],Ri={class:"vcard"},Ii={class:"vhead"},Oi=["href"],ji={key:1,class:"vnick"},$i=["textContent"],Mi=["textContent"],Ui=["textContent"],Pi=["title"],Ni={class:"vmeta","aria-hidden":"true"},Vi=["textContent"],qi=["textContent"],Wi=["innerHTML"],Hi={key:0,class:"vreply-wrapper"},Zi={key:1,class:"vquote"},Ji=Qt({props:{comment:{type:Object,required:!0},rootId:{type:String,required:!0},reply:{type:Object}},components:{CommentBox:zi,ReplyIcon:()=>Vr("svg",{viewBox:"0 0 1024 1024",width:"18",height:"18"},Vr("path",{d:"M1019.2 720C1001.6 625.6 968 566.4 904 497.6c-89.6-89.6-214.4-150.4-347.2-176v-120c0-25.6-8-51.2-25.6-64-33.6-30.4-81.6-30.4-112-4.8L33.6 441.6C12.8 459.2 0 484.8 0 510.4c0 25.6 12.8 51.2 30.4 68.8l385.6 312c17.6 12.8 33.6 17.6 51.2 17.6 12.8 0 25.6-4.8 38.4-8C536 888 552 857.6 552 824v-99.2c124.8 20.8 248 86.4 339.2 140.8 25.6 17.6 59.2 17.6 89.6 0 25.6-17.6 43.2-46.4 43.2-76.8 0-33.6 0-56-4.8-68.8zm-500.8-89.6-46.4-4.8v193.6L86.4 510.4 472 201.6V400l38.4 4.8c128 12.8 248 68.8 334.4 153.6 51.2 56 76.8 102.4 94.4 179.2 0 4.8 4.8 20.8 4.8 51.2C835.2 720 672 640 518.4 630.4z",fill:"currentColor"})),VerifiedIcon:()=>Vr("svg",{class:"verified-icon",viewBox:"0 0 1024 1024",width:"14",height:"14"},Vr("path",{d:"M512 44.608l388.352 109.696a38.016 38.016 0 0 1 27.648 36.608v337.984c-1.984 110.528-40.192 207.04-113.984 288-73.92 81.024-172.48 134.528-294.592 160.32l-8.192 1.728-8.192-2.048c-127.616-32.832-225.536-85.952-293.056-160-68.096-74.688-105.984-171.584-113.92-289.28L96 526.336V190.976c0-17.024 11.328-32 27.648-36.608L512 44.608z m0 74.816L168 216.64v307.328l0.128 1.856c7.232 99.712 38.4 179.52 93.44 240.704l1.664 1.92c55.488 60.8 137.728 106.304 247.488 136l2.048 0.512 1.408-0.32c102.272-23.232 183.552-67.968 244.736-134.144l1.92-2.112c62.592-68.672 94.08-149.376 95.168-243.584V216.64L512 119.36z m222.592 229.888a32 32 0 0 1 0.448 44.864l-0.384 0.384-244.8 246.016a32 32 0 0 1-44.992 0.384l-0.384-0.384-155.136-155.968a32 32 0 0 1 44.992-45.504L467.2 572.608 689.28 349.44a32 32 0 0 1 45.312-0.128z",fill:"#27ae60"}))},emits:["submit","reply"],setup(e){const t=Pt("config"),n=xt((()=>t.value.locale)),r=xt((()=>{let{link:t}=e.comment;return t?(e=>/^(https?:)?\/\//.test(e))(t)?t:"https://".concat(t):""})),o=xt((()=>{const n=e.comment,r=t.value.avatar;return!(!n||r.hide)&&(e.comment.avatar&&("type"in e.comment||r.default)?e.comment.avatar:"".concat(r.cdn).concat(e.comment.mail).concat(r.param))})),a=xt((()=>{var t;return e.comment.objectId===(null===(t=e.reply)||void 0===t?void 0:t.objectId)}));return{config:t,locale:n,avatar:o,isReplyingCurrent:a,link:r,timeAgo:wa}}}),Ki=Qt({name:"Waline-Root",components:{CommentBox:zi,CommentCard:(0,Bi.Z)(Ji,[["render",function(e,t,n,r,o,a){const i=Fn("VerifiedIcon"),l=Fn("ReplyIcon"),s=Fn("CommentBox"),c=Fn("CommentCard",!0);return On(),Un("div",{class:"vitem",id:e.comment.objectId},[e.avatar?(On(),Un("img",{key:0,class:"vuser","aria-hidden":"true",src:e.avatar},null,8,Ti)):Yn("v-if",!0),Zn("div",Ri,[Zn("div",Ii,[e.link?(On(),Un("a",{key:0,class:"vnick",href:e.link,target:"_blank",rel:"nofollow noreferrer"},[Qn(p(e.comment.nick),1),e.comment.type?(On(),Pn(i,{key:0})):Yn("v-if",!0)],8,Oi)):(On(),Un("span",ji,[Qn(p(e.comment.nick),1),e.comment.type?(On(),Pn(i,{key:0})):Yn("v-if",!0)])),"administrator"===e.comment.type?(On(),Un("span",{key:2,class:"vbadge",textContent:p(e.locale.admin)},null,8,$i)):Yn("v-if",!0),e.comment.sticky?(On(),Un("span",{key:3,class:"vbadge",textContent:p(e.locale.sticky)},null,8,Mi)):Yn("v-if",!0),Zn("span",{class:"vtime",textContent:p(e.timeAgo(e.comment.insertedAt,e.locale))},null,8,Ui),Zn("button",{class:u(["vreply",{active:e.isReplyingCurrent}]),title:e.isReplyingCurrent?e.locale.cancelReply:e.locale.reply,onClick:t[0]||(t[0]=t=>e.$emit("reply",e.isReplyingCurrent?null:e.comment))},[Jn(l)],10,Pi)]),Zn("div",Ni,[e.comment.browser?(On(),Un("span",{key:0,textContent:p(e.comment.browser)},null,8,Vi)):Yn("v-if",!0),e.comment.os?(On(),Un("span",{key:1,textContent:p(e.comment.os)},null,8,qi)):Yn("v-if",!0)]),Zn("div",{class:"vcontent",innerHTML:e.comment.comment},null,8,Wi),e.isReplyingCurrent?(On(),Un("div",Hi,[Jn(s,{replyId:e.comment.objectId,replyUser:e.comment.nick,rootId:e.rootId,onSubmit:t[1]||(t[1]=t=>e.$emit("submit",t)),onCancelReply:t[2]||(t[2]=t=>e.$emit("reply",null))},null,8,["replyId","replyUser","rootId"])])):Yn("v-if",!0),e.comment.children?(On(),Un("div",Zi,[(On(!0),Un(Sn,null,tr(e.comment.children,(n=>(On(),Pn(c,{key:n.objectId,comment:n,reply:e.reply,rootId:e.rootId,onReply:t[3]||(t[3]=t=>e.$emit("reply",t)),onSubmit:t[4]||(t[4]=t=>e.$emit("submit",t))},null,8,["comment","reply","rootId"])))),128))])):Yn("v-if",!0)])],8,Li)}]]),LoadingIcon:Fi},props:{signal:{type:Object,required:!0}},setup(e){const t=Pt("config"),n=Pt("event"),r=gt(0),o=gt(1),a=gt(0),i=gt(!0),l=gt(!1),s=gt([]),u=gt(null);let c=e.signal;const d=xt((()=>t.value.locale)),p=e=>{i.value=!0,l.value=!1,(e=>{let{serverURL:t,path:n,page:r,pageSize:o,signal:a}=e;return fetch("".concat(t,"/comment?path=").concat(encodeURIComponent(n),"&pageSize=").concat(o,"&page=").concat(r),{signal:a}).then((e=>e.json())).then((e=>jo(e,"comment list")))})(Object.assign({},t.value,{page:e,signal:c})).then((t=>{i.value=!1,r.value=t.count,s.value.push(...t.data),o.value=e,a.value=t.totalPages})).catch((e=>{"AbortError"!==e.name&&(console.error(e.message),l.value=!0,i.value=!1)}))};return n.on("render",(e=>{c=e,r.value=0,s.value=[],p(1)})),en((()=>p(1))),{config:t,locale:d,count:r,data:s,loading:i,inError:l,page:o,totalPages:a,reply:u,loadMore:()=>p(o.value+1),refresh:()=>{s.value=[],p(1)},onReply:e=>{u.value=e},onSubmit:e=>{if(e.rid){const t=s.value.find((t=>{let{objectId:n}=t;return n===e.rid}));if(!t)return;Array.isArray(t.children)||(t.children=[]),t.children.push(e)}else s.value.unshift(e)},version:"1.4.0"}}}),Qi=(0,Bi.Z)(Ki,[["render",function(e,t,n,r,o,a){const i=Fn("CommentBox"),l=Fn("CommentCard"),s=Fn("LoadingIcon");return On(),Un("div",Ba,[e.reply?Yn("v-if",!0):(On(),Pn(i,{key:0,onSubmit:e.onSubmit},null,8,["onSubmit"])),Zn("div",Sa,[e.count?(On(),Un("span",{key:0,class:"vnum",textContent:p(e.count)},null,8,za)):Yn("v-if",!0),Qn(" "+p(e.locale.comment),1)]),Zn("div",La,[(On(!0),Un(Sn,null,tr(e.data,(t=>(On(),Pn(l,{key:t.objectId,"root-id":t.objectId,comment:t,reply:e.reply,onReply:e.onReply,onSubmit:e.onSubmit},null,8,["root-id","comment","reply","onReply","onSubmit"])))),128))]),e.inError?(On(),Un("div",Ta,[Zn("button",{type:"button",class:"vbtn",onClick:t[0]||(t[0]=function(){return e.refresh&&e.refresh(...arguments)}),textContent:p(e.locale.refresh)},null,8,Ra)])):e.loading?(On(),Un("div",Ia,[Jn(s,{size:30})])):e.data.length?Yn("v-if",!0):(On(),Un("div",{key:3,class:"vempty",textContent:p(e.locale.sofa)},null,8,Oa)),e.page<e.totalPages&&!e.loading?(On(),Un("div",ja,[Zn("button",{type:"button",class:"vbtn",onClick:t[1]||(t[1]=function(){return e.loadMore&&e.loadMore(...arguments)}),textContent:p(e.locale.more)},null,8,$a)])):Yn("v-if",!0),e.config.copyright?(On(),Un("div",Ma,[Ua,Pa,Qn(" v"+p(e.version),1)])):Yn("v-if",!0)])}]]),Yi=Qi;var Xi=n(62),Gi=n.n(Xi),el=n(36),tl=n.n(el),nl=n(793),rl=n.n(nl),ol=n(892),al=n.n(ol),il=n(173),ll=n.n(il),sl=n(464),ul=n.n(sl),cl=n(523),dl={};dl.styleTagTransform=ul(),dl.setAttributes=al(),dl.insert=rl().bind(null,"head"),dl.domAPI=tl(),dl.insertStyleElement=ll(),Gi()(cl.Z,dl),cl.Z&&cl.Z.locals&&cl.Z.locals;class pl{constructor(){var e,t;t=void 0,(e="controller")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t,this.controller=new AbortController}get signal(){return this.controller.signal}abort(){this.controller.abort()}new(){this.abort(),this.controller=new AbortController}}const hl=(e,t)=>{const{path:n,serverURL:r,visitor:o}=e;o&&(e=>{let{serverURL:t,path:n,signal:r}=e;const o=(e=>{let{serverURL:t,path:n}=e;return fetch("".concat(t,"/article"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:n})}).then((e=>e.json())).then((e=>jo(e,"visit count")))})({serverURL:t,path:n}),a=Array.from(document.querySelectorAll(".waline-visitor-count,.leancloud_visitors,.leancloud-visitors")).filter((e=>e.getAttribute("id"))),i=a.map((e=>$o(e.getAttribute("id")||""))),l=i.filter((e=>e!==n));l.length?(l.length===i.length?Promise.resolve():o).then((()=>(e=>{let{serverURL:t,paths:n,signal:r}=e;return fetch("".concat(t,"/article?path=").concat(encodeURIComponent(n.join(","))),{signal:r}).then((e=>e.json())).then((e=>jo(e,"visit count"))).then((e=>Array.isArray(e)?e:[e]))})({serverURL:t,paths:i,signal:r}))).then((e=>xa(e,a))).catch((e=>{"AbortError"!==e.name&&console.error(e.message)})):o.then((e=>xa(new Array(a.length).fill(e),a)))})({serverURL:r,path:n,signal:t}),((e,t)=>{const n=Array.from(document.querySelectorAll(".waline-comment-count")).filter((e=>e.getAttribute("data-xid")||e.getAttribute("id")));n.length&&(e=>{let{serverURL:t,paths:n,signal:r}=e;return fetch("".concat(t,"/comment?type=count&url=").concat(encodeURIComponent(n.join(","))),{signal:r}).then((e=>e.json())).then((e=>jo(e,"comment count"))).then((e=>Array.isArray(e)?e:[e]))})({serverURL:e,paths:n.map((e=>$o(e.getAttribute("data-xid")||e.getAttribute("id")))),signal:t}).then((e=>{n.forEach(((t,n)=>{t.innerText=e[n].toString()}))})).catch((e=>{"AbortError"!==e.name&&console.error(e.message)}))})(r,t)},vl=e=>(console.warn(e),{errMsg:e});function fl(e){const{el:t,serverURL:n}=e;if(!n)return vl("Option 'serverURL' is missing!");var r;e.dark&&"string"==typeof(r=e.dark)&&sa("auto"===r?"@media(prefers-color-scheme:dark){body".concat(la,"}"):"".concat(r).concat(la),"waline-dark"),e.mathTagSupport&&window.addEventListener("load",ua);const o=new pl,a=new pl,i=function(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}}(),{config:l,update:s}=(e=>{let t=e;const n=gt(oa(e));return{config:at(n),update:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t={...t,...e},n.value=oa(t)}}})(e);hl(l.value,a.signal);const u=ca(t);if(t&&!u)return vl("Option 'el' do not match any domElement!");let c;u&&(c=((...e)=>{const t=(Oo||(Oo=function(e){return xn(e)}(Io))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){return B(e)?document.querySelector(e):e}(e);if(!r)return;const o=t._component;_(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t})(Yi,{signal:o.signal}).provide("config",l).provide("event",i).provide("version","1.4.0"),c.mount(u));const d={options:e,path:l.value.path};return{el:u,update:e=>{s(e);const{path:t}=l.value;d.path!==t&&(o.new(),d.path=t,i.emit("render",o.signal)),a.new(),hl(l.value,a.signal)},destroy:()=>{t&&c.unmount()}}}fl.Widget={RecentComments:e=>{let{el:t,serverURL:n,count:r}=e;const o=ca(t),a=new AbortController;return(e=>{let{serverURL:t,count:n,signal:r}=e;return fetch("".concat(t,"/comment?type=recent&count=").concat(n),{signal:r}).then((e=>e.json())).then((e=>jo(e,"recent comment")))})({serverURL:n,count:r,signal:a.signal}).then((e=>o&&e.length?(o.innerHTML='<ul class="waline-widget-list">'.concat(e.map((e=>'<li class="waline-widget-item"><a href="'.concat(e.url,'">').concat(e.nick,"</a>:").concat(e.comment,"</li>"))).join(""),"</ul>"),{comments:e,destroy:()=>{a.abort(),o.innerHTML=""}}):{comments:e,destroy:()=>a.abort()}))}},fl.version="1.4.0";const ml=fl})(),r.default})()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Waline=t():e.Waline=t()}(this,(function(){return(()=>{var e={523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(601),r=n.n(o),a=n(609),i=n.n(a)()(r());i.push([e.id,':root{--waline-font-size: 16px;--waline-white: #fff;--waline-light-grey: #999;--waline-dark-grey: #666;--waline-theme-color: #27ae60;--waline-active-color: #2ecc71;--waline-text-color: #444;--waline-bgcolor: #fff;--waline-bgcolor-light: #f8f8f8;--waline-bgcolor-hover: #f0f0f0;--waline-border-color: #ddd;--waline-disable-bgcolor: #f8f8f8;--waline-disable-color: #000;--waline-code-bgcolor: #282c34;--waline-bq-color: #f0f0f0;--waline-avatar-size: 3.25rem;--waline-mobile-avatar-size: calc(var(--waline-avatar-size) * 9 / 13);--waline-badge-color: #3498db;--waline-badge-font-size: 0.775em;--waline-info-bgcolor: #f8f8f8;--waline-info-color: #999;--waline-info-font-size: 0.625em;--waline-border: 1px solid var(--waline-border-color);--waline-avatar-radius: 50%;--waline-box-shadow: none}.v[data-class=v]{font-size:var(--waline-font-size);text-align:left}.v[data-class=v] *{box-sizing:content-box;line-height:1.75}.v[data-class=v] p{color:var(--waline-text-color)}.v[data-class=v] a{position:relative;display:inline-block;color:var(--waline-theme-color);text-decoration:none;cursor:pointer}.v[data-class=v] a:hover{color:var(--waline-active-color)}.v[data-class=v] img{max-width:100%;max-height:400px;border:none}.v[data-class=v] hr{margin:.825em 0;border-style:dashed;border-color:var(--waline-bgcolor-light)}.v[data-class=v] code,.v[data-class=v] pre{margin:0;padding:.2em .4em;border-radius:3px;background:var(--waline-bgcolor-light);font-size:85%}.v[data-class=v] pre{overflow:auto;padding:10px;line-height:1.45}.v[data-class=v] pre::-webkit-scrollbar{width:6px;height:6px}.v[data-class=v] pre::-webkit-scrollbar-track-piece:horizontal{border-radius:6px;background:rgba(0,0,0,.1)}.v[data-class=v] pre::-webkit-scrollbar-thumb:horizontal{width:6px;border-radius:6px;background:var(--waline-theme-color)}.v[data-class=v] pre code{padding:0;background:transparent;color:var(--waline-text-color);white-space:pre-wrap;word-break:keep-all}.v[data-class=v] blockquote{margin:.5em 0;padding:.5em 0 .5em 1em;border-left:8px solid var(--waline-bq-color);color:var(--waline-dark-grey)}.v[data-class=v] blockquote>p{margin:0}.v[data-class=v] ol,.v[data-class=v] ul{margin-left:1.25em;padding:0}.v[data-class=v] input[type=checkbox],.v[data-class=v] input[type=radio]{display:inline-block;vertical-align:middle;margin-top:-2px}.v[data-class=v] .vbtn{display:inline-block;vertical-align:middle;min-width:2.5em;margin-bottom:0;padding:.5em 1em;border:1px solid var(--waline-border-color);border-radius:.5em;background:transparent;color:var(--waline-text-color);font-weight:400;font-size:.75em;line-height:1.5;text-align:center;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;transition-duration:.4s;touch-action:manipulation}.v[data-class=v] .vbtn:hover,.v[data-class=v] .vbtn:active{border-color:var(--waline-theme-color);color:var(--waline-theme-color)}.v[data-class=v] .vbtn:disabled{border-color:var(--waline-border-color);background:var(--waline-disable-bgcolor);color:var(--waline-disable-color);cursor:not-allowed}.v[data-class=v] .vbtn.primary{border-color:var(--waline-theme-color);background:var(--waline-theme-color);color:var(--waline-white)}.v[data-class=v] .vbtn.primary:hover,.v[data-class=v] .vbtn.primary:active{border-color:var(--waline-active-color);background:var(--waline-active-color);color:var(--waline-white)}.v[data-class=v] .vbtn.primary:disabled{border-color:var(--waline-border-color);background:var(--waline-disable-bgcolor);color:var(--waline-disable-color);cursor:not-allowed}.v[data-class=v] .vloading{text-align:center}.v[data-class=v] .vloading svg{margin:0 auto}.v[data-class=v] .vcomment{position:relative;display:flex;margin-bottom:.75em}.v[data-class=v] .vclose{position:absolute;top:-4px;right:-4px;padding:0;border:none;background:transparent;line-height:1;cursor:pointer}.v[data-class=v] .vlogin-info{max-width:80px;margin-top:.75em;text-align:center}.v[data-class=v] .vlogout-btn{position:absolute;top:-10px;right:-10px;padding:3px;border:none;background:transparent;line-height:0;cursor:pointer}.v[data-class=v] .vavatar{position:relative;width:var(--waline-avatar-size);height:var(--waline-avatar-size);margin:0 auto;border:var(--waline-border);border-radius:var(--waline-avatar-radius)}@media(max-width: 720px){.v[data-class=v] .vavatar{width:var(--waline-mobile-avatar-size);height:var(--waline-mobile-avatar-size)}}.v[data-class=v] .vavatar img{width:100%;height:100%;border-radius:var(--waline-avatar-radius)}.v[data-class=v] .vlogin-nick{display:block;color:var(--waline-theme-color);font-size:.75em;word-break:break-all}.v[data-class=v] .vpanel{position:relative;width:100%;flex-shrink:1;margin:.5em;border:var(--waline-border);border-radius:.75em;background:var(--waline-bgcolor);box-shadow:var(--waline-box-shadow)}.v[data-class=v] .vheader{display:flex;padding:0 4px;border-bottom:2px dashed var(--waline-border-color);border-top-left-radius:.75em;border-top-right-radius:.75em;overflow:hidden}@media(max-width: 580px){.v[data-class=v] .vheader{display:block}}.v[data-class=v] .vheader .vheader-item{display:flex;flex:1}@media(max-width: 580px){.v[data-class=v] .vheader .vheader-item:not(:last-child){border-bottom:2px dashed var(--waline-border-color)}}.v[data-class=v] .vheader.vheader-1 .vheader-item{width:100%}.v[data-class=v] .vheader.vheader-2 .vheader-item{width:50%}@media(max-width: 580px){.v[data-class=v] .vheader.vheader-2 .vheader-item{flex:0;width:100%}}.v[data-class=v] .vheader.vheader-3 .vheader-item{width:33.33%}@media(max-width: 580px){.v[data-class=v] .vheader.vheader-3 .vheader-item{width:100%}}.v[data-class=v] .vheader label{min-width:40px;padding:.75em .5em;color:var(--waline-text-color);font-size:.75em;text-align:center}.v[data-class=v] .vheader input{flex:1;width:0;padding:.5em;background:transparent;font-size:.625em;resize:none}.v[data-class=v] .veditor,.v[data-class=v] .vinput{max-width:100%;border:none;color:var(--waline-text-color);outline:none;transition:all .25s ease}.v[data-class=v] .veditor:focus,.v[data-class=v] .vinput:focus{background:var(--waline-bgcolor-light)}.v[data-class=v] .veditor{position:relative;width:calc(100% - 1em);min-height:8.75em;margin:.75em .5em;border-radius:.5em;background:transparent;font-size:.875em;resize:vertical}.v[data-class=v] .vpreview{padding:0 .5em .5em}.v[data-class=v] .vpreview h4{margin:.25em;font-weight:bold;font-size:.9375em}.v[data-class=v] .vpreview .vcontent{padding:.25em;min-height:1.25em;border:var(--waline-border);border-radius:.25em;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.v[data-class=v] .vpreview .vcontent>*:first-child{margin-top:0}.v[data-class=v] .vpreview .vcontent>*:last-child{margin-bottom:0}.v[data-class=v] .vfooter{position:relative;display:flex;flex-wrap:wrap;margin:.5em .75em}.v[data-class=v] .vactions{display:flex;flex:2;align-items:center}.v[data-class=v] .vaction{width:1.5em;height:1.5em;border:none;margin:2px;padding:0;background:transparent;font-size:16px;cursor:pointer;color:var(--waline-text-color);display:inline-flex;justify-content:center;align-items:center}.v[data-class=v] .vaction:hover{color:var(--waline-theme-color)}.v[data-class=v] .vaction.actived{color:var(--waline-active-color)}.v[data-class=v] #waline-image-upload{display:none}.v[data-class=v] #waline-image-upload:focus+label{color:var(--waline-text-color)}.v[data-class=v] #waline-image-upload:focus-visible+label{outline:-webkit-focus-ring-color auto 1px}.v[data-class=v] .vinfo{display:flex;flex:3;align-items:center;justify-content:flex-end}.v[data-class=v] .vinfo .vtext-number{color:var(--waline-info-color);font-size:.75em}.v[data-class=v] .vinfo .vtext-number .illegal{color:red}.v[data-class=v] .vinfo button{margin-left:.75em}.v[data-class=v] .vinfo button svg{display:block;margin:0 auto;line-height:18px}.v[data-class=v] .vemoji-popup{position:absolute;top:100%;left:1.25em;z-index:10;max-width:526px;border:var(--waline-border);border-radius:6px;background:var(--waline-bgcolor);box-shadow:var(--waline-box-shadow);visibility:hidden;opacity:0;transform:scale(0.9, 0.9);transform-origin:0 0;transition:transform .2s ease-out,opacity .2s ease-out}.v[data-class=v] .vemoji-popup.display{visibility:visible;opacity:1;transform:none}.v[data-class=v] .vemoji-popup button{display:inline-block;vertical-align:middle;background:transparent;width:2em;margin:.125em;padding:0;border-width:0;font-size:inherit;line-height:2;text-align:center;cursor:pointer}.v[data-class=v] .vemoji-popup button:hover{background:var(--waline-bgcolor-hover)}.v[data-class=v] .vemoji-popup .vemoji{display:inline-block;vertical-align:middle;max-width:1.5em;max-height:1.5em}.v[data-class=v] .vemoji-popup .vtab-wrapper{max-height:145px;overflow-y:auto;padding:.5em}.v[data-class=v] .vemoji-popup .vtab-wrapper::-webkit-scrollbar{width:6px;height:6px}.v[data-class=v] .vemoji-popup .vtab-wrapper::-webkit-scrollbar-track-piece:vertical{border-radius:6px;background:rgba(0,0,0,.1)}.v[data-class=v] .vemoji-popup .vtab-wrapper::-webkit-scrollbar-thumb:vertical{width:6px;border-radius:6px;background:var(--waline-theme-color)}.v[data-class=v] .vemoji-popup .vtabs{position:relative;height:2em;padding:0 6px}.v[data-class=v] .vemoji-popup .vtabs::before{content:" ";position:absolute;z-index:2;left:0;top:0;right:0;height:1px;background:var(--waline-border-color)}.v[data-class=v] .vemoji-popup .vtab{position:relative;margin:0;padding:0 .5em}.v[data-class=v] .vemoji-popup .vtab.active{z-index:3;background:var(--waline-bgcolor);border:1px solid var(--waline-border-color);border-top-width:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.v[data-class=v] .vcards .vitem{position:relative;display:flex;padding:.5em}.v[data-class=v] .vcards .vitem .vuser{width:var(--waline-avatar-size);height:var(--waline-avatar-size);margin-right:.75em;border-radius:var(--waline-avatar-radius);box-shadow:var(--waline-box-shadow)}@media(max-width: 720px){.v[data-class=v] .vcards .vitem .vuser{width:var(--waline-mobile-avatar-size);height:var(--waline-mobile-avatar-size)}}.v[data-class=v] .vcards .vitem:last-child .vcard{border-bottom:none}.v[data-class=v] .vcards .vcard .vitem{padding-right:0}.v[data-class=v] .vcard{flex:1;width:0;padding-bottom:.5em;border-bottom:1px dashed var(--waline-border-color)}.v[data-class=v] .vcard:first-child{margin-left:1em}.v[data-class=v] .vcard .vhead{line-height:1.5}.v[data-class=v] .vcard .vhead .vnick{position:relative;display:inline-block;margin-right:.5em;font-weight:bold;font-size:.875em;line-height:1;text-decoration:none}.v[data-class=v] .vcard .vhead .vnick svg{position:relative;bottom:-0.125em;line-height:1}.v[data-class=v] .vcard .vhead span.vnick{color:var(--waline-dark-grey)}.v[data-class=v] .vcard .vhead .vbadge{display:inline-block;margin-right:.5em;padding:0 .3em;border-radius:3px;background:var(--waline-badge-color);color:var(--waline-white);font-size:var(--waline-badge-font-size)}.v[data-class=v] .vcard .vhead .vtime{margin-right:.875em;color:var(--waline-info-color);font-size:.75em}.v[data-class=v] .vcard .vhead .vreply{float:right;cursor:pointer;padding:4px;border:none;background:transparent;color:var(--waline-text-color);line-height:1;transition:color .2s ease}.v[data-class=v] .vcard .vhead .vreply:hover{color:var(--waline-theme-color)}.v[data-class=v] .vcard .vhead .vreply.active{color:var(--waline-active-color)}.v[data-class=v] .vcard .vmeta{position:relative;line-height:1}.v[data-class=v] .vcard .vmeta>span{display:inline-block;margin-right:.25em;padding:2px 4px;border-radius:.2em;background:var(--waline-info-bgcolor);color:var(--waline-info-color);font-size:var(--waline-info-font-size);line-height:1.5}@media(max-width: 520px){.v[data-class=v] .vcard .vmeta>span{display:none}}.v[data-class=v] .vcard .vmeta>span:empty{display:none}.v[data-class=v] .vcard .vcontent{line-height:2;position:relative;margin-bottom:.75em;padding-top:.625em;font-size:.875em;word-wrap:break-word}.v[data-class=v] .vcard .vcontent.expand{overflow:hidden;max-height:8em;cursor:pointer}.v[data-class=v] .vcard .vcontent.expand::before{content:"";position:absolute;top:0;bottom:3.15em;left:0;z-index:999;display:block;width:100%;background:linear-gradient(180deg, #000, rgba(255, 255, 255, 0.9))}.v[data-class=v] .vcard .vcontent.expand::after{content:attr(data-expand);position:absolute;bottom:0;left:0;z-index:999;display:block;width:100%;height:3.15em;background:rgba(255,255,255,.9);color:#828586;line-height:3.15em;text-align:center}.v[data-class=v] .vcard .vcontent>*:first-child{margin-top:0}.v[data-class=v] .vcard .vcontent>*:last-child{margin-bottom:0}.v[data-class=v] .vcard .vquote{border-left:1px dashed rgba(237,237,237,.5)}.v[data-class=v] .vcard .vquote .vuser{width:var(--waline-mobile-avatar-size);height:var(--waline-mobile-avatar-size)}.v[data-class=v] .vclose-icon{color:var(--waline-border-color)}.v[data-class=v] .vcontent .vemoji{display:inline-block;vertical-align:middle;width:1.25em;margin:.25em}.v[data-class=v] .vcontent .vtex{background:var(--waline-info-bgcolor);color:var(--waline-info-color)}.v[data-class=v] .vcontent span.vtex{display:inline-block;margin-right:.25em;padding:2px 4px;border-radius:.2em;font-size:var(--waline-info-font-size);line-height:1.5}.v[data-class=v] .vcontent p.vtex{text-align:center}.v[data-class=v] .vcontent .katex-display{padding-top:.2em;padding-bottom:.2em;overflow:auto hidden;-webkit-overflow-scrolling:touch}.v[data-class=v] .vcontent .katex-display::-webkit-scrollbar{height:3px}.v[data-class=v] .vcontent .katex-error{color:red}.v[data-class=v] .vcount{padding:.375em;font-weight:bold;font-size:1.25em}.v[data-class=v] .vempty{overflow:auto;padding:1.25em;color:var(--waline-text-color);text-align:center}.v[data-class=v] .vmore{text-align:center}.v[data-class=v] .vmore button{margin:1em 0}.v[data-class=v] .vpower{padding:.5em 0;color:var(--waline-light-grey);font-size:var(--waline-info-font-size);text-align:right}.v[data-class=v] pre,.v[data-class=v] pre[class*=language-]{line-height:1.4;padding:1rem 1.25rem;margin:.75rem 0;background:var(--waline-code-bgcolor);border-radius:6px;overflow:auto}.v[data-class=v] pre code,.v[data-class=v] pre[class*=language-] code{color:#bbb;padding:0;background:transparent !important;border-radius:0}.v[data-class=v] code[class*=language-],.v[data-class=v] pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}.v[data-class=v] pre[class*=language-]{overflow:auto}.v[data-class=v] :not(pre)>code[class*=language-],.v[data-class=v] pre[class*=language-]{background:#2d2d2d}.v[data-class=v] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.v[data-class=v] .token.comment,.v[data-class=v] .token.block-comment,.v[data-class=v] .token.prolog,.v[data-class=v] .token.doctype,.v[data-class=v] .token.cdata{color:#999}.v[data-class=v] .token.punctuation{color:#ccc}.v[data-class=v] .token.tag,.v[data-class=v] .token.attr-name,.v[data-class=v] .token.namespace,.v[data-class=v] .token.deleted{color:#e2777a}.v[data-class=v] .token.function-name{color:#6196cc}.v[data-class=v] .token.boolean,.v[data-class=v] .token.number,.v[data-class=v] .token.function{color:#f08d49}.v[data-class=v] .token.property,.v[data-class=v] .token.class-name,.v[data-class=v] .token.constant,.v[data-class=v] .token.symbol{color:#f8c555}.v[data-class=v] .token.selector,.v[data-class=v] .token.important,.v[data-class=v] .token.atrule,.v[data-class=v] .token.keyword,.v[data-class=v] .token.builtin{color:#cc99cd}.v[data-class=v] .token.string,.v[data-class=v] .token.char,.v[data-class=v] .token.attr-value,.v[data-class=v] .token.regex,.v[data-class=v] .token.variable{color:#7ec699}.v[data-class=v] .token.operator,.v[data-class=v] .token.entity,.v[data-class=v] .token.url{color:#67cdcc}.v[data-class=v] .token.important,.v[data-class=v] .token.bold{font-weight:bold}.v[data-class=v] .token.italic{font-style:italic}.v[data-class=v] .token.entity{cursor:help}.v[data-class=v] .token.inserted{color:green}.waline-widget-item p{display:inline}',""]);const l=i},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(i[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);o&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},601:e=>{"use strict";e.exports=function(e){return e[1]}},948:function(e){e.exports=function(){"use strict";var e=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var t=e.exports=function(){return new RegExp("(?:"+t.line().source+")|(?:"+t.block().source+")","gm")};t.line=function(){return/(?:^|\s)\/\/(.+?)$/gm},t.block=function(){return/\/\*([\S\s]*?)\*\//gm}})),t=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"];return function(n,o){void 0===o&&(o={});var r=o.colors;void 0===r&&(r=t);var a=0,i={},l=new RegExp("("+/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/.source+"|"+/</.source+")|("+e().source+")","gmi");return n.replace(l,(function(e,t,n){if(n)return function(e){return'<span style="color: slategray">'+e+"</span>"}(n);if("<"===t)return"<";var o;i[t]?o=i[t]:(o=r[a],i[t]=o);var l='<span style="color: #'+o+'">'+t+"</span>";return a=++a%r.length,l}))}}()},62:e=>{"use strict";var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var a={},i=[],l=0;l<e.length;l++){var s=e[l],c=o.base?s[0]+o.base:s[0],u=a[c]||0,d="".concat(c," ").concat(u);a[c]=u+1;var p=n(d),h={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var v=r(h,o);o.byIndex=l,t.splice(l,0,{identifier:d,updater:v,references:1})}i.push(d)}return i}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var a=o(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=n(a[i]);t[l].references--}for(var s=o(e,r),c=0;c<a.length;c++){var u=n(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},793:e=>{"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},173:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},892:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},36:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},464:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},407:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,o]of t)n[e]=o;return n}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={id:o,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};return(()=>{"use strict";function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(o,{default:()=>es});const t=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){return!!e||""===e}function a(e){if(S(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=L(o)?s(o):a(o);if(r)for(const e in r)t[e]=r[e]}return t}return L(e)||R(e)?e:void 0}const i=/;(?![^(]*\))/g,l=/:(.+)/;function s(e){const t={};return e.split(i).forEach((e=>{if(e){const n=e.split(l);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(L(e))t=e;else if(S(e))for(let n=0;n<e.length;n++){const o=c(e[n]);o&&(t+=o+" ")}else if(R(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function u(e,t){if(e===t)return!0;let n=E(e),o=E(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=S(e),o=S(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=u(e[o],t[o]);return n}(e,t);if(n=R(e),o=R(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!u(e[n],t[n]))return!1}}return String(e)===String(t)}function d(e,t){return e.findIndex((e=>u(e,t)))}const p=e=>null==e?"":S(e)||R(e)&&(e.toString===O||!A(e.toString))?JSON.stringify(e,h,2):String(e),h=(e,t)=>t&&t.__v_isRef?h(e,t.value):C(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:z(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||S(t)||$(t)?t:String(t),v={},f=[],m=()=>{},g=()=>!1,b=/^on[^a-z]/,w=e=>b.test(e),y=e=>e.startsWith("onUpdate:"),k=Object.assign,x=Object.prototype.hasOwnProperty,_=(e,t)=>x.call(e,t),S=Array.isArray,C=e=>"[object Map]"===j(e),z=e=>"[object Set]"===j(e),E=e=>e instanceof Date,A=e=>"function"==typeof e,L=e=>"string"==typeof e,T=e=>"symbol"==typeof e,R=e=>null!==e&&"object"==typeof e,I=e=>R(e)&&A(e.then)&&A(e.catch),O=Object.prototype.toString,j=e=>O.call(e),$=e=>"[object Object]"===j(e),M=e=>L(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,U=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-(\w)/g,F=P((e=>e.replace(N,((e,t)=>t?t.toUpperCase():"")))),V=/\B([A-Z])/g,D=P((e=>e.replace(V,"-$1").toLowerCase())),B=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),q=P((e=>e?`on${B(e)}`:"")),H=(e,t)=>!Object.is(e,t),W=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Z=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},J=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let K;const Q=()=>K||(K="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});let Y;const X=[];class G{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&Y&&(this.parent=Y,this.index=(Y.scopes||(Y.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}}on(){this.active&&(X.push(this),Y=this)}off(){this.active&&(X.pop(),Y=X[X.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}const ee=e=>{const t=new Set(e);return t.w=0,t.n=0,t},te=e=>(e.w&ae)>0,ne=e=>(e.n&ae)>0,oe=new WeakMap;let re=0,ae=1;const ie=[];let le;const se=Symbol(""),ce=Symbol("");class ue{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],function(e,t){(t=t||Y)&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();if(!ie.includes(this))try{return ie.push(le=this),he.push(pe),pe=!0,ae=1<<++re,re<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ae})(this):de(this),this.fn()}finally{re<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];te(r)&&!ne(r)?r.delete(e):t[n++]=r,r.w&=~ae,r.n&=~ae}t.length=n}})(this),ae=1<<--re,fe(),ie.pop();const e=ie.length;le=e>0?ie[e-1]:void 0}}stop(){this.active&&(de(this),this.onStop&&this.onStop(),this.active=!1)}}function de(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let pe=!0;const he=[];function ve(){he.push(pe),pe=!1}function fe(){const e=he.pop();pe=void 0===e||e}function me(e,t,n){if(!ge())return;let o=oe.get(e);o||oe.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=ee()),be(r)}function ge(){return pe&&void 0!==le}function be(e,t){let n=!1;re<=30?ne(e)||(e.n|=ae,n=!te(e)):n=!e.has(le),n&&(e.add(le),le.deps.push(e))}function we(e,t,n,o,r,a){const i=oe.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&S(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(i.get(n)),t){case"add":S(e)?M(n)&&l.push(i.get("length")):(l.push(i.get(se)),C(e)&&l.push(i.get(ce)));break;case"delete":S(e)||(l.push(i.get(se)),C(e)&&l.push(i.get(ce)));break;case"set":C(e)&&l.push(i.get(se))}if(1===l.length)l[0]&&ye(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);ye(ee(e))}}function ye(e,t){for(const t of S(e)?e:[...e])(t!==le||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const ke=e("__proto__,__v_isRef,__isVue"),xe=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(T)),_e=Ae(),Se=Ae(!1,!0),Ce=Ae(!0),ze=Ee();function Ee(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ut(this);for(let e=0,t=this.length;e<t;e++)me(n,0,e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(ut)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ve();const n=ut(this)[t].apply(this,e);return fe(),n}})),e}function Ae(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?ot:nt:t?tt:et).get(n))return n;const a=S(n);if(!e&&a&&_(ze,o))return Reflect.get(ze,o,r);const i=Reflect.get(n,o,r);return(T(o)?xe.has(o):ke(o))?i:(e||me(n,0,o),t?i:mt(i)?a&&M(o)?i:i.value:R(i)?e?at(i):rt(i):i)}}function Le(e=!1){return function(t,n,o,r){let a=t[n];if(!e&&!st(o)&&(o=ut(o),a=ut(a),!S(t)&&mt(a)&&!mt(o)))return a.value=o,!0;const i=S(t)&&M(n)?Number(n)<t.length:_(t,n),l=Reflect.set(t,n,o,r);return t===ut(r)&&(i?H(o,a)&&we(t,"set",n,o):we(t,"add",n,o)),l}}const Te={get:_e,set:Le(),deleteProperty:function(e,t){const n=_(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&we(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return T(t)&&xe.has(t)||me(e,0,t),n},ownKeys:function(e){return me(e,0,S(e)?"length":se),Reflect.ownKeys(e)}},Re={get:Ce,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ie=k({},Te,{get:Se,set:Le(!0)}),Oe=e=>e,je=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=ut(e=e.__v_raw),a=ut(t);t!==a&&!n&&me(r,0,t),!n&&me(r,0,a);const{has:i}=je(r),l=o?Oe:n?ht:pt;return i.call(r,t)?l(e.get(t)):i.call(r,a)?l(e.get(a)):void(e!==r&&e.get(t))}function Me(e,t=!1){const n=this.__v_raw,o=ut(n),r=ut(e);return e!==r&&!t&&me(o,0,e),!t&&me(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ue(e,t=!1){return e=e.__v_raw,!t&&me(ut(e),0,se),Reflect.get(e,"size",e)}function Pe(e){e=ut(e);const t=ut(this);return je(t).has.call(t,e)||(t.add(e),we(t,"add",e,e)),this}function Ne(e,t){t=ut(t);const n=ut(this),{has:o,get:r}=je(n);let a=o.call(n,e);a||(e=ut(e),a=o.call(n,e));const i=r.call(n,e);return n.set(e,t),a?H(t,i)&&we(n,"set",e,t):we(n,"add",e,t),this}function Fe(e){const t=ut(this),{has:n,get:o}=je(t);let r=n.call(t,e);r||(e=ut(e),r=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return r&&we(t,"delete",e,void 0),a}function Ve(){const e=ut(this),t=0!==e.size,n=e.clear();return t&&we(e,"clear",void 0,void 0),n}function De(e,t){return function(n,o){const r=this,a=r.__v_raw,i=ut(a),l=t?Oe:e?ht:pt;return!e&&me(i,0,se),a.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Be(e,t,n){return function(...o){const r=this.__v_raw,a=ut(r),i=C(a),l="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,c=r[e](...o),u=n?Oe:t?ht:pt;return!t&&me(a,0,s?ce:se),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return"delete"!==e&&this}}function He(){const e={get(e){return $e(this,e)},get size(){return Ue(this)},has:Me,add:Pe,set:Ne,delete:Fe,clear:Ve,forEach:De(!1,!1)},t={get(e){return $e(this,e,!1,!0)},get size(){return Ue(this)},has:Me,add:Pe,set:Ne,delete:Fe,clear:Ve,forEach:De(!1,!0)},n={get(e){return $e(this,e,!0)},get size(){return Ue(this,!0)},has(e){return Me.call(this,e,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:De(!0,!1)},o={get(e){return $e(this,e,!0,!0)},get size(){return Ue(this,!0)},has(e){return Me.call(this,e,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:De(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Be(r,!1,!1),n[r]=Be(r,!0,!1),t[r]=Be(r,!1,!0),o[r]=Be(r,!0,!0)})),[e,n,t,o]}const[We,Ze,Je,Ke]=He();function Qe(e,t){const n=t?e?Ke:Je:e?Ze:We;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(_(n,o)&&o in t?n:t,o,r)}const Ye={get:Qe(!1,!1)},Xe={get:Qe(!1,!0)},Ge={get:Qe(!0,!1)},et=new WeakMap,tt=new WeakMap,nt=new WeakMap,ot=new WeakMap;function rt(e){return e&&e.__v_isReadonly?e:it(e,!1,Te,Ye,et)}function at(e){return it(e,!0,Re,Ge,nt)}function it(e,t,n,o,r){if(!R(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>j(e).slice(8,-1))(l));var l;if(0===i)return e;const s=new Proxy(e,2===i?o:n);return r.set(e,s),s}function lt(e){return st(e)?lt(e.__v_raw):!(!e||!e.__v_isReactive)}function st(e){return!(!e||!e.__v_isReadonly)}function ct(e){return lt(e)||st(e)}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function dt(e){return Z(e,"__v_skip",!0),e}const pt=e=>R(e)?rt(e):e,ht=e=>R(e)?at(e):e;function vt(e){ge()&&((e=ut(e)).dep||(e.dep=ee()),be(e.dep))}function ft(e,t){(e=ut(e)).dep&&ye(e.dep)}function mt(e){return Boolean(e&&!0===e.__v_isRef)}function gt(e){return n=!1,mt(t=e)?t:new bt(t,n);var t,n}class bt{constructor(e,t){this._shallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ut(e),this._value=t?e:pt(e)}get value(){return vt(this),this._value}set value(e){e=this._shallow?e:ut(e),H(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:pt(e),ft(this))}}const wt={get:(e,t,n)=>{return mt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const r=e[t];return mt(r)&&!mt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function yt(e){return lt(e)?e:new Proxy(e,wt)}class kt{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new ue(e,(()=>{this._dirty||(this._dirty=!0,ft(this))})),this.__v_isReadonly=n}get value(){const e=ut(this);return vt(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function xt(e,t){let n,o;const r=A(e);return r?(n=e,o=m):(n=e.get,o=e.set),new kt(n,o,r||!o)}Promise.resolve(),new Set,new Map;let _t,St=[],Ct=!1;function zt(e,...t){_t?_t.emit(e,...t):Ct||St.push({event:e,args:t})}function Et(e,t){var n,o;_t=e,_t?(_t.enabled=!0,St.forEach((({event:e,args:t})=>_t.emit(e,...t))),St=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null===(o=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===o?void 0:o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{Et(e,t)})),setTimeout((()=>{_t||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ct=!0,St=[])}),3e3)):(Ct=!0,St=[])}const At=Rt("component:added"),Lt=Rt("component:updated"),Tt=Rt("component:removed");function Rt(e){return t=>{zt(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function It(e,t,...n){const o=e.vnode.props||v;let r=n;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in o){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:a}=o[e]||v;a?r=n.map((e=>e.trim())):t&&(r=n.map(J))}let l;__VUE_PROD_DEVTOOLS__&&function(e,t,n){zt("component:emit",e.appContext.app,e,t,n)}(e,t,r);let s=o[l=q(t)]||o[l=q(F(t))];!s&&a&&(s=o[l=q(D(t))]),s&&wo(s,e,6,r);const c=o[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,wo(c,e,6,r)}}function Ot(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const a=e.emits;let i={};return a?(S(a)?a.forEach((e=>i[e]=null)):k(i,a),o.set(e,i),i):(o.set(e,null),null)}function jt(e,t){return!(!e||!w(t))&&(t=t.slice(2).replace(/Once$/,""),_(e,t[0].toLowerCase()+t.slice(1))||_(e,D(t))||_(e,t))}let $t=null,Mt=null;function Ut(e){const t=$t;return $t=e,Mt=e&&e.type.__scopeId||null,t}function Pt(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[i],slots:l,attrs:s,emit:c,render:u,renderCache:d,data:p,setupState:h,ctx:v,inheritAttrs:f}=e;let m,g;const b=Ut(e);try{if(4&n.shapeFlag){const e=r||o;m=Gn(u.call(e,e,d,a,h,p,v)),g=s}else{const e=t;m=Gn(e.length>1?e(a,{attrs:s,slots:l,emit:c}):e(a,null)),g=t.props?s:Nt(s)}}catch(t){$n.length=0,yo(t,e,1),m=Kn(On)}let w=m;if(g&&!1!==f){const e=Object.keys(g),{shapeFlag:t}=w;e.length&&7&t&&(i&&e.some(y)&&(g=Ft(g,i)),w=Qn(w,g))}return n.dirs&&(w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),m=w,Ut(b),m}const Nt=e=>{let t;for(const n in e)("class"===n||"style"===n||w(n))&&((t||(t={}))[n]=e[n]);return t},Ft=(e,t)=>{const n={};for(const o in e)y(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Vt(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const a=o[r];if(t[a]!==e[a]&&!jt(n,a))return!0}return!1}function Dt(e,t,n=!1){const o=so||$t;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&A(t)?t.call(o.proxy):t}}const Bt=[Function,Array],qt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Bt,onEnter:Bt,onAfterEnter:Bt,onEnterCancelled:Bt,onBeforeLeave:Bt,onLeave:Bt,onAfterLeave:Bt,onLeaveCancelled:Bt,onBeforeAppear:Bt,onAppear:Bt,onAfterAppear:Bt,onAppearCancelled:Bt},setup(e,{slots:t}){const n=co(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return tn((()=>{e.isMounted=!0})),nn((()=>{e.isUnmounting=!0})),e}();let r;return()=>{const a=t.default&&Qt(t.default(),!0);if(!a||!a.length)return;const i=ut(e),{mode:l}=i,s=a[0];if(o.isLeaving)return Zt(s);const c=Jt(s);if(!c)return Zt(s);const u=Wt(c,i,o,n);Kt(c,u);const d=n.subTree,p=d&&Jt(d);let h=!1;const{getTransitionKey:v}=c.type;if(v){const e=v();void 0===r?r=e:e!==r&&(r=e,h=!0)}if(p&&p.type!==On&&(!qn(c,p)||h)){const e=Wt(p,i,o,n);if(Kt(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},Zt(s);"in-out"===l&&c.type!==On&&(e.delayLeave=(e,t,n)=>{Ht(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Ht(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Wt(e,t,n,o){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:v,onBeforeAppear:f,onAppear:m,onAfterAppear:g,onAppearCancelled:b}=t,w=String(e.key),y=Ht(n,e),k=(e,t)=>{e&&wo(e,o,9,t)},x={mode:a,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=f||l}t._leaveCb&&t._leaveCb(!0);const a=y[w];a&&qn(e,a)&&a.el._leaveCb&&a.el._leaveCb(),k(o,[t])},enter(e){let t=s,o=c,a=u;if(!n.isMounted){if(!r)return;t=m||s,o=g||c,a=b||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,k(t?a:o,[e]),x.delayedLeave&&x.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();k(d,[t]);let a=!1;const i=t._leaveCb=n=>{a||(a=!0,o(),k(n?v:h,[t]),t._leaveCb=void 0,y[r]===e&&delete y[r])};y[r]=e,p?(p(t,i),p.length<=1&&i()):i()},clone:e=>Wt(e,t,n,o)};return x}function Zt(e){if(Gt(e))return(e=Qn(e)).children=null,e}function Jt(e){return Gt(e)?e.children?e.children[0]:void 0:e}function Kt(e,t){6&e.shapeFlag&&e.component?Kt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Qt(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const a=e[r];a.type===Rn?(128&a.patchFlag&&o++,n=n.concat(Qt(a.children,t))):(t||a.type!==On)&&n.push(a)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function Yt(e){return A(e)?{setup:e,name:e.name}:e}const Xt=e=>!!e.type.__asyncLoader,Gt=e=>e.type.__isKeepAlive;RegExp,RegExp;const en=e=>(t,n=so)=>(!vo||"sp"===e)&&function(e,t,n=so,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ve(),uo(n);const r=wo(t,n,e,o);return po(),fe(),r});return o?r.unshift(a):r.push(a),a}}(e,t,n),tn=(en("bm"),en("m")),nn=(en("bu"),en("u"),en("bum")),on=en("um");function rn(e,t,n,o){const[r,a]=e.propsOptions;let i,l=!1;if(t)for(let s in t){if(U(s))continue;const c=t[s];let u;r&&_(r,u=F(s))?a&&a.includes(u)?(i||(i={}))[u]=c:n[u]=c:jt(e.emitsOptions,s)||c!==o[s]&&(o[s]=c,l=!0)}if(a){const t=ut(n),o=i||v;for(let i=0;i<a.length;i++){const l=a[i];n[l]=an(r,t,l,o[l],e,!_(o,l))}}return l}function an(e,t,n,o,r,a){const i=e[n];if(null!=i){const e=_(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&A(e)){const{propsDefaults:a}=r;n in a?o=a[n]:(uo(r),o=a[n]=e.call(null,t),po())}else o=e}i[0]&&(a&&!e?o=!1:!i[1]||""!==o&&o!==D(n)||(o=!0))}return o}function ln(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const a=e.props,i={},l=[];if(!a)return o.set(e,f),f;if(S(a))for(let e=0;e<a.length;e++){const t=F(a[e]);sn(t)&&(i[t]=v)}else if(a)for(const e in a){const t=F(e);if(sn(t)){const n=a[e],o=i[t]=S(n)||A(n)?{type:n}:n;if(o){const e=dn(Boolean,o.type),n=dn(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||_(o,"default"))&&l.push(t)}}}const s=[i,l];return o.set(e,s),s}function sn(e){return"$"!==e[0]}function cn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function un(e,t){return cn(e)===cn(t)}function dn(e,t){return S(t)?t.findIndex((t=>un(t,e))):A(t)&&un(t,e)?0:-1}en("sp"),en("rtg"),en("rtc");const pn=e=>"_"===e[0]||"$stable"===e,hn=e=>S(e)?e.map(Gn):[Gn(e)],vn=(e,t,n)=>{const o=function(e,t=$t,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Nn(-1);const r=Ut(t),a=e(...n);return Ut(r),o._d&&Nn(1),__VUE_PROD_DEVTOOLS__&&Lt(t),a};return o._n=!0,o._c=!0,o._d=!0,o}(((...e)=>hn(t(...e))),n);return o._c=!1,o},fn=(e,t,n)=>{const o=e._ctx;for(const n in e){if(pn(n))continue;const r=e[n];if(A(r))t[n]=vn(0,r,o);else if(null!=r){const e=hn(r);t[n]=()=>e}}},mn=(e,t)=>{const n=hn(t);e.slots.default=()=>n};function gn(e,t){if(null===$t)return e;const n=$t.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,a,i,l=v]=t[e];A(r)&&(r={mounted:r,updated:r}),r.deep&&qo(a),o.push({dir:r,instance:n,value:a,oldValue:void 0,arg:i,modifiers:l})}return e}function bn(e,t,n,o){const r=e.dirs,a=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];a&&(l.oldValue=a[i].value);let s=l.dir[o];s&&(ve(),wo(s,n,8,[e.el,l,e,t]),fe())}}function wn(){return{app:null,config:{isNativeTag:g,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let yn=0;function kn(e,t){return function(n,o=null){null==o||R(o)||(o=null);const r=wn(),a=new Set;let i=!1;const l=r.app={_uid:yn++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Wo,get config(){return r.config},set config(e){},use:(e,...t)=>(a.has(e)||(e&&A(e.install)?(a.add(e),e.install(l,...t)):A(e)&&(a.add(e),e(l,...t))),l),mixin:e=>l,component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(a,s,c){if(!i){const u=Kn(n,o);return u.appContext=r,s&&t?t(u,a):e(u,a,c),i=!0,l._container=a,a.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=u.component,function(e,t){zt("app:init",e,t,{Fragment:Rn,Text:In,Comment:On,Static:jn})}(l,Wo)),go(u.component)||u.component.proxy}},unmount(){i&&(e(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(e){zt("app:unmount",e)}(l)),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}const xn=function(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):Uo(e,Lo,Ao,To)};function _n(e,t){"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(Q().__VUE_PROD_DEVTOOLS__=!1);const n=Q();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&Et(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:a,createElement:i,createText:l,createComment:s,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:h=m,cloneNode:g,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,a=null,i=!1,l=null,s=!!t.dynamicChildren)=>{if(e===t)return;e&&!qn(e,t)&&(o=te(e),J(e,r,a,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case In:y(e,t,n,o);break;case On:x(e,t,n,o);break;case jn:null==e&&S(t,n,o,i);break;case Rn:O(e,t,n,o,r,a,i,l,s);break;default:1&d?C(e,t,n,o,r,a,i,l,s):6&d?j(e,t,n,o,r,a,i,l,s):(64&d||128&d)&&c.process(e,t,n,o,r,a,i,l,s,oe)}null!=u&&r&&Sn(u,e&&e.ref,a,t||e,!t)},y=(e,t,n,r)=>{if(null==e)o(t.el=l(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},x=(e,t,n,r)=>{null==e?o(t.el=s(t.children||""),n,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o)},C=(e,t,n,o,r,a,i,l,s)=>{i=i||"svg"===t.type,null==e?z(t,n,o,r,a,i,l,s):L(e,t,r,a,i,l,s)},z=(e,t,n,r,l,s,c,d)=>{let p,h;const{type:v,props:f,shapeFlag:m,transition:b,patchFlag:w,dirs:y}=e;if(e.el&&void 0!==g&&-1===w)p=e.el=g(e.el);else{if(p=e.el=i(e.type,s,f&&f.is,f),8&m?u(p,e.children):16&m&&A(e.children,p,null,r,l,s&&"foreignObject"!==v,c,d),y&&bn(e,null,r,"created"),f){for(const t in f)"value"===t||U(t)||a(p,t,null,f[t],s,e.children,r,l,ee);"value"in f&&a(p,"value",null,f.value),(h=f.onVnodeBeforeMount)&&Cn(h,r,e)}E(p,e,e.scopeId,c,r)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(p,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(p,"__vueParentComponent",{value:r,enumerable:!1})),y&&bn(e,null,r,"beforeMount");const k=(!l||l&&!l.pendingBranch)&&b&&!b.persisted;k&&b.beforeEnter(p),o(p,t,n),((h=f&&f.onVnodeMounted)||k||y)&&xn((()=>{h&&Cn(h,r,e),k&&b.enter(p),y&&bn(e,null,r,"mounted")}),l)},E=(e,t,n,o,r)=>{if(n&&h(e,n),o)for(let t=0;t<o.length;t++)h(e,o[t]);if(r&&t===r.subTree){const t=r.vnode;E(e,t,t.scopeId,t.slotScopeIds,r.parent)}},A=(e,t,n,o,r,a,i,l,s=0)=>{for(let c=s;c<e.length;c++){const s=e[c]=l?eo(e[c]):Gn(e[c]);w(null,s,t,n,o,r,a,i,l)}},L=(e,t,n,o,r,i,l)=>{const s=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:p}=t;c|=16&e.patchFlag;const h=e.props||v,f=t.props||v;let m;(m=f.onVnodeBeforeUpdate)&&Cn(m,n,t,e),p&&bn(t,e,n,"beforeUpdate");const g=r&&"foreignObject"!==t.type;if(d?T(e.dynamicChildren,d,s,n,o,g,i):l||V(e,t,s,null,n,o,g,i,!1),c>0){if(16&c)R(s,t,h,f,n,o,r);else if(2&c&&h.class!==f.class&&a(s,"class",null,f.class,r),4&c&&a(s,"style",h.style,f.style,r),8&c){const i=t.dynamicProps;for(let t=0;t<i.length;t++){const l=i[t],c=h[l],u=f[l];u===c&&"value"!==l||a(s,l,c,u,r,e.children,n,o,ee)}}1&c&&e.children!==t.children&&u(s,t.children)}else l||null!=d||R(s,t,h,f,n,o,r);((m=f.onVnodeUpdated)||p)&&xn((()=>{m&&Cn(m,n,t,e),p&&bn(t,e,n,"updated")}),o)},T=(e,t,n,o,r,a,i)=>{for(let l=0;l<t.length;l++){const s=e[l],c=t[l],u=s.el&&(s.type===Rn||!qn(s,c)||70&s.shapeFlag)?d(s.el):n;w(s,c,u,null,o,r,a,i,!0)}},R=(e,t,n,o,r,i,l)=>{if(n!==o){for(const s in o){if(U(s))continue;const c=o[s],u=n[s];c!==u&&"value"!==s&&a(e,s,u,c,l,t.children,r,i,ee)}if(n!==v)for(const s in n)U(s)||s in o||a(e,s,n[s],null,l,t.children,r,i,ee);"value"in o&&a(e,"value",n.value,o.value)}},O=(e,t,n,r,a,i,s,c,u)=>{const d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:h,dynamicChildren:v,slotScopeIds:f}=t;f&&(c=c?c.concat(f):f),null==e?(o(d,n,r),o(p,n,r),A(t.children,n,p,a,i,s,c,u)):h>0&&64&h&&v&&e.dynamicChildren?(T(e.dynamicChildren,v,n,a,i,s,c),(null!=t.key||a&&t===a.subTree)&&zn(e,t,!0)):V(e,t,n,p,a,i,s,c,u)},j=(e,t,n,o,r,a,i,l,s)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,s):$(t,n,o,r,a,i,s):M(e,t,s)},$=(e,t,n,o,r,a,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||io,a={uid:lo++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,scope:new G(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ln(o,r),emitsOptions:Ot(o,r),emit:null,emitted:null,propsDefaults:v,inheritAttrs:o.inheritAttrs,ctx:v,data:v,props:v,attrs:v,slots:v,refs:v,setupState:v,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=It.bind(null,a),e.ce&&e.ce(a),a}(e,o,r);if(Gt(e)&&(l.ctx.renderer=oe),function(e,t=!1){vo=t;const{props:n,children:o}=e.vnode,r=ho(e);(function(e,t,n,o=!1){const r={},a={};Z(a,Hn,1),e.propsDefaults=Object.create(null),rn(e,t,r,a);for(const t in e.propsOptions[0])t in r||(r[t]=void 0);n?e.props=o?r:it(r,!1,Ie,Xe,tt):e.type.props?e.props=r:e.props=a,e.attrs=a})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=ut(t),Z(t,"_",n)):fn(t,e.slots={})}else e.slots={},t&&mn(e,t);Z(e.slots,Hn,1)})(e,o);const a=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=dt(new Proxy(e.ctx,ao));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(me(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;uo(e),ve();const r=bo(o,e,0,[e.props,n]);if(fe(),po(),I(r)){if(r.then(po,po),t)return r.then((n=>{fo(e,n,t)})).catch((t=>{yo(t,e,0)}));e.asyncDep=r}else fo(e,r,t)}else mo(e,t)}(e,t):void 0;vo=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Kn(On);x(null,e,t,n)}}else P(l,e,t,n,r,a,i)},M=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:a}=e,{props:i,children:l,patchFlag:s}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&s>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||Vt(o,i,c):!!i);if(1024&s)return!0;if(16&s)return o?Vt(o,i,c):!!i;if(8&s){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==o[n]&&!jt(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void N(o,t,n);o.next=t,function(e){const t=_o.indexOf(e);t>So&&_o.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,a,i)=>{const l=new ue((()=>{if(e.isMounted){let t,{next:n,bu:o,u:s,parent:c,vnode:u}=e,p=n;l.allowRecurse=!1,n?(n.el=u.el,N(e,n,i)):n=u,o&&W(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Cn(t,c,n,u),l.allowRecurse=!0;const h=Pt(e),v=e.subTree;e.subTree=h,w(v,h,d(v.el),te(v),e,r,a),n.el=h.el,null===p&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,h.el),s&&xn(s,r),(t=n.props&&n.props.onVnodeUpdated)&&xn((()=>Cn(t,c,n,u)),r),__VUE_PROD_DEVTOOLS__&&Lt(e)}else{let i;const{el:s,props:c}=t,{bm:u,m:d,parent:p}=e,h=Xt(t);if(l.allowRecurse=!1,u&&W(u),!h&&(i=c&&c.onVnodeBeforeMount)&&Cn(i,p,t),l.allowRecurse=!0,s&&ae){const n=()=>{e.subTree=Pt(e),ae(s,e.subTree,e,r,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Pt(e);w(null,i,n,o,e,r,a),t.el=i.el}if(d&&xn(d,r),!h&&(i=c&&c.onVnodeMounted)){const e=t;xn((()=>Cn(i,p,e)),r)}256&t.shapeFlag&&e.a&&xn(e.a,r),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&At(e),t=n=o=null}}),(()=>$o(e.update)),e.scope),s=e.update=l.run.bind(l);s.id=e.uid,l.allowRecurse=s.allowRecurse=!0,s()},N=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:a,vnode:{patchFlag:i}}=e,l=ut(r),[s]=e.propsOptions;let c=!1;if(!(o||i>0)||16&i){let o;rn(e,t,r,a)&&(c=!0);for(const a in l)t&&(_(t,a)||(o=D(a))!==a&&_(t,o))||(s?!n||void 0===n[a]&&void 0===n[o]||(r[a]=an(s,l,a,void 0,e,!0)):delete r[a]);if(a!==l)for(const e in a)t&&_(t,e)||(delete a[e],c=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let i=n[o];const u=t[i];if(s)if(_(a,i))u!==a[i]&&(a[i]=u,c=!0);else{const t=F(i);r[t]=an(s,l,t,u,e,!1)}else u!==a[i]&&(a[i]=u,c=!0)}}c&&we(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:r}=e;let a=!0,i=v;if(32&o.shapeFlag){const e=t._;e?n&&1===e?a=!1:(k(r,t),n||1!==e||delete r._):(a=!t.$stable,fn(t,r)),i=t}else t&&(mn(e,t),i={default:1});if(a)for(const e in r)pn(e)||e in i||delete r[e]})(e,t.children,n),ve(),Po(void 0,e.update),fe()},V=(e,t,n,o,r,a,i,l,s=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:v}=t;if(h>0){if(128&h)return void q(c,p,n,o,r,a,i,l,s);if(256&h)return void B(c,p,n,o,r,a,i,l,s)}8&v?(16&d&&ee(c,r,a),p!==c&&u(n,p)):16&d?16&v?q(c,p,n,o,r,a,i,l,s):ee(c,r,a,!0):(8&d&&u(n,""),16&v&&A(p,n,o,r,a,i,l,s))},B=(e,t,n,o,r,a,i,l,s)=>{t=t||f;const c=(e=e||f).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){const o=t[p]=s?eo(t[p]):Gn(t[p]);w(e[p],o,n,null,r,a,i,l,s)}c>u?ee(e,r,a,!0,!1,d):A(t,n,o,r,a,i,l,s,d)},q=(e,t,n,o,r,a,i,l,s)=>{let c=0;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){const o=e[c],u=t[c]=s?eo(t[c]):Gn(t[c]);if(!qn(o,u))break;w(o,u,n,null,r,a,i,l,s),c++}for(;c<=d&&c<=p;){const o=e[d],c=t[p]=s?eo(t[p]):Gn(t[p]);if(!qn(o,c))break;w(o,c,n,null,r,a,i,l,s),d--,p--}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:o;for(;c<=p;)w(null,t[c]=s?eo(t[c]):Gn(t[c]),n,d,r,a,i,l,s),c++}}else if(c>p)for(;c<=d;)J(e[c],r,a,!0),c++;else{const h=c,v=c,m=new Map;for(c=v;c<=p;c++){const e=t[c]=s?eo(t[c]):Gn(t[c]);null!=e.key&&m.set(e.key,c)}let g,b=0;const y=p-v+1;let k=!1,x=0;const _=new Array(y);for(c=0;c<y;c++)_[c]=0;for(c=h;c<=d;c++){const o=e[c];if(b>=y){J(o,r,a,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(g=v;g<=p;g++)if(0===_[g-v]&&qn(o,t[g])){u=g;break}void 0===u?J(o,r,a,!0):(_[u-v]=c+1,u>=x?x=u:k=!0,w(o,t[u],n,null,r,a,i,l,s),b++)}const S=k?function(e){const t=e.slice(),n=[0];let o,r,a,i,l;const s=e.length;for(o=0;o<s;o++){const s=e[o];if(0!==s){if(r=n[n.length-1],e[r]<s){t[o]=r,n.push(o);continue}for(a=0,i=n.length-1;a<i;)l=a+i>>1,e[n[l]]<s?a=l+1:i=l;s<e[n[a]]&&(a>0&&(t[o]=n[a-1]),n[a]=o)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}(_):f;for(g=S.length-1,c=y-1;c>=0;c--){const e=v+c,d=t[e],p=e+1<u?t[e+1].el:o;0===_[c]?w(null,d,n,p,r,a,i,l,s):k&&(g<0||c!==S[g]?H(d,n,p,2):g--)}}},H=(e,t,n,r,a=null)=>{const{el:i,type:l,transition:s,children:c,shapeFlag:u}=e;if(6&u)H(e.component.subTree,t,n,r);else if(128&u)e.suspense.move(t,n,r);else if(64&u)l.move(e,t,n,oe);else if(l!==Rn)if(l!==jn)if(2!==r&&1&u&&s)if(0===r)s.beforeEnter(i),o(i,t,n),xn((()=>s.enter(i)),a);else{const{leave:e,delayLeave:r,afterLeave:a}=s,l=()=>o(i,t,n),c=()=>{e(i,(()=>{l(),a&&a()}))};r?r(i,l,c):c()}else o(i,t,n);else(({el:e,anchor:t},n,r)=>{let a;for(;e&&e!==t;)a=p(e),o(e,n,r),e=a;o(t,n,r)})(e,t,n);else{o(i,t,n);for(let e=0;e<c.length;e++)H(c[e],t,n,r);o(e.anchor,t,n)}},J=(e,t,n,o=!1,r=!1)=>{const{type:a,props:i,ref:l,children:s,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=l&&Sn(l,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&p,v=!Xt(e);let f;if(v&&(f=i&&i.onVnodeBeforeUnmount)&&Cn(f,t,e),6&u)X(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&bn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,oe,o):c&&(a!==Rn||d>0&&64&d)?ee(c,t,n,!1,!0):(a===Rn&&384&d||!r&&16&u)&&ee(s,t,n),o&&K(e)}(v&&(f=i&&i.onVnodeUnmounted)||h)&&xn((()=>{f&&Cn(f,t,e),h&&bn(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:o,transition:a}=e;if(t===Rn)return void Y(n,o);if(t===jn)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),r(e),e=n;r(t)})(e);const i=()=>{r(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:o}=a,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Y=(e,t)=>{let n;for(;e!==t;)n=p(e),r(e),e=n;r(t)},X=(e,t,n)=>{const{bum:o,scope:r,update:a,subTree:i,um:l}=e;o&&W(o),r.stop(),a&&(a.active=!1,J(i,e,t,n)),l&&xn(l,t),xn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),__VUE_PROD_DEVTOOLS__&&Tt(e)},ee=(e,t,n,o=!1,r=!1,a=0)=>{for(let i=a;i<e.length;i++)J(e[i],t,n,o,r)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),ne=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),No(),t._vnode=e},oe={p:w,um:J,m:H,r:K,mt:$,mc:A,pc:V,pbc:T,n:te,o:e};let re,ae;return t&&([re,ae]=t(oe)),{render:ne,hydrate:re,createApp:kn(ne,re)}}function Sn(e,t,n,o,r=!1){if(S(e))return void e.forEach(((e,a)=>Sn(e,t&&(S(t)?t[a]:t),n,o,r)));if(Xt(o)&&!r)return;const a=4&o.shapeFlag?go(o.component)||o.component.proxy:o.el,i=r?null:a,{i:l,r:s}=e,c=t&&t.r,u=l.refs===v?l.refs={}:l.refs,d=l.setupState;if(null!=c&&c!==s&&(L(c)?(u[c]=null,_(d,c)&&(d[c]=null)):mt(c)&&(c.value=null)),L(s)){const e=()=>{u[s]=i,_(d,s)&&(d[s]=i)};i?(e.id=-1,xn(e,n)):e()}else if(mt(s)){const e=()=>{s.value=i};i?(e.id=-1,xn(e,n)):e()}else A(s)&&bo(s,l,12,[i,u])}function Cn(e,t,n,o=null){wo(e,t,7,[n,o])}function zn(e,t,n=!1){const o=e.children,r=t.children;if(S(o)&&S(r))for(let e=0;e<o.length;e++){const t=o[e];let a=r[e];1&a.shapeFlag&&!a.dynamicChildren&&((a.patchFlag<=0||32===a.patchFlag)&&(a=r[e]=eo(r[e]),a.el=t.el),n||zn(t,a))}}const En="components";function An(e,t){return function(e,t,n=!0,o=!1){const r=$t||so;if(r){const n=r.type;if(e===En){const e=function(e){return A(e)&&e.displayName||e.name}(n);if(e&&(e===t||e===F(t)||e===B(F(t))))return n}const a=Tn(r[e]||n[e],t)||Tn(r.appContext[e],t);return!a&&o?n:a}}(En,e,!0,t)||e}const Ln=Symbol();function Tn(e,t){return e&&(e[t]||e[F(t)]||e[B(F(t))])}const Rn=Symbol(void 0),In=Symbol(void 0),On=Symbol(void 0),jn=Symbol(void 0),$n=[];let Mn=null;function Un(e=!1){$n.push(Mn=e?null:[])}let Pn=1;function Nn(e){Pn+=e}function Fn(e){return e.dynamicChildren=Pn>0?Mn||f:null,$n.pop(),Mn=$n[$n.length-1]||null,Pn>0&&Mn&&Mn.push(e),e}function Vn(e,t,n,o,r,a){return Fn(Jn(e,t,n,o,r,a,!0))}function Dn(e,t,n,o,r){return Fn(Kn(e,t,n,o,r,!0))}function Bn(e){return!!e&&!0===e.__v_isVNode}function qn(e,t){return e.type===t.type&&e.key===t.key}const Hn="__vInternal",Wn=({key:e})=>null!=e?e:null,Zn=({ref:e})=>null!=e?L(e)||mt(e)||A(e)?{i:$t,r:e}:e:null;function Jn(e,t=null,n=null,o=0,r=null,a=(e===Rn?0:1),i=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wn(t),ref:t&&Zn(t),scopeId:Mt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(to(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=L(n)?8:16),Pn>0&&!i&&Mn&&(s.patchFlag>0||6&a)&&32!==s.patchFlag&&Mn.push(s),s}const Kn=function(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==Ln||(e=On),Bn(e)){const o=Qn(e,t,!0);return n&&to(o,n),o}if(l=e,A(l)&&"__vccOpts"in l&&(e=e.__vccOpts),t){t=function(e){return e?ct(e)||Hn in e?k({},e):e:null}(t);let{class:e,style:n}=t;e&&!L(e)&&(t.class=c(e)),R(n)&&(ct(n)&&!S(n)&&(n=k({},n)),t.style=a(n))}var l;return Jn(e,t,n,o,r,L(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:R(e)?4:A(e)?2:0,i,!0)};function Qn(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:l}=e,s=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=c([t.class,o.class]));else if("style"===e)t.style=a([t.style,o.style]);else if(w(e)){const n=t[e],r=o[e];n===r||S(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Wn(s),ref:t&&t.ref?n&&r?S(r)?r.concat(Zn(t)):[r,Zn(t)]:Zn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rn?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor}}function Yn(e=" ",t=0){return Kn(In,null,e,t)}function Xn(e="",t=!1){return t?(Un(),Dn(On,null,e)):Kn(On,null,e)}function Gn(e){return null==e||"boolean"==typeof e?Kn(On):S(e)?Kn(Rn,null,e.slice()):"object"==typeof e?eo(e):Kn(In,null,String(e))}function eo(e){return null===e.el||e.memo?e:Qn(e)}function to(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(S(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),to(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Hn in t?3===o&&$t&&(1===$t.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=$t}}else A(t)?(t={default:t,_ctx:$t},n=32):(t=String(t),64&o?(n=16,t=[Yn(t)]):n=8);e.children=t,e.shapeFlag|=n}function no(e,t,n,o){let r;const a=n&&n[o];if(S(e)||L(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,a&&a[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,a&&a[n])}else if(R(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[o]=t(e[i],i,o,a&&a[o])}}else r=[];return n&&(n[o]=r),r}const oo=e=>e?ho(e)?go(e)||e.proxy:oo(e.parent):null,ro=k(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>oo(e.parent),$root:e=>oo(e.root),$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>()=>$o(e.update),$nextTick:e=>jo.bind(e.proxy),$watch:e=>m}),ao={get({_:e},t){const{ctx:n,setupState:o,data:r,props:a,accessCache:i,type:l,appContext:s}=e;let c;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(o!==v&&_(o,t))return i[t]=1,o[t];if(r!==v&&_(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&_(c,t))return i[t]=3,a[t];if(n!==v&&_(n,t))return i[t]=4,n[t];i[t]=0}}const u=ro[t];let d,p;return u?("$attrs"===t&&me(e,0,t),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==v&&_(n,t)?(i[t]=4,n[t]):(p=s.config.globalProperties,_(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;if(r!==v&&_(r,t))r[t]=n;else if(o!==v&&_(o,t))o[t]=n;else if(_(e.props,t))return!1;return!("$"===t[0]&&t.slice(1)in e||(a[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:a}},i){let l;return!!n[i]||e!==v&&_(e,i)||t!==v&&_(t,i)||(l=a[0])&&_(l,i)||_(o,i)||_(ro,i)||_(r.config.globalProperties,i)}},io=wn();let lo=0;let so=null;const co=()=>so||$t,uo=e=>{so=e,e.scope.on()},po=()=>{so&&so.scope.off(),so=null};function ho(e){return 4&e.vnode.shapeFlag}let vo=!1;function fo(e,t,n){A(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:R(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=yt(t)),mo(e,n)}function mo(e,t,n){const o=e.type;e.render||(e.render=o.render||m)}function go(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(yt(dt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ro?ro[n](e):void 0}))}function bo(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){yo(e,t,n)}return r}function wo(e,t,n,o){if(A(e)){const r=bo(e,t,n,o);return r&&I(r)&&r.catch((e=>{yo(e,t,n)})),r}const r=[];for(let a=0;a<e.length;a++)r.push(wo(e[a],t,n,o));return r}function yo(e,t,n,o=!0){if(t&&t.vnode,t){let o=t.parent;const r=t.proxy,a=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,a))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void bo(i,null,10,[e,r,a])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let ko=!1,xo=!1;const _o=[];let So=0;const Co=[];let zo=null,Eo=0;const Ao=[];let Lo=null,To=0;const Ro=Promise.resolve();let Io=null,Oo=null;function jo(e){const t=Io||Ro;return e?t.then(this?e.bind(this):e):t}function $o(e){_o.length&&_o.includes(e,ko&&e.allowRecurse?So+1:So)||e===Oo||(null==e.id?_o.push(e):_o.splice(function(e){let t=So+1,n=_o.length;for(;t<n;){const o=t+n>>>1;Fo(_o[o])<e?t=o+1:n=o}return t}(e.id),0,e),Mo())}function Mo(){ko||xo||(xo=!0,Io=Ro.then(Vo))}function Uo(e,t,n,o){S(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),Mo()}function Po(e,t=null){if(Co.length){for(Oo=t,zo=[...new Set(Co)],Co.length=0,Eo=0;Eo<zo.length;Eo++)zo[Eo]();zo=null,Eo=0,Oo=null,Po(e,t)}}function No(e){if(Ao.length){const e=[...new Set(Ao)];if(Ao.length=0,Lo)return void Lo.push(...e);for(Lo=e,Lo.sort(((e,t)=>Fo(e)-Fo(t))),To=0;To<Lo.length;To++)Lo[To]();Lo=null,To=0}}const Fo=e=>null==e.id?1/0:e.id;function Vo(e){xo=!1,ko=!0,Po(e),_o.sort(((e,t)=>Fo(e)-Fo(t)));try{for(So=0;So<_o.length;So++){const e=_o[So];e&&!1!==e.active&&bo(e,null,14)}}finally{So=0,_o.length=0,No(),ko=!1,Io=null,(_o.length||Co.length||Ao.length)&&Vo(e)}}const Do={};function Bo(e,t,n){return function(e,t,{immediate:n,deep:o,flush:r,onTrack:a,onTrigger:i}=v){const l=so;let s,c,u=!1,d=!1;if(mt(e)?(s=()=>e.value,u=!!e._shallow):lt(e)?(s=()=>e,o=!0):S(e)?(d=!0,u=e.some(lt),s=()=>e.map((e=>mt(e)?e.value:lt(e)?qo(e):A(e)?bo(e,l,2):void 0))):s=A(e)?t?()=>bo(e,l,2):()=>{if(!l||!l.isUnmounted)return c&&c(),wo(e,l,3,[p])}:m,t&&o){const e=s;s=()=>qo(e())}let p=e=>{c=b.onStop=()=>{bo(e,l,4)}};if(vo)return p=m,t?n&&wo(t,l,3,[s(),d?[]:void 0,p]):s(),m;let h=d?[]:Do;const f=()=>{if(b.active)if(t){const e=b.run();(o||u||(d?e.some(((e,t)=>H(e,h[t]))):H(e,h)))&&(c&&c(),wo(t,l,3,[e,h===Do?void 0:h,p]),h=e)}else b.run()};let g;f.allowRecurse=!!t,g="sync"===r?f:"post"===r?()=>xn(f,l&&l.suspense):()=>{!l||l.isMounted?function(e){Uo(e,zo,Co,Eo)}(f):f()};const b=new ue(s,g);return t?n?f():h=b.run():"post"===r?xn(b.run.bind(b),l&&l.suspense):b.run(),()=>{b.stop(),l&&l.scope&&((e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)})(l.scope.effects,b)}}(e,t,n)}function qo(e,t){if(!R(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),mt(e))qo(e.value,t);else if(S(e))for(let n=0;n<e.length;n++)qo(e[n],t);else if(z(e)||C(e))e.forEach((e=>{qo(e,t)}));else if($(e))for(const n in e)qo(e[n],t);return e}function Ho(e,t,n){const o=arguments.length;return 2===o?R(t)&&!S(t)?Bn(t)?Kn(e,null,[t]):Kn(e,t):Kn(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Bn(n)&&(n=[n]),Kn(e,t,n))}Symbol("");const Wo="3.2.23",Zo="undefined"!=typeof document?document:null,Jo=new Map,Ko={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?Zo.createElementNS("http://www.w3.org/2000/svg",e):Zo.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Zo.createTextNode(e),createComment:e=>Zo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o){const r=n?n.previousSibling:t.lastChild;let a=Jo.get(e);if(!a){const t=Zo.createElement("template");if(t.innerHTML=o?`<svg>${e}</svg>`:e,a=t.content,o){const e=a.firstChild;for(;e.firstChild;)a.appendChild(e.firstChild);a.removeChild(e)}Jo.set(e,a)}return t.insertBefore(a.cloneNode(!0),n),[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Qo=/\s*!important$/;function Yo(e,t,n){if(S(n))n.forEach((n=>Yo(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Go[t];if(n)return n;let o=F(t);if("filter"!==o&&o in e)return Go[t]=o;o=B(o);for(let n=0;n<Xo.length;n++){const r=Xo[n]+o;if(r in e)return Go[t]=r}return t}(e,t);Qo.test(n)?e.setProperty(D(o),n.replace(Qo,""),"important"):e[o]=n}}const Xo=["Webkit","Moz","ms"],Go={},er="http://www.w3.org/1999/xlink";let tr=Date.now,nr=!1;if("undefined"!=typeof window){tr()>document.createEvent("Event").timeStamp&&(tr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);nr=!!(e&&Number(e[1])<=53)}let or=0;const rr=Promise.resolve(),ar=()=>{or=0};function ir(e,t,n,o){e.addEventListener(t,n,o)}const lr=/(?:Once|Passive|Capture)$/,sr=/^on[a-z]/;"undefined"!=typeof HTMLElement&&HTMLElement;const cr="transition",ur="animation",dr=(e,{slots:t})=>Ho(qt,function(e){const t={};for(const n in e)n in pr||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=function(e){if(null==e)return null;if(R(e))return[fr(e.enter),fr(e.leave)];{const t=fr(e);return[t,t]}}(r),f=v&&v[0],m=v&&v[1],{onBeforeEnter:g,onEnter:b,onEnterCancelled:w,onLeave:y,onLeaveCancelled:x,onBeforeAppear:_=g,onAppear:S=b,onAppearCancelled:C=w}=t,z=(e,t,n)=>{gr(e,t?u:l),gr(e,t?c:i),n&&n()},E=(e,t)=>{gr(e,h),gr(e,p),t&&t()},A=e=>(t,n)=>{const r=e?S:b,i=()=>z(t,e,n);hr(r,[t,i]),br((()=>{gr(t,e?s:a),mr(t,e?u:l),vr(r)||yr(t,o,f,i)}))};return k(t,{onBeforeEnter(e){hr(g,[e]),mr(e,a),mr(e,i)},onBeforeAppear(e){hr(_,[e]),mr(e,s),mr(e,c)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){const n=()=>E(e,t);mr(e,d),document.body.offsetHeight,mr(e,p),br((()=>{gr(e,d),mr(e,h),vr(y)||yr(e,o,m,n)})),hr(y,[e,n])},onEnterCancelled(e){z(e,!1),hr(w,[e])},onAppearCancelled(e){z(e,!0),hr(C,[e])},onLeaveCancelled(e){E(e),hr(x,[e])}})}(e),t);dr.displayName="Transition";const pr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},hr=(dr.props=k({},qt.props,pr),(e,t=[])=>{S(e)?e.forEach((e=>e(...t))):e&&e(...t)}),vr=e=>!!e&&(S(e)?e.some((e=>e.length>1)):e.length>1);function fr(e){return J(e)}function mr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function gr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function br(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let wr=0;function yr(e,t,n,o){const r=e._endId=++wr,a=()=>{r===e._endId&&o()};if(n)return setTimeout(a,n);const{type:i,timeout:l,propCount:s}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),a=o("transitionDuration"),i=kr(r,a),l=o("animationDelay"),s=o("animationDuration"),c=kr(l,s);let u=null,d=0,p=0;return t===cr?i>0&&(u=cr,d=i,p=a.length):t===ur?c>0&&(u=ur,d=c,p=s.length):(d=Math.max(i,c),u=d>0?i>c?cr:ur:null,p=u?u===cr?a.length:s.length:0),{type:u,timeout:d,propCount:p,hasTransform:u===cr&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}(e,t);if(!i)return o();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),a()},p=t=>{t.target===e&&++u>=s&&d()};setTimeout((()=>{u<s&&d()}),l+1),e.addEventListener(c,p)}function kr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>xr(t)+xr(e[n]))))}function xr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}new WeakMap,new WeakMap;const _r=e=>{const t=e.props["onUpdate:modelValue"];return S(t)?e=>W(t,e):t};function Sr(e){e.target.composing=!0}function Cr(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent("input",!0,!0),e.dispatchEvent(n)}(t))}const zr={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=_r(r);const a=o||r.props&&"number"===r.props.type;ir(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():a&&(o=J(o)),e._assign(o)})),n&&ir(e,"change",(()=>{e.value=e.value.trim()})),t||(ir(e,"compositionstart",Sr),ir(e,"compositionend",Cr),ir(e,"change",Cr))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},a){if(e._assign=_r(a),e.composing)return;if(document.activeElement===e){if(n)return;if(o&&e.value.trim()===t)return;if((r||"number"===e.type)&&J(e.value)===t)return}const i=null==t?"":t;e.value!==i&&(e.value=i)}},Er={deep:!0,created(e,t,n){e._assign=_r(n),ir(e,"change",(()=>{const t=e._modelValue,n=Ir(e),o=e.checked,r=e._assign;if(S(t)){const e=d(t,n),a=-1!==e;if(o&&!a)r(t.concat(n));else if(!o&&a){const n=[...t];n.splice(e,1),r(n)}}else if(z(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Or(e,o))}))},mounted:Ar,beforeUpdate(e,t,n){e._assign=_r(n),Ar(e,t,n)}};function Ar(e,{value:t,oldValue:n},o){e._modelValue=t,S(t)?e.checked=d(t,o.props.value)>-1:z(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=u(t,Or(e,!0)))}const Lr={created(e,{value:t},n){e.checked=u(t,n.props.value),e._assign=_r(n),ir(e,"change",(()=>{e._assign(Ir(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=_r(o),t!==n&&(e.checked=u(t,o.props.value))}},Tr={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=z(t);ir(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?J(Ir(e)):Ir(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=_r(o)},mounted(e,{value:t}){Rr(e,t)},beforeUpdate(e,t,n){e._assign=_r(n)},updated(e,{value:t}){Rr(e,t)}};function Rr(e,t){const n=e.multiple;if(!n||S(t)||z(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],a=Ir(r);if(n)S(t)?r.selected=d(t,a)>-1:r.selected=t.has(a);else if(u(Ir(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ir(e){return"_value"in e?e._value:e.value}function Or(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const jr={created(e,t,n){$r(e,t,n,null,"created")},mounted(e,t,n){$r(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){$r(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){$r(e,t,n,o,"updated")}};function $r(e,t,n,o,r){let a;switch(e.tagName){case"SELECT":a=Tr;break;case"TEXTAREA":a=zr;break;default:switch(n.props&&n.props.type){case"checkbox":a=Er;break;case"radio":a=Lr;break;default:a=zr}}const i=a[r];i&&i(e,t,n,o)}const Mr=k({patchProp:(e,n,o,a,i=!1,l,s,c,u)=>{"class"===n?function(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,a,i):"style"===n?function(e,t,n){const o=e.style,r=L(n);if(n&&!r){for(const e in n)Yo(o,e,n[e]);if(t&&!L(t))for(const e in t)null==n[e]&&Yo(o,e,"")}else{const a=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=a)}}(e,o,a):w(n)?y(n)||function(e,t,n,o,r=null){const a=e._vei||(e._vei={}),i=a[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(lr.test(e)){let n;for(t={};n=e.match(lr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[D(e.slice(2)),t]}(t);if(o){const i=a[t]=function(e,t){const n=e=>{const o=e.timeStamp||tr();(nr||o>=n.attached-1)&&wo(function(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=or||(rr.then(ar),or=tr()),n}(o,r);ir(e,n,i,l)}else i&&(function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),a[t]=void 0)}}(e,n,0,a,s):("."===n[0]?(n=n.slice(1),1):"^"===n[0]?(n=n.slice(1),0):function(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&sr.test(t)&&A(n)):"spellcheck"!==t&&"draggable"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!sr.test(t)||!L(n))&&t in e))))}(e,n,a,i))?function(e,t,n,o,a,i,l){if("innerHTML"===t||"textContent"===t)return o&&l(o,a,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const o=typeof e[t];if("boolean"===o)return void(e[t]=r(n));if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o){try{e[t]=0}catch(e){}return void e.removeAttribute(t)}}try{e[t]=n}catch(e){}}(e,n,a,l,s,c,u):("true-value"===n?e._trueValue=a:"false-value"===n&&(e._falseValue=a),function(e,n,o,a,i){if(a&&n.startsWith("xlink:"))null==o?e.removeAttributeNS(er,n.slice(6,n.length)):e.setAttributeNS(er,n,o);else{const a=t(n);null==o||a&&!r(o)?e.removeAttribute(n):e.setAttribute(n,a?"":o)}}(e,n,a,i))}},Ko);let Ur;const Pr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("object"==typeof e&&e.errno)throw new TypeError("Fetch ".concat(t," failed with ").concat(e.errno,": ").concat(e.errmsg));return e},Nr=e=>{try{e=decodeURI(e)}catch(e){}return e},Fr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/\/$/u,"")},Vr=e=>/^(https?:)?\/\//.test(e),Dr=["mp","identicon","monsterid","wavatar","robohash","retro",""],Br=["nick","mail","link"],qr=e=>e&&Dr.includes(e)?e:"mp",Hr=e=>e.filter((e=>Br.includes(e))),Wr="zh-CN",Zr=e=>new Promise(((t,n)=>{const o=new FileReader;o.readAsDataURL(e),o.onload=()=>{var e;return t((null===(e=o.result)||void 0===e?void 0:e.toString())||"")},o.onerror=n})),Jr=e=>!0===e?'<p class="vtex">Tex is not available in preview</p>':'<span class="vtex">Tex is not available in preview</span>',Kr=["nick","nickError","mail","mailError","link","optional","placeholder","sofa","submit","reply","cancelReply","comment","refresh","more","preview","emoji","uploadImage","seconds","minutes","hours","days","now","uploading","login","logout","admin","sticky","word","wordHint","anonymous"],Qr=e=>Object.fromEntries(e.map(((e,t)=>[Kr[t],e]))),Yr=Qr(["NickName","NickName cannot be less than 3 bytes.","E-Mail","Please confirm your email address.","Website","Optional","Comment here...","No comment yet.","Submit","Reply","Cancel reply","Comments","Refresh","Load More...","Preview","Emoji","Upload Image","seconds ago","minutes ago","hours ago","days ago","just now","Uploading","Login","logout","Admin","Sticky","Words","Please input comments between $0 and $1 words!\n Current word number: $2","Anonymous"]),Xr=Qr(["ニックネーム","3バイト以上のニックネームをご入力ください.","メールアドレス","メールアドレスをご確認ください.","サイト","オプション","ここにコメント","コメントしましょう~","提出する","返信する","キャンセル","コメント","更新","さらに読み込む","プレビュー","絵文字","画像をアップロード","秒前","分前","時間前","日前","たっだ今","アップロード","ログインする","ログアウト","管理者","トップに置く","ワード","コメントは $0 から $1 ワードの間でなければなりません!\n 現在の単語番号: $2","匿名"]),Gr=Qr(["昵称","昵称不能少于3个字符","邮箱","请填写正确的邮件地址","网址","可选","欢迎评论","来发评论吧~","提交","回复","取消回复","评论","刷新","加载更多...","预览","表情","上传图片","秒前","分钟前","小时前","天前","刚刚","正在上传","登录","退出","博主","置顶","字","评论字数应在 $0 到 $1 字之间!\n当前字数:$2","匿名"]),ea=Qr(["暱稱","郵箱","網址","可選","暱稱不能少於3個字元","請填寫正確的郵件地址","歡迎評論","來發評論吧~","提交","回覆","取消回覆","評論","刷新","載入更多...","預覽","表情","上傳圖片","秒前","分鐘前","小時前","天前","剛剛","正在上傳","登錄","退出","博主","置頂","字","評論字數應在 $0 到 $1 字之間!\n當前字數:$2","匿名"]),ta=Qr(["Apelido","Apelido não pode ser menor que 3 bytes.","E-Mail","Por favor, confirme seu endereço de e-mail.","Website","Opcional","Comente aqui...","Nenhum comentário, ainda.","Enviar","Responder","Cancelar resposta","Comentários","Refrescar","Carregar Mais...","Visualizar","Emoji","Enviar Imagem","segundos atrás","minutos atrás","horas atrás","dias atrás","agora mesmo","Enviando","Entrar","Sair","Admin","Sticky","Palavras","Favor enviar comentário com $0 a $1 palavras!\n Número de palavras atuais: $2","Anônimo"]),na={zh:Gr,"zh-cn":Gr,"zh-CN":Gr,"zh-tw":ea,"zh-TW":ea,en:Yr,"en-US":Yr,jp:Xr,"jp-jp":Xr,"jp-JP":Xr,"pt-br":ta,"pt-BR":ta},oa=e=>{let t={};const n=localStorage.getItem(e);if(n)try{t=JSON.parse(n)}catch(e){}return{get:e=>t[e]||null,set(n,o){try{t[n]=JSON.parse(JSON.stringify(o)),localStorage.setItem(e,JSON.stringify(t))}catch(e){}},update(n){t=JSON.parse(JSON.stringify(n)),localStorage.setItem(e,JSON.stringify(t))}}};let ra;const aa=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return"".concat(t,"/").concat(n).concat(e).concat(o?".".concat(o):"")};var ia=n(948),la=n.n(ia);const sa=e=>{const t=Fr(e);return Vr(t)?t:"https://".concat(t)},ca=(e,t)=>"function"==typeof e?e:!1!==e&&t,ua=e=>{let{el:t="#waline",serverURL:n,placeholder:o,langMode:r,emojiCDN:a,emojiMaps:i,requiredFields:l=[],anonymous:s,avatarCDN:c,avatar:u,avatarForce:d,previewMath:p,path:h=location.pathname,lang:v=Wr,locale:f=r,emoji:m=["https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/weibo"],meta:g=["nick","mail","link"],requiredMeta:b=l,pageSize:w=10,wordLimit:y,uploadImage:k,highlight:x,tex:_=p,copyright:S=!0,login:C=(!0===s?"disable":!1===s?"force":"enable"),...z}=e;const E=na[v]||na[Wr];o&&(E.placeholder=o);const A=a&&"object"==typeof i?Promise.resolve(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n={};for(const o in e)n[o]=/(?:https?:)?\/\//.test(e[o])?e[o]:"".concat(t).concat(e[o]);return{tabs:[{name:"Emoji",icon:Object.values(n).pop()||"",items:Object.keys(n)}],map:n}}(i,a)):(L=m,Promise.all(L.map((e=>"string"==typeof e?(e=>{ra||(ra=oa("WALINE_EMOJI"));const t=Boolean(/@[0-9]+\.[0-9]+\.[0-9]+/.test(e));if(t){const t=ra.get(e);if(t)return Promise.resolve(t)}return fetch("".concat(e,"/info.json")).then((e=>e.json())).then((n=>{const o={folder:e,...n};return t&&ra.set(e,o),o}))})(Fr(e)):Promise.resolve(e)))).then((e=>{const t={tabs:[],map:{}};return e.forEach((e=>{const{name:n,folder:o,icon:r,prefix:a,type:i,items:l}=e;t.tabs.push({name:n,icon:aa(r,o,a,i),items:l.map((e=>{const n="".concat(a||"").concat(e);return t.map[n]=aa(e,o,a,i),n}))})})),t})));var L;return{el:t,serverURL:sa(n),path:Nr(h),lang:v,locale:{...E,..."object"==typeof f?f:{}},emoji:A,wordLimit:Array.isArray(y)?y:!!y&&[0,y],meta:Hr(g),requiredMeta:Hr(b),pageSize:w,avatar:{cdn:c||"https://seccdn.libravatar.org/avatar/",param:"?d=".concat(qr(u)).concat(d?"&q=".concat(Math.random().toString(32).substring(2)):""),default:!u&&!c,hide:"hide"===u},uploadImage:ca(k,Zr),highlight:ca(x,la()),tex:ca(_,Jr),copyright:S,login:C,...z}},da=e=>e.type.includes("image"),pa=e=>{const t=Array.from(e).find(da);return!!t&&t.getAsFile()},ha="{--waline-white:#000;--waline-light-grey:#666;--waline-dark-grey:#999;--waline-text-color:#888;--waline-bgcolor:#1e1e1e;--waline-bgcolor-light:#272727;--waline-bgcolor-hover: #444;--waline-border-color:#333;--waline-disable-bgcolor:#444;--waline-disable-color:#272727;--waline-bq-color:#272727;--waline-info-bgcolor:#272727;--waline-info-color:#666}",va=(e,t)=>{if(!document.body.hasAttribute(t)){const n=document.createElement("style");n.appendChild(document.createTextNode(e)),document.head.appendChild(n),document.body.setAttribute(t,"")}},fa=()=>{va('\n/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n/* See https://github.com/fred-wang/mathml.css */\n\n@namespace "http://www.w3.org/1998/Math/MathML";\nbody[waline-math] .v math{display:inline;font-size:0;font-family:Cambria Math,Latin Modern Math;text-indent:0}body[waline-math] .v math>*{font-size:14px}body[waline-math] .v math[display=block]{display:block;font-size:0;text-align:center}body[waline-math] .v math[display=block]>*{font-size:16px}body[waline-math] .v mfrac{display:inline-block !important;vertical-align:-50%;border-collapse:collapse;text-align:center}body[waline-math] .v mfrac>*{display:block !important}body[waline-math] .v mfrac>*+*{display:inline-block !important;vertical-align:top}body[waline-math] .v mfrac:not([linethickness="0"])>*:first-child{border-bottom:solid thin}body[waline-math] .v msub>*:nth-child(2),body[waline-math] .v msubsup>*:nth-child(2),body[waline-math] .v mmultiscripts>*:nth-child(2n+2),body[waline-math] .v mmultiscripts>mprescripts~*:nth-child(2n+3){vertical-align:sub;font-size:.8em}body[waline-math] .v msup>*:nth-child(2),body[waline-math] .v msubsup>*:nth-child(3),body[waline-math] .v mmultiscripts>*:nth-child(2n+3),body[waline-math] .v mmultiscripts>mprescripts~*:nth-child(2n+2){vertical-align:super;font-size:.8em}body[waline-math] .v mprescripts::after{content:";"}body[waline-math] .v munder,body[waline-math] .v mover,body[waline-math] .v munderover{display:inline-flex !important;flex-direction:column}body[waline-math] .v munder>*:nth-child(2),body[waline-math] .v munderover>*:nth-child(2){order:1;font-size:.8em}body[waline-math] .v mover>*:nth-child(2),body[waline-math] .v munderover>*:nth-child(3){order:-1;font-size:.8em}body[waline-math] .v munder{vertical-align:text-top}body[waline-math] .v mover{vertical-align:text-bottom}body[waline-math] .v munderover{vertical-align:middle}body[waline-math] .v msqrt,body[waline-math] .v mroot{display:inline-flex !important;vertical-align:middle;margin-left:.5em;border-top:solid thin}body[waline-math] .v msqrt::before,body[waline-math] .v mroot::before{content:"√";margin-left:-0.5em}body[waline-math] .v mroot>*:nth-child(2){order:-1;margin-right:.25em;margin-left:-0.75em;font-size:.8em}body[waline-math] .v menclose{display:inline-table !important;border-spacing:.4ex 0;border-collapse:separate}body[waline-math] .v menclose[notation*=top],body[waline-math] .v menclose[notation*=actuarial]{border-top:solid thin}body[waline-math] .v menclose[notation*=bottom],body[waline-math] .v menclose[notation*=madruwb]{border-bottom:solid thin}body[waline-math] .v menclose[notation*=right],body[waline-math] .v menclose[notation*=actuarial],body[waline-math] .v menclose[notation*=madruwb]{border-right:solid thin}body[waline-math] .v menclose[notation*=left]{border-left:solid thin}body[waline-math] .v menclose[notation*=box],body[waline-math] .v menclose[notation*=roundedbox],body[waline-math] .v menclose[notation*=circle]{border:solid thin}body[waline-math] .v menclose[notation*=roundedbox]{border-radius:15%}body[waline-math] .v menclose[notation*=circle]{border-radius:50%}body[waline-math] .v menclose[notation*=horizontalstrike]{text-decoration:line-through}body[waline-math] .v mtable{display:inline-table !important;vertical-align:middle;text-align:center}body[waline-math] .v mtr{display:table-row !important}body[waline-math] .v mtd{display:table-cell !important;padding:0 .5ex}body[waline-math] .v mspace{margin:.2em}body[waline-math] .v mi{font-style:italic}body[waline-math] .v mo{margin-right:.2em;margin-left:.2em}body[waline-math] .v ms::before,body[waline-math] .v ms::after{content:\'"\'}body[waline-math] .v ms[lquote]::before{content:attr(lquote)}body[waline-math] .v ms[lquote]::after{content:attr(rquote)}body[waline-math] .v [mathvariant=bold],body[waline-math] .v [mathvariant=bold-italic],body[waline-math] .v [mathvariant=bold-sans-serif],body[waline-math] .v [mathvariant=sans-serif-bold-italic]{font-weight:bold;font-style:normal}body[waline-math] .v [mathvariant=monospace]{font-style:normal;font-family:monospace}body[waline-math] .v [mathvariant=sans-serif],body[waline-math] .v [mathvariant=bold-sans-serif],body[waline-math] .v [mathvariant=sans-serif-italic],body[waline-math] .v [mathvariant=sans-serif-bold-italic]{font-style:normal;font-family:sans-serif}body[waline-math] .v [mathvariant=italic],body[waline-math] .v [mathvariant=bold-italic],body[waline-math] .v [mathvariant=sans-serif-italic],body[waline-math] .v [mathvariant=sans-serif-bold-italic]{font-style:italic}body[waline-math] .v [mathvariant=normal]{font-style:normal}body[waline-math] .v mphantom{visibility:hidden}body[waline-math] .v merror{outline:solid thin red}body[waline-math] .v merror::before{content:"Error: "}body[waline-math] .v semantics>*:first-child{display:inline}body[waline-math] .v annotation,body[waline-math] .v annotation-xml{display:none !important;font-family:monospace}body[waline-math] .v math:active>semantics>*:first-child{display:none !important}body[waline-math] .v math:active annotation:first-of-type{display:inline !important}',"waline-math-style"),document.body.insertAdjacentHTML("afterbegin","<div style='border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;'><math xmlns='http://www.w3.org/1998/Math/MathML'><mspace height='23px' width='77px'></mspace></math></div>");const e=document.body.firstChild,t=e.firstChild.firstChild.getBoundingClientRect();document.body.removeChild(e),(Math.abs(t.height-23)>1||Math.abs(t.width-77)>1)&&document.body.setAttribute("waline-math","")},ma=e=>e instanceof HTMLElement?e:"string"==typeof e?document.querySelector(e):null;let ga={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const ba=/[&<>"']/,wa=/[&<>"']/g,ya=/[<>"']|&(?!#?\w+;)/,ka=/[<>"']|&(?!#?\w+;)/g,xa={"&":"&","<":"<",">":">",'"':""","'":"'"},_a=e=>xa[e];function Sa(e,t){if(t){if(ba.test(e))return e.replace(wa,_a)}else if(ya.test(e))return e.replace(ka,_a);return e}const Ca=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function za(e){return e.replace(Ca,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Ea=/(^|[^\[])\^/g;function Aa(e,t){e=e.source||e,t=t||"";const n={replace:(t,o)=>(o=(o=o.source||o).replace(Ea,"$1"),e=e.replace(t,o),n),getRegex:()=>new RegExp(e,t)};return n}const La=/[^\w:]/g,Ta=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Ra(e,t,n){if(e){let e;try{e=decodeURIComponent(za(n)).replace(La,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!Ta.test(n)&&(n=function(e,t){Ia[" "+e]||(Oa.test(e)?Ia[" "+e]=e+"/":Ia[" "+e]=Na(e,"/",!0));const n=-1===(e=Ia[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(ja,"$1")+t:"/"===t.charAt(0)?n?t:e.replace($a,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}const Ia={},Oa=/^[^:]+:\/*[^/]*$/,ja=/^([^:]+:)[\s\S]*$/,$a=/^([^:]+:\/*[^/]*)[\s\S]*$/,Ma={exec:function(){}};function Ua(e){let t,n,o=1;for(;o<arguments.length;o++)for(n in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function Pa(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let o=!1,r=t;for(;--r>=0&&"\\"===n[r];)o=!o;return o?"|":" |"})).split(/ \|/);let o=0;if(n[0].trim()||n.shift(),n[n.length-1].trim()||n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(/\\\|/g,"|");return n}function Na(e,t,n){const o=e.length;if(0===o)return"";let r=0;for(;r<o;){const a=e.charAt(o-r-1);if(a!==t||n){if(a===t||!n)break;r++}else r++}return e.substr(0,o-r)}function Fa(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Va(e,t){if(t<1)return"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function Da(e,t,n,o){const r=t.href,a=t.title?Sa(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){o.state.inLink=!0;const e={type:"link",raw:n,href:r,title:a,text:i,tokens:o.inlineTokens(i,[])};return o.state.inLink=!1,e}return{type:"image",raw:n,href:r,title:a,text:Sa(i)}}class Ba{constructor(e){this.options=e||ga}space(e){const t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Na(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const o=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=o.length?e.slice(o.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim():t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=Na(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}const n={type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(e,[]),text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,o,r,a,i,l,s,c,u,d,p,h=t[1].trim();const v=h.length>1,f={type:"list",raw:"",ordered:v,start:v?+h.slice(0,-1):"",loose:!1,items:[]};h=v?`\\d{1,9}\\${h.slice(-1)}`:`\\${h}`,this.options.pedantic&&(h=v?h:"[*+-]");const m=new RegExp(`^( {0,3}${h})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(t=m.exec(e))&&!this.rules.block.hr.test(e);){n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(a=2,p=c.trimLeft()):(a=t[2].search(/[^ ]/),a=a>4?1:a,p=c.slice(a),a+=t[1].length),l=!1,!c&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),f.loose=!0);const i=new RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&!f.loose&&(d=e.split("\n",1)[0],c=d,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!i.test(c));){if(c.search(/[^ ]/)>=a||!c.trim())p+="\n"+c.slice(a);else{if(l)break;p+="\n"+c}l||c.trim()||(l=!0),n+=d+"\n",e=e.substring(d.length+1)}f.loose||(s?f.loose=!0:/\n *\n *$/.test(n)&&(s=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(p),o&&(r="[ ] "!==o[0],p=p.replace(/^\[[ xX]\] +/,""))),f.items.push({type:"list_item",raw:n,task:!!o,checked:r,loose:!1,text:p}),f.raw+=n}f.items[f.items.length-1].raw=n.trimRight(),f.items[f.items.length-1].text=p.trimRight(),f.raw=f.raw.trimRight();const g=f.items.length;for(i=0;i<g;i++)this.lexer.state.top=!1,f.items[i].tokens=this.lexer.blockTokens(f.items[i].text,[]),!f.loose&&f.items[i].tokens.some((e=>"space"===e.type))&&(f.loose=!0,f.items[i].loose=!0);return f}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(e.type="paragraph",e.text=this.options.sanitizer?this.options.sanitizer(t[0]):Sa(t[0]),e.tokens=[],this.lexer.inline(e.text,e.tokens)),e}}def(e){const t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:Pa(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,o,r,a,i=e.align.length;for(n=0;n<i;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(i=e.rows.length,n=0;n<i;n++)e.rows[n]=Pa(e.rows[n],e.header.length).map((e=>({text:e})));for(i=e.header.length,o=0;o<i;o++)e.header[o].tokens=[],this.lexer.inlineTokens(e.header[o].text,e.header[o].tokens);for(i=e.rows.length,o=0;o<i;o++)for(a=e.rows[o],r=0;r<a.length;r++)a[r].tokens=[],this.lexer.inlineTokens(a[r].text,a[r].tokens);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t){const e={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}text(e){const t=this.rules.block.text.exec(e);if(t){const e={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Sa(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Sa(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=Na(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let o=0,r=0;for(;r<n;r++)if("\\"===e[r])r++;else if(e[r]===t[0])o++;else if(e[r]===t[1]&&(o--,o<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],o="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],o=e[3])}else o=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),Da(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:o?o.replace(this.rules.inline._escapes,"$1"):o},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Da(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let o=this.rules.inline.emStrong.lDelim.exec(e);if(!o)return;if(o[3]&&n.match(/[\p{L}\p{N}]/u))return;const r=o[1]||o[2]||"";if(!r||r&&(""===n||this.rules.inline.punctuation.exec(n))){const n=o[0].length-1;let r,a,i=n,l=0;const s="*"===o[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(s.lastIndex=0,t=t.slice(-1*e.length+n);null!=(o=s.exec(t));){if(r=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!r)continue;if(a=r.length,o[3]||o[4]){i+=a;continue}if((o[5]||o[6])&&n%3&&!((n+a)%3)){l+=a;continue}if(i-=a,i>0)continue;if(a=Math.min(a,a+i+l),Math.min(n,a)%2){const t=e.slice(1,n+o.index+a);return{type:"em",raw:e.slice(0,n+o.index+a+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}const t=e.slice(2,n+o.index+a-1);return{type:"strong",raw:e.slice(0,n+o.index+a+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),o=/^ /.test(e)&&/ $/.test(e);return n&&o&&(e=e.substring(1,e.length-1)),e=Sa(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,o;return"@"===n[2]?(e=Sa(this.options.mangle?t(n[1]):n[1]),o="mailto:"+e):(e=Sa(n[1]),o=e),{type:"link",raw:n[0],text:e,href:o,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,o;if("@"===n[2])e=Sa(this.options.mangle?t(n[0]):n[0]),o="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=Sa(n[0]),o="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:o,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):Sa(n[0]):n[0]:Sa(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:e}}}}const qa={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:Ma,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};qa.def=Aa(qa.def).replace("label",qa._label).replace("title",qa._title).getRegex(),qa.bullet=/(?:[*+-]|\d{1,9}[.)])/,qa.listItemStart=Aa(/^( *)(bull) */).replace("bull",qa.bullet).getRegex(),qa.list=Aa(qa.list).replace(/bull/g,qa.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+qa.def.source+")").getRegex(),qa._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",qa._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,qa.html=Aa(qa.html,"i").replace("comment",qa._comment).replace("tag",qa._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qa.paragraph=Aa(qa._paragraph).replace("hr",qa.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qa._tag).getRegex(),qa.blockquote=Aa(qa.blockquote).replace("paragraph",qa.paragraph).getRegex(),qa.normal=Ua({},qa),qa.gfm=Ua({},qa.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),qa.gfm.table=Aa(qa.gfm.table).replace("hr",qa.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qa._tag).getRegex(),qa.gfm.paragraph=Aa(qa._paragraph).replace("hr",qa.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",qa.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qa._tag).getRegex(),qa.pedantic=Ua({},qa.normal,{html:Aa("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",qa._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ma,paragraph:Aa(qa.normal._paragraph).replace("hr",qa.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",qa.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const Ha={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ma,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ma,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function Wa(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function Za(e){let t,n,o="";const r=e.length;for(t=0;t<r;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),o+="&#"+n+";";return o}Ha._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ha.punctuation=Aa(Ha.punctuation).replace(/punctuation/g,Ha._punctuation).getRegex(),Ha.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Ha.escapedEmSt=/\\\*|\\_/g,Ha._comment=Aa(qa._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Ha.emStrong.lDelim=Aa(Ha.emStrong.lDelim).replace(/punct/g,Ha._punctuation).getRegex(),Ha.emStrong.rDelimAst=Aa(Ha.emStrong.rDelimAst,"g").replace(/punct/g,Ha._punctuation).getRegex(),Ha.emStrong.rDelimUnd=Aa(Ha.emStrong.rDelimUnd,"g").replace(/punct/g,Ha._punctuation).getRegex(),Ha._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ha._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ha._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Ha.autolink=Aa(Ha.autolink).replace("scheme",Ha._scheme).replace("email",Ha._email).getRegex(),Ha._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ha.tag=Aa(Ha.tag).replace("comment",Ha._comment).replace("attribute",Ha._attribute).getRegex(),Ha._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ha._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Ha._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ha.link=Aa(Ha.link).replace("label",Ha._label).replace("href",Ha._href).replace("title",Ha._title).getRegex(),Ha.reflink=Aa(Ha.reflink).replace("label",Ha._label).getRegex(),Ha.reflinkSearch=Aa(Ha.reflinkSearch,"g").replace("reflink",Ha.reflink).replace("nolink",Ha.nolink).getRegex(),Ha.normal=Ua({},Ha),Ha.pedantic=Ua({},Ha.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Aa(/^!?\[(label)\]\((.*?)\)/).replace("label",Ha._label).getRegex(),reflink:Aa(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ha._label).getRegex()}),Ha.gfm=Ua({},Ha.normal,{escape:Aa(Ha.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Ha.gfm.url=Aa(Ha.gfm.url,"i").replace("email",Ha.gfm._extended_email).getRegex(),Ha.breaks=Ua({},Ha.gfm,{br:Aa(Ha.br).replace("{2,}","*").getRegex(),text:Aa(Ha.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});class Ja{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ga,this.options.tokenizer=this.options.tokenizer||new Ba,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:qa.normal,inline:Ha.normal};this.options.pedantic?(t.block=qa.pedantic,t.inline=Ha.pedantic):this.options.gfm&&(t.block=qa.gfm,this.options.breaks?t.inline=Ha.breaks:t.inline=Ha.gfm),this.tokenizer.rules=t}static get rules(){return{block:qa,inline:Ha}}static lex(e,t){return new Ja(t).lex(e)}static lexInline(e,t){return new Ja(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let n,o,r,a;for(this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((o=>!!(n=o.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),o=t[t.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?t.push(n):(o.raw+="\n"+n.raw,o.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),o=t[t.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(o.raw+="\n"+n.raw,o.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(r=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startBlock.forEach((function(e){o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(r)))o=t[t.length-1],a&&"paragraph"===o.type?(o.raw+="\n"+n.raw,o.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):t.push(n),a=r.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),o=t[t.length-1],o&&"text"===o.type?(o.raw+="\n"+n.raw,o.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t){this.inlineQueue.push({src:e,tokens:t})}inlineTokens(e,t=[]){let n,o,r,a,i,l,s=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+Va("a",a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s));)s=s.slice(0,a.index)+"["+Va("a",a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.escapedEmSt.exec(s));)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(i||(l=""),i=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((o=>!!(n=o.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),o=t[t.length-1],o&&"text"===n.type&&"text"===o.type?(o.raw+=n.raw,o.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),o=t[t.length-1],o&&"text"===n.type&&"text"===o.type?(o.raw+=n.raw,o.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,s,l))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,Za))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,Za))){if(r=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startInline.forEach((function(e){o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(r,Wa))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(l=n.raw.slice(-1)),i=!0,o=t[t.length-1],o&&"text"===o.type?(o.raw+=n.raw,o.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class Ka{constructor(e){this.options=e||ga}code(e,t,n){const o=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,o);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",o?'<pre><code class="'+this.options.langPrefix+Sa(o,!0)+'">'+(n?e:Sa(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Sa(e,!0))+"</code></pre>\n"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,o){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+o.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const o=t?"ol":"ul";return"<"+o+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+o+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=Ra(this.options.sanitize,this.options.baseUrl,e)))return n;let o='<a href="'+Sa(e)+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>",o}image(e,t,n){if(null===(e=Ra(this.options.sanitize,this.options.baseUrl,e)))return n;let o='<img src="'+e+'" alt="'+n+'"';return t&&(o+=' title="'+t+'"'),o+=this.options.xhtml?"/>":">",o}text(e){return e}}class Qa{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class Ya{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,o=0;if(this.seen.hasOwnProperty(n)){o=this.seen[e];do{o++,n=e+"-"+o}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=o,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class Xa{constructor(e){this.options=e||ga,this.options.renderer=this.options.renderer||new Ka,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Qa,this.slugger=new Ya}static parse(e,t){return new Xa(t).parse(e)}static parseInline(e,t){return new Xa(t).parseInline(e)}parse(e,t=!0){let n,o,r,a,i,l,s,c,u,d,p,h,v,f,m,g,b,w,y,k="";const x=e.length;for(n=0;n<x;n++)if(d=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(y=this.options.extensions.renderers[d.type].call({parser:this},d),!1!==y||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type)))k+=y||"";else switch(d.type){case"space":continue;case"hr":k+=this.renderer.hr();continue;case"heading":k+=this.renderer.heading(this.parseInline(d.tokens),d.depth,za(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":k+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(c="",s="",a=d.header.length,o=0;o<a;o++)s+=this.renderer.tablecell(this.parseInline(d.header[o].tokens),{header:!0,align:d.align[o]});for(c+=this.renderer.tablerow(s),u="",a=d.rows.length,o=0;o<a;o++){for(l=d.rows[o],s="",i=l.length,r=0;r<i;r++)s+=this.renderer.tablecell(this.parseInline(l[r].tokens),{header:!1,align:d.align[r]});u+=this.renderer.tablerow(s)}k+=this.renderer.table(c,u);continue;case"blockquote":u=this.parse(d.tokens),k+=this.renderer.blockquote(u);continue;case"list":for(p=d.ordered,h=d.start,v=d.loose,a=d.items.length,u="",o=0;o<a;o++)m=d.items[o],g=m.checked,b=m.task,f="",m.task&&(w=this.renderer.checkbox(g),v?m.tokens.length>0&&"paragraph"===m.tokens[0].type?(m.tokens[0].text=w+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=w+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:w}):f+=w),f+=this.parse(m.tokens,v),u+=this.renderer.listitem(f,b,g);k+=this.renderer.list(u,p,h);continue;case"html":k+=this.renderer.html(d.text);continue;case"paragraph":k+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(u=d.tokens?this.parseInline(d.tokens):d.text;n+1<x&&"text"===e[n+1].type;)d=e[++n],u+="\n"+(d.tokens?this.parseInline(d.tokens):d.text);k+=t?this.renderer.paragraph(u):u;continue;default:{const e='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return k}parseInline(e,t){t=t||this.renderer;let n,o,r,a="";const i=e.length;for(n=0;n<i;n++)if(o=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]&&(r=this.options.extensions.renderers[o.type].call({parser:this},o),!1!==r||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)))a+=r||"";else switch(o.type){case"escape":case"text":a+=t.text(o.text);break;case"html":a+=t.html(o.text);break;case"link":a+=t.link(o.href,o.title,this.parseInline(o.tokens,t));break;case"image":a+=t.image(o.href,o.title,o.text);break;case"strong":a+=t.strong(this.parseInline(o.tokens,t));break;case"em":a+=t.em(this.parseInline(o.tokens,t));break;case"codespan":a+=t.codespan(o.text);break;case"br":a+=t.br();break;case"del":a+=t.del(this.parseInline(o.tokens,t));break;default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return a}}function Ga(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),Fa(t=Ua({},Ga.defaults,t||{})),n){const o=t.highlight;let r;try{r=Ja.lex(e,t)}catch(e){return n(e)}const a=function(e){let a;if(!e)try{t.walkTokens&&Ga.walkTokens(r,t.walkTokens),a=Xa.parse(r,t)}catch(t){e=t}return t.highlight=o,e?n(e):n(null,a)};if(!o||o.length<3)return a();if(delete t.highlight,!r.length)return a();let i=0;return Ga.walkTokens(r,(function(e){"code"===e.type&&(i++,setTimeout((()=>{o(e.text,e.lang,(function(t,n){if(t)return a(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),i--,0===i&&a()}))}),0))})),void(0===i&&a())}try{const n=Ja.lex(e,t);return t.walkTokens&&Ga.walkTokens(n,t.walkTokens),Xa.parse(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+Sa(e.message+"",!0)+"</pre>";throw e}}Ga.options=Ga.setOptions=function(e){var t;return Ua(Ga.defaults,e),t=Ga.defaults,ga=t,Ga},Ga.getDefaults=function(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},Ga.defaults=ga,Ga.use=function(...e){const t=Ua({},...e),n=Ga.defaults.extensions||{renderers:{},childTokens:{}};let o;e.forEach((e=>{if(e.extensions&&(o=!0,e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const t=n.renderers?n.renderers[e.name]:null;n.renderers[e.name]=t?function(...n){let o=e.renderer.apply(this,n);return!1===o&&(o=t.apply(this,n)),o}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");n[e.level]?n[e.level].unshift(e.tokenizer):n[e.level]=[e.tokenizer],e.start&&("block"===e.level?n.startBlock?n.startBlock.push(e.start):n.startBlock=[e.start]:"inline"===e.level&&(n.startInline?n.startInline.push(e.start):n.startInline=[e.start]))}e.childTokens&&(n.childTokens[e.name]=e.childTokens)}))),e.renderer){const n=Ga.defaults.renderer||new Ka;for(const t in e.renderer){const o=n[t];n[t]=(...r)=>{let a=e.renderer[t].apply(n,r);return!1===a&&(a=o.apply(n,r)),a}}t.renderer=n}if(e.tokenizer){const n=Ga.defaults.tokenizer||new Ba;for(const t in e.tokenizer){const o=n[t];n[t]=(...r)=>{let a=e.tokenizer[t].apply(n,r);return!1===a&&(a=o.apply(n,r)),a}}t.tokenizer=n}if(e.walkTokens){const n=Ga.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens.call(this,t),n&&n.call(this,t)}}o&&(t.extensions=n),Ga.setOptions(t)}))},Ga.walkTokens=function(e,t){for(const n of e)switch(t.call(Ga,n),n.type){case"table":for(const e of n.header)Ga.walkTokens(e.tokens,t);for(const e of n.rows)for(const n of e)Ga.walkTokens(n.tokens,t);break;case"list":Ga.walkTokens(n.items,t);break;default:Ga.defaults.extensions&&Ga.defaults.extensions.childTokens&&Ga.defaults.extensions.childTokens[n.type]?Ga.defaults.extensions.childTokens[n.type].forEach((function(e){Ga.walkTokens(n[e],t)})):n.tokens&&Ga.walkTokens(n.tokens,t)}},Ga.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");Fa(t=Ua({},Ga.defaults,t||{}));try{const n=Ja.lexInline(e,t);return t.walkTokens&&Ga.walkTokens(n,t.walkTokens),Xa.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+Sa(e.message+"",!0)+"</pre>";throw e}},Ga.Parser=Xa,Ga.parser=Xa.parse,Ga.Renderer=Ka,Ga.TextRenderer=Qa,Ga.Lexer=Ja,Ga.lexer=Ja.lex,Ga.Tokenizer=Ba,Ga.Slugger=Ya,Ga.parse=Ga,Ga.options,Ga.setOptions,Ga.use,Ga.walkTokens,Ga.parseInline,Xa.parse,Ja.lex;const ei=/\$.*?\$/,ti=/^\$(.*?)\$/,ni=/^(?:\s{0,3})\$\$((?:[^\n]|\n[^\n])+?)\n{0,1}\$\$/,oi=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.replace(/:(.+?):/g,((e,n)=>t[n]?'<img class="vemoji" src="'.concat(t[n],'" alt="').concat(n,'">'):e))},ri=(e,t)=>{let n=e.toString();for(;n.length<t;)n="0"+n;return n},ai=(e,t)=>{if(e)try{"string"==typeof e&&(e=new Date(-1!==e.indexOf(" ")?e.replace(/-/g,"/"):e));const n=e.getTime(),o=(new Date).getTime()-n,r=Math.floor(o/864e5);if(0===r){const e=o%864e5,n=Math.floor(e/36e5);if(0===n){const n=e%36e5,o=Math.floor(n/6e4);if(0===o){const e=n%6e4,o=Math.round(e/1e3);return"".concat(o," ").concat(t.seconds)}return"".concat(o," ").concat(t.minutes)}return"".concat(n," ").concat(t.hours)}return r<0?t.now:r<8?"".concat(r," ").concat(t.days):(e=>{const t=ri(e.getDate(),2),n=ri(e.getMonth()+1,2),o=ri(e.getFullYear(),2);return"".concat(o,"-").concat(n,"-").concat(t)})(e)}catch(e){console.log(e)}return""},ii=(e,t)=>{t.forEach(((t,n)=>{(t.querySelector(".leancloud-visitors-count")||t).innerText=e[n].toString()}))};let li,si;const ci=()=>(si||(li=oa("WALINE_USER_CACHE"),si=rt({nick:li.get("nick")||"",mail:li.get("mail")||"",link:li.get("link")||"",editor:""})),{inputs:si,store:li}),ui="WALINE_USER",di=gt({}),pi=()=>{if(!di.value.token)try{di.value=JSON.parse(localStorage.getItem(ui)||"")||JSON.parse(sessionStorage.getItem(ui)||"")||{}}catch(e){}return{userInfo:at(di),setUserInfo:e=>{di.value=e}}},hi={class:"v","data-class":"v"},vi={class:"vcount"},fi=["textContent"],mi={class:"vcards"},gi={key:1,class:"vloading"},bi=["textContent"],wi={key:2,class:"vloading"},yi=["textContent"],ki={key:4,class:"vmore"},xi=["textContent"],_i={key:5,class:"vpower"},Si=Yn(" Powered by "),Ci=Jn("a",{href:"https://github.com/walinejs/waline",target:"_blank",rel:"noreferrer"}," Waline ",-1),zi={class:"vcomment"},Ei={key:0,class:"vlogin-info"},Ai={class:"vavatar"},Li=["title"],Ti=["src"],Ri=["textContent"],Ii={class:"vpanel"},Oi=["for","textContent"],ji=["id","name","type","onUpdate:modelValue"],$i=["placeholder"],Mi=["innerHTML"],Ui={class:"vfooter"},Pi={class:"vactions"},Ni={href:"https://guides.github.com/features/mastering-markdown/",title:"Markdown Guide","aria-label":"Markdown is supported",class:"vaction",target:"_blank",rel:"noreferrer"},Fi=["title"],Vi=["title"],Di=["title"],Bi={class:"vinfo"},qi={class:"vtext-number"},Hi={key:0},Wi=Yn(" / "),Zi=["textContent"],Ji=["textContent"],Ki=["disabled"],Qi={key:0,class:"vtab-wrapper"},Yi=["title","onClick"],Xi=["src","alt"],Gi={key:0,class:"vtabs"},el=["onClick"],tl=["src","alt","title"],nl=["title"];var ol,rl,al="function"==typeof Map?new Map:(ol=[],rl=[],{has:function(e){return ol.indexOf(e)>-1},get:function(e){return rl[ol.indexOf(e)]},set:function(e,t){-1===ol.indexOf(e)&&(ol.push(e),rl.push(t))},delete:function(e){var t=ol.indexOf(e);t>-1&&(ol.splice(t,1),rl.splice(t,1))}}),il=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(ol){il=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function ll(e){var t=al.get(e);t&&t.destroy()}function sl(e){var t=al.get(e);t&&t.update()}var cl=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((cl=function(e){return e}).destroy=function(e){return e},cl.update=function(e){return e}):((cl=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!al.has(e)){var t,n=null,o=null,r=null,a=function(){e.clientWidth!==o&&c()},i=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",c,!1),e.removeEventListener("keyup",c,!1),e.removeEventListener("autosize:destroy",i,!1),e.removeEventListener("autosize:update",c,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),al.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",i,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",c,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",c,!1),e.addEventListener("autosize:update",c,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",al.set(e,{destroy:i,update:c}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),c()}function l(t){var n=e.style.width;e.style.width="0px",e.style.width=n,e.style.overflowY=t}function s(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",o=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function c(){s();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o<t?"hidden"===n.overflowY&&(l("scroll"),s(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),s(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==o){r=o;var a=il("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],ll),e},cl.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],sl),e});const ul=cl,dl=e=>{let{size:t}=e;return Ho("svg",{width:t,height:t,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},Ho("circle",{cx:50,cy:50,fill:"none",stroke:"currentColor",strokeWidth:"4",r:"40","stroke-dasharray":"85 30"},Ho("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1s",values:"0 50 50;360 50 50",keyTimes:"0;1"})))},pl=Yt({name:"CommentBox",components:{CloseIcon:e=>{let{size:t}=e;return Ho("svg",{class:"vclose-icon",viewBox:"0 0 1024 1024",width:t,height:t},[Ho("path",{d:"M697.173 85.333h-369.92c-144.64 0-241.92 101.547-241.92 252.587v348.587c0 150.613 97.28 252.16 241.92 252.16h369.92c144.64 0 241.494-101.547 241.494-252.16V337.92c0-151.04-96.854-252.587-241.494-252.587z",fill:"currentColor"}),Ho("path",{d:"m640.683 587.52-75.947-75.861 75.904-75.862a37.29 37.29 0 0 0 0-52.778 37.205 37.205 0 0 0-52.779 0l-75.946 75.818-75.862-75.946a37.419 37.419 0 0 0-52.821 0 37.419 37.419 0 0 0 0 52.821l75.947 75.947-75.776 75.733a37.29 37.29 0 1 0 52.778 52.821l75.776-75.776 75.947 75.947a37.376 37.376 0 0 0 52.779-52.821z",fill:"#888"})])},EmojiIcon:()=>Ho("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},Ho("path",{d:"M563.2 463.3 677 540c1.7 1.2 3.7 1.8 5.8 1.8.7 0 1.4-.1 2-.2 2.7-.5 5.1-2.1 6.6-4.4l25.3-37.8c1.5-2.3 2.1-5.1 1.6-7.8s-2.1-5.1-4.4-6.6l-73.6-49.1 73.6-49.1c2.3-1.5 3.9-3.9 4.4-6.6.5-2.7 0-5.5-1.6-7.8l-25.3-37.8a10.1 10.1 0 0 0-6.6-4.4c-.7-.1-1.3-.2-2-.2-2.1 0-4.1.6-5.8 1.8l-113.8 76.6c-9.2 6.2-14.7 16.4-14.7 27.5.1 11 5.5 21.3 14.7 27.4zM387 348.8h-45.5c-5.7 0-10.4 4.7-10.4 10.4v153.3c0 5.7 4.7 10.4 10.4 10.4H387c5.7 0 10.4-4.7 10.4-10.4V359.2c0-5.7-4.7-10.4-10.4-10.4zm333.8 241.3-41-20a10.3 10.3 0 0 0-8.1-.5c-2.6.9-4.8 2.9-5.9 5.4-30.1 64.9-93.1 109.1-164.4 115.2-5.7.5-9.9 5.5-9.5 11.2l3.9 45.5c.5 5.3 5 9.5 10.3 9.5h.9c94.8-8 178.5-66.5 218.6-152.7 2.4-5 .3-11.2-4.8-13.6zm186-186.1c-11.9-42-30.5-81.4-55.2-117.1-24.1-34.9-53.5-65.6-87.5-91.2-33.9-25.6-71.5-45.5-111.6-59.2-41.2-14-84.1-21.1-127.8-21.1h-1.2c-75.4 0-148.8 21.4-212.5 61.7-63.7 40.3-114.3 97.6-146.5 165.8-32.2 68.1-44.3 143.6-35.1 218.4 9.3 74.8 39.4 145 87.3 203.3.1.2.3.3.4.5l36.2 38.4c1.1 1.2 2.5 2.1 3.9 2.6 73.3 66.7 168.2 103.5 267.5 103.5 73.3 0 145.2-20.3 207.7-58.7 37.3-22.9 70.3-51.5 98.1-85 27.1-32.7 48.7-69.5 64.2-109.1 15.5-39.7 24.4-81.3 26.6-123.8 2.4-43.6-2.5-87-14.5-129zm-60.5 181.1c-8.3 37-22.8 72-43 104-19.7 31.1-44.3 58.6-73.1 81.7-28.8 23.1-61 41-95.7 53.4-35.6 12.7-72.9 19.1-110.9 19.1-82.6 0-161.7-30.6-222.8-86.2l-34.1-35.8c-23.9-29.3-42.4-62.2-55.1-97.7-12.4-34.7-18.8-71-19.2-107.9-.4-36.9 5.4-73.3 17.1-108.2 12-35.8 30-69.2 53.4-99.1 31.7-40.4 71.1-72 117.2-94.1 44.5-21.3 94-32.6 143.4-32.6 49.3 0 97 10.8 141.8 32 34.3 16.3 65.3 38.1 92 64.8 26.1 26 47.5 56 63.6 89.2 16.2 33.2 26.6 68.5 31 105.1 4.6 37.5 2.7 75.3-5.6 112.3z",fill:"currentColor"})),ImageIcon:()=>Ho("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[Ho("path",{d:"M784 112H240c-88 0-160 72-160 160v480c0 88 72 160 160 160h544c88 0 160-72 160-160V272c0-88-72-160-160-160zm96 640c0 52.8-43.2 96-96 96H240c-52.8 0-96-43.2-96-96V272c0-52.8 43.2-96 96-96h544c52.8 0 96 43.2 96 96v480z",fill:"currentColor"}),Ho("path",{d:"M352 480c52.8 0 96-43.2 96-96s-43.2-96-96-96-96 43.2-96 96 43.2 96 96 96zm0-128c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32zm462.4 379.2-3.2-3.2-177.6-177.6c-25.6-25.6-65.6-25.6-91.2 0l-80 80-36.8-36.8c-25.6-25.6-65.6-25.6-91.2 0L200 728c-4.8 6.4-8 14.4-8 24 0 17.6 14.4 32 32 32 9.6 0 16-3.2 22.4-9.6L380.8 640l134.4 134.4c6.4 6.4 14.4 9.6 24 9.6 17.6 0 32-14.4 32-32 0-9.6-4.8-17.6-9.6-24l-52.8-52.8 80-80L769.6 776c6.4 4.8 12.8 8 20.8 8 17.6 0 32-14.4 32-32 0-8-3.2-16-8-20.8z",fill:"currentColor"})]),MarkdownIcon:()=>Ho("svg",{width:"16",height:"16",ariaHidden:"true"},Ho("path",{d:"M14.85 3H1.15C.52 3 0 3.52 0 4.15v7.69C0 12.48.52 13 1.15 13h13.69c.64 0 1.15-.52 1.15-1.15v-7.7C16 3.52 15.48 3 14.85 3zM9 11H7V8L5.5 9.92 4 8v3H2V5h2l1.5 2L7 5h2v6zm2.99.5L9.5 8H11V5h2v3h1.5l-2.51 3.5z",fill:"currentColor"})),PreviewIcon:()=>Ho("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[Ho("path",{d:"M710.816 654.301c70.323-96.639 61.084-230.578-23.705-314.843-46.098-46.098-107.183-71.109-172.28-71.109-65.008 0-126.092 25.444-172.28 71.109-45.227 46.098-70.756 107.183-70.756 172.106 0 64.923 25.444 126.007 71.194 172.106 46.099 46.098 107.184 71.109 172.28 71.109 51.414 0 100.648-16.212 142.824-47.404l126.53 126.006c7.058 7.06 16.297 10.979 26.406 10.979 10.105 0 19.343-3.919 26.402-10.979 14.467-14.467 14.467-38.172 0-52.723L710.816 654.301zm-315.107-23.265c-65.88-65.88-65.88-172.54 0-238.42 32.069-32.07 74.245-49.149 119.471-49.149 45.227 0 87.407 17.603 119.472 49.149 65.88 65.879 65.88 172.539 0 238.42-63.612 63.178-175.242 63.178-238.943 0zm0 0",fill:"currentColor"}),Ho("path",{d:"M703.319 121.603H321.03c-109.8 0-199.469 89.146-199.469 199.38v382.034c0 109.796 89.236 199.38 199.469 199.38h207.397c20.653 0 37.384-16.645 37.384-37.299 0-20.649-16.731-37.296-37.384-37.296H321.03c-68.582 0-124.352-55.77-124.352-124.267V321.421c0-68.496 55.77-124.267 124.352-124.267h382.289c68.582 0 124.352 55.771 124.352 124.267V524.72c0 20.654 16.736 37.299 37.385 37.299 20.654 0 37.384-16.645 37.384-37.299V320.549c-.085-109.8-89.321-198.946-199.121-198.946zm0 0",fill:"currentColor"})]),LoadingIcon:dl},props:{rootId:{type:String,default:""},replyId:{type:String,default:""},replyUser:{type:String,default:""}},emits:["submit","cancel-reply"],setup(e,t){let{emit:n}=t;const o=Dt("config"),{inputs:r,store:a}=ci(),{userInfo:i,setUserInfo:l}=pi(),s=gt({}),c=gt(null),u=gt(null),d=gt(null),p=gt(null),h=gt({tabs:[],map:{}}),v=gt(0),f=gt(!1),m=gt(!1),g=gt(""),b=gt(0),w=gt(0),y=gt(!1),k=gt(""),x=gt(!1),_=xt((()=>o.value.locale)),S=xt((()=>{var e;return Boolean(null===(e=i.value)||void 0===e?void 0:e.token)})),C=xt((()=>!1!==o.value.uploadImage)),z=e=>{const t=c.value,n=t.selectionStart,o=t.selectionEnd||0,a=t.scrollTop;r.editor=t.value.substring(0,n)+e+t.value.substring(o,t.value.length),t.focus(),t.selectionStart=n+e.length,t.selectionEnd=n+e.length,t.scrollTop=a},E=e=>{const t="![".concat(o.value.locale.uploading," ").concat(e.name,"]()");return z(t),Promise.resolve().then((()=>o.value.uploadImage(e))).then((n=>{r.editor=r.editor.replace(t,"\r\n.concat(n,")"))}))},A=()=>{var t,l;const{serverURL:u,lang:d,login:p,wordLimit:v,requiredMeta:f}=o.value,m={comment:k.value,nick:r.nick,mail:r.mail,link:r.link,ua:navigator.userAgent,url:o.value.path};if(null!==(t=i.value)&&void 0!==t&&t.token)m.nick=i.value.display_name,m.mail=i.value.email,m.link=i.value.url;else{if("force"===p)return;var w,S,C;if((f.indexOf("nick")>-1||m.nick)&&!m.nick)return null===(w=s.value.nick)||void 0===w||w.focus(),alert(_.value.nickError);if(f.indexOf("mail")>-1&&!m.mail)return null===(S=s.value.mail)||void 0===S||S.focus(),alert(_.value.mailError);if(!m.comment)return void(null===(C=c.value)||void 0===C||C.focus());m.nick||(m.nick=_.value.anonymous)}if(!y.value)return alert(_.value.wordHint.replace("$0",v[0].toString()).replace("$1",v[1].toString()).replace("$2",b.value.toString()));m.comment=oi(m.comment,h.value.map),e.replyId&&e.rootId&&(m.pid=e.replyId,m.rid=e.rootId,m.at=e.replyUser),x.value=!0,(e=>{let{serverURL:t,lang:n,token:o,comment:r}=e;const a={"Content-Type":"application/json"};return o&&(a.Authorization="Bearer ".concat(o)),fetch("".concat(t,"/comment?lang=").concat(n),{method:"POST",headers:a,body:JSON.stringify(r)}).then((e=>e.json()))})({serverURL:u,lang:d,token:null===(l=i.value)||void 0===l?void 0:l.token,comment:m}).then((t=>{if(x.value=!1,a.update({nick:m.nick,link:m.link,mail:m.mail}),t.errmsg)return alert(t.errmsg);n("submit",t.data),r.editor="",g.value="",e.replyId&&n("cancel-reply")})).catch((e=>{x.value=!1,alert(e.message)}))},L=e=>{d.value.contains(e.target)||p.value.contains(e.target)||(f.value=!1)};return Bo((()=>r.editor),(e=>{const{highlight:t,tex:n}=o.value;k.value=e,g.value=((e,t,n,o)=>{if(Ga.setOptions({highlight:t||void 0,breaks:!0,smartLists:!0,smartypants:!0}),o){const e=(e=>{const t={name:"blockMath",level:"block",tokenizer(t){const n=ni.exec(t);if(null!==n)return{type:"html",raw:n[0],text:e(!0,n[1])}}},n={name:"inlineMath",level:"inline",start(e){const t=e.search(ei);return-1!==t?t:e.length},tokenizer(t){const n=ti.exec(t);if(null!==n)return{type:"html",raw:n[0],text:e(!1,n[1])}}};return[t,n]})(o);Ga.use({extensions:e})}return Ga.parse(oi(e,n))})(e,t,h.value.map,n),b.value=(e=>(e=>e.match(/[\w\d\s\u00C0-\u024F]+/giu)||[])(e).reduce(((e,t)=>e+(""===t.trim()?0:t.trim().split(/\s+/u).length)),0)+(e=>e.match(/[\u4E00-\u9FA5]/gu)||[])(e).length)(e),c.value&&(e?ul(c.value):ul.destroy(c.value))}),{immediate:!0}),Bo((()=>o.value.emoji),(e=>e.then((e=>{h.value=e}))),{immediate:!0}),Bo([o,b],(e=>{let[t,n]=e;const{wordLimit:o}=t;o?n<o[0]&&0!==o[0]?(w.value=o[0],y.value=!1):n>o[1]?(w.value=o[1],y.value=!1):(w.value=o[1],y.value=!0):(w.value=0,y.value=!0)}),{immediate:!0}),tn((()=>{document.body.addEventListener("click",L)})),on((()=>{document.body.removeEventListener("click",L)})),{config:o,locale:_,insert:z,onChange:()=>{const e=u.value;e.files&&C.value&&E(e.files[0]).then((()=>{e.value=""}))},onDrop:e=>{var t;if(null!==(t=e.dataTransfer)&&void 0!==t&&t.items){const t=pa(e.dataTransfer.items);t&&C.value&&(E(t),e.preventDefault())}},onKeyDown:e=>{const t=e.key;(e.ctrlKey||e.metaKey)&&"Enter"===t&&A()},onPaste:e=>{if(e.clipboardData){const t=pa(e.clipboardData.items);t&&C.value&&E(t)}},onLogin:e=>{e.preventDefault();const{lang:t,serverURL:n}=o.value,r=(window.innerWidth-450)/2,a=(window.innerHeight-450)/2,i=window.open("".concat(n,"/ui/login?lng=").concat(encodeURIComponent(t)),"_blank","width=".concat(450,",height=").concat(450,",left=").concat(r,",top=").concat(a,",scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no"));null==i||i.postMessage({type:"TOKEN",data:null},"*");const s=e=>{let{data:t}=e;t&&"userInfo"===t.type&&t.data.token&&(null==i||i.close(),l(t.data),(t.data.remember?localStorage:sessionStorage).setItem("WALINE_USER",JSON.stringify(t.data)),window.removeEventListener("message",s))};window.addEventListener("message",s)},onLogout:()=>{l({}),localStorage.setItem("WALINE_USER","null"),sessionStorage.setItem("WALINE_USER","null")},onProfile:e=>{e.preventDefault();const{lang:t,serverURL:n}=o.value,r=(window.innerWidth-800)/2,a=(window.innerHeight-800)/2,s=window.open("".concat(n,"/ui/profile?lng=").concat(encodeURIComponent(t)),"_blank","width=".concat(800,",height=").concat(800,",left=").concat(r,",top=").concat(a,",scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no"));null==s||s.postMessage({type:"TOKEN",data:i.value.token},"*");const c=e=>{let{data:t}=e;t&&"profile"===t.type&&(l(Object.assign({},i.value,t)),[localStorage,sessionStorage].filter((e=>e.getItem("WALINE_USER"))).forEach((e=>e.setItem("WALINE_USER",JSON.stringify(i)))),window.removeEventListener("message",c))};window.addEventListener("message",c)},submitComment:A,isLogin:S,userInfo:i,isSubmitting:x,wordNumber:b,wordLimit:w,isWordNumberLegal:y,inputs:r,emoji:h,emojiTabIndex:v,showEmoji:f,canUploadImage:C,previewText:g,showPreview:m,inputRefs:s,editorRef:c,emojiButtonRef:d,emojiPopupRef:p,imageUploadRef:u}}});var hl=n(407);const vl=(0,hl.Z)(pl,[["render",function(e,t,n,o,r,i){const l=An("CloseIcon"),s=An("MarkdownIcon"),u=An("EmojiIcon"),d=An("ImageIcon"),h=An("PreviewIcon"),v=An("LoadingIcon");return Un(),Vn("div",zi,["disable"!==e.config.login&&e.isLogin?(Un(),Vn("div",Ei,[Jn("div",Ai,[Jn("button",{class:"vlogout-btn",title:e.locale.logout,onClick:t[0]||(t[0]=function(){return e.onLogout&&e.onLogout(...arguments)})},[Kn(l,{size:"14"})],8,Li),Jn("img",{src:e.userInfo.avatar||"".concat(e.config.avatar.cdn).concat(e.userInfo.mailMd5).concat(e.config.avatar.param),alt:"avatar"},null,8,Ti)]),Jn("a",{href:"#",class:"vlogin-nick","aria-label":"Profile",onClick:t[1]||(t[1]=function(){return e.onProfile&&e.onProfile(...arguments)}),textContent:p(e.userInfo.display_name)},null,8,Ri)])):Xn("v-if",!0),Jn("div",Ii,["force"!==e.config.login&&e.config.meta.length&&!e.isLogin?(Un(),Vn("div",{key:0,class:c(["vheader","vheader-".concat(e.config.meta.length)])},[(Un(!0),Vn(Rn,null,no(e.config.meta,(t=>(Un(),Vn("div",{class:"vheader-item",key:t},[Jn("label",{for:t,textContent:p(e.locale[t]+(e.config.requiredMeta.includes(t)||!e.config.requiredMeta.length?"":"(".concat(e.locale.optional,")")))},null,8,Oi),gn(Jn("input",{ref:n=>{n&&(e.inputRefs[t]=n)},id:"waline-".concat(t),class:c(["vinput","v".concat(t)]),name:t,type:"mail"===t?"email":"text","onUpdate:modelValue":n=>e.inputs[t]=n},null,10,ji),[[jr,e.inputs[t]]])])))),128))],2)):Xn("v-if",!0),gn(Jn("textarea",{class:"veditor",ref:"editorRef",id:"waline-edit",placeholder:e.replyUser?"@".concat(e.replyUser):e.locale.placeholder,"onUpdate:modelValue":t[2]||(t[2]=t=>e.inputs.editor=t),onKeydown:t[3]||(t[3]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)}),onDrop:t[4]||(t[4]=function(){return e.onDrop&&e.onDrop(...arguments)}),onPaste:t[5]||(t[5]=function(){return e.onPaste&&e.onPaste(...arguments)})},null,40,$i),[[zr,e.inputs.editor]]),Jn("div",{class:"vpreview",style:a({display:e.showPreview?"block":"none"})},[Jn("h4",null,p(e.locale.preview)+":",1),Jn("div",{class:"vcontent",innerHTML:e.previewText},null,8,Mi)],4),Jn("div",Ui,[Jn("div",Pi,[Jn("a",Ni,[Kn(s)]),Jn("button",{ref:"emojiButtonRef",class:c(["vaction",{actived:e.showEmoji}]),title:e.locale.emoji,onClick:t[6]||(t[6]=t=>e.showEmoji=!e.showEmoji)},[Kn(u)],10,Fi),Jn("input",{ref:"imageUploadRef",class:"upload",id:"waline-image-upload",type:"file",accept:".png,.jpg,.jpeg,.webp,.bmp,.gif",onChange:t[7]||(t[7]=function(){return e.onChange&&e.onChange(...arguments)})},null,544),e.canUploadImage?(Un(),Vn("label",{key:0,for:"waline-image-upload",class:"vaction",title:e.locale.uploadImage},[Kn(d)],8,Vi)):Xn("v-if",!0),Jn("button",{class:c(["vaction",{actived:e.showPreview}]),title:e.locale.preview,onClick:t[8]||(t[8]=t=>e.showPreview=!e.showPreview)},[Kn(h)],10,Di)]),Jn("div",Bi,[Jn("div",qi,[Yn(p(e.wordNumber)+" ",1),e.config.wordLimit?(Un(),Vn("span",Hi,[Wi,Jn("span",{class:c({illegal:!e.isWordNumberLegal}),textContent:p(e.wordLimit)},null,10,Zi)])):Xn("v-if",!0),Yn(" "+p(e.locale.word),1)]),"disable"===e.config.login||e.isLogin?Xn("v-if",!0):(Un(),Vn("button",{key:0,class:"vbtn",onClick:t[9]||(t[9]=function(){return e.onLogin&&e.onLogin(...arguments)}),textContent:p(e.locale.login)},null,8,Ji)),"force"!==e.config.login||e.isLogin?(Un(),Vn("button",{key:1,class:"vbtn primary",title:"Cmd|Ctrl + Enter",disabled:e.isSubmitting,onClick:t[10]||(t[10]=function(){return e.submitComment&&e.submitComment(...arguments)})},[e.isSubmitting?(Un(),Dn(v,{key:0,size:16})):(Un(),Vn(Rn,{key:1},[Yn(p(e.locale.submit),1)],2112))],8,Ki)):Xn("v-if",!0)]),Jn("div",{ref:"emojiPopupRef",class:c(["vemoji-popup",{display:e.showEmoji}])},[(Un(!0),Vn(Rn,null,no(e.emoji.tabs,((t,n)=>(Un(),Vn(Rn,{key:t.name},[n===e.emojiTabIndex?(Un(),Vn("div",Qi,[(Un(!0),Vn(Rn,null,no(t.items,(t=>(Un(),Vn("button",{key:t,title:t,onClick:n=>e.insert(":".concat(t,":"))},[e.showEmoji?(Un(),Vn("img",{key:0,class:"vemoji",src:e.emoji.map[t],alt:t,loading:"lazy",referrerPolicy:"no-referrer"},null,8,Xi)):Xn("v-if",!0)],8,Yi)))),128))])):Xn("v-if",!0)],64)))),128)),e.emoji.tabs.length>1?(Un(),Vn("div",Gi,[(Un(!0),Vn(Rn,null,no(e.emoji.tabs,((t,n)=>(Un(),Vn("button",{key:t.name,class:c(["vtab",{active:e.emojiTabIndex===n}]),onClick:t=>e.emojiTabIndex=n},[Jn("img",{class:"vemoji",src:t.icon,alt:t.name,title:t.name,loading:"lazy",referrerPolicy:"no-referrer"},null,8,tl)],10,el)))),128))])):Xn("v-if",!0)],2)])]),e.replyId?(Un(),Vn("button",{key:1,class:"vclose",title:e.locale.cancelReply,onClick:t[11]||(t[11]=t=>e.$emit("cancel-reply"))},[Kn(l,{size:"24"})],8,nl)):Xn("v-if",!0)])}]]),fl=vl,ml=["id"],gl=["src"],bl={class:"vcard"},wl={class:"vhead"},yl=["href"],kl={key:1,class:"vnick"},xl=["textContent"],_l=["textContent"],Sl=["textContent"],Cl=["title"],zl={class:"vmeta","aria-hidden":"true"},El=["textContent"],Al=["textContent"],Ll=["innerHTML"],Tl={key:0,class:"vreply-wrapper"},Rl={key:1,class:"vquote"},Il=Yt({props:{comment:{type:Object,required:!0},rootId:{type:String,required:!0},reply:{type:Object}},components:{CommentBox:fl,ReplyIcon:()=>Ho("svg",{viewBox:"0 0 1024 1024",width:"18",height:"18"},Ho("path",{d:"M1019.2 720C1001.6 625.6 968 566.4 904 497.6c-89.6-89.6-214.4-150.4-347.2-176v-120c0-25.6-8-51.2-25.6-64-33.6-30.4-81.6-30.4-112-4.8L33.6 441.6C12.8 459.2 0 484.8 0 510.4c0 25.6 12.8 51.2 30.4 68.8l385.6 312c17.6 12.8 33.6 17.6 51.2 17.6 12.8 0 25.6-4.8 38.4-8C536 888 552 857.6 552 824v-99.2c124.8 20.8 248 86.4 339.2 140.8 25.6 17.6 59.2 17.6 89.6 0 25.6-17.6 43.2-46.4 43.2-76.8 0-33.6 0-56-4.8-68.8zm-500.8-89.6-46.4-4.8v193.6L86.4 510.4 472 201.6V400l38.4 4.8c128 12.8 248 68.8 334.4 153.6 51.2 56 76.8 102.4 94.4 179.2 0 4.8 4.8 20.8 4.8 51.2C835.2 720 672 640 518.4 630.4z",fill:"currentColor"})),VerifiedIcon:()=>Ho("svg",{class:"verified-icon",viewBox:"0 0 1024 1024",width:"14",height:"14"},Ho("path",{d:"M512 44.608l388.352 109.696a38.016 38.016 0 0 1 27.648 36.608v337.984c-1.984 110.528-40.192 207.04-113.984 288-73.92 81.024-172.48 134.528-294.592 160.32l-8.192 1.728-8.192-2.048c-127.616-32.832-225.536-85.952-293.056-160-68.096-74.688-105.984-171.584-113.92-289.28L96 526.336V190.976c0-17.024 11.328-32 27.648-36.608L512 44.608z m0 74.816L168 216.64v307.328l0.128 1.856c7.232 99.712 38.4 179.52 93.44 240.704l1.664 1.92c55.488 60.8 137.728 106.304 247.488 136l2.048 0.512 1.408-0.32c102.272-23.232 183.552-67.968 244.736-134.144l1.92-2.112c62.592-68.672 94.08-149.376 95.168-243.584V216.64L512 119.36z m222.592 229.888a32 32 0 0 1 0.448 44.864l-0.384 0.384-244.8 246.016a32 32 0 0 1-44.992 0.384l-0.384-0.384-155.136-155.968a32 32 0 0 1 44.992-45.504L467.2 572.608 689.28 349.44a32 32 0 0 1 45.312-0.128z",fill:"#27ae60"}))},emits:["submit","reply"],setup(e){const t=Dt("config"),n=xt((()=>t.value.locale)),o=xt((()=>{let{link:t}=e.comment;return t?Vr(t)?t:"https://".concat(t):""})),r=xt((()=>{const n=e.comment,o=t.value.avatar;return!(!n||o.hide)&&(e.comment.avatar&&("type"in e.comment||o.default)?e.comment.avatar:"".concat(o.cdn).concat(e.comment.mail).concat(o.param))})),a=xt((()=>{var t;return e.comment.objectId===(null===(t=e.reply)||void 0===t?void 0:t.objectId)}));return{config:t,locale:n,avatar:r,isReplyingCurrent:a,link:o,timeAgo:ai}}}),Ol=Yt({name:"Waline-Root",components:{CommentBox:fl,CommentCard:(0,hl.Z)(Il,[["render",function(e,t,n,o,r,a){const i=An("VerifiedIcon"),l=An("ReplyIcon"),s=An("CommentBox"),u=An("CommentCard",!0);return Un(),Vn("div",{class:"vitem",id:e.comment.objectId},[e.avatar?(Un(),Vn("img",{key:0,class:"vuser","aria-hidden":"true",src:e.avatar},null,8,gl)):Xn("v-if",!0),Jn("div",bl,[Jn("div",wl,[e.link?(Un(),Vn("a",{key:0,class:"vnick",href:e.link,target:"_blank",rel:"nofollow noreferrer"},[Yn(p(e.comment.nick),1),e.comment.type?(Un(),Dn(i,{key:0})):Xn("v-if",!0)],8,yl)):(Un(),Vn("span",kl,[Yn(p(e.comment.nick),1),e.comment.type?(Un(),Dn(i,{key:0})):Xn("v-if",!0)])),"administrator"===e.comment.type?(Un(),Vn("span",{key:2,class:"vbadge",textContent:p(e.locale.admin)},null,8,xl)):Xn("v-if",!0),e.comment.sticky?(Un(),Vn("span",{key:3,class:"vbadge",textContent:p(e.locale.sticky)},null,8,_l)):Xn("v-if",!0),Jn("span",{class:"vtime",textContent:p(e.timeAgo(e.comment.insertedAt,e.locale))},null,8,Sl),Jn("button",{class:c(["vreply",{active:e.isReplyingCurrent}]),title:e.isReplyingCurrent?e.locale.cancelReply:e.locale.reply,onClick:t[0]||(t[0]=t=>e.$emit("reply",e.isReplyingCurrent?null:e.comment))},[Kn(l)],10,Cl)]),Jn("div",zl,[e.comment.browser?(Un(),Vn("span",{key:0,textContent:p(e.comment.browser)},null,8,El)):Xn("v-if",!0),e.comment.os?(Un(),Vn("span",{key:1,textContent:p(e.comment.os)},null,8,Al)):Xn("v-if",!0)]),Jn("div",{class:"vcontent",innerHTML:e.comment.comment},null,8,Ll),e.isReplyingCurrent?(Un(),Vn("div",Tl,[Kn(s,{replyId:e.comment.objectId,replyUser:e.comment.nick,rootId:e.rootId,onSubmit:t[1]||(t[1]=t=>e.$emit("submit",t)),onCancelReply:t[2]||(t[2]=t=>e.$emit("reply",null))},null,8,["replyId","replyUser","rootId"])])):Xn("v-if",!0),e.comment.children?(Un(),Vn("div",Rl,[(Un(!0),Vn(Rn,null,no(e.comment.children,(n=>(Un(),Dn(u,{key:n.objectId,comment:n,reply:e.reply,rootId:e.rootId,onReply:t[3]||(t[3]=t=>e.$emit("reply",t)),onSubmit:t[4]||(t[4]=t=>e.$emit("submit",t))},null,8,["comment","reply","rootId"])))),128))])):Xn("v-if",!0)])],8,ml)}]]),LoadingIcon:dl},props:{signal:{type:Object,required:!0}},setup(e){const t=Dt("config"),n=Dt("event"),{userInfo:o}=pi(),r=gt(0),a=gt(1),i=gt(0),l=gt(!0),s=gt(!1),c=gt([]),u=gt(null);let d=e.signal;const p=xt((()=>t.value.locale)),h=e=>{var n;l.value=!0,s.value=!1,(e=>{let{serverURL:t,path:n,page:o,pageSize:r,signal:a,token:i}=e;const l={};return i&&(l.Authorization="Bearer ".concat(i)),fetch("".concat(t,"/comment?path=").concat(encodeURIComponent(n),"&pageSize=").concat(r,"&page=").concat(o),{signal:a,headers:l}).then((e=>e.json())).then((e=>Pr(e,"comment list")))})(Object.assign({},t.value,{page:e,signal:d,token:null===(n=o.value)||void 0===n?void 0:n.token})).then((t=>{l.value=!1,r.value=t.count,c.value.push(...t.data),a.value=e,i.value=t.totalPages})).catch((e=>{"AbortError"!==e.name&&(console.error(e.message),s.value=!0,l.value=!1)}))};return n.on("render",(e=>{d=e,r.value=0,c.value=[],h(1)})),tn((()=>h(1))),{config:t,locale:p,count:r,data:c,loading:l,inError:s,page:a,totalPages:i,reply:u,loadMore:()=>h(a.value+1),refresh:()=>{c.value=[],h(1)},onReply:e=>{u.value=e},onSubmit:e=>{if(e.rid){const t=c.value.find((t=>{let{objectId:n}=t;return n===e.rid}));if(!t)return;Array.isArray(t.children)||(t.children=[]),t.children.push(e)}else c.value.unshift(e)},version:"1.5.3"}}}),jl=(0,hl.Z)(Ol,[["render",function(e,t,n,o,r,a){const i=An("CommentBox"),l=An("CommentCard"),s=An("LoadingIcon");return Un(),Vn("div",hi,[e.reply?Xn("v-if",!0):(Un(),Dn(i,{key:0,onSubmit:e.onSubmit},null,8,["onSubmit"])),Jn("div",vi,[e.count?(Un(),Vn("span",{key:0,class:"vnum",textContent:p(e.count)},null,8,fi)):Xn("v-if",!0),Yn(" "+p(e.locale.comment),1)]),Jn("div",mi,[(Un(!0),Vn(Rn,null,no(e.data,(t=>(Un(),Dn(l,{key:t.objectId,"root-id":t.objectId,comment:t,reply:e.reply,onReply:e.onReply,onSubmit:e.onSubmit},null,8,["root-id","comment","reply","onReply","onSubmit"])))),128))]),e.inError?(Un(),Vn("div",gi,[Jn("button",{type:"button",class:"vbtn",onClick:t[0]||(t[0]=function(){return e.refresh&&e.refresh(...arguments)}),textContent:p(e.locale.refresh)},null,8,bi)])):e.loading?(Un(),Vn("div",wi,[Kn(s,{size:30})])):e.data.length?Xn("v-if",!0):(Un(),Vn("div",{key:3,class:"vempty",textContent:p(e.locale.sofa)},null,8,yi)),e.page<e.totalPages&&!e.loading?(Un(),Vn("div",ki,[Jn("button",{type:"button",class:"vbtn",onClick:t[1]||(t[1]=function(){return e.loadMore&&e.loadMore(...arguments)}),textContent:p(e.locale.more)},null,8,xi)])):Xn("v-if",!0),e.config.copyright?(Un(),Vn("div",_i,[Si,Ci,Yn(" v"+p(e.version),1)])):Xn("v-if",!0)])}]]),$l=jl;var Ml=n(62),Ul=n.n(Ml),Pl=n(36),Nl=n.n(Pl),Fl=n(793),Vl=n.n(Fl),Dl=n(892),Bl=n.n(Dl),ql=n(173),Hl=n.n(ql),Wl=n(464),Zl=n.n(Wl),Jl=n(523),Kl={};Kl.styleTagTransform=Zl(),Kl.setAttributes=Bl(),Kl.insert=Vl().bind(null,"head"),Kl.domAPI=Nl(),Kl.insertStyleElement=Hl(),Ul()(Jl.Z,Kl),Jl.Z&&Jl.Z.locals&&Jl.Z.locals;class Ql{constructor(){var e,t;t=void 0,(e="controller")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t,this.controller=new AbortController}get signal(){return this.controller.signal}abort(){this.controller.abort()}new(){this.abort(),this.controller=new AbortController}}const Yl=(e,t)=>{const{path:n,serverURL:o,visitor:r}=e;r&&(e=>{let{serverURL:t,path:n,signal:o}=e;const r=(e=>{let{serverURL:t,path:n}=e;return fetch("".concat(t,"/article"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:n})}).then((e=>e.json())).then((e=>Pr(e,"visit count")))})({serverURL:t,path:n}),a=Array.from(document.querySelectorAll(".waline-visitor-count,.leancloud_visitors,.leancloud-visitors")).filter((e=>e.getAttribute("id"))),i=a.map((e=>Nr(e.getAttribute("id")||""))),l=i.filter((e=>e!==n));l.length?(l.length===i.length?Promise.resolve():r).then((()=>(e=>{let{serverURL:t,paths:n,signal:o}=e;return fetch("".concat(t,"/article?path=").concat(encodeURIComponent(n.join(","))),{signal:o}).then((e=>e.json())).then((e=>Pr(e,"visit count"))).then((e=>Array.isArray(e)?e:[e]))})({serverURL:t,paths:i,signal:o}))).then((e=>ii(e,a))).catch((e=>{"AbortError"!==e.name&&console.error(e.message)})):r.then((e=>ii(new Array(a.length).fill(e),a)))})({serverURL:o,path:n,signal:t}),((e,t)=>{var n;const o=Array.from(document.querySelectorAll(".waline-comment-count")).filter((e=>e.getAttribute("data-xid")||e.getAttribute("id"))),{userInfo:r}=pi();o.length&&(e=>{let{serverURL:t,paths:n,signal:o,token:r}=e;const a={};return r&&(a.Authorization="Bearer ".concat(r)),fetch("".concat(t,"/comment?type=count&url=").concat(encodeURIComponent(n.join(","))),{signal:o,headers:a}).then((e=>e.json())).then((e=>Pr(e,"comment count"))).then((e=>Array.isArray(e)?e:[e]))})({serverURL:e,paths:o.map((e=>Nr(e.getAttribute("data-xid")||e.getAttribute("id")))),signal:t,token:null===(n=r.value)||void 0===n?void 0:n.token}).then((e=>{o.forEach(((t,n)=>{t.innerText=e[n].toString()}))})).catch((e=>{"AbortError"!==e.name&&console.error(e.message)}))})(o,t)},Xl=e=>(console.warn(e),{errMsg:e});function Gl(e){const{el:t,serverURL:n}=e;if(!n)return Xl("Option 'serverURL' is missing!");var o;e.dark&&"string"==typeof(o=e.dark)&&va("auto"===o?"@media(prefers-color-scheme:dark){body".concat(ha,"}"):"".concat(o).concat(ha),"waline-dark"),e.mathTagSupport&&window.addEventListener("load",fa);const r=new Ql,a=new Ql,i=function(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o?o.push(n):e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&(n?o.splice(o.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var o=e.get(t);o&&o.slice().map((function(e){e(n)})),(o=e.get("*"))&&o.slice().map((function(e){e(t,n)}))}}}(),{config:l,update:s}=(e=>{let t=e;const n=gt(ua(e));return{config:at(n),update:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t={...t,...e},n.value=ua(t)}}})(e);Yl(l.value,a.signal);const c=ma(t);if(t&&!c)return Xl("Option 'el' do not match any domElement!");let u;c&&(u=((...e)=>{const t=(Ur||(Ur=_n(Mr))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){return L(e)?document.querySelector(e):e}(e);if(!o)return;const r=t._component;A(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t})($l,{signal:r.signal}).provide("config",l).provide("event",i).provide("version","1.5.3"),u.mount(c));const d={options:e,path:l.value.path};return{el:c,update:e=>{s(e);const{path:t}=l.value;d.path!==t&&(r.new(),d.path=t,i.emit("render",r.signal)),a.new(),Yl(l.value,a.signal)},destroy:()=>{t&&u.unmount()}}}Gl.Widget={RecentComments:e=>{var t;let{el:n,serverURL:o,count:r}=e;const a=ma(n),i=new AbortController,{userInfo:l}=pi();return(e=>{let{serverURL:t,count:n,signal:o,token:r}=e;const a={};return r&&(a.Authorization="Bearer ".concat(r)),fetch("".concat(t,"/comment?type=recent&count=").concat(n),{signal:o,headers:a}).then((e=>e.json())).then((e=>Pr(e,"recent comment")))})({serverURL:o,count:r,signal:i.signal,token:null===(t=l.value)||void 0===t?void 0:t.token}).then((e=>a&&e.length?(a.innerHTML='<ul class="waline-widget-list">'.concat(e.map((e=>'<li class="waline-widget-item"><a href="'.concat(e.url,'">').concat(e.nick,"</a>:").concat(e.comment,"</li>"))).join(""),"</ul>"),{comments:e,destroy:()=>{i.abort(),a.innerHTML=""}}):{comments:e,destroy:()=>i.abort()}))}},Gl.version="1.5.3";const es=Gl})(),o.default})()}));
|
|
2
2
|
//# sourceMappingURL=Waline.min.js.map
|