@logan-jun/cd1-rag-chat 0.1.0 → 0.3.0
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/README.md +82 -15
- package/dist/assets/index-BpgvSxpC.js +89 -0
- package/dist/assets/{index-CRsa0rEW.css → index-C4j9DEAI.css} +1 -1
- package/dist/fonts/PRETENDARD-LICENSE.txt +94 -0
- package/dist/fonts/Pretendard-Bold.woff2 +0 -0
- package/dist/fonts/Pretendard-Regular.woff2 +0 -0
- package/dist/index.html +2 -2
- package/host-integration/sync-modules.cjs +53 -0
- package/package.json +1 -1
- package/dist/assets/index-Cf3aG5V2.js +0 -89
- package/host-integration/route.ts +0 -80
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
var za=Object.defineProperty;var Fa=(e,t,n)=>t in e?za(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var j=(e,t,n)=>Fa(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Ba={};/*!
|
|
2
|
-
* Vue.js v2.7.16
|
|
3
|
-
* (c) 2014-2023 Evan You
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/var ve=Object.freeze({}),R=Array.isArray;function S(e){return e==null}function d(e){return e!=null}function X(e){return e===!0}function Ua(e){return e===!1}function cn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function W(e){return typeof e=="function"}function le(e){return e!==null&&typeof e=="object"}var oi=Object.prototype.toString;function xe(e){return oi.call(e)==="[object Object]"}function Ha(e){return oi.call(e)==="[object RegExp]"}function vo(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function Lr(e){return d(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function ja(e){return e==null?"":Array.isArray(e)||xe(e)&&e.toString===oi?JSON.stringify(e,Wa,2):String(e)}function Wa(e,t){return t&&t.__v_isRef?t.value:t}function nn(e){var t=parseFloat(e);return isNaN(t)?e:t}function Re(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(s){return n[s.toLowerCase()]}:function(s){return n[s]}}Re("slot,component",!0);var Ga=Re("key,ref,slot,slot-scope,is");function st(e,t){var n=e.length;if(n){if(t===e[n-1]){e.length=n-1;return}var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var qa=Object.prototype.hasOwnProperty;function pe(e,t){return qa.call(e,t)}function bt(e){var t=Object.create(null);return function(r){var i=t[r];return i||(t[r]=e(r))}}var Za=/-(\w)/g,mt=bt(function(e){return e.replace(Za,function(t,n){return n?n.toUpperCase():""})}),Ya=bt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Xa=/\B([A-Z])/g,un=bt(function(e){return e.replace(Xa,"-$1").toLowerCase()});function Ka(e,t){function n(r){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return n._length=e.length,n}function Ja(e,t){return e.bind(t)}var _o=Function.prototype.bind?Ja:Ka;function Nr(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function G(e,t){for(var n in t)e[n]=t[n];return e}function yo(e){for(var t={},n=0;n<e.length;n++)e[n]&&G(t,e[n]);return t}function Z(e,t,n){}var kn=function(e,t,n){return!1},bo=function(e){return e};function gt(e,t){if(e===t)return!0;var n=le(e),r=le(t);if(n&&r)try{var i=Array.isArray(e),s=Array.isArray(t);if(i&&s)return e.length===t.length&&e.every(function(l,u){return gt(l,t[u])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!i&&!s){var o=Object.keys(e),a=Object.keys(t);return o.length===a.length&&o.every(function(l){return gt(e[l],t[l])})}else return!1}catch{return!1}else return!n&&!r?String(e)===String(t):!1}function xo(e,t){for(var n=0;n<e.length;n++)if(gt(e[n],t))return n;return-1}function Bn(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function Pr(e,t){return e===t?e===0&&1/e!==1/t:e===e||t===t}var Vi="data-server-rendered",er=["component","directive","filter"],wo=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Se={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:kn,isReservedAttr:kn,isUnknownElement:kn,getTagNamespace:Z,parsePlatformTagName:bo,mustUseProp:kn,async:!0,_lifecycleHooks:wo},Qa=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function ko(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function ye(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}var Va=new RegExp("[^".concat(Qa.source,".$_\\d]"));function el(e){if(!Va.test(e)){var t=e.split(".");return function(n){for(var r=0;r<t.length;r++){if(!n)return;n=n[t[r]]}return n}}}var tl="__proto__"in{},ke=typeof window!="undefined",Ae=ke&&window.navigator.userAgent.toLowerCase(),Mt=Ae&&/msie|trident/.test(Ae),zt=Ae&&Ae.indexOf("msie 9.0")>0,To=Ae&&Ae.indexOf("edge/")>0;Ae&&Ae.indexOf("android")>0;var nl=Ae&&/iphone|ipad|ipod|ios/.test(Ae),es=Ae&&Ae.match(/firefox\/(\d+)/),Mr={}.watch,Co=!1;if(ke)try{var ts={};Object.defineProperty(ts,"passive",{get:function(){Co=!0}}),window.addEventListener("test-passive",null,ts)}catch{}var Tn,ot=function(){return Tn===void 0&&(!ke&&typeof global!="undefined"?Tn=global.process&&Ba.VUE_ENV==="server":Tn=!1),Tn},Un=ke&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Nt(e){return typeof e=="function"&&/native code/.test(e.toString())}var fn=typeof Symbol!="undefined"&&Nt(Symbol)&&typeof Reflect!="undefined"&&Nt(Reflect.ownKeys),rn;typeof Set!="undefined"&&Nt(Set)?rn=Set:rn=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Ie=null;function nt(e){e===void 0&&(e=null),e||Ie&&Ie._scope.off(),Ie=e,e&&e._scope.on()}var we=function(){function e(t,n,r,i,s,o,a,l){this.tag=t,this.data=n,this.children=r,this.text=i,this.elm=s,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),pt=function(e){e===void 0&&(e="");var t=new we;return t.text=e,t.isComment=!0,t};function Rt(e){return new we(void 0,void 0,void 0,String(e))}function zr(e){var t=new we(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var rl=0,Ln=[],il=function(){for(var e=0;e<Ln.length;e++){var t=Ln[e];t.subs=t.subs.filter(function(n){return n}),t._pending=!1}Ln.length=0},qe=function(){function e(){this._pending=!1,this.id=rl++,this.subs=[]}return e.prototype.addSub=function(t){this.subs.push(t)},e.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,Ln.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(t){for(var n=this.subs.filter(function(o){return o}),r=0,i=n.length;r<i;r++){var s=n[r];s.update()}},e}();qe.target=null;var Nn=[];function Ft(e){Nn.push(e),qe.target=e}function Bt(){Nn.pop(),qe.target=Nn[Nn.length-1]}var So=Array.prototype,Hn=Object.create(So),sl=["push","pop","shift","unshift","splice","sort","reverse"];sl.forEach(function(e){var t=So[e];ye(Hn,e,function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var s=t.apply(this,r),o=this.__ob__,a;switch(e){case"push":case"unshift":a=r;break;case"splice":a=r.slice(2);break}return a&&o.observeArray(a),o.dep.notify(),s})});var ns=Object.getOwnPropertyNames(Hn),Ao={},ai=!0;function rt(e){ai=e}var ol={notify:Z,depend:Z,addSub:Z,removeSub:Z},rs=function(){function e(t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!1),this.value=t,this.shallow=n,this.mock=r,this.dep=r?ol:new qe,this.vmCount=0,ye(t,"__ob__",this),R(t)){if(!r)if(tl)t.__proto__=Hn;else for(var i=0,s=ns.length;i<s;i++){var o=ns[i];ye(t,o,Hn[o])}n||this.observeArray(t)}else for(var a=Object.keys(t),i=0;i<a.length;i++){var o=a[i];it(t,o,Ao,void 0,n,r)}}return e.prototype.observeArray=function(t){for(var n=0,r=t.length;n<r;n++)Ze(t[n],!1,this.mock)},e}();function Ze(e,t,n){if(e&&pe(e,"__ob__")&&e.__ob__ instanceof rs)return e.__ob__;if(ai&&(n||!ot())&&(R(e)||xe(e))&&Object.isExtensible(e)&&!e.__v_skip&&!be(e)&&!(e instanceof we))return new rs(e,t,n)}function it(e,t,n,r,i,s,o){o===void 0&&(o=!1);var a=new qe,l=Object.getOwnPropertyDescriptor(e,t);if(!(l&&l.configurable===!1)){var u=l&&l.get,f=l&&l.set;(!u||f)&&(n===Ao||arguments.length===2)&&(n=e[t]);var v=i?n&&n.__ob__:Ze(n,!1,s);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var y=u?u.call(e):n;return qe.target&&(a.depend(),v&&(v.dep.depend(),R(y)&&Oo(y))),be(y)&&!i?y.value:y},set:function(y){var b=u?u.call(e):n;if(Pr(b,y)){if(f)f.call(e,y);else{if(u)return;if(!i&&be(b)&&!be(y)){b.value=y;return}else n=y}v=i?y&&y.__ob__:Ze(y,!1,s),a.notify()}}}),a}}function li(e,t,n){if(!tr(e)){var r=e.__ob__;return R(e)&&vo(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Ze(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(it(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function Eo(e,t){if(R(e)&&vo(t)){e.splice(t,1);return}var n=e.__ob__;e._isVue||n&&n.vmCount||tr(e)||pe(e,t)&&(delete e[t],n&&n.dep.notify())}function Oo(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),R(t)&&Oo(t)}function al(e){return $o(e,!1),e}function Io(e){return $o(e,!0),ye(e,"__v_isShallow",!0),e}function $o(e,t){tr(e)||Ze(e,t,ot())}function Pn(e){return tr(e)?Pn(e.__v_raw):!!(e&&e.__ob__)}function is(e){return!!(e&&e.__v_isShallow)}function tr(e){return!!(e&&e.__v_isReadonly)}var Ro="__v_isRef";function be(e){return!!(e&&e.__v_isRef===!0)}function je(e){return ll(e,!1)}function ll(e,t){if(be(e))return e;var n={};return ye(n,Ro,!0),ye(n,"__v_isShallow",t),ye(n,"dep",it(n,"value",e,null,t,ot())),n}function Fr(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var r=t[n];if(be(r))return r.value;var i=r&&r.__ob__;return i&&i.dep.depend(),r},set:function(r){var i=t[n];be(i)&&!be(r)?i.value=r:t[n]=r}})}function cl(e,t){var n,r,i=W(e);i?(n=e,r=Z):(n=e.get,r=e.set);var s=ot()?null:new pn(Ie,n,Z,{lazy:!0}),o={effect:s,get value(){return s?(s.dirty&&s.evaluate(),qe.target&&s.depend(),s.value):n()},set value(a){r(a)}};return ye(o,Ro,!0),ye(o,"__v_isReadonly",i),o}var nr="watcher",ss="".concat(nr," callback"),os="".concat(nr," getter"),ul="".concat(nr," cleanup"),as={};function Do(e,t,n){return fl(e,t,n)}function fl(e,t,n){var r=n===void 0?ve:n,i=r.immediate,s=r.deep,o=r.flush,a=o===void 0?"pre":o;r.onTrack,r.onTrigger;var l=Ie,u=function(I,se,ee){ee===void 0&&(ee=null);var ce=Ye(I,null,ee,l,se);return s&&ce&&ce.__ob__&&ce.__ob__.dep.depend(),ce},f,v=!1,_=!1;if(be(e)?(f=function(){return e.value},v=is(e)):Pn(e)?(f=function(){return e.__ob__.dep.depend(),e},s=!0):R(e)?(_=!0,v=e.some(function(I){return Pn(I)||is(I)}),f=function(){return e.map(function(I){if(be(I))return I.value;if(Pn(I))return I.__ob__.dep.depend(),Pt(I);if(W(I))return u(I,os)})}):W(e)?t?f=function(){return u(e,os)}:f=function(){if(!(l&&l._isDestroyed))return b&&b(),u(e,nr,[D])}:f=Z,t&&s){var y=f;f=function(){return Pt(y())}}var b,D=function(I){b=A.onStop=function(){u(I,ul)}};if(ot())return D=Z,t?i&&u(t,ss,[f(),_?[]:void 0,D]):f(),Z;var A=new pn(Ie,f,Z,{lazy:!0});A.noRecurse=!t;var Y=_?[]:as;return A.run=function(){if(A.active)if(t){var I=A.get();(s||v||(_?I.some(function(se,ee){return Pr(se,Y[ee])}):Pr(I,Y)))&&(b&&b(),u(t,ss,[I,Y===as?void 0:Y,D]),Y=I)}else A.get()},a==="sync"?A.update=A.run:a==="post"?(A.post=!0,A.update=function(){return qr(A)}):A.update=function(){if(l&&l===Ie&&!l._isMounted){var I=l._preWatchers||(l._preWatchers=[]);I.indexOf(A)<0&&I.push(A)}else qr(A)},t?i?A.run():Y=A.get():a==="post"&&l?l.$once("hook:mounted",function(){return A.get()}):A.get(),function(){A.teardown()}}var ge,pl=function(){function e(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ge,!t&&ge&&(this.index=(ge.scopes||(ge.scopes=[])).push(this)-1)}return e.prototype.run=function(t){if(this.active){var n=ge;try{return ge=this,t()}finally{ge=n}}},e.prototype.on=function(){ge=this},e.prototype.off=function(){ge=this.parent},e.prototype.stop=function(t){if(this.active){var n=void 0,r=void 0;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].teardown();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},e}();function hl(e,t){t===void 0&&(t=ge),t&&t.active&&t.effects.push(e)}function dl(){return ge}function ml(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var ls=bt(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var n=e.charAt(0)==="~";e=n?e.slice(1):e;var r=e.charAt(0)==="!";return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}});function Br(e,t){function n(){var r=n.fns;if(R(r))for(var i=r.slice(),s=0;s<i.length;s++)Ye(i[s],null,arguments,t,"v-on handler");else return Ye(r,null,arguments,t,"v-on handler")}return n.fns=e,n}function Lo(e,t,n,r,i,s){var o,a,l,u;for(o in e)a=e[o],l=t[o],u=ls(o),S(a)||(S(l)?(S(a.fns)&&(a=e[o]=Br(a,s)),X(u.once)&&(a=e[o]=i(u.name,a,u.capture)),n(u.name,a,u.capture,u.passive,u.params)):a!==l&&(l.fns=a,e[o]=l));for(o in t)S(e[o])&&(u=ls(o),r(u.name,t[o],u.capture))}function et(e,t,n){e instanceof we&&(e=e.data.hook||(e.data.hook={}));var r,i=e[t];function s(){n.apply(this,arguments),st(r.fns,s)}S(i)?r=Br([s]):d(i.fns)&&X(i.merged)?(r=i,r.fns.push(s)):r=Br([i,s]),r.merged=!0,e[t]=r}function gl(e,t,n){var r=t.options.props;if(!S(r)){var i={},s=e.attrs,o=e.props;if(d(s)||d(o))for(var a in r){var l=un(a);cs(i,o,a,l,!0)||cs(i,s,a,l,!1)}return i}}function cs(e,t,n,r,i){if(d(t)){if(pe(t,n))return e[n]=t[n],i||delete t[n],!0;if(pe(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function vl(e){for(var t=0;t<e.length;t++)if(R(e[t]))return Array.prototype.concat.apply([],e);return e}function ci(e){return cn(e)?[Rt(e)]:R(e)?No(e):void 0}function Wt(e){return d(e)&&d(e.text)&&Ua(e.isComment)}function No(e,t){var n=[],r,i,s,o;for(r=0;r<e.length;r++)i=e[r],!(S(i)||typeof i=="boolean")&&(s=n.length-1,o=n[s],R(i)?i.length>0&&(i=No(i,"".concat(t||"","_").concat(r)),Wt(i[0])&&Wt(o)&&(n[s]=Rt(o.text+i[0].text),i.shift()),n.push.apply(n,i)):cn(i)?Wt(o)?n[s]=Rt(o.text+i):i!==""&&n.push(Rt(i)):Wt(i)&&Wt(o)?n[s]=Rt(o.text+i.text):(X(e._isVList)&&d(i.tag)&&S(i.key)&&d(t)&&(i.key="__vlist".concat(t,"_").concat(r,"__")),n.push(i)));return n}function _l(e,t){var n=null,r,i,s,o;if(R(e)||typeof e=="string")for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if(typeof e=="number")for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(le(e))if(fn&&e[Symbol.iterator]){n=[];for(var a=e[Symbol.iterator](),l=a.next();!l.done;)n.push(t(l.value,n.length)),l=a.next()}else for(s=Object.keys(e),n=new Array(s.length),r=0,i=s.length;r<i;r++)o=s[r],n[r]=t(e[o],o,r);return d(n)||(n=[]),n._isVList=!0,n}function yl(e,t,n,r){var i=this.$scopedSlots[e],s;i?(n=n||{},r&&(n=G(G({},r),n)),s=i(n)||(W(t)?t():t)):s=this.$slots[e]||(W(t)?t():t);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},s):s}function bl(e){return Zn(this.$options,"filters",e)||bo}function us(e,t){return R(e)?e.indexOf(t)===-1:e!==t}function xl(e,t,n,r,i){var s=Se.keyCodes[t]||n;return i&&r&&!Se.keyCodes[t]?us(i,r):s?us(s,e):r?un(r)!==t:e===void 0}function wl(e,t,n,r,i){if(n&&le(n)){R(n)&&(n=yo(n));var s=void 0,o=function(l){if(l==="class"||l==="style"||Ga(l))s=e;else{var u=e.attrs&&e.attrs.type;s=r||Se.mustUseProp(t,u,l)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var f=mt(l),v=un(l);if(!(f in s)&&!(v in s)&&(s[l]=n[l],i)){var _=e.on||(e.on={});_["update:".concat(l)]=function(y){n[l]=y}}};for(var a in n)o(a)}return e}function kl(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),Po(r,"__static__".concat(e),!1)),r}function Tl(e,t,n){return Po(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function Po(e,t,n){if(R(e))for(var r=0;r<e.length;r++)e[r]&&typeof e[r]!="string"&&fs(e[r],"".concat(t,"_").concat(r),n);else fs(e,t,n)}function fs(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Cl(e,t){if(t&&xe(t)){var n=e.on=e.on?G({},e.on):{};for(var r in t){var i=n[r],s=t[r];n[r]=i?[].concat(i,s):s}}return e}function Mo(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var s=e[i];R(s)?Mo(s,t,n):s&&(s.proxy&&(s.fn.proxy=!0),t[s.key]=s.fn)}return r&&(t.$key=r),t}function Sl(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];typeof r=="string"&&r&&(e[t[n]]=t[n+1])}return e}function Al(e,t){return typeof e=="string"?t+e:e}function zo(e){e._o=Tl,e._n=nn,e._s=ja,e._l=_l,e._t=yl,e._q=gt,e._i=xo,e._m=kl,e._f=bl,e._k=xl,e._b=wl,e._v=Rt,e._e=pt,e._u=Mo,e._g=Cl,e._d=Sl,e._p=Al}function ui(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var s=e[r],o=s.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(s.context===t||s.fnContext===t)&&o&&o.slot!=null){var a=o.slot,l=n[a]||(n[a]=[]);s.tag==="template"?l.push.apply(l,s.children||[]):l.push(s)}else(n.default||(n.default=[])).push(s)}for(var u in n)n[u].every(El)&&delete n[u];return n}function El(e){return e.isComment&&!e.asyncFactory||e.text===" "}function sn(e){return e.isComment&&e.asyncFactory}function Vt(e,t,n,r){var i,s=Object.keys(n).length>0,o=t?!!t.$stable:!s,a=t&&t.$key;if(!t)i={};else{if(t._normalized)return t._normalized;if(o&&r&&r!==ve&&a===r.$key&&!s&&!r.$hasNormal)return r;i={};for(var l in t)t[l]&&l[0]!=="$"&&(i[l]=Ol(e,n,l,t[l]))}for(var u in n)u in i||(i[u]=Il(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),ye(i,"$stable",o),ye(i,"$key",a),ye(i,"$hasNormal",s),i}function Ol(e,t,n,r){var i=function(){var s=Ie;nt(e);var o=arguments.length?r.apply(null,arguments):r({});o=o&&typeof o=="object"&&!R(o)?[o]:ci(o);var a=o&&o[0];return nt(s),o&&(!a||o.length===1&&a.isComment&&!sn(a))?void 0:o};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function Il(e,t){return function(){return e[t]}}function $l(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=Rl(e);nt(e),Ft();var i=Ye(n,null,[e._props||Io({}),r],e,"setup");if(Bt(),nt(),W(i))t.render=i;else if(le(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var s in i)s!=="__sfc"&&Fr(o,i,s)}else for(var s in i)ko(s)||Fr(e,i,s)}}function Rl(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};ye(t,"_v_attr_proxy",!0),jn(t,e.$attrs,ve,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};jn(t,e.$listeners,ve,e,"$listeners")}return e._listenersProxy},get slots(){return Ll(e)},emit:_o(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return Fr(e,t,n)})}}}function jn(e,t,n,r,i){var s=!1;for(var o in t)o in e?t[o]!==n[o]&&(s=!0):(s=!0,Dl(e,o,r,i));for(var o in e)o in t||(s=!0,delete e[o]);return s}function Dl(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Ll(e){return e._slotsProxy||Fo(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Fo(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Nl(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ui(t._renderChildren,r),e.$scopedSlots=n?Vt(e.$parent,n.data.scopedSlots,e.$slots):ve,e._c=function(s,o,a,l){return Wn(e,s,o,a,l,!1)},e.$createElement=function(s,o,a,l){return Wn(e,s,o,a,l,!0)};var i=n&&n.data;it(e,"$attrs",i&&i.attrs||ve,null,!0),it(e,"$listeners",t._parentListeners||ve,null,!0)}var Mn=null;function Pl(e){zo(e.prototype),e.prototype.$nextTick=function(t){return rr(t,this)},e.prototype._render=function(){var t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&t._isMounted&&(t.$scopedSlots=Vt(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Fo(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var s=Ie,o=Mn,a;try{nt(t),Mn=t,a=r.call(t._renderProxy,t.$createElement)}catch(l){vt(l,t,"render"),a=t._vnode}finally{Mn=o,nt(s)}return R(a)&&a.length===1&&(a=a[0]),a instanceof we||(a=pt()),a.parent=i,a}}function yr(e,t){return(e.__esModule||fn&&e[Symbol.toStringTag]==="Module")&&(e=e.default),le(e)?t.extend(e):e}function Ml(e,t,n,r,i){var s=pt();return s.asyncFactory=e,s.asyncMeta={data:t,context:n,children:r,tag:i},s}function zl(e,t){if(X(e.error)&&d(e.errorComp))return e.errorComp;if(d(e.resolved))return e.resolved;var n=Mn;if(n&&d(e.owners)&&e.owners.indexOf(n)===-1&&e.owners.push(n),X(e.loading)&&d(e.loadingComp))return e.loadingComp;if(n&&!d(e.owners)){var r=e.owners=[n],i=!0,s=null,o=null;n.$on("hook:destroyed",function(){return st(r,n)});var a=function(v){for(var _=0,y=r.length;_<y;_++)r[_].$forceUpdate();v&&(r.length=0,s!==null&&(clearTimeout(s),s=null),o!==null&&(clearTimeout(o),o=null))},l=Bn(function(v){e.resolved=yr(v,t),i?r.length=0:a(!0)}),u=Bn(function(v){d(e.errorComp)&&(e.error=!0,a(!0))}),f=e(l,u);return le(f)&&(Lr(f)?S(e.resolved)&&f.then(l,u):Lr(f.component)&&(f.component.then(l,u),d(f.error)&&(e.errorComp=yr(f.error,t)),d(f.loading)&&(e.loadingComp=yr(f.loading,t),f.delay===0?e.loading=!0:s=setTimeout(function(){s=null,S(e.resolved)&&S(e.error)&&(e.loading=!0,a(!1))},f.delay||200)),d(f.timeout)&&(o=setTimeout(function(){o=null,S(e.resolved)&&u(null)},f.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}function Bo(e){if(R(e))for(var t=0;t<e.length;t++){var n=e[t];if(d(n)&&(d(n.componentOptions)||sn(n)))return n}}var Fl=1,Uo=2;function Wn(e,t,n,r,i,s){return(R(n)||cn(n))&&(i=r,r=n,n=void 0),X(s)&&(i=Uo),Bl(e,t,n,r,i)}function Bl(e,t,n,r,i){if(d(n)&&d(n.__ob__)||(d(n)&&d(n.is)&&(t=n.is),!t))return pt();R(r)&&W(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Uo?r=ci(r):i===Fl&&(r=vl(r));var s,o;if(typeof t=="string"){var a=void 0;o=e.$vnode&&e.$vnode.ns||Se.getTagNamespace(t),Se.isReservedTag(t)?s=new we(Se.parsePlatformTagName(t),n,r,void 0,void 0,e):(!n||!n.pre)&&d(a=Zn(e.$options,"components",t))?s=ys(a,n,e,r,t):s=new we(t,n,r,void 0,void 0,e)}else s=ys(t,n,e,r);return R(s)?s:d(s)?(d(o)&&Ho(s,o),d(n)&&Ul(n),s):pt()}function Ho(e,t,n){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,n=!0),d(e.children))for(var r=0,i=e.children.length;r<i;r++){var s=e.children[r];d(s.tag)&&(S(s.ns)||X(n)&&s.tag!=="svg")&&Ho(s,t,n)}}function Ul(e){le(e.style)&&Pt(e.style),le(e.class)&&Pt(e.class)}function vt(e,t,n){Ft();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var s=0;s<i.length;s++)try{var o=i[s].call(r,e,t,n)===!1;if(o)return}catch(a){ps(a,r,"errorCaptured hook")}}ps(e,t,n)}finally{Bt()}}function Ye(e,t,n,r,i){var s;try{s=n?e.apply(t,n):e.call(t),s&&!s._isVue&&Lr(s)&&!s._handled&&(s.catch(function(o){return vt(o,r,i+" (Promise/async)")}),s._handled=!0)}catch(o){vt(o,r,i)}return s}function ps(e,t,n){if(Se.errorHandler)try{return Se.errorHandler.call(null,e,t,n)}catch(r){r!==e&&hs(r)}hs(e)}function hs(e,t,n){if(ke&&typeof console!="undefined")console.error(e);else throw e}var Ur=!1,Hr=[],jr=!1;function Cn(){jr=!1;var e=Hr.slice(0);Hr.length=0;for(var t=0;t<e.length;t++)e[t]()}var Jt;if(typeof Promise!="undefined"&&Nt(Promise)){var Hl=Promise.resolve();Jt=function(){Hl.then(Cn),nl&&setTimeout(Z)},Ur=!0}else if(!Mt&&typeof MutationObserver!="undefined"&&(Nt(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Sn=1,jl=new MutationObserver(Cn),ds=document.createTextNode(String(Sn));jl.observe(ds,{characterData:!0}),Jt=function(){Sn=(Sn+1)%2,ds.data=String(Sn)},Ur=!0}else typeof setImmediate!="undefined"&&Nt(setImmediate)?Jt=function(){setImmediate(Cn)}:Jt=function(){setTimeout(Cn,0)};function rr(e,t){var n;if(Hr.push(function(){if(e)try{e.call(t)}catch(r){vt(r,t,"nextTick")}else n&&n(t)}),jr||(jr=!0,Jt()),!e&&typeof Promise!="undefined")return new Promise(function(r){n=r})}function jo(e){return function(t,n){if(n===void 0&&(n=Ie),!!n)return Wl(n,e,t)}}function Wl(e,t,n){var r=e.$options;r[t]=Ko(r[t],n)}var Gl=jo("mounted"),ql=jo("updated"),Zl="2.7.16";var ms=new rn;function Pt(e){return zn(e,ms),ms.clear(),e}function zn(e,t){var n,r,i=R(e);if(!(!i&&!le(e)||e.__v_skip||Object.isFrozen(e)||e instanceof we)){if(e.__ob__){var s=e.__ob__.dep.id;if(t.has(s))return;t.add(s)}if(i)for(n=e.length;n--;)zn(e[n],t);else if(be(e))zn(e.value,t);else for(r=Object.keys(e),n=r.length;n--;)zn(e[r[n]],t)}}var Yl=0,pn=function(){function e(t,n,r,i,s){hl(this,ge&&!ge._vm?ge:t?t._scope:void 0),(this.vm=t)&&s&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++Yl,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new rn,this.newDepIds=new rn,this.expression="",W(n)?this.getter=n:(this.getter=el(n),this.getter||(this.getter=Z)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){Ft(this);var t,n=this.vm;try{t=this.getter.call(n,n)}catch(r){if(this.user)vt(r,n,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&Pt(t),Bt(),this.cleanupDeps()}return t},e.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},e.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var n=this.deps[t];this.newDepIds.has(n.id)||n.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():qr(this)},e.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||le(t)||this.deep){var n=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Ye(this.cb,this.vm,[t,n],this.vm,r)}else this.cb.call(this.vm,t,n)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&st(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function Xl(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Wo(e,t)}var on;function Kl(e,t){on.$on(e,t)}function Jl(e,t){on.$off(e,t)}function Ql(e,t){var n=on;return function r(){var i=t.apply(null,arguments);i!==null&&n.$off(e,r)}}function Wo(e,t,n){on=e,Lo(t,n||{},Kl,Jl,Ql,e),on=void 0}function Vl(e){var t=/^hook:/;e.prototype.$on=function(n,r){var i=this;if(R(n))for(var s=0,o=n.length;s<o;s++)i.$on(n[s],r);else(i._events[n]||(i._events[n]=[])).push(r),t.test(n)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(n,r){var i=this;function s(){i.$off(n,s),r.apply(i,arguments)}return s.fn=r,i.$on(n,s),i},e.prototype.$off=function(n,r){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(R(n)){for(var s=0,o=n.length;s<o;s++)i.$off(n[s],r);return i}var a=i._events[n];if(!a)return i;if(!r)return i._events[n]=null,i;for(var l,u=a.length;u--;)if(l=a[u],l===r||l.fn===r){a.splice(u,1);break}return i},e.prototype.$emit=function(n){var r=this,i=r._events[n];if(i){i=i.length>1?Nr(i):i;for(var s=Nr(arguments,1),o='event handler for "'.concat(n,'"'),a=0,l=i.length;a<l;a++)Ye(i[a],r,s,r,o)}return r}}var ht=null;function Go(e){var t=ht;return ht=e,function(){ht=t}}function ec(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function tc(e){e.prototype._update=function(t,n){var r=this,i=r.$el,s=r._vnode,o=Go(r);r._vnode=t,s?r.$el=r.__patch__(s,t):r.$el=r.__patch__(r.$el,t,n,!1),o(),i&&(i.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var a=r;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){$e(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;n&&!n._isBeingDestroyed&&!t.$options.abstract&&st(n.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),$e(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function nc(e,t,n){e.$el=t,e.$options.render||(e.$options.render=pt),$e(e,"beforeMount");var r;r=function(){e._update(e._render(),n)};var i={before:function(){e._isMounted&&!e._isDestroyed&&$e(e,"beforeUpdate")}};new pn(e,r,Z,i,!0),n=!1;var s=e._preWatchers;if(s)for(var o=0;o<s.length;o++)s[o].run();return e.$vnode==null&&(e._isMounted=!0,$e(e,"mounted")),e}function rc(e,t,n,r,i){var s=r.data.scopedSlots,o=e.$scopedSlots,a=!!(s&&!s.$stable||o!==ve&&!o.$stable||s&&e.$scopedSlots.$key!==s.$key||!s&&e.$scopedSlots.$key),l=!!(i||e.$options._renderChildren||a),u=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i;var f=r.data.attrs||ve;e._attrsProxy&&jn(e._attrsProxy,f,u.data&&u.data.attrs||ve,e,"$attrs")&&(l=!0),e.$attrs=f,n=n||ve;var v=e.$options._parentListeners;if(e._listenersProxy&&jn(e._listenersProxy,n,v||ve,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,Wo(e,n,v),t&&e.$options.props){rt(!1);for(var _=e._props,y=e.$options._propKeys||[],b=0;b<y.length;b++){var D=y[b],A=e.$options.props;_[D]=gi(D,A,t,e)}rt(!0),e.$options.propsData=t}l&&(e.$slots=ui(i,r.context),e.$forceUpdate())}function qo(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function fi(e,t){if(t){if(e._directInactive=!1,qo(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var n=0;n<e.$children.length;n++)fi(e.$children[n]);$e(e,"activated")}}function Zo(e,t){if(!(t&&(e._directInactive=!0,qo(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Zo(e.$children[n]);$e(e,"deactivated")}}function $e(e,t,n,r){r===void 0&&(r=!0),Ft();var i=Ie,s=dl();r&&nt(e);var o=e.$options[t],a="".concat(t," hook");if(o)for(var l=0,u=o.length;l<u;l++)Ye(o[l],e,null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&(nt(i),s&&s.on()),Bt()}var We=[],pi=[],Gn={},Wr=!1,hi=!1,Dt=0;function ic(){Dt=We.length=pi.length=0,Gn={},Wr=hi=!1}var Yo=0,Gr=Date.now;if(ke&&!Mt){var br=window.performance;br&&typeof br.now=="function"&&Gr()>document.createEvent("Event").timeStamp&&(Gr=function(){return br.now()})}var sc=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function oc(){Yo=Gr(),hi=!0;var e,t;for(We.sort(sc),Dt=0;Dt<We.length;Dt++)e=We[Dt],e.before&&e.before(),t=e.id,Gn[t]=null,e.run();var n=pi.slice(),r=We.slice();ic(),cc(n),ac(r),il(),Un&&Se.devtools&&Un.emit("flush")}function ac(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&$e(r,"updated")}}function lc(e){e._inactive=!1,pi.push(e)}function cc(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,fi(e[t],!0)}function qr(e){var t=e.id;if(Gn[t]==null&&!(e===qe.target&&e.noRecurse)){if(Gn[t]=!0,!hi)We.push(e);else{for(var n=We.length-1;n>Dt&&We[n].id>e.id;)n--;We.splice(n+1,0,e)}Wr||(Wr=!0,rr(oc))}}function uc(e){var t=e.$options.provide;if(t){var n=W(t)?t.call(e):t;if(!le(n))return;for(var r=ml(e),i=fn?Reflect.ownKeys(n):Object.keys(n),s=0;s<i.length;s++){var o=i[s];Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(n,o))}}}function fc(e){var t=Xo(e.$options.inject,e);t&&(rt(!1),Object.keys(t).forEach(function(n){it(e,n,t[n])}),rt(!0))}function Xo(e,t){if(e){for(var n=Object.create(null),r=fn?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var s=r[i];if(s!=="__ob__"){var o=e[s].from;if(o in t._provided)n[s]=t._provided[o];else if("default"in e[s]){var a=e[s].default;n[s]=W(a)?a.call(t):a}}}return n}}function di(e,t,n,r,i){var s=this,o=i.options,a;pe(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var l=X(o._compiled),u=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||ve,this.injections=Xo(o.inject,r),this.slots=function(){return s.$slots||Vt(r,e.scopedSlots,s.$slots=ui(n,r)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Vt(r,e.scopedSlots,this.slots())}}),l&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=Vt(r,e.scopedSlots,this.$slots)),o._scopeId?this._c=function(f,v,_,y){var b=Wn(a,f,v,_,y,u);return b&&!R(b)&&(b.fnScopeId=o._scopeId,b.fnContext=r),b}:this._c=function(f,v,_,y){return Wn(a,f,v,_,y,u)}}zo(di.prototype);function pc(e,t,n,r,i){var s=e.options,o={},a=s.props;if(d(a))for(var l in a)o[l]=gi(l,a,t||ve);else d(n.attrs)&&vs(o,n.attrs),d(n.props)&&vs(o,n.props);var u=new di(n,o,i,r,e),f=s.render.call(null,u._c,u);if(f instanceof we)return gs(f,n,u.parent,s);if(R(f)){for(var v=ci(f)||[],_=new Array(v.length),y=0;y<v.length;y++)_[y]=gs(v[y],n,u.parent,s);return _}}function gs(e,t,n,r,i){var s=zr(e);return s.fnContext=n,s.fnOptions=r,t.slot&&((s.data||(s.data={})).slot=t.slot),s}function vs(e,t){for(var n in t)e[mt(n)]=t[n]}function qn(e){return e.name||e.__name||e._componentTag}var mi={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;mi.prepatch(n,n)}else{var r=e.componentInstance=hc(e,ht);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;rc(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,$e(n,"mounted")),e.data.keepAlive&&(t._isMounted?lc(n):fi(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Zo(t,!0):t.$destroy())}},_s=Object.keys(mi);function ys(e,t,n,r,i){if(!S(e)){var s=n.$options._base;if(le(e)&&(e=s.extend(e)),typeof e=="function"){var o;if(S(e.cid)&&(o=e,e=zl(o,s),e===void 0))return Ml(o,t,n,r,i);t=t||{},_i(e),d(t.model)&&gc(e.options,t);var a=gl(t,e);if(X(e.options.functional))return pc(e,a,t,n,r);var l=t.on;if(t.on=t.nativeOn,X(e.options.abstract)){var u=t.slot;t={},u&&(t.slot=u)}dc(t);var f=qn(e.options)||i,v=new we("vue-component-".concat(e.cid).concat(f?"-".concat(f):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:l,tag:i,children:r},o);return v}}}function hc(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return d(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function dc(e){for(var t=e.hook||(e.hook={}),n=0;n<_s.length;n++){var r=_s[n],i=t[r],s=mi[r];i!==s&&!(i&&i._merged)&&(t[r]=i?mc(s,i):s)}}function mc(e,t){var n=function(r,i){e(r,i),t(r,i)};return n._merged=!0,n}function gc(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),s=i[r],o=t.model.callback;d(s)?(R(s)?s.indexOf(o)===-1:s!==o)&&(i[r]=[o].concat(s)):i[r]=o}var vc=Z,ze=Se.optionMergeStrategies;function an(e,t,n){if(n===void 0&&(n=!0),!t)return e;for(var r,i,s,o=fn?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)r=o[a],r!=="__ob__"&&(i=e[r],s=t[r],!n||!pe(e,r)?li(e,r,s):i!==s&&xe(i)&&xe(s)&&an(i,s));return e}function bs(e,t,n){return n?function(){var i=W(t)?t.call(n,n):t,s=W(e)?e.call(n,n):e;return i?an(i,s):s}:t?e?function(){return an(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:t:e}ze.data=function(e,t,n){return n?bs(e,t,n):t&&typeof t!="function"?e:bs(e,t)};function Ko(e,t){var n=t?e?e.concat(t):R(t)?t:[t]:e;return n&&_c(n)}function _c(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}wo.forEach(function(e){ze[e]=Ko});function yc(e,t,n,r){var i=Object.create(e||null);return t?G(i,t):i}er.forEach(function(e){ze[e+"s"]=yc});ze.watch=function(e,t,n,r){if(e===Mr&&(e=void 0),t===Mr&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};G(i,e);for(var s in t){var o=i[s],a=t[s];o&&!R(o)&&(o=[o]),i[s]=o?o.concat(a):R(a)?a:[a]}return i};ze.props=ze.methods=ze.inject=ze.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return G(i,e),t&&G(i,t),i};ze.provide=function(e,t){return e?function(){var n=Object.create(null);return an(n,W(e)?e.call(this):e),t&&an(n,W(t)?t.call(this):t,!1),n}:t};var bc=function(e,t){return t===void 0?e:t};function xc(e,t){var n=e.props;if(n){var r={},i,s,o;if(R(n))for(i=n.length;i--;)s=n[i],typeof s=="string"&&(o=mt(s),r[o]={type:null});else if(xe(n))for(var a in n)s=n[a],o=mt(a),r[o]=xe(s)?s:{type:s};e.props=r}}function wc(e,t){var n=e.inject;if(n){var r=e.inject={};if(R(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(xe(n))for(var s in n){var o=n[s];r[s]=xe(o)?G({from:s},o):{from:o}}}}function kc(e){var t=e.directives;if(t)for(var n in t){var r=t[n];W(r)&&(t[n]={bind:r,update:r})}}function _t(e,t,n){if(W(t)&&(t=t.options),xc(t),wc(t),kc(t),!t._base&&(t.extends&&(e=_t(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=_t(e,t.mixins[r],n);var s={},o;for(o in e)a(o);for(o in t)pe(e,o)||a(o);function a(l){var u=ze[l]||bc;s[l]=u(e[l],t[l],n,l)}return s}function Zn(e,t,n,r){if(typeof n=="string"){var i=e[t];if(pe(i,n))return i[n];var s=mt(n);if(pe(i,s))return i[s];var o=Ya(s);if(pe(i,o))return i[o];var a=i[n]||i[s]||i[o];return a}}function gi(e,t,n,r){var i=t[e],s=!pe(n,e),o=n[e],a=ws(Boolean,i.type);if(a>-1){if(s&&!pe(i,"default"))o=!1;else if(o===""||o===un(e)){var l=ws(String,i.type);(l<0||a<l)&&(o=!0)}}if(o===void 0){o=Tc(r,i,e);var u=ai;rt(!0),Ze(o),rt(u)}return o}function Tc(e,t,n){if(pe(t,"default")){var r=t.default;return e&&e.$options.propsData&&e.$options.propsData[n]===void 0&&e._props[n]!==void 0?e._props[n]:W(r)&&Zr(t.type)!=="Function"?r.call(e):r}}var Cc=/^\s*function (\w+)/;function Zr(e){var t=e&&e.toString().match(Cc);return t?t[1]:""}function xs(e,t){return Zr(e)===Zr(t)}function ws(e,t){if(!R(t))return xs(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(xs(t[n],e))return n;return-1}var Ve={enumerable:!0,configurable:!0,get:Z,set:Z};function vi(e,t,n){Ve.get=function(){return this[t][n]},Ve.set=function(i){this[t][n]=i},Object.defineProperty(e,n,Ve)}function Sc(e){var t=e.$options;if(t.props&&Ac(e,t.props),$l(e),t.methods&&Rc(e,t.methods),t.data)Ec(e);else{var n=Ze(e._data={});n&&n.vmCount++}t.computed&&$c(e,t.computed),t.watch&&t.watch!==Mr&&Dc(e,t.watch)}function Ac(e,t){var n=e.$options.propsData||{},r=e._props=Io({}),i=e.$options._propKeys=[],s=!e.$parent;s||rt(!1);var o=function(l){i.push(l);var u=gi(l,t,n,e);it(r,l,u,void 0,!0),l in e||vi(e,"_props",l)};for(var a in t)o(a);rt(!0)}function Ec(e){var t=e.$options.data;t=e._data=W(t)?Oc(t,e):t||{},xe(t)||(t={});var n=Object.keys(t),r=e.$options.props;e.$options.methods;for(var i=n.length;i--;){var s=n[i];r&&pe(r,s)||ko(s)||vi(e,"_data",s)}var o=Ze(t);o&&o.vmCount++}function Oc(e,t){Ft();try{return e.call(t,t)}catch(n){return vt(n,t,"data()"),{}}finally{Bt()}}var Ic={lazy:!0};function $c(e,t){var n=e._computedWatchers=Object.create(null),r=ot();for(var i in t){var s=t[i],o=W(s)?s:s.get;r||(n[i]=new pn(e,o||Z,Z,Ic)),i in e||Jo(e,i,s)}}function Jo(e,t,n){var r=!ot();W(n)?(Ve.get=r?ks(t):Ts(n),Ve.set=Z):(Ve.get=n.get?r&&n.cache!==!1?ks(t):Ts(n.get):Z,Ve.set=n.set||Z),Object.defineProperty(e,t,Ve)}function ks(e){return function(){var n=this._computedWatchers&&this._computedWatchers[e];if(n)return n.dirty&&n.evaluate(),qe.target&&n.depend(),n.value}}function Ts(e){return function(){return e.call(this,this)}}function Rc(e,t){e.$options.props;for(var n in t)e[n]=typeof t[n]!="function"?Z:_o(t[n],e)}function Dc(e,t){for(var n in t){var r=t[n];if(R(r))for(var i=0;i<r.length;i++)Yr(e,n,r[i]);else Yr(e,n,r)}}function Yr(e,t,n,r){return xe(n)&&(r=n,n=n.handler),typeof n=="string"&&(n=e[n]),e.$watch(t,n,r)}function Lc(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=li,e.prototype.$delete=Eo,e.prototype.$watch=function(r,i,s){var o=this;if(xe(i))return Yr(o,r,i,s);s=s||{},s.user=!0;var a=new pn(o,r,i,s);if(s.immediate){var l='callback for immediate watcher "'.concat(a.expression,'"');Ft(),Ye(i,o,[a.value],o,l),Bt()}return function(){a.teardown()}}}var Nc=0;function Pc(e){e.prototype._init=function(t){var n=this;n._uid=Nc++,n._isVue=!0,n.__v_skip=!0,n._scope=new pl(!0),n._scope.parent=void 0,n._scope._vm=!0,t&&t._isComponent?Mc(n,t):n.$options=_t(_i(n.constructor),t||{},n),n._renderProxy=n,n._self=n,ec(n),Xl(n),Nl(n),$e(n,"beforeCreate",void 0,!1),fc(n),Sc(n),uc(n),$e(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function Mc(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function _i(e){var t=e.options;if(e.super){var n=_i(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=zc(e);i&&G(e.extendOptions,i),t=e.options=_t(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function zc(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function V(e){this._init(e)}Pc(V);Lc(V);Vl(V);tc(V);Pl(V);function Fc(e){e.use=function(t){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(t)>-1)return this;var r=Nr(arguments,1);return r.unshift(this),W(t.install)?t.install.apply(t,r):W(t)&&t.apply(null,r),n.push(t),this}}function Bc(e){e.mixin=function(t){return this.options=_t(this.options,t),this}}function Uc(e){e.cid=0;var t=1;e.extend=function(n){n=n||{};var r=this,i=r.cid,s=n._Ctor||(n._Ctor={});if(s[i])return s[i];var o=qn(n)||qn(r.options),a=function(u){this._init(u)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=_t(r.options,n),a.super=r,a.options.props&&Hc(a),a.options.computed&&jc(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,er.forEach(function(l){a[l]=r[l]}),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=n,a.sealedOptions=G({},a.options),s[i]=a,a}}function Hc(e){var t=e.options.props;for(var n in t)vi(e.prototype,"_props",n)}function jc(e){var t=e.options.computed;for(var n in t)Jo(e.prototype,n,t[n])}function Wc(e){er.forEach(function(t){e[t]=function(n,r){return r?(t==="component"&&xe(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),t==="directive"&&W(r)&&(r={bind:r,update:r}),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}})}function Cs(e){return e&&(qn(e.Ctor.options)||e.tag)}function An(e,t){return R(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:Ha(e)?e.test(t):!1}function Ss(e,t){var n=e.cache,r=e.keys,i=e._vnode,s=e.$vnode;for(var o in n){var a=n[o];if(a){var l=a.name;l&&!t(l)&&Xr(n,o,r,i)}}s.componentOptions.children=void 0}function Xr(e,t,n,r){var i=e[t];i&&(!r||i.tag!==r.tag)&&i.componentInstance.$destroy(),e[t]=null,st(n,t)}var As=[String,RegExp,Array],Gc={name:"keep-alive",abstract:!0,props:{include:As,exclude:As,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var s=r.tag,o=r.componentInstance,a=r.componentOptions;t[i]={name:Cs(a),tag:s,componentInstance:o},n.push(i),this.max&&n.length>parseInt(this.max)&&Xr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Xr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Ss(e,function(n){return An(t,n)})}),this.$watch("exclude",function(t){Ss(e,function(n){return!An(t,n)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Bo(e),n=t&&t.componentOptions;if(n){var r=Cs(n),i=this,s=i.include,o=i.exclude;if(s&&(!r||!An(s,r))||o&&r&&An(o,r))return t;var a=this,l=a.cache,u=a.keys,f=t.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[f]?(t.componentInstance=l[f].componentInstance,st(u,f),u.push(f)):(this.vnodeToCache=t,this.keyToCache=f),t.data.keepAlive=!0}return t||e&&e[0]}},qc={KeepAlive:Gc};function Zc(e){var t={};t.get=function(){return Se},Object.defineProperty(e,"config",t),e.util={warn:vc,extend:G,mergeOptions:_t,defineReactive:it},e.set=li,e.delete=Eo,e.nextTick=rr,e.observable=function(n){return Ze(n),n},e.options=Object.create(null),er.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,G(e.options.components,qc),Fc(e),Bc(e),Uc(e),Wc(e)}Zc(V);Object.defineProperty(V.prototype,"$isServer",{get:ot});Object.defineProperty(V.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(V,"FunctionalRenderContext",{value:di});V.version=Zl;var Yc=Re("style,class"),Xc=Re("input,textarea,option,select,progress"),Kc=function(e,t,n){return n==="value"&&Xc(e)&&t!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},Qo=Re("contenteditable,draggable,spellcheck"),Jc=Re("events,caret,typing,plaintext-only"),Qc=function(e,t){return Yn(t)||t==="false"?"false":e==="contenteditable"&&Jc(t)?t:"true"},Vc=Re("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Kr="http://www.w3.org/1999/xlink",yi=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},Vo=function(e){return yi(e)?e.slice(6,e.length):""},Yn=function(e){return e==null||e===!1};function eu(e){for(var t=e.data,n=e,r=e;d(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=Es(r.data,t));for(;d(n=n.parent);)n&&n.data&&(t=Es(t,n.data));return tu(t.staticClass,t.class)}function Es(e,t){return{staticClass:bi(e.staticClass,t.staticClass),class:d(e.class)?[e.class,t.class]:t.class}}function tu(e,t){return d(e)||d(t)?bi(e,xi(t)):""}function bi(e,t){return e?t?e+" "+t:e:t||""}function xi(e){return Array.isArray(e)?nu(e):le(e)?ru(e):typeof e=="string"?e:""}function nu(e){for(var t="",n,r=0,i=e.length;r<i;r++)d(n=xi(e[r]))&&n!==""&&(t&&(t+=" "),t+=n);return t}function ru(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var iu={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},su=Re("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),wi=Re("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ea=function(e){return su(e)||wi(e)};function ou(e){if(wi(e))return"svg";if(e==="math")return"math"}var En=Object.create(null);function au(e){if(!ke)return!0;if(ea(e))return!1;if(e=e.toLowerCase(),En[e]!=null)return En[e];var t=document.createElement(e);return e.indexOf("-")>-1?En[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:En[e]=/HTMLUnknownElement/.test(t.toString())}var Jr=Re("text,number,password,search,email,tel,url");function lu(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function cu(e,t){var n=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function uu(e,t){return document.createElementNS(iu[e],t)}function fu(e){return document.createTextNode(e)}function pu(e){return document.createComment(e)}function hu(e,t,n){e.insertBefore(t,n)}function du(e,t){e.removeChild(t)}function mu(e,t){e.appendChild(t)}function gu(e){return e.parentNode}function vu(e){return e.nextSibling}function _u(e){return e.tagName}function yu(e,t){e.textContent=t}function bu(e,t){e.setAttribute(t,"")}var xu=Object.freeze({__proto__:null,createElement:cu,createElementNS:uu,createTextNode:fu,createComment:pu,insertBefore:hu,removeChild:du,appendChild:mu,parentNode:gu,nextSibling:vu,tagName:_u,setTextContent:yu,setStyleScope:bu}),wu={create:function(e,t){Lt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Lt(e,!0),Lt(t))},destroy:function(e){Lt(e,!0)}};function Lt(e,t){var n=e.data.ref;if(d(n)){var r=e.context,i=e.componentInstance||e.elm,s=t?null:i,o=t?void 0:i;if(W(n)){Ye(n,r,[s],r,"template ref function");return}var a=e.data.refInFor,l=typeof n=="string"||typeof n=="number",u=be(n),f=r.$refs;if(l||u){if(a){var v=l?f[n]:n.value;t?R(v)&&st(v,i):R(v)?v.includes(i)||v.push(i):l?(f[n]=[i],Os(r,n,f[n])):n.value=[i]}else if(l){if(t&&f[n]!==i)return;f[n]=o,Os(r,n,s)}else if(u){if(t&&n.value!==i)return;n.value=s}}}}function Os(e,t,n){var r=e._setupState;r&&pe(r,t)&&(be(r[t])?r[t].value=n:r[t]=n)}var tt=new we("",{},[]),Gt=["create","activate","update","remove","destroy"];function ut(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&d(e.data)===d(t.data)&&ku(e,t)||X(e.isAsyncPlaceholder)&&S(t.asyncFactory.error))}function ku(e,t){if(e.tag!=="input")return!0;var n,r=d(n=e.data)&&d(n=n.attrs)&&n.type,i=d(n=t.data)&&d(n=n.attrs)&&n.type;return r===i||Jr(r)&&Jr(i)}function Tu(e,t,n){var r,i,s={};for(r=t;r<=n;++r)i=e[r].key,d(i)&&(s[i]=r);return s}function Cu(e){var t,n,r={},i=e.modules,s=e.nodeOps;for(t=0;t<Gt.length;++t)for(r[Gt[t]]=[],n=0;n<i.length;++n)d(i[n][Gt[t]])&&r[Gt[t]].push(i[n][Gt[t]]);function o(h){return new we(s.tagName(h).toLowerCase(),{},[],void 0,h)}function a(h,p){function m(){--m.listeners===0&&l(h)}return m.listeners=p,m}function l(h){var p=s.parentNode(h);d(p)&&s.removeChild(p,h)}function u(h,p,m,w,T,$,C){if(d(h.elm)&&d($)&&(h=$[C]=zr(h)),h.isRootInsert=!T,!f(h,p,m,w)){var E=h.data,N=h.children,P=h.tag;d(P)?(h.elm=h.ns?s.createElementNS(h.ns,P):s.createElement(P,h),Y(h),b(h,N,p),d(E)&&A(h,p),y(m,h.elm,w)):X(h.isComment)?(h.elm=s.createComment(h.text),y(m,h.elm,w)):(h.elm=s.createTextNode(h.text),y(m,h.elm,w))}}function f(h,p,m,w){var T=h.data;if(d(T)){var $=d(h.componentInstance)&&T.keepAlive;if(d(T=T.hook)&&d(T=T.init)&&T(h,!1),d(h.componentInstance))return v(h,p),y(m,h.elm,w),X($)&&_(h,p,m,w),!0}}function v(h,p){d(h.data.pendingInsert)&&(p.push.apply(p,h.data.pendingInsert),h.data.pendingInsert=null),h.elm=h.componentInstance.$el,D(h)?(A(h,p),Y(h)):(Lt(h),p.push(h))}function _(h,p,m,w){for(var T,$=h;$.componentInstance;)if($=$.componentInstance._vnode,d(T=$.data)&&d(T=T.transition)){for(T=0;T<r.activate.length;++T)r.activate[T](tt,$);p.push($);break}y(m,h.elm,w)}function y(h,p,m){d(h)&&(d(m)?s.parentNode(m)===h&&s.insertBefore(h,p,m):s.appendChild(h,p))}function b(h,p,m){if(R(p))for(var w=0;w<p.length;++w)u(p[w],m,h.elm,null,!0,p,w);else cn(h.text)&&s.appendChild(h.elm,s.createTextNode(String(h.text)))}function D(h){for(;h.componentInstance;)h=h.componentInstance._vnode;return d(h.tag)}function A(h,p){for(var m=0;m<r.create.length;++m)r.create[m](tt,h);t=h.data.hook,d(t)&&(d(t.create)&&t.create(tt,h),d(t.insert)&&p.push(h))}function Y(h){var p;if(d(p=h.fnScopeId))s.setStyleScope(h.elm,p);else for(var m=h;m;)d(p=m.context)&&d(p=p.$options._scopeId)&&s.setStyleScope(h.elm,p),m=m.parent;d(p=ht)&&p!==h.context&&p!==h.fnContext&&d(p=p.$options._scopeId)&&s.setStyleScope(h.elm,p)}function I(h,p,m,w,T,$){for(;w<=T;++w)u(m[w],$,h,p,!1,m,w)}function se(h){var p,m,w=h.data;if(d(w))for(d(p=w.hook)&&d(p=p.destroy)&&p(h),p=0;p<r.destroy.length;++p)r.destroy[p](h);if(d(p=h.children))for(m=0;m<h.children.length;++m)se(h.children[m])}function ee(h,p,m){for(;p<=m;++p){var w=h[p];d(w)&&(d(w.tag)?(ce(w),se(w)):l(w.elm))}}function ce(h,p){if(d(p)||d(h.data)){var m,w=r.remove.length+1;for(d(p)?p.listeners+=w:p=a(h.elm,w),d(m=h.componentInstance)&&d(m=m._vnode)&&d(m.data)&&ce(m,p),m=0;m<r.remove.length;++m)r.remove[m](h,p);d(m=h.data.hook)&&d(m=m.remove)?m(h,p):p()}else l(h.elm)}function H(h,p,m,w,T){for(var $=0,C=0,E=p.length-1,N=p[0],P=p[E],M=m.length-1,J=m[0],z=m[M],De,q,Le,B,Be=!T;$<=E&&C<=M;)S(N)?N=p[++$]:S(P)?P=p[--E]:ut(N,J)?(ue(N,J,w,m,C),N=p[++$],J=m[++C]):ut(P,z)?(ue(P,z,w,m,M),P=p[--E],z=m[--M]):ut(N,z)?(ue(N,z,w,m,M),Be&&s.insertBefore(h,N.elm,s.nextSibling(P.elm)),N=p[++$],z=m[--M]):ut(P,J)?(ue(P,J,w,m,C),Be&&s.insertBefore(h,P.elm,N.elm),P=p[--E],J=m[++C]):(S(De)&&(De=Tu(p,$,E)),q=d(J.key)?De[J.key]:K(J,p,$,E),S(q)?u(J,w,h,N.elm,!1,m,C):(Le=p[q],ut(Le,J)?(ue(Le,J,w,m,C),p[q]=void 0,Be&&s.insertBefore(h,Le.elm,N.elm)):u(J,w,h,N.elm,!1,m,C)),J=m[++C]);$>E?(B=S(m[M+1])?null:m[M+1].elm,I(h,B,m,C,M,w)):C>M&&ee(p,$,E)}function K(h,p,m,w){for(var T=m;T<w;T++){var $=p[T];if(d($)&&ut(h,$))return T}}function ue(h,p,m,w,T,$){if(h!==p){d(p.elm)&&d(w)&&(p=w[T]=zr(p));var C=p.elm=h.elm;if(X(h.isAsyncPlaceholder)){d(p.asyncFactory.resolved)?Xe(h.elm,p,m):p.isAsyncPlaceholder=!0;return}if(X(p.isStatic)&&X(h.isStatic)&&p.key===h.key&&(X(p.isCloned)||X(p.isOnce))){p.componentInstance=h.componentInstance;return}var E,N=p.data;d(N)&&d(E=N.hook)&&d(E=E.prepatch)&&E(h,p);var P=h.children,M=p.children;if(d(N)&&D(p)){for(E=0;E<r.update.length;++E)r.update[E](h,p);d(E=N.hook)&&d(E=E.update)&&E(h,p)}S(p.text)?d(P)&&d(M)?P!==M&&H(C,P,M,m,$):d(M)?(d(h.text)&&s.setTextContent(C,""),I(C,null,M,0,M.length-1,m)):d(P)?ee(P,0,P.length-1):d(h.text)&&s.setTextContent(C,""):h.text!==p.text&&s.setTextContent(C,p.text),d(N)&&d(E=N.hook)&&d(E=E.postpatch)&&E(h,p)}}function Fe(h,p,m){if(X(m)&&d(h.parent))h.parent.data.pendingInsert=p;else for(var w=0;w<p.length;++w)p[w].data.hook.insert(p[w])}var at=Re("attrs,class,staticClass,staticStyle,key");function Xe(h,p,m,w){var T,$=p.tag,C=p.data,E=p.children;if(w=w||C&&C.pre,p.elm=h,X(p.isComment)&&d(p.asyncFactory))return p.isAsyncPlaceholder=!0,!0;if(d(C)&&(d(T=C.hook)&&d(T=T.init)&&T(p,!0),d(T=p.componentInstance)))return v(p,m),!0;if(d($)){if(d(E))if(!h.hasChildNodes())b(p,E,m);else if(d(T=C)&&d(T=T.domProps)&&d(T=T.innerHTML)){if(T!==h.innerHTML)return!1}else{for(var N=!0,P=h.firstChild,M=0;M<E.length;M++){if(!P||!Xe(P,E[M],m,w)){N=!1;break}P=P.nextSibling}if(!N||P)return!1}if(d(C)){var J=!1;for(var z in C)if(!at(z)){J=!0,A(p,m);break}!J&&C.class&&Pt(C.class)}}else h.data!==p.text&&(h.data=p.text);return!0}return function(p,m,w,T){if(S(m)){d(p)&&se(p);return}var $=!1,C=[];if(S(p))$=!0,u(m,C);else{var E=d(p.nodeType);if(!E&&ut(p,m))ue(p,m,C,null,null,T);else{if(E){if(p.nodeType===1&&p.hasAttribute(Vi)&&(p.removeAttribute(Vi),w=!0),X(w)&&Xe(p,m,C))return Fe(m,C,!0),p;p=o(p)}var N=p.elm,P=s.parentNode(N);if(u(m,C,N._leaveCb?null:P,s.nextSibling(N)),d(m.parent))for(var M=m.parent,J=D(m);M;){for(var z=0;z<r.destroy.length;++z)r.destroy[z](M);if(M.elm=m.elm,J){for(var De=0;De<r.create.length;++De)r.create[De](tt,M);var q=M.data.hook.insert;if(q.merged)for(var Le=q.fns.slice(1),B=0;B<Le.length;B++)Le[B]()}else Lt(M);M=M.parent}d(P)?ee([p],0,0):d(p.tag)&&se(p)}}return Fe(m,C,$),m.elm}}var Su={create:xr,update:xr,destroy:function(t){xr(t,tt)}};function xr(e,t){(e.data.directives||t.data.directives)&&Au(e,t)}function Au(e,t){var n=e===tt,r=t===tt,i=Is(e.data.directives,e.context),s=Is(t.data.directives,t.context),o=[],a=[],l,u,f;for(l in s)u=i[l],f=s[l],u?(f.oldValue=u.value,f.oldArg=u.arg,qt(f,"update",t,e),f.def&&f.def.componentUpdated&&a.push(f)):(qt(f,"bind",t,e),f.def&&f.def.inserted&&o.push(f));if(o.length){var v=function(){for(var _=0;_<o.length;_++)qt(o[_],"inserted",t,e)};n?et(t,"insert",v):v()}if(a.length&&et(t,"postpatch",function(){for(var _=0;_<a.length;_++)qt(a[_],"componentUpdated",t,e)}),!n)for(l in i)s[l]||qt(i[l],"unbind",e,e,r)}var Eu=Object.create(null);function Is(e,t){var n=Object.create(null);if(!e)return n;var r,i;for(r=0;r<e.length;r++){if(i=e[r],i.modifiers||(i.modifiers=Eu),n[Ou(i)]=i,t._setupState&&t._setupState.__sfc){var s=i.def||Zn(t,"_setupState","v-"+i.name);typeof s=="function"?i.def={bind:s,update:s}:i.def=s}i.def=i.def||Zn(t.$options,"directives",i.name)}return n}function Ou(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function qt(e,t,n,r,i){var s=e.def&&e.def[t];if(s)try{s(n.elm,e,n,r,i)}catch(o){vt(o,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var Iu=[wu,Su];function $s(e,t){var n=t.componentOptions;if(!(d(n)&&n.Ctor.options.inheritAttrs===!1)&&!(S(e.data.attrs)&&S(t.data.attrs))){var r,i,s,o=t.elm,a=e.data.attrs||{},l=t.data.attrs||{};(d(l.__ob__)||X(l._v_attr_proxy))&&(l=t.data.attrs=G({},l));for(r in l)i=l[r],s=a[r],s!==i&&Rs(o,r,i,t.data.pre);(Mt||To)&&l.value!==a.value&&Rs(o,"value",l.value);for(r in a)S(l[r])&&(yi(r)?o.removeAttributeNS(Kr,Vo(r)):Qo(r)||o.removeAttribute(r))}}function Rs(e,t,n,r){r||e.tagName.indexOf("-")>-1?Ds(e,t,n):Vc(t)?Yn(n)?e.removeAttribute(t):(n=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,n)):Qo(t)?e.setAttribute(t,Qc(t,n)):yi(t)?Yn(n)?e.removeAttributeNS(Kr,Vo(t)):e.setAttributeNS(Kr,t,n):Ds(e,t,n)}function Ds(e,t,n){if(Yn(n))e.removeAttribute(t);else{if(Mt&&!zt&&e.tagName==="TEXTAREA"&&t==="placeholder"&&n!==""&&!e.__ieph){var r=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var $u={create:$s,update:$s};function Ls(e,t){var n=t.elm,r=t.data,i=e.data;if(!(S(r.staticClass)&&S(r.class)&&(S(i)||S(i.staticClass)&&S(i.class)))){var s=eu(t),o=n._transitionClasses;d(o)&&(s=bi(s,xi(o))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ru={create:Ls,update:Ls},wr="__r",kr="__c";function Du(e){if(d(e[wr])){var t=Mt?"change":"input";e[t]=[].concat(e[wr],e[t]||[]),delete e[wr]}d(e[kr])&&(e.change=[].concat(e[kr],e.change||[]),delete e[kr])}var ln;function Lu(e,t,n){var r=ln;return function i(){var s=t.apply(null,arguments);s!==null&&ta(e,i,n,r)}}var Nu=Ur&&!(es&&Number(es[1])<=53);function Pu(e,t,n,r){if(Nu){var i=Yo,s=t;t=s._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=i||o.timeStamp<=0||o.target.ownerDocument!==document)return s.apply(this,arguments)}}ln.addEventListener(e,t,Co?{capture:n,passive:r}:n)}function ta(e,t,n,r){(r||ln).removeEventListener(e,t._wrapper||t,n)}function Tr(e,t){if(!(S(e.data.on)&&S(t.data.on))){var n=t.data.on||{},r=e.data.on||{};ln=t.elm||e.elm,Du(n),Lo(n,r,Pu,ta,Lu,t.context),ln=void 0}}var Mu={create:Tr,update:Tr,destroy:function(e){return Tr(e,tt)}},On;function Ns(e,t){if(!(S(e.data.domProps)&&S(t.data.domProps))){var n,r,i=t.elm,s=e.data.domProps||{},o=t.data.domProps||{};(d(o.__ob__)||X(o._v_attr_proxy))&&(o=t.data.domProps=G({},o));for(n in s)n in o||(i[n]="");for(n in o){if(r=o[n],n==="textContent"||n==="innerHTML"){if(t.children&&(t.children.length=0),r===s[n])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(n==="value"&&i.tagName!=="PROGRESS"){i._value=r;var a=S(r)?"":String(r);zu(i,a)&&(i.value=a)}else if(n==="innerHTML"&&wi(i.tagName)&&S(i.innerHTML)){On=On||document.createElement("div"),On.innerHTML="<svg>".concat(r,"</svg>");for(var l=On.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(r!==s[n])try{i[n]=r}catch{}}}}function zu(e,t){return!e.composing&&(e.tagName==="OPTION"||Fu(e,t)||Bu(e,t))}function Fu(e,t){var n=!0;try{n=document.activeElement!==e}catch{}return n&&e.value!==t}function Bu(e,t){var n=e.value,r=e._vModifiers;if(d(r)){if(r.number)return nn(n)!==nn(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var Uu={create:Ns,update:Ns},Hu=bt(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(i){if(i){var s=i.split(r);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t});function Cr(e){var t=na(e.style);return e.staticStyle?G(e.staticStyle,t):t}function na(e){return Array.isArray(e)?yo(e):typeof e=="string"?Hu(e):e}function ju(e,t){for(var n={},r,i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(r=Cr(i.data))&&G(n,r);(r=Cr(e.data))&&G(n,r);for(var s=e;s=s.parent;)s.data&&(r=Cr(s.data))&&G(n,r);return n}var Wu=/^--/,Ps=/\s*!important$/,Ms=function(e,t,n){if(Wu.test(t))e.style.setProperty(t,n);else if(Ps.test(n))e.style.setProperty(un(t),n.replace(Ps,""),"important");else{var r=Gu(t);if(Array.isArray(n))for(var i=0,s=n.length;i<s;i++)e.style[r]=n[i];else e.style[r]=n}},zs=["Webkit","Moz","ms"],In,Gu=bt(function(e){if(In=In||document.createElement("div").style,e=mt(e),e!=="filter"&&e in In)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<zs.length;n++){var r=zs[n]+t;if(r in In)return r}});function Fs(e,t){var n=t.data,r=e.data;if(!(S(n.staticStyle)&&S(n.style)&&S(r.staticStyle)&&S(r.style))){var i,s,o=t.elm,a=r.staticStyle,l=r.normalizedStyle||r.style||{},u=a||l,f=na(t.data.style)||{};t.data.normalizedStyle=d(f.__ob__)?G({},f):f;var v=ju(t);for(s in u)S(v[s])&&Ms(o,s,"");for(s in v)i=v[s],Ms(o,s,i==null?"":i)}}var qu={create:Fs,update:Fs},ra=/\s+/;function ia(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(ra).forEach(function(r){return e.classList.add(r)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function sa(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(ra).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function oa(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&G(t,Bs(e.name||"v")),G(t,e),t}else if(typeof e=="string")return Bs(e)}}var Bs=bt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),aa=ke&&!zt,It="transition",Sr="animation",Fn="transition",Xn="transitionend",Qr="animation",la="animationend";aa&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Fn="WebkitTransition",Xn="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Qr="WebkitAnimation",la="webkitAnimationEnd"));var Us=ke?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ca(e){Us(function(){Us(e)})}function dt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ia(e,t))}function Ge(e,t){e._transitionClasses&&st(e._transitionClasses,t),sa(e,t)}function ua(e,t,n){var r=fa(e,t),i=r.type,s=r.timeout,o=r.propCount;if(!i)return n();var a=i===It?Xn:la,l=0,u=function(){e.removeEventListener(a,f),n()},f=function(v){v.target===e&&++l>=o&&u()};setTimeout(function(){l<o&&u()},s+1),e.addEventListener(a,f)}var Zu=/\b(transform|all)(,|$)/;function fa(e,t){var n=window.getComputedStyle(e),r=(n[Fn+"Delay"]||"").split(", "),i=(n[Fn+"Duration"]||"").split(", "),s=Hs(r,i),o=(n[Qr+"Delay"]||"").split(", "),a=(n[Qr+"Duration"]||"").split(", "),l=Hs(o,a),u,f=0,v=0;t===It?s>0&&(u=It,f=s,v=i.length):t===Sr?l>0&&(u=Sr,f=l,v=a.length):(f=Math.max(s,l),u=f>0?s>l?It:Sr:null,v=u?u===It?i.length:a.length:0);var _=u===It&&Zu.test(n[Fn+"Property"]);return{type:u,timeout:f,propCount:v,hasTransform:_}}function Hs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(n,r){return js(n)+js(e[r])}))}function js(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Vr(e,t){var n=e.elm;d(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=oa(e.data.transition);if(!S(r)&&!(d(n._enterCb)||n.nodeType!==1)){for(var i=r.css,s=r.type,o=r.enterClass,a=r.enterToClass,l=r.enterActiveClass,u=r.appearClass,f=r.appearToClass,v=r.appearActiveClass,_=r.beforeEnter,y=r.enter,b=r.afterEnter,D=r.enterCancelled,A=r.beforeAppear,Y=r.appear,I=r.afterAppear,se=r.appearCancelled,ee=r.duration,ce=ht,H=ht.$vnode;H&&H.parent;)ce=H.context,H=H.parent;var K=!ce._isMounted||!e.isRootInsert;if(!(K&&!Y&&Y!=="")){var ue=K&&u?u:o,Fe=K&&v?v:l,at=K&&f?f:a,Xe=K&&A||_,h=K&&W(Y)?Y:y,p=K&&I||b,m=K&&se||D,w=nn(le(ee)?ee.enter:ee),T=i!==!1&&!zt,$=ki(h),C=n._enterCb=Bn(function(){T&&(Ge(n,at),Ge(n,Fe)),C.cancelled?(T&&Ge(n,ue),m&&m(n)):p&&p(n),n._enterCb=null});e.data.show||et(e,"insert",function(){var E=n.parentNode,N=E&&E._pending&&E._pending[e.key];N&&N.tag===e.tag&&N.elm._leaveCb&&N.elm._leaveCb(),h&&h(n,C)}),Xe&&Xe(n),T&&(dt(n,ue),dt(n,Fe),ca(function(){Ge(n,ue),C.cancelled||(dt(n,at),$||(ha(w)?setTimeout(C,w):ua(n,s,C)))})),e.data.show&&(t&&t(),h&&h(n,C)),!T&&!$&&C()}}}function pa(e,t){var n=e.elm;d(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=oa(e.data.transition);if(S(r)||n.nodeType!==1)return t();if(d(n._leaveCb))return;var i=r.css,s=r.type,o=r.leaveClass,a=r.leaveToClass,l=r.leaveActiveClass,u=r.beforeLeave,f=r.leave,v=r.afterLeave,_=r.leaveCancelled,y=r.delayLeave,b=r.duration,D=i!==!1&&!zt,A=ki(f),Y=nn(le(b)?b.leave:b),I=n._leaveCb=Bn(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),D&&(Ge(n,a),Ge(n,l)),I.cancelled?(D&&Ge(n,o),_&&_(n)):(t(),v&&v(n)),n._leaveCb=null});y?y(se):se();function se(){I.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),u&&u(n),D&&(dt(n,o),dt(n,l),ca(function(){Ge(n,o),I.cancelled||(dt(n,a),A||(ha(Y)?setTimeout(I,Y):ua(n,s,I)))})),f&&f(n,I),!D&&!A&&I())}}function ha(e){return typeof e=="number"&&!isNaN(e)}function ki(e){if(S(e))return!1;var t=e.fns;return d(t)?ki(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ws(e,t){t.data.show!==!0&&Vr(t)}var Yu=ke?{create:Ws,activate:Ws,remove:function(e,t){e.data.show!==!0?pa(e,t):t()}}:{},Xu=[$u,Ru,Mu,Uu,qu,Yu],Ku=Xu.concat(Iu),Ju=Cu({nodeOps:xu,modules:Ku});zt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Ti(e,"input")});var da={inserted:function(e,t,n,r){n.tag==="select"?(r.elm&&!r.elm._vOptions?et(n,"postpatch",function(){da.componentUpdated(e,t,n)}):Gs(e,t,n.context),e._vOptions=[].map.call(e.options,Kn)):(n.tag==="textarea"||Jr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Qu),e.addEventListener("compositionend",Ys),e.addEventListener("change",Ys),zt&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if(n.tag==="select"){Gs(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Kn);if(i.some(function(o,a){return!gt(o,r[a])})){var s=e.multiple?t.value.some(function(o){return Zs(o,i)}):t.value!==t.oldValue&&Zs(t.value,i);s&&Ti(e,"change")}}}};function Gs(e,t,n){qs(e,t),(Mt||To)&&setTimeout(function(){qs(e,t)},0)}function qs(e,t,n){var r=t.value,i=e.multiple;if(!(i&&!Array.isArray(r))){for(var s,o,a=0,l=e.options.length;a<l;a++)if(o=e.options[a],i)s=xo(r,Kn(o))>-1,o.selected!==s&&(o.selected=s);else if(gt(Kn(o),r)){e.selectedIndex!==a&&(e.selectedIndex=a);return}i||(e.selectedIndex=-1)}}function Zs(e,t){return t.every(function(n){return!gt(n,e)})}function Kn(e){return"_value"in e?e._value:e.value}function Qu(e){e.target.composing=!0}function Ys(e){e.target.composing&&(e.target.composing=!1,Ti(e.target,"input"))}function Ti(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ei(e){return e.componentInstance&&(!e.data||!e.data.transition)?ei(e.componentInstance._vnode):e}var Vu={bind:function(e,t,n){var r=t.value;n=ei(n);var i=n.data&&n.data.transition,s=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;r&&i?(n.data.show=!0,Vr(n,function(){e.style.display=s})):e.style.display=r?s:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!=!i){n=ei(n);var s=n.data&&n.data.transition;s?(n.data.show=!0,r?Vr(n,function(){e.style.display=e.__vOriginalDisplay}):pa(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},ef={model:da,show:Vu},ma={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ti(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ti(Bo(t.children)):e}function ga(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var r in i)t[mt(r)]=i[r];return t}function Xs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function tf(e){for(;e=e.parent;)if(e.data.transition)return!0}function nf(e,t){return t.key===e.key&&t.tag===e.tag}var rf=function(e){return e.tag||sn(e)},sf=function(e){return e.name==="show"},of={name:"transition",props:ma,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(rf),!!n.length)){var r=this.mode,i=n[0];if(tf(this.$vnode))return i;var s=ti(i);if(!s)return i;if(this._leaving)return Xs(e,i);var o="__transition-".concat(this._uid,"-");s.key=s.key==null?s.isComment?o+"comment":o+s.tag:cn(s.key)?String(s.key).indexOf(o)===0?s.key:o+s.key:s.key;var a=(s.data||(s.data={})).transition=ga(this),l=this._vnode,u=ti(l);if(s.data.directives&&s.data.directives.some(sf)&&(s.data.show=!0),u&&u.data&&!nf(s,u)&&!sn(u)&&!(u.componentInstance&&u.componentInstance._vnode.isComment)){var f=u.data.transition=G({},a);if(r==="out-in")return this._leaving=!0,et(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Xs(e,i);if(r==="in-out"){if(sn(s))return l;var v,_=function(){v()};et(a,"afterEnter",_),et(a,"enterCancelled",_),et(f,"delayLeave",function(y){v=y})}}return i}}},va=G({tag:String,moveClass:String},ma);delete va.mode;var af={props:va,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Go(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],s=this.children=[],o=ga(this),a=0;a<i.length;a++){var l=i[a];l.tag&&l.key!=null&&String(l.key).indexOf("__vlist")!==0&&(s.push(l),n[l.key]=l,(l.data||(l.data={})).transition=o)}if(r){for(var u=[],f=[],a=0;a<r.length;a++){var l=r[a];l.data.transition=o,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?u.push(l):f.push(l)}this.kept=e(t,null,u),this.removed=f}return e(t,null,s)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,t)||(e.forEach(lf),e.forEach(cf),e.forEach(uf),this._reflow=document.body.offsetHeight,e.forEach(function(n){if(n.data.moved){var r=n.elm,i=r.style;dt(r,t),i.transform=i.WebkitTransform=i.transitionDuration="",r.addEventListener(Xn,r._moveCb=function s(o){o&&o.target!==r||(!o||/transform$/.test(o.propertyName))&&(r.removeEventListener(Xn,s),r._moveCb=null,Ge(r,t))})}}))},methods:{hasMove:function(e,t){if(!aa)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(i){sa(n,i)}),ia(n,t),n.style.display="none",this.$el.appendChild(n);var r=fa(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function lf(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function cf(e){e.data.newPos=e.elm.getBoundingClientRect()}function uf(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var s=e.elm.style;s.transform=s.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),s.transitionDuration="0s"}}var ff={Transition:of,TransitionGroup:af};V.config.mustUseProp=Kc;V.config.isReservedTag=ea;V.config.isReservedAttr=Yc;V.config.getTagNamespace=ou;V.config.isUnknownElement=au;G(V.options.directives,ef);G(V.options.components,ff);V.prototype.__patch__=ke?Ju:Z;V.prototype.$mount=function(e,t){return e=e&&ke?lu(e):void 0,nc(this,e,t)};ke&&setTimeout(function(){Se.devtools&&Un&&Un.emit("init",V)},0);function Ci(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let xt=Ci();function _a(e){xt=e}const ya=/[&<>"']/,pf=new RegExp(ya.source,"g"),ba=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,hf=new RegExp(ba.source,"g"),df={"&":"&","<":"<",">":">",'"':""","'":"'"},Ks=e=>df[e];function _e(e,t){if(t){if(ya.test(e))return e.replace(pf,Ks)}else if(ba.test(e))return e.replace(hf,Ks);return e}const mf=/(^|[^\[])\^/g;function U(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(i,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(mf,"$1"),n=n.replace(i,o),r},getRegex:()=>new RegExp(n,t)};return r}function Js(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const en={exec:()=>null};function Qs(e,t){const n=e.replace(/\|/g,(s,o,a)=>{let l=!1,u=o;for(;--u>=0&&a[u]==="\\";)l=!l;return l?"|":" |"}),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function Zt(e,t,n){const r=e.length;if(r===0)return"";let i=0;for(;i<r&&e.charAt(r-i-1)===t;)i++;return e.slice(0,r-i)}function gf(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function Vs(e,t,n,r){const i=t.href,s=t.title?_e(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:n,href:i,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:i,title:s,text:_e(o)}}function vf(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(`
|
|
6
|
-
`).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[o]=s;return o.length>=r.length?i.slice(r.length):i}).join(`
|
|
7
|
-
`)}class Jn{constructor(t){j(this,"options");j(this,"rules");j(this,"lexer");this.options=t||xt}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Zt(r,`
|
|
8
|
-
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],i=vf(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const i=Zt(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:Zt(n[0],`
|
|
9
|
-
`)}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let r=Zt(n[0],`
|
|
10
|
-
`).split(`
|
|
11
|
-
`),i="",s="";const o=[];for(;r.length>0;){let a=!1;const l=[];let u;for(u=0;u<r.length;u++)if(/^ {0,3}>/.test(r[u]))l.push(r[u]),a=!0;else if(!a)l.push(r[u]);else break;r=r.slice(u);const f=l.join(`
|
|
12
|
-
`),v=f.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
|
|
13
|
-
$1`).replace(/^ {0,3}>[ \t]?/gm,"");i=i?`${i}
|
|
14
|
-
${f}`:f,s=s?`${s}
|
|
15
|
-
${v}`:v;const _=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(v,o,!0),this.lexer.state.top=_,r.length===0)break;const y=o[o.length-1];if((y==null?void 0:y.type)==="code")break;if((y==null?void 0:y.type)==="blockquote"){const b=y,D=b.raw+`
|
|
16
|
-
`+r.join(`
|
|
17
|
-
`),A=this.blockquote(D);o[o.length-1]=A,i=i.substring(0,i.length-b.raw.length)+A.raw,s=s.substring(0,s.length-b.text.length)+A.text;break}else if((y==null?void 0:y.type)==="list"){const b=y,D=b.raw+`
|
|
18
|
-
`+r.join(`
|
|
19
|
-
`),A=this.list(D);o[o.length-1]=A,i=i.substring(0,i.length-y.raw.length)+A.raw,s=s.substring(0,s.length-b.raw.length)+A.raw,r=D.substring(o[o.length-1].raw.length).split(`
|
|
20
|
-
`);continue}}return{type:"blockquote",raw:i,tokens:o,text:s}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const i=r.length>1,s={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");const o=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let a=!1;for(;t;){let l=!1,u="",f="";if(!(n=o.exec(t))||this.rules.block.hr.test(t))break;u=n[0],t=t.substring(u.length);let v=n[2].split(`
|
|
21
|
-
`,1)[0].replace(/^\t+/,Y=>" ".repeat(3*Y.length)),_=t.split(`
|
|
22
|
-
`,1)[0],y=!v.trim(),b=0;if(this.options.pedantic?(b=2,f=v.trimStart()):y?b=n[1].length+1:(b=n[2].search(/[^ ]/),b=b>4?1:b,f=v.slice(b),b+=n[1].length),y&&/^[ \t]*$/.test(_)&&(u+=_+`
|
|
23
|
-
`,t=t.substring(_.length+1),l=!0),!l){const Y=new RegExp(`^ {0,${Math.min(3,b-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),I=new RegExp(`^ {0,${Math.min(3,b-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),se=new RegExp(`^ {0,${Math.min(3,b-1)}}(?:\`\`\`|~~~)`),ee=new RegExp(`^ {0,${Math.min(3,b-1)}}#`),ce=new RegExp(`^ {0,${Math.min(3,b-1)}}<(?:[a-z].*>|!--)`,"i");for(;t;){const H=t.split(`
|
|
24
|
-
`,1)[0];let K;if(_=H,this.options.pedantic?(_=_.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),K=_):K=_.replace(/\t/g," "),se.test(_)||ee.test(_)||ce.test(_)||Y.test(_)||I.test(_))break;if(K.search(/[^ ]/)>=b||!_.trim())f+=`
|
|
25
|
-
`+K.slice(b);else{if(y||v.replace(/\t/g," ").search(/[^ ]/)>=4||se.test(v)||ee.test(v)||I.test(v))break;f+=`
|
|
26
|
-
`+_}!y&&!_.trim()&&(y=!0),u+=H+`
|
|
27
|
-
`,t=t.substring(H.length+1),v=K.slice(b)}}s.loose||(a?s.loose=!0:/\n[ \t]*\n[ \t]*$/.test(u)&&(a=!0));let D=null,A;this.options.gfm&&(D=/^\[[ xX]\] /.exec(f),D&&(A=D[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:u,task:!!D,checked:A,loose:!1,text:f,tokens:[]}),s.raw+=u}s.items[s.items.length-1].raw=s.items[s.items.length-1].raw.trimEnd(),s.items[s.items.length-1].text=s.items[s.items.length-1].text.trimEnd(),s.raw=s.raw.trimEnd();for(let l=0;l<s.items.length;l++)if(this.lexer.state.top=!1,s.items[l].tokens=this.lexer.blockTokens(s.items[l].text,[]),!s.loose){const u=s.items[l].tokens.filter(v=>v.type==="space"),f=u.length>0&&u.some(v=>/\n.*\n/.test(v.raw));s.loose=f}if(s.loose)for(let l=0;l<s.items.length;l++)s.items[l].loose=!0;return s}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),i=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:i,title:s}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=Qs(n[1]),i=n[2].replace(/^\||\| *$/g,"").split("|"),s=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
|
|
28
|
-
`):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===i.length){for(const a of i)/^ *-+: *$/.test(a)?o.align.push("right"):/^ *:-+: *$/.test(a)?o.align.push("center"):/^ *:-+ *$/.test(a)?o.align.push("left"):o.align.push(null);for(let a=0;a<r.length;a++)o.header.push({text:r[a],tokens:this.lexer.inline(r[a]),header:!0,align:o.align[a]});for(const a of s)o.rows.push(Qs(a,o.header.length).map((l,u)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:o.align[u]})));return o}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===`
|
|
29
|
-
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:_e(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Zt(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=gf(n[2],"()");if(o>-1){const l=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,l).trim(),n[3]=""}}let i=n[2],s="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o&&(i=o[1],s=o[3])}else s=n[3]?n[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(r)?i=i.slice(1):i=i.slice(1,-1)),Vs(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const i=(r[2]||r[1]).replace(/\s+/g," "),s=n[i.toLowerCase()];if(!s){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return Vs(r,s,r[0],this.lexer)}}emStrong(t,n,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const o=[...i[0]].length-1;let a,l,u=o,f=0;const v=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,n=n.slice(-1*t.length+o);(i=v.exec(n))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){u+=l;continue}else if((i[5]||i[6])&&o%3&&!((o+l)%3)){f+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+f);const _=[...i[0]][0].length,y=t.slice(0,o+i.index+_+l);if(Math.min(o,l)%2){const D=y.slice(1,-1);return{type:"em",raw:y,text:D,tokens:this.lexer.inlineTokens(D)}}const b=y.slice(2,-2);return{type:"strong",raw:y,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const i=/[^ ]/.test(r),s=/^ /.test(r)&&/ $/.test(r);return i&&s&&(r=r.substring(1,r.length-1)),r=_e(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,i;return n[2]==="@"?(r=_e(n[1]),i="mailto:"+r):(r=_e(n[1]),i=r),{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var r,i;let n;if(n=this.rules.inline.url.exec(t)){let s,o;if(n[2]==="@")s=_e(n[0]),o="mailto:"+s;else{let a;do a=n[0],n[0]=(i=(r=this.rules.inline._backpedal.exec(n[0]))==null?void 0:r[0])!=null?i:"";while(a!==n[0]);s=_e(n[0]),n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=_e(n[0]),{type:"text",raw:n[0],text:r}}}}const _f=/^(?:[ \t]*(?:\n|$))+/,yf=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,bf=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,xf=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,xa=/(?:[*+-]|\d{1,9}[.)])/,wa=U(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,xa).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Si=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,wf=/^[^\n]+/,Ai=/(?!\s*\])(?:\\.|[^\[\]\\])+/,kf=U(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ai).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Tf=U(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,xa).getRegex(),ir="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|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ei=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Cf=U("^ {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|$))","i").replace("comment",Ei).replace("tag",ir).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ka=U(Si).replace("hr",hn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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",ir).getRegex(),Sf=U(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ka).getRegex(),Oi={blockquote:Sf,code:yf,def:kf,fences:bf,heading:xf,hr:hn,html:Cf,lheading:wa,list:Tf,newline:_f,paragraph:ka,table:en,text:wf},eo=U("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\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",ir).getRegex(),Af={...Oi,table:eo,paragraph:U(Si).replace("hr",hn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",eo).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",ir).getRegex()},Ef={...Oi,html:U(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ei).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:en,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:U(Si).replace("hr",hn).replace("heading",` *#{1,6} *[^
|
|
30
|
-
]`).replace("lheading",wa).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ta=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Of=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ca=/^( {2,}|\\)\n(?!\s*$)/,If=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,dn="\\p{P}\\p{S}",$f=U(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,dn).getRegex(),Rf=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Df=U(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,dn).getRegex(),Lf=U("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,dn).getRegex(),Nf=U("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,dn).getRegex(),Pf=U(/\\([punct])/,"gu").replace(/punct/g,dn).getRegex(),Mf=U(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("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])?)+(?![-_])/).getRegex(),zf=U(Ei).replace("(?:-->|$)","-->").getRegex(),Ff=U("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",zf).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Qn=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Bf=U(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Qn).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Sa=U(/^!?\[(label)\]\[(ref)\]/).replace("label",Qn).replace("ref",Ai).getRegex(),Aa=U(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ai).getRegex(),Uf=U("reflink|nolink(?!\\()","g").replace("reflink",Sa).replace("nolink",Aa).getRegex(),Ii={_backpedal:en,anyPunctuation:Pf,autolink:Mf,blockSkip:Rf,br:Ca,code:Of,del:en,emStrongLDelim:Df,emStrongRDelimAst:Lf,emStrongRDelimUnd:Nf,escape:Ta,link:Bf,nolink:Aa,punctuation:$f,reflink:Sa,reflinkSearch:Uf,tag:Ff,text:If,url:en},Hf={...Ii,link:U(/^!?\[(label)\]\((.*?)\)/).replace("label",Qn).getRegex(),reflink:U(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Qn).getRegex()},ni={...Ii,escape:U(Ta).replace("])","~|])").getRegex(),url:U(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\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.!#$%&'*+\/=?_`{\|}~-]+@)))/},jf={...ni,br:U(Ca).replace("{2,}","*").getRegex(),text:U(ni.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},$n={normal:Oi,gfm:Af,pedantic:Ef},Yt={normal:Ii,gfm:ni,breaks:jf,pedantic:Hf};class Te{constructor(t){j(this,"tokens");j(this,"options");j(this,"state");j(this,"tokenizer");j(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||xt,this.options.tokenizer=this.options.tokenizer||new Jn,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 n={block:$n.normal,inline:Yt.normal};this.options.pedantic?(n.block=$n.pedantic,n.inline=Yt.pedantic):this.options.gfm&&(n.block=$n.gfm,this.options.breaks?n.inline=Yt.breaks:n.inline=Yt.gfm),this.tokenizer.rules=n}static get rules(){return{block:$n,inline:Yt}}static lex(t,n){return new Te(n).lex(t)}static lexInline(t,n){return new Te(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
|
|
31
|
-
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){this.options.pedantic&&(t=t.replace(/\t/g," ").replace(/^ +$/gm,""));let i,s,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(i=a.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),i.raw.length===1&&n.length>0?n[n.length-1].raw+=`
|
|
32
|
-
`:n.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),s=n[n.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
|
|
33
|
-
`+i.raw,s.text+=`
|
|
34
|
-
`+i.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),s=n[n.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
|
|
35
|
-
`+i.raw,s.text+=`
|
|
36
|
-
`+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(o=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=t.slice(1);let u;this.options.extensions.startBlock.forEach(f=>{u=f.call({lexer:this},l),typeof u=="number"&&u>=0&&(a=Math.min(a,u))}),a<1/0&&a>=0&&(o=t.substring(0,a+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o))){s=n[n.length-1],r&&(s==null?void 0:s.type)==="paragraph"?(s.raw+=`
|
|
37
|
-
`+i.raw,s.text+=`
|
|
38
|
-
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(i),r=o.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),s=n[n.length-1],s&&s.type==="text"?(s.raw+=`
|
|
39
|
-
`+i.raw,s.text+=`
|
|
40
|
-
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(i);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,i,s,o=t,a,l,u;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)f.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(l||(u=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>(r=f.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),i=n[n.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),i=n[n.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,o,u)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),n.push(r);continue}if(s=t,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const v=t.slice(1);let _;this.options.extensions.startInline.forEach(y=>{_=y.call({lexer:this},v),typeof _=="number"&&_>=0&&(f=Math.min(f,_))}),f<1/0&&f>=0&&(s=t.substring(0,f+1))}if(r=this.tokenizer.inlineText(s)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(u=r.raw.slice(-1)),l=!0,i=n[n.length-1],i&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return n}}class Vn{constructor(t){j(this,"options");j(this,"parser");this.options=t||xt}space(t){return""}code({text:t,lang:n,escaped:r}){var o;const i=(o=(n||"").match(/^\S*/))==null?void 0:o[0],s=t.replace(/\n$/,"")+`
|
|
41
|
-
`;return i?'<pre><code class="language-'+_e(i)+'">'+(r?s:_e(s,!0))+`</code></pre>
|
|
42
|
-
`:"<pre><code>"+(r?s:_e(s,!0))+`</code></pre>
|
|
43
|
-
`}blockquote({tokens:t}){return`<blockquote>
|
|
44
|
-
${this.parser.parse(t)}</blockquote>
|
|
45
|
-
`}html({text:t}){return t}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}>
|
|
46
|
-
`}hr(t){return`<hr>
|
|
47
|
-
`}list(t){const n=t.ordered,r=t.start;let i="";for(let a=0;a<t.items.length;a++){const l=t.items[a];i+=this.listitem(l)}const s=n?"ol":"ul",o=n&&r!==1?' start="'+r+'"':"";return"<"+s+o+`>
|
|
48
|
-
`+i+"</"+s+`>
|
|
49
|
-
`}listitem(t){let n="";if(t.task){const r=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&t.tokens[0].type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" "}):n+=r+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`<li>${n}</li>
|
|
50
|
-
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
|
|
51
|
-
`}table(t){let n="",r="";for(let s=0;s<t.header.length;s++)r+=this.tablecell(t.header[s]);n+=this.tablerow({text:r});let i="";for(let s=0;s<t.rows.length;s++){const o=t.rows[s];r="";for(let a=0;a<o.length;a++)r+=this.tablecell(o[a]);i+=this.tablerow({text:r})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
|
|
52
|
-
<thead>
|
|
53
|
-
`+n+`</thead>
|
|
54
|
-
`+i+`</table>
|
|
55
|
-
`}tablerow({text:t}){return`<tr>
|
|
56
|
-
${t}</tr>
|
|
57
|
-
`}tablecell(t){const n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`</${r}>
|
|
58
|
-
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${t}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:n,tokens:r}){const i=this.parser.parseInline(r),s=Js(t);if(s===null)return i;t=s;let o='<a href="'+t+'"';return n&&(o+=' title="'+n+'"'),o+=">"+i+"</a>",o}image({href:t,title:n,text:r}){const i=Js(t);if(i===null)return r;t=i;let s=`<img src="${t}" alt="${r}"`;return n&&(s+=` title="${n}"`),s+=">",s}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):t.text}}class $i{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class Ce{constructor(t){j(this,"options");j(this,"renderer");j(this,"textRenderer");this.options=t||xt,this.options.renderer=this.options.renderer||new Vn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new $i}static parse(t,n){return new Ce(n).parse(t)}static parseInline(t,n){return new Ce(n).parseInline(t)}parse(t,n=!0){let r="";for(let i=0;i<t.length;i++){const s=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const a=s,l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){r+=l||"";continue}}const o=s;switch(o.type){case"space":{r+=this.renderer.space(o);continue}case"hr":{r+=this.renderer.hr(o);continue}case"heading":{r+=this.renderer.heading(o);continue}case"code":{r+=this.renderer.code(o);continue}case"table":{r+=this.renderer.table(o);continue}case"blockquote":{r+=this.renderer.blockquote(o);continue}case"list":{r+=this.renderer.list(o);continue}case"html":{r+=this.renderer.html(o);continue}case"paragraph":{r+=this.renderer.paragraph(o);continue}case"text":{let a=o,l=this.renderer.text(a);for(;i+1<t.length&&t[i+1].type==="text";)a=t[++i],l+=`
|
|
59
|
-
`+this.renderer.text(a);n?r+=this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l}]}):r+=l;continue}default:{const a='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}parseInline(t,n){n=n||this.renderer;let r="";for(let i=0;i<t.length;i++){const s=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=a||"";continue}}const o=s;switch(o.type){case"escape":{r+=n.text(o);break}case"html":{r+=n.html(o);break}case"link":{r+=n.link(o);break}case"image":{r+=n.image(o);break}case"strong":{r+=n.strong(o);break}case"em":{r+=n.em(o);break}case"codespan":{r+=n.codespan(o);break}case"br":{r+=n.br(o);break}case"del":{r+=n.del(o);break}case"text":{r+=n.text(o);break}default:{const a='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}}class tn{constructor(t){j(this,"options");j(this,"block");this.options=t||xt}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Te.lex:Te.lexInline}provideParser(){return this.block?Ce.parse:Ce.parseInline}}j(tn,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Wf{constructor(...t){j(this,"defaults",Ci());j(this,"options",this.setOptions);j(this,"parse",this.parseMarkdown(!0));j(this,"parseInline",this.parseMarkdown(!1));j(this,"Parser",Ce);j(this,"Renderer",Vn);j(this,"TextRenderer",$i);j(this,"Lexer",Te);j(this,"Tokenizer",Jn);j(this,"Hooks",tn);this.use(...t)}walkTokens(t,n){var i,s;let r=[];for(const o of t)switch(r=r.concat(n.call(this,o)),o.type){case"table":{const a=o;for(const l of a.header)r=r.concat(this.walkTokens(l.tokens,n));for(const l of a.rows)for(const u of l)r=r.concat(this.walkTokens(u.tokens,n));break}case"list":{const a=o;r=r.concat(this.walkTokens(a.items,n));break}default:{const a=o;(s=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&s[a.type]?this.defaults.extensions.childTokens[a.type].forEach(l=>{const u=a[l].flat(1/0);r=r.concat(this.walkTokens(u,n))}):a.tokens&&(r=r.concat(this.walkTokens(a.tokens,n)))}}return r}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const i={...r};if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const o=n.renderers[s.name];o?n.renderers[s.name]=function(...a){let l=s.renderer.apply(this,a);return l===!1&&(l=o.apply(this,a)),l}:n.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=n[s.level];o?o.unshift(s.tokenizer):n[s.level]=[s.tokenizer],s.start&&(s.level==="block"?n.startBlock?n.startBlock.push(s.start):n.startBlock=[s.start]:s.level==="inline"&&(n.startInline?n.startInline.push(s.start):n.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(n.childTokens[s.name]=s.childTokens)}),i.extensions=n),r.renderer){const s=this.defaults.renderer||new Vn(this.defaults);for(const o in r.renderer){if(!(o in s))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const a=o,l=r.renderer[a],u=s[a];s[a]=(...f)=>{let v=l.apply(s,f);return v===!1&&(v=u.apply(s,f)),v||""}}i.renderer=s}if(r.tokenizer){const s=this.defaults.tokenizer||new Jn(this.defaults);for(const o in r.tokenizer){if(!(o in s))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const a=o,l=r.tokenizer[a],u=s[a];s[a]=(...f)=>{let v=l.apply(s,f);return v===!1&&(v=u.apply(s,f)),v}}i.tokenizer=s}if(r.hooks){const s=this.defaults.hooks||new tn;for(const o in r.hooks){if(!(o in s))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const a=o,l=r.hooks[a],u=s[a];tn.passThroughHooks.has(o)?s[a]=f=>{if(this.defaults.async)return Promise.resolve(l.call(s,f)).then(_=>u.call(s,_));const v=l.call(s,f);return u.call(s,v)}:s[a]=(...f)=>{let v=l.apply(s,f);return v===!1&&(v=u.apply(s,f)),v}}i.hooks=s}if(r.walkTokens){const s=this.defaults.walkTokens,o=r.walkTokens;i.walkTokens=function(a){let l=[];return l.push(o.call(this,a)),s&&(l=l.concat(s.call(this,a))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Te.lex(t,n!=null?n:this.defaults)}parser(t,n){return Ce.parse(t,n!=null?n:this.defaults)}parseMarkdown(t){return(r,i)=>{const s={...i},o={...this.defaults,...s},a=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&s.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r=="undefined"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=t);const l=o.hooks?o.hooks.provideLexer():t?Te.lex:Te.lexInline,u=o.hooks?o.hooks.provideParser():t?Ce.parse:Ce.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(r):r).then(f=>l(f,o)).then(f=>o.hooks?o.hooks.processAllTokens(f):f).then(f=>o.walkTokens?Promise.all(this.walkTokens(f,o.walkTokens)).then(()=>f):f).then(f=>u(f,o)).then(f=>o.hooks?o.hooks.postprocess(f):f).catch(a);try{o.hooks&&(r=o.hooks.preprocess(r));let f=l(r,o);o.hooks&&(f=o.hooks.processAllTokens(f)),o.walkTokens&&this.walkTokens(f,o.walkTokens);let v=u(f,o);return o.hooks&&(v=o.hooks.postprocess(v)),v}catch(f){return a(f)}}}onError(t,n){return r=>{if(r.message+=`
|
|
60
|
-
Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+_e(r.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(r);throw r}}}const yt=new Wf;function F(e,t){return yt.parse(e,t)}F.options=F.setOptions=function(e){return yt.setOptions(e),F.defaults=yt.defaults,_a(F.defaults),F};F.getDefaults=Ci;F.defaults=xt;F.use=function(...e){return yt.use(...e),F.defaults=yt.defaults,_a(F.defaults),F};F.walkTokens=function(e,t){return yt.walkTokens(e,t)};F.parseInline=yt.parseInline;F.Parser=Ce;F.parser=Ce.parse;F.Renderer=Vn;F.TextRenderer=$i;F.Lexer=Te;F.lexer=Te.lex;F.Tokenizer=Jn;F.Hooks=tn;F.parse=F;F.options;F.setOptions;F.use;F.walkTokens;F.parseInline;Ce.parse;Te.lex;/*! @license DOMPurify 3.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.5/LICENSE */function to(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Gf(e){if(Array.isArray(e))return e}function qf(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,o,a=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}function Zf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
61
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yf(e,t){return Gf(e)||qf(e,t)||Xf(e,t)||Zf()}function Xf(e,t){if(e){if(typeof e=="string")return to(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?to(e,t):void 0}}const Ea=Object.entries,no=Object.setPrototypeOf,Kf=Object.isFrozen,Jf=Object.getPrototypeOf,Qf=Object.getOwnPropertyDescriptor;let he=Object.freeze,Ee=Object.seal,$t=Object.create,Oa=typeof Reflect!="undefined"&&Reflect,ri=Oa.apply,ii=Oa.construct;he||(he=function(t){return t});Ee||(Ee=function(t){return t});ri||(ri=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),s=2;s<r;s++)i[s-2]=arguments[s];return t.apply(n,i)});ii||(ii=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new t(...r)});const St=re(Array.prototype.forEach),Vf=re(Array.prototype.lastIndexOf),ro=re(Array.prototype.pop),At=re(Array.prototype.push),ep=re(Array.prototype.splice),fe=Array.isArray,Qt=re(String.prototype.toLowerCase),Ar=re(String.prototype.toString),io=re(String.prototype.match),Et=re(String.prototype.replace),so=re(String.prototype.indexOf),tp=re(String.prototype.trim),np=re(Number.prototype.toString),rp=re(Boolean.prototype.toString),oo=typeof BigInt=="undefined"?null:re(BigInt.prototype.toString),ao=typeof Symbol=="undefined"?null:re(Symbol.prototype.toString),Q=re(Object.prototype.hasOwnProperty),Xt=re(Object.prototype.toString),ae=re(RegExp.prototype.test),Rn=ip(TypeError);function re(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return ri(e,t,r)}}function ip(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ii(e,n)}}function O(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Qt;if(no&&no(e,null),!fe(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const s=n(i);s!==i&&(Kf(t)||(t[r]=s),i=s)}e[i]=!0}return e}function sp(e){for(let t=0;t<e.length;t++)Q(e,t)||(e[t]=null);return e}function me(e){const t=$t(null);for(const r of Ea(e)){var n=Yf(r,2);const i=n[0],s=n[1];Q(e,i)&&(fe(s)?t[i]=sp(s):s&&typeof s=="object"&&s.constructor===Object?t[i]=me(s):t[i]=s)}return t}function op(e){switch(typeof e){case"string":return e;case"number":return np(e);case"boolean":return rp(e);case"bigint":return oo?oo(e):"0";case"symbol":return ao?ao(e):"Symbol()";case"undefined":return Xt(e);case"function":case"object":{if(e===null)return Xt(e);const t=e,n=ft(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:Xt(r)}return Xt(e)}default:return Xt(e)}}function ft(e,t){for(;e!==null;){const r=Qf(e,t);if(r){if(r.get)return re(r.get);if(typeof r.value=="function")return re(r.value)}e=Jf(e)}function n(){return null}return n}function ap(e){try{return ae(e,""),!0}catch{return!1}}const lo=he(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Er=he(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Or=he(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),lp=he(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ir=he(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cp=he(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),co=he(["#text"]),uo=he(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),$r=he(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),fo=he(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Dn=he(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),up=Ee(/{{[\w\W]*|^[\w\W]*}}/g),fp=Ee(/<%[\w\W]*|^[\w\W]*%>/g),pp=Ee(/\${[\w\W]*/g),hp=Ee(/^data-[\-\w.\u00B7-\uFFFF]+$/),dp=Ee(/^aria-[\-\w]+$/),po=Ee(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mp=Ee(/^(?:\w+script|data):/i),gp=Ee(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vp=Ee(/^html$/i),_p=Ee(/^[a-z][.\w]*(-[.\w]+)+$/i),Ot={element:1,text:3,progressingInstruction:7,comment:8,document:9},yp=function(){return typeof window=="undefined"?null:window},bp=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const s="dompurify"+(r?"#"+r:"");try{return t.createPolicy(s,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},ho=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ia(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yp();const t=k=>Ia(k);if(t.version="3.4.5",t.removed=[],!e||!e.document||e.document.nodeType!==Ot.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,i=r.currentScript,s=e.DocumentFragment,o=e.HTMLTemplateElement,a=e.Node,l=e.Element,u=e.NodeFilter,f=e.NamedNodeMap,v=f===void 0?e.NamedNodeMap||e.MozNamedAttrMap:f,_=e.HTMLFormElement,y=e.DOMParser,b=e.trustedTypes,D=l.prototype,A=ft(D,"cloneNode"),Y=ft(D,"remove"),I=ft(D,"nextSibling"),se=ft(D,"childNodes"),ee=ft(D,"parentNode"),ce=a&&a.prototype?ft(a.prototype,"nodeType"):null;if(typeof o=="function"){const k=n.createElement("template");k.content&&k.content.ownerDocument&&(n=k.content.ownerDocument)}let H,K="";const ue=n,Fe=ue.implementation,at=ue.createNodeIterator,Xe=ue.createDocumentFragment,h=ue.getElementsByTagName,p=r.importNode;let m=ho();t.isSupported=typeof Ea=="function"&&typeof ee=="function"&&Fe&&Fe.createHTMLDocument!==void 0;const w=up,T=fp,$=pp,C=hp,E=dp,N=mp,P=gp,M=_p;let J=po,z=null;const De=O({},[...lo,...Er,...Or,...Ir,...co]);let q=null;const Le=O({},[...uo,...$r,...fo,...Dn]);let B=Object.seal($t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Be=null,gn=null;const Ke=Object.seal($t(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ri=!0,sr=!0,Di=!1,Li=!0,Je=!1,Ut=!0,lt=!1,or=!1,ar=!1,wt=!1,vn=!1,_n=!1,Ni=!0,Pi=!1;const Mi="user-content-";let lr=!0,Ht=!1,kt={},Ne=null;const cr=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let zi=null;const Fi=O({},["audio","video","img","source","image","track"]);let ur=null;const Bi=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),yn="http://www.w3.org/1998/Math/MathML",bn="http://www.w3.org/2000/svg",Pe="http://www.w3.org/1999/xhtml";let Tt=Pe,fr=!1,pr=null;const $a=O({},[yn,bn,Pe],Ar);let hr=O({},["mi","mo","mn","ms","mtext"]),dr=O({},["annotation-xml"]);const Ra=O({},["title","style","font","a","script"]);let jt=null;const Da=["application/xhtml+xml","text/html"],La="text/html";let ie=null,Ct=null;const Na=n.createElement("form"),Ui=function(c){return c instanceof RegExp||c instanceof Function},mr=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ct&&Ct===c)return;(!c||typeof c!="object")&&(c={}),c=me(c),jt=Da.indexOf(c.PARSER_MEDIA_TYPE)===-1?La:c.PARSER_MEDIA_TYPE,ie=jt==="application/xhtml+xml"?Ar:Qt,z=Q(c,"ALLOWED_TAGS")&&fe(c.ALLOWED_TAGS)?O({},c.ALLOWED_TAGS,ie):De,q=Q(c,"ALLOWED_ATTR")&&fe(c.ALLOWED_ATTR)?O({},c.ALLOWED_ATTR,ie):Le,pr=Q(c,"ALLOWED_NAMESPACES")&&fe(c.ALLOWED_NAMESPACES)?O({},c.ALLOWED_NAMESPACES,Ar):$a,ur=Q(c,"ADD_URI_SAFE_ATTR")&&fe(c.ADD_URI_SAFE_ATTR)?O(me(Bi),c.ADD_URI_SAFE_ATTR,ie):Bi,zi=Q(c,"ADD_DATA_URI_TAGS")&&fe(c.ADD_DATA_URI_TAGS)?O(me(Fi),c.ADD_DATA_URI_TAGS,ie):Fi,Ne=Q(c,"FORBID_CONTENTS")&&fe(c.FORBID_CONTENTS)?O({},c.FORBID_CONTENTS,ie):cr,Be=Q(c,"FORBID_TAGS")&&fe(c.FORBID_TAGS)?O({},c.FORBID_TAGS,ie):me({}),gn=Q(c,"FORBID_ATTR")&&fe(c.FORBID_ATTR)?O({},c.FORBID_ATTR,ie):me({}),kt=Q(c,"USE_PROFILES")?c.USE_PROFILES&&typeof c.USE_PROFILES=="object"?me(c.USE_PROFILES):c.USE_PROFILES:!1,Ri=c.ALLOW_ARIA_ATTR!==!1,sr=c.ALLOW_DATA_ATTR!==!1,Di=c.ALLOW_UNKNOWN_PROTOCOLS||!1,Li=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Je=c.SAFE_FOR_TEMPLATES||!1,Ut=c.SAFE_FOR_XML!==!1,lt=c.WHOLE_DOCUMENT||!1,wt=c.RETURN_DOM||!1,vn=c.RETURN_DOM_FRAGMENT||!1,_n=c.RETURN_TRUSTED_TYPE||!1,ar=c.FORCE_BODY||!1,Ni=c.SANITIZE_DOM!==!1,Pi=c.SANITIZE_NAMED_PROPS||!1,lr=c.KEEP_CONTENT!==!1,Ht=c.IN_PLACE||!1,J=ap(c.ALLOWED_URI_REGEXP)?c.ALLOWED_URI_REGEXP:po,Tt=typeof c.NAMESPACE=="string"?c.NAMESPACE:Pe,hr=Q(c,"MATHML_TEXT_INTEGRATION_POINTS")&&c.MATHML_TEXT_INTEGRATION_POINTS&&typeof c.MATHML_TEXT_INTEGRATION_POINTS=="object"?me(c.MATHML_TEXT_INTEGRATION_POINTS):O({},["mi","mo","mn","ms","mtext"]),dr=Q(c,"HTML_INTEGRATION_POINTS")&&c.HTML_INTEGRATION_POINTS&&typeof c.HTML_INTEGRATION_POINTS=="object"?me(c.HTML_INTEGRATION_POINTS):O({},["annotation-xml"]);const g=Q(c,"CUSTOM_ELEMENT_HANDLING")&&c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING=="object"?me(c.CUSTOM_ELEMENT_HANDLING):$t(null);if(B=$t(null),Q(g,"tagNameCheck")&&Ui(g.tagNameCheck)&&(B.tagNameCheck=g.tagNameCheck),Q(g,"attributeNameCheck")&&Ui(g.attributeNameCheck)&&(B.attributeNameCheck=g.attributeNameCheck),Q(g,"allowCustomizedBuiltInElements")&&typeof g.allowCustomizedBuiltInElements=="boolean"&&(B.allowCustomizedBuiltInElements=g.allowCustomizedBuiltInElements),Je&&(sr=!1),vn&&(wt=!0),kt&&(z=O({},co),q=$t(null),kt.html===!0&&(O(z,lo),O(q,uo)),kt.svg===!0&&(O(z,Er),O(q,$r),O(q,Dn)),kt.svgFilters===!0&&(O(z,Or),O(q,$r),O(q,Dn)),kt.mathMl===!0&&(O(z,Ir),O(q,fo),O(q,Dn))),Ke.tagCheck=null,Ke.attributeCheck=null,Q(c,"ADD_TAGS")&&(typeof c.ADD_TAGS=="function"?Ke.tagCheck=c.ADD_TAGS:fe(c.ADD_TAGS)&&(z===De&&(z=me(z)),O(z,c.ADD_TAGS,ie))),Q(c,"ADD_ATTR")&&(typeof c.ADD_ATTR=="function"?Ke.attributeCheck=c.ADD_ATTR:fe(c.ADD_ATTR)&&(q===Le&&(q=me(q)),O(q,c.ADD_ATTR,ie))),Q(c,"ADD_URI_SAFE_ATTR")&&fe(c.ADD_URI_SAFE_ATTR)&&O(ur,c.ADD_URI_SAFE_ATTR,ie),Q(c,"FORBID_CONTENTS")&&fe(c.FORBID_CONTENTS)&&(Ne===cr&&(Ne=me(Ne)),O(Ne,c.FORBID_CONTENTS,ie)),Q(c,"ADD_FORBID_CONTENTS")&&fe(c.ADD_FORBID_CONTENTS)&&(Ne===cr&&(Ne=me(Ne)),O(Ne,c.ADD_FORBID_CONTENTS,ie)),lr&&(z["#text"]=!0),lt&&O(z,["html","head","body"]),z.table&&(O(z,["tbody"]),delete Be.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw Rn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Rn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');H=c.TRUSTED_TYPES_POLICY,K=H.createHTML("")}else H===void 0&&(H=bp(b,i)),H!==null&&typeof K=="string"&&(K=H.createHTML(""));he&&he(c),Ct=c},Hi=O({},[...Er,...Or,...lp]),ji=O({},[...Ir,...cp]),Pa=function(c){let g=ee(c);(!g||!g.tagName)&&(g={namespaceURI:Tt,tagName:"template"});const x=Qt(c.tagName),L=Qt(g.tagName);return pr[c.namespaceURI]?c.namespaceURI===bn?g.namespaceURI===Pe?x==="svg":g.namespaceURI===yn?x==="svg"&&(L==="annotation-xml"||hr[L]):!!Hi[x]:c.namespaceURI===yn?g.namespaceURI===Pe?x==="math":g.namespaceURI===bn?x==="math"&&dr[L]:!!ji[x]:c.namespaceURI===Pe?g.namespaceURI===bn&&!dr[L]||g.namespaceURI===yn&&!hr[L]?!1:!ji[x]&&(Ra[x]||!Hi[x]):!!(jt==="application/xhtml+xml"&&pr[c.namespaceURI]):!1},Oe=function(c){At(t.removed,{element:c});try{ee(c).removeChild(c)}catch{Y(c)}},ct=function(c,g){try{At(t.removed,{attribute:g.getAttributeNode(c),from:g})}catch{At(t.removed,{attribute:null,from:g})}if(g.removeAttribute(c),c==="is")if(wt||vn)try{Oe(g)}catch{}else try{g.setAttribute(c,"")}catch{}},Wi=function(c){let g=null,x=null;if(ar)c="<remove></remove>"+c;else{const ne=io(c,/^[\r\n\t ]+/);x=ne&&ne[0]}jt==="application/xhtml+xml"&&Tt===Pe&&(c='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+c+"</body></html>");const L=H?H.createHTML(c):c;if(Tt===Pe)try{g=new y().parseFromString(L,jt)}catch{}if(!g||!g.documentElement){g=Fe.createDocument(Tt,"template",null);try{g.documentElement.innerHTML=fr?K:L}catch{}}const te=g.body||g.documentElement;return c&&x&&te.insertBefore(n.createTextNode(x),te.childNodes[0]||null),Tt===Pe?h.call(g,lt?"html":"body")[0]:lt?g.documentElement:te},Gi=function(c){return at.call(c.ownerDocument||c,c,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},qi=function(c){c.normalize();const g=at.call(c.ownerDocument||c,c,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let x=g.nextNode();for(;x;){let L=x.data;St([w,T,$],te=>{L=Et(L,te," ")}),x.data=L,x=g.nextNode()}},gr=function(c){return c instanceof _&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof v)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},xn=function(c){if(!ce||typeof c!="object"||c===null)return!1;try{return typeof ce(c)=="number"}catch{return!1}};function Ue(k,c,g){St(k,x=>{x.call(t,c,g,Ct)})}const Zi=function(c){let g=null;if(Ue(m.beforeSanitizeElements,c,null),gr(c))return Oe(c),!0;const x=ie(c.nodeName);if(Ue(m.uponSanitizeElement,c,{tagName:x,allowedTags:z}),Ut&&c.hasChildNodes()&&!xn(c.firstElementChild)&&ae(/<[/\w!]/g,c.innerHTML)&&ae(/<[/\w!]/g,c.textContent)||Ut&&c.namespaceURI===Pe&&x==="style"&&xn(c.firstElementChild)||c.nodeType===Ot.progressingInstruction||Ut&&c.nodeType===Ot.comment&&ae(/<[/\w]/g,c.data))return Oe(c),!0;if(Be[x]||!(Ke.tagCheck instanceof Function&&Ke.tagCheck(x))&&!z[x]){if(!Be[x]&&Xi(x)&&(B.tagNameCheck instanceof RegExp&&ae(B.tagNameCheck,x)||B.tagNameCheck instanceof Function&&B.tagNameCheck(x)))return!1;if(lr&&!Ne[x]){const L=ee(c)||c.parentNode,te=se(c)||c.childNodes;if(te&&L){const ne=te.length;for(let de=ne-1;de>=0;--de){const Qe=A(te[de],!0);L.insertBefore(Qe,I(c))}}}return Oe(c),!0}return c instanceof l&&!Pa(c)||(x==="noscript"||x==="noembed"||x==="noframes")&&ae(/<\/no(script|embed|frames)/i,c.innerHTML)?(Oe(c),!0):(Je&&c.nodeType===Ot.text&&(g=c.textContent,St([w,T,$],L=>{g=Et(g,L," ")}),c.textContent!==g&&(At(t.removed,{element:c.cloneNode()}),c.textContent=g)),Ue(m.afterSanitizeElements,c,null),!1)},Yi=function(c,g,x){if(gn[g]||Ni&&(g==="id"||g==="name")&&(x in n||x in Na))return!1;const L=q[g]||Ke.attributeCheck instanceof Function&&Ke.attributeCheck(g,c);if(!(sr&&!gn[g]&&ae(C,g))){if(!(Ri&&ae(E,g))){if(!L||gn[g]){if(!(Xi(c)&&(B.tagNameCheck instanceof RegExp&&ae(B.tagNameCheck,c)||B.tagNameCheck instanceof Function&&B.tagNameCheck(c))&&(B.attributeNameCheck instanceof RegExp&&ae(B.attributeNameCheck,g)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(g,c))||g==="is"&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&ae(B.tagNameCheck,x)||B.tagNameCheck instanceof Function&&B.tagNameCheck(x))))return!1}else if(!ur[g]){if(!ae(J,Et(x,P,""))){if(!((g==="src"||g==="xlink:href"||g==="href")&&c!=="script"&&so(x,"data:")===0&&zi[c])){if(!(Di&&!ae(N,Et(x,P,"")))){if(x)return!1}}}}}}return!0},Ma=O({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Xi=function(c){return!Ma[Qt(c)]&&ae(M,c)},Ki=function(c){Ue(m.beforeSanitizeAttributes,c,null);const g=c.attributes;if(!g||gr(c))return;const x={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:q,forceKeepAttr:void 0};let L=g.length;for(;L--;){const te=g[L],ne=te.name,de=te.namespaceURI,Qe=te.value,He=ie(ne),_r=Qe;let oe=ne==="value"?_r:tp(_r);if(x.attrName=He,x.attrValue=oe,x.keepAttr=!0,x.forceKeepAttr=void 0,Ue(m.uponSanitizeAttribute,c,x),oe=x.attrValue,Pi&&(He==="id"||He==="name")&&so(oe,Mi)!==0&&(ct(ne,c),oe=Mi+oe),Ut&&ae(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,oe)){ct(ne,c);continue}if(He==="attributename"&&io(oe,"href")){ct(ne,c);continue}if(x.forceKeepAttr)continue;if(!x.keepAttr){ct(ne,c);continue}if(!Li&&ae(/\/>/i,oe)){ct(ne,c);continue}Je&&St([w,T,$],Qi=>{oe=Et(oe,Qi," ")});const Ji=ie(c.nodeName);if(!Yi(Ji,He,oe)){ct(ne,c);continue}if(H&&typeof b=="object"&&typeof b.getAttributeType=="function"&&!de)switch(b.getAttributeType(Ji,He)){case"TrustedHTML":{oe=H.createHTML(oe);break}case"TrustedScriptURL":{oe=H.createScriptURL(oe);break}}if(oe!==_r)try{de?c.setAttributeNS(de,ne,oe):c.setAttribute(ne,oe),gr(c)?Oe(c):ro(t.removed)}catch{ct(ne,c)}}Ue(m.afterSanitizeAttributes,c,null)},vr=function(c){let g=null;const x=Gi(c);for(Ue(m.beforeSanitizeShadowDOM,c,null);g=x.nextNode();)Ue(m.uponSanitizeShadowNode,g,null),Zi(g),Ki(g),g.content instanceof s&&vr(g.content);Ue(m.afterSanitizeShadowDOM,c,null)},wn=function(c){if(c.nodeType===Ot.element&&c.shadowRoot instanceof s){const L=c.shadowRoot;wn(L),vr(L)}const g=c.childNodes;if(!g)return;const x=[];St(g,L=>{At(x,L)});for(const L of x)wn(L)};return t.sanitize=function(k){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=null,x=null,L=null,te=null;if(fr=!k,fr&&(k="<!-->"),typeof k!="string"&&!xn(k)&&(k=op(k),typeof k!="string"))throw Rn("dirty is not a string, aborting");if(!t.isSupported)return k;if(or||mr(c),t.removed=[],typeof k=="string"&&(Ht=!1),Ht){const Qe=k.nodeName;if(typeof Qe=="string"){const He=ie(Qe);if(!z[He]||Be[He])throw Rn("root node is forbidden and cannot be sanitized in-place")}wn(k)}else if(xn(k))g=Wi("<!---->"),x=g.ownerDocument.importNode(k,!0),x.nodeType===Ot.element&&x.nodeName==="BODY"||x.nodeName==="HTML"?g=x:g.appendChild(x),wn(x);else{if(!wt&&!Je&&!lt&&k.indexOf("<")===-1)return H&&_n?H.createHTML(k):k;if(g=Wi(k),!g)return wt?null:_n?K:""}g&&ar&&Oe(g.firstChild);const ne=Gi(Ht?k:g);for(;L=ne.nextNode();)Zi(L),Ki(L),L.content instanceof s&&vr(L.content);if(Ht)return Je&&qi(k),k;if(wt){if(Je&&qi(g),vn)for(te=Xe.call(g.ownerDocument);g.firstChild;)te.appendChild(g.firstChild);else te=g;return(q.shadowroot||q.shadowrootmode)&&(te=p.call(r,te,!0)),te}let de=lt?g.outerHTML:g.innerHTML;return lt&&z["!doctype"]&&g.ownerDocument&&g.ownerDocument.doctype&&g.ownerDocument.doctype.name&&ae(vp,g.ownerDocument.doctype.name)&&(de="<!DOCTYPE "+g.ownerDocument.doctype.name+`>
|
|
62
|
-
`+de),Je&&St([w,T,$],Qe=>{de=Et(de,Qe," ")}),H&&_n?H.createHTML(de):de},t.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};mr(k),or=!0},t.clearConfig=function(){Ct=null,or=!1},t.isValidAttribute=function(k,c,g){Ct||mr({});const x=ie(k),L=ie(c);return Yi(x,L,g)},t.addHook=function(k,c){typeof c=="function"&&At(m[k],c)},t.removeHook=function(k,c){if(c!==void 0){const g=Vf(m[k],c);return g===-1?void 0:ep(m[k],g,1)[0]}return ro(m[k])},t.removeHooks=function(k){m[k]=[]},t.removeAllHooks=function(){m=ho()},t}var xp=Ia();function wp(e){return btoa(unescape(encodeURIComponent(e)))}function Rr(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}F.use({gfm:!0,breaks:!0,renderer:{code(e){var o,a;const t=(o=e.text)!=null?o:"",r=((a=e.lang)!=null?a:"").trim()||"text",i=Rr(t),s=wp(t);return`<div class="code-card"><div class="code-head"><span class="code-lang">${Rr(r)}</span><button type="button" class="code-copy" data-code="${s}" aria-label="코드 복사"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="code-copy-label">복사</span></button></div><pre class="code-body"><code class="language-${Rr(r)}">${i}</code></pre></div>`}}});function kp(e){return{hasUnclosedCodeBlock:(e.match(/```/g)||[]).length%2===1,hasUnclosedInlineCode:(e.replace(/```[\s\S]*?```/g,"").match(/`/g)||[]).length%2===1}}function Tp(e,t=!1){let n=e;if(t){const i=kp(e);i.hasUnclosedCodeBlock&&(n+="\n```"),i.hasUnclosedInlineCode&&(n+="`")}const r=F.parse(n);return xp.sanitize(r,{ADD_ATTR:["target","rel","data-code"]})}async function Cp(e){const t=e.closest(".code-copy");if(!t)return!1;const n=t.getAttribute("data-code")||"";if(!n)return!1;let r="";try{r=decodeURIComponent(escape(atob(n)))}catch{r=atob(n)}try{return await navigator.clipboard.writeText(r),mo(t),!0}catch{const i=document.createElement("textarea");i.value=r,document.body.appendChild(i),i.select();try{document.execCommand("copy")}catch{}return i.remove(),mo(t),!0}}function mo(e){const t=e.querySelector(".code-copy-label"),n=t==null?void 0:t.textContent;t&&(t.textContent="복사됨"),e.classList.add("is-copied"),setTimeout(()=>{t&&n&&(t.textContent=n),e.classList.remove("is-copied")},1400)}const Sp={name:"StreamingMarkdown",props:{content:{type:String,required:!0},isStreaming:{type:Boolean,default:!1}},setup(e){const t=je(null),n=cl(()=>Tp(e.content,e.isStreaming));function r(i){const s=i.target;s&&Cp(s)}return{root:t,rendered:n,onClick:r}}};function mn(e,t,n,r,i,s,o,a){var l=typeof e=="function"?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),s&&(l._scopeId="data-v-"+s),{exports:e,options:l}}var Ap=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{ref:"root",staticClass:"sm-root",domProps:{innerHTML:t._s(t.rendered)},on:{click:t.onClick}})},Ep=[],Op=mn(Sp,Ap,Ep,!1,null,null);const Ip=Op.exports,$p={name:"CitationList",props:{items:{type:Array,required:!0}},setup(){return{open:je(!1)}}};var Rp=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.items&&t.items.length?n("div",{staticClass:"cl-root"},[n("button",{staticClass:"cl-toggle",attrs:{type:"button","aria-expanded":t.open},on:{click:function(r){t.open=!t.open}}},[n("span",{staticClass:"cl-chev",class:{"cl-chev-open":t.open}},[t._v("▸")]),n("span",{staticClass:"cl-toggle-label"},[t._v("출처 "+t._s(t.items.length)+"건")]),n("span",{staticClass:"cl-toggle-hint"},[t._v(t._s(t.open?"접기":"펼치기"))])]),n("transition",{attrs:{name:"cl-fade"}},[t.open?n("div",{staticClass:"cl-list"},t._l(t.items,function(r){return n("div",{key:r.index,staticClass:"cl-card"},[n("div",{staticClass:"cl-card-head"},[n("span",{staticClass:"cl-idx"},[t._v("["+t._s(r.index)+"]")]),n("span",{staticClass:"cl-title"},[t._v(t._s(r.title))]),n("span",{staticClass:"cl-score"},[t._v(t._s(r.score.toFixed(2)))])]),n("div",{staticClass:"cl-meta"},[t._v(t._s(r.collection)),r.source?n("span",[t._v(" · "+t._s(r.source))]):t._e()]),n("div",{staticClass:"cl-preview"},[t._v(t._s(r.preview))])])}),0):t._e()])],1):t._e()},Dp=[],Lp=mn($p,Rp,Dp,!1,null,"4145e81e");const Np=Lp.exports,Pp={name:"MessageItem",components:{StreamingMarkdown:Ip,CitationList:Np},props:{message:{type:Object,required:!0}}};var Mp=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{class:["mi-row","mi-"+t.message.role]},[t.message.role==="assistant"?[n("div",{staticClass:"mi-avatar mi-avatar-assistant",attrs:{"aria-hidden":"true"}},[n("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 2 L14.2 9.8 L22 12 L14.2 14.2 L12 22 L9.8 14.2 L2 12 L9.8 9.8 Z",fill:"currentColor"}}),n("circle",{attrs:{cx:"19",cy:"5",r:"1.6",fill:"currentColor",opacity:"0.85"}}),n("circle",{attrs:{cx:"5",cy:"19",r:"1.1",fill:"currentColor",opacity:"0.7"}})])]),n("div",{staticClass:"mi-body"},[n("div",{staticClass:"mi-role"},[t._v("BDP Agent")]),t.message.status?n("div",{staticClass:"mi-status"},[n("span",{staticClass:"mi-dot"}),t._v(t._s(t.message.status)+" ")]):t._e(),t.message.content?n("StreamingMarkdown",{attrs:{content:t.message.content,"is-streaming":!!t.message.isStreaming}}):t.message.isStreaming?n("div",{staticClass:"mi-typing"},[n("span"),n("span"),n("span")]):t._e(),t.message.error?n("div",{staticClass:"mi-error"},[t._v("⚠️ "+t._s(t.message.error))]):t._e(),t.message.citations&&t.message.citations.length?n("CitationList",{attrs:{items:t.message.citations}}):t._e()],1)]:[n("div",{staticClass:"mi-body mi-body-user"},[n("div",{staticClass:"mi-bubble-user"},[t._v(t._s(t.message.content))])])]],2)},zp=[],Fp=mn(Pp,Mp,zp,!1,null,"d7ac471d");const Bp=Fp.exports,Up={name:"ChatInput",props:{busy:{type:Boolean,default:!1},placeholder:{type:String,default:"질문을 입력하세요..."}},emits:["submit"],setup(e,{emit:t}){const n=je("");function r(){const s=n.value.trim();s&&(t("submit",s),n.value="")}function i(){}return{text:n,submit:r,onShiftEnter:i}}};var Hp=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"ci-root"},[n("div",{staticClass:"ci-box"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.text,expression:"text"}],ref:"ta",attrs:{placeholder:t.placeholder,disabled:t.busy,rows:"2"},domProps:{value:t.text},on:{keydown:[function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.key,"Enter")||r.ctrlKey||r.shiftKey||r.altKey||r.metaKey?null:(r.preventDefault(),t.submit.apply(null,arguments))},function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.key,"Enter")||!r.shiftKey||r.ctrlKey||r.altKey||r.metaKey?null:t.onShiftEnter.apply(null,arguments)}],input:function(r){r.target.composing||(t.text=r.target.value)}}}),t._v(" "),n("button",{staticClass:"ci-send",attrs:{disabled:t.busy||!t.text.trim(),type:"button"},on:{click:t.submit}},[t.busy?n("span",[t._v("...")]):n("span",[t._v("전송")])])]),n("div",{staticClass:"ci-hint"},[t._v("Enter 로 전송 · Shift+Enter 줄바꿈")])])},jp=[],Wp=mn(Up,Hp,jp,!1,null,"37c22e85");const Gp=Wp.exports,qp="*",Me=al({token:null,baseUrl:null,user:null,hostRoute:null});function si(e){window.parent&&window.parent!==window&&window.parent.postMessage(e,qp)}function Zp(){window.addEventListener("message",t=>{var r,i,s,o,a;const n=t.data;if(!(!n||typeof n!="object"))switch(n.type){case"init":Me.token=(r=n.token)!=null?r:null,Me.baseUrl=(i=n.baseUrl)!=null?i:null,Me.user=(s=n.user)!=null?s:null;break;case"token":Me.token=(o=n.token)!=null?o:null;break;case"route":Me.hostRoute=(a=n.path)!=null?a:null;break}}),new ResizeObserver(()=>{const t=document.documentElement.scrollHeight;si({type:"height",value:t})}).observe(document.documentElement),si({type:"ready"})}function Yp(){si({type:"request-token"})}Do(()=>({...Me}),e=>console.debug("[sample-feature] session updated",e),{deep:!0});const Dr={},Xp=(Dr==null?void 0:Dr.VITE_USE_MOCK)!=="false";async function Kp(e,t,n){if(Xp||!Me.baseUrl)return Qp(e,t,n);const r=(Me.baseUrl||"")+"/agents/hdsp_rag/chat/stream",i={"Content-Type":"application/json",Accept:"text/event-stream"};Me.token&&(i.Authorization=`Bearer ${Me.token}`);const s=await fetch(r,{method:"POST",headers:i,body:JSON.stringify(e),signal:n});if(s.status===401)throw Yp(),new Error("401 unauthorized — 토큰 갱신 요청");if(!s.ok){const u=await s.text();throw new Error(`backend ${s.status}: ${u.slice(0,300)}`)}if(!s.body)throw new Error("no response body");const o=s.body.getReader(),a=new TextDecoder;let l="";for(;;){const{value:u,done:f}=await o.read();if(f)break;l+=a.decode(u,{stream:!0});let v;for(;(v=l.indexOf(`
|
|
63
|
-
|
|
64
|
-
`))!==-1;){const _=l.slice(0,v);l=l.slice(v+2);const y=Jp(_);y&&t(y)}}}function Jp(e){let t="message";const n=[];for(const i of e.split(`
|
|
65
|
-
`))i.startsWith("event:")?t=i.slice(6).trim():i.startsWith("data:")&&n.push(i.slice(5).trim());if(!n.length)return null;const r=n.join(`
|
|
66
|
-
`);try{return{event:t,data:JSON.parse(r)}}catch{return{event:t,data:r}}}async function Qp(e,t,n){const r=e.conversation_id||"conv-mock-"+Math.random().toString(36).slice(2,10);t({event:"ready",data:{conversationId:r}}),await Kt(150,n),e.mode==="knowledge"&&(t({event:"status",data:{text:"검색 중...",stage:"retrieval"}}),await Kt(700,n),t({event:"citations",data:{items:[{index:1,collection:"guide_docs",score:.872,title:"27_emr_serverless_guide.md",source:"27_emr_serverless_guide.md",preview:"EMR Serverless 의 driver memory 는 spark.driver.memory 로 설정합니다. 기본값은 1g 이며, 실행 메모리에 따라 1g~16g 범위에서 조정합니다…"},{index:2,collection:"bdp_tables",score:.731,title:"service_resource_metrics",source:null,preview:"columns: ts (timestamp), service (string), driver_mem_gb (int), executor_count (int), …"},{index:3,collection:"guide_docs",score:.612,title:"12_spark_tuning.md",source:"12_spark_tuning.md",preview:"Spark 튜닝 가이드: executor 메모리는 노드 메모리의 80% 이내로 설정. JVM overhead 는 spark.executor.memoryOverhead 옵션…"}]}}),await Kt(300,n)),t({event:"status",data:{text:"답변 생성 중...",stage:"generation"}}),await Kt(250,n);const i=Vp(e),s=i.match(/[\s\S]{1,4}/g)||[];for(const o of s){if(n!=null&&n.aborted)return;t({event:"token",data:{text:o}}),await Kt(28,n)}t({event:"done",data:{conversationId:r,answer_length:i.length,citation_count:e.mode==="knowledge"?3:0}})}function Vp(e){return e.mode==="simple"?`안녕하세요. simple 모드는 RAG 검색 없이 LLM이 직접 답변합니다.
|
|
67
|
-
|
|
68
|
-
질문: **${e.message}**
|
|
69
|
-
|
|
70
|
-
간단히 답변드리겠습니다. (이건 mock 응답입니다.)`:`**EMR Serverless 메모리 설정** [1]
|
|
71
|
-
|
|
72
|
-
driver 메모리는 \`spark.driver.memory\` 옵션으로 설정합니다. 일반적인 범위는 다음과 같습니다.
|
|
73
|
-
|
|
74
|
-
\`\`\`bash
|
|
75
|
-
spark-submit \\
|
|
76
|
-
--conf spark.driver.memory=4g \\
|
|
77
|
-
--conf spark.executor.memory=8g \\
|
|
78
|
-
--conf spark.executor.memoryOverhead=1g
|
|
79
|
-
\`\`\`
|
|
80
|
-
|
|
81
|
-
| 항목 | 권장값 |
|
|
82
|
-
|---|---|
|
|
83
|
-
| Driver | 2g ~ 4g |
|
|
84
|
-
| Executor | 4g ~ 8g |
|
|
85
|
-
| Overhead | 1g |
|
|
86
|
-
|
|
87
|
-
executor 메모리는 노드 메모리의 80% 이내로 두는 것을 권장합니다 [3]. 모니터링 메트릭은 \`service_resource_metrics\` 테이블에서 \`driver_mem_gb\` 컬럼으로 추적할 수 있습니다 [2].
|
|
88
|
-
|
|
89
|
-
출처: [1] 27_emr_serverless_guide.md, [2] service_resource_metrics, [3] 12_spark_tuning.md`}function Kt(e,t){return new Promise((n,r)=>{if(t!=null&&t.aborted)return r(new Error("aborted"));const i=setTimeout(n,e);t==null||t.addEventListener("abort",()=>{clearTimeout(i),r(new Error("aborted"))})})}let eh=0;function go(){return`m-${Date.now()}-${++eh}`}function th(){const e=je([]),t=je("knowledge"),n=je(!1),r=je(null),i=je(null);let s=null;async function o(u){if(n.value)return;i.value=null;const f={id:go(),role:"user",content:u};e.value.push(f);const v={id:go(),role:"assistant",content:"",isStreaming:!0,status:"시작 중...",citations:[]};e.value.push(v),n.value=!0,s=new AbortController;try{await Kp({message:u,conversation_id:r.value,mode:t.value},_=>{const y=e.value.length-1,b=e.value[y];switch(_.event){case"ready":r.value=_.data.conversationId;break;case"status":b.status=_.data.text;break;case"citations":{b.citations=_.data.items||[],b.status=`${b.citations.length}건의 출처 검색됨`;break}case"token":b.content+=_.data.text||"",b.status&&!b.status.startsWith("답변 생성")&&(b.status=null);break;case"done":b.status=null,b.isStreaming=!1;break;case"error":b.error=_.data.message,b.isStreaming=!1;break}},s.signal)}catch(_){const y=e.value.length-1;e.value[y].error=_ instanceof Error?_.message:String(_),e.value[y].isStreaming=!1,e.value[y].status=null,i.value=e.value[y].error||null}finally{n.value=!1,s=null;const _=e.value.length-1;_>=0&&(e.value[_].isStreaming=!1)}await rr()}function a(){e.value=[],r.value=null,i.value=null}function l(){s==null||s.abort()}return{messages:e,mode:t,busy:n,convId:r,error:i,send:o,reset:a,stop:l}}const nh={name:"App",components:{MessageItem:Bp,ChatInput:Gp},setup(){const e=th(),t=je(null),n=["EMR Serverless 메모리 설정 방법","Airflow DAG 실패 원인 분석","BDP 테이블 스키마 조회 예시","Spark executor 튜닝 가이드"];function r(){const i=t.value;i&&(i.scrollTop=i.scrollHeight)}return Gl(r),ql(r),Do(e.messages,()=>r(),{deep:!0}),{...e,scrollEl:t,suggestions:n}}};var rh=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"cp-root"},[n("header",{staticClass:"cp-head"},[n("div",{staticClass:"cp-head-left"},[n("span",{staticClass:"cp-logo",attrs:{"aria-hidden":"true"}},[n("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 2 L14.2 9.8 L22 12 L14.2 14.2 L12 22 L9.8 14.2 L2 12 L9.8 9.8 Z",fill:"currentColor"}}),n("circle",{attrs:{cx:"19",cy:"5",r:"1.6",fill:"currentColor",opacity:"0.85"}}),n("circle",{attrs:{cx:"5",cy:"19",r:"1.1",fill:"currentColor",opacity:"0.7"}})])]),n("h1",[t._v("BDP Agent")])]),n("div",{staticClass:"cp-head-right"},[t.convId?n("span",{staticClass:"cp-conv"},[t._v("conv: "+t._s(t.convId.slice(0,14))+"…")]):t._e(),t.messages.length?n("button",{staticClass:"cp-reset",attrs:{type:"button"},on:{click:t.reset}},[t._v("새 대화")]):t._e()])]),n("main",{ref:"scrollEl",staticClass:"cp-main"},[t.messages.length?n("div",{staticClass:"cp-list"},t._l(t.messages,function(r){return n("MessageItem",{key:r.id,attrs:{message:r}})}),1):n("div",{staticClass:"cp-empty"},[n("div",{staticClass:"cp-empty-title"},[t._v("무엇을 도와드릴까요?")]),n("p",{staticClass:"cp-empty-sub"},[t._v("사내 가이드·테이블 메타데이터를 검색해서 답해드립니다.")]),n("div",{staticClass:"cp-suggestions"},t._l(t.suggestions,function(r){return n("button",{key:r,staticClass:"cp-sug",attrs:{disabled:t.busy,type:"button"},on:{click:function(i){return t.send(r)}}},[t._v(t._s(r))])}),0)])]),n("ChatInput",{attrs:{busy:t.busy},on:{submit:t.send}})],1)},ih=[],sh=mn(nh,rh,ih,!1,null,null);const oh=sh.exports;V.config.productionTip=!1;new V({render:e=>e(oh)}).$mount("#app");Zp();
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 호스트 (Vue 2.7 + Vuetify) 자동 등록용 라우트/메뉴 정의.
|
|
3
|
-
*
|
|
4
|
-
* 호스트에서:
|
|
5
|
-
* import ragChat from '@logan-jun/cd1-rag-chat/host-integration/route'
|
|
6
|
-
* router.addRoute(ragChat.route)
|
|
7
|
-
* menu.push(ragChat.menu)
|
|
8
|
-
*
|
|
9
|
-
* 또는 자동 수집 패턴(scripts/sync-modules.cjs 생성 파일)로 일괄 등록.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import type { RouteConfig } from 'vue-router'
|
|
13
|
-
import RemoteModule from './RemoteModule.vue'
|
|
14
|
-
|
|
15
|
-
// 정적 자산 위치 (호스트 nginx/public 경로)
|
|
16
|
-
const ASSETS_PATH = '/embedded/rag-chat/index.html'
|
|
17
|
-
|
|
18
|
-
// 사용자가 보는 URL prefix (Vue Router path)
|
|
19
|
-
const ROUTE_PREFIX = '/agents/rag-chat'
|
|
20
|
-
|
|
21
|
-
export const route: RouteConfig = {
|
|
22
|
-
path: `${ROUTE_PREFIX}/:pathMatch(.*)*`,
|
|
23
|
-
name: 'agents-rag-chat',
|
|
24
|
-
component: {
|
|
25
|
-
name: 'RagChatHost',
|
|
26
|
-
components: { RemoteModule },
|
|
27
|
-
computed: {
|
|
28
|
-
token(): string {
|
|
29
|
-
const s: any = (this as any).$store
|
|
30
|
-
return s?.state?.auth?.token ?? ''
|
|
31
|
-
},
|
|
32
|
-
user(): Record<string, unknown> | null {
|
|
33
|
-
const s: any = (this as any).$store
|
|
34
|
-
return s?.state?.auth?.user ?? null
|
|
35
|
-
},
|
|
36
|
-
apiBase(): string {
|
|
37
|
-
return window.location.origin
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
methods: {
|
|
41
|
-
async onTokenRequest(): Promise<void> {
|
|
42
|
-
const s: any = (this as any).$store
|
|
43
|
-
try {
|
|
44
|
-
await s?.dispatch('auth/refresh')
|
|
45
|
-
} catch {
|
|
46
|
-
/* host store가 다른 경로면 호스트 측에서 직접 와이어링 권장 */
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
render(h: any) {
|
|
51
|
-
return h(
|
|
52
|
-
'div',
|
|
53
|
-
{ style: { height: 'calc(100vh - 64px)', margin: 0, padding: 0 } },
|
|
54
|
-
[
|
|
55
|
-
h(RemoteModule, {
|
|
56
|
-
props: {
|
|
57
|
-
src: ASSETS_PATH,
|
|
58
|
-
token: (this as any).token,
|
|
59
|
-
baseUrl: (this as any).apiBase,
|
|
60
|
-
user: (this as any).user,
|
|
61
|
-
syncRoutePrefix: ROUTE_PREFIX,
|
|
62
|
-
},
|
|
63
|
-
on: {
|
|
64
|
-
'request-token': (this as any).onTokenRequest,
|
|
65
|
-
},
|
|
66
|
-
}),
|
|
67
|
-
],
|
|
68
|
-
)
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export const menu = {
|
|
74
|
-
title: 'BDP Agent',
|
|
75
|
-
icon: 'mdi-message-text',
|
|
76
|
-
to: { name: 'agents-rag-chat' },
|
|
77
|
-
order: 50,
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export default { route, menu }
|