text: !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue-i18n"),require("vue"),require("element-ui"),require("axios"),require("lodash"),require("vuex"),require("vue-router"));else if("function"==typeof define&&define.amd)define(["vue-i18n","vue","element-ui","axios","lodash","vuex","vue-router"],t);else{var r="object"==typeof exports?t(require("vue-i18n"),require("vue"),require("element-ui"),require("axios"),require("lodash"),require("vuex"),require("vue-router")):t(e["vue-i18n"],e.vue,e["element-ui"],e.axios,e.lodash,e.vuex,e["vue-router"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,function(r,n,i,o,a,l,s){return f={},u.m=c={0:function(e,t,r){e.exports=r("56d7")},"008a":function(e,t,r){var n=r("f6b4");e.exports=function(e){return Object(n(e))}},"013f":function(e,t,r){var b=r("4ce5"),x=r("224c"),w=r("008a"),k=r("eafa"),n=r("5dd2");e.exports=function(f,e){var d=1==f,p=2==f,h=3==f,m=4==f,v=6==f,g=5==f||v,y=e||n;return function(e,t,r){for(var n,i,o=w(e),a=x(o),l=b(t,r,3),s=k(a.length),u=0,c=d?y(e,s):p?y(e,0):void 0;u<s;u++)if((g||u in a)&&(i=l(n=a[u],u,o),f))if(d)c[u]=i;else if(i)switch(f){case 3:return!0;case 5:return n;case 6:return u;case 2:c.push(n)}else if(m)return!1;return v?-1:h||m?m:c}}},"0259":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0<=e.indexOf((0,i.default)(t))};var n=o(r("d076")),i=o(r("6071"));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},"064e":function(e,t,r){var n=r("69b3"),i=r("db6b"),o=r("94b3"),a=Object.defineProperty;t.f=r("149f")?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},"06e2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),d.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,l=new RegExp("[-+]".concat(o.source,":").concat(a.source)),s=new RegExp("([zZ]|".concat(l.source,")")),u=new RegExp("".concat(o.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(u.source).concat(s.source)),d=new RegExp("".concat(c.source,"[ tT]").concat(f.source));e.exports=t.default,e.exports.default=t.default},"09b9":function(e,t,r){var n=r("224c"),i=r("f6b4");e.exports=function(e){return n(i(e))}},"0aed":function(e,t,r){"use strict";r("aaba");var c=r("bf16"),f=r("86d4"),d=r("238a"),p=r("f6b4"),h=r("cb3d"),m=r("8714"),v=h("species"),g=!d(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),y=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(r,e,t){var n=h(r),o=!d(function(){var e={};return e[n]=function(){return 7},7!=""[r](e)}),i=o?!d(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},"split"===r&&(t.constructor={},t.constructor[v]=function(){return t}),t[n](""),!e}):void 0;if(!o||!i||"replace"===r&&!g||"split"===r&&!y){var a=/./[n],l=t(p,n,""[r],function(e,t,r,n,i){return t.exec===m?o&&!i?{done:!0,value:a.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),s=l[0],u=l[1];c(String.prototype,r,s),f(RegExp.prototype,n,2==e?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}}},"0cad":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"0dc8":function(e,t,r){var a=r("064e"),l=r("69b3"),s=r("80a9");e.exports=r("149f")?Object.defineProperties:function(e,t){l(e);for(var r,n=s(t),i=n.length,o=0;o<i;)a.f(e,r=n[o++],t[r]);return e}},"0e55":function(e,t,r){"use strict";r.r(t);var n=r("a74f"),i=r.n(n),o=r("dfc6"),a=r.n(o),l=new i.a({id:"icon-save",use:"icon-save-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-save"><defs><style type="text/css"></style></defs><path d="M780.8 64 160 64C102.4 64 64 108.8 64 160l0 704C64 915.2 102.4 960 160 960l704 0c51.2 0 96-44.8 96-96L960 211.2 780.8 64zM320 128l96 0 0 128 192 0L608 128 704 128c0 0 0 0 0 0l0 224C704 371.2 684.8 384 672 384l-320 0C332.8 384 320 371.2 320 352L320 128zM896 864c0 19.2-12.8 32-32 32l-704 0C140.8 896 128 883.2 128 864l0-704C128 140.8 140.8 128 160 128L256 128l0 224C256 403.2 294.4 448 352 448l320 0C723.2 448 768 403.2 768 352L768 128l128 108.8L896 864zM768 544C768 563.2 748.8 576 736 576l-448 0C268.8 576 256 563.2 256 544l0 0C256 524.8 268.8 512 288 512l448 0C748.8 512 768 524.8 768 544L768 544zM768 672c0 19.2-12.8 32-32 32l-448 0C268.8 704 256 691.2 256 672l0 0C256 652.8 268.8 640 288 640l448 0C748.8 640 768 652.8 768 672L768 672zM768 800c0 19.2-12.8 32-32 32l-448 0C268.8 832 256 819.2 256 800l0 0C256 780.8 268.8 768 288 768l448 0C748.8 768 768 780.8 768 800L768 800z" p-id="2818" /></symbol>'});a.a.add(l);t.default=l},"0e8b":function(e,t,r){var n=r("cb3d")("unscopables"),i=Array.prototype;null==i[n]&&r("86d4")(i,n,{}),e.exports=function(e){i[n][e]=!0}},1103:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,i.default)(e,r)};var n=o(r("d076")),i=o(r("4b34"));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},1157:function(e,t,r){"use strict";var n=r("e7ad"),i=r("064e"),o=r("149f"),a=r("cb3d")("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},"118a":function(e,t,r){"use strict";var n=r("ed31");r.n(n).a},"11d8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var r=t?new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g"):/\s+$/g;return e.replace(r,"")};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"13d8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),function(e){var r="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach(function(e,t){0!==t&&(r="".concat(r,"|\\d{").concat(e,"}"))});var t="(\\".concat(e.symbol.replace(/\./g,"\\."),")").concat(e.require_symbol?"":"?"),n="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),i="(".concat(["0","[1-9]\\d*",n].join("|"),")?"),o="(\\".concat(e.decimal_separator,"(").concat(r,"))").concat(e.require_decimal?"":"?"),a=i+(e.allow_decimal||e.require_decimal?o:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?a+="-?":e.negative_sign_before_digits&&(a="-?"+a));e.allow_negative_sign_placeholder?a="( (?!\\-))?".concat(a):e.allow_space_after_symbol?a=" ?".concat(a):e.allow_space_after_digits&&(a+="( (?!$))?");e.symbol_after_digits?a+=t:a=t+a;e.allow_negatives&&(e.parens_for_negatives?a="(\\(".concat(a,"\\)|").concat(a,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(a="-?"+a));return new RegExp("^(?!-? )(?=.*\\d)".concat(a,"$"))}(t=(0,n.default)(t,a)).test(e)};var n=o(r("6d97")),i=o(r("d076"));function o(e){return e&&e.__esModule?e:{default:e}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},"149f":function(e,t,r){e.exports=!r("238a")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},1685:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var r=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(r,"")};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"190b":function(e,t,r){r("149f")&&"g"!=/./g.flags&&r("064e").f(RegExp.prototype,"flags",{configurable:!0,get:r("f1fe")})},"1e3d":function(e,t,r){!function(et){"use strict";et.defineMode("javascript",function(e,u){var c=e.indentUnit;var f=u.statementIndent;var o=u.jsonld;var l=u.json||o;var d=u.typescript;var p=u.wordCharacters||/[\w$\xa1-\uffff]/;var a=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),i=e("keyword d");var o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:i,break:i,continue:i,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n}}();var s=/[+\-*&%=<>!?|~^@]/;var h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function m(e){var t=false,r,n=false;while((r=e.next())!=null){if(!t){if(r=="/"&&!n)return;if(r=="[")n=true;else if(n&&r=="]")n=false}t=!t&&r=="\\"}}var n,i;function v(e,t,r){n=e;i=r;return t}function g(e,t){var r=e.next();if(r=='"'||r=="'"){t.tokenize=y(r);return t.tokenize(e,t)}else if(r=="."&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/)){return v("number","number")}else if(r=="."&&e.match("..")){return v("spread","meta")}else if(/[\[\]{}\(\),;\:\.]/.test(r)){return v(r)}else if(r=="="&&e.eat(">")){return v("=>","operator")}else if(r=="0"&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/)){return v("number","number")}else if(/\d/.test(r)){e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/);return v("number","number")}else if(r=="/"){if(e.eat("*")){t.tokenize=b;return b(e,t)}else if(e.eat("/")){e.skipToEnd();return v("comment","comment")}else if(Qe(e,t,1)){m(e);e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/);return v("regexp","string-2")}else{e.eat("=");return v("operator","operator",e.current())}}else if(r=="`"){t.tokenize=x;return x(e,t)}else if(r=="#"){e.skipToEnd();return v("error","error")}else if(r=="<"&&e.match("!--")||r=="-"&&e.match("->")){e.skipToEnd();return v("comment","comment")}else if(s.test(r)){if(r!=">"||!t.lexical||t.lexical.type!=">"){if(e.eat("=")){if(r=="!"||r=="=")e.eat("=")}else if(/[<>*+\-]/.test(r)){e.eat(r);if(r==">")e.eat(r)}}return v("operator","operator",e.current())}else if(p.test(r)){e.eatWhile(p);var n=e.current();if(t.lastType!="."){if(a.propertyIsEnumerable(n)){var i=a[n];return v(i.type,i.style,n)}if(n=="async"&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,false))return v("async","keyword",n)}return v("variable","variable",n)}}function y(i){return function(e,t){var r=false,n;if(o&&e.peek()=="@"&&e.match(h)){t.tokenize=g;return v("jsonld-keyword","meta")}while((n=e.next())!=null){if(n==i&&!r)break;r=!r&&n=="\\"}if(!r)t.tokenize=g;return v("string","string")}}function b(e,t){var r=false,n;while(n=e.next()){if(n=="/"&&r){t.tokenize=g;break}r=n=="*"}return v("comment","comment")}function x(e,t){var r=false,n;while((n=e.next())!=null){if(!r&&(n=="`"||n=="$"&&e.eat("{"))){t.tokenize=g;break}r=!r&&n=="\\"}return v("quasi","string-2",e.current())}var w="([{}])";function k(e,t){if(t.fatArrowAt)t.fatArrowAt=null;var r=e.string.indexOf("=>",e.start);if(r<0)return;if(d){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));if(n)r=n.index}var i=0,o=false;for(var a=r-1;a>=0;--a){var l=e.string.charAt(a);var s=w.indexOf(l);if(s>=0&&s<3){if(!i){++a;break}if(--i==0){if(l=="(")o=true;break}}else if(s>=3&&s<6){++i}else if(p.test(l)){o=true}else if(/["'\/`]/.test(l)){for(;;--a){if(a==0)return;var u=e.string.charAt(a-1);if(u==l&&e.string.charAt(a-2)!="\\"){a--;break}}}else if(o&&!i){++a;break}}if(o&&!i)t.fatArrowAt=a}var C={atom:true,number:true,variable:true,string:true,regexp:true,this:true,"jsonld-keyword":true};function M(e,t,r,n,i,o){this.indented=e;this.column=t;this.type=r;this.prev=i;this.info=o;if(n!=null)this.align=n}function S(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return true;for(var n=e.context;n;n=n.prev){for(var r=n.vars;r;r=r.next)if(r.name==t)return true}}function _(e,t,r,n,i){var o=e.cc;T.state=e;T.stream=i;T.marked=null,T.cc=o;T.style=t;if(!e.lexical.hasOwnProperty("align"))e.lexical.align=true;while(true){var a=o.length?o.pop():l?H:$;if(a(r,n)){while(o.length&&o[o.length-1].lex)o.pop()();if(T.marked)return T.marked;if(r=="variable"&&S(e,n))return"variable-2";return t}}}var T={state:null,column:null,marked:null,cc:null};function O(){for(var e=arguments.length-1;e>=0;e--)T.cc.push(arguments[e])}function L(){O.apply(null,arguments);return true}function A(e,t){for(var r=t;r;r=r.next)if(r.name==e)return true;return false}function r(e){var t=T.state;T.marked="def";if(t.context){if(t.lexical.info=="var"&&t.context&&t.context.block){var r=N(e,t.context);if(r!=null){t.context=r;return}}else if(!A(e,t.localVars)){t.localVars=new D(e,t.localVars);return}}if(u.globalVars&&!A(e,t.globalVars))t.globalVars=new D(e,t.globalVars)}function N(e,t){if(!t){return null}else if(t.block){var r=N(e,t.prev);if(!r)return null;if(r==t.prev)return t;return new E(r,t.vars,true)}else if(A(e,t.vars)){return t}else{return new E(t.prev,new D(e,t.vars),false)}}function P(e){return e=="public"||e=="private"||e=="protected"||e=="abstract"||e=="readonly"}function E(e,t,r){this.prev=e;this.vars=t;this.block=r}function D(e,t){this.name=e;this.next=t}var t=new D("this",new D("arguments",null));function F(){T.state.context=new E(T.state.context,T.state.localVars,false);T.state.localVars=t}function j(){T.state.context=new E(T.state.context,T.state.localVars,true);T.state.localVars=null}function I(){T.state.localVars=T.state.context.vars;T.state.context=T.state.context.prev}I.lex=true;function z(n,i){var e=function(){var e=T.state,t=e.indented;if(e.lexical.type=="stat")t=e.lexical.indented;else for(var r=e.lexical;r&&r.type==")"&&r.align;r=r.prev)t=r.indented;e.lexical=new M(t,T.stream.column(),n,null,e.lexical,i)};e.lex=true;return e}function R(){var e=T.state;if(e.lexical.prev){if(e.lexical.type==")")e.indented=e.lexical.indented;e.lexical=e.lexical.prev}}R.lex=true;function B(t){function r(e){if(e==t)return L();else if(t==";"||e=="}"||e==")"||e=="]")return O();else return L(r)}return r}function $(e,t){if(e=="var")return L(z("vardef",t),Ce,B(";"),R);if(e=="keyword a")return L(z("form"),G,$,R);if(e=="keyword b")return L(z("form"),$,R);if(e=="keyword d")return T.stream.match(/^\s*$/,false)?L():L(z("stat"),V,B(";"),R);if(e=="debugger")return L(B(";"));if(e=="{")return L(z("}"),j,ce,R,I);if(e==";")return L();if(e=="if"){if(T.state.lexical.info=="else"&&T.state.cc[T.state.cc.length-1]==R)T.state.cc.pop()();return L(z("form"),G,$,R,Le)}if(e=="function")return L(Ee);if(e=="for")return L(z("form"),Ae,$,R);if(e=="class"||d&&t=="interface"){T.marked="keyword";return L(z("form",e=="class"?e:t),ze,R)}if(e=="variable"){if(d&&t=="declare"){T.marked="keyword";return L($)}else if(d&&(t=="module"||t=="enum"||t=="type")&&T.stream.match(/^\s*\w/,false)){T.marked="keyword";if(t=="enum")return L(Ye);else if(t=="type")return L(Fe,B("operator"),me,B(";"));else return L(z("form"),Me,B("{"),z("}"),ce,R,R)}else if(d&&t=="namespace"){T.marked="keyword";return L(z("form"),H,$,R)}else if(d&&t=="abstract"){T.marked="keyword";return L($)}else{return L(z("stat"),ne)}}if(e=="switch")return L(z("form"),G,B("{"),z("}","switch"),j,ce,R,R,I);if(e=="case")return L(H,B(":"));if(e=="default")return L(B(":"));if(e=="catch")return L(z("form"),F,W,$,R,I);if(e=="export")return L(z("stat"),We,R);if(e=="import")return L(z("stat"),Ue,R);if(e=="async")return L($);if(t=="@")return L(H,$);return O(z("stat"),H,B(";"),R)}function W(e){if(e=="(")return L(je,B(")"))}function H(e,t){return K(e,t,false)}function U(e,t){return K(e,t,true)}function G(e){if(e!="(")return O();return L(z(")"),H,B(")"),R)}function K(e,t,r){if(T.state.fatArrowAt==T.stream.start){var n=r?Q:J;if(e=="(")return L(F,z(")"),se(je,")"),R,B("=>"),n,I);else if(e=="variable")return O(F,Me,B("=>"),n,I)}var i=r?q:Z;if(C.hasOwnProperty(e))return L(i);if(e=="function")return L(Ee,i);if(e=="class"||d&&t=="interface"){T.marked="keyword";return L(z("form"),Ie,R)}if(e=="keyword c"||e=="async")return L(r?U:H);if(e=="(")return L(z(")"),V,B(")"),R,i);if(e=="operator"||e=="spread")return L(r?U:H);if(e=="[")return L(z("]"),qe,R,i);if(e=="{")return ue(oe,"}",null,i);if(e=="quasi")return O(Y,i);if(e=="new")return L(ee(r));if(e=="import")return L(H);return L()}function V(e){if(e.match(/[;\}\)\],]/))return O();return O(H)}function Z(e,t){if(e==",")return L(H);return q(e,t,false)}function q(e,t,r){var n=r==false?Z:q;var i=r==false?H:U;if(e=="=>")return L(F,r?Q:J,I);if(e=="operator"){if(/\+\+|--/.test(t)||d&&t=="!")return L(n);if(d&&t=="<"&&T.stream.match(/^([^>]|<.*?>)*>\s*\(/,false))return L(z(">"),se(me,">"),R,n);if(t=="?")return L(H,B(":"),i);return L(i)}if(e=="quasi"){return O(Y,n)}if(e==";")return;if(e=="(")return ue(U,")","call",n);if(e==".")return L(ie,n);if(e=="[")return L(z("]"),V,B("]"),R,n);if(d&&t=="as"){T.marked="keyword";return L(me,n)}if(e=="regexp"){T.state.lastType=T.marked="operator";T.stream.backUp(T.stream.pos-T.stream.start-1);return L(i)}}function Y(e,t){if(e!="quasi")return O();if(t.slice(t.length-2)!="${")return L(Y);return L(H,X)}function X(e){if(e=="}"){T.marked="string-2";T.state.tokenize=x;return L(Y)}}function J(e){k(T.stream,T.state);return O(e=="{"?$:H)}function Q(e){k(T.stream,T.state);return O(e=="{"?$:U)}function ee(t){return function(e){if(e==".")return L(t?re:te);else if(e=="variable"&&d)return L(xe,t?q:Z);else return O(t?U:H)}}function te(e,t){if(t=="target"){T.marked="keyword";return L(Z)}}function re(e,t){if(t=="target"){T.marked="keyword";return L(q)}}function ne(e){if(e==":")return L(R,$);return O(Z,B(";"),R)}function ie(e){if(e=="variable"){T.marked="property";return L()}}function oe(e,t){if(e=="async"){T.marked="property";return L(oe)}else if(e=="variable"||T.style=="keyword"){T.marked="property";if(t=="get"||t=="set")return L(ae);var r;if(d&&T.state.fatArrowAt==T.stream.start&&(r=T.stream.match(/^\s*:\s*/,false)))T.state.fatArrowAt=T.stream.pos+r[0].length;return L(le)}else if(e=="number"||e=="string"){T.marked=o?"property":T.style+" property";return L(le)}else if(e=="jsonld-keyword"){return L(le)}else if(d&&P(t)){T.marked="keyword";return L(oe)}else if(e=="["){return L(H,fe,B("]"),le)}else if(e=="spread"){return L(U,le)}else if(t=="*"){T.marked="keyword";return L(oe)}else if(e==":"){return O(le)}}function ae(e){if(e!="variable")return O(le);T.marked="property";return L(Ee)}function le(e){if(e==":")return L(U);if(e=="(")return O(Ee)}function se(n,i,o){function a(e,t){if(o?o.indexOf(e)>-1:e==","){var r=T.state.lexical;if(r.info=="call")r.pos=(r.pos||0)+1;return L(function(e,t){if(e==i||t==i)return O();return O(n)},a)}if(e==i||t==i)return L();if(o&&o.indexOf(";")>-1)return O(n);return L(B(i))}return function(e,t){if(e==i||t==i)return L();return O(n,a)}}function ue(e,t,r){for(var n=3;n<arguments.length;n++)T.cc.push(arguments[n]);return L(z(t,r),se(e,t),R)}function ce(e){if(e=="}")return L();return O($,ce)}function fe(e,t){if(d){if(e==":")return L(me);if(t=="?")return L(fe)}}function de(e,t){if(d&&(e==":"||t=="in"))return L(me)}function pe(e){if(d&&e==":"){if(T.stream.match(/^\s*\w+\s+is\b/,false))return L(H,he,me);else return L(me)}}function he(e,t){if(t=="is"){T.marked="keyword";return L()}}function me(e,t){if(t=="keyof"||t=="typeof"||t=="infer"){T.marked="keyword";return L(t=="typeof"?U:me)}if(e=="variable"||t=="void"){T.marked="type";return L(be)}if(t=="|"||t=="&")return L(me);if(e=="string"||e=="number"||e=="atom")return L(be);if(e=="[")return L(z("]"),se(me,"]",","),R,be);if(e=="{")return L(z("}"),se(ge,"}",",;"),R,be);if(e=="(")return L(se(ye,")"),ve,be);if(e=="<")return L(se(me,">"),me)}function ve(e){if(e=="=>")return L(me)}function ge(e,t){if(e=="variable"||T.style=="keyword"){T.marked="property";return L(ge)}else if(t=="?"||e=="number"||e=="string"){return L(ge)}else if(e==":"){return L(me)}else if(e=="["){return L(B("variable"),de,B("]"),ge)}else if(e=="("){return O(De,ge)}}function ye(e,t){if(e=="variable"&&T.stream.match(/^\s*[?:]/,false)||t=="?")return L(ye);if(e==":")return L(me);if(e=="spread")return L(ye);return O(me)}function be(e,t){if(t=="<")return L(z(">"),se(me,">"),R,be);if(t=="|"||e=="."||t=="&")return L(me);if(e=="[")return L(me,B("]"),be);if(t=="extends"||t=="implements"){T.marked="keyword";return L(me)}if(t=="?")return L(me,B(":"),me)}function xe(e,t){if(t=="<")return L(z(">"),se(me,">"),R,be)}function we(){return O(me,ke)}function ke(e,t){if(t=="=")return L(me)}function Ce(e,t){if(t=="enum"){T.marked="keyword";return L(Ye)}return O(Me,fe,Te,Oe)}function Me(e,t){if(d&&P(t)){T.marked="keyword";return L(Me)}if(e=="variable"){r(t);return L()}if(e=="spread")return L(Me);if(e=="[")return ue(_e,"]");if(e=="{")return ue(Se,"}")}function Se(e,t){if(e=="variable"&&!T.stream.match(/^\s*:/,false)){r(t);return L(Te)}if(e=="variable")T.marked="property";if(e=="spread")return L(Me);if(e=="}")return O();if(e=="[")return L(H,B("]"),B(":"),Se);return L(B(":"),Me,Te)}function _e(){return O(Me,Te)}function Te(e,t){if(t=="=")return L(U)}function Oe(e){if(e==",")return L(Ce)}function Le(e,t){if(e=="keyword b"&&t=="else")return L(z("form","else"),$,R)}function Ae(e,t){if(t=="await")return L(Ae);if(e=="(")return L(z(")"),Ne,R)}function Ne(e){if(e=="var")return L(Ce,Pe);if(e=="variable")return L(Pe);return O(Pe)}function Pe(e,t){if(e==")")return L();if(e==";")return L(Pe);if(t=="in"||t=="of"){T.marked="keyword";return L(H,Pe)}return O(H,Pe)}function Ee(e,t){if(t=="*"){T.marked="keyword";return L(Ee)}if(e=="variable"){r(t);return L(Ee)}if(e=="(")return L(F,z(")"),se(je,")"),R,pe,$,I);if(d&&t=="<")return L(z(">"),se(we,">"),R,Ee)}function De(e,t){if(t=="*"){T.marked="keyword";return L(De)}if(e=="variable"){r(t);return L(De)}if(e=="(")return L(F,z(")"),se(je,")"),R,pe,I);if(d&&t=="<")return L(z(">"),se(we,">"),R,De)}function Fe(e,t){if(e=="keyword"||e=="variable"){T.marked="type";return L(Fe)}else if(t=="<"){return L(z(">"),se(we,">"),R)}}function je(e,t){if(t=="@")L(H,je);if(e=="spread")return L(je);if(d&&P(t)){T.marked="keyword";return L(je)}if(d&&e=="this")return L(fe,Te);return O(Me,fe,Te)}function Ie(e,t){if(e=="variable")return ze(e,t);return Re(e,t)}function ze(e,t){if(e=="variable"){r(t);return L(Re)}}function Re(e,t){if(t=="<")return L(z(">"),se(we,">"),R,Re);if(t=="extends"||t=="implements"||d&&e==","){if(t=="implements")T.marked="keyword";return L(d?me:H,Re)}if(e=="{")return L(z("}"),Be,R)}function Be(e,t){if(e=="async"||e=="variable"&&(t=="static"||t=="get"||t=="set"||d&&P(t))&&T.stream.match(/^\s+[\w$\xa1-\uffff]/,false)){T.marked="keyword";return L(Be)}if(e=="variable"||T.style=="keyword"){T.marked="property";return L(d?$e:Ee,Be)}if(e=="number"||e=="string")return L(d?$e:Ee,Be);if(e=="[")return L(H,fe,B("]"),d?$e:Ee,Be);if(t=="*"){T.marked="keyword";return L(Be)}if(d&&e=="(")return O(De,Be);if(e==";"||e==",")return L(Be);if(e=="}")return L();if(t=="@")return L(H,Be)}function $e(e,t){if(t=="?")return L($e);if(e==":")return L(me,Te);if(t=="=")return L(U);var r=T.state.lexical.prev,n=r&&r.info=="interface";return O(n?De:Ee)}function We(e,t){if(t=="*"){T.marked="keyword";return L(Ze,B(";"))}if(t=="default"){T.marked="keyword";return L(H,B(";"))}if(e=="{")return L(se(He,"}"),Ze,B(";"));return O($)}function He(e,t){if(t=="as"){T.marked="keyword";return L(B("variable"))}if(e=="variable")return O(U,He)}function Ue(e){if(e=="string")return L();if(e=="(")return O(H);return O(Ge,Ke,Ze)}function Ge(e,t){if(e=="{")return ue(Ge,"}");if(e=="variable")r(t);if(t=="*")T.marked="keyword";return L(Ve)}function Ke(e){if(e==",")return L(Ge,Ke)}function Ve(e,t){if(t=="as"){T.marked="keyword";return L(Ge)}}function Ze(e,t){if(t=="from"){T.marked="keyword";return L(H)}}function qe(e){if(e=="]")return L();return O(se(U,"]"))}function Ye(){return O(z("form"),Me,B("{"),z("}"),se(Xe,"}"),R,R)}function Xe(){return O(Me,Te)}function Je(e,t){return e.lastType=="operator"||e.lastType==","||s.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function Qe(e,t,r){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||t.lastType=="quasi"&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}return{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new M((e||0)-c,0,"block",false),localVars:u.localVars,context:u.localVars&&new E(null,null,false),indented:e||0};if(u.globalVars&&typeof u.globalVars=="object")t.globalVars=u.globalVars;return t},token:function(e,t){if(e.sol()){if(!t.lexical.hasOwnProperty("align"))t.lexical.align=false;t.indented=e.indentation();k(e,t)}if(t.tokenize!=b&&e.eatSpace())return null;var r=t.tokenize(e,t);if(n=="comment")return r;t.lastType=n=="operator"&&(i=="++"||i=="--")?"incdec":n;return _(t,r,n,i,e)},indent:function(e,t){if(e.tokenize==b)return et.Pass;if(e.tokenize!=g)return 0;var r=t&&t.charAt(0),n=e.lexical,i;if(!/^\s*else\b/.test(t))for(var o=e.cc.length-1;o>=0;--o){var a=e.cc[o];if(a==R)n=n.prev;else if(a!=Le)break}while((n.type=="stat"||n.type=="form")&&(r=="}"||(i=e.cc[e.cc.length-1])&&(i==Z||i==q)&&!/^[,\.=+\-*:?[\(]/.test(t)))n=n.prev;if(f&&n.type==")"&&n.prev.type=="stat")n=n.prev;var l=n.type,s=r==l;if(l=="vardef")return n.indented+(e.lastType=="operator"||e.lastType==","?n.info.length+1:0);else if(l=="form"&&r=="{")return n.indented;else if(l=="form")return n.indented+c;else if(l=="stat")return n.indented+(Je(e,t)?f||c:0);else if(n.info=="switch"&&!s&&u.doubleIndentSwitch!=false)return n.indented+(/^(?:case|default)\b/.test(t)?c:2*c);else if(n.align)return n.column+(s?0:1);else return n.indented+(s?0:c)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:o,jsonMode:l,expressionAllowed:Qe,skipExpression:function(e){var t=e.cc[e.cc.length-1];if(t==H||t==U)e.cc.pop()}}}),et.registerHelper("wordChars","javascript",/[\w$]/),et.defineMIME("text/javascript","javascript"),et.defineMIME("text/ecmascript","javascript"),et.defineMIME("application/javascript","javascript"),et.defineMIME("application/x-javascript","javascript"),et.defineMIME("application/ecmascript","javascript"),et.defineMIME("application/json",{name:"javascript",json:true}),et.defineMIME("application/x-json",{name:"javascript",json:true}),et.defineMIME("application/ld+json",{name:"javascript",jsonld:true}),et.defineMIME("text/typescript",{name:"javascript",typescript:true}),et.defineMIME("application/typescript",{name:"javascript",typescript:true})}(r("7c0c"))},"1fb4":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"1ff3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var r=o.test(e);return t&&r&&t.strict?a(e):r};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4==0&&r%100!=0||r%400==0?n<=366:n<=365}var i=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),o=i[1],a=i[2],l=i[3],s=a?"0".concat(a).slice(-2):a,u=l?"0".concat(l).slice(-2):l,c=new Date("".concat(o,"-").concat(s||"01","-").concat(u||"01"));return!a||!l||c.getUTCFullYear()===o&&c.getUTCMonth()+1===a&&c.getUTCDate()===l};e.exports=t.default,e.exports.default=t.default},"206c":function(e,t,r){var d=r("4ce5"),p=r("d0bc"),h=r("2285"),m=r("69b3"),v=r("eafa"),g=r("f878"),y={},b={};(t=e.exports=function(e,t,r,n,i){var o,a,l,s,u=i?function(){return e}:g(e),c=d(r,n,t?2:1),f=0;if("function"!=typeof u)throw TypeError(e+" is not iterable!");if(h(u)){for(o=v(e.length);f<o;f++)if((s=t?c(m(a=e[f])[0],a[1]):c(e[f]))===y||s===b)return s}else for(l=u.call(e);!(a=l.next()).done;)if((s=p(l,c,a.value,t))===y||s===b)return s}).BREAK=y,t.RETURN=b},"212a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,v.default)(e),(t=(0,g.default)(t,w)).require_display_name||t.allow_display_name){var r=e.match(k);if(r){var n,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(n=(a=l.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==l.return||l.return()}finally{if(i)throw o}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(r,3);if(n=i[1],e=i[2],n.endsWith(" ")&&(n=n.substr(0,n.length-1)),!function(e){var t=e.match(/^"(.+)"$/i),r=t?t[1]:e;if(!r.trim())return;if(/[\.";<>]/.test(r)){if(!t)return;if(!(r.split('"').length===r.split('\\"').length))return}return 1}(n))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>O)return!1;var o=e.split("@"),a=o.pop(),l=o.join("@"),s=a.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===s||"googlemail.com"===s)){var u=(l=l.toLowerCase()).split("+")[0];if(!(0,y.default)(u.replace(".",""),{min:6,max:30}))return!1;for(var c=u.split("."),f=0;f<c.length;f++)if(!M.test(c[f]))return!1}if(!(0,y.default)(l,{max:64})||!(0,y.default)(a,{max:254}))return!1;if(!(0,b.default)(a,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,x.default)(a)){if(!a.startsWith("[")||!a.endsWith("]"))return!1;var d=a.substr(1,a.length-2);if(0===d.length||!(0,x.default)(d))return!1}}if('"'===l[0])return l=l.slice(1,l.length-1),t.allow_utf8_local_part?T.test(l):S.test(l);for(var p=t.allow_utf8_local_part?_:C,h=l.split("."),m=0;m<h.length;m++)if(!p.test(h[m]))return!1;return!0};var v=n(r("d076")),g=n(r("6d97")),y=n(r("b067")),b=n(r("7771")),x=n(r("69e5"));function n(e){return e&&e.__esModule?e:{default:e}}var w={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},k=/^([^\x00-\x1F\x7F-\x9F\cX]+)<(.+)>$/i,C=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,M=/^[a-z\d]+$/,S=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,_=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,T=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,O=254;e.exports=t.default,e.exports.default=t.default},"21c4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";(0,a.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var n=t.replace(/[\s-]+/g,"");var i=0;var o;if("10"===r){if(!l.test(n))return!1;for(o=0;o<9;o++)i+=(o+1)*n.charAt(o);if("X"===n.charAt(9)?i+=100:i+=10*n.charAt(9),i%11==0)return!!n}else if("13"===r){if(!s.test(n))return!1;for(o=0;o<12;o++)i+=u[o%2]*n.charAt(o);if(n.charAt(12)-(10-i%10)%10==0)return!!n}return!1};var n,a=(n=r("d076"))&&n.__esModule?n:{default:n};var l=/^(?:[0-9]{9}X|[0-9]{10})$/,s=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default,e.exports.default=t.default},"224c":function(e,t,r){var n=r("75c4");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},2285:function(e,t,r){var n=r("da6d"),i=r("cb3d")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},2346:function(e,t,r){var n=r("75c4");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"238a":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"25dc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var n={"en-US":/^[A-Z]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ω]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/};t.alpha=n;var i={"en-US":/^[0-9A-Z]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/};t.alphanumeric=i;var o={"en-US":".",ar:"٫"};t.decimal=o;var a=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=a;for(var l,s=0;s<a.length;s++)n[l="en-".concat(a[s])]=n["en-US"],i[l]=i["en-US"],o[l]=o["en-US"];var u=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=u;for(var c,f=0;f<u.length;f++)n[c="ar-".concat(u[f])]=n.ar,i[c]=i.ar,o[c]=o.ar;var d=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=d;var p=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-FR","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA"];t.commaDecimal=p;for(var h=0;h<d.length;h++)o[d[h]]=o["en-US"];for(var m=0;m<p.length;m++)o[p[m]]=",";n["pt-BR"]=n["pt-PT"],i["pt-BR"]=i["pt-PT"],o["pt-BR"]=o["pt-PT"],n["pl-Pl"]=n["pl-PL"],i["pl-Pl"]=i["pl-PL"],o["pl-Pl"]=o["pl-PL"]},2743:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,f.default)(e),!e||2083<=e.length||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;var r,n,i,o,a,l,s,u;if(t=(0,h.default)(t,m),1<(s=(e=(s=(e=(s=e.split("#")).shift()).split("?")).shift()).split("://")).length){if(r=s.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;s[0]=e.substr(2)}}if(""===(e=s.join("://")))return!1;if(""===(e=(s=e.split("/")).shift())&&!t.require_host)return!0;if(1<(s=e.split("@")).length){if(t.disallow_auth)return!1;if(0<=(n=s.shift()).indexOf(":")&&2<n.split(":").length)return!1}o=s.join("@"),u=l=null;var c=o.match(v);c?(i="",u=c[1],l=c[2]||null):(s=o.split(":"),i=s.shift(),s.length&&(l=s.join(":")));if(null!==l&&(a=parseInt(l,10),!/^[0-9]+$/.test(l)||a<=0||65535<a))return!1;if(!((0,p.default)(i)||(0,d.default)(i,t)||u&&(0,p.default)(u,6)))return!1;if(i=i||u,t.host_whitelist&&!g(i,t.host_whitelist))return!1;if(t.host_blacklist&&g(i,t.host_blacklist))return!1;return!0};var f=n(r("d076")),d=n(r("7771")),p=n(r("69e5")),h=n(r("6d97"));function n(e){return e&&e.__esModule?e:{default:e}}var m={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},v=/^\[([^\]]+)\](?::([0-9]+))?$/;function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(i=n,"[object RegExp]"===Object.prototype.toString.call(i)&&n.test(e)))return 1}var i}e.exports=t.default,e.exports.default=t.default},"2a5d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),parseInt(e,t||10)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"2b45":function(e,t,r){"use strict";r("190b");function n(e){r("bf16")(RegExp.prototype,l,e,!0)}var i=r("69b3"),o=r("f1fe"),a=r("149f"),l="toString",s=/./[l];r("238a")(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?n(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?o.call(e):void 0)}):s.name!=l&&n(function(){return s.call(this)})},"2ea2":function(e,t,r){var n=r("c2f7"),i=r("ceac").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},"2f77":function(e,t){t.f=Object.getOwnPropertySymbols},"2fd4":function(e,t,r){var n=r("fb68"),i=r("75c4"),o=r("cb3d")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},3074:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},"32b9":function(e,t,r){"use strict";var n=r("e005"),i=r("cc33"),o=r("399f"),a={};r("86d4")(a,r("cb3d")("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},3387:function(e,t,r){var l=r("e7ad"),s=r("da9f").set,u=l.MutationObserver||l.WebKitMutationObserver,c=l.process,f=l.Promise,d="process"==r("75c4")(c);e.exports=function(){function e(){var e,t;for(d&&(e=c.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(e){throw r?i():n=void 0,e}}n=void 0,e&&e.enter()}var r,n,i;if(d)i=function(){c.nextTick(e)};else if(!u||l.navigator&&l.navigator.standalone)if(f&&f.resolve){var t=f.resolve(void 0);i=function(){t.then(e)}}else i=function(){s.call(l,e)};else{var o=!0,a=document.createTextNode("");new u(e).observe(a,{characterData:!0}),i=function(){a.data=o=!o}}return function(e){var t={fn:e,next:void 0};n&&(n.next=t),r||(r=t,i()),n=t}}},3410:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default,e.exports.default=t.default},"399f":function(e,t,r){var n=r("064e").f,i=r("e042"),o=r("cb3d")("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},"3a9d":function(e,t,r){"use strict";var i=r("5daa");function n(e){var r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw TypeError("Bad Promise constructor");r=e,n=t}),this.resolve=i(r),this.reject=i(n)}e.exports.f=function(e){return new n(e)}},"40e7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,i.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"417b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)},t.fullWidth=void 0;var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=o},"41ae":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?o.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},t.locales=void 0;var n,i=(n=r("d076"))&&n.__esModule?n:{default:n},o=r("25dc");var a=Object.keys(o.decimal);t.locales=a},"473c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,i.default)(e),t in o.alphanumeric)return o.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,i=(n=r("d076"))&&n.__esModule?n:{default:n},o=r("25dc");var a=Object.keys(o.alphanumeric);t.locales=a},"475d":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},4760:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),t&&t.no_colons)return a.test(e);return o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,a=/^([0-9a-fA-F]){12}$/;e.exports=t.default,e.exports.default=t.default},"492d":function(e,t,r){"use strict";function b(){return this}var x=r("550e"),w=r("e46b"),k=r("bf16"),C=r("86d4"),M=r("da6d"),S=r("32b9"),_=r("399f"),T=r("58cf"),O=r("cb3d")("iterator"),L=!([].keys&&"next"in[].keys()),A="values";e.exports=function(e,t,r,n,i,o,a){S(r,t,n);function l(e){if(!L&&e in h)return h[e];switch(e){case"keys":case A:return function(){return new r(this,e)}}return function(){return new r(this,e)}}var s,u,c,f=t+" Iterator",d=i==A,p=!1,h=e.prototype,m=h[O]||h["@@iterator"]||i&&h[i],v=m||l(i),g=i?d?l("entries"):v:void 0,y="Array"==t&&h.entries||m;if(y&&(c=T(y.call(new e)))!==Object.prototype&&c.next&&(_(c,f,!0),x||"function"==typeof c[O]||C(c,O,b)),d&&m&&m.name!==A&&(p=!0,v=function(){return m.call(this)}),x&&!a||!L&&!p&&h[O]||C(h,O,v),M[t]=v,M[f]=b,i)if(s={values:d?v:l(A),keys:o?v:l("keys"),entries:g},a)for(u in s)u in h||k(h,u,s[u]);else w(w.P+w.F*(L||p),t,s);return s}},"497f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,i.default)(e),t in o.alpha)return o.alpha[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,i=(n=r("d076"))&&n.__esModule?n:{default:n},o=r("25dc");var a=Object.keys(o.alpha);t.locales=a},"4b34":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"4ba2":function(e,t,r){var n=r("2ea2"),i=r("2f77"),o=r("69b3"),a=r("e7ad").Reflect;e.exports=a&&a.ownKeys||function(e){var t=n.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},"4ce5":function(e,t,r){var o=r("5daa");e.exports=function(n,i,e){if(o(n),void 0===i)return n;switch(e){case 1:return function(e){return n.call(i,e)};case 2:return function(e,t){return n.call(i,e,t)};case 3:return function(e,t,r){return n.call(i,e,t,r)}}return function(){return n.apply(i,arguments)}}},"4ef4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)},t.halfWidth=void 0;var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=o},"4f18":function(e,t){t.f={}.propertyIsEnumerable},5114:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),t&&t.no_symbols)return a.test(e);return o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^[+-]?([0-9]*[.])?[0-9]+$/,a=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},5131:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e===e.toLowerCase()};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"51ff":function(e,t,r){var n={"./icon_add.svg":"c49e","./icon_delete.svg":"f1f2","./icon_doc.svg":"7793","./icon_file_fill.svg":"5db1","./save.svg":"0e55"};function i(e){var t=o(e);return r(t)}function o(e){if(r.o(n,e))return n[e];var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}i.keys=function(){return Object.keys(n)},i.resolve=o,(e.exports=i).id="51ff"},"520c":function(e,t,r){var n=r("7a50");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("85cb").default)("7ab72655",n,!0,{sourceMap:!1,shadowMode:!1})},"54ac":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.length;if(0<t&&t%8==0&&o.test(e))return!0;return!1};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^[A-Z2-7]+=*$/;e.exports=t.default,e.exports.default=t.default},"550e":function(e,t){e.exports=!1},"56d7":function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"cutWords",function(){return de});r("e10e"),r("6d57"),r("e44b"),r("6648"),r("5f54"),r("f0e6"),r("6e69");var i=r("8bbf"),o=r.n(i),a=r("e04f"),l=r.n(a),s=(r("9f35"),r("5f72")),u=r.n(s);r("b20f"),r("7d2c"),r("520c");function c(e,t,r,n,i,o,a,l){var s,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=s):i&&(s=l?function(){i.call(this,this.$root.$options.shadowRoot)}:i),s)if(u.functional){u._injectStyles=s;var c=u.render;u.render=function(e,t){return s.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:e,options:u}}var f=c({components:{}},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"contentTemp-app"}},[t("router-view")],1)},[],!1,null,null,null).exports,d=r("6389"),p=r.n(d),h=r("d04c"),m=r.n(h);r("5ab2");function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r("e697"),r("cc57");var g=r("cebe"),y=r.n(g),b=r("5880"),x=r.n(b),w={adminTemplateList:function(e){return e.contentTemp.templateList}},k="ADMINTEMPLATE_LIST";r("9a33"),r("f548"),r("2b45");var C=r("60bb"),M=r.n(C),S={namespaced:!0,state:{templateList:{pageInfo:{},docs:[]}},mutations:v({},k,function(e,t){e.templateList=t}),actions:{getAdminTemplateList:function(e,t){var r=e.commit;D({url:"/manage/template/getTemplateForderList",method:"get",params:1<arguments.length&&void 0!==t?t:{}}).then(function(e){var t=function(e){for(var t=e,r=t.docs,n=_.filter(r,function(e){return"0"!=e.parentId}),i=0;i<n.length;i++)for(var o=n[i],a=0;a<r.length;a++){var l=r[a];if(l._id==o.parentId||l.id==o.parentId){l.children||(l.children=[]),l.children.push(o);break}}return t.docs=_.filter(r,function(e){return"0"==e.parentId}),t}(e.data);r(k,t)})}}};o.a.use(x.a);var T=new x.a.Store({modules:{contentTemp:S},getters:w});m.a.token_key,m.a.admin_token_key;var O,L=0;function A(){0===L&&O.close()}function N(){0===L&&(O=s.Loading.service({lock:!0,text:"数据加载中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})),L++}function P(){L<=0||0===--L&&M.a.debounce(A,300)()}var E=y.a.create({baseURL:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_API,timeout:12e4});E.interceptors.request.use(function(e){return N(),e},function(e){return Promise.reject(e)}),E.interceptors.response.use(function(e){P();var t=e.data;return 200!==t.status?(Object(s.Message)({message:t.message||"Error",type:"error",duration:5e3}),50008!==t.status&&50012!==t.status&&50014!==t.status||s.MessageBox.confirm("You have been logged out, you can cancel to stay on this page, or log in again","Confirm logout",{confirmButtonText:"Re-Login",cancelButtonText:"Cancel",type:"warning"}).then(function(){T.dispatch("user/resetToken").then(function(){location.reload()})}),Promise.reject(new Error(t.message||"Error"))):t},function(e){P();var t=e.message;return e.response&&e.response.data&&e.response.data.message&&(t=e.response.data.message),Object(s.Message)({message:t,type:"error",duration:5e3}),Promise.reject(e)});var D=E;var F={props:{treeData:Array},data:function(){return{defaultProps:{children:"children",label:"name"}}},methods:{handleNodeClick:function(e){var t,r=this;e&&e.path&&(t={filePath:e.path},D({url:"/manage/template/getTemplateFileText",method:"get",params:t})).then(function(e){200===e.status?r.$emit("changeTreeFile",e.data):r.$message.error(e.message)})},append:function(e,t){var r={};r.parentId=t._id,r.parent={label:t.label},this.$store.dispatch("contentTemp/showAdminResourceForm",{edit:!1,type:"children",formData:r})},renderContent:function(e,t){var r=t.node,n=(t.data,t.store,"0"==r.data.parentId&&r.data.name.indexOf(".html")<0?e("svg-icon",{attrs:{"icon-class":"icon_file_fill"}}):0<r.data.name.indexOf(".html")?e("svg-icon",{attrs:{"icon-class":"icon_doc"}}):"");return e("span",{class:"tempTreeMenu",style:"display: block; align-items: center; font-size: 14px; padding-right: 8px;"},[n,e("span",{style:"marginLeft:5px;"},[e("span",[r.label])])])}},mounted:function(){var r=this;setTimeout(function(){var e=r.treeData,t=M.a.filter(e,function(e){return 0<=e.name.indexOf("index.html")});t&&0<t.length&&r.handleNodeClick(t[0])},1e3)}},j=(r("118a"),c(F,function(){var e=this,t=e.$createElement;return(e._self._c||t)("el-tree",{attrs:{data:e.treeData,"highlight-current":!0,props:e.defaultProps,"node-key":"id",accordion:"","render-content":e.renderContent},on:{"node-click":e.handleNodeClick}})},[],!1,null,null,null).exports),I=c({props:{device:String,pageInfo:Object,type:String,ids:Array,code:String,path:String},data:function(){return{selectUserList:[],searchkey:""}},methods:{saveTemplate:function(){var t=this,e={code:this.code,path:this.path};D({url:"/manage/template/updateTemplateFileText",method:"post",data:e}).then(function(e){200==e.status?t.$message({message:t.$t("main.updateSuccess"),type:"success"}):t.$message.error(e.message)})}},components:{}},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dr-toolbar"},[t("div",{staticClass:"option-button el-col-6"},[t("el-button",{attrs:{size:"small",type:"primary",plain:"",round:""},on:{click:this.saveTemplate}},[t("svg-icon",{attrs:{"icon-class":"save"}})],1)],1),t("div",{staticClass:"el-col-18"},[this._v(" ")])])},[],!1,null,null,null).exports,z=r("7c0c"),R=r.n(z);function B(e){var t=l.a.get("sidebarStatus");e.sidebarOpened="1"==t,e.sidebar&&(e.sidebar.opened=e.sidebarOpened)}r("1e3d"),r("8bc1");function $(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var W=window.CodeMirror||R.a,H={name:"index",props:{value:String,language:{type:String,default:null}},data:function(){return{sidebarOpened:!0,device:"desktop",codetxt:"",codePath:"",mode:"html",coder:null,options:{tabSize:2,theme:"default",lineNumbers:!0,line:!0},modes:[{value:"css",label:"CSS"},{value:"javascript",label:"Javascript"},{value:"html",label:"XML/HTML"},{value:"x-java",label:"Java"},{value:"x-objectivec",label:"Objective-C"},{value:"x-python",label:"Python"},{value:"x-rsrc",label:"R"},{value:"x-sh",label:"Shell"},{value:"x-sql",label:"SQL"},{value:"x-swift",label:"Swift"},{value:"x-vue",label:"Vue"},{value:"markdown",label:"Markdown"}]}},components:{TopBar:I,TemplateTree:j},methods:{readTreeFile:function(e){this.codetxt=e.doc,this.codePath=e.path,this.codetxt&&this.coder.setValue(this.codetxt)},_initialize:function(){var t=this;if(this.coder=W.fromTextArea(this.$refs.textarea,this.options),this.coder.setValue(this.value||this.codetxt),this.coder.on("change",function(e){t.codetxt=e.getValue(),t.$emit&&t.$emit("input",t.codetxt)}),this.language){var e=this._getLanguage(this.language);e&&(this.mode=e.label)}},_getLanguage:function(i){return this.modes.find(function(e){var t=i.toLowerCase(),r=e.label.toLowerCase(),n=e.value.toLowerCase();return r===t||n===t})},changeMode:function(e){this.coder.setOption("mode","text/".concat(e));var t=this._getLanguage(e).label.toLowerCase();this.$emit("language-change",t)}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$(Object(r),!0).forEach(function(e){v(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},Object(b.mapGetters)(["adminTemplateList"]),{classObj:function(){return{hideSidebar:!this.sidebarOpened,openSidebar:this.sidebarOpened,withoutAnimation:"false",mobile:"mobile"===this.device}}}),mounted:function(){!function(t){var e=t.$root;setTimeout(function(){B(t)},500),e&&e.eventBus&&(e.eventBus.$on("toggleSideBar",function(e){setTimeout(function(){B(t)},500)}),e.eventBus.$on("toggleDevice",function(e){t.device=e}));var r=document.body.getBoundingClientRect();t.device=r.width-1<992?"mobile":"desktop"}(this),this.$store.dispatch("contentTemp/getAdminTemplateList"),this._initialize()}},U=(r("d7b4"),c(H,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"adminTemplate",class:e.classObj},[r("div",{staticClass:"main-container"},[r("el-row",{staticClass:"dr-datatable"},[r("el-col",{attrs:{span:24}},[r("TopBar",{attrs:{code:e.codetxt,path:e.codePath,type:"adminTemplate"}}),r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{xs:24,md:4}},[r("div",{staticClass:"grid-content bg-purple"},[r("TemplateTree",{attrs:{treeData:e.adminTemplateList.docs,pageType:"adminTemplate"},on:{changeTreeFile:e.readTreeFile}})],1)]),r("el-col",{attrs:{xs:24,md:20}},[r("div",{staticClass:"in-coder-panel"},[r("textarea",{ref:"textarea"})])])],1)],1)],1)],1)])},[],!1,null,null,null).exports);o.a.use(p.a);var G=function(){return new p.a({mode:"history",base:"/",scrollBehavior:function(){return{y:0}},routes:[{path:m.a.admin_base_path+"/contentTemp",name:"contentTemp",component:U}]})},K=G();var V=K,Z=r("9f6a"),q=r.n(Z);r("fad4");var Y={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return e=this.iconClass,/^(https?:|mailto:|tel:)/.test(e);var e},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},X=(r("68fa"),c(Y,function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.isExternal?r("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):r("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[r("use",{attrs:{"xlink:href":e.iconName}})])},[],!1,null,"f9f7fefc",null).exports);o.a.component("svg-icon",X);var J,Q=r("51ff");(J=Q).keys().map(J);var ee=r("85b3"),te=r.n(ee),re=r("b799"),ne=r.n(re),ie=r("83a6"),oe=r.n(ie),ae=r("e9cd"),le=r.n(ae);function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?se(Object(r),!0).forEach(function(e){v(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}o.a.use(te.a);var ce={en:ue({},{main:{name:"name",myMessage:"Notifiction",settings:"Setting",logOut:"Log Out",lastLoginTime:"Last Login Time",lastLoginIp:"Last Login IP",myPower:"My Right",seeDetails:"Check The Details",adminUserTotalNum:"AdminUsers",regUserTotalNum:"Registers",contentsTotalNum:"Contents",messagesTotalNum:"Comments",shortcutOption:"Short Cuts",addAdminUser:"Add  New  Admin",addContents:"Add New Contents",sourceManage:"Resource  Management",systemConfigs:"System systemConfigs",databak:"Data BackUp",nearMessages:"Recent Comments",messageIn:"At",messageSaid:"Said",messageReply:"Reply",noMessages:"No Data, Right Now!",nearNewUsers:"New Rigistered Users",confirmBtnText:"Yes",cancelBtnText:"Cancel",reSetBtnText:"Reset",scr_modal_title:"Hints",scr_modal_del_succes_info:"Delete Succeeded",scr_modal_del_error_info:"Cancelled Delete",form_btnText_update:"Update",form_btnText_save:"Save",radioOn:"Yes",radioOff:"No",updateSuccess:"Update Succeeded",addSuccess:"Add Succeeded",dataTableOptions:"Operate",del_notice:"You'll delete this records forever, continue?",install_notice:"Are you sure you want to install the plug-in?",uninstall_notice:"Are you sure you want to uninstall the plug-in?",update_notice:"Are you sure you want to update the plug-in?",comments_label:"Note",sort_label:"Sort",ask_select_label:"Please Choose",target_Item:"Specify The Target",confirm_logout:"Are you usre you want to exit?",login_timeout:"Your login has time out",server_error_notice:"Server connection exception, please try again later.",re_login:"Re-Login",addNew:"Add",modify:"Edit",back:"Return",post:"Publish",nopage:"The page you're trying visit not exist or you don't have the right",close_modal:"Close",askForReInputContent:"Found that you have unsaved documents, do you load them?",cancelReInputContent:"Load has been cancelled and data has been cleared.",noModifyPasswordTips:"Leave it blank if you don't change your password"},validate:{inputNull:"Please Type {label}",inputCorrect:"Please Entery the Right {label}",selectNull:"Please Choose {label}",rangelength:"Length between {min} to {max} ",ranglengthandnormal:"{min} to {max} character, only letter, Number and underline available!",maxlength:"The max character {max} you can Entery",passwordnotmatching:"The password and the confirmation you typed do not match",limitUploadImgType:"Only JPG,PNG,GIF format pics are available",limitUploadImgSize:"The pics size can't exceed {size} MB",limitUploadFileType:"上传文件的格式不正确",limitUploadFileSize:"上传文件大小不能超过 {size} MB",error_params:"Illegal Parameter, please try again."}},{},{contentTemp:{}},{},ne.a),zh:ue({},{main:{name:"名称",myMessage:"我的消息",settings:"设置",logOut:"退出登录",lastLoginTime:"上次登录时间",lastLoginIp:"上次登录IP",myPower:"我的权限",seeDetails:"查看",adminUserTotalNum:"管理员总数",regUserTotalNum:"注册用户",contentsTotalNum:"文档总数",messagesTotalNum:"留言总数",shortcutOption:"快捷操作",addAdminUser:"添加管理员",addContents:"添加文档",sourceManage:"资源管理",systemConfigs:"系统配置",databak:"数据备份",nearMessages:"近期评论",messageIn:"在",messageSaid:"说",messageReply:"回复",noMessages:"暂无数据",nearNewUsers:"新注册用户",confirmBtnText:"确定",cancelBtnText:"取消",reSetBtnText:"重置",scr_modal_title:"提示",scr_modal_del_succes_info:"删除成功",scr_modal_del_error_info:"已取消删除",form_btnText_update:"更新",form_btnText_save:"保存",radioOn:"是",radioOff:"否",updateSuccess:"更新成功",addSuccess:"添加成功",dataTableOptions:"操作",del_notice:"此操作将永久删除该条记录, 是否继续?",install_notice:"您确认要安装该插件吗?",uninstall_notice:"卸载插件会影响到您当前系统相关功能的使用，您确认要执行该操作吗?",update_notice:"您确认要升级该插件吗?",comments_label:"备注",sort_label:"排序",ask_select_label:"请选择",target_Item:"指定目标",confirm_logout:"确认退出吗？",login_timeout:"您的登录已超时！",server_error_notice:"服务异常,请稍后再试",re_login:"重新登录",addNew:"添加",modify:"编辑",back:"返回",post:"发布",nopage:"您访问的页面不存在或者您没有权限访问该模块",close_modal:"关闭",askForReInputContent:"发现您有未保存的文档，是否载入？",cancelReInputContent:"已取消载入并清除数据",noModifyPasswordTips:"不修改密码请留空"},validate:{inputNull:"请输入 {label}",inputCorrect:"请输入正确的 {label}",selectNull:"请选择 {label}",rangelength:"输入长度在 {min} 到 {max} 之间",ranglengthandnormal:"{min} 到 {max} 位,只能包含字母、数字和下划线!",maxlength:"最多可以输入 {max} 个字符",passwordnotmatching:"两次输入密码不一致",limitUploadImgType:"上传图片只能是 JPG,PNG,GIF 格式",limitUploadImgSize:"上传图片大小不能超过 {size} MB",limitUploadFileType:"上传文件的格式不正确",limitUploadFileSize:"上传文件大小不能超过 {size} MB",error_params:"参数非法,请重新操作"}},{},{contentTemp:{}},{},oe.a),ja:ue({},{main:{name:"名称",myMessage:"我的消息",settings:"设置",logOut:"退出登录",lastLoginTime:"上次登录时间",lastLoginIp:"上次登录IP",myPower:"我的权限",seeDetails:"查看",adminUserTotalNum:"管理员总数",regUserTotalNum:"注册用户",contentsTotalNum:"文档总数",messagesTotalNum:"留言总数",shortcutOption:"快捷操作",addAdminUser:"添加管理员",addContents:"添加文档",sourceManage:"资源管理",systemConfigs:"系统配置",databak:"数据备份",nearMessages:"近期评论",messageIn:"在",messageSaid:"说",messageReply:"回复",noMessages:"暂无数据",nearNewUsers:"新注册用户",confirmBtnText:"确定",cancelBtnText:"取消",reSetBtnText:"重置",scr_modal_title:"提示",scr_modal_del_succes_info:"删除成功",scr_modal_del_error_info:"已取消删除",form_btnText_update:"更新",form_btnText_save:"保存",radioOn:"是",radioOff:"否",updateSuccess:"更新成功",addSuccess:"添加成功",dataTableOptions:"操作",del_notice:"此操作将永久删除该条记录, 是否继续?",install_notice:"您确认要安装该插件吗?",uninstall_notice:"卸载插件会影响到您当前系统相关功能的使用，您确认要执行该操作吗?",update_notice:"您确认要升级该插件吗?",comments_label:"备注",sort_label:"排序",ask_select_label:"请选择",target_Item:"指定目标",confirm_logout:"确认退出吗？",login_timeout:"您的登录已超时！",server_error_notice:"服务异常,请稍后再试",re_login:"重新登录",addNew:"添加",modify:"编辑",back:"返回",post:"发布",nopage:"您访问的页面不存在或者您没有权限访问该模块",close_modal:"关闭",askForReInputContent:"发现您有未保存的文档，是否载入？",cancelReInputContent:"已取消载入并清除数据",noModifyPasswordTips:"不修改密码请留空"},validate:{inputNull:"请输入 {label}",inputCorrect:"请输入正确的 {label}",selectNull:"请选择 {label}",rangelength:"输入长度在 {min} 到 {max} 之间",ranglengthandnormal:"{min} 到 {max} 位,只能包含字母、数字和下划线!",maxlength:"最多可以输入 {max} 个字符",passwordnotmatching:"两次输入密码不一致",limitUploadImgType:"上传图片只能是 JPG,PNG,GIF 格式",limitUploadImgSize:"上传图片大小不能超过 {size} MB",limitUploadFileType:"上传文件的格式不正确",limitUploadFileSize:"上传文件大小不能超过 {size} MB",error_params:"参数非法,请重新操作"}},{},{contentTemp:{}},{},le.a)},fe=new te.a({locale:l.a.get("language")||"zh",messages:ce});function de(e,t){return e?e.replace(/[\u0391-\uFFE5]/g,"aa").length>t?e.substring(0,t)+"...":e:""}r.d(t,"bootstrap",function(){return he}),r.d(t,"mount",function(){return me}),r.d(t,"unmount",function(){return ve}),o.a.config.productionTip=!1,o.a.use(u.a,{size:l.a.get("size")||"medium",i18n:function(e,t){return fe.t(e,t)}}),Object.keys(n).forEach(function(e){o.a.filter(e,n[e])});var pe=q()({Vue:o.a,appOptions:{render:function(e){return e(f)},router:V,store:T,i18n:fe}}),he=[pe.bootstrap];function me(e){return pe.mount(e)}var ve=[pe.unmount]},"56f2":function(e,t,r){var n=r("6798")("keys"),i=r("ec45");e.exports=function(e){return n[e]||(n[e]=i(e))}},5880:function(e,t){e.exports=l},"58cf":function(e,t,r){var n=r("e042"),i=r("008a"),o=r("56f2")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"5ab2":function(e,t,r){var n=r("e46b"),s=r("4ba2"),u=r("09b9"),c=r("dcb7"),f=r("ebc3");n(n.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,r,n=u(e),i=c.f,o=s(n),a={},l=0;o.length>l;)void 0!==(r=i(n,t=o[l++]))&&f(a,t,r);return a}})},"5d25":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,i.default)(a,e.toUpperCase())};var n=o(r("d076")),i=o(r("eec2"));function o(e){return e&&e.__esModule?e:{default:e}}var a=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default,e.exports.default=t.default},"5daa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"5db1":function(e,t,r){"use strict";r.r(t);var n=r("a74f"),i=r.n(n),o=r("dfc6"),a=r.n(o),l=new i.a({id:"icon-icon_file_fill",use:"icon-icon_file_fill-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-icon_file_fill"><defs><style type="text/css"></style></defs><path d="M895.981325 192.015222H575.996546a96.001471 96.001471 0 0 1-57.598836-19.200295l-76.79299-57.596789A95.999424 95.999424 0 0 0 384.005884 96.019891H128.018675c-53.017494 0-95.995331 42.97886-95.995331 95.995331v639.969556c0 53.017494 42.97886 95.995331 95.995331 95.995331h767.96265c53.017494 0 95.995331-42.97886 95.995331-95.995331V288.010553c0-53.016471-42.977837-95.995331-95.995331-95.995331zM224.014007 543.998785h191.990662c17.671475 0 31.998785 14.325263 31.998785 31.998785 0 17.671475-14.32731 31.998785-31.998785 31.998784H224.014007c-17.671475 0-31.998785-14.32731-31.998785-31.998784 0-17.673521 14.32731-31.998785 31.998785-31.998785z m383.981324 223.988424H224.014007c-17.671475 0-31.998785-14.32731-31.998785-31.998785 0-17.672498 14.32731-31.998785 31.998785-31.998785h383.981324c17.671475 0 31.998785 14.325263 31.998785 31.998785 0 17.671475-14.328333 31.998785-31.998785 31.998785z" p-id="4157" /></symbol>'});a.a.add(l);t.default=l},"5dd2":function(e,t,r){var n=r("81dc");e.exports=function(e,t){return new(n(e))(t)}},"5f54":function(e,t,r){var n=r("e46b");n(n.S+n.F,"Object",{assign:r("e118")})},"5f72":function(e,t){e.exports=i},6071:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"object"===n(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default,e.exports.default=t.default},"60bb":function(e,t){e.exports=a},6389:function(e,t){e.exports=s},6648:function(e,t,r){"use strict";function n(){}function f(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t}function i(c,r){if(!c._n){c._n=!0;var n=c._c;k(function(){for(var s=c._v,u=1==c._s,e=0,t=function(e){var t,r,n,i=u?e.ok:e.fail,o=e.resolve,a=e.reject,l=e.domain;try{i?(u||(2==c._h&&z(c),c._h=1),!0===i?t=s:(l&&l.enter(),t=i(s),l&&(l.exit(),n=!0)),t===e.promise?a(O("Promise-chain cycle")):(r=f(t))?r.call(t,o,a):o(t)):a(s)}catch(e){l&&!n&&l.exit(),a(e)}};n.length>e;)t(n[e++]);c._c=[],c._n=!1,r&&!c._h&&j(c)})}}function o(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),i(t,!0))}var a,l,s,u,c=r("550e"),d=r("e7ad"),p=r("4ce5"),h=r("7e23"),m=r("e46b"),v=r("fb68"),g=r("5daa"),y=r("a73b"),b=r("206c"),x=r("f63e"),w=r("da9f").set,k=r("3387")(),C=r("3a9d"),M=r("1fb4"),S=r("6bf0"),_=r("bc0a"),T="Promise",O=d.TypeError,L=d.process,A=L&&L.versions,N=A&&A.v8||"",P=d[T],E="process"==h(L),D=l=C.f,F=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[r("cb3d")("species")]=function(e){e(n,n)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(n)instanceof t&&0!==N.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(e){}}(),j=function(o){w.call(d,function(){var e,t,r,n=o._v,i=I(o);if(i&&(e=M(function(){E?L.emit("unhandledRejection",n,o):(t=d.onunhandledrejection)?t({promise:o,reason:n}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",n)}),o._h=E||I(o)?2:1),o._a=void 0,i&&e.e)throw e.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},z=function(t){w.call(d,function(){var e;E?L.emit("rejectionHandled",t):(e=d.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(e){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw O("Promise can't be resolved itself");(r=f(e))?k(function(){var t={_w:n,_d:!1};try{r.call(e,p(R,t,1),p(o,t,1))}catch(e){o.call(t,e)}}):(n._v=e,n._s=1,i(n,!1))}catch(e){o.call({_w:n,_d:!1},e)}}};F||(P=function(e){y(this,P,T,"_h"),g(e),a.call(this);try{e(p(R,this,1),p(o,this,1))}catch(e){o.call(this,e)}},(a=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r("ef91")(P.prototype,{then:function(e,t){var r=D(x(this,P));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=E?L.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&i(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),s=function(){var e=new a;this.promise=e,this.resolve=p(R,e,1),this.reject=p(o,e,1)},C.f=D=function(e){return e===P||e===u?new s(e):l(e)}),m(m.G+m.W+m.F*!F,{Promise:P}),r("399f")(P,T),r("1157")(T),u=r("7ddc")[T],m(m.S+m.F*!F,T,{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),m(m.S+m.F*(c||!F),T,{resolve:function(e){return _(c&&this===u?P:this,e)}}),m(m.S+m.F*!(F&&r("d0c5")(function(e){P.all(e).catch(n)})),T,{all:function(e){var a=this,t=D(a),l=t.resolve,s=t.reject,r=M(function(){var n=[],i=0,o=1;b(e,!1,function(e){var t=i++,r=!1;n.push(void 0),o++,a.resolve(e).then(function(e){r||(r=!0,n[t]=e,--o||l(n))},s)}),--o||l(n)});return r.e&&s(r.v),t.promise},race:function(e){var t=this,r=D(t),n=r.reject,i=M(function(){b(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},6698:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),new RegExp("^[a-f0-9]{".concat(o[t],"}$")).test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},6746:function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},6798:function(e,t,r){var n=r("7ddc"),i=r("e7ad"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r("550e")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},6894:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},"68fa":function(e,t,r){"use strict";var n=r("b199");r.n(n).a},"690e":function(e,t){e.exports=function(r){var a=[];return a.toString=function(){return this.map(function(e){var t=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(n),o=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[r].concat(o).concat([i]).join("\n")}return[r].join("\n")}(e,r);return e[2]?"@media "+e[2]+"{"+t+"}":t}).join("")},a.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},n=0;n<this.length;n++){var i=this[n][0];"number"==typeof i&&(r[i]=!0)}for(n=0;n<e.length;n++){var o=e[n];"number"==typeof o[0]&&r[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),a.push(o))}},a}},"69b3":function(e,t,r){var n=r("fb68");e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},"69e5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";(0,u.default)(t);r=String(r);{if(!r)return e(t,4)||e(t,6);if("4"===r){if(!c.test(t))return!1;var n=t.split(".").sort(function(e,t){return e-t});return n[3]<=255}if("6"===r){var i=t.split(":"),o=!1,a=e(i[i.length-1],4),l=a?7:8;if(i.length>l)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(i.shift(),i.shift(),o=!0):"::"===t.substr(t.length-2)&&(i.pop(),i.pop(),o=!0);for(var s=0;s<i.length;++s)if(""===i[s]&&0<s&&s<i.length-1){if(o)return!1;o=!0}else if(!(a&&s===i.length-1||f.test(i[s])))return!1;return o?1<=i.length:i.length===l}}return!1};var n,u=(n=r("d076"))&&n.__esModule?n:{default:n};var c=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,f=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},"6ab3":function(e,t,r){(t=e.exports=r("690e")(!1)).push([e.i,'.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .28s;transition:opacity .28s}.fade-enter,.fade-leave-active{opacity:0}.fade-transform-enter-active,.fade-transform-leave-active{-webkit-transition:all .5s;transition:all .5s}.fade-transform-enter{opacity:0;-webkit-transform:translateX(-30px);transform:translateX(-30px)}.fade-transform-leave-to{opacity:0;-webkit-transform:translateX(30px);transform:translateX(30px)}.breadcrumb-enter-active,.breadcrumb-leave-active{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-enter,.breadcrumb-leave-active{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.breadcrumb-move{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-leave-active{position:absolute}.el-breadcrumb__inner,.el-breadcrumb__inner a{font-weight:400!important}.el-upload input[type=file]{display:none!important}.el-upload__input{display:none}.el-dialog{-webkit-transform:none;transform:none;left:0;position:relative;margin:0 auto}.upload-container .el-upload{width:100%}.upload-container .el-upload .el-upload-dragger{width:100%;height:200px}.el-dropdown-menu a{display:block}.dr-toolbar{margin:10px auto;height:30px}.dr-toolbar .option-button{text-align:left}.dr-searchInput{min-width:180px!important;margin-right:10px}.dr-searchInput,.dr-select-box{display:inline-block}.dr-toolbar-right{width:100%;display:block;text-align:right}.el-button--small{padding:7px 7px!important}.el-button--mini{padding:7px!important}.el-input-number--small{line-height:32px!important}.el-table a:link,.el-table a:visited{color:#5a5e66;text-decoration:none}.el-card__header{padding:10px 10px}.dr-datatable{padding:15px}.dash-box{background:#fff;-webkit-box-shadow:4px 4px 40px rgba(0,0,0,.05);box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.dash-box .dash-title{font-size:16px;color:rgba(0,0,0,.45);margin:0;padding:15px;font-weight:400;border-bottom:1px solid #eee;background:rgba(0,0,0,.003);-webkit-box-shadow:inset 0 -2px 1px rgba(0,0,0,.03);box-shadow:inset 0 -2px 1px rgba(0,0,0,.03)}.dash-box .dash-content{padding:15px}@media screen and (max-width:768px){.el-dialog{width:90%!important}.el-message-box{width:80%!important}}#contentTemp-app .main-container{min-height:100%;-webkit-transition:margin-left .28s;transition:margin-left .28s;margin-left:210px;position:relative}#contentTemp-app .hideSidebar .main-container{margin-left:54px}#contentTemp-app .mobile .main-container{margin-left:0}#contentTemp-app .withoutAnimation .main-container,#contentTemp-app .withoutAnimation .sidebar-container{-webkit-transition:none;transition:none}body{height:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}label{font-weight:700}html{-webkit-box-sizing:border-box;box-sizing:border-box}#navbar-app,html{height:100%}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}a:active,a:focus{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.app-container{padding:20px}',""]),t.locals={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},"6b44":function(e,t,r){var n=r("83e7");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("85cb").default)("72c632d6",n,!0,{sourceMap:!1,shadowMode:!1})},"6bac":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,l.default)(e),!s.test(e))return!1;for(var t,r,n=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),i=0,o=!0,a=n.length-2;0<=a;a--)t=n.substring(a,a+1),r=parseInt(t,10),i+=o&&10<=(r*=2)?r+1:r,o=!o;return parseInt(e.substr(e.length-1),10)===(1e4-i)%10};var n,l=(n=r("d076"))&&n.__esModule?n:{default:n};var s=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},"6bf0":function(e,t,r){var n=r("e7ad").navigator;e.exports=n&&n.userAgent||""},"6d46":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),parseFloat(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"6d57":function(e,t,r){for(var n=r("e44b"),i=r("80a9"),o=r("bf16"),a=r("e7ad"),l=r("86d4"),s=r("da6d"),u=r("cb3d"),c=u("iterator"),f=u("toStringTag"),d=s.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(p),m=0;m<h.length;m++){var v,g=h[m],y=p[g],b=a[g],x=b&&b.prototype;if(x&&(x[c]||l(x,c,d),x[f]||l(x,f,g),s[g]=d,y))for(v in n)x[v]||o(x,v,n[v],!0)}},"6d97":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default,e.exports.default=t.default},"6e69":function(e,t,r){r.p=window.getPublicPath("contentTemp")},7108:function(e,t,r){"use strict";var i=r("7e23"),o=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var n=r.call(e,t);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"75c4":function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},"761c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,i.default)(e)&&24===e.length};var n=o(r("d076")),i=o(r("bf02"));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},7771:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,l.default)(e),(t=(0,s.default)(t,u)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));for(var r=e.split("."),n=0;n<r.length;n++)if(63<r[n].length)return!1;if(t.require_tld){var i=r.pop();if(!r.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(i))return!1}for(var o,a=0;a<r.length;a++){if(o=r[a],t.allow_underscores&&(o=o.replace(/_/g,"")),!/^[a-z\u00a1-\uffff0-9-]+$/i.test(o))return!1;if(/[\uff01-\uff5e]/.test(o))return!1;if("-"===o[0]||"-"===o[o.length-1])return!1}return!0};var l=n(r("d076")),s=n(r("6d97"));function n(e){return e&&e.__esModule?e:{default:e}}var u={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1};e.exports=t.default,e.exports.default=t.default},7793:function(e,t,r){"use strict";r.r(t);var n=r("a74f"),i=r.n(n),o=r("dfc6"),a=r.n(o),l=new i.a({id:"icon-icon_doc",use:"icon-icon_doc-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-icon_doc"><defs><style type="text/css"></style></defs><path d="M288.010553 735.989447h383.981325c17.672498 0 31.998785 14.326287 31.998784 31.998785s-14.326287 31.998785-31.998784 31.998785H288.010553c-17.672498 0-31.998785-14.326287-31.998785-31.998785s14.326287-31.998785 31.998785-31.998785z m0-159.992901h191.990662c17.672498 0 31.998785 14.326287 31.998785 31.998785s-14.326287 31.998785-31.998785 31.998785H288.010553c-17.672498 0-31.998785-14.326287-31.998785-31.998785s14.326287-31.998785 31.998785-31.998785zM636.111692 92.137467l231.753272 231.753271a95.994308 95.994308 0 0 1 28.116361 67.87897v472.212832c0 53.016471-42.97886 95.995331-95.995332 95.995331H224.014007c-53.016471 0-95.995331-42.97886-95.995332-95.995331V160.016437c0-53.016471 42.97886-95.995331 95.995332-95.995331h344.218715c25.459858 0 49.875944 10.114358 67.87897 28.116361z m-28.116361 62.388932v197.4807h197.4807L607.995331 154.526399z m-53.016471-26.507724H224.014007c-17.672498 0-31.998785 14.326287-31.998785 31.998785v703.966103c0 17.672498 14.326287 31.998785 31.998785 31.998785h575.971986c17.672498 0 31.998785-14.326287 31.998785-31.998785V405.024593v10.980076H607.995331c-35.344996 0-63.996546-28.652574-63.996546-63.996547V128.018675h10.980075z" p-id="4275" /></symbol>'});a.a.add(l);t.default=l},"7a47":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;{if((0,i.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var n=[];for(r in t)!{}.hasOwnProperty.call(t,r)||(n[r]=(0,o.default)(t[r]));return 0<=n.indexOf(e)}if("object"===a(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return 0<=t.indexOf(e)}return!1};var i=n(r("d076")),o=n(r("6071"));function n(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},"7a50":function(e,t,r){(e.exports=r("690e")(!1)).push([e.i,".cm-s-cobalt.CodeMirror{background:#002240;color:#fff}.cm-s-cobalt div.CodeMirror-selected{background:#b36539}.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-cobalt .CodeMirror-guttermarker{color:#ffee80}.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber{color:#d0d0d0}.cm-s-cobalt .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-cobalt span.cm-comment{color:#08f}.cm-s-cobalt span.cm-atom{color:#845dc4}.cm-s-cobalt span.cm-attribute,.cm-s-cobalt span.cm-number{color:#ff80e1}.cm-s-cobalt span.cm-keyword{color:#ffee80}.cm-s-cobalt span.cm-string{color:#3ad900}.cm-s-cobalt span.cm-meta{color:#ff9d00}.cm-s-cobalt span.cm-tag,.cm-s-cobalt span.cm-variable-2{color:#9effff}.cm-s-cobalt .cm-type,.cm-s-cobalt span.cm-def,.cm-s-cobalt span.cm-variable-3{color:#fff}.cm-s-cobalt span.cm-bracket{color:#d8d8d8}.cm-s-cobalt span.cm-builtin,.cm-s-cobalt span.cm-special{color:#ff9e59}.cm-s-cobalt span.cm-link{color:#845dc4}.cm-s-cobalt span.cm-error{color:#9d1e15}.cm-s-cobalt .CodeMirror-activeline-background{background:#002d57}.cm-s-cobalt .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}",""])},"7bb0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},"7c0c":function(e,t,r){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,m=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),n=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),i=/Edge\/(\d+)/.exec(e),w=r||n||i,k=w&&(r?document.documentMode||6:+(i||n)[1]),v=!i&&/WebKit\//.test(e),o=v&&/Qt\/\d+\.\d+/.test(e),a=!i&&/Chrome\//.test(e),g=/Opera\//.test(e),l=/Apple Computer/.test(navigator.vendor),s=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),u=/PhantomJS/.test(e),c=!i&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),f=/Android/.test(e),d=c||f||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=c||/Mac/.test(t),p=/\bCrOS\b/.test(e),h=/win/i.test(t),b=g&&e.match(/Version\/(\d*\.\d*)/);if(b){b=Number(b[1])}if(b&&b>=15){g=false;v=true}var x=y&&(o||g&&(b==null||b<12.11)),C=m||w&&k>=9;function M(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S=function(e,t){var r=e.className;var n=M(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}},_;function T(e){for(var t=e.childNodes.length;t>0;--t){e.removeChild(e.firstChild)}return e}function O(e,t){return T(e).appendChild(t)}function N(e,t,r,n){var i=document.createElement(e);if(r){i.className=r}if(n){i.style.cssText=n}if(typeof t=="string"){i.appendChild(document.createTextNode(t))}else if(t){for(var o=0;o<t.length;++o){i.appendChild(t[o])}}return i}function L(e,t,r,n){var i=N(e,t,r,n);i.setAttribute("role","presentation");return i}if(document.createRange){_=function(e,t,r,n){var i=document.createRange();i.setEnd(n||e,r);i.setStart(e,t);return i}}else{_=function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(e){return n}n.collapse(true);n.moveEnd("character",r);n.moveStart("character",t);return n}}function A(e,t){if(t.nodeType==3){t=t.parentNode}if(e.contains){return e.contains(t)}do{if(t.nodeType==11){t=t.host}if(t==e){return true}}while(t=t.parentNode)}function P(){var t;try{t=document.activeElement}catch(e){t=document.body||null}while(t&&t.shadowRoot&&t.shadowRoot.activeElement){t=t.shadowRoot.activeElement}return t}function E(e,t){var r=e.className;if(!M(t).test(r)){e.className+=(r?" ":"")+t}}function D(e,t){var r=e.split(" ");for(var n=0;n<r.length;n++){if(r[n]&&!M(r[n]).test(t)){t+=" "+r[n]}}return t}var F=function(e){e.select()};if(c){F=function(e){e.selectionStart=0;e.selectionEnd=e.value.length}}else if(w){F=function(e){try{e.select()}catch(e){}}}function j(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function I(e,t,r){if(!t){t={}}for(var n in e){if(e.hasOwnProperty(n)&&(r!==false||!t.hasOwnProperty(n))){t[n]=e[n]}}return t}function z(e,t,r,n,i){if(t==null){t=e.search(/[^\s\u00a0]/);if(t==-1){t=e.length}}for(var o=n||0,a=i||0;;){var l=e.indexOf("\t",o);if(l<0||l>=t){return a+(t-o)}a+=l-o;a+=r-a%r;o=l+1}}var R=function(){this.id=null;this.f=null;this.time=0;this.handler=j(this.onTimeout,this)};function B(e,t){for(var r=0;r<e.length;++r){if(e[r]==t){return r}}return-1}R.prototype.onTimeout=function(e){e.id=0;if(e.time<=+new Date){e.f()}else{setTimeout(e.handler,e.time-+new Date)}},R.prototype.set=function(e,t){this.f=t;var r=+new Date+e;if(!this.id||r<this.time){clearTimeout(this.id);this.id=setTimeout(this.handler,e);this.time=r}};var $=30,W={toString:function(){return"CodeMirror.Pass"}},H={scroll:false},U={origin:"*mouse"},G={origin:"+move"};function K(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);if(o==-1){o=e.length}var a=o-n;if(o==e.length||i+a>=t){return n+Math.min(a,t-i)}i+=o-n;i+=r-i%r;n=o+1;if(i>=t){return n}}}var V=[""];function Z(e){while(V.length<=e){V.push(q(V)+" ")}return V[e]}function q(e){return e[e.length-1]}function Y(e,t){var r=[];for(var n=0;n<e.length;n++){r[n]=t(e[n],n)}return r}function X(e,t,r){var n=0,i=r(t);while(n<e.length&&r(e[n])<=i){n++}e.splice(n,0,t)}function J(){}function Q(e,t){var r;if(Object.create){r=Object.create(e)}else{J.prototype=e;r=new J}if(t){I(t,r)}return r}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function re(e,t){if(!t){return te(e)}if(t.source.indexOf("\\w")>-1&&te(e)){return true}return t.test(e)}function ne(e){for(var t in e){if(e.hasOwnProperty(t)&&e[t]){return false}}return true}var ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,r){while((r<0?t>0:t<e.length)&&oe(e.charAt(t))){t+=r}return t}function le(e,t,r){var n=t>r?-1:1;for(;;){if(t==r){return t}var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t){return e(o)?t:r}if(e(o)){r=o}else{t=o+n}}}function se(e,t,r,n){if(!e){return n(t,r,"ltr",0)}var i=false;for(var o=0;o<e.length;++o){var a=e[o];if(a.from<r&&a.to>t||t==r&&a.to==t){n(Math.max(a.from,t),Math.min(a.to,r),a.level==1?"rtl":"ltr",o);i=true}}if(!i){n(t,r,"ltr")}}var ue=null;function ce(e,t,r){var n;ue=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t){return i}if(o.to==t){if(o.from!=o.to&&r=="before"){n=i}else{ue=i}}if(o.from==t){if(o.from!=o.to&&r!="before"){n=i}else{ue=i}}}return n!=null?n:ue}var fe=function(){var t="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN";var r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function I(e){if(e<=247){return t.charAt(e)}else if(1424<=e&&e<=1524){return"R"}else if(1536<=e&&e<=1785){return r.charAt(e-1536)}else if(1774<=e&&e<=2220){return"r"}else if(8192<=e&&e<=8203){return"w"}else if(e==8204){return"b"}else{return"L"}}var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;var R=/[stwN]/,B=/[LRr]/,$=/[Lb1n]/,W=/[1n]/;function H(e,t,r){this.level=e;this.from=t;this.to=r}return function(e,t){var r=t=="ltr"?"L":"R";if(e.length==0||t=="ltr"&&!z.test(e)){return false}var n=e.length,i=[];for(var o=0;o<n;++o){i.push(I(e.charCodeAt(o)))}for(var a=0,l=r;a<n;++a){var s=i[a];if(s=="m"){i[a]=l}else{l=s}}for(var u=0,c=r;u<n;++u){var f=i[u];if(f=="1"&&c=="r"){i[u]="n"}else if(B.test(f)){c=f;if(f=="r"){i[u]="R"}}}for(var d=1,p=i[0];d<n-1;++d){var h=i[d];if(h=="+"&&p=="1"&&i[d+1]=="1"){i[d]="1"}else if(h==","&&p==i[d+1]&&(p=="1"||p=="n")){i[d]=p}p=h}for(var m=0;m<n;++m){var v=i[m];if(v==","){i[m]="N"}else if(v=="%"){var g=void 0;for(g=m+1;g<n&&i[g]=="%";++g){}var y=m&&i[m-1]=="!"||g<n&&i[g]=="1"?"1":"N";for(var b=m;b<g;++b){i[b]=y}m=g-1}}for(var x=0,w=r;x<n;++x){var k=i[x];if(w=="L"&&k=="1"){i[x]="L"}else if(B.test(k)){w=k}}for(var C=0;C<n;++C){if(R.test(i[C])){var M=void 0;for(M=C+1;M<n&&R.test(i[M]);++M){}var S=(C?i[C-1]:r)=="L";var _=(M<n?i[M]:r)=="L";var T=S==_?S?"L":"R":r;for(var O=C;O<M;++O){i[O]=T}C=M-1}}var L=[],A;for(var N=0;N<n;){if($.test(i[N])){var P=N;for(++N;N<n&&$.test(i[N]);++N){}L.push(new H(0,P,N))}else{var E=N,D=L.length;for(++N;N<n&&i[N]!="L";++N){}for(var F=E;F<N;){if(W.test(i[F])){if(E<F){L.splice(D,0,new H(1,E,F))}var j=F;for(++F;F<N&&W.test(i[F]);++F){}L.splice(D,0,new H(2,j,F));E=F}else{++F}}if(E<N){L.splice(D,0,new H(1,E,N))}}}if(t=="ltr"){if(L[0].level==1&&(A=e.match(/^\s+/))){L[0].from=A[0].length;L.unshift(new H(0,0,A[0].length))}if(q(L).level==1&&(A=e.match(/\s+$/))){q(L).to-=A[0].length;L.push(new H(0,n-A[0].length,n))}}return t=="rtl"?L.reverse():L}}();function de(e,t){var r=e.order;if(r==null){r=e.order=fe(e.text,t)}return r}var pe=[],he=function(e,t,r){if(e.addEventListener){e.addEventListener(t,r,false)}else if(e.attachEvent){e.attachEvent("on"+t,r)}else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||pe).concat(r)}};function me(e,t){return e._handlers&&e._handlers[t]||pe}function ve(e,t,r){if(e.removeEventListener){e.removeEventListener(t,r,false)}else if(e.detachEvent){e.detachEvent("on"+t,r)}else{var n=e._handlers,i=n&&n[t];if(i){var o=B(i,r);if(o>-1){n[t]=i.slice(0,o).concat(i.slice(o+1))}}}}function ge(e,t){var r=me(e,t);if(!r.length){return}var n=Array.prototype.slice.call(arguments,2);for(var i=0;i<r.length;++i){r[i].apply(null,n)}}function ye(e,t,r){if(typeof t=="string"){t={type:t,preventDefault:function(){this.defaultPrevented=true}}}ge(e,r||t.type,e,t);return Me(t)||t.codemirrorIgnore}function be(e){var t=e._handlers&&e._handlers.cursorActivity;if(!t){return}var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]);for(var n=0;n<t.length;++n){if(B(r,t[n])==-1){r.push(t[n])}}}function xe(e,t){return me(e,t).length>0}function we(e){e.prototype.on=function(e,t){he(this,e,t)};e.prototype.off=function(e,t){ve(this,e,t)}}function ke(e){if(e.preventDefault){e.preventDefault()}else{e.returnValue=false}}function Ce(e){if(e.stopPropagation){e.stopPropagation()}else{e.cancelBubble=true}}function Me(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==false}function Se(e){ke(e);Ce(e)}function _e(e){return e.target||e.srcElement}function Te(e){var t=e.which;if(t==null){if(e.button&1){t=1}else if(e.button&2){t=3}else if(e.button&4){t=2}}if(y&&e.ctrlKey&&t==1){t=3}return t}var Oe=function(){if(w&&k<9){return false}var e=N("div");return"draggable"in e||"dragDrop"in e}(),Le,Ae;function Ne(e){if(Le==null){var t=N("span","​");O(e,N("span",[t,document.createTextNode("x")]));if(e.firstChild.offsetHeight!=0){Le=t.offsetWidth<=1&&t.offsetHeight>2&&!(w&&k<8)}}var r=Le?N("span","​"):N("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");r.setAttribute("cm-text","");return r}function Pe(e){if(Ae!=null){return Ae}var t=O(e,document.createTextNode("AخA"));var r=_(t,0,1).getBoundingClientRect();var n=_(t,1,2).getBoundingClientRect();T(e);if(!r||r.left==r.right){return false}return Ae=n.right-r.right<3}var Ee="\n\nb".split(/\n/).length!=3?function(e){var t=0,r=[],n=e.length;while(t<=n){var i=e.indexOf("\n",t);if(i==-1){i=e.length}var o=e.slice(t,e.charAt(i-1)=="\r"?i-1:i);var a=o.indexOf("\r");if(a!=-1){r.push(o.slice(0,a));t+=a+1}else{r.push(o);t=i+1}}return r}:function(e){return e.split(/\r\n?|\n/)},De=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return false}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}if(!t||t.parentElement()!=e){return false}return t.compareEndPoints("StartToEnd",t)!=0},Fe=function(){var e=N("div");if("oncopy"in e){return true}e.setAttribute("oncopy","return;");return typeof e.oncopy=="function"}(),je=null;function Ie(e){if(je!=null){return je}var t=O(e,N("span","x"));var r=t.getBoundingClientRect();var n=_(t,0,1).getBoundingClientRect();return je=Math.abs(r.left-n.left)>1}var ze={},Re={};function Be(e,t){if(2<arguments.length)t.dependencies=Array.prototype.slice.call(arguments,2);ze[e]=t}function $e(e,t){Re[e]=t}function We(e){if(typeof e=="string"&&Re.hasOwnProperty(e)){e=Re[e]}else if(e&&typeof e.name=="string"&&Re.hasOwnProperty(e.name)){var t=Re[e.name];if(typeof t=="string"){t={name:t}}e=Q(t,e);e.name=t.name}else if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e)){return We("application/xml")}else if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e)){return We("application/json")}if(typeof e=="string"){return{name:e}}else{return e||{name:"null"}}}function He(e,t){t=We(t);var r=ze[t.name];if(!r){return He(e,"text/plain")}var n=r(e,t);if(Ue.hasOwnProperty(t.name)){var i=Ue[t.name];for(var o in i){if(!i.hasOwnProperty(o)){continue}if(n.hasOwnProperty(o)){n["_"+o]=n[o]}n[o]=i[o]}}n.name=t.name;if(t.helperType){n.helperType=t.helperType}if(t.modeProps){for(var a in t.modeProps){n[a]=t.modeProps[a]}}return n}var Ue={};function Ge(e,t){var r=Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={};I(t,r)}function Ke(e,t){if(t===true){return t}if(e.copyState){return e.copyState(t)}var r={};for(var n in t){var i=t[n];if(i instanceof Array){i=i.concat([])}r[n]=i}return r}function Ve(e,t){var r;while(e.innerMode){r=e.innerMode(t);if(!r||r.mode==e){break}t=r.state;e=r.mode}return r||{mode:e,state:t}}function Ze(e,t,r){return e.startState?e.startState(t,r):true}var qe=function(e,t,r){this.pos=this.start=0;this.string=e;this.tabSize=t||8;this.lastColumnPos=this.lastColumnValue=0;this.lineStart=0;this.lineOracle=r};function Ye(e,t){t-=e.first;if(t<0||t>=e.size){throw new Error("There is no line "+(t+e.first)+" in the document.")}var r=e;while(!r.lines){for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break}t-=o}}return r.lines[t]}function Xe(e,r,n){var i=[],o=r.line;e.iter(r.line,n.line+1,function(e){var t=e.text;if(o==n.line){t=t.slice(0,n.ch)}if(o==r.line){t=t.slice(r.ch)}i.push(t);++o});return i}function Je(e,t,r){var n=[];e.iter(t,r,function(e){n.push(e.text)});return n}function Qe(e,t){var r=t-e.height;if(r){for(var n=e;n;n=n.parent){n.height+=r}}}function et(e){if(e.parent==null){return null}var t=e.parent,r=B(t.lines,e);for(var n=t.parent;n;t=n,n=n.parent){for(var i=0;;++i){if(n.children[i]==t){break}r+=n.children[i].chunkSize()}}return r+t.first}function tt(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e}t-=o;r+=i.chunkSize()}return r}while(!e.lines);var a=0;for(;a<e.lines.length;++a){var l=e.lines[a],s=l.height;if(t<s){break}t-=s}return r+a}function rt(e,t){return t>=e.first&&t<e.first+e.size}function nt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function it(e,t,r){if(r===void 0)r=null;if(!(this instanceof it)){return new it(e,t,r)}this.line=e;this.ch=t;this.sticky=r}function ot(e,t){return e.line-t.line||e.ch-t.ch}function at(e,t){return e.sticky==t.sticky&&ot(e,t)==0}function lt(e){return it(e.line,e.ch)}function st(e,t){return ot(e,t)<0?t:e}function ut(e,t){return ot(e,t)<0?e:t}function ct(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ft(e,t){if(t.line<e.first){return it(e.first,0)}var r=e.first+e.size-1;if(t.line>r){return it(r,Ye(e,r).text.length)}return dt(t,Ye(e,t.line).text.length)}function dt(e,t){var r=e.ch;if(r==null||r>t){return it(e.line,t)}else if(r<0){return it(e.line,0)}else{return e}}function pt(e,t){var r=[];for(var n=0;n<t.length;n++){r[n]=ft(e,t[n])}return r}qe.prototype.eol=function(){return this.pos>=this.string.length},qe.prototype.sol=function(){return this.pos==this.lineStart},qe.prototype.peek=function(){return this.string.charAt(this.pos)||undefined},qe.prototype.next=function(){if(this.pos<this.string.length){return this.string.charAt(this.pos++)}},qe.prototype.eat=function(e){var t=this.string.charAt(this.pos);var r;if(typeof e=="string"){r=t==e}else{r=t&&(e.test?e.test(t):e(t))}if(r){++this.pos;return t}},qe.prototype.eatWhile=function(e){var t=this.pos;while(this.eat(e)){}return this.pos>t},qe.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos))){++this.pos}return this.pos>e},qe.prototype.skipToEnd=function(){this.pos=this.string.length},qe.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1){this.pos=t;return true}},qe.prototype.backUp=function(e){this.pos-=e},qe.prototype.column=function(){if(this.lastColumnPos<this.start){this.lastColumnValue=z(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue);this.lastColumnPos=this.start}return this.lastColumnValue-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},qe.prototype.indentation=function(){return z(this.string,null,this.tabSize)-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},qe.prototype.match=function(e,t,r){if(typeof e=="string"){var n=function(e){return r?e.toLowerCase():e};var i=this.string.substr(this.pos,e.length);if(n(i)==n(e)){if(t!==false){this.pos+=e.length}return true}}else{var o=this.string.slice(this.pos).match(e);if(o&&o.index>0){return null}if(o&&t!==false){this.pos+=o[0].length}return o}},qe.prototype.current=function(){return this.string.slice(this.start,this.pos)},qe.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},qe.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},qe.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ht=function(e,t){this.state=e;this.lookAhead=t},mt=function(e,t,r,n){this.state=t;this.doc=e;this.line=r;this.maxLookAhead=n||0;this.baseTokens=null;this.baseTokenPos=1};function vt(t,r,n,e){var s=[t.state.modeGen],i={};St(t,r.text,t.doc.mode,n,function(e,t){return s.push(e,t)},i,e);var u=n.state;var o=function(e){n.baseTokens=s;var o=t.state.overlays[e],a=1,l=0;n.state=true;St(t,r.text,o.mode,n,function(e,t){var r=a;while(l<e){var n=s[a];if(n>e){s.splice(a,1,e,s[a+1],n)}a+=2;l=Math.min(e,n)}if(!t){return}if(o.opaque){s.splice(r,a-r,e,"overlay "+t);a=r+2}else{for(;r<a;r+=2){var i=s[r+1];s[r+1]=(i?i+" ":"")+"overlay "+t}}},i);n.state=u;n.baseTokens=null;n.baseTokenPos=1};for(var a=0;a<t.state.overlays.length;++a)o(a);return{styles:s,classes:i.bgClass||i.textClass?i:null}}function gt(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=yt(e,et(t));var i=t.text.length>e.options.maxHighlightLength&&Ke(e.doc.mode,n.state);var o=vt(e,t,n);if(i){n.state=i}t.stateAfter=n.save(!i);t.styles=o.styles;if(o.classes){t.styleClasses=o.classes}else if(t.styleClasses){t.styleClasses=null}if(r===e.doc.highlightFrontier){e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier)}}return t.styles}function yt(r,n,e){var t=r.doc,i=r.display;if(!t.mode.startState){return new mt(t,true,n)}var o=_t(r,n,e);var a=o>t.first&&Ye(t,o-1).stateAfter;var l=a?mt.fromSaved(t,a,o):new mt(t,Ze(t.mode),o);t.iter(o,n,function(e){bt(r,e.text,l);var t=l.line;e.stateAfter=t==n-1||t%5==0||t>=i.viewFrom&&t<i.viewTo?l.save():null;l.nextLine()});if(e){t.modeFrontier=l.line}return l}function bt(e,t,r,n){var i=e.doc.mode;var o=new qe(t,e.options.tabSize,r);o.start=o.pos=n||0;if(t==""){xt(i,r.state)}while(!o.eol()){wt(i,o,r.state);o.start=o.pos}}function xt(e,t){if(e.blankLine){return e.blankLine(t)}if(!e.innerMode){return}var r=Ve(e,t);if(r.mode.blankLine){return r.mode.blankLine(r.state)}}function wt(e,t,r,n){for(var i=0;i<10;i++){if(n){n[0]=Ve(e,r).mode}var o=e.token(t,r);if(t.pos>t.start){return o}}throw new Error("Mode "+e.name+" failed to advance stream.")}mt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);if(t!=null&&e>this.maxLookAhead){this.maxLookAhead=e}return t},mt.prototype.baseToken=function(e){if(!this.baseTokens){return null}while(this.baseTokens[this.baseTokenPos]<=e){this.baseTokenPos+=2}var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},mt.prototype.nextLine=function(){this.line++;if(this.maxLookAhead>0){this.maxLookAhead--}},mt.fromSaved=function(e,t,r){if(t instanceof ht){return new mt(e,Ke(e.mode,t.state),r,t.lookAhead)}else{return new mt(e,Ke(e.mode,t),r)}},mt.prototype.save=function(e){var t=e!==false?Ke(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ht(t,this.maxLookAhead):t};var kt=function(e,t,r){this.start=e.start;this.end=e.pos;this.string=e.current();this.type=t||null;this.state=r};function Ct(e,t,r,n){var i=e.doc,o=i.mode,a;t=ft(i,t);var l=Ye(i,t.line),s=yt(e,t.line,r);var u=new qe(l.text,e.options.tabSize,s),c;if(n){c=[]}while((n||u.pos<t.ch)&&!u.eol()){u.start=u.pos;a=wt(o,u,s.state);if(n){c.push(new kt(u,a,Ke(i.mode,s.state)))}}return n?c:new kt(u,a,s.state)}function Mt(e,t){if(e){for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r){break}e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";if(t[n]==null){t[n]=r[2]}else if(!new RegExp("(?:^|s)"+r[2]+"(?:$|s)").test(t[n])){t[n]+=" "+r[2]}}}return e}function St(e,t,r,n,i,o,a){var l=r.flattenSpans;if(l==null){l=e.options.flattenSpans}var s=0,u=null;var c=new qe(t,e.options.tabSize,n),f;var d=e.options.addModeClass&&[null];if(t==""){Mt(xt(r,n.state),o)}while(!c.eol()){if(c.pos>e.options.maxHighlightLength){l=false;if(a){bt(e,t,n,c.pos)}c.pos=t.length;f=null}else{f=Mt(wt(r,c,n.state,d),o)}if(d){var p=d[0].name;if(p){f="m-"+(f?p+" "+f:p)}}if(!l||u!=f){while(s<c.start){s=Math.min(c.start,s+5e3);i(s,u)}u=f}c.start=c.pos}while(s<c.pos){var h=Math.min(c.pos,s+5e3);i(h,u);s=h}}function _t(e,t,r){var n,i,o=e.doc;var a=r?-1:t-(e.doc.mode.innerMode?1e3:100);for(var l=t;l>a;--l){if(l<=o.first){return o.first}var s=Ye(o,l-1),u=s.stateAfter;if(u&&(!r||l+(u instanceof ht?u.lookAhead:0)<=o.modeFrontier)){return l}var c=z(s.text,null,e.options.tabSize);if(i==null||n>c){i=l-1;n=c}}return i}function Tt(e,t){e.modeFrontier=Math.min(e.modeFrontier,t);if(e.highlightFrontier<t-10){return}var r=e.first;for(var n=t-1;n>r;n--){var i=Ye(e,n).stateAfter;if(i&&(!(i instanceof ht)||n+i.lookAhead<t)){r=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}var Ot=false,Lt=false;function At(){Ot=true}function Nt(){Lt=true}function Pt(e,t,r){this.marker=e;this.from=t;this.to=r}function Et(e,t){if(e){for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t){return n}}}}function Dt(e,t){var r;for(var n=0;n<e.length;++n){if(e[n]!=t){(r||(r=[])).push(e[n])}}return r}function Ft(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t];t.marker.attachLine(e)}function jt(e,t,r){var n;if(e){for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;var l=o.from==null||(a.inclusiveLeft?o.from<=t:o.from<t);if(l||o.from==t&&a.type=="bookmark"&&(!r||!o.marker.insertLeft)){var s=o.to==null||(a.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new Pt(a,o.from,s?null:o.to))}}}return n}function It(e,t,r){var n;if(e){for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;var l=o.to==null||(a.inclusiveRight?o.to>=t:o.to>t);if(l||o.from==t&&a.type=="bookmark"&&(!r||o.marker.insertLeft)){var s=o.from==null||(a.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new Pt(a,s?null:o.from-t,o.to==null?null:o.to-t))}}}return n}function zt(e,t){if(t.full){return null}var r=rt(e,t.from.line)&&Ye(e,t.from.line).markedSpans;var n=rt(e,t.to.line)&&Ye(e,t.to.line).markedSpans;if(!r&&!n){return null}var i=t.from.ch,o=t.to.ch,a=ot(t.from,t.to)==0;var l=jt(r,i,a);var s=It(n,o,a);var u=t.text.length==1,c=q(t.text).length+(u?i:0);if(l){for(var f=0;f<l.length;++f){var d=l[f];if(d.to==null){var p=Et(s,d.marker);if(!p){d.to=i}else if(u){d.to=p.to==null?null:p.to+c}}}}if(s){for(var h=0;h<s.length;++h){var m=s[h];if(m.to!=null){m.to+=c}if(m.from==null){var v=Et(l,m.marker);if(!v){m.from=c;if(u){(l||(l=[])).push(m)}}}else{m.from+=c;if(u){(l||(l=[])).push(m)}}}}if(l){l=Rt(l)}if(s&&s!=l){s=Rt(s)}var g=[l];if(!u){var y=t.text.length-2,b;if(y>0&&l){for(var x=0;x<l.length;++x){if(l[x].to==null){(b||(b=[])).push(new Pt(l[x].marker,null,null))}}}for(var w=0;w<y;++w){g.push(b)}g.push(s)}return g}function Rt(e){for(var t=0;t<e.length;++t){var r=e[t];if(r.from!=null&&r.from==r.to&&r.marker.clearWhenEmpty!==false){e.splice(t--,1)}}if(!e.length){return null}return e}function Bt(e,t,r){var n=null;e.iter(t.line,r.line+1,function(e){if(e.markedSpans){for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;if(r.readOnly&&(!n||B(n,r)==-1)){(n||(n=[])).push(r)}}}});if(!n){return null}var i=[{from:t,to:r}];for(var o=0;o<n.length;++o){var a=n[o],l=a.find(0);for(var s=0;s<i.length;++s){var u=i[s];if(ot(u.to,l.from)<0||ot(u.from,l.to)>0){continue}var c=[s,1],f=ot(u.from,l.from),d=ot(u.to,l.to);if(f<0||!a.inclusiveLeft&&!f){c.push({from:u.from,to:l.from})}if(d>0||!a.inclusiveRight&&!d){c.push({from:l.to,to:u.to})}i.splice.apply(i,c);s+=c.length-3}}return i}function $t(e){var t=e.markedSpans;if(!t){return}for(var r=0;r<t.length;++r){t[r].marker.detachLine(e)}e.markedSpans=null}function Wt(e,t){if(!t){return}for(var r=0;r<t.length;++r){t[r].marker.attachLine(e)}e.markedSpans=t}function Ht(e){return e.inclusiveLeft?-1:0}function Ut(e){return e.inclusiveRight?1:0}function Gt(e,t){var r=e.lines.length-t.lines.length;if(r!=0){return r}var n=e.find(),i=t.find();var o=ot(n.from,i.from)||Ht(e)-Ht(t);if(o){return-o}var a=ot(n.to,i.to)||Ut(e)-Ut(t);if(a){return a}return t.id-e.id}function Kt(e,t){var r=Lt&&e.markedSpans,n;if(r){for(var i=void 0,o=0;o<r.length;++o){i=r[o];if(i.marker.collapsed&&(t?i.from:i.to)==null&&(!n||Gt(n,i.marker)<0)){n=i.marker}}}return n}function Vt(e){return Kt(e,true)}function Zt(e){return Kt(e,false)}function qt(e,t){var r=Lt&&e.markedSpans,n;if(r){for(var i=0;i<r.length;++i){var o=r[i];if(o.marker.collapsed&&(o.from==null||o.from<t)&&(o.to==null||o.to>t)&&(!n||Gt(n,o.marker)<0)){n=o.marker}}}return n}function Yt(e,t,r,n,i){var o=Ye(e,t);var a=Lt&&o.markedSpans;if(a){for(var l=0;l<a.length;++l){var s=a[l];if(!s.marker.collapsed){continue}var u=s.marker.find(0);var c=ot(u.from,r)||Ht(s.marker)-Ht(i);var f=ot(u.to,n)||Ut(s.marker)-Ut(i);if(c>=0&&f<=0||c<=0&&f>=0){continue}if(c<=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?ot(u.to,r)>=0:ot(u.to,r)>0)||c>=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?ot(u.from,n)<=0:ot(u.from,n)<0)){return true}}}}function Xt(e){var t;while(t=Vt(e)){e=t.find(-1,true).line}return e}function Jt(e){var t;while(t=Zt(e)){e=t.find(1,true).line}return e}function Qt(e){var t,r;while(t=Zt(e)){e=t.find(1,true).line;(r||(r=[])).push(e)}return r}function er(e,t){var r=Ye(e,t),n=Xt(r);if(r==n){return t}return et(n)}function tr(e,t){if(t>e.lastLine()){return t}var r=Ye(e,t),n;if(!rr(e,r)){return t}while(n=Zt(r)){r=n.find(1,true).line}return et(r)+1}function rr(e,t){var r=Lt&&t.markedSpans;if(r){for(var n=void 0,i=0;i<r.length;++i){n=r[i];if(!n.marker.collapsed){continue}if(n.from==null){return true}if(n.marker.widgetNode){continue}if(n.from==0&&n.marker.inclusiveLeft&&nr(e,t,n)){return true}}}}function nr(e,t,r){if(r.to==null){var n=r.marker.find(1,true);return nr(e,n.line,Et(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length){return true}for(var i=void 0,o=0;o<t.markedSpans.length;++o){i=t.markedSpans[o];if(i.marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(i.to==null||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&nr(e,t,i)){return true}}}function ir(e){e=Xt(e);var t=0,r=e.parent;for(var n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e){break}else{t+=i.height}}for(var o=r.parent;o;r=o,o=r.parent){for(var a=0;a<o.children.length;++a){var l=o.children[a];if(l==r){break}else{t+=l.height}}}return t}function or(e){if(e.height==0){return 0}var t=e.text.length,r,n=e;while(r=Vt(n)){var i=r.find(0,true);n=i.from.line;t+=i.from.ch-i.to.ch}n=e;while(r=Zt(n)){var o=r.find(0,true);t-=n.text.length-o.from.ch;n=o.to.line;t+=n.text.length-o.to.ch}return t}function ar(e){var r=e.display,t=e.doc;r.maxLine=Ye(t,t.first);r.maxLineLength=or(r.maxLine);r.maxLineChanged=true;t.iter(function(e){var t=or(e);if(t>r.maxLineLength){r.maxLineLength=t;r.maxLine=e}})}var lr=function(e,t,r){this.text=e;Wt(this,t);this.height=r?r(this):1};function sr(e,t,r,n){e.text=t;if(e.stateAfter){e.stateAfter=null}if(e.styles){e.styles=null}if(e.order!=null){e.order=null}$t(e);Wt(e,r);var i=n?n(e):1;if(i!=e.height){Qe(e,i)}}function ur(e){e.parent=null;$t(e)}lr.prototype.lineNo=function(){return et(this)},we(lr);var cr={},fr={};function dr(e,t){if(!e||/^\s*$/.test(e)){return null}var r=t.addModeClass?fr:cr;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function pr(e,t){var r=L("span",null,null,v?"padding-right: .1px":null);var n={pre:L("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:false,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;n.pos=0;n.addToken=mr;if(Pe(e.display.measure)&&(a=de(o,e.doc.direction))){n.addToken=gr(n.addToken,a)}n.map=[];var l=t!=e.display.externalMeasured&&et(o);br(o,n,gt(e,o,l));if(o.styleClasses){if(o.styleClasses.bgClass){n.bgClass=D(o.styleClasses.bgClass,n.bgClass||"")}if(o.styleClasses.textClass){n.textClass=D(o.styleClasses.textClass,n.textClass||"")}}if(n.map.length==0){n.map.push(0,0,n.content.appendChild(Ne(e.display.measure)))}if(i==0){t.measure.map=n.map;t.measure.cache={}}else{(t.measure.maps||(t.measure.maps=[])).push(n.map);(t.measure.caches||(t.measure.caches=[])).push({})}}if(v){var s=n.content.lastChild;if(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab")){n.content.className="cm-tab-wrap-hack"}}ge(e,"renderLine",e,t.line,n.pre);if(n.pre.className){n.textClass=D(n.pre.className,n.textClass||"")}return n}function hr(e){var t=N("span","•","cm-invalidchar");t.title="\\u"+e.charCodeAt(0).toString(16);t.setAttribute("aria-label",t.title);return t}function mr(e,t,r,n,i,o,a){if(!t){return}var l=e.splitSpaces?vr(t,e.trailingSpace):t;var s=e.cm.state.specialChars,u=false;var c;if(!s.test(t)){e.col+=t.length;c=document.createTextNode(l);e.map.push(e.pos,e.pos+t.length,c);if(w&&k<9){u=true}e.pos+=t.length}else{c=document.createDocumentFragment();var f=0;while(true){s.lastIndex=f;var d=s.exec(t);var p=d?d.index-f:t.length-f;if(p){var h=document.createTextNode(l.slice(f,f+p));if(w&&k<9){c.appendChild(N("span",[h]))}else{c.appendChild(h)}e.map.push(e.pos,e.pos+p,h);e.col+=p;e.pos+=p}if(!d){break}f+=p+1;var m=void 0;if(d[0]=="\t"){var v=e.cm.options.tabSize,g=v-e.col%v;m=c.appendChild(N("span",Z(g),"cm-tab"));m.setAttribute("role","presentation");m.setAttribute("cm-text","\t");e.col+=g}else if(d[0]=="\r"||d[0]=="\n"){m=c.appendChild(N("span",d[0]=="\r"?"␍":"␤","cm-invalidchar"));m.setAttribute("cm-text",d[0]);e.col+=1}else{m=e.cm.options.specialCharPlaceholder(d[0]);m.setAttribute("cm-text",d[0]);if(w&&k<9){c.appendChild(N("span",[m]))}else{c.appendChild(m)}e.col+=1}e.map.push(e.pos,e.pos+1,m);e.pos++}}e.trailingSpace=l.charCodeAt(t.length-1)==32;if(r||n||i||u||o){var y=r||"";if(n){y+=n}if(i){y+=i}var b=N("span",[c],y,o);if(a){for(var x in a){if(a.hasOwnProperty(x)&&x!="style"&&x!="class"){b.setAttribute(x,a[x])}}}return e.content.appendChild(b)}e.content.appendChild(c)}function vr(e,t){if(e.length>1&&!/  /.test(e)){return e}var r=t,n="";for(var i=0;i<e.length;i++){var o=e.charAt(i);if(o==" "&&r&&(i==e.length-1||e.charCodeAt(i+1)==32)){o=" "}n+=o;r=o==" "}return n}function gr(f,d){return function(e,t,r,n,i,o,a){r=r?r+" cm-force-border":"cm-force-border";var l=e.pos,s=l+t.length;for(;;){var u=void 0;for(var c=0;c<d.length;c++){u=d[c];if(u.to>l&&u.from<=l){break}}if(u.to>=s){return f(e,t,r,n,i,o,a)}f(e,t.slice(0,u.to-l),r,n,null,o,a);n=null;t=t.slice(u.to-l);l=u.to}}}function yr(e,t,r,n){var i=!n&&r.widgetNode;if(i){e.map.push(e.pos,e.pos+t,i)}if(!n&&e.cm.display.input.needsContentAttribute){if(!i){i=e.content.appendChild(document.createElement("span"))}i.setAttribute("cm-marker",r.id)}if(i){e.cm.display.input.setUneditable(i);e.content.appendChild(i)}e.pos+=t;e.trailingSpace=false}function br(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(!n){for(var a=1;a<r.length;a+=2){t.addToken(t,i.slice(o,o=r[a]),dr(r[a+1],t.cm.options))}return}var l=i.length,s=0,u=1,c="",f,d;var p=0,h,m,v,g,y;for(;;){if(p==s){h=m=v=d="";y=null;g=null;p=Infinity;var b=[],x=void 0;for(var w=0;w<n.length;++w){var k=n[w],C=k.marker;if(C.type=="bookmark"&&k.from==s&&C.widgetNode){b.push(C)}else if(k.from<=s&&(k.to==null||k.to>s||C.collapsed&&k.to==s&&k.from==s)){if(k.to!=null&&k.to!=s&&p>k.to){p=k.to;m=""}if(C.className){h+=" "+C.className}if(C.css){d=(d?d+";":"")+C.css}if(C.startStyle&&k.from==s){v+=" "+C.startStyle}if(C.endStyle&&k.to==p){(x||(x=[])).push(C.endStyle,k.to)}if(C.title){(y||(y={})).title=C.title}if(C.attributes){for(var M in C.attributes){(y||(y={}))[M]=C.attributes[M]}}if(C.collapsed&&(!g||Gt(g.marker,C)<0)){g=k}}else if(k.from>s&&p>k.from){p=k.from}}if(x){for(var S=0;S<x.length;S+=2){if(x[S+1]==p){m+=" "+x[S]}}}if(!g||g.from==s){for(var _=0;_<b.length;++_){yr(t,0,b[_])}}if(g&&(g.from||0)==s){yr(t,(g.to==null?l+1:g.to)-s,g.marker,g.from==null);if(g.to==null){return}if(g.to==s){g=false}}}if(s>=l){break}var T=Math.min(l,p);while(true){if(c){var O=s+c.length;if(!g){var L=O>T?c.slice(0,T-s):c;t.addToken(t,L,f?f+h:h,v,s+L.length==p?m:"",d,y)}if(O>=T){c=c.slice(T-s);s=T;break}s=O;v=""}c=i.slice(o,o=r[u++]);f=dr(r[u++],t.cm.options)}}}function xr(e,t,r){this.line=t;this.rest=Qt(t);this.size=this.rest?et(q(this.rest))-r+1:1;this.node=this.text=null;this.hidden=rr(e,t)}function wr(e,t,r){var n=[],i;for(var o=t;o<r;o=i){var a=new xr(e.doc,Ye(e.doc,o),o);i=o+a.size;n.push(a)}return n}var kr=null;function Cr(e){if(kr){kr.ops.push(e)}else{e.ownsGroup=kr={ops:[e],delayedCallbacks:[]}}}function Mr(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++){t[r].call(null)}for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers){while(i.cursorActivityCalled<i.cursorActivityHandlers.length){i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}}}while(r<t.length)}function Sr(e,t){var r=e.ownsGroup;if(!r){return}try{Mr(r)}finally{kr=null;t(r)}}var _r=null;function Tr(e,t){var r=me(e,t);if(!r.length){return}var n=Array.prototype.slice.call(arguments,2),i;if(kr){i=kr.delayedCallbacks}else if(_r){i=_r}else{i=_r=[];setTimeout(Or,0)}var o=function(e){i.push(function(){return r[e].apply(null,n)})};for(var a=0;a<r.length;++a)o(a)}function Or(){var e=_r;_r=null;for(var t=0;t<e.length;++t){e[t]()}}function Lr(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];if(o=="text"){Er(e,t)}else if(o=="gutter"){Fr(e,t,r,n)}else if(o=="class"){Dr(e,t)}else if(o=="widget"){jr(e,t,n)}}t.changes=null}function Ar(e){if(e.node==e.text){e.node=N("div",null,null,"position: relative");if(e.text.parentNode){e.text.parentNode.replaceChild(e.node,e.text)}e.node.appendChild(e.text);if(w&&k<8){e.node.style.zIndex=2}}return e.node}function Nr(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r){r+=" CodeMirror-linebackground"}if(t.background){if(r){t.background.className=r}else{t.background.parentNode.removeChild(t.background);t.background=null}}else if(r){var n=Ar(t);t.background=n.insertBefore(N("div",null,r),n.firstChild);e.display.input.setUneditable(t.background)}}function Pr(e,t){var r=e.display.externalMeasured;if(r&&r.line==t.line){e.display.externalMeasured=null;t.measure=r.measure;return r.built}return pr(e,t)}function Er(e,t){var r=t.text.className;var n=Pr(e,t);if(t.text==t.node){t.node=n.pre}t.text.parentNode.replaceChild(n.pre,t.text);t.text=n.pre;if(n.bgClass!=t.bgClass||n.textClass!=t.textClass){t.bgClass=n.bgClass;t.textClass=n.textClass;Dr(e,t)}else if(r){t.text.className=r}}function Dr(e,t){Nr(e,t);if(t.line.wrapClass){Ar(t).className=t.line.wrapClass}else if(t.node!=t.text){t.node.className=""}var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function Fr(e,t,r,n){if(t.gutter){t.node.removeChild(t.gutter);t.gutter=null}if(t.gutterBackground){t.node.removeChild(t.gutterBackground);t.gutterBackground=null}if(t.line.gutterClass){var i=Ar(t);t.gutterBackground=N("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px");e.display.input.setUneditable(t.gutterBackground);i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Ar(t);var l=t.gutter=N("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");e.display.input.setUneditable(l);a.insertBefore(l,t.text);if(t.line.gutterClass){l.className+=" "+t.line.gutterClass}if(e.options.lineNumbers&&(!o||!o["CodeMirror-linenumbers"])){t.lineNumber=l.appendChild(N("div",nt(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))}if(o){for(var s=0;s<e.display.gutterSpecs.length;++s){var u=e.display.gutterSpecs[s].className,c=o.hasOwnProperty(u)&&o[u];if(c){l.appendChild(N("div",[c],"CodeMirror-gutter-elt","left: "+n.gutterLeft[u]+"px; width: "+n.gutterWidth[u]+"px"))}}}}}function jr(e,t,r){if(t.alignable){t.alignable=null}var n=M("CodeMirror-linewidget");for(var i=t.node.firstChild,o=void 0;i;i=o){o=i.nextSibling;if(n.test(i.className)){t.node.removeChild(i)}}zr(e,t,r)}function Ir(e,t,r,n){var i=Pr(e,t);t.text=t.node=i.pre;if(i.bgClass){t.bgClass=i.bgClass}if(i.textClass){t.textClass=i.textClass}Dr(e,t);Fr(e,t,r,n);zr(e,t,n);return t.node}function zr(e,t,r){Rr(e,t.line,t,r,true);if(t.rest){for(var n=0;n<t.rest.length;n++){Rr(e,t.rest[n],t,r,false)}}}function Rr(e,t,r,n,i){if(!t.widgets){return}var o=Ar(r);for(var a=0,l=t.widgets;a<l.length;++a){var s=l[a],u=N("div",[s.node],"CodeMirror-linewidget"+(s.className?" "+s.className:""));if(!s.handleMouseEvents){u.setAttribute("cm-ignore-events","true")}Br(s,u,r,n);e.display.input.setUneditable(u);if(i&&s.above){o.insertBefore(u,r.gutter||r.text)}else{o.appendChild(u)}Tr(s,"redraw")}}function Br(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px";if(!e.coverGutter){i-=n.gutterTotalWidth;t.style.paddingLeft=n.gutterTotalWidth+"px"}t.style.width=i+"px"}if(e.coverGutter){t.style.zIndex=5;t.style.position="relative";if(!e.noHScroll){t.style.marginLeft=-n.gutterTotalWidth+"px"}}}function $r(e){if(e.height!=null){return e.height}var t=e.doc.cm;if(!t){return 0}if(!A(document.body,e.node)){var r="position: relative;";if(e.coverGutter){r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"}if(e.noHScroll){r+="width: "+t.display.wrapper.clientWidth+"px;"}O(t.display.measure,N("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function Wr(e,t){for(var r=_e(t);r!=e.wrapper;r=r.parentNode){if(!r||r.nodeType==1&&r.getAttribute("cm-ignore-events")=="true"||r.parentNode==e.sizer&&r!=e.mover){return true}}}function Hr(e){return e.lineSpace.offsetTop}function Ur(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Gr(e){if(e.cachedPaddingH){return e.cachedPaddingH}var t=O(e.measure,N("pre","x","CodeMirror-line-like"));var r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle;var n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};if(!isNaN(n.left)&&!isNaN(n.right)){e.cachedPaddingH=n}return n}function Kr(e){return $-e.display.nativeBarWidth}function Vr(e){return e.display.scroller.clientWidth-Kr(e)-e.display.barWidth}function Zr(e){return e.display.scroller.clientHeight-Kr(e)-e.display.barHeight}function qr(e,t,r){var n=e.options.lineWrapping;var i=n&&Vr(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;var a=t.text.firstChild.getClientRects();for(var l=0;l<a.length-1;l++){var s=a[l],u=a[l+1];if(Math.abs(s.bottom-u.bottom)>2){o.push((s.bottom+u.top)/2-r.top)}}}o.push(r.bottom-r.top)}}function Yr(e,t,r){if(e.line==t){return{map:e.measure.map,cache:e.measure.cache}}for(var n=0;n<e.rest.length;n++){if(e.rest[n]==t){return{map:e.measure.maps[n],cache:e.measure.caches[n]}}}for(var i=0;i<e.rest.length;i++){if(et(e.rest[i])>r){return{map:e.measure.maps[i],cache:e.measure.caches[i],before:true}}}}function Xr(e,t){t=Xt(t);var r=et(t);var n=e.display.externalMeasured=new xr(e.doc,t,r);n.lineN=r;var i=n.built=pr(e,n);n.text=i.pre;O(e.display.lineMeasure,i.pre);return n}function Jr(e,t,r,n){return tn(e,en(e,t),r,n)}function Qr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo){return e.display.view[Fn(e,t)]}var r=e.display.externalMeasured;if(r&&t>=r.lineN&&t<r.lineN+r.size){return r}}function en(e,t){var r=et(t);var n=Qr(e,r);if(n&&!n.text){n=null}else if(n&&n.changes){Lr(e,n,r,An(e));e.curOp.forceUpdate=true}if(!n){n=Xr(e,t)}var i=Yr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:false}}function tn(e,t,r,n,i){if(t.before){r=-1}var o=r+(n||""),a;if(t.cache.hasOwnProperty(o)){a=t.cache[o]}else{if(!t.rect){t.rect=t.view.text.getBoundingClientRect()}if(!t.hasHeights){qr(e,t.view,t.rect);t.hasHeights=true}a=ln(e,t,r,n);if(!a.bogus){t.cache[o]=a}}return{left:a.left,right:a.right,top:i?a.rtop:a.top,bottom:i?a.rbottom:a.bottom}}var rn={left:0,right:0,top:0,bottom:0},nn;function on(e,t,r){var n,i,o,a,l,s;for(var u=0;u<e.length;u+=3){l=e[u];s=e[u+1];if(t<l){i=0;o=1;a="left"}else if(t<s){i=t-l;o=i+1}else if(u==e.length-3||t==s&&e[u+3]>t){o=s-l;i=o-1;if(t>=s){a="right"}}if(i!=null){n=e[u+2];if(l==s&&r==(n.insertLeft?"left":"right")){a=r}if(r=="left"&&i==0){while(u&&e[u-2]==e[u-3]&&e[u-1].insertLeft){n=e[(u-=3)+2];a="left"}}if(r=="right"&&i==s-l){while(u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft){n=e[(u+=3)+2];a="right"}}break}}return{node:n,start:i,end:o,collapse:a,coverStart:l,coverEnd:s}}function an(e,t){var r=rn;if(t=="left"){for(var n=0;n<e.length;n++){if((r=e[n]).left!=r.right){break}}}else{for(var i=e.length-1;i>=0;i--){if((r=e[i]).left!=r.right){break}}}return r}function ln(e,t,r,n){var i=on(t.map,r,n);var o=i.node,a=i.start,l=i.end,s=i.collapse;var u;if(o.nodeType==3){for(var c=0;c<4;c++){while(a&&oe(t.line.text.charAt(i.coverStart+a))){--a}while(i.coverStart+l<i.coverEnd&&oe(t.line.text.charAt(i.coverStart+l))){++l}if(w&&k<9&&a==0&&l==i.coverEnd-i.coverStart){u=o.parentNode.getBoundingClientRect()}else{u=an(_(o,a,l).getClientRects(),n)}if(u.left||u.right||a==0){break}l=a;a=a-1;s="right"}if(w&&k<11){u=sn(e.display.measure,u)}}else{if(a>0){s=n="right"}var f;if(e.options.lineWrapping&&(f=o.getClientRects()).length>1){u=f[n=="right"?f.length-1:0]}else{u=o.getBoundingClientRect()}}if(w&&k<9&&!a&&(!u||!u.left&&!u.right)){var d=o.parentNode.getClientRects()[0];if(d){u={left:d.left,right:d.left+Ln(e.display),top:d.top,bottom:d.bottom}}else{u=rn}}var p=u.top-t.rect.top,h=u.bottom-t.rect.top;var m=(p+h)/2;var v=t.view.measure.heights;var g=0;for(;g<v.length-1;g++){if(m<v[g]){break}}var y=g?v[g-1]:0,b=v[g];var x={left:(s=="right"?u.right:u.left)-t.rect.left,right:(s=="left"?u.left:u.right)-t.rect.left,top:y,bottom:b};if(!u.left&&!u.right){x.bogus=true}if(!e.options.singleCursorHeightPerLine){x.rtop=p;x.rbottom=h}return x}function sn(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ie(e)){return t}var r=screen.logicalXDPI/screen.deviceXDPI;var n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}function un(e){if(e.measure){e.measure.cache={};e.measure.heights=null;if(e.rest){for(var t=0;t<e.rest.length;t++){e.measure.caches[t]={}}}}}function cn(e){e.display.externalMeasure=null;T(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++){un(e.display.view[t])}}function fn(e){cn(e);e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null;if(!e.options.lineWrapping){e.display.maxLineChanged=true}e.display.lineNumChars=null}function dn(){if(a&&f){return-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft))}return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pn(){if(a&&f){return-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop))}return window.pageYOffset||(document.documentElement||document.body).scrollTop}function hn(e){var t=0;if(e.widgets){for(var r=0;r<e.widgets.length;++r){if(e.widgets[r].above){t+=$r(e.widgets[r])}}}return t}function mn(e,t,r,n,i){if(!i){var o=hn(t);r.top+=o;r.bottom+=o}if(n=="line"){return r}if(!n){n="local"}var a=ir(t);if(n=="local"){a+=Hr(e.display)}else{a-=e.display.viewOffset}if(n=="page"||n=="window"){var l=e.display.lineSpace.getBoundingClientRect();a+=l.top+(n=="window"?0:pn());var s=l.left+(n=="window"?0:dn());r.left+=s;r.right+=s}r.top+=a;r.bottom+=a;return r}function vn(e,t,r){if(r=="div"){return t}var n=t.left,i=t.top;if(r=="page"){n-=dn();i-=pn()}else if(r=="local"||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left;i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:n-a.left,top:i-a.top}}function gn(e,t,r,n,i){if(!n){n=Ye(e.doc,t.line)}return mn(e,n,Jr(e,n,t.ch,i),r)}function yn(n,e,i,o,a,l){o=o||Ye(n.doc,e.line);if(!a){a=en(n,o)}function s(e,t){var r=tn(n,a,e,t?"right":"left",l);if(t){r.left=r.right}else{r.right=r.left}return mn(n,o,r,i)}var u=de(o,n.doc.direction),t=e.ch,r=e.sticky;if(t>=o.text.length){t=o.text.length;r="before"}else if(t<=0){t=0;r="after"}if(!u){return s(r=="before"?t-1:t,r=="before")}function c(e,t,r){var n=u[t],i=n.level==1;return s(r?e-1:e,i!=r)}var f=ce(u,t,r);var d=ue;var p=c(t,f,r=="before");if(d!=null){p.other=c(t,d,r!="before")}return p}function bn(e,t){var r=0;t=ft(e.doc,t);if(!e.options.lineWrapping){r=Ln(e.display)*t.ch}var n=Ye(e.doc,t.line);var i=ir(n)+Hr(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function xn(e,t,r,n,i){var o=it(e,t,r);o.xRel=i;if(n){o.outside=n}return o}function wn(e,t,r){var n=e.doc;r+=e.display.viewOffset;if(r<0){return xn(n.first,0,null,-1,-1)}var i=tt(n,r),o=n.first+n.size-1;if(i>o){return xn(n.first+n.size-1,Ye(n,o).text.length,null,1,1)}if(t<0){t=0}var a=Ye(n,i);for(;;){var l=Sn(e,a,i,t,r);var s=qt(a,l.ch+(l.xRel>0||l.outside>0?1:0));if(!s){return l}var u=s.find(1);if(u.line==i){return u}a=Ye(n,i=u.line)}}function kn(t,e,r,n){n-=hn(e);var i=e.text.length;var o=le(function(e){return tn(t,r,e-1).bottom<=n},i,0);i=le(function(e){return tn(t,r,e).top>n},o,i);return{begin:o,end:i}}function Cn(e,t,r,n){if(!r){r=en(e,t)}var i=mn(e,t,tn(e,r,n),"line").top;return kn(e,t,r,i)}function Mn(e,t,r,n){return e.bottom<=r?false:e.top>r?true:(n?e.left:e.right)>t}function Sn(r,e,t,n,i){i-=ir(e);var o=en(r,e);var a=hn(e);var l=0,s=e.text.length,u=true;var c=de(e,r.doc.direction);if(c){var f=(r.options.lineWrapping?Tn:_n)(r,e,t,o,c,n,i);u=f.level!=1;l=u?f.from:f.to-1;s=u?f.to:f.from-1}var d=null,p=null;var h=le(function(e){var t=tn(r,o,e);t.top+=a;t.bottom+=a;if(!Mn(t,n,i,false)){return false}if(t.top<=i&&t.left<=n){d=e;p=t}return true},l,s);var m,v,g=false;if(p){var y=n-p.left<p.right-n,b=y==u;h=d+(b?0:1);v=b?"after":"before";m=y?p.left:p.right}else{if(!u&&(h==s||h==l)){h++}v=h==0?"after":h==e.text.length?"before":tn(r,o,h-(u?1:0)).bottom+a<=i==u?"after":"before";var x=yn(r,it(t,h,v),"line",e,o);m=x.left;g=i<x.top?-1:i>=x.bottom?1:0}h=ae(e.text,h,1);return xn(t,h,v,g,n-m)}function _n(n,i,o,a,l,s,u){var e=le(function(e){var t=l[e],r=t.level!=1;return Mn(yn(n,it(o,r?t.to:t.from,r?"before":"after"),"line",i,a),s,u,true)},0,l.length-1);var t=l[e];if(e>0){var r=t.level!=1;var c=yn(n,it(o,r?t.from:t.to,r?"after":"before"),"line",i,a);if(Mn(c,s,u,true)&&c.top>u){t=l[e-1]}}return t}function Tn(e,t,r,n,i,o,a){var l=kn(e,t,n,a);var s=l.begin;var u=l.end;if(/\s/.test(t.text.charAt(u-1))){u--}var c=null,f=null;for(var d=0;d<i.length;d++){var p=i[d];if(p.from>=u||p.to<=s){continue}var h=p.level!=1;var m=tn(e,n,h?Math.min(u,p.to)-1:Math.max(s,p.from)).right;var v=m<o?o-m+1e9:m-o;if(!c||f>v){c=p;f=v}}if(!c){c=i[i.length-1]}if(c.from<s){c={from:s,to:c.to,level:c.level}}if(c.to>u){c={from:c.from,to:u,level:c.level}}return c}function On(e){if(e.cachedTextHeight!=null){return e.cachedTextHeight}if(nn==null){nn=N("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t){nn.appendChild(document.createTextNode("x"));nn.appendChild(N("br"))}nn.appendChild(document.createTextNode("x"))}O(e.measure,nn);var r=nn.offsetHeight/50;if(r>3){e.cachedTextHeight=r}T(e.measure);return r||1}function Ln(e){if(e.cachedCharWidth!=null){return e.cachedCharWidth}var t=N("span","xxxxxxxxxx");var r=N("pre",[t],"CodeMirror-line-like");O(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;if(i>2){e.cachedCharWidth=i}return i||10}function An(e){var t=e.display,r={},n={};var i=t.gutters.clientLeft;for(var o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var l=e.display.gutterSpecs[a].className;r[l]=o.offsetLeft+o.clientLeft+i;n[l]=o.clientWidth}return{fixedPos:Nn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function Nn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Pn(n){var i=On(n.display),o=n.options.lineWrapping;var a=o&&Math.max(5,n.display.scroller.clientWidth/Ln(n.display)-3);return function(e){if(rr(n.doc,e)){return 0}var t=0;if(e.widgets){for(var r=0;r<e.widgets.length;r++){if(e.widgets[r].height){t+=e.widgets[r].height}}}if(o){return t+(Math.ceil(e.text.length/a)||1)*i}else{return t+i}}}function En(e){var t=e.doc,r=Pn(e);t.iter(function(e){var t=r(e);if(t!=e.height){Qe(e,t)}})}function Dn(e,t,r,n){var i=e.display;if(!r&&_e(t).getAttribute("cm-not-content")=="true"){return null}var o,a,l=i.lineSpace.getBoundingClientRect();try{o=t.clientX-l.left;a=t.clientY-l.top}catch(t){return null}var s=wn(e,o,a),u;if(n&&s.xRel>0&&(u=Ye(e.doc,s.line).text).length==s.ch){var c=z(u,u.length,e.options.tabSize)-u.length;s=it(s.line,Math.max(0,Math.round((o-Gr(e.display).left)/Ln(e.display))-c))}return s}function Fn(e,t){if(t>=e.display.viewTo){return null}t-=e.display.viewFrom;if(t<0){return null}var r=e.display.view;for(var n=0;n<r.length;n++){t-=r[n].size;if(t<0){return n}}}function jn(e,t,r,n){if(t==null){t=e.doc.first}if(r==null){r=e.doc.first+e.doc.size}if(!n){n=0}var i=e.display;if(n&&r<i.viewTo&&(i.updateLineNumbers==null||i.updateLineNumbers>t)){i.updateLineNumbers=t}e.curOp.viewChanged=true;if(t>=i.viewTo){if(Lt&&er(e.doc,t)<i.viewTo){zn(e)}}else if(r<=i.viewFrom){if(Lt&&tr(e.doc,r+n)>i.viewFrom){zn(e)}else{i.viewFrom+=n;i.viewTo+=n}}else if(t<=i.viewFrom&&r>=i.viewTo){zn(e)}else if(t<=i.viewFrom){var o=Rn(e,r,r+n,1);if(o){i.view=i.view.slice(o.index);i.viewFrom=o.lineN;i.viewTo+=n}else{zn(e)}}else if(r>=i.viewTo){var a=Rn(e,t,t,-1);if(a){i.view=i.view.slice(0,a.index);i.viewTo=a.lineN}else{zn(e)}}else{var l=Rn(e,t,t,-1);var s=Rn(e,r,r+n,1);if(l&&s){i.view=i.view.slice(0,l.index).concat(wr(e,l.lineN,s.lineN)).concat(i.view.slice(s.index));i.viewTo+=n}else{zn(e)}}var u=i.externalMeasured;if(u){if(r<u.lineN){u.lineN+=n}else if(t<u.lineN+u.size){i.externalMeasured=null}}}function In(e,t,r){e.curOp.viewChanged=true;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size){n.externalMeasured=null}if(t<n.viewFrom||t>=n.viewTo){return}var o=n.view[Fn(e,t)];if(o.node==null){return}var a=o.changes||(o.changes=[]);if(B(a,r)==-1){a.push(r)}}function zn(e){e.display.viewFrom=e.display.viewTo=e.doc.first;e.display.view=[];e.display.viewOffset=0}function Rn(e,t,r,n){var i=Fn(e,t),o,a=e.display.view;if(!Lt||r==e.doc.first+e.doc.size){return{index:i,lineN:r}}var l=e.display.viewFrom;for(var s=0;s<i;s++){l+=a[s].size}if(l!=t){if(n>0){if(i==a.length-1){return null}o=l+a[i].size-t;i++}else{o=l-t}t+=o;r+=o}while(er(e.doc,r)!=r){if(i==(n<0?0:a.length-1)){return null}r+=n*a[i-(n<0?1:0)].size;i+=n}return{index:i,lineN:r}}function Bn(e,t,r){var n=e.display,i=n.view;if(i.length==0||t>=n.viewTo||r<=n.viewFrom){n.view=wr(e,t,r);n.viewFrom=t}else{if(n.viewFrom>t){n.view=wr(e,t,n.viewFrom).concat(n.view)}else if(n.viewFrom<t){n.view=n.view.slice(Fn(e,t))}n.viewFrom=t;if(n.viewTo<r){n.view=n.view.concat(wr(e,n.viewTo,r))}else if(n.viewTo>r){n.view=n.view.slice(0,Fn(e,r))}}n.viewTo=r}function $n(e){var t=e.display.view,r=0;for(var n=0;n<t.length;n++){var i=t[n];if(!i.hidden&&(!i.node||i.changes)){++r}}return r}function Wn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Hn(e,t){if(t===void 0)t=true;var r=e.doc,n={};var i=n.cursors=document.createDocumentFragment();var o=n.selection=document.createDocumentFragment();for(var a=0;a<r.sel.ranges.length;a++){if(!t&&a==r.sel.primIndex){continue}var l=r.sel.ranges[a];if(l.from().line>=e.display.viewTo||l.to().line<e.display.viewFrom){continue}var s=l.empty();if(s||e.options.showCursorWhenSelecting){Un(e,l.head,i)}if(!s){Kn(e,l,o)}}return n}function Un(e,t,r){var n=yn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine);var i=r.appendChild(N("div"," ","CodeMirror-cursor"));i.style.left=n.left+"px";i.style.top=n.top+"px";i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px";if(n.other){var o=r.appendChild(N("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="";o.style.left=n.other.left+"px";o.style.top=n.other.top+"px";o.style.height=(n.other.bottom-n.other.top)*.85+"px"}}function Gn(e,t){return e.top-t.top||e.left-t.left}function Kn(l,e,t){var r=l.display,n=l.doc;var i=document.createDocumentFragment();var o=Gr(l.display),T=o.left;var O=Math.max(r.sizerWidth,Vr(l)-r.sizer.offsetLeft)-o.right;var L=n.direction=="ltr";function A(e,t,r,n){if(t<0){t=0}t=Math.round(t);n=Math.round(n);i.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n                             top: "+t+"px; width: "+(r==null?O-e:r)+"px;\n                             height: "+(n-t)+"px"))}function a(r,b,x){var a=Ye(n,r);var w=a.text.length;var k,C;function M(e,t){return gn(l,it(r,e),"div",a,t)}function S(e,t,r){var n=Cn(l,a,null,e);var i=t=="ltr"==(r=="after")?"left":"right";var o=r=="after"?n.begin:n.end-(/\s/.test(a.text.charAt(n.end-1))?2:1);return M(o,i)[i]}var _=de(a,n.direction);se(_,b||0,x==null?w:x,function(e,t,r,n){var i=r=="ltr";var o=M(e,i?"left":"right");var a=M(t-1,i?"right":"left");var l=b==null&&e==0,s=x==null&&t==w;var u=n==0,c=!_||n==_.length-1;if(a.top-o.top<=3){var f=(L?l:s)&&u;var d=(L?s:l)&&c;var p=f?T:(i?o:a).left;var h=d?O:(i?a:o).right;A(p,o.top,h-p,o.bottom)}else{var m,v,g,y;if(i){m=L&&l&&u?T:o.left;v=L?O:S(e,r,"before");g=L?T:S(t,r,"after");y=L&&s&&c?O:a.right}else{m=!L?T:S(e,r,"before");v=!L&&l&&u?O:o.right;g=!L&&s&&c?T:a.left;y=!L?O:S(t,r,"after")}A(m,o.top,v-m,o.bottom);if(o.bottom<a.top){A(T,o.bottom,null,a.top)}A(g,a.top,y-g,a.bottom)}if(!k||Gn(o,k)<0){k=o}if(Gn(a,k)<0){k=a}if(!C||Gn(o,C)<0){C=o}if(Gn(a,C)<0){C=a}});return{start:k,end:C}}var s=e.from(),u=e.to();if(s.line==u.line){a(s.line,s.ch,u.ch)}else{var c=Ye(n,s.line),f=Ye(n,u.line);var d=Xt(c)==Xt(f);var p=a(s.line,s.ch,d?c.text.length+1:null).end;var h=a(u.line,d?0:null,u.ch).start;if(d){if(p.top<h.top-2){A(p.right,p.top,null,p.bottom);A(T,h.top,h.left,h.bottom)}else{A(p.right,p.top,h.left-p.right,p.bottom)}}if(p.bottom<h.top){A(T,p.bottom,null,h.top)}}t.appendChild(i)}function Vn(e){if(!e.state.focused){return}var t=e.display;clearInterval(t.blinker);var r=true;t.cursorDiv.style.visibility="";if(e.options.cursorBlinkRate>0){t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate)}else if(e.options.cursorBlinkRate<0){t.cursorDiv.style.visibility="hidden"}}function Zn(e){if(!e.state.focused){e.display.input.focus();Yn(e)}}function qn(e){e.state.delayingBlurEvent=true;setTimeout(function(){if(e.state.delayingBlurEvent){e.state.delayingBlurEvent=false;Xn(e)}},100)}function Yn(e,t){if(e.state.delayingBlurEvent){e.state.delayingBlurEvent=false}if(e.options.readOnly=="nocursor"){return}if(!e.state.focused){ge(e,"focus",e,t);e.state.focused=true;E(e.display.wrapper,"CodeMirror-focused");if(!e.curOp&&e.display.selForContextMenu!=e.doc.sel){e.display.input.reset();if(v){setTimeout(function(){return e.display.input.reset(true)},20)}}e.display.input.receivedFocus()}Vn(e)}function Xn(e,t){if(e.state.delayingBlurEvent){return}if(e.state.focused){ge(e,"blur",e,t);e.state.focused=false;S(e.display.wrapper,"CodeMirror-focused")}clearInterval(e.display.blinker);setTimeout(function(){if(!e.state.focused){e.display.shift=false}},150)}function Jn(e){var t=e.display;var r=t.lineDiv.offsetTop;for(var n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping;var a=void 0,l=0;if(i.hidden){continue}if(w&&k<8){var s=i.node.offsetTop+i.node.offsetHeight;a=s-r;r=s}else{var u=i.node.getBoundingClientRect();a=u.bottom-u.top;if(!o&&i.text.firstChild){l=i.text.firstChild.getBoundingClientRect().right-u.left-1}}var c=i.line.height-a;if(c>.005||c<-.005){Qe(i.line,a);Qn(i.line);if(i.rest){for(var f=0;f<i.rest.length;f++){Qn(i.rest[f])}}}if(l>e.display.sizerWidth){var d=Math.ceil(l/Ln(e.display));if(d>e.display.maxLineLength){e.display.maxLineLength=d;e.display.maxLine=i.line;e.display.maxLineChanged=true}}}}function Qn(e){if(e.widgets){for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;if(n){r.height=n.offsetHeight}}}}function ei(e,t,r){var n=r&&r.top!=null?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Hr(e));var i=r&&r.bottom!=null?r.bottom:n+e.wrapper.clientHeight;var o=tt(t,n),a=tt(t,i);if(r&&r.ensure){var l=r.ensure.from.line,s=r.ensure.to.line;if(l<o){o=l;a=tt(t,ir(Ye(t,l))+e.wrapper.clientHeight)}else if(Math.min(s,t.lastLine())>=a){o=tt(t,ir(Ye(t,s))-e.wrapper.clientHeight);a=s}}return{from:o,to:Math.max(a,o+1)}}function ti(e,t){if(ye(e,"scrollCursorIntoView")){return}var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0){i=true}else if(t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)){i=false}if(i!=null&&!u){var o=N("div","​",null,"position: absolute;\n                         top: "+(t.top-r.viewOffset-Hr(e.display))+"px;\n                         height: "+(t.bottom-t.top+Kr(e)+r.barHeight)+"px;\n                         left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o);o.scrollIntoView(i);e.display.lineSpace.removeChild(o)}}function ri(e,t,r,n){if(n==null){n=0}var i;if(!e.options.lineWrapping&&t==r){t=t.ch?it(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t;r=t.sticky=="before"?it(t.line,t.ch+1,"before"):t}for(var o=0;o<5;o++){var a=false;var l=yn(e,t);var s=!r||r==t?l:yn(e,r);i={left:Math.min(l.left,s.left),top:Math.min(l.top,s.top)-n,right:Math.max(l.left,s.left),bottom:Math.max(l.bottom,s.bottom)+n};var u=ii(e,i);var c=e.doc.scrollTop,f=e.doc.scrollLeft;if(u.scrollTop!=null){fi(e,u.scrollTop);if(Math.abs(e.doc.scrollTop-c)>1){a=true}}if(u.scrollLeft!=null){pi(e,u.scrollLeft);if(Math.abs(e.doc.scrollLeft-f)>1){a=true}}if(!a){break}}return i}function ni(e,t){var r=ii(e,t);if(r.scrollTop!=null){fi(e,r.scrollTop)}if(r.scrollLeft!=null){pi(e,r.scrollLeft)}}function ii(e,t){var r=e.display,n=On(e.display);if(t.top<0){t.top=0}var i=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:r.scroller.scrollTop;var o=Zr(e),a={};if(t.bottom-t.top>o){t.bottom=t.top+o}var l=e.doc.height+Ur(r);var s=t.top<n,u=t.bottom>l-n;if(t.top<i){a.scrollTop=s?0:t.top}else if(t.bottom>i+o){var c=Math.min(t.top,(u?l:t.bottom)-o);if(c!=i){a.scrollTop=c}}var f=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:r.scroller.scrollLeft;var d=Vr(e)-(e.options.fixedGutter?r.gutters.offsetWidth:0);var p=t.right-t.left>d;if(p){t.right=t.left+d}if(t.left<10){a.scrollLeft=0}else if(t.left<f){a.scrollLeft=Math.max(0,t.left-(p?0:10))}else if(t.right>d+f-3){a.scrollLeft=t.right+(p?0:10)-d}return a}function oi(e,t){if(t==null){return}ui(e);e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t}function ai(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function li(e,t,r){if(t!=null||r!=null){ui(e)}if(t!=null){e.curOp.scrollLeft=t}if(r!=null){e.curOp.scrollTop=r}}function si(e,t){ui(e);e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=bn(e,t.from),n=bn(e,t.to);ci(e,r,n,t.margin)}}function ci(e,t,r,n){var i=ii(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});li(e,i.scrollLeft,i.scrollTop)}function fi(e,t){if(Math.abs(e.doc.scrollTop-t)<2){return}if(!m){Wi(e,{top:t})}di(e,t,true);if(m){Wi(e)}Di(e,100)}function di(e,t,r){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t);if(e.display.scroller.scrollTop==t&&!r){return}e.doc.scrollTop=t;e.display.scrollbars.setScrollTop(t);if(e.display.scroller.scrollTop!=t){e.display.scroller.scrollTop=t}}function pi(e,t,r,n){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth);if((r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n){return}e.doc.scrollLeft=t;Ki(e);if(e.display.scroller.scrollLeft!=t){e.display.scroller.scrollLeft=t}e.display.scrollbars.setScrollLeft(t)}function hi(e){var t=e.display,r=t.gutters.offsetWidth;var n=Math.round(e.doc.height+Ur(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Kr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var mi=function(e,t,r){this.cm=r;var n=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar");var i=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1;e(n);e(i);he(n,"scroll",function(){if(n.clientHeight){t(n.scrollTop,"vertical")}});he(i,"scroll",function(){if(i.clientWidth){t(i.scrollLeft,"horizontal")}});this.checkedZeroWidth=false;if(w&&k<8){this.horiz.style.minHeight=this.vert.style.minWidth="18px"}};mi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1;var r=e.scrollHeight>e.clientHeight+1;var n=e.nativeBarWidth;if(r){this.vert.style.display="block";this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else{this.vert.style.display="";this.vert.firstChild.style.height="0"}if(t){this.horiz.style.display="block";this.horiz.style.right=r?n+"px":"0";this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else{this.horiz.style.display="";this.horiz.firstChild.style.width="0"}if(!this.checkedZeroWidth&&e.clientHeight>0){if(n==0){this.zeroWidthHack()}this.checkedZeroWidth=true}return{right:r?n:0,bottom:t?n:0}},mi.prototype.setScrollLeft=function(e){if(this.horiz.scrollLeft!=e){this.horiz.scrollLeft=e}if(this.disableHoriz){this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")}},mi.prototype.setScrollTop=function(e){if(this.vert.scrollTop!=e){this.vert.scrollTop=e}if(this.disableVert){this.enableZeroWidthBar(this.vert,this.disableVert,"vert")}},mi.prototype.zeroWidthHack=function(){var e=y&&!s?"12px":"18px";this.horiz.style.height=this.vert.style.width=e;this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none";this.disableHoriz=new R;this.disableVert=new R},mi.prototype.enableZeroWidthBar=function(r,n,i){r.style.pointerEvents="auto";function o(){var e=r.getBoundingClientRect();var t=i=="vert"?document.elementFromPoint(e.right-1,(e.top+e.bottom)/2):document.elementFromPoint((e.right+e.left)/2,e.bottom-1);if(t!=r){r.style.pointerEvents="none"}else{n.set(1e3,o)}}n.set(1e3,o)},mi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz);e.removeChild(this.vert)};var vi=function(){};function gi(e,t){if(!t){t=hi(e)}var r=e.display.barWidth,n=e.display.barHeight;yi(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++){if(r!=e.display.barWidth&&e.options.lineWrapping){Jn(e)}yi(e,hi(e));r=e.display.barWidth;n=e.display.barHeight}}function yi(e,t){var r=e.display;var n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px";r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px";r.heightForcer.style.borderBottom=n.bottom+"px solid transparent";if(n.right&&n.bottom){r.scrollbarFiller.style.display="block";r.scrollbarFiller.style.height=n.bottom+"px";r.scrollbarFiller.style.width=n.right+"px"}else{r.scrollbarFiller.style.display=""}if(n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter){r.gutterFiller.style.display="block";r.gutterFiller.style.height=n.bottom+"px";r.gutterFiller.style.width=t.gutterWidth+"px"}else{r.gutterFiller.style.display=""}}vi.prototype.update=function(){return{bottom:0,right:0}},vi.prototype.setScrollLeft=function(){},vi.prototype.setScrollTop=function(){},vi.prototype.clear=function(){};var bi={native:mi,null:vi};function xi(r){if(r.display.scrollbars){r.display.scrollbars.clear();if(r.display.scrollbars.addClass){S(r.display.wrapper,r.display.scrollbars.addClass)}}r.display.scrollbars=new bi[r.options.scrollbarStyle](function(e){r.display.wrapper.insertBefore(e,r.display.scrollbarFiller);he(e,"mousedown",function(){if(r.state.focused){setTimeout(function(){return r.display.input.focus()},0)}});e.setAttribute("cm-not-content","true")},function(e,t){if(t=="horizontal"){pi(r,e)}else{fi(r,e)}},r);if(r.display.scrollbars.addClass){E(r.display.wrapper,r.display.scrollbars.addClass)}}var wi=0;function ki(e){e.curOp={cm:e,viewChanged:false,startHeight:e.doc.height,forceUpdate:false,updateInput:0,typing:false,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:false,updateMaxLine:false,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:false,id:++wi};Cr(e.curOp)}function Ci(e){var t=e.curOp;if(t){Sr(t,function(e){for(var t=0;t<e.ops.length;t++){e.ops[t].cm.curOp=null}Mi(e)})}}function Mi(e){var t=e.ops;for(var r=0;r<t.length;r++){Si(t[r])}for(var n=0;n<t.length;n++){_i(t[n])}for(var i=0;i<t.length;i++){Ti(t[i])}for(var o=0;o<t.length;o++){Oi(t[o])}for(var a=0;a<t.length;a++){Li(t[a])}}function Si(e){var t=e.cm,r=t.display;Ii(t);if(e.updateMaxLine){ar(t)}e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping;e.update=e.mustUpdate&&new ji(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function _i(e){e.updatedDisplay=e.mustUpdate&&Bi(e.cm,e.update)}function Ti(e){var t=e.cm,r=t.display;if(e.updatedDisplay){Jn(t)}e.barMeasure=hi(t);if(r.maxLineChanged&&!t.options.lineWrapping){e.adjustWidthTo=Jr(t,r.maxLine,r.maxLine.text.length).left+3;t.display.sizerWidth=e.adjustWidthTo;e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Kr(t)+t.display.barWidth);e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Vr(t))}if(e.updatedDisplay||e.selectionChanged){e.preparedSelection=r.input.prepareSelection()}}function Oi(e){var t=e.cm;if(e.adjustWidthTo!=null){t.display.sizer.style.minWidth=e.adjustWidthTo+"px";if(e.maxScrollLeft<t.doc.scrollLeft){pi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),true)}t.display.maxLineChanged=false}var r=e.focus&&e.focus==P();if(e.preparedSelection){t.display.input.showSelection(e.preparedSelection,r)}if(e.updatedDisplay||e.startHeight!=t.doc.height){gi(t,e.barMeasure)}if(e.updatedDisplay){Gi(t,e.barMeasure)}if(e.selectionChanged){Vn(t)}if(t.state.focused&&e.updateInput){t.display.input.reset(e.typing)}if(r){Zn(e.cm)}}function Li(e){var t=e.cm,r=t.display,n=t.doc;if(e.updatedDisplay){$i(t,e.update)}if(r.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)){r.wheelStartX=r.wheelStartY=null}if(e.scrollTop!=null){di(t,e.scrollTop,e.forceScroll)}if(e.scrollLeft!=null){pi(t,e.scrollLeft,true,true)}if(e.scrollToPos){var i=ri(t,ft(n,e.scrollToPos.from),ft(n,e.scrollToPos.to),e.scrollToPos.margin);ti(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o){for(var l=0;l<o.length;++l){if(!o[l].lines.length){ge(o[l],"hide")}}}if(a){for(var s=0;s<a.length;++s){if(a[s].lines.length){ge(a[s],"unhide")}}}if(r.wrapper.offsetHeight){n.scrollTop=t.display.scroller.scrollTop}if(e.changeObjs){ge(t,"changes",t,e.changeObjs)}if(e.update){e.update.finish()}}function Ai(e,t){if(e.curOp){return t()}ki(e);try{return t()}finally{Ci(e)}}function Ni(e,t){return function(){if(e.curOp){return t.apply(e,arguments)}ki(e);try{return t.apply(e,arguments)}finally{Ci(e)}}}function Pi(e){return function(){if(this.curOp){return e.apply(this,arguments)}ki(this);try{return e.apply(this,arguments)}finally{Ci(this)}}}function Ei(t){return function(){var e=this.cm;if(!e||e.curOp){return t.apply(this,arguments)}ki(e);try{return t.apply(this,arguments)}finally{Ci(e)}}}function Di(e,t){if(e.doc.highlightFrontier<e.display.viewTo){e.state.highlight.set(t,j(Fi,e))}}function Fi(s){var u=s.doc;if(u.highlightFrontier>=s.display.viewTo){return}var c=+new Date+s.options.workTime;var f=yt(s,u.highlightFrontier);var d=[];u.iter(f.line,Math.min(u.first+u.size,s.display.viewTo+500),function(e){if(f.line>=s.display.viewFrom){var t=e.styles;var r=e.text.length>s.options.maxHighlightLength?Ke(u.mode,f.state):null;var n=vt(s,e,f,true);if(r){f.state=r}e.styles=n.styles;var i=e.styleClasses,o=n.classes;if(o){e.styleClasses=o}else if(i){e.styleClasses=null}var a=!t||t.length!=e.styles.length||i!=o&&(!i||!o||i.bgClass!=o.bgClass||i.textClass!=o.textClass);for(var l=0;!a&&l<t.length;++l){a=t[l]!=e.styles[l]}if(a){d.push(f.line)}e.stateAfter=f.save();f.nextLine()}else{if(e.text.length<=s.options.maxHighlightLength){bt(s,e.text,f)}e.stateAfter=f.line%5==0?f.save():null;f.nextLine()}if(+new Date>c){Di(s,s.options.workDelay);return true}});u.highlightFrontier=f.line;u.modeFrontier=Math.max(u.modeFrontier,f.line);if(d.length){Ai(s,function(){for(var e=0;e<d.length;e++){In(s,d[e],"text")}})}}var ji=function(e,t,r){var n=e.display;this.viewport=t;this.visible=ei(n,e.doc,t);this.editorIsHidden=!n.wrapper.offsetWidth;this.wrapperHeight=n.wrapper.clientHeight;this.wrapperWidth=n.wrapper.clientWidth;this.oldDisplayWidth=Vr(e);this.force=r;this.dims=An(e);this.events=[]};function Ii(e){var t=e.display;if(!t.scrollbarsClipped&&t.scroller.offsetWidth){t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth;t.heightForcer.style.height=Kr(e)+"px";t.sizer.style.marginBottom=-t.nativeBarWidth+"px";t.sizer.style.borderRightWidth=Kr(e)+"px";t.scrollbarsClipped=true}}function zi(e){if(e.hasFocus()){return null}var t=P();if(!t||!A(e.display.lineDiv,t)){return null}var r={activeElt:t};if(window.getSelection){var n=window.getSelection();if(n.anchorNode&&n.extend&&A(e.display.lineDiv,n.anchorNode)){r.anchorNode=n.anchorNode;r.anchorOffset=n.anchorOffset;r.focusNode=n.focusNode;r.focusOffset=n.focusOffset}}return r}function Ri(e){if(!e||!e.activeElt||e.activeElt==P()){return}e.activeElt.focus();if(e.anchorNode&&A(document.body,e.anchorNode)&&A(document.body,e.focusNode)){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset);r.collapse(false);t.removeAllRanges();t.addRange(r);t.extend(e.focusNode,e.focusOffset)}}function Bi(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden){zn(e);return false}if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(r.updateLineNumbers==null||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&$n(e)==0){return false}if(Vi(e)){zn(e);t.dims=An(e)}var i=n.first+n.size;var o=Math.max(t.visible.from-e.options.viewportMargin,n.first);var a=Math.min(i,t.visible.to+e.options.viewportMargin);if(r.viewFrom<o&&o-r.viewFrom<20){o=Math.max(n.first,r.viewFrom)}if(r.viewTo>a&&r.viewTo-a<20){a=Math.min(i,r.viewTo)}if(Lt){o=er(e.doc,o);a=tr(e.doc,a)}var l=o!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;Bn(e,o,a);r.viewOffset=ir(Ye(e.doc,r.viewFrom));e.display.mover.style.top=r.viewOffset+"px";var s=$n(e);if(!l&&s==0&&!t.force&&r.renderedView==r.view&&(r.updateLineNumbers==null||r.updateLineNumbers>=r.viewTo)){return false}var u=zi(e);if(s>4){r.lineDiv.style.display="none"}Hi(e,r.updateLineNumbers,t.dims);if(s>4){r.lineDiv.style.display=""}r.renderedView=r.view;Ri(u);T(r.cursorDiv);T(r.selectionDiv);r.gutters.style.height=r.sizer.style.minHeight=0;if(l){r.lastWrapHeight=t.wrapperHeight;r.lastWrapWidth=t.wrapperWidth;Di(e,400)}r.updateLineNumbers=null;return true}function $i(e,t){var r=t.viewport;for(var n=true;;n=false){if(!n||!e.options.lineWrapping||t.oldDisplayWidth==Vr(e)){if(r&&r.top!=null){r={top:Math.min(e.doc.height+Ur(e.display)-Zr(e),r.top)}}t.visible=ei(e.display,e.doc,r);if(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo){break}}if(!Bi(e,t)){break}Jn(e);var i=hi(e);Wn(e);gi(e,i);Gi(e,i);t.force=false}t.signal(e,"update",e);if(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo){t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo);e.display.reportedViewFrom=e.display.viewFrom;e.display.reportedViewTo=e.display.viewTo}}function Wi(e,t){var r=new ji(e,t);if(Bi(e,r)){Jn(e);$i(e,r);var n=hi(e);Wn(e);gi(e,n);Gi(e,n);r.finish()}}function Hi(r,e,t){var n=r.display,i=r.options.lineNumbers;var o=n.lineDiv,a=o.firstChild;function l(e){var t=e.nextSibling;if(v&&y&&r.display.currentWheelTarget==e){e.style.display="none"}else{e.parentNode.removeChild(e)}return t}var s=n.view,u=n.viewFrom;for(var c=0;c<s.length;c++){var f=s[c];if(f.hidden);else if(!f.node||f.node.parentNode!=o){var d=Ir(r,f,u,t);o.insertBefore(d,a)}else{while(a!=f.node){a=l(a)}var p=i&&e!=null&&e<=u&&f.lineNumber;if(f.changes){if(B(f.changes,"gutter")>-1){p=false}Lr(r,f,u,t)}if(p){T(f.lineNumber);f.lineNumber.appendChild(document.createTextNode(nt(r.options,u)))}a=f.node.nextSibling}u+=f.size}while(a){a=l(a)}}function Ui(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Gi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px";e.display.heightForcer.style.top=t.docHeight+"px";e.display.gutters.style.height=t.docHeight+e.display.barHeight+Kr(e)+"px"}function Ki(e){var t=e.display,r=t.view;if(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter)){return}var n=Nn(t)-t.scroller.scrollLeft+e.doc.scrollLeft;var i=t.gutters.offsetWidth,o=n+"px";for(var a=0;a<r.length;a++){if(!r[a].hidden){if(e.options.fixedGutter){if(r[a].gutter){r[a].gutter.style.left=o}if(r[a].gutterBackground){r[a].gutterBackground.style.left=o}}var l=r[a].alignable;if(l){for(var s=0;s<l.length;s++){l[s].style.left=o}}}}if(e.options.fixedGutter){t.gutters.style.left=n+i+"px"}}function Vi(e){if(!e.options.lineNumbers){return false}var t=e.doc,r=nt(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(N("div",[N("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt"));var o=i.firstChild.offsetWidth,a=i.offsetWidth-o;n.lineGutter.style.width="";n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-a)+1;n.lineNumWidth=n.lineNumInnerWidth+a;n.lineNumChars=n.lineNumInnerWidth?r.length:-1;n.lineGutter.style.width=n.lineNumWidth+"px";Ui(e.display);return true}return false}function Zi(e,t){var r=[],n=false;for(var i=0;i<e.length;i++){var o=e[i],a=null;if(typeof o!="string"){a=o.style;o=o.className}if(o=="CodeMirror-linenumbers"){if(!t){continue}else{n=true}}r.push({className:o,style:a})}if(t&&!n){r.push({className:"CodeMirror-linenumbers",style:null})}return r}function qi(e){var t=e.gutters,r=e.gutterSpecs;T(t);e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n];var o=i.className;var a=i.style;var l=t.appendChild(N("div",null,"CodeMirror-gutter "+o));if(a){l.style.cssText=a}if(o=="CodeMirror-linenumbers"){e.lineGutter=l;l.style.width=(e.lineNumWidth||1)+"px"}}t.style.display=r.length?"":"none";Ui(e)}function Yi(e){qi(e.display);jn(e);Ki(e)}function Xi(e,t,r,n){var i=this;this.input=r;i.scrollbarFiller=N("div",null,"CodeMirror-scrollbar-filler");i.scrollbarFiller.setAttribute("cm-not-content","true");i.gutterFiller=N("div",null,"CodeMirror-gutter-filler");i.gutterFiller.setAttribute("cm-not-content","true");i.lineDiv=L("div",null,"CodeMirror-code");i.selectionDiv=N("div",null,null,"position: relative; z-index: 1");i.cursorDiv=N("div",null,"CodeMirror-cursors");i.measure=N("div",null,"CodeMirror-measure");i.lineMeasure=N("div",null,"CodeMirror-measure");i.lineSpace=L("div",[i.measure,i.lineMeasure,i.selectionDiv,i.cursorDiv,i.lineDiv],null,"position: relative; outline: none");var o=L("div",[i.lineSpace],"CodeMirror-lines");i.mover=N("div",[o],null,"position: relative");i.sizer=N("div",[i.mover],"CodeMirror-sizer");i.sizerWidth=null;i.heightForcer=N("div",null,null,"position: absolute; height: "+$+"px; width: 1px;");i.gutters=N("div",null,"CodeMirror-gutters");i.lineGutter=null;i.scroller=N("div",[i.sizer,i.heightForcer,i.gutters],"CodeMirror-scroll");i.scroller.setAttribute("tabIndex","-1");i.wrapper=N("div",[i.scrollbarFiller,i.gutterFiller,i.scroller],"CodeMirror");if(w&&k<8){i.gutters.style.zIndex=-1;i.scroller.style.paddingRight=0}if(!v&&!(m&&d)){i.scroller.draggable=true}if(e){if(e.appendChild){e.appendChild(i.wrapper)}else{e(i.wrapper)}}i.viewFrom=i.viewTo=t.first;i.reportedViewFrom=i.reportedViewTo=t.first;i.view=[];i.renderedView=null;i.externalMeasured=null;i.viewOffset=0;i.lastWrapHeight=i.lastWrapWidth=0;i.updateLineNumbers=null;i.nativeBarWidth=i.barHeight=i.barWidth=0;i.scrollbarsClipped=false;i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null;i.alignWidgets=false;i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null;i.maxLine=null;i.maxLineLength=0;i.maxLineChanged=false;i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null;i.shift=false;i.selForContextMenu=null;i.activeTouch=null;i.gutterSpecs=Zi(n.gutters,n.lineNumbers);qi(i);r.init(i)}ji.prototype.signal=function(e,t){if(xe(e,t)){this.events.push(arguments)}},ji.prototype.finish=function(){for(var e=0;e<this.events.length;e++){ge.apply(null,this.events[e])}};var Ji=0,Qi=null;if(w){Qi=-.53}else if(m){Qi=15}else if(a){Qi=-.7}else if(l){Qi=-1/3}function eo(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;if(t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS){t=e.detail}if(r==null&&e.detail&&e.axis==e.VERTICAL_AXIS){r=e.detail}else if(r==null){r=e.wheelDelta}return{x:t,y:r}}function to(e){var t=eo(e);t.x*=Qi;t.y*=Qi;return t}function ro(e,t){var r=eo(t),n=r.x,i=r.y;var o=e.display,a=o.scroller;var l=a.scrollWidth>a.clientWidth;var s=a.scrollHeight>a.clientHeight;if(!(n&&l||i&&s)){return}if(i&&y&&v){e:for(var u=t.target,c=o.view;u!=a;u=u.parentNode){for(var f=0;f<c.length;f++){if(c[f].node==u){e.display.currentWheelTarget=u;break e}}}}if(n&&!m&&!g&&Qi!=null){if(i&&s){fi(e,Math.max(0,a.scrollTop+i*Qi))}pi(e,Math.max(0,a.scrollLeft+n*Qi));if(!i||i&&s){ke(t)}o.wheelStartX=null;return}if(i&&Qi!=null){var d=i*Qi;var p=e.doc.scrollTop,h=p+o.wrapper.clientHeight;if(d<0){p=Math.max(0,p+d-50)}else{h=Math.min(e.doc.height,h+d+50)}Wi(e,{top:p,bottom:h})}if(Ji<20){if(o.wheelStartX==null){o.wheelStartX=a.scrollLeft;o.wheelStartY=a.scrollTop;o.wheelDX=n;o.wheelDY=i;setTimeout(function(){if(o.wheelStartX==null){return}var e=a.scrollLeft-o.wheelStartX;var t=a.scrollTop-o.wheelStartY;var r=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null;if(!r){return}Qi=(Qi*Ji+r)/(Ji+1);++Ji},200)}else{o.wheelDX+=n;o.wheelDY+=i}}}var no=function(e,t){this.ranges=e;this.primIndex=t};no.prototype.primary=function(){return this.ranges[this.primIndex]},no.prototype.equals=function(e){if(e==this){return true}if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length){return false}for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!at(r.anchor,n.anchor)||!at(r.head,n.head)){return false}}return true},no.prototype.deepCopy=function(){var e=[];for(var t=0;t<this.ranges.length;t++){e[t]=new io(lt(this.ranges[t].anchor),lt(this.ranges[t].head))}return new no(e,this.primIndex)},no.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++){if(!this.ranges[e].empty()){return true}}return false},no.prototype.contains=function(e,t){if(!t){t=e}for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(ot(t,n.from())>=0&&ot(e,n.to())<=0){return r}}return-1};var io=function(e,t){this.anchor=e;this.head=t};function oo(e,t,r){var n=e&&e.options.selectionsMayTouch;var i=t[r];t.sort(function(e,t){return ot(e.from(),t.from())});r=B(t,i);for(var o=1;o<t.length;o++){var a=t[o],l=t[o-1];var s=ot(l.to(),a.from());if(n&&!a.empty()?s>0:s>=0){var u=ut(l.from(),a.from()),c=st(l.to(),a.to());var f=l.empty()?a.from()==a.head:l.from()==l.head;if(o<=r){--r}t.splice(--o,2,new io(f?c:u,f?u:c))}}return new no(t,r)}function ao(e,t){return new no([new io(e,t||e)],0)}function lo(e){if(!e.text){return e.to}return it(e.from.line+e.text.length-1,q(e.text).length+(e.text.length==1?e.from.ch:0))}function so(e,t){if(ot(e,t.from)<0){return e}if(ot(e,t.to)<=0){return lo(t)}var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;if(e.line==t.to.line){n+=lo(t).ch-t.to.ch}return it(r,n)}function uo(e,t){var r=[];for(var n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new io(so(i.anchor,t),so(i.head,t)))}return oo(e.cm,r,e.sel.primIndex)}function co(e,t,r){if(e.line==t.line){return it(r.line,e.ch-t.ch+r.ch)}else{return it(r.line+(e.line-t.line),e.ch)}}function fo(e,t,r){var n=[];var i=it(e.first,0),o=i;for(var a=0;a<t.length;a++){var l=t[a];var s=co(l.from,i,o);var u=co(lo(l),i,o);i=l.to;o=u;if(r=="around"){var c=e.sel.ranges[a],f=ot(c.head,c.anchor)<0;n[a]=new io(f?u:s,f?s:u)}else{n[a]=new io(s,s)}}return new no(n,e.sel.primIndex)}function po(e){e.doc.mode=He(e.options,e.doc.modeOption);ho(e)}function ho(e){e.doc.iter(function(e){if(e.stateAfter){e.stateAfter=null}if(e.styles){e.styles=null}});e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first;Di(e,100);e.state.modeGen++;if(e.curOp){jn(e)}}function mo(e,t){return t.from.ch==0&&t.to.ch==0&&q(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function vo(e,n,t,i){function o(e){return t?t[e]:null}function r(e,t,r){sr(e,t,r,i);Tr(e,"change",e,n)}function a(e,t){var r=[];for(var n=e;n<t;++n){r.push(new lr(u[n],o(n),i))}return r}var l=n.from,s=n.to,u=n.text;var c=Ye(e,l.line),f=Ye(e,s.line);var d=q(u),p=o(u.length-1),h=s.line-l.line;if(n.full){e.insert(0,a(0,u.length));e.remove(u.length,e.size-u.length)}else if(mo(e,n)){var m=a(0,u.length-1);r(f,f.text,p);if(h){e.remove(l.line,h)}if(m.length){e.insert(l.line,m)}}else if(c==f){if(u.length==1){r(c,c.text.slice(0,l.ch)+d+c.text.slice(s.ch),p)}else{var v=a(1,u.length-1);v.push(new lr(d+c.text.slice(s.ch),p,i));r(c,c.text.slice(0,l.ch)+u[0],o(0));e.insert(l.line+1,v)}}else if(u.length==1){r(c,c.text.slice(0,l.ch)+u[0]+f.text.slice(s.ch),o(0));e.remove(l.line+1,h)}else{r(c,c.text.slice(0,l.ch)+u[0],o(0));r(f,d+f.text.slice(s.ch),p);var g=a(1,u.length-1);if(h>1){e.remove(l.line+1,h-1)}e.insert(l.line+1,g)}Tr(e,"change",e,n)}function go(e,a,l){function s(e,t,r){if(e.linked){for(var n=0;n<e.linked.length;++n){var i=e.linked[n];if(i.doc==t){continue}var o=r&&i.sharedHist;if(l&&!o){continue}a(i.doc,o);s(i.doc,e,o)}}}s(e,null,true)}function yo(e,t){if(t.cm){throw new Error("This document is already in use.")}e.doc=t;t.cm=e;En(e);po(e);bo(e);if(!e.options.lineWrapping){ar(e)}e.options.mode=t.modeOption;jn(e)}function bo(e){(e.doc.direction=="rtl"?E:S)(e.display.lineDiv,"CodeMirror-rtl")}function xo(e){Ai(e,function(){bo(e);jn(e)})}function wo(e){this.done=[];this.undone=[];this.undoDepth=Infinity;this.lastModTime=this.lastSelTime=0;this.lastOp=this.lastSelOp=null;this.lastOrigin=this.lastSelOrigin=null;this.generation=this.maxGeneration=e||1}function ko(e,t){var r={from:lt(t.from),to:lo(t),text:Xe(e,t.from,t.to)};Lo(e,r,t.from.line,t.to.line+1);go(e,function(e){return Lo(e,r,t.from.line,t.to.line+1)},true);return r}function Co(e){while(e.length){var t=q(e);if(t.ranges){e.pop()}else{break}}}function Mo(e,t){if(t){Co(e.done);return q(e.done)}else if(e.done.length&&!q(e.done).ranges){return q(e.done)}else if(e.done.length>1&&!e.done[e.done.length-2].ranges){e.done.pop();return q(e.done)}}function So(e,t,r,n){var i=e.history;i.undone.length=0;var o=+new Date,a;var l;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&i.lastModTime>o-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(a=Mo(i,i.lastOp==n))){l=q(a.changes);if(ot(t.from,t.to)==0&&ot(t.from,l.to)==0){l.to=lo(t)}else{a.changes.push(ko(e,t))}}else{var s=q(i.done);if(!s||!s.ranges){Oo(e.sel,i.done)}a={changes:[ko(e,t)],generation:i.generation};i.done.push(a);while(i.done.length>i.undoDepth){i.done.shift();if(!i.done[0].ranges){i.done.shift()}}}i.done.push(r);i.generation=++i.maxGeneration;i.lastModTime=i.lastSelTime=o;i.lastOp=i.lastSelOp=n;i.lastOrigin=i.lastSelOrigin=t.origin;if(!l){ge(e,"historyAdded")}}function _o(e,t,r,n){var i=t.charAt(0);return i=="*"||i=="+"&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function To(e,t,r,n){var i=e.history,o=n&&n.origin;if(r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||_o(e,o,q(i.done),t))){i.done[i.done.length-1]=t}else{Oo(t,i.done)}i.lastSelTime=+new Date;i.lastSelOrigin=o;i.lastSelOp=r;if(n&&n.clearRedo!==false){Co(i.undone)}}function Oo(e,t){var r=q(t);if(!(r&&r.ranges&&r.equals(e))){t.push(e)}}function Lo(t,r,e,n){var i=r["spans_"+t.id],o=0;t.iter(Math.max(t.first,e),Math.min(t.first+t.size,n),function(e){if(e.markedSpans){(i||(i=r["spans_"+t.id]={}))[o]=e.markedSpans}++o})}function Ao(e){if(!e){return null}var t;for(var r=0;r<e.length;++r){if(e[r].marker.explicitlyCleared){if(!t){t=e.slice(0,r)}}else if(t){t.push(e[r])}}return!t?e:t.length?t:null}function No(e,t){var r=t["spans_"+e.id];if(!r){return null}var n=[];for(var i=0;i<t.text.length;++i){n.push(Ao(r[i]))}return n}function Po(e,t){var r=No(e,t);var n=zt(e,t);if(!r){return n}if(!n){return r}for(var i=0;i<r.length;++i){var o=r[i],a=n[i];if(o&&a){e:for(var l=0;l<a.length;++l){var s=a[l];for(var u=0;u<o.length;++u){if(o[u].marker==s.marker){continue e}}o.push(s)}}else if(a){r[i]=a}}return r}function Eo(e,t,r){var n=[];for(var i=0;i<e.length;++i){var o=e[i];if(o.ranges){n.push(r?no.prototype.deepCopy.call(o):o);continue}var a=o.changes,l=[];n.push({changes:l});for(var s=0;s<a.length;++s){var u=a[s],c=void 0;l.push({from:u.from,to:u.to,text:u.text});if(t){for(var f in u){if(c=f.match(/^spans_(\d+)$/)){if(B(t,Number(c[1]))>-1){q(l)[f]=u[f];delete u[f]}}}}}}return n}function Do(e,t,r,n){if(n){var i=e.anchor;if(r){var o=ot(t,i)<0;if(o!=ot(r,i)<0){i=t;t=r}else if(o!=ot(t,r)<0){t=r}}return new io(i,t)}else{return new io(r||t,t)}}function Fo(e,t,r,n,i){if(i==null){i=e.cm&&(e.cm.display.shift||e.extend)}$o(e,new no([Do(e.sel.primary(),t,r,i)],0),n)}function jo(e,t,r){var n=[];var i=e.cm&&(e.cm.display.shift||e.extend);for(var o=0;o<e.sel.ranges.length;o++){n[o]=Do(e.sel.ranges[o],t[o],null,i)}var a=oo(e.cm,n,e.sel.primIndex);$o(e,a,r)}function Io(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r;$o(e,oo(e.cm,i,e.sel.primIndex),n)}function zo(e,t,r,n){$o(e,ao(t,r),n)}function Ro(r,e,t){var n={ranges:e.ranges,update:function(e){this.ranges=[];for(var t=0;t<e.length;t++){this.ranges[t]=new io(ft(r,e[t].anchor),ft(r,e[t].head))}},origin:t&&t.origin};ge(r,"beforeSelectionChange",r,n);if(r.cm){ge(r.cm,"beforeSelectionChange",r.cm,n)}if(n.ranges!=e.ranges){return oo(r.cm,n.ranges,n.ranges.length-1)}else{return e}}function Bo(e,t,r){var n=e.history.done,i=q(n);if(i&&i.ranges){n[n.length-1]=t;Wo(e,t,r)}else{$o(e,t,r)}}function $o(e,t,r){Wo(e,t,r);To(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function Wo(e,t,r){if(xe(e,"beforeSelectionChange")||e.cm&&xe(e.cm,"beforeSelectionChange")){t=Ro(e,t,r)}var n=r&&r.bias||(ot(t.primary().head,e.sel.primary().head)<0?-1:1);Ho(e,Go(e,t,n,true));if(!(r&&r.scroll===false)&&e.cm){ai(e.cm)}}function Ho(e,t){if(t.equals(e.sel)){return}e.sel=t;if(e.cm){e.cm.curOp.updateInput=1;e.cm.curOp.selectionChanged=true;be(e.cm)}Tr(e,"cursorActivity",e)}function Uo(e){Ho(e,Go(e,e.sel,null,false))}function Go(e,t,r,n){var i;for(var o=0;o<t.ranges.length;o++){var a=t.ranges[o];var l=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o];var s=Vo(e,a.anchor,l&&l.anchor,r,n);var u=Vo(e,a.head,l&&l.head,r,n);if(i||s!=a.anchor||u!=a.head){if(!i){i=t.ranges.slice(0,o)}i[o]=new io(s,u)}}return i?oo(e.cm,i,t.primIndex):t}function Ko(e,t,r,n,i){var o=Ye(e,t.line);if(o.markedSpans){for(var a=0;a<o.markedSpans.length;++a){var l=o.markedSpans[a],s=l.marker;var u="selectLeft"in s?!s.selectLeft:s.inclusiveLeft;var c="selectRight"in s?!s.selectRight:s.inclusiveRight;if((l.from==null||(u?l.from<=t.ch:l.from<t.ch))&&(l.to==null||(c?l.to>=t.ch:l.to>t.ch))){if(i){ge(s,"beforeCursorEnter");if(s.explicitlyCleared){if(!o.markedSpans){break}else{--a;continue}}}if(!s.atomic){continue}if(r){var f=s.find(n<0?1:-1),d=void 0;if(n<0?c:u){f=Zo(e,f,-n,f&&f.line==t.line?o:null)}if(f&&f.line==t.line&&(d=ot(f,r))&&(n<0?d<0:d>0)){return Ko(e,f,t,n,i)}}var p=s.find(n<0?-1:1);if(n<0?u:c){p=Zo(e,p,n,p.line==t.line?o:null)}return p?Ko(e,p,t,n,i):null}}}return t}function Vo(e,t,r,n,i){var o=n||1;var a=Ko(e,t,r,o,i)||!i&&Ko(e,t,r,o,true)||Ko(e,t,r,-o,i)||!i&&Ko(e,t,r,-o,true);if(!a){e.cantEdit=true;return it(e.first,0)}return a}function Zo(e,t,r,n){if(r<0&&t.ch==0){if(t.line>e.first){return ft(e,it(t.line-1))}else{return null}}else if(r>0&&t.ch==(n||Ye(e,t.line)).text.length){if(t.line<e.first+e.size-1){return it(t.line+1,0)}else{return null}}else{return new it(t.line,t.ch+r)}}function qo(e){e.setSelection(it(e.firstLine(),0),it(e.lastLine()),H)}function Yo(i,e,t){var o={canceled:false,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return o.canceled=true}};if(t){o.update=function(e,t,r,n){if(e){o.from=ft(i,e)}if(t){o.to=ft(i,t)}if(r){o.text=r}if(n!==undefined){o.origin=n}}}ge(i,"beforeChange",i,o);if(i.cm){ge(i.cm,"beforeChange",i.cm,o)}if(o.canceled){if(i.cm){i.cm.curOp.updateInput=2}return null}return{from:o.from,to:o.to,text:o.text,origin:o.origin}}function Xo(e,t,r){if(e.cm){if(!e.cm.curOp){return Ni(e.cm,Xo)(e,t,r)}if(e.cm.state.suppressEdits){return}}if(xe(e,"beforeChange")||e.cm&&xe(e.cm,"beforeChange")){t=Yo(e,t,true);if(!t){return}}var n=Ot&&!r&&Bt(e,t.from,t.to);if(n){for(var i=n.length-1;i>=0;--i){Jo(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin})}}else{Jo(e,t)}}function Jo(e,r){if(r.text.length==1&&r.text[0]==""&&ot(r.from,r.to)==0){return}var t=uo(e,r);So(e,r,t,e.cm?e.cm.curOp.id:NaN);ta(e,r,t,zt(e,r));var n=[];go(e,function(e,t){if(!t&&B(n,e.history)==-1){aa(e.history,r);n.push(e.history)}ta(e,r,null,zt(e,r))})}function Qo(i,o,e){var t=i.cm&&i.cm.state.suppressEdits;if(t&&!e){return}var r=i.history,a,n=i.sel;var l=o=="undo"?r.done:r.undone,s=o=="undo"?r.undone:r.done;var u=0;for(;u<l.length;u++){a=l[u];if(e?a.ranges&&!a.equals(i.sel):!a.ranges){break}}if(u==l.length){return}r.lastOrigin=r.lastSelOrigin=null;for(;;){a=l.pop();if(a.ranges){Oo(a,s);if(e&&!a.equals(i.sel)){$o(i,a,{clearRedo:false});return}n=a}else if(t){l.push(a);return}else{break}}var c=[];Oo(n,s);s.push({changes:c,generation:r.generation});r.generation=a.generation||++r.maxGeneration;var f=xe(i,"beforeChange")||i.cm&&xe(i.cm,"beforeChange");var d=function(e){var r=a.changes[e];r.origin=o;if(f&&!Yo(i,r,false)){l.length=0;return{}}c.push(ko(i,r));var t=e?uo(i,r):q(l);ta(i,r,t,Po(i,r));if(!e&&i.cm){i.cm.scrollIntoView({from:r.from,to:lo(r)})}var n=[];go(i,function(e,t){if(!t&&B(n,e.history)==-1){aa(e.history,r);n.push(e.history)}ta(e,r,null,Po(e,r))})};for(var p=a.changes.length-1;p>=0;--p){var h=d(p);if(h)return h.v}}function ea(e,t){if(t==0){return}e.first+=t;e.sel=new no(Y(e.sel.ranges,function(e){return new io(it(e.anchor.line+t,e.anchor.ch),it(e.head.line+t,e.head.ch))}),e.sel.primIndex);if(e.cm){jn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++){In(e.cm,n,"gutter")}}}function ta(e,t,r,n){if(e.cm&&!e.cm.curOp){return Ni(e.cm,ta)(e,t,r,n)}if(t.to.line<e.first){ea(e,t.text.length-1-(t.to.line-t.from.line));return}if(t.from.line>e.lastLine()){return}if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ea(e,i);t={from:it(e.first,0),to:it(t.to.line+i,t.to.ch),text:[q(t.text)],origin:t.origin}}var o=e.lastLine();if(t.to.line>o){t={from:t.from,to:it(o,Ye(e,o).text.length),text:[t.text[0]],origin:t.origin}}t.removed=Xe(e,t.from,t.to);if(!r){r=uo(e,t)}if(e.cm){ra(e.cm,t,n)}else{vo(e,t,n)}Wo(e,r,H);if(e.cantEdit&&Vo(e,it(e.firstLine(),0))){e.cantEdit=false}}function ra(e,t,r){var n=e.doc,i=e.display,o=t.from,a=t.to;var l=false,s=o.line;if(!e.options.lineWrapping){s=et(Xt(Ye(n,o.line)));n.iter(s,a.line+1,function(e){if(e==i.maxLine){l=true;return true}})}if(n.sel.contains(t.from,t.to)>-1){be(e)}vo(n,t,r,Pn(e));if(!e.options.lineWrapping){n.iter(s,o.line+t.text.length,function(e){var t=or(e);if(t>i.maxLineLength){i.maxLine=e;i.maxLineLength=t;i.maxLineChanged=true;l=false}});if(l){e.curOp.updateMaxLine=true}}Tt(n,o.line);Di(e,400);var u=t.text.length-(a.line-o.line)-1;if(t.full){jn(e)}else if(o.line==a.line&&t.text.length==1&&!mo(e.doc,t)){In(e,o.line,"text")}else{jn(e,o.line,a.line+1,u)}var c=xe(e,"changes"),f=xe(e,"change");if(f||c){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};if(f){Tr(e,"change",e,d)}if(c){(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}}e.display.selForContextMenu=null}function na(e,t,r,n,i){var o;if(!n){n=r}if(ot(n,r)<0){o=[n,r],r=o[0],n=o[1]}if(typeof t=="string"){t=e.splitLines(t)}Xo(e,{from:r,to:n,text:t,origin:i})}function ia(e,t,r,n){if(r<e.line){e.line+=n}else if(t<e.line){e.line=t;e.ch=0}}function oa(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],a=true;if(o.ranges){if(!o.copied){o=e[i]=o.deepCopy();o.copied=true}for(var l=0;l<o.ranges.length;l++){ia(o.ranges[l].anchor,t,r,n);ia(o.ranges[l].head,t,r,n)}continue}for(var s=0;s<o.changes.length;++s){var u=o.changes[s];if(r<u.from.line){u.from=it(u.from.line+n,u.from.ch);u.to=it(u.to.line+n,u.to.ch)}else if(t<=u.to.line){a=false;break}}if(!a){e.splice(0,i+1);i=0}}}function aa(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;oa(e.done,r,n,i);oa(e.undone,r,n,i)}function la(e,t,r,n){var i=t,o=t;if(typeof t=="number"){o=Ye(e,ct(e,t))}else{i=et(t)}if(i==null){return null}if(n(o,i)&&e.cm){In(e.cm,i,r)}return o}function sa(e){this.lines=e;this.parent=null;var t=0;for(var r=0;r<e.length;++r){e[r].parent=this;t+=e[r].height}this.height=t}function ua(e){this.children=e;var t=0,r=0;for(var n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize();r+=i.height;i.parent=this}this.size=t;this.height=r;this.parent=null}io.prototype.from=function(){return ut(this.anchor,this.head)},io.prototype.to=function(){return st(this.anchor,this.head)},io.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},sa.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height;ur(i);Tr(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r;this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n){t[n].parent=this}},iterN:function(e,t,r){for(var n=e+t;e<n;++e){if(r(this.lines[e])){return true}}}},ua.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),a=n.height;n.removeInner(e,o);this.height-=a-n.height;if(i==o){this.children.splice(r--,1);n.parent=null}if((t-=o)==0){break}e=0}else{e-=i}}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof sa))){var l=[];this.collapse(l);this.children=[new sa(l)];this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t){this.children[t].collapse(e)}},insertInner:function(e,t,r){this.size+=t.length;this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){i.insertInner(e,t,r);if(i.lines&&i.lines.length>50){var a=i.lines.length%25+25;for(var l=a;l<i.lines.length;){var s=new sa(i.lines.slice(l,l+=25));i.height-=s.height;this.children.splice(++n,0,s);s.parent=this}i.lines=i.lines.slice(0,a);this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(this.children.length<=10){return}var e=this;do{var t=e.children.splice(e.children.length-5,5);var r=new ua(t);if(!e.parent){var n=new ua(e.children);n.parent=e;e.children=[n,r];e=n}else{e.size-=r.size;e.height-=r.height;var i=B(e.parent.children,e);e.parent.children.splice(i+1,0,r)}r.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,r)){return true}if((t-=a)==0){break}e=0}else{e-=o}}}};var ca=function(e,t,r){if(r){for(var n in r){if(r.hasOwnProperty(n)){this[n]=r[n]}}}this.doc=e;this.node=t};function fa(e,t,r){if(ir(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)){oi(e,r)}}function da(n,e,t,r){var i=new ca(n,t,r);var o=n.cm;if(o&&i.noHScroll){o.display.alignWidgets=true}la(n,e,"widget",function(e){var t=e.widgets||(e.widgets=[]);if(i.insertAt==null){t.push(i)}else{t.splice(Math.min(t.length-1,Math.max(0,i.insertAt)),0,i)}i.line=e;if(o&&!rr(n,e)){var r=ir(e)<n.scrollTop;Qe(e,e.height+$r(i));if(r){oi(o,i.height)}o.curOp.forceUpdate=true}return true});if(o){Tr(o,"lineWidgetAdded",o,i,typeof e=="number"?e:et(e))}return i}ca.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=et(r);if(n==null||!t){return}for(var i=0;i<t.length;++i){if(t[i]==this){t.splice(i--,1)}}if(!t.length){r.widgets=null}var o=$r(this);Qe(r,Math.max(0,r.height-o));if(e){Ai(e,function(){fa(e,r,-o);In(e,n,"widget")});Tr(e,"lineWidgetCleared",e,this,n)}},ca.prototype.changed=function(){var e=this;var t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=$r(this)-t;if(!i){return}if(!rr(this.doc,n)){Qe(n,n.height+i)}if(r){Ai(r,function(){r.curOp.forceUpdate=true;fa(r,n,i);Tr(r,"lineWidgetChanged",r,e,et(n))})}},we(ca);var pa=0,ha=function(e,t){this.lines=[];this.type=t;this.doc=e;this.id=++pa};function ma(t,r,n,e,i){if(e&&e.shared){return ga(t,r,n,e,i)}if(t.cm&&!t.cm.curOp){return Ni(t.cm,ma)(t,r,n,e,i)}var o=new ha(t,i),a=ot(r,n);if(e){I(e,o,false)}if(a>0||a==0&&o.clearWhenEmpty!==false){return o}if(o.replacedWith){o.collapsed=true;o.widgetNode=L("span",[o.replacedWith],"CodeMirror-widget");if(!e.handleMouseEvents){o.widgetNode.setAttribute("cm-ignore-events","true")}if(e.insertLeft){o.widgetNode.insertLeft=true}}if(o.collapsed){if(Yt(t,r.line,r,n,o)||r.line!=n.line&&Yt(t,n.line,r,n,o)){throw new Error("Inserting collapsed marker partially overlapping an existing one")}Nt()}if(o.addToHistory){So(t,{from:r,to:n,origin:"markText"},t.sel,NaN)}var l=r.line,s=t.cm,u;t.iter(l,n.line+1,function(e){if(s&&o.collapsed&&!s.options.lineWrapping&&Xt(e)==s.display.maxLine){u=true}if(o.collapsed&&l!=r.line){Qe(e,0)}Ft(e,new Pt(o,l==r.line?r.ch:null,l==n.line?n.ch:null));++l});if(o.collapsed){t.iter(r.line,n.line+1,function(e){if(rr(t,e)){Qe(e,0)}})}if(o.clearOnEnter){he(o,"beforeCursorEnter",function(){return o.clear()})}if(o.readOnly){At();if(t.history.done.length||t.history.undone.length){t.clearHistory()}}if(o.collapsed){o.id=++pa;o.atomic=true}if(s){if(u){s.curOp.updateMaxLine=true}if(o.collapsed){jn(s,r.line,n.line+1)}else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title){for(var c=r.line;c<=n.line;c++){In(s,c,"text")}}if(o.atomic){Uo(s.doc)}Tr(s,"markerAdded",s,o)}return o}ha.prototype.clear=function(){if(this.explicitlyCleared){return}var e=this.doc.cm,t=e&&!e.curOp;if(t){ki(e)}if(xe(this,"clear")){var r=this.find();if(r){Tr(this,"clear",r.from,r.to)}}var n=null,i=null;for(var o=0;o<this.lines.length;++o){var a=this.lines[o];var l=Et(a.markedSpans,this);if(e&&!this.collapsed){In(e,et(a),"text")}else if(e){if(l.to!=null){i=et(a)}if(l.from!=null){n=et(a)}}a.markedSpans=Dt(a.markedSpans,l);if(l.from==null&&this.collapsed&&!rr(this.doc,a)&&e){Qe(a,On(e.display))}}if(e&&this.collapsed&&!e.options.lineWrapping){for(var s=0;s<this.lines.length;++s){var u=Xt(this.lines[s]),c=or(u);if(c>e.display.maxLineLength){e.display.maxLine=u;e.display.maxLineLength=c;e.display.maxLineChanged=true}}}if(n!=null&&e&&this.collapsed){jn(e,n,i+1)}this.lines.length=0;this.explicitlyCleared=true;if(this.atomic&&this.doc.cantEdit){this.doc.cantEdit=false;if(e){Uo(e.doc)}}if(e){Tr(e,"markerCleared",e,this,n,i)}if(t){Ci(e)}if(this.parent){this.parent.clear()}},ha.prototype.find=function(e,t){if(e==null&&this.type=="bookmark"){e=1}var r,n;for(var i=0;i<this.lines.length;++i){var o=this.lines[i];var a=Et(o.markedSpans,this);if(a.from!=null){r=it(t?o:et(o),a.from);if(e==-1){return r}}if(a.to!=null){n=it(t?o:et(o),a.to);if(e==1){return n}}}return r&&{from:r,to:n}},ha.prototype.changed=function(){var o=this;var a=this.find(-1,true),l=this,s=this.doc.cm;if(!a||!s){return}Ai(s,function(){var e=a.line,t=et(a.line);var r=Qr(s,t);if(r){un(r);s.curOp.selectionChanged=s.curOp.forceUpdate=true}s.curOp.updateMaxLine=true;if(!rr(l.doc,e)&&l.height!=null){var n=l.height;l.height=null;var i=$r(l)-n;if(i){Qe(e,e.height+i)}}Tr(s,"markerChanged",s,o)})},ha.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;if(!t.maybeHiddenMarkers||B(t.maybeHiddenMarkers,this)==-1){(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}}this.lines.push(e)},ha.prototype.detachLine=function(e){this.lines.splice(B(this.lines,e),1);if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},we(ha);var va=function(e,t){this.markers=e;this.primary=t;for(var r=0;r<e.length;++r){e[r].parent=this}};function ga(e,r,n,i,o){i=I(i);i.shared=false;var a=[ma(e,r,n,i,o)],l=a[0];var s=i.widgetNode;go(e,function(e){if(s){i.widgetNode=s.cloneNode(true)}a.push(ma(e,ft(e,r),ft(e,n),i,o));for(var t=0;t<e.linked.length;++t){if(e.linked[t].isParent){return}}l=q(a)});return new va(a,l)}function ya(e){return e.findMarks(it(e.first,0),e.clipPos(it(e.lastLine())),function(e){return e.parent})}function ba(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find();var o=e.clipPos(i.from),a=e.clipPos(i.to);if(ot(o,a)){var l=ma(e,o,a,n.primary,n.primary.type);n.markers.push(l);l.parent=n}}}function xa(o){var e=function(e){var t=o[e],r=[t.primary.doc];go(t.primary.doc,function(e){return r.push(e)});for(var n=0;n<t.markers.length;n++){var i=t.markers[n];if(B(r,i.doc)==-1){i.parent=null;t.markers.splice(n--,1)}}};for(var t=0;t<o.length;t++)e(t)}va.prototype.clear=function(){if(this.explicitlyCleared){return}this.explicitlyCleared=true;for(var e=0;e<this.markers.length;++e){this.markers[e].clear()}Tr(this,"clear")},va.prototype.find=function(e,t){return this.primary.find(e,t)},we(va);var wa=0,ka=function(e,t,r,n,i){if(!(this instanceof ka)){return new ka(e,t,r,n,i)}if(r==null){r=0}ua.call(this,[new sa([new lr("",null)])]);this.first=r;this.scrollTop=this.scrollLeft=0;this.cantEdit=false;this.cleanGeneration=1;this.modeFrontier=this.highlightFrontier=r;var o=it(r,0);this.sel=ao(o);this.history=new wo(null);this.id=++wa;this.modeOption=t;this.lineSep=n;this.direction=i=="rtl"?"rtl":"ltr";this.extend=false;if(typeof e=="string"){e=this.splitLines(e)}vo(this,{from:o,to:o,text:e});$o(this,ao(o),H)};ka.prototype=Q(ua.prototype,{constructor:ka,iter:function(e,t,r){if(r){this.iterN(e-this.first,t-e,r)}else{this.iterN(this.first,this.first+this.size,e)}},insert:function(e,t){var r=0;for(var n=0;n<t.length;++n){r+=t[n].height}this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Je(this,this.first,this.first+this.size);if(e===false){return t}return t.join(e||this.lineSeparator())},setValue:Ei(function(e){var t=it(this.first,0),r=this.first+this.size-1;Xo(this,{from:t,to:it(r,Ye(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:true},true);if(this.cm){li(this.cm,0,0)}$o(this,ao(t),H)}),replaceRange:function(e,t,r,n){t=ft(this,t);r=r?ft(this,r):t;na(this,e,t,r,n)},getRange:function(e,t,r){var n=Xe(this,ft(this,e),ft(this,t));if(r===false){return n}return n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(rt(this,e)){return Ye(this,e)}},getLineNumber:function(e){return et(e)},getLineHandleVisualStart:function(e){if(typeof e=="number"){e=Ye(this,e)}return Xt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ft(this,e)},getCursor:function(e){var t=this.sel.primary(),r;if(e==null||e=="head"){r=t.head}else if(e=="anchor"){r=t.anchor}else if(e=="end"||e=="to"||e===false){r=t.to()}else{r=t.from()}return r},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ei(function(e,t,r){zo(this,ft(this,typeof e=="number"?it(e,t||0):e),null,r)}),setSelection:Ei(function(e,t,r){zo(this,ft(this,e),ft(this,t||e),r)}),extendSelection:Ei(function(e,t,r){Fo(this,ft(this,e),t&&ft(this,t),r)}),extendSelections:Ei(function(e,t){jo(this,pt(this,e),t)}),extendSelectionsBy:Ei(function(e,t){var r=Y(this.sel.ranges,e);jo(this,pt(this,r),t)}),setSelections:Ei(function(e,t,r){if(!e.length){return}var n=[];for(var i=0;i<e.length;i++){n[i]=new io(ft(this,e[i].anchor),ft(this,e[i].head))}if(t==null){t=Math.min(e.length-1,this.sel.primIndex)}$o(this,oo(this.cm,n,t),r)}),addSelection:Ei(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new io(ft(this,e),ft(this,t||e)));$o(this,oo(this.cm,n,n.length-1),r)}),getSelection:function(e){var t=this.sel.ranges,r;for(var n=0;n<t.length;n++){var i=Xe(this,t[n].from(),t[n].to());r=r?r.concat(i):i}if(e===false){return r}else{return r.join(e||this.lineSeparator())}},getSelections:function(e){var t=[],r=this.sel.ranges;for(var n=0;n<r.length;n++){var i=Xe(this,r[n].from(),r[n].to());if(e!==false){i=i.join(e||this.lineSeparator())}t[n]=i}return t},replaceSelection:function(e,t,r){var n=[];for(var i=0;i<this.sel.ranges.length;i++){n[i]=e}this.replaceSelections(n,t,r||"+input")},replaceSelections:Ei(function(e,t,r){var n=[],i=this.sel;for(var o=0;o<i.ranges.length;o++){var a=i.ranges[o];n[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:r}}var l=t&&t!="end"&&fo(this,n,t);for(var s=n.length-1;s>=0;s--){Xo(this,n[s])}if(l){Bo(this,l)}else if(this.cm){ai(this.cm)}}),undo:Ei(function(){Qo(this,"undo")}),redo:Ei(function(){Qo(this,"redo")}),undoSelection:Ei(function(){Qo(this,"undo",true)}),redoSelection:Ei(function(){Qo(this,"redo",true)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){var e=this.history,t=0,r=0;for(var n=0;n<e.done.length;n++){if(!e.done[n].ranges){++t}}for(var i=0;i<e.undone.length;i++){if(!e.undone[i].ranges){++r}}return{undo:t,redo:r}},clearHistory:function(){var t=this;this.history=new wo(this.history.maxGeneration);go(this,function(e){return e.history=t.history},true)},markClean:function(){this.cleanGeneration=this.changeGeneration(true)},changeGeneration:function(e){if(e){this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null}return this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Eo(this.history.done),undone:Eo(this.history.undone)}},setHistory:function(e){var t=this.history=new wo(this.history.maxGeneration);t.done=Eo(e.done.slice(0),null,true);t.undone=Eo(e.undone.slice(0),null,true)},setGutterMarker:Ei(function(e,r,n){return la(this,e,"gutter",function(e){var t=e.gutterMarkers||(e.gutterMarkers={});t[r]=n;if(!n&&ne(t)){e.gutterMarkers=null}return true})}),clearGutter:Ei(function(t){var r=this;this.iter(function(e){if(e.gutterMarkers&&e.gutterMarkers[t]){la(r,e,"gutter",function(){e.gutterMarkers[t]=null;if(ne(e.gutterMarkers)){e.gutterMarkers=null}return true})}})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!rt(this,e)){return null}t=e;e=Ye(this,e);if(!e){return null}}else{t=et(e);if(t==null){return null}}return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Ei(function(e,r,n){return la(this,e,r=="gutter"?"gutter":"class",function(e){var t=r=="text"?"textClass":r=="background"?"bgClass":r=="gutter"?"gutterClass":"wrapClass";if(!e[t]){e[t]=n}else if(M(n).test(e[t])){return false}else{e[t]+=" "+n}return true})}),removeLineClass:Ei(function(e,o,a){return la(this,e,o=="gutter"?"gutter":"class",function(e){var t=o=="text"?"textClass":o=="background"?"bgClass":o=="gutter"?"gutterClass":"wrapClass";var r=e[t];if(!r){return false}else if(a==null){e[t]=null}else{var n=r.match(M(a));if(!n){return false}var i=n.index+n[0].length;e[t]=r.slice(0,n.index)+(!n.index||i==r.length?"":" ")+r.slice(i)||null}return true})}),addLineWidget:Ei(function(e,t,r){return da(this,e,t,r)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return ma(this,ft(this,e),ft(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:false,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};e=ft(this,e);return ma(this,e,e,r,"bookmark")},findMarksAt:function(e){e=ft(this,e);var t=[],r=Ye(this,e.line).markedSpans;if(r){for(var n=0;n<r.length;++n){var i=r[n];if((i.from==null||i.from<=e.ch)&&(i.to==null||i.to>=e.ch)){t.push(i.marker.parent||i.marker)}}}return t},findMarks:function(i,o,a){i=ft(this,i);o=ft(this,o);var l=[],s=i.line;this.iter(i.line,o.line+1,function(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;r++){var n=t[r];if(!(n.to!=null&&s==i.line&&i.ch>=n.to||n.from==null&&s!=i.line||n.from!=null&&s==o.line&&n.from>=o.ch)&&(!a||a(n.marker))){l.push(n.marker.parent||n.marker)}}}++s});return l},getAllMarks:function(){var n=[];this.iter(function(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r){if(t[r].from!=null){n.push(t[r].marker)}}}});return n},posFromIndex:function(r){var n,i=this.first,o=this.lineSeparator().length;this.iter(function(e){var t=e.text.length+o;if(t>r){n=r;return true}r-=t;++i});return ft(this,it(i,n))},indexFromPos:function(e){e=ft(this,e);var t=e.ch;if(e.line<this.first||e.ch<0){return 0}var r=this.lineSeparator().length;this.iter(this.first,e.line,function(e){t+=e.text.length+r});return t},copy:function(e){var t=new ka(Je(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);t.scrollTop=this.scrollTop;t.scrollLeft=this.scrollLeft;t.sel=this.sel;t.extend=false;if(e){t.history.undoDepth=this.history.undoDepth;t.setHistory(this.getHistory())}return t},linkedDoc:function(e){if(!e){e={}}var t=this.first,r=this.first+this.size;if(e.from!=null&&e.from>t){t=e.from}if(e.to!=null&&e.to<r){r=e.to}var n=new ka(Je(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);if(e.sharedHist){n.history=this.history}(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist});n.linked=[{doc:this,isParent:true,sharedHist:e.sharedHist}];ba(n,ya(this));return n},unlinkDoc:function(e){if(e instanceof jl){e=e.doc}if(this.linked){for(var t=0;t<this.linked.length;++t){var r=this.linked[t];if(r.doc!=e){continue}this.linked.splice(t,1);e.unlinkDoc(this);xa(ya(this));break}}if(e.history==this.history){var n=[e.id];go(e,function(e){return n.push(e.id)},true);e.history=new wo(null);e.history.done=Eo(this.history.done,n);e.history.undone=Eo(this.history.undone,n)}},iterLinkedDocs:function(e){go(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){if(this.lineSep){return e.split(this.lineSep)}return Ee(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Ei(function(e){if(e!="rtl"){e="ltr"}if(e==this.direction){return}this.direction=e;this.iter(function(e){return e.order=null});if(this.cm){xo(this.cm)}})}),ka.prototype.eachLine=ka.prototype.iter;var Ca=0;function Ma(e){var n=this;Ta(n);if(ye(n,e)||Wr(n.display,e)){return}ke(e);if(w){Ca=+new Date}var t=Dn(n,e,true),r=e.dataTransfer.files;if(!t||n.isReadOnly()){return}if(r&&r.length&&window.FileReader&&window.File){var i=r.length,o=Array(i),a=0;var l=function(){if(++a==i){Ni(n,function(){t=ft(n.doc,t);var e={from:t,to:t,text:n.doc.splitLines(o.filter(function(e){return e!=null}).join(n.doc.lineSeparator())),origin:"paste"};Xo(n.doc,e);Bo(n.doc,ao(t,lo(e)))})()}};var s=function(e,t){if(n.options.allowDropFileTypes&&B(n.options.allowDropFileTypes,e.type)==-1){l();return}var r=new FileReader;r.onerror=function(){return l()};r.onload=function(){var e=r.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)){l();return}o[t]=e;l()};r.readAsText(e)};for(var u=0;u<r.length;u++){s(r[u],u)}}else{if(n.state.draggingText&&n.doc.sel.contains(t)>-1){n.state.draggingText(e);setTimeout(function(){return n.display.input.focus()},20);return}try{var c=e.dataTransfer.getData("Text");if(c){var f;if(n.state.draggingText&&!n.state.draggingText.copy){f=n.listSelections()}Wo(n.doc,ao(t,t));if(f){for(var d=0;d<f.length;++d){na(n.doc,"",f[d].anchor,f[d].head,"drag")}}n.replaceSelection(c,"around","paste");n.display.input.focus()}}catch(e){}}}function Sa(e,t){if(w&&(!e.state.draggingText||+new Date-Ca<100)){Se(t);return}if(ye(e,t)||Wr(e.display,t)){return}t.dataTransfer.setData("Text",e.getSelection());t.dataTransfer.effectAllowed="copyMove";if(t.dataTransfer.setDragImage&&!l){var r=N("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";if(g){r.width=r.height=1;e.display.wrapper.appendChild(r);r._top=r.offsetTop}t.dataTransfer.setDragImage(r,0,0);if(g){r.parentNode.removeChild(r)}}}function _a(e,t){var r=Dn(e,t);if(!r){return}var n=document.createDocumentFragment();Un(e,r,n);if(!e.display.dragCursor){e.display.dragCursor=N("div",null,"CodeMirror-cursors CodeMirror-dragcursors");e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)}O(e.display.dragCursor,n)}function Ta(e){if(e.display.dragCursor){e.display.lineSpace.removeChild(e.display.dragCursor);e.display.dragCursor=null}}function Oa(t){if(!document.getElementsByClassName){return}var e=document.getElementsByClassName("CodeMirror"),r=[];for(var n=0;n<e.length;n++){var i=e[n].CodeMirror;if(i){r.push(i)}}if(r.length){r[0].operation(function(){for(var e=0;e<r.length;e++){t(r[e])}})}}var La=false;function Aa(){if(La){return}Na();La=true}function Na(){var e;he(window,"resize",function(){if(e==null){e=setTimeout(function(){e=null;Oa(Pa)},100)}});he(window,"blur",function(){return Oa(Xn)})}function Pa(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null;t.scrollbarsClipped=false;e.setSize()}for(var Ea={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Da=0;Da<10;Da++){Ea[Da+48]=Ea[Da+96]=String(Da)}for(var Fa=65;Fa<=90;Fa++){Ea[Fa]=String.fromCharCode(Fa)}for(var ja=1;ja<=12;ja++){Ea[ja+111]=Ea[ja+63235]="F"+ja}var Ia={};function za(e){var t=e.split(/-(?!$)/);e=t[t.length-1];var r,n,i,o;for(var a=0;a<t.length-1;a++){var l=t[a];if(/^(cmd|meta|m)$/i.test(l)){o=true}else if(/^a(lt)?$/i.test(l)){r=true}else if(/^(c|ctrl|control)$/i.test(l)){n=true}else if(/^s(hift)?$/i.test(l)){i=true}else{throw new Error("Unrecognized modifier name: "+l)}}if(r){e="Alt-"+e}if(n){e="Ctrl-"+e}if(o){e="Cmd-"+e}if(i){e="Shift-"+e}return e}function Ra(e){var t={};for(var r in e){if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r)){continue}if(n=="..."){delete e[r];continue}var i=Y(r.split(" "),za);for(var o=0;o<i.length;o++){var a=void 0,l=void 0;if(o==i.length-1){l=i.join(" ");a=n}else{l=i.slice(0,o+1).join(" ");a="..."}var s=t[l];if(!s){t[l]=a}else if(s!=a){throw new Error("Inconsistent bindings for "+l)}}delete e[r]}}for(var u in t){e[u]=t[u]}return e}function Ba(e,t,r,n){t=Ua(t);var i=t.call?t.call(e,n):t[e];if(i===false){return"nothing"}if(i==="..."){return"multi"}if(i!=null&&r(i)){return"handled"}if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]"){return Ba(e,t.fallthrough,r,n)}for(var o=0;o<t.fallthrough.length;o++){var a=Ba(e,t.fallthrough[o],r,n);if(a){return a}}}}function $a(e){var t=typeof e=="string"?e:Ea[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function Wa(e,t,r){var n=e;if(t.altKey&&n!="Alt"){e="Alt-"+e}if((x?t.metaKey:t.ctrlKey)&&n!="Ctrl"){e="Ctrl-"+e}if((x?t.ctrlKey:t.metaKey)&&n!="Cmd"){e="Cmd-"+e}if(!r&&t.shiftKey&&n!="Shift"){e="Shift-"+e}return e}function Ha(e,t){if(g&&e.keyCode==34&&e["char"]){return false}var r=Ea[e.keyCode];if(r==null||e.altGraphKey){return false}if(e.keyCode==3&&e.code){r=e.code}return Wa(r,e,t)}function Ua(e){return typeof e=="string"?Ia[e]:e}function Ga(t,e){var r=t.doc.sel.ranges,n=[];for(var i=0;i<r.length;i++){var o=e(r[i]);while(n.length&&ot(o.from,q(n).to)<=0){var a=n.pop();if(ot(a.from,o.from)<0){o.from=a.from;break}}n.push(o)}Ai(t,function(){for(var e=n.length-1;e>=0;e--){na(t.doc,"",n[e].from,n[e].to,"+delete")}ai(t)})}function Ka(e,t,r){var n=ae(e.text,t+r,r);return n<0||n>e.text.length?null:n}function Va(e,t,r){var n=Ka(e,t.ch,r);return n==null?null:new it(t.line,n,r<0?"after":"before")}function Za(e,t,r,n,i){if(e){if(t.getOption("direction")=="rtl"){i=-i}var o=de(r,t.doc.direction);if(o){var a=i<0?q(o):o[0];var l=i<0==(a.level==1);var s=l?"after":"before";var u;if(a.level>0||t.doc.direction=="rtl"){var c=en(t,r);u=i<0?r.text.length-1:0;var f=tn(t,c,u).top;u=le(function(e){return tn(t,c,e).top==f},i<0==(a.level==1)?a.from:a.to-1,u);if(s=="before"){u=Ka(r,u,1)}}else{u=i<0?a.to:a.from}return new it(n,u,s)}}return new it(n,i<0?r.text.length:0,i<0?"before":"after")}function qa(t,r,l,e){var s=de(r,t.doc.direction);if(!s){return Va(r,l,e)}if(l.ch>=r.text.length){l.ch=r.text.length;l.sticky="before"}else if(l.ch<=0){l.ch=0;l.sticky="after"}var n=ce(s,l.ch,l.sticky),i=s[n];if(t.doc.direction=="ltr"&&i.level%2==0&&(e>0?i.to>l.ch:i.from<l.ch)){return Va(r,l,e)}var u=function(e,t){return Ka(r,e instanceof it?e.ch:e,t)};var o;var a=function(e){if(!t.options.lineWrapping){return{begin:0,end:r.text.length}}o=o||en(t,r);return Cn(t,r,o,e)};var c=a(l.sticky=="before"?u(l,-1):l.ch);if(t.doc.direction=="rtl"||i.level==1){var f=i.level==1==e<0;var d=u(l,f?1:-1);if(d!=null&&(!f?d>=i.from&&d>=c.begin:d<=i.to&&d<=c.end)){var p=f?"before":"after";return new it(l.line,d,p)}}var h=function(e,t,r){var n=function(e,t){return t?new it(l.line,u(e,1),"before"):new it(l.line,e,"after")};for(;e>=0&&e<s.length;e+=t){var i=s[e];var o=t>0==(i.level!=1);var a=o?r.begin:u(r.end,-1);if(i.from<=a&&a<i.to){return n(a,o)}a=o?i.from:u(i.to,-1);if(r.begin<=a&&a<r.end){return n(a,o)}}};var m=h(n+e,e,c);if(m){return m}var v=e>0?c.end:u(c.begin,-1);if(v!=null&&!(e>0&&v==r.text.length)){m=h(e>0?0:s.length-1,e,a(v));if(m){return m}}return null}Ia.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ia.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ia.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ia.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ia["default"]=y?Ia.macDefault:Ia.pcDefault;var Ya={selectAll:qo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(r){return Ga(r,function(e){if(e.empty()){var t=Ye(r.doc,e.head.line).text.length;if(e.head.ch==t&&e.head.line<r.lastLine()){return{from:e.head,to:it(e.head.line+1,0)}}else{return{from:e.head,to:it(e.head.line,t)}}}else{return{from:e.from(),to:e.to()}}})},deleteLine:function(t){return Ga(t,function(e){return{from:it(e.from().line,0),to:ft(t.doc,it(e.to().line+1,0))}})},delLineLeft:function(e){return Ga(e,function(e){return{from:it(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(n){return Ga(n,function(e){var t=n.charCoords(e.head,"div").top+5;var r=n.coordsChar({left:0,top:t},"div");return{from:r,to:e.from()}})},delWrappedLineRight:function(n){return Ga(n,function(e){var t=n.charCoords(e.head,"div").top+5;var r=n.coordsChar({left:n.display.lineDiv.offsetWidth+100,top:t},"div");return{from:e.from(),to:r}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(it(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(it(e.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return Xa(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return Qa(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return Ja(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(r){return r.extendSelectionsBy(function(e){var t=r.cursorCoords(e.head,"div").top+5;return r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:t},"div")},G)},goLineLeft:function(r){return r.extendSelectionsBy(function(e){var t=r.cursorCoords(e.head,"div").top+5;return r.coordsChar({left:0,top:t},"div")},G)},goLineLeftSmart:function(n){return n.extendSelectionsBy(function(e){var t=n.cursorCoords(e.head,"div").top+5;var r=n.coordsChar({left:0,top:t},"div");if(r.ch<n.getLine(r.line).search(/\S/)){return Qa(n,e.head)}return r},G)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){var t=[],r=e.listSelections(),n=e.options.tabSize;for(var i=0;i<r.length;i++){var o=r[i].from();var a=z(e.getLine(o.line),o.ch,n);t.push(Z(n-a%n))}e.replaceSelections(t)},defaultTab:function(e){if(e.somethingSelected()){e.indentSelection("add")}else{e.execCommand("insertTab")}},transposeChars:function(a){return Ai(a,function(){var e=a.listSelections(),t=[];for(var r=0;r<e.length;r++){if(!e[r].empty()){continue}var n=e[r].head,i=Ye(a.doc,n.line).text;if(i){if(n.ch==i.length){n=new it(n.line,n.ch-1)}if(n.ch>0){n=new it(n.line,n.ch+1);a.replaceRange(i.charAt(n.ch-1)+i.charAt(n.ch-2),it(n.line,n.ch-2),n,"+transpose")}else if(n.line>a.doc.first){var o=Ye(a.doc,n.line-1).text;if(o){n=new it(n.line,1);a.replaceRange(i.charAt(0)+a.doc.lineSeparator()+o.charAt(o.length-1),it(n.line-1,o.length-1),n,"+transpose")}}}t.push(new io(n,n))}a.setSelections(t)})},newlineAndIndent:function(n){return Ai(n,function(){var e=n.listSelections();for(var t=e.length-1;t>=0;t--){n.replaceRange(n.doc.lineSeparator(),e[t].anchor,e[t].head,"+input")}e=n.listSelections();for(var r=0;r<e.length;r++){n.indentLine(e[r].from().line,null,true)}ai(n)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Xa(e,t){var r=Ye(e.doc,t);var n=Xt(r);if(n!=r){t=et(n)}return Za(true,e,n,t,1)}function Ja(e,t){var r=Ye(e.doc,t);var n=Jt(r);if(n!=r){t=et(n)}return Za(true,e,r,t,-1)}function Qa(e,t){var r=Xa(e,t.line);var n=Ye(e.doc,r.line);var i=de(n,e.doc.direction);if(!i||i[0].level==0){var o=Math.max(0,n.text.search(/\S/));var a=t.line==r.line&&t.ch<=o&&t.ch;return it(r.line,a?0:o,r.sticky)}return r}function el(e,t,r){if(typeof t=="string"){t=Ya[t];if(!t){return false}}e.display.input.ensurePolled();var n=e.display.shift,i=false;try{if(e.isReadOnly()){e.state.suppressEdits=true}if(r){e.display.shift=false}i=t(e)!=W}finally{e.display.shift=n;e.state.suppressEdits=false}return i}function tl(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Ba(t,e.state.keyMaps[n],r,e);if(i){return i}}return e.options.extraKeys&&Ba(t,e.options.extraKeys,r,e)||Ba(t,e.options.keyMap,r,e)}var rl=new R;function nl(e,t,r,n){var i=e.state.keySeq;if(i){if($a(t)){return"handled"}if(/\'$/.test(t)){e.state.keySeq=null}else{rl.set(50,function(){if(e.state.keySeq==i){e.state.keySeq=null;e.display.input.reset()}})}if(il(e,i+" "+t,r,n)){return true}}return il(e,t,r,n)}function il(e,t,r,n){var i=tl(e,t,n);if(i=="multi"){e.state.keySeq=t}if(i=="handled"){Tr(e,"keyHandled",e,t,r)}if(i=="handled"||i=="multi"){ke(r);Vn(e)}return!!i}function ol(t,e){var r=Ha(e,true);if(!r){return false}if(e.shiftKey&&!t.state.keySeq){return nl(t,"Shift-"+r,e,function(e){return el(t,e,true)})||nl(t,r,e,function(e){if(typeof e=="string"?/^go[A-Z]/.test(e):e.motion){return el(t,e)}})}else{return nl(t,r,e,function(e){return el(t,e)})}}function al(t,e,r){return nl(t,"'"+r+"'",e,function(e){return el(t,e,true)})}var ll=null;function sl(e){var t=this;t.curOp.focus=P();if(ye(t,e)){return}if(w&&k<11&&e.keyCode==27){e.returnValue=false}var r=e.keyCode;t.display.shift=r==16||e.shiftKey;var n=ol(t,e);if(g){ll=n?r:null;if(!n&&r==88&&!Fe&&(y?e.metaKey:e.ctrlKey)){t.replaceSelection("",null,"cut")}}if(m&&!y&&!n&&r==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand){document.execCommand("cut")}if(r==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)){ul(t)}}function ul(e){var t=e.display.lineDiv;E(t,"CodeMirror-crosshair");function r(e){if(e.keyCode==18||!e.altKey){S(t,"CodeMirror-crosshair");ve(document,"keyup",r);ve(document,"mouseover",r)}}he(document,"keyup",r);he(document,"mouseover",r)}function cl(e){if(e.keyCode==16){this.doc.sel.shift=false}ye(this,e)}function fl(e){var t=this;if(Wr(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey){return}var r=e.keyCode,n=e.charCode;if(g&&r==ll){ll=null;ke(e);return}if(g&&(!e.which||e.which<10)&&ol(t,e)){return}var i=String.fromCharCode(n==null?r:n);if(i=="\b"){return}if(al(t,e,i)){return}t.display.input.onKeyPress(e)}var dl=400,pl=function(e,t,r){this.time=e;this.pos=t;this.button=r},hl,ml;function vl(e,t){var r=+new Date;if(ml&&ml.compare(r,e,t)){hl=ml=null;return"triple"}else if(hl&&hl.compare(r,e,t)){ml=new pl(r,e,t);hl=null;return"double"}else{hl=new pl(r,e,t);ml=null;return"single"}}function gl(e){var t=this,r=t.display;if(ye(t,e)||r.activeTouch&&r.input.supportsTouch()){return}r.input.ensurePolled();r.shift=e.shiftKey;if(Wr(r,e)){if(!v){r.scroller.draggable=false;setTimeout(function(){return r.scroller.draggable=true},100)}return}if(_l(t,e)){return}var n=Dn(t,e),i=Te(e),o=n?vl(n,i):"single";window.focus();if(i==1&&t.state.selectingText){t.state.selectingText(e)}if(n&&yl(t,i,n,o,e)){return}if(i==1){if(n){xl(t,n,o,e)}else if(_e(e)==r.scroller){ke(e)}}else if(i==2){if(n){Fo(t.doc,n)}setTimeout(function(){return r.input.focus()},20)}else if(i==3){if(C){t.display.input.onContextMenu(e)}else{qn(t)}}}function yl(r,e,n,t,i){var o="Click";if(t=="double"){o="Double"+o}else if(t=="triple"){o="Triple"+o}o=(e==1?"Left":e==2?"Middle":"Right")+o;return nl(r,Wa(o,i),i,function(e){if(typeof e=="string"){e=Ya[e]}if(!e){return false}var t=false;try{if(r.isReadOnly()){r.state.suppressEdits=true}t=e(r,n)!=W}finally{r.state.suppressEdits=false}return t})}function bl(e,t,r){var n=e.getOption("configureMouse");var i=n?n(e,t,r):{};if(i.unit==null){var o=p?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":t=="single"?"char":t=="double"?"word":"line"}if(i.extend==null||e.doc.extend){i.extend=e.doc.extend||r.shiftKey}if(i.addNew==null){i.addNew=y?r.metaKey:r.ctrlKey}if(i.moveOnDrag==null){i.moveOnDrag=!(y?r.altKey:r.ctrlKey)}return i}function xl(e,t,r,n){if(w){setTimeout(j(Zn,e),0)}else{e.curOp.focus=P()}var i=bl(e,r,n);var o=e.doc.sel,a;if(e.options.dragDrop&&Oe&&!e.isReadOnly()&&r=="single"&&(a=o.contains(t))>-1&&(ot((a=o.ranges[a]).from(),t)<0||t.xRel>0)&&(ot(a.to(),t)>0||t.xRel<0)){wl(e,n,t,i)}else{Cl(e,n,t,i)}}function wl(t,r,n,i){var o=t.display,a=false;var l=Ni(t,function(e){if(v){o.scroller.draggable=false}t.state.draggingText=false;ve(o.wrapper.ownerDocument,"mouseup",l);ve(o.wrapper.ownerDocument,"mousemove",s);ve(o.scroller,"dragstart",u);ve(o.scroller,"drop",l);if(!a){ke(e);if(!i.addNew){Fo(t.doc,n,null,null,i.extend)}if(v||w&&k==9){setTimeout(function(){o.wrapper.ownerDocument.body.focus();o.input.focus()},20)}else{o.input.focus()}}});var s=function(e){a=a||Math.abs(r.clientX-e.clientX)+Math.abs(r.clientY-e.clientY)>=10};var u=function(){return a=true};if(v){o.scroller.draggable=true}t.state.draggingText=l;l.copy=!i.moveOnDrag;if(o.scroller.dragDrop){o.scroller.dragDrop()}he(o.wrapper.ownerDocument,"mouseup",l);he(o.wrapper.ownerDocument,"mousemove",s);he(o.scroller,"dragstart",u);he(o.scroller,"drop",l);qn(t);setTimeout(function(){return o.input.focus()},20)}function kl(e,t,r){if(r=="char"){return new io(t,t)}if(r=="word"){return e.findWordAt(t)}if(r=="line"){return new io(it(t.line,0),ft(e.doc,it(t.line+1,0)))}var n=r(e,t);return new io(n.from,n.to)}function Cl(v,e,g,y){var o=v.display,b=v.doc;ke(e);var x,w,k=b.sel,t=k.ranges;if(y.addNew&&!y.extend){w=b.sel.contains(g);if(w>-1){x=t[w]}else{x=new io(g,g)}}else{x=b.sel.primary();w=b.sel.primIndex}if(y.unit=="rectangle"){if(!y.addNew){x=new io(g,g)}g=Dn(v,e,true,true);w=-1}else{var r=kl(v,g,y.unit);if(y.extend){x=Do(x,r.anchor,r.head,y.extend)}else{x=r}}if(!y.addNew){w=0;$o(b,new no([x],0),U);k=b.sel}else if(w==-1){w=t.length;$o(b,oo(v,t.concat([x]),w),{scroll:false,origin:"*mouse"})}else if(t.length>1&&t[w].empty()&&y.unit=="char"&&!y.extend){$o(b,oo(v,t.slice(0,w).concat(t.slice(w+1)),0),{scroll:false,origin:"*mouse"});k=b.sel}else{Io(b,w,x,U)}var C=g;function a(e){if(ot(C,e)==0){return}C=e;if(y.unit=="rectangle"){var t=[],r=v.options.tabSize;var n=z(Ye(b,g.line).text,g.ch,r);var i=z(Ye(b,e.line).text,e.ch,r);var o=Math.min(n,i),a=Math.max(n,i);for(var l=Math.min(g.line,e.line),s=Math.min(v.lastLine(),Math.max(g.line,e.line));l<=s;l++){var u=Ye(b,l).text,c=K(u,o,r);if(o==a){t.push(new io(it(l,c),it(l,c)))}else if(u.length>c){t.push(new io(it(l,c),it(l,K(u,a,r))))}}if(!t.length){t.push(new io(g,g))}$o(b,oo(v,k.ranges.slice(0,w).concat(t),w),{origin:"*mouse",scroll:false});v.scrollIntoView(e)}else{var f=x;var d=kl(v,e,y.unit);var p=f.anchor,h;if(ot(d.anchor,p)>0){h=d.head;p=ut(f.from(),d.anchor)}else{h=d.anchor;p=st(f.to(),d.head)}var m=k.ranges.slice(0);m[w]=Ml(v,new io(ft(b,p),h));$o(b,oo(v,m,w),U)}}var l=o.wrapper.getBoundingClientRect();var s=0;function u(e){var t=++s;var r=Dn(v,e,true,y.unit=="rectangle");if(!r){return}if(ot(r,C)!=0){v.curOp.focus=P();a(r);var n=ei(o,b);if(r.line>=n.to||r.line<n.from){setTimeout(Ni(v,function(){if(s==t){u(e)}}),150)}}else{var i=e.clientY<l.top?-20:e.clientY>l.bottom?20:0;if(i){setTimeout(Ni(v,function(){if(s!=t){return}o.scroller.scrollTop+=i;u(e)}),50)}}}function n(e){v.state.selectingText=false;s=Infinity;if(e){ke(e);o.input.focus()}ve(o.wrapper.ownerDocument,"mousemove",i);ve(o.wrapper.ownerDocument,"mouseup",c);b.history.lastSelOrigin=null}var i=Ni(v,function(e){if(e.buttons===0||!Te(e)){n(e)}else{u(e)}});var c=Ni(v,n);v.state.selectingText=c;he(o.wrapper.ownerDocument,"mousemove",i);he(o.wrapper.ownerDocument,"mouseup",c)}function Ml(e,t){var r=t.anchor;var n=t.head;var i=Ye(e.doc,r.line);if(ot(r,n)==0&&r.sticky==n.sticky){return t}var o=de(i);if(!o){return t}var a=ce(o,r.ch,r.sticky),l=o[a];if(l.from!=r.ch&&l.to!=r.ch){return t}var s=a+(l.from==r.ch==(l.level!=1)?0:1);if(s==0||s==o.length){return t}var u;if(n.line!=r.line){u=(n.line-r.line)*(e.doc.direction=="ltr"?1:-1)>0}else{var c=ce(o,n.ch,n.sticky);var f=c-a||(n.ch-r.ch)*(l.level==1?-1:1);if(c==s-1||c==s){u=f<0}else{u=f>0}}var d=o[s+(u?-1:0)];var p=u==(d.level==1);var h=p?d.from:d.to,m=p?"after":"before";return r.ch==h&&r.sticky==m?t:new io(new it(r.line,h,m),n)}function Sl(e,t,r,n){var i,o;if(t.touches){i=t.touches[0].clientX;o=t.touches[0].clientY}else{try{i=t.clientX;o=t.clientY}catch(t){return false}}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right)){return false}if(n){ke(t)}var a=e.display;var l=a.lineDiv.getBoundingClientRect();if(o>l.bottom||!xe(e,r)){return Me(t)}o-=l.top-a.viewOffset;for(var s=0;s<e.display.gutterSpecs.length;++s){var u=a.gutters.childNodes[s];if(u&&u.getBoundingClientRect().right>=i){var c=tt(e.doc,o);var f=e.display.gutterSpecs[s];ge(e,r,e,c,f.className,t);return Me(t)}}}function _l(e,t){return Sl(e,t,"gutterClick",true)}function Tl(e,t){if(Wr(e.display,t)||Ol(e,t)){return}if(ye(e,t,"contextmenu")){return}if(!C){e.display.input.onContextMenu(t)}}function Ol(e,t){if(!xe(e,"gutterContextMenu")){return false}return Sl(e,t,"gutterContextMenu",false)}function Ll(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-");fn(e)}pl.prototype.compare=function(e,t,r){return this.time+dl>e&&ot(t,this.pos)==0&&r==this.button};var Al={toString:function(){return"CodeMirror.Init"}},Nl={},Pl={};function El(i){var o=i.optionHandlers;function e(e,t,n,r){i.defaults[e]=t;if(n){o[e]=r?function(e,t,r){if(r!=Al){n(e,t,r)}}:n}}i.defineOption=e;i.Init=Al;e("value","",function(e,t){return e.setValue(t)},true);e("mode",null,function(e,t){e.doc.modeOption=t;po(e)},true);e("indentUnit",2,po,true);e("indentWithTabs",false);e("smartIndent",true);e("tabSize",4,function(e){ho(e);fn(e);jn(e)},true);e("lineSeparator",null,function(e,n){e.doc.lineSep=n;if(!n){return}var i=[],o=e.doc.first;e.doc.iter(function(e){for(var t=0;;){var r=e.text.indexOf(n,t);if(r==-1){break}t=r+n.length;i.push(it(o,r))}o++});for(var t=i.length-1;t>=0;t--){na(e.doc,n,i[t],it(i[t].line,i[t].ch+n.length))}});e("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g");if(r!=Al){e.refresh()}});e("specialCharPlaceholder",hr,function(e){return e.refresh()},true);e("electricChars",true);e("inputStyle",d?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},true);e("spellcheck",false,function(e,t){return e.getInputField().spellcheck=t},true);e("autocorrect",false,function(e,t){return e.getInputField().autocorrect=t},true);e("autocapitalize",false,function(e,t){return e.getInputField().autocapitalize=t},true);e("rtlMoveVisually",!h);e("wholeLineUpdateBefore",true);e("theme","default",function(e){Ll(e);Yi(e)},true);e("keyMap","default",function(e,t,r){var n=Ua(t);var i=r!=Al&&Ua(r);if(i&&i.detach){i.detach(e,n)}if(n.attach){n.attach(e,i||null)}});e("extraKeys",null);e("configureMouse",null);e("lineWrapping",false,Fl,true);e("gutters",[],function(e,t){e.display.gutterSpecs=Zi(t,e.options.lineNumbers);Yi(e)},true);e("fixedGutter",true,function(e,t){e.display.gutters.style.left=t?Nn(e.display)+"px":"0";e.refresh()},true);e("coverGutterNextToScrollbar",false,function(e){return gi(e)},true);e("scrollbarStyle","native",function(e){xi(e);gi(e);e.display.scrollbars.setScrollTop(e.doc.scrollTop);e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},true);e("lineNumbers",false,function(e,t){e.display.gutterSpecs=Zi(e.options.gutters,t);Yi(e)},true);e("firstLineNumber",1,Yi,true);e("lineNumberFormatter",function(e){return e},Yi,true);e("showCursorWhenSelecting",false,Wn,true);e("resetSelectionOnContextMenu",true);e("lineWiseCopyCut",true);e("pasteLinesPerSelection",true);e("selectionsMayTouch",false);e("readOnly",false,function(e,t){if(t=="nocursor"){Xn(e);e.display.input.blur()}e.display.input.readOnlyChanged(t)});e("disableInput",false,function(e,t){if(!t){e.display.input.reset()}},true);e("dragDrop",true,Dl);e("allowDropFileTypes",null);e("cursorBlinkRate",530);e("cursorScrollMargin",0);e("cursorHeight",1,Wn,true);e("singleCursorHeightPerLine",true,Wn,true);e("workTime",100);e("workDelay",100);e("flattenSpans",true,ho,true);e("addModeClass",false,ho,true);e("pollInterval",100);e("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t});e("historyEventDelay",1250);e("viewportMargin",10,function(e){return e.refresh()},true);e("maxHighlightLength",1e4,ho,true);e("moveInputWithCursor",true,function(e,t){if(!t){e.display.input.resetPosition()}});e("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""});e("autofocus",null);e("direction","ltr",function(e,t){return e.doc.setDirection(t)},true);e("phrases",null)}function Dl(e,t,r){var n=r&&r!=Al;if(!t!=!n){var i=e.display.dragFunctions;var o=t?he:ve;o(e.display.scroller,"dragstart",i.start);o(e.display.scroller,"dragenter",i.enter);o(e.display.scroller,"dragover",i.over);o(e.display.scroller,"dragleave",i.leave);o(e.display.scroller,"drop",i.drop)}}function Fl(e){if(e.options.lineWrapping){E(e.display.wrapper,"CodeMirror-wrap");e.display.sizer.style.minWidth="";e.display.sizerWidth=null}else{S(e.display.wrapper,"CodeMirror-wrap");ar(e)}En(e);jn(e);fn(e);setTimeout(function(){return gi(e)},100)}function jl(e,t){var r=this;if(!(this instanceof jl)){return new jl(e,t)}this.options=t=t?I(t):{};I(Nl,t,false);var n=t.value;if(typeof n=="string"){n=new ka(n,t.mode,null,t.lineSeparator,t.direction)}else if(t.mode){n.modeOption=t.mode}this.doc=n;var i=new jl.inputStyles[t.inputStyle](this);var o=this.display=new Xi(e,n,i,t);o.wrapper.CodeMirror=this;Ll(this);if(t.lineWrapping){this.display.wrapper.className+=" CodeMirror-wrap"}xi(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:false,delayingBlurEvent:false,focused:false,suppressEdits:false,pasteIncoming:-1,cutIncoming:-1,selectingText:false,draggingText:false,highlight:new R,keySeq:null,specialChars:null};if(t.autofocus&&!d){o.input.focus()}if(w&&k<11){setTimeout(function(){return r.display.input.reset(true)},20)}Il(this);Aa();ki(this);this.curOp.forceUpdate=true;yo(this,n);if(t.autofocus&&!d||this.hasFocus()){setTimeout(j(Yn,this),20)}else{Xn(this)}for(var a in Pl){if(Pl.hasOwnProperty(a)){Pl[a](this,t[a],Al)}}Vi(this);if(t.finishInit){t.finishInit(this)}for(var l=0;l<zl.length;++l){zl[l](this)}Ci(this);if(v&&t.lineWrapping&&getComputedStyle(o.lineDiv).textRendering=="optimizelegibility"){o.lineDiv.style.textRendering="auto"}}function Il(i){var o=i.display;he(o.scroller,"mousedown",Ni(i,gl));if(w&&k<11){he(o.scroller,"dblclick",Ni(i,function(e){if(ye(i,e)){return}var t=Dn(i,e);if(!t||_l(i,e)||Wr(i.display,e)){return}ke(e);var r=i.findWordAt(t);Fo(i.doc,r.anchor,r.head)}))}else{he(o.scroller,"dblclick",function(e){return ye(i,e)||ke(e)})}he(o.scroller,"contextmenu",function(e){return Tl(i,e)});he(o.input.getField(),"contextmenu",function(e){if(!o.scroller.contains(e.target)){Tl(i,e)}});var r,n={end:0};function a(){if(o.activeTouch){r=setTimeout(function(){return o.activeTouch=null},1e3);n=o.activeTouch;n.end=+new Date}}function l(e){if(e.touches.length!=1){return false}var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function s(e,t){if(t.left==null){return true}var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>20*20}he(o.scroller,"touchstart",function(e){if(!ye(i,e)&&!l(e)&&!_l(i,e)){o.input.ensurePolled();clearTimeout(r);var t=+new Date;o.activeTouch={start:t,moved:false,prev:t-n.end<=300?n:null};if(e.touches.length==1){o.activeTouch.left=e.touches[0].pageX;o.activeTouch.top=e.touches[0].pageY}}});he(o.scroller,"touchmove",function(){if(o.activeTouch){o.activeTouch.moved=true}});he(o.scroller,"touchend",function(e){var t=o.activeTouch;if(t&&!Wr(o,e)&&t.left!=null&&!t.moved&&new Date-t.start<300){var r=i.coordsChar(o.activeTouch,"page"),n;if(!t.prev||s(t,t.prev)){n=new io(r,r)}else if(!t.prev.prev||s(t,t.prev.prev)){n=i.findWordAt(r)}else{n=new io(it(r.line,0),ft(i.doc,it(r.line+1,0)))}i.setSelection(n.anchor,n.head);i.focus();ke(e)}a()});he(o.scroller,"touchcancel",a);he(o.scroller,"scroll",function(){if(o.scroller.clientHeight){fi(i,o.scroller.scrollTop);pi(i,o.scroller.scrollLeft,true);ge(i,"scroll",i)}});he(o.scroller,"mousewheel",function(e){return ro(i,e)});he(o.scroller,"DOMMouseScroll",function(e){return ro(i,e)});he(o.wrapper,"scroll",function(){return o.wrapper.scrollTop=o.wrapper.scrollLeft=0});o.dragFunctions={enter:function(e){if(!ye(i,e)){Se(e)}},over:function(e){if(!ye(i,e)){_a(i,e);Se(e)}},start:function(e){return Sa(i,e)},drop:Ni(i,Ma),leave:function(e){if(!ye(i,e)){Ta(i)}}};var e=o.input.getField();he(e,"keyup",function(e){return cl.call(i,e)});he(e,"keydown",Ni(i,sl));he(e,"keypress",Ni(i,fl));he(e,"focus",function(e){return Yn(i,e)});he(e,"blur",function(e){return Xn(i,e)})}jl.defaults=Nl,jl.optionHandlers=Pl;var zl=[];function Rl(e,t,r,n){var i=e.doc,o;if(r==null){r="add"}if(r=="smart"){if(!i.mode.indent){r="prev"}else{o=yt(e,t).state}}var a=e.options.tabSize;var l=Ye(i,t),s=z(l.text,null,a);if(l.stateAfter){l.stateAfter=null}var u=l.text.match(/^\s*/)[0],c;if(!n&&!/\S/.test(l.text)){c=0;r="not"}else if(r=="smart"){c=i.mode.indent(o,l.text.slice(u.length),l.text);if(c==W||c>150){if(!n){return}r="prev"}}if(r=="prev"){if(t>i.first){c=z(Ye(i,t-1).text,null,a)}else{c=0}}else if(r=="add"){c=s+e.options.indentUnit}else if(r=="subtract"){c=s-e.options.indentUnit}else if(typeof r=="number"){c=s+r}c=Math.max(0,c);var f="",d=0;if(e.options.indentWithTabs){for(var p=Math.floor(c/a);p;--p){d+=a;f+="\t"}}if(d<c){f+=Z(c-d)}if(f!=u){na(i,f,it(t,0),it(t,u.length),"+input");l.stateAfter=null;return true}else{for(var h=0;h<i.sel.ranges.length;h++){var m=i.sel.ranges[h];if(m.head.line==t&&m.head.ch<u.length){var v=it(t,u.length);Io(i,h,new io(v,v));break}}}}jl.defineInitHook=function(e){return zl.push(e)};var Bl=null;function $l(e){Bl=e}function Wl(e,t,r,n,i){var o=e.doc;e.display.shift=false;if(!n){n=o.sel}var a=+new Date-200;var l=i=="paste"||e.state.pasteIncoming>a;var s=Ee(t),u=null;if(l&&n.ranges.length>1){if(Bl&&Bl.text.join("\n")==t){if(n.ranges.length%Bl.text.length==0){u=[];for(var c=0;c<Bl.text.length;c++){u.push(o.splitLines(Bl.text[c]))}}}else if(s.length==n.ranges.length&&e.options.pasteLinesPerSelection){u=Y(s,function(e){return[e]})}}var f=e.curOp.updateInput;for(var d=n.ranges.length-1;d>=0;d--){var p=n.ranges[d];var h=p.from(),m=p.to();if(p.empty()){if(r&&r>0){h=it(h.line,h.ch-r)}else if(e.state.overwrite&&!l){m=it(m.line,Math.min(Ye(o,m.line).text.length,m.ch+q(s).length))}else if(l&&Bl&&Bl.lineWise&&Bl.text.join("\n")==t){h=m=it(h.line,0)}}var v={from:h,to:m,text:u?u[d%u.length]:s,origin:i||(l?"paste":e.state.cutIncoming>a?"cut":"+input")};Xo(e.doc,v);Tr(e,"inputRead",e,v)}if(t&&!l){Ul(e,t)}ai(e);if(e.curOp.updateInput<2){e.curOp.updateInput=f}e.curOp.typing=true;e.state.pasteIncoming=e.state.cutIncoming=-1}function Hl(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r){e.preventDefault();if(!t.isReadOnly()&&!t.options.disableInput){Ai(t,function(){return Wl(t,r,0,null,"paste")})}return true}}function Ul(e,t){if(!e.options.electricChars||!e.options.smartIndent){return}var r=e.doc.sel;for(var n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line){continue}var o=e.getModeAt(i.head);var a=false;if(o.electricChars){for(var l=0;l<o.electricChars.length;l++){if(t.indexOf(o.electricChars.charAt(l))>-1){a=Rl(e,i.head.line,"smart");break}}}else if(o.electricInput){if(o.electricInput.test(Ye(e.doc,i.head.line).text.slice(0,i.head.ch))){a=Rl(e,i.head.line,"smart")}}if(a){Tr(e,"electricInput",e,i.head.line)}}}function Gl(e){var t=[],r=[];for(var n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line;var o={anchor:it(i,0),head:it(i+1,0)};r.push(o);t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function Kl(e,t,r,n){e.setAttribute("autocorrect",r?"":"off");e.setAttribute("autocapitalize",n?"":"off");e.setAttribute("spellcheck",!!t)}function Vl(){var e=N("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none");var t=N("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");if(v){e.style.width="1000px"}else{e.setAttribute("wrap","off")}if(c){e.style.border="1px solid black"}Kl(e);return t}function Zl(i){var o=i.optionHandlers;var u=i.helpers={};i.prototype={constructor:i,focus:function(){window.focus();this.display.input.focus()},setOption:function(e,t){var r=this.options,n=r[e];if(r[e]==t&&e!="mode"){return}r[e]=t;if(o.hasOwnProperty(e)){Ni(this,o[e])(this,t,n)}ge(this,"optionChange",this,e)},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Ua(e))},removeKeyMap:function(e){var t=this.state.keyMaps;for(var r=0;r<t.length;++r){if(t[r]==e||t[r].name==e){t.splice(r,1);return true}}},addOverlay:Pi(function(e,t){var r=e.token?e:i.getMode(this.options,e);if(r.startState){throw new Error("Overlays may not be stateful.")}X(this.state.overlays,{mode:r,modeSpec:e,opaque:t&&t.opaque,priority:t&&t.priority||0},function(e){return e.priority});this.state.modeGen++;jn(this)}),removeOverlay:Pi(function(e){var t=this.state.overlays;for(var r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||typeof e=="string"&&n.name==e){t.splice(r,1);this.state.modeGen++;jn(this);return}}}),indentLine:Pi(function(e,t,r){if(typeof t!="string"&&typeof t!="number"){if(t==null){t=this.options.smartIndent?"smart":"prev"}else{t=t?"add":"subtract"}}if(rt(this.doc,e)){Rl(this,e,t,r)}}),indentSelection:Pi(function(e){var t=this.doc.sel.ranges,r=-1;for(var n=0;n<t.length;n++){var i=t[n];if(!i.empty()){var o=i.from(),a=i.to();var l=Math.max(r,o.line);r=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var s=l;s<r;++s){Rl(this,s,e)}var u=this.doc.sel.ranges;if(o.ch==0&&t.length==u.length&&u[n].from().ch>0){Io(this.doc,n,new io(o,u[n].to()),H)}}else if(i.head.line>r){Rl(this,i.head.line,e,true);r=i.head.line;if(n==this.doc.sel.primIndex){ai(this)}}}}),getTokenAt:function(e,t){return Ct(this,e,t)},getLineTokens:function(e,t){return Ct(this,it(e),t,true)},getTokenTypeAt:function(e){e=ft(this.doc,e);var t=gt(this,Ye(this.doc,e.line));var r=0,n=(t.length-1)/2,i=e.ch;var o;if(i==0){o=t[2]}else{for(;;){var a=r+n>>1;if((a?t[a*2-1]:0)>=i){n=a}else if(t[a*2+1]<i){r=a+1}else{o=t[a*2+2];break}}}var l=o?o.indexOf("overlay "):-1;return l<0?o:l==0?null:o.slice(0,l-1)},getModeAt:function(e){var t=this.doc.mode;if(!t.innerMode){return t}return i.innerMode(t,this.getTokenAt(e).state).mode},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!u.hasOwnProperty(t)){return r}var n=u[t],i=this.getModeAt(e);if(typeof i[t]=="string"){if(n[i[t]]){r.push(n[i[t]])}}else if(i[t]){for(var o=0;o<i[t].length;o++){var a=n[i[t][o]];if(a){r.push(a)}}}else if(i.helperType&&n[i.helperType]){r.push(n[i.helperType])}else if(n[i.name]){r.push(n[i.name])}for(var l=0;l<n._global.length;l++){var s=n._global[l];if(s.pred(i,this)&&B(r,s.val)==-1){r.push(s.val)}}return r},getStateAfter:function(e,t){var r=this.doc;e=ct(r,e==null?r.first+r.size-1:e);return yt(this,e+1,t).state},cursorCoords:function(e,t){var r,n=this.doc.sel.primary();if(e==null){r=n.head}else if(typeof e=="object"){r=ft(this.doc,e)}else{r=e?n.from():n.to()}return yn(this,r,t||"page")},charCoords:function(e,t){return gn(this,ft(this.doc,e),t||"page")},coordsChar:function(e,t){e=vn(this,e,t||"page");return wn(this,e.left,e.top)},lineAtHeight:function(e,t){e=vn(this,{top:e,left:0},t||"page").top;return tt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n=false,i;if(typeof e=="number"){var o=this.doc.first+this.doc.size-1;if(e<this.doc.first){e=this.doc.first}else if(e>o){e=o;n=true}i=Ye(this.doc,e)}else{i=e}return mn(this,i,{top:0,left:0},t||"page",r||n).top+(n?this.doc.height-ir(i):0)},defaultTextHeight:function(){return On(this.display)},defaultCharWidth:function(){return Ln(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o=this.display;e=yn(this,ft(this.doc,e));var a=e.bottom,l=e.left;t.style.position="absolute";t.setAttribute("cm-ignore-events","true");this.display.input.setUneditable(t);o.sizer.appendChild(t);if(n=="over"){a=e.top}else if(n=="above"||n=="near"){var s=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);if((n=="above"||e.bottom+t.offsetHeight>s)&&e.top>t.offsetHeight){a=e.top-t.offsetHeight}else if(e.bottom+t.offsetHeight<=s){a=e.bottom}if(l+t.offsetWidth>u){l=u-t.offsetWidth}}t.style.top=a+"px";t.style.left=t.style.right="";if(i=="right"){l=o.sizer.clientWidth-t.offsetWidth;t.style.right="0px"}else{if(i=="left"){l=0}else if(i=="middle"){l=(o.sizer.clientWidth-t.offsetWidth)/2}t.style.left=l+"px"}if(r){ni(this,{left:l,top:a,right:l+t.offsetWidth,bottom:a+t.offsetHeight})}},triggerOnKeyDown:Pi(sl),triggerOnKeyPress:Pi(fl),triggerOnKeyUp:cl,triggerOnMouseDown:Pi(gl),execCommand:function(e){if(Ya.hasOwnProperty(e)){return Ya[e].call(null,this)}},triggerElectric:Pi(function(e){Ul(this,e)}),findPosH:function(e,t,r,n){var i=1;if(t<0){i=-1;t=-t}var o=ft(this.doc,e);for(var a=0;a<t;++a){o=ql(this.doc,o,i,r,n);if(o.hitSide){break}}return o},moveH:Pi(function(t,r){var n=this;this.extendSelectionsBy(function(e){if(n.display.shift||n.doc.extend||e.empty()){return ql(n.doc,e.head,t,r,n.options.rtlMoveVisually)}else{return t<0?e.from():e.to()}},G)}),deleteH:Pi(function(r,n){var e=this.doc.sel,i=this.doc;if(e.somethingSelected()){i.replaceSelection("",null,"+delete")}else{Ga(this,function(e){var t=ql(i,e.head,r,n,false);return r<0?{from:t,to:e.head}:{from:e.head,to:t}})}}),findPosV:function(e,t,r,n){var i=1,o=n;if(t<0){i=-1;t=-t}var a=ft(this.doc,e);for(var l=0;l<t;++l){var s=yn(this,a,"div");if(o==null){o=s.left}else{s.left=o}a=Yl(this,s,i,r);if(a.hitSide){break}}return a},moveV:Pi(function(n,i){var o=this;var a=this.doc,l=[];var s=!this.display.shift&&!a.extend&&a.sel.somethingSelected();a.extendSelectionsBy(function(e){if(s){return n<0?e.from():e.to()}var t=yn(o,e.head,"div");if(e.goalColumn!=null){t.left=e.goalColumn}l.push(t.left);var r=Yl(o,t,n,i);if(i=="page"&&e==a.sel.primary()){oi(o,gn(o,r,"div").top-t.top)}return r},G);if(l.length){for(var e=0;e<a.sel.ranges.length;e++){a.sel.ranges[e].goalColumn=l[e]}}}),findWordAt:function(e){var t=this.doc,r=Ye(t,e.line).text;var n=e.ch,i=e.ch;if(r){var o=this.getHelper(e,"wordChars");if((e.sticky=="before"||i==r.length)&&n){--n}else{++i}var a=r.charAt(n);var l=re(a,o)?function(e){return re(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!re(e)};while(n>0&&l(r.charAt(n-1))){--n}while(i<r.length&&l(r.charAt(i))){++i}}return new io(it(e.line,n),it(e.line,i))},toggleOverwrite:function(e){if(e!=null&&e==this.state.overwrite){return}if(this.state.overwrite=!this.state.overwrite){E(this.display.cursorDiv,"CodeMirror-overwrite")}else{S(this.display.cursorDiv,"CodeMirror-overwrite")}ge(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==P()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Pi(function(e,t){li(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Kr(this)-this.display.barHeight,width:e.scrollWidth-Kr(this)-this.display.barWidth,clientHeight:Zr(this),clientWidth:Vr(this)}},scrollIntoView:Pi(function(e,t){if(e==null){e={from:this.doc.sel.primary().head,to:null};if(t==null){t=this.options.cursorScrollMargin}}else if(typeof e=="number"){e={from:it(e,0),to:null}}else if(e.from==null){e={from:e,to:null}}if(!e.to){e.to=e.from}e.margin=t||0;if(e.from.line!=null){si(this,e)}else{ci(this,e.from,e.to,e.margin)}}),setSize:Pi(function(e,t){var r=this;var n=function(e){return typeof e=="number"||/^\d+$/.test(String(e))?e+"px":e};if(e!=null){this.display.wrapper.style.width=n(e)}if(t!=null){this.display.wrapper.style.height=n(t)}if(this.options.lineWrapping){cn(this)}var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets){for(var t=0;t<e.widgets.length;t++){if(e.widgets[t].noHScroll){In(r,i,"widget");break}}}++i});this.curOp.forceUpdate=true;ge(this,"refresh",this)}),operation:function(e){return Ai(this,e)},startOperation:function(){return ki(this)},endOperation:function(){return Ci(this)},refresh:Pi(function(){var e=this.display.cachedTextHeight;jn(this);this.curOp.forceUpdate=true;fn(this);li(this,this.doc.scrollLeft,this.doc.scrollTop);Ui(this.display);if(e==null||Math.abs(e-On(this.display))>.5){En(this)}ge(this,"refresh",this)}),swapDoc:Pi(function(e){var t=this.doc;t.cm=null;if(this.state.selectingText){this.state.selectingText()}yo(this,e);fn(this);this.display.input.reset();li(this,e.scrollLeft,e.scrollTop);this.curOp.forceScroll=true;Tr(this,"swapDoc",this,t);return t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}};we(i);i.registerHelper=function(e,t,r){if(!u.hasOwnProperty(e)){u[e]=i[e]={_global:[]}}u[e][t]=r};i.registerGlobalHelper=function(e,t,r,n){i.registerHelper(e,t,n);u[e]._global.push({pred:r,val:n})}}function ql(r,n,i,e,o){var t=n;var a=i;var l=Ye(r,n.line);var s=o&&r.cm&&r.cm.getOption("direction")=="rtl"?-i:i;function u(){var e=n.line+s;if(e<r.first||e>=r.first+r.size){return false}n=new it(e,n.ch,n.sticky);return l=Ye(r,e)}function c(e){var t;if(o){t=qa(r.cm,l,n,i)}else{t=Va(l,n,i)}if(t==null){if(!e&&u()){n=Za(o,r.cm,l,n.line,s)}else{return false}}else{n=t}return true}if(e=="char"){c()}else if(e=="column"){c(true)}else if(e=="word"||e=="group"){var f=null,d=e=="group";var p=r.cm&&r.cm.getHelper(n,"wordChars");for(var h=true;;h=false){if(i<0&&!c(!h)){break}var m=l.text.charAt(n.ch)||"\n";var v=re(m,p)?"w":d&&m=="\n"?"n":!d||/\s/.test(m)?null:"p";if(d&&!h&&!v){v="s"}if(f&&f!=v){if(i<0){i=1;c();n.sticky="after"}break}if(v){f=v}if(i>0&&!c(!h)){break}}}var g=Vo(r,n,t,a,true);if(at(t,g)){g.hitSide=true}return g}function Yl(e,t,r,n){var i=e.doc,o=t.left,a;if(n=="page"){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);var s=Math.max(l-.5*On(e.display),3);a=(r>0?t.bottom:t.top)+r*s}else if(n=="line"){a=r>0?t.bottom+3:t.top-3}var u;for(;;){u=wn(e,o,a);if(!u.outside){break}if(r<0?a<=0:a>=i.height){u.hitSide=true;break}a+=r*5}return u}var Xl=function(e){this.cm=e;this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null;this.polling=new R;this.composing=null;this.gracePeriod=false;this.readDOMTimeout=null};function Jl(e,t){var r=Qr(e,t.line);if(!r||r.hidden){return null}var n=Ye(e.doc,t.line);var i=Yr(r,n,t.line);var o=de(n,e.doc.direction),a="left";if(o){var l=ce(o,t.ch);a=l%2?"right":"left"}var s=on(i.map,t.ch,a);s.offset=s.collapse=="right"?s.end:s.start;return s}function Ql(e){for(var t=e;t;t=t.parentNode){if(/CodeMirror-gutter-wrapper/.test(t.className)){return true}}return false}function es(e,t){if(t){e.bad=true}return e}function ts(l,e,t,s,u){var r="",c=false,f=l.doc.lineSeparator(),d=false;function p(t){return function(e){return e.id==t}}function h(){if(c){r+=f;if(d){r+=f}c=d=false}}function m(e){if(e){h();r+=e}}function v(e){if(e.nodeType==1){var t=e.getAttribute("cm-text");if(t){m(t);return}var r=e.getAttribute("cm-marker"),n;if(r){var i=l.findMarks(it(s,0),it(u+1,0),p(+r));if(i.length&&(n=i[0].find(0))){m(Xe(l.doc,n.from,n.to).join(f))}return}if(e.getAttribute("contenteditable")=="false"){return}var o=/^(pre|div|p|li|table|br)$/i.test(e.nodeName);if(!/^br$/i.test(e.nodeName)&&e.textContent.length==0){return}if(o){h()}for(var a=0;a<e.childNodes.length;a++){v(e.childNodes[a])}if(/^(pre|p)$/i.test(e.nodeName)){d=true}if(o){c=true}}else if(e.nodeType==3){m(e.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}}for(;;){v(e);if(e==t){break}e=e.nextSibling;d=false}return r}function rs(e,t,r){var n;if(t==e.display.lineDiv){n=e.display.lineDiv.childNodes[r];if(!n){return es(e.clipPos(it(e.display.viewTo-1)),true)}t=null;r=0}else{for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv){return null}if(n.parentNode&&n.parentNode==e.display.lineDiv){break}}}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n){return ns(o,t,r)}}}function ns(u,e,t){var r=u.text.firstChild,n=false;if(!e||!A(r,e)){return es(it(et(u.line),0),true)}if(e==r){n=true;e=r.childNodes[t];t=0;if(!e){var i=u.rest?q(u.rest):u.line;return es(it(et(i),i.text.length),n)}}var o=e.nodeType==3?e:null,a=e;if(!o&&e.childNodes.length==1&&e.firstChild.nodeType==3){o=e.firstChild;if(t){t=o.nodeValue.length}}while(a.parentNode!=r){a=a.parentNode}var c=u.measure,f=c.maps;function l(e,t,r){for(var n=-1;n<(f?f.length:0);n++){var i=n<0?c.map:f[n];for(var o=0;o<i.length;o+=3){var a=i[o+2];if(a==e||a==t){var l=et(n<0?u.line:u.rest[n]);var s=i[o]+r;if(r<0||a!=e){s=i[o+(r?1:0)]}return it(l,s)}}}}var s=l(o,a,t);if(s){return es(s,n)}for(var d=a.nextSibling,p=o?o.nodeValue.length-t:0;d;d=d.nextSibling){s=l(d,d.firstChild,0);if(s){return es(it(s.line,s.ch-p),n)}else{p+=d.textContent.length}}for(var h=a.previousSibling,m=t;h;h=h.previousSibling){s=l(h,h.firstChild,-1);if(s){return es(it(s.line,s.ch+m),n)}else{m+=h.textContent.length}}}Xl.prototype.init=function(e){var t=this;var a=this,l=a.cm;var s=a.div=e.lineDiv;Kl(s,l.options.spellcheck,l.options.autocorrect,l.options.autocapitalize);he(s,"paste",function(e){if(ye(l,e)||Hl(e,l)){return}if(k<=11){setTimeout(Ni(l,function(){return t.updateFromDOM()}),20)}});he(s,"compositionstart",function(e){t.composing={data:e.data,done:false}});he(s,"compositionupdate",function(e){if(!t.composing){t.composing={data:e.data,done:false}}});he(s,"compositionend",function(e){if(t.composing){if(e.data!=t.composing.data){t.readFromDOMSoon()}t.composing.done=true}});he(s,"touchstart",function(){return a.forceCompositionEnd()});he(s,"input",function(){if(!t.composing){t.readFromDOMSoon()}});function r(e){if(ye(l,e)){return}if(l.somethingSelected()){$l({lineWise:false,text:l.getSelections()});if(e.type=="cut"){l.replaceSelection("",null,"cut")}}else if(!l.options.lineWiseCopyCut){return}else{var t=Gl(l);$l({lineWise:true,text:t.text});if(e.type=="cut"){l.operation(function(){l.setSelections(t.ranges,0,H);l.replaceSelection("",null,"cut")})}}if(e.clipboardData){e.clipboardData.clearData();var r=Bl.text.join("\n");e.clipboardData.setData("Text",r);if(e.clipboardData.getData("Text")==r){e.preventDefault();return}}var n=Vl(),i=n.firstChild;l.display.lineSpace.insertBefore(n,l.display.lineSpace.firstChild);i.value=Bl.text.join("\n");var o=document.activeElement;F(i);setTimeout(function(){l.display.lineSpace.removeChild(n);o.focus();if(o==s){a.showPrimarySelection()}},50)}he(s,"copy",r);he(s,"cut",r)},Xl.prototype.prepareSelection=function(){var e=Hn(this.cm,false);e.focus=this.cm.state.focused;return e},Xl.prototype.showSelection=function(e,t){if(!e||!this.cm.display.view.length){return}if(e.focus||t){this.showPrimarySelection()}this.showMultipleSelections(e)},Xl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Xl.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary();var n=r.from(),i=r.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||i.line<t.display.viewFrom){e.removeAllRanges();return}var o=rs(t,e.anchorNode,e.anchorOffset);var a=rs(t,e.focusNode,e.focusOffset);if(o&&!o.bad&&a&&!a.bad&&ot(ut(o,a),n)==0&&ot(st(o,a),i)==0){return}var l=t.display.view;var s=n.line>=t.display.viewFrom&&Jl(t,n)||{node:l[0].measure.map[2],offset:0};var u=i.line<t.display.viewTo&&Jl(t,i);if(!u){var c=l[l.length-1].measure;var f=c.maps?c.maps[c.maps.length-1]:c.map;u={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(!s||!u){e.removeAllRanges();return}var d=e.rangeCount&&e.getRangeAt(0),p;try{p=_(s.node,s.offset,u.offset,u.node)}catch(e){}if(p){if(!m&&t.state.focused){e.collapse(s.node,s.offset);if(!p.collapsed){e.removeAllRanges();e.addRange(p)}}else{e.removeAllRanges();e.addRange(p)}if(d&&e.anchorNode==null){e.addRange(d)}else if(m){this.startGracePeriod()}}this.rememberSelection()},Xl.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod);this.gracePeriod=setTimeout(function(){e.gracePeriod=false;if(e.selectionChanged()){e.cm.operation(function(){return e.cm.curOp.selectionChanged=true})}},20)},Xl.prototype.showMultipleSelections=function(e){O(this.cm.display.cursorDiv,e.cursors);O(this.cm.display.selectionDiv,e.selection)},Xl.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode;this.lastAnchorOffset=e.anchorOffset;this.lastFocusNode=e.focusNode;this.lastFocusOffset=e.focusOffset},Xl.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount){return false}var t=e.getRangeAt(0).commonAncestorContainer;return A(this.div,t)},Xl.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"){if(!this.selectionInEditor()){this.showSelection(this.prepareSelection(),true)}this.div.focus()}},Xl.prototype.blur=function(){this.div.blur()},Xl.prototype.getField=function(){return this.div},Xl.prototype.supportsTouch=function(){return true},Xl.prototype.receivedFocus=function(){var e=this;if(this.selectionInEditor()){this.pollSelection()}else{Ai(this.cm,function(){return e.cm.curOp.selectionChanged=true})}function t(){if(e.cm.state.focused){e.pollSelection();e.polling.set(e.cm.options.pollInterval,t)}}this.polling.set(this.cm.options.pollInterval,t)},Xl.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Xl.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged()){return}var e=this.getSelection(),t=this.cm;if(f&&a&&this.cm.display.gutterSpecs.length&&Ql(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs});this.blur();this.focus();return}if(this.composing){return}this.rememberSelection();var r=rs(t,e.anchorNode,e.anchorOffset);var n=rs(t,e.focusNode,e.focusOffset);if(r&&n){Ai(t,function(){$o(t.doc,ao(r,n),H);if(r.bad||n.bad){t.curOp.selectionChanged=true}})}},Xl.prototype.pollContent=function(){if(this.readDOMTimeout!=null){clearTimeout(this.readDOMTimeout);this.readDOMTimeout=null}var e=this.cm,t=e.display,r=e.doc.sel.primary();var n=r.from(),i=r.to();if(n.ch==0&&n.line>e.firstLine()){n=it(n.line-1,Ye(e.doc,n.line-1).length)}if(i.ch==Ye(e.doc,i.line).text.length&&i.line<e.lastLine()){i=it(i.line+1,0)}if(n.line<t.viewFrom||i.line>t.viewTo-1){return false}var o,a,l;if(n.line==t.viewFrom||(o=Fn(e,n.line))==0){a=et(t.view[0].line);l=t.view[0].node}else{a=et(t.view[o].line);l=t.view[o-1].node.nextSibling}var s=Fn(e,i.line);var u,c;if(s==t.view.length-1){u=t.viewTo-1;c=t.lineDiv.lastChild}else{u=et(t.view[s+1].line)-1;c=t.view[s+1].node.previousSibling}if(!l){return false}var f=e.doc.splitLines(ts(e,l,c,a,u));var d=Xe(e.doc,it(a,0),it(u,Ye(e.doc,u).text.length));while(f.length>1&&d.length>1){if(q(f)==q(d)){f.pop();d.pop();u--}else if(f[0]==d[0]){f.shift();d.shift();a++}else{break}}var p=0,h=0;var m=f[0],v=d[0],g=Math.min(m.length,v.length);while(p<g&&m.charCodeAt(p)==v.charCodeAt(p)){++p}var y=q(f),b=q(d);var x=Math.min(y.length-(f.length==1?p:0),b.length-(d.length==1?p:0));while(h<x&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1)){++h}if(f.length==1&&d.length==1&&a==n.line){while(p&&p>n.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1)){p--;h++}}f[f.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,"");f[0]=f[0].slice(p).replace(/\u200b+$/,"");var w=it(a,p);var k=it(u,d.length?q(d).length-h:0);if(f.length>1||f[0]||ot(w,k)){na(e.doc,f,w,k,"+input");return true}},Xl.prototype.ensurePolled=function(){this.forceCompositionEnd()},Xl.prototype.reset=function(){this.forceCompositionEnd()},Xl.prototype.forceCompositionEnd=function(){if(!this.composing){return}clearTimeout(this.readDOMTimeout);this.composing=null;this.updateFromDOM();this.div.blur();this.div.focus()},Xl.prototype.readFromDOMSoon=function(){var e=this;if(this.readDOMTimeout!=null){return}this.readDOMTimeout=setTimeout(function(){e.readDOMTimeout=null;if(e.composing){if(e.composing.done){e.composing=null}else{return}}e.updateFromDOM()},80)},Xl.prototype.updateFromDOM=function(){var e=this;if(this.cm.isReadOnly()||!this.pollContent()){Ai(this.cm,function(){return jn(e.cm)})}},Xl.prototype.setUneditable=function(e){e.contentEditable="false"},Xl.prototype.onKeyPress=function(e){if(e.charCode==0||this.composing){return}e.preventDefault();if(!this.cm.isReadOnly()){Ni(this.cm,Wl)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0)}},Xl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Xl.prototype.onContextMenu=function(){},Xl.prototype.resetPosition=function(){},Xl.prototype.needsContentAttribute=true;var is=function(e){this.cm=e;this.prevInput="";this.pollingFast=false;this.polling=new R;this.hasSelection=false;this.composing=null};function os(t,r){if((r=r?I(r):{}).value=t.value,!r.tabindex&&t.tabIndex)r.tabindex=t.tabIndex;if(!r.placeholder&&t.placeholder)r.placeholder=t.placeholder;if(null==r.autofocus){var e=P();r.autofocus=e==t||null!=t.getAttribute("autofocus")&&e==document.body}function n(){t.value=l.getValue()}var i;if(t.form)if(he(t.form,"submit",n),!r.leaveSubmitMethodAlone){var o=t.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}r.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(ve(t.form,"submit",n),r.leaveSubmitMethodAlone||"function"!=typeof t.form.submit||(t.form.submit=i))}},t.style.display="none";var l=jl(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},r);return l}function as(e){e.off=ve,e.on=he,e.wheelEventPixels=to,e.Doc=ka,e.splitLines=Ee,e.countColumn=z,e.findColumn=K,e.isWordChar=te,e.Pass=W,e.signal=ge,e.Line=lr,e.changeEnd=lo,e.scrollbarModel=bi,e.Pos=it,e.cmpPos=ot,e.modes=ze,e.mimeModes=Re,e.resolveMode=We,e.getMode=He,e.modeExtensions=Ue,e.extendMode=Ge,e.copyState=Ke,e.startState=Ze,e.innerMode=Ve,e.commands=Ya,e.keyMap=Ia,e.keyName=Ha,e.isModifierKey=$a,e.lookupKey=Ba,e.normalizeKeyMap=Ra,e.StringStream=qe,e.SharedTextMarker=va,e.TextMarker=ha,e.LineWidget=ca,e.e_preventDefault=ke,e.e_stopPropagation=Ce,e.e_stop=Se,e.addClass=E,e.contains=A,e.rmClass=S,e.keyNames=Ea}is.prototype.init=function(r){var e=this;var n=this,i=this.cm;this.createField(r);var o=this.textarea;r.wrapper.insertBefore(this.wrapper,r.wrapper.firstChild);if(c){o.style.width="0px"}he(o,"input",function(){if(w&&k>=9&&e.hasSelection){e.hasSelection=null}n.poll()});he(o,"paste",function(e){if(ye(i,e)||Hl(e,i)){return}i.state.pasteIncoming=+new Date;n.fastPoll()});function t(e){if(ye(i,e)){return}if(i.somethingSelected()){$l({lineWise:false,text:i.getSelections()})}else if(!i.options.lineWiseCopyCut){return}else{var t=Gl(i);$l({lineWise:true,text:t.text});if(e.type=="cut"){i.setSelections(t.ranges,null,H)}else{n.prevInput="";o.value=t.text.join("\n");F(o)}}if(e.type=="cut"){i.state.cutIncoming=+new Date}}he(o,"cut",t);he(o,"copy",t);he(r.scroller,"paste",function(e){if(Wr(r,e)||ye(i,e)){return}if(!o.dispatchEvent){i.state.pasteIncoming=+new Date;n.focus();return}var t=new Event("paste");t.clipboardData=e.clipboardData;o.dispatchEvent(t)});he(r.lineSpace,"selectstart",function(e){if(!Wr(r,e)){ke(e)}});he(o,"compositionstart",function(){var e=i.getCursor("from");if(n.composing){n.composing.range.clear()}n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}});he(o,"compositionend",function(){if(n.composing){n.poll();n.composing.range.clear();n.composing=null}})},is.prototype.createField=function(e){this.wrapper=Vl();this.textarea=this.wrapper.firstChild},is.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc;var n=Hn(e);if(e.options.moveInputWithCursor){var i=yn(e,r.sel.primary().head,"div");var o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top));n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return n},is.prototype.showSelection=function(e){var t=this.cm,r=t.display;O(r.cursorDiv,e.cursors);O(r.selectionDiv,e.selection);if(e.teTop!=null){this.wrapper.style.top=e.teTop+"px";this.wrapper.style.left=e.teLeft+"px"}},is.prototype.reset=function(e){if(this.contextMenuPending||this.composing){return}var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r;if(t.state.focused){F(this.textarea)}if(w&&k>=9){this.hasSelection=r}}else if(!e){this.prevInput=this.textarea.value="";if(w&&k>=9){this.hasSelection=null}}},is.prototype.getField=function(){return this.textarea},is.prototype.supportsTouch=function(){return false},is.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!d||P()!=this.textarea)){try{this.textarea.focus()}catch(e){}}},is.prototype.blur=function(){this.textarea.blur()},is.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},is.prototype.receivedFocus=function(){this.slowPoll()},is.prototype.slowPoll=function(){var e=this;if(this.pollingFast){return}this.polling.set(this.cm.options.pollInterval,function(){e.poll();if(e.cm.state.focused){e.slowPoll()}})},is.prototype.fastPoll=function(){var t=false,r=this;r.pollingFast=true;function n(){var e=r.poll();if(!e&&!t){t=true;r.polling.set(60,n)}else{r.pollingFast=false;r.slowPoll()}}r.polling.set(20,n)},is.prototype.poll=function(){var e=this;var t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||De(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq){return false}var i=r.value;if(i==n&&!t.somethingSelected()){return false}if(w&&k>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i)){t.display.input.reset();return false}if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(o==8203&&!n){n="​"}if(o==8666){this.reset();return this.cm.execCommand("undo")}}var a=0,l=Math.min(n.length,i.length);while(a<l&&n.charCodeAt(a)==i.charCodeAt(a)){++a}Ai(t,function(){Wl(t,i.slice(a),n.length-a,null,e.composing?"*compose":null);if(i.length>1e3||i.indexOf("\n")>-1){r.value=e.prevInput=""}else{e.prevInput=i}if(e.composing){e.composing.range.clear();e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"})}});return true},is.prototype.ensurePolled=function(){if(this.pollingFast&&this.poll()){this.pollingFast=false}},is.prototype.onKeyPress=function(){if(w&&k>=9){this.hasSelection=null}this.fastPoll()},is.prototype.onContextMenu=function(e){var r=this,n=r.cm,i=n.display,o=r.textarea;if(r.contextMenuPending){r.contextMenuPending()}var t=Dn(n,e),a=i.scroller.scrollTop;if(!t||g){return}var l=n.options.resetSelectionOnContextMenu;if(l&&n.doc.sel.contains(t)==-1){Ni(n,$o)(n.doc,ao(t),H)}var s=o.style.cssText,u=r.wrapper.style.cssText;var c=r.wrapper.offsetParent.getBoundingClientRect();r.wrapper.style.cssText="position: static";o.style.cssText="position: absolute; width: 30px; height: 30px;\n      top: "+(e.clientY-c.top-5)+"px; left: "+(e.clientX-c.left-5)+"px;\n      z-index: 1000; background: "+(w?"rgba(255, 255, 255, .05)":"transparent")+";\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var f;if(v){f=window.scrollY}i.input.focus();if(v){window.scrollTo(null,f)}i.input.reset();if(!n.somethingSelected()){o.value=r.prevInput=" "}r.contextMenuPending=p;i.selForContextMenu=n.doc.sel;clearTimeout(i.detectingSelectAll);function d(){if(o.selectionStart!=null){var e=n.somethingSelected();var t="​"+(e?o.value:"");o.value="⇚";o.value=t;r.prevInput=e?"":"​";o.selectionStart=1;o.selectionEnd=t.length;i.selForContextMenu=n.doc.sel}}function p(){if(r.contextMenuPending!=p){return}r.contextMenuPending=false;r.wrapper.style.cssText=u;o.style.cssText=s;if(w&&k<9){i.scrollbars.setScrollTop(i.scroller.scrollTop=a)}if(o.selectionStart!=null){if(!w||w&&k<9){d()}var e=0,t=function(){if(i.selForContextMenu==n.doc.sel&&o.selectionStart==0&&o.selectionEnd>0&&r.prevInput=="​"){Ni(n,qo)(n)}else if(e++<10){i.detectingSelectAll=setTimeout(t,500)}else{i.selForContextMenu=null;i.input.reset()}};i.detectingSelectAll=setTimeout(t,200)}}if(w&&k>=9){d()}if(C){Se(e);var h=function(){ve(window,"mouseup",h);setTimeout(p,20)};he(window,"mouseup",h)}else{setTimeout(p,50)}},is.prototype.readOnlyChanged=function(e){if(!e){this.reset()}this.textarea.disabled=e=="nocursor"},is.prototype.setUneditable=function(){},is.prototype.needsContentAttribute=false,El(jl),Zl(jl);var ls="iter insert remove copy getEditor constructor".split(" ");for(var ss in ka.prototype){if(ka.prototype.hasOwnProperty(ss)&&B(ls,ss)<0){jl.prototype[ss]=function(e){return function(){return e.apply(this.doc,arguments)}}(ka.prototype[ss])}}return we(ka),jl.inputStyles={textarea:is,contenteditable:Xl},jl.defineMode=function(e){jl.defaults.mode||"null"==e||(jl.defaults.mode=e),function(e,t){2<arguments.length&&(t.dependencies=Array.prototype.slice.call(arguments,2));ze[e]=t}.apply(this,arguments)},jl.defineMIME=function(e,t){Re[e]=t},jl.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),jl.defineMIME("text/plain","null"),jl.defineExtension=function(e,t){jl.prototype[e]=t},jl.defineDocExtension=function(e,t){ka.prototype[e]=t},jl.fromTextArea=function(t,r){(r=r?I(r):{}).value=t.value,!r.tabindex&&t.tabIndex&&(r.tabindex=t.tabIndex);!r.placeholder&&t.placeholder&&(r.placeholder=t.placeholder);if(null==r.autofocus){var e=P();r.autofocus=e==t||null!=t.getAttribute("autofocus")&&e==document.body}function n(){t.value=l.getValue()}var i;if(t.form&&(he(t.form,"submit",n),!r.leaveSubmitMethodAlone)){var o=t.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}r.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(ve(t.form,"submit",n),r.leaveSubmitMethodAlone||"function"!=typeof t.form.submit||(t.form.submit=i))}},t.style.display="none";var l=jl(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},r);return l},function(e){e.off=ve,e.on=he,e.wheelEventPixels=to,e.Doc=ka,e.splitLines=Ee,e.countColumn=z,e.findColumn=K,e.isWordChar=te,e.Pass=W,e.signal=ge,e.Line=lr,e.changeEnd=lo,e.scrollbarModel=bi,e.Pos=it,e.cmpPos=ot,e.modes=ze,e.mimeModes=Re,e.resolveMode=We,e.getMode=He,e.modeExtensions=Ue,e.extendMode=Ge,e.copyState=Ke,e.startState=Ze,e.innerMode=Ve,e.commands=Ya,e.keyMap=Ia,e.keyName=Ha,e.isModifierKey=$a,e.lookupKey=Ba,e.normalizeKeyMap=Ra,e.StringStream=qe,e.SharedTextMarker=va,e.TextMarker=ha,e.LineWidget=ca,e.e_preventDefault=ke,e.e_stopPropagation=Ce,e.e_stop=Se,e.addClass=E,e.contains=A,e.rmClass=S,e.keyNames=Ea}(jl),jl.version="5.51.0",jl}()},"7d2c":function(e,t,r){var n=r("f6b46");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("85cb").default)("15b2a34b",n,!0,{sourceMap:!1,shadowMode:!1})},"7ddc":function(e,t){var r=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},"7e23":function(e,t,r){var i=r("75c4"),o=r("cb3d")("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},"80a9":function(e,t,r){var n=r("c2f7"),i=r("ceac");e.exports=Object.keys||function(e){return n(e,i)}},"81dc":function(e,t,r){var n=r("fb68"),i=r("2346"),o=r("cb3d")("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},"81e7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"83a6":function(e,t,r){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}}},"83e7":function(e,t,r){(e.exports=r("690e")(!1)).push([e.i,".CodeMirror{height:700px;border:1px solid #eee;-webkit-box-shadow:1px 1px 1px #eee;box-shadow:1px 1px 1px #eee}",""])},8569:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,a.default)(e),n="object"===l(t)?(r=t.min||0,t.max):(r=arguments[1],arguments[2]);var i=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],o=e.length-i.length;return r<=o&&(void 0===n||o<=n)};var n,a=(n=r("d076"))&&n.__esModule?n:{default:n};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},8598:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,e,r){if((0,i.default)(t),r&&r.strictMode&&!t.startsWith("+"))return!1;{if(Array.isArray(e))return e.some(function(e){if(o.hasOwnProperty(e)&&o[e].test(t))return!0;return!1});if(e in o)return o[e].test(t);if(!e||"any"===e){for(var n in o){if(o.hasOwnProperty(n))if(o[n].test(t))return!0}return!1}}throw new Error("Invalid locale '".concat(e,"'"))},t.locales=void 0;var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[1356789][0-9]{8}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?1(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nl-NL":/^(\+?31|0)6?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/(?=^(\+?5{2}\-?|0)[1-9]{2}\-?\d{4}\-?\d{4}$)(^(\+?5{2}\-?|0)[1-9]{2}\-?[6-9]{1}\d{3}\-?\d{4}$)|(^(\+?5{2}\-?|0)[1-9]{2}\-?9[6-9]{1}\d{3}\-?\d{4}$)/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-6|89]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([358][0-9]|4[579]|6[67]|7[0135678]|9[189])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};o["en-CA"]=o["en-US"],o["fr-BE"]=o["nl-BE"],o["zh-HK"]=o["en-HK"];var a=Object.keys(o);t.locales=a},"85b3":function(e,t){e.exports=r},"85cb":function(e,t,r){"use strict";function s(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i],a=o[0],l={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};n[a]?n[a].parts.push(l):r.push(n[a]={id:a,parts:[l]})}return r}r.r(t),r.d(t,"default",function(){return h});var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u={},i=n&&(document.head||document.getElementsByTagName("head")[0]),o=null,a=0,c=!1,l=function(){},f=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(a,e,t,r){c=t,f=r||{};var l=s(a,e);return m(l),function(e){for(var t=[],r=0;r<l.length;r++){var n=l[r];(i=u[n.id]).refs--,t.push(i)}e?m(l=s(a,e)):l=[];for(r=0;r<t.length;r++){var i;if(0===(i=t[r]).refs){for(var o=0;o<i.parts.length;o++)i.parts[o]();delete u[i.id]}}}}function m(e){for(var t=0;t<e.length;t++){var r=e[t],n=u[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(g(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var o=[];for(i=0;i<r.parts.length;i++)o.push(g(r.parts[i]));u[r.id]={id:r.id,refs:1,parts:o}}}}function v(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function g(t){var r,n,e=document.querySelector("style["+d+'~="'+t.id+'"]');if(e){if(c)return l;e.parentNode.removeChild(e)}if(p){var i=a++;e=o=o||v(),r=x.bind(null,e,i,!1),n=x.bind(null,e,i,!0)}else e=v(),r=function(e,t){var r=t.css,n=t.media,i=t.sourceMap;n&&e.setAttribute("media",n);f.ssrId&&e.setAttribute(d,t.id);i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,e),n=function(){e.parentNode.removeChild(e)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else n()}}var y,b=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function x(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},"86d4":function(e,t,r){var n=r("064e"),i=r("cc33");e.exports=r("149f")?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},8714:function(e,t,r){"use strict";var n,i,o=r("f1fe"),a=RegExp.prototype.exec,l=String.prototype.replace,s=a,u="lastIndex",c=(n=/a/,i=/b*/g,a.call(n,"a"),a.call(i,"a"),0!==n[u]||0!==i[u]),f=void 0!==/()??/.exec("")[1];(c||f)&&(s=function(e){var t,r,n,i;return f&&(r=new RegExp("^"+this.source+"$(?!\\s)",o.call(this))),c&&(t=this[u]),n=a.call(this,e),c&&n&&(this[u]=this.global?n.index+n[0].length:t),f&&n&&1<n.length&&l.call(n[0],r,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)}),n}),e.exports=s},"8bbf":function(e,t){e.exports=n},"8bc1":function(e,t,r){!function(N){"use strict";function e(e){var t={};for(var r=0;r<e.length;++r){t[e[r].toLowerCase()]=true}return t}N.defineMode("css",function(e,t){var r=t.inline;if(!t.propertyKeywords)t=N.resolveMode("text/css");var o=e.indentUnit,i=t.tokenHooks,n=t.documentTypes||{},a=t.mediaTypes||{},l=t.mediaFeatures||{},s=t.mediaValueKeywords||{},u=t.propertyKeywords||{},c=t.nonStandardPropertyKeywords||{},f=t.fontProperties||{},d=t.counterDescriptors||{},p=t.colorKeywords||{},h=t.valueKeywords||{},m=t.allowNested,v=t.lineComment,g=t.supportsAtComponent===true;var y,b;function x(e,t){y=t;return e}function w(e,t){var r=e.next();if(i[r]){var n=i[r](e,t);if(n!==false)return n}if(r=="@"){e.eatWhile(/[\w\\\-]/);return x("def",e.current())}else if(r=="="||(r=="~"||r=="|")&&e.eat("=")){return x(null,"compare")}else if(r=='"'||r=="'"){t.tokenize=k(r);return t.tokenize(e,t)}else if(r=="#"){e.eatWhile(/[\w\\\-]/);return x("atom","hash")}else if(r=="!"){e.match(/^\s*\w*/);return x("keyword","important")}else if(/\d/.test(r)||r=="."&&e.eat(/\d/)){e.eatWhile(/[\w.%]/);return x("number","unit")}else if(r==="-"){if(/[\d.]/.test(e.peek())){e.eatWhile(/[\w.%]/);return x("number","unit")}else if(e.match(/^-[\w\\\-]*/)){e.eatWhile(/[\w\\\-]/);if(e.match(/^\s*:/,false))return x("variable-2","variable-definition");return x("variable-2","variable")}else if(e.match(/^\w+-/)){return x("meta","meta")}}else if(/[,+>*\/]/.test(r)){return x(null,"select-op")}else if(r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)){return x("qualifier","qualifier")}else if(/[:;{}\[\]\(\)]/.test(r)){return x(null,r)}else if(e.match(/[\w-.]+(?=\()/)){if(/^(url(-prefix)?|domain|regexp)$/.test(e.current().toLowerCase())){t.tokenize=C}return x("variable callee","variable")}else if(/[\w\\\-]/.test(r)){e.eatWhile(/[\w\\\-]/);return x("property","word")}else{return x(null,null)}}function k(i){return function(e,t){var r=false,n;while((n=e.next())!=null){if(n==i&&!r){if(i==")")e.backUp(1);break}r=!r&&n=="\\"}if(n==i||!r&&i!=")")t.tokenize=null;return x("string","string")}}function C(e,t){e.next();if(!e.match(/\s*[\"\')]/,false))t.tokenize=k(")");else t.tokenize=null;return x(null,"(")}function M(e,t,r){this.type=e;this.indent=t;this.prev=r}function S(e,t,r,n){e.context=new M(r,t.indentation()+(n===false?0:o),e.context);return r}function _(e){if(e.context.prev)e.context=e.context.prev;return e.context.type}function T(e,t,r){return A[r.context.type](e,t,r)}function O(e,t,r,n){for(var i=n||1;i>0;i--)r.context=r.context.prev;return T(e,t,r)}function L(e){var t=e.current().toLowerCase();if(h.hasOwnProperty(t))b="atom";else if(p.hasOwnProperty(t))b="keyword";else b="variable"}var A={};A.top=function(e,t,r){if(e=="{"){return S(r,t,"block")}else if(e=="}"&&r.context.prev){return _(r)}else if(g&&/@component/i.test(e)){return S(r,t,"atComponentBlock")}else if(/^@(-moz-)?document$/i.test(e)){return S(r,t,"documentTypes")}else if(/^@(media|supports|(-moz-)?document|import)$/i.test(e)){return S(r,t,"atBlock")}else if(/^@(font-face|counter-style)/i.test(e)){r.stateArg=e;return"restricted_atBlock_before"}else if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e)){return"keyframes"}else if(e&&e.charAt(0)=="@"){return S(r,t,"at")}else if(e=="hash"){b="builtin"}else if(e=="word"){b="tag"}else if(e=="variable-definition"){return"maybeprop"}else if(e=="interpolation"){return S(r,t,"interpolation")}else if(e==":"){return"pseudo"}else if(m&&e=="("){return S(r,t,"parens")}return r.context.type};A.block=function(e,t,r){if(e=="word"){var n=t.current().toLowerCase();if(u.hasOwnProperty(n)){b="property";return"maybeprop"}else if(c.hasOwnProperty(n)){b="string-2";return"maybeprop"}else if(m){b=t.match(/^\s*:(?:\s|$)/,false)?"property":"tag";return"block"}else{b+=" error";return"maybeprop"}}else if(e=="meta"){return"block"}else if(!m&&(e=="hash"||e=="qualifier")){b="error";return"block"}else{return A.top(e,t,r)}};A.maybeprop=function(e,t,r){if(e==":")return S(r,t,"prop");return T(e,t,r)};A.prop=function(e,t,r){if(e==";")return _(r);if(e=="{"&&m)return S(r,t,"propBlock");if(e=="}"||e=="{")return O(e,t,r);if(e=="(")return S(r,t,"parens");if(e=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){b+=" error"}else if(e=="word"){L(t)}else if(e=="interpolation"){return S(r,t,"interpolation")}return"prop"};A.propBlock=function(e,t,r){if(e=="}")return _(r);if(e=="word"){b="property";return"maybeprop"}return r.context.type};A.parens=function(e,t,r){if(e=="{"||e=="}")return O(e,t,r);if(e==")")return _(r);if(e=="(")return S(r,t,"parens");if(e=="interpolation")return S(r,t,"interpolation");if(e=="word")L(t);return"parens"};A.pseudo=function(e,t,r){if(e=="meta")return"pseudo";if(e=="word"){b="variable-3";return r.context.type}return T(e,t,r)};A.documentTypes=function(e,t,r){if(e=="word"&&n.hasOwnProperty(t.current())){b="tag";return r.context.type}else{return A.atBlock(e,t,r)}};A.atBlock=function(e,t,r){if(e=="(")return S(r,t,"atBlock_parens");if(e=="}"||e==";")return O(e,t,r);if(e=="{")return _(r)&&S(r,t,m?"block":"top");if(e=="interpolation")return S(r,t,"interpolation");if(e=="word"){var n=t.current().toLowerCase();if(n=="only"||n=="not"||n=="and"||n=="or")b="keyword";else if(a.hasOwnProperty(n))b="attribute";else if(l.hasOwnProperty(n))b="property";else if(s.hasOwnProperty(n))b="keyword";else if(u.hasOwnProperty(n))b="property";else if(c.hasOwnProperty(n))b="string-2";else if(h.hasOwnProperty(n))b="atom";else if(p.hasOwnProperty(n))b="keyword";else b="error"}return r.context.type};A.atComponentBlock=function(e,t,r){if(e=="}")return O(e,t,r);if(e=="{")return _(r)&&S(r,t,m?"block":"top",false);if(e=="word")b="error";return r.context.type};A.atBlock_parens=function(e,t,r){if(e==")")return _(r);if(e=="{"||e=="}")return O(e,t,r,2);return A.atBlock(e,t,r)};A.restricted_atBlock_before=function(e,t,r){if(e=="{")return S(r,t,"restricted_atBlock");if(e=="word"&&r.stateArg=="@counter-style"){b="variable";return"restricted_atBlock_before"}return T(e,t,r)};A.restricted_atBlock=function(e,t,r){if(e=="}"){r.stateArg=null;return _(r)}if(e=="word"){if(r.stateArg=="@font-face"&&!f.hasOwnProperty(t.current().toLowerCase())||r.stateArg=="@counter-style"&&!d.hasOwnProperty(t.current().toLowerCase()))b="error";else b="property";return"maybeprop"}return"restricted_atBlock"};A.keyframes=function(e,t,r){if(e=="word"){b="variable";return"keyframes"}if(e=="{")return S(r,t,"top");return T(e,t,r)};A.at=function(e,t,r){if(e==";")return _(r);if(e=="{"||e=="}")return O(e,t,r);if(e=="word")b="tag";else if(e=="hash")b="builtin";return"at"};A.interpolation=function(e,t,r){if(e=="}")return _(r);if(e=="{"||e==";")return O(e,t,r);if(e=="word")b="variable";else if(e!="variable"&&e!="("&&e!=")")b="error";return"interpolation"};return{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new M(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||w)(e,t);if(r&&typeof r=="object"){y=r[1];r=r[0]}b=r;if(y!="comment")t.state=A[t.state](y,e,t);return b},indent:function(e,t){var r=e.context,n=t&&t.charAt(0);var i=r.indent;if(r.type=="prop"&&(n=="}"||n==")"))r=r.prev;if(r.prev){if(n=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")){r=r.prev;i=r.indent}else if(n==")"&&(r.type=="parens"||r.type=="atBlock_parens")||n=="{"&&(r.type=="at"||r.type=="atBlock")){i=Math.max(0,r.indent-o)}}return i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:v,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=e(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=e(n),o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],a=e(o),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],s=e(l),u=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],c=e(u),f=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=e(f),p,h=e(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),m,v=e(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),g=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],y=e(g),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=e(b),w=t.concat(n).concat(o).concat(l).concat(u).concat(f).concat(g).concat(b);function k(e,t){var r=false,n;while((n=e.next())!=null){if(r&&n=="/"){t.tokenize=null;break}r=n=="*"}return["comment","comment"]}N.registerHelper("hintWords","css",w),N.defineMIME("text/css",{documentTypes:r,mediaTypes:i,mediaFeatures:a,mediaValueKeywords:s,propertyKeywords:c,nonStandardPropertyKeywords:d,fontProperties:h,counterDescriptors:v,colorKeywords:y,valueKeywords:x,tokenHooks:{"/":function(e,t){if(!e.eat("*"))return false;t.tokenize=k;return k(e,t)}},name:"css"}),N.defineMIME("text/x-scss",{mediaTypes:i,mediaFeatures:a,mediaValueKeywords:s,propertyKeywords:c,nonStandardPropertyKeywords:d,colorKeywords:y,valueKeywords:x,fontProperties:h,allowNested:true,lineComment:"//",tokenHooks:{"/":function(e,t){if(e.eat("/")){e.skipToEnd();return["comment","comment"]}else if(e.eat("*")){t.tokenize=k;return k(e,t)}else{return["operator","operator"]}},":":function(e){if(e.match(/\s*\{/,false))return[null,null];return false},$:function(e){e.match(/^[\w-]+/);if(e.match(/^\s*:/,false))return["variable-2","variable-definition"];return["variable-2","variable"]},"#":function(e){if(!e.eat("{"))return false;return[null,"interpolation"]}},name:"css",helperType:"scss"}),N.defineMIME("text/x-less",{mediaTypes:i,mediaFeatures:a,mediaValueKeywords:s,propertyKeywords:c,nonStandardPropertyKeywords:d,colorKeywords:y,valueKeywords:x,fontProperties:h,allowNested:true,lineComment:"//",tokenHooks:{"/":function(e,t){if(e.eat("/")){e.skipToEnd();return["comment","comment"]}else if(e.eat("*")){t.tokenize=k;return k(e,t)}else{return["operator","operator"]}},"@":function(e){if(e.eat("{"))return[null,"interpolation"];if(e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,false))return false;e.eatWhile(/[\w\\\-]/);if(e.match(/^\s*:/,false))return["variable-2","variable-definition"];return["variable-2","variable"]},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),N.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:i,mediaFeatures:a,propertyKeywords:c,nonStandardPropertyKeywords:d,fontProperties:h,counterDescriptors:v,colorKeywords:y,valueKeywords:x,supportsAtComponent:true,tokenHooks:{"/":function(e,t){if(!e.eat("*"))return false;t.tokenize=k;return k(e,t)}},name:"css",helperType:"gss"})}(r("7c0c"))},"8c18":function(e,t,r){(e.exports=r("690e")(!1)).push([e.i,"/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}",""])},"8df1":function(e,t,r){var n=r("e7ad").document;e.exports=n&&n.documentElement},"94b3":function(e,t,r){var i=r("fb68");e.exports=function(e,t){if(!i(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!i(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!i(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!i(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},9758:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},"9a33":function(e,t,r){"use strict";var f=r("2fd4"),b=r("69b3"),x=r("f63e"),w=r("e754"),k=r("eafa"),C=r("7108"),d=r("8714"),n=r("238a"),M=Math.min,p=[].push,a="split",h="length",m="lastIndex",S=4294967295,_=!n(function(){RegExp(S,"y")});r("0aed")("split",2,function(i,o,v,g){var y;return y="c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[h]||2!="ab"[a](/(?:ab)*/)[h]||4!="."[a](/(.?)(.?)/)[h]||1<"."[a](/()()/)[h]||""[a](/.?/)[h]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!f(e))return v.call(r,e,t);for(var n,i,o,a=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),s=0,u=void 0===t?S:t>>>0,c=new RegExp(e.source,l+"g");(n=d.call(c,r))&&!(s<(i=c[m])&&(a.push(r.slice(s,n.index)),1<n[h]&&n.index<r[h]&&p.apply(a,n.slice(1)),o=n[0][h],s=i,a[h]>=u));)c[m]===n.index&&c[m]++;return s===r[h]?!o&&c.test("")||a.push(""):a.push(r.slice(s)),a[h]>u?a.slice(0,u):a}:"0"[a](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:v.call(this,e,t)}:v,[function(e,t){var r=i(this),n=null==e?void 0:e[o];return void 0!==n?n.call(e,r,t):y.call(String(r),e,t)},function(e,t){var r=g(y,e,this,t,y!==v);if(r.done)return r.value;var n=b(e),i=String(this),o=x(n,RegExp),a=n.unicode,l=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(_?"y":"g"),s=new o(_?n:"^(?:"+n.source+")",l),u=void 0===t?S:t>>>0;if(0==u)return[];if(0===i.length)return null===C(s,i)?[i]:[];for(var c=0,f=0,d=[];f<i.length;){s.lastIndex=_?f:0;var p,h=C(s,_?i:i.slice(f));if(null===h||(p=M(k(s.lastIndex+(_?0:f)),i.length))===c)f=w(i,f,a);else{if(d.push(i.slice(c,f)),d.length===u)return d;for(var m=1;m<=h.length-1;m++)if(d.push(h[m]),d.length===u)return d;f=c=p}}return d.push(i.slice(c)),d}]})},"9dba":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,l.default)(e);var r=s;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),i=0,o=0;o<n.length;o++){var a=n[o];i+=("X"===a?10:+a)*(8-o)}return i%11==0};var n,l=(n=r("d076"))&&n.__esModule?n:{default:n};var s="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},"9f35":function(e,t,r){var n=r("8c18");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("85cb").default)("68069466",n,!0,{sourceMap:!1,shadowMode:!1})},"9f6a":function(t,e,r){(function(e){t.exports=function(){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){i(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};!function(e,t){e(t={exports:{}},t.exports)}(function(e,t){var r;r=a,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,r=String(e),n=r.length,i=-1,o="",a=r.charCodeAt(0);++i<n;)0!=(t=r.charCodeAt(i))?o+=t>=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==a?"\\"+t.toString(16)+" ":0==i&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(i):r.charAt(i):o+="�";return o};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(r)});var s={Vue:null,appOptions:null,template:null};function u(t){return t.loadRootComponent?t.loadRootComponent().then(function(e){return t.rootComponent=e}):Promise.resolve()}function c(i,o,a){return Promise.resolve().then(function(){var e=l({},i.appOptions);if(a.domElement&&!e.el&&(e.el=a.domElement),!e.el){var t="single-spa-application:".concat(a.name);e.el="#".concat(CSS.escape(t)," .single-spa-container");var r=document.getElementById(t);if(r||((r=document.createElement("div")).id=t,document.body.appendChild(r)),!r.querySelector(".single-spa-container")){var n=document.createElement("div");n.className="single-spa-container",r.appendChild(n)}o.domEl=r}return e.render||e.template||!i.rootComponent||(e.render=function(e){return e(i.rootComponent)}),e.data||(e.data={}),e.data=l({},e.data,{},a),o.instance=new i.Vue(e),o.instance.bind&&(o.instance=o.instance.bind(o.instance)),o.instance})}function f(r,n,i){return Promise.resolve().then(function(){var e=l({},r.appOptions.data||{},{},i);for(var t in e)n.instance[t]=e[t]})}function d(e,t){return Promise.resolve().then(function(){t.instance.$destroy(),t.instance.$el.innerHTML="",delete t.instance,t.domEl&&(t.domEl.innerHTML="",delete t.domEl)})}return function(e){if("object"!==n(e))throw new Error("single-spa-vue requires a configuration object");var t=l({},s,{},e);if(!t.Vue)throw new Error("single-spa-vuejs must be passed opts.Vue");if(!t.appOptions)throw new Error("single-spa-vuejs must be passed opts.appOptions");var r={};return{bootstrap:u.bind(null,t,r),mount:c.bind(null,t,r),unmount:d.bind(null,t,r),update:f.bind(null,t,r)}}}()}).call(this,r("d1c9"))},a079:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0===((t=(0,i.default)(t,a)).ignore_whitespace?e.trim().length:e.length)};var n=o(r("d076")),i=o(r("6d97"));function o(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},a080:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,a.default)(t,l);var r=e.split("@"),n=r.pop(),i=[r.join("@"),n];if(i[1]=i[1].toLowerCase(),"gmail.com"===i[1]||"googlemail.com"===i[1]){if(t.gmail_remove_subaddress&&(i[0]=i[0].split("+")[0]),t.gmail_remove_dots&&(i[0]=i[0].replace(/\.+/g,d)),!i[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(i[0]=i[0].toLowerCase()),i[1]=t.gmail_convert_googlemaildotcom?"gmail.com":i[1]}else if(0<=s.indexOf(i[1])){if(t.icloud_remove_subaddress&&(i[0]=i[0].split("+")[0]),!i[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(i[0]=i[0].toLowerCase())}else if(0<=u.indexOf(i[1])){if(t.outlookdotcom_remove_subaddress&&(i[0]=i[0].split("+")[0]),!i[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(i[0]=i[0].toLowerCase())}else if(0<=c.indexOf(i[1])){if(t.yahoo_remove_subaddress){var o=i[0].split("-");i[0]=1<o.length?o.slice(0,-1).join("-"):o[0]}if(!i[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(i[0]=i[0].toLowerCase())}else 0<=f.indexOf(i[1])?((t.all_lowercase||t.yandex_lowercase)&&(i[0]=i[0].toLowerCase()),i[1]="yandex.ru"):t.all_lowercase&&(i[0]=i[0].toLowerCase());return i.join("@")};var n,a=(n=r("6d97"))&&n.__esModule?n:{default:n};var l={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},s=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],c=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],f=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function d(e){return 1<e.length?e:""}e.exports=t.default,e.exports.default=t.default},a212:function(e,t,r){(e.exports=r("690e")(!1)).push([e.i,".svg-icon[data-v-f9f7fefc]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-f9f7fefc]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block}",""])},a215:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),t)return"1"===e||"true"===e;return"0"!==e&&"false"!==e&&""!==e};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},a334:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,i.default)(e);var r=(0,o.default)(t),n=(0,o.default)(e);return!!(n&&r&&n<r)};var i=n(r("d076")),o=n(r("9758"));function n(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},a50e:function(e,t,r){(e.exports=r("690e")(!1)).push([e.i,'.tempTreeMenu svg{color:#f5da9a}.el-tree-node.is-expanded .fa-folder:before{content:"\\F07C"}.fa-folder{color:#f5da9a}.fa-file-code-o,.fa-folder{margin-right:10px}',""])},a73b:function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},a74f:function(e,t,r){(function(d){e.exports=function(){"use strict";var e=function e(t){var r=t.id;var n=t.viewBox;var i=t.content;this.id=r;this.viewBox=n;this.content=i};e.prototype.stringify=function e(){return this.content},e.prototype.toString=function e(){return this.stringify()},e.prototype.destroy=function e(){var t=this;["id","viewBox","content"].forEach(function(e){return delete t[e]})};var n=function(e){var t=!!document.importNode;var r=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;if(t){return document.importNode(r,true)}return r},t=typeof window!=="undefined"?window:typeof d!=="undefined"?d:typeof self!=="undefined"?self:{};function r(e,t){return t={exports:{}},e(t,t.exports),t.exports}var i=r(function(r,e){(function(e,t){if(false){}else{r.exports=t()}})(t,function(){function o(e){var t=e&&typeof e==="object";return t&&Object.prototype.toString.call(e)!=="[object RegExp]"&&Object.prototype.toString.call(e)!=="[object Date]"}function n(e){return Array.isArray(e)?[]:{}}function a(e,t){var r=t&&t.clone===true;return r&&o(e)?u(n(e),e,t):e}function l(r,e,n){var i=r.slice();e.forEach(function(e,t){if(typeof i[t]==="undefined"){i[t]=a(e,n)}else if(o(e)){i[t]=u(r[t],e,n)}else if(r.indexOf(e)===-1){i.push(a(e,n))}});return i}function s(t,r,n){var i={};if(o(t)){Object.keys(t).forEach(function(e){i[e]=a(t[e],n)})}Object.keys(r).forEach(function(e){if(!o(r[e])||!t[e]){i[e]=a(r[e],n)}else{i[e]=u(t[e],r[e],n)}});return i}function u(e,t,r){var n=Array.isArray(t);var i=r||{arrayMerge:l};var o=i.arrayMerge||l;if(n){return Array.isArray(e)?o(e,t,r):a(t,r)}else{return s(e,t,r)}}u.all=function e(t,r){if(!Array.isArray(t)||t.length<2){throw new Error("first argument should be an array with at least two elements")}return t.reduce(function(e,t){return u(e,t,r)})};return u})}),o=r(function(e,t){var r={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=r;e.exports=t.default}),a=function(r){return Object.keys(r).map(function(e){var t=r[e].toString().replace(/"/g,"&quot;");return e+'="'+t+'"'}).join(" ")},l=o.svg,s=o.xlink,u={};u[l.name]=l.uri,u[s.name]=s.uri;var c=function(e,t){if(e===void 0)e="";var r=i(u,t||{});var n=a(r);return"<svg "+n+">"+e+"</svg>"},f;return function(t){function r(){t.apply(this,arguments)}if(t)r.__proto__=t;r.prototype=Object.create(t&&t.prototype);r.prototype.constructor=r;var e={isMounted:{}};e.isMounted.get=function(){return!!this.node};r.createFromExistingNode=function e(t){return new r({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})};r.prototype.destroy=function e(){if(this.isMounted){this.unmount()}t.prototype.destroy.call(this)};r.prototype.mount=function e(t){if(this.isMounted){return this.node}var r=typeof t==="string"?document.querySelector(t):t;var n=this.render();this.node=n;r.appendChild(n);return n};r.prototype.render=function e(){var t=this.stringify();return n(c(t)).childNodes[0]};r.prototype.unmount=function e(){this.node.parentNode.removeChild(this.node)};Object.defineProperties(r.prototype,e);return r}(e)}()}).call(this,r("d1c9"))},a77f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e===e.toUpperCase()};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},aaba:function(e,t,r){"use strict";var n=r("8714");r("e46b")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},ab3a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===o(t)}catch(e){}return!1};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},ae75:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,{min:0,max:65535})};var n,i=(n=r("c454"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},b067:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),n="object"===a(t)?(r=t.min||0,t.max):(r=arguments[1],arguments[2]);var i=encodeURI(e).split(/%..|./).length-1;return r<=i&&(void 0===n||i<=n)};var n,o=(n=r("d076"))&&n.__esModule?n:{default:n};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},b199:function(e,t,r){var n=r("a212");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("85cb").default)("13ea6dea",n,!0,{sourceMap:!1,shadowMode:!1})},b20f:function(e,t,r){var n=r("6ab3");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("85cb").default)("1053eb3b",n,!0,{sourceMap:!1,shadowMode:!1})},b3a6:function(e,t,r){var s=r("09b9"),u=r("eafa"),c=r("f58a");e.exports=function(l){return function(e,t,r){var n,i=s(e),o=u(i.length),a=c(r,o);if(l&&t!=t){for(;a<o;)if((n=i[a++])!=n)return!0}else for(;a<o;a++)if((l||a in i)&&i[a]===t)return l||a||0;return!l&&-1}}},b799:function(e,t,r){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}}},b953:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,i.default)(e)%parseInt(t,10)==0};var n=o(r("d076")),i=o(r("6d46"));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},bc0a:function(e,t,r){var n=r("69b3"),i=r("fb68"),o=r("3a9d");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},bf02:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},bf16:function(e,t,r){var o=r("e7ad"),a=r("86d4"),l=r("e042"),s=r("ec45")("src"),n=r("d07e"),u=(""+n).split("toString");r("7ddc").inspectSource=function(e){return n.call(e)},(e.exports=function(e,t,r,n){var i="function"==typeof r;i&&(l(r,"name")||a(r,"name",t)),e[t]!==r&&(i&&(l(r,s)||a(r,s,e[t]?""+e[t]:u.join(String(t)))),e===o?e[t]=r:n?e[t]?e[t]=r:a(e,t,r):(delete e[t],a(e,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||n.call(this)})},bfe7:function(e,t,r){var n=r("fb68"),i=r("e7ad").document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},c28e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,i.default)(e);var r=(0,o.default)(t),n=(0,o.default)(e);return!!(n&&r&&r<n)};var i=n(r("d076")),o=n(r("9758"));function n(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},c2f7:function(e,t,r){var a=r("e042"),l=r("09b9"),s=r("b3a6")(!1),u=r("56f2")("IE_PROTO");e.exports=function(e,t){var r,n=l(e),i=0,o=[];for(r in n)r!=u&&a(n,r)&&o.push(r);for(;t.length>i;)a(n,r=t[i++])&&(~s(o,r)||o.push(r));return o}},c454:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,l.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?s:u,n=!t.hasOwnProperty("min")||e>=t.min,i=!t.hasOwnProperty("max")||e<=t.max,o=!t.hasOwnProperty("lt")||e<t.lt,a=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&i&&o&&a};var n,l=(n=r("d076"))&&n.__esModule?n:{default:n};var s=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,u=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},c49e:function(e,t,r){"use strict";r.r(t);var n=r("a74f"),i=r.n(n),o=r("dfc6"),a=r.n(o),l=new i.a({id:"icon-icon_add",use:"icon-icon_add-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-icon_add"><defs><style type="text/css"></style></defs><path d="M542.308283 480.000192H926.290631c17.672498 0 31.998785 14.326287 31.998785 31.998785s-14.326287 31.998785-31.998785 31.998785H542.308283v383.981324c0 17.672498-14.326287 31.998785-31.998785 31.998785s-31.998785-14.326287-31.998785-31.998785V543.996738H94.330412c-17.672498 0-31.998785-14.326287-31.998785-31.998785s14.326287-31.998785 31.998785-31.998784h383.981325V96.018867c0-17.672498 14.326287-31.998785 31.998784-31.998785s31.998785 14.326287 31.998785 31.998785v383.981325z" p-id="2977" /></symbol>'});a.a.add(l);t.default=l},c535:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},c865:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`")};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},ca9d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);for(var r=e.length-1;0<=r;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},cb3d:function(e,t,r){var n=r("6798")("wks"),i=r("ec45"),o=r("e7ad").Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},cc33:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},cc57:function(e,t,r){var n=r("064e").f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||r("149f")&&n(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},cc7c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,l.default)(e);var t=e.replace(/[- ]+/g,"");if(!s.test(t))return!1;for(var r,n,i,o=0,a=t.length-1;0<=a;a--)r=t.substring(a,a+1),n=parseInt(r,10),o+=i&&10<=(n*=2)?n%10+1:n,i=!i;return!(o%10!=0||!t)};var n,l=(n=r("d076"))&&n.__esModule?n:{default:n};var s=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default},cc96:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.length;if(!t||t%4!=0||o.test(e))return!1;var r=e.indexOf("=");return-1===r||r===t-1||r===t-2&&"="===e[t-1]};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/[^A-Z0-9+\/=]/i;e.exports=t.default,e.exports.default=t.default},ceac:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},cebe:function(e,t){e.exports=o},d04c:function(e,t){e.exports={title:"DoraCMS Admin",fixedHeader:!0,sidebarLogo:!0,server_api:"",token_key:"admin_doracms",admin_token_key:"admin_doracmsapi",admin_base_path:"/admin",host_project_path:"/Users/dora/Documents/dora/coding.net/egg-cms",qiniuStaticPath:"cms/plugins/static/admin/"}},d076:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t;throw t=null===e?"null":"object"===(t=n(e))&&e.constructor&&e.constructor.hasOwnProperty("name")?e.constructor.name:"a ".concat(t),new TypeError("Expected string but received ".concat(t,"."))}},e.exports=t.default,e.exports.default=t.default},d07e:function(e,t,r){e.exports=r("6798")("native-function-to-string",Function.toString)},d0bc:function(e,t,r){var o=r("69b3");e.exports=function(t,e,r,n){try{return n?e(o(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&o(i.call(t)),e}}},d0c5:function(e,t,r){var o=r("cb3d")("iterator"),a=!1;try{var n=[7][o]();n.return=function(){a=!0},Array.from(n,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var n=[7],i=n[o]();i.next=function(){return{done:r=!0}},n[o]=function(){return i},e(n)}catch(e){}return r}},d1c9:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},d24d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){{if((0,i.default)(e),t in s)return s[t].test(e);if("any"===t){for(var r in s){if(s.hasOwnProperty(r))if(s[r].test(e))return!0}return!1}}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^\d{4}$/,a=/^\d{5}$/,l=/^\d{6}$/,s={AD:/^AD\d{3}$/,AT:o,AU:o,BE:o,BG:o,BR:/^\d{5}-\d{3}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:o,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:o,DZ:a,EE:a,ES:a,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HU:o,ID:a,IL:a,IN:l,IS:/^\d{3}$/,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:o,LV:/^LV\-\d{4}$/,MX:a,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,NL:/^\d{4}\s?[a-z]{2}$/i,NO:o,NZ:o,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:l,RU:l,SA:a,SE:/^\d{3}\s?\d{2}$/,SI:o,SK:/^\d{3}\s?\d{2}$/,TN:o,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:o,ZM:a},u=Object.keys(s);t.locales=u},d25d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default,e.exports.default=t.default},d592:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,l.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var i=n.substr(5);if(""!==i&&!s.test(i))return!1;for(var o=0;o<r.length;o++)if((o!==r.length-1||"base64"!==r[o].toLowerCase())&&!u.test(r[o]))return!1;for(var a=0;a<t.length;a++)if(!c.test(t[a]))return!1;return!0};var n,l=(n=r("d076"))&&n.__esModule?n:{default:n};var s=/^[a-z]+\/[a-z0-9\-\+]+$/i,u=/^[a-z\-]+=[a-z0-9\-]+$/i,c=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},d7b4:function(e,t,r){"use strict";var n=r("6b44");r.n(n).a},da6d:function(e,t){e.exports={}},da9f:function(e,t,r){function n(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}}function i(e){n.call(e.data)}var o,a,l,s=r("4ce5"),u=r("6746"),c=r("8df1"),f=r("bfe7"),d=r("e7ad"),p=d.process,h=d.setImmediate,m=d.clearImmediate,v=d.MessageChannel,g=d.Dispatch,y=0,b={},x="onreadystatechange";h&&m||(h=function(e){for(var t=[],r=1;r<arguments.length;)t.push(arguments[r++]);return b[++y]=function(){u("function"==typeof e?e:Function(e),t)},o(y),y},m=function(e){delete b[e]},"process"==r("75c4")(p)?o=function(e){p.nextTick(s(n,e,1))}:g&&g.now?o=function(e){g.now(s(n,e,1))}:v?(l=(a=new v).port2,a.port1.onmessage=i,o=s(l.postMessage,l,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(o=function(e){d.postMessage(e+"","*")},d.addEventListener("message",i,!1)):o=x in f("script")?function(e){c.appendChild(f("script"))[x]=function(){c.removeChild(this),n.call(e)}}:function(e){setTimeout(s(n,e,1),0)}),e.exports={set:h,clear:m}},db6b:function(e,t,r){e.exports=!r("149f")&&!r("238a")(function(){return 7!=Object.defineProperty(r("bfe7")("div"),"a",{get:function(){return 7}}).a})},dcb7:function(e,t,r){var n=r("4f18"),i=r("cc33"),o=r("09b9"),a=r("94b3"),l=r("e042"),s=r("db6b"),u=Object.getOwnPropertyDescriptor;t.f=r("149f")?u:function(e,t){if(e=o(e),t=a(t,!0),s)try{return u(e,t)}catch(e){}if(l(e,t))return i(!n.f.call(e,t),e[t])}},dd23:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e),!e.includes(","))return!1;var t=e.split(",");return o.test(t[0])&&a.test(t[1])};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=t.default,e.exports.default=t.default},dfae:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"all";(0,i.default)(e);var r=o[t];return r&&r.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default,e.exports.default=t.default},dfc6:function(e,t,r){(function(K){e.exports=function(){"use strict";var t=typeof window!=="undefined"?window:typeof K!=="undefined"?K:typeof self!=="undefined"?self:{};function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}var s=e(function(r,e){(function(e,t){if(false){}else{r.exports=t()}})(t,function(){function o(e){var t=e&&typeof e==="object";return t&&Object.prototype.toString.call(e)!=="[object RegExp]"&&Object.prototype.toString.call(e)!=="[object Date]"}function n(e){return Array.isArray(e)?[]:{}}function a(e,t){var r=t&&t.clone===true;return r&&o(e)?u(n(e),e,t):e}function l(r,e,n){var i=r.slice();e.forEach(function(e,t){if(typeof i[t]==="undefined"){i[t]=a(e,n)}else if(o(e)){i[t]=u(r[t],e,n)}else if(r.indexOf(e)===-1){i.push(a(e,n))}});return i}function s(t,r,n){var i={};if(o(t)){Object.keys(t).forEach(function(e){i[e]=a(t[e],n)})}Object.keys(r).forEach(function(e){if(!o(r[e])||!t[e]){i[e]=a(r[e],n)}else{i[e]=u(t[e],r[e],n)}});return i}function u(e,t,r){var n=Array.isArray(t);var i=r||{arrayMerge:l};var o=i.arrayMerge||l;if(n){return Array.isArray(e)?o(e,t,r):a(t,r)}else{return s(e,t,r)}}u.all=function e(t,r){if(!Array.isArray(t)||t.length<2){throw new Error("first argument should be an array with at least two elements")}return t.reduce(function(e,t){return u(e,t,r)})};return u})});function u(n){n=n||Object.create(null);return{on:function e(t,r){(n[t]||(n[t]=[])).push(r)},off:function e(t,r){if(n[t]){n[t].splice(n[t].indexOf(r)>>>0,1)}},emit:function e(t,r){(n[t]||[]).map(function(e){e(r)});(n["*"]||[]).map(function(e){e(t,r)})}}}var r=e(function(e,t){var r={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=r;e.exports=t.default}),i=function(r){return Object.keys(r).map(function(e){var t=r[e].toString().replace(/"/g,"&quot;");return e+'="'+t+'"'}).join(" ")},n=r.svg,o=r.xlink,a={};a[n.name]=n.uri,a[o.name]=o.uri;var l=function(e,t){if(e===void 0)e="";var r=s(a,t||{});var n=i(r);return"<svg "+n+">"+e+"</svg>"},c=r.svg,f=r.xlink,d={attrs:((p={style:["position: absolute","width: 0","height: 0"].join("; ")})[c.name]=c.uri,p[f.name]=f.uri,p)},p,h=function e(t){this.config=s(d,t||{});this.symbols=[]};h.prototype.add=function e(t){var r=this;var n=r.symbols;var i=this.find(t.id);if(i){n[n.indexOf(i)]=t;return false}n.push(t);return true},h.prototype.remove=function e(t){var r=this;var n=r.symbols;var i=this.find(t);if(i){n.splice(n.indexOf(i),1);i.destroy();return true}return false},h.prototype.find=function e(t){return this.symbols.filter(function(e){return e.id===t})[0]||null},h.prototype.has=function e(t){return this.find(t)!==null},h.prototype.stringify=function e(){var t=this.config;var r=t.attrs;var n=this.symbols.map(function(e){return e.stringify()}).join("");return l(n,r)},h.prototype.toString=function e(){return this.stringify()},h.prototype.destroy=function e(){this.symbols.forEach(function(e){return e.destroy()})};var m=function e(t){var r=t.id;var n=t.viewBox;var i=t.content;this.id=r;this.viewBox=n;this.content=i};m.prototype.stringify=function e(){return this.content},m.prototype.toString=function e(){return this.stringify()},m.prototype.destroy=function e(){var t=this;["id","viewBox","content"].forEach(function(e){return delete t[e]})};var v=function(e){var t=!!document.importNode;var r=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;if(t){return document.importNode(r,true)}return r},g=function(t){function r(){t.apply(this,arguments)}if(t)r.__proto__=t;r.prototype=Object.create(t&&t.prototype);r.prototype.constructor=r;var e={isMounted:{}};e.isMounted.get=function(){return!!this.node};r.createFromExistingNode=function e(t){return new r({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})};r.prototype.destroy=function e(){if(this.isMounted){this.unmount()}t.prototype.destroy.call(this)};r.prototype.mount=function e(t){if(this.isMounted){return this.node}var r=typeof t==="string"?document.querySelector(t):t;var n=this.render();this.node=n;r.appendChild(n);return n};r.prototype.render=function e(){var t=this.stringify();return v(l(t)).childNodes[0]};r.prototype.unmount=function e(){this.node.parentNode.removeChild(this.node)};Object.defineProperties(r.prototype,e);return r}(m),y={autoConfigure:true,mountTo:"body",syncUrlsWithBaseTag:false,listenLocationChangeEvent:true,locationChangeEvent:"locationChange",locationChangeAngularEmitter:false,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:false},b=function(e){return Array.prototype.slice.call(e,0)},x=navigator.userAgent,w={isChrome:/chrome/i.test(x),isFirefox:/firefox/i.test(x),isIE:/msie/i.test(x)||/trident/i.test(x),isEdge:/edge/i.test(x)},k=function(e,t){var r=document.createEvent("CustomEvent");r.initCustomEvent(e,false,false,t);window.dispatchEvent(r)},C=function(e){var t=[];b(e.querySelectorAll("style")).forEach(function(e){e.textContent+="";t.push(e)});return t},M=function(e){return(e||window.location.href).split("#")[0]},S=function(n){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",function(e,t,r){k(n,{oldUrl:r,newUrl:t})})}])},_="linearGradient, radialGradient, pattern",T=function(e,r){if(r===void 0)r=_;b(e.querySelectorAll("symbol")).forEach(function(t){b(t.querySelectorAll(r)).forEach(function(e){t.parentNode.insertBefore(e,t)})});return e};function O(e,i){var t=b(e).reduce(function(e,t){if(!t.attributes){return e}var r=b(t.attributes);var n=i?r.filter(i):r;return e.concat(n)},[]);return t}var L=r.xlink.uri,A="xlink:href",N=/[{}|\\\^\[\]`"<>]/g;function P(e){return e.replace(N,function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()})}function E(e,n,i){b(e).forEach(function(e){var t=e.getAttribute(A);if(t&&t.indexOf(n)===0){var r=t.replace(n,i);e.setAttributeNS(L,A,r)}});return e}var D=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],F=D.map(function(e){return"["+e+"]"}).join(","),j=function(e,t,r,n){var i=P(r);var o=P(n);var a=e.querySelectorAll(F);var l=O(a,function(e){var t=e.localName;var r=e.value;return D.indexOf(t)!==-1&&r.indexOf("url("+i)!==-1});l.forEach(function(e){return e.value=e.value.replace(i,o)});E(t,i,o)},I={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},z=function(l){function e(e){var t=this;if(e===void 0)e={};l.call(this,s(y,e));var r=u();this._emitter=r;this.node=null;var n=this;var i=n.config;if(i.autoConfigure){this._autoConfigure(e)}if(i.syncUrlsWithBaseTag){var o=document.getElementsByTagName("base")[0].getAttribute("href");r.on(I.MOUNT,function(){return t.updateUrls("#",o)})}var a=this._handleLocationChange.bind(this);this._handleLocationChange=a;if(i.listenLocationChangeEvent){window.addEventListener(i.locationChangeEvent,a)}if(i.locationChangeAngularEmitter){S(i.locationChangeEvent)}r.on(I.MOUNT,function(e){if(i.moveGradientsOutsideSymbol){T(e)}});r.on(I.SYMBOL_MOUNT,function(e){if(i.moveGradientsOutsideSymbol){T(e.parentNode)}if(w.isIE||w.isEdge){C(e)}})}if(l)e.__proto__=l;e.prototype=Object.create(l&&l.prototype);e.prototype.constructor=e;var t={isMounted:{}};t.isMounted.get=function(){return!!this.node};e.prototype._autoConfigure=function e(t){var r=this;var n=r.config;if(typeof t.syncUrlsWithBaseTag==="undefined"){n.syncUrlsWithBaseTag=typeof document.getElementsByTagName("base")[0]!=="undefined"}if(typeof t.locationChangeAngularEmitter==="undefined"){n.locationChangeAngularEmitter="angular"in window}if(typeof t.moveGradientsOutsideSymbol==="undefined"){n.moveGradientsOutsideSymbol=w.isFirefox}};e.prototype._handleLocationChange=function e(t){var r=t.detail;var n=r.oldUrl;var i=r.newUrl;this.updateUrls(n,i)};e.prototype.add=function e(t){var r=this;var n=l.prototype.add.call(this,t);if(this.isMounted&&n){t.mount(r.node);this._emitter.emit(I.SYMBOL_MOUNT,t.node)}return n};e.prototype.attach=function e(t){var r=this;var n=this;if(n.isMounted){return n.node}var i=typeof t==="string"?document.querySelector(t):t;n.node=i;this.symbols.forEach(function(e){e.mount(n.node);r._emitter.emit(I.SYMBOL_MOUNT,e.node)});b(i.querySelectorAll("symbol")).forEach(function(e){var t=g.createFromExistingNode(e);t.node=e;n.add(t)});this._emitter.emit(I.MOUNT,i);return i};e.prototype.destroy=function e(){var t=this;var r=t.config;var n=t.symbols;var i=t._emitter;n.forEach(function(e){return e.destroy()});i.off("*");window.removeEventListener(r.locationChangeEvent,this._handleLocationChange);if(this.isMounted){this.unmount()}};e.prototype.mount=function e(t,r){if(t===void 0)t=this.config.mountTo;if(r===void 0)r=false;var n=this;if(n.isMounted){return n.node}var i=typeof t==="string"?document.querySelector(t):t;var o=n.render();this.node=o;if(r&&i.childNodes[0]){i.insertBefore(o,i.childNodes[0])}else{i.appendChild(o)}this._emitter.emit(I.MOUNT,o);return o};e.prototype.render=function e(){return v(this.stringify())};e.prototype.unmount=function e(){this.node.parentNode.removeChild(this.node)};e.prototype.updateUrls=function e(t,r){if(!this.isMounted){return false}var n=document.querySelectorAll(this.config.usagesToUpdate);j(this.node,n,M(t)+"#",M(r)+"#");return true};Object.defineProperties(e.prototype,t);return e}(h),R=e(function(r){
  /*!
    * domready (c) Dustin Diaz 2014 - License MIT
    */
  !function(e,t){{r.exports=t()}}("domready",function(){var t=[],e,r=document,n=r.documentElement.doScroll,i="DOMContentLoaded",o=(n?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);if(!o){r.addEventListener(i,e=function(){r.removeEventListener(i,e);o=1;while(e=t.shift()){e()}})}return function(e){o?setTimeout(e,0):t.push(e)}})}),B="__SVG_SPRITE_NODE__",$="__SVG_SPRITE__",W,H;if(!!window[$]){H=window[$]}else{H=new z({attrs:{id:B}});window[$]=H}var U=function(){var e=document.getElementById(B);if(e){H.attach(e)}else{H.mount(document.body,true)}},G;if(document.body){U()}else{R(U)}return H}()}).call(this,r("d1c9"))},e005:function(e,t,n){function i(){}var o=n("69b3"),a=n("0dc8"),l=n("ceac"),s=n("56f2")("IE_PROTO"),u="prototype",c=function(){var e,t=n("bfe7")("iframe"),r=l.length;for(t.style.display="none",n("8df1").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c[u][l[r]];return c()};e.exports=Object.create||function(e,t){var r;return null!==e?(i[u]=o(e),r=new i,i[u]=null,r[s]=e):r=c(),void 0===t?r:a(r,t)}},e042:function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},e04f:function(n,i,o){var a,l;
  /*!
   * JavaScript Cookie v2.2.1
   * https://github.com/js-cookie/js-cookie
   *
   * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
   * Released under the MIT license
   */!function(e){if(void 0===(l="function"==typeof(a=e)?a.call(i,o,i,n):a)||(n.exports=l),n.exports=e(),!!0){var t=window.Cookies,r=window.Cookies=e();r.noConflict=function(){return window.Cookies=t,r}}}(function(){function l(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function u(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function e(s){function a(){}function r(e,t,r){if("undefined"!=typeof document){"number"==typeof(r=l({path:"/"},a.defaults,r)).expires&&(r.expires=new Date(+new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var n=JSON.stringify(t);/^[\{\[]/.test(n)&&(t=n)}catch(e){}t=s.write?s.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var i="";for(var o in r)r[o]&&(i+="; "+o,!0!==r[o]&&(i+="="+r[o].split(";")[0]));return document.cookie=e+"="+t+i}}function t(e,t){if("undefined"!=typeof document){for(var r={},n=document.cookie?document.cookie.split("; "):[],i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");t||'"'!==a.charAt(0)||(a=a.slice(1,-1));try{var l=u(o[0]);if(a=(s.read||s)(a,l)||u(a),t)try{a=JSON.parse(a)}catch(e){}if(r[l]=a,e===l)break}catch(e){}}return e?r[e]:r}}return a.set=r,a.get=function(e){return t(e,!1)},a.getJSON=function(e){return t(e,!0)},a.remove=function(e,t){r(e,"",l(t,{expires:-1}))},a.defaults={},a.withConverter=e,a}(function(){})})},e10e:function(e,t,r){var n=r("008a"),i=r("80a9");r("f0cc")("keys",function(){return function(e){return i(n(e))}})},e118:function(e,t,r){"use strict";var d=r("149f"),p=r("80a9"),h=r("2f77"),m=r("4f18"),v=r("008a"),g=r("224c"),i=Object.assign;e.exports=!i||r("238a")(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=i({},e)[r]||Object.keys(i({},t)).join("")!=n})?function(e,t){for(var r=v(e),n=arguments.length,i=1,o=h.f,a=m.f;i<n;)for(var l,s=g(arguments[i++]),u=o?p(s).concat(o(s)):p(s),c=u.length,f=0;f<c;)l=u[f++],d&&!a.call(s,l)||(r[l]=s[l]);return r}:i},e247:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),0<=["true","false","1","0"].indexOf(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},e2a1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),(t=(0,n.default)(t,s)).locale in a.decimal)return!(0,o.default)(u,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var n=l(r("6d97")),i=l(r("d076")),o=l(r("eec2")),a=r("25dc");function l(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default,e.exports.default=t.default},e44b:function(e,t,r){"use strict";var n=r("0e8b"),i=r("475d"),o=r("da6d"),a=r("09b9");e.exports=r("492d")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},e46b:function(e,t,r){var m=r("e7ad"),v=r("7ddc"),g=r("86d4"),y=r("bf16"),b=r("4ce5"),x="prototype",w=function(e,t,r){var n,i,o,a,l=e&w.F,s=e&w.G,u=e&w.S,c=e&w.P,f=e&w.B,d=s?m:u?m[t]||(m[t]={}):(m[t]||{})[x],p=s?v:v[t]||(v[t]={}),h=p[x]||(p[x]={});for(n in s&&(r=t),r)o=((i=!l&&d&&void 0!==d[n])?d:r)[n],a=f&&i?b(o,m):c&&"function"==typeof o?b(Function.call,o):o,d&&y(d,n,o,e&w.U),p[n]!=o&&g(p,n,a),c&&h[n]!=o&&(h[n]=o)};m.core=v,w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,e.exports=w},e654:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e===t};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},e697:function(e,t,r){"use strict";var n=r("e46b"),i=r("013f")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(e,t){return i(this,e,1<arguments.length?t:void 0)}}),r("0e8b")("find")},e74f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){{if((0,i.default)(e),t in o)return o[t](e);if("any"===t){for(var r in o){if(o.hasOwnProperty(r))if((0,o[r])(e))return!0}return!1}}throw new Error("Invalid locale '".concat(t,"'"))};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o={ES:function(e){(0,i.default)(e);var t={X:0,Y:1,Z:2},r=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(r))return!1;var n=r.slice(0,-1).replace(/[X,Y,Z]/g,function(e){return t[e]});return r.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n%23])},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var r,n=t,i=0,o=0;o<n.length;o++)i+=9<(r=Number(n[o])*(o%2+1))?r-9:r;return i%10==0},"zh-TW":function(e){var i={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},t=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(t)&&Array.from(t).reduce(function(e,t,r){if(0!==r)return 9===r?(10-e%10-Number(t))%10==0:e+Number(t)*(9-r);var n=i[t];return n%10*9+Math.floor(n/10)},0)}};e.exports=t.default,e.exports.default=t.default},e754:function(e,t,r){"use strict";var n=r("fc81")(!0);e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},e7ad:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},e9a8:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^([A-Za-z0-9\-_~+\/]+[=]{0,2})\.([A-Za-z0-9\-_~+\/]+[=]{0,2})(?:\.([A-Za-z0-9\-_~+\/]+[=]{0,2}))?$/;e.exports=t.default,e.exports.default=t.default},e9cd:function(e,t,r){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"OK",clear:"クリア"},datepicker:{now:"現在",today:"今日",cancel:"キャンセル",clear:"クリア",confirm:"OK",selectDate:"日付を選択",selectTime:"時間を選択",startDate:"開始日",startTime:"開始時間",endDate:"終了日",endTime:"終了時間",prevYear:"前年",nextYear:"翌年",prevMonth:"前月",nextMonth:"翌月",year:"年",month1:"1月",month2:"2月",month3:"3月",month4:"4月",month5:"5月",month6:"6月",month7:"7月",month8:"8月",month9:"9月",month10:"10月",month11:"11月",month12:"12月",weeks:{sun:"日",mon:"月",tue:"火",wed:"水",thu:"木",fri:"金",sat:"土"},months:{jan:"1月",feb:"2月",mar:"3月",apr:"4月",may:"5月",jun:"6月",jul:"7月",aug:"8月",sep:"9月",oct:"10月",nov:"11月",dec:"12月"}},select:{loading:"ロード中",noMatch:"データなし",noData:"データなし",placeholder:"選択してください"},cascader:{noMatch:"データなし",loading:"ロード中",placeholder:"選択してください",noData:"データなし"},pagination:{goto:"",pagesize:"件/ページ",total:"総計 {total} 件",pageClassifier:"ページ目へ"},messagebox:{title:"メッセージ",confirm:"OK",cancel:"キャンセル",error:"正しくない入力"},upload:{deleteTip:"Delキーを押して削除する",delete:"削除する",preview:"プレビュー",continue:"続行する"},table:{emptyText:"データなし",confirmFilter:"確認",resetFilter:"初期化",clearFilter:"すべて",sumText:"合計"},tree:{emptyText:"データなし"},transfer:{noMatch:"データなし",noData:"データなし",titles:["リスト 1","リスト 2"],filterPlaceholder:"キーワードを入力",noCheckedFormat:"総計 {total} 件",hasCheckedFormat:"{checked}/{total} を選択した"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}}},eafa:function(e,t,r){var n=r("ee21"),i=Math.min;e.exports=function(e){return 0<e?i(n(e),9007199254740991):0}},ebc3:function(e,t,r){"use strict";var n=r("064e"),i=r("cc33");e.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}},ec45:function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},ed31:function(e,t,r){var n=r("a50e");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("85cb").default)("bf46f100",n,!0,{sourceMap:!1,shadowMode:!1})},ee21:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?n:r)(e)}},eec2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function n(e,t){return e.some(function(e){return t===e})}t.default=n,e.exports=t.default,e.exports.default=t.default},ef91:function(e,t,r){var i=r("bf16");e.exports=function(e,t,r){for(var n in t)i(e,n,t[n],r);return e}},f03a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e.trim())};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;e.exports=t.default,e.exports.default=t.default},f08d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)||a.test(e)||l.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n};var o=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,l=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},f0cc:function(e,t,r){var i=r("e46b"),o=r("7ddc"),a=r("238a");e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],n={};n[e]=t(r),i(i.S+i.F*a(function(){r(1)}),"Object",n)}},f0e6:function(e,t,r){"use strict";var n=r("e46b"),i=r("7ddc"),o=r("e7ad"),a=r("f63e"),l=r("bc0a");n(n.P+n.R,"Promise",{finally:function(t){var r=a(this,i.Promise||o.Promise),e="function"==typeof t;return this.then(e?function(e){return l(r,t()).then(function(){return e})}:t,e?function(e){return l(r,t()).then(function(){throw e})}:t)}})},f1f2:function(e,t,r){"use strict";r.r(t);var n=r("a74f"),i=r.n(n),o=r("dfc6"),a=r.n(o),l=new i.a({id:"icon-icon_delete",use:"icon-icon_delete-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-icon_delete"><defs><style type="text/css"></style></defs><path d="M800.162002 316.659033c1.850138-17.575284 17.596773-30.322609 35.172058-28.473495 17.575284 1.850138 30.322609 17.596773 28.473494 35.172058l-57.966202 550.673811c-5.143137 48.856731-46.341445 85.946464-95.467306 85.946464H313.625954c-49.126884 0-90.325192-37.089733-95.468329-85.946464L160.192446 323.358619c-1.850138-17.575284 10.898211-33.32192 28.472471-35.172057 17.575284-1.850138 33.32192 10.898211 35.172058 28.473494l57.965179 550.672788c1.714038 16.285918 15.446807 28.64848 31.822776 28.648481h396.74707c16.375969 0 30.108738-12.363585 31.822776-28.648481l57.967226-550.673811z m-192.176904 99.345636c17.672498 0 31.998785 14.326287 31.998785 31.998785v223.989447c0 17.672498-14.326287 31.998785-31.998785 31.998785s-31.998785-14.326287-31.998785-31.998785V448.00243c0-17.671475 14.326287-31.997762 31.998785-31.997761z m-191.990662 0c17.672498 0 31.998785 14.326287 31.998785 31.998785v223.989447c0 17.672498-14.326287 31.998785-31.998785 31.998785s-31.998785-14.326287-31.998785-31.998785V448.00243c0-17.671475 14.326287-31.997762 31.998785-31.997761z m-31.998785-223.989447h255.987209v-47.998178c0-8.836249-7.163143-15.999392-15.999393-15.999392H399.995043c-8.836249 0-15.999392 7.163143-15.999392 15.999392v47.998178z m-63.996546 0V128.018675c0-35.344996 28.652574-63.996546 63.997569-63.996546h255.987209c35.343973 0 63.996546 28.652574 63.996546 63.996546v63.996547h223.99968c17.672498 0 31.998785 14.326287 31.998785 31.998785s-14.326287 31.998785-31.998785 31.998784H96.019891c-17.672498 0-31.998785-14.326287-31.998785-31.998784s14.326287-31.998785 31.998785-31.998785h223.979214z" p-id="4511" /></symbol>'});a.a.add(l);t.default=l},f1fe:function(e,t,r){"use strict";var n=r("69b3");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},f476:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("/");if(2!==t.length)return!1;if(!a.test(t[1]))return!1;if(1<t[1].length&&t[1].startsWith("0"))return!1;return(0,i.default)(t[0],4)&&t[1]<=32&&0<=t[1]};var n=o(r("d076")),i=o(r("69e5"));function o(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,2}$/;e.exports=t.default,e.exports.default=t.default},f548:function(e,t,r){"use strict";var M=r("69b3"),n=r("008a"),S=r("eafa"),_=r("ee21"),T=r("e754"),O=r("7108"),L=Math.max,A=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;r("0aed")("replace",2,function(i,o,w,k){return[function(e,t){var r=i(this),n=null==e?void 0:e[o];return void 0!==n?n.call(e,r,t):w.call(String(r),e,t)},function(e,t){var r=k(w,e,this,t);if(r.done)return r.value;var n=M(e),i=String(this),o="function"==typeof t;o||(t=String(t));var a=n.global;if(a){var l=n.unicode;n.lastIndex=0}for(var s=[];;){var u=O(n,i);if(null===u)break;if(s.push(u),!a)break;""===String(u[0])&&(n.lastIndex=T(i,S(n.lastIndex),l))}for(var c,f="",d=0,p=0;p<s.length;p++){u=s[p];for(var h=String(u[0]),m=L(A(_(u.index),i.length),0),v=[],g=1;g<u.length;g++)v.push(void 0===(c=u[g])?c:String(c));var y=u.groups;if(o){var b=[h].concat(v,m,i);void 0!==y&&b.push(y);var x=String(t.apply(void 0,b))}else x=C(h,i,m,v,y,t);d<=m&&(f+=i.slice(d,m)+x,d=m+h.length)}return f+i.slice(d)}];function C(o,a,l,s,u,e){var c=l+o.length,f=s.length,t=h;return void 0!==u&&(u=n(u),t=p),w.call(e,t,function(e,t){var r;switch(t.charAt(0)){case"$":return"$";case"&":return o;case"`":return a.slice(0,l);case"'":return a.slice(c);case"<":r=u[t.slice(1,-1)];break;default:var n=+t;if(0==n)return e;if(f<n){var i=d(n/10);return 0===i?e:i<=f?void 0===s[i-1]?t.charAt(1):s[i-1]+t.charAt(1):e}r=s[n-1]}return void 0===r?"":r})}})},f58a:function(e,t,r){var n=r("ee21"),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):o(e,t)}},f5f8:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,i.default)(e,t),t)};var n=o(r("11d8")),i=o(r("1685"));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},f63a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,i.default)(a,e.toUpperCase())};var n=o(r("d076")),i=o(r("eec2"));function o(e){return e&&e.__esModule?e:{default:e}}var a=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"];e.exports=t.default,e.exports.default=t.default},f63e:function(e,t,r){var i=r("69b3"),o=r("5daa"),a=r("cb3d")("species");e.exports=function(e,t){var r,n=i(e).constructor;return void 0===n||null==(r=i(n)[a])?t:o(r)}},f6b4:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},f6b46:function(e,t,r){(e.exports=r("690e")(!1)).push([e.i,'.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-webkit-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}',""])},f878:function(e,t,r){var n=r("7e23"),i=r("cb3d")("iterator"),o=r("da6d");e.exports=r("7ddc").getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[n(e)]}},f94c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.fullWidth.test(e)&&a.halfWidth.test(e)};var n,i=(n=r("d076"))&&n.__esModule?n:{default:n},o=r("417b"),a=r("4ef4");e.exports=t.default,e.exports.default=t.default},fad4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Ce(r("9758")),i=Ce(r("6d46")),o=Ce(r("2a5d")),a=Ce(r("a215")),l=Ce(r("e654")),s=Ce(r("0259")),u=Ce(r("40e7")),c=Ce(r("212a")),f=Ce(r("2743")),d=Ce(r("4760")),p=Ce(r("69e5")),h=Ce(r("f476")),m=Ce(r("7771")),v=Ce(r("e247")),g=ke(r("497f")),y=ke(r("473c")),b=Ce(r("5114")),x=Ce(r("ae75")),w=Ce(r("5131")),k=Ce(r("a77f")),C=Ce(r("7bb0")),M=Ce(r("417b")),S=Ce(r("4ef4")),_=Ce(r("f94c")),T=Ce(r("6894")),O=Ce(r("d25d")),L=Ce(r("c454")),A=ke(r("41ae")),N=Ce(r("e2a1")),P=Ce(r("bf02")),E=Ce(r("b953")),D=Ce(r("3410")),F=Ce(r("c535")),j=Ce(r("3074")),I=Ce(r("6698")),z=Ce(r("e9a8")),R=Ce(r("ab3a")),B=Ce(r("a079")),$=Ce(r("8569")),W=Ce(r("b067")),H=Ce(r("dfae")),U=Ce(r("761c")),G=Ce(r("c28e")),K=Ce(r("a334")),V=Ce(r("7a47")),Z=Ce(r("cc7c")),q=Ce(r("e74f")),Y=Ce(r("6bac")),X=Ce(r("21c4")),J=Ce(r("9dba")),Q=ke(r("8598")),ee=Ce(r("13d8")),te=Ce(r("1ff3")),re=Ce(r("06e2")),ne=Ce(r("5d25")),ie=Ce(r("f63a")),oe=Ce(r("54ac")),ae=Ce(r("cc96")),le=Ce(r("d592")),se=Ce(r("f03a")),ue=Ce(r("f08d")),ce=Ce(r("dd23")),fe=ke(r("d24d")),de=Ce(r("1685")),pe=Ce(r("11d8")),he=Ce(r("f5f8")),me=Ce(r("0cad")),ve=Ce(r("c865")),ge=Ce(r("1103")),ye=Ce(r("81e7")),be=Ce(r("4b34")),xe=Ce(r("ca9d")),we=Ce(r("a080"));function ke(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function Ce(e){return e&&e.__esModule?e:{default:e}}var Me={version:"11.1.0",toDate:n.default,toFloat:i.default,toInt:o.default,toBoolean:a.default,equals:l.default,contains:s.default,matches:u.default,isEmail:c.default,isURL:f.default,isMACAddress:d.default,isIP:p.default,isIPRange:h.default,isFQDN:m.default,isBoolean:v.default,isAlpha:g.default,isAlphaLocales:g.locales,isAlphanumeric:y.default,isAlphanumericLocales:y.locales,isNumeric:b.default,isPort:x.default,isLowercase:w.default,isUppercase:k.default,isAscii:C.default,isFullWidth:M.default,isHalfWidth:S.default,isVariableWidth:_.default,isMultibyte:T.default,isSurrogatePair:O.default,isInt:L.default,isFloat:A.default,isFloatLocales:A.locales,isDecimal:N.default,isHexadecimal:P.default,isDivisibleBy:E.default,isHexColor:D.default,isISRC:F.default,isMD5:j.default,isHash:I.default,isJWT:z.default,isJSON:R.default,isEmpty:B.default,isLength:$.default,isByteLength:W.default,isUUID:H.default,isMongoId:U.default,isAfter:G.default,isBefore:K.default,isIn:V.default,isCreditCard:Z.default,isIdentityCard:q.default,isISIN:Y.default,isISBN:X.default,isISSN:J.default,isMobilePhone:Q.default,isMobilePhoneLocales:Q.locales,isPostalCode:fe.default,isPostalCodeLocales:fe.locales,isCurrency:ee.default,isISO8601:te.default,isRFC3339:re.default,isISO31661Alpha2:ne.default,isISO31661Alpha3:ie.default,isBase32:oe.default,isBase64:ae.default,isDataURI:le.default,isMagnetURI:se.default,isMimeType:ue.default,isLatLong:ce.default,ltrim:de.default,rtrim:pe.default,trim:he.default,escape:me.default,unescape:ve.default,stripLow:ge.default,whitelist:ye.default,blacklist:be.default,isWhitelisted:xe.default,normalizeEmail:we.default,toString:toString};t.default=Me,e.exports=t.default,e.exports.default=t.default},fb68:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},fc81:function(e,t,r){var s=r("ee21"),u=r("f6b4");e.exports=function(l){return function(e,t){var r,n,i=String(u(e)),o=s(t),a=i.length;return o<0||a<=o?l?"":void 0:(r=i.charCodeAt(o))<55296||56319<r||o+1===a||(n=i.charCodeAt(o+1))<56320||57343<n?l?i.charAt(o):r:l?i.slice(o,o+2):n-56320+(r-55296<<10)+65536}}}},u.c=f,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)u.d(r,n,function(e){return t[e]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/",u(u.s=0);function u(e){if(f[e])return f[e].exports;var t=f[e]={i:e,l:!1,exports:{}};return c[e].call(t.exports,t,t.exports,u),t.l=!0,t.exports}var c,f});