bookstack/public/js/common.js

28 lines
853 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){t.exports=e("./lib/axios")},{"./lib/axios":3}],2:[function(e,t,n){"use strict";var r=e("./../utils"),i=e("./../core/settle"),o=e("./../helpers/buildURL"),a=e("./../helpers/parseHeaders"),s=e("./../helpers/isURLSameOrigin"),l=e("../core/createError"),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||e("./../helpers/btoa");t.exports=function(t){return new Promise(function(n,u){var d=t.data,f=t.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(t.url)||(p=new window.XDomainRequest,h="onload",m=!0,p.onprogress=function(){},p.ontimeout=function(){}),t.auth){var g=t.auth.username||"",v=t.auth.password||"";f.Authorization="Basic "+c(g+":"+v)}if(p.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p[h]=function(){if(p&&(4===p.readyState||m)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?p.response:p.responseText,o={data:r,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:e,config:t,request:p};i(n,u,o),p=null}},p.onerror=function(){u(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){u(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var _=e("./../helpers/cookies"),y=(t.withCredentials||s(t.url))&&t.xsrfCookieName?_.read(t.xsrfCookieName):void 0;y&&(f[t.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(e){p&&(p.abort(),u(e),p=null)}),void 0===d&&(d=null),p.send(d)})}},{"../core/createError":9,"./../core/settle":12,"./../helpers/btoa":16,"./../helpers/buildURL":17,"./../helpers/cookies":19,"./../helpers/isURLSameOrigin":21,"./../helpers/parseHeaders":23,"./../utils":25}],3:[function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=e("./utils"),o=e("./helpers/bind"),a=e("./core/Axios"),s=e("./defaults"),l=r(s);l.Axios=a,l.create=function(e){return r(i.merge(s,e))},l.Cancel=e("./cancel/Cancel"),l.CancelToken=e("./cancel/CancelToken"),l.isCancel=e("./cancel/isCancel"),l.all=function(e){return Promise.all(e)},l.spread=e("./helpers/spread"),t.exports=l,t.exports.default=l},{"./cancel/Cancel":4,"./cancel/CancelToken":5,"./cancel/isCancel":6,"./core/Axios":7,"./defaults":14,"./helpers/bind":15,"./helpers/spread":24,"./utils":25}],4:[function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},{}],5:[function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=e("./Cancel");r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},t.exports=r},{"./Cancel":4}],6:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.__CANCEL__)}},{}],7:[function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=e("./../defaults"),o=e("./../utils"),a=e("./InterceptorManager"),s=e("./dispatchRequest"),l=e("./../helpers/isAbsoluteURL"),c=e("./../helpers/combineURLs");r.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),e=o.merge(i,this.defaults,{method:"get"},e),e.method=e.method.toLowerCase(),e.baseURL&&!l(e.url)&&(e.url=c(e.baseURL,e.url));var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),t.exports=r},{"./../defaults":14,"./../helpers/combineURLs":18,"./../helpers/isAbsoluteURL":20,"./../utils":25,"./InterceptorManager":8,"./dispatchRequest":10}],8:[function(e,t,n){"use strict";function r(){this.handlers=[]}var i=e("./../utils");r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=r},{"./../utils":25}],9:[function(e,t,n){"use strict";var r=e("./enhanceError");t.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},{"./enhanceError":11}],10:[function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=e("./../utils"),o=e("./transformData"),a=e("../cancel/isCancel"),s=e("../defaults");t.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},{"../cancel/isCancel":6,"../defaults":14,"./../utils":25,"./transformData":13}],11:[function(e,t,n){"use strict";t.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e}},{}],12:[function(e,t,n){"use strict";var r=e("./createError");t.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},{"./createError":9}],13:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},{"./../utils":25}],14:[function(e,t,n){(function(n){"use strict";function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=e("./utils"),o=e("./helpers/normalizeHeaderName"),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=e("./adapters/xhr"):void 0!==n&&(t=e("./adapters/http")),t}(),transformRequest:[function(e,t){return o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),t.exports=s}).call(this,e("_process"))},{"./adapters/http":2,"./adapters/xhr":2,"./helpers/normalizeHeaderName":22,"./utils":25,_process:440}],15:[function(e,t,n){"use strict";t.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},{}],16:[function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}function i(e){for(var t,n,i=String(e),a="",s=0,l=o;i.charAt(0|s)||(l="=",s%1);a+=l.charAt(63&t>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new r;t=t<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=i},{}],17:[function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=e("./../utils");t.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)&&(t+="[]"),i.isArray(e)||(e=[e]),i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},{"./../utils":25}],18:[function(e,t,n){"use strict";t.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},{}],19:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},{"./../utils":25}],20:[function(e,t,n){"use strict";t.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},{}],21:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},{"./../utils":25}],22:[function(e,t,n){"use strict";var r=e("../utils");t.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},{"../utils":25}],23:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e){var t,n,i,o={};return e?(r.forEach(e.split("\n"),function(e){i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o):o}},{"./../utils":25}],24:[function(e,t,n){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],25:[function(e,t,n){"use strict";function r(e){return"[object Array]"===S.call(e)}function i(e){return"[object ArrayBuffer]"===S.call(e)}function o(e){return"undefined"!=typeof FormData&&e instanceof FormData}function a(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function s(e){return"string"==typeof e}function l(e){return"number"==typeof e}function c(e){return void 0===e}function u(e){return null!==e&&"object"==typeof e}function d(e){return"[object Date]"===S.call(e)}function f(e){return"[object File]"===S.call(e)}function p(e){return"[object Blob]"===S.call(e)}function h(e){return"[object Function]"===S.call(e)}function m(e){return u(e)&&h(e.pipe)}function g(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function v(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function y(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||r(e)||(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function b(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=b(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)y(arguments[n],e);return t}function x(e,t,n){return y(t,function(t,r){e[r]=n&&"function"==typeof t?w(t,n):t}),e}var w=e("./helpers/bind"),k=e("is-buffer"),S=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:i,isBuffer:k,isFormData:o,isArrayBufferView:a,isString:s,isNumber:l,isObject:u,isUndefined:c,isDate:d,isFile:f,isBlob:p,isFunction:h,isStream:m,isURLSearchParams:g,isStandardBrowserEnv:_,forEach:y,merge:b,extend:x,trim:v}},{"./helpers/bind":15,"is-buffer":377}],26:[function(e,t,n){(function(t){"use strict";function n(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(e("core-js/shim"),e("regenerator-runtime/runtime"),e("core-js/fn/regexp/escape"),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var r="defineProperty";n(String.prototype,"padLeft","".padStart),n(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&n(Array,e,Function.call.bind([][e]))})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"core-js/fn/regexp/escape":48,"core-js/shim":370,"regenerator-runtime/runtime":442}],27:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","select"],i);else if(void 0!==n)i(t,e("select"));else{var o={exports:{}};i(o,r.select),r.clipboardAction=o.exports}}(this,function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(e){return e&&e.__esModule?e:{default:e}}(t),i="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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){n(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a})},{select:443}],28:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],i);else if(void 0!==n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var o={exports:{}};i(o,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=o.exports}}(this,function(e,t,n,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var c=i(t),u=i(n),d=i(r),f="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},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return s(t,e),p(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===f(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,d.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return l("action",e)}},{key:"defaultTarget",value:function(e){var t=l("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return l("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}(u.default);e.exports=h})},{"./clipboard-action":27,"good-listener":376,"tiny-emitter":445}],29:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.CodeMirror=r()}(this,function(){"use strict";function e(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function t(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function n(e,n){return t(e).appendChild(n)}function r(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function i(e,t,n,i){var o=r(e,t,n,i);return o.setAttribute("role","presentation"),o}function o(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function a(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function s(t,n){var r=t.className;e(n).test(r)||(t.className+=(r?" ":"")+n)}function l(t,n){for(var r=t.split(" "),i=0;i<r.length;i++)r[i]&&!e(r[i]).test(n)&&(n+=" "+r[i]);return n}function c(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function u(e,t,n){t||(t={});for(var r in e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function d(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}function f(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}function p(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function h(e){for(;Va.length<=e;)Va.push(m(Va)+" ");return Va[e]}function m(e){return e[e.length-1]}function g(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function v(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function _(){}function y(e,t){var n;return Object.create?n=Object.create(e):(_.prototype=e,n=new _),t&&u(t,n),n}function b(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||Ya.test(e))}function x(e,t){return t?!!(t.source.indexOf("\\w")>-1&&b(e))||t.test(e):b(e)}function w(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function k(e){return e.charCodeAt(0)>=768&&Ga.test(e)}function S(e,t,n){for(;(n<0?t>0:t<e.length)&&k(e.charAt(t));)t+=n;return t}function C(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function T(e,t,n){var o=this;this.input=n,o.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=i("div",null,"CodeMirror-code"),o.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=r("div",null,"CodeMirror-cursors"),o.measure=r("div",null,"CodeMirror-measure"),o.lineMeasure=r("div",null,"CodeMirror-measure"),o.lineSpace=i("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var a=i("div",[o.lineSpace],"CodeMirror-lines");o.mover=r("div",[a],null,"position: relative"),o.sizer=r("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=r("div",null,null,"position: absolute; height: "+$a+"px; width: 1px;"),o.gutters=r("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=r("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=r("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),va&&_a<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),ya||pa&&Ea||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function M(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function E(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i}),r}function A(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function L(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function D(e){if(null==e.parent)return null;for(var t=e.parent,n=f(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function j(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return n+a}function O(e,t){return t>=e.first&&t<e.first+e.size}function F(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function P(e,t,n){if(void 0===n&&(n=null),!(this instanceof P))return new P(e,t,n);this.line=e,this.ch=t,this.sticky=n}function N(e,t){return e.line-t.line||e.ch-t.ch}function z(e,t){return e.sticky==t.sticky&&0==N(e,t)}function I(e){return P(e.line,e.ch)}function q(e,t){return N(e,t)<0?t:e}function R(e,t){return N(e,t)<0?e:t}function $(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function W(e,t){if(t.line<e.first)return P(e.first,0);var n=e.first+e.size-1;return t.line>n?P(n,M(e,n).text.length):B(t,M(e,t.line).text.length)}function B(e,t){var n=e.ch;return null==n||n>t?P(e.line,t):n<0?P(e.line,0):e}function H(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=W(e,t[r]);return n}function U(){Za=!0}function V(){Ka=!0}function Y(e,t,n){this.marker=e,this.from=t,this.to=n}function G(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Z(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function K(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function X(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Y(a,o.from,l?null:o.to))}}return r}function J(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Y(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Q(e,t){if(t.full)return null;var n=O(e,t.from.line)&&M(e,t.from.line).markedSpans,r=O(e,t.to.line)&&M(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==N(t.from,t.to),s=X(n,i,a),l=J(r,o,a),c=1==t.text.length,u=m(t.text).length+(c?i:0);if(s)for(var d=0;d<s.length;++d){var f=s[d];if(null==f.to){var p=G(l,f.marker);p?c&&(f.to=null==p.to?null:p.to+u):f.to=i}}if(l)for(var h=0;h<l.length;++h){var g=l[h];if(null!=g.to&&(g.to+=u),null==g.from){var v=G(s,g.marker);v||(g.from=u,c&&(s||(s=[])).push(g))}else g.from+=u,c&&(s||(s=[])).push(g)}s&&(s=ee(s)),l&&l!=s&&(l=ee(l));var _=[s];if(!c){var y,b=t.text.length-2;if(b>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(y||(y=[])).push(new Y(s[x].marker,null,null));for(var w=0;w<b;++w)_.push(y);_.push(l)}return _}function ee(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function te(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=f(r,n)||(r||(r=[])).push(n)}}),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(N(c.to,s.from)<0||N(c.from,s.to)>0)){var u=[l,1],d=N(c.from,s.from),p=N(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function ne(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function re(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function ie(e){return e.inclusiveLeft?-1:0}function oe(e){return e.inclusiveRight?1:0}function ae(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=N(r.from,i.from)||ie(e)-ie(t);if(o)return-o;var a=N(r.to,i.to)||oe(e)-oe(t);return a||t.id-e.id}function se(e,t){var n,r=Ka&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!n||ae(n,i.marker)<0)&&(n=i.marker);return n}function le(e){return se(e,!0)}function ce(e){return se(e,!1)}function ue(e,t,n,r,i){var o=M(e,t),a=Ka&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=N(c.from,n)||ie(l.marker)-ie(i),d=N(c.to,r)||oe(l.marker)-oe(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?N(c.to,n)>=0:N(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?N(c.from,r)<=0:N(c.from,r)<0)))return!0}}}function de(e){for(var t;t=le(e);)e=t.find(-1,!0).line;return e}function fe(e){for(var t;t=ce(e);)e=t.find(1,!0).line;return e}function pe(e){for(var t,n;t=ce(e);)e=t.find(1,!0).line,
(n||(n=[])).push(e);return n}function he(e,t){var n=M(e,t),r=de(n);return n==r?t:D(r)}function me(e,t){if(t>e.lastLine())return t;var n,r=M(e,t);if(!ge(e,r))return t;for(;n=ce(r);)r=n.find(1,!0).line;return D(r)+1}function ge(e,t){var n=Ka&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&ve(e,t,r))return!0}}function ve(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return ve(e,r.line,G(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&ve(e,t,i))return!0}function _e(e){e=de(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function ye(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=le(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=ce(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function be(e){var t=e.display,n=e.doc;t.maxLine=M(n,n.first),t.maxLineLength=ye(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=ye(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function xe(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}function we(e,t,n){var r;Xa=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:Xa=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:Xa=i)}return null!=r?r:Xa}function ke(e,t){var n=e.order;return null==n&&(n=e.order=Ja(e.text,t)),n}function Se(e,t){return e._handlers&&e._handlers[t]||Qa}function Ce(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=f(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function Te(e,t){var n=Se(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function Me(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Te(e,n||t.type,e,t),Oe(t)||t.codemirrorIgnore}function Ee(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==f(n,t[r])&&n.push(t[r])}function Ae(e,t){return Se(e,t).length>0}function Le(e){e.prototype.on=function(e,t){es(this,e,t)},e.prototype.off=function(e,t){Ce(this,e,t)}}function De(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function je(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Oe(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Fe(e){De(e),je(e)}function Pe(e){return e.target||e.srcElement}function Ne(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),Aa&&e.ctrlKey&&1==t&&(t=3),t}function ze(e){if(null==qa){var t=r("span","");n(e,r("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(qa=t.offsetWidth<=1&&t.offsetHeight>2&&!(va&&_a<8))}var i=qa?r("span",""):r("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function Ie(e){if(null!=Ra)return Ra;var r=n(e,document.createTextNode("AخA")),i=Oa(r,0,1).getBoundingClientRect(),o=Oa(r,1,2).getBoundingClientRect();return t(e),!(!i||i.left==i.right)&&(Ra=o.right-i.right<3)}function qe(e){if(null!=os)return os;var t=n(e,r("span","x")),i=t.getBoundingClientRect(),o=Oa(t,0,1).getBoundingClientRect();return os=Math.abs(i.left-o.left)>1}function Re(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),as[e]=t}function $e(e,t){ss[e]=t}function We(e){if("string"==typeof e&&ss.hasOwnProperty(e))e=ss[e];else if(e&&"string"==typeof e.name&&ss.hasOwnProperty(e.name)){var t=ss[e.name];"string"==typeof t&&(t={name:t}),e=y(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return We("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return We("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Be(e,t){t=We(t);var n=as[t.name];if(!n)return Be(e,"text/plain");var r=n(e,t);if(ls.hasOwnProperty(t.name)){var i=ls[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}function He(e,t){u(t,ls.hasOwnProperty(e)?ls[e]:ls[e]={})}function Ue(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Ve(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Ye(e,t,n){return!e.startState||e.startState(t,n)}function Ge(e,t,n,r){var i=[e.state.modeGen],o={};nt(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var a=n.state,s=0;s<e.state.overlays.length;++s)!function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,nt(e,t.text,s.mode,n,function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}},o),n.state=a,n.baseTokens=null,n.baseTokenPos=1}(s);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Ze(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Ke(e,D(t)),i=t.text.length>e.options.maxHighlightLength&&Ue(e.doc.mode,r.state),o=Ge(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Ke(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ds(r,!0,t);var o=rt(e,t,n),a=o>r.first&&M(r,o-1).stateAfter,s=a?ds.fromSaved(r,a,o):new ds(r,Ye(r.mode),o);return r.iter(o,t,function(n){Xe(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()}),n&&(r.modeFrontier=s.line),s}function Xe(e,t,n,r){var i=e.doc.mode,o=new cs(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&&Je(i,n.state);!o.eol();)Qe(i,o,n.state),o.start=o.pos}function Je(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Ve(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function Qe(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Ve(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function et(e,t,n,r){var i,o=e.doc,a=o.mode;t=W(o,t);var s,l=M(o,t.line),c=Ke(e,t.line,n),u=new cs(l.text,e.options.tabSize,c);for(r&&(s=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=Qe(a,u,c.state),r&&s.push(new fs(u,i,Ue(o.mode,c.state)));return r?s:new fs(u,i,c.state)}function tt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function nt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,d=new cs(t,e.options.tabSize,r),f=e.options.addModeClass&&[null];for(""==t&&tt(Je(n,r.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&Xe(e,t,r,d.pos),d.pos=t.length,l=null):l=tt(Qe(n,d,r.state,f),o),f){var p=f[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||u!=l){for(;c<d.start;)c=Math.min(d.start,c+5e3),i(c,u);u=l}d.start=d.pos}for(;c<d.pos;){var h=Math.min(d.pos,c+5e3);i(h,u),c=h}}function rt(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=M(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof us?c.lookAhead:0)<=o.modeFrontier))return s;var u=d(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function it(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=M(e,r).stateAfter;if(i&&(!(i instanceof us)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}function ot(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),ne(e),re(e,n);var i=r?r(e):1;i!=e.height&&L(e,i)}function at(e){e.parent=null,ne(e)}function st(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?gs:ms;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function lt(e,t){var n=i("span",null,null,ya?"padding-right: .1px":null),r={pre:i("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(va||ya)&&e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var a=o?t.rest[o-1]:t.line,s=void 0;r.pos=0,r.addToken=ut,Ie(e.display.measure)&&(s=ke(a,e.doc.direction))&&(r.addToken=ft(r.addToken,s)),r.map=[];ht(a,r,Ze(e,a,t!=e.display.externalMeasured&&D(a))),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=l(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=l(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(ze(e.display.measure))),0==o?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(ya){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Te(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=l(r.pre.className,r.textClass||"")),r}function ct(e){var t=r("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function ut(e,t,n,i,o,a,s){if(t){var l,c=e.splitSpaces?dt(t,e.trailingSpace):t,u=e.cm.state.specialChars,d=!1;if(u.test(t)){l=document.createDocumentFragment();for(var f=0;;){u.lastIndex=f;var p=u.exec(t),m=p?p.index-f:t.length-f;if(m){var g=document.createTextNode(c.slice(f,f+m));va&&_a<9?l.appendChild(r("span",[g])):l.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!p)break;f+=m+1;var v=void 0;if("\t"==p[0]){var _=e.cm.options.tabSize,y=_-e.col%_;v=l.appendChild(r("span",h(y),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=y}else"\r"==p[0]||"\n"==p[0]?(v=l.appendChild(r("span","\r"==p[0]?"␍":"␤","cm-invalidchar")),v.setAttribute("cm-text",p[0]),e.col+=1):(v=e.cm.options.specialCharPlaceholder(p[0]),v.setAttribute("cm-text",p[0]),va&&_a<9?l.appendChild(r("span",[v])):l.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,l=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,l),va&&_a<9&&(d=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||i||o||d||s){var b=n||"";i&&(b+=i),o&&(b+=o);var x=r("span",[l],b,s);return a&&(x.title=a),e.content.appendChild(x)}e.content.appendChild(l)}}function dt(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function ft(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var d=void 0,f=0;f<t.length&&(d=t[f],!(d.to>c&&d.from<=c));f++);if(d.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-c),i,o,null,s,l),o=null,r=r.slice(d.to-c),c=d.to}}}function pt(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function ht(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,d,f,p=i.length,h=0,m=1,g="",v=0;;){if(v==h){l=c=u=d=s="",f=null,v=1/0;for(var _=[],y=void 0,b=0;b<r.length;++b){var x=r[b],w=x.marker;"bookmark"==w.type&&x.from==h&&w.widgetNode?_.push(w):x.from<=h&&(null==x.to||x.to>h||w.collapsed&&x.to==h&&x.from==h)?(null!=x.to&&x.to!=h&&v>x.to&&(v=x.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&x.from==h&&(u+=" "+w.startStyle),w.endStyle&&x.to==v&&(y||(y=[])).push(w.endStyle,x.to),w.title&&!d&&(d=w.title),w.collapsed&&(!f||ae(f.marker,w)<0)&&(f=x)):x.from>h&&v>x.from&&(v=x.from)}if(y)for(var k=0;k<y.length;k+=2)y[k+1]==v&&(c+=" "+y[k]);if(!f||f.from==h)for(var S=0;S<_.length;++S)pt(t,0,_[S]);if(f&&(f.from||0)==h){if(pt(t,(null==f.to?p+1:f.to)-h,f.marker,null==f.from),null==f.to)return;f.to==h&&(f=!1)}}if(h>=p)break;for(var C=Math.min(p,v);;){if(g){var T=h+g.length;if(!f){var M=T>C?g.slice(0,C-h):g;t.addToken(t,M,a?a+l:l,u,h+M.length==v?c:"",d,s)}if(T>=C){g=g.slice(C-h),h=C;break}h=T,u=""}g=i.slice(o,o=n[m++]),a=st(n[m++],t.cm.options)}}else for(var E=1;E<n.length;E+=2)t.addToken(t,i.slice(o,o=n[E]),st(n[E+1],t.cm.options))}function mt(e,t,n){this.line=t,this.rest=pe(t),this.size=this.rest?D(m(this.rest))-n+1:1,this.node=this.text=null,this.hidden=ge(e,t)}function gt(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new mt(e.doc,M(e.doc,o),o);r=o+a.size,i.push(a)}return i}function vt(e){vs?vs.ops.push(e):e.ownsGroup=vs={ops:[e],delayedCallbacks:[]}}function _t(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function yt(e,t){var n=e.ownsGroup;if(n)try{_t(n)}finally{vs=null,t(n)}}function bt(e,t){var n=Se(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);vs?r=vs.delayedCallbacks:_s?r=_s:(r=_s=[],setTimeout(xt,0));for(var o=0;o<n.length;++o)!function(e){r.push(function(){return n[e].apply(null,i)})}(o)}}function xt(){var e=_s;_s=null;for(var t=0;t<e.length;++t)e[t]()}function wt(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Tt(e,t):"gutter"==o?Et(e,t,n,r):"class"==o?Mt(e,t):"widget"==o&&At(e,t,r)}t.changes=null}function kt(e){return e.node==e.text&&(e.node=r("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),va&&_a<8&&(e.node.style.zIndex=2)),e.node}function St(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var i=kt(t);t.background=i.insertBefore(r("div",null,n),i.firstChild),e.display.input.setUneditable(t.background)}}function Ct(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):lt(e,t)}function Tt(e,t){var n=t.text.className,r=Ct(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Mt(e,t)):n&&(t.text.className=n)}function Mt(e,t){St(e,t),t.line.wrapClass?kt(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function Et(e,t,n,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var o=kt(t);t.gutterBackground=r("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),o.insertBefore(t.gutterBackground,t.text)}var a=t.line.gutterMarkers;if(e.options.lineNumbers||a){var s=kt(t),l=t.gutter=r("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(e.display.input.setUneditable(l),s.insertBefore(l,t.text),t.line.gutterClass&&(l.className+=" "+t.line.gutterClass),!e.options.lineNumbers||a&&a["CodeMirror-linenumbers"]||(t.lineNumber=l.appendChild(r("div",F(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),a)for(var c=0;c<e.options.gutters.length;++c){var u=e.options.gutters[c],d=a.hasOwnProperty(u)&&a[u];d&&l.appendChild(r("div",[d],"CodeMirror-gutter-elt","left: "+i.gutterLeft[u]+"px; width: "+i.gutterWidth[u]+"px"))}}}function At(e,t,n){t.alignable&&(t.alignable=null);for(var r=t.node.firstChild,i=void 0;r;r=i)i=r.nextSibling,"CodeMirror-linewidget"==r.className&&t.node.removeChild(r);Dt(e,t,n)}function Lt(e,t,n,r){var i=Ct(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Mt(e,t),Et(e,t,n,r),Dt(e,t,r),t.node}function Dt(e,t,n){if(jt(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)jt(e,t.rest[r],t,n,!1)}function jt(e,t,n,i,o){if(t.widgets)for(var a=kt(n),s=0,l=t.widgets;s<l.length;++s){var c=l[s],u=r("div",[c.node],"CodeMirror-linewidget");c.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),Ot(c,u,n,i),e.display.input.setUneditable(u),o&&c.above?a.insertBefore(u,n.gutter||n.text):a.appendChild(u),bt(c,"redraw")}}function Ot(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Ft(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!o(document.body,e.node)){var i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),n(t.display.measure,r("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function Pt(e,t){for(var n=Pe(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Nt(e){return e.lineSpace.offsetTop}function zt(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function It(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=n(e.measure,r("pre","x")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,o={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(e.cachedPaddingH=o),o}function qt(e){return $a-e.display.nativeBarWidth}function Rt(e){return e.display.scroller.clientWidth-qt(e)-e.display.barWidth}function $t(e){return e.display.scroller.clientHeight-qt(e)-e.display.barHeight}function Wt(e,t,n){var r=e.options.lineWrapping,i=r&&Rt(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Bt(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(D(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Ht(e,t){t=de(t);var r=D(t),i=e.display.externalMeasured=new mt(e.doc,t,r);i.lineN=r;var o=i.built=lt(e,i);return i.text=o.pre,n(e.display.lineMeasure,o.pre),i}function Ut(e,t,n,r){return Gt(e,Yt(e,t),n,r)}function Vt(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Tn(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function Yt(e,t){var n=D(t),r=Vt(e,n);r&&!r.text?r=null:r&&r.changes&&(wt(e,r,n,xn(e)),e.curOp.forceUpdate=!0),r||(r=Ht(e,t));var i=Bt(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Gt(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Wt(e,t.view,t.rect),t.hasHeights=!0),o=Xt(e,t,n,r),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}function Zt(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?(i=t-s,o=i+1):(c==e.length-3||t==l&&e[c+3]>t)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Kt(e,t){var n=ys;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function Xt(e,t,n,r){var i,o=Zt(t.map,n,r),a=o.node,s=o.start,l=o.end,c=o.collapse;if(3==a.nodeType){for(var u=0;u<4;u++){for(;s&&k(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+l<o.coverEnd&&k(t.line.text.charAt(o.coverStart+l));)++l;if(i=va&&_a<9&&0==s&&l==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():Kt(Oa(a,s,l).getClientRects(),r),i.left||i.right||0==s)break;l=s,s-=1,c="right"}va&&_a<11&&(i=Jt(e.display.measure,i))}else{s>0&&(c=r="right");var d;i=e.options.lineWrapping&&(d=a.getClientRects()).length>1?d["right"==r?d.length-1:0]:a.getBoundingClientRect()}if(va&&_a<9&&!s&&(!i||!i.left&&!i.right)){var f=a.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+bn(e.display),top:f.top,bottom:f.bottom}:ys}for(var p=i.top-t.rect.top,h=i.bottom-t.rect.top,m=(p+h)/2,g=t.view.measure.heights,v=0;v<g.length-1&&!(m<g[v]);v++);var _=v?g[v-1]:0,y=g[v],b={left:("right"==c?i.right:i.left)-t.rect.left,right:("left"==c?i.left:i.right)-t.rect.left,top:_,bottom:y};return i.left||i.right||(b.bogus=!0),e.options.singleCursorHeightPerLine||(b.rtop=p,b.rbottom=h),b}function Jt(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!qe(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function Qt(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function en(e){e.display.externalMeasure=null,t(e.display.lineMeasure);for(var n=0;n<e.display.view.length;n++)Qt(e.display.view[n])}function tn(e){en(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function nn(){return xa&&Ma?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function rn(){return xa&&Ma?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function on(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=Ft(e.widgets[n]));return t}function an(e,t,n,r,i){if(!i){var o=on(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=_e(t);if("local"==r?a+=Nt(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:rn());var l=s.left+("window"==r?0:nn());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function sn(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=nn(),i-=rn();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function ln(e,t,n,r,i){return r||(r=M(e.doc,t.line)),an(e,r,Ut(e,r,t.ch,i),n)}function cn(e,t,n,r,i,o){function a(t,a){var s=Gt(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,an(e,r,s,n)}function s(e,t,n){var r=l[t],i=1==r.level;return a(n?e-1:e,i!=n)}r=r||M(e.doc,t.line),i||(i=Yt(e,r));var l=ke(r,e.doc.direction),c=t.ch,u=t.sticky;if(c>=r.text.length?(c=r.text.length,u="before"):c<=0&&(c=0,u="after"),!l)return a("before"==u?c-1:c,"before"==u);var d=we(l,c,u),f=Xa,p=s(c,d,"before"==u);return null!=f&&(p.other=s(c,f,"before"!=u)),p}function un(e,t){var n=0;t=W(e.doc,t),e.options.lineWrapping||(n=bn(e.display)*t.ch);var r=M(e.doc,t.line),i=_e(r)+Nt(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function dn(e,t,n,r,i){var o=P(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function fn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return dn(r.first,0,null,!0,-1);var i=j(r,n),o=r.first+r.size-1;if(i>o)return dn(r.first+r.size-1,M(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=M(r,i);;){var s=gn(e,a,i,t,n),l=ce(a),c=l&&l.find(0,!0);if(!l||!(s.ch>c.from.ch||s.ch==c.from.ch&&s.xRel>0))return s;i=D(a=c.to.line)}}function pn(e,t,n,r){r-=on(t);var i=t.text.length,o=C(function(t){return Gt(e,n,t-1).bottom<=r},i,0);return i=C(function(t){return Gt(e,n,t).top>r},o,i),{begin:o,end:i}}function hn(e,t,n,r){return n||(n=Yt(e,t)),pn(e,t,n,an(e,t,Gt(e,n,r),"line").top)}function mn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function gn(e,t,n,r,i){i-=_e(t);var o=Yt(e,t),a=on(t),s=0,l=t.text.length,c=!0,u=ke(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?_n:vn)(e,t,n,o,u,r,i);c=1!=d.level,s=c?d.from:d.to-1,l=c?d.to:d.from-1}var f,p,h=null,m=null,g=C(function(t){var n=Gt(e,o,t);return n.top+=a,n.bottom+=a,!!mn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)},s,l),v=!1;if(m){var _=r-m.left<m.right-r,y=_==c;g=h+(y?0:1),p=y?"after":"before",f=_?m.left:m.right}else{c||g!=l&&g!=s||g++,p=0==g?"after":g==t.text.length?"before":Gt(e,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var b=cn(e,P(n,g,p),"line",t,o);f=b.left,v=i<b.top||i>=b.bottom}return g=S(t.text,g,1),dn(n,g,p,v,r-f)}function vn(e,t,n,r,i,o,a){var s=C(function(s){var l=i[s],c=1!=l.level;return mn(cn(e,P(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=cn(e,P(n,c?l.from:l.to,c?"after":"before"),"line",t,r);mn(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function _n(e,t,n,r,i,o,a){var s=pn(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,f=0;f<i.length;f++){var p=i[f];if(!(p.from>=c||p.to<=l)){var h=1!=p.level,m=Gt(e,r,h?Math.min(c,p.to)-1:Math.max(l,p.from)).right,g=m<o?o-m+1e9:m-o;(!u||d>g)&&(u=p,d=g)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function yn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==hs){hs=r("pre");for(var i=0;i<49;++i)hs.appendChild(document.createTextNode("x")),hs.appendChild(r("br"));hs.appendChild(document.createTextNode("x"))}n(e.measure,hs);var o=hs.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),t(e.measure),o||1}function bn(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=r("span","xxxxxxxxxx"),i=r("pre",[t]);n(e.measure,i);var o=t.getBoundingClientRect(),a=(o.right-o.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function xn(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:wn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function wn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function kn(e){var t=yn(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/bn(e.display)-3);return function(i){if(ge(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function Sn(e){var t=e.doc,n=kn(e);t.iter(function(e){var t=n(e);t!=e.height&&L(e,t)})}function Cn(e,t,n,r){var i=e.display;if(!n&&"true"==Pe(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,c=fn(e,o,a);if(r&&1==c.xRel&&(l=M(e.doc,c.line).text).length==c.ch){var u=d(l,l.length,e.options.tabSize)-l.length;c=P(c.line,Math.max(0,Math.round((o-It(e.display).left)/bn(e.display))-u))}return c}function Tn(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function Mn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function En(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&An(e,s.head,i),l||Dn(e,s,o)}}return r}function An(e,t,n){var i=cn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),o=n.appendChild(r("div"," ","CodeMirror-cursor"));if(o.style.left=i.left+"px",o.style.top=i.top+"px",o.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",i.other){var a=n.appendChild(r("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=i.other.left+"px",a.style.top=i.other.top+"px",a.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function Ln(e,t){return e.top-t.top||e.left-t.left}function Dn(e,t,n){function i(e,t,n,i){t<0&&(t=0),t=Math.round(t),i=Math.round(i),l.appendChild(r("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?d-e:n)+"px;\n height: "+(i-t)+"px"))}function o(t,n,r){function o(n,r){return ln(e,P(t,n),"div",p,r)}function a(t,n,r){var i=hn(e,p,null,t),a="ltr"==n==("after"==r)?"left":"right";return o("after"==r?i.begin:i.end-(/\s/.test(p.text.charAt(i.end-1))?2:1),a)[a]}var l,c,p=M(s,t),h=p.text.length,m=ke(p,s.direction);return xe(m,n||0,null==r?h:r,function(e,t,s,p){var g="ltr"==s,v=o(e,g?"left":"right"),_=o(t-1,g?"right":"left"),y=null==n&&0==e,b=null==r&&t==h,x=0==p,w=!m||p==m.length-1;if(_.top-v.top<=3){var k=(f?y:b)&&x,S=(f?b:y)&&w,C=k?u:(g?v:_).left,T=S?d:(g?_:v).right;i(C,v.top,T-C,v.bottom)}else{var M,E,A,L;g?(M=f&&y&&x?u:v.left,E=f?d:a(e,s,"before"),A=f?u:a(t,s,"after"),L=f&&b&&w?d:_.right):(M=f?a(e,s,"before"):u,E=!f&&y&&x?d:v.right,A=!f&&b&&w?u:_.left,L=f?a(t,s,"after"):d),i(M,v.top,E-M,v.bottom),v.bottom<_.top&&i(u,v.bottom,null,_.top),i(A,_.top,L-A,_.bottom)}(!l||Ln(v,l)<0)&&(l=v),Ln(_,l)<0&&(l=_),(!c||Ln(v,c)<0)&&(c=v),Ln(_,c)<0&&(c=_)}),{start:l,end:c}}var a=e.display,s=e.doc,l=document.createDocumentFragment(),c=It(e.display),u=c.left,d=Math.max(a.sizerWidth,Rt(e)-a.sizer.offsetLeft)-c.right,f="ltr"==s.direction,p=t.from(),h=t.to();if(p.line==h.line)o(p.line,p.ch,h.ch);else{
var m=M(s,p.line),g=M(s,h.line),v=de(m)==de(g),_=o(p.line,p.ch,v?m.text.length+1:null).end,y=o(h.line,v?0:null,h.ch).start;v&&(_.top<y.top-2?(i(_.right,_.top,null,_.bottom),i(u,y.top,y.left,y.bottom)):i(_.right,_.top,y.left-_.right,_.bottom)),_.bottom<y.top&&i(u,_.bottom,null,y.top)}n.appendChild(l)}function jn(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function On(e){e.state.focused||(e.display.input.focus(),Pn(e))}function Fn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Nn(e))},100)}function Pn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Te(e,"focus",e,t),e.state.focused=!0,s(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),ya&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),jn(e))}function Nn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(Te(e,"blur",e,t),e.state.focused=!1,Na(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function zn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=void 0;if(!i.hidden){if(va&&_a<8){var a=i.node.offsetTop+i.node.offsetHeight;o=a-n,n=a}else{var s=i.node.getBoundingClientRect();o=s.bottom-s.top}var l=i.line.height-o;if(o<2&&(o=yn(t)),(l>.005||l<-.005)&&(L(i.line,o),In(i.line),i.rest))for(var c=0;c<i.rest.length;c++)In(i.rest[c])}}}function In(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t)e.widgets[t].height=e.widgets[t].node.parentNode.offsetHeight}function qn(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Nt(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=j(t,r),a=j(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=j(t,_e(M(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=j(t,_e(M(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Rn(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=wn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function $n(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=F(e.options,t.first+t.size-1),i=e.display;if(n.length!=i.lineNumChars){var o=i.measure.appendChild(r("div",[r("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),a=o.firstChild.offsetWidth,s=o.offsetWidth-a;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(a,i.lineGutter.offsetWidth-s)+1,i.lineNumWidth=i.lineNumInnerWidth+s,i.lineNumChars=i.lineNumInnerWidth?n.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",jr(e),!0}return!1}function Wn(e,t){if(!Me(e,"scrollCursorIntoView")){var n=e.display,i=n.sizer.getBoundingClientRect(),o=null;if(t.top+i.top<0?o=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!Ca){var a=r("div","",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Nt(e.display))+"px;\n height: "+(t.bottom-t.top+qt(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(o),e.display.lineSpace.removeChild(a)}}}function Bn(e,t,n,r){null==r&&(r=0);var i;e.options.lineWrapping||t!=n||(t=t.ch?P(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?P(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=cn(e,t),l=n&&n!=t?cn(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=Un(e,i),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(Jn(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(er(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return i}function Hn(e,t){var n=Un(e,t);null!=n.scrollTop&&Jn(e,n.scrollTop),null!=n.scrollLeft&&er(e,n.scrollLeft)}function Un(e,t){var n=e.display,r=yn(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=$t(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+zt(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,f=Rt(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left-(p?0:10)):t.right>f+d-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function Vn(e,t){null!=t&&(Kn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Yn(e){Kn(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Gn(e,t,n){null==t&&null==n||Kn(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Zn(e,t){Kn(e),e.curOp.scrollToPos=t}function Kn(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;Xn(e,un(e,t.from),un(e,t.to),t.margin)}}function Xn(e,t,n,r){var i=Un(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Gn(e,i.scrollLeft,i.scrollTop)}function Jn(e,t){Math.abs(e.doc.scrollTop-t)<2||(pa||Lr(e,{top:t}),Qn(e,t,!0),pa&&Lr(e),kr(e,100))}function Qn(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function er(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Rn(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function tr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+zt(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?n:0,docHeight:r,scrollHeight:r+qt(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function nr(e,t){t||(t=tr(e));var n=e.display.barWidth,r=e.display.barHeight;rr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&zn(e),rr(e,tr(e)),n=e.display.barWidth,r=e.display.barHeight}function rr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function ir(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Na(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ws[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),es(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?er(e,t):Jn(e,t)},e),e.display.scrollbars.addClass&&s(e.display.wrapper,e.display.scrollbars.addClass)}function or(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ks},vt(e.curOp)}function ar(e){yt(e.curOp,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;sr(e)})}function sr(e){for(var t=e.ops,n=0;n<t.length;n++)lr(t[n]);for(var r=0;r<t.length;r++)cr(t[r]);for(var i=0;i<t.length;i++)ur(t[i]);for(var o=0;o<t.length;o++)dr(t[o]);for(var a=0;a<t.length;a++)fr(t[a])}function lr(e){var t=e.cm,n=t.display;Cr(t),e.updateMaxLine&&be(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ss(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function cr(e){e.updatedDisplay=e.mustUpdate&&Er(e.cm,e.update)}function ur(e){var t=e.cm,n=t.display;e.updatedDisplay&&zn(t),e.barMeasure=tr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Ut(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+qt(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Rt(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function dr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&er(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==a();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&nr(t,e.barMeasure),e.updatedDisplay&&Or(t,e.barMeasure),e.selectionChanged&&jn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&On(e.cm)}function fr(e){var t=e.cm,n=t.display,r=t.doc;if(e.updatedDisplay&&Ar(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Qn(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&er(t,e.scrollLeft,!0,!0),e.scrollToPos){Wn(t,Bn(t,W(r,e.scrollToPos.from),W(r,e.scrollToPos.to),e.scrollToPos.margin))}var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||Te(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&Te(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Te(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function pr(e,t){if(e.curOp)return t();or(e);try{return t()}finally{ar(e)}}function hr(e,t){return function(){if(e.curOp)return t.apply(e,arguments);or(e);try{return t.apply(e,arguments)}finally{ar(e)}}}function mr(e){return function(){if(this.curOp)return e.apply(this,arguments);or(this);try{return e.apply(this,arguments)}finally{ar(this)}}}function gr(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);or(t);try{return e.apply(this,arguments)}finally{ar(t)}}}function vr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ka&&he(e.doc,t)<i.viewTo&&yr(e);else if(n<=i.viewFrom)Ka&&me(e.doc,n+r)>i.viewFrom?yr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)yr(e);else if(t<=i.viewFrom){var o=br(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):yr(e)}else if(n>=i.viewTo){var a=br(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):yr(e)}else{var s=br(e,t,t,-1),l=br(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(gt(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):yr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function _r(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Tn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==f(a,n)&&a.push(n)}}}function yr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function br(e,t,n,r){var i,o=Tn(e,t),a=e.display.view;if(!Ka||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;he(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function xr(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=gt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=gt(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Tn(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(gt(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Tn(e,n)))),r.viewTo=n}function wr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function kr(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,c(Sr,e))}function Sr(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Ke(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ue(t.mode,r.state):null,l=Ge(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),f=0;!d&&f<a.length;++f)d=a[f]!=o.styles[f];d&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&Xe(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return kr(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&pr(e,function(){for(var t=0;t<i.length;t++)_r(e,i[t],"text")})}}function Cr(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=qt(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=qt(e)+"px",t.scrollbarsClipped=!0)}function Tr(e){if(e.hasFocus())return null;var t=a();if(!t||!o(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&o(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Mr(e){if(e&&e.activeElt&&e.activeElt!=a()&&(e.activeElt.focus(),e.anchorNode&&o(document.body,e.anchorNode)&&o(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function Er(e,n){var r=e.display,i=e.doc;if(n.editorIsHidden)return yr(e),!1;if(!n.force&&n.visible.from>=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==wr(e))return!1;$n(e)&&(yr(e),n.dims=xn(e));var o=i.first+i.size,a=Math.max(n.visible.from-e.options.viewportMargin,i.first),s=Math.min(o,n.visible.to+e.options.viewportMargin);r.viewFrom<a&&a-r.viewFrom<20&&(a=Math.max(i.first,r.viewFrom)),r.viewTo>s&&r.viewTo-s<20&&(s=Math.min(o,r.viewTo)),Ka&&(a=he(e.doc,a),s=me(e.doc,s));var l=a!=r.viewFrom||s!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;xr(e,a,s),r.viewOffset=_e(M(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var c=wr(e);if(!l&&0==c&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var u=Tr(e);return c>4&&(r.lineDiv.style.display="none"),Dr(e,r.updateLineNumbers,n.dims),c>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,Mr(u),t(r.cursorDiv),t(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,l&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,kr(e,400)),r.updateLineNumbers=null,!0}function Ar(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Rt(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+zt(e.display)-$t(e),n.top)}),t.visible=qn(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&Er(e,t);r=!1){zn(e);var i=tr(e);Mn(e),nr(e,i),Or(e,i),t.force=!1}t.signal(e,"update",e),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 Lr(e,t){var n=new Ss(e,t);if(Er(e,n)){zn(e),Ar(e,n);var r=tr(e);Mn(e),nr(e,r),Or(e,r),n.finish()}}function Dr(e,n,r){function i(t){var n=t.nextSibling;return ya&&Aa&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var o=e.display,a=e.options.lineNumbers,s=o.lineDiv,l=s.firstChild,c=o.view,u=o.viewFrom,d=0;d<c.length;d++){var p=c[d];if(p.hidden);else if(p.node&&p.node.parentNode==s){for(;l!=p.node;)l=i(l);var h=a&&null!=n&&n<=u&&p.lineNumber;p.changes&&(f(p.changes,"gutter")>-1&&(h=!1),wt(e,p,u,r)),h&&(t(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(F(e.options,u)))),l=p.node.nextSibling}else{var m=Lt(e,p,u,r);s.insertBefore(m,l)}u+=p.size}for(;l;)l=i(l)}function jr(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function Or(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+qt(e)+"px"}function Fr(e){var n=e.display.gutters,i=e.options.gutters;t(n);for(var o=0;o<i.length;++o){var a=i[o],s=n.appendChild(r("div",null,"CodeMirror-gutter "+a));"CodeMirror-linenumbers"==a&&(e.display.lineGutter=s,s.style.width=(e.display.lineNumWidth||1)+"px")}n.style.display=o?"":"none",jr(e)}function Pr(e){var t=f(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function Nr(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function zr(e){var t=Nr(e);return t.x*=Ts,t.y*=Ts,t}function Ir(e,t){var n=Nr(t),r=n.x,i=n.y,o=e.display,a=o.scroller,s=a.scrollWidth>a.clientWidth,l=a.scrollHeight>a.clientHeight;if(r&&s||i&&l){if(i&&Aa&&ya)e:for(var c=t.target,u=o.view;c!=a;c=c.parentNode)for(var d=0;d<u.length;d++)if(u[d].node==c){e.display.currentWheelTarget=c;break e}if(r&&!pa&&!wa&&null!=Ts)return i&&l&&Jn(e,Math.max(0,a.scrollTop+i*Ts)),er(e,Math.max(0,a.scrollLeft+r*Ts)),(!i||i&&l)&&De(t),void(o.wheelStartX=null);if(i&&null!=Ts){var f=i*Ts,p=e.doc.scrollTop,h=p+o.wrapper.clientHeight;f<0?p=Math.max(0,p+f-50):h=Math.min(e.doc.height,h+f+50),Lr(e,{top:p,bottom:h})}Cs<20&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,n=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(Ts=(Ts*Cs+n)/(Cs+1),++Cs)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function qr(e,t){var n=e[t];e.sort(function(e,t){return N(e.from(),t.from())}),t=f(e,n);for(var r=1;r<e.length;r++){var i=e[r],o=e[r-1];if(N(o.to(),i.from())>=0){var a=R(o.from(),i.from()),s=q(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new Es(l?s:a,l?a:s))}}return new Ms(e,t)}function Rr(e,t){return new Ms([new Es(e,t||e)],0)}function $r(e){return e.text?P(e.from.line+e.text.length-1,m(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Wr(e,t){if(N(e,t.from)<0)return e;if(N(e,t.to)<=0)return $r(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=$r(t).ch-t.to.ch),P(n,r)}function Br(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new Es(Wr(i.anchor,t),Wr(i.head,t)))}return qr(n,e.sel.primIndex)}function Hr(e,t,n){return e.line==t.line?P(n.line,e.ch-t.ch+n.ch):P(n.line+(e.line-t.line),e.ch)}function Ur(e,t,n){for(var r=[],i=P(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Hr(s.from,i,o),c=Hr($r(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],d=N(u.head,u.anchor)<0;r[a]=new Es(d?c:l,d?l:c)}else r[a]=new Es(l,l)}return new Ms(r,e.sel.primIndex)}function Vr(e){e.doc.mode=Be(e.options,e.doc.modeOption),Yr(e)}function Yr(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,kr(e,100),e.state.modeGen++,e.curOp&&vr(e)}function Gr(e,t){return 0==t.from.ch&&0==t.to.ch&&""==m(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Zr(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){ot(e,n,i,r),bt(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new ps(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=M(e,s.line),d=M(e,l.line),f=m(c),p=i(c.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Gr(e,t)){var g=a(0,c.length-1);o(d,d.text,p),h&&e.remove(s.line,h),g.length&&e.insert(s.line,g)}else if(u==d)if(1==c.length)o(u,u.text.slice(0,s.ch)+f+u.text.slice(l.ch),p);else{var v=a(1,c.length-1);v.push(new ps(f+u.text.slice(l.ch),p,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+d.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(d,f+d.text.slice(l.ch),p);var _=a(1,c.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,_)}bt(e,"change",e,t)}function Kr(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function Xr(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Sn(e),Vr(e),Jr(e),e.options.lineWrapping||be(e),e.options.mode=t.modeOption,vr(e)}function Jr(e){("rtl"==e.doc.direction?s:Na)(e.display.lineDiv,"CodeMirror-rtl")}function Qr(e){pr(e,function(){Jr(e),vr(e)})}function ei(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function ti(e,t){var n={from:I(t.from),to:$r(t),text:E(e,t.from,t.to)};return li(e,n,t.from.line,t.to.line+1),Kr(e,function(e){return li(e,n,t.from.line,t.to.line+1)},!0),n}function ni(e){for(;e.length;){if(!m(e).ranges)break;e.pop()}}function ri(e,t){return t?(ni(e.done),m(e.done)):e.done.length&&!m(e.done).ranges?m(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),m(e.done)):void 0}function ii(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>s-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=ri(i,i.lastOp==r)))a=m(o.changes),0==N(t.from,t.to)&&0==N(t.from,a.to)?a.to=$r(t):o.changes.push(ti(e,t));else{var l=m(i.done);for(l&&l.ranges||si(e.sel,i.done),o={changes:[ti(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||Te(e,"historyAdded")}function oi(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function ai(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||oi(e,o,m(i.done),t))?i.done[i.done.length-1]=t:si(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&ni(i.undone)}function si(e,t){var n=m(t);n&&n.ranges&&n.equals(e)||t.push(e)}function li(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function ci(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function ui(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(ci(n[i]));return r}function di(e,t){var n=ui(e,t),r=Q(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function fi(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Ms.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var d in c)(u=d.match(/^spans_(\d+)$/))&&f(t,Number(u[1]))>-1&&(m(s)[d]=c[d],delete c[d])}}}return r}function pi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=N(t,i)<0;o!=N(n,i)<0?(i=t,t=n):o!=N(t,n)<0&&(t=n)}return new Es(i,t)}return new Es(n||t,t)}function hi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),bi(e,new Ms([pi(e.sel.primary(),t,n,i)],0),r)}function mi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=pi(e.sel.ranges[o],t[o],null,i);bi(e,qr(r,e.sel.primIndex),n)}function gi(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,bi(e,qr(i,e.sel.primIndex),r)}function vi(e,t,n,r){bi(e,Rr(t,n),r)}function _i(e,t,n){var r={ranges:t.ranges,update:function(t){var n=this;this.ranges=[];for(var r=0;r<t.length;r++)n.ranges[r]=new Es(W(e,t[r].anchor),W(e,t[r].head))},origin:n&&n.origin};return Te(e,"beforeSelectionChange",e,r),e.cm&&Te(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?qr(r.ranges,r.ranges.length-1):t}function yi(e,t,n){var r=e.history.done,i=m(r);i&&i.ranges?(r[r.length-1]=t,xi(e,t,n)):bi(e,t,n)}function bi(e,t,n){xi(e,t,n),ai(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function xi(e,t,n){(Ae(e,"beforeSelectionChange")||e.cm&&Ae(e.cm,"beforeSelectionChange"))&&(t=_i(e,t,n)),wi(e,Si(e,t,n&&n.bias||(N(t.primary().head,e.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!e.cm||Yn(e.cm)}function wi(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,Ee(e.cm)),bt(e,"cursorActivity",e))}function ki(e){wi(e,Si(e,e.sel,null,!1))}function Si(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=Ti(e,a.anchor,s&&s.anchor,n,r),c=Ti(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new Es(l,c))}return i?qr(i,t.primIndex):t}function Ci(e,t,n,r,i){var o=M(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker;if((null==s.from||(l.inclusiveLeft?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(l.inclusiveRight?s.to>=t.ch:s.to>t.ch))){if(i&&(Te(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=Mi(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=N(c,n))&&(r<0?u<0:u>0))return Ci(e,c,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(d=Mi(e,d,r,d.line==t.line?o:null)),d?Ci(e,d,t,r,i):null}}return t}function Ti(e,t,n,r,i){var o=r||1,a=Ci(e,t,n,o,i)||!i&&Ci(e,t,n,o,!0)||Ci(e,t,n,-o,i)||!i&&Ci(e,t,n,-o,!0);return a||(e.cantEdit=!0,P(e.first,0))}function Mi(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?W(e,P(t.line-1)):null:n>0&&t.ch==(r||M(e,t.line)).text.length?t.line<e.first+e.size-1?P(t.line+1,0):null:new P(t.line,t.ch+n)}function Ei(e){e.setSelection(P(e.firstLine(),0),P(e.lastLine()),Ba)}function Ai(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=W(e,t)),n&&(r.to=W(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),Te(e,"beforeChange",e,r),e.cm&&Te(e.cm,"beforeChange",e.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Li(e,t,n){if(e.cm){if(!e.cm.curOp)return hr(e.cm,Li)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(Ae(e,"beforeChange")||e.cm&&Ae(e.cm,"beforeChange"))||(t=Ai(e,t,!0))){var r=Za&&!n&&te(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)Di(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Di(e,t)}}function Di(e,t){if(1!=t.text.length||""!=t.text[0]||0!=N(t.from,t.to)){var n=Br(e,t);ii(e,t,n,e.cm?e.cm.curOp.id:NaN),Fi(e,t,n,Q(e,t));var r=[];Kr(e,function(e,n){n||-1!=f(r,e.history)||(qi(e.history,t),r.push(e.history)),Fi(e,t,null,Q(e,t))})}}function ji(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,l=0;l<a.length&&(r=a[l],n?!r.ranges||r.equals(e.sel):r.ranges);l++);if(l!=a.length){for(i.lastOrigin=i.lastSelOrigin=null;r=a.pop(),r.ranges;){if(si(r,s),n&&!r.equals(e.sel))return void bi(e,r,{clearRedo:!1});o=r}var c=[];si(o,s),s.push({changes:c,generation:i.generation}),i.generation=r.generation||++i.maxGeneration;for(var u=Ae(e,"beforeChange")||e.cm&&Ae(e.cm,"beforeChange"),d=r.changes.length-1;d>=0;--d){var p=function(n){var i=r.changes[n];if(i.origin=t,u&&!Ai(e,i,!1))return a.length=0,{};c.push(ti(e,i));var o=n?Br(e,i):m(a);Fi(e,i,o,di(e,i)),!n&&e.cm&&e.cm.scrollIntoView({from:i.from,to:$r(i)});var s=[];Kr(e,function(e,t){t||-1!=f(s,e.history)||(qi(e.history,i),s.push(e.history)),Fi(e,i,null,di(e,i))})}(d);if(p)return p.v}}}}function Oi(e,t){if(0!=t&&(e.first+=t,e.sel=new Ms(g(e.sel.ranges,function(e){return new Es(P(e.anchor.line+t,e.anchor.ch),P(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){vr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)_r(e.cm,r,"gutter")}}function Fi(e,t,n,r){if(e.cm&&!e.cm.curOp)return hr(e.cm,Fi)(e,t,n,r);if(t.to.line<e.first)return void Oi(e,t.text.length-1-(t.to.line-t.from.line));if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);Oi(e,i),t={from:P(e.first,0),to:P(t.to.line+i,t.to.ch),text:[m(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:P(o,M(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=E(e,t.from,t.to),n||(n=Br(e,t)),e.cm?Pi(e.cm,t,r):Zr(e,t,r),xi(e,n,Ba)}}function Pi(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=D(de(M(r,o.line))),r.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0,!0})),
r.sel.contains(t.from,t.to)>-1&&Ee(e),Zr(r,t,n,kn(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=ye(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),it(r,o.line),kr(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?vr(e):o.line!=a.line||1!=t.text.length||Gr(e.doc,t)?vr(e,o.line,a.line+1,c):_r(e,o.line,"text");var u=Ae(e,"changes"),d=Ae(e,"change");if(d||u){var f={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&bt(e,"change",e,f),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}function Ni(e,t,n,r,i){if(r||(r=n),N(r,n)<0){var o;o=[r,n],n=o[0],r=o[1]}"string"==typeof t&&(t=e.splitLines(t)),Li(e,{from:n,to:r,text:t,origin:i})}function zi(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function Ii(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)zi(o.ranges[s].anchor,t,n,r),zi(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=P(c.from.line+r,c.from.ch),c.to=P(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function qi(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;Ii(e.done,n,r,i),Ii(e.undone,n,r,i)}function Ri(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=M(e,$(e,t)):i=D(t),null==i?null:(r(o,i)&&e.cm&&_r(e.cm,i,n),o)}function $i(e){var t=this;this.lines=e,this.parent=null;for(var n=0,r=0;r<e.length;++r)e[r].parent=t,n+=e[r].height;this.height=n}function Wi(e){var t=this;this.children=e;for(var n=0,r=0,i=0;i<e.length;++i){var o=e[i];n+=o.chunkSize(),r+=o.height,o.parent=t}this.size=n,this.height=r,this.parent=null}function Bi(e,t,n){_e(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Vn(e,n)}function Hi(e,t,n,r){var i=new As(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),Ri(e,t,"widget",function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!ge(e,t)){var r=_e(t)<e.scrollTop;L(t,t.height+Ft(i)),r&&Vn(o,i.height),o.curOp.forceUpdate=!0}return!0}),bt(o,"lineWidgetAdded",o,i,"number"==typeof t?t:D(t)),i}function Ui(e,t,n,r,o){if(r&&r.shared)return Vi(e,t,n,r,o);if(e.cm&&!e.cm.curOp)return hr(e.cm,Ui)(e,t,n,r,o);var a=new Ds(e,o),s=N(t,n);if(r&&u(r,a,!1),s>0||0==s&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=i("span",[a.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(ue(e,t.line,t,n,a)||t.line!=n.line&&ue(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");V()}a.addToHistory&&ii(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l,c=t.line,d=e.cm;if(e.iter(c,n.line+1,function(e){d&&a.collapsed&&!d.options.lineWrapping&&de(e)==d.display.maxLine&&(l=!0),a.collapsed&&c!=t.line&&L(e,0),K(e,new Y(a,c==t.line?t.ch:null,c==n.line?n.ch:null)),++c}),a.collapsed&&e.iter(t.line,n.line+1,function(t){ge(e,t)&&L(t,0)}),a.clearOnEnter&&es(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(U(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++Ls,a.atomic=!0),d){if(l&&(d.curOp.updateMaxLine=!0),a.collapsed)vr(d,t.line,n.line+1);else if(a.className||a.title||a.startStyle||a.endStyle||a.css)for(var f=t.line;f<=n.line;f++)_r(d,f,"text");a.atomic&&ki(d.doc),bt(d,"markerAdded",d,a)}return a}function Vi(e,t,n,r,i){r=u(r),r.shared=!1;var o=[Ui(e,t,n,r,i)],a=o[0],s=r.widgetNode;return Kr(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Ui(e,W(e,t),W(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=m(o)}),new js(o,a)}function Yi(e){return e.findMarks(P(e.first,0),e.clipPos(P(e.lastLine())),function(e){return e.parent})}function Gi(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(N(o,a)){var s=Ui(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function Zi(e){for(var t=0;t<e.length;t++)!function(t){var n=e[t],r=[n.primary.doc];Kr(n.primary.doc,function(e){return r.push(e)});for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==f(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}}(t)}function Ki(e){var t=this;if(Qi(t),!Me(t,e)&&!Pt(t.display,e)){De(e),va&&(Ps=+new Date);var n=Cn(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),a=0,s=0;s<i;++s)!function(e,r){if(!t.options.allowDropFileTypes||-1!=f(t.options.allowDropFileTypes,e.type)){var s=new FileReader;s.onload=hr(t,function(){var e=s.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[r]=e,++a==i){n=W(t.doc,n);var l={from:n,to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};Li(t.doc,l),yi(t.doc,Rr(n,$r(l)))}}),s.readAsText(e)}}(r[s],s);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var l=e.dataTransfer.getData("Text");if(l){var c;if(t.state.draggingText&&!t.state.draggingText.copy&&(c=t.listSelections()),xi(t.doc,Rr(n,n)),c)for(var u=0;u<c.length;++u)Ni(t.doc,"",c[u].anchor,c[u].head,"drag");t.replaceSelection(l,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Xi(e,t){if(va&&(!e.state.draggingText||+new Date-Ps<100))return void Fe(t);if(!Me(e,t)&&!Pt(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!ka)){var n=r("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",wa&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),wa&&n.parentNode.removeChild(n)}}function Ji(e,t){var i=Cn(e,t);if(i){var o=document.createDocumentFragment();An(e,i,o),e.display.dragCursor||(e.display.dragCursor=r("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),n(e.display.dragCursor,o)}}function Qi(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function eo(e){if(document.getElementsByClassName)for(var t=document.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var r=t[n].CodeMirror;r&&e(r)}}function to(){Ns||(no(),Ns=!0)}function no(){var e;es(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,eo(ro)},100))}),es(window,"blur",function(){return eo(Nn)})}function ro(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function io(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var n,r,i,o,a=0;a<t.length-1;a++){var s=t[a];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);i=!0}}return n&&(e="Alt-"+e),r&&(e="Ctrl-"+e),o&&(e="Cmd-"+e),i&&(e="Shift-"+e),e}function oo(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=g(n.split(" "),io),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function ao(e,t,n,r){t=uo(t);var i=t.call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return ao(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=ao(e,t.fallthrough[o],n,r);if(a)return a}}}function so(e){var t="string"==typeof e?e:zs[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function lo(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(Fa?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(Fa?t.ctrlKey:t.metaKey)&&"Cmd"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function co(e,t){if(wa&&34==e.keyCode&&e.char)return!1;var n=zs[e.keyCode];return null!=n&&!e.altGraphKey&&lo(n,e,t)}function uo(e){return"string"==typeof e?$s[e]:e}function fo(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&N(o.from,m(r).to)<=0;){var a=r.pop();if(N(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}pr(e,function(){for(var t=r.length-1;t>=0;t--)Ni(e.doc,"",r[t].from,r[t].to,"+delete");Yn(e)})}function po(e,t,n){var r=S(e.text,t+n,n);return r<0||r>e.text.length?null:r}function ho(e,t,n){var r=po(e,t.ch,n);return null==r?null:new P(t.line,r,n<0?"after":"before")}function mo(e,t,n,r,i){if(e){var o=ke(n,t.doc.direction);if(o){var a,s=i<0?m(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=Yt(t,n);a=i<0?n.text.length-1:0;var d=Gt(t,u,a).top;a=C(function(e){return Gt(t,u,e).top==d},i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=po(n,a,1))}else a=i<0?s.to:s.from;return new P(r,a,c)}}return new P(r,i<0?n.text.length:0,i<0?"before":"after")}function go(e,t,n,r){var i=ke(t,e.doc.direction);if(!i)return ho(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=we(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return ho(t,n,r);var s,l=function(e,n){return po(t,e instanceof P?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||Yt(e,t),hn(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==r<0,f=l(n,d?1:-1);if(null!=f&&(d?f<=a.to&&f<=u.end:f>=a.from&&f>=u.begin)){var p=d?"before":"after";return new P(n.line,f,p)}}var h=function(e,t,r){for(var o=function(e,t){return t?new P(n.line,l(e,1),"before"):new P(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=h(o+r,r,u);if(m)return m;var g=r>0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||!(m=h(r>0?0:i.length-1,r,c(g)))?null:m}function vo(e,t){var n=M(e.doc,t),r=de(n);return r!=n&&(t=D(r)),mo(!0,e,r,t,1)}function _o(e,t){var n=M(e.doc,t),r=fe(n);return r!=n&&(t=D(r)),mo(!0,e,n,t,-1)}function yo(e,t){var n=vo(e,t.line),r=M(e.doc,n.line),i=ke(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return P(n.line,a?0:o,n.sticky)}return n}function bo(e,t,n){if("string"==typeof t&&!(t=Ws[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Wa}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function xo(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=ao(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&ao(t,e.options.extraKeys,n,e)||ao(t,e.options.keyMap,n,e)}function wo(e,t,n,r){var i=e.state.keySeq;if(i){if(so(t))return"handled";Bs.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),t=i+" "+t}var o=xo(e,t,r);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&bt(e,"keyHandled",e,t,n),"handled"!=o&&"multi"!=o||(De(n),jn(e)),i&&!o&&/\'$/.test(t)?(De(n),!0):!!o}function ko(e,t){var n=co(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?wo(e,"Shift-"+n,t,function(t){return bo(e,t,!0)})||wo(e,n,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return bo(e,t)}):wo(e,n,t,function(t){return bo(e,t)}))}function So(e,t,n){return wo(e,"'"+n+"'",t,function(t){return bo(e,t,!0)})}function Co(e){var t=this;if(t.curOp.focus=a(),!Me(t,e)){va&&_a<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=ko(t,e);wa&&(Hs=r?n:null,!r&&88==n&&!is&&(Aa?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||To(t)}}function To(e){function t(e){18!=e.keyCode&&e.altKey||(Na(n,"CodeMirror-crosshair"),Ce(document,"keyup",t),Ce(document,"mouseover",t))}var n=e.display.lineDiv;s(n,"CodeMirror-crosshair"),es(document,"keyup",t),es(document,"mouseover",t)}function Mo(e){16==e.keyCode&&(this.doc.sel.shift=!1),Me(this,e)}function Eo(e){var t=this;if(!(Pt(t.display,e)||Me(t,e)||e.ctrlKey&&!e.altKey||Aa&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(wa&&n==Hs)return Hs=null,void De(e);if(!wa||e.which&&!(e.which<10)||!ko(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(So(t,e,i)||t.display.input.onKeyPress(e))}}}function Ao(e,t){var n=+new Date;return Ys&&Ys.compare(n,e,t)?(Vs=Ys=null,"triple"):Vs&&Vs.compare(n,e,t)?(Ys=new Us(n,e,t),Vs=null,"double"):(Vs=new Us(n,e,t),Ys=null,"single")}function Lo(e){var t=this,n=t.display;if(!(Me(t,e)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=e.shiftKey,Pt(n,e))return void(ya||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100)));if(!qo(t,e)){var r=Cn(t,e),i=Ne(e),o=r?Ao(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&Do(t,i,r,o,e)||(1==i?r?Oo(t,r,o,e):Pe(e)==n.scroller&&De(e):2==i?(r&&hi(t.doc,r),setTimeout(function(){return n.input.focus()},20)):3==i&&(Pa?Ro(t,e):Fn(t)))}}}function Do(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),o=(1==t?"Left":2==t?"Middle":"Right")+o,wo(e,lo(o,i),i,function(t){if("string"==typeof t&&(t=Ws[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=Wa}finally{e.state.suppressEdits=!1}return r})}function jo(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=La?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=Aa?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(Aa?n.altKey:n.ctrlKey)),i}function Oo(e,t,n,r){va?setTimeout(c(On,e),0):e.curOp.focus=a();var i,o=jo(e,n,r),s=e.doc.sel;e.options.dragDrop&&ts&&!e.isReadOnly()&&"single"==n&&(i=s.contains(t))>-1&&(N((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(N(i.to(),t)>0||t.xRel<0)?Fo(e,r,t,o):No(e,r,t,o)}function Fo(e,t,n,r){var i=e.display,o=!1,a=hr(e,function(t){ya&&(i.scroller.draggable=!1),e.state.draggingText=!1,Ce(document,"mouseup",a),Ce(document,"mousemove",s),Ce(i.scroller,"dragstart",l),Ce(i.scroller,"drop",a),o||(De(t),r.addNew||hi(e.doc,n,null,null,r.extend),ya||va&&9==_a?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),s=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},l=function(){return o=!0};ya&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),es(document,"mouseup",a),es(document,"mousemove",s),es(i.scroller,"dragstart",l),es(i.scroller,"drop",a),Fn(e),setTimeout(function(){return i.input.focus()},20)}function Po(e,t,n){if("char"==n)return new Es(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Es(P(t.line,0),W(e.doc,P(t.line+1,0)));var r=n(e,t);return new Es(r.from,r.to)}function No(e,t,n,r){function i(t){if(0!=N(v,t))if(v=t,"rectangle"==r.unit){for(var i=[],o=e.options.tabSize,a=d(M(c,n.line).text,n.ch,o),s=d(M(c,t.line).text,t.ch,o),l=Math.min(a,s),m=Math.max(a,s),g=Math.min(n.line,t.line),_=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=_;g++){var y=M(c,g).text,b=p(y,l,o);l==m?i.push(new Es(P(g,b),P(g,b))):y.length>b&&i.push(new Es(P(g,b),P(g,p(y,m,o))))}i.length||i.push(new Es(n,n)),bi(c,qr(h.ranges.slice(0,f).concat(i),f),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x,w=u,k=Po(e,t,r.unit),S=w.anchor;N(k.anchor,S)>0?(x=k.head,S=R(w.from(),k.anchor)):(x=k.anchor,S=q(w.to(),k.head));var C=h.ranges.slice(0);C[f]=zo(e,new Es(W(c,S),x)),bi(c,qr(C,f),Ha)}}function o(t){var n=++y,s=Cn(e,t,!0,"rectangle"==r.unit);if(s)if(0!=N(s,v)){e.curOp.focus=a(),i(s);var u=qn(l,c);(s.line>=u.to||s.line<u.from)&&setTimeout(hr(e,function(){y==n&&o(t)}),150)}else{var d=t.clientY<_.top?-20:t.clientY>_.bottom?20:0;d&&setTimeout(hr(e,function(){y==n&&(l.scroller.scrollTop+=d,o(t))}),50)}}function s(t){e.state.selectingText=!1,y=1/0,De(t),l.input.focus(),Ce(document,"mousemove",b),Ce(document,"mouseup",x),c.history.lastSelOrigin=null}var l=e.display,c=e.doc;De(t);var u,f,h=c.sel,m=h.ranges;if(r.addNew&&!r.extend?(f=c.sel.contains(n),u=f>-1?m[f]:new Es(n,n)):(u=c.sel.primary(),f=c.sel.primIndex),"rectangle"==r.unit)r.addNew||(u=new Es(n,n)),n=Cn(e,t,!0,!0),f=-1;else{var g=Po(e,n,r.unit);u=r.extend?pi(u,g.anchor,g.head,r.extend):g}r.addNew?-1==f?(f=m.length,bi(c,qr(m.concat([u]),f),{scroll:!1,origin:"*mouse"})):m.length>1&&m[f].empty()&&"char"==r.unit&&!r.extend?(bi(c,qr(m.slice(0,f).concat(m.slice(f+1)),0),{scroll:!1,origin:"*mouse"}),h=c.sel):gi(c,f,u,Ha):(f=0,bi(c,new Ms([u],0),Ha),h=c.sel);var v=n,_=l.wrapper.getBoundingClientRect(),y=0,b=hr(e,function(e){Ne(e)?o(e):s(e)}),x=hr(e,s);e.state.selectingText=x,es(document,"mousemove",b),es(document,"mouseup",x)}function zo(e,t){var n=t.anchor,r=t.head,i=M(e.doc,n.line);if(0==N(n,r)&&n.sticky==r.sticky)return t;var o=ke(i);if(!o)return t;var a=we(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==l||l==o.length)return t;var c;if(r.line!=n.line)c=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=we(o,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==s.level?-1:1);c=u==l-1||u==l?d<0:d>0}var f=o[l+(c?-1:0)],p=c==(1==f.level),h=p?f.from:f.to,m=p?"after":"before";return n.ch==h&&n.sticky==m?t:new Es(new P(n.line,h,m),r)}function Io(e,t,n,r){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!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&De(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Ae(e,n))return Oe(t);o-=s.top-a.viewOffset;for(var l=0;l<e.options.gutters.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i){return Te(e,n,e,j(e.doc,o),e.options.gutters[l],t),Oe(t)}}}function qo(e,t){return Io(e,t,"gutterClick",!0)}function Ro(e,t){Pt(e.display,t)||$o(e,t)||Me(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function $o(e,t){return!!Ae(e,"gutterContextMenu")&&Io(e,t,"gutterContextMenu",!1)}function Wo(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),tn(e)}function Bo(e){Fr(e),vr(e),Rn(e)}function Ho(e,t,n){if(!t!=!(n&&n!=Gs)){var r=e.display.dragFunctions,i=t?es:Ce;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Uo(e){e.options.lineWrapping?(s(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Na(e.display.wrapper,"CodeMirror-wrap"),be(e)),Sn(e),vr(e),tn(e),setTimeout(function(){return nr(e)},100)}function Vo(e,t){var n=this;if(!(this instanceof Vo))return new Vo(e,t);this.options=t=t?u(t):{},u(Zs,t,!1),Pr(t);var r=t.value;"string"==typeof r&&(r=new Fs(r,t.mode,null,t.lineSeparator,t.direction)),this.doc=r;var i=new Vo.inputStyles[t.inputStyle](this),o=this.display=new T(e,r,i);o.wrapper.CodeMirror=this,Fr(this),Wo(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ir(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Ia,keySeq:null,specialChars:null},t.autofocus&&!Ea&&o.input.focus(),va&&_a<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Yo(this),to(),or(this),this.curOp.forceUpdate=!0,Xr(this,r),t.autofocus&&!Ea||this.hasFocus()?setTimeout(c(Pn,this),20):Nn(this);for(var a in Ks)Ks.hasOwnProperty(a)&&Ks[a](n,t[a],Gs);$n(this),t.finishInit&&t.finishInit(this);for(var s=0;s<Xs.length;++s)Xs[s](n);ar(this),ya&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Yo(e){function t(){i.activeTouch&&(o=setTimeout(function(){return i.activeTouch=null},1e3),a=i.activeTouch,a.end=+new Date)}function n(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function r(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}var i=e.display;es(i.scroller,"mousedown",hr(e,Lo)),va&&_a<11?es(i.scroller,"dblclick",hr(e,function(t){if(!Me(e,t)){var n=Cn(e,t);if(n&&!qo(e,t)&&!Pt(e.display,t)){De(t);var r=e.findWordAt(n);hi(e.doc,r.anchor,r.head)}}})):es(i.scroller,"dblclick",function(t){return Me(e,t)||De(t)}),Pa||es(i.scroller,"contextmenu",function(t){return Ro(e,t)});var o,a={end:0};es(i.scroller,"touchstart",function(t){if(!Me(e,t)&&!n(t)&&!qo(e,t)){i.input.ensurePolled(),clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-a.end<=300?a:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),es(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),es(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!Pt(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,s=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new Es(s,s):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(s):new Es(P(s.line,0),W(e.doc,P(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),De(n)}t()}),es(i.scroller,"touchcancel",t),es(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Jn(e,i.scroller.scrollTop),er(e,i.scroller.scrollLeft,!0),Te(e,"scroll",e))}),es(i.scroller,"mousewheel",function(t){return Ir(e,t)}),es(i.scroller,"DOMMouseScroll",function(t){return Ir(e,t)}),es(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(t){Me(e,t)||Fe(t)},over:function(t){Me(e,t)||(Ji(e,t),Fe(t))},start:function(t){return Xi(e,t)},drop:hr(e,Ki),leave:function(t){Me(e,t)||Qi(e)}};var s=i.input.getField();es(s,"keyup",function(t){return Mo.call(e,t)}),es(s,"keydown",hr(e,Co)),es(s,"keypress",hr(e,Eo)),es(s,"focus",function(t){return Pn(e,t)}),es(s,"blur",function(t){return Nn(e,t)})}function Go(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=Ke(e,t).state:n="prev");var a=e.options.tabSize,s=M(o,t),l=d(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==Wa||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?d(M(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var f="",p=0;if(e.options.indentWithTabs)for(var m=Math.floor(c/a);m;--m)p+=a,f+="\t";if(p<c&&(f+=h(c-p)),f!=u)return Ni(o,f,P(t,0),P(t,u.length),"+input"),s.stateAfter=null,!0;for(var g=0;g<o.sel.ranges.length;g++){var v=o.sel.ranges[g];if(v.head.line==t&&v.head.ch<u.length){var _=P(t,u.length);gi(o,g,new Es(_,_));break}}}function Zo(e){Js=e}function Ko(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=e.state.pasteIncoming||"paste"==i,s=ns(t),l=null;if(a&&r.ranges.length>1)if(Js&&Js.text.join("\n")==t){if(r.ranges.length%Js.text.length==0){l=[];for(var c=0;c<Js.text.length;c++)l.push(o.splitLines(Js.text[c]))}}else s.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(l=g(s,function(e){return[e]}));for(var u,d=r.ranges.length-1;d>=0;d--){var f=r.ranges[d],p=f.from(),h=f.to();f.empty()&&(n&&n>0?p=P(p.line,p.ch-n):e.state.overwrite&&!a?h=P(h.line,Math.min(M(o,h.line).text.length,h.ch+m(s).length)):Js&&Js.lineWise&&Js.text.join("\n")==t&&(p=h=P(p.line,0))),u=e.curOp.updateInput;var v={from:p,to:h,text:l?l[d%l.length]:s,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};Li(e.doc,v),bt(e,"inputRead",e,v)}t&&!a&&Jo(e,t),Yn(e),e.curOp.updateInput=u,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Xo(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||pr(t,function(){return Ko(t,n,0,null,"paste")}),!0}function Jo(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Go(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(M(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Go(e,i.head.line,"smart"));a&&bt(e,"electricInput",e,i.head.line)}}}function Qo(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:P(i,0),head:P(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function ea(e,t){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!!t)}function ta(){var e=r("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=r("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ya?e.style.width="1000px":e.setAttribute("wrap","off"),Ta&&(e.style.border="1px solid black"),ea(e),t}function na(e,t,n,r,i){function o(){var r=t.line+n;return!(r<e.first||r>=e.first+e.size)&&(t=new P(r,t.ch,t.sticky),c=M(e,r))}function a(r){var a;if(null==(a=i?go(e.cm,c,t,n):ho(c,t,n))){if(r||!o())return!1;t=mo(i,e.cm,c,t.line,n)}else t=a;return!0}var s=t,l=n,c=M(e,t.line);if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var u=null,d="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||a(!p);p=!1){var h=c.text.charAt(t.ch)||"\n",m=x(h,f)?"w":d&&"\n"==h?"n":!d||/\s/.test(h)?null:"p";if(!d||p||m||(m="s"),u&&u!=m){n<0&&(n=1,a(),t.sticky="after");break}if(m&&(u=m),n>0&&!a(!p))break}var g=Ti(e,t,s,l,!0);return z(s,g)&&(g.hitSide=!0),g}function ra(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(s-.5*yn(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var c;c=fn(e,a,i),c.outside;){if(n<0?i<=0:i>=o.height){c.hitSide=!0;break}i+=5*n}return c}function ia(e,t){var n=Vt(e,t.line);if(!n||n.hidden)return null;var r=M(e.doc,t.line),i=Bt(n,r,t.line),o=ke(r,e.doc.direction),a="left";if(o){a=we(o,t.ch)%2?"right":"left"}var s=Zt(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function oa(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function aa(e,t){return t&&(e.bad=!0),e}function sa(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(){u&&(c+=d,u=!1)}function s(e){e&&(a(),c+=e)}function l(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void s(n||t.textContent.replace(/\u200b/g,""));var c,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(P(r,0),P(i+1,0),o(+f));return void(p.length&&(c=p[0].find(0))&&s(E(e.doc,c.from,c.to).join(d)))}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p)$/i.test(t.nodeName);h&&a();for(var m=0;m<t.childNodes.length;m++)l(t.childNodes[m]);h&&(u=!0)}else 3==t.nodeType&&s(t.nodeValue)}for(var c="",u=!1,d=e.doc.lineSeparator();l(t),t!=n;)t=t.nextSibling;return c}function la(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return aa(e.clipPos(P(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return ca(o,t,n)}}function ca(e,t,n){function r(t,n,r){for(var i=-1;i<(d?d.length:0);i++)for(var o=i<0?u.map:d[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var l=D(i<0?e.line:e.rest[i]),c=o[a]+r;return(r<0||s!=t)&&(c=o[a+(r?1:0)]),P(l,c)}}}var i=e.text.firstChild,a=!1;if(!t||!o(i,t))return aa(P(D(e.line),0),!0);if(t==i&&(a=!0,t=i.childNodes[n],n=0,!t)){var s=e.rest?m(e.rest):e.line;return aa(P(D(s),s.text.length),a)}var l=3==t.nodeType?t:null,c=t;for(l||1!=t.childNodes.length||3!=t.firstChild.nodeType||(l=t.firstChild,n&&(n=l.nodeValue.length));c.parentNode!=i;)c=c.parentNode;var u=e.measure,d=u.maps,f=r(l,c,n);if(f)return aa(f,a);for(var p=c.nextSibling,h=l?l.nodeValue.length-n:0;p;p=p.nextSibling){if(f=r(p,p.firstChild,0))return aa(P(f.line,f.ch-h),a);h+=p.textContent.length}for(var g=c.previousSibling,v=n;g;g=g.previousSibling){if(f=r(g,g.firstChild,-1))return aa(P(f.line,f.ch+v),a);v+=g.textContent.length}}function ua(e,t){function n(){e.value=l.getValue()}if(t=t?u(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=a();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}var i;if(e.form&&(es(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var s=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=s}}catch(e){}}t.finishInit=function(t){t.save=n,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,n(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(Ce(e.form,"submit",n),"function"==typeof e.form.submit&&(e.form.submit=i))}},e.style.display="none";var l=Vo(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return l}var da=navigator.userAgent,fa=navigator.platform,pa=/gecko\/\d/i.test(da),ha=/MSIE \d/.test(da),ma=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(da),ga=/Edge\/(\d+)/.exec(da),va=ha||ma||ga,_a=va&&(ha?document.documentMode||6:+(ga||ma)[1]),ya=!ga&&/WebKit\//.test(da),ba=ya&&/Qt\/\d+\.\d+/.test(da),xa=!ga&&/Chrome\//.test(da),wa=/Opera\//.test(da),ka=/Apple Computer/.test(navigator.vendor),Sa=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(da),Ca=/PhantomJS/.test(da),Ta=!ga&&/AppleWebKit/.test(da)&&/Mobile\/\w+/.test(da),Ma=/Android/.test(da),Ea=Ta||Ma||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(da),Aa=Ta||/Mac/.test(fa),La=/\bCrOS\b/.test(da),Da=/win/i.test(fa),ja=wa&&da.match(/Version\/(\d*\.\d*)/);ja&&(ja=Number(ja[1])),ja&&ja>=15&&(wa=!1,ya=!0);var Oa,Fa=Aa&&(ba||wa&&(null==ja||ja<12.11)),Pa=pa||va&&_a>=9,Na=function(t,n){var r=t.className,i=e(n).exec(r);if(i){var o=r.slice(i.index+i[0].length);t.className=r.slice(0,i.index)+(o?i[1]+o:"")}};Oa=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var za=function(e){e.select()};Ta?za=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:va&&(za=function(e){try{e.select()}catch(e){}});var Ia=function(){this.id=null};Ia.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var qa,Ra,$a=30,Wa={toString:function(){return"CodeMirror.Pass"}},Ba={scroll:!1},Ha={origin:"*mouse"},Ua={origin:"+move"
},Va=[""],Ya=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ga=/[\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]/,Za=!1,Ka=!1,Xa=null,Ja=function(){function e(e){return e<=247?n.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1785?r.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,s=/[Lb1n]/,l=/[1n]/;return function(n,r){var c="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!i.test(n))return!1;for(var u=n.length,d=[],f=0;f<u;++f)d.push(e(n.charCodeAt(f)));for(var p=0,h=c;p<u;++p){var g=d[p];"m"==g?d[p]=h:h=g}for(var v=0,_=c;v<u;++v){var y=d[v];"1"==y&&"r"==_?d[v]="n":a.test(y)&&(_=y,"r"==y&&(d[v]="R"))}for(var b=1,x=d[0];b<u-1;++b){var w=d[b];"+"==w&&"1"==x&&"1"==d[b+1]?d[b]="1":","!=w||x!=d[b+1]||"1"!=x&&"n"!=x||(d[b]=x),x=w}for(var k=0;k<u;++k){var S=d[k];if(","==S)d[k]="N";else if("%"==S){var C=void 0;for(C=k+1;C<u&&"%"==d[C];++C);for(var T=k&&"!"==d[k-1]||C<u&&"1"==d[C]?"1":"N",M=k;M<C;++M)d[M]=T;k=C-1}}for(var E=0,A=c;E<u;++E){var L=d[E];"L"==A&&"1"==L?d[E]="L":a.test(L)&&(A=L)}for(var D=0;D<u;++D)if(o.test(d[D])){var j=void 0;for(j=D+1;j<u&&o.test(d[j]);++j);for(var O="L"==(D?d[D-1]:c),F="L"==(j<u?d[j]:c),P=O==F?O?"L":"R":c,N=D;N<j;++N)d[N]=P;D=j-1}for(var z,I=[],q=0;q<u;)if(s.test(d[q])){var R=q;for(++q;q<u&&s.test(d[q]);++q);I.push(new t(0,R,q))}else{var $=q,W=I.length;for(++q;q<u&&"L"!=d[q];++q);for(var B=$;B<q;)if(l.test(d[B])){$<B&&I.splice(W,0,new t(1,$,B));var H=B;for(++B;B<q&&l.test(d[B]);++B);I.splice(W,0,new t(2,H,B)),$=B}else++B;$<q&&I.splice(W,0,new t(1,$,q))}return"ltr"==r&&(1==I[0].level&&(z=n.match(/^\s+/))&&(I[0].from=z[0].length,I.unshift(new t(0,0,z[0].length))),1==m(I).level&&(z=n.match(/\s+$/))&&(m(I).to-=z[0].length,I.push(new t(0,u-z[0].length,u)))),"rtl"==r?I.reverse():I}}(),Qa=[],es=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||Qa).concat(n)}},ts=function(){if(va&&_a<9)return!1;var e=r("div");return"draggable"in e||"dragDrop"in e}(),ns=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},rs=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},is=function(){var e=r("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),os=null,as={},ss={},ls={},cs=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};cs.prototype.eol=function(){return this.pos>=this.string.length},cs.prototype.sol=function(){return this.pos==this.lineStart},cs.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},cs.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},cs.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},cs.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},cs.prototype.eatSpace=function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t},cs.prototype.skipToEnd=function(){this.pos=this.string.length},cs.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},cs.prototype.backUp=function(e){this.pos-=e},cs.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=d(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?d(this.string,this.lineStart,this.tabSize):0)},cs.prototype.indentation=function(){return d(this.string,null,this.tabSize)-(this.lineStart?d(this.string,this.lineStart,this.tabSize):0)},cs.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},cs.prototype.current=function(){return this.string.slice(this.start,this.pos)},cs.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},cs.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},cs.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var us=function(e,t){this.state=e,this.lookAhead=t},ds=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};ds.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ds.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)t.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ds.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ds.fromSaved=function(e,t,n){return t instanceof us?new ds(e,Ue(e.mode,t.state),n,t.lookAhead):new ds(e,Ue(e.mode,t),n)},ds.prototype.save=function(e){var t=!1!==e?Ue(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new us(t,this.maxLookAhead):t};var fs=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},ps=function(e,t,n){this.text=e,re(this,t),this.height=n?n(this):1};ps.prototype.lineNo=function(){return D(this)},Le(ps);var hs,ms={},gs={},vs=null,_s=null,ys={left:0,right:0,top:0,bottom:0},bs=function(e,t,n){this.cm=n;var i=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(i),e(o),es(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),es(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,va&&_a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};bs.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r: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=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r: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";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},bs.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},bs.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},bs.prototype.zeroWidthHack=function(){var e=Aa&&!Sa?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ia,this.disableVert=new Ia},bs.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},bs.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var xs=function(){};xs.prototype.update=function(){return{bottom:0,right:0}},xs.prototype.setScrollLeft=function(){},xs.prototype.setScrollTop=function(){},xs.prototype.clear=function(){};var ws={native:bs,null:xs},ks=0,Ss=function(e,t,n){var r=e.display;this.viewport=t,this.visible=qn(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Rt(e),this.force=n,this.dims=xn(e),this.events=[]};Ss.prototype.signal=function(e,t){Ae(e,t)&&this.events.push(arguments)},Ss.prototype.finish=function(){for(var e=this,t=0;t<this.events.length;t++)Te.apply(null,e.events[t])};var Cs=0,Ts=null;va?Ts=-.53:pa?Ts=15:xa?Ts=-.7:ka&&(Ts=-1/3);var Ms=function(e,t){this.ranges=e,this.primIndex=t};Ms.prototype.primary=function(){return this.ranges[this.primIndex]},Ms.prototype.equals=function(e){var t=this;if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var r=t.ranges[n],i=e.ranges[n];if(!z(r.anchor,i.anchor)||!z(r.head,i.head))return!1}return!0},Ms.prototype.deepCopy=function(){for(var e=this,t=[],n=0;n<this.ranges.length;n++)t[n]=new Es(I(e.ranges[n].anchor),I(e.ranges[n].head));return new Ms(t,this.primIndex)},Ms.prototype.somethingSelected=function(){for(var e=this,t=0;t<this.ranges.length;t++)if(!e.ranges[t].empty())return!0;return!1},Ms.prototype.contains=function(e,t){var n=this;t||(t=e);for(var r=0;r<this.ranges.length;r++){var i=n.ranges[r];if(N(t,i.from())>=0&&N(e,i.to())<=0)return r}return-1};var Es=function(e,t){this.anchor=e,this.head=t};Es.prototype.from=function(){return R(this.anchor,this.head)},Es.prototype.to=function(){return q(this.anchor,this.head)},Es.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},$i.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=this,r=e,i=e+t;r<i;++r){var o=n.lines[r];n.height-=o.height,at(o),bt(o,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){var r=this;this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=r},iterN:function(e,t,n){for(var r=this,i=e+t;e<i;++e)if(n(r.lines[e]))return!0}},Wi.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){var n=this;this.size-=t;for(var r=0;r<this.children.length;++r){var i=n.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e),s=i.height;if(i.removeInner(e,a),n.height-=s-i.height,o==a&&(n.children.splice(r--,1),i.parent=null),0==(t-=a))break;e=0}else e-=o}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof $i))){var l=[];this.collapse(l),this.children=[new $i(l)],this.children[0].parent=this}},collapse:function(e){for(var t=this,n=0;n<this.children.length;++n)t.children[n].collapse(e)},insertInner:function(e,t,n){var r=this;this.size+=t.length,this.height+=n;for(var i=0;i<this.children.length;++i){var o=r.children[i],a=o.chunkSize();if(e<=a){if(o.insertInner(e,t,n),o.lines&&o.lines.length>50){for(var s=o.lines.length%25+25,l=s;l<o.lines.length;){var c=new $i(o.lines.slice(l,l+=25));o.height-=c.height,r.children.splice(++i,0,c),c.parent=r}o.lines=o.lines.slice(0,s),r.maybeSpill()}break}e-=a}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new Wi(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=f(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new Wi(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=this,i=0;i<this.children.length;++i){var o=r.children[i],a=o.chunkSize();if(e<a){var s=Math.min(t,a-e);if(o.iterN(e,s,n))return!0;if(0==(t-=s))break;e=0}else e-=a}}};var As=function(e,t,n){var r=this;if(n)for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);this.doc=e,this.node=t};As.prototype.clear=function(){var e=this,t=this.doc.cm,n=this.line.widgets,r=this.line,i=D(r);if(null!=i&&n){for(var o=0;o<n.length;++o)n[o]==e&&n.splice(o--,1);n.length||(r.widgets=null);var a=Ft(this);L(r,Math.max(0,r.height-a)),t&&(pr(t,function(){Bi(t,r,-a),_r(t,i,"widget")}),bt(t,"lineWidgetCleared",t,this,i))}},As.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Ft(this)-t;i&&(L(r,r.height+i),n&&pr(n,function(){n.curOp.forceUpdate=!0,Bi(n,r,i),bt(n,"lineWidgetChanged",n,e,D(r))}))},Le(As);var Ls=0,Ds=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Ls};Ds.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,n=t&&!t.curOp;if(n&&or(t),Ae(this,"clear")){var r=this.find();r&&bt(this,"clear",r.from,r.to)}for(var i=null,o=null,a=0;a<this.lines.length;++a){var s=e.lines[a],l=G(s.markedSpans,e);t&&!e.collapsed?_r(t,D(s),"text"):t&&(null!=l.to&&(o=D(s)),null!=l.from&&(i=D(s))),s.markedSpans=Z(s.markedSpans,l),null==l.from&&e.collapsed&&!ge(e.doc,s)&&t&&L(s,yn(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var c=0;c<this.lines.length;++c){var u=de(e.lines[c]),d=ye(u);d>t.display.maxLineLength&&(t.display.maxLine=u,t.display.maxLineLength=d,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&vr(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&ki(t.doc)),t&&bt(t,"markerCleared",t,this,i,o),n&&ar(t),this.parent&&this.parent.clear()}},Ds.prototype.find=function(e,t){var n=this;null==e&&"bookmark"==this.type&&(e=1);for(var r,i,o=0;o<this.lines.length;++o){var a=n.lines[o],s=G(a.markedSpans,n);if(null!=s.from&&(r=P(t?a:D(a),s.from),-1==e))return r;if(null!=s.to&&(i=P(t?a:D(a),s.to),1==e))return i}return r&&{from:r,to:i}},Ds.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&pr(r,function(){var i=t.line,o=D(t.line),a=Vt(r,o);if(a&&(Qt(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!ge(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=Ft(n)-s;l&&L(i,i.height+l)}bt(r,"markerChanged",r,e)})},Ds.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=f(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Ds.prototype.detachLine=function(e){if(this.lines.splice(f(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},Le(Ds);var js=function(e,t){var n=this;this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=n};js.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var t=0;t<this.markers.length;++t)e.markers[t].clear();bt(this,"clear")}},js.prototype.find=function(e,t){return this.primary.find(e,t)},Le(js);var Os=0,Fs=function(e,t,n,r,i){if(!(this instanceof Fs))return new Fs(e,t,n,r,i);null==n&&(n=0),Wi.call(this,[new $i([new ps("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=P(n,0);this.sel=Rr(o),this.history=new ei(null),this.id=++Os,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Zr(this,{from:o,to:o,text:e}),bi(this,Rr(o),Ba)};Fs.prototype=y(Wi.prototype,{constructor:Fs,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=A(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:gr(function(e){var t=P(this.first,0),n=this.first+this.size-1;Li(this,{from:t,to:P(n,M(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Gn(this.cm,0,0),bi(this,Rr(t),Ba)}),replaceRange:function(e,t,n,r){t=W(this,t),n=n?W(this,n):t,Ni(this,e,t,n,r)},getRange:function(e,t,n){var r=E(this,W(this,e),W(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(O(this,e))return M(this,e)},getLineNumber:function(e){return D(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=M(this,e)),de(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return W(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:gr(function(e,t,n){vi(this,W(this,"number"==typeof e?P(e,t||0):e),null,n)}),setSelection:gr(function(e,t,n){vi(this,W(this,e),W(this,t||e),n)}),extendSelection:gr(function(e,t,n){hi(this,W(this,e),t&&W(this,t),n)}),extendSelections:gr(function(e,t){mi(this,H(this,e),t)}),extendSelectionsBy:gr(function(e,t){mi(this,H(this,g(this.sel.ranges,e)),t)}),setSelections:gr(function(e,t,n){var r=this;if(e.length){for(var i=[],o=0;o<e.length;o++)i[o]=new Es(W(r,e[o].anchor),W(r,e[o].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),bi(this,qr(i,t),n)}}),addSelection:gr(function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new Es(W(this,e),W(this,t||e))),bi(this,qr(r,r.length-1),n)}),getSelection:function(e){for(var t,n=this,r=this.sel.ranges,i=0;i<r.length;i++){var o=E(n,r[i].from(),r[i].to());t=t?t.concat(o):o}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=this,n=[],r=this.sel.ranges,i=0;i<r.length;i++){var o=E(t,r[i].from(),r[i].to());!1!==e&&(o=o.join(e||t.lineSeparator())),n[i]=o}return n},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:gr(function(e,t,n){for(var r=this,i=[],o=this.sel,a=0;a<o.ranges.length;a++){var s=o.ranges[a];i[a]={from:s.from(),to:s.to(),text:r.splitLines(e[a]),origin:n}}for(var l=t&&"end"!=t&&Ur(this,i,t),c=i.length-1;c>=0;c--)Li(r,i[c]);l?yi(this,l):this.cm&&Yn(this.cm)}),undo:gr(function(){ji(this,"undo")}),redo:gr(function(){ji(this,"redo")}),undoSelection:gr(function(){ji(this,"undo",!0)}),redoSelection:gr(function(){ji(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new ei(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:fi(this.history.done),undone:fi(this.history.undone)}},setHistory:function(e){var t=this.history=new ei(this.history.maxGeneration);t.done=fi(e.done.slice(0),null,!0),t.undone=fi(e.undone.slice(0),null,!0)},setGutterMarker:gr(function(e,t,n){return Ri(this,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&w(r)&&(e.gutterMarkers=null),!0})}),clearGutter:gr(function(e){var t=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&Ri(t,n,"gutter",function(){return n.gutterMarkers[e]=null,w(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!O(this,e))return null;if(t=e,!(e=M(this,e)))return null}else if(null==(t=D(e)))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:gr(function(t,n,r){return Ri(this,t,"gutter"==n?"gutter":"class",function(t){var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(t[i]){if(e(r).test(t[i]))return!1;t[i]+=" "+r}else t[i]=r;return!0})}),removeLineClass:gr(function(t,n,r){return Ri(this,t,"gutter"==n?"gutter":"class",function(t){var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass",o=t[i];if(!o)return!1;if(null==r)t[i]=null;else{var a=o.match(e(r));if(!a)return!1;var s=a.index+a[0].length;t[i]=o.slice(0,a.index)+(a.index&&s!=o.length?" ":"")+o.slice(s)||null}return!0})}),addLineWidget:gr(function(e,t,n){return Hi(this,e,t,n)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return Ui(this,W(this,e),W(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=W(this,e),Ui(this,e,e,n,"bookmark")},findMarksAt:function(e){e=W(this,e);var t=[],n=M(this,e.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=W(this,e),t=W(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)}),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n}),W(this,P(n,t))},indexFromPos:function(e){e=W(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+n}),t},copy:function(e){var t=new Fs(A(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Fs(A(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Gi(r,Yi(this)),r},unlinkDoc:function(e){var t=this;if(e instanceof Vo&&(e=e.doc),this.linked)for(var n=0;n<this.linked.length;++n){var r=t.linked[n];if(r.doc==e){t.linked.splice(n,1),e.unlinkDoc(t),Zi(Yi(t));break}}if(e.history==this.history){var i=[e.id];Kr(e,function(e){return i.push(e.id)},!0),e.history=new ei(null),e.history.done=fi(this.history.done,i),e.history.undone=fi(this.history.undone,i)}},iterLinkedDocs:function(e){Kr(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):ns(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:gr(function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&Qr(this.cm))})}),Fs.prototype.eachLine=Fs.prototype.iter;for(var Ps=0,Ns=!1,zs={3:"Enter",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:"/",127:"Delete",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"},Is=0;Is<10;Is++)zs[Is+48]=zs[Is+96]=String(Is);for(var qs=65;qs<=90;qs++)zs[qs]=String.fromCharCode(qs);for(var Rs=1;Rs<=12;Rs++)zs[Rs+111]=zs[Rs+63235]="F"+Rs;var $s={};$s.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"},$s.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"},$s.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"},$s.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"]},$s.default=Aa?$s.macDefault:$s.pcDefault;var Ws={selectAll:Ei,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ba)},killLine:function(e){return fo(e,function(t){if(t.empty()){var n=M(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:P(t.head.line+1,0)}:{from:t.head,to:P(t.head.line,n)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return fo(e,function(t){return{from:P(t.from().line,0),to:W(e.doc,P(t.to().line+1,0))}})},delLineLeft:function(e){return fo(e,function(e){return{from:P(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return fo(e,function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}})},delWrappedLineRight:function(e){return fo(e,function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.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(P(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(P(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return vo(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return yo(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return _o(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")},Ua)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")},Ua)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?yo(e,t.head):r},Ua)},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){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=d(e.getLine(o.line),o.ch,r);t.push(h(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return pr(e,function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=M(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new P(i.line,i.ch-1)),i.ch>0)i=new P(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),P(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=M(e.doc,i.line-1).text;a&&(i=new P(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),P(i.line-1,a.length-1),i,"+transpose"))}n.push(new Es(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return pr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Yn(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}},Bs=new Ia,Hs=null,Us=function(e,t,n){this.time=e,this.pos=t,this.button=n};Us.prototype.compare=function(e,t,n){return this.time+400>e&&0==N(t,this.pos)&&n==this.button};var Vs,Ys,Gs={toString:function(){return"CodeMirror.Init"}},Zs={},Ks={};Vo.defaults=Zs,Vo.optionHandlers=Ks;var Xs=[];Vo.defineInitHook=function(e){return Xs.push(e)};var Js=null,Qs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ia,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Qs.prototype.init=function(e){function t(e){if(!Me(i,e)){if(i.somethingSelected())Zo({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=Qo(i);Zo({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(function(){i.setSelections(t.ranges,0,Ba),i.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var n=Js.text.join("\n");if(e.clipboardData.setData("Text",n),e.clipboardData.getData("Text")==n)return void e.preventDefault()}var a=ta(),s=a.firstChild;i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild),s.value=Js.text.join("\n");var l=document.activeElement;za(s),setTimeout(function(){i.display.lineSpace.removeChild(a),l.focus(),l==o&&r.showPrimarySelection()},50)}}var n=this,r=this,i=r.cm,o=r.div=e.lineDiv;ea(o,i.options.spellcheck),es(o,"paste",function(e){Me(i,e)||Xo(e,i)||_a<=11&&setTimeout(hr(i,function(){return n.updateFromDOM()}),20)}),es(o,"compositionstart",function(e){n.composing={data:e.data,done:!1}}),es(o,"compositionupdate",function(e){n.composing||(n.composing={data:e.data,done:!1})}),es(o,"compositionend",function(e){n.composing&&(e.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),es(o,"touchstart",function(){return r.forceCompositionEnd()}),es(o,"input",function(){n.composing||n.readFromDOMSoon()}),es(o,"copy",t),es(o,"cut",t)},Qs.prototype.prepareSelection=function(){var e=En(this.cm,!1);return e.focus=this.cm.state.focused,e},Qs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Qs.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line<t.display.viewFrom)return void e.removeAllRanges();var o=la(t,e.anchorNode,e.anchorOffset),a=la(t,e.focusNode,e.focusOffset);if(!o||o.bad||!a||a.bad||0!=N(R(o,a),r)||0!=N(q(o,a),i)){var s=t.display.view,l=r.line>=t.display.viewFrom&&ia(t,r)||{node:s[0].measure.map[2],offset:0},c=i.line<t.display.viewTo&&ia(t,i);if(!c){var u=s[s.length-1].measure,d=u.maps?u.maps[u.maps.length-1]:u.map;c={node:d[d.length-1],offset:d[d.length-2]-d[d.length-3]}}if(!l||!c)return void e.removeAllRanges();var f,p=e.rangeCount&&e.getRangeAt(0);try{f=Oa(l.node,l.offset,c.offset,c.node)}catch(e){}f&&(!pa&&t.state.focused?(e.collapse(l.node,l.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),p&&null==e.anchorNode?e.addRange(p):pa&&this.startGracePeriod()),this.rememberSelection()}},Qs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Qs.prototype.showMultipleSelections=function(e){n(this.cm.display.cursorDiv,e.cursors),n(this.cm.display.selectionDiv,e.selection)},Qs.prototype.rememberSelection=function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Qs.prototype.selectionInEditor=function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return o(this.div,t)},Qs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Qs.prototype.blur=function(){this.div.blur()},Qs.prototype.getField=function(){return this.div},Qs.prototype.supportsTouch=function(){return!0},Qs.prototype.receivedFocus=function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():pr(this.cm,function(){return t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},Qs.prototype.selectionChanged=function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Qs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;if(Ma&&xa&&this.cm.options.gutters.length&&oa(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=la(t,e.anchorNode,e.anchorOffset),r=la(t,e.focusNode,e.focusOffset);n&&r&&pr(t,function(){bi(t.doc,Rr(n,r),Ba),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},Qs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(0==r.ch&&r.line>e.firstLine()&&(r=P(r.line-1,M(e.doc,r.line-1).length)),i.ch==M(e.doc,i.line).text.length&&i.line<e.lastLine()&&(i=P(i.line+1,0)),r.line<t.viewFrom||i.line>t.viewTo-1)return!1;var o,a,s;r.line==t.viewFrom||0==(o=Tn(e,r.line))?(a=D(t.view[0].line),s=t.view[0].node):(a=D(t.view[o].line),s=t.view[o-1].node.nextSibling);var l,c,u=Tn(e,i.line);if(u==t.view.length-1?(l=t.viewTo-1,c=t.lineDiv.lastChild):(l=D(t.view[u+1].line)-1,c=t.view[u+1].node.previousSibling),!s)return!1;for(var d=e.doc.splitLines(sa(e,s,c,a,l)),f=E(e.doc,P(a,0),P(l,M(e.doc,l).text.length));d.length>1&&f.length>1;)if(m(d)==m(f))d.pop(),f.pop(),l--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),a++}for(var p=0,h=0,g=d[0],v=f[0],_=Math.min(g.length,v.length);p<_&&g.charCodeAt(p)==v.charCodeAt(p);)++p;for(var y=m(d),b=m(f),x=Math.min(y.length-(1==d.length?p:0),b.length-(1==f.length?p:0));h<x&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==d.length&&1==f.length&&a==r.line)for(;p&&p>r.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)p--,h++;d[d.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,""),d[0]=d[0].slice(p).replace(/\u200b+$/,"");var w=P(a,p),k=P(l,f.length?m(f).length-h:0);return d.length>1||d[0]||N(w,k)?(Ni(e.doc,d,w,k,"+input"),!0):void 0},Qs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qs.prototype.reset=function(){this.forceCompositionEnd()},Qs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Qs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||pr(this.cm,function(){return vr(e.cm)})},Qs.prototype.setUneditable=function(e){e.contentEditable="false"},Qs.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||hr(this.cm,Ko)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Qs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Qs.prototype.onContextMenu=function(){},Qs.prototype.resetPosition=function(){},Qs.prototype.needsContentAttribute=!0;var el=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Ia,this.hasSelection=!1,this.composing=null};el.prototype.init=function(e){function t(e){if(!Me(i,e)){if(i.somethingSelected())Zo({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=Qo(i);Zo({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,Ba):(r.prevInput="",a.value=t.text.join("\n"),za(a))}"cut"==e.type&&(i.state.cutIncoming=!0)}}var n=this,r=this,i=this.cm,o=this.wrapper=ta(),a=this.textarea=o.firstChild;e.wrapper.insertBefore(o,e.wrapper.firstChild),Ta&&(a.style.width="0px"),es(a,"input",function(){va&&_a>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),es(a,"paste",function(e){Me(i,e)||Xo(e,i)||(i.state.pasteIncoming=!0,r.fastPoll())}),es(a,"cut",t),es(a,"copy",t),es(e.scroller,"paste",function(t){Pt(e,t)||Me(i,t)||(i.state.pasteIncoming=!0,r.focus())}),es(e.lineSpace,"selectstart",function(t){Pt(e,t)||De(t)}),es(a,"compositionstart",function(){var e=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),es(a,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},el.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=En(e);if(e.options.moveInputWithCursor){var i=cn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},el.prototype.showSelection=function(e){var t=this.cm,r=t.display;n(r.cursorDiv,e.cursors),n(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},el.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&za(this.textarea),va&&_a>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",va&&_a>=9&&(this.hasSelection=null))}},el.prototype.getField=function(){return this.textarea},el.prototype.supportsTouch=function(){return!1},el.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!Ea||a()!=this.textarea))try{this.textarea.focus()}catch(e){}},el.prototype.blur=function(){this.textarea.blur()},el.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},el.prototype.receivedFocus=function(){this.slowPoll()},el.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},el.prototype.fastPoll=function(){function e(){n.poll()||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},el.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||rs(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(va&&_a>=9&&this.hasSelection===i||Aa&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,s=Math.min(r.length,i.length);a<s&&r.charCodeAt(a)==i.charCodeAt(a);)++a;return pr(t,function(){Ko(t,i.slice(a),r.length-a,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},el.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},el.prototype.onKeyPress=function(){va&&_a>=9&&(this.hasSelection=null),this.fastPoll()},el.prototype.onContextMenu=function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t=""+(e?a.value:"");a.value="⇚",a.value=t,r.prevInput=e?"":"",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=u,a.style.cssText=c,va&&_a<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=a.selectionStart){(!va||va&&_a<9)&&t();var e=0,n=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&""==r.prevInput?hr(i,Ei)(i):e++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea,s=Cn(i,e),l=o.scroller.scrollTop;if(s&&!wa){i.options.resetSelectionOnContextMenu&&-1==i.doc.sel.contains(s)&&hr(i,bi)(i.doc,Rr(s),Ba);var c=a.style.cssText,u=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var d=r.wrapper.getBoundingClientRect();a.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-d.top-5)+"px; left: "+(e.clientX-d.left-5)+"px;\n z-index: 1000; background: "+(va?"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(ya&&(f=window.scrollY),o.input.focus(),ya&&window.scrollTo(null,f),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),va&&_a>=9&&t(),Pa){Fe(e);var p=function(){Ce(window,"mouseup",p),setTimeout(n,20)};es(window,"mouseup",p)}else setTimeout(n,50)}},el.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},el.prototype.setUneditable=function(){},el.prototype.needsContentAttribute=!1,function(e){function t(t,r,i,o){e.defaults[t]=r,i&&(n[t]=o?function(e,t,n){n!=Gs&&i(e,t,n)}:i)}var n=e.optionHandlers;e.defineOption=t,e.Init=Gs,t("value","",function(e,t){return e.setValue(t)},!0),t("mode",null,function(e,t){e.doc.modeOption=t,Vr(e)},!0),t("indentUnit",2,Vr,!0),t("indentWithTabs",!1),t("smartIndent",!0),t("tabSize",4,function(e){Yr(e),tn(e),vr(e)},!0),t("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(P(r,o))}r++});for(var i=n.length-1;i>=0;i--)Ni(e.doc,t,n[i],P(n[i].line,n[i].ch+t.length))}}),t("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Gs&&e.refresh()}),t("specialCharPlaceholder",ct,function(e){return e.refresh()},!0),t("electricChars",!0),t("inputStyle",Ea?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),t("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),t("rtlMoveVisually",!Da),t("wholeLineUpdateBefore",!0),t("theme","default",function(e){Wo(e),Bo(e)},!0),t("keyMap","default",function(e,t,n){var r=uo(t),i=n!=Gs&&uo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),t("extraKeys",null),t("configureMouse",null),t("lineWrapping",!1,Uo,!0),t("gutters",[],function(e){Pr(e.options),Bo(e)},!0),t("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?wn(e.display)+"px":"0",e.refresh()},!0),t("coverGutterNextToScrollbar",!1,function(e){return nr(e)},!0),t("scrollbarStyle","native",function(e){ir(e),nr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),t("lineNumbers",!1,function(e){Pr(e.options),Bo(e)},!0),t("firstLineNumber",1,Bo,!0),t("lineNumberFormatter",function(e){return e},Bo,!0),t("showCursorWhenSelecting",!1,Mn,!0),t("resetSelectionOnContextMenu",!0),t("lineWiseCopyCut",!0),t("pasteLinesPerSelection",!0),t("readOnly",!1,function(e,t){"nocursor"==t&&(Nn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),t("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),t("dragDrop",!0,Ho),t("allowDropFileTypes",null),t("cursorBlinkRate",530),t("cursorScrollMargin",0),t("cursorHeight",1,Mn,!0),t("singleCursorHeightPerLine",!0,Mn,!0),t("workTime",100),t("workDelay",100),t("flattenSpans",!0,Yr,!0),t("addModeClass",!1,Yr,!0),t("pollInterval",100),t("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),t("historyEventDelay",1250),t("viewportMargin",10,function(e){return e.refresh()},!0),t("maxHighlightLength",1e4,Yr,!0),t("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),t("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),t("autofocus",null),t("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(Vo),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&hr(this,t[e])(this,n,i),Te(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"](uo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:mr(function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");v(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},function(e){return e.priority}),this.state.modeGen++,vr(this)}),removeOverlay:mr(function(e){for(var t=this,n=this.state.overlays,r=0;r<n.length;++r){var i=n[r].modeSpec;if(i==e||"string"==typeof e&&i.name==e)return n.splice(r,1),t.state.modeGen++,void vr(t)}}),indentLine:mr(function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),O(this.doc,e)&&Go(this,e,t,n)}),indentSelection:mr(function(e){for(var t=this,n=this.doc.sel.ranges,r=-1,i=0;i<n.length;i++){var o=n[i];if(o.empty())o.head.line>r&&(Go(t,o.head.line,e,!0),r=o.head.line,i==t.doc.sel.primIndex&&Yn(t));else{var a=o.from(),s=o.to(),l=Math.max(r,a.line);r=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c<r;++c)Go(t,c,e);var u=t.doc.sel.ranges;0==a.ch&&n.length==u.length&&u[i].from().ch>0&&gi(t.doc,i,new Es(a,u[i].to()),Ba)}}}),getTokenAt:function(e,t){return et(this,e,t)},getLineTokens:function(e,t){return et(this,P(e),t,!0)},getTokenTypeAt:function(e){e=W(this.doc,e);var t,n=Ze(this,M(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=this,i=[];if(!n.hasOwnProperty(t))return i;var o=n[t],a=this.getModeAt(e);if("string"==typeof a[t])o[a[t]]&&i.push(o[a[t]]);else if(a[t])for(var s=0;s<a[t].length;s++){var l=o[a[t][s]];l&&i.push(l)}else a.helperType&&o[a.helperType]?i.push(o[a.helperType]):o[a.name]&&i.push(o[a.name]);for(var c=0;c<o._global.length;c++){var u=o._global[c];u.pred(a,r)&&-1==f(i,u.val)&&i.push(u.val)}return i},getStateAfter:function(e,t){var n=this.doc;return e=$(n,null==e?n.first+n.size-1:e),Ke(this,e+1,t).state},cursorCoords:function(e,t){var n,r=this.doc.sel.primary();return n=null==e?r.head:"object"==typeof e?W(this.doc,e):e?r.from():r.to(),cn(this,n,t||"page")},charCoords:function(e,t){return ln(this,W(this.doc,e),t||"page")},coordsChar:function(e,t){return e=sn(this,e,t||"page"),fn(this,e.left,e.top)},lineAtHeight:function(e,t){return e=sn(this,{top:e,left:0},t||"page").top,j(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=M(this.doc,e)}else r=e;return an(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-_e(r):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return bn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=cn(this,W(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&Hn(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:mr(Co),triggerOnKeyPress:mr(Eo),triggerOnKeyUp:Mo,triggerOnMouseDown:mr(Lo),execCommand:function(e){if(Ws.hasOwnProperty(e))return Ws[e].call(null,this)},triggerElectric:mr(function(e){Jo(this,e)}),findPosH:function(e,t,n,r){var i=this,o=1;t<0&&(o=-1,t=-t);for(var a=W(this.doc,e),s=0;s<t&&(a=na(i.doc,a,o,n,r),!a.hitSide);++s);return a},moveH:mr(function(e,t){var n=this;this.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?na(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()},Ua)}),deleteH:mr(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):fo(this,function(n){var i=na(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(e,t,n,r){var i=this,o=1,a=r;t<0&&(o=-1,t=-t);for(var s=W(this.doc,e),l=0;l<t;++l){var c=cn(i,s,"div");if(null==a?a=c.left:c.left=a,s=ra(i,c,o,n),s.hitSide)break}return s},moveV:mr(function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(o)return e<0?a.from():a.to();var s=cn(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=ra(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Vn(n,ln(n,l,"div").top-s.top),l},Ua),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]}),findWordAt:function(e){var t=this.doc,n=M(t,e.line).text,r=e.ch,i=e.ch;if(n){var o=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=n.length||!r?++i:--r;for(var a=n.charAt(r),s=x(a,o)?function(e){return x(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!x(e)};r>0&&s(n.charAt(r-1));)--r;for(;i<n.length&&s(n.charAt(i));)++i}return new Es(P(e.line,r),P(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?s(this.display.cursorDiv,"CodeMirror-overwrite"):Na(this.display.cursorDiv,"CodeMirror-overwrite"),Te(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==a()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:mr(function(e,t){Gn(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-qt(this)-this.display.barHeight,width:e.scrollWidth-qt(this)-this.display.barWidth,clientHeight:$t(this),clientWidth:Rt(this)}},scrollIntoView:mr(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:P(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?Zn(this,e):Xn(this,e.from,e.to,e.margin)}),setSize:mr(function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&en(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){_r(n,i,"widget");break}++i}),this.curOp.forceUpdate=!0,Te(this,"refresh",this)}),operation:function(e){return pr(this,e)},startOperation:function(){return or(this)},endOperation:function(){return ar(this)},refresh:mr(function(){var e=this.display.cachedTextHeight;vr(this),this.curOp.forceUpdate=!0,tn(this),Gn(this,this.doc.scrollLeft,this.doc.scrollTop),jr(this),(null==e||Math.abs(e-yn(this.display))>.5)&&Sn(this),Te(this,"refresh",this)}),swapDoc:mr(function(e){var t=this.doc;return t.cm=null,Xr(this,e),tn(this),this.display.input.reset(),Gn(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,bt(this,"swapDoc",this,t),t}),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}},Le(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(Vo);var tl="iter insert remove copy getEditor constructor".split(" ");for(var nl in Fs.prototype)Fs.prototype.hasOwnProperty(nl)&&f(tl,nl)<0&&(Vo.prototype[nl]=function(e){return function(){return e.apply(this.doc,arguments)}}(Fs.prototype[nl]));return Le(Fs),Vo.inputStyles={textarea:el,contenteditable:Qs},Vo.defineMode=function(e){Vo.defaults.mode||"null"==e||(Vo.defaults.mode=e),Re.apply(this,arguments)},Vo.defineMIME=$e,Vo.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Vo.defineMIME("text/plain","null"),Vo.defineExtension=function(e,t){Vo.prototype[e]=t},Vo.defineDocExtension=function(e,t){Fs.prototype[e]=t},Vo.fromTextArea=ua,function(e){e.off=Ce,e.on=es,e.wheelEventPixels=zr,e.Doc=Fs,e.splitLines=ns,e.countColumn=d,e.findColumn=p,e.isWordChar=b,e.Pass=Wa,e.signal=Te,e.Line=ps,e.changeEnd=$r,e.scrollbarModel=ws,e.Pos=P,e.cmpPos=N,e.modes=as,e.mimeModes=ss,e.resolveMode=We,e.getMode=Be,e.modeExtensions=ls,e.extendMode=He,e.copyState=Ue,e.startState=Ye,e.innerMode=Ve,e.commands=Ws,e.keyMap=$s,e.keyName=co,e.isModifierKey=so,e.lookupKey=ao,e.normalizeKeyMap=oo,e.StringStream=cs,e.SharedTextMarker=js,e.TextMarker=Ds,e.LineWidget=As,e.e_preventDefault=De,e.e_stopPropagation=je,e.e_stop=Fe,e.addClass=s,e.contains=o,e.rmClass=Na,e.keyNames=zs}(Vo),Vo.version="5.31.0",Vo})},{}],30:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";function t(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=i,this.prev=o}function n(e,n,r,i){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=r&&(o=e.context.indented),e.context=new t(o,n,r,i,null,e.context)}function r(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function i(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function o(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function a(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function s(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function l(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=l;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function c(e,t){return"type"==t.prevToken&&"type"}function u(e){return e.eatWhile(/[\w\.']/),"number"}function d(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=h,h(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function f(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}function p(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function h(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function m(t,n){function r(e){if(e)for(var t in e)e.hasOwnProperty(t)&&i.push(t)}"string"==typeof t&&(t=[t]);var i=[];r(n.keywords),r(n.types),r(n.builtin),r(n.atoms),i.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],i));for(var o=0;o<t.length;++o)e.defineMIME(t[o],n)}function g(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function v(e){return function(t,n){for(var r,i=!1,o=!1;!t.eol();){if(!e&&!i&&t.match('"')){o=!0;break}if(e&&t.match('"""')){o=!0;break}r=t.next(),!i&&"$"==r&&t.match("{")&&t.skipTo("}"),i=!i&&"\\"==r&&!e}return!o&&e||(n.tokenize=null),"string"}}function _(e){return function(t,n){for(var r,i=!1,o=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){o=!0;break}if(!i&&t.match("``")){x=_(e),o=!0;break}r=t.next(),i="single"==e&&!i&&"\\"==r}return o&&(n.tokenize=null),"string"}}e.defineMode("clike",function(a,l){function c(e,t){var n=e.next();if(S[n]){var r=S[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n)return t.tokenize=u(n),t.tokenize(e,t)
;if(A.test(n))return p=n,null;if(L.test(n)){if(e.backUp(1),e.match(D))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=d,d(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(j.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(j););return"operator"}if(e.eatWhile(O),E)for(;e.match(E);)e.eatWhile(O);var i=e.current();return s(_,i)?(s(x,i)&&(p="newstatement"),s(w,i)&&(h=!0),"keyword"):s(y,i)?"type":s(b,i)?(s(x,i)&&(p="newstatement"),"builtin"):s(k,i)?"atom":"variable"}function u(e){return function(t,n){for(var r,i=!1,o=!1;null!=(r=t.next());){if(r==e&&!i){o=!0;break}i=!i&&"\\"==r}return(o||!i&&!C)&&(n.tokenize=null),"string"}}function d(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function f(e,t){l.typeFirstDefinitions&&e.eol()&&o(t.context)&&(t.typeAtEndOfLine=i(e,t,e.pos))}var p,h,m=a.indentUnit,g=l.statementIndentUnit||m,v=l.dontAlignCalls,_=l.keywords||{},y=l.types||{},b=l.builtin||{},x=l.blockKeywords||{},w=l.defKeywords||{},k=l.atoms||{},S=l.hooks||{},C=l.multiLineStrings,T=!1!==l.indentStatements,M=!1!==l.indentSwitch,E=l.namespaceSeparator,A=l.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,L=l.numberStart||/[\d\.]/,D=l.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,j=l.isOperatorChar||/[+\-*&%=<>!?|\/]/,O=l.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new t((e||0)-m,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return f(e,t),null;p=h=null;var s=(t.tokenize||c)(e,t);if("comment"==s||"meta"==s)return s;if(null==a.align&&(a.align=!0),";"==p||":"==p||","==p&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)r(t);else if("{"==p)n(t,e.column(),"}");else if("["==p)n(t,e.column(),"]");else if("("==p)n(t,e.column(),")");else if("}"==p){for(;"statement"==a.type;)a=r(t);for("}"==a.type&&(a=r(t));"statement"==a.type;)a=r(t)}else p==a.type?r(t):T&&(("}"==a.type||"top"==a.type)&&";"!=p||"statement"==a.type&&"newstatement"==p)&&n(t,e.column(),"statement",e.current());if("variable"==s&&("def"==t.prevToken||l.typeFirstDefinitions&&i(e,t,e.start)&&o(t.context)&&e.match(/^\s*\(/,!1))&&(s="def"),S.token){var u=S.token(e,t,s);void 0!==u&&(s=u)}return"def"==s&&!1===l.styleDefs&&(s="variable"),t.startOfLine=!1,t.prevToken=h?"def":s||p,f(e,t),s},indent:function(t,n){if(t.tokenize!=c&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var r=t.context,i=n&&n.charAt(0);if("statement"==r.type&&"}"==i&&(r=r.prev),l.dontIndentStatements)for(;"statement"==r.type&&l.dontIndentStatements.test(r.info);)r=r.prev;if(S.indent){var o=S.indent(t,r,n);if("number"==typeof o)return o}var a=i==r.type,s=r.prev&&"switch"==r.prev.info;if(l.allmanIndentation&&/[{(]/.test(i)){for(;"top"!=r.type&&"}"!=r.type;)r=r.prev;return r.indented}return"statement"==r.type?r.indented+("{"==i?0:g):!r.align||v&&")"==r.type?")"!=r.type||a?r.indented+(a?0:m)+(a||!s||/^(?:case|default)\b/.test(n)?0:m):r.indented+g:r.column+(a?0:1)},electricInput:M?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var y="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",b="int long char short double float unsigned signed void size_t ptrdiff_t";m(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:a(y),types:a(b+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:a("case do else for if switch while struct"),defKeywords:a("struct"),typeFirstDefinitions:!0,atoms:a("null true false"),hooks:{"#":l,"*":c},modeProps:{fold:["brace","include"]}}),m(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:a(y+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:a(b+" bool wchar_t"),blockKeywords:a("catch class do else finally for if struct switch try while"),defKeywords:a("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:a("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":l,"*":c,u:d,U:d,L:d,R:d,0:u,1:u,2:u,3:u,4:u,5:u,6:u,7:u,8:u,9:u,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&f(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),m("text/x-java",{name:"clike",keywords:a("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:a("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:a("catch class do else finally for if switch try while"),defKeywords:a("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:a("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),m("text/x-csharp",{name:"clike",keywords:a("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:a("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:a("catch class do else finally for foreach if struct switch try while"),defKeywords:a("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=p,p(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),m("text/x-scala",{name:"clike",keywords:a("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:a("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:a("catch class enum do else finally for forSome if match switch try while"),defKeywords:a("class enum def object package trait type val var"),atoms:a("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=g,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,n){var r=n.context;return!("}"!=r.type||!r.align||!e.eat(">"))&&(n.context=new t(r.indented,r.column,r.type,r.info,null,r.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),m("text/x-kotlin",{name:"clike",keywords:a("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend"),types:a("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:a("catch class do else finally for if where try while enum"),defKeywords:a("class val var object interface fun"),atoms:a("true false null this"),hooks:{'"':function(e,t){return t.tokenize=v(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),m(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:a("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:a("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:a("for while do if else struct"),builtin:a("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:a("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":l},modeProps:{fold:["brace","include"]}}),m("text/x-nesc",{name:"clike",keywords:a(y+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:a(b),blockKeywords:a("case do else for if switch while struct"),atoms:a("null true false"),hooks:{"#":l},modeProps:{fold:["brace","include"]}}),m("text/x-objectivec",{name:"clike",keywords:a(y+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:a(b),atoms:a("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":l,indent:function(e,t,n){if("statement"==t.type&&/^@\w/.test(n))return t.indented}},modeProps:{fold:"brace"}}),m("text/x-squirrel",{name:"clike",keywords:a("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:a(b),blockKeywords:a("case catch class else for foreach if switch try while"),defKeywords:a("function local class"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"#":l},modeProps:{fold:["brace","include"]}});var x=null;m("text/x-ceylon",{name:"clike",keywords:a("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:a("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:a("class dynamic function interface module object package value"),builtin:a("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:a("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=_(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!x||!e.match("`"))&&(t.tokenize=x,x=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},{"../../lib/codemirror":29}],31:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}function n(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.defineMode("css",function(t,n){function r(e,t){return h=t,e}function i(e,t){var n=e.next();if(v[n]){var i=v[n](e,t);if(!1!==i)return i}return"@"==n?(e.eatWhile(/[\w\\\-]/),r("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?r(null,"compare"):'"'==n||"'"==n?(t.tokenize=o(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),r("atom","hash")):"!"==n?(e.match(/^\s*\w*/),r("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),r("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?r(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?r("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?r(null,n):"u"==n&&e.match(/rl(-prefix)?\(/)||"d"==n&&e.match("omain(")||"r"==n&&e.match("egexp(")?(e.backUp(1),t.tokenize=a,r("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),r("property","word")):r(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),r("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?r("variable-2","variable-definition"):r("variable-2","variable")):e.match(/^\w+-/)?r("meta","meta"):void 0}function o(e){return function(t,n){for(var i,o=!1;null!=(i=t.next());){if(i==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==i}return(i==e||!o&&")"!=e)&&(n.tokenize=null),r("string","string")}}function a(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=o(")"),r(null,"(")}function s(e,t,n){this.type=e,this.indent=t,this.prev=n}function l(e,t,n,r){return e.context=new s(n,t.indentation()+(!1===r?0:g),e.context),n}function c(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function u(e,t,n){return D[n.context.type](e,t,n)}function d(e,t,n,r){for(var i=r||1;i>0;i--)n.context=n.context.prev;return u(e,t,n)}function f(e){var t=e.current().toLowerCase();m=M.hasOwnProperty(t)?"atom":T.hasOwnProperty(t)?"keyword":"variable"}var p=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var h,m,g=t.indentUnit,v=n.tokenHooks,_=n.documentTypes||{},y=n.mediaTypes||{},b=n.mediaFeatures||{},x=n.mediaValueKeywords||{},w=n.propertyKeywords||{},k=n.nonStandardPropertyKeywords||{},S=n.fontProperties||{},C=n.counterDescriptors||{},T=n.colorKeywords||{},M=n.valueKeywords||{},E=n.allowNested,A=n.lineComment,L=!0===n.supportsAtComponent,D={};return D.top=function(e,t,n){if("{"==e)return l(n,t,"block");if("}"==e&&n.context.prev)return c(n);if(L&&/@component/.test(e))return l(n,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return l(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return l(n,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return l(n,t,"at");if("hash"==e)m="builtin";else if("word"==e)m="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return l(n,t,"interpolation");if(":"==e)return"pseudo";if(E&&"("==e)return l(n,t,"parens")}return n.context.type},D.block=function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return w.hasOwnProperty(r)?(m="property","maybeprop"):k.hasOwnProperty(r)?(m="string-2","maybeprop"):E?(m=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(m+=" error","maybeprop")}return"meta"==e?"block":E||"hash"!=e&&"qualifier"!=e?D.top(e,t,n):(m="error","block")},D.maybeprop=function(e,t,n){return":"==e?l(n,t,"prop"):u(e,t,n)},D.prop=function(e,t,n){if(";"==e)return c(n);if("{"==e&&E)return l(n,t,"propBlock");if("}"==e||"{"==e)return d(e,t,n);if("("==e)return l(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)f(t);else if("interpolation"==e)return l(n,t,"interpolation")}else m+=" error";return"prop"},D.propBlock=function(e,t,n){return"}"==e?c(n):"word"==e?(m="property","maybeprop"):n.context.type},D.parens=function(e,t,n){return"{"==e||"}"==e?d(e,t,n):")"==e?c(n):"("==e?l(n,t,"parens"):"interpolation"==e?l(n,t,"interpolation"):("word"==e&&f(t),"parens")},D.pseudo=function(e,t,n){return"meta"==e?"pseudo":"word"==e?(m="variable-3",n.context.type):u(e,t,n)},D.documentTypes=function(e,t,n){return"word"==e&&_.hasOwnProperty(t.current())?(m="tag",n.context.type):D.atBlock(e,t,n)},D.atBlock=function(e,t,n){if("("==e)return l(n,t,"atBlock_parens");if("}"==e||";"==e)return d(e,t,n);if("{"==e)return c(n)&&l(n,t,E?"block":"top");if("interpolation"==e)return l(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();m="only"==r||"not"==r||"and"==r||"or"==r?"keyword":y.hasOwnProperty(r)?"attribute":b.hasOwnProperty(r)?"property":x.hasOwnProperty(r)?"keyword":w.hasOwnProperty(r)?"property":k.hasOwnProperty(r)?"string-2":M.hasOwnProperty(r)?"atom":T.hasOwnProperty(r)?"keyword":"error"}return n.context.type},D.atComponentBlock=function(e,t,n){return"}"==e?d(e,t,n):"{"==e?c(n)&&l(n,t,E?"block":"top",!1):("word"==e&&(m="error"),n.context.type)},D.atBlock_parens=function(e,t,n){return")"==e?c(n):"{"==e||"}"==e?d(e,t,n,2):D.atBlock(e,t,n)},D.restricted_atBlock_before=function(e,t,n){return"{"==e?l(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(m="variable","restricted_atBlock_before"):u(e,t,n)},D.restricted_atBlock=function(e,t,n){return"}"==e?(n.stateArg=null,c(n)):"word"==e?(m="@font-face"==n.stateArg&&!S.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!C.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},D.keyframes=function(e,t,n){return"word"==e?(m="variable","keyframes"):"{"==e?l(n,t,"top"):u(e,t,n)},D.at=function(e,t,n){return";"==e?c(n):"{"==e||"}"==e?d(e,t,n):("word"==e?m="tag":"hash"==e&&(m="builtin"),"at")},D.interpolation=function(e,t,n){return"}"==e?c(n):"{"==e||";"==e?d(e,t,n):("word"==e?m="variable":"variable"!=e&&"("!=e&&")"!=e&&(m="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:p?"block":"top",stateArg:null,context:new s(p?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||i)(e,t);return n&&"object"==typeof n&&(h=n[1],n=n[0]),m=n,"comment"!=h&&(t.state=D[t.state](h,e,t)),m},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),i=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(i=Math.max(0,n.indent-g)):(n=n.prev,i=n.indent)),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:A,fold:"brace"}})
;var r=["domain","regexp","url","url-prefix"],i=t(r),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=t(o),s=["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"],l=t(s),c=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],u=t(c),d=["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","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"],f=t(d),p=["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"],h=t(p),m=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],g=t(m),v=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],_=t(v),y=["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"],b=t(y),x=["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"],w=t(x),k=r.concat(o).concat(s).concat(c).concat(d).concat(p).concat(y).concat(x);e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:i,mediaTypes:a,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:f,nonStandardPropertyKeywords:h,fontProperties:g,counterDescriptors:_,colorKeywords:b,valueKeywords:w,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=n,n(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:f,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:g,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=n,n(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:f,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:g,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=n,n(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:a,mediaFeatures:l,propertyKeywords:f,nonStandardPropertyKeywords:h,fontProperties:g,counterDescriptors:_,colorKeywords:b,valueKeywords:w,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=n,n(e,t))}},name:"css",helperType:"gss"})})},{"../../lib/codemirror":29}],32:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("diff",function(){var e={"+":"positive","-":"negative","@":"meta"};return{token:function(t){var n=t.string.search(/[\t ]+?$/);if(!t.sol()||0===n)return t.skipToEnd(),("error "+(e[t.string.charAt(0)]||"")).replace(/ $/,"");var r=e[t.peek()]||t.skipToEnd();return-1===n?t.skipToEnd():t.pos=n,r}}}),e.defineMIME("text/x-diff","diff")})},{"../../lib/codemirror":29}],33:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("go",function(t){function n(e,t){var n=e.next();if('"'==n||"'"==n||"`"==n)return t.tokenize=r(n),t.tokenize(e,t);if(/[\d\.]/.test(n))return"."==n?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==n?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return l=n,null;if("/"==n){if(e.eat("*"))return t.tokenize=i,i(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(f.test(n))return e.eatWhile(f),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return u.propertyIsEnumerable(o)?("case"!=o&&"default"!=o||(l="case"),"keyword"):d.propertyIsEnumerable(o)?"atom":"variable"}function r(e){return function(t,r){for(var i,o=!1,a=!1;null!=(i=t.next());){if(i==e&&!o){a=!0;break}o=!o&&"`"!=e&&"\\"==i}return(a||!o&&"`"!=e)&&(r.tokenize=n),"string"}}function i(e,t){for(var r,i=!1;r=e.next();){if("/"==r&&i){t.tokenize=n;break}i="*"==r}return"comment"}function o(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function a(e,t,n){return e.context=new o(e.indented,t,n,null,e.context)}function s(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}}var l,c=t.indentUnit,u={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},d={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},f=/[+\-*&^%:=<>!|\/]/;return{startState:function(e){return{tokenize:null,context:new o((e||0)-c,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==r.type&&(r.type="}")),e.eatSpace())return null;l=null;var i=(t.tokenize||n)(e,t);return"comment"==i?i:(null==r.align&&(r.align=!0),"{"==l?a(t,e.column(),"}"):"["==l?a(t,e.column(),"]"):"("==l?a(t,e.column(),")"):"case"==l?r.type="case":"}"==l&&"}"==r.type?s(t):l==r.type&&s(t),t.startOfLine=!1,i)},indent:function(t,r){if(t.tokenize!=n&&null!=t.tokenize)return e.Pass;var i=t.context,o=r&&r.charAt(0);if("case"==i.type&&/^(?:case|default)\b/.test(r))return t.context.type="}",i.indented;var a=o==i.type;return i.align?i.column+(a?0:1):i.indented+(a?0:c)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-go","go")})},{"../../lib/codemirror":29}],34:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror"),e("../xml/xml"),e("../javascript/javascript"),e("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],r):r(CodeMirror)}(function(e){"use strict";function t(e,t,n){var r=e.current(),i=r.search(t);return i>-1?e.backUp(r.length-i):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}function n(e){var t=l[e];return t||(l[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function r(e,t){var r=e.match(n(t));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function i(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function o(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),i=e[n],o=i.length-1;o>=0;o--)r.unshift(i[o])}function a(e,t){for(var n=0;n<e.length;n++){var i=e[n];if(!i[0]||i[1].test(r(t,i[0])))return i[2]}}var s={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},l={};e.defineMode("htmlmixed",function(n,r){function l(r,o){var s,d=c.token(r,o.htmlState),f=/\btag\b/.test(d);if(f&&!/[<>\s\/]/.test(r.current())&&(s=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&u.hasOwnProperty(s))o.inTag=s+" ";else if(o.inTag&&f&&/>$/.test(r.current())){var p=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var h=">"==r.current()&&a(u[p[1]],p[2]),m=e.getMode(n,h),g=i(p[1],!0),v=i(p[1],!1);o.token=function(e,n){return e.match(g,!1)?(n.token=l,n.localState=n.localMode=null,null):t(e,v,n.localMode.token(e,n.localState))},o.localMode=m,o.localState=e.startState(m,c.indent(o.htmlState,""))}else o.inTag&&(o.inTag+=r.current(),r.eol()&&(o.inTag+=" "));return d}var c=e.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),u={},d=r&&r.tags,f=r&&r.scriptTypes;if(o(s,u),d&&o(d,u),f)for(var p=f.length-1;p>=0;p--)u.script.unshift(["type",f[p].matches,f[p].mode]);return{startState:function(){return{token:l,inTag:null,localMode:null,localState:null,htmlState:e.startState(c)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(c,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?c.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||c}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},{"../../lib/codemirror":29,"../css/css":31,"../javascript/javascript":35,"../xml/xml":46}],35:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("javascript",function(t,n){function r(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}function i(e,t,n){return Ce=e,Te=n,t}function o(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=a(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return i("number","number");if("."==n&&e.match(".."))return i("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return i(n);if("="==n&&e.eat(">"))return i("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),i("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),i("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),i("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),i("number","number");if("/"==n)return e.eat("*")?(t.tokenize=s,s(e,t)):e.eat("/")?(e.skipToEnd(),i("comment","comment")):Se(e,t,1)?(r(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),i("regexp","string-2")):(e.eat("="),i("operator","operator",e.current()));if("`"==n)return t.tokenize=l,l(e,t);if("#"==n)return e.skipToEnd(),i("error","error");if(Fe.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),i("operator","operator",e.current());if(je.test(n)){e.eatWhile(je);var o=e.current();if("."!=t.lastType){if(Oe.propertyIsEnumerable(o)){var c=Oe[o];return i(c.type,c.style,o)}if("async"==o&&e.match(/^\s*[\(\w]/,!1))return i("async","keyword",o)}return i("variable","variable",o)}}function a(e){return function(t,n){var r,a=!1;if(Ae&&"@"==t.peek()&&t.match(Pe))return n.tokenize=o,i("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||a);)a=!a&&"\\"==r;return a||(n.tokenize=o),i("string","string")}}function s(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=o;break}r="*"==n}return i("comment","comment")}function l(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=o;break}r=!r&&"\\"==n}return i("quasi","string-2",e.current())}function c(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(De){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=Ne.indexOf(s);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(je.test(s))o=!0;else{if(/["'\/]/.test(s))return;if(o&&!i){++a;break}}}o&&!i&&(t.fatArrowAt=a)}}function u(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function d(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function f(e,t,n,r,i){var o=e.cc;for(Ie.state=e,Ie.stream=i,Ie.marked=null,Ie.cc=o,Ie.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){if((o.length?o.pop():Le?w:x)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ie.marked?Ie.marked:"variable"==n&&d(e,r)?"variable-2":t}}}function p(){for(var e=arguments.length-1;e>=0;e--)Ie.cc.push(arguments[e])}function h(){return p.apply(null,arguments),!0}function m(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var r=Ie.state;if(Ie.marked="def",r.context){if(t(r.localVars))return;r.localVars={name:e,next:r.localVars}}else{if(t(r.globalVars))return;n.globalVars&&(r.globalVars={name:e,next:r.globalVars})}}function g(){Ie.state.context={prev:Ie.state.context,vars:Ie.state.localVars},Ie.state.localVars=qe}function v(){Ie.state.localVars=Ie.state.context.vars,Ie.state.context=Ie.state.context.prev}function _(e,t){var n=function(){var n=Ie.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new u(r,Ie.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function y(){var e=Ie.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function b(e){function t(n){return n==e?h():";"==e?p():h(t)}return t}function x(e,t){return"var"==e?h(_("vardef",t.length),X,b(";"),y):"keyword a"==e?h(_("form"),S,x,y):"keyword b"==e?h(_("form"),x,y):"keyword d"==e?Ie.stream.match(/^\s*$/,!1)?h():h(_("stat"),T,b(";"),y):"debugger"==e?h(b(";")):"{"==e?h(_("}"),B,y):";"==e?h():"if"==e?("else"==Ie.state.lexical.info&&Ie.state.cc[Ie.state.cc.length-1]==y&&Ie.state.cc.pop()(),h(_("form"),S,x,y,ne)):"function"==e?h(le):"for"==e?h(_("form"),re,x,y):"variable"==e?De&&"type"==t?(Ie.marked="keyword",h(U,b("operator"),U,b(";"))):De&&"declare"==t?(Ie.marked="keyword",h(x)):h(_("stat"),N):"switch"==e?h(_("form"),S,b("{"),_("}","switch"),B,y,y):"case"==e?h(w,b(":")):"default"==e?h(b(":")):"catch"==e?h(_("form"),g,b("("),ce,b(")"),x,y,v):"class"==e?h(_("form"),de,y):"export"==e?h(_("stat"),me,y):"import"==e?h(_("stat"),ve,y):"module"==e?h(_("form"),J,b("{"),_("}"),B,y,y):"async"==e?h(x):"@"==t?h(w,x):p(_("stat"),w,b(";"),y)}function w(e){return C(e,!1)}function k(e){return C(e,!0)}function S(e){return"("!=e?p():h(_(")"),w,b(")"),y)}function C(e,t){if(Ie.state.fatArrowAt==Ie.stream.start){var n=t?j:D;if("("==e)return h(g,_(")"),$(ce,")"),y,b("=>"),n,v);if("variable"==e)return p(g,J,b("=>"),n,v)}var r=t?E:M;return ze.hasOwnProperty(e)?h(r):"function"==e?h(le,r):"class"==e?h(_("form"),ue,y):"keyword c"==e||"async"==e?h(t?k:w):"("==e?h(_(")"),T,b(")"),y,r):"operator"==e||"spread"==e?h(t?k:w):"["==e?h(_("]"),we,y,r):"{"==e?W(I,"}",null,r):"quasi"==e?p(A,r):"new"==e?h(O(t)):h()}function T(e){return e.match(/[;\}\)\],]/)?p():p(w)}function M(e,t){return","==e?h(w):E(e,t,!1)}function E(e,t,n){var r=0==n?M:E,i=0==n?w:k;return"=>"==e?h(g,n?j:D,v):"operator"==e?/\+\+|--/.test(t)||De&&"!"==t?h(r):"?"==t?h(w,b(":"),i):h(i):"quasi"==e?p(A,r):";"!=e?"("==e?W(k,")","call",r):"."==e?h(z,r):"["==e?h(_("]"),T,b("]"),y,r):De&&"as"==t?(Ie.marked="keyword",h(U,r)):"regexp"==e?(Ie.state.lastType=Ie.marked="operator",Ie.stream.backUp(Ie.stream.pos-Ie.stream.start-1),h(i)):void 0:void 0}function A(e,t){return"quasi"!=e?p():"${"!=t.slice(t.length-2)?h(A):h(w,L)}function L(e){if("}"==e)return Ie.marked="string-2",Ie.state.tokenize=l,h(A)}function D(e){return c(Ie.stream,Ie.state),p("{"==e?x:w)}function j(e){return c(Ie.stream,Ie.state),p("{"==e?x:k)}function O(e){return function(t){return"."==t?h(e?P:F):"variable"==t&&De?h(K,e?E:M):p(e?k:w)}}function F(e,t){if("target"==t)return Ie.marked="keyword",h(M)}function P(e,t){if("target"==t)return Ie.marked="keyword",h(E)}function N(e){return":"==e?h(y,x):p(M,b(";"),y)}function z(e){if("variable"==e)return Ie.marked="property",h()}function I(e,t){if("async"==e)return Ie.marked="property",h(I);if("variable"==e||"keyword"==Ie.style){if(Ie.marked="property","get"==t||"set"==t)return h(q);var n;return De&&Ie.state.fatArrowAt==Ie.stream.start&&(n=Ie.stream.match(/^\s*:\s*/,!1))&&(Ie.state.fatArrowAt=Ie.stream.pos+n[0].length),h(R)}return"number"==e||"string"==e?(Ie.marked=Ae?"property":Ie.style+" property",h(R)):"jsonld-keyword"==e?h(R):"modifier"==e?h(I):"["==e?h(w,b("]"),R):"spread"==e?h(k,R):"*"==t?(Ie.marked="keyword",h(I)):":"==e?p(R):void 0}function q(e){return"variable"!=e?p(R):(Ie.marked="property",h(le))}function R(e){return":"==e?h(k):"("==e?p(le):void 0}function $(e,t,n){
function r(i,o){if(n?n.indexOf(i)>-1:","==i){var a=Ie.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),h(function(n,r){return n==t||r==t?p():p(e)},r)}return i==t||o==t?h():h(b(t))}return function(n,i){return n==t||i==t?h():p(e,r)}}function W(e,t,n){for(var r=3;r<arguments.length;r++)Ie.cc.push(arguments[r]);return h(_(t,n),$(e,t),y)}function B(e){return"}"==e?h():p(x,B)}function H(e,t){if(De){if(":"==e)return h(U);if("?"==t)return h(H)}}function U(e,t){return"variable"==e||"void"==t?"keyof"==t?(Ie.marked="keyword",h(U)):(Ie.marked="type",h(Z)):"string"==e||"number"==e||"atom"==e?h(Z):"["==e?h(_("]"),$(U,"]",","),y,Z):"{"==e?h(_("}"),$(Y,"}",",;"),y,Z):"("==e?h($(G,")"),V):void 0}function V(e){if("=>"==e)return h(U)}function Y(e,t){return"variable"==e||"keyword"==Ie.style?(Ie.marked="property",h(Y)):"?"==t?h(Y):":"==e?h(U):"["==e?h(w,H,b("]"),Y):void 0}function G(e){return"variable"==e?h(G):":"==e?h(U):void 0}function Z(e,t){return"<"==t?h(_(">"),$(U,">"),y,Z):"|"==t||"."==e?h(U):"["==e?h(b("]"),Z):"extends"==t?h(U):void 0}function K(e,t){if("<"==t)return h(_(">"),$(U,">"),y,Z)}function X(){return p(J,H,ee,te)}function J(e,t){return"modifier"==e?h(J):"variable"==e?(m(t),h()):"spread"==e?h(J):"["==e?W(J,"]"):"{"==e?W(Q,"}"):void 0}function Q(e,t){return"variable"!=e||Ie.stream.match(/^\s*:/,!1)?("variable"==e&&(Ie.marked="property"),"spread"==e?h(J):"}"==e?p():h(b(":"),J,ee)):(m(t),h(ee))}function ee(e,t){if("="==t)return h(k)}function te(e){if(","==e)return h(X)}function ne(e,t){if("keyword b"==e&&"else"==t)return h(_("form","else"),x,y)}function re(e){if("("==e)return h(_(")"),ie,b(")"),y)}function ie(e){return"var"==e?h(X,b(";"),ae):";"==e?h(ae):"variable"==e?h(oe):p(w,b(";"),ae)}function oe(e,t){return"in"==t||"of"==t?(Ie.marked="keyword",h(w)):h(M,ae)}function ae(e,t){return";"==e?h(se):"in"==t||"of"==t?(Ie.marked="keyword",h(w)):p(w,b(";"),se)}function se(e){")"!=e&&h(w)}function le(e,t){return"*"==t?(Ie.marked="keyword",h(le)):"variable"==e?(m(t),h(le)):"("==e?h(g,_(")"),$(ce,")"),y,H,x,v):De&&"<"==t?h(_(">"),$(U,">"),y,le):void 0}function ce(e,t){return"@"==t&&h(w,ce),"spread"==e||"modifier"==e?h(ce):p(J,H,ee)}function ue(e,t){return"variable"==e?de(e,t):fe(e,t)}function de(e,t){if("variable"==e)return m(t),h(fe)}function fe(e,t){return"<"==t?h(_(">"),$(U,">"),y,fe):"extends"==t||"implements"==t||De&&","==e?h(De?U:w,fe):"{"==e?h(_("}"),pe,y):void 0}function pe(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&Ie.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(Ie.marked="keyword",h(pe)):"variable"==e||"keyword"==Ie.style?(Ie.marked="property",h(De?he:le,pe)):"["==e?h(w,b("]"),De?he:le,pe):"*"==t?(Ie.marked="keyword",h(pe)):";"==e?h(pe):"}"==e?h():"@"==t?h(w,pe):void 0}function he(e,t){return"?"==t?h(he):":"==e?h(U,ee):"="==t?h(k):p(le)}function me(e,t){return"*"==t?(Ie.marked="keyword",h(xe,b(";"))):"default"==t?(Ie.marked="keyword",h(w,b(";"))):"{"==e?h($(ge,"}"),xe,b(";")):p(x)}function ge(e,t){return"as"==t?(Ie.marked="keyword",h(b("variable"))):"variable"==e?p(k,ge):void 0}function ve(e){return"string"==e?h():p(_e,ye,xe)}function _e(e,t){return"{"==e?W(_e,"}"):("variable"==e&&m(t),"*"==t&&(Ie.marked="keyword"),h(be))}function ye(e){if(","==e)return h(_e,ye)}function be(e,t){if("as"==t)return Ie.marked="keyword",h(_e)}function xe(e,t){if("from"==t)return Ie.marked="keyword",h(w)}function we(e){return"]"==e?h():p($(k,"]"))}function ke(e,t){return"operator"==e.lastType||","==e.lastType||Fe.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function Se(e,t,n){return t.tokenize==o&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var Ce,Te,Me=t.indentUnit,Ee=n.statementIndent,Ae=n.jsonld,Le=n.json||Ae,De=n.typescript,je=n.wordCharacters||/[\w$\xa1-\uffff]/,Oe=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"},s={if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:r,void:r,throw:r,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:r,export:e("export"),import:e("import"),extends:r,await:r};if(De){var l={type:"variable",style:"type"},c={interface:e("class"),implements:r,namespace:r,module:e("module"),enum:e("module"),public:e("modifier"),private:e("modifier"),protected:e("modifier"),abstract:e("modifier"),readonly:e("modifier"),string:l,number:l,boolean:l,any:l};for(var u in c)s[u]=c[u]}return s}(),Fe=/[+\-*&%=<>!?|~^@]/,Pe=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Ne="([{}])",ze={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},Ie={state:null,column:null,marked:null,cc:null},qe={name:"this",next:{name:"arguments"}};return y.lex=!0,{startState:function(e){var t={tokenize:o,lastType:"sof",cc:[],lexical:new u((e||0)-Me,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),c(e,t)),t.tokenize!=s&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==Ce?n:(t.lastType="operator"!=Ce||"++"!=Te&&"--"!=Te?Ce:"incdec",f(t,n,Ce,Te,e))},indent:function(t,r){if(t.tokenize==s)return e.Pass;if(t.tokenize!=o)return 0;var i,a=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==y)l=l.prev;else if(u!=ne)break}for(;("stat"==l.type||"form"==l.type)&&("}"==a||(i=t.cc[t.cc.length-1])&&(i==M||i==E)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;Ee&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,f=a==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==d&&"{"==a?l.indented:"form"==d?l.indented+Me:"stat"==d?l.indented+(ke(t,r)?Ee||Me:0):"switch"!=l.info||f||0==n.doubleIndentSwitch?l.align?l.column+(f?0:1):l.indented+(f?0:Me):l.indented+(/^(?:case|default)\b/.test(r)?Me:2*Me)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:Le?null:"/*",blockCommentEnd:Le?null:"*/",blockCommentContinue:Le?null:" * ",lineComment:Le?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:Le?"json":"javascript",jsonldMode:Ae,jsonMode:Le,expressionAllowed:Se,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=w&&t!=k||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},{"../../lib/codemirror":29}],36:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror"),e("../xml/xml"),e("../meta")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../meta"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("markdown",function(t,n){function r(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}function i(e,t,n){return t.f=t.inline=n,n(e,t)}function o(e,t,n){return t.f=t.block=n,n(e,t)}function a(e){return!e||!/\S/.test(e.string)}function s(e){return e.linkTitle=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,e.f==c&&(e.f=p,e.block=l),e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.prevLine=e.thisLine,e.thisLine={stream:null},null}function l(t,o){var s=t.column()===o.indentation,l=a(o.prevLine.stream),c=o.indentedCode,f=o.prevLine.hr,p=!1!==o.list,h=(o.listStack[o.listStack.length-1]||0)+3;o.indentedCode=!1;var m=o.indentation;if(null===o.indentationDiff&&(o.indentationDiff=o.indentation,p)){for(o.list=null;m<o.listStack[o.listStack.length-1];)o.listStack.pop(),o.listStack.length?o.indentation=o.listStack[o.listStack.length-1]:o.list=!1;!1!==o.list&&(o.indentationDiff=m-o.listStack[o.listStack.length-1])}var g=!(l||f||o.prevLine.header||p&&c||o.prevLine.fencedCodeEnd),_=(!1===o.list||f||l)&&o.indentation<=h&&t.match(S),y=null;if(o.indentationDiff>=4&&(c||o.prevLine.fencedCodeEnd||o.prevLine.header||l))return t.skipToEnd(),o.indentedCode=!0,w.code;if(t.eatSpace())return null;if(s&&o.indentation<=h&&(y=t.match(M))&&y[1].length<=6)return o.quote=0,o.header=y[1].length,o.thisLine.header=!0,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,d(o);if(o.indentation<=h&&t.eat(">"))return o.quote=s?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),t.eatSpace(),d(o);if(!_&&!o.setext&&s&&o.indentation<=h&&(y=t.match(C))){var b=y[1]?"ol":"ul";return o.indentation=m+t.current().length,o.list=!0,o.quote=0,o.listStack.push(o.indentation),n.taskLists&&t.match(T,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+b]),d(o)}return s&&o.indentation<=h&&(y=t.match(L,!0))?(o.quote=0,o.fencedEndRE=new RegExp(y[1]+"+ *$"),o.localMode=n.fencedCodeBlockHighlighting&&r(y[2]),o.localMode&&(o.localState=e.startState(o.localMode)),o.f=o.block=u,n.highlightFormatting&&(o.formatting="code-block"),o.code=-1,d(o)):o.setext||!(g&&p||o.quote||!1!==o.list||o.code||_||D.test(t.string))&&(y=t.lookAhead(1))&&(y=y.match(E))?(o.setext?(o.header=o.setext,o.setext=0,t.skipToEnd(),n.highlightFormatting&&(o.formatting="header")):(o.header="="==y[0].charAt(0)?1:2,o.setext=o.header),o.thisLine.header=!0,o.f=o.inline,d(o)):_?(t.skipToEnd(),o.hr=!0,o.thisLine.hr=!0,w.hr):"["===t.peek()?i(t,o,v):i(t,o,o.inline)}function c(t,n){var r=b.token(t,n.htmlState);if(!x){var i=e.innerMode(b,n.htmlState);("xml"==i.mode.name&&null===i.state.tagStart&&!i.state.context&&i.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=p,n.block=l,n.htmlState=null)}return r}function u(e,t){var r=t.listStack[t.listStack.length-1]||0,i=t.indentation<r,a=r+3;if(t.fencedEndRE&&t.indentation<=a&&(i||e.match(t.fencedEndRE))){n.highlightFormatting&&(t.formatting="code-block");var s;return i||(s=d(t)),t.localMode=t.localState=null,t.block=l,t.f=p,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,i?o(e,t,t.block):s}return t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),w.code)}function d(e){var t=[];if(e.formatting){t.push(w.formatting),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(w.formatting+"-"+e.formatting[r]),"header"===e.formatting[r]&&t.push(w.formatting+"-"+e.formatting[r]+"-"+e.header),"quote"===e.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(w.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(w.linkHref,"url"):(e.strong&&t.push(w.strong),e.em&&t.push(w.em),e.strikethrough&&t.push(w.strikethrough),e.emoji&&t.push(w.emoji),e.linkText&&t.push(w.linkText),e.code&&t.push(w.code),e.image&&t.push(w.image),e.imageAltText&&t.push(w.imageAltText,"link"),e.imageMarker&&t.push(w.imageMarker)),e.header&&t.push(w.header,w.header+"-"+e.header),e.quote&&(t.push(w.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(w.quote+"-"+e.quote):t.push(w.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(w.list2):t.push(w.list3):t.push(w.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function f(e,t){if(e.match(A,!0))return d(t)}function p(t,r){var i=r.text(t,r);if(void 0!==i)return i;if(r.list)return r.list=null,d(r);if(r.taskList){return" "===t.match(T,!0)[1]?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,d(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),d(r);var a=t.next();if(r.linkTitle){r.linkTitle=!1;var s=a;"("===a&&(s=")"),s=(s+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var l="^\\s*(?:[^"+s+"\\\\]+|\\\\\\\\|\\\\.)"+s;if(t.match(new RegExp(l),!0))return w.linkHref}if("`"===a){var u=r.formatting;n.highlightFormatting&&(r.formatting="code"),t.eatWhile("`");var f=t.current().length;if(0!=r.code||r.quote&&1!=f){if(f==r.code){var g=d(r);return r.code=0,g}return r.formatting=u,d(r)}return r.code=f,d(r)}if(r.code)return d(r);if("\\"===a&&(t.next(),n.highlightFormatting)){var v=d(r),_=w.formatting+"-escape";return v?v+" "+_:_}if("!"===a&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,n.highlightFormatting&&(r.formatting="image"),d(r);if("["===a&&r.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,n.highlightFormatting&&(r.formatting="image"),d(r);if("]"===a&&r.imageAltText){n.highlightFormatting&&(r.formatting="image");var v=d(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=m,v}if("["===a&&!r.image)return r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),d(r);if("]"===a&&r.linkText){n.highlightFormatting&&(r.formatting="link");var v=d(r);return r.linkText=!1,r.inline=r.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?m:p,v}if("<"===a&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=h,n.highlightFormatting&&(r.formatting="link");var v=d(r);return v?v+=" ":v="",v+w.linkInline}if("<"===a&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=h,n.highlightFormatting&&(r.formatting="link");var v=d(r);return v?v+=" ":v="",v+w.linkEmail}if(n.xml&&"<"===a&&t.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(t.string.substring(t.start,y))&&(r.md_inside=!0)}return t.backUp(1),r.htmlState=e.startState(b),o(t,r,c)}if(n.xml&&"<"===a&&t.match(/^\/\w*?>/))return r.md_inside=!1,"tag";if("*"===a||"_"===a){for(var x=1,k=1==t.pos?" ":t.string.charAt(t.pos-2);x<3&&t.eat(a);)x++;var S=t.peek()||" ",C=!/\s/.test(S)&&(!j.test(S)||/\s/.test(k)||j.test(k)),M=!/\s/.test(k)&&(!j.test(k)||/\s/.test(S)||j.test(S)),E=null,A=null;if(x%2&&(r.em||!C||"*"!==a&&M&&!j.test(k)?r.em!=a||!M||"*"!==a&&C&&!j.test(S)||(E=!1):E=!0),x>1&&(r.strong||!C||"*"!==a&&M&&!j.test(k)?r.strong!=a||!M||"*"!==a&&C&&!j.test(S)||(A=!1):A=!0),null!=A||null!=E){n.highlightFormatting&&(r.formatting=null==E?"strong":null==A?"em":"strong em"),!0===E&&(r.em=a),!0===A&&(r.strong=a);var g=d(r);return!1===E&&(r.em=!1),!1===A&&(r.strong=!1),g}}else if(" "===a&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return d(r);t.backUp(1)}if(n.strikethrough)if("~"===a&&t.eatWhile(a)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");var g=d(r);return r.strikethrough=!1,g}if(t.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),d(r)}else if(" "===a&&t.match(/^~~/,!0)){if(" "===t.peek())return d(r);t.backUp(2)}if(n.emoji&&":"===a&&t.match(/^[a-z_\d+-]+:/)){r.emoji=!0,n.highlightFormatting&&(r.formatting="emoji");var L=d(r);return r.emoji=!1,L}return" "===a&&(t.match(/ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),d(r)}function h(e,t){if(">"===e.next()){t.f=t.inline=p,n.highlightFormatting&&(t.formatting="link");var r=d(t);return r?r+=" ":r="",r+w.linkInline}return e.match(/^[^>]+/,!0),w.linkInline}function m(e,t){if(e.eatSpace())return null;var r=e.next();return"("===r||"["===r?(t.f=t.inline=g("("===r?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,d(t)):"error"}function g(e){return function(t,r){if(t.next()===e){r.f=r.inline=p,n.highlightFormatting&&(r.formatting="link-string");var i=d(r);return r.linkHref=!1,i}return t.match(O[e]),r.linkHref=!0,d(r)}}function v(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=_,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,d(t)):i(e,t,p)}function _(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=y,n.highlightFormatting&&(t.formatting="link");var r=d(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),w.linkText}function y(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=p,w.linkHref+" url")}var b=e.getMode(t,"text/html"),x="null"==b.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var w={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var k in w)w.hasOwnProperty(k)&&n.tokenTypeOverrides[k]&&(w[k]=n.tokenTypeOverrides[k]);var S=/^([*\-_])(?:\s*\1){2,}\s*$/,C=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,T=/^\[(x| )\](?=\s)/i,M=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,E=/^ *(?:\={1,}|-{1,})\s*$/,A=/^[^#!\[\]*_\\<>` "'(~:]+/,L=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,D=/^\s*\[[^\]]+?\]:\s*\S+(\s*\S*\s*)?$/,j=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,O={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},F={startState:function(){return{f:l,prevLine:{stream:null},thisLine:{stream:null},block:l,htmlState:null,indentation:0,inline:p,text:f,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(b,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return s(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=c)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==c?{state:e.htmlState,mode:b}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:F}},indent:function(t,n,r){return t.block==c&&b.indent?b.indent(t.htmlState,n,r):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},blankLine:s,getType:d,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return F},"xml"),e.defineMIME("text/x-markdown","markdown")})},{"../../lib/codemirror":29,"../meta":37,"../xml/xml":46}],37:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../lib/codemirror")):"function"==typeof define&&define.amd?define(["../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:["application/x-httpd-php","text/x-php"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}
return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}})},{"../lib/codemirror":29}],38:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("nginx",function(e){function t(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function n(e,t){return s=t,e}function r(e,t){e.eatWhile(/[\w\$_]/);var r=e.current();if(l.propertyIsEnumerable(r))return"keyword";if(c.propertyIsEnumerable(r))return"variable-2";if(u.propertyIsEnumerable(r))return"string-2";var s=e.next();return"@"==s?(e.eatWhile(/[\w\\\-]/),n("meta",e.current())):"/"==s&&e.eat("*")?(t.tokenize=i,i(e,t)):"<"==s&&e.eat("!")?(t.tokenize=o,o(e,t)):"="!=s?"~"!=s&&"|"!=s||!e.eat("=")?'"'==s||"'"==s?(t.tokenize=a(s),t.tokenize(e,t)):"#"==s?(e.skipToEnd(),n("comment","comment")):"!"==s?(e.match(/^\s*\w*/),n("keyword","important")):/\d/.test(s)?(e.eatWhile(/[\w.%]/),n("number","unit")):/[,.+>*\/]/.test(s)?n(null,"select-op"):/[;{}:\[\]]/.test(s)?n(null,s):(e.eatWhile(/[\w\\\-]/),n("variable","variable")):n(null,"compare"):void n(null,"compare")}function i(e,t){for(var i,o=!1;null!=(i=e.next());){if(o&&"/"==i){t.tokenize=r;break}o="*"==i}return n("comment","comment")}function o(e,t){for(var i,o=0;null!=(i=e.next());){if(o>=2&&">"==i){t.tokenize=r;break}o="-"==i?o+1:0}return n("comment","comment")}function a(e){return function(t,i){for(var o,a=!1;null!=(o=t.next())&&(o!=e||a);)a=!a&&"\\"==o;return a||(i.tokenize=r),n("string","string")}}var s,l=t("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),c=t("http mail events server types location upstream charset_map limit_except if geo map"),u=t("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"),d=e.indentUnit;return{startState:function(e){return{tokenize:r,baseIndent:e||0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;s=null;var n=t.tokenize(e,t),r=t.stack[t.stack.length-1];return"hash"==s&&"rule"==r?n="atom":"variable"==n&&("rule"==r?n="number":r&&"@media{"!=r||(n="tag")),"rule"==r&&/^[\{\};]$/.test(s)&&t.stack.pop(),"{"==s?"@media"==r?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):"}"==s?t.stack.pop():"@media"==s?t.stack.push("@media"):"{"==r&&"comment"!=s&&t.stack.push("rule"),n},indent:function(e,t){var n=e.stack.length;return/^\}/.test(t)&&(n-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+n*d},electricChars:"}"}}),e.defineMIME("text/x-nginx-conf","nginx")})},{"../../lib/codemirror":29}],39:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror"),e("../htmlmixed/htmlmixed"),e("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],r):r(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function n(e,t,i){return 0==e.length?r(t):function(o,a){for(var s=e[0],l=0;l<s.length;l++)if(o.match(s[l][0]))return a.tokenize=n(e.slice(1),t),s[l][1];return a.tokenize=r(t,i),"string"}}function r(e,t){return function(n,r){return i(n,r,e,t)}}function i(e,t,r,i){if(!1!==i&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==i&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=n([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],r,i)),e.match(/\-\>\w/,!1)&&(t.tokenize=n([[["->",null]],[[/[\w]+/,"variable"]]],r,i)),"variable-2";for(var o=!1;!e.eol()&&(o||!1===i||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&e.match(r)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}o="\\"==e.next()&&!o}return"string"}var o="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",a="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",s="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[o,a,s].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var l={name:"clike",helperType:"php",keywords:t(o),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(a),builtin:t(s),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var n;if(n=e.match(/<<\s*/)){var i=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var o=e.current().slice(n[0].length+(i?2:1));if(i&&e.eat(i),o)return(t.tokStack||(t.tokStack=[])).push(o,0),t.tokenize=r(o,"'"!=i),"string"}return!1},"#":function(e){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"},"/":function(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=r('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&t.tokStack.length>0&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=r(t.tokStack[t.tokStack.length-2])),!1}}};e.defineMode("php",function(t,n){function r(t,n){var r=n.curMode==o;if(t.sol()&&n.pending&&'"'!=n.pending&&"'"!=n.pending&&(n.pending=null),r)return r&&null==n.php.tokenize&&t.match("?>")?(n.curMode=i,n.curState=n.html,n.php.context.prev||(n.php=null),"meta"):o.token(t,n.curState);if(t.match(/^<\?\w*/))return n.curMode=o,n.php||(n.php=e.startState(o,i.indent(n.html,""))),n.curState=n.php,"meta";if('"'==n.pending||"'"==n.pending){for(;!t.eol()&&t.next()!=n.pending;);var a="string"}else if(n.pending&&t.pos<n.pending.end){t.pos=n.pending.end;var a=n.pending.style}else var a=i.token(t,n.curState);n.pending&&(n.pending=null);var s,l=t.current(),c=l.search(/<\?/);return-1!=c&&("string"==a&&(s=l.match(/[\'\"]$/))&&!/\?>/.test(l)?n.pending=s[0]:n.pending={end:t.pos,style:a},t.backUp(l.length-c)),a}var i=e.getMode(t,n&&n.htmlMode||"text/html"),o=e.getMode(t,l);return{startState:function(){var t=e.startState(i),r=n.startOpen?e.startState(o):null;return{html:t,php:r,curMode:n.startOpen?o:i,curState:n.startOpen?r:t,pending:null}},copyState:function(t){var n,r=t.html,a=e.copyState(i,r),s=t.php,l=s&&e.copyState(o,s);return n=t.curMode==i?a:l,{html:a,php:l,curMode:t.curMode,curState:n,pending:t.pending}},token:r,indent:function(e,t){return e.curMode!=o&&/^\s*<\//.test(t)||e.curMode==o&&/^\?>/.test(t)?i.indent(e.html,t):e.curMode.indent(e.curState,t)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",l)})},{"../../lib/codemirror":29,"../clike/clike":30,"../htmlmixed/htmlmixed":34}],40:[function(e,t,n){!function(r){"use strict";"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(window.CodeMirror)}(function(e){"use strict";e.defineMode("powershell",function(){function e(e,t){t=t||{};for(var n=void 0!==t.prefix?t.prefix:"^",r=void 0!==t.suffix?t.suffix:"\\b",i=0;i<e.length;i++)e[i]instanceof RegExp?e[i]=e[i].source:e[i]=e[i].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new RegExp(n+"("+e.join("|")+")"+r,"i")}function t(e,t){var i=t.returnStack[t.returnStack.length-1];if(i&&i.shouldReturnFrom(t))return t.tokenize=i.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return t.bracketNesting-=1,"punctuation";for(var o in S)if(e.match(S[o]))return o;var a=e.next();if("'"===a)return n(e,t);if("$"===a)return c(e,t);if('"'===a)return r(e,t);if("<"===a&&e.eat("#"))return t.tokenize=l,l(e,t);if("#"===a)return e.skipToEnd(),"comment";if("@"===a){var s=e.eat(/["']/);if(s&&e.eol())return t.tokenize=d,t.startQuote=s[0],d(e,t);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(f))return c(e,t)}return"error"}function n(e,n){for(var r;null!=(r=e.peek());)if(e.next(),"'"===r&&!e.eat("'"))return n.tokenize=t,"string";return"error"}function r(e,n){for(var r;null!=(r=e.peek());){if("$"===r)return n.tokenize=i,"string";if(e.next(),"`"!==r){if('"'===r&&!e.eat('"'))return n.tokenize=t,"string"}else e.next()}return"error"}function i(e,t){return s(e,t,r)}function o(e,t){return t.tokenize=d,t.startQuote='"',d(e,t)}function a(e,t){return s(e,t,o)}function s(e,n,r){if(e.match("$(")){var i=n.bracketNesting;return n.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===i},tokenize:r}),n.tokenize=t,n.bracketNesting+=1,"punctuation"}return e.next(),n.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:r}),n.tokenize=c,n.tokenize(e,n)}function l(e,n){for(var r,i=!1;null!=(r=e.next());){if(i&&">"==r){n.tokenize=t;break}i="#"===r}return"comment"}function c(e,n){var r=e.peek();return e.eat("{")?(n.tokenize=u,u(e,n)):void 0!=r&&r.match(f)?(e.eatWhile(f),n.tokenize=t,"variable-2"):(n.tokenize=t,"error")}function u(e,n){for(var r;null!=(r=e.next());)if("}"===r){n.tokenize=t;break}return"variable-2"}function d(e,n){var r=n.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))n.tokenize=t;else if('"'===r)for(;!e.eol();){var i=e.peek();if("$"===i)return n.tokenize=a,"string";e.next(),"`"===i&&e.next()}else e.skipToEnd();return"string"}var f=/[\w\-:]/,p=e([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:"(?=[^A-Za-z\\d\\-_]|$)"}),h=/[\[\]{},;`\.]|@[({]/,m=e(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),g=/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/,v=e([m,g],{suffix:""}),_=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,y=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,b=/[A-Z]:|%|\?/i,x=e([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),w=e([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),k=e([b,x,w],{suffix:"(?=[^A-Za-z\\d\\-_]|$)"}),S={keyword:p,number:_,operator:v,builtin:k,punctuation:h,identifier:y};return{startState:function(){return{returnStack:[],bracketNesting:0,tokenize:t}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"}}),e.defineMIME("application/x-powershell","powershell")})},{"../../lib/codemirror":29}],41:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function n(e){return e.scopes[e.scopes.length-1]}var r=t(["and","or","not","is"]),i=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],o=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];e.registerHelper("hintWords","python",i.concat(o)),e.defineMode("python",function(a,s){function l(e,t){if(e.sol()&&(t.indent=e.indentation()),e.sol()&&"py"==n(t).type){var r=n(t).offset;if(e.eatSpace()){var i=e.indentation();return i>r?d(t):i<r&&p(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null}var o=c(e,t);return r>0&&p(e,t)&&(o+=" "+m),o}return c(e,t)}function c(e,t){if(e.eatSpace())return null
;if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(/^[0-9\.]/,!1)){var n=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(n=!0),e.match(/^[\d_]+\.\d*/)&&(n=!0),e.match(/^\.\d+/)&&(n=!0),n)return e.eat(/J/i),"number";var i=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(i=!0),e.match(/^0b[01_]+/i)&&(i=!0),e.match(/^0o[0-7_]+/i)&&(i=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),i=!0),e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}if(e.match(S))return t.tokenize=u(e.current()),t.tokenize(e,t);for(var o=0;o<v.length;o++)if(e.match(v[o]))return"operator";return e.match(g)?"punctuation":"."==t.lastToken&&e.match(k)?"property":e.match(C)||e.match(r)?"keyword":e.match(T)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(k)?"def"==t.lastToken||"class"==t.lastToken?"def":"variable":(e.next(),m)}function u(e){function t(t,i){for(;!t.eol();)if(t.eatWhile(/[^'"\\]/),t.eat("\\")){if(t.next(),n&&t.eol())return r}else{if(t.match(e))return i.tokenize=l,r;t.eat(/['"]/)}if(n){if(s.singleLineStringErrors)return m;i.tokenize=l}return r}for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,r="string";return t.isString=!0,t}function d(e){for(;"py"!=n(e).type;)e.scopes.pop();e.scopes.push({offset:n(e).offset+a.indentUnit,type:"py",align:null})}function f(e,t,n){var r=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+y,type:n,align:r})}function p(e,t){for(var r=e.indentation();t.scopes.length>1&&n(t).offset>r;){if("py"!=n(t).type)return!0;t.scopes.pop()}return n(t).offset!=r}function h(e,t){e.sol()&&(t.beginningOfLine=!0);var r=t.tokenize(e,t),i=e.current();if(t.beginningOfLine&&"@"==i)return e.match(k,!1)?"meta":w?"operator":m;/\S/.test(i)&&(t.beginningOfLine=!1),"variable"!=r&&"builtin"!=r||"meta"!=t.lastToken||(r="meta"),"pass"!=i&&"return"!=i||(t.dedent+=1),"lambda"==i&&(t.lambda=!0),":"!=i||t.lambda||"py"!=n(t).type||d(t);var o=1==i.length?"[({".indexOf(i):-1;if(-1!=o&&f(e,t,"])}".slice(o,o+1)),-1!=(o="])}".indexOf(i))){if(n(t).type!=i)return m;t.indent=t.scopes.pop().offset-y}return t.dedent>0&&e.eol()&&"py"==n(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),r}for(var m="error",g=s.delimiters||s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.]/,v=[s.singleOperators,s.doubleOperators,s.doubleDelimiters,s.tripleDelimiters,s.operators||/^([-+*\/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],_=0;_<v.length;_++)v[_]||v.splice(_--,1);var y=s.hangingIndent||a.indentUnit,b=i,x=o;void 0!=s.extra_keywords&&(b=b.concat(s.extra_keywords)),void 0!=s.extra_builtins&&(x=x.concat(s.extra_builtins));var w=!(s.version&&Number(s.version)<3);if(w){var k=s.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;b=b.concat(["nonlocal","False","True","None","async","await"]),x=x.concat(["ascii","bytes","exec","print"]);var S=new RegExp("^(([rbuf]|(br))?('{3}|\"{3}|['\"]))","i")}else{var k=s.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;b=b.concat(["exec","print"]),x=x.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);var S=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var C=t(b),T=t(x);return{startState:function(e){return{tokenize:l,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var r=h(e,t);return r&&"comment"!=r&&(t.lastToken="keyword"==r||"punctuation"==r?e.current():r),"punctuation"==r&&(r=null),e.eol()&&t.lambda&&(t.lambda=!1),n?r+" "+m:r},indent:function(t,r){if(t.tokenize!=l)return t.tokenize.isString?e.Pass:0;var i=n(t),o=i.type==r.charAt(0);return null!=i.align?i.align-(o?1:0):i.offset-(o?y:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python");e.defineMIME("text/x-cython",{name:"python",extra_keywords:function(e){return e.split(" ")}("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})},{"../../lib/codemirror":29}],42:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("ruby",function(e){function t(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function n(e,t,n){return n.tokenize.push(e),e(t,n)}function r(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(c),"comment";if(e.eatSpace())return null;var r,o=e.next();if("`"==o||"'"==o||'"'==o)return n(s(o,"string",'"'==o||"`"==o),e,t);if("/"==o)return i(e)?n(s(o,"string-2",!0),e,t):"operator";if("%"==o){var a="string",d=!0;e.eat("s")?a="atom":e.eat(/[WQ]/)?a="string":e.eat(/[r]/)?a="string-2":e.eat(/[wxq]/)&&(a="string",d=!1);var f=e.eat(/[^\w\s=]/);return f?(h.propertyIsEnumerable(f)&&(f=h[f]),n(s(f,a,d,!0),e,t)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return n(l(r[1]),e,t);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?n(s("'","atom",!1),e,t):e.eat('"')?n(s('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=o||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return u=o,null;if("-"==o&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var p=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||p||(u="."),"operator"}return null}return u="|",null}function i(e){for(var t,n=e.pos,r=0,i=!1,o=!1;null!=(t=e.next());)if(o)o=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){i=!0;break}o="\\"==t}return e.backUp(e.pos-n),i}function o(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=o(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=o(e+1));return r(t,n)}}function a(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,r(t,n))}}function s(e,t,n,r){return function(i,s){var l,c=!1;for("read-quoted-paused"===s.context.type&&(s.context=s.context.prev,i.eat("}"));null!=(l=i.next());){if(l==e&&(r||!c)){s.tokenize.pop();break}if(n&&"#"==l&&!c){if(i.eat("{")){"}"==e&&(s.context={prev:s.context,type:"read-quoted-paused"}),s.tokenize.push(o());break}if(/[@\$]/.test(i.peek())){s.tokenize.push(a());break}}c=!c&&"\\"==l}return t}}function l(e){return function(t,n){return t.match(e)?n.tokenize.pop():t.skipToEnd(),"string"}}function c(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var u,d=t(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),f=t(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),p=t(["end","until"]),h={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[r],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){u=null,e.sol()&&(t.indented=e.indentation());var n,r=t.tokenize[t.tokenize.length-1](e,t),i=u;if("ident"==r){var o=e.current();r="."==t.lastTok?"property":d.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable","keyword"==r&&(i=o,f.propertyIsEnumerable(o)?n="indent":p.propertyIsEnumerable(o)?n="dedent":"if"!=o&&"unless"!=o||e.column()!=e.indentation()?"do"==o&&t.context.indented<t.indented&&(n="indent"):n="indent")}return(u||r&&"comment"!=r)&&(t.lastTok=i),"|"==u&&(t.varList=!t.varList),"indent"==n||/[\(\[\{]/.test(u)?t.context={prev:t.context,type:u||r,indented:t.indented}:("dedent"==n||/[\)\]\}]/.test(u))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==u||"operator"==r),r},indent:function(t,n){if(t.tokenize[t.tokenize.length-1]!=r)return 0;var i=n&&n.charAt(0),o=t.context,a=o.type==h[i]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return o.indented+(a?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-ruby","ruby")})},{"../../lib/codemirror":29}],43:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("shell",function(){function e(e,t){for(var n=t.split(" "),r=0;r<n.length;r++)i[n[r]]=e}function t(e,t){if(e.eatSpace())return null;var a=e.sol(),s=e.next();if("\\"===s)return e.next(),null;if("'"===s||'"'===s||"`"===s)return t.tokens.unshift(n(s,"`"===s?"quote":"string")),r(e,t);if("#"===s)return a&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if("$"===s)return t.tokens.unshift(o),r(e,t);if("+"===s||"="===s)return"operator";if("-"===s)return e.eat("-"),e.eatWhile(/\w/),"attribute";if(/\d/.test(s)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var l=e.current();return"="===e.peek()&&/\w+/.test(l)?"def":i.hasOwnProperty(l)?i[l]:null}function n(e,t){var i="("==e?")":"{"==e?"}":e;return function(a,s){for(var l,c=!1,u=!1;null!=(l=a.next());){if(l===i&&!u){c=!0;break}if("$"===l&&!u&&"'"!==e){u=!0,a.backUp(1),s.tokens.unshift(o);break}if(!u&&l===e&&e!==i)return s.tokens.unshift(n(e,t)),r(a,s);u=!u&&"\\"===l}return c&&s.tokens.shift(),t}}function r(e,n){return(n.tokens[0]||t)(e,n)}var i={};e("atom","true false"),e("keyword","if then do else elif while until for in esac fi fin fil done exit set unset export function"),e("builtin","ab awk bash beep cat cc cd chown chmod chroot clear cp curl cut diff echo find gawk gcc get git grep hg kill killall ln ls make mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh shopt shred source sort sleep ssh start stop su sudo svn tee telnet top touch vi vim wall wc wget who write yes zsh");var o=function(e,t){t.tokens.length>1&&e.eat("$");var i=e.next();return/['"({]/.test(i)?(t.tokens[0]=n(i,"("==i?"quote":"{"==i?"def":"string"),r(e,t)):(/\d/.test(i)||e.eatWhile(/\w/),t.tokens.shift(),"def")};return{startState:function(){return{tokens:[]}},token:function(e,t){return r(e,t)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),e.defineMIME("text/x-sh","shell"),e.defineMIME("application/x-sh","shell")})},{"../../lib/codemirror":29}],44:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("sql",function(t,n){function r(e,t){var n=e.next();if(h[n]){var r=h[n](e,t);if(!1!==r)return r}if(p.hexNumber&&("0"==n&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==n||"X"==n)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(p.binaryNumber&&(("b"==n||"B"==n)&&e.match(/^'[01]+'/)||"0"==n&&e.match(/^b[01]+/)))return"number";if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),p.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==n&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==n||'"'==n&&p.doubleQuote)return t.tokenize=i(n),t.tokenize(e,t);if((p.nCharCast&&("n"==n||"N"==n)||p.charsetCast&&"_"==n&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(/^[\(\),\;\[\]]/.test(n))return null;if(p.commentSlashSlash&&"/"==n&&e.eat("/"))return e.skipToEnd(),"comment";if(p.commentHash&&"#"==n||"-"==n&&e.eat("-")&&(!p.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==n&&e.eat("*"))return t.tokenize=o(1),t.tokenize(e,t);if("."!=n){if(f.test(n))return e.eatWhile(f),null;if("{"==n&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var a=e.current().toLowerCase();return m.hasOwnProperty(a)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":c.hasOwnProperty(a)?"atom":u.hasOwnProperty(a)?"builtin":d.hasOwnProperty(a)?"keyword":l.hasOwnProperty(a)?"string-2":null}return p.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:p.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0}function i(e){return function(t,n){for(var i,o=!1;null!=(i=t.next());){if(i==e&&!o){n.tokenize=r;break}o=!o&&"\\"==i}return"string"}}function o(e){return function(t,n){var i=t.match(/^.*?(\/\*|\*\/)/);return i?"/*"==i[1]?n.tokenize=o(e+1):n.tokenize=e>1?o(e-1):r:t.skipToEnd(),"comment"}}function a(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function s(e){e.indent=e.context.indent,e.context=e.context.prev}var l=n.client||{},c=n.atoms||{false:!0,true:!0,null:!0},u=n.builtin||{},d=n.keywords||{},f=n.operatorChars||/^[*+\-%<>!=&|~^]/,p=n.support||{},h=n.hooks||{},m=n.dateSQL||{date:!0,time:!0,timestamp:!0};return{startState:function(){return{tokenize:r,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==r&&e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var i=e.current();return"("==i?a(e,t,")"):"["==i?a(e,t,"]"):t.context&&t.context.type==i&&s(t),n},indent:function(n,r){var i=n.context;if(!i)return e.Pass;var o=r.charAt(0)==i.type;return i.align?i.col+(o?0:1):i.indent+(o?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:p.commentSlashSlash?"//":p.commentHash?"#":"--"}}),function(){function t(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function r(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function i(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}function o(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var a="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";e.defineMIME("text/x-sql",{name:"sql",keywords:o(a+"begin"),builtin:o("bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec"),builtin:o("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":r}}),e.defineMIME("text/x-mysql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":i}}),e.defineMIME("text/x-mariadb",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":i}}),e.defineMIME("text/x-sqlite",{name:"sql",client:o("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:o(a+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:o("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|\/~]/,dateSQL:o("date time timestamp datetime"),support:o("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":r,":":r,"?":r,$:r,'"':n,"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:o("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:o("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:o("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:o("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:o("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:o("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:o("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*+\-%<>!=~]/,dateSQL:o("date time timestamp"),support:o("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",
keywords:o("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external false fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger true unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with"),builtin:o("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:o("source"),keywords:o(a+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get global go goto grant granted greatest grouping groups handler header hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict restricted result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat attach path depends detach zone"),builtin:o("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:o("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:o("false true"),builtin:o("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:o("source"),keywords:o("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:o("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:o("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:o("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:o("false true null"),operatorChars:/^[*+\-%<>!=~&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:o("source"),keywords:o("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:o("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("time"),support:o("decimallessFloat zerolessFloat binaryNumber hexNumber")})}()})},{"../../lib/codemirror":29}],45:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();)e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property string":"string"}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom"}}}),e.defineMIME("text/x-toml","toml")})},{"../../lib/codemirror":29}],46:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(r,i){function o(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?n(l("atom","]]>")):null:e.match("--")?n(l("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(c(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=l("meta","?>"),"meta"):(T=e.eat("/")?"closeTag":"openTag",t.tokenize=a,"tag bracket");if("&"==r){var i;return i=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),i?"atom":"error"}return e.eatWhile(/[^&<]/),null}function a(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=o,T=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return T="equals",null;if("<"==n){t.tokenize=o,t.state=p,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=s(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=a;break}return"string"};return t.isInAttribute=!0,t}function l(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=o;break}n.next()}return e}}function c(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=c(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=o;break}return n.tokenize=c(e-1),n.tokenize(t,n)}}return"meta"}}function u(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(k.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function d(e){e.context&&(e.context=e.context.prev)}function f(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!k.contextGrabbers.hasOwnProperty(n)||!k.contextGrabbers[n].hasOwnProperty(t))return;d(e)}}function p(e,t,n){return"openTag"==e?(n.tagStart=t.column(),h):"closeTag"==e?m:p}function h(e,t,n){return"word"==e?(n.tagName=t.current(),M="tag",_):(M="error",h)}function m(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&k.implicitlyClosed.hasOwnProperty(n.context.tagName)&&d(n),n.context&&n.context.tagName==r||!1===k.matchClosing?(M="tag",g):(M="tag error",v)}return M="error",v}function g(e,t,n){return"endTag"!=e?(M="error",g):(d(n),p)}function v(e,t,n){return M="error",g(e,t,n)}function _(e,t,n){if("word"==e)return M="attribute",y;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||k.autoSelfClosers.hasOwnProperty(r)?f(n,r):(f(n,r),n.context=new u(n,r,i==n.indented)),p}return M="error",_}function y(e,t,n){return"equals"==e?b:(k.allowMissing||(M="error"),_(e,t,n))}function b(e,t,n){return"string"==e?x:"word"==e&&k.allowUnquoted?(M="string",_):(M="error",_(e,t,n))}function x(e,t,n){return"string"==e?x:_(e,t,n)}var w=r.indentUnit,k={},S=i.htmlMode?t:n;for(var C in S)k[C]=S[C];for(var C in i)k[C]=i[C];var T,M;return o.isInText=!0,{startState:function(e){var t={tokenize:o,state:p,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;T=null;var n=t.tokenize(e,t);return(n||T)&&"comment"!=n&&(M=null,t.state=t.state(T||n,e,t),M&&(n="error"==M?n+" error":M)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+w;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=a&&t.tokenize!=o)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==k.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+w*(k.multilineTagIndentFactor||1);if(k.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;i;){if(i.tagName==s[2]){i=i.prev;break}if(!k.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(s)for(;i;){var l=k.contextGrabbers[i.tagName];if(!l||!l.hasOwnProperty(s[2]))break;i=i.prev}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+w:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:k.htmlMode?"html":"xml",helperType:k.htmlMode?"html":"xml",skipAttribute:function(e){e.state==b&&(e.state=_)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},{"../../lib/codemirror":29}],47:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("yaml",function(){var e=["true","false","on","off","yes","no"],t=new RegExp("\\b(("+e.join(")|(")+"))$","i");return{token:function(e,n){var r=e.peek(),i=n.escaped;if(n.escaped=!1,"#"==r&&(0==e.pos||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&e.indentation()>n.keyCol)return e.skipToEnd(),"string";if(n.literal&&(n.literal=!1),e.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,e.match(/---/))return"def";if(e.match(/\.\.\./))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!i&&","==r)return e.next(),"meta";if(n.inlinePairs>0&&!i&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,e.next(),"meta";if(n.pairStart){if(e.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(t))return"keyword"}return!n.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=e.indentation(),"atom"):n.pair&&e.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}}}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")})},{"../../lib/codemirror":29}],48:[function(e,t,n){e("../../modules/core.regexp.escape"),t.exports=e("../../modules/_core").RegExp.escape},{"../../modules/_core":69,"../../modules/core.regexp.escape":173}],49:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],50:[function(e,t,n){var r=e("./_cof");t.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},{"./_cof":64}],51:[function(e,t,n){var r=e("./_wks")("unscopables"),i=Array.prototype;void 0==i[r]&&e("./_hide")(i,r,{}),t.exports=function(e){i[r][e]=!0}},{"./_hide":88,"./_wks":171}],52:[function(e,t,n){t.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},{}],53:[function(e,t,n){var r=e("./_is-object");t.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":97}],54:[function(e,t,n){"use strict";var r=e("./_to-object"),i=e("./_to-absolute-index"),o=e("./_to-length");t.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),l=i(t,a),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?a:i(c,a))-l,a-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},{"./_to-absolute-index":157,"./_to-length":161,"./_to-object":162}],55:[function(e,t,n){"use strict";var r=e("./_to-object"),i=e("./_to-absolute-index"),o=e("./_to-length");t.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);c>s;)t[s++]=e;return t}},{"./_to-absolute-index":157,"./_to-length":161,"./_to-object":162}],56:[function(e,t,n){var r=e("./_for-of");t.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},{"./_for-of":85}],57:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_to-length"),o=e("./_to-absolute-index");t.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},{"./_to-absolute-index":157,"./_to-iobject":160,"./_to-length":161}],58:[function(e,t,n){var r=e("./_ctx"),i=e("./_iobject"),o=e("./_to-object"),a=e("./_to-length"),s=e("./_array-species-create");t.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,g,v=o(t),_=i(v),y=r(s,h,3),b=a(_.length),x=0,w=n?p(t,b):l?p(t,0):void 0;b>x;x++)if((f||x in _)&&(m=_[x],g=y(m,x,v),e))if(n)w[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(u)return!1;return d?-1:c||u?u:w}}},{"./_array-species-create":61,"./_ctx":71,"./_iobject":93,"./_to-length":161,"./_to-object":162}],59:[function(e,t,n){var r=e("./_a-function"),i=e("./_to-object"),o=e("./_iobject"),a=e("./_to-length");t.exports=function(e,t,n,s,l){r(t);var c=i(e),u=o(c),d=a(c.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in u&&(s=t(s,u[f],f,c));return s}},{"./_a-function":49,"./_iobject":93,"./_to-length":161,"./_to-object":162}],60:[function(e,t,n){var r=e("./_is-object"),i=e("./_is-array"),o=e("./_wks")("species");t.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},{"./_is-array":95,"./_is-object":97,"./_wks":171}],61:[function(e,t,n){var r=e("./_array-species-constructor");t.exports=function(e,t){return new(r(e))(t)}},{"./_array-species-constructor":60}],62:[function(e,t,n){"use strict";var r=e("./_a-function"),i=e("./_is-object"),o=e("./_invoke"),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};t.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?l(t,r.length,r):o(t,r,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},{"./_a-function":49,"./_invoke":92,"./_is-object":97}],63:[function(e,t,n){var r=e("./_cof"),i=e("./_wks")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};t.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},{"./_cof":64,"./_wks":171}],64:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],65:[function(e,t,n){"use strict";var r=e("./_object-dp").f,i=e("./_object-create"),o=e("./_redefine-all"),a=e("./_ctx"),s=e("./_an-instance"),l=e("./_for-of"),c=e("./_iter-define"),u=e("./_iter-step"),d=e("./_set-species"),f=e("./_descriptors"),p=e("./_meta").fastKey,h=e("./_validate-collection"),m=f?"_s":"size",g=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};t.exports={getConstructor:function(e,t,n,c){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[c],e)});return o(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=g(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(h(this,t),e)}}),f&&r(u.prototype,"size",{get:function(){return h(this,t)[m]}}),u},def:function(e,t,n){var r,i,o=g(e,t);return o?o.v=n:(e._l=o={i:i=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?u(0,n.k):"values"==t?u(0,n.v):u(0,[n.k,n.v]):(e._t=void 0,u(1))},n?"entries":"values",!n,!0),d(t)}}},{"./_an-instance":52,"./_ctx":71,"./_descriptors":75,"./_for-of":85,"./_iter-define":101,"./_iter-step":103,"./_meta":111,"./_object-create":116,"./_object-dp":117,"./_redefine-all":136,"./_set-species":143,"./_validate-collection":168}],66:[function(e,t,n){var r=e("./_classof"),i=e("./_array-from-iterable");t.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},{"./_array-from-iterable":56,"./_classof":63}],67:[function(e,t,n){"use strict"
;var r=e("./_redefine-all"),i=e("./_meta").getWeak,o=e("./_an-object"),a=e("./_is-object"),s=e("./_an-instance"),l=e("./_for-of"),c=e("./_array-methods"),u=e("./_has"),d=e("./_validate-collection"),f=c(5),p=c(6),h=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return f(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},t.exports={getConstructor:function(e,t,n,o){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&l(r,n,e[o],e)});return r(c.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(d(this,t)).delete(e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(d(this,t)).has(e):n&&u(n,this._i)}}),c},def:function(e,t,n){var r=i(o(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},{"./_an-instance":52,"./_an-object":53,"./_array-methods":58,"./_for-of":85,"./_has":87,"./_is-object":97,"./_meta":111,"./_redefine-all":136,"./_validate-collection":168}],68:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_export"),o=e("./_redefine"),a=e("./_redefine-all"),s=e("./_meta"),l=e("./_for-of"),c=e("./_an-instance"),u=e("./_is-object"),d=e("./_fails"),f=e("./_iter-detect"),p=e("./_set-to-string-tag"),h=e("./_inherit-if-required");t.exports=function(e,t,n,m,g,v){var _=r[e],y=_,b=g?"set":"add",x=y&&y.prototype,w={},k=function(e){var t=x[e];o(x,e,"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(v||x.forEach&&!d(function(){(new y).entries().next()}))){var S=new y,C=S[b](v?{}:-0,1)!=S,T=d(function(){S.has(1)}),M=f(function(e){new y(e)}),E=!v&&d(function(){for(var e=new y,t=5;t--;)e[b](t,t);return!e.has(-0)});M||(y=t(function(t,n){c(t,y,e);var r=h(new _,t,y);return void 0!=n&&l(n,g,r[b],r),r}),y.prototype=x,x.constructor=y),(T||E)&&(k("delete"),k("has"),g&&k("get")),(E||C)&&k(b),v&&x.clear&&delete x.clear}else y=m.getConstructor(t,e,g,b),a(y.prototype,n),s.NEED=!0;return p(y,e),w[e]=y,i(i.G+i.W+i.F*(y!=_),w),v||m.setStrong(y,e,g),y}},{"./_an-instance":52,"./_export":79,"./_fails":81,"./_for-of":85,"./_global":86,"./_inherit-if-required":91,"./_is-object":97,"./_iter-detect":102,"./_meta":111,"./_redefine":137,"./_redefine-all":136,"./_set-to-string-tag":144}],69:[function(e,t,n){var r=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=r)},{}],70:[function(e,t,n){"use strict";var r=e("./_object-dp"),i=e("./_property-desc");t.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},{"./_object-dp":117,"./_property-desc":135}],71:[function(e,t,n){var r=e("./_a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":49}],72:[function(e,t,n){"use strict";var r=e("./_fails"),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},{"./_fails":81}],73:[function(e,t,n){"use strict";var r=e("./_an-object"),i=e("./_to-primitive");t.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},{"./_an-object":53,"./_to-primitive":163}],74:[function(e,t,n){t.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},{}],75:[function(e,t,n){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":81}],76:[function(e,t,n){var r=e("./_is-object"),i=e("./_global").document,o=r(i)&&r(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}},{"./_global":86,"./_is-object":97}],77:[function(e,t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],78:[function(e,t,n){var r=e("./_object-keys"),i=e("./_object-gops"),o=e("./_object-pie");t.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},{"./_object-gops":123,"./_object-keys":126,"./_object-pie":127}],79:[function(e,t,n){var r=e("./_global"),i=e("./_core"),o=e("./_hide"),a=e("./_redefine"),s=e("./_ctx"),l=function(e,t,n){var c,u,d,f,p=e&l.F,h=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,_=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=h?i:i[t]||(i[t]={}),b=y.prototype||(y.prototype={});h&&(n=t);for(c in n)u=!p&&_&&void 0!==_[c],d=(u?_:n)[c],f=v&&u?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,_&&a(_,c,d,e&l.U),y[c]!=d&&o(y,c,f),g&&b[c]!=d&&(b[c]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},{"./_core":69,"./_ctx":71,"./_global":86,"./_hide":88,"./_redefine":137}],80:[function(e,t,n){var r=e("./_wks")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},{"./_wks":171}],81:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],82:[function(e,t,n){"use strict";var r=e("./_hide"),i=e("./_redefine"),o=e("./_fails"),a=e("./_defined"),s=e("./_wks");t.exports=function(e,t,n){var l=s(e),c=n(a,l,""[e]),u=c[0],d=c[1];o(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(i(String.prototype,e,u),r(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},{"./_defined":74,"./_fails":81,"./_hide":88,"./_redefine":137,"./_wks":171}],83:[function(e,t,n){"use strict";var r=e("./_an-object");t.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{"./_an-object":53}],84:[function(e,t,n){"use strict";function r(e,t,n,c,u,d,f,p){for(var h,m,g=u,v=0,_=!!f&&s(f,p,3);v<c;){if(v in n){if(h=_?_(n[v],v,t):n[v],m=!1,o(h)&&(m=h[l],m=void 0!==m?!!m:i(h)),m&&d>0)g=r(e,t,h,a(h.length),g,d-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=h}g++}v++}return g}var i=e("./_is-array"),o=e("./_is-object"),a=e("./_to-length"),s=e("./_ctx"),l=e("./_wks")("isConcatSpreadable");t.exports=r},{"./_ctx":71,"./_is-array":95,"./_is-object":97,"./_to-length":161,"./_wks":171}],85:[function(e,t,n){var r=e("./_ctx"),i=e("./_iter-call"),o=e("./_is-array-iter"),a=e("./_an-object"),s=e("./_to-length"),l=e("./core.get-iterator-method"),c={},u={},n=t.exports=function(e,t,n,d,f){var p,h,m,g,v=f?function(){return e}:l(e),_=r(n,d,t?2:1),y=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(p=s(e.length);p>y;y++)if((g=t?_(a(h=e[y])[0],h[1]):_(e[y]))===c||g===u)return g}else for(m=v.call(e);!(h=m.next()).done;)if((g=i(m,_,h.value,t))===c||g===u)return g};n.BREAK=c,n.RETURN=u},{"./_an-object":53,"./_ctx":71,"./_is-array-iter":94,"./_iter-call":99,"./_to-length":161,"./core.get-iterator-method":172}],86:[function(e,t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],87:[function(e,t,n){var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],88:[function(e,t,n){var r=e("./_object-dp"),i=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},{"./_descriptors":75,"./_object-dp":117,"./_property-desc":135}],89:[function(e,t,n){var r=e("./_global").document;t.exports=r&&r.documentElement},{"./_global":86}],90:[function(e,t,n){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":75,"./_dom-create":76,"./_fails":81}],91:[function(e,t,n){var r=e("./_is-object"),i=e("./_set-proto").set;t.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},{"./_is-object":97,"./_set-proto":142}],92:[function(e,t,n){t.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},{}],93:[function(e,t,n){var r=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},{"./_cof":64}],94:[function(e,t,n){var r=e("./_iterators"),i=e("./_wks")("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},{"./_iterators":104,"./_wks":171}],95:[function(e,t,n){var r=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"./_cof":64}],96:[function(e,t,n){var r=e("./_is-object"),i=Math.floor;t.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},{"./_is-object":97}],97:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],98:[function(e,t,n){var r=e("./_is-object"),i=e("./_cof"),o=e("./_wks")("match");t.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},{"./_cof":64,"./_is-object":97,"./_wks":171}],99:[function(e,t,n){var r=e("./_an-object");t.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},{"./_an-object":53}],100:[function(e,t,n){"use strict";var r=e("./_object-create"),i=e("./_property-desc"),o=e("./_set-to-string-tag"),a={};e("./_hide")(a,e("./_wks")("iterator"),function(){return this}),t.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},{"./_hide":88,"./_object-create":116,"./_property-desc":135,"./_set-to-string-tag":144,"./_wks":171}],101:[function(e,t,n){"use strict";var r=e("./_library"),i=e("./_export"),o=e("./_redefine"),a=e("./_hide"),s=e("./_has"),l=e("./_iterators"),c=e("./_iter-create"),u=e("./_set-to-string-tag"),d=e("./_object-gpo"),f=e("./_wks")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(e,t,n,m,g,v,_){c(n,t,m);var y,b,x,w=function(e){if(!p&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",S="values"==g,C=!1,T=e.prototype,M=T[f]||T["@@iterator"]||g&&T[g],E=M||w(g),A=g?S?w("entries"):E:void 0,L="Array"==t?T.entries||M:M;if(L&&(x=d(L.call(new e)))!==Object.prototype&&x.next&&(u(x,k,!0),r||s(x,f)||a(x,f,h)),S&&M&&"values"!==M.name&&(C=!0,E=function(){return M.call(this)}),r&&!_||!p&&!C&&T[f]||a(T,f,E),l[t]=E,l[k]=h,g)if(y={values:S?E:w("values"),keys:v?E:w("keys"),entries:A},_)for(b in y)b in T||o(T,b,y[b]);else i(i.P+i.F*(p||C),t,y);return y}},{"./_export":79,"./_has":87,"./_hide":88,"./_iter-create":100,"./_iterators":104,"./_library":105,"./_object-gpo":124,"./_redefine":137,"./_set-to-string-tag":144,"./_wks":171}],102:[function(e,t,n){var r=e("./_wks")("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}t.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},{"./_wks":171}],103:[function(e,t,n){t.exports=function(e,t){return{value:t,done:!!e}}},{}],104:[function(e,t,n){t.exports={}},{}],105:[function(e,t,n){t.exports=!1},{}],106:[function(e,t,n){var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:r},{}],107:[function(e,t,n){var r=e("./_math-sign"),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),l=i(2,-126),c=function(e){return e+1/o-1/o};t.exports=Math.fround||function(e){var t,n,i=Math.abs(e),u=r(e);return i<l?u*c(i/l/a)*l*a:(t=(1+a/o)*i,n=t-(t-i),n>s||n!=n?u*(1/0):u*n)}},{"./_math-sign":110}],108:[function(e,t,n){t.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},{}],109:[function(e,t,n){t.exports=Math.scale||function(e,t,n,r,i){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||i!=i?NaN:e===1/0||e===-1/0?e:(e-t)*(i-r)/(n-t)+r}},{}],110:[function(e,t,n){t.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},{}],111:[function(e,t,n){var r=e("./_uid")("meta"),i=e("./_is-object"),o=e("./_has"),a=e("./_object-dp").f,s=0,l=Object.isExtensible||function(){return!0},c=!e("./_fails")(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},p=function(e){return c&&h.NEED&&l(e)&&!o(e,r)&&u(e),e},h=t.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:p}},{"./_fails":81,"./_has":87,"./_is-object":97,"./_object-dp":117,"./_uid":167}],112:[function(e,t,n){var r=e("./es6.map"),i=e("./_export"),o=e("./_shared")("metadata"),a=o.store||(o.store=new(e("./es6.weak-map"))),s=function(e,t,n){var i=a.get(e);if(!i){if(!n)return;a.set(e,i=new r)}var o=i.get(t);if(!o){if(!n)return;i.set(t,o=new r)}return o},l=function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},c=function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},u=function(e,t,n,r){s(n,r,!0).set(e,t)},d=function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},f=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},p=function(e){i(i.S,"Reflect",e)};t.exports={store:a,map:s,has:l,get:c,set:u,keys:d,key:f,exp:p}},{"./_export":79,"./_shared":146,"./es6.map":203,"./es6.weak-map":309}],113:[function(e,t,n){var r=e("./_global"),i=e("./_task").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==e("./_cof")(a);t.exports=function(){var e,t,n,c=function(){var r,i;for(l&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(o){var u=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=u=!u}}else if(s&&s.resolve){var f=s.resolve();n=function(){f.then(c)}}else n=function(){i.call(r,c)};return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},{"./_cof":64,"./_global":86,"./_task":156}],114:[function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=i(t),this.reject=i(n)}var i=e("./_a-function");t.exports.f=function(e){return new r(e)}},{"./_a-function":49}],115:[function(e,t,n){"use strict";var r=e("./_object-keys"),i=e("./_object-gops"),o=e("./_object-pie"),a=e("./_to-object"),s=e("./_iobject"),l=Object.assign;t.exports=!l||e("./_fails")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=i.f,d=o.f;l>c;)for(var f,p=s(arguments[c++]),h=u?r(p).concat(u(p)):r(p),m=h.length,g=0;m>g;)d.call(p,f=h[g++])&&(n[f]=p[f]);return n}:l},{"./_fails":81,"./_iobject":93,"./_object-gops":123,"./_object-keys":126,"./_object-pie":127,"./_to-object":162}],116:[function(e,t,n){var r=e("./_an-object"),i=e("./_object-dps"),o=e("./_enum-bug-keys"),a=e("./_shared-key")("IE_PROTO"),s=function(){},l=function(){var t,n=e("./_dom-create")("iframe"),r=o.length;for(n.style.display="none",e("./_html").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[o[r]];return l()};t.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},{"./_an-object":53,"./_dom-create":76,"./_enum-bug-keys":77,"./_html":89,"./_object-dps":118,"./_shared-key":145}],117:[function(e,t,n){var r=e("./_an-object"),i=e("./_ie8-dom-define"),o=e("./_to-primitive"),a=Object.defineProperty;n.f=e("./_descriptors")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},{"./_an-object":53,"./_descriptors":75,"./_ie8-dom-define":90,"./_to-primitive":163}],118:[function(e,t,n){var r=e("./_object-dp"),i=e("./_an-object"),o=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},{"./_an-object":53,"./_descriptors":75,"./_object-dp":117,"./_object-keys":126}],119:[function(e,t,n){"use strict";t.exports=e("./_library")||!e("./_fails")(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete e("./_global")[t]})},{"./_fails":81,"./_global":86,"./_library":105}],120:[function(e,t,n){var r=e("./_object-pie"),i=e("./_property-desc"),o=e("./_to-iobject"),a=e("./_to-primitive"),s=e("./_has"),l=e("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;n.f=e("./_descriptors")?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},{"./_descriptors":75,"./_has":87,"./_ie8-dom-define":90,"./_object-pie":127,"./_property-desc":135,"./_to-iobject":160,"./_to-primitive":163}],121:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_object-gopn").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};t.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},{"./_object-gopn":122,"./_to-iobject":160}],122:[function(e,t,n){var r=e("./_object-keys-internal"),i=e("./_enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"./_enum-bug-keys":77,"./_object-keys-internal":125}],123:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],124:[function(e,t,n){var r=e("./_has"),i=e("./_to-object"),o=e("./_shared-key")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},{"./_has":87,"./_shared-key":145,"./_to-object":162}],125:[function(e,t,n){var r=e("./_has"),i=e("./_to-iobject"),o=e("./_array-includes")(!1),a=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},{"./_array-includes":57,"./_has":87,"./_shared-key":145,"./_to-iobject":160}],126:[function(e,t,n){var r=e("./_object-keys-internal"),i=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"./_enum-bug-keys":77,"./_object-keys-internal":125}],127:[function(e,t,n){n.f={}.propertyIsEnumerable},{}],128:[function(e,t,n){var r=e("./_export"),i=e("./_core"),o=e("./_fails");t.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},{"./_core":69,"./_export":79,"./_fails":81}],129:[function(e,t,n){var r=e("./_object-keys"),i=e("./_to-iobject"),o=e("./_object-pie").f;t.exports=function(e){return function(t){for(var n,a=i(t),s=r(a),l=s.length,c=0,u=[];l>c;)o.call(a,n=s[c++])&&u.push(e?[n,a[n]]:a[n]);return u}}},{"./_object-keys":126,"./_object-pie":127,"./_to-iobject":160}],130:[function(e,t,n){var r=e("./_object-gopn"),i=e("./_object-gops"),o=e("./_an-object"),a=e("./_global").Reflect;t.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},{"./_an-object":53,"./_global":86,"./_object-gopn":122,"./_object-gops":123}],131:[function(e,t,n){var r=e("./_global").parseFloat,i=e("./_string-trim").trim;t.exports=1/r(e("./_string-ws")+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},{"./_global":86,"./_string-trim":154,"./_string-ws":155}],132:[function(e,t,n){var r=e("./_global").parseInt,i=e("./_string-trim").trim,o=e("./_string-ws"),a=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},{"./_global":86,"./_string-trim":154,"./_string-ws":155}],133:[function(e,t,n){t.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},{}],134:[function(e,t,n){var r=e("./_an-object"),i=e("./_is-object"),o=e("./_new-promise-capability");t.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},{"./_an-object":53,"./_is-object":97,"./_new-promise-capability":114}],135:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],136:[function(e,t,n){var r=e("./_redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"./_redefine":137}],137:[function(e,t,n){var r=e("./_global"),i=e("./_hide"),o=e("./_has"),a=e("./_uid")("src"),s=Function.toString,l=(""+s).split("toString");e("./_core").inspectSource=function(e){return s.call(e)},(t.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||i(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},{"./_core":69,"./_global":86,"./_has":87,"./_hide":88,"./_uid":167}],138:[function(e,t,n){t.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},{}],139:[function(e,t,n){t.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},{}],140:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_a-function"),o=e("./_ctx"),a=e("./_for-of");t.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,s,l=arguments[1];return i(this),t=void 0!==l,t&&i(l),void 0==e?new this:(n=[],t?(r=0,s=o(l,arguments[2],2),a(e,!1,function(e){n.push(s(e,r++))})):a(e,!1,n.push,n),new this(n))}})}},{"./_a-function":49,"./_ctx":71,"./_export":79,"./_for-of":85}],141:[function(e,t,n){"use strict";var r=e("./_export");t.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},{"./_export":79}],142:[function(e,t,n){var r=e("./_is-object"),i=e("./_an-object"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(e){n=!0}return function(e,t){return o(e,t),n?e.__proto__=t:r(e,t),e}}({},!1):void 0),check:o}},{"./_an-object":53,"./_ctx":71,"./_is-object":97,"./_object-gopd":120}],143:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_object-dp"),o=e("./_descriptors"),a=e("./_wks")("species");t.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},{"./_descriptors":75,"./_global":86,"./_object-dp":117,"./_wks":171}],144:[function(e,t,n){var r=e("./_object-dp").f,i=e("./_has"),o=e("./_wks")("toStringTag");t.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},{"./_has":87,"./_object-dp":117,"./_wks":171}],145:[function(e,t,n){var r=e("./_shared")("keys"),i=e("./_uid");t.exports=function(e){return r[e]||(r[e]=i(e))}},{"./_shared":146,"./_uid":167}],146:[function(e,t,n){var r=e("./_global"),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(e){return i[e]||(i[e]={})}},{"./_global":86}],147:[function(e,t,n){var r=e("./_an-object"),i=e("./_a-function"),o=e("./_wks")("species");t.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},{"./_a-function":49,"./_an-object":53,"./_wks":171}],148:[function(e,t,n){"use strict";var r=e("./_fails");t.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},{"./_fails":81}],149:[function(e,t,n){var r=e("./_to-integer"),i=e("./_defined");t.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},{"./_defined":74,"./_to-integer":159}],150:[function(e,t,n){var r=e("./_is-regexp"),i=e("./_defined");t.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},{"./_defined":74,"./_is-regexp":98}],151:[function(e,t,n){var r=e("./_export"),i=e("./_fails"),o=e("./_defined"),a=/"/g,s=function(e,t,n,r){var i=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};t.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},{"./_defined":74,"./_export":79,"./_fails":81}],152:[function(e,t,n){var r=e("./_to-length"),i=e("./_string-repeat"),o=e("./_defined");t.exports=function(e,t,n,a){var s=String(o(e)),l=s.length,c=void 0===n?" ":String(n),u=r(t);if(u<=l||""==c)return s;var d=u-l,f=i.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},{"./_defined":74,"./_string-repeat":153,"./_to-length":161}],153:[function(e,t,n){"use strict";var r=e("./_to-integer"),i=e("./_defined");t.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},{"./_defined":74,"./_to-integer":159}],154:[function(e,t,n){var r=e("./_export"),i=e("./_defined"),o=e("./_fails"),a=e("./_string-ws"),s="["+a+"]",l="…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var i={},s=o(function(){return!!a[e]()||l[e]()!=l}),c=i[e]=s?t(f):a[e];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},f=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};t.exports=d},{"./_defined":74,"./_export":79,"./_fails":81,"./_string-ws":155}],155:[function(e,t,n){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},{}],156:[function(e,t,n){var r,i,o,a=e("./_ctx"),s=e("./_invoke"),l=e("./_html"),c=e("./_dom-create"),u=e("./_global"),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,g=0,v={},_=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){_.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete v[e]},"process"==e("./_cof")(d)?r=function(e){d.nextTick(a(_,e,1))}:m&&m.now?r=function(e){m.now(a(_,e,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),t.exports={set:f,clear:p}},{"./_cof":64,"./_ctx":71,"./_dom-create":76,"./_global":86,"./_html":89,"./_invoke":92}],157:[function(e,t,n){var r=e("./_to-integer"),i=Math.max,o=Math.min;t.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},{"./_to-integer":159}],158:[function(e,t,n){var r=e("./_to-integer"),i=e("./_to-length");t.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},{"./_to-integer":159,"./_to-length":161}],159:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},{}],160:[function(e,t,n){var r=e("./_iobject"),i=e("./_defined");t.exports=function(e){return r(i(e))}},{"./_defined":74,"./_iobject":93}],161:[function(e,t,n){var r=e("./_to-integer"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"./_to-integer":159}],162:[function(e,t,n){var r=e("./_defined");t.exports=function(e){return Object(r(e))}},{"./_defined":74}],163:[function(e,t,n){var r=e("./_is-object");t.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":97}],164:[function(e,t,n){"use strict";if(e("./_descriptors")){var r=e("./_library"),i=e("./_global"),o=e("./_fails"),a=e("./_export"),s=e("./_typed"),l=e("./_typed-buffer"),c=e("./_ctx"),u=e("./_an-instance"),d=e("./_property-desc"),f=e("./_hide"),p=e("./_redefine-all"),h=e("./_to-integer"),m=e("./_to-length"),g=e("./_to-index"),v=e("./_to-absolute-index"),_=e("./_to-primitive"),y=e("./_has"),b=e("./_classof"),x=e("./_is-object"),w=e("./_to-object"),k=e("./_is-array-iter"),S=e("./_object-create"),C=e("./_object-gpo"),T=e("./_object-gopn").f,M=e("./core.get-iterator-method"),E=e("./_uid"),A=e("./_wks"),L=e("./_array-methods"),D=e("./_array-includes"),j=e("./_species-constructor"),O=e("./es6.array.iterator"),F=e("./_iterators"),P=e("./_iter-detect"),N=e("./_set-species"),z=e("./_array-fill"),I=e("./_array-copy-within"),q=e("./_object-dp"),R=e("./_object-gopd"),$=q.f,W=R.f,B=i.RangeError,H=i.TypeError,U=i.Uint8Array,V=Array.prototype,Y=l.ArrayBuffer,G=l.DataView,Z=L(0),K=L(2),X=L(3),J=L(4),Q=L(5),ee=L(6),te=D(!0),ne=D(!1),re=O.values,ie=O.keys,oe=O.entries,ae=V.lastIndexOf,se=V.reduce,le=V.reduceRight,ce=V.join,ue=V.sort,de=V.slice,fe=V.toString,pe=V.toLocaleString,he=A("iterator"),me=A("toStringTag"),ge=E("typed_constructor"),ve=E("def_constructor"),_e=s.CONSTR,ye=s.TYPED,be=s.VIEW,xe=L(1,function(e,t){return Te(j(e,e[ve]),t)}),we=o(function(){return 1===new U(new Uint16Array([1]).buffer)[0]}),ke=!!U&&!!U.prototype.set&&o(function(){new U(1).set({})}),Se=function(e,t){var n=h(e);if(n<0||n%t)throw B("Wrong offset!");return n},Ce=function(e){if(x(e)&&ye in e)return e;throw H(e+" is not a typed array!")},Te=function(e,t){if(!(x(e)&&ge in e))throw H("It is not a typed array constructor!");return new e(t)},Me=function(e,t){return Ee(j(e,e[ve]),t)},Ee=function(e,t){for(var n=0,r=t.length,i=Te(e,r);r>n;)i[n]=t[n++];return i},Ae=function(e,t,n){$(e,t,{get:function(){return this._d[n]}})},Le=function(e){var t,n,r,i,o,a,s=w(e),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=M(s);if(void 0!=f&&!k(f)){for(a=f.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),t=0,n=m(s.length),i=Te(this,n);n>t;t++)i[t]=d?u(s[t],t):s[t];return i},De=function(){for(var e=0,t=arguments.length,n=Te(this,t);t>e;)n[e]=arguments[e++];return n
},je=!!U&&o(function(){pe.call(new U(1))}),Oe=function(){return pe.apply(je?de.call(Ce(this)):Ce(this),arguments)},Fe={copyWithin:function(e,t){return I.call(Ce(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(Ce(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return z.apply(Ce(this),arguments)},filter:function(e){return Me(this,K(Ce(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Ce(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ce(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Ce(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ce(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ce(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ce.apply(Ce(this),arguments)},lastIndexOf:function(e){return ae.apply(Ce(this),arguments)},map:function(e){return xe(Ce(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Ce(this),arguments)},reduceRight:function(e){return le.apply(Ce(this),arguments)},reverse:function(){for(var e,t=this,n=Ce(t).length,r=Math.floor(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t},some:function(e){return X(Ce(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ue.call(Ce(this),e)},subarray:function(e,t){var n=Ce(this),r=n.length,i=v(e,r);return new(j(n,n[ve]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:v(t,r))-i))}},Pe=function(e,t){return Me(this,de.call(Ce(this),e,t))},Ne=function(e){Ce(this);var t=Se(arguments[1],1),n=this.length,r=w(e),i=m(r.length),o=0;if(i+t>n)throw B("Wrong length!");for(;o<i;)this[t+o]=r[o++]},ze={entries:function(){return oe.call(Ce(this))},keys:function(){return ie.call(Ce(this))},values:function(){return re.call(Ce(this))}},Ie=function(e,t){return x(e)&&e[ye]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},qe=function(e,t){return Ie(e,t=_(t,!0))?d(2,e[t]):W(e,t)},Re=function(e,t,n){return!(Ie(e,t=_(t,!0))&&x(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?$(e,t,n):(e[t]=n.value,e)};_e||(R.f=qe,q.f=Re),a(a.S+a.F*!_e,"Object",{getOwnPropertyDescriptor:qe,defineProperty:Re}),o(function(){fe.call({})})&&(fe=pe=function(){return ce.call(this)});var $e=p({},Fe);p($e,ze),f($e,he,ze.values),p($e,{slice:Pe,set:Ne,constructor:function(){},toString:fe,toLocaleString:Oe}),Ae($e,"buffer","b"),Ae($e,"byteOffset","o"),Ae($e,"byteLength","l"),Ae($e,"length","e"),$($e,me,{get:function(){return this[ye]}}),t.exports=function(e,t,n,l){l=!!l;var c=e+(l?"Clamped":"")+"Array",d="get"+e,p="set"+e,h=i[c],v=h||{},_=h&&C(h),y=!h||!s.ABV,w={},k=h&&h.prototype,M=function(e,n){var r=e._d;return r.v[d](n*t+r.o,we)},E=function(e,n,r){var i=e._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[p](n*t+i.o,r,we)},A=function(e,t){$(e,t,{get:function(){return M(this,t)},set:function(e){return E(this,t,e)},enumerable:!0})};y?(h=n(function(e,n,r,i){u(e,h,c,"_d");var o,a,s,l,d=0,p=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return ye in n?Ee(h,n):Le.call(h,n);o=n,p=Se(r,t);var v=n.byteLength;if(void 0===i){if(v%t)throw B("Wrong length!");if((a=v-p)<0)throw B("Wrong length!")}else if((a=m(i)*t)+p>v)throw B("Wrong length!");s=a/t}else s=g(n),a=s*t,o=new Y(a);for(f(e,"_d",{b:o,o:p,l:a,e:s,v:new G(o)});d<s;)A(e,d++)}),k=h.prototype=S($e),f(k,"constructor",h)):o(function(){h(1)})&&o(function(){new h(-1)})&&P(function(e){new h,new h(null),new h(1.5),new h(e)},!0)||(h=n(function(e,n,r,i){u(e,h,c);var o;return x(n)?n instanceof Y||"ArrayBuffer"==(o=b(n))||"SharedArrayBuffer"==o?void 0!==i?new v(n,Se(r,t),i):void 0!==r?new v(n,Se(r,t)):new v(n):ye in n?Ee(h,n):Le.call(h,n):new v(g(n))}),Z(_!==Function.prototype?T(v).concat(T(_)):T(v),function(e){e in h||f(h,e,v[e])}),h.prototype=k,r||(k.constructor=h));var L=k[he],D=!!L&&("values"==L.name||void 0==L.name),j=ze.values;f(h,ge,!0),f(k,ye,c),f(k,be,!0),f(k,ve,h),(l?new h(1)[me]==c:me in k)||$(k,me,{get:function(){return c}}),w[c]=h,a(a.G+a.W+a.F*(h!=v),w),a(a.S,c,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o(function(){v.of.call(h,1)}),c,{from:Le,of:De}),"BYTES_PER_ELEMENT"in k||f(k,"BYTES_PER_ELEMENT",t),a(a.P,c,Fe),N(c),a(a.P+a.F*ke,c,{set:Ne}),a(a.P+a.F*!D,c,ze),r||k.toString==fe||(k.toString=fe),a(a.P+a.F*o(function(){new h(1).slice()}),c,{slice:Pe}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!o(function(){k.toLocaleString.call([1,2])})),c,{toLocaleString:Oe}),F[c]=D?L:j,r||D||f(k,he,j)}}else t.exports=function(){}},{"./_an-instance":52,"./_array-copy-within":54,"./_array-fill":55,"./_array-includes":57,"./_array-methods":58,"./_classof":63,"./_ctx":71,"./_descriptors":75,"./_export":79,"./_fails":81,"./_global":86,"./_has":87,"./_hide":88,"./_is-array-iter":94,"./_is-object":97,"./_iter-detect":102,"./_iterators":104,"./_library":105,"./_object-create":116,"./_object-dp":117,"./_object-gopd":120,"./_object-gopn":122,"./_object-gpo":124,"./_property-desc":135,"./_redefine-all":136,"./_set-species":143,"./_species-constructor":147,"./_to-absolute-index":157,"./_to-index":158,"./_to-integer":159,"./_to-length":161,"./_to-object":162,"./_to-primitive":163,"./_typed":166,"./_typed-buffer":165,"./_uid":167,"./_wks":171,"./core.get-iterator-method":172,"./es6.array.iterator":184}],165:[function(e,t,n){"use strict";function r(e,t,n){var r,i,o,a=Array(n),s=8*n-t-1,l=(1<<s)-1,c=l>>1,u=23===t?I(2,-24)-I(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for(e=z(e),e!=e||e===P?(i=e!=e?1:0,r=l):(r=q(R(e)/$),e*(o=I(2,-r))<1&&(r--,o*=2),e+=r+c>=1?u/o:u*I(2,1-c),e*o>=2&&(r++,o/=2),r+c>=l?(i=0,r=l):r+c>=1?(i=(e*o-1)*I(2,t),r+=c):(i=e*I(2,c-1)*I(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a}function i(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===u)u=1-a;else{if(u===o)return r?NaN:c?-P:P;r+=I(2,t),u-=a}return(c?-1:1)*r*I(2,u-t)}function o(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function a(e){return[255&e]}function s(e){return[255&e,e>>8&255]}function l(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function c(e){return r(e,52,8)}function u(e){return r(e,23,4)}function d(e,t,n){T(e[A],t,{get:function(){return this[n]}})}function f(e,t,n,r){var i=+n,o=S(i);if(o+t>e[B])throw F(L);var a=e[W]._b,s=o+e[H],l=a.slice(s,s+t);return r?l:l.reverse()}function p(e,t,n,r,i,o){var a=+n,s=S(a);if(s+t>e[B])throw F(L);for(var l=e[W]._b,c=s+e[H],u=r(+i),d=0;d<t;d++)l[c+d]=u[o?d:t-d-1]}var h=e("./_global"),m=e("./_descriptors"),g=e("./_library"),v=e("./_typed"),_=e("./_hide"),y=e("./_redefine-all"),b=e("./_fails"),x=e("./_an-instance"),w=e("./_to-integer"),k=e("./_to-length"),S=e("./_to-index"),C=e("./_object-gopn").f,T=e("./_object-dp").f,M=e("./_array-fill"),E=e("./_set-to-string-tag"),A="prototype",L="Wrong index!",D=h.ArrayBuffer,j=h.DataView,O=h.Math,F=h.RangeError,P=h.Infinity,N=D,z=O.abs,I=O.pow,q=O.floor,R=O.log,$=O.LN2,W=m?"_b":"buffer",B=m?"_l":"byteLength",H=m?"_o":"byteOffset";if(v.ABV){if(!b(function(){D(1)})||!b(function(){new D(-1)})||b(function(){return new D,new D(1.5),new D(NaN),"ArrayBuffer"!=D.name})){D=function(e){return x(this,D),new N(S(e))};for(var U,V=D[A]=N[A],Y=C(N),G=0;Y.length>G;)(U=Y[G++])in D||_(D,U,N[U]);g||(V.constructor=D)}var Z=new j(new D(2)),K=j[A].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||y(j[A],{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},!0)}else D=function(e){x(this,D,"ArrayBuffer");var t=S(e);this._b=M.call(Array(t),0),this[B]=t},j=function(e,t,n){x(this,j,"DataView"),x(e,D,"DataView");var r=e[B],i=w(t);if(i<0||i>r)throw F("Wrong offset!");if(n=void 0===n?r-i:k(n),i+n>r)throw F("Wrong length!");this[W]=e,this[H]=i,this[B]=n},m&&(d(D,"byteLength","_l"),d(j,"buffer","_b"),d(j,"byteLength","_l"),d(j,"byteOffset","_o")),y(j[A],{getInt8:function(e){return f(this,1,e)[0]<<24>>24},getUint8:function(e){return f(this,1,e)[0]},getInt16:function(e){var t=f(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=f(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return o(f(this,4,e,arguments[1]))},getUint32:function(e){return o(f(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return i(f(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return i(f(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){p(this,1,e,a,t)},setUint8:function(e,t){p(this,1,e,a,t)},setInt16:function(e,t){p(this,2,e,s,t,arguments[2])},setUint16:function(e,t){p(this,2,e,s,t,arguments[2])},setInt32:function(e,t){p(this,4,e,l,t,arguments[2])},setUint32:function(e,t){p(this,4,e,l,t,arguments[2])},setFloat32:function(e,t){p(this,4,e,u,t,arguments[2])},setFloat64:function(e,t){p(this,8,e,c,t,arguments[2])}});E(D,"ArrayBuffer"),E(j,"DataView"),_(j[A],v.VIEW,!0),n.ArrayBuffer=D,n.DataView=j},{"./_an-instance":52,"./_array-fill":55,"./_descriptors":75,"./_fails":81,"./_global":86,"./_hide":88,"./_library":105,"./_object-dp":117,"./_object-gopn":122,"./_redefine-all":136,"./_set-to-string-tag":144,"./_to-index":158,"./_to-integer":159,"./_to-length":161,"./_typed":166}],166:[function(e,t,n){for(var r,i=e("./_global"),o=e("./_hide"),a=e("./_uid"),s=a("typed_array"),l=a("view"),c=!(!i.ArrayBuffer||!i.DataView),u=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=i[f[d++]])?(o(r.prototype,s,!0),o(r.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{"./_global":86,"./_hide":88,"./_uid":167}],167:[function(e,t,n){var r=0,i=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+i).toString(36))}},{}],168:[function(e,t,n){var r=e("./_is-object");t.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},{"./_is-object":97}],169:[function(e,t,n){var r=e("./_global"),i=e("./_core"),o=e("./_library"),a=e("./_wks-ext"),s=e("./_object-dp").f;t.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},{"./_core":69,"./_global":86,"./_library":105,"./_object-dp":117,"./_wks-ext":170}],170:[function(e,t,n){n.f=e("./_wks")},{"./_wks":171}],171:[function(e,t,n){var r=e("./_shared")("wks"),i=e("./_uid"),o=e("./_global").Symbol,a="function"==typeof o;(t.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},{"./_global":86,"./_shared":146,"./_uid":167}],172:[function(e,t,n){var r=e("./_classof"),i=e("./_wks")("iterator"),o=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},{"./_classof":63,"./_core":69,"./_iterators":104,"./_wks":171}],173:[function(e,t,n){var r=e("./_export"),i=e("./_replacer")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return i(e)}})},{"./_export":79,"./_replacer":138}],174:[function(e,t,n){var r=e("./_export");r(r.P,"Array",{copyWithin:e("./_array-copy-within")}),e("./_add-to-unscopables")("copyWithin")},{"./_add-to-unscopables":51,"./_array-copy-within":54,"./_export":79}],175:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(4);r(r.P+r.F*!e("./_strict-method")([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":58,"./_export":79,"./_strict-method":148}],176:[function(e,t,n){var r=e("./_export");r(r.P,"Array",{fill:e("./_array-fill")}),e("./_add-to-unscopables")("fill")},{"./_add-to-unscopables":51,"./_array-fill":55,"./_export":79}],177:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(2);r(r.P+r.F*!e("./_strict-method")([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":58,"./_export":79,"./_strict-method":148}],178:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")(o)},{"./_add-to-unscopables":51,"./_array-methods":58,"./_export":79}],179:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")("find")},{"./_add-to-unscopables":51,"./_array-methods":58,"./_export":79}],180:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(0),o=e("./_strict-method")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":58,"./_export":79,"./_strict-method":148}],181:[function(e,t,n){"use strict";var r=e("./_ctx"),i=e("./_export"),o=e("./_to-object"),a=e("./_iter-call"),s=e("./_is-array-iter"),l=e("./_to-length"),c=e("./_create-property"),u=e("./core.get-iterator-method");i(i.S+i.F*!e("./_iter-detect")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,f=o(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,_=u(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==_||p==Array&&s(_))for(t=l(f.length),n=new p(t);t>v;v++)c(n,v,g?m(f[v],v):f[v]);else for(d=_.call(f),n=new p;!(i=d.next()).done;v++)c(n,v,g?a(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},{"./_create-property":70,"./_ctx":71,"./_export":79,"./_is-array-iter":94,"./_iter-call":99,"./_iter-detect":102,"./_to-length":161,"./_to-object":162,"./core.get-iterator-method":172}],182:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-includes")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!e("./_strict-method")(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},{"./_array-includes":57,"./_export":79,"./_strict-method":148}],183:[function(e,t,n){var r=e("./_export");r(r.S,"Array",{isArray:e("./_is-array")})},{"./_export":79,"./_is-array":95}],184:[function(e,t,n){"use strict";var r=e("./_add-to-unscopables"),i=e("./_iter-step"),o=e("./_iterators"),a=e("./_to-iobject");t.exports=e("./_iter-define")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},{"./_add-to-unscopables":51,"./_iter-define":101,"./_iter-step":103,"./_iterators":104,"./_to-iobject":160}],185:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-iobject"),o=[].join;r(r.P+r.F*(e("./_iobject")!=Object||!e("./_strict-method")(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},{"./_export":79,"./_iobject":93,"./_strict-method":148,"./_to-iobject":160}],186:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-iobject"),o=e("./_to-integer"),a=e("./_to-length"),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!e("./_strict-method")(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=i(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},{"./_export":79,"./_strict-method":148,"./_to-integer":159,"./_to-iobject":160,"./_to-length":161}],187:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(1);r(r.P+r.F*!e("./_strict-method")([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":58,"./_export":79,"./_strict-method":148}],188:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_create-property");r(r.S+r.F*e("./_fails")(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},{"./_create-property":70,"./_export":79,"./_fails":81}],189:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-reduce");r(r.P+r.F*!e("./_strict-method")([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},{"./_array-reduce":59,"./_export":79,"./_strict-method":148}],190:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-reduce");r(r.P+r.F*!e("./_strict-method")([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},{"./_array-reduce":59,"./_export":79,"./_strict-method":148}],191:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_html"),o=e("./_cof"),a=e("./_to-absolute-index"),s=e("./_to-length"),l=[].slice;r(r.P+r.F*e("./_fails")(function(){i&&l.call(i)}),"Array",{slice:function(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var i=a(e,n),c=a(t,n),u=s(c-i),d=Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(i+f):this[i+f];return d}})},{"./_cof":64,"./_export":79,"./_fails":81,"./_html":89,"./_to-absolute-index":157,"./_to-length":161}],192:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(3);r(r.P+r.F*!e("./_strict-method")([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":58,"./_export":79,"./_strict-method":148}],193:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_a-function"),o=e("./_to-object"),a=e("./_fails"),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!e("./_strict-method")(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},{"./_a-function":49,"./_export":79,"./_fails":81,"./_strict-method":148,"./_to-object":162}],194:[function(e,t,n){e("./_set-species")("Array")},{"./_set-species":143}],195:[function(e,t,n){var r=e("./_export");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},{"./_export":79}],196:[function(e,t,n){var r=e("./_export"),i=e("./_date-to-iso-string");r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},{"./_date-to-iso-string":72,"./_export":79}],197:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_to-primitive");r(r.P+r.F*e("./_fails")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},{"./_export":79,"./_fails":81,"./_to-object":162,"./_to-primitive":163}],198:[function(e,t,n){var r=e("./_wks")("toPrimitive"),i=Date.prototype;r in i||e("./_hide")(i,r,e("./_date-to-primitive"))},{"./_date-to-primitive":73,"./_hide":88,"./_wks":171}],199:[function(e,t,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&e("./_redefine")(r,"toString",function(){var e=o.call(this);return e===e?i.call(this):"Invalid Date"})},{"./_redefine":137}],200:[function(e,t,n){var r=e("./_export");r(r.P,"Function",{bind:e("./_bind")})},{"./_bind":62,"./_export":79}],201:[function(e,t,n){"use strict";var r=e("./_is-object"),i=e("./_object-gpo"),o=e("./_wks")("hasInstance"),a=Function.prototype;o in a||e("./_object-dp").f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},{"./_is-object":97,"./_object-dp":117,"./_object-gpo":124,"./_wks":171}],202:[function(e,t,n){var r=e("./_object-dp").f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||e("./_descriptors")&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},{"./_descriptors":75,"./_object-dp":117}],203:[function(e,t,n){"use strict";var r=e("./_collection-strong"),i=e("./_validate-collection");t.exports=e("./_collection")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},{"./_collection":68,"./_collection-strong":65,"./_validate-collection":168}],204:[function(e,t,n){var r=e("./_export"),i=e("./_math-log1p"),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},{"./_export":79,"./_math-log1p":108}],205:[function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var i=e("./_export"),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},{"./_export":79}],206:[function(e,t,n){var r=e("./_export"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},{"./_export":79}],207:[function(e,t,n){var r=e("./_export"),i=e("./_math-sign");r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},{"./_export":79,"./_math-sign":110}],208:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},{"./_export":79}],209:[function(e,t,n){var r=e("./_export"),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},{"./_export":79}],210:[function(e,t,n){var r=e("./_export"),i=e("./_math-expm1");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},{"./_export":79,"./_math-expm1":106}],211:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{fround:e("./_math-fround")})},{"./_export":79,"./_math-fround":107}],212:[function(e,t,n){var r=e("./_export"),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,s=arguments.length,l=0;a<s;)n=i(arguments[a++]),l<n?(r=l/n,o=o*r*r+1,l=n):n>0?(r=n/l,o+=r*r):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},{"./_export":79}],213:[function(e,t,n){var r=e("./_export"),i=Math.imul;r(r.S+r.F*e("./_fails")(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},{"./_export":79,"./_fails":81}],214:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},{"./_export":79}],215:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{log1p:e("./_math-log1p")})},{"./_export":79,"./_math-log1p":108}],216:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},{"./_export":79}],217:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{sign:e("./_math-sign")})},{"./_export":79,"./_math-sign":110}],218:[function(e,t,n){var r=e("./_export"),i=e("./_math-expm1"),o=Math.exp;r(r.S+r.F*e("./_fails")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},{"./_export":79,"./_fails":81,"./_math-expm1":106}],219:[function(e,t,n){var r=e("./_export"),i=e("./_math-expm1"),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},{"./_export":79,"./_math-expm1":106}],220:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},{"./_export":79}],221:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_has"),o=e("./_cof"),a=e("./_inherit-if-required"),s=e("./_to-primitive"),l=e("./_fails"),c=e("./_object-gopn").f,u=e("./_object-gopd").f,d=e("./_object-dp").f,f=e("./_string-trim").trim,p=r.Number,h=p,m=p.prototype,g="Number"==o(e("./_object-create")(m)),v="trim"in String.prototype,_=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=v?t.trim():f(t,3);var n,r,i,o=t.charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,l=t.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>i)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(g?l(function(){m.valueOf.call(n)}):"Number"!=o(n))?a(new h(_(t)),n,p):_(t)};for(var y,b=e("./_descriptors")?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)i(h,y=b[x])&&!i(p,y)&&d(p,y,u(h,y));p.prototype=m,m.constructor=p,e("./_redefine")(r,"Number",p)}},{"./_cof":64,"./_descriptors":75,"./_fails":81,"./_global":86,"./_has":87,"./_inherit-if-required":91,"./_object-create":116,"./_object-dp":117,"./_object-gopd":120,"./_object-gopn":122,"./_redefine":137,"./_string-trim":154,"./_to-primitive":163}],222:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./_export":79}],223:[function(e,t,n){var r=e("./_export"),i=e("./_global").isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},{"./_export":79,"./_global":86}],224:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{isInteger:e("./_is-integer")})},{"./_export":79,"./_is-integer":96}],225:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{isNaN:function(e){return e!=e}})},{"./_export":79}],226:[function(e,t,n){var r=e("./_export"),i=e("./_is-integer"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},{"./_export":79,"./_is-integer":96}],227:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./_export":79}],228:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./_export":79}],229:[function(e,t,n){var r=e("./_export"),i=e("./_parse-float");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},{"./_export":79,"./_parse-float":131}],230:[function(e,t,n){var r=e("./_export"),i=e("./_parse-int");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},{"./_export":79,"./_parse-int":132}],231:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-integer"),o=e("./_a-number-value"),a=e("./_string-repeat"),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=l(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=l(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},h=function(e,t,n){return 0===t?n:t%2==1?h(e,t-1,n*e):h(e*e,t/2,n)},m=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e("./_fails")(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,l=o(this,u),c=i(e),g="",v="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(g="-",l=-l),l>1e-21)if(t=m(l*h(2,69,1))-69,n=t<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(h(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),v=p()}else d(0,n),d(1<<-t,0),v=p()+a.call("0",c);return c>0?(s=v.length,v=g+(s<=c?"0."+a.call("0",c-s)+v:v.slice(0,s-c)+"."+v.slice(s-c))):v=g+v,v}})},{"./_a-number-value":50,"./_export":79,"./_fails":81,"./_string-repeat":153,"./_to-integer":159}],232:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_fails"),o=e("./_a-number-value"),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},{"./_a-number-value":50,"./_export":79,"./_fails":81}],233:[function(e,t,n){var r=e("./_export");r(r.S+r.F,"Object",{assign:e("./_object-assign")})},{"./_export":79,"./_object-assign":115}],234:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{create:e("./_object-create")})},{"./_export":79,"./_object-create":116}],235:[function(e,t,n){var r=e("./_export");r(r.S+r.F*!e("./_descriptors"),"Object",{defineProperties:e("./_object-dps")})},{"./_descriptors":75,"./_export":79,"./_object-dps":118}],236:[function(e,t,n){var r=e("./_export");r(r.S+r.F*!e("./_descriptors"),"Object",{defineProperty:e("./_object-dp").f})},{"./_descriptors":75,"./_export":79,"./_object-dp":117}],237:[function(e,t,n){var r=e("./_is-object"),i=e("./_meta").onFreeze;e("./_object-sap")("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},{"./_is-object":97,"./_meta":111,"./_object-sap":128}],238:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_object-gopd").f;e("./_object-sap")("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},{"./_object-gopd":120,"./_object-sap":128,"./_to-iobject":160}],239:[function(e,t,n){e("./_object-sap")("getOwnPropertyNames",function(){return e("./_object-gopn-ext").f})},{"./_object-gopn-ext":121,"./_object-sap":128}],240:[function(e,t,n){var r=e("./_to-object"),i=e("./_object-gpo");e("./_object-sap")("getPrototypeOf",function(){return function(e){return i(r(e))}})},{"./_object-gpo":124,"./_object-sap":128,"./_to-object":162}],241:[function(e,t,n){var r=e("./_is-object");e("./_object-sap")("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},{"./_is-object":97,"./_object-sap":128}],242:[function(e,t,n){var r=e("./_is-object");e("./_object-sap")("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},{"./_is-object":97,"./_object-sap":128}],243:[function(e,t,n){var r=e("./_is-object");e("./_object-sap")("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},{"./_is-object":97,"./_object-sap":128}],244:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{is:e("./_same-value")})},{"./_export":79,"./_same-value":139}],245:[function(e,t,n){var r=e("./_to-object"),i=e("./_object-keys");e("./_object-sap")("keys",function(){return function(e){return i(r(e))}})},{"./_object-keys":126,"./_object-sap":128,"./_to-object":162}],246:[function(e,t,n){var r=e("./_is-object"),i=e("./_meta").onFreeze;e("./_object-sap")("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},{"./_is-object":97,"./_meta":111,"./_object-sap":128}],247:[function(e,t,n){var r=e("./_is-object"),i=e("./_meta").onFreeze;e("./_object-sap")("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},{"./_is-object":97,"./_meta":111,"./_object-sap":128}],248:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{setPrototypeOf:e("./_set-proto").set})},{"./_export":79,"./_set-proto":142}],249:[function(e,t,n){"use strict";var r=e("./_classof"),i={};i[e("./_wks")("toStringTag")]="z",i+""!="[object z]"&&e("./_redefine")(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},{"./_classof":63,"./_redefine":137,"./_wks":171}],250:[function(e,t,n){var r=e("./_export"),i=e("./_parse-float");r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},{"./_export":79,"./_parse-float":131}],251:[function(e,t,n){var r=e("./_export"),i=e("./_parse-int");r(r.G+r.F*(parseInt!=i),{parseInt:i})},{"./_export":79,"./_parse-int":132}],252:[function(e,t,n){"use strict"
;var r,i,o,a,s=e("./_library"),l=e("./_global"),c=e("./_ctx"),u=e("./_classof"),d=e("./_export"),f=e("./_is-object"),p=e("./_a-function"),h=e("./_an-instance"),m=e("./_for-of"),g=e("./_species-constructor"),v=e("./_task").set,_=e("./_microtask")(),y=e("./_new-promise-capability"),b=e("./_perform"),x=e("./_promise-resolve"),w=l.TypeError,k=l.process,S=l.Promise,C="process"==u(k),T=function(){},M=i=y.f,E=!!function(){try{var t=S.resolve(1),n=(t.constructor={})[e("./_wks")("species")]=function(e){e(T,T)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof n}catch(e){}}(),A=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;_(function(){for(var r=e._v,i=1==e._s,o=0;n.length>o;)!function(t){var n,o,a=i?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{a?(i||(2==e._h&&O(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?l(w("Promise-chain cycle")):(o=A(n))?o.call(n,s,l):s(n)):l(r)}catch(e){l(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&D(e)})}},D=function(e){v.call(l,function(){var t,n,r,i=e._v,o=j(e);if(o&&(t=b(function(){C?k.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=C||j(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},j=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!j(t.promise))return!1;return!0},O=function(e){v.call(l,function(){var t;C?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},P=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw w("Promise can't be resolved itself");(t=A(e))?_(function(){var r={_w:n,_d:!1};try{t.call(e,c(P,r,1),c(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,L(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};E||(S=function(e){h(this,S,"Promise","_h"),p(e),r.call(this);try{e(c(P,this,1),c(F,this,1))}catch(e){F.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("./_redefine-all")(S.prototype,{then:function(e,t){var n=M(g(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(P,e,1),this.reject=c(F,e,1)},y.f=M=function(e){return e===S||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!E,{Promise:S}),e("./_set-to-string-tag")(S,"Promise"),e("./_set-species")("Promise"),a=e("./_core").Promise,d(d.S+d.F*!E,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!E),"Promise",{resolve:function(e){return x(s&&this===a?S:this,e)}}),d(d.S+d.F*!(E&&e("./_iter-detect")(function(e){S.all(e).catch(T)})),"Promise",{all:function(e){var t=this,n=M(t),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,a=1;m(e,!1,function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,i=b(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},{"./_a-function":49,"./_an-instance":52,"./_classof":63,"./_core":69,"./_ctx":71,"./_export":79,"./_for-of":85,"./_global":86,"./_is-object":97,"./_iter-detect":102,"./_library":105,"./_microtask":113,"./_new-promise-capability":114,"./_perform":133,"./_promise-resolve":134,"./_redefine-all":136,"./_set-species":143,"./_set-to-string-tag":144,"./_species-constructor":147,"./_task":156,"./_wks":171}],253:[function(e,t,n){var r=e("./_export"),i=e("./_a-function"),o=e("./_an-object"),a=(e("./_global").Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!e("./_fails")(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=i(e),l=o(n);return a?a(r,t,l):s.call(r,t,l)}})},{"./_a-function":49,"./_an-object":53,"./_export":79,"./_fails":81,"./_global":86}],254:[function(e,t,n){var r=e("./_export"),i=e("./_object-create"),o=e("./_a-function"),a=e("./_an-object"),s=e("./_is-object"),l=e("./_fails"),c=e("./_bind"),u=(e("./_global").Reflect||{}).construct,d=l(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),f=!l(function(){u(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(f&&!d)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var l=n.prototype,p=i(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},{"./_a-function":49,"./_an-object":53,"./_bind":62,"./_export":79,"./_fails":81,"./_global":86,"./_is-object":97,"./_object-create":116}],255:[function(e,t,n){var r=e("./_object-dp"),i=e("./_export"),o=e("./_an-object"),a=e("./_to-primitive");i(i.S+i.F*e("./_fails")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},{"./_an-object":53,"./_export":79,"./_fails":81,"./_object-dp":117,"./_to-primitive":163}],256:[function(e,t,n){var r=e("./_export"),i=e("./_object-gopd").f,o=e("./_an-object");r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},{"./_an-object":53,"./_export":79,"./_object-gopd":120}],257:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_an-object"),o=function(e){this._t=i(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};e("./_iter-create")(o,"Object",function(){var e,t=this,n=t._k;do{if(t._i>=n.length)return{value:void 0,done:!0}}while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new o(e)}})},{"./_an-object":53,"./_export":79,"./_iter-create":100}],258:[function(e,t,n){var r=e("./_object-gopd"),i=e("./_export"),o=e("./_an-object");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},{"./_an-object":53,"./_export":79,"./_object-gopd":120}],259:[function(e,t,n){var r=e("./_export"),i=e("./_object-gpo"),o=e("./_an-object");r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},{"./_an-object":53,"./_export":79,"./_object-gpo":124}],260:[function(e,t,n){function r(e,t){var n,s,u=arguments.length<3?e:arguments[2];return c(e)===u?e[t]:(n=i.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:l(s=o(e))?r(s,t,u):void 0}var i=e("./_object-gopd"),o=e("./_object-gpo"),a=e("./_has"),s=e("./_export"),l=e("./_is-object"),c=e("./_an-object");s(s.S,"Reflect",{get:r})},{"./_an-object":53,"./_export":79,"./_has":87,"./_is-object":97,"./_object-gopd":120,"./_object-gpo":124}],261:[function(e,t,n){var r=e("./_export");r(r.S,"Reflect",{has:function(e,t){return t in e}})},{"./_export":79}],262:[function(e,t,n){var r=e("./_export"),i=e("./_an-object"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},{"./_an-object":53,"./_export":79}],263:[function(e,t,n){var r=e("./_export");r(r.S,"Reflect",{ownKeys:e("./_own-keys")})},{"./_export":79,"./_own-keys":130}],264:[function(e,t,n){var r=e("./_export"),i=e("./_an-object"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},{"./_an-object":53,"./_export":79}],265:[function(e,t,n){var r=e("./_export"),i=e("./_set-proto");i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},{"./_export":79,"./_set-proto":142}],266:[function(e,t,n){function r(e,t,n){var l,f,p=arguments.length<4?e:arguments[3],h=o.f(u(e),t);if(!h){if(d(f=a(e)))return r(f,t,n,p);h=c(0)}return s(h,"value")?!(!1===h.writable||!d(p))&&(l=o.f(p,t)||c(0),l.value=n,i.f(p,t,l),!0):void 0!==h.set&&(h.set.call(p,n),!0)}var i=e("./_object-dp"),o=e("./_object-gopd"),a=e("./_object-gpo"),s=e("./_has"),l=e("./_export"),c=e("./_property-desc"),u=e("./_an-object"),d=e("./_is-object");l(l.S,"Reflect",{set:r})},{"./_an-object":53,"./_export":79,"./_has":87,"./_is-object":97,"./_object-dp":117,"./_object-gopd":120,"./_object-gpo":124,"./_property-desc":135}],267:[function(e,t,n){var r=e("./_global"),i=e("./_inherit-if-required"),o=e("./_object-dp").f,a=e("./_object-gopn").f,s=e("./_is-regexp"),l=e("./_flags"),c=r.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,h=new c(f)!==f;if(e("./_descriptors")&&(!h||e("./_fails")(function(){return p[e("./_wks")("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(e,t){var n=this instanceof c,r=s(e),o=void 0===t;return!n&&r&&e.constructor===c&&o?e:i(h?new u(r&&!o?e.source:e,t):u((r=e instanceof c)?e.source:e,r&&o?l.call(e):t),n?this:d,c)};for(var m=a(u),g=0;m.length>g;)!function(e){e in c||o(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}(m[g++]);d.constructor=c,c.prototype=d,e("./_redefine")(r,"RegExp",c)}e("./_set-species")("RegExp")},{"./_descriptors":75,"./_fails":81,"./_flags":83,"./_global":86,"./_inherit-if-required":91,"./_is-regexp":98,"./_object-dp":117,"./_object-gopn":122,"./_redefine":137,"./_set-species":143,"./_wks":171}],268:[function(e,t,n){e("./_descriptors")&&"g"!=/./g.flags&&e("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:e("./_flags")})},{"./_descriptors":75,"./_flags":83,"./_object-dp":117}],269:[function(e,t,n){e("./_fix-re-wks")("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},n]})},{"./_fix-re-wks":82}],270:[function(e,t,n){e("./_fix-re-wks")("replace",2,function(e,t,n){return[function(r,i){"use strict";var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},n]})},{"./_fix-re-wks":82}],271:[function(e,t,n){e("./_fix-re-wks")("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},n]})},{"./_fix-re-wks":82}],272:[function(e,t,n){e("./_fix-re-wks")("split",2,function(t,n,r){"use strict";var i=e("./_is-regexp"),o=r,a=[].push,s="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[s]||2!="ab".split(/(?:ab)*/)[s]||4!=".".split(/(.?)(.?)/)[s]||".".split(/()()/)[s]>1||"".split(/.?/)[s]){var l=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!i(e))return o.call(n,e,t);var r,c,u,d,f,p=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,g=void 0===t?4294967295:t>>>0,v=new RegExp(e.source,h+"g");for(l||(r=new RegExp("^"+v.source+"$(?!\\s)",h));(c=v.exec(n))&&!((u=c.index+c[0][s])>m&&(p.push(n.slice(m,c.index)),!l&&c[s]>1&&c[0].replace(r,function(){for(f=1;f<arguments[s]-2;f++)void 0===arguments[f]&&(c[f]=void 0)}),c[s]>1&&c.index<n[s]&&a.apply(p,c.slice(1)),d=c[0][s],m=u,p[s]>=g));)v.lastIndex===c.index&&v.lastIndex++;return m===n[s]?!d&&v.test("")||p.push(""):p.push(n.slice(m)),p[s]>g?p.slice(0,g):p}}else"0".split(void 0,0)[s]&&(r=function(e,t){return void 0===e&&0===t?[]:o.call(this,e,t)});return[function(e,i){var o=t(this),a=void 0==e?void 0:e[n];return void 0!==a?a.call(e,o,i):r.call(String(o),e,i)},r]})},{"./_fix-re-wks":82,"./_is-regexp":98}],273:[function(e,t,n){"use strict";e("./es6.regexp.flags");var r=e("./_an-object"),i=e("./_flags"),o=e("./_descriptors"),a=/./.toString,s=function(t){e("./_redefine")(RegExp.prototype,"toString",t,!0)};e("./_fails")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},{"./_an-object":53,"./_descriptors":75,"./_fails":81,"./_flags":83,"./_redefine":137,"./es6.regexp.flags":268}],274:[function(e,t,n){"use strict";var r=e("./_collection-strong"),i=e("./_validate-collection");t.exports=e("./_collection")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},{"./_collection":68,"./_collection-strong":65,"./_validate-collection":168}],275:[function(e,t,n){"use strict";e("./_string-html")("anchor",function(e){return function(t){return e(this,"a","name",t)}})},{"./_string-html":151}],276:[function(e,t,n){"use strict";e("./_string-html")("big",function(e){return function(){return e(this,"big","","")}})},{"./_string-html":151}],277:[function(e,t,n){"use strict";e("./_string-html")("blink",function(e){return function(){return e(this,"blink","","")}})},{"./_string-html":151}],278:[function(e,t,n){"use strict";e("./_string-html")("bold",function(e){return function(){return e(this,"b","","")}})},{"./_string-html":151}],279:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-at")(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},{"./_export":79,"./_string-at":149}],280:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-length"),o=e("./_string-context"),a="".endsWith;r(r.P+r.F*e("./_fails-is-regexp")("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},{"./_export":79,"./_fails-is-regexp":80,"./_string-context":150,"./_to-length":161}],281:[function(e,t,n){"use strict";e("./_string-html")("fixed",function(e){return function(){return e(this,"tt","","")}})},{"./_string-html":151}],282:[function(e,t,n){"use strict";e("./_string-html")("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},{"./_string-html":151}],283:[function(e,t,n){"use strict";e("./_string-html")("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},{"./_string-html":151}],284:[function(e,t,n){var r=e("./_export"),i=e("./_to-absolute-index"),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},{"./_export":79,"./_to-absolute-index":157}],285:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-context");r(r.P+r.F*e("./_fails-is-regexp")("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},{"./_export":79,"./_fails-is-regexp":80,"./_string-context":150}],286:[function(e,t,n){"use strict";e("./_string-html")("italics",function(e){return function(){return e(this,"i","","")}})},{"./_string-html":151}],287:[function(e,t,n){"use strict";var r=e("./_string-at")(!0);e("./_iter-define")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":101,"./_string-at":149}],288:[function(e,t,n){"use strict";e("./_string-html")("link",function(e){return function(t){return e(this,"a","href",t)}})},{"./_string-html":151}],289:[function(e,t,n){var r=e("./_export"),i=e("./_to-iobject"),o=e("./_to-length");r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},{"./_export":79,"./_to-iobject":160,"./_to-length":161}],290:[function(e,t,n){var r=e("./_export");r(r.P,"String",{repeat:e("./_string-repeat")})},{"./_export":79,"./_string-repeat":153}],291:[function(e,t,n){"use strict";e("./_string-html")("small",function(e){return function(){return e(this,"small","","")}})},{"./_string-html":151}],292:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-length"),o=e("./_string-context"),a="".startsWith;r(r.P+r.F*e("./_fails-is-regexp")("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},{"./_export":79,"./_fails-is-regexp":80,"./_string-context":150,"./_to-length":161}],293:[function(e,t,n){"use strict";e("./_string-html")("strike",function(e){return function(){return e(this,"strike","","")}})},{"./_string-html":151}],294:[function(e,t,n){"use strict";e("./_string-html")("sub",function(e){return function(){return e(this,"sub","","")}})},{"./_string-html":151}],295:[function(e,t,n){"use strict";e("./_string-html")("sup",function(e){return function(){return e(this,"sup","","")}})},{"./_string-html":151}],296:[function(e,t,n){"use strict";e("./_string-trim")("trim",function(e){return function(){return e(this,3)}})},{"./_string-trim":154}],297:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_has"),o=e("./_descriptors"),a=e("./_export"),s=e("./_redefine"),l=e("./_meta").KEY,c=e("./_fails"),u=e("./_shared"),d=e("./_set-to-string-tag"),f=e("./_uid"),p=e("./_wks"),h=e("./_wks-ext"),m=e("./_wks-define"),g=e("./_enum-keys"),v=e("./_is-array"),_=e("./_an-object"),y=e("./_to-iobject"),b=e("./_to-primitive"),x=e("./_property-desc"),w=e("./_object-create"),k=e("./_object-gopn-ext"),S=e("./_object-gopd"),C=e("./_object-dp"),T=e("./_object-keys"),M=S.f,E=C.f,A=k.f,L=r.Symbol,D=r.JSON,j=D&&D.stringify,O=p("_hidden"),F=p("toPrimitive"),P={}.propertyIsEnumerable,N=u("symbol-registry"),z=u("symbols"),I=u("op-symbols"),q=Object.prototype,R="function"==typeof L,$=r.QObject,W=!$||!$.prototype||!$.prototype.findChild,B=o&&c(function(){return 7!=w(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=M(q,t);r&&delete q[t],E(e,t,n),r&&e!==q&&E(q,t,r)}:E,H=function(e){var t=z[e]=w(L.prototype);return t._k=e,t},U=R&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},V=function(e,t,n){return e===q&&V(I,t,n),_(e),t=b(t,!0),_(n),i(z,t)?(n.enumerable?(i(e,O)&&e[O][t]&&(e[O][t]=!1),n=w(n,{enumerable:x(0,!1)})):(i(e,O)||E(e,O,x(1,{})),e[O][t]=!0),B(e,t,n)):E(e,t,n)},Y=function(e,t){_(e);for(var n,r=g(t=y(t)),i=0,o=r.length;o>i;)V(e,n=r[i++],t[n]);return e},G=function(e,t){return void 0===t?w(e):Y(w(e),t)},Z=function(e){var t=P.call(this,e=b(e,!0));return!(this===q&&i(z,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,O)&&this[O][e])||t)},K=function(e,t){if(e=y(e),t=b(t,!0),e!==q||!i(z,t)||i(I,t)){var n=M(e,t);return!n||!i(z,t)||i(e,O)&&e[O][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=A(y(e)),r=[],o=0;n.length>o;)i(z,t=n[o++])||t==O||t==l||r.push(t);return r},J=function(e){for(var t,n=e===q,r=A(n?I:y(e)),o=[],a=0;r.length>a;)!i(z,t=r[a++])||n&&!i(q,t)||o.push(z[t]);return o};R||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(I,n),i(this,O)&&i(this[O],e)&&(this[O][e]=!1),B(this,e,x(1,n))};return o&&W&&B(q,e,{configurable:!0,set:t}),H(e)},s(L.prototype,"toString",function(){return this._k}),S.f=K,C.f=V,e("./_object-gopn").f=k.f=X,e("./_object-pie").f=Z,e("./_object-gops").f=J,o&&!e("./_library")&&s(q,"propertyIsEnumerable",Z,!0),h.f=function(e){return H(p(e))}),a(a.G+a.W+a.F*!R,{Symbol:L});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=T(p.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!R,"Symbol",{for:function(e){return i(N,e+="")?N[e]:N[e]=L(e)},keyFor:function(e){if(!U(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!R,"Object",{create:G,defineProperty:V,defineProperties:Y,getOwnPropertyDescriptor:K,getOwnPropertyNames:X,getOwnPropertySymbols:J}),D&&a(a.S+a.F*(!R||c(function(){var e=L();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!U(e)){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return t=r[1],"function"==typeof t&&(n=t),!n&&v(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!U(t))return t}),r[1]=t,j.apply(D,r)}}}),L.prototype[F]||e("./_hide")(L.prototype,F,L.prototype.valueOf),d(L,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},{"./_an-object":53,"./_descriptors":75,"./_enum-keys":78,"./_export":79,"./_fails":81,"./_global":86,"./_has":87,"./_hide":88,"./_is-array":95,"./_library":105,"./_meta":111,"./_object-create":116,"./_object-dp":117,"./_object-gopd":120,"./_object-gopn":122,"./_object-gopn-ext":121,"./_object-gops":123,"./_object-keys":126,"./_object-pie":127,"./_property-desc":135,"./_redefine":137,"./_set-to-string-tag":144,"./_shared":146,"./_to-iobject":160,"./_to-primitive":163,"./_uid":167,"./_wks":171,"./_wks-define":169,"./_wks-ext":170}],298:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_typed"),o=e("./_typed-buffer"),a=e("./_an-object"),s=e("./_to-absolute-index"),l=e("./_to-length"),c=e("./_is-object"),u=e("./_global").ArrayBuffer,d=e("./_species-constructor"),f=o.ArrayBuffer,p=o.DataView,h=i.ABV&&u.isView,m=f.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(u!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||c(e)&&g in e}}),r(r.P+r.U+r.F*e("./_fails")(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(d(this,f))(l(i-r)),c=new p(this),u=new p(o),h=0;r<i;)u.setUint8(h++,c.getUint8(r++));return o}}),e("./_set-species")("ArrayBuffer")},{"./_an-object":53,"./_export":79,"./_fails":81,"./_global":86,"./_is-object":97,"./_set-species":143,"./_species-constructor":147,"./_to-absolute-index":157,"./_to-length":161,"./_typed":166,"./_typed-buffer":165}],299:[function(e,t,n){var r=e("./_export");r(r.G+r.W+r.F*!e("./_typed").ABV,{DataView:e("./_typed-buffer").DataView})},{"./_export":79,"./_typed":166,"./_typed-buffer":165}],300:[function(e,t,n){e("./_typed-array")("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],301:[function(e,t,n){e("./_typed-array")("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],302:[function(e,t,n){e("./_typed-array")("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],303:[function(e,t,n){e("./_typed-array")("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],304:[function(e,t,n){e("./_typed-array")("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],305:[function(e,t,n){e("./_typed-array")("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],306:[function(e,t,n){e("./_typed-array")("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],307:[function(e,t,n){e("./_typed-array")("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":164}],308:[function(e,t,n){e("./_typed-array")("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},{"./_typed-array":164}],309:[function(e,t,n){"use strict";var r,i=e("./_array-methods")(0),o=e("./_redefine"),a=e("./_meta"),s=e("./_object-assign"),l=e("./_collection-weak"),c=e("./_is-object"),u=e("./_fails"),d=e("./_validate-collection"),f=a.getWeak,p=Object.isExtensible,h=l.ufstore,m={},g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(c(e)){var t=f(e);return!0===t?h(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},_=t.exports=e("./_collection")("WeakMap",g,v,l,!0,!0);u(function(){return 7!=(new _).set((Object.freeze||Object)(m),7).get(m)})&&(r=l.getConstructor(g,"WeakMap"),s(r.prototype,v),a.NEED=!0,i(["delete","has","get","set"],function(e){var t=_.prototype,n=t[e];o(t,e,function(t,i){if(c(t)&&!p(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},{"./_array-methods":58,"./_collection":68,"./_collection-weak":67,"./_fails":81,"./_is-object":97,"./_meta":111,"./_object-assign":115,"./_redefine":137,"./_validate-collection":168}],310:[function(e,t,n){"use strict";var r=e("./_collection-weak"),i=e("./_validate-collection");e("./_collection")("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},{"./_collection":68,"./_collection-weak":67,"./_validate-collection":168}],311:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_flatten-into-array"),o=e("./_to-object"),a=e("./_to-length"),s=e("./_a-function"),l=e("./_array-species-create");r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return s(e),t=a(r.length),n=l(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),e("./_add-to-unscopables")("flatMap")},{"./_a-function":49,"./_add-to-unscopables":51,"./_array-species-create":61,"./_export":79,"./_flatten-into-array":84,"./_to-length":161,"./_to-object":162}],312:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_flatten-into-array"),o=e("./_to-object"),a=e("./_to-length"),s=e("./_to-integer"),l=e("./_array-species-create");r(r.P,"Array",{flatten:function(){var e=arguments[0],t=o(this),n=a(t.length),r=l(t,0);return i(r,t,t,n,0,void 0===e?1:s(e)),r}}),e("./_add-to-unscopables")("flatten")},{"./_add-to-unscopables":51,"./_array-species-create":61,"./_export":79,"./_flatten-into-array":84,"./_to-integer":159,"./_to-length":161,"./_to-object":162}],313:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-includes")(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")("includes")},{"./_add-to-unscopables":51,"./_array-includes":57,"./_export":79}],314:[function(e,t,n){var r=e("./_export"),i=e("./_microtask")(),o=e("./_global").process,a="process"==e("./_cof")(o);r(r.G,{asap:function(e){var t=a&&o.domain;i(t?t.bind(e):e)}})},{"./_cof":64,"./_export":79,"./_global":86,"./_microtask":113}],315:[function(e,t,n){var r=e("./_export"),i=e("./_cof");r(r.S,"Error",{isError:function(e){return"Error"===i(e)}})},{"./_cof":64,"./_export":79}],316:[function(e,t,n){var r=e("./_export");r(r.G,{global:e("./_global")})},{"./_export":79,"./_global":86}],317:[function(e,t,n){e("./_set-collection-from")("Map")},{"./_set-collection-from":140}],318:[function(e,t,n){e("./_set-collection-of")("Map")},{"./_set-collection-of":141}],319:[function(e,t,n){var r=e("./_export");r(r.P+r.R,"Map",{toJSON:e("./_collection-to-json")("Map")})},{"./_collection-to-json":66,"./_export":79}],320:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},{"./_export":79}],321:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},{"./_export":79}],322:[function(e,t,n){var r=e("./_export"),i=180/Math.PI;r(r.S,"Math",{degrees:function(e){return e*i}})},{"./_export":79}],323:[function(e,t,n){var r=e("./_export"),i=e("./_math-scale"),o=e("./_math-fround");r(r.S,"Math",{fscale:function(e,t,n,r,a){return o(i(e,t,n,r,a))}})},{"./_export":79,"./_math-fround":107,"./_math-scale":109}],324:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{iaddh:function(e,t,n,r){var i=e>>>0,o=t>>>0,a=n>>>0;return o+(r>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}})},{"./_export":79}],325:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{imulh:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r,a=n>>16,s=r>>16,l=(a*o>>>0)+(i*o>>>16);return a*s+(l>>16)+((i*s>>>0)+(65535&l)>>16)}})},{"./_export":79}],326:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{isubh:function(e,t,n,r){var i=e>>>0,o=t>>>0,a=n>>>0;return o-(r>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},{"./_export":79}],327:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},{"./_export":79}],328:[function(e,t,n){var r=e("./_export"),i=Math.PI/180;r(r.S,"Math",{radians:function(e){return e*i}})},{"./_export":79}],329:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{scale:e("./_math-scale")})},{"./_export":79,"./_math-scale":109}],330:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},{"./_export":79}],331:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{umulh:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r,a=n>>>16,s=r>>>16,l=(a*o>>>0)+(i*o>>>16);return a*s+(l>>>16)+((i*s>>>0)+(65535&l)>>>16)}})},{"./_export":79}],332:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_a-function"),a=e("./_object-dp");e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__defineGetter__:function(e,t){a.f(i(this),e,{get:o(t),enumerable:!0,configurable:!0})}})},{"./_a-function":49,"./_descriptors":75,"./_export":79,"./_object-dp":117,"./_object-forced-pam":119,"./_to-object":162}],333:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_a-function"),a=e("./_object-dp");e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__defineSetter__:function(e,t){a.f(i(this),e,{set:o(t),enumerable:!0,configurable:!0})}})},{"./_a-function":49,"./_descriptors":75,"./_export":79,"./_object-dp":117,"./_object-forced-pam":119,"./_to-object":162}],334:[function(e,t,n){var r=e("./_export"),i=e("./_object-to-array")(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},{"./_export":79,"./_object-to-array":129}],335:[function(e,t,n){var r=e("./_export"),i=e("./_own-keys"),o=e("./_to-iobject"),a=e("./_object-gopd"),s=e("./_create-property");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),l=a.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=l(r,t=c[d++]))&&s(u,t,n);return u}})},{"./_create-property":70,"./_export":79,"./_object-gopd":120,"./_own-keys":130,"./_to-iobject":160}],336:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_to-primitive"),a=e("./_object-gpo"),s=e("./_object-gopd").f;e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__lookupGetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=s(n,r))return t.get}while(n=a(n))}})},{"./_descriptors":75,"./_export":79,"./_object-forced-pam":119,"./_object-gopd":120,"./_object-gpo":124,"./_to-object":162,"./_to-primitive":163}],337:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_to-primitive"),a=e("./_object-gpo"),s=e("./_object-gopd").f;e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__lookupSetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=s(n,r))return t.set}while(n=a(n))}})},{"./_descriptors":75,"./_export":79,"./_object-forced-pam":119,"./_object-gopd":120,"./_object-gpo":124,"./_to-object":162,"./_to-primitive":163}],338:[function(e,t,n){var r=e("./_export"),i=e("./_object-to-array")(!1);r(r.S,"Object",{values:function(e){return i(e)}})},{"./_export":79,"./_object-to-array":129}],339:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_global"),o=e("./_core"),a=e("./_microtask")(),s=e("./_wks")("observable"),l=e("./_a-function"),c=e("./_an-object"),u=e("./_an-instance"),d=e("./_redefine-all"),f=e("./_hide"),p=e("./_for-of"),h=p.RETURN,m=function(e){return null==e?void 0:l(e)},g=function(e){var t=e._c;t&&(e._c=void 0,t())},v=function(e){return void 0===e._o},_=function(e){v(e)||(e._o=void 0,g(e))},y=function(e,t){c(e),this._c=void 0,this._o=e,e=new b(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:l(n),
this._c=n)}catch(t){return void e.error(t)}v(this)&&g(this)};y.prototype=d({},{unsubscribe:function(){_(this)}});var b=function(e){this._s=e};b.prototype=d({},{next:function(e){var t=this._s;if(!v(t)){var n=t._o;try{var r=m(n.next);if(r)return r.call(n,e)}catch(e){try{_(t)}finally{throw e}}}},error:function(e){var t=this._s;if(v(t))throw e;var n=t._o;t._o=void 0;try{var r=m(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{g(t)}finally{throw e}}return g(t),e},complete:function(e){var t=this._s;if(!v(t)){var n=t._o;t._o=void 0;try{var r=m(n.complete);e=r?r.call(n,e):void 0}catch(e){try{g(t)}finally{throw e}}return g(t),e}}});var x=function(e){u(this,x,"Observable","_f")._f=l(e)};d(x.prototype,{subscribe:function(e){return new y(e,this._f)},forEach:function(e){var t=this;return new(o.Promise||i.Promise)(function(n,r){l(e);var i=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:n})})}}),d(x,{from:function(e){var t="function"==typeof this?this:x,n=m(c(e)[s]);if(n){var r=c(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=Array(t);e<t;)n[e]=arguments[e++];return new("function"==typeof this?this:x)(function(e){var t=!1;return a(function(){if(!t){for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}}),function(){t=!0}})}}),f(x.prototype,s,function(){return this}),r(r.G,{Observable:x}),e("./_set-species")("Observable")},{"./_a-function":49,"./_an-instance":52,"./_an-object":53,"./_core":69,"./_export":79,"./_for-of":85,"./_global":86,"./_hide":88,"./_microtask":113,"./_redefine-all":136,"./_set-species":143,"./_wks":171}],340:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_core"),o=e("./_global"),a=e("./_species-constructor"),s=e("./_promise-resolve");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},{"./_core":69,"./_export":79,"./_global":86,"./_promise-resolve":134,"./_species-constructor":147}],341:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_new-promise-capability"),o=e("./_perform");r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},{"./_export":79,"./_new-promise-capability":114,"./_perform":133}],342:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,i(n),o(r))}})},{"./_an-object":53,"./_metadata":112}],343:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var l=s.get(t);return l.delete(n),!!l.size||s.delete(t)}})},{"./_an-object":53,"./_metadata":112}],344:[function(e,t,n){var r=e("./es6.set"),i=e("./_array-from-iterable"),o=e("./_metadata"),a=e("./_an-object"),s=e("./_object-gpo"),l=o.keys,c=o.key,u=function(e,t){var n=l(e,t),o=s(e);if(null===o)return n;var a=u(o,t);return a.length?n.length?i(new r(n.concat(a))):a:n};o.exp({getMetadataKeys:function(e){return u(a(e),arguments.length<2?void 0:c(arguments[1]))}})},{"./_an-object":53,"./_array-from-iterable":56,"./_metadata":112,"./_object-gpo":124,"./es6.set":274}],345:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=e("./_object-gpo"),a=r.has,s=r.get,l=r.key,c=function(e,t,n){if(a(e,t,n))return s(e,t,n);var r=o(t);return null!==r?c(e,r,n):void 0};r.exp({getMetadata:function(e,t){return c(e,i(t),arguments.length<3?void 0:l(arguments[2]))}})},{"./_an-object":53,"./_metadata":112,"./_object-gpo":124}],346:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return o(i(e),arguments.length<2?void 0:a(arguments[1]))}})},{"./_an-object":53,"./_metadata":112}],347:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},{"./_an-object":53,"./_metadata":112}],348:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=e("./_object-gpo"),a=r.has,s=r.key,l=function(e,t,n){if(a(e,t,n))return!0;var r=o(t);return null!==r&&l(e,r,n)};r.exp({hasMetadata:function(e,t){return l(e,i(t),arguments.length<3?void 0:s(arguments[2]))}})},{"./_an-object":53,"./_metadata":112,"./_object-gpo":124}],349:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},{"./_an-object":53,"./_metadata":112}],350:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=e("./_a-function"),a=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?i:o)(n),a(r))}}})},{"./_a-function":49,"./_an-object":53,"./_metadata":112}],351:[function(e,t,n){e("./_set-collection-from")("Set")},{"./_set-collection-from":140}],352:[function(e,t,n){e("./_set-collection-of")("Set")},{"./_set-collection-of":141}],353:[function(e,t,n){var r=e("./_export");r(r.P+r.R,"Set",{toJSON:e("./_collection-to-json")("Set")})},{"./_collection-to-json":66,"./_export":79}],354:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-at")(!0);r(r.P,"String",{at:function(e){return i(this,e)}})},{"./_export":79,"./_string-at":149}],355:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_defined"),o=e("./_to-length"),a=e("./_is-regexp"),s=e("./_flags"),l=RegExp.prototype,c=function(e,t){this._r=e,this._s=t};e("./_iter-create")(c,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(i(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in l?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(e.lastIndex),new c(r,t)}})},{"./_defined":74,"./_export":79,"./_flags":83,"./_is-regexp":98,"./_iter-create":100,"./_to-length":161}],356:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-pad");r(r.P,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},{"./_export":79,"./_string-pad":152}],357:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-pad");r(r.P,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},{"./_export":79,"./_string-pad":152}],358:[function(e,t,n){"use strict";e("./_string-trim")("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},{"./_string-trim":154}],359:[function(e,t,n){"use strict";e("./_string-trim")("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},{"./_string-trim":154}],360:[function(e,t,n){e("./_wks-define")("asyncIterator")},{"./_wks-define":169}],361:[function(e,t,n){e("./_wks-define")("observable")},{"./_wks-define":169}],362:[function(e,t,n){var r=e("./_export");r(r.S,"System",{global:e("./_global")})},{"./_export":79,"./_global":86}],363:[function(e,t,n){e("./_set-collection-from")("WeakMap")},{"./_set-collection-from":140}],364:[function(e,t,n){e("./_set-collection-of")("WeakMap")},{"./_set-collection-of":141}],365:[function(e,t,n){e("./_set-collection-from")("WeakSet")},{"./_set-collection-from":140}],366:[function(e,t,n){e("./_set-collection-of")("WeakSet")},{"./_set-collection-of":141}],367:[function(e,t,n){for(var r=e("./es6.array.iterator"),i=e("./_object-keys"),o=e("./_redefine"),a=e("./_global"),s=e("./_hide"),l=e("./_iterators"),c=e("./_wks"),u=c("iterator"),d=c("toStringTag"),f=l.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 g,v=h[m],_=p[v],y=a[v],b=y&&y.prototype;if(b&&(b[u]||s(b,u,f),b[d]||s(b,d,v),l[v]=f,_))for(g in r)b[g]||o(b,g,r[g],!0)}},{"./_global":86,"./_hide":88,"./_iterators":104,"./_object-keys":126,"./_redefine":137,"./_wks":171,"./es6.array.iterator":184}],368:[function(e,t,n){var r=e("./_export"),i=e("./_task");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},{"./_export":79,"./_task":156}],369:[function(e,t,n){var r=e("./_global"),i=e("./_export"),o=r.navigator,a=[].slice,s=!!o&&/MSIE .\./.test(o.userAgent),l=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},{"./_export":79,"./_global":86}],370:[function(e,t,n){e("./modules/es6.symbol"),e("./modules/es6.object.create"),e("./modules/es6.object.define-property"),e("./modules/es6.object.define-properties"),e("./modules/es6.object.get-own-property-descriptor"),e("./modules/es6.object.get-prototype-of"),e("./modules/es6.object.keys"),e("./modules/es6.object.get-own-property-names"),e("./modules/es6.object.freeze"),e("./modules/es6.object.seal"),e("./modules/es6.object.prevent-extensions"),e("./modules/es6.object.is-frozen"),e("./modules/es6.object.is-sealed"),e("./modules/es6.object.is-extensible"),e("./modules/es6.object.assign"),e("./modules/es6.object.is"),e("./modules/es6.object.set-prototype-of"),e("./modules/es6.object.to-string"),e("./modules/es6.function.bind"),e("./modules/es6.function.name"),e("./modules/es6.function.has-instance"),e("./modules/es6.parse-int"),e("./modules/es6.parse-float"),e("./modules/es6.number.constructor"),e("./modules/es6.number.to-fixed"),e("./modules/es6.number.to-precision"),e("./modules/es6.number.epsilon"),e("./modules/es6.number.is-finite"),e("./modules/es6.number.is-integer"),e("./modules/es6.number.is-nan"),e("./modules/es6.number.is-safe-integer"),e("./modules/es6.number.max-safe-integer"),e("./modules/es6.number.min-safe-integer"),e("./modules/es6.number.parse-float"),e("./modules/es6.number.parse-int"),e("./modules/es6.math.acosh"),e("./modules/es6.math.asinh"),e("./modules/es6.math.atanh"),e("./modules/es6.math.cbrt"),e("./modules/es6.math.clz32"),e("./modules/es6.math.cosh"),e("./modules/es6.math.expm1"),e("./modules/es6.math.fround"),e("./modules/es6.math.hypot"),e("./modules/es6.math.imul"),e("./modules/es6.math.log10"),e("./modules/es6.math.log1p"),e("./modules/es6.math.log2"),e("./modules/es6.math.sign"),e("./modules/es6.math.sinh"),e("./modules/es6.math.tanh"),e("./modules/es6.math.trunc"),e("./modules/es6.string.from-code-point"),e("./modules/es6.string.raw"),e("./modules/es6.string.trim"),e("./modules/es6.string.iterator"),e("./modules/es6.string.code-point-at"),e("./modules/es6.string.ends-with"),e("./modules/es6.string.includes"),e("./modules/es6.string.repeat"),e("./modules/es6.string.starts-with"),e("./modules/es6.string.anchor"),e("./modules/es6.string.big"),e("./modules/es6.string.blink"),e("./modules/es6.string.bold"),e("./modules/es6.string.fixed"),e("./modules/es6.string.fontcolor"),e("./modules/es6.string.fontsize"),e("./modules/es6.string.italics"),e("./modules/es6.string.link"),e("./modules/es6.string.small"),e("./modules/es6.string.strike"),e("./modules/es6.string.sub"),e("./modules/es6.string.sup"),e("./modules/es6.date.now"),e("./modules/es6.date.to-json"),e("./modules/es6.date.to-iso-string"),e("./modules/es6.date.to-string"),e("./modules/es6.date.to-primitive"),e("./modules/es6.array.is-array"),e("./modules/es6.array.from"),e("./modules/es6.array.of"),e("./modules/es6.array.join"),e("./modules/es6.array.slice"),e("./modules/es6.array.sort"),e("./modules/es6.array.for-each"),e("./modules/es6.array.map"),e("./modules/es6.array.filter"),e("./modules/es6.array.some"),e("./modules/es6.array.every"),e("./modules/es6.array.reduce"),e("./modules/es6.array.reduce-right"),e("./modules/es6.array.index-of"),e("./modules/es6.array.last-index-of"),e("./modules/es6.array.copy-within"),e("./modules/es6.array.fill"),e("./modules/es6.array.find"),e("./modules/es6.array.find-index"),e("./modules/es6.array.species"),e("./modules/es6.array.iterator"),e("./modules/es6.regexp.constructor"),e("./modules/es6.regexp.to-string"),e("./modules/es6.regexp.flags"),e("./modules/es6.regexp.match"),e("./modules/es6.regexp.replace"),e("./modules/es6.regexp.search"),e("./modules/es6.regexp.split"),e("./modules/es6.promise"),e("./modules/es6.map"),e("./modules/es6.set"),e("./modules/es6.weak-map"),e("./modules/es6.weak-set"),e("./modules/es6.typed.array-buffer"),e("./modules/es6.typed.data-view"),e("./modules/es6.typed.int8-array"),e("./modules/es6.typed.uint8-array"),e("./modules/es6.typed.uint8-clamped-array"),e("./modules/es6.typed.int16-array"),e("./modules/es6.typed.uint16-array"),e("./modules/es6.typed.int32-array"),e("./modules/es6.typed.uint32-array"),e("./modules/es6.typed.float32-array"),e("./modules/es6.typed.float64-array"),e("./modules/es6.reflect.apply"),e("./modules/es6.reflect.construct"),e("./modules/es6.reflect.define-property"),e("./modules/es6.reflect.delete-property"),e("./modules/es6.reflect.enumerate"),e("./modules/es6.reflect.get"),e("./modules/es6.reflect.get-own-property-descriptor"),e("./modules/es6.reflect.get-prototype-of"),e("./modules/es6.reflect.has"),e("./modules/es6.reflect.is-extensible"),e("./modules/es6.reflect.own-keys"),e("./modules/es6.reflect.prevent-extensions"),e("./modules/es6.reflect.set"),e("./modules/es6.reflect.set-prototype-of"),e("./modules/es7.array.includes"),e("./modules/es7.array.flat-map"),e("./modules/es7.array.flatten"),e("./modules/es7.string.at"),e("./modules/es7.string.pad-start"),e("./modules/es7.string.pad-end"),e("./modules/es7.string.trim-left"),e("./modules/es7.string.trim-right"),e("./modules/es7.string.match-all"),e("./modules/es7.symbol.async-iterator"),e("./modules/es7.symbol.observable"),e("./modules/es7.object.get-own-property-descriptors"),e("./modules/es7.object.values"),e("./modules/es7.object.entries"),e("./modules/es7.object.define-getter"),e("./modules/es7.object.define-setter"),e("./modules/es7.object.lookup-getter"),e("./modules/es7.object.lookup-setter"),e("./modules/es7.map.to-json"),e("./modules/es7.set.to-json"),e("./modules/es7.map.of"),e("./modules/es7.set.of"),e("./modules/es7.weak-map.of"),e("./modules/es7.weak-set.of"),e("./modules/es7.map.from"),e("./modules/es7.set.from"),e("./modules/es7.weak-map.from"),e("./modules/es7.weak-set.from"),e("./modules/es7.global"),e("./modules/es7.system.global"),e("./modules/es7.error.is-error"),e("./modules/es7.math.clamp"),e("./modules/es7.math.deg-per-rad"),e("./modules/es7.math.degrees"),e("./modules/es7.math.fscale"),e("./modules/es7.math.iaddh"),e("./modules/es7.math.isubh"),e("./modules/es7.math.imulh"),e("./modules/es7.math.rad-per-deg"),e("./modules/es7.math.radians"),e("./modules/es7.math.scale"),e("./modules/es7.math.umulh"),e("./modules/es7.math.signbit"),e("./modules/es7.promise.finally"),e("./modules/es7.promise.try"),e("./modules/es7.reflect.define-metadata"),e("./modules/es7.reflect.delete-metadata"),e("./modules/es7.reflect.get-metadata"),e("./modules/es7.reflect.get-metadata-keys"),e("./modules/es7.reflect.get-own-metadata"),e("./modules/es7.reflect.get-own-metadata-keys"),e("./modules/es7.reflect.has-metadata"),e("./modules/es7.reflect.has-own-metadata"),e("./modules/es7.reflect.metadata"),e("./modules/es7.asap"),e("./modules/es7.observable"),e("./modules/web.timers"),e("./modules/web.immediate"),e("./modules/web.dom.iterable"),t.exports=e("./modules/_core")},{"./modules/_core":69,"./modules/es6.array.copy-within":174,"./modules/es6.array.every":175,"./modules/es6.array.fill":176,"./modules/es6.array.filter":177,"./modules/es6.array.find":179,"./modules/es6.array.find-index":178,"./modules/es6.array.for-each":180,"./modules/es6.array.from":181,"./modules/es6.array.index-of":182,"./modules/es6.array.is-array":183,"./modules/es6.array.iterator":184,"./modules/es6.array.join":185,"./modules/es6.array.last-index-of":186,"./modules/es6.array.map":187,"./modules/es6.array.of":188,"./modules/es6.array.reduce":190,"./modules/es6.array.reduce-right":189,"./modules/es6.array.slice":191,"./modules/es6.array.some":192,"./modules/es6.array.sort":193,"./modules/es6.array.species":194,"./modules/es6.date.now":195,"./modules/es6.date.to-iso-string":196,"./modules/es6.date.to-json":197,"./modules/es6.date.to-primitive":198,"./modules/es6.date.to-string":199,"./modules/es6.function.bind":200,"./modules/es6.function.has-instance":201,"./modules/es6.function.name":202,"./modules/es6.map":203,"./modules/es6.math.acosh":204,"./modules/es6.math.asinh":205,"./modules/es6.math.atanh":206,"./modules/es6.math.cbrt":207,"./modules/es6.math.clz32":208,"./modules/es6.math.cosh":209,"./modules/es6.math.expm1":210,"./modules/es6.math.fround":211,"./modules/es6.math.hypot":212,"./modules/es6.math.imul":213,"./modules/es6.math.log10":214,"./modules/es6.math.log1p":215,"./modules/es6.math.log2":216,"./modules/es6.math.sign":217,"./modules/es6.math.sinh":218,"./modules/es6.math.tanh":219,"./modules/es6.math.trunc":220,"./modules/es6.number.constructor":221,"./modules/es6.number.epsilon":222,"./modules/es6.number.is-finite":223,"./modules/es6.number.is-integer":224,"./modules/es6.number.is-nan":225,"./modules/es6.number.is-safe-integer":226,"./modules/es6.number.max-safe-integer":227,"./modules/es6.number.min-safe-integer":228,"./modules/es6.number.parse-float":229,"./modules/es6.number.parse-int":230,"./modules/es6.number.to-fixed":231,"./modules/es6.number.to-precision":232,"./modules/es6.object.assign":233,"./modules/es6.object.create":234,"./modules/es6.object.define-properties":235,"./modules/es6.object.define-property":236,"./modules/es6.object.freeze":237,"./modules/es6.object.get-own-property-descriptor":238,"./modules/es6.object.get-own-property-names":239,"./modules/es6.object.get-prototype-of":240,"./modules/es6.object.is":244,"./modules/es6.object.is-extensible":241,"./modules/es6.object.is-frozen":242,"./modules/es6.object.is-sealed":243,"./modules/es6.object.keys":245,"./modules/es6.object.prevent-extensions":246,"./modules/es6.object.seal":247,"./modules/es6.object.set-prototype-of":248,"./modules/es6.object.to-string":249,"./modules/es6.parse-float":250,"./modules/es6.parse-int":251,"./modules/es6.promise":252,"./modules/es6.reflect.apply":253,"./modules/es6.reflect.construct":254,"./modules/es6.reflect.define-property":255,"./modules/es6.reflect.delete-property":256,"./modules/es6.reflect.enumerate":257,"./modules/es6.reflect.get":260,"./modules/es6.reflect.get-own-property-descriptor":258,"./modules/es6.reflect.get-prototype-of":259,"./modules/es6.reflect.has":261,"./modules/es6.reflect.is-extensible":262,"./modules/es6.reflect.own-keys":263,"./modules/es6.reflect.prevent-extensions":264,"./modules/es6.reflect.set":266,"./modules/es6.reflect.set-prototype-of":265,"./modules/es6.regexp.constructor":267,"./modules/es6.regexp.flags":268,"./modules/es6.regexp.match":269,"./modules/es6.regexp.replace":270,"./modules/es6.regexp.search":271,"./modules/es6.regexp.split":272,"./modules/es6.regexp.to-string":273,"./modules/es6.set":274,"./modules/es6.string.anchor":275,"./modules/es6.string.big":276,"./modules/es6.string.blink":277,"./modules/es6.string.bold":278,"./modules/es6.string.code-point-at":279,"./modules/es6.string.ends-with":280,"./modules/es6.string.fixed":281,"./modules/es6.string.fontcolor":282,"./modules/es6.string.fontsize":283,"./modules/es6.string.from-code-point":284,"./modules/es6.string.includes":285,"./modules/es6.string.italics":286,"./modules/es6.string.iterator":287,"./modules/es6.string.link":288,"./modules/es6.string.raw":289,"./modules/es6.string.repeat":290,"./modules/es6.string.small":291,"./modules/es6.string.starts-with":292,"./modules/es6.string.strike":293,"./modules/es6.string.sub":294,"./modules/es6.string.sup":295,"./modules/es6.string.trim":296,"./modules/es6.symbol":297,"./modules/es6.typed.array-buffer":298,"./modules/es6.typed.data-view":299,"./modules/es6.typed.float32-array":300,"./modules/es6.typed.float64-array":301,"./modules/es6.typed.int16-array":302,"./modules/es6.typed.int32-array":303,"./modules/es6.typed.int8-array":304,"./modules/es6.typed.uint16-array":305,"./modules/es6.typed.uint32-array":306,"./modules/es6.typed.uint8-array":307,"./modules/es6.typed.uint8-clamped-array":308,"./modules/es6.weak-map":309,"./modules/es6.weak-set":310,"./modules/es7.array.flat-map":311,"./modules/es7.array.flatten":312,"./modules/es7.array.includes":313,"./modules/es7.asap":314,"./modules/es7.error.is-error":315,"./modules/es7.global":316,"./modules/es7.map.from":317,"./modules/es7.map.of":318,"./modules/es7.map.to-json":319,"./modules/es7.math.clamp":320,"./modules/es7.math.deg-per-rad":321,"./modules/es7.math.degrees":322,"./modules/es7.math.fscale":323,"./modules/es7.math.iaddh":324,"./modules/es7.math.imulh":325,"./modules/es7.math.isubh":326,"./modules/es7.math.rad-per-deg":327,"./modules/es7.math.radians":328,"./modules/es7.math.scale":329,"./modules/es7.math.signbit":330,"./modules/es7.math.umulh":331,"./modules/es7.object.define-getter":332,"./modules/es7.object.define-setter":333,"./modules/es7.object.entries":334,"./modules/es7.object.get-own-property-descriptors":335,"./modules/es7.object.lookup-getter":336,"./modules/es7.object.lookup-setter":337,"./modules/es7.object.values":338,"./modules/es7.observable":339,"./modules/es7.promise.finally":340,"./modules/es7.promise.try":341,"./modules/es7.reflect.define-metadata":342,"./modules/es7.reflect.delete-metadata":343,"./modules/es7.reflect.get-metadata":345,"./modules/es7.reflect.get-metadata-keys":344,"./modules/es7.reflect.get-own-metadata":347,"./modules/es7.reflect.get-own-metadata-keys":346,"./modules/es7.reflect.has-metadata":348,"./modules/es7.reflect.has-own-metadata":349,"./modules/es7.reflect.metadata":350,"./modules/es7.set.from":351,"./modules/es7.set.of":352,"./modules/es7.set.to-json":353,"./modules/es7.string.at":354,"./modules/es7.string.match-all":355,"./modules/es7.string.pad-end":356,"./modules/es7.string.pad-start":357,"./modules/es7.string.trim-left":358,"./modules/es7.string.trim-right":359,"./modules/es7.symbol.async-iterator":360,"./modules/es7.symbol.observable":361,"./modules/es7.system.global":362,"./modules/es7.weak-map.from":363,"./modules/es7.weak-map.of":364,"./modules/es7.weak-set.from":365,"./modules/es7.weak-set.of":366,"./modules/web.dom.iterable":367,"./modules/web.immediate":368,"./modules/web.timers":369}],371:[function(e,t,n){function r(e,t){for(;e&&e.nodeType!==i;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var i=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=r},{}],372:[function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=e("./closest");t.exports=r},{"./closest":371}],373:[function(e,t,n){(function(){var e,n,r,i,o,a,s,l,c=[].slice,u={}.hasOwnProperty,d=function(e,t){function n(){this.constructor=e}for(var r in t)u.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?c.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i<o;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(!(n=this._callbacks[e]))return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=i=0,o=n.length;i<o;r=++i)if(n[r]===t){n.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),!1!==this.options.previewsContainer&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(!0===this.options.clickable?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return d(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;i<o;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n)),r=n.getElementsByTagName("span")[0],r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,r;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),r=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.optWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):n>r?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*r):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/r),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,r,i,o,a,s,l,c,u,d,f,p,h;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),d=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=d.length;o<l;o++)n=d[o],n.textContent=this._renameFilename(e.name);for(f=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,c=f.length;a<c;a++)n=f[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),r=function(n){return function(r){return r.preventDefault(),r.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),p=e.previewElement.querySelectorAll("[data-dz-remove]"),h=[],s=0,u=p.length;s<u;s++)i=p[s],h.push(i.addEventListener("click",r));return h}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,r,i,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0,i=o.length;r<i;r++)n=o[r],n.alt=e.name,n.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(),1)}},error:function(e,t){var n,r,i,o,a;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=e.previewElement.querySelectorAll("[data-dz-errormessage]"),a=[],r=0,i=o.length;r<i;r++)n=o[r],a.push(n.textContent=t);return a}},errormultiple:s,
processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.textContent=this.options.dictCancelUpload},processingmultiple:s,uploadprogress:function(e,t,n){var r,i,o,a,s;if(e.previewElement){for(a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),s=[],i=0,o=a.length;i<o;i++)r=a[i],"PROGRESS"===r.nodeName?s.push(r.value=t):s.push(r.style.width=t+"%");return s}},totaluploadprogress:s,sending:s,sendingmultiple:s,success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:s,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:s,complete:function(e){if(e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:s,maxfilesexceeded:s,maxfilesreached:s,queuecomplete:s,addedfiles:s,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>'},r=function(){var e,t,n,r,i,o,a;for(r=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],o=0,a=n.length;o<a;o++){t=n[o];for(e in t)i=t[e],r[e]=i}return r},t.prototype.getAcceptedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],e.accepted&&i.push(e);return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],e.accepted||i.push(e);return i},t.prototype.getFilesWithStatus=function(e){var t,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)t=i[n],t.status===e&&o.push(t);return o},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)e=i[n],e.status!==t.UPLOADING&&e.status!==t.QUEUED||o.push(e);return o},t.prototype.init=function(){var e,n,r,i,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(r=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,i,o;if(n=e.hiddenFileInput.files,n.length)for(i=0,o=n.length;i<o;i++)t=n[i],e.addFile(t);return e.emit("addedfiles",n),r()})}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,s=this.events,i=0,o=s.length;i<o;i++)e=s[i],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout(function(){return e.emit("queuecomplete")},0)}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var r;try{r=t.dataTransfer.effectAllowed}catch(e){}return t.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(r){return(n!==e.element||r.target===e.element||t.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,r,i,o,a,s;if(r=0,n=0,e=this.getActiveFiles(),e.length){for(s=this.getActiveFiles(),o=0,a=s.length;o<a;o++)t=s[o],r+=t.upload.bytesSent,n+=t.upload.total;i=100*r/n}else i=100;return this.emit("totaluploadprogress",i,n,r)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='<div class="dz-fallback">',this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),i.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=i?i:n)},t.prototype.getExistingFallback=function(){var e,t,n,r,i,o;for(t=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],r=0,i=o.length;r<i;r++)if(n=o[r],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;r<i;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.addEventListener(t,n,!1));return i}());return a},t.prototype.removeEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;r<i;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.removeEventListener(t,n,!1));return i}());return a},t.prototype.disable=function(){var e,t,n,r,i;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],i.push(this.cancelUpload(e));return i},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,n,r,i,o,a,s,l;if(r=0,i="b",e>0){for(a=["TB","GB","MB","KB","b"],n=s=0,l=a.length;s<l;n=++s)if(o=a[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){r=e/Math.pow(this.options.filesizeBase,4-n),i=o;break}r=Math.round(10*r)/10}return"<strong>"+r+"</strong> "+i},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.addFile(t));return i},t.prototype._addFilesFromItems=function(e){var t,n,r,i,o;for(o=[],r=0,i=e.length;r<i;r++)n=e[r],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?o.push(this.addFile(n.getAsFile())):t.isDirectory?o.push(this._addFilesFromDirectory(t,t.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},t.prototype._addFilesFromDirectory=function(e,t){var n,r,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;o<a;o++)r=n[o],r.isFile?r.file(function(n){if(!e.options.ignoreHiddenFiles||"."!==n.name.substring(0,1))return n.fullPath=t+"/"+n.name,e.addFile(n)}):r.isDirectory&&e._addFilesFromDirectory(r,t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=t.QUEUED,this.options.autoProcessQueue)return setTimeout(function(e){return function(){return e.processQueue()}}(this),0)},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)},t.prototype._processThumbnailQueue=function(){if(!this._processingThumbnail&&0!==this._thumbnailQueue.length)return this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this))},t.prototype.removeFile=function(e){if(e.status===t.UPLOADING&&this.cancelUpload(e),this.files=l(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;r<i;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,l,c,u,d,f;if(e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(c=s.srcX)?c:0,null!=(u=s.srcY)?u:0,s.srcWidth,s.srcHeight,null!=(d=s.trgX)?d:0,null!=(f=s.trgY)?f:0,s.trgWidth,s.trgHeight),l=r.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=n)return n()}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e<t;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;r<i;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t;return function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,l;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;i<a;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;o<s;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(l=e.status)!==t.ADDED&&l!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?c.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,M,E,A,L,D,j,O,F,P,N,z;for(w=new XMLHttpRequest,k=0,M=e.length;k<M;k++)n=e[k],n.xhr=w;m=i(this.options.method,e),b=i(this.options.url,e),w.open(m,b,!0),w.withCredentials=!!this.options.withCredentials,_=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;r<i;r++)n=e[r],o.push(t._errorProcessing(e,_||t.options.dictResponseError.replace("{{statusCode}}",w.status),w));return o}}(this),y=function(t){return function(r){var i,o,a,s,l,c,u,d,f;if(null!=r)for(o=100*r.loaded/r.total,a=0,c=e.length;a<c;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,u=e.length;s<u;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(f=[],l=0,d=e.length;l<d;l++)n=e[l],f.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return f}}(this),w.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===w.readyState){if(_=w.responseText,w.getResponseHeader("content-type")&&~w.getResponseHeader("content-type").indexOf("application/json"))try{_=JSON.parse(_)}catch(e){r=e,_="Invalid JSON response from server."}return y(),200<=(i=w.status)&&i<300?n._finished(e,_,r):a()}}}(this),w.onerror=function(n){return function(){if(e[0].status!==t.CANCELED)return a()}}(),v=null!=(j=w.upload)?j:w,v.onprogress=y,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(c,this.options.headers);for(s in c)(l=c[s])&&w.setRequestHeader(s,l);if(o=new FormData,this.options.params){O=this.options.params;for(h in O)x=O[h],o.append(h,x)}for(S=0,E=e.length;S<E;S++)n=e[S],this.emit("sending",n,w,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,w,o),"FORM"===this.element.tagName)for(F=this.element.querySelectorAll("input, textarea, select, button"),C=0,A=F.length;C<A;C++)if(d=F[C],f=d.getAttribute("name"),p=d.getAttribute("type"),"SELECT"===d.tagName&&d.hasAttribute("multiple"))for(P=d.options,T=0,L=P.length;T<L;T++)g=P[T],g.selected&&o.append(f,g.value);else(!p||"checkbox"!==(N=p.toLowerCase())&&"radio"!==N||d.checked)&&o.append(f,d.value);for(u=D=0,z=e.length-1;0<=z?D<=z:D>=z;u=0<=z?++D:--D)o.append(this._getParamName(u),e[u],this._renameFilename(e[u].name));return this.submitRequest(w,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;o<a;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);if(this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;o<a;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);if(this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;n<i;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;i<o;i++)n=r[i],!1!==e.optionsForElement(n)?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;r<i;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;r<i;r++)(n=e[r])!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,l;if(e instanceof Array){r=[];try{for(i=0,a=e.length;i<a;i++)n=e[i],r.push(this.getElement(n,t))}catch(e){e,r=null}}else if("string"==typeof e)for(r=[],l=document.querySelectorAll(e),o=0,s=l.length;o<s;o++)n=l[o],r.push(n);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;o<a;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),void 0!==t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,l,c;for(e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,s=a;s>c;)t=i[4*(s-1)+3],0===t?o=s:c=s,s=o+c>>1;return l=s/a,0===l?1:l},a=function(e,t,n,r,i,a,s,l,c,u){var d;return d=o(t),e.drawImage(t,n,r,i,a,s,l,c,u/d)},i=function(e,t){var n,r,i,o,a,s,l,c,u;if(i=!1,u=!0,r=e.document,c=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",l=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[l](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0},a=function(){try{c.doScroll("left")}catch(e){return e,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(e){}u&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],374:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"",dd:"",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:"",emsp14:"",emsp:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"",Escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",exponentiale:"",ExponentialE:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",
frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",Fscr:"",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",Im:"",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",Lscr:"",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"",middot:"·",minusb:"⊟",minus:"",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",popf:"𝕡",Popf:"",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"",Prime:"″",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"",rationals:"",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"",realine:"",realpart:"",reals:"",Re:"",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",rscr:"𝓇",Rscr:"",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",ThinSpace:"",thinsp:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"",Vee:"",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},{}],375:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],376:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return l(document.body,e,t,n)}var s=e("./is"),l=e("delegate");t.exports=r},{"./is":375,delegate:372}],377:[function(e,t,n){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}t.exports=function(e){return null!=e&&(r(e)||i(e)||!!e._isBuffer)}},{}],378:[function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object String]"===i(e)}function a(e){return"[object Object]"===i(e)}function s(e){return"[object RegExp]"===i(e)}function l(e){return"[object Function]"===i(e)}function c(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function u(e){return Object.keys(e||{}).reduce(function(e,t){return e||_.hasOwnProperty(t)},!1)}function d(e){e.__index__=-1,e.__text_cache__=""}function f(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function p(){return function(e,t){t.normalize(e)}}function h(t){function n(e){return e.replace("%TLDS%",i.src_tlds)}function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}var i=t.re=e("./lib/re")(t.__opts__),u=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||u.push(b),u.push(i.src_xn),i.src_tlds=u.join("|"),i.email_fuzzy=RegExp(n(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(n(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(n(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(n(i.tpl_host_fuzzy_test),"i");var h=[];t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};return t.__compiled__[e]=i,a(n)?(s(n.validate)?i.validate=f(n.validate):l(n.validate)?i.validate=n.validate:r(e,n),void(l(n.normalize)?i.normalize=n.normalize:n.normalize?r(e,n):i.normalize=p())):o(n)?void h.push(e):void r(e,n)}}),h.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:p()};var m=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(c).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+i.src_ZPCc+"))("+m+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+i.src_ZPCc+"))("+m+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),d(t)}function m(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function g(e,t){var n=new m(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function v(e,t){if(!(this instanceof v))return new v(e,t);t||u(e)&&(t=e,e={}),this.__opts__=r({},_,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},y,e),this.__compiled__={},this.__tlds__=x,this.__tlds_replaced__=!1,this.re={},h(this)}var _={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},y={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},b="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",x="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");v.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},v.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},v.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,l;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},v.prototype.pretest=function(e){return this.re.pretest.test(e)},v.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},v.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(g(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(g(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},v.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},v.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},v.prototype.onCompile=function(){},t.exports=v},{"./lib/re":379}],379:[function(e,t,n){"use strict";t.exports=function(t){var n={};n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");return n.src_pseudo_letter="(?:(?![><]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><]|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|[><]|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":446,"uc.micro/categories/P/regex":448,"uc.micro/categories/Z/regex":449,"uc.micro/properties/Any/regex":451}],380:[function(e,t,n){function r(e,t,n){var r=e.attrIndex(t),i=[t,n];r<0?e.attrPush(i):e.attrs[r]=i}function i(e,t){for(var n=e[t].level-1,r=t-1;r>=0;r--)if(e[r].level===n)return r;return-1}function o(e,t){return d(e[t])&&f(e[t-1])&&p(e[t-2])&&h(e[t])}function a(e,t){if(e.children.unshift(s(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),g)if(v){e.children.pop();var n="task-item-"+Math.ceil(1e7*Math.random()-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+n+'">',e.children.push(u(e.content,n,t))}else e.children.unshift(l(t)),e.children.push(c(t))}function s(e,t){var n=new t("html_inline","",0),r=m?' disabled="" ':"";return 0===e.content.indexOf("[ ] ")?n.content='<input class="task-list-item-checkbox"'+r+'type="checkbox">':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(n.content='<input class="task-list-item-checkbox" checked=""'+r+'type="checkbox">'),n}function l(e){var t=new e("html_inline","",0);return t.content="<label>",t}function c(e){var t=new e("html_inline","",0);return t.content="</label>",t}function u(e,t,n){var r=new n("html_inline","",0);return r.content='<label class="task-list-item-label" for="'+t+'">'+e+"</label>",r.attrs=[{for:t}],r}function d(e){return"inline"===e.type}function f(e){return"paragraph_open"===e.type}function p(e){return"list_item_open"===e.type}function h(e){return 0===e.content.indexOf("[ ] ")||0===e.content.indexOf("[x] ")||0===e.content.indexOf("[X] ")}var m=!0,g=!1,v=!1;t.exports=function(e,t){t&&(m=!t.enabled,g=!!t.label,v=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(e){for(var t=e.tokens,n=2;n<t.length;n++)o(t,n)&&(a(t[n],e.Token),r(t[n-2],"class","task-list-item"+(m?"":" enabled")),r(t[i(t,n-2)],"class","contains-task-list"))})}},{}],381:[function(e,t,n){"use strict";t.exports=e("./lib/")},{"./lib/":390}],382:[function(e,t,n){"use strict";t.exports=e("entities/maps/entities.json")},{"entities/maps/entities.json":374}],383:[function(e,t,n){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},{}],384:[function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],385:[function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}function o(e,t){return x.call(e,t)}function a(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){
if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function s(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function l(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function u(e,t){var n=0;return o(T,t)?T[t]:35===t.charCodeAt(0)&&C.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),l(n))?c(n):e}function d(e){return e.indexOf("\\")<0?e:e.replace(w,"$1")}function f(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(S,function(e,t,n){return t||u(e,n)})}function p(e){return A[e]}function h(e){return M.test(e)?e.replace(E,p):e}function m(e){return e.replace(L,"\\$&")}function g(e){switch(e){case 9:case 32:return!0}return!1}function v(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function _(e){return D.test(e)}function y(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function b(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var x=Object.prototype.hasOwnProperty,w=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,k=/&([a-z#][a-z0-9]{1,31});/gi,S=new RegExp(w.source+"|"+k.source,"gi"),C=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,T=e("./entities"),M=/[&<>"]/,E=/[&<>"]/g,A={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},L=/[.?*+^$[\]\\(){}|-]/g,D=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=a,n.isString=i,n.has=o,n.unescapeMd=d,n.unescapeAll=f,n.isValidEntityCode=l,n.fromCodePoint=c,n.escapeHtml=h,n.arrayReplaceAt=s,n.isSpace=g,n.isWhiteSpace=v,n.isMdAsciiPunct=y,n.isPunctChar=_,n.escapeRE=m,n.normalizeReference=b},{"./entities":382,mdurl:436,"uc.micro":450,"uc.micro/categories/P/regex":448}],386:[function(e,t,n){"use strict";n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":387,"./parse_link_label":388,"./parse_link_title":389}],387:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace,i=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t))||r(o))return l;if(62===o)return l.pos=t+1,l.str=i(e.slice(s+1,t)),l.ok=!0,l;92===o&&t+1<n?t+=2:t++}return l}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n)t+=2;else{if(40===o&&a++,41===o){if(0===a)break;a--}t++}return s===t?l:0!==a?l:(l.str=i(e.slice(s,t)),l.lines=0,l.pos=t,l.ok=!0,l)}},{"../common/utils":385}],388:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}},{}],389:[function(e,t,n){"use strict";var r=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var i,o,a=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=a,l.str=r(e.slice(s+1,t)),l.ok=!0,l;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return l}},{"../common/utils":385}],390:[function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!v.test(t)||!!_.test(t)}function i(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||y.indexOf(t.protocol)>=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||y.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||s.isString(e)||(t=e||{},e="default"),this.inline=new f,this.block=new d,this.core=new u,this.renderer=new c,this.linkify=new p,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=s,this.helpers=s.assign({},l),this.options={},this.configure(e),t&&this.set(t)}var s=e("./common/utils"),l=e("./helpers"),c=e("./renderer"),u=e("./parser_core"),d=e("./parser_block"),f=e("./parser_inline"),p=e("linkify-it"),h=e("mdurl"),m=e("punycode"),g={default:e("./presets/default"),zero:e("./presets/zero"),commonmark:e("./presets/commonmark")},v=/^(vbscript|javascript|file|data):/,_=/^data:image\/(gif|png|jpeg|webp);/,y=["http:","https:","mailto:"];a.prototype.set=function(e){return s.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(s.isString(e)&&(t=e,!(e=g[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=a},{"./common/utils":385,"./helpers":386,"./parser_block":391,"./parser_core":392,"./parser_inline":393,"./presets/commonmark":394,"./presets/default":395,"./presets/zero":396,"./renderer":397,"linkify-it":378,mdurl:436,punycode:441}],391:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}var i=e("./ruler"),o=[["table",e("./rules_block/table"),["paragraph","reference"]],["code",e("./rules_block/code")],["fence",e("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","reference","blockquote","list"]],["hr",e("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",e("./rules_block/reference")],["heading",e("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",e("./rules_block/lheading")],["html_block",e("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",e("./rules_block/paragraph")]];r.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},r.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},r.prototype.State=e("./rules_block/state_block"),t.exports=r},{"./ruler":398,"./rules_block/blockquote":399,"./rules_block/code":400,"./rules_block/fence":401,"./rules_block/heading":402,"./rules_block/hr":403,"./rules_block/html_block":404,"./rules_block/lheading":405,"./rules_block/list":406,"./rules_block/paragraph":407,"./rules_block/reference":408,"./rules_block/state_block":409,"./rules_block/table":410}],392:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}var i=e("./ruler"),o=[["normalize",e("./rules_core/normalize")],["block",e("./rules_core/block")],["inline",e("./rules_core/inline")],["linkify",e("./rules_core/linkify")],["replacements",e("./rules_core/replacements")],["smartquotes",e("./rules_core/smartquotes")]];r.prototype.process=function(e){var t,n,r;for(r=this.ruler.getRules(""),t=0,n=r.length;t<n;t++)r[t](e)},r.prototype.State=e("./rules_core/state_core"),t.exports=r},{"./ruler":398,"./rules_core/block":411,"./rules_core/inline":412,"./rules_core/linkify":413,"./rules_core/normalize":414,"./rules_core/replacements":415,"./rules_core/smartquotes":416,"./rules_core/state_core":417}],393:[function(e,t,n){"use strict";function r(){var e;for(this.ruler=new i,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new i,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}var i=e("./ruler"),o=[["text",e("./rules_inline/text")],["newline",e("./rules_inline/newline")],["escape",e("./rules_inline/escape")],["backticks",e("./rules_inline/backticks")],["strikethrough",e("./rules_inline/strikethrough").tokenize],["emphasis",e("./rules_inline/emphasis").tokenize],["link",e("./rules_inline/link")],["image",e("./rules_inline/image")],["autolink",e("./rules_inline/autolink")],["html_inline",e("./rules_inline/html_inline")],["entity",e("./rules_inline/entity")]],a=[["balance_pairs",e("./rules_inline/balance_pairs")],["strikethrough",e("./rules_inline/strikethrough").postProcess],["emphasis",e("./rules_inline/emphasis").postProcess],["text_collapse",e("./rules_inline/text_collapse")]];r.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0!==s[r])return void(e.pos=s[r]);if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos},r.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;i<a;i++)o[i](s)},r.prototype.State=e("./rules_inline/state_inline"),t.exports=r},{"./ruler":398,"./rules_inline/autolink":418,"./rules_inline/backticks":419,"./rules_inline/balance_pairs":420,"./rules_inline/emphasis":421,"./rules_inline/entity":422,"./rules_inline/escape":423,"./rules_inline/html_inline":424,"./rules_inline/image":425,"./rules_inline/link":426,"./rules_inline/newline":427,"./rules_inline/state_inline":428,"./rules_inline/strikethrough":429,"./rules_inline/text":430,"./rules_inline/text_collapse":431}],394:[function(e,t,n){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},{}],395:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},{}],396:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},{}],397:[function(e,t,n){"use strict";function r(){this.rules=i({},s)}var i=e("./common/utils").assign,o=e("./common/utils").unescapeAll,a=e("./common/utils").escapeHtml,s={};s.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},s.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},s.fence=function(e,t,n,r,i){var s,l,c,u,d=e[t],f=d.info?o(d.info).trim():"",p="";return f&&(p=f.split(/\s+/g)[0]),s=n.highlight?n.highlight(d.content,p)||a(d.content):a(d.content),0===s.indexOf("<pre")?s+"\n":f?(l=d.attrIndex("class"),c=d.attrs?d.attrs.slice():[],l<0?c.push(["class",n.langPrefix+p]):c[l][1]+=" "+n.langPrefix+p,u={attrs:c},"<pre><code"+i.renderAttrs(u)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},s.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},s.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},s.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},s.text=function(e,t){return a(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},r.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&(r=e[t+1],"inline"===r.type||r.hidden?o=!1:-1===r.nesting&&r.tag===a.tag&&(o=!1))),i+=o?">\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a<s;a++)r=e[a].type,void 0!==o[r]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},r.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},r.prototype.render=function(e,t,n){var r,i,o,a="",s=this.rules;for(r=0,i=e.length;r<i;r++)o=e[r].type,"inline"===o?a+=this.renderInline(e[r].children,t,n):void 0!==s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},t.exports=r},{"./common/utils":385}],398:[function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},t.exports=r},{}],399:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C=e.lineMax,T=e.bMarks[t]+e.tShift[t],M=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(T++))return!1;if(i)return!0;for(l=p=e.sCount[t]+T-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(T)?(T++,l++,p++,o=!1,b=!0):9===e.src.charCodeAt(T)?(b=!0,(e.bsCount[t]+p)%4==3?(T++,l++,p++,o=!1):o=!0):b=!1,h=[e.bMarks[t]],e.bMarks[t]=T;T<M&&(a=e.src.charCodeAt(T),r(a));)9===a?p+=4-(p+e.bsCount[t]+(o?1:0))%4:p++,T++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(b?1:0),u=T>=M,_=[e.sCount[t]],e.sCount[t]=p-l,y=[e.tShift[t]],e.tShift[t]=T-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",S=!1,f=t+1;f<n&&(e.sCount[f]<e.blkIndent&&(S=!0),T=e.bMarks[f]+e.tShift[f],M=e.eMarks[f],!(T>=M));f++)if(62!==e.src.charCodeAt(T++)||S){if(u)break;for(x=!1,s=0,c=w.length;s<c;s++)if(w[s](e,f,n,!0)){x=!0;break}if(x){e.lineMax=f,0!==e.blkIndent&&(h.push(e.bMarks[f]),m.push(e.bsCount[f]),y.push(e.tShift[f]),_.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}h.push(e.bMarks[f]),m.push(e.bsCount[f]),y.push(e.tShift[f]),_.push(e.sCount[f]),e.sCount[f]=-1}else{for(l=p=e.sCount[f]+T-(e.bMarks[f]+e.tShift[f]),32===e.src.charCodeAt(T)?(T++,l++,p++,o=!1,b=!0):9===e.src.charCodeAt(T)?(b=!0,(e.bsCount[f]+p)%4==3?(T++,l++,p++,o=!1):o=!0):b=!1,h.push(e.bMarks[f]),e.bMarks[f]=T;T<M&&(a=e.src.charCodeAt(T),r(a));)9===a?p+=4-(p+e.bsCount[f]+(o?1:0))%4:p++,T++;u=T>=M,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(b?1:0),_.push(e.sCount[f]),e.sCount[f]=p-l,y.push(e.tShift[f]),e.tShift[f]=T-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,k=e.push("blockquote_open","blockquote",1),k.markup=">",k.map=d=[t,0],e.md.block.tokenize(e,t,f),k=e.push("blockquote_close","blockquote",-1),k.markup=">",e.lineMax=C,e.parentType=v,d[1]=e.line,s=0;s<y.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=y[s],e.sCount[s+t]=_[s],e.bsCount[s+t]=m[s];return e.blkIndent=g,!0}},{"../common/utils":385}],400:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],401:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i,o,a,s,l,c,u,d=!1,f=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>p)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(l=f,f=e.skipChars(f,i),(o=f-l)<3)return!1;if(u=e.src.slice(l,f),a=e.src.slice(f,p),a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&(f=l=e.bMarks[s]+e.tShift[s],p=e.eMarks[s],!(f<p&&e.sCount[s]<e.blkIndent));)if(e.src.charCodeAt(f)===i&&!(e.sCount[s]-e.blkIndent>=4||(f=e.skipChars(f,i))-l<o||(f=e.skipSpaces(f))<p)){d=!0;break}return o=e.sCount[t],e.line=s+(d?1:0),c=e.push("fence","code",0),c.info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},{}],402:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<u&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<u&&!r(o))&&(!!i||(u=e.skipSpacesBack(u,c),s=e.skipCharsBack(u,35,c),s>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,l=e.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[t,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],l=e.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a),!0))}},{"../common/utils":385}],403:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(!!i||(e.line=t+1,l=e.push("hr","hr",0),l.map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(o)),!0))}},{"../common/utils":385}],404:[function(e,t,n){"use strict";var r=e("../common/html_blocks"),i=e("../common/html_re").HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i<o.length&&!o[i][0].test(l);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),o[i][1].test(l)){0!==l.length&&a++;break}return e.line=a,s=e.push("html_block","",0),s.map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},{"../common/html_blocks":383,"../common/html_re":384}],405:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s,l,c,u,d,f,p=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";p<n&&!e.isEmpty(p);p++)if(!(e.sCount[p]-e.blkIndent>3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l<c&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=c))){u=61===d?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,p,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,p,e.blkIndent,!1).trim(),e.line=p+1,s=e.push("heading_open","h"+String(u),1),s.markup=String.fromCharCode(d),s.map=[t,e.line],s=e.push("inline","",0),s.content=r,s.map=[t,e.line-1],s.children=[],s=e.push("heading_close","h"+String(u),-1),s.markup=String.fromCharCode(d),e.parentType=f,!0)}},{}],406:[function(e,t,n){"use strict";function r(e,t){var n,r,i,o;return r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],n=e.src.charCodeAt(r++),42!==n&&45!==n&&43!==n?-1:r<i&&(o=e.src.charCodeAt(r),!a(o))?-1:r}function i(e,t){var n,r=e.bMarks[t]+e.tShift[t],i=r,o=e.eMarks[t];if(i+1>=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i<o&&(n=e.src.charCodeAt(i),!a(n))?-1:i}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}var a=e("../common/utils").isSpace;t.exports=function(e,t,n,a){var s,l,c,u,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,M,E,A,L,D,j,O,F,P=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(A=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,A-D-1)),P&&1!==y)return!1}else{if(!((A=r(e,t))>=0))return!1;p=!1}if(P&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(A-1),a)return!0;for(v=e.tokens.length,p?(F=e.push("ordered_list_open","ol",1),1!==y&&(F.attrs=[["start",y]])):F=e.push("bullet_list_open","ul",1),F.map=g=[t,0],F.markup=String.fromCharCode(_),x=t,L=!1,O=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";x<n;){for(E=A,b=e.eMarks[x],f=w=e.sCount[x]+A-(e.bMarks[t]+e.tShift[t]);E<b;){if(9===(s=e.src.charCodeAt(E)))w+=4-(w+e.bsCount[x])%4;else{if(32!==s)break;w++}E++}if(l=E,d=l>=b?1:w-f,d>4&&(d=1),u=f+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=h=[t,0],k=e.blkIndent,M=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!L||(N=!1),L=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=T,e.sCount[t]=S,e.tight=M,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),x=t=e.line,h[1]=x,l=e.bMarks[t],x>=n)break;if(e.sCount[x]<e.blkIndent)break;for(j=!1,c=0,m=O.length;c<m;c++)if(O[c](e,x,n,!0)){j=!0;break}if(j)break;if(p){if((A=i(e,x))<0)break}else if((A=r(e,x))<0)break;if(_!==e.src.charCodeAt(A-1))break}return F=p?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),F.markup=String.fromCharCode(_),g[1]=x,e.line=x,e.parentType=C,N&&o(e,v),!0}},{"../common/utils":385}],407:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,a=e.push("paragraph_open","p",1),a.map=[t,e.line],a=e.push("inline","",0),a.content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},{}],408:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t,n,o){var a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x,w=0,k=e.bMarks[t]+e.tShift[t],S=e.eMarks[t],C=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<S;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===S)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,b=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C<c&&!e.isEmpty(C);C++)if(!(e.sCount[C]-e.blkIndent>3||e.sCount[C]<0)){for(y=!1,d=0,f=b.length;d<f;d++)if(b[d](e,C,c,!0)){y=!0;break}if(y)break}for(_=e.getLines(t,C,e.blkIndent,!1).trim(),S=_.length,k=1;k<S;k++){if(91===(a=_.charCodeAt(k)))return!1;if(93===a){h=k;break}10===a?w++:92===a&&++k<S&&10===_.charCodeAt(k)&&w++}if(h<0||58!==_.charCodeAt(h+1))return!1;for(k=h+2;k<S;k++)if(10===(a=_.charCodeAt(k)))w++;else if(!i(a))break;if(g=e.md.helpers.parseLinkDestination(_,k,S),!g.ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(k=g.pos,w+=g.lines,s=k,l=w,v=k;k<S;k++)if(10===(a=_.charCodeAt(k)))w++;else if(!i(a))break;for(g=e.md.helpers.parseLinkTitle(_,k,S),k<S&&v!==k&&g.ok?(x=g.str,k=g.pos,w+=g.lines):(x="",k=s,w=l);k<S&&(a=_.charCodeAt(k),i(a));)k++;if(k<S&&10!==_.charCodeAt(k)&&x)for(x="",k=s,w=l;k<S&&(a=_.charCodeAt(k),i(a));)k++;return!(k<S&&10!==_.charCodeAt(k))&&(!!(p=r(_.slice(1,h)))&&(!!o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[p]&&(e.env.references[p]={title:x,href:u}),e.parentType=m,e.line=t+w+1,!0)))}},{"../common/utils":385}],409:[function(e,t,n){"use strict";function r(e,t,n,r){var i,a,s,l,c,u,d,f;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,f=!1,s=l=u=d=0,c=a.length;l<c;l++){if(i=a.charCodeAt(l),!f){if(o(i)){u++,9===i?d+=4-d%4:d++;continue}f=!0}10!==i&&l!==c-1||(10!==i&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(d),this.bsCount.push(0),f=!1,u=0,d=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}var i=e("../token"),o=e("../common/utils").isSpace;r.prototype.push=function(e,t,n){var r=new i(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},r.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),o(t));e++);return e},r.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},r.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;f<t;f++,i++){for(a=0,d=l=this.bMarks[f],c=f+1<t||r?this.eMarks[f]+1:this.eMarks[f];l<c&&a<n;){if(s=this.src.charCodeAt(l),o(s))9===s?a+=4-(a+this.bsCount[f])%4:a++;else{if(!(l-d<this.tShift[f]))break;a++}l++}u[i]=a>n?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":385,"../token":432}],410:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,l=r):o%2==0&&(s=!0,l=r):124!==t||o%2!=0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,r++,r===i&&s&&(s=!1,r=l+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}var o=e("../common/utils").isSpace;t.exports=function(e,t,n,a){var s,l,c,u,d,f,p,h,m,g,v,_;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!o(s))return!1;c++}for(l=r(e,t+1),f=l.split("|"),m=[],u=0;u<f.length;u++){if(!(g=f[u].trim())){if(0===u||u===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(l=r(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(f=i(l.replace(/^\||\|$/g,"")),(p=f.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u<f.length;u++)h=e.push("th_open","th",1),h.map=[t,t+1],m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),h=e.push("inline","",0),h.content=f[u].trim(),h.map=[t,t+1],h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),h=e.push("tbody_open","tbody",1),
h.map=_=[t+2,0],d=t+2;d<n&&!(e.sCount[d]<e.blkIndent)&&(l=r(e,d).trim(),-1!==l.indexOf("|"))&&!(e.sCount[d]-e.blkIndent>=4);d++){for(f=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u<p;u++)h=e.push("td_open","td",1),m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),h=e.push("inline","",0),h.content=f[u]?f[u].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return h=e.push("tbody_close","tbody",-1),h=e.push("table_close","table",-1),v[1]=_[1]=d,e.line=d,!0}},{"../common/utils":385}],411:[function(e,t,n){"use strict";t.exports=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},{}],412:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)t=i[n],"inline"===t.type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},{}],413:[function(e,t,n){"use strict";function r(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n<a;n++)if("inline"===x[n].type&&e.md.linkify.pretest(x[n].content))for(s=x[n].children,g=0,t=s.length-1;t>=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(f=c.content,b=e.md.linkify.match(f),u=[],m=c.level,h=0,d=0;d<b.length;d++)v=b[d].url,_=e.md.normalizeLink(v),e.md.validateLink(_)&&(y=b[d].text,y=b[d].schema?"mailto:"!==b[d].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),p=b[d].index,p>h&&(l=new e.Token("text","",0),l.content=f.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=y,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[d].lastIndex);h<f.length&&(l=new e.Token("text","",0),l.content=f.slice(h),l.level=m,u.push(l)),x[n].children=s=o(s,t,u)}}else for(t--;s[t].level!==c.level&&"link_open"!==s[t].type;)t--}},{"../common/utils":385}],414:[function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;t.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"<22>"),e.src=t}},{}],415:[function(e,t,n){"use strict";function r(e,t){return c[t.toLowerCase()]}function i(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],416:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,M,E;for(T=[],n=0;n<e.length;n++){for(i=e[n],h=e[n].level,S=T.length-1;S>=0&&!(T[S].level<=h);S--);if(T.length=S+1,"text"===i.type){l=i.content,f=0,p=l.length;e:for(;f<p&&(c.lastIndex=f,d=c.exec(l));){if(w=k=!0,f=d.index+1,C="'"===d[0],g=32,d.index-1>=0)g=l.charCodeAt(d.index-1);else for(S=n-1;S>=0;S--)if("text"===e[S].type){g=e[S].content.charCodeAt(e[S].content.length-1);break}if(v=32,f<p)v=l.charCodeAt(f);else for(S=n+1;S<e.length;S++)if("text"===e[S].type){v=e[S].content.charCodeAt(0);break}if(_=s(g)||a(String.fromCharCode(g)),y=s(v)||a(String.fromCharCode(v)),b=o(g),x=o(v),x?w=!1:y&&(b||_||(w=!1)),b?k=!1:_&&(x||y||(k=!1)),34===v&&'"'===d[0]&&g>=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(S=T.length-1;S>=0&&(m=T[S],!(T[S].level<h));S--)if(m.single===C&&T[S].level===h){m=T[S],C?(M=t.md.options.quotes[2],E=t.md.options.quotes[3]):(M=t.md.options.quotes[0],E=t.md.options.quotes[1]),i.content=r(i.content,d.index,E),e[m.token].content=r(e[m.token].content,m.pos,M),f+=E.length-1,m.token===n&&(f+=M.length-1),l=i.content,p=l.length,T.length=S;continue e}w?T.push({token:n,pos:d.index,single:C,level:h}):k&&C&&(i.content=r(i.content,d.index,u))}else C&&(i.content=r(i.content,d.index,u))}}}}var o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct,l=/['"]/,c=/['"]/g,u="";t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":385}],417:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":432}],418:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],419:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;for(i=e.src.slice(n,l),o=a=l;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||(s=e.push("code_inline","code",0),s.markup=i,s.content=e.src.slice(l,o).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},{}],420:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i,o=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if(r=o[t],r.close)for(n=t-r.jump-1;n>=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],421:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)i=e.push("text","",0),i.content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a,s=e.delimiters,l=e.delimiters.length;for(t=l-1;t>=0;t--)n=s[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t>0&&s[t-1].end===n.end+1&&s[t-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[t-1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[n.end+1].token].content="",t--))}},{}],422:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var n,c,u=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<d)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=a(o(n)?n:65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&i(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},{"../common/entities":382,"../common/utils":385}],423:[function(e,t,n){"use strict";for(var r=e("../common/utils").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},{"../common/utils":385}],424:[function(e,t,n){"use strict";function r(e){var t=32|e;return t>=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":384}],425:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h,m,g,v="",_=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?u=f.pos:v=""),g=u;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(f=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&g!==u&&f.ok)for(p=f.str,u=f.pos;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else p="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=_,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(g=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=_,!1;v=d.href,p=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=y,!0}},{"../common/utils":385}],426:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h="",m=e.pos,g=e.posMax,v=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<g&&40===e.src.charCodeAt(c)){for(_=!1,c++;c<g&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c<g&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<g&&v!==c&&u.ok)for(f=u.str,c=u.pos;c<g&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);else f="";(c>=g||41!==e.src.charCodeAt(c))&&(_=!0),c++}if(_){if(void 0===e.env.references)return!1;if(c<g&&91===e.src.charCodeAt(c)?(v=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=m,!1;h=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],f&&n.push(["title",f]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":385}],427:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},{"../common/utils":385}],428:[function(e,t,n){"use strict";function r(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}var i=e("../token"),o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct;r.prototype.pushPending=function(){var e=new i("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},r.prototype.push=function(e,t,n){this.pending&&this.pushPending();var r=new i(e,t,n);return n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,d,f,p,h=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<v&&this.src.charCodeAt(h)===_;)h++;return i=h-e,r=h<v?this.src.charCodeAt(h):32,d=s(n)||a(String.fromCharCode(n)),p=s(r)||a(String.fromCharCode(r)),u=o(n),f=o(r),f?m=!1:p&&(u||d||(m=!1)),u?g=!1:d&&(f||p||(g=!1)),t?(l=m,c=g):(l=m&&(!g||d),c=g&&(!m||p)),{can_open:l,can_close:c,length:i}},r.prototype.Token=i,t.exports=r},{"../common/utils":385,"../token":432}],429:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o,a,s=e.pos,l=e.src.charCodeAt(s);if(t)return!1;if(126!==l)return!1;if(r=e.scanDelims(e.pos,!0),o=r.length,a=String.fromCharCode(l),o<2)return!1;for(o%2&&(i=e.push("text","",0),i.content=a,o--),n=0;n<o;n+=2)i=e.push("text","",0),i.content=a+a,e.delimiters.push({marker:l,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a=[],s=e.delimiters,l=e.delimiters.length;for(t=0;t<l;t++)r=s[t],126===r.marker&&-1!==r.end&&(i=s[r.end],o=e.tokens[r.token],o.type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",o=e.tokens[i.token],o.type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&a.push(i.token-1));for(;a.length;){for(t=a.pop(),n=t+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;n--,t!==n&&(o=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=o)}}},{}],430:[function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},{}],431:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},{}],432:[function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(t=this.attrs,n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],433:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t<e.length;t++)n=e.charCodeAt(t),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=r(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,o,a,s,l,c="";for(t=0,r=e.length;t<r;t+=3)i=parseInt(e.slice(t+1,t+3),16),i<128?c+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(l=i<<6&1984|63&o,c+=l<128?"<22><>":String.fromCharCode(l),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(l=i<<12&61440|o<<6&4032|63&a,c+=l<2048||l>=55296&&l<=57343?"<22><><EFBFBD>":String.fromCharCode(l),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?(l=i<<18&1835008|o<<12&258048|a<<6&4032|63&s,l<65536||l>1114111?c+="<22><><EFBFBD><EFBFBD>":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="<22>";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],434:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function i(e,t,n){var o,a,s,l,c,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),c=r(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],435:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],436:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":433,"./encode":434,"./format":435,"./parse":437}],437:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var v=o.exec(c);if(v&&(v=v[0],i=v.toLowerCase(),this.protocol=v,c=c.substr(v.length)),(t||v||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||v&&m[v]||(c=c.substr(2),this.slashes=!0)),!m[v]&&(l||v&&!g[v])){var _=-1;for(n=0;n<f.length;n++)-1!==(a=c.indexOf(f[n]))&&(-1===_||a<_)&&(_=a);var y,b;for(b=-1===_?c.lastIndexOf("@"):c.lastIndexOf("@",_),-1!==b&&(y=c.slice(0,b),c=c.slice(b+1),this.auth=y),_=-1,n=0;n<d.length;n++)-1!==(a=c.indexOf(d[n]))&&(-1===_||a<_)&&(_=a);-1===_&&(_=c.length),":"===c[_-1]&&_--;var x=c.slice(0,_);c=c.slice(_),this.parseHost(x),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var k=this.hostname.split(/\./);for(n=0,r=k.length;n<r;n++){var S=k[n];if(S&&!S.match(p)){for(var C="",T=0,M=S.length;T<M;T++)S.charCodeAt(T)>127?C+="x":C+=S[T];if(!C.match(p)){var E=k.slice(0,n),A=k.slice(n+1),L=S.match(h);L&&(E.push(L[1]),A.unshift(L[2])),A.length&&(c=A.join(".")+c),this.hostname=E.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");-1!==D&&(this.hash=c.substr(D),c=c.slice(0,D));var j=c.indexOf("?");return-1!==j&&(this.search=c.substr(j),c=c.slice(0,j)),c&&(this.pathname=c),g[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],438:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":439}],439:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return Er.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Ct(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=p()),e._pf}function m(e){if(null==e._isValid){var t=h(e),n=Ar.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function g(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}function v(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=h(t)),a(t._locale)||(e._locale=t._locale),Lr.length>0)for(n=0;n<Lr.length;n++)r=Lr[n],i=t[r],a(i)||(e[r]=i);return e}function _(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Dr&&(Dr=!0,n.updateOffset(this),Dr=!1)}function y(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&x(e[r])!==x(t[r]))&&a++;return a+o}function k(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var r=!0;return d(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}function C(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),jr[e]||(k(t),jr[e]=!0)}function T(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)t=e[n],T(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=d({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function A(e){null!=e&&this.set(e)}function L(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return T(r)?r.call(t,n):r}function D(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function j(){return this._invalidDate}function O(e){return this._ordinal.replace("%d",e)}function F(e,t,n,r){var i=this._relativeTime[n];return T(i)?i(e,t,n,r):i.replace(/%d/i,e)}function P(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function N(e,t){var n=e.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[t]=e}function z(e){return"string"==typeof e?Ir[e]||Ir[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)u(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}function q(e,t){qr[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:qr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function $(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Br[e]=i),t&&(Br[t[0]]=function(){return $(i.apply(this,arguments),t[1],t[2])}),n&&(Br[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(Rr);for(t=0,n=r.length;t<n;t++)Br[r[t]]?r[t]=Br[r[t]]:r[t]=B(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=T(r[i])?r[i].call(t,e):r[i];return o}}function U(e,t){return e.isValid()?(t=V(t,e.localeData()),Wr[t]=Wr[t]||H(t),Wr[t](e)):e.localeData().invalidDate()}function V(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for($r.lastIndex=0;r>=0&&$r.test(e);)e=e.replace($r,n),$r.lastIndex=0,r-=1;return e}function Y(e,t,n){si[e]=T(t)?t:function(e,r){return e&&n?n:t}}function G(e,t){return u(si,e)?si[e](t._strict,t._locale):new RegExp(Z(e))}function Z(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function X(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n<e.length;n++)li[e[n]]=r}function J(e,t){X(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function Q(e,t,n){null!=t&&u(li,e)&&li[e](t,n._a,n,e)}function ee(e){return te(e)?366:365}function te(e){return e%4==0&&e%100!=0||e%400==0}function ne(){return te(this.year())}function re(e,t){return function(r){return null!=r?(oe(this,e,r),n.updateOffset(this,t),this):ie(this,e)}}function ie(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function oe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&te(e.year())?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ce(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ae(e){return e=z(e),T(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=I(e);for(var n=R(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=z(e),T(this[e]))return this[e](t);return this}function le(e,t){return(e%t+t)%t}function ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=le(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function ue(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||bi).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone}function de(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[bi.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function fe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=_i.call(this._shortMonthsParse,a),-1!==i?i:null):(i=_i.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?-1!==(i=_i.call(this._shortMonthsParse,a))?i:(i=_i.call(this._longMonthsParse,a),-1!==i?i:null):-1!==(i=_i.call(this._longMonthsParse,a))?i:(i=_i.call(this._shortMonthsParse,a),-1!==i?i:null)}function pe(e,t,n){var r,i,o;if(this._monthsParseExact)return fe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),
n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function he(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=x(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function me(e){return null!=e?(he(this,e),n.updateOffset(this,!0),this):ie(this,"Month")}function ge(){return ce(this.year(),this.month())}function ve(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=ki),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function _e(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Si),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ye(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=K(r[t]),i[t]=K(i[t]);for(t=0;t<24;t++)o[t]=K(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function be(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function xe(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n;return-(7+xe(e,0,r).getUTCDay()-t)%7+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=we(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ee(o)+c):c>ee(e)?(o=e+1,a=c-ee(e)):(o=e,a=c),{year:o,dayOfYear:a}}function Se(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ce(i,t,n)):a>Ce(e.year(),t,n)?(r=a-Ce(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ce(e,t,n){var r=we(e,t,n),i=we(e+1,t,n);return(ee(e)-r+i)/7}function Te(e){return Se(e,this._week.dow,this._week.doy).week}function Me(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Le(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function De(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function je(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=_i.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=_i.call(this._weekdaysParse,a))?i:-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=_i.call(this._minWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function ze(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=De(e,this.localeData()),this.add(e-t,"d")):t}function qe(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=je(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $e(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Li),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Di),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=K(s[t]),l[t]=K(l[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ue(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ye(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o<e.length;){for(i=Xe(e[o]).split("-"),t=i.length,n=Xe(e[o+1]),n=n?n.split("-"):null;t>0;){if(r=Qe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Qe(n){var r=null;if(!Ni[n]&&void 0!==t&&t&&t.exports)try{r=ji._abbr;e("./locale/"+n),et(r)}catch(e){}return Ni[n]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t))&&(ji=n),ji._abbr}function tt(e,t){if(null!==t){var n=Pi;if(t.abbr=e,null!=Ni[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ni[e]._config;else if(null!=t.parentLocale){if(null==Ni[t.parentLocale])return zi[t.parentLocale]||(zi[t.parentLocale]=[]),zi[t.parentLocale].push({name:e,config:t}),null;n=Ni[t.parentLocale]._config}return Ni[e]=new A(E(n,t)),zi[e]&&zi[e].forEach(function(e){tt(e.name,e.config)}),et(e),Ni[e]}return delete Ni[e],null}function nt(e,t){if(null!=t){var n,r=Pi;null!=Ni[e]&&(r=Ni[e]._config),t=E(r,t),n=new A(t),n.parentLocale=Ni[e],Ni[e]=n,et(e)}else null!=Ni[e]&&(null!=Ni[e].parentLocale?Ni[e]=Ni[e].parentLocale:null!=Ni[e]&&delete Ni[e]);return Ni[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!r(e)){if(t=Qe(e))return t;e=[e]}return Je(e)}function it(){return Or(Ni)}function ot(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ui]<0||n[ui]>11?ui:n[di]<1||n[di]>ce(n[ci],n[ui])?di:n[fi]<0||n[fi]>24||24===n[fi]&&(0!==n[pi]||0!==n[hi]||0!==n[mi])?fi:n[pi]<0||n[pi]>59?pi:n[hi]<0||n[hi]>59?hi:n[mi]<0||n[mi]>999?mi:-1,h(e)._overflowDayOfYear&&(t<ci||t>di)&&(t=di),h(e)._overflowWeeks&&-1===t&&(t=gi),h(e)._overflowWeekday&&-1===t&&(t=vi),h(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function lt(e){var t,n,r,i,o=[];if(!e._d){for(r=st(e),e._w&&null==e._a[di]&&null==e._a[ui]&&ct(e),null!=e._dayOfYear&&(i=at(e._a[ci],r[ci]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=xe(i,0,e._dayOfYear),e._a[ui]=n.getUTCMonth(),e._a[di]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[fi]&&0===e._a[pi]&&0===e._a[hi]&&0===e._a[mi]&&(e._nextDay=!0,e._a[fi]=0),e._d=(e._useUTC?xe:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[fi]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(h(e).weekdayMismatch=!0)}}function ct(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=at(t.GG,e._a[ci],Se(Tt(),1,4).year),r=at(t.W,1),((i=at(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Se(Tt(),o,a);n=at(t.gg,e._a[ci],c.year),r=at(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ci]=s.year,e._dayOfYear=s.dayOfYear)}function ut(e){var t,n,r,i,o,a,s=e._i,l=Ii.exec(s)||qi.exec(s);if(l){for(h(e).iso=!0,t=0,n=$i.length;t<n;t++)if($i[t][1].exec(l[1])){i=$i[t][0],r=!1!==$i[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=Wi.length;t<n;t++)if(Wi[t][1].exec(l[3])){o=(l[2]||" ")+Wi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Ri.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),_t(e)}else e._isValid=!1}function dt(e,t,n,r,i,o){var a=[ft(e),wi.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function ft(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function pt(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function ht(e,t,n){if(e){if(Mi.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function mt(e,t,n){if(e)return Ui[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function gt(e){var t=Hi.exec(pt(e._i));if(t){var n=dt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!ht(t[1],n,e))return;e._a=n,e._tzm=mt(t[8],t[9],t[10]),e._d=xe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function vt(e){var t=Bi.exec(e._i);if(null!==t)return void(e._d=new Date(+t[1]));ut(e),!1===e._isValid&&(delete e._isValid,gt(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e)))}function _t(e){if(e._f===n.ISO_8601)return void ut(e);if(e._f===n.RFC_2822)return void gt(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=V(e._f,e._locale).match(Rr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(G(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Br[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),Q(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=l-c,s.length>0&&h(e).unusedInput.push(s),e._a[fi]<=12&&!0===h(e).bigHour&&e._a[fi]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[fi]=yt(e._locale,e._a[fi],e._meridiem),lt(e),ot(e)}function yt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function bt(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],_t(t),m(t)&&(o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,(null==r||o<r)&&(r=o,n=t));d(e,n||t)}function xt(e){if(!e._d){var t=I(e._i);e._a=c([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),lt(e)}}function wt(e){var t=new _(ot(kt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new _(ot(t)):(l(t)?e._d=t:r(n)?bt(e):n?_t(e):St(e),m(e)||(e._d=null),e))}function St(e){var t=e._i;a(t)?e._d=new Date(n.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?vt(e):r(t)?(e._a=c(t.slice(0),function(e){return parseInt(e,10)}),lt(e)):i(t)?xt(e):s(t)?e._d=new Date(t):n.createFromInputFallback(e)}function Ct(e,t,n,a,s){var l={};return!0!==n&&!1!==n||(a=n,n=void 0),(i(e)&&o(e)||r(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=n,l._i=e,l._f=t,l._strict=a,wt(l)}function Tt(e,t,n,r){return Ct(e,t,n,r,!1)}function Mt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function Et(){return Mt("isBefore",[].slice.call(arguments,0))}function At(){return Mt("isAfter",[].slice.call(arguments,0))}function Lt(e){for(var t in e)if(-1===_i.call(Zi,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Zi.length;++r)if(e[Zi[r]]){if(n)return!1;parseFloat(e[Zi[r]])!==x(e[Zi[r]])&&(n=!0)}return!0}function Dt(){return this._isValid}function jt(){return Xt(NaN)}function Ot(e){var t=I(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=Lt(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=rt(),this._bubble()}function Ft(e){return e instanceof Ot}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+$(~~(e/60),2)+t+$(~~e%60,2)})}function zt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Ki)||["-",0,0],o=60*i[1]+x(i[2]);return 0===o?0:"+"===i[0]?o:-o}function It(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(y(e)||l(e)?e.valueOf():Tt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Tt(e).local()}function qt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Rt(e,t,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=zt(ii,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=qt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?nn(this,Xt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:qt(this)}function $t(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Wt(e){return this.utcOffset(0,e)}function Bt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qt(this),"m")),this}function Ht(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=zt(ri,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ut(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Vt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=kt(e),e._a){var t=e._isUTC?f(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Gt(){return!!this.isValid()&&!this._isUTC}function Zt(){return!!this.isValid()&&this._isUTC}function Kt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xt(e,t){var n,r,i,o=e,a=null;return Ft(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Xi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[di])*n,h:x(a[fi])*n,m:x(a[pi])*n,s:x(a[hi])*n,ms:x(Pt(1e3*a[mi]))*n}):(a=Ji.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Jt(a[2],n),M:Jt(a[3],n),w:Jt(a[4],n),d:Jt(a[5],n),h:Jt(a[6],n),m:Jt(a[7],n),s:Jt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=en(Tt(o.from),Tt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ot(o),Ft(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){var n;return e.isValid()&&t.isValid()?(t=It(t,e),e.isBefore(t)?n=Qt(e,t):(n=Qt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Xt(n,r),nn(this,i,e),this}}function nn(e,t,r,i){var o=t._milliseconds,a=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&he(e,ie(e,"Month")+s*r),a&&oe(e,"Date",ie(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,t){var r=e||Tt(),i=It(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(T(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(r)))}function an(){return new _(this)}function sn(e,t){var n=y(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=z(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function ln(e,t){var n=y(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=z(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function cn(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function un(e,t){var n,r=y(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&(t=z(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function dn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function fn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function pn(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(r=It(e,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=z(t)){case"year":o=hn(this,r)/12;break;case"month":o=hn(this,r);break;case"quarter":o=hn(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:b(o)}function hn(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function mn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function gn(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?U(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):T(Date.prototype.toISOString)?this.toDate().toISOString():U(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function _n(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function yn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(Tt(),e)}function xn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.to(Tt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Sn(){return this._locale}function Cn(e){switch(e=z(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Tn(e){return void 0===(e=z(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Mn(){return this._d.valueOf()-6e4*(this._offset||0)}function En(){return Math.floor(this.valueOf()/1e3)}function An(){return new Date(this.valueOf())}function Ln(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jn(){return this.isValid()?this.toISOString():null}function On(){return m(this)}function Fn(){return d({},h(this))}function Pn(){return h(this).overflow}function Nn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function zn(e,t){W(0,[e,e.length],0,t)}function In(e){return Wn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qn(e){return Wn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Rn(){return Ce(this.year(),1,4)}function $n(){var e=this.localeData()._week;return Ce(this.year(),e.dow,e.doy)}function Wn(e,t,n,r,i){var o;return null==e?Se(this,r,i).year:(o=Ce(e,r,i),t>o&&(t=o),Bn.call(this,e,t,n,r,i))}function Bn(e,t,n,r,i){var o=ke(e,t,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Un(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Vn(e,t){t[mi]=x(1e3*("0."+e))}function Yn(){return this._isUTC?"UTC":""}function Gn(){return this._isUTC?"Coordinated Universal Time":""}function Zn(e){return Tt(1e3*e)}function Kn(){return Tt.apply(null,arguments).parseZone()}function Xn(e){return e}function Jn(e,t,n,r){var i=rt(),o=f().set(r,t);return i[n](o,e)}function Qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Jn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Jn(e,r,n,"month");return i}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return Jn(t,(n+o)%7,r,"day");var a,l=[];for(a=0;a<7;a++)l[a]=Jn(t,(a+o)%7,r,"day");return l}function tr(e,t){return Qn(e,t,"months")}function nr(e,t){return Qn(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function ir(e,t,n){return er(e,t,n,"weekdaysShort")}function or(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=co(this._milliseconds),this._days=co(this._days),this._months=co(this._months),e.milliseconds=co(e.milliseconds),e.seconds=co(e.seconds),e.minutes=co(e.minutes),e.hours=co(e.hours),e.months=co(e.months),e.years=co(e.years),this}function sr(e,t,n,r){var i=Xt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function lr(e,t){return sr(this,e,t,1)}function cr(e,t){return sr(this,e,t,-1)}function ur(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ur(pr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(fr(a)),s+=i,a-=ur(pr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function fr(e){return 4800*e/146097}function pr(e){return 146097*e/4800}function hr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+fr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(pr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function mr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function gr(e){return function(){return this.as(e)}}function vr(){return Xt(this)}function _r(e){return e=z(e),this.isValid()?this[e+"s"]():NaN}function yr(e){return function(){return this.isValid()?this._data[e]:NaN}}function br(){return b(this.days()/7)}function xr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function wr(e,t,n){var r=Xt(e).abs(),i=To(r.as("s")),o=To(r.as("m")),a=To(r.as("h")),s=To(r.as("d")),l=To(r.as("M")),c=To(r.as("y")),u=i<=Mo.ss&&["s",i]||i<Mo.s&&["ss",i]||o<=1&&["m"]||o<Mo.m&&["mm",o]||a<=1&&["h"]||a<Mo.h&&["hh",a]||s<=1&&["d"]||s<Mo.d&&["dd",s]||l<=1&&["M"]||l<Mo.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,xr.apply(null,u)}function kr(e){return void 0===e?To:"function"==typeof e&&(To=e,!0)}function Sr(e,t){return void 0!==Mo[e]&&(void 0===t?Mo[e]:(Mo[e]=t,"s"===e&&(Mo.ss=t-1),!0))}function Cr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=wr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Tr(e){return(e>0)-(e<0)||+e}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Eo(this._milliseconds)/1e3,i=Eo(this._days),o=Eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var p=f<0?"-":"",h=Tr(this._months)!==Tr(f)?"-":"",m=Tr(this._days)!==Tr(f)?"-":"",g=Tr(this._milliseconds)!==Tr(f)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Er,Ar;Ar=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var Lr=n.momentProperties=[],Dr=!1,jr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var Or;Or=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var Fr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Pr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Nr=/\d{1,2}/,zr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ir={},qr={},Rr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,$r=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Wr={},Br={},Hr=/\d/,Ur=/\d\d/,Vr=/\d{3}/,Yr=/\d{4}/,Gr=/[+-]?\d{6}/,Zr=/\d\d?/,Kr=/\d\d\d\d?/,Xr=/\d\d\d\d\d\d?/,Jr=/\d{1,3}/,Qr=/\d{1,4}/,ei=/[+-]?\d{1,6}/,ti=/\d+/,ni=/[+-]?\d+/,ri=/Z|[+-]\d\d:?\d\d/gi,ii=/Z|[+-]\d\d(?::?\d\d)?/gi,oi=/[+-]?\d+(\.\d{1,3})?/,ai=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,si={},li={},ci=0,ui=1,di=2,fi=3,pi=4,hi=5,mi=6,gi=7,vi=8;W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),N("year","y"),q("year",1),Y("Y",ni),Y("YY",Zr,Ur),Y("YYYY",Qr,Yr),Y("YYYYY",ei,Gr),Y("YYYYYY",ei,Gr),X(["YYYYY","YYYYYY"],ci),X("YYYY",function(e,t){t[ci]=2===e.length?n.parseTwoDigitYear(e):x(e)}),X("YY",function(e,t){t[ci]=n.parseTwoDigitYear(e)}),X("Y",function(e,t){t[ci]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return x(e)+(x(e)>68?1900:2e3)};var _i,yi=re("FullYear",!0);_i=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),N("month","M"),q("month",8),Y("M",Zr),Y("MM",Zr,Ur),Y("MMM",function(e,t){return t.monthsShortRegex(e)}),Y("MMMM",function(e,t){return t.monthsRegex(e)}),X(["M","MM"],function(e,t){t[ui]=x(e)-1}),X(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ui]=i:h(n).invalidMonth=e});var bi=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),wi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ki=ai,Si=ai;W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),q("week",5),q("isoWeek",5),Y("w",Zr),Y("ww",Zr,Ur),Y("W",Zr),Y("WW",Zr,Ur),J(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var Ci={dow:0,doy:6};W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){
return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),Y("d",Zr),Y("e",Zr),Y("E",Zr),Y("dd",function(e,t){return t.weekdaysMinRegex(e)}),Y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Y("dddd",function(e,t){return t.weekdaysRegex(e)}),J(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),J(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var Ti="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Mi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ei="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ai=ai,Li=ai,Di=ai;W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Ue),W("k",["kk",2],0,Ve),W("hmm",0,0,function(){return""+Ue.apply(this)+$(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Ue.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+$(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)}),Ye("a",!0),Ye("A",!1),N("hour","h"),q("hour",13),Y("a",Ge),Y("A",Ge),Y("H",Zr),Y("h",Zr),Y("k",Zr),Y("HH",Zr,Ur),Y("hh",Zr,Ur),Y("kk",Zr,Ur),Y("hmm",Kr),Y("hmmss",Xr),Y("Hmm",Kr),Y("Hmmss",Xr),X(["H","HH"],fi),X(["k","kk"],function(e,t,n){var r=x(e);t[fi]=24===r?0:r}),X(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),X(["h","hh"],function(e,t,n){t[fi]=x(e),h(n).bigHour=!0}),X("hmm",function(e,t,n){var r=e.length-2;t[fi]=x(e.substr(0,r)),t[pi]=x(e.substr(r)),h(n).bigHour=!0}),X("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[fi]=x(e.substr(0,r)),t[pi]=x(e.substr(r,2)),t[hi]=x(e.substr(i)),h(n).bigHour=!0}),X("Hmm",function(e,t,n){var r=e.length-2;t[fi]=x(e.substr(0,r)),t[pi]=x(e.substr(r))}),X("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[fi]=x(e.substr(0,r)),t[pi]=x(e.substr(r,2)),t[hi]=x(e.substr(i))});var ji,Oi=/[ap]\.?m?\.?/i,Fi=re("Hours",!0),Pi={calendar:Fr,longDateFormat:Pr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Nr,relativeTime:zr,months:xi,monthsShort:wi,week:Ci,weekdays:Ti,weekdaysMin:Ei,weekdaysShort:Mi,meridiemParse:Oi},Ni={},zi={},Ii=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/Z|[+-]\d\d(?::?\d\d)?/,$i=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Wi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Bi=/^\/?Date\((\-?\d+)/i,Hi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ui={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};n.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Vi=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Yi=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()}),Gi=function(){return Date.now?Date.now():+new Date},Zi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Nt("Z",":"),Nt("ZZ",""),Y("Z",ii),Y("ZZ",ii),X(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=zt(ii,e)});var Ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Xi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ji=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xt.fn=Ot.prototype,Xt.invalid=jt;var Qi=tn(1,"add"),eo=tn(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var to=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),zn("gggg","weekYear"),zn("ggggg","weekYear"),zn("GGGG","isoWeekYear"),zn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),Y("G",ni),Y("g",ni),Y("GG",Zr,Ur),Y("gg",Zr,Ur),Y("GGGG",Qr,Yr),Y("gggg",Qr,Yr),Y("GGGGG",ei,Gr),Y("ggggg",ei,Gr),J(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),J(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),N("quarter","Q"),q("quarter",7),Y("Q",Hr),X("Q",function(e,t){t[ui]=3*(x(e)-1)}),W("D",["DD",2],"Do","date"),N("date","D"),q("date",9),Y("D",Zr),Y("DD",Zr,Ur),Y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),X(["D","DD"],di),X("Do",function(e,t){t[di]=x(e.match(Zr)[0],10)});var no=re("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),q("dayOfYear",4),Y("DDD",Jr),Y("DDDD",Vr),X(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),W("m",["mm",2],0,"minute"),N("minute","m"),q("minute",14),Y("m",Zr),Y("mm",Zr,Ur),X(["m","mm"],pi);var ro=re("Minutes",!1);W("s",["ss",2],0,"second"),N("second","s"),q("second",15),Y("s",Zr),Y("ss",Zr,Ur),X(["s","ss"],hi);var io=re("Seconds",!1);W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),q("millisecond",16),Y("S",Jr,Hr),Y("SS",Jr,Ur),Y("SSS",Jr,Vr);var oo;for(oo="SSSS";oo.length<=9;oo+="S")Y(oo,ti);for(oo="S";oo.length<=9;oo+="S")X(oo,Vn);var ao=re("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var so=_.prototype;so.add=Qi,so.calendar=on,so.clone=an,so.diff=pn,so.endOf=Tn,so.format=_n,so.from=yn,so.fromNow=bn,so.to=xn,so.toNow=wn,so.get=ae,so.invalidAt=Pn,so.isAfter=sn,so.isBefore=ln,so.isBetween=cn,so.isSame=un,so.isSameOrAfter=dn,so.isSameOrBefore=fn,so.isValid=On,so.lang=to,so.locale=kn,so.localeData=Sn,so.max=Yi,so.min=Vi,so.parsingFlags=Fn,so.set=se,so.startOf=Cn,so.subtract=eo,so.toArray=Ln,so.toObject=Dn,so.toDate=An,so.toISOString=gn,so.inspect=vn,so.toJSON=jn,so.toString=mn,so.unix=En,so.valueOf=Mn,so.creationData=Nn,so.year=yi,so.isLeapYear=ne,so.weekYear=In,so.isoWeekYear=qn,so.quarter=so.quarters=Hn,so.month=me,so.daysInMonth=ge,so.week=so.weeks=Ae,so.isoWeek=so.isoWeeks=Le,so.weeksInYear=$n,so.isoWeeksInYear=Rn,so.date=no,so.day=so.days=Ie,so.weekday=qe,so.isoWeekday=Re,so.dayOfYear=Un,so.hour=so.hours=Fi,so.minute=so.minutes=ro,so.second=so.seconds=io,so.millisecond=so.milliseconds=ao,so.utcOffset=Rt,so.utc=Wt,so.local=Bt,so.parseZone=Ht,so.hasAlignedHourOffset=Ut,so.isDST=Vt,so.isLocal=Gt,so.isUtcOffset=Zt,so.isUtc=Kt,so.isUTC=Kt,so.zoneAbbr=Yn,so.zoneName=Gn,so.dates=S("dates accessor is deprecated. Use date instead.",no),so.months=S("months accessor is deprecated. Use month instead",me),so.years=S("years accessor is deprecated. Use year instead",yi),so.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$t),so.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yt);var lo=A.prototype;lo.calendar=L,lo.longDateFormat=D,lo.invalidDate=j,lo.ordinal=O,lo.preparse=Xn,lo.postformat=Xn,lo.relativeTime=F,lo.pastFuture=P,lo.set=M,lo.months=ue,lo.monthsShort=de,lo.monthsParse=pe,lo.monthsRegex=_e,lo.monthsShortRegex=ve,lo.week=Te,lo.firstDayOfYear=Ee,lo.firstDayOfWeek=Me,lo.weekdays=Oe,lo.weekdaysMin=Pe,lo.weekdaysShort=Fe,lo.weekdaysParse=ze,lo.weekdaysRegex=$e,lo.weekdaysShortRegex=We,lo.weekdaysMinRegex=Be,lo.isPM=Ze,lo.meridiem=Ke,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",rt);var co=Math.abs,uo=gr("ms"),fo=gr("s"),po=gr("m"),ho=gr("h"),mo=gr("d"),go=gr("w"),vo=gr("M"),_o=gr("y"),yo=yr("milliseconds"),bo=yr("seconds"),xo=yr("minutes"),wo=yr("hours"),ko=yr("days"),So=yr("months"),Co=yr("years"),To=Math.round,Mo={ss:44,s:45,m:45,h:22,d:26,M:11},Eo=Math.abs,Ao=Ot.prototype;return Ao.isValid=Dt,Ao.abs=ar,Ao.add=lr,Ao.subtract=cr,Ao.as=hr,Ao.asMilliseconds=uo,Ao.asSeconds=fo,Ao.asMinutes=po,Ao.asHours=ho,Ao.asDays=mo,Ao.asWeeks=go,Ao.asMonths=vo,Ao.asYears=_o,Ao.valueOf=mr,Ao._bubble=dr,Ao.clone=vr,Ao.get=_r,Ao.milliseconds=yo,Ao.seconds=bo,Ao.minutes=xo,Ao.hours=wo,Ao.days=ko,Ao.weeks=br,Ao.months=So,Ao.years=Co,Ao.humanize=Cr,Ao.toISOString=Mr,Ao.toString=Mr,Ao.toJSON=Mr,Ao.locale=kn,Ao.localeData=Sn,Ao.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),Ao.lang=to,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Y("x",ni),Y("X",oi),X("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),X("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.19.1",function(e){Er=e}(Tt),n.fn=so,n.min=Et,n.max=At,n.now=Gi,n.utc=f,n.unix=Zn,n.months=tr,n.isDate=l,n.locale=et,n.invalid=g,n.duration=Xt,n.isMoment=y,n.weekdays=rr,n.parseZone=Kn,n.localeData=rt,n.isDuration=Ft,n.monthsShort=nr,n.weekdaysMin=or,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=ir,n.normalizeUnits=z,n.relativeTimeRounding=kr,n.relativeTimeThreshold=Sr,n.calendarFormat=rn,n.prototype=so,n})},{}],440:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v<t;)h&&h[v].run();v=-1,t=m.length}h=null,g=!1,a(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var d,f,p=t.exports={};!function(){try{d="function"==typeof setTimeout?setTimeout:r}catch(e){d=r}try{f="function"==typeof clearTimeout?clearTimeout:i}catch(e){f=i}}();var h,m=[],g=!1,v=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new c(e,t)),1!==m.length||g||o(l)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],441:[function(e,t,n){(function(e){!function(r){function i(e){throw new RangeError(O[e])}function o(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(j,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i<o;)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function l(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=N(e>>>10&1023|55296),e=56320|1023&e),t+=N(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?P(e/T):e>>1,e+=P(e/t);e>F*S>>1;r+=w)e=P(e/F);return P(r+(F+1)*e/(e+C))}function f(e){var t,n,r,o,a,s,u,f,p,h,m=[],g=e.length,v=0,_=E,y=M;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(a=v,s=1,u=w;o>=g&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=w||f>P((x-v)/s))&&i("overflow"),v+=f*s,p=u<=y?k:u>=y+S?S:u-y,!(f<p);u+=w)h=w-p,s>P(x/h)&&i("overflow"),s*=h;t=m.length+1,y=d(v-a,t,0==a),P(v/t)>x-_&&i("overflow"),_+=P(v/t),v%=t,m.splice(v++,0,_)}return l(m)}function p(e){var t,n,r,o,a,l,c,f,p,h,m,g,v,_,y,b=[];for(e=s(e),g=e.length,t=E,n=0,a=M,l=0;l<g;++l)(m=e[l])<128&&b.push(N(m));for(r=o=b.length,o&&b.push(A);r<g;){for(c=x,l=0;l<g;++l)(m=e[l])>=t&&m<c&&(c=m);for(v=r+1,c-t>P((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;l<g;++l)if(m=e[l],m<t&&++n>x&&i("overflow"),m==t){for(f=n,p=w;h=p<=a?k:p>=a+S?S:p-a,!(f<h);p+=w)y=f-h,_=w-h,b.push(N(u(h+y%_,0))),f=P(y/_);b.push(N(u(f,0))),a=d(n,v,r==o),n=0,++r}++n,++t}return b.join("")}function h(e){return a(e,function(e){return L.test(e)?f(e.slice(4).toLowerCase()):e})}function m(e){return a(e,function(e){return D.test(e)?"xn--"+p(e):e})}var g="object"==typeof n&&n&&!n.nodeType&&n,v="object"==typeof t&&t&&!t.nodeType&&t,_="object"==typeof e&&e;_.global!==_&&_.window!==_&&_.self!==_||(r=_);var y,b,x=2147483647,w=36,k=1,S=26,C=38,T=700,M=72,E=128,A="-",L=/^xn--/,D=/[^\x20-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,P=Math.floor,N=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(b in y)y.hasOwnProperty(b)&&(g[b]=y[b]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],442:[function(e,t,n){(function(e){!function(e){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new p(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(t){function n(e,i,o,a){var s=r(t[e],t,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function i(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function c(e,t,n){var i=C;return function(o,a){if(i===M)throw new Error("Generator is already running");if(i===E){if("throw"===o)throw a;return m()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===A)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===C)throw i=E,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=M;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?E:T,c.arg===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=E,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(_.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,_=v.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",x=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag",k="object"==typeof t,S=e.regeneratorRuntime;if(S)return void(k&&(t.exports=S));S=e.regeneratorRuntime=k?t.exports:{},S.wrap=n;var C="suspendedStart",T="suspendedYield",M="executing",E="completed",A={},L={};L[b]=function(){return this};var D=Object.getPrototypeOf,j=D&&D(D(h([])));j&&j!==v&&_.call(j,b)&&(L=j);var O=a.prototype=i.prototype=Object.create(L);o.prototype=O.constructor=a,a.constructor=o,a[w]=o.displayName="GeneratorFunction",S.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},S.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(O),e},S.awrap=function(e){return{__await:e}},s(l.prototype),l.prototype[x]=function(){return this},S.AsyncIterator=l,S.async=function(e,t,r,i){var o=new l(n(e,t,r,i));return S.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(O),O[w]="Generator",O[b]=function(){return this},O.toString=function(){return"[object Generator]"},S.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},S.values=h,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&_.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=_.call(i,"catchLoc"),s=_.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,A):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;f(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),A}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],443:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],444:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=n=y({},n),t[Y]=this;var r={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(t.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==e.supportPointer};for(var i in r)!(i in n)&&(n[i]=r[i]);ue(n);for(var a in this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&ne,o(t,"mousedown",this._onTapStart),o(t,"touchstart",this._onTapStart),n.supportPointer&&o(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(t,"dragover",this),o(t,"dragenter",this)),le.push(this._onDragOver),n.store&&this.sort(n.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),M&&M.state!==t&&(l(M,"display",t?"none":""),t||M.state&&(e.options.group.revertClone?(E.insertBefore(M,A),e._animate(S,M)):E.insertBefore(M,S)),M.state=t)}function n(e,t,n){if(e){n=n||Z;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,ee)}function a(e,t,n){e.removeEventListener(t,n,ee)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(U," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(U," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Z.defaultView&&Z.defaultView.getComputedStyle?n=Z.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function u(e,t,n,r,i,o,a,s){e=e||t[Y];var l=Z.createEvent("Event"),c=e.options,u="on"+n.charAt(0).toUpperCase()+n.substr(1);l.initEvent(n,!0,!0),l.to=i||t,l.from=o||t,l.item=r||t,l.clone=M,l.oldIndex=a,l.newIndex=s,t.dispatchEvent(l),c[u]&&c[u].call(e,l)}function d(e,t,n,r,i,o,a,s){var l,c,u=e[Y],d=u.options.onMove;return l=Z.createEvent("Event"),l.initEvent("move",!0,!0),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||t.getBoundingClientRect(),l.willInsertAfter=s,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function f(e){e.draggable=!1}function p(){ie=!1}function h(e,t){var n=e.lastElementChild,r=n.getBoundingClientRect();return t.clientY-(r.top+r.height)>5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function _(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,X(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function y(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return Q&&Q.dom?Q.dom(e).cloneNode(!0):J?J(e).clone(!0)[0]:e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&se.push(r)}}function w(e){return X(e,0)}function k(e){return clearTimeout(e)}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var S,C,T,M,E,A,L,D,j,O,F,P,N,z,I,q,R,$,W,B,H={},U=/\s+/g,V=/left|right|inline/,Y="Sortable"+(new Date).getTime(),G=window,Z=G.document,K=G.parseInt,X=G.setTimeout,J=G.jQuery||G.Zepto,Q=G.Polymer,ee=!1,te=!1,ne="draggable"in Z.createElement("div"),re=function(e){return!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)&&(e=Z.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ie=!1,oe=Math.abs,ae=Math.min,se=[],le=[],ce=_(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[Y],u=t.scrollSensitivity,d=t.scrollSpeed,f=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(j!==n&&(D=t.scroll,j=n,O=t.scrollFn,!0===D)){D=n;do{if(D.offsetWidth<D.scrollWidth||D.offsetHeight<D.scrollHeight)break}while(D=D.parentNode)}D&&(r=D,i=D.getBoundingClientRect(),o=(oe(i.right-f)<=u)-(oe(i.left-f)<=u),a=(oe(i.bottom-p)<=u)-(oe(i.top-p)<=u)),o||a||(o=(h-f<=u)-(f<=u),a=(m-p<=u)-(p<=u),(o||a)&&(r=G)),H.vx===o&&H.vy===a&&H.el===r||(H.el=r,H.vx=o,H.vy=a,clearInterval(H.pid),r&&(H.pid=setInterval(function(){if(l=a?a*d:0,s=o?o*d:0,"function"==typeof O)return O.call(c,s,l,e);r===G?G.scrollTo(G.pageXOffset+s,G.pageYOffset+l):(r.scrollTop+=l,r.scrollLeft+=s)},24)))}},30),ue=function(e){function t(e,t){return void 0!==e&&!0!==e||(e=n.name),"function"==typeof e?e:function(n,r){var i=r.options.group.name;return t?e:e&&(e.join?e.indexOf(i)>-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){te=!1,ee={capture:!1,passive:te}}}))}catch(e){}return e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,d=e.target.shadowRoot&&e.path&&e.path[0]||c,f=o.filter;if(x(i),!S&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||o.disabled)&&!d.isContentEditable&&(c=n(c,o.draggable,i))&&L!==c){if(t=g(c,o.draggable),"function"==typeof f){if(f.call(this,e,c,this))return u(r,d,"filter",c,i,i,t),void(a&&e.preventDefault())}else if(f&&(f=f.split(",").some(function(e){if(e=n(d,e.trim(),i))return u(r,e,"filter",c,i,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(d,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,d=a.options,p=l.ownerDocument;n&&!S&&n.parentNode===l&&($=e,E=l,S=n,C=S.parentNode,A=S.nextSibling,L=n,q=d.group,z=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,S.style["will-change"]="all",i=function(){a._disableDelayedDrag(),S.draggable=a.nativeDraggable,s(S,d.chosenClass,!0),a._triggerDragStart(e,t),u(a,E,"choose",S,E,E,z)},d.ignore.split(",").forEach(function(e){c(S,e.trim(),f)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"selectstart",a),d.supportPointer&&o(p,"pointercancel",a._onDrop),d.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),d.supportPointer&&o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=X(i,d.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?($={target:S,clientX:t.clientX,clientY:t.clientY},this._onDragStart($,"touch")):this.nativeDraggable?(o(S,"dragend",this),o(E,"dragstart",this._onDragStart)):this._onDragStart($,!0);try{Z.selection?w(function(){Z.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(E&&S){var t=this.options;s(S,t.ghostClass,!0),s(S,t.dragClass,!1),e.active=this,u(this,E,"start",S,E,E,z)}else this._nulling()},_emulateDragOver:function(){if(W){if(this._lastX===W.clientX&&this._lastY===W.clientY)return;this._lastX=W.clientX,this._lastY=W.clientY,re||l(T,"display","none");var e=Z.elementFromPoint(W.clientX,W.clientY),t=e,n=le.length;if(e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(W.clientX,W.clientY),t=e),t)do{if(t[Y]){for(;n--;)le[n]({clientX:W.clientX,clientY:W.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);re||l(T,"display","")}},_onTouchMove:function(t){if($){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-$.clientX+i.x,s=o.clientY-$.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ae(oe(o.clientX-this._lastX),oe(o.clientY-this._lastY))<r)return;this._dragStarted()}this._appendGhost(),
B=!0,W=o,l(T,"webkitTransform",c),l(T,"mozTransform",c),l(T,"msTransform",c),l(T,"transform",c),t.preventDefault()}},_appendGhost:function(){if(!T){var e,t=S.getBoundingClientRect(),n=l(S),r=this.options;T=S.cloneNode(!0),s(T,r.ghostClass,!1),s(T,r.fallbackClass,!0),s(T,r.dragClass,!0),l(T,"top",t.top-K(n.marginTop,10)),l(T,"left",t.left-K(n.marginLeft,10)),l(T,"width",t.width),l(T,"height",t.height),l(T,"opacity","0.8"),l(T,"position","fixed"),l(T,"zIndex","100000"),l(T,"pointerEvents","none"),r.fallbackOnBody&&Z.body.appendChild(T)||E.appendChild(T),e=T.getBoundingClientRect(),l(T,"width",2*t.width-e.width),l(T,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;n._offUpEvents(),q.checkPull(n,n,S,e)&&(M=b(S),M.draggable=!1,M.style["will-change"]="",l(M,"display","none"),s(M,n.options.chosenClass,!1),n._cloneId=w(function(){E.insertBefore(M,S),u(n,E,"clone",S)})),s(S,i.dragClass,!0),t?("touch"===t?(o(Z,"touchmove",n._onTouchMove),o(Z,"touchend",n._onDrop),o(Z,"touchcancel",n._onDrop),i.supportPointer&&(o(Z,"pointermove",n._onTouchMove),o(Z,"pointerup",n._onDrop))):(o(Z,"mousemove",n._onTouchMove),o(Z,"mouseup",n._onDrop)),n._loopId=setInterval(n._emulateDragOver,50)):(r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,S)),o(Z,"drop",n),n._dragStartId=w(n._dragStarted))},_onDragOver:function(r){var i,o,a,s,c=this.el,u=this.options,f=u.group,m=e.active,g=q===f,v=!1,_=u.sort;if(void 0!==r.preventDefault&&(r.preventDefault(),!u.dragoverBubble&&r.stopPropagation()),!S.animated&&(B=!0,m&&!u.disabled&&(g?_||(s=!E.contains(S)):R===this||(m.lastPullMode=q.checkPull(this,m,S,r))&&f.checkPut(this,m,S,r))&&(void 0===r.rootEl||r.rootEl===this.el))){if(ce(r,u,this.el),ie)return;if(i=n(r.target,u.draggable,c),o=S.getBoundingClientRect(),R!==this&&(R=this,v=!0),s)return t(m,!0),C=E,void(M||A?E.insertBefore(S,M||A):_||E.appendChild(S));if(0===c.children.length||c.children[0]===T||c===r.target&&h(c,r)){if(0!==c.children.length&&c.children[0]!==T&&c===r.target&&(i=c.lastElementChild),i){if(i.animated)return;a=i.getBoundingClientRect()}t(m,g),!1!==d(E,c,S,o,i,a,r)&&(S.contains(c)||(c.appendChild(S),C=c),this._animate(o,S),i&&this._animate(a,i))}else if(i&&!i.animated&&i!==S&&void 0!==i.parentNode[Y]){F!==i&&(F=i,P=l(i),N=l(i.parentNode)),a=i.getBoundingClientRect();var y=a.right-a.left,b=a.bottom-a.top,x=V.test(P.cssFloat+P.display)||"flex"==N.display&&0===N["flex-direction"].indexOf("row"),w=i.offsetWidth>S.offsetWidth,k=i.offsetHeight>S.offsetHeight,L=(x?(r.clientX-a.left)/y:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,j=!1;if(x){var O=S.offsetTop,z=i.offsetTop;j=O===z?i.previousElementSibling===S&&!w||L&&w:i.previousElementSibling===S||S.previousElementSibling===i?(r.clientY-a.top)/b>.5:z>O}else v||(j=D!==S&&!k||L&&k);var I=d(E,c,S,o,i,a,r,j);!1!==I&&(1!==I&&-1!==I||(j=1===I),ie=!0,X(p,30),t(m,g),S.contains(c)||(j&&!D?c.appendChild(S):i.parentNode.insertBefore(S,j?D:i)),C=S.parentNode,this._animate(o,S),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=X(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Z,"touchmove",this._onTouchMove),a(Z,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(H.pid),clearTimeout(this._dragStartTimer),k(this._cloneId),k(this._dragStartId),a(Z,"mouseover",this),a(Z,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Z,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(B&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),T&&T.parentNode&&T.parentNode.removeChild(T),E!==C&&"clone"===e.active.lastPullMode||M&&M.parentNode&&M.parentNode.removeChild(M),S&&(this.nativeDraggable&&a(S,"dragend",this),f(S),S.style["will-change"]="",s(S,this.options.ghostClass,!1),s(S,this.options.chosenClass,!1),u(this,E,"unchoose",S,C,E,z),E!==C?(I=g(S,r.draggable))>=0&&(u(null,C,"add",S,C,E,z,I),u(this,E,"remove",S,C,E,z,I),u(null,C,"sort",S,C,E,z,I),u(this,E,"sort",S,C,E,z,I)):S.nextSibling!==A&&(I=g(S,r.draggable))>=0&&(u(this,E,"update",S,C,E,z,I),u(this,E,"sort",S,C,E,z,I)),e.active&&(null!=I&&-1!==I||(I=z),u(this,E,"end",S,C,E,z,I),this.save()))),this._nulling()},_nulling:function(){E=S=C=T=A=M=L=D=j=$=W=B=I=F=P=R=q=e.active=null,se.forEach(function(e){e.checked=!0}),se.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":S&&(this._onDragOver(e),i(e));break;case"mouseover":this._onDrop(e);break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i<o;i++)e=r[i],n(e,a.draggable,this.el)&&t.push(e.getAttribute(a.dataIdAttr)||m(e));return t},sort:function(e){var t={},r=this.el;this.toArray().forEach(function(e,i){var o=r.children[i];n(o,this.options.draggable,r)&&(t[e]=o)},this),e.forEach(function(e){t[e]&&(r.removeChild(t[e]),r.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return n(e,t||this.options.draggable,this.el)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];n[e]=t,"group"===e&&ue(n)},destroy:function(){var e=this.el;e[Y]=null,a(e,"mousedown",this._onTapStart),a(e,"touchstart",this._onTapStart),a(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(a(e,"dragover",this),a(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),le.splice(le.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},o(Z,"touchmove",function(t){e.active&&t.preventDefault()}),e.utils={on:o,off:a,css:l,find:c,is:function(e,t){return!!n(e,t,e)},extend:y,throttle:_,closest:n,toggleClass:s,clone:b,index:g,nextTick:w,cancelNextTick:k},e.create=function(t,n){return new e(t,n)},e.version="1.7.0",e})},{}],445:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},t.exports=r},{}],446:[function(e,t,n){t.exports=/[\0-\x1F\x7F-\x9F]/},{}],447:[function(e,t,n){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},{}],448:[function(e,t,n){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},{}],449:[function(e,t,n){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},{}],450:[function(e,t,n){"use strict";n.Any=e("./properties/Any/regex"),n.Cc=e("./categories/Cc/regex"),n.Cf=e("./categories/Cf/regex"),n.P=e("./categories/P/regex"),n.Z=e("./categories/Z/regex")},{"./categories/Cc/regex":446,"./categories/Cf/regex":447,"./categories/P/regex":448,"./categories/Z/regex":449,"./properties/Any/regex":451}],451:[function(e,t,n){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},{}],452:[function(e,t,n){(function(e){"use strict";function n(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function i(e){return!0===e}function o(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Object]"===Qi.call(e)}function c(e){return"[object RegExp]"===Qi.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function h(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function m(e,t){return no.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function v(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n<e.length;n++)e[n]&&y(t,e[n]);return t}function x(e,t,n){}function w(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return w(e,t[n])});if(i||o)return!1;var a=Object.keys(e),l=Object.keys(t);return a.length===l.length&&a.every(function(n){return w(e[n],t[n])})}catch(e){return!1}}function k(e,t){for(var n=0;n<e.length;n++)if(w(e[n],t))return n;return-1}function S(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function C(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function T(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function M(e){if(!go.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function E(e){return"function"==typeof e&&/native code/.test(e.toString())}function A(e){Po.target&&No.push(Po.target),Po.target=e}function L(){Po.target=No.pop()}function D(e){return new zo(void 0,void 0,void 0,String(e))}function j(e,t){var n=e.componentOptions,r=new zo(e.tag,e.data,e.children,e.text,e.elm,e.context,n,e.asyncFactory);return r.ns=e.ns,r.isStatic=e.isStatic,r.key=e.key,r.isComment=e.isComment,r.isCloned=!0,t&&(e.children&&(r.children=O(e.children,!0)),n&&n.children&&(n.children=O(n.children,!0))),r}function O(e,t){for(var n=e.length,r=new Array(n),i=0;i<n;i++)r[i]=j(e[i],t);return r}function F(e,t,n){e.__proto__=t}function P(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];T(e,o,t[o])}}function N(e,t){if(s(e)&&!(e instanceof zo)){var n;return m(e,"__ob__")&&e.__ob__ instanceof Ho?n=e.__ob__:Bo.shouldConvert&&!Lo()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ho(e)),t&&n&&n.vmCount++,n}}function z(e,t,n,r,i){var o=new Po,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set,c=!i&&N(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return Po.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&R(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||(l?l.call(e,t):n=t,c=!i&&N(t),o.notify())}})}}function I(e,t,n){if(Array.isArray(e)&&u(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(z(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function q(e,t){if(Array.isArray(e)&&u(t))return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||m(e,t)&&(delete e[t],n&&n.dep.notify())}function R(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&R(t)}function $(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),a=0;a<o.length;a++)n=o[a],r=e[n],i=t[n],m(e,n)?l(r)&&l(i)&&$(r,i):I(e,n,i);return e}function W(e,t,n){return n?function(){var r="function"==typeof t?t.call(n):t,i="function"==typeof e?e.call(n):e;return r?$(r,i):i}:t?e?function(){return $("function"==typeof t?t.call(this):t,"function"==typeof e?e.call(this):e)}:t:e}function B(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function H(e,t,n,r){var i=Object.create(e||null);return t?y(i,t):i}function U(e,t){var n=e.props;if(n){var r,i,o,a={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o=io(i),a[o]={type:null});else if(l(n))for(var s in n)i=n[s],o=io(s),a[o]=l(i)?i:{type:i};e.props=a}}function V(e,t){var n=e.inject,r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?y({from:o},a):{from:a}}}function Y(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function G(e,t,n){function r(r){var i=Uo[r]||Go;l[r]=i(e[r],t[r],n,r)}"function"==typeof t&&(t=t.options),U(t,n),V(t,n),Y(t);var i=t.extends;if(i&&(e=G(e,i,n)),t.mixins)for(var o=0,a=t.mixins.length;o<a;o++)e=G(e,t.mixins[o],n);var s,l={};for(s in e)r(s);for(s in t)m(e,s)||r(s);return l}function Z(e,t,n,r){if("string"==typeof n){var i=e[t];if(m(i,n))return i[n];var o=io(n);if(m(i,o))return i[o];var a=oo(o);if(m(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function K(e,t,n,r){var i=t[e],o=!m(n,e),a=n[e];if(Q(Boolean,i.type)&&(o&&!m(i,"default")?a=!1:Q(String,i.type)||""!==a&&a!==so(e)||(a=!0)),void 0===a){a=X(r,i,e);var s=Bo.shouldConvert;Bo.shouldConvert=!0,N(a),Bo.shouldConvert=s}return a}function X(e,t,n){if(m(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==J(t.type)?r.call(e):r}}function J(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Q(e,t){if(!Array.isArray(t))return J(t)===J(e);for(var n=0,r=t.length;n<r;n++)if(J(t[n])===J(e))return!0;return!1}function ee(e,t,n){if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,e,t,n);if(a)return}catch(e){te(e,r,"errorCaptured hook")}}te(e,t,n)}function te(e,t,n){if(ho.errorHandler)try{return ho.errorHandler.call(null,e,t,n)}catch(e){ne(e,null,"config.errorHandler")}ne(e,t,n)}function ne(e,t,n){if(!_o||"undefined"==typeof console)throw e;console.error(e)}function re(){Ko=!1;var e=Zo.slice(0);Zo.length=0;for(var t=0;t<e.length;t++)e[t]()}function ie(e){return e._withTask||(e._withTask=function(){Xo=!0;var t=e.apply(null,arguments);return Xo=!1,t})}function oe(e,t){var n;if(Zo.push(function(){if(e)try{e.call(t)}catch(e){ee(e,t,"nextTick")}else n&&n(t)}),Ko||(Ko=!0,Xo?Yo():Vo()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}function ae(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,e)}return t.fns=e,t}function se(e,t,r,i,o){var a,s,l,c;for(a in e)s=e[a],l=t[a],c=na(a),n(s)||(n(l)?(n(s.fns)&&(s=e[a]=ae(s)),r(c.name,s,c.once,c.capture,c.passive)):s!==l&&(l.fns=s,e[a]=l));for(a in t)n(e[a])&&(c=na(a),i(c.name,t[a],c.capture))}function le(e,t,o){function a(){o.apply(this,arguments),h(s.fns,a)}e instanceof zo&&(e=e.data.hook||(e.data.hook={}));var s,l=e[t];n(l)?s=ae([a]):r(l.fns)&&i(l.merged)?(s=l,s.fns.push(a)):s=ae([l,a]),s.merged=!0,e[t]=s}function ce(e,t,i){var o=t.options.props;if(!n(o)){var a={},s=e.attrs,l=e.props;if(r(s)||r(l))for(var c in o){var u=so(c);ue(a,l,c,u,!0)||ue(a,s,c,u,!1)}return a}}function ue(e,t,n,i,o){if(r(t)){if(m(t,n))return e[n]=t[n],o||delete t[n],!0;if(m(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function de(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function fe(e){return a(e)?[D(e)]:Array.isArray(e)?he(e):void 0}function pe(e){return r(e)&&r(e.text)&&o(e.isComment)}function he(e,t){var o,s,l,c,u=[];for(o=0;o<e.length;o++)s=e[o],n(s)||"boolean"==typeof s||(l=u.length-1,c=u[l],Array.isArray(s)?s.length>0&&(s=he(s,(t||"")+"_"+o),pe(s[0])&&pe(c)&&(u[l]=D(c.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?pe(c)?u[l]=D(c.text+s):""!==s&&u.push(D(s)):pe(s)&&pe(c)?u[l]=D(c.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),u.push(s)));return u}function me(e,t){return(e.__esModule||jo&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function ge(e,t,n,r,i){var o=qo();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function ve(e,t,o){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[o],l=!0,c=function(){for(var e=0,t=a.length;e<t;e++)a[e].$forceUpdate()},u=S(function(n){e.resolved=me(n,t),l||c()}),d=S(function(t){r(e.errorComp)&&(e.error=!0,c())}),f=e(u,d);return s(f)&&("function"==typeof f.then?n(e.resolved)&&f.then(u,d):r(f.component)&&"function"==typeof f.component.then&&(f.component.then(u,d),r(f.error)&&(e.errorComp=me(f.error,t)),r(f.loading)&&(e.loadingComp=me(f.loading,t),0===f.delay?e.loading=!0:setTimeout(function(){n(e.resolved)&&n(e.error)&&(e.loading=!0,c())},f.delay||200)),r(f.timeout)&&setTimeout(function(){n(e.resolved)&&d(null)},f.timeout))),l=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(o)}function _e(e){return e.isComment&&e.asyncFactory}function ye(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||_e(n)))return n}}function be(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ke(e,t)}function xe(e,t,n){n?ta.$once(e,t):ta.$on(e,t)}function we(e,t){ta.$off(e,t)}function ke(e,t,n){ta=e,se(t,n||{},xe,we,e),ta=void 0}function Se(e,t){var n={};if(!e)return n;for(var r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.functionalContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=o.data.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children):l.push(o)}}for(var c in n)n[c].every(Ce)&&delete n[c];return n}function Ce(e){return e.isComment||" "===e.text}function Te(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?Te(e[n],t):t[e[n].key]=e[n].fn;return t}function Me(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Ee(e,t,n){e.$el=t,e.$options.render||(e.$options.render=qo),Oe(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new da(e,r,x),n=!1,null==e.$vnode&&(e._isMounted=!0,Oe(e,"mounted")),e}function Ae(e,t,n,r,i){var o=!!(i||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==mo);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,e.$attrs=r.data&&r.data.attrs||mo,e.$listeners=n||mo,t&&e.$options.props){Bo.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],l=0;l<s.length;l++){var c=s[l];a[c]=K(c,e.$options.props,t,e)}Bo.shouldConvert=!0,e.$options.propsData=t}if(n){var u=e.$options._parentListeners;e.$options._parentListeners=n,ke(e,n,u)}o&&(e.$slots=Se(i,r.context),e.$forceUpdate())}function Le(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function De(e,t){if(t){if(e._directInactive=!1,Le(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)De(e.$children[n]);Oe(e,"activated")}}function je(e,t){if(!(t&&(e._directInactive=!0,Le(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)je(e.$children[n]);Oe(e,"deactivated")}}function Oe(e,t){var n=e.$options[t];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(e)}catch(n){ee(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function Fe(){ca=ia.length=oa.length=0,aa={},sa=la=!1}function Pe(){la=!0;var e,t;for(ia.sort(function(e,t){return e.id-t.id}),ca=0;ca<ia.length;ca++)e=ia[ca],t=e.id,aa[t]=null,e.run();var n=oa.slice(),r=ia.slice();Fe(),Ie(n),Ne(r),Do&&ho.devtools&&Do.emit("flush")}function Ne(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Oe(r,"updated")}}function ze(e){e._inactive=!1,oa.push(e)}function Ie(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,De(e[t],!0)}function qe(e){var t=e.id;if(null==aa[t]){if(aa[t]=!0,la){for(var n=ia.length-1;n>ca&&ia[n].id>e.id;)n--;ia.splice(n+1,0,e)}else ia.push(e);sa||(sa=!0,oe(Pe))}}function Re(e){fa.clear(),$e(e,fa)}function $e(e,t){var n,r,i=Array.isArray(e);if((i||s(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)$e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)$e(e[r[n]],t)}}function We(e,t,n){pa.get=function(){return this[t][n]},pa.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pa)}function Be(e){e._watchers=[];var t=e.$options;t.props&&He(e,t.props),t.methods&&Ke(e,t.methods),t.data?Ue(e):N(e._data={},!0),t.computed&&Ye(e,t.computed),t.watch&&t.watch!==Co&&Xe(e,t.watch)}function He(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;Bo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=K(o,t,n,e);z(r,o,a),o in e||We(e,"_props",o)}(a);Bo.shouldConvert=!0}function Ue(e){var t=e.$options.data;t=e._data="function"==typeof t?Ve(t,e):t||{},l(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];r&&m(r,o)||C(o)||We(e,"_data",o)}N(t,!0)}function Ve(e,t){try{return e.call(t,t)}catch(e){return ee(e,t,"data()"),{}}}function Ye(e,t){var n=e._computedWatchers=Object.create(null),r=Lo();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new da(e,a||x,x,ha)),i in e||Ge(e,i,o)}}function Ge(e,t,n){var r=!Lo();"function"==typeof n?(pa.get=r?Ze(t):n,pa.set=x):(pa.get=n.get?r&&!1!==n.cache?Ze(t):n.get:x,pa.set=n.set?n.set:x),Object.defineProperty(e,t,pa)}function Ze(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Po.target&&t.depend(),t.value}}function Ke(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?x:v(t[n],e)}function Xe(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Je(e,n,r[i]);else Je(e,n,r)}}function Je(e,t,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Qe(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function et(e){var t=tt(e.$options.inject,e);t&&(Bo.shouldConvert=!1,Object.keys(t).forEach(function(n){z(e,n,t[n])}),Bo.shouldConvert=!0)}function tt(e,t){if(e){for(var n=Object.create(null),r=jo?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),i=0;i<r.length;i++){for(var o=r[i],a=e[o].from,s=t;s;){if(s._provided&&a in s._provided){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}}return n}}function nt(e,t){var n,i,o,a,l;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(s(e))for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)l=a[i],n[i]=t(e[l],l,i);return r(n)&&(n._isVList=!0),n}function rt(e,t,n,r){var i,o=this.$scopedSlots[e];if(o)n=n||{},r&&(n=y(y({},r),n)),i=o(n)||t;else{var a=this.$slots[e];a&&(a._rendered=!0),i=a||t}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function it(e){return Z(this.$options,"filters",e,!0)||co}function ot(e,t,n,r){var i=ho.keyCodes[t]||n;return i?Array.isArray(i)?-1===i.indexOf(e):i!==e:r?so(r)!==t:void 0}function at(e,t,n,r,i){if(n)if(s(n)){Array.isArray(n)&&(n=b(n));var o;for(var a in n)!function(a){if("class"===a||"style"===a||to(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||ho.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}if(!(a in o)&&(o[a]=n[a],i)){(e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}}}(a)}else;return e}function st(e,t){var n=this.$options,r=n.cached||(n.cached=[]),i=r[e];return i&&!t?Array.isArray(i)?O(i):j(i):(i=r[e]=n.staticRenderFns[e].call(this._renderProxy,null,this),ct(i,"__static__"+e,!1),i)}function lt(e,t,n){return ct(e,"__once__"+t+(n?"_"+n:""),!0),e}function ct(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&ut(e[r],t+"_"+r,n);else ut(e,t,n)}function ut(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function dt(e,t){if(t)if(l(t)){var n=e.on=e.on?y({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function ft(e){e._o=lt,e._n=f,e._s=d,e._l=nt,e._t=rt,e._q=w,e._i=k,e._m=st,e._f=it,e._k=ot,e._b=at,e._v=D,e._e=qo,e._u=Te,e._g=dt}function pt(e,t,n,r,o){var a=o.options;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||mo,this.injections=tt(a.inject,r),this.slots=function(){return Se(n,r)};var s=Object.create(r),l=i(a._compiled),c=!l;l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||mo),a._scopeId?this._c=function(e,t,n,i){var o=xt(s,e,t,n,i,c);return o&&(o.functionalScopeId=a._scopeId,o.functionalContext=r),o}:this._c=function(e,t,n,r){return xt(s,e,t,n,r,c)}}function ht(e,t,n,i,o){var a=e.options,s={},l=a.props;if(r(l))for(var c in l)s[c]=K(c,l,t||mo);else r(n.attrs)&&mt(s,n.attrs),r(n.props)&&mt(s,n.props);var u=new pt(n,s,o,i,e),d=a.render.call(null,u._c,u);return d instanceof zo&&(d.functionalContext=i,d.functionalOptions=a,n.slot&&((d.data||(d.data={})).slot=n.slot)),d}function mt(e,t){for(var n in t)e[io(n)]=t[n]}function gt(e,t,o,a,l){if(!n(e)){var c=o.$options._base;if(s(e)&&(e=c.extend(e)),"function"==typeof e){var u;if(n(e.cid)&&(u=e,void 0===(e=ve(u,c,o))))return ge(u,t,o,a,l);t=t||{},Tt(e),r(t.model)&&bt(e.options,t);var d=ce(t,e,l);if(i(e.options.functional))return ht(e,d,t,o,a);var f=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}_t(t);var h=e.options.name||l;return new zo("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,o,{Ctor:e,propsData:d,listeners:f,tag:l,children:a},u)}}}function vt(e,t,n,i){var o=e.componentOptions,a={_isComponent:!0,parent:t,propsData:o.propsData,_componentTag:o.tag,_parentVnode:e,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:i||null},s=e.data.inlineTemplate;return r(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new o.Ctor(a)}function _t(e){e.hook||(e.hook={});for(var t=0;t<ga.length;t++){var n=ga[t],r=e.hook[n],i=ma[n];e.hook[n]=r?yt(i,r):i}}function yt(e,t){return function(n,r,i,o){e(n,r,i,o),t(n,r,i,o)}}function bt(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var o=t.on||(t.on={});r(o[i])?o[i]=[t.model.callback].concat(o[i]):o[i]=t.model.callback}function xt(e,t,n,r,o,s){return(Array.isArray(n)||a(n))&&(o=r,r=n,n=void 0),i(s)&&(o=_a),wt(e,t,n,r,o)}function wt(e,t,n,i,o){if(r(n)&&r(n.__ob__))return qo();if(r(n)&&r(n.is)&&(t=n.is),!t)return qo();Array.isArray(i)&&"function"==typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===_a?i=fe(i):o===va&&(i=de(i));var a,s;if("string"==typeof t){var l;s=e.$vnode&&e.$vnode.ns||ho.getTagNamespace(t),a=ho.isReservedTag(t)?new zo(ho.parsePlatformTagName(t),n,i,void 0,void 0,e):r(l=Z(e.$options,"components",t))?gt(l,n,e,i,t):new zo(t,n,i,void 0,void 0,e)}else a=gt(t,n,e,i);return r(a)?(s&&kt(a,s),a):qo()}function kt(e,t,o){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,o=!0),r(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];r(l.tag)&&(n(l.ns)||i(o))&&kt(l,t,o)}}function St(e){e._vnode=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=Se(t._renderChildren,r),e.$scopedSlots=mo,e._c=function(t,n,r,i){return xt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return xt(e,t,n,r,i,!0)};var i=n&&n.data;z(e,"$attrs",i&&i.attrs||mo,null,!0),z(e,"$listeners",t._parentListeners||mo,null,!0)}function Ct(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function Tt(e){var t=e.options;if(e.super){var n=Tt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=Mt(e);r&&y(e.extendOptions,r),t=e.options=G(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Mt(e){var t,n=e.options,r=e.extendOptions,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=Et(n[o],r[o],i[o]));return t}function Et(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var i=0;i<e.length;i++)(t.indexOf(e[i])>=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function At(e){this._init(e)}function Lt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Dt(e){e.mixin=function(e){return this.options=G(this.options,e),this}}function jt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=G(n.options,e),a.super=n,a.options.props&&Ot(a),a.options.computed&&Ft(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,fo.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),
a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function Ot(e){var t=e.options.props;for(var n in t)We(e.prototype,"_props",n)}function Ft(e){var t=e.options.computed;for(var n in t)Ge(e.prototype,n,t[n])}function Pt(e){fo.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Nt(e){return e&&(e.Ctor.options.name||e.tag)}function zt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function It(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Nt(a.componentOptions);s&&!t(s)&&qt(n,o,r,i)}}}function qt(e,t,n,r){var i=e[t];i&&i!==r&&i.componentInstance.$destroy(),e[t]=null,h(n,t)}function Rt(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(t=$t(i.data,t));for(;r(n=n.parent);)n.data&&(t=$t(t,n.data));return Wt(t.staticClass,t.class)}function $t(e,t){return{staticClass:Bt(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Wt(e,t){return r(e)||r(t)?Bt(e,Ht(t)):""}function Bt(e,t){return e?t?e+" "+t:e:t||""}function Ht(e){return Array.isArray(e)?Ut(e):s(e)?Vt(e):"string"==typeof e?e:""}function Ut(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=Ht(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Vt(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function Yt(e){return Ba(e)?"svg":"math"===e?"math":void 0}function Gt(e){if(!_o)return!0;if(Ua(e))return!1;if(e=e.toLowerCase(),null!=Va[e])return Va[e];var t=document.createElement(e);return e.indexOf("-")>-1?Va[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Va[e]=/HTMLUnknownElement/.test(t.toString())}function Zt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Xt(e,t){return document.createElementNS($a[e],t)}function Jt(e){return document.createTextNode(e)}function Qt(e){return document.createComment(e)}function en(e,t,n){e.insertBefore(t,n)}function tn(e,t){e.removeChild(t)}function nn(e,t){e.appendChild(t)}function rn(e){return e.parentNode}function on(e){return e.nextSibling}function an(e){return e.tagName}function sn(e,t){e.textContent=t}function ln(e,t,n){e.setAttribute(t,n)}function cn(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function un(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&dn(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function dn(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Ya(i)&&Ya(o)}function fn(e,t,n){var i,o,a={};for(i=t;i<=n;++i)o=e[i].key,r(o)&&(a[o]=i);return a}function pn(e,t){(e.data.directives||t.data.directives)&&hn(e,t)}function hn(e,t){var n,r,i,o=e===Ka,a=t===Ka,s=mn(e.data.directives,e.context),l=mn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,vn(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(vn(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n<c.length;n++)vn(c[n],"inserted",t,e)};o?le(t,"insert",d):d()}if(u.length&&le(t,"postpatch",function(){for(var n=0;n<u.length;n++)vn(u[n],"componentUpdated",t,e)}),!o)for(n in s)l[n]||vn(s[n],"unbind",e,e,a)}function mn(e,t){var n=Object.create(null);if(!e)return n;var r,i;for(r=0;r<e.length;r++)i=e[r],i.modifiers||(i.modifiers=Qa),n[gn(i)]=i,i.def=Z(t.$options,"directives",i.name,!0);return n}function gn(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function vn(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){ee(r,n.context,"directive "+e.name+" "+t+" hook")}}function _n(e,t){var i=t.componentOptions;if(!(r(i)&&!1===i.Ctor.options.inheritAttrs||n(e.data.attrs)&&n(t.data.attrs))){var o,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};r(c.__ob__)&&(c=t.data.attrs=y({},c));for(o in c)a=c[o],l[o]!==a&&yn(s,o,a);(xo||wo)&&c.value!==l.value&&yn(s,"value",c.value);for(o in l)n(c[o])&&(Ia(o)?s.removeAttributeNS(za,qa(o)):Pa(o)||s.removeAttribute(o))}}function yn(e,t,n){Na(t)?Ra(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Pa(t)?e.setAttribute(t,Ra(n)||"false"===n?"false":"true"):Ia(t)?Ra(n)?e.removeAttributeNS(za,qa(t)):e.setAttributeNS(za,t,n):Ra(n)?e.removeAttribute(t):e.setAttribute(t,n)}function bn(e,t){var i=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Rt(t),l=i._transitionClasses;r(l)&&(s=Bt(s,Ht(l))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}function xn(e){function t(){(a||(a=[])).push(e.slice(h,i).trim()),h=i+1}var n,r,i,o,a,s=!1,l=!1,c=!1,u=!1,d=0,f=0,p=0,h=0;for(i=0;i<e.length;i++)if(r=n,n=e.charCodeAt(i),s)39===n&&92!==r&&(s=!1);else if(l)34===n&&92!==r&&(l=!1);else if(c)96===n&&92!==r&&(c=!1);else if(u)47===n&&92!==r&&(u=!1);else if(124!==n||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||d||f||p){switch(n){case 34:l=!0;break;case 39:s=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--}if(47===n){for(var m=i-1,g=void 0;m>=0&&" "===(g=e.charAt(m));m--);g&&rs.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i<a.length;i++)o=wn(o,a[i]);return o}function wn(e,t){var n=t.indexOf("(");return n<0?'_f("'+t+'")('+e+")":'_f("'+t.slice(0,n)+'")('+e+","+t.slice(n+1)}function kn(e){console.error("[Vue compiler]: "+e)}function Sn(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Cn(e,t,n){(e.props||(e.props=[])).push({name:t,value:n})}function Tn(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n})}function Mn(e,t,n,r,i,o){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:r,arg:i,modifiers:o})}function En(e,t,n,r,i,o){r&&r.capture&&(delete r.capture,t="!"+t),r&&r.once&&(delete r.once,t="~"+t),r&&r.passive&&(delete r.passive,t="&"+t);var a;r&&r.native?(delete r.native,a=e.nativeEvents||(e.nativeEvents={})):a=e.events||(e.events={});var s={value:n,modifiers:r},l=a[t];Array.isArray(l)?i?l.unshift(s):l.push(s):a[t]=l?i?[s,l]:[l,s]:s}function An(e,t,n){var r=Ln(e,":"+t)||Ln(e,"v-bind:"+t);if(null!=r)return xn(r);if(!1!==n){var i=Ln(e,t);if(null!=i)return JSON.stringify(i)}}function Ln(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function Dn(e,t,n){var r=n||{},i=r.number,o=r.trim,a="$$v";o&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=jn(t,a);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+s+"}"}}function jn(e,t){var n=On(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function On(e){if(ka=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ka-1)return Ta=e.lastIndexOf("."),Ta>-1?{exp:e.slice(0,Ta),key:'"'+e.slice(Ta+1)+'"'}:{exp:e,key:null};for(Sa=e,Ta=Ma=Ea=0;!Pn();)Ca=Fn(),Nn(Ca)?In(Ca):91===Ca&&zn(Ca);return{exp:e.slice(0,Ma),key:e.slice(Ma+1,Ea)}}function Fn(){return Sa.charCodeAt(++Ta)}function Pn(){return Ta>=ka}function Nn(e){return 34===e||39===e}function zn(e){var t=1;for(Ma=Ta;!Pn();)if(e=Fn(),Nn(e))In(e);else if(91===e&&t++,93===e&&t--,0===t){Ea=Ta;break}}function In(e){for(var t=e;!Pn()&&(e=Fn())!==t;);}function qn(e,t,n){Aa=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Dn(e,r,i),!1;if("select"===o)Wn(e,r,i);else if("input"===o&&"checkbox"===a)Rn(e,r,i);else if("input"===o&&"radio"===a)$n(e,r,i);else if("input"===o||"textarea"===o)Bn(e,r,i);else if(!ho.isReservedTag(o))return Dn(e,r,i),!1;return!0}function Rn(e,t,n){var r=n&&n.number,i=An(e,"value")||"null",o=An(e,"true-value")||"true",a=An(e,"false-value")||"false";Cn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),En(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+jn(t,"$$c")+"}",null,!0)}function $n(e,t,n){var r=n&&n.number,i=An(e,"value")||"null";i=r?"_n("+i+")":i,Cn(e,"checked","_q("+t+","+i+")"),En(e,"change",jn(t,i),null,!0)}function Wn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+jn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),En(e,"change",o,null,!0)}function Bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?is:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=jn(t,u);l&&(d="if($event.target.composing)return;"+d),Cn(e,"value","("+t+")"),En(e,c,d,null,!0),(s||a)&&En(e,"blur","$forceUpdate()")}function Hn(e){if(r(e[is])){var t=bo?"change":"input";e[t]=[].concat(e[is],e[t]||[]),delete e[is]}r(e[os])&&(e.change=[].concat(e[os],e.change||[]),delete e[os])}function Un(e,t,n){var r=La;return function i(){null!==e.apply(null,arguments)&&Yn(t,i,n,r)}}function Vn(e,t,n,r,i){t=ie(t),n&&(t=Un(t,e,r)),La.addEventListener(e,t,To?{capture:r,passive:i}:r)}function Yn(e,t,n,r){(r||La).removeEventListener(e,t._withTask||t,n)}function Gn(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};La=t.elm,Hn(r),se(r,i,Vn,Yn,t.context),La=void 0}}function Zn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};r(l.__ob__)&&(l=t.data.domProps=y({},l));for(i in s)n(l[i])&&(a[i]="");for(i in l){if(o=l[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i){a._value=o;var c=n(o)?"":String(o);Kn(a,c)&&(a.value=c)}else a[i]=o}}}function Kn(e,t){return!e.composing&&("OPTION"===e.tagName||Xn(e,t)||Jn(e,t))}function Xn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Jn(e,t){var n=e.value,i=e._vModifiers;return r(i)&&i.number?f(n)!==f(t):r(i)&&i.trim?n.trim()!==t.trim():n!==t}function Qn(e){var t=er(e.style);return e.staticStyle?y(e.staticStyle,t):t}function er(e){return Array.isArray(e)?b(e):"string"==typeof e?ls(e):e}function tr(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Qn(i.data))&&y(r,n);(n=Qn(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Qn(o.data))&&y(r,n);return r}function nr(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},d=c||u,f=er(t.data.style)||{};t.data.normalizedStyle=r(f.__ob__)?y({},f):f;var p=tr(t,!0);for(s in d)n(p[s])&&ds(l,s,"");for(s in p)(a=p[s])!==d[s]&&ds(l,s,null==a?"":a)}}function rr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ir(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function or(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,ms(e.name||"v")),y(t,e),t}return"string"==typeof e?ms(e):void 0}}function ar(e){ks(function(){ks(e)})}function sr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),rr(e,t))}function lr(e,t){e._transitionClasses&&h(e._transitionClasses,t),ir(e,t)}function cr(e,t,n){var r=ur(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===vs?bs:ws,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),e.addEventListener(s,u)}function ur(e,t){var n,r=window.getComputedStyle(e),i=r[ys+"Delay"].split(", "),o=r[ys+"Duration"].split(", "),a=dr(i,o),s=r[xs+"Delay"].split(", "),l=r[xs+"Duration"].split(", "),c=dr(s,l),u=0,d=0;return t===vs?a>0&&(n=vs,u=a,d=o.length):t===_s?c>0&&(n=_s,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?vs:_s:null,d=n?n===vs?o.length:l.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===vs&&Ss.test(r[ys+"Property"])}}function dr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return fr(t)+fr(e[n])}))}function fr(e){return 1e3*Number(e.slice(0,-1))}function pr(e,t){var i=e.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var o=or(e.data.transition);if(!n(o)&&!r(i._enterCb)&&1===i.nodeType){for(var a=o.css,l=o.type,c=o.enterClass,u=o.enterToClass,d=o.enterActiveClass,p=o.appearClass,h=o.appearToClass,m=o.appearActiveClass,g=o.beforeEnter,v=o.enter,_=o.afterEnter,y=o.enterCancelled,b=o.beforeAppear,x=o.appear,w=o.afterAppear,k=o.appearCancelled,C=o.duration,T=ra,M=ra.$vnode;M&&M.parent;)M=M.parent,T=M.context;var E=!T._isMounted||!e.isRootInsert;if(!E||x||""===x){var A=E&&p?p:c,L=E&&m?m:d,D=E&&h?h:u,j=E?b||g:g,O=E&&"function"==typeof x?x:v,F=E?w||_:_,P=E?k||y:y,N=f(s(C)?C.enter:C),z=!1!==a&&!xo,I=gr(O),q=i._enterCb=S(function(){z&&(lr(i,D),lr(i,L)),q.cancelled?(z&&lr(i,A),P&&P(i)):F&&F(i),i._enterCb=null});e.data.show||le(e,"insert",function(){var t=i.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),O&&O(i,q)}),j&&j(i),z&&(sr(i,A),sr(i,L),ar(function(){sr(i,D),lr(i,A),q.cancelled||I||(mr(N)?setTimeout(q,N):cr(i,l,q))})),e.data.show&&(t&&t(),O&&O(i,q)),z||I||q()}}}function hr(e,t){function i(){k.cancelled||(e.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[e.key]=e),h&&h(o),b&&(sr(o,u),sr(o,p),ar(function(){sr(o,d),lr(o,u),k.cancelled||x||(mr(w)?setTimeout(k,w):cr(o,c,k))})),m&&m(o,k),b||x||k())}var o=e.elm;r(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=or(e.data.transition);if(n(a))return t();if(!r(o._leaveCb)&&1===o.nodeType){var l=a.css,c=a.type,u=a.leaveClass,d=a.leaveToClass,p=a.leaveActiveClass,h=a.beforeLeave,m=a.leave,g=a.afterLeave,v=a.leaveCancelled,_=a.delayLeave,y=a.duration,b=!1!==l&&!xo,x=gr(m),w=f(s(y)?y.leave:y),k=o._leaveCb=S(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[e.key]=null),b&&(lr(o,d),lr(o,p)),k.cancelled?(b&&lr(o,u),v&&v(o)):(t(),g&&g(o)),o._leaveCb=null});_?_(i):i()}}function mr(e){return"number"==typeof e&&!isNaN(e)}function gr(e){if(n(e))return!1;var t=e.fns;return r(t)?gr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function vr(e,t){!0!==t.data.show&&pr(t)}function _r(e,t,n){yr(e,t,n),(bo||wo)&&setTimeout(function(){yr(e,t,n)},0)}function yr(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=k(r,xr(a))>-1,a.selected!==o&&(a.selected=o);else if(w(xr(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function br(e,t){return t.every(function(t){return!w(t,e)})}function xr(e){return"_value"in e?e._value:e.value}function wr(e){e.target.composing=!0}function kr(e){e.target.composing&&(e.target.composing=!1,Sr(e.target,"input"))}function Sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Cr(e){return!e.componentInstance||e.data&&e.data.transition?e:Cr(e.componentInstance._vnode)}function Tr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Tr(ye(t.children)):e}function Mr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[io(o)]=i[o];return t}function Er(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Ar(e){for(;e=e.parent;)if(e.data.transition)return!0}function Lr(e,t){return t.key===e.key&&t.tag===e.tag}function Dr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function jr(e){e.data.newPos=e.elm.getBoundingClientRect()}function Or(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function Fr(e,t){var n=t?Rs(t):Is;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=xn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a<e.length&&o.push(JSON.stringify(e.slice(a))),o.join("+")}}function Pr(e,t){var n=(t.warn,Ln(e,"class"));n&&(e.staticClass=JSON.stringify(n));var r=An(e,"class",!1);r&&(e.classBinding=r)}function Nr(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}function zr(e,t){var n=(t.warn,Ln(e,"style"));if(n){e.staticStyle=JSON.stringify(ls(n))}var r=An(e,"style",!1);r&&(e.styleBinding=r)}function Ir(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}function qr(e,t){var n=t?_l:vl;return e.replace(n,function(e){return gl[e]})}function Rr(e,t){function n(t){u+=t,e=e.substring(t)}function r(e,n,r){var i,s;if(null==n&&(n=u),null==r&&(r=u),e&&(s=e.toLowerCase()),e)for(i=a.length-1;i>=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||lo,c=t.canBeLeftOpenTag||lo,u=0;e;){if(i=e,o&&hl(o)){var d=0,f=o.toLowerCase(),p=ml[f]||(ml[f]=new RegExp("([\\s\\S]*?)(</"+f+"[^>]*>)","i")),h=e.replace(p,function(e,n,r){return d=r.length,hl(f)||"noscript"===f||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),bl(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-d,u)}else{var m=e.indexOf("<");if(0===m){if(el.test(e)){var g=e.indexOf("--\x3e");if(g>=0){t.shouldKeepComment&&t.comment(e.substring(4,g)),n(g+3);continue}}if(tl.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var _=e.match(Qs);if(_){n(_[0].length);continue}var y=e.match(Js);if(y){var b=u;n(y[0].length),r(y[1],b,u);continue}var x=function(){var t=e.match(Ks);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Xs))&&(o=e.match(Ys));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Vs(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||!!i,d=e.attrs.length,f=new Array(d),p=0;p<d;p++){var h=e.attrs[p];nl&&-1===h[0].indexOf('""')&&(""===h[3]&&delete h[3],""===h[4]&&delete h[4],""===h[5]&&delete h[5]);var m=h[3]||h[4]||h[5]||"",g="a"===n&&"href"===h[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[p]={name:h[1],value:qr(m,g)}}u||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f}),o=n),t.start&&t.start(n,f,u,e.start,e.end)}(x),bl(o,e)&&n(1);continue}}var w=void 0,k=void 0,S=void 0;if(m>=0){for(k=e.slice(m);!(Js.test(k)||Ks.test(k)||el.test(k)||tl.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function $r(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:oi(t),parent:n,children:[]}}function Wr(e,t){function n(e){e.pre&&(s=!1),ll(e.tag)&&(l=!1)}rl=t.warn||kn,ll=t.isPreTag||lo,cl=t.mustUseProp||lo,ul=t.getTagNamespace||lo,ol=Sn(t.modules,"transformNode"),al=Sn(t.modules,"preTransformNode"),sl=Sn(t.modules,"postTransformNode"),il=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,l=!1;return Rr(e,{warn:rl,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,c){var u=i&&i.ns||ul(e);bo&&"svg"===u&&(a=li(a));var d=$r(e,a,i);u&&(d.ns=u),si(d)&&!Lo()&&(d.forbidden=!0);for(var f=0;f<al.length;f++)d=al[f](d,t)||d;if(s||(Br(d),d.pre&&(s=!0)),ll(d.tag)&&(l=!0),s?Hr(d):d.processed||(Gr(d),Zr(d),Qr(d),Ur(d,t)),r?o.length||r.if&&(d.elseif||d.else)&&Jr(r,{exp:d.elseif,block:d}):r=d,i&&!d.forbidden)if(d.elseif||d.else)Kr(d,i);else if(d.slotScope){i.plain=!1;var p=d.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[p]=d}else i.children.push(d),d.parent=i;c?n(d):(i=d,o.push(d));for(var h=0;h<sl.length;h++)sl[h](d,t)},end:function(){var e=o[o.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!l&&e.children.pop(),o.length-=1,i=o[o.length-1],n(e)},chars:function(e){if(i&&(!bo||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var t=i.children;if(e=l||e.trim()?ai(i)?e:El(e):a&&t.length?" ":""){var n;!s&&" "!==e&&(n=Fr(e,il))?t.push({type:2,expression:n,text:e}):" "===e&&t.length&&" "===t[t.length-1].text||t.push({type:3,text:e})}}},comment:function(e){i.children.push({type:3,text:e,isComment:!0})}}),r}function Br(e){null!=Ln(e,"v-pre")&&(e.pre=!0)}function Hr(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r<t;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}function Ur(e,t){Vr(e),e.plain=!e.key&&!e.attrsList.length,Yr(e),ei(e),ti(e);for(var n=0;n<ol.length;n++)e=ol[n](e,t)||e;ni(e)}function Vr(e){var t=An(e,"key");t&&(e.key=t)}function Yr(e){var t=An(e,"ref");t&&(e.ref=t,e.refInFor=ri(e))}function Gr(e){var t;if(t=Ln(e,"v-for")){var n=t.match(kl);if(!n)return;e.for=n[2].trim();var r=n[1].trim(),i=r.match(Sl);i?(e.alias=i[1].trim(),e.iterator1=i[2].trim(),i[3]&&(e.iterator2=i[3].trim())):e.alias=r}}function Zr(e){var t=Ln(e,"v-if");if(t)e.if=t,Jr(e,{exp:t,block:e});else{null!=Ln(e,"v-else")&&(e.else=!0);var n=Ln(e,"v-else-if");n&&(e.elseif=n)}}function Kr(e,t){var n=Xr(t.children);n&&n.if&&Jr(n,{exp:e.elseif,block:e})}function Xr(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}function Jr(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Qr(e){null!=Ln(e,"v-once")&&(e.once=!0)}function ei(e){if("slot"===e.tag)e.slotName=An(e,"name");else{var t;"template"===e.tag?(t=Ln(e,"scope"),e.slotScope=t||Ln(e,"slot-scope")):(t=Ln(e,"slot-scope"))&&(e.slotScope=t);var n=An(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,"template"===e.tag||e.slotScope||Tn(e,"slot",n))}}function ti(e){var t;(t=An(e,"is"))&&(e.component=t),null!=Ln(e,"inline-template")&&(e.inlineTemplate=!0)}function ni(e){var t,n,r,i,o,a,s,l=e.attrsList;for(t=0,n=l.length;t<n;t++)if(r=i=l[t].name,o=l[t].value,wl.test(r))if(e.hasBindings=!0,a=ii(r),a&&(r=r.replace(Ml,"")),Tl.test(r))r=r.replace(Tl,""),o=xn(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=io(r))&&(r="innerHTML")),a.camel&&(r=io(r)),a.sync&&En(e,"update:"+io(r),jn(o,"$event"))),s||!e.component&&cl(e.tag,e.attrsMap.type,r)?Cn(e,r,o):Tn(e,r,o);else if(xl.test(r))r=r.replace(xl,""),En(e,r,o,a,!1,rl);else{r=r.replace(wl,"");var c=r.match(Cl),u=c&&c[1];u&&(r=r.slice(0,-(u.length+1))),Mn(e,r,i,o,u,a)}else{Tn(e,r,JSON.stringify(o)),!e.component&&"muted"===r&&cl(e.tag,e.attrsMap.type,r)&&Cn(e,r,"true")}}function ri(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function ii(e){var t=e.match(Ml);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function oi(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}function ai(e){return"script"===e.tag||"style"===e.tag}function si(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}function li(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Al.test(r.name)||(r.name=r.name.replace(Ll,""),t.push(r))}return t}function ci(e,t){if("input"===e.tag){var n=e.attrsMap;if(n["v-model"]&&(n["v-bind:type"]||n[":type"])){var r=An(e,"type"),i=Ln(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Ln(e,"v-else",!0),s=Ln(e,"v-else-if",!0),l=ui(e);Gr(l),di(l,"type","checkbox"),Ur(l,t),l.processed=!0,l.if="("+r+")==='checkbox'"+o,Jr(l,{exp:l.if,block:l});var c=ui(e);Ln(c,"v-for",!0),di(c,"type","radio"),Ur(c,t),Jr(l,{exp:"("+r+")==='radio'"+o,block:c});var u=ui(e);return Ln(u,"v-for",!0),di(u,":type",r),Ur(u,t),Jr(l,{exp:i,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}function ui(e){return $r(e.tag,e.attrsList.slice(),e.parent)}function di(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}function fi(e,t){t.value&&Cn(e,"textContent","_s("+t.value+")")}function pi(e,t){t.value&&Cn(e,"innerHTML","_s("+t.value+")")}function hi(e,t){e&&(dl=Pl(t.staticKeys||""),fl=t.isReservedTag||lo,gi(e),vi(e,!1))}function mi(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}function gi(e){if(e.static=_i(e),1===e.type){if(!fl(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];gi(r),r.static||(e.static=!1)}if(e.ifConditions)for(var i=1,o=e.ifConditions.length;i<o;i++){var a=e.ifConditions[i].block;gi(a),a.static||(e.static=!1)}}}function vi(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)vi(e.children[n],t||!!e.for);if(e.ifConditions)for(var i=1,o=e.ifConditions.length;i<o;i++)vi(e.ifConditions[i].block,t)}}function _i(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||eo(e.tag)||!fl(e.tag)||yi(e)||!Object.keys(e).every(dl))))}function yi(e){for(;e.parent;){if(e=e.parent,"template"!==e.tag)return!1;if(e.for)return!0}return!1}function bi(e,t,n){var r=t?"nativeOn:{":"on:{";for(var i in e){var o=e[i];r+='"'+i+'":'+xi(i,o)+","}return r.slice(0,-1)+"}"}function xi(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return xi(e,t)}).join(",")+"]";var n=zl.test(t.value),r=Nl.test(t.value);if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)if(Rl[s])o+=Rl[s],Il[s]&&a.push(s);else if("exact"===s){var l=t.modifiers;o+=ql(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);a.length&&(i+=wi(a)),o&&(i+=o);return"function($event){"+i+(n?t.value+"($event)":r?"("+t.value+")($event)":t.value)+"}"}return n||r?t.value:"function($event){"+t.value+"}"}function wi(e){return"if(!('button' in $event)&&"+e.map(ki).join("&&")+")return null;"}function ki(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Il[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key)"}function Si(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}}function Ci(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}}function Ti(e,t){var n=new Wl(t);return{render:"with(this){return "+(e?Mi(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Mi(e,t){if(e.staticRoot&&!e.staticProcessed)return Ei(e,t);if(e.once&&!e.onceProcessed)return Ai(e,t);if(e.for&&!e.forProcessed)return ji(e,t);if(e.if&&!e.ifProcessed)return Li(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return Ui(e,t);var n;if(e.component)n=Vi(e.component,e,t);else{var r=e.plain?void 0:Oi(e,t),i=e.inlineTemplate?null:qi(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return qi(e,t)||"void 0"}function Ei(e,t){return e.staticProcessed=!0,t.staticRenderFns.push("with(this){return "+Mi(e,t)+"}"),"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Ai(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Li(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Mi(e,t)+","+t.onceId+++","+n+")":Mi(e,t)}return Ei(e,t)}function Li(e,t,n,r){return e.ifProcessed=!0,Di(e.ifConditions.slice(),t,n,r)}function Di(e,t,n,r){function i(e){return n?n(e,t):e.once?Ai(e,t):Mi(e,t)}if(!e.length)return r||"_e()";var o=e.shift();return o.exp?"("+o.exp+")?"+i(o.block)+":"+Di(e,t,n,r):""+i(o.block)}function ji(e,t,n,r){var i=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||Mi)(e,t)+"})"}function Oi(e,t){var n="{",r=Fi(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:{"+Yi(e.attrs)+"},"),e.props&&(n+="domProps:{"+Yi(e.props)+"},"),e.events&&(n+=bi(e.events,!1,t.warn)+","),e.nativeEvents&&(n+=bi(e.nativeEvents,!0,t.warn)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=Ni(e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=Pi(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Fi(e,t){var n=e.directives;if(n){var r,i,o,a,s="directives:[",l=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var c=t.directives[o.name];c&&(a=!!c(e,o,t.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return l?s.slice(0,-1)+"]":void 0}}function Pi(e,t){var n=e.children[0];if(1===n.type){var r=Ti(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function Ni(e,t){return"scopedSlots:_u(["+Object.keys(e).map(function(n){return zi(n,e[n],t)}).join(",")+"])"}function zi(e,t,n){return t.for&&!t.forProcessed?Ii(e,t,n):"{key:"+e+",fn:function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?t.if+"?"+(qi(t,n)||"undefined")+":undefined":qi(t,n)||"undefined":Mi(t,n))+"}}"}function Ii(e,t,n){var r=t.for,i=t.alias,o=t.iterator1?","+t.iterator1:"",a=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+r+"),function("+i+o+a+"){return "+zi(e,t,n)+"})"}function qi(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(r||Mi)(a,t);var s=n?Ri(o,t.maybeComponent):0,l=i||Wi;return"["+o.map(function(e){return l(e,t)}).join(",")+"]"+(s?","+s:"")}}function Ri(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if($i(i)||i.ifConditions&&i.ifConditions.some(function(e){return $i(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}function $i(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Wi(e,t){
return 1===e.type?Mi(e,t):3===e.type&&e.isComment?Hi(e):Bi(e)}function Bi(e){return"_v("+(2===e.type?e.expression:Gi(JSON.stringify(e.text)))+")"}function Hi(e){return"_e("+JSON.stringify(e.text)+")"}function Ui(e,t){var n=e.slotName||'"default"',r=qi(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return io(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];return!o&&!a||r||(i+=",null"),o&&(i+=","+o),a&&(i+=(o?"":",null")+","+a),i+")"}function Vi(e,t,n){var r=t.inlineTemplate?null:qi(t,n,!0);return"_c("+e+","+Oi(t,n)+(r?","+r:"")+")"}function Yi(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name+'":'+Gi(r.value)+","}return t.slice(0,-1)}function Gi(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Zi(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),x}}function Ki(e){var t=Object.create(null);return function(n,r,i){r=y({},r);r.warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var a=e(n,r),s={},l=[];return s.render=Zi(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(e){return Zi(e,l)}),t[o]=s}}function Xi(e){return pl=pl||document.createElement("div"),pl.innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',pl.innerHTML.indexOf("&#10;")>0}function Ji(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var Qi=Object.prototype.toString,eo=p("slot,component",!0),to=p("key,ref,slot,slot-scope,is"),no=Object.prototype.hasOwnProperty,ro=/-(\w)/g,io=g(function(e){return e.replace(ro,function(e,t){return t?t.toUpperCase():""})}),oo=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),ao=/\B([A-Z])/g,so=g(function(e){return e.replace(ao,"-$1").toLowerCase()}),lo=function(e,t,n){return!1},co=function(e){return e},uo="data-server-rendered",fo=["component","directive","filter"],po=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ho={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:lo,isReservedAttr:lo,isUnknownElement:lo,getTagNamespace:x,parsePlatformTagName:co,mustUseProp:lo,_lifecycleHooks:po},mo=Object.freeze({}),go=/[^\w.$]/,vo="__proto__"in{},_o="undefined"!=typeof window,yo=_o&&window.navigator.userAgent.toLowerCase(),bo=yo&&/msie|trident/.test(yo),xo=yo&&yo.indexOf("msie 9.0")>0,wo=yo&&yo.indexOf("edge/")>0,ko=yo&&yo.indexOf("android")>0,So=yo&&/iphone|ipad|ipod|ios/.test(yo),Co=(yo&&/chrome\/\d+/.test(yo),{}.watch),To=!1;if(_o)try{var Mo={};Object.defineProperty(Mo,"passive",{get:function(){To=!0}}),window.addEventListener("test-passive",null,Mo)}catch(e){}var Eo,Ao,Lo=function(){return void 0===Eo&&(Eo=!_o&&void 0!==e&&"server"===e.process.env.VUE_ENV),Eo},Do=_o&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,jo="undefined"!=typeof Symbol&&E(Symbol)&&"undefined"!=typeof Reflect&&E(Reflect.ownKeys);Ao="undefined"!=typeof Set&&E(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Oo=x,Fo=0,Po=function(){this.id=Fo++,this.subs=[]};Po.prototype.addSub=function(e){this.subs.push(e)},Po.prototype.removeSub=function(e){h(this.subs,e)},Po.prototype.depend=function(){Po.target&&Po.target.addDep(this)},Po.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},Po.target=null;var No=[],zo=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.functionalOptions=void 0,this.functionalScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Io={child:{configurable:!0}};Io.child.get=function(){return this.componentInstance},Object.defineProperties(zo.prototype,Io);var qo=function(e){void 0===e&&(e="");var t=new zo;return t.text=e,t.isComment=!0,t},Ro=Array.prototype,$o=Object.create(Ro);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Ro[e];T($o,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var Wo=Object.getOwnPropertyNames($o),Bo={shouldConvert:!0},Ho=function(e){if(this.value=e,this.dep=new Po,this.vmCount=0,T(e,"__ob__",this),Array.isArray(e)){(vo?F:P)(e,$o,Wo),this.observeArray(e)}else this.walk(e)};Ho.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)z(e,t[n],e[t[n]])},Ho.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)N(e[t])};var Uo=ho.optionMergeStrategies;Uo.data=function(e,t,n){return n?W(e,t,n):t&&"function"!=typeof t?e:W(e,t)},po.forEach(function(e){Uo[e]=B}),fo.forEach(function(e){Uo[e+"s"]=H}),Uo.watch=function(e,t,n,r){if(e===Co&&(e=void 0),t===Co&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};y(i,e);for(var o in t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Uo.props=Uo.methods=Uo.inject=Uo.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return y(i,e),t&&y(i,t),i},Uo.provide=W;var Vo,Yo,Go=function(e,t){return void 0===t?e:t},Zo=[],Ko=!1,Xo=!1;if("undefined"!=typeof setImmediate&&E(setImmediate))Yo=function(){setImmediate(re)};else if("undefined"==typeof MessageChannel||!E(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Yo=function(){setTimeout(re,0)};else{var Jo=new MessageChannel,Qo=Jo.port2;Jo.port1.onmessage=re,Yo=function(){Qo.postMessage(1)}}if("undefined"!=typeof Promise&&E(Promise)){var ea=Promise.resolve();Vo=function(){ea.then(re),So&&setTimeout(x)}}else Vo=Yo;var ta,na=g(function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}),ra=null,ia=[],oa=[],aa={},sa=!1,la=!1,ca=0,ua=0,da=function(e,t,n,r){this.vm=e,e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ua,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Ao,this.newDepIds=new Ao,this.expression="","function"==typeof t?this.getter=t:(this.getter=M(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};da.prototype.get=function(){A(this);var e,t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;ee(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Re(e),L(),this.cleanupDeps()}return e},da.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},da.prototype.cleanupDeps=function(){for(var e=this,t=this.deps.length;t--;){var n=e.deps[t];e.newDepIds.has(n.id)||n.removeSub(e)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},da.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():qe(this)},da.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ee(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},da.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},da.prototype.depend=function(){for(var e=this,t=this.deps.length;t--;)e.deps[t].depend()},da.prototype.teardown=function(){var e=this;if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var t=this.deps.length;t--;)e.deps[t].removeSub(e);this.active=!1}};var fa=new Ao,pa={enumerable:!0,configurable:!0,get:x,set:x},ha={lazy:!0};ft(pt.prototype);var ma={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=vt(e,ra,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var i=e;ma.prepatch(i,i)}},prepatch:function(e,t){var n=t.componentOptions;Ae(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Oe(n,"mounted")),e.data.keepAlive&&(t._isMounted?ze(n):De(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?je(t,!0):t.$destroy())}},ga=Object.keys(ma),va=1,_a=2,ya=0;!function(e){e.prototype._init=function(e){var t=this;t._uid=ya++,t._isVue=!0,e&&e._isComponent?Ct(t,e):t.$options=G(Tt(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Me(t),be(t),St(t),Oe(t,"beforeCreate"),et(t),Be(t),Qe(t),Oe(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(At),function(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=I,e.prototype.$delete=q,e.prototype.$watch=function(e,t,n){var r=this;if(l(t))return Je(r,e,t,n);n=n||{},n.user=!0;var i=new da(r,e,t,n);return n.immediate&&t.call(r,i.value),function(){i.teardown()}}}(At),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this,i=this;if(Array.isArray(e))for(var o=0,a=e.length;o<a;o++)r.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return r}var a=r._events[e];if(!a)return r;if(!t)return r._events[e]=null,r;if(t)for(var s,l=a.length;l--;)if((s=a[l])===t||s.fn===t){a.splice(l,1);break}return r},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;i<o;i++)try{n[i].apply(t,r)}catch(n){ee(n,t,'event handler for "'+e+'"')}}return t}}(At),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&Oe(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=ra;ra=n,n._vnode=e,i?n.$el=n.__patch__(i,e):(n.$el=n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),ra=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Oe(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||h(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Oe(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(At),function(e){ft(e.prototype),e.prototype.$nextTick=function(e){return oe(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t._parentVnode;if(e._isMounted)for(var i in e.$slots){var o=e.$slots[i];o._rendered&&(e.$slots[i]=O(o,!0))}e.$scopedSlots=r&&r.data.scopedSlots||mo,e.$vnode=r;var a;try{a=n.call(e._renderProxy,e.$createElement)}catch(t){ee(t,e,"render"),a=e._vnode}return a instanceof zo||(a=qo()),a.parent=r,a}}(At);var ba=[String,RegExp,Array],xa={name:"keep-alive",abstract:!0,props:{include:ba,exclude:ba,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var e=this;for(var t in e.cache)qt(e.cache,t,e.keys)},watch:{include:function(e){It(this,function(t){return zt(e,t)})},exclude:function(e){It(this,function(t){return!zt(e,t)})}},render:function(){var e=ye(this.$slots.default),t=e&&e.componentOptions;if(t){var n=Nt(t);if(n&&(this.exclude&&zt(this.exclude,n)||this.include&&!zt(this.include,n)))return e;var r=this,i=r.cache,o=r.keys,a=null==e.key?t.Ctor.cid+(t.tag?"::"+t.tag:""):e.key;i[a]?(e.componentInstance=i[a].componentInstance,h(o,a),o.push(a)):(i[a]=e,o.push(a),this.max&&o.length>parseInt(this.max)&&qt(i,o[0],o,this._vnode)),e.data.keepAlive=!0}return e}},wa={KeepAlive:xa};!function(e){var t={};t.get=function(){return ho},Object.defineProperty(e,"config",t),e.util={warn:Oo,extend:y,mergeOptions:G,defineReactive:z},e.set=I,e.delete=q,e.nextTick=oe,e.options=Object.create(null),fo.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,wa),Lt(e),Dt(e),jt(e),Pt(e)}(At),Object.defineProperty(At.prototype,"$isServer",{get:Lo}),Object.defineProperty(At.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),At.version="2.5.3";var ka,Sa,Ca,Ta,Ma,Ea,Aa,La,Da,ja=p("style,class"),Oa=p("input,textarea,option,select,progress"),Fa=function(e,t,n){return"value"===n&&Oa(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pa=p("contenteditable,draggable,spellcheck"),Na=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),za="http://www.w3.org/1999/xlink",Ia=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qa=function(e){return Ia(e)?e.slice(6,e.length):""},Ra=function(e){return null==e||!1===e},$a={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wa=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ba=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ha=function(e){return"pre"===e},Ua=function(e){return Wa(e)||Ba(e)},Va=Object.create(null),Ya=p("text,number,password,search,email,tel,url"),Ga=Object.freeze({createElement:Kt,createElementNS:Xt,createTextNode:Jt,createComment:Qt,insertBefore:en,removeChild:tn,appendChild:nn,parentNode:rn,nextSibling:on,tagName:an,setTextContent:sn,setAttribute:ln}),Za={create:function(e,t){cn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(cn(e,!0),cn(t))},destroy:function(e){cn(e,!0)}},Ka=new zo("",{},[]),Xa=["create","activate","update","remove","destroy"],Ja={create:pn,update:pn,destroy:function(e){pn(e,Ka)}},Qa=Object.create(null),es=[Za,Ja],ts={create:_n,update:_n},ns={create:bn,update:bn},rs=/[\w).+\-_$\]]/,is="__r",os="__c",as={create:Gn,update:Gn},ss={create:Zn,update:Zn},ls=g(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),cs=/^--/,us=/\s*!important$/,ds=function(e,t,n){if(cs.test(t))e.style.setProperty(t,n);else if(us.test(n))e.style.setProperty(t,n.replace(us,""),"important");else{var r=ps(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},fs=["Webkit","Moz","ms"],ps=g(function(e){if(Da=Da||document.createElement("div").style,"filter"!==(e=io(e))&&e in Da)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<fs.length;n++){var r=fs[n]+t;if(r in Da)return r}}),hs={create:nr,update:nr},ms=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),gs=_o&&!xo,vs="transition",_s="animation",ys="transition",bs="transitionend",xs="animation",ws="animationend";gs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ys="WebkitTransition",bs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(xs="WebkitAnimation",ws="webkitAnimationEnd"));var ks=_o?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()},Ss=/\b(transform|all)(,|$)/,Cs=_o?{create:vr,activate:vr,remove:function(e,t){!0!==e.data.show?hr(e,t):t()}}:{},Ts=[ts,ns,as,ss,hs,Cs],Ms=Ts.concat(es),Es=function(e){function t(e){return new zo(D.tagName(e).toLowerCase(),{},[],void 0,e)}function o(e,t){function n(){0==--n.listeners&&s(e)}return n.listeners=t,n}function s(e){var t=D.parentNode(e);r(t)&&D.removeChild(t,e)}function l(e,t,n,o,a){if(e.isRootInsert=!a,!c(e,t,n,o)){var s=e.data,l=e.children,u=e.tag;r(u)?(e.elm=e.ns?D.createElementNS(e.ns,u):D.createElement(u,e),v(e),h(e,l,t),r(s)&&g(e,t),f(n,e.elm,o)):i(e.isComment)?(e.elm=D.createComment(e.text),f(n,e.elm,o)):(e.elm=D.createTextNode(e.text),f(n,e.elm,o))}}function c(e,t,n,o){var a=e.data;if(r(a)){var s=r(e.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(e,!1,n,o),r(e.componentInstance))return u(e,t),i(s)&&d(e,t,n,o),!0}}function u(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,m(e)?(g(e,t),v(e)):(cn(e),t.push(e))}function d(e,t,n,i){for(var o,a=e;a.componentInstance;)if(a=a.componentInstance._vnode,r(o=a.data)&&r(o=o.transition)){for(o=0;o<A.activate.length;++o)A.activate[o](Ka,a);t.push(a);break}f(n,e.elm,i)}function f(e,t,n){r(e)&&(r(n)?n.parentNode===e&&D.insertBefore(e,t,n):D.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)l(t[r],n,e.elm,null,!0);else a(e.text)&&D.appendChild(e.elm,D.createTextNode(e.text))}function m(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function g(e,t){for(var n=0;n<A.create.length;++n)A.create[n](Ka,e);M=e.data.hook,r(M)&&(r(M.create)&&M.create(Ka,e),r(M.insert)&&t.push(e))}function v(e){var t;if(r(t=e.functionalScopeId))D.setAttribute(e.elm,t,"");else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&D.setAttribute(e.elm,t,""),n=n.parent;r(t=ra)&&t!==e.context&&t!==e.functionalContext&&r(t=t.$options._scopeId)&&D.setAttribute(e.elm,t,"")}function _(e,t,n,r,i,o){for(;r<=i;++r)l(n[r],o,e,t)}function y(e){var t,n,i=e.data;if(r(i))for(r(t=i.hook)&&r(t=t.destroy)&&t(e),t=0;t<A.destroy.length;++t)A.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)y(e.children[n])}function b(e,t,n,i){for(;n<=i;++n){var o=t[n];r(o)&&(r(o.tag)?(x(o),y(o)):s(o.elm))}}function x(e,t){if(r(t)||r(e.data)){var n,i=A.remove.length+1;for(r(t)?t.listeners+=i:t=o(e.elm,i),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&x(n,t),n=0;n<A.remove.length;++n)A.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else s(e.elm)}function w(e,t,i,o,a){for(var s,c,u,d,f=0,p=0,h=t.length-1,m=t[0],g=t[h],v=i.length-1,y=i[0],x=i[v],w=!a;f<=h&&p<=v;)n(m)?m=t[++f]:n(g)?g=t[--h]:un(m,y)?(S(m,y,o),m=t[++f],y=i[++p]):un(g,x)?(S(g,x,o),g=t[--h],x=i[--v]):un(m,x)?(S(m,x,o),w&&D.insertBefore(e,m.elm,D.nextSibling(g.elm)),m=t[++f],x=i[--v]):un(g,y)?(S(g,y,o),w&&D.insertBefore(e,g.elm,m.elm),g=t[--h],y=i[++p]):(n(s)&&(s=fn(t,f,h)),c=r(y.key)?s[y.key]:k(y,t,f,h),n(c)?l(y,o,e,m.elm):(u=t[c],un(u,y)?(S(u,y,o),t[c]=void 0,w&&D.insertBefore(e,u.elm,m.elm)):l(y,o,e,m.elm)),y=i[++p]);f>h?(d=n(i[v+1])?null:i[v+1].elm,_(e,d,i,p,v,o)):p>v&&b(e,t,f,h)}function k(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&un(e,a))return o}}function S(e,t,o,a){if(e!==t){var s=t.elm=e.elm;if(i(e.isAsyncPlaceholder))return void(r(t.asyncFactory.resolved)?T(e.elm,t,o):t.isAsyncPlaceholder=!0);if(i(t.isStatic)&&i(e.isStatic)&&t.key===e.key&&(i(t.isCloned)||i(t.isOnce)))return void(t.componentInstance=e.componentInstance);var l,c=t.data;r(c)&&r(l=c.hook)&&r(l=l.prepatch)&&l(e,t);var u=e.children,d=t.children;if(r(c)&&m(t)){for(l=0;l<A.update.length;++l)A.update[l](e,t);r(l=c.hook)&&r(l=l.update)&&l(e,t)}n(t.text)?r(u)&&r(d)?u!==d&&w(s,u,d,o,a):r(d)?(r(e.text)&&D.setTextContent(s,""),_(s,null,d,0,d.length-1,o)):r(u)?b(s,u,0,u.length-1):r(e.text)&&D.setTextContent(s,""):e.text!==t.text&&D.setTextContent(s,t.text),r(c)&&r(l=c.hook)&&r(l=l.postpatch)&&l(e,t)}}function C(e,t,n){if(i(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o<t.length;++o)t[o].data.hook.insert(t[o])}function T(e,t,n){if(i(t.isComment)&&r(t.asyncFactory))return t.elm=e,t.isAsyncPlaceholder=!0,!0;t.elm=e;var o=t.tag,a=t.data,s=t.children;if(r(a)&&(r(M=a.hook)&&r(M=M.init)&&M(t,!0),r(M=t.componentInstance)))return u(t,n),!0;if(r(o)){if(r(s))if(e.hasChildNodes())if(r(M=a)&&r(M=M.domProps)&&r(M=M.innerHTML)){if(M!==e.innerHTML)return!1}else{for(var l=!0,c=e.firstChild,d=0;d<s.length;d++){if(!c||!T(c,s[d],n)){l=!1;break}c=c.nextSibling}if(!l||c)return!1}else h(t,s,n);if(r(a))for(var f in a)if(!j(f)){g(t,n);break}}else e.data!==t.text&&(e.data=t.text);return!0}var M,E,A={},L=e.modules,D=e.nodeOps;for(M=0;M<Xa.length;++M)for(A[Xa[M]]=[],E=0;E<L.length;++E)r(L[E][Xa[M]])&&A[Xa[M]].push(L[E][Xa[M]]);var j=p("attrs,style,class,staticClass,staticStyle,key");return function(e,o,a,s,c,u){if(n(o))return void(r(e)&&y(e));var d=!1,f=[];if(n(e))d=!0,l(o,f,c,u);else{var p=r(e.nodeType);if(!p&&un(e,o))S(e,o,f,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(uo)&&(e.removeAttribute(uo),a=!0),i(a)&&T(e,o,f))return C(o,f,!0),e;e=t(e)}var h=e.elm,g=D.parentNode(h);if(l(o,f,h._leaveCb?null:g,D.nextSibling(h)),r(o.parent))for(var v=o.parent,_=m(o);v;){for(var x=0;x<A.destroy.length;++x)A.destroy[x](v);if(v.elm=o.elm,_){for(var w=0;w<A.create.length;++w)A.create[w](Ka,v);var k=v.data.hook.insert;if(k.merged)for(var M=1;M<k.fns.length;M++)k.fns[M]()}else cn(v);v=v.parent}r(g)?b(g,[e],0,0):r(e.tag)&&y(e)}}return C(o,f,d),o.elm}}({nodeOps:Ga,modules:Ms});xo&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Sr(e,"input")});var As={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?le(n,"postpatch",function(){As.componentUpdated(e,t,n)}):_r(e,t,n.context),e._vOptions=[].map.call(e.options,xr)):("textarea"===n.tag||Ya(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("change",kr),ko||(e.addEventListener("compositionstart",wr),e.addEventListener("compositionend",kr)),xo&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){_r(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,xr);if(i.some(function(e,t){return!w(e,r[t])})){(e.multiple?t.value.some(function(e){return br(e,i)}):t.value!==t.oldValue&&br(t.value,i))&&Sr(e,"change")}}}},Ls={bind:function(e,t,n){var r=t.value;n=Cr(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,pr(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;r!==t.oldValue&&(n=Cr(n),n.data&&n.data.transition?(n.data.show=!0,r?pr(n,function(){e.style.display=e.__vOriginalDisplay}):hr(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},Ds={model:As,show:Ls},js={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},Os={name:"transition",props:js,abstract:!0,render:function(e){var t=this,n=this.$options._renderChildren;if(n&&(n=n.filter(function(e){return e.tag||_e(e)}),n.length)){var r=this.mode,i=n[0];if(Ar(this.$vnode))return i;var o=Tr(i);if(!o)return i;if(this._leaving)return Er(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=Mr(this),c=this._vnode,u=Tr(c);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),u&&u.data&&!Lr(o,u)&&!_e(u)){var d=u.data.transition=y({},l);if("out-in"===r)return this._leaving=!0,le(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Er(e,i);if("in-out"===r){if(_e(o))return c;var f,p=function(){f()};le(l,"afterEnter",p),le(l,"enterCancelled",p),le(d,"delayLeave",function(e){f=e})}}return i}}},Fs=y({tag:String,moveClass:String},js);delete Fs.mode;var Ps={props:Fs,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Mr(this),s=0;s<i.length;s++){var l=i[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(r){for(var c=[],u=[],d=0;d<r.length;d++){var f=r[d];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?c.push(f):u.push(f)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Dr),e.forEach(jr),e.forEach(Or),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;sr(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(bs,n._moveCb=function e(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(bs,e),n._moveCb=null,lr(n,t))})}}))},methods:{hasMove:function(e,t){if(!gs)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){ir(n,e)}),rr(n,t),n.style.display="none",this.$el.appendChild(n);var r=ur(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},Ns={Transition:Os,TransitionGroup:Ps};At.config.mustUseProp=Fa,At.config.isReservedTag=Ua,At.config.isReservedAttr=ja,At.config.getTagNamespace=Yt,At.config.isUnknownElement=Gt,y(At.options.directives,Ds),y(At.options.components,Ns),At.prototype.__patch__=_o?Es:x,At.prototype.$mount=function(e,t){return e=e&&_o?Zt(e):void 0,Ee(this,e,t)},At.nextTick(function(){ho.devtools&&Do&&Do.emit("init",At)},0);var zs,Is=/\{\{((?:.|\n)+?)\}\}/g,qs=/[-.*+?^${}()|[\]\/\\]/g,Rs=g(function(e){var t=e[0].replace(qs,"\\$&"),n=e[1].replace(qs,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),$s={staticKeys:["staticClass"],transformNode:Pr,genData:Nr},Ws={staticKeys:["staticStyle"],transformNode:zr,genData:Ir},Bs={decode:function(e){return zs=zs||document.createElement("div"),zs.innerHTML=e,zs.textContent}},Hs=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Us=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Vs=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ys=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gs="[a-zA-Z_][\\w\\-\\.]*",Zs="((?:"+Gs+"\\:)?"+Gs+")",Ks=new RegExp("^<"+Zs),Xs=/^\s*(\/?)>/,Js=new RegExp("^<\\/"+Zs+"[^>]*>"),Qs=/^<!DOCTYPE [^>]+>/i,el=/^<!--/,tl=/^<!\[/,nl=!1;"x".replace(/x(.)?/g,function(e,t){nl=""===t});var rl,il,ol,al,sl,ll,cl,ul,dl,fl,pl,hl=p("script,style,textarea",!0),ml={},gl={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},vl=/&(?:lt|gt|quot|amp);/g,_l=/&(?:lt|gt|quot|amp|#10|#9);/g,yl=p("pre,textarea",!0),bl=function(e,t){return e&&yl(e)&&"\n"===t[0]},xl=/^@|^v-on:/,wl=/^v-|^@|^:/,kl=/(.*?)\s+(?:in|of)\s+(.*)/,Sl=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,Cl=/:(.*)$/,Tl=/^:|^v-bind:/,Ml=/\.[^.]+/g,El=g(Bs.decode),Al=/^xmlns:NS\d+/,Ll=/^NS\d+:/,Dl={preTransformNode:ci},jl=[$s,Ws,Dl],Ol={model:qn,text:fi,html:pi},Fl={expectHTML:!0,modules:jl,directives:Ol,isPreTag:Ha,isUnaryTag:Hs,mustUseProp:Fa,canBeLeftOpenTag:Us,isReservedTag:Ua,getTagNamespace:Yt,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(jl)},Pl=g(mi),Nl=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,zl=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Il={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ql=function(e){return"if("+e+")return null;"},Rl={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ql("$event.target !== $event.currentTarget"),ctrl:ql("!$event.ctrlKey"),shift:ql("!$event.shiftKey"),alt:ql("!$event.altKey"),meta:ql("!$event.metaKey"),left:ql("'button' in $event && $event.button !== 0"),middle:ql("'button' in $event && $event.button !== 1"),right:ql("'button' in $event && $event.button !== 2")},$l={on:Si,bind:Ci,cloak:x},Wl=function(e){this.options=e,this.warn=e.warn||kn,this.transforms=Sn(e.modules,"transformCode"),this.dataGenFns=Sn(e.modules,"genData"),this.directives=y(y({},$l),e.directives);var t=e.isReservedTag||lo;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]},Bl=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),function(e){return function(t){function n(n,r){var i=Object.create(t),o=[],a=[];if(i.warn=function(e,t){(t?a:o).push(e)},r){r.modules&&(i.modules=(t.modules||[]).concat(r.modules)),r.directives&&(i.directives=y(Object.create(t.directives),r.directives));for(var s in r)"modules"!==s&&"directives"!==s&&(i[s]=r[s])}var l=e(n,i);return l.errors=o,l.tips=a,l}return{compile:n,compileToFunctions:Ki(n)}}}(function(e,t){var n=Wr(e.trim(),t);hi(n,t);var r=Ti(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}})),Hl=Bl(Fl),Ul=Hl.compileToFunctions,Vl=!!_o&&Xi(!1),Yl=!!_o&&Xi(!0),Gl=g(function(e){var t=Zt(e);return t&&t.innerHTML}),Zl=At.prototype.$mount;At.prototype.$mount=function(e,t){if((e=e&&Zt(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Gl(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=Ji(e));if(r){var i=Ul(r,{shouldDecodeNewlines:Vl,shouldDecodeNewlinesForHref:Yl,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Zl.call(this,e,t)},At.compile=Ul,t.exports=At}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],453:[function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){
for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};!function(){function o(e){function t(e){e.parentElement.removeChild(e)}function n(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}function o(e,t){return e.map(function(e){return e.elm}).indexOf(t)}function a(e,t,n){if(!e)return[];var i=e.map(function(e){return e.elm}),o=[].concat(r(t)).map(function(e){return i.indexOf(e)});return n?o.filter(function(e){return-1!==e}):o}function s(e,t){var n=this;this.$nextTick(function(){return n.$emit(e.toLowerCase(),t)})}function l(e){var t=this;return function(n){null!==t.realList&&t["onDrag"+e](n),s.call(t,e,n)}}var c=["Start","Add","Remove","Update","End"],u=["Choose","Sort","Filter","Clone"],d=["Move"].concat(c,u).map(function(e){return"on"+e}),f=null;return{name:"draggable",props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},move:{type:Function,default:null}},data:function(){return{transitionMode:!1,componentMode:!1}},render:function(e){var t=this.$slots.default;if(t&&1===t.length){var n=t[0];n.componentOptions&&"transition-group"===n.componentOptions.tag&&(this.transitionMode=!0)}var i=t,o=this.$slots.footer;return o&&(i=t?[].concat(r(t),r(o)):[].concat(r(o))),e(this.element,null,i)},mounted:function(){var t=this;if(this.componentMode=this.element.toLowerCase()!==this.$el.nodeName.toLowerCase(),this.componentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter element value or remove transition-group. Current element value: "+this.element);var n={};c.forEach(function(e){n["on"+e]=l.call(t,e)}),u.forEach(function(e){n["on"+e]=s.bind(t,e)});var r=i({},this.options,n,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new e(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},isCloning:function(){return!!this.options&&!!this.options.group&&"clone"===this.options.group.pull},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){for(var t in e)-1==d.indexOf(t)&&this._sortable.option(t,e[t])},deep:!0},realList:function(){this.computeIndexes()}},methods:{getChildrenNodes:function(){if(this.componentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick(function(){e.visibleIndexes=a(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode)})},getUnderlyingVm:function(e){var t=o(this.getChildrenNodes()||[],e);return-1===t?null:{index:t,element:this.realList[t]}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&"transition-group"===t.$options._componentTag?t.$parent:t},emitChanges:function(e){var t=this;this.$nextTick(function(){t.$emit("change",e)})},alterList:function(e){if(this.list)e(this.list);else{var t=[].concat(r(this.value));e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,e)};this.alterList(t)},updatePosition:function(e,t){var n=function(n){return n.splice(t,0,n.splice(e,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var o=r.realList,a={list:o,component:r};if(t!==n&&o&&r.getUnderlyingVm){var s=r.getUnderlyingVm(n);if(s)return i(s,a)}return a},getVmIndex:function(e){var t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[e].data=null;var t=this.getComponent();t.children=[],t.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),f=e.item},onDragAdd:function(e){var n=e.item._underlying_vm_;if(void 0!==n){t(e.item);var r=this.getVmIndex(e.newIndex);this.spliceList(r,0,n),this.computeIndexes();var i={element:n,newIndex:r};this.emitChanges({added:i})}},onDragRemove:function(e){if(n(this.rootContainer,e.item,e.oldIndex),this.isCloning)return void t(e.clone);var r=this.context.index;this.spliceList(r,1);var i={element:this.context.element,oldIndex:r};this.resetTransitionData(r),this.emitChanges({removed:i})},onDragUpdate:function(e){t(e.item),n(e.from,e.item,e.oldIndex);var r=this.context.index,i=this.getVmIndex(e.newIndex);this.updatePosition(r,i);var o={element:this.context.element,oldIndex:r,newIndex:i};this.emitChanges({moved:o})},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=[].concat(r(t.to.children)).filter(function(e){return"none"!==e.style.display}),i=n.indexOf(t.related),o=e.component.getVmIndex(i);return-1==n.indexOf(f)&&t.willInsertAfter?o+1:o},onDragMove:function(e,t){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(e),o=this.context,a=this.computeFutureIndex(r,e);return i(o,{futureIndex:a}),i(e,{relatedContext:r,draggedContext:o}),n(e,t)},onDragEnd:function(e){this.computeIndexes(),f=null}}}}if(Array.from||(Array.from=function(e){return[].slice.call(e)}),"object"==typeof n){var a=e("sortablejs");t.exports=o(a)}else if("function"==typeof define&&define.amd)define(["sortablejs"],function(e){return o(e)});else if(window&&window.Vue&&window.Sortable){var s=o(window.Sortable);Vue.component("draggable",s)}else{if(void 0===window.Vue)throw"Vue.js not found!";if(void 0===window.Sortable)throw"Sortable.js not found!"}}()},{sortablejs:444}],454:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.elem=t,this.targetElem=document.getElementById("header"),this.showing=!1,this.breakPoint=1200,this.elem.addEventListener("click",this.scrollToTop.bind(this)),window.addEventListener("scroll",this.onPageScroll.bind(this))}return i(e,[{key:"onPageScroll",value:function(){var e=this,t=document.documentElement.scrollTop||document.body.scrollTop||0;!this.showing&&t>this.breakPoint?(this.elem.style.display="block",this.showing=!0,setTimeout(function(){e.elem.style.opacity=.4},1)):this.showing&&t<this.breakPoint&&(this.elem.style.opacity=0,this.showing=!1,setTimeout(function(){e.elem.style.display="none"},500))}},{key:"scrollToTop",value:function(){function e(){var a=1-(Date.now()-i)/r,s=Math.abs(a*o);a>0?(n.scrollTop=s,requestAnimationFrame(e.bind(this))):n.scrollTop=t}var t=this.targetElem.getBoundingClientRect().top,n=document.documentElement.scrollTop?document.documentElement:document.body,r=300,i=Date.now(),o=this.targetElem.getBoundingClientRect().top;requestAnimationFrame(e.bind(this))}}]),e}();t.exports=o},{}],455:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.elem=t,this.isOpen=t.classList.contains("open"),t.addEventListener("click",this.click.bind(this))}return i(e,[{key:"open",value:function(){function e(){t.style.overflow="",t.style.height="",t.style.transition="",t.removeEventListener("transitionend",r)}var t=this.elem.parentNode.querySelector(".inset-list");this.elem.classList.add("open"),t.style.display="block",t.style.height="";var n=t.getBoundingClientRect().height;t.style.height="0px",t.style.overflow="hidden",t.style.transition="height ease-in-out 240ms";var r=e.bind(this);setTimeout(function(){t.style.height=n+"px",t.addEventListener("transitionend",r)},1)}},{key:"close",value:function(){function e(){t.style.overflow="",t.style.height="",t.style.transition="",t.style.display="none",t.removeEventListener("transitionend",n)}var t=this.elem.parentNode.querySelector(".inset-list");this.elem.classList.remove("open"),t.style.display="block",t.style.height=t.getBoundingClientRect().height+"px",t.style.overflow="hidden",t.style.transition="height ease-in-out 240ms";var n=e.bind(this);setTimeout(function(){t.style.height="0px",t.addEventListener("transitionend",n)},1)}},{key:"click",value:function(e){e.preventDefault(),this.isOpen?this.close():this.open(),this.isOpen=!this.isOpen}}]),e}();t.exports=o},{}],456:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.elem=t,this.trigger=t.querySelector("[collapsible-trigger]"),this.content=t.querySelector("[collapsible-content]"),this.trigger&&this.trigger.addEventListener("click",this.toggle.bind(this))}return i(e,[{key:"open",value:function(){this.elem.classList.add("open"),$(this.content).slideDown(400)}},{key:"close",value:function(){this.elem.classList.remove("open"),$(this.content).slideUp(400)}},{key:"toggle",value:function(){this.elem.classList.contains("open")?this.close():this.open()}}]),e}();t.exports=o},{}],457:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.container=t,this.menu=t.querySelector("ul"),this.toggle=t.querySelector("[dropdown-toggle]"),this.setupListeners()}return i(e,[{key:"show",value:function(){this.menu.style.display="block",this.menu.classList.add("anim","menuIn"),this.container.addEventListener("mouseleave",this.hide.bind(this));var e=this.menu.querySelector("input");null!==e&&e.focus()}},{key:"hide",value:function(){this.menu.style.display="none",this.menu.classList.remove("anim","menuIn")}},{key:"setupListeners",value:function(){var e=this;this.container.addEventListener("click",function(t){-1!==Array.from(e.menu.querySelectorAll("a")).indexOf(t.target)&&e.hide()}),this.toggle.addEventListener("click",this.show.bind(this)),this.container.addEventListener("keypress",function(t){return 13!==t.keyCode||(t.preventDefault(),e.hide(),!1)})}}]),e}();t.exports=o},{}],458:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){var n=this;r(this,e),this.elem=t,this.buttons=t.querySelectorAll("[toolbox-tab-button]"),this.contentElements=t.querySelectorAll("[toolbox-tab-content]"),this.toggleButton=t.querySelector("[toolbox-toggle]"),this.toggleButton.addEventListener("click",this.toggle.bind(this)),this.elem.addEventListener("click",function(e){var t=e.target.closest("[toolbox-tab-button]");if(null!==t){var r=t.getAttribute("toolbox-tab-button");n.setActiveTab(r,!0)}}),this.setActiveTab(this.contentElements[0].getAttribute("toolbox-tab-content"))}return i(e,[{key:"toggle",value:function(){this.elem.classList.toggle("open")}},{key:"setActiveTab",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=this.buttons.length;n<r;n++){this.buttons[n].classList.remove("active");this.buttons[n].getAttribute("toolbox-tab-button")===e&&this.buttons[n].classList.add("active")}for(var i=0,o=this.contentElements.length;i<o;i++){this.contentElements[i].style.display="none";this.contentElements[i].getAttribute("toolbox-tab-content")===e&&(this.contentElements[i].style.display="block")}t&&this.elem.classList.add("open")}}]),e}();t.exports=o},{}],459:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.elem=t,window.EntitySelectorPopup=this,this.callback=null,this.selection=null,this.selectButton=t.querySelector(".entity-link-selector-confirm"),this.selectButton.addEventListener("click",this.onSelectButtonClick.bind(this)),window.$events.listen("entity-select-change",this.onSelectionChange.bind(this)),window.$events.listen("entity-select-confirm",this.onSelectionConfirm.bind(this))}return i(e,[{key:"show",value:function(e){this.callback=e,this.elem.components.overlay.show()}},{key:"hide",value:function(){this.elem.components.overlay.hide()}},{key:"onSelectButtonClick",value:function(){this.hide(),null!==this.selection&&this.callback&&this.callback(this.selection)}},{key:"onSelectionConfirm",value:function(e){this.hide(),this.callback&&e&&this.callback(e)}},{key:"onSelectionChange",value:function(e){this.selection=e,null===e?this.selectButton.setAttribute("disabled","true"):this.selectButton.removeAttribute("disabled")}}]),e}();t.exports=o},{}],460:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){var n=this;r(this,e),this.elem=t,this.search="",this.lastClick=0;var i=t.hasAttribute("entity-types")?t.getAttribute("entity-types"):"page,book,chapter";this.searchUrl=window.baseUrl("/ajax/search/entities?types="+encodeURIComponent(i)),this.input=t.querySelector("[entity-selector-input]"),this.searchInput=t.querySelector("[entity-selector-search]"),this.loading=t.querySelector("[entity-selector-loading]"),this.resultsContainer=t.querySelector("[entity-selector-results]"),this.elem.addEventListener("click",this.onClick.bind(this));var o=0;this.searchInput.addEventListener("input",function(e){o=Date.now(),n.showLoading(),setTimeout(function(){Date.now()-o<199||n.searchEntities(n.searchInput.value)},200)}),this.searchInput.addEventListener("keydown",function(e){13===e.keyCode&&e.preventDefault()}),this.showLoading(),this.initialLoad()}return i(e,[{key:"showLoading",value:function(){this.loading.style.display="block",this.resultsContainer.style.display="none"}},{key:"hideLoading",value:function(){this.loading.style.display="none",this.resultsContainer.style.display="block"}},{key:"initialLoad",value:function(){var e=this;window.$http.get(this.searchUrl).then(function(t){e.resultsContainer.innerHTML=t.data,e.hideLoading()})}},{key:"searchEntities",value:function(e){var t=this;this.input.value="";var n=this.searchUrl+"&term="+encodeURIComponent(e);window.$http.get(n).then(function(e){t.resultsContainer.innerHTML=e.data,t.hideLoading()})}},{key:"isDoubleClick",value:function(){var e=Date.now(),t=e-this.lastClick<300;return this.lastClick=e,t}},{key:"onClick",value:function(e){var t=e.target;if(console.log("click",t),t.matches(".entity-list-item *")){e.preventDefault(),e.stopPropagation();var n=t.closest("[data-entity-type]");this.selectItem(n)}else t.matches("[data-entity-type]")&&this.selectItem(t)}},{key:"selectItem",value:function(e){var t=this.isDoubleClick(),n=e.getAttribute("data-entity-type"),r=e.getAttribute("data-entity-id"),i=!e.classList.contains("selected")||t;if(this.unselectAll(),this.input.value=i?n+":"+r:"",i||window.$events.emit("entity-select-change",null),i&&(e.classList.add("selected"),e.classList.add("primary-background")),t||i){var o=e.querySelector(".entity-list-item-link").getAttribute("href"),a=e.querySelector(".entity-list-item-name").textContent,s={id:Number(r),name:a,link:o};t&&window.$events.emit("entity-select-confirm",s),i&&window.$events.emit("entity-select-change",s)}}},{key:"unselectAll",value:function(){for(var e=this.elem.querySelectorAll(".selected"),t=0,n=e.length;t<n;t++)e[t].classList.remove("selected"),e[t].classList.remove("primary-background")}}]),e}();t.exports=o},{}],461:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.elem=t,this.isOpen=!1,this.selector=t.getAttribute("expand-toggle"),t.addEventListener("click",this.click.bind(this))}return i(e,[{key:"open",value:function(e){function t(){e.style.overflow="",e.style.height="",e.style.transition="",e.removeEventListener("transitionend",r)}e.style.display="block",e.style.height="";var n=e.getBoundingClientRect().height;e.style.height="0px",e.style.overflow="hidden",e.style.transition="height ease-in-out 240ms";var r=t.bind(this);setTimeout(function(){e.style.height=n+"px",e.addEventListener("transitionend",r)},1)}},{key:"close",value:function(e){function t(){e.style.overflow="",e.style.height="",e.style.transition="",e.style.display="none",e.removeEventListener("transitionend",n)}e.style.display="block",e.style.height=e.getBoundingClientRect().height+"px",e.style.overflow="hidden",e.style.transition="all ease-in-out 240ms";var n=t.bind(this);setTimeout(function(){e.style.height="0px",e.addEventListener("transitionend",n)},1)}},{key:"click",value:function(e){e.preventDefault();for(var t=document.querySelectorAll(this.selector),n=0,r=t.length;n<r;n++)this.isOpen?this.close(t[n]):this.open(t[n]);this.isOpen=!this.isOpen}}]),e}();t.exports=o},{}],462:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.elem=t,this.imageElem=t.querySelector("img"),this.input=t.querySelector("input"),this.isUsingIds=""!==t.getAttribute("data-current-id"),this.isResizing=t.getAttribute("data-resize-height")&&t.getAttribute("data-resize-width"),this.isResizeCropping=""!==t.getAttribute("data-resize-crop"),t.querySelector('button[data-action="show-image-manager"]').addEventListener("click",this.selectImage.bind(this)),t.querySelector('button[data-action="reset-image"]').addEventListener("click",this.reset.bind(this));var n=t.querySelector('button[data-action="remove-image"]');n&&n.addEventListener("click",this.removeImage.bind(this))}return i(e,[{key:"selectImage",value:function(){var e=this;window.ImageManager.show(function(t){if(!e.isResizing)return void e.setImage(t);var n="/images/thumb/"+t.id+"/"+e.elem.getAttribute("data-resize-width")+"/"+e.elem.getAttribute("data-resize-height")+"/"+(e.isResizeCropping?"true":"false");window.$http.get(window.baseUrl(n)).then(function(n){t.url=n.data.url,e.setImage(t)})})}},{key:"reset",value:function(){this.setImage({id:0,url:this.elem.getAttribute("data-default-image")})}},{key:"setImage",value:function(e){this.imageElem.src=e.url,this.input.value=this.isUsingIds?e.id:e.url,this.imageElem.classList.remove("none")}},{key:"removeImage",value:function(){this.imageElem.src=this.elem.getAttribute("data-default-image"),this.imageElem.classList.add("none"),this.input.value="none"}}]),e}();t.exports=o},{}],463:[function(e,t,n){"use strict";function r(e,t){var n=t.querySelectorAll("["+e+"]");if(0!==n.length){var r=o[e];void 0===window.components[e]&&(window.components[e]=[]);for(var i=0,a=n.length;i<a;i++){var s=new r(n[i]);void 0===n[i].components&&(n[i].components={}),n[i].components[e]=s,window.components[e].push(s)}}}function i(e){void 0===e&&(e=document);for(var t=0,n=a.length;t<n;t++)r(a[t],e)}var o={dropdown:e("./dropdown"),overlay:e("./overlay"),"back-to-top":e("./back-top-top"),notification:e("./notification"),"chapter-toggle":e("./chapter-toggle"),"expand-toggle":e("./expand-toggle"),"entity-selector-popup":e("./entity-selector-popup"),"entity-selector":e("./entity-selector"),sidebar:e("./sidebar"),"page-picker":e("./page-picker"),"page-comments":e("./page-comments"),"wysiwyg-editor":e("./wysiwyg-editor"),"markdown-editor":e("./markdown-editor"),"editor-toolbox":e("./editor-toolbox"),"image-picker":e("./image-picker"),collapsible:e("./collapsible")};window.components={};var a=Object.keys(o);i(),window.components.init=i},{"./back-top-top":454,"./chapter-toggle":455,"./collapsible":456,"./dropdown":457,"./editor-toolbox":458,"./entity-selector":460,"./entity-selector-popup":459,"./expand-toggle":461,"./image-picker":462,"./markdown-editor":464,"./notification":465,"./overlay":466,"./page-comments":467,"./page-picker":468,"./sidebar":469,"./wysiwyg-editor":470}],464:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e("markdown-it"),a=e("markdown-it-task-lists"),s=e("../libs/code"),l=e("../libs/drawio"),c=function(){function e(t){r(this,e),this.elem=t,this.markdown=new o({html:!0}),this.markdown.use(a,{label:!0}),this.display=this.elem.querySelector(".markdown-display"),this.input=this.elem.querySelector("textarea"),this.htmlInput=this.elem.querySelector("input[name=html]"),this.cm=s.markdownEditor(this.input),this.onMarkdownScroll=this.onMarkdownScroll.bind(this),this.init()}return i(e,[{key:"init",value:function(){var e=this,t=0;this.display.addEventListener("click",function(n){var r=Date.now()-t<300,i=n.target.closest("a");if(null!==i)return n.preventDefault(),void window.open(i.getAttribute("href"));var o=n.target.closest("[drawio-diagram]");if(null!==o&&r)return void e.actionEditDrawing(o);t=Date.now()}),this.elem.addEventListener("click",function(t){var n=t.target.closest("button[data-action]");if(null!==n){var r=n.getAttribute("data-action");"insertImage"===r&&e.actionInsertImage(),"insertLink"===r&&e.actionShowLinkSelector(),"insertDrawing"===r&&e.actionStartDrawing()}}),window.$events.listen("editor-markdown-update",function(t){e.cm.setValue(t),e.updateAndRender()}),this.codeMirrorSetup()}},{key:"updateAndRender",value:function(){var e=this.cm.getValue();this.input.value=e;var t=this.markdown.render(e);window.$events.emit("editor-html-change",t),window.$events.emit("editor-markdown-change",e),this.display.innerHTML=t,this.htmlInput.value=t}},{key:"onMarkdownScroll",value:function(e){var t=this.display.children;if(!(t.length<=e)){var n=-1===e?t[t.length-1]:t[e];$(this.display).animate({scrollTop:n.offsetTop},{queue:!1,duration:200,easing:"linear"})}}},{key:"codeMirrorSetup",value:function(){function e(e,t){var n=l.getValue(),r=l.listSelections();l.setValue(n.replace(e,t)),l.setSelections(r)}function t(e){var t=l.getCursor(),n=l.getLine(t.line),r=n.length,i=n.split(" ")[0];if(i===e)return n=n.replace(e+" ",""),l.replaceRange(n,{line:t.line,ch:0},{line:t.line,ch:r}),void l.setCursor({line:t.line,ch:t.ch-(e.length+1)});var o=/^[#>`]/.test(i),a=0;o?(a=e.length-i.length,n=n.replace(i,e).trim()):""!==e&&(a=e.length+1,n=e+" "+n),l.replaceRange(n,{line:t.line,ch:0},{line:t.line,ch:r}),l.setCursor({line:t.line,ch:t.ch+a})}function n(e,t){var n=l.getCursor(),r=l.getLine(n.line),i=r.length,o=r;o=0===r.indexOf(e)&&r.slice(-t.length)===t?r.slice(e.length,r.length-t.length):""+e+r+t,l.replaceRange(o,{line:n.line,ch:0},{line:n.line,ch:i}),l.setCursor({line:n.line,ch:n.ch+e.length})}function r(e,t){var r=l.getSelection();if(""===r)return n(e,t);var i=r,o=0;0===r.indexOf(e)&&r.slice(-t.length)===t?(i=r.slice(e.length,r.length-t.length),o=-(t.length+e.length)):(i=""+e+r+t,o=e.length+t.length);var a=l.listSelections()[0];l.replaceSelection(i);var s=a.head.ch<=a.anchor.ch;a.head.ch+=s?0:o,a.anchor.ch+=s?o:0,l.setSelections([a])}function i(t){if(null!==t&&0===t.type.indexOf("image")){var n="png";if(t.name){var r=t.name.match(/\.(.+)$/);r.length>1&&(n=r[1])}var i="image-"+Math.random().toString(16).slice(2),o=window.baseUrl("/loading.gif#upload"+i),a=l.getSelection(),s="!["+a+"]("+o+")";l.replaceSelection(s);var c="image-"+Date.now()+"."+n,u=new FormData;u.append("file",t,c),window.$http.post("/images/gallery/upload",u).then(function(t){e(o,t.data.thumbs.display)}).catch(function(t){events.emit("error",trans("errors.image_upload_error")),e(s,a),console.log(t)})}}function o(){var e=l.getCursor("from"),t=l.getSelection()||"",n="["+t+"]()";l.focus(),l.replaceSelection(n);var r=""===t?-3:-1;l.setCursor(e.line,e.ch+n.length+r)}var a=this,l=this.cm,c=s.getMetaKey(),u={};u[c+"-Alt-I"]=function(e){var t=e.getSelection(),n="!["+t+"](http://)",r=e.getCursor("from");e.replaceSelection(n),e.setCursor(r.line,r.ch+n.length-1)},u[c+"-S"]=function(e){window.$events.emit("editor-save-draft")},u[c+"-Enter"]=function(e){window.$events.emit("editor-save-page")},u["Shift-"+c+"-K"]=function(e){a.actionShowLinkSelector()},u[c+"-K"]=function(e){o()},u[c+"-1"]=function(e){t("##")},u[c+"-2"]=function(e){t("###")},u[c+"-3"]=function(e){t("####")},u[c+"-4"]=function(e){t("#####")},u[c+"-5"]=function(e){t("")},u[c+"-d"]=function(e){t("")},u[c+"-6"]=function(e){t(">")},u[c+"-q"]=function(e){t(">")},u[c+"-7"]=function(e){r("\n```\n","\n```")},u[c+"-8"]=function(e){r("`","`")},u["Shift-"+c+"-E"]=function(e){r("`","`")},u[c+"-9"]=function(e){r('<p class="callout info">',"</p>")},l.setOption("extraKeys",u),l.on("change",function(e,t){a.updateAndRender()}),l.on("scroll",function(e){var t=e.getScrollInfo();if(t.top+t.clientHeight===t.height)return void a.onMarkdownScroll(-1);var n=e.lineAtHeight(t.top,"local"),r=e.getRange({line:0,ch:null},{line:n,ch:null}),i=new DOMParser,o=i.parseFromString(a.markdown.render(r),"text/html"),s=o.documentElement.querySelectorAll("body > *");a.onMarkdownScroll(s.length)}),l.on("paste",function(e,t){if(t.clipboardData&&t.clipboardData.items)for(var n=0;n<t.clipboardData.items.length;n++)i(t.clipboardData.items[n].getAsFile())}),l.on("drop",function(e,t){t.stopPropagation(),t.preventDefault();var n=e.coordsChar({left:t.pageX,top:t.pageY});if(e.setCursor(n),t.dataTransfer&&t.dataTransfer.files)for(var r=0;r<t.dataTransfer.files.length;r++)i(t.dataTransfer.files[r])}),this.updateAndRender()}},{key:"actionInsertImage",value:function(){var e=this,t=this.cm.getCursor("from");window.ImageManager.show(function(n){var r=e.cm.getSelection(),i="!["+(r||n.name)+"]("+n.thumbs.display+")";e.cm.focus(),e.cm.replaceSelection(i),e.cm.setCursor(t.line,t.ch+i.length)})}},{key:"actionShowLinkSelector",value:function(){var e=this,t=this.cm.getCursor("from");window.EntitySelectorPopup.show(function(n){var r=e.cm.getSelection()||n.name,i="["+r+"]("+n.link+")";e.cm.focus(),e.cm.replaceSelection(i),e.cm.setCursor(t.line,t.ch+i.length)})}},{key:"actionStartDrawing",value:function(){var e=this;if("true"===document.querySelector("[drawio-enabled]").getAttribute("drawio-enabled")){var t=this.cm.getCursor("from");l.show(function(){return Promise.resolve("")},function(n){var r={image:n,uploaded_to:Number(document.getElementById("page-editor").getAttribute("page-id"))};window.$http.post(window.baseUrl("/images/drawing/upload"),r).then(function(n){var r='<div drawio-diagram="'+n.data.id+'"><img src="'+n.data.url+'"></div>';e.cm.focus(),e.cm.replaceSelection(r),e.cm.setCursor(t.line,t.ch+r.length),l.close()}).catch(function(e){window.$events.emit("error",trans("errors.image_upload_error")),console.log(e)})})}}},{key:"actionEditDrawing",value:function(e){var t=this;if("true"===document.querySelector("[drawio-enabled]").getAttribute("drawio-enabled")){var n=this.cm.getCursor("from"),r=e.getAttribute("drawio-diagram");l.show(function(){return window.$http.get(window.baseUrl("/images/base64/"+r)).then(function(e){return"data:image/png;base64,"+e.data.content})},function(e){var i={image:e,uploaded_to:Number(document.getElementById("page-editor").getAttribute("page-id"))};window.$http.put(window.baseUrl("/images/drawing/upload/"+r),i).then(function(e){var i='<div drawio-diagram="'+e.data.id+'"><img src="'+e.data.url+"?updated="+Date.now()+'"></div>',o=t.cm.getValue().split("\n").map(function(e){return-1!==e.indexOf('drawio-diagram="'+r+'"')?i:e}).join("\n");t.cm.setValue(o),t.cm.setCursor(n),t.cm.focus(),l.close()}).catch(function(e){window.$events.emit("error",trans("errors.image_upload_error")),console.log(e)})})}}}]),e}();t.exports=c},{"../libs/code":473,"../libs/drawio":474,"markdown-it":381,"markdown-it-task-lists":380}],465:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){var n=this;r(this,e),this.elem=t,this.type=t.getAttribute("notification"),this.textElem=t.querySelector("span"),this.autohide=this.elem.hasAttribute("data-autohide"),window.$events.listen(this.type,function(e){n.show(e)}),t.addEventListener("click",this.hide.bind(this)),t.hasAttribute("data-show")&&this.show(this.textElem.textContent),this.hideCleanup=this.hideCleanup.bind(this)}return i(e,[{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.elem.removeEventListener("transitionend",this.hideCleanup),this.textElem.textContent=t,this.elem.style.display="block",setTimeout(function(){e.elem.classList.add("showing")},1),this.autohide&&setTimeout(this.hide.bind(this),2e3)}},{key:"hide",value:function(){this.elem.classList.remove("showing"),this.elem.addEventListener("transitionend",this.hideCleanup)}},{key:"hideCleanup",value:function(){this.elem.style.display="none",this.elem.removeEventListener("transitionend",this.hideCleanup)}}]),e}();t.exports=o},{}],466:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){var n=this
;r(this,e),this.container=t,t.addEventListener("click",function(e){if(e.target===t)return n.hide()});for(var i=t.querySelectorAll(".overlay-close"),o=0;o<i.length;o++)i[o].addEventListener("click",this.hide.bind(this))}return i(e,[{key:"toggle",value:function(){function e(){var i=Date.now()-n,o=t?i/r:1-i/r;this.container.style.opacity=o,i>r?(this.container.style.display=t?"flex":"none",this.container.style.opacity=""):requestAnimationFrame(e.bind(this))}var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=Date.now(),r=240;requestAnimationFrame(e.bind(this))}},{key:"hide",value:function(){this.toggle(!1)}},{key:"show",value:function(){this.toggle(!0)}}]),e}();t.exports=o},{}],467:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e("markdown-it"),a=new o({html:!1}),s=function(){function e(t){r(this,e),this.elem=t,this.pageId=Number(t.getAttribute("page-id")),this.editingComment=null,this.parentId=null,this.container=t.querySelector("[comment-container]"),this.formContainer=t.querySelector("[comment-form-container]"),this.formContainer&&(this.form=this.formContainer.querySelector("form"),this.formInput=this.form.querySelector("textarea"),this.form.addEventListener("submit",this.saveComment.bind(this))),this.elem.addEventListener("click",this.handleAction.bind(this)),this.elem.addEventListener("submit",this.updateComment.bind(this))}return i(e,[{key:"handleAction",value:function(e){var t=e.target.closest("[action]");if(e.target.matches('a[href^="#"]')){var n=e.target.href.split("#")[1];window.scrollAndHighlight(document.querySelector("#"+n))}if(null!==t){e.preventDefault();var r=t.getAttribute("action");"edit"===r&&this.editComment(t.closest("[comment]")),"closeUpdateForm"===r&&this.closeUpdateForm(),"delete"===r&&this.deleteComment(t.closest("[comment]")),"addComment"===r&&this.showForm(),"hideForm"===r&&this.hideForm(),"reply"===r&&this.setReply(t.closest("[comment]")),"remove-reply-to"===r&&this.removeReplyTo()}}},{key:"closeUpdateForm",value:function(){this.editingComment&&(this.editingComment.querySelector("[comment-content]").style.display="block",this.editingComment.querySelector("[comment-edit-container]").style.display="none")}},{key:"editComment",value:function(e){this.hideForm(),this.editingComment&&this.closeUpdateForm(),e.querySelector("[comment-content]").style.display="none",e.querySelector("[comment-edit-container]").style.display="block";var t=e.querySelector("[comment-edit-container] textarea"),n=t.value.split("\n").length;t.style.height=20*n+"px",this.editingComment=e}},{key:"updateComment",value:function(e){var t=this,n=e.target;e.preventDefault();var r=n.querySelector("textarea").value,i={text:r,html:a.render(r),parent_id:this.parentId||null};this.showLoading(n);var o=this.editingComment.getAttribute("comment");window.$http.put(window.baseUrl("/ajax/comment/"+o),i).then(function(e){var r=document.createElement("div");r.innerHTML=e.data,t.editingComment.innerHTML=r.children[0].innerHTML,window.$events.emit("success",window.trans("entities.comment_updated_success")),window.components.init(t.editingComment),t.closeUpdateForm(),t.editingComment=null,t.hideLoading(n)})}},{key:"deleteComment",value:function(e){var t=this,n=e.getAttribute("comment");this.showLoading(e.querySelector("[comment-content]")),window.$http.delete(window.baseUrl("/ajax/comment/"+n)).then(function(n){e.parentNode.removeChild(e),window.$events.emit("success",window.trans("entities.comment_deleted_success")),t.updateCount()})}},{key:"saveComment",value:function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=this.formInput.value,r={text:n,html:a.render(n),parent_id:this.parentId||null};this.showLoading(this.form),window.$http.post(window.baseUrl("/ajax/page/"+this.pageId+"/comment"),r).then(function(e){var n=document.createElement("div");n.innerHTML=e.data;var r=n.children[0];t.container.appendChild(r),window.components.init(r),window.$events.emit("success",window.trans("entities.comment_created_success")),t.resetForm(),t.updateCount()})}},{key:"updateCount",value:function(){var e=this.container.children.length;this.elem.querySelector("[comments-title]").textContent=window.trans_choice("entities.comment_count",e,{count:e})}},{key:"resetForm",value:function(){this.formInput.value="",this.formContainer.appendChild(this.form),this.hideForm(),this.removeReplyTo(),this.hideLoading(this.form)}},{key:"showForm",value:function(){this.formContainer.style.display="block",this.formContainer.parentNode.style.display="block",this.elem.querySelector("[comment-add-button]").style.display="none",this.formInput.focus(),window.scrollToElement(this.formInput)}},{key:"hideForm",value:function(){this.formContainer.style.display="none",this.formContainer.parentNode.style.display="none",this.elem.querySelector("[comment-add-button]").style.display="block"}},{key:"setReply",value:function(e){this.showForm(),this.parentId=Number(e.getAttribute("local-id")),this.elem.querySelector("[comment-form-reply-to]").style.display="block";var t=this.elem.querySelector("[comment-form-reply-to] a");t.textContent="#"+this.parentId,t.href="#comment"+this.parentId}},{key:"removeReplyTo",value:function(){this.parentId=null,this.elem.querySelector("[comment-form-reply-to]").style.display="none"}},{key:"showLoading",value:function(e){for(var t=e.querySelectorAll(".form-group"),n=0,r=t.length;n<r;n++)t[n].style.display="none";e.querySelector(".form-group.loading").style.display="block"}},{key:"hideLoading",value:function(e){for(var t=e.querySelectorAll(".form-group"),n=0,r=t.length;n<r;n++)t[n].style.display="block";e.querySelector(".form-group.loading").style.display="none"}}]),e}();t.exports=s},{"markdown-it":381}],468:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){var n="BUTTON"===e.tagName||"SPAN"===e.tagName?"inline-block":"block";e.style.display=t?n:"none"}var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){r(this,e),this.elem=t,this.input=t.querySelector("input"),this.resetButton=t.querySelector("[page-picker-reset]"),this.selectButton=t.querySelector("[page-picker-select]"),this.display=t.querySelector("[page-picker-display]"),this.defaultDisplay=t.querySelector("[page-picker-default]"),this.buttonSep=t.querySelector("span.sep"),this.value=this.input.value,this.setupListeners()}return o(e,[{key:"setupListeners",value:function(){var e=this;this.selectButton.addEventListener("click",function(t){window.EntitySelectorPopup.show(function(t){e.setValue(t.id,t.name)})}),this.resetButton.addEventListener("click",function(t){e.setValue("","")})}},{key:"setValue",value:function(e,t){this.value=e,this.input.value=e,this.controlView(t)}},{key:"controlView",value:function(e){var t=this.value&&0!==this.value;if(i(this.resetButton,t),i(this.buttonSep,t),i(this.defaultDisplay,!t),i(this.display,t),t){var n=this.getAssetIdFromVal();this.display.textContent="#"+n+", "+e,this.display.href=window.baseUrl("/link/"+n)}}},{key:"getAssetIdFromVal",value:function(){return Number(this.value)}}]),e}();t.exports=a},{}],469:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.elem=t,this.toggleElem=t.querySelector(".sidebar-toggle"),this.toggleElem.addEventListener("click",this.toggle.bind(this))}return i(e,[{key:"toggle",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.elem.classList.toggle("open")}}]),e}();t.exports=o},{}],470:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function t(n){r(this,t),this.elem=n,this.options=e("../pages/page-form"),tinymce.init(this.options)};t.exports=i},{"../pages/page-form":475}],471:[function(e,t,n){"use strict";Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this,n=this;if(!document.documentElement.contains(t))return null;do{if(n.matches(e))return n;n=n.parentElement}while(null!==n);return null})},{}],472:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();e("babel-polyfill"),e("./dom-polyfills"),window.baseUrl=function(e){var t=document.querySelector('meta[name="base-url"]').getAttribute("content");return"/"===t[t.length-1]&&(t=t.slice(0,t.length-1)),"/"===e[0]&&(e=e.slice(1)),t+"/"+e};var o=function(){function e(){r(this,e),this.listeners={},this.stack=[]}return i(e,[{key:"emit",value:function(e,t){if(this.stack.push({name:e,data:t}),void 0===this.listeners[e])return this;for(var n=this.listeners[e],r=0;r<n.length;r++){(0,n[r])(t)}return this}},{key:"listen",value:function(e,t){return void 0===this.listeners[e]&&(this.listeners[e]=[]),this.listeners[e].push(t),this}}]),e}();window.$events=new o;var a=e("vue"),s=e("axios"),l=s.create({headers:{"X-CSRF-TOKEN":document.querySelector("meta[name=token]").getAttribute("content"),baseURL:window.baseUrl("")}});l.interceptors.request.use(function(e){return e},function(e){if(void 0===e.response||void 0===e.response.data)return Promise.reject(e);void 0!==e.response.data.error&&window.$events.emit("error",e.response.data.error),void 0!==e.response.data.message&&window.$events.emit("error",e.response.data.message)}),window.$http=l,a.prototype.$http=l,a.prototype.$events=window.$events;var c=e("./translations"),u=new c(window.translations);window.trans=u.get.bind(u),window.trans_choice=u.getPlural.bind(u),e("./vues/vues"),e("./components"),window.scrollToElement=function(e){if(e){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,n=e.getBoundingClientRect().top+t;$("html, body").animate({scrollTop:n-60},300)}},window.scrollAndHighlight=function(e){if(e){window.scrollToElement(e);var t=document.getElementById("custom-styles").getAttribute("data-color-light"),n=window.getComputedStyle(e).getPropertyValue("background-color");e.style.backgroundColor=t,setTimeout(function(){e.classList.add("selectFade"),e.style.backgroundColor=n},10),setTimeout(function(){e.classList.remove("selectFade"),e.style.backgroundColor=""},3e3)}},jQuery.fn.smoothScrollTo=function(){if(0!==this.length)return window.scrollToElement(this[0]),this},jQuery.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),(-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0||-1!==navigator.userAgent.indexOf("Safari"))&&document.body.classList.add("flexbox-support"),e("./pages/page-show")},{"./components":463,"./dom-polyfills":471,"./pages/page-show":476,"./translations":477,"./vues/vues":487,axios:1,"babel-polyfill":26,vue:452}],473:[function(e,t,n){"use strict";function r(){for(var e=document.querySelectorAll(".page-content pre, .comment-box .content pre"),t=0;t<e.length;t++)i(e[t])}function i(e){var t=e.querySelector("code[class^=language-]"),n="";if(null!==t){n=o(t.className.replace("language-",""))}e.innerHTML=e.innerHTML.replace(/<br\s*[\/]?>/gi,"\n");var r=e.textContent.trim();p(function(t){e.parentNode.replaceChild(t,e)},{value:r,mode:n,lineNumbers:!0,theme:a(),readOnly:!0})}function o(e){return e=e.trim().replace(/^\./g,"").toLowerCase(),void 0!==h[e]?h[e]:""}function a(){return window.codeTheme||"base16-light"}function s(e){var t=e.ownerDocument,n=e.querySelector("code"),r=(e.className||"").replace("language-","");""===r&&n&&(r=(n.className||"").replace("language-","")),e.innerHTML=e.innerHTML.replace(/<br\s*[\/]?>/gi,"\n");var i=e.textContent,s=t.createElement("div"),l=t.createElement("textarea");s.className="CodeMirrorContainer",s.setAttribute("data-lang",r),l.style.display="none",e.parentNode.replaceChild(s,e),s.appendChild(l),s.contentEditable=!1,l.textContent=i;var c=p(function(e){s.appendChild(e)},{value:i,mode:o(r),lineNumbers:!0,theme:a(),readOnly:!0});return setTimeout(function(){c.refresh()},300),{wrap:s,editor:c}}function l(e,t){var n=e.textContent;return p(function(t){e.parentNode.insertBefore(t,e),e.style.display="none"},{value:n,mode:o(t),lineNumbers:!0,theme:a(),lineWrapping:!0})}function c(e,t){e.setOption("mode",o(t))}function u(e,t){e.setValue(t),setTimeout(function(){e.refresh()},10)}function d(e){var t=e.textContent;return p(function(t){e.parentNode.insertBefore(t,e),e.style.display="none"},{value:t,mode:"markdown",lineNumbers:!0,theme:a(),lineWrapping:!0})}function f(){return p.keyMap.default==p.keyMap.macDefault?"Cmd":"Ctrl"}e("codemirror/mode/css/css"),e("codemirror/mode/clike/clike"),e("codemirror/mode/diff/diff"),e("codemirror/mode/go/go"),e("codemirror/mode/htmlmixed/htmlmixed"),e("codemirror/mode/javascript/javascript"),e("codemirror/mode/markdown/markdown"),e("codemirror/mode/nginx/nginx"),e("codemirror/mode/php/php"),e("codemirror/mode/powershell/powershell"),e("codemirror/mode/python/python"),e("codemirror/mode/ruby/ruby"),e("codemirror/mode/shell/shell"),e("codemirror/mode/sql/sql"),e("codemirror/mode/toml/toml"),e("codemirror/mode/xml/xml"),e("codemirror/mode/yaml/yaml");var p=e("codemirror"),h={css:"css",c:"clike",java:"clike",scala:"clike",kotlin:"clike","c++":"clike","c#":"clike",csharp:"clike",diff:"diff",go:"go",html:"htmlmixed",javascript:"javascript",json:{name:"javascript",json:!0},js:"javascript",php:"php",md:"markdown",mdown:"markdown",markdown:"markdown",nginx:"nginx",powershell:"powershell",py:"python",python:"python",ruby:"ruby",rb:"ruby",shell:"shell",sh:"shell",bash:"shell",toml:"toml",sql:"sql",xml:"xml",yaml:"yaml",yml:"yaml"};t.exports={highlight:r,highlightElem:i,wysiwygView:s,popupEditor:l,setMode:c,setContent:u,markdownEditor:d,getMetaKey:f}},{codemirror:29,"codemirror/mode/clike/clike":30,"codemirror/mode/css/css":31,"codemirror/mode/diff/diff":32,"codemirror/mode/go/go":33,"codemirror/mode/htmlmixed/htmlmixed":34,"codemirror/mode/javascript/javascript":35,"codemirror/mode/markdown/markdown":36,"codemirror/mode/nginx/nginx":38,"codemirror/mode/php/php":39,"codemirror/mode/powershell/powershell":40,"codemirror/mode/python/python":41,"codemirror/mode/ruby/ruby":42,"codemirror/mode/shell/shell":43,"codemirror/mode/sql/sql":44,"codemirror/mode/toml/toml":45,"codemirror/mode/xml/xml":46,"codemirror/mode/yaml/yaml":47}],474:[function(e,t,n){"use strict";function r(e,t){p=e,h=t,f=document.createElement("iframe"),f.setAttribute("frameborder","0"),window.addEventListener("message",o),f.setAttribute("src",d),f.setAttribute("class","fullscreen"),f.style.backgroundColor="#FFFFFF",document.body.appendChild(f)}function i(){c()}function o(e){if(e.data&&!(e.data.length<1)){var t=JSON.parse(e.data);"init"===t.event?l():"exit"===t.event?c():"save"===t.event?s(t):"export"===t.event&&a(t)}}function a(e){h&&h(e.data)}function s(e){u({action:"export",format:"xmlpng",xml:e.xml,spin:"Updating drawing"})}function l(){p&&p().then(function(e){u({action:"load",autosave:1,xml:e})})}function c(){window.removeEventListener("message",o),f&&document.body.removeChild(f)}function u(e){f.contentWindow.postMessage(JSON.stringify(e),"*")}var d="https://www.draw.io/?embed=1&ui=atlas&spin=1&proto=json",f=null,p=void 0,h=void 0;t.exports={show:r,close:i}},{}],475:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData&&e.clipboardData.items)for(var n=e.clipboardData.items,r=0;r<n.length;r++){(function(r){if(-1===n[r].type.indexOf("image"))return"continue";e.preventDefault();var o="image-"+Math.random().toString(16).slice(2),a=window.baseUrl("/loading.gif"),s=n[r].getAsFile();setTimeout(function(){t.insertContent('<p><img src="'+a+'" id="'+o+'"></p>'),i(s).then(function(e){t.dom.setAttrib(o,"src",e.thumbs.display)}).catch(function(e){t.dom.remove(o),window.$events.emit("error",trans("errors.image_upload_error")),console.log(e)})},10)})(r)}}function i(e){if(null===e||0!==e.type.indexOf("image"))return Promise.reject("Not an image file");var t="png";if(e.name){var n=e.name.match(/\.(.+)$/);n.length>1&&(t=n[1])}var r="image-"+Date.now()+"."+t,i=new FormData;return i.append("file",e,r),window.$http.post(window.baseUrl("/images/gallery/upload"),i).then(function(e){return e.data})}function o(e){for(var t=1;t<5;t++)e.shortcuts.add("meta+"+t,"",["FormatBlock",!1,"h"+(t+1)]);e.shortcuts.add("meta+5","",["FormatBlock",!1,"p"]),e.shortcuts.add("meta+d","",["FormatBlock",!1,"p"]),e.shortcuts.add("meta+6","",["FormatBlock",!1,"blockquote"]),e.shortcuts.add("meta+q","",["FormatBlock",!1,"blockquote"]),e.shortcuts.add("meta+7","",["codeeditor",!1,"pre"]),e.shortcuts.add("meta+e","",["codeeditor",!1,"pre"]),e.shortcuts.add("meta+8","",["FormatBlock",!1,"code"]),e.shortcuts.add("meta+shift+E","",["FormatBlock",!1,"code"]),e.shortcuts.add("meta+S","",function(){window.$events.emit("editor-save-draft")}),e.shortcuts.add("meta+13","",function(){window.$events.emit("editor-save-page")}),e.shortcuts.add("meta+9","",function(){var t=e.selection.getNode(),n=["info","success","warning","danger"];if(!t||-1===t.className.indexOf("callout"))return void e.formatter.apply("calloutinfo");for(var r=0;r<n.length;r++)if(-1!==t.className.indexOf(n[r])){var i=r===n.length-1?n[0]:n[r+1];return void e.formatter.apply("callout"+i)}e.formatter.apply("p")})}function a(e){window.$http.get(window.baseUrl("/custom-head-content")).then(function(t){if(t.data){e.getDoc().querySelector("head").innerHTML+=t.data}})}var s=e("../libs/code"),l=e("../libs/drawio");window.tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode();n.parentNode.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})});var c="image table textcolor paste link autolink fullscreen imagetools code customhr autosave lists codeeditor";!function(){function e(e){return"CodeMirrorContainer"===e.className}function t(t){var n=t.selection.getNode();if(!e(n)){var r=t.selection.getNode().textContent;return void window.vues["code-editor"].open(r,"",function(e,n){var r=document.createElement("div");r.innerHTML='<pre><code class="language-'+n+'"></code></pre>',r.querySelector("code").innerText=e,t.formatter.toggle("pre");var i=t.selection.getNode();t.dom.setHTML(i,r.querySelector("pre").innerHTML),t.fire("SetContent")})}var i=n.hasAttribute("data-lang")?n.getAttribute("data-lang"):"",o=n.querySelector("textarea").textContent;window.vues["code-editor"].open(o,i,function(e,t){var r=n.querySelector(".CodeMirror"),i=r.CodeMirror;i&&(s.setContent(i,e),s.setMode(i,t));var o=n.querySelector("textarea");o&&(o.textContent=e),n.setAttribute("data-lang",t)})}function n(e){var t=e[0].querySelector("textarea"),n=t.textContent,r=e[0].getAttribute("data-lang");e.removeAttr("contentEditable");var i=$("<pre></pre>");i.append($("<code></code>").each(function(e,t){t.textContent=n}).attr("class","language-"+r)),e.replaceWith(i)}window.tinymce.PluginManager.add("codeeditor",function(r,i){var o=r.$;r.addButton("codeeditor",{text:"Code block",icon:!1,cmd:"codeeditor"}),r.addCommand("codeeditor",function(){t(r)}),r.on("PreProcess",function(e){o("div.CodeMirrorContainer",e.node).each(function(e,t){n(o(t))})}),r.on("dblclick",function(n){e(r.selection.getNode())&&t(r)}),r.on("SetContent",function(){o(".CodeMirrorContainer").filter(function(e,t){return void 0===t.querySelector(".CodeMirror").CodeMirror}).each(function(e,t){n(o(t))});var e=o("body > pre").filter(function(e,t){return"false"!==t.contentEditable});e.length&&r.undoManager.transact(function(){e.each(function(e,t){s.wysiwygView(t)})})})})}(),"true"===document.querySelector("[drawio-enabled]").getAttribute("drawio-enabled")&&(!function(){function e(e){return e.hasAttribute("drawio-diagram")}function t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i=e,o=t,l.show(r,n)}function n(e){var t="image-"+Math.random().toString(16).slice(2),n=window.baseUrl("/loading.gif"),r={image:e,uploaded_to:Number(document.getElementById("page-editor").getAttribute("page-id"))};if(o){l.close();var a=o.querySelector("img"),s=o.getAttribute("drawio-diagram");return void window.$http.put(window.baseUrl("/images/drawing/upload/"+s),r).then(function(e){i.dom.setAttrib(a,"src",e.data.url+"?updated="+Date.now())}).catch(function(e){window.$events.emit("error",trans("errors.image_upload_error")),console.log(e)})}setTimeout(function(){i.insertContent('<div drawio-diagram contenteditable="false"><img src="'+n+'" id="'+t+'"></div>'),l.close(),window.$http.post(window.baseUrl("/images/drawing/upload"),r).then(function(e){i.dom.setAttrib(t,"src",e.data.url),i.dom.get(t).parentNode.setAttribute("drawio-diagram",e.data.id)}).catch(function(e){i.dom.remove(t),window.$events.emit("error",trans("errors.image_upload_error")),console.log(e)})},5)}function r(){if(!o)return Promise.resolve("");var e=o.getAttribute("drawio-diagram");return window.$http.get(window.baseUrl("/images/base64/"+e)).then(function(e){return"data:image/png;base64,"+e.data.content})}var i=null,o=null;window.tinymce.PluginManager.add("drawio",function(n,r){n.addCommand("drawio",function(){t(n)}),n.addButton("drawio",{tooltip:"Drawing",image:window.baseUrl("/system_images/drawing.svg"),cmd:"drawio"}),n.on("dblclick",function(r){var i=n.selection.getNode();e(i)&&t(n,i)}),n.on("SetContent",function(){var e=n.$("body > div[drawio-diagram]");e.length&&n.undoManager.transact(function(){e.each(function(e,t){t.setAttribute("contenteditable","false")})})})})}(),c+=" drawio"),t.exports={selector:"#html-editor",content_css:[window.baseUrl("/css/styles.css"),window.baseUrl("/libs/material-design-iconic-font/css/material-design-iconic-font.min.css")],branding:!1,body_class:"page-content",browser_spellcheck:!0,relative_urls:!1,remove_script_host:!1,document_base_url:window.baseUrl("/"),statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*],svg[*],div[drawio-diagram]",automatic_uploads:!1,valid_children:"-div[p|h1|h2|h3|h4|h5|h6|blockquote],+div[pre],+div[img]",plugins:c,imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr drawio | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header Large",format:"h2"},{title:"Header Medium",format:"h3"},{title:"Header Small",format:"h4"},{title:"Header Tiny",format:"h5"},{title:"Paragraph",format:"p",exact:!0,classes:""},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",cmd:"codeeditor",format:"codeeditor"},{title:"Inline Code",icon:"code",inline:"code"},{title:"Callouts",items:[{title:"Info",format:"calloutinfo"},{title:"Success",format:"calloutsuccess"},{title:"Warning",format:"calloutwarning"},{title:"Danger",format:"calloutdanger"}]}],style_formats_merge:!1,formats:{codeeditor:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div"},alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"},calloutsuccess:{block:"p",exact:!0,attributes:{class:"callout success"}},calloutinfo:{block:"p",exact:!0,attributes:{class:"callout info"}},calloutwarning:{block:"p",exact:!0,attributes:{class:"callout warning"}},calloutdanger:{block:"p",exact:!0,attributes:{class:"callout danger"}}},file_browser_callback:function(e,t,n,r){"file"===n&&window.EntitySelectorPopup.show(function(t){var n=r.document.getElementById(e);n.value=t.link,$(n).closest(".mce-form").find("input").eq(2).val(t.name)}),"image"===n&&window.ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange");var i='<a href="'+t.url+'" target="_blank">';i+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',i+="</a>",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){-1!==t.content.indexOf('<img src="file://')&&(t.content="")},init_instance_callback:function(e){a(e)},setup:function(e){function t(){var t=e.getContent();window.$events.emit("editor-html-change",t)}function n(e){return e&&!(!e.textContent&&!e.innerText)}e.on("init ExecCommand change input NodeChange ObjectResized",t),window.$events.listen("editor-html-update",function(n){e.setContent(n),e.selection.select(e.getBody(),!0),e.selection.collapse(!1),t()}),o(e);var i=void 0;e.on("dragstart",function(){var t=e.selection.getNode();"IMG"===t.nodeName&&((i=e.dom.getParent(t,".mceTemp"))||"A"!==t.parentNode.nodeName||n(t.parentNode)||(i=t.parentNode))}),e.on("drop",function(t){var n=e.dom,r=tinymce.dom.RangeUtils.getCaretRangeFromPoint(t.clientX,t.clientY,e.getDoc());n.getParent(r.startContainer,".mceTemp")?t.preventDefault():i&&(t.preventDefault(),e.undoManager.transact(function(){e.selection.setRng(r),e.selection.setNode(i),n.remove(i)})),i=null}),e.addButton("image-insert",{title:"My title",icon:"image",tooltip:"Insert an image",onclick:function(){window.ImageManager.show(function(t){var n='<a href="'+t.url+'" target="_blank">';n+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',n+="</a>",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{"../libs/code":473,"../libs/drawio":474}],476:[function(e,t,n){"use strict";var r=e("clipboard"),i=e("../libs/code"),o=window.setupPageShow=function(e){function t(){var t=p?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";p&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),c.find("input").val(t)}function n(e){var t=document.getElementById(e);$(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t?window.scrollAndHighlight(t):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function o(){g.width(v.width()+15),g.addClass("fixed"),b=!0}function a(){g.css("width","auto"),g.removeClass("fixed"),b=!1}function s(e){var t=m.scrollTop()>y;!t||b&&!e?t||!b&&!e||a():o()}function l(){s(!1)}if(i.highlight(),e){var c=$("#pointer").detach(),u=!1,d=c.children("div.pointer").first(),f=!1,p=!0,h="";c.on("click","input",function(e){$(this).select(),e.stopPropagation()}),c.on("click","span.icon",function(e){var n=$(e.currentTarget);p=!p,n.html(p?'<i class="zmdi zmdi-link"></i>':'<i class="zmdi zmdi-square-down"></i>'),t()});new r("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(u&&!f){$(e.target).is(".zmdi")||1===$(e.target).closest("#pointer").length||(c.detach(),u=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){if(e.stopPropagation(),0!==window.getSelection().toString().length){var n=$(this);h=n.attr("id"),t(),n.before(c),c.show(),u=!0;var r=e.pageX-n.offset().left-d.width()/2;r<0&&(r=0);var i=r/n.width()*100;d.css("left",i+"%"),f=!0,setTimeout(function(){f=!1},100)}}),window.location.hash){n(window.location.hash.replace(/\%20/g," ").substr(1))}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var m=$(window),g=$("#sidebar .scroll-body"),v=g.parent(),_=$(document).height()>m.height()&&g.height()<$(".page-content").height(),y=$("#header").height()+$(".toolbar").height(),b=m.scrollTop()>y;_&&m.width()>1e3&&(m.on("scroll",l),s(!0)),m.on("resize",function(e){_&&m.width()>1e3?(m.on("scroll",l),s(!0)):(m.off("scroll",l),a())}),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&function(){function e(e,n){for(var r=0;r<e.length;r++){var i=e[r],o=1===i.intersectionRatio;t(i.target.id,o)}}function t(e,t){for(var r=n.querySelectorAll('a[href="#'+e+'"]'),i=0;i<r.length;i++)t?r[i].classList.add("current-heading"):r[i].classList.remove("current-heading")}var n=document.querySelector(".sidebar-page-nav"),r=document.querySelector(".page-content").querySelectorAll("h1, h2, h3, h4, h5, h6");r.length>0&&null!==n&&function(t){for(var n={rootMargin:"0px 0px 0px 0px",threshold:1},r=new IntersectionObserver(e,n),i=0;i!==t.length;++i)r.observe(t[i])}(r)}()}};t.exports=o},{"../libs/code":473,clipboard:28}],477:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.store=t}return i(e,[{key:"get",value:function(e,t){var n=this.getTransText(e);return this.performReplacements(n,t)}},{key:"getPlural",value:function(e,t,n){for(var r=this.getTransText(e),i=r.split("|"),o=null,a=/^{([0-9]+)}/,s=/^\[([0-9]+),([0-9*]+)]/,l=0,c=i.length;l<c;l++){var u=i[l],d=u.match(a);if(null!==d&&Number(d[1])===t){o=u.replace(a,"").trim();break}var f=u.match(s);if(null!==f){if(Number(f[1])<=t&&("*"===f[2]||Number(f[2])>=t)){o=u.replace(s,"").trim();break}}}return null===o&&i.length>1&&(o=1===t?i[0]:i[1]),null===o&&(o=i[0]),this.performReplacements(o,n)}},{key:"getTransText",value:function(e){var t=e.split("."),n=t.reduce(function(e,t){return void 0!==e?e[t]:e},this.store);return void 0===n&&(console.log('Translation with key "'+e+'" does not exist'),n=e),n}},{key:"performReplacements",value:function(e,t){if(!t)return e;var n=e.match(/:([\S]+)/g);return null===n?e:(n.forEach(function(n){var r=n.substring(1);void 0!==t[r]&&(e=e.replace(n,t[r]))}),e)}}]),e}();t.exports=o},{}],478:[function(e,t,n){"use strict";function r(){var e=this;this.pageId=this.$el.getAttribute("page-id"),this.file=this.newFile(),this.$http.get(window.baseUrl("/attachments/get/page/"+this.pageId)).then(function(t){e.files=t.data}).catch(function(t){e.checkValidationErrors("get",t)})}var i=e("vuedraggable"),o=e("./components/dropzone"),a={pageId:null,files:[],fileToEdit:null,file:{},tab:"list",editTab:"file",errors:{link:{},edit:{},delete:{}}},s={dropzone:o,draggable:i},l={newFile:function(){return{page_id:this.pageId}},getFileUrl:function(e){return window.baseUrl("/attachments/"+e.id)},fileSortUpdate:function(){var e=this;this.$http.put(window.baseUrl("/attachments/sort/page/"+this.pageId),{files:this.files}).then(function(t){
e.$events.emit("success",t.data.message)}).catch(function(t){e.checkValidationErrors("sort",t)})},startEdit:function(e){this.fileToEdit=Object.assign({},e),this.fileToEdit.link=e.external?e.path:"",this.editTab=e.external?"link":"file"},deleteFile:function(e){var t=this;if(!e.deleting)return e.deleting=!0;this.$http.delete(window.baseUrl("/attachments/"+e.id)).then(function(n){t.$events.emit("success",n.data.message),t.files.splice(t.files.indexOf(e),1)}).catch(function(e){t.checkValidationErrors("delete",e)})},uploadSuccess:function(e){this.files.push(e.data),this.$events.emit("success",trans("entities.attachments_file_uploaded"))},uploadSuccessUpdate:function(e){var t=this.filesIndex(e.data);-1===t?this.files.push(e.data):this.files.splice(t,1,e.data),this.fileToEdit&&this.fileToEdit.id===e.data.id&&(this.fileToEdit=Object.assign({},e.data)),this.$events.emit("success",trans("entities.attachments_file_updated"))},checkValidationErrors:function(e,t){console.error(t),void 0===t.response.data&&void 0===t.response.data.validation||(this.errors[e]=t.response.data.validation,console.log(this.errors[e]))},getUploadUrl:function(e){var t=window.baseUrl("/attachments/upload");return void 0!==e&&(t+="/"+e.id),t},cancelEdit:function(){this.fileToEdit=null},attachNewLink:function(e){var t=this;e.uploaded_to=this.pageId,this.$http.post(window.baseUrl("/attachments/link"),e).then(function(e){t.files.push(e.data),t.file=t.newFile(),t.$events.emit("success",trans("entities.attachments_link_attached"))}).catch(function(e){t.checkValidationErrors("link",e)})},updateFile:function(e){var t=this;$http.put(window.baseUrl("/attachments/"+e.id),e).then(function(n){var r=t.filesIndex(n.data);-1===r?t.files.push(n.data):t.files.splice(r,1,n.data),t.fileToEdit&&!e.external&&(t.fileToEdit.link=""),t.fileToEdit=!1,t.$events.emit("success",trans("entities.attachments_updated_success"))}).catch(function(e){t.checkValidationErrors("edit",e)})},filesIndex:function(e){for(var t=0,n=this.files.length;t<n;t++)if(this.files[t].id===e.id)return t;return-1}};t.exports={data:a,methods:l,mounted:r,components:s}},{"./components/dropzone":481,vuedraggable:453}],479:[function(e,t,n){"use strict";var r=e("../libs/code"),i={show:function(){this.editor||(this.editor=r.popupEditor(this.$refs.editor,this.language)),this.$refs.overlay.style.display="flex"},hide:function(){this.$refs.overlay.style.display="none"},updateEditorMode:function(e){r.setMode(this.editor,e)},updateLanguage:function(e){this.language=e,this.updateEditorMode(e)},open:function(e,t,n){this.show(),this.updateEditorMode(t),this.language=t,r.setContent(this.editor,e),this.code=e,this.callback=n},save:function(){this.callback&&(this.callback(this.editor.getValue(),this.language),this.hide())}},o={editor:null,language:"",code:"",callback:null};t.exports={methods:i,data:o}},{"../libs/code":473}],480:[function(e,t,n){"use strict";function r(){return{suggestions:[],showSuggestions:!1,active:0}}function i(e){var t=e.parentNode.parentNode,n=t.querySelector('[autosuggest-type="name"]');return null===n?"":n.value}var o={},a=["url","type","value","placeholder","name"],s={inputUpdate:function(e){var t=this;this.$emit("input",e);var n={};if("value"===this.type){var r=i(this.$el);""!==r&&(n.name=r)}this.getSuggestions(e.slice(0,3),n).then(function(n){if(0===e.length)return void t.displaySuggestions(n.slice(0,6));n=n.filter(function(t){return-1!==t.toLowerCase().indexOf(e.toLowerCase())}).slice(0,4),t.displaySuggestions(n)})},inputBlur:function(){var e=this;setTimeout(function(){e.$emit("blur"),e.showSuggestions=!1},100)},inputKeydown:function(e){13===e.keyCode&&e.preventDefault(),this.showSuggestions&&(40===e.keyCode?this.active=this.active===this.suggestions.length-1?0:this.active+1:38===e.keyCode?this.active=0===this.active?this.suggestions.length-1:this.active-1:13!==e.keyCode&&9!==e.keyCode||e.shiftKey?27===e.keyCode&&(this.showSuggestions=!1):this.selectSuggestion(this.suggestions[this.active]))},displaySuggestions:function(e){if(0===e.length)return this.suggestions=[],void(this.showSuggestions=!1);this.suggestions=e,this.showSuggestions=!0,this.active=0},selectSuggestion:function(e){this.$refs.input.value=e,this.$refs.input.focus(),this.$emit("input",e),this.showSuggestions=!1},getSuggestions:function(e,t){t.search=e;var n=this.url+":"+JSON.stringify(t);return void 0!==o[n]?Promise.resolve(o[n]):this.$http.get(this.url,{params:t}).then(function(e){return o[n]=e.data,e.data})}};t.exports={template:'\n <div>\n <input :value="value" :autosuggest-type="type" ref="input"\n :placeholder="placeholder" :name="name"\n @input="inputUpdate($event.target.value)" @focus="inputUpdate($event.target.value)"\n @blur="inputBlur"\n @keydown="inputKeydown"\n />\n <ul class="suggestion-box" v-if="showSuggestions">\n <li v-for="(suggestion, i) in suggestions"\n @click="selectSuggestion(suggestion)"\n :class="{active: (i === active)}">{{suggestion}}</li>\n </ul>\n </div>\n \n',data:r,props:a,methods:s}},{}],481:[function(e,t,n){"use strict";function r(){var e=this.$el,t=this;new o(e,{url:function(){return t.uploadUrl},init:function(){var e=this;e.on("sending",function(e,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o=void 0===t.uploadedTo?0:t.uploadedTo;r.append("uploaded_to",o)}),e.on("success",function(n,r){t.$emit("success",{file:n,data:r}),$(n.previewElement).fadeOut(400,function(){e.removeFile(n)})}),e.on("error",function(e,n,r){function i(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}t.$emit("error",{file:e,errorMessage:n,xhr:r}),console.log(n),console.log(r),413===r.status&&i(trans("errors.server_upload_limit")),n.file&&i(n.file[0])})}})}function i(){return{}}var o=e("dropzone"),a=["placeholder","uploadUrl","uploadedTo"];t.exports={template:'\n <div class="dropzone-container">\n <div class="dz-message">{{placeholder}}</div>\n </div>\n',props:a,mounted:r,data:i}},{dropzone:373}],482:[function(e,t,n){"use strict";function r(){this.id=Number(this.$el.getAttribute("entity-id")),this.type=this.$el.getAttribute("entity-type")}var i={id:null,type:"",searching:!1,searchTerm:"",searchResults:""},o={},a={searchBook:function(){var e=this;if(0!==this.searchTerm.trim().length){this.searching=!0,this.searchResults="";var t=window.baseUrl("/search/"+this.type+"/"+this.id);t+="?term="+encodeURIComponent(this.searchTerm),this.$http.get(t).then(function(t){e.searchResults=t.data})}},checkSearchForm:function(){this.searching=this.searchTerm>0},clearSearch:function(){this.searching=!1,this.searchTerm=""}};t.exports={data:i,computed:o,methods:a,mounted:r}},{}],483:[function(e,t,n){"use strict";function r(){window.ImageManager=this,this.imageType=this.$el.getAttribute("image-type"),this.uploadedTo=this.$el.getAttribute("uploaded-to"),u=window.baseUrl("/images/"+this.imageType+"/all/")}var i=e("./components/dropzone"),o=0,a=0,s=0,l=!1,c=!1,u="",d=[],f=!1,p={images:[],imageType:!1,uploadedTo:!1,selectedImage:!1,dependantPages:!1,showing:!1,view:"all",hasMore:!1,searching:!1,searchTerm:"",imageUpdateSuccess:!1,imageDeleteSuccess:!1},h={show:function(e){c=e,this.showing=!0,this.$el.children[0].components.overlay.show(),l||(this.fetchData(),l=!0)},hide:function(){this.showing=!1,this.$el.children[0].components.overlay.hide()},fetchData:function(){var e=this,t=u+o,n={};!1!==this.uploadedTo&&(n.page_id=this.uploadedTo),this.searching&&(n.term=this.searchTerm),this.$http.get(t,{params:n}).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,o++})},setView:function(e){this.cancelSearch(),this.images=[],this.hasMore=!1,o=0,this.view=e,u=window.baseUrl("/images/"+this.imageType+"/"+e+"/"),this.fetchData()},searchImages:function(){if(""===this.searchTerm)return this.cancelSearch();this.searching||(d=this.images,f=this.hasMore),this.searching=!0,this.images=[],this.hasMore=!1,o=0,u=window.baseUrl("/images/"+this.imageType+"/search/"),this.fetchData()},cancelSearch:function(){this.searching=!1,this.searchTerm="",this.images=d,this.hasMore=f},imageSelect:function(e){var t=Date.now();t-a<300&&e.id===s?this.callbackAndHide(e):(this.selectedImage=e,this.dependantPages=!1),a=t,s=e.id},callbackAndHide:function(e){c&&c(e),this.hide()},saveImageDetails:function(){var e=this,t=window.baseUrl("/images/update/"+this.selectedImage.id);this.$http.put(t,this.selectedImage).then(function(t){e.$events.emit("success",trans("components.image_update_success"))}).catch(function(t){if(422===t.response.status){var n=t.response.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),e.$events.emit("error",r)}})},deleteImage:function(){var e=this,t=!1!==this.dependantPages,n=window.baseUrl("/images/"+this.selectedImage.id);t&&(n+="?force=true"),this.$http.delete(n).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.$events.emit("success",trans("components.image_delete_success"))}).catch(function(t){400===t.response.status&&(e.dependantPages=t.response.data)})},getDate:function(e){return new Date(e)},uploadSuccess:function(e){this.images.unshift(e.data),this.$events.emit("success",trans("components.image_upload_success"))}},m={uploadUrl:function(){return window.baseUrl("/images/"+this.imageType+"/upload")}};t.exports={mounted:r,methods:h,data:p,computed:m,components:{dropzone:i}}},{"./components/dropzone":481}],484:[function(e,t,n){"use strict";function r(){var e=this,t=this.$el;this.draftsEnabled="true"===t.getAttribute("drafts-enabled"),this.editorType=t.getAttribute("editor-type"),this.pageId=Number(t.getAttribute("page-id")),this.isNewDraft=1===Number(t.getAttribute("page-new-draft")),this.isUpdateDraft=1===Number(t.getAttribute("page-update-draft")),0!==this.pageId&&this.draftsEnabled&&window.setTimeout(function(){e.startAutoSave()},1e3),this.isUpdateDraft||this.isNewDraft?this.draftText=trans("entities.pages_editing_draft"):this.draftText=trans("entities.pages_editing_page"),window.$events.listen("editor-save-draft",this.saveDraft),window.$events.listen("editor-save-page",this.savePage),window.$events.listen("editor-html-change",function(t){e.editorHTML=t}),window.$events.listen("editor-markdown-change",function(t){e.editorMarkdown=t})}var i=e("moment");e("moment/locale/en-gb"),i.locale("en-gb");var o=!1,a=!1,s={title:!1,html:!1},l=0,c={draftsEnabled:!1,editorType:"wysiwyg",pagedId:0,isNewDraft:!1,isUpdateDraft:!1,draftText:"",draftUpdated:!1,changeSummary:"",editorHTML:"",editorMarkdown:""},u={startAutoSave:function(){var e=this;s.title=document.getElementById("name").value.trim(),s.html=this.editorHTML,o=window.setInterval(function(){if(!(Date.now()-l<15e3)){var t=document.getElementById("name").value.trim(),n=e.editorHTML;t===s.title&&n===s.html||(s.html=n,s.title=t,e.saveDraft())}},3e4)},saveDraft:function(){var e=this;if(this.draftsEnabled){var t={name:document.getElementById("name").value.trim(),html:this.editorHTML};"markdown"===this.editorType&&(t.markdown=this.editorMarkdown);var n=window.baseUrl("/ajax/page/"+this.pageId+"/save-draft");window.$http.put(n,t).then(function(t){a=!1;var n=i.utc(i.unix(t.data.timestamp)).toDate();e.isNewDraft||(e.isUpdateDraft=!0),e.draftNotifyChange(t.data.message+i(n).format("HH:mm")),l=Date.now()},function(e){a||(window.$events("error",trans("errors.page_draft_autosave_fail")),a=!0)})}},savePage:function(){this.$el.closest("form").submit()},draftNotifyChange:function(e){var t=this;this.draftText=e,this.draftUpdated=!0,window.setTimeout(function(){t.draftUpdated=!1},2e3)},discardDraft:function(){var e=this,t=window.baseUrl("/ajax/page/"+this.pageId);window.$http.get(t).then(function(t){o&&window.clearInterval(o),e.draftText=trans("entities.pages_editing_page"),e.isUpdateDraft=!1,window.$events.emit("editor-html-update",t.data.html),window.$events.emit("editor-markdown-update",t.data.markdown||t.data.html),document.getElementById("name").value=t.data.name,window.setTimeout(function(){e.startAutoSave()},1e3),window.$events.emit("success",trans("entities.pages_draft_discarded"))})}},d={changeSummaryShort:function(){var e=this.changeSummary.length;return 0===e?trans("entities.pages_edit_set_changelog"):e<=16?this.changeSummary:this.changeSummary.slice(0,16)+"..."}};t.exports={mounted:r,data:c,methods:u,computed:d}},{moment:439,"moment/locale/en-gb":438}],485:[function(e,t,n){"use strict";function r(){this.termString=document.querySelector("[name=searchTerm]").value,this.typeParse(this.termString),this.exactParse(this.termString),this.tagParse(this.termString),this.optionParse(this.termString),this.dateParse(this.termString)}var i=e("moment"),o={terms:"",termString:"",search:{type:{page:!0,chapter:!0,book:!0},exactTerms:[],tagTerms:[],option:{},dates:{updated_after:!1,updated_before:!1,created_after:!1,created_before:!1}}},a={},s={appendTerm:function(e){this.termString+=" "+e,this.termString=this.termString.replace(/\s{2,}/g," "),this.termString=this.termString.replace(/^\s+/,""),this.termString=this.termString.replace(/\s+$/,"")},exactParse:function(e){this.search.exactTerms=[];for(var t=/"(.+?)"/g,n=void 0;null!==(n=t.exec(e));)this.search.exactTerms.push(n[1])},exactChange:function(){var e=/"(.+?)"/g;this.termString=this.termString.replace(e,"");var t=this.search.exactTerms.filter(function(e){return""!==e.trim()}).map(function(e){return'"'+e+'"'}).join(" ");this.appendTerm(t)},addExact:function(){this.search.exactTerms.push(""),setTimeout(function(){var e=document.querySelectorAll(".exact-input");e[e.length-1].focus()},100)},removeExact:function(e){this.search.exactTerms.splice(e,1),this.exactChange()},tagParse:function(e){this.search.tagTerms=[];for(var t=/\[(.+?)\]/g,n=void 0;null!==(n=t.exec(e));)this.search.tagTerms.push(n[1])},tagChange:function(){var e=/\[(.+?)\]/g;this.termString=this.termString.replace(e,"");var t=this.search.tagTerms.filter(function(e){return""!==e.trim()}).map(function(e){return"["+e+"]"}).join(" ");this.appendTerm(t)},addTag:function(){this.search.tagTerms.push(""),setTimeout(function(){var e=document.querySelectorAll(".tag-input");e[e.length-1].focus()},100)},removeTag:function(e){this.search.tagTerms.splice(e,1),this.tagChange()},typeParse:function(e){var t=/{\s?type:\s?(.*?)\s?}/,n=e.match(t),r=this.search.type;if(!n)return void(r.page=r.book=r.chapter=!0);var i=n[1].replace(/ /g,"").split("|");r.page=-1!==i.indexOf("page"),r.chapter=-1!==i.indexOf("chapter"),r.book=-1!==i.indexOf("book")},typeChange:function(){var e=this,t=/{\s?type:\s?(.*?)\s?}/,n=this.search.type;if(n.page===n.chapter&&n.page===n.book)return void(this.termString=this.termString.replace(t,""));var r=Object.keys(n).filter(function(t){return e.search.type[t]}).join("|"),i="{type:"+r+"}";if(this.termString.match(t))return void(this.termString=this.termString.replace(t,i));this.appendTerm(i)},optionParse:function(e){for(var t=/{([a-z_\-:]+?)}/gi,n=void 0;null!==(n=t.exec(e));)this.search.option[n[1].toLowerCase()]=!0},optionChange:function(e){this.search.option[e]?this.appendTerm("{"+e+"}"):this.termString=this.termString.replace("{"+e+"}","")},updateSearch:function(e){e.preventDefault(),window.location=window.baseUrl("/search?term="+encodeURIComponent(this.termString))},enableDate:function(e){this.search.dates[e.toLowerCase()]=i().format("YYYY-MM-DD"),this.dateChange(e)},dateParse:function(e){for(var t=/{([a-z_\-]+?):([a-z_\-0-9]+?)}/gi,n=Object.keys(this.search.dates),r=void 0;null!==(r=t.exec(e));)-1!==n.indexOf(r[1])&&(this.search.dates[r[1].toLowerCase()]=r[2])},dateChange:function(e){var t=new RegExp("{\\s?"+e+"\\s?:([a-z_\\-0-9]+?)}","gi");this.termString=this.termString.replace(t,""),this.search.dates[e]&&this.appendTerm("{"+e+":"+this.search.dates[e]+"}")},dateRemove:function(e){this.search.dates[e]=!1,this.dateChange(e)}};t.exports={data:o,computed:a,methods:s,created:r}},{moment:439}],486:[function(e,t,n){"use strict";function r(){var e=this;this.pageId=Number(this.$el.getAttribute("page-id"));var t=window.baseUrl("/ajax/tags/get/page/"+this.pageId);this.$http.get(t).then(function(t){for(var n=t.data,r=0,i=n.length;r<i;r++)n[r].key=Math.random().toString(36).substring(7);e.tags=n,e.addEmptyTag()})}var i=e("vuedraggable"),o=e("./components/autosuggest"),a={pageId:!1,tags:[]},s={draggable:i,autosuggest:o},l={},c={addEmptyTag:function(){this.tags.push({name:"",value:"",key:Math.random().toString(36).substring(7)})},tagChange:function(e){this.tags.indexOf(e)!==this.tags.length-1||""===e.name&&""===e.value||this.addEmptyTag()},tagBlur:function(e){var t=this.tags.indexOf(e)===this.tags.length-1;if(""===e.name&&""===e.value&&!t){var n=this.tags.indexOf(e);this.tags.splice(n,1)}},removeTag:function(e){var t=this.tags.indexOf(e);-1!==t&&this.tags.splice(t,1)},getTagFieldName:function(e,t){return"tags["+e+"]["+t+"]"}};t.exports={data:a,methods:c,mounted:r,components:s,directives:l}},{"./components/autosuggest":480,vuedraggable:453}],487:[function(e,t,n){"use strict";var r=e("vue"),i={"search-system":e("./search"),"entity-dashboard":e("./entity-dashboard"),"code-editor":e("./code-editor"),"image-manager":e("./image-manager"),"tag-manager":e("./tag-manager"),"attachment-manager":e("./attachment-manager"),"page-editor":e("./page-editor")};window.vues={};for(var o=Object.keys(i),a=0,s=o.length;a<s;a++)if(function(e){return null!==document.getElementById(e)}(o[a])){var l=i[o[a]];l.el="#"+o[a],window.vues[o[a]]=new r(l)}},{"./attachment-manager":478,"./code-editor":479,"./entity-dashboard":482,"./image-manager":483,"./page-editor":484,"./search":485,"./tag-manager":486,vue:452}]},{},[472]);