@kg-ui/kg-ui 0.1.14 → 0.1.15

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.
@@ -5277,6 +5277,7 @@ const actions = {
5277
5277
  state.currentUsePlugin = state.plugins.find(item => item.key === chatgptAnalysisResult.data.name) || {};
5278
5278
  if (Object.keys(state.currentUsePlugin).length) {
5279
5279
  state.currentPluginParams = chatgptAnalysisResult.data.param;
5280
+ state.checkedPluginByBtn = state.currentUsePlugin;
5280
5281
  dispatch('sendPluginMsg');
5281
5282
  } else {
5282
5283
  dispatch('sendChatgptMsg', willSendMsg);
package/lib/main.umd.js CHANGED
@@ -5277,6 +5277,7 @@ const actions = {
5277
5277
  state.currentUsePlugin = state.plugins.find(item => item.key === chatgptAnalysisResult.data.name) || {};
5278
5278
  if (Object.keys(state.currentUsePlugin).length) {
5279
5279
  state.currentPluginParams = chatgptAnalysisResult.data.param;
5280
+ state.checkedPluginByBtn = state.currentUsePlugin;
5280
5281
  dispatch('sendPluginMsg');
5281
5282
  } else {
5282
5283
  dispatch('sendChatgptMsg', willSendMsg);
@@ -1,4 +1,4 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["@kg-ui/kg-ui"]=t(require("vue")):e["@kg-ui/kg-ui"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="eb4e")}({"00ee":function(e,t,n){"use strict";var i=n("b622"),r=i("toStringTag"),s={};s[r]="z",e.exports="[object z]"===String(s)},"02a3":function(e,t,n){"use strict";n("d6f2")},"03d6":function(e,t,n){var i=n("9c0e"),r=n("6ca1"),s=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,o=r(e),l=0,c=[];for(n in o)n!=a&&i(o,n)&&c.push(n);while(t.length>l)i(o,n=t[l++])&&(~s(c,n)||c.push(n));return c}},"03f7":function(e,t,n){},"04b0":function(e,t){function n(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},o=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,o,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},d=e.inherit(c,{contains:[]}),h=e.inherit(u,{contains:[]});c.contains.push(h),u.contains.push(d);let p=[n,l];[c,u,d,h].forEach(e=>{e.contains=e.contains.concat(p)}),p=p.concat(c,u);const f={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},m={className:"quote",begin:"^>\\s+",contains:p,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[f,n,s,c,u,m,r,i,l,a]}}e.exports=n},"04f8":function(e,t,n){"use strict";var i=n("2d00"),r=n("d039"),s=n("da84"),a=s.String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"051b":function(e,t,n){var i=n("1a14"),r=n("10db");e.exports=n("0bad")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"05f5":function(e,t,n){var i=n("7a41"),r=n("ef08").document,s=i(r)&&i(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},"06cf":function(e,t,n){"use strict";var i=n("83ab"),r=n("c65b"),s=n("d1e7"),a=n("5c6c"),o=n("fc6a"),l=n("a04b"),c=n("1a2d"),u=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=o(e),t=l(t),u)try{return d(e,t)}catch(n){}if(c(e,t))return a(!r(s.f,e,t),e[t])}},"072d":function(e,t,n){"use strict";var i=n("0bad"),r=n("9876"),s=n("fed5"),a=n("1917"),o=n("0983"),l=n("9fbb"),c=Object.assign;e.exports=!c||n("4b8b")((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i}))?function(e,t){var n=o(e),c=arguments.length,u=1,d=s.f,h=a.f;while(c>u){var p,f=l(arguments[u++]),m=d?r(f).concat(d(f)):r(f),g=m.length,v=0;while(g>v)p=m[v++],i&&!h.call(f,p)||(n[p]=f[p])}return n}:c},"07fa":function(e,t,n){"use strict";var i=n("50c4");e.exports=function(e){return i(e.length)}},"0983":function(e,t,n){var i=n("c901");e.exports=function(e){return Object(i(e))}},"0a06":function(e,t,n){"use strict";var i=n("c532"),r=n("30b5"),s=n("f6b4"),a=n("5270"),o=n("4a7b"),l=n("848b"),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}u.prototype.request=function(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=o(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!r){var d=[a,void 0];Array.prototype.unshift.apply(d,i),d=d.concat(u),s=Promise.resolve(t);while(d.length)s=s.then(d.shift(),d.shift());return s}var h=t;while(i.length){var p=i.shift(),f=i.shift();try{h=p(h)}catch(m){f(m);break}}try{s=a(h)}catch(m){return Promise.reject(m)}while(u.length)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){return e=o(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(o(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,i){return this.request(o(i||{},{method:e,url:t,data:n}))}})),e.exports=u},"0aaa":function(e,t,n){"use strict";n("f958")},"0ae2":function(e,t,n){var i=n("9876"),r=n("fed5"),s=n("1917");e.exports=function(e){var t=i(e),n=r.f;if(n){var a,o=n(e),l=s.f,c=0;while(o.length>c)l.call(e,a=o[c++])&&t.push(a)}return t}},"0b22":function(e,t){function n(e){const t=["true","false","iota","nil"],n=["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"],i=["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],r=["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],s={keyword:r,type:i,literal:t,built_in:n};return{name:"Go",aliases:["golang"],keywords:s,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,illegal:/["']/}]}]}}e.exports=n},"0b99":function(e,t,n){"use strict";var i=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0cc4":function(e,t,n){},"0cfb":function(e,t,n){"use strict";var i=n("83ab"),r=n("d039"),s=n("cc12");e.exports=!i&&!r((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){"use strict";var i=n("e330"),r=Error,s=i("".replace),a=function(e){return String(new r(e).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!r.prepareStackTrace)while(t--)e=s(e,o,"");return e}},"0d51":function(e,t,n){"use strict";var i=String;e.exports=function(e){try{return i(e)}catch(t){return"Object"}}},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var i=n("597f");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},"0f6d":function(e,t,n){},1020:function(e,t){function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const i=e[t],r=typeof i;"object"!==r&&"function"!==r||Object.isFrozen(i)||n(i)}),e}class i{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function s(e,...t){const n=Object.create(null);for(const i in e)n[i]=e[i];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const a="</span>",o=e=>!!e.scope,l=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`};class c{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!o(e))return;const t=l(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){o(e)&&(this.buffer+=a)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const u=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class d{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every(e=>"string"===typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{d._collapse(e)}))}}class h extends d{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope="language:"+t),this.add(n)}toHTML(){const e=new c(this,this.options);return e.value()}finalize(){return this.closeAllNodes(),!0}}function p(e){return e?"string"===typeof e?e:e.source:null}function f(e){return v("(?=",e,")")}function m(e){return v("(?:",e,")*")}function g(e){return v("(?:",e,")?")}function v(...e){const t=e.map(e=>p(e)).join("");return t}function b(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){const t=b(e),n="("+(t.capture?"":"?:")+e.map(e=>p(e)).join("|")+")";return n}function _(e){return new RegExp(e.toString()+"|").exec("").length-1}function w(e,t){const n=e&&e.exec(t);return n&&0===n.index}const x=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;const t=n;let i=p(e),r="";while(i.length>0){const e=x.exec(i);if(!e){r+=i;break}r+=i.substring(0,e.index),i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+String(Number(e[1])+t):(r+=e[0],"("===e[0]&&n++)}return r}).map(e=>`(${e})`).join(t)}const k=/\b\B/,S="[a-zA-Z]\\w*",D="[a-zA-Z_]\\w*",E="\\b\\d+(\\.\\d+)?",O="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",T="\\b(0b[01]+)",A="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",$=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=v(t,/.*\b/,e.binary,/\b.*/)),s({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},N={begin:"\\\\[\\s\\S]",relevance:0},M={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[N]},F={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[N]},P={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I=function(e,t,n={}){const i=s({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=y("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:v(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},L=I("//","$"),j=I("/\\*","\\*/"),B=I("#","$"),R={scope:"number",begin:E,relevance:0},z={scope:"number",begin:O,relevance:0},H={scope:"number",begin:T,relevance:0},V={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[N,{begin:/\[/,end:/\]/,relevance:0,contains:[N]}]},q={scope:"title",begin:S,relevance:0},W={scope:"title",begin:D,relevance:0},U={begin:"\\.\\s*"+D,relevance:0},Y=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var K=Object.freeze({__proto__:null,APOS_STRING_MODE:M,BACKSLASH_ESCAPE:N,BINARY_NUMBER_MODE:H,BINARY_NUMBER_RE:T,COMMENT:I,C_BLOCK_COMMENT_MODE:j,C_LINE_COMMENT_MODE:L,C_NUMBER_MODE:z,C_NUMBER_RE:O,END_SAME_AS_BEGIN:Y,HASH_COMMENT_MODE:B,IDENT_RE:S,MATCH_NOTHING_RE:k,METHOD_GUARD:U,NUMBER_MODE:R,NUMBER_RE:E,PHRASAL_WORDS_MODE:P,QUOTE_STRING_MODE:F,REGEXP_MODE:V,RE_STARTERS_RE:A,SHEBANG:$,TITLE_MODE:q,UNDERSCORE_IDENT_RE:D,UNDERSCORE_TITLE_MODE:W});function G(e,t){const n=e.input[e.index-1];"."===n&&t.ignoreMatch()}function Z(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function X(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=G,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Q(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function J(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function ee(e,t){void 0===e.relevance&&(e.relevance=1)}const te=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=v(n.beforeMatch,f(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ne=["of","and","for","in","not","or","if","then","parent","list","value"],ie="keyword";function re(e,t,n=ie){const i=Object.create(null);return"string"===typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach((function(n){Object.assign(i,re(e[n],t,n))})),i;function r(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach((function(t){const n=t.split("|");i[n[0]]=[e,se(n[0],n[1])]}))}}function se(e,t){return t?Number(t):ae(e)?0:1}function ae(e){return ne.includes(e.toLowerCase())}const oe={},le=e=>{console.error(e)},ce=(e,...t)=>{console.log("WARN: "+e,...t)},ue=(e,t)=>{oe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),oe[`${e}/${t}`]=!0)},de=new Error;function he(e,t,{key:n}){let i=0;const r=e[n],s={},a={};for(let o=1;o<=t.length;o++)a[o+i]=r[o],s[o+i]=!0,i+=_(t[o-1]);e[n]=a,e[n]._emit=s,e[n]._multi=!0}function pe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),de;if("object"!==typeof e.beginScope||null===e.beginScope)throw le("beginScope must be object"),de;he(e,e.begin,{key:"beginScope"}),e.begin=C(e.begin,{joinWith:""})}}function fe(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"),de;if("object"!==typeof e.endScope||null===e.endScope)throw le("endScope must be object"),de;he(e,e.end,{key:"endScope"}),e.end=C(e.end,{joinWith:""})}}function me(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}function ge(e){me(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),pe(e),fe(e)}function ve(e){function t(t,n){return new RegExp(p(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=_(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex((e,t)=>t>0&&void 0!==e),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function r(e){const t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}function a(n,i){const s=n;if(n.isCompiled)return s;[Z,J,ge,te].forEach(e=>e(n,i)),e.compilerExtensions.forEach(e=>e(n,i)),n.__beforeBegin=null,[X,Q,ee].forEach(e=>e(n,i)),n.isCompiled=!0;let o=null;return"object"===typeof n.keywords&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),o=n.keywords.$pattern,delete n.keywords.$pattern),o=o||/\w+/,n.keywords&&(n.keywords=re(n.keywords,e.case_insensitive)),s.keywordPatternRe=t(o,!0),i&&(n.begin||(n.begin=/\B|\b/),s.beginRe=t(s.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(s.endRe=t(s.end)),s.terminatorEnd=p(s.end)||"",n.endsWithParent&&i.terminatorEnd&&(s.terminatorEnd+=(n.end?"|":"")+i.terminatorEnd)),n.illegal&&(s.illegalRe=t(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return ye("self"===e?n:e)}))),n.contains.forEach((function(e){a(e,s)})),n.starts&&a(n.starts,i),s.matcher=r(s),s}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=s(e.classNameAliases||{}),a(e)}function be(e){return!!e&&(e.endsWithParent||be(e.starts))}function ye(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return s(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:be(e)?s(e,{starts:e.starts?s(e.starts):null}):Object.isFrozen(e)?s(e):e}var _e="11.9.0";class we extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const xe=r,Ce=s,ke=Symbol("nomatch"),Se=7,De=function(e){const t=Object.create(null),r=Object.create(null),s=[];let a=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let c={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function u(e){return c.noHighlightRe.test(e)}function d(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=c.languageDetectRe.exec(t);if(n){const t=F(n[1]);return t||(ce(o.replace("{}",n[1])),ce("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>u(e)||F(e))}function p(e,t,n){let i="",r="";"object"===typeof t?(i=e,n=t.ignoreIllegals,r=t.language):(ue("10.7.0","highlight(lang, code, ...args) has been deprecated."),ue("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,i=t),void 0===n&&(n=!0);const s={code:i,language:r};R("before:highlight",s);const a=s.result?s.result:b(s.language,s.code,n);return a.code=s.code,R("after:highlight",a),a}function b(e,n,r,s){const l=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!A.keywords)return void N.addText(M);let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(M),n="";while(t){n+=M.substring(e,t.index);const i=E.case_insensitive?t[0].toLowerCase():t[0],r=u(A,i);if(r){const[e,s]=r;if(N.addText(n),n="",l[i]=(l[i]||0)+1,l[i]<=Se&&(P+=s),e.startsWith("_"))n+=t[0];else{const n=E.classNameAliases[e]||e;f(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(M)}n+=M.substring(e),N.addText(n)}function h(){if(""===M)return;let e=null;if("string"===typeof A.subLanguage){if(!t[A.subLanguage])return void N.addText(M);e=b(A.subLanguage,M,!0,$[A.subLanguage]),$[A.subLanguage]=e._top}else e=x(M,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(P+=e.relevance),N.__addSublanguage(e._emitter,e.language)}function p(){null!=A.subLanguage?h():d(),M=""}function f(e,t){""!==e&&(N.startScope(t),N.addText(e),N.endScope())}function m(e,t){let n=1;const i=t.length-1;while(n<=i){if(!e._emit[n]){n++;continue}const i=E.classNameAliases[e[n]]||e[n],r=t[n];i?f(r,i):(M=r,d(),M=""),n++}}function g(e,t){return e.scope&&"string"===typeof e.scope&&N.openNode(E.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(f(M,E.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),M=""):e.beginScope._multi&&(m(e.beginScope,t),M="")),A=Object.create(e,{parent:{value:A}}),A}function v(e,t,n){let r=w(e.endRe,n);if(r){if(e["on:end"]){const n=new i(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){while(e.endsParent&&e.parent)e=e.parent;return e}}if(e.endsWithParent)return v(e.parent,t,n)}function y(e){return 0===A.matcher.regexIndex?(M+=e[0],1):(j=!0,0)}function _(e){const t=e[0],n=e.rule,r=new i(n),s=[n.__beforeBegin,n["on:begin"]];for(const i of s)if(i&&(i(e,r),r.isMatchIgnored))return y(t);return n.skip?M+=t:(n.excludeBegin&&(M+=t),p(),n.returnBegin||n.excludeBegin||(M=t)),g(n,e),n.returnBegin?0:t.length}function C(e){const t=e[0],i=n.substring(e.index),r=v(A,e,i);if(!r)return ke;const s=A;A.endScope&&A.endScope._wrap?(p(),f(t,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),m(A.endScope,e)):s.skip?M+=t:(s.returnEnd||s.excludeEnd||(M+=t),p(),s.excludeEnd&&(M=t));do{A.scope&&N.closeNode(),A.skip||A.subLanguage||(P+=A.relevance),A=A.parent}while(A!==r.parent);return r.starts&&g(r.starts,e),s.returnEnd?0:t.length}function k(){const e=[];for(let t=A;t!==E;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>N.openNode(e))}let S={};function D(t,i){const s=i&&i[0];if(M+=t,null==s)return p(),0;if("begin"===S.type&&"end"===i.type&&S.index===i.index&&""===s){if(M+=n.slice(i.index,i.index+1),!a){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=S.rule,t}return 1}if(S=i,"begin"===i.type)return _(i);if("illegal"===i.type&&!r){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(A.scope||"<unnamed>")+'"');throw e.mode=A,e}if("end"===i.type){const e=C(i);if(e!==ke)return e}if("illegal"===i.type&&""===s)return 1;if(L>1e5&&L>3*i.index){const e=new Error("potential infinite loop, way more iterations than matches");throw e}return M+=s,s.length}const E=F(e);if(!E)throw le(o.replace("{}",e)),new Error('Unknown language: "'+e+'"');const O=ve(E);let T="",A=s||O;const $={},N=new c.__emitter(c);k();let M="",P=0,I=0,L=0,j=!1;try{if(E.__emitTokens)E.__emitTokens(n,N);else{for(A.matcher.considerAll();;){L++,j?j=!1:A.matcher.considerAll(),A.matcher.lastIndex=I;const e=A.matcher.exec(n);if(!e)break;const t=n.substring(I,e.index),i=D(t,e);I=e.index+i}D(n.substring(I))}return N.finalize(),T=N.toHTML(),{language:e,value:T,relevance:P,illegal:!1,_emitter:N,_top:A}}catch(B){if(B.message&&B.message.includes("Illegal"))return{language:e,value:xe(n),illegal:!0,relevance:0,_illegalBy:{message:B.message,index:I,context:n.slice(I-100,I+100),mode:B.mode,resultSoFar:T},_emitter:N};if(a)return{language:e,value:xe(n),illegal:!1,relevance:0,errorRaised:B,_emitter:N,_top:A};throw B}}function _(e){const t={value:xe(e),illegal:!1,relevance:0,_top:l,_emitter:new c.__emitter(c)};return t._emitter.addText(e),t}function x(e,n){n=n||c.languages||Object.keys(t);const i=_(e),r=n.filter(F).filter(I).map(t=>b(t,e,!1));r.unshift(i);const s=r.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(F(e.language).supersetOf===t.language)return 1;if(F(t.language).supersetOf===e.language)return-1}return 0}),[a,o]=s,l=a;return l.secondBest=o,l}function C(e,t,n){const i=t&&r[t]||n;e.classList.add("hljs"),e.classList.add("language-"+i)}function k(e){let t=null;const n=d(e);if(u(n))return;if(R("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(c.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),c.throwUnescapedHTML)){const t=new we("One of your code blocks includes unescaped HTML.",e.innerHTML);throw t}t=e;const i=t.textContent,r=n?p(i,{language:n,ignoreIllegals:!0}):x(i);e.innerHTML=r.value,e.dataset.highlighted="yes",C(e,n,r.language),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),R("after:highlightElement",{el:e,result:r,text:i})}function S(e){c=Ce(c,e)}const D=()=>{T(),ue("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function E(){T(),ue("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let O=!1;function T(){if("loading"===document.readyState)return void(O=!0);const e=document.querySelectorAll(c.cssSelector);e.forEach(k)}function A(){O&&T()}function $(n,i){let r=null;try{r=i(e)}catch(s){if(le("Language definition for '{}' could not be registered.".replace("{}",n)),!a)throw s;le(s),r=l}r.name||(r.name=n),t[n]=r,r.rawDefinition=i.bind(null,e),r.aliases&&P(r.aliases,{languageName:n})}function N(e){delete t[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]}function M(){return Object.keys(t)}function F(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}function P(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach(e=>{r[e.toLowerCase()]=t})}function I(e){const t=F(e);return t&&!t.disableAutodetect}function L(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}function j(e){L(e),s.push(e)}function B(e){const t=s.indexOf(e);-1!==t&&s.splice(t,1)}function R(e,t){const n=e;s.forEach((function(e){e[n]&&e[n](t)}))}function z(e){return ue("10.7.0","highlightBlock will be removed entirely in v12.0"),ue("10.7.0","Please use highlightElement now."),k(e)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",A,!1),Object.assign(e,{highlight:p,highlightAuto:x,highlightAll:T,highlightElement:k,highlightBlock:z,configure:S,initHighlighting:D,initHighlightingOnLoad:E,registerLanguage:$,unregisterLanguage:N,listLanguages:M,getLanguage:F,registerAliases:P,autoDetection:I,inherit:Ce,addPlugin:j,removePlugin:B}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString=_e,e.regex={concat:v,lookahead:f,either:y,optional:g,anyNumberOfTimes:m};for(const i in K)"object"===typeof K[i]&&n(K[i]);return Object.assign(e,K),e},Ee=De({});Ee.newInstance=()=>De({}),e.exports=Ee,Ee.HighlightJS=Ee,Ee.default=Ee},1098:function(e,t,n){"use strict";t.__esModule=!0;var i=n("17ed"),r=l(i),s=n("f893"),a=l(s),o="function"===typeof a.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===o(r.default)?function(e){return"undefined"===typeof e?"undefined":o(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":o(e)}},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111e":function(e,t,n){"use strict";n("e25b")},"12f2":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"13d2":function(e,t,n){"use strict";var i=n("e330"),r=n("d039"),s=n("1626"),a=n("1a2d"),o=n("83ab"),l=n("5e77").CONFIGURABLE,c=n("8925"),u=n("69f3"),d=u.enforce,h=u.get,p=String,f=Object.defineProperty,m=i("".slice),g=i("".replace),v=i([].join),b=o&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),_=e.exports=function(e,t,n){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(o?f(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&a(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?o&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(r){}var i=d(e);return a(i,"source")||(i.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return s(this)&&h(this).source||c(this)}),"toString")},"13d5":function(e,t,n){"use strict";var i=n("23e7"),r=n("d58f").left,s=n("a640"),a=n("2d00"),o=n("605d"),l=!o&&a>79&&a<83,c=l||!s("reduce");i({target:"Array",proto:!0,forced:c},{reduce:function(e){var t=arguments.length;return r(this,e,t,t>1?arguments[1]:void 0)}})},"14d9":function(e,t,n){"use strict";var i=n("23e7"),r=n("7b0b"),s=n("07fa"),a=n("3a34"),o=n("3511"),l=n("d039"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=c||!u();i({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=r(this),n=s(t),i=arguments.length;o(n+i);for(var l=0;l<i;l++)t[n]=arguments[l],n++;return a(t,n),n}})},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(39),s=n.n(r),a=n(3),o=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function c(e){var t=e.move,n=e.size,i=e.bar,r={},s="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=s,r.msTransform=s,r.webkitTransform=s,r}var u={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:c({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(o["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(o["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(o["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(o["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:u},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=s()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var o=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[o]]),c=void 0;return c=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[o]])]:[l,e(u,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(u,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},c)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(d.name,d)}};t["default"]=d},16:function(e,t){e.exports=n("4010")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},39:function(e,t){e.exports=n("e62d")}})},1609:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},1626:function(e,t,n){"use strict";var i=n("8ea1"),r=i.all;e.exports=i.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var i=n("6ca1"),r=n("6438").f,s={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==s.call(e)?o(e):r(i(e))}},1840:function(e,t,n){var i={"./Home/message/en.js":"59ef","./Home/message/zh.js":"2b67","./KgTimePicker/message/en.js":"84a3","./KgTimePicker/message/zh.js":"7290"};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id="1840"},"187e":function(e,t,n){"use strict";n.r(t),n.d(t,"DataType",(function(){return H}));n("14d9");async function i(e,t){const n=e.getReader();let i;while(!(i=await n.read()).done)t(i.value)}function r(e){let t,n,i,r=!1;return function(s){void 0===t?(t=s,n=0,i=-1):t=a(t,s);const o=t.length;let l=0;while(n<o){r&&(10===t[n]&&(l=++n),r=!1);let s=-1;for(;n<o&&-1===s;++n)switch(t[n]){case 58:-1===i&&(i=n-l);break;case 13:r=!0;case 10:s=n;break}if(-1===s)break;e(t.subarray(l,s),i),l=n,i=-1}l===o?t=void 0:0!==l&&(t=t.subarray(l),n-=l)}}function s(e,t,n){let i=o();const r=new TextDecoder;return function(s,a){if(0===s.length)null===n||void 0===n||n(i),i=o();else if(a>0){const n=r.decode(s.subarray(0,a)),o=a+(32===s[a+1]?2:1),l=r.decode(s.subarray(o));switch(n){case"data":i.data=i.data?i.data+"\n"+l:l;break;case"event":i.event=l;break;case"id":e(i.id=l);break;case"retry":const n=parseInt(l,10);isNaN(n)||t(i.retry=n);break}}}}function a(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function o(){return{data:"",event:"",id:"",retry:void 0}}var l=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};const c="text/event-stream",u=1e3,d="last-event-id";function h(e,t){var{signal:n,headers:a,onopen:o,onmessage:h,onclose:f,onerror:m,openWhenHidden:g,fetch:v}=t,b=l(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,l)=>{const y=Object.assign({},a);let _;function w(){_.abort(),document.hidden||E()}y.accept||(y.accept=c),g||document.addEventListener("visibilitychange",w);let x=u,C=0;function k(){document.removeEventListener("visibilitychange",w),window.clearTimeout(C),_.abort()}null===n||void 0===n||n.addEventListener("abort",()=>{k(),t()});const S=null!==v&&void 0!==v?v:window.fetch,D=null!==o&&void 0!==o?o:p;async function E(){var n;_=new AbortController;try{const n=await S(e,Object.assign(Object.assign({},b),{headers:y,signal:_.signal}));await D(n),await i(n.body,r(s(e=>{e?y[d]=e:delete y[d]},e=>{x=e},h))),null===f||void 0===f||f(),k(),t()}catch(a){if(!_.signal.aborted)try{const e=null!==(n=null===m||void 0===m?void 0:m(a))&&void 0!==n?n:x;window.clearTimeout(C),C=window.setTimeout(E,e)}catch(o){k(),l(o)}}}E()})}function p(e){const t=e.headers.get("content-type");if(!(null===t||void 0===t?void 0:t.startsWith(c)))throw new Error(`Expected content-type to be ${c}, Actual: ${t}`)}function f(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(e,t){f(e,t),t.add(e)}function g(e,t){return t.get?t.get.call(e):t.value}function v(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}function b(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function y(e,t,n){return v(e,t),b(n,"get"),g(e,n)}function _(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var w,x=n("bc3a"),C=n.n(x);const k={timeout:3e5,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}};var S=new WeakSet,D=new WeakSet;class E{constructor(){m(this,D),m(this,S),_(this,S,O).call(this),_(this,D,T).call(this)}request(e,t,n,i){const r={method:e,url:t,...n,...i};return new Promise((e,t)=>{y(E,E,A).request(r).then(t=>{e(t)}).catch(e=>{t(e)})})}post(e,t,n){return this.request("post",e,t,n)}get(e,t,n){return this.request("get",e,t,n)}cancelByUrl(e){y(E,E,$)[e]&&y(E,E,$)[e].cancel("取消请求"),delete y(E,E,$)[e||""]}}function O(){y(w,w,A).interceptors.request.use(e=>{const t=y(w,w,$)[e.url];t&&t.cancel();const n=C.a.CancelToken.source();y(w,w,$)[e.url]=n,e.cancelToken=n.token;const i=Y.state.knowledgeToken;return i&&(e.headers.accessToken=e.headers.accessToken||i),e},e=>Promise.reject(e))}function T(){y(w,w,A).interceptors.response.use(e=>{const t=e.data;return delete y(w,w,$)[e.config.url||""],t},e=>(console.log("err"+e),Promise.reject(e)))}w=E;var A={writable:!0,value:C.a.create(k)},$={writable:!0,value:{}};const N=new E,M=e=>{const t=new AbortController;let{data:n,method:i="POST"}=e;const r=Object.assign({"Content-Type":"application/json"},e.headers||{});return h(e.sendUrl,{method:i,body:n&&JSON.stringify(n),signal:t.signal,openWhenHidden:!0,headers:r,onmessage(t){t.data&&e.onmessage(t)},onclose(){t.abort(),e.onclose()},onerror(t){throw console.error(t),e.onerror(t),t}}),()=>{t.abort()}},F=(e={})=>N.request("get","/api/chatHistory/list",{data:e,timeout:6e4}),P=e=>N.request("post","/api/chatHistory/session",{data:e,timeout:6e4}),I=e=>N.request("delete","/api/chatHistory/session",{params:e,timeout:6e4}),L=e=>N.request("patch","/api/chatHistory/info",{data:e,timeout:6e4}),j=e=>N.request("post","/api/chatHistory/info",{data:e,timeout:6e4}),B=e=>N.request("get","/api/chatHistory/records",{params:e,timeout:6e4}),R=e=>N.request("patch","/api/chatHistory/session",{data:e,timeout:6e4});var z=n("4bce");const H={text:"text",edit:"edit",file:"file"},V={useHistoryRecord:!1,knowledgeToken:"",historyList:[],currentHistoryRecord:{},sendUrl:"",getkitsUrl:"",token:"",plugins:[],placeholder:"",maxSendNum:0,defaultPlugin:{},initText:"",aiName:"",isShowCopilot_beta:!1,searchText:"",isShowNewTheme:!1,textSum:0,stopDialogue:!1,msgList:[],sendLonding:!1,checkedPluginByBtn:[],cancleUrl:"",requestSseing:!1,isSetOut:!1,intelligentAnalysisConfig:{},currentPluginParams:{},currentUsePlugin:{},defaultDeal:{},cancelsse:()=>{},pluginsPayload:{}},q={selPluginParams(e){var t;const n=Object(z["h"])(e.checkedPluginByBtn)?{}:null===(t=e.checkedPluginByBtn)||void 0===t||null===(t=t.param_desc)||void 0===t?void 0:t.properties;return Object.keys(n)},pluginPayloadStr(e,t){let n="";for(const i in e.pluginsPayload)t.selPluginParams&&t.selPluginParams.includes(i)&&e.pluginsPayload[i]&&(n+=Object(z["i"])(i.toString())+":",n+=e.pluginsPayload[i],n+="&nbsp;&nbsp;");return n}},W={initDialogue(e){e.msgList=[{isSend:!1,needPrinting:!0,msgs:[{uuid:Date.now(),needPrinting:!0,type:H.text,content:e.initText}],showOpt:!1}]},initCopilot(e,{getkitsUrl:t,plugins:n,initText:i,aiName:r,maxSendNum:s,intelligentAnalysisConfig:a,defaultDeal:o,placeholder:l,pluginsPayload:c,useHistoryRecord:u,knowledgeToken:d}){e.getkitsUrl=t,e.plugins=n,e.maxSendNum=s,e.initText=i,e.aiName=r,e.placeholder=l,e.searchText="",e.isSetOut=!0,e.isShowNewTheme=!1,W.initDialogue(e),e.stopDialogue=!1,e.sendLonding=!0,e.intelligentAnalysisConfig=a,e.defaultDeal=o,e.pluginsPayload=c||{},e.useHistoryRecord=u,e.knowledgeToken=d,u&&U.getHistoryList({state:e})},resetCopilot(e){e.currentHistoryRecord={},W.onlyCancelRequest(e),e.searchText="",e.isShowNewTheme=!1,W.initDialogue(e),e.stopDialogue=!1,e.sendLonding=!0,e.isSetOut=!0,e.checkedPluginByBtn={}},setStopDialogue(e,t){e.stopDialogue=t},setSearchText(e,{str:t,isSetOut:n=!1}){e.searchText=t,e.isSetOut=!t||n},setIsSetOut(e,t){e.isSetOut=t},setSendLonding(e,t){e.sendLonding=t},setShowNewTheme(e,t){e.isShowNewTheme=t},setCheckedPluginList(e,t){e.checkedPluginByBtn=e.checkedPluginByBtn===t?{}:t},setMsgList(e,t){e.msgList.push(t)},responseMsg(e,{type:t,content:n}){const[i]=e.msgList.slice(-1);if(!i.isSend)return i.msgs.push({needPrinting:!0,uuid:Date.now(),type:t,content:n}),void U.updataCurrentHistoryInfo({state:e});const r=e.currentUsePlugin.name;e.msgList.push({isSend:!1,needPrinting:!0,msgs:[{needPrinting:!0,uuid:Date.now(),type:t,content:n}],showOpt:!0,plusName:r}),U.updataCurrentHistoryInfo({state:e})},setRequestSseing(e,t){e.requestSseing=t},setCancelsse(e,t){e.cancelsse=t},setCancelUrl(e,t){e.cancleUrl=t},onlyCancelRequest(e){e.cancelsse&&e.cancelsse(),e.requestSseing=!1,N.cancelByUrl(e.cancleUrl)},setPluginsPayloadFn(e,t){e.pluginsPayload=t}},U={changeCurrentRecord({state:e,dispatch:t,commit:n},i){e.currentHistoryRecord.sessionId!==i.sessionId&&(e.currentHistoryRecord=i,t("cancelRequest"),B({sessionId:i.sessionId}).then(t=>{if(200===t.status){const[n]=t.data;if(!n)return;e.currentHistoryRecord.recordId=n.id;const{msgList:i,checkedPlugKey:r}=JSON.parse(n.info);e.checkedPluginByBtn=e.plugins.find(e=>e.key===r)||{},i.forEach((e,t)=>{e.isHistory=!0,t===i.length-1&&(e.needPrinting=!1,e.msgs.forEach(e=>{e.needPrinting=!1}))}),e.msgList=i}}))},delHistoryRecord({state:e,commit:t,dispatch:n},{sessionId:i="xxx",isAll:r}){I({sessionId:i,isAll:r}).then(s=>{if(200===s.status){if(n("getHistoryList"),r&&e.currentHistoryRecord.sessionId)return e.currentHistoryRecord={},void t("resetCopilot");e.currentHistoryRecord.sessionId===i&&(e.currentHistoryRecord={},t("resetCopilot"))}})},getHistoryList({state:e}){return F().then(t=>{200===t.status&&(e.historyList=t.data)})},updataCurrentHistoryInfo({state:e}){e.useHistoryRecord&&(e.currentHistoryRecord.recordId?L({id:e.currentHistoryRecord.recordId,info:JSON.stringify({msgList:e.msgList,checkedPlugKey:e.checkedPluginByBtn.key||""})}):j({sessionId:e.currentHistoryRecord.sessionId,info:JSON.stringify({msgList:e.msgList,checkedPlugKey:e.checkedPluginByBtn.key||""})}).then(t=>{200===t.status&&(e.currentHistoryRecord.recordId=t.data)}))},async updataHistoryName({dispatch:e},t){await R(t).then(t=>{if(200===t.status)return e("getHistoryList");message(t.message,{type:"error"})})},async sendMsg({state:e,getters:t,commit:n,dispatch:i},r){if(""===r&&""===t.pluginPayloadStr)return;1===e.msgList.length&&e.useHistoryRecord&&P({name:r}).then(t=>{200===t.status&&(e.currentHistoryRecord={sessionId:t.data,name:r},i("getHistoryList"),i("updataCurrentHistoryInfo"))});let s=r;t.pluginPayloadStr&&(s&&(s+="&nbsp;&nbsp;"),s+=t.pluginPayloadStr),n("setMsgList",{isSend:!0,needPrinting:!1,msgs:[{needPrinting:!1,uuid:Date.now(),type:H.text,content:s}],showOpt:!1}),n("setSendLonding",!0),n("setSearchText",{str:""}),n("setShowNewTheme",!0);const a=e.msgList.slice(-5).map(e=>e.msgs.map(e=>e.type===H.text?e.content:e.type===H.edit?e.content.message:void 0).join(""));let o=[];if(Object.keys(e.checkedPluginByBtn).length){const{key:t,param_desc:n}=e.checkedPluginByBtn;o=[{name:t,parameters:n}]}else o=e.plugins.map(e=>{const{key:t,param_desc:n,require:i}=e;return{name:t,parameters:n,description:i}});n("setCancelUrl",e.intelligentAnalysisConfig.url);const l=await N.post(e.intelligentAnalysisConfig.url,{data:{message:a[a.length-1],functionInfoList:o},headers:{accessToken:e.intelligentAnalysisConfig.token}});if(200===l.status){if("err"in l.data)return i("sendChatgptMsg",a),e.currentPluginParams={},void(e.currentUsePlugin={});e.currentUsePlugin=e.plugins.find(e=>e.key===l.data.name)||{},Object.keys(e.currentUsePlugin).length?(e.currentPluginParams=l.data.param,i("sendPluginMsg")):i("sendChatgptMsg",a)}else n("setSendLonding",!1)},sendChatgptMsg({state:e,dispatch:t},n){e.defaultDeal.requestParameFn=e.defaultDeal.requestParameFn?e.defaultDeal.requestParameFn:e=>e;const{data:i,headers:r}=e.defaultDeal.requestParameFn({lastMsgs:n,data:{},headers:{}});void 0===e.defaultDeal.isSse&&(e.defaultDeal.isSse=!0),e.defaultDeal.isSse?t("defaultSseDeal",{data:i,headers:r}):t("defaultXhrDeal",{data:i,headers:r})},sendPluginMsg({state:e,commit:t,dispatch:n}){e.currentUsePlugin.requestParameFn=e.currentUsePlugin.requestParameFn?e.currentUsePlugin.requestParameFn:e=>e;const{data:i,headers:r}=e.currentUsePlugin.requestParameFn({data:e.currentPluginParams,headers:{}});t("setRequestSseing",!0),t("setCancelsse",M({sendUrl:e.currentUsePlugin.url,method:e.currentUsePlugin.method,data:i,headers:r,onerror:()=>{t("responseMsg",{type:H.text,content:"服务异常"}),n("sseRequestOver")},onmessage:i=>{const{type:r,content:s,isOver:a}=e.currentUsePlugin.responseParameFn(i),o=!!e.currentUsePlugin.isDify;o&&a&&t("responseMsg",{type:r,content:"<br>"}),s&&t("responseMsg",{type:r,content:s}),a&&n("sseRequestOver")},onclose:()=>{n("sseRequestOver"),e.currentUsePlugin.onclose&&e.currentUsePlugin.onclose()}}))},defaultSseDeal({state:e,commit:t},{data:n,headers:i}){t("setRequestSseing",!0),e.cancelsse=M({sendUrl:e.defaultDeal.url,method:e.defaultDeal.method,headers:i,data:n,onerror:()=>{t("responseMsg",{type:H.text,content:"服务异常"}),t("setRequestSseing",!1),e.cancelsse()},onmessage:n=>{const{type:i,content:r,isOver:s}=e.defaultDeal.responseParameFn(n);if(t("responseMsg",{type:i,content:r}),s)return t("setRequestSseing",!1),void e.cancelsse()},onclose:()=>{t("setRequestSseing",!1),e.cancelsse(),e.defaultDeal.onclose&&e.defaultDeal.onclose()}})},defaultXhrDeal({commit:e,state:t},{data:n,headers:i}){t.cancleUrl=t.defaultDeal.url;const{method:r="post"}=t.defaultDeal;N.request("post",t.defaultDeal.url,{data:n,headers:i,method:r}).then(n=>{const{type:i,content:r,isOver:s}=t.defaultDeal.responseParameFn(n);e("responseMsg",{type:i,content:r}),s&&N.cancelByUrl(t.cancleUrl)})["catch"](()=>{e("setSendLonding",!1)})},sseRequestOver({commit:e,state:t}){e("setRequestSseing",!1),e("setShowNewTheme",!1),t.cancelsse()},cancelRequest({state:e,commit:t}){e.cancelsse&&e.cancelsse(),t("setRequestSseing",!1),N.cancelByUrl(e.cancleUrl),t("setSendLonding",!1)},setPluginsPayload({state:e,commit:t},n){t("setPluginsPayloadFn",n)},clearPluginsPayload({commit:e}){e("setPluginsPayloadFn",{})}};var Y=t["default"]={namespaced:!0,state:V,getters:q,mutations:W,actions:U}},1917:function(e,t){t.f={}.propertyIsEnumerable},"19fa":function(e,t,n){var i=n("fc5e"),r=n("c901");e.exports=function(e){return function(t,n){var s,a,o=String(r(t)),l=i(n),c=o.length;return l<0||l>=c?e?"":void 0:(s=o.charCodeAt(l),s<55296||s>56319||l+1===c||(a=o.charCodeAt(l+1))<56320||a>57343?e?o.charAt(l):s:e?o.slice(l,l+2):a-56320+(s-55296<<10)+65536)}}},"1a14":function(e,t,n){var i=n("77e9"),r=n("faf5"),s=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(i(e),t=s(t,!0),i(n),r)try{return a(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){"use strict";var i=n("e330"),r=n("7b0b"),s=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(r(e),t)}},"1c83":function(e,t,n){"use strict";n("61ea")},"1d21":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"k-time-picker"},[t("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1},on:{command:e.command,"visible-change":e.visibleChange}},[t("span",{attrs:{title:e.languages["releaseTime"]+":"+e.timeTitleResult}},[t("span",[e._v(e._s(e.timeTitleResult))]),t("i",{directives:[{name:"show",rawName:"v-show",value:!e.dropDownVisible,expression:"!dropDownVisible"}],staticClass:"el-icon-arrow-down el-icon--right"}),t("i",{directives:[{name:"show",rawName:"v-show",value:e.dropDownVisible,expression:"dropDownVisible"}],staticClass:"el-icon-arrow-up el-icon--right"})]),t("el-dropdown-menu",{staticClass:"dedup-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.pureTimeTypeList,(function(n){return t("el-dropdown-item",{key:n,attrs:{command:n}},[t("el-radio",{attrs:{label:n},model:{value:e.currentTimeType,callback:function(t){e.currentTimeType=t},expression:"currentTimeType"}},[e._v(" "+e._s(e.languages[n])+" ")])],1)})),t("div",{staticClass:"custom_redio"},[t("el-radio",{attrs:{label:e.customType},model:{value:e.currentTimeType,callback:function(t){e.currentTimeType=t},expression:"currentTimeType"}},[e._v(" "+e._s(e.languages["custom"])+" ")])],1),t("div",{directives:[{name:"show",rawName:"v-show",value:e.currentTimeType===e.customType,expression:"currentTimeType === customType"}],staticClass:"datepicker_area"},[t("div",{staticClass:"back_now"},[t("span",{on:{click:e.datepickerBackNow}},[t("i",{staticClass:"el-icon-refresh-right"}),e._v(" "+e._s(e.languages["backNow"])+" ")])]),t("vue-datepicker-local",{attrs:{clearable:!1,"range-separator":"至",format:"YYYY-MM-DD HH:mm:ss"},on:{confirm:e.getCustomerTime,input:e.getCustomerTime},model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})],1)],2)],1)],1)},r=[],s=(n("d9e2"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"datepicker",class:{"datepicker-range":e.range,datepicker__clearable:e.clearable&&e.text&&!e.disabled}},["inline"!==e.type?t("input",{class:[e.show?"focus":"",e.inputClass],attrs:{readonly:"",disabled:e.disabled,placeholder:e.placeholder,name:e.name},domProps:{value:e.text}}):e._e(),t("a",{staticClass:"datepicker-close",on:{click:function(t){return t.stopPropagation(),e.cls.apply(null,arguments)}}}),t("transition",{attrs:{name:"datepicker-anim"}},[e.show||"inline"===e.type?t("div",{staticClass:"datepicker-popup",class:[e.popupClass,{"datepicker-inline":"inline"===e.type}],attrs:{tabindex:"-1"}},[e.range?[t("vue-datepicker-local-calendar",{attrs:{left:!0},model:{value:e.dates[0],callback:function(t){e.$set(e.dates,0,t)},expression:"dates[0]"}}),t("vue-datepicker-local-calendar",{attrs:{right:!0},model:{value:e.dates[1],callback:function(t){e.$set(e.dates,1,t)},expression:"dates[1]"}})]:[t("vue-datepicker-local-calendar",{model:{value:e.dates[0],callback:function(t){e.$set(e.dates,0,t)},expression:"dates[0]"}})],e.showButtons?t("div",{staticClass:"datepicker__buttons"},[t("button",{staticClass:"datepicker__button-cancel",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.cancel.apply(null,arguments)}}},[e._v(e._s(this.local.cancelTip))]),t("button",{staticClass:"datepicker__button-select",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.submit.apply(null,arguments)}}},[e._v(e._s(this.local.submitTip))])]):e._e()],2):e._e()])],1)}),a=[],o=function(){var e=this,t=e._self._c;return t("div",{class:""+e.pre},[t("div",{class:e.pre+"-head"},[t("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-prev-decade-btn",on:{click:function(t){e.year-=10}}},[e._v("«")]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-prev-year-btn",on:{click:function(t){e.year--}}},[e._v("«")]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-prev-month-btn",on:{click:e.pm}},[e._v("‹")]),t("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-year-select"},[e._v(e._s(e.ys+"-"+e.ye))]),e.local.yearSuffix?[t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-year-select",on:{click:function(t){e.showYears=!e.showYears}}},[e._v(e._s(e.year)+e._s(e.local.yearSuffix))]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-month-select",on:{click:function(t){e.showMonths=!e.showMonths}}},[e._v(e._s(e.local.monthsHead[e.month]))])]:[t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-month-select",on:{click:function(t){e.showMonths=!e.showMonths}}},[e._v(e._s(e.local.monthsHead[e.month]))]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-year-select",on:{click:function(t){e.showYears=!e.showYears}}},[e._v(e._s(e.year))])],t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-next-month-btn",on:{click:e.nm}},[e._v("›")]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-next-year-btn",on:{click:function(t){e.year++}}},[e._v("»")]),t("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-next-decade-btn",on:{click:function(t){e.year+=10}}},[e._v("»")])],2),t("div",{class:e.pre+"-body"},[t("div",{class:e.pre+"-days"},[e._l(e.local.weeks,(function(n){return t("a",{key:n,class:e.pre+"-week"},[e._v(e._s(n))])})),e._l(e.days,(function(n,i){return t("a",{key:i,class:[n.p||n.n?e.pre+"-date-out":"",e.status(n.y,n.m,n.i,e.hour,e.minute,e.second,"YYYYMMDD")],on:{click:function(t){e.is(t)&&(e.day=n.i,e.ok(n))}}},[e._v(e._s(n.i))])}))],2),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showMonths,expression:"showMonths"}],class:e.pre+"-months"},e._l(e.local.months,(function(n,i){return t("a",{key:i,class:[e.status(e.year,i,e.day,e.hour,e.minute,e.second,"YYYYMM")],on:{click:function(t){e.is(t)&&(e.showMonths="M"===e.m,e.month=i,"M"===e.m&&e.ok("m"))}}},[e._v(e._s(n))])})),0),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-years"},e._l(e.years,(function(n,i){return t("a",{key:i,class:[0===i||11===i?e.pre+"-date-out":"",e.status(n,e.month,e.day,e.hour,e.minute,e.second,"YYYY")],on:{click:function(t){e.is(t)&&(e.showYears="Y"===e.m,e.year=n,"Y"===e.m&&e.ok("y"))}}},[e._v(e._s(n))])})),0),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showHours,expression:"showHours"}],class:e.pre+"-hours"},[t("div",{class:e.pre+"-title"},[e._v(e._s(e.local.hourTip))]),e._l(24,(function(n,i){return t("a",{key:i,class:[e.status(e.year,e.month,e.day,i,e.minute,e.second,"YYYYMMDDHH")],on:{click:function(t){e.is(t)&&(e.showHours=!1,e.hour=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showMinutes,expression:"showMinutes"}],class:e.pre+"-minutes"},[t("div",{class:e.pre+"-title"},[e._v(e._s(e.local.minuteTip))]),e._l(60,(function(n,i){return t("a",{key:i,class:[e.status(e.year,e.month,e.day,e.hour,i,e.second,"YYYYMMDDHHmm")],on:{click:function(t){e.is(t)&&(e.showMinutes=!1,e.minute=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],class:e.pre+"-seconds"},[t("div",{class:e.pre+"-title"},[e._v(e._s(e.local.secondTip))]),e._l(60,(function(n,i){return t("a",{key:i,class:[e.status(e.year,e.month,e.day,e.hour,e.minute,i,"YYYYMMDDHHmmss")],on:{click:function(t){e.is(t)&&(e.showSeconds=!1,e.second=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2)]),"H"===e.m?t("div",{class:e.pre+"-foot"},[t("div",{class:e.pre+"-hour"},[t("a",{class:{on:e.showHours},attrs:{title:e.local.hourTip},on:{click:function(t){e.showHours=!e.showHours,e.showMinutes=e.showSeconds=!1}}},[e._v(e._s(e._f("dd")(e.hour)))]),t("span",[e._v(":")]),t("a",{class:{on:e.showMinutes},attrs:{title:e.local.minuteTip},on:{click:function(t){e.showMinutes=!e.showMinutes,e.showHours=e.showSeconds=!1}}},[e._v(e._s(e._f("dd")(e.minute)))]),t("span",[e._v(":")]),t("a",{class:{on:e.showSeconds},attrs:{title:e.local.secondTip},on:{click:function(t){e.showSeconds=!e.showSeconds,e.showHours=e.showMinutes=!1}}},[e._v(e._s(e._f("dd")(e.second)))])])]):e._e()])},l=[],c={name:"VueDatepickerLocalCalendar",props:{value:null,left:!1,right:!1},data(){const e=this.get(this.value);return{pre:"calendar",m:"D",showYears:!1,showMonths:!1,showHours:!1,showMinutes:!1,showSeconds:!1,year:e.year,month:e.month,day:e.day,hour:e.hour,minute:e.minute,second:e.second}},watch:{value(e){const t=this,n=t.get(e);t.year=n.year,t.month=n.month,t.day=n.day,t.hour=n.hour,t.minute=n.minute,t.second=n.second}},computed:{local(){return this.$parent.local},format(){return this.$parent.format},start(){return this.parse(this.$parent.dates[0])},end(){return this.parse(this.$parent.dates[1])},ys(){return 10*parseInt(this.year/10)},ye(){return this.ys+10},years(){const e=[];let t=this.ys-1;while(e.length<12)e.push(t++);return e},days(){const e=[],t=this,n=t.year,i=t.month,r=new Date(n,i,1),s=t.local.dow||7;r.setDate(0);let a=r.getDate();const o=r.getDay()||7;let l=s<=o?o-s+1:o+(7-s+1);while(l>0)e.push({i:a-l+1,y:i>0?n:n-1,m:i>0?i-1:11,p:!0}),l--;r.setMonth(r.getMonth()+2,0),a=r.getDate();let c=1;for(c=1;c<=a;c++)e.push({i:c,y:n,m:i});for(c=1;e.length<42;c++)e.push({i:c,y:i<11?n:n+1,m:i<11?i+1:0,n:!0});return e}},filters:{dd:e=>("0"+e).slice(-2)},methods:{get(e){return{year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds()}},parse(e){return parseInt(e/1e3)},status(e,t,n,i,r,s,a){const o=this,l=new Date(e,t+1,0).getDate(),c=new Date(e,t,n>l?l:n,i,r,s),u=o.parse(c),d=o.$parent.tf,h={};let p=!1;return p="YYYY"===a?e===o.year:"YYYYMM"===a?t===o.month:d(o.value,a)===d(c,a),h[o.pre+"-date"]=!0,h[o.pre+"-date-disabled"]=o.right&&u<o.start||o.$parent.disabledDate(c,a),h[o.pre+"-date-on"]=o.left&&u>o.start||o.right&&u<o.end,h[o.pre+"-date-selected"]=p,h},nm(){this.month<11?this.month++:(this.month=0,this.year++)},pm(){this.month>0?this.month--:(this.month=11,this.year--)},is(e){return-1===e.target.className.indexOf(this.pre+"-date-disabled")},ok(e){const t=this;let n="",i="",r="";if(e&&e.n&&t.nm(),e&&e.p&&t.pm(),"h"===e){const e=t.get(this.value);n=e.year,i=e.month}else"m"!==e&&"y"!==e||(r=1);const s=new Date(n||t.year,i||t.month,r||t.day,t.hour,t.minute,t.second);t.left&&parseInt(s.getTime()/1e3)>t.end&&(this.$parent.dates[1]=s),t.$emit("input",s),t.$parent.ok("h"===e)}},mounted(){const e=this,t=t=>-1!==e.format.indexOf(t);t("s")&&t("m")&&(t("h")||t("H"))?e.m="H":t("D")?e.m="D":t("M")?(e.m="M",e.showMonths=!0):t("Y")&&(e.m="Y",e.showYears=!0)}},u=c,d=(n("9d5e"),n("e543")),h=Object(d["a"])(u,o,l,!1,null,null,null),p=h.exports,f={name:"VueDatepickerLocal",components:{VueDatepickerLocalCalendar:p},props:{name:[String],inputClass:[String],popupClass:[String],value:[Date,Array,String],disabled:[Boolean],type:{type:String,default:"normal"},rangeSeparator:{type:String,default:"~"},clearable:{type:Boolean,default:!1},placeholder:[String],disabledDate:{type:Function,default:()=>!1},format:{type:String,default:"YYYY-MM-DD"},local:{type:Object,default(){return{dow:1,hourTip:"选择小时",minuteTip:"选择分钟",secondTip:"选择秒数",yearSuffix:"年",monthsHead:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),weeks:"一_二_三_四_五_六_日".split("_"),cancelTip:"取消",submitTip:"确定"}}},showButtons:{type:Boolean,default:!1},dateRangeSelect:[Function]},data(){return{show:!1,dates:this.vi(this.value)}},computed:{range(){return 2===this.dates.length},text(){const e=this.value,t=this.dates.map(e=>this.tf(e)).join(` ${this.rangeSeparator} `);return Array.isArray(e)?e.length>1?t:"":e?t:""}},watch:{value(e){this.dates=this.vi(this.value)}},methods:{get(){return Array.isArray(this.value)?this.dates:this.dates[0]},cls(){this.$emit("clear"),this.$emit("input",this.range?[]:"")},vi(e){return Array.isArray(e)?e.length>1?e.map(e=>new Date(e)):[new Date,new Date]:e?new Array(new Date(e)):[new Date]},ok(e){const t=this;t.$emit("input",t.get()),!e&&!t.showButtons&&setTimeout(()=>{t.show=t.range})},tf(e,t){const n=e.getFullYear(),i=e.getMonth(),r=e.getDate(),s=e.getHours(),a=s%12===0?12:s%12,o=e.getMinutes(),l=e.getSeconds(),c=e.getMilliseconds(),u=e=>("0"+e).slice(-2),d={YYYY:n,MM:u(i+1),MMM:this.local.months[i],MMMM:this.local.monthsHead[i],M:i+1,DD:u(r),D:r,HH:u(s),H:s,hh:u(a),h:a,mm:u(o),m:o,ss:u(l),s:l,S:c};return(t||this.format).replace(/Y+|M+|D+|H+|h+|m+|s+|S+/g,e=>d[e])},dc(e){this.show=this.$el.contains(e.target)&&!this.disabled},submit(){this.$emit("confirm",this.get()),this.show=!1},cancel(){this.$emit("cancel"),this.show=!1}},mounted(){document.addEventListener("click",this.dc,!0)},beforeDestroy(){document.removeEventListener("click",this.dc,!0)}},m=f,g=(n("6d3e"),Object(d["a"])(m,s,a,!1,null,null,null)),v=g.exports;function b(e){e.component(v.name,v)}v.install=b,"undefined"!==typeof window&&window.Vue&&b(window.Vue);var y=v,_={name:"KgTimePicker",components:{VueDatepickerLocal:y},model:{prop:"value",event:"changeValue"},props:{value:{type:Array,default:()=>[]},timeTypeList:{type:Array,default:()=>["today","yesterday","last24h","last2d","last3d","last7d","last30d","last90d","last1y","last2y","currentYear","previousYear","beforeLastYear","last10y","tenYearAgo","all"]}},data(){return{currentTimeType:"custom",customType:"custom",timeTitle:"",range:[],dropDownVisible:!1,timeType:{today:{title:"当天",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate());return`${t.getTime().toString().slice(0,-3)}~${e.getTime().toString().slice(0,-3)}`}},yesterday:{title:"昨天",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()-1),n=new Date(e.getFullYear(),e.getMonth(),e.getDate()-1,23,59,59);return`${t.getTime().toString().slice(0,-3)}~${n.getTime().toString().slice(0,-3)}`}},last24h:{title:"最近24小时",getTimeStr:()=>{const e=Date.now(),t=e-864e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last2d:{title:"最近2天",getTimeStr:()=>{const e=Date.now(),t=e-1728e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last3d:{title:"最近3天",getTimeStr:()=>{const e=Date.now(),t=e-2592e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last7d:{title:"最近7天",getTimeStr:()=>{const e=Date.now(),t=e-6048e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last30d:{title:"最近30天",getTimeStr:()=>{const e=Date.now(),t=e-2592e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last90d:{title:"最近90天",getTimeStr:()=>{const e=Date.now(),t=e-7776e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last1y:{title:"最近一年",getTimeStr:()=>{const e=Date.now(),t=e-31536e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last2y:{title:"最近两年",getTimeStr:()=>{const e=Date.now(),t=e-63072e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},currentYear:{title:"今年",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear(),0);return`${t.getTime().toString().slice(0,-3)}~${e.getTime().toString().slice(0,-3)}`}},previousYear:{title:"去年",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear()-1,0),n=new Date(e.getFullYear()-1,11,31,23,59,59);return`${t.getTime().toString().slice(0,-3)}~${n.getTime().toString().slice(0,-3)}`}},beforeLastYear:{title:"前年",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear()-2,0),n=new Date(e.getFullYear()-2,11,31,23,59,59);return`${t.getTime().toString().slice(0,-3)}~${n.getTime().toString().slice(0,-3)}`}},last10y:{title:"近10年",getTimeStr:()=>{const e=Date.now(),t=e-3155328e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},tenYearAgo:{title:"10年前",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear()-10,e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());return"0000000000~"+t.getTime().toString().slice(0,-3)}},all:{title:"全部时间",getTimeStr:()=>"0000000000~"+Date.now().toString().slice(0,-3)}}}},computed:{pureTimeTypeList(){const e=Object.keys(this.timeType);return this.timeTypeList.filter(t=>e.includes(t))},timeTitleResult(){return this.currentTimeType===this.customType?this.timeTitle:this.languages[this.currentTimeType]},languages(){return this.$t2("KgTimePicker")}},watch:{value:{handler(e){if(Array.isArray(e)&&2===e.length){if(!(e[0]instanceof Date)||!(e[1]instanceof Date))throw new Error("k-time-picker绑定值必须是起止日期对象数组");this.range=e;const t=this.dateRangeToString(e),n=this.pureTimeTypeList.find(e=>{const{title:n,getTimeStr:i}=this.timeType[e];if(i()===t)return this.timeTitle=n,this.currentTimeType=e,!0});n||(this.currentTimeType=this.customType,this.timeTitle=this.getTimeByRange(e))}},immediate:!0}},created(){},methods:{getTimeByRange(e){const t=e=>e.toString().padStart(2,"0"),n=e=>e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+" "+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds());return n(e[0])+"~"+n(e[1])},visibleChange(e){this.dropDownVisible=e},datepickerBackNow(){const e=new Date;this.range=[e,e],this.getCustomerTime(this.range)},getCustomerTime(e){this.timeTitle=this.getTimeByRange(e);const t=this.dateRangeToString(e);this.emitResult(t)},dateRangeToString(e){const t=(null===e||void 0===e?void 0:e[0].getTime().toString().slice(0,-3))||"0000000000",n=null===e||void 0===e?void 0:e[1].getTime().toString().slice(0,-3);return t+"~"+n},emitResult(e){const[t,n]=e.split("~"),i=new Date(1e3*Number(t)),r=new Date(1e3*Number(n));this.range=[i,r],this.$emit("changeValue",[i,r]),this.$emit("change",e)},command(e){if(!this.timeType[e]||this.currentTimeType===e)return;this.currentTimeType=e;const{title:t,getTimeStr:n}=this.timeType[e];this.timeTitle=t,this.emitResult(n())},setLanguage(e){"zh"===e||"en"===e?this.$i18n_konw.setLang(e):console.error("语言只支持 zh en")}}},w=_,x=(n("d379"),Object(d["a"])(w,i,r,!1,null,"f6fcc5da",null));t["default"]=x.exports},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},"1d80":function(e,t,n){"use strict";var i=n("7234"),r=TypeError;e.exports=function(e){if(i(e))throw new r("Can't call method on "+e);return e}},"1fe5":function(e,t){function n(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",s="<[^<>]+>",a="("+i+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional(s)+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},p=t.optional(r)+e.IDENT_RE+"\\s*\\(",f=["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],m=["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],g={keyword:f,type:m,literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},v=[d,o,n,e.C_BLOCK_COMMENT_MODE,u,c],b={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat(["self"]),relevance:0}]),relevance:0},y={begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:g,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(h,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,c,u,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,c,u,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,d]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"</",contains:[].concat(b,y,v,[d,{begin:e.IDENT_RE+"::",keywords:g},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:d,strings:c,keywords:g}}}e.exports=n},"23cb":function(e,t,n){"use strict";var i=n("5926"),r=Math.max,s=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):s(n,t)}},"23e7":function(e,t,n){"use strict";var i=n("da84"),r=n("06cf").f,s=n("9112"),a=n("cb2d"),o=n("6374"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,h,p,f,m=e.target,g=e.global,v=e.stat;if(u=g?i:v?i[m]||o(m,{}):(i[m]||{}).prototype,u)for(d in t){if(p=t[d],e.dontCallGetSet?(f=r(u,d),h=f&&f.value):h=u[d],n=c(g?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(e.sham||h&&h.sham)&&s(p,"sham",!0),a(u,d,p,e)}}},"241c":function(e,t,n){"use strict";var i=n("ca84"),r=n("7839"),s=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,s)}},"26dd":function(e,t,n){"use strict";var i=n("6f4f"),r=n("10db"),s=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),s(e,t+" Iterator")}},"27d5":function(e,t,n){var i={"./copilotStore.js":"187e","./filtersStore.js":"a5f0"};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id="27d5"},2907:function(e,t){function n(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,i=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),r=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),s={scope:"variable",match:"\\$+"+i},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},o={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(o)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(o),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},d=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h="[ \t\n]",p={scope:"string",variants:[c,l,u,d]},f={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},m=["false","null","true"],g=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],v=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],b=e=>{const t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t},y={keyword:g,literal:b(m),built_in:v},_=e=>e.map(e=>e.replace(/\|\d+$/,"")),w={variants:[{match:[/new/,t.concat(h,"+"),t.concat("(?!",_(v).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},x=t.concat(i,"\\b(?!\\()"),C={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{1:"title.class",3:"variable.constant"}},{match:[r,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:t.concat(i,t.lookahead(":"),t.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[k,s,C,e.C_BLOCK_COMMENT_MODE,p,f,w]},D={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",_(g).join("\\b|"),"|",_(v).join("\\b|"),"\\b)"),i,t.concat(h,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(D);const E=[k,C,e.C_BLOCK_COMMENT_MODE,p,f,w],O={begin:t.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:m,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:m,keyword:["new","array"]},contains:["self",...E]},...E,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:y,contains:[O,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},s,D,C,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},w,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",s,C,e.C_BLOCK_COMMENT_MODE,p,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,f]}}e.exports=n},"299c":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=131)}({131:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),s=n(17),a=n.n(s),o=n(2),l=n(3),c=n(7),u=n.n(c),d={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new u.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(o["on"])(this.referenceElm,"mouseenter",this.show),Object(o["on"])(this.referenceElm,"mouseleave",this.hide),Object(o["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(o["on"])(this.referenceElm,"blur",this.handleBlur),Object(o["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(o["addClass"])(this.referenceElm,"focusing"):Object(o["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n<e.length;n++)e[n]&&e[n].tag&&(t=e[n]);return t}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var e=this.referenceElm;1===e.nodeType&&(Object(o["off"])(e,"mouseenter",this.show),Object(o["off"])(e,"mouseleave",this.hide),Object(o["off"])(e,"focus",this.handleFocus),Object(o["off"])(e,"blur",this.handleBlur),Object(o["off"])(e,"click",this.removeFocusing))},install:function(e){e.component(d.name,d)}};t["default"]=d},17:function(e,t){e.exports=n("0e15")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},5:function(e,t){e.exports=n("e974")},7:function(e,t){e.exports=n("8bbf")}})},"2a39":function(e,t){function n(e){return e?"string"===typeof e?e:e.source:null}function i(e){return r("(?=",e,")")}function r(...e){const t=e.map(e=>n(e)).join("");return t}function s(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function a(...e){const t=s(e),i="("+(t.capture?"":"?:")+e.map(e=>n(e)).join("|")+")";return i}const o=e=>r(/\b/,e,/\w$/.test(e)?/\b/:/\B/),l=["Protocol","Type"].map(o),c=["init","self"].map(o),u=["Any","Self"],d=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],h=["false","nil","true"],p=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],m=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],g=a(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),v=a(g,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=r(g,v,"*"),y=a(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),_=a(y,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),w=r(y,_,"*"),x=r(/[A-Z]/,_,"*"),C=["attached","autoclosure",r(/convention\(/,a("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",r(/objc\(/,w,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],k=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function S(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),s=[e.C_LINE_COMMENT_MODE,n],g={match:[/\./,a(...l,...c)],className:{2:"keyword"}},y={match:r(/\./,a(...d)),relevance:0},S=d.filter(e=>"string"===typeof e).concat(["_|0"]),D=d.filter(e=>"string"!==typeof e).concat(u).map(o),E={variants:[{className:"keyword",match:a(...D,...c)}]},O={$pattern:a(/\b\w+/,/#\w+/),keyword:S.concat(f),literal:h},T=[g,y,E],A={match:r(/\./,a(...m)),relevance:0},$={className:"built_in",match:r(/\b/,a(...m),/(?=\()/)},N=[A,$],M={match:/->/,relevance:0},F={className:"operator",relevance:0,variants:[{match:b},{match:`\\.(\\.|${v})+`}]},P=[M,F],I="([0-9]_*)+",L="([0-9a-fA-F]_*)+",j={className:"number",relevance:0,variants:[{match:`\\b(${I})(\\.(${I}))?([eE][+-]?(${I}))?\\b`},{match:`\\b0x(${L})(\\.(${L}))?([pP][+-]?(${I}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},B=(e="")=>({className:"subst",variants:[{match:r(/\\/,e,/[0\\tnr"']/)},{match:r(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),R=(e="")=>({className:"subst",match:r(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),z=(e="")=>({className:"subst",label:"interpol",begin:r(/\\/,e,/\(/),end:/\)/}),H=(e="")=>({begin:r(e,/"""/),end:r(/"""/,e),contains:[B(e),R(e),z(e)]}),V=(e="")=>({begin:r(e,/"/),end:r(/"/,e),contains:[B(e),z(e)]}),q={className:"string",variants:[H(),H("#"),H("##"),H("###"),V(),V("#"),V("##"),V("###")]},W=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],U={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:W},Y=e=>{const t=r(e,/\//),n=r(/\//,e);return{begin:t,end:n,contains:[...W,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},K={scope:"regexp",variants:[Y("###"),Y("##"),Y("#"),U]},G={match:r(/`/,w,/`/)},Z={className:"variable",match:/\$\d+/},X={className:"variable",match:`\\$${_}+`},Q=[G,Z,X],J={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:k,contains:[...P,j,q]}]}},ee={scope:"keyword",match:r(/@/,a(...C))},te={scope:"meta",match:r(/@/,w)},ne=[J,ee,te],ie={match:i(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:r(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,_,"+")},{className:"type",match:x,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:r(/\s+&\s+/,i(x)),relevance:0}]},re={begin:/</,end:/>/,keywords:O,contains:[...s,...T,...ne,M,ie]};ie.contains.push(re);const se={match:r(w,/\s*:/),keywords:"_|0",relevance:0},ae={begin:/\(/,end:/\)/,relevance:0,keywords:O,contains:["self",se,...s,K,...T,...N,...P,j,q,...Q,...ne,ie]},oe={begin:/</,end:/>/,keywords:"repeat each",contains:[...s,ie]},le={begin:a(i(r(w,/\s*:/)),i(r(w,/\s+/,w,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:w}]},ce={begin:/\(/,end:/\)/,keywords:O,contains:[le,...s,...T,...P,j,q,...ne,ie,ae],endsParent:!0,illegal:/["']/},ue={match:[/(func|macro)/,/\s+/,a(G.match,w,b)],className:{1:"keyword",3:"title.function"},contains:[oe,ce,t],illegal:[/\[/,/%/]},de={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[oe,ce,t],illegal:/\[|%/},he={match:[/operator/,/\s+/,b],className:{1:"keyword",3:"title"}},pe={begin:[/precedencegroup/,/\s+/,x],className:{1:"keyword",3:"title"},contains:[ie],keywords:[...p,...h],end:/}/};for(const i of q.variants){const e=i.contains.find(e=>"interpol"===e.label);e.keywords=O;const t=[...T,...N,...P,j,q,...Q];e.contains=[...t,{begin:/\(/,end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:O,contains:[...s,ue,de,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:O,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...T]},he,pe,{beginKeywords:"import",end:/$/,contains:[...s],relevance:0},K,...T,...N,...P,j,q,...Q,...ne,ie,ae]}}e.exports=S},"2a5e":function(e,t,n){"use strict";t.__esModule=!0,t.default=a;var i=n("8bbf"),r=s(i);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!r.default.prototype.$isServer)if(t){var n=[],i=t.offsetParent;while(i&&e!==i&&e.contains(i))n.push(i),i=i.offsetParent;var s=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),a=s+t.offsetHeight,o=e.scrollTop,l=o+e.clientHeight;s<o?e.scrollTop=s:a>l&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2b67":function(e,t,n){"use strict";n.r(t),t["default"]={btn_ok:"确定",btn_cancel:"取消",btn_more:"更多",btn_pickUP:"收起",btn_checkout:"多选",text_highopt:"高级选项:",test:"测试中文"}},"2ba4":function(e,t,n){"use strict";var i=n("40d5"),r=Function.prototype,s=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(s):function(){return a.apply(s,arguments)})},"2bb5":function(e,t,n){"use strict";t.__esModule=!0;n("8122");t.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},"2d00":function(e,t,n){"use strict";var i,r,s=n("da84"),a=n("342f"),o=s.process,l=s.Deno,c=o&&o.versions||l&&l.version,u=c&&c.v8;u&&(i=u.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),e.exports=r},"2d83":function(e,t,n){"use strict";var i=n("387f");e.exports=function(e,t,n,r,s){var a=new Error(e);return i(a,t,n,r,s)}},"2dee":function(e,t,n){},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2f62":function(e,t,n){"use strict";(function(e){
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["@kg-ui/kg-ui"]=t(require("vue")):e["@kg-ui/kg-ui"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="eb4e")}({"00ee":function(e,t,n){"use strict";var i=n("b622"),r=i("toStringTag"),s={};s[r]="z",e.exports="[object z]"===String(s)},"02a3":function(e,t,n){"use strict";n("d6f2")},"03d6":function(e,t,n){var i=n("9c0e"),r=n("6ca1"),s=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,o=r(e),l=0,c=[];for(n in o)n!=a&&i(o,n)&&c.push(n);while(t.length>l)i(o,n=t[l++])&&(~s(c,n)||c.push(n));return c}},"03f7":function(e,t,n){},"04b0":function(e,t){function n(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},o=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,o,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},d=e.inherit(c,{contains:[]}),h=e.inherit(u,{contains:[]});c.contains.push(h),u.contains.push(d);let p=[n,l];[c,u,d,h].forEach(e=>{e.contains=e.contains.concat(p)}),p=p.concat(c,u);const f={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},m={className:"quote",begin:"^>\\s+",contains:p,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[f,n,s,c,u,m,r,i,l,a]}}e.exports=n},"04f8":function(e,t,n){"use strict";var i=n("2d00"),r=n("d039"),s=n("da84"),a=s.String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"051b":function(e,t,n){var i=n("1a14"),r=n("10db");e.exports=n("0bad")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"05f5":function(e,t,n){var i=n("7a41"),r=n("ef08").document,s=i(r)&&i(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},"06cf":function(e,t,n){"use strict";var i=n("83ab"),r=n("c65b"),s=n("d1e7"),a=n("5c6c"),o=n("fc6a"),l=n("a04b"),c=n("1a2d"),u=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=o(e),t=l(t),u)try{return d(e,t)}catch(n){}if(c(e,t))return a(!r(s.f,e,t),e[t])}},"072d":function(e,t,n){"use strict";var i=n("0bad"),r=n("9876"),s=n("fed5"),a=n("1917"),o=n("0983"),l=n("9fbb"),c=Object.assign;e.exports=!c||n("4b8b")((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i}))?function(e,t){var n=o(e),c=arguments.length,u=1,d=s.f,h=a.f;while(c>u){var p,f=l(arguments[u++]),m=d?r(f).concat(d(f)):r(f),g=m.length,v=0;while(g>v)p=m[v++],i&&!h.call(f,p)||(n[p]=f[p])}return n}:c},"07fa":function(e,t,n){"use strict";var i=n("50c4");e.exports=function(e){return i(e.length)}},"0983":function(e,t,n){var i=n("c901");e.exports=function(e){return Object(i(e))}},"0a06":function(e,t,n){"use strict";var i=n("c532"),r=n("30b5"),s=n("f6b4"),a=n("5270"),o=n("4a7b"),l=n("848b"),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}u.prototype.request=function(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=o(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!r){var d=[a,void 0];Array.prototype.unshift.apply(d,i),d=d.concat(u),s=Promise.resolve(t);while(d.length)s=s.then(d.shift(),d.shift());return s}var h=t;while(i.length){var p=i.shift(),f=i.shift();try{h=p(h)}catch(m){f(m);break}}try{s=a(h)}catch(m){return Promise.reject(m)}while(u.length)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){return e=o(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(o(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,i){return this.request(o(i||{},{method:e,url:t,data:n}))}})),e.exports=u},"0aaa":function(e,t,n){"use strict";n("f958")},"0ae2":function(e,t,n){var i=n("9876"),r=n("fed5"),s=n("1917");e.exports=function(e){var t=i(e),n=r.f;if(n){var a,o=n(e),l=s.f,c=0;while(o.length>c)l.call(e,a=o[c++])&&t.push(a)}return t}},"0b22":function(e,t){function n(e){const t=["true","false","iota","nil"],n=["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"],i=["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],r=["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],s={keyword:r,type:i,literal:t,built_in:n};return{name:"Go",aliases:["golang"],keywords:s,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,illegal:/["']/}]}]}}e.exports=n},"0b99":function(e,t,n){"use strict";var i=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0cc4":function(e,t,n){},"0cfb":function(e,t,n){"use strict";var i=n("83ab"),r=n("d039"),s=n("cc12");e.exports=!i&&!r((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){"use strict";var i=n("e330"),r=Error,s=i("".replace),a=function(e){return String(new r(e).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!r.prepareStackTrace)while(t--)e=s(e,o,"");return e}},"0d51":function(e,t,n){"use strict";var i=String;e.exports=function(e){try{return i(e)}catch(t){return"Object"}}},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var i=n("597f");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},"0f6d":function(e,t,n){},1020:function(e,t){function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const i=e[t],r=typeof i;"object"!==r&&"function"!==r||Object.isFrozen(i)||n(i)}),e}class i{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function s(e,...t){const n=Object.create(null);for(const i in e)n[i]=e[i];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const a="</span>",o=e=>!!e.scope,l=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`};class c{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!o(e))return;const t=l(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){o(e)&&(this.buffer+=a)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const u=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class d{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every(e=>"string"===typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{d._collapse(e)}))}}class h extends d{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope="language:"+t),this.add(n)}toHTML(){const e=new c(this,this.options);return e.value()}finalize(){return this.closeAllNodes(),!0}}function p(e){return e?"string"===typeof e?e:e.source:null}function f(e){return v("(?=",e,")")}function m(e){return v("(?:",e,")*")}function g(e){return v("(?:",e,")?")}function v(...e){const t=e.map(e=>p(e)).join("");return t}function b(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){const t=b(e),n="("+(t.capture?"":"?:")+e.map(e=>p(e)).join("|")+")";return n}function _(e){return new RegExp(e.toString()+"|").exec("").length-1}function w(e,t){const n=e&&e.exec(t);return n&&0===n.index}const x=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;const t=n;let i=p(e),r="";while(i.length>0){const e=x.exec(i);if(!e){r+=i;break}r+=i.substring(0,e.index),i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+String(Number(e[1])+t):(r+=e[0],"("===e[0]&&n++)}return r}).map(e=>`(${e})`).join(t)}const k=/\b\B/,S="[a-zA-Z]\\w*",D="[a-zA-Z_]\\w*",E="\\b\\d+(\\.\\d+)?",O="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",T="\\b(0b[01]+)",A="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",$=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=v(t,/.*\b/,e.binary,/\b.*/)),s({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},N={begin:"\\\\[\\s\\S]",relevance:0},M={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[N]},F={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[N]},P={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I=function(e,t,n={}){const i=s({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=y("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:v(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},L=I("//","$"),j=I("/\\*","\\*/"),B=I("#","$"),R={scope:"number",begin:E,relevance:0},z={scope:"number",begin:O,relevance:0},H={scope:"number",begin:T,relevance:0},V={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[N,{begin:/\[/,end:/\]/,relevance:0,contains:[N]}]},q={scope:"title",begin:S,relevance:0},W={scope:"title",begin:D,relevance:0},U={begin:"\\.\\s*"+D,relevance:0},Y=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var K=Object.freeze({__proto__:null,APOS_STRING_MODE:M,BACKSLASH_ESCAPE:N,BINARY_NUMBER_MODE:H,BINARY_NUMBER_RE:T,COMMENT:I,C_BLOCK_COMMENT_MODE:j,C_LINE_COMMENT_MODE:L,C_NUMBER_MODE:z,C_NUMBER_RE:O,END_SAME_AS_BEGIN:Y,HASH_COMMENT_MODE:B,IDENT_RE:S,MATCH_NOTHING_RE:k,METHOD_GUARD:U,NUMBER_MODE:R,NUMBER_RE:E,PHRASAL_WORDS_MODE:P,QUOTE_STRING_MODE:F,REGEXP_MODE:V,RE_STARTERS_RE:A,SHEBANG:$,TITLE_MODE:q,UNDERSCORE_IDENT_RE:D,UNDERSCORE_TITLE_MODE:W});function G(e,t){const n=e.input[e.index-1];"."===n&&t.ignoreMatch()}function Z(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function X(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=G,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Q(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function J(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function ee(e,t){void 0===e.relevance&&(e.relevance=1)}const te=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=v(n.beforeMatch,f(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ne=["of","and","for","in","not","or","if","then","parent","list","value"],ie="keyword";function re(e,t,n=ie){const i=Object.create(null);return"string"===typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach((function(n){Object.assign(i,re(e[n],t,n))})),i;function r(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach((function(t){const n=t.split("|");i[n[0]]=[e,se(n[0],n[1])]}))}}function se(e,t){return t?Number(t):ae(e)?0:1}function ae(e){return ne.includes(e.toLowerCase())}const oe={},le=e=>{console.error(e)},ce=(e,...t)=>{console.log("WARN: "+e,...t)},ue=(e,t)=>{oe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),oe[`${e}/${t}`]=!0)},de=new Error;function he(e,t,{key:n}){let i=0;const r=e[n],s={},a={};for(let o=1;o<=t.length;o++)a[o+i]=r[o],s[o+i]=!0,i+=_(t[o-1]);e[n]=a,e[n]._emit=s,e[n]._multi=!0}function pe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),de;if("object"!==typeof e.beginScope||null===e.beginScope)throw le("beginScope must be object"),de;he(e,e.begin,{key:"beginScope"}),e.begin=C(e.begin,{joinWith:""})}}function fe(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"),de;if("object"!==typeof e.endScope||null===e.endScope)throw le("endScope must be object"),de;he(e,e.end,{key:"endScope"}),e.end=C(e.end,{joinWith:""})}}function me(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}function ge(e){me(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),pe(e),fe(e)}function ve(e){function t(t,n){return new RegExp(p(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=_(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex((e,t)=>t>0&&void 0!==e),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function r(e){const t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}function a(n,i){const s=n;if(n.isCompiled)return s;[Z,J,ge,te].forEach(e=>e(n,i)),e.compilerExtensions.forEach(e=>e(n,i)),n.__beforeBegin=null,[X,Q,ee].forEach(e=>e(n,i)),n.isCompiled=!0;let o=null;return"object"===typeof n.keywords&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),o=n.keywords.$pattern,delete n.keywords.$pattern),o=o||/\w+/,n.keywords&&(n.keywords=re(n.keywords,e.case_insensitive)),s.keywordPatternRe=t(o,!0),i&&(n.begin||(n.begin=/\B|\b/),s.beginRe=t(s.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(s.endRe=t(s.end)),s.terminatorEnd=p(s.end)||"",n.endsWithParent&&i.terminatorEnd&&(s.terminatorEnd+=(n.end?"|":"")+i.terminatorEnd)),n.illegal&&(s.illegalRe=t(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return ye("self"===e?n:e)}))),n.contains.forEach((function(e){a(e,s)})),n.starts&&a(n.starts,i),s.matcher=r(s),s}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=s(e.classNameAliases||{}),a(e)}function be(e){return!!e&&(e.endsWithParent||be(e.starts))}function ye(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return s(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:be(e)?s(e,{starts:e.starts?s(e.starts):null}):Object.isFrozen(e)?s(e):e}var _e="11.9.0";class we extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const xe=r,Ce=s,ke=Symbol("nomatch"),Se=7,De=function(e){const t=Object.create(null),r=Object.create(null),s=[];let a=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let c={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function u(e){return c.noHighlightRe.test(e)}function d(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=c.languageDetectRe.exec(t);if(n){const t=F(n[1]);return t||(ce(o.replace("{}",n[1])),ce("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>u(e)||F(e))}function p(e,t,n){let i="",r="";"object"===typeof t?(i=e,n=t.ignoreIllegals,r=t.language):(ue("10.7.0","highlight(lang, code, ...args) has been deprecated."),ue("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,i=t),void 0===n&&(n=!0);const s={code:i,language:r};R("before:highlight",s);const a=s.result?s.result:b(s.language,s.code,n);return a.code=s.code,R("after:highlight",a),a}function b(e,n,r,s){const l=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!A.keywords)return void N.addText(M);let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(M),n="";while(t){n+=M.substring(e,t.index);const i=E.case_insensitive?t[0].toLowerCase():t[0],r=u(A,i);if(r){const[e,s]=r;if(N.addText(n),n="",l[i]=(l[i]||0)+1,l[i]<=Se&&(P+=s),e.startsWith("_"))n+=t[0];else{const n=E.classNameAliases[e]||e;f(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(M)}n+=M.substring(e),N.addText(n)}function h(){if(""===M)return;let e=null;if("string"===typeof A.subLanguage){if(!t[A.subLanguage])return void N.addText(M);e=b(A.subLanguage,M,!0,$[A.subLanguage]),$[A.subLanguage]=e._top}else e=x(M,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(P+=e.relevance),N.__addSublanguage(e._emitter,e.language)}function p(){null!=A.subLanguage?h():d(),M=""}function f(e,t){""!==e&&(N.startScope(t),N.addText(e),N.endScope())}function m(e,t){let n=1;const i=t.length-1;while(n<=i){if(!e._emit[n]){n++;continue}const i=E.classNameAliases[e[n]]||e[n],r=t[n];i?f(r,i):(M=r,d(),M=""),n++}}function g(e,t){return e.scope&&"string"===typeof e.scope&&N.openNode(E.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(f(M,E.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),M=""):e.beginScope._multi&&(m(e.beginScope,t),M="")),A=Object.create(e,{parent:{value:A}}),A}function v(e,t,n){let r=w(e.endRe,n);if(r){if(e["on:end"]){const n=new i(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){while(e.endsParent&&e.parent)e=e.parent;return e}}if(e.endsWithParent)return v(e.parent,t,n)}function y(e){return 0===A.matcher.regexIndex?(M+=e[0],1):(j=!0,0)}function _(e){const t=e[0],n=e.rule,r=new i(n),s=[n.__beforeBegin,n["on:begin"]];for(const i of s)if(i&&(i(e,r),r.isMatchIgnored))return y(t);return n.skip?M+=t:(n.excludeBegin&&(M+=t),p(),n.returnBegin||n.excludeBegin||(M=t)),g(n,e),n.returnBegin?0:t.length}function C(e){const t=e[0],i=n.substring(e.index),r=v(A,e,i);if(!r)return ke;const s=A;A.endScope&&A.endScope._wrap?(p(),f(t,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),m(A.endScope,e)):s.skip?M+=t:(s.returnEnd||s.excludeEnd||(M+=t),p(),s.excludeEnd&&(M=t));do{A.scope&&N.closeNode(),A.skip||A.subLanguage||(P+=A.relevance),A=A.parent}while(A!==r.parent);return r.starts&&g(r.starts,e),s.returnEnd?0:t.length}function k(){const e=[];for(let t=A;t!==E;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>N.openNode(e))}let S={};function D(t,i){const s=i&&i[0];if(M+=t,null==s)return p(),0;if("begin"===S.type&&"end"===i.type&&S.index===i.index&&""===s){if(M+=n.slice(i.index,i.index+1),!a){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=S.rule,t}return 1}if(S=i,"begin"===i.type)return _(i);if("illegal"===i.type&&!r){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(A.scope||"<unnamed>")+'"');throw e.mode=A,e}if("end"===i.type){const e=C(i);if(e!==ke)return e}if("illegal"===i.type&&""===s)return 1;if(L>1e5&&L>3*i.index){const e=new Error("potential infinite loop, way more iterations than matches");throw e}return M+=s,s.length}const E=F(e);if(!E)throw le(o.replace("{}",e)),new Error('Unknown language: "'+e+'"');const O=ve(E);let T="",A=s||O;const $={},N=new c.__emitter(c);k();let M="",P=0,I=0,L=0,j=!1;try{if(E.__emitTokens)E.__emitTokens(n,N);else{for(A.matcher.considerAll();;){L++,j?j=!1:A.matcher.considerAll(),A.matcher.lastIndex=I;const e=A.matcher.exec(n);if(!e)break;const t=n.substring(I,e.index),i=D(t,e);I=e.index+i}D(n.substring(I))}return N.finalize(),T=N.toHTML(),{language:e,value:T,relevance:P,illegal:!1,_emitter:N,_top:A}}catch(B){if(B.message&&B.message.includes("Illegal"))return{language:e,value:xe(n),illegal:!0,relevance:0,_illegalBy:{message:B.message,index:I,context:n.slice(I-100,I+100),mode:B.mode,resultSoFar:T},_emitter:N};if(a)return{language:e,value:xe(n),illegal:!1,relevance:0,errorRaised:B,_emitter:N,_top:A};throw B}}function _(e){const t={value:xe(e),illegal:!1,relevance:0,_top:l,_emitter:new c.__emitter(c)};return t._emitter.addText(e),t}function x(e,n){n=n||c.languages||Object.keys(t);const i=_(e),r=n.filter(F).filter(I).map(t=>b(t,e,!1));r.unshift(i);const s=r.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(F(e.language).supersetOf===t.language)return 1;if(F(t.language).supersetOf===e.language)return-1}return 0}),[a,o]=s,l=a;return l.secondBest=o,l}function C(e,t,n){const i=t&&r[t]||n;e.classList.add("hljs"),e.classList.add("language-"+i)}function k(e){let t=null;const n=d(e);if(u(n))return;if(R("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(c.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),c.throwUnescapedHTML)){const t=new we("One of your code blocks includes unescaped HTML.",e.innerHTML);throw t}t=e;const i=t.textContent,r=n?p(i,{language:n,ignoreIllegals:!0}):x(i);e.innerHTML=r.value,e.dataset.highlighted="yes",C(e,n,r.language),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),R("after:highlightElement",{el:e,result:r,text:i})}function S(e){c=Ce(c,e)}const D=()=>{T(),ue("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function E(){T(),ue("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let O=!1;function T(){if("loading"===document.readyState)return void(O=!0);const e=document.querySelectorAll(c.cssSelector);e.forEach(k)}function A(){O&&T()}function $(n,i){let r=null;try{r=i(e)}catch(s){if(le("Language definition for '{}' could not be registered.".replace("{}",n)),!a)throw s;le(s),r=l}r.name||(r.name=n),t[n]=r,r.rawDefinition=i.bind(null,e),r.aliases&&P(r.aliases,{languageName:n})}function N(e){delete t[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]}function M(){return Object.keys(t)}function F(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}function P(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach(e=>{r[e.toLowerCase()]=t})}function I(e){const t=F(e);return t&&!t.disableAutodetect}function L(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}function j(e){L(e),s.push(e)}function B(e){const t=s.indexOf(e);-1!==t&&s.splice(t,1)}function R(e,t){const n=e;s.forEach((function(e){e[n]&&e[n](t)}))}function z(e){return ue("10.7.0","highlightBlock will be removed entirely in v12.0"),ue("10.7.0","Please use highlightElement now."),k(e)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",A,!1),Object.assign(e,{highlight:p,highlightAuto:x,highlightAll:T,highlightElement:k,highlightBlock:z,configure:S,initHighlighting:D,initHighlightingOnLoad:E,registerLanguage:$,unregisterLanguage:N,listLanguages:M,getLanguage:F,registerAliases:P,autoDetection:I,inherit:Ce,addPlugin:j,removePlugin:B}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString=_e,e.regex={concat:v,lookahead:f,either:y,optional:g,anyNumberOfTimes:m};for(const i in K)"object"===typeof K[i]&&n(K[i]);return Object.assign(e,K),e},Ee=De({});Ee.newInstance=()=>De({}),e.exports=Ee,Ee.HighlightJS=Ee,Ee.default=Ee},1098:function(e,t,n){"use strict";t.__esModule=!0;var i=n("17ed"),r=l(i),s=n("f893"),a=l(s),o="function"===typeof a.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===o(r.default)?function(e){return"undefined"===typeof e?"undefined":o(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":o(e)}},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111e":function(e,t,n){"use strict";n("e25b")},"12f2":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"13d2":function(e,t,n){"use strict";var i=n("e330"),r=n("d039"),s=n("1626"),a=n("1a2d"),o=n("83ab"),l=n("5e77").CONFIGURABLE,c=n("8925"),u=n("69f3"),d=u.enforce,h=u.get,p=String,f=Object.defineProperty,m=i("".slice),g=i("".replace),v=i([].join),b=o&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),_=e.exports=function(e,t,n){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(o?f(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&a(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?o&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(r){}var i=d(e);return a(i,"source")||(i.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return s(this)&&h(this).source||c(this)}),"toString")},"13d5":function(e,t,n){"use strict";var i=n("23e7"),r=n("d58f").left,s=n("a640"),a=n("2d00"),o=n("605d"),l=!o&&a>79&&a<83,c=l||!s("reduce");i({target:"Array",proto:!0,forced:c},{reduce:function(e){var t=arguments.length;return r(this,e,t,t>1?arguments[1]:void 0)}})},"14d9":function(e,t,n){"use strict";var i=n("23e7"),r=n("7b0b"),s=n("07fa"),a=n("3a34"),o=n("3511"),l=n("d039"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=c||!u();i({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=r(this),n=s(t),i=arguments.length;o(n+i);for(var l=0;l<i;l++)t[n]=arguments[l],n++;return a(t,n),n}})},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(39),s=n.n(r),a=n(3),o=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function c(e){var t=e.move,n=e.size,i=e.bar,r={},s="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=s,r.msTransform=s,r.webkitTransform=s,r}var u={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:c({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(o["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(o["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(o["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(o["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:u},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=s()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var o=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[o]]),c=void 0;return c=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[o]])]:[l,e(u,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(u,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},c)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(d.name,d)}};t["default"]=d},16:function(e,t){e.exports=n("4010")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},39:function(e,t){e.exports=n("e62d")}})},1609:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},1626:function(e,t,n){"use strict";var i=n("8ea1"),r=i.all;e.exports=i.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var i=n("6ca1"),r=n("6438").f,s={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==s.call(e)?o(e):r(i(e))}},1840:function(e,t,n){var i={"./Home/message/en.js":"59ef","./Home/message/zh.js":"2b67","./KgTimePicker/message/en.js":"84a3","./KgTimePicker/message/zh.js":"7290"};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id="1840"},"187e":function(e,t,n){"use strict";n.r(t),n.d(t,"DataType",(function(){return H}));n("14d9");async function i(e,t){const n=e.getReader();let i;while(!(i=await n.read()).done)t(i.value)}function r(e){let t,n,i,r=!1;return function(s){void 0===t?(t=s,n=0,i=-1):t=a(t,s);const o=t.length;let l=0;while(n<o){r&&(10===t[n]&&(l=++n),r=!1);let s=-1;for(;n<o&&-1===s;++n)switch(t[n]){case 58:-1===i&&(i=n-l);break;case 13:r=!0;case 10:s=n;break}if(-1===s)break;e(t.subarray(l,s),i),l=n,i=-1}l===o?t=void 0:0!==l&&(t=t.subarray(l),n-=l)}}function s(e,t,n){let i=o();const r=new TextDecoder;return function(s,a){if(0===s.length)null===n||void 0===n||n(i),i=o();else if(a>0){const n=r.decode(s.subarray(0,a)),o=a+(32===s[a+1]?2:1),l=r.decode(s.subarray(o));switch(n){case"data":i.data=i.data?i.data+"\n"+l:l;break;case"event":i.event=l;break;case"id":e(i.id=l);break;case"retry":const n=parseInt(l,10);isNaN(n)||t(i.retry=n);break}}}}function a(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function o(){return{data:"",event:"",id:"",retry:void 0}}var l=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};const c="text/event-stream",u=1e3,d="last-event-id";function h(e,t){var{signal:n,headers:a,onopen:o,onmessage:h,onclose:f,onerror:m,openWhenHidden:g,fetch:v}=t,b=l(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,l)=>{const y=Object.assign({},a);let _;function w(){_.abort(),document.hidden||E()}y.accept||(y.accept=c),g||document.addEventListener("visibilitychange",w);let x=u,C=0;function k(){document.removeEventListener("visibilitychange",w),window.clearTimeout(C),_.abort()}null===n||void 0===n||n.addEventListener("abort",()=>{k(),t()});const S=null!==v&&void 0!==v?v:window.fetch,D=null!==o&&void 0!==o?o:p;async function E(){var n;_=new AbortController;try{const n=await S(e,Object.assign(Object.assign({},b),{headers:y,signal:_.signal}));await D(n),await i(n.body,r(s(e=>{e?y[d]=e:delete y[d]},e=>{x=e},h))),null===f||void 0===f||f(),k(),t()}catch(a){if(!_.signal.aborted)try{const e=null!==(n=null===m||void 0===m?void 0:m(a))&&void 0!==n?n:x;window.clearTimeout(C),C=window.setTimeout(E,e)}catch(o){k(),l(o)}}}E()})}function p(e){const t=e.headers.get("content-type");if(!(null===t||void 0===t?void 0:t.startsWith(c)))throw new Error(`Expected content-type to be ${c}, Actual: ${t}`)}function f(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(e,t){f(e,t),t.add(e)}function g(e,t){return t.get?t.get.call(e):t.value}function v(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}function b(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function y(e,t,n){return v(e,t),b(n,"get"),g(e,n)}function _(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var w,x=n("bc3a"),C=n.n(x);const k={timeout:3e5,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}};var S=new WeakSet,D=new WeakSet;class E{constructor(){m(this,D),m(this,S),_(this,S,O).call(this),_(this,D,T).call(this)}request(e,t,n,i){const r={method:e,url:t,...n,...i};return new Promise((e,t)=>{y(E,E,A).request(r).then(t=>{e(t)}).catch(e=>{t(e)})})}post(e,t,n){return this.request("post",e,t,n)}get(e,t,n){return this.request("get",e,t,n)}cancelByUrl(e){y(E,E,$)[e]&&y(E,E,$)[e].cancel("取消请求"),delete y(E,E,$)[e||""]}}function O(){y(w,w,A).interceptors.request.use(e=>{const t=y(w,w,$)[e.url];t&&t.cancel();const n=C.a.CancelToken.source();y(w,w,$)[e.url]=n,e.cancelToken=n.token;const i=Y.state.knowledgeToken;return i&&(e.headers.accessToken=e.headers.accessToken||i),e},e=>Promise.reject(e))}function T(){y(w,w,A).interceptors.response.use(e=>{const t=e.data;return delete y(w,w,$)[e.config.url||""],t},e=>(console.log("err"+e),Promise.reject(e)))}w=E;var A={writable:!0,value:C.a.create(k)},$={writable:!0,value:{}};const N=new E,M=e=>{const t=new AbortController;let{data:n,method:i="POST"}=e;const r=Object.assign({"Content-Type":"application/json"},e.headers||{});return h(e.sendUrl,{method:i,body:n&&JSON.stringify(n),signal:t.signal,openWhenHidden:!0,headers:r,onmessage(t){t.data&&e.onmessage(t)},onclose(){t.abort(),e.onclose()},onerror(t){throw console.error(t),e.onerror(t),t}}),()=>{t.abort()}},F=(e={})=>N.request("get","/api/chatHistory/list",{data:e,timeout:6e4}),P=e=>N.request("post","/api/chatHistory/session",{data:e,timeout:6e4}),I=e=>N.request("delete","/api/chatHistory/session",{params:e,timeout:6e4}),L=e=>N.request("patch","/api/chatHistory/info",{data:e,timeout:6e4}),j=e=>N.request("post","/api/chatHistory/info",{data:e,timeout:6e4}),B=e=>N.request("get","/api/chatHistory/records",{params:e,timeout:6e4}),R=e=>N.request("patch","/api/chatHistory/session",{data:e,timeout:6e4});var z=n("4bce");const H={text:"text",edit:"edit",file:"file"},V={useHistoryRecord:!1,knowledgeToken:"",historyList:[],currentHistoryRecord:{},sendUrl:"",getkitsUrl:"",token:"",plugins:[],placeholder:"",maxSendNum:0,defaultPlugin:{},initText:"",aiName:"",isShowCopilot_beta:!1,searchText:"",isShowNewTheme:!1,textSum:0,stopDialogue:!1,msgList:[],sendLonding:!1,checkedPluginByBtn:[],cancleUrl:"",requestSseing:!1,isSetOut:!1,intelligentAnalysisConfig:{},currentPluginParams:{},currentUsePlugin:{},defaultDeal:{},cancelsse:()=>{},pluginsPayload:{}},q={selPluginParams(e){var t;const n=Object(z["h"])(e.checkedPluginByBtn)?{}:null===(t=e.checkedPluginByBtn)||void 0===t||null===(t=t.param_desc)||void 0===t?void 0:t.properties;return Object.keys(n)},pluginPayloadStr(e,t){let n="";for(const i in e.pluginsPayload)t.selPluginParams&&t.selPluginParams.includes(i)&&e.pluginsPayload[i]&&(n+=Object(z["i"])(i.toString())+":",n+=e.pluginsPayload[i],n+="&nbsp;&nbsp;");return n}},W={initDialogue(e){e.msgList=[{isSend:!1,needPrinting:!0,msgs:[{uuid:Date.now(),needPrinting:!0,type:H.text,content:e.initText}],showOpt:!1}]},initCopilot(e,{getkitsUrl:t,plugins:n,initText:i,aiName:r,maxSendNum:s,intelligentAnalysisConfig:a,defaultDeal:o,placeholder:l,pluginsPayload:c,useHistoryRecord:u,knowledgeToken:d}){e.getkitsUrl=t,e.plugins=n,e.maxSendNum=s,e.initText=i,e.aiName=r,e.placeholder=l,e.searchText="",e.isSetOut=!0,e.isShowNewTheme=!1,W.initDialogue(e),e.stopDialogue=!1,e.sendLonding=!0,e.intelligentAnalysisConfig=a,e.defaultDeal=o,e.pluginsPayload=c||{},e.useHistoryRecord=u,e.knowledgeToken=d,u&&U.getHistoryList({state:e})},resetCopilot(e){e.currentHistoryRecord={},W.onlyCancelRequest(e),e.searchText="",e.isShowNewTheme=!1,W.initDialogue(e),e.stopDialogue=!1,e.sendLonding=!0,e.isSetOut=!0,e.checkedPluginByBtn={}},setStopDialogue(e,t){e.stopDialogue=t},setSearchText(e,{str:t,isSetOut:n=!1}){e.searchText=t,e.isSetOut=!t||n},setIsSetOut(e,t){e.isSetOut=t},setSendLonding(e,t){e.sendLonding=t},setShowNewTheme(e,t){e.isShowNewTheme=t},setCheckedPluginList(e,t){e.checkedPluginByBtn=e.checkedPluginByBtn===t?{}:t},setMsgList(e,t){e.msgList.push(t)},responseMsg(e,{type:t,content:n}){const[i]=e.msgList.slice(-1);if(!i.isSend)return i.msgs.push({needPrinting:!0,uuid:Date.now(),type:t,content:n}),void U.updataCurrentHistoryInfo({state:e});const r=e.currentUsePlugin.name;e.msgList.push({isSend:!1,needPrinting:!0,msgs:[{needPrinting:!0,uuid:Date.now(),type:t,content:n}],showOpt:!0,plusName:r}),U.updataCurrentHistoryInfo({state:e})},setRequestSseing(e,t){e.requestSseing=t},setCancelsse(e,t){e.cancelsse=t},setCancelUrl(e,t){e.cancleUrl=t},onlyCancelRequest(e){e.cancelsse&&e.cancelsse(),e.requestSseing=!1,N.cancelByUrl(e.cancleUrl)},setPluginsPayloadFn(e,t){e.pluginsPayload=t}},U={changeCurrentRecord({state:e,dispatch:t,commit:n},i){e.currentHistoryRecord.sessionId!==i.sessionId&&(e.currentHistoryRecord=i,t("cancelRequest"),B({sessionId:i.sessionId}).then(t=>{if(200===t.status){const[n]=t.data;if(!n)return;e.currentHistoryRecord.recordId=n.id;const{msgList:i,checkedPlugKey:r}=JSON.parse(n.info);e.checkedPluginByBtn=e.plugins.find(e=>e.key===r)||{},i.forEach((e,t)=>{e.isHistory=!0,t===i.length-1&&(e.needPrinting=!1,e.msgs.forEach(e=>{e.needPrinting=!1}))}),e.msgList=i}}))},delHistoryRecord({state:e,commit:t,dispatch:n},{sessionId:i="xxx",isAll:r}){I({sessionId:i,isAll:r}).then(s=>{if(200===s.status){if(n("getHistoryList"),r&&e.currentHistoryRecord.sessionId)return e.currentHistoryRecord={},void t("resetCopilot");e.currentHistoryRecord.sessionId===i&&(e.currentHistoryRecord={},t("resetCopilot"))}})},getHistoryList({state:e}){return F().then(t=>{200===t.status&&(e.historyList=t.data)})},updataCurrentHistoryInfo({state:e}){e.useHistoryRecord&&(e.currentHistoryRecord.recordId?L({id:e.currentHistoryRecord.recordId,info:JSON.stringify({msgList:e.msgList,checkedPlugKey:e.checkedPluginByBtn.key||""})}):j({sessionId:e.currentHistoryRecord.sessionId,info:JSON.stringify({msgList:e.msgList,checkedPlugKey:e.checkedPluginByBtn.key||""})}).then(t=>{200===t.status&&(e.currentHistoryRecord.recordId=t.data)}))},async updataHistoryName({dispatch:e},t){await R(t).then(t=>{if(200===t.status)return e("getHistoryList");message(t.message,{type:"error"})})},async sendMsg({state:e,getters:t,commit:n,dispatch:i},r){if(""===r&&""===t.pluginPayloadStr)return;1===e.msgList.length&&e.useHistoryRecord&&P({name:r}).then(t=>{200===t.status&&(e.currentHistoryRecord={sessionId:t.data,name:r},i("getHistoryList"),i("updataCurrentHistoryInfo"))});let s=r;t.pluginPayloadStr&&(s&&(s+="&nbsp;&nbsp;"),s+=t.pluginPayloadStr),n("setMsgList",{isSend:!0,needPrinting:!1,msgs:[{needPrinting:!1,uuid:Date.now(),type:H.text,content:s}],showOpt:!1}),n("setSendLonding",!0),n("setSearchText",{str:""}),n("setShowNewTheme",!0);const a=e.msgList.slice(-5).map(e=>e.msgs.map(e=>e.type===H.text?e.content:e.type===H.edit?e.content.message:void 0).join(""));let o=[];if(Object.keys(e.checkedPluginByBtn).length){const{key:t,param_desc:n}=e.checkedPluginByBtn;o=[{name:t,parameters:n}]}else o=e.plugins.map(e=>{const{key:t,param_desc:n,require:i}=e;return{name:t,parameters:n,description:i}});n("setCancelUrl",e.intelligentAnalysisConfig.url);const l=await N.post(e.intelligentAnalysisConfig.url,{data:{message:a[a.length-1],functionInfoList:o},headers:{accessToken:e.intelligentAnalysisConfig.token}});if(200===l.status){if("err"in l.data)return i("sendChatgptMsg",a),e.currentPluginParams={},void(e.currentUsePlugin={});e.currentUsePlugin=e.plugins.find(e=>e.key===l.data.name)||{},Object.keys(e.currentUsePlugin).length?(e.currentPluginParams=l.data.param,e.checkedPluginByBtn=e.currentUsePlugin,i("sendPluginMsg")):i("sendChatgptMsg",a)}else n("setSendLonding",!1)},sendChatgptMsg({state:e,dispatch:t},n){e.defaultDeal.requestParameFn=e.defaultDeal.requestParameFn?e.defaultDeal.requestParameFn:e=>e;const{data:i,headers:r}=e.defaultDeal.requestParameFn({lastMsgs:n,data:{},headers:{}});void 0===e.defaultDeal.isSse&&(e.defaultDeal.isSse=!0),e.defaultDeal.isSse?t("defaultSseDeal",{data:i,headers:r}):t("defaultXhrDeal",{data:i,headers:r})},sendPluginMsg({state:e,commit:t,dispatch:n}){e.currentUsePlugin.requestParameFn=e.currentUsePlugin.requestParameFn?e.currentUsePlugin.requestParameFn:e=>e;const{data:i,headers:r}=e.currentUsePlugin.requestParameFn({data:e.currentPluginParams,headers:{}});t("setRequestSseing",!0),t("setCancelsse",M({sendUrl:e.currentUsePlugin.url,method:e.currentUsePlugin.method,data:i,headers:r,onerror:()=>{t("responseMsg",{type:H.text,content:"服务异常"}),n("sseRequestOver")},onmessage:i=>{const{type:r,content:s,isOver:a}=e.currentUsePlugin.responseParameFn(i),o=!!e.currentUsePlugin.isDify;o&&a&&t("responseMsg",{type:r,content:"<br>"}),s&&t("responseMsg",{type:r,content:s}),a&&n("sseRequestOver")},onclose:()=>{n("sseRequestOver"),e.currentUsePlugin.onclose&&e.currentUsePlugin.onclose()}}))},defaultSseDeal({state:e,commit:t},{data:n,headers:i}){t("setRequestSseing",!0),e.cancelsse=M({sendUrl:e.defaultDeal.url,method:e.defaultDeal.method,headers:i,data:n,onerror:()=>{t("responseMsg",{type:H.text,content:"服务异常"}),t("setRequestSseing",!1),e.cancelsse()},onmessage:n=>{const{type:i,content:r,isOver:s}=e.defaultDeal.responseParameFn(n);if(t("responseMsg",{type:i,content:r}),s)return t("setRequestSseing",!1),void e.cancelsse()},onclose:()=>{t("setRequestSseing",!1),e.cancelsse(),e.defaultDeal.onclose&&e.defaultDeal.onclose()}})},defaultXhrDeal({commit:e,state:t},{data:n,headers:i}){t.cancleUrl=t.defaultDeal.url;const{method:r="post"}=t.defaultDeal;N.request("post",t.defaultDeal.url,{data:n,headers:i,method:r}).then(n=>{const{type:i,content:r,isOver:s}=t.defaultDeal.responseParameFn(n);e("responseMsg",{type:i,content:r}),s&&N.cancelByUrl(t.cancleUrl)})["catch"](()=>{e("setSendLonding",!1)})},sseRequestOver({commit:e,state:t}){e("setRequestSseing",!1),e("setShowNewTheme",!1),t.cancelsse()},cancelRequest({state:e,commit:t}){e.cancelsse&&e.cancelsse(),t("setRequestSseing",!1),N.cancelByUrl(e.cancleUrl),t("setSendLonding",!1)},setPluginsPayload({state:e,commit:t},n){t("setPluginsPayloadFn",n)},clearPluginsPayload({commit:e}){e("setPluginsPayloadFn",{})}};var Y=t["default"]={namespaced:!0,state:V,getters:q,mutations:W,actions:U}},1917:function(e,t){t.f={}.propertyIsEnumerable},"19fa":function(e,t,n){var i=n("fc5e"),r=n("c901");e.exports=function(e){return function(t,n){var s,a,o=String(r(t)),l=i(n),c=o.length;return l<0||l>=c?e?"":void 0:(s=o.charCodeAt(l),s<55296||s>56319||l+1===c||(a=o.charCodeAt(l+1))<56320||a>57343?e?o.charAt(l):s:e?o.slice(l,l+2):a-56320+(s-55296<<10)+65536)}}},"1a14":function(e,t,n){var i=n("77e9"),r=n("faf5"),s=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(i(e),t=s(t,!0),i(n),r)try{return a(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){"use strict";var i=n("e330"),r=n("7b0b"),s=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(r(e),t)}},"1c83":function(e,t,n){"use strict";n("61ea")},"1d21":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"k-time-picker"},[t("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1},on:{command:e.command,"visible-change":e.visibleChange}},[t("span",{attrs:{title:e.languages["releaseTime"]+":"+e.timeTitleResult}},[t("span",[e._v(e._s(e.timeTitleResult))]),t("i",{directives:[{name:"show",rawName:"v-show",value:!e.dropDownVisible,expression:"!dropDownVisible"}],staticClass:"el-icon-arrow-down el-icon--right"}),t("i",{directives:[{name:"show",rawName:"v-show",value:e.dropDownVisible,expression:"dropDownVisible"}],staticClass:"el-icon-arrow-up el-icon--right"})]),t("el-dropdown-menu",{staticClass:"dedup-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.pureTimeTypeList,(function(n){return t("el-dropdown-item",{key:n,attrs:{command:n}},[t("el-radio",{attrs:{label:n},model:{value:e.currentTimeType,callback:function(t){e.currentTimeType=t},expression:"currentTimeType"}},[e._v(" "+e._s(e.languages[n])+" ")])],1)})),t("div",{staticClass:"custom_redio"},[t("el-radio",{attrs:{label:e.customType},model:{value:e.currentTimeType,callback:function(t){e.currentTimeType=t},expression:"currentTimeType"}},[e._v(" "+e._s(e.languages["custom"])+" ")])],1),t("div",{directives:[{name:"show",rawName:"v-show",value:e.currentTimeType===e.customType,expression:"currentTimeType === customType"}],staticClass:"datepicker_area"},[t("div",{staticClass:"back_now"},[t("span",{on:{click:e.datepickerBackNow}},[t("i",{staticClass:"el-icon-refresh-right"}),e._v(" "+e._s(e.languages["backNow"])+" ")])]),t("vue-datepicker-local",{attrs:{clearable:!1,"range-separator":"至",format:"YYYY-MM-DD HH:mm:ss"},on:{confirm:e.getCustomerTime,input:e.getCustomerTime},model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})],1)],2)],1)],1)},r=[],s=(n("d9e2"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"datepicker",class:{"datepicker-range":e.range,datepicker__clearable:e.clearable&&e.text&&!e.disabled}},["inline"!==e.type?t("input",{class:[e.show?"focus":"",e.inputClass],attrs:{readonly:"",disabled:e.disabled,placeholder:e.placeholder,name:e.name},domProps:{value:e.text}}):e._e(),t("a",{staticClass:"datepicker-close",on:{click:function(t){return t.stopPropagation(),e.cls.apply(null,arguments)}}}),t("transition",{attrs:{name:"datepicker-anim"}},[e.show||"inline"===e.type?t("div",{staticClass:"datepicker-popup",class:[e.popupClass,{"datepicker-inline":"inline"===e.type}],attrs:{tabindex:"-1"}},[e.range?[t("vue-datepicker-local-calendar",{attrs:{left:!0},model:{value:e.dates[0],callback:function(t){e.$set(e.dates,0,t)},expression:"dates[0]"}}),t("vue-datepicker-local-calendar",{attrs:{right:!0},model:{value:e.dates[1],callback:function(t){e.$set(e.dates,1,t)},expression:"dates[1]"}})]:[t("vue-datepicker-local-calendar",{model:{value:e.dates[0],callback:function(t){e.$set(e.dates,0,t)},expression:"dates[0]"}})],e.showButtons?t("div",{staticClass:"datepicker__buttons"},[t("button",{staticClass:"datepicker__button-cancel",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.cancel.apply(null,arguments)}}},[e._v(e._s(this.local.cancelTip))]),t("button",{staticClass:"datepicker__button-select",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.submit.apply(null,arguments)}}},[e._v(e._s(this.local.submitTip))])]):e._e()],2):e._e()])],1)}),a=[],o=function(){var e=this,t=e._self._c;return t("div",{class:""+e.pre},[t("div",{class:e.pre+"-head"},[t("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-prev-decade-btn",on:{click:function(t){e.year-=10}}},[e._v("«")]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-prev-year-btn",on:{click:function(t){e.year--}}},[e._v("«")]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-prev-month-btn",on:{click:e.pm}},[e._v("‹")]),t("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-year-select"},[e._v(e._s(e.ys+"-"+e.ye))]),e.local.yearSuffix?[t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-year-select",on:{click:function(t){e.showYears=!e.showYears}}},[e._v(e._s(e.year)+e._s(e.local.yearSuffix))]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-month-select",on:{click:function(t){e.showMonths=!e.showMonths}}},[e._v(e._s(e.local.monthsHead[e.month]))])]:[t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-month-select",on:{click:function(t){e.showMonths=!e.showMonths}}},[e._v(e._s(e.local.monthsHead[e.month]))]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-year-select",on:{click:function(t){e.showYears=!e.showYears}}},[e._v(e._s(e.year))])],t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-next-month-btn",on:{click:e.nm}},[e._v("›")]),t("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-next-year-btn",on:{click:function(t){e.year++}}},[e._v("»")]),t("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-next-decade-btn",on:{click:function(t){e.year+=10}}},[e._v("»")])],2),t("div",{class:e.pre+"-body"},[t("div",{class:e.pre+"-days"},[e._l(e.local.weeks,(function(n){return t("a",{key:n,class:e.pre+"-week"},[e._v(e._s(n))])})),e._l(e.days,(function(n,i){return t("a",{key:i,class:[n.p||n.n?e.pre+"-date-out":"",e.status(n.y,n.m,n.i,e.hour,e.minute,e.second,"YYYYMMDD")],on:{click:function(t){e.is(t)&&(e.day=n.i,e.ok(n))}}},[e._v(e._s(n.i))])}))],2),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showMonths,expression:"showMonths"}],class:e.pre+"-months"},e._l(e.local.months,(function(n,i){return t("a",{key:i,class:[e.status(e.year,i,e.day,e.hour,e.minute,e.second,"YYYYMM")],on:{click:function(t){e.is(t)&&(e.showMonths="M"===e.m,e.month=i,"M"===e.m&&e.ok("m"))}}},[e._v(e._s(n))])})),0),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-years"},e._l(e.years,(function(n,i){return t("a",{key:i,class:[0===i||11===i?e.pre+"-date-out":"",e.status(n,e.month,e.day,e.hour,e.minute,e.second,"YYYY")],on:{click:function(t){e.is(t)&&(e.showYears="Y"===e.m,e.year=n,"Y"===e.m&&e.ok("y"))}}},[e._v(e._s(n))])})),0),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showHours,expression:"showHours"}],class:e.pre+"-hours"},[t("div",{class:e.pre+"-title"},[e._v(e._s(e.local.hourTip))]),e._l(24,(function(n,i){return t("a",{key:i,class:[e.status(e.year,e.month,e.day,i,e.minute,e.second,"YYYYMMDDHH")],on:{click:function(t){e.is(t)&&(e.showHours=!1,e.hour=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showMinutes,expression:"showMinutes"}],class:e.pre+"-minutes"},[t("div",{class:e.pre+"-title"},[e._v(e._s(e.local.minuteTip))]),e._l(60,(function(n,i){return t("a",{key:i,class:[e.status(e.year,e.month,e.day,e.hour,i,e.second,"YYYYMMDDHHmm")],on:{click:function(t){e.is(t)&&(e.showMinutes=!1,e.minute=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],class:e.pre+"-seconds"},[t("div",{class:e.pre+"-title"},[e._v(e._s(e.local.secondTip))]),e._l(60,(function(n,i){return t("a",{key:i,class:[e.status(e.year,e.month,e.day,e.hour,e.minute,i,"YYYYMMDDHHmmss")],on:{click:function(t){e.is(t)&&(e.showSeconds=!1,e.second=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2)]),"H"===e.m?t("div",{class:e.pre+"-foot"},[t("div",{class:e.pre+"-hour"},[t("a",{class:{on:e.showHours},attrs:{title:e.local.hourTip},on:{click:function(t){e.showHours=!e.showHours,e.showMinutes=e.showSeconds=!1}}},[e._v(e._s(e._f("dd")(e.hour)))]),t("span",[e._v(":")]),t("a",{class:{on:e.showMinutes},attrs:{title:e.local.minuteTip},on:{click:function(t){e.showMinutes=!e.showMinutes,e.showHours=e.showSeconds=!1}}},[e._v(e._s(e._f("dd")(e.minute)))]),t("span",[e._v(":")]),t("a",{class:{on:e.showSeconds},attrs:{title:e.local.secondTip},on:{click:function(t){e.showSeconds=!e.showSeconds,e.showHours=e.showMinutes=!1}}},[e._v(e._s(e._f("dd")(e.second)))])])]):e._e()])},l=[],c={name:"VueDatepickerLocalCalendar",props:{value:null,left:!1,right:!1},data(){const e=this.get(this.value);return{pre:"calendar",m:"D",showYears:!1,showMonths:!1,showHours:!1,showMinutes:!1,showSeconds:!1,year:e.year,month:e.month,day:e.day,hour:e.hour,minute:e.minute,second:e.second}},watch:{value(e){const t=this,n=t.get(e);t.year=n.year,t.month=n.month,t.day=n.day,t.hour=n.hour,t.minute=n.minute,t.second=n.second}},computed:{local(){return this.$parent.local},format(){return this.$parent.format},start(){return this.parse(this.$parent.dates[0])},end(){return this.parse(this.$parent.dates[1])},ys(){return 10*parseInt(this.year/10)},ye(){return this.ys+10},years(){const e=[];let t=this.ys-1;while(e.length<12)e.push(t++);return e},days(){const e=[],t=this,n=t.year,i=t.month,r=new Date(n,i,1),s=t.local.dow||7;r.setDate(0);let a=r.getDate();const o=r.getDay()||7;let l=s<=o?o-s+1:o+(7-s+1);while(l>0)e.push({i:a-l+1,y:i>0?n:n-1,m:i>0?i-1:11,p:!0}),l--;r.setMonth(r.getMonth()+2,0),a=r.getDate();let c=1;for(c=1;c<=a;c++)e.push({i:c,y:n,m:i});for(c=1;e.length<42;c++)e.push({i:c,y:i<11?n:n+1,m:i<11?i+1:0,n:!0});return e}},filters:{dd:e=>("0"+e).slice(-2)},methods:{get(e){return{year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds()}},parse(e){return parseInt(e/1e3)},status(e,t,n,i,r,s,a){const o=this,l=new Date(e,t+1,0).getDate(),c=new Date(e,t,n>l?l:n,i,r,s),u=o.parse(c),d=o.$parent.tf,h={};let p=!1;return p="YYYY"===a?e===o.year:"YYYYMM"===a?t===o.month:d(o.value,a)===d(c,a),h[o.pre+"-date"]=!0,h[o.pre+"-date-disabled"]=o.right&&u<o.start||o.$parent.disabledDate(c,a),h[o.pre+"-date-on"]=o.left&&u>o.start||o.right&&u<o.end,h[o.pre+"-date-selected"]=p,h},nm(){this.month<11?this.month++:(this.month=0,this.year++)},pm(){this.month>0?this.month--:(this.month=11,this.year--)},is(e){return-1===e.target.className.indexOf(this.pre+"-date-disabled")},ok(e){const t=this;let n="",i="",r="";if(e&&e.n&&t.nm(),e&&e.p&&t.pm(),"h"===e){const e=t.get(this.value);n=e.year,i=e.month}else"m"!==e&&"y"!==e||(r=1);const s=new Date(n||t.year,i||t.month,r||t.day,t.hour,t.minute,t.second);t.left&&parseInt(s.getTime()/1e3)>t.end&&(this.$parent.dates[1]=s),t.$emit("input",s),t.$parent.ok("h"===e)}},mounted(){const e=this,t=t=>-1!==e.format.indexOf(t);t("s")&&t("m")&&(t("h")||t("H"))?e.m="H":t("D")?e.m="D":t("M")?(e.m="M",e.showMonths=!0):t("Y")&&(e.m="Y",e.showYears=!0)}},u=c,d=(n("9d5e"),n("e543")),h=Object(d["a"])(u,o,l,!1,null,null,null),p=h.exports,f={name:"VueDatepickerLocal",components:{VueDatepickerLocalCalendar:p},props:{name:[String],inputClass:[String],popupClass:[String],value:[Date,Array,String],disabled:[Boolean],type:{type:String,default:"normal"},rangeSeparator:{type:String,default:"~"},clearable:{type:Boolean,default:!1},placeholder:[String],disabledDate:{type:Function,default:()=>!1},format:{type:String,default:"YYYY-MM-DD"},local:{type:Object,default(){return{dow:1,hourTip:"选择小时",minuteTip:"选择分钟",secondTip:"选择秒数",yearSuffix:"年",monthsHead:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),weeks:"一_二_三_四_五_六_日".split("_"),cancelTip:"取消",submitTip:"确定"}}},showButtons:{type:Boolean,default:!1},dateRangeSelect:[Function]},data(){return{show:!1,dates:this.vi(this.value)}},computed:{range(){return 2===this.dates.length},text(){const e=this.value,t=this.dates.map(e=>this.tf(e)).join(` ${this.rangeSeparator} `);return Array.isArray(e)?e.length>1?t:"":e?t:""}},watch:{value(e){this.dates=this.vi(this.value)}},methods:{get(){return Array.isArray(this.value)?this.dates:this.dates[0]},cls(){this.$emit("clear"),this.$emit("input",this.range?[]:"")},vi(e){return Array.isArray(e)?e.length>1?e.map(e=>new Date(e)):[new Date,new Date]:e?new Array(new Date(e)):[new Date]},ok(e){const t=this;t.$emit("input",t.get()),!e&&!t.showButtons&&setTimeout(()=>{t.show=t.range})},tf(e,t){const n=e.getFullYear(),i=e.getMonth(),r=e.getDate(),s=e.getHours(),a=s%12===0?12:s%12,o=e.getMinutes(),l=e.getSeconds(),c=e.getMilliseconds(),u=e=>("0"+e).slice(-2),d={YYYY:n,MM:u(i+1),MMM:this.local.months[i],MMMM:this.local.monthsHead[i],M:i+1,DD:u(r),D:r,HH:u(s),H:s,hh:u(a),h:a,mm:u(o),m:o,ss:u(l),s:l,S:c};return(t||this.format).replace(/Y+|M+|D+|H+|h+|m+|s+|S+/g,e=>d[e])},dc(e){this.show=this.$el.contains(e.target)&&!this.disabled},submit(){this.$emit("confirm",this.get()),this.show=!1},cancel(){this.$emit("cancel"),this.show=!1}},mounted(){document.addEventListener("click",this.dc,!0)},beforeDestroy(){document.removeEventListener("click",this.dc,!0)}},m=f,g=(n("6d3e"),Object(d["a"])(m,s,a,!1,null,null,null)),v=g.exports;function b(e){e.component(v.name,v)}v.install=b,"undefined"!==typeof window&&window.Vue&&b(window.Vue);var y=v,_={name:"KgTimePicker",components:{VueDatepickerLocal:y},model:{prop:"value",event:"changeValue"},props:{value:{type:Array,default:()=>[]},timeTypeList:{type:Array,default:()=>["today","yesterday","last24h","last2d","last3d","last7d","last30d","last90d","last1y","last2y","currentYear","previousYear","beforeLastYear","last10y","tenYearAgo","all"]}},data(){return{currentTimeType:"custom",customType:"custom",timeTitle:"",range:[],dropDownVisible:!1,timeType:{today:{title:"当天",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate());return`${t.getTime().toString().slice(0,-3)}~${e.getTime().toString().slice(0,-3)}`}},yesterday:{title:"昨天",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()-1),n=new Date(e.getFullYear(),e.getMonth(),e.getDate()-1,23,59,59);return`${t.getTime().toString().slice(0,-3)}~${n.getTime().toString().slice(0,-3)}`}},last24h:{title:"最近24小时",getTimeStr:()=>{const e=Date.now(),t=e-864e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last2d:{title:"最近2天",getTimeStr:()=>{const e=Date.now(),t=e-1728e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last3d:{title:"最近3天",getTimeStr:()=>{const e=Date.now(),t=e-2592e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last7d:{title:"最近7天",getTimeStr:()=>{const e=Date.now(),t=e-6048e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last30d:{title:"最近30天",getTimeStr:()=>{const e=Date.now(),t=e-2592e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last90d:{title:"最近90天",getTimeStr:()=>{const e=Date.now(),t=e-7776e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last1y:{title:"最近一年",getTimeStr:()=>{const e=Date.now(),t=e-31536e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},last2y:{title:"最近两年",getTimeStr:()=>{const e=Date.now(),t=e-63072e6;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},currentYear:{title:"今年",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear(),0);return`${t.getTime().toString().slice(0,-3)}~${e.getTime().toString().slice(0,-3)}`}},previousYear:{title:"去年",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear()-1,0),n=new Date(e.getFullYear()-1,11,31,23,59,59);return`${t.getTime().toString().slice(0,-3)}~${n.getTime().toString().slice(0,-3)}`}},beforeLastYear:{title:"前年",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear()-2,0),n=new Date(e.getFullYear()-2,11,31,23,59,59);return`${t.getTime().toString().slice(0,-3)}~${n.getTime().toString().slice(0,-3)}`}},last10y:{title:"近10年",getTimeStr:()=>{const e=Date.now(),t=e-3155328e5;return`${t.toString().slice(0,-3)}~${e.toString().slice(0,-3)}`}},tenYearAgo:{title:"10年前",getTimeStr:()=>{const e=new Date,t=new Date(e.getFullYear()-10,e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());return"0000000000~"+t.getTime().toString().slice(0,-3)}},all:{title:"全部时间",getTimeStr:()=>"0000000000~"+Date.now().toString().slice(0,-3)}}}},computed:{pureTimeTypeList(){const e=Object.keys(this.timeType);return this.timeTypeList.filter(t=>e.includes(t))},timeTitleResult(){return this.currentTimeType===this.customType?this.timeTitle:this.languages[this.currentTimeType]},languages(){return this.$t2("KgTimePicker")}},watch:{value:{handler(e){if(Array.isArray(e)&&2===e.length){if(!(e[0]instanceof Date)||!(e[1]instanceof Date))throw new Error("k-time-picker绑定值必须是起止日期对象数组");this.range=e;const t=this.dateRangeToString(e),n=this.pureTimeTypeList.find(e=>{const{title:n,getTimeStr:i}=this.timeType[e];if(i()===t)return this.timeTitle=n,this.currentTimeType=e,!0});n||(this.currentTimeType=this.customType,this.timeTitle=this.getTimeByRange(e))}},immediate:!0}},created(){},methods:{getTimeByRange(e){const t=e=>e.toString().padStart(2,"0"),n=e=>e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+" "+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds());return n(e[0])+"~"+n(e[1])},visibleChange(e){this.dropDownVisible=e},datepickerBackNow(){const e=new Date;this.range=[e,e],this.getCustomerTime(this.range)},getCustomerTime(e){this.timeTitle=this.getTimeByRange(e);const t=this.dateRangeToString(e);this.emitResult(t)},dateRangeToString(e){const t=(null===e||void 0===e?void 0:e[0].getTime().toString().slice(0,-3))||"0000000000",n=null===e||void 0===e?void 0:e[1].getTime().toString().slice(0,-3);return t+"~"+n},emitResult(e){const[t,n]=e.split("~"),i=new Date(1e3*Number(t)),r=new Date(1e3*Number(n));this.range=[i,r],this.$emit("changeValue",[i,r]),this.$emit("change",e)},command(e){if(!this.timeType[e]||this.currentTimeType===e)return;this.currentTimeType=e;const{title:t,getTimeStr:n}=this.timeType[e];this.timeTitle=t,this.emitResult(n())},setLanguage(e){"zh"===e||"en"===e?this.$i18n_konw.setLang(e):console.error("语言只支持 zh en")}}},w=_,x=(n("d379"),Object(d["a"])(w,i,r,!1,null,"f6fcc5da",null));t["default"]=x.exports},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},"1d80":function(e,t,n){"use strict";var i=n("7234"),r=TypeError;e.exports=function(e){if(i(e))throw new r("Can't call method on "+e);return e}},"1fe5":function(e,t){function n(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",s="<[^<>]+>",a="("+i+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional(s)+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},p=t.optional(r)+e.IDENT_RE+"\\s*\\(",f=["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],m=["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],g={keyword:f,type:m,literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},v=[d,o,n,e.C_BLOCK_COMMENT_MODE,u,c],b={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat(["self"]),relevance:0}]),relevance:0},y={begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:g,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(h,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,c,u,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,c,u,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,d]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"</",contains:[].concat(b,y,v,[d,{begin:e.IDENT_RE+"::",keywords:g},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:d,strings:c,keywords:g}}}e.exports=n},"23cb":function(e,t,n){"use strict";var i=n("5926"),r=Math.max,s=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):s(n,t)}},"23e7":function(e,t,n){"use strict";var i=n("da84"),r=n("06cf").f,s=n("9112"),a=n("cb2d"),o=n("6374"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,h,p,f,m=e.target,g=e.global,v=e.stat;if(u=g?i:v?i[m]||o(m,{}):(i[m]||{}).prototype,u)for(d in t){if(p=t[d],e.dontCallGetSet?(f=r(u,d),h=f&&f.value):h=u[d],n=c(g?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(e.sham||h&&h.sham)&&s(p,"sham",!0),a(u,d,p,e)}}},"241c":function(e,t,n){"use strict";var i=n("ca84"),r=n("7839"),s=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,s)}},"26dd":function(e,t,n){"use strict";var i=n("6f4f"),r=n("10db"),s=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),s(e,t+" Iterator")}},"27d5":function(e,t,n){var i={"./copilotStore.js":"187e","./filtersStore.js":"a5f0"};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id="27d5"},2907:function(e,t){function n(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,i=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),r=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),s={scope:"variable",match:"\\$+"+i},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},o={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(o)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(o),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},d=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h="[ \t\n]",p={scope:"string",variants:[c,l,u,d]},f={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},m=["false","null","true"],g=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],v=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],b=e=>{const t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t},y={keyword:g,literal:b(m),built_in:v},_=e=>e.map(e=>e.replace(/\|\d+$/,"")),w={variants:[{match:[/new/,t.concat(h,"+"),t.concat("(?!",_(v).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},x=t.concat(i,"\\b(?!\\()"),C={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{1:"title.class",3:"variable.constant"}},{match:[r,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:t.concat(i,t.lookahead(":"),t.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[k,s,C,e.C_BLOCK_COMMENT_MODE,p,f,w]},D={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",_(g).join("\\b|"),"|",_(v).join("\\b|"),"\\b)"),i,t.concat(h,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(D);const E=[k,C,e.C_BLOCK_COMMENT_MODE,p,f,w],O={begin:t.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:m,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:m,keyword:["new","array"]},contains:["self",...E]},...E,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:y,contains:[O,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},s,D,C,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},w,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",s,C,e.C_BLOCK_COMMENT_MODE,p,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,f]}}e.exports=n},"299c":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=131)}({131:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),s=n(17),a=n.n(s),o=n(2),l=n(3),c=n(7),u=n.n(c),d={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new u.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(o["on"])(this.referenceElm,"mouseenter",this.show),Object(o["on"])(this.referenceElm,"mouseleave",this.hide),Object(o["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(o["on"])(this.referenceElm,"blur",this.handleBlur),Object(o["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(o["addClass"])(this.referenceElm,"focusing"):Object(o["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n<e.length;n++)e[n]&&e[n].tag&&(t=e[n]);return t}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var e=this.referenceElm;1===e.nodeType&&(Object(o["off"])(e,"mouseenter",this.show),Object(o["off"])(e,"mouseleave",this.hide),Object(o["off"])(e,"focus",this.handleFocus),Object(o["off"])(e,"blur",this.handleBlur),Object(o["off"])(e,"click",this.removeFocusing))},install:function(e){e.component(d.name,d)}};t["default"]=d},17:function(e,t){e.exports=n("0e15")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},5:function(e,t){e.exports=n("e974")},7:function(e,t){e.exports=n("8bbf")}})},"2a39":function(e,t){function n(e){return e?"string"===typeof e?e:e.source:null}function i(e){return r("(?=",e,")")}function r(...e){const t=e.map(e=>n(e)).join("");return t}function s(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function a(...e){const t=s(e),i="("+(t.capture?"":"?:")+e.map(e=>n(e)).join("|")+")";return i}const o=e=>r(/\b/,e,/\w$/.test(e)?/\b/:/\B/),l=["Protocol","Type"].map(o),c=["init","self"].map(o),u=["Any","Self"],d=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],h=["false","nil","true"],p=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],m=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],g=a(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),v=a(g,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=r(g,v,"*"),y=a(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),_=a(y,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),w=r(y,_,"*"),x=r(/[A-Z]/,_,"*"),C=["attached","autoclosure",r(/convention\(/,a("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",r(/objc\(/,w,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],k=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function S(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),s=[e.C_LINE_COMMENT_MODE,n],g={match:[/\./,a(...l,...c)],className:{2:"keyword"}},y={match:r(/\./,a(...d)),relevance:0},S=d.filter(e=>"string"===typeof e).concat(["_|0"]),D=d.filter(e=>"string"!==typeof e).concat(u).map(o),E={variants:[{className:"keyword",match:a(...D,...c)}]},O={$pattern:a(/\b\w+/,/#\w+/),keyword:S.concat(f),literal:h},T=[g,y,E],A={match:r(/\./,a(...m)),relevance:0},$={className:"built_in",match:r(/\b/,a(...m),/(?=\()/)},N=[A,$],M={match:/->/,relevance:0},F={className:"operator",relevance:0,variants:[{match:b},{match:`\\.(\\.|${v})+`}]},P=[M,F],I="([0-9]_*)+",L="([0-9a-fA-F]_*)+",j={className:"number",relevance:0,variants:[{match:`\\b(${I})(\\.(${I}))?([eE][+-]?(${I}))?\\b`},{match:`\\b0x(${L})(\\.(${L}))?([pP][+-]?(${I}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},B=(e="")=>({className:"subst",variants:[{match:r(/\\/,e,/[0\\tnr"']/)},{match:r(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),R=(e="")=>({className:"subst",match:r(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),z=(e="")=>({className:"subst",label:"interpol",begin:r(/\\/,e,/\(/),end:/\)/}),H=(e="")=>({begin:r(e,/"""/),end:r(/"""/,e),contains:[B(e),R(e),z(e)]}),V=(e="")=>({begin:r(e,/"/),end:r(/"/,e),contains:[B(e),z(e)]}),q={className:"string",variants:[H(),H("#"),H("##"),H("###"),V(),V("#"),V("##"),V("###")]},W=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],U={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:W},Y=e=>{const t=r(e,/\//),n=r(/\//,e);return{begin:t,end:n,contains:[...W,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},K={scope:"regexp",variants:[Y("###"),Y("##"),Y("#"),U]},G={match:r(/`/,w,/`/)},Z={className:"variable",match:/\$\d+/},X={className:"variable",match:`\\$${_}+`},Q=[G,Z,X],J={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:k,contains:[...P,j,q]}]}},ee={scope:"keyword",match:r(/@/,a(...C))},te={scope:"meta",match:r(/@/,w)},ne=[J,ee,te],ie={match:i(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:r(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,_,"+")},{className:"type",match:x,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:r(/\s+&\s+/,i(x)),relevance:0}]},re={begin:/</,end:/>/,keywords:O,contains:[...s,...T,...ne,M,ie]};ie.contains.push(re);const se={match:r(w,/\s*:/),keywords:"_|0",relevance:0},ae={begin:/\(/,end:/\)/,relevance:0,keywords:O,contains:["self",se,...s,K,...T,...N,...P,j,q,...Q,...ne,ie]},oe={begin:/</,end:/>/,keywords:"repeat each",contains:[...s,ie]},le={begin:a(i(r(w,/\s*:/)),i(r(w,/\s+/,w,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:w}]},ce={begin:/\(/,end:/\)/,keywords:O,contains:[le,...s,...T,...P,j,q,...ne,ie,ae],endsParent:!0,illegal:/["']/},ue={match:[/(func|macro)/,/\s+/,a(G.match,w,b)],className:{1:"keyword",3:"title.function"},contains:[oe,ce,t],illegal:[/\[/,/%/]},de={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[oe,ce,t],illegal:/\[|%/},he={match:[/operator/,/\s+/,b],className:{1:"keyword",3:"title"}},pe={begin:[/precedencegroup/,/\s+/,x],className:{1:"keyword",3:"title"},contains:[ie],keywords:[...p,...h],end:/}/};for(const i of q.variants){const e=i.contains.find(e=>"interpol"===e.label);e.keywords=O;const t=[...T,...N,...P,j,q,...Q];e.contains=[...t,{begin:/\(/,end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:O,contains:[...s,ue,de,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:O,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...T]},he,pe,{beginKeywords:"import",end:/$/,contains:[...s],relevance:0},K,...T,...N,...P,j,q,...Q,...ne,ie,ae]}}e.exports=S},"2a5e":function(e,t,n){"use strict";t.__esModule=!0,t.default=a;var i=n("8bbf"),r=s(i);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!r.default.prototype.$isServer)if(t){var n=[],i=t.offsetParent;while(i&&e!==i&&e.contains(i))n.push(i),i=i.offsetParent;var s=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),a=s+t.offsetHeight,o=e.scrollTop,l=o+e.clientHeight;s<o?e.scrollTop=s:a>l&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2b67":function(e,t,n){"use strict";n.r(t),t["default"]={btn_ok:"确定",btn_cancel:"取消",btn_more:"更多",btn_pickUP:"收起",btn_checkout:"多选",text_highopt:"高级选项:",test:"测试中文"}},"2ba4":function(e,t,n){"use strict";var i=n("40d5"),r=Function.prototype,s=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(s):function(){return a.apply(s,arguments)})},"2bb5":function(e,t,n){"use strict";t.__esModule=!0;n("8122");t.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},"2d00":function(e,t,n){"use strict";var i,r,s=n("da84"),a=n("342f"),o=s.process,l=s.Deno,c=o&&o.versions||l&&l.version,u=c&&c.v8;u&&(i=u.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),e.exports=r},"2d83":function(e,t,n){"use strict";var i=n("387f");e.exports=function(e,t,n,r,s){var a=new Error(e);return i(a,t,n,r,s)}},"2dee":function(e,t,n){},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2f62":function(e,t,n){"use strict";(function(e){
2
2
  /*!
3
3
  * vuex v3.6.2
4
4
  * (c) 2021 Evan You
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kg-ui/kg-ui",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "private": false,
5
5
  "main": "lib/main.umd.js",
6
6
  "files": [